mdz-enum 1.6.17 → 1.6.19

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 +33 -33
  2. package/dist/checkout/index.js +97 -97
  3. package/dist/commercial/index.d.ts +237 -237
  4. package/dist/commercial/index.js +578 -578
  5. package/dist/common/index.d.ts +59 -59
  6. package/dist/common/index.js +171 -171
  7. package/dist/config/index.d.ts +181 -181
  8. package/dist/config/index.js +522 -522
  9. package/dist/finance/index.d.ts +177 -177
  10. package/dist/finance/index.js +462 -462
  11. package/dist/fiscal/index.d.ts +536 -536
  12. package/dist/fiscal/index.js +1356 -1356
  13. package/dist/functions.d.ts +11 -11
  14. package/dist/functions.js +74 -74
  15. package/dist/general/index.d.ts +265 -265
  16. package/dist/general/index.js +512 -512
  17. package/dist/index.d.ts +14 -14
  18. package/dist/index.js +232 -232
  19. package/dist/integration/index.d.ts +27 -27
  20. package/dist/integration/index.js +80 -80
  21. package/dist/logistics/index.d.ts +142 -142
  22. package/dist/logistics/index.js +410 -410
  23. package/dist/marketplace/templates/components/index.d.ts +290 -285
  24. package/dist/marketplace/templates/components/index.js +311 -305
  25. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  26. package/dist/marketplace/templates/elements/index.js +35 -35
  27. package/dist/marketplace/templates/index.d.ts +507 -502
  28. package/dist/marketplace/templates/index.js +46 -45
  29. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  30. package/dist/marketplace/templates/pages/index.js +413 -413
  31. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  32. package/dist/marketplace/templates/reference/index.js +26 -26
  33. package/dist/people/index.d.ts +50 -50
  34. package/dist/people/index.js +145 -145
  35. package/dist/platform/index.d.ts +205 -205
  36. package/dist/platform/index.js +594 -594
  37. package/dist/reports/index.d.ts +90 -90
  38. package/dist/reports/index.js +263 -263
  39. package/package.json +2 -3
@@ -1,45 +1,46 @@
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
- SUBMENU: components_1.SUBMENU,
30
- CART_BUTTON: components_1.CART_BUTTON,
31
- COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
32
- COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
33
- ENVIAR_PEDIDO_WPP: components_1.ENVIAR_PEDIDO_WPP,
34
- BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
35
- IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
36
- HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
37
- };
38
- exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
39
- /**
40
- * Constante de configuração de referencia para elementos gerais (any)
41
- */
42
- const APPEARANCE_ELEMENTS = {
43
- LOGO: elements_1.LOGO,
44
- };
45
- 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
+ SUBMENU: components_1.SUBMENU,
30
+ CART_BUTTON: components_1.CART_BUTTON,
31
+ COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
32
+ COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
33
+ ENVIAR_PEDIDO_WPP: components_1.ENVIAR_PEDIDO_WPP,
34
+ COM_GRADE: components_1.COM_GRADE,
35
+ BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
36
+ IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
37
+ HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
38
+ };
39
+ exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
40
+ /**
41
+ * Constante de configuração de referencia para elementos gerais (any)
42
+ */
43
+ const APPEARANCE_ELEMENTS = {
44
+ LOGO: elements_1.LOGO,
45
+ };
46
+ exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;
@@ -1,233 +1,233 @@
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_CATEGORY: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- HOME_PAGE_CATEGORY_TITLE: {
16
- KEY: string;
17
- DEFAULT: string;
18
- };
19
- HOME_PAGE_CATEGORY_SHAPE: {
20
- KEY: string;
21
- DEFAULT: string;
22
- };
23
- HOME_PAGE_CATEGORY_SIZE: {
24
- KEY: string;
25
- DEFAULT: string;
26
- };
27
- HOME_PAGE_CATEGORY_BORDER: {
28
- KEY: string;
29
- DEFAULT: string;
30
- VALUES: string[];
31
- };
32
- HOME_PAGE_BRANDS: {
33
- KEY: string;
34
- DEFAULT: string;
35
- };
36
- HOME_PAGE_BRANDS_TITLE: {
37
- KEY: string;
38
- DEFAULT: string;
39
- };
40
- HOME_PAGE_BRANDS_SHAPE: {
41
- KEY: string;
42
- DEFAULT: string;
43
- };
44
- HOME_PAGE_BRANDS_SIZE: {
45
- KEY: string;
46
- DEFAULT: string;
47
- };
48
- HOME_PAGE_BRANDS_BORDER: {
49
- KEY: string;
50
- DEFAULT: string;
51
- VALUES: string[];
52
- };
53
- /**
54
- * Produtos selecionados (1)
55
- */
56
- HOME_PAGE_SELECTED_PRODUCTS_ONE: {
57
- KEY: string;
58
- DEFAULT: string;
59
- };
60
- HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
61
- KEY: string;
62
- DEFAULT: string;
63
- };
64
- /**
65
- * Produtos selecionados (2)
66
- */
67
- HOME_PAGE_SELECTED_PRODUCTS_TWO: {
68
- KEY: string;
69
- DEFAULT: string;
70
- };
71
- HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
72
- KEY: string;
73
- DEFAULT: string;
74
- };
75
- /**
76
- * Produtos em destaque
77
- */
78
- HOME_PAGE_FEATURED_PRODUCTS: {
79
- KEY: string;
80
- DEFAULT: string;
81
- };
82
- HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
83
- KEY: string;
84
- DEFAULT: string;
85
- VALUES: string[];
86
- };
87
- HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
88
- KEY: string;
89
- DEFAULT: string;
90
- VALUES: string[];
91
- };
92
- HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
93
- KEY: string;
94
- DEFAULT: string;
95
- VALUES: string[];
96
- };
97
- HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
98
- KEY: string;
99
- DEFAULT: string;
100
- VALUES: string[];
101
- };
102
- HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
103
- KEY: string;
104
- DEFAULT: string;
105
- VALUES: string[];
106
- };
107
- HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
108
- KEY: string;
109
- DEFAULT: string;
110
- VALUES: string[];
111
- };
112
- HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
113
- KEY: string;
114
- DEFAULT: string;
115
- VALUES: string[];
116
- };
117
- HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
118
- KEY: string;
119
- DEFAULT: string;
120
- VALUES: string[];
121
- };
122
- BLOCK_IDS: {
123
- BANNERS: number;
124
- BANNERS_EXTRA_1: number;
125
- BANNERS_EXTRA_2: number;
126
- CATEGORIES: number;
127
- PROMOTIONS: number;
128
- LATEST: number;
129
- BEST_SELLERS: number;
130
- MOST_VIEWED: number;
131
- SELECTED_PRODUCTS_ONE: number;
132
- SELECTED_BRANDS: number;
133
- SELECTED_PRODUCTS_TWO: number;
134
- FEATURED_PRODUCTS: number;
135
- };
136
- BLOCKS: ({
137
- id: number;
138
- name: string;
139
- icon: {
140
- type: string;
141
- size: number;
142
- };
143
- enabled: boolean;
144
- immutable: boolean;
145
- configurable: boolean;
146
- badge: null;
147
- } | {
148
- id: number;
149
- name: string;
150
- icon: {
151
- type: string;
152
- size: number;
153
- };
154
- enabled: boolean;
155
- immutable: boolean;
156
- configurable: boolean;
157
- badge: {
158
- color: string;
159
- text: string;
160
- };
161
- })[];
162
- };
163
- /**
164
- * Referencia da aparencia na pagina de produto
165
- */
166
- declare const PRODUCT_PAGE: {
167
- ID: number;
168
- /**
169
- * Blocos disponiveis na pagina
170
- */
171
- ORDER: {
172
- KEY: string;
173
- DEFAULT: string;
174
- };
175
- PRODUCT_PAGE_ATTRIBUTES_TITLE: {
176
- KEY: string;
177
- DEFAULT: string;
178
- };
179
- PRODUCT_PAGE_RELATED_TITLE: {
180
- KEY: string;
181
- DEFAULT: string;
182
- };
183
- PRODUCT_PAGE_DESCRIPTION_TITLE: {
184
- KEY: string;
185
- DEFAULT: string;
186
- };
187
- BLOCKS_IDS: {
188
- DETAILS: number;
189
- DESCRIPTION: number;
190
- WARRANTY: number;
191
- RELATED: number;
192
- BANNERS: number;
193
- ATTRIBUTES: number;
194
- };
195
- BLOCKS: ({
196
- id: number;
197
- name: string;
198
- icon: {
199
- type: string;
200
- size: number;
201
- };
202
- enabled: boolean;
203
- immutable: boolean;
204
- badge: null;
205
- configurable?: undefined;
206
- } | {
207
- id: number;
208
- name: string;
209
- icon: {
210
- type: string;
211
- size: number;
212
- };
213
- enabled: boolean;
214
- immutable: boolean;
215
- configurable: boolean;
216
- badge: null;
217
- } | {
218
- id: number;
219
- name: string;
220
- icon: {
221
- type: string;
222
- size: number;
223
- };
224
- enabled: boolean;
225
- immutable: boolean;
226
- configurable: boolean;
227
- badge: {
228
- color: string;
229
- text: string;
230
- };
231
- })[];
232
- };
233
- 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_CATEGORY: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ HOME_PAGE_CATEGORY_TITLE: {
16
+ KEY: string;
17
+ DEFAULT: string;
18
+ };
19
+ HOME_PAGE_CATEGORY_SHAPE: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ };
23
+ HOME_PAGE_CATEGORY_SIZE: {
24
+ KEY: string;
25
+ DEFAULT: string;
26
+ };
27
+ HOME_PAGE_CATEGORY_BORDER: {
28
+ KEY: string;
29
+ DEFAULT: string;
30
+ VALUES: string[];
31
+ };
32
+ HOME_PAGE_BRANDS: {
33
+ KEY: string;
34
+ DEFAULT: string;
35
+ };
36
+ HOME_PAGE_BRANDS_TITLE: {
37
+ KEY: string;
38
+ DEFAULT: string;
39
+ };
40
+ HOME_PAGE_BRANDS_SHAPE: {
41
+ KEY: string;
42
+ DEFAULT: string;
43
+ };
44
+ HOME_PAGE_BRANDS_SIZE: {
45
+ KEY: string;
46
+ DEFAULT: string;
47
+ };
48
+ HOME_PAGE_BRANDS_BORDER: {
49
+ KEY: string;
50
+ DEFAULT: string;
51
+ VALUES: string[];
52
+ };
53
+ /**
54
+ * Produtos selecionados (1)
55
+ */
56
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
57
+ KEY: string;
58
+ DEFAULT: string;
59
+ };
60
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
61
+ KEY: string;
62
+ DEFAULT: string;
63
+ };
64
+ /**
65
+ * Produtos selecionados (2)
66
+ */
67
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
68
+ KEY: string;
69
+ DEFAULT: string;
70
+ };
71
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
72
+ KEY: string;
73
+ DEFAULT: string;
74
+ };
75
+ /**
76
+ * Produtos em destaque
77
+ */
78
+ HOME_PAGE_FEATURED_PRODUCTS: {
79
+ KEY: string;
80
+ DEFAULT: string;
81
+ };
82
+ HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
83
+ KEY: string;
84
+ DEFAULT: string;
85
+ VALUES: string[];
86
+ };
87
+ HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
88
+ KEY: string;
89
+ DEFAULT: string;
90
+ VALUES: string[];
91
+ };
92
+ HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
93
+ KEY: string;
94
+ DEFAULT: string;
95
+ VALUES: string[];
96
+ };
97
+ HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
98
+ KEY: string;
99
+ DEFAULT: string;
100
+ VALUES: string[];
101
+ };
102
+ HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
103
+ KEY: string;
104
+ DEFAULT: string;
105
+ VALUES: string[];
106
+ };
107
+ HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
108
+ KEY: string;
109
+ DEFAULT: string;
110
+ VALUES: string[];
111
+ };
112
+ HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
113
+ KEY: string;
114
+ DEFAULT: string;
115
+ VALUES: string[];
116
+ };
117
+ HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
118
+ KEY: string;
119
+ DEFAULT: string;
120
+ VALUES: string[];
121
+ };
122
+ BLOCK_IDS: {
123
+ BANNERS: number;
124
+ BANNERS_EXTRA_1: number;
125
+ BANNERS_EXTRA_2: number;
126
+ CATEGORIES: number;
127
+ PROMOTIONS: number;
128
+ LATEST: number;
129
+ BEST_SELLERS: number;
130
+ MOST_VIEWED: number;
131
+ SELECTED_PRODUCTS_ONE: number;
132
+ SELECTED_BRANDS: number;
133
+ SELECTED_PRODUCTS_TWO: number;
134
+ FEATURED_PRODUCTS: number;
135
+ };
136
+ BLOCKS: ({
137
+ id: number;
138
+ name: string;
139
+ icon: {
140
+ type: string;
141
+ size: number;
142
+ };
143
+ enabled: boolean;
144
+ immutable: boolean;
145
+ configurable: boolean;
146
+ badge: null;
147
+ } | {
148
+ id: number;
149
+ name: string;
150
+ icon: {
151
+ type: string;
152
+ size: number;
153
+ };
154
+ enabled: boolean;
155
+ immutable: boolean;
156
+ configurable: boolean;
157
+ badge: {
158
+ color: string;
159
+ text: string;
160
+ };
161
+ })[];
162
+ };
163
+ /**
164
+ * Referencia da aparencia na pagina de produto
165
+ */
166
+ declare const PRODUCT_PAGE: {
167
+ ID: number;
168
+ /**
169
+ * Blocos disponiveis na pagina
170
+ */
171
+ ORDER: {
172
+ KEY: string;
173
+ DEFAULT: string;
174
+ };
175
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
176
+ KEY: string;
177
+ DEFAULT: string;
178
+ };
179
+ PRODUCT_PAGE_RELATED_TITLE: {
180
+ KEY: string;
181
+ DEFAULT: string;
182
+ };
183
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
184
+ KEY: string;
185
+ DEFAULT: string;
186
+ };
187
+ BLOCKS_IDS: {
188
+ DETAILS: number;
189
+ DESCRIPTION: number;
190
+ WARRANTY: number;
191
+ RELATED: number;
192
+ BANNERS: number;
193
+ ATTRIBUTES: number;
194
+ };
195
+ BLOCKS: ({
196
+ id: number;
197
+ name: string;
198
+ icon: {
199
+ type: string;
200
+ size: number;
201
+ };
202
+ enabled: boolean;
203
+ immutable: boolean;
204
+ badge: null;
205
+ configurable?: undefined;
206
+ } | {
207
+ id: number;
208
+ name: string;
209
+ icon: {
210
+ type: string;
211
+ size: number;
212
+ };
213
+ enabled: boolean;
214
+ immutable: boolean;
215
+ configurable: boolean;
216
+ badge: null;
217
+ } | {
218
+ id: number;
219
+ name: string;
220
+ icon: {
221
+ type: string;
222
+ size: number;
223
+ };
224
+ enabled: boolean;
225
+ immutable: boolean;
226
+ configurable: boolean;
227
+ badge: {
228
+ color: string;
229
+ text: string;
230
+ };
231
+ })[];
232
+ };
233
+ export { HOME_PAGE, PRODUCT_PAGE };