@hatiolab/things-scene 2.7.29 → 2.7.33
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/db.sqlite +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +3 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +26 -6
- package/logs/application-2021-11-18-10.log +4 -0
- package/logs/connections-2021-11-08-12.log +0 -0
- package/logs/connections-2021-11-08-14.log +32 -0
- package/logs/connections-2021-11-11-16.log +64 -0
- package/logs/connections-2021-11-15-16.log +32 -0
- package/logs/connections-2021-11-16-09.log +32 -0
- package/logs/connections-2021-11-18-10.log +32 -0
- package/package.json +3 -3
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +11 -0
- package/things-scene.mjs +1 -1
- package/logs/application-2021-12-17-00.log +0 -4
- package/logs/connections-2021-12-11-15.log +0 -32
- package/logs/connections-2021-12-17-00.log +0 -32
package/things-scene.d.ts
CHANGED
|
@@ -167,6 +167,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
167
167
|
): {
|
|
168
168
|
new (...args: any[]): {
|
|
169
169
|
isDataSource(): boolean
|
|
170
|
+
_convertDataFormat(data: any, format: 'json' | 'text' | 'jsonp' | string): any
|
|
170
171
|
}
|
|
171
172
|
} & TBase
|
|
172
173
|
|
|
@@ -203,6 +204,11 @@ declare module '@hatiolab/things-scene' {
|
|
|
203
204
|
static register(type: string, Clazz: typeof Component): void
|
|
204
205
|
static memoize(base: any, property: string, needClone: boolean): void
|
|
205
206
|
static drawStroke(context: CanvasRenderingContext2D, style: Style): void
|
|
207
|
+
static buildSubstitutor(
|
|
208
|
+
expression: string,
|
|
209
|
+
component: Component,
|
|
210
|
+
customObjToVal?: (obj: any) => any
|
|
211
|
+
): () => string | undefined
|
|
206
212
|
|
|
207
213
|
state: Properties
|
|
208
214
|
bounds: BOUNDS
|
|
@@ -258,7 +264,12 @@ declare module '@hatiolab/things-scene' {
|
|
|
258
264
|
stop: Function /* stop function */
|
|
259
265
|
}
|
|
260
266
|
|
|
267
|
+
access(expression: string): any
|
|
268
|
+
substitute(expression: string, customObjToVal?: (obj: any) => any): string
|
|
269
|
+
|
|
261
270
|
onchange(after: Properties, before: Properties): void
|
|
271
|
+
onchangeData(after: Properties, before: Properties): void
|
|
272
|
+
onchangeMappings(after: Properties, before: Properties): void
|
|
262
273
|
|
|
263
274
|
drawImage(
|
|
264
275
|
context: CanvasRenderingContext2D,
|