mdz-enum 1.5.56 → 1.5.58

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.
@@ -159,6 +159,15 @@ declare const PRODUCT_CARD: {
159
159
  DEFAULT: string;
160
160
  VALUES: string[];
161
161
  };
162
+ /** Bordas */
163
+ BORDER: {
164
+ KEY: string;
165
+ DEFAULT: string;
166
+ VALUES: {
167
+ label: string;
168
+ value: string;
169
+ }[];
170
+ };
162
171
  };
163
172
  /**
164
173
  * Refencia da aparencia do botao de compra
@@ -240,4 +249,9 @@ declare const ENVIAR_PEDIDO_WPP: {
240
249
  DEFAULT: string;
241
250
  VALUES: string[];
242
251
  };
243
- export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, };
252
+ declare const BANNERS_ASPECT_RATIO: {
253
+ KEY: string;
254
+ DEFAULT: string;
255
+ VALUES: string[];
256
+ };
257
+ export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, BANNERS_ASPECT_RATIO, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.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
  */
@@ -161,6 +161,7 @@ const PRODUCT_CARD = {
161
161
  VALUES: [
162
162
  { label: '4/4', value: '4/4' },
163
163
  { label: '3/4', value: '3/4' },
164
+ { label: '2/3', value: '2/3' },
164
165
  ],
165
166
  },
166
167
  /** Mostrar botão */
@@ -169,6 +170,15 @@ const PRODUCT_CARD = {
169
170
  DEFAULT: 'true',
170
171
  VALUES: ['true', 'false'],
171
172
  },
173
+ /** Bordas */
174
+ BORDER: {
175
+ KEY: 'component_product_card_border',
176
+ DEFAULT: '0',
177
+ VALUES: [
178
+ { label: 'Com borda', value: '0' },
179
+ { label: 'Sem borda', value: '1' },
180
+ ],
181
+ },
172
182
  };
173
183
  exports.PRODUCT_CARD = PRODUCT_CARD;
174
184
  /**
@@ -256,3 +266,9 @@ const ENVIAR_PEDIDO_WPP = {
256
266
  VALUES: ['true', 'false'],
257
267
  };
258
268
  exports.ENVIAR_PEDIDO_WPP = ENVIAR_PEDIDO_WPP;
269
+ const BANNERS_ASPECT_RATIO = {
270
+ KEY: 'banners_aspect_ratio',
271
+ DEFAULT: '16:4',
272
+ VALUES: ['16:4', '16:8'],
273
+ };
274
+ exports.BANNERS_ASPECT_RATIO = BANNERS_ASPECT_RATIO;
@@ -13,9 +13,6 @@ declare const APPEARANCE_PAGES: {
13
13
  KEY: string;
14
14
  DEFAULT: string;
15
15
  };
16
- /**
17
- * Constante de configuração de aparência das páginas (blocks)
18
- */
19
16
  HOME_PAGE_CATEGORY_TITLE: {
20
17
  KEY: string;
21
18
  DEFAULT: string;
@@ -48,6 +45,18 @@ declare const APPEARANCE_PAGES: {
48
45
  KEY: string;
49
46
  DEFAULT: string;
50
47
  };
48
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT: {
49
+ KEY: string;
50
+ DEFAULT: string;
51
+ };
52
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT_COLOR: {
53
+ KEY: string;
54
+ DEFAULT: string;
55
+ };
56
+ HOME_PAGE_HIGHLIGHT_BAR_BACKGROUND_COLOR: {
57
+ KEY: string;
58
+ DEFAULT: string;
59
+ };
51
60
  BLOCK_IDS: {
52
61
  BANNERS: number;
53
62
  CATEGORIES: number;
@@ -161,6 +170,14 @@ declare const APPEARANCE_COMPONENTS: {
161
170
  DEFAULT: string;
162
171
  VALUES: string[];
163
172
  };
173
+ BORDER: {
174
+ KEY: string;
175
+ DEFAULT: string;
176
+ VALUES: {
177
+ label: string;
178
+ value: string;
179
+ }[];
180
+ };
164
181
  };
165
182
  BUTTON: {
166
183
  RADIUS: {
@@ -337,6 +354,11 @@ declare const APPEARANCE_COMPONENTS: {
337
354
  DEFAULT: string;
338
355
  VALUES: string[];
339
356
  };
357
+ BANNERS_ASPECT_RATIO: {
358
+ KEY: string;
359
+ DEFAULT: string;
360
+ VALUES: string[];
361
+ };
340
362
  };
341
363
  /**
342
364
  * Constante de configuração de referencia para elementos gerais (any)
@@ -361,6 +383,9 @@ declare const APPEARANCE_ELEMENTS: {
361
383
  DEFAULT: string;
362
384
  };
363
385
  };
386
+ /**
387
+ * Constante de configuração de aparência das páginas (blocks)
388
+ */
364
389
  DESCRIPTION: {
365
390
  MOBILE: {
366
391
  KEY: string;
@@ -31,6 +31,7 @@ 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
+ BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
34
35
  };
35
36
  exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
36
37
  /**
@@ -53,6 +53,21 @@ declare const HOME_PAGE: {
53
53
  KEY: string;
54
54
  DEFAULT: string;
55
55
  };
56
+ /**
57
+ * Faixa de destaque
58
+ */
59
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT: {
60
+ KEY: string;
61
+ DEFAULT: string;
62
+ };
63
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT_COLOR: {
64
+ KEY: string;
65
+ DEFAULT: string;
66
+ };
67
+ HOME_PAGE_HIGHLIGHT_BAR_BACKGROUND_COLOR: {
68
+ KEY: string;
69
+ DEFAULT: string;
70
+ };
56
71
  BLOCK_IDS: {
57
72
  BANNERS: number;
58
73
  CATEGORIES: number;
@@ -57,6 +57,21 @@ const HOME_PAGE = {
57
57
  KEY: 'home_page_featured_products',
58
58
  DEFAULT: '',
59
59
  },
60
+ /**
61
+ * Faixa de destaque
62
+ */
63
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT: {
64
+ KEY: 'home_page_highlight_bar_text',
65
+ DEFAULT: '',
66
+ },
67
+ HOME_PAGE_HIGHLIGHT_BAR_TEXT_COLOR: {
68
+ KEY: 'home_page_highlight_bar_text_color',
69
+ DEFAULT: '#ffffff',
70
+ },
71
+ HOME_PAGE_HIGHLIGHT_BAR_BACKGROUND_COLOR: {
72
+ KEY: 'home_page_highlight_bar_background_color',
73
+ DEFAULT: '#000000',
74
+ },
60
75
  BLOCK_IDS: {
61
76
  BANNERS: 1,
62
77
  CATEGORIES: 2,
@@ -224,6 +239,21 @@ const HOME_PAGE = {
224
239
  text: 'Novo',
225
240
  },
226
241
  },
242
+ {
243
+ id: 12,
244
+ name: 'Faixa de destaque',
245
+ icon: {
246
+ type: 'FaBagShopping',
247
+ size: DEFAULT_ICON_SIZE,
248
+ },
249
+ enabled: true,
250
+ immutable: false,
251
+ configurable: true,
252
+ badge: {
253
+ color: 'success',
254
+ text: 'Novo',
255
+ },
256
+ },
227
257
  ],
228
258
  };
229
259
  exports.HOME_PAGE = HOME_PAGE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.5.56",
3
+ "version": "1.5.58",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {