@resconet/jsbridge 16.1.1 → 17.0.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resconet/jsbridge",
3
- "version": "16.1.1",
3
+ "version": "17.0.0-beta.2",
4
4
  "main": "./src/JSBridge.js",
5
5
  "types": "./src/JSBridge.d.ts",
6
6
  "description": "Install npm JSBridge module",
package/src/JSBridge.d.ts CHANGED
@@ -1258,6 +1258,15 @@ declare module MobileCRM.Services {
1258
1258
  recordAudio(callback: (fileInfo: FileInfo) => void, errorCallback?: (error: string) => void, scope?: any);
1259
1259
  recordVideo(callback: (fileInfo: FileInfo) => void, errorCallback?: (error: string) => void, scope?: any);
1260
1260
  pasteFile(callback: (fileInfo: FileInfo) => void, errorCallback?: (error: string) => void, scope?: any);
1261
+ /**
1262
+ * @since 9.1
1263
+ * Prints the document defined by file path.
1264
+ * @param filePath A file path.
1265
+ * @param landscape True, to print the document in landscape. False, to print it in portrait
1266
+ * @param errorCallback The error callback which is called in case of error.
1267
+ * @param scope The scope for callbacks.
1268
+ */
1269
+ print(filePath: string, landscape: boolean, callback: (result: boolean) => void, scope?: any);
1261
1270
  resizeImage(filePath: string, maxWidth: number, maxHeight: number, callback: (result: boolean) => void, scope?: any);
1262
1271
  /**
1263
1272
  * @since 11.2
@@ -2343,6 +2352,8 @@ declare module MobileCRM.UI {
2343
2352
  value: any;
2344
2353
  /** Gets or sets the question item style name.*/
2345
2354
  style: string;
2355
+ /** Indicates whether the item is answered.*/
2356
+ isAnswered: boolean;
2346
2357
  /** Indicates whether the item is visible.*/
2347
2358
  isVisible: boolean;
2348
2359
  /** Indicates whether the item is enabled.*/
package/src/JSBridge.js CHANGED
@@ -4816,6 +4816,7 @@
4816
4816
  /// <field name="type" type="Number">Gets the value type of the question item.</field>
4817
4817
  /// <field name="value" type="Any">Gets current answer value. To change it, use trySetAnswer method.</field>
4818
4818
  /// <field name="style" type="String">Gets or sets the question item style name.</field>
4819
+ /// <field name="isAnswered" type="Boolean">Indicates whether the item is answered.</field>
4819
4820
  /// <field name="isVisible" type="Boolean">Indicates whether the item is visible.</field>
4820
4821
  /// <field name="isEnabled" type="Boolean">Indicates whether the item is enabled.</field>
4821
4822
  /// <field name="focus" type="Boolean">Set to true to focus the question item.</field>