mdz-enum 1.5.21 → 1.5.22

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 +28 -28
  3. package/dist/checkout/index.js +83 -83
  4. package/dist/commercial/index.d.ts +227 -227
  5. package/dist/commercial/index.js +549 -549
  6. package/dist/common/index.d.ts +47 -47
  7. package/dist/common/index.js +137 -137
  8. package/dist/config/index.d.ts +166 -138
  9. package/dist/config/index.js +478 -395
  10. package/dist/finance/index.d.ts +164 -164
  11. package/dist/finance/index.js +425 -425
  12. package/dist/fiscal/index.d.ts +468 -468
  13. package/dist/fiscal/index.js +1165 -1165
  14. package/dist/functions.d.ts +11 -11
  15. package/dist/functions.js +74 -74
  16. package/dist/general/index.d.ts +257 -257
  17. package/dist/general/index.js +489 -489
  18. package/dist/index.d.ts +14 -14
  19. package/dist/index.js +208 -208
  20. package/dist/integration/index.d.ts +19 -19
  21. package/dist/integration/index.js +57 -57
  22. package/dist/logistics/index.d.ts +124 -124
  23. package/dist/logistics/index.js +359 -359
  24. package/dist/marketplace/templates/components/index.d.ts +158 -158
  25. package/dist/marketplace/templates/components/index.js +171 -171
  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 +292 -295
  29. package/dist/marketplace/templates/index.js +40 -40
  30. package/dist/marketplace/templates/pages/index.d.ts +140 -140
  31. package/dist/marketplace/templates/pages/index.js +310 -310
  32. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  33. package/dist/marketplace/templates/reference/index.js +18 -18
  34. package/dist/people/index.d.ts +36 -36
  35. package/dist/people/index.js +105 -105
  36. package/dist/platform/index.d.ts +189 -189
  37. package/dist/platform/index.js +548 -548
  38. package/dist/reports/index.d.ts +49 -49
  39. package/dist/reports/index.js +145 -145
  40. package/package.json +33 -32
@@ -1,310 +1,310 @@
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_BRANDS: {
24
- KEY: 'home_page_brands',
25
- DEFAULT: '',
26
- },
27
- HOME_PAGE_BRANDS_TITLE: {
28
- KEY: 'home_page_brands_title',
29
- DEFAULT: '',
30
- },
31
- /**
32
- * Produtos selecionados (1)
33
- */
34
- HOME_PAGE_SELECTED_PRODUCTS_ONE: {
35
- KEY: 'home_page_selected_one_products',
36
- DEFAULT: '',
37
- },
38
- HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
39
- KEY: 'home_page_selected_products_one_title',
40
- DEFAULT: '',
41
- },
42
- /**
43
- * Produtos selecionados (2)
44
- */
45
- HOME_PAGE_SELECTED_PRODUCTS_TWO: {
46
- KEY: 'home_page_selected_two_products',
47
- DEFAULT: '',
48
- },
49
- HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
50
- KEY: 'home_page_selected_products_two_title',
51
- DEFAULT: '',
52
- },
53
- /**
54
- * Produtos em destaque
55
- */
56
- HOME_PAGE_FEATURED_PRODUCTS: {
57
- KEY: 'home_page_featured_products',
58
- DEFAULT: '',
59
- },
60
- BLOCK_IDS: {
61
- BANNERS: 1,
62
- CATEGORIES: 2,
63
- PROMOTIONS: 3,
64
- LATEST: 4,
65
- BEST_SELLERS: 5,
66
- MOST_VIEWED: 6,
67
- SELECTED_PRODUCTS_ONE: 7,
68
- CUSTOM_BANNERS: 8,
69
- SELECTED_BRANDS: 9,
70
- SELECTED_PRODUCTS_TWO: 10,
71
- FEATURED_PRODUCTS: 11,
72
- },
73
- BLOCKS: [
74
- {
75
- id: 1,
76
- name: 'Banners principais',
77
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
78
- enabled: true,
79
- immutable: true,
80
- configurable: true,
81
- badge: null,
82
- },
83
- {
84
- id: 2,
85
- name: 'Categorias selecionadas',
86
- icon: {
87
- type: 'Fatypes',
88
- size: DEFAULT_ICON_SIZE,
89
- },
90
- enabled: true,
91
- immutable: false,
92
- configurable: true,
93
- badge: {
94
- color: 'success',
95
- text: 'Novo',
96
- },
97
- },
98
- {
99
- id: 3,
100
- name: 'Produtos em promoção',
101
- icon: {
102
- type: 'FaBagShopping',
103
- size: DEFAULT_ICON_SIZE,
104
- },
105
- enabled: true,
106
- immutable: false,
107
- configurable: false,
108
- badge: null,
109
- },
110
- {
111
- id: 4,
112
- name: 'Últimos lançamentos',
113
- icon: {
114
- type: 'FaBagShopping',
115
- size: DEFAULT_ICON_SIZE,
116
- },
117
- enabled: true,
118
- immutable: false,
119
- configurable: false,
120
- badge: null,
121
- },
122
- {
123
- id: 5,
124
- name: 'Produtos mais vendidos',
125
- icon: {
126
- type: 'FaBagShopping',
127
- size: DEFAULT_ICON_SIZE,
128
- },
129
- enabled: false,
130
- immutable: false,
131
- configurable: false,
132
- badge: {
133
- color: 'info',
134
- text: 'Em breve',
135
- },
136
- },
137
- {
138
- id: 6,
139
- name: 'Produtos mais vistos',
140
- icon: {
141
- type: 'FaBagShopping',
142
- size: DEFAULT_ICON_SIZE,
143
- },
144
- enabled: false,
145
- immutable: false,
146
- configurable: false,
147
- badge: {
148
- color: 'info',
149
- text: 'Em breve',
150
- },
151
- },
152
- {
153
- id: 7,
154
- name: 'Produtos selecionados (1)',
155
- icon: {
156
- type: 'FaBagShopping',
157
- size: DEFAULT_ICON_SIZE,
158
- },
159
- enabled: true,
160
- immutable: false,
161
- configurable: true,
162
- badge: {
163
- color: 'success',
164
- text: 'Novo',
165
- },
166
- },
167
- {
168
- id: 8,
169
- name: 'Banners personalizados',
170
- icon: {
171
- type: 'FaImages',
172
- size: DEFAULT_ICON_SIZE,
173
- },
174
- enabled: false,
175
- immutable: false,
176
- configurable: true,
177
- badge: {
178
- color: 'info',
179
- text: 'Em breve',
180
- },
181
- },
182
- {
183
- id: 9,
184
- name: 'Marcas selecionadas',
185
- icon: {
186
- type: 'Fatypes',
187
- size: DEFAULT_ICON_SIZE,
188
- },
189
- enabled: true,
190
- immutable: false,
191
- configurable: true,
192
- badge: {
193
- color: 'success',
194
- text: 'Novo',
195
- },
196
- },
197
- {
198
- id: 10,
199
- name: 'Produtos selecionados (2)',
200
- icon: {
201
- type: 'FaBagShopping',
202
- size: DEFAULT_ICON_SIZE,
203
- },
204
- enabled: true,
205
- immutable: false,
206
- configurable: true,
207
- badge: {
208
- color: 'success',
209
- text: 'Novo',
210
- },
211
- },
212
- {
213
- id: 11,
214
- name: 'Produtos em destaque',
215
- icon: {
216
- type: 'FaBagShopping',
217
- size: DEFAULT_ICON_SIZE,
218
- },
219
- enabled: true,
220
- immutable: false,
221
- configurable: false,
222
- badge: {
223
- color: 'success',
224
- text: 'Novo',
225
- },
226
- },
227
- ],
228
- };
229
- exports.HOME_PAGE = HOME_PAGE;
230
- /**
231
- * Referencia da aparencia na pagina de produto
232
- */
233
- const PRODUCT_PAGE = {
234
- ID: 2,
235
- /**
236
- * Blocos disponiveis na pagina
237
- */
238
- ORDER: {
239
- KEY: 'product_page_blocks',
240
- DEFAULT: '1,2,3,4,5',
241
- },
242
- BLOCKS_IDS: {
243
- DETAILS: 1,
244
- DESCRIPTION: 2,
245
- WARRANTY: 3,
246
- RELATED: 4,
247
- BANNERS: 5,
248
- },
249
- BLOCKS: [
250
- {
251
- id: 1,
252
- name: 'Detalhes do produto',
253
- icon: {
254
- type: 'FaTag',
255
- size: DEFAULT_ICON_SIZE,
256
- },
257
- enabled: true,
258
- immutable: true,
259
- badge: null,
260
- },
261
- {
262
- id: 2,
263
- name: 'Descrição do produto',
264
- icon: {
265
- type: 'Fatypes',
266
- size: DEFAULT_ICON_SIZE,
267
- },
268
- enabled: true,
269
- immutable: false,
270
- badge: null,
271
- },
272
- {
273
- id: 3,
274
- name: 'Garantia do produto',
275
- icon: {
276
- type: 'FaTimeline',
277
- size: DEFAULT_ICON_SIZE,
278
- },
279
- enabled: true,
280
- immutable: false,
281
- badge: null,
282
- },
283
- {
284
- id: 4,
285
- name: 'Produtos relacionados',
286
- icon: {
287
- type: 'FaBagShopping',
288
- size: DEFAULT_ICON_SIZE,
289
- },
290
- enabled: true,
291
- immutable: false,
292
- badge: null,
293
- },
294
- {
295
- id: 5,
296
- name: 'Banners personalizados',
297
- icon: {
298
- type: 'FaImages',
299
- size: DEFAULT_ICON_SIZE,
300
- },
301
- enabled: false,
302
- immutable: false,
303
- badge: {
304
- color: 'info',
305
- text: 'Em breve',
306
- },
307
- },
308
- ],
309
- };
310
- 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_BRANDS: {
24
+ KEY: 'home_page_brands',
25
+ DEFAULT: '',
26
+ },
27
+ HOME_PAGE_BRANDS_TITLE: {
28
+ KEY: 'home_page_brands_title',
29
+ DEFAULT: '',
30
+ },
31
+ /**
32
+ * Produtos selecionados (1)
33
+ */
34
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
35
+ KEY: 'home_page_selected_one_products',
36
+ DEFAULT: '',
37
+ },
38
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
39
+ KEY: 'home_page_selected_products_one_title',
40
+ DEFAULT: '',
41
+ },
42
+ /**
43
+ * Produtos selecionados (2)
44
+ */
45
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
46
+ KEY: 'home_page_selected_two_products',
47
+ DEFAULT: '',
48
+ },
49
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
50
+ KEY: 'home_page_selected_products_two_title',
51
+ DEFAULT: '',
52
+ },
53
+ /**
54
+ * Produtos em destaque
55
+ */
56
+ HOME_PAGE_FEATURED_PRODUCTS: {
57
+ KEY: 'home_page_featured_products',
58
+ DEFAULT: '',
59
+ },
60
+ BLOCK_IDS: {
61
+ BANNERS: 1,
62
+ CATEGORIES: 2,
63
+ PROMOTIONS: 3,
64
+ LATEST: 4,
65
+ BEST_SELLERS: 5,
66
+ MOST_VIEWED: 6,
67
+ SELECTED_PRODUCTS_ONE: 7,
68
+ CUSTOM_BANNERS: 8,
69
+ SELECTED_BRANDS: 9,
70
+ SELECTED_PRODUCTS_TWO: 10,
71
+ FEATURED_PRODUCTS: 11,
72
+ },
73
+ BLOCKS: [
74
+ {
75
+ id: 1,
76
+ name: 'Banners principais',
77
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
78
+ enabled: true,
79
+ immutable: true,
80
+ configurable: true,
81
+ badge: null,
82
+ },
83
+ {
84
+ id: 2,
85
+ name: 'Categorias selecionadas',
86
+ icon: {
87
+ type: 'Fatypes',
88
+ size: DEFAULT_ICON_SIZE,
89
+ },
90
+ enabled: true,
91
+ immutable: false,
92
+ configurable: true,
93
+ badge: {
94
+ color: 'success',
95
+ text: 'Novo',
96
+ },
97
+ },
98
+ {
99
+ id: 3,
100
+ name: 'Produtos em promoção',
101
+ icon: {
102
+ type: 'FaBagShopping',
103
+ size: DEFAULT_ICON_SIZE,
104
+ },
105
+ enabled: true,
106
+ immutable: false,
107
+ configurable: false,
108
+ badge: null,
109
+ },
110
+ {
111
+ id: 4,
112
+ name: 'Últimos lançamentos',
113
+ icon: {
114
+ type: 'FaBagShopping',
115
+ size: DEFAULT_ICON_SIZE,
116
+ },
117
+ enabled: true,
118
+ immutable: false,
119
+ configurable: false,
120
+ badge: null,
121
+ },
122
+ {
123
+ id: 5,
124
+ name: 'Produtos mais vendidos',
125
+ icon: {
126
+ type: 'FaBagShopping',
127
+ size: DEFAULT_ICON_SIZE,
128
+ },
129
+ enabled: false,
130
+ immutable: false,
131
+ configurable: false,
132
+ badge: {
133
+ color: 'info',
134
+ text: 'Em breve',
135
+ },
136
+ },
137
+ {
138
+ id: 6,
139
+ name: 'Produtos mais vistos',
140
+ icon: {
141
+ type: 'FaBagShopping',
142
+ size: DEFAULT_ICON_SIZE,
143
+ },
144
+ enabled: false,
145
+ immutable: false,
146
+ configurable: false,
147
+ badge: {
148
+ color: 'info',
149
+ text: 'Em breve',
150
+ },
151
+ },
152
+ {
153
+ id: 7,
154
+ name: 'Produtos selecionados (1)',
155
+ icon: {
156
+ type: 'FaBagShopping',
157
+ size: DEFAULT_ICON_SIZE,
158
+ },
159
+ enabled: true,
160
+ immutable: false,
161
+ configurable: true,
162
+ badge: {
163
+ color: 'success',
164
+ text: 'Novo',
165
+ },
166
+ },
167
+ {
168
+ id: 8,
169
+ name: 'Banners personalizados',
170
+ icon: {
171
+ type: 'FaImages',
172
+ size: DEFAULT_ICON_SIZE,
173
+ },
174
+ enabled: false,
175
+ immutable: false,
176
+ configurable: true,
177
+ badge: {
178
+ color: 'info',
179
+ text: 'Em breve',
180
+ },
181
+ },
182
+ {
183
+ id: 9,
184
+ name: 'Marcas selecionadas',
185
+ icon: {
186
+ type: 'Fatypes',
187
+ size: DEFAULT_ICON_SIZE,
188
+ },
189
+ enabled: true,
190
+ immutable: false,
191
+ configurable: true,
192
+ badge: {
193
+ color: 'success',
194
+ text: 'Novo',
195
+ },
196
+ },
197
+ {
198
+ id: 10,
199
+ name: 'Produtos selecionados (2)',
200
+ icon: {
201
+ type: 'FaBagShopping',
202
+ size: DEFAULT_ICON_SIZE,
203
+ },
204
+ enabled: true,
205
+ immutable: false,
206
+ configurable: true,
207
+ badge: {
208
+ color: 'success',
209
+ text: 'Novo',
210
+ },
211
+ },
212
+ {
213
+ id: 11,
214
+ name: 'Produtos em destaque',
215
+ icon: {
216
+ type: 'FaBagShopping',
217
+ size: DEFAULT_ICON_SIZE,
218
+ },
219
+ enabled: true,
220
+ immutable: false,
221
+ configurable: false,
222
+ badge: {
223
+ color: 'success',
224
+ text: 'Novo',
225
+ },
226
+ },
227
+ ],
228
+ };
229
+ exports.HOME_PAGE = HOME_PAGE;
230
+ /**
231
+ * Referencia da aparencia na pagina de produto
232
+ */
233
+ const PRODUCT_PAGE = {
234
+ ID: 2,
235
+ /**
236
+ * Blocos disponiveis na pagina
237
+ */
238
+ ORDER: {
239
+ KEY: 'product_page_blocks',
240
+ DEFAULT: '1,2,3,4,5',
241
+ },
242
+ BLOCKS_IDS: {
243
+ DETAILS: 1,
244
+ DESCRIPTION: 2,
245
+ WARRANTY: 3,
246
+ RELATED: 4,
247
+ BANNERS: 5,
248
+ },
249
+ BLOCKS: [
250
+ {
251
+ id: 1,
252
+ name: 'Detalhes do produto',
253
+ icon: {
254
+ type: 'FaTag',
255
+ size: DEFAULT_ICON_SIZE,
256
+ },
257
+ enabled: true,
258
+ immutable: true,
259
+ badge: null,
260
+ },
261
+ {
262
+ id: 2,
263
+ name: 'Descrição do produto',
264
+ icon: {
265
+ type: 'Fatypes',
266
+ size: DEFAULT_ICON_SIZE,
267
+ },
268
+ enabled: true,
269
+ immutable: false,
270
+ badge: null,
271
+ },
272
+ {
273
+ id: 3,
274
+ name: 'Garantia do produto',
275
+ icon: {
276
+ type: 'FaTimeline',
277
+ size: DEFAULT_ICON_SIZE,
278
+ },
279
+ enabled: true,
280
+ immutable: false,
281
+ badge: null,
282
+ },
283
+ {
284
+ id: 4,
285
+ name: 'Produtos relacionados',
286
+ icon: {
287
+ type: 'FaBagShopping',
288
+ size: DEFAULT_ICON_SIZE,
289
+ },
290
+ enabled: true,
291
+ immutable: false,
292
+ badge: null,
293
+ },
294
+ {
295
+ id: 5,
296
+ name: 'Banners personalizados',
297
+ icon: {
298
+ type: 'FaImages',
299
+ size: DEFAULT_ICON_SIZE,
300
+ },
301
+ enabled: false,
302
+ immutable: false,
303
+ badge: {
304
+ color: 'info',
305
+ text: 'Em breve',
306
+ },
307
+ },
308
+ ],
309
+ };
310
+ exports.PRODUCT_PAGE = PRODUCT_PAGE;
@@ -1,16 +1,16 @@
1
- /**
2
- * Referencia de configuracao da aparencia (themes)
3
- */
4
- declare const APPEARANCE_REFERENCE: {
5
- /** Cor primaria */
6
- PRIMARY_COLOR: {
7
- KEY: string;
8
- DEFAULT: string;
9
- };
10
- /** Cor secundaria */
11
- SECONDARY_COLOR: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- };
16
- export default APPEARANCE_REFERENCE;
1
+ /**
2
+ * Referencia de configuracao da aparencia (themes)
3
+ */
4
+ declare const APPEARANCE_REFERENCE: {
5
+ /** Cor primaria */
6
+ PRIMARY_COLOR: {
7
+ KEY: string;
8
+ DEFAULT: string;
9
+ };
10
+ /** Cor secundaria */
11
+ SECONDARY_COLOR: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ };
16
+ export default APPEARANCE_REFERENCE;