@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-55396.1 → 0.0.0-bugfix-dev-KB-57523.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/cjs/{IExporterProvider-e895a65b.js → IExporterProvider-c307e2b1.js} +1 -1
  2. package/dist/cjs/{pesquisa-fetcher-007b0b20.js → pesquisa-fetcher-cbdaba63.js} +4 -4
  3. package/dist/cjs/snk-actions-button_4.cjs.entry.js +1 -1
  4. package/dist/cjs/snk-application.cjs.entry.js +1 -1
  5. package/dist/cjs/snk-attach.cjs.entry.js +16 -21
  6. package/dist/cjs/snk-crud.cjs.entry.js +1 -1
  7. package/dist/cjs/snk-data-exporter.cjs.entry.js +1 -1
  8. package/dist/cjs/snk-detail-view.cjs.entry.js +2 -2
  9. package/dist/cjs/snk-grid.cjs.entry.js +2 -2
  10. package/dist/cjs/{snk-guides-viewer-4b9325a1.js → snk-guides-viewer-b0c44e0c.js} +1 -1
  11. package/dist/cjs/snk-guides-viewer.cjs.entry.js +2 -2
  12. package/dist/cjs/snk-simple-crud.cjs.entry.js +2 -2
  13. package/dist/collection/components/snk-attach/snk-attach.js +21 -29
  14. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +4 -4
  15. package/dist/components/dataunit-fetcher.js +4 -4
  16. package/dist/components/snk-attach2.js +15 -20
  17. package/dist/esm/{IExporterProvider-95e5915d.js → IExporterProvider-e2a1195d.js} +1 -1
  18. package/dist/esm/{pesquisa-fetcher-45514372.js → pesquisa-fetcher-6d8e50bb.js} +4 -4
  19. package/dist/esm/snk-actions-button_4.entry.js +1 -1
  20. package/dist/esm/snk-application.entry.js +1 -1
  21. package/dist/esm/snk-attach.entry.js +16 -21
  22. package/dist/esm/snk-crud.entry.js +1 -1
  23. package/dist/esm/snk-data-exporter.entry.js +1 -1
  24. package/dist/esm/snk-detail-view.entry.js +2 -2
  25. package/dist/esm/snk-grid.entry.js +2 -2
  26. package/dist/esm/{snk-guides-viewer-dd85bafc.js → snk-guides-viewer-1fd41a25.js} +1 -1
  27. package/dist/esm/snk-guides-viewer.entry.js +2 -2
  28. package/dist/esm/snk-simple-crud.entry.js +2 -2
  29. package/dist/sankhyablocks/{p-d8711aff.js → p-3357af48.js} +1 -1
  30. package/dist/sankhyablocks/{p-6d1044f2.js → p-3c2a1f4d.js} +1 -1
  31. package/dist/sankhyablocks/{p-5d9145ba.js → p-3e7167dd.js} +1 -1
  32. package/dist/sankhyablocks/{p-edb61a19.entry.js → p-587f9dcf.entry.js} +1 -1
  33. package/dist/sankhyablocks/{p-c1396626.entry.js → p-61b6126e.entry.js} +1 -1
  34. package/dist/sankhyablocks/{p-5c705ea6.entry.js → p-6a7bc5c8.entry.js} +1 -1
  35. package/dist/sankhyablocks/{p-66c0768a.entry.js → p-6c9edfd8.entry.js} +1 -1
  36. package/dist/sankhyablocks/{p-1a57b813.entry.js → p-89bde7d3.entry.js} +1 -1
  37. package/dist/sankhyablocks/{p-daace51f.entry.js → p-91dceecf.entry.js} +1 -1
  38. package/dist/sankhyablocks/{p-f08071e0.entry.js → p-a40cbad8.entry.js} +1 -1
  39. package/dist/sankhyablocks/{p-a7094d19.entry.js → p-d8ddb2a4.entry.js} +1 -1
  40. package/dist/sankhyablocks/{p-f5450592.entry.js → p-f92f1f5f.entry.js} +1 -1
  41. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  42. package/dist/types/components/snk-attach/snk-attach.d.ts +9 -9
  43. package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +1 -0
  44. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
4
- const pesquisaFetcher = require('./pesquisa-fetcher-007b0b20.js');
4
+ const pesquisaFetcher = require('./pesquisa-fetcher-cbdaba63.js');
5
5
  const core = require('@sankhyalabs/core');
6
6
  require('./index-0922807b.js');
7
7
  require('./ISave-e91b70a7.js');
@@ -1044,12 +1044,12 @@ class PesquisaFetcher {
1044
1044
  });
1045
1045
  }
1046
1046
  loadAdvancedSearch(entityName, argument, criteria, searchOptions) {
1047
- var _a, _b, _c, _d;
1047
+ var _a, _b, _c, _d, _e;
1048
1048
  const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, searchOptions);
1049
1049
  const values = {
1050
1050
  argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
1051
1051
  criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
1052
- searchOptions: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions) || searchOptions,
1052
+ searchOptions: Object.assign(Object.assign({}, searchOptions), listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions),
1053
1053
  };
1054
1054
  const serviceName = "PesquisaSP.getSuggestion";
1055
1055
  const externalCriteria = {
@@ -1080,11 +1080,11 @@ class PesquisaFetcher {
1080
1080
  };
1081
1081
  }
1082
1082
  const options = searchOptions != undefined
1083
- ? Object.assign(Object.assign({}, searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
1083
+ ? Object.assign(Object.assign({}, values === null || values === void 0 ? void 0 : values.searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
1084
1084
  const reqBody = {
1085
1085
  "serviceName": serviceName,
1086
1086
  "requestBody": {
1087
- "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_d = values.searchOptions) === null || _d === void 0 ? void 0 : _d.rootEntity }, { options }),
1087
+ "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": (_d = options === null || options === void 0 ? void 0 : options.ignoreEntityCriteria) !== null && _d !== void 0 ? _d : false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_e = values.searchOptions) === null || _e === void 0 ? void 0 : _e.rootEntity }, { options }),
1088
1088
  "clientEventList": {
1089
1089
  "clientEvent": []
1090
1090
  }
@@ -6,7 +6,7 @@ const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
8
8
  const ParamType = require('./ParamType-90b440a0.js');
9
- require('./pesquisa-fetcher-007b0b20.js');
9
+ require('./pesquisa-fetcher-cbdaba63.js');
10
10
  require('./index-0922807b.js');
11
11
  require('./ISave-e91b70a7.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
@@ -8,7 +8,7 @@ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const ConfigStorage = require('./ConfigStorage-7df9d3bb.js');
9
9
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
10
10
  const authFetcher = require('./auth-fetcher-e6112be7.js');
11
- const pesquisaFetcher = require('./pesquisa-fetcher-007b0b20.js');
11
+ const pesquisaFetcher = require('./pesquisa-fetcher-cbdaba63.js');
12
12
  const SnkMessageBuilder = require('./SnkMessageBuilder-66aa2557.js');
13
13
  require('./filter-item-type.enum-a7ffdaa6.js');
14
14
  require('./PrintUtils-bcaeb82f.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
8
- const pesquisaFetcher = require('./pesquisa-fetcher-007b0b20.js');
8
+ const pesquisaFetcher = require('./pesquisa-fetcher-cbdaba63.js');
9
9
  require('./index-0922807b.js');
10
10
  const ISave = require('./ISave-e91b70a7.js');
11
11
  require('./filter-item-type.enum-a7ffdaa6.js');
@@ -652,25 +652,22 @@ const SnkAttach = class {
652
652
  this._currentDataUnit = undefined;
653
653
  this.crudConfig = undefined;
654
654
  }
655
- registerKeyWatcher(newRegisterKey, oldRegisterKey) {
655
+ async initAttach() {
656
656
  var _a, _b, _c, _d, _e, _f;
657
- if (!this._currentDataUnit) {
658
- this.loadAttachmentDataUnit();
657
+ await this.loadAttachmentDataUnit();
658
+ this.returnToGridMode();
659
+ if (this.fetcherType === "AnexoSistema") {
660
+ this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
661
+ (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
662
+ await ((_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData());
663
+ return;
659
664
  }
660
- if (oldRegisterKey !== newRegisterKey) {
661
- this.returnToGridMode();
662
- if (this.fetcherType === "AnexoSistema") {
663
- this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
664
- (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
665
- return (_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData();
666
- }
667
- if (this.fetcherType === "Attach") {
668
- const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
669
- if (hasMoreOneItem)
670
- return;
671
- }
672
- return (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
665
+ if (this.fetcherType === "Attach") {
666
+ const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
667
+ if (hasMoreOneItem)
668
+ return;
673
669
  }
670
+ (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
674
671
  }
675
672
  /**
676
673
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -792,8 +789,9 @@ const SnkAttach = class {
792
789
  }
793
790
  });
794
791
  }
795
- componentWillLoad() {
792
+ async componentWillLoad() {
796
793
  this._application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
794
+ await this.initAttach();
797
795
  }
798
796
  componentWillRender() {
799
797
  if (!this.fetcherType) {
@@ -821,9 +819,6 @@ const SnkAttach = class {
821
819
  return null;
822
820
  return (index.h("main", { class: "snk-attach__main" }, index.h("header", { class: "snk-attach__header" }, index.h("snk-simple-bar", { onExit: this.handleBack, messagesBuilder: this.messagesBuilder }, index.h("div", { slot: "rightSlot" }, index.h("ez-button", { class: "ez-button--primary", label: this.getMessage("snkAttach.finish"), onClick: this.handleFinish })))), index.h("div", { class: "snk-attach__crud-section ez-size-height--full ez-size-width--full ez-flex ez-flex--column" }, index.h("div", { class: "ez-box__container" }, index.h("snk-simple-crud", { ref: (el) => this._crudElement = el, dataUnit: this._currentDataUnit, taskbarManager: buildTaskBarManager(), gridConfig: (_a = this.crudConfig) === null || _a === void 0 ? void 0 : _a.grid, formConfig: (_b = this.crudConfig) === null || _b === void 0 ? void 0 : _b.form, useCancelConfirm: false, onActionClick: this.handleTaskbarClick, messagesBuilder: this.messagesBuilder, onDataStateChange: this.handleOnDataStateChange.bind(this) }, index.h("div", { slot: "snkSimpleCrudHeader" }, index.h("div", { class: "ez-flex ez-flex--column" }, index.h("span", { class: "ez-title--primary ez-text ez-text--large ez-text--bold ez-padding-bottom--medium" }, this.getMessage("snkAttach.title")), index.h("span", { class: "ez-text ez-text--medium ez-text--secondary" }, this.getMessage("snkAttach.description")))))))));
823
821
  }
824
- static get watchers() { return {
825
- "registerKey": ["registerKeyWatcher"]
826
- }; }
827
822
  };
828
823
  SnkAttach.style = snkAttachCss;
829
824
 
@@ -6,7 +6,7 @@ const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const taskbarElements = require('./taskbar-elements-d9392685.js');
8
8
  require('./form-config-fetcher-3c4daeb5.js');
9
- require('./pesquisa-fetcher-007b0b20.js');
9
+ require('./pesquisa-fetcher-cbdaba63.js');
10
10
  const index$1 = require('./index-0922807b.js');
11
11
  require('./ISave-e91b70a7.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
@@ -9,7 +9,7 @@ const index = require('./index-0922807b.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
10
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
11
11
  const snkDataUnit = require('./snk-data-unit-abd2113f.js');
12
- require('./pesquisa-fetcher-007b0b20.js');
12
+ require('./pesquisa-fetcher-cbdaba63.js');
13
13
  require('./ISave-e91b70a7.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -7,7 +7,7 @@ const core = require('@sankhyalabs/core');
7
7
  const SnkFormConfigManager = require('./SnkFormConfigManager-4259edbe.js');
8
8
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
9
9
  require('./form-config-fetcher-3c4daeb5.js');
10
- require('./pesquisa-fetcher-007b0b20.js');
10
+ require('./pesquisa-fetcher-cbdaba63.js');
11
11
  const index$1 = require('./index-0922807b.js');
12
12
  require('./ISave-e91b70a7.js');
13
13
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
@@ -15,7 +15,7 @@ require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
  require('./filter-item-type.enum-a7ffdaa6.js');
16
16
  const taskbarElements = require('./taskbar-elements-d9392685.js');
17
17
  const constants = require('./constants-35ddd366.js');
18
- const snkGuidesViewer = require('./snk-guides-viewer-4b9325a1.js');
18
+ const snkGuidesViewer = require('./snk-guides-viewer-b0c44e0c.js');
19
19
  const SnkMessageBuilder = require('./SnkMessageBuilder-66aa2557.js');
20
20
  require('./ConfigStorage-7df9d3bb.js');
21
21
  require('./PrintUtils-bcaeb82f.js');
@@ -9,10 +9,10 @@ const ConfigStorage = require('./ConfigStorage-7df9d3bb.js');
9
9
  const index$1 = require('./index-0922807b.js');
10
10
  const fieldSearch = require('./field-search-f56aa7d6.js');
11
11
  const index$2 = require('./index-102ba62d.js');
12
- const IExporterProvider = require('./IExporterProvider-e895a65b.js');
12
+ const IExporterProvider = require('./IExporterProvider-c307e2b1.js');
13
13
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
14
14
  require('./form-config-fetcher-3c4daeb5.js');
15
- require('./pesquisa-fetcher-007b0b20.js');
15
+ require('./pesquisa-fetcher-cbdaba63.js');
16
16
  require('./ISave-e91b70a7.js');
17
17
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
18
18
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -8,7 +8,7 @@ const fieldSearch = require('./field-search-f56aa7d6.js');
8
8
  const taskbarElements = require('./taskbar-elements-d9392685.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
10
  require('./form-config-fetcher-3c4daeb5.js');
11
- require('./pesquisa-fetcher-007b0b20.js');
11
+ require('./pesquisa-fetcher-cbdaba63.js');
12
12
  const index$1 = require('./index-0922807b.js');
13
13
  require('./ISave-e91b70a7.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkGuidesViewer = require('./snk-guides-viewer-4b9325a1.js');
5
+ const snkGuidesViewer = require('./snk-guides-viewer-b0c44e0c.js');
6
6
  require('./index-f9e81701.js');
7
7
  require('@sankhyalabs/core');
8
8
  require('./SnkFormConfigManager-4259edbe.js');
@@ -17,7 +17,7 @@ require('./taskbar-elements-d9392685.js');
17
17
  require('./index-0922807b.js');
18
18
  require('./index-102ba62d.js');
19
19
  require('./constants-35ddd366.js');
20
- require('./pesquisa-fetcher-007b0b20.js');
20
+ require('./pesquisa-fetcher-cbdaba63.js');
21
21
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
22
22
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
23
23
  require('@sankhyalabs/core/dist/utils/SortingUtils');
@@ -8,8 +8,8 @@ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const constants = require('./constants-35ddd366.js');
9
9
  const taskbarElements = require('./taskbar-elements-d9392685.js');
10
10
  const formConfigFetcher = require('./form-config-fetcher-3c4daeb5.js');
11
- const pesquisaFetcher = require('./pesquisa-fetcher-007b0b20.js');
12
- const IExporterProvider = require('./IExporterProvider-e895a65b.js');
11
+ const pesquisaFetcher = require('./pesquisa-fetcher-cbdaba63.js');
12
+ const IExporterProvider = require('./IExporterProvider-c307e2b1.js');
13
13
  const index = require('./index-0922807b.js');
14
14
  require('./ISave-e91b70a7.js');
15
15
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
@@ -1,9 +1,9 @@
1
- import { h } from "@stencil/core";
2
- import { DataUnit, ApplicationContext, Action } from "@sankhyalabs/core";
3
- import { AnexoSistemaFetcher, AttachFetcher, DataUnitFetcher } from "../../lib";
4
- import { VIEW_MODE } from "../../lib/utils/constants";
5
- import { AnexoSistemaDataUnitFactory, AttachFetcherDataUnitFactory, buildTaskBarManager, anexoSistemaCrudConfig, attachCrudConfig } from "./structure";
6
- import InMemoryLoader from "../../lib/dataUnit/InMemoryLoader";
1
+ import { h } from '@stencil/core';
2
+ import { Action, ApplicationContext, DataUnit } from '@sankhyalabs/core';
3
+ import { AnexoSistemaFetcher, AttachFetcher, DataUnitFetcher } from '../../lib';
4
+ import { VIEW_MODE } from '../../lib/utils/constants';
5
+ import { anexoSistemaCrudConfig, AnexoSistemaDataUnitFactory, attachCrudConfig, AttachFetcherDataUnitFactory, buildTaskBarManager, } from './structure';
6
+ import InMemoryLoader from '../../lib/dataUnit/InMemoryLoader';
7
7
  const RESOURCE_ID = 'AnexoSistema';
8
8
  const DATA_UNIT_NAME = 'br.com.sankhya.core.v3.anexoSistema';
9
9
  export class SnkAttach {
@@ -40,25 +40,22 @@ export class SnkAttach {
40
40
  this._currentDataUnit = undefined;
41
41
  this.crudConfig = undefined;
42
42
  }
43
- registerKeyWatcher(newRegisterKey, oldRegisterKey) {
43
+ async initAttach() {
44
44
  var _a, _b, _c, _d, _e, _f;
45
- if (!this._currentDataUnit) {
46
- this.loadAttachmentDataUnit();
45
+ await this.loadAttachmentDataUnit();
46
+ this.returnToGridMode();
47
+ if (this.fetcherType === "AnexoSistema") {
48
+ this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
49
+ (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
50
+ await ((_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData());
51
+ return;
47
52
  }
48
- if (oldRegisterKey !== newRegisterKey) {
49
- this.returnToGridMode();
50
- if (this.fetcherType === "AnexoSistema") {
51
- this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
52
- (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
53
- return (_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData();
54
- }
55
- if (this.fetcherType === "Attach") {
56
- const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
57
- if (hasMoreOneItem)
58
- return;
59
- }
60
- return (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
53
+ if (this.fetcherType === "Attach") {
54
+ const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
55
+ if (hasMoreOneItem)
56
+ return;
61
57
  }
58
+ (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
62
59
  }
63
60
  /**
64
61
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -180,8 +177,9 @@ export class SnkAttach {
180
177
  }
181
178
  });
182
179
  }
183
- componentWillLoad() {
180
+ async componentWillLoad() {
184
181
  this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
182
+ await this.initAttach();
185
183
  }
186
184
  componentWillRender() {
187
185
  if (!this.fetcherType) {
@@ -386,10 +384,4 @@ export class SnkAttach {
386
384
  }
387
385
  }];
388
386
  }
389
- static get watchers() {
390
- return [{
391
- "propName": "registerKey",
392
- "methodName": "registerKeyWatcher"
393
- }];
394
- }
395
387
  }
@@ -50,12 +50,12 @@ export class PesquisaFetcher {
50
50
  });
51
51
  }
52
52
  loadAdvancedSearch(entityName, argument, criteria, searchOptions) {
53
- var _a, _b, _c, _d;
53
+ var _a, _b, _c, _d, _e;
54
54
  const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, searchOptions);
55
55
  const values = {
56
56
  argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
57
57
  criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
58
- searchOptions: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions) || searchOptions,
58
+ searchOptions: Object.assign(Object.assign({}, searchOptions), listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions),
59
59
  };
60
60
  const serviceName = "PesquisaSP.getSuggestion";
61
61
  const externalCriteria = {
@@ -86,11 +86,11 @@ export class PesquisaFetcher {
86
86
  };
87
87
  }
88
88
  const options = searchOptions != undefined
89
- ? Object.assign(Object.assign({}, searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
89
+ ? Object.assign(Object.assign({}, values === null || values === void 0 ? void 0 : values.searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
90
90
  const reqBody = {
91
91
  "serviceName": serviceName,
92
92
  "requestBody": {
93
- "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_d = values.searchOptions) === null || _d === void 0 ? void 0 : _d.rootEntity }, { options }),
93
+ "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": (_d = options === null || options === void 0 ? void 0 : options.ignoreEntityCriteria) !== null && _d !== void 0 ? _d : false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_e = values.searchOptions) === null || _e === void 0 ? void 0 : _e.rootEntity }, { options }),
94
94
  "clientEventList": {
95
95
  "clientEvent": []
96
96
  }
@@ -55,12 +55,12 @@ class PesquisaFetcher {
55
55
  });
56
56
  }
57
57
  loadAdvancedSearch(entityName, argument, criteria, searchOptions) {
58
- var _a, _b, _c, _d;
58
+ var _a, _b, _c, _d, _e;
59
59
  const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, searchOptions);
60
60
  const values = {
61
61
  argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
62
62
  criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
63
- searchOptions: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions) || searchOptions,
63
+ searchOptions: Object.assign(Object.assign({}, searchOptions), listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions),
64
64
  };
65
65
  const serviceName = "PesquisaSP.getSuggestion";
66
66
  const externalCriteria = {
@@ -91,11 +91,11 @@ class PesquisaFetcher {
91
91
  };
92
92
  }
93
93
  const options = searchOptions != undefined
94
- ? Object.assign(Object.assign({}, searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
94
+ ? Object.assign(Object.assign({}, values === null || values === void 0 ? void 0 : values.searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
95
95
  const reqBody = {
96
96
  "serviceName": serviceName,
97
97
  "requestBody": {
98
- "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_d = values.searchOptions) === null || _d === void 0 ? void 0 : _d.rootEntity }, { options }),
98
+ "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": (_d = options === null || options === void 0 ? void 0 : options.ignoreEntityCriteria) !== null && _d !== void 0 ? _d : false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_e = values.searchOptions) === null || _e === void 0 ? void 0 : _e.rootEntity }, { options }),
99
99
  "clientEventList": {
100
100
  "clientEvent": []
101
101
  }
@@ -655,25 +655,22 @@ const SnkAttach = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
655
655
  this._currentDataUnit = undefined;
656
656
  this.crudConfig = undefined;
657
657
  }
658
- registerKeyWatcher(newRegisterKey, oldRegisterKey) {
658
+ async initAttach() {
659
659
  var _a, _b, _c, _d, _e, _f;
660
- if (!this._currentDataUnit) {
661
- this.loadAttachmentDataUnit();
660
+ await this.loadAttachmentDataUnit();
661
+ this.returnToGridMode();
662
+ if (this.fetcherType === "AnexoSistema") {
663
+ this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
664
+ (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
665
+ await ((_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData());
666
+ return;
662
667
  }
663
- if (oldRegisterKey !== newRegisterKey) {
664
- this.returnToGridMode();
665
- if (this.fetcherType === "AnexoSistema") {
666
- this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
667
- (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
668
- return (_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData();
669
- }
670
- if (this.fetcherType === "Attach") {
671
- const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
672
- if (hasMoreOneItem)
673
- return;
674
- }
675
- return (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
668
+ if (this.fetcherType === "Attach") {
669
+ const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
670
+ if (hasMoreOneItem)
671
+ return;
676
672
  }
673
+ (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
677
674
  }
678
675
  /**
679
676
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -795,8 +792,9 @@ const SnkAttach = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
795
792
  }
796
793
  });
797
794
  }
798
- componentWillLoad() {
795
+ async componentWillLoad() {
799
796
  this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
797
+ await this.initAttach();
800
798
  }
801
799
  componentWillRender() {
802
800
  if (!this.fetcherType) {
@@ -824,9 +822,6 @@ const SnkAttach = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
824
822
  return null;
825
823
  return (h("main", { class: "snk-attach__main" }, h("header", { class: "snk-attach__header" }, h("snk-simple-bar", { onExit: this.handleBack, messagesBuilder: this.messagesBuilder }, h("div", { slot: "rightSlot" }, h("ez-button", { class: "ez-button--primary", label: this.getMessage("snkAttach.finish"), onClick: this.handleFinish })))), h("div", { class: "snk-attach__crud-section ez-size-height--full ez-size-width--full ez-flex ez-flex--column" }, h("div", { class: "ez-box__container" }, h("snk-simple-crud", { ref: (el) => this._crudElement = el, dataUnit: this._currentDataUnit, taskbarManager: buildTaskBarManager(), gridConfig: (_a = this.crudConfig) === null || _a === void 0 ? void 0 : _a.grid, formConfig: (_b = this.crudConfig) === null || _b === void 0 ? void 0 : _b.form, useCancelConfirm: false, onActionClick: this.handleTaskbarClick, messagesBuilder: this.messagesBuilder, onDataStateChange: this.handleOnDataStateChange.bind(this) }, h("div", { slot: "snkSimpleCrudHeader" }, h("div", { class: "ez-flex ez-flex--column" }, h("span", { class: "ez-title--primary ez-text ez-text--large ez-text--bold ez-padding-bottom--medium" }, this.getMessage("snkAttach.title")), h("span", { class: "ez-text ez-text--medium ez-text--secondary" }, this.getMessage("snkAttach.description")))))))));
826
824
  }
827
- static get watchers() { return {
828
- "registerKey": ["registerKeyWatcher"]
829
- }; }
830
825
  static get style() { return snkAttachCss; }
831
826
  }, [2, "snk-attach", {
832
827
  "fetcherType": [1, "fetcher-type"],
@@ -1,5 +1,5 @@
1
1
  import { D as DataFetcher } from './form-config-fetcher-e3094014.js';
2
- import { a as PreloadManager } from './pesquisa-fetcher-45514372.js';
2
+ import { a as PreloadManager } from './pesquisa-fetcher-6d8e50bb.js';
3
3
  import { SortMode, ApplicationContext, UserInterface, DateUtils, DataType } from '@sankhyalabs/core';
4
4
  import './index-0ece87a6.js';
5
5
  import './ISave-d8c8bc59.js';
@@ -1038,12 +1038,12 @@ class PesquisaFetcher {
1038
1038
  });
1039
1039
  }
1040
1040
  loadAdvancedSearch(entityName, argument, criteria, searchOptions) {
1041
- var _a, _b, _c, _d;
1041
+ var _a, _b, _c, _d, _e;
1042
1042
  const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, searchOptions);
1043
1043
  const values = {
1044
1044
  argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
1045
1045
  criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
1046
- searchOptions: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions) || searchOptions,
1046
+ searchOptions: Object.assign(Object.assign({}, searchOptions), listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions),
1047
1047
  };
1048
1048
  const serviceName = "PesquisaSP.getSuggestion";
1049
1049
  const externalCriteria = {
@@ -1074,11 +1074,11 @@ class PesquisaFetcher {
1074
1074
  };
1075
1075
  }
1076
1076
  const options = searchOptions != undefined
1077
- ? Object.assign(Object.assign({}, searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
1077
+ ? Object.assign(Object.assign({}, values === null || values === void 0 ? void 0 : values.searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
1078
1078
  const reqBody = {
1079
1079
  "serviceName": serviceName,
1080
1080
  "requestBody": {
1081
- "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_d = values.searchOptions) === null || _d === void 0 ? void 0 : _d.rootEntity }, { options }),
1081
+ "criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": (_d = options === null || options === void 0 ? void 0 : options.ignoreEntityCriteria) !== null && _d !== void 0 ? _d : false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_e = values.searchOptions) === null || _e === void 0 ? void 0 : _e.rootEntity }, { options }),
1082
1082
  "clientEventList": {
1083
1083
  "clientEvent": []
1084
1084
  }
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent
2
2
  import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { D as DataFetcher } from './form-config-fetcher-e3094014.js';
4
4
  import { P as ParamType } from './ParamType-d5152b06.js';
5
- import './pesquisa-fetcher-45514372.js';
5
+ import './pesquisa-fetcher-6d8e50bb.js';
6
6
  import './index-0ece87a6.js';
7
7
  import './ISave-d8c8bc59.js';
8
8
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
@@ -4,7 +4,7 @@ import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
4
4
  import { C as ConfigStorage } from './ConfigStorage-928c3bf4.js';
5
5
  import { d as dist, D as DataFetcher, U as UrlUtils } from './form-config-fetcher-e3094014.js';
6
6
  import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-e1cb288f.js';
7
- import { D as DataUnitFetcher, P as PesquisaFetcher } from './pesquisa-fetcher-45514372.js';
7
+ import { D as DataUnitFetcher, P as PesquisaFetcher } from './pesquisa-fetcher-6d8e50bb.js';
8
8
  import { S as SnkMessageBuilder } from './SnkMessageBuilder-0a4becdd.js';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
10
  import './PrintUtils-3e4ff0f5.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-a7d3d3f1.js';
2
2
  import { ApplicationContext, DataType, Action, UserInterface, StringUtils, DataUnit } from '@sankhyalabs/core';
3
3
  import { D as DataFetcher } from './form-config-fetcher-e3094014.js';
4
- import { a as PreloadManager, b as applyFilter, c as applySorting, d as buildPaginationInfo, D as DataUnitFetcher, I as InMemoryLoader } from './pesquisa-fetcher-45514372.js';
4
+ import { a as PreloadManager, b as applyFilter, c as applySorting, d as buildPaginationInfo, D as DataUnitFetcher, I as InMemoryLoader } from './pesquisa-fetcher-6d8e50bb.js';
5
5
  import './index-0ece87a6.js';
6
6
  import { S as SaveErrorsEnum } from './ISave-d8c8bc59.js';
7
7
  import './filter-item-type.enum-d45e026f.js';
@@ -648,25 +648,22 @@ const SnkAttach = class {
648
648
  this._currentDataUnit = undefined;
649
649
  this.crudConfig = undefined;
650
650
  }
651
- registerKeyWatcher(newRegisterKey, oldRegisterKey) {
651
+ async initAttach() {
652
652
  var _a, _b, _c, _d, _e, _f;
653
- if (!this._currentDataUnit) {
654
- this.loadAttachmentDataUnit();
653
+ await this.loadAttachmentDataUnit();
654
+ this.returnToGridMode();
655
+ if (this.fetcherType === "AnexoSistema") {
656
+ this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
657
+ (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
658
+ await ((_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData());
659
+ return;
655
660
  }
656
- if (oldRegisterKey !== newRegisterKey) {
657
- this.returnToGridMode();
658
- if (this.fetcherType === "AnexoSistema") {
659
- this._currentFetcher = new AnexoSistemaFetcher(this.entityName, this.registerKey, (_a = this._currentDataUnit) === null || _a === void 0 ? void 0 : _a.name);
660
- (_b = this._currentDataUnitBuilder) === null || _b === void 0 ? void 0 : _b.initLoaders(this._currentDataUnit, this._currentFetcher, this.returnToGridMode.bind(this));
661
- return (_c = this._currentDataUnit) === null || _c === void 0 ? void 0 : _c.loadData();
662
- }
663
- if (this.fetcherType === "Attach") {
664
- const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
665
- if (hasMoreOneItem)
666
- return;
667
- }
668
- return (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
661
+ if (this.fetcherType === "Attach") {
662
+ const hasMoreOneItem = ((_d = this.registerKey) === null || _d === void 0 ? void 0 : _d.split("_").length) > 1;
663
+ if (hasMoreOneItem)
664
+ return;
669
665
  }
666
+ (_f = (_e = this._currentDataUnit) === null || _e === void 0 ? void 0 : _e.loadMetadata()) === null || _f === void 0 ? void 0 : _f.then(this._currentDataUnit.loadData.bind(undefined, undefined, true, this.registerKey));
670
667
  }
671
668
  /**
672
669
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -788,8 +785,9 @@ const SnkAttach = class {
788
785
  }
789
786
  });
790
787
  }
791
- componentWillLoad() {
788
+ async componentWillLoad() {
792
789
  this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
790
+ await this.initAttach();
793
791
  }
794
792
  componentWillRender() {
795
793
  if (!this.fetcherType) {
@@ -817,9 +815,6 @@ const SnkAttach = class {
817
815
  return null;
818
816
  return (h("main", { class: "snk-attach__main" }, h("header", { class: "snk-attach__header" }, h("snk-simple-bar", { onExit: this.handleBack, messagesBuilder: this.messagesBuilder }, h("div", { slot: "rightSlot" }, h("ez-button", { class: "ez-button--primary", label: this.getMessage("snkAttach.finish"), onClick: this.handleFinish })))), h("div", { class: "snk-attach__crud-section ez-size-height--full ez-size-width--full ez-flex ez-flex--column" }, h("div", { class: "ez-box__container" }, h("snk-simple-crud", { ref: (el) => this._crudElement = el, dataUnit: this._currentDataUnit, taskbarManager: buildTaskBarManager(), gridConfig: (_a = this.crudConfig) === null || _a === void 0 ? void 0 : _a.grid, formConfig: (_b = this.crudConfig) === null || _b === void 0 ? void 0 : _b.form, useCancelConfirm: false, onActionClick: this.handleTaskbarClick, messagesBuilder: this.messagesBuilder, onDataStateChange: this.handleOnDataStateChange.bind(this) }, h("div", { slot: "snkSimpleCrudHeader" }, h("div", { class: "ez-flex ez-flex--column" }, h("span", { class: "ez-title--primary ez-text ez-text--large ez-text--bold ez-padding-bottom--medium" }, this.getMessage("snkAttach.title")), h("span", { class: "ez-text ez-text--medium ez-text--secondary" }, this.getMessage("snkAttach.description")))))))));
819
817
  }
820
- static get watchers() { return {
821
- "registerKey": ["registerKeyWatcher"]
822
- }; }
823
818
  };
824
819
  SnkAttach.style = snkAttachCss;
825
820
 
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
  import { StringUtils, ElementIDUtils, ApplicationContext, JSUtils, FloatingManager } from '@sankhyalabs/core';
3
3
  import { T as TaskbarElement } from './taskbar-elements-ad766858.js';
4
4
  import './form-config-fetcher-e3094014.js';
5
- import './pesquisa-fetcher-45514372.js';
5
+ import './pesquisa-fetcher-6d8e50bb.js';
6
6
  import { P as PresentationMode } from './index-0ece87a6.js';
7
7
  import './ISave-d8c8bc59.js';
8
8
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
@@ -5,7 +5,7 @@ import { D as DataExporterOption, a as DataExporterFormat, b as DataExporterType
5
5
  import { R as REPORT_LAUNCHER_RESOURCE_ID } from './constants-8457af36.js';
6
6
  import { D as DataFetcher } from './form-config-fetcher-e3094014.js';
7
7
  import { S as SnkDataUnit } from './snk-data-unit-29eba11a.js';
8
- import './pesquisa-fetcher-45514372.js';
8
+ import './pesquisa-fetcher-6d8e50bb.js';
9
9
  import './ISave-d8c8bc59.js';
10
10
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
11
11
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
@@ -3,7 +3,7 @@ import { Action } from '@sankhyalabs/core';
3
3
  import { S as SnkFormConfigManager } from './SnkFormConfigManager-a87ade7a.js';
4
4
  import { FormMetadata, buildFormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
5
5
  import './form-config-fetcher-e3094014.js';
6
- import './pesquisa-fetcher-45514372.js';
6
+ import './pesquisa-fetcher-6d8e50bb.js';
7
7
  import { P as PresentationMode } from './index-0ece87a6.js';
8
8
  import './ISave-d8c8bc59.js';
9
9
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
@@ -11,7 +11,7 @@ import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
11
11
  import './filter-item-type.enum-d45e026f.js';
12
12
  import { T as TaskbarElement } from './taskbar-elements-ad766858.js';
13
13
  import { d as VIEW_MODE } from './constants-8457af36.js';
14
- import { S as SnkGuidesViewer } from './snk-guides-viewer-dd85bafc.js';
14
+ import { S as SnkGuidesViewer } from './snk-guides-viewer-1fd41a25.js';
15
15
  import { S as SnkMessageBuilder } from './SnkMessageBuilder-0a4becdd.js';
16
16
  import './ConfigStorage-928c3bf4.js';
17
17
  import './PrintUtils-3e4ff0f5.js';
@@ -5,10 +5,10 @@ import { C as ConfigStorage } from './ConfigStorage-928c3bf4.js';
5
5
  import { P as PresentationMode } from './index-0ece87a6.js';
6
6
  import { T as TaskbarProcessor, o as openFieldSearch, b as buildFieldSearch } from './field-search-efbe307f.js';
7
7
  import { s as store } from './index-bdf75557.js';
8
- import { C as CommonsExporter, S as SnkMultiSelectionListDataSource, a as CrudUtils } from './IExporterProvider-95e5915d.js';
8
+ import { C as CommonsExporter, S as SnkMultiSelectionListDataSource, a as CrudUtils } from './IExporterProvider-e2a1195d.js';
9
9
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
10
10
  import './form-config-fetcher-e3094014.js';
11
- import './pesquisa-fetcher-45514372.js';
11
+ import './pesquisa-fetcher-6d8e50bb.js';
12
12
  import './ISave-d8c8bc59.js';
13
13
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
14
14
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';