mdz-enum 1.5.5 → 1.5.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 (39) hide show
  1. package/dist/checkout/index.d.ts +28 -28
  2. package/dist/checkout/index.js +83 -83
  3. package/dist/commercial/index.d.ts +221 -221
  4. package/dist/commercial/index.js +532 -532
  5. package/dist/common/index.d.ts +47 -47
  6. package/dist/common/index.js +137 -137
  7. package/dist/config/index.d.ts +137 -137
  8. package/dist/config/index.js +392 -392
  9. package/dist/finance/index.d.ts +164 -164
  10. package/dist/finance/index.js +425 -425
  11. package/dist/fiscal/index.d.ts +462 -462
  12. package/dist/fiscal/index.js +1159 -1159
  13. package/dist/functions.d.ts +11 -11
  14. package/dist/functions.js +74 -74
  15. package/dist/general/index.d.ts +243 -243
  16. package/dist/general/index.js +449 -449
  17. package/dist/index.d.ts +14 -14
  18. package/dist/index.js +204 -203
  19. package/dist/integration/index.d.ts +19 -19
  20. package/dist/integration/index.js +57 -57
  21. package/dist/logistics/index.d.ts +124 -124
  22. package/dist/logistics/index.js +359 -359
  23. package/dist/marketplace/templates/components/index.d.ts +145 -189
  24. package/dist/marketplace/templates/components/index.js +156 -201
  25. package/dist/marketplace/templates/elements/index.d.ts +34 -0
  26. package/dist/marketplace/templates/elements/index.js +37 -0
  27. package/dist/marketplace/templates/index.d.ts +284 -275
  28. package/dist/marketplace/templates/index.js +38 -31
  29. package/dist/marketplace/templates/pages/index.d.ts +140 -120
  30. package/dist/marketplace/templates/pages/index.js +310 -290
  31. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  32. package/dist/marketplace/templates/reference/index.js +18 -18
  33. package/dist/people/index.d.ts +35 -35
  34. package/dist/people/index.js +102 -102
  35. package/dist/platform/index.d.ts +184 -184
  36. package/dist/platform/index.js +534 -534
  37. package/dist/reports/index.d.ts +46 -46
  38. package/dist/reports/index.js +136 -136
  39. package/package.json +1 -1
@@ -1,275 +1,284 @@
1
- import APPEARANCE_REFERENCE from './reference';
2
- /**
3
- * Constante de configuração de aparência das páginas
4
- */
5
- declare const APPEARANCE_PAGES: {
6
- HOME_PAGE: {
7
- ID: number;
8
- ORDER: {
9
- KEY: string; /**
10
- * Constante de configuração de aparência das páginas
11
- */
12
- DEFAULT: string;
13
- };
14
- HOME_PAGE_CATEGORY: {
15
- KEY: string;
16
- DEFAULT: string;
17
- };
18
- HOME_PAGE_CATEGORY_TITLE: {
19
- KEY: string;
20
- DEFAULT: string;
21
- };
22
- HOME_PAGE_BRANDS: {
23
- KEY: string;
24
- DEFAULT: string;
25
- };
26
- HOME_PAGE_BRANDS_TITLE: {
27
- KEY: string;
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
- BLOCKS: ({
51
- id: number;
52
- name: string;
53
- icon: {
54
- type: string;
55
- size: number;
56
- };
57
- enabled: boolean;
58
- immutable: boolean;
59
- configurable: boolean;
60
- badge: null;
61
- } | {
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: {
72
- color: string;
73
- text: string;
74
- };
75
- })[];
76
- };
77
- PRODUCT_PAGE: {
78
- ID: number;
79
- ORDER: {
80
- KEY: string;
81
- DEFAULT: string;
82
- };
83
- BLOCKS: ({
84
- id: number;
85
- name: string;
86
- icon: {
87
- type: string;
88
- size: number;
89
- };
90
- enabled: boolean;
91
- immutable: boolean;
92
- badge: null;
93
- } | {
94
- id: number;
95
- name: string;
96
- icon: {
97
- type: string;
98
- size: number;
99
- };
100
- enabled: boolean;
101
- immutable: boolean;
102
- badge: {
103
- color: string;
104
- text: string;
105
- };
106
- })[];
107
- };
108
- };
109
- /**
110
- * Constante de configuração de aparência dos componentes
111
- */
112
- declare const APPEARANCE_COMPONENTS: {
113
- PRODUCT_CARD: {
114
- RADIUS: {
115
- KEY: string;
116
- DEFAULT: string;
117
- VALUES: {
118
- label: string;
119
- value: string;
120
- }[];
121
- };
122
- SHADOW: {
123
- KEY: string;
124
- DEFAULT: string;
125
- VALUES: {
126
- label: string;
127
- value: string;
128
- }[];
129
- };
130
- PROPORTION: {
131
- KEY: string;
132
- DEFAULT: string;
133
- VALUES: {
134
- label: string;
135
- value: string;
136
- }[];
137
- };
138
- SHOW_BUTTON: {
139
- KEY: string;
140
- DEFAULT: string;
141
- VALUES: string[];
142
- };
143
- };
144
- BUTTON: {
145
- RADIUS: {
146
- KEY: string;
147
- DEFAULT: string;
148
- VALUES: {
149
- label: string;
150
- value: string;
151
- }[];
152
- };
153
- };
154
- BUY_BUTTON: {
155
- LIGHT: {
156
- COLOR: {
157
- KEY: string;
158
- DEFAULT: string;
159
- };
160
- };
161
- DARK: {
162
- COLOR: {
163
- KEY: string;
164
- DEFAULT: string;
165
- };
166
- };
167
- };
168
- LOGO: {
169
- URL: {
170
- DESKTOP: {
171
- KEY: string;
172
- };
173
- MOBILE: {
174
- KEY: string;
175
- };
176
- };
177
- FILTER: {
178
- HEADER: {
179
- KEY: string;
180
- DEFAULT: string;
181
- VALUES: string[];
182
- };
183
- FOOTER: {
184
- KEY: string;
185
- DEFAULT: string;
186
- VALUES: string[];
187
- };
188
- LOADING: {
189
- KEY: string;
190
- DEFAULT: string;
191
- VALUES: string[];
192
- };
193
- };
194
- TYPE: {
195
- DESKTOP: {
196
- KEY: string;
197
- DEFAULT: string;
198
- VALUES: string[];
199
- };
200
- MOBILE: {
201
- KEY: string;
202
- DEFAULT: string;
203
- VALUES: string[];
204
- };
205
- };
206
- SHAPE: {
207
- RECTANGLE: {
208
- TEXT: {
209
- DESKTOP: {
210
- KEY: string;
211
- };
212
- MOBILE: {
213
- KEY: string;
214
- };
215
- };
216
- };
217
- SQUARE: {
218
- TEXT: {
219
- DESKTOP: {
220
- KEY: string;
221
- };
222
- MOBILE: {
223
- KEY: string;
224
- };
225
- };
226
- };
227
- };
228
- };
229
- FOOTER: {
230
- LIGHT: {
231
- COLOR: {
232
- KEY: string;
233
- DEFAULT: string;
234
- };
235
- };
236
- /**
237
- * Constante de configuração de aparência das páginas
238
- */
239
- DARK: {
240
- COLOR: {
241
- KEY: string;
242
- DEFAULT: string;
243
- };
244
- };
245
- };
246
- HEADER: {
247
- LIGHT: {
248
- COLOR: {
249
- KEY: string;
250
- DEFAULT: string;
251
- };
252
- };
253
- DARK: {
254
- COLOR: {
255
- KEY: string;
256
- DEFAULT: string;
257
- };
258
- };
259
- };
260
- CART_BUTTON: {
261
- LIGHT: {
262
- COLOR: {
263
- KEY: string;
264
- DEFAULT: string;
265
- };
266
- };
267
- DARK: {
268
- COLOR: {
269
- KEY: string;
270
- DEFAULT: string;
271
- };
272
- };
273
- };
274
- };
275
- export { APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_REFERENCE };
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
+ };
249
+ /**
250
+ * Constante de configuração de referencia para elementos gerais (any)
251
+ */
252
+ declare const APPEARANCE_ELEMENTS: {
253
+ LOGO: {
254
+ URL: {
255
+ DESKTOP: {
256
+ KEY: string;
257
+ };
258
+ MOBILE: {
259
+ KEY: string;
260
+ };
261
+ };
262
+ TYPE: {
263
+ DESKTOP: {
264
+ KEY: string;
265
+ DEFAULT: string;
266
+ VALUES: string[];
267
+ };
268
+ MOBILE: {
269
+ KEY: string;
270
+ DEFAULT: string;
271
+ VALUES: string[];
272
+ };
273
+ };
274
+ DESCRIPTION: {
275
+ MOBILE: {
276
+ KEY: string;
277
+ };
278
+ DESKTOP: {
279
+ KEY: string;
280
+ };
281
+ };
282
+ };
283
+ };
284
+ export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_ELEMENTS };
@@ -1,31 +1,38 @@
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_REFERENCE = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = void 0;
7
- const pages_1 = require("./pages");
8
- const components_1 = require("./components");
9
- const reference_1 = __importDefault(require("./reference"));
10
- exports.APPEARANCE_REFERENCE = reference_1.default;
11
- /**
12
- * Constante de configuração de aparência das páginas
13
- */
14
- const APPEARANCE_PAGES = {
15
- HOME_PAGE: pages_1.HOME_PAGE,
16
- PRODUCT_PAGE: pages_1.PRODUCT_PAGE,
17
- };
18
- exports.APPEARANCE_PAGES = APPEARANCE_PAGES;
19
- /**
20
- * Constante de configuração de aparência dos componentes
21
- */
22
- const APPEARANCE_COMPONENTS = {
23
- PRODUCT_CARD: components_1.PRODUCT_CARD,
24
- BUTTON: components_1.BUTTON,
25
- BUY_BUTTON: components_1.BUY_BUTTON,
26
- LOGO: components_1.LOGO,
27
- FOOTER: components_1.FOOTER,
28
- HEADER: components_1.HEADER,
29
- CART_BUTTON: components_1.CART_BUTTON,
30
- };
31
- exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
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
+ };
31
+ exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
32
+ /**
33
+ * Constante de configuração de referencia para elementos gerais (any)
34
+ */
35
+ const APPEARANCE_ELEMENTS = {
36
+ LOGO: elements_1.LOGO,
37
+ };
38
+ exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;