@sankhyalabs/sankhyablocks 1.4.0-beta.2 → 1.4.0-beta.3

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 (140) hide show
  1. package/dist/cjs/{index-b0b676c5.js → index-6fcf07f3.js} +159 -1515
  2. package/dist/cjs/loader.cjs.js +2 -18
  3. package/dist/cjs/sankhyablocks.cjs.js +4 -116
  4. package/dist/cjs/snk-application.cjs.entry.js +50 -214
  5. package/dist/cjs/snk-crud.cjs.entry.js +3 -3
  6. package/dist/cjs/snk-data-unit.cjs.entry.js +23 -23
  7. package/dist/cjs/snk-filter-bar_5.cjs.entry.js +902 -0
  8. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  9. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -3
  10. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  11. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  12. package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
  13. package/dist/cjs/snk-filter-personalized.cjs.entry.js +23 -22
  14. package/dist/cjs/snk-filter-search.cjs.entry.js +3 -3
  15. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  16. package/dist/cjs/{snk-form.cjs.entry.js → snk-form_2.cjs.entry.js} +119 -5
  17. package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
  18. package/dist/cjs/{taskbar-elements-283c737e.js → taskbar-elements-aedfeae6.js} +1 -1
  19. package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
  20. package/dist/components/index.js +0 -4
  21. package/dist/components/snk-application2.js +10 -174
  22. package/dist/components/snk-crud.js +1 -1
  23. package/dist/components/snk-data-unit.js +2 -2
  24. package/dist/components/snk-filter-bar2.js +4 -2
  25. package/dist/components/snk-filter-detail2.js +1 -1
  26. package/dist/components/snk-filter-item2.js +1 -1
  27. package/dist/components/snk-filter-list2.js +1 -1
  28. package/dist/components/snk-filter-modal2.js +4 -19
  29. package/dist/components/snk-filter-personalized.js +2 -1
  30. package/dist/components/snk-filter-search.js +1 -1
  31. package/dist/components/snk-form2.js +1 -1
  32. package/dist/components/snk-grid2.js +1 -1
  33. package/dist/components/snk-pesquisa2.js +1 -1
  34. package/dist/components/snk-taskbar2.js +1 -1
  35. package/dist/components/teste-pesquisa.js +1 -1
  36. package/dist/{sankhyablocks/index-2b4d2d14.js → esm/index-81dda3cf.js} +160 -1508
  37. package/dist/esm/loader.js +2 -18
  38. package/dist/esm/sankhyablocks.js +4 -116
  39. package/dist/esm/snk-application.entry.js +11 -175
  40. package/dist/esm/snk-crud.entry.js +2 -2
  41. package/dist/esm/snk-data-unit.entry.js +3 -3
  42. package/dist/esm/{snk-filter-bar.entry.js → snk-filter-bar_5.entry.js} +436 -4
  43. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  44. package/dist/esm/snk-filter-detail.entry.js +2 -2
  45. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  46. package/dist/esm/snk-filter-number.entry.js +1 -1
  47. package/dist/esm/snk-filter-period.entry.js +1 -1
  48. package/dist/esm/snk-filter-personalized.entry.js +3 -2
  49. package/dist/esm/snk-filter-search.entry.js +2 -2
  50. package/dist/esm/snk-filter-text.entry.js +1 -1
  51. package/dist/{sankhyablocks/snk-form.entry.js → esm/snk-form_2.entry.js} +117 -4
  52. package/dist/esm/snk-pesquisa.entry.js +2 -2
  53. package/dist/esm/{taskbar-elements-35d64ff9.js → taskbar-elements-38eb5d51.js} +1 -1
  54. package/dist/esm/teste-pesquisa.entry.js +2 -2
  55. package/dist/sankhyablocks/index.esm.js +0 -1
  56. package/dist/sankhyablocks/p-0352c0e2.entry.js +1 -0
  57. package/dist/sankhyablocks/p-07ebda01.entry.js +1 -0
  58. package/dist/sankhyablocks/p-322c0df2.entry.js +1 -0
  59. package/dist/sankhyablocks/p-46caa101.entry.js +1 -0
  60. package/dist/sankhyablocks/p-473cedf9.entry.js +1 -0
  61. package/dist/sankhyablocks/p-586e2522.js +1 -0
  62. package/dist/sankhyablocks/p-86f15ffe.js +1 -0
  63. package/dist/sankhyablocks/p-8f3c5709.entry.js +1 -0
  64. package/dist/sankhyablocks/p-97009a2c.entry.js +1 -0
  65. package/dist/sankhyablocks/p-9be74b46.entry.js +74 -0
  66. package/dist/sankhyablocks/p-9dd2b8cb.js +1 -0
  67. package/dist/sankhyablocks/p-a8b59c61.entry.js +1 -0
  68. package/dist/sankhyablocks/p-aecf3e0a.entry.js +1 -0
  69. package/dist/sankhyablocks/p-c1c3b5d8.entry.js +1 -0
  70. package/dist/sankhyablocks/p-c78cb79a.entry.js +1 -0
  71. package/dist/sankhyablocks/p-c9eec639.entry.js +1 -0
  72. package/dist/sankhyablocks/p-dc482a42.entry.js +1 -0
  73. package/dist/sankhyablocks/p-fac2b6a9.js +2 -0
  74. package/dist/sankhyablocks/p-fb705f81.entry.js +1 -0
  75. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -129
  76. package/package.json +1 -1
  77. package/react/components.d.ts +19 -0
  78. package/react/components.js +19 -0
  79. package/react/components.js.map +1 -1
  80. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  81. package/dist/cjs/css-shim-b8158822.js +0 -6
  82. package/dist/cjs/dom-36862b77.js +0 -75
  83. package/dist/cjs/index-84fe3b86.js +0 -20
  84. package/dist/cjs/index-93965c41.js +0 -141
  85. package/dist/cjs/index-e90ae303.js +0 -2408
  86. package/dist/cjs/shadow-css-346c0795.js +0 -389
  87. package/dist/cjs/snk-filter-bar.cjs.entry.js +0 -466
  88. package/dist/cjs/snk-filter-item.cjs.entry.js +0 -177
  89. package/dist/cjs/snk-filter-list.cjs.entry.js +0 -91
  90. package/dist/cjs/snk-filter-modal.cjs.entry.js +0 -37
  91. package/dist/cjs/snk-grid.cjs.entry.js +0 -79
  92. package/dist/cjs/snk-taskbar.cjs.entry.js +0 -160
  93. package/dist/cjs/taskbar-processor-6bd0d35c.js +0 -47
  94. package/dist/components/index2.js +0 -2394
  95. package/dist/components/index3.js +0 -139
  96. package/dist/esm/app-globals-0f993ce5.js +0 -3
  97. package/dist/esm/css-shim-b3f2ee8d.js +0 -4
  98. package/dist/esm/dom-665d6011.js +0 -73
  99. package/dist/esm/index-2b4d2d14.js +0 -3262
  100. package/dist/esm/index-5992b7e6.js +0 -139
  101. package/dist/esm/index-c683b2b0.js +0 -2394
  102. package/dist/esm/index-c71285cb.js +0 -17
  103. package/dist/esm/shadow-css-b18e99d7.js +0 -387
  104. package/dist/esm/snk-filter-item.entry.js +0 -173
  105. package/dist/esm/snk-filter-list.entry.js +0 -87
  106. package/dist/esm/snk-filter-modal.entry.js +0 -33
  107. package/dist/esm/snk-form.entry.js +0 -129
  108. package/dist/esm/snk-grid.entry.js +0 -75
  109. package/dist/esm/snk-taskbar.entry.js +0 -156
  110. package/dist/esm/taskbar-processor-aa6772c9.js +0 -45
  111. package/dist/sankhyablocks/SnkMessageBuilder-35a20271.js +0 -199
  112. package/dist/sankhyablocks/app-globals-0f993ce5.js +0 -3
  113. package/dist/sankhyablocks/css-shim-b3f2ee8d.js +0 -4
  114. package/dist/sankhyablocks/dom-665d6011.js +0 -73
  115. package/dist/sankhyablocks/filter-item-type.enum-a79b2fa8.js +0 -14
  116. package/dist/sankhyablocks/index-5992b7e6.js +0 -139
  117. package/dist/sankhyablocks/index-c683b2b0.js +0 -2394
  118. package/dist/sankhyablocks/index-c71285cb.js +0 -17
  119. package/dist/sankhyablocks/shadow-css-b18e99d7.js +0 -387
  120. package/dist/sankhyablocks/snk-application.entry.js +0 -8166
  121. package/dist/sankhyablocks/snk-crud.entry.js +0 -66
  122. package/dist/sankhyablocks/snk-data-unit.entry.js +0 -268
  123. package/dist/sankhyablocks/snk-filter-bar.entry.js +0 -462
  124. package/dist/sankhyablocks/snk-filter-binary-select.entry.js +0 -43
  125. package/dist/sankhyablocks/snk-filter-detail.entry.js +0 -80
  126. package/dist/sankhyablocks/snk-filter-item.entry.js +0 -173
  127. package/dist/sankhyablocks/snk-filter-list.entry.js +0 -87
  128. package/dist/sankhyablocks/snk-filter-modal.entry.js +0 -33
  129. package/dist/sankhyablocks/snk-filter-multi-select.entry.js +0 -19
  130. package/dist/sankhyablocks/snk-filter-number.entry.js +0 -20
  131. package/dist/sankhyablocks/snk-filter-period.entry.js +0 -33
  132. package/dist/sankhyablocks/snk-filter-personalized.entry.js +0 -85
  133. package/dist/sankhyablocks/snk-filter-search.entry.js +0 -40
  134. package/dist/sankhyablocks/snk-filter-text.entry.js +0 -18
  135. package/dist/sankhyablocks/snk-grid.entry.js +0 -75
  136. package/dist/sankhyablocks/snk-pesquisa.entry.js +0 -311
  137. package/dist/sankhyablocks/snk-taskbar.entry.js +0 -156
  138. package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +0 -90
  139. package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +0 -45
  140. package/dist/sankhyablocks/teste-pesquisa.entry.js +0 -33
@@ -2,50 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$2 = require('./index-b0b676c5.js');
6
- const index$1 = require('./index-e90ae303.js');
7
- const index$3 = require('./index-93965c41.js');
5
+ const index = require('./index-6fcf07f3.js');
6
+ const core = require('@sankhyalabs/core');
7
+ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const SnkMessageBuilder = require('./SnkMessageBuilder-d8215915.js');
9
9
 
10
10
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
11
11
 
12
- function getDefaultExportFromCjs (x) {
13
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
14
- }
15
-
16
12
  function createCommonjsModule(fn, basedir, module) {
17
13
  return module = {
18
14
  path: basedir,
19
15
  exports: {},
20
16
  require: function (path, base) {
21
- return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
17
+ return commonjsRequire();
22
18
  }
23
19
  }, fn(module, module.exports), module.exports;
24
20
  }
25
21
 
26
- function getDefaultExportFromNamespaceIfPresent (n) {
27
- return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
28
- }
29
-
30
- function getDefaultExportFromNamespaceIfNotNamed (n) {
31
- return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
32
- }
33
-
34
- function getAugmentedNamespace(n) {
35
- if (n.__esModule) return n;
36
- var a = Object.defineProperty({}, '__esModule', {value: true});
37
- Object.keys(n).forEach(function (k) {
38
- var d = Object.getOwnPropertyDescriptor(n, k);
39
- Object.defineProperty(a, k, d.get ? d : {
40
- enumerable: true,
41
- get: function () {
42
- return n[k];
43
- }
44
- });
45
- });
46
- return a;
47
- }
48
-
49
22
  function commonjsRequire () {
50
23
  throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
51
24
  }
@@ -62,7 +35,7 @@ return new F();
62
35
  })();
63
36
  (function(self) {
64
37
 
65
- var irrelevant = (function (exports) {
38
+ ((function (exports) {
66
39
 
67
40
  var support = {
68
41
  searchParams: 'URLSearchParams' in self,
@@ -590,7 +563,7 @@ var irrelevant = (function (exports) {
590
563
 
591
564
  return exports;
592
565
 
593
- })({});
566
+ }))({});
594
567
  })(__self__);
595
568
  __self__.fetch.ponyfill = true;
596
569
  // Remove "polyfill" property added by whatwg-fetch
@@ -607,10 +580,7 @@ exports.Response = ctx.Response;
607
580
  module.exports = exports;
608
581
  });
609
582
 
610
- const browserPonyfill$1 = /*@__PURE__*/getDefaultExportFromCjs(browserPonyfill);
611
-
612
583
  var isObjectLike_1 = createCommonjsModule(function (module, exports) {
613
- 'use strict';
614
584
 
615
585
  Object.defineProperty(exports, '__esModule', {
616
586
  value: true,
@@ -626,10 +596,7 @@ function isObjectLike(value) {
626
596
  }
627
597
  });
628
598
 
629
- const isObjectLike = /*@__PURE__*/getDefaultExportFromCjs(isObjectLike_1);
630
-
631
599
  var invariant_1 = createCommonjsModule(function (module, exports) {
632
- 'use strict';
633
600
 
634
601
  Object.defineProperty(exports, '__esModule', {
635
602
  value: true,
@@ -647,10 +614,7 @@ function invariant(condition, message) {
647
614
  }
648
615
  });
649
616
 
650
- const invariant = /*@__PURE__*/getDefaultExportFromCjs(invariant_1);
651
-
652
617
  var location_1 = createCommonjsModule(function (module, exports) {
653
- 'use strict';
654
618
 
655
619
  Object.defineProperty(exports, '__esModule', {
656
620
  value: true,
@@ -690,10 +654,7 @@ function getLocation(source, position) {
690
654
  }
691
655
  });
692
656
 
693
- const location$1 = /*@__PURE__*/getDefaultExportFromCjs(location_1);
694
-
695
657
  var printLocation_1 = createCommonjsModule(function (module, exports) {
696
- 'use strict';
697
658
 
698
659
  Object.defineProperty(exports, '__esModule', {
699
660
  value: true,
@@ -769,10 +730,7 @@ function printPrefixedLines(lines) {
769
730
  }
770
731
  });
771
732
 
772
- const printLocation = /*@__PURE__*/getDefaultExportFromCjs(printLocation_1);
773
-
774
733
  var GraphQLError_1 = createCommonjsModule(function (module, exports) {
775
- 'use strict';
776
734
 
777
735
  Object.defineProperty(exports, '__esModule', {
778
736
  value: true,
@@ -1041,10 +999,7 @@ function formatError(error) {
1041
999
  }
1042
1000
  });
1043
1001
 
1044
- const GraphQLError = /*@__PURE__*/getDefaultExportFromCjs(GraphQLError_1);
1045
-
1046
1002
  var syntaxError_1 = createCommonjsModule(function (module, exports) {
1047
- 'use strict';
1048
1003
 
1049
1004
  Object.defineProperty(exports, '__esModule', {
1050
1005
  value: true,
@@ -1065,10 +1020,7 @@ function syntaxError(source, position, description) {
1065
1020
  }
1066
1021
  });
1067
1022
 
1068
- const syntaxError = /*@__PURE__*/getDefaultExportFromCjs(syntaxError_1);
1069
-
1070
1023
  var ast = createCommonjsModule(function (module, exports) {
1071
- 'use strict';
1072
1024
 
1073
1025
  Object.defineProperty(exports, '__esModule', {
1074
1026
  value: true,
@@ -1294,10 +1246,7 @@ exports.OperationTypeNode = OperationTypeNode;
1294
1246
  })(OperationTypeNode || (exports.OperationTypeNode = OperationTypeNode = {}));
1295
1247
  });
1296
1248
 
1297
- const ast$1 = /*@__PURE__*/getDefaultExportFromCjs(ast);
1298
-
1299
1249
  var directiveLocation = createCommonjsModule(function (module, exports) {
1300
- 'use strict';
1301
1250
 
1302
1251
  Object.defineProperty(exports, '__esModule', {
1303
1252
  value: true,
@@ -1338,10 +1287,7 @@ exports.DirectiveLocation = DirectiveLocation;
1338
1287
  */
1339
1288
  });
1340
1289
 
1341
- const directiveLocation$1 = /*@__PURE__*/getDefaultExportFromCjs(directiveLocation);
1342
-
1343
1290
  var kinds = createCommonjsModule(function (module, exports) {
1344
- 'use strict';
1345
1291
 
1346
1292
  Object.defineProperty(exports, '__esModule', {
1347
1293
  value: true,
@@ -1406,10 +1352,7 @@ exports.Kind = Kind;
1406
1352
  */
1407
1353
  });
1408
1354
 
1409
- const kinds$1 = /*@__PURE__*/getDefaultExportFromCjs(kinds);
1410
-
1411
1355
  var characterClasses = createCommonjsModule(function (module, exports) {
1412
- 'use strict';
1413
1356
 
1414
1357
  Object.defineProperty(exports, '__esModule', {
1415
1358
  value: true,
@@ -1486,10 +1429,7 @@ function isNameContinue(code) {
1486
1429
  }
1487
1430
  });
1488
1431
 
1489
- const characterClasses$1 = /*@__PURE__*/getDefaultExportFromCjs(characterClasses);
1490
-
1491
1432
  var blockString = createCommonjsModule(function (module, exports) {
1492
- 'use strict';
1493
1433
 
1494
1434
  Object.defineProperty(exports, '__esModule', {
1495
1435
  value: true,
@@ -1686,10 +1626,7 @@ function printBlockString(value, options) {
1686
1626
  }
1687
1627
  });
1688
1628
 
1689
- const blockString$1 = /*@__PURE__*/getDefaultExportFromCjs(blockString);
1690
-
1691
1629
  var tokenKind = createCommonjsModule(function (module, exports) {
1692
- 'use strict';
1693
1630
 
1694
1631
  Object.defineProperty(exports, '__esModule', {
1695
1632
  value: true,
@@ -1734,10 +1671,7 @@ exports.TokenKind = TokenKind;
1734
1671
  */
1735
1672
  });
1736
1673
 
1737
- const tokenKind$1 = /*@__PURE__*/getDefaultExportFromCjs(tokenKind);
1738
-
1739
1674
  var lexer = createCommonjsModule(function (module, exports) {
1740
- 'use strict';
1741
1675
 
1742
1676
  Object.defineProperty(exports, '__esModule', {
1743
1677
  value: true,
@@ -2745,10 +2679,7 @@ function readName(lexer, start) {
2745
2679
  }
2746
2680
  });
2747
2681
 
2748
- const lexer$1 = /*@__PURE__*/getDefaultExportFromCjs(lexer);
2749
-
2750
2682
  var devAssert_1 = createCommonjsModule(function (module, exports) {
2751
- 'use strict';
2752
2683
 
2753
2684
  Object.defineProperty(exports, '__esModule', {
2754
2685
  value: true,
@@ -2764,10 +2695,7 @@ function devAssert(condition, message) {
2764
2695
  }
2765
2696
  });
2766
2697
 
2767
- const devAssert = /*@__PURE__*/getDefaultExportFromCjs(devAssert_1);
2768
-
2769
2698
  var inspect_1 = createCommonjsModule(function (module, exports) {
2770
- 'use strict';
2771
2699
 
2772
2700
  Object.defineProperty(exports, '__esModule', {
2773
2701
  value: true,
@@ -2890,10 +2818,7 @@ function getObjectTag(object) {
2890
2818
  }
2891
2819
  });
2892
2820
 
2893
- const inspect = /*@__PURE__*/getDefaultExportFromCjs(inspect_1);
2894
-
2895
2821
  var instanceOf_1 = createCommonjsModule(function (module, exports) {
2896
- 'use strict';
2897
2822
 
2898
2823
  Object.defineProperty(exports, '__esModule', {
2899
2824
  value: true,
@@ -2912,54 +2837,14 @@ const instanceOf =
2912
2837
  /* c8 ignore next 6 */
2913
2838
  // FIXME: https://github.com/graphql/graphql-js/issues/2317
2914
2839
  // eslint-disable-next-line no-undef
2915
- "development" === 'production'
2916
- ? function instanceOf(value, constructor) {
2840
+ function instanceOf(value, constructor) {
2917
2841
  return value instanceof constructor;
2918
2842
  }
2919
- : function instanceOf(value, constructor) {
2920
- if (value instanceof constructor) {
2921
- return true;
2922
- }
2923
-
2924
- if (typeof value === 'object' && value !== null) {
2925
- var _value$constructor;
2926
-
2927
- // Prefer Symbol.toStringTag since it is immune to minification.
2928
- const className = constructor.prototype[Symbol.toStringTag];
2929
- const valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.
2930
- Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009
2931
- ? value[Symbol.toStringTag]
2932
- : (_value$constructor = value.constructor) === null ||
2933
- _value$constructor === void 0
2934
- ? void 0
2935
- : _value$constructor.name;
2936
-
2937
- if (className === valueClassName) {
2938
- const stringifiedValue = (0, inspect_1.inspect)(value);
2939
- throw new Error(`Cannot use ${className} "${stringifiedValue}" from another module or realm.
2940
-
2941
- Ensure that there is only one instance of "graphql" in the node_modules
2942
- directory. If different versions of "graphql" are the dependencies of other
2943
- relied on modules, use "resolutions" to ensure only one version is installed.
2944
-
2945
- https://yarnpkg.com/en/docs/selective-version-resolutions
2946
-
2947
- Duplicate "graphql" modules cannot be used at the same time since different
2948
- versions may have different capabilities and behavior. The data from one
2949
- version used in the function from another could produce confusing and
2950
- spurious results.`);
2951
- }
2952
- }
2953
-
2954
- return false;
2955
- };
2843
+ ;
2956
2844
  exports.instanceOf = instanceOf;
2957
2845
  });
2958
2846
 
2959
- const instanceOf = /*@__PURE__*/getDefaultExportFromCjs(instanceOf_1);
2960
-
2961
2847
  var source = createCommonjsModule(function (module, exports) {
2962
- 'use strict';
2963
2848
 
2964
2849
  Object.defineProperty(exports, '__esModule', {
2965
2850
  value: true,
@@ -3026,10 +2911,7 @@ function isSource(source) {
3026
2911
  }
3027
2912
  });
3028
2913
 
3029
- const source$1 = /*@__PURE__*/getDefaultExportFromCjs(source);
3030
-
3031
2914
  var parser = createCommonjsModule(function (module, exports) {
3032
- 'use strict';
3033
2915
 
3034
2916
  Object.defineProperty(exports, '__esModule', {
3035
2917
  value: true,
@@ -4598,10 +4480,7 @@ function getTokenKindDesc(kind) {
4598
4480
  }
4599
4481
  });
4600
4482
 
4601
- const parser$1 = /*@__PURE__*/getDefaultExportFromCjs(parser);
4602
-
4603
4483
  var printString_1 = createCommonjsModule(function (module, exports) {
4604
- 'use strict';
4605
4484
 
4606
4485
  Object.defineProperty(exports, '__esModule', {
4607
4486
  value: true,
@@ -4786,10 +4665,7 @@ const escapeSequences = [
4786
4665
  ];
4787
4666
  });
4788
4667
 
4789
- const printString = /*@__PURE__*/getDefaultExportFromCjs(printString_1);
4790
-
4791
4668
  var visitor = createCommonjsModule(function (module, exports) {
4792
- 'use strict';
4793
4669
 
4794
4670
  Object.defineProperty(exports, '__esModule', {
4795
4671
  value: true,
@@ -5168,10 +5044,7 @@ function getVisitFn(visitor, kind, isLeaving) {
5168
5044
  }
5169
5045
  });
5170
5046
 
5171
- const visitor$1 = /*@__PURE__*/getDefaultExportFromCjs(visitor);
5172
-
5173
5047
  var printer = createCommonjsModule(function (module, exports) {
5174
- 'use strict';
5175
5048
 
5176
5049
  Object.defineProperty(exports, '__esModule', {
5177
5050
  value: true,
@@ -5524,10 +5397,6 @@ function hasMultilineItems(maybeArray) {
5524
5397
  }
5525
5398
  });
5526
5399
 
5527
- const printer$1 = /*@__PURE__*/getDefaultExportFromCjs(printer);
5528
-
5529
- 'use strict';
5530
-
5531
5400
  var ReactNativeFile$1 = function ReactNativeFile(_ref) {
5532
5401
  var uri = _ref.uri,
5533
5402
  name = _ref.name,
@@ -5537,10 +5406,6 @@ var ReactNativeFile$1 = function ReactNativeFile(_ref) {
5537
5406
  this.type = type;
5538
5407
  };
5539
5408
 
5540
- 'use strict';
5541
-
5542
-
5543
-
5544
5409
  var isExtractableFile$1 = function isExtractableFile(value) {
5545
5410
  return (
5546
5411
  (typeof File !== 'undefined' && value instanceof File) ||
@@ -5549,10 +5414,6 @@ var isExtractableFile$1 = function isExtractableFile(value) {
5549
5414
  );
5550
5415
  };
5551
5416
 
5552
- 'use strict';
5553
-
5554
-
5555
-
5556
5417
  var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
5557
5418
  if (path === void 0) {
5558
5419
  path = '';
@@ -5604,8 +5465,6 @@ var extractFiles$1 = function extractFiles(value, path, isExtractableFile) {
5604
5465
  };
5605
5466
  };
5606
5467
 
5607
- 'use strict';
5608
-
5609
5468
  var ReactNativeFile = ReactNativeFile$1;
5610
5469
  var extractFiles = extractFiles$1;
5611
5470
  var isExtractableFile = isExtractableFile$1;
@@ -5620,7 +5479,6 @@ var _public = {
5620
5479
  var browser = typeof self == 'object' ? self.FormData : window.FormData;
5621
5480
 
5622
5481
  var defaultJsonSerializer = createCommonjsModule(function (module, exports) {
5623
- "use strict";
5624
5482
  Object.defineProperty(exports, "__esModule", { value: true });
5625
5483
  exports.defaultJsonSerializer = void 0;
5626
5484
  exports.defaultJsonSerializer = {
@@ -5630,10 +5488,7 @@ exports.defaultJsonSerializer = {
5630
5488
  //# sourceMappingURL=defaultJsonSerializer.js.map
5631
5489
  });
5632
5490
 
5633
- const defaultJsonSerializer$1 = /*@__PURE__*/getDefaultExportFromCjs(defaultJsonSerializer);
5634
-
5635
5491
  var createRequestBody_1 = createCommonjsModule(function (module, exports) {
5636
- "use strict";
5637
5492
  var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5638
5493
  return (mod && mod.__esModule) ? mod : { "default": mod };
5639
5494
  };
@@ -5690,10 +5545,7 @@ exports.default = createRequestBody;
5690
5545
  //# sourceMappingURL=createRequestBody.js.map
5691
5546
  });
5692
5547
 
5693
- const createRequestBody = /*@__PURE__*/getDefaultExportFromCjs(createRequestBody_1);
5694
-
5695
5548
  var parseArgs = createCommonjsModule(function (module, exports) {
5696
- "use strict";
5697
5549
  Object.defineProperty(exports, "__esModule", { value: true });
5698
5550
  exports.parseBatchRequestsExtendedArgs = exports.parseRawRequestExtendedArgs = exports.parseRequestExtendedArgs = exports.parseBatchRequestArgs = exports.parseRawRequestArgs = exports.parseRequestArgs = void 0;
5699
5551
  function parseRequestArgs(documentOrOptions, variables, requestHeaders) {
@@ -5766,10 +5618,7 @@ exports.parseBatchRequestsExtendedArgs = parseBatchRequestsExtendedArgs;
5766
5618
  //# sourceMappingURL=parseArgs.js.map
5767
5619
  });
5768
5620
 
5769
- const parseArgs$1 = /*@__PURE__*/getDefaultExportFromCjs(parseArgs);
5770
-
5771
5621
  var types = createCommonjsModule(function (module, exports) {
5772
- "use strict";
5773
5622
  var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
5774
5623
  var extendStatics = function (d, b) {
5775
5624
  extendStatics = Object.setPrototypeOf ||
@@ -5819,10 +5668,7 @@ exports.ClientError = ClientError;
5819
5668
  //# sourceMappingURL=types.js.map
5820
5669
  });
5821
5670
 
5822
- const types$1 = /*@__PURE__*/getDefaultExportFromCjs(types);
5823
-
5824
5671
  var graphqlWs = createCommonjsModule(function (module, exports) {
5825
- "use strict";
5826
5672
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
5827
5673
  __assign = Object.assign || function(t) {
5828
5674
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -6002,8 +5848,6 @@ var GraphQLWebSocketClient = /** @class */ (function () {
6002
5848
  if (message.payload.errors) {
6003
5849
  subscriber.error && subscriber.error(new types.ClientError(__assign(__assign({}, message.payload), { status: 200 }), { query: query, variables: variables }));
6004
5850
  }
6005
- else {
6006
- }
6007
5851
  return;
6008
5852
  }
6009
5853
  case ERROR: {
@@ -6098,10 +5942,7 @@ function Complete(id) {
6098
5942
  //# sourceMappingURL=graphql-ws.js.map
6099
5943
  });
6100
5944
 
6101
- const graphqlWs$1 = /*@__PURE__*/getDefaultExportFromCjs(graphqlWs);
6102
-
6103
5945
  var dist = createCommonjsModule(function (module, exports) {
6104
- "use strict";
6105
5946
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
6106
5947
  __assign = Object.assign || function(t) {
6107
5948
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -6426,7 +6267,7 @@ exports.GraphQLClient = GraphQLClient;
6426
6267
  function makeRequest(_a) {
6427
6268
  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;
6428
6269
  return __awaiter(this, void 0, void 0, function () {
6429
- var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1, errors, rest, data, errorResult;
6270
+ var fetcher, isBathchingQuery, response, result, successfullyReceivedData, successfullyPassedErrorPolicy, headers_1, status_1, rest, data, errorResult;
6430
6271
  return __generator(this, function (_c) {
6431
6272
  switch (_c.label) {
6432
6273
  case 0:
@@ -6453,7 +6294,7 @@ function makeRequest(_a) {
6453
6294
  successfullyPassedErrorPolicy = !result.errors || fetchOptions.errorPolicy === 'all' || fetchOptions.errorPolicy === 'ignore';
6454
6295
  if (response.ok && successfullyPassedErrorPolicy && successfullyReceivedData) {
6455
6296
  headers_1 = response.headers, status_1 = response.status;
6456
- errors = result.errors, rest = __rest(result, ["errors"]);
6297
+ rest = __rest(result, ["errors"]);
6457
6298
  data = fetchOptions.errorPolicy === 'ignore' ? rest : result;
6458
6299
  return [2 /*return*/, __assign(__assign({}, (isBathchingQuery ? { data: data } : data)), { headers: headers_1, status: status_1 })];
6459
6300
  }
@@ -6461,7 +6302,6 @@ function makeRequest(_a) {
6461
6302
  errorResult = typeof result === 'string' ? { error: result } : result;
6462
6303
  throw new types.ClientError(__assign(__assign({}, errorResult), { status: response.status, headers: response.headers }), { query: query, variables: variables });
6463
6304
  }
6464
- return [2 /*return*/];
6465
6305
  }
6466
6306
  });
6467
6307
  });
@@ -6591,8 +6431,6 @@ Object.defineProperty(exports, "GraphQLWebSocketClient", { enumerable: true, get
6591
6431
  //# sourceMappingURL=index.js.map
6592
6432
  });
6593
6433
 
6594
- const index = /*@__PURE__*/getDefaultExportFromCjs(dist);
6595
-
6596
6434
  class UrlUtils {
6597
6435
  static getQueryParams(queryString) {
6598
6436
  const params = new Map();
@@ -6662,13 +6500,13 @@ class DataFetcher {
6662
6500
  const errorCode = ((_b = errorInfo === null || errorInfo === void 0 ? void 0 : errorInfo.extensions) === null || _b === void 0 ? void 0 : _b.code) ? errorInfo.extensions.code : "";
6663
6501
  switch (errorLevel) {
6664
6502
  case "WARNING":
6665
- return new index$1.WarningException(errorTitle, errorMessage, errorCode);
6503
+ return new core.WarningException(errorTitle, errorMessage, errorCode);
6666
6504
  default:
6667
- return new index$1.ErrorException(errorTitle, errorMessage, errorCode);
6505
+ return new core.ErrorException(errorTitle, errorMessage, errorCode);
6668
6506
  }
6669
6507
  }
6670
6508
  else {
6671
- return new index$1.ErrorException(errorTitle, "Não há informações sobre o erro");
6509
+ return new core.ErrorException(errorTitle, "Não há informações sobre o erro");
6672
6510
  }
6673
6511
  }
6674
6512
  async callGraphQL(req) {
@@ -6747,7 +6585,7 @@ class DataFetcher {
6747
6585
  });
6748
6586
  }
6749
6587
  getReqKey(req) {
6750
- return window.btoa(index$1.StringUtils.hashCode(`${req.query}${JSON.stringify(req.values || "")}`)).replace(/=/g, "");
6588
+ return window.btoa(core.StringUtils.hashCode(`${req.query}${JSON.stringify(req.values || "")}`)).replace(/=/g, "");
6751
6589
  }
6752
6590
  getQueryTemplate(re) {
6753
6591
  return (re.query || "").replaceAll("$queryAlias$", re.queryID);
@@ -6776,7 +6614,7 @@ class DataFetcher {
6776
6614
  errorsResponse.forEach((errorResponse) => {
6777
6615
  Object.entries(errorResponse).forEach(([_key, val]) => {
6778
6616
  var _a;
6779
- (((_a = this.getWatingRequest(val.request.variables[val.index].queryID)) === null || _a === void 0 ? void 0 : _a.reject) || Promise.reject)(new index$1.ErrorException("Falha detectada", val.message));
6617
+ (((_a = this.getWatingRequest(val.request.variables[val.index].queryID)) === null || _a === void 0 ? void 0 : _a.reject) || Promise.reject)(new core.ErrorException("Falha detectada", val.message));
6780
6618
  });
6781
6619
  });
6782
6620
  //Resolve promises with data from query
@@ -6829,7 +6667,7 @@ class DataFetcher {
6829
6667
  }
6830
6668
  else {
6831
6669
  DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url: url, requestBody: request }));
6832
- throw new index$1.ErrorException("Falha de comunicação", err.message);
6670
+ throw new core.ErrorException("Falha de comunicação", err.message);
6833
6671
  }
6834
6672
  }
6835
6673
  DataFetcher.requestListener.forEach(listener => listener.onRequestEnd({ url: url, requestBody: request }));
@@ -6937,7 +6775,7 @@ class DataUnitFetcher {
6937
6775
  }`);
6938
6776
  }
6939
6777
  getDataUnit(entityName, resourceID) {
6940
- const dataUnit = new index$1.DataUnit(`dd://${entityName}/${resourceID}`);
6778
+ const dataUnit = new core.DataUnit(`dd://${entityName}/${resourceID}`);
6941
6779
  dataUnit.metadataLoader = (dataUnit) => this.loadMetadata(dataUnit);
6942
6780
  dataUnit.dataLoader = (dataUnit, request) => this.loadData(dataUnit, request);
6943
6781
  dataUnit.saveLoader = (dataUnit, changes) => this.saveData(dataUnit, changes);
@@ -6998,17 +6836,17 @@ class DataUnitFetcher {
6998
6836
  const variables = { dataunit: dataUnit.name, sort, filters };
6999
6837
  variables.limit = limit;
7000
6838
  variables.offset = offset;
7001
- if (!index$1.StringUtils.isEmpty(quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.term)) {
6839
+ if (!core.StringUtils.isEmpty(quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.term)) {
7002
6840
  if (variables.filter === undefined) {
7003
6841
  variables.filter = [];
7004
6842
  }
7005
6843
  const quickFilterCriteria = {
7006
6844
  name: "__QUICK_FILTER__",
7007
6845
  expression: "__QUICK_FILTER__",
7008
- params: [{ name: "term", dataType: index$1.DataType.TEXT, value: quickFilter.term }]
6846
+ params: [{ name: "term", dataType: core.DataType.TEXT, value: quickFilter.term }]
7009
6847
  };
7010
6848
  if (((_a = quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.fields) === null || _a === void 0 ? void 0 : _a.length) > 0) {
7011
- quickFilterCriteria.params.push({ name: "fields", dataType: index$1.DataType.OBJECT, value: quickFilter.fields });
6849
+ quickFilterCriteria.params.push({ name: "fields", dataType: core.DataType.OBJECT, value: quickFilter.fields });
7012
6850
  }
7013
6851
  variables.filter.push(quickFilterCriteria);
7014
6852
  }
@@ -7057,7 +6895,7 @@ class DataUnitFetcher {
7057
6895
  if (updatingFields) {
7058
6896
  parsedUpdatingFields = Object.entries(updatingFields).map(([fieldName, value]) => {
7059
6897
  const descriptor = dataUnit.getField(fieldName);
7060
- const dataType = descriptor ? descriptor.dataType : index$1.DataType.TEXT;
6898
+ const dataType = descriptor ? descriptor.dataType : core.DataType.TEXT;
7061
6899
  return { fieldName, dataType, value: dataUnit.valueToString(fieldName, value) };
7062
6900
  });
7063
6901
  }
@@ -7094,7 +6932,7 @@ class DataUnitFetcher {
7094
6932
  }
7095
6933
  removeRecords(dataUnit, recordIds) {
7096
6934
  const changes = recordIds.map((recordId) => {
7097
- return { dataUnit: dataUnit.name, operation: index$1.ChangeOperation.DELETE, recordId };
6935
+ return { dataUnit: dataUnit.name, operation: core.ChangeOperation.DELETE, recordId };
7098
6936
  });
7099
6937
  return new Promise((resolve, reject) => {
7100
6938
  DataFetcher.get()
@@ -7159,7 +6997,7 @@ class ParametersFetcher {
7159
6997
  }
7160
6998
  async asDate(name, resourceID) {
7161
6999
  const paramArr = await this.getParam(name, resourceID);
7162
- return index$1.DateUtils.strToDate(this.getValue(paramArr));
7000
+ return core.DateUtils.strToDate(this.getValue(paramArr));
7163
7001
  }
7164
7002
  async getBatchParams(names, resourceID) {
7165
7003
  const paramArr = await this.getParam(names.join(","), resourceID);
@@ -7172,7 +7010,7 @@ class ParametersFetcher {
7172
7010
  if (Array.isArray(obj) && obj.length > 0) {
7173
7011
  obj = obj[0];
7174
7012
  }
7175
- if (index$1.StringUtils.isEmpty(obj.resource))
7013
+ if (core.StringUtils.isEmpty(obj.resource))
7176
7014
  return "";
7177
7015
  return obj.resource;
7178
7016
  }
@@ -7372,9 +7210,9 @@ function convertParamType(dataType) {
7372
7210
  //atual da pesquisa... em geral, somente inteiros,
7373
7211
  //data (com ou sem hora) e string são realmente relevantes
7374
7212
  switch (dataType) {
7375
- case index$1.DataType.NUMBER:
7213
+ case core.DataType.NUMBER:
7376
7214
  return "I";
7377
- case index$1.DataType.DATE:
7215
+ case core.DataType.DATE:
7378
7216
  return "D";
7379
7217
  default:
7380
7218
  return "S";
@@ -7387,7 +7225,7 @@ class AuthFetcher extends ResourceFetcher {
7387
7225
  return new Promise((resolve, reject) => {
7388
7226
  this.loadResource(completePath)
7389
7227
  .then((loadedResource) => {
7390
- let auth = index$1.ObjectUtils.stringToObject(loadedResource);
7228
+ let auth = core.ObjectUtils.stringToObject(loadedResource);
7391
7229
  if (auth && typeof (auth) === 'object') {
7392
7230
  resolve(auth);
7393
7231
  }
@@ -7421,7 +7259,7 @@ class SnkErrorHandler {
7421
7259
  const reason = evt.reason;
7422
7260
  //Promisse rejeitada com WaitingChangeException, não precisam
7423
7261
  //ser notificadas pelo usuário.
7424
- if (!(reason instanceof index$1.WaitingChangeException)) {
7262
+ if (!(reason instanceof core.WaitingChangeException)) {
7425
7263
  if (reason) {
7426
7264
  this.processException(reason);
7427
7265
  }
@@ -7445,13 +7283,13 @@ class SnkErrorHandler {
7445
7283
  if (exception.errorCode != "") {
7446
7284
  exception.message += this.buildErrorCodeHTML(exception);
7447
7285
  }
7448
- if (exception instanceof index$1.WaitingChangeException) {
7286
+ if (exception instanceof core.WaitingChangeException) {
7449
7287
  this._app.alert(exception.title, exception.message);
7450
7288
  }
7451
- else if (exception instanceof index$1.WarningException) {
7289
+ else if (exception instanceof core.WarningException) {
7452
7290
  this._app.alert(exception.title, exception.message);
7453
7291
  }
7454
- else if (exception instanceof index$1.ErrorException) {
7292
+ else if (exception instanceof core.ErrorException) {
7455
7293
  this._app.error(exception.title, exception.message);
7456
7294
  }
7457
7295
  else {
@@ -7462,7 +7300,7 @@ class SnkErrorHandler {
7462
7300
  }
7463
7301
  else {
7464
7302
  const title = (exception === null || exception === void 0 ? void 0 : exception.title) || "Erro detectado";
7465
- const message = (typeof exception === "string") ? exception : exception.message || `Erro interno "${index$1.ObjectUtils.objectToString(exception)}"`;
7303
+ const message = (typeof exception === "string") ? exception : exception.message || `Erro interno "${core.ObjectUtils.objectToString(exception)}"`;
7466
7304
  this._app.error(title, message);
7467
7305
  }
7468
7306
  }
@@ -7585,9 +7423,9 @@ const snkApplicationCss = ".sc-snk-application-h{display:flex;flex-direction:col
7585
7423
 
7586
7424
  const SnkApplication = class {
7587
7425
  constructor(hostRef) {
7588
- index$2.registerInstance(this, hostRef);
7589
- this.applicationLoaded = index$2.createEvent(this, "applicationLoaded", 7);
7590
- this.applicationLoading = index$2.createEvent(this, "applicationLoading", 7);
7426
+ index.registerInstance(this, hostRef);
7427
+ this.applicationLoaded = index.createEvent(this, "applicationLoaded", 7);
7428
+ this.applicationLoading = index.createEvent(this, "applicationLoading", 7);
7591
7429
  this._authPromises = [];
7592
7430
  this._duCache = new Map();
7593
7431
  this._duPromises = new Map();
@@ -7869,37 +7707,37 @@ const SnkApplication = class {
7869
7707
  * Mostra o diálogo de alerta de acordo com os parâmetros passados.
7870
7708
  */
7871
7709
  async alert(title, message, icon, options) {
7872
- return index$3.ApplicationUtils.alert(title, message, icon, options);
7710
+ return utils.ApplicationUtils.alert(title, message, icon, options);
7873
7711
  }
7874
7712
  /**
7875
7713
  * Mostra o diálogo de erro de acordo com os parâmetros passados.
7876
7714
  */
7877
7715
  async error(title, message, icon, options) {
7878
- return index$3.ApplicationUtils.error(title, message, icon, options);
7716
+ return utils.ApplicationUtils.error(title, message, icon, options);
7879
7717
  }
7880
7718
  /**
7881
7719
  * Mostra o diálogo de sucesso de acordo com os parâmetros passados.
7882
7720
  */
7883
7721
  async success(title, message, icon, options) {
7884
- return index$3.ApplicationUtils.success(title, message, icon, options);
7722
+ return utils.ApplicationUtils.success(title, message, icon, options);
7885
7723
  }
7886
7724
  /**
7887
7725
  * Exibe um diálogo de mensagem comum
7888
7726
  */
7889
7727
  async message(title, message, icon, options) {
7890
- return index$3.ApplicationUtils.message(title, message, icon, options);
7728
+ return utils.ApplicationUtils.message(title, message, icon, options);
7891
7729
  }
7892
7730
  /**
7893
7731
  * Exibe um diálogo de confirmação
7894
7732
  */
7895
7733
  async confirm(title, message, icon, dialogType, options) {
7896
- return index$3.ApplicationUtils.confirm(title, message, icon, dialogType, options);
7734
+ return utils.ApplicationUtils.confirm(title, message, icon, dialogType, options);
7897
7735
  }
7898
7736
  /**
7899
7737
  * Mostra uma informação efêmera (de segundo plano).
7900
7738
  */
7901
7739
  async info(message, options) {
7902
- return index$3.ApplicationUtils.info(message, options);
7740
+ return utils.ApplicationUtils.info(message, options);
7903
7741
  }
7904
7742
  /**
7905
7743
  * Busca a configuração de formulário.
@@ -8004,9 +7842,7 @@ const SnkApplication = class {
8004
7842
  }
8005
7843
  async executeSearch(searchArgument, fieldName, dataUnit) {
8006
7844
  const descriptor = dataUnit === null || dataUnit === void 0 ? void 0 : dataUnit.getField(fieldName);
8007
- if (!descriptor) {
8008
- //TODO: Implementar mensagem de erro
8009
- }
7845
+ if (!descriptor) ;
8010
7846
  else {
8011
7847
  const { mode, argument } = searchArgument;
8012
7848
  const { ENTITYNAME, CODEFIELD, DESCRIPTIONFIELD, ROOTENTITY, DESCRIPTIONENTITY } = descriptor.properties;
@@ -8020,13 +7856,13 @@ const SnkApplication = class {
8020
7856
  };
8021
7857
  dependencies === null || dependencies === void 0 ? void 0 : dependencies.filter(dep => { var _a; return (_a = dep.masterFields) === null || _a === void 0 ? void 0 : _a.every(f => { var _a; return (_a = dataUnit.getField(f)) === null || _a === void 0 ? void 0 : _a.visible; }); }).forEach(dependency => {
8022
7858
  var _a;
8023
- if (dependency.type === index$1.DependencyType.SEARCHING) {
7859
+ if (dependency.type === core.DependencyType.SEARCHING) {
8024
7860
  if (((_a = dependency.masterFields) === null || _a === void 0 ? void 0 : _a.length) > 0) {
8025
7861
  criteria = {
8026
7862
  expression: dependency.expression,
8027
7863
  params: dependency.masterFields.map(fieldName => {
8028
7864
  const masterDescriptor = dataUnit.getField(fieldName);
8029
- const dataType = (masterDescriptor === null || masterDescriptor === void 0 ? void 0 : masterDescriptor.dataType) || index$1.DataType.TEXT;
7865
+ const dataType = (masterDescriptor === null || masterDescriptor === void 0 ? void 0 : masterDescriptor.dataType) || core.DataType.TEXT;
8030
7866
  const value = dataUnit.getFieldValue(fieldName);
8031
7867
  if (value == undefined) {
8032
7868
  this.alert("Erro ao pesquisar", `É necessario informar o campo ${masterDescriptor.label} para executar a pesquisa.`);
@@ -8082,11 +7918,11 @@ const SnkApplication = class {
8082
7918
  componentWillLoad() {
8083
7919
  this._errorHandler = new SnkErrorHandler(this);
8084
7920
  this.messagesBuilder = new SnkMessageBuilder.SnkMessageBuilder();
8085
- index$1.ApplicationContext.setContextValue("__EZUI__UPLOAD__ADD__URL__", `${UrlUtils.getUrlBase()}/mge/upload/file`);
8086
- index$1.ApplicationContext.setContextValue("__EZUI__SEARCH__OPTION__LOADER__", (searchArgument, fieldName, dataUnit) => {
7921
+ core.ApplicationContext.setContextValue("__EZUI__UPLOAD__ADD__URL__", `${UrlUtils.getUrlBase()}/mge/upload/file`);
7922
+ core.ApplicationContext.setContextValue("__EZUI__SEARCH__OPTION__LOADER__", (searchArgument, fieldName, dataUnit) => {
8087
7923
  return this.executeSearch(searchArgument, fieldName, dataUnit);
8088
7924
  });
8089
- index$1.ApplicationContext.setContextValue("__EZUI__GRID_LICENSE__", agGridLicense);
7925
+ core.ApplicationContext.setContextValue("__EZUI__GRID_LICENSE__", agGridLicense);
8090
7926
  if (this.configName) {
8091
7927
  this._filterConfigPromise = new Promise((accept, reject) => {
8092
7928
  this.filterBarConfigFetcher.getConfig(this.resourceID, this.configName)
@@ -8097,10 +7933,10 @@ const SnkApplication = class {
8097
7933
  .catch(reason => reject(reason));
8098
7934
  });
8099
7935
  }
8100
- index$1.ErrorTracking.init();
7936
+ core.ErrorTracking.init();
8101
7937
  }
8102
7938
  connectedCallback() {
8103
- index$1.ApplicationContext.setContextValue("__SNK__APPLICATION__", this);
7939
+ core.ApplicationContext.setContextValue("__SNK__APPLICATION__", this);
8104
7940
  DataFetcher.addRequestListener(this._requestListener);
8105
7941
  }
8106
7942
  disconnectedCallback() {
@@ -8113,7 +7949,7 @@ const SnkApplication = class {
8113
7949
  });
8114
7950
  }
8115
7951
  render() {
8116
- return (index$2.h("div", null, index$2.h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }), index$2.h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() }), index$2.h("ez-modal", { opened: false, ref: (ref) => this._rightModal = ref, "modal-size": "col col--sd-3", closeOutsideClick: true })));
7952
+ return (index.h("div", null, index.h("ez-loading-bar", { ref: (ref) => this._requestListener.loadingBar = ref }), index.h("ez-popup", { opened: false, ref: (ref) => this._popUp = ref, onEzClosePopup: () => this.closePopUp() }), index.h("ez-modal", { opened: false, ref: (ref) => this._rightModal = ref, "modal-size": "col col--sd-3", closeOutsideClick: true })));
8117
7953
  }
8118
7954
  };
8119
7955
  class RequestListenerLoadingBar {