@sankhyalabs/sankhyablocks 10.1.0-dev.12 → 10.1.0-dev.14

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 (108) hide show
  1. package/dist/cjs/{ConfigStorage-5c0590b3.js → ConfigStorage-a4e1e518.js} +2 -2
  2. package/dist/cjs/{DataFetcher-5181a917.js → DataFetcher-0b6aa084.js} +11 -22
  3. package/dist/cjs/{ISave-0f98a457.js → ISave-2c455a77.js} +1 -1
  4. package/dist/cjs/{SnkFormConfigManager-1907ffed.js → SnkFormConfigManager-b8c81493.js} +2 -2
  5. package/dist/cjs/{SnkMultiSelectionListDataSource-e4e38139.js → SnkMultiSelectionListDataSource-3f561345.js} +4 -4
  6. package/dist/cjs/{auth-fetcher-cff55b1f.js → auth-fetcher-7e7796c9.js} +1 -1
  7. package/dist/cjs/{dataunit-fetcher-1ba5e2cc.js → dataunit-fetcher-8dffbcdf.js} +1 -1
  8. package/dist/cjs/{form-config-fetcher-4a679e23.js → form-config-fetcher-5516d68a.js} +1 -1
  9. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +4 -4
  10. package/dist/cjs/snk-actions-button_9.cjs.entry.js +5 -5
  11. package/dist/cjs/snk-application.cjs.entry.js +6 -6
  12. package/dist/cjs/snk-attach.cjs.entry.js +5 -5
  13. package/dist/cjs/snk-crud.cjs.entry.js +5 -5
  14. package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -5
  15. package/dist/cjs/{snk-data-unit-061487a8.js → snk-data-unit-b8ea81e1.js} +2 -2
  16. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
  17. package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
  18. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +27 -7
  19. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  20. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  21. package/dist/cjs/snk-filter-period.cjs.entry.js +10 -5
  22. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  23. package/dist/cjs/snk-form_2.cjs.entry.js +4 -4
  24. package/dist/cjs/snk-grid.cjs.entry.js +6 -6
  25. package/dist/cjs/{snk-guides-viewer-2efe60a7.js → snk-guides-viewer-61701970.js} +5 -5
  26. package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
  27. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  28. package/dist/cjs/snk-pesquisa.cjs.entry.js +4 -4
  29. package/dist/cjs/snk-simple-crud.cjs.entry.js +7 -7
  30. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +1 -1
  31. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +11 -6
  32. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +1 -1
  33. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +4 -0
  34. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +9 -1
  35. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +12 -3
  36. package/dist/collection/lib/message/SnkMessageBuilder.js +11 -2
  37. package/dist/components/DataFetcher.js +11 -2
  38. package/dist/components/snk-filter-bar2.js +12 -3
  39. package/dist/components/snk-filter-item2.js +4 -0
  40. package/dist/components/snk-filter-modal2.js +9 -2
  41. package/dist/components/snk-filter-number.js +1 -1
  42. package/dist/components/snk-filter-period.js +10 -5
  43. package/dist/components/snk-filter-text.js +1 -1
  44. package/dist/esm/{ConfigStorage-bd096633.js → ConfigStorage-39ac8fef.js} +2 -2
  45. package/dist/esm/{DataFetcher-5780ad39.js → DataFetcher-0b9da57d.js} +11 -2
  46. package/dist/esm/{ISave-8a22ec18.js → ISave-f1c9269b.js} +1 -1
  47. package/dist/esm/{SnkFormConfigManager-437e98bb.js → SnkFormConfigManager-a87566c8.js} +2 -2
  48. package/dist/esm/{SnkMultiSelectionListDataSource-42125ef4.js → SnkMultiSelectionListDataSource-2d1ea0c5.js} +4 -4
  49. package/dist/esm/{auth-fetcher-28b9d0db.js → auth-fetcher-acdc1cb4.js} +1 -1
  50. package/dist/esm/{dataunit-fetcher-c4251d80.js → dataunit-fetcher-4c312b43.js} +1 -1
  51. package/dist/esm/{form-config-fetcher-d0536a71.js → form-config-fetcher-7cda6254.js} +1 -1
  52. package/dist/esm/pesquisa-grid_2.entry.js +4 -4
  53. package/dist/esm/snk-actions-button_9.entry.js +5 -5
  54. package/dist/esm/snk-application.entry.js +6 -6
  55. package/dist/esm/snk-attach.entry.js +5 -5
  56. package/dist/esm/snk-crud.entry.js +5 -5
  57. package/dist/esm/snk-data-exporter.entry.js +5 -5
  58. package/dist/esm/{snk-data-unit-4a1ef77f.js → snk-data-unit-6f31ec56.js} +2 -2
  59. package/dist/esm/snk-data-unit.entry.js +3 -3
  60. package/dist/esm/snk-detail-view.entry.js +7 -7
  61. package/dist/esm/snk-filter-bar_4.entry.js +28 -8
  62. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  63. package/dist/esm/snk-filter-number.entry.js +1 -1
  64. package/dist/esm/snk-filter-period.entry.js +10 -5
  65. package/dist/esm/snk-filter-text.entry.js +1 -1
  66. package/dist/esm/snk-form_2.entry.js +4 -4
  67. package/dist/esm/snk-grid.entry.js +6 -6
  68. package/dist/esm/{snk-guides-viewer-c182d058.js → snk-guides-viewer-c31259f0.js} +5 -5
  69. package/dist/esm/snk-guides-viewer.entry.js +7 -7
  70. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  71. package/dist/esm/snk-pesquisa.entry.js +4 -4
  72. package/dist/esm/snk-simple-crud.entry.js +7 -7
  73. package/dist/sankhyablocks/{p-01ca59fc.entry.js → p-04bbdf6f.entry.js} +1 -1
  74. package/dist/sankhyablocks/{p-fd05e31d.entry.js → p-0814b16c.entry.js} +1 -1
  75. package/dist/sankhyablocks/{p-0e4f8b86.js → p-1f310bc6.js} +1 -1
  76. package/dist/sankhyablocks/{p-42272de8.entry.js → p-20349480.entry.js} +1 -1
  77. package/dist/sankhyablocks/{p-aca74b21.js → p-2ac55a5d.js} +1 -1
  78. package/dist/sankhyablocks/{p-82a3d522.entry.js → p-2d133b6e.entry.js} +1 -1
  79. package/dist/sankhyablocks/{p-d3534985.js → p-3f68a254.js} +1 -1
  80. package/dist/sankhyablocks/{p-3c046287.js → p-48a5c311.js} +2 -2
  81. package/dist/sankhyablocks/{p-55d7abe7.js → p-4b1c26ae.js} +1 -1
  82. package/dist/sankhyablocks/p-52691b42.js +1 -0
  83. package/dist/sankhyablocks/{p-2e882241.entry.js → p-52c0cade.entry.js} +1 -1
  84. package/dist/sankhyablocks/{p-6e5af618.entry.js → p-5fd4f0f6.entry.js} +1 -1
  85. package/dist/sankhyablocks/{p-1b1373b6.js → p-6768f176.js} +1 -1
  86. package/dist/sankhyablocks/{p-903fa0b4.entry.js → p-6b9833c7.entry.js} +1 -1
  87. package/dist/sankhyablocks/{p-1037ea7b.entry.js → p-728959a6.entry.js} +1 -1
  88. package/dist/sankhyablocks/{p-d2ec9a24.entry.js → p-74389ec4.entry.js} +1 -1
  89. package/dist/sankhyablocks/p-7af6e6b8.entry.js +1 -0
  90. package/dist/sankhyablocks/{p-4db9dbf8.js → p-7ee6b1bf.js} +1 -1
  91. package/dist/sankhyablocks/{p-a1d23fef.js → p-8027f732.js} +1 -1
  92. package/dist/sankhyablocks/{p-028fb380.entry.js → p-8ce94b62.entry.js} +1 -1
  93. package/dist/sankhyablocks/{p-093f58fa.entry.js → p-99a11017.entry.js} +1 -1
  94. package/dist/sankhyablocks/{p-9ab6ae1e.js → p-9e4555ab.js} +2 -2
  95. package/dist/sankhyablocks/{p-03f02b12.entry.js → p-a5e0a780.entry.js} +1 -1
  96. package/dist/sankhyablocks/{p-4c763b10.entry.js → p-a9b16874.entry.js} +1 -1
  97. package/dist/sankhyablocks/{p-78d4b3e3.entry.js → p-af3aface.entry.js} +1 -1
  98. package/dist/sankhyablocks/p-b47acee0.entry.js +1 -0
  99. package/dist/sankhyablocks/{p-9f16d33e.entry.js → p-bdd4f02c.entry.js} +1 -1
  100. package/dist/sankhyablocks/p-e679c75a.entry.js +1 -0
  101. package/dist/sankhyablocks/{p-5d408e7e.entry.js → p-fa8c2485.entry.js} +1 -1
  102. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  103. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +1 -0
  104. package/package.json +1 -1
  105. package/dist/sankhyablocks/p-30a58e29.entry.js +0 -1
  106. package/dist/sankhyablocks/p-3ed04f0d.entry.js +0 -1
  107. package/dist/sankhyablocks/p-9b67a417.entry.js +0 -1
  108. package/dist/sankhyablocks/p-b9699067.js +0 -1
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-1cf293c1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-7259cf65.js');
8
- const ConfigStorage = require('./ConfigStorage-5c0590b3.js');
8
+ const ConfigStorage = require('./ConfigStorage-a4e1e518.js');
9
9
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
10
10
  const index$1 = require('./index-62760a9c.js');
11
11
  const index$2 = require('./index-13d05f03.js');
12
12
  require('./filter-item-type.enum-a7ffdaa6.js');
13
- require('./form-config-fetcher-4a679e23.js');
14
- require('./DataFetcher-5181a917.js');
13
+ require('./form-config-fetcher-5516d68a.js');
14
+ require('./DataFetcher-0b6aa084.js');
15
15
  require('./PrintUtils-bcaeb82f.js');
16
16
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
17
17
 
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1cf293c1.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const ISave = require('./ISave-0f98a457.js');
8
- require('./DataFetcher-5181a917.js');
7
+ const ISave = require('./ISave-2c455a77.js');
8
+ require('./DataFetcher-0b6aa084.js');
9
9
  require('./index-e3e39724.js');
10
10
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
11
11
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
12
- require('./dataunit-fetcher-1ba5e2cc.js');
12
+ require('./dataunit-fetcher-8dffbcdf.js');
13
13
  require('./filter-item-type.enum-a7ffdaa6.js');
14
- require('./form-config-fetcher-4a679e23.js');
14
+ require('./form-config-fetcher-5516d68a.js');
15
15
  require('./constants-6d82e405.js');
16
16
  require('./PrintUtils-bcaeb82f.js');
17
17
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
@@ -7,18 +7,18 @@ const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const constants = require('./constants-6d82e405.js');
9
9
  const taskbarElements = require('./taskbar-elements-fb5d1e08.js');
10
- require('./DataFetcher-5181a917.js');
11
- require('./ISave-0f98a457.js');
12
- const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-e4e38139.js');
10
+ require('./DataFetcher-0b6aa084.js');
11
+ require('./ISave-2c455a77.js');
12
+ const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-3f561345.js');
13
13
  const index$1 = require('./index-e3e39724.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
- const dataunitFetcher = require('./dataunit-fetcher-1ba5e2cc.js');
16
+ const dataunitFetcher = require('./dataunit-fetcher-8dffbcdf.js');
17
17
  require('./filter-item-type.enum-a7ffdaa6.js');
18
- const formConfigFetcher = require('./form-config-fetcher-4a679e23.js');
18
+ const formConfigFetcher = require('./form-config-fetcher-5516d68a.js');
19
19
  const taskbarProcessor = require('./taskbar-processor-2fba34a8.js');
20
- const ConfigStorage = require('./ConfigStorage-5c0590b3.js');
21
- const SnkFormConfigManager = require('./SnkFormConfigManager-1907ffed.js');
20
+ const ConfigStorage = require('./ConfigStorage-a4e1e518.js');
21
+ const SnkFormConfigManager = require('./SnkFormConfigManager-b8c81493.js');
22
22
  const index$2 = require('./index-13d05f03.js');
23
23
  require('./PrintUtils-bcaeb82f.js');
24
24
  require('./GetSelectedRecordsIDsInfo-bd50caf1.js');
@@ -101,7 +101,7 @@ export class SnkFilterPeriod {
101
101
  if (this.getVariation() === FilterNumberVariation.INTERVAL) {
102
102
  return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("div", { class: "ez-col ez-col--nowrap" }, h("ez-number-input", { id: `${this.config.id}_start`, class: this.presentationMode === EPresentationMode.MODAL ? 'ez-padding-right--medium' : '', label: this._startIntervalLabel, ref: ref => this._startInterval = ref, value: this.getIntervalValue("start"), enabled: this.config.enabled, precision: (_a = this.config.props) === null || _a === void 0 ? void 0 : _a.precision, errorMessage: this.errorMessage }), this.buildLabel(), h("ez-number-input", { id: `${this.config.id}_end`, label: this._endIntervalLabel, ref: ref => this._endInterval = ref, value: this.getIntervalValue("end"), enabled: this.config.enabled, precision: (_b = this.config.props) === null || _b === void 0 ? void 0 : _b.precision, errorMessage: this.errorMessage }))));
103
103
  }
104
- return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-number-input", { id: this.config.id, ref: ref => this._numberElement = ref, value: this.config.value, precision: (_c = this.config.props) === null || _c === void 0 ? void 0 : _c.precision, enabled: this.config.enabled, errorMessage: this.errorMessage })));
104
+ return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-number-input", { id: this.config.id, label: this.config.label, ref: ref => this._numberElement = ref, value: this.config.value, precision: (_c = this.config.props) === null || _c === void 0 ? void 0 : _c.precision, enabled: this.config.enabled, errorMessage: this.errorMessage })));
105
105
  }
106
106
  static get is() { return "snk-filter-number"; }
107
107
  static get properties() {
@@ -7,16 +7,17 @@ export class SnkFilterPeriod {
7
7
  this._startDateLabel = 'Inicial';
8
8
  this._endDateLabel = 'Final';
9
9
  this._toLabel = 'até';
10
+ this._defaultEmptyValue = {
11
+ start: null,
12
+ end: null
13
+ };
10
14
  this.internalChange = {
11
15
  start: false,
12
16
  end: false
13
17
  };
14
18
  this.config = undefined;
15
19
  this.getMessage = undefined;
16
- this.value = {
17
- start: null,
18
- end: null
19
- };
20
+ this.value = this._defaultEmptyValue;
20
21
  this.presentationMode = EPresentationMode.CHIP;
21
22
  this.errorMessage = undefined;
22
23
  }
@@ -29,6 +30,10 @@ export class SnkFilterPeriod {
29
30
  this.internalChange.start = false;
30
31
  return;
31
32
  }
33
+ if ((!newValue && oldValue) || (!(newValue === null || newValue === void 0 ? void 0 : newValue.start) && !(newValue === null || newValue === void 0 ? void 0 : newValue.end))) {
34
+ this.clearValue();
35
+ return;
36
+ }
32
37
  if (newValue && (newValue.start !== (oldValue === null || oldValue === void 0 ? void 0 : oldValue.start) || newValue.end !== (oldValue === null || oldValue === void 0 ? void 0 : oldValue.end))) {
33
38
  this.valueStart = this.parseDate(newValue.start);
34
39
  this.valueEnd = this.parseDate(newValue.end);
@@ -50,7 +55,7 @@ export class SnkFilterPeriod {
50
55
  * Limpa o valor do componente restaurando o valor original da configuração.
51
56
  */
52
57
  async clearValue() {
53
- this.value = this.config.value;
58
+ this.value = this.config.value || this._defaultEmptyValue;
54
59
  this.valueStart = this.getDate("start");
55
60
  this.valueEnd = this.getDate("end");
56
61
  }
@@ -160,7 +165,7 @@ export class SnkFilterPeriod {
160
165
  "tags": [],
161
166
  "text": "Define o valor do componente snk-filter-period"
162
167
  },
163
- "defaultValue": "{\n start: null,\n end: null\n }"
168
+ "defaultValue": "this._defaultEmptyValue"
164
169
  },
165
170
  "presentationMode": {
166
171
  "type": "number",
@@ -39,7 +39,7 @@ export class SnkFilterText {
39
39
  if (!this.config) {
40
40
  return undefined;
41
41
  }
42
- return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-text-input", { id: this.config.id, ref: ref => this._textInputElement = ref, value: this.config.value, mask: (_a = this.config) === null || _a === void 0 ? void 0 : _a.mask, enabled: this.config.enabled, cleanValueMask: true, errorMessage: this.errorMessage })));
42
+ return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-text-input", { id: this.config.id, label: this.config.label, ref: ref => this._textInputElement = ref, value: this.config.value, mask: (_a = this.config) === null || _a === void 0 ? void 0 : _a.mask, enabled: this.config.enabled, cleanValueMask: true, errorMessage: this.errorMessage })));
43
43
  }
44
44
  static get is() { return "snk-filter-text"; }
45
45
  static get properties() {
@@ -218,6 +218,10 @@ export class SnkFilterItem {
218
218
  return ((_a = list === null || list === void 0 ? void 0 : list.filter((val) => val === null || val === void 0 ? void 0 : val.check)) === null || _a === void 0 ? void 0 : _a.length) > 0;
219
219
  }
220
220
  hasActiveValue(config) {
221
+ var _a, _b;
222
+ if (config.type === FilterItemType.PERIOD) {
223
+ return (!!((_a = config.value) === null || _a === void 0 ? void 0 : _a.start) || !!((_b = config.value) === null || _b === void 0 ? void 0 : _b.end));
224
+ }
221
225
  return (config.type !== FilterItemType.MULTI_LIST && config.value !== undefined) || this.hasActiveElements(config.value);
222
226
  }
223
227
  getEnabledChip() {
@@ -9,6 +9,7 @@ import FilterItemType from '../filter-item/filter-item-type.enum';
9
9
  import { ActionDefaultFilter } from '../types/default-filters';
10
10
  import FilterType from '../types/filter-type.enum';
11
11
  import { getInvalidFilters } from '../utils/filter-validate';
12
+ import { forceUpdate } from '@stencil/core';
12
13
  export class SnkFilterModal {
13
14
  constructor() {
14
15
  this._isUserSup = false;
@@ -67,6 +68,7 @@ export class SnkFilterModal {
67
68
  this.handleClearCustomFilters(customFilters);
68
69
  this.handleClearOthersFilters(otherFilters);
69
70
  multiListFilters.forEach(multiListFilter => this.handleClearSigleFilter(multiListFilter));
71
+ forceUpdate(this);
70
72
  }
71
73
  handleClearOthersFilters(otherFilters) {
72
74
  this.filters = this.filters.map(filter => otherFilters.includes(filter) ? (Object.assign(Object.assign({}, filter), { value: undefined })) : filter);
@@ -240,7 +242,7 @@ export class SnkFilterModal {
240
242
  getIformedFiltersCount(listItems) {
241
243
  let countInformedItens = 0;
242
244
  listItems.forEach(localItem => {
243
- var _a, _b, _c, _d, _e, _f;
245
+ var _a, _b, _c, _d, _e, _f, _g, _h;
244
246
  const item = this.filterConfig.find(filter => filter.id === localItem.id);
245
247
  if (FilterItemType.MULTI_LIST === item.type) {
246
248
  countInformedItens += (_e = (_d = (_c = ((_b = (_a = item.value) === null || _a === void 0 ? void 0 : _a.elements) !== null && _b !== void 0 ? _b : item.value)) === null || _c === void 0 ? void 0 : _c.filter(value => value === null || value === void 0 ? void 0 : value.check)) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0;
@@ -252,6 +254,12 @@ export class SnkFilterModal {
252
254
  .map(([key, _]) => key).length;
253
255
  return;
254
256
  }
257
+ if (FilterItemType.PERIOD === item.type) {
258
+ if (!!((_g = item.value) === null || _g === void 0 ? void 0 : _g.start) || !!((_h = item.value) === null || _h === void 0 ? void 0 : _h.end)) {
259
+ countInformedItens++;
260
+ }
261
+ return;
262
+ }
255
263
  if (item.groupedItems != undefined) {
256
264
  countInformedItens = item.groupedItems.filter(item => item.visible).length;
257
265
  return;
@@ -50,10 +50,19 @@ export class SnkFilterBar {
50
50
  this.isFilterModalOpen = false;
51
51
  }
52
52
  hasValidValue(item) {
53
- if (item.value === undefined || item.value === null)
53
+ var _a, _b;
54
+ if (item.value === undefined || item.value === null) {
54
55
  return false;
55
- if (!Array.isArray(item.value))
56
+ }
57
+ if (item.type === FilterItemType.PERIOD) {
58
+ return (!!((_a = item.value) === null || _a === void 0 ? void 0 : _a.start) || !!((_b = item.value) === null || _b === void 0 ? void 0 : _b.end));
59
+ }
60
+ if (item.groupedItems) {
56
61
  return true;
62
+ }
63
+ if (!Array.isArray(item.value)) {
64
+ return true;
65
+ }
57
66
  return item.value.some(filterItem => filterItem.check === true);
58
67
  }
59
68
  observeFilterConfig(newValue, oldValue) {
@@ -255,7 +264,7 @@ export class SnkFilterBar {
255
264
  if (item.type === FilterItemType.DEFAULT_FILTER) {
256
265
  return true;
257
266
  }
258
- return this.filterActiveFilter(item) && (item.groupedItems || item.value != undefined);
267
+ return this.filterActiveFilter(item) && this.hasValidValue(item);
259
268
  }
260
269
  async registryFilterProvider() {
261
270
  this.dataUnit.addFilterProvider(this);
@@ -127,8 +127,17 @@ export class SnkMessageBuilder {
127
127
  const messagesUrl = await this._application.getApplicationPath();
128
128
  const langSuffix = (this._lang !== LangUtils.ELanguages.PT_BR) ? `-${this._lang}` : "";
129
129
  const fileUrl = `${messagesUrl}/messages/appmessages${langSuffix}.js`;
130
- const module = await import(/* webpackIgnore: true */ fileUrl);
131
- return module === null || module === void 0 ? void 0 : module.default;
130
+ const response = await fetch(fileUrl);
131
+ if (!response.ok) {
132
+ throw new Error(`Não foi possível carregar as mensagens: ${response.status} ${response.statusText}`);
133
+ }
134
+ let scriptContent = await response.text();
135
+ if (scriptContent.trim().startsWith('<!DOCTYPE') || scriptContent.trim().startsWith('<html')) {
136
+ throw new Error('Não foi encontrado um arquivo de mensagens válido.');
137
+ }
138
+ scriptContent = scriptContent.replace(/export\s+default\s+/g, 'return ');
139
+ const func = new Function(scriptContent);
140
+ return func();
132
141
  }
133
142
  }
134
143
  export var OperationMap;
@@ -9415,8 +9415,17 @@ class SnkMessageBuilder {
9415
9415
  const messagesUrl = await this._application.getApplicationPath();
9416
9416
  const langSuffix = (this._lang !== LangUtils.ELanguages.PT_BR) ? `-${this._lang}` : "";
9417
9417
  const fileUrl = `${messagesUrl}/messages/appmessages${langSuffix}.js`;
9418
- const module = await import(/* webpackIgnore: true */ fileUrl);
9419
- return module === null || module === void 0 ? void 0 : module.default;
9418
+ const response = await fetch(fileUrl);
9419
+ if (!response.ok) {
9420
+ throw new Error(`Não foi possível carregar as mensagens: ${response.status} ${response.statusText}`);
9421
+ }
9422
+ let scriptContent = await response.text();
9423
+ if (scriptContent.trim().startsWith('<!DOCTYPE') || scriptContent.trim().startsWith('<html')) {
9424
+ throw new Error('Não foi encontrado um arquivo de mensagens válido.');
9425
+ }
9426
+ scriptContent = scriptContent.replace(/export\s+default\s+/g, 'return ');
9427
+ const func = new Function(scriptContent);
9428
+ return func();
9420
9429
  }
9421
9430
  }
9422
9431
  var OperationMap;
@@ -260,10 +260,19 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
260
260
  this.isFilterModalOpen = false;
261
261
  }
262
262
  hasValidValue(item) {
263
- if (item.value === undefined || item.value === null)
263
+ var _a, _b;
264
+ if (item.value === undefined || item.value === null) {
264
265
  return false;
265
- if (!Array.isArray(item.value))
266
+ }
267
+ if (item.type === FilterItemType.PERIOD) {
268
+ return (!!((_a = item.value) === null || _a === void 0 ? void 0 : _a.start) || !!((_b = item.value) === null || _b === void 0 ? void 0 : _b.end));
269
+ }
270
+ if (item.groupedItems) {
266
271
  return true;
272
+ }
273
+ if (!Array.isArray(item.value)) {
274
+ return true;
275
+ }
267
276
  return item.value.some(filterItem => filterItem.check === true);
268
277
  }
269
278
  observeFilterConfig(newValue, oldValue) {
@@ -465,7 +474,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
465
474
  if (item.type === FilterItemType.DEFAULT_FILTER) {
466
475
  return true;
467
476
  }
468
- return this.filterActiveFilter(item) && (item.groupedItems || item.value != undefined);
477
+ return this.filterActiveFilter(item) && this.hasValidValue(item);
469
478
  }
470
479
  async registryFilterProvider() {
471
480
  this.dataUnit.addFilterProvider(this);
@@ -226,6 +226,10 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
226
226
  return ((_a = list === null || list === void 0 ? void 0 : list.filter((val) => val === null || val === void 0 ? void 0 : val.check)) === null || _a === void 0 ? void 0 : _a.length) > 0;
227
227
  }
228
228
  hasActiveValue(config) {
229
+ var _a, _b;
230
+ if (config.type === FilterItemType.PERIOD) {
231
+ return (!!((_a = config.value) === null || _a === void 0 ? void 0 : _a.start) || !!((_b = config.value) === null || _b === void 0 ? void 0 : _b.end));
232
+ }
229
233
  return (config.type !== FilterItemType.MULTI_LIST && config.value !== undefined) || this.hasActiveElements(config.value);
230
234
  }
231
235
  getEnabledChip() {
@@ -1,4 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client';
2
2
  import { ObjectUtils, ApplicationContext } from '@sankhyalabs/core';
3
3
  import { ModalAction } from '@sankhyalabs/ezui/dist/collection/components/ez-modal-container';
4
4
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
@@ -95,6 +95,7 @@ const SnkFilterModal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
95
95
  this.handleClearCustomFilters(customFilters);
96
96
  this.handleClearOthersFilters(otherFilters);
97
97
  multiListFilters.forEach(multiListFilter => this.handleClearSigleFilter(multiListFilter));
98
+ forceUpdate(this);
98
99
  }
99
100
  handleClearOthersFilters(otherFilters) {
100
101
  this.filters = this.filters.map(filter => otherFilters.includes(filter) ? (Object.assign(Object.assign({}, filter), { value: undefined })) : filter);
@@ -266,7 +267,7 @@ const SnkFilterModal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
266
267
  getIformedFiltersCount(listItems) {
267
268
  let countInformedItens = 0;
268
269
  listItems.forEach(localItem => {
269
- var _a, _b, _c, _d, _e, _f;
270
+ var _a, _b, _c, _d, _e, _f, _g, _h;
270
271
  const item = this.filterConfig.find(filter => filter.id === localItem.id);
271
272
  if (FilterItemType.MULTI_LIST === item.type) {
272
273
  countInformedItens += (_e = (_d = (_c = ((_b = (_a = item.value) === null || _a === void 0 ? void 0 : _a.elements) !== null && _b !== void 0 ? _b : item.value)) === null || _c === void 0 ? void 0 : _c.filter(value => value === null || value === void 0 ? void 0 : value.check)) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0;
@@ -278,6 +279,12 @@ const SnkFilterModal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
278
279
  .map(([key, _]) => key).length;
279
280
  return;
280
281
  }
282
+ if (FilterItemType.PERIOD === item.type) {
283
+ if (!!((_g = item.value) === null || _g === void 0 ? void 0 : _g.start) || !!((_h = item.value) === null || _h === void 0 ? void 0 : _h.end)) {
284
+ countInformedItens++;
285
+ }
286
+ return;
287
+ }
281
288
  if (item.groupedItems != undefined) {
282
289
  countInformedItens = item.groupedItems.filter(item => item.visible).length;
283
290
  return;
@@ -105,7 +105,7 @@ const SnkFilterPeriod = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
105
105
  if (this.getVariation() === FilterNumberVariation.INTERVAL) {
106
106
  return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("div", { class: "ez-col ez-col--nowrap" }, h("ez-number-input", { id: `${this.config.id}_start`, class: this.presentationMode === EPresentationMode.MODAL ? 'ez-padding-right--medium' : '', label: this._startIntervalLabel, ref: ref => this._startInterval = ref, value: this.getIntervalValue("start"), enabled: this.config.enabled, precision: (_a = this.config.props) === null || _a === void 0 ? void 0 : _a.precision, errorMessage: this.errorMessage }), this.buildLabel(), h("ez-number-input", { id: `${this.config.id}_end`, label: this._endIntervalLabel, ref: ref => this._endInterval = ref, value: this.getIntervalValue("end"), enabled: this.config.enabled, precision: (_b = this.config.props) === null || _b === void 0 ? void 0 : _b.precision, errorMessage: this.errorMessage }))));
107
107
  }
108
- return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-number-input", { id: this.config.id, ref: ref => this._numberElement = ref, value: this.config.value, precision: (_c = this.config.props) === null || _c === void 0 ? void 0 : _c.precision, enabled: this.config.enabled, errorMessage: this.errorMessage })));
108
+ return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-number-input", { id: this.config.id, label: this.config.label, ref: ref => this._numberElement = ref, value: this.config.value, precision: (_c = this.config.props) === null || _c === void 0 ? void 0 : _c.precision, enabled: this.config.enabled, errorMessage: this.errorMessage })));
109
109
  }
110
110
  get _element() { return this; }
111
111
  }, [0, "snk-filter-number", {
@@ -11,16 +11,17 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
11
11
  this._startDateLabel = 'Inicial';
12
12
  this._endDateLabel = 'Final';
13
13
  this._toLabel = 'até';
14
+ this._defaultEmptyValue = {
15
+ start: null,
16
+ end: null
17
+ };
14
18
  this.internalChange = {
15
19
  start: false,
16
20
  end: false
17
21
  };
18
22
  this.config = undefined;
19
23
  this.getMessage = undefined;
20
- this.value = {
21
- start: null,
22
- end: null
23
- };
24
+ this.value = this._defaultEmptyValue;
24
25
  this.presentationMode = EPresentationMode.CHIP;
25
26
  this.errorMessage = undefined;
26
27
  }
@@ -33,6 +34,10 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
33
34
  this.internalChange.start = false;
34
35
  return;
35
36
  }
37
+ if ((!newValue && oldValue) || (!(newValue === null || newValue === void 0 ? void 0 : newValue.start) && !(newValue === null || newValue === void 0 ? void 0 : newValue.end))) {
38
+ this.clearValue();
39
+ return;
40
+ }
36
41
  if (newValue && (newValue.start !== (oldValue === null || oldValue === void 0 ? void 0 : oldValue.start) || newValue.end !== (oldValue === null || oldValue === void 0 ? void 0 : oldValue.end))) {
37
42
  this.valueStart = this.parseDate(newValue.start);
38
43
  this.valueEnd = this.parseDate(newValue.end);
@@ -54,7 +59,7 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
54
59
  * Limpa o valor do componente restaurando o valor original da configuração.
55
60
  */
56
61
  async clearValue() {
57
- this.value = this.config.value;
62
+ this.value = this.config.value || this._defaultEmptyValue;
58
63
  this.valueStart = this.getDate("start");
59
64
  this.valueEnd = this.getDate("end");
60
65
  }
@@ -43,7 +43,7 @@ const SnkFilterText$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
43
43
  if (!this.config) {
44
44
  return undefined;
45
45
  }
46
- return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-text-input", { id: this.config.id, ref: ref => this._textInputElement = ref, value: this.config.value, mask: (_a = this.config) === null || _a === void 0 ? void 0 : _a.mask, enabled: this.config.enabled, cleanValueMask: true, errorMessage: this.errorMessage })));
46
+ return (h("ez-tooltip", { active: this.config.enabled === false, message: this.config.disabledMessage, type: 'warning' }, h("ez-text-input", { id: this.config.id, label: this.config.label, ref: ref => this._textInputElement = ref, value: this.config.value, mask: (_a = this.config) === null || _a === void 0 ? void 0 : _a.mask, enabled: this.config.enabled, cleanValueMask: true, errorMessage: this.errorMessage })));
47
47
  }
48
48
  get _element() { return this; }
49
49
  }, [0, "snk-filter-text", {
@@ -1,5 +1,5 @@
1
- import { R as ResourceFetcher, F as FormConfigFetcher } from './form-config-fetcher-d0536a71.js';
2
- import { D as DataFetcher, d as dist } from './DataFetcher-5780ad39.js';
1
+ import { R as ResourceFetcher, F as FormConfigFetcher } from './form-config-fetcher-7cda6254.js';
2
+ import { D as DataFetcher, d as dist } from './DataFetcher-0b9da57d.js';
3
3
  import { F as FilterItemType } from './filter-item-type.enum-d45e026f.js';
4
4
  import { ObjectUtils } from '@sankhyalabs/core';
5
5
 
@@ -9415,8 +9415,17 @@ class SnkMessageBuilder {
9415
9415
  const messagesUrl = await this._application.getApplicationPath();
9416
9416
  const langSuffix = (this._lang !== LangUtils.ELanguages.PT_BR) ? `-${this._lang}` : "";
9417
9417
  const fileUrl = `${messagesUrl}/messages/appmessages${langSuffix}.js`;
9418
- const module = await import(/* webpackIgnore: true */ fileUrl);
9419
- return module === null || module === void 0 ? void 0 : module.default;
9418
+ const response = await fetch(fileUrl);
9419
+ if (!response.ok) {
9420
+ throw new Error(`Não foi possível carregar as mensagens: ${response.status} ${response.statusText}`);
9421
+ }
9422
+ let scriptContent = await response.text();
9423
+ if (scriptContent.trim().startsWith('<!DOCTYPE') || scriptContent.trim().startsWith('<html')) {
9424
+ throw new Error('Não foi encontrado um arquivo de mensagens válido.');
9425
+ }
9426
+ scriptContent = scriptContent.replace(/export\s+default\s+/g, 'return ');
9427
+ const func = new Function(scriptContent);
9428
+ return func();
9420
9429
  }
9421
9430
  }
9422
9431
  var OperationMap;
@@ -1,5 +1,5 @@
1
1
  import { UserInterface, DataType, ApplicationContext, ErrorException } from '@sankhyalabs/core';
2
- import { d as dist, D as DataFetcher } from './DataFetcher-5780ad39.js';
2
+ import { d as dist, D as DataFetcher } from './DataFetcher-0b9da57d.js';
3
3
 
4
4
  function buildGridMetadata(rawValue) {
5
5
  const fieldsMetadata = buildFieldsMetadata(rawValue.fieldsMetadata);
@@ -1,6 +1,6 @@
1
1
  import { ObjectUtils, StringUtils } from '@sankhyalabs/core';
2
- import { C as ConfigStorage } from './ConfigStorage-bd096633.js';
3
- import { F as FormConfigFetcher } from './form-config-fetcher-d0536a71.js';
2
+ import { C as ConfigStorage } from './ConfigStorage-39ac8fef.js';
3
+ import { F as FormConfigFetcher } from './form-config-fetcher-7cda6254.js';
4
4
  import { a as TAB_NAMES } from './constants-7b422de0.js';
5
5
 
6
6
  class SnkFormConfigManager {
@@ -1,12 +1,12 @@
1
- import { D as DataFetcher } from './DataFetcher-5780ad39.js';
2
- import './ISave-8a22ec18.js';
1
+ import { D as DataFetcher } from './DataFetcher-0b9da57d.js';
2
+ import './ISave-f1c9269b.js';
3
3
  import { SortMode, ApplicationContext, ObjectUtils, StringUtils, NumberUtils, DataType, UserInterface as UserInterface$1, DateUtils } from '@sankhyalabs/core';
4
4
  import { D as DataExporterOption } from './index-b40568ff.js';
5
5
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
6
6
  import { UserInterface } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
7
- import { P as PreloadManager } from './dataunit-fetcher-c4251d80.js';
7
+ import { P as PreloadManager } from './dataunit-fetcher-4c312b43.js';
8
8
  import './filter-item-type.enum-d45e026f.js';
9
- import './form-config-fetcher-d0536a71.js';
9
+ import './form-config-fetcher-7cda6254.js';
10
10
  import './constants-7b422de0.js';
11
11
  import { h } from './index-479e1293.js';
12
12
  import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo-9fa41508.js';
@@ -1,5 +1,5 @@
1
1
  import { ObjectUtils } from '@sankhyalabs/core';
2
- import { R as ResourceFetcher } from './form-config-fetcher-d0536a71.js';
2
+ import { R as ResourceFetcher } from './form-config-fetcher-7cda6254.js';
3
3
 
4
4
  class AuthFetcher extends ResourceFetcher {
5
5
  getData(resourceID) {
@@ -1,5 +1,5 @@
1
1
  import { ObjectUtils, DataUnit, DataUnitInMemoryLoader, ApplicationContext, StringUtils, UserInterface, DataUnitStorage, DataType, ChangeOperation } from '@sankhyalabs/core';
2
- import { D as DataFetcher, S as SnkMessageBuilder, d as dist } from './DataFetcher-5780ad39.js';
2
+ import { D as DataFetcher, S as SnkMessageBuilder, d as dist } from './DataFetcher-0b9da57d.js';
3
3
  import { DISTINCT_FILTER_NAME_PREFIX } from '@sankhyalabs/ezui/dist/collection/utils/constants';
4
4
  import { DataUnitTransient } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
5
5
  import { ColumnFilterManager } from '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
@@ -1,4 +1,4 @@
1
- import { d as dist, D as DataFetcher } from './DataFetcher-5780ad39.js';
1
+ import { d as dist, D as DataFetcher } from './DataFetcher-0b9da57d.js';
2
2
  import { ObjectUtils } from '@sankhyalabs/core';
3
3
 
4
4
  class ResourceFetcher {
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-479e1293.js';
2
- import { I as InMemoryLoader } from './dataunit-fetcher-c4251d80.js';
3
- import './DataFetcher-5780ad39.js';
4
- import { P as PesquisaFetcher } from './ISave-8a22ec18.js';
2
+ import { I as InMemoryLoader } from './dataunit-fetcher-4c312b43.js';
3
+ import './DataFetcher-0b9da57d.js';
4
+ import { P as PesquisaFetcher } from './ISave-f1c9269b.js';
5
5
  import '@sankhyalabs/core';
6
6
  import './index-b40568ff.js';
7
7
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
8
8
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
- import './form-config-fetcher-d0536a71.js';
10
+ import './form-config-fetcher-7cda6254.js';
11
11
  import './constants-7b422de0.js';
12
12
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
13
13
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-479e1293.js';
2
2
  import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ServiceUtils, StorageType, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
3
- import { D as DataFetcher } from './DataFetcher-5780ad39.js';
3
+ import { D as DataFetcher } from './DataFetcher-0b9da57d.js';
4
4
  import { P as ParamType } from './ParamType-d5152b06.js';
5
- import './ISave-8a22ec18.js';
5
+ import './ISave-f1c9269b.js';
6
6
  import './index-b40568ff.js';
7
7
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
8
8
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
9
- import './dataunit-fetcher-c4251d80.js';
9
+ import './dataunit-fetcher-4c312b43.js';
10
10
  import './filter-item-type.enum-d45e026f.js';
11
- import { F as FormConfigFetcher } from './form-config-fetcher-d0536a71.js';
11
+ import { F as FormConfigFetcher } from './form-config-fetcher-7cda6254.js';
12
12
  import { O as ORDER_VALUES } from './constants-7b422de0.js';
13
13
  import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo-9fa41508.js';
14
14
  import { R as ResourceIDUtils } from './ResourceIDUtils-a114189a.js';
15
15
  import { ApplicationUtils, DialogType, FormLayout } from '@sankhyalabs/ezui/dist/collection/utils';
16
- import { C as ConfigStorage } from './ConfigStorage-bd096633.js';
16
+ import { C as ConfigStorage } from './ConfigStorage-39ac8fef.js';
17
17
  import { S as ServicesNumberingConfig } from './ServicesNumberingConfig-2f7b050e.js';
18
18
  import './PrintUtils-3e4ff0f5.js';
19
19
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-479e1293.js';
2
2
  import { DateUtils, StringUtils, ObjectUtils, WaitingChangeException, SilentException, WarningException, ErrorException, ElementIDUtils, SearchUtils, ArrayUtils, KeyboardManager, OnboardingUtils, DependencyType, DataType, ApplicationContext, ErrorTracking, UserAgentUtils, LockManager, LockManagerOperation } from '@sankhyalabs/core';
3
3
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
4
- import { C as ConfigStorage } from './ConfigStorage-bd096633.js';
5
- import { d as dist, D as DataFetcher, U as UrlUtils, S as SnkMessageBuilder } from './DataFetcher-5780ad39.js';
6
- import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-28b9d0db.js';
7
- import { P as PreloadManager, D as DataUnitFetcher } from './dataunit-fetcher-c4251d80.js';
8
- import { P as PesquisaFetcher } from './ISave-8a22ec18.js';
4
+ import { C as ConfigStorage } from './ConfigStorage-39ac8fef.js';
5
+ import { d as dist, D as DataFetcher, U as UrlUtils, S as SnkMessageBuilder } from './DataFetcher-0b9da57d.js';
6
+ import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-acdc1cb4.js';
7
+ import { P as PreloadManager, D as DataUnitFetcher } from './dataunit-fetcher-4c312b43.js';
8
+ import { P as PesquisaFetcher } from './ISave-f1c9269b.js';
9
9
  import { T as TEMPLATES_SKELETON } from './constants-7b422de0.js';
10
10
  import './index-b40568ff.js';
11
11
  import './filter-item-type.enum-d45e026f.js';
12
- import { F as FormConfigFetcher } from './form-config-fetcher-d0536a71.js';
12
+ import { F as FormConfigFetcher } from './form-config-fetcher-7cda6254.js';
13
13
  import './PrintUtils-3e4ff0f5.js';
14
14
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
15
15
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-479e1293.js';
2
2
  import { ApplicationContext, DataType, Action, UserInterface, StringUtils, DataUnitLoaderUtils, DataUnit } from '@sankhyalabs/core';
3
- import { D as DataFetcher, S as SnkMessageBuilder } from './DataFetcher-5780ad39.js';
4
- import { S as SaveErrorsEnum } from './ISave-8a22ec18.js';
3
+ import { D as DataFetcher, S as SnkMessageBuilder } from './DataFetcher-0b9da57d.js';
4
+ import { S as SaveErrorsEnum } from './ISave-f1c9269b.js';
5
5
  import './index-b40568ff.js';
6
- import { P as PreloadManager, D as DataUnitFetcher, I as InMemoryLoader } from './dataunit-fetcher-c4251d80.js';
6
+ import { P as PreloadManager, D as DataUnitFetcher, I as InMemoryLoader } from './dataunit-fetcher-4c312b43.js';
7
7
  import './filter-item-type.enum-d45e026f.js';
8
- import './form-config-fetcher-d0536a71.js';
8
+ import './form-config-fetcher-7cda6254.js';
9
9
  import { V as VIEW_MODE } from './constants-7b422de0.js';
10
- import { A as AutorizationType } from './auth-fetcher-28b9d0db.js';
10
+ import { A as AutorizationType } from './auth-fetcher-acdc1cb4.js';
11
11
  import { T as TaskbarElement } from './taskbar-elements-faaf5d8f.js';
12
12
  import './PrintUtils-3e4ff0f5.js';
13
13
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-479e1293.js';
2
2
  import { Action, StringUtils, ElementIDUtils, ApplicationContext, KeyboardManager } from '@sankhyalabs/core';
3
- import './DataFetcher-5780ad39.js';
4
- import './ISave-8a22ec18.js';
3
+ import './DataFetcher-0b9da57d.js';
4
+ import './ISave-f1c9269b.js';
5
5
  import { P as PresentationMode, E as ExporterStrategy } from './index-b40568ff.js';
6
6
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
7
7
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
8
- import './dataunit-fetcher-c4251d80.js';
8
+ import './dataunit-fetcher-4c312b43.js';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
- import './form-config-fetcher-d0536a71.js';
10
+ import './form-config-fetcher-7cda6254.js';
11
11
  import { V as VIEW_MODE } from './constants-7b422de0.js';
12
- import { A as AutorizationType } from './auth-fetcher-28b9d0db.js';
12
+ import { A as AutorizationType } from './auth-fetcher-acdc1cb4.js';
13
13
  import { S as ServicesNumberingConfig } from './ServicesNumberingConfig-2f7b050e.js';
14
14
  import { T as TaskbarElement } from './taskbar-elements-faaf5d8f.js';
15
15
  import './PrintUtils-3e4ff0f5.js';