tabris 3.9.0-dev.20221024 → 3.9.0-dev.20221025

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/boot.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabris.js 3.9.0-dev.20221024+0310
2
+ * Tabris.js 3.9.0-dev.20221025+0310
3
3
  *
4
4
  * Copyright (c) 2014, 2020 EclipseSource Inc.
5
5
  * All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabris",
3
- "version": "3.9.0-dev.20221024+0310",
3
+ "version": "3.9.0-dev.20221025+0310",
4
4
  "description": "Mobile apps with native UIs in JavaScript",
5
5
  "keywords": [
6
6
  "native",
package/tabris.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Tabris.js 3.9.0-dev.20221024+0310
1
+ // Type definitions for Tabris.js 3.9.0-dev.20221025+0310
2
2
  /// <reference path="globals.d.ts" />
3
3
 
4
4
  // General helper types
@@ -1294,6 +1294,11 @@ export class Camera extends NativeObject {
1294
1294
  */
1295
1295
  readonly position: 'front' | 'back' | 'external';
1296
1296
 
1297
+ /**
1298
+ * Whether to prioritize performance or quality when taking a picture.
1299
+ */
1300
+ priority: 'balanced' | 'performance' | 'quality';
1301
+
1297
1302
  /**
1298
1303
  * Fired when the [*active*](#active) property has changed.
1299
1304
  */
@@ -1308,6 +1313,11 @@ export class Camera extends NativeObject {
1308
1313
  * Fired when the [*captureResolution*](#captureResolution) property has changed.
1309
1314
  */
1310
1315
  onCaptureResolutionChanged: ChangeListeners<this, 'captureResolution'>;
1316
+
1317
+ /**
1318
+ * Fired when the [*priority*](#priority) property has changed.
1319
+ */
1320
+ onPriorityChanged: ChangeListeners<this, 'priority'>;
1311
1321
  }
1312
1322
 
1313
1323
 
package/tabris.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabris.js 3.9.0-dev.20221024+0310
2
+ * Tabris.js 3.9.0-dev.20221025+0310
3
3
  *
4
4
  * Copyright (c) 2014, 2020 EclipseSource Inc.
5
5
  * All rights reserved.
@@ -1078,8 +1078,8 @@ function equals$1(a, b) {
1078
1078
 
1079
1079
  const androidStackLineRegex = /^ +at +(.+) +\((.*):([0-9]+):([0-9]+)\)/;
1080
1080
  const androidStackLineNoNameRegex = /^ +at +(.*):([0-9]+):([0-9]+)/;
1081
- const iosStackLineRegex = /^(.+)@(.*):([0-9]+):([0-9]+)/;
1082
- const iosStackLineNoNameRegex = /(.*):([0-9]+):([0-9]+)/;
1081
+ const iosStackLineRegex = /^(.*)@(.*):([0-9]+):([0-9]+)/;
1082
+ const iosStackLineNoNameRegex = /@(.*):([0-9]+):([0-9]+)/;
1083
1083
  const urlBaseRegEx = /^[a-z]+:\/\/[^/]+\//;
1084
1084
  /**
1085
1085
  * @param {Error} error
@@ -5035,7 +5035,7 @@ class Tabris extends NativeObject {
5035
5035
  this.$publishProxies();
5036
5036
  }
5037
5037
  get version() {
5038
- return '3.9.0-dev.20221024+0310';
5038
+ return '3.9.0-dev.20221025+0310';
5039
5039
  }
5040
5040
  get started() {
5041
5041
  return !!this._started;
@@ -5416,6 +5416,10 @@ NativeObject.defineProperties(Camera.prototype, {
5416
5416
  },
5417
5417
  const: true,
5418
5418
  readonly: true
5419
+ },
5420
+ priority: {
5421
+ choice: ['balanced', 'performance', 'quality'],
5422
+ default: 'balanced'
5419
5423
  }
5420
5424
  });
5421
5425