@win2win/shared 1.0.207 → 1.0.209

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.
@@ -7,7 +7,7 @@ export declare const TEMPLATES: Readonly<{
7
7
  };
8
8
  readonly "feature-highlights": {
9
9
  readonly label: "Caracteristicas destacadas";
10
- readonly params: readonly ["items", "image", "background", "direction"];
10
+ readonly params: readonly ["items", "image", "background", "direction", "text-lines"];
11
11
  };
12
12
  readonly "telephone-contracting": {
13
13
  readonly label: "Contratación de telefonía";
@@ -15,11 +15,11 @@ export declare const TEMPLATES: Readonly<{
15
15
  };
16
16
  readonly features: {
17
17
  readonly label: "Tarjetas de funcionalidades";
18
- readonly params: readonly ["title", "text", "button", "items"];
18
+ readonly params: readonly ["title", "text", "button", "items", "text-lines"];
19
19
  };
20
20
  readonly "features-presentation": {
21
21
  readonly label: "Presentación de funcionalidades";
22
- readonly params: readonly ["title", "subtitle", "text", "background", "items", "image", "button"];
22
+ readonly params: readonly ["title", "subtitle", "text", "background", "items", "image", "button", "text-lines"];
23
23
  readonly variants: readonly ["default", "images", "hero", "parallel-images", "texts", "simple", "highlight-image", "secondary-highlight-image", "highlight-title", "texts-columns", "images-columns", "secondary-images-columns", "secondary-hero"];
24
24
  };
25
25
  readonly "product-hero-searcher": {
@@ -17,7 +17,7 @@ exports.TEMPLATES = Object.freeze({
17
17
  },
18
18
  "feature-highlights": {
19
19
  label: "Caracteristicas destacadas",
20
- params: ["items", "image", "background", "direction"],
20
+ params: ["items", "image", "background", "direction", "text-lines"],
21
21
  },
22
22
  "telephone-contracting": {
23
23
  label: "Contratación de telefonía",
@@ -25,7 +25,7 @@ exports.TEMPLATES = Object.freeze({
25
25
  },
26
26
  features: {
27
27
  label: "Tarjetas de funcionalidades",
28
- params: ["title", "text", "button", "items"],
28
+ params: ["title", "text", "button", "items", "text-lines"],
29
29
  },
30
30
  "features-presentation": {
31
31
  label: "Presentación de funcionalidades",
@@ -37,6 +37,7 @@ exports.TEMPLATES = Object.freeze({
37
37
  "items",
38
38
  "image",
39
39
  "button",
40
+ "text-lines",
40
41
  ],
41
42
  variants: [
42
43
  "default",
@@ -54,8 +54,12 @@ export declare const GAMA_PROP_CONTROL_TYPES: readonly [{
54
54
  readonly code: "collection";
55
55
  readonly icon: "o_description";
56
56
  readonly label: "Colección";
57
+ }, {
58
+ readonly code: "images";
59
+ readonly icon: "o_image";
60
+ readonly label: "Imágenes";
57
61
  }];
58
- export type GamaPropControlCode = (typeof GAMA_PROP_CONTROL_TYPES)[number]['code'];
62
+ export type GamaPropControlCode = (typeof GAMA_PROP_CONTROL_TYPES)[number]["code"];
59
63
  export declare enum ControlType {
60
64
  TEXT = "input_text",
61
65
  NUMBER = "input_number",
@@ -70,5 +74,6 @@ export declare enum ControlType {
70
74
  DYNAMIC_ARRAY = "dynamic_array",
71
75
  OBJECT = "object",
72
76
  KEYS_COUNTER = "keys_counter",
73
- COLLECTION = "collection"
77
+ COLLECTION = "collection",
78
+ IMAGES = "images"
74
79
  }
@@ -2,20 +2,21 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ControlType = exports.GAMA_PROP_CONTROL_TYPES = void 0;
4
4
  exports.GAMA_PROP_CONTROL_TYPES = [
5
- { code: 'input_text', icon: 'title', label: 'Texto' },
6
- { code: 'input_number', icon: 'o_looks_one', label: 'Número' },
7
- { code: 'datetime', icon: 'event', label: 'Fecha y hora' },
8
- { code: 'date', icon: 'calendar_today', label: 'Fecha' },
9
- { code: 'time', icon: 'schedule', label: 'Hora' },
10
- { code: 'switch', icon: 'toggle_on', label: 'Switch' },
11
- { code: 'checkbox', icon: 'o_check_box', label: 'Checkbox' },
12
- { code: 'select', icon: 'list', label: 'Selector simple' },
13
- { code: 'cards_select', icon: 'grid_view', label: 'Selector de tarjetas' },
14
- { code: 'location', icon: 'o_location_on', label: 'Ubicación' },
15
- { code: 'dynamic_array', icon: 'data_array', label: 'Colección dinámica' },
16
- { code: 'object', icon: 'data_object', label: 'Objeto' },
17
- { code: 'keys_counter', icon: 'plus_one', label: 'Contador de entradas' },
18
- { code: 'collection', icon: 'o_description', label: 'Colección' },
5
+ { code: "input_text", icon: "title", label: "Texto" },
6
+ { code: "input_number", icon: "o_looks_one", label: "Número" },
7
+ { code: "datetime", icon: "event", label: "Fecha y hora" },
8
+ { code: "date", icon: "calendar_today", label: "Fecha" },
9
+ { code: "time", icon: "schedule", label: "Hora" },
10
+ { code: "switch", icon: "toggle_on", label: "Switch" },
11
+ { code: "checkbox", icon: "o_check_box", label: "Checkbox" },
12
+ { code: "select", icon: "list", label: "Selector simple" },
13
+ { code: "cards_select", icon: "grid_view", label: "Selector de tarjetas" },
14
+ { code: "location", icon: "o_location_on", label: "Ubicación" },
15
+ { code: "dynamic_array", icon: "data_array", label: "Colección dinámica" },
16
+ { code: "object", icon: "data_object", label: "Objeto" },
17
+ { code: "keys_counter", icon: "plus_one", label: "Contador de entradas" },
18
+ { code: "collection", icon: "o_description", label: "Colección" },
19
+ { code: "images", icon: "o_image", label: "Imágenes" },
19
20
  ];
20
21
  var ControlType;
21
22
  (function (ControlType) {
@@ -33,4 +34,5 @@ var ControlType;
33
34
  ControlType["OBJECT"] = "object";
34
35
  ControlType["KEYS_COUNTER"] = "keys_counter";
35
36
  ControlType["COLLECTION"] = "collection";
37
+ ControlType["IMAGES"] = "images";
36
38
  })(ControlType || (exports.ControlType = ControlType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.207",
3
+ "version": "1.0.209",
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",