ngx-vflow 1.16.2 → 1.16.4

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.
@@ -13,10 +13,15 @@ export declare class ConnectionControllerDirective {
13
13
  * Also it's important to note, that this event only fires when connection is valid by validator function in `ConnectionSettings`,
14
14
  * by default without passing the validator every connection concidered valid.
15
15
  *
16
- * @todo add connect event and deprecate onConnect
16
+ * @deprecated use `connect` output instead
17
17
  */
18
18
  readonly onConnect: import("@angular/core").OutputRef<Connection>;
19
+ readonly connect: import("@angular/core").OutputRef<Connection>;
20
+ /**
21
+ * @deprecated use `reconnect` output instead
22
+ */
19
23
  readonly onReconnect: import("@angular/core").OutputRef<ReconnectionEvent>;
24
+ readonly reconnect: import("@angular/core").OutputRef<ReconnectionEvent>;
20
25
  protected isStrictMode: import("@angular/core").Signal<boolean>;
21
26
  startConnection(handle: HandleModel): void;
22
27
  startReconnection(handle: HandleModel, oldEdge: EdgeModel): void;
@@ -24,5 +29,5 @@ export declare class ConnectionControllerDirective {
24
29
  resetValidateConnection(targetHandle: HandleModel): void;
25
30
  endConnection(): void;
26
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionControllerDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionControllerDirective, "[onConnect], [onReconnect]", never, {}, { "onConnect": "onConnect"; "onReconnect": "onReconnect"; }, never, never, true, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionControllerDirective, "[onConnect], [onReconnect], [connect], [reconnect]", never, {}, { "onConnect": "onConnect"; "connect": "connect"; "onReconnect": "onReconnect"; "reconnect": "reconnect"; }, never, never, true, never>;
28
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vflow",
3
- "version": "1.16.2",
3
+ "version": "1.16.4",
4
4
  "license": "MIT",
5
5
  "homepage": "https://www.ngx-vflow.org/",
6
6
  "author": "Artem Mangilev",
@@ -16,8 +16,8 @@
16
16
  "type": "git"
17
17
  },
18
18
  "peerDependencies": {
19
- "@angular/common": "^17.3.12 || 18.x || 19.x || 20.x",
20
- "@angular/core": "^17.3.12 || 18.x || 19.x || 20.x",
19
+ "@angular/common": "^17.3.12 || 18.x || 19.x || 20.x || 21.x",
20
+ "@angular/core": "^17.3.12 || 18.x || 19.x || 20.x || 21.x",
21
21
  "d3-drag": "^3.0.0",
22
22
  "d3-selection": "^3.0.0",
23
23
  "d3-zoom": "^3.0.0",
@@ -3,7 +3,9 @@ import { AsInterface } from '../types';
3
3
  import type { ConnectionControllerDirective, ɵHandleModel as HandleModel } from 'ngx-vflow';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ConnectionControllerMockDirective implements AsInterface<ConnectionControllerDirective> {
6
+ readonly connect: import("@angular/core").OutputEmitterRef<Connection>;
6
7
  readonly onConnect: import("@angular/core").OutputEmitterRef<Connection>;
8
+ readonly reconnect: import("@angular/core").OutputEmitterRef<ReconnectionEvent>;
7
9
  readonly onReconnect: import("@angular/core").OutputEmitterRef<ReconnectionEvent>;
8
10
  startConnection(handle: HandleModel): void;
9
11
  startReconnection(handle: HandleModel): void;
@@ -11,5 +13,5 @@ export declare class ConnectionControllerMockDirective implements AsInterface<Co
11
13
  resetValidateConnection(targetHandle: HandleModel): void;
12
14
  endConnection(): void;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionControllerMockDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionControllerMockDirective, "[onConnect]", never, {}, { "onConnect": "onConnect"; "onReconnect": "onReconnect"; }, never, never, true, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectionControllerMockDirective, "[connect], [onConnect]", never, {}, { "connect": "connect"; "onConnect": "onConnect"; "reconnect": "reconnect"; "onReconnect": "onReconnect"; }, never, never, true, never>;
15
17
  }