@sankhyalabs/sankhyablocks 3.1.0 → 3.2.1

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 (158) hide show
  1. package/dist/cjs/{index-2cd6f753.js → index-21bd01e1.js} +111 -2
  2. package/dist/cjs/{index-696b5c3b.js → index-fc7ca86c.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +3 -2
  4. package/dist/cjs/sankhyablocks.cjs.js +6 -2
  5. package/dist/cjs/snk-application.cjs.entry.js +3 -1
  6. package/dist/cjs/snk-config-options.cjs.entry.js +4 -4
  7. package/dist/cjs/snk-configurator_3.cjs.entry.js +14 -14
  8. package/dist/cjs/snk-crud.cjs.entry.js +10 -9
  9. package/dist/cjs/snk-data-exporter_8.cjs.entry.js +41 -16
  10. package/dist/cjs/snk-data-unit.cjs.entry.js +19 -14
  11. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +3 -1
  12. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +3 -1
  13. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -1
  14. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +3 -1
  15. package/dist/cjs/snk-filter-number.cjs.entry.js +3 -1
  16. package/dist/cjs/snk-filter-period.cjs.entry.js +3 -1
  17. package/dist/cjs/snk-filter-personalized.cjs.entry.js +5 -1
  18. package/dist/cjs/snk-filter-search.cjs.entry.js +3 -1
  19. package/dist/cjs/snk-filter-text.cjs.entry.js +3 -1
  20. package/dist/cjs/snk-form-config.cjs.entry.js +7 -4
  21. package/dist/cjs/snk-form.cjs.entry.js +7 -4
  22. package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -1
  23. package/dist/cjs/snk-tab-config.cjs.entry.js +7 -1
  24. package/dist/cjs/{taskbar-elements-81ad590c.js → taskbar-elements-8d38f43a.js} +2 -2
  25. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  26. package/dist/collection/collection-manifest.json +2 -2
  27. package/dist/collection/components/snk-application/snk-application.js +2 -0
  28. package/dist/collection/components/snk-configurator/snk-configurator.js +2 -3
  29. package/dist/collection/components/snk-crud/snk-crud.js +7 -6
  30. package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +2 -0
  31. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +0 -3
  32. package/dist/collection/components/snk-data-unit/snk-data-unit.js +18 -13
  33. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +4 -0
  34. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +4 -0
  35. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +4 -0
  36. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +4 -0
  37. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js +6 -0
  38. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +4 -0
  39. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +4 -0
  40. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +4 -0
  41. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +3 -0
  42. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +9 -0
  43. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +12 -0
  44. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +4 -0
  45. package/dist/collection/components/snk-form/snk-form.js +6 -3
  46. package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.js +3 -3
  47. package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.js +2 -6
  48. package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.js +6 -3
  49. package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.js +6 -0
  50. package/dist/collection/components/snk-grid/snk-grid.js +8 -3
  51. package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.js +3 -3
  52. package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.js +0 -3
  53. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +4 -0
  54. package/dist/collection/components/snk-taskbar/snk-taskbar.js +9 -4
  55. package/dist/components/index.d.ts +9 -0
  56. package/dist/components/index.js +1 -1
  57. package/dist/components/snk-application2.js +2 -0
  58. package/dist/components/snk-config-options2.js +3 -3
  59. package/dist/components/snk-configurator2.js +2 -3
  60. package/dist/components/snk-crud.js +7 -6
  61. package/dist/components/snk-data-exporter2.js +0 -3
  62. package/dist/components/snk-data-unit.js +18 -13
  63. package/dist/components/snk-exporter-email-sender2.js +2 -0
  64. package/dist/components/snk-field-config2.js +2 -6
  65. package/dist/components/snk-filter-bar2.js +4 -0
  66. package/dist/components/snk-filter-binary-select.js +2 -0
  67. package/dist/components/snk-filter-detail2.js +2 -0
  68. package/dist/components/snk-filter-item2.js +3 -0
  69. package/dist/components/snk-filter-list2.js +9 -0
  70. package/dist/components/snk-filter-modal2.js +10 -0
  71. package/dist/components/snk-filter-multi-select.js +2 -0
  72. package/dist/components/snk-filter-number.js +2 -0
  73. package/dist/components/snk-filter-period.js +2 -0
  74. package/dist/components/snk-filter-personalized.js +4 -0
  75. package/dist/components/snk-filter-search.js +2 -0
  76. package/dist/components/snk-filter-text.js +2 -0
  77. package/dist/components/snk-form-config2.js +6 -3
  78. package/dist/components/snk-form2.js +6 -3
  79. package/dist/components/snk-grid-config2.js +3 -3
  80. package/dist/components/snk-grid2.js +8 -3
  81. package/dist/components/snk-pesquisa2.js +4 -0
  82. package/dist/components/snk-select-box2.js +0 -3
  83. package/dist/components/snk-tab-config2.js +6 -0
  84. package/dist/components/snk-taskbar2.js +9 -4
  85. package/dist/esm/{index-a77b6f35.js → index-cfd4bb13.js} +111 -3
  86. package/dist/esm/{index-d89e384f.js → index-e467ade5.js} +1 -1
  87. package/dist/esm/loader.js +3 -2
  88. package/dist/esm/polyfills/css-shim.js +1 -1
  89. package/dist/esm/sankhyablocks.js +3 -2
  90. package/dist/esm/snk-application.entry.js +3 -1
  91. package/dist/esm/snk-config-options.entry.js +4 -4
  92. package/dist/esm/snk-configurator_3.entry.js +14 -14
  93. package/dist/esm/snk-crud.entry.js +10 -9
  94. package/dist/esm/snk-data-exporter_8.entry.js +41 -16
  95. package/dist/esm/snk-data-unit.entry.js +19 -14
  96. package/dist/esm/snk-exporter-email-sender.entry.js +3 -1
  97. package/dist/esm/snk-filter-binary-select.entry.js +3 -1
  98. package/dist/esm/snk-filter-detail.entry.js +3 -1
  99. package/dist/esm/snk-filter-multi-select.entry.js +3 -1
  100. package/dist/esm/snk-filter-number.entry.js +3 -1
  101. package/dist/esm/snk-filter-period.entry.js +3 -1
  102. package/dist/esm/snk-filter-personalized.entry.js +5 -1
  103. package/dist/esm/snk-filter-search.entry.js +3 -1
  104. package/dist/esm/snk-filter-text.entry.js +3 -1
  105. package/dist/esm/snk-form-config.entry.js +7 -4
  106. package/dist/esm/snk-form.entry.js +7 -4
  107. package/dist/esm/snk-pesquisa.entry.js +5 -1
  108. package/dist/esm/snk-tab-config.entry.js +7 -1
  109. package/dist/esm/{taskbar-elements-9b0a87f1.js → taskbar-elements-24655695.js} +2 -2
  110. package/dist/esm/teste-pesquisa.entry.js +1 -1
  111. package/dist/sankhyablocks/p-01fdcc77.entry.js +1 -0
  112. package/dist/sankhyablocks/p-0b86c7f0.entry.js +1 -0
  113. package/dist/sankhyablocks/p-123732eb.entry.js +1 -0
  114. package/dist/sankhyablocks/p-125c2d01.entry.js +1 -0
  115. package/dist/sankhyablocks/p-2cd74aa1.entry.js +1 -0
  116. package/dist/sankhyablocks/{p-4cec3835.entry.js → p-31e36df4.entry.js} +4 -4
  117. package/dist/sankhyablocks/p-4133f9e5.entry.js +1 -0
  118. package/dist/sankhyablocks/p-5360f8fa.entry.js +1 -0
  119. package/dist/sankhyablocks/p-5e62a17b.entry.js +1 -0
  120. package/dist/sankhyablocks/p-5fc55684.entry.js +1 -0
  121. package/dist/sankhyablocks/p-6b992e43.js +1 -0
  122. package/dist/sankhyablocks/p-86d29b6f.entry.js +1 -0
  123. package/dist/sankhyablocks/p-93c92b97.entry.js +1 -0
  124. package/dist/sankhyablocks/p-93d8ea09.js +2 -2
  125. package/dist/sankhyablocks/{p-112bb324.js → p-98f7f796.js} +1 -1
  126. package/dist/sankhyablocks/p-9fab987d.entry.js +1 -0
  127. package/dist/sankhyablocks/p-ad51bf1c.entry.js +1 -0
  128. package/dist/sankhyablocks/p-afba9bbe.entry.js +1 -0
  129. package/dist/sankhyablocks/p-b9667fbe.js +2 -0
  130. package/dist/sankhyablocks/p-c336170d.entry.js +1 -0
  131. package/dist/sankhyablocks/p-d5c9c1f8.entry.js +1 -0
  132. package/dist/sankhyablocks/{p-57895452.entry.js → p-e551b19a.entry.js} +1 -1
  133. package/dist/sankhyablocks/p-e701646c.entry.js +1 -0
  134. package/dist/sankhyablocks/p-ee82c157.entry.js +1 -0
  135. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  136. package/dist/types/stencil-public-runtime.d.ts +64 -3
  137. package/loader/index.d.ts +9 -0
  138. package/package.json +5 -5
  139. package/dist/sankhyablocks/p-048e126b.entry.js +0 -1
  140. package/dist/sankhyablocks/p-12ebe36a.entry.js +0 -1
  141. package/dist/sankhyablocks/p-187b0d06.entry.js +0 -1
  142. package/dist/sankhyablocks/p-1ccaea51.entry.js +0 -1
  143. package/dist/sankhyablocks/p-1dbe9dd8.entry.js +0 -1
  144. package/dist/sankhyablocks/p-3c7ec56e.entry.js +0 -1
  145. package/dist/sankhyablocks/p-3f6c05c7.entry.js +0 -1
  146. package/dist/sankhyablocks/p-6cd41239.entry.js +0 -1
  147. package/dist/sankhyablocks/p-7dad1d5e.js +0 -1
  148. package/dist/sankhyablocks/p-91c23d20.entry.js +0 -1
  149. package/dist/sankhyablocks/p-a77dd79a.js +0 -2
  150. package/dist/sankhyablocks/p-ab4ff312.entry.js +0 -1
  151. package/dist/sankhyablocks/p-bcb2fb03.entry.js +0 -1
  152. package/dist/sankhyablocks/p-c15108d5.entry.js +0 -1
  153. package/dist/sankhyablocks/p-d3e402d3.entry.js +0 -1
  154. package/dist/sankhyablocks/p-d7ae56ce.entry.js +0 -1
  155. package/dist/sankhyablocks/p-df5d94c6.entry.js +0 -1
  156. package/dist/sankhyablocks/p-e075dba7.entry.js +0 -1
  157. package/dist/sankhyablocks/p-f6f71be7.entry.js +0 -1
  158. package/dist/sankhyablocks/p-f9829109.entry.js +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
8
8
  const core = require('@sankhyalabs/core');
@@ -11,6 +11,8 @@ const SnkFilterDetail = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.filterChange = index.createEvent(this, "filterChange", 7);
14
+ this.config = undefined;
15
+ this.getMessage = undefined;
14
16
  }
15
17
  /**
16
18
  * Exibe o componente snk-filter-detail.
@@ -2,13 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
8
8
 
9
9
  const SnkFilterMultiSelect = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
+ this.value = undefined;
13
+ this.config = undefined;
12
14
  }
13
15
  /**
14
16
  * Emitido quando acontece a alteração de valor do componente snk-filter-multi-select
@@ -2,13 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
8
8
 
9
9
  const SnkFilterPeriod = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
+ this.config = undefined;
13
+ this.value = undefined;
12
14
  }
13
15
  /**
14
16
  * Emitido quando acontece a alteração de valor do componente snk-filter-number
@@ -2,13 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
8
8
 
9
9
  const SnkFilterPeriod = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
+ this.config = undefined;
13
+ this.value = undefined;
12
14
  }
13
15
  /**
14
16
  * Emitido quando acontece a alteração de valor do componente snk-filter-period
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataType = require('@sankhyalabs/core/dist/dataunit/metadata/DataType');
8
8
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
@@ -11,6 +11,10 @@ const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
11
11
  const SnkFilterPersonalized = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
+ this.config = undefined;
15
+ this.value = undefined;
16
+ this.fix = undefined;
17
+ this.unfix = undefined;
14
18
  }
15
19
  componentDidLoad() {
16
20
  if (this._element) {
@@ -2,13 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const filterItemType_enum = require('./filter-item-type.enum-3daf58d3.js');
8
8
 
9
9
  const SnkFilterSearch = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
+ this.config = undefined;
13
+ this.value = undefined;
12
14
  }
13
15
  /**
14
16
  * Emitido quando acontece a alteração de valor do componente snk-filter-search
@@ -2,12 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
8
  const SnkFilterText = class {
9
9
  constructor(hostRef) {
10
10
  index.registerInstance(this, hostRef);
11
+ this.config = undefined;
12
+ this.value = undefined;
11
13
  }
12
14
  /**
13
15
  * Emitido quando acontece a alteração de valor do componente snk-filter-text.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const draggable_bundle = require('./draggable.bundle-82a25c06.js');
7
7
  const core = require('@sankhyalabs/core');
8
8
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
@@ -37,14 +37,17 @@ const SnkFormConfig = class {
37
37
  this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
38
38
  this._fieldFloatingStyle = "form-config__field-config--dragged";
39
39
  this._formConfigOptions = [];
40
+ this._fieldConfigSelected = undefined;
41
+ this._layoutFormConfig = undefined;
42
+ this._fieldsAvailable = undefined;
40
43
  this._formConfig = {};
41
44
  this._formConfigChanged = false;
45
+ this._optionFormConfigSelected = undefined;
42
46
  this._optionFormConfigChanged = false;
43
47
  this._tempGroups = [];
44
- /**
45
- * Campos de configuração de formulário.
46
- */
48
+ this.dataUnit = undefined;
47
49
  this.formConfig = {};
50
+ this.configName = undefined;
48
51
  }
49
52
  observeFormConfig() {
50
53
  this.loadConfig(this._sortableTimer);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const ConfigStorage = require('./ConfigStorage-8b5e3261.js');
8
8
  const index$1 = require('./index-0e663819.js');
@@ -17,12 +17,15 @@ const SnkForm = class {
17
17
  this.exit = index.createEvent(this, "exit", 7);
18
18
  this.actionClick = index.createEvent(this, "actionClick", 7);
19
19
  this._renderTimer = 500;
20
+ this._dataUnit = undefined;
21
+ this._dataState = undefined;
20
22
  this._editionFormConfig = {};
21
23
  this._insertionFormConfig = {};
22
24
  this._showFormConfig = false;
23
- /**
24
- * Altera o modo de apresentação dos botões do snk-taskbar.
25
- */
25
+ this.configName = undefined;
26
+ this.recordsValidator = undefined;
27
+ this.actionsList = undefined;
28
+ this.taskbarManager = undefined;
26
29
  this.presentationMode = index$1.PresentationMode.PRIMARY;
27
30
  }
28
31
  /**
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
8
  const snkPesquisaCss = ".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);--snk-pesquisa__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-pesquisa__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-pesquisa__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-pesquisa__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-pesquisa__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__scrollbar--width:var(--space--medium, 12px);max-height:100%;height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__scrollbar--color-clicked) var(--snk-pesquisa__scrollbar--color-background);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__scrollbar--color-background);width:var(--snk-pesquisa__scrollbar--width);max-width:var(--snk-pesquisa__scrollbar--width);min-width:var(--snk-pesquisa__scrollbar--width)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__scrollbar--color-background);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__scrollbar--color-default);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:hover,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-pesquisa__scrollbar--color-hover)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:active,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-pesquisa__scrollbar--color-clicked)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";
@@ -19,7 +19,11 @@ const SnkPesquisa = class {
19
19
  this._changeDeboucingTimeout = null;
20
20
  this._limitCharsToSearch = 3;
21
21
  this._deboucingTime = 450;
22
+ this._itemList = undefined;
22
23
  this._startLoading = false;
24
+ this.searchLoader = undefined;
25
+ this.selectItem = undefined;
26
+ this.argument = undefined;
23
27
  }
24
28
  observeArgument() {
25
29
  if (this._textInput) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const draggable_bundle = require('./draggable.bundle-82a25c06.js');
7
7
  const core = require('@sankhyalabs/core');
8
8
  const constants = require('./constants-8f3504ec.js');
@@ -20,8 +20,14 @@ const SnkTabConfig = class {
20
20
  this.ezOrderChange = index.createEvent(this, "ezOrderChange", 7);
21
21
  this.canStartDrag = index.createEvent(this, "canStartDrag", 7);
22
22
  this._refTabActions = [];
23
+ this._processedTabs = undefined;
24
+ this._activeEditText = undefined;
25
+ this._activeEditTextIndex = undefined;
23
26
  this._actionsHide = [];
24
27
  this._actionsShow = [];
28
+ this.selectedIndex = undefined;
29
+ this.selectedTab = undefined;
30
+ this.tabs = undefined;
25
31
  }
26
32
  /**
27
33
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-2cd6f753.js');
3
+ const index = require('./index-21bd01e1.js');
4
4
  const index$2 = require('./index-0e663819.js');
5
- const index$1 = require('./index-696b5c3b.js');
5
+ const index$1 = require('./index-fc7ca86c.js');
6
6
 
7
7
  exports.TaskbarElement = void 0;
8
8
  (function (TaskbarElement) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cd6f753.js');
5
+ const index = require('./index-21bd01e1.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
8
  const testePesquisaCss = ":host{display:block}";
@@ -32,8 +32,8 @@
32
32
  ],
33
33
  "compiler": {
34
34
  "name": "@stencil/core",
35
- "version": "2.18.1",
36
- "typescriptVersion": "4.7.4"
35
+ "version": "2.22.3",
36
+ "typescriptVersion": "4.9.4"
37
37
  },
38
38
  "collections": [],
39
39
  "bundles": [
@@ -30,6 +30,8 @@ export class SnkApplication {
30
30
  this._duCache = new Map();
31
31
  this._duPromises = new Map();
32
32
  this._requestListener = new RequestListenerLoadingBar();
33
+ this.messagesBuilder = undefined;
34
+ this.configName = undefined;
33
35
  }
34
36
  get parameters() {
35
37
  if (!this._parameters) {
@@ -7,9 +7,8 @@ const FORM_MODE = VIEW_MODE.form;
7
7
  export class SnkConfigurator {
8
8
  constructor() {
9
9
  this._opened = false;
10
- /**
11
- * Define qual modo de visualização está ativo.
12
- */
10
+ this._permissions = undefined;
11
+ this.configName = undefined;
13
12
  this.viewMode = GRID_MODE.name;
14
13
  }
15
14
  /**
@@ -12,14 +12,15 @@ const FORM_MODE = VIEW_MODE.form;
12
12
  */
13
13
  export class SnkCrud {
14
14
  constructor() {
15
+ this._dataUnit = undefined;
16
+ this._dataState = undefined;
15
17
  this._viewMode = GRID_MODE.name;
16
- /**
17
- * Determina se pode haver mais de uma linha selecionada na grade.
18
- */
18
+ this.configName = undefined;
19
+ this.actionsList = undefined;
20
+ this.taskbarManager = undefined;
21
+ this.recordsValidator = undefined;
22
+ this.statusResolver = undefined;
19
23
  this.multipleSelection = true;
20
- /**
21
- * Altera o modo de apresentação dos botões do snk-taskbar.
22
- */
23
24
  this.presentationMode = PresentationMode.PRIMARY;
24
25
  }
25
26
  /**
@@ -22,8 +22,10 @@ export class SnkExporterEmailSender {
22
22
  secondButtonClass: "ez-button--primary"
23
23
  }
24
24
  ];
25
+ this._config = undefined;
25
26
  this._opened = false;
26
27
  this._currentStep = 0;
28
+ this.getMessage = undefined;
27
29
  }
28
30
  open(config) {
29
31
  var _a;
@@ -23,9 +23,6 @@ export class SnkDataExporter {
23
23
  DataExporterOption.EXPORT_PAGE_TO_PDF,
24
24
  DataExporterOption.EXPORT_PAGE_TO_XLS
25
25
  ];
26
- /**
27
- * Provedor das informações para exportação dos dados.
28
- */
29
26
  this.provider = null;
30
27
  }
31
28
  async exportByEmail() {
@@ -5,10 +5,6 @@ import { OperationMap } from '../../lib/message/SnkMessageBuilder';
5
5
  export class SnkDataUnit {
6
6
  constructor() {
7
7
  this._onDataUnitResolve = [];
8
- /**
9
- * Determina quantas linhas são retornadas por página.
10
- */
11
- this.pageSize = 150;
12
8
  this._dataUnitObserver = (action) => {
13
9
  const duState = {
14
10
  insertionMode: false,
@@ -47,6 +43,13 @@ export class SnkDataUnit {
47
43
  }
48
44
  this._application.messagesBuilder.currentOperation = this.getMessageOperation();
49
45
  };
46
+ this.dataState = undefined;
47
+ this.dataUnitName = undefined;
48
+ this.entityName = undefined;
49
+ this.pageSize = 150;
50
+ this.dataUnit = undefined;
51
+ this.beforeSave = undefined;
52
+ this.afterSave = undefined;
50
53
  }
51
54
  observePageSize() {
52
55
  if (this.dataUnit) {
@@ -99,15 +102,17 @@ export class SnkDataUnit {
99
102
  const selectedRecords = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getSelectedRecords();
100
103
  if ((selectedRecords === null || selectedRecords === void 0 ? void 0 : selectedRecords.length) > 0) {
101
104
  selectedRecords.forEach(({ __record__id__ }) => {
102
- const revertBase64ToObject = JSON.parse(window.atob(__record__id__));
103
- Object.entries(revertBase64ToObject).forEach(([name, value]) => {
104
- var _a;
105
- const metadataField = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField(name);
106
- if (metadataField == undefined) {
107
- return;
108
- }
109
- selectedRecordsIDsInfo.push(Object.assign({ name, type: metadataField.dataType }, value));
110
- });
105
+ if (!this.dataUnit.isNewRecord(__record__id__)) {
106
+ const revertBase64ToObject = JSON.parse(window.atob(__record__id__));
107
+ Object.entries(revertBase64ToObject).forEach(([name, value]) => {
108
+ var _a;
109
+ const metadataField = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField(name);
110
+ if (metadataField == undefined) {
111
+ return;
112
+ }
113
+ selectedRecordsIDsInfo.push(Object.assign({ name, type: metadataField.dataType }, value));
114
+ });
115
+ }
111
116
  });
112
117
  }
113
118
  return selectedRecordsIDsInfo;
@@ -2,6 +2,10 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h, Host } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterBinarySelect {
5
+ constructor() {
6
+ this.value = undefined;
7
+ this.config = undefined;
8
+ }
5
9
  isSelected(option) {
6
10
  return this.value == undefined || this.value === option;
7
11
  }
@@ -2,6 +2,10 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterMultiSelect {
5
+ constructor() {
6
+ this.value = undefined;
7
+ this.config = undefined;
8
+ }
5
9
  /**
6
10
  * Emitido quando acontece a alteração de valor do componente snk-filter-multi-select
7
11
  */
@@ -2,6 +2,10 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterPeriod {
5
+ constructor() {
6
+ this.config = undefined;
7
+ this.value = undefined;
8
+ }
5
9
  /**
6
10
  * Emitido quando acontece a alteração de valor do componente snk-filter-number
7
11
  */
@@ -2,6 +2,10 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterPeriod {
5
+ constructor() {
6
+ this.config = undefined;
7
+ this.value = undefined;
8
+ }
5
9
  /**
6
10
  * Emitido quando acontece a alteração de valor do componente snk-filter-period
7
11
  */
@@ -4,6 +4,12 @@ import { h, Host } from '@stencil/core';
4
4
  import { CheckMode } from "@sankhyalabs/ezui/dist/collection/utils";
5
5
  import FilterItemType from '../filter-item-type.enum';
6
6
  export class SnkFilterPersonalized {
7
+ constructor() {
8
+ this.config = undefined;
9
+ this.value = undefined;
10
+ this.fix = undefined;
11
+ this.unfix = undefined;
12
+ }
7
13
  componentDidLoad() {
8
14
  if (this._element) {
9
15
  ElementIDUtils.addIDInfo(this._element, 'filterContentEditor');
@@ -2,6 +2,10 @@ import { ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterSearch {
5
+ constructor() {
6
+ this.config = undefined;
7
+ this.value = undefined;
8
+ }
5
9
  /**
6
10
  * Emitido quando acontece a alteração de valor do componente snk-filter-search
7
11
  */
@@ -1,6 +1,10 @@
1
1
  import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h } from '@stencil/core';
3
3
  export class SnkFilterText {
4
+ constructor() {
5
+ this.config = undefined;
6
+ this.value = undefined;
7
+ }
4
8
  /**
5
9
  * Emitido quando acontece a alteração de valor do componente snk-filter-text.
6
10
  */
@@ -3,6 +3,10 @@ import { ApplicationUtils } from "@sankhyalabs/ezui/dist/collection/utils";
3
3
  import FilterItemType from './filter-item-type.enum';
4
4
  import { ElementIDUtils, DataType } from '@sankhyalabs/core';
5
5
  export class SnkFilterDetail {
6
+ constructor() {
7
+ this.config = undefined;
8
+ this.getMessage = undefined;
9
+ }
6
10
  /**
7
11
  * Exibe o componente snk-filter-detail.
8
12
  */
@@ -10,6 +10,9 @@ export class SnkFilterItem {
10
10
  this.detailIsVisible = false;
11
11
  return false;
12
12
  };
13
+ this.detailIsVisible = undefined;
14
+ this.config = undefined;
15
+ this.getMessage = undefined;
13
16
  }
14
17
  observeDetailIsVisible(value) {
15
18
  this.visibleChanged.emit(value);
@@ -12,6 +12,15 @@ export class SnkFilterList {
12
12
  this._detailIsVisible = false;
13
13
  return false;
14
14
  };
15
+ this._filterArgument = undefined;
16
+ this._showAll = undefined;
17
+ this.label = undefined;
18
+ this.iconName = undefined;
19
+ this.items = undefined;
20
+ this.getMessage = undefined;
21
+ this.emptyText = undefined;
22
+ this.findFilterText = undefined;
23
+ this.buttonClass = undefined;
15
24
  }
16
25
  showDetail() {
17
26
  this._preselection = -1;
@@ -3,6 +3,18 @@ import { ModalAction, ModalButtonStatus } from "@sankhyalabs/ezui/dist/collectio
3
3
  import { ArrayUtils } from '@sankhyalabs/core';
4
4
  import { CheckMode } from "@sankhyalabs/ezui/dist/collection/utils";
5
5
  export class SnkFilterModal {
6
+ constructor() {
7
+ this._filterArgument = undefined;
8
+ this.getMessage = undefined;
9
+ this.items = undefined;
10
+ this.modalTitle = undefined;
11
+ this.modalSubTitle = undefined;
12
+ this.cancelButtonLabel = undefined;
13
+ this.okButtonLabel = undefined;
14
+ this.infoText = undefined;
15
+ this.useSearch = undefined;
16
+ this.processModalAction = undefined;
17
+ }
6
18
  updateValue(id, value = undefined) {
7
19
  this.items = this.items.map(item => {
8
20
  if (item.id === id && item.enabled) {
@@ -27,6 +27,10 @@ export class SnkFilterBar {
27
27
  this._filtersComparator = (a, b) => {
28
28
  return this._calculateSortIndex(b) - this._calculateSortIndex(a);
29
29
  };
30
+ this.dataUnit = undefined;
31
+ this.configName = undefined;
32
+ this.filterConfig = undefined;
33
+ this.allowDefault = undefined;
30
34
  this.scrollerLocked = false;
31
35
  }
32
36
  observeFilterConfig(newValue, oldValue) {
@@ -6,12 +6,15 @@ import TaskbarProcessor from '../snk-taskbar/processor/taskbar-processor';
6
6
  export class SnkForm {
7
7
  constructor() {
8
8
  this._renderTimer = 500;
9
+ this._dataUnit = undefined;
10
+ this._dataState = undefined;
9
11
  this._editionFormConfig = {};
10
12
  this._insertionFormConfig = {};
11
13
  this._showFormConfig = false;
12
- /**
13
- * Altera o modo de apresentação dos botões do snk-taskbar.
14
- */
14
+ this.configName = undefined;
15
+ this.recordsValidator = undefined;
16
+ this.actionsList = undefined;
17
+ this.taskbarManager = undefined;
15
18
  this.presentationMode = PresentationMode.PRIMARY;
16
19
  }
17
20
  /**
@@ -5,10 +5,10 @@ import { CheckMode } from "@sankhyalabs/ezui/dist/collection/utils";
5
5
  import { DEFAULT_TYPE, TAGS_BY_TYPE, VARS_BY_TYPE } from "../../../../lib/utils/constants";
6
6
  export class SnkConfigOptions {
7
7
  constructor() {
8
- /**
9
- * Armazena as propriedades do campo.
10
- */
8
+ this._defaultType = undefined;
11
9
  this.fieldConfig = {};
10
+ this.idConfig = undefined;
11
+ this.dataUnit = undefined;
12
12
  }
13
13
  onConfigDefault(optionSelected) {
14
14
  if (optionSelected != undefined) {
@@ -3,14 +3,10 @@ import { h, Host } from "@stencil/core";
3
3
  import { ACTION_CONFIG } from "../../../../lib/utils/constants";
4
4
  export class SnkFieldConfig {
5
5
  constructor() {
6
- /**
7
- * Define se o popover de configuração está ativo.
8
- */
9
6
  this.isConfigActive = false;
10
- /**
11
- * Define se o componente está em modo de inserção.
12
- */
7
+ this.fieldConfig = undefined;
13
8
  this.modeInsertion = true;
9
+ this.dataUnit = undefined;
14
10
  }
15
11
  handleAction(evt, type) {
16
12
  evt.preventDefault();
@@ -27,14 +27,17 @@ export class SnkFormConfig {
27
27
  this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
28
28
  this._fieldFloatingStyle = "form-config__field-config--dragged";
29
29
  this._formConfigOptions = [];
30
+ this._fieldConfigSelected = undefined;
31
+ this._layoutFormConfig = undefined;
32
+ this._fieldsAvailable = undefined;
30
33
  this._formConfig = {};
31
34
  this._formConfigChanged = false;
35
+ this._optionFormConfigSelected = undefined;
32
36
  this._optionFormConfigChanged = false;
33
37
  this._tempGroups = [];
34
- /**
35
- * Campos de configuração de formulário.
36
- */
38
+ this.dataUnit = undefined;
37
39
  this.formConfig = {};
40
+ this.configName = undefined;
38
41
  }
39
42
  observeFormConfig() {
40
43
  this.loadConfig(this._sortableTimer);
@@ -5,8 +5,14 @@ import { CONFIG_EVENTS, KEY_EVENTS, TAB_NAMES, TYPE_ACTIONS } from "../../../../
5
5
  export class SnkTabConfig {
6
6
  constructor() {
7
7
  this._refTabActions = [];
8
+ this._processedTabs = undefined;
9
+ this._activeEditText = undefined;
10
+ this._activeEditTextIndex = undefined;
8
11
  this._actionsHide = [];
9
12
  this._actionsShow = [];
13
+ this.selectedIndex = undefined;
14
+ this.selectedTab = undefined;
15
+ this.tabs = undefined;
10
16
  }
11
17
  /**
12
18
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção