@visuallyjs/browser-ui-angular 1.2.6 → 1.2.8
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/esm2022/index.mjs +2 -0
- package/esm2022/lib/browser-ui-angular.module.mjs +14 -4
- package/esm2022/lib/charts/area.chart.component.mjs +12 -9
- package/esm2022/lib/charts/bar.chart.component.mjs +12 -9
- package/esm2022/lib/charts/bubble.chart.component.mjs +12 -9
- package/esm2022/lib/charts/column.chart.component.mjs +12 -9
- package/esm2022/lib/charts/line.chart.component.mjs +12 -9
- package/esm2022/lib/charts/pie.chart.component.mjs +12 -9
- package/esm2022/lib/charts/sankey.chart.component.mjs +36 -10
- package/esm2022/lib/charts/scatter.chart.component.mjs +12 -9
- package/esm2022/lib/charts/series.based.chart.component.mjs +43 -10
- package/esm2022/lib/charts/xy.chart.component.mjs +12 -9
- package/esm2022/lib/controls-component.mjs +2 -2
- package/esm2022/lib/edge.property.mappings.inspector.component.mjs +69 -0
- package/esm2022/lib/edge.type.picker.component.mjs +1 -0
- package/esm2022/lib/shape-properties-inspector.component.mjs +255 -0
- package/fesm2022/visuallyjs-browser-ui-angular.mjs +499 -91
- package/fesm2022/visuallyjs-browser-ui-angular.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/browser-ui-angular.module.d.ts +4 -2
- package/lib/charts/area.chart.component.d.ts +7 -7
- package/lib/charts/bar.chart.component.d.ts +7 -7
- package/lib/charts/bubble.chart.component.d.ts +7 -7
- package/lib/charts/column.chart.component.d.ts +8 -7
- package/lib/charts/line.chart.component.d.ts +7 -7
- package/lib/charts/pie.chart.component.d.ts +7 -7
- package/lib/charts/sankey.chart.component.d.ts +12 -9
- package/lib/charts/scatter.chart.component.d.ts +7 -7
- package/lib/charts/series.based.chart.component.d.ts +9 -6
- package/lib/charts/xy.chart.component.d.ts +7 -7
- package/lib/controls-component.d.ts +1 -5
- package/lib/diagram-palette-component.d.ts +1 -1
- package/lib/edge.property.mappings.inspector.component.d.ts +38 -0
- package/lib/palette.component.d.ts +9 -9
- package/lib/shape-properties-inspector.component.d.ts +35 -0
- package/lib/shape.palette.component.d.ts +3 -3
- package/package.json +2 -2
- package/visuallyjs-browser-ui-angular.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -47,3 +47,5 @@ export * from './lib/background.component';
|
|
|
47
47
|
export * from './lib/image-background.component';
|
|
48
48
|
export * from './lib/tiled-image-background.component';
|
|
49
49
|
export * from './lib/grid-background.component';
|
|
50
|
+
export * from './lib/edge.property.mappings.inspector.component';
|
|
51
|
+
export * from './lib/shape-properties-inspector.component';
|
|
@@ -29,7 +29,9 @@ import * as i27 from "./background.component";
|
|
|
29
29
|
import * as i28 from "./image-background.component";
|
|
30
30
|
import * as i29 from "./grid-background.component";
|
|
31
31
|
import * as i30 from "./tiled-image-background.component";
|
|
32
|
-
import * as i31 from "
|
|
32
|
+
import * as i31 from "./edge.property.mappings.inspector.component";
|
|
33
|
+
import * as i32 from "./shape-properties-inspector.component";
|
|
34
|
+
import * as i33 from "@angular/common";
|
|
33
35
|
/**
|
|
34
36
|
* VisuallyJs Angular module.
|
|
35
37
|
*
|
|
@@ -65,6 +67,6 @@ import * as i31 from "@angular/common";
|
|
|
65
67
|
*/
|
|
66
68
|
export declare class VisuallyJsModule {
|
|
67
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<VisuallyJsModule, never>;
|
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VisuallyJsModule, [typeof i1.DefaultNodeComponent, typeof i2.DefaultGroupComponent, typeof i3.BasePortComponent, typeof i4.MiniviewComponent, typeof i5.SurfaceComponent, typeof i6.PaperComponent, typeof i7.PaletteComponent, typeof i8.ShapePaletteComponent, typeof i9.DiagramPaletteComponent, typeof i10.ShapeComponent, typeof i11.ControlsComponent, typeof i12.EdgeTypePickerComponent, typeof i7.PaletteComponent, typeof i13.ExportControlsComponent, typeof i14.ColorPickerComponent, typeof i15.DiagramComponent, typeof i16.ColumnChartComponent, typeof i17.BarChartComponent, typeof i18.XYChartComponent, typeof i19.LineChartComponent, typeof i20.AreaChartComponent, typeof i21.PieChartComponent, typeof i22.ScatterChartComponent, typeof i23.BubbleChartComponent, typeof i24.SankeyChartComponent, typeof i25.DecoratorComponent, typeof i26.SurfacePopupComponent, typeof i27.BackgroundComponent, typeof i28.ImageBackgroundComponent, typeof i29.GridBackgroundComponent, typeof i30.TiledImageBackgroundComponent], [typeof
|
|
70
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VisuallyJsModule, [typeof i1.DefaultNodeComponent, typeof i2.DefaultGroupComponent, typeof i3.BasePortComponent, typeof i4.MiniviewComponent, typeof i5.SurfaceComponent, typeof i6.PaperComponent, typeof i7.PaletteComponent, typeof i8.ShapePaletteComponent, typeof i9.DiagramPaletteComponent, typeof i10.ShapeComponent, typeof i11.ControlsComponent, typeof i12.EdgeTypePickerComponent, typeof i7.PaletteComponent, typeof i13.ExportControlsComponent, typeof i14.ColorPickerComponent, typeof i15.DiagramComponent, typeof i16.ColumnChartComponent, typeof i17.BarChartComponent, typeof i18.XYChartComponent, typeof i19.LineChartComponent, typeof i20.AreaChartComponent, typeof i21.PieChartComponent, typeof i22.ScatterChartComponent, typeof i23.BubbleChartComponent, typeof i24.SankeyChartComponent, typeof i25.DecoratorComponent, typeof i26.SurfacePopupComponent, typeof i27.BackgroundComponent, typeof i28.ImageBackgroundComponent, typeof i29.GridBackgroundComponent, typeof i30.TiledImageBackgroundComponent, typeof i31.EdgePropertyMappingsInspectorComponent, typeof i32.ShapePropertiesInspectorComponent], [typeof i33.CommonModule], [typeof i4.MiniviewComponent, typeof i5.SurfaceComponent, typeof i6.PaperComponent, typeof i7.PaletteComponent, typeof i9.DiagramPaletteComponent, typeof i10.ShapeComponent, typeof i8.ShapePaletteComponent, typeof i11.ControlsComponent, typeof i13.ExportControlsComponent, typeof i12.EdgeTypePickerComponent, typeof i14.ColorPickerComponent, typeof i15.DiagramComponent, typeof i16.ColumnChartComponent, typeof i17.BarChartComponent, typeof i18.XYChartComponent, typeof i19.LineChartComponent, typeof i20.AreaChartComponent, typeof i21.PieChartComponent, typeof i22.ScatterChartComponent, typeof i23.BubbleChartComponent, typeof i24.SankeyChartComponent, typeof i25.DecoratorComponent, typeof i26.SurfacePopupComponent, typeof i27.BackgroundComponent, typeof i28.ImageBackgroundComponent, typeof i29.GridBackgroundComponent, typeof i30.TiledImageBackgroundComponent, typeof i31.EdgePropertyMappingsInspectorComponent, typeof i32.ShapePropertiesInspectorComponent]>;
|
|
69
71
|
static ɵinj: i0.ɵɵInjectorDeclaration<VisuallyJsModule>;
|
|
70
72
|
}
|
|
@@ -13,20 +13,20 @@ export interface AreaChartComponentOptions extends Omit<AreaChartOptions, "data"
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class AreaChartComponent extends SeriesBasedChartComponent<AreaChart, AreaChartOptions, AreaChartComponentOptions> {
|
|
15
15
|
/**
|
|
16
|
-
* Optional data to load into the chart
|
|
16
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
17
17
|
* @input
|
|
18
18
|
*/
|
|
19
|
-
data
|
|
19
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
20
20
|
/**
|
|
21
|
-
* Optional URL for data to load into the chart
|
|
21
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
22
22
|
* @input
|
|
23
23
|
*/
|
|
24
|
-
url
|
|
24
|
+
url: import("@angular/core").InputSignal<string>;
|
|
25
25
|
/**
|
|
26
|
-
* Options for the chart
|
|
26
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
27
27
|
* @input
|
|
28
28
|
*/
|
|
29
|
-
options: AreaChartOptions
|
|
29
|
+
options: import("@angular/core").InputSignal<AreaChartOptions>;
|
|
30
30
|
/**
|
|
31
31
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
32
32
|
* @input
|
|
@@ -34,5 +34,5 @@ export declare class AreaChartComponent extends SeriesBasedChartComponent<AreaCh
|
|
|
34
34
|
useModel?: boolean;
|
|
35
35
|
createChart(el: BrowserElement, options: AreaChartOptions): AreaChart;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "vjs-area-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "vjs-area-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
38
|
}
|
|
@@ -9,20 +9,20 @@ export interface BarChartComponentOptions extends Omit<BarChartOptions, "data" |
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class BarChartComponent extends SeriesBasedChartComponent<BarChart, BarChartOptions, BarChartComponentOptions> {
|
|
11
11
|
/**
|
|
12
|
-
* Optional data to load into the chart
|
|
12
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
13
13
|
* @input
|
|
14
14
|
*/
|
|
15
|
-
data
|
|
15
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
16
16
|
/**
|
|
17
|
-
* Optional URL for data to load into the chart
|
|
17
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
18
18
|
* @input
|
|
19
19
|
*/
|
|
20
|
-
url
|
|
20
|
+
url: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
|
-
* Options for the chart
|
|
22
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
23
23
|
* @input
|
|
24
24
|
*/
|
|
25
|
-
options: BarChartOptions
|
|
25
|
+
options: import("@angular/core").InputSignal<BarChartOptions>;
|
|
26
26
|
/**
|
|
27
27
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
28
28
|
* @input
|
|
@@ -30,5 +30,5 @@ export declare class BarChartComponent extends SeriesBasedChartComponent<BarChar
|
|
|
30
30
|
useModel?: boolean;
|
|
31
31
|
createChart(el: BrowserElement, options: BarChartOptions): BarChart;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarChartComponent, "vjs-bar-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarChartComponent, "vjs-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -12,20 +12,20 @@ export interface BubbleChartComponentOptions extends Omit<BubbleChartOptions, "d
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class BubbleChartComponent extends SeriesBasedChartComponent<BubbleChart, BubbleChartOptions, BubbleChartComponentOptions> {
|
|
14
14
|
/**
|
|
15
|
-
* Optional data to load into the chart
|
|
15
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
16
16
|
* @input
|
|
17
17
|
*/
|
|
18
|
-
data
|
|
18
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
19
19
|
/**
|
|
20
|
-
* Optional URL for data to load into the chart
|
|
20
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
21
21
|
* @input
|
|
22
22
|
*/
|
|
23
|
-
url
|
|
23
|
+
url: import("@angular/core").InputSignal<string>;
|
|
24
24
|
/**
|
|
25
|
-
* Options for the chart
|
|
25
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
26
26
|
* @input
|
|
27
27
|
*/
|
|
28
|
-
options: BubbleChartOptions
|
|
28
|
+
options: import("@angular/core").InputSignal<BubbleChartOptions>;
|
|
29
29
|
/**
|
|
30
30
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
31
31
|
* @input
|
|
@@ -33,5 +33,5 @@ export declare class BubbleChartComponent extends SeriesBasedChartComponent<Bubb
|
|
|
33
33
|
useModel?: boolean;
|
|
34
34
|
createChart(el: BrowserElement, options: BubbleChartOptions): BubbleChart;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "vjs-bubble-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "vjs-bubble-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -3,6 +3,7 @@ import { SeriesBasedChartComponent } from "./series.based.chart.component";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Options for a column chart.
|
|
6
|
+
* @group Charts
|
|
6
7
|
*/
|
|
7
8
|
export interface ColumnChartComponentOptions extends Omit<ColumnChartOptions, "data" | "url" | "model"> {
|
|
8
9
|
}
|
|
@@ -12,20 +13,20 @@ export interface ColumnChartComponentOptions extends Omit<ColumnChartOptions, "d
|
|
|
12
13
|
*/
|
|
13
14
|
export declare class ColumnChartComponent extends SeriesBasedChartComponent<ColumnChart, ColumnChartOptions, ColumnChartComponentOptions> {
|
|
14
15
|
/**
|
|
15
|
-
* Optional data to load into the chart
|
|
16
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
16
17
|
* @input
|
|
17
18
|
*/
|
|
18
|
-
data
|
|
19
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
19
20
|
/**
|
|
20
|
-
* Optional URL for data to load into the chart
|
|
21
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
21
22
|
* @input
|
|
22
23
|
*/
|
|
23
|
-
url
|
|
24
|
+
url: import("@angular/core").InputSignal<string>;
|
|
24
25
|
/**
|
|
25
|
-
* Options for the chart
|
|
26
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
26
27
|
* @input
|
|
27
28
|
*/
|
|
28
|
-
options: ColumnChartOptions
|
|
29
|
+
options: import("@angular/core").InputSignal<ColumnChartOptions>;
|
|
29
30
|
/**
|
|
30
31
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
31
32
|
* @input
|
|
@@ -33,5 +34,5 @@ export declare class ColumnChartComponent extends SeriesBasedChartComponent<Colu
|
|
|
33
34
|
useModel?: boolean;
|
|
34
35
|
createChart(el: BrowserElement, options: ColumnChartOptions): ColumnChart;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChartComponent, "vjs-column-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChartComponent, "vjs-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
38
|
}
|
|
@@ -13,20 +13,20 @@ export interface LineChartComponentOptions extends Omit<LineChartOptions, "data"
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class LineChartComponent extends SeriesBasedChartComponent<LineChart, LineChartOptions, LineChartComponentOptions> {
|
|
15
15
|
/**
|
|
16
|
-
* Optional data to load into the chart
|
|
16
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
17
17
|
* @input
|
|
18
18
|
*/
|
|
19
|
-
data
|
|
19
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
20
20
|
/**
|
|
21
|
-
* Optional URL for data to load into the chart
|
|
21
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
22
22
|
* @input
|
|
23
23
|
*/
|
|
24
|
-
url
|
|
24
|
+
url: import("@angular/core").InputSignal<string>;
|
|
25
25
|
/**
|
|
26
|
-
* Options for the chart
|
|
26
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
27
27
|
* @input
|
|
28
28
|
*/
|
|
29
|
-
options: LineChartOptions
|
|
29
|
+
options: import("@angular/core").InputSignal<LineChartOptions>;
|
|
30
30
|
/**
|
|
31
31
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
32
32
|
* @input
|
|
@@ -34,5 +34,5 @@ export declare class LineChartComponent extends SeriesBasedChartComponent<LineCh
|
|
|
34
34
|
useModel?: boolean;
|
|
35
35
|
createChart(el: BrowserElement, options: LineChartOptions): LineChart;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "vjs-line-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "vjs-line-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
38
|
}
|
|
@@ -9,20 +9,20 @@ export interface PieChartComponentOptions extends Omit<PieChartOptions, "data" |
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class PieChartComponent extends SeriesBasedChartComponent<PieChart, PieChartOptions, PieChartComponentOptions> {
|
|
11
11
|
/**
|
|
12
|
-
* Optional data to load into the chart
|
|
12
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
13
13
|
* @input
|
|
14
14
|
*/
|
|
15
|
-
data
|
|
15
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
16
16
|
/**
|
|
17
|
-
* Optional URL for data to load into the chart
|
|
17
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
18
18
|
* @input
|
|
19
19
|
*/
|
|
20
|
-
url
|
|
20
|
+
url: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
|
-
* Options for the chart
|
|
22
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
23
23
|
* @input
|
|
24
24
|
*/
|
|
25
|
-
options: PieChartOptions
|
|
25
|
+
options: import("@angular/core").InputSignal<PieChartOptions>;
|
|
26
26
|
/**
|
|
27
27
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
28
28
|
* @input
|
|
@@ -30,5 +30,5 @@ export declare class PieChartComponent extends SeriesBasedChartComponent<PieChar
|
|
|
30
30
|
useModel?: boolean;
|
|
31
31
|
createChart(el: BrowserElement, options: PieChartOptions): PieChart;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "vjs-pie-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "vjs-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -5,25 +5,25 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export interface SankeyChartComponentOptions extends Omit<SankeyOptions, "data" | "url" | "model"> {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* A sankey chart. Data can be sourced from a url
|
|
8
|
+
* A sankey chart. Data can be sourced from a url, a JS object or CSV data, or - if you want to use the chart as part of a dashboard - from the current model provisioned by the VisuallyJsService.
|
|
9
9
|
* @group Charts
|
|
10
10
|
*/
|
|
11
11
|
export declare class SankeyChartComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
12
12
|
/**
|
|
13
|
-
* Optional data to load into the chart (in CSV format)
|
|
13
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically. (in CSV format)
|
|
14
14
|
* @input
|
|
15
15
|
*/
|
|
16
|
-
csvData
|
|
16
|
+
csvData: import("@angular/core").InputSignal<string>;
|
|
17
17
|
/**
|
|
18
|
-
* Optional data to load into the chart (in VisuallyJs default json format)
|
|
18
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically. (in VisuallyJs default json format)
|
|
19
19
|
* @input
|
|
20
20
|
*/
|
|
21
|
-
jsonData
|
|
21
|
+
jsonData: import("@angular/core").InputSignal<VisuallyJsDefaultJSON>;
|
|
22
22
|
/**
|
|
23
|
-
* Optional URL for data to load into the chart
|
|
23
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
24
24
|
* @input
|
|
25
25
|
*/
|
|
26
|
-
url
|
|
26
|
+
url: import("@angular/core").InputSignal<string>;
|
|
27
27
|
/**
|
|
28
28
|
* Whether the chart is interactive.
|
|
29
29
|
* @input
|
|
@@ -35,7 +35,7 @@ export declare class SankeyChartComponent implements AfterViewInit, OnDestroy, O
|
|
|
35
35
|
*/
|
|
36
36
|
pivot?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Options for the chart
|
|
38
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
39
39
|
* @input
|
|
40
40
|
*/
|
|
41
41
|
options: SankeyChartComponentOptions;
|
|
@@ -45,6 +45,9 @@ export declare class SankeyChartComponent implements AfterViewInit, OnDestroy, O
|
|
|
45
45
|
*/
|
|
46
46
|
useModel?: boolean;
|
|
47
47
|
private chart;
|
|
48
|
+
private _dataEffect;
|
|
49
|
+
private _urlEffect;
|
|
50
|
+
private _csvDataEffect;
|
|
48
51
|
$el: ElementRef<any>;
|
|
49
52
|
$ngZone: NgZone;
|
|
50
53
|
$vjs: VisuallyJsService;
|
|
@@ -60,5 +63,5 @@ export declare class SankeyChartComponent implements AfterViewInit, OnDestroy, O
|
|
|
60
63
|
ngOnChanges(changes: SimpleChanges): void;
|
|
61
64
|
ngOnDestroy(): void;
|
|
62
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<SankeyChartComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SankeyChartComponent, "vjs-sankey-chart", never, { "csvData": { "alias": "csvData"; "required": false; }; "jsonData": { "alias": "jsonData"; "required": false; }; "url": { "alias": "url"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "pivot": { "alias": "pivot"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SankeyChartComponent, "vjs-sankey-chart", never, { "csvData": { "alias": "csvData"; "required": false; "isSignal": true; }; "jsonData": { "alias": "jsonData"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; }; "pivot": { "alias": "pivot"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
64
67
|
}
|
|
@@ -9,20 +9,20 @@ export interface ScatterChartComponentOptions extends Omit<ScatterChartOptions,
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ScatterChartComponent extends SeriesBasedChartComponent<ScatterChart, ScatterChartOptions, ScatterChartComponentOptions> {
|
|
11
11
|
/**
|
|
12
|
-
* Optional data to load into the chart
|
|
12
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
13
13
|
* @input
|
|
14
14
|
*/
|
|
15
|
-
data
|
|
15
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
16
16
|
/**
|
|
17
|
-
* Optional URL for data to load into the chart
|
|
17
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
18
18
|
* @input
|
|
19
19
|
*/
|
|
20
|
-
url
|
|
20
|
+
url: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
|
-
* Options for the chart
|
|
22
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
23
23
|
* @input
|
|
24
24
|
*/
|
|
25
|
-
options: ScatterChartOptions
|
|
25
|
+
options: import("@angular/core").InputSignal<ScatterChartOptions>;
|
|
26
26
|
/**
|
|
27
27
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
28
28
|
* @input
|
|
@@ -30,5 +30,5 @@ export declare class ScatterChartComponent extends SeriesBasedChartComponent<Sca
|
|
|
30
30
|
useModel?: boolean;
|
|
31
31
|
createChart(el: BrowserElement, options: ScatterChartOptions): ScatterChart;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChartComponent, "vjs-scatter-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChartComponent, "vjs-scatter-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -8,26 +8,29 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare abstract class SeriesBasedChartComponent<T extends SeriesBasedChart<O>, O, CO> implements AfterViewInit, OnDestroy {
|
|
10
10
|
/**
|
|
11
|
-
* Optional data to load into the chart
|
|
11
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
12
12
|
* @input
|
|
13
13
|
*/
|
|
14
|
-
data
|
|
14
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
15
15
|
/**
|
|
16
|
-
* Optional URL for data to load into the chart
|
|
16
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
17
17
|
* @input
|
|
18
18
|
*/
|
|
19
|
-
url
|
|
19
|
+
url: import("@angular/core").InputSignal<string>;
|
|
20
20
|
/**
|
|
21
|
-
* Options for the chart
|
|
21
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
22
22
|
* @input
|
|
23
23
|
*/
|
|
24
|
-
options: CO
|
|
24
|
+
options: import("@angular/core").InputSignal<CO>;
|
|
25
25
|
/**
|
|
26
26
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
27
27
|
* @input
|
|
28
28
|
*/
|
|
29
29
|
useModel?: boolean;
|
|
30
30
|
private chart;
|
|
31
|
+
private _dataEffect;
|
|
32
|
+
private _urlEffect;
|
|
33
|
+
private _optionsEffect;
|
|
31
34
|
$el: ElementRef<any>;
|
|
32
35
|
$ngZone: NgZone;
|
|
33
36
|
$vjs: VisuallyJsService;
|
|
@@ -9,20 +9,20 @@ export interface XYChartComponentOptions extends Omit<CategoryValueChartOptions,
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class XYChartComponent extends SeriesBasedChartComponent<CategoryValueChart, CategoryValueChartOptions, XYChartComponentOptions> {
|
|
11
11
|
/**
|
|
12
|
-
* Optional data to load into the chart
|
|
12
|
+
* Optional data to load into the chart. This is reactive and can be updated dynamically.
|
|
13
13
|
* @input
|
|
14
14
|
*/
|
|
15
|
-
data
|
|
15
|
+
data: import("@angular/core").InputSignal<ObjectData[]>;
|
|
16
16
|
/**
|
|
17
|
-
* Optional URL for data to load into the chart
|
|
17
|
+
* Optional URL for data to load into the chart. This is reactive and can be updated dynamically.
|
|
18
18
|
* @input
|
|
19
19
|
*/
|
|
20
|
-
url
|
|
20
|
+
url: import("@angular/core").InputSignal<string>;
|
|
21
21
|
/**
|
|
22
|
-
* Options for the chart
|
|
22
|
+
* Options for the chart. This is reactive and can be updated dynamically.
|
|
23
23
|
* @input
|
|
24
24
|
*/
|
|
25
|
-
options: CategoryValueChartOptions
|
|
25
|
+
options: import("@angular/core").InputSignal<CategoryValueChartOptions>;
|
|
26
26
|
/**
|
|
27
27
|
* If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.
|
|
28
28
|
* @input
|
|
@@ -30,5 +30,5 @@ export declare class XYChartComponent extends SeriesBasedChartComponent<Category
|
|
|
30
30
|
useModel?: boolean;
|
|
31
31
|
createChart(el: BrowserElement, options: CategoryValueChartOptions): CategoryValueChart;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<XYChartComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XYChartComponent, "vjs-xy-chart", never, { "data": { "alias": "data"; "required": false; }; "url": { "alias": "url"; "required": false; }; "options": { "alias": "options"; "required": false; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XYChartComponent, "vjs-xy-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "useModel": { "alias": "useModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -3,11 +3,7 @@ import { ControlsComponentButtons, BrowserElement, BrowserUI } from "@visuallyjs
|
|
|
3
3
|
import { VisuallyJsService } from "./vjs-service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
* This component was written for the Visually JS demonstration applications.
|
|
7
|
-
* angular integration as it may provide a useful base on which to build your own. Out of the box this is "production ready",
|
|
8
|
-
* but it does assume that either you're including the `visuallyjs.css` stylesheet in your cascade,
|
|
9
|
-
* or you've pulled out the relevant styles from that stylesheet. Also note that the default prompt for users when they
|
|
10
|
-
* press the 'clear' button is in English, as are the button tooltips.
|
|
6
|
+
* This component was written for the Visually JS demonstration applications. Out of the box this is "production ready", but it does assume that either you're including the `visuallyjs.css` stylesheet in your cascade, or you've pulled out the relevant styles from that stylesheet. Also note that the default prompt for users when they press the 'clear' button is in English, as are the button tooltips.
|
|
11
7
|
* @group Components
|
|
12
8
|
*/
|
|
13
9
|
export declare class ControlsComponent {
|
|
@@ -96,7 +96,7 @@ export declare class DiagramPaletteComponent implements AfterViewInit {
|
|
|
96
96
|
* Whether or not to allow drop on edge. Defaults to false.
|
|
97
97
|
* @input
|
|
98
98
|
*/
|
|
99
|
-
allowDropOnEdge?: boolean | CanDropOnEdgeFilter
|
|
99
|
+
allowDropOnEdge?: boolean | CanDropOnEdgeFilter;
|
|
100
100
|
/**
|
|
101
101
|
* Whether or not to allow rotation of elements being dragged. Defaults to true.
|
|
102
102
|
* @input
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EdgeMapping, EdgePropertyMappings, PropertyMapping } from "@visuallyjs/browser-ui";
|
|
2
|
+
import { VisuallyJsService } from "./vjs-service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A component that provides a form for managing edge properties from the installed edge property mappings.
|
|
6
|
+
* @group Components
|
|
7
|
+
*/
|
|
8
|
+
export declare class EdgePropertyMappingsInspectorComponent {
|
|
9
|
+
/**
|
|
10
|
+
* Optional, you can implement this method to return your own names to use for properties in the inspector.
|
|
11
|
+
* @input
|
|
12
|
+
*/
|
|
13
|
+
getPropertyName?: (pm: PropertyMapping<EdgeMapping>) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional, whether or not to show property names. Defaults to true.
|
|
16
|
+
* @input
|
|
17
|
+
*/
|
|
18
|
+
showName?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Optional class name to use on the wrapper div. Defaults to `vjs-inspector-section`.
|
|
21
|
+
* @input
|
|
22
|
+
*/
|
|
23
|
+
cssClass?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional property mappings to render a form for. The default behaviour is to retrieve the property mappings from the inspector context
|
|
26
|
+
* @input
|
|
27
|
+
*/
|
|
28
|
+
mappings?: EdgePropertyMappings;
|
|
29
|
+
$vjs: VisuallyJsService;
|
|
30
|
+
_inspector: import("@angular/core").WritableSignal<import("@visuallyjs/browser-ui").Inspector>;
|
|
31
|
+
get cls(): string;
|
|
32
|
+
resolveMappings(): EdgePropertyMappings;
|
|
33
|
+
private toList;
|
|
34
|
+
getPropertyKey(pm: PropertyMapping<EdgeMapping>): string;
|
|
35
|
+
getName(pm: PropertyMapping<EdgeMapping>): string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EdgePropertyMappingsInspectorComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EdgePropertyMappingsInspectorComponent, "vjs-edge-properties-inspector", never, { "getPropertyName": { "alias": "getPropertyName"; "required": false; }; "showName": { "alias": "showName"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "mappings": { "alias": "mappings"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
/**
|
|
6
6
|
* @group Components
|
|
7
7
|
*/
|
|
8
|
-
export declare class PaletteComponent
|
|
8
|
+
export declare class PaletteComponent {
|
|
9
9
|
$vjs: VisuallyJsService;
|
|
10
10
|
$el: ElementRef<any>;
|
|
11
11
|
$surface: import("@angular/core").WritableSignal<import("@visuallyjs/browser-ui").Surface>;
|
|
@@ -19,26 +19,26 @@ export declare class PaletteComponent<T> {
|
|
|
19
19
|
* Function to use to generate an initial payload when the user starts to drag something from this component, or taps on an item in tap/draw mode. Optional, and if omitted Visually JS will use a default data generator that extracts data values from any `data-vjs-***` attributes on the element being dragged.
|
|
20
20
|
* @input
|
|
21
21
|
*/
|
|
22
|
-
dataGenerator?: DataGeneratorFunction
|
|
22
|
+
dataGenerator?: DataGeneratorFunction;
|
|
23
23
|
/**
|
|
24
24
|
* Optional function to use to determine the type of object that a user has just started dragging or tapped on
|
|
25
25
|
* @input
|
|
26
26
|
*/
|
|
27
|
-
typeGenerator?: TypeGeneratorFunction
|
|
27
|
+
typeGenerator?: TypeGeneratorFunction;
|
|
28
28
|
/**
|
|
29
29
|
* Optional function to use to determine if the object that is being dragged represents a group. If this function is present, and returns true, then the drag object is considered to be a group. In all other cases the drag object is considered to be a node.
|
|
30
30
|
* @input
|
|
31
31
|
*/
|
|
32
|
-
groupIdentifier?: GroupIdentifierFunction
|
|
32
|
+
groupIdentifier?: GroupIdentifierFunction;
|
|
33
33
|
/**
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
|
-
palette: Palette
|
|
36
|
+
palette: Palette;
|
|
37
37
|
/**
|
|
38
38
|
* Defaults to true. Allows items to be dropped onto edges in the canvas.
|
|
39
39
|
* @input
|
|
40
40
|
*/
|
|
41
|
-
allowDropOnEdge?: boolean | CanDropOnEdgeFilter
|
|
41
|
+
allowDropOnEdge?: boolean | CanDropOnEdgeFilter;
|
|
42
42
|
/**
|
|
43
43
|
* Defaults to true. Allows items to be dropped onto groups in the canvas.
|
|
44
44
|
* @input
|
|
@@ -68,7 +68,7 @@ export declare class PaletteComponent<T> {
|
|
|
68
68
|
* Optional filter to test if objects may be dropped on the canvas. This method is invoked at the start of a drag and is passed the candidate drag object's data.
|
|
69
69
|
* @input
|
|
70
70
|
*/
|
|
71
|
-
canvasDropFilter?: CanvasDropFilter
|
|
71
|
+
canvasDropFilter?: CanvasDropFilter;
|
|
72
72
|
/**
|
|
73
73
|
* Mode to use - drag or tap. Defaults to drag.
|
|
74
74
|
* @input
|
|
@@ -101,6 +101,6 @@ export declare class PaletteComponent<T> {
|
|
|
101
101
|
*/
|
|
102
102
|
autoEdgeConnect?: boolean | AutoEdgeConnectOptions;
|
|
103
103
|
constructor();
|
|
104
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaletteComponent
|
|
105
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PaletteComponent
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaletteComponent, never>;
|
|
105
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaletteComponent, "[vjs-palette]", never, { "selector": { "alias": "selector"; "required": false; }; "dataGenerator": { "alias": "dataGenerator"; "required": false; }; "typeGenerator": { "alias": "typeGenerator"; "required": false; }; "groupIdentifier": { "alias": "groupIdentifier"; "required": false; }; "allowDropOnEdge": { "alias": "allowDropOnEdge"; "required": false; }; "allowDropOnGroup": { "alias": "allowDropOnGroup"; "required": false; }; "allowDropOnCanvas": { "alias": "allowDropOnCanvas"; "required": false; }; "allowDropOnNode": { "alias": "allowDropOnNode"; "required": false; }; "onVertexAdded": { "alias": "onVertexAdded"; "required": false; }; "dragSize": { "alias": "dragSize"; "required": false; }; "canvasDropFilter": { "alias": "canvasDropFilter"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "selectAfterAdd": { "alias": "selectAfterAdd"; "required": false; }; "allowClickToAdd": { "alias": "allowClickToAdd"; "required": false; }; "clickToAddOnly": { "alias": "clickToAddOnly"; "required": false; }; "allowRotation": { "alias": "allowRotation"; "required": false; }; "rotationSpeed": { "alias": "rotationSpeed"; "required": false; }; "autoEdgeConnect": { "alias": "autoEdgeConnect"; "required": false; }; }, {}, never, never, false, never>;
|
|
106
106
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ShapePropertyValueDefinition, Vertex, Inspector, RealisedShapeType } from "@visuallyjs/browser-ui";
|
|
2
|
+
import { VisuallyJsService } from "./vjs-service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Inspector for the properties of a shape.
|
|
6
|
+
* @group Components
|
|
7
|
+
*/
|
|
8
|
+
export declare class ShapePropertiesInspectorComponent {
|
|
9
|
+
/**
|
|
10
|
+
* vertex to inspector
|
|
11
|
+
* @input
|
|
12
|
+
*/
|
|
13
|
+
vertex: Vertex | null;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum number of radio buttons to show for a value list before switching to a select dropdown. Defaults to 7.
|
|
16
|
+
* @input
|
|
17
|
+
*/
|
|
18
|
+
maxRadios?: number;
|
|
19
|
+
$vjs: VisuallyJsService;
|
|
20
|
+
_inspector: import("@angular/core").WritableSignal<Inspector>;
|
|
21
|
+
private readonly _inspectorRevision;
|
|
22
|
+
private readonly _inspectorChangeListener;
|
|
23
|
+
private readonly _inspectorChangeEffect;
|
|
24
|
+
get currentMaxRadios(): number;
|
|
25
|
+
get shapeDef(): RealisedShapeType | null;
|
|
26
|
+
getBooleanLabel(prop: any, value: boolean): string;
|
|
27
|
+
getShapePropertyValueLabel(v: string | ShapePropertyValueDefinition): string;
|
|
28
|
+
getShapePropertyValueValue(v: string | ShapePropertyValueDefinition): string;
|
|
29
|
+
getPropertyDisplayValue(prop: any): string;
|
|
30
|
+
isBoolean(prop: any): boolean;
|
|
31
|
+
hasValues(prop: any): boolean;
|
|
32
|
+
useRadio(prop: any): boolean;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShapePropertiesInspectorComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShapePropertiesInspectorComponent, "vjs-shape-properties-inspector", never, { "vertex": { "alias": "vertex"; "required": false; }; "maxRadios": { "alias": "maxRadios"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { Size, DataGeneratorFunction, OnVertexAddedCallback, PreparedShape, AutoEdgeConnectOptions, CanDropOnEdgeFilter } from "@visuallyjs/browser-ui";
|
|
3
3
|
import { VisuallyJsService } from "./vjs-service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -56,7 +56,7 @@ export declare class ShapePaletteComponent {
|
|
|
56
56
|
* Optional function you can use to set some initial data for an element being dragged. Note that you cannot override the object's `type` with this function.
|
|
57
57
|
* @input
|
|
58
58
|
*/
|
|
59
|
-
dataGenerator?: DataGeneratorFunction
|
|
59
|
+
dataGenerator?: DataGeneratorFunction;
|
|
60
60
|
/**
|
|
61
61
|
* Optional set of prepared shapes to show in the palette. When this is provided, the palette will only render these shapes, and not the contents of the shape library.
|
|
62
62
|
* @input
|
|
@@ -66,7 +66,7 @@ export declare class ShapePaletteComponent {
|
|
|
66
66
|
* Whether or not to allow drop on edge. Defaults to false.
|
|
67
67
|
* @input
|
|
68
68
|
*/
|
|
69
|
-
allowDropOnEdge?: boolean | CanDropOnEdgeFilter
|
|
69
|
+
allowDropOnEdge?: boolean | CanDropOnEdgeFilter;
|
|
70
70
|
/**
|
|
71
71
|
* Whether or not to allow rotation of elements being dragged. Defaults to true.
|
|
72
72
|
* @input
|