mdz-enum 1.4.7 → 1.4.9

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.
@@ -11,19 +11,22 @@ declare const APPEARANCE_PAGES: {
11
11
  */
12
12
  DEFAULT: string;
13
13
  };
14
- HOME_PAGE_FEATURED_CATEGORY: {
14
+ HOME_PAGE_CATEGORY: {
15
15
  KEY: string;
16
16
  DEFAULT: string;
17
17
  };
18
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
18
+ /**
19
+ * Constante de configuração de aparência dos componentes
20
+ */
21
+ HOME_PAGE_CATEGORY_TITLE: {
19
22
  KEY: string;
20
23
  DEFAULT: string;
21
24
  };
22
- HOME_PAGE_FEATURED_BRANDS: {
25
+ HOME_PAGE_BRANDS: {
23
26
  KEY: string;
24
27
  DEFAULT: string;
25
28
  };
26
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
29
+ HOME_PAGE_BRANDS_TITLE: {
27
30
  KEY: string;
28
31
  DEFAULT: string;
29
32
  };
@@ -56,6 +59,7 @@ declare const APPEARANCE_PAGES: {
56
59
  };
57
60
  enabled: boolean;
58
61
  immutable: boolean;
62
+ configurable: boolean;
59
63
  badge: null;
60
64
  } | {
61
65
  id: number;
@@ -66,6 +70,7 @@ declare const APPEARANCE_PAGES: {
66
70
  };
67
71
  enabled: boolean;
68
72
  immutable: boolean;
73
+ configurable: boolean;
69
74
  badge: {
70
75
  color: string;
71
76
  text: string;
@@ -8,19 +8,19 @@ declare const HOME_PAGE: {
8
8
  KEY: string;
9
9
  DEFAULT: string;
10
10
  };
11
- HOME_PAGE_FEATURED_CATEGORY: {
11
+ HOME_PAGE_CATEGORY: {
12
12
  KEY: string;
13
13
  DEFAULT: string;
14
14
  };
15
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
15
+ HOME_PAGE_CATEGORY_TITLE: {
16
16
  KEY: string;
17
17
  DEFAULT: string;
18
18
  };
19
- HOME_PAGE_FEATURED_BRANDS: {
19
+ HOME_PAGE_BRANDS: {
20
20
  KEY: string;
21
21
  DEFAULT: string;
22
22
  };
23
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
23
+ HOME_PAGE_BRANDS_TITLE: {
24
24
  KEY: string;
25
25
  DEFAULT: string;
26
26
  };
@@ -62,6 +62,7 @@ declare const HOME_PAGE: {
62
62
  };
63
63
  enabled: boolean;
64
64
  immutable: boolean;
65
+ configurable: boolean;
65
66
  badge: null;
66
67
  } | {
67
68
  id: number;
@@ -72,6 +73,7 @@ declare const HOME_PAGE: {
72
73
  };
73
74
  enabled: boolean;
74
75
  immutable: boolean;
76
+ configurable: boolean;
75
77
  badge: {
76
78
  color: string;
77
79
  text: string;
@@ -12,20 +12,20 @@ const HOME_PAGE = {
12
12
  KEY: 'home_page_blocks',
13
13
  DEFAULT: '1,2,3,4,5,6,7,8,9',
14
14
  },
15
- HOME_PAGE_FEATURED_CATEGORY: {
16
- KEY: 'home_page_featured_categories',
15
+ HOME_PAGE_CATEGORY: {
16
+ KEY: 'home_page_categories',
17
17
  DEFAULT: '',
18
18
  },
19
- HOME_PAGE_FEATURED_CATEGORY_TITLE: {
20
- KEY: 'home_page_featured_categories_title',
19
+ HOME_PAGE_CATEGORY_TITLE: {
20
+ KEY: 'home_page_categories_title',
21
21
  DEFAULT: '',
22
22
  },
23
- HOME_PAGE_FEATURED_BRANDS: {
24
- KEY: 'home_page_featured_brands',
23
+ HOME_PAGE_BRANDS: {
24
+ KEY: 'home_page_brands',
25
25
  DEFAULT: '',
26
26
  },
27
- HOME_PAGE_FEATURED_BRANDS_TITLE: {
28
- KEY: 'home_page_featured_brands_title',
27
+ HOME_PAGE_BRANDS_TITLE: {
28
+ KEY: 'home_page_brands_title',
29
29
  DEFAULT: '',
30
30
  },
31
31
  /**
@@ -64,6 +64,7 @@ const HOME_PAGE = {
64
64
  icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
65
65
  enabled: true,
66
66
  immutable: true,
67
+ configurable: true,
67
68
  badge: null,
68
69
  },
69
70
  {
@@ -75,7 +76,11 @@ const HOME_PAGE = {
75
76
  },
76
77
  enabled: true,
77
78
  immutable: false,
78
- badge: null,
79
+ configurable: true,
80
+ badge: {
81
+ color: 'success',
82
+ text: 'Novo',
83
+ },
79
84
  },
80
85
  {
81
86
  id: 3,
@@ -86,6 +91,7 @@ const HOME_PAGE = {
86
91
  },
87
92
  enabled: true,
88
93
  immutable: false,
94
+ configurable: false,
89
95
  badge: null,
90
96
  },
91
97
  {
@@ -97,6 +103,7 @@ const HOME_PAGE = {
97
103
  },
98
104
  enabled: true,
99
105
  immutable: false,
106
+ configurable: false,
100
107
  badge: null,
101
108
  },
102
109
  {
@@ -108,6 +115,7 @@ const HOME_PAGE = {
108
115
  },
109
116
  enabled: false,
110
117
  immutable: false,
118
+ configurable: false,
111
119
  badge: {
112
120
  color: 'info',
113
121
  text: 'Em breve',
@@ -122,6 +130,7 @@ const HOME_PAGE = {
122
130
  },
123
131
  enabled: false,
124
132
  immutable: false,
133
+ configurable: false,
125
134
  badge: {
126
135
  color: 'info',
127
136
  text: 'Em breve',
@@ -136,7 +145,11 @@ const HOME_PAGE = {
136
145
  },
137
146
  enabled: true,
138
147
  immutable: false,
139
- badge: null,
148
+ configurable: true,
149
+ badge: {
150
+ color: 'success',
151
+ text: 'Novo',
152
+ },
140
153
  },
141
154
  {
142
155
  id: 8,
@@ -147,6 +160,7 @@ const HOME_PAGE = {
147
160
  },
148
161
  enabled: false,
149
162
  immutable: false,
163
+ configurable: true,
150
164
  badge: {
151
165
  color: 'info',
152
166
  text: 'Em breve',
@@ -161,7 +175,11 @@ const HOME_PAGE = {
161
175
  },
162
176
  enabled: true,
163
177
  immutable: false,
164
- badge: null,
178
+ configurable: true,
179
+ badge: {
180
+ color: 'success',
181
+ text: 'Novo',
182
+ },
165
183
  },
166
184
  {
167
185
  id: 10,
@@ -172,7 +190,26 @@ const HOME_PAGE = {
172
190
  },
173
191
  enabled: true,
174
192
  immutable: false,
175
- badge: null,
193
+ configurable: true,
194
+ badge: {
195
+ color: 'success',
196
+ text: 'Novo',
197
+ },
198
+ },
199
+ {
200
+ id: 11,
201
+ name: 'Produtos em destaque',
202
+ icon: {
203
+ type: 'FaBagShopping',
204
+ size: DEFAULT_ICON_SIZE,
205
+ },
206
+ enabled: true,
207
+ immutable: false,
208
+ configurable: false,
209
+ badge: {
210
+ color: 'success',
211
+ text: 'Novo',
212
+ },
176
213
  },
177
214
  ],
178
215
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {