mdz-enum 1.5.71 → 1.5.73

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.
@@ -61,15 +61,56 @@ declare const APPEARANCE_PAGES: {
61
61
  KEY: string;
62
62
  DEFAULT: string;
63
63
  };
64
+ HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
65
+ KEY: string;
66
+ DEFAULT: string;
67
+ VALUES: string[];
68
+ };
69
+ HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
70
+ KEY: string;
71
+ DEFAULT: string;
72
+ VALUES: string[];
73
+ };
74
+ HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
75
+ KEY: string;
76
+ DEFAULT: string;
77
+ VALUES: string[];
78
+ };
79
+ HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
80
+ KEY: string;
81
+ DEFAULT: string;
82
+ VALUES: string[];
83
+ };
84
+ HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
85
+ KEY: string;
86
+ DEFAULT: string;
87
+ VALUES: string[];
88
+ };
89
+ HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
90
+ KEY: string;
91
+ DEFAULT: string;
92
+ VALUES: string[];
93
+ };
94
+ HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
95
+ KEY: string;
96
+ DEFAULT: string;
97
+ VALUES: string[];
98
+ };
99
+ HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
100
+ KEY: string;
101
+ DEFAULT: string;
102
+ VALUES: string[];
103
+ };
64
104
  BLOCK_IDS: {
65
105
  BANNERS: number;
106
+ BANNERS_EXTRA_1: number;
107
+ BANNERS_EXTRA_2: number;
66
108
  CATEGORIES: number;
67
109
  PROMOTIONS: number;
68
110
  LATEST: number;
69
111
  BEST_SELLERS: number;
70
112
  MOST_VIEWED: number;
71
113
  SELECTED_PRODUCTS_ONE: number;
72
- CUSTOM_BANNERS: number;
73
114
  SELECTED_BRANDS: number;
74
115
  SELECTED_PRODUCTS_TWO: number;
75
116
  FEATURED_PRODUCTS: number;
@@ -69,15 +69,56 @@ declare const HOME_PAGE: {
69
69
  KEY: string;
70
70
  DEFAULT: string;
71
71
  };
72
+ HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
73
+ KEY: string;
74
+ DEFAULT: string;
75
+ VALUES: string[];
76
+ };
77
+ HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
78
+ KEY: string;
79
+ DEFAULT: string;
80
+ VALUES: string[];
81
+ };
82
+ HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
83
+ KEY: string;
84
+ DEFAULT: string;
85
+ VALUES: string[];
86
+ };
87
+ HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
88
+ KEY: string;
89
+ DEFAULT: string;
90
+ VALUES: string[];
91
+ };
92
+ HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
93
+ KEY: string;
94
+ DEFAULT: string;
95
+ VALUES: string[];
96
+ };
97
+ HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
98
+ KEY: string;
99
+ DEFAULT: string;
100
+ VALUES: string[];
101
+ };
102
+ HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
103
+ KEY: string;
104
+ DEFAULT: string;
105
+ VALUES: string[];
106
+ };
107
+ HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
108
+ KEY: string;
109
+ DEFAULT: string;
110
+ VALUES: string[];
111
+ };
72
112
  BLOCK_IDS: {
73
113
  BANNERS: number;
114
+ BANNERS_EXTRA_1: number;
115
+ BANNERS_EXTRA_2: number;
74
116
  CATEGORIES: number;
75
117
  PROMOTIONS: number;
76
118
  LATEST: number;
77
119
  BEST_SELLERS: number;
78
120
  MOST_VIEWED: number;
79
121
  SELECTED_PRODUCTS_ONE: number;
80
- CUSTOM_BANNERS: number;
81
122
  SELECTED_BRANDS: number;
82
123
  SELECTED_PRODUCTS_TWO: number;
83
124
  FEATURED_PRODUCTS: number;
@@ -73,15 +73,59 @@ const HOME_PAGE = {
73
73
  KEY: 'home_page_featured_products',
74
74
  DEFAULT: '',
75
75
  },
76
+ // ==== BANNERS EXTRAS (1) ====
77
+ HOME_PAGE_BANNERS_EXTRA_1_COLUMNS: {
78
+ KEY: 'home_page_banners_extra_1_columns',
79
+ DEFAULT: '3',
80
+ VALUES: ['1', '2', '3'],
81
+ },
82
+ HOME_PAGE_BANNERS_EXTRA_1_SIZE: {
83
+ KEY: 'home_page_banners_extra_1_size',
84
+ DEFAULT: 'medium',
85
+ VALUES: ['small', 'medium', 'large'],
86
+ },
87
+ HOME_PAGE_BANNERS_EXTRA_1_SHAPE: {
88
+ // cantos
89
+ KEY: 'home_page_banners_extra_1_shape',
90
+ DEFAULT: 'soft',
91
+ VALUES: ['square', 'soft', 'round'],
92
+ },
93
+ HOME_PAGE_BANNERS_EXTRA_1_ORIENTATION: {
94
+ KEY: 'home_page_banners_extra_1_orientation',
95
+ DEFAULT: 'horizontal',
96
+ VALUES: ['horizontal', 'vertical'],
97
+ },
98
+ // ==== BANNERS EXTRAS (2) ====
99
+ HOME_PAGE_BANNERS_EXTRA_2_COLUMNS: {
100
+ KEY: 'home_page_banners_extra_2_columns',
101
+ DEFAULT: '3',
102
+ VALUES: ['1', '2', '3'],
103
+ },
104
+ HOME_PAGE_BANNERS_EXTRA_2_SIZE: {
105
+ KEY: 'home_page_banners_extra_2_size',
106
+ DEFAULT: 'medium',
107
+ VALUES: ['small', 'medium', 'large'],
108
+ },
109
+ HOME_PAGE_BANNERS_EXTRA_2_SHAPE: {
110
+ KEY: 'home_page_banners_extra_2_shape',
111
+ DEFAULT: 'soft',
112
+ VALUES: ['square', 'soft', 'round'],
113
+ },
114
+ HOME_PAGE_BANNERS_EXTRA_2_ORIENTATION: {
115
+ KEY: 'home_page_banners_extra_2_orientation',
116
+ DEFAULT: 'horizontal',
117
+ VALUES: ['horizontal', 'vertical'],
118
+ },
76
119
  BLOCK_IDS: {
77
120
  BANNERS: 1,
121
+ BANNERS_EXTRA_1: 12,
122
+ BANNERS_EXTRA_2: 13,
78
123
  CATEGORIES: 2,
79
124
  PROMOTIONS: 3,
80
125
  LATEST: 4,
81
126
  BEST_SELLERS: 5,
82
127
  MOST_VIEWED: 6,
83
128
  SELECTED_PRODUCTS_ONE: 7,
84
- CUSTOM_BANNERS: 8,
85
129
  SELECTED_BRANDS: 9,
86
130
  SELECTED_PRODUCTS_TWO: 10,
87
131
  FEATURED_PRODUCTS: 11,
@@ -96,6 +140,24 @@ const HOME_PAGE = {
96
140
  configurable: true,
97
141
  badge: null,
98
142
  },
143
+ {
144
+ id: 12,
145
+ name: 'Banners extras (1)',
146
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
147
+ enabled: true,
148
+ immutable: false,
149
+ configurable: true,
150
+ badge: null,
151
+ },
152
+ {
153
+ id: 13,
154
+ name: 'Banners extras (2)',
155
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
156
+ enabled: true,
157
+ immutable: false,
158
+ configurable: true,
159
+ badge: null,
160
+ },
99
161
  {
100
162
  id: 2,
101
163
  name: 'Categorias selecionadas',
@@ -180,21 +242,6 @@ const HOME_PAGE = {
180
242
  text: 'Novo',
181
243
  },
182
244
  },
183
- {
184
- id: 8,
185
- name: 'Banners personalizados',
186
- icon: {
187
- type: 'FaImages',
188
- size: DEFAULT_ICON_SIZE,
189
- },
190
- enabled: false,
191
- immutable: false,
192
- configurable: true,
193
- badge: {
194
- color: 'info',
195
- text: 'Em breve',
196
- },
197
- },
198
245
  {
199
246
  id: 9,
200
247
  name: 'Marcas selecionadas',
@@ -18,7 +18,8 @@ export declare const AgrupamentoRelatorio: {
18
18
  Operacao: string;
19
19
  MeioPagamento: string;
20
20
  Fornecedor: string;
21
- description(val: string): "Vendedor" | "enum not found" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Fornecedor" | "Documento" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento";
21
+ OperadoraCartao: string;
22
+ description(val: string): "Vendedor" | "enum not found" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Fornecedor" | "Documento" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento" | "Operadora Cartão";
22
23
  };
23
24
  export declare const AgrupamentoRelatoriosProdutos: {
24
25
  Produto: string;
@@ -30,6 +30,7 @@ exports.AgrupamentoRelatorio = {
30
30
  Operacao: '12',
31
31
  MeioPagamento: '13',
32
32
  Fornecedor: '14',
33
+ OperadoraCartao: '15',
33
34
  description(val) {
34
35
  switch (val) {
35
36
  case this.Cliente:
@@ -60,6 +61,8 @@ exports.AgrupamentoRelatorio = {
60
61
  return 'Meio de Pagamento';
61
62
  case this.Fornecedor:
62
63
  return 'Fornecedor';
64
+ case this.OperadoraCartao:
65
+ return 'Operadora Cartão';
63
66
  default:
64
67
  return 'enum not found';
65
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.5.71",
3
+ "version": "1.5.73",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {