@sankhyalabs/sankhyablocks 1.3.31-beta.16 → 1.3.31-beta.18
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.
- package/dist/cjs/{SnkMessageBuilder-79cf15c5.js → SnkMessageBuilder-02c2ca02.js} +137 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-b8158822.js +6 -0
- package/dist/cjs/dom-36862b77.js +75 -0
- package/dist/cjs/filter-item-type.enum-e2e1bc5b.js +14 -0
- package/dist/cjs/index-02201bc9.js +2397 -0
- package/dist/cjs/{index-5575fe3d.js → index-b0b676c5.js} +1598 -145
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/sankhyablocks.cjs.js +116 -4
- package/dist/cjs/shadow-css-346c0795.js +389 -0
- package/dist/cjs/snk-application.cjs.entry.js +662 -66
- package/dist/cjs/snk-crud.cjs.entry.js +3 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +23 -24
- package/dist/cjs/snk-filter-bar.cjs.entry.js +247 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +47 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js +49 -0
- package/dist/cjs/snk-filter-item.cjs.entry.js +143 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +91 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +23 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js +24 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js +26 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js +44 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +22 -0
- package/dist/cjs/{snk-form_2.cjs.entry.js → snk-form.cjs.entry.js} +21 -65
- package/dist/cjs/snk-grid.cjs.entry.js +79 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
- package/dist/cjs/snk-taskbar.cjs.entry.js +17 -13
- package/dist/cjs/{taskbar-elements-2ae0d005.js → taskbar-elements-283c737e.js} +37 -18
- package/dist/cjs/taskbar-processor-6bd0d35c.js +47 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +7 -0
- package/dist/collection/components/snk-application/snk-application.js +89 -17
- package/dist/collection/components/snk-crud/snk-crud.js +41 -3
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +88 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +64 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +65 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +69 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +63 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +10 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +244 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +233 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +114 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +305 -0
- package/dist/collection/components/snk-form/snk-form.js +41 -1
- package/dist/collection/components/snk-grid/snk-grid.css +14 -1
- package/dist/collection/components/snk-grid/snk-grid.js +35 -3
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +35 -17
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -11
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +24 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +388 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +18 -0
- package/dist/components/SnkMessageBuilder.js +137 -2
- package/dist/components/filter-item-type.enum.js +12 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +14 -0
- package/dist/components/index2.js +2384 -0
- package/dist/components/snk-application2.js +628 -30
- package/dist/components/snk-crud.js +29 -3
- package/dist/components/snk-data-unit.js +2 -3
- package/dist/components/snk-filter-bar.d.ts +11 -0
- package/dist/components/snk-filter-bar.js +6 -0
- package/dist/components/snk-filter-bar2.js +278 -0
- package/dist/components/snk-filter-binary-select.d.ts +11 -0
- package/dist/components/snk-filter-binary-select.js +63 -0
- package/dist/components/snk-filter-detail.d.ts +11 -0
- package/dist/components/snk-filter-detail.js +6 -0
- package/dist/components/snk-filter-detail2.js +63 -0
- package/dist/components/snk-filter-item.d.ts +11 -0
- package/dist/components/snk-filter-item.js +6 -0
- package/dist/components/snk-filter-item2.js +164 -0
- package/dist/components/snk-filter-list.d.ts +11 -0
- package/dist/components/snk-filter-list.js +6 -0
- package/dist/components/snk-filter-list2.js +111 -0
- package/dist/components/snk-filter-multi-select.d.ts +11 -0
- package/dist/components/snk-filter-multi-select.js +39 -0
- package/dist/components/snk-filter-number.d.ts +11 -0
- package/dist/components/snk-filter-number.js +40 -0
- package/dist/components/snk-filter-period.d.ts +11 -0
- package/dist/components/snk-filter-period.js +42 -0
- package/dist/components/snk-filter-search.d.ts +11 -0
- package/dist/components/snk-filter-search.js +62 -0
- package/dist/components/snk-filter-text.d.ts +11 -0
- package/dist/components/snk-filter-text.js +38 -0
- package/dist/components/snk-form2.js +21 -2
- package/dist/components/snk-grid2.js +42 -7
- package/dist/components/snk-pesquisa2.js +1 -1
- package/dist/components/snk-taskbar2.js +50 -27
- package/dist/components/taskbar-processor.js +45 -0
- package/dist/components/teste-pesquisa.js +1 -1
- package/dist/esm/{SnkMessageBuilder-3cdde541.js → SnkMessageBuilder-65d431bd.js} +137 -2
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-b3f2ee8d.js +4 -0
- package/dist/esm/dom-665d6011.js +73 -0
- package/dist/esm/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/esm/index-2b4d2d14.js +3262 -0
- package/dist/esm/index-e5b61043.js +2384 -0
- package/dist/esm/loader.js +18 -2
- package/dist/esm/sankhyablocks.js +116 -4
- package/dist/esm/shadow-css-b18e99d7.js +387 -0
- package/dist/esm/snk-application.entry.js +627 -31
- package/dist/esm/snk-crud.entry.js +3 -2
- package/dist/esm/snk-data-unit.entry.js +3 -4
- package/dist/esm/snk-filter-bar.entry.js +243 -0
- package/dist/esm/snk-filter-binary-select.entry.js +43 -0
- package/dist/esm/snk-filter-detail.entry.js +45 -0
- package/dist/esm/snk-filter-item.entry.js +139 -0
- package/dist/esm/snk-filter-list.entry.js +87 -0
- package/dist/esm/snk-filter-multi-select.entry.js +19 -0
- package/dist/esm/snk-filter-number.entry.js +20 -0
- package/dist/esm/snk-filter-period.entry.js +22 -0
- package/dist/esm/snk-filter-search.entry.js +40 -0
- package/dist/esm/snk-filter-text.entry.js +18 -0
- package/dist/esm/{snk-form_2.entry.js → snk-form.entry.js} +21 -64
- package/dist/esm/snk-grid.entry.js +75 -0
- package/dist/esm/snk-pesquisa.entry.js +2 -2
- package/dist/esm/snk-taskbar.entry.js +16 -12
- package/dist/esm/taskbar-elements-35d64ff9.js +90 -0
- package/dist/esm/taskbar-processor-aa6772c9.js +45 -0
- package/dist/esm/teste-pesquisa.entry.js +2 -2
- package/dist/sankhyablocks/SnkMessageBuilder-65d431bd.js +303 -0
- package/dist/sankhyablocks/app-globals-0f993ce5.js +3 -0
- package/dist/sankhyablocks/css-shim-b3f2ee8d.js +4 -0
- package/dist/sankhyablocks/dom-665d6011.js +73 -0
- package/dist/sankhyablocks/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/sankhyablocks/index-2b4d2d14.js +3262 -0
- package/dist/sankhyablocks/index-e5b61043.js +2384 -0
- package/dist/sankhyablocks/index.esm.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +129 -1
- package/dist/sankhyablocks/shadow-css-b18e99d7.js +387 -0
- package/dist/sankhyablocks/snk-application.entry.js +8426 -0
- package/dist/sankhyablocks/snk-crud.entry.js +61 -0
- package/dist/sankhyablocks/snk-data-unit.entry.js +272 -0
- package/dist/sankhyablocks/snk-filter-bar.entry.js +243 -0
- package/dist/sankhyablocks/snk-filter-binary-select.entry.js +43 -0
- package/dist/sankhyablocks/snk-filter-detail.entry.js +45 -0
- package/dist/sankhyablocks/snk-filter-item.entry.js +139 -0
- package/dist/sankhyablocks/snk-filter-list.entry.js +87 -0
- package/dist/sankhyablocks/snk-filter-multi-select.entry.js +19 -0
- package/dist/sankhyablocks/snk-filter-number.entry.js +20 -0
- package/dist/sankhyablocks/snk-filter-period.entry.js +22 -0
- package/dist/sankhyablocks/snk-filter-search.entry.js +40 -0
- package/dist/sankhyablocks/snk-filter-text.entry.js +18 -0
- package/dist/sankhyablocks/snk-form.entry.js +129 -0
- package/dist/sankhyablocks/snk-grid.entry.js +75 -0
- package/dist/sankhyablocks/snk-pesquisa.entry.js +311 -0
- package/dist/sankhyablocks/snk-taskbar.entry.js +156 -0
- package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +90 -0
- package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +45 -0
- package/dist/sankhyablocks/teste-pesquisa.entry.js +33 -0
- package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
- package/dist/types/components/snk-application/snk-application.d.ts +9 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +13 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +9 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +14 -0
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +40 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +45 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +3 -2
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +17 -1
- package/dist/types/components.d.ts +277 -2
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +5 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/package.json +2 -2
- package/react/components.d.ts +0 -7
- package/react/components.js +0 -7
- package/react/components.js.map +1 -1
- package/dist/esm/index-cf91f542.js +0 -1817
- package/dist/esm/taskbar-elements-bcccc0ff.js +0 -72
- package/dist/sankhyablocks/p-1ba29824.entry.js +0 -74
- package/dist/sankhyablocks/p-2266555e.entry.js +0 -1
- package/dist/sankhyablocks/p-23c4c94f.js +0 -2
- package/dist/sankhyablocks/p-2454be94.js +0 -1
- package/dist/sankhyablocks/p-49743bc5.js +0 -1
- package/dist/sankhyablocks/p-4fa389bd.entry.js +0 -1
- package/dist/sankhyablocks/p-5327ba05.entry.js +0 -1
- package/dist/sankhyablocks/p-7a922fb4.entry.js +0 -1
- package/dist/sankhyablocks/p-92d6f826.entry.js +0 -1
- package/dist/sankhyablocks/p-bdeef7f2.entry.js +0 -1
|
@@ -1,21 +1,48 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { ErrorException, StringUtils, DataUnit, DataType, ChangeOperation, DateUtils, ObjectUtils, WaitingChangeException,
|
|
3
|
-
import { ApplicationUtils } from '
|
|
4
|
-
import {
|
|
2
|
+
import { E as ErrorException, W as WarningException, S as StringUtils, D as DataUnit, b as DataType, C as ChangeOperation, c as DateUtils, O as ObjectUtils, d as WaitingChangeException, e as DependencyType, a as ApplicationContext, f as ErrorTracking } from './index2.js';
|
|
3
|
+
import { A as ApplicationUtils, S as SnkMessageBuilder } from './SnkMessageBuilder.js';
|
|
4
|
+
import { F as FilterItemType } from './filter-item-type.enum.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './snk-pesquisa2.js';
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
8
|
|
|
9
|
+
function getDefaultExportFromCjs (x) {
|
|
10
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
function createCommonjsModule(fn, basedir, module) {
|
|
10
14
|
return module = {
|
|
11
15
|
path: basedir,
|
|
12
16
|
exports: {},
|
|
13
17
|
require: function (path, base) {
|
|
14
|
-
return commonjsRequire();
|
|
18
|
+
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
|
|
15
19
|
}
|
|
16
20
|
}, fn(module, module.exports), module.exports;
|
|
17
21
|
}
|
|
18
22
|
|
|
23
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
24
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
28
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function getAugmentedNamespace(n) {
|
|
32
|
+
if (n.__esModule) return n;
|
|
33
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
34
|
+
Object.keys(n).forEach(function (k) {
|
|
35
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
36
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return n[k];
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
return a;
|
|
44
|
+
}
|
|
45
|
+
|
|
19
46
|
function commonjsRequire () {
|
|
20
47
|
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
21
48
|
}
|
|
@@ -32,7 +59,7 @@ return new F();
|
|
|
32
59
|
})();
|
|
33
60
|
(function(self) {
|
|
34
61
|
|
|
35
|
-
(
|
|
62
|
+
var irrelevant = (function (exports) {
|
|
36
63
|
|
|
37
64
|
var support = {
|
|
38
65
|
searchParams: 'URLSearchParams' in self,
|
|
@@ -560,7 +587,7 @@ return new F();
|
|
|
560
587
|
|
|
561
588
|
return exports;
|
|
562
589
|
|
|
563
|
-
})
|
|
590
|
+
})({});
|
|
564
591
|
})(__self__);
|
|
565
592
|
__self__.fetch.ponyfill = true;
|
|
566
593
|
// Remove "polyfill" property added by whatwg-fetch
|
|
@@ -577,7 +604,10 @@ exports.Response = ctx.Response;
|
|
|
577
604
|
module.exports = exports;
|
|
578
605
|
});
|
|
579
606
|
|
|
607
|
+
const browserPonyfill$1 = /*@__PURE__*/getDefaultExportFromCjs(browserPonyfill);
|
|
608
|
+
|
|
580
609
|
var isObjectLike_1 = createCommonjsModule(function (module, exports) {
|
|
610
|
+
'use strict';
|
|
581
611
|
|
|
582
612
|
Object.defineProperty(exports, '__esModule', {
|
|
583
613
|
value: true,
|
|
@@ -593,7 +623,10 @@ function isObjectLike(value) {
|
|
|
593
623
|
}
|
|
594
624
|
});
|
|
595
625
|
|
|
626
|
+
const isObjectLike = /*@__PURE__*/getDefaultExportFromCjs(isObjectLike_1);
|
|
627
|
+
|
|
596
628
|
var invariant_1 = createCommonjsModule(function (module, exports) {
|
|
629
|
+
'use strict';
|
|
597
630
|
|
|
598
631
|
Object.defineProperty(exports, '__esModule', {
|
|
599
632
|
value: true,
|
|
@@ -611,7 +644,10 @@ function invariant(condition, message) {
|
|
|
611
644
|
}
|
|
612
645
|
});
|
|
613
646
|
|
|
647
|
+
const invariant = /*@__PURE__*/getDefaultExportFromCjs(invariant_1);
|
|
648
|
+
|
|
614
649
|
var location_1 = createCommonjsModule(function (module, exports) {
|
|
650
|
+
'use strict';
|
|
615
651
|
|
|
616
652
|
Object.defineProperty(exports, '__esModule', {
|
|
617
653
|
value: true,
|
|
@@ -651,7 +687,10 @@ function getLocation(source, position) {
|
|
|
651
687
|
}
|
|
652
688
|
});
|
|
653
689
|
|
|
690
|
+
const location$1 = /*@__PURE__*/getDefaultExportFromCjs(location_1);
|
|
691
|
+
|
|
654
692
|
var printLocation_1 = createCommonjsModule(function (module, exports) {
|
|
693
|
+
'use strict';
|
|
655
694
|
|
|
656
695
|
Object.defineProperty(exports, '__esModule', {
|
|
657
696
|
value: true,
|
|
@@ -727,7 +766,10 @@ function printPrefixedLines(lines) {
|
|
|
727
766
|
}
|
|
728
767
|
});
|
|
729
768
|
|
|
769
|
+
const printLocation = /*@__PURE__*/getDefaultExportFromCjs(printLocation_1);
|
|
770
|
+
|
|
730
771
|
var GraphQLError_1 = createCommonjsModule(function (module, exports) {
|
|
772
|
+
'use strict';
|
|
731
773
|
|
|
732
774
|
Object.defineProperty(exports, '__esModule', {
|
|
733
775
|
value: true,
|
|
@@ -996,7 +1038,10 @@ function formatError(error) {
|
|
|
996
1038
|
}
|
|
997
1039
|
});
|
|
998
1040
|
|
|
1041
|
+
const GraphQLError = /*@__PURE__*/getDefaultExportFromCjs(GraphQLError_1);
|
|
1042
|
+
|
|
999
1043
|
var syntaxError_1 = createCommonjsModule(function (module, exports) {
|
|
1044
|
+
'use strict';
|
|
1000
1045
|
|
|
1001
1046
|
Object.defineProperty(exports, '__esModule', {
|
|
1002
1047
|
value: true,
|
|
@@ -1017,7 +1062,10 @@ function syntaxError(source, position, description) {
|
|
|
1017
1062
|
}
|
|
1018
1063
|
});
|
|
1019
1064
|
|
|
1065
|
+
const syntaxError = /*@__PURE__*/getDefaultExportFromCjs(syntaxError_1);
|
|
1066
|
+
|
|
1020
1067
|
var ast = createCommonjsModule(function (module, exports) {
|
|
1068
|
+
'use strict';
|
|
1021
1069
|
|
|
1022
1070
|
Object.defineProperty(exports, '__esModule', {
|
|
1023
1071
|
value: true,
|
|
@@ -1243,7 +1291,10 @@ exports.OperationTypeNode = OperationTypeNode;
|
|
|
1243
1291
|
})(OperationTypeNode || (exports.OperationTypeNode = OperationTypeNode = {}));
|
|
1244
1292
|
});
|
|
1245
1293
|
|
|
1294
|
+
const ast$1 = /*@__PURE__*/getDefaultExportFromCjs(ast);
|
|
1295
|
+
|
|
1246
1296
|
var directiveLocation = createCommonjsModule(function (module, exports) {
|
|
1297
|
+
'use strict';
|
|
1247
1298
|
|
|
1248
1299
|
Object.defineProperty(exports, '__esModule', {
|
|
1249
1300
|
value: true,
|
|
@@ -1284,7 +1335,10 @@ exports.DirectiveLocation = DirectiveLocation;
|
|
|
1284
1335
|
*/
|
|
1285
1336
|
});
|
|
1286
1337
|
|
|
1338
|
+
const directiveLocation$1 = /*@__PURE__*/getDefaultExportFromCjs(directiveLocation);
|
|
1339
|
+
|
|
1287
1340
|
var kinds = createCommonjsModule(function (module, exports) {
|
|
1341
|
+
'use strict';
|
|
1288
1342
|
|
|
1289
1343
|
Object.defineProperty(exports, '__esModule', {
|
|
1290
1344
|
value: true,
|
|
@@ -1349,7 +1403,10 @@ exports.Kind = Kind;
|
|
|
1349
1403
|
*/
|
|
1350
1404
|
});
|
|
1351
1405
|
|
|
1406
|
+
const kinds$1 = /*@__PURE__*/getDefaultExportFromCjs(kinds);
|
|
1407
|
+
|
|
1352
1408
|
var characterClasses = createCommonjsModule(function (module, exports) {
|
|
1409
|
+
'use strict';
|
|
1353
1410
|
|
|
1354
1411
|
Object.defineProperty(exports, '__esModule', {
|
|
1355
1412
|
value: true,
|
|
@@ -1426,7 +1483,10 @@ function isNameContinue(code) {
|
|
|
1426
1483
|
}
|
|
1427
1484
|
});
|
|
1428
1485
|
|
|
1486
|
+
const characterClasses$1 = /*@__PURE__*/getDefaultExportFromCjs(characterClasses);
|
|
1487
|
+
|
|
1429
1488
|
var blockString = createCommonjsModule(function (module, exports) {
|
|
1489
|
+
'use strict';
|
|
1430
1490
|
|
|
1431
1491
|
Object.defineProperty(exports, '__esModule', {
|
|
1432
1492
|
value: true,
|
|
@@ -1623,7 +1683,10 @@ function printBlockString(value, options) {
|
|
|
1623
1683
|
}
|
|
1624
1684
|
});
|
|
1625
1685
|
|
|
1686
|
+
const blockString$1 = /*@__PURE__*/getDefaultExportFromCjs(blockString);
|
|
1687
|
+
|
|
1626
1688
|
var tokenKind = createCommonjsModule(function (module, exports) {
|
|
1689
|
+
'use strict';
|
|
1627
1690
|
|
|
1628
1691
|
Object.defineProperty(exports, '__esModule', {
|
|
1629
1692
|
value: true,
|
|
@@ -1668,7 +1731,10 @@ exports.TokenKind = TokenKind;
|
|
|
1668
1731
|
*/
|
|
1669
1732
|
});
|
|
1670
1733
|
|
|
1734
|
+
const tokenKind$1 = /*@__PURE__*/getDefaultExportFromCjs(tokenKind);
|
|
1735
|
+
|
|
1671
1736
|
var lexer = createCommonjsModule(function (module, exports) {
|
|
1737
|
+
'use strict';
|
|
1672
1738
|
|
|
1673
1739
|
Object.defineProperty(exports, '__esModule', {
|
|
1674
1740
|
value: true,
|
|
@@ -2676,7 +2742,10 @@ function readName(lexer, start) {
|
|
|
2676
2742
|
}
|
|
2677
2743
|
});
|
|
2678
2744
|
|
|
2745
|
+
const lexer$1 = /*@__PURE__*/getDefaultExportFromCjs(lexer);
|
|
2746
|
+
|
|
2679
2747
|
var devAssert_1 = createCommonjsModule(function (module, exports) {
|
|
2748
|
+
'use strict';
|
|
2680
2749
|
|
|
2681
2750
|
Object.defineProperty(exports, '__esModule', {
|
|
2682
2751
|
value: true,
|
|
@@ -2692,7 +2761,10 @@ function devAssert(condition, message) {
|
|
|
2692
2761
|
}
|
|
2693
2762
|
});
|
|
2694
2763
|
|
|
2764
|
+
const devAssert = /*@__PURE__*/getDefaultExportFromCjs(devAssert_1);
|
|
2765
|
+
|
|
2695
2766
|
var inspect_1 = createCommonjsModule(function (module, exports) {
|
|
2767
|
+
'use strict';
|
|
2696
2768
|
|
|
2697
2769
|
Object.defineProperty(exports, '__esModule', {
|
|
2698
2770
|
value: true,
|
|
@@ -2815,7 +2887,10 @@ function getObjectTag(object) {
|
|
|
2815
2887
|
}
|
|
2816
2888
|
});
|
|
2817
2889
|
|
|
2890
|
+
const inspect = /*@__PURE__*/getDefaultExportFromCjs(inspect_1);
|
|
2891
|
+
|
|
2818
2892
|
var instanceOf_1 = createCommonjsModule(function (module, exports) {
|
|
2893
|
+
'use strict';
|
|
2819
2894
|
|
|
2820
2895
|
Object.defineProperty(exports, '__esModule', {
|
|
2821
2896
|
value: true,
|
|
@@ -2834,14 +2909,54 @@ const instanceOf =
|
|
|
2834
2909
|
/* c8 ignore next 6 */
|
|
2835
2910
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
|
2836
2911
|
// eslint-disable-next-line no-undef
|
|
2837
|
-
|
|
2912
|
+
"development" === 'production'
|
|
2913
|
+
? function instanceOf(value, constructor) {
|
|
2838
2914
|
return value instanceof constructor;
|
|
2839
2915
|
}
|
|
2840
|
-
|
|
2916
|
+
: function instanceOf(value, constructor) {
|
|
2917
|
+
if (value instanceof constructor) {
|
|
2918
|
+
return true;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
if (typeof value === 'object' && value !== null) {
|
|
2922
|
+
var _value$constructor;
|
|
2923
|
+
|
|
2924
|
+
// Prefer Symbol.toStringTag since it is immune to minification.
|
|
2925
|
+
const className = constructor.prototype[Symbol.toStringTag];
|
|
2926
|
+
const valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.
|
|
2927
|
+
Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009
|
|
2928
|
+
? value[Symbol.toStringTag]
|
|
2929
|
+
: (_value$constructor = value.constructor) === null ||
|
|
2930
|
+
_value$constructor === void 0
|
|
2931
|
+
? void 0
|
|
2932
|
+
: _value$constructor.name;
|
|
2933
|
+
|
|
2934
|
+
if (className === valueClassName) {
|
|
2935
|
+
const stringifiedValue = (0, inspect_1.inspect)(value);
|
|
2936
|
+
throw new Error(`Cannot use ${className} "${stringifiedValue}" from another module or realm.
|
|
2937
|
+
|
|
2938
|
+
Ensure that there is only one instance of "graphql" in the node_modules
|
|
2939
|
+
directory. If different versions of "graphql" are the dependencies of other
|
|
2940
|
+
relied on modules, use "resolutions" to ensure only one version is installed.
|
|
2941
|
+
|
|
2942
|
+
https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
2943
|
+
|
|
2944
|
+
Duplicate "graphql" modules cannot be used at the same time since different
|
|
2945
|
+
versions may have different capabilities and behavior. The data from one
|
|
2946
|
+
version used in the function from another could produce confusing and
|
|
2947
|
+
spurious results.`);
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
return false;
|
|
2952
|
+
};
|
|
2841
2953
|
exports.instanceOf = instanceOf;
|
|
2842
2954
|
});
|
|
2843
2955
|
|
|
2956
|
+
const instanceOf = /*@__PURE__*/getDefaultExportFromCjs(instanceOf_1);
|
|
2957
|
+
|
|
2844
2958
|
var source = createCommonjsModule(function (module, exports) {
|
|
2959
|
+
'use strict';
|
|
2845
2960
|
|
|
2846
2961
|
Object.defineProperty(exports, '__esModule', {
|
|
2847
2962
|
value: true,
|
|
@@ -2908,7 +3023,10 @@ function isSource(source) {
|
|
|
2908
3023
|
}
|
|
2909
3024
|
});
|
|
2910
3025
|
|
|
3026
|
+
const source$1 = /*@__PURE__*/getDefaultExportFromCjs(source);
|
|
3027
|
+
|
|
2911
3028
|
var parser = createCommonjsModule(function (module, exports) {
|
|
3029
|
+
'use strict';
|
|
2912
3030
|
|
|
2913
3031
|
Object.defineProperty(exports, '__esModule', {
|
|
2914
3032
|
value: true,
|
|
@@ -4477,7 +4595,10 @@ function getTokenKindDesc(kind) {
|
|
|
4477
4595
|
}
|
|
4478
4596
|
});
|
|
4479
4597
|
|
|
4598
|
+
const parser$1 = /*@__PURE__*/getDefaultExportFromCjs(parser);
|
|
4599
|
+
|
|
4480
4600
|
var printString_1 = createCommonjsModule(function (module, exports) {
|
|
4601
|
+
'use strict';
|
|
4481
4602
|
|
|
4482
4603
|
Object.defineProperty(exports, '__esModule', {
|
|
4483
4604
|
value: true,
|
|
@@ -4662,7 +4783,10 @@ const escapeSequences = [
|
|
|
4662
4783
|
];
|
|
4663
4784
|
});
|
|
4664
4785
|
|
|
4786
|
+
const printString = /*@__PURE__*/getDefaultExportFromCjs(printString_1);
|
|
4787
|
+
|
|
4665
4788
|
var visitor = createCommonjsModule(function (module, exports) {
|
|
4789
|
+
'use strict';
|
|
4666
4790
|
|
|
4667
4791
|
Object.defineProperty(exports, '__esModule', {
|
|
4668
4792
|
value: true,
|
|
@@ -5041,7 +5165,10 @@ function getVisitFn(visitor, kind, isLeaving) {
|
|
|
5041
5165
|
}
|
|
5042
5166
|
});
|
|
5043
5167
|
|
|
5168
|
+
const visitor$1 = /*@__PURE__*/getDefaultExportFromCjs(visitor);
|
|
5169
|
+
|
|
5044
5170
|
var printer = createCommonjsModule(function (module, exports) {
|
|
5171
|
+
'use strict';
|
|
5045
5172
|
|
|
5046
5173
|
Object.defineProperty(exports, '__esModule', {
|
|
5047
5174
|
value: true,
|
|
@@ -5394,6 +5521,10 @@ function hasMultilineItems(maybeArray) {
|
|
|
5394
5521
|
}
|
|
5395
5522
|
});
|
|
5396
5523
|
|
|
5524
|
+
const printer$1 = /*@__PURE__*/getDefaultExportFromCjs(printer);
|
|
5525
|
+
|
|
5526
|
+
'use strict';
|
|
5527
|
+
|
|
5397
5528
|
var ReactNativeFile$1 = function ReactNativeFile(_ref) {
|
|
5398
5529
|
var uri = _ref.uri,
|
|
5399
5530
|
name = _ref.name,
|
|
@@ -5403,6 +5534,10 @@ var ReactNativeFile$1 = function ReactNativeFile(_ref) {
|
|
|
5403
5534
|
this.type = type;
|
|
5404
5535
|
};
|
|
5405
5536
|
|
|
5537
|
+
'use strict';
|
|
5538
|
+
|
|
5539
|
+
|
|
5540
|
+
|
|
5406
5541
|
var isExtractableFile$1 = function isExtractableFile(value) {
|
|
5407
5542
|
return (
|
|
5408
5543
|
(typeof File !== 'undefined' && value instanceof File) ||
|
|
@@ -5411,6 +5546,10 @@ var isExtractableFile$1 = function isExtractableFile(value) {
|
|
|
5411
5546
|
);
|
|
5412
5547
|
};
|
|
5413
5548
|
|
|
5549
|
+
'use strict';
|
|
5550
|
+
|
|
5551
|
+
|
|
5552
|
+
|
|
5414
5553
|
var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
|
|
5415
5554
|
if (path === void 0) {
|
|
5416
5555
|
path = '';
|
|
@@ -5462,6 +5601,8 @@ var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
|
|
|
5462
5601
|
};
|
|
5463
5602
|
};
|
|
5464
5603
|
|
|
5604
|
+
'use strict';
|
|
5605
|
+
|
|
5465
5606
|
var ReactNativeFile = ReactNativeFile$1;
|
|
5466
5607
|
var extractFiles = extractFiles$1;
|
|
5467
5608
|
var isExtractableFile = isExtractableFile$1;
|
|
@@ -5476,6 +5617,7 @@ var _public = {
|
|
|
5476
5617
|
var browser = typeof self == 'object' ? self.FormData : window.FormData;
|
|
5477
5618
|
|
|
5478
5619
|
var defaultJsonSerializer = createCommonjsModule(function (module, exports) {
|
|
5620
|
+
"use strict";
|
|
5479
5621
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5480
5622
|
exports.defaultJsonSerializer = void 0;
|
|
5481
5623
|
exports.defaultJsonSerializer = {
|
|
@@ -5485,7 +5627,10 @@ exports.defaultJsonSerializer = {
|
|
|
5485
5627
|
//# sourceMappingURL=defaultJsonSerializer.js.map
|
|
5486
5628
|
});
|
|
5487
5629
|
|
|
5630
|
+
const defaultJsonSerializer$1 = /*@__PURE__*/getDefaultExportFromCjs(defaultJsonSerializer);
|
|
5631
|
+
|
|
5488
5632
|
var createRequestBody_1 = createCommonjsModule(function (module, exports) {
|
|
5633
|
+
"use strict";
|
|
5489
5634
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
5490
5635
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5491
5636
|
};
|
|
@@ -5542,7 +5687,10 @@ exports.default = createRequestBody;
|
|
|
5542
5687
|
//# sourceMappingURL=createRequestBody.js.map
|
|
5543
5688
|
});
|
|
5544
5689
|
|
|
5690
|
+
const createRequestBody = /*@__PURE__*/getDefaultExportFromCjs(createRequestBody_1);
|
|
5691
|
+
|
|
5545
5692
|
var parseArgs = createCommonjsModule(function (module, exports) {
|
|
5693
|
+
"use strict";
|
|
5546
5694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5547
5695
|
exports.parseBatchRequestsExtendedArgs = exports.parseRawRequestExtendedArgs = exports.parseRequestExtendedArgs = exports.parseBatchRequestArgs = exports.parseRawRequestArgs = exports.parseRequestArgs = void 0;
|
|
5548
5696
|
function parseRequestArgs(documentOrOptions, variables, requestHeaders) {
|
|
@@ -5615,7 +5763,10 @@ exports.parseBatchRequestsExtendedArgs = parseBatchRequestsExtendedArgs;
|
|
|
5615
5763
|
//# sourceMappingURL=parseArgs.js.map
|
|
5616
5764
|
});
|
|
5617
5765
|
|
|
5766
|
+
const parseArgs$1 = /*@__PURE__*/getDefaultExportFromCjs(parseArgs);
|
|
5767
|
+
|
|
5618
5768
|
var types = createCommonjsModule(function (module, exports) {
|
|
5769
|
+
"use strict";
|
|
5619
5770
|
var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
|
|
5620
5771
|
var extendStatics = function (d, b) {
|
|
5621
5772
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -5665,7 +5816,10 @@ exports.ClientError = ClientError;
|
|
|
5665
5816
|
//# sourceMappingURL=types.js.map
|
|
5666
5817
|
});
|
|
5667
5818
|
|
|
5819
|
+
const types$1 = /*@__PURE__*/getDefaultExportFromCjs(types);
|
|
5820
|
+
|
|
5668
5821
|
var graphqlWs = createCommonjsModule(function (module, exports) {
|
|
5822
|
+
"use strict";
|
|
5669
5823
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
5670
5824
|
__assign = Object.assign || function(t) {
|
|
5671
5825
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -5845,6 +5999,8 @@ var GraphQLWebSocketClient = /** @class */ (function () {
|
|
|
5845
5999
|
if (message.payload.errors) {
|
|
5846
6000
|
subscriber.error && subscriber.error(new types.ClientError(__assign(__assign({}, message.payload), { status: 200 }), { query: query, variables: variables }));
|
|
5847
6001
|
}
|
|
6002
|
+
else {
|
|
6003
|
+
}
|
|
5848
6004
|
return;
|
|
5849
6005
|
}
|
|
5850
6006
|
case ERROR: {
|
|
@@ -5939,7 +6095,10 @@ function Complete(id) {
|
|
|
5939
6095
|
//# sourceMappingURL=graphql-ws.js.map
|
|
5940
6096
|
});
|
|
5941
6097
|
|
|
6098
|
+
const graphqlWs$1 = /*@__PURE__*/getDefaultExportFromCjs(graphqlWs);
|
|
6099
|
+
|
|
5942
6100
|
var dist = createCommonjsModule(function (module, exports) {
|
|
6101
|
+
"use strict";
|
|
5943
6102
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
5944
6103
|
__assign = Object.assign || function(t) {
|
|
5945
6104
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -6264,7 +6423,7 @@ exports.GraphQLClient = GraphQLClient;
|
|
|
6264
6423
|
function makeRequest(_a) {
|
|
6265
6424
|
var url = _a.url, query = _a.query, variables = _a.variables, headers = _a.headers, operationName = _a.operationName, fetch = _a.fetch, _b = _a.method, method = _b === void 0 ? 'POST' : _b, fetchOptions = _a.fetchOptions;
|
|
6266
6425
|
return __awaiter(this, void 0, void 0, function () {
|
|
6267
|
-
var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1, rest, data, errorResult;
|
|
6426
|
+
var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1, errors, rest, data, errorResult;
|
|
6268
6427
|
return __generator(this, function (_c) {
|
|
6269
6428
|
switch (_c.label) {
|
|
6270
6429
|
case 0:
|
|
@@ -6291,7 +6450,7 @@ function makeRequest(_a) {
|
|
|
6291
6450
|
successfullyPassedErrorPolicy = !result.errors || fetchOptions.errorPolicy === 'all' || fetchOptions.errorPolicy === 'ignore';
|
|
6292
6451
|
if (response.ok && successfullyPassedErrorPolicy && successfullyReceivedData) {
|
|
6293
6452
|
headers_1 = response.headers, status_1 = response.status;
|
|
6294
|
-
rest = __rest(result, ["errors"]);
|
|
6453
|
+
errors = result.errors, rest = __rest(result, ["errors"]);
|
|
6295
6454
|
data = fetchOptions.errorPolicy === 'ignore' ? rest : result;
|
|
6296
6455
|
return [2 /*return*/, __assign(__assign({}, (isBathchingQuery ? { data: data } : data)), { headers: headers_1, status: status_1 })];
|
|
6297
6456
|
}
|
|
@@ -6299,6 +6458,7 @@ function makeRequest(_a) {
|
|
|
6299
6458
|
errorResult = typeof result === 'string' ? { error: result } : result;
|
|
6300
6459
|
throw new types.ClientError(__assign(__assign({}, errorResult), { status: response.status, headers: response.headers }), { query: query, variables: variables });
|
|
6301
6460
|
}
|
|
6461
|
+
return [2 /*return*/];
|
|
6302
6462
|
}
|
|
6303
6463
|
});
|
|
6304
6464
|
});
|
|
@@ -6428,6 +6588,8 @@ Object.defineProperty(exports, "GraphQLWebSocketClient", { enumerable: true, get
|
|
|
6428
6588
|
//# sourceMappingURL=index.js.map
|
|
6429
6589
|
});
|
|
6430
6590
|
|
|
6591
|
+
const index = /*@__PURE__*/getDefaultExportFromCjs(dist);
|
|
6592
|
+
|
|
6431
6593
|
class UrlUtils {
|
|
6432
6594
|
static getQueryParams(queryString) {
|
|
6433
6595
|
const params = new Map();
|
|
@@ -6485,6 +6647,27 @@ class DataFetcher {
|
|
|
6485
6647
|
DataFetcher.requestListener.splice(index, 1);
|
|
6486
6648
|
}
|
|
6487
6649
|
}
|
|
6650
|
+
processErrorInfo(errors) {
|
|
6651
|
+
var _a, _b;
|
|
6652
|
+
const POSITION_ERROR_INFO = 0;
|
|
6653
|
+
const errorTitle = "Falha detectada";
|
|
6654
|
+
const error = errors[POSITION_ERROR_INFO];
|
|
6655
|
+
if (error.length > 0) { //As informações do erro vem no primeiro indice de um array
|
|
6656
|
+
const errorInfo = error[POSITION_ERROR_INFO];
|
|
6657
|
+
const errorMessage = (errorInfo === null || errorInfo === void 0 ? void 0 : errorInfo.message) ? errorInfo === null || errorInfo === void 0 ? void 0 : errorInfo.message : "Não há mensagem de erro";
|
|
6658
|
+
const errorLevel = ((_a = errorInfo === null || errorInfo === void 0 ? void 0 : errorInfo.extensions) === null || _a === void 0 ? void 0 : _a.level) ? errorInfo.extensions.level : "ERROR";
|
|
6659
|
+
const errorCode = ((_b = errorInfo === null || errorInfo === void 0 ? void 0 : errorInfo.extensions) === null || _b === void 0 ? void 0 : _b.code) ? errorInfo.extensions.code : "";
|
|
6660
|
+
switch (errorLevel) {
|
|
6661
|
+
case "WARNING":
|
|
6662
|
+
return new WarningException(errorTitle, errorMessage, errorCode);
|
|
6663
|
+
default:
|
|
6664
|
+
return new ErrorException(errorTitle, errorMessage, errorCode);
|
|
6665
|
+
}
|
|
6666
|
+
}
|
|
6667
|
+
else {
|
|
6668
|
+
return new ErrorException(errorTitle, "Não há informações sobre o erro");
|
|
6669
|
+
}
|
|
6670
|
+
}
|
|
6488
6671
|
async callGraphQL(req) {
|
|
6489
6672
|
var _a;
|
|
6490
6673
|
const reqKey = this.getReqKey(req);
|
|
@@ -6495,7 +6678,8 @@ class DataFetcher {
|
|
|
6495
6678
|
let query = this.getQueryTemplate(req);
|
|
6496
6679
|
const res = await this.fecthGrapql([{ document: query, variables: req.values }]);
|
|
6497
6680
|
if (res.errors.length > 0) {
|
|
6498
|
-
|
|
6681
|
+
const error = this.processErrorInfo(res.errors);
|
|
6682
|
+
reject(error);
|
|
6499
6683
|
}
|
|
6500
6684
|
else {
|
|
6501
6685
|
resolve(res.data[0][reqKey]);
|
|
@@ -6834,7 +7018,7 @@ class DataUnitFetcher {
|
|
|
6834
7018
|
const { limit, offset, total, hasMore, records } = resp.data;
|
|
6835
7019
|
let paginationInfo;
|
|
6836
7020
|
if (limit) {
|
|
6837
|
-
const firstRecord = offset + 1;
|
|
7021
|
+
const firstRecord = total == 0 ? 0 : offset + 1;
|
|
6838
7022
|
const lastRecord = offset + Math.min(records.length, limit);
|
|
6839
7023
|
const currentPage = offset / limit;
|
|
6840
7024
|
paginationInfo = {
|
|
@@ -7250,7 +7434,14 @@ class SnkErrorHandler {
|
|
|
7250
7434
|
errorHandler(evt) {
|
|
7251
7435
|
this.processException(evt.error);
|
|
7252
7436
|
}
|
|
7437
|
+
buildErrorCodeHTML(exception) {
|
|
7438
|
+
const onclick = 'try{window.workspace.openHelp(\'_tbcode:' + exception.errorCode + '\')} catch(e){alert(\'Não é possível abrir a ajuda fora do workspace Sankhya\');}';
|
|
7439
|
+
return '<br><a href="#" onclick="' + onclick + '">Código: ' + exception.errorCode + '</a>';
|
|
7440
|
+
}
|
|
7253
7441
|
processException(exception) {
|
|
7442
|
+
if (exception.errorCode != "") {
|
|
7443
|
+
exception.message += this.buildErrorCodeHTML(exception);
|
|
7444
|
+
}
|
|
7254
7445
|
if (exception instanceof WaitingChangeException) {
|
|
7255
7446
|
this._app.alert(exception.title, exception.message);
|
|
7256
7447
|
}
|
|
@@ -7325,6 +7516,393 @@ class TotalsFetcher {
|
|
|
7325
7516
|
}
|
|
7326
7517
|
}
|
|
7327
7518
|
|
|
7519
|
+
class FilterBarConfigFetcher extends ResourceFetcher {
|
|
7520
|
+
getConfig(resourceID) {
|
|
7521
|
+
return new Promise((resolve) => {
|
|
7522
|
+
if (resourceID === "br.com.sankhya.fin.cad.movimentacaoFinanceira") {
|
|
7523
|
+
resolve(getFiltrosMovFin());
|
|
7524
|
+
}
|
|
7525
|
+
else if (resourceID === "br.com.sankhya.fin.cad.movimentacaoBancaria") {
|
|
7526
|
+
resolve(getFiltrosMovBan());
|
|
7527
|
+
}
|
|
7528
|
+
else {
|
|
7529
|
+
resolve(undefined);
|
|
7530
|
+
}
|
|
7531
|
+
});
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7534
|
+
function getFiltrosMovBan() {
|
|
7535
|
+
return [{
|
|
7536
|
+
"id": "DTLANC",
|
|
7537
|
+
"visible": true,
|
|
7538
|
+
"type": FilterItemType.PERIOD,
|
|
7539
|
+
"label": "Dt Lançamento",
|
|
7540
|
+
"detailTitle": "Informe a data ou período",
|
|
7541
|
+
"props": {
|
|
7542
|
+
"expression": {
|
|
7543
|
+
"fullfill": "onlydate(this.DTLANC) >= :DTLANC.START AND onlydate(this.DTLANC) <= :DTLANC.END",
|
|
7544
|
+
"onlystart": "onlydate(this.DTLANC) >= :DTLANC",
|
|
7545
|
+
"onlyend": "onlydate(this.DTLANC) <= :DTLANC"
|
|
7546
|
+
}
|
|
7547
|
+
}
|
|
7548
|
+
},
|
|
7549
|
+
{
|
|
7550
|
+
"id": "CODCTABCOINT",
|
|
7551
|
+
"visible": true,
|
|
7552
|
+
"type": FilterItemType.SEARCH,
|
|
7553
|
+
"label": "Conta origem",
|
|
7554
|
+
"detailTitle": "Informe a conta de origem",
|
|
7555
|
+
"props": {
|
|
7556
|
+
"expression": "this.CODCTABCOINT = :CODCTABCOINT",
|
|
7557
|
+
"searchContext": {
|
|
7558
|
+
"entity": "ImplantacaoSaldoConta",
|
|
7559
|
+
"entityDescription": "Conta origem",
|
|
7560
|
+
"searchOptions": {
|
|
7561
|
+
"rootEntity": "MovimentoBancario",
|
|
7562
|
+
"descriptionFieldName": "DESCRICAO",
|
|
7563
|
+
"codeFieldName": "CODCTABCOINT",
|
|
7564
|
+
"showInactives": false
|
|
7565
|
+
}
|
|
7566
|
+
}
|
|
7567
|
+
}
|
|
7568
|
+
},
|
|
7569
|
+
{
|
|
7570
|
+
"id": "CODTIPOPER",
|
|
7571
|
+
"visible": false,
|
|
7572
|
+
"type": FilterItemType.SEARCH,
|
|
7573
|
+
"label": "Tipo de operação",
|
|
7574
|
+
"detailTitle": "Informe o tipo de operação",
|
|
7575
|
+
"props": {
|
|
7576
|
+
"expression": "this.CODTIPOPER = :CODTIPOPER",
|
|
7577
|
+
"searchContext": {
|
|
7578
|
+
"entity": "TipoOperacao",
|
|
7579
|
+
"entityDescription": "Tipo de operação",
|
|
7580
|
+
"searchOptions": {
|
|
7581
|
+
"rootEntity": "MovimentoBancario",
|
|
7582
|
+
"descriptionFieldName": "DESCROPER",
|
|
7583
|
+
"codeFieldName": "CODTIPOPER",
|
|
7584
|
+
"showInactives": false
|
|
7585
|
+
}
|
|
7586
|
+
}
|
|
7587
|
+
}
|
|
7588
|
+
},
|
|
7589
|
+
{
|
|
7590
|
+
"id": "ORIGMOV",
|
|
7591
|
+
"visible": false,
|
|
7592
|
+
"type": FilterItemType.MULTI_SELECT,
|
|
7593
|
+
"label": "Tipo de movimento",
|
|
7594
|
+
"detailTitle": "Escolha um tipo de movimento",
|
|
7595
|
+
"props": {
|
|
7596
|
+
"expression": "this.ORIGMOV = :ORIGMOV",
|
|
7597
|
+
"options": [
|
|
7598
|
+
{ "value": "A", "label": "Aplicação" },
|
|
7599
|
+
{ "value": "R", "label": "Resgate" },
|
|
7600
|
+
{ "value": "S", "label": "Saque" },
|
|
7601
|
+
{ "value": "D", "label": "Depósito" },
|
|
7602
|
+
{ "value": "T", "label": "Transferência" }
|
|
7603
|
+
]
|
|
7604
|
+
}
|
|
7605
|
+
},
|
|
7606
|
+
{
|
|
7607
|
+
"id": "NUBCO",
|
|
7608
|
+
"type": FilterItemType.NUMBER,
|
|
7609
|
+
"visible": false,
|
|
7610
|
+
"label": "Nr. único",
|
|
7611
|
+
"detailTitle": "Informe o número único",
|
|
7612
|
+
"props": {
|
|
7613
|
+
"expression": "this.NUBCO = :NUBCO"
|
|
7614
|
+
}
|
|
7615
|
+
},
|
|
7616
|
+
{
|
|
7617
|
+
"id": "VLRLANC",
|
|
7618
|
+
"type": FilterItemType.NUMBER,
|
|
7619
|
+
"visible": false,
|
|
7620
|
+
"label": "Vlr. Lançamento",
|
|
7621
|
+
"detailTitle": "Informe o valor do lançamento",
|
|
7622
|
+
"props": {
|
|
7623
|
+
"expression": "this.VLRLANC = :VLRLANC",
|
|
7624
|
+
"precision": 2
|
|
7625
|
+
}
|
|
7626
|
+
},
|
|
7627
|
+
{
|
|
7628
|
+
"id": "CODLANC",
|
|
7629
|
+
"visible": false,
|
|
7630
|
+
"type": FilterItemType.SEARCH,
|
|
7631
|
+
"label": "Lançamento origem",
|
|
7632
|
+
"detailTitle": "Informe o lançamento de origem",
|
|
7633
|
+
"props": {
|
|
7634
|
+
"expression": "this.CODLANC = :CODLANC",
|
|
7635
|
+
"searchContext": {
|
|
7636
|
+
"entity": "HistoricoBancario",
|
|
7637
|
+
"entityDescription": "Lançamento origem",
|
|
7638
|
+
"searchOptions": {
|
|
7639
|
+
"rootEntity": "MovimentoBancario",
|
|
7640
|
+
"descriptionFieldName": "DESCRLANCBCO",
|
|
7641
|
+
"codeFieldName": "CODLANC",
|
|
7642
|
+
"showInactives": false
|
|
7643
|
+
}
|
|
7644
|
+
}
|
|
7645
|
+
}
|
|
7646
|
+
}];
|
|
7647
|
+
}
|
|
7648
|
+
function getFiltrosMovFin() {
|
|
7649
|
+
return [{
|
|
7650
|
+
id: "RECDESP",
|
|
7651
|
+
visible: true,
|
|
7652
|
+
label: "Receitas + Despesas",
|
|
7653
|
+
detailTitle: "Selecione o que deseja ver",
|
|
7654
|
+
type: FilterItemType.BINARY_SELECT,
|
|
7655
|
+
hardFixed: true,
|
|
7656
|
+
props: {
|
|
7657
|
+
options: [
|
|
7658
|
+
{ name: "RECEITA", expression: "this.RECDESP = 1", label: "Receitas" },
|
|
7659
|
+
{ name: "DESPESA", expression: "this.RECDESP = -1", label: "Despesas" }
|
|
7660
|
+
]
|
|
7661
|
+
}
|
|
7662
|
+
},
|
|
7663
|
+
{
|
|
7664
|
+
id: "PROVISAO",
|
|
7665
|
+
visible: true,
|
|
7666
|
+
label: "Real + Provisão",
|
|
7667
|
+
detailTitle: "Selecione o que deseja ver",
|
|
7668
|
+
type: FilterItemType.BINARY_SELECT,
|
|
7669
|
+
hardFixed: true,
|
|
7670
|
+
props: {
|
|
7671
|
+
options: [
|
|
7672
|
+
{ name: "REAL", expression: "nullvalue(this.PROVISAO, 'N') = 'N'", label: "Real" },
|
|
7673
|
+
{ name: "PROVISAO", expression: "nullvalue(this.PROVISAO, 'N') = 'S'", label: "Provisão" }
|
|
7674
|
+
]
|
|
7675
|
+
}
|
|
7676
|
+
},
|
|
7677
|
+
{
|
|
7678
|
+
id: "BAIXADO",
|
|
7679
|
+
visible: true,
|
|
7680
|
+
label: "Pendentes + Baixados",
|
|
7681
|
+
detailTitle: "Selecione o que deseja ver",
|
|
7682
|
+
type: FilterItemType.BINARY_SELECT,
|
|
7683
|
+
hardFixed: true,
|
|
7684
|
+
props: {
|
|
7685
|
+
options: [
|
|
7686
|
+
{ name: "PENDENTE", expression: "this.DHBAIXA IS NULL", label: "Pendentes" },
|
|
7687
|
+
{ name: "BAIXADO", expression: "this.DHBAIXA IS NOT NULL", label: "Baixados" }
|
|
7688
|
+
]
|
|
7689
|
+
}
|
|
7690
|
+
},
|
|
7691
|
+
{
|
|
7692
|
+
id: "DTVENC",
|
|
7693
|
+
visible: true,
|
|
7694
|
+
type: FilterItemType.PERIOD,
|
|
7695
|
+
label: "Dt. Vencimento",
|
|
7696
|
+
detailTitle: "Informe a data ou período",
|
|
7697
|
+
props: {
|
|
7698
|
+
expression: {
|
|
7699
|
+
fullfill: "onlydate(this.DTVENC) >= :DTVENC.START AND onlydate(this.DTVENC) <= :DTVENC.END",
|
|
7700
|
+
onlystart: "onlydate(this.DTVENC) >= :DTVENC",
|
|
7701
|
+
onlyend: "onlydate(this.DTVENC) <= :DTVENC"
|
|
7702
|
+
}
|
|
7703
|
+
}
|
|
7704
|
+
},
|
|
7705
|
+
{
|
|
7706
|
+
id: "CODPARC",
|
|
7707
|
+
visible: true,
|
|
7708
|
+
type: FilterItemType.SEARCH,
|
|
7709
|
+
label: "Parceiro",
|
|
7710
|
+
detailTitle: "Informe o parceiro",
|
|
7711
|
+
props: {
|
|
7712
|
+
expression: "this.CODPARC = :CODPARC",
|
|
7713
|
+
searchContext: {
|
|
7714
|
+
entity: "Parceiro",
|
|
7715
|
+
entityDescription: "Parceiro",
|
|
7716
|
+
searchOptions: {
|
|
7717
|
+
rootEntity: "Financeiro",
|
|
7718
|
+
descriptionFieldName: "NOMEPARC",
|
|
7719
|
+
codeFieldName: "CODPARC",
|
|
7720
|
+
showInactives: false
|
|
7721
|
+
}
|
|
7722
|
+
}
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
{
|
|
7726
|
+
id: "NUFIN",
|
|
7727
|
+
type: FilterItemType.NUMBER,
|
|
7728
|
+
visible: true,
|
|
7729
|
+
label: "Nr. único",
|
|
7730
|
+
detailTitle: "Informe o número único",
|
|
7731
|
+
props: {
|
|
7732
|
+
expression: "this.NUFIN = :NUFIN"
|
|
7733
|
+
}
|
|
7734
|
+
},
|
|
7735
|
+
{
|
|
7736
|
+
id: "NUMNOTA",
|
|
7737
|
+
visible: true,
|
|
7738
|
+
type: FilterItemType.NUMBER,
|
|
7739
|
+
label: "Nr. Nota",
|
|
7740
|
+
detailTitle: "Informe o número da nota",
|
|
7741
|
+
props: {
|
|
7742
|
+
expression: "this.NUMNOTA = :NUMNOTA"
|
|
7743
|
+
}
|
|
7744
|
+
},
|
|
7745
|
+
{
|
|
7746
|
+
id: "DHBAIXA",
|
|
7747
|
+
visible: true,
|
|
7748
|
+
type: FilterItemType.PERIOD,
|
|
7749
|
+
label: "Data da Baixa",
|
|
7750
|
+
detailTitle: "Informe a data ou período",
|
|
7751
|
+
props: {
|
|
7752
|
+
expression: {
|
|
7753
|
+
fullfill: "onlydate(this.DHBAIXA) >= :DHBAIXA.START AND onlydate(this.DHBAIXA) <= :DHBAIXA.END",
|
|
7754
|
+
onlystart: "onlydate(this.DHBAIXA) >= :DHBAIXA",
|
|
7755
|
+
onlyend: "onlydate(this.DHBAIXA) <= :DHBAIXA"
|
|
7756
|
+
}
|
|
7757
|
+
}
|
|
7758
|
+
},
|
|
7759
|
+
{
|
|
7760
|
+
id: "CODEMP",
|
|
7761
|
+
visible: false,
|
|
7762
|
+
type: FilterItemType.SEARCH,
|
|
7763
|
+
label: "Empresa",
|
|
7764
|
+
detailTitle: "Informe a empresa",
|
|
7765
|
+
props: {
|
|
7766
|
+
expression: "this.CODEMP = :CODEMP",
|
|
7767
|
+
searchContext: {
|
|
7768
|
+
entity: "Empresa",
|
|
7769
|
+
entityDescription: "Empresa",
|
|
7770
|
+
searchOptions: {
|
|
7771
|
+
rootEntity: "Financeiro",
|
|
7772
|
+
descriptionFieldName: "NOMEFANTASIA",
|
|
7773
|
+
codeFieldName: "CODEMP",
|
|
7774
|
+
showInactives: false
|
|
7775
|
+
}
|
|
7776
|
+
}
|
|
7777
|
+
}
|
|
7778
|
+
},
|
|
7779
|
+
{
|
|
7780
|
+
id: "CODNAT",
|
|
7781
|
+
visible: false,
|
|
7782
|
+
type: FilterItemType.SEARCH,
|
|
7783
|
+
label: "Natureza",
|
|
7784
|
+
detailTitle: "Informe a natureza",
|
|
7785
|
+
props: {
|
|
7786
|
+
expression: "this.CODNAT = :CODNAT",
|
|
7787
|
+
searchContext: {
|
|
7788
|
+
entity: "Natureza",
|
|
7789
|
+
entityDescription: "Natureza",
|
|
7790
|
+
searchOptions: {
|
|
7791
|
+
rootEntity: "Financeiro",
|
|
7792
|
+
descriptionFieldName: "DESCRNAT",
|
|
7793
|
+
codeFieldName: "CODNAT",
|
|
7794
|
+
showInactives: false
|
|
7795
|
+
}
|
|
7796
|
+
}
|
|
7797
|
+
}
|
|
7798
|
+
},
|
|
7799
|
+
{
|
|
7800
|
+
id: "DTNEG",
|
|
7801
|
+
visible: false,
|
|
7802
|
+
type: FilterItemType.PERIOD,
|
|
7803
|
+
label: "Dt. Negociação",
|
|
7804
|
+
detailTitle: "Informe a data ou período",
|
|
7805
|
+
props: {
|
|
7806
|
+
expression: {
|
|
7807
|
+
fullfill: "onlydate(this.DTNEG) >= :DTNEG.START AND onlydate(this.DTNEG) <= :DTNEG.END",
|
|
7808
|
+
onlystart: "onlydate(this.DTNEG) >= :DTNEG",
|
|
7809
|
+
onlyend: "onlydate(this.DTNEG) <= :DTNEG"
|
|
7810
|
+
}
|
|
7811
|
+
}
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
id: "NUNOTA",
|
|
7815
|
+
visible: false,
|
|
7816
|
+
type: FilterItemType.NUMBER,
|
|
7817
|
+
label: "Nro Único do Pedido",
|
|
7818
|
+
detailTitle: "Informe o número único do pedido",
|
|
7819
|
+
props: {
|
|
7820
|
+
expression: "this.NUNOTA = :NUNOTA"
|
|
7821
|
+
}
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
id: "CODCENCUS",
|
|
7825
|
+
visible: false,
|
|
7826
|
+
type: FilterItemType.SEARCH,
|
|
7827
|
+
label: "Centro de resultado",
|
|
7828
|
+
detailTitle: "Informe o centro de resultado",
|
|
7829
|
+
props: {
|
|
7830
|
+
expression: "this.CODCENCUS = :CODCENCUS",
|
|
7831
|
+
searchContext: {
|
|
7832
|
+
entity: "CentroResultado",
|
|
7833
|
+
entityDescription: "Centro de resultado",
|
|
7834
|
+
searchOptions: {
|
|
7835
|
+
rootEntity: "Financeiro",
|
|
7836
|
+
descriptionFieldName: "DESCRCENCUS",
|
|
7837
|
+
codeFieldName: "CODCENCUS",
|
|
7838
|
+
showInactives: false
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
}
|
|
7842
|
+
},
|
|
7843
|
+
{
|
|
7844
|
+
id: "CODCTABCOINT",
|
|
7845
|
+
visible: false,
|
|
7846
|
+
type: FilterItemType.SEARCH,
|
|
7847
|
+
label: "Conta bancária",
|
|
7848
|
+
detailTitle: "Informe a conta bancária",
|
|
7849
|
+
props: {
|
|
7850
|
+
expression: "this.CODCTABCOINT = :CODCTABCOINT",
|
|
7851
|
+
searchContext: {
|
|
7852
|
+
entity: "ContaBancaria",
|
|
7853
|
+
entityDescription: "Conta bancária",
|
|
7854
|
+
searchOptions: {
|
|
7855
|
+
rootEntity: "Financeiro",
|
|
7856
|
+
descriptionFieldName: "DESCRICAO",
|
|
7857
|
+
codeFieldName: "CODCTABCOINT",
|
|
7858
|
+
showInactives: false
|
|
7859
|
+
}
|
|
7860
|
+
}
|
|
7861
|
+
}
|
|
7862
|
+
},
|
|
7863
|
+
{
|
|
7864
|
+
id: "CODBCO",
|
|
7865
|
+
visible: false,
|
|
7866
|
+
type: FilterItemType.SEARCH,
|
|
7867
|
+
label: "Banco",
|
|
7868
|
+
detailTitle: "Informe o banco",
|
|
7869
|
+
props: {
|
|
7870
|
+
expression: "this.CODBCO = :CODBCO",
|
|
7871
|
+
searchContext: {
|
|
7872
|
+
entity: "Banco",
|
|
7873
|
+
entityDescription: "Banco",
|
|
7874
|
+
searchOptions: {
|
|
7875
|
+
rootEntity: "Financeiro",
|
|
7876
|
+
descriptionFieldName: "NOMEBCO",
|
|
7877
|
+
codeFieldName: "CODBCO",
|
|
7878
|
+
showInactives: false
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
id: "CODPROJ",
|
|
7885
|
+
visible: false,
|
|
7886
|
+
type: FilterItemType.SEARCH,
|
|
7887
|
+
label: "Projeto",
|
|
7888
|
+
detailTitle: "Informe o projeto",
|
|
7889
|
+
props: {
|
|
7890
|
+
expression: "this.CODPROJ = :CODPROJ",
|
|
7891
|
+
searchContext: {
|
|
7892
|
+
entity: "Projeto",
|
|
7893
|
+
entityDescription: "Projeto",
|
|
7894
|
+
searchOptions: {
|
|
7895
|
+
rootEntity: "Financeiro",
|
|
7896
|
+
descriptionFieldName: "IDENTIFICACAO",
|
|
7897
|
+
codeFieldName: "CODPROJ",
|
|
7898
|
+
showInactives: false
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
}
|
|
7902
|
+
}
|
|
7903
|
+
];
|
|
7904
|
+
}
|
|
7905
|
+
|
|
7328
7906
|
const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:column;height:100%}";
|
|
7329
7907
|
|
|
7330
7908
|
const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -7655,6 +8233,12 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
7655
8233
|
async saveGridConfig(config) {
|
|
7656
8234
|
return this.gridConfigFetcher.saveConfig(config, this.resourceID);
|
|
7657
8235
|
}
|
|
8236
|
+
/**
|
|
8237
|
+
* Obtém as configurações da barra de filtros
|
|
8238
|
+
*/
|
|
8239
|
+
async getFilterBarConfig() {
|
|
8240
|
+
return this.filterBarConfigFetcher.getConfig(this.resourceID);
|
|
8241
|
+
}
|
|
7658
8242
|
async getAuthList(_auth) {
|
|
7659
8243
|
return await (new MGEAuthorization()).parseFromJSON(_auth);
|
|
7660
8244
|
}
|
|
@@ -7700,9 +8284,17 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
7700
8284
|
}
|
|
7701
8285
|
return this._authFetcher;
|
|
7702
8286
|
}
|
|
8287
|
+
get filterBarConfigFetcher() {
|
|
8288
|
+
if (!this._filterBarConfigFetcher) {
|
|
8289
|
+
this._filterBarConfigFetcher = new FilterBarConfigFetcher();
|
|
8290
|
+
}
|
|
8291
|
+
return this._filterBarConfigFetcher;
|
|
8292
|
+
}
|
|
7703
8293
|
async executeSearch(searchArgument, fieldName, dataUnit) {
|
|
7704
8294
|
const descriptor = dataUnit === null || dataUnit === void 0 ? void 0 : dataUnit.getField(fieldName);
|
|
7705
|
-
if (!descriptor)
|
|
8295
|
+
if (!descriptor) {
|
|
8296
|
+
//TODO: Implementar mensagem de erro
|
|
8297
|
+
}
|
|
7706
8298
|
else {
|
|
7707
8299
|
const { mode, argument } = searchArgument;
|
|
7708
8300
|
const { ENTITYNAME, CODEFIELD, DESCRIPTIONFIELD, ROOTENTITY, DESCRIPTIONENTITY } = descriptor.properties;
|
|
@@ -7734,23 +8326,27 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
7734
8326
|
}
|
|
7735
8327
|
}
|
|
7736
8328
|
});
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
8329
|
+
return this.executePreparedSearch(mode, argument, { entity: ENTITYNAME, entityDescription: DESCRIPTIONENTITY, criteria, searchOptions });
|
|
8330
|
+
}
|
|
8331
|
+
}
|
|
8332
|
+
async executePreparedSearch(mode, argument, options) {
|
|
8333
|
+
const { entity, entityDescription, criteria, searchOptions } = options;
|
|
8334
|
+
if (mode === "ADVANCED") {
|
|
8335
|
+
return new Promise(accept => {
|
|
8336
|
+
const pesquisaContent = document.createElement("snk-pesquisa");
|
|
8337
|
+
pesquisaContent.argument = argument;
|
|
8338
|
+
pesquisaContent.searchLoader = (text) => this.pesquisaFetcher.loadAdvancedSearch(entity, text, criteria, searchOptions);
|
|
8339
|
+
pesquisaContent.selectItem = (option) => {
|
|
8340
|
+
accept(option);
|
|
8341
|
+
this.clearPopUpTitle();
|
|
8342
|
+
this.closePopUp();
|
|
8343
|
+
};
|
|
8344
|
+
this.setPopUpTitle(entityDescription);
|
|
8345
|
+
this.showPopUp(pesquisaContent);
|
|
8346
|
+
});
|
|
8347
|
+
}
|
|
8348
|
+
else {
|
|
8349
|
+
return this.pesquisaFetcher.loadSearchOptions(entity, argument, criteria, searchOptions);
|
|
7754
8350
|
}
|
|
7755
8351
|
}
|
|
7756
8352
|
async isDebugMode() {
|
|
@@ -7827,7 +8423,9 @@ const SnkApplication = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
7827
8423
|
"loadGridConfig": [64],
|
|
7828
8424
|
"loadTotals": [64],
|
|
7829
8425
|
"saveGridConfig": [64],
|
|
8426
|
+
"getFilterBarConfig": [64],
|
|
7830
8427
|
"executeSearch": [64],
|
|
8428
|
+
"executePreparedSearch": [64],
|
|
7831
8429
|
"isDebugMode": [64]
|
|
7832
8430
|
}]);
|
|
7833
8431
|
class RequestListenerLoadingBar {
|