mdz-enum 1.5.23 → 1.5.25
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/config/index.d.ts +1 -1
- package/dist/config/index.js +19 -19
- package/dist/fiscal/index.d.ts +2 -1
- package/dist/fiscal/index.js +3 -0
- package/dist/marketplace/templates/components/index.js +3 -3
- package/package.json +33 -33
package/README.MD
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# mdz-enum
|
|
2
|
-
|
|
3
|
-
Gerenciador de enumerados e classes.
|
|
4
|
-
|
|
5
|
-
VESÃO DE SOFTWARE: vide `package.json`
|
|
6
|
-
|
|
7
|
-
NODE: `14.18.1`
|
|
1
|
+
# mdz-enum
|
|
2
|
+
|
|
3
|
+
Gerenciador de enumerados e classes.
|
|
4
|
+
|
|
5
|
+
VESÃO DE SOFTWARE: vide `package.json`
|
|
6
|
+
|
|
7
|
+
NODE: `14.18.1`
|
package/dist/config/index.d.ts
CHANGED
|
@@ -162,5 +162,5 @@ export declare const FusoHorario: {
|
|
|
162
162
|
UTC_P10: number;
|
|
163
163
|
UTC_P11: number;
|
|
164
164
|
UTC_P12: number;
|
|
165
|
-
description(val: number): "UTC -12: Baker Island, Howland Island" | "UTC -11: Samoa Americana, Niue" | "UTC -10: Havaí, Polinésia Francesa" | "UTC -9: Alasca" | "UTC -8: Los Angeles, Vancouver, Tijuana" | "UTC -7: Denver, Calgary, Arizona" | "UTC -6: México, Chicago, Costa Rica" | "UTC -5: Nova York, Bogotá, Lima" | "UTC -4: Caracas, Santiago, La Paz" | "UTC -3: Brasília, Buenos Aires, Montevidéu" | "UTC -2: Ilha da Geórgia do Sul" | "UTC -1: Açores, Cabo Verde" | "UTC 0: Londres, Lisboa, Accra" | "UTC +1: Paris, Berlim, Roma, Madri" | "UTC +2: Atenas, Cairo, Joanesburgo" | "UTC +3: Moscou, Riad, Nairóbi" | "UTC +4: Dubai, Baku" | "UTC +5: Islamabad, Maldivas" | "UTC +6: Dhaka, Butão" | "UTC +7: Bancoc, Jacarta, Hanói" | "UTC +8: Pequim, Hong Kong, Perth" | "UTC +9: Tóquio, Seul" | "UTC +10: Sydney, Vladivostok" | "UTC +11: Ilhas Salomão, Nova Caledônia" | "UTC +12: Nova Zelândia, Fiji" | "Fuso horário não encontrado";
|
|
165
|
+
description(val: number): "UTC -12: Baker Island, Howland Island" | "UTC -11: Samoa Americana, Niue" | "UTC -10: Havaí, Polinésia Francesa" | "UTC -9: Alasca" | "UTC -8: Los Angeles, Vancouver, Tijuana" | "UTC -7: Denver, Calgary, Phoenix, Arizona" | "UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica" | "UTC -5: Nova York, Bogotá, Lima, Toronto" | "UTC -4: Caracas, Santiago, La Paz, Halifax" | "UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo" | "UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha" | "UTC -1: Açores, Cabo Verde" | "UTC 0: Londres, Lisboa, Accra, Dublin" | "UTC +1: Paris, Berlim, Roma, Madri, Bruxelas" | "UTC +2: Atenas, Cairo, Joanesburgo, Helsinque" | "UTC +3: Moscou, Riad, Nairóbi, São Petersburgo" | "UTC +4: Dubai, Baku, Samara" | "UTC +5: Islamabad, Maldivas, Tasquente" | "UTC +6: Dhaka, Butão, Almaty" | "UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk" | "UTC +8: Pequim, Hong Kong, Perth, Singapura" | "UTC +9: Tóquio, Seul, Yakutsk" | "UTC +10: Sydney, Vladivostok, Port Moresby" | "UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk" | "UTC +12: Nova Zelândia, Fiji, Kamchatka" | "Fuso horário não encontrado";
|
|
166
166
|
};
|
package/dist/config/index.js
CHANGED
|
@@ -432,45 +432,45 @@ exports.FusoHorario = {
|
|
|
432
432
|
case this.UTC_M8:
|
|
433
433
|
return 'UTC -8: Los Angeles, Vancouver, Tijuana';
|
|
434
434
|
case this.UTC_M7:
|
|
435
|
-
return 'UTC -7: Denver, Calgary, Arizona';
|
|
435
|
+
return 'UTC -7: Denver, Calgary, Phoenix, Arizona';
|
|
436
436
|
case this.UTC_M6:
|
|
437
|
-
return 'UTC -6: México, Chicago, Costa Rica';
|
|
437
|
+
return 'UTC -6: Cidade do México, Chicago, Winnipeg, Costa Rica';
|
|
438
438
|
case this.UTC_M5:
|
|
439
|
-
return 'UTC -5: Nova York, Bogotá, Lima';
|
|
439
|
+
return 'UTC -5: Nova York, Bogotá, Lima, Toronto';
|
|
440
440
|
case this.UTC_M4:
|
|
441
|
-
return 'UTC -4: Caracas, Santiago, La Paz';
|
|
441
|
+
return 'UTC -4: Caracas, Santiago, La Paz, Halifax';
|
|
442
442
|
case this.UTC_M3:
|
|
443
|
-
return 'UTC -3: Brasília, Buenos Aires, Montevidéu';
|
|
443
|
+
return 'UTC -3: Brasília, Buenos Aires, Montevidéu, São Paulo';
|
|
444
444
|
case this.UTC_M2:
|
|
445
|
-
return 'UTC -2: Ilha da Geórgia do Sul';
|
|
445
|
+
return 'UTC -2: Ilha da Geórgia do Sul, Fernando de Noronha';
|
|
446
446
|
case this.UTC_M1:
|
|
447
447
|
return 'UTC -1: Açores, Cabo Verde';
|
|
448
448
|
case this.UTC_0:
|
|
449
|
-
return 'UTC 0: Londres, Lisboa, Accra';
|
|
449
|
+
return 'UTC 0: Londres, Lisboa, Accra, Dublin';
|
|
450
450
|
case this.UTC_P1:
|
|
451
|
-
return 'UTC +1: Paris, Berlim, Roma, Madri';
|
|
451
|
+
return 'UTC +1: Paris, Berlim, Roma, Madri, Bruxelas';
|
|
452
452
|
case this.UTC_P2:
|
|
453
|
-
return 'UTC +2: Atenas, Cairo, Joanesburgo';
|
|
453
|
+
return 'UTC +2: Atenas, Cairo, Joanesburgo, Helsinque';
|
|
454
454
|
case this.UTC_P3:
|
|
455
|
-
return 'UTC +3: Moscou, Riad, Nairóbi';
|
|
455
|
+
return 'UTC +3: Moscou, Riad, Nairóbi, São Petersburgo';
|
|
456
456
|
case this.UTC_P4:
|
|
457
|
-
return 'UTC +4: Dubai, Baku';
|
|
457
|
+
return 'UTC +4: Dubai, Baku, Samara';
|
|
458
458
|
case this.UTC_P5:
|
|
459
|
-
return 'UTC +5: Islamabad, Maldivas';
|
|
459
|
+
return 'UTC +5: Islamabad, Maldivas, Tasquente';
|
|
460
460
|
case this.UTC_P6:
|
|
461
|
-
return 'UTC +6: Dhaka, Butão';
|
|
461
|
+
return 'UTC +6: Dhaka, Butão, Almaty';
|
|
462
462
|
case this.UTC_P7:
|
|
463
|
-
return 'UTC +7: Bancoc, Jacarta, Hanói';
|
|
463
|
+
return 'UTC +7: Bancoc, Jacarta, Hanói, Novosibirsk';
|
|
464
464
|
case this.UTC_P8:
|
|
465
|
-
return 'UTC +8: Pequim, Hong Kong, Perth';
|
|
465
|
+
return 'UTC +8: Pequim, Hong Kong, Perth, Singapura';
|
|
466
466
|
case this.UTC_P9:
|
|
467
|
-
return 'UTC +9: Tóquio, Seul';
|
|
467
|
+
return 'UTC +9: Tóquio, Seul, Yakutsk';
|
|
468
468
|
case this.UTC_P10:
|
|
469
|
-
return 'UTC +10: Sydney, Vladivostok';
|
|
469
|
+
return 'UTC +10: Sydney, Vladivostok, Port Moresby';
|
|
470
470
|
case this.UTC_P11:
|
|
471
|
-
return 'UTC +11: Ilhas Salomão, Nova Caledônia';
|
|
471
|
+
return 'UTC +11: Ilhas Salomão, Nova Caledônia, Srednekolymsk';
|
|
472
472
|
case this.UTC_P12:
|
|
473
|
-
return 'UTC +12: Nova Zelândia, Fiji';
|
|
473
|
+
return 'UTC +12: Nova Zelândia, Fiji, Kamchatka';
|
|
474
474
|
default:
|
|
475
475
|
return 'Fuso horário não encontrado';
|
|
476
476
|
}
|
package/dist/fiscal/index.d.ts
CHANGED
|
@@ -281,7 +281,8 @@ export declare const SituacaoNotaFiscal: {
|
|
|
281
281
|
EmImportacao: string;
|
|
282
282
|
Importada: string;
|
|
283
283
|
EmContingencia: string;
|
|
284
|
-
|
|
284
|
+
Excluida: string;
|
|
285
|
+
description(val: string): "enum not found" | "Em Edição" | "Autorizada" | "Em Processamento" | "Rejeitada" | "Cancelada" | "Inutilizada" | "Denegada" | "Em Importação" | "Importada" | "Contingência" | "Excluída";
|
|
285
286
|
};
|
|
286
287
|
export declare const SituacaoManifestoDestinatario: {
|
|
287
288
|
SemManifestacao: string;
|
package/dist/fiscal/index.js
CHANGED
|
@@ -819,6 +819,7 @@ exports.SituacaoNotaFiscal = {
|
|
|
819
819
|
EmImportacao: '7',
|
|
820
820
|
Importada: '8',
|
|
821
821
|
EmContingencia: '9',
|
|
822
|
+
Excluida: '10',
|
|
822
823
|
description(val) {
|
|
823
824
|
switch (val) {
|
|
824
825
|
case this.EmEdicao:
|
|
@@ -841,6 +842,8 @@ exports.SituacaoNotaFiscal = {
|
|
|
841
842
|
return 'Importada';
|
|
842
843
|
case this.EmContingencia:
|
|
843
844
|
return 'Contingência';
|
|
845
|
+
case this.Excluida:
|
|
846
|
+
return 'Excluída';
|
|
844
847
|
default:
|
|
845
848
|
return 'enum not found';
|
|
846
849
|
}
|
|
@@ -24,7 +24,7 @@ const FOOTER = {
|
|
|
24
24
|
},
|
|
25
25
|
LOGO_FILTER: {
|
|
26
26
|
KEY: 'component_footer_logo_dark_filter',
|
|
27
|
-
DEFAULT: '
|
|
27
|
+
DEFAULT: 'none',
|
|
28
28
|
VALUES: ['light', 'dark', 'none'],
|
|
29
29
|
},
|
|
30
30
|
},
|
|
@@ -42,7 +42,7 @@ const HEADER = {
|
|
|
42
42
|
},
|
|
43
43
|
LOGO_FILTER: {
|
|
44
44
|
KEY: 'component_header_logo_light_filter',
|
|
45
|
-
DEFAULT: '
|
|
45
|
+
DEFAULT: 'none',
|
|
46
46
|
VALUES: ['light', 'dark', 'none'],
|
|
47
47
|
},
|
|
48
48
|
},
|
|
@@ -53,7 +53,7 @@ const HEADER = {
|
|
|
53
53
|
},
|
|
54
54
|
LOGO_FILTER: {
|
|
55
55
|
KEY: 'component_header_logo_dark_filter',
|
|
56
|
-
DEFAULT: '
|
|
56
|
+
DEFAULT: 'none',
|
|
57
57
|
VALUES: ['light', 'dark', 'none'],
|
|
58
58
|
},
|
|
59
59
|
},
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.5.
|
|
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
|
-
"dependencies": {}
|
|
32
|
-
}
|
|
33
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.5.25",
|
|
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
|
+
"dependencies": {}
|
|
32
|
+
}
|
|
33
|
+
|