mdz-enum 1.6.17 → 1.6.20
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/general/index.d.ts +1 -1
- package/dist/general/index.js +1 -1
- package/dist/marketplace/templates/components/index.d.ts +14 -1
- package/dist/marketplace/templates/components/index.js +18 -1
- package/dist/marketplace/templates/index.d.ts +16 -1
- package/dist/marketplace/templates/index.js +2 -0
- package/dist/platform/index.d.ts +1 -1
- package/package.json +2 -3
package/dist/general/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare const Uf: {
|
|
|
51
51
|
DF: string;
|
|
52
52
|
AN: string;
|
|
53
53
|
EX: string;
|
|
54
|
-
description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Piauí" | "Ceará" | "Rio Grande do Norte" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Rio Grande do Sul" | "
|
|
54
|
+
description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Piauí" | "Ceará" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Rio Grande do Sul" | "Minas Gerais" | undefined;
|
|
55
55
|
shortDescription(val: string): "RO" | "AC" | "AM" | "RR" | "PA" | "AP" | "TO" | "MA" | "PI" | "CE" | "RN" | "PB" | "PE" | "AL" | "SE" | "BA" | "MG" | "ES" | "RJ" | "SP" | "PR" | "SC" | "MS" | "MT" | "GO" | "DF" | "RS" | undefined;
|
|
56
56
|
};
|
|
57
57
|
export declare const ProporcaoImagem: {
|
package/dist/general/index.js
CHANGED
|
@@ -246,6 +246,19 @@ declare const ENVIAR_PEDIDO_WPP: {
|
|
|
246
246
|
DEFAULT: string;
|
|
247
247
|
VALUES: string[];
|
|
248
248
|
};
|
|
249
|
+
declare const COM_GRADE: {
|
|
250
|
+
KEY: string;
|
|
251
|
+
DEFAULT: string;
|
|
252
|
+
VALUES: string[];
|
|
253
|
+
};
|
|
254
|
+
declare const FORMATO_EXIBICAO: {
|
|
255
|
+
KEY: string;
|
|
256
|
+
DEFAULT: string;
|
|
257
|
+
VALUES: {
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
249
262
|
declare const BANNERS_ASPECT_RATIO: {
|
|
250
263
|
KEY: string;
|
|
251
264
|
DEFAULT: string;
|
|
@@ -282,4 +295,4 @@ declare const HOME_PAGE_HIGHLIGHT: {
|
|
|
282
295
|
};
|
|
283
296
|
};
|
|
284
297
|
};
|
|
285
|
-
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, BANNERS_ASPECT_RATIO, IMAGE_DISPLAY, HOME_PAGE_HIGHLIGHT, };
|
|
298
|
+
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, COM_GRADE, FORMATO_EXIBICAO, BANNERS_ASPECT_RATIO, IMAGE_DISPLAY, HOME_PAGE_HIGHLIGHT, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HOME_PAGE_HIGHLIGHT = exports.IMAGE_DISPLAY = exports.BANNERS_ASPECT_RATIO = exports.ENVIAR_PEDIDO_WPP = exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = exports.CART_BUTTON = exports.SUBMENU = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
|
|
3
|
+
exports.HOME_PAGE_HIGHLIGHT = exports.IMAGE_DISPLAY = exports.BANNERS_ASPECT_RATIO = exports.FORMATO_EXIBICAO = exports.COM_GRADE = exports.ENVIAR_PEDIDO_WPP = exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = exports.CART_BUTTON = exports.SUBMENU = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Referencia de aparencia do rodape
|
|
6
6
|
*/
|
|
@@ -263,6 +263,23 @@ const ENVIAR_PEDIDO_WPP = {
|
|
|
263
263
|
VALUES: ['true', 'false'],
|
|
264
264
|
};
|
|
265
265
|
exports.ENVIAR_PEDIDO_WPP = ENVIAR_PEDIDO_WPP;
|
|
266
|
+
const COM_GRADE = {
|
|
267
|
+
KEY: 'com_grade',
|
|
268
|
+
DEFAULT: 'true',
|
|
269
|
+
VALUES: ['true', 'false'],
|
|
270
|
+
};
|
|
271
|
+
exports.COM_GRADE = COM_GRADE;
|
|
272
|
+
const FORMATO_EXIBICAO = {
|
|
273
|
+
KEY: 'formato_exibicao',
|
|
274
|
+
DEFAULT: '1',
|
|
275
|
+
VALUES: [
|
|
276
|
+
{ label: 'Não Exibir', value: '0' },
|
|
277
|
+
{ label: 'Agrup por cor', value: '1' },
|
|
278
|
+
{ label: 'Agrup por tamanho', value: '2' },
|
|
279
|
+
{ label: 'Modelo de cadastro', value: '3' },
|
|
280
|
+
],
|
|
281
|
+
};
|
|
282
|
+
exports.FORMATO_EXIBICAO = FORMATO_EXIBICAO;
|
|
266
283
|
const BANNERS_ASPECT_RATIO = {
|
|
267
284
|
KEY: 'banners_aspect_ratio',
|
|
268
285
|
DEFAULT: '16:4',
|
|
@@ -432,6 +432,19 @@ declare const APPEARANCE_COMPONENTS: {
|
|
|
432
432
|
DEFAULT: string;
|
|
433
433
|
VALUES: string[];
|
|
434
434
|
};
|
|
435
|
+
COM_GRADE: {
|
|
436
|
+
KEY: string;
|
|
437
|
+
DEFAULT: string;
|
|
438
|
+
VALUES: string[];
|
|
439
|
+
};
|
|
440
|
+
FORMATO_EXIBICAO: {
|
|
441
|
+
KEY: string;
|
|
442
|
+
DEFAULT: string;
|
|
443
|
+
VALUES: {
|
|
444
|
+
label: string;
|
|
445
|
+
value: string;
|
|
446
|
+
}[];
|
|
447
|
+
};
|
|
435
448
|
BANNERS_ASPECT_RATIO: {
|
|
436
449
|
KEY: string;
|
|
437
450
|
DEFAULT: string;
|
|
@@ -492,7 +505,9 @@ declare const APPEARANCE_ELEMENTS: {
|
|
|
492
505
|
DESCRIPTION: {
|
|
493
506
|
MOBILE: {
|
|
494
507
|
KEY: string;
|
|
495
|
-
};
|
|
508
|
+
}; /**
|
|
509
|
+
* Constante de configuração de aparência das páginas (blocks)
|
|
510
|
+
*/
|
|
496
511
|
DESKTOP: {
|
|
497
512
|
KEY: string;
|
|
498
513
|
};
|
|
@@ -31,6 +31,8 @@ const APPEARANCE_COMPONENTS = {
|
|
|
31
31
|
COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
|
|
32
32
|
COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
|
|
33
33
|
ENVIAR_PEDIDO_WPP: components_1.ENVIAR_PEDIDO_WPP,
|
|
34
|
+
COM_GRADE: components_1.COM_GRADE,
|
|
35
|
+
FORMATO_EXIBICAO: components_1.FORMATO_EXIBICAO,
|
|
34
36
|
BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
|
|
35
37
|
IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
|
|
36
38
|
HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ export declare const UnidadeFederativa: {
|
|
|
172
172
|
Sergipe: number;
|
|
173
173
|
Sao_Paulo: number;
|
|
174
174
|
Tocantins: number;
|
|
175
|
-
description(val: number): "enum not found" | "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Piauí" | "Ceará" | "Rio Grande do Norte" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Rio Grande do Sul" | "
|
|
175
|
+
description(val: number): "enum not found" | "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Piauí" | "Ceará" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Rio Grande do Sul" | "Minas Gerais";
|
|
176
176
|
};
|
|
177
177
|
export declare const MotivoInativacao: {
|
|
178
178
|
Inadimplencia: string;
|
package/package.json
CHANGED