@sankhyalabs/ezui 2.3.0 → 2.3.1
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 +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +77 -2
- 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 +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +63 -1
- package/dist/collection/components/ez-grid/ez-grid.js +16 -2
- package/dist/custom-elements/index.js +79 -4
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +77 -2
- 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-77b7b623.entry.js → p-19a38745.entry.js} +1 -1
- package/dist/ezui/{p-cba61296.entry.js → p-89b2a151.entry.js} +1 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +8 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -948,7 +948,7 @@ let EzForm = class {
|
|
|
948
948
|
const idTabSelector = `${this._dataElementIdEzForm}_internal_tabSelector`;
|
|
949
949
|
result.push(index.h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
950
950
|
}
|
|
951
|
-
const idFormSheet = `${this._dataElementIdEzForm}_${core.StringUtils.toCamelCase(currentSheet.label)}`;
|
|
951
|
+
const idFormSheet = `${this._dataElementIdEzForm}_${core.StringUtils.replaceAccentuatedChars(core.StringUtils.toCamelCase(currentSheet.label), false)}`;
|
|
952
952
|
result.push(index.h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
953
953
|
return result;
|
|
954
954
|
}
|
|
@@ -114796,6 +114796,7 @@ class AgGridController {
|
|
|
114796
114796
|
sortingOrder: ['desc', 'asc', null],
|
|
114797
114797
|
columnDefs: this._colDefs,
|
|
114798
114798
|
blockLoadDebounceMillis: this.BLOCK_LOAD_DEBOUNCE,
|
|
114799
|
+
navigateToNextCell: this.navigateToNextCell.bind(this),
|
|
114799
114800
|
getRowNodeId: this._dataUnit ? (params) => typeof params === "string" ? params : params[this._idAttribName] : undefined,
|
|
114800
114801
|
getMainMenuItems: (params) => {
|
|
114801
114802
|
const column = params.column;
|
|
@@ -114835,6 +114836,45 @@ class AgGridController {
|
|
|
114835
114836
|
getRowHeight() {
|
|
114836
114837
|
return this.DEFAULT_ROW_HEIGHT;
|
|
114837
114838
|
}
|
|
114839
|
+
navigateToNextCell(params) {
|
|
114840
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
114841
|
+
switch (params.key) {
|
|
114842
|
+
case 'ArrowUp':
|
|
114843
|
+
if (((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.hasPrevious()) === false) {
|
|
114844
|
+
return null;
|
|
114845
|
+
}
|
|
114846
|
+
this._gridOptions.api.deselectAll();
|
|
114847
|
+
if (((_b = params.nextCellPosition) === null || _b === void 0 ? void 0 : _b.rowIndex) < 0) {
|
|
114848
|
+
(_c = this._dataUnit) === null || _c === void 0 ? void 0 : _c.previousRecord();
|
|
114849
|
+
return null;
|
|
114850
|
+
}
|
|
114851
|
+
else {
|
|
114852
|
+
(_d = this._dataUnit) === null || _d === void 0 ? void 0 : _d.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
114853
|
+
return params.nextCellPosition;
|
|
114854
|
+
}
|
|
114855
|
+
case 'ArrowDown':
|
|
114856
|
+
if (((_e = this._dataUnit) === null || _e === void 0 ? void 0 : _e.hasNext()) === false) {
|
|
114857
|
+
return null;
|
|
114858
|
+
}
|
|
114859
|
+
this._gridOptions.api.deselectAll();
|
|
114860
|
+
if ((_f = params.nextCellPosition) === null || _f === void 0 ? void 0 : _f.rowIndex) {
|
|
114861
|
+
(_g = this._dataUnit) === null || _g === void 0 ? void 0 : _g.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
114862
|
+
}
|
|
114863
|
+
else {
|
|
114864
|
+
(_h = this._dataUnit) === null || _h === void 0 ? void 0 : _h.nextRecord();
|
|
114865
|
+
}
|
|
114866
|
+
return params.nextCellPosition;
|
|
114867
|
+
case "ArrowLeft":
|
|
114868
|
+
case "ArrowRight":
|
|
114869
|
+
if (((_j = params.nextCellPosition) === null || _j === void 0 ? void 0 : _j.column.colDef.headerName) !== "") {
|
|
114870
|
+
return params.nextCellPosition;
|
|
114871
|
+
}
|
|
114872
|
+
else {
|
|
114873
|
+
return null;
|
|
114874
|
+
}
|
|
114875
|
+
}
|
|
114876
|
+
return null;
|
|
114877
|
+
}
|
|
114838
114878
|
setOptionsEvents(opt) {
|
|
114839
114879
|
opt.onSortChanged = e => this.onCallStateChange("sort", e);
|
|
114840
114880
|
opt.onColumnResized = e => this.onCallStateChange("columnResize", e);
|
|
@@ -114895,7 +114935,14 @@ class AgGridController {
|
|
|
114895
114935
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
114896
114936
|
}
|
|
114897
114937
|
this._gridOptions.api.forEachNode(node => {
|
|
114898
|
-
|
|
114938
|
+
var _a;
|
|
114939
|
+
if (rowIds && rowIds.includes(node.id)) {
|
|
114940
|
+
node.setSelected(true);
|
|
114941
|
+
(_a = this._gridOptions.api) === null || _a === void 0 ? void 0 : _a.ensureNodeVisible(node);
|
|
114942
|
+
}
|
|
114943
|
+
else {
|
|
114944
|
+
node.setSelected(false);
|
|
114945
|
+
}
|
|
114899
114946
|
});
|
|
114900
114947
|
const selectionHeader = this._gridOptions.context.selectionHeader;
|
|
114901
114948
|
if (selectionHeader) {
|
|
@@ -114941,6 +114988,21 @@ class AgGridController {
|
|
|
114941
114988
|
}
|
|
114942
114989
|
this._gridOptions.api.refreshServerSide({ purge: false });
|
|
114943
114990
|
}
|
|
114991
|
+
setFocusFirstRow() {
|
|
114992
|
+
const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
|
|
114993
|
+
this.setFocusOnRow(firstRow.rowIndex);
|
|
114994
|
+
}
|
|
114995
|
+
setFocusLastRow() {
|
|
114996
|
+
const lastRow = this._gridOptions.api.getDisplayedRowAtIndex(this._gridOptions.api.getLastDisplayedRow());
|
|
114997
|
+
this.setFocusOnRow(lastRow.rowIndex);
|
|
114998
|
+
}
|
|
114999
|
+
setFocusOnRow(rowIndex) {
|
|
115000
|
+
let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
115001
|
+
let firstCell = displayedColumns.find((column) => column.getColDef().headerName !== "");
|
|
115002
|
+
this._gridOptions.api.ensureColumnVisible(firstCell);
|
|
115003
|
+
this._gridOptions.api.ensureIndexVisible(rowIndex);
|
|
115004
|
+
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
115005
|
+
}
|
|
114944
115006
|
setColumnsDef(cols) {
|
|
114945
115007
|
const newColDefs = [Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: "", checkboxSelection: true, width: 28, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, this._multipleSelection && { headerComponent: "ezGridHeaderComponent", headerClass: "ag-column-select-header" })];
|
|
114946
115008
|
if (this._statusResolver != undefined) {
|
|
@@ -115209,6 +115271,7 @@ let EzGrid = class {
|
|
|
115209
115271
|
this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
|
|
115210
115272
|
this.configChange = index.createEvent(this, "configChange", 7);
|
|
115211
115273
|
this._gridController = new AgGridController(false);
|
|
115274
|
+
this._paginationChangedByKeyboard = true;
|
|
115212
115275
|
}
|
|
115213
115276
|
/**
|
|
115214
115277
|
* Método responsável por receber a definição das colunas
|
|
@@ -115333,7 +115396,17 @@ let EzGrid = class {
|
|
|
115333
115396
|
this._gridController.initDatagrid(this._container, {
|
|
115334
115397
|
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
115335
115398
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
115336
|
-
onPaginationChange: (paginationInfo) =>
|
|
115399
|
+
onPaginationChange: (paginationInfo) => {
|
|
115400
|
+
var _a;
|
|
115401
|
+
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > paginationInfo.currentPage && this._paginationChangedByKeyboard) {
|
|
115402
|
+
this._gridController.setFocusLastRow();
|
|
115403
|
+
}
|
|
115404
|
+
else {
|
|
115405
|
+
this._gridController.setFocusFirstRow();
|
|
115406
|
+
this._paginationChangedByKeyboard = true;
|
|
115407
|
+
}
|
|
115408
|
+
this._paginationInfo = paginationInfo;
|
|
115409
|
+
},
|
|
115337
115410
|
onDoubleClick: (row) => {
|
|
115338
115411
|
this.ezDoubleClick.emit(row);
|
|
115339
115412
|
},
|
|
@@ -115356,11 +115429,13 @@ let EzGrid = class {
|
|
|
115356
115429
|
previousPage() {
|
|
115357
115430
|
if (this.dataUnit) {
|
|
115358
115431
|
this.dataUnit.previousPage();
|
|
115432
|
+
this._paginationChangedByKeyboard = false;
|
|
115359
115433
|
}
|
|
115360
115434
|
}
|
|
115361
115435
|
nextPage() {
|
|
115362
115436
|
if (this.dataUnit) {
|
|
115363
115437
|
this.dataUnit.nextPage();
|
|
115438
|
+
this._paginationChangedByKeyboard = false;
|
|
115364
115439
|
}
|
|
115365
115440
|
}
|
|
115366
115441
|
getPaginationControl() {
|
package/dist/cjs/ezui.cjs.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[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-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"heightMode":[1537,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"submit":[64],"cancel":[64],"validate":[64]}]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[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-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"heightMode":[1537,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"submit":[64],"cancel":[64],"validate":[64]}]]]], options);
|
|
19
19
|
});
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[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-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"heightMode":[1537,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"submit":[64],"cancel":[64],"validate":[64]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[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-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"heightMode":[1537,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"submit":[64],"cancel":[64],"validate":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -106,7 +106,7 @@ export class EzForm {
|
|
|
106
106
|
const idTabSelector = `${this._dataElementIdEzForm}_internal_tabSelector`;
|
|
107
107
|
result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
108
108
|
}
|
|
109
|
-
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils.toCamelCase(currentSheet.label)}`;
|
|
109
|
+
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils.replaceAccentuatedChars(StringUtils.toCamelCase(currentSheet.label), false)}`;
|
|
110
110
|
result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
111
111
|
return result;
|
|
112
112
|
}
|
|
@@ -54,6 +54,7 @@ export default class AgGridController {
|
|
|
54
54
|
sortingOrder: ['desc', 'asc', null],
|
|
55
55
|
columnDefs: this._colDefs,
|
|
56
56
|
blockLoadDebounceMillis: this.BLOCK_LOAD_DEBOUNCE,
|
|
57
|
+
navigateToNextCell: this.navigateToNextCell.bind(this),
|
|
57
58
|
getRowNodeId: this._dataUnit ? (params) => typeof params === "string" ? params : params[this._idAttribName] : undefined,
|
|
58
59
|
getMainMenuItems: (params) => {
|
|
59
60
|
const column = params.column;
|
|
@@ -93,6 +94,45 @@ export default class AgGridController {
|
|
|
93
94
|
getRowHeight() {
|
|
94
95
|
return this.DEFAULT_ROW_HEIGHT;
|
|
95
96
|
}
|
|
97
|
+
navigateToNextCell(params) {
|
|
98
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
99
|
+
switch (params.key) {
|
|
100
|
+
case 'ArrowUp':
|
|
101
|
+
if (((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.hasPrevious()) === false) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
this._gridOptions.api.deselectAll();
|
|
105
|
+
if (((_b = params.nextCellPosition) === null || _b === void 0 ? void 0 : _b.rowIndex) < 0) {
|
|
106
|
+
(_c = this._dataUnit) === null || _c === void 0 ? void 0 : _c.previousRecord();
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
(_d = this._dataUnit) === null || _d === void 0 ? void 0 : _d.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
111
|
+
return params.nextCellPosition;
|
|
112
|
+
}
|
|
113
|
+
case 'ArrowDown':
|
|
114
|
+
if (((_e = this._dataUnit) === null || _e === void 0 ? void 0 : _e.hasNext()) === false) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
this._gridOptions.api.deselectAll();
|
|
118
|
+
if ((_f = params.nextCellPosition) === null || _f === void 0 ? void 0 : _f.rowIndex) {
|
|
119
|
+
(_g = this._dataUnit) === null || _g === void 0 ? void 0 : _g.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
(_h = this._dataUnit) === null || _h === void 0 ? void 0 : _h.nextRecord();
|
|
123
|
+
}
|
|
124
|
+
return params.nextCellPosition;
|
|
125
|
+
case "ArrowLeft":
|
|
126
|
+
case "ArrowRight":
|
|
127
|
+
if (((_j = params.nextCellPosition) === null || _j === void 0 ? void 0 : _j.column.colDef.headerName) !== "") {
|
|
128
|
+
return params.nextCellPosition;
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
96
136
|
setOptionsEvents(opt) {
|
|
97
137
|
opt.onSortChanged = e => this.onCallStateChange("sort", e);
|
|
98
138
|
opt.onColumnResized = e => this.onCallStateChange("columnResize", e);
|
|
@@ -153,7 +193,14 @@ export default class AgGridController {
|
|
|
153
193
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
154
194
|
}
|
|
155
195
|
this._gridOptions.api.forEachNode(node => {
|
|
156
|
-
|
|
196
|
+
var _a;
|
|
197
|
+
if (rowIds && rowIds.includes(node.id)) {
|
|
198
|
+
node.setSelected(true);
|
|
199
|
+
(_a = this._gridOptions.api) === null || _a === void 0 ? void 0 : _a.ensureNodeVisible(node);
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
node.setSelected(false);
|
|
203
|
+
}
|
|
157
204
|
});
|
|
158
205
|
const selectionHeader = this._gridOptions.context.selectionHeader;
|
|
159
206
|
if (selectionHeader) {
|
|
@@ -199,6 +246,21 @@ export default class AgGridController {
|
|
|
199
246
|
}
|
|
200
247
|
this._gridOptions.api.refreshServerSide({ purge: false });
|
|
201
248
|
}
|
|
249
|
+
setFocusFirstRow() {
|
|
250
|
+
const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
|
|
251
|
+
this.setFocusOnRow(firstRow.rowIndex);
|
|
252
|
+
}
|
|
253
|
+
setFocusLastRow() {
|
|
254
|
+
const lastRow = this._gridOptions.api.getDisplayedRowAtIndex(this._gridOptions.api.getLastDisplayedRow());
|
|
255
|
+
this.setFocusOnRow(lastRow.rowIndex);
|
|
256
|
+
}
|
|
257
|
+
setFocusOnRow(rowIndex) {
|
|
258
|
+
let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
259
|
+
let firstCell = displayedColumns.find((column) => column.getColDef().headerName !== "");
|
|
260
|
+
this._gridOptions.api.ensureColumnVisible(firstCell);
|
|
261
|
+
this._gridOptions.api.ensureIndexVisible(rowIndex);
|
|
262
|
+
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
263
|
+
}
|
|
202
264
|
setColumnsDef(cols) {
|
|
203
265
|
const newColDefs = [Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: "", checkboxSelection: true, width: 28, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, this._multipleSelection && { headerComponent: "ezGridHeaderComponent", headerClass: "ag-column-select-header" })];
|
|
204
266
|
if (this._statusResolver != undefined) {
|
|
@@ -4,6 +4,7 @@ import AgGridController from "./controller/ag-grid/AgGridController";
|
|
|
4
4
|
export class EzGrid {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._gridController = new AgGridController(false);
|
|
7
|
+
this._paginationChangedByKeyboard = true;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Método responsável por receber a definição das colunas
|
|
@@ -128,7 +129,17 @@ export class EzGrid {
|
|
|
128
129
|
this._gridController.initDatagrid(this._container, {
|
|
129
130
|
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
130
131
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
131
|
-
onPaginationChange: (paginationInfo) =>
|
|
132
|
+
onPaginationChange: (paginationInfo) => {
|
|
133
|
+
var _a;
|
|
134
|
+
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > paginationInfo.currentPage && this._paginationChangedByKeyboard) {
|
|
135
|
+
this._gridController.setFocusLastRow();
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
this._gridController.setFocusFirstRow();
|
|
139
|
+
this._paginationChangedByKeyboard = true;
|
|
140
|
+
}
|
|
141
|
+
this._paginationInfo = paginationInfo;
|
|
142
|
+
},
|
|
132
143
|
onDoubleClick: (row) => {
|
|
133
144
|
this.ezDoubleClick.emit(row);
|
|
134
145
|
},
|
|
@@ -151,11 +162,13 @@ export class EzGrid {
|
|
|
151
162
|
previousPage() {
|
|
152
163
|
if (this.dataUnit) {
|
|
153
164
|
this.dataUnit.previousPage();
|
|
165
|
+
this._paginationChangedByKeyboard = false;
|
|
154
166
|
}
|
|
155
167
|
}
|
|
156
168
|
nextPage() {
|
|
157
169
|
if (this.dataUnit) {
|
|
158
170
|
this.dataUnit.nextPage();
|
|
171
|
+
this._paginationChangedByKeyboard = false;
|
|
159
172
|
}
|
|
160
173
|
}
|
|
161
174
|
getPaginationControl() {
|
|
@@ -289,7 +302,8 @@ export class EzGrid {
|
|
|
289
302
|
}
|
|
290
303
|
}; }
|
|
291
304
|
static get states() { return {
|
|
292
|
-
"_paginationInfo": {}
|
|
305
|
+
"_paginationInfo": {},
|
|
306
|
+
"_paginationChangedByKeyboard": {}
|
|
293
307
|
}; }
|
|
294
308
|
static get events() { return [{
|
|
295
309
|
"method": "ezColumnStateChange",
|
|
@@ -2960,7 +2960,7 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
2960
2960
|
const idTabSelector = `${this._dataElementIdEzForm}_internal_tabSelector`;
|
|
2961
2961
|
result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
2962
2962
|
}
|
|
2963
|
-
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils$1.toCamelCase(currentSheet.label)}`;
|
|
2963
|
+
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils$1.replaceAccentuatedChars(StringUtils$1.toCamelCase(currentSheet.label), false)}`;
|
|
2964
2964
|
result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
2965
2965
|
return result;
|
|
2966
2966
|
}
|
|
@@ -117843,6 +117843,7 @@ class AgGridController {
|
|
|
117843
117843
|
sortingOrder: ['desc', 'asc', null],
|
|
117844
117844
|
columnDefs: this._colDefs,
|
|
117845
117845
|
blockLoadDebounceMillis: this.BLOCK_LOAD_DEBOUNCE,
|
|
117846
|
+
navigateToNextCell: this.navigateToNextCell.bind(this),
|
|
117846
117847
|
getRowNodeId: this._dataUnit ? (params) => typeof params === "string" ? params : params[this._idAttribName] : undefined,
|
|
117847
117848
|
getMainMenuItems: (params) => {
|
|
117848
117849
|
const column = params.column;
|
|
@@ -117882,6 +117883,45 @@ class AgGridController {
|
|
|
117882
117883
|
getRowHeight() {
|
|
117883
117884
|
return this.DEFAULT_ROW_HEIGHT;
|
|
117884
117885
|
}
|
|
117886
|
+
navigateToNextCell(params) {
|
|
117887
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
117888
|
+
switch (params.key) {
|
|
117889
|
+
case 'ArrowUp':
|
|
117890
|
+
if (((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.hasPrevious()) === false) {
|
|
117891
|
+
return null;
|
|
117892
|
+
}
|
|
117893
|
+
this._gridOptions.api.deselectAll();
|
|
117894
|
+
if (((_b = params.nextCellPosition) === null || _b === void 0 ? void 0 : _b.rowIndex) < 0) {
|
|
117895
|
+
(_c = this._dataUnit) === null || _c === void 0 ? void 0 : _c.previousRecord();
|
|
117896
|
+
return null;
|
|
117897
|
+
}
|
|
117898
|
+
else {
|
|
117899
|
+
(_d = this._dataUnit) === null || _d === void 0 ? void 0 : _d.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
117900
|
+
return params.nextCellPosition;
|
|
117901
|
+
}
|
|
117902
|
+
case 'ArrowDown':
|
|
117903
|
+
if (((_e = this._dataUnit) === null || _e === void 0 ? void 0 : _e.hasNext()) === false) {
|
|
117904
|
+
return null;
|
|
117905
|
+
}
|
|
117906
|
+
this._gridOptions.api.deselectAll();
|
|
117907
|
+
if ((_f = params.nextCellPosition) === null || _f === void 0 ? void 0 : _f.rowIndex) {
|
|
117908
|
+
(_g = this._dataUnit) === null || _g === void 0 ? void 0 : _g.setSelectionByIndex([params.nextCellPosition.rowIndex]);
|
|
117909
|
+
}
|
|
117910
|
+
else {
|
|
117911
|
+
(_h = this._dataUnit) === null || _h === void 0 ? void 0 : _h.nextRecord();
|
|
117912
|
+
}
|
|
117913
|
+
return params.nextCellPosition;
|
|
117914
|
+
case "ArrowLeft":
|
|
117915
|
+
case "ArrowRight":
|
|
117916
|
+
if (((_j = params.nextCellPosition) === null || _j === void 0 ? void 0 : _j.column.colDef.headerName) !== "") {
|
|
117917
|
+
return params.nextCellPosition;
|
|
117918
|
+
}
|
|
117919
|
+
else {
|
|
117920
|
+
return null;
|
|
117921
|
+
}
|
|
117922
|
+
}
|
|
117923
|
+
return null;
|
|
117924
|
+
}
|
|
117885
117925
|
setOptionsEvents(opt) {
|
|
117886
117926
|
opt.onSortChanged = e => this.onCallStateChange("sort", e);
|
|
117887
117927
|
opt.onColumnResized = e => this.onCallStateChange("columnResize", e);
|
|
@@ -117942,7 +117982,14 @@ class AgGridController {
|
|
|
117942
117982
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
117943
117983
|
}
|
|
117944
117984
|
this._gridOptions.api.forEachNode(node => {
|
|
117945
|
-
|
|
117985
|
+
var _a;
|
|
117986
|
+
if (rowIds && rowIds.includes(node.id)) {
|
|
117987
|
+
node.setSelected(true);
|
|
117988
|
+
(_a = this._gridOptions.api) === null || _a === void 0 ? void 0 : _a.ensureNodeVisible(node);
|
|
117989
|
+
}
|
|
117990
|
+
else {
|
|
117991
|
+
node.setSelected(false);
|
|
117992
|
+
}
|
|
117946
117993
|
});
|
|
117947
117994
|
const selectionHeader = this._gridOptions.context.selectionHeader;
|
|
117948
117995
|
if (selectionHeader) {
|
|
@@ -117988,6 +118035,21 @@ class AgGridController {
|
|
|
117988
118035
|
}
|
|
117989
118036
|
this._gridOptions.api.refreshServerSide({ purge: false });
|
|
117990
118037
|
}
|
|
118038
|
+
setFocusFirstRow() {
|
|
118039
|
+
const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
|
|
118040
|
+
this.setFocusOnRow(firstRow.rowIndex);
|
|
118041
|
+
}
|
|
118042
|
+
setFocusLastRow() {
|
|
118043
|
+
const lastRow = this._gridOptions.api.getDisplayedRowAtIndex(this._gridOptions.api.getLastDisplayedRow());
|
|
118044
|
+
this.setFocusOnRow(lastRow.rowIndex);
|
|
118045
|
+
}
|
|
118046
|
+
setFocusOnRow(rowIndex) {
|
|
118047
|
+
let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
118048
|
+
let firstCell = displayedColumns.find((column) => column.getColDef().headerName !== "");
|
|
118049
|
+
this._gridOptions.api.ensureColumnVisible(firstCell);
|
|
118050
|
+
this._gridOptions.api.ensureIndexVisible(rowIndex);
|
|
118051
|
+
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
118052
|
+
}
|
|
117991
118053
|
setColumnsDef(cols) {
|
|
117992
118054
|
const newColDefs = [Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: "", checkboxSelection: true, width: 28, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, this._multipleSelection && { headerComponent: "ezGridHeaderComponent", headerClass: "ag-column-select-header" })];
|
|
117993
118055
|
if (this._statusResolver != undefined) {
|
|
@@ -118257,6 +118319,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118257
118319
|
this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
|
|
118258
118320
|
this.configChange = createEvent(this, "configChange", 7);
|
|
118259
118321
|
this._gridController = new AgGridController(false);
|
|
118322
|
+
this._paginationChangedByKeyboard = true;
|
|
118260
118323
|
}
|
|
118261
118324
|
/**
|
|
118262
118325
|
* Método responsável por receber a definição das colunas
|
|
@@ -118381,7 +118444,17 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118381
118444
|
this._gridController.initDatagrid(this._container, {
|
|
118382
118445
|
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
118383
118446
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
118384
|
-
onPaginationChange: (paginationInfo) =>
|
|
118447
|
+
onPaginationChange: (paginationInfo) => {
|
|
118448
|
+
var _a;
|
|
118449
|
+
if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > paginationInfo.currentPage && this._paginationChangedByKeyboard) {
|
|
118450
|
+
this._gridController.setFocusLastRow();
|
|
118451
|
+
}
|
|
118452
|
+
else {
|
|
118453
|
+
this._gridController.setFocusFirstRow();
|
|
118454
|
+
this._paginationChangedByKeyboard = true;
|
|
118455
|
+
}
|
|
118456
|
+
this._paginationInfo = paginationInfo;
|
|
118457
|
+
},
|
|
118385
118458
|
onDoubleClick: (row) => {
|
|
118386
118459
|
this.ezDoubleClick.emit(row);
|
|
118387
118460
|
},
|
|
@@ -118404,11 +118477,13 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118404
118477
|
previousPage() {
|
|
118405
118478
|
if (this.dataUnit) {
|
|
118406
118479
|
this.dataUnit.previousPage();
|
|
118480
|
+
this._paginationChangedByKeyboard = false;
|
|
118407
118481
|
}
|
|
118408
118482
|
}
|
|
118409
118483
|
nextPage() {
|
|
118410
118484
|
if (this.dataUnit) {
|
|
118411
118485
|
this.dataUnit.nextPage();
|
|
118486
|
+
this._paginationChangedByKeyboard = false;
|
|
118412
118487
|
}
|
|
118413
118488
|
}
|
|
118414
118489
|
getPaginationControl() {
|
|
@@ -121209,7 +121284,7 @@ const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"e
|
|
|
121209
121284
|
const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
|
|
121210
121285
|
const EzFilterInput = /*@__PURE__*/proxyCustomElement(EzFilterInput$1, [1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513]}]);
|
|
121211
121286
|
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16]}]);
|
|
121212
|
-
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32]}]);
|
|
121287
|
+
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32]}]);
|
|
121213
121288
|
const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
|
|
121214
121289
|
const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32]}]);
|
|
121215
121290
|
const EzLoadingBar = /*@__PURE__*/proxyCustomElement(EzLoadingBar$1, [1,"ez-loading-bar",{"_showLoading":[32]}]);
|
|
@@ -944,7 +944,7 @@ let EzForm = class {
|
|
|
944
944
|
const idTabSelector = `${this._dataElementIdEzForm}_internal_tabSelector`;
|
|
945
945
|
result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
946
946
|
}
|
|
947
|
-
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils.toCamelCase(currentSheet.label)}`;
|
|
947
|
+
const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils.replaceAccentuatedChars(StringUtils.toCamelCase(currentSheet.label), false)}`;
|
|
948
948
|
result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
949
949
|
return result;
|
|
950
950
|
}
|