@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-46510.0 → 0.0.0-bugfix-dev-KB-49448.0
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-form.cjs.entry.js +3 -2
- package/dist/cjs/ez-grid.cjs.entry.js +24 -17
- package/dist/cjs/ez-modal-container.cjs.entry.js +6 -0
- package/dist/cjs/ez-popup.cjs.entry.js +7 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js +36 -1
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-form/ez-form.js +3 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +4 -4
- package/dist/collection/components/ez-grid/ez-grid.js +18 -11
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +15 -0
- package/dist/collection/components/ez-popup/ez-popup.js +31 -1
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +52 -1
- package/dist/collection/components/ez-toast/ez-toast.css +1 -1
- package/dist/custom-elements/index.js +79 -23
- package/dist/esm/ez-form.entry.js +3 -2
- package/dist/esm/ez-grid.entry.js +24 -17
- package/dist/esm/ez-modal-container.entry.js +6 -0
- package/dist/esm/ez-popup.entry.js +7 -0
- package/dist/esm/ez-split-panel.entry.js +36 -1
- package/dist/esm/ez-toast.entry.js +1 -1
- 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-1e367a93.entry.js → p-00e720a6.entry.js} +1 -1
- package/dist/ezui/p-58fae29b.entry.js +1 -0
- package/dist/ezui/p-8c82374d.entry.js +1 -0
- package/dist/ezui/{p-8becebf8.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/{p-2a1a0e04.entry.js → p-b4124396.entry.js} +1 -1
- package/dist/ezui/{p-07cbffce.entry.js → p-d7d7423a.entry.js} +1 -1
- package/dist/types/components/ez-grid/ez-grid.d.ts +1 -0
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +1 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +6 -1
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +5 -0
- package/dist/types/components.d.ts +6 -1
- package/package.json +1 -1
- package/dist/ezui/p-5d692ed1.entry.js +0 -1
- package/dist/ezui/p-abc23d6f.entry.js +0 -1
|
@@ -4,12 +4,24 @@ import Split from 'split-grid';
|
|
|
4
4
|
export class SplitPanel {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._items = [];
|
|
7
|
+
this._buildInProgress = false;
|
|
7
8
|
this.direction = 'column';
|
|
8
9
|
this.anchorToExpand = false;
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
rebuildLayout() {
|
|
12
|
+
Array.from(this._element.querySelectorAll(".ez-split-gutter")).reverse().forEach(el => {
|
|
13
|
+
el.remove();
|
|
14
|
+
});
|
|
15
|
+
Array.from(this._element.getElementsByTagName("EzSplitPanel")).reverse().forEach(el => {
|
|
16
|
+
el['rebuildLayout']();
|
|
17
|
+
});
|
|
18
|
+
this.buildItems();
|
|
19
|
+
this.initSplit();
|
|
20
|
+
}
|
|
21
|
+
buildItems() {
|
|
11
22
|
this._panelID = StringUtils.generateUUID();
|
|
12
23
|
this._element.dataset.panelId = this._panelID;
|
|
24
|
+
this._element.dataset.uniqueId = "EzSplitPanel";
|
|
13
25
|
let itemsElements = Array.from(this._element.children);
|
|
14
26
|
this._items = itemsElements.filter(child => { var _a; return ((_a = child.tagName) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'EZ-SPLIT-ITEM'; });
|
|
15
27
|
let trackCount = 1;
|
|
@@ -20,7 +32,30 @@ export class SplitPanel {
|
|
|
20
32
|
}
|
|
21
33
|
trackCount += 2;
|
|
22
34
|
});
|
|
35
|
+
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
this.buildItems();
|
|
23
38
|
this.initSplit();
|
|
39
|
+
this._mutationObserver = new MutationObserver((mutationsList) => {
|
|
40
|
+
for (const mutation of mutationsList) {
|
|
41
|
+
if (mutation.type === 'childList' && this._buildInProgress === false) {
|
|
42
|
+
this._buildInProgress = true;
|
|
43
|
+
window.requestAnimationFrame(() => {
|
|
44
|
+
this.rebuildLayout();
|
|
45
|
+
});
|
|
46
|
+
window.requestAnimationFrame(() => this._buildInProgress = false);
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
// Configure o observer para observar mudanças nos filhos
|
|
52
|
+
this._mutationObserver.observe(this._element, { childList: true, subtree: false });
|
|
53
|
+
}
|
|
54
|
+
disconnectedCallback() {
|
|
55
|
+
//disconect o _mutationObserver
|
|
56
|
+
if (this._mutationObserver != undefined) {
|
|
57
|
+
this._mutationObserver.disconnect();
|
|
58
|
+
}
|
|
24
59
|
}
|
|
25
60
|
initSplit() {
|
|
26
61
|
if (!this._items.length) {
|
|
@@ -139,5 +174,21 @@ export class SplitPanel {
|
|
|
139
174
|
}
|
|
140
175
|
};
|
|
141
176
|
}
|
|
177
|
+
static get methods() {
|
|
178
|
+
return {
|
|
179
|
+
"rebuildLayout": {
|
|
180
|
+
"complexType": {
|
|
181
|
+
"signature": "() => Promise<void>",
|
|
182
|
+
"parameters": [],
|
|
183
|
+
"references": {},
|
|
184
|
+
"return": "Promise<void>"
|
|
185
|
+
},
|
|
186
|
+
"docs": {
|
|
187
|
+
"text": "",
|
|
188
|
+
"tags": []
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
}
|
|
142
193
|
static get elementRef() { return "_element"; }
|
|
143
194
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
/* Container */
|
|
8
8
|
/*@doc Define a camada em que o container será exibido.*/
|
|
9
|
-
--ez-toast__container--z-index: var(--
|
|
9
|
+
--ez-toast__container--z-index: var(--elevation--100, 100);
|
|
10
10
|
/*@doc Define a cor de fundo do container.*/
|
|
11
11
|
--ez-toast__container--background-color: var(--color--secondary, #383c45);
|
|
12
12
|
/*@doc Define a posição esquerda do container.*/
|
|
@@ -4694,8 +4694,9 @@ const EzForm$1 = class extends HTMLElement$1 {
|
|
|
4694
4694
|
});
|
|
4695
4695
|
}
|
|
4696
4696
|
disconnectedCallback() {
|
|
4697
|
-
|
|
4698
|
-
this.
|
|
4697
|
+
var _a, _b;
|
|
4698
|
+
(_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this.onDataUnitAction);
|
|
4699
|
+
(_b = this._dataBinder) === null || _b === void 0 ? void 0 : _b.onDisconnectedCallback();
|
|
4699
4700
|
}
|
|
4700
4701
|
buildIdTabSelector(tabs) {
|
|
4701
4702
|
if (tabs) {
|
|
@@ -123800,7 +123801,7 @@ class DataSource {
|
|
|
123800
123801
|
this._waitingForLoad = false;
|
|
123801
123802
|
this.callbackGetRows(this._lastLoadingParams);
|
|
123802
123803
|
if (this._options) {
|
|
123803
|
-
this._options.onPaginationChange(this._dataUnit.getPaginationInfo());
|
|
123804
|
+
this._options.onPaginationChange(this._dataUnit.getPaginationInfo(), action.payload.selectFirstRecord);
|
|
123804
123805
|
}
|
|
123805
123806
|
this.updateSelection();
|
|
123806
123807
|
break;
|
|
@@ -123911,8 +123912,8 @@ class EzGridCustomHeader {
|
|
|
123911
123912
|
</div>
|
|
123912
123913
|
<div id='ez-header-container' class='ez-flex ez-flex--justify-between ag-header-cell-text'>
|
|
123913
123914
|
<span class='ag-header-cell-text'>${this.params.displayName}</span>
|
|
123914
|
-
<i id='ez-grid-sort-icon-
|
|
123915
|
-
<i id='ez-grid-sort-icon-
|
|
123915
|
+
<i id='ez-grid-sort-icon-descendente' class='ez-icon-ordem-descendente' style='display: none;font-weight: 100;margin-left: 4px;font-size: var(--text--large, 14px);align-self: center;'></i>
|
|
123916
|
+
<i id='ez-grid-sort-icon-ascendente' class='ez-icon-ordem-ascendente' style='display: none;font-weight: 100;margin-left: 4px;font-size: var(--text--large, 14px);align-self: center;'></i>
|
|
123916
123917
|
</div>
|
|
123917
123918
|
`;
|
|
123918
123919
|
this.configMenuClick();
|
|
@@ -123941,8 +123942,8 @@ class EzGridCustomHeader {
|
|
|
123941
123942
|
}
|
|
123942
123943
|
configSortListener() {
|
|
123943
123944
|
if (this.params.enableSorting) {
|
|
123944
|
-
this.sortUpIcon = this.element.querySelector('#ez-grid-sort-icon-
|
|
123945
|
-
this.sortDownIcon = this.element.querySelector('#ez-grid-sort-icon-
|
|
123945
|
+
this.sortUpIcon = this.element.querySelector('#ez-grid-sort-icon-ascendente');
|
|
123946
|
+
this.sortDownIcon = this.element.querySelector('#ez-grid-sort-icon-descendente');
|
|
123946
123947
|
this.onSortChangedListener = this.configSortIcon.bind(this);
|
|
123947
123948
|
this.params.column.addEventListener('sortChanged', this.onSortChangedListener);
|
|
123948
123949
|
this.configSortIcon();
|
|
@@ -124779,7 +124780,7 @@ class AgGridController {
|
|
|
124779
124780
|
}
|
|
124780
124781
|
buildMenuItemOptionSort(params, sortOrder) {
|
|
124781
124782
|
return {
|
|
124782
|
-
icon: `<i class='ez-icon-
|
|
124783
|
+
icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
|
|
124783
124784
|
name: sortOrder === 'asc' ? 'Ordenar Ascendente' : 'Ordenar Descendente',
|
|
124784
124785
|
action: () => this.sortDataByColumn(params, sortOrder),
|
|
124785
124786
|
};
|
|
@@ -125680,7 +125681,9 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125680
125681
|
return Promise.resolve(this._gridController.getColumnsState().filter(col => matches(col.label, search)));
|
|
125681
125682
|
}
|
|
125682
125683
|
observeConfig(config) {
|
|
125683
|
-
|
|
125684
|
+
if (config && config.columns) {
|
|
125685
|
+
this._gridController.setColumnsState(config.columns);
|
|
125686
|
+
}
|
|
125684
125687
|
}
|
|
125685
125688
|
updatePaginationTooltip() {
|
|
125686
125689
|
if (!this._refPaginationLabelTooltip)
|
|
@@ -125857,16 +125860,8 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125857
125860
|
this._gridController.initDatagrid(this._container, {
|
|
125858
125861
|
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
125859
125862
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
125860
|
-
onPaginationChange: (paginationInfo) => {
|
|
125861
|
-
|
|
125862
|
-
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
|
|
125863
|
-
this._gridController.setFocusLastRow();
|
|
125864
|
-
}
|
|
125865
|
-
else {
|
|
125866
|
-
this._gridController.setFocusFirstRow();
|
|
125867
|
-
this._paginationChangedByKeyboard = true;
|
|
125868
|
-
}
|
|
125869
|
-
this._paginationInfo = paginationInfo;
|
|
125863
|
+
onPaginationChange: (paginationInfo, selectFirstRecord) => {
|
|
125864
|
+
this.handlePaginationChange(selectFirstRecord, paginationInfo);
|
|
125870
125865
|
},
|
|
125871
125866
|
onPaginationUpdate: (paginationInfo) => {
|
|
125872
125867
|
this._paginationInfo = paginationInfo;
|
|
@@ -125894,6 +125889,19 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125894
125889
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
125895
125890
|
this._initHeaderOverflowWatcher();
|
|
125896
125891
|
}
|
|
125892
|
+
handlePaginationChange(selectFirstRecord, paginationInfo) {
|
|
125893
|
+
var _a;
|
|
125894
|
+
if (selectFirstRecord !== false) {
|
|
125895
|
+
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
|
|
125896
|
+
this._gridController.setFocusLastRow();
|
|
125897
|
+
}
|
|
125898
|
+
else {
|
|
125899
|
+
this._gridController.setFocusFirstRow();
|
|
125900
|
+
this._paginationChangedByKeyboard = true;
|
|
125901
|
+
}
|
|
125902
|
+
}
|
|
125903
|
+
this._paginationInfo = paginationInfo;
|
|
125904
|
+
}
|
|
125897
125905
|
_getActualPageLabel() {
|
|
125898
125906
|
const { firstRecord, lastRecord } = this._paginationInfo;
|
|
125899
125907
|
return `${firstRecord}-${lastRecord}`;
|
|
@@ -126794,6 +126802,12 @@ const EzModalContainer$1 = class extends HTMLElement$1 {
|
|
|
126794
126802
|
this.cancelButtonStatus = undefined;
|
|
126795
126803
|
this.okButtonStatus = undefined;
|
|
126796
126804
|
}
|
|
126805
|
+
handleKeyDown(event) {
|
|
126806
|
+
if (event.key === 'Escape' || event.key === 'Esc')
|
|
126807
|
+
this.ezModalAction.emit(ModalAction$1.CANCEL);
|
|
126808
|
+
if (event.key === 'Enter')
|
|
126809
|
+
this.ezModalAction.emit(ModalAction$1.OK);
|
|
126810
|
+
}
|
|
126797
126811
|
cancelIsVisible() {
|
|
126798
126812
|
return (this.cancelButtonStatus !== ModalButtonStatus$1.HIDDEN && this.cancelButtonLabel != undefined);
|
|
126799
126813
|
}
|
|
@@ -127334,6 +127348,7 @@ const EzPopup$1 = class extends HTMLElement$1 {
|
|
|
127334
127348
|
this.__registerHost();
|
|
127335
127349
|
this.__attachShadow();
|
|
127336
127350
|
this.ezClosePopup = createEvent(this, "ezClosePopup", 7);
|
|
127351
|
+
this.ezPopupAction = createEvent(this, "ezPopupAction", 7);
|
|
127337
127352
|
this._sizeClasses = {
|
|
127338
127353
|
"x-small": "col--sd-3 ez-popup__size-limit--x-small",
|
|
127339
127354
|
"small": "col--sd-5",
|
|
@@ -127351,6 +127366,12 @@ const EzPopup$1 = class extends HTMLElement$1 {
|
|
|
127351
127366
|
observeConfig() {
|
|
127352
127367
|
this.manageOverflow();
|
|
127353
127368
|
}
|
|
127369
|
+
handleKeyDown(event) {
|
|
127370
|
+
if (event.key === 'Escape' || event.key === 'Esc')
|
|
127371
|
+
this.opened = false;
|
|
127372
|
+
if (event.key === 'Enter')
|
|
127373
|
+
this.ezPopupAction.emit("OK");
|
|
127374
|
+
}
|
|
127354
127375
|
manageOverflow() {
|
|
127355
127376
|
if (this.opened) {
|
|
127356
127377
|
window.document.body.style.overflow = "hidden";
|
|
@@ -129221,12 +129242,24 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
129221
129242
|
super();
|
|
129222
129243
|
this.__registerHost();
|
|
129223
129244
|
this._items = [];
|
|
129245
|
+
this._buildInProgress = false;
|
|
129224
129246
|
this.direction = 'column';
|
|
129225
129247
|
this.anchorToExpand = false;
|
|
129226
129248
|
}
|
|
129227
|
-
|
|
129249
|
+
rebuildLayout() {
|
|
129250
|
+
Array.from(this._element.querySelectorAll(".ez-split-gutter")).reverse().forEach(el => {
|
|
129251
|
+
el.remove();
|
|
129252
|
+
});
|
|
129253
|
+
Array.from(this._element.getElementsByTagName("EzSplitPanel")).reverse().forEach(el => {
|
|
129254
|
+
el['rebuildLayout']();
|
|
129255
|
+
});
|
|
129256
|
+
this.buildItems();
|
|
129257
|
+
this.initSplit();
|
|
129258
|
+
}
|
|
129259
|
+
buildItems() {
|
|
129228
129260
|
this._panelID = StringUtils$1.generateUUID();
|
|
129229
129261
|
this._element.dataset.panelId = this._panelID;
|
|
129262
|
+
this._element.dataset.uniqueId = "EzSplitPanel";
|
|
129230
129263
|
let itemsElements = Array.from(this._element.children);
|
|
129231
129264
|
this._items = itemsElements.filter(child => { var _a; return ((_a = child.tagName) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'EZ-SPLIT-ITEM'; });
|
|
129232
129265
|
let trackCount = 1;
|
|
@@ -129237,7 +129270,30 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
129237
129270
|
}
|
|
129238
129271
|
trackCount += 2;
|
|
129239
129272
|
});
|
|
129273
|
+
}
|
|
129274
|
+
componentDidLoad() {
|
|
129275
|
+
this.buildItems();
|
|
129240
129276
|
this.initSplit();
|
|
129277
|
+
this._mutationObserver = new MutationObserver((mutationsList) => {
|
|
129278
|
+
for (const mutation of mutationsList) {
|
|
129279
|
+
if (mutation.type === 'childList' && this._buildInProgress === false) {
|
|
129280
|
+
this._buildInProgress = true;
|
|
129281
|
+
window.requestAnimationFrame(() => {
|
|
129282
|
+
this.rebuildLayout();
|
|
129283
|
+
});
|
|
129284
|
+
window.requestAnimationFrame(() => this._buildInProgress = false);
|
|
129285
|
+
break;
|
|
129286
|
+
}
|
|
129287
|
+
}
|
|
129288
|
+
});
|
|
129289
|
+
// Configure o observer para observar mudanças nos filhos
|
|
129290
|
+
this._mutationObserver.observe(this._element, { childList: true, subtree: false });
|
|
129291
|
+
}
|
|
129292
|
+
disconnectedCallback() {
|
|
129293
|
+
//disconect o _mutationObserver
|
|
129294
|
+
if (this._mutationObserver != undefined) {
|
|
129295
|
+
this._mutationObserver.disconnect();
|
|
129296
|
+
}
|
|
129241
129297
|
}
|
|
129242
129298
|
initSplit() {
|
|
129243
129299
|
if (!this._items.length) {
|
|
@@ -130205,7 +130261,7 @@ const EzTimeInput$1 = class extends HTMLElement$1 {
|
|
|
130205
130261
|
static get style() { return ezTimeInputCss; }
|
|
130206
130262
|
};
|
|
130207
130263
|
|
|
130208
|
-
const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--
|
|
130264
|
+
const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--elevation--100, 100);--ez-toast__container--background-color:var(--color--secondary, #383c45);--ez-toast__container--left:var(--space--large, 24px);--ez-toast__container--bottom:var(--space--large, 24px);--ez-toast__container--width:400px;--ez-toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;box-sizing:border-box;border-radius:6px;align-items:center;padding:12px;visibility:hidden;width:var(--ez-toast__container--width);left:var(--ez-toast__container--left);bottom:var(--ez-toast__container--bottom);z-index:var(--ez-toast__container--z-index);background-color:var(--ez-toast__container--background-color)}.message__container{text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;hyphens:auto;height:auto;-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;text-overflow:ellipsis;font-family:var(--font-pattern, \"Roboto\")}.message__container--icon{width:80%;padding-left:var(--ez-toast__icon--padding-left)}.btn-close{margin-top:3px;display:flex;justify-content:flex-end;align-self:flex-start;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--ez-toast__btn__close__image);mask-image:var(--ez-toast__btn__close__image)}.toast__container--opened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@-webkit-keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}@keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}";
|
|
130209
130265
|
|
|
130210
130266
|
const EzToast$1 = class extends HTMLElement$1 {
|
|
130211
130267
|
constructor() {
|
|
@@ -131547,11 +131603,11 @@ const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[5
|
|
|
131547
131603
|
const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [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]}]);
|
|
131548
131604
|
const EzLoadingBar = /*@__PURE__*/proxyCustomElement(EzLoadingBar$1, [1,"ez-loading-bar",{"_showLoading":[32]}]);
|
|
131549
131605
|
const EzModal = /*@__PURE__*/proxyCustomElement(EzModal$1, [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]}]);
|
|
131550
|
-
const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [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"]}]);
|
|
131606
|
+
const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [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"]},[[8,"keydown","handleKeyDown"]]]);
|
|
131551
131607
|
const EzMultiSelectionList = /*@__PURE__*/proxyCustomElement(EzMuiltiSelectionList, [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]}]);
|
|
131552
131608
|
const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [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]}]);
|
|
131553
131609
|
const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"]}]);
|
|
131554
|
-
const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]);
|
|
131610
|
+
const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]},[[8,"keydown","handleKeyDown"]]]);
|
|
131555
131611
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
131556
131612
|
const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [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"]]]);
|
|
131557
131613
|
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],"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]},[[11,"scroll","scrollListener"]]]);
|
|
@@ -938,8 +938,9 @@ const EzForm = class {
|
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
940
|
disconnectedCallback() {
|
|
941
|
-
|
|
942
|
-
this.
|
|
941
|
+
var _a, _b;
|
|
942
|
+
(_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this.onDataUnitAction);
|
|
943
|
+
(_b = this._dataBinder) === null || _b === void 0 ? void 0 : _b.onDisconnectedCallback();
|
|
943
944
|
}
|
|
944
945
|
buildIdTabSelector(tabs) {
|
|
945
946
|
if (tabs) {
|
|
@@ -118884,7 +118884,7 @@ class DataSource {
|
|
|
118884
118884
|
this._waitingForLoad = false;
|
|
118885
118885
|
this.callbackGetRows(this._lastLoadingParams);
|
|
118886
118886
|
if (this._options) {
|
|
118887
|
-
this._options.onPaginationChange(this._dataUnit.getPaginationInfo());
|
|
118887
|
+
this._options.onPaginationChange(this._dataUnit.getPaginationInfo(), action.payload.selectFirstRecord);
|
|
118888
118888
|
}
|
|
118889
118889
|
this.updateSelection();
|
|
118890
118890
|
break;
|
|
@@ -118995,8 +118995,8 @@ class EzGridCustomHeader {
|
|
|
118995
118995
|
</div>
|
|
118996
118996
|
<div id='ez-header-container' class='ez-flex ez-flex--justify-between ag-header-cell-text'>
|
|
118997
118997
|
<span class='ag-header-cell-text'>${this.params.displayName}</span>
|
|
118998
|
-
<i id='ez-grid-sort-icon-
|
|
118999
|
-
<i id='ez-grid-sort-icon-
|
|
118998
|
+
<i id='ez-grid-sort-icon-descendente' class='ez-icon-ordem-descendente' style='display: none;font-weight: 100;margin-left: 4px;font-size: var(--text--large, 14px);align-self: center;'></i>
|
|
118999
|
+
<i id='ez-grid-sort-icon-ascendente' class='ez-icon-ordem-ascendente' style='display: none;font-weight: 100;margin-left: 4px;font-size: var(--text--large, 14px);align-self: center;'></i>
|
|
119000
119000
|
</div>
|
|
119001
119001
|
`;
|
|
119002
119002
|
this.configMenuClick();
|
|
@@ -119025,8 +119025,8 @@ class EzGridCustomHeader {
|
|
|
119025
119025
|
}
|
|
119026
119026
|
configSortListener() {
|
|
119027
119027
|
if (this.params.enableSorting) {
|
|
119028
|
-
this.sortUpIcon = this.element.querySelector('#ez-grid-sort-icon-
|
|
119029
|
-
this.sortDownIcon = this.element.querySelector('#ez-grid-sort-icon-
|
|
119028
|
+
this.sortUpIcon = this.element.querySelector('#ez-grid-sort-icon-ascendente');
|
|
119029
|
+
this.sortDownIcon = this.element.querySelector('#ez-grid-sort-icon-descendente');
|
|
119030
119030
|
this.onSortChangedListener = this.configSortIcon.bind(this);
|
|
119031
119031
|
this.params.column.addEventListener('sortChanged', this.onSortChangedListener);
|
|
119032
119032
|
this.configSortIcon();
|
|
@@ -119863,7 +119863,7 @@ class AgGridController {
|
|
|
119863
119863
|
}
|
|
119864
119864
|
buildMenuItemOptionSort(params, sortOrder) {
|
|
119865
119865
|
return {
|
|
119866
|
-
icon: `<i class='ez-icon-
|
|
119866
|
+
icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
|
|
119867
119867
|
name: sortOrder === 'asc' ? 'Ordenar Ascendente' : 'Ordenar Descendente',
|
|
119868
119868
|
action: () => this.sortDataByColumn(params, sortOrder),
|
|
119869
119869
|
};
|
|
@@ -120763,7 +120763,9 @@ const EzGrid = class {
|
|
|
120763
120763
|
return Promise.resolve(this._gridController.getColumnsState().filter(col => matches(col.label, search)));
|
|
120764
120764
|
}
|
|
120765
120765
|
observeConfig(config) {
|
|
120766
|
-
|
|
120766
|
+
if (config && config.columns) {
|
|
120767
|
+
this._gridController.setColumnsState(config.columns);
|
|
120768
|
+
}
|
|
120767
120769
|
}
|
|
120768
120770
|
updatePaginationTooltip() {
|
|
120769
120771
|
if (!this._refPaginationLabelTooltip)
|
|
@@ -120940,16 +120942,8 @@ const EzGrid = class {
|
|
|
120940
120942
|
this._gridController.initDatagrid(this._container, {
|
|
120941
120943
|
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
120942
120944
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
120943
|
-
onPaginationChange: (paginationInfo) => {
|
|
120944
|
-
|
|
120945
|
-
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
|
|
120946
|
-
this._gridController.setFocusLastRow();
|
|
120947
|
-
}
|
|
120948
|
-
else {
|
|
120949
|
-
this._gridController.setFocusFirstRow();
|
|
120950
|
-
this._paginationChangedByKeyboard = true;
|
|
120951
|
-
}
|
|
120952
|
-
this._paginationInfo = paginationInfo;
|
|
120945
|
+
onPaginationChange: (paginationInfo, selectFirstRecord) => {
|
|
120946
|
+
this.handlePaginationChange(selectFirstRecord, paginationInfo);
|
|
120953
120947
|
},
|
|
120954
120948
|
onPaginationUpdate: (paginationInfo) => {
|
|
120955
120949
|
this._paginationInfo = paginationInfo;
|
|
@@ -120977,6 +120971,19 @@ const EzGrid = class {
|
|
|
120977
120971
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
120978
120972
|
this._initHeaderOverflowWatcher();
|
|
120979
120973
|
}
|
|
120974
|
+
handlePaginationChange(selectFirstRecord, paginationInfo) {
|
|
120975
|
+
var _a;
|
|
120976
|
+
if (selectFirstRecord !== false) {
|
|
120977
|
+
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
|
|
120978
|
+
this._gridController.setFocusLastRow();
|
|
120979
|
+
}
|
|
120980
|
+
else {
|
|
120981
|
+
this._gridController.setFocusFirstRow();
|
|
120982
|
+
this._paginationChangedByKeyboard = true;
|
|
120983
|
+
}
|
|
120984
|
+
}
|
|
120985
|
+
this._paginationInfo = paginationInfo;
|
|
120986
|
+
}
|
|
120980
120987
|
_getActualPageLabel() {
|
|
120981
120988
|
const { firstRecord, lastRecord } = this._paginationInfo;
|
|
120982
120989
|
return `${firstRecord}-${lastRecord}`;
|
|
@@ -31,6 +31,12 @@ const EzModalContainer = class {
|
|
|
31
31
|
this.cancelButtonStatus = undefined;
|
|
32
32
|
this.okButtonStatus = undefined;
|
|
33
33
|
}
|
|
34
|
+
handleKeyDown(event) {
|
|
35
|
+
if (event.key === 'Escape' || event.key === 'Esc')
|
|
36
|
+
this.ezModalAction.emit(ModalAction$1.CANCEL);
|
|
37
|
+
if (event.key === 'Enter')
|
|
38
|
+
this.ezModalAction.emit(ModalAction$1.OK);
|
|
39
|
+
}
|
|
34
40
|
cancelIsVisible() {
|
|
35
41
|
return (this.cancelButtonStatus !== ModalButtonStatus$1.HIDDEN && this.cancelButtonLabel != undefined);
|
|
36
42
|
}
|
|
@@ -7,6 +7,7 @@ const EzPopup = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.ezClosePopup = createEvent(this, "ezClosePopup", 7);
|
|
10
|
+
this.ezPopupAction = createEvent(this, "ezPopupAction", 7);
|
|
10
11
|
this._sizeClasses = {
|
|
11
12
|
"x-small": "col--sd-3 ez-popup__size-limit--x-small",
|
|
12
13
|
"small": "col--sd-5",
|
|
@@ -24,6 +25,12 @@ const EzPopup = class {
|
|
|
24
25
|
observeConfig() {
|
|
25
26
|
this.manageOverflow();
|
|
26
27
|
}
|
|
28
|
+
handleKeyDown(event) {
|
|
29
|
+
if (event.key === 'Escape' || event.key === 'Esc')
|
|
30
|
+
this.opened = false;
|
|
31
|
+
if (event.key === 'Enter')
|
|
32
|
+
this.ezPopupAction.emit("OK");
|
|
33
|
+
}
|
|
27
34
|
manageOverflow() {
|
|
28
35
|
if (this.opened) {
|
|
29
36
|
window.document.body.style.overflow = "hidden";
|
|
@@ -684,12 +684,24 @@ const SplitPanel = class {
|
|
|
684
684
|
constructor(hostRef) {
|
|
685
685
|
registerInstance(this, hostRef);
|
|
686
686
|
this._items = [];
|
|
687
|
+
this._buildInProgress = false;
|
|
687
688
|
this.direction = 'column';
|
|
688
689
|
this.anchorToExpand = false;
|
|
689
690
|
}
|
|
690
|
-
|
|
691
|
+
rebuildLayout() {
|
|
692
|
+
Array.from(this._element.querySelectorAll(".ez-split-gutter")).reverse().forEach(el => {
|
|
693
|
+
el.remove();
|
|
694
|
+
});
|
|
695
|
+
Array.from(this._element.getElementsByTagName("EzSplitPanel")).reverse().forEach(el => {
|
|
696
|
+
el['rebuildLayout']();
|
|
697
|
+
});
|
|
698
|
+
this.buildItems();
|
|
699
|
+
this.initSplit();
|
|
700
|
+
}
|
|
701
|
+
buildItems() {
|
|
691
702
|
this._panelID = StringUtils.generateUUID();
|
|
692
703
|
this._element.dataset.panelId = this._panelID;
|
|
704
|
+
this._element.dataset.uniqueId = "EzSplitPanel";
|
|
693
705
|
let itemsElements = Array.from(this._element.children);
|
|
694
706
|
this._items = itemsElements.filter(child => { var _a; return ((_a = child.tagName) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'EZ-SPLIT-ITEM'; });
|
|
695
707
|
let trackCount = 1;
|
|
@@ -700,7 +712,30 @@ const SplitPanel = class {
|
|
|
700
712
|
}
|
|
701
713
|
trackCount += 2;
|
|
702
714
|
});
|
|
715
|
+
}
|
|
716
|
+
componentDidLoad() {
|
|
717
|
+
this.buildItems();
|
|
703
718
|
this.initSplit();
|
|
719
|
+
this._mutationObserver = new MutationObserver((mutationsList) => {
|
|
720
|
+
for (const mutation of mutationsList) {
|
|
721
|
+
if (mutation.type === 'childList' && this._buildInProgress === false) {
|
|
722
|
+
this._buildInProgress = true;
|
|
723
|
+
window.requestAnimationFrame(() => {
|
|
724
|
+
this.rebuildLayout();
|
|
725
|
+
});
|
|
726
|
+
window.requestAnimationFrame(() => this._buildInProgress = false);
|
|
727
|
+
break;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
// Configure o observer para observar mudanças nos filhos
|
|
732
|
+
this._mutationObserver.observe(this._element, { childList: true, subtree: false });
|
|
733
|
+
}
|
|
734
|
+
disconnectedCallback() {
|
|
735
|
+
//disconect o _mutationObserver
|
|
736
|
+
if (this._mutationObserver != undefined) {
|
|
737
|
+
this._mutationObserver.disconnect();
|
|
738
|
+
}
|
|
704
739
|
}
|
|
705
740
|
initSplit() {
|
|
706
741
|
if (!this._items.length) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-baa5e267.js';
|
|
2
2
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
|
-
const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--
|
|
4
|
+
const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--elevation--100, 100);--ez-toast__container--background-color:var(--color--secondary, #383c45);--ez-toast__container--left:var(--space--large, 24px);--ez-toast__container--bottom:var(--space--large, 24px);--ez-toast__container--width:400px;--ez-toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;box-sizing:border-box;border-radius:6px;align-items:center;padding:12px;visibility:hidden;width:var(--ez-toast__container--width);left:var(--ez-toast__container--left);bottom:var(--ez-toast__container--bottom);z-index:var(--ez-toast__container--z-index);background-color:var(--ez-toast__container--background-color)}.message__container{text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;hyphens:auto;height:auto;-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;text-overflow:ellipsis;font-family:var(--font-pattern, \"Roboto\")}.message__container--icon{width:80%;padding-left:var(--ez-toast__icon--padding-left)}.btn-close{margin-top:3px;display:flex;justify-content:flex-end;align-self:flex-start;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--ez-toast__btn__close__image);mask-image:var(--ez-toast__btn__close__image)}.toast__container--opened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@-webkit-keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}@keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}";
|
|
5
5
|
|
|
6
6
|
const EzToast = class {
|
|
7
7
|
constructor(hostRef) {
|
package/dist/esm/ezui.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy(JSON.parse("[[\"ez-grid\",[[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\"]]]]],[\"ez-guide-navigator\",[[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]}]]],[\"ez-alert-list\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540]}]]],[\"ez-actions-button\",[[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]}]]],[\"ez-breadcrumb\",[[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]}]]],[\"ez-dialog\",[[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\"]]]]],[\"ez-modal-container\",[[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\"]}]]],[\"ez-split-button\",[[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\"]]]]],[\"ez-split-item\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application\",[[0,\"ez-application\"]]],[\"ez-loading-bar\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-modal\",[[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]}]]],[\"ez-popup\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"]}]]],[\"ez-radio-button\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"]}]]],[\"ez-toast\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tabselector\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32]}]]],[\"ez-collapsible-box\",[[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]}]]],[\"ez-combo-box\",[[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\"]]]]],[\"ez-time-input\",[[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]}]]],[\"ez-number-input\",[[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]}]]],[\"ez-popover\",[[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]}]]],[\"ez-list\",[[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]}]]],[\"ez-calendar\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-text-input\",[[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]}]]],[\"ez-multi-selection-list\",[[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]}]]],[\"filter-column\",[[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]}]]],[\"ez-date-input\",[[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]}]]],[\"ez-date-time-input\",[[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]}]]],[\"ez-dropdown\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area\",[[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]}]]],[\"ez-upload\",[[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]}]]],[\"ez-text-edit\",[[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}]]],[\"ez-scroller_3\",[[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\"]]],[\"ez-search\",[[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\"]]]]],[\"ez-check\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-icon\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-button\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-card-item_3\",[[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\"]}]]],[\"ez-form-view\",[[2,\"ez-form-view\",{\"fields\":[16],\"showUp\":[64]}]]],[\"ez-form\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"validate\":[64]}]]]]"), options);
|
|
17
|
+
return bootstrapLazy(JSON.parse("[[\"ez-grid\",[[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\"]]]]],[\"ez-guide-navigator\",[[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]}]]],[\"ez-alert-list\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540]}]]],[\"ez-actions-button\",[[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]}]]],[\"ez-breadcrumb\",[[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]}]]],[\"ez-dialog\",[[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\"]]]]],[\"ez-modal-container\",[[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\"]},[[8,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-split-button\",[[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\"]]]]],[\"ez-split-item\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application\",[[0,\"ez-application\"]]],[\"ez-loading-bar\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-modal\",[[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]}]]],[\"ez-popup\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"]},[[8,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-radio-button\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"rebuildLayout\":[64]}]]],[\"ez-toast\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tabselector\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32]}]]],[\"ez-collapsible-box\",[[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]}]]],[\"ez-combo-box\",[[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\"]]]]],[\"ez-time-input\",[[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]}]]],[\"ez-number-input\",[[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]}]]],[\"ez-popover\",[[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]}]]],[\"ez-list\",[[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]}]]],[\"ez-calendar\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-text-input\",[[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]}]]],[\"ez-multi-selection-list\",[[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]}]]],[\"filter-column\",[[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]}]]],[\"ez-date-input\",[[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]}]]],[\"ez-date-time-input\",[[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]}]]],[\"ez-dropdown\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area\",[[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]}]]],[\"ez-upload\",[[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]}]]],[\"ez-text-edit\",[[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}]]],[\"ez-scroller_3\",[[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\"]]],[\"ez-search\",[[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\"]]]]],[\"ez-check\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-icon\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-button\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-card-item_3\",[[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\"]}]]],[\"ez-form-view\",[[2,\"ez-form-view\",{\"fields\":[16],\"showUp\":[64]}]]],[\"ez-form\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"validate\":[64]}]]]]"), options);
|
|
18
18
|
});
|