tabris 3.9.0-dev.20221012 → 3.9.0-dev.20221014

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.20221012+0310
2
+ * Tabris.js 3.9.0-dev.20221014+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.20221012+0310",
3
+ "version": "3.9.0-dev.20221014+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.20221012+0310
1
+ // Type definitions for Tabris.js 3.9.0-dev.20221014+0310
2
2
  /// <reference path="globals.d.ts" />
3
3
 
4
4
  // General helper types
@@ -121,7 +121,7 @@ export type BaseConstructor<T> = Function & { prototype: T };
121
121
 
122
122
  export type ImageSource = string | ImageBitmap | Blob;
123
123
 
124
- export type ImageLikeObject = {src: ImageSource, scale?: number | "auto", width?: number | "auto", height?: number | "auto"};
124
+ export type ImageLikeObject = {src: ImageSource, scale?: number | "auto", width?: number | "auto", height?: number | "auto"};
125
125
 
126
126
  /**
127
127
  * Images can be specified as strings or Image/ImageLikeObject.
@@ -534,6 +534,12 @@ export interface ObservableDataFactory extends ObservableDataConstructor {
534
534
  }
535
535
  export const ObservableData: ObservableDataFactory;
536
536
 
537
+ export type PropertyType<T> = {
538
+ convert?: (value: unknown, context?: NativeObject) => T,
539
+ encode?: (value: T, context?: NativeObject) => any,
540
+ decode?: (value: any, context?: NativeObject) => T
541
+ }
542
+
537
543
 
538
544
 
539
545
  declare var ImageDataConstructor: typeof ImageData;
@@ -6218,6 +6224,11 @@ export class Tabris extends NativeObject {
6218
6224
 
6219
6225
  set logPushInterval(value: number);
6220
6226
 
6227
+ /**
6228
+ * @constant
6229
+ */
6230
+ propertyTypes: {[type: string]: PropertyType<unknown>};
6231
+
6221
6232
  /**
6222
6233
  * Indicates that the framework has been fully initialized. This happens before the main application
6223
6234
  * module is parsed and executed, so it is only relevant for framework and plug-in developers.
package/tabris.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tabris.js 3.9.0-dev.20221012+0310
2
+ * Tabris.js 3.9.0-dev.20221014+0310
3
3
  *
4
4
  * Copyright (c) 2014, 2020 EclipseSource Inc.
5
5
  * All rights reserved.
@@ -5035,7 +5035,7 @@ class Tabris extends NativeObject {
5035
5035
  this.$publishProxies();
5036
5036
  }
5037
5037
  get version() {
5038
- return '3.9.0-dev.20221012+0310';
5038
+ return '3.9.0-dev.20221014+0310';
5039
5039
  }
5040
5040
  get started() {
5041
5041
  return !!this._started;
@@ -13581,6 +13581,7 @@ const OTHER = Object.freeze({
13581
13581
  Setter,
13582
13582
  Set: Setter,
13583
13583
  symbols,
13584
+ propertyTypes: types,
13584
13585
  TextResources,
13585
13586
  WidgetCollection,
13586
13587
  $