@sankhyalabs/sankhyablocks 8.15.0-dev.30 → 8.15.0-dev.32

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 (152) hide show
  1. package/dist/cjs/{SnkMessageBuilder-e7dcf408.js → SnkMessageBuilder-141aa18d.js} +2 -1
  2. package/dist/cjs/SnkMultiSelectionListDataSource-5213120b.js +140 -0
  3. package/dist/cjs/index-f9e81701.js +2 -10
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{pesquisa-fetcher-c416a6b7.js → pesquisa-fetcher-94f6b316.js} +231 -20
  6. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  7. package/dist/cjs/{snk-actions-button_2.cjs.entry.js → snk-actions-button_4.cjs.entry.js} +517 -2
  8. package/dist/cjs/snk-application.cjs.entry.js +2 -3
  9. package/dist/cjs/snk-attach.cjs.entry.js +4 -5
  10. package/dist/cjs/snk-crud.cjs.entry.js +3 -4
  11. package/dist/cjs/snk-data-exporter.cjs.entry.js +7 -3
  12. package/dist/cjs/{snk-data-unit-82c08a8c.js → snk-data-unit-6026a9f7.js} +1 -1
  13. package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
  14. package/dist/cjs/snk-detail-view.cjs.entry.js +6 -7
  15. package/dist/cjs/snk-form-config.cjs.entry.js +45 -25
  16. package/dist/cjs/snk-form.cjs.entry.js +1 -1
  17. package/dist/cjs/snk-grid.cjs.entry.js +11 -20
  18. package/dist/cjs/{snk-guides-viewer-bd69fce4.js → snk-guides-viewer-75047f22.js} +3 -4
  19. package/dist/cjs/snk-guides-viewer.cjs.entry.js +4 -5
  20. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +3 -1
  21. package/dist/cjs/snk-simple-crud.cjs.entry.js +148 -17
  22. package/dist/cjs/snk-taskbar.cjs.entry.js +6 -9
  23. package/dist/cjs/{taskbar-elements-1e4fb2e0.js → taskbar-elements-3ecd1278.js} +1 -1
  24. package/dist/collection/collection-manifest.json +6 -6
  25. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +2 -2
  26. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
  27. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +5 -1
  28. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +3 -1
  29. package/dist/collection/components/snk-form/snk-form.js +1 -1
  30. package/dist/collection/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.js +50 -30
  31. package/dist/collection/components/snk-grid/snk-grid.js +5 -16
  32. package/dist/collection/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.js +130 -123
  33. package/dist/collection/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.js +1 -1
  34. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +5 -0
  35. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +226 -14
  36. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +1 -1
  37. package/dist/collection/components/snk-taskbar/snk-taskbar.js +5 -8
  38. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +1 -8
  39. package/dist/collection/lib/message/resources/snk-data-exporter.msg.js +2 -1
  40. package/dist/collection/lib/utils/CrudUtils.js +13 -1
  41. package/dist/components/SnkMessageBuilder.js +2 -1
  42. package/dist/components/dataunit-fetcher.js +1 -8
  43. package/dist/components/field-search.js +93 -3
  44. package/dist/components/index.d.ts +6 -6
  45. package/dist/components/snk-attach2.js +54 -12
  46. package/dist/components/snk-data-exporter2.js +5 -1
  47. package/dist/components/snk-detail-view2.js +29 -4
  48. package/dist/components/snk-form-config2.js +46 -26
  49. package/dist/components/snk-grid-config2.js +128 -102
  50. package/dist/components/snk-grid2.js +10 -17
  51. package/dist/components/snk-personalized-filter-editor.js +3 -1
  52. package/dist/components/snk-simple-crud2.js +204 -24
  53. package/dist/components/snk-taskbar2.js +6 -9
  54. package/dist/esm/{SnkMessageBuilder-0fb796b9.js → SnkMessageBuilder-9747ddd2.js} +2 -1
  55. package/dist/esm/SnkMultiSelectionListDataSource-7e7eada5.js +133 -0
  56. package/dist/esm/index-a7d3d3f1.js +2 -10
  57. package/dist/esm/loader.js +1 -1
  58. package/dist/esm/{pesquisa-fetcher-ab16a2e8.js → pesquisa-fetcher-f05a12ca.js} +222 -12
  59. package/dist/esm/sankhyablocks.js +1 -1
  60. package/dist/esm/{snk-actions-button_2.entry.js → snk-actions-button_4.entry.js} +516 -3
  61. package/dist/esm/snk-application.entry.js +2 -3
  62. package/dist/esm/snk-attach.entry.js +3 -4
  63. package/dist/esm/snk-crud.entry.js +3 -4
  64. package/dist/esm/snk-data-exporter.entry.js +7 -3
  65. package/dist/esm/{snk-data-unit-5d201fb3.js → snk-data-unit-4c343635.js} +1 -1
  66. package/dist/esm/snk-data-unit.entry.js +2 -2
  67. package/dist/esm/snk-detail-view.entry.js +6 -7
  68. package/dist/esm/snk-form-config.entry.js +46 -26
  69. package/dist/esm/snk-form.entry.js +1 -1
  70. package/dist/esm/snk-grid.entry.js +12 -21
  71. package/dist/esm/{snk-guides-viewer-fde82cc1.js → snk-guides-viewer-8b679ee6.js} +3 -4
  72. package/dist/esm/snk-guides-viewer.entry.js +4 -5
  73. package/dist/esm/snk-personalized-filter-editor.entry.js +3 -1
  74. package/dist/esm/snk-simple-crud.entry.js +149 -18
  75. package/dist/esm/snk-taskbar.entry.js +6 -9
  76. package/dist/esm/{taskbar-elements-846c027c.js → taskbar-elements-2473c8ac.js} +1 -1
  77. package/dist/sankhyablocks/p-20b46647.entry.js +1 -0
  78. package/dist/sankhyablocks/p-230f5148.entry.js +1 -0
  79. package/dist/sankhyablocks/p-2897fb8c.js +1 -0
  80. package/dist/sankhyablocks/{p-05243555.js → p-2936303b.js} +1 -1
  81. package/dist/sankhyablocks/p-2e493bef.entry.js +1 -0
  82. package/dist/sankhyablocks/p-4b0c5921.entry.js +1 -0
  83. package/dist/sankhyablocks/p-5eaecd30.entry.js +1 -0
  84. package/dist/sankhyablocks/{p-fcdcb0e2.entry.js → p-746fc99e.entry.js} +1 -1
  85. package/dist/sankhyablocks/p-7e05bd83.entry.js +1 -0
  86. package/dist/sankhyablocks/p-8a00836e.js +1 -0
  87. package/dist/sankhyablocks/{p-f3d1c48e.js → p-9a5d1b39.js} +1 -1
  88. package/dist/sankhyablocks/p-9fb97691.entry.js +1 -0
  89. package/dist/sankhyablocks/p-a1c630fb.entry.js +1 -0
  90. package/dist/sankhyablocks/p-ae4fc9a9.js +1 -0
  91. package/dist/sankhyablocks/p-b11aa1e0.entry.js +1 -0
  92. package/dist/sankhyablocks/p-ba4871b5.entry.js +1 -0
  93. package/dist/sankhyablocks/{p-fd0a8d68.entry.js → p-c4bcdd4b.entry.js} +3 -3
  94. package/dist/sankhyablocks/p-d0bc5ef3.entry.js +1 -0
  95. package/dist/sankhyablocks/p-d78d4062.js +65 -0
  96. package/dist/sankhyablocks/p-e7dbe53a.entry.js +1 -0
  97. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  98. package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +1 -1
  99. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +1 -1
  100. package/dist/types/components/snk-form/snk-form.d.ts +1 -1
  101. package/dist/types/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.d.ts +5 -3
  102. package/dist/types/components/snk-grid/snk-grid.d.ts +0 -1
  103. package/dist/types/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.d.ts +11 -6
  104. package/dist/types/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.d.ts +1 -1
  105. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +46 -1
  106. package/dist/types/components.d.ts +26 -10
  107. package/dist/types/lib/utils/CrudUtils.d.ts +3 -0
  108. package/package.json +1 -1
  109. package/dist/cjs/PreloadManager-84466da6.js +0 -224
  110. package/dist/cjs/SnkMultiSelectionListDataSource-ba5838c2.js +0 -49
  111. package/dist/cjs/snk-grid-config.cjs.entry.js +0 -483
  112. package/dist/cjs/snk-select-box.cjs.entry.js +0 -25
  113. package/dist/esm/PreloadManager-c1c2f2b4.js +0 -222
  114. package/dist/esm/SnkMultiSelectionListDataSource-44494b0e.js +0 -43
  115. package/dist/esm/snk-grid-config.entry.js +0 -479
  116. package/dist/esm/snk-select-box.entry.js +0 -21
  117. package/dist/sankhyablocks/p-094c30cb.js +0 -1
  118. package/dist/sankhyablocks/p-0b0b36ac.entry.js +0 -1
  119. package/dist/sankhyablocks/p-11ad137d.entry.js +0 -1
  120. package/dist/sankhyablocks/p-57212bb5.js +0 -1
  121. package/dist/sankhyablocks/p-5f5b58b6.entry.js +0 -1
  122. package/dist/sankhyablocks/p-84bb8f47.entry.js +0 -1
  123. package/dist/sankhyablocks/p-8c13d8d6.entry.js +0 -1
  124. package/dist/sankhyablocks/p-8c49760e.js +0 -1
  125. package/dist/sankhyablocks/p-91b7f78a.entry.js +0 -1
  126. package/dist/sankhyablocks/p-98674137.entry.js +0 -1
  127. package/dist/sankhyablocks/p-b7004423.entry.js +0 -1
  128. package/dist/sankhyablocks/p-c22c1d8e.js +0 -1
  129. package/dist/sankhyablocks/p-c4874327.entry.js +0 -1
  130. package/dist/sankhyablocks/p-c6247955.js +0 -65
  131. package/dist/sankhyablocks/p-c758265f.entry.js +0 -1
  132. package/dist/sankhyablocks/p-d4802f81.entry.js +0 -1
  133. package/dist/sankhyablocks/p-e3bd000e.entry.js +0 -1
  134. package/dist/sankhyablocks/p-fb842329.entry.js +0 -1
  135. package/dist/sankhyablocks/p-fdc4cb9b.entry.js +0 -1
  136. /package/dist/cjs/{SnkFormConfigManager-3621bfc4.js → SnkFormConfigManager-0ffd098d.js} +0 -0
  137. /package/dist/collection/components/{snk-form → snk-form-config}/SnkFormConfigManager.js +0 -0
  138. /package/dist/collection/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.css +0 -0
  139. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.css +0 -0
  140. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.js +0 -0
  141. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.css +0 -0
  142. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.js +0 -0
  143. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.css +0 -0
  144. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.js +0 -0
  145. /package/dist/collection/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.css +0 -0
  146. /package/dist/collection/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.css +0 -0
  147. /package/dist/esm/{SnkFormConfigManager-692e20c7.js → SnkFormConfigManager-dd450734.js} +0 -0
  148. /package/dist/sankhyablocks/{p-725d04ba.js → p-9ea14b61.js} +0 -0
  149. /package/dist/types/components/{snk-form → snk-form-config}/SnkFormConfigManager.d.ts +0 -0
  150. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.d.ts +0 -0
  151. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.d.ts +0 -0
  152. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.d.ts +0 -0
@@ -8,14 +8,13 @@ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const ConfigStorage = require('./ConfigStorage-d4c99a5e.js');
9
9
  const DataFetcher = require('./DataFetcher-99f0f6ed.js');
10
10
  const authFetcher = require('./auth-fetcher-5161d082.js');
11
- const pesquisaFetcher = require('./pesquisa-fetcher-c416a6b7.js');
12
- const SnkMessageBuilder = require('./SnkMessageBuilder-e7dcf408.js');
11
+ const pesquisaFetcher = require('./pesquisa-fetcher-94f6b316.js');
12
+ const SnkMessageBuilder = require('./SnkMessageBuilder-141aa18d.js');
13
13
  require('./form-config-fetcher-9f1a13ca.js');
14
14
  require('./filter-item-type.enum-a7ffdaa6.js');
15
15
  require('./PrintUtils-bcaeb82f.js');
16
16
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
17
17
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
18
- require('./PreloadManager-84466da6.js');
19
18
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
20
19
  require('./ResourceIDUtils-5ff86aa7.js');
21
20
 
@@ -5,20 +5,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataFetcher = require('./DataFetcher-99f0f6ed.js');
8
- const pesquisaFetcher = require('./pesquisa-fetcher-c416a6b7.js');
8
+ const pesquisaFetcher = require('./pesquisa-fetcher-94f6b316.js');
9
9
  require('./index-0922807b.js');
10
10
  const ISave = require('./ISave-e91b70a7.js');
11
11
  require('./filter-item-type.enum-a7ffdaa6.js');
12
12
  require('./form-config-fetcher-9f1a13ca.js');
13
13
  const constants = require('./constants-35ddd366.js');
14
- const PreloadManager = require('./PreloadManager-84466da6.js');
15
14
  const authFetcher = require('./auth-fetcher-5161d082.js');
16
- const taskbarElements = require('./taskbar-elements-1e4fb2e0.js');
15
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
17
16
  require('./PrintUtils-bcaeb82f.js');
18
17
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
19
18
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
20
- require('./ResourceIDUtils-5ff86aa7.js');
21
19
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
20
+ require('./ResourceIDUtils-5ff86aa7.js');
22
21
  require('./index-102ba62d.js');
23
22
 
24
23
  const SERVICE$1 = {
@@ -314,7 +313,7 @@ class AnexoSistemaDataUnitFactory {
314
313
  const { records } = dataUnit.getSelectionInfo();
315
314
  const recordToDelete = records[0];
316
315
  fetcher.delete(recordToDelete).then(() => {
317
- PreloadManager.PreloadManager.removeRecords(dataUnit, [recordToDelete]);
316
+ pesquisaFetcher.PreloadManager.removeRecords(dataUnit, [recordToDelete]);
318
317
  return resolve(ids);
319
318
  });
320
319
  });
@@ -4,22 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const taskbarElements = require('./taskbar-elements-1e4fb2e0.js');
7
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
8
8
  require('./DataFetcher-99f0f6ed.js');
9
- require('./pesquisa-fetcher-c416a6b7.js');
9
+ require('./pesquisa-fetcher-94f6b316.js');
10
10
  const index$1 = require('./index-0922807b.js');
11
11
  require('./ISave-e91b70a7.js');
12
12
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
- require('./PreloadManager-84466da6.js');
15
14
  require('./filter-item-type.enum-a7ffdaa6.js');
16
15
  require('./form-config-fetcher-9f1a13ca.js');
17
16
  const constants = require('./constants-35ddd366.js');
18
17
  const authFetcher = require('./auth-fetcher-5161d082.js');
19
18
  require('./index-102ba62d.js');
20
19
  require('./PrintUtils-bcaeb82f.js');
21
- require('./ResourceIDUtils-5ff86aa7.js');
22
20
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
21
+ require('./ResourceIDUtils-5ff86aa7.js');
23
22
 
24
23
  const snkCrudCss = ".sc-snk-crud-h{display:flex;flex-direction:column;height:100%;width:100%}";
25
24
 
@@ -8,10 +8,10 @@ const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
8
  const index = require('./index-0922807b.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
10
  const DataFetcher = require('./DataFetcher-99f0f6ed.js');
11
- const snkDataUnit = require('./snk-data-unit-82c08a8c.js');
11
+ const snkDataUnit = require('./snk-data-unit-6026a9f7.js');
12
12
  require('./PrintUtils-bcaeb82f.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
- require('./SnkMessageBuilder-e7dcf408.js');
14
+ require('./SnkMessageBuilder-141aa18d.js');
15
15
 
16
16
  class ItemBuilder {
17
17
  constructor(getMessage, selectedNumber) {
@@ -328,7 +328,11 @@ const SnkDataExporter = class {
328
328
  }
329
329
  fetchDataExporter(params)
330
330
  .then((result) => callbackResolver(result))
331
- .catch((exception) => utils.ApplicationUtils.error(this.getMessage("snkDataExporter.message.exportError"), exception ? exception.statusMessage : this.getMessage("snkDataExporter.message.exportError")));
331
+ .catch((exception) => {
332
+ console.error(exception);
333
+ let { title, message, statusMessage } = exception || {};
334
+ utils.ApplicationUtils.error(title || this.getMessage("snkDataExporter.message.exportError"), statusMessage || message || this.getMessage("snkDataExporter.message.unknownFailure"));
335
+ });
332
336
  }
333
337
  getOptionKey(option) {
334
338
  return Object.keys(index.DataExporterOption)
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-f9e81701.js');
4
4
  const core = require('@sankhyalabs/core');
5
5
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
6
- const SnkMessageBuilder = require('./SnkMessageBuilder-e7dcf408.js');
6
+ const SnkMessageBuilder = require('./SnkMessageBuilder-141aa18d.js');
7
7
 
8
8
  const SnkDataUnit = class {
9
9
  constructor(hostRef) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkDataUnit = require('./snk-data-unit-82c08a8c.js');
5
+ const snkDataUnit = require('./snk-data-unit-6026a9f7.js');
6
6
  require('./index-f9e81701.js');
7
7
  require('@sankhyalabs/core');
8
8
  require('@sankhyalabs/ezui/dist/collection/utils');
9
- require('./SnkMessageBuilder-e7dcf408.js');
9
+ require('./SnkMessageBuilder-141aa18d.js');
10
10
 
11
11
 
12
12
 
@@ -4,25 +4,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const SnkFormConfigManager = require('./SnkFormConfigManager-3621bfc4.js');
7
+ const SnkFormConfigManager = require('./SnkFormConfigManager-0ffd098d.js');
8
8
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
9
9
  require('./DataFetcher-99f0f6ed.js');
10
- require('./pesquisa-fetcher-c416a6b7.js');
10
+ require('./pesquisa-fetcher-94f6b316.js');
11
11
  const index$1 = require('./index-0922807b.js');
12
12
  require('./ISave-e91b70a7.js');
13
13
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
- require('./PreloadManager-84466da6.js');
16
15
  require('./filter-item-type.enum-a7ffdaa6.js');
17
16
  require('./form-config-fetcher-9f1a13ca.js');
18
- const taskbarElements = require('./taskbar-elements-1e4fb2e0.js');
17
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
19
18
  const constants = require('./constants-35ddd366.js');
20
- const snkGuidesViewer = require('./snk-guides-viewer-bd69fce4.js');
21
- const SnkMessageBuilder = require('./SnkMessageBuilder-e7dcf408.js');
19
+ const snkGuidesViewer = require('./snk-guides-viewer-75047f22.js');
20
+ const SnkMessageBuilder = require('./SnkMessageBuilder-141aa18d.js');
22
21
  require('./ConfigStorage-d4c99a5e.js');
23
22
  require('./PrintUtils-bcaeb82f.js');
24
- require('./ResourceIDUtils-5ff86aa7.js');
25
23
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
24
+ require('./ResourceIDUtils-5ff86aa7.js');
26
25
  require('./index-102ba62d.js');
27
26
  require('./field-search-f56aa7d6.js');
28
27
  require('@sankhyalabs/core/dist/dataunit/DataUnit');
@@ -38,6 +38,7 @@ const SnkFormConfig = class {
38
38
  this._formFieldsStyle = "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding-right--small ez-padding-bottom--medium sc-snk-form-config";
39
39
  this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
40
40
  this._fieldFloatingStyle = "form-config__field-config--dragged";
41
+ this._sortableTimer = 100;
41
42
  this._formConfigOptions = [];
42
43
  this._fieldConfigSelected = undefined;
43
44
  this._layoutFormConfig = undefined;
@@ -52,20 +53,27 @@ const SnkFormConfig = class {
52
53
  this.messagesBuilder = undefined;
53
54
  }
54
55
  observeConfigManager() {
55
- this.loadConfig();
56
+ this.loadConfig(this._sortableTimer);
56
57
  }
57
- loadFields() {
58
+ loadFields(updateTimer = 0) {
58
59
  this._layoutFormConfig = [];
59
- this.buildFields();
60
+ if (updateTimer > 0) {
61
+ setTimeout(() => {
62
+ this.buildFields();
63
+ }, updateTimer);
64
+ }
65
+ else {
66
+ this.buildFields();
67
+ }
60
68
  }
61
69
  buildFields() {
62
70
  this.buildFormConfig();
63
71
  this.buildAvailableFields();
64
72
  }
65
- loadFormConfig() {
73
+ loadFormConfig(updateTimer) {
66
74
  var _a;
67
75
  this._formConfig = this.getConfig();
68
- this.loadFields();
76
+ this.loadFields(updateTimer);
69
77
  this.controlFieldConfig();
70
78
  if (((_a = this._filterFieldsAvailable) === null || _a === void 0 ? void 0 : _a.value) != undefined) {
71
79
  this._filterFieldsAvailable.value = "";
@@ -108,12 +116,12 @@ const SnkFormConfig = class {
108
116
  }
109
117
  }
110
118
  resetChangeConfig() {
111
- this.loadFormConfig();
119
+ this.loadFormConfig(this._sortableTimer);
112
120
  this.clearTempGroups();
113
121
  }
114
122
  resetChangeOptionConfig() {
115
123
  this._formConfigChanged = false;
116
- this.loadConfig();
124
+ this.loadConfig(this._sortableTimer);
117
125
  this.clearTempGroups();
118
126
  }
119
127
  getTabsToSave() {
@@ -328,7 +336,9 @@ const SnkFormConfig = class {
328
336
  && oldContainer.id === newContainer.id) {
329
337
  evt.cancel();
330
338
  this._fieldsAvailable = [];
331
- this.buildAvailableFields();
339
+ setTimeout(() => {
340
+ this.buildAvailableFields();
341
+ }, this._sortableTimer);
332
342
  return true;
333
343
  }
334
344
  return false;
@@ -371,7 +381,11 @@ const SnkFormConfig = class {
371
381
  if (isNewGroup) {
372
382
  this.clearTempGroups(true);
373
383
  }
374
- this.updateFieldsToSave();
384
+ const sortableTimer = oldContainer.dataset.groupName !== newContainer.dataset.groupName
385
+ || (newContainer.id === CONTAINER_ID.withoutGroup && oldContainer.id === CONTAINER_ID.fieldsAvailable)
386
+ ? this._sortableTimer
387
+ : 0;
388
+ this.updateFieldsToSave(sortableTimer);
375
389
  }, this._renderTimer);
376
390
  return true;
377
391
  }
@@ -401,12 +415,12 @@ const SnkFormConfig = class {
401
415
  return;
402
416
  }
403
417
  }
404
- updateFieldsToSave() {
418
+ updateFieldsToSave(updateTimer = 0) {
405
419
  const fields = this.getFieldsToSave();
406
420
  if ((fields === null || fields === void 0 ? void 0 : fields.length) > 0) {
407
421
  this._formConfig.fields = fields;
408
422
  }
409
- this.loadFields();
423
+ this.loadFields(updateTimer);
410
424
  this._formConfigChanged = true;
411
425
  }
412
426
  controlSortableField() {
@@ -436,7 +450,7 @@ const SnkFormConfig = class {
436
450
  controlStopDraggingGroup(evt) {
437
451
  if (evt.data.newIndex !== evt.data.oldIndex) {
438
452
  setTimeout(() => {
439
- this.updateFieldsToSave();
453
+ this.updateFieldsToSave(this._sortableTimer);
440
454
  }, this._renderTimer);
441
455
  }
442
456
  }
@@ -509,7 +523,7 @@ const SnkFormConfig = class {
509
523
  });
510
524
  if (tabs.length > 0) {
511
525
  this._formConfig.tabs = tabs;
512
- this.loadFields();
526
+ this.loadFields(this._sortableTimer);
513
527
  this.controlFieldConfig();
514
528
  this._formConfigChanged = true;
515
529
  }
@@ -533,13 +547,13 @@ const SnkFormConfig = class {
533
547
  if (config != undefined) {
534
548
  this._formConfig = config;
535
549
  this._tabSelected = 1;
536
- this.loadFields();
550
+ this.loadFields(this._sortableTimer);
537
551
  this.controlFieldConfig();
538
552
  this.clearTempGroups();
539
553
  }
540
554
  }
541
- loadConfig() {
542
- this.loadFormConfig();
555
+ loadConfig(updateTimer = 0) {
556
+ this.loadFormConfig(updateTimer);
543
557
  this.loadUserConfig();
544
558
  }
545
559
  addNewGroup() {
@@ -580,7 +594,7 @@ const SnkFormConfig = class {
580
594
  });
581
595
  }
582
596
  else {
583
- this.updateFieldsToSave();
597
+ this.updateFieldsToSave(this._sortableTimer);
584
598
  }
585
599
  }
586
600
  checkGroupExists(newLabel, indexGroup, isTempGroup = false) {
@@ -626,7 +640,7 @@ const SnkFormConfig = class {
626
640
  field.group = newLabel;
627
641
  }
628
642
  });
629
- this.loadFields();
643
+ this.loadFields(this._sortableTimer);
630
644
  this.controlFieldConfig();
631
645
  this._formConfigChanged = true;
632
646
  }
@@ -840,14 +854,14 @@ const SnkFormConfig = class {
840
854
  this._formConfigChanged = true;
841
855
  this.resetSortables();
842
856
  }
843
- controlRemoveFieldConfig(fieldConfig) {
857
+ controlRemoveFieldConfig(fieldConfig, updateTimer) {
844
858
  var _a;
845
859
  this._formConfigChanged = false;
846
860
  if (fieldConfig == undefined) {
847
861
  return;
848
862
  }
849
863
  this._formConfig.fields = (_a = this._formConfig.fields) === null || _a === void 0 ? void 0 : _a.filter((field) => field.name !== fieldConfig.name);
850
- this.loadFields();
864
+ this.loadFields(updateTimer);
851
865
  this.controlFieldConfig();
852
866
  this._formConfigChanged = true;
853
867
  this.resetSortables();
@@ -856,14 +870,14 @@ const SnkFormConfig = class {
856
870
  this.controlSortableField();
857
871
  this.controlSortableGroup();
858
872
  }
859
- handleFieldConfigChange(evt) {
873
+ handleFieldConfigChange(evt, updateTimer = 0) {
860
874
  const { field: fieldConfig, type: actionType } = evt.detail;
861
875
  if (actionType === constants.ACTION_CONFIG.configuration) {
862
876
  this.controlFieldConfig(fieldConfig);
863
877
  return;
864
878
  }
865
879
  if (actionType === constants.ACTION_CONFIG.remove) {
866
- this.controlRemoveFieldConfig(fieldConfig);
880
+ this.controlRemoveFieldConfig(fieldConfig, updateTimer);
867
881
  return;
868
882
  }
869
883
  if (actionType === constants.ACTION_CONFIG.add) {
@@ -884,7 +898,7 @@ const SnkFormConfig = class {
884
898
  tab.label = newLabel;
885
899
  }
886
900
  });
887
- this.loadFields();
901
+ this.loadFields(this._sortableTimer);
888
902
  this.controlFieldConfig();
889
903
  this._formConfigChanged = true;
890
904
  }
@@ -904,7 +918,7 @@ const SnkFormConfig = class {
904
918
  this._formConfig.tabs = (_a = this._formConfig.tabs) === null || _a === void 0 ? void 0 : _a.filter((tab) => {
905
919
  return tab.label !== tabSelected.detail.label;
906
920
  });
907
- this.loadFields();
921
+ this.loadFields(this._sortableTimer);
908
922
  this.controlFieldConfig();
909
923
  this._formConfigChanged = true;
910
924
  }
@@ -917,7 +931,7 @@ const SnkFormConfig = class {
917
931
  tab.visible = !tab.visible;
918
932
  }
919
933
  });
920
- this.loadFields();
934
+ this.loadFields(this._sortableTimer);
921
935
  this.controlFieldConfig();
922
936
  this._formConfigChanged = true;
923
937
  }
@@ -942,6 +956,12 @@ const SnkFormConfig = class {
942
956
  this.controlSortableField();
943
957
  this.controlSortableGroup();
944
958
  }
959
+ async componentWillRender() {
960
+ if (this.messagesBuilder == undefined) {
961
+ const application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
962
+ this.messagesBuilder = application.messagesBuilder;
963
+ }
964
+ }
945
965
  componentWillLoad() {
946
966
  this.loadConfig();
947
967
  }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const SnkFormConfigManager = require('./SnkFormConfigManager-3621bfc4.js');
7
+ const SnkFormConfigManager = require('./SnkFormConfigManager-0ffd098d.js');
8
8
  const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
9
9
  require('./ConfigStorage-d4c99a5e.js');
10
10
  require('./form-config-fetcher-9f1a13ca.js');
@@ -5,20 +5,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const UnitMetadata = require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
8
- const taskbarElements = require('./taskbar-elements-1e4fb2e0.js');
8
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
9
9
  const ConfigStorage = require('./ConfigStorage-d4c99a5e.js');
10
10
  const index$1 = require('./index-0922807b.js');
11
11
  const fieldSearch = require('./field-search-f56aa7d6.js');
12
12
  const index$2 = require('./index-102ba62d.js');
13
- const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-ba5838c2.js');
13
+ const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-5213120b.js');
14
14
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
15
- require('./form-config-fetcher-9f1a13ca.js');
16
15
  require('./DataFetcher-99f0f6ed.js');
17
- require('./PrintUtils-bcaeb82f.js');
16
+ require('./pesquisa-fetcher-94f6b316.js');
17
+ require('./ISave-e91b70a7.js');
18
+ require('@sankhyalabs/ezui/dist/collection/utils/constants');
18
19
  require('./filter-item-type.enum-a7ffdaa6.js');
20
+ require('./form-config-fetcher-9f1a13ca.js');
19
21
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
20
- require('./PreloadManager-84466da6.js');
22
+ require('./PrintUtils-bcaeb82f.js');
21
23
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
24
+ require('./ResourceIDUtils-5ff86aa7.js');
22
25
 
23
26
  const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:100%}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}";
24
27
 
@@ -127,19 +130,7 @@ const SnkGrid = class {
127
130
  }
128
131
  setGridConfig(config) {
129
132
  this._gridConfig = config;
130
- this.assertDefaultSorting();
131
- }
132
- assertDefaultSorting() {
133
- if (this._gridConfig && this._dataUnit) {
134
- this._dataUnit.defaultSorting = this._gridConfig
135
- .columns
136
- .filter(col => col.ascending != undefined)
137
- .sort((colA, colB) => colA.orderIndex - colB.orderIndex)
138
- .map(({ name: field, ascending }) => {
139
- const { dataType } = this._dataUnit.getField(field);
140
- return { field, dataType, mode: ascending ? UnitMetadata.SortMode.ASC : UnitMetadata.SortMode.DESC };
141
- });
142
- }
133
+ SnkMultiSelectionListDataSource.CrudUtils.assertDefaultSorting(this._gridConfig, this._dataUnit);
143
134
  }
144
135
  loadConfig() {
145
136
  ConfigStorage.ConfigStorage.loadGridConfig(this.configName, this.resourceID)
@@ -265,7 +256,7 @@ const SnkGrid = class {
265
256
  core.ElementIDUtils.addIDInfo(this._element, null, dataInfo);
266
257
  }
267
258
  finshLoading() {
268
- this.assertDefaultSorting();
259
+ SnkMultiSelectionListDataSource.CrudUtils.assertDefaultSorting(this._gridConfig, this._dataUnit);
269
260
  this.addElementID();
270
261
  if (this.columnFilterDataSource != undefined) {
271
262
  this.columnFilterDataSource.setApplication(this._application);
@@ -417,7 +408,7 @@ const SnkGrid = class {
417
408
  return undefined;
418
409
  }
419
410
  return (index.h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, index.h("div", { class: "snk-grid__header ez-margin-bottom--medium" }, this._showSnkFilterBar &&
420
- index.h(index.Fragment, null, index.h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, title: this.filterBarTitle, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder, resourceID: this.resourceID, onConfigUpdated: evt => this.handleFilterConfigUpdated(evt.detail), disablePersonalizedFilter: this.disablePersonalizedFilter }), index.h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), index.h("snk-taskbar", { class: "ez-padding-left--medium", "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.topTaskbarCustomSlotId, overflowStrategy: 'none' }, index.h("slot", { name: this.topTaskbarCustomSlotId }))), index.h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === index$1.PresentationMode.SECONDARY ? "snk-grid-container__without-shadow " : "") + "snk-grid__table", "data-element-id": "embedded", dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: (evt) => { this.gridConfigChangeHandler(evt); }, onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit }, index.h("snk-taskbar", { id: 'teste', dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this._headerTaskbarProcessor.buttons, presentationMode: this.presentationMode, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.getActionsList(), primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.gridHeaderCustomSlotId }, index.h("slot", { name: this.gridHeaderCustomSlotId }))), index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("slot", { name: "SnkGridFooter" })), index.h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, index.h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), application: this._application, selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resourceID }))));
411
+ index.h(index.Fragment, null, index.h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, title: this.filterBarTitle, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder, resourceID: this.resourceID, onConfigUpdated: evt => this.handleFilterConfigUpdated(evt.detail), disablePersonalizedFilter: this.disablePersonalizedFilter }), index.h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), index.h("snk-taskbar", { class: "ez-padding-left--medium", "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.topTaskbarCustomSlotId, overflowStrategy: 'none' }, index.h("slot", { name: this.topTaskbarCustomSlotId }))), index.h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === index$1.PresentationMode.SECONDARY ? "snk-grid-container__without-shadow " : "") + "snk-grid__table", "data-element-id": "embedded", dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: (evt) => { this.gridConfigChangeHandler(evt); }, onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit }, index.h("snk-taskbar", { id: 'teste', dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this._headerTaskbarProcessor.buttons, presentationMode: this.presentationMode, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.getActionsList(), primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.gridHeaderCustomSlotId }, index.h("slot", { name: this.gridHeaderCustomSlotId }))), index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("slot", { name: "SnkGridFooter" })), index.h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, index.h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resourceID }))));
421
412
  }
422
413
  get _element() { return index.getElement(this); }
423
414
  };
@@ -2,18 +2,17 @@
2
2
 
3
3
  const index = require('./index-f9e81701.js');
4
4
  const core = require('@sankhyalabs/core');
5
- const SnkFormConfigManager = require('./SnkFormConfigManager-3621bfc4.js');
5
+ const SnkFormConfigManager = require('./SnkFormConfigManager-0ffd098d.js');
6
6
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
7
7
  const fieldSearch = require('./field-search-f56aa7d6.js');
8
- const taskbarElements = require('./taskbar-elements-1e4fb2e0.js');
8
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
10
  require('./DataFetcher-99f0f6ed.js');
11
- require('./pesquisa-fetcher-c416a6b7.js');
11
+ require('./pesquisa-fetcher-94f6b316.js');
12
12
  const index$1 = require('./index-0922807b.js');
13
13
  require('./ISave-e91b70a7.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
- require('./PreloadManager-84466da6.js');
17
16
  require('./filter-item-type.enum-a7ffdaa6.js');
18
17
  require('./form-config-fetcher-9f1a13ca.js');
19
18
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkGuidesViewer = require('./snk-guides-viewer-bd69fce4.js');
5
+ const snkGuidesViewer = require('./snk-guides-viewer-75047f22.js');
6
6
  require('./index-f9e81701.js');
7
7
  require('@sankhyalabs/core');
8
- require('./SnkFormConfigManager-3621bfc4.js');
8
+ require('./SnkFormConfigManager-0ffd098d.js');
9
9
  require('./ConfigStorage-d4c99a5e.js');
10
10
  require('./form-config-fetcher-9f1a13ca.js');
11
11
  require('./DataFetcher-99f0f6ed.js');
@@ -14,13 +14,12 @@ require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('./filter-item-type.enum-a7ffdaa6.js');
15
15
  require('@sankhyalabs/ezui/dist/collection/utils/form');
16
16
  require('./field-search-f56aa7d6.js');
17
- require('./taskbar-elements-1e4fb2e0.js');
17
+ require('./taskbar-elements-3ecd1278.js');
18
18
  require('./index-0922807b.js');
19
19
  require('./index-102ba62d.js');
20
20
  require('./constants-35ddd366.js');
21
- require('./pesquisa-fetcher-c416a6b7.js');
21
+ require('./pesquisa-fetcher-94f6b316.js');
22
22
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
23
- require('./PreloadManager-84466da6.js');
24
23
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
25
24
  require('./ResourceIDUtils-5ff86aa7.js');
26
25
  require('./ISave-e91b70a7.js');
@@ -67,8 +67,10 @@ const SnkFilterPersonalized = class {
67
67
  return this.presentationMode === presentationMode.EPresentationMode.MODAL;
68
68
  }
69
69
  doSearch(mode, argument, param) {
70
+ const context = Object.assign({}, param.searchContext);
71
+ context.searchOptions = Object.assign(Object.assign({}, context.searchOptions), { showInactives: "true" });
70
72
  return new Promise((resolve, reject) => {
71
- this._application.executePreparedSearch(mode, argument, param.searchContext)
73
+ this._application.executePreparedSearch(mode, argument, context)
72
74
  .then(result => {
73
75
  resolve(result);
74
76
  }).catch(reason => {