@sankhyalabs/sankhyablocks 1.4.0-beta.2 → 1.4.0-beta.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.
- package/dist/cjs/{index-b0b676c5.js → index-6fcf07f3.js} +159 -1515
- package/dist/cjs/loader.cjs.js +2 -18
- package/dist/cjs/sankhyablocks.cjs.js +4 -116
- package/dist/cjs/snk-application.cjs.entry.js +53 -217
- package/dist/cjs/snk-crud.cjs.entry.js +9 -3
- package/dist/cjs/snk-data-unit.cjs.entry.js +23 -23
- package/dist/cjs/snk-filter-bar_5.cjs.entry.js +883 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-detail.cjs.entry.js +32 -21
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-personalized.cjs.entry.js +23 -31
- package/dist/cjs/snk-filter-search.cjs.entry.js +3 -12
- package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
- package/dist/cjs/{snk-form.cjs.entry.js → snk-form_2.cjs.entry.js} +119 -5
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
- package/dist/cjs/{taskbar-elements-283c737e.js → taskbar-elements-aedfeae6.js} +1 -1
- package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
- package/dist/collection/components/snk-crud/snk-crud.js +29 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js +0 -39
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +0 -39
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +30 -36
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +3 -14
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +4 -12
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +3 -3
- package/dist/components/index.js +0 -4
- package/dist/components/snk-application2.js +13 -177
- package/dist/components/snk-crud.js +9 -2
- package/dist/components/snk-data-unit.js +2 -2
- package/dist/components/snk-filter-bar2.js +4 -2
- package/dist/components/snk-filter-detail2.js +31 -21
- package/dist/components/snk-filter-item2.js +4 -15
- package/dist/components/snk-filter-list2.js +5 -13
- package/dist/components/snk-filter-modal2.js +4 -19
- package/dist/components/snk-filter-personalized.js +3 -13
- package/dist/components/snk-filter-search.js +2 -13
- package/dist/components/snk-form2.js +1 -1
- package/dist/components/snk-grid2.js +1 -1
- package/dist/components/snk-pesquisa2.js +1 -1
- package/dist/components/snk-taskbar2.js +1 -1
- package/dist/components/teste-pesquisa.js +1 -1
- package/dist/{sankhyablocks/index-2b4d2d14.js → esm/index-81dda3cf.js} +160 -1508
- package/dist/esm/loader.js +2 -18
- package/dist/esm/sankhyablocks.js +4 -116
- package/dist/esm/snk-application.entry.js +14 -178
- package/dist/esm/snk-crud.entry.js +8 -2
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/{snk-filter-bar.entry.js → snk-filter-bar_5.entry.js} +417 -4
- package/dist/esm/snk-filter-binary-select.entry.js +1 -1
- package/dist/esm/snk-filter-detail.entry.js +32 -21
- package/dist/esm/snk-filter-multi-select.entry.js +1 -1
- package/dist/esm/snk-filter-number.entry.js +1 -1
- package/dist/esm/snk-filter-period.entry.js +1 -1
- package/dist/esm/snk-filter-personalized.entry.js +3 -11
- package/dist/esm/snk-filter-search.entry.js +2 -11
- package/dist/esm/snk-filter-text.entry.js +1 -1
- package/dist/{sankhyablocks/snk-form.entry.js → esm/snk-form_2.entry.js} +117 -4
- package/dist/esm/snk-pesquisa.entry.js +2 -2
- package/dist/esm/{taskbar-elements-35d64ff9.js → taskbar-elements-38eb5d51.js} +1 -1
- package/dist/esm/teste-pesquisa.entry.js +2 -2
- package/dist/sankhyablocks/index.esm.js +0 -1
- package/dist/sankhyablocks/p-01823784.entry.js +1 -0
- package/dist/sankhyablocks/p-0352c0e2.entry.js +1 -0
- package/dist/sankhyablocks/p-07ebda01.entry.js +1 -0
- package/dist/sankhyablocks/p-46caa101.entry.js +1 -0
- package/dist/sankhyablocks/p-586e2522.js +1 -0
- package/dist/sankhyablocks/p-6f8303f3.entry.js +1 -0
- package/dist/sankhyablocks/p-746fc78b.entry.js +1 -0
- package/dist/sankhyablocks/p-77216252.entry.js +1 -0
- package/dist/sankhyablocks/p-86f15ffe.js +1 -0
- package/dist/sankhyablocks/p-8bbc0cbb.entry.js +74 -0
- package/dist/sankhyablocks/p-8f3c5709.entry.js +1 -0
- package/dist/sankhyablocks/p-97009a2c.entry.js +1 -0
- package/dist/sankhyablocks/p-9dd2b8cb.js +1 -0
- package/dist/sankhyablocks/p-aecf3e0a.entry.js +1 -0
- package/dist/sankhyablocks/p-c1c3b5d8.entry.js +1 -0
- package/dist/sankhyablocks/p-c9eec639.entry.js +1 -0
- package/dist/sankhyablocks/p-eea6444c.entry.js +1 -0
- package/dist/sankhyablocks/p-fac2b6a9.js +2 -0
- package/dist/sankhyablocks/p-fb705f81.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -129
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.d.ts +0 -2
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +0 -2
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +1 -1
- package/dist/types/components.d.ts +4 -10
- package/package.json +1 -1
- package/react/components.d.ts +19 -0
- package/react/components.js +19 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-b8158822.js +0 -6
- package/dist/cjs/dom-36862b77.js +0 -75
- package/dist/cjs/index-84fe3b86.js +0 -20
- package/dist/cjs/index-93965c41.js +0 -141
- package/dist/cjs/index-e90ae303.js +0 -2408
- package/dist/cjs/shadow-css-346c0795.js +0 -389
- package/dist/cjs/snk-filter-bar.cjs.entry.js +0 -466
- package/dist/cjs/snk-filter-item.cjs.entry.js +0 -177
- package/dist/cjs/snk-filter-list.cjs.entry.js +0 -91
- package/dist/cjs/snk-filter-modal.cjs.entry.js +0 -37
- package/dist/cjs/snk-grid.cjs.entry.js +0 -79
- package/dist/cjs/snk-taskbar.cjs.entry.js +0 -160
- package/dist/cjs/taskbar-processor-6bd0d35c.js +0 -47
- package/dist/components/index2.js +0 -2394
- package/dist/components/index3.js +0 -139
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-b3f2ee8d.js +0 -4
- package/dist/esm/dom-665d6011.js +0 -73
- package/dist/esm/index-2b4d2d14.js +0 -3262
- package/dist/esm/index-5992b7e6.js +0 -139
- package/dist/esm/index-c683b2b0.js +0 -2394
- package/dist/esm/index-c71285cb.js +0 -17
- package/dist/esm/shadow-css-b18e99d7.js +0 -387
- package/dist/esm/snk-filter-item.entry.js +0 -173
- package/dist/esm/snk-filter-list.entry.js +0 -87
- package/dist/esm/snk-filter-modal.entry.js +0 -33
- package/dist/esm/snk-form.entry.js +0 -129
- package/dist/esm/snk-grid.entry.js +0 -75
- package/dist/esm/snk-taskbar.entry.js +0 -156
- package/dist/esm/taskbar-processor-aa6772c9.js +0 -45
- package/dist/sankhyablocks/SnkMessageBuilder-35a20271.js +0 -199
- package/dist/sankhyablocks/app-globals-0f993ce5.js +0 -3
- package/dist/sankhyablocks/css-shim-b3f2ee8d.js +0 -4
- package/dist/sankhyablocks/dom-665d6011.js +0 -73
- package/dist/sankhyablocks/filter-item-type.enum-a79b2fa8.js +0 -14
- package/dist/sankhyablocks/index-5992b7e6.js +0 -139
- package/dist/sankhyablocks/index-c683b2b0.js +0 -2394
- package/dist/sankhyablocks/index-c71285cb.js +0 -17
- package/dist/sankhyablocks/shadow-css-b18e99d7.js +0 -387
- package/dist/sankhyablocks/snk-application.entry.js +0 -8166
- package/dist/sankhyablocks/snk-crud.entry.js +0 -66
- package/dist/sankhyablocks/snk-data-unit.entry.js +0 -268
- package/dist/sankhyablocks/snk-filter-bar.entry.js +0 -462
- package/dist/sankhyablocks/snk-filter-binary-select.entry.js +0 -43
- package/dist/sankhyablocks/snk-filter-detail.entry.js +0 -80
- package/dist/sankhyablocks/snk-filter-item.entry.js +0 -173
- package/dist/sankhyablocks/snk-filter-list.entry.js +0 -87
- package/dist/sankhyablocks/snk-filter-modal.entry.js +0 -33
- package/dist/sankhyablocks/snk-filter-multi-select.entry.js +0 -19
- package/dist/sankhyablocks/snk-filter-number.entry.js +0 -20
- package/dist/sankhyablocks/snk-filter-period.entry.js +0 -33
- package/dist/sankhyablocks/snk-filter-personalized.entry.js +0 -85
- package/dist/sankhyablocks/snk-filter-search.entry.js +0 -40
- package/dist/sankhyablocks/snk-filter-text.entry.js +0 -18
- package/dist/sankhyablocks/snk-grid.entry.js +0 -75
- package/dist/sankhyablocks/snk-pesquisa.entry.js +0 -311
- package/dist/sankhyablocks/snk-taskbar.entry.js +0 -156
- package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +0 -90
- package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +0 -45
- package/dist/sankhyablocks/teste-pesquisa.entry.js +0 -33
|
@@ -1,47 +1,20 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-81dda3cf.js';
|
|
2
|
+
import { ErrorException, WarningException, StringUtils, DataUnit, DataType, ChangeOperation, DateUtils, ObjectUtils, WaitingChangeException, DependencyType, ApplicationContext, ErrorTracking } from '@sankhyalabs/core';
|
|
3
|
+
import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
4
4
|
import { S as SnkMessageBuilder } from './SnkMessageBuilder-35a20271.js';
|
|
5
5
|
|
|
6
6
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
7
|
|
|
8
|
-
function getDefaultExportFromCjs (x) {
|
|
9
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
8
|
function createCommonjsModule(fn, basedir, module) {
|
|
13
9
|
return module = {
|
|
14
10
|
path: basedir,
|
|
15
11
|
exports: {},
|
|
16
12
|
require: function (path, base) {
|
|
17
|
-
return commonjsRequire(
|
|
13
|
+
return commonjsRequire();
|
|
18
14
|
}
|
|
19
15
|
}, fn(module, module.exports), module.exports;
|
|
20
16
|
}
|
|
21
17
|
|
|
22
|
-
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
23
|
-
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
27
|
-
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function getAugmentedNamespace(n) {
|
|
31
|
-
if (n.__esModule) return n;
|
|
32
|
-
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
33
|
-
Object.keys(n).forEach(function (k) {
|
|
34
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
35
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () {
|
|
38
|
-
return n[k];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
return a;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
18
|
function commonjsRequire () {
|
|
46
19
|
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
47
20
|
}
|
|
@@ -58,7 +31,7 @@ return new F();
|
|
|
58
31
|
})();
|
|
59
32
|
(function(self) {
|
|
60
33
|
|
|
61
|
-
|
|
34
|
+
((function (exports) {
|
|
62
35
|
|
|
63
36
|
var support = {
|
|
64
37
|
searchParams: 'URLSearchParams' in self,
|
|
@@ -586,7 +559,7 @@ var irrelevant = (function (exports) {
|
|
|
586
559
|
|
|
587
560
|
return exports;
|
|
588
561
|
|
|
589
|
-
})({});
|
|
562
|
+
}))({});
|
|
590
563
|
})(__self__);
|
|
591
564
|
__self__.fetch.ponyfill = true;
|
|
592
565
|
// Remove "polyfill" property added by whatwg-fetch
|
|
@@ -603,10 +576,7 @@ exports.Response = ctx.Response;
|
|
|
603
576
|
module.exports = exports;
|
|
604
577
|
});
|
|
605
578
|
|
|
606
|
-
const browserPonyfill$1 = /*@__PURE__*/getDefaultExportFromCjs(browserPonyfill);
|
|
607
|
-
|
|
608
579
|
var isObjectLike_1 = createCommonjsModule(function (module, exports) {
|
|
609
|
-
'use strict';
|
|
610
580
|
|
|
611
581
|
Object.defineProperty(exports, '__esModule', {
|
|
612
582
|
value: true,
|
|
@@ -622,10 +592,7 @@ function isObjectLike(value) {
|
|
|
622
592
|
}
|
|
623
593
|
});
|
|
624
594
|
|
|
625
|
-
const isObjectLike = /*@__PURE__*/getDefaultExportFromCjs(isObjectLike_1);
|
|
626
|
-
|
|
627
595
|
var invariant_1 = createCommonjsModule(function (module, exports) {
|
|
628
|
-
'use strict';
|
|
629
596
|
|
|
630
597
|
Object.defineProperty(exports, '__esModule', {
|
|
631
598
|
value: true,
|
|
@@ -643,10 +610,7 @@ function invariant(condition, message) {
|
|
|
643
610
|
}
|
|
644
611
|
});
|
|
645
612
|
|
|
646
|
-
const invariant = /*@__PURE__*/getDefaultExportFromCjs(invariant_1);
|
|
647
|
-
|
|
648
613
|
var location_1 = createCommonjsModule(function (module, exports) {
|
|
649
|
-
'use strict';
|
|
650
614
|
|
|
651
615
|
Object.defineProperty(exports, '__esModule', {
|
|
652
616
|
value: true,
|
|
@@ -686,10 +650,7 @@ function getLocation(source, position) {
|
|
|
686
650
|
}
|
|
687
651
|
});
|
|
688
652
|
|
|
689
|
-
const location$1 = /*@__PURE__*/getDefaultExportFromCjs(location_1);
|
|
690
|
-
|
|
691
653
|
var printLocation_1 = createCommonjsModule(function (module, exports) {
|
|
692
|
-
'use strict';
|
|
693
654
|
|
|
694
655
|
Object.defineProperty(exports, '__esModule', {
|
|
695
656
|
value: true,
|
|
@@ -765,10 +726,7 @@ function printPrefixedLines(lines) {
|
|
|
765
726
|
}
|
|
766
727
|
});
|
|
767
728
|
|
|
768
|
-
const printLocation = /*@__PURE__*/getDefaultExportFromCjs(printLocation_1);
|
|
769
|
-
|
|
770
729
|
var GraphQLError_1 = createCommonjsModule(function (module, exports) {
|
|
771
|
-
'use strict';
|
|
772
730
|
|
|
773
731
|
Object.defineProperty(exports, '__esModule', {
|
|
774
732
|
value: true,
|
|
@@ -1037,10 +995,7 @@ function formatError(error) {
|
|
|
1037
995
|
}
|
|
1038
996
|
});
|
|
1039
997
|
|
|
1040
|
-
const GraphQLError = /*@__PURE__*/getDefaultExportFromCjs(GraphQLError_1);
|
|
1041
|
-
|
|
1042
998
|
var syntaxError_1 = createCommonjsModule(function (module, exports) {
|
|
1043
|
-
'use strict';
|
|
1044
999
|
|
|
1045
1000
|
Object.defineProperty(exports, '__esModule', {
|
|
1046
1001
|
value: true,
|
|
@@ -1061,10 +1016,7 @@ function syntaxError(source, position, description) {
|
|
|
1061
1016
|
}
|
|
1062
1017
|
});
|
|
1063
1018
|
|
|
1064
|
-
const syntaxError = /*@__PURE__*/getDefaultExportFromCjs(syntaxError_1);
|
|
1065
|
-
|
|
1066
1019
|
var ast = createCommonjsModule(function (module, exports) {
|
|
1067
|
-
'use strict';
|
|
1068
1020
|
|
|
1069
1021
|
Object.defineProperty(exports, '__esModule', {
|
|
1070
1022
|
value: true,
|
|
@@ -1290,10 +1242,7 @@ exports.OperationTypeNode = OperationTypeNode;
|
|
|
1290
1242
|
})(OperationTypeNode || (exports.OperationTypeNode = OperationTypeNode = {}));
|
|
1291
1243
|
});
|
|
1292
1244
|
|
|
1293
|
-
const ast$1 = /*@__PURE__*/getDefaultExportFromCjs(ast);
|
|
1294
|
-
|
|
1295
1245
|
var directiveLocation = createCommonjsModule(function (module, exports) {
|
|
1296
|
-
'use strict';
|
|
1297
1246
|
|
|
1298
1247
|
Object.defineProperty(exports, '__esModule', {
|
|
1299
1248
|
value: true,
|
|
@@ -1334,10 +1283,7 @@ exports.DirectiveLocation = DirectiveLocation;
|
|
|
1334
1283
|
*/
|
|
1335
1284
|
});
|
|
1336
1285
|
|
|
1337
|
-
const directiveLocation$1 = /*@__PURE__*/getDefaultExportFromCjs(directiveLocation);
|
|
1338
|
-
|
|
1339
1286
|
var kinds = createCommonjsModule(function (module, exports) {
|
|
1340
|
-
'use strict';
|
|
1341
1287
|
|
|
1342
1288
|
Object.defineProperty(exports, '__esModule', {
|
|
1343
1289
|
value: true,
|
|
@@ -1402,10 +1348,7 @@ exports.Kind = Kind;
|
|
|
1402
1348
|
*/
|
|
1403
1349
|
});
|
|
1404
1350
|
|
|
1405
|
-
const kinds$1 = /*@__PURE__*/getDefaultExportFromCjs(kinds);
|
|
1406
|
-
|
|
1407
1351
|
var characterClasses = createCommonjsModule(function (module, exports) {
|
|
1408
|
-
'use strict';
|
|
1409
1352
|
|
|
1410
1353
|
Object.defineProperty(exports, '__esModule', {
|
|
1411
1354
|
value: true,
|
|
@@ -1482,10 +1425,7 @@ function isNameContinue(code) {
|
|
|
1482
1425
|
}
|
|
1483
1426
|
});
|
|
1484
1427
|
|
|
1485
|
-
const characterClasses$1 = /*@__PURE__*/getDefaultExportFromCjs(characterClasses);
|
|
1486
|
-
|
|
1487
1428
|
var blockString = createCommonjsModule(function (module, exports) {
|
|
1488
|
-
'use strict';
|
|
1489
1429
|
|
|
1490
1430
|
Object.defineProperty(exports, '__esModule', {
|
|
1491
1431
|
value: true,
|
|
@@ -1682,10 +1622,7 @@ function printBlockString(value, options) {
|
|
|
1682
1622
|
}
|
|
1683
1623
|
});
|
|
1684
1624
|
|
|
1685
|
-
const blockString$1 = /*@__PURE__*/getDefaultExportFromCjs(blockString);
|
|
1686
|
-
|
|
1687
1625
|
var tokenKind = createCommonjsModule(function (module, exports) {
|
|
1688
|
-
'use strict';
|
|
1689
1626
|
|
|
1690
1627
|
Object.defineProperty(exports, '__esModule', {
|
|
1691
1628
|
value: true,
|
|
@@ -1730,10 +1667,7 @@ exports.TokenKind = TokenKind;
|
|
|
1730
1667
|
*/
|
|
1731
1668
|
});
|
|
1732
1669
|
|
|
1733
|
-
const tokenKind$1 = /*@__PURE__*/getDefaultExportFromCjs(tokenKind);
|
|
1734
|
-
|
|
1735
1670
|
var lexer = createCommonjsModule(function (module, exports) {
|
|
1736
|
-
'use strict';
|
|
1737
1671
|
|
|
1738
1672
|
Object.defineProperty(exports, '__esModule', {
|
|
1739
1673
|
value: true,
|
|
@@ -2741,10 +2675,7 @@ function readName(lexer, start) {
|
|
|
2741
2675
|
}
|
|
2742
2676
|
});
|
|
2743
2677
|
|
|
2744
|
-
const lexer$1 = /*@__PURE__*/getDefaultExportFromCjs(lexer);
|
|
2745
|
-
|
|
2746
2678
|
var devAssert_1 = createCommonjsModule(function (module, exports) {
|
|
2747
|
-
'use strict';
|
|
2748
2679
|
|
|
2749
2680
|
Object.defineProperty(exports, '__esModule', {
|
|
2750
2681
|
value: true,
|
|
@@ -2760,10 +2691,7 @@ function devAssert(condition, message) {
|
|
|
2760
2691
|
}
|
|
2761
2692
|
});
|
|
2762
2693
|
|
|
2763
|
-
const devAssert = /*@__PURE__*/getDefaultExportFromCjs(devAssert_1);
|
|
2764
|
-
|
|
2765
2694
|
var inspect_1 = createCommonjsModule(function (module, exports) {
|
|
2766
|
-
'use strict';
|
|
2767
2695
|
|
|
2768
2696
|
Object.defineProperty(exports, '__esModule', {
|
|
2769
2697
|
value: true,
|
|
@@ -2886,10 +2814,7 @@ function getObjectTag(object) {
|
|
|
2886
2814
|
}
|
|
2887
2815
|
});
|
|
2888
2816
|
|
|
2889
|
-
const inspect = /*@__PURE__*/getDefaultExportFromCjs(inspect_1);
|
|
2890
|
-
|
|
2891
2817
|
var instanceOf_1 = createCommonjsModule(function (module, exports) {
|
|
2892
|
-
'use strict';
|
|
2893
2818
|
|
|
2894
2819
|
Object.defineProperty(exports, '__esModule', {
|
|
2895
2820
|
value: true,
|
|
@@ -2908,54 +2833,14 @@ const instanceOf =
|
|
|
2908
2833
|
/* c8 ignore next 6 */
|
|
2909
2834
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
|
2910
2835
|
// eslint-disable-next-line no-undef
|
|
2911
|
-
|
|
2912
|
-
? function instanceOf(value, constructor) {
|
|
2836
|
+
function instanceOf(value, constructor) {
|
|
2913
2837
|
return value instanceof constructor;
|
|
2914
2838
|
}
|
|
2915
|
-
|
|
2916
|
-
if (value instanceof constructor) {
|
|
2917
|
-
return true;
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
if (typeof value === 'object' && value !== null) {
|
|
2921
|
-
var _value$constructor;
|
|
2922
|
-
|
|
2923
|
-
// Prefer Symbol.toStringTag since it is immune to minification.
|
|
2924
|
-
const className = constructor.prototype[Symbol.toStringTag];
|
|
2925
|
-
const valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.
|
|
2926
|
-
Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009
|
|
2927
|
-
? value[Symbol.toStringTag]
|
|
2928
|
-
: (_value$constructor = value.constructor) === null ||
|
|
2929
|
-
_value$constructor === void 0
|
|
2930
|
-
? void 0
|
|
2931
|
-
: _value$constructor.name;
|
|
2932
|
-
|
|
2933
|
-
if (className === valueClassName) {
|
|
2934
|
-
const stringifiedValue = (0, inspect_1.inspect)(value);
|
|
2935
|
-
throw new Error(`Cannot use ${className} "${stringifiedValue}" from another module or realm.
|
|
2936
|
-
|
|
2937
|
-
Ensure that there is only one instance of "graphql" in the node_modules
|
|
2938
|
-
directory. If different versions of "graphql" are the dependencies of other
|
|
2939
|
-
relied on modules, use "resolutions" to ensure only one version is installed.
|
|
2940
|
-
|
|
2941
|
-
https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
2942
|
-
|
|
2943
|
-
Duplicate "graphql" modules cannot be used at the same time since different
|
|
2944
|
-
versions may have different capabilities and behavior. The data from one
|
|
2945
|
-
version used in the function from another could produce confusing and
|
|
2946
|
-
spurious results.`);
|
|
2947
|
-
}
|
|
2948
|
-
}
|
|
2949
|
-
|
|
2950
|
-
return false;
|
|
2951
|
-
};
|
|
2839
|
+
;
|
|
2952
2840
|
exports.instanceOf = instanceOf;
|
|
2953
2841
|
});
|
|
2954
2842
|
|
|
2955
|
-
const instanceOf = /*@__PURE__*/getDefaultExportFromCjs(instanceOf_1);
|
|
2956
|
-
|
|
2957
2843
|
var source = createCommonjsModule(function (module, exports) {
|
|
2958
|
-
'use strict';
|
|
2959
2844
|
|
|
2960
2845
|
Object.defineProperty(exports, '__esModule', {
|
|
2961
2846
|
value: true,
|
|
@@ -3022,10 +2907,7 @@ function isSource(source) {
|
|
|
3022
2907
|
}
|
|
3023
2908
|
});
|
|
3024
2909
|
|
|
3025
|
-
const source$1 = /*@__PURE__*/getDefaultExportFromCjs(source);
|
|
3026
|
-
|
|
3027
2910
|
var parser = createCommonjsModule(function (module, exports) {
|
|
3028
|
-
'use strict';
|
|
3029
2911
|
|
|
3030
2912
|
Object.defineProperty(exports, '__esModule', {
|
|
3031
2913
|
value: true,
|
|
@@ -4594,10 +4476,7 @@ function getTokenKindDesc(kind) {
|
|
|
4594
4476
|
}
|
|
4595
4477
|
});
|
|
4596
4478
|
|
|
4597
|
-
const parser$1 = /*@__PURE__*/getDefaultExportFromCjs(parser);
|
|
4598
|
-
|
|
4599
4479
|
var printString_1 = createCommonjsModule(function (module, exports) {
|
|
4600
|
-
'use strict';
|
|
4601
4480
|
|
|
4602
4481
|
Object.defineProperty(exports, '__esModule', {
|
|
4603
4482
|
value: true,
|
|
@@ -4782,10 +4661,7 @@ const escapeSequences = [
|
|
|
4782
4661
|
];
|
|
4783
4662
|
});
|
|
4784
4663
|
|
|
4785
|
-
const printString = /*@__PURE__*/getDefaultExportFromCjs(printString_1);
|
|
4786
|
-
|
|
4787
4664
|
var visitor = createCommonjsModule(function (module, exports) {
|
|
4788
|
-
'use strict';
|
|
4789
4665
|
|
|
4790
4666
|
Object.defineProperty(exports, '__esModule', {
|
|
4791
4667
|
value: true,
|
|
@@ -5164,10 +5040,7 @@ function getVisitFn(visitor, kind, isLeaving) {
|
|
|
5164
5040
|
}
|
|
5165
5041
|
});
|
|
5166
5042
|
|
|
5167
|
-
const visitor$1 = /*@__PURE__*/getDefaultExportFromCjs(visitor);
|
|
5168
|
-
|
|
5169
5043
|
var printer = createCommonjsModule(function (module, exports) {
|
|
5170
|
-
'use strict';
|
|
5171
5044
|
|
|
5172
5045
|
Object.defineProperty(exports, '__esModule', {
|
|
5173
5046
|
value: true,
|
|
@@ -5520,10 +5393,6 @@ function hasMultilineItems(maybeArray) {
|
|
|
5520
5393
|
}
|
|
5521
5394
|
});
|
|
5522
5395
|
|
|
5523
|
-
const printer$1 = /*@__PURE__*/getDefaultExportFromCjs(printer);
|
|
5524
|
-
|
|
5525
|
-
'use strict';
|
|
5526
|
-
|
|
5527
5396
|
var ReactNativeFile$1 = function ReactNativeFile(_ref) {
|
|
5528
5397
|
var uri = _ref.uri,
|
|
5529
5398
|
name = _ref.name,
|
|
@@ -5533,10 +5402,6 @@ var ReactNativeFile$1 = function ReactNativeFile(_ref) {
|
|
|
5533
5402
|
this.type = type;
|
|
5534
5403
|
};
|
|
5535
5404
|
|
|
5536
|
-
'use strict';
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
5405
|
var isExtractableFile$1 = function isExtractableFile(value) {
|
|
5541
5406
|
return (
|
|
5542
5407
|
(typeof File !== 'undefined' && value instanceof File) ||
|
|
@@ -5545,10 +5410,6 @@ var isExtractableFile$1 = function isExtractableFile(value) {
|
|
|
5545
5410
|
);
|
|
5546
5411
|
};
|
|
5547
5412
|
|
|
5548
|
-
'use strict';
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
5413
|
var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
|
|
5553
5414
|
if (path === void 0) {
|
|
5554
5415
|
path = '';
|
|
@@ -5600,8 +5461,6 @@ var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
|
|
|
5600
5461
|
};
|
|
5601
5462
|
};
|
|
5602
5463
|
|
|
5603
|
-
'use strict';
|
|
5604
|
-
|
|
5605
5464
|
var ReactNativeFile = ReactNativeFile$1;
|
|
5606
5465
|
var extractFiles = extractFiles$1;
|
|
5607
5466
|
var isExtractableFile = isExtractableFile$1;
|
|
@@ -5616,7 +5475,6 @@ var _public = {
|
|
|
5616
5475
|
var browser = typeof self == 'object' ? self.FormData : window.FormData;
|
|
5617
5476
|
|
|
5618
5477
|
var defaultJsonSerializer = createCommonjsModule(function (module, exports) {
|
|
5619
|
-
"use strict";
|
|
5620
5478
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5621
5479
|
exports.defaultJsonSerializer = void 0;
|
|
5622
5480
|
exports.defaultJsonSerializer = {
|
|
@@ -5626,10 +5484,7 @@ exports.defaultJsonSerializer = {
|
|
|
5626
5484
|
//# sourceMappingURL=defaultJsonSerializer.js.map
|
|
5627
5485
|
});
|
|
5628
5486
|
|
|
5629
|
-
const defaultJsonSerializer$1 = /*@__PURE__*/getDefaultExportFromCjs(defaultJsonSerializer);
|
|
5630
|
-
|
|
5631
5487
|
var createRequestBody_1 = createCommonjsModule(function (module, exports) {
|
|
5632
|
-
"use strict";
|
|
5633
5488
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
5634
5489
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5635
5490
|
};
|
|
@@ -5686,10 +5541,7 @@ exports.default = createRequestBody;
|
|
|
5686
5541
|
//# sourceMappingURL=createRequestBody.js.map
|
|
5687
5542
|
});
|
|
5688
5543
|
|
|
5689
|
-
const createRequestBody = /*@__PURE__*/getDefaultExportFromCjs(createRequestBody_1);
|
|
5690
|
-
|
|
5691
5544
|
var parseArgs = createCommonjsModule(function (module, exports) {
|
|
5692
|
-
"use strict";
|
|
5693
5545
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5694
5546
|
exports.parseBatchRequestsExtendedArgs = exports.parseRawRequestExtendedArgs = exports.parseRequestExtendedArgs = exports.parseBatchRequestArgs = exports.parseRawRequestArgs = exports.parseRequestArgs = void 0;
|
|
5695
5547
|
function parseRequestArgs(documentOrOptions, variables, requestHeaders) {
|
|
@@ -5762,10 +5614,7 @@ exports.parseBatchRequestsExtendedArgs = parseBatchRequestsExtendedArgs;
|
|
|
5762
5614
|
//# sourceMappingURL=parseArgs.js.map
|
|
5763
5615
|
});
|
|
5764
5616
|
|
|
5765
|
-
const parseArgs$1 = /*@__PURE__*/getDefaultExportFromCjs(parseArgs);
|
|
5766
|
-
|
|
5767
5617
|
var types = createCommonjsModule(function (module, exports) {
|
|
5768
|
-
"use strict";
|
|
5769
5618
|
var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
|
|
5770
5619
|
var extendStatics = function (d, b) {
|
|
5771
5620
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -5815,10 +5664,7 @@ exports.ClientError = ClientError;
|
|
|
5815
5664
|
//# sourceMappingURL=types.js.map
|
|
5816
5665
|
});
|
|
5817
5666
|
|
|
5818
|
-
const types$1 = /*@__PURE__*/getDefaultExportFromCjs(types);
|
|
5819
|
-
|
|
5820
5667
|
var graphqlWs = createCommonjsModule(function (module, exports) {
|
|
5821
|
-
"use strict";
|
|
5822
5668
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
5823
5669
|
__assign = Object.assign || function(t) {
|
|
5824
5670
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -5998,8 +5844,6 @@ var GraphQLWebSocketClient = /** @class */ (function () {
|
|
|
5998
5844
|
if (message.payload.errors) {
|
|
5999
5845
|
subscriber.error && subscriber.error(new types.ClientError(__assign(__assign({}, message.payload), { status: 200 }), { query: query, variables: variables }));
|
|
6000
5846
|
}
|
|
6001
|
-
else {
|
|
6002
|
-
}
|
|
6003
5847
|
return;
|
|
6004
5848
|
}
|
|
6005
5849
|
case ERROR: {
|
|
@@ -6094,10 +5938,7 @@ function Complete(id) {
|
|
|
6094
5938
|
//# sourceMappingURL=graphql-ws.js.map
|
|
6095
5939
|
});
|
|
6096
5940
|
|
|
6097
|
-
const graphqlWs$1 = /*@__PURE__*/getDefaultExportFromCjs(graphqlWs);
|
|
6098
|
-
|
|
6099
5941
|
var dist = createCommonjsModule(function (module, exports) {
|
|
6100
|
-
"use strict";
|
|
6101
5942
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
6102
5943
|
__assign = Object.assign || function(t) {
|
|
6103
5944
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -6422,7 +6263,7 @@ exports.GraphQLClient = GraphQLClient;
|
|
|
6422
6263
|
function makeRequest(_a) {
|
|
6423
6264
|
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;
|
|
6424
6265
|
return __awaiter(this, void 0, void 0, function () {
|
|
6425
|
-
var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1,
|
|
6266
|
+
var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1, rest, data, errorResult;
|
|
6426
6267
|
return __generator(this, function (_c) {
|
|
6427
6268
|
switch (_c.label) {
|
|
6428
6269
|
case 0:
|
|
@@ -6449,7 +6290,7 @@ function makeRequest(_a) {
|
|
|
6449
6290
|
successfullyPassedErrorPolicy = !result.errors || fetchOptions.errorPolicy === 'all' || fetchOptions.errorPolicy === 'ignore';
|
|
6450
6291
|
if (response.ok && successfullyPassedErrorPolicy && successfullyReceivedData) {
|
|
6451
6292
|
headers_1 = response.headers, status_1 = response.status;
|
|
6452
|
-
|
|
6293
|
+
rest = __rest(result, ["errors"]);
|
|
6453
6294
|
data = fetchOptions.errorPolicy === 'ignore' ? rest : result;
|
|
6454
6295
|
return [2 /*return*/, __assign(__assign({}, (isBathchingQuery ? { data: data } : data)), { headers: headers_1, status: status_1 })];
|
|
6455
6296
|
}
|
|
@@ -6457,7 +6298,6 @@ function makeRequest(_a) {
|
|
|
6457
6298
|
errorResult = typeof result === 'string' ? { error: result } : result;
|
|
6458
6299
|
throw new types.ClientError(__assign(__assign({}, errorResult), { status: response.status, headers: response.headers }), { query: query, variables: variables });
|
|
6459
6300
|
}
|
|
6460
|
-
return [2 /*return*/];
|
|
6461
6301
|
}
|
|
6462
6302
|
});
|
|
6463
6303
|
});
|
|
@@ -6587,8 +6427,6 @@ Object.defineProperty(exports, "GraphQLWebSocketClient", { enumerable: true, get
|
|
|
6587
6427
|
//# sourceMappingURL=index.js.map
|
|
6588
6428
|
});
|
|
6589
6429
|
|
|
6590
|
-
const index = /*@__PURE__*/getDefaultExportFromCjs(dist);
|
|
6591
|
-
|
|
6592
6430
|
class UrlUtils {
|
|
6593
6431
|
static getQueryParams(queryString) {
|
|
6594
6432
|
const params = new Map();
|
|
@@ -6696,14 +6534,14 @@ class DataFetcher {
|
|
|
6696
6534
|
return UrlUtils.getUrlBase();
|
|
6697
6535
|
}
|
|
6698
6536
|
getContext(module) {
|
|
6537
|
+
var _a;
|
|
6699
6538
|
const urlParams = UrlUtils.getQueryParams(location.search);
|
|
6700
6539
|
return {
|
|
6701
6540
|
baseUrl: `${this.resolveURL()}/${module}/service.sbr`,
|
|
6702
6541
|
appName: "SankhyaBlocks",
|
|
6703
|
-
mgeSession: `${window['skw_session'] || urlParams.mgeSession}`,
|
|
6542
|
+
mgeSession: `${window['skw_session'] || urlParams.get("mgeSession")}`,
|
|
6704
6543
|
globalID: "85C0093DFA240EAB699B4E47A10215BD",
|
|
6705
|
-
|
|
6706
|
-
resourceID: "br.com.sankhya.mov.bancaria"
|
|
6544
|
+
resourceID: (window["resourceID"] || ((_a = window["workspace"]) === null || _a === void 0 ? void 0 : _a.resourceID))
|
|
6707
6545
|
};
|
|
6708
6546
|
}
|
|
6709
6547
|
async callServiceBroker(serviceName, payload) {
|
|
@@ -8000,9 +7838,7 @@ const SnkApplication = class {
|
|
|
8000
7838
|
}
|
|
8001
7839
|
async executeSearch(searchArgument, fieldName, dataUnit) {
|
|
8002
7840
|
const descriptor = dataUnit === null || dataUnit === void 0 ? void 0 : dataUnit.getField(fieldName);
|
|
8003
|
-
if (!descriptor)
|
|
8004
|
-
//TODO: Implementar mensagem de erro
|
|
8005
|
-
}
|
|
7841
|
+
if (!descriptor) ;
|
|
8006
7842
|
else {
|
|
8007
7843
|
const { mode, argument } = searchArgument;
|
|
8008
7844
|
const { ENTITYNAME, CODEFIELD, DESCRIPTIONFIELD, ROOTENTITY, DESCRIPTIONENTITY } = descriptor.properties;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-81dda3cf.js';
|
|
2
|
+
import { ApplicationContext } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
4
|
const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%}";
|
|
5
5
|
|
|
@@ -10,6 +10,12 @@ const SnkCrud = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.actionClick = createEvent(this, "actionClick", 7);
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Usado para alternar a visão entre GRID e FORM externamente.
|
|
15
|
+
*/
|
|
16
|
+
async goToView(mode) {
|
|
17
|
+
this.executeAction(mode);
|
|
18
|
+
}
|
|
13
19
|
async gridToForm(keepFormMode = false) {
|
|
14
20
|
this._backToGrid = !keepFormMode && await this._viewStack.getSelectedIndex() === GRID_MODE;
|
|
15
21
|
this._viewStack.show(FORM_MODE);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-81dda3cf.js';
|
|
2
|
+
import { Action, ApplicationContext } from '@sankhyalabs/core';
|
|
3
|
+
import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
4
4
|
import { O as OperationMap } from './SnkMessageBuilder-35a20271.js';
|
|
5
5
|
|
|
6
6
|
const snkDataUnitCss = ".sc-snk-data-unit-h{display:flex;flex-direction:column;height:100%}";
|