@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.
Files changed (33) hide show
  1. package/dist/cjs/{RecordValidationProcessor-4c893e04.js → RecordValidationProcessor-10846595.js} +7 -1
  2. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  3. package/dist/cjs/ez-grid.cjs.entry.js +252 -15
  4. package/dist/cjs/ezui.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +106 -4
  7. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +83 -5
  8. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +57 -6
  9. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +1 -0
  10. package/dist/collection/components/ez-grid/ez-grid.js +42 -0
  11. package/dist/collection/utils/form/DataBinder.js +1 -1
  12. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  13. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  14. package/dist/custom-elements/index.js +260 -17
  15. package/dist/esm/{RecordValidationProcessor-b00b8b77.js → RecordValidationProcessor-9c6cc267.js} +7 -1
  16. package/dist/esm/ez-form.entry.js +2 -2
  17. package/dist/esm/ez-grid.entry.js +252 -15
  18. package/dist/esm/ezui.js +1 -1
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/ezui/ezui.esm.js +1 -1
  21. package/dist/ezui/{p-fcf0acce.entry.js → p-4d64a3e4.entry.js} +1 -1
  22. package/dist/ezui/{p-5ee2dc4e.entry.js → p-a9156fef.entry.js} +2 -2
  23. package/dist/ezui/p-f42855b9.js +1 -0
  24. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +32 -4
  25. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +19 -3
  26. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +18 -0
  27. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +13 -2
  28. package/dist/types/components/ez-grid/ez-grid.d.ts +9 -0
  29. package/dist/types/components.d.ts +16 -0
  30. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  31. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/dist/ezui/p-04f24913.js +0 -1
@@ -6,7 +6,7 @@ import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';
7
7
  import { C as CustomEditorSource, a as CustomRenderSource } from './ICustomRender-875b5a40.js';
8
8
  import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE } from './constants-4e0d35b7.js';
9
- import { b as buildFieldMetadata, R as RecordValidationProcessor } from './RecordValidationProcessor-b00b8b77.js';
9
+ import { b as buildFieldMetadata, R as RecordValidationProcessor } from './RecordValidationProcessor-9c6cc267.js';
10
10
 
11
11
  /**
12
12
  * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.1
@@ -118849,6 +118849,73 @@ class DataSourceInterceptor {
118849
118849
  }
118850
118850
 
118851
118851
  class DataSource {
118852
+ handleSavingCanceled(action) {
118853
+ var _a, _b, _c, _d;
118854
+ if (!((_a = action.payload) === null || _a === void 0 ? void 0 : _a.fields) || !((_b = action.payload) === null || _b === void 0 ? void 0 : _b.recordId))
118855
+ return;
118856
+ 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);
118857
+ }
118858
+ handleDataChanged(action) {
118859
+ var _a, _b;
118860
+ if (!this._options.enableGridInsert) {
118861
+ this.handleRefresh(action);
118862
+ return;
118863
+ }
118864
+ this.updateGridRowNodes((_b = (_a = action.payload) === null || _a === void 0 ? void 0 : _a.records) !== null && _b !== void 0 ? _b : []);
118865
+ }
118866
+ /**
118867
+ * Nesse ponto, o registro já se encontra atualizado no DU,
118868
+ * basta então passar seu valor para que a garde possa atualizar sua linha.
118869
+ */
118870
+ updateGridRowNodes(recordIDList) {
118871
+ const recordsToUpdate = recordIDList === null || recordIDList === void 0 ? void 0 : recordIDList.map(id => this.getRecordById(id));
118872
+ this._controller.updateRows(recordsToUpdate);
118873
+ }
118874
+ getRecordById(recordId) {
118875
+ return this._dataUnit.records.find(record => record['__record__id__'] === recordId);
118876
+ }
118877
+ /**
118878
+ * Em caso de necessidade de reload (isWaitingToReload), eh preciso chamar o dataUnit.gotoPage, pois ele aplica tambem a ordenacao dos registros,
118879
+ * enquanto que o _controller.refresh apenas recarrega os dados na ordem que atua.
118880
+ */
118881
+ handleRefreshOrReload(action) {
118882
+ if (this._dataUnit.isWaitingToReload()) {
118883
+ this.handleReload();
118884
+ return;
118885
+ }
118886
+ this.handleRefresh(action);
118887
+ }
118888
+ handleReload() {
118889
+ this._dataUnit.setWaitingToReload(false);
118890
+ this._dataUnit.gotoPage(0);
118891
+ }
118892
+ handleRefresh(action) {
118893
+ if (this.isSilentChange(action)) {
118894
+ return;
118895
+ }
118896
+ this._controller.refresh(action.type === Action.DATA_SAVED);
118897
+ }
118898
+ handleRecordsAdded() {
118899
+ if (this._options.enableGridInsert) {
118900
+ this._controller.refresh();
118901
+ this.focusOnNewRecord();
118902
+ }
118903
+ }
118904
+ focusOnNewRecord() {
118905
+ /**
118906
+ * O SetTimeout eh utilizado pois é preciso aguardar que o novo registro seja renderizado na grade.
118907
+ * Tentamos utilizar a api da grade para adicionar um event listener, porém na versão que utilizamos, não existe
118908
+ * algo que resolva nosso cenário.
118909
+ *
118910
+ * Sugiro no futuro utilizar algo como o applyServerSideTransaction, porém será preciso lidar com os handlers
118911
+ * e callbacks implementados no AgGridController e GridEditionManager.
118912
+ */
118913
+ setTimeout(() => {
118914
+ var _a;
118915
+ const newRowIndex = ((_a = this._dataUnit.records) === null || _a === void 0 ? void 0 : _a.length) - 1;
118916
+ this._controller.startEditionOnRowByIndex(newRowIndex);
118917
+ }, 500);
118918
+ }
118852
118919
  updateLoadedRecords(action) {
118853
118920
  const records = action.payload;
118854
118921
  if ((records === null || records === void 0 ? void 0 : records.length) > 0) {
@@ -118900,15 +118967,20 @@ class DataSource {
118900
118967
  this._options.onPaginationUpdate(this._dataUnit.getPaginationInfo());
118901
118968
  }
118902
118969
  break;
118903
- case Action.RECORDS_REMOVED:
118970
+ case Action.RECORDS_ADDED:
118971
+ this.handleRecordsAdded();
118972
+ break;
118904
118973
  case Action.DATA_SAVED:
118905
118974
  case Action.EDITION_CANCELED:
118975
+ this._controller.clearInvalidCells(action.type);
118976
+ this.handleRefreshOrReload(action);
118977
+ break;
118906
118978
  case Action.DATA_CHANGED:
118907
118979
  case Action.DATA_RESOLVED:
118908
- if (this.isSilentChange(action)) {
118909
- return;
118910
- }
118911
- this._controller.refresh();
118980
+ this.handleDataChanged(action);
118981
+ break;
118982
+ case Action.RECORDS_REMOVED:
118983
+ this.handleRefresh(action);
118912
118984
  break;
118913
118985
  case Action.SELECTION_CHANGED:
118914
118986
  case Action.NEXT_SELECTED:
@@ -118918,6 +118990,9 @@ class DataSource {
118918
118990
  case Action.RECORD_LOADED:
118919
118991
  this.updateLoadedRecords(action);
118920
118992
  break;
118993
+ case Action.SAVING_CANCELED:
118994
+ this.handleSavingCanceled(action);
118995
+ break;
118921
118996
  }
118922
118997
  };
118923
118998
  this._dataUnit = dataUnit;
@@ -118939,6 +119014,9 @@ class DataSource {
118939
119014
  setAutoFocus(autoFocus) {
118940
119015
  this._options.autoFocus = autoFocus;
118941
119016
  }
119017
+ setEnableGridInsert(enable) {
119018
+ this._options.enableGridInsert = enable;
119019
+ }
118942
119020
  getRows(params) {
118943
119021
  if (this.needReload(params)) {
118944
119022
  this._lastLoadingParams = params;
@@ -119600,15 +119678,16 @@ class EzGridCustomCellRender extends EzCellRender {
119600
119678
  }
119601
119679
 
119602
119680
  class GridEditionManager {
119603
- constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders) {
119681
+ constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert) {
119604
119682
  this._dataUnit = dataUnit;
119605
119683
  this._recordValidationProcessor = new RecordValidationProcessor(this._dataUnit, {
119606
119684
  getRequiredFields: () => this.getRequiredFields(),
119607
- markAsInvalid: () => { },
119608
- getMessageForField: () => null
119685
+ markAsInvalid: (invalidField, recordId) => { this.setInvalidCell(invalidField, recordId); },
119686
+ getMessageForField: () => null,
119609
119687
  }, recordsValidator);
119610
119688
  this._useEnterLikeTab = useEnterLikeTab;
119611
119689
  this._editionIsDisabled = editionIsDisabled;
119690
+ this._enableContinuousInsert = enableContinuousInsert;
119612
119691
  this._customEditors = customEditors;
119613
119692
  this._customRenders = customRenders;
119614
119693
  }
@@ -119623,6 +119702,10 @@ class GridEditionManager {
119623
119702
  };
119624
119703
  return options;
119625
119704
  }
119705
+ canContinuousInsert() {
119706
+ var _a;
119707
+ return this._enableContinuousInsert && (this._dataUnit.records.length - 1) === ((_a = this._lastCellEdited) === null || _a === void 0 ? void 0 : _a.rowIndex);
119708
+ }
119626
119709
  proceedAutoSave() {
119627
119710
  if (!this._dataUnit.isDirty()) {
119628
119711
  this.saveSuccess();
@@ -119635,15 +119718,33 @@ class GridEditionManager {
119635
119718
  if (currentRercord == undefined) {
119636
119719
  return;
119637
119720
  }
119721
+ this._invalidCell = undefined;
119638
119722
  this._recordValidationProcessor
119639
- .validate()
119723
+ .validate(true)
119640
119724
  .then(() => {
119641
119725
  this._dataUnit.saveData()
119642
- .then(() => this.saveSuccess())
119726
+ .then(() => {
119727
+ if (this.canContinuousInsert()) {
119728
+ this._dataUnit.addRecord();
119729
+ }
119730
+ else {
119731
+ this.saveSuccess();
119732
+ }
119733
+ })
119643
119734
  .catch(reason => this.saveFail(reason));
119644
119735
  })
119645
119736
  .catch(reason => this.saveFail(reason));
119646
119737
  }
119738
+ async recordValidate() {
119739
+ if (!this._dataUnit.isDirty())
119740
+ return;
119741
+ try {
119742
+ this._invalidCell = undefined;
119743
+ await this._recordValidationProcessor.validate(false);
119744
+ }
119745
+ catch (error) { }
119746
+ this._gridOptions.api.refreshCells({ force: true });
119747
+ }
119647
119748
  navigateByEnterKey(keyboardEvent) {
119648
119749
  const backwards = keyboardEvent.shiftKey;
119649
119750
  if (this._useEnterLikeTab) {
@@ -119852,6 +119953,34 @@ class GridEditionManager {
119852
119953
  setCellRenders(customRenders) {
119853
119954
  this._customRenders = customRenders;
119854
119955
  }
119956
+ setInvalidCell(invalidCell, recordId) {
119957
+ this._invalidCell = { field: invalidCell, recordId };
119958
+ }
119959
+ getInvalidCell() {
119960
+ return this._invalidCell;
119961
+ }
119962
+ clearInvalidCells(action) {
119963
+ this._invalidCell = undefined;
119964
+ if (action === Action.EDITION_CANCELED) {
119965
+ this._isGridEdition = false;
119966
+ }
119967
+ else if (action === Action.DATA_SAVED && this.canContinuousInsert()) {
119968
+ this._dataUnit.addRecord();
119969
+ }
119970
+ }
119971
+ setEnableContinuousInsert(enable) {
119972
+ this._enableContinuousInsert = enable;
119973
+ }
119974
+ hasInvalidField(fieldName, recordId) {
119975
+ if (!this.hasInvalidCell())
119976
+ return false;
119977
+ return this._invalidCell.field.name === fieldName && this._invalidCell.recordId === recordId;
119978
+ }
119979
+ hasInvalidCell() {
119980
+ if (!this._invalidCell || !this._invalidCell.field || !this._invalidCell.recordId)
119981
+ return false;
119982
+ return true;
119983
+ }
119855
119984
  }
119856
119985
  class TargetEdition {
119857
119986
  constructor(rowIndex, column, backwards) {
@@ -119895,6 +120024,8 @@ class AgGridController {
119895
120024
  this._filteredColumns = new Map();
119896
120025
  this._filterColumnleftPosition = 0;
119897
120026
  this._customFormatters = new Map();
120027
+ this._gridShowDom = false;
120028
+ this.peddingExecutionsOnGridShow = [];
119898
120029
  this._enterprise = enterprise;
119899
120030
  }
119900
120031
  getGridConfig() {
@@ -119980,7 +120111,7 @@ class AgGridController {
119980
120111
  this._doubleClickCallBack = options.onDoubleClick;
119981
120112
  this._multipleSelection = options.allowMultipleSelection;
119982
120113
  this._dataUnit = options.dataUnit;
119983
- this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders);
120114
+ this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert);
119984
120115
  this._statusResolver = options.statusResolver;
119985
120116
  if (this._dataUnit) {
119986
120117
  this._dataUnit.sortingProvider = this;
@@ -120000,6 +120131,9 @@ class AgGridController {
120000
120131
  defaultColDef: {
120001
120132
  headerClass: 'ez-grid__cell-header',
120002
120133
  cellClass: 'ez-grid__cell-body',
120134
+ cellClassRules: {
120135
+ 'invalidValue': (params) => this._editionManager.hasInvalidField(params.colDef.field, params.data["__record__id__"]),
120136
+ },
120003
120137
  cellStyle: {
120004
120138
  height: '100%'
120005
120139
  }
@@ -120039,6 +120173,23 @@ class AgGridController {
120039
120173
  }
120040
120174
  this._gridOptions.api.setHeaderHeight(this.getHeaderRowHeight());
120041
120175
  this._customFormatters = options.customFormatters;
120176
+ const observerCallback = (entries) => {
120177
+ entries.forEach(entry => {
120178
+ if (entry.isIntersecting) {
120179
+ this._gridShowDom = true;
120180
+ this.peddingExecutionsOnGridShow.forEach(func => func());
120181
+ this.peddingExecutionsOnGridShow = [];
120182
+ }
120183
+ else {
120184
+ this._gridShowDom = false;
120185
+ }
120186
+ });
120187
+ };
120188
+ this.observer = new IntersectionObserver(observerCallback, {
120189
+ root: null,
120190
+ threshold: 0.1
120191
+ });
120192
+ this.observer.observe(container);
120042
120193
  }
120043
120194
  }
120044
120195
  processFormatterCellCallback(params) {
@@ -120229,10 +120380,16 @@ class AgGridController {
120229
120380
  throw new Error('Erro interno: Grid ainda não inicializado.');
120230
120381
  }
120231
120382
  }
120232
- updateRows() {
120383
+ updateRows(rows) {
120233
120384
  if (this._grid === undefined) {
120234
120385
  throw new Error('Erro interno: Grid ainda não inicializado.');
120235
120386
  }
120387
+ rows === null || rows === void 0 ? void 0 : rows.forEach(row => this.updateRowData(row));
120388
+ }
120389
+ updateRowData(row) {
120390
+ const node = this._gridOptions.api.getRowNode(row[this._idAttribName]);
120391
+ node.setData(Object.assign({}, row));
120392
+ this._editionManager.recordValidate();
120236
120393
  }
120237
120394
  selectAll(quietly = false) {
120238
120395
  try {
@@ -120315,14 +120472,42 @@ class AgGridController {
120315
120472
  });
120316
120473
  r.setData(data);
120317
120474
  });
120475
+ this._gridOptions.api.refreshCells({ force: true });
120476
+ const invalidCell = this._editionManager.getInvalidCell();
120477
+ if (invalidCell) {
120478
+ const rowNode = this._gridOptions.api.getRowNode(invalidCell.recordId);
120479
+ if (rowNode && invalidCell.field) {
120480
+ this.startEdition(rowNode.rowIndex, this._gridOptions.columnApi.getColumn(invalidCell.field.name));
120481
+ }
120482
+ }
120318
120483
  }
120319
120484
  }
120320
- refresh() {
120485
+ savingCanceled(fields, recordId) {
120486
+ const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
120487
+ const rowIndex = this._gridOptions.api.getRowNode(recordId).rowIndex;
120488
+ const columnFocus = displayedColumns.find(column => this.isColumnEditable(rowIndex, column) && fields.find(field => field.name === column.getColId()));
120489
+ this.focusByCollAndRow(columnFocus, rowIndex);
120490
+ this.startEdition(rowIndex, columnFocus);
120491
+ }
120492
+ refresh(scrollToSelectedRow = false) {
120321
120493
  if (this._grid === undefined) {
120322
120494
  throw new Error('Erro interno: Grid ainda não inicializado.');
120323
120495
  }
120324
120496
  this._gridOptions.api.refreshServerSide({ purge: true });
120325
120497
  this._options.onRefresh();
120498
+ if (scrollToSelectedRow)
120499
+ this.scrollToSelectedRow();
120500
+ }
120501
+ scrollToSelectedRow() {
120502
+ const rowNode = this._gridOptions.api.getSelectedNodes();
120503
+ if (!rowNode || rowNode.length === 0)
120504
+ return;
120505
+ if (this._gridShowDom) {
120506
+ this._gridOptions.api.ensureNodeVisible(rowNode[0]);
120507
+ }
120508
+ else {
120509
+ this.peddingExecutionsOnGridShow.push(() => this._gridOptions.api.ensureNodeVisible(rowNode[0]));
120510
+ }
120326
120511
  }
120327
120512
  focusOnGridContainer() {
120328
120513
  this._container.setAttribute('tabindex', '-1');
@@ -120341,6 +120526,14 @@ class AgGridController {
120341
120526
  var _a;
120342
120527
  (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.setAutoFocus(autoFocus);
120343
120528
  }
120529
+ setEnableGridInsert(enable) {
120530
+ var _a;
120531
+ (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.setEnableGridInsert(enable);
120532
+ }
120533
+ setEnableContinuousInsert(enable) {
120534
+ var _a;
120535
+ (_a = this._editionManager) === null || _a === void 0 ? void 0 : _a.setEnableContinuousInsert(enable);
120536
+ }
120344
120537
  setFocusFirstRow() {
120345
120538
  const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
120346
120539
  if (firstRow) {
@@ -120356,9 +120549,38 @@ class AgGridController {
120356
120549
  this.setFocusOnRow(lastRow.rowIndex);
120357
120550
  }
120358
120551
  }
120552
+ startEditionOnRowByIndex(rowIndex) {
120553
+ const firstCol = this.getFirstEditableColl(rowIndex);
120554
+ this.focusByCollAndRow(firstCol, rowIndex);
120555
+ this.startEdition(rowIndex, firstCol);
120556
+ }
120557
+ startEdition(rowIndex, firstCol) {
120558
+ this._gridOptions.api.clearRangeSelection();
120559
+ this._gridOptions.api.addCellRange({ rowStartIndex: rowIndex, rowEndIndex: rowIndex, columns: [firstCol] });
120560
+ this._gridOptions.api.setFocusedCell(rowIndex, firstCol);
120561
+ this._gridOptions.api.startEditingCell({ rowIndex, colKey: firstCol });
120562
+ const cellEditor = this._gridOptions.api.getCellEditorInstances()[0];
120563
+ if (cellEditor) {
120564
+ cellEditor.focusIn();
120565
+ }
120566
+ }
120567
+ getFirstEditableColl(rowIndex) {
120568
+ const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
120569
+ return displayedColumns.find(column => this.isColumnEditable(rowIndex, column));
120570
+ }
120571
+ isColumnEditable(rowIndex, column) {
120572
+ if (column.getColDef().headerName === '' || rowIndex === -1)
120573
+ return false;
120574
+ const rowId = this._dataUnit.records[rowIndex][this._idAttribName];
120575
+ const rowNode = this._gridOptions.api.getRowNode(rowId);
120576
+ return column.isCellEditable(rowNode);
120577
+ }
120359
120578
  setFocusOnRow(rowIndex) {
120360
120579
  let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
120361
- let firstCell = displayedColumns.find(column => column.getColDef().headerName !== '');
120580
+ let firstColl = displayedColumns.find(column => column.getColDef().headerName !== '');
120581
+ this.focusByCollAndRow(firstColl, rowIndex);
120582
+ }
120583
+ focusByCollAndRow(firstCell, rowIndex) {
120362
120584
  this._gridOptions.api.ensureColumnVisible(firstCell);
120363
120585
  this._gridOptions.api.ensureIndexVisible(rowIndex);
120364
120586
  this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
@@ -120738,6 +120960,15 @@ class AgGridController {
120738
120960
  this._editionManager.setCellRenders(customRenders);
120739
120961
  (_a = this._gridOptions) === null || _a === void 0 ? void 0 : _a.api.redrawRows();
120740
120962
  }
120963
+ clearInvalidCells(action) {
120964
+ if (!this._editionManager)
120965
+ return;
120966
+ this._editionManager.clearInvalidCells(action);
120967
+ this._gridOptions.api.refreshCells({ force: true });
120968
+ }
120969
+ destroy() {
120970
+ this.observer.disconnect();
120971
+ }
120741
120972
  }
120742
120973
 
120743
120974
  function enableSelectAll(total) {
@@ -120984,6 +121215,8 @@ const EzGrid = class {
120984
121215
  this.recordsValidator = undefined;
120985
121216
  this.canEdit = true;
120986
121217
  this.autoFocus = true;
121218
+ this.enableGridInsert = false;
121219
+ this.enableContinuousInsert = true;
120987
121220
  }
120988
121221
  /**
120989
121222
  * Aplica a definição de colunas.
@@ -121310,6 +121543,8 @@ const EzGrid = class {
121310
121543
  editionIsDisabled: () => !this.canEdit,
121311
121544
  customFormatters: this._customFormatters,
121312
121545
  autoFocus: this.autoFocus,
121546
+ enableGridInsert: this.enableGridInsert,
121547
+ enableContinuousInsert: this.enableContinuousInsert,
121313
121548
  onRefresh: () => {
121314
121549
  if (this.dataUnit) {
121315
121550
  this.setSelection(this.dataUnit.getSelectionInfo());
@@ -121402,6 +121637,8 @@ const EzGrid = class {
121402
121637
  }
121403
121638
  componentDidUpdate() {
121404
121639
  this._gridController.setAutoFocus(this.autoFocus);
121640
+ this._gridController.setEnableGridInsert(this.enableGridInsert);
121641
+ this._gridController.setEnableContinuousInsert(this.enableContinuousInsert);
121405
121642
  if (this.dataUnit) {
121406
121643
  this.setSelection(this.dataUnit.getSelectionInfo());
121407
121644
  }
package/dist/esm/ezui.js CHANGED
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy(JSON.parse("[[\"ez-grid\",[[6,\"ez-grid\",{\"multipleSelection\":[4,\"multiple-selection\"],\"config\":[1040],\"selectionToastConfig\":[16],\"serverUrl\":[1,\"server-url\"],\"dataUnit\":[16],\"statusResolver\":[16],\"columnfilterDataSource\":[16],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"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\",[[1,\"ez-guide-navigator\",{\"open\":[1540],\"selectedId\":[1537,\"selected-id\"],\"items\":[16],\"tooltipResolver\":[16],\"filterText\":[32],\"disableItem\":[64],\"openGuideNavidator\":[64],\"enableItem\":[64],\"updateItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"selectGuide\":[64],\"getParent\":[64]}]]],[\"ez-alert-list\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-sidebar-navigator\",[[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\",[[1,\"ez-actions-button\",{\"enabled\":[516],\"actions\":[1040],\"size\":[513],\"showLabel\":[516,\"show-label\"],\"displayIcon\":[513,\"display-icon\"],\"checkOption\":[516,\"check-option\"],\"value\":[513],\"isTransparent\":[516,\"is-transparent\"],\"arrowActive\":[516,\"arrow-active\"],\"_selectedAction\":[32],\"hideActions\":[64],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-breadcrumb\",[[1,\"ez-breadcrumb\",{\"items\":[1040],\"fillMode\":[1025,\"fill-mode\"],\"maxItems\":[1026,\"max-items\"],\"positionEllipsis\":[1026,\"position-ellipsis\"],\"visibleItems\":[32],\"hiddenItems\":[32],\"showDropdown\":[32],\"collapseConfigPosition\":[32]}]]],[\"ez-dialog\",[[1,\"ez-dialog\",{\"confirm\":[1028],\"dialogType\":[1025,\"dialog-type\"],\"message\":[1025],\"opened\":[1540],\"personalizedIconPath\":[1025,\"personalized-icon-path\"],\"ezTitle\":[1025,\"ez-title\"],\"beforeClose\":[1040],\"show\":[64]},[[8,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-modal-container\",[[6,\"ez-modal-container\",{\"modalTitle\":[1,\"modal-title\"],\"modalSubTitle\":[1,\"modal-sub-title\"],\"showTitleBar\":[4,\"show-title-bar\"],\"cancelButtonLabel\":[1,\"cancel-button-label\"],\"okButtonLabel\":[1,\"ok-button-label\"],\"cancelButtonStatus\":[1,\"cancel-button-status\"],\"okButtonStatus\":[1,\"ok-button-status\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-split-button\",[[1,\"ez-split-button\",{\"enabled\":[516],\"iconName\":[513,\"icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"show\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-split-item\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application\",[[0,\"ez-application\"]]],[\"ez-chart\",[[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\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-modal\",[[1,\"ez-modal\",{\"modalSize\":[1,\"modal-size\"],\"align\":[1],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-popup\",[[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\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"rebuildLayout\":[64]}]]],[\"ez-toast\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tabselector\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree\",[[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\",[[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\",[[1,\"ez-collapsible-box\",{\"value\":[1540],\"boxBordered\":[4,\"box-bordered\"],\"label\":[513],\"subtitle\":[513],\"headerSize\":[513,\"header-size\"],\"iconPlacement\":[513,\"icon-placement\"],\"headerAlign\":[513,\"header-align\"],\"removable\":[516],\"editable\":[516],\"conditionalSave\":[16],\"_activeEditText\":[32],\"showHide\":[64],\"applyFocusTextEdit\":[64],\"cancelEdition\":[64]}]]],[\"ez-combo-box\",[[1,\"ez-combo-box\",{\"limitCharsToSearch\":[2,\"limit-chars-to-search\"],\"value\":[1537],\"label\":[513],\"enabled\":[516],\"options\":[1040],\"errorMessage\":[1537,\"error-message\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressSearch\":[4,\"suppress-search\"],\"optionLoader\":[16],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-time-input\",[[1,\"ez-time-input\",{\"label\":[513],\"value\":[1026],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-number-input\",[[1,\"ez-number-input\",{\"label\":[1],\"value\":[1538],\"enabled\":[4],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"precision\":[2],\"prettyPrecision\":[2,\"pretty-precision\"],\"mode\":[513],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-popover\",[[1,\"ez-popover\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"innerElement\":[1537,\"inner-element\"],\"overlayType\":[513,\"overlay-type\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64]}]]],[\"ez-list\",[[1,\"ez-list\",{\"dataSource\":[1040],\"listMode\":[1,\"list-mode\"],\"useGroups\":[1540,\"use-groups\"],\"ezDraggable\":[1028,\"ez-draggable\"],\"ezSelectable\":[1028,\"ez-selectable\"],\"itemSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"hoverFeedback\":[1028,\"hover-feedback\"],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-calendar\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-text-input\",[[1,\"ez-text-input\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mask\":[1],\"canShowError\":[516,\"can-show-error\"],\"restrict\":[1],\"mode\":[513],\"noBorder\":[516,\"no-border\"],\"password\":[4],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-date-input\",[[1,\"ez-date-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-date-time-input\",[[1,\"ez-date-time-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-dropdown\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area\",[[1,\"ez-text-area\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"rows\":[1538],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"enableResize\":[516,\"enable-resize\"],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-upload\",[[1,\"ez-upload\",{\"label\":[1],\"subtitle\":[1],\"enabled\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"maxFiles\":[2,\"max-files\"],\"requestHeaders\":[8,\"request-headers\"],\"urlUpload\":[1,\"url-upload\"],\"urlDelete\":[1,\"url-delete\"],\"value\":[1040],\"addFiles\":[64],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-card-item_3\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"ez-filter-input\",{\"label\":[1],\"value\":[1537],\"enabled\":[4],\"errorMessage\":[1537,\"error-message\"],\"restrict\":[1],\"mode\":[513],\"asyncSearch\":[516,\"async-search\"],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"setValue\":[64],\"endSearch\":[64]}],[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"]}]]],[\"ez-search\",[[1,\"ez-search\",{\"value\":[1537],\"label\":[1537],\"enabled\":[1540],\"errorMessage\":[1537,\"error-message\"],\"optionLoader\":[16],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"options\":[1040],\"suppressSearch\":[4,\"suppress-search\"],\"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\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-icon\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-button\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-custom-form-input_2\",[[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\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-form\",[[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\",[[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\",[[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);
17
+ return bootstrapLazy(JSON.parse("[[\"ez-grid\",[[6,\"ez-grid\",{\"multipleSelection\":[4,\"multiple-selection\"],\"config\":[1040],\"selectionToastConfig\":[16],\"serverUrl\":[1,\"server-url\"],\"dataUnit\":[16],\"statusResolver\":[16],\"columnfilterDataSource\":[16],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"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\",[[1,\"ez-guide-navigator\",{\"open\":[1540],\"selectedId\":[1537,\"selected-id\"],\"items\":[16],\"tooltipResolver\":[16],\"filterText\":[32],\"disableItem\":[64],\"openGuideNavidator\":[64],\"enableItem\":[64],\"updateItem\":[64],\"getItem\":[64],\"getCurrentPath\":[64],\"selectGuide\":[64],\"getParent\":[64]}]]],[\"ez-alert-list\",[[1,\"ez-alert-list\",{\"alerts\":[1040],\"enableDragAndDrop\":[516,\"enable-drag-and-drop\"],\"enableExpand\":[516,\"enable-expand\"],\"itemRightSlotBuilder\":[16],\"opened\":[1540],\"expanded\":[1540],\"_container\":[32]}]]],[\"ez-sidebar-navigator\",[[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\",[[1,\"ez-actions-button\",{\"enabled\":[516],\"actions\":[1040],\"size\":[513],\"showLabel\":[516,\"show-label\"],\"displayIcon\":[513,\"display-icon\"],\"checkOption\":[516,\"check-option\"],\"value\":[513],\"isTransparent\":[516,\"is-transparent\"],\"arrowActive\":[516,\"arrow-active\"],\"_selectedAction\":[32],\"hideActions\":[64],\"showActions\":[64],\"isOpened\":[64]}]]],[\"ez-breadcrumb\",[[1,\"ez-breadcrumb\",{\"items\":[1040],\"fillMode\":[1025,\"fill-mode\"],\"maxItems\":[1026,\"max-items\"],\"positionEllipsis\":[1026,\"position-ellipsis\"],\"visibleItems\":[32],\"hiddenItems\":[32],\"showDropdown\":[32],\"collapseConfigPosition\":[32]}]]],[\"ez-dialog\",[[1,\"ez-dialog\",{\"confirm\":[1028],\"dialogType\":[1025,\"dialog-type\"],\"message\":[1025],\"opened\":[1540],\"personalizedIconPath\":[1025,\"personalized-icon-path\"],\"ezTitle\":[1025,\"ez-title\"],\"beforeClose\":[1040],\"show\":[64]},[[8,\"keydown\",\"handleKeyDown\"]]]]],[\"ez-modal-container\",[[6,\"ez-modal-container\",{\"modalTitle\":[1,\"modal-title\"],\"modalSubTitle\":[1,\"modal-sub-title\"],\"showTitleBar\":[4,\"show-title-bar\"],\"cancelButtonLabel\":[1,\"cancel-button-label\"],\"okButtonLabel\":[1,\"ok-button-label\"],\"cancelButtonStatus\":[1,\"cancel-button-status\"],\"okButtonStatus\":[1,\"ok-button-status\"],\"showCloseButton\":[4,\"show-close-button\"]},[[4,\"ezCloseModal\",\"handleEzModalAction\"]]]]],[\"ez-split-button\",[[1,\"ez-split-button\",{\"enabled\":[516],\"iconName\":[513,\"icon-name\"],\"image\":[513],\"items\":[16],\"label\":[513],\"leftTitle\":[513,\"left-title\"],\"rightTitle\":[513,\"right-title\"],\"mode\":[513],\"size\":[513],\"show\":[32],\"setBlur\":[64],\"setLeftButtonFocus\":[64],\"setRightButtonFocus\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-split-item\",[[4,\"ez-split-item\",{\"label\":[1],\"enableExpand\":[516,\"enable-expand\"],\"size\":[1],\"_expanded\":[32]}]]],[\"ez-alert\",[[1,\"ez-alert\",{\"alertType\":[513,\"alert-type\"]}]]],[\"ez-badge\",[[1,\"ez-badge\",{\"size\":[513],\"label\":[513],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"position\":[1040],\"hasSlot\":[32]}]]],[\"ez-chip\",[[1,\"ez-chip\",{\"label\":[513],\"enabled\":[516],\"removePosition\":[513,\"remove-position\"],\"mode\":[513],\"value\":[1540],\"showNativeTooltip\":[4,\"show-native-tooltip\"],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-file-item\",[[1,\"ez-file-item\",{\"canRemove\":[4,\"can-remove\"],\"fileName\":[1,\"file-name\"],\"iconName\":[1,\"icon-name\"],\"fileSize\":[2,\"file-size\"],\"progress\":[2]}]]],[\"ez-application\",[[0,\"ez-application\"]]],[\"ez-chart\",[[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\",[[1,\"ez-loading-bar\",{\"_showLoading\":[32],\"hide\":[64],\"show\":[64]}]]],[\"ez-modal\",[[1,\"ez-modal\",{\"modalSize\":[1,\"modal-size\"],\"align\":[1],\"heightMode\":[1,\"height-mode\"],\"opened\":[1028],\"closeEsc\":[4,\"close-esc\"],\"closeOutsideClick\":[4,\"close-outside-click\"],\"closeOutsideLeave\":[4,\"close-outside-leave\"],\"scrim\":[1]}]]],[\"ez-popup\",[[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\",[[1,\"ez-radio-button\",{\"value\":[1544],\"options\":[1040],\"enabled\":[516],\"label\":[513],\"direction\":[1537]}]]],[\"ez-skeleton\",[[0,\"ez-skeleton\",{\"count\":[2],\"variant\":[1],\"width\":[1],\"height\":[1],\"marginBottom\":[1,\"margin-bottom\"],\"animation\":[1]}]]],[\"ez-split-panel\",[[0,\"ez-split-panel\",{\"direction\":[1],\"anchorToExpand\":[4,\"anchor-to-expand\"],\"rebuildLayout\":[64]}]]],[\"ez-toast\",[[1,\"ez-toast\",{\"message\":[1025],\"fadeTime\":[1026,\"fade-time\"],\"useIcon\":[1028,\"use-icon\"],\"canClose\":[1028,\"can-close\"],\"show\":[64]}]]],[\"ez-view-stack\",[[0,\"ez-view-stack\",{\"show\":[64],\"getSelectedIndex\":[64]}]]],[\"ez-tabselector\",[[1,\"ez-tabselector\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"_processedTabs\":[32],\"goToTab\":[64]}]]],[\"ez-tree\",[[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\",[[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\",[[1,\"ez-collapsible-box\",{\"value\":[1540],\"boxBordered\":[4,\"box-bordered\"],\"label\":[513],\"subtitle\":[513],\"headerSize\":[513,\"header-size\"],\"iconPlacement\":[513,\"icon-placement\"],\"headerAlign\":[513,\"header-align\"],\"removable\":[516],\"editable\":[516],\"conditionalSave\":[16],\"_activeEditText\":[32],\"showHide\":[64],\"applyFocusTextEdit\":[64],\"cancelEdition\":[64]}]]],[\"ez-combo-box\",[[1,\"ez-combo-box\",{\"limitCharsToSearch\":[2,\"limit-chars-to-search\"],\"value\":[1537],\"label\":[513],\"enabled\":[516],\"options\":[1040],\"errorMessage\":[1537,\"error-message\"],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressSearch\":[4,\"suppress-search\"],\"optionLoader\":[16],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"_preSelection\":[32],\"_visibleOptions\":[32],\"_startLoading\":[32],\"_showLoading\":[32],\"_criteria\":[32],\"getValueAsync\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"clearValue\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-time-input\",[[1,\"ez-time-input\",{\"label\":[513],\"value\":[1026],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-number-input\",[[1,\"ez-number-input\",{\"label\":[1],\"value\":[1538],\"enabled\":[4],\"canShowError\":[516,\"can-show-error\"],\"errorMessage\":[1537,\"error-message\"],\"precision\":[2],\"prettyPrecision\":[2,\"pretty-precision\"],\"mode\":[513],\"_value\":[32],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-popover\",[[1,\"ez-popover\",{\"autoClose\":[516,\"auto-close\"],\"boxWidth\":[513,\"box-width\"],\"opened\":[1540],\"innerElement\":[1537,\"inner-element\"],\"overlayType\":[513,\"overlay-type\"],\"updatePosition\":[64],\"show\":[64],\"showUnder\":[64],\"hide\":[64]}]]],[\"ez-list\",[[1,\"ez-list\",{\"dataSource\":[1040],\"listMode\":[1,\"list-mode\"],\"useGroups\":[1540,\"use-groups\"],\"ezDraggable\":[1028,\"ez-draggable\"],\"ezSelectable\":[1028,\"ez-selectable\"],\"itemSlotBuilder\":[1040],\"itemLeftSlotBuilder\":[1040],\"hoverFeedback\":[1028,\"hover-feedback\"],\"_listItems\":[32],\"_listGroupItems\":[32],\"clearHistory\":[64],\"scrollToTop\":[64],\"setSelection\":[64],\"getSelection\":[64],\"getList\":[64],\"removeSelection\":[64]}]]],[\"ez-calendar\",[[1,\"ez-calendar\",{\"value\":[1040],\"floating\":[516],\"time\":[516],\"showSeconds\":[516,\"show-seconds\"],\"show\":[64],\"fitVertical\":[64],\"fitHorizontal\":[64],\"hide\":[64]},[[11,\"scroll\",\"scrollListener\"]]]]],[\"ez-text-input\",[[1,\"ez-text-input\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mask\":[1],\"canShowError\":[516,\"can-show-error\"],\"restrict\":[1],\"mode\":[513],\"noBorder\":[516,\"no-border\"],\"password\":[4],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-date-input\",[[1,\"ez-date-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-date-time-input\",[[1,\"ez-date-time-input\",{\"label\":[513],\"value\":[1040],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"showSeconds\":[516,\"show-seconds\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"getValueAsync\":[64]}]]],[\"ez-dropdown\",[[1,\"ez-dropdown\",{\"items\":[1040],\"value\":[1040],\"itemBuilder\":[16]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"ez-text-area\",[[1,\"ez-text-area\",{\"label\":[513],\"value\":[1537],\"enabled\":[516],\"errorMessage\":[1537,\"error-message\"],\"rows\":[1538],\"canShowError\":[516,\"can-show-error\"],\"mode\":[513],\"enableResize\":[516,\"enable-resize\"],\"appendTextToSelection\":[64],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64]}]]],[\"ez-upload\",[[1,\"ez-upload\",{\"label\":[1],\"subtitle\":[1],\"enabled\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"maxFiles\":[2,\"max-files\"],\"requestHeaders\":[8,\"request-headers\"],\"urlUpload\":[1,\"url-upload\"],\"urlDelete\":[1,\"url-delete\"],\"value\":[1040],\"addFiles\":[64],\"setFocus\":[64],\"setBlur\":[64]}]]],[\"ez-card-item_3\",[[0,\"multi-selection-box-message\",{\"message\":[1]}],[1,\"ez-filter-input\",{\"label\":[1],\"value\":[1537],\"enabled\":[4],\"errorMessage\":[1537,\"error-message\"],\"restrict\":[1],\"mode\":[513],\"asyncSearch\":[516,\"async-search\"],\"canShowError\":[516,\"can-show-error\"],\"setFocus\":[64],\"setBlur\":[64],\"isInvalid\":[64],\"setValue\":[64],\"endSearch\":[64]}],[1,\"ez-card-item\",{\"item\":[16],\"enableKey\":[4,\"enable-key\"]}]]],[\"ez-search\",[[1,\"ez-search\",{\"value\":[1537],\"label\":[1537],\"enabled\":[1540],\"errorMessage\":[1537,\"error-message\"],\"optionLoader\":[16],\"showSelectedValue\":[4,\"show-selected-value\"],\"showOptionValue\":[4,\"show-option-value\"],\"suppressEmptyOption\":[4,\"suppress-empty-option\"],\"mode\":[513],\"canShowError\":[516,\"can-show-error\"],\"hideErrorOnFocusOut\":[4,\"hide-error-on-focus-out\"],\"listOptionsPosition\":[16],\"isTextSearch\":[4,\"is-text-search\"],\"ignoreLimitCharsToSearch\":[4,\"ignore-limit-chars-to-search\"],\"options\":[1040],\"suppressSearch\":[4,\"suppress-search\"],\"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\",[[1,\"ez-check\",{\"label\":[513],\"value\":[1540],\"enabled\":[1540],\"indeterminate\":[1540],\"mode\":[513],\"compact\":[4],\"getMode\":[64],\"setFocus\":[64]}]]],[\"ez-icon\",[[1,\"ez-icon\",{\"size\":[513],\"href\":[513],\"iconName\":[513,\"icon-name\"]}]]],[\"ez-button\",[[1,\"ez-button\",{\"label\":[513],\"enabled\":[516],\"mode\":[513],\"image\":[513],\"iconName\":[513,\"icon-name\"],\"size\":[513],\"setFocus\":[64],\"setBlur\":[64]},[[2,\"click\",\"clickListener\"]]]]],[\"ez-custom-form-input_2\",[[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\",[[2,\"ez-form-view\",{\"fields\":[16],\"selectedRecord\":[16],\"_customEditors\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"ez-form\",[[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\",[[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\",[[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);
18
18
  });