@sankhyalabs/sankhyablocks 1.3.31-beta.17 → 1.3.31-beta.18

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 (98) hide show
  1. package/dist/cjs/{SnkMessageBuilder-cb132e6d.js → SnkMessageBuilder-02c2ca02.js} +7 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  4. package/dist/cjs/snk-application.cjs.entry.js +376 -256
  5. package/dist/cjs/snk-crud.cjs.entry.js +2 -1
  6. package/dist/cjs/snk-data-unit.cjs.entry.js +1 -1
  7. package/dist/cjs/snk-filter-bar.cjs.entry.js +61 -13
  8. package/dist/cjs/snk-filter-detail.cjs.entry.js +6 -1
  9. package/dist/cjs/snk-filter-item.cjs.entry.js +12 -0
  10. package/dist/cjs/snk-filter-list.cjs.entry.js +2 -2
  11. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +23 -0
  12. package/dist/cjs/snk-filter-number.cjs.entry.js +2 -1
  13. package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
  14. package/dist/cjs/snk-form.cjs.entry.js +19 -1
  15. package/dist/cjs/snk-grid.cjs.entry.js +15 -5
  16. package/dist/cjs/snk-taskbar.cjs.entry.js +14 -11
  17. package/dist/cjs/{taskbar-elements-efa44ff1.js → taskbar-elements-283c737e.js} +36 -17
  18. package/dist/cjs/taskbar-processor-6bd0d35c.js +47 -0
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/snk-crud/snk-crud.js +41 -3
  21. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +64 -0
  22. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +2 -1
  23. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +1 -1
  24. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +6 -1
  25. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +35 -0
  26. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +53 -2
  27. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +15 -0
  28. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +60 -12
  29. package/dist/collection/components/snk-form/snk-form.js +41 -1
  30. package/dist/collection/components/snk-grid/snk-grid.js +35 -3
  31. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +35 -17
  32. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
  33. package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -11
  34. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +375 -255
  35. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +7 -3
  36. package/dist/components/SnkMessageBuilder.js +7 -3
  37. package/dist/components/index.d.ts +1 -0
  38. package/dist/components/index.js +1 -0
  39. package/dist/components/snk-application2.js +375 -255
  40. package/dist/components/snk-crud.js +4 -2
  41. package/dist/components/snk-filter-bar2.js +61 -13
  42. package/dist/components/snk-filter-detail2.js +6 -1
  43. package/dist/components/snk-filter-item2.js +14 -1
  44. package/dist/components/snk-filter-list2.js +5 -2
  45. package/dist/components/snk-filter-multi-select.d.ts +11 -0
  46. package/dist/components/snk-filter-multi-select.js +39 -0
  47. package/dist/components/snk-filter-number.js +2 -1
  48. package/dist/components/snk-filter-search.js +1 -1
  49. package/dist/components/snk-form2.js +20 -1
  50. package/dist/components/snk-grid2.js +15 -4
  51. package/dist/components/snk-taskbar2.js +49 -27
  52. package/dist/components/taskbar-processor.js +45 -0
  53. package/dist/{sankhyablocks/SnkMessageBuilder-cff80920.js → esm/SnkMessageBuilder-65d431bd.js} +7 -3
  54. package/dist/esm/loader.js +1 -1
  55. package/dist/esm/sankhyablocks.js +1 -1
  56. package/dist/esm/snk-application.entry.js +376 -256
  57. package/dist/esm/snk-crud.entry.js +3 -2
  58. package/dist/esm/snk-data-unit.entry.js +1 -1
  59. package/dist/esm/snk-filter-bar.entry.js +61 -13
  60. package/dist/esm/snk-filter-detail.entry.js +6 -1
  61. package/dist/esm/snk-filter-item.entry.js +12 -0
  62. package/dist/esm/snk-filter-list.entry.js +2 -2
  63. package/dist/esm/snk-filter-multi-select.entry.js +19 -0
  64. package/dist/esm/snk-filter-number.entry.js +2 -1
  65. package/dist/esm/snk-filter-search.entry.js +1 -1
  66. package/dist/esm/snk-form.entry.js +19 -1
  67. package/dist/esm/snk-grid.entry.js +15 -5
  68. package/dist/esm/snk-taskbar.entry.js +14 -11
  69. package/dist/esm/taskbar-elements-35d64ff9.js +90 -0
  70. package/dist/esm/taskbar-processor-aa6772c9.js +45 -0
  71. package/dist/{esm/SnkMessageBuilder-cff80920.js → sankhyablocks/SnkMessageBuilder-65d431bd.js} +7 -3
  72. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  73. package/dist/sankhyablocks/snk-application.entry.js +376 -256
  74. package/dist/sankhyablocks/snk-crud.entry.js +3 -2
  75. package/dist/sankhyablocks/snk-data-unit.entry.js +1 -1
  76. package/dist/sankhyablocks/snk-filter-bar.entry.js +61 -13
  77. package/dist/sankhyablocks/snk-filter-detail.entry.js +6 -1
  78. package/dist/sankhyablocks/snk-filter-item.entry.js +12 -0
  79. package/dist/sankhyablocks/snk-filter-list.entry.js +2 -2
  80. package/dist/sankhyablocks/snk-filter-multi-select.entry.js +19 -0
  81. package/dist/sankhyablocks/snk-filter-number.entry.js +2 -1
  82. package/dist/sankhyablocks/snk-filter-search.entry.js +1 -1
  83. package/dist/sankhyablocks/snk-form.entry.js +19 -1
  84. package/dist/sankhyablocks/snk-grid.entry.js +15 -5
  85. package/dist/sankhyablocks/snk-taskbar.entry.js +14 -11
  86. package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +90 -0
  87. package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +45 -0
  88. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +7 -0
  89. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -0
  90. package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +3 -0
  91. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +5 -3
  92. package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +3 -2
  93. package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
  94. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +17 -1
  95. package/dist/types/components.d.ts +78 -2
  96. package/package.json +1 -1
  97. package/dist/esm/taskbar-elements-c119510a.js +0 -72
  98. package/dist/sankhyablocks/taskbar-elements-c119510a.js +0 -72
@@ -4,261 +4,10 @@ export default class FilterBarConfigFetcher extends ResourceFetcher {
4
4
  getConfig(resourceID) {
5
5
  return new Promise((resolve) => {
6
6
  if (resourceID === "br.com.sankhya.fin.cad.movimentacaoFinanceira") {
7
- resolve([{
8
- id: "RECDESP",
9
- visible: true,
10
- label: "Receitas + Despesas",
11
- detailTitle: "Selecione o que deseja ver",
12
- type: FilterItemType.BINARY_SELECT,
13
- hardFixed: true,
14
- props: {
15
- options: [
16
- { name: "RECEITA", expression: "this.RECDESP = 1", label: "Receitas" },
17
- { name: "DESPESA", expression: "this.RECDESP = -1", label: "Despesas" }
18
- ]
19
- }
20
- },
21
- {
22
- id: "PROVISAO",
23
- visible: true,
24
- label: "Real + Provisão",
25
- detailTitle: "Selecione o que deseja ver",
26
- type: FilterItemType.BINARY_SELECT,
27
- hardFixed: true,
28
- props: {
29
- options: [
30
- { name: "REAL", expression: "nullvalue(this.PROVISAO, 'N') = 'N'", label: "Real" },
31
- { name: "PROVISAO", expression: "nullvalue(this.PROVISAO, 'N') = 'S'", label: "Provisão" }
32
- ]
33
- }
34
- },
35
- {
36
- id: "BAIXADO",
37
- visible: true,
38
- label: "Pendentes + Baixados",
39
- detailTitle: "Selecione o que deseja ver",
40
- type: FilterItemType.BINARY_SELECT,
41
- hardFixed: true,
42
- props: {
43
- options: [
44
- { name: "PENDENTE", expression: "this.DHBAIXA IS NULL", label: "Pendentes" },
45
- { name: "BAIXADO", expression: "this.DHBAIXA IS NOT NULL", label: "Baixados" }
46
- ]
47
- }
48
- },
49
- {
50
- id: "DTVENC",
51
- visible: true,
52
- type: FilterItemType.PERIOD,
53
- label: "Dt. Vencimento",
54
- detailTitle: "Informe a data ou período",
55
- props: {
56
- expression: {
57
- fullfill: "onlydate(this.DTVENC) >= :DTVENC.START AND onlydate(this.DTVENC) <= :DTVENC.END",
58
- onlystart: "onlydate(this.DTVENC) >= :DTVENC",
59
- onlyend: "onlydate(this.DTVENC) <= :DTVENC"
60
- }
61
- }
62
- },
63
- {
64
- id: "CODPARC",
65
- visible: true,
66
- type: FilterItemType.SEARCH,
67
- label: "Parceiro",
68
- detailTitle: "Informe o parceiro",
69
- props: {
70
- expression: "this.CODPARC = :CODPARC",
71
- searchContext: {
72
- entity: "Parceiro",
73
- entityDescription: "Parceiro",
74
- searchOptions: {
75
- rootEntity: "Financeiro",
76
- descriptionFieldName: "NOMEPARC",
77
- codeFieldName: "CODPARC",
78
- showInactives: false
79
- }
80
- }
81
- }
82
- },
83
- {
84
- id: "NUFIN",
85
- type: FilterItemType.NUMBER,
86
- visible: true,
87
- label: "Nr. único",
88
- detailTitle: "Informe o número único",
89
- props: {
90
- expression: "this.NUFIN = :NUFIN"
91
- }
92
- },
93
- {
94
- id: "NUMNOTA",
95
- visible: true,
96
- type: FilterItemType.NUMBER,
97
- label: "Nr. Nota",
98
- detailTitle: "Informe o número da nota",
99
- props: {
100
- expression: "this.NUMNOTA = :NUMNOTA"
101
- }
102
- },
103
- {
104
- id: "DHBAIXA",
105
- visible: true,
106
- type: FilterItemType.PERIOD,
107
- label: "Data da Baixa",
108
- detailTitle: "Informe a data ou período",
109
- props: {
110
- expression: {
111
- fullfill: "onlydate(this.DHBAIXA) >= :DHBAIXA.START AND onlydate(this.DHBAIXA) <= :DHBAIXA.END",
112
- onlystart: "onlydate(this.DHBAIXA) >= :DHBAIXA",
113
- onlyend: "onlydate(this.DHBAIXA) <= :DHBAIXA"
114
- }
115
- }
116
- },
117
- {
118
- id: "CODEMP",
119
- visible: false,
120
- type: FilterItemType.SEARCH,
121
- label: "Empresa",
122
- detailTitle: "Informe a empresa",
123
- props: {
124
- expression: "this.CODEMP = :CODEMP",
125
- searchContext: {
126
- entity: "Empresa",
127
- entityDescription: "Empresa",
128
- searchOptions: {
129
- rootEntity: "Financeiro",
130
- descriptionFieldName: "NOMEFANTASIA",
131
- codeFieldName: "CODEMP",
132
- showInactives: false
133
- }
134
- }
135
- }
136
- },
137
- {
138
- id: "CODNAT",
139
- visible: false,
140
- type: FilterItemType.SEARCH,
141
- label: "Natureza",
142
- detailTitle: "Informe a natureza",
143
- props: {
144
- expression: "this.CODNAT = :CODNAT",
145
- searchContext: {
146
- entity: "Natureza",
147
- entityDescription: "Natureza",
148
- searchOptions: {
149
- rootEntity: "Financeiro",
150
- descriptionFieldName: "DESCRNAT",
151
- codeFieldName: "CODNAT",
152
- showInactives: false
153
- }
154
- }
155
- }
156
- },
157
- {
158
- id: "DTNEG",
159
- visible: false,
160
- type: FilterItemType.PERIOD,
161
- label: "Dt. Negociação",
162
- detailTitle: "Informe a data ou período",
163
- props: {
164
- expression: {
165
- fullfill: "onlydate(this.DTNEG) >= :DTNEG.START AND onlydate(this.DTNEG) <= :DTNEG.END",
166
- onlystart: "onlydate(this.DTNEG) >= :DTNEG",
167
- onlyend: "onlydate(this.DTNEG) <= :DTNEG"
168
- }
169
- }
170
- },
171
- {
172
- id: "NUNOTA",
173
- visible: false,
174
- type: FilterItemType.NUMBER,
175
- label: "Nro Único do Pedido",
176
- detailTitle: "Informe o número único do pedido",
177
- props: {
178
- expression: "this.NUNOTA = :NUNOTA"
179
- }
180
- },
181
- {
182
- id: "CODCENCUS",
183
- visible: false,
184
- type: FilterItemType.SEARCH,
185
- label: "Centro de resultado",
186
- detailTitle: "Informe o centro de resultado",
187
- props: {
188
- expression: "this.CODCENCUS = :CODCENCUS",
189
- searchContext: {
190
- entity: "CentroResultado",
191
- entityDescription: "Centro de resultado",
192
- searchOptions: {
193
- rootEntity: "Financeiro",
194
- descriptionFieldName: "DESCRCENCUS",
195
- codeFieldName: "CODCENCUS",
196
- showInactives: false
197
- }
198
- }
199
- }
200
- },
201
- {
202
- id: "CODCTABCOINT",
203
- visible: false,
204
- type: FilterItemType.SEARCH,
205
- label: "Conta bancária",
206
- detailTitle: "Informe a conta bancária",
207
- props: {
208
- expression: "this.CODCTABCOINT = :CODCTABCOINT",
209
- searchContext: {
210
- entity: "ContaBancaria",
211
- entityDescription: "Conta bancária",
212
- searchOptions: {
213
- rootEntity: "Financeiro",
214
- descriptionFieldName: "DESCRICAO",
215
- codeFieldName: "CODCTABCOINT",
216
- showInactives: false
217
- }
218
- }
219
- }
220
- },
221
- {
222
- id: "CODBCO",
223
- visible: false,
224
- type: FilterItemType.SEARCH,
225
- label: "Banco",
226
- detailTitle: "Informe o banco",
227
- props: {
228
- expression: "this.CODBCO = :CODBCO",
229
- searchContext: {
230
- entity: "Banco",
231
- entityDescription: "Banco",
232
- searchOptions: {
233
- rootEntity: "Financeiro",
234
- descriptionFieldName: "NOMEBCO",
235
- codeFieldName: "CODBCO",
236
- showInactives: false
237
- }
238
- }
239
- }
240
- },
241
- {
242
- id: "CODPROJ",
243
- visible: false,
244
- type: FilterItemType.SEARCH,
245
- label: "Projeto",
246
- detailTitle: "Informe o projeto",
247
- props: {
248
- expression: "this.CODPROJ = :CODPROJ",
249
- searchContext: {
250
- entity: "Projeto",
251
- entityDescription: "Projeto",
252
- searchOptions: {
253
- rootEntity: "Financeiro",
254
- descriptionFieldName: "IDENTIFICACAO",
255
- codeFieldName: "CODPROJ",
256
- showInactives: false
257
- }
258
- }
259
- }
260
- }
261
- ]);
7
+ resolve(getFiltrosMovFin());
8
+ }
9
+ else if (resourceID === "br.com.sankhya.fin.cad.movimentacaoBancaria") {
10
+ resolve(getFiltrosMovBan());
262
11
  }
263
12
  else {
264
13
  resolve(undefined);
@@ -266,3 +15,374 @@ export default class FilterBarConfigFetcher extends ResourceFetcher {
266
15
  });
267
16
  }
268
17
  }
18
+ function getFiltrosMovBan() {
19
+ return [{
20
+ "id": "DTLANC",
21
+ "visible": true,
22
+ "type": FilterItemType.PERIOD,
23
+ "label": "Dt Lançamento",
24
+ "detailTitle": "Informe a data ou período",
25
+ "props": {
26
+ "expression": {
27
+ "fullfill": "onlydate(this.DTLANC) >= :DTLANC.START AND onlydate(this.DTLANC) <= :DTLANC.END",
28
+ "onlystart": "onlydate(this.DTLANC) >= :DTLANC",
29
+ "onlyend": "onlydate(this.DTLANC) <= :DTLANC"
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "id": "CODCTABCOINT",
35
+ "visible": true,
36
+ "type": FilterItemType.SEARCH,
37
+ "label": "Conta origem",
38
+ "detailTitle": "Informe a conta de origem",
39
+ "props": {
40
+ "expression": "this.CODCTABCOINT = :CODCTABCOINT",
41
+ "searchContext": {
42
+ "entity": "ImplantacaoSaldoConta",
43
+ "entityDescription": "Conta origem",
44
+ "searchOptions": {
45
+ "rootEntity": "MovimentoBancario",
46
+ "descriptionFieldName": "DESCRICAO",
47
+ "codeFieldName": "CODCTABCOINT",
48
+ "showInactives": false
49
+ }
50
+ }
51
+ }
52
+ },
53
+ {
54
+ "id": "CODTIPOPER",
55
+ "visible": false,
56
+ "type": FilterItemType.SEARCH,
57
+ "label": "Tipo de operação",
58
+ "detailTitle": "Informe o tipo de operação",
59
+ "props": {
60
+ "expression": "this.CODTIPOPER = :CODTIPOPER",
61
+ "searchContext": {
62
+ "entity": "TipoOperacao",
63
+ "entityDescription": "Tipo de operação",
64
+ "searchOptions": {
65
+ "rootEntity": "MovimentoBancario",
66
+ "descriptionFieldName": "DESCROPER",
67
+ "codeFieldName": "CODTIPOPER",
68
+ "showInactives": false
69
+ }
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "id": "ORIGMOV",
75
+ "visible": false,
76
+ "type": FilterItemType.MULTI_SELECT,
77
+ "label": "Tipo de movimento",
78
+ "detailTitle": "Escolha um tipo de movimento",
79
+ "props": {
80
+ "expression": "this.ORIGMOV = :ORIGMOV",
81
+ "options": [
82
+ { "value": "A", "label": "Aplicação" },
83
+ { "value": "R", "label": "Resgate" },
84
+ { "value": "S", "label": "Saque" },
85
+ { "value": "D", "label": "Depósito" },
86
+ { "value": "T", "label": "Transferência" }
87
+ ]
88
+ }
89
+ },
90
+ {
91
+ "id": "NUBCO",
92
+ "type": FilterItemType.NUMBER,
93
+ "visible": false,
94
+ "label": "Nr. único",
95
+ "detailTitle": "Informe o número único",
96
+ "props": {
97
+ "expression": "this.NUBCO = :NUBCO"
98
+ }
99
+ },
100
+ {
101
+ "id": "VLRLANC",
102
+ "type": FilterItemType.NUMBER,
103
+ "visible": false,
104
+ "label": "Vlr. Lançamento",
105
+ "detailTitle": "Informe o valor do lançamento",
106
+ "props": {
107
+ "expression": "this.VLRLANC = :VLRLANC",
108
+ "precision": 2
109
+ }
110
+ },
111
+ {
112
+ "id": "CODLANC",
113
+ "visible": false,
114
+ "type": FilterItemType.SEARCH,
115
+ "label": "Lançamento origem",
116
+ "detailTitle": "Informe o lançamento de origem",
117
+ "props": {
118
+ "expression": "this.CODLANC = :CODLANC",
119
+ "searchContext": {
120
+ "entity": "HistoricoBancario",
121
+ "entityDescription": "Lançamento origem",
122
+ "searchOptions": {
123
+ "rootEntity": "MovimentoBancario",
124
+ "descriptionFieldName": "DESCRLANCBCO",
125
+ "codeFieldName": "CODLANC",
126
+ "showInactives": false
127
+ }
128
+ }
129
+ }
130
+ }];
131
+ }
132
+ function getFiltrosMovFin() {
133
+ return [{
134
+ id: "RECDESP",
135
+ visible: true,
136
+ label: "Receitas + Despesas",
137
+ detailTitle: "Selecione o que deseja ver",
138
+ type: FilterItemType.BINARY_SELECT,
139
+ hardFixed: true,
140
+ props: {
141
+ options: [
142
+ { name: "RECEITA", expression: "this.RECDESP = 1", label: "Receitas" },
143
+ { name: "DESPESA", expression: "this.RECDESP = -1", label: "Despesas" }
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ id: "PROVISAO",
149
+ visible: true,
150
+ label: "Real + Provisão",
151
+ detailTitle: "Selecione o que deseja ver",
152
+ type: FilterItemType.BINARY_SELECT,
153
+ hardFixed: true,
154
+ props: {
155
+ options: [
156
+ { name: "REAL", expression: "nullvalue(this.PROVISAO, 'N') = 'N'", label: "Real" },
157
+ { name: "PROVISAO", expression: "nullvalue(this.PROVISAO, 'N') = 'S'", label: "Provisão" }
158
+ ]
159
+ }
160
+ },
161
+ {
162
+ id: "BAIXADO",
163
+ visible: true,
164
+ label: "Pendentes + Baixados",
165
+ detailTitle: "Selecione o que deseja ver",
166
+ type: FilterItemType.BINARY_SELECT,
167
+ hardFixed: true,
168
+ props: {
169
+ options: [
170
+ { name: "PENDENTE", expression: "this.DHBAIXA IS NULL", label: "Pendentes" },
171
+ { name: "BAIXADO", expression: "this.DHBAIXA IS NOT NULL", label: "Baixados" }
172
+ ]
173
+ }
174
+ },
175
+ {
176
+ id: "DTVENC",
177
+ visible: true,
178
+ type: FilterItemType.PERIOD,
179
+ label: "Dt. Vencimento",
180
+ detailTitle: "Informe a data ou período",
181
+ props: {
182
+ expression: {
183
+ fullfill: "onlydate(this.DTVENC) >= :DTVENC.START AND onlydate(this.DTVENC) <= :DTVENC.END",
184
+ onlystart: "onlydate(this.DTVENC) >= :DTVENC",
185
+ onlyend: "onlydate(this.DTVENC) <= :DTVENC"
186
+ }
187
+ }
188
+ },
189
+ {
190
+ id: "CODPARC",
191
+ visible: true,
192
+ type: FilterItemType.SEARCH,
193
+ label: "Parceiro",
194
+ detailTitle: "Informe o parceiro",
195
+ props: {
196
+ expression: "this.CODPARC = :CODPARC",
197
+ searchContext: {
198
+ entity: "Parceiro",
199
+ entityDescription: "Parceiro",
200
+ searchOptions: {
201
+ rootEntity: "Financeiro",
202
+ descriptionFieldName: "NOMEPARC",
203
+ codeFieldName: "CODPARC",
204
+ showInactives: false
205
+ }
206
+ }
207
+ }
208
+ },
209
+ {
210
+ id: "NUFIN",
211
+ type: FilterItemType.NUMBER,
212
+ visible: true,
213
+ label: "Nr. único",
214
+ detailTitle: "Informe o número único",
215
+ props: {
216
+ expression: "this.NUFIN = :NUFIN"
217
+ }
218
+ },
219
+ {
220
+ id: "NUMNOTA",
221
+ visible: true,
222
+ type: FilterItemType.NUMBER,
223
+ label: "Nr. Nota",
224
+ detailTitle: "Informe o número da nota",
225
+ props: {
226
+ expression: "this.NUMNOTA = :NUMNOTA"
227
+ }
228
+ },
229
+ {
230
+ id: "DHBAIXA",
231
+ visible: true,
232
+ type: FilterItemType.PERIOD,
233
+ label: "Data da Baixa",
234
+ detailTitle: "Informe a data ou período",
235
+ props: {
236
+ expression: {
237
+ fullfill: "onlydate(this.DHBAIXA) >= :DHBAIXA.START AND onlydate(this.DHBAIXA) <= :DHBAIXA.END",
238
+ onlystart: "onlydate(this.DHBAIXA) >= :DHBAIXA",
239
+ onlyend: "onlydate(this.DHBAIXA) <= :DHBAIXA"
240
+ }
241
+ }
242
+ },
243
+ {
244
+ id: "CODEMP",
245
+ visible: false,
246
+ type: FilterItemType.SEARCH,
247
+ label: "Empresa",
248
+ detailTitle: "Informe a empresa",
249
+ props: {
250
+ expression: "this.CODEMP = :CODEMP",
251
+ searchContext: {
252
+ entity: "Empresa",
253
+ entityDescription: "Empresa",
254
+ searchOptions: {
255
+ rootEntity: "Financeiro",
256
+ descriptionFieldName: "NOMEFANTASIA",
257
+ codeFieldName: "CODEMP",
258
+ showInactives: false
259
+ }
260
+ }
261
+ }
262
+ },
263
+ {
264
+ id: "CODNAT",
265
+ visible: false,
266
+ type: FilterItemType.SEARCH,
267
+ label: "Natureza",
268
+ detailTitle: "Informe a natureza",
269
+ props: {
270
+ expression: "this.CODNAT = :CODNAT",
271
+ searchContext: {
272
+ entity: "Natureza",
273
+ entityDescription: "Natureza",
274
+ searchOptions: {
275
+ rootEntity: "Financeiro",
276
+ descriptionFieldName: "DESCRNAT",
277
+ codeFieldName: "CODNAT",
278
+ showInactives: false
279
+ }
280
+ }
281
+ }
282
+ },
283
+ {
284
+ id: "DTNEG",
285
+ visible: false,
286
+ type: FilterItemType.PERIOD,
287
+ label: "Dt. Negociação",
288
+ detailTitle: "Informe a data ou período",
289
+ props: {
290
+ expression: {
291
+ fullfill: "onlydate(this.DTNEG) >= :DTNEG.START AND onlydate(this.DTNEG) <= :DTNEG.END",
292
+ onlystart: "onlydate(this.DTNEG) >= :DTNEG",
293
+ onlyend: "onlydate(this.DTNEG) <= :DTNEG"
294
+ }
295
+ }
296
+ },
297
+ {
298
+ id: "NUNOTA",
299
+ visible: false,
300
+ type: FilterItemType.NUMBER,
301
+ label: "Nro Único do Pedido",
302
+ detailTitle: "Informe o número único do pedido",
303
+ props: {
304
+ expression: "this.NUNOTA = :NUNOTA"
305
+ }
306
+ },
307
+ {
308
+ id: "CODCENCUS",
309
+ visible: false,
310
+ type: FilterItemType.SEARCH,
311
+ label: "Centro de resultado",
312
+ detailTitle: "Informe o centro de resultado",
313
+ props: {
314
+ expression: "this.CODCENCUS = :CODCENCUS",
315
+ searchContext: {
316
+ entity: "CentroResultado",
317
+ entityDescription: "Centro de resultado",
318
+ searchOptions: {
319
+ rootEntity: "Financeiro",
320
+ descriptionFieldName: "DESCRCENCUS",
321
+ codeFieldName: "CODCENCUS",
322
+ showInactives: false
323
+ }
324
+ }
325
+ }
326
+ },
327
+ {
328
+ id: "CODCTABCOINT",
329
+ visible: false,
330
+ type: FilterItemType.SEARCH,
331
+ label: "Conta bancária",
332
+ detailTitle: "Informe a conta bancária",
333
+ props: {
334
+ expression: "this.CODCTABCOINT = :CODCTABCOINT",
335
+ searchContext: {
336
+ entity: "ContaBancaria",
337
+ entityDescription: "Conta bancária",
338
+ searchOptions: {
339
+ rootEntity: "Financeiro",
340
+ descriptionFieldName: "DESCRICAO",
341
+ codeFieldName: "CODCTABCOINT",
342
+ showInactives: false
343
+ }
344
+ }
345
+ }
346
+ },
347
+ {
348
+ id: "CODBCO",
349
+ visible: false,
350
+ type: FilterItemType.SEARCH,
351
+ label: "Banco",
352
+ detailTitle: "Informe o banco",
353
+ props: {
354
+ expression: "this.CODBCO = :CODBCO",
355
+ searchContext: {
356
+ entity: "Banco",
357
+ entityDescription: "Banco",
358
+ searchOptions: {
359
+ rootEntity: "Financeiro",
360
+ descriptionFieldName: "NOMEBCO",
361
+ codeFieldName: "CODBCO",
362
+ showInactives: false
363
+ }
364
+ }
365
+ }
366
+ },
367
+ {
368
+ id: "CODPROJ",
369
+ visible: false,
370
+ type: FilterItemType.SEARCH,
371
+ label: "Projeto",
372
+ detailTitle: "Informe o projeto",
373
+ props: {
374
+ expression: "this.CODPROJ = :CODPROJ",
375
+ searchContext: {
376
+ entity: "Projeto",
377
+ entityDescription: "Projeto",
378
+ searchOptions: {
379
+ rootEntity: "Financeiro",
380
+ descriptionFieldName: "IDENTIFICACAO",
381
+ codeFieldName: "CODPROJ",
382
+ showInactives: false
383
+ }
384
+ }
385
+ }
386
+ }
387
+ ];
388
+ }
@@ -5,10 +5,14 @@ const snkFilterBarMessages = {
5
5
  "removeFilter": "Remover filtro",
6
6
  "cleanFilter": "Limpar",
7
7
  "applyFilter": "Aplicar",
8
- "findFilter": "Buscar campo...",
9
- "emptyFilterList": " há campos disponíveis",
8
+ "findFilter": "Buscar filtros...",
9
+ "findField": "Buscar filtros...",
10
+ "emptyFiltersList": "Não há filtros disponíveis",
11
+ "emptyAppliedFiltersList": "Não há filtros aplicados",
10
12
  "customFilter": "Filtro personalizado",
11
13
  "defaultFilter": "Filtro padrao",
12
- "failToLoadConfig": "Falha ao buscar configuração de filtros"
14
+ "failToLoadConfig": "Falha ao buscar configuração de filtros",
15
+ "clearAllFilters": "Limpar todos os filtros",
16
+ "successfullyCleaned": "Filtro limpo com sucesso!"
13
17
  };
14
18
  export default snkFilterBarMessages;
@@ -144,11 +144,15 @@ const snkFilterBarMessages = {
144
144
  "removeFilter": "Remover filtro",
145
145
  "cleanFilter": "Limpar",
146
146
  "applyFilter": "Aplicar",
147
- "findFilter": "Buscar campo...",
148
- "emptyFilterList": " há campos disponíveis",
147
+ "findFilter": "Buscar filtros...",
148
+ "findField": "Buscar filtros...",
149
+ "emptyFiltersList": "Não há filtros disponíveis",
150
+ "emptyAppliedFiltersList": "Não há filtros aplicados",
149
151
  "customFilter": "Filtro personalizado",
150
152
  "defaultFilter": "Filtro padrao",
151
- "failToLoadConfig": "Falha ao buscar configuração de filtros"
153
+ "failToLoadConfig": "Falha ao buscar configuração de filtros",
154
+ "clearAllFilters": "Limpar todos os filtros",
155
+ "successfullyCleaned": "Filtro limpo com sucesso!"
152
156
  };
153
157
 
154
158
  const snkFormMessages = {
@@ -7,6 +7,7 @@ export { SnkFilterBinarySelect as SnkFilterBinarySelect } from '../types/compone
7
7
  export { SnkFilterDetail as SnkFilterDetail } from '../types/components/snk-filter-bar/filter-item/snk-filter-detail';
8
8
  export { SnkFilterItem as SnkFilterItem } from '../types/components/snk-filter-bar/filter-item/snk-filter-item';
9
9
  export { SnkFilterList as SnkFilterList } from '../types/components/snk-filter-bar/filter-list/snk-filter-list';
10
+ export { SnkFilterMultiSelect as SnkFilterMultiSelect } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select';
10
11
  export { SnkFilterPeriod as SnkFilterNumber } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-number';
11
12
  export { SnkFilterPeriod as SnkFilterPeriod } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-period';
12
13
  export { SnkFilterSearch as SnkFilterSearch } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-search';
@@ -7,6 +7,7 @@ export { SnkFilterBinarySelect, defineCustomElement as defineCustomElementSnkFil
7
7
  export { SnkFilterDetail, defineCustomElement as defineCustomElementSnkFilterDetail } from './snk-filter-detail.js';
8
8
  export { SnkFilterItem, defineCustomElement as defineCustomElementSnkFilterItem } from './snk-filter-item.js';
9
9
  export { SnkFilterList, defineCustomElement as defineCustomElementSnkFilterList } from './snk-filter-list.js';
10
+ export { SnkFilterMultiSelect, defineCustomElement as defineCustomElementSnkFilterMultiSelect } from './snk-filter-multi-select.js';
10
11
  export { SnkFilterNumber, defineCustomElement as defineCustomElementSnkFilterNumber } from './snk-filter-number.js';
11
12
  export { SnkFilterPeriod, defineCustomElement as defineCustomElementSnkFilterPeriod } from './snk-filter-period.js';
12
13
  export { SnkFilterSearch, defineCustomElement as defineCustomElementSnkFilterSearch } from './snk-filter-search.js';