mdz-enum 1.6.4 → 1.6.6

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