@win2win/shared 1.0.110 → 1.0.112

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,6 +61,13 @@ export interface LayoutSectionSignature extends LayoutSection {
61
61
  type: LayoutSectionType.SIGNATURE;
62
62
  content: SignatureContent;
63
63
  }
64
+ export interface LayoutSectionRadioButtons extends LayoutSection {
65
+ type: LayoutSectionType.RADIO_BUTTONS;
66
+ content: LayoutSectionRadioButtons;
67
+ }
68
+ export interface LayoutSectionRadioButtons {
69
+ options?: any[];
70
+ }
64
71
  /**
65
72
  * value corresponde al valor de la firma cuando está en modo singable: true.
66
73
  */
@@ -86,9 +93,10 @@ export declare enum LayoutSectionType {
86
93
  TABLE = "table",
87
94
  CARDS_GRID = "cards-grid",
88
95
  IMAGE = "image",
89
- SIGNATURE = "signature"
96
+ SIGNATURE = "signature",
97
+ RADIO_BUTTONS = "radio_buttons"
90
98
  }
91
- export declare const LAYOUT_SECTION_TYPES: readonly [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE];
99
+ export declare const LAYOUT_SECTION_TYPES: readonly [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE, LayoutSectionType.RADIO_BUTTONS];
92
100
  export interface TableColumn {
93
101
  header: string;
94
102
  key: string;
@@ -14,5 +14,6 @@ var LayoutSectionType;
14
14
  LayoutSectionType["CARDS_GRID"] = "cards-grid";
15
15
  LayoutSectionType["IMAGE"] = "image";
16
16
  LayoutSectionType["SIGNATURE"] = "signature";
17
+ LayoutSectionType["RADIO_BUTTONS"] = "radio_buttons";
17
18
  })(LayoutSectionType || (exports.LayoutSectionType = LayoutSectionType = {}));
18
- exports.LAYOUT_SECTION_TYPES = [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE];
19
+ exports.LAYOUT_SECTION_TYPES = [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE, LayoutSectionType.RADIO_BUTTONS];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.110",
3
+ "version": "1.0.112",
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",
package/README.md DELETED
@@ -1,11 +0,0 @@
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
-