mdz-enum 1.6.63 → 1.6.64

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.
Files changed (43) hide show
  1. package/dist/checkout/index.d.ts +33 -33
  2. package/dist/checkout/index.js +97 -97
  3. package/dist/commercial/index.d.ts +247 -247
  4. package/dist/commercial/index.js +607 -607
  5. package/dist/common/index.d.ts +71 -71
  6. package/dist/common/index.js +205 -205
  7. package/dist/config/index.d.ts +200 -200
  8. package/dist/config/index.js +576 -576
  9. package/dist/eva/index.d.ts +143 -143
  10. package/dist/eva/index.js +173 -173
  11. package/dist/finance/index.d.ts +240 -240
  12. package/dist/finance/index.js +728 -728
  13. package/dist/fiscal/index.d.ts +572 -572
  14. package/dist/fiscal/index.js +1484 -1484
  15. package/dist/functions.d.ts +11 -11
  16. package/dist/functions.js +74 -74
  17. package/dist/general/index.d.ts +265 -265
  18. package/dist/general/index.js +512 -512
  19. package/dist/home/index.d.ts +88 -88
  20. package/dist/home/index.js +268 -268
  21. package/dist/index.d.ts +16 -16
  22. package/dist/index.js +268 -267
  23. package/dist/integration/index.d.ts +37 -37
  24. package/dist/integration/index.js +109 -109
  25. package/dist/logistics/index.d.ts +174 -174
  26. package/dist/logistics/index.js +493 -493
  27. package/dist/marketplace/templates/components/index.d.ts +340 -340
  28. package/dist/marketplace/templates/components/index.js +371 -371
  29. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  30. package/dist/marketplace/templates/elements/index.js +35 -35
  31. package/dist/marketplace/templates/index.d.ts +559 -556
  32. package/dist/marketplace/templates/index.js +49 -49
  33. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  34. package/dist/marketplace/templates/pages/index.js +413 -413
  35. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  36. package/dist/marketplace/templates/reference/index.js +26 -26
  37. package/dist/people/index.d.ts +62 -62
  38. package/dist/people/index.js +180 -180
  39. package/dist/platform/index.d.ts +218 -218
  40. package/dist/platform/index.js +632 -632
  41. package/dist/reports/index.d.ts +102 -96
  42. package/dist/reports/index.js +298 -281
  43. package/package.json +1 -1
@@ -1,371 +1,371 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HOME_PAGE_HIGHLIGHT = exports.IMAGE_DISPLAY = exports.BANNERS_ASPECT_RATIO = exports.FORMATO_EXIBICAO = exports.CHECKOUT = exports.COM_GRADE = exports.LOJA_ATACADISTA = 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
- /**
5
- * Referencia de aparencia do rodape
6
- */
7
- const FOOTER = {
8
- /** Cor do rodape */
9
- LIGHT: {
10
- COLOR: {
11
- KEY: 'component_footer_light_color',
12
- DEFAULT: '#8854D0',
13
- },
14
- LOGO_FILTER: {
15
- KEY: 'component_footer_logo_light_filter',
16
- DEFAULT: 'none',
17
- VALUES: ['light', 'dark', 'none'],
18
- },
19
- },
20
- DARK: {
21
- COLOR: {
22
- KEY: 'component_footer_dark_color',
23
- DEFAULT: '#8854D0',
24
- },
25
- LOGO_FILTER: {
26
- KEY: 'component_footer_logo_dark_filter',
27
- DEFAULT: 'none',
28
- VALUES: ['light', 'dark', 'none'],
29
- },
30
- },
31
- /** Cor do texto */
32
- LIGHTTEXT: {
33
- COLOR: {
34
- KEY: 'component_footer_light_text_color',
35
- DEFAULT: '#ffffff',
36
- },
37
- },
38
- DARKTEXT: {
39
- COLOR: {
40
- KEY: 'component_footer_dark_text_color',
41
- DEFAULT: '#ffffff',
42
- },
43
- },
44
- };
45
- exports.FOOTER = FOOTER;
46
- /**
47
- * Referencia de aparencia do cabeçalho
48
- */
49
- const HEADER = {
50
- /** Cor do cabeçalho */
51
- LIGHT: {
52
- COLOR: {
53
- KEY: 'component_header_light_color',
54
- DEFAULT: '#8854D0',
55
- },
56
- LOGO_FILTER: {
57
- KEY: 'component_header_logo_light_filter',
58
- DEFAULT: 'none',
59
- VALUES: ['light', 'dark', 'none'],
60
- },
61
- },
62
- DARK: {
63
- COLOR: {
64
- KEY: 'component_header_dark_color',
65
- DEFAULT: '#8854D0',
66
- },
67
- LOGO_FILTER: {
68
- KEY: 'component_header_logo_dark_filter',
69
- DEFAULT: 'none',
70
- VALUES: ['light', 'dark', 'none'],
71
- },
72
- },
73
- /** Cor do texto */
74
- LIGHTTEXT: {
75
- COLOR: {
76
- KEY: 'component_header_light_text_color',
77
- DEFAULT: '#ffffff',
78
- },
79
- },
80
- DARKTEXT: {
81
- COLOR: {
82
- KEY: 'component_header_dark_text_color',
83
- DEFAULT: '#ffffff',
84
- },
85
- },
86
- };
87
- exports.HEADER = HEADER;
88
- const SUBMENU_DYNAMIC_MAX_ITEMS = 6;
89
- const SUBMENU_DYNAMIC_ITEMS = Array.from({ length: SUBMENU_DYNAMIC_MAX_ITEMS }, (_, index) => {
90
- const position = index + 1;
91
- return {
92
- POSITION: position,
93
- LABEL: {
94
- KEY: `component_submenu_dynamic_item_${position}_label`,
95
- DEFAULT: '',
96
- },
97
- ATTRIBUTE_ITEM: {
98
- KEY: `component_submenu_dynamic_item_${position}_attribute_item`,
99
- DEFAULT: '',
100
- },
101
- };
102
- });
103
- const SUBMENU = {
104
- /** Cor do submenu */
105
- LIGHT: {
106
- COLOR: {
107
- KEY: 'component_submenu_light_color',
108
- DEFAULT: '#8854D0',
109
- },
110
- },
111
- DARK: {
112
- COLOR: {
113
- KEY: 'component_submenu_dark_color',
114
- DEFAULT: '#8854D0',
115
- },
116
- },
117
- /** Cor do texto */
118
- LIGHTTEXT: {
119
- COLOR: {
120
- KEY: 'component_submenu_light_text_color',
121
- DEFAULT: '#ffffff',
122
- },
123
- },
124
- DARKTEXT: {
125
- COLOR: {
126
- KEY: 'component_submenu_dark_text_color',
127
- DEFAULT: '#ffffff',
128
- },
129
- },
130
- /** Submenu dinâmico por atributo: substitui o item "Categorias" */
131
- DYNAMIC: {
132
- ENABLED: {
133
- KEY: 'component_submenu_dynamic_enabled',
134
- DEFAULT: 'false',
135
- },
136
- MAX_ITEMS: SUBMENU_DYNAMIC_MAX_ITEMS,
137
- ITEMS: SUBMENU_DYNAMIC_ITEMS,
138
- },
139
- };
140
- exports.SUBMENU = SUBMENU;
141
- /**
142
- * Rerefencia de aparencia dos botoes
143
- */
144
- const BUTTON = {
145
- /** Cor de fundo */
146
- RADIUS: {
147
- KEY: 'component_button_radius',
148
- DEFAULT: 'soft',
149
- VALUES: [
150
- { label: 'Suave', value: 'soft' },
151
- { label: 'Normal', value: 'normal' },
152
- { label: 'Quadrado', value: 'none' },
153
- ],
154
- },
155
- };
156
- exports.BUTTON = BUTTON;
157
- /**
158
- * Refencia da aparencia do cartao de produtos
159
- */
160
- const PRODUCT_CARD = {
161
- /** Arredondamento */
162
- RADIUS: {
163
- KEY: 'component_product_card_radius',
164
- DEFAULT: 'soft',
165
- VALUES: [
166
- { label: 'Suave', value: 'soft' },
167
- { label: 'Normal', value: 'normal' },
168
- { label: 'Quadrado', value: 'none' },
169
- ],
170
- },
171
- /** Sombra */
172
- SHADOW: {
173
- KEY: 'component_product_card_shadow',
174
- DEFAULT: 'soft',
175
- VALUES: [
176
- { label: 'Suave', value: 'soft' },
177
- { label: 'Normal', value: 'normal' },
178
- { label: 'Nenhuma', value: 'none' },
179
- ],
180
- },
181
- /** Proporcao */
182
- PROPORTION: {
183
- KEY: 'component_product_card_proportion',
184
- DEFAULT: '3/4',
185
- VALUES: [
186
- { label: '4/4', value: '4/4' },
187
- { label: '3/4', value: '3/4' },
188
- { label: '2/3', value: '2/3' },
189
- ],
190
- },
191
- /** Mostrar botão */
192
- SHOW_BUTTON: {
193
- KEY: 'component_product_card_show_button',
194
- DEFAULT: 'true',
195
- VALUES: ['true', 'false'],
196
- },
197
- /** Bordas */
198
- BORDER: {
199
- KEY: 'component_product_card_border',
200
- DEFAULT: 'true',
201
- VALUES: ['true', 'false'],
202
- },
203
- };
204
- exports.PRODUCT_CARD = PRODUCT_CARD;
205
- /**
206
- * Refencia da aparencia do botao de compra
207
- */
208
- const BUY_BUTTON = {
209
- /** Fundo botao */
210
- LIGHT: {
211
- COLOR: {
212
- KEY: 'component_buy_button_color_light',
213
- DEFAULT: '#8854D0',
214
- },
215
- },
216
- DARK: {
217
- COLOR: {
218
- KEY: 'component_buy_button_color_dark',
219
- DEFAULT: '#8854D0',
220
- },
221
- },
222
- /** Texto botao */
223
- LIGHTTEXT: {
224
- COLOR: {
225
- KEY: 'component_buy_button_text_color_light',
226
- DEFAULT: '#ffffff',
227
- },
228
- },
229
- DARKTEXT: {
230
- COLOR: {
231
- KEY: 'component_buy_button_text_color_dark',
232
- DEFAULT: '#ffffff',
233
- },
234
- },
235
- };
236
- exports.BUY_BUTTON = BUY_BUTTON;
237
- /**
238
- * Referencia da aparencia do botao de adicionar ao carrinho
239
- */
240
- const CART_BUTTON = {
241
- /** Fundo botao */
242
- LIGHT: {
243
- COLOR: {
244
- KEY: 'component_cart_button_color_light',
245
- DEFAULT: '#8854D0',
246
- },
247
- },
248
- DARK: {
249
- COLOR: {
250
- KEY: 'component_cart_button_color_dark',
251
- DEFAULT: '#8854D0',
252
- },
253
- },
254
- /** Texto botao */
255
- LIGHTTEXT: {
256
- COLOR: {
257
- KEY: 'component_cart_button_text_color_light',
258
- DEFAULT: '#ffffff',
259
- },
260
- },
261
- DARKTEXT: {
262
- COLOR: {
263
- KEY: 'component_cart_button_text_color_dark',
264
- DEFAULT: '#ffffff',
265
- },
266
- },
267
- };
268
- exports.CART_BUTTON = CART_BUTTON;
269
- /**
270
- * Referencia para modo de pagamento a combinar.
271
- */
272
- const COMBINAR_PAYMENT = {
273
- KEY: 'combinar_payment_show',
274
- DEFAULT: 'true',
275
- VALUES: ['true', 'false'],
276
- };
277
- exports.COMBINAR_PAYMENT = COMBINAR_PAYMENT;
278
- const COMBINAR_ENTREGA = {
279
- KEY: 'combinar_entrega_show',
280
- DEFAULT: 'true',
281
- VALUES: ['true', 'false'],
282
- };
283
- exports.COMBINAR_ENTREGA = COMBINAR_ENTREGA;
284
- const ENVIAR_PEDIDO_WPP = {
285
- KEY: 'enviar_pedido_wpp',
286
- DEFAULT: 'false',
287
- VALUES: ['true', 'false'],
288
- };
289
- exports.ENVIAR_PEDIDO_WPP = ENVIAR_PEDIDO_WPP;
290
- const LOJA_ATACADISTA = {
291
- ENABLED: {
292
- KEY: 'loja_atacadista',
293
- DEFAULT: 'false',
294
- VALUES: ['true', 'false'],
295
- },
296
- MINIMUM_VALUE: {
297
- KEY: 'loja_atacadista_valor_minimo',
298
- DEFAULT: '0',
299
- },
300
- MESSAGE: {
301
- KEY: 'loja_atacadista_mensagem',
302
- DEFAULT: '',
303
- },
304
- };
305
- exports.LOJA_ATACADISTA = LOJA_ATACADISTA;
306
- const COM_GRADE = {
307
- KEY: 'com_grade',
308
- DEFAULT: 'true',
309
- VALUES: ['true', 'false'],
310
- };
311
- exports.COM_GRADE = COM_GRADE;
312
- const CHECKOUT = {
313
- KEY: 'checkout',
314
- DEFAULT: 'padrao',
315
- VALUES: [
316
- { label: 'Padrão', value: 'padrao' },
317
- { label: 'Simples', value: 'simples' },
318
- ],
319
- };
320
- exports.CHECKOUT = CHECKOUT;
321
- const FORMATO_EXIBICAO = {
322
- KEY: 'formato_exibicao',
323
- DEFAULT: '1',
324
- VALUES: [
325
- { label: 'Não Exibir', value: '0' },
326
- { label: 'Agrup por cor', value: '1' },
327
- { label: 'Agrup por tamanho', value: '2' },
328
- { label: 'Modelo de cadastro', value: '3' },
329
- ],
330
- };
331
- exports.FORMATO_EXIBICAO = FORMATO_EXIBICAO;
332
- const BANNERS_ASPECT_RATIO = {
333
- KEY: 'banners_aspect_ratio',
334
- DEFAULT: '16:4',
335
- VALUES: ['16:4', '16:8'],
336
- };
337
- exports.BANNERS_ASPECT_RATIO = BANNERS_ASPECT_RATIO;
338
- const IMAGE_DISPLAY = {
339
- KEY: 'component_product_card_image_display',
340
- DEFAULT: 'carousel',
341
- VALUES: [
342
- { label: 'Carrossel', value: 'carousel' },
343
- { label: 'Miniaturas', value: 'thumbs' },
344
- { label: 'Mosaico', value: 'mosaic' },
345
- ],
346
- };
347
- exports.IMAGE_DISPLAY = IMAGE_DISPLAY;
348
- /**
349
- * Referencia para faixa de destaque na home.
350
- */
351
- const HOME_PAGE_HIGHLIGHT = {
352
- ENABLED: {
353
- KEY: 'component_highlight_enabled',
354
- DEFAULT: false,
355
- },
356
- LIGHT: {
357
- BACKGROUND_COLOR: {
358
- KEY: 'component_highlight_color_light',
359
- DEFAULT: '#000000',
360
- },
361
- TEXT_COLOR: {
362
- KEY: 'component_highlight_text_color_light',
363
- DEFAULT: '#ffffff',
364
- },
365
- TEXT: {
366
- KEY: 'component_highlight_text',
367
- DEFAULT: '',
368
- },
369
- },
370
- };
371
- exports.HOME_PAGE_HIGHLIGHT = HOME_PAGE_HIGHLIGHT;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HOME_PAGE_HIGHLIGHT = exports.IMAGE_DISPLAY = exports.BANNERS_ASPECT_RATIO = exports.FORMATO_EXIBICAO = exports.CHECKOUT = exports.COM_GRADE = exports.LOJA_ATACADISTA = 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
+ /**
5
+ * Referencia de aparencia do rodape
6
+ */
7
+ const FOOTER = {
8
+ /** Cor do rodape */
9
+ LIGHT: {
10
+ COLOR: {
11
+ KEY: 'component_footer_light_color',
12
+ DEFAULT: '#8854D0',
13
+ },
14
+ LOGO_FILTER: {
15
+ KEY: 'component_footer_logo_light_filter',
16
+ DEFAULT: 'none',
17
+ VALUES: ['light', 'dark', 'none'],
18
+ },
19
+ },
20
+ DARK: {
21
+ COLOR: {
22
+ KEY: 'component_footer_dark_color',
23
+ DEFAULT: '#8854D0',
24
+ },
25
+ LOGO_FILTER: {
26
+ KEY: 'component_footer_logo_dark_filter',
27
+ DEFAULT: 'none',
28
+ VALUES: ['light', 'dark', 'none'],
29
+ },
30
+ },
31
+ /** Cor do texto */
32
+ LIGHTTEXT: {
33
+ COLOR: {
34
+ KEY: 'component_footer_light_text_color',
35
+ DEFAULT: '#ffffff',
36
+ },
37
+ },
38
+ DARKTEXT: {
39
+ COLOR: {
40
+ KEY: 'component_footer_dark_text_color',
41
+ DEFAULT: '#ffffff',
42
+ },
43
+ },
44
+ };
45
+ exports.FOOTER = FOOTER;
46
+ /**
47
+ * Referencia de aparencia do cabeçalho
48
+ */
49
+ const HEADER = {
50
+ /** Cor do cabeçalho */
51
+ LIGHT: {
52
+ COLOR: {
53
+ KEY: 'component_header_light_color',
54
+ DEFAULT: '#8854D0',
55
+ },
56
+ LOGO_FILTER: {
57
+ KEY: 'component_header_logo_light_filter',
58
+ DEFAULT: 'none',
59
+ VALUES: ['light', 'dark', 'none'],
60
+ },
61
+ },
62
+ DARK: {
63
+ COLOR: {
64
+ KEY: 'component_header_dark_color',
65
+ DEFAULT: '#8854D0',
66
+ },
67
+ LOGO_FILTER: {
68
+ KEY: 'component_header_logo_dark_filter',
69
+ DEFAULT: 'none',
70
+ VALUES: ['light', 'dark', 'none'],
71
+ },
72
+ },
73
+ /** Cor do texto */
74
+ LIGHTTEXT: {
75
+ COLOR: {
76
+ KEY: 'component_header_light_text_color',
77
+ DEFAULT: '#ffffff',
78
+ },
79
+ },
80
+ DARKTEXT: {
81
+ COLOR: {
82
+ KEY: 'component_header_dark_text_color',
83
+ DEFAULT: '#ffffff',
84
+ },
85
+ },
86
+ };
87
+ exports.HEADER = HEADER;
88
+ const SUBMENU_DYNAMIC_MAX_ITEMS = 6;
89
+ const SUBMENU_DYNAMIC_ITEMS = Array.from({ length: SUBMENU_DYNAMIC_MAX_ITEMS }, (_, index) => {
90
+ const position = index + 1;
91
+ return {
92
+ POSITION: position,
93
+ LABEL: {
94
+ KEY: `component_submenu_dynamic_item_${position}_label`,
95
+ DEFAULT: '',
96
+ },
97
+ ATTRIBUTE_ITEM: {
98
+ KEY: `component_submenu_dynamic_item_${position}_attribute_item`,
99
+ DEFAULT: '',
100
+ },
101
+ };
102
+ });
103
+ const SUBMENU = {
104
+ /** Cor do submenu */
105
+ LIGHT: {
106
+ COLOR: {
107
+ KEY: 'component_submenu_light_color',
108
+ DEFAULT: '#8854D0',
109
+ },
110
+ },
111
+ DARK: {
112
+ COLOR: {
113
+ KEY: 'component_submenu_dark_color',
114
+ DEFAULT: '#8854D0',
115
+ },
116
+ },
117
+ /** Cor do texto */
118
+ LIGHTTEXT: {
119
+ COLOR: {
120
+ KEY: 'component_submenu_light_text_color',
121
+ DEFAULT: '#ffffff',
122
+ },
123
+ },
124
+ DARKTEXT: {
125
+ COLOR: {
126
+ KEY: 'component_submenu_dark_text_color',
127
+ DEFAULT: '#ffffff',
128
+ },
129
+ },
130
+ /** Submenu dinâmico por atributo: substitui o item "Categorias" */
131
+ DYNAMIC: {
132
+ ENABLED: {
133
+ KEY: 'component_submenu_dynamic_enabled',
134
+ DEFAULT: 'false',
135
+ },
136
+ MAX_ITEMS: SUBMENU_DYNAMIC_MAX_ITEMS,
137
+ ITEMS: SUBMENU_DYNAMIC_ITEMS,
138
+ },
139
+ };
140
+ exports.SUBMENU = SUBMENU;
141
+ /**
142
+ * Rerefencia de aparencia dos botoes
143
+ */
144
+ const BUTTON = {
145
+ /** Cor de fundo */
146
+ RADIUS: {
147
+ KEY: 'component_button_radius',
148
+ DEFAULT: 'soft',
149
+ VALUES: [
150
+ { label: 'Suave', value: 'soft' },
151
+ { label: 'Normal', value: 'normal' },
152
+ { label: 'Quadrado', value: 'none' },
153
+ ],
154
+ },
155
+ };
156
+ exports.BUTTON = BUTTON;
157
+ /**
158
+ * Refencia da aparencia do cartao de produtos
159
+ */
160
+ const PRODUCT_CARD = {
161
+ /** Arredondamento */
162
+ RADIUS: {
163
+ KEY: 'component_product_card_radius',
164
+ DEFAULT: 'soft',
165
+ VALUES: [
166
+ { label: 'Suave', value: 'soft' },
167
+ { label: 'Normal', value: 'normal' },
168
+ { label: 'Quadrado', value: 'none' },
169
+ ],
170
+ },
171
+ /** Sombra */
172
+ SHADOW: {
173
+ KEY: 'component_product_card_shadow',
174
+ DEFAULT: 'soft',
175
+ VALUES: [
176
+ { label: 'Suave', value: 'soft' },
177
+ { label: 'Normal', value: 'normal' },
178
+ { label: 'Nenhuma', value: 'none' },
179
+ ],
180
+ },
181
+ /** Proporcao */
182
+ PROPORTION: {
183
+ KEY: 'component_product_card_proportion',
184
+ DEFAULT: '3/4',
185
+ VALUES: [
186
+ { label: '4/4', value: '4/4' },
187
+ { label: '3/4', value: '3/4' },
188
+ { label: '2/3', value: '2/3' },
189
+ ],
190
+ },
191
+ /** Mostrar botão */
192
+ SHOW_BUTTON: {
193
+ KEY: 'component_product_card_show_button',
194
+ DEFAULT: 'true',
195
+ VALUES: ['true', 'false'],
196
+ },
197
+ /** Bordas */
198
+ BORDER: {
199
+ KEY: 'component_product_card_border',
200
+ DEFAULT: 'true',
201
+ VALUES: ['true', 'false'],
202
+ },
203
+ };
204
+ exports.PRODUCT_CARD = PRODUCT_CARD;
205
+ /**
206
+ * Refencia da aparencia do botao de compra
207
+ */
208
+ const BUY_BUTTON = {
209
+ /** Fundo botao */
210
+ LIGHT: {
211
+ COLOR: {
212
+ KEY: 'component_buy_button_color_light',
213
+ DEFAULT: '#8854D0',
214
+ },
215
+ },
216
+ DARK: {
217
+ COLOR: {
218
+ KEY: 'component_buy_button_color_dark',
219
+ DEFAULT: '#8854D0',
220
+ },
221
+ },
222
+ /** Texto botao */
223
+ LIGHTTEXT: {
224
+ COLOR: {
225
+ KEY: 'component_buy_button_text_color_light',
226
+ DEFAULT: '#ffffff',
227
+ },
228
+ },
229
+ DARKTEXT: {
230
+ COLOR: {
231
+ KEY: 'component_buy_button_text_color_dark',
232
+ DEFAULT: '#ffffff',
233
+ },
234
+ },
235
+ };
236
+ exports.BUY_BUTTON = BUY_BUTTON;
237
+ /**
238
+ * Referencia da aparencia do botao de adicionar ao carrinho
239
+ */
240
+ const CART_BUTTON = {
241
+ /** Fundo botao */
242
+ LIGHT: {
243
+ COLOR: {
244
+ KEY: 'component_cart_button_color_light',
245
+ DEFAULT: '#8854D0',
246
+ },
247
+ },
248
+ DARK: {
249
+ COLOR: {
250
+ KEY: 'component_cart_button_color_dark',
251
+ DEFAULT: '#8854D0',
252
+ },
253
+ },
254
+ /** Texto botao */
255
+ LIGHTTEXT: {
256
+ COLOR: {
257
+ KEY: 'component_cart_button_text_color_light',
258
+ DEFAULT: '#ffffff',
259
+ },
260
+ },
261
+ DARKTEXT: {
262
+ COLOR: {
263
+ KEY: 'component_cart_button_text_color_dark',
264
+ DEFAULT: '#ffffff',
265
+ },
266
+ },
267
+ };
268
+ exports.CART_BUTTON = CART_BUTTON;
269
+ /**
270
+ * Referencia para modo de pagamento a combinar.
271
+ */
272
+ const COMBINAR_PAYMENT = {
273
+ KEY: 'combinar_payment_show',
274
+ DEFAULT: 'true',
275
+ VALUES: ['true', 'false'],
276
+ };
277
+ exports.COMBINAR_PAYMENT = COMBINAR_PAYMENT;
278
+ const COMBINAR_ENTREGA = {
279
+ KEY: 'combinar_entrega_show',
280
+ DEFAULT: 'true',
281
+ VALUES: ['true', 'false'],
282
+ };
283
+ exports.COMBINAR_ENTREGA = COMBINAR_ENTREGA;
284
+ const ENVIAR_PEDIDO_WPP = {
285
+ KEY: 'enviar_pedido_wpp',
286
+ DEFAULT: 'false',
287
+ VALUES: ['true', 'false'],
288
+ };
289
+ exports.ENVIAR_PEDIDO_WPP = ENVIAR_PEDIDO_WPP;
290
+ const LOJA_ATACADISTA = {
291
+ ENABLED: {
292
+ KEY: 'loja_atacadista',
293
+ DEFAULT: 'false',
294
+ VALUES: ['true', 'false'],
295
+ },
296
+ MINIMUM_VALUE: {
297
+ KEY: 'loja_atacadista_valor_minimo',
298
+ DEFAULT: '0',
299
+ },
300
+ MESSAGE: {
301
+ KEY: 'loja_atacadista_mensagem',
302
+ DEFAULT: '',
303
+ },
304
+ };
305
+ exports.LOJA_ATACADISTA = LOJA_ATACADISTA;
306
+ const COM_GRADE = {
307
+ KEY: 'com_grade',
308
+ DEFAULT: 'true',
309
+ VALUES: ['true', 'false'],
310
+ };
311
+ exports.COM_GRADE = COM_GRADE;
312
+ const CHECKOUT = {
313
+ KEY: 'checkout',
314
+ DEFAULT: 'padrao',
315
+ VALUES: [
316
+ { label: 'Padrão', value: 'padrao' },
317
+ { label: 'Simples', value: 'simples' },
318
+ ],
319
+ };
320
+ exports.CHECKOUT = CHECKOUT;
321
+ const FORMATO_EXIBICAO = {
322
+ KEY: 'formato_exibicao',
323
+ DEFAULT: '1',
324
+ VALUES: [
325
+ { label: 'Não Exibir', value: '0' },
326
+ { label: 'Agrup por cor', value: '1' },
327
+ { label: 'Agrup por tamanho', value: '2' },
328
+ { label: 'Modelo de cadastro', value: '3' },
329
+ ],
330
+ };
331
+ exports.FORMATO_EXIBICAO = FORMATO_EXIBICAO;
332
+ const BANNERS_ASPECT_RATIO = {
333
+ KEY: 'banners_aspect_ratio',
334
+ DEFAULT: '16:4',
335
+ VALUES: ['16:4', '16:8'],
336
+ };
337
+ exports.BANNERS_ASPECT_RATIO = BANNERS_ASPECT_RATIO;
338
+ const IMAGE_DISPLAY = {
339
+ KEY: 'component_product_card_image_display',
340
+ DEFAULT: 'carousel',
341
+ VALUES: [
342
+ { label: 'Carrossel', value: 'carousel' },
343
+ { label: 'Miniaturas', value: 'thumbs' },
344
+ { label: 'Mosaico', value: 'mosaic' },
345
+ ],
346
+ };
347
+ exports.IMAGE_DISPLAY = IMAGE_DISPLAY;
348
+ /**
349
+ * Referencia para faixa de destaque na home.
350
+ */
351
+ const HOME_PAGE_HIGHLIGHT = {
352
+ ENABLED: {
353
+ KEY: 'component_highlight_enabled',
354
+ DEFAULT: false,
355
+ },
356
+ LIGHT: {
357
+ BACKGROUND_COLOR: {
358
+ KEY: 'component_highlight_color_light',
359
+ DEFAULT: '#000000',
360
+ },
361
+ TEXT_COLOR: {
362
+ KEY: 'component_highlight_text_color_light',
363
+ DEFAULT: '#ffffff',
364
+ },
365
+ TEXT: {
366
+ KEY: 'component_highlight_text',
367
+ DEFAULT: '',
368
+ },
369
+ },
370
+ };
371
+ exports.HOME_PAGE_HIGHLIGHT = HOME_PAGE_HIGHLIGHT;