mdz-enum 1.5.21 → 1.5.22
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.
- package/README.MD +7 -7
- package/dist/checkout/index.d.ts +28 -28
- package/dist/checkout/index.js +83 -83
- package/dist/commercial/index.d.ts +227 -227
- package/dist/commercial/index.js +549 -549
- package/dist/common/index.d.ts +47 -47
- package/dist/common/index.js +137 -137
- package/dist/config/index.d.ts +166 -138
- package/dist/config/index.js +478 -395
- package/dist/finance/index.d.ts +164 -164
- package/dist/finance/index.js +425 -425
- package/dist/fiscal/index.d.ts +468 -468
- package/dist/fiscal/index.js +1165 -1165
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +257 -257
- package/dist/general/index.js +489 -489
- package/dist/index.d.ts +14 -14
- package/dist/index.js +208 -208
- package/dist/integration/index.d.ts +19 -19
- package/dist/integration/index.js +57 -57
- package/dist/logistics/index.d.ts +124 -124
- package/dist/logistics/index.js +359 -359
- package/dist/marketplace/templates/components/index.d.ts +158 -158
- package/dist/marketplace/templates/components/index.js +171 -171
- package/dist/marketplace/templates/elements/index.d.ts +32 -32
- package/dist/marketplace/templates/elements/index.js +35 -35
- package/dist/marketplace/templates/index.d.ts +292 -295
- package/dist/marketplace/templates/index.js +40 -40
- package/dist/marketplace/templates/pages/index.d.ts +140 -140
- package/dist/marketplace/templates/pages/index.js +310 -310
- package/dist/marketplace/templates/reference/index.d.ts +16 -16
- package/dist/marketplace/templates/reference/index.js +18 -18
- package/dist/people/index.d.ts +36 -36
- package/dist/people/index.js +105 -105
- package/dist/platform/index.d.ts +189 -189
- package/dist/platform/index.js +548 -548
- package/dist/reports/index.d.ts +49 -49
- package/dist/reports/index.js +145 -145
- package/package.json +33 -32
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Referencia de aparencia do rodape
|
|
3
|
-
*/
|
|
4
|
-
declare const FOOTER: {
|
|
5
|
-
/** Cor do rodape */
|
|
6
|
-
LIGHT: {
|
|
7
|
-
COLOR: {
|
|
8
|
-
KEY: string;
|
|
9
|
-
DEFAULT: string;
|
|
10
|
-
};
|
|
11
|
-
LOGO_FILTER: {
|
|
12
|
-
KEY: string;
|
|
13
|
-
DEFAULT: string;
|
|
14
|
-
VALUES: string[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
DARK: {
|
|
18
|
-
COLOR: {
|
|
19
|
-
KEY: string;
|
|
20
|
-
DEFAULT: string;
|
|
21
|
-
};
|
|
22
|
-
LOGO_FILTER: {
|
|
23
|
-
KEY: string;
|
|
24
|
-
DEFAULT: string;
|
|
25
|
-
VALUES: string[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Referencia de aparencia do cabeçalho
|
|
31
|
-
*/
|
|
32
|
-
declare const HEADER: {
|
|
33
|
-
/** Cor do cabeçalho */
|
|
34
|
-
LIGHT: {
|
|
35
|
-
COLOR: {
|
|
36
|
-
KEY: string;
|
|
37
|
-
DEFAULT: string;
|
|
38
|
-
};
|
|
39
|
-
LOGO_FILTER: {
|
|
40
|
-
KEY: string;
|
|
41
|
-
DEFAULT: string;
|
|
42
|
-
VALUES: string[];
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
DARK: {
|
|
46
|
-
COLOR: {
|
|
47
|
-
KEY: string;
|
|
48
|
-
DEFAULT: string;
|
|
49
|
-
};
|
|
50
|
-
LOGO_FILTER: {
|
|
51
|
-
KEY: string;
|
|
52
|
-
DEFAULT: string;
|
|
53
|
-
VALUES: string[];
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Rerefencia de aparencia dos botoes
|
|
59
|
-
*/
|
|
60
|
-
declare const BUTTON: {
|
|
61
|
-
/** Cor de fundo */
|
|
62
|
-
RADIUS: {
|
|
63
|
-
KEY: string;
|
|
64
|
-
DEFAULT: string;
|
|
65
|
-
VALUES: {
|
|
66
|
-
label: string;
|
|
67
|
-
value: string;
|
|
68
|
-
}[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Refencia da aparencia do cartao de produtos
|
|
73
|
-
*/
|
|
74
|
-
declare const PRODUCT_CARD: {
|
|
75
|
-
/** Arredondamento */
|
|
76
|
-
RADIUS: {
|
|
77
|
-
KEY: string;
|
|
78
|
-
DEFAULT: string;
|
|
79
|
-
VALUES: {
|
|
80
|
-
label: string;
|
|
81
|
-
value: string;
|
|
82
|
-
}[];
|
|
83
|
-
};
|
|
84
|
-
/** Sombra */
|
|
85
|
-
SHADOW: {
|
|
86
|
-
KEY: string;
|
|
87
|
-
DEFAULT: string;
|
|
88
|
-
VALUES: {
|
|
89
|
-
label: string;
|
|
90
|
-
value: string;
|
|
91
|
-
}[];
|
|
92
|
-
};
|
|
93
|
-
/** Proporcao */
|
|
94
|
-
PROPORTION: {
|
|
95
|
-
KEY: string;
|
|
96
|
-
DEFAULT: string;
|
|
97
|
-
VALUES: {
|
|
98
|
-
label: string;
|
|
99
|
-
value: string;
|
|
100
|
-
}[];
|
|
101
|
-
};
|
|
102
|
-
/** Mostrar botão */
|
|
103
|
-
SHOW_BUTTON: {
|
|
104
|
-
KEY: string;
|
|
105
|
-
DEFAULT: string;
|
|
106
|
-
VALUES: string[];
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Refencia da aparencia do botao de compra
|
|
111
|
-
*/
|
|
112
|
-
declare const BUY_BUTTON: {
|
|
113
|
-
/** Fundo botao */
|
|
114
|
-
LIGHT: {
|
|
115
|
-
COLOR: {
|
|
116
|
-
KEY: string;
|
|
117
|
-
DEFAULT: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
DARK: {
|
|
121
|
-
COLOR: {
|
|
122
|
-
KEY: string;
|
|
123
|
-
DEFAULT: string;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Referencia da aparencia do botao de adicionar ao carrinho
|
|
129
|
-
*/
|
|
130
|
-
declare const CART_BUTTON: {
|
|
131
|
-
/** Fundo botao */
|
|
132
|
-
LIGHT: {
|
|
133
|
-
COLOR: {
|
|
134
|
-
KEY: string;
|
|
135
|
-
DEFAULT: string;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
DARK: {
|
|
139
|
-
COLOR: {
|
|
140
|
-
KEY: string;
|
|
141
|
-
DEFAULT: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Referencia para modo de pagamento a combinar.
|
|
147
|
-
*/
|
|
148
|
-
declare const COMBINAR_PAYMENT: {
|
|
149
|
-
KEY: string;
|
|
150
|
-
DEFAULT: string;
|
|
151
|
-
VALUES: string[];
|
|
152
|
-
};
|
|
153
|
-
declare const COMBINAR_ENTREGA: {
|
|
154
|
-
KEY: string;
|
|
155
|
-
DEFAULT: string;
|
|
156
|
-
VALUES: string[];
|
|
157
|
-
};
|
|
158
|
-
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA };
|
|
1
|
+
/**
|
|
2
|
+
* Referencia de aparencia do rodape
|
|
3
|
+
*/
|
|
4
|
+
declare const FOOTER: {
|
|
5
|
+
/** Cor do rodape */
|
|
6
|
+
LIGHT: {
|
|
7
|
+
COLOR: {
|
|
8
|
+
KEY: string;
|
|
9
|
+
DEFAULT: string;
|
|
10
|
+
};
|
|
11
|
+
LOGO_FILTER: {
|
|
12
|
+
KEY: string;
|
|
13
|
+
DEFAULT: string;
|
|
14
|
+
VALUES: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
DARK: {
|
|
18
|
+
COLOR: {
|
|
19
|
+
KEY: string;
|
|
20
|
+
DEFAULT: string;
|
|
21
|
+
};
|
|
22
|
+
LOGO_FILTER: {
|
|
23
|
+
KEY: string;
|
|
24
|
+
DEFAULT: string;
|
|
25
|
+
VALUES: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Referencia de aparencia do cabeçalho
|
|
31
|
+
*/
|
|
32
|
+
declare const HEADER: {
|
|
33
|
+
/** Cor do cabeçalho */
|
|
34
|
+
LIGHT: {
|
|
35
|
+
COLOR: {
|
|
36
|
+
KEY: string;
|
|
37
|
+
DEFAULT: string;
|
|
38
|
+
};
|
|
39
|
+
LOGO_FILTER: {
|
|
40
|
+
KEY: string;
|
|
41
|
+
DEFAULT: string;
|
|
42
|
+
VALUES: string[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
DARK: {
|
|
46
|
+
COLOR: {
|
|
47
|
+
KEY: string;
|
|
48
|
+
DEFAULT: string;
|
|
49
|
+
};
|
|
50
|
+
LOGO_FILTER: {
|
|
51
|
+
KEY: string;
|
|
52
|
+
DEFAULT: string;
|
|
53
|
+
VALUES: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Rerefencia de aparencia dos botoes
|
|
59
|
+
*/
|
|
60
|
+
declare const BUTTON: {
|
|
61
|
+
/** Cor de fundo */
|
|
62
|
+
RADIUS: {
|
|
63
|
+
KEY: string;
|
|
64
|
+
DEFAULT: string;
|
|
65
|
+
VALUES: {
|
|
66
|
+
label: string;
|
|
67
|
+
value: string;
|
|
68
|
+
}[];
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Refencia da aparencia do cartao de produtos
|
|
73
|
+
*/
|
|
74
|
+
declare const PRODUCT_CARD: {
|
|
75
|
+
/** Arredondamento */
|
|
76
|
+
RADIUS: {
|
|
77
|
+
KEY: string;
|
|
78
|
+
DEFAULT: string;
|
|
79
|
+
VALUES: {
|
|
80
|
+
label: string;
|
|
81
|
+
value: string;
|
|
82
|
+
}[];
|
|
83
|
+
};
|
|
84
|
+
/** Sombra */
|
|
85
|
+
SHADOW: {
|
|
86
|
+
KEY: string;
|
|
87
|
+
DEFAULT: string;
|
|
88
|
+
VALUES: {
|
|
89
|
+
label: string;
|
|
90
|
+
value: string;
|
|
91
|
+
}[];
|
|
92
|
+
};
|
|
93
|
+
/** Proporcao */
|
|
94
|
+
PROPORTION: {
|
|
95
|
+
KEY: string;
|
|
96
|
+
DEFAULT: string;
|
|
97
|
+
VALUES: {
|
|
98
|
+
label: string;
|
|
99
|
+
value: string;
|
|
100
|
+
}[];
|
|
101
|
+
};
|
|
102
|
+
/** Mostrar botão */
|
|
103
|
+
SHOW_BUTTON: {
|
|
104
|
+
KEY: string;
|
|
105
|
+
DEFAULT: string;
|
|
106
|
+
VALUES: string[];
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Refencia da aparencia do botao de compra
|
|
111
|
+
*/
|
|
112
|
+
declare const BUY_BUTTON: {
|
|
113
|
+
/** Fundo botao */
|
|
114
|
+
LIGHT: {
|
|
115
|
+
COLOR: {
|
|
116
|
+
KEY: string;
|
|
117
|
+
DEFAULT: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
DARK: {
|
|
121
|
+
COLOR: {
|
|
122
|
+
KEY: string;
|
|
123
|
+
DEFAULT: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Referencia da aparencia do botao de adicionar ao carrinho
|
|
129
|
+
*/
|
|
130
|
+
declare const CART_BUTTON: {
|
|
131
|
+
/** Fundo botao */
|
|
132
|
+
LIGHT: {
|
|
133
|
+
COLOR: {
|
|
134
|
+
KEY: string;
|
|
135
|
+
DEFAULT: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
DARK: {
|
|
139
|
+
COLOR: {
|
|
140
|
+
KEY: string;
|
|
141
|
+
DEFAULT: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Referencia para modo de pagamento a combinar.
|
|
147
|
+
*/
|
|
148
|
+
declare const COMBINAR_PAYMENT: {
|
|
149
|
+
KEY: string;
|
|
150
|
+
DEFAULT: string;
|
|
151
|
+
VALUES: string[];
|
|
152
|
+
};
|
|
153
|
+
declare const COMBINAR_ENTREGA: {
|
|
154
|
+
KEY: string;
|
|
155
|
+
DEFAULT: string;
|
|
156
|
+
VALUES: string[];
|
|
157
|
+
};
|
|
158
|
+
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA };
|
|
@@ -1,171 +1,171 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = 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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
DARK: {
|
|
131
|
-
COLOR: {
|
|
132
|
-
KEY: 'component_buy_button_color_dark',
|
|
133
|
-
DEFAULT: '#8854D0',
|
|
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: '#8854D0',
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
DARK: {
|
|
150
|
-
COLOR: {
|
|
151
|
-
KEY: 'component_cart_button_color_dark',
|
|
152
|
-
DEFAULT: '#8854D0',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
};
|
|
156
|
-
exports.CART_BUTTON = CART_BUTTON;
|
|
157
|
-
/**
|
|
158
|
-
* Referencia para modo de pagamento a combinar.
|
|
159
|
-
*/
|
|
160
|
-
const COMBINAR_PAYMENT = {
|
|
161
|
-
KEY: 'combinar_payment_show',
|
|
162
|
-
DEFAULT: 'true',
|
|
163
|
-
VALUES: ['true', 'false'],
|
|
164
|
-
};
|
|
165
|
-
exports.COMBINAR_PAYMENT = COMBINAR_PAYMENT;
|
|
166
|
-
const COMBINAR_ENTREGA = {
|
|
167
|
-
KEY: 'combinar_entrega_show',
|
|
168
|
-
DEFAULT: 'true',
|
|
169
|
-
VALUES: ['true', 'false'],
|
|
170
|
-
};
|
|
171
|
-
exports.COMBINAR_ENTREGA = COMBINAR_ENTREGA;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = 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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
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: '#8854D0',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
DARK: {
|
|
131
|
+
COLOR: {
|
|
132
|
+
KEY: 'component_buy_button_color_dark',
|
|
133
|
+
DEFAULT: '#8854D0',
|
|
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: '#8854D0',
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
DARK: {
|
|
150
|
+
COLOR: {
|
|
151
|
+
KEY: 'component_cart_button_color_dark',
|
|
152
|
+
DEFAULT: '#8854D0',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
exports.CART_BUTTON = CART_BUTTON;
|
|
157
|
+
/**
|
|
158
|
+
* Referencia para modo de pagamento a combinar.
|
|
159
|
+
*/
|
|
160
|
+
const COMBINAR_PAYMENT = {
|
|
161
|
+
KEY: 'combinar_payment_show',
|
|
162
|
+
DEFAULT: 'true',
|
|
163
|
+
VALUES: ['true', 'false'],
|
|
164
|
+
};
|
|
165
|
+
exports.COMBINAR_PAYMENT = COMBINAR_PAYMENT;
|
|
166
|
+
const COMBINAR_ENTREGA = {
|
|
167
|
+
KEY: 'combinar_entrega_show',
|
|
168
|
+
DEFAULT: 'true',
|
|
169
|
+
VALUES: ['true', 'false'],
|
|
170
|
+
};
|
|
171
|
+
exports.COMBINAR_ENTREGA = COMBINAR_ENTREGA;
|