mdz-enum 1.6.22 → 1.6.24
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/marketplace/templates/components/index.d.ts +9 -1
- package/dist/marketplace/templates/components/index.js +10 -1
- package/dist/marketplace/templates/index.d.ts +12 -3
- package/dist/marketplace/templates/index.js +1 -0
- package/dist/platform/index.d.ts +2 -1
- package/dist/platform/index.js +3 -0
- package/package.json +1 -1
|
@@ -251,6 +251,14 @@ declare const COM_GRADE: {
|
|
|
251
251
|
DEFAULT: string;
|
|
252
252
|
VALUES: string[];
|
|
253
253
|
};
|
|
254
|
+
declare const CHECKOUT: {
|
|
255
|
+
KEY: string;
|
|
256
|
+
DEFAULT: string;
|
|
257
|
+
VALUES: {
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
254
262
|
declare const FORMATO_EXIBICAO: {
|
|
255
263
|
KEY: string;
|
|
256
264
|
DEFAULT: string;
|
|
@@ -295,4 +303,4 @@ declare const HOME_PAGE_HIGHLIGHT: {
|
|
|
295
303
|
};
|
|
296
304
|
};
|
|
297
305
|
};
|
|
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, };
|
|
306
|
+
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, COM_GRADE, CHECKOUT, 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.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;
|
|
3
|
+
exports.HOME_PAGE_HIGHLIGHT = exports.IMAGE_DISPLAY = exports.BANNERS_ASPECT_RATIO = exports.FORMATO_EXIBICAO = exports.CHECKOUT = 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
|
*/
|
|
@@ -269,6 +269,15 @@ const COM_GRADE = {
|
|
|
269
269
|
VALUES: ['true', 'false'],
|
|
270
270
|
};
|
|
271
271
|
exports.COM_GRADE = COM_GRADE;
|
|
272
|
+
const CHECKOUT = {
|
|
273
|
+
KEY: 'checkout',
|
|
274
|
+
DEFAULT: 'padrao',
|
|
275
|
+
VALUES: [
|
|
276
|
+
{ label: 'Padrão', value: 'padrao' },
|
|
277
|
+
{ label: 'Simples', value: 'simples' },
|
|
278
|
+
],
|
|
279
|
+
};
|
|
280
|
+
exports.CHECKOUT = CHECKOUT;
|
|
272
281
|
const FORMATO_EXIBICAO = {
|
|
273
282
|
KEY: 'formato_exibicao',
|
|
274
283
|
DEFAULT: '1',
|
|
@@ -22,6 +22,9 @@ declare const APPEARANCE_PAGES: {
|
|
|
22
22
|
DEFAULT: string;
|
|
23
23
|
};
|
|
24
24
|
HOME_PAGE_CATEGORY_SIZE: {
|
|
25
|
+
/**
|
|
26
|
+
* Constante de configuração de aparência dos componentes (themes)
|
|
27
|
+
*/
|
|
25
28
|
KEY: string;
|
|
26
29
|
DEFAULT: string;
|
|
27
30
|
};
|
|
@@ -437,6 +440,14 @@ declare const APPEARANCE_COMPONENTS: {
|
|
|
437
440
|
DEFAULT: string;
|
|
438
441
|
VALUES: string[];
|
|
439
442
|
};
|
|
443
|
+
CHECKOUT: {
|
|
444
|
+
KEY: string;
|
|
445
|
+
DEFAULT: string;
|
|
446
|
+
VALUES: {
|
|
447
|
+
label: string;
|
|
448
|
+
value: string;
|
|
449
|
+
}[];
|
|
450
|
+
};
|
|
440
451
|
FORMATO_EXIBICAO: {
|
|
441
452
|
KEY: string;
|
|
442
453
|
DEFAULT: string;
|
|
@@ -505,9 +516,7 @@ declare const APPEARANCE_ELEMENTS: {
|
|
|
505
516
|
DESCRIPTION: {
|
|
506
517
|
MOBILE: {
|
|
507
518
|
KEY: string;
|
|
508
|
-
};
|
|
509
|
-
* Constante de configuração de aparência das páginas (blocks)
|
|
510
|
-
*/
|
|
519
|
+
};
|
|
511
520
|
DESKTOP: {
|
|
512
521
|
KEY: string;
|
|
513
522
|
};
|
|
@@ -32,6 +32,7 @@ const APPEARANCE_COMPONENTS = {
|
|
|
32
32
|
COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
|
|
33
33
|
ENVIAR_PEDIDO_WPP: components_1.ENVIAR_PEDIDO_WPP,
|
|
34
34
|
COM_GRADE: components_1.COM_GRADE,
|
|
35
|
+
CHECKOUT: components_1.CHECKOUT,
|
|
35
36
|
FORMATO_EXIBICAO: components_1.FORMATO_EXIBICAO,
|
|
36
37
|
BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
|
|
37
38
|
IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -136,8 +136,9 @@ export declare const Aplicativos: {
|
|
|
136
136
|
Tray: number;
|
|
137
137
|
TEFDestaxa: number;
|
|
138
138
|
GestaoContabil: number;
|
|
139
|
+
NFSeNacional: number;
|
|
139
140
|
Nuvemshop: number;
|
|
140
|
-
description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil";
|
|
141
|
+
description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)";
|
|
141
142
|
};
|
|
142
143
|
export declare const IsDemonstracao: {
|
|
143
144
|
Demonstracao: boolean;
|
package/dist/platform/index.js
CHANGED
|
@@ -365,6 +365,7 @@ exports.Aplicativos = {
|
|
|
365
365
|
Tray: 18,
|
|
366
366
|
TEFDestaxa: 19,
|
|
367
367
|
GestaoContabil: 20,
|
|
368
|
+
NFSeNacional: 21,
|
|
368
369
|
Nuvemshop: 70,
|
|
369
370
|
description(val) {
|
|
370
371
|
switch (val) {
|
|
@@ -402,6 +403,8 @@ exports.Aplicativos = {
|
|
|
402
403
|
return 'TEF Destaxa';
|
|
403
404
|
case this.GestaoContabil:
|
|
404
405
|
return 'Gestão Contábil';
|
|
406
|
+
case this.NFSeNacional:
|
|
407
|
+
return 'NFSe (Ambiente Nacional)';
|
|
405
408
|
default:
|
|
406
409
|
return 'enum not found';
|
|
407
410
|
}
|