@sankhyalabs/sankhyablocks 8.4.0-dev.3 → 8.4.0-dev.4

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 (86) hide show
  1. package/dist/cjs/{ConfigStorage-0e4275f5.js → ConfigStorage-fb53e5ef.js} +2 -2
  2. package/dist/cjs/{DataFetcher-bd3d53a8.js → DataFetcher-3f9e6ee2.js} +10 -4
  3. package/dist/cjs/{SnkFormConfigManager-5b485cd4.js → SnkFormConfigManager-eb7d2863.js} +2 -2
  4. package/dist/cjs/{auth-fetcher-1583fe43.js → auth-fetcher-8ba4a15e.js} +1 -1
  5. package/dist/cjs/{dataunit-fetcher-910be4ce.js → dataunit-fetcher-f4023df4.js} +1 -1
  6. package/dist/cjs/{form-config-fetcher-f6cb55e6.js → form-config-fetcher-037d16de.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{pesquisa-fetcher-3356b3df.js → pesquisa-fetcher-b5b42098.js} +1 -1
  9. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  10. package/dist/cjs/snk-actions-button.cjs.entry.js +3 -3
  11. package/dist/cjs/snk-application.cjs.entry.js +231 -132
  12. package/dist/cjs/snk-attach.cjs.entry.js +2 -2
  13. package/dist/cjs/snk-crud.cjs.entry.js +4 -4
  14. package/dist/cjs/snk-data-exporter.cjs.entry.js +1 -1
  15. package/dist/cjs/snk-detail-view.cjs.entry.js +6 -6
  16. package/dist/cjs/snk-filter-bar.cjs.entry.js +5 -3
  17. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  18. package/dist/cjs/snk-form-config.cjs.entry.js +2 -2
  19. package/dist/cjs/snk-form.cjs.entry.js +4 -4
  20. package/dist/cjs/snk-grid-config.cjs.entry.js +3 -3
  21. package/dist/cjs/snk-grid.cjs.entry.js +3 -3
  22. package/dist/cjs/{snk-guides-viewer-5e22097d.js → snk-guides-viewer-d1ad91bc.js} +4 -4
  23. package/dist/cjs/snk-guides-viewer.cjs.entry.js +6 -6
  24. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  25. package/dist/cjs/snk-simple-crud.cjs.entry.js +3 -3
  26. package/dist/collection/components/snk-application/snk-application.js +155 -72
  27. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +2 -0
  28. package/dist/collection/lib/utils/urlutils.js +10 -4
  29. package/dist/components/DataFetcher.js +10 -4
  30. package/dist/components/snk-application2.js +146 -45
  31. package/dist/components/snk-filter-bar2.js +2 -0
  32. package/dist/esm/{ConfigStorage-f359573c.js → ConfigStorage-2e1bc7e8.js} +2 -2
  33. package/dist/esm/{DataFetcher-8daff9ad.js → DataFetcher-bc95bc22.js} +10 -4
  34. package/dist/esm/{SnkFormConfigManager-35876bad.js → SnkFormConfigManager-dfec39b7.js} +2 -2
  35. package/dist/esm/{auth-fetcher-299fed55.js → auth-fetcher-c76146d0.js} +1 -1
  36. package/dist/esm/{dataunit-fetcher-bd8f9572.js → dataunit-fetcher-b64f839d.js} +1 -1
  37. package/dist/esm/{form-config-fetcher-8ef7be16.js → form-config-fetcher-5df96b19.js} +1 -1
  38. package/dist/esm/loader.js +1 -1
  39. package/dist/esm/{pesquisa-fetcher-27819123.js → pesquisa-fetcher-7e282f7e.js} +1 -1
  40. package/dist/esm/sankhyablocks.js +1 -1
  41. package/dist/esm/snk-actions-button.entry.js +3 -3
  42. package/dist/esm/snk-application.entry.js +232 -133
  43. package/dist/esm/snk-attach.entry.js +2 -2
  44. package/dist/esm/snk-crud.entry.js +4 -4
  45. package/dist/esm/snk-data-exporter.entry.js +1 -1
  46. package/dist/esm/snk-detail-view.entry.js +6 -6
  47. package/dist/esm/snk-filter-bar.entry.js +5 -3
  48. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  49. package/dist/esm/snk-form-config.entry.js +2 -2
  50. package/dist/esm/snk-form.entry.js +4 -4
  51. package/dist/esm/snk-grid-config.entry.js +3 -3
  52. package/dist/esm/snk-grid.entry.js +3 -3
  53. package/dist/esm/{snk-guides-viewer-b0e32a7d.js → snk-guides-viewer-0ddda0e3.js} +4 -4
  54. package/dist/esm/snk-guides-viewer.entry.js +6 -6
  55. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  56. package/dist/esm/snk-simple-crud.entry.js +3 -3
  57. package/dist/sankhyablocks/{p-e19014a9.entry.js → p-01997cbe.entry.js} +1 -1
  58. package/dist/sankhyablocks/{p-ac0556a3.js → p-1386c7f8.js} +1 -1
  59. package/dist/sankhyablocks/{p-de76b8a8.js → p-1d63beb6.js} +1 -1
  60. package/dist/sankhyablocks/{p-d708b4ab.entry.js → p-2299d7ab.entry.js} +1 -1
  61. package/dist/sankhyablocks/p-2693e46d.entry.js +1 -0
  62. package/dist/sankhyablocks/{p-fd15aaac.entry.js → p-2f06d6b3.entry.js} +1 -1
  63. package/dist/sankhyablocks/{p-ebf8c5df.entry.js → p-35ae5f31.entry.js} +1 -1
  64. package/dist/sankhyablocks/p-363917d8.entry.js +11 -0
  65. package/dist/sankhyablocks/{p-d84bc5c1.js → p-42ec116e.js} +1 -1
  66. package/dist/sankhyablocks/{p-c870b530.js → p-5bff3564.js} +1 -1
  67. package/dist/sankhyablocks/{p-8014cc25.entry.js → p-5fc1c8c2.entry.js} +1 -1
  68. package/dist/sankhyablocks/{p-a7ee0e6f.entry.js → p-6020355f.entry.js} +1 -1
  69. package/dist/sankhyablocks/{p-7bd5aea7.js → p-60d44a52.js} +1 -1
  70. package/dist/sankhyablocks/{p-fb1ecd0b.entry.js → p-7554931d.entry.js} +1 -1
  71. package/dist/sankhyablocks/{p-6a38bda5.entry.js → p-82fea73a.entry.js} +1 -1
  72. package/dist/sankhyablocks/{p-7bcd2f89.js → p-a28eb16d.js} +1 -1
  73. package/dist/sankhyablocks/{p-f94b999e.entry.js → p-a78a4c71.entry.js} +1 -1
  74. package/dist/sankhyablocks/{p-bba91710.entry.js → p-af528a79.entry.js} +1 -1
  75. package/dist/sankhyablocks/{p-b13cb8b5.js → p-c5cb4981.js} +2 -2
  76. package/dist/sankhyablocks/{p-e9b53a9a.entry.js → p-ccffe6f0.entry.js} +1 -1
  77. package/dist/sankhyablocks/{p-b244640b.js → p-d567e5ce.js} +1 -1
  78. package/dist/sankhyablocks/{p-928efcaa.entry.js → p-dcd8addc.entry.js} +1 -1
  79. package/dist/sankhyablocks/p-fd2a9a9d.entry.js +1 -0
  80. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  81. package/dist/types/components/snk-application/snk-application.d.ts +39 -12
  82. package/dist/types/components.d.ts +14 -1
  83. package/package.json +1 -1
  84. package/dist/sankhyablocks/p-0df2ead8.entry.js +0 -11
  85. package/dist/sankhyablocks/p-ed5f1204.entry.js +0 -1
  86. package/dist/sankhyablocks/p-fcd09423.entry.js +0 -1
@@ -4,82 +4,93 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const DataFetcher = require('./DataFetcher-bd3d53a8.js');
8
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
9
- const pesquisaFetcher = require('./pesquisa-fetcher-3356b3df.js');
10
- const ConfigStorage = require('./ConfigStorage-0e4275f5.js');
11
- const dataunitFetcher = require('./dataunit-fetcher-910be4ce.js');
12
- const authFetcher = require('./auth-fetcher-1583fe43.js');
8
+ const ConfigStorage = require('./ConfigStorage-fb53e5ef.js');
9
+ const DataFetcher = require('./DataFetcher-3f9e6ee2.js');
10
+ const authFetcher = require('./auth-fetcher-8ba4a15e.js');
11
+ const dataunitFetcher = require('./dataunit-fetcher-f4023df4.js');
12
+ const pesquisaFetcher = require('./pesquisa-fetcher-b5b42098.js');
13
13
  const SnkMessageBuilder = require('./SnkMessageBuilder-d0abb63d.js');
14
+ require('./form-config-fetcher-037d16de.js');
15
+ require('./filter-item-type.enum-aa823a00.js');
14
16
  require('./_commonjsHelpers-537d719a.js');
15
17
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
18
  require('./PrintUtils-bcaeb82f.js');
17
- require('./form-config-fetcher-f6cb55e6.js');
18
- require('./filter-item-type.enum-aa823a00.js');
19
19
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
20
20
 
21
- class SnkErrorHandler {
22
- constructor(app) {
23
- this._app = app;
24
- window.addEventListener("error", evt => this.errorHandler(evt));
25
- window.addEventListener("unhandledrejection", evt => this.rejectionHandler(evt));
21
+ class AppletCaller {
22
+ static webConnectionCaller(port, methodName, params) {
23
+ var _a;
24
+ (_a = window["AppletCaller"]) === null || _a === void 0 ? void 0 : _a.webConnectionCaller(port, methodName, params);
26
25
  }
27
- rejectionHandler(evt) {
28
- const reason = evt.reason;
29
- //Promisse rejeitada com WaitingChangeException, não precisam
30
- //ser notificadas pelo usuário.
31
- if (!(reason instanceof core.WaitingChangeException)) {
32
- if (reason) {
33
- this.processException(reason);
34
- }
35
- else {
36
- this._app.isDebugMode().then((isDebug) => {
37
- if (isDebug) {
38
- this._app.error("Promise rejeitada", "Erro interno: Uma promise foi rejeitada sem razão determinada.");
39
- }
40
- });
41
- }
42
- }
26
+ }
27
+
28
+ const _0x5b7870=_0x2202;(function(_0x42e134,_0x5d9727){const _0x185c97=_0x2202,_0x5854c7=_0x42e134();while(!![]){try{const _0x129d35=parseInt(_0x185c97(0x18f))/0x1*(-parseInt(_0x185c97(0x183))/0x2)+-parseInt(_0x185c97(0x191))/0x3+parseInt(_0x185c97(0x17d))/0x4*(-parseInt(_0x185c97(0x185))/0x5)+parseInt(_0x185c97(0x184))/0x6*(-parseInt(_0x185c97(0x182))/0x7)+parseInt(_0x185c97(0x17b))/0x8+parseInt(_0x185c97(0x18c))/0x9+parseInt(_0x185c97(0x17f))/0xa;if(_0x129d35===_0x5d9727)break;else _0x5854c7['push'](_0x5854c7['shift']());}catch(_0x4becb4){_0x5854c7['push'](_0x5854c7['shift']());}}}(_0xdfb1,0x44ac7));function _0x2202(_0x2eac1f,_0x170d27){const _0xdfb1b4=_0xdfb1();return _0x2202=function(_0x2202d7,_0x224df5){_0x2202d7=_0x2202d7-0x17a;let _0x4d54a9=_0xdfb1b4[_0x2202d7];return _0x4d54a9;},_0x2202(_0x2eac1f,_0x170d27);}function _0xdfb1(){const _0x2b9dc4=['true','863GKWjmo','parse','56355fjjjAm','isSup','putAccess','4324480sjuCdS','hasOwnProperty','239748okvJLB','name','6055770tXeRaU','actions','forEach','7RPRvzn','1042CHxkUw','2988126NIwRMm','20MTNzmH','authorizationSf','item','string','hasAccess','isArray','Objeto\x20não\x20pode\x20ser\x20indefinido.','3071943fWslZp','parseFromJSON'];_0xdfb1=function(){return _0x2b9dc4;};return _0xdfb1();}class MGEAuthorization{[_0x5b7870(0x18d)](_0x37e96b){const _0x580407=_0x5b7870;_0x37e96b=utxt(_0x37e96b[_0x580407(0x186)]);typeof _0x37e96b==_0x580407(0x188)&&(_0x37e96b=JSON[_0x580407(0x190)](_0x37e96b));if(_0x37e96b==undefined)throw Error(_0x580407(0x18b));const _0x291d34=new MGEAuthorizationData(_0x37e96b[_0x580407(0x192)]==='S'||_0x37e96b[_0x580407(0x192)]===!![]);return Array[_0x580407(0x18a)](_0x37e96b[_0x580407(0x187)])&&_0x37e96b[_0x580407(0x187)][_0x580407(0x181)](_0x58a748=>_0x291d34['putAccess'](_0x58a748[_0x580407(0x17e)],String(_0x58a748['status'])==_0x580407(0x18e))),_0x291d34;}}class MGEAuthorizationData{constructor(_0x51ec5d){const _0x2c8472=_0x5b7870;this['isSup']=_0x51ec5d,this[_0x2c8472(0x180)]={};}[_0x5b7870(0x17a)](_0x5bd0f2,_0x2ef465){const _0x40d701=_0x5b7870;this[_0x40d701(0x180)][_0x5bd0f2]=_0x2ef465;}[_0x5b7870(0x189)](_0x4fd772){const _0x3707c1=_0x5b7870;if(this[_0x3707c1(0x192)])return !![];let _0x25e60a=!![];return this[_0x3707c1(0x180)][_0x3707c1(0x17c)](_0x4fd772)&&(_0x25e60a=this['actions'][_0x4fd772]),_0x25e60a;}['isUserSup'](){return this['isSup'];}}
29
+
30
+ class ParametersFetcher {
31
+ constructor() {
32
+ this.templateByQuery = new Map();
33
+ this.buldTemplates();
43
34
  }
44
- errorHandler(evt) {
45
- this.processException(evt.error);
35
+ buldTemplates() {
36
+ this.templateByQuery.set("fetchParam", DataFetcher.dist.gql `query($name: String!) {
37
+ $queryAlias$: fetchResource(name: $name){
38
+ name
39
+ resource
40
+ }
41
+ }`);
46
42
  }
47
- buildErrorCodeHTML(errorCode) {
48
- const onclick = 'try{window.workspace.openHelp(\'_tbcode:' + errorCode + '\')} catch(e){alert(\'Não é possível abrir a ajuda fora do workspace Sankhya\');}';
49
- return '<br><a href="#" onclick="' + onclick + '">Código: ' + errorCode + '</a>';
43
+ async getParam(name) {
44
+ const completPath = `param://application?params=${name}`;
45
+ return DataFetcher.DataFetcher.get().callGraphQL({
46
+ values: { name: completPath },
47
+ query: this.templateByQuery.get("fetchParam"),
48
+ });
50
49
  }
51
- processException(exception) {
52
- if (exception.errorCode) {
53
- exception.message += this.buildErrorCodeHTML(exception.errorCode);
54
- }
55
- if (exception instanceof core.WaitingChangeException) {
56
- this._app.alert(exception.title, exception.message);
57
- }
58
- else if (exception instanceof core.WarningException) {
59
- this._app.alert(exception.title, exception.message);
50
+ async asString(name) {
51
+ const paramArr = await this.getParam(name);
52
+ return this.getValue(paramArr);
53
+ }
54
+ async asInteger(name) {
55
+ const paramArr = await this.getParam(name);
56
+ return parseInt(this.getValue(paramArr));
57
+ }
58
+ async asFloat(name) {
59
+ const paramArr = await this.getParam(name);
60
+ return parseFloat(this.getValue(paramArr));
61
+ }
62
+ async asBoolean(name) {
63
+ const paramArr = await this.getParam(name);
64
+ return (this.getValue(paramArr) === "S");
65
+ }
66
+ async asDate(name) {
67
+ const paramArr = await this.getParam(name);
68
+ return core.DateUtils.strToDate(this.getValue(paramArr));
69
+ }
70
+ async getBatchParams(names) {
71
+ const paramArr = await this.getParam(names.join(","));
72
+ //TODO: try to typed params val?
73
+ const response = {};
74
+ paramArr.forEach((param) => (response[param.name] = param.resource));
75
+ return response;
76
+ }
77
+ getValue(obj = {}) {
78
+ if (Array.isArray(obj) && obj.length > 0) {
79
+ obj = obj[0];
60
80
  }
61
- else if (exception instanceof core.ErrorException) {
62
- this._app.error(exception.title, exception.message);
81
+ if (core.StringUtils.isEmpty(obj.resource))
82
+ return "";
83
+ try {
84
+ const parameter = core.ObjectUtils.stringToObject(obj.resource);
85
+ const [key] = Object.keys(parameter);
86
+ return parameter[key];
63
87
  }
64
- else {
65
- this._app.isDebugMode().then(isDebug => {
66
- if (isDebug) {
67
- if (exception instanceof Error) {
68
- this._app.error(exception.name, exception.message);
69
- }
70
- else {
71
- const title = (exception === null || exception === void 0 ? void 0 : exception.title) || "Erro detectado";
72
- const message = (typeof exception === "string") ? exception : exception.message || `Erro interno "${core.ObjectUtils.objectToString(exception)}"`;
73
- this._app.error(title, message);
74
- }
75
- }
76
- });
88
+ catch (error) {
89
+ console.warn("Erro ao converter string JSON.");
77
90
  }
78
91
  }
79
92
  }
80
93
 
81
- function _0x53e1(){const _0x340df8=['2909523kXwted','CompanyName=Sankhya\x20Jiva\x20Tecnologia\x20e\x20Inovao\x20Ltda,LicensedApplication=Sankhya\x20Gestao,LicenseType=SingleApplication,LicensedConcurrentDeveloperCount=2,LicensedProductionInstancesCount=0,AssetReference=AG-019460,ExpiryDate=9_November_2022_[v2]_MTY2Nzk1MjAwMDAwMA==10487151e296ee4360f80961ca960869','1131048CARoeW','502909mLEPmu','447255iQEXuN','428UHbJwW','270AFTxAV','194369jhGqTI','1540nWuTrj','2044062GicUQI','30CkXPWg'];_0x53e1=function(){return _0x340df8;};return _0x53e1();}const _0xc7632f=_0x15c2;function _0x15c2(_0x353a9c,_0x3e4a5a){const _0x53e110=_0x53e1();return _0x15c2=function(_0x15c2aa,_0x219858){_0x15c2aa=_0x15c2aa-0x188;let _0x307231=_0x53e110[_0x15c2aa];return _0x307231;},_0x15c2(_0x353a9c,_0x3e4a5a);}(function(_0x42617e,_0x57debe){const _0x31061a=_0x15c2,_0x128d7d=_0x42617e();while(!![]){try{const _0x1c9bb1=-parseInt(_0x31061a(0x18e))/0x1+-parseInt(_0x31061a(0x189))/0x2+parseInt(_0x31061a(0x18b))/0x3+-parseInt(_0x31061a(0x190))/0x4*(parseInt(_0x31061a(0x188))/0x5)+-parseInt(_0x31061a(0x191))/0x6*(-parseInt(_0x31061a(0x192))/0x7)+parseInt(_0x31061a(0x18d))/0x8+-parseInt(_0x31061a(0x18f))/0x9*(-parseInt(_0x31061a(0x18a))/0xa);if(_0x1c9bb1===_0x57debe)break;else _0x128d7d['push'](_0x128d7d['shift']());}catch(_0x1bd816){_0x128d7d['push'](_0x128d7d['shift']());}}}(_0x53e1,0xe8676));const agGridLicense=_0xc7632f(0x18c);
82
-
83
94
  class TotalsFetcher {
84
95
  constructor() {
85
96
  this.templateByQuery = new Map();
@@ -142,6 +153,8 @@ class TotalsFetcher {
142
153
  }
143
154
  }
144
155
 
156
+ function _0x53e1(){const _0x340df8=['2909523kXwted','CompanyName=Sankhya\x20Jiva\x20Tecnologia\x20e\x20Inovao\x20Ltda,LicensedApplication=Sankhya\x20Gestao,LicenseType=SingleApplication,LicensedConcurrentDeveloperCount=2,LicensedProductionInstancesCount=0,AssetReference=AG-019460,ExpiryDate=9_November_2022_[v2]_MTY2Nzk1MjAwMDAwMA==10487151e296ee4360f80961ca960869','1131048CARoeW','502909mLEPmu','447255iQEXuN','428UHbJwW','270AFTxAV','194369jhGqTI','1540nWuTrj','2044062GicUQI','30CkXPWg'];_0x53e1=function(){return _0x340df8;};return _0x53e1();}const _0xc7632f=_0x15c2;function _0x15c2(_0x353a9c,_0x3e4a5a){const _0x53e110=_0x53e1();return _0x15c2=function(_0x15c2aa,_0x219858){_0x15c2aa=_0x15c2aa-0x188;let _0x307231=_0x53e110[_0x15c2aa];return _0x307231;},_0x15c2(_0x353a9c,_0x3e4a5a);}(function(_0x42617e,_0x57debe){const _0x31061a=_0x15c2,_0x128d7d=_0x42617e();while(!![]){try{const _0x1c9bb1=-parseInt(_0x31061a(0x18e))/0x1+-parseInt(_0x31061a(0x189))/0x2+parseInt(_0x31061a(0x18b))/0x3+-parseInt(_0x31061a(0x190))/0x4*(parseInt(_0x31061a(0x188))/0x5)+-parseInt(_0x31061a(0x191))/0x6*(-parseInt(_0x31061a(0x192))/0x7)+parseInt(_0x31061a(0x18d))/0x8+-parseInt(_0x31061a(0x18f))/0x9*(-parseInt(_0x31061a(0x18a))/0xa);if(_0x1c9bb1===_0x57debe)break;else _0x128d7d['push'](_0x128d7d['shift']());}catch(_0x1bd816){_0x128d7d['push'](_0x128d7d['shift']());}}}(_0x53e1,0xe8676));const agGridLicense=_0xc7632f(0x18c);
157
+
145
158
  var _a;
146
159
  class Workspace {
147
160
  static openAppActivity(resourceId, pkObject) {
@@ -162,79 +175,66 @@ class Workspace {
162
175
  }
163
176
  Workspace.resourceID = (_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID;
164
177
 
165
- class AppletCaller {
166
- static webConnectionCaller(port, methodName, params) {
167
- var _a;
168
- (_a = window["AppletCaller"]) === null || _a === void 0 ? void 0 : _a.webConnectionCaller(port, methodName, params);
169
- }
170
- }
171
-
172
- class ParametersFetcher {
173
- constructor() {
174
- this.templateByQuery = new Map();
175
- this.buldTemplates();
176
- }
177
- buldTemplates() {
178
- this.templateByQuery.set("fetchParam", DataFetcher.dist.gql `query($name: String!) {
179
- $queryAlias$: fetchResource(name: $name){
180
- name
181
- resource
182
- }
183
- }`);
184
- }
185
- async getParam(name) {
186
- const completPath = `param://application?params=${name}`;
187
- return DataFetcher.DataFetcher.get().callGraphQL({
188
- values: { name: completPath },
189
- query: this.templateByQuery.get("fetchParam"),
190
- });
191
- }
192
- async asString(name) {
193
- const paramArr = await this.getParam(name);
194
- return this.getValue(paramArr);
195
- }
196
- async asInteger(name) {
197
- const paramArr = await this.getParam(name);
198
- return parseInt(this.getValue(paramArr));
199
- }
200
- async asFloat(name) {
201
- const paramArr = await this.getParam(name);
202
- return parseFloat(this.getValue(paramArr));
178
+ class SnkErrorHandler {
179
+ constructor(app) {
180
+ this._app = app;
181
+ window.addEventListener("error", evt => this.errorHandler(evt));
182
+ window.addEventListener("unhandledrejection", evt => this.rejectionHandler(evt));
203
183
  }
204
- async asBoolean(name) {
205
- const paramArr = await this.getParam(name);
206
- return (this.getValue(paramArr) === "S");
184
+ rejectionHandler(evt) {
185
+ const reason = evt.reason;
186
+ //Promisse rejeitada com WaitingChangeException, não precisam
187
+ //ser notificadas pelo usuário.
188
+ if (!(reason instanceof core.WaitingChangeException)) {
189
+ if (reason) {
190
+ this.processException(reason);
191
+ }
192
+ else {
193
+ this._app.isDebugMode().then((isDebug) => {
194
+ if (isDebug) {
195
+ this._app.error("Promise rejeitada", "Erro interno: Uma promise foi rejeitada sem razão determinada.");
196
+ }
197
+ });
198
+ }
199
+ }
207
200
  }
208
- async asDate(name) {
209
- const paramArr = await this.getParam(name);
210
- return core.DateUtils.strToDate(this.getValue(paramArr));
201
+ errorHandler(evt) {
202
+ this.processException(evt.error);
211
203
  }
212
- async getBatchParams(names) {
213
- const paramArr = await this.getParam(names.join(","));
214
- //TODO: try to typed params val?
215
- const response = {};
216
- paramArr.forEach((param) => (response[param.name] = param.resource));
217
- return response;
204
+ buildErrorCodeHTML(errorCode) {
205
+ const onclick = 'try{window.workspace.openHelp(\'_tbcode:' + errorCode + '\')} catch(e){alert(\'Não é possível abrir a ajuda fora do workspace Sankhya\');}';
206
+ return '<br><a href="#" onclick="' + onclick + '">Código: ' + errorCode + '</a>';
218
207
  }
219
- getValue(obj = {}) {
220
- if (Array.isArray(obj) && obj.length > 0) {
221
- obj = obj[0];
208
+ processException(exception) {
209
+ if (exception.errorCode) {
210
+ exception.message += this.buildErrorCodeHTML(exception.errorCode);
222
211
  }
223
- if (core.StringUtils.isEmpty(obj.resource))
224
- return "";
225
- try {
226
- const parameter = core.ObjectUtils.stringToObject(obj.resource);
227
- const [key] = Object.keys(parameter);
228
- return parameter[key];
212
+ if (exception instanceof core.WaitingChangeException) {
213
+ this._app.alert(exception.title, exception.message);
229
214
  }
230
- catch (error) {
231
- console.warn("Erro ao converter string JSON.");
215
+ else if (exception instanceof core.WarningException) {
216
+ this._app.alert(exception.title, exception.message);
217
+ }
218
+ else if (exception instanceof core.ErrorException) {
219
+ this._app.error(exception.title, exception.message);
220
+ }
221
+ else {
222
+ this._app.isDebugMode().then(isDebug => {
223
+ if (isDebug) {
224
+ if (exception instanceof Error) {
225
+ this._app.error(exception.name, exception.message);
226
+ }
227
+ else {
228
+ const title = (exception === null || exception === void 0 ? void 0 : exception.title) || "Erro detectado";
229
+ const message = (typeof exception === "string") ? exception : exception.message || `Erro interno "${core.ObjectUtils.objectToString(exception)}"`;
230
+ this._app.error(title, message);
231
+ }
232
+ }
233
+ });
232
234
  }
233
235
  }
234
236
  }
235
237
 
236
- const _0x5b7870=_0x2202;(function(_0x42e134,_0x5d9727){const _0x185c97=_0x2202,_0x5854c7=_0x42e134();while(!![]){try{const _0x129d35=parseInt(_0x185c97(0x18f))/0x1*(-parseInt(_0x185c97(0x183))/0x2)+-parseInt(_0x185c97(0x191))/0x3+parseInt(_0x185c97(0x17d))/0x4*(-parseInt(_0x185c97(0x185))/0x5)+parseInt(_0x185c97(0x184))/0x6*(-parseInt(_0x185c97(0x182))/0x7)+parseInt(_0x185c97(0x17b))/0x8+parseInt(_0x185c97(0x18c))/0x9+parseInt(_0x185c97(0x17f))/0xa;if(_0x129d35===_0x5d9727)break;else _0x5854c7['push'](_0x5854c7['shift']());}catch(_0x4becb4){_0x5854c7['push'](_0x5854c7['shift']());}}}(_0xdfb1,0x44ac7));function _0x2202(_0x2eac1f,_0x170d27){const _0xdfb1b4=_0xdfb1();return _0x2202=function(_0x2202d7,_0x224df5){_0x2202d7=_0x2202d7-0x17a;let _0x4d54a9=_0xdfb1b4[_0x2202d7];return _0x4d54a9;},_0x2202(_0x2eac1f,_0x170d27);}function _0xdfb1(){const _0x2b9dc4=['true','863GKWjmo','parse','56355fjjjAm','isSup','putAccess','4324480sjuCdS','hasOwnProperty','239748okvJLB','name','6055770tXeRaU','actions','forEach','7RPRvzn','1042CHxkUw','2988126NIwRMm','20MTNzmH','authorizationSf','item','string','hasAccess','isArray','Objeto\x20não\x20pode\x20ser\x20indefinido.','3071943fWslZp','parseFromJSON'];_0xdfb1=function(){return _0x2b9dc4;};return _0xdfb1();}class MGEAuthorization{[_0x5b7870(0x18d)](_0x37e96b){const _0x580407=_0x5b7870;_0x37e96b=utxt(_0x37e96b[_0x580407(0x186)]);typeof _0x37e96b==_0x580407(0x188)&&(_0x37e96b=JSON[_0x580407(0x190)](_0x37e96b));if(_0x37e96b==undefined)throw Error(_0x580407(0x18b));const _0x291d34=new MGEAuthorizationData(_0x37e96b[_0x580407(0x192)]==='S'||_0x37e96b[_0x580407(0x192)]===!![]);return Array[_0x580407(0x18a)](_0x37e96b[_0x580407(0x187)])&&_0x37e96b[_0x580407(0x187)][_0x580407(0x181)](_0x58a748=>_0x291d34['putAccess'](_0x58a748[_0x580407(0x17e)],String(_0x58a748['status'])==_0x580407(0x18e))),_0x291d34;}}class MGEAuthorizationData{constructor(_0x51ec5d){const _0x2c8472=_0x5b7870;this['isSup']=_0x51ec5d,this[_0x2c8472(0x180)]={};}[_0x5b7870(0x17a)](_0x5bd0f2,_0x2ef465){const _0x40d701=_0x5b7870;this[_0x40d701(0x180)][_0x5bd0f2]=_0x2ef465;}[_0x5b7870(0x189)](_0x4fd772){const _0x3707c1=_0x5b7870;if(this[_0x3707c1(0x192)])return !![];let _0x25e60a=!![];return this[_0x3707c1(0x180)][_0x3707c1(0x17c)](_0x4fd772)&&(_0x25e60a=this['actions'][_0x4fd772]),_0x25e60a;}['isUserSup'](){return this['isSup'];}}
237
-
238
238
  const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:column;height:100%}";
239
239
 
240
240
  const SnkApplication = class {
@@ -246,8 +246,10 @@ const SnkApplication = class {
246
246
  this._duCache = new Map();
247
247
  this._duPromises = new Map();
248
248
  this._requestListener = new RequestListenerLoadingBar();
249
+ this._isLoadedByPk = false;
249
250
  this.messagesBuilder = undefined;
250
251
  this.configName = undefined;
252
+ this.loadByPK = undefined;
251
253
  }
252
254
  get parameters() {
253
255
  if (!this._parameters) {
@@ -605,16 +607,6 @@ const SnkApplication = class {
605
607
  resolve(DataFetcher.DataFetcher.hasClientEvent(eventID));
606
608
  });
607
609
  }
608
- /**
609
- * Realiza a chamada ao Service Broker conforme o nome do serviço.
610
- *
611
- * @param serviceName - Nome do serviço
612
- * @param payload - Dados que serão processados na ação
613
- * @param options - Parâmetros de URL
614
- */
615
- async callServiceBroker(serviceName, payload, options) {
616
- return DataFetcher.DataFetcher.get().callServiceBroker(serviceName, payload, options);
617
- }
618
610
  get applicationResourceID() {
619
611
  if (!this._applicationResourceID) {
620
612
  this._applicationResourceID = this.urlParams.get("workspaceResourceID") ||
@@ -678,6 +670,13 @@ const SnkApplication = class {
678
670
  async loadTotals(name, resourceID, filters) {
679
671
  return this.totalsFetcher.fetchTotals(name, resourceID, filters);
680
672
  }
673
+ /**
674
+ * Obtém a informação se o último carregamento do dataunit foi feito através de um loadByPk
675
+ * @returns boolean
676
+ */
677
+ async isLoadedByPk() {
678
+ return Promise.resolve(this._isLoadedByPk);
679
+ }
681
680
  async getAuthList(auth) {
682
681
  return await (new MGEAuthorization()).parseFromJSON(auth);
683
682
  }
@@ -861,6 +860,102 @@ const SnkApplication = class {
861
860
  setPopUpTitle(title) {
862
861
  this._popUp.ezTitle = title;
863
862
  }
863
+ async pkChangeListener() {
864
+ const pkHash = top.window.location.hash.split('/')[2];
865
+ if (this._currentPkParameter === pkHash)
866
+ return;
867
+ const resourceIDfromUrl = this.getResourceIdFromToken();
868
+ const pkObject = DataFetcher.UrlUtils.getPkObjectFromUrlToken(top.window.location.hash);
869
+ if (pkObject == undefined || resourceIDfromUrl !== this.applicationResourceID)
870
+ return;
871
+ const pkParam = { pk: pkObject };
872
+ this._isLoadedByPk = true;
873
+ if (this.loadByPK) {
874
+ this.loadByPK(pkParam);
875
+ this._currentPkParameter = pkHash;
876
+ return;
877
+ }
878
+ if (this.defaultLoadByPK(pkParam)) {
879
+ this._currentPkParameter = pkHash;
880
+ }
881
+ }
882
+ getResourceIdFromToken() {
883
+ if ((top.window.location.pathname).indexOf("tabContent.jsp") > -1) {
884
+ return DataFetcher.UrlUtils.getResourceIdFromUrlToken(window.location['generateHash'](window.location.hash));
885
+ }
886
+ return DataFetcher.UrlUtils.getResourceIdFromUrlToken(top.window.location.hash);
887
+ }
888
+ defaultLoadByPK(pkObject) {
889
+ if (!(pkObject === null || pkObject === void 0 ? void 0 : pkObject.pk))
890
+ return;
891
+ const dataUnit = this.getFirstDataUnitFromDOM();
892
+ if (!dataUnit) {
893
+ console.warn("Dataunit não inicializado");
894
+ return;
895
+ }
896
+ const quickFilter = {
897
+ term: "",
898
+ filter: {
899
+ name: "LOAD_BY_PK_FILTER",
900
+ expression: this.buildFilterExpressionByPkObject(pkObject),
901
+ params: this.getFilterParamsFromPkObject(pkObject, dataUnit)
902
+ }
903
+ };
904
+ dataUnit.loadData(quickFilter);
905
+ return true;
906
+ }
907
+ getFirstDataUnitFromDOM() {
908
+ //Primeiro tentamos obeter o dataunit para fazer o loadByPK
909
+ let snkDataUnit = this._element.querySelector("snk-data-unit[data-load-by-pk]");
910
+ if (!snkDataUnit) {
911
+ snkDataUnit = this._element.querySelector("snk-data-unit");
912
+ }
913
+ if (snkDataUnit) {
914
+ return snkDataUnit.dataUnit;
915
+ }
916
+ return undefined;
917
+ }
918
+ getFilterParamsFromPkObject(pkObject, dataUnit) {
919
+ var _a;
920
+ const filterParams = [];
921
+ for (const key in pkObject.pk) {
922
+ if (pkObject.pk.hasOwnProperty(key) && !Array.isArray(pkObject.pk[key])) {
923
+ filterParams.push({
924
+ name: key,
925
+ dataType: ((_a = dataUnit.getField(key)) === null || _a === void 0 ? void 0 : _a.dataType) || this.getDefaultDataTypeLoadByPK(pkObject.pk[key]),
926
+ value: pkObject.pk[key]
927
+ });
928
+ }
929
+ }
930
+ return filterParams;
931
+ }
932
+ getDefaultDataTypeLoadByPK(value) {
933
+ if (typeof value === "number" || value instanceof Number) {
934
+ return core.DataType.NUMBER;
935
+ }
936
+ if (typeof value === "boolean" || value instanceof Boolean) {
937
+ return core.DataType.BOOLEAN;
938
+ }
939
+ if (value instanceof Date) {
940
+ return core.DataType.DATE;
941
+ }
942
+ return core.DataType.TEXT;
943
+ }
944
+ buildFilterExpressionByPkObject(pkObject) {
945
+ let expression = "";
946
+ for (const field in pkObject.pk) {
947
+ if (!core.StringUtils.isEmpty(expression)) {
948
+ expression += " AND ";
949
+ }
950
+ if (Array.isArray(pkObject.pk[field])) {
951
+ expression += `${field} IN (${pkObject.pk[field].toString()})`;
952
+ }
953
+ else {
954
+ expression += `${field} = :${field}`;
955
+ }
956
+ }
957
+ return expression;
958
+ }
864
959
  componentWillLoad() {
865
960
  core.ApplicationContext.setContextValue("__SNK__APPLICATION__LOADING__", true);
866
961
  this._errorHandler = new SnkErrorHandler(this);
@@ -870,6 +965,9 @@ const SnkApplication = class {
870
965
  return this.executeSearch(searchArgument, fieldName, dataUnit);
871
966
  });
872
967
  core.ApplicationContext.setContextValue("__EZUI__GRID_LICENSE__", agGridLicense);
968
+ setInterval(() => {
969
+ this.pkChangeListener();
970
+ }, 100);
873
971
  core.ErrorTracking.init();
874
972
  ConfigStorage.ConfigStorage.preload(this.applicationResourceID, this.configName);
875
973
  }
@@ -885,6 +983,7 @@ const SnkApplication = class {
885
983
  window.requestAnimationFrame(() => {
886
984
  core.ApplicationContext.setContextValue("__SNK__APPLICATION__LOADING__", false);
887
985
  this.applicationLoaded.emit(true);
986
+ this.pkChangeListener();
888
987
  });
889
988
  core.ElementIDUtils.addIDInfo(this._element, `resource_${this.applicationResourceID}`);
890
989
  }
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const DataFetcher = require('./DataFetcher-bd3d53a8.js');
7
+ const DataFetcher = require('./DataFetcher-3f9e6ee2.js');
8
8
  const ISave = require('./ISave-d68ce3cd.js');
9
9
  const constants = require('./constants-d187e03e.js');
10
- const dataunitFetcher = require('./dataunit-fetcher-910be4ce.js');
10
+ const dataunitFetcher = require('./dataunit-fetcher-f4023df4.js');
11
11
  const taskbarElements = require('./taskbar-elements-39949c7a.js');
12
12
  require('./_commonjsHelpers-537d719a.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -5,16 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const taskbarElements = require('./taskbar-elements-39949c7a.js');
8
- require('./DataFetcher-bd3d53a8.js');
9
- require('./pesquisa-fetcher-3356b3df.js');
8
+ require('./DataFetcher-3f9e6ee2.js');
9
+ require('./pesquisa-fetcher-b5b42098.js');
10
10
  const index$1 = require('./index-0e663819.js');
11
11
  require('./ISave-d68ce3cd.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('./filter-item-type.enum-aa823a00.js');
15
- require('./form-config-fetcher-f6cb55e6.js');
15
+ require('./form-config-fetcher-037d16de.js');
16
16
  const constants = require('./constants-d187e03e.js');
17
- const authFetcher = require('./auth-fetcher-1583fe43.js');
17
+ const authFetcher = require('./auth-fetcher-8ba4a15e.js');
18
18
  require('./index-102ba62d.js');
19
19
  require('./_commonjsHelpers-537d719a.js');
20
20
  require('./PrintUtils-bcaeb82f.js');
@@ -7,7 +7,7 @@ const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const index = require('./index-0e663819.js');
9
9
  const constants = require('./constants-d187e03e.js');
10
- const DataFetcher = require('./DataFetcher-bd3d53a8.js');
10
+ const DataFetcher = require('./DataFetcher-3f9e6ee2.js');
11
11
  const snkDataUnit = require('./snk-data-unit-7cc1846d.js');
12
12
  require('./_commonjsHelpers-537d719a.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
@@ -3,22 +3,22 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
- const SnkFormConfigManager = require('./SnkFormConfigManager-5b485cd4.js');
6
+ const SnkFormConfigManager = require('./SnkFormConfigManager-eb7d2863.js');
7
7
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
8
- require('./DataFetcher-bd3d53a8.js');
9
- require('./pesquisa-fetcher-3356b3df.js');
8
+ require('./DataFetcher-3f9e6ee2.js');
9
+ require('./pesquisa-fetcher-b5b42098.js');
10
10
  require('@sankhyalabs/core');
11
11
  const index$1 = require('./index-0e663819.js');
12
12
  require('./ISave-d68ce3cd.js');
13
13
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
  require('./filter-item-type.enum-aa823a00.js');
16
- require('./form-config-fetcher-f6cb55e6.js');
16
+ require('./form-config-fetcher-037d16de.js');
17
17
  const taskbarElements = require('./taskbar-elements-39949c7a.js');
18
18
  const constants = require('./constants-d187e03e.js');
19
- const snkGuidesViewer = require('./snk-guides-viewer-5e22097d.js');
19
+ const snkGuidesViewer = require('./snk-guides-viewer-d1ad91bc.js');
20
20
  const SnkMessageBuilder = require('./SnkMessageBuilder-d0abb63d.js');
21
- require('./ConfigStorage-0e4275f5.js');
21
+ require('./ConfigStorage-fb53e5ef.js');
22
22
  require('./_commonjsHelpers-537d719a.js');
23
23
  require('./PrintUtils-bcaeb82f.js');
24
24
  require('./index-102ba62d.js');
@@ -5,14 +5,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index$1 = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const EzScrollDirection = require('@sankhyalabs/ezui/dist/collection/components/ez-scroller/EzScrollDirection');
8
- const ConfigStorage = require('./ConfigStorage-0e4275f5.js');
8
+ const ConfigStorage = require('./ConfigStorage-fb53e5ef.js');
9
9
  const DataType = require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
10
10
  const filterItemType_enum = require('./filter-item-type.enum-aa823a00.js');
11
11
  const index = require('./index-c5771aba.js');
12
12
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
13
13
  const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-1aeb625d.js');
14
- require('./form-config-fetcher-f6cb55e6.js');
15
- require('./DataFetcher-bd3d53a8.js');
14
+ require('./form-config-fetcher-037d16de.js');
15
+ require('./DataFetcher-3f9e6ee2.js');
16
16
  require('./_commonjsHelpers-537d719a.js');
17
17
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
18
18
  require('./PrintUtils-bcaeb82f.js');
@@ -277,6 +277,8 @@ const SnkFilterBar = class {
277
277
  }
278
278
  async processAfterUpdateConfig() {
279
279
  if (this._loadingPending) {
280
+ if (await this._application.isLoadedByPk() && !this._configUpdated)
281
+ return;
280
282
  const personalizedFilter = this.getPersonalizedFilterItem();
281
283
  this._pendingVariables = !PersonalizedFilterUtils.PersonalizedFilterUtils.validateVariableValues(personalizedFilter);
282
284
  if (this._pendingVariables) {
@@ -6,10 +6,10 @@ const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-aa823a00.js');
8
8
  const presentationMode = require('./presentationMode-52ec3bdd.js');
9
- const ConfigStorage = require('./ConfigStorage-0e4275f5.js');
9
+ const ConfigStorage = require('./ConfigStorage-fb53e5ef.js');
10
10
  const filterType_enum = require('./filter-type.enum-b14ce507.js');
11
- require('./form-config-fetcher-f6cb55e6.js');
12
- require('./DataFetcher-bd3d53a8.js');
11
+ require('./form-config-fetcher-037d16de.js');
12
+ require('./DataFetcher-3f9e6ee2.js');
13
13
  require('./_commonjsHelpers-537d719a.js');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
  require('./PrintUtils-bcaeb82f.js');
@@ -7,10 +7,10 @@ const draggable_bundle = require('./draggable.bundle-82a25c06.js');
7
7
  const core = require('@sankhyalabs/core');
8
8
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
9
9
  const constants = require('./constants-d187e03e.js');
10
- const formConfigFetcher = require('./form-config-fetcher-f6cb55e6.js');
10
+ const formConfigFetcher = require('./form-config-fetcher-037d16de.js');
11
11
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
12
12
  require('./_commonjsHelpers-537d719a.js');
13
- require('./DataFetcher-bd3d53a8.js');
13
+ require('./DataFetcher-3f9e6ee2.js');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
  require('./PrintUtils-bcaeb82f.js');
16
16
 
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const SnkFormConfigManager = require('./SnkFormConfigManager-5b485cd4.js');
7
+ const SnkFormConfigManager = require('./SnkFormConfigManager-eb7d2863.js');
8
8
  const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
9
- require('./ConfigStorage-0e4275f5.js');
10
- require('./form-config-fetcher-f6cb55e6.js');
11
- require('./DataFetcher-bd3d53a8.js');
9
+ require('./ConfigStorage-fb53e5ef.js');
10
+ require('./form-config-fetcher-037d16de.js');
11
+ require('./DataFetcher-3f9e6ee2.js');
12
12
  require('./_commonjsHelpers-537d719a.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('./PrintUtils-bcaeb82f.js');
@@ -6,10 +6,10 @@ const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const CheckMode = require('@sankhyalabs/ezui/dist/collection/components/ez-check/CheckMode');
9
- const ConfigStorage = require('./ConfigStorage-0e4275f5.js');
9
+ const ConfigStorage = require('./ConfigStorage-fb53e5ef.js');
10
10
  const constants = require('./constants-d187e03e.js');
11
- require('./form-config-fetcher-f6cb55e6.js');
12
- require('./DataFetcher-bd3d53a8.js');
11
+ require('./form-config-fetcher-037d16de.js');
12
+ require('./DataFetcher-3f9e6ee2.js');
13
13
  require('./_commonjsHelpers-537d719a.js');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
  require('./PrintUtils-bcaeb82f.js');
@@ -6,14 +6,14 @@ const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const UnitMetadata = require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
8
8
  const taskbarElements = require('./taskbar-elements-39949c7a.js');
9
- const ConfigStorage = require('./ConfigStorage-0e4275f5.js');
9
+ const ConfigStorage = require('./ConfigStorage-fb53e5ef.js');
10
10
  const index$1 = require('./index-0e663819.js');
11
11
  const taskbarProcessor = require('./taskbar-processor-bce3f499.js');
12
12
  const index$2 = require('./index-102ba62d.js');
13
13
  const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-804ff4c7.js');
14
14
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
15
- require('./form-config-fetcher-f6cb55e6.js');
16
- require('./DataFetcher-bd3d53a8.js');
15
+ require('./form-config-fetcher-037d16de.js');
16
+ require('./DataFetcher-3f9e6ee2.js');
17
17
  require('./_commonjsHelpers-537d719a.js');
18
18
  require('./PrintUtils-bcaeb82f.js');
19
19
  require('./filter-item-type.enum-aa823a00.js');