@xui/node-graph 2.0.0-alpha.11 → 2.0.0-alpha.12
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/README.md +142 -156
- package/fesm2022/xui-node-graph.mjs +19 -18
- package/fesm2022/xui-node-graph.mjs.map +1 -1
- package/package.json +2 -2
- package/types/xui-node-graph.d.ts +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xui/node-graph",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.12",
|
|
4
4
|
"description": "Modern Angular 22 UI Library based on TailwindCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@angular/cdk": "22",
|
|
40
40
|
"@angular/core": "22",
|
|
41
|
-
"@xui/core": "2.0.0-alpha.
|
|
41
|
+
"@xui/core": "2.0.0-alpha.12",
|
|
42
42
|
"class-variance-authority": "^0.7.1",
|
|
43
43
|
"clsx": "^2.1.1"
|
|
44
44
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal,
|
|
2
|
+
import { Signal, WritableSignal, OnInit } from '@angular/core';
|
|
3
3
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
5
|
import * as _xui_node_graph from '@xui/node-graph';
|
|
@@ -266,8 +266,8 @@ interface XuiNodeGraphConfig {
|
|
|
266
266
|
*/
|
|
267
267
|
enforcePortTypes: boolean;
|
|
268
268
|
}
|
|
269
|
-
declare
|
|
270
|
-
declare
|
|
269
|
+
declare const injectXuiNodeGraphConfig: () => XuiNodeGraphConfig;
|
|
270
|
+
declare const provideXuiNodeGraphConfig: (config: Partial<XuiNodeGraphConfig>) => _angular_core.ValueProvider;
|
|
271
271
|
/**
|
|
272
272
|
* A ready-made data-type palette drawn from the categorical chart ramp, for
|
|
273
273
|
* graphs that need distinguishable typed ports without designing a palette.
|
|
@@ -562,12 +562,12 @@ declare class XuiGraphControls {
|
|
|
562
562
|
readonly class: _angular_core.InputSignal<ClassValue>;
|
|
563
563
|
readonly showFit: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
564
564
|
readonly showZoomLevel: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
565
|
-
/** Lay the buttons out in a
|
|
566
|
-
readonly
|
|
565
|
+
/** Lay the buttons out in a column (default) or a row. */
|
|
566
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
567
567
|
protected readonly zoomPercent: _angular_core.Signal<number>;
|
|
568
568
|
protected readonly computedClass: _angular_core.Signal<string>;
|
|
569
569
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XuiGraphControls, never>;
|
|
570
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XuiGraphControls, "xui-graph-controls", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showFit": { "alias": "showFit"; "required": false; "isSignal": true; }; "showZoomLevel": { "alias": "showZoomLevel"; "required": false; "isSignal": true; }; "
|
|
570
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XuiGraphControls, "xui-graph-controls", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showFit": { "alias": "showFit"; "required": false; "isSignal": true; }; "showZoomLevel": { "alias": "showZoomLevel"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
/**
|
|
@@ -981,7 +981,7 @@ declare class XuiGraphOverlay {
|
|
|
981
981
|
*/
|
|
982
982
|
declare class XuiGraphNoDrag {
|
|
983
983
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XuiGraphNoDrag, never>;
|
|
984
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<XuiGraphNoDrag, "[xuiGraphNoDrag]",
|
|
984
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<XuiGraphNoDrag, "[xuiGraphNoDrag]", ["xuiGraphNoDrag"], {}, {}, never, never, true, never>;
|
|
985
985
|
}
|
|
986
986
|
|
|
987
987
|
/** Everything the template needs to draw one wire. */
|