mdz-enum 1.7.14 → 1.7.16

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 (46) hide show
  1. package/README.MD +7 -7
  2. package/dist/checkout/index.d.ts +33 -33
  3. package/dist/checkout/index.js +97 -97
  4. package/dist/commercial/index.d.ts +255 -255
  5. package/dist/commercial/index.js +630 -630
  6. package/dist/common/index.d.ts +71 -71
  7. package/dist/common/index.js +205 -205
  8. package/dist/config/index.d.ts +218 -217
  9. package/dist/config/index.js +674 -669
  10. package/dist/eva/index.d.ts +164 -164
  11. package/dist/eva/index.js +233 -233
  12. package/dist/finance/index.d.ts +241 -241
  13. package/dist/finance/index.js +731 -731
  14. package/dist/fiscal/index.d.ts +612 -612
  15. package/dist/fiscal/index.js +1593 -1593
  16. package/dist/functions.d.ts +11 -11
  17. package/dist/functions.js +74 -74
  18. package/dist/general/index.d.ts +265 -265
  19. package/dist/general/index.js +512 -512
  20. package/dist/home/index.d.ts +88 -88
  21. package/dist/home/index.js +268 -268
  22. package/dist/index.d.ts +17 -17
  23. package/dist/index.js +312 -312
  24. package/dist/integration/index.d.ts +37 -37
  25. package/dist/integration/index.js +109 -109
  26. package/dist/logistics/index.d.ts +281 -281
  27. package/dist/logistics/index.js +807 -807
  28. package/dist/marketplace/templates/components/index.d.ts +352 -352
  29. package/dist/marketplace/templates/components/index.js +383 -383
  30. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  31. package/dist/marketplace/templates/elements/index.js +35 -35
  32. package/dist/marketplace/templates/index.d.ts +592 -589
  33. package/dist/marketplace/templates/index.js +49 -49
  34. package/dist/marketplace/templates/pages/index.d.ts +254 -254
  35. package/dist/marketplace/templates/pages/index.js +443 -443
  36. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  37. package/dist/marketplace/templates/reference/index.js +26 -26
  38. package/dist/people/index.d.ts +66 -66
  39. package/dist/people/index.js +192 -192
  40. package/dist/platform/index.d.ts +383 -383
  41. package/dist/platform/index.js +1190 -1190
  42. package/dist/reports/index.d.ts +108 -107
  43. package/dist/reports/index.js +316 -313
  44. package/dist/service/index.d.ts +28 -28
  45. package/dist/service/index.js +97 -97
  46. package/package.json +32 -32
@@ -1,49 +1,49 @@
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
- LOJA_ATACADISTA: components_1.LOJA_ATACADISTA,
35
- COM_GRADE: components_1.COM_GRADE,
36
- CHECKOUT: components_1.CHECKOUT,
37
- FORMATO_EXIBICAO: components_1.FORMATO_EXIBICAO,
38
- BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
39
- IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
40
- HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
41
- };
42
- exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
43
- /**
44
- * Constante de configuração de referencia para elementos gerais (any)
45
- */
46
- const APPEARANCE_ELEMENTS = {
47
- LOGO: elements_1.LOGO,
48
- };
49
- 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
+ LOJA_ATACADISTA: components_1.LOJA_ATACADISTA,
35
+ COM_GRADE: components_1.COM_GRADE,
36
+ CHECKOUT: components_1.CHECKOUT,
37
+ FORMATO_EXIBICAO: components_1.FORMATO_EXIBICAO,
38
+ BANNERS_ASPECT_RATIO: components_1.BANNERS_ASPECT_RATIO,
39
+ IMAGE_DISPLAY: components_1.IMAGE_DISPLAY,
40
+ HOME_PAGE_HIGHLIGHT: components_1.HOME_PAGE_HIGHLIGHT,
41
+ };
42
+ exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
43
+ /**
44
+ * Constante de configuração de referencia para elementos gerais (any)
45
+ */
46
+ const APPEARANCE_ELEMENTS = {
47
+ LOGO: elements_1.LOGO,
48
+ };
49
+ exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;
@@ -1,254 +1,254 @@
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
- HOME_PAGE_BANNERS_COLLECTION_COLUMNS: {
123
- KEY: string;
124
- DEFAULT: string;
125
- VALUES: string[];
126
- };
127
- HOME_PAGE_BANNERS_COLLECTION_SIZE: {
128
- KEY: string;
129
- DEFAULT: string;
130
- VALUES: string[];
131
- };
132
- HOME_PAGE_BANNERS_COLLECTION_SHAPE: {
133
- KEY: string;
134
- DEFAULT: string;
135
- VALUES: string[];
136
- };
137
- HOME_PAGE_BANNERS_COLLECTION_ORIENTATION: {
138
- KEY: string;
139
- DEFAULT: string;
140
- VALUES: string[];
141
- };
142
- BLOCK_IDS: {
143
- BANNERS: number;
144
- BANNERS_EXTRA_1: number;
145
- BANNERS_EXTRA_2: number;
146
- BANNERS_COLLECTION: number;
147
- CATEGORIES: number;
148
- PROMOTIONS: number;
149
- LATEST: number;
150
- BEST_SELLERS: number;
151
- MOST_VIEWED: number;
152
- SELECTED_PRODUCTS_ONE: number;
153
- SELECTED_BRANDS: number;
154
- SELECTED_PRODUCTS_TWO: number;
155
- FEATURED_PRODUCTS: number;
156
- };
157
- BLOCKS: ({
158
- id: number;
159
- name: string;
160
- icon: {
161
- type: string;
162
- size: number;
163
- };
164
- enabled: boolean;
165
- immutable: boolean;
166
- configurable: boolean;
167
- badge: null;
168
- } | {
169
- id: number;
170
- name: string;
171
- icon: {
172
- type: string;
173
- size: number;
174
- };
175
- enabled: boolean;
176
- immutable: boolean;
177
- configurable: boolean;
178
- badge: {
179
- color: string;
180
- text: string;
181
- };
182
- })[];
183
- };
184
- /**
185
- * Referencia da aparencia na pagina de produto
186
- */
187
- declare const PRODUCT_PAGE: {
188
- ID: number;
189
- /**
190
- * Blocos disponiveis na pagina
191
- */
192
- ORDER: {
193
- KEY: string;
194
- DEFAULT: string;
195
- };
196
- PRODUCT_PAGE_ATTRIBUTES_TITLE: {
197
- KEY: string;
198
- DEFAULT: string;
199
- };
200
- PRODUCT_PAGE_RELATED_TITLE: {
201
- KEY: string;
202
- DEFAULT: string;
203
- };
204
- PRODUCT_PAGE_DESCRIPTION_TITLE: {
205
- KEY: string;
206
- DEFAULT: string;
207
- };
208
- BLOCKS_IDS: {
209
- DETAILS: number;
210
- DESCRIPTION: number;
211
- WARRANTY: number;
212
- RELATED: number;
213
- BANNERS: number;
214
- ATTRIBUTES: number;
215
- };
216
- BLOCKS: ({
217
- id: number;
218
- name: string;
219
- icon: {
220
- type: string;
221
- size: number;
222
- };
223
- enabled: boolean;
224
- immutable: boolean;
225
- badge: null;
226
- configurable?: undefined;
227
- } | {
228
- id: number;
229
- name: string;
230
- icon: {
231
- type: string;
232
- size: number;
233
- };
234
- enabled: boolean;
235
- immutable: boolean;
236
- configurable: boolean;
237
- badge: null;
238
- } | {
239
- id: number;
240
- name: string;
241
- icon: {
242
- type: string;
243
- size: number;
244
- };
245
- enabled: boolean;
246
- immutable: boolean;
247
- configurable: boolean;
248
- badge: {
249
- color: string;
250
- text: string;
251
- };
252
- })[];
253
- };
254
- 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
+ HOME_PAGE_BANNERS_COLLECTION_COLUMNS: {
123
+ KEY: string;
124
+ DEFAULT: string;
125
+ VALUES: string[];
126
+ };
127
+ HOME_PAGE_BANNERS_COLLECTION_SIZE: {
128
+ KEY: string;
129
+ DEFAULT: string;
130
+ VALUES: string[];
131
+ };
132
+ HOME_PAGE_BANNERS_COLLECTION_SHAPE: {
133
+ KEY: string;
134
+ DEFAULT: string;
135
+ VALUES: string[];
136
+ };
137
+ HOME_PAGE_BANNERS_COLLECTION_ORIENTATION: {
138
+ KEY: string;
139
+ DEFAULT: string;
140
+ VALUES: string[];
141
+ };
142
+ BLOCK_IDS: {
143
+ BANNERS: number;
144
+ BANNERS_EXTRA_1: number;
145
+ BANNERS_EXTRA_2: number;
146
+ BANNERS_COLLECTION: number;
147
+ CATEGORIES: number;
148
+ PROMOTIONS: number;
149
+ LATEST: number;
150
+ BEST_SELLERS: number;
151
+ MOST_VIEWED: number;
152
+ SELECTED_PRODUCTS_ONE: number;
153
+ SELECTED_BRANDS: number;
154
+ SELECTED_PRODUCTS_TWO: number;
155
+ FEATURED_PRODUCTS: number;
156
+ };
157
+ BLOCKS: ({
158
+ id: number;
159
+ name: string;
160
+ icon: {
161
+ type: string;
162
+ size: number;
163
+ };
164
+ enabled: boolean;
165
+ immutable: boolean;
166
+ configurable: boolean;
167
+ badge: null;
168
+ } | {
169
+ id: number;
170
+ name: string;
171
+ icon: {
172
+ type: string;
173
+ size: number;
174
+ };
175
+ enabled: boolean;
176
+ immutable: boolean;
177
+ configurable: boolean;
178
+ badge: {
179
+ color: string;
180
+ text: string;
181
+ };
182
+ })[];
183
+ };
184
+ /**
185
+ * Referencia da aparencia na pagina de produto
186
+ */
187
+ declare const PRODUCT_PAGE: {
188
+ ID: number;
189
+ /**
190
+ * Blocos disponiveis na pagina
191
+ */
192
+ ORDER: {
193
+ KEY: string;
194
+ DEFAULT: string;
195
+ };
196
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
197
+ KEY: string;
198
+ DEFAULT: string;
199
+ };
200
+ PRODUCT_PAGE_RELATED_TITLE: {
201
+ KEY: string;
202
+ DEFAULT: string;
203
+ };
204
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
205
+ KEY: string;
206
+ DEFAULT: string;
207
+ };
208
+ BLOCKS_IDS: {
209
+ DETAILS: number;
210
+ DESCRIPTION: number;
211
+ WARRANTY: number;
212
+ RELATED: number;
213
+ BANNERS: number;
214
+ ATTRIBUTES: number;
215
+ };
216
+ BLOCKS: ({
217
+ id: number;
218
+ name: string;
219
+ icon: {
220
+ type: string;
221
+ size: number;
222
+ };
223
+ enabled: boolean;
224
+ immutable: boolean;
225
+ badge: null;
226
+ configurable?: undefined;
227
+ } | {
228
+ id: number;
229
+ name: string;
230
+ icon: {
231
+ type: string;
232
+ size: number;
233
+ };
234
+ enabled: boolean;
235
+ immutable: boolean;
236
+ configurable: boolean;
237
+ badge: null;
238
+ } | {
239
+ id: number;
240
+ name: string;
241
+ icon: {
242
+ type: string;
243
+ size: number;
244
+ };
245
+ enabled: boolean;
246
+ immutable: boolean;
247
+ configurable: boolean;
248
+ badge: {
249
+ color: string;
250
+ text: string;
251
+ };
252
+ })[];
253
+ };
254
+ export { HOME_PAGE, PRODUCT_PAGE };