mdz-enum 1.7.14 → 1.7.16

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 (46) 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 +255 -255
  5. package/dist/commercial/index.js +630 -630
  6. package/dist/common/index.d.ts +71 -71
  7. package/dist/common/index.js +205 -205
  8. package/dist/config/index.d.ts +218 -217
  9. package/dist/config/index.js +674 -669
  10. package/dist/eva/index.d.ts +164 -164
  11. package/dist/eva/index.js +233 -233
  12. package/dist/finance/index.d.ts +241 -241
  13. package/dist/finance/index.js +731 -731
  14. package/dist/fiscal/index.d.ts +612 -612
  15. package/dist/fiscal/index.js +1593 -1593
  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 +17 -17
  23. package/dist/index.js +312 -312
  24. package/dist/integration/index.d.ts +37 -37
  25. package/dist/integration/index.js +109 -109
  26. package/dist/logistics/index.d.ts +281 -281
  27. package/dist/logistics/index.js +807 -807
  28. package/dist/marketplace/templates/components/index.d.ts +352 -352
  29. package/dist/marketplace/templates/components/index.js +383 -383
  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 -589
  33. package/dist/marketplace/templates/index.js +49 -49
  34. package/dist/marketplace/templates/pages/index.d.ts +254 -254
  35. package/dist/marketplace/templates/pages/index.js +443 -443
  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 +66 -66
  39. package/dist/people/index.js +192 -192
  40. package/dist/platform/index.d.ts +383 -383
  41. package/dist/platform/index.js +1190 -1190
  42. package/dist/reports/index.d.ts +108 -107
  43. package/dist/reports/index.js +316 -313
  44. package/dist/service/index.d.ts +28 -28
  45. package/dist/service/index.js +97 -97
  46. package/package.json +32 -32
@@ -1,383 +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
- 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;
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;