@win2win/shared 1.0.297 → 1.0.300

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 ADDED
@@ -0,0 +1,11 @@
1
+ # README #
2
+ version 1.0.1
3
+
4
+ ### Como hacer deploy del repo
5
+
6
+ * Correr el comando
7
+ `npm run deploy`
8
+
9
+ * [Enlace al repo](https://www.npmjs.com/package/@win2win/shared)
10
+
11
+
@@ -3,7 +3,8 @@ export declare enum TiposIncidencia {
3
3
  AUDIO_LLAMADAS = "audio_llamadas",
4
4
  DATOS_CONTACTO = "datos_contacto",
5
5
  FORMULARIO = "formulario",
6
- LOCALIZACION = "localizacion"
6
+ LOCALIZACION = "localizacion",
7
+ OTRO = "otro"
7
8
  }
8
9
  export declare const TIPOS_INCIDENCIA: readonly {
9
10
  label: string;
@@ -8,6 +8,7 @@ var TiposIncidencia;
8
8
  TiposIncidencia["DATOS_CONTACTO"] = "datos_contacto";
9
9
  TiposIncidencia["FORMULARIO"] = "formulario";
10
10
  TiposIncidencia["LOCALIZACION"] = "localizacion";
11
+ TiposIncidencia["OTRO"] = "otro";
11
12
  })(TiposIncidencia || (exports.TiposIncidencia = TiposIncidencia = {}));
12
13
  exports.TIPOS_INCIDENCIA = Object.freeze([
13
14
  { label: "Documentación", value: TiposIncidencia.DOCUMENTACION },
@@ -48,4 +49,5 @@ exports.DEFAULT_REASONS_INCIDENCIA = Object.freeze({
48
49
  "Coordenadas erróneas",
49
50
  "Otros",
50
51
  ],
52
+ [TiposIncidencia.OTRO]: ["Otros"],
51
53
  });
@@ -2,7 +2,8 @@ export declare enum EstadoProducto {
2
2
  DESHABILITADO = "0",
3
3
  INACTIVO = "1",
4
4
  ACTIVADO = "2",
5
- PUBLICO = "3"
5
+ PUBLICO = "3",
6
+ GENERANDO = "4"
6
7
  }
7
8
  export declare enum TipoProducto {
8
9
  ARTICULO = "1",
@@ -7,6 +7,7 @@ var EstadoProducto;
7
7
  EstadoProducto["INACTIVO"] = "1";
8
8
  EstadoProducto["ACTIVADO"] = "2";
9
9
  EstadoProducto["PUBLICO"] = "3";
10
+ EstadoProducto["GENERANDO"] = "4";
10
11
  })(EstadoProducto || (exports.EstadoProducto = EstadoProducto = {}));
11
12
  var TipoProducto;
12
13
  (function (TipoProducto) {
@@ -26,6 +26,10 @@ export declare const GAMA_PROP_CONTROL_TYPES: readonly [{
26
26
  readonly code: "checkbox";
27
27
  readonly icon: "o_check_box";
28
28
  readonly label: "Checkbox";
29
+ }, {
30
+ readonly code: "checkbox_with_dialog";
31
+ readonly icon: "o_check_box";
32
+ readonly label: "Checkbox con diálogo";
29
33
  }, {
30
34
  readonly code: "select";
31
35
  readonly icon: "list";
@@ -74,6 +78,7 @@ export declare enum ControlType {
74
78
  CHECKBOX = "checkbox",
75
79
  SELECT = "select",
76
80
  CARDS_SELECT = "cards_select",
81
+ CHECKBOX_WITH_DIALOG = "checkbox_with_dialog",
77
82
  LOCATION = "location",
78
83
  DYNAMIC_ARRAY = "dynamic_array",
79
84
  OBJECT = "object",
@@ -9,6 +9,7 @@ exports.GAMA_PROP_CONTROL_TYPES = [
9
9
  { code: "time", icon: "schedule", label: "Hora" },
10
10
  { code: "switch", icon: "toggle_on", label: "Switch" },
11
11
  { code: "checkbox", icon: "o_check_box", label: "Checkbox" },
12
+ { code: "checkbox_with_dialog", icon: "o_check_box", label: "Checkbox con diálogo" },
12
13
  { code: "select", icon: "list", label: "Selector simple" },
13
14
  { code: "cards_select", icon: "grid_view", label: "Selector de tarjetas" },
14
15
  { code: "location", icon: "o_location_on", label: "Ubicación" },
@@ -30,6 +31,7 @@ var ControlType;
30
31
  ControlType["CHECKBOX"] = "checkbox";
31
32
  ControlType["SELECT"] = "select";
32
33
  ControlType["CARDS_SELECT"] = "cards_select";
34
+ ControlType["CHECKBOX_WITH_DIALOG"] = "checkbox_with_dialog";
33
35
  ControlType["LOCATION"] = "location";
34
36
  ControlType["DYNAMIC_ARRAY"] = "dynamic_array";
35
37
  ControlType["OBJECT"] = "object";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.297",
3
+ "version": "1.0.300",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",