@sankhyalabs/ezui 1.1.113 → 1.1.114

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.
@@ -110061,11 +110061,14 @@ class DataSource {
110061
110061
  class AgGridController {
110062
110062
  constructor(enterprise) {
110063
110063
  this._menuItems = [];
110064
+ this._idAttribName = "__record__id__";
110064
110065
  this._enterprise = enterprise;
110065
110066
  }
110066
110067
  getSort() {
110067
110068
  const sortedColumns = [];
110068
- this._gridOptions.api.getSortModel().forEach(({ colId, sort }) => {
110069
+ this._gridOptions.columnApi.getColumnState()
110070
+ .sort((colA, colB) => colA.sortIndex - colB.sortIndex)
110071
+ .forEach(({ colId, sort }) => {
110069
110072
  if (sort) {
110070
110073
  const field = this._dataUnit.getField(colId);
110071
110074
  const mode = sort === "asc" ? UnitMetadata.SortMode.ASC : UnitMetadata.SortMode.DESC;
@@ -110090,10 +110093,9 @@ class AgGridController {
110090
110093
  this._gridOptions = {
110091
110094
  localeText: gridTerms,
110092
110095
  rowModelType: "serverSide",
110093
- serverSideStoreType: "partial",
110094
110096
  rowSelection: this._multipleSelection ? "multiple" : "single",
110095
110097
  serverSideDatasource: new DataSource(this._dataUnit, this._serverURL),
110096
- getRowNodeId: (params) => params.__record__id__,
110098
+ getRowNodeId: (params) => typeof params === "string" ? params : params[this._idAttribName],
110097
110099
  getMainMenuItems: (params) => {
110098
110100
  const column = params.column;
110099
110101
  const items = [column.isPinned() ? "clearPinned" : "pinLeft", "separator"];
@@ -110103,14 +110105,9 @@ class AgGridController {
110103
110105
  }));
110104
110106
  return items;
110105
110107
  },
110106
- onViewportChanged: (evt) => {
110107
- if (this._gridOptions && this._gridOptions.api && evt && evt.api) {
110108
- if (this._dataUnit.getSelection()) {
110109
- this._dataUnit.getSelection().forEach(id => {
110110
- let node = evt.api.getRowNode(id);
110111
- node.setSelected(true);
110112
- });
110113
- }
110108
+ onViewportChanged: () => {
110109
+ if (this._dataUnit) {
110110
+ this.selectRows(this._dataUnit.getSelection());
110114
110111
  }
110115
110112
  }
110116
110113
  };
@@ -110151,6 +110148,58 @@ class AgGridController {
110151
110148
  }
110152
110149
  this._gridOptions.api.setRowData(data);
110153
110150
  }
110151
+ addRows(rows) {
110152
+ if (this._grid === undefined) {
110153
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110154
+ }
110155
+ this._gridOptions.api.applyServerSideTransaction({ add: rows });
110156
+ }
110157
+ selectRows(rowIds) {
110158
+ if (this._grid === undefined) {
110159
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110160
+ }
110161
+ if (rowIds && rowIds.length > 0) {
110162
+ rowIds.forEach(rowId => {
110163
+ const row = this._gridOptions.api.getRowNode(rowId);
110164
+ if (row) {
110165
+ row.setSelected(true);
110166
+ }
110167
+ });
110168
+ }
110169
+ }
110170
+ removeRows(rowIds) {
110171
+ if (this._grid === undefined) {
110172
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110173
+ }
110174
+ this._gridOptions.api.applyServerSideTransaction({ remove: rowIds });
110175
+ }
110176
+ changeValues(changes, rowIds) {
110177
+ if (this._grid === undefined) {
110178
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110179
+ }
110180
+ if (changes) {
110181
+ let rowNodes;
110182
+ if (rowIds) {
110183
+ rowNodes = [];
110184
+ rowIds.forEach(id => {
110185
+ const rowNode = this._gridOptions.api.getRowNode(id);
110186
+ if (rowNode) {
110187
+ rowNodes.push(rowNode);
110188
+ }
110189
+ });
110190
+ }
110191
+ else {
110192
+ rowNodes = this._gridOptions.api.getSelectedNodes();
110193
+ }
110194
+ rowNodes.forEach(r => {
110195
+ const data = r.data;
110196
+ Object.entries(changes).forEach(([field, value]) => {
110197
+ data[field] = value;
110198
+ });
110199
+ r.setData(data);
110200
+ });
110201
+ }
110202
+ }
110154
110203
  refresh() {
110155
110204
  if (this._grid === undefined) {
110156
110205
  throw new Error("Erro interno: Grid ainda não inicializado.");
@@ -110358,12 +110407,25 @@ class DataUnitBridge {
110358
110407
  this._gridController.setColumnsDef(this.buildColumnDefs(), true);
110359
110408
  break;
110360
110409
  case core.Action.RECORDS_REMOVED:
110361
- case core.Action.EDITION_CANCELED:
110410
+ const { records } = action.payload;
110411
+ this._gridController.removeRows(records);
110412
+ break;
110362
110413
  case core.Action.RECORDS_ADDED:
110363
110414
  case core.Action.RECORDS_COPIED:
110415
+ this._gridController.addRows(action.payload);
110416
+ break;
110417
+ case core.Action.EDITION_CANCELED:
110364
110418
  case core.Action.DATA_SAVED:
110365
110419
  this._gridController.refresh();
110366
110420
  break;
110421
+ case core.Action.SELECTION_CHANGED:
110422
+ const { selection } = action.payload;
110423
+ this._gridController.selectRows(selection);
110424
+ break;
110425
+ case core.Action.DATA_CHANGED:
110426
+ const changes = Object.assign({}, action.payload);
110427
+ delete changes.records;
110428
+ this._gridController.changeValues(changes, action.payload.records);
110367
110429
  }
110368
110430
  }
110369
110431
  buildColumnDefs() {
@@ -11,12 +11,25 @@ export default class DataUnitBridge {
11
11
  this._gridController.setColumnsDef(this.buildColumnDefs(), true);
12
12
  break;
13
13
  case Action.RECORDS_REMOVED:
14
- case Action.EDITION_CANCELED:
14
+ const { records } = action.payload;
15
+ this._gridController.removeRows(records);
16
+ break;
15
17
  case Action.RECORDS_ADDED:
16
18
  case Action.RECORDS_COPIED:
19
+ this._gridController.addRows(action.payload);
20
+ break;
21
+ case Action.EDITION_CANCELED:
17
22
  case Action.DATA_SAVED:
18
23
  this._gridController.refresh();
19
24
  break;
25
+ case Action.SELECTION_CHANGED:
26
+ const { selection } = action.payload;
27
+ this._gridController.selectRows(selection);
28
+ break;
29
+ case Action.DATA_CHANGED:
30
+ const changes = Object.assign({}, action.payload);
31
+ delete changes.records;
32
+ this._gridController.changeValues(changes, action.payload.records);
20
33
  }
21
34
  }
22
35
  buildColumnDefs() {
@@ -8,11 +8,14 @@ import { SortMode, UserInterface } from "@sankhyalabs/core/dist/dataunit/metadat
8
8
  export default class AgGridController {
9
9
  constructor(enterprise) {
10
10
  this._menuItems = [];
11
+ this._idAttribName = "__record__id__";
11
12
  this._enterprise = enterprise;
12
13
  }
13
14
  getSort() {
14
15
  const sortedColumns = [];
15
- this._gridOptions.api.getSortModel().forEach(({ colId, sort }) => {
16
+ this._gridOptions.columnApi.getColumnState()
17
+ .sort((colA, colB) => colA.sortIndex - colB.sortIndex)
18
+ .forEach(({ colId, sort }) => {
16
19
  if (sort) {
17
20
  const field = this._dataUnit.getField(colId);
18
21
  const mode = sort === "asc" ? SortMode.ASC : SortMode.DESC;
@@ -37,10 +40,9 @@ export default class AgGridController {
37
40
  this._gridOptions = {
38
41
  localeText: gridTerms,
39
42
  rowModelType: "serverSide",
40
- serverSideStoreType: "partial",
41
43
  rowSelection: this._multipleSelection ? "multiple" : "single",
42
44
  serverSideDatasource: new DataSource(this._dataUnit, this._serverURL),
43
- getRowNodeId: (params) => params.__record__id__,
45
+ getRowNodeId: (params) => typeof params === "string" ? params : params[this._idAttribName],
44
46
  getMainMenuItems: (params) => {
45
47
  const column = params.column;
46
48
  const items = [column.isPinned() ? "clearPinned" : "pinLeft", "separator"];
@@ -50,14 +52,9 @@ export default class AgGridController {
50
52
  }));
51
53
  return items;
52
54
  },
53
- onViewportChanged: (evt) => {
54
- if (this._gridOptions && this._gridOptions.api && evt && evt.api) {
55
- if (this._dataUnit.getSelection()) {
56
- this._dataUnit.getSelection().forEach(id => {
57
- let node = evt.api.getRowNode(id);
58
- node.setSelected(true);
59
- });
60
- }
55
+ onViewportChanged: () => {
56
+ if (this._dataUnit) {
57
+ this.selectRows(this._dataUnit.getSelection());
61
58
  }
62
59
  }
63
60
  };
@@ -98,6 +95,58 @@ export default class AgGridController {
98
95
  }
99
96
  this._gridOptions.api.setRowData(data);
100
97
  }
98
+ addRows(rows) {
99
+ if (this._grid === undefined) {
100
+ throw new Error("Erro interno: Grid ainda não inicializado.");
101
+ }
102
+ this._gridOptions.api.applyServerSideTransaction({ add: rows });
103
+ }
104
+ selectRows(rowIds) {
105
+ if (this._grid === undefined) {
106
+ throw new Error("Erro interno: Grid ainda não inicializado.");
107
+ }
108
+ if (rowIds && rowIds.length > 0) {
109
+ rowIds.forEach(rowId => {
110
+ const row = this._gridOptions.api.getRowNode(rowId);
111
+ if (row) {
112
+ row.setSelected(true);
113
+ }
114
+ });
115
+ }
116
+ }
117
+ removeRows(rowIds) {
118
+ if (this._grid === undefined) {
119
+ throw new Error("Erro interno: Grid ainda não inicializado.");
120
+ }
121
+ this._gridOptions.api.applyServerSideTransaction({ remove: rowIds });
122
+ }
123
+ changeValues(changes, rowIds) {
124
+ if (this._grid === undefined) {
125
+ throw new Error("Erro interno: Grid ainda não inicializado.");
126
+ }
127
+ if (changes) {
128
+ let rowNodes;
129
+ if (rowIds) {
130
+ rowNodes = [];
131
+ rowIds.forEach(id => {
132
+ const rowNode = this._gridOptions.api.getRowNode(id);
133
+ if (rowNode) {
134
+ rowNodes.push(rowNode);
135
+ }
136
+ });
137
+ }
138
+ else {
139
+ rowNodes = this._gridOptions.api.getSelectedNodes();
140
+ }
141
+ rowNodes.forEach(r => {
142
+ const data = r.data;
143
+ Object.entries(changes).forEach(([field, value]) => {
144
+ data[field] = value;
145
+ });
146
+ r.setData(data);
147
+ });
148
+ }
149
+ }
101
150
  refresh() {
102
151
  if (this._grid === undefined) {
103
152
  throw new Error("Erro interno: Grid ainda não inicializado.");
@@ -111921,11 +111921,14 @@ class DataSource {
111921
111921
  class AgGridController {
111922
111922
  constructor(enterprise) {
111923
111923
  this._menuItems = [];
111924
+ this._idAttribName = "__record__id__";
111924
111925
  this._enterprise = enterprise;
111925
111926
  }
111926
111927
  getSort() {
111927
111928
  const sortedColumns = [];
111928
- this._gridOptions.api.getSortModel().forEach(({ colId, sort }) => {
111929
+ this._gridOptions.columnApi.getColumnState()
111930
+ .sort((colA, colB) => colA.sortIndex - colB.sortIndex)
111931
+ .forEach(({ colId, sort }) => {
111929
111932
  if (sort) {
111930
111933
  const field = this._dataUnit.getField(colId);
111931
111934
  const mode = sort === "asc" ? SortMode.ASC : SortMode.DESC;
@@ -111950,10 +111953,9 @@ class AgGridController {
111950
111953
  this._gridOptions = {
111951
111954
  localeText: gridTerms,
111952
111955
  rowModelType: "serverSide",
111953
- serverSideStoreType: "partial",
111954
111956
  rowSelection: this._multipleSelection ? "multiple" : "single",
111955
111957
  serverSideDatasource: new DataSource(this._dataUnit, this._serverURL),
111956
- getRowNodeId: (params) => params.__record__id__,
111958
+ getRowNodeId: (params) => typeof params === "string" ? params : params[this._idAttribName],
111957
111959
  getMainMenuItems: (params) => {
111958
111960
  const column = params.column;
111959
111961
  const items = [column.isPinned() ? "clearPinned" : "pinLeft", "separator"];
@@ -111963,14 +111965,9 @@ class AgGridController {
111963
111965
  }));
111964
111966
  return items;
111965
111967
  },
111966
- onViewportChanged: (evt) => {
111967
- if (this._gridOptions && this._gridOptions.api && evt && evt.api) {
111968
- if (this._dataUnit.getSelection()) {
111969
- this._dataUnit.getSelection().forEach(id => {
111970
- let node = evt.api.getRowNode(id);
111971
- node.setSelected(true);
111972
- });
111973
- }
111968
+ onViewportChanged: () => {
111969
+ if (this._dataUnit) {
111970
+ this.selectRows(this._dataUnit.getSelection());
111974
111971
  }
111975
111972
  }
111976
111973
  };
@@ -112011,6 +112008,58 @@ class AgGridController {
112011
112008
  }
112012
112009
  this._gridOptions.api.setRowData(data);
112013
112010
  }
112011
+ addRows(rows) {
112012
+ if (this._grid === undefined) {
112013
+ throw new Error("Erro interno: Grid ainda não inicializado.");
112014
+ }
112015
+ this._gridOptions.api.applyServerSideTransaction({ add: rows });
112016
+ }
112017
+ selectRows(rowIds) {
112018
+ if (this._grid === undefined) {
112019
+ throw new Error("Erro interno: Grid ainda não inicializado.");
112020
+ }
112021
+ if (rowIds && rowIds.length > 0) {
112022
+ rowIds.forEach(rowId => {
112023
+ const row = this._gridOptions.api.getRowNode(rowId);
112024
+ if (row) {
112025
+ row.setSelected(true);
112026
+ }
112027
+ });
112028
+ }
112029
+ }
112030
+ removeRows(rowIds) {
112031
+ if (this._grid === undefined) {
112032
+ throw new Error("Erro interno: Grid ainda não inicializado.");
112033
+ }
112034
+ this._gridOptions.api.applyServerSideTransaction({ remove: rowIds });
112035
+ }
112036
+ changeValues(changes, rowIds) {
112037
+ if (this._grid === undefined) {
112038
+ throw new Error("Erro interno: Grid ainda não inicializado.");
112039
+ }
112040
+ if (changes) {
112041
+ let rowNodes;
112042
+ if (rowIds) {
112043
+ rowNodes = [];
112044
+ rowIds.forEach(id => {
112045
+ const rowNode = this._gridOptions.api.getRowNode(id);
112046
+ if (rowNode) {
112047
+ rowNodes.push(rowNode);
112048
+ }
112049
+ });
112050
+ }
112051
+ else {
112052
+ rowNodes = this._gridOptions.api.getSelectedNodes();
112053
+ }
112054
+ rowNodes.forEach(r => {
112055
+ const data = r.data;
112056
+ Object.entries(changes).forEach(([field, value]) => {
112057
+ data[field] = value;
112058
+ });
112059
+ r.setData(data);
112060
+ });
112061
+ }
112062
+ }
112014
112063
  refresh() {
112015
112064
  if (this._grid === undefined) {
112016
112065
  throw new Error("Erro interno: Grid ainda não inicializado.");
@@ -112218,12 +112267,25 @@ class DataUnitBridge {
112218
112267
  this._gridController.setColumnsDef(this.buildColumnDefs(), true);
112219
112268
  break;
112220
112269
  case Action.RECORDS_REMOVED:
112221
- case Action.EDITION_CANCELED:
112270
+ const { records } = action.payload;
112271
+ this._gridController.removeRows(records);
112272
+ break;
112222
112273
  case Action.RECORDS_ADDED:
112223
112274
  case Action.RECORDS_COPIED:
112275
+ this._gridController.addRows(action.payload);
112276
+ break;
112277
+ case Action.EDITION_CANCELED:
112224
112278
  case Action.DATA_SAVED:
112225
112279
  this._gridController.refresh();
112226
112280
  break;
112281
+ case Action.SELECTION_CHANGED:
112282
+ const { selection } = action.payload;
112283
+ this._gridController.selectRows(selection);
112284
+ break;
112285
+ case Action.DATA_CHANGED:
112286
+ const changes = Object.assign({}, action.payload);
112287
+ delete changes.records;
112288
+ this._gridController.changeValues(changes, action.payload.records);
112227
112289
  }
112228
112290
  }
112229
112291
  buildColumnDefs() {
@@ -110057,11 +110057,14 @@ class DataSource {
110057
110057
  class AgGridController {
110058
110058
  constructor(enterprise) {
110059
110059
  this._menuItems = [];
110060
+ this._idAttribName = "__record__id__";
110060
110061
  this._enterprise = enterprise;
110061
110062
  }
110062
110063
  getSort() {
110063
110064
  const sortedColumns = [];
110064
- this._gridOptions.api.getSortModel().forEach(({ colId, sort }) => {
110065
+ this._gridOptions.columnApi.getColumnState()
110066
+ .sort((colA, colB) => colA.sortIndex - colB.sortIndex)
110067
+ .forEach(({ colId, sort }) => {
110065
110068
  if (sort) {
110066
110069
  const field = this._dataUnit.getField(colId);
110067
110070
  const mode = sort === "asc" ? SortMode.ASC : SortMode.DESC;
@@ -110086,10 +110089,9 @@ class AgGridController {
110086
110089
  this._gridOptions = {
110087
110090
  localeText: gridTerms,
110088
110091
  rowModelType: "serverSide",
110089
- serverSideStoreType: "partial",
110090
110092
  rowSelection: this._multipleSelection ? "multiple" : "single",
110091
110093
  serverSideDatasource: new DataSource(this._dataUnit, this._serverURL),
110092
- getRowNodeId: (params) => params.__record__id__,
110094
+ getRowNodeId: (params) => typeof params === "string" ? params : params[this._idAttribName],
110093
110095
  getMainMenuItems: (params) => {
110094
110096
  const column = params.column;
110095
110097
  const items = [column.isPinned() ? "clearPinned" : "pinLeft", "separator"];
@@ -110099,14 +110101,9 @@ class AgGridController {
110099
110101
  }));
110100
110102
  return items;
110101
110103
  },
110102
- onViewportChanged: (evt) => {
110103
- if (this._gridOptions && this._gridOptions.api && evt && evt.api) {
110104
- if (this._dataUnit.getSelection()) {
110105
- this._dataUnit.getSelection().forEach(id => {
110106
- let node = evt.api.getRowNode(id);
110107
- node.setSelected(true);
110108
- });
110109
- }
110104
+ onViewportChanged: () => {
110105
+ if (this._dataUnit) {
110106
+ this.selectRows(this._dataUnit.getSelection());
110110
110107
  }
110111
110108
  }
110112
110109
  };
@@ -110147,6 +110144,58 @@ class AgGridController {
110147
110144
  }
110148
110145
  this._gridOptions.api.setRowData(data);
110149
110146
  }
110147
+ addRows(rows) {
110148
+ if (this._grid === undefined) {
110149
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110150
+ }
110151
+ this._gridOptions.api.applyServerSideTransaction({ add: rows });
110152
+ }
110153
+ selectRows(rowIds) {
110154
+ if (this._grid === undefined) {
110155
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110156
+ }
110157
+ if (rowIds && rowIds.length > 0) {
110158
+ rowIds.forEach(rowId => {
110159
+ const row = this._gridOptions.api.getRowNode(rowId);
110160
+ if (row) {
110161
+ row.setSelected(true);
110162
+ }
110163
+ });
110164
+ }
110165
+ }
110166
+ removeRows(rowIds) {
110167
+ if (this._grid === undefined) {
110168
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110169
+ }
110170
+ this._gridOptions.api.applyServerSideTransaction({ remove: rowIds });
110171
+ }
110172
+ changeValues(changes, rowIds) {
110173
+ if (this._grid === undefined) {
110174
+ throw new Error("Erro interno: Grid ainda não inicializado.");
110175
+ }
110176
+ if (changes) {
110177
+ let rowNodes;
110178
+ if (rowIds) {
110179
+ rowNodes = [];
110180
+ rowIds.forEach(id => {
110181
+ const rowNode = this._gridOptions.api.getRowNode(id);
110182
+ if (rowNode) {
110183
+ rowNodes.push(rowNode);
110184
+ }
110185
+ });
110186
+ }
110187
+ else {
110188
+ rowNodes = this._gridOptions.api.getSelectedNodes();
110189
+ }
110190
+ rowNodes.forEach(r => {
110191
+ const data = r.data;
110192
+ Object.entries(changes).forEach(([field, value]) => {
110193
+ data[field] = value;
110194
+ });
110195
+ r.setData(data);
110196
+ });
110197
+ }
110198
+ }
110150
110199
  refresh() {
110151
110200
  if (this._grid === undefined) {
110152
110201
  throw new Error("Erro interno: Grid ainda não inicializado.");
@@ -110354,12 +110403,25 @@ class DataUnitBridge {
110354
110403
  this._gridController.setColumnsDef(this.buildColumnDefs(), true);
110355
110404
  break;
110356
110405
  case Action.RECORDS_REMOVED:
110357
- case Action.EDITION_CANCELED:
110406
+ const { records } = action.payload;
110407
+ this._gridController.removeRows(records);
110408
+ break;
110358
110409
  case Action.RECORDS_ADDED:
110359
110410
  case Action.RECORDS_COPIED:
110411
+ this._gridController.addRows(action.payload);
110412
+ break;
110413
+ case Action.EDITION_CANCELED:
110360
110414
  case Action.DATA_SAVED:
110361
110415
  this._gridController.refresh();
110362
110416
  break;
110417
+ case Action.SELECTION_CHANGED:
110418
+ const { selection } = action.payload;
110419
+ this._gridController.selectRows(selection);
110420
+ break;
110421
+ case Action.DATA_CHANGED:
110422
+ const changes = Object.assign({}, action.payload);
110423
+ delete changes.records;
110424
+ this._gridController.changeValues(changes, action.payload.records);
110363
110425
  }
110364
110426
  }
110365
110427
  buildColumnDefs() {
@@ -1 +1 @@
1
- import{p as e,b as s}from"./p-89a57641.js";(()=>{const s=import.meta.url,a={};return""!==s&&(a.resourcesUrl=new URL(".",s).href),e(a)})().then((e=>s([["p-a038e7a5",[[6,"ez-grid",{multipleSelection:[4,"multiple-selection"],pageSize:[2,"page-size"],serverUrl:[1,"server-url"],dataUnit:[16],_navigationHasPrevious:[32],_navigationHasNext:[32],_navigationFirstRow:[32],_navigationLastRow:[32],_navigationTotalRows:[32],_popUpVisible:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64]}]]],["p-24ff7d92",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-b8678ee6",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-95fc543c",[[0,"ez-application"]]],["p-542d3d29",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-080045a0",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-502d7e0d",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-9ea5b22e",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],canClose:[1028,"can-close"],show:[64]}]]],["p-363fc3af",[[2,"grid-config",{selectedTab:[1025,"selected-tab"],columns:[1040]}]]],["p-f78c7ec9",[[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}]]],["p-bc2834fa",[[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],canShowError:[516,"can-show-error"],restrict:[1],setFocus:[64],setBlur:[64]}]]],["p-c27495d9",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],setFocus:[64],setBlur:[64]}]]],["p-3a8bf0a8",[[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-fb73f557",[[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"],setFocus:[64],setBlur:[64]}]]],["p-9aecc079",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-31b0e21a",[[1,"select-box",{selectedOption:[1,"selected-option"]}]]],["p-44d4f8d6",[[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"],setFocus:[64],setBlur:[64]}]]],["p-a5f1f9c4",[[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],showHide:[64]}]]],["p-c6f2aa6c",[[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],setSelection:[64],getSelection:[64],getList:[64]}]]],["p-25e87823",[[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],setFocus:[64],setBlur:[64]}]]],["p-f26f6d67",[[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]}]]],["p-73d45b12",[[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513],setFocus:[64],setBlur:[64]}]]],["p-804c118a",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-f3f9c7e6",[[1,"ez-check",{label:[513],value:[1540],enabled:[516],mode:[513],getMode:[64],setFocus:[64]}]]],["p-97f77023",[[1,"ez-tabselector",{selectedIndex:[1538,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1]}]]],["p-65893e25",[[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"],optionLoader:[16],suppressEmptyOption:[4,"suppress-empty-option"],canShowError:[516,"can-show-error"],_preSelection:[32],_visibleOptions:[32],setFocus:[64],setBlur:[64]}]]],["p-59a8448a",[[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}]]],["p-3602ab8c",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-73d3f767",[[0,"test-du"]]]],e)));
1
+ import{p as e,b as s}from"./p-89a57641.js";(()=>{const s=import.meta.url,a={};return""!==s&&(a.resourcesUrl=new URL(".",s).href),e(a)})().then((e=>s([["p-3cd17150",[[6,"ez-grid",{multipleSelection:[4,"multiple-selection"],pageSize:[2,"page-size"],serverUrl:[1,"server-url"],dataUnit:[16],_navigationHasPrevious:[32],_navigationHasNext:[32],_navigationFirstRow:[32],_navigationLastRow:[32],_navigationTotalRows:[32],_popUpVisible:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64]}]]],["p-24ff7d92",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-b8678ee6",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-95fc543c",[[0,"ez-application"]]],["p-542d3d29",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-080045a0",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-502d7e0d",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-9ea5b22e",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],canClose:[1028,"can-close"],show:[64]}]]],["p-363fc3af",[[2,"grid-config",{selectedTab:[1025,"selected-tab"],columns:[1040]}]]],["p-f78c7ec9",[[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}]]],["p-bc2834fa",[[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],canShowError:[516,"can-show-error"],restrict:[1],setFocus:[64],setBlur:[64]}]]],["p-c27495d9",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],setFocus:[64],setBlur:[64]}]]],["p-3a8bf0a8",[[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-fb73f557",[[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"],setFocus:[64],setBlur:[64]}]]],["p-9aecc079",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-31b0e21a",[[1,"select-box",{selectedOption:[1,"selected-option"]}]]],["p-44d4f8d6",[[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"],setFocus:[64],setBlur:[64]}]]],["p-a5f1f9c4",[[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],showHide:[64]}]]],["p-c6f2aa6c",[[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],setSelection:[64],getSelection:[64],getList:[64]}]]],["p-25e87823",[[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],setFocus:[64],setBlur:[64]}]]],["p-f26f6d67",[[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]}]]],["p-73d45b12",[[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513],setFocus:[64],setBlur:[64]}]]],["p-804c118a",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-f3f9c7e6",[[1,"ez-check",{label:[513],value:[1540],enabled:[516],mode:[513],getMode:[64],setFocus:[64]}]]],["p-97f77023",[[1,"ez-tabselector",{selectedIndex:[1538,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1]}]]],["p-65893e25",[[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"],optionLoader:[16],suppressEmptyOption:[4,"suppress-empty-option"],canShowError:[516,"can-show-error"],_preSelection:[32],_visibleOptions:[32],setFocus:[64],setBlur:[64]}]]],["p-59a8448a",[[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}]]],["p-3602ab8c",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-73d3f767",[[0,"test-du"]]]],e)));