@sankhyalabs/sankhyablocks 10.1.0-dev.18 → 10.1.0-dev.19

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 (197) hide show
  1. package/dist/cjs/{PersonalizedFilterUtils-7259cf65.js → PersonalizedFilterUtils-eccb267a.js} +13 -0
  2. package/dist/cjs/{SnkMultiSelectionListDataSource-72925620.js → SnkMultiSelectionListDataSource-03b58f5a.js} +1 -1
  3. package/dist/cjs/config-header.cjs.entry.js +1 -1
  4. package/dist/cjs/configs-button.cjs.entry.js +1 -1
  5. package/dist/cjs/css-shim-a27d231b.js +6 -0
  6. package/dist/cjs/dom-ff96a4bc.js +75 -0
  7. package/dist/cjs/field-config_2.cjs.entry.js +1 -1
  8. package/dist/cjs/fields-layout.cjs.entry.js +1 -1
  9. package/dist/cjs/fields-selector.cjs.entry.js +1 -1
  10. package/dist/cjs/guides-configurator.cjs.entry.js +1 -1
  11. package/dist/cjs/{index-dc83c596.js → index-1894343a.js} +1527 -170
  12. package/dist/cjs/{index-516250fa.js → index-f0fe7e6e.js} +90 -21
  13. package/dist/cjs/loader.cjs.js +15 -1
  14. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +1 -1
  15. package/dist/cjs/sankhyablocks.cjs.js +131 -3
  16. package/dist/cjs/shadow-css-7e3e0ab1.js +389 -0
  17. package/dist/cjs/snk-actions-button_9.cjs.entry.js +1 -1
  18. package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
  19. package/dist/cjs/snk-application.cjs.entry.js +1 -1
  20. package/dist/cjs/snk-attach.cjs.entry.js +3 -3
  21. package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
  22. package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
  23. package/dist/cjs/snk-crud.cjs.entry.js +3 -3
  24. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
  25. package/dist/cjs/snk-custom-slot-guide.cjs.entry.js +1 -1
  26. package/dist/cjs/snk-data-exporter.cjs.entry.js +2 -2
  27. package/dist/cjs/{snk-data-unit-4f68458c.js → snk-data-unit-036ce58c.js} +1 -1
  28. package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
  29. package/dist/cjs/snk-default-filter.cjs.entry.js +1 -1
  30. package/dist/cjs/snk-detail-view.cjs.entry.js +4 -4
  31. package/dist/cjs/snk-entity-list.cjs.entry.js +1 -1
  32. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
  33. package/dist/cjs/snk-expression-group_2.cjs.entry.js +2 -2
  34. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +2 -2
  35. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +22 -12
  36. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  37. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  38. package/dist/cjs/snk-filter-detail.cjs.entry.js +2 -2
  39. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +2 -2
  40. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +1 -1
  41. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  42. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  43. package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
  44. package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
  45. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  46. package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
  47. package/dist/cjs/snk-form-view.cjs.entry.js +1 -1
  48. package/dist/cjs/snk-form_2.cjs.entry.js +1 -1
  49. package/dist/cjs/snk-grid.cjs.entry.js +4 -4
  50. package/dist/cjs/{snk-guides-viewer-41c22d96.js → snk-guides-viewer-164c063e.js} +2 -2
  51. package/dist/cjs/snk-guides-viewer.cjs.entry.js +4 -4
  52. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  53. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  54. package/dist/cjs/snk-pesquisa.cjs.entry.js +1 -1
  55. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  56. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  57. package/dist/cjs/snk-simple-crud.cjs.entry.js +4 -4
  58. package/dist/cjs/snk-taskbar.cjs.entry.js +3 -3
  59. package/dist/cjs/{taskbar-elements-756fcbe7.js → taskbar-elements-8a80420e.js} +2 -2
  60. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  61. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +3 -1
  62. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +17 -9
  63. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +13 -0
  64. package/dist/components/PersonalizedFilterUtils.js +13 -0
  65. package/dist/components/index2.js +90 -21
  66. package/dist/components/snk-filter-bar2.js +17 -9
  67. package/dist/components/snk-filter-item2.js +3 -1
  68. package/dist/esm/{PersonalizedFilterUtils-2db38ff2.js → PersonalizedFilterUtils-d2439a9a.js} +13 -0
  69. package/dist/esm/{SnkMultiSelectionListDataSource-493ae8c8.js → SnkMultiSelectionListDataSource-01b3744b.js} +1 -1
  70. package/dist/esm/config-header.entry.js +1 -1
  71. package/dist/esm/configs-button.entry.js +1 -1
  72. package/dist/esm/css-shim-9f2d321e.js +4 -0
  73. package/dist/esm/dom-64053c71.js +73 -0
  74. package/dist/esm/field-config_2.entry.js +1 -1
  75. package/dist/esm/fields-layout.entry.js +1 -1
  76. package/dist/esm/fields-selector.entry.js +1 -1
  77. package/dist/esm/guides-configurator.entry.js +1 -1
  78. package/dist/esm/{index-7fd74680.js → index-04f73a26.js} +1519 -170
  79. package/dist/esm/{index-3355bd17.js → index-ea250be6.js} +90 -21
  80. package/dist/esm/loader.js +16 -2
  81. package/dist/esm/pesquisa-grid_2.entry.js +1 -1
  82. package/dist/esm/sankhyablocks.js +132 -4
  83. package/dist/esm/shadow-css-98135883.js +387 -0
  84. package/dist/esm/snk-actions-button_9.entry.js +1 -1
  85. package/dist/esm/snk-actions-form.entry.js +1 -1
  86. package/dist/esm/snk-application.entry.js +1 -1
  87. package/dist/esm/snk-attach.entry.js +3 -3
  88. package/dist/esm/snk-client-confirm.entry.js +1 -1
  89. package/dist/esm/snk-configurator.entry.js +1 -1
  90. package/dist/esm/snk-crud.entry.js +3 -3
  91. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  92. package/dist/esm/snk-custom-slot-guide.entry.js +1 -1
  93. package/dist/esm/snk-data-exporter.entry.js +2 -2
  94. package/dist/esm/{snk-data-unit-a76aba10.js → snk-data-unit-130021b3.js} +1 -1
  95. package/dist/esm/snk-data-unit.entry.js +2 -2
  96. package/dist/esm/snk-default-filter.entry.js +1 -1
  97. package/dist/esm/snk-detail-view.entry.js +4 -4
  98. package/dist/esm/snk-entity-list.entry.js +1 -1
  99. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  100. package/dist/esm/snk-expression-group_2.entry.js +2 -2
  101. package/dist/esm/snk-filter-advanced-mode_2.entry.js +2 -2
  102. package/dist/esm/snk-filter-bar_4.entry.js +22 -12
  103. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  104. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  105. package/dist/esm/snk-filter-detail.entry.js +2 -2
  106. package/dist/esm/snk-filter-field-search_2.entry.js +2 -2
  107. package/dist/esm/snk-filter-modal-item.entry.js +1 -1
  108. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  109. package/dist/esm/snk-filter-number.entry.js +1 -1
  110. package/dist/esm/snk-filter-period.entry.js +1 -1
  111. package/dist/esm/snk-filter-search.entry.js +1 -1
  112. package/dist/esm/snk-filter-text.entry.js +1 -1
  113. package/dist/esm/snk-form-summary.entry.js +1 -1
  114. package/dist/esm/snk-form-view.entry.js +1 -1
  115. package/dist/esm/snk-form_2.entry.js +1 -1
  116. package/dist/esm/snk-grid.entry.js +4 -4
  117. package/dist/esm/{snk-guides-viewer-31ef5fc6.js → snk-guides-viewer-3fd18298.js} +2 -2
  118. package/dist/esm/snk-guides-viewer.entry.js +4 -4
  119. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  120. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  121. package/dist/esm/snk-pesquisa.entry.js +1 -1
  122. package/dist/esm/snk-print-selector.entry.js +1 -1
  123. package/dist/esm/snk-simple-bar.entry.js +1 -1
  124. package/dist/esm/snk-simple-crud.entry.js +4 -4
  125. package/dist/esm/snk-taskbar.entry.js +3 -3
  126. package/dist/esm/{taskbar-elements-bf5b73f1.js → taskbar-elements-d1e63fb2.js} +2 -2
  127. package/dist/esm/teste-pesquisa.entry.js +1 -1
  128. package/dist/sankhyablocks/{p-c60d864f.entry.js → p-0a160fb5.entry.js} +1 -1
  129. package/dist/sankhyablocks/{p-0893a694.entry.js → p-12f595a6.entry.js} +1 -1
  130. package/dist/sankhyablocks/{p-522d36aa.entry.js → p-175c9576.entry.js} +1 -1
  131. package/dist/sankhyablocks/{p-8488fa7e.entry.js → p-18d66638.entry.js} +1 -1
  132. package/dist/sankhyablocks/{p-cfa4c183.entry.js → p-27e0cd68.entry.js} +1 -1
  133. package/dist/sankhyablocks/{p-8d84d6ab.entry.js → p-2b882835.entry.js} +1 -1
  134. package/dist/sankhyablocks/{p-7375bf6a.entry.js → p-2c6be187.entry.js} +1 -1
  135. package/dist/sankhyablocks/p-2c9d0870.js +2 -0
  136. package/dist/sankhyablocks/{p-8783d550.entry.js → p-2cc2526e.entry.js} +1 -1
  137. package/dist/sankhyablocks/{p-82b59a45.entry.js → p-2ebda226.entry.js} +1 -1
  138. package/dist/sankhyablocks/{p-301baf9c.entry.js → p-2f94cf87.entry.js} +1 -1
  139. package/dist/sankhyablocks/{p-35a26068.entry.js → p-3a35917e.entry.js} +1 -1
  140. package/dist/sankhyablocks/{p-8557e3f4.entry.js → p-3b6d8d33.entry.js} +1 -1
  141. package/dist/sankhyablocks/{p-0da30fd9.entry.js → p-3db72758.entry.js} +1 -1
  142. package/dist/sankhyablocks/p-560a9a68.entry.js +1 -0
  143. package/dist/sankhyablocks/{p-4575c4aa.entry.js → p-5aae5c74.entry.js} +1 -1
  144. package/dist/sankhyablocks/p-6564180d.entry.js +1 -0
  145. package/dist/sankhyablocks/p-68c1a093.js +1 -0
  146. package/dist/sankhyablocks/{p-907e96eb.js → p-6d322b0a.js} +1 -1
  147. package/dist/sankhyablocks/{p-cc68a0c1.entry.js → p-7150eacf.entry.js} +1 -1
  148. package/dist/sankhyablocks/{p-56b1b397.entry.js → p-752c57f4.entry.js} +1 -1
  149. package/dist/sankhyablocks/{p-670b8802.entry.js → p-752f4e29.entry.js} +1 -1
  150. package/dist/sankhyablocks/{p-939523b3.entry.js → p-76729994.entry.js} +1 -1
  151. package/dist/sankhyablocks/{p-357e10e0.entry.js → p-877d9614.entry.js} +1 -1
  152. package/dist/sankhyablocks/{p-497ece60.entry.js → p-8d946600.entry.js} +1 -1
  153. package/dist/sankhyablocks/{p-227e82b2.entry.js → p-90ae6c2e.entry.js} +1 -1
  154. package/dist/sankhyablocks/{p-b5832fa0.entry.js → p-94267a30.entry.js} +1 -1
  155. package/dist/sankhyablocks/{p-59158ba4.js → p-998a9d6f.js} +1 -1
  156. package/dist/sankhyablocks/{p-1e469905.entry.js → p-9c1ff75e.entry.js} +1 -1
  157. package/dist/sankhyablocks/{p-abfc9880.entry.js → p-9e109f5e.entry.js} +1 -1
  158. package/dist/sankhyablocks/p-a46ac091.js +1 -0
  159. package/dist/sankhyablocks/p-a73b6b00.js +1 -0
  160. package/dist/sankhyablocks/{p-4deb7f46.entry.js → p-acd2ba28.entry.js} +1 -1
  161. package/dist/sankhyablocks/{p-3671cdd4.entry.js → p-ae326d06.entry.js} +1 -1
  162. package/dist/sankhyablocks/{p-5c9bea92.entry.js → p-b471bfab.entry.js} +1 -1
  163. package/dist/sankhyablocks/{p-2624dfd2.entry.js → p-b533edab.entry.js} +1 -1
  164. package/dist/sankhyablocks/p-b555ce38.entry.js +1 -0
  165. package/dist/sankhyablocks/p-c3ec6642.js +19 -0
  166. package/dist/sankhyablocks/{p-613eb22e.entry.js → p-c8043a53.entry.js} +1 -1
  167. package/dist/sankhyablocks/{p-ce207f2a.entry.js → p-cc64239c.entry.js} +1 -1
  168. package/dist/sankhyablocks/{p-1be69fd4.js → p-cc9935af.js} +1 -1
  169. package/dist/sankhyablocks/{p-8d76a0ca.entry.js → p-cd00a3d1.entry.js} +1 -1
  170. package/dist/sankhyablocks/{p-7961c550.entry.js → p-cd40c8cf.entry.js} +1 -1
  171. package/dist/sankhyablocks/{p-d5d7fe52.entry.js → p-cd412add.entry.js} +1 -1
  172. package/dist/sankhyablocks/{p-959fe522.entry.js → p-d657f71f.entry.js} +1 -1
  173. package/dist/sankhyablocks/{p-c2bb0659.entry.js → p-d6dad5e4.entry.js} +1 -1
  174. package/dist/sankhyablocks/{p-ec45ede0.js → p-d714b6ca.js} +1 -1
  175. package/dist/sankhyablocks/{p-dcb096c4.entry.js → p-d8368b17.entry.js} +1 -1
  176. package/dist/sankhyablocks/p-da455c82.js +12 -0
  177. package/dist/sankhyablocks/{p-7a9b2c83.entry.js → p-dea58642.entry.js} +1 -1
  178. package/dist/sankhyablocks/p-e30acdca.entry.js +1 -0
  179. package/dist/sankhyablocks/{p-1dba30c9.entry.js → p-ec9027a7.entry.js} +1 -1
  180. package/dist/sankhyablocks/p-ef9343c3.entry.js +1 -0
  181. package/dist/sankhyablocks/{p-def17f0e.entry.js → p-f152ef98.entry.js} +1 -1
  182. package/dist/sankhyablocks/{p-98c70173.entry.js → p-f7170e10.entry.js} +1 -1
  183. package/dist/sankhyablocks/{p-9834ca90.entry.js → p-f8c5395a.entry.js} +1 -1
  184. package/dist/sankhyablocks/{p-98e3d0a1.entry.js → p-f8da8569.entry.js} +1 -1
  185. package/dist/sankhyablocks/{p-fd1a5a61.entry.js → p-f921270b.entry.js} +1 -1
  186. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  187. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +1 -1
  188. package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +1 -0
  189. package/package.json +1 -1
  190. package/dist/sankhyablocks/p-1c31f314.entry.js +0 -1
  191. package/dist/sankhyablocks/p-465877ee.entry.js +0 -1
  192. package/dist/sankhyablocks/p-516411de.entry.js +0 -1
  193. package/dist/sankhyablocks/p-67137d7c.entry.js +0 -1
  194. package/dist/sankhyablocks/p-82bb3eda.js +0 -2
  195. package/dist/sankhyablocks/p-8336900b.js +0 -1
  196. package/dist/sankhyablocks/p-988afe78.js +0 -1
  197. package/dist/sankhyablocks/p-e47d6f17.entry.js +0 -1
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-dc83c596.js');
3
+ const index = require('./index-1894343a.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
- const items = map.get(propName);
7
- if (!items) {
8
- map.set(propName, [value]);
6
+ let refs = map.get(propName);
7
+ if (!refs) {
8
+ refs = [];
9
+ map.set(propName, refs);
9
10
  }
10
- else if (!items.includes(value)) {
11
- items.push(value);
11
+ if (!refs.some((ref) => ref.deref() === value)) {
12
+ refs.push(new WeakRef(value));
12
13
  }
13
14
  };
14
15
  const debounce = (fn, ms) => {
@@ -36,33 +37,54 @@ const debounce = (fn, ms) => {
36
37
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
37
38
  const cleanupElements = debounce((map) => {
38
39
  for (let key of map.keys()) {
39
- map.set(key, map.get(key).filter(isConnected));
40
+ const refs = map.get(key).filter((ref) => {
41
+ const elm = ref.deref();
42
+ return elm && isConnected(elm);
43
+ });
44
+ map.set(key, refs);
40
45
  }
41
46
  }, 2_000);
47
+ const core = index.StencilCore;
48
+ const forceUpdate = core.forceUpdate;
49
+ const getRenderingRef = core.getRenderingRef;
42
50
  const stencilSubscription = () => {
43
- if (typeof index.getRenderingRef !== 'function') {
51
+ if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
44
52
  // If we are not in a stencil project, we do nothing.
45
53
  // This function is not really exported by @stencil/core.
46
54
  return {};
47
55
  }
56
+ const ensureForceUpdate = forceUpdate;
57
+ const ensureGetRenderingRef = getRenderingRef;
48
58
  const elmsToUpdate = new Map();
49
59
  return {
50
60
  dispose: () => elmsToUpdate.clear(),
51
61
  get: (propName) => {
52
- const elm = index.getRenderingRef();
62
+ const elm = ensureGetRenderingRef();
53
63
  if (elm) {
54
64
  appendToMap(elmsToUpdate, propName, elm);
55
65
  }
56
66
  },
57
67
  set: (propName) => {
58
- const elements = elmsToUpdate.get(propName);
59
- if (elements) {
60
- elmsToUpdate.set(propName, elements.filter(index.forceUpdate));
68
+ const refs = elmsToUpdate.get(propName);
69
+ if (refs) {
70
+ const nextRefs = refs.filter((ref) => {
71
+ const elm = ref.deref();
72
+ if (!elm)
73
+ return false;
74
+ return ensureForceUpdate(elm);
75
+ });
76
+ elmsToUpdate.set(propName, nextRefs);
61
77
  }
62
78
  cleanupElements(elmsToUpdate);
63
79
  },
64
80
  reset: () => {
65
- elmsToUpdate.forEach((elms) => elms.forEach(index.forceUpdate));
81
+ elmsToUpdate.forEach((refs) => {
82
+ refs.forEach((ref) => {
83
+ const elm = ref.deref();
84
+ if (elm)
85
+ ensureForceUpdate(elm);
86
+ });
87
+ });
66
88
  cleanupElements(elmsToUpdate);
67
89
  },
68
90
  };
@@ -70,8 +92,11 @@ const stencilSubscription = () => {
70
92
 
71
93
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
72
94
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
73
- const unwrappedState = unwrap(defaultState);
74
- let states = new Map(Object.entries(unwrappedState ?? {}));
95
+ const resolveDefaultState = () => (unwrap(defaultState) ?? {});
96
+ const initialState = resolveDefaultState();
97
+ let states = new Map(Object.entries(initialState));
98
+ const proxyAvailable = typeof Proxy !== 'undefined';
99
+ const plainState = proxyAvailable ? null : {};
75
100
  const handlers = {
76
101
  dispose: [],
77
102
  get: [],
@@ -83,7 +108,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
83
108
  const reset = () => {
84
109
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
85
110
  // otherwise, the state won't be properly reset
86
- states = new Map(Object.entries(unwrap(defaultState) ?? {}));
111
+ states = new Map(Object.entries(resolveDefaultState()));
112
+ if (!proxyAvailable) {
113
+ syncPlainStateKeys();
114
+ }
87
115
  handlers.reset.forEach((cb) => cb());
88
116
  };
89
117
  const dispose = () => {
@@ -100,12 +128,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
100
128
  const oldValue = states.get(propName);
101
129
  if (shouldUpdate(value, oldValue, propName)) {
102
130
  states.set(propName, value);
131
+ if (!proxyAvailable) {
132
+ ensurePlainProperty(propName);
133
+ }
103
134
  handlers.set.forEach((cb) => cb(propName, value, oldValue));
104
135
  }
105
136
  };
106
- const state = (typeof Proxy === 'undefined'
107
- ? {}
108
- : new Proxy(unwrappedState, {
137
+ const state = (proxyAvailable
138
+ ? new Proxy(initialState, {
109
139
  get(_, propName) {
110
140
  return get(propName);
111
141
  },
@@ -125,7 +155,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
125
155
  set(propName, value);
126
156
  return true;
127
157
  },
128
- }));
158
+ })
159
+ : (() => {
160
+ syncPlainStateKeys();
161
+ return plainState;
162
+ })());
129
163
  const on = (eventName, callback) => {
130
164
  handlers[eventName].push(callback);
131
165
  return () => {
@@ -138,7 +172,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
138
172
  cb(newValue);
139
173
  }
140
174
  };
141
- const resetHandler = () => cb(unwrap(defaultState)[propName]);
175
+ const resetHandler = () => {
176
+ const snapshot = resolveDefaultState();
177
+ cb(snapshot[propName]);
178
+ };
142
179
  // Register the handlers
143
180
  const unSet = on('set', setHandler);
144
181
  const unReset = on('reset', resetHandler);
@@ -181,6 +218,38 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
181
218
  changeListeners.delete(listener);
182
219
  }
183
220
  };
221
+ function ensurePlainProperty(key) {
222
+ if (proxyAvailable || !plainState) {
223
+ return;
224
+ }
225
+ if (Object.prototype.hasOwnProperty.call(plainState, key)) {
226
+ return;
227
+ }
228
+ Object.defineProperty(plainState, key, {
229
+ configurable: true,
230
+ enumerable: true,
231
+ get() {
232
+ return get(key);
233
+ },
234
+ set(value) {
235
+ set(key, value);
236
+ },
237
+ });
238
+ }
239
+ function syncPlainStateKeys() {
240
+ if (proxyAvailable || !plainState) {
241
+ return;
242
+ }
243
+ const knownKeys = new Set(states.keys());
244
+ for (const key of Object.keys(plainState)) {
245
+ if (!knownKeys.has(key)) {
246
+ delete plainState[key];
247
+ }
248
+ }
249
+ for (const key of knownKeys) {
250
+ ensurePlainProperty(key);
251
+ }
252
+ }
184
253
  return {
185
254
  state,
186
255
  get,
@@ -2,12 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dc83c596.js');
5
+ const index = require('./index-1894343a.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
+ // NOTE!! This fn cannot use async/await!
12
+ // @ts-ignore
13
+ if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) {
14
+ // @ts-ignore
15
+ return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-a27d231b.js'); }).then(() => {
16
+ if ((index.plt.$cssShim$ = index.win.__cssshim)) {
17
+ return index.plt.$cssShim$.i();
18
+ }
19
+ else {
20
+ // for better minification
21
+ return 0;
22
+ }
23
+ });
24
+ }
11
25
  return index.promiseResolve();
12
26
  };
13
27
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dc83c596.js');
5
+ const index = require('./index-1894343a.js');
6
6
  const dataunitFetcher = require('./dataunit-fetcher-8dffbcdf.js');
7
7
  require('./DataFetcher-0b6aa084.js');
8
8
  const ISave = require('./ISave-2c455a77.js');
@@ -2,19 +2,147 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dc83c596.js');
5
+ const index = require('./index-1894343a.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
+ /**
11
+ * Helper method for querying a `meta` tag that contains a nonce value
12
+ * out of a DOM's head.
13
+ *
14
+ * @param doc The DOM containing the `head` to query against
15
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
16
+ * exists or the tag has no content.
17
+ */
18
+ function queryNonceMetaTagContent(doc) {
19
+ var _a, _b, _c;
20
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
21
+ }
22
+ const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
10
23
  const patchBrowser = () => {
24
+ // NOTE!! This fn cannot use async/await!
25
+ if (index.BUILD.isDev && !index.BUILD.isTesting) {
26
+ index.consoleDevInfo('Running in development mode.');
27
+ }
28
+ if (index.BUILD.cssVarShim) {
29
+ // shim css vars
30
+ index.plt.$cssShim$ = index.win.__cssshim;
31
+ }
32
+ if (index.BUILD.cloneNodeFix) {
33
+ // opted-in to polyfill cloneNode() for slot polyfilled components
34
+ patchCloneNodeFix(index.H.prototype);
35
+ }
36
+ if (index.BUILD.profile && !performance.mark) {
37
+ // not all browsers support performance.mark/measure (Safari 10)
38
+ // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
39
+ // simply stub the implementations out.
40
+ // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
41
+ // @ts-ignore
42
+ performance.mark = performance.measure = () => {
43
+ /*noop*/
44
+ };
45
+ performance.getEntriesByName = () => [];
46
+ }
47
+ // @ts-ignore
48
+ const scriptElm = index.BUILD.scriptDataOpts || index.BUILD.safari10 || index.BUILD.dynamicImportShim
49
+ ? Array.from(index.doc.querySelectorAll('script')).find((s) => new RegExp(`\/${index.NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
50
+ s.getAttribute('data-stencil-namespace') === index.NAMESPACE)
51
+ : null;
11
52
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('sankhyablocks.cjs.js', document.baseURI).href));
12
- const opts = {};
13
- if (importMeta !== '') {
53
+ const opts = index.BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
54
+ if (index.BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
55
+ // Safari < v11 support: This IF is true if it's Safari below v11.
56
+ // This fn cannot use async/await since Safari didn't support it until v11,
57
+ // however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
58
+ // so both the ESM file and nomodule file would get downloaded. Only Safari
59
+ // has 'onbeforeload' in the script, and "history.scrollRestoration" was added
60
+ // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
61
+ // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
62
+ return {
63
+ then() {
64
+ /* promise noop */
65
+ },
66
+ };
67
+ }
68
+ if (!index.BUILD.safari10 && importMeta !== '') {
14
69
  opts.resourcesUrl = new URL('.', importMeta).href;
15
70
  }
71
+ else if (index.BUILD.dynamicImportShim || index.BUILD.safari10) {
72
+ opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, index.win.location.href)).href;
73
+ if (index.BUILD.dynamicImportShim) {
74
+ patchDynamicImport(opts.resourcesUrl, scriptElm);
75
+ }
76
+ if (index.BUILD.dynamicImportShim && !index.win.customElements) {
77
+ // module support, but no custom elements support (Old Edge)
78
+ // @ts-ignore
79
+ return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-dom" */ './dom-ff96a4bc.js'); }).then(() => opts);
80
+ }
81
+ }
16
82
  return index.promiseResolve(opts);
17
83
  };
84
+ const patchDynamicImport = (base, orgScriptElm) => {
85
+ const importFunctionName = getDynamicImportFunction(index.NAMESPACE);
86
+ try {
87
+ // test if this browser supports dynamic imports
88
+ // There is a caching issue in V8, that breaks using import() in Function
89
+ // By generating a random string, we can workaround it
90
+ // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
91
+ index.win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
92
+ }
93
+ catch (e) {
94
+ // this shim is specifically for browsers that do support "esm" imports
95
+ // however, they do NOT support "dynamic" imports
96
+ // basically this code is for old Edge, v18 and below
97
+ const moduleMap = new Map();
98
+ index.win[importFunctionName] = (src) => {
99
+ var _a;
100
+ const url = new URL(src, base).href;
101
+ let mod = moduleMap.get(url);
102
+ if (!mod) {
103
+ const script = index.doc.createElement('script');
104
+ script.type = 'module';
105
+ script.crossOrigin = orgScriptElm.crossOrigin;
106
+ script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
107
+ type: 'application/javascript',
108
+ }));
109
+ // Apply CSP nonce to the script tag if it exists
110
+ const nonce = (_a = index.plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(index.doc);
111
+ if (nonce != null) {
112
+ script.setAttribute('nonce', nonce);
113
+ }
114
+ mod = new Promise((resolve) => {
115
+ script.onload = () => {
116
+ resolve(index.win[importFunctionName].m);
117
+ script.remove();
118
+ };
119
+ });
120
+ moduleMap.set(url, mod);
121
+ index.doc.head.appendChild(script);
122
+ }
123
+ return mod;
124
+ };
125
+ }
126
+ };
127
+ const patchCloneNodeFix = (HTMLElementPrototype) => {
128
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
129
+ HTMLElementPrototype.cloneNode = function (deep) {
130
+ if (this.nodeName === 'TEMPLATE') {
131
+ return nativeCloneNodeFn.call(this, deep);
132
+ }
133
+ const clonedNode = nativeCloneNodeFn.call(this, false);
134
+ const srcChildNodes = this.childNodes;
135
+ if (deep) {
136
+ for (let i = 0; i < srcChildNodes.length; i++) {
137
+ // Node.ATTRIBUTE_NODE === 2, and checking because IE11
138
+ if (srcChildNodes[i].nodeType !== 2) {
139
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
140
+ }
141
+ }
142
+ }
143
+ return clonedNode;
144
+ };
145
+ };
18
146
 
19
147
  patchBrowser().then(options => {
20
148
  return index.bootstrapLazy(JSON.parse("[[\"snk-actions-form.cjs\",[[2,\"snk-actions-form\",{\"action\":[16],\"applyParameters\":[16],\"dataUnit\":[32],\"openPopup\":[64]}]]],[\"snk-client-confirm.cjs\",[[2,\"snk-client-confirm\",{\"titleMessage\":[1,\"title-message\"],\"message\":[1],\"accept\":[16],\"cancel\":[16],\"openPopup\":[64]}]]],[\"snk-custom-slot-elements.cjs\",[[6,\"snk-custom-slot-elements\",{\"slotName\":[1,\"slot-name\"]}]]],[\"snk-custom-slot-guide.cjs\",[[6,\"snk-custom-slot-guide\",{\"slotName\":[1,\"slot-name\"]},[[8,\"snkShowGuide\",\"onGuideChange\"],[8,\"formConfigVisibilityChanged\",\"onFormConfigVisibilityChange\"]]]]],[\"snk-entity-list.cjs\",[[2,\"snk-entity-list\",{\"config\":[1040],\"rightListSlotBuilder\":[1040],\"maxHeightList\":[1,\"max-height-list\"],\"value\":[1040],\"errorMessage\":[1537,\"error-message\"],\"_ezListSource\":[32],\"reloadList\":[64]}]]],[\"snk-filter-binary-select.cjs\",[[0,\"snk-filter-binary-select\",{\"value\":[1544],\"config\":[16],\"presentationMode\":[2,\"presentation-mode\"],\"errorMessage\":[1537,\"error-message\"],\"resetValues\":[64],\"clearValue\":[64],\"setFocus\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-checkbox-list.cjs\",[[0,\"snk-filter-checkbox-list\",{\"config\":[1040],\"errorMessage\":[1537,\"error-message\"],\"optionsList\":[32],\"setFocus\":[64],\"clearValue\":[64]}]]],[\"snk-filter-multi-select.cjs\",[[0,\"snk-filter-multi-select\",{\"value\":[1544],\"config\":[16],\"errorMessage\":[1537,\"error-message\"],\"setFocus\":[64],\"clearValue\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-number.cjs\",[[0,\"snk-filter-number\",{\"config\":[16],\"getMessage\":[16],\"value\":[1026],\"presentationMode\":[2,\"presentation-mode\"],\"errorMessage\":[1537,\"error-message\"],\"show\":[64],\"setFocus\":[64],\"clearValue\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-period.cjs\",[[0,\"snk-filter-period\",{\"config\":[16],\"getMessage\":[16],\"value\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"errorMessage\":[1537,\"error-message\"],\"setFocus\":[64],\"clearValue\":[64],\"show\":[64]}]]],[\"snk-filter-search.cjs\",[[0,\"snk-filter-search\",{\"config\":[16],\"value\":[16],\"errorMessage\":[1537,\"error-message\"],\"setFocus\":[64],\"clearValue\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-text.cjs\",[[0,\"snk-filter-text\",{\"config\":[16],\"value\":[1],\"errorMessage\":[1537,\"error-message\"],\"setFocus\":[64],\"clearValue\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-personalized-filter-editor.cjs\",[[2,\"snk-personalized-filter-editor\",{\"messagesBuilder\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"config\":[16],\"value\":[1040],\"items\":[32],\"show\":[64]}]]],[\"snk-print-selector.cjs\",[[2,\"snk-print-selector\",{\"_printServerActive\":[32],\"_selectedPrinter\":[32],\"_remotePrintersDataSource\":[32],\"_localPrintersDataSource\":[32],\"_printJobData\":[32],\"openPrintSelector\":[64]}]]],[\"snk-simple-crud.cjs\",[[6,\"snk-simple-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"dataState\":[1040],\"dataUnit\":[16],\"entityName\":[1,\"entity-name\"],\"mode\":[2],\"gridConfig\":[1040],\"formConfig\":[1040],\"enableContinuousInsert\":[1028,\"enable-continuous-insert\"],\"multipleSelection\":[4,\"multiple-selection\"],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"pageSize\":[2,\"page-size\"],\"resourceID\":[1,\"resource-i-d\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"actionsList\":[16],\"configName\":[1025,\"config-name\"],\"showConfiguratorButtons\":[4,\"show-configurator-buttons\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"multipleEditionEnabled\":[4,\"multiple-edition-enabled\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"autoLoad\":[4,\"auto-load\"],\"outlineMode\":[4,\"outline-mode\"],\"_container\":[32],\"_showPopUpGridConfig\":[32],\"_currentViewMode\":[32],\"_config\":[32],\"_fieldToGetFocus\":[32],\"_customContainerId\":[32],\"_formFields\":[32],\"_fieldsProps\":[32],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"goToView\":[64],\"setMetadata\":[64],\"setRecords\":[64],\"getRecords\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"updateConfig\":[64]},[[0,\"actionClick\",\"actionClickListener\"]]]]],[\"pesquisa-grid_2.cjs\",[[2,\"pesquisa-grid\",{\"metadata\":[16],\"dataSource\":[16],\"pkField\":[1,\"pk-field\"],\"descriptionField\":[1,\"description-field\"],\"entityName\":[1,\"entity-name\"],\"shouldLoadConfig\":[4,\"should-load-config\"],\"_gridConfig\":[32],\"_inMemoryLoader\":[32],\"_dataunit\":[32]}],[2,\"pesquisa-tree\",{\"treeLoader\":[16],\"argument\":[1025],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"shouldLoadTree\":[4,\"should-load-tree\"],\"messagesBuilder\":[1040],\"items\":[32],\"applyFilter\":[64]}]]],[\"snk-pesquisa.cjs\",[[2,\"snk-pesquisa\",{\"searchLoader\":[16],\"treeLoader\":[16],\"selectItem\":[16],\"entityName\":[1,\"entity-name\"],\"argument\":[1025],\"isHierarchyEntity\":[4,\"is-hierarchy-entity\"],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"_itemList\":[32],\"_startLoading\":[32],\"_presentationMode\":[32],\"_currentView\":[32],\"_valideDataSource\":[32],\"executeSearch\":[64]}]]],[\"snk-application.cjs\",[[2,\"snk-application\",{\"enableLockManagerLoadingApp\":[4,\"enable-lock-manager-loading-app\"],\"messagesBuilder\":[1040],\"configName\":[1,\"config-name\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"loadByPK\":[16],\"_applicationReady\":[32],\"_templateSkeleton\":[32],\"_activeScrimWindow\":[32],\"getKeyboardManager\":[64],\"getLayoutFormConfig\":[64],\"isUserSup\":[64],\"addPendingAction\":[64],\"callServiceBroker\":[64],\"initOnboarding\":[64],\"hasAccess\":[64],\"getAllAccess\":[64],\"getStringParam\":[64],\"getIntParam\":[64],\"getFloatParam\":[64],\"getBooleanParam\":[64],\"getDateParam\":[64],\"showPopUp\":[64],\"showModal\":[64],\"showAlerts\":[64],\"closeModal\":[64],\"closePopUp\":[64],\"temOpcional\":[64],\"getConfig\":[64],\"isFeatureActive\":[64],\"saveConfig\":[64],\"getAttributeFromHTMLWrapper\":[64],\"openApp\":[64],\"webConnection\":[64],\"createDataunit\":[64],\"updateDataunitCache\":[64],\"getDataUnit\":[64],\"addClientEvent\":[64],\"removeClientEvent\":[64],\"hasClientEvent\":[64],\"getResourceID\":[64],\"getUserID\":[64],\"alert\":[64],\"error\":[64],\"success\":[64],\"message\":[64],\"confirm\":[64],\"info\":[64],\"loadTotals\":[64],\"isLoadedByPk\":[64],\"preloadMangerRemoveRecord\":[64],\"executeSearch\":[64],\"executePreparedSearchPlus\":[64],\"executePreparedSearch\":[64],\"executePreparedSearchWithFullResponse\":[64],\"isDebugMode\":[64],\"getAppLabel\":[64],\"addSearchListener\":[64],\"importScript\":[64],\"getApplicationPath\":[64],\"executeSelectDistinct\":[64],\"getDataFetcher\":[64],\"whenApplicationReady\":[64],\"setSearchFilterContext\":[64],\"clearPopUpTitle\":[64],\"setPopUpTitle\":[64],\"showScrimApp\":[64],\"markToReload\":[64],\"addLoadingLock\":[64]}]]],[\"teste-pesquisa.cjs\",[[1,\"teste-pesquisa\"]]],[\"field-config_2.cjs\",[[2,\"field-item\",{\"fieldConfig\":[8,\"field-config\"],\"onLayoutConfig\":[4,\"on-layout-config\"],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"fieldDescriptor\":[32]}],[2,\"field-config\",{\"dataUnit\":[16],\"fieldConfig\":[1544,\"field-config\"],\"fieldDescriptor\":[16],\"messagesBuilder\":[1040],\"fieldLabel\":[32],\"fieldLabelErrorMessage\":[32],\"fieldDefaultValue\":[32],\"fieldCleanOnCopy\":[32],\"fieldRequired\":[32],\"fieldReadOnly\":[32],\"_defaultType\":[32],\"show\":[64]}]]],[\"fields-layout.cjs\",[[2,\"fields-layout\",{\"selectedGuide\":[16],\"groupsList\":[16],\"guideNames\":[16],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"isEditGuideNameActive\":[32],\"addFieldToLayout\":[64]},[[16,\"fieldConfigChanged\",\"handleFieldConfigChanged\"]]]]],[\"fields-selector.cjs\",[[2,\"fields-selector\",{\"availableFields\":[16],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"filterTerm\":[32]}]]],[\"snk-form_2.cjs\",[[2,\"snk-form\",{\"configName\":[1,\"config-name\"],\"recordsValidator\":[16],\"messagesBuilder\":[1040],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_showFormConfig\":[32],\"_configManager\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64],\"validate\":[64]}],[2,\"snk-form-config\",{\"dataUnit\":[16],\"configManager\":[16],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"messagesBuilder\":[1040],\"customGuidesConfig\":[16],\"availableFields\":[32],\"guidesList\":[32],\"groupsList\":[32],\"selectedGuide\":[32],\"_formConfig\":[32],\"configOptions\":[32],\"originalConfigSelected\":[32],\"configSelected\":[32],\"hasChanges\":[32],\"optionConfigChanged\":[32]},[[16,\"fieldConfigChanged\",\"handleFieldConfigChanged\"],[16,\"formConfigOptionSelected\",\"handleFormConfigOptionSelected\"],[16,\"addFieldToGuide\",\"handleAddFieldToGuide\"],[16,\"setFieldAsAvailable\",\"handleSetFieldAsAvailable\"],[16,\"removeFieldFromAvailable\",\"handleRemoveFieldFromAvailable\"]]]]],[\"snk-form-summary.cjs\",[[2,\"snk-form-summary\",{\"fixed\":[1540],\"contracted\":[1540],\"summary\":[16]}]]],[\"snk-form-view.cjs\",[[6,\"snk-form-view\",{\"levelPath\":[1,\"level-path\"],\"fieldSearch\":[16],\"label\":[1],\"name\":[1],\"fields\":[16],\"formMetadata\":[8,\"form-metadata\"],\"dataUnit\":[16],\"contracted\":[4],\"fixed\":[1540],\"summaryFields\":[16],\"canExpand\":[4,\"can-expand\"],\"canFix\":[4,\"can-fix\"],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"customEditors\":[16],\"fieldsProps\":[16],\"_singleColumn\":[32],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64],\"showSearchField\":[64]}]]],[\"config-header.cjs\",[[2,\"config-header\",{\"configOptions\":[16],\"selectedConfig\":[16],\"messagesBuilder\":[1040],\"hasChanges\":[4,\"has-changes\"],\"optionConfigChanged\":[4,\"option-config-changed\"],\"isEditingGuide\":[32],\"isEditingGroup\":[32]},[[16,\"isEditingGuideName\",\"handleIsEditingGuideName\"],[16,\"isEditingGroupName\",\"handleIsEditingGroupName\"]]]]],[\"guides-configurator.cjs\",[[2,\"guides-configurator\",{\"guidesList\":[16],\"selectedGuide\":[16],\"messagesBuilder\":[1040],\"mainGuide\":[32],\"filterTerm\":[32],\"visibleGuides\":[32],\"hiddenGuides\":[32]}]]],[\"snk-personalized-filter.cjs\",[[2,\"snk-personalized-filter\",{\"messagesBuilder\":[1040],\"entityUri\":[1025,\"entity-uri\"],\"filterId\":[1025,\"filter-id\"],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"isDefaultFilter\":[4,\"is-default-filter\"],\"_filterAssistentMode\":[32],\"_filterAssistent\":[32],\"createPersonalizedFilter\":[64]}]]],[\"snk-configurator.cjs\",[[2,\"snk-configurator\",{\"showActionButtons\":[4,\"show-action-buttons\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"viewMode\":[2,\"view-mode\"],\"customContainerId\":[1,\"custom-container-id\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"entityName\":[1,\"entity-name\"],\"disableNumberingConfig\":[4,\"disable-numbering-config\"],\"messagesBuilder\":[1040],\"_opened\":[32],\"_permissions\":[32],\"open\":[64],\"close\":[64]}]]],[\"configs-button.cjs\",[[2,\"configs-button\",{\"configOptions\":[16],\"selectedConfig\":[16],\"hasChanges\":[4,\"has-changes\"],\"messagesBuilder\":[1040]}]]],[\"snk-data-unit.cjs\",[[2,\"snk-data-unit\",{\"dataState\":[1040],\"messagesBuilder\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"entityName\":[1,\"entity-name\"],\"pageSize\":[2,\"page-size\"],\"dataUnit\":[1040],\"beforeSave\":[16],\"afterSave\":[16],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"ignoreSaveMessage\":[4,\"ignore-save-message\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"fieldsToLink\":[32],\"getDataUnit\":[64],\"getSelectedRecordsIDsInfo\":[64],\"getFieldsWithRmp\":[64],\"getFieldsWithRmPrecision\":[64],\"getRowMetadata\":[64]},[[0,\"snkMasterFormConfigChange\",\"onMasterFormConfigChange\"]]]]],[\"snk-default-filter.cjs\",[[2,\"snk-default-filter\",{\"getMessage\":[16],\"hasDefaultFilter\":[4,\"has-default-filter\"],\"_opened\":[32]}]]],[\"snk-filter-detail.cjs\",[[0,\"snk-filter-detail\",{\"config\":[1040],\"getMessage\":[16],\"showHardFixed\":[4,\"show-hard-fixed\"],\"removalBlocked\":[4,\"removal-blocked\"],\"setFocusField\":[64],\"clearValue\":[64]}]]],[\"snk-filter-modal-item.cjs\",[[0,\"snk-filter-modal-item\",{\"filterItem\":[1040],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}]]],[\"snk-simple-bar.cjs\",[[6,\"snk-simple-bar\",{\"label\":[1],\"breadcrumbItens\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-exporter-email-sender.cjs\",[[0,\"snk-exporter-email-sender\",{\"getMessage\":[16],\"_config\":[32],\"_opened\":[32],\"_currentStep\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-exporter.cjs\",[[2,\"snk-data-exporter\",{\"provider\":[16],\"messagesBuilder\":[1040],\"_items\":[32],\"_showDropdown\":[32]}]]],[\"snk-actions-button_9.cjs\",[[0,\"snk-simple-form-config\",{\"dataUnit\":[16],\"configName\":[1,\"config-name\"],\"messagesBuilder\":[16],\"avaliableFields\":[32],\"selectedFields\":[32],\"show\":[64]}],[2,\"snk-grid-config\",{\"selectedIndex\":[1026,\"selected-index\"],\"columns\":[1040],\"config\":[1040],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_collapsibleBoxListOrder\":[32],\"_collapsibleBoxListSelect\":[32]}],[2,\"snk-layout-form-config\",{\"messagesBuilder\":[16],\"layoutType\":[32],\"save\":[64]}],[2,\"snk-numbering-config\",{\"messagesBuilder\":[16],\"entityName\":[1,\"entity-name\"],\"resourceID\":[1,\"resource-i-d\"],\"autoNumbering\":[32],\"initialNumber\":[32],\"save\":[64]}],[2,\"snk-actions-button\",{\"_items\":[32],\"_showDropdown\":[32]}],[1,\"snk-select-box\",{\"selectedOption\":[1,\"selected-option\"],\"preventAutoFocus\":[4,\"prevent-auto-focus\"]}],[2,\"snk-view-representation\",{\"mode\":[8]}],[2,\"taskbar-actions-button\",{\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32],\"showActions\":[64],\"hideActions\":[64],\"isOpened\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"ezOpenModal\",\"handleClose\"]]],[2,\"taskbar-split-button\",{\"iconName\":[1,\"icon-name\"],\"action\":[16],\"name\":[1],\"className\":[1,\"class-name\"],\"dataElementId\":[1,\"data-element-id\"],\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32]}]]],[\"snk-taskbar.cjs\",[[6,\"snk-taskbar\",{\"alignRigth\":[4,\"align-rigth\"],\"customSlotId\":[1,\"custom-slot-id\"],\"additionalSlotId\":[1,\"additional-slot-id\"],\"customContainerId\":[1,\"custom-container-id\"],\"overflowStrategy\":[1,\"overflow-strategy\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"buttons\":[1],\"customButtons\":[16],\"actionsList\":[16],\"actionsSettingsList\":[16],\"primaryButton\":[1,\"primary-button\"],\"disabledButtons\":[16],\"dataUnit\":[16],\"presentationMode\":[1537,\"presentation-mode\"],\"messagesBuilder\":[1040],\"_permissions\":[32],\"_overFlowedElements\":[32],\"_customElements\":[32],\"_customElementsId\":[32],\"_slotContainer\":[32],\"_hiddenActionsList\":[32],\"_lastWidth\":[32],\"_hasToUpdateOverFlow\":[32],\"_isWaitingForSave\":[32]},[[8,\"snkCustomSlotElementsLoaded\",\"handleCustomSlotElementsLoaded\"],[8,\"taskbarSaveLocker\",\"handleTaskbarSaveLocker\"],[8,\"taskbarSaveUnlocker\",\"handleTaskbarSaveUnlocker\"]]]]],[\"snk-filter-field-search_2.cjs\",[[2,\"snk-filter-field-search\",{\"searchable\":[4],\"fieldsDataSource\":[16],\"breadcrumbItems\":[32],\"linkItems\":[32],\"fieldItems\":[32],\"searchEmpty\":[32],\"groupEmpty\":[32],\"show\":[64],\"applyFilter\":[64]}],[0,\"snk-filter-param-config\",{\"messagesBuilder\":[1040],\"_opened\":[32],\"_configType\":[32],\"_expressionItem\":[32],\"_informedInstance\":[32],\"_canSave\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-expression-group_2.cjs\",[[2,\"snk-expression-group\",{\"parentTop\":[1026,\"parent-top\"],\"group\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"isDefaultFilter\":[4,\"is-default-filter\"],\"_conditionOperator\":[32],\"_group\":[32],\"_selfTop\":[32],\"canAddExpression\":[32],\"_showDashes\":[32],\"getExpressionGroup\":[64]},[[8,\"ezExpressionLayoutChanged\",\"todoCompletedHandler\"]]],[2,\"snk-expression-item\",{\"expression\":[16],\"canRemove\":[516,\"can-remove\"],\"messagesBuilder\":[1040],\"isDefaultFilter\":[4,\"is-default-filter\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"_showValueVariable\":[32],\"_fieldSelected\":[32],\"_optionNotNull\":[32]}]]],[\"snk-filter-advanced-mode_2.cjs\",[[2,\"snk-filter-assistent-mode\",{\"filterAssistent\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityUri\":[1025,\"entity-uri\"],\"application\":[1040],\"isDefaultFilter\":[4,\"is-default-filter\"]}],[2,\"snk-filter-advanced-mode\",{\"filterAssistent\":[1040],\"application\":[1040]}]]],[\"snk-filter-bar_4.cjs\",[[4,\"snk-filter-list\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"items\":[16],\"getMessage\":[16],\"emptyText\":[1,\"empty-text\"],\"findFilterText\":[1,\"find-filter-text\"],\"buttonClass\":[1,\"button-class\"],\"_filterArgument\":[32],\"_showAll\":[32],\"hideDetail\":[64]},[[2,\"keydown\",\"keyDownHandler\"]]],[2,\"snk-filter-bar\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"customFilterBarConfig\":[16],\"dataUnit\":[1040],\"title\":[1],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"mode\":[1],\"filterConfig\":[1040],\"messagesBuilder\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"afterApplyConfig\":[16],\"filterCustomConfig\":[16],\"filterCustomConfigInterceptor\":[16],\"allowDefault\":[32],\"scrollerLocked\":[32],\"showPersonalizedFilter\":[32],\"personalizedFilterId\":[32],\"isFilterModalOpen\":[32],\"reload\":[64],\"getFilterItem\":[64],\"updateFilterItem\":[64],\"addFilterItem\":[64],\"removeFilterItem\":[64],\"getFilters\":[64],\"showFilterModal\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]],[0,\"snk-filter-modal\",{\"getMessage\":[16],\"configName\":[1025,\"config-name\"],\"filterConfig\":[1040],\"opened\":[4],\"applyFilters\":[16],\"closeModal\":[16],\"addPersonalizedFilter\":[16],\"editPersonalizedFilter\":[16],\"deletePersonalizedFilter\":[16],\"filtersToDelete\":[1040],\"filterDefaultToDelete\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterCustomConfigInterceptor\":[16],\"filtersWithError\":[32]},[[0,\"deleteFilter\",\"deletePersonalizedFilterListener\"]]],[2,\"snk-filter-item\",{\"config\":[1040],\"getMessage\":[16],\"showChips\":[4,\"show-chips\"],\"detailIsVisible\":[32],\"showUp\":[64],\"hideDetail\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-grid.cjs\",[[6,\"snk-grid\",{\"columnFilterDataSource\":[1040],\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"resourceID\":[1,\"resource-i-d\"],\"selectionToastConfig\":[16],\"actionsList\":[16],\"isDetail\":[4,\"is-detail\"],\"taskbarManager\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"gridHeaderCustomSlotId\":[1,\"grid-header-custom-slot-id\"],\"gridHeaderDynamicSearchSlotId\":[1,\"grid-header-dynamic-search-slot-id\"],\"topTaskbarCustomSlotId\":[1,\"top-taskbar-custom-slot-id\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"outlineMode\":[4,\"outline-mode\"],\"suppressHorizontalScroll\":[4,\"suppress-horizontal-scroll\"],\"strategyExporter\":[1025,\"strategy-exporter\"],\"useSearchColumn\":[4,\"use-search-column\"],\"multipleEditionEnabled\":[4,\"multiple-edition-enabled\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"suppressCheckboxColumn\":[4,\"suppress-checkbox-column\"],\"suppressFilterColumn\":[1028,\"suppress-filter-column\"],\"compact\":[4],\"filterCustomConfig\":[16],\"filterCustomConfigInterceptor\":[16],\"_dataUnit\":[32],\"_dataState\":[32],\"_gridConfig\":[32],\"_popUpGridConfig\":[32],\"_showSnkFilterBar\":[32],\"_enableContinuousInsert\":[32],\"_filterMode\":[32],\"refreshColumnFilterDataSource\":[64],\"reloadConfig\":[64],\"showConfig\":[64],\"hideConfig\":[64],\"setConfig\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFocus\":[64]},[[2,\"click\",\"handleClick\"]]]]],[\"snk-attach.cjs\",[[2,\"snk-attach\",{\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"fetcherType\":[1025,\"fetcher-type\"],\"fetcher\":[16],\"dataUnit\":[16],\"dataUnitBuilder\":[16],\"registerKey\":[1,\"register-key\"],\"entityName\":[1,\"entity-name\"],\"messagesBuilder\":[1040],\"_currentFetcher\":[32],\"_currentDataUnit\":[32],\"crudConfig\":[32]}]]],[\"snk-detail-view.cjs\",[[6,\"snk-detail-view\",{\"formConfigManager\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"resourceID\":[1,\"resource-i-d\"],\"guideItemPath\":[16],\"entityName\":[1,\"entity-name\"],\"label\":[1],\"dataUnit\":[1040],\"selectedForm\":[1025,\"selected-form\"],\"dataState\":[1040],\"messagesBuilder\":[1040],\"branchGuide\":[1040],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"customEditors\":[16],\"customRenders\":[16],\"presentationMode\":[1,\"presentation-mode\"],\"_disabledButtons\":[32],\"_currentView\":[32],\"attachmentRegisterKey\":[32],\"_fieldToGetFocus\":[32],\"_hasToCreateFieldSearch\":[32],\"changeViewMode\":[64],\"configGrid\":[64],\"showUp\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64]},[[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-guides-viewer.cjs\",[[6,\"snk-guides-viewer\",{\"dataUnit\":[16],\"dataState\":[16],\"configName\":[1,\"config-name\"],\"entityPath\":[1,\"entity-path\"],\"actionsList\":[16],\"recordsValidator\":[16],\"masterFormConfig\":[1040],\"selectedGuide\":[1040],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"canEdit\":[4,\"can-edit\"],\"presentationMode\":[1,\"presentation-mode\"],\"resourceID\":[1,\"resource-i-d\"],\"detailTaskbarCustomContainerId\":[1,\"detail-taskbar-custom-container-id\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"getCustomTitle\":[16],\"customGuidesConfig\":[16],\"_hasToCreateFieldSearch\":[32],\"_breadcrumbItems\":[32],\"_guides\":[32],\"_formEditorConfigManager\":[32],\"_formEditorDataUnit\":[32],\"_fieldToGetFocus\":[32],\"_customEditors\":[32],\"_customRenders\":[32],\"_fieldsProps\":[32],\"_mainForm\":[32],\"showFormConfig\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"setFieldProp\":[64],\"setFocus\":[64],\"reloadGuides\":[64]},[[2,\"actionClick\",\"onActionClick\"],[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-crud.cjs\",[[6,\"snk-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1025,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"selectionToastConfig\":[16],\"showActionButtons\":[4,\"show-action-buttons\"],\"actionsList\":[16],\"taskbarManager\":[16],\"recordsValidator\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"setCustomFormTitle\":[16],\"strategyExporter\":[1025,\"strategy-exporter\"],\"layoutFormConfig\":[4,\"layout-form-config\"],\"multipleEditionEnabled\":[4,\"multiple-edition-enabled\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"customGuidesConfig\":[16],\"showEntitySearch\":[4,\"show-entity-search\"],\"disableNumberingConfig\":[4,\"disable-numbering-config\"],\"_dataUnit\":[32],\"_dataState\":[32],\"attachmentRegisterKey\":[32],\"_currentViewMode\":[32],\"_canEdit\":[32],\"_resourceID\":[32],\"customContainerId\":[32],\"numberingConfig\":[32],\"_showMoreOnSearch\":[32],\"_entityPKField\":[32],\"goToView\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"getNumberingConfig\":[64],\"updateNumberingConfig\":[64]}]]]]"), options);