mdz-enum 1.7.30 → 1.7.31
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/checkout/index.d.ts +33 -33
- package/dist/checkout/index.js +97 -97
- package/dist/commercial/index.d.ts +271 -271
- package/dist/commercial/index.js +677 -677
- package/dist/common/index.d.ts +74 -74
- package/dist/common/index.js +214 -214
- package/dist/config/index.d.ts +219 -219
- package/dist/config/index.js +679 -679
- package/dist/eva/index.d.ts +198 -198
- package/dist/eva/index.js +330 -330
- package/dist/finance/index.d.ts +243 -243
- package/dist/finance/index.js +737 -737
- 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 +266 -266
- package/dist/general/index.js +515 -515
- 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 +327 -327
- package/dist/integration/index.d.ts +37 -37
- package/dist/integration/index.js +109 -109
- package/dist/logistics/index.d.ts +321 -321
- package/dist/logistics/index.js +917 -917
- 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 +597 -600
- package/dist/marketplace/templates/index.js +49 -49
- package/dist/marketplace/templates/pages/index.d.ts +268 -268
- package/dist/marketplace/templates/pages/index.js +457 -457
- 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 +386 -385
- package/dist/platform/index.js +1199 -1196
- package/dist/reports/index.d.ts +108 -108
- package/dist/reports/index.js +316 -316
- package/dist/service/index.d.ts +42 -42
- package/dist/service/index.js +137 -137
- package/package.json +1 -1
package/dist/service/index.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
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): "" | "
|
|
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): "" | "
|
|
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" | "
|
|
27
|
-
};
|
|
28
|
-
export declare const GradesAgenda: number[];
|
|
29
|
-
export declare const TipoCampoObjeto: {
|
|
30
|
-
Texto: string;
|
|
31
|
-
Numero: string;
|
|
32
|
-
Data: string;
|
|
33
|
-
Lista: string;
|
|
34
|
-
SimNao: string;
|
|
35
|
-
Placa: string;
|
|
36
|
-
description(val: string): "" | "
|
|
37
|
-
};
|
|
38
|
-
export declare const EscopoCampoObjeto: {
|
|
39
|
-
Cadastro: string;
|
|
40
|
-
Atendimento: string;
|
|
41
|
-
description(val: string): "" | "
|
|
42
|
-
};
|
|
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): "" | "Agendado" | "Cancelado" | "Concluído" | "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): "" | "Bloqueio" | "Funcionamento";
|
|
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" | "Qua" | "Qui" | "Seg" | "Sex" | "Sáb" | "Ter";
|
|
27
|
+
};
|
|
28
|
+
export declare const GradesAgenda: number[];
|
|
29
|
+
export declare const TipoCampoObjeto: {
|
|
30
|
+
Texto: string;
|
|
31
|
+
Numero: string;
|
|
32
|
+
Data: string;
|
|
33
|
+
Lista: string;
|
|
34
|
+
SimNao: string;
|
|
35
|
+
Placa: string;
|
|
36
|
+
description(val: string): "" | "Data" | "Lista de opções" | "Número" | "Placa de veículo" | "Sim ou não" | "Texto";
|
|
37
|
+
};
|
|
38
|
+
export declare const EscopoCampoObjeto: {
|
|
39
|
+
Cadastro: string;
|
|
40
|
+
Atendimento: string;
|
|
41
|
+
description(val: string): "" | "A cada atendimento" | "Cadastro do objeto";
|
|
42
|
+
};
|
package/dist/service/index.js
CHANGED
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EscopoCampoObjeto = exports.TipoCampoObjeto = 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];
|
|
98
|
-
exports.TipoCampoObjeto = {
|
|
99
|
-
Texto: '1',
|
|
100
|
-
Numero: '2',
|
|
101
|
-
Data: '3',
|
|
102
|
-
Lista: '4',
|
|
103
|
-
SimNao: '5',
|
|
104
|
-
Placa: '6',
|
|
105
|
-
description(val) {
|
|
106
|
-
switch (val) {
|
|
107
|
-
case this.Texto:
|
|
108
|
-
return 'Texto';
|
|
109
|
-
case this.Numero:
|
|
110
|
-
return 'Número';
|
|
111
|
-
case this.Data:
|
|
112
|
-
return 'Data';
|
|
113
|
-
case this.Lista:
|
|
114
|
-
return 'Lista de opções';
|
|
115
|
-
case this.SimNao:
|
|
116
|
-
return 'Sim ou não';
|
|
117
|
-
case this.Placa:
|
|
118
|
-
return 'Placa de veículo';
|
|
119
|
-
default:
|
|
120
|
-
return '';
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
};
|
|
124
|
-
exports.EscopoCampoObjeto = {
|
|
125
|
-
Cadastro: '1',
|
|
126
|
-
Atendimento: '2',
|
|
127
|
-
description(val) {
|
|
128
|
-
switch (val) {
|
|
129
|
-
case this.Cadastro:
|
|
130
|
-
return 'Cadastro do objeto';
|
|
131
|
-
case this.Atendimento:
|
|
132
|
-
return 'A cada atendimento';
|
|
133
|
-
default:
|
|
134
|
-
return '';
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EscopoCampoObjeto = exports.TipoCampoObjeto = 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];
|
|
98
|
+
exports.TipoCampoObjeto = {
|
|
99
|
+
Texto: '1',
|
|
100
|
+
Numero: '2',
|
|
101
|
+
Data: '3',
|
|
102
|
+
Lista: '4',
|
|
103
|
+
SimNao: '5',
|
|
104
|
+
Placa: '6',
|
|
105
|
+
description(val) {
|
|
106
|
+
switch (val) {
|
|
107
|
+
case this.Texto:
|
|
108
|
+
return 'Texto';
|
|
109
|
+
case this.Numero:
|
|
110
|
+
return 'Número';
|
|
111
|
+
case this.Data:
|
|
112
|
+
return 'Data';
|
|
113
|
+
case this.Lista:
|
|
114
|
+
return 'Lista de opções';
|
|
115
|
+
case this.SimNao:
|
|
116
|
+
return 'Sim ou não';
|
|
117
|
+
case this.Placa:
|
|
118
|
+
return 'Placa de veículo';
|
|
119
|
+
default:
|
|
120
|
+
return '';
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
exports.EscopoCampoObjeto = {
|
|
125
|
+
Cadastro: '1',
|
|
126
|
+
Atendimento: '2',
|
|
127
|
+
description(val) {
|
|
128
|
+
switch (val) {
|
|
129
|
+
case this.Cadastro:
|
|
130
|
+
return 'Cadastro do objeto';
|
|
131
|
+
case this.Atendimento:
|
|
132
|
+
return 'A cada atendimento';
|
|
133
|
+
default:
|
|
134
|
+
return '';
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
};
|