@sankhyalabs/ezui 4.1.0 → 4.2.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/{constants-5a75e2f3.js → constants-5d588e38.js} +2 -0
  2. package/dist/cjs/ez-check.cjs.entry.js +12 -1
  3. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-form.cjs.entry.js +64 -36
  6. package/dist/cjs/ez-grid.cjs.entry.js +243 -111
  7. package/dist/cjs/ezui.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/components/ez-check/ez-check.js +14 -1
  10. package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +16 -1
  11. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +72 -15
  12. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +9 -1
  13. package/dist/collection/components/ez-grid/ez-grid.js +163 -94
  14. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +2 -2
  15. package/dist/collection/utils/constants.js +1 -0
  16. package/dist/collection/utils/form/DataBinder.js +47 -30
  17. package/dist/collection/utils/form/FormMetadata.js +17 -6
  18. package/dist/custom-elements/index.js +321 -150
  19. package/dist/esm/constants-76d2e931.js +4 -0
  20. package/dist/esm/ez-check.entry.js +12 -1
  21. package/dist/esm/ez-combo-box.entry.js +1 -1
  22. package/dist/esm/ez-form-view.entry.js +1 -1
  23. package/dist/esm/ez-form.entry.js +64 -36
  24. package/dist/esm/ez-grid.entry.js +243 -111
  25. package/dist/esm/ezui.js +1 -1
  26. package/dist/esm/loader.js +1 -1
  27. package/dist/ezui/ezui.esm.js +1 -1
  28. package/dist/ezui/p-1f841f3c.entry.js +1 -0
  29. package/dist/ezui/{p-468799e1.entry.js → p-8105c967.entry.js} +2 -2
  30. package/dist/ezui/{p-50883460.entry.js → p-878646a0.entry.js} +1 -1
  31. package/dist/ezui/p-a3ce3710.entry.js +1 -0
  32. package/dist/ezui/p-b01e3085.js +1 -0
  33. package/dist/ezui/{p-e748b5d3.entry.js → p-b7ea9791.entry.js} +1 -1
  34. package/dist/types/components/ez-check/ez-check.d.ts +1 -0
  35. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +10 -2
  36. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +5 -2
  37. package/dist/types/components/ez-grid/ez-grid.d.ts +20 -15
  38. package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +2 -1
  39. package/dist/types/utils/constants.d.ts +1 -0
  40. package/dist/types/utils/form/DataBinder.d.ts +3 -2
  41. package/package.json +1 -1
  42. package/dist/esm/constants-ca136201.js +0 -3
  43. package/dist/ezui/p-08f4a048.entry.js +0 -1
  44. package/dist/ezui/p-3f4ae3a3.js +0 -1
  45. package/dist/ezui/p-a323b415.entry.js +0 -1
@@ -1,5 +1,6 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-de655f48.js';
2
2
  import { Action, ObjectUtils as ObjectUtils$1, ApplicationContext, StringUtils as StringUtils$1, UserInterface, NumberUtils as NumberUtils$1, DataType, SortMode, ElementIDUtils, JSUtils } from '@sankhyalabs/core';
3
+ import { A as ALL_RECORD } from './constants-76d2e931.js';
3
4
 
4
5
  /**
5
6
  * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.1
@@ -118937,6 +118938,7 @@ class DataSource {
118937
118938
  this._controller.refresh();
118938
118939
  break;
118939
118940
  case Action.SELECTION_CHANGED:
118941
+ case Action.SELECTION_REMOVED:
118940
118942
  case Action.NEXT_SELECTED:
118941
118943
  case Action.PREVIOUS_SELECTED:
118942
118944
  this.updateSelection();
@@ -118950,7 +118952,14 @@ class DataSource {
118950
118952
  this._dataUnit.subscribe(this.duObserver);
118951
118953
  }
118952
118954
  updateSelection() {
118953
- this._controller.selectRows(this._dataUnit.getSelection());
118955
+ var _a;
118956
+ const selection = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getAllSelection();
118957
+ if ((selection === null || selection === void 0 ? void 0 : selection.length) > 0) {
118958
+ this._controller.selectRows(selection);
118959
+ }
118960
+ else {
118961
+ this._controller.deselectAll();
118962
+ }
118954
118963
  }
118955
118964
  getRows(params) {
118956
118965
  if (this.needReload(params)) {
@@ -119152,7 +119161,7 @@ class AgGridController {
119152
119161
  else {
119153
119162
  this._grid = new Grid(container, this._gridOptions);
119154
119163
  }
119155
- const selection = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getSelection();
119164
+ const selection = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getAllSelection();
119156
119165
  if (selection) {
119157
119166
  this.selectRows(selection);
119158
119167
  }
@@ -119226,30 +119235,72 @@ class AgGridController {
119226
119235
  opt.suppressDragLeaveHidesColumns = true;
119227
119236
  opt.suppressMenuHide = true;
119228
119237
  }
119238
+ isAllRecordSetted(allSelection) {
119239
+ return allSelection === null || allSelection === void 0 ? void 0 : allSelection.some((selectedRecord) => {
119240
+ return selectedRecord.__record__id__ === ALL_RECORD;
119241
+ });
119242
+ }
119229
119243
  getSelectionHeaderStatus() {
119230
119244
  const records = this._dataUnit.records;
119231
119245
  if (records && records.length === 0) {
119232
119246
  return false;
119233
119247
  }
119234
- const selection = this._dataUnit.getSelection();
119235
- if (selection == undefined || selection.length === 0) {
119248
+ const allSelection = this._dataUnit.getAllSelection();
119249
+ if (allSelection == undefined || allSelection.length === 0) {
119236
119250
  return false;
119237
119251
  }
119238
- if (selection.length != records.length) {
119252
+ if (this.isAllRecordSetted(allSelection)) {
119253
+ return true;
119254
+ }
119255
+ if (allSelection.length != records.length) {
119256
+ return undefined;
119257
+ }
119258
+ const selectedRecords = this._dataUnit.getSelectedRecords();
119259
+ if (selectedRecords.length < allSelection.length) {
119239
119260
  return undefined;
119240
119261
  }
119241
119262
  let status = undefined;
119242
119263
  for (let i = 0; i < records.length; i++) {
119243
- const current = selection.includes(records[i].__record__id__);
119264
+ const current = allSelection.some((selectedRecord) => {
119265
+ return selectedRecord.__record__id__ === records[i].__record__id__;
119266
+ });
119244
119267
  if (status != undefined && current !== status) {
119245
- return undefined;
119268
+ return;
119246
119269
  }
119247
119270
  status = current;
119248
119271
  }
119249
119272
  return status;
119250
119273
  }
119251
- updateSelectionForAll(selectAll) {
119252
- this._dataUnit.setSelection(selectAll ? this._dataUnit.records.map(r => r.__record__id__) : []);
119274
+ async updateSelectionForAll(selectAll) {
119275
+ if (this._dataUnit == undefined) {
119276
+ return;
119277
+ }
119278
+ let allSelection = this._dataUnit.getAllSelection();
119279
+ if (allSelection === null || allSelection === void 0 ? void 0 : allSelection.some((sel) => sel.__record__id__ === ALL_RECORD)) {
119280
+ await this._dataUnit.clearSelection();
119281
+ }
119282
+ let updateSelection = [];
119283
+ const records = this._dataUnit.records;
119284
+ const selectedRecords = this._dataUnit.getSelectedRecords();
119285
+ allSelection = this._dataUnit.getAllSelection();
119286
+ if (selectAll && selectedRecords.length < records.length) {
119287
+ updateSelection = records;
119288
+ allSelection.forEach((selectedRecord) => {
119289
+ const recordIds = updateSelection.map((record) => record.__record__id__);
119290
+ if (!recordIds.includes(selectedRecord.__record__id__)) {
119291
+ updateSelection.push(selectedRecord);
119292
+ }
119293
+ });
119294
+ }
119295
+ else {
119296
+ updateSelection = allSelection.filter((selectedRecord) => {
119297
+ return !(records || [])
119298
+ .some((record) => {
119299
+ return record.__record__id__ === selectedRecord.__record__id__;
119300
+ });
119301
+ });
119302
+ }
119303
+ this._dataUnit.setSelection(updateSelection);
119253
119304
  }
119254
119305
  setData(data) {
119255
119306
  if (this._grid === undefined) {
@@ -119273,7 +119324,7 @@ class AgGridController {
119273
119324
  }
119274
119325
  this._gridOptions.api.forEachNode(node => {
119275
119326
  var _a;
119276
- if (rowIds && rowIds.includes(node.id)) {
119327
+ if (rowIds && rowIds.find(row => row.__record__id__ === node.id)) {
119277
119328
  node.setSelected(true);
119278
119329
  (_a = this._gridOptions.api) === null || _a === void 0 ? void 0 : _a.ensureNodeVisible(node);
119279
119330
  }
@@ -119281,10 +119332,7 @@ class AgGridController {
119281
119332
  node.setSelected(false);
119282
119333
  }
119283
119334
  });
119284
- const selectionHeader = this._gridOptions.context.selectionHeader;
119285
- if (selectionHeader) {
119286
- selectionHeader.updateCheckbox();
119287
- }
119335
+ this.updateCheckbox();
119288
119336
  }
119289
119337
  removeRows() {
119290
119338
  if (this._grid === undefined) {
@@ -119379,7 +119427,7 @@ class AgGridController {
119379
119427
  if (this._grid === undefined) {
119380
119428
  throw new Error("Erro interno: Grid ainda não inicializado.");
119381
119429
  }
119382
- const colDef = this._gridOptions.columnApi.getAllColumns();
119430
+ const colDef = this._gridOptions.columnApi.getColumns();
119383
119431
  return colDef.filter(c => ![this.CHECK_BOX_COL_ID, this.STATUS_COL_ID].includes(c.getColId())).map(c => {
119384
119432
  const def = c.getColDef();
119385
119433
  const colDef = { name: def.field, label: def.headerName };
@@ -119397,12 +119445,16 @@ class AgGridController {
119397
119445
  if (this._grid === undefined) {
119398
119446
  throw new Error("Erro interno: Grid ainda não inicializado.");
119399
119447
  }
119448
+ const colDef = this._gridOptions.columnApi.getColumns();
119400
119449
  let columns = this.getColumnsDef();
119401
119450
  let visibleColumns = [];
119451
+ //Existem colunas implícitas que não tem estado, essas colunas são sempre as primeiras.
119452
+ //Como vamos reordenar, precisamos considerar o deslocamento provocado por elas.
119453
+ const columnsOffset = colDef.length - columns.length;
119402
119454
  let sort = [];
119403
119455
  state.forEach((cfgColumn, index) => {
119404
119456
  const colWidth = this.getColumnWidth(cfgColumn);
119405
- this._gridOptions.columnApi.moveColumn(cfgColumn.name, index + 2);
119457
+ this._gridOptions.columnApi.moveColumn(cfgColumn.name, index + columnsOffset);
119406
119458
  this._gridOptions.columnApi.setColumnWidth(cfgColumn.name, colWidth);
119407
119459
  visibleColumns.push(cfgColumn.name);
119408
119460
  if (cfgColumn.ascending !== undefined) {
@@ -119463,6 +119515,19 @@ class AgGridController {
119463
119515
  var _a;
119464
119516
  (_a = this._gridOptions.api.getDisplayedRowAtIndex(index)) === null || _a === void 0 ? void 0 : _a.setSelected(true);
119465
119517
  }
119518
+ deselectAll() {
119519
+ var _a, _b;
119520
+ (_b = (_a = this._gridOptions) === null || _a === void 0 ? void 0 : _a.api) === null || _b === void 0 ? void 0 : _b.deselectAll();
119521
+ this.updateCheckbox();
119522
+ }
119523
+ updateCheckbox() {
119524
+ var _a, _b;
119525
+ const selectionHeader = (_b = (_a = this._gridOptions) === null || _a === void 0 ? void 0 : _a.context) === null || _b === void 0 ? void 0 : _b.selectionHeader;
119526
+ if (selectionHeader == undefined) {
119527
+ return;
119528
+ }
119529
+ selectionHeader.updateCheckbox();
119530
+ }
119466
119531
  buildColDef(source) {
119467
119532
  var _a, _b, _c;
119468
119533
  let tooltip = undefined;
@@ -119621,8 +119686,8 @@ class AgGridController {
119621
119686
  }
119622
119687
 
119623
119688
  const SelectionCounter = (props) => {
119624
- const { selectionCount, total, pageSize, onSelectAll, onSelectPage, onClearAll, onClose } = props;
119625
- const pageSelectedRecords = selectionCount === pageSize;
119689
+ const { selectionCount, selectionPageCount, total, recordsLength, onSelectAll, onSelectPage, onClearAll, onClose } = props;
119690
+ const pageSelectedRecords = selectionPageCount === recordsLength;
119626
119691
  const allSelectedRecords = selectionCount === total;
119627
119692
  return (h("div", Object.assign({ class: "ez-box ez-box--shadow-small" }, getElementID("ezGridSelectionCounter")),
119628
119693
  h("div", { class: "ez-flex ez-flex--align-items-center ez-size-width--full ez-padding-horizontal--medium" },
@@ -119661,10 +119726,12 @@ const EzGrid = class {
119661
119726
  this.configChange = createEvent(this, "configChange", 7);
119662
119727
  this._gridController = new AgGridController(false);
119663
119728
  this._debounceTimer = 500;
119729
+ this._selectionAll = false;
119664
119730
  this._paginationInfo = undefined;
119665
119731
  this._paginationChangedByKeyboard = true;
119666
- this._selectionCount = 0;
119667
119732
  this._showSelectionCounter = false;
119733
+ this._selectionCount = 0;
119734
+ this._selectionPageCount = 0;
119668
119735
  this.multipleSelection = undefined;
119669
119736
  this.config = undefined;
119670
119737
  this.serverUrl = undefined;
@@ -119719,32 +119786,94 @@ const EzGrid = class {
119719
119786
  async quickFilter(term) {
119720
119787
  this._gridController.quickFilter(term);
119721
119788
  }
119789
+ observeConfig(config) {
119790
+ this._gridController.setColumnsState(config.columns);
119791
+ }
119722
119792
  onSelectionChange(evt) {
119723
- var _a, _b, _c;
119724
- (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.setSelection((_c = (_b = evt === null || evt === void 0 ? void 0 : evt.detail) === null || _b === void 0 ? void 0 : _b.selection) === null || _c === void 0 ? void 0 : _c.map((r) => r.__record__id__));
119725
- this.controlSelectionCount();
119793
+ const { selection } = evt === null || evt === void 0 ? void 0 : evt.detail;
119794
+ if (selection == undefined || this.dataUnit == undefined) {
119795
+ return;
119796
+ }
119797
+ if (this.isAllRecordSetted()) {
119798
+ this.updateSelectionPage(selection);
119799
+ return;
119800
+ }
119801
+ this.setSelection(selection);
119802
+ }
119803
+ updateSelectionPage(selection) {
119804
+ if (this._selectionAll) {
119805
+ this._selectionAll = false;
119806
+ }
119807
+ else {
119808
+ this.dataUnit.clearSelection()
119809
+ .then(() => {
119810
+ const records = this.dataUnit.records;
119811
+ const selectionPage = selection.filter((selectedRecord) => {
119812
+ return records.some((record) => {
119813
+ return record.__record__id__ === selectedRecord.__record__id__;
119814
+ });
119815
+ });
119816
+ this._gridController.selectRows(selectionPage);
119817
+ });
119818
+ }
119819
+ }
119820
+ isAllRecordSetted() {
119821
+ var _a;
119822
+ const allSelection = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getAllSelection();
119823
+ return allSelection === null || allSelection === void 0 ? void 0 : allSelection.some((selectedRecord) => {
119824
+ return selectedRecord.__record__id__ === ALL_RECORD;
119825
+ });
119826
+ }
119827
+ setSelection(selection) {
119828
+ if ((selection === null || selection === void 0 ? void 0 : selection.length) > 0) {
119829
+ this.dataUnit.setSelection(selection)
119830
+ .then(this.controlSelectionCounter.bind(this));
119831
+ }
119832
+ else {
119833
+ this.dataUnit.clearSelection()
119834
+ .then(this.controlSelectionCounter.bind(this));
119835
+ }
119836
+ }
119837
+ setAutoSelectAll() {
119838
+ var _a, _b, _c, _d;
119839
+ const { total } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
119840
+ if (total == undefined) {
119841
+ return;
119842
+ }
119843
+ this._selectionCount = total;
119844
+ this._selectionAll = true;
119845
+ this._showSelectionCounter = true;
119846
+ (_b = this._gridController) === null || _b === void 0 ? void 0 : _b.selectRows((_d = (_c = this.dataUnit) === null || _c === void 0 ? void 0 : _c.records) !== null && _d !== void 0 ? _d : []);
119726
119847
  }
119727
- controlSelectionCount() {
119848
+ controlSelectionCounter() {
119849
+ var _a, _b;
119850
+ const allSelection = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getAllSelection();
119851
+ const counter = (_b = allSelection === null || allSelection === void 0 ? void 0 : allSelection.length) !== null && _b !== void 0 ? _b : 0;
119852
+ if (this.isAllRecordSetted()) {
119853
+ this.setAutoSelectAll();
119854
+ return;
119855
+ }
119728
119856
  if (!this.multipleSelection || !this.isPaginationActived()) {
119729
119857
  this._showSelectionCounter = false;
119730
119858
  setTimeout(this.setSelectionCount.bind(this), this._debounceTimer);
119731
119859
  return;
119732
119860
  }
119733
- this.getSelection()
119734
- .then((records) => {
119735
- var _a;
119736
- const counter = (_a = records === null || records === void 0 ? void 0 : records.length) !== null && _a !== void 0 ? _a : 0;
119737
- this._showSelectionCounter = counter > 1;
119738
- if (this._showSelectionCounter) {
119861
+ if (counter > 1) {
119862
+ setTimeout(() => {
119739
119863
  this.setSelectionCount(counter);
119740
- }
119741
- else {
119742
- setTimeout(this.setSelectionCount.bind(this, counter), this._debounceTimer);
119743
- }
119744
- });
119864
+ this._showSelectionCounter = true;
119865
+ }, this._debounceTimer);
119866
+ }
119867
+ else {
119868
+ this._showSelectionCounter = false;
119869
+ setTimeout(this.setSelectionCount.bind(this, counter), this._debounceTimer);
119870
+ }
119745
119871
  }
119746
119872
  setSelectionCount(value = 0) {
119873
+ var _a, _b;
119747
119874
  this._selectionCount = value;
119875
+ const selectPageRecords = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getSelectedRecords();
119876
+ this._selectionPageCount = (_b = selectPageRecords === null || selectPageRecords === void 0 ? void 0 : selectPageRecords.length) !== null && _b !== void 0 ? _b : 0;
119748
119877
  }
119749
119878
  isPaginationActived() {
119750
119879
  var _a;
@@ -119755,60 +119884,23 @@ const EzGrid = class {
119755
119884
  return Math.ceil(total / (lastRecord - firstRecord + 1)) > 1;
119756
119885
  }
119757
119886
  onSelectAllRecords() {
119758
- var _a;
119759
- const { total } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
119760
- if (total == undefined) {
119761
- return;
119762
- }
119763
- this._selectionCount = total;
119887
+ const allRecord = {
119888
+ __record__id__: ALL_RECORD,
119889
+ filter: this.dataUnit.getFilters(),
119890
+ sort: this.dataUnit.getSort()
119891
+ };
119892
+ this.setSelection([allRecord]);
119764
119893
  }
119765
119894
  onSelectPageRecords() {
119766
- this.controlSelectionCount();
119767
- }
119768
- onClearSelectedRecords() {
119769
119895
  var _a;
119770
- (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.selectRows([]);
119896
+ (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.clearSelection().then(() => {
119897
+ var _a, _b, _c;
119898
+ (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.selectRows((_c = (_b = this.dataUnit) === null || _b === void 0 ? void 0 : _b.records) !== null && _c !== void 0 ? _c : []);
119899
+ });
119771
119900
  }
119772
- onColumnStateChange(type, state, info) {
119901
+ onClearSelectedRecords() {
119773
119902
  var _a;
119774
- this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
119775
- if (info.isUserChange) {
119776
- if (type === 'columnMovedEnd' && !info.isElementResize) {
119777
- let newConfig;
119778
- if (this.config) {
119779
- newConfig = { columns: [] };
119780
- state.forEach(columnState => {
119781
- let newConfigColumn = this.config.columns.find(column => column.name === columnState.name);
119782
- if (newConfigColumn) {
119783
- newConfigColumn.width = columnState.width;
119784
- newConfig.columns.push(newConfigColumn);
119785
- }
119786
- });
119787
- }
119788
- else {
119789
- newConfig = this.createConfigFromState(state);
119790
- }
119791
- if (newConfig.columns.length > 0) {
119792
- this.configChange.emit(newConfig);
119793
- }
119794
- }
119795
- else if (type === 'columnResize') {
119796
- if ((_a = info.column) === null || _a === void 0 ? void 0 : _a.colId) {
119797
- let newConfig;
119798
- if (this.config) {
119799
- newConfig = Object.assign({}, this.config);
119800
- }
119801
- else {
119802
- newConfig = this.createConfigFromState(state);
119803
- }
119804
- let newColumn = newConfig.columns.find(column => column.name === info.column.colId);
119805
- if (newColumn) {
119806
- newColumn.customWidth = info.column.actualWidth;
119807
- this.configChange.emit(newConfig);
119808
- }
119809
- }
119810
- }
119811
- }
119903
+ (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.clearSelection();
119812
119904
  }
119813
119905
  createConfigFromState(state) {
119814
119906
  let newConfig = { columns: [] };
@@ -119874,34 +119966,46 @@ const EzGrid = class {
119874
119966
  this._resizeObserver.observe(this._element);
119875
119967
  this.resizeSelectionCounter();
119876
119968
  }
119877
- componentDidLoad() {
119878
- this._gridController.initDatagrid(this._container, {
119879
- onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
119880
- onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
119881
- onPaginationChange: (paginationInfo) => {
119882
- var _a;
119883
- if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
119884
- this._gridController.setFocusLastRow();
119969
+ onColumnStateChange(type, state, info) {
119970
+ var _a;
119971
+ this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
119972
+ if (info.isUserChange) {
119973
+ if (type === 'columnMovedEnd' && !info.isElementResize) {
119974
+ let newConfig;
119975
+ if (this.config) {
119976
+ newConfig = { columns: [] };
119977
+ state.forEach(columnState => {
119978
+ let newConfigColumn = this.config.columns.find(column => column.name === columnState.name);
119979
+ if (newConfigColumn) {
119980
+ newConfigColumn.width = columnState.width;
119981
+ newConfig.columns.push(newConfigColumn);
119982
+ }
119983
+ });
119885
119984
  }
119886
119985
  else {
119887
- this._gridController.setFocusFirstRow();
119888
- this._paginationChangedByKeyboard = true;
119986
+ newConfig = this.createConfigFromState(state);
119889
119987
  }
119890
- this._paginationInfo = paginationInfo;
119891
- },
119892
- onDoubleClick: (row) => {
119893
- this.ezDoubleClick.emit(row);
119894
- },
119895
- allowMultipleSelection: this.multipleSelection,
119896
- serverURL: this.serverUrl,
119897
- dataUnit: this.dataUnit,
119898
- statusResolver: this.statusResolver
119899
- });
119900
- if (this.config) {
119901
- this.observeConfig(this.config);
119988
+ if (newConfig.columns.length > 0) {
119989
+ this.configChange.emit(newConfig);
119990
+ }
119991
+ }
119992
+ else if (type === 'columnResize') {
119993
+ if ((_a = info.column) === null || _a === void 0 ? void 0 : _a.colId) {
119994
+ let newConfig;
119995
+ if (this.config) {
119996
+ newConfig = Object.assign({}, this.config);
119997
+ }
119998
+ else {
119999
+ newConfig = this.createConfigFromState(state);
120000
+ }
120001
+ let newColumn = newConfig.columns.find(column => column.name === info.column.colId);
120002
+ if (newColumn) {
120003
+ newColumn.customWidth = info.column.actualWidth;
120004
+ this.configChange.emit(newConfig);
120005
+ }
120006
+ }
120007
+ }
119902
120008
  }
119903
- this.buildDataElementId();
119904
- this.setEvents();
119905
120009
  }
119906
120010
  buildDataElementId() {
119907
120011
  const dataInfo = { dataUnit: this.dataUnit };
@@ -119932,17 +120036,45 @@ const EzGrid = class {
119932
120036
  }
119933
120037
  return null;
119934
120038
  }
119935
- observeConfig(config) {
119936
- this._gridController.setColumnsState(config.columns);
120039
+ componentDidLoad() {
120040
+ this._gridController.initDatagrid(this._container, {
120041
+ onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
120042
+ onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
120043
+ onPaginationChange: (paginationInfo) => {
120044
+ var _a;
120045
+ if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > (paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.currentPage) && this._paginationChangedByKeyboard) {
120046
+ this._gridController.setFocusLastRow();
120047
+ }
120048
+ else {
120049
+ this._gridController.setFocusFirstRow();
120050
+ this._paginationChangedByKeyboard = true;
120051
+ }
120052
+ this._paginationInfo = paginationInfo;
120053
+ this._gridController.updateCheckbox();
120054
+ this.controlSelectionCounter();
120055
+ },
120056
+ onDoubleClick: (row) => {
120057
+ this.ezDoubleClick.emit(row);
120058
+ },
120059
+ allowMultipleSelection: this.multipleSelection,
120060
+ serverURL: this.serverUrl,
120061
+ dataUnit: this.dataUnit,
120062
+ statusResolver: this.statusResolver
120063
+ });
120064
+ if (this.config) {
120065
+ this.observeConfig(this.config);
120066
+ }
120067
+ this.buildDataElementId();
120068
+ this.setEvents();
119937
120069
  }
119938
120070
  componentWillRender() {
119939
120071
  this.configSelectionCounter();
119940
120072
  }
119941
120073
  render() {
119942
- var _a, _b;
120074
+ var _a, _b, _c;
119943
120075
  return (h(Host, null, h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container", ref: ref => this._refPaginationControl = ref }, this.getPaginationControl())), h("div", { ref: (ref) => this._gridSelectionCounter = ref, class: `grid__selection-counter
119944
120076
  ${this._showSelectionCounter ? "grid__selection-counter--opened" : ""}
119945
- ` }, h(SelectionCounter, { selectionCount: this._selectionCount, total: (_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.total, pageSize: (_b = this.dataUnit) === null || _b === void 0 ? void 0 : _b.pageSize, onSelectAll: this.onSelectAllRecords.bind(this), onSelectPage: this.onSelectPageRecords.bind(this), onClearAll: this.onClearSelectedRecords.bind(this), onClose: () => this._showSelectionCounter = false })), h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), h("div", { class: "grid__footer" })));
120077
+ ` }, h(SelectionCounter, { selectionCount: this._selectionCount, selectionPageCount: this._selectionPageCount, total: (_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.total, recordsLength: (_c = (_b = this.dataUnit) === null || _b === void 0 ? void 0 : _b.records) === null || _c === void 0 ? void 0 : _c.length, onSelectAll: this.onSelectAllRecords.bind(this), onSelectPage: this.onSelectPageRecords.bind(this), onClearAll: this.onClearSelectedRecords.bind(this), onClose: () => this._showSelectionCounter = false })), h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), h("div", { class: "grid__footer" })));
119946
120078
  }
119947
120079
  static get assetsDirs() { return ["../assets"]; }
119948
120080
  get _element() { return getElement(this); }
package/dist/esm/ezui.js CHANGED
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["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],"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"],"show":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_selectionCount":[32],"_showSelectionCounter":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-alert",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"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-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-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-form-view",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["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"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-guide-navigator",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["ez-dropdown",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[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-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],"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],"setFocus":[64],"setBlur":[64],"isInvalid":[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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-filter-input_4",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}],[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[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-form",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
17
+ return bootstrapLazy([["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],"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"],"show":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_selectionCount":[32],"_selectionPageCount":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-alert",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"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-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-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-form-view",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["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"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-guide-navigator",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["ez-dropdown",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[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-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],"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],"setFocus":[64],"setBlur":[64],"isInvalid":[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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-filter-input_4",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}],[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[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-form",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
18
18
  });
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["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],"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"],"show":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_selectionCount":[32],"_showSelectionCounter":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-alert",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"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-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-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-form-view",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["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"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-guide-navigator",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["ez-dropdown",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[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-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],"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],"setFocus":[64],"setBlur":[64],"isInvalid":[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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-filter-input_4",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}],[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[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-form",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
14
+ return bootstrapLazy([["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],"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"],"show":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_selectionCount":[32],"_selectionPageCount":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-alert",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"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-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-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-form-view",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["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"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-guide-navigator",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["ez-dropdown",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[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-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],"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],"setFocus":[64],"setBlur":[64],"isInvalid":[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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["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],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-filter-input_4",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}],[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[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-form",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
15
15
  });
16
16
  };
17
17