@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-76362.1 → 0.0.0-bugfix-dev-KB-78242.0

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 (153) hide show
  1. package/dist/cjs/{SnkMessageBuilder-7691a2c1.js → SnkMessageBuilder-bae64d0d.js} +0 -10
  2. package/dist/cjs/index-f9e81701.js +0 -8
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  5. package/dist/cjs/snk-actions-button_4.cjs.entry.js +25 -22
  6. package/dist/cjs/snk-application.cjs.entry.js +18 -2
  7. package/dist/cjs/snk-config-options_3.cjs.entry.js +17 -5
  8. package/dist/cjs/snk-crud.cjs.entry.js +8 -2
  9. package/dist/cjs/snk-data-exporter.cjs.entry.js +2 -2
  10. package/dist/cjs/{snk-data-unit-7dbdad0e.js → snk-data-unit-3d9b6ed4.js} +26 -14
  11. package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
  12. package/dist/cjs/snk-detail-view.cjs.entry.js +3 -3
  13. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +9 -0
  14. package/dist/cjs/snk-filter-text.cjs.entry.js +2 -1
  15. package/dist/cjs/snk-grid.cjs.entry.js +11 -2
  16. package/dist/cjs/{snk-guides-viewer-eee43c8b.js → snk-guides-viewer-2139481c.js} +1 -1
  17. package/dist/cjs/snk-guides-viewer.cjs.entry.js +1 -1
  18. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +3 -3
  19. package/dist/cjs/snk-simple-crud.cjs.entry.js +26 -5
  20. package/dist/cjs/snk-taskbar.cjs.entry.js +40 -37
  21. package/dist/collection/collection-manifest.json +0 -3
  22. package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
  23. package/dist/collection/components/snk-application/snk-application.js +41 -1
  24. package/dist/collection/components/snk-crud/snk-crud.js +26 -2
  25. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +1 -1
  26. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
  27. package/dist/collection/components/snk-data-unit/snk-data-unit.js +25 -13
  28. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +2 -1
  29. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css +13 -0
  30. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +2 -2
  31. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js +8 -0
  32. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +5 -1
  33. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +20 -0
  34. package/dist/collection/components/snk-form-config/snk-form-config.js +17 -5
  35. package/dist/collection/components/snk-grid/snk-grid.js +47 -2
  36. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +1 -0
  37. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +62 -5
  38. package/dist/collection/components/snk-taskbar/snk-taskbar.js +41 -38
  39. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +7 -1
  40. package/dist/collection/lib/message/SnkMessageBuilder.js +0 -2
  41. package/dist/components/SnkMessageBuilder.js +0 -10
  42. package/dist/components/index.d.ts +0 -3
  43. package/dist/components/index.js +0 -3
  44. package/dist/components/snk-actions-button2.js +27 -26
  45. package/dist/components/snk-application2.js +19 -2
  46. package/dist/components/snk-crud.js +9 -2
  47. package/dist/components/snk-data-unit2.js +25 -13
  48. package/dist/components/snk-detail-view2.js +2 -2
  49. package/dist/components/snk-filter-bar2.js +6 -0
  50. package/dist/components/snk-filter-item2.js +5 -1
  51. package/dist/components/snk-filter-text.js +2 -1
  52. package/dist/components/snk-form-config2.js +17 -5
  53. package/dist/components/snk-grid2.js +13 -2
  54. package/dist/components/snk-personalized-filter-editor.js +3 -3
  55. package/dist/components/snk-simple-crud2.js +29 -6
  56. package/dist/components/snk-taskbar2.js +41 -38
  57. package/dist/esm/{SnkMessageBuilder-7ace6803.js → SnkMessageBuilder-6fff4a4c.js} +0 -10
  58. package/dist/esm/index-a7d3d3f1.js +0 -8
  59. package/dist/esm/loader.js +1 -1
  60. package/dist/esm/sankhyablocks.js +1 -1
  61. package/dist/esm/snk-actions-button_4.entry.js +26 -23
  62. package/dist/esm/snk-application.entry.js +19 -3
  63. package/dist/esm/snk-config-options_3.entry.js +17 -5
  64. package/dist/esm/snk-crud.entry.js +8 -2
  65. package/dist/esm/snk-data-exporter.entry.js +2 -2
  66. package/dist/esm/{snk-data-unit-7a579dbd.js → snk-data-unit-9fa7d2b9.js} +26 -14
  67. package/dist/esm/snk-data-unit.entry.js +2 -2
  68. package/dist/esm/snk-detail-view.entry.js +3 -3
  69. package/dist/esm/snk-filter-bar_4.entry.js +10 -1
  70. package/dist/esm/snk-filter-text.entry.js +2 -1
  71. package/dist/esm/snk-grid.entry.js +11 -2
  72. package/dist/esm/{snk-guides-viewer-e8ca764a.js → snk-guides-viewer-b7ed39eb.js} +1 -1
  73. package/dist/esm/snk-guides-viewer.entry.js +1 -1
  74. package/dist/esm/snk-personalized-filter-editor.entry.js +3 -3
  75. package/dist/esm/snk-simple-crud.entry.js +27 -6
  76. package/dist/esm/snk-taskbar.entry.js +41 -38
  77. package/dist/sankhyablocks/p-0387d9d7.entry.js +1 -0
  78. package/dist/sankhyablocks/{p-f4e221b2.entry.js → p-0d2a2e9e.entry.js} +1 -1
  79. package/dist/sankhyablocks/p-17425c72.js +1 -0
  80. package/dist/sankhyablocks/p-1d3ce0d9.entry.js +1 -0
  81. package/dist/sankhyablocks/p-342eeb3b.js +1 -0
  82. package/dist/sankhyablocks/p-3728d2aa.entry.js +11 -0
  83. package/dist/sankhyablocks/p-37629dc1.entry.js +1 -0
  84. package/dist/sankhyablocks/{p-42130213.entry.js → p-4138da61.entry.js} +1 -1
  85. package/dist/sankhyablocks/p-47178038.entry.js +1 -0
  86. package/dist/sankhyablocks/p-619aeac8.entry.js +1 -0
  87. package/dist/sankhyablocks/{p-00f9fe5c.entry.js → p-7075b789.entry.js} +1 -1
  88. package/dist/sankhyablocks/p-89c92727.entry.js +1 -0
  89. package/dist/sankhyablocks/p-af7f7b3e.entry.js +1 -0
  90. package/dist/sankhyablocks/{p-b389ed49.entry.js → p-b2172152.entry.js} +1 -1
  91. package/dist/sankhyablocks/{p-e3a285a2.js → p-e97be1c8.js} +1 -1
  92. package/dist/sankhyablocks/p-ec43fcc8.entry.js +1 -0
  93. package/dist/sankhyablocks/p-f8be20c7.entry.js +1 -0
  94. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  95. package/dist/types/components/snk-actions-button/interfaces/index.d.ts +3 -0
  96. package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +3 -2
  97. package/dist/types/components/snk-application/snk-application.d.ts +6 -1
  98. package/dist/types/components/snk-crud/snk-crud.d.ts +4 -0
  99. package/dist/types/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.d.ts +7 -0
  100. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +2 -0
  101. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +4 -0
  102. package/dist/types/components/snk-grid/snk-grid.d.ts +10 -0
  103. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +9 -0
  104. package/dist/types/components.d.ts +47 -393
  105. package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +1 -0
  106. package/package.json +1 -1
  107. package/react/components.d.ts +0 -3
  108. package/react/components.js +0 -3
  109. package/react/components.js.map +1 -1
  110. package/dist/cjs/input-distinct-search_2.cjs.entry.js +0 -471
  111. package/dist/cjs/snk-distinct-search.cjs.entry.js +0 -123
  112. package/dist/collection/components/snk-distinct-search/snk-distinct-search.css +0 -4
  113. package/dist/collection/components/snk-distinct-search/snk-distinct-search.js +0 -372
  114. package/dist/collection/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.css +0 -110
  115. package/dist/collection/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.js +0 -544
  116. package/dist/collection/components/snk-distinct-search/subcomponents/search-modal/search-modal.css +0 -28
  117. package/dist/collection/components/snk-distinct-search/subcomponents/search-modal/search-modal.js +0 -593
  118. package/dist/collection/components/snk-distinct-search/utils/filter-distinct-search.js +0 -15
  119. package/dist/collection/lib/http/data-fetcher/fetchers/distinct-search-fetcher.js +0 -25
  120. package/dist/collection/lib/message/resources/snk-distinct-search.msg.js +0 -9
  121. package/dist/components/filter-distinct-search.js +0 -17
  122. package/dist/components/input-distinct-search.d.ts +0 -11
  123. package/dist/components/input-distinct-search.js +0 -6
  124. package/dist/components/input-distinct-search2.js +0 -264
  125. package/dist/components/search-modal.d.ts +0 -11
  126. package/dist/components/search-modal.js +0 -6
  127. package/dist/components/search-modal2.js +0 -264
  128. package/dist/components/snk-distinct-search.d.ts +0 -11
  129. package/dist/components/snk-distinct-search.js +0 -163
  130. package/dist/esm/input-distinct-search_2.entry.js +0 -466
  131. package/dist/esm/snk-distinct-search.entry.js +0 -119
  132. package/dist/sankhyablocks/p-0e250436.entry.js +0 -1
  133. package/dist/sankhyablocks/p-154aa2a6.entry.js +0 -11
  134. package/dist/sankhyablocks/p-18cb1acb.entry.js +0 -1
  135. package/dist/sankhyablocks/p-1dbd5c18.entry.js +0 -1
  136. package/dist/sankhyablocks/p-2aae03a1.entry.js +0 -1
  137. package/dist/sankhyablocks/p-30ebcbe0.entry.js +0 -1
  138. package/dist/sankhyablocks/p-3858a2e4.entry.js +0 -1
  139. package/dist/sankhyablocks/p-563b7c28.entry.js +0 -1
  140. package/dist/sankhyablocks/p-5b51491f.entry.js +0 -1
  141. package/dist/sankhyablocks/p-96a89d58.entry.js +0 -1
  142. package/dist/sankhyablocks/p-987c7328.entry.js +0 -1
  143. package/dist/sankhyablocks/p-c75fae8e.js +0 -1
  144. package/dist/sankhyablocks/p-d8665750.js +0 -1
  145. package/dist/sankhyablocks/p-f0aaad2b.entry.js +0 -1
  146. package/dist/types/components/snk-distinct-search/snk-distinct-search.d.ts +0 -83
  147. package/dist/types/components/snk-distinct-search/subcomponents/input-distinct-search/input-distinct-search.d.ts +0 -105
  148. package/dist/types/components/snk-distinct-search/subcomponents/search-modal/search-modal.d.ts +0 -127
  149. package/dist/types/components/snk-distinct-search/types/index.d.ts +0 -12
  150. package/dist/types/components/snk-distinct-search/utils/filter-distinct-search.d.ts +0 -4
  151. package/dist/types/lib/http/data-fetcher/fetchers/distinct-search-fetcher.d.ts +0 -6
  152. package/dist/types/lib/message/resources/snk-distinct-search.msg.d.ts +0 -2
  153. /package/dist/collection/components/{snk-distinct-search/types → snk-actions-button/interfaces}/index.js +0 -0
@@ -5,8 +5,6 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { SnkApplication } from "./components/snk-application/snk-application";
9
- import { IConfigSearch, IDistinctValue } from "./components/snk-distinct-search/types";
10
8
  import { IAction } from "./components/snk-actions-button/actions/interfaces/IAction";
11
9
  import { SnkMessageBuilder } from "./lib/message/SnkMessageBuilder";
12
10
  import { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
@@ -44,6 +42,7 @@ import { IExportResult } from "./components/snk-data-exporter/data/export-result
44
42
  import { IExportConfig } from "./components/snk-data-exporter/data/export-config";
45
43
  import { IExpressionGroup, IExpressionItem } from "./components/snk-personalized-filter/interfaces/IExpressionItem";
46
44
  import { IPersonalizedFilter } from "./components/snk-personalized-filter/interfaces/IPersonalizedFilter";
45
+ import { SnkApplication } from "./components/snk-application/snk-application";
47
46
  import { SnkFilterModalFactoryParams } from "./components/snk-filter-bar/utils/SnkFilterModalFactory";
48
47
  import { EPresentationMode } from "./components/snk-filter-bar/filter-item/editors/enum/presentationMode";
49
48
  import { FilterFieldsDataSource, IFilterField, IFilterLink } from "./components/snk-filter-field-search/interfaces";
@@ -62,146 +61,6 @@ import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-brea
62
61
  import { ITab } from "./components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config";
63
62
  import { Action as Action1, CustomButton } from "./components/snk-taskbar/snk-taskbar";
64
63
  export namespace Components {
65
- interface InputDistinctSearch {
66
- /**
67
- * SnkApplication
68
- */
69
- "application": SnkApplication;
70
- /**
71
- * Se false deixa de exibir a mensagem de erro dentro do campo.
72
- */
73
- "canShowError": boolean;
74
- /**
75
- * Método para limpa o campo de entrada de pesquisa
76
- */
77
- "clearInput": () => Promise<void>;
78
- /**
79
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
80
- */
81
- "debounceTime": number;
82
- /**
83
- * Lista completa de items distintos.
84
- */
85
- "distinctItems": string[];
86
- /**
87
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
88
- */
89
- "errorMessage": string;
90
- /**
91
- * Retorna se o conteúdo é inválido.
92
- */
93
- "isInvalid": () => Promise<boolean>;
94
- /**
95
- * Label apresentada no input.
96
- */
97
- "label": string;
98
- /**
99
- * Número máximo de itens na lista.
100
- */
101
- "maxItems": number;
102
- /**
103
- * Define o tamanho do campo.
104
- */
105
- "mode": 'slim' | 'regular';
106
- /**
107
- * Expressão que define os caracteres permitidos na entrada.
108
- */
109
- "restrict": string;
110
- /**
111
- * Seleciona um item
112
- */
113
- "selectValue": (value: string, isNewItem?: boolean) => Promise<void>;
114
- /**
115
- * Remove o foco do campo
116
- */
117
- "setBlur": () => Promise<void>;
118
- /**
119
- * Aplica o foco do campo
120
- */
121
- "setFocus": () => Promise<void>;
122
- /**
123
- * Valor inicial do campo.
124
- */
125
- "value": string;
126
- }
127
- interface SearchModal {
128
- /**
129
- * Método para adicionar a nova palavra e chamar o método closeModal() para fechar o modal
130
- */
131
- "addNewItem": () => Promise<void>;
132
- /**
133
- * SnkApplication
134
- */
135
- "application": SnkApplication;
136
- /**
137
- * Se false deixa de exibir a mensagem de erro dentro do campo.
138
- */
139
- "canShowError": boolean;
140
- /**
141
- * Método para limpa o campo de entrada de pesquisa
142
- */
143
- "clearInput": () => Promise<void>;
144
- /**
145
- * Método para fechar o modal
146
- */
147
- "closeModal": () => Promise<void>;
148
- /**
149
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
150
- */
151
- "debounceTime": number;
152
- /**
153
- * Recebe a mensagem de vazio ou personalizada
154
- */
155
- "emptyMessage": HTMLElement | string;
156
- /**
157
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
158
- */
159
- "errorMessage": string;
160
- /**
161
- * Retorna se o conteúdo é inválido.
162
- */
163
- "isInvalid": () => Promise<void>;
164
- /**
165
- * Texto exibido como placeholder no campo de pesquisa.
166
- */
167
- "label": string;
168
- /**
169
- * Lista de itens exibidas conforme o usuário digita.
170
- */
171
- "listItens": string[];
172
- /**
173
- * Limita a quantidade de registros apresentados na tela
174
- */
175
- "maxItens": number;
176
- /**
177
- * Define o tamanho do campo.
178
- */
179
- "mode": 'slim' | 'regular';
180
- /**
181
- * Método para abrir o modal
182
- */
183
- "openModal": () => Promise<void>;
184
- /**
185
- * Define se o ez-popover está aberto.
186
- */
187
- "opened": boolean;
188
- /**
189
- * Expressão que define os caracteres permitidos na entrada.
190
- */
191
- "restrict": string;
192
- /**
193
- * Remove o foco do campo
194
- */
195
- "setBlur": () => Promise<void>;
196
- /**
197
- * Aplica o foco do campo
198
- */
199
- "setFocus": () => Promise<void>;
200
- /**
201
- * Define o valor do campo.
202
- */
203
- "value": string;
204
- }
205
64
  interface SnkActionsButton {
206
65
  }
207
66
  interface SnkActionsForm {
@@ -401,6 +260,10 @@ export namespace Components {
401
260
  * Abre determinada tela, repassando pkObject.
402
261
  */
403
262
  "openApp": (resourceId: string, pkObject: Object) => Promise<void>;
263
+ /**
264
+ * Remove registro do cache do PreLoader do dataunit. Deve ser usado quando existe um dataunit usando loader do application, mas o removeLoader está sendo sobrescrito.
265
+ */
266
+ "preloadMangerRemoveRecord": (dataUnit: DataUnit, recordsIDs: Array<string>) => Promise<void>;
404
267
  /**
405
268
  * Remove um client event para o DataFetcher da aplicação.
406
269
  * @param eventID - Nome do evento a ser removido.
@@ -605,6 +468,10 @@ export namespace Components {
605
468
  * Ativa inserção de registros no modo grade.
606
469
  */
607
470
  "enableGridInsert"?: boolean;
471
+ /**
472
+ * Ativa o gerenciamento de locks na grade.
473
+ */
474
+ "enableLockManger"?: boolean;
608
475
  /**
609
476
  * Chave da configuração legado da barra de filtros.
610
477
  */
@@ -855,68 +722,6 @@ export namespace Components {
855
722
  */
856
723
  "taskbarCustomContainerId": string;
857
724
  }
858
- interface SnkDistinctSearch {
859
- /**
860
- * Se false deixa de exibir a mensagem de erro dentro do campo.
861
- */
862
- "canShowError": boolean;
863
- /**
864
- * Método para limpa o campo de entrada de pesquisa
865
- */
866
- "clearInput": () => Promise<void>;
867
- /**
868
- * Método para fechar o modal
869
- */
870
- "closeModal": () => Promise<void>;
871
- /**
872
- * Dados para busca ao serviço.
873
- */
874
- "configSearch": IConfigSearch;
875
- /**
876
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
877
- */
878
- "debounceTime": number;
879
- /**
880
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
881
- */
882
- "errorMessage": string;
883
- /**
884
- * Retorna se o conteúdo é inválido.
885
- */
886
- "isInvalid": () => Promise<boolean>;
887
- /**
888
- * Label apresentada no input.
889
- */
890
- "label": string;
891
- /**
892
- * Número máximo de itens na lista.
893
- */
894
- "maxItems": number;
895
- /**
896
- * Define o tamanho do campo.
897
- */
898
- "mode": 'slim' | 'regular';
899
- /**
900
- * Método para abrir o modal
901
- */
902
- "openModal": () => Promise<void>;
903
- /**
904
- * Expressão que define os caracteres permitidos na entrada.
905
- */
906
- "restrict": string;
907
- /**
908
- * Remove o foco do campo
909
- */
910
- "setBlur": () => Promise<void>;
911
- /**
912
- * Aplica o foco do campo
913
- */
914
- "setFocus": () => Promise<void>;
915
- /**
916
- * Valor inicial do campo.
917
- */
918
- "value": string;
919
- }
920
725
  interface SnkEntityList {
921
726
  /**
922
727
  * Configurações para carregar os dados do componente
@@ -1038,6 +843,10 @@ export namespace Components {
1038
843
  * @param filterItem - Item a ser adicionado, caso o item já exista com o ID ele não será adicionado novamente
1039
844
  */
1040
845
  "addFilterItem": (filterItem: SnkFilterItemConfig) => Promise<void>;
846
+ /**
847
+ * Função chamada depois de aplicar os filtros.
848
+ */
849
+ "afterApplyConfig"?: () => void;
1041
850
  /**
1042
851
  * Define se a carga dos dados será feita assim que o componente for carregado.
1043
852
  */
@@ -1538,6 +1347,10 @@ export namespace Components {
1538
1347
  * Define se a carga dos dados será feita assim que o componente for carregado.
1539
1348
  */
1540
1349
  "autoLoad"?: boolean;
1350
+ /**
1351
+ * Altera visualmente as sombras e bordas do componente Quando true, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando false, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
1352
+ */
1353
+ "boxShadow"?: boolean;
1541
1354
  /**
1542
1355
  * Define se a edição está habilitada na grid.
1543
1356
  */
@@ -1555,6 +1368,10 @@ export namespace Components {
1555
1368
  * Ativa inserção de registros no modo grade.
1556
1369
  */
1557
1370
  "enableGridInsert"?: boolean;
1371
+ /**
1372
+ * Ativa o gerenciamento de locks na grade.
1373
+ */
1374
+ "enableLockManger"?: boolean;
1558
1375
  /**
1559
1376
  * Chave da configuração legado da barra de filtros.
1560
1377
  */
@@ -1880,6 +1697,10 @@ export namespace Components {
1880
1697
  * Define se a carga dos dados será feita assim que o componente for carregado.
1881
1698
  */
1882
1699
  "autoLoad"?: boolean;
1700
+ /**
1701
+ * Altera visualmente as sombras e bordas do componente Quando true, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando false, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
1702
+ */
1703
+ "boxShadow"?: boolean;
1883
1704
  /**
1884
1705
  * Usado para fechar o configurator do CRUD
1885
1706
  */
@@ -1898,6 +1719,7 @@ export namespace Components {
1898
1719
  * Ativa inserção de registros no modo grade.
1899
1720
  */
1900
1721
  "enableGridInsert"?: boolean;
1722
+ "enableLockManger"?: boolean;
1901
1723
  /**
1902
1724
  * Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
1903
1725
  */
@@ -2076,14 +1898,6 @@ export namespace Components {
2076
1898
  interface TestePesquisa {
2077
1899
  }
2078
1900
  }
2079
- export interface InputDistinctSearchCustomEvent<T> extends CustomEvent<T> {
2080
- detail: T;
2081
- target: HTMLInputDistinctSearchElement;
2082
- }
2083
- export interface SearchModalCustomEvent<T> extends CustomEvent<T> {
2084
- detail: T;
2085
- target: HTMLSearchModalElement;
2086
- }
2087
1901
  export interface SnkApplicationCustomEvent<T> extends CustomEvent<T> {
2088
1902
  detail: T;
2089
1903
  target: HTMLSnkApplicationElement;
@@ -2116,10 +1930,6 @@ export interface SnkDetailViewCustomEvent<T> extends CustomEvent<T> {
2116
1930
  detail: T;
2117
1931
  target: HTMLSnkDetailViewElement;
2118
1932
  }
2119
- export interface SnkDistinctSearchCustomEvent<T> extends CustomEvent<T> {
2120
- detail: T;
2121
- target: HTMLSnkDistinctSearchElement;
2122
- }
2123
1933
  export interface SnkEntityListCustomEvent<T> extends CustomEvent<T> {
2124
1934
  detail: T;
2125
1935
  target: HTMLSnkEntityListElement;
@@ -2253,18 +2063,6 @@ export interface TaskbarActionsButtonCustomEvent<T> extends CustomEvent<T> {
2253
2063
  target: HTMLTaskbarActionsButtonElement;
2254
2064
  }
2255
2065
  declare global {
2256
- interface HTMLInputDistinctSearchElement extends Components.InputDistinctSearch, HTMLStencilElement {
2257
- }
2258
- var HTMLInputDistinctSearchElement: {
2259
- prototype: HTMLInputDistinctSearchElement;
2260
- new (): HTMLInputDistinctSearchElement;
2261
- };
2262
- interface HTMLSearchModalElement extends Components.SearchModal, HTMLStencilElement {
2263
- }
2264
- var HTMLSearchModalElement: {
2265
- prototype: HTMLSearchModalElement;
2266
- new (): HTMLSearchModalElement;
2267
- };
2268
2066
  interface HTMLSnkActionsButtonElement extends Components.SnkActionsButton, HTMLStencilElement {
2269
2067
  }
2270
2068
  var HTMLSnkActionsButtonElement: {
@@ -2337,12 +2135,6 @@ declare global {
2337
2135
  prototype: HTMLSnkDetailViewElement;
2338
2136
  new (): HTMLSnkDetailViewElement;
2339
2137
  };
2340
- interface HTMLSnkDistinctSearchElement extends Components.SnkDistinctSearch, HTMLStencilElement {
2341
- }
2342
- var HTMLSnkDistinctSearchElement: {
2343
- prototype: HTMLSnkDistinctSearchElement;
2344
- new (): HTMLSnkDistinctSearchElement;
2345
- };
2346
2138
  interface HTMLSnkEntityListElement extends Components.SnkEntityList, HTMLStencilElement {
2347
2139
  }
2348
2140
  var HTMLSnkEntityListElement: {
@@ -2584,8 +2376,6 @@ declare global {
2584
2376
  new (): HTMLTestePesquisaElement;
2585
2377
  };
2586
2378
  interface HTMLElementTagNameMap {
2587
- "input-distinct-search": HTMLInputDistinctSearchElement;
2588
- "search-modal": HTMLSearchModalElement;
2589
2379
  "snk-actions-button": HTMLSnkActionsButtonElement;
2590
2380
  "snk-actions-form": HTMLSnkActionsFormElement;
2591
2381
  "snk-application": HTMLSnkApplicationElement;
@@ -2598,7 +2388,6 @@ declare global {
2598
2388
  "snk-data-exporter": HTMLSnkDataExporterElement;
2599
2389
  "snk-data-unit": HTMLSnkDataUnitElement;
2600
2390
  "snk-detail-view": HTMLSnkDetailViewElement;
2601
- "snk-distinct-search": HTMLSnkDistinctSearchElement;
2602
2391
  "snk-entity-list": HTMLSnkEntityListElement;
2603
2392
  "snk-exporter-email-sender": HTMLSnkExporterEmailSenderElement;
2604
2393
  "snk-expression-group": HTMLSnkExpressionGroupElement;
@@ -2642,114 +2431,6 @@ declare global {
2642
2431
  }
2643
2432
  }
2644
2433
  declare namespace LocalJSX {
2645
- interface InputDistinctSearch {
2646
- /**
2647
- * SnkApplication
2648
- */
2649
- "application"?: SnkApplication;
2650
- /**
2651
- * Se false deixa de exibir a mensagem de erro dentro do campo.
2652
- */
2653
- "canShowError"?: boolean;
2654
- /**
2655
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
2656
- */
2657
- "debounceTime"?: number;
2658
- /**
2659
- * Lista completa de items distintos.
2660
- */
2661
- "distinctItems"?: string[];
2662
- /**
2663
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
2664
- */
2665
- "errorMessage"?: string;
2666
- /**
2667
- * Label apresentada no input.
2668
- */
2669
- "label"?: string;
2670
- /**
2671
- * Número máximo de itens na lista.
2672
- */
2673
- "maxItems"?: number;
2674
- /**
2675
- * Define o tamanho do campo.
2676
- */
2677
- "mode"?: 'slim' | 'regular';
2678
- /**
2679
- * Emitido quando há uma alteração no valor do campo.
2680
- */
2681
- "onChangeValue"?: (event: InputDistinctSearchCustomEvent<IDistinctValue>) => void;
2682
- /**
2683
- * Emitido quando o icone de pesquisa é clicado.
2684
- */
2685
- "onIconClick"?: (event: InputDistinctSearchCustomEvent<void>) => void;
2686
- /**
2687
- * Expressão que define os caracteres permitidos na entrada.
2688
- */
2689
- "restrict"?: string;
2690
- /**
2691
- * Valor inicial do campo.
2692
- */
2693
- "value"?: string;
2694
- }
2695
- interface SearchModal {
2696
- /**
2697
- * SnkApplication
2698
- */
2699
- "application"?: SnkApplication;
2700
- /**
2701
- * Se false deixa de exibir a mensagem de erro dentro do campo.
2702
- */
2703
- "canShowError"?: boolean;
2704
- /**
2705
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
2706
- */
2707
- "debounceTime"?: number;
2708
- /**
2709
- * Recebe a mensagem de vazio ou personalizada
2710
- */
2711
- "emptyMessage"?: HTMLElement | string;
2712
- /**
2713
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
2714
- */
2715
- "errorMessage"?: string;
2716
- /**
2717
- * Texto exibido como placeholder no campo de pesquisa.
2718
- */
2719
- "label"?: string;
2720
- /**
2721
- * Lista de itens exibidas conforme o usuário digita.
2722
- */
2723
- "listItens"?: string[];
2724
- /**
2725
- * Limita a quantidade de registros apresentados na tela
2726
- */
2727
- "maxItens"?: number;
2728
- /**
2729
- * Define o tamanho do campo.
2730
- */
2731
- "mode"?: 'slim' | 'regular';
2732
- /**
2733
- * Emitido quando há uma alteração no valor do campo.
2734
- */
2735
- "onChangeValue"?: (event: SearchModalCustomEvent<IDistinctValue>) => void;
2736
- /**
2737
- * Emitido ao fechar o popup
2738
- */
2739
- "onPopupClose"?: (event: SearchModalCustomEvent<boolean>) => void;
2740
- /**
2741
- * Define se o ez-popover está aberto.
2742
- */
2743
- "opened"?: boolean;
2744
- /**
2745
- * Expressão que define os caracteres permitidos na entrada.
2746
- */
2747
- "restrict"?: string;
2748
- /**
2749
- * Define o valor do campo.
2750
- */
2751
- "value"?: string;
2752
- }
2753
2434
  interface SnkActionsButton {
2754
2435
  }
2755
2436
  interface SnkActionsForm {
@@ -2934,6 +2615,10 @@ declare namespace LocalJSX {
2934
2615
  * Ativa inserção de registros no modo grade.
2935
2616
  */
2936
2617
  "enableGridInsert"?: boolean;
2618
+ /**
2619
+ * Ativa o gerenciamento de locks na grade.
2620
+ */
2621
+ "enableLockManger"?: boolean;
2937
2622
  /**
2938
2623
  * Chave da configuração legado da barra de filtros.
2939
2624
  */
@@ -3178,48 +2863,6 @@ declare namespace LocalJSX {
3178
2863
  */
3179
2864
  "taskbarCustomContainerId"?: string;
3180
2865
  }
3181
- interface SnkDistinctSearch {
3182
- /**
3183
- * Se false deixa de exibir a mensagem de erro dentro do campo.
3184
- */
3185
- "canShowError"?: boolean;
3186
- /**
3187
- * Dados para busca ao serviço.
3188
- */
3189
- "configSearch"?: IConfigSearch;
3190
- /**
3191
- * Tempo em milissegundos para debouncing das chamadas de busca de sugestões.
3192
- */
3193
- "debounceTime"?: number;
3194
- /**
3195
- * Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
3196
- */
3197
- "errorMessage"?: string;
3198
- /**
3199
- * Label apresentada no input.
3200
- */
3201
- "label"?: string;
3202
- /**
3203
- * Número máximo de itens na lista.
3204
- */
3205
- "maxItems"?: number;
3206
- /**
3207
- * Define o tamanho do campo.
3208
- */
3209
- "mode"?: 'slim' | 'regular';
3210
- /**
3211
- * Emitido quando há uma alteração no valor do campo.
3212
- */
3213
- "onChangeValue"?: (event: SnkDistinctSearchCustomEvent<IDistinctValue>) => void;
3214
- /**
3215
- * Expressão que define os caracteres permitidos na entrada.
3216
- */
3217
- "restrict"?: string;
3218
- /**
3219
- * Valor inicial do campo.
3220
- */
3221
- "value"?: string;
3222
- }
3223
2866
  interface SnkEntityList {
3224
2867
  /**
3225
2868
  * Configurações para carregar os dados do componente
@@ -3365,6 +3008,10 @@ declare namespace LocalJSX {
3365
3008
  "onEzChangeFilter"?: (event: SnkFilterAssistentModeCustomEvent<IPersonalizedFilter>) => void;
3366
3009
  }
3367
3010
  interface SnkFilterBar {
3011
+ /**
3012
+ * Função chamada depois de aplicar os filtros.
3013
+ */
3014
+ "afterApplyConfig"?: () => void;
3368
3015
  /**
3369
3016
  * Define se a carga dos dados será feita assim que o componente for carregado.
3370
3017
  */
@@ -3834,6 +3481,10 @@ declare namespace LocalJSX {
3834
3481
  * Define se a carga dos dados será feita assim que o componente for carregado.
3835
3482
  */
3836
3483
  "autoLoad"?: boolean;
3484
+ /**
3485
+ * Altera visualmente as sombras e bordas do componente Quando true, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando false, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
3486
+ */
3487
+ "boxShadow"?: boolean;
3837
3488
  /**
3838
3489
  * Define se a edição está habilitada na grid.
3839
3490
  */
@@ -3851,6 +3502,10 @@ declare namespace LocalJSX {
3851
3502
  * Ativa inserção de registros no modo grade.
3852
3503
  */
3853
3504
  "enableGridInsert"?: boolean;
3505
+ /**
3506
+ * Ativa o gerenciamento de locks na grade.
3507
+ */
3508
+ "enableLockManger"?: boolean;
3854
3509
  /**
3855
3510
  * Chave da configuração legado da barra de filtros.
3856
3511
  */
@@ -4151,6 +3806,10 @@ declare namespace LocalJSX {
4151
3806
  * Define se a carga dos dados será feita assim que o componente for carregado.
4152
3807
  */
4153
3808
  "autoLoad"?: boolean;
3809
+ /**
3810
+ * Altera visualmente as sombras e bordas do componente Quando true, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando false, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
3811
+ */
3812
+ "boxShadow"?: boolean;
4154
3813
  /**
4155
3814
  * Usado para salvar as configurações dos blocos de construção.
4156
3815
  */
@@ -4165,6 +3824,7 @@ declare namespace LocalJSX {
4165
3824
  * Ativa inserção de registros no modo grade.
4166
3825
  */
4167
3826
  "enableGridInsert"?: boolean;
3827
+ "enableLockManger"?: boolean;
4168
3828
  /**
4169
3829
  * Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
4170
3830
  */
@@ -4383,8 +4043,6 @@ declare namespace LocalJSX {
4383
4043
  interface TestePesquisa {
4384
4044
  }
4385
4045
  interface IntrinsicElements {
4386
- "input-distinct-search": InputDistinctSearch;
4387
- "search-modal": SearchModal;
4388
4046
  "snk-actions-button": SnkActionsButton;
4389
4047
  "snk-actions-form": SnkActionsForm;
4390
4048
  "snk-application": SnkApplication;
@@ -4397,7 +4055,6 @@ declare namespace LocalJSX {
4397
4055
  "snk-data-exporter": SnkDataExporter;
4398
4056
  "snk-data-unit": SnkDataUnit;
4399
4057
  "snk-detail-view": SnkDetailView;
4400
- "snk-distinct-search": SnkDistinctSearch;
4401
4058
  "snk-entity-list": SnkEntityList;
4402
4059
  "snk-exporter-email-sender": SnkExporterEmailSender;
4403
4060
  "snk-expression-group": SnkExpressionGroup;
@@ -4444,8 +4101,6 @@ export { LocalJSX as JSX };
4444
4101
  declare module "@stencil/core" {
4445
4102
  export namespace JSX {
4446
4103
  interface IntrinsicElements {
4447
- "input-distinct-search": LocalJSX.InputDistinctSearch & JSXBase.HTMLAttributes<HTMLInputDistinctSearchElement>;
4448
- "search-modal": LocalJSX.SearchModal & JSXBase.HTMLAttributes<HTMLSearchModalElement>;
4449
4104
  "snk-actions-button": LocalJSX.SnkActionsButton & JSXBase.HTMLAttributes<HTMLSnkActionsButtonElement>;
4450
4105
  "snk-actions-form": LocalJSX.SnkActionsForm & JSXBase.HTMLAttributes<HTMLSnkActionsFormElement>;
4451
4106
  "snk-application": LocalJSX.SnkApplication & JSXBase.HTMLAttributes<HTMLSnkApplicationElement>;
@@ -4458,7 +4113,6 @@ declare module "@stencil/core" {
4458
4113
  "snk-data-exporter": LocalJSX.SnkDataExporter & JSXBase.HTMLAttributes<HTMLSnkDataExporterElement>;
4459
4114
  "snk-data-unit": LocalJSX.SnkDataUnit & JSXBase.HTMLAttributes<HTMLSnkDataUnitElement>;
4460
4115
  "snk-detail-view": LocalJSX.SnkDetailView & JSXBase.HTMLAttributes<HTMLSnkDetailViewElement>;
4461
- "snk-distinct-search": LocalJSX.SnkDistinctSearch & JSXBase.HTMLAttributes<HTMLSnkDistinctSearchElement>;
4462
4116
  "snk-entity-list": LocalJSX.SnkEntityList & JSXBase.HTMLAttributes<HTMLSnkEntityListElement>;
4463
4117
  "snk-exporter-email-sender": LocalJSX.SnkExporterEmailSender & JSXBase.HTMLAttributes<HTMLSnkExporterEmailSenderElement>;
4464
4118
  "snk-expression-group": LocalJSX.SnkExpressionGroup & JSXBase.HTMLAttributes<HTMLSnkExpressionGroupElement>;
@@ -1,5 +1,6 @@
1
1
  export default class ParametersFetcher {
2
2
  private _embeddedParams;
3
+ private _cachedParams;
3
4
  private templateByQuery;
4
5
  constructor();
5
6
  private buldTemplates;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/sankhyablocks",
3
- "version": "0.0.0-bugfix-dev-KB-76362.1",
3
+ "version": "0.0.0-bugfix-dev-KB-78242.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { JSX } from '@sankhyalabs/sankhyablocks';
3
- export declare const InputDistinctSearch: import("react").ForwardRefExoticComponent<JSX.InputDistinctSearch & Omit<import("react").HTMLAttributes<HTMLInputDistinctSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLInputDistinctSearchElement>>;
4
- export declare const SearchModal: import("react").ForwardRefExoticComponent<JSX.SearchModal & Omit<import("react").HTMLAttributes<HTMLSearchModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSearchModalElement>>;
5
3
  export declare const SnkActionsButton: import("react").ForwardRefExoticComponent<JSX.SnkActionsButton & Omit<import("react").HTMLAttributes<HTMLSnkActionsButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsButtonElement>>;
6
4
  export declare const SnkActionsForm: import("react").ForwardRefExoticComponent<JSX.SnkActionsForm & Omit<import("react").HTMLAttributes<HTMLSnkActionsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsFormElement>>;
7
5
  export declare const SnkApplication: import("react").ForwardRefExoticComponent<JSX.SnkApplication & Omit<import("react").HTMLAttributes<HTMLSnkApplicationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkApplicationElement>>;
@@ -14,7 +12,6 @@ export declare const SnkCustomSlotElements: import("react").ForwardRefExoticComp
14
12
  export declare const SnkDataExporter: import("react").ForwardRefExoticComponent<JSX.SnkDataExporter & Omit<import("react").HTMLAttributes<HTMLSnkDataExporterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkDataExporterElement>>;
15
13
  export declare const SnkDataUnit: import("react").ForwardRefExoticComponent<JSX.SnkDataUnit & Omit<import("react").HTMLAttributes<HTMLSnkDataUnitElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkDataUnitElement>>;
16
14
  export declare const SnkDetailView: import("react").ForwardRefExoticComponent<JSX.SnkDetailView & Omit<import("react").HTMLAttributes<HTMLSnkDetailViewElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkDetailViewElement>>;
17
- export declare const SnkDistinctSearch: import("react").ForwardRefExoticComponent<JSX.SnkDistinctSearch & Omit<import("react").HTMLAttributes<HTMLSnkDistinctSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkDistinctSearchElement>>;
18
15
  export declare const SnkEntityList: import("react").ForwardRefExoticComponent<JSX.SnkEntityList & Omit<import("react").HTMLAttributes<HTMLSnkEntityListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkEntityListElement>>;
19
16
  export declare const SnkExporterEmailSender: import("react").ForwardRefExoticComponent<JSX.SnkExporterEmailSender & Omit<import("react").HTMLAttributes<HTMLSnkExporterEmailSenderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkExporterEmailSenderElement>>;
20
17
  export declare const SnkExpressionGroup: import("react").ForwardRefExoticComponent<JSX.SnkExpressionGroup & Omit<import("react").HTMLAttributes<HTMLSnkExpressionGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkExpressionGroupElement>>;
@@ -2,8 +2,6 @@
2
2
  /* tslint:disable */
3
3
  /* auto-generated react proxies */
4
4
  import { createReactComponent } from './react-component-lib';
5
- export const InputDistinctSearch = /*@__PURE__*/ createReactComponent('input-distinct-search');
6
- export const SearchModal = /*@__PURE__*/ createReactComponent('search-modal');
7
5
  export const SnkActionsButton = /*@__PURE__*/ createReactComponent('snk-actions-button');
8
6
  export const SnkActionsForm = /*@__PURE__*/ createReactComponent('snk-actions-form');
9
7
  export const SnkApplication = /*@__PURE__*/ createReactComponent('snk-application');
@@ -16,7 +14,6 @@ export const SnkCustomSlotElements = /*@__PURE__*/ createReactComponent('snk-cus
16
14
  export const SnkDataExporter = /*@__PURE__*/ createReactComponent('snk-data-exporter');
17
15
  export const SnkDataUnit = /*@__PURE__*/ createReactComponent('snk-data-unit');
18
16
  export const SnkDetailView = /*@__PURE__*/ createReactComponent('snk-detail-view');
19
- export const SnkDistinctSearch = /*@__PURE__*/ createReactComponent('snk-distinct-search');
20
17
  export const SnkEntityList = /*@__PURE__*/ createReactComponent('snk-entity-list');
21
18
  export const SnkExporterEmailSender = /*@__PURE__*/ createReactComponent('snk-exporter-email-sender');
22
19
  export const SnkExpressionGroup = /*@__PURE__*/ createReactComponent('snk-expression-group');