@win2win/shared 1.0.109 → 1.0.111

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,9 +61,21 @@ 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
+ }
71
+ /**
72
+ * value corresponde al valor de la firma cuando está en modo singable: true.
73
+ */
64
74
  export interface SignatureContent {
65
75
  width?: string;
66
76
  height?: string;
77
+ signable?: boolean;
78
+ value?: string;
67
79
  }
68
80
  export interface ImageContent {
69
81
  src: string;
@@ -81,7 +93,8 @@ export declare enum LayoutSectionType {
81
93
  TABLE = "table",
82
94
  CARDS_GRID = "cards-grid",
83
95
  IMAGE = "image",
84
- SIGNATURE = "signature"
96
+ SIGNATURE = "signature",
97
+ RADIO_BUTTONS = "radio_buttons"
85
98
  }
86
99
  export declare const LAYOUT_SECTION_TYPES: readonly [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE];
87
100
  export interface TableColumn {
@@ -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
19
  exports.LAYOUT_SECTION_TYPES = [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE, LayoutSectionType.SIGNATURE];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
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
-