mdz-enum 1.7.14 → 1.7.16
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/README.MD +7 -7
- package/dist/checkout/index.d.ts +33 -33
- package/dist/checkout/index.js +97 -97
- package/dist/commercial/index.d.ts +255 -255
- package/dist/commercial/index.js +630 -630
- package/dist/common/index.d.ts +71 -71
- package/dist/common/index.js +205 -205
- package/dist/config/index.d.ts +218 -217
- package/dist/config/index.js +674 -669
- package/dist/eva/index.d.ts +164 -164
- package/dist/eva/index.js +233 -233
- package/dist/finance/index.d.ts +241 -241
- package/dist/finance/index.js +731 -731
- package/dist/fiscal/index.d.ts +612 -612
- package/dist/fiscal/index.js +1593 -1593
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +265 -265
- package/dist/general/index.js +512 -512
- package/dist/home/index.d.ts +88 -88
- package/dist/home/index.js +268 -268
- package/dist/index.d.ts +17 -17
- package/dist/index.js +312 -312
- package/dist/integration/index.d.ts +37 -37
- package/dist/integration/index.js +109 -109
- package/dist/logistics/index.d.ts +281 -281
- package/dist/logistics/index.js +807 -807
- package/dist/marketplace/templates/components/index.d.ts +352 -352
- package/dist/marketplace/templates/components/index.js +383 -383
- package/dist/marketplace/templates/elements/index.d.ts +32 -32
- package/dist/marketplace/templates/elements/index.js +35 -35
- package/dist/marketplace/templates/index.d.ts +592 -589
- package/dist/marketplace/templates/index.js +49 -49
- package/dist/marketplace/templates/pages/index.d.ts +254 -254
- package/dist/marketplace/templates/pages/index.js +443 -443
- package/dist/marketplace/templates/reference/index.d.ts +24 -24
- package/dist/marketplace/templates/reference/index.js +26 -26
- package/dist/people/index.d.ts +66 -66
- package/dist/people/index.js +192 -192
- package/dist/platform/index.d.ts +383 -383
- package/dist/platform/index.js +1190 -1190
- package/dist/reports/index.d.ts +108 -107
- package/dist/reports/index.js +316 -313
- package/dist/service/index.d.ts +28 -28
- package/dist/service/index.js +97 -97
- package/package.json +32 -32
package/dist/service/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export declare const SituacaoAgendamento: {
|
|
2
|
-
Agendado: string;
|
|
3
|
-
Confirmado: string;
|
|
4
|
-
EmAtendimento: string;
|
|
5
|
-
Concluido: string;
|
|
6
|
-
Cancelado: string;
|
|
7
|
-
NaoCompareceu: string;
|
|
8
|
-
description(val: string): "" | "Cancelado" | "Concluído" | "Agendado" | "Confirmado" | "Em atendimento" | "Não compareceu";
|
|
9
|
-
};
|
|
10
|
-
export declare const SituacoesAgendamentoOcupamAgenda: string[];
|
|
11
|
-
export declare const SituacoesAgendamentoEditaveis: string[];
|
|
12
|
-
export declare const TransicoesSituacaoAgendamento: Record<string, string[]>;
|
|
13
|
-
export declare const TipoAgendaHorario: {
|
|
14
|
-
Funcionamento: string;
|
|
15
|
-
Bloqueio: string;
|
|
16
|
-
description(val: string): "" | "Funcionamento" | "Bloqueio";
|
|
17
|
-
};
|
|
18
|
-
export declare const DiaSemana: {
|
|
19
|
-
Domingo: number;
|
|
20
|
-
Segunda: number;
|
|
21
|
-
Terca: number;
|
|
22
|
-
Quarta: number;
|
|
23
|
-
Quinta: number;
|
|
24
|
-
Sexta: number;
|
|
25
|
-
Sabado: number;
|
|
26
|
-
description(val: number): "" | "Dom" | "Seg" | "Ter" | "Qua" | "Qui" | "Sex" | "Sáb";
|
|
27
|
-
};
|
|
28
|
-
export declare const GradesAgenda: number[];
|
|
1
|
+
export declare const SituacaoAgendamento: {
|
|
2
|
+
Agendado: string;
|
|
3
|
+
Confirmado: string;
|
|
4
|
+
EmAtendimento: string;
|
|
5
|
+
Concluido: string;
|
|
6
|
+
Cancelado: string;
|
|
7
|
+
NaoCompareceu: string;
|
|
8
|
+
description(val: string): "" | "Cancelado" | "Concluído" | "Agendado" | "Confirmado" | "Em atendimento" | "Não compareceu";
|
|
9
|
+
};
|
|
10
|
+
export declare const SituacoesAgendamentoOcupamAgenda: string[];
|
|
11
|
+
export declare const SituacoesAgendamentoEditaveis: string[];
|
|
12
|
+
export declare const TransicoesSituacaoAgendamento: Record<string, string[]>;
|
|
13
|
+
export declare const TipoAgendaHorario: {
|
|
14
|
+
Funcionamento: string;
|
|
15
|
+
Bloqueio: string;
|
|
16
|
+
description(val: string): "" | "Funcionamento" | "Bloqueio";
|
|
17
|
+
};
|
|
18
|
+
export declare const DiaSemana: {
|
|
19
|
+
Domingo: number;
|
|
20
|
+
Segunda: number;
|
|
21
|
+
Terca: number;
|
|
22
|
+
Quarta: number;
|
|
23
|
+
Quinta: number;
|
|
24
|
+
Sexta: number;
|
|
25
|
+
Sabado: number;
|
|
26
|
+
description(val: number): "" | "Dom" | "Seg" | "Ter" | "Qua" | "Qui" | "Sex" | "Sáb";
|
|
27
|
+
};
|
|
28
|
+
export declare const GradesAgenda: number[];
|
package/dist/service/index.js
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GradesAgenda = exports.DiaSemana = exports.TipoAgendaHorario = exports.TransicoesSituacaoAgendamento = exports.SituacoesAgendamentoEditaveis = exports.SituacoesAgendamentoOcupamAgenda = exports.SituacaoAgendamento = void 0;
|
|
4
|
-
exports.SituacaoAgendamento = {
|
|
5
|
-
Agendado: '1',
|
|
6
|
-
Confirmado: '2',
|
|
7
|
-
EmAtendimento: '3',
|
|
8
|
-
Concluido: '4',
|
|
9
|
-
Cancelado: '5',
|
|
10
|
-
NaoCompareceu: '6',
|
|
11
|
-
description(val) {
|
|
12
|
-
switch (val) {
|
|
13
|
-
case this.Agendado:
|
|
14
|
-
return 'Agendado';
|
|
15
|
-
case this.Confirmado:
|
|
16
|
-
return 'Confirmado';
|
|
17
|
-
case this.EmAtendimento:
|
|
18
|
-
return 'Em atendimento';
|
|
19
|
-
case this.Concluido:
|
|
20
|
-
return 'Concluído';
|
|
21
|
-
case this.Cancelado:
|
|
22
|
-
return 'Cancelado';
|
|
23
|
-
case this.NaoCompareceu:
|
|
24
|
-
return 'Não compareceu';
|
|
25
|
-
default:
|
|
26
|
-
return '';
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
exports.SituacoesAgendamentoOcupamAgenda = [
|
|
31
|
-
exports.SituacaoAgendamento.Agendado,
|
|
32
|
-
exports.SituacaoAgendamento.Confirmado,
|
|
33
|
-
exports.SituacaoAgendamento.EmAtendimento,
|
|
34
|
-
exports.SituacaoAgendamento.Concluido,
|
|
35
|
-
];
|
|
36
|
-
exports.SituacoesAgendamentoEditaveis = [exports.SituacaoAgendamento.Agendado, exports.SituacaoAgendamento.Confirmado];
|
|
37
|
-
exports.TransicoesSituacaoAgendamento = {
|
|
38
|
-
[exports.SituacaoAgendamento.Agendado]: [
|
|
39
|
-
exports.SituacaoAgendamento.Confirmado,
|
|
40
|
-
exports.SituacaoAgendamento.EmAtendimento,
|
|
41
|
-
exports.SituacaoAgendamento.Cancelado,
|
|
42
|
-
exports.SituacaoAgendamento.NaoCompareceu,
|
|
43
|
-
],
|
|
44
|
-
[exports.SituacaoAgendamento.Confirmado]: [
|
|
45
|
-
exports.SituacaoAgendamento.EmAtendimento,
|
|
46
|
-
exports.SituacaoAgendamento.Cancelado,
|
|
47
|
-
exports.SituacaoAgendamento.NaoCompareceu,
|
|
48
|
-
],
|
|
49
|
-
[exports.SituacaoAgendamento.EmAtendimento]: [exports.SituacaoAgendamento.Concluido, exports.SituacaoAgendamento.Cancelado],
|
|
50
|
-
[exports.SituacaoAgendamento.Concluido]: [],
|
|
51
|
-
[exports.SituacaoAgendamento.Cancelado]: [],
|
|
52
|
-
[exports.SituacaoAgendamento.NaoCompareceu]: [],
|
|
53
|
-
};
|
|
54
|
-
exports.TipoAgendaHorario = {
|
|
55
|
-
Funcionamento: '1',
|
|
56
|
-
Bloqueio: '2',
|
|
57
|
-
description(val) {
|
|
58
|
-
switch (val) {
|
|
59
|
-
case this.Funcionamento:
|
|
60
|
-
return 'Funcionamento';
|
|
61
|
-
case this.Bloqueio:
|
|
62
|
-
return 'Bloqueio';
|
|
63
|
-
default:
|
|
64
|
-
return '';
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
exports.DiaSemana = {
|
|
69
|
-
Domingo: 0,
|
|
70
|
-
Segunda: 1,
|
|
71
|
-
Terca: 2,
|
|
72
|
-
Quarta: 3,
|
|
73
|
-
Quinta: 4,
|
|
74
|
-
Sexta: 5,
|
|
75
|
-
Sabado: 6,
|
|
76
|
-
description(val) {
|
|
77
|
-
switch (val) {
|
|
78
|
-
case this.Domingo:
|
|
79
|
-
return 'Dom';
|
|
80
|
-
case this.Segunda:
|
|
81
|
-
return 'Seg';
|
|
82
|
-
case this.Terca:
|
|
83
|
-
return 'Ter';
|
|
84
|
-
case this.Quarta:
|
|
85
|
-
return 'Qua';
|
|
86
|
-
case this.Quinta:
|
|
87
|
-
return 'Qui';
|
|
88
|
-
case this.Sexta:
|
|
89
|
-
return 'Sex';
|
|
90
|
-
case this.Sabado:
|
|
91
|
-
return 'Sáb';
|
|
92
|
-
default:
|
|
93
|
-
return '';
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
exports.GradesAgenda = [10, 15, 20, 30, 45, 60];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GradesAgenda = exports.DiaSemana = exports.TipoAgendaHorario = exports.TransicoesSituacaoAgendamento = exports.SituacoesAgendamentoEditaveis = exports.SituacoesAgendamentoOcupamAgenda = exports.SituacaoAgendamento = void 0;
|
|
4
|
+
exports.SituacaoAgendamento = {
|
|
5
|
+
Agendado: '1',
|
|
6
|
+
Confirmado: '2',
|
|
7
|
+
EmAtendimento: '3',
|
|
8
|
+
Concluido: '4',
|
|
9
|
+
Cancelado: '5',
|
|
10
|
+
NaoCompareceu: '6',
|
|
11
|
+
description(val) {
|
|
12
|
+
switch (val) {
|
|
13
|
+
case this.Agendado:
|
|
14
|
+
return 'Agendado';
|
|
15
|
+
case this.Confirmado:
|
|
16
|
+
return 'Confirmado';
|
|
17
|
+
case this.EmAtendimento:
|
|
18
|
+
return 'Em atendimento';
|
|
19
|
+
case this.Concluido:
|
|
20
|
+
return 'Concluído';
|
|
21
|
+
case this.Cancelado:
|
|
22
|
+
return 'Cancelado';
|
|
23
|
+
case this.NaoCompareceu:
|
|
24
|
+
return 'Não compareceu';
|
|
25
|
+
default:
|
|
26
|
+
return '';
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
exports.SituacoesAgendamentoOcupamAgenda = [
|
|
31
|
+
exports.SituacaoAgendamento.Agendado,
|
|
32
|
+
exports.SituacaoAgendamento.Confirmado,
|
|
33
|
+
exports.SituacaoAgendamento.EmAtendimento,
|
|
34
|
+
exports.SituacaoAgendamento.Concluido,
|
|
35
|
+
];
|
|
36
|
+
exports.SituacoesAgendamentoEditaveis = [exports.SituacaoAgendamento.Agendado, exports.SituacaoAgendamento.Confirmado];
|
|
37
|
+
exports.TransicoesSituacaoAgendamento = {
|
|
38
|
+
[exports.SituacaoAgendamento.Agendado]: [
|
|
39
|
+
exports.SituacaoAgendamento.Confirmado,
|
|
40
|
+
exports.SituacaoAgendamento.EmAtendimento,
|
|
41
|
+
exports.SituacaoAgendamento.Cancelado,
|
|
42
|
+
exports.SituacaoAgendamento.NaoCompareceu,
|
|
43
|
+
],
|
|
44
|
+
[exports.SituacaoAgendamento.Confirmado]: [
|
|
45
|
+
exports.SituacaoAgendamento.EmAtendimento,
|
|
46
|
+
exports.SituacaoAgendamento.Cancelado,
|
|
47
|
+
exports.SituacaoAgendamento.NaoCompareceu,
|
|
48
|
+
],
|
|
49
|
+
[exports.SituacaoAgendamento.EmAtendimento]: [exports.SituacaoAgendamento.Concluido, exports.SituacaoAgendamento.Cancelado],
|
|
50
|
+
[exports.SituacaoAgendamento.Concluido]: [],
|
|
51
|
+
[exports.SituacaoAgendamento.Cancelado]: [],
|
|
52
|
+
[exports.SituacaoAgendamento.NaoCompareceu]: [],
|
|
53
|
+
};
|
|
54
|
+
exports.TipoAgendaHorario = {
|
|
55
|
+
Funcionamento: '1',
|
|
56
|
+
Bloqueio: '2',
|
|
57
|
+
description(val) {
|
|
58
|
+
switch (val) {
|
|
59
|
+
case this.Funcionamento:
|
|
60
|
+
return 'Funcionamento';
|
|
61
|
+
case this.Bloqueio:
|
|
62
|
+
return 'Bloqueio';
|
|
63
|
+
default:
|
|
64
|
+
return '';
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
exports.DiaSemana = {
|
|
69
|
+
Domingo: 0,
|
|
70
|
+
Segunda: 1,
|
|
71
|
+
Terca: 2,
|
|
72
|
+
Quarta: 3,
|
|
73
|
+
Quinta: 4,
|
|
74
|
+
Sexta: 5,
|
|
75
|
+
Sabado: 6,
|
|
76
|
+
description(val) {
|
|
77
|
+
switch (val) {
|
|
78
|
+
case this.Domingo:
|
|
79
|
+
return 'Dom';
|
|
80
|
+
case this.Segunda:
|
|
81
|
+
return 'Seg';
|
|
82
|
+
case this.Terca:
|
|
83
|
+
return 'Ter';
|
|
84
|
+
case this.Quarta:
|
|
85
|
+
return 'Qua';
|
|
86
|
+
case this.Quinta:
|
|
87
|
+
return 'Qui';
|
|
88
|
+
case this.Sexta:
|
|
89
|
+
return 'Sex';
|
|
90
|
+
case this.Sabado:
|
|
91
|
+
return 'Sáb';
|
|
92
|
+
default:
|
|
93
|
+
return '';
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
exports.GradesAgenda = [10, 15, 20, 30, 45, 60];
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "Enumerados ModerShop",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"package.json",
|
|
13
|
-
"README.md"
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [],
|
|
20
|
-
"author": "willian.moderniza",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/node": "^16.9.1",
|
|
28
|
-
"ts-node": "^10.2.1",
|
|
29
|
-
"typescript": "^4.4.3"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.7.16",
|
|
4
|
+
"description": "Enumerados ModerShop",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"package.json",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "willian.moderniza",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "^16.9.1",
|
|
28
|
+
"ts-node": "^10.2.1",
|
|
29
|
+
"typescript": "^4.4.3"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|