@sankhyalabs/ezui 5.22.0-dev.72 → 5.22.0-dev.73

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 (177) hide show
  1. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +2 -2
  16. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-dropdown_2.cjs.entry.js +2 -2
  21. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-form.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-grid.cjs.entry.js +61 -34
  26. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  52. package/dist/cjs/ezui.cjs.js +2 -2
  53. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  54. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +3 -0
  55. package/dist/cjs/loader.cjs.js +2 -2
  56. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +11 -6
  57. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +44 -26
  58. package/dist/collection/components/ez-grid/ez-grid.js +43 -21
  59. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  60. package/dist/custom-elements/index.js +62 -35
  61. package/dist/esm/ez-actions-button.entry.js +1 -1
  62. package/dist/esm/ez-alert-list.entry.js +1 -1
  63. package/dist/esm/ez-alert.entry.js +1 -1
  64. package/dist/esm/ez-application.entry.js +1 -1
  65. package/dist/esm/ez-badge.entry.js +1 -1
  66. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  67. package/dist/esm/ez-button.entry.js +1 -1
  68. package/dist/esm/ez-calendar.entry.js +1 -1
  69. package/dist/esm/ez-card-item_2.entry.js +1 -1
  70. package/dist/esm/ez-chart.entry.js +1 -1
  71. package/dist/esm/ez-check.entry.js +1 -1
  72. package/dist/esm/ez-chip.entry.js +1 -1
  73. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  74. package/dist/esm/ez-combo-box.entry.js +1 -1
  75. package/dist/esm/ez-custom-form-input_2.entry.js +2 -2
  76. package/dist/esm/ez-date-input.entry.js +1 -1
  77. package/dist/esm/ez-date-time-input.entry.js +1 -1
  78. package/dist/esm/ez-dialog.entry.js +1 -1
  79. package/dist/esm/ez-double-list.entry.js +1 -1
  80. package/dist/esm/ez-dropdown_2.entry.js +2 -2
  81. package/dist/esm/ez-file-item.entry.js +1 -1
  82. package/dist/esm/ez-filter-input.entry.js +1 -1
  83. package/dist/esm/ez-form-view.entry.js +1 -1
  84. package/dist/esm/ez-form.entry.js +1 -1
  85. package/dist/esm/ez-grid.entry.js +61 -34
  86. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  87. package/dist/esm/ez-icon.entry.js +1 -1
  88. package/dist/esm/ez-list.entry.js +1 -1
  89. package/dist/esm/ez-loading-bar.entry.js +1 -1
  90. package/dist/esm/ez-modal-container.entry.js +1 -1
  91. package/dist/esm/ez-modal.entry.js +1 -1
  92. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  93. package/dist/esm/ez-number-input.entry.js +1 -1
  94. package/dist/esm/ez-popover.entry.js +1 -1
  95. package/dist/esm/ez-popup.entry.js +1 -1
  96. package/dist/esm/ez-radio-button.entry.js +1 -1
  97. package/dist/esm/ez-scroller_2.entry.js +1 -1
  98. package/dist/esm/ez-search.entry.js +1 -1
  99. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  100. package/dist/esm/ez-split-button.entry.js +1 -1
  101. package/dist/esm/ez-split-item.entry.js +1 -1
  102. package/dist/esm/ez-split-panel.entry.js +1 -1
  103. package/dist/esm/ez-tabselector.entry.js +1 -1
  104. package/dist/esm/ez-text-area.entry.js +1 -1
  105. package/dist/esm/ez-text-input.entry.js +1 -1
  106. package/dist/esm/ez-time-input.entry.js +1 -1
  107. package/dist/esm/ez-toast.entry.js +1 -1
  108. package/dist/esm/ez-tooltip.entry.js +1 -1
  109. package/dist/esm/ez-tree.entry.js +1 -1
  110. package/dist/esm/ez-upload.entry.js +1 -1
  111. package/dist/esm/ez-view-stack.entry.js +1 -1
  112. package/dist/esm/ezui.js +3 -3
  113. package/dist/esm/filter-column.entry.js +1 -1
  114. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +3 -1
  115. package/dist/esm/loader.js +3 -3
  116. package/dist/ezui/ezui.esm.js +1 -1
  117. package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
  118. package/dist/ezui/{p-65f471bc.entry.js → p-03b0ed5a.entry.js} +1 -1
  119. package/dist/ezui/{p-5b205c80.entry.js → p-044d46d5.entry.js} +1 -1
  120. package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
  121. package/dist/ezui/{p-d0ca26fe.entry.js → p-16e21a40.entry.js} +1 -1
  122. package/dist/ezui/{p-b6a4e6de.entry.js → p-18a2a28a.entry.js} +1 -1
  123. package/dist/ezui/{p-8888d9ed.entry.js → p-1b08bf3c.entry.js} +1 -1
  124. package/dist/ezui/{p-7e677b7b.entry.js → p-2069c78a.entry.js} +1 -1
  125. package/dist/ezui/{p-17eabf46.entry.js → p-24b42f3d.entry.js} +1 -1
  126. package/dist/ezui/{p-7409eeaa.entry.js → p-2f53435e.entry.js} +1 -1
  127. package/dist/ezui/{p-181b5ae8.entry.js → p-319d36b7.entry.js} +1 -1
  128. package/dist/ezui/{p-e3e3fd7a.entry.js → p-35d0b2fb.entry.js} +1 -1
  129. package/dist/ezui/{p-7ed30844.entry.js → p-397e3026.entry.js} +1 -1
  130. package/dist/ezui/p-3af64edd.entry.js +1 -0
  131. package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
  132. package/dist/ezui/{p-6d79930d.entry.js → p-554522db.entry.js} +1 -1
  133. package/dist/ezui/{p-16e612fc.entry.js → p-5548c9ab.entry.js} +1 -1
  134. package/dist/ezui/{p-3f2dd525.entry.js → p-5d01d189.entry.js} +1 -1
  135. package/dist/ezui/{p-66924de6.entry.js → p-5d2124a8.entry.js} +1 -1
  136. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  137. package/dist/ezui/{p-fec696ab.entry.js → p-6bda82d1.entry.js} +1 -1
  138. package/dist/ezui/{p-2bb2a0c4.entry.js → p-6d31c43c.entry.js} +1 -1
  139. package/dist/ezui/{p-6cdd3e0a.entry.js → p-6d8b3298.entry.js} +1 -1
  140. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  141. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  142. package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
  143. package/dist/ezui/{p-2475fd6e.entry.js → p-7d3c9486.entry.js} +1 -1
  144. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  145. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  146. package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
  147. package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
  148. package/dist/ezui/{p-990b4318.entry.js → p-a921e3e7.entry.js} +1 -1
  149. package/dist/ezui/{p-50d83a46.entry.js → p-aa543378.entry.js} +1 -1
  150. package/dist/ezui/{p-654b3f99.entry.js → p-aee8d615.entry.js} +1 -1
  151. package/dist/ezui/{p-17be134a.entry.js → p-b2f6bc0a.entry.js} +1 -1
  152. package/dist/ezui/{p-a6fe527a.entry.js → p-b6241ea3.entry.js} +1 -1
  153. package/dist/ezui/{p-c3045972.entry.js → p-b858fc6e.entry.js} +1 -1
  154. package/dist/ezui/{p-e347df9c.entry.js → p-bef7daac.entry.js} +1 -1
  155. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  156. package/dist/ezui/{p-14b769d7.entry.js → p-c7d1333c.entry.js} +1 -1
  157. package/dist/ezui/p-ca8936df.entry.js +1 -0
  158. package/dist/ezui/{p-d520839d.entry.js → p-cce6c015.entry.js} +1 -1
  159. package/dist/ezui/{p-6f22a385.entry.js → p-def75121.entry.js} +1 -1
  160. package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
  161. package/dist/ezui/{p-a62caecc.entry.js → p-e0decc2b.entry.js} +2 -2
  162. package/dist/ezui/{p-7fdd479f.entry.js → p-e18d9e6a.entry.js} +1 -1
  163. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  164. package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
  165. package/dist/ezui/{p-ca6340a9.entry.js → p-ec5f987d.entry.js} +1 -1
  166. package/dist/ezui/{p-3175fe8c.entry.js → p-efbe0b73.entry.js} +1 -1
  167. package/dist/ezui/{p-650e4b6d.entry.js → p-f1c2c19e.entry.js} +1 -1
  168. package/dist/ezui/{p-35d467a8.entry.js → p-fad4f1dd.entry.js} +1 -1
  169. package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
  170. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +8 -1
  171. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -1
  172. package/dist/types/components/ez-grid/ez-grid.d.ts +11 -7
  173. package/dist/types/components.d.ts +12 -4
  174. package/package.json +1 -1
  175. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  176. package/dist/ezui/p-c4320a39.entry.js +0 -1
  177. package/dist/ezui/p-dc8b36c3.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { ApplicationContext, DataType, LockManager, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
1
+ import { ApplicationContext, DataType, LockManager, LockManagerOperation, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
2
2
  import { Grid } from "@ag-grid-community/core";
3
3
  import { LicenseManager } from '@ag-grid-enterprise/core';
4
4
  import DataSource from './DataSource';
@@ -136,7 +136,12 @@ export default class AgGridController {
136
136
  var _a;
137
137
  this._options = options;
138
138
  this._container = container;
139
- const lockerId = options.enableLockManger ? LockManager.addLockManagerCtxId(this._container) : null;
139
+ const lockerIdTaskbarClick = (options === null || options === void 0 ? void 0 : options.enableLockManagerTaskbarClick) ? LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container) : null;
140
+ let resolveLoading = undefined;
141
+ if (options === null || options === void 0 ? void 0 : options.enableLockManagerLoadingComp) {
142
+ const lockerIdAppLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container);
143
+ resolveLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.lock(lockerIdAppLoading, LockManagerOperation.APP_LOADING);
144
+ }
140
145
  if (this._grid === undefined) {
141
146
  LicenseManager.setLicenseKey(ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
142
147
  this._columnStateChangeCallback = options.onColumnStateChange;
@@ -144,7 +149,7 @@ export default class AgGridController {
144
149
  this._doubleClickCallBack = options.onDoubleClick;
145
150
  this._multipleSelection = options.allowMultipleSelection;
146
151
  this._dataUnit = options.dataUnit;
147
- this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerId);
152
+ this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerIdTaskbarClick);
148
153
  this._statusResolver = options.statusResolver;
149
154
  if (this._dataUnit) {
150
155
  this._dataUnit.sortingProvider = this;
@@ -190,7 +195,7 @@ export default class AgGridController {
190
195
  processCellCallback: this.processFormatterCellCallback
191
196
  }
192
197
  };
193
- this.defineRowModelType(this._gridOptions, options);
198
+ this.defineRowModelType(this._gridOptions, options, resolveLoading);
194
199
  this.setOptionsEvents(this._gridOptions);
195
200
  this.setOptionsSupress(this._gridOptions);
196
201
  this._gridOptions = this._editionManager.configureGrid(this._gridOptions);
@@ -351,10 +356,10 @@ export default class AgGridController {
351
356
  }
352
357
  return null;
353
358
  }
354
- defineRowModelType(opt, sourceOptions) {
359
+ defineRowModelType(opt, sourceOptions, resolveLoading) {
355
360
  if (this._dataUnit != undefined) {
356
361
  opt.rowModelType = 'serverSide';
357
- opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions);
362
+ opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions, resolveLoading);
358
363
  opt.serverSideSortOnServer = true;
359
364
  opt.columnDefs = this._colDefs;
360
365
  }
@@ -112,12 +112,17 @@ export default class DataSource {
112
112
  return ((_b = action === null || action === void 0 ? void 0 : action.payload) === null || _b === void 0 ? void 0 : _b.silent) === true;
113
113
  }
114
114
  }
115
- constructor(dataUnit, controller, options) {
115
+ constructor(dataUnit, controller, options, resolveLoading) {
116
+ var _a;
116
117
  this.RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
117
118
  this.duObserver = (action) => {
119
+ var _a;
118
120
  switch (action.type) {
119
121
  case Action.METADATA_LOADED:
120
122
  this._controller.setColumnsDef(this.buildColumnDefs());
123
+ if (this._resolveLoading) {
124
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
125
+ }
121
126
  break;
122
127
  case Action.LOADING_DATA:
123
128
  this._waitingForLoad = true;
@@ -167,12 +172,20 @@ export default class DataSource {
167
172
  break;
168
173
  }
169
174
  };
170
- this._dataUnit = dataUnit;
171
- this._controller = controller;
172
- this._controller.setColumnsDef(this.buildColumnDefs());
173
- this._options = options;
174
- this._dataUnit.subscribe(this.duObserver);
175
- this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
175
+ try {
176
+ this._resolveLoading = resolveLoading;
177
+ this._dataUnit = dataUnit;
178
+ this._controller = controller;
179
+ this._controller.setColumnsDef(this.buildColumnDefs());
180
+ this._options = options;
181
+ this._dataUnit.subscribe(this.duObserver);
182
+ this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
183
+ }
184
+ finally {
185
+ if (this._dataUnit.metadata && this._resolveLoading) {
186
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
187
+ }
188
+ }
176
189
  }
177
190
  updateSelection() {
178
191
  const selectionInfo = this._dataUnit.getSelectionInfo();
@@ -222,26 +235,31 @@ export default class DataSource {
222
235
  (_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.subscribe(this.duObserver);
223
236
  }
224
237
  buildColumnDefs() {
225
- const gridConfig = this._controller.getGridConfig() || [];
226
- const columnDefs = [];
227
- if (this._dataUnit.metadata) {
228
- this._dataUnit.metadata.fields.sort((a, b) => {
229
- const indexA = gridConfig.findIndex(value => value.name === a.name);
230
- const indexB = gridConfig.findIndex(value => value.name === b.name);
231
- return indexA - indexB;
232
- });
233
- this._dataUnit.metadata.fields.forEach(f => {
234
- var _a;
235
- if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
236
- const props = new Map();
237
- const properties = this._dataUnit.getField(f.name).properties;
238
- for (const value in properties) {
239
- props.set(value, properties[value]);
238
+ try {
239
+ const gridConfig = this._controller.getGridConfig() || [];
240
+ const columnDefs = [];
241
+ if (this._dataUnit.metadata) {
242
+ this._dataUnit.metadata.fields.sort((a, b) => {
243
+ const indexA = gridConfig.findIndex(value => value.name === a.name);
244
+ const indexB = gridConfig.findIndex(value => value.name === b.name);
245
+ return indexA - indexB;
246
+ });
247
+ this._dataUnit.metadata.fields.forEach(f => {
248
+ var _a;
249
+ if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
250
+ const props = new Map();
251
+ const properties = this._dataUnit.getField(f.name).properties;
252
+ for (const value in properties) {
253
+ props.set(value, properties[value]);
254
+ }
255
+ columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
240
256
  }
241
- columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
242
- }
243
- });
257
+ });
258
+ }
259
+ return columnDefs;
260
+ }
261
+ catch (error) {
262
+ console.warn(error);
244
263
  }
245
- return columnDefs;
246
264
  }
247
265
  }
@@ -1,4 +1,4 @@
1
- import { ElementIDUtils, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, StringUtils, } from '@sankhyalabs/core';
1
+ import { ElementIDUtils, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, StringUtils, ApplicationContext, } from '@sankhyalabs/core';
2
2
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
3
3
  import { Host, h } from '@stencil/core';
4
4
  import { ApplicationUtils } from '../../utils';
@@ -25,6 +25,8 @@ export class EzGrid {
25
25
  this._selectionCount = undefined;
26
26
  this._hasLeftButtons = false;
27
27
  this._customFormatters = new Map();
28
+ this.enableLockManagerLoadingComp = false;
29
+ this.enableLockManagerTaskbarClick = true;
28
30
  this.multipleSelection = undefined;
29
31
  this.config = undefined;
30
32
  this.selectionToastConfig = undefined;
@@ -39,7 +41,6 @@ export class EzGrid {
39
41
  this.paginationCounterMode = 'show';
40
42
  this.enableGridInsert = false;
41
43
  this.enableContinuousInsert = true;
42
- this.enableLockManger = true;
43
44
  this.outlineMode = false;
44
45
  this.enableRowTableStriped = true;
45
46
  }
@@ -375,6 +376,8 @@ export class EzGrid {
375
376
  return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.paginationCounterMode == 'show' && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.paginationCounterMode == 'show' && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }))));
376
377
  }
377
378
  componentDidLoad() {
379
+ const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
380
+ this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
378
381
  this._gridController.initDatagrid(this._container, {
379
382
  onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
380
383
  onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
@@ -403,7 +406,8 @@ export class EzGrid {
403
406
  this.setSelection(this.dataUnit.getSelectionInfo());
404
407
  }
405
408
  },
406
- enableLockManger: this.enableLockManger,
409
+ enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
410
+ enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
407
411
  enableRowTableStriped: this.enableRowTableStriped,
408
412
  });
409
413
  if (this.config) {
@@ -538,6 +542,42 @@ export class EzGrid {
538
542
  static get assetsDirs() { return ["../assets"]; }
539
543
  static get properties() {
540
544
  return {
545
+ "enableLockManagerLoadingComp": {
546
+ "type": "boolean",
547
+ "mutable": false,
548
+ "complexType": {
549
+ "original": "boolean",
550
+ "resolved": "boolean",
551
+ "references": {}
552
+ },
553
+ "required": false,
554
+ "optional": true,
555
+ "docs": {
556
+ "tags": [],
557
+ "text": "Define se o componente deve usar o LockManager para controle de carregamento da aplica\u00E7\u00E3o"
558
+ },
559
+ "attribute": "enable-lock-manager-loading-comp",
560
+ "reflect": false,
561
+ "defaultValue": "false"
562
+ },
563
+ "enableLockManagerTaskbarClick": {
564
+ "type": "boolean",
565
+ "mutable": false,
566
+ "complexType": {
567
+ "original": "boolean",
568
+ "resolved": "boolean",
569
+ "references": {}
570
+ },
571
+ "required": false,
572
+ "optional": true,
573
+ "docs": {
574
+ "tags": [],
575
+ "text": "Ativa inser\u00E7\u00E3o de registros no modo grade pela Taskbar."
576
+ },
577
+ "attribute": "enable-lock-manager-taskbar-click",
578
+ "reflect": false,
579
+ "defaultValue": "true"
580
+ },
541
581
  "multipleSelection": {
542
582
  "type": "boolean",
543
583
  "mutable": false,
@@ -804,24 +844,6 @@ export class EzGrid {
804
844
  "reflect": false,
805
845
  "defaultValue": "true"
806
846
  },
807
- "enableLockManger": {
808
- "type": "boolean",
809
- "mutable": false,
810
- "complexType": {
811
- "original": "boolean",
812
- "resolved": "boolean",
813
- "references": {}
814
- },
815
- "required": false,
816
- "optional": true,
817
- "docs": {
818
- "tags": [],
819
- "text": "Ativa inser\u00E7\u00E3o de registros no modo grade."
820
- },
821
- "attribute": "enable-lock-manger",
822
- "reflect": false,
823
- "defaultValue": "true"
824
- },
825
847
  "outlineMode": {
826
848
  "type": "boolean",
827
849
  "mutable": false,
@@ -1,16 +1,17 @@
1
1
  .skeleton {
2
- box-sizing: border-box;
3
- outline: none;
4
- overflow: hidden;
5
- position: relative;
6
-
7
- background:var(--skeleton-background, #eff1f6) no-repeat;
2
+ background: var(--skeleton-background, #eff1f6) no-repeat;
8
3
 
9
4
  border-radius: var(--skeleton-border-radius, 4px);
10
5
  width: var(--skeleton-width, 100%);
11
6
  height: var(--skeleton-height, 20px);
12
7
  display: inline-block;
13
- margin-bottom: var(--skeleton-margin-bottom, 0px);
8
+ margin-bottom: var(--skeleton-margin-bottom, 0px);
9
+ box-sizing: border-box;
10
+ outline: none;
11
+ overflow: hidden;
12
+ position: relative;
13
+ -webkit-will-change: transform;
14
+ -moz-will-change: transform;
14
15
  will-change: transform;
15
16
 
16
17
  &:after,
@@ -31,29 +32,31 @@
31
32
 
32
33
  &.progress,
33
34
  &.progress-dark {
35
+ -webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
36
+ -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
37
+ -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
34
38
  animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
35
39
  background-size: 200px 100%;
36
40
  }
37
41
 
38
42
  &.progress {
39
- background-image: linear-gradient(
40
- 90deg,
41
- rgba(255, 255, 255, 0),
42
- rgba(255, 255, 255, 0.6),
43
- rgba(255, 255, 255, 0)
44
- );
43
+ background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
44
+ background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
45
+ background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
46
+ background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
45
47
  }
46
48
 
47
49
  &.progress-dark {
48
- background-image: linear-gradient(
49
- 90deg,
50
- transparent,
51
- rgba(0, 0, 0, 0.2),
52
- transparent
53
- );
50
+ background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
51
+ background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
52
+ background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
53
+ background-image: linear-gradient(90deg,transparent,rgba(0, 0, 0, 0.2),transparent);
54
54
  }
55
55
 
56
56
  &.pulse {
57
+ -webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
58
+ -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
59
+ -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
57
60
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
58
61
  animation-delay: 0.5s;
59
62
  }
@@ -72,23 +75,40 @@
72
75
  }
73
76
  }
74
77
 
78
+ @-webkit-keyframes progress {
79
+ 0% { background-position: -200px 0; }
80
+ 100% { background-position: calc(200px + 100%) 0; }
81
+ }
82
+ @-moz-keyframes progress {
83
+ 0% { background-position: -200px 0; }
84
+ 100% { background-position: calc(200px + 100%) 0; }
85
+ }
86
+ @-ms-keyframes progress {
87
+ 0% { background-position: -200px 0; }
88
+ 100% { background-position: calc(200px + 100%) 0; }
89
+ }
75
90
  @keyframes progress {
76
- 0% {
77
- background-position: -200px 0;
78
- }
79
- 100% {
80
- background-position: calc(200px + 100%) 0;
81
- }
91
+ 0% { background-position: -200px 0; }
92
+ 100% { background-position: calc(200px + 100%) 0; }
82
93
  }
83
94
 
95
+ @-webkit-keyframes pulse {
96
+ 0% { opacity: 1; }
97
+ 50% { opacity: 0.4; }
98
+ 100% { opacity: 1; }
99
+ }
100
+ @-moz-keyframes pulse {
101
+ 0% { opacity: 1; }
102
+ 50% { opacity: 0.4; }
103
+ 100% { opacity: 1; }
104
+ }
105
+ @-ms-keyframes pulse {
106
+ 0% { opacity: 1; }
107
+ 50% { opacity: 0.4; }
108
+ 100% { opacity: 1; }
109
+ }
84
110
  @keyframes pulse {
85
- 0% {
86
- opacity: 1;
87
- }
88
- 50% {
89
- opacity: 0.4;
90
- }
91
- 100% {
92
- opacity: 1;
93
- }
111
+ 0% { opacity: 1; }
112
+ 50% { opacity: 0.4; }
113
+ 100% { opacity: 1; }
94
114
  }
@@ -56261,12 +56261,17 @@ class DataSource {
56261
56261
  return ((_b = action === null || action === void 0 ? void 0 : action.payload) === null || _b === void 0 ? void 0 : _b.silent) === true;
56262
56262
  }
56263
56263
  }
56264
- constructor(dataUnit, controller, options) {
56264
+ constructor(dataUnit, controller, options, resolveLoading) {
56265
+ var _a;
56265
56266
  this.RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
56266
56267
  this.duObserver = (action) => {
56268
+ var _a;
56267
56269
  switch (action.type) {
56268
56270
  case Action.METADATA_LOADED:
56269
56271
  this._controller.setColumnsDef(this.buildColumnDefs());
56272
+ if (this._resolveLoading) {
56273
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
56274
+ }
56270
56275
  break;
56271
56276
  case Action.LOADING_DATA:
56272
56277
  this._waitingForLoad = true;
@@ -56316,12 +56321,20 @@ class DataSource {
56316
56321
  break;
56317
56322
  }
56318
56323
  };
56319
- this._dataUnit = dataUnit;
56320
- this._controller = controller;
56321
- this._controller.setColumnsDef(this.buildColumnDefs());
56322
- this._options = options;
56323
- this._dataUnit.subscribe(this.duObserver);
56324
- this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
56324
+ try {
56325
+ this._resolveLoading = resolveLoading;
56326
+ this._dataUnit = dataUnit;
56327
+ this._controller = controller;
56328
+ this._controller.setColumnsDef(this.buildColumnDefs());
56329
+ this._options = options;
56330
+ this._dataUnit.subscribe(this.duObserver);
56331
+ this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
56332
+ }
56333
+ finally {
56334
+ if (this._dataUnit.metadata && this._resolveLoading) {
56335
+ (_a = this._resolveLoading) === null || _a === void 0 ? void 0 : _a.call(this);
56336
+ }
56337
+ }
56325
56338
  }
56326
56339
  updateSelection() {
56327
56340
  const selectionInfo = this._dataUnit.getSelectionInfo();
@@ -56371,27 +56384,32 @@ class DataSource {
56371
56384
  (_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.subscribe(this.duObserver);
56372
56385
  }
56373
56386
  buildColumnDefs() {
56374
- const gridConfig = this._controller.getGridConfig() || [];
56375
- const columnDefs = [];
56376
- if (this._dataUnit.metadata) {
56377
- this._dataUnit.metadata.fields.sort((a, b) => {
56378
- const indexA = gridConfig.findIndex(value => value.name === a.name);
56379
- const indexB = gridConfig.findIndex(value => value.name === b.name);
56380
- return indexA - indexB;
56381
- });
56382
- this._dataUnit.metadata.fields.forEach(f => {
56383
- var _a;
56384
- if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
56385
- const props = new Map();
56386
- const properties = this._dataUnit.getField(f.name).properties;
56387
- for (const value in properties) {
56388
- props.set(value, properties[value]);
56387
+ try {
56388
+ const gridConfig = this._controller.getGridConfig() || [];
56389
+ const columnDefs = [];
56390
+ if (this._dataUnit.metadata) {
56391
+ this._dataUnit.metadata.fields.sort((a, b) => {
56392
+ const indexA = gridConfig.findIndex(value => value.name === a.name);
56393
+ const indexB = gridConfig.findIndex(value => value.name === b.name);
56394
+ return indexA - indexB;
56395
+ });
56396
+ this._dataUnit.metadata.fields.forEach(f => {
56397
+ var _a;
56398
+ if (f.visible !== false && f.name !== this.RECORD_ARCHIVE) {
56399
+ const props = new Map();
56400
+ const properties = this._dataUnit.getField(f.name).properties;
56401
+ for (const value in properties) {
56402
+ props.set(value, properties[value]);
56403
+ }
56404
+ columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
56389
56405
  }
56390
- columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
56391
- }
56392
- });
56406
+ });
56407
+ }
56408
+ return columnDefs;
56409
+ }
56410
+ catch (error) {
56411
+ console.warn(error);
56393
56412
  }
56394
- return columnDefs;
56395
56413
  }
56396
56414
  }
56397
56415
 
@@ -70989,7 +71007,12 @@ class AgGridController {
70989
71007
  var _a;
70990
71008
  this._options = options;
70991
71009
  this._container = container;
70992
- const lockerId = options.enableLockManger ? LockManager.addLockManagerCtxId(this._container) : null;
71010
+ const lockerIdTaskbarClick = (options === null || options === void 0 ? void 0 : options.enableLockManagerTaskbarClick) ? LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container) : null;
71011
+ let resolveLoading = undefined;
71012
+ if (options === null || options === void 0 ? void 0 : options.enableLockManagerLoadingComp) {
71013
+ const lockerIdAppLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.addLockManagerCtxId(this._container);
71014
+ resolveLoading = LockManager === null || LockManager === void 0 ? void 0 : LockManager.lock(lockerIdAppLoading, LockManagerOperation.APP_LOADING);
71015
+ }
70993
71016
  if (this._grid === undefined) {
70994
71017
  LicenseManager.setLicenseKey(ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
70995
71018
  this._columnStateChangeCallback = options.onColumnStateChange;
@@ -70997,7 +71020,7 @@ class AgGridController {
70997
71020
  this._doubleClickCallBack = options.onDoubleClick;
70998
71021
  this._multipleSelection = options.allowMultipleSelection;
70999
71022
  this._dataUnit = options.dataUnit;
71000
- this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerId);
71023
+ this._editionManager = new GridEditionManager(this._dataUnit, options.useEnterLikeTab, options.recordsValidator, options.editionIsDisabled, options.customEditors || this._customEditors, options.customRenders || this._customRenders, options.enableContinuousInsert, options.enableGridInsert, lockerIdTaskbarClick);
71001
71024
  this._statusResolver = options.statusResolver;
71002
71025
  if (this._dataUnit) {
71003
71026
  this._dataUnit.sortingProvider = this;
@@ -71043,7 +71066,7 @@ class AgGridController {
71043
71066
  processCellCallback: this.processFormatterCellCallback
71044
71067
  }
71045
71068
  };
71046
- this.defineRowModelType(this._gridOptions, options);
71069
+ this.defineRowModelType(this._gridOptions, options, resolveLoading);
71047
71070
  this.setOptionsEvents(this._gridOptions);
71048
71071
  this.setOptionsSupress(this._gridOptions);
71049
71072
  this._gridOptions = this._editionManager.configureGrid(this._gridOptions);
@@ -71204,10 +71227,10 @@ class AgGridController {
71204
71227
  }
71205
71228
  return null;
71206
71229
  }
71207
- defineRowModelType(opt, sourceOptions) {
71230
+ defineRowModelType(opt, sourceOptions, resolveLoading) {
71208
71231
  if (this._dataUnit != undefined) {
71209
71232
  opt.rowModelType = 'serverSide';
71210
- opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions);
71233
+ opt.serverSideDatasource = this._dataSource = new DataSource(this._dataUnit, this, sourceOptions, resolveLoading);
71211
71234
  opt.serverSideSortOnServer = true;
71212
71235
  opt.columnDefs = this._colDefs;
71213
71236
  }
@@ -72198,6 +72221,8 @@ const EzGrid$1 = class extends HTMLElement$1 {
72198
72221
  this._selectionCount = undefined;
72199
72222
  this._hasLeftButtons = false;
72200
72223
  this._customFormatters = new Map();
72224
+ this.enableLockManagerLoadingComp = false;
72225
+ this.enableLockManagerTaskbarClick = true;
72201
72226
  this.multipleSelection = undefined;
72202
72227
  this.config = undefined;
72203
72228
  this.selectionToastConfig = undefined;
@@ -72212,7 +72237,6 @@ const EzGrid$1 = class extends HTMLElement$1 {
72212
72237
  this.paginationCounterMode = 'show';
72213
72238
  this.enableGridInsert = false;
72214
72239
  this.enableContinuousInsert = true;
72215
- this.enableLockManger = true;
72216
72240
  this.outlineMode = false;
72217
72241
  this.enableRowTableStriped = true;
72218
72242
  }
@@ -72548,6 +72572,8 @@ const EzGrid$1 = class extends HTMLElement$1 {
72548
72572
  return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.paginationCounterMode == 'show' && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.paginationCounterMode == 'show' && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }))));
72549
72573
  }
72550
72574
  componentDidLoad() {
72575
+ const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
72576
+ this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
72551
72577
  this._gridController.initDatagrid(this._container, {
72552
72578
  onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
72553
72579
  onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
@@ -72576,7 +72602,8 @@ const EzGrid$1 = class extends HTMLElement$1 {
72576
72602
  this.setSelection(this.dataUnit.getSelectionInfo());
72577
72603
  }
72578
72604
  },
72579
- enableLockManger: this.enableLockManger,
72605
+ enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
72606
+ enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
72580
72607
  enableRowTableStriped: this.enableRowTableStriped,
72581
72608
  });
72582
72609
  if (this.config) {
@@ -75339,7 +75366,7 @@ const EzSidebarNavigator$1 = class extends HTMLElement$1 {
75339
75366
 
75340
75367
  const ALLOWED_ANIMATIONS = ['progress', 'progress-dark', 'pulse', 'false'];
75341
75368
 
75342
- const ezSkeletonCss = ".skeleton {\n\tbox-sizing: border-box;\n\toutline: none;\n\toverflow: hidden;\n\tposition: relative;\n\n\tbackground:var(--skeleton-background, #eff1f6) no-repeat;\n\n\tborder-radius: var(--skeleton-border-radius, 4px);\n\twidth: var(--skeleton-width, 100%);\n\theight: var(--skeleton-height, 20px);\n\tdisplay: inline-block;\n\tmargin-bottom: var(--skeleton-margin-bottom, 0px);\n\twill-change: transform;\n\n\t&:after,\n\t&:before {\n\t\tbox-sizing: border-box;\n\t}\n\n\t&.circle {\n\t\twidth: var(--skeleton-width, 40px);\n\t\theight: var(--skeleton-height, 40px);\n\t\tmargin-bottom: var(--skeleton-margin-bottom, 5px);\n\t\tborder-radius: var(--skeleton-border-radius, 50%);\n\t}\n\n\t&.rect {\n\t\tborder-radius: var(--skeleton-border-radius, 0px);\n\t}\n\n\t&.progress,\n\t&.progress-dark {\n\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tbackground-size: 200px 100%;\n\t}\n\n\t&.progress {\n\t\tbackground-image: linear-gradient(\n\t\t\t90deg,\n\t\t\trgba(255, 255, 255, 0),\n\t\t\trgba(255, 255, 255, 0.6),\n\t\t\trgba(255, 255, 255, 0)\n\t\t);\n\t}\n\n\t&.progress-dark {\n\t\tbackground-image: linear-gradient(\n\t\t\t90deg,\n\t\t\ttransparent,\n\t\t\trgba(0, 0, 0, 0.2),\n\t\t\ttransparent\n\t\t);\n\t}\n\n\t&.pulse {\n\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation-delay: 0.5s;\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t&.pulse,\n\t\t&.progress-dark,\n\t\t&.progress {\n\t\t\tanimation: none;\n\t\t}\n\n\t\t&.progress,\n\t\t&.progress-dark {\n\t\t\tbackground-image: none;\n\t\t}\n\t}\n}\n\n@keyframes progress {\n\t0% {\n\t\tbackground-position: -200px 0;\n\t}\n\t100% {\n\t\tbackground-position: calc(200px + 100%) 0;\n\t}\n}\n\n@keyframes pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0.4;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}";
75369
+ const ezSkeletonCss = ".skeleton {\n\tbackground: var(--skeleton-background, #eff1f6) no-repeat;\n\n\tborder-radius: var(--skeleton-border-radius, 4px);\n\twidth: var(--skeleton-width, 100%);\n\theight: var(--skeleton-height, 20px);\n\tdisplay: inline-block;\n\tmargin-bottom: var(--skeleton-margin-bottom, 0px);\t\n\tbox-sizing: border-box;\n\toutline: none;\n\toverflow: hidden;\n\tposition: relative;\n\t-webkit-will-change: transform;\n -moz-will-change: transform;\n\twill-change: transform;\n\n\t&:after,\n\t&:before {\n\t\tbox-sizing: border-box;\n\t}\n\n\t&.circle {\n\t\twidth: var(--skeleton-width, 40px);\n\t\theight: var(--skeleton-height, 40px);\n\t\tmargin-bottom: var(--skeleton-margin-bottom, 5px);\n\t\tborder-radius: var(--skeleton-border-radius, 50%);\n\t}\n\n\t&.rect {\n\t\tborder-radius: var(--skeleton-border-radius, 0px);\n\t}\n\n\t&.progress,\n\t&.progress-dark {\n\t\t-webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tbackground-size: 200px 100%;\n\t}\n\n\t&.progress {\n\t\tbackground-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n\t}\n\n\t&.progress-dark {\n\t\tbackground-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent); \n\t\tbackground-image: linear-gradient(90deg,transparent,rgba(0, 0, 0, 0.2),transparent);\n\t}\n\n\t&.pulse {\n\t\t-webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation-delay: 0.5s;\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t&.pulse,\n\t\t&.progress-dark,\n\t\t&.progress {\n\t\t\tanimation: none;\n\t\t}\n\n\t\t&.progress,\n\t\t&.progress-dark {\n\t\t\tbackground-image: none;\n\t\t}\n\t}\n}\n\n@-webkit-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@-moz-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@-ms-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@keyframes progress {\n\t0% { background-position: -200px 0; }\n\t100% { background-position: calc(200px + 100%) 0; }\n}\n\n@-webkit-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@-moz-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@-ms-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@keyframes pulse {\n\t0% { opacity: 1; }\n\t50% { opacity: 0.4; }\n\t100% { opacity: 1; }\n}";
75343
75370
 
75344
75371
  const EzSkeleton$1 = class extends HTMLElement$1 {
75345
75372
  constructor() {
@@ -78985,7 +79012,7 @@ const EzFileItem = /*@__PURE__*/proxyCustomElement(EzFileItem$1, [1,"ez-file-ite
78985
79012
  const EzFilterInput = /*@__PURE__*/proxyCustomElement(EzFilterInput$1, [1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"],"noMargin":[4,"no-margin"]}]);
78986
79013
  const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"fieldToFocus":[1,"field-to-focus"],"onlyStaticFields":[4,"only-static-fields"],"_fieldsProps":[32]}]);
78987
79014
  const EzFormView = /*@__PURE__*/proxyCustomElement(EzFormView$1, [2,"ez-form-view",{"fields":[16],"selectedRecord":[16],"_customEditors":[32]}]);
78988
- const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"autoFocus":[4,"auto-focus"],"paginationCounterMode":[1,"pagination-counter-mode"],"enableGridInsert":[4,"enable-grid-insert"],"enableContinuousInsert":[4,"enable-continuous-insert"],"enableLockManger":[4,"enable-lock-manger"],"outlineMode":[4,"outline-mode"],"enableRowTableStriped":[4,"enable-row-table-striped"],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_hasLeftButtons":[32],"_customFormatters":[32]},[[0,"ezSelectionChange","onSelectionChange"],[2,"click","handleClick"]]]);
79015
+ const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"autoFocus":[4,"auto-focus"],"paginationCounterMode":[1,"pagination-counter-mode"],"enableGridInsert":[4,"enable-grid-insert"],"enableContinuousInsert":[4,"enable-continuous-insert"],"outlineMode":[4,"outline-mode"],"enableRowTableStriped":[4,"enable-row-table-striped"],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_hasLeftButtons":[32],"_customFormatters":[32]},[[0,"ezSelectionChange","onSelectionChange"],[2,"click","handleClick"]]]);
78989
79016
  const EzGuideNavigator = /*@__PURE__*/proxyCustomElement(EzGuideNavigator$1, [1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32]}]);
78990
79017
  const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
78991
79018
  const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [2,"ez-list",{"dataSource":[1040],"listMode":[1,"list-mode"],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"itemLeftSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"enableMultipleSelection":[4,"enable-multiple-selection"],"_listItems":[32],"_listGroupItems":[32]}]);
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import './ApplicationUtils-eaf91331.js';
4
4
  import { C as CSSVarsUtils } from './CSSVarsUtils-71ce76be.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezAlertListCss = ":host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, \"Roboto\");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezAlertCss = ":host{--ez-alert-alert-container--padding-up-down:var(--space--small, 6px);--ez-alert-alert-container--padding-right-left:var(--space--medium, 12px);--ez-alert-alert-container--gap:var(--space--medium, 12px);--ez-alert-alert-container--border-radius:var(--border--radius-medium, 12px);--ez-alert-alert-container--font-color-warn:var(--color--alert-warning-900, #8C6B00);--ez-alert-alert-container--icon-warn:var(--color--alert-warning-900, #8C6B00);--ez-alert-alert-container--background-color-warn:var(--color--alert-warning-200, #FFF7D5);--ez-alert-alert-container--font-color-critical:var(--color--alert-error, #BD0025);--ez-alert-alert-container--icon-critical:var(--color--alert-error, #BD0025);--ez-alert-alert-container--background-color-critical:var(--color--alert-error-200, #F7E0E5);--ez-alert-alert-container--font-color-success:var(--color--alert-success, #157A00);--ez-alert-alert-container--icon-success:var(--color--alert-success, #157A00);--ez-alert-alert-container--background-color-success:var(--color--alert-success-200, #E7F6E0);font-size:var(--text--small, 12px);font-family:var(--font-pattern, \"Roboto\");width:100%;hyphens:auto;display:block}.alert-container{display:flex;align-items:center;gap:var(--ez-alert-alert-container--gap);padding:var(--ez-alert-alert-container--padding-up-down) var(--ez-alert-alert-container--padding-right-left);border-radius:var(--ez-alert-alert-container--border-radius)}.warn{background-color:var(--ez-alert-alert-container--background-color-warn);color:var(--ez-alert-alert-container--font-color-warn)}.critical{background-color:var(--ez-alert-alert-container--background-color-critical);color:var(--ez-alert-alert-container--font-color-critical)}.success{background-color:var(--ez-alert-alert-container--background-color-success);color:var(--ez-alert-alert-container--font-color-success)}ez-icon{--ez-icon--color:inherit}.alert-container__icon-warn{--ez-icon--color:var(--ez-alert-alert-container--icon-warn)}.alert-container__icon-critical{--ez-icon--color:var(--ez-alert-alert-container--icon-critical)}.alert-container__icon-success{--ez-icon--color:var(--ez-alert-alert-container--icon-success)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-baa5e267.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-5a720e56.js';
2
2
 
3
3
  const ezApplicationCss = "";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  var Sizes;