ngx-vflow 1.8.2 → 1.9.0

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.
Files changed (47) hide show
  1. package/esm2022/public-api.mjs +14 -13
  2. package/esm2022/testing/component-mocks/custom-template-edge-mock.component.mjs +16 -0
  3. package/esm2022/testing/component-mocks/handle-mock.component.mjs +24 -0
  4. package/esm2022/{lib/vflow/testing-utils → testing}/component-mocks/minimap-mock.component.mjs +1 -1
  5. package/esm2022/testing/component-mocks/node-toolbar-mock.component.mjs +23 -0
  6. package/esm2022/testing/component-mocks/resizable-mock.component.mjs +25 -0
  7. package/esm2022/testing/component-mocks/vflow-mock.component.mjs +296 -0
  8. package/esm2022/testing/directive-mocks/connection-controller-mock.directive.mjs +27 -0
  9. package/esm2022/testing/directive-mocks/drag-handle-mock.directive.mjs +11 -0
  10. package/esm2022/{lib/vflow/testing-utils → testing}/directive-mocks/selectable-mock.directive.mjs +1 -1
  11. package/esm2022/{lib/vflow/testing-utils → testing}/directive-mocks/template-mock.directive.mjs +1 -1
  12. package/esm2022/testing/ngx-vflow-testing.mjs +5 -0
  13. package/esm2022/testing/provide-custom-node-mocks.mjs +59 -0
  14. package/esm2022/testing/public-api.mjs +13 -0
  15. package/esm2022/testing/types.mjs +2 -0
  16. package/esm2022/testing/vflow-mocks.mjs +28 -0
  17. package/fesm2022/ngx-vflow-testing.mjs +626 -0
  18. package/fesm2022/ngx-vflow-testing.mjs.map +1 -0
  19. package/fesm2022/ngx-vflow.mjs +1 -597
  20. package/fesm2022/ngx-vflow.mjs.map +1 -1
  21. package/lib/vflow/models/edge.model.d.ts +2 -2
  22. package/package.json +9 -3
  23. package/public-api.d.ts +12 -11
  24. package/testing/component-mocks/custom-template-edge-mock.component.d.ts +7 -0
  25. package/{lib/vflow/testing-utils → testing}/component-mocks/handle-mock.component.d.ts +2 -3
  26. package/{lib/vflow/testing-utils → testing}/component-mocks/minimap-mock.component.d.ts +1 -1
  27. package/{lib/vflow/testing-utils → testing}/component-mocks/node-toolbar-mock.component.d.ts +1 -2
  28. package/{lib/vflow/testing-utils → testing}/component-mocks/resizable-mock.component.d.ts +1 -1
  29. package/{lib/vflow/testing-utils → testing}/component-mocks/vflow-mock.component.d.ts +2 -14
  30. package/{lib/vflow/testing-utils → testing}/directive-mocks/connection-controller-mock.directive.d.ts +2 -3
  31. package/{lib/vflow/testing-utils → testing}/directive-mocks/drag-handle-mock.directive.d.ts +1 -1
  32. package/{lib/vflow/testing-utils → testing}/directive-mocks/selectable-mock.directive.d.ts +1 -1
  33. package/{lib/vflow/testing-utils → testing}/directive-mocks/template-mock.directive.d.ts +1 -1
  34. package/testing/index.d.ts +5 -0
  35. package/testing/public-api.d.ts +11 -0
  36. package/{lib/vflow/testing-utils → testing}/vflow-mocks.d.ts +2 -1
  37. package/esm2022/lib/vflow/testing-utils/component-mocks/handle-mock.component.mjs +0 -24
  38. package/esm2022/lib/vflow/testing-utils/component-mocks/node-toolbar-mock.component.mjs +0 -23
  39. package/esm2022/lib/vflow/testing-utils/component-mocks/resizable-mock.component.mjs +0 -25
  40. package/esm2022/lib/vflow/testing-utils/component-mocks/vflow-mock.component.mjs +0 -296
  41. package/esm2022/lib/vflow/testing-utils/directive-mocks/connection-controller-mock.directive.mjs +0 -27
  42. package/esm2022/lib/vflow/testing-utils/directive-mocks/drag-handle-mock.directive.mjs +0 -11
  43. package/esm2022/lib/vflow/testing-utils/provide-custom-node-mocks.mjs +0 -68
  44. package/esm2022/lib/vflow/testing-utils/types.mjs +0 -2
  45. package/esm2022/lib/vflow/testing-utils/vflow-mocks.mjs +0 -26
  46. /package/{lib/vflow/testing-utils → testing}/provide-custom-node-mocks.d.ts +0 -0
  47. /package/{lib/vflow/testing-utils → testing}/types.d.ts +0 -0
@@ -18,8 +18,8 @@ export declare class EdgeModel implements FlowEntity, Contextable<EdgeContext> {
18
18
  detached: import("@angular/core").Signal<boolean>;
19
19
  detached$: import("rxjs").Observable<boolean>;
20
20
  path: import("@angular/core").Signal<import("../interfaces/path-data.interface").PathData>;
21
- sourceHandle: import("@angular/core").Signal<import("./handle.model").HandleModel | null>;
22
- targetHandle: import("@angular/core").Signal<import("./handle.model").HandleModel | null>;
21
+ sourceHandle: import("@angular/core").Signal<import("ngx-vflow")HandleModel | null>;
22
+ targetHandle: import("@angular/core").Signal<import("ngx-vflow")HandleModel | null>;
23
23
  /**
24
24
  * TODO: not reactive
25
25
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vflow",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
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
- "@angular/core": "^17.3.12 || 18.x || 19.x",
19
+ "@angular/common": "^17.3.12 || 18.x || 19.x || 20.x",
20
+ "@angular/core": "^17.3.12 || 18.x || 19.x || 20.x",
21
21
  "d3-drag": "^3.0.0",
22
22
  "d3-selection": "^3.0.0",
23
23
  "d3-zoom": "^3.0.0",
@@ -40,6 +40,12 @@
40
40
  "esm2022": "./esm2022/ngx-vflow.mjs",
41
41
  "esm": "./esm2022/ngx-vflow.mjs",
42
42
  "default": "./fesm2022/ngx-vflow.mjs"
43
+ },
44
+ "./testing": {
45
+ "types": "./testing/index.d.ts",
46
+ "esm2022": "./esm2022/testing/ngx-vflow-testing.mjs",
47
+ "esm": "./esm2022/testing/ngx-vflow-testing.mjs",
48
+ "default": "./fesm2022/ngx-vflow-testing.mjs"
43
49
  }
44
50
  }
45
51
  }
package/public-api.d.ts CHANGED
@@ -31,14 +31,15 @@ export * from './lib/vflow/directives/connection-controller.directive';
31
31
  export * from './lib/vflow/directives/changes-controller.directive';
32
32
  export * from './lib/vflow/directives/selectable.directive';
33
33
  export * from './lib/vflow/directives/drag-handle.directive';
34
- export * from './lib/vflow/testing-utils/provide-custom-node-mocks';
35
- export * from './lib/vflow/testing-utils/component-mocks/vflow-mock.component';
36
- export * from './lib/vflow/testing-utils/component-mocks/handle-mock.component';
37
- export * from './lib/vflow/testing-utils/component-mocks/resizable-mock.component';
38
- export * from './lib/vflow/testing-utils/component-mocks/minimap-mock.component';
39
- export * from './lib/vflow/testing-utils/component-mocks/node-toolbar-mock.component';
40
- export * from './lib/vflow/testing-utils/directive-mocks/connection-controller-mock.directive';
41
- export * from './lib/vflow/testing-utils/directive-mocks/drag-handle-mock.directive';
42
- export * from './lib/vflow/testing-utils/directive-mocks/selectable-mock.directive';
43
- export * from './lib/vflow/testing-utils/directive-mocks/template-mock.directive';
44
- export * from './lib/vflow/testing-utils/vflow-mocks';
34
+ export { ConnectionModel as ɵConnectionModel } from './lib/vflow/models/connection.model';
35
+ export { HandleModel as ɵHandleModel } from './lib/vflow/models/handle.model';
36
+ export { NodeModel as ɵNodeModel } from './lib/vflow/models/node.model';
37
+ export { ComponentEventBusService as ɵComponentEventBusService } from './lib/vflow/services/component-event-bus.service';
38
+ export { HandleService as ɵHandleService } from './lib/vflow/services/handle.service';
39
+ export { FlowSettingsService as ɵFlowSettingsService } from './lib/vflow/services/flow-settings.service';
40
+ export { FlowEntitiesService as ɵFlowEntitiesService } from './lib/vflow/services/flow-entities.service';
41
+ export { NodeAccessorService as ɵNodeAccessorService } from './lib/vflow/services/node-accessor.service';
42
+ export { ViewportService as ɵViewportService } from './lib/vflow/services/viewport.service';
43
+ export { SelectionService as ɵSelectionService } from './lib/vflow/services/selection.service';
44
+ export { RootPointerDirective as ɵRootPointerDirective } from './lib/vflow/directives/root-pointer.directive';
45
+ export { SpacePointContextDirective as ɵSpacePointContextDirective } from './lib/vflow/directives/space-point-context.directive';
@@ -0,0 +1,7 @@
1
+ import { AsInterface } from '../types';
2
+ import type { CustomTemplateEdgeComponent } from 'ngx-vflow';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CustomTemplateEdgeMockComponent implements AsInterface<CustomTemplateEdgeComponent> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomTemplateEdgeMockComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomTemplateEdgeMockComponent, "g[customTemplateEdge]", never, {}, {}, never, never, true, never>;
7
+ }
@@ -1,11 +1,10 @@
1
1
  import { TemplateRef, OnInit } from '@angular/core';
2
- import { Position } from '../../types/position.type';
3
- import { HandleComponent } from '../../public-components/handle/handle.component';
2
+ import type { HandleComponent, Position } from 'ngx-vflow';
4
3
  import { AsInterface } from '../types';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class HandleMockComponent implements AsInterface<HandleComponent>, OnInit {
7
6
  position: import("@angular/core").InputSignal<Position>;
8
- type: import("@angular/core").InputSignal<"source" | "target">;
7
+ type: import("@angular/core").InputSignal<"target" | "source">;
9
8
  id: import("@angular/core").InputSignal<string | undefined>;
10
9
  template: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
11
10
  ngOnInit(): void;
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { MiniMapComponent, MiniMapPosition } from '../../public-components/minimap/minimap.component';
2
+ import type { MiniMapComponent, MiniMapPosition } from 'ngx-vflow';
3
3
  import { AsInterface } from '../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class MiniMapMockComponent implements AsInterface<MiniMapComponent>, OnInit {
@@ -1,6 +1,5 @@
1
1
  import { OnInit, OnDestroy } from '@angular/core';
2
- import { Position } from '../../types/position.type';
3
- import { NodeToolbarComponent } from '../../public-components/node-toolbar/node-toolbar.component';
2
+ import type { Position, NodeToolbarComponent } from 'ngx-vflow';
4
3
  import { AsInterface } from '../types';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class NodeToolbarMockComponent implements AsInterface<NodeToolbarComponent>, OnInit, OnDestroy {
@@ -1,5 +1,5 @@
1
1
  import { OnInit, AfterViewInit } from '@angular/core';
2
- import { ResizableComponent } from '../../public-components/resizable/resizable.component';
2
+ import type { ResizableComponent } from 'ngx-vflow';
3
3
  import { AsInterface } from '../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ResizableMockComponent implements AsInterface<ResizableComponent>, OnInit, AfterViewInit {
@@ -1,21 +1,9 @@
1
1
  import { WritableSignal, OnInit } from '@angular/core';
2
- import { Node, DynamicNode } from '../../interfaces/node.interface';
3
- import { Edge } from '../../interfaces/edge.interface';
4
- import { SpacePoint, Point } from '../../interfaces/point.interface';
5
- import { Background } from '../../types/background.type';
6
- import { Optimization } from '../../interfaces/optimization.interface';
7
- import { KeyboardShortcuts } from '../../types/keyboard-action.type';
8
- import { ViewportState } from '../../interfaces/viewport.interface';
9
- import { NodeChange } from '../../types/node-change.type';
10
- import { EdgeChange } from '../../types/edge-change.type';
11
- import { FitViewOptions } from '../../interfaces/fit-view-options.interface';
2
+ import { Node, DynamicNode, Edge, SpacePoint, Point, Background, Optimization, KeyboardShortcuts, ViewportState, NodeChange, EdgeChange, FitViewOptions, VflowComponent, IntersectingNodesOptions, ɵConnectionModel as ConnectionModel } from 'ngx-vflow';
12
3
  import { ConnectionTemplateMockDirective, EdgeLabelHtmlTemplateMockDirective, EdgeTemplateMockDirective, GroupNodeTemplateMockDirective, NodeHtmlTemplateMockDirective } from '../directive-mocks/template-mock.directive';
13
- import { VflowComponent } from '../../components/vflow/vflow.component';
14
- import { ConnectionModel } from '../../models/connection.model';
15
4
  import { AsInterface } from '../types';
16
- import { IntersectingNodesOptions } from '../../interfaces/intersecting-nodes-options.interface';
17
5
  import * as i0 from "@angular/core";
18
- import * as i1 from "../../interfaces/connection-settings.interface";
6
+ import * as i1 from "ngx-vflow";
19
7
  export declare class VflowMockComponent implements AsInterface<VflowComponent>, OnInit {
20
8
  readonly nodes: Node[] | DynamicNode[];
21
9
  readonly edges: Edge[];
@@ -1,7 +1,6 @@
1
- import { Connection, ReconnectionEvent } from '../../interfaces/connection.interface';
1
+ import { Connection, ReconnectionEvent } from 'ngx-vflow';
2
2
  import { AsInterface } from '../types';
3
- import { ConnectionControllerDirective } from '../../directives/connection-controller.directive';
4
- import { HandleModel } from '../../models/handle.model';
3
+ import type { ConnectionControllerDirective, ɵHandleModel as HandleModel } from 'ngx-vflow';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ConnectionControllerMockDirective implements AsInterface<ConnectionControllerDirective> {
7
6
  readonly onConnect: import("@angular/core").OutputEmitterRef<Connection>;
@@ -1,5 +1,5 @@
1
1
  import { AsInterface } from '../types';
2
- import { DragHandleDirective } from '../../directives/drag-handle.directive';
2
+ import type { DragHandleDirective } from 'ngx-vflow';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DragHandleMockDirective implements AsInterface<DragHandleDirective> {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<DragHandleMockDirective, never>;
@@ -1,5 +1,5 @@
1
1
  import { AsInterface } from '../types';
2
- import { SelectableDirective } from '../../directives/selectable.directive';
2
+ import type { SelectableDirective } from 'ngx-vflow';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SelectableMockDirective implements AsInterface<SelectableDirective> {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectableMockDirective, never>;
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { ConnectionTemplateDirective, EdgeLabelHtmlTemplateDirective, EdgeTemplateDirective, GroupNodeTemplateDirective, HandleTemplateDirective, NodeHtmlTemplateDirective } from '../../directives/template.directive';
2
+ import type { ConnectionTemplateDirective, EdgeLabelHtmlTemplateDirective, EdgeTemplateDirective, GroupNodeTemplateDirective, HandleTemplateDirective, NodeHtmlTemplateDirective } from 'ngx-vflow';
3
3
  import { AsInterface } from '../types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class EdgeTemplateMockDirective implements AsInterface<EdgeTemplateDirective> {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-vflow/testing" />
5
+ export * from './public-api';
@@ -0,0 +1,11 @@
1
+ export * from './provide-custom-node-mocks';
2
+ export * from './component-mocks/vflow-mock.component';
3
+ export * from './component-mocks/handle-mock.component';
4
+ export * from './component-mocks/resizable-mock.component';
5
+ export * from './component-mocks/minimap-mock.component';
6
+ export * from './component-mocks/node-toolbar-mock.component';
7
+ export * from './directive-mocks/connection-controller-mock.directive';
8
+ export * from './directive-mocks/drag-handle-mock.directive';
9
+ export * from './directive-mocks/selectable-mock.directive';
10
+ export * from './directive-mocks/template-mock.directive';
11
+ export * from './vflow-mocks';
@@ -1,3 +1,4 @@
1
+ import { CustomTemplateEdgeMockComponent } from './component-mocks/custom-template-edge-mock.component';
1
2
  import { HandleMockComponent } from './component-mocks/handle-mock.component';
2
3
  import { MiniMapMockComponent } from './component-mocks/minimap-mock.component';
3
4
  import { NodeToolbarMockComponent } from './component-mocks/node-toolbar-mock.component';
@@ -7,4 +8,4 @@ import { ConnectionControllerMockDirective } from './directive-mocks/connection-
7
8
  import { DragHandleMockDirective } from './directive-mocks/drag-handle-mock.directive';
8
9
  import { SelectableMockDirective } from './directive-mocks/selectable-mock.directive';
9
10
  import { ConnectionTemplateMockDirective, EdgeLabelHtmlTemplateMockDirective, EdgeTemplateMockDirective, GroupNodeTemplateMockDirective, HandleTemplateMockDirective, NodeHtmlTemplateMockDirective } from './directive-mocks/template-mock.directive';
10
- export declare const VflowMocks: readonly [typeof VflowMockComponent, typeof HandleMockComponent, typeof ResizableMockComponent, typeof SelectableMockDirective, typeof MiniMapMockComponent, typeof NodeToolbarMockComponent, typeof DragHandleMockDirective, typeof ConnectionControllerMockDirective, typeof NodeHtmlTemplateMockDirective, typeof GroupNodeTemplateMockDirective, typeof EdgeLabelHtmlTemplateMockDirective, typeof EdgeTemplateMockDirective, typeof ConnectionTemplateMockDirective, typeof HandleTemplateMockDirective];
11
+ export declare const VflowMocks: readonly [typeof VflowMockComponent, typeof HandleMockComponent, typeof ResizableMockComponent, typeof SelectableMockDirective, typeof MiniMapMockComponent, typeof NodeToolbarMockComponent, typeof DragHandleMockDirective, typeof ConnectionControllerMockDirective, typeof CustomTemplateEdgeMockComponent, typeof NodeHtmlTemplateMockDirective, typeof GroupNodeTemplateMockDirective, typeof EdgeLabelHtmlTemplateMockDirective, typeof EdgeTemplateMockDirective, typeof ConnectionTemplateMockDirective, typeof HandleTemplateMockDirective];
@@ -1,24 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class HandleMockComponent {
4
- constructor() {
5
- this.position = input.required();
6
- this.type = input.required();
7
- this.id = input();
8
- this.template = input();
9
- }
10
- // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
11
- ngOnInit() { }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HandleMockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: HandleMockComponent, isStandalone: true, selector: "handle", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: true, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HandleMockComponent, decorators: [{
16
- type: Component,
17
- args: [{
18
- selector: 'handle',
19
- template: '',
20
- changeDetection: ChangeDetectionStrategy.OnPush,
21
- standalone: true,
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlLW1vY2suY29tcG9uZW50LmpzIiwic291c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yBIYW5kbGVDb21wb25lbnQgfSBmcm9tICcuLi8uLi9wdWJsaWMtY29tcG9uZW50cy9oYW5kbGUvaGFuZGxlLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBc0ludGVyZmFjZSB9IGZyb20gJy4uL3R5cGVzJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnaGFuZGxlJyxcbiAgdGVtcGxhdGU6ICcnLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbn0pXG5leHBvcnQgY2xhc3MgSGFuZGxlTW9ja0NvbXBvbmVudCBpbXBsZW1lbnRzIEFzSW50ZXJmYWNlPEhhbmRsZUNvbXBvbmVudD4sIE9uSW5pdCB7XG4gIHB1YmxpYyBwb3NpdGlvbiA9IGlucHV0LnJlcXVpcmVkPFBvc2l0aW9uPigpO1xuICBwdWJsaWMgdHlwZSA9IGlucHV0LnJlcXVpcmVkPCdzb3VyY2UnIHwgJ3RhcmdldCc+KCk7XG4gIHB1YmxpYyBpZCA9IGlucHV0PHN0cmluZz4oKTtcbiAgcHVibGljIHRlbXBsYXRlID0gaW5wdXQ8VGVtcGxhdGVSZWY8YW55Pj4oKTtcblxuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQGFuZ3VsYXItZXNsaW50L25vLWVtcHR5LWxpZmVjeWNsZS1tZXRob2RcbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiJdfQ==
@@ -1,23 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class NodeToolbarMockComponent {
4
- constructor() {
5
- this.position = input('top');
6
- }
7
- // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
8
- ngOnInit() { }
9
- // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
10
- ngOnDestroy() { }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NodeToolbarMockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: NodeToolbarMockComponent, isStandalone: true, selector: "node-toolbar", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13
- }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NodeToolbarMockComponent, decorators: [{
15
- type: Component,
16
- args: [{
17
- selector: 'node-toolbar',
18
- template: '<ng-content />',
19
- standalone: true,
20
- changeDetection: ChangeDetectionStrategy.OnPush,
21
- }]
22
- }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS10b29sYmFyLW1vY2suY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZmbG93LWxpYi9zcmMvbGliL3ZmbG93L3Rlc3RpbmctdXRpbHMvY29tcG9uZW50LW1vY2tzL25vZGUtdG9vbGJhci1tb2NrLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7O0FBVzdGLE1BQU0sT0FBTyx3QkFBd0I7SUFOckM7UUFPUyxhQUFRLEdBQUcsS0FBSyxDQUFXLEtBQUssQ0FBQyxDQUFDO0tBTzFDO0lBTEMscUVBQXFFO0lBQzlELFFBQVEsS0FBSSxDQUFDO0lBRXBCLHFFQUFxRTtJQUM5RCxXQUF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lvbj4oJ3RvcCcpO1xuXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAYW5ndWxhci1lc2xpbnQvbm8tZW1wdHktbGlmZWN5Y2xlLW1ldGhvZFxuICBwdWJsaWMgbmdPbkluaXQoKSB7fVxuXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAYW5ndWxhci1lc2xpbnQvbm8tZW1wdHktbGlmZWN5Y2xlLW1ldGhvZFxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKSB7fVxufVxuIl19
@@ -1,25 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ResizableMockComponent {
4
- constructor() {
5
- this.resizable = input();
6
- this.resizerColor = input('#2e414c');
7
- this.gap = input(1.5);
8
- }
9
- // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
10
- ngOnInit() { }
11
- // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
12
- ngAfterViewInit() { }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResizableMockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: ResizableMockComponent, isStandalone: true, selector: "[resizable]", inputs: { resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, resizerColor: { classPropertyName: "resizerColor", publicName: "resizerColor", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResizableMockComponent, decorators: [{
17
- type: Component,
18
- args: [{
19
- selector: '[resizable]',
20
- template: '<ng-content />',
21
- standalone: true,
22
- changeDetection: ChangeDetectionStrategy.OnPush,
23
- }]
24
- }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXphYmxlLW1vY2suY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZmbG93LWxpYi9zcmMvbGliL3ZmbG93L3Rlc3RpbmctdXRpbHMvY29tcG9uZW50LW1vY2tzL3Jlc2l6YWJsZS1tb2NrLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBeUIsTUFBTSxlQUFlLENBQUM7O0FBVWpHLE1BQU0sT0FBTyxzQkFBc0I7SUFObkM7UUFPUyxjQUFTLEdBQUcsS0FBSyxFQUFnQixDQUFDO1FBQ2xDLGlCQUFZLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBQ2hDLFFBQUcsR0FBRyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7S0FPekI7SUFMQyxxRUFBcUU7SUFDOUQsUUFBUSxLQUFJLENBQUM7SUFFcEIscUVBQXFFO0lBQzlELGVBQWUsS0FBSSxDQUFDOytHQVRoQixzQkFBc0I7bUdBQXRCLHNCQUFzQixzZEFKdkIsZ0JBQWdCOzs0RkFJZixzQkFBc0I7a0JBTmxDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGFBQWE7b0JBQ3ZCLFFBQVEsRUFBRSxnQkFBZ0I7b0JBQzFCLFVBQVUsRUFBRSxJQUFJO29CQUNoQixlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTtpQkFDaEQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRl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