mdz-enum 1.4.6 → 1.4.8

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.
@@ -27,11 +27,23 @@ declare const APPEARANCE_PAGES: {
27
27
  KEY: string;
28
28
  DEFAULT: string;
29
29
  };
30
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS: {
30
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
31
31
  KEY: string;
32
32
  DEFAULT: string;
33
33
  };
34
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS_TITLE: {
34
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
35
+ KEY: string;
36
+ DEFAULT: string;
37
+ };
38
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
39
+ KEY: string;
40
+ DEFAULT: string;
41
+ };
42
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
43
+ KEY: string;
44
+ DEFAULT: string;
45
+ };
46
+ HOME_PAGE_FEATURED_PRODUCTS: {
35
47
  KEY: string;
36
48
  DEFAULT: string;
37
49
  };
@@ -44,6 +56,7 @@ declare const APPEARANCE_PAGES: {
44
56
  };
45
57
  enabled: boolean;
46
58
  immutable: boolean;
59
+ configurable: boolean;
47
60
  badge: null;
48
61
  } | {
49
62
  id: number;
@@ -54,6 +67,7 @@ declare const APPEARANCE_PAGES: {
54
67
  };
55
68
  enabled: boolean;
56
69
  immutable: boolean;
70
+ configurable: boolean;
57
71
  badge: {
58
72
  color: string;
59
73
  text: string;
@@ -24,11 +24,32 @@ declare const HOME_PAGE: {
24
24
  KEY: string;
25
25
  DEFAULT: string;
26
26
  };
27
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS: {
27
+ /**
28
+ * Produtos selecionados (1)
29
+ */
30
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
31
+ KEY: string;
32
+ DEFAULT: string;
33
+ };
34
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
28
35
  KEY: string;
29
36
  DEFAULT: string;
30
37
  };
31
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS_TITLE: {
38
+ /**
39
+ * Produtos selecionados (2)
40
+ */
41
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
42
+ KEY: string;
43
+ DEFAULT: string;
44
+ };
45
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
46
+ KEY: string;
47
+ DEFAULT: string;
48
+ };
49
+ /**
50
+ * Produtos em destaque
51
+ */
52
+ HOME_PAGE_FEATURED_PRODUCTS: {
32
53
  KEY: string;
33
54
  DEFAULT: string;
34
55
  };
@@ -41,6 +62,7 @@ declare const HOME_PAGE: {
41
62
  };
42
63
  enabled: boolean;
43
64
  immutable: boolean;
65
+ configurable: boolean;
44
66
  badge: null;
45
67
  } | {
46
68
  id: number;
@@ -51,6 +73,7 @@ declare const HOME_PAGE: {
51
73
  };
52
74
  enabled: boolean;
53
75
  immutable: boolean;
76
+ configurable: boolean;
54
77
  badge: {
55
78
  color: string;
56
79
  text: string;
@@ -28,12 +28,33 @@ const HOME_PAGE = {
28
28
  KEY: 'home_page_featured_brands_title',
29
29
  DEFAULT: '',
30
30
  },
31
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS: {
32
- KEY: 'home_page_featured_selected_products',
31
+ /**
32
+ * Produtos selecionados (1)
33
+ */
34
+ HOME_PAGE_SELECTED_PRODUCTS_ONE: {
35
+ KEY: 'home_page_selected_one_products',
36
+ DEFAULT: '',
37
+ },
38
+ HOME_PAGE_SELECTED_PRODUCTS_ONE_TITLE: {
39
+ KEY: 'home_page_selected_products_one_title',
33
40
  DEFAULT: '',
34
41
  },
35
- HOME_PAGE_FEATURED_SELECTED_PRODUCTS_TITLE: {
36
- KEY: 'home_page_featured_selected_products_title',
42
+ /**
43
+ * Produtos selecionados (2)
44
+ */
45
+ HOME_PAGE_SELECTED_PRODUCTS_TWO: {
46
+ KEY: 'home_page_selected_two_products',
47
+ DEFAULT: '',
48
+ },
49
+ HOME_PAGE_SELECTED_PRODUCTS_TWO_TITLE: {
50
+ KEY: 'home_page_selected_products_two_title',
51
+ DEFAULT: '',
52
+ },
53
+ /**
54
+ * Produtos em destaque
55
+ */
56
+ HOME_PAGE_FEATURED_PRODUCTS: {
57
+ KEY: 'home_page_featured_products',
37
58
  DEFAULT: '',
38
59
  },
39
60
  BLOCKS: [
@@ -43,18 +64,23 @@ const HOME_PAGE = {
43
64
  icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
44
65
  enabled: true,
45
66
  immutable: true,
67
+ configurable: true,
46
68
  badge: null,
47
69
  },
48
70
  {
49
71
  id: 2,
50
- name: 'Categorias em destaque',
72
+ name: 'Categorias selecionadas',
51
73
  icon: {
52
74
  type: 'Fatypes',
53
75
  size: DEFAULT_ICON_SIZE,
54
76
  },
55
77
  enabled: true,
56
78
  immutable: false,
57
- badge: null,
79
+ configurable: true,
80
+ badge: {
81
+ color: 'success',
82
+ text: 'Novo',
83
+ },
58
84
  },
59
85
  {
60
86
  id: 3,
@@ -65,6 +91,7 @@ const HOME_PAGE = {
65
91
  },
66
92
  enabled: true,
67
93
  immutable: false,
94
+ configurable: false,
68
95
  badge: null,
69
96
  },
70
97
  {
@@ -76,6 +103,7 @@ const HOME_PAGE = {
76
103
  },
77
104
  enabled: true,
78
105
  immutable: false,
106
+ configurable: false,
79
107
  badge: null,
80
108
  },
81
109
  {
@@ -87,6 +115,7 @@ const HOME_PAGE = {
87
115
  },
88
116
  enabled: false,
89
117
  immutable: false,
118
+ configurable: false,
90
119
  badge: {
91
120
  color: 'info',
92
121
  text: 'Em breve',
@@ -101,6 +130,7 @@ const HOME_PAGE = {
101
130
  },
102
131
  enabled: false,
103
132
  immutable: false,
133
+ configurable: false,
104
134
  badge: {
105
135
  color: 'info',
106
136
  text: 'Em breve',
@@ -108,14 +138,18 @@ const HOME_PAGE = {
108
138
  },
109
139
  {
110
140
  id: 7,
111
- name: 'Produtos selecionados',
141
+ name: 'Produtos selecionados (1)',
112
142
  icon: {
113
143
  type: 'FaBagShopping',
114
144
  size: DEFAULT_ICON_SIZE,
115
145
  },
116
146
  enabled: true,
117
147
  immutable: false,
118
- badge: null,
148
+ configurable: true,
149
+ badge: {
150
+ color: 'success',
151
+ text: 'Novo',
152
+ },
119
153
  },
120
154
  {
121
155
  id: 8,
@@ -126,6 +160,7 @@ const HOME_PAGE = {
126
160
  },
127
161
  enabled: false,
128
162
  immutable: false,
163
+ configurable: true,
129
164
  badge: {
130
165
  color: 'info',
131
166
  text: 'Em breve',
@@ -133,14 +168,48 @@ const HOME_PAGE = {
133
168
  },
134
169
  {
135
170
  id: 9,
136
- name: 'Compre por marca',
171
+ name: 'Marcas selecionadas',
137
172
  icon: {
138
173
  type: 'Fatypes',
139
174
  size: DEFAULT_ICON_SIZE,
140
175
  },
141
176
  enabled: true,
142
177
  immutable: false,
143
- badge: null,
178
+ configurable: true,
179
+ badge: {
180
+ color: 'success',
181
+ text: 'Novo',
182
+ },
183
+ },
184
+ {
185
+ id: 10,
186
+ name: 'Produtos selecionados (2)',
187
+ icon: {
188
+ type: 'FaBagShopping',
189
+ size: DEFAULT_ICON_SIZE,
190
+ },
191
+ enabled: true,
192
+ immutable: false,
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
+ },
144
213
  },
145
214
  ],
146
215
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {