mdz-enum 1.0.94 → 1.0.95
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/reports/index.d.ts +6 -0
- package/dist/reports/index.js +16 -1
- package/package.json +1 -1
- package/src/reports/index.ts +19 -0
package/dist/reports/index.d.ts
CHANGED
|
@@ -3,3 +3,9 @@ export declare const TipoRelatorio: {
|
|
|
3
3
|
Detalhado: string;
|
|
4
4
|
description(val: string): "Resumido" | "Detalhado" | undefined;
|
|
5
5
|
};
|
|
6
|
+
export declare const AgrupamentoRelatorio: {
|
|
7
|
+
Pessoa: string;
|
|
8
|
+
Data: string;
|
|
9
|
+
Produto: string;
|
|
10
|
+
description(val: string): "Pessoa" | "Data" | "Produto" | undefined;
|
|
11
|
+
};
|
package/dist/reports/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoRelatorio = void 0;
|
|
3
|
+
exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
|
|
4
4
|
exports.TipoRelatorio = {
|
|
5
5
|
Resumido: '1',
|
|
6
6
|
Detalhado: '2',
|
|
@@ -13,3 +13,18 @@ exports.TipoRelatorio = {
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
|
+
exports.AgrupamentoRelatorio = {
|
|
17
|
+
Pessoa: '1',
|
|
18
|
+
Data: '2',
|
|
19
|
+
Produto: '3',
|
|
20
|
+
description(val) {
|
|
21
|
+
switch (val) {
|
|
22
|
+
case this.Pessoa:
|
|
23
|
+
return 'Pessoa';
|
|
24
|
+
case this.Data:
|
|
25
|
+
return 'Data';
|
|
26
|
+
case this.Produto:
|
|
27
|
+
return 'Produto';
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
};
|
package/package.json
CHANGED
package/src/reports/index.ts
CHANGED
|
@@ -12,3 +12,22 @@ export const TipoRelatorio = {
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
export const AgrupamentoRelatorio = {
|
|
17
|
+
Pessoa: '1',
|
|
18
|
+
Data: '2',
|
|
19
|
+
Produto: '3',
|
|
20
|
+
|
|
21
|
+
description(val: string) {
|
|
22
|
+
switch (val) {
|
|
23
|
+
case this.Pessoa:
|
|
24
|
+
return 'Pessoa'
|
|
25
|
+
|
|
26
|
+
case this.Data:
|
|
27
|
+
return 'Data'
|
|
28
|
+
|
|
29
|
+
case this.Produto:
|
|
30
|
+
return 'Produto'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
}
|