@sankhyalabs/sankhyablocks 1.3.31-beta.16 → 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.
- package/dist/cjs/{SnkMessageBuilder-79cf15c5.js → SnkMessageBuilder-02c2ca02.js} +137 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-b8158822.js +6 -0
- package/dist/cjs/dom-36862b77.js +75 -0
- package/dist/cjs/filter-item-type.enum-e2e1bc5b.js +14 -0
- package/dist/cjs/index-02201bc9.js +2397 -0
- package/dist/cjs/{index-5575fe3d.js → index-b0b676c5.js} +1598 -145
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/sankhyablocks.cjs.js +116 -4
- package/dist/cjs/shadow-css-346c0795.js +389 -0
- package/dist/cjs/snk-application.cjs.entry.js +662 -66
- package/dist/cjs/snk-crud.cjs.entry.js +3 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +23 -24
- package/dist/cjs/snk-filter-bar.cjs.entry.js +247 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +47 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js +49 -0
- package/dist/cjs/snk-filter-item.cjs.entry.js +143 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +91 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +23 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js +24 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js +26 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js +44 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +22 -0
- package/dist/cjs/{snk-form_2.cjs.entry.js → snk-form.cjs.entry.js} +21 -65
- package/dist/cjs/snk-grid.cjs.entry.js +79 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -5
- package/dist/cjs/snk-taskbar.cjs.entry.js +17 -13
- package/dist/cjs/{taskbar-elements-2ae0d005.js → taskbar-elements-283c737e.js} +37 -18
- package/dist/cjs/taskbar-processor-6bd0d35c.js +47 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +7 -0
- package/dist/collection/components/snk-application/snk-application.js +89 -17
- package/dist/collection/components/snk-crud/snk-crud.js +41 -3
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +88 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +64 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +65 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +69 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +63 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +10 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +118 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +244 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +233 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +114 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +305 -0
- package/dist/collection/components/snk-form/snk-form.js +41 -1
- package/dist/collection/components/snk-grid/snk-grid.css +14 -1
- package/dist/collection/components/snk-grid/snk-grid.js +35 -3
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +35 -17
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +43 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +36 -11
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +24 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +388 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +18 -0
- package/dist/components/SnkMessageBuilder.js +137 -2
- package/dist/components/filter-item-type.enum.js +12 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +14 -0
- package/dist/components/index2.js +2384 -0
- package/dist/components/snk-application2.js +628 -30
- package/dist/components/snk-crud.js +29 -3
- package/dist/components/snk-data-unit.js +2 -3
- package/dist/components/snk-filter-bar.d.ts +11 -0
- package/dist/components/snk-filter-bar.js +6 -0
- package/dist/components/snk-filter-bar2.js +278 -0
- package/dist/components/snk-filter-binary-select.d.ts +11 -0
- package/dist/components/snk-filter-binary-select.js +63 -0
- package/dist/components/snk-filter-detail.d.ts +11 -0
- package/dist/components/snk-filter-detail.js +6 -0
- package/dist/components/snk-filter-detail2.js +63 -0
- package/dist/components/snk-filter-item.d.ts +11 -0
- package/dist/components/snk-filter-item.js +6 -0
- package/dist/components/snk-filter-item2.js +164 -0
- package/dist/components/snk-filter-list.d.ts +11 -0
- package/dist/components/snk-filter-list.js +6 -0
- package/dist/components/snk-filter-list2.js +111 -0
- package/dist/components/snk-filter-multi-select.d.ts +11 -0
- package/dist/components/snk-filter-multi-select.js +39 -0
- package/dist/components/snk-filter-number.d.ts +11 -0
- package/dist/components/snk-filter-number.js +40 -0
- package/dist/components/snk-filter-period.d.ts +11 -0
- package/dist/components/snk-filter-period.js +42 -0
- package/dist/components/snk-filter-search.d.ts +11 -0
- package/dist/components/snk-filter-search.js +62 -0
- package/dist/components/snk-filter-text.d.ts +11 -0
- package/dist/components/snk-filter-text.js +38 -0
- package/dist/components/snk-form2.js +21 -2
- package/dist/components/snk-grid2.js +42 -7
- package/dist/components/snk-pesquisa2.js +1 -1
- package/dist/components/snk-taskbar2.js +50 -27
- package/dist/components/taskbar-processor.js +45 -0
- package/dist/components/teste-pesquisa.js +1 -1
- package/dist/esm/{SnkMessageBuilder-3cdde541.js → SnkMessageBuilder-65d431bd.js} +137 -2
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-b3f2ee8d.js +4 -0
- package/dist/esm/dom-665d6011.js +73 -0
- package/dist/esm/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/esm/index-2b4d2d14.js +3262 -0
- package/dist/esm/index-e5b61043.js +2384 -0
- package/dist/esm/loader.js +18 -2
- package/dist/esm/sankhyablocks.js +116 -4
- package/dist/esm/shadow-css-b18e99d7.js +387 -0
- package/dist/esm/snk-application.entry.js +627 -31
- package/dist/esm/snk-crud.entry.js +3 -2
- package/dist/esm/snk-data-unit.entry.js +3 -4
- package/dist/esm/snk-filter-bar.entry.js +243 -0
- package/dist/esm/snk-filter-binary-select.entry.js +43 -0
- package/dist/esm/snk-filter-detail.entry.js +45 -0
- package/dist/esm/snk-filter-item.entry.js +139 -0
- package/dist/esm/snk-filter-list.entry.js +87 -0
- package/dist/esm/snk-filter-multi-select.entry.js +19 -0
- package/dist/esm/snk-filter-number.entry.js +20 -0
- package/dist/esm/snk-filter-period.entry.js +22 -0
- package/dist/esm/snk-filter-search.entry.js +40 -0
- package/dist/esm/snk-filter-text.entry.js +18 -0
- package/dist/esm/{snk-form_2.entry.js → snk-form.entry.js} +21 -64
- package/dist/esm/snk-grid.entry.js +75 -0
- package/dist/esm/snk-pesquisa.entry.js +2 -2
- package/dist/esm/snk-taskbar.entry.js +16 -12
- package/dist/esm/taskbar-elements-35d64ff9.js +90 -0
- package/dist/esm/taskbar-processor-aa6772c9.js +45 -0
- package/dist/esm/teste-pesquisa.entry.js +2 -2
- package/dist/sankhyablocks/SnkMessageBuilder-65d431bd.js +303 -0
- package/dist/sankhyablocks/app-globals-0f993ce5.js +3 -0
- package/dist/sankhyablocks/css-shim-b3f2ee8d.js +4 -0
- package/dist/sankhyablocks/dom-665d6011.js +73 -0
- package/dist/sankhyablocks/filter-item-type.enum-61fbf80a.js +12 -0
- package/dist/sankhyablocks/index-2b4d2d14.js +3262 -0
- package/dist/sankhyablocks/index-e5b61043.js +2384 -0
- package/dist/sankhyablocks/index.esm.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +129 -1
- package/dist/sankhyablocks/shadow-css-b18e99d7.js +387 -0
- package/dist/sankhyablocks/snk-application.entry.js +8426 -0
- package/dist/sankhyablocks/snk-crud.entry.js +61 -0
- package/dist/sankhyablocks/snk-data-unit.entry.js +272 -0
- package/dist/sankhyablocks/snk-filter-bar.entry.js +243 -0
- package/dist/sankhyablocks/snk-filter-binary-select.entry.js +43 -0
- package/dist/sankhyablocks/snk-filter-detail.entry.js +45 -0
- package/dist/sankhyablocks/snk-filter-item.entry.js +139 -0
- package/dist/sankhyablocks/snk-filter-list.entry.js +87 -0
- package/dist/sankhyablocks/snk-filter-multi-select.entry.js +19 -0
- package/dist/sankhyablocks/snk-filter-number.entry.js +20 -0
- package/dist/sankhyablocks/snk-filter-period.entry.js +22 -0
- package/dist/sankhyablocks/snk-filter-search.entry.js +40 -0
- package/dist/sankhyablocks/snk-filter-text.entry.js +18 -0
- package/dist/sankhyablocks/snk-form.entry.js +129 -0
- package/dist/sankhyablocks/snk-grid.entry.js +75 -0
- package/dist/sankhyablocks/snk-pesquisa.entry.js +311 -0
- package/dist/sankhyablocks/snk-taskbar.entry.js +156 -0
- package/dist/sankhyablocks/taskbar-elements-35d64ff9.js +90 -0
- package/dist/sankhyablocks/taskbar-processor-aa6772c9.js +45 -0
- package/dist/sankhyablocks/teste-pesquisa.entry.js +33 -0
- package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
- package/dist/types/components/snk-application/snk-application.d.ts +9 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +13 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +9 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +14 -0
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +40 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +45 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +3 -2
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +17 -1
- package/dist/types/components.d.ts +277 -2
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +5 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/package.json +2 -2
- package/react/components.d.ts +0 -7
- package/react/components.js +0 -7
- package/react/components.js.map +1 -1
- package/dist/esm/index-cf91f542.js +0 -1817
- package/dist/esm/taskbar-elements-bcccc0ff.js +0 -72
- package/dist/sankhyablocks/p-1ba29824.entry.js +0 -74
- package/dist/sankhyablocks/p-2266555e.entry.js +0 -1
- package/dist/sankhyablocks/p-23c4c94f.js +0 -2
- package/dist/sankhyablocks/p-2454be94.js +0 -1
- package/dist/sankhyablocks/p-49743bc5.js +0 -1
- package/dist/sankhyablocks/p-4fa389bd.entry.js +0 -1
- package/dist/sankhyablocks/p-5327ba05.entry.js +0 -1
- package/dist/sankhyablocks/p-7a922fb4.entry.js +0 -1
- package/dist/sankhyablocks/p-92d6f826.entry.js +0 -1
- package/dist/sankhyablocks/p-bdeef7f2.entry.js +0 -1
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import FilterItemType from "../../../../components/snk-filter-bar/filter-item/filter-item-type.enum";
|
|
2
|
+
import { ResourceFetcher } from "./resource-fetcher";
|
|
3
|
+
export default class FilterBarConfigFetcher extends ResourceFetcher {
|
|
4
|
+
getConfig(resourceID) {
|
|
5
|
+
return new Promise((resolve) => {
|
|
6
|
+
if (resourceID === "br.com.sankhya.fin.cad.movimentacaoFinanceira") {
|
|
7
|
+
resolve(getFiltrosMovFin());
|
|
8
|
+
}
|
|
9
|
+
else if (resourceID === "br.com.sankhya.fin.cad.movimentacaoBancaria") {
|
|
10
|
+
resolve(getFiltrosMovBan());
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
resolve(undefined);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
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
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import snkDataUnitMessages from "./resources/snk-data-unit.msg.js";
|
|
2
|
+
import snkFilterBarMessages from "./resources/snk-filter-bar.msg.js";
|
|
2
3
|
import snkFormMessages from "./resources/snk-form.msg.js";
|
|
3
4
|
import snkTaskbarMessages from "./resources/snk-taskbar.msg.js";
|
|
4
5
|
export class SnkMessageBuilder {
|
|
@@ -6,7 +7,8 @@ export class SnkMessageBuilder {
|
|
|
6
7
|
this._defaults = {
|
|
7
8
|
snkDataUnit: snkDataUnitMessages,
|
|
8
9
|
snkForm: snkFormMessages,
|
|
9
|
-
snkTaskbar: snkTaskbarMessages
|
|
10
|
+
snkTaskbar: snkTaskbarMessages,
|
|
11
|
+
snkFilterBar: snkFilterBarMessages
|
|
10
12
|
};
|
|
11
13
|
this._currentOperation = OperationMap.CLEAN;
|
|
12
14
|
this.loadAppMessages().then((msgs) => {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const snkFilterBarMessages = {
|
|
2
|
+
"addFilter": "Adicionar filtro",
|
|
3
|
+
"pinFilter": "Fixar filtro",
|
|
4
|
+
"unpinFilter": "Desfixar filtro",
|
|
5
|
+
"removeFilter": "Remover filtro",
|
|
6
|
+
"cleanFilter": "Limpar",
|
|
7
|
+
"applyFilter": "Aplicar",
|
|
8
|
+
"findFilter": "Buscar filtros...",
|
|
9
|
+
"findField": "Buscar filtros...",
|
|
10
|
+
"emptyFiltersList": "Não há filtros disponíveis",
|
|
11
|
+
"emptyAppliedFiltersList": "Não há filtros aplicados",
|
|
12
|
+
"customFilter": "Filtro personalizado",
|
|
13
|
+
"defaultFilter": "Filtro padrao",
|
|
14
|
+
"failToLoadConfig": "Falha ao buscar configuração de filtros",
|
|
15
|
+
"clearAllFilters": "Limpar todos os filtros",
|
|
16
|
+
"successfullyCleaned": "Filtro limpo com sucesso!"
|
|
17
|
+
};
|
|
18
|
+
export default snkFilterBarMessages;
|
|
@@ -1,3 +1,119 @@
|
|
|
1
|
+
var DialogType;
|
|
2
|
+
(function (DialogType) {
|
|
3
|
+
DialogType["WARN"] = "warn";
|
|
4
|
+
DialogType["CRITICAL"] = "critical";
|
|
5
|
+
DialogType["DEFAULT"] = "default";
|
|
6
|
+
})(DialogType || (DialogType = {}));
|
|
7
|
+
|
|
8
|
+
class ApplicationUtils {
|
|
9
|
+
static async showDialog(title, message, icon = null, confirm, dialogType = DialogType.DEFAULT, options) {
|
|
10
|
+
if (options) {
|
|
11
|
+
options = Object.assign(Object.assign({}, ApplicationUtils.defaultMessageOptions), options);
|
|
12
|
+
}
|
|
13
|
+
return new Promise(resolve => {
|
|
14
|
+
let dialog = document.querySelector("ez-dialog");
|
|
15
|
+
if (!dialog) {
|
|
16
|
+
dialog = document.createElement("ez-dialog");
|
|
17
|
+
window.document.body.appendChild(dialog);
|
|
18
|
+
}
|
|
19
|
+
dialog.show(title, message, dialogType, confirm, icon, options.labelCancel, options.labelConfirm, options.btnConfirmDanger).then(ok => resolve(ok));
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static async alert(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
|
|
23
|
+
return ApplicationUtils.showDialog(title, message, icon, false, DialogType.WARN, options);
|
|
24
|
+
}
|
|
25
|
+
static async error(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
|
|
26
|
+
return ApplicationUtils.showDialog(title, message, icon, false, DialogType.CRITICAL, options);
|
|
27
|
+
}
|
|
28
|
+
static async confirm(title, message, icon = null, dialogType = DialogType.WARN, options = ApplicationUtils.defaultMessageOptions) {
|
|
29
|
+
return ApplicationUtils.showDialog(title, message, icon, true, dialogType, options);
|
|
30
|
+
}
|
|
31
|
+
static async message(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
|
|
32
|
+
return ApplicationUtils.showDialog(title, message, icon, false, DialogType.DEFAULT, options);
|
|
33
|
+
}
|
|
34
|
+
static async info(message, options = ApplicationUtils.defaultMessageOptions) {
|
|
35
|
+
let toast = document.querySelector("ez-toast");
|
|
36
|
+
if (!toast) {
|
|
37
|
+
toast = document.createElement("ez-toast");
|
|
38
|
+
const icon = document.createElement("ez-icon");
|
|
39
|
+
icon.className = "ez-margin-right--small toast__icon--color";
|
|
40
|
+
icon.slot = "icon";
|
|
41
|
+
toast.appendChild(icon);
|
|
42
|
+
window.document.body.appendChild(toast);
|
|
43
|
+
}
|
|
44
|
+
if (options.iconName) {
|
|
45
|
+
const iconElem = toast.querySelector("ez-icon");
|
|
46
|
+
if (iconElem) {
|
|
47
|
+
iconElem.iconName = options.iconName;
|
|
48
|
+
toast.useIcon = true;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
toast.useIcon = false;
|
|
53
|
+
}
|
|
54
|
+
toast.show(message, 5000, false, options.canClose);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
ApplicationUtils.defaultMessageOptions = {
|
|
58
|
+
canClose: true,
|
|
59
|
+
labelCancel: 'Não',
|
|
60
|
+
labelConfirm: 'Sim',
|
|
61
|
+
btnConfirmDanger: false
|
|
62
|
+
};
|
|
63
|
+
;
|
|
64
|
+
|
|
65
|
+
class CSSVarsUtils {
|
|
66
|
+
static applyVarsTextInput(host, child) {
|
|
67
|
+
if (child) {
|
|
68
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--background-color');
|
|
69
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--border-color');
|
|
70
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input--height');
|
|
71
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--disabled--background-color');
|
|
72
|
+
CSSVarsUtils.applyIfExists(host, child, '--ez-text-input__input--disabled--color');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
static applyVarsButton(host, child) {
|
|
76
|
+
if (child) {
|
|
77
|
+
["--ez-button--min-width",
|
|
78
|
+
"--ez-button--height",
|
|
79
|
+
"--ez-button__icon--width",
|
|
80
|
+
"--ez-button__inline__icon--padding",
|
|
81
|
+
"--ez-button--padding-top",
|
|
82
|
+
"--ez-button--padding-bottom",
|
|
83
|
+
"--ez-button--padding-right",
|
|
84
|
+
"--ez-button--padding-left",
|
|
85
|
+
"--ez-button--color",
|
|
86
|
+
"--ez-button--font-size",
|
|
87
|
+
"--ez-button--font-family",
|
|
88
|
+
"--ez-button--font-weight",
|
|
89
|
+
"--ez-button--background-color",
|
|
90
|
+
"--ez-button--border-radius",
|
|
91
|
+
"--ez-button--border",
|
|
92
|
+
"--ez-button--hover-color",
|
|
93
|
+
"--ez-button--hover--background-color",
|
|
94
|
+
"--ez-button--disabled-color",
|
|
95
|
+
"--ez-button--disabled--background-color",
|
|
96
|
+
"--ez-button--focus--border",
|
|
97
|
+
"--ez-button--focus--box-shadow",
|
|
98
|
+
"--ez-button--active-color",
|
|
99
|
+
"--ez-button--active--background-color",
|
|
100
|
+
"--ez-button--link-color",
|
|
101
|
+
"--ez-button--link--hover-color",
|
|
102
|
+
"--ez-button--link--small--font-size",
|
|
103
|
+
"--ez-button--link--medium--font-size",
|
|
104
|
+
"--ez-button--link--large--font-size",].forEach(prop => {
|
|
105
|
+
CSSVarsUtils.applyIfExists(host, child, prop);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
static applyIfExists(host, element, varName) {
|
|
110
|
+
const prop = getComputedStyle(host).getPropertyValue(varName);
|
|
111
|
+
if (prop) {
|
|
112
|
+
element.style.setProperty(varName, prop);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
1
117
|
const snkDataUnitMessages = {
|
|
2
118
|
saveInfo: {
|
|
3
119
|
clone: "Duplicação realizada!",
|
|
@@ -21,6 +137,24 @@ const snkDataUnitMessages = {
|
|
|
21
137
|
forbiddenRemove: "Não é possível remover. Verifique as permissões de acesso."
|
|
22
138
|
};
|
|
23
139
|
|
|
140
|
+
const snkFilterBarMessages = {
|
|
141
|
+
"addFilter": "Adicionar filtro",
|
|
142
|
+
"pinFilter": "Fixar filtro",
|
|
143
|
+
"unpinFilter": "Desfixar filtro",
|
|
144
|
+
"removeFilter": "Remover filtro",
|
|
145
|
+
"cleanFilter": "Limpar",
|
|
146
|
+
"applyFilter": "Aplicar",
|
|
147
|
+
"findFilter": "Buscar filtros...",
|
|
148
|
+
"findField": "Buscar filtros...",
|
|
149
|
+
"emptyFiltersList": "Não há filtros disponíveis",
|
|
150
|
+
"emptyAppliedFiltersList": "Não há filtros aplicados",
|
|
151
|
+
"customFilter": "Filtro personalizado",
|
|
152
|
+
"defaultFilter": "Filtro padrao",
|
|
153
|
+
"failToLoadConfig": "Falha ao buscar configuração de filtros",
|
|
154
|
+
"clearAllFilters": "Limpar todos os filtros",
|
|
155
|
+
"successfullyCleaned": "Filtro limpo com sucesso!"
|
|
156
|
+
};
|
|
157
|
+
|
|
24
158
|
const snkFormMessages = {
|
|
25
159
|
title: {
|
|
26
160
|
clone: "Duplicar registro",
|
|
@@ -53,7 +187,8 @@ class SnkMessageBuilder {
|
|
|
53
187
|
this._defaults = {
|
|
54
188
|
snkDataUnit: snkDataUnitMessages,
|
|
55
189
|
snkForm: snkFormMessages,
|
|
56
|
-
snkTaskbar: snkTaskbarMessages
|
|
190
|
+
snkTaskbar: snkTaskbarMessages,
|
|
191
|
+
snkFilterBar: snkFilterBarMessages
|
|
57
192
|
};
|
|
58
193
|
this._currentOperation = OperationMap.CLEAN;
|
|
59
194
|
this.loadAppMessages().then((msgs) => {
|
|
@@ -165,4 +300,4 @@ var OperationMap;
|
|
|
165
300
|
OperationMap["CLEAN"] = "clean";
|
|
166
301
|
})(OperationMap || (OperationMap = {}));
|
|
167
302
|
|
|
168
|
-
export { OperationMap as O, SnkMessageBuilder as S };
|
|
303
|
+
export { ApplicationUtils as A, DialogType as D, OperationMap as O, SnkMessageBuilder as S };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var FilterItemType;
|
|
2
|
+
(function (FilterItemType) {
|
|
3
|
+
FilterItemType["MULTI_SELECT"] = "MULTI_SELECT";
|
|
4
|
+
FilterItemType["BINARY_SELECT"] = "BINARY_SELECT";
|
|
5
|
+
FilterItemType["PERIOD"] = "PERIOD";
|
|
6
|
+
FilterItemType["SEARCH"] = "SEARCH";
|
|
7
|
+
FilterItemType["TEXT"] = "TEXT";
|
|
8
|
+
FilterItemType["NUMBER"] = "NUMBER";
|
|
9
|
+
})(FilterItemType || (FilterItemType = {}));
|
|
10
|
+
const FilterItemType$1 = FilterItemType;
|
|
11
|
+
|
|
12
|
+
export { FilterItemType$1 as F };
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
export { SnkApplication as SnkApplication } from '../types/components/snk-application/snk-application';
|
|
3
3
|
export { SnkCrud as SnkCrud } from '../types/components/snk-crud/snk-crud';
|
|
4
4
|
export { SnkDataUnit as SnkDataUnit } from '../types/components/snk-data-unit/snk-data-unit';
|
|
5
|
+
export { SnkFilterBar as SnkFilterBar } from '../types/components/snk-filter-bar/snk-filter-bar';
|
|
6
|
+
export { SnkFilterBinarySelect as SnkFilterBinarySelect } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select';
|
|
7
|
+
export { SnkFilterDetail as SnkFilterDetail } from '../types/components/snk-filter-bar/filter-item/snk-filter-detail';
|
|
8
|
+
export { SnkFilterItem as SnkFilterItem } from '../types/components/snk-filter-bar/filter-item/snk-filter-item';
|
|
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';
|
|
11
|
+
export { SnkFilterPeriod as SnkFilterNumber } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-number';
|
|
12
|
+
export { SnkFilterPeriod as SnkFilterPeriod } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-period';
|
|
13
|
+
export { SnkFilterSearch as SnkFilterSearch } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-search';
|
|
14
|
+
export { SnkFilterText as SnkFilterText } from '../types/components/snk-filter-bar/filter-item/editors/snk-filter-text';
|
|
5
15
|
export { SnkForm as SnkForm } from '../types/components/snk-form/snk-form';
|
|
6
16
|
export { SnkGrid as SnkGrid } from '../types/components/snk-grid/snk-grid';
|
|
7
17
|
export { SnkPesquisa as SnkPesquisa } from '../types/components/snk-pesquisa/snk-pesquisa';
|
package/dist/components/index.js
CHANGED
|
@@ -2,8 +2,22 @@ export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client'
|
|
|
2
2
|
export { SnkApplication, defineCustomElement as defineCustomElementSnkApplication } from './snk-application.js';
|
|
3
3
|
export { SnkCrud, defineCustomElement as defineCustomElementSnkCrud } from './snk-crud.js';
|
|
4
4
|
export { SnkDataUnit, defineCustomElement as defineCustomElementSnkDataUnit } from './snk-data-unit.js';
|
|
5
|
+
export { SnkFilterBar, defineCustomElement as defineCustomElementSnkFilterBar } from './snk-filter-bar.js';
|
|
6
|
+
export { SnkFilterBinarySelect, defineCustomElement as defineCustomElementSnkFilterBinarySelect } from './snk-filter-binary-select.js';
|
|
7
|
+
export { SnkFilterDetail, defineCustomElement as defineCustomElementSnkFilterDetail } from './snk-filter-detail.js';
|
|
8
|
+
export { SnkFilterItem, defineCustomElement as defineCustomElementSnkFilterItem } from './snk-filter-item.js';
|
|
9
|
+
export { SnkFilterList, defineCustomElement as defineCustomElementSnkFilterList } from './snk-filter-list.js';
|
|
10
|
+
export { SnkFilterMultiSelect, defineCustomElement as defineCustomElementSnkFilterMultiSelect } from './snk-filter-multi-select.js';
|
|
11
|
+
export { SnkFilterNumber, defineCustomElement as defineCustomElementSnkFilterNumber } from './snk-filter-number.js';
|
|
12
|
+
export { SnkFilterPeriod, defineCustomElement as defineCustomElementSnkFilterPeriod } from './snk-filter-period.js';
|
|
13
|
+
export { SnkFilterSearch, defineCustomElement as defineCustomElementSnkFilterSearch } from './snk-filter-search.js';
|
|
14
|
+
export { SnkFilterText, defineCustomElement as defineCustomElementSnkFilterText } from './snk-filter-text.js';
|
|
5
15
|
export { SnkForm, defineCustomElement as defineCustomElementSnkForm } from './snk-form.js';
|
|
6
16
|
export { SnkGrid, defineCustomElement as defineCustomElementSnkGrid } from './snk-grid.js';
|
|
7
17
|
export { SnkPesquisa, defineCustomElement as defineCustomElementSnkPesquisa } from './snk-pesquisa.js';
|
|
8
18
|
export { SnkTaskbar, defineCustomElement as defineCustomElementSnkTaskbar } from './snk-taskbar.js';
|
|
9
19
|
export { TestePesquisa, defineCustomElement as defineCustomElementTestePesquisa } from './teste-pesquisa.js';
|
|
20
|
+
|
|
21
|
+
const globalScripts = () => {};
|
|
22
|
+
|
|
23
|
+
globalScripts();
|