@sankhyalabs/ezui 5.22.0-dev.20 → 5.22.0-dev.21
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/{RecordValidationProcessor-4c893e04.js → RecordValidationProcessor-10846595.js} +7 -1
- package/dist/cjs/ez-form.cjs.entry.js +2 -2
- package/dist/cjs/ez-grid.cjs.entry.js +252 -15
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +106 -4
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +83 -5
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +57 -6
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +1 -0
- package/dist/collection/components/ez-grid/ez-grid.js +42 -0
- package/dist/collection/utils/form/DataBinder.js +1 -1
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
- package/dist/custom-elements/index.js +260 -17
- package/dist/esm/{RecordValidationProcessor-b00b8b77.js → RecordValidationProcessor-9c6cc267.js} +7 -1
- package/dist/esm/ez-form.entry.js +2 -2
- package/dist/esm/ez-grid.entry.js +252 -15
- 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-fcf0acce.entry.js → p-4d64a3e4.entry.js} +1 -1
- package/dist/ezui/{p-5ee2dc4e.entry.js → p-a9156fef.entry.js} +2 -2
- package/dist/ezui/p-f42855b9.js +1 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +32 -4
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +19 -3
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +18 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +13 -2
- package/dist/types/components/ez-grid/ez-grid.d.ts +9 -0
- package/dist/types/components.d.ts +16 -0
- package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
- package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
- package/package.json +1 -1
- package/dist/ezui/p-04f24913.js +0 -1
package/dist/cjs/{RecordValidationProcessor-4c893e04.js → RecordValidationProcessor-10846595.js}
RENAMED
|
@@ -30,7 +30,7 @@ class RecordValidationProcessor {
|
|
|
30
30
|
this._validationSource = validationSource;
|
|
31
31
|
this._validator = validator;
|
|
32
32
|
}
|
|
33
|
-
validate() {
|
|
33
|
+
validate(isSaving = true) {
|
|
34
34
|
return new Promise((accept, reject) => {
|
|
35
35
|
const records = this._dataUnit.getModifiedRecords();
|
|
36
36
|
for (let i = 0; i < records.length; i++) {
|
|
@@ -47,6 +47,11 @@ class RecordValidationProcessor {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
if (invalidResults.length > 0) {
|
|
50
|
+
if (!isSaving && invalidResults[0].invalidFields.length > 0) {
|
|
51
|
+
this._validationSource.markAsInvalid(invalidResults[0].invalidFields[0], record.__record__id__);
|
|
52
|
+
reject();
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
50
55
|
this.processValidationResult(invalidResults, record.__record__id__);
|
|
51
56
|
reject();
|
|
52
57
|
break;
|
|
@@ -78,6 +83,7 @@ class RecordValidationProcessor {
|
|
|
78
83
|
processValidationResult(validationResult, recordId) {
|
|
79
84
|
validationResult.forEach(invalidResult => {
|
|
80
85
|
const invalidFields = invalidResult.invalidFields;
|
|
86
|
+
this._dataUnit.savingCanceled(invalidFields, recordId);
|
|
81
87
|
if (invalidFields) {
|
|
82
88
|
invalidFields.forEach(field => {
|
|
83
89
|
this.markAsInvalid(field, recordId);
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
|
-
const RecordValidationProcessor = require('./RecordValidationProcessor-
|
|
7
|
+
const RecordValidationProcessor = require('./RecordValidationProcessor-10846595.js');
|
|
8
8
|
require('./ApplicationUtils-c9d1205c.js');
|
|
9
9
|
require('./DialogType-2114c337.js');
|
|
10
10
|
|
|
@@ -252,7 +252,7 @@ class DataBinder {
|
|
|
252
252
|
this._recordValidatorProcessor = new RecordValidationProcessor.RecordValidationProcessor(this._dataUnit, {
|
|
253
253
|
getRequiredFields: () => this._formMetadata.getRequiredFields(),
|
|
254
254
|
markAsInvalid: field => this.markInvalid(field),
|
|
255
|
-
getMessageForField: field => this.getErrorMessage(field)
|
|
255
|
+
getMessageForField: field => this.getErrorMessage(field),
|
|
256
256
|
}, recordsValidator);
|
|
257
257
|
}
|
|
258
258
|
disconnectDataUnit() {
|
|
@@ -10,7 +10,7 @@ require('./DialogType-2114c337.js');
|
|
|
10
10
|
require('./CheckMode-ecb90b87.js');
|
|
11
11
|
const ICustomRender = require('./ICustomRender-6fafffce.js');
|
|
12
12
|
const constants = require('./constants-2714478b.js');
|
|
13
|
-
const RecordValidationProcessor = require('./RecordValidationProcessor-
|
|
13
|
+
const RecordValidationProcessor = require('./RecordValidationProcessor-10846595.js');
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.1
|
|
@@ -118853,6 +118853,73 @@ class DataSourceInterceptor {
|
|
|
118853
118853
|
}
|
|
118854
118854
|
|
|
118855
118855
|
class DataSource {
|
|
118856
|
+
handleSavingCanceled(action) {
|
|
118857
|
+
var _a, _b, _c, _d;
|
|
118858
|
+
if (!((_a = action.payload) === null || _a === void 0 ? void 0 : _a.fields) || !((_b = action.payload) === null || _b === void 0 ? void 0 : _b.recordId))
|
|
118859
|
+
return;
|
|
118860
|
+
this._controller.savingCanceled((_c = action.payload) === null || _c === void 0 ? void 0 : _c.fields, (_d = action.payload) === null || _d === void 0 ? void 0 : _d.recordId);
|
|
118861
|
+
}
|
|
118862
|
+
handleDataChanged(action) {
|
|
118863
|
+
var _a, _b;
|
|
118864
|
+
if (!this._options.enableGridInsert) {
|
|
118865
|
+
this.handleRefresh(action);
|
|
118866
|
+
return;
|
|
118867
|
+
}
|
|
118868
|
+
this.updateGridRowNodes((_b = (_a = action.payload) === null || _a === void 0 ? void 0 : _a.records) !== null && _b !== void 0 ? _b : []);
|
|
118869
|
+
}
|
|
118870
|
+
/**
|
|
118871
|
+
* Nesse ponto, o registro já se encontra atualizado no DU,
|
|
118872
|
+
* basta então passar seu valor para que a garde possa atualizar sua linha.
|
|
118873
|
+
*/
|
|
118874
|
+
updateGridRowNodes(recordIDList) {
|
|
118875
|
+
const recordsToUpdate = recordIDList === null || recordIDList === void 0 ? void 0 : recordIDList.map(id => this.getRecordById(id));
|
|
118876
|
+
this._controller.updateRows(recordsToUpdate);
|
|
118877
|
+
}
|
|
118878
|
+
getRecordById(recordId) {
|
|
118879
|
+
return this._dataUnit.records.find(record => record['__record__id__'] === recordId);
|
|
118880
|
+
}
|
|
118881
|
+
/**
|
|
118882
|
+
* Em caso de necessidade de reload (isWaitingToReload), eh preciso chamar o dataUnit.gotoPage, pois ele aplica tambem a ordenacao dos registros,
|
|
118883
|
+
* enquanto que o _controller.refresh apenas recarrega os dados na ordem que atua.
|
|
118884
|
+
*/
|
|
118885
|
+
handleRefreshOrReload(action) {
|
|
118886
|
+
if (this._dataUnit.isWaitingToReload()) {
|
|
118887
|
+
this.handleReload();
|
|
118888
|
+
return;
|
|
118889
|
+
}
|
|
118890
|
+
this.handleRefresh(action);
|
|
118891
|
+
}
|
|
118892
|
+
handleReload() {
|
|
118893
|
+
this._dataUnit.setWaitingToReload(false);
|
|
118894
|
+
this._dataUnit.gotoPage(0);
|
|
118895
|
+
}
|
|
118896
|
+
handleRefresh(action) {
|
|
118897
|
+
if (this.isSilentChange(action)) {
|
|
118898
|
+
return;
|
|
118899
|
+
}
|
|
118900
|
+
this._controller.refresh(action.type === core.Action.DATA_SAVED);
|
|
118901
|
+
}
|
|
118902
|
+
handleRecordsAdded() {
|
|
118903
|
+
if (this._options.enableGridInsert) {
|
|
118904
|
+
this._controller.refresh();
|
|
118905
|
+
this.focusOnNewRecord();
|
|
118906
|
+
}
|
|
118907
|
+
}
|
|
118908
|
+
focusOnNewRecord() {
|
|
118909
|
+
/**
|
|
118910
|
+
* O SetTimeout eh utilizado pois é preciso aguardar que o novo registro seja renderizado na grade.
|
|
118911
|
+
* Tentamos utilizar a api da grade para adicionar um event listener, porém na versão que utilizamos, não existe
|
|
118912
|
+
* algo que resolva nosso cenário.
|
|
118913
|
+
*
|
|
118914
|
+
* Sugiro no futuro utilizar algo como o applyServerSideTransaction, porém será preciso lidar com os handlers
|
|
118915
|
+
* e callbacks implementados no AgGridController e GridEditionManager.
|
|
118916
|
+
*/
|
|
118917
|
+
setTimeout(() => {
|
|
118918
|
+
var _a;
|
|
118919
|
+
const newRowIndex = ((_a = this._dataUnit.records) === null || _a === void 0 ? void 0 : _a.length) - 1;
|
|
118920
|
+
this._controller.startEditionOnRowByIndex(newRowIndex);
|
|
118921
|
+
}, 500);
|
|
118922
|
+
}
|
|
118856
118923
|
updateLoadedRecords(action) {
|
|
118857
118924
|
const records = action.payload;
|
|
118858
118925
|
if ((records === null || records === void 0 ? void 0 : records.length) > 0) {
|
|
@@ -118904,15 +118971,20 @@ class DataSource {
|
|
|
118904
118971
|
this._options.onPaginationUpdate(this._dataUnit.getPaginationInfo());
|
|
118905
118972
|
}
|
|
118906
118973
|
break;
|
|
118907
|
-
case core.Action.
|
|
118974
|
+
case core.Action.RECORDS_ADDED:
|
|
118975
|
+
this.handleRecordsAdded();
|
|
118976
|
+
break;
|
|
118908
118977
|
case core.Action.DATA_SAVED:
|
|
118909
118978
|
case core.Action.EDITION_CANCELED:
|
|
118979
|
+
this._controller.clearInvalidCells(action.type);
|
|
118980
|
+
this.handleRefreshOrReload(action);
|
|
118981
|
+
break;
|
|
118910
118982
|
case core.Action.DATA_CHANGED:
|
|
118911
118983
|
case core.Action.DATA_RESOLVED:
|
|
118912
|
-
|
|
118913
|
-
|
|
118914
|
-
|
|
118915
|
-
this.
|
|
118984
|
+
this.handleDataChanged(action);
|
|
118985
|
+
break;
|
|
118986
|
+
case core.Action.RECORDS_REMOVED:
|
|
118987
|
+
this.handleRefresh(action);
|
|
118916
118988
|
break;
|
|
118917
118989
|
case core.Action.SELECTION_CHANGED:
|
|
118918
118990
|
case core.Action.NEXT_SELECTED:
|
|
@@ -118922,6 +118994,9 @@ class DataSource {
|
|
|
118922
118994
|
case core.Action.RECORD_LOADED:
|
|
118923
118995
|
this.updateLoadedRecords(action);
|
|
118924
118996
|
break;
|
|
118997
|
+
case core.Action.SAVING_CANCELED:
|
|
118998
|
+
this.handleSavingCanceled(action);
|
|
118999
|
+
break;
|
|
118925
119000
|
}
|
|
118926
119001
|
};
|
|
118927
119002
|
this._dataUnit = dataUnit;
|
|
@@ -118943,6 +119018,9 @@ class DataSource {
|
|
|
118943
119018
|
setAutoFocus(autoFocus) {
|
|
118944
119019
|
this._options.autoFocus = autoFocus;
|
|
118945
119020
|
}
|
|
119021
|
+
setEnableGridInsert(enable) {
|
|
119022
|
+
this._options.enableGridInsert = enable;
|
|
119023
|
+
}
|
|
118946
119024
|
getRows(params) {
|
|
118947
119025
|
if (this.needReload(params)) {
|
|
118948
119026
|
this._lastLoadingParams = params;
|
|
@@ -119604,15 +119682,16 @@ class EzGridCustomCellRender extends EzCellRender {
|
|
|
119604
119682
|
}
|
|
119605
119683
|
|
|
119606
119684
|
class GridEditionManager {
|
|
119607
|
-
constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders) {
|
|
119685
|
+
constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert) {
|
|
119608
119686
|
this._dataUnit = dataUnit;
|
|
119609
119687
|
this._recordValidationProcessor = new RecordValidationProcessor.RecordValidationProcessor(this._dataUnit, {
|
|
119610
119688
|
getRequiredFields: () => this.getRequiredFields(),
|
|
119611
|
-
markAsInvalid: () => { },
|
|
119612
|
-
getMessageForField: () => null
|
|
119689
|
+
markAsInvalid: (invalidField, recordId) => { this.setInvalidCell(invalidField, recordId); },
|
|
119690
|
+
getMessageForField: () => null,
|
|
119613
119691
|
}, recordsValidator);
|
|
119614
119692
|
this._useEnterLikeTab = useEnterLikeTab;
|
|
119615
119693
|
this._editionIsDisabled = editionIsDisabled;
|
|
119694
|
+
this._enableContinuousInsert = enableContinuousInsert;
|
|
119616
119695
|
this._customEditors = customEditors;
|
|
119617
119696
|
this._customRenders = customRenders;
|
|
119618
119697
|
}
|
|
@@ -119627,6 +119706,10 @@ class GridEditionManager {
|
|
|
119627
119706
|
};
|
|
119628
119707
|
return options;
|
|
119629
119708
|
}
|
|
119709
|
+
canContinuousInsert() {
|
|
119710
|
+
var _a;
|
|
119711
|
+
return this._enableContinuousInsert && (this._dataUnit.records.length - 1) === ((_a = this._lastCellEdited) === null || _a === void 0 ? void 0 : _a.rowIndex);
|
|
119712
|
+
}
|
|
119630
119713
|
proceedAutoSave() {
|
|
119631
119714
|
if (!this._dataUnit.isDirty()) {
|
|
119632
119715
|
this.saveSuccess();
|
|
@@ -119639,15 +119722,33 @@ class GridEditionManager {
|
|
|
119639
119722
|
if (currentRercord == undefined) {
|
|
119640
119723
|
return;
|
|
119641
119724
|
}
|
|
119725
|
+
this._invalidCell = undefined;
|
|
119642
119726
|
this._recordValidationProcessor
|
|
119643
|
-
.validate()
|
|
119727
|
+
.validate(true)
|
|
119644
119728
|
.then(() => {
|
|
119645
119729
|
this._dataUnit.saveData()
|
|
119646
|
-
.then(() =>
|
|
119730
|
+
.then(() => {
|
|
119731
|
+
if (this.canContinuousInsert()) {
|
|
119732
|
+
this._dataUnit.addRecord();
|
|
119733
|
+
}
|
|
119734
|
+
else {
|
|
119735
|
+
this.saveSuccess();
|
|
119736
|
+
}
|
|
119737
|
+
})
|
|
119647
119738
|
.catch(reason => this.saveFail(reason));
|
|
119648
119739
|
})
|
|
119649
119740
|
.catch(reason => this.saveFail(reason));
|
|
119650
119741
|
}
|
|
119742
|
+
async recordValidate() {
|
|
119743
|
+
if (!this._dataUnit.isDirty())
|
|
119744
|
+
return;
|
|
119745
|
+
try {
|
|
119746
|
+
this._invalidCell = undefined;
|
|
119747
|
+
await this._recordValidationProcessor.validate(false);
|
|
119748
|
+
}
|
|
119749
|
+
catch (error) { }
|
|
119750
|
+
this._gridOptions.api.refreshCells({ force: true });
|
|
119751
|
+
}
|
|
119651
119752
|
navigateByEnterKey(keyboardEvent) {
|
|
119652
119753
|
const backwards = keyboardEvent.shiftKey;
|
|
119653
119754
|
if (this._useEnterLikeTab) {
|
|
@@ -119856,6 +119957,34 @@ class GridEditionManager {
|
|
|
119856
119957
|
setCellRenders(customRenders) {
|
|
119857
119958
|
this._customRenders = customRenders;
|
|
119858
119959
|
}
|
|
119960
|
+
setInvalidCell(invalidCell, recordId) {
|
|
119961
|
+
this._invalidCell = { field: invalidCell, recordId };
|
|
119962
|
+
}
|
|
119963
|
+
getInvalidCell() {
|
|
119964
|
+
return this._invalidCell;
|
|
119965
|
+
}
|
|
119966
|
+
clearInvalidCells(action) {
|
|
119967
|
+
this._invalidCell = undefined;
|
|
119968
|
+
if (action === core.Action.EDITION_CANCELED) {
|
|
119969
|
+
this._isGridEdition = false;
|
|
119970
|
+
}
|
|
119971
|
+
else if (action === core.Action.DATA_SAVED && this.canContinuousInsert()) {
|
|
119972
|
+
this._dataUnit.addRecord();
|
|
119973
|
+
}
|
|
119974
|
+
}
|
|
119975
|
+
setEnableContinuousInsert(enable) {
|
|
119976
|
+
this._enableContinuousInsert = enable;
|
|
119977
|
+
}
|
|
119978
|
+
hasInvalidField(fieldName, recordId) {
|
|
119979
|
+
if (!this.hasInvalidCell())
|
|
119980
|
+
return false;
|
|
119981
|
+
return this._invalidCell.field.name === fieldName && this._invalidCell.recordId === recordId;
|
|
119982
|
+
}
|
|
119983
|
+
hasInvalidCell() {
|
|
119984
|
+
if (!this._invalidCell || !this._invalidCell.field || !this._invalidCell.recordId)
|
|
119985
|
+
return false;
|
|
119986
|
+
return true;
|
|
119987
|
+
}
|
|
119859
119988
|
}
|
|
119860
119989
|
class TargetEdition {
|
|
119861
119990
|
constructor(rowIndex, column, backwards) {
|
|
@@ -119899,6 +120028,8 @@ class AgGridController {
|
|
|
119899
120028
|
this._filteredColumns = new Map();
|
|
119900
120029
|
this._filterColumnleftPosition = 0;
|
|
119901
120030
|
this._customFormatters = new Map();
|
|
120031
|
+
this._gridShowDom = false;
|
|
120032
|
+
this.peddingExecutionsOnGridShow = [];
|
|
119902
120033
|
this._enterprise = enterprise;
|
|
119903
120034
|
}
|
|
119904
120035
|
getGridConfig() {
|
|
@@ -119984,7 +120115,7 @@ class AgGridController {
|
|
|
119984
120115
|
this._doubleClickCallBack = options.onDoubleClick;
|
|
119985
120116
|
this._multipleSelection = options.allowMultipleSelection;
|
|
119986
120117
|
this._dataUnit = options.dataUnit;
|
|
119987
|
-
this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders);
|
|
120118
|
+
this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert);
|
|
119988
120119
|
this._statusResolver = options.statusResolver;
|
|
119989
120120
|
if (this._dataUnit) {
|
|
119990
120121
|
this._dataUnit.sortingProvider = this;
|
|
@@ -120004,6 +120135,9 @@ class AgGridController {
|
|
|
120004
120135
|
defaultColDef: {
|
|
120005
120136
|
headerClass: 'ez-grid__cell-header',
|
|
120006
120137
|
cellClass: 'ez-grid__cell-body',
|
|
120138
|
+
cellClassRules: {
|
|
120139
|
+
'invalidValue': (params) => this._editionManager.hasInvalidField(params.colDef.field, params.data["__record__id__"]),
|
|
120140
|
+
},
|
|
120007
120141
|
cellStyle: {
|
|
120008
120142
|
height: '100%'
|
|
120009
120143
|
}
|
|
@@ -120043,6 +120177,23 @@ class AgGridController {
|
|
|
120043
120177
|
}
|
|
120044
120178
|
this._gridOptions.api.setHeaderHeight(this.getHeaderRowHeight());
|
|
120045
120179
|
this._customFormatters = options.customFormatters;
|
|
120180
|
+
const observerCallback = (entries) => {
|
|
120181
|
+
entries.forEach(entry => {
|
|
120182
|
+
if (entry.isIntersecting) {
|
|
120183
|
+
this._gridShowDom = true;
|
|
120184
|
+
this.peddingExecutionsOnGridShow.forEach(func => func());
|
|
120185
|
+
this.peddingExecutionsOnGridShow = [];
|
|
120186
|
+
}
|
|
120187
|
+
else {
|
|
120188
|
+
this._gridShowDom = false;
|
|
120189
|
+
}
|
|
120190
|
+
});
|
|
120191
|
+
};
|
|
120192
|
+
this.observer = new IntersectionObserver(observerCallback, {
|
|
120193
|
+
root: null,
|
|
120194
|
+
threshold: 0.1
|
|
120195
|
+
});
|
|
120196
|
+
this.observer.observe(container);
|
|
120046
120197
|
}
|
|
120047
120198
|
}
|
|
120048
120199
|
processFormatterCellCallback(params) {
|
|
@@ -120233,10 +120384,16 @@ class AgGridController {
|
|
|
120233
120384
|
throw new Error('Erro interno: Grid ainda não inicializado.');
|
|
120234
120385
|
}
|
|
120235
120386
|
}
|
|
120236
|
-
updateRows() {
|
|
120387
|
+
updateRows(rows) {
|
|
120237
120388
|
if (this._grid === undefined) {
|
|
120238
120389
|
throw new Error('Erro interno: Grid ainda não inicializado.');
|
|
120239
120390
|
}
|
|
120391
|
+
rows === null || rows === void 0 ? void 0 : rows.forEach(row => this.updateRowData(row));
|
|
120392
|
+
}
|
|
120393
|
+
updateRowData(row) {
|
|
120394
|
+
const node = this._gridOptions.api.getRowNode(row[this._idAttribName]);
|
|
120395
|
+
node.setData(Object.assign({}, row));
|
|
120396
|
+
this._editionManager.recordValidate();
|
|
120240
120397
|
}
|
|
120241
120398
|
selectAll(quietly = false) {
|
|
120242
120399
|
try {
|
|
@@ -120319,14 +120476,42 @@ class AgGridController {
|
|
|
120319
120476
|
});
|
|
120320
120477
|
r.setData(data);
|
|
120321
120478
|
});
|
|
120479
|
+
this._gridOptions.api.refreshCells({ force: true });
|
|
120480
|
+
const invalidCell = this._editionManager.getInvalidCell();
|
|
120481
|
+
if (invalidCell) {
|
|
120482
|
+
const rowNode = this._gridOptions.api.getRowNode(invalidCell.recordId);
|
|
120483
|
+
if (rowNode && invalidCell.field) {
|
|
120484
|
+
this.startEdition(rowNode.rowIndex, this._gridOptions.columnApi.getColumn(invalidCell.field.name));
|
|
120485
|
+
}
|
|
120486
|
+
}
|
|
120322
120487
|
}
|
|
120323
120488
|
}
|
|
120324
|
-
|
|
120489
|
+
savingCanceled(fields, recordId) {
|
|
120490
|
+
const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
120491
|
+
const rowIndex = this._gridOptions.api.getRowNode(recordId).rowIndex;
|
|
120492
|
+
const columnFocus = displayedColumns.find(column => this.isColumnEditable(rowIndex, column) && fields.find(field => field.name === column.getColId()));
|
|
120493
|
+
this.focusByCollAndRow(columnFocus, rowIndex);
|
|
120494
|
+
this.startEdition(rowIndex, columnFocus);
|
|
120495
|
+
}
|
|
120496
|
+
refresh(scrollToSelectedRow = false) {
|
|
120325
120497
|
if (this._grid === undefined) {
|
|
120326
120498
|
throw new Error('Erro interno: Grid ainda não inicializado.');
|
|
120327
120499
|
}
|
|
120328
120500
|
this._gridOptions.api.refreshServerSide({ purge: true });
|
|
120329
120501
|
this._options.onRefresh();
|
|
120502
|
+
if (scrollToSelectedRow)
|
|
120503
|
+
this.scrollToSelectedRow();
|
|
120504
|
+
}
|
|
120505
|
+
scrollToSelectedRow() {
|
|
120506
|
+
const rowNode = this._gridOptions.api.getSelectedNodes();
|
|
120507
|
+
if (!rowNode || rowNode.length === 0)
|
|
120508
|
+
return;
|
|
120509
|
+
if (this._gridShowDom) {
|
|
120510
|
+
this._gridOptions.api.ensureNodeVisible(rowNode[0]);
|
|
120511
|
+
}
|
|
120512
|
+
else {
|
|
120513
|
+
this.peddingExecutionsOnGridShow.push(() => this._gridOptions.api.ensureNodeVisible(rowNode[0]));
|
|
120514
|
+
}
|
|
120330
120515
|
}
|
|
120331
120516
|
focusOnGridContainer() {
|
|
120332
120517
|
this._container.setAttribute('tabindex', '-1');
|
|
@@ -120345,6 +120530,14 @@ class AgGridController {
|
|
|
120345
120530
|
var _a;
|
|
120346
120531
|
(_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.setAutoFocus(autoFocus);
|
|
120347
120532
|
}
|
|
120533
|
+
setEnableGridInsert(enable) {
|
|
120534
|
+
var _a;
|
|
120535
|
+
(_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.setEnableGridInsert(enable);
|
|
120536
|
+
}
|
|
120537
|
+
setEnableContinuousInsert(enable) {
|
|
120538
|
+
var _a;
|
|
120539
|
+
(_a = this._editionManager) === null || _a === void 0 ? void 0 : _a.setEnableContinuousInsert(enable);
|
|
120540
|
+
}
|
|
120348
120541
|
setFocusFirstRow() {
|
|
120349
120542
|
const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
|
|
120350
120543
|
if (firstRow) {
|
|
@@ -120360,9 +120553,38 @@ class AgGridController {
|
|
|
120360
120553
|
this.setFocusOnRow(lastRow.rowIndex);
|
|
120361
120554
|
}
|
|
120362
120555
|
}
|
|
120556
|
+
startEditionOnRowByIndex(rowIndex) {
|
|
120557
|
+
const firstCol = this.getFirstEditableColl(rowIndex);
|
|
120558
|
+
this.focusByCollAndRow(firstCol, rowIndex);
|
|
120559
|
+
this.startEdition(rowIndex, firstCol);
|
|
120560
|
+
}
|
|
120561
|
+
startEdition(rowIndex, firstCol) {
|
|
120562
|
+
this._gridOptions.api.clearRangeSelection();
|
|
120563
|
+
this._gridOptions.api.addCellRange({ rowStartIndex: rowIndex, rowEndIndex: rowIndex, columns: [firstCol] });
|
|
120564
|
+
this._gridOptions.api.setFocusedCell(rowIndex, firstCol);
|
|
120565
|
+
this._gridOptions.api.startEditingCell({ rowIndex, colKey: firstCol });
|
|
120566
|
+
const cellEditor = this._gridOptions.api.getCellEditorInstances()[0];
|
|
120567
|
+
if (cellEditor) {
|
|
120568
|
+
cellEditor.focusIn();
|
|
120569
|
+
}
|
|
120570
|
+
}
|
|
120571
|
+
getFirstEditableColl(rowIndex) {
|
|
120572
|
+
const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
120573
|
+
return displayedColumns.find(column => this.isColumnEditable(rowIndex, column));
|
|
120574
|
+
}
|
|
120575
|
+
isColumnEditable(rowIndex, column) {
|
|
120576
|
+
if (column.getColDef().headerName === '' || rowIndex === -1)
|
|
120577
|
+
return false;
|
|
120578
|
+
const rowId = this._dataUnit.records[rowIndex][this._idAttribName];
|
|
120579
|
+
const rowNode = this._gridOptions.api.getRowNode(rowId);
|
|
120580
|
+
return column.isCellEditable(rowNode);
|
|
120581
|
+
}
|
|
120363
120582
|
setFocusOnRow(rowIndex) {
|
|
120364
120583
|
let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
|
|
120365
|
-
let
|
|
120584
|
+
let firstColl = displayedColumns.find(column => column.getColDef().headerName !== '');
|
|
120585
|
+
this.focusByCollAndRow(firstColl, rowIndex);
|
|
120586
|
+
}
|
|
120587
|
+
focusByCollAndRow(firstCell, rowIndex) {
|
|
120366
120588
|
this._gridOptions.api.ensureColumnVisible(firstCell);
|
|
120367
120589
|
this._gridOptions.api.ensureIndexVisible(rowIndex);
|
|
120368
120590
|
this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
|
|
@@ -120742,6 +120964,15 @@ class AgGridController {
|
|
|
120742
120964
|
this._editionManager.setCellRenders(customRenders);
|
|
120743
120965
|
(_a = this._gridOptions) === null || _a === void 0 ? void 0 : _a.api.redrawRows();
|
|
120744
120966
|
}
|
|
120967
|
+
clearInvalidCells(action) {
|
|
120968
|
+
if (!this._editionManager)
|
|
120969
|
+
return;
|
|
120970
|
+
this._editionManager.clearInvalidCells(action);
|
|
120971
|
+
this._gridOptions.api.refreshCells({ force: true });
|
|
120972
|
+
}
|
|
120973
|
+
destroy() {
|
|
120974
|
+
this.observer.disconnect();
|
|
120975
|
+
}
|
|
120745
120976
|
}
|
|
120746
120977
|
|
|
120747
120978
|
function enableSelectAll(total) {
|
|
@@ -120988,6 +121219,8 @@ const EzGrid = class {
|
|
|
120988
121219
|
this.recordsValidator = undefined;
|
|
120989
121220
|
this.canEdit = true;
|
|
120990
121221
|
this.autoFocus = true;
|
|
121222
|
+
this.enableGridInsert = false;
|
|
121223
|
+
this.enableContinuousInsert = true;
|
|
120991
121224
|
}
|
|
120992
121225
|
/**
|
|
120993
121226
|
* Aplica a definição de colunas.
|
|
@@ -121314,6 +121547,8 @@ const EzGrid = class {
|
|
|
121314
121547
|
editionIsDisabled: () => !this.canEdit,
|
|
121315
121548
|
customFormatters: this._customFormatters,
|
|
121316
121549
|
autoFocus: this.autoFocus,
|
|
121550
|
+
enableGridInsert: this.enableGridInsert,
|
|
121551
|
+
enableContinuousInsert: this.enableContinuousInsert,
|
|
121317
121552
|
onRefresh: () => {
|
|
121318
121553
|
if (this.dataUnit) {
|
|
121319
121554
|
this.setSelection(this.dataUnit.getSelectionInfo());
|
|
@@ -121406,6 +121641,8 @@ const EzGrid = class {
|
|
|
121406
121641
|
}
|
|
121407
121642
|
componentDidUpdate() {
|
|
121408
121643
|
this._gridController.setAutoFocus(this.autoFocus);
|
|
121644
|
+
this._gridController.setEnableGridInsert(this.enableGridInsert);
|
|
121645
|
+
this._gridController.setEnableContinuousInsert(this.enableContinuousInsert);
|
|
121409
121646
|
if (this.dataUnit) {
|
|
121410
121647
|
this.setSelection(this.dataUnit.getSelectionInfo());
|
|
121411
121648
|
}
|
package/dist/cjs/ezui.cjs.js
CHANGED
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"ez-grid.cjs\",[[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\"],\"autoFocus\":[4,\"auto-focus\"],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[64],\"addColumnMenuItem\":[64],\"setColumnsState\":[64],\"setData\":[64],\"getSelection\":[64],\"getColumnsState\":[64],\"getColumns\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"refreshSelectedRows\":[64],\"getCustomValueFormatter\":[64],\"setFocus\":[64]},[[0,\"ezSelectionChange\",\"onSelectionChange\"]]]]],[\"ez-guide-navigator.cjs\",[[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.cjs\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-sidebar-navigator.cjs\",[[1,\"ez-sidebar-navigator\",{\"type\":[1],\"mode\":[1025],\"size\":[1],\"isResponsive\":[4,\"is-responsive\"],\"titleMenu\":[1,\"title-menu\"],\"showCollapseMenu\":[4,\"show-collapse-menu\"],\"showFixedButton\":[4,\"show-fixed-button\"],\"open\":[32],\"changeModeMenu\":[64],\"closeSidebar\":[64],\"openSidebar\":[64]}]]],[\"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],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-breadcrumb.cjs\",[[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.cjs\",[[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.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\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-split-button.cjs\",[[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.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip.cjs\",[[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.cjs\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application.cjs\",[[0,\"ez-application\"]]],[\"ez-chart.cjs\",[[1,\"ez-chart\",{\"type\":[1],\"xAxis\":[16],\"yAxis\":[16],\"chartTitle\":[1,\"chart-title\"],\"chartSubTitle\":[1,\"chart-sub-title\"],\"legendEnabled\":[4,\"legend-enabled\"],\"series\":[16],\"width\":[2],\"height\":[2]}]]],[\"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],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-popup.cjs\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"],\"enabledScroll\":[4,\"enabled-scroll\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton.cjs\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"rebuildLayout\":[64]}]]],[\"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-tabselector.cjs\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree.cjs\",[[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\"]]]]],[\"ez-multi-selection-list.cjs\",[[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]}]]],[\"ez-collapsible-box.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-popover.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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-date-input.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area.cjs\",[[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.cjs\",[[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-card-item_3.cjs\",[[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-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],\"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\"],\"fromGrid\":[4,\"from-grid\"],\"_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.cjs\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[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]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-custom-form-input_2.cjs\",[[2,\"ez-custom-form-input\",{\"customEditor\":[16],\"formViewField\":[16],\"value\":[1032],\"detailContext\":[1,\"detail-context\"],\"builderFallback\":[16],\"selectedRecord\":[16],\"gui\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}],[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"_fieldsProps\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"filter-column.cjs\",[[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-scroller_2.cjs\",[[1,\"ez-sidebar-button\"],[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\"]]]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"ez-grid.cjs\",[[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\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"enableContinuousInsert\":[4,\"enable-continuous-insert\"],\"_paginationInfo\":[32],\"_paginationChangedByKeyboard\":[32],\"_showSelectionCounter\":[32],\"_isAllSelection\":[32],\"_currentPageSelected\":[32],\"_selectionCount\":[32],\"_hasLeftButtons\":[32],\"_customFormatters\":[32],\"setColumnsDef\":[64],\"addColumnMenuItem\":[64],\"setColumnsState\":[64],\"setData\":[64],\"getSelection\":[64],\"getColumnsState\":[64],\"getColumns\":[64],\"quickFilter\":[64],\"locateColumn\":[64],\"filterColumns\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"refreshSelectedRows\":[64],\"getCustomValueFormatter\":[64],\"setFocus\":[64]},[[0,\"ezSelectionChange\",\"onSelectionChange\"]]]]],[\"ez-guide-navigator.cjs\",[[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.cjs\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-sidebar-navigator.cjs\",[[1,\"ez-sidebar-navigator\",{\"type\":[1],\"mode\":[1025],\"size\":[1],\"isResponsive\":[4,\"is-responsive\"],\"titleMenu\":[1,\"title-menu\"],\"showCollapseMenu\":[4,\"show-collapse-menu\"],\"showFixedButton\":[4,\"show-fixed-button\"],\"open\":[32],\"changeModeMenu\":[64],\"closeSidebar\":[64],\"openSidebar\":[64]}]]],[\"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],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-breadcrumb.cjs\",[[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.cjs\",[[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.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\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-split-button.cjs\",[[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.cjs\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert.cjs\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge.cjs\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip.cjs\",[[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.cjs\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application.cjs\",[[0,\"ez-application\"]]],[\"ez-chart.cjs\",[[1,\"ez-chart\",{\"type\":[1],\"xAxis\":[16],\"yAxis\":[16],\"chartTitle\":[1,\"chart-title\"],\"chartSubTitle\":[1,\"chart-sub-title\"],\"legendEnabled\":[4,\"legend-enabled\"],\"series\":[16],\"width\":[2],\"height\":[2]}]]],[\"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],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-popup.cjs\",[[1,\"ez-popup\",{\"size\":[1],\"opened\":[1540],\"useHeader\":[516,\"use-header\"],\"heightMode\":[513,\"height-mode\"],\"ezTitle\":[1,\"ez-title\"],\"enabledScroll\":[4,\"enabled-scroll\"]}]]],[\"ez-radio-button.cjs\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton.cjs\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel.cjs\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"rebuildLayout\":[64]}]]],[\"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-tabselector.cjs\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree.cjs\",[[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\"]]]]],[\"ez-multi-selection-list.cjs\",[[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]}]]],[\"ez-collapsible-box.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-popover.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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-date-input.cjs\",[[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.cjs\",[[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.cjs\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area.cjs\",[[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.cjs\",[[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-card-item_3.cjs\",[[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-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],\"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\"],\"fromGrid\":[4,\"from-grid\"],\"_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.cjs\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[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]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-custom-form-input_2.cjs\",[[2,\"ez-custom-form-input\",{\"customEditor\":[16],\"formViewField\":[16],\"value\":[1032],\"detailContext\":[1,\"detail-context\"],\"builderFallback\":[16],\"selectedRecord\":[16],\"gui\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}],[1,\"ez-text-edit\",{\"value\":[1],\"styled\":[16],\"_newValue\":[32],\"applyFocusSelect\":[64]}]]],[\"ez-form-view.cjs\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-form.cjs\",[[2,\"ez-form\",{\"dataUnit\":[1040],\"config\":[16],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"onlyStaticFields\":[4,\"only-static-fields\"],\"_fieldsProps\":[32],\"validate\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"filter-column.cjs\",[[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-scroller_2.cjs\",[[1,\"ez-sidebar-button\"],[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\"]]]]]]"), options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|