mdz-enum 1.4.2 → 1.4.4

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 (38) hide show
  1. package/README.MD +1 -1
  2. package/dist/checkout/index.d.ts +28 -28
  3. package/dist/checkout/index.js +83 -83
  4. package/dist/commercial/index.d.ts +221 -221
  5. package/dist/commercial/index.js +532 -532
  6. package/dist/common/index.d.ts +42 -42
  7. package/dist/common/index.js +123 -123
  8. package/dist/config/index.d.ts +137 -137
  9. package/dist/config/index.js +392 -392
  10. package/dist/finance/index.d.ts +164 -164
  11. package/dist/finance/index.js +425 -425
  12. package/dist/fiscal/index.d.ts +460 -459
  13. package/dist/fiscal/index.js +1153 -1150
  14. package/dist/functions.d.ts +11 -11
  15. package/dist/functions.js +74 -74
  16. package/dist/general/index.d.ts +243 -237
  17. package/dist/general/index.js +449 -432
  18. package/dist/index.d.ts +14 -14
  19. package/dist/index.js +200 -199
  20. package/dist/integration/index.d.ts +19 -19
  21. package/dist/integration/index.js +57 -57
  22. package/dist/logistics/index.d.ts +119 -119
  23. package/dist/logistics/index.js +345 -345
  24. package/dist/marketplace/templates/components/index.d.ts +189 -189
  25. package/dist/marketplace/templates/components/index.js +201 -201
  26. package/dist/marketplace/templates/index.d.ts +248 -253
  27. package/dist/marketplace/templates/index.js +31 -31
  28. package/dist/marketplace/templates/pages/index.d.ts +89 -89
  29. package/dist/marketplace/templates/pages/index.js +216 -216
  30. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  31. package/dist/marketplace/templates/reference/index.js +18 -18
  32. package/dist/people/index.d.ts +35 -35
  33. package/dist/people/index.js +102 -102
  34. package/dist/platform/index.d.ts +177 -177
  35. package/dist/platform/index.js +514 -514
  36. package/dist/reports/index.d.ts +46 -46
  37. package/dist/reports/index.js +136 -136
  38. package/package.json +33 -32
@@ -1,89 +1,89 @@
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_FEATURED_CATEGORY: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
16
- KEY: string;
17
- DEFAULT: string;
18
- };
19
- HOME_PAGE_FEATURED_BRANDS: {
20
- KEY: string;
21
- DEFAULT: string;
22
- };
23
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
24
- KEY: string;
25
- DEFAULT: string;
26
- };
27
- BLOCKS: ({
28
- id: number;
29
- name: string;
30
- icon: {
31
- type: string;
32
- size: number;
33
- };
34
- enabled: boolean;
35
- immutable: boolean;
36
- badge: null;
37
- } | {
38
- id: number;
39
- name: string;
40
- icon: {
41
- type: string;
42
- size: number;
43
- };
44
- enabled: boolean;
45
- immutable: boolean;
46
- badge: {
47
- color: string;
48
- text: string;
49
- };
50
- })[];
51
- };
52
- /**
53
- * Referencia da aparencia na pagina de produto
54
- */
55
- declare const PRODUCT_PAGE: {
56
- ID: number;
57
- /**
58
- * Blocos disponiveis na pagina
59
- */
60
- ORDER: {
61
- KEY: string;
62
- DEFAULT: string;
63
- };
64
- BLOCKS: ({
65
- id: number;
66
- name: string;
67
- icon: {
68
- type: string;
69
- size: number;
70
- };
71
- enabled: boolean;
72
- immutable: 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
- badge: {
84
- color: string;
85
- text: string;
86
- };
87
- })[];
88
- };
89
- 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_FEATURED_CATEGORY: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ HOME_PAGE_FEATURED_CATEGORY_TITLE: {
16
+ KEY: string;
17
+ DEFAULT: string;
18
+ };
19
+ HOME_PAGE_FEATURED_BRANDS: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ };
23
+ HOME_PAGE_FEATURED_BRANDS_TITLE: {
24
+ KEY: string;
25
+ DEFAULT: string;
26
+ };
27
+ BLOCKS: ({
28
+ id: number;
29
+ name: string;
30
+ icon: {
31
+ type: string;
32
+ size: number;
33
+ };
34
+ enabled: boolean;
35
+ immutable: boolean;
36
+ badge: null;
37
+ } | {
38
+ id: number;
39
+ name: string;
40
+ icon: {
41
+ type: string;
42
+ size: number;
43
+ };
44
+ enabled: boolean;
45
+ immutable: boolean;
46
+ badge: {
47
+ color: string;
48
+ text: string;
49
+ };
50
+ })[];
51
+ };
52
+ /**
53
+ * Referencia da aparencia na pagina de produto
54
+ */
55
+ declare const PRODUCT_PAGE: {
56
+ ID: number;
57
+ /**
58
+ * Blocos disponiveis na pagina
59
+ */
60
+ ORDER: {
61
+ KEY: string;
62
+ DEFAULT: string;
63
+ };
64
+ BLOCKS: ({
65
+ id: number;
66
+ name: string;
67
+ icon: {
68
+ type: string;
69
+ size: number;
70
+ };
71
+ enabled: boolean;
72
+ immutable: 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
+ badge: {
84
+ color: string;
85
+ text: string;
86
+ };
87
+ })[];
88
+ };
89
+ export { HOME_PAGE, PRODUCT_PAGE };
@@ -1,216 +1,216 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PRODUCT_PAGE = exports.HOME_PAGE = void 0;
4
- const DEFAULT_ICON_SIZE = 32;
5
- /** Referencia da aparencia na pagina inicial */
6
- const HOME_PAGE = {
7
- ID: 1,
8
- /**
9
- * Blocos disponiveis na pagina
10
- */
11
- ORDER: {
12
- KEY: 'home_page_blocks',
13
- DEFAULT: '1,2,3,4,5,6,7,8,9',
14
- },
15
- HOME_PAGE_FEATURED_CATEGORY: {
16
- KEY: 'home_page_featured_categories',
17
- DEFAULT: ' ',
18
- },
19
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
20
- KEY: 'home_page_featured_categories_title',
21
- DEFAULT: ' ',
22
- },
23
- HOME_PAGE_FEATURED_BRANDS: {
24
- KEY: 'home_page_featured_brands',
25
- DEFAULT: ' ',
26
- },
27
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
28
- KEY: 'home_page_featured_brands_title',
29
- DEFAULT: ' ',
30
- },
31
- BLOCKS: [
32
- {
33
- id: 1,
34
- name: 'Banners principais',
35
- icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
36
- enabled: true,
37
- immutable: true,
38
- badge: null,
39
- },
40
- {
41
- id: 2,
42
- name: 'Categorias em destaque',
43
- icon: {
44
- type: 'Fatypes',
45
- size: DEFAULT_ICON_SIZE,
46
- },
47
- enabled: true,
48
- immutable: false,
49
- badge: null,
50
- },
51
- {
52
- id: 3,
53
- name: 'Produtos em promoção',
54
- icon: {
55
- type: 'FaBagShopping',
56
- size: DEFAULT_ICON_SIZE,
57
- },
58
- enabled: true,
59
- immutable: false,
60
- badge: null,
61
- },
62
- {
63
- id: 4,
64
- name: 'Últimos lançamentos',
65
- icon: {
66
- type: 'FaBagShopping',
67
- size: DEFAULT_ICON_SIZE,
68
- },
69
- enabled: true,
70
- immutable: false,
71
- badge: null,
72
- },
73
- {
74
- id: 5,
75
- name: 'Produtos mais vendidos',
76
- icon: {
77
- type: 'FaBagShopping',
78
- size: DEFAULT_ICON_SIZE,
79
- },
80
- enabled: false,
81
- immutable: false,
82
- badge: {
83
- color: 'info',
84
- text: 'Em breve',
85
- },
86
- },
87
- {
88
- id: 6,
89
- name: 'Produtos mais vistos',
90
- icon: {
91
- type: 'FaBagShopping',
92
- size: DEFAULT_ICON_SIZE,
93
- },
94
- enabled: false,
95
- immutable: false,
96
- badge: {
97
- color: 'info',
98
- text: 'Em breve',
99
- },
100
- },
101
- {
102
- id: 7,
103
- name: 'Produtos selecionados',
104
- icon: {
105
- type: 'FaBagShopping',
106
- size: DEFAULT_ICON_SIZE,
107
- },
108
- enabled: false,
109
- immutable: false,
110
- badge: {
111
- color: 'info',
112
- text: 'Em breve',
113
- },
114
- },
115
- {
116
- id: 8,
117
- name: 'Banners personalizados',
118
- icon: {
119
- type: 'FaImages',
120
- size: DEFAULT_ICON_SIZE,
121
- },
122
- enabled: false,
123
- immutable: false,
124
- badge: {
125
- color: 'info',
126
- text: 'Em breve',
127
- },
128
- },
129
- {
130
- id: 9,
131
- name: 'Compre por marca',
132
- icon: {
133
- type: 'Fatypes',
134
- size: DEFAULT_ICON_SIZE,
135
- },
136
- enabled: true,
137
- immutable: false,
138
- badge: null,
139
- },
140
- ],
141
- };
142
- exports.HOME_PAGE = HOME_PAGE;
143
- /**
144
- * Referencia da aparencia na pagina de produto
145
- */
146
- const PRODUCT_PAGE = {
147
- ID: 2,
148
- /**
149
- * Blocos disponiveis na pagina
150
- */
151
- ORDER: {
152
- KEY: 'product_page_blocks',
153
- DEFAULT: '1,2,3,4,5',
154
- },
155
- BLOCKS: [
156
- {
157
- id: 1,
158
- name: 'Detalhes do produto',
159
- icon: {
160
- type: 'FaTag',
161
- size: DEFAULT_ICON_SIZE,
162
- },
163
- enabled: true,
164
- immutable: true,
165
- badge: null,
166
- },
167
- {
168
- id: 2,
169
- name: 'Descrição do produto',
170
- icon: {
171
- type: 'Fatypes',
172
- size: DEFAULT_ICON_SIZE,
173
- },
174
- enabled: true,
175
- immutable: false,
176
- badge: null,
177
- },
178
- {
179
- id: 3,
180
- name: 'Garantia do produto',
181
- icon: {
182
- type: 'FaTimeline',
183
- size: DEFAULT_ICON_SIZE,
184
- },
185
- enabled: true,
186
- immutable: false,
187
- badge: null,
188
- },
189
- {
190
- id: 4,
191
- name: 'Produtos relacionados',
192
- icon: {
193
- type: 'FaBagShopping',
194
- size: DEFAULT_ICON_SIZE,
195
- },
196
- enabled: true,
197
- immutable: false,
198
- badge: null,
199
- },
200
- {
201
- id: 5,
202
- name: 'Banners personalizados',
203
- icon: {
204
- type: 'FaImages',
205
- size: DEFAULT_ICON_SIZE,
206
- },
207
- enabled: false,
208
- immutable: false,
209
- badge: {
210
- color: 'info',
211
- text: 'Em breve',
212
- },
213
- },
214
- ],
215
- };
216
- exports.PRODUCT_PAGE = PRODUCT_PAGE;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRODUCT_PAGE = exports.HOME_PAGE = void 0;
4
+ const DEFAULT_ICON_SIZE = 32;
5
+ /** Referencia da aparencia na pagina inicial */
6
+ const HOME_PAGE = {
7
+ ID: 1,
8
+ /**
9
+ * Blocos disponiveis na pagina
10
+ */
11
+ ORDER: {
12
+ KEY: 'home_page_blocks',
13
+ DEFAULT: '1,2,3,4,5,6,7,8,9',
14
+ },
15
+ HOME_PAGE_FEATURED_CATEGORY: {
16
+ KEY: 'home_page_featured_categories',
17
+ DEFAULT: '',
18
+ },
19
+ HOME_PAGE_FEATURED_CATEGORY_TITLE: {
20
+ KEY: 'home_page_featured_categories_title',
21
+ DEFAULT: '',
22
+ },
23
+ HOME_PAGE_FEATURED_BRANDS: {
24
+ KEY: 'home_page_featured_brands',
25
+ DEFAULT: '',
26
+ },
27
+ HOME_PAGE_FEATURED_BRANDS_TITLE: {
28
+ KEY: 'home_page_featured_brands_title',
29
+ DEFAULT: '',
30
+ },
31
+ BLOCKS: [
32
+ {
33
+ id: 1,
34
+ name: 'Banners principais',
35
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
36
+ enabled: true,
37
+ immutable: true,
38
+ badge: null,
39
+ },
40
+ {
41
+ id: 2,
42
+ name: 'Categorias em destaque',
43
+ icon: {
44
+ type: 'Fatypes',
45
+ size: DEFAULT_ICON_SIZE,
46
+ },
47
+ enabled: true,
48
+ immutable: false,
49
+ badge: null,
50
+ },
51
+ {
52
+ id: 3,
53
+ name: 'Produtos em promoção',
54
+ icon: {
55
+ type: 'FaBagShopping',
56
+ size: DEFAULT_ICON_SIZE,
57
+ },
58
+ enabled: true,
59
+ immutable: false,
60
+ badge: null,
61
+ },
62
+ {
63
+ id: 4,
64
+ name: 'Últimos lançamentos',
65
+ icon: {
66
+ type: 'FaBagShopping',
67
+ size: DEFAULT_ICON_SIZE,
68
+ },
69
+ enabled: true,
70
+ immutable: false,
71
+ badge: null,
72
+ },
73
+ {
74
+ id: 5,
75
+ name: 'Produtos mais vendidos',
76
+ icon: {
77
+ type: 'FaBagShopping',
78
+ size: DEFAULT_ICON_SIZE,
79
+ },
80
+ enabled: false,
81
+ immutable: false,
82
+ badge: {
83
+ color: 'info',
84
+ text: 'Em breve',
85
+ },
86
+ },
87
+ {
88
+ id: 6,
89
+ name: 'Produtos mais vistos',
90
+ icon: {
91
+ type: 'FaBagShopping',
92
+ size: DEFAULT_ICON_SIZE,
93
+ },
94
+ enabled: false,
95
+ immutable: false,
96
+ badge: {
97
+ color: 'info',
98
+ text: 'Em breve',
99
+ },
100
+ },
101
+ {
102
+ id: 7,
103
+ name: 'Produtos selecionados',
104
+ icon: {
105
+ type: 'FaBagShopping',
106
+ size: DEFAULT_ICON_SIZE,
107
+ },
108
+ enabled: false,
109
+ immutable: false,
110
+ badge: {
111
+ color: 'info',
112
+ text: 'Em breve',
113
+ },
114
+ },
115
+ {
116
+ id: 8,
117
+ name: 'Banners personalizados',
118
+ icon: {
119
+ type: 'FaImages',
120
+ size: DEFAULT_ICON_SIZE,
121
+ },
122
+ enabled: false,
123
+ immutable: false,
124
+ badge: {
125
+ color: 'info',
126
+ text: 'Em breve',
127
+ },
128
+ },
129
+ {
130
+ id: 9,
131
+ name: 'Compre por marca',
132
+ icon: {
133
+ type: 'Fatypes',
134
+ size: DEFAULT_ICON_SIZE,
135
+ },
136
+ enabled: true,
137
+ immutable: false,
138
+ badge: null,
139
+ },
140
+ ],
141
+ };
142
+ exports.HOME_PAGE = HOME_PAGE;
143
+ /**
144
+ * Referencia da aparencia na pagina de produto
145
+ */
146
+ const PRODUCT_PAGE = {
147
+ ID: 2,
148
+ /**
149
+ * Blocos disponiveis na pagina
150
+ */
151
+ ORDER: {
152
+ KEY: 'product_page_blocks',
153
+ DEFAULT: '1,2,3,4,5',
154
+ },
155
+ BLOCKS: [
156
+ {
157
+ id: 1,
158
+ name: 'Detalhes do produto',
159
+ icon: {
160
+ type: 'FaTag',
161
+ size: DEFAULT_ICON_SIZE,
162
+ },
163
+ enabled: true,
164
+ immutable: true,
165
+ badge: null,
166
+ },
167
+ {
168
+ id: 2,
169
+ name: 'Descrição do produto',
170
+ icon: {
171
+ type: 'Fatypes',
172
+ size: DEFAULT_ICON_SIZE,
173
+ },
174
+ enabled: true,
175
+ immutable: false,
176
+ badge: null,
177
+ },
178
+ {
179
+ id: 3,
180
+ name: 'Garantia do produto',
181
+ icon: {
182
+ type: 'FaTimeline',
183
+ size: DEFAULT_ICON_SIZE,
184
+ },
185
+ enabled: true,
186
+ immutable: false,
187
+ badge: null,
188
+ },
189
+ {
190
+ id: 4,
191
+ name: 'Produtos relacionados',
192
+ icon: {
193
+ type: 'FaBagShopping',
194
+ size: DEFAULT_ICON_SIZE,
195
+ },
196
+ enabled: true,
197
+ immutable: false,
198
+ badge: null,
199
+ },
200
+ {
201
+ id: 5,
202
+ name: 'Banners personalizados',
203
+ icon: {
204
+ type: 'FaImages',
205
+ size: DEFAULT_ICON_SIZE,
206
+ },
207
+ enabled: false,
208
+ immutable: false,
209
+ badge: {
210
+ color: 'info',
211
+ text: 'Em breve',
212
+ },
213
+ },
214
+ ],
215
+ };
216
+ exports.PRODUCT_PAGE = PRODUCT_PAGE;
@@ -1,16 +1,16 @@
1
- /**
2
- * Referencia de configuracao da aparencia
3
- */
4
- declare const APPEARANCE_REFERENCE: {
5
- /** Cor primaria */
6
- PRIMARY_COLOR: {
7
- KEY: string;
8
- DEFAULT: string;
9
- };
10
- /** Cor secundaria */
11
- SECONDARY_COLOR: {
12
- KEY: string;
13
- DEFAULT: string;
14
- };
15
- };
16
- export default APPEARANCE_REFERENCE;
1
+ /**
2
+ * Referencia de configuracao da aparencia
3
+ */
4
+ declare const APPEARANCE_REFERENCE: {
5
+ /** Cor primaria */
6
+ PRIMARY_COLOR: {
7
+ KEY: string;
8
+ DEFAULT: string;
9
+ };
10
+ /** Cor secundaria */
11
+ SECONDARY_COLOR: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ };
16
+ export default APPEARANCE_REFERENCE;
@@ -1,18 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Referencia de configuracao da aparencia
5
- */
6
- const APPEARANCE_REFERENCE = {
7
- /** Cor primaria */
8
- PRIMARY_COLOR: {
9
- KEY: 'color_primary',
10
- DEFAULT: '#624495',
11
- },
12
- /** Cor secundaria */
13
- SECONDARY_COLOR: {
14
- KEY: 'color_secondary',
15
- DEFAULT: '#000000',
16
- },
17
- };
18
- exports.default = APPEARANCE_REFERENCE;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Referencia de configuracao da aparencia
5
+ */
6
+ const APPEARANCE_REFERENCE = {
7
+ /** Cor primaria */
8
+ PRIMARY_COLOR: {
9
+ KEY: 'color_primary',
10
+ DEFAULT: '#624495',
11
+ },
12
+ /** Cor secundaria */
13
+ SECONDARY_COLOR: {
14
+ KEY: 'color_secondary',
15
+ DEFAULT: '#000000',
16
+ },
17
+ };
18
+ exports.default = APPEARANCE_REFERENCE;