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,201 +1,156 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CART_BUTTON = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.LOGO = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
4
- /**
5
- * Referencia de aparencia do rodape
6
- */
7
- const FOOTER = {
8
- /** Cor do rodape */
9
- LIGHT: {
10
- COLOR: {
11
- KEY: 'component_footer_light_color',
12
- DEFAULT: '#624495',
13
- },
14
- },
15
- DARK: {
16
- COLOR: {
17
- KEY: 'component_footer_dark_color',
18
- DEFAULT: '#624495',
19
- },
20
- },
21
- };
22
- exports.FOOTER = FOOTER;
23
- /**
24
- * Referencia de aparencia do cabeçalho
25
- */
26
- const HEADER = {
27
- /** Cor do cabeçalho */
28
- LIGHT: {
29
- COLOR: {
30
- KEY: 'component_header_light_color',
31
- DEFAULT: '#624495',
32
- },
33
- },
34
- DARK: {
35
- COLOR: {
36
- KEY: 'component_header_dark_color',
37
- DEFAULT: '#624495',
38
- },
39
- },
40
- };
41
- exports.HEADER = HEADER;
42
- /**
43
- * Rerefencia de aparencia dos botoes
44
- */
45
- const BUTTON = {
46
- /** Cor de fundo */
47
- RADIUS: {
48
- KEY: 'component_button_radius',
49
- DEFAULT: 'soft',
50
- VALUES: [
51
- { label: 'Suave', value: 'soft' },
52
- { label: 'Normal', value: 'normal' },
53
- { label: 'Quadrado', value: 'none' },
54
- ],
55
- },
56
- };
57
- exports.BUTTON = BUTTON;
58
- /**
59
- * Refencia da aparencia do cartao de produtos
60
- */
61
- const PRODUCT_CARD = {
62
- /** Arredondamento */
63
- RADIUS: {
64
- KEY: 'component_product_card_radius',
65
- DEFAULT: 'soft',
66
- VALUES: [
67
- { label: 'Suave', value: 'soft' },
68
- { label: 'Normal', value: 'normal' },
69
- { label: 'Quadrado', value: 'none' },
70
- ],
71
- },
72
- /** Sombra */
73
- SHADOW: {
74
- KEY: 'component_product_card_shadow',
75
- DEFAULT: 'soft',
76
- VALUES: [
77
- { label: 'Suave', value: 'soft' },
78
- { label: 'Normal', value: 'normal' },
79
- { label: 'Nenhuma', value: 'none' },
80
- ],
81
- },
82
- /** Proporcao */
83
- PROPORTION: {
84
- KEY: 'component_product_card_proportion',
85
- DEFAULT: '4/4',
86
- VALUES: [
87
- { label: '4/4', value: '4/4' },
88
- { label: '3/4', value: '3/4' },
89
- ],
90
- },
91
- /** Mostrar botão */
92
- SHOW_BUTTON: {
93
- KEY: 'component_product_card_show_button',
94
- DEFAULT: 'true',
95
- VALUES: ['true', 'false'],
96
- },
97
- };
98
- exports.PRODUCT_CARD = PRODUCT_CARD;
99
- /**
100
- * Refencia da aparencia do botao de compra
101
- */
102
- const BUY_BUTTON = {
103
- /** Fundo botao */
104
- LIGHT: {
105
- COLOR: {
106
- KEY: 'component_buy_button_color_light',
107
- DEFAULT: '#624495',
108
- },
109
- },
110
- DARK: {
111
- COLOR: {
112
- KEY: 'component_buy_button_color_dark',
113
- DEFAULT: '#624495',
114
- },
115
- },
116
- };
117
- exports.BUY_BUTTON = BUY_BUTTON;
118
- /**
119
- * Referencia da aparencia do botao de adicionar ao carrinho
120
- */
121
- const CART_BUTTON = {
122
- /** Fundo botao */
123
- LIGHT: {
124
- COLOR: {
125
- KEY: 'component_cart_button_color_light',
126
- DEFAULT: '#624495',
127
- },
128
- },
129
- DARK: {
130
- COLOR: {
131
- KEY: 'component_cart_button_color_dark',
132
- DEFAULT: '#624495',
133
- },
134
- },
135
- };
136
- exports.CART_BUTTON = CART_BUTTON;
137
- /**
138
- * Referencia da aparencia do logo
139
- */
140
- const LOGO = {
141
- URL: {
142
- DESKTOP: {
143
- KEY: 'logo_desktop',
144
- },
145
- MOBILE: {
146
- KEY: 'logo_mobile',
147
- },
148
- },
149
- FILTER: {
150
- HEADER: {
151
- KEY: 'logo_filter_header',
152
- DEFAULT: 'light',
153
- VALUES: ['light', 'dark', 'none'],
154
- },
155
- FOOTER: {
156
- KEY: 'logo_filter_footer',
157
- DEFAULT: 'dark',
158
- VALUES: ['light', 'dark', 'none'],
159
- },
160
- LOADING: {
161
- KEY: 'logo_filter_loading',
162
- DEFAULT: 'light',
163
- VALUES: ['light', 'dark', 'none'],
164
- },
165
- },
166
- TYPE: {
167
- DESKTOP: {
168
- KEY: 'logo_type_desktop',
169
- DEFAULT: 'rectangle',
170
- VALUES: ['rectangle', 'square'],
171
- },
172
- MOBILE: {
173
- KEY: 'logo_type_mobile',
174
- DEFAULT: 'rectangle',
175
- VALUES: ['rectangle', 'square'],
176
- },
177
- },
178
- SHAPE: {
179
- RECTANGLE: {
180
- TEXT: {
181
- DESKTOP: {
182
- KEY: 'logo_rectangle_text_desktop',
183
- },
184
- MOBILE: {
185
- KEY: 'logo_rectangle_text_mobile',
186
- },
187
- },
188
- },
189
- SQUARE: {
190
- TEXT: {
191
- DESKTOP: {
192
- KEY: 'logo_square_text_desktop',
193
- },
194
- MOBILE: {
195
- KEY: 'logo_square_text_mobile',
196
- },
197
- },
198
- },
199
- },
200
- };
201
- exports.LOGO = LOGO;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CART_BUTTON = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
4
+ /**
5
+ * Referencia de aparencia do rodape
6
+ */
7
+ const FOOTER = {
8
+ /** Cor do rodape */
9
+ LIGHT: {
10
+ COLOR: {
11
+ KEY: 'component_footer_light_color',
12
+ DEFAULT: '#624495',
13
+ },
14
+ LOGO_FILTER: {
15
+ KEY: 'component_footer_logo_light_filter',
16
+ DEFAULT: 'none',
17
+ VALUES: ['light', 'dark', 'none'],
18
+ },
19
+ },
20
+ DARK: {
21
+ COLOR: {
22
+ KEY: 'component_footer_dark_color',
23
+ DEFAULT: '#624495',
24
+ },
25
+ LOGO_FILTER: {
26
+ KEY: 'component_footer_logo_dark_filter',
27
+ DEFAULT: 'light',
28
+ VALUES: ['light', 'dark', 'none'],
29
+ },
30
+ },
31
+ };
32
+ exports.FOOTER = FOOTER;
33
+ /**
34
+ * Referencia de aparencia do cabeçalho
35
+ */
36
+ const HEADER = {
37
+ /** Cor do cabeçalho */
38
+ LIGHT: {
39
+ COLOR: {
40
+ KEY: 'component_header_light_color',
41
+ DEFAULT: '#624495',
42
+ },
43
+ LOGO_FILTER: {
44
+ KEY: 'component_header_logo_light_filter',
45
+ DEFAULT: 'light',
46
+ VALUES: ['light', 'dark', 'none'],
47
+ },
48
+ },
49
+ DARK: {
50
+ COLOR: {
51
+ KEY: 'component_header_dark_color',
52
+ DEFAULT: '#624495',
53
+ },
54
+ LOGO_FILTER: {
55
+ KEY: 'component_header_logo_dark_filter',
56
+ DEFAULT: 'light',
57
+ VALUES: ['light', 'dark', 'none'],
58
+ },
59
+ },
60
+ };
61
+ exports.HEADER = HEADER;
62
+ /**
63
+ * Rerefencia de aparencia dos botoes
64
+ */
65
+ const BUTTON = {
66
+ /** Cor de fundo */
67
+ RADIUS: {
68
+ KEY: 'component_button_radius',
69
+ DEFAULT: 'soft',
70
+ VALUES: [
71
+ { label: 'Suave', value: 'soft' },
72
+ { label: 'Normal', value: 'normal' },
73
+ { label: 'Quadrado', value: 'none' },
74
+ ],
75
+ },
76
+ };
77
+ exports.BUTTON = BUTTON;
78
+ /**
79
+ * Refencia da aparencia do cartao de produtos
80
+ */
81
+ const PRODUCT_CARD = {
82
+ /** Arredondamento */
83
+ RADIUS: {
84
+ KEY: 'component_product_card_radius',
85
+ DEFAULT: 'soft',
86
+ VALUES: [
87
+ { label: 'Suave', value: 'soft' },
88
+ { label: 'Normal', value: 'normal' },
89
+ { label: 'Quadrado', value: 'none' },
90
+ ],
91
+ },
92
+ /** Sombra */
93
+ SHADOW: {
94
+ KEY: 'component_product_card_shadow',
95
+ DEFAULT: 'soft',
96
+ VALUES: [
97
+ { label: 'Suave', value: 'soft' },
98
+ { label: 'Normal', value: 'normal' },
99
+ { label: 'Nenhuma', value: 'none' },
100
+ ],
101
+ },
102
+ /** Proporcao */
103
+ PROPORTION: {
104
+ KEY: 'component_product_card_proportion',
105
+ DEFAULT: '4/4',
106
+ VALUES: [
107
+ { label: '4/4', value: '4/4' },
108
+ { label: '3/4', value: '3/4' },
109
+ ],
110
+ },
111
+ /** Mostrar botão */
112
+ SHOW_BUTTON: {
113
+ KEY: 'component_product_card_show_button',
114
+ DEFAULT: 'true',
115
+ VALUES: ['true', 'false'],
116
+ },
117
+ };
118
+ exports.PRODUCT_CARD = PRODUCT_CARD;
119
+ /**
120
+ * Refencia da aparencia do botao de compra
121
+ */
122
+ const BUY_BUTTON = {
123
+ /** Fundo botao */
124
+ LIGHT: {
125
+ COLOR: {
126
+ KEY: 'component_buy_button_color_light',
127
+ DEFAULT: '#624495',
128
+ },
129
+ },
130
+ DARK: {
131
+ COLOR: {
132
+ KEY: 'component_buy_button_color_dark',
133
+ DEFAULT: '#624495',
134
+ },
135
+ },
136
+ };
137
+ exports.BUY_BUTTON = BUY_BUTTON;
138
+ /**
139
+ * Referencia da aparencia do botao de adicionar ao carrinho
140
+ */
141
+ const CART_BUTTON = {
142
+ /** Fundo botao */
143
+ LIGHT: {
144
+ COLOR: {
145
+ KEY: 'component_cart_button_color_light',
146
+ DEFAULT: '#624495',
147
+ },
148
+ },
149
+ DARK: {
150
+ COLOR: {
151
+ KEY: 'component_cart_button_color_dark',
152
+ DEFAULT: '#624495',
153
+ },
154
+ },
155
+ };
156
+ exports.CART_BUTTON = CART_BUTTON;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Referencia da aparencia do logo
3
+ */
4
+ declare const LOGO: {
5
+ URL: {
6
+ DESKTOP: {
7
+ KEY: string;
8
+ };
9
+ MOBILE: {
10
+ KEY: string;
11
+ };
12
+ };
13
+ TYPE: {
14
+ DESKTOP: {
15
+ KEY: string;
16
+ DEFAULT: string;
17
+ VALUES: string[];
18
+ };
19
+ MOBILE: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ VALUES: string[];
23
+ };
24
+ };
25
+ DESCRIPTION: {
26
+ MOBILE: {
27
+ KEY: string;
28
+ };
29
+ DESKTOP: {
30
+ KEY: string;
31
+ };
32
+ };
33
+ };
34
+ export { LOGO };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOGO = void 0;
4
+ /**
5
+ * Referencia da aparencia do logo
6
+ */
7
+ const LOGO = {
8
+ URL: {
9
+ DESKTOP: {
10
+ KEY: 'logo_desktop',
11
+ },
12
+ MOBILE: {
13
+ KEY: 'logo_mobile',
14
+ },
15
+ },
16
+ TYPE: {
17
+ DESKTOP: {
18
+ KEY: 'logo_type_desktop',
19
+ DEFAULT: 'rectangle',
20
+ VALUES: ['rectangle', 'square'],
21
+ },
22
+ MOBILE: {
23
+ KEY: 'logo_type_mobile',
24
+ DEFAULT: 'rectangle',
25
+ VALUES: ['rectangle', 'square'],
26
+ },
27
+ },
28
+ DESCRIPTION: {
29
+ MOBILE: {
30
+ KEY: 'logo_mobile_description',
31
+ },
32
+ DESKTOP: {
33
+ KEY: 'logo_desktop_description',
34
+ },
35
+ },
36
+ };
37
+ exports.LOGO = LOGO;