mdz-enum 1.5.20 → 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 -145
  25. package/dist/marketplace/templates/components/index.js +171 -156
  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 -287
  29. package/dist/marketplace/templates/index.js +40 -38
  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 -33
@@ -1,35 +1,35 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LOGO = void 0;
4
- /**
5
- * Referencia da aparencia do logo
6
- */
7
- const LOGO = {
8
- URL: {
9
- DESKTOP: {
10
- KEY: 'logo_desktop',
11
- },
12
- MOBILE: {
13
- KEY: 'logo_mobile',
14
- },
15
- },
16
- TYPE: {
17
- DESKTOP: {
18
- KEY: 'logo_type_desktop',
19
- DEFAULT: '1',
20
- },
21
- MOBILE: {
22
- KEY: 'logo_type_mobile',
23
- DEFAULT: '0',
24
- },
25
- },
26
- DESCRIPTION: {
27
- MOBILE: {
28
- KEY: 'logo_mobile_description',
29
- },
30
- DESKTOP: {
31
- KEY: 'logo_desktop_description',
32
- },
33
- },
34
- };
35
- exports.LOGO = LOGO;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOGO = void 0;
4
+ /**
5
+ * Referencia da aparencia do logo
6
+ */
7
+ const LOGO = {
8
+ URL: {
9
+ DESKTOP: {
10
+ KEY: 'logo_desktop',
11
+ },
12
+ MOBILE: {
13
+ KEY: 'logo_mobile',
14
+ },
15
+ },
16
+ TYPE: {
17
+ DESKTOP: {
18
+ KEY: 'logo_type_desktop',
19
+ DEFAULT: '1',
20
+ },
21
+ MOBILE: {
22
+ KEY: 'logo_type_mobile',
23
+ DEFAULT: '0',
24
+ },
25
+ },
26
+ DESCRIPTION: {
27
+ MOBILE: {
28
+ KEY: 'logo_mobile_description',
29
+ },
30
+ DESKTOP: {
31
+ KEY: 'logo_desktop_description',
32
+ },
33
+ },
34
+ };
35
+ exports.LOGO = LOGO;
@@ -1,287 +1,292 @@
1
- import APPEARANCE_REFERENCE from './reference';
2
- /**
3
- * Constante de configuração de aparência das páginas (blocks)
4
- */
5
- declare const APPEARANCE_PAGES: {
6
- HOME_PAGE: {
7
- ID: number;
8
- ORDER: {
9
- KEY: string;
10
- DEFAULT: string;
11
- };
12
- HOME_PAGE_CATEGORY: {
13
- KEY: string;
14
- DEFAULT: string;
15
- };
16
- HOME_PAGE_CATEGORY_TITLE: {
17
- KEY: string;
18
- DEFAULT: string;
19
- };
20
- HOME_PAGE_BRANDS: {
21
- KEY: string;
22
- DEFAULT: string;
23
- };
24
- HOME_PAGE_BRANDS_TITLE: {
25
- KEY: string; /**
26
- * Constante de configuração de referencia para elementos gerais (any)
27
- */
28
- DEFAULT: string;
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
- HOME_PAGE_SELECTED_PRODUCTS_TWO: {
39
- KEY: string;
40
- DEFAULT: string;
41
- };
42
- HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
43
- KEY: string;
44
- DEFAULT: string;
45
- };
46
- HOME_PAGE_FEATURED_PRODUCTS: {
47
- KEY: string;
48
- DEFAULT: string;
49
- };
50
- BLOCK_IDS: {
51
- BANNERS: number;
52
- CATEGORIES: number;
53
- PROMOTIONS: number;
54
- LATEST: number;
55
- BEST_SELLERS: number;
56
- MOST_VIEWED: number;
57
- SELECTED_PRODUCTS_ONE: number;
58
- CUSTOM_BANNERS: number;
59
- SELECTED_BRANDS: number;
60
- SELECTED_PRODUCTS_TWO: number;
61
- FEATURED_PRODUCTS: number;
62
- };
63
- BLOCKS: ({
64
- id: number;
65
- name: string;
66
- icon: {
67
- type: string;
68
- size: number;
69
- };
70
- enabled: boolean;
71
- immutable: boolean;
72
- configurable: 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
- configurable: boolean;
84
- badge: {
85
- color: string;
86
- text: string;
87
- };
88
- })[];
89
- };
90
- PRODUCT_PAGE: {
91
- ID: number;
92
- ORDER: {
93
- KEY: string;
94
- DEFAULT: string;
95
- };
96
- BLOCKS_IDS: {
97
- DETAILS: number;
98
- DESCRIPTION: number;
99
- WARRANTY: number;
100
- RELATED: number;
101
- BANNERS: number;
102
- };
103
- BLOCKS: ({
104
- id: number;
105
- name: string;
106
- icon: {
107
- type: string;
108
- size: number;
109
- };
110
- enabled: boolean;
111
- immutable: boolean;
112
- badge: null;
113
- } | {
114
- id: number;
115
- name: string;
116
- icon: {
117
- type: string;
118
- size: number;
119
- };
120
- enabled: boolean;
121
- immutable: boolean;
122
- badge: {
123
- color: string;
124
- text: string;
125
- };
126
- })[];
127
- };
128
- };
129
- /**
130
- * Constante de configuração de aparência dos componentes (themes)
131
- */
132
- declare const APPEARANCE_COMPONENTS: {
133
- PRODUCT_CARD: {
134
- RADIUS: {
135
- KEY: string;
136
- DEFAULT: string;
137
- VALUES: {
138
- label: string;
139
- value: string;
140
- }[];
141
- };
142
- SHADOW: {
143
- KEY: string;
144
- DEFAULT: string;
145
- VALUES: {
146
- label: string;
147
- value: string;
148
- }[];
149
- };
150
- PROPORTION: {
151
- KEY: string;
152
- DEFAULT: string;
153
- VALUES: {
154
- label: string;
155
- value: string;
156
- }[];
157
- };
158
- SHOW_BUTTON: {
159
- KEY: string;
160
- DEFAULT: string;
161
- VALUES: string[];
162
- };
163
- };
164
- BUTTON: {
165
- RADIUS: {
166
- KEY: string;
167
- DEFAULT: string;
168
- VALUES: {
169
- label: string;
170
- value: string;
171
- }[];
172
- };
173
- };
174
- BUY_BUTTON: {
175
- LIGHT: {
176
- COLOR: {
177
- KEY: string;
178
- DEFAULT: string;
179
- };
180
- };
181
- DARK: {
182
- COLOR: {
183
- KEY: string;
184
- DEFAULT: string;
185
- };
186
- };
187
- };
188
- FOOTER: {
189
- LIGHT: {
190
- COLOR: {
191
- KEY: string;
192
- DEFAULT: string;
193
- };
194
- LOGO_FILTER: {
195
- KEY: string;
196
- DEFAULT: string;
197
- VALUES: string[];
198
- };
199
- };
200
- DARK: {
201
- COLOR: {
202
- KEY: string;
203
- DEFAULT: string;
204
- };
205
- LOGO_FILTER: {
206
- KEY: string;
207
- DEFAULT: string;
208
- VALUES: string[];
209
- };
210
- };
211
- };
212
- HEADER: {
213
- LIGHT: {
214
- COLOR: {
215
- KEY: string;
216
- DEFAULT: string;
217
- };
218
- LOGO_FILTER: {
219
- KEY: string;
220
- DEFAULT: string;
221
- VALUES: string[];
222
- };
223
- };
224
- DARK: {
225
- COLOR: {
226
- KEY: string;
227
- DEFAULT: string;
228
- };
229
- LOGO_FILTER: {
230
- KEY: string;
231
- DEFAULT: string;
232
- VALUES: string[];
233
- };
234
- };
235
- };
236
- CART_BUTTON: {
237
- LIGHT: {
238
- COLOR: {
239
- KEY: string;
240
- DEFAULT: string;
241
- };
242
- };
243
- DARK: {
244
- COLOR: {
245
- KEY: string;
246
- DEFAULT: string;
247
- };
248
- };
249
- };
250
- };
251
- /**
252
- * Constante de configuração de referencia para elementos gerais (any)
253
- */
254
- declare const APPEARANCE_ELEMENTS: {
255
- LOGO: {
256
- URL: {
257
- DESKTOP: {
258
- KEY: string;
259
- };
260
- MOBILE: {
261
- KEY: string;
262
- };
263
- };
264
- TYPE: {
265
- DESKTOP: {
266
- KEY: string;
267
- DEFAULT: string;
268
- };
269
- MOBILE: {
270
- KEY: string;
271
- DEFAULT: string;
272
- };
273
- };
274
- DESCRIPTION: {
275
- /**
276
- * Constante de configuração de aparência dos componentes (themes)
277
- */
278
- MOBILE: {
279
- KEY: string;
280
- };
281
- DESKTOP: {
282
- KEY: string;
283
- };
284
- };
285
- };
286
- };
287
- export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_ELEMENTS };
1
+ import APPEARANCE_REFERENCE from './reference';
2
+ /**
3
+ * Constante de configuração de aparência das páginas (blocks)
4
+ */
5
+ declare const APPEARANCE_PAGES: {
6
+ HOME_PAGE: {
7
+ ID: number;
8
+ ORDER: {
9
+ KEY: string;
10
+ DEFAULT: string;
11
+ };
12
+ HOME_PAGE_CATEGORY: {
13
+ KEY: string;
14
+ DEFAULT: string;
15
+ };
16
+ HOME_PAGE_CATEGORY_TITLE: {
17
+ KEY: string;
18
+ DEFAULT: string;
19
+ };
20
+ HOME_PAGE_BRANDS: {
21
+ KEY: string;
22
+ DEFAULT: string;
23
+ };
24
+ HOME_PAGE_BRANDS_TITLE: {
25
+ KEY: string;
26
+ DEFAULT: string;
27
+ };
28
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
29
+ KEY: string;
30
+ DEFAULT: string;
31
+ };
32
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
33
+ KEY: string;
34
+ DEFAULT: string;
35
+ };
36
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
37
+ KEY: string;
38
+ DEFAULT: string;
39
+ };
40
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
41
+ KEY: string;
42
+ DEFAULT: string;
43
+ };
44
+ HOME_PAGE_FEATURED_PRODUCTS: {
45
+ KEY: string;
46
+ DEFAULT: string;
47
+ };
48
+ BLOCK_IDS: {
49
+ BANNERS: number;
50
+ CATEGORIES: number;
51
+ PROMOTIONS: number;
52
+ LATEST: number;
53
+ BEST_SELLERS: number;
54
+ MOST_VIEWED: number;
55
+ SELECTED_PRODUCTS_ONE: number;
56
+ CUSTOM_BANNERS: number;
57
+ SELECTED_BRANDS: number;
58
+ SELECTED_PRODUCTS_TWO: number;
59
+ FEATURED_PRODUCTS: number;
60
+ };
61
+ BLOCKS: ({
62
+ id: number;
63
+ name: string;
64
+ icon: {
65
+ type: string;
66
+ size: number;
67
+ };
68
+ enabled: boolean;
69
+ immutable: boolean;
70
+ configurable: boolean;
71
+ badge: null;
72
+ } | {
73
+ id: number;
74
+ name: string;
75
+ icon: {
76
+ type: string;
77
+ size: number;
78
+ };
79
+ enabled: boolean;
80
+ immutable: boolean;
81
+ configurable: boolean;
82
+ badge: {
83
+ color: string;
84
+ text: string;
85
+ };
86
+ })[];
87
+ };
88
+ PRODUCT_PAGE: {
89
+ ID: number;
90
+ ORDER: {
91
+ KEY: string;
92
+ DEFAULT: string;
93
+ };
94
+ BLOCKS_IDS: {
95
+ DETAILS: number;
96
+ DESCRIPTION: number;
97
+ WARRANTY: number;
98
+ RELATED: number;
99
+ BANNERS: number;
100
+ };
101
+ BLOCKS: ({
102
+ id: number;
103
+ name: string;
104
+ icon: {
105
+ type: string;
106
+ size: number;
107
+ };
108
+ enabled: boolean;
109
+ immutable: boolean;
110
+ badge: null;
111
+ } | {
112
+ id: number;
113
+ name: string;
114
+ icon: {
115
+ type: string;
116
+ size: number;
117
+ };
118
+ enabled: boolean;
119
+ immutable: boolean;
120
+ badge: {
121
+ color: string;
122
+ text: string;
123
+ };
124
+ })[];
125
+ };
126
+ };
127
+ /**
128
+ * Constante de configuração de aparência dos componentes (themes)
129
+ */
130
+ declare const APPEARANCE_COMPONENTS: {
131
+ PRODUCT_CARD: {
132
+ RADIUS: {
133
+ KEY: string;
134
+ DEFAULT: string;
135
+ VALUES: {
136
+ label: string;
137
+ value: string;
138
+ }[];
139
+ };
140
+ SHADOW: {
141
+ KEY: string;
142
+ DEFAULT: string;
143
+ VALUES: {
144
+ label: string;
145
+ value: string;
146
+ }[];
147
+ };
148
+ PROPORTION: {
149
+ KEY: string;
150
+ DEFAULT: string;
151
+ VALUES: {
152
+ label: string;
153
+ value: string;
154
+ }[];
155
+ };
156
+ SHOW_BUTTON: {
157
+ KEY: string;
158
+ DEFAULT: string;
159
+ VALUES: string[];
160
+ };
161
+ };
162
+ BUTTON: {
163
+ RADIUS: {
164
+ KEY: string;
165
+ DEFAULT: string;
166
+ VALUES: {
167
+ label: string;
168
+ value: string;
169
+ }[];
170
+ };
171
+ };
172
+ BUY_BUTTON: {
173
+ LIGHT: {
174
+ COLOR: {
175
+ KEY: string;
176
+ DEFAULT: string;
177
+ };
178
+ };
179
+ DARK: {
180
+ COLOR: {
181
+ KEY: string;
182
+ DEFAULT: string;
183
+ };
184
+ };
185
+ };
186
+ FOOTER: {
187
+ LIGHT: {
188
+ COLOR: {
189
+ KEY: string;
190
+ DEFAULT: string;
191
+ };
192
+ LOGO_FILTER: {
193
+ KEY: string;
194
+ DEFAULT: string;
195
+ VALUES: string[];
196
+ };
197
+ };
198
+ DARK: {
199
+ COLOR: {
200
+ KEY: string;
201
+ DEFAULT: string;
202
+ };
203
+ LOGO_FILTER: {
204
+ KEY: string;
205
+ DEFAULT: string;
206
+ VALUES: string[];
207
+ };
208
+ };
209
+ };
210
+ HEADER: {
211
+ LIGHT: {
212
+ COLOR: {
213
+ KEY: string;
214
+ DEFAULT: string;
215
+ };
216
+ LOGO_FILTER: {
217
+ KEY: string;
218
+ DEFAULT: string;
219
+ VALUES: string[];
220
+ };
221
+ };
222
+ DARK: {
223
+ COLOR: {
224
+ KEY: string;
225
+ DEFAULT: string;
226
+ };
227
+ LOGO_FILTER: {
228
+ KEY: string;
229
+ DEFAULT: string;
230
+ VALUES: string[];
231
+ };
232
+ };
233
+ };
234
+ CART_BUTTON: {
235
+ LIGHT: {
236
+ COLOR: {
237
+ KEY: string;
238
+ DEFAULT: string;
239
+ };
240
+ };
241
+ DARK: {
242
+ COLOR: {
243
+ KEY: string;
244
+ DEFAULT: string;
245
+ };
246
+ };
247
+ };
248
+ COMBINAR_PAYMENT: {
249
+ KEY: string;
250
+ DEFAULT: string;
251
+ VALUES: string[];
252
+ };
253
+ COMBINAR_ENTREGA: {
254
+ KEY: string;
255
+ DEFAULT: string;
256
+ VALUES: string[];
257
+ };
258
+ };
259
+ /**
260
+ * Constante de configuração de referencia para elementos gerais (any)
261
+ */
262
+ declare const APPEARANCE_ELEMENTS: {
263
+ LOGO: {
264
+ URL: {
265
+ DESKTOP: {
266
+ KEY: string;
267
+ };
268
+ MOBILE: {
269
+ KEY: string;
270
+ };
271
+ };
272
+ TYPE: {
273
+ DESKTOP: {
274
+ KEY: string;
275
+ DEFAULT: string;
276
+ };
277
+ MOBILE: {
278
+ KEY: string;
279
+ DEFAULT: string;
280
+ };
281
+ };
282
+ DESCRIPTION: {
283
+ MOBILE: {
284
+ KEY: string;
285
+ };
286
+ DESKTOP: {
287
+ KEY: string;
288
+ };
289
+ };
290
+ };
291
+ };
292
+ export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_ELEMENTS };