stickyflow 0.8.0 → 0.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 (63) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/dist/binding/index.cjs +9 -9
  4. package/dist/binding/index.d.cts +4 -4
  5. package/dist/binding/index.d.ts +4 -4
  6. package/dist/binding/index.js +3 -3
  7. package/dist/{chunk-XPM3E7NV.cjs → chunk-B3YRZVMR.cjs} +23 -23
  8. package/dist/chunk-B3YRZVMR.cjs.map +1 -0
  9. package/dist/{chunk-CZW3ARXQ.js → chunk-BUVUJMWT.js} +5 -5
  10. package/dist/chunk-BUVUJMWT.js.map +1 -0
  11. package/dist/{chunk-LFEGZJWC.js → chunk-CM35H45Z.js} +3 -3
  12. package/dist/{chunk-LFEGZJWC.js.map → chunk-CM35H45Z.js.map} +1 -1
  13. package/dist/{chunk-GLZVHUSW.js → chunk-D2266VBZ.js} +393 -5
  14. package/dist/chunk-D2266VBZ.js.map +1 -0
  15. package/dist/{chunk-MAPNY7MJ.js → chunk-FS6L462E.js} +128 -15
  16. package/dist/chunk-FS6L462E.js.map +1 -0
  17. package/dist/{chunk-FQ7GMLCM.cjs → chunk-OUWGWDJ2.cjs} +15 -15
  18. package/dist/{chunk-FQ7GMLCM.cjs.map → chunk-OUWGWDJ2.cjs.map} +1 -1
  19. package/dist/{chunk-LNW5VIEA.cjs → chunk-QL7MNEMT.cjs} +393 -4
  20. package/dist/chunk-QL7MNEMT.cjs.map +1 -0
  21. package/dist/{chunk-IR2T47NW.cjs → chunk-SQBF2BKT.cjs} +257 -75
  22. package/dist/chunk-SQBF2BKT.cjs.map +1 -0
  23. package/dist/{chunk-VOYX6JMW.cjs → chunk-YSXD5IVZ.cjs} +778 -665
  24. package/dist/chunk-YSXD5IVZ.cjs.map +1 -0
  25. package/dist/{chunk-EDOPENSE.js → chunk-ZCGZJBAT.js} +228 -46
  26. package/dist/chunk-ZCGZJBAT.js.map +1 -0
  27. package/dist/index.cjs +36 -36
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +5 -5
  31. package/dist/interaction/index.cjs +232 -230
  32. package/dist/interaction/index.cjs.map +1 -1
  33. package/dist/interaction/index.d.cts +2 -2
  34. package/dist/interaction/index.d.ts +2 -2
  35. package/dist/interaction/index.js +4 -2
  36. package/dist/interaction/index.js.map +1 -1
  37. package/dist/{render-Bp2FLEzv.d.cts → render-DU4lYbRl.d.cts} +19 -11
  38. package/dist/{render-Bp2FLEzv.d.ts → render-DU4lYbRl.d.ts} +19 -11
  39. package/dist/{runtime-DIag-XBa.d.cts → runtime-DG8X3Fwf.d.cts} +2 -2
  40. package/dist/{runtime-CWIGxRcL.d.ts → runtime-kqD1RS17.d.ts} +2 -2
  41. package/dist/{runtimeTypes-C7sSLfOK.d.ts → runtimeTypes-CvjlBZds.d.cts} +7 -3
  42. package/dist/{runtimeTypes-BYODuxHk.d.cts → runtimeTypes-vRaHOIHi.d.ts} +7 -3
  43. package/dist/stickyflow-diagram.global.js +192 -40
  44. package/dist/stickyflow-diagram.global.js.map +1 -1
  45. package/dist/{types-D2w6D_wG.d.cts → types-B5jrEEcF.d.cts} +1 -1
  46. package/dist/{types-B9QM_H3R.d.ts → types-B7IkZ0w4.d.ts} +1 -1
  47. package/dist/viewer/index.cjs +9 -9
  48. package/dist/viewer/index.d.cts +4 -4
  49. package/dist/viewer/index.d.ts +4 -4
  50. package/dist/viewer/index.js +4 -4
  51. package/dist/web-component/index.cjs +6 -6
  52. package/dist/web-component/index.d.cts +2 -2
  53. package/dist/web-component/index.d.ts +2 -2
  54. package/dist/web-component/index.js +4 -4
  55. package/package.json +1 -1
  56. package/dist/chunk-CZW3ARXQ.js.map +0 -1
  57. package/dist/chunk-EDOPENSE.js.map +0 -1
  58. package/dist/chunk-GLZVHUSW.js.map +0 -1
  59. package/dist/chunk-IR2T47NW.cjs.map +0 -1
  60. package/dist/chunk-LNW5VIEA.cjs.map +0 -1
  61. package/dist/chunk-MAPNY7MJ.js.map +0 -1
  62. package/dist/chunk-VOYX6JMW.cjs.map +0 -1
  63. package/dist/chunk-XPM3E7NV.cjs.map +0 -1
@@ -608,6 +608,7 @@ interface Frame {
608
608
  showLabel: boolean;
609
609
  labelPosition?: 'top' | 'bottom' | 'left' | 'right';
610
610
  shadow?: boolean;
611
+ clip?: boolean;
611
612
  layerGroup?: string;
612
613
  orderKey?: string;
613
614
  order?: number;
@@ -635,6 +636,7 @@ interface IsometricObject {
635
636
  strokeColor?: string;
636
637
  strokeWidth?: number;
637
638
  cornerRadius?: number;
639
+ seams?: boolean;
638
640
  hasShadow?: boolean;
639
641
  shadowStyle?: ShadowStyle;
640
642
  labelOffsetX?: number;
@@ -767,6 +769,8 @@ interface Shape {
767
769
  dash?: number[];
768
770
  strokeStyle?: ShapeStrokeStyle;
769
771
  opacity?: number;
772
+ blur?: number;
773
+ blend?: string;
770
774
  hasShadow?: boolean;
771
775
  shadowStyle?: ShadowStyle;
772
776
  layerGroup?: string;
@@ -892,19 +896,23 @@ interface SceneStyle {
892
896
  dy: number;
893
897
  };
894
898
  blur?: number;
899
+ blend?: string;
895
900
  saturate?: number;
896
- clip?: {
897
- type: 'rect';
898
- x: number;
899
- y: number;
900
- width: number;
901
- height: number;
902
- rx: number;
903
- } | {
904
- type: 'path';
905
- d: string;
906
- };
901
+ clip?: SceneClip;
907
902
  }
903
+ type SceneClip = ({
904
+ type: 'rect';
905
+ x: number;
906
+ y: number;
907
+ width: number;
908
+ height: number;
909
+ rx: number;
910
+ } | {
911
+ type: 'path';
912
+ d: string;
913
+ }) & {
914
+ within?: SceneClip;
915
+ };
908
916
  type SceneRole = 'shape' | 'link' | 'frame' | 'swimlane' | 'path' | 'chart' | 'widget' | 'isometric' | 'dimension';
909
917
  interface SceneAria {
910
918
  role: string;
@@ -608,6 +608,7 @@ interface Frame {
608
608
  showLabel: boolean;
609
609
  labelPosition?: 'top' | 'bottom' | 'left' | 'right';
610
610
  shadow?: boolean;
611
+ clip?: boolean;
611
612
  layerGroup?: string;
612
613
  orderKey?: string;
613
614
  order?: number;
@@ -635,6 +636,7 @@ interface IsometricObject {
635
636
  strokeColor?: string;
636
637
  strokeWidth?: number;
637
638
  cornerRadius?: number;
639
+ seams?: boolean;
638
640
  hasShadow?: boolean;
639
641
  shadowStyle?: ShadowStyle;
640
642
  labelOffsetX?: number;
@@ -767,6 +769,8 @@ interface Shape {
767
769
  dash?: number[];
768
770
  strokeStyle?: ShapeStrokeStyle;
769
771
  opacity?: number;
772
+ blur?: number;
773
+ blend?: string;
770
774
  hasShadow?: boolean;
771
775
  shadowStyle?: ShadowStyle;
772
776
  layerGroup?: string;
@@ -892,19 +896,23 @@ interface SceneStyle {
892
896
  dy: number;
893
897
  };
894
898
  blur?: number;
899
+ blend?: string;
895
900
  saturate?: number;
896
- clip?: {
897
- type: 'rect';
898
- x: number;
899
- y: number;
900
- width: number;
901
- height: number;
902
- rx: number;
903
- } | {
904
- type: 'path';
905
- d: string;
906
- };
901
+ clip?: SceneClip;
907
902
  }
903
+ type SceneClip = ({
904
+ type: 'rect';
905
+ x: number;
906
+ y: number;
907
+ width: number;
908
+ height: number;
909
+ rx: number;
910
+ } | {
911
+ type: 'path';
912
+ d: string;
913
+ }) & {
914
+ within?: SceneClip;
915
+ };
908
916
  type SceneRole = 'shape' | 'link' | 'frame' | 'swimlane' | 'path' | 'chart' | 'widget' | 'isometric' | 'dimension';
909
917
  interface SceneAria {
910
918
  role: string;
@@ -1,5 +1,5 @@
1
- import { J as RenderOptions, K as RenderResult } from './render-Bp2FLEzv.cjs';
2
- import { R as Row, c as BindingRuntimeOptions, b as BindingRuntime } from './runtimeTypes-BYODuxHk.cjs';
1
+ import { J as RenderOptions, K as RenderResult } from './render-DU4lYbRl.cjs';
2
+ import { R as Row, c as BindingRuntimeOptions, b as BindingRuntime } from './runtimeTypes-CvjlBZds.cjs';
3
3
 
4
4
  declare function createBindingRuntime(sfl: string, options?: BindingRuntimeOptions): BindingRuntime;
5
5
  interface RenderBoundOptions extends RenderOptions {
@@ -1,5 +1,5 @@
1
- import { J as RenderOptions, K as RenderResult } from './render-Bp2FLEzv.js';
2
- import { R as Row, c as BindingRuntimeOptions, b as BindingRuntime } from './runtimeTypes-C7sSLfOK.js';
1
+ import { J as RenderOptions, K as RenderResult } from './render-DU4lYbRl.js';
2
+ import { R as Row, c as BindingRuntimeOptions, b as BindingRuntime } from './runtimeTypes-vRaHOIHi.js';
3
3
 
4
4
  declare function createBindingRuntime(sfl: string, options?: BindingRuntimeOptions): BindingRuntime;
5
5
  interface RenderBoundOptions extends RenderOptions {
@@ -1,6 +1,6 @@
1
- import { e as RenderInput, x as ComponentValue, K as RenderResult, J as RenderOptions } from './render-Bp2FLEzv.js';
1
+ import { e as RenderInput, x as ComponentValue, K as RenderResult, J as RenderOptions } from './render-DU4lYbRl.cjs';
2
2
 
3
- declare const NAMED_BLOCK_KINDS: readonly ["Project", "Model", "Group", "Entity", "Container", "Path", "Chart", "Widget", "Component", "Shape", "Text", "Isometric", "Dimension", "Link", "Connection", "Layout", "Style", "Shader", "Axis", "Series", "Rule", "Net", "Symbol", "Port", "DataSource"];
3
+ declare const NAMED_BLOCK_KINDS: readonly ["Project", "Model", "Group", "Entity", "Container", "Path", "Chart", "Widget", "Component", "Shape", "Text", "Isometric", "Dimension", "Link", "Connection", "Layout", "Style", "Shader", "Axis", "Series", "Rule", "Net", "Symbol", "Port", "DataSource", "Repeat"];
4
4
  type NamedBlockKind = (typeof NAMED_BLOCK_KINDS)[number];
5
5
  type BlockKind = NamedBlockKind | 'data';
6
6
  type Side = 'top' | 'bottom' | 'left' | 'right';
@@ -97,7 +97,11 @@ interface SflStyle {
97
97
  properties: SflProperty[];
98
98
  bindings?: SflBinding[];
99
99
  }
100
- type SflValue = SflStringValue | SflNumberValue | SflTupleValue | SflListValue | SflIdentValue | SflEndpointValue;
100
+ type SflValue = SflStringValue | SflNumberValue | SflTupleValue | SflListValue | SflIdentValue | SflEndpointValue | SflExprValue;
101
+ interface SflExprValue {
102
+ type: 'expr';
103
+ items: SflExpr[];
104
+ }
101
105
  interface SflStringValue {
102
106
  type: 'string';
103
107
  value: string;
@@ -1,6 +1,6 @@
1
- import { e as RenderInput, x as ComponentValue, K as RenderResult, J as RenderOptions } from './render-Bp2FLEzv.cjs';
1
+ import { e as RenderInput, x as ComponentValue, K as RenderResult, J as RenderOptions } from './render-DU4lYbRl.js';
2
2
 
3
- declare const NAMED_BLOCK_KINDS: readonly ["Project", "Model", "Group", "Entity", "Container", "Path", "Chart", "Widget", "Component", "Shape", "Text", "Isometric", "Dimension", "Link", "Connection", "Layout", "Style", "Shader", "Axis", "Series", "Rule", "Net", "Symbol", "Port", "DataSource"];
3
+ declare const NAMED_BLOCK_KINDS: readonly ["Project", "Model", "Group", "Entity", "Container", "Path", "Chart", "Widget", "Component", "Shape", "Text", "Isometric", "Dimension", "Link", "Connection", "Layout", "Style", "Shader", "Axis", "Series", "Rule", "Net", "Symbol", "Port", "DataSource", "Repeat"];
4
4
  type NamedBlockKind = (typeof NAMED_BLOCK_KINDS)[number];
5
5
  type BlockKind = NamedBlockKind | 'data';
6
6
  type Side = 'top' | 'bottom' | 'left' | 'right';
@@ -97,7 +97,11 @@ interface SflStyle {
97
97
  properties: SflProperty[];
98
98
  bindings?: SflBinding[];
99
99
  }
100
- type SflValue = SflStringValue | SflNumberValue | SflTupleValue | SflListValue | SflIdentValue | SflEndpointValue;
100
+ type SflValue = SflStringValue | SflNumberValue | SflTupleValue | SflListValue | SflIdentValue | SflEndpointValue | SflExprValue;
101
+ interface SflExprValue {
102
+ type: 'expr';
103
+ items: SflExpr[];
104
+ }
101
105
  interface SflStringValue {
102
106
  type: 'string';
103
107
  value: string;