@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-72698.1 → 0.0.0-bugfix-dev-KB-72911.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/cjs/ez-combo-box.cjs.entry.js +19 -2
  2. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +3 -1
  3. package/dist/cjs/ez-date-input.cjs.entry.js +3 -0
  4. package/dist/cjs/ez-grid.cjs.entry.js +102 -60
  5. package/dist/cjs/ez-search.cjs.entry.js +20 -0
  6. package/dist/cjs/ezui.cjs.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/components/ez-combo-box/ez-combo-box.js +37 -2
  9. package/dist/collection/components/ez-date-input/ez-date-input.js +3 -0
  10. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +3 -1
  11. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +63 -34
  12. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +17 -6
  13. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +22 -24
  14. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +3 -2
  15. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +1 -0
  16. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +1 -0
  17. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +1 -0
  18. package/dist/collection/components/ez-grid/ez-grid.js +2 -1
  19. package/dist/collection/components/ez-search/ez-search.js +38 -0
  20. package/dist/custom-elements/index.js +149 -65
  21. package/dist/esm/ez-combo-box.entry.js +19 -2
  22. package/dist/esm/ez-custom-form-input_2.entry.js +3 -1
  23. package/dist/esm/ez-date-input.entry.js +3 -0
  24. package/dist/esm/ez-grid.entry.js +102 -60
  25. package/dist/esm/ez-search.entry.js +20 -0
  26. package/dist/esm/ezui.js +1 -1
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/ezui/ezui.esm.js +1 -1
  29. package/dist/ezui/p-10820c20.entry.js +1 -0
  30. package/dist/ezui/p-4b819b58.entry.js +1 -0
  31. package/dist/ezui/p-583e6dab.entry.js +1 -0
  32. package/dist/ezui/p-67e87fcf.entry.js +1 -0
  33. package/dist/ezui/{p-d9545f64.entry.js → p-c3c3d640.entry.js} +1 -1
  34. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +5 -0
  35. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +15 -3
  36. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +9 -2
  37. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -0
  38. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +10 -8
  39. package/dist/types/components/ez-search/ez-search.d.ts +7 -0
  40. package/dist/types/components.d.ts +16 -0
  41. package/package.json +1 -1
  42. package/dist/ezui/p-4c799a1b.entry.js +0 -1
  43. package/dist/ezui/p-7922142b.entry.js +0 -1
  44. package/dist/ezui/p-bae4e180.entry.js +0 -1
  45. package/dist/ezui/p-e26f12dd.entry.js +0 -1
@@ -38,6 +38,7 @@ const EzComboBox = class {
38
38
  this.suppressSearch = false;
39
39
  this.optionLoader = undefined;
40
40
  this.suppressEmptyOption = false;
41
+ this.stopPropagateEnterKeyEvent = false;
41
42
  this.canShowError = true;
42
43
  this.mode = "regular";
43
44
  this.hideErrorOnFocusOut = true;
@@ -375,7 +376,6 @@ const EzComboBox = class {
375
376
  this.setInputValue(false);
376
377
  }, this._deboucingTime);
377
378
  }
378
- this.resetOptions();
379
379
  }
380
380
  setInputValue(clearError = true) {
381
381
  const textValue = this.getText();
@@ -464,7 +464,7 @@ const EzComboBox = class {
464
464
  this.showOptions();
465
465
  }
466
466
  else {
467
- this.hideOptions();
467
+ this._preSelection = undefined;
468
468
  this.updateVisibleOptions();
469
469
  }
470
470
  }
@@ -492,21 +492,32 @@ const EzComboBox = class {
492
492
  }
493
493
  switch (event.key) {
494
494
  case "ArrowDown":
495
+ this.showOptions();
495
496
  this.nextOption();
496
497
  event.stopPropagation();
497
498
  break;
498
499
  case "ArrowUp":
500
+ this.showOptions();
499
501
  this.previousOption();
500
502
  event.stopPropagation();
501
503
  break;
502
504
  case "Enter":
505
+ this.handleEventPropagation(event);
503
506
  this.selectCurrentOption();
504
507
  break;
505
508
  case "Escape":
509
+ if (this.isOptionsVisible()) {
510
+ event.stopPropagation();
511
+ }
506
512
  this.cancelPreselection();
513
+ this.resetOptions();
507
514
  break;
508
515
  case "Tab":
509
516
  this._tabPressed = true;
517
+ if (this.isOptionsVisible()) {
518
+ this.selectCurrentOption();
519
+ }
520
+ this.resetOptions();
510
521
  break;
511
522
  }
512
523
  //ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
@@ -515,6 +526,12 @@ const EzComboBox = class {
515
526
  //e o contexto pode reagir (fechar um popup por exemplo).
516
527
  //event.stopPropagation();
517
528
  }
529
+ //O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
530
+ handleEventPropagation(event) {
531
+ if (this._listContainer.hasChildNodes() && this.stopPropagateEnterKeyEvent) {
532
+ event.stopPropagation();
533
+ }
534
+ }
518
535
  onTextInputFocusOutHandler() {
519
536
  if (this.hideErrorOnFocusOut)
520
537
  this.cancelPreselection();
@@ -58,7 +58,9 @@ const EzCustomFormInput = class {
58
58
  this.getContent();
59
59
  }
60
60
  watchSelectedRecord(newValue, oldValue) {
61
- if (newValue['__record__id__'] !== oldValue['__record__id__']) {
61
+ const newRecordId = newValue === null || newValue === void 0 ? void 0 : newValue['__record__id__'];
62
+ const oldRecordId = oldValue === null || oldValue === void 0 ? void 0 : oldValue['__record__id__'];
63
+ if (newRecordId !== oldRecordId) {
62
64
  this.getContent();
63
65
  }
64
66
  }
@@ -92,6 +92,9 @@ const EzDateInput = class {
92
92
  if ((currentValue === null || currentValue === void 0 ? void 0 : currentValue.getTime()) !== (newValueValidated === null || newValueValidated === void 0 ? void 0 : newValueValidated.getTime())) {
93
93
  this.value = newValueValidated;
94
94
  }
95
+ else {
96
+ this._changePending = false;
97
+ }
95
98
  }
96
99
  showCalendar() {
97
100
  this.handleBlur();
@@ -118853,6 +118853,17 @@ class DataSourceInterceptor {
118853
118853
  }
118854
118854
 
118855
118855
  class DataSource {
118856
+ handleDataSaved(action) {
118857
+ this._controller.clearInvalidCells();
118858
+ this.handleRefreshOrReload(action);
118859
+ this._controller.processContinuousInsert();
118860
+ }
118861
+ handleEditionCanceled(action) {
118862
+ if (this._options.enableGridInsert) {
118863
+ this._controller.processEditionCanceled();
118864
+ }
118865
+ this.handleRefreshOrReload(action);
118866
+ }
118856
118867
  handleSavingCanceled(action) {
118857
118868
  var _a, _b, _c, _d;
118858
118869
  if (!((_a = action.payload) === null || _a === void 0 ? void 0 : _a.fields) || !((_b = action.payload) === null || _b === void 0 ? void 0 : _b.recordId))
@@ -118920,10 +118931,8 @@ class DataSource {
118920
118931
  * e callbacks implementados no AgGridController e GridEditionManager.
118921
118932
  */
118922
118933
  setTimeout(() => {
118923
- var _a;
118924
- const newRowIndex = ((_a = this._dataUnit.records) === null || _a === void 0 ? void 0 : _a.length) - 1;
118925
- this._controller.startEditionOnRowByIndex(newRowIndex);
118926
- }, 500);
118934
+ this._controller.startEditionOnLastRow();
118935
+ }, 1000);
118927
118936
  }
118928
118937
  updateLoadedRecords(action) {
118929
118938
  const records = action.payload;
@@ -118977,12 +118986,14 @@ class DataSource {
118977
118986
  }
118978
118987
  break;
118979
118988
  case core.Action.RECORDS_ADDED:
118989
+ case core.Action.RECORDS_COPIED:
118980
118990
  this.handleRecordsAdded();
118981
118991
  break;
118982
118992
  case core.Action.DATA_SAVED:
118993
+ this.handleDataSaved(action);
118994
+ break;
118983
118995
  case core.Action.EDITION_CANCELED:
118984
- this._controller.clearInvalidCells(action.type);
118985
- this.handleRefreshOrReload(action);
118996
+ this.handleEditionCanceled(action);
118986
118997
  break;
118987
118998
  case core.Action.DATA_CHANGED:
118988
118999
  case core.Action.DATA_RESOLVED:
@@ -119459,6 +119470,7 @@ const buildComboBox = ({ required, props, eGridCell }) => {
119459
119470
  mode="slim"
119460
119471
  />`);
119461
119472
  combo.options = options;
119473
+ combo.stopPropagateEnterKeyEvent = true;
119462
119474
  combo.listOptionsPosition = { verticalPosition: 29, bottomLimit: getViewPortHeight(eGridCell), hardPosition: true };
119463
119475
  return combo;
119464
119476
  };
@@ -119491,6 +119503,7 @@ const buildSearch = ({ name, required, readOnly, eGridCell, dataUnit }) => {
119491
119503
  ezSearch.ensureClearButtonVisible = true;
119492
119504
  ezSearch.suppressPreLoad = true;
119493
119505
  ezSearch.listOptionsPosition = { verticalPosition: 29, bottomLimit: getViewPortHeight(eGridCell), hardPosition: true };
119506
+ ezSearch.stopPropagateEnterKeyEvent = true;
119494
119507
  ezSearch.valueGetter = () => ezSearch.getValueAsync();
119495
119508
  return ezSearch;
119496
119509
  };
@@ -119609,9 +119622,10 @@ class EzGridCustomCellEditor extends EzCellEditor {
119609
119622
  this._value = value;
119610
119623
  }
119611
119624
  getValue() {
119612
- if (this._customGui.getValue)
119625
+ var _a, _b;
119626
+ if ((_a = this._customGui) === null || _a === void 0 ? void 0 : _a.getValue)
119613
119627
  return this._customGui.getValue();
119614
- if (this._customGui.hasAttribute('value'))
119628
+ if ((_b = this._customGui) === null || _b === void 0 ? void 0 : _b.hasAttribute('value'))
119615
119629
  return this._customGui.value;
119616
119630
  return this._value;
119617
119631
  }
@@ -119696,7 +119710,7 @@ class EzGridCustomCellRender extends EzCellRender {
119696
119710
  }
119697
119711
 
119698
119712
  class GridEditionManager {
119699
- constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert) {
119713
+ constructor(dataUnit, useEnterLikeTab, recordsValidator, editionIsDisabled, customEditors, customRenders, enableContinuousInsert, enableGridInsert) {
119700
119714
  this._dataUnit = dataUnit;
119701
119715
  this._recordValidationProcessor = new RecordValidationProcessor.RecordValidationProcessor(this._dataUnit, {
119702
119716
  getRequiredFields: () => this.getRequiredFields(),
@@ -119706,6 +119720,7 @@ class GridEditionManager {
119706
119720
  this._useEnterLikeTab = useEnterLikeTab;
119707
119721
  this._editionIsDisabled = editionIsDisabled;
119708
119722
  this._enableContinuousInsert = enableContinuousInsert;
119723
+ this._enableGridInsert = enableGridInsert;
119709
119724
  this._customEditors = customEditors;
119710
119725
  this._customRenders = customRenders;
119711
119726
  }
@@ -119739,7 +119754,7 @@ class GridEditionManager {
119739
119754
  this.saveSuccess();
119740
119755
  return;
119741
119756
  }
119742
- if (!this._isGridEdition || this._dataUnit.hasNewRecord()) {
119757
+ if (!this._isGridEdition) {
119743
119758
  return;
119744
119759
  }
119745
119760
  const currentRercord = this._dataUnit.getSelectedRecord();
@@ -119751,14 +119766,7 @@ class GridEditionManager {
119751
119766
  .validate(true)
119752
119767
  .then(() => {
119753
119768
  this._dataUnit.saveData()
119754
- .then(() => {
119755
- if (this.canContinuousInsert()) {
119756
- this._dataUnit.addRecord();
119757
- }
119758
- else {
119759
- this.saveSuccess();
119760
- }
119761
- })
119769
+ .then(() => this.saveSuccess())
119762
119770
  .catch(reason => this.saveFail(reason));
119763
119771
  })
119764
119772
  .catch(reason => this.saveFail(reason));
@@ -119856,11 +119864,12 @@ class GridEditionManager {
119856
119864
  }
119857
119865
  }
119858
119866
  focusOnCell(cell) {
119867
+ var _a;
119859
119868
  if (cell == undefined) {
119860
119869
  return;
119861
119870
  }
119862
119871
  const { rowIndex, column } = cell;
119863
- this._gridOptions.api.getDisplayedRowAtIndex(rowIndex).setSelected(true, true);
119872
+ (_a = this._gridOptions.api.getDisplayedRowAtIndex(rowIndex)) === null || _a === void 0 ? void 0 : _a.setSelected(true, true);
119864
119873
  this._gridOptions.api.clearRangeSelection();
119865
119874
  this._gridOptions.api.addCellRange({ rowStartIndex: rowIndex, rowEndIndex: rowIndex, columns: [column] });
119866
119875
  this._gridOptions.api.startEditingCell({ colKey: column.getColId(), rowIndex });
@@ -119900,9 +119909,10 @@ class GridEditionManager {
119900
119909
  }
119901
119910
  }
119902
119911
  else {
119912
+ const actualRowIndex = rowIndex;
119903
119913
  rowIndex = rowIndex + 1;
119904
119914
  if (rowIndex >= this._dataUnit.records.length) {
119905
- rowIndex = 0;
119915
+ rowIndex = !this._enableGridInsert ? 0 : actualRowIndex;
119906
119916
  }
119907
119917
  }
119908
119918
  this._targetEditionCell = new TargetEdition(rowIndex, column, true);
@@ -119971,7 +119981,7 @@ class GridEditionManager {
119971
119981
  event.node.setData(Object.assign(Object.assign({}, event.data), { [fieldName]: value }));
119972
119982
  }
119973
119983
  this._isGridEdition = true;
119974
- this._dataUnit.setFieldValue(fieldName, value, [event.data.__record__id__], undefined, true);
119984
+ this._dataUnit.setFieldValue(fieldName, value, [event.data.__record__id__], { suppressCreateNewRecord: true });
119975
119985
  this._lastCellEdited = { rowIndex: event.rowIndex, column: event.column, rowPinned: undefined };
119976
119986
  }
119977
119987
  }
@@ -119987,14 +119997,16 @@ class GridEditionManager {
119987
119997
  getInvalidCell() {
119988
119998
  return this._invalidCell;
119989
119999
  }
119990
- clearInvalidCells(action) {
120000
+ processContinuousInsert() {
120001
+ if (!this.canContinuousInsert())
120002
+ return;
120003
+ this._dataUnit.addRecord();
120004
+ }
120005
+ clearInvalidCells(stopEdition) {
119991
120006
  this._invalidCell = undefined;
119992
- if (action === core.Action.EDITION_CANCELED) {
120007
+ if (stopEdition) {
119993
120008
  this._isGridEdition = false;
119994
120009
  }
119995
- else if (action === core.Action.DATA_SAVED && this.canContinuousInsert()) {
119996
- this._dataUnit.addRecord();
119997
- }
119998
120010
  }
119999
120011
  setEnableContinuousInsert(enable) {
120000
120012
  this._enableContinuousInsert = enable;
@@ -120139,7 +120151,7 @@ class AgGridController {
120139
120151
  this._doubleClickCallBack = options.onDoubleClick;
120140
120152
  this._multipleSelection = options.allowMultipleSelection;
120141
120153
  this._dataUnit = options.dataUnit;
120142
- this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert);
120154
+ this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert);
120143
120155
  this._statusResolver = options.statusResolver;
120144
120156
  if (this._dataUnit) {
120145
120157
  this._dataUnit.sortingProvider = this;
@@ -120579,10 +120591,20 @@ class AgGridController {
120579
120591
  }
120580
120592
  }
120581
120593
  startEditionOnRowByIndex(rowIndex) {
120594
+ this._dataUnit.setSelectionByIndex([rowIndex]);
120582
120595
  const firstCol = this.getFirstEditableColl(rowIndex);
120596
+ if (!firstCol)
120597
+ return;
120583
120598
  this.focusByCollAndRow(firstCol, rowIndex);
120584
120599
  this.startEdition(rowIndex, firstCol);
120585
120600
  }
120601
+ startEditionOnLastRow() {
120602
+ var _a;
120603
+ if (this._gridShowDom) {
120604
+ const newRowIndex = ((_a = this._dataUnit.records) === null || _a === void 0 ? void 0 : _a.length) - 1;
120605
+ this.startEditionOnRowByIndex(newRowIndex);
120606
+ }
120607
+ }
120586
120608
  startEdition(rowIndex, firstCol) {
120587
120609
  this._gridOptions.api.clearRangeSelection();
120588
120610
  this._gridOptions.api.addCellRange({ rowStartIndex: rowIndex, rowEndIndex: rowIndex, columns: [firstCol] });
@@ -120594,8 +120616,13 @@ class AgGridController {
120594
120616
  }
120595
120617
  }
120596
120618
  getFirstEditableColl(rowIndex) {
120597
- const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
120598
- return displayedColumns.find(column => this.isColumnEditable(rowIndex, column));
120619
+ try {
120620
+ const displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
120621
+ return displayedColumns.find(column => this.isColumnEditable(rowIndex, column));
120622
+ }
120623
+ catch (e) {
120624
+ console.warn(e);
120625
+ }
120599
120626
  }
120600
120627
  isColumnEditable(rowIndex, column) {
120601
120628
  if (column.getColDef().headerName === '' || rowIndex === -1)
@@ -120931,35 +120958,40 @@ class AgGridController {
120931
120958
  return false;
120932
120959
  }
120933
120960
  onSelectionChange(event) {
120934
- if (this._selectionChangeCallback) {
120935
- clearTimeout(this._selectionChangeDeboucing);
120936
- this._selectionChangeDeboucing = window.setTimeout(() => {
120937
- this._editionManager.proceedAutoSave();
120938
- if (this._dataUnit) {
120939
- if (event.context.selectionChangeQuietly) {
120940
- const selectionInfo = this._dataUnit;
120941
- this._selectionChangeCallback({
120942
- selection: selectionInfo.records,
120943
- selectionHeaderStatus: this.getSelectionHeaderStatus(),
120944
- });
120945
- }
120946
- else {
120947
- this._dataUnit.updatePageSelection(this._gridOptions.api.getSelectedRows().map((r) => r.__record__id__)).then(selectionInfo => {
120948
- this._selectionChangeCallback({
120949
- selection: selectionInfo.records,
120950
- selectionHeaderStatus: this.getSelectionHeaderStatus(),
120951
- });
120952
- });
120953
- }
120954
- }
120955
- else {
120956
- this._selectionChangeCallback({
120957
- selection: this._gridOptions.api.getSelectedRows(),
120958
- selectionHeaderStatus: this.getSelectionHeaderStatus(),
120959
- });
120960
- }
120961
- }, 0);
120961
+ if (!this._selectionChangeCallback)
120962
+ return;
120963
+ clearTimeout(this._selectionChangeDeboucing);
120964
+ this._selectionChangeDeboucing = window.setTimeout(() => {
120965
+ this.handleExecuteProceedAutosave();
120966
+ this.processBuildSelectionChangeCallback(event);
120967
+ }, 0);
120968
+ }
120969
+ handleExecuteProceedAutosave() {
120970
+ if (this._gridShowDom) {
120971
+ this._editionManager.proceedAutoSave();
120972
+ }
120973
+ }
120974
+ processBuildSelectionChangeCallback(event) {
120975
+ if (this._dataUnit) {
120976
+ this.handleBuildSelectionChangeWithDU(event.context.selectionChangeQuietly);
120977
+ return;
120978
+ }
120979
+ this.buildSelectionChangeCallback(this._gridOptions.api.getSelectedRows());
120980
+ }
120981
+ handleBuildSelectionChangeWithDU(quietly) {
120982
+ if (quietly) {
120983
+ this.buildSelectionChangeCallback(this._dataUnit.records);
120984
+ return;
120962
120985
  }
120986
+ this._dataUnit.updatePageSelection(this._gridOptions.api.getSelectedRows()
120987
+ .map((r) => r.__record__id__))
120988
+ .then(selectionInfo => this.buildSelectionChangeCallback(selectionInfo.records));
120989
+ }
120990
+ buildSelectionChangeCallback(records) {
120991
+ this._selectionChangeCallback({
120992
+ selection: records,
120993
+ selectionHeaderStatus: this.getSelectionHeaderStatus(),
120994
+ });
120963
120995
  }
120964
120996
  onRowDoubleClick(evt) {
120965
120997
  if (this._doubleClickCallBack) {
@@ -120971,6 +121003,12 @@ class AgGridController {
120971
121003
  host[attribute] = value;
120972
121004
  }
120973
121005
  }
121006
+ processEditionCanceled() {
121007
+ this.clearInvalidCells(true);
121008
+ if (this._gridShowDom) {
121009
+ this._dataUnit.clearSelection();
121010
+ }
121011
+ }
120974
121012
  setCellEditors(customEditors) {
120975
121013
  var _a;
120976
121014
  if (!this._editionManager) {
@@ -120989,12 +121027,15 @@ class AgGridController {
120989
121027
  this._editionManager.setCellRenders(customRenders);
120990
121028
  (_a = this._gridOptions) === null || _a === void 0 ? void 0 : _a.api.redrawRows();
120991
121029
  }
120992
- clearInvalidCells(action) {
121030
+ clearInvalidCells(stopEdition) {
120993
121031
  if (!this._editionManager)
120994
121032
  return;
120995
- this._editionManager.clearInvalidCells(action);
121033
+ this._editionManager.clearInvalidCells(stopEdition);
120996
121034
  this._gridOptions.api.refreshCells({ force: true });
120997
121035
  }
121036
+ processContinuousInsert() {
121037
+ this._editionManager.processContinuousInsert();
121038
+ }
120998
121039
  destroy() {
120999
121040
  this.observer.disconnect();
121000
121041
  }
@@ -121632,7 +121673,8 @@ const EzGrid = class {
121632
121673
  return this._getActualPageLabel() + this._getRemainingPageLabel();
121633
121674
  }
121634
121675
  _initHeaderOverflowWatcher() {
121635
- this._headerOverflowWatcher = new core.OverflowWatcher(this.buildOverFlowWatcherParams());
121676
+ if (this._refPaginationControl)
121677
+ this._headerOverflowWatcher = new core.OverflowWatcher(this.buildOverFlowWatcherParams());
121636
121678
  }
121637
121679
  buildOverFlowWatcherParams() {
121638
121680
  return {
@@ -39,6 +39,7 @@ const EzSearch = class {
39
39
  this.showSelectedValue = true;
40
40
  this.showOptionValue = true;
41
41
  this.suppressEmptyOption = false;
42
+ this.stopPropagateEnterKeyEvent = false;
42
43
  this.mode = "regular";
43
44
  this.canShowError = true;
44
45
  this.hideErrorOnFocusOut = true;
@@ -213,6 +214,9 @@ const EzSearch = class {
213
214
  getText() {
214
215
  const currentValue = this.getSelectedOption(this._currentValue);
215
216
  const text = this.getFormattedText(currentValue);
217
+ return this.replaceQuotes(text);
218
+ }
219
+ replaceQuotes(text) {
216
220
  if (text == undefined) {
217
221
  return;
218
222
  }
@@ -501,6 +505,15 @@ const EzSearch = class {
501
505
  }
502
506
  this._currentValue = value ? Object.assign(Object.assign({}, value), { value: this.replaceHighlight(value.value), label: this.replaceHighlight(value.label) }) : value;
503
507
  this.value = this._currentValue;
508
+ this.setTextInputValue();
509
+ }
510
+ setTextInputValue() {
511
+ if (this._textInput && (this._textInput.value === null || this._textInput.value === undefined)) {
512
+ if (this.value === undefined || this.value === null)
513
+ return;
514
+ const textValue = (typeof this.value === 'string') ? this.value : this.getFormattedText(this.value);
515
+ this._textInput.value = this.replaceQuotes(textValue);
516
+ }
504
517
  }
505
518
  loadOptionValue(argument) {
506
519
  var _a;
@@ -649,6 +662,7 @@ const EzSearch = class {
649
662
  event.stopPropagation();
650
663
  break;
651
664
  case "Enter":
665
+ this.handleEventPropagation(event);
652
666
  this.selectCurrentOption();
653
667
  break;
654
668
  case "Escape":
@@ -665,6 +679,12 @@ const EzSearch = class {
665
679
  //e o contexto pode reagir (fechar um popup por exemplo).
666
680
  //event.stopPropagation();
667
681
  }
682
+ //O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
683
+ handleEventPropagation(event) {
684
+ if (this._listContainer.hasChildNodes() && this.stopPropagateEnterKeyEvent) {
685
+ event.stopPropagation();
686
+ }
687
+ }
668
688
  onTextInputFocusOutHandler() {
669
689
  if (this.hideErrorOnFocusOut)
670
690
  this.cancelPreselection();
@@ -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\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"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\"],\"compacted\":[4]}]]],[\"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\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"_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\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"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\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"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\"],\"compacted\":[4]}]]],[\"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\"],\"stopPropagateEnterKeyEvent\":[4,\"stop-propagate-enter-key-event\"],\"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\"],\"ensureClearButtonVisible\":[4,\"ensure-clear-button-visible\"],\"suppressPreLoad\":[4,\"suppress-pre-load\"],\"_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;