mdz-enum 1.7.54 → 1.7.56

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 +286 -286
  5. package/dist/commercial/index.js +726 -726
  6. package/dist/common/index.d.ts +75 -75
  7. package/dist/common/index.js +217 -217
  8. package/dist/config/index.d.ts +238 -238
  9. package/dist/config/index.js +734 -734
  10. package/dist/eva/index.d.ts +198 -198
  11. package/dist/eva/index.js +330 -330
  12. package/dist/finance/index.d.ts +251 -251
  13. package/dist/finance/index.js +760 -760
  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 +266 -266
  19. package/dist/general/index.js +515 -515
  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 +344 -341
  24. package/dist/integration/index.d.ts +37 -37
  25. package/dist/integration/index.js +109 -109
  26. package/dist/logistics/index.d.ts +322 -322
  27. package/dist/logistics/index.js +920 -920
  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 +597 -600
  33. package/dist/marketplace/templates/index.js +49 -49
  34. package/dist/marketplace/templates/pages/index.d.ts +268 -268
  35. package/dist/marketplace/templates/pages/index.js +457 -457
  36. package/dist/marketplace/templates/reference/index.d.ts +29 -29
  37. package/dist/marketplace/templates/reference/index.js +31 -31
  38. package/dist/people/index.d.ts +66 -66
  39. package/dist/people/index.js +192 -192
  40. package/dist/platform/index.d.ts +395 -395
  41. package/dist/platform/index.js +1226 -1226
  42. package/dist/reports/index.d.ts +135 -135
  43. package/dist/reports/index.js +394 -394
  44. package/dist/service/index.d.ts +96 -73
  45. package/dist/service/index.js +313 -225
  46. package/package.json +1 -1
@@ -1,457 +1,457 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PRODUCT_PAGE = exports.HOME_PAGE = void 0;
4
- const DEFAULT_ICON_SIZE = 32;
5
- /** Referencia da aparencia na pagina inicial */
6
- const HOME_PAGE = {
7
- ID: 1,
8
- /**
9
- * Blocos disponiveis na pagina
10
- */
11
- ORDER: {
12
- KEY: 'home_page_blocks',
13
- DEFAULT: '1,3,4,5,6,11',
14
- },
15
- HOME_PAGE_CATEGORY: {
16
- KEY: 'home_page_categories',
17
- DEFAULT: '',
18
- },
19
- /**
20
- * Categorias escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
21
- */
22
- HOME_PAGE_CATEGORY_SELECTED: {
23
- KEY: 'home_page_categories_selected',
24
- DEFAULT: '',
25
- },
26
- HOME_PAGE_CATEGORY_TITLE: {
27
- KEY: 'home_page_categories_title',
28
- DEFAULT: '',
29
- },
30
- HOME_PAGE_CATEGORY_SHAPE: {
31
- KEY: 'home_page_categories_shape',
32
- DEFAULT: 'square', // 'square' | 'round'
33
- },
34
- HOME_PAGE_CATEGORY_SIZE: {
35
- KEY: 'home_page_categories_size',
36
- DEFAULT: 'small', // 'small' | 'medium' | 'large'
37
- },
38
- HOME_PAGE_CATEGORY_BORDER: {
39
- KEY: 'home_page_categories_border',
40
- DEFAULT: 'none',
41
- VALUES: ['none', 'solid'],
42
- },
43
- HOME_PAGE_BRANDS: {
44
- KEY: 'home_page_brands',
45
- DEFAULT: '',
46
- },
47
- /**
48
- * Marcas escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
49
- */
50
- HOME_PAGE_BRANDS_SELECTED: {
51
- KEY: 'home_page_brands_selected',
52
- DEFAULT: '',
53
- },
54
- HOME_PAGE_BRANDS_TITLE: {
55
- KEY: 'home_page_brands_title',
56
- DEFAULT: '',
57
- },
58
- HOME_PAGE_BRANDS_SHAPE: {
59
- KEY: 'home_page_brands_shape',
60
- DEFAULT: 'square', // 'square' | 'round'
61
- },
62
- HOME_PAGE_BRANDS_SIZE: {
63
- KEY: 'home_page_brands_size',
64
- DEFAULT: 'small', // 'small' | 'medium' | 'large'
65
- },
66
- HOME_PAGE_BRANDS_BORDER: {
67
- KEY: 'home_page_brands_border',
68
- DEFAULT: 'none',
69
- VALUES: ['none', 'solid'],
70
- },
71
- /**
72
- * Produtos selecionados (1)
73
- */
74
- HOME_PAGE_SELECTED_PRODUCTS_ONE: {
75
- KEY: 'home_page_selected_one_products',
76
- DEFAULT: '',
77
- },
78
- HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
79
- KEY: 'home_page_selected_products_one_title',
80
- DEFAULT: '',
81
- },
82
- /**
83
- * Produtos selecionados (2)
84
- */
85
- HOME_PAGE_SELECTED_PRODUCTS_TWO: {
86
- KEY: 'home_page_selected_two_products',
87
- DEFAULT: '',
88
- },
89
- HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
90
- KEY: 'home_page_selected_products_two_title',
91
- DEFAULT: '',
92
- },
93
- /**
94
- * Produtos em destaque
95
- */
96
- HOME_PAGE_FEATURED_PRODUCTS: {
97
- KEY: 'home_page_featured_products',
98
- DEFAULT: '',
99
- },
100
- // ==== BANNERS EXTRAS (1) ====
101
- HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
102
- KEY: 'home_page_banners_extra_1_columns',
103
- DEFAULT: '3',
104
- VALUES: ['1', '2', '3'],
105
- },
106
- HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
107
- KEY: 'home_page_banners_extra_1_size',
108
- DEFAULT: 'medium',
109
- VALUES: ['small', 'medium', 'large'],
110
- },
111
- HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
112
- // cantos
113
- KEY: 'home_page_banners_extra_1_shape',
114
- DEFAULT: 'soft',
115
- VALUES: ['square', 'soft', 'round'],
116
- },
117
- HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
118
- KEY: 'home_page_banners_extra_1_orientation',
119
- DEFAULT: 'horizontal',
120
- VALUES: ['horizontal', 'vertical'],
121
- },
122
- // ==== BANNERS EXTRAS (2) ====
123
- HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
124
- KEY: 'home_page_banners_extra_2_columns',
125
- DEFAULT: '3',
126
- VALUES: ['1', '2', '3'],
127
- },
128
- HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
129
- KEY: 'home_page_banners_extra_2_size',
130
- DEFAULT: 'medium',
131
- VALUES: ['small', 'medium', 'large'],
132
- },
133
- HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
134
- KEY: 'home_page_banners_extra_2_shape',
135
- DEFAULT: 'soft',
136
- VALUES: ['square', 'soft', 'round'],
137
- },
138
- HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
139
- KEY: 'home_page_banners_extra_2_orientation',
140
- DEFAULT: 'horizontal',
141
- VALUES: ['horizontal', 'vertical'],
142
- },
143
- HOME_PAGE_BANNERS_COLLECTION_COLUMNS: {
144
- KEY: 'home_page_banners_collection_columns',
145
- DEFAULT: '3',
146
- VALUES: ['1', '2', '3'],
147
- },
148
- HOME_PAGE_BANNERS_COLLECTION_SIZE: {
149
- KEY: 'home_page_banners_collection_size',
150
- DEFAULT: 'medium',
151
- VALUES: ['small', 'medium', 'large'],
152
- },
153
- HOME_PAGE_BANNERS_COLLECTION_SHAPE: {
154
- KEY: 'home_page_banners_collection_shape',
155
- DEFAULT: 'soft',
156
- VALUES: ['square', 'soft', 'round'],
157
- },
158
- HOME_PAGE_BANNERS_COLLECTION_ORIENTATION: {
159
- KEY: 'home_page_banners_collection_orientation',
160
- DEFAULT: 'horizontal',
161
- VALUES: ['horizontal', 'vertical'],
162
- },
163
- BLOCK_IDS: {
164
- BANNERS: 1,
165
- BANNERS_EXTRA_1: 12,
166
- BANNERS_EXTRA_2: 13,
167
- BANNERS_COLLECTION: 14,
168
- CATEGORIES: 2,
169
- PROMOTIONS: 3,
170
- LATEST: 4,
171
- BEST_SELLERS: 5,
172
- MOST_VIEWED: 6,
173
- SELECTED_PRODUCTS_ONE: 7,
174
- SELECTED_BRANDS: 9,
175
- SELECTED_PRODUCTS_TWO: 10,
176
- FEATURED_PRODUCTS: 11,
177
- },
178
- BLOCKS: [
179
- {
180
- id: 1,
181
- name: 'Banners principais',
182
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
183
- enabled: true,
184
- immutable: true,
185
- configurable: true,
186
- badge: null,
187
- },
188
- {
189
- id: 12,
190
- name: 'Banners extras (1)',
191
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
192
- enabled: true,
193
- immutable: false,
194
- configurable: true,
195
- badge: null,
196
- },
197
- {
198
- id: 13,
199
- name: 'Banners extras (2)',
200
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
201
- enabled: true,
202
- immutable: false,
203
- configurable: true,
204
- badge: null,
205
- },
206
- {
207
- id: 14,
208
- name: 'Banners de Coleção',
209
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
210
- enabled: true,
211
- immutable: false,
212
- configurable: true,
213
- badge: null,
214
- },
215
- {
216
- id: 2,
217
- name: 'Categorias selecionadas',
218
- icon: {
219
- type: 'Fatypes',
220
- size: DEFAULT_ICON_SIZE,
221
- },
222
- enabled: true,
223
- immutable: false,
224
- configurable: true,
225
- badge: {
226
- color: 'success',
227
- text: 'Novo',
228
- },
229
- },
230
- {
231
- id: 3,
232
- name: 'Produtos em promoção',
233
- icon: {
234
- type: 'FaBagShopping',
235
- size: DEFAULT_ICON_SIZE,
236
- },
237
- enabled: true,
238
- immutable: false,
239
- configurable: false,
240
- badge: null,
241
- },
242
- {
243
- id: 4,
244
- name: 'Últimos lançamentos',
245
- icon: {
246
- type: 'FaBagShopping',
247
- size: DEFAULT_ICON_SIZE,
248
- },
249
- enabled: true,
250
- immutable: false,
251
- configurable: false,
252
- badge: null,
253
- },
254
- {
255
- id: 5,
256
- name: 'Produtos mais vendidos',
257
- icon: {
258
- type: 'FaBagShopping',
259
- size: DEFAULT_ICON_SIZE,
260
- },
261
- enabled: false,
262
- immutable: false,
263
- configurable: false,
264
- badge: {
265
- color: 'info',
266
- text: 'Em breve',
267
- },
268
- },
269
- {
270
- id: 6,
271
- name: 'Produtos mais vistos',
272
- icon: {
273
- type: 'FaBagShopping',
274
- size: DEFAULT_ICON_SIZE,
275
- },
276
- enabled: false,
277
- immutable: false,
278
- configurable: false,
279
- badge: {
280
- color: 'info',
281
- text: 'Em breve',
282
- },
283
- },
284
- {
285
- id: 7,
286
- name: 'Produtos selecionados (1)',
287
- icon: {
288
- type: 'FaBagShopping',
289
- size: DEFAULT_ICON_SIZE,
290
- },
291
- enabled: true,
292
- immutable: false,
293
- configurable: true,
294
- badge: {
295
- color: 'success',
296
- text: 'Novo',
297
- },
298
- },
299
- {
300
- id: 9,
301
- name: 'Marcas selecionadas',
302
- icon: {
303
- type: 'Fatypes',
304
- size: DEFAULT_ICON_SIZE,
305
- },
306
- enabled: true,
307
- immutable: false,
308
- configurable: true,
309
- badge: {
310
- color: 'success',
311
- text: 'Novo',
312
- },
313
- },
314
- {
315
- id: 10,
316
- name: 'Produtos selecionados (2)',
317
- icon: {
318
- type: 'FaBagShopping',
319
- size: DEFAULT_ICON_SIZE,
320
- },
321
- enabled: true,
322
- immutable: false,
323
- configurable: true,
324
- badge: {
325
- color: 'success',
326
- text: 'Novo',
327
- },
328
- },
329
- {
330
- id: 11,
331
- name: 'Produtos em destaque',
332
- icon: {
333
- type: 'FaBagShopping',
334
- size: DEFAULT_ICON_SIZE,
335
- },
336
- enabled: true,
337
- immutable: false,
338
- configurable: false,
339
- badge: {
340
- color: 'success',
341
- text: 'Novo',
342
- },
343
- },
344
- ],
345
- };
346
- exports.HOME_PAGE = HOME_PAGE;
347
- /**
348
- * Referencia da aparencia na pagina de produto
349
- */
350
- const PRODUCT_PAGE = {
351
- ID: 2,
352
- /**
353
- * Blocos disponiveis na pagina
354
- */
355
- ORDER: {
356
- KEY: 'product_page_blocks',
357
- DEFAULT: '1,2,3,4,5',
358
- },
359
- PRODUCT_PAGE_ATTRIBUTES_TITLE: {
360
- KEY: 'product_page_attributes_title',
361
- DEFAULT: 'Atributos do Produto',
362
- },
363
- PRODUCT_PAGE_RELATED_TITLE: {
364
- KEY: 'product_page_related_title',
365
- DEFAULT: 'Produtos Relacionados',
366
- },
367
- PRODUCT_PAGE_DESCRIPTION_TITLE: {
368
- KEY: 'product_page_description_title',
369
- DEFAULT: 'Descrição do Produto',
370
- },
371
- BLOCKS_IDS: {
372
- DETAILS: 1,
373
- DESCRIPTION: 2,
374
- WARRANTY: 3,
375
- RELATED: 4,
376
- BANNERS: 5,
377
- ATTRIBUTES: 6,
378
- },
379
- BLOCKS: [
380
- {
381
- id: 1,
382
- name: 'Detalhes do produto',
383
- icon: {
384
- type: 'FaTag',
385
- size: DEFAULT_ICON_SIZE,
386
- },
387
- enabled: true,
388
- immutable: true,
389
- badge: null,
390
- },
391
- {
392
- id: 2,
393
- name: 'Descrição do produto',
394
- icon: {
395
- type: 'Fatypes',
396
- size: DEFAULT_ICON_SIZE,
397
- },
398
- enabled: true,
399
- immutable: false,
400
- configurable: true,
401
- badge: null,
402
- },
403
- {
404
- id: 3,
405
- name: 'Garantia do produto',
406
- icon: {
407
- type: 'FaTimeline',
408
- size: DEFAULT_ICON_SIZE,
409
- },
410
- enabled: true,
411
- immutable: false,
412
- badge: null,
413
- },
414
- {
415
- id: 4,
416
- name: 'Produtos relacionados',
417
- icon: {
418
- type: 'FaBagShopping',
419
- size: DEFAULT_ICON_SIZE,
420
- },
421
- enabled: true,
422
- immutable: false,
423
- configurable: true,
424
- badge: null,
425
- },
426
- // {
427
- // id: 5,
428
- // name: 'Banners personalizados',
429
- // icon: {
430
- // type: 'FaImages',
431
- // size: DEFAULT_ICON_SIZE,
432
- // },
433
- // enabled: false,
434
- // immutable: false,
435
- // badge: {
436
- // color: 'info',
437
- // text: 'Em breve',
438
- // },
439
- // },
440
- {
441
- id: 6,
442
- name: 'Atributos do produto',
443
- icon: {
444
- type: 'FaBagShopping',
445
- size: DEFAULT_ICON_SIZE,
446
- },
447
- enabled: true,
448
- immutable: false,
449
- configurable: true,
450
- badge: {
451
- color: 'success',
452
- text: 'Novo',
453
- },
454
- },
455
- ],
456
- };
457
- exports.PRODUCT_PAGE = PRODUCT_PAGE;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRODUCT_PAGE = exports.HOME_PAGE = void 0;
4
+ const DEFAULT_ICON_SIZE = 32;
5
+ /** Referencia da aparencia na pagina inicial */
6
+ const HOME_PAGE = {
7
+ ID: 1,
8
+ /**
9
+ * Blocos disponiveis na pagina
10
+ */
11
+ ORDER: {
12
+ KEY: 'home_page_blocks',
13
+ DEFAULT: '1,3,4,5,6,11',
14
+ },
15
+ HOME_PAGE_CATEGORY: {
16
+ KEY: 'home_page_categories',
17
+ DEFAULT: '',
18
+ },
19
+ /**
20
+ * Categorias escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
21
+ */
22
+ HOME_PAGE_CATEGORY_SELECTED: {
23
+ KEY: 'home_page_categories_selected',
24
+ DEFAULT: '',
25
+ },
26
+ HOME_PAGE_CATEGORY_TITLE: {
27
+ KEY: 'home_page_categories_title',
28
+ DEFAULT: '',
29
+ },
30
+ HOME_PAGE_CATEGORY_SHAPE: {
31
+ KEY: 'home_page_categories_shape',
32
+ DEFAULT: 'square', // 'square' | 'round'
33
+ },
34
+ HOME_PAGE_CATEGORY_SIZE: {
35
+ KEY: 'home_page_categories_size',
36
+ DEFAULT: 'small', // 'small' | 'medium' | 'large'
37
+ },
38
+ HOME_PAGE_CATEGORY_BORDER: {
39
+ KEY: 'home_page_categories_border',
40
+ DEFAULT: 'none', // 'none' | 'solid'
41
+ VALUES: ['none', 'solid'],
42
+ },
43
+ HOME_PAGE_BRANDS: {
44
+ KEY: 'home_page_brands',
45
+ DEFAULT: '',
46
+ },
47
+ /**
48
+ * Marcas escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
49
+ */
50
+ HOME_PAGE_BRANDS_SELECTED: {
51
+ KEY: 'home_page_brands_selected',
52
+ DEFAULT: '',
53
+ },
54
+ HOME_PAGE_BRANDS_TITLE: {
55
+ KEY: 'home_page_brands_title',
56
+ DEFAULT: '',
57
+ },
58
+ HOME_PAGE_BRANDS_SHAPE: {
59
+ KEY: 'home_page_brands_shape',
60
+ DEFAULT: 'square', // 'square' | 'round'
61
+ },
62
+ HOME_PAGE_BRANDS_SIZE: {
63
+ KEY: 'home_page_brands_size',
64
+ DEFAULT: 'small', // 'small' | 'medium' | 'large'
65
+ },
66
+ HOME_PAGE_BRANDS_BORDER: {
67
+ KEY: 'home_page_brands_border',
68
+ DEFAULT: 'none', // 'none' | 'solid'
69
+ VALUES: ['none', 'solid'],
70
+ },
71
+ /**
72
+ * Produtos selecionados (1)
73
+ */
74
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
75
+ KEY: 'home_page_selected_one_products',
76
+ DEFAULT: '',
77
+ },
78
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
79
+ KEY: 'home_page_selected_products_one_title',
80
+ DEFAULT: '',
81
+ },
82
+ /**
83
+ * Produtos selecionados (2)
84
+ */
85
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
86
+ KEY: 'home_page_selected_two_products',
87
+ DEFAULT: '',
88
+ },
89
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
90
+ KEY: 'home_page_selected_products_two_title',
91
+ DEFAULT: '',
92
+ },
93
+ /**
94
+ * Produtos em destaque
95
+ */
96
+ HOME_PAGE_FEATURED_PRODUCTS: {
97
+ KEY: 'home_page_featured_products',
98
+ DEFAULT: '',
99
+ },
100
+ // ==== BANNERS EXTRAS (1) ====
101
+ HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
102
+ KEY: 'home_page_banners_extra_1_columns',
103
+ DEFAULT: '3',
104
+ VALUES: ['1', '2', '3'],
105
+ },
106
+ HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
107
+ KEY: 'home_page_banners_extra_1_size',
108
+ DEFAULT: 'medium',
109
+ VALUES: ['small', 'medium', 'large'],
110
+ },
111
+ HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
112
+ // cantos
113
+ KEY: 'home_page_banners_extra_1_shape',
114
+ DEFAULT: 'soft',
115
+ VALUES: ['square', 'soft', 'round'],
116
+ },
117
+ HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
118
+ KEY: 'home_page_banners_extra_1_orientation',
119
+ DEFAULT: 'horizontal',
120
+ VALUES: ['horizontal', 'vertical'],
121
+ },
122
+ // ==== BANNERS EXTRAS (2) ====
123
+ HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
124
+ KEY: 'home_page_banners_extra_2_columns',
125
+ DEFAULT: '3',
126
+ VALUES: ['1', '2', '3'],
127
+ },
128
+ HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
129
+ KEY: 'home_page_banners_extra_2_size',
130
+ DEFAULT: 'medium',
131
+ VALUES: ['small', 'medium', 'large'],
132
+ },
133
+ HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
134
+ KEY: 'home_page_banners_extra_2_shape',
135
+ DEFAULT: 'soft',
136
+ VALUES: ['square', 'soft', 'round'],
137
+ },
138
+ HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
139
+ KEY: 'home_page_banners_extra_2_orientation',
140
+ DEFAULT: 'horizontal',
141
+ VALUES: ['horizontal', 'vertical'],
142
+ },
143
+ HOME_PAGE_BANNERS_COLLECTION_COLUMNS: {
144
+ KEY: 'home_page_banners_collection_columns',
145
+ DEFAULT: '3',
146
+ VALUES: ['1', '2', '3'],
147
+ },
148
+ HOME_PAGE_BANNERS_COLLECTION_SIZE: {
149
+ KEY: 'home_page_banners_collection_size',
150
+ DEFAULT: 'medium',
151
+ VALUES: ['small', 'medium', 'large'],
152
+ },
153
+ HOME_PAGE_BANNERS_COLLECTION_SHAPE: {
154
+ KEY: 'home_page_banners_collection_shape',
155
+ DEFAULT: 'soft',
156
+ VALUES: ['square', 'soft', 'round'],
157
+ },
158
+ HOME_PAGE_BANNERS_COLLECTION_ORIENTATION: {
159
+ KEY: 'home_page_banners_collection_orientation',
160
+ DEFAULT: 'horizontal',
161
+ VALUES: ['horizontal', 'vertical'],
162
+ },
163
+ BLOCK_IDS: {
164
+ BANNERS: 1,
165
+ BANNERS_EXTRA_1: 12,
166
+ BANNERS_EXTRA_2: 13,
167
+ BANNERS_COLLECTION: 14,
168
+ CATEGORIES: 2,
169
+ PROMOTIONS: 3,
170
+ LATEST: 4,
171
+ BEST_SELLERS: 5,
172
+ MOST_VIEWED: 6,
173
+ SELECTED_PRODUCTS_ONE: 7,
174
+ SELECTED_BRANDS: 9,
175
+ SELECTED_PRODUCTS_TWO: 10,
176
+ FEATURED_PRODUCTS: 11,
177
+ },
178
+ BLOCKS: [
179
+ {
180
+ id: 1,
181
+ name: 'Banners principais',
182
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
183
+ enabled: true,
184
+ immutable: true,
185
+ configurable: true,
186
+ badge: null,
187
+ },
188
+ {
189
+ id: 12,
190
+ name: 'Banners extras (1)',
191
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
192
+ enabled: true,
193
+ immutable: false,
194
+ configurable: true,
195
+ badge: null,
196
+ },
197
+ {
198
+ id: 13,
199
+ name: 'Banners extras (2)',
200
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
201
+ enabled: true,
202
+ immutable: false,
203
+ configurable: true,
204
+ badge: null,
205
+ },
206
+ {
207
+ id: 14,
208
+ name: 'Banners de Coleção',
209
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
210
+ enabled: true,
211
+ immutable: false,
212
+ configurable: true,
213
+ badge: null,
214
+ },
215
+ {
216
+ id: 2,
217
+ name: 'Categorias selecionadas',
218
+ icon: {
219
+ type: 'Fatypes',
220
+ size: DEFAULT_ICON_SIZE,
221
+ },
222
+ enabled: true,
223
+ immutable: false,
224
+ configurable: true,
225
+ badge: {
226
+ color: 'success',
227
+ text: 'Novo',
228
+ },
229
+ },
230
+ {
231
+ id: 3,
232
+ name: 'Produtos em promoção',
233
+ icon: {
234
+ type: 'FaBagShopping',
235
+ size: DEFAULT_ICON_SIZE,
236
+ },
237
+ enabled: true,
238
+ immutable: false,
239
+ configurable: false,
240
+ badge: null,
241
+ },
242
+ {
243
+ id: 4,
244
+ name: 'Últimos lançamentos',
245
+ icon: {
246
+ type: 'FaBagShopping',
247
+ size: DEFAULT_ICON_SIZE,
248
+ },
249
+ enabled: true,
250
+ immutable: false,
251
+ configurable: false,
252
+ badge: null,
253
+ },
254
+ {
255
+ id: 5,
256
+ name: 'Produtos mais vendidos',
257
+ icon: {
258
+ type: 'FaBagShopping',
259
+ size: DEFAULT_ICON_SIZE,
260
+ },
261
+ enabled: false,
262
+ immutable: false,
263
+ configurable: false,
264
+ badge: {
265
+ color: 'info',
266
+ text: 'Em breve',
267
+ },
268
+ },
269
+ {
270
+ id: 6,
271
+ name: 'Produtos mais vistos',
272
+ icon: {
273
+ type: 'FaBagShopping',
274
+ size: DEFAULT_ICON_SIZE,
275
+ },
276
+ enabled: false,
277
+ immutable: false,
278
+ configurable: false,
279
+ badge: {
280
+ color: 'info',
281
+ text: 'Em breve',
282
+ },
283
+ },
284
+ {
285
+ id: 7,
286
+ name: 'Produtos selecionados (1)',
287
+ icon: {
288
+ type: 'FaBagShopping',
289
+ size: DEFAULT_ICON_SIZE,
290
+ },
291
+ enabled: true,
292
+ immutable: false,
293
+ configurable: true,
294
+ badge: {
295
+ color: 'success',
296
+ text: 'Novo',
297
+ },
298
+ },
299
+ {
300
+ id: 9,
301
+ name: 'Marcas selecionadas',
302
+ icon: {
303
+ type: 'Fatypes',
304
+ size: DEFAULT_ICON_SIZE,
305
+ },
306
+ enabled: true,
307
+ immutable: false,
308
+ configurable: true,
309
+ badge: {
310
+ color: 'success',
311
+ text: 'Novo',
312
+ },
313
+ },
314
+ {
315
+ id: 10,
316
+ name: 'Produtos selecionados (2)',
317
+ icon: {
318
+ type: 'FaBagShopping',
319
+ size: DEFAULT_ICON_SIZE,
320
+ },
321
+ enabled: true,
322
+ immutable: false,
323
+ configurable: true,
324
+ badge: {
325
+ color: 'success',
326
+ text: 'Novo',
327
+ },
328
+ },
329
+ {
330
+ id: 11,
331
+ name: 'Produtos em destaque',
332
+ icon: {
333
+ type: 'FaBagShopping',
334
+ size: DEFAULT_ICON_SIZE,
335
+ },
336
+ enabled: true,
337
+ immutable: false,
338
+ configurable: false,
339
+ badge: {
340
+ color: 'success',
341
+ text: 'Novo',
342
+ },
343
+ },
344
+ ],
345
+ };
346
+ exports.HOME_PAGE = HOME_PAGE;
347
+ /**
348
+ * Referencia da aparencia na pagina de produto
349
+ */
350
+ const PRODUCT_PAGE = {
351
+ ID: 2,
352
+ /**
353
+ * Blocos disponiveis na pagina
354
+ */
355
+ ORDER: {
356
+ KEY: 'product_page_blocks',
357
+ DEFAULT: '1,2,3,4,5',
358
+ },
359
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
360
+ KEY: 'product_page_attributes_title',
361
+ DEFAULT: 'Atributos do Produto',
362
+ },
363
+ PRODUCT_PAGE_RELATED_TITLE: {
364
+ KEY: 'product_page_related_title',
365
+ DEFAULT: 'Produtos Relacionados',
366
+ },
367
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
368
+ KEY: 'product_page_description_title',
369
+ DEFAULT: 'Descrição do Produto',
370
+ },
371
+ BLOCKS_IDS: {
372
+ DETAILS: 1,
373
+ DESCRIPTION: 2,
374
+ WARRANTY: 3,
375
+ RELATED: 4,
376
+ BANNERS: 5,
377
+ ATTRIBUTES: 6,
378
+ },
379
+ BLOCKS: [
380
+ {
381
+ id: 1,
382
+ name: 'Detalhes do produto',
383
+ icon: {
384
+ type: 'FaTag',
385
+ size: DEFAULT_ICON_SIZE,
386
+ },
387
+ enabled: true,
388
+ immutable: true,
389
+ badge: null,
390
+ },
391
+ {
392
+ id: 2,
393
+ name: 'Descrição do produto',
394
+ icon: {
395
+ type: 'Fatypes',
396
+ size: DEFAULT_ICON_SIZE,
397
+ },
398
+ enabled: true,
399
+ immutable: false,
400
+ configurable: true,
401
+ badge: null,
402
+ },
403
+ {
404
+ id: 3,
405
+ name: 'Garantia do produto',
406
+ icon: {
407
+ type: 'FaTimeline',
408
+ size: DEFAULT_ICON_SIZE,
409
+ },
410
+ enabled: true,
411
+ immutable: false,
412
+ badge: null,
413
+ },
414
+ {
415
+ id: 4,
416
+ name: 'Produtos relacionados',
417
+ icon: {
418
+ type: 'FaBagShopping',
419
+ size: DEFAULT_ICON_SIZE,
420
+ },
421
+ enabled: true,
422
+ immutable: false,
423
+ configurable: true,
424
+ badge: null,
425
+ },
426
+ // {
427
+ // id: 5,
428
+ // name: 'Banners personalizados',
429
+ // icon: {
430
+ // type: 'FaImages',
431
+ // size: DEFAULT_ICON_SIZE,
432
+ // },
433
+ // enabled: false,
434
+ // immutable: false,
435
+ // badge: {
436
+ // color: 'info',
437
+ // text: 'Em breve',
438
+ // },
439
+ // },
440
+ {
441
+ id: 6,
442
+ name: 'Atributos do produto',
443
+ icon: {
444
+ type: 'FaBagShopping',
445
+ size: DEFAULT_ICON_SIZE,
446
+ },
447
+ enabled: true,
448
+ immutable: false,
449
+ configurable: true,
450
+ badge: {
451
+ color: 'success',
452
+ text: 'Novo',
453
+ },
454
+ },
455
+ ],
456
+ };
457
+ exports.PRODUCT_PAGE = PRODUCT_PAGE;