mdz-enum 1.6.78 → 1.6.80

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