mdz-enum 1.6.2 → 1.6.4
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/fiscal/index.d.ts +2 -1
- package/dist/fiscal/index.js +3 -0
- package/dist/marketplace/templates/components/index.d.ts +9 -1
- package/dist/marketplace/templates/components/index.js +11 -1
- package/dist/marketplace/templates/index.d.ts +8 -0
- package/dist/marketplace/templates/index.js +1 -0
- package/package.json +1 -1
package/dist/fiscal/index.d.ts
CHANGED
|
@@ -141,7 +141,8 @@ export declare const TipoOperacaoNotaFiscal: {
|
|
|
141
141
|
Compra: string;
|
|
142
142
|
RetornoConsignacao: string;
|
|
143
143
|
Outros: string;
|
|
144
|
-
|
|
144
|
+
CompraManual: string;
|
|
145
|
+
description(val: string): "enum not found" | "Venda" | "Devolução de Compra" | "Devolução de Venda" | "Transferência de Entrada" | "Transferência de Saída" | "Remessa de Entrada" | "Remessa de Saída" | "Demonstração" | "Perdas" | "Consignação" | "Compra" | "Retorno Consignação" | "Outros" | "Compra Manual";
|
|
145
146
|
};
|
|
146
147
|
export declare const TipoNaturezaOperacaoNotaFiscal: {
|
|
147
148
|
Venda: string;
|
package/dist/fiscal/index.js
CHANGED
|
@@ -397,6 +397,7 @@ exports.TipoOperacaoNotaFiscal = {
|
|
|
397
397
|
Compra: '10',
|
|
398
398
|
RetornoConsignacao: '11',
|
|
399
399
|
Outros: '12',
|
|
400
|
+
CompraManual: '13',
|
|
400
401
|
description(val) {
|
|
401
402
|
switch (val) {
|
|
402
403
|
case this.Venda:
|
|
@@ -425,6 +426,8 @@ exports.TipoOperacaoNotaFiscal = {
|
|
|
425
426
|
return 'Retorno Consignação';
|
|
426
427
|
case this.Outros:
|
|
427
428
|
return 'Outros';
|
|
429
|
+
case this.CompraManual:
|
|
430
|
+
return 'Compra Manual';
|
|
428
431
|
default:
|
|
429
432
|
return 'enum not found';
|
|
430
433
|
}
|
|
@@ -251,6 +251,14 @@ declare const BANNERS_ASPECT_RATIO: {
|
|
|
251
251
|
DEFAULT: string;
|
|
252
252
|
VALUES: string[];
|
|
253
253
|
};
|
|
254
|
+
declare const IMAGE_DISPLAY: {
|
|
255
|
+
KEY: string;
|
|
256
|
+
DEFAULT: string;
|
|
257
|
+
VALUES: {
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
254
262
|
/**
|
|
255
263
|
* Referencia para faixa de destaque na home.
|
|
256
264
|
*/
|
|
@@ -274,4 +282,4 @@ declare const HOME_PAGE_HIGHLIGHT: {
|
|
|
274
282
|
};
|
|
275
283
|
};
|
|
276
284
|
};
|
|
277
|
-
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, BANNERS_ASPECT_RATIO, HOME_PAGE_HIGHLIGHT, };
|
|
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, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HOME_PAGE_HIGHLIGHT = 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.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,16 @@ const BANNERS_ASPECT_RATIO = {
|
|
|
269
269
|
VALUES: ['16:4', '16:8'],
|
|
270
270
|
};
|
|
271
271
|
exports.BANNERS_ASPECT_RATIO = BANNERS_ASPECT_RATIO;
|
|
272
|
+
const IMAGE_DISPLAY = {
|
|
273
|
+
KEY: 'component_product_card_image_display',
|
|
274
|
+
DEFAULT: 'carousel',
|
|
275
|
+
VALUES: [
|
|
276
|
+
{ label: 'Carrossel', value: 'carousel' },
|
|
277
|
+
{ label: 'Miniaturas', value: 'thumbs' },
|
|
278
|
+
{ label: 'Mosaico', value: 'mosaic' },
|
|
279
|
+
],
|
|
280
|
+
};
|
|
281
|
+
exports.IMAGE_DISPLAY = IMAGE_DISPLAY;
|
|
272
282
|
/**
|
|
273
283
|
* Referencia para faixa de destaque na home.
|
|
274
284
|
*/
|
|
@@ -437,6 +437,14 @@ declare const APPEARANCE_COMPONENTS: {
|
|
|
437
437
|
DEFAULT: string;
|
|
438
438
|
VALUES: string[];
|
|
439
439
|
};
|
|
440
|
+
IMAGE_DISPLAY: {
|
|
441
|
+
KEY: string;
|
|
442
|
+
DEFAULT: string;
|
|
443
|
+
VALUES: {
|
|
444
|
+
label: string;
|
|
445
|
+
value: string;
|
|
446
|
+
}[];
|
|
447
|
+
};
|
|
440
448
|
HOME_PAGE_HIGHLIGHT: {
|
|
441
449
|
ENABLED: {
|
|
442
450
|
KEY: string;
|
|
@@ -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
|
BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
|
|
35
|
+
IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
|
|
35
36
|
HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
|
|
36
37
|
};
|
|
37
38
|
exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
|