@operato/scene-bpmn 10.0.0-beta.30 → 10.0.0-beta.68

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.
@@ -54,6 +54,8 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
54
54
  added(parent: any): void;
55
55
  removed(parent: any): void;
56
56
  ready(): Promise<void>;
57
+ _readyInvoked: boolean;
58
+ invokeReady(): void | Promise<void>;
57
59
  touch(): void;
58
60
  clearCache(...attrs: any[]): void;
59
61
  removeSelf(completely: any): void;
@@ -81,6 +83,7 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
81
83
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
82
84
  get model(): any;
83
85
  get state(): import("@hatiolab/things-scene").State;
86
+ get refid(): any;
84
87
  get hierarchy(): any;
85
88
  get volatile(): never[];
86
89
  _applyProps(target: any, props: any, options: any): any;
@@ -175,7 +178,7 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
175
178
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
176
179
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
177
180
  findAnchor(name: string): any;
178
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
181
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
179
182
  getContext(component?: unknown): any;
180
183
  get root(): import("@hatiolab/things-scene").Component;
181
184
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -220,9 +223,13 @@ declare const BPMNContainerBase_base: (new (...args: any[]) => {
220
223
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
221
224
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
222
225
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
226
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
223
227
  on(name: string | object, callback: Function, context?: any): any;
228
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
224
229
  off(name?: string | object, callback?: Function, context?: any): any;
230
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
225
231
  once(name: string | object, callback: Function, context?: any): any;
232
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
226
233
  trigger(name: string, ...args: any[]): any;
227
234
  delegate_on(delegator: any): any;
228
235
  delegate_off(delegator: any): any;
@@ -54,6 +54,8 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
54
54
  added(parent: any): void;
55
55
  removed(parent: any): void;
56
56
  ready(): Promise<void>;
57
+ _readyInvoked: boolean;
58
+ invokeReady(): void | Promise<void>;
57
59
  touch(): void;
58
60
  clearCache(...attrs: any[]): void;
59
61
  removeSelf(completely: any): void;
@@ -81,6 +83,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
81
83
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
82
84
  get model(): any;
83
85
  get state(): import("@hatiolab/things-scene").State;
86
+ get refid(): any;
84
87
  get hierarchy(): any;
85
88
  get volatile(): never[];
86
89
  _applyProps(target: any, props: any, options: any): any;
@@ -175,7 +178,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
175
178
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
176
179
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
177
180
  findAnchor(name: string): any;
178
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
181
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
179
182
  getContext(component?: unknown): any;
180
183
  get root(): import("@hatiolab/things-scene").Component;
181
184
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -220,9 +223,13 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
220
223
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
221
224
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
222
225
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
226
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
223
227
  on(name: string | object, callback: Function, context?: any): any;
228
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
224
229
  off(name?: string | object, callback?: Function, context?: any): any;
230
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
225
231
  once(name: string | object, callback: Function, context?: any): any;
232
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
226
233
  trigger(name: string, ...args: any[]): any;
227
234
  delegate_on(delegator: any): any;
228
235
  delegate_off(delegator: any): any;
@@ -294,6 +301,8 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
294
301
  added(parent: any): void;
295
302
  removed(parent: any): void;
296
303
  ready(): Promise<void>;
304
+ _readyInvoked: boolean;
305
+ invokeReady(): void | Promise<void>;
297
306
  touch(): void;
298
307
  clearCache(...attrs: any[]): void;
299
308
  removeSelf(completely: any): void;
@@ -322,6 +331,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
322
331
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
323
332
  get model(): any;
324
333
  get state(): import("@hatiolab/things-scene").State;
334
+ get refid(): any;
325
335
  get hierarchy(): any;
326
336
  get volatile(): never[];
327
337
  _applyProps(target: any, props: any, options: any): any;
@@ -412,7 +422,7 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
412
422
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
413
423
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
414
424
  findAnchor(name: string): any;
415
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
425
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
416
426
  getContext(component?: unknown): any;
417
427
  get root(): import("@hatiolab/things-scene").Component;
418
428
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -456,9 +466,13 @@ declare const BPMNControlBase_base: (new (...args: any[]) => {
456
466
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
457
467
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
458
468
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
469
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
459
470
  on(name: string | object, callback: Function, context?: any): any;
471
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
460
472
  off(name?: string | object, callback?: Function, context?: any): any;
473
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
461
474
  once(name: string | object, callback: Function, context?: any): any;
475
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
462
476
  trigger(name: string, ...args: any[]): any;
463
477
  delegate_on(delegator: any): any;
464
478
  delegate_off(delegator: any): any;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-bpmn",
3
3
  "description": "bpmn components for things-scene",
4
4
  "author": "heartyoh",
5
- "version": "10.0.0-beta.30",
5
+ "version": "10.0.0-beta.68",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
@@ -18,14 +18,11 @@
18
18
  "directory": "packages/bpmn"
19
19
  },
20
20
  "scripts": {
21
- "serve": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"things-factory-dev\"",
22
- "serve:dev": "npm run serve",
23
21
  "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
24
22
  "build": "tsc",
25
23
  "prepublishOnly": "tsc",
26
24
  "lint": "eslint src/ && prettier \"src/**/*.ts\" --check",
27
- "format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write",
28
- "migration": "things-factory-migration"
25
+ "format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write"
29
26
  },
30
27
  "dependencies": {
31
28
  "@hatiolab/things-scene": "^10.0.0-beta.1",
@@ -33,8 +30,6 @@
33
30
  },
34
31
  "devDependencies": {
35
32
  "@hatiolab/prettier-config": "^1.0.0",
36
- "@things-factory/builder": "^10.0.0-beta.1",
37
- "@things-factory/operato-board": "^10.0.0-beta.1",
38
33
  "@types/lodash-es": "^4.17.5",
39
34
  "@typescript-eslint/eslint-plugin": "^8.0.0",
40
35
  "@typescript-eslint/parser": "^8.0.0",
@@ -60,5 +55,5 @@
60
55
  "prettier --write"
61
56
  ]
62
57
  },
63
- "gitHead": "06b35b1726ec4f27ee76657ce341c6c6f3ba1b3a"
58
+ "gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
64
59
  }