mdz-enum 1.5.61 → 1.5.63

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.
@@ -25,5 +25,6 @@ export declare const TipoProcessamentoPlugFourMarket: {
25
25
  PedidoFaturar: number;
26
26
  PedidoEnvio: number;
27
27
  PedidoEntregue: number;
28
- description(val: number): "enum not found" | "Cadastro Produto" | "Atualização Estoque" | "Pedido Liberar";
28
+ PedidoCancelar: number;
29
+ description(val: number): "enum not found" | "Cadastro Produto" | "Atualização Estoque" | "Pedido Liberar" | "Pedido Faturar" | "Pedido Enviar" | "Pedido Entregue" | "Pedido Cancelar";
29
30
  };
@@ -65,6 +65,7 @@ exports.TipoProcessamentoPlugFourMarket = {
65
65
  PedidoFaturar: 5,
66
66
  PedidoEnvio: 6,
67
67
  PedidoEntregue: 7,
68
+ PedidoCancelar: 8,
68
69
  description(val) {
69
70
  switch (val) {
70
71
  case this.CadastroProduto:
@@ -74,11 +75,13 @@ exports.TipoProcessamentoPlugFourMarket = {
74
75
  case this.PedidoLiberar:
75
76
  return 'Pedido Liberar';
76
77
  case this.PedidoFaturar:
77
- return 'Pedido Liberar';
78
+ return 'Pedido Faturar';
78
79
  case this.PedidoEnvio:
79
- return 'Pedido Liberar';
80
+ return 'Pedido Enviar';
80
81
  case this.PedidoEntregue:
81
- return 'Pedido Liberar';
82
+ return 'Pedido Entregue';
83
+ case this.PedidoCancelar:
84
+ return 'Pedido Cancelar';
82
85
  default:
83
86
  return 'enum not found';
84
87
  }
@@ -163,10 +163,7 @@ declare const PRODUCT_CARD: {
163
163
  BORDER: {
164
164
  KEY: string;
165
165
  DEFAULT: string;
166
- VALUES: {
167
- label: string;
168
- value: string;
169
- }[];
166
+ VALUES: string[];
170
167
  };
171
168
  };
172
169
  /**
@@ -173,11 +173,8 @@ const PRODUCT_CARD = {
173
173
  /** Bordas */
174
174
  BORDER: {
175
175
  KEY: 'component_product_card_border',
176
- DEFAULT: '0',
177
- VALUES: [
178
- { label: 'Com borda', value: '0' },
179
- { label: 'Sem borda', value: '1' },
180
- ],
176
+ DEFAULT: 'true',
177
+ VALUES: ['true', 'false'],
181
178
  },
182
179
  };
183
180
  exports.PRODUCT_CARD = PRODUCT_CARD;
@@ -161,10 +161,7 @@ declare const APPEARANCE_COMPONENTS: {
161
161
  BORDER: {
162
162
  KEY: string;
163
163
  DEFAULT: string;
164
- VALUES: {
165
- label: string;
166
- value: string;
167
- }[];
164
+ VALUES: string[];
168
165
  };
169
166
  };
170
167
  BUTTON: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.5.61",
3
+ "version": "1.5.63",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {