mdz-enum 1.4.5 → 1.4.7

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 (38) hide show
  1. package/README.MD +1 -1
  2. package/dist/checkout/index.d.ts +28 -28
  3. package/dist/checkout/index.js +83 -83
  4. package/dist/commercial/index.d.ts +221 -221
  5. package/dist/commercial/index.js +532 -532
  6. package/dist/common/index.d.ts +42 -42
  7. package/dist/common/index.js +123 -123
  8. package/dist/config/index.d.ts +137 -137
  9. package/dist/config/index.js +392 -392
  10. package/dist/finance/index.d.ts +164 -164
  11. package/dist/finance/index.js +425 -425
  12. package/dist/fiscal/index.d.ts +461 -461
  13. package/dist/fiscal/index.js +1156 -1156
  14. package/dist/functions.d.ts +11 -11
  15. package/dist/functions.js +74 -74
  16. package/dist/general/index.d.ts +243 -243
  17. package/dist/general/index.js +449 -449
  18. package/dist/index.d.ts +14 -14
  19. package/dist/index.js +200 -200
  20. package/dist/integration/index.d.ts +19 -19
  21. package/dist/integration/index.js +57 -57
  22. package/dist/logistics/index.d.ts +119 -119
  23. package/dist/logistics/index.js +345 -345
  24. package/dist/marketplace/templates/components/index.d.ts +189 -189
  25. package/dist/marketplace/templates/components/index.js +201 -201
  26. package/dist/marketplace/templates/index.d.ts +273 -248
  27. package/dist/marketplace/templates/index.js +31 -31
  28. package/dist/marketplace/templates/pages/index.d.ts +118 -89
  29. package/dist/marketplace/templates/pages/index.js +253 -216
  30. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  31. package/dist/marketplace/templates/reference/index.js +18 -18
  32. package/dist/people/index.d.ts +35 -35
  33. package/dist/people/index.js +102 -102
  34. package/dist/platform/index.d.ts +177 -177
  35. package/dist/platform/index.js +514 -514
  36. package/dist/reports/index.d.ts +46 -46
  37. package/dist/reports/index.js +136 -136
  38. package/package.json +32 -33
@@ -1,89 +1,118 @@
1
- /** Referencia da aparencia na pagina inicial */
2
- declare const HOME_PAGE: {
3
- ID: number;
4
- /**
5
- * Blocos disponiveis na pagina
6
- */
7
- ORDER: {
8
- KEY: string;
9
- DEFAULT: string;
10
- };
11
- HOME_PAGE_FEATURED_CATEGORY: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
16
- KEY: string;
17
- DEFAULT: string;
18
- };
19
- HOME_PAGE_FEATURED_BRANDS: {
20
- KEY: string;
21
- DEFAULT: string;
22
- };
23
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
24
- KEY: string;
25
- DEFAULT: string;
26
- };
27
- BLOCKS: ({
28
- id: number;
29
- name: string;
30
- icon: {
31
- type: string;
32
- size: number;
33
- };
34
- enabled: boolean;
35
- immutable: boolean;
36
- badge: null;
37
- } | {
38
- id: number;
39
- name: string;
40
- icon: {
41
- type: string;
42
- size: number;
43
- };
44
- enabled: boolean;
45
- immutable: boolean;
46
- badge: {
47
- color: string;
48
- text: string;
49
- };
50
- })[];
51
- };
52
- /**
53
- * Referencia da aparencia na pagina de produto
54
- */
55
- declare const PRODUCT_PAGE: {
56
- ID: number;
57
- /**
58
- * Blocos disponiveis na pagina
59
- */
60
- ORDER: {
61
- KEY: string;
62
- DEFAULT: string;
63
- };
64
- BLOCKS: ({
65
- id: number;
66
- name: string;
67
- icon: {
68
- type: string;
69
- size: number;
70
- };
71
- enabled: boolean;
72
- immutable: boolean;
73
- badge: null;
74
- } | {
75
- id: number;
76
- name: string;
77
- icon: {
78
- type: string;
79
- size: number;
80
- };
81
- enabled: boolean;
82
- immutable: boolean;
83
- badge: {
84
- color: string;
85
- text: string;
86
- };
87
- })[];
88
- };
89
- export { HOME_PAGE, PRODUCT_PAGE };
1
+ /** Referencia da aparencia na pagina inicial */
2
+ declare const HOME_PAGE: {
3
+ ID: number;
4
+ /**
5
+ * Blocos disponiveis na pagina
6
+ */
7
+ ORDER: {
8
+ KEY: string;
9
+ DEFAULT: string;
10
+ };
11
+ HOME_PAGE_FEATURED_CATEGORY: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ HOME_PAGE_FEATURED_CATEGORY_TITLE: {
16
+ KEY: string;
17
+ DEFAULT: string;
18
+ };
19
+ HOME_PAGE_FEATURED_BRANDS: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ };
23
+ HOME_PAGE_FEATURED_BRANDS_TITLE: {
24
+ KEY: string;
25
+ DEFAULT: string;
26
+ };
27
+ /**
28
+ * Produtos selecionados (1)
29
+ */
30
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
31
+ KEY: string;
32
+ DEFAULT: string;
33
+ };
34
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
35
+ KEY: string;
36
+ DEFAULT: string;
37
+ };
38
+ /**
39
+ * Produtos selecionados (2)
40
+ */
41
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
42
+ KEY: string;
43
+ DEFAULT: string;
44
+ };
45
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
46
+ KEY: string;
47
+ DEFAULT: string;
48
+ };
49
+ /**
50
+ * Produtos em destaque
51
+ */
52
+ HOME_PAGE_FEATURED_PRODUCTS: {
53
+ KEY: string;
54
+ DEFAULT: string;
55
+ };
56
+ BLOCKS: ({
57
+ id: number;
58
+ name: string;
59
+ icon: {
60
+ type: string;
61
+ size: number;
62
+ };
63
+ enabled: boolean;
64
+ immutable: boolean;
65
+ badge: null;
66
+ } | {
67
+ id: number;
68
+ name: string;
69
+ icon: {
70
+ type: string;
71
+ size: number;
72
+ };
73
+ enabled: boolean;
74
+ immutable: boolean;
75
+ badge: {
76
+ color: string;
77
+ text: string;
78
+ };
79
+ })[];
80
+ };
81
+ /**
82
+ * Referencia da aparencia na pagina de produto
83
+ */
84
+ declare const PRODUCT_PAGE: {
85
+ ID: number;
86
+ /**
87
+ * Blocos disponiveis na pagina
88
+ */
89
+ ORDER: {
90
+ KEY: string;
91
+ DEFAULT: string;
92
+ };
93
+ BLOCKS: ({
94
+ id: number;
95
+ name: string;
96
+ icon: {
97
+ type: string;
98
+ size: number;
99
+ };
100
+ enabled: boolean;
101
+ immutable: boolean;
102
+ badge: null;
103
+ } | {
104
+ id: number;
105
+ name: string;
106
+ icon: {
107
+ type: string;
108
+ size: number;
109
+ };
110
+ enabled: boolean;
111
+ immutable: boolean;
112
+ badge: {
113
+ color: string;
114
+ text: string;
115
+ };
116
+ })[];
117
+ };
118
+ export { HOME_PAGE, PRODUCT_PAGE };
@@ -1,216 +1,253 @@
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,2,3,4,5,6,7,8,9',
14
- },
15
- HOME_PAGE_FEATURED_CATEGORY: {
16
- KEY: 'home_page_featured_categories',
17
- DEFAULT: '',
18
- },
19
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
20
- KEY: 'home_page_featured_categories_title',
21
- DEFAULT: '',
22
- },
23
- HOME_PAGE_FEATURED_BRANDS: {
24
- KEY: 'home_page_featured_brands',
25
- DEFAULT: '',
26
- },
27
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
28
- KEY: 'home_page_featured_brands_title',
29
- DEFAULT: '',
30
- },
31
- BLOCKS: [
32
- {
33
- id: 1,
34
- name: 'Banners principais',
35
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
36
- enabled: true,
37
- immutable: true,
38
- badge: null,
39
- },
40
- {
41
- id: 2,
42
- name: 'Categorias em destaque',
43
- icon: {
44
- type: 'Fatypes',
45
- size: DEFAULT_ICON_SIZE,
46
- },
47
- enabled: true,
48
- immutable: false,
49
- badge: null,
50
- },
51
- {
52
- id: 3,
53
- name: 'Produtos em promoção',
54
- icon: {
55
- type: 'FaBagShopping',
56
- size: DEFAULT_ICON_SIZE,
57
- },
58
- enabled: true,
59
- immutable: false,
60
- badge: null,
61
- },
62
- {
63
- id: 4,
64
- name: 'Últimos lançamentos',
65
- icon: {
66
- type: 'FaBagShopping',
67
- size: DEFAULT_ICON_SIZE,
68
- },
69
- enabled: true,
70
- immutable: false,
71
- badge: null,
72
- },
73
- {
74
- id: 5,
75
- name: 'Produtos mais vendidos',
76
- icon: {
77
- type: 'FaBagShopping',
78
- size: DEFAULT_ICON_SIZE,
79
- },
80
- enabled: false,
81
- immutable: false,
82
- badge: {
83
- color: 'info',
84
- text: 'Em breve',
85
- },
86
- },
87
- {
88
- id: 6,
89
- name: 'Produtos mais vistos',
90
- icon: {
91
- type: 'FaBagShopping',
92
- size: DEFAULT_ICON_SIZE,
93
- },
94
- enabled: false,
95
- immutable: false,
96
- badge: {
97
- color: 'info',
98
- text: 'Em breve',
99
- },
100
- },
101
- {
102
- id: 7,
103
- name: 'Produtos selecionados',
104
- icon: {
105
- type: 'FaBagShopping',
106
- size: DEFAULT_ICON_SIZE,
107
- },
108
- enabled: false,
109
- immutable: false,
110
- badge: {
111
- color: 'info',
112
- text: 'Em breve',
113
- },
114
- },
115
- {
116
- id: 8,
117
- name: 'Banners personalizados',
118
- icon: {
119
- type: 'FaImages',
120
- size: DEFAULT_ICON_SIZE,
121
- },
122
- enabled: false,
123
- immutable: false,
124
- badge: {
125
- color: 'info',
126
- text: 'Em breve',
127
- },
128
- },
129
- {
130
- id: 9,
131
- name: 'Compre por marca',
132
- icon: {
133
- type: 'Fatypes',
134
- size: DEFAULT_ICON_SIZE,
135
- },
136
- enabled: true,
137
- immutable: false,
138
- badge: null,
139
- },
140
- ],
141
- };
142
- exports.HOME_PAGE = HOME_PAGE;
143
- /**
144
- * Referencia da aparencia na pagina de produto
145
- */
146
- const PRODUCT_PAGE = {
147
- ID: 2,
148
- /**
149
- * Blocos disponiveis na pagina
150
- */
151
- ORDER: {
152
- KEY: 'product_page_blocks',
153
- DEFAULT: '1,2,3,4,5',
154
- },
155
- BLOCKS: [
156
- {
157
- id: 1,
158
- name: 'Detalhes do produto',
159
- icon: {
160
- type: 'FaTag',
161
- size: DEFAULT_ICON_SIZE,
162
- },
163
- enabled: true,
164
- immutable: true,
165
- badge: null,
166
- },
167
- {
168
- id: 2,
169
- name: 'Descrição do produto',
170
- icon: {
171
- type: 'Fatypes',
172
- size: DEFAULT_ICON_SIZE,
173
- },
174
- enabled: true,
175
- immutable: false,
176
- badge: null,
177
- },
178
- {
179
- id: 3,
180
- name: 'Garantia do produto',
181
- icon: {
182
- type: 'FaTimeline',
183
- size: DEFAULT_ICON_SIZE,
184
- },
185
- enabled: true,
186
- immutable: false,
187
- badge: null,
188
- },
189
- {
190
- id: 4,
191
- name: 'Produtos relacionados',
192
- icon: {
193
- type: 'FaBagShopping',
194
- size: DEFAULT_ICON_SIZE,
195
- },
196
- enabled: true,
197
- immutable: false,
198
- badge: null,
199
- },
200
- {
201
- id: 5,
202
- name: 'Banners personalizados',
203
- icon: {
204
- type: 'FaImages',
205
- size: DEFAULT_ICON_SIZE,
206
- },
207
- enabled: false,
208
- immutable: false,
209
- badge: {
210
- color: 'info',
211
- text: 'Em breve',
212
- },
213
- },
214
- ],
215
- };
216
- 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,2,3,4,5,6,7,8,9',
14
+ },
15
+ HOME_PAGE_FEATURED_CATEGORY: {
16
+ KEY: 'home_page_featured_categories',
17
+ DEFAULT: '',
18
+ },
19
+ HOME_PAGE_FEATURED_CATEGORY_TITLE: {
20
+ KEY: 'home_page_featured_categories_title',
21
+ DEFAULT: '',
22
+ },
23
+ HOME_PAGE_FEATURED_BRANDS: {
24
+ KEY: 'home_page_featured_brands',
25
+ DEFAULT: '',
26
+ },
27
+ HOME_PAGE_FEATURED_BRANDS_TITLE: {
28
+ KEY: 'home_page_featured_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
+ BLOCKS: [
61
+ {
62
+ id: 1,
63
+ name: 'Banners principais',
64
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
65
+ enabled: true,
66
+ immutable: true,
67
+ badge: null,
68
+ },
69
+ {
70
+ id: 2,
71
+ name: 'Categorias selecionadas',
72
+ icon: {
73
+ type: 'Fatypes',
74
+ size: DEFAULT_ICON_SIZE,
75
+ },
76
+ enabled: true,
77
+ immutable: false,
78
+ badge: null,
79
+ },
80
+ {
81
+ id: 3,
82
+ name: 'Produtos em promoção',
83
+ icon: {
84
+ type: 'FaBagShopping',
85
+ size: DEFAULT_ICON_SIZE,
86
+ },
87
+ enabled: true,
88
+ immutable: false,
89
+ badge: null,
90
+ },
91
+ {
92
+ id: 4,
93
+ name: 'Últimos lançamentos',
94
+ icon: {
95
+ type: 'FaBagShopping',
96
+ size: DEFAULT_ICON_SIZE,
97
+ },
98
+ enabled: true,
99
+ immutable: false,
100
+ badge: null,
101
+ },
102
+ {
103
+ id: 5,
104
+ name: 'Produtos mais vendidos',
105
+ icon: {
106
+ type: 'FaBagShopping',
107
+ size: DEFAULT_ICON_SIZE,
108
+ },
109
+ enabled: false,
110
+ immutable: false,
111
+ badge: {
112
+ color: 'info',
113
+ text: 'Em breve',
114
+ },
115
+ },
116
+ {
117
+ id: 6,
118
+ name: 'Produtos mais vistos',
119
+ icon: {
120
+ type: 'FaBagShopping',
121
+ size: DEFAULT_ICON_SIZE,
122
+ },
123
+ enabled: false,
124
+ immutable: false,
125
+ badge: {
126
+ color: 'info',
127
+ text: 'Em breve',
128
+ },
129
+ },
130
+ {
131
+ id: 7,
132
+ name: 'Produtos selecionados (1)',
133
+ icon: {
134
+ type: 'FaBagShopping',
135
+ size: DEFAULT_ICON_SIZE,
136
+ },
137
+ enabled: true,
138
+ immutable: false,
139
+ badge: null,
140
+ },
141
+ {
142
+ id: 8,
143
+ name: 'Banners personalizados',
144
+ icon: {
145
+ type: 'FaImages',
146
+ size: DEFAULT_ICON_SIZE,
147
+ },
148
+ enabled: false,
149
+ immutable: false,
150
+ badge: {
151
+ color: 'info',
152
+ text: 'Em breve',
153
+ },
154
+ },
155
+ {
156
+ id: 9,
157
+ name: 'Marcas selecionadas',
158
+ icon: {
159
+ type: 'Fatypes',
160
+ size: DEFAULT_ICON_SIZE,
161
+ },
162
+ enabled: true,
163
+ immutable: false,
164
+ badge: null,
165
+ },
166
+ {
167
+ id: 10,
168
+ name: 'Produtos selecionados (2)',
169
+ icon: {
170
+ type: 'FaBagShopping',
171
+ size: DEFAULT_ICON_SIZE,
172
+ },
173
+ enabled: true,
174
+ immutable: false,
175
+ badge: null,
176
+ },
177
+ ],
178
+ };
179
+ exports.HOME_PAGE = HOME_PAGE;
180
+ /**
181
+ * Referencia da aparencia na pagina de produto
182
+ */
183
+ const PRODUCT_PAGE = {
184
+ ID: 2,
185
+ /**
186
+ * Blocos disponiveis na pagina
187
+ */
188
+ ORDER: {
189
+ KEY: 'product_page_blocks',
190
+ DEFAULT: '1,2,3,4,5',
191
+ },
192
+ BLOCKS: [
193
+ {
194
+ id: 1,
195
+ name: 'Detalhes do produto',
196
+ icon: {
197
+ type: 'FaTag',
198
+ size: DEFAULT_ICON_SIZE,
199
+ },
200
+ enabled: true,
201
+ immutable: true,
202
+ badge: null,
203
+ },
204
+ {
205
+ id: 2,
206
+ name: 'Descrição do produto',
207
+ icon: {
208
+ type: 'Fatypes',
209
+ size: DEFAULT_ICON_SIZE,
210
+ },
211
+ enabled: true,
212
+ immutable: false,
213
+ badge: null,
214
+ },
215
+ {
216
+ id: 3,
217
+ name: 'Garantia do produto',
218
+ icon: {
219
+ type: 'FaTimeline',
220
+ size: DEFAULT_ICON_SIZE,
221
+ },
222
+ enabled: true,
223
+ immutable: false,
224
+ badge: null,
225
+ },
226
+ {
227
+ id: 4,
228
+ name: 'Produtos relacionados',
229
+ icon: {
230
+ type: 'FaBagShopping',
231
+ size: DEFAULT_ICON_SIZE,
232
+ },
233
+ enabled: true,
234
+ immutable: false,
235
+ badge: null,
236
+ },
237
+ {
238
+ id: 5,
239
+ name: 'Banners personalizados',
240
+ icon: {
241
+ type: 'FaImages',
242
+ size: DEFAULT_ICON_SIZE,
243
+ },
244
+ enabled: false,
245
+ immutable: false,
246
+ badge: {
247
+ color: 'info',
248
+ text: 'Em breve',
249
+ },
250
+ },
251
+ ],
252
+ };
253
+ exports.PRODUCT_PAGE = PRODUCT_PAGE;