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,295 +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
- 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
- /**
287
- * Constante de configuração de aparência dos componentes (themes)
288
- */
289
- DESKTOP: {
290
- KEY: string;
291
- };
292
- };
293
- };
294
- };
295
- 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 };
@@ -1,40 +1,40 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.APPEARANCE_ELEMENTS = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = void 0;
7
- const reference_1 = __importDefault(require("./reference"));
8
- exports.APPEARANCE_REFERENCE = reference_1.default;
9
- const pages_1 = require("./pages");
10
- const components_1 = require("./components");
11
- const elements_1 = require("./elements");
12
- /**
13
- * Constante de configuração de aparência das páginas (blocks)
14
- */
15
- const APPEARANCE_PAGES = {
16
- HOME_PAGE: pages_1.HOME_PAGE,
17
- PRODUCT_PAGE: pages_1.PRODUCT_PAGE,
18
- };
19
- exports.APPEARANCE_PAGES = APPEARANCE_PAGES;
20
- /**
21
- * Constante de configuração de aparência dos componentes (themes)
22
- */
23
- const APPEARANCE_COMPONENTS = {
24
- PRODUCT_CARD: components_1.PRODUCT_CARD,
25
- BUTTON: components_1.BUTTON,
26
- BUY_BUTTON: components_1.BUY_BUTTON,
27
- FOOTER: components_1.FOOTER,
28
- HEADER: components_1.HEADER,
29
- CART_BUTTON: components_1.CART_BUTTON,
30
- COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
31
- COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
32
- };
33
- exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
34
- /**
35
- * Constante de configuração de referencia para elementos gerais (any)
36
- */
37
- const APPEARANCE_ELEMENTS = {
38
- LOGO: elements_1.LOGO,
39
- };
40
- exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.APPEARANCE_ELEMENTS = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = void 0;
7
+ const reference_1 = __importDefault(require("./reference"));
8
+ exports.APPEARANCE_REFERENCE = reference_1.default;
9
+ const pages_1 = require("./pages");
10
+ const components_1 = require("./components");
11
+ const elements_1 = require("./elements");
12
+ /**
13
+ * Constante de configuração de aparência das páginas (blocks)
14
+ */
15
+ const APPEARANCE_PAGES = {
16
+ HOME_PAGE: pages_1.HOME_PAGE,
17
+ PRODUCT_PAGE: pages_1.PRODUCT_PAGE,
18
+ };
19
+ exports.APPEARANCE_PAGES = APPEARANCE_PAGES;
20
+ /**
21
+ * Constante de configuração de aparência dos componentes (themes)
22
+ */
23
+ const APPEARANCE_COMPONENTS = {
24
+ PRODUCT_CARD: components_1.PRODUCT_CARD,
25
+ BUTTON: components_1.BUTTON,
26
+ BUY_BUTTON: components_1.BUY_BUTTON,
27
+ FOOTER: components_1.FOOTER,
28
+ HEADER: components_1.HEADER,
29
+ CART_BUTTON: components_1.CART_BUTTON,
30
+ COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
31
+ COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
32
+ };
33
+ exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
34
+ /**
35
+ * Constante de configuração de referencia para elementos gerais (any)
36
+ */
37
+ const APPEARANCE_ELEMENTS = {
38
+ LOGO: elements_1.LOGO,
39
+ };
40
+ exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;