@visuallyjs/browser-ui-angular 1.2.5 → 1.2.7

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 (40) hide show
  1. package/esm2022/index.mjs +2 -0
  2. package/esm2022/lib/browser-ui-angular.module.mjs +14 -4
  3. package/esm2022/lib/charts/area.chart.component.mjs +12 -9
  4. package/esm2022/lib/charts/bar.chart.component.mjs +12 -9
  5. package/esm2022/lib/charts/bubble.chart.component.mjs +12 -9
  6. package/esm2022/lib/charts/column.chart.component.mjs +12 -9
  7. package/esm2022/lib/charts/line.chart.component.mjs +12 -9
  8. package/esm2022/lib/charts/pie.chart.component.mjs +12 -9
  9. package/esm2022/lib/charts/sankey.chart.component.mjs +36 -10
  10. package/esm2022/lib/charts/scatter.chart.component.mjs +12 -9
  11. package/esm2022/lib/charts/series.based.chart.component.mjs +43 -10
  12. package/esm2022/lib/charts/xy.chart.component.mjs +12 -9
  13. package/esm2022/lib/controls-component.mjs +2 -2
  14. package/esm2022/lib/edge.property.mappings.inspector.component.mjs +69 -0
  15. package/esm2022/lib/edge.type.picker.component.mjs +1 -0
  16. package/esm2022/lib/shape-properties-inspector.component.mjs +214 -0
  17. package/esm2022/lib/shape.component.mjs +6 -2
  18. package/fesm2022/visuallyjs-browser-ui-angular.mjs +465 -93
  19. package/fesm2022/visuallyjs-browser-ui-angular.mjs.map +1 -1
  20. package/index.d.ts +2 -0
  21. package/lib/browser-ui-angular.module.d.ts +4 -2
  22. package/lib/charts/area.chart.component.d.ts +7 -7
  23. package/lib/charts/bar.chart.component.d.ts +7 -7
  24. package/lib/charts/bubble.chart.component.d.ts +7 -7
  25. package/lib/charts/column.chart.component.d.ts +8 -7
  26. package/lib/charts/line.chart.component.d.ts +7 -7
  27. package/lib/charts/pie.chart.component.d.ts +7 -7
  28. package/lib/charts/sankey.chart.component.d.ts +12 -9
  29. package/lib/charts/scatter.chart.component.d.ts +7 -7
  30. package/lib/charts/series.based.chart.component.d.ts +9 -6
  31. package/lib/charts/xy.chart.component.d.ts +7 -7
  32. package/lib/controls-component.d.ts +1 -5
  33. package/lib/diagram-palette-component.d.ts +1 -1
  34. package/lib/edge.property.mappings.inspector.component.d.ts +38 -0
  35. package/lib/palette.component.d.ts +9 -9
  36. package/lib/shape-properties-inspector.component.d.ts +31 -0
  37. package/lib/shape.component.d.ts +6 -2
  38. package/lib/shape.palette.component.d.ts +3 -3
  39. package/package.json +2 -2
  40. package/visuallyjs-browser-ui-angular.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ElementRef } from "@angular/core";
2
- import { ObjectData, Size, DataGeneratorFunction, OnVertexAddedCallback, PreparedShape, AutoEdgeConnectOptions, CanDropOnEdgeFilter } from "@visuallyjs/browser-ui";
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<ObjectData>;
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<any>;
69
+ allowDropOnEdge?: boolean | CanDropOnEdgeFilter;
70
70
  /**
71
71
  * Whether or not to allow rotation of elements being dragged. Defaults to true.
72
72
  * @input
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@visuallyjs/browser-ui-angular",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "*",
6
6
  "@angular/core": "*"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.0.0",
10
- "@visuallyjs/browser-ui": "1.2.5"
10
+ "@visuallyjs/browser-ui": "1.2.7"
11
11
  },
12
12
  "exports": {
13
13
  "./css/visuallyjs-angular.css": {
Binary file