stickyflow 0.2.0 → 0.4.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.
- package/CHANGELOG.md +38 -0
- package/README.md +1 -1
- package/dist/{chunk-KFJIFHXG.js → chunk-65IVT4GK.js} +475 -199
- package/dist/chunk-65IVT4GK.js.map +1 -0
- package/dist/{chunk-6JKNT2YC.js → chunk-BYMIYXP5.js} +17 -7
- package/dist/chunk-BYMIYXP5.js.map +1 -0
- package/dist/{chunk-N6WVHOUQ.js → chunk-CSXQD3ON.js} +28 -15
- package/dist/chunk-CSXQD3ON.js.map +1 -0
- package/dist/{chunk-YM3XFBI4.cjs → chunk-CXL254BT.cjs} +17 -6
- package/dist/chunk-CXL254BT.cjs.map +1 -0
- package/dist/{chunk-S5BVAAEF.cjs → chunk-DDCTNLLD.cjs} +989 -713
- package/dist/chunk-DDCTNLLD.cjs.map +1 -0
- package/dist/{chunk-34PK7HEU.cjs → chunk-HFOGKSNU.cjs} +18 -18
- package/dist/{chunk-34PK7HEU.cjs.map → chunk-HFOGKSNU.cjs.map} +1 -1
- package/dist/{chunk-IIOJFR73.cjs → chunk-UXDWH2JC.cjs} +56 -43
- package/dist/chunk-UXDWH2JC.cjs.map +1 -0
- package/dist/{chunk-6LQJUAD4.js → chunk-XEN5QIIJ.js} +6 -6
- package/dist/{chunk-6LQJUAD4.js.map → chunk-XEN5QIIJ.js.map} +1 -1
- package/dist/index.cjs +24 -24
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/interaction/index.cjs +780 -382
- package/dist/interaction/index.cjs.map +1 -1
- package/dist/interaction/index.d.cts +12 -3
- package/dist/interaction/index.d.ts +12 -3
- package/dist/interaction/index.js +562 -165
- package/dist/interaction/index.js.map +1 -1
- package/dist/{render-r1GYvjNm.d.cts → render-C5X74hds.d.cts} +75 -4
- package/dist/{render-r1GYvjNm.d.ts → render-C5X74hds.d.ts} +75 -4
- package/dist/{runtimeTypes-ByiafBwg.d.ts → runtimeTypes-D8hPZ62T.d.ts} +1 -1
- package/dist/{runtimeTypes-DwLeD-em.d.cts → runtimeTypes-yTSAvtCn.d.cts} +1 -1
- package/dist/stickyflow-diagram.global.js +37 -35
- package/dist/stickyflow-diagram.global.js.map +1 -1
- package/dist/{types-T7W2yTQF.d.cts → types-BDKDf4zr.d.cts} +1 -1
- package/dist/{types-ndGA1kbl.d.ts → types-CdgGdtoD.d.ts} +1 -1
- package/dist/viewer/index.cjs +9 -9
- package/dist/viewer/index.d.cts +4 -4
- package/dist/viewer/index.d.ts +4 -4
- package/dist/viewer/index.js +4 -4
- package/dist/web-component/index.cjs +6 -6
- package/dist/web-component/index.d.cts +2 -2
- package/dist/web-component/index.d.ts +2 -2
- package/dist/web-component/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-6JKNT2YC.js.map +0 -1
- package/dist/chunk-IIOJFR73.cjs.map +0 -1
- package/dist/chunk-KFJIFHXG.js.map +0 -1
- package/dist/chunk-N6WVHOUQ.js.map +0 -1
- package/dist/chunk-S5BVAAEF.cjs.map +0 -1
- package/dist/chunk-YM3XFBI4.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OwnerRef, E as Emitter$1, V as Viewer, U as Unsubscribe } from '../types-
|
|
2
|
-
import { E as Side, I as IsometricFace } from '../render-
|
|
1
|
+
import { O as OwnerRef, E as Emitter$1, V as Viewer, U as Unsubscribe } from '../types-BDKDf4zr.cjs';
|
|
2
|
+
import { E as Side, I as IsometricFace } from '../render-C5X74hds.cjs';
|
|
3
3
|
|
|
4
4
|
interface TextChangeEvent {
|
|
5
5
|
owner: OwnerRef;
|
|
@@ -158,6 +158,7 @@ interface Anchor {
|
|
|
158
158
|
type PickerValue = {
|
|
159
159
|
mode: 'solid';
|
|
160
160
|
color: string;
|
|
161
|
+
alpha?: number;
|
|
161
162
|
} | {
|
|
162
163
|
mode: 'gradient';
|
|
163
164
|
angle: number;
|
|
@@ -225,6 +226,14 @@ declare function applyPathPointChange(sfl: string, event: PathPointChangeEvent):
|
|
|
225
226
|
|
|
226
227
|
declare function applyPropertyChange(sfl: string, event: PropertyChangeEvent): string;
|
|
227
228
|
|
|
229
|
+
interface QuickDuplicateOptions {
|
|
230
|
+
shapeId: string;
|
|
231
|
+
linkId: string;
|
|
232
|
+
gap?: number;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare function applyQuickDuplicateChange(sfl: string, event: QuickDuplicateEvent, options: QuickDuplicateOptions): string;
|
|
236
|
+
|
|
228
237
|
declare function applyResizeChange(sfl: string, event: ResizeChangeEvent): string;
|
|
229
238
|
|
|
230
239
|
declare function applySankeyNodeMoveChange(sfl: string, event: SankeyNodeMoveEvent): string;
|
|
@@ -270,4 +279,4 @@ interface EditingOptions {
|
|
|
270
279
|
}
|
|
271
280
|
declare function bindEditing(viewer: Viewer, options?: EditingOptions): Interaction;
|
|
272
281
|
|
|
273
|
-
export { type ChartValueChangeEvent, type ColorEditHandle, type ColorPickerTheme, type ColorPickerThemeOption, type ColorPopoverHandle, type ColorPopoverOptions, type DeleteEvent, type EditableRules, type EditingOptions, type InsertCanvasObjectOptions, type InsertConnectionOptions, type InsertLinkOptions, type InsertPathOptions, type Interaction, type InteractionEventMap, type InteractionEventName, type IsometricQuickDuplicateDirection, type LinkReconnectEvent, type LinkSegmentChangeEvent, type LinkToEvent, type MoveChangeEvent, type PathDrawCompleteEvent, type PathDrawOptions, type PathPoint, type PathPointChangeEvent, type PickerValue, type PropertyChangeEvent, type PropertyEditingHandle, type PropertyEditingOptions, type PropertyValue, type QuickDuplicateEvent, type RemoveCanvasObjectOptions, type ResizeChangeEvent, type SankeyNodeMoveEvent, type SankeyNodeRenameEvent, type TextChangeEvent, Unsubscribe, applyChartValueChange, applyLinkReconnectChange, applyLinkSegmentChange, applyMoveChange, applyPathPointChange, applyPropertyChange, applyResizeChange, applySankeyNodeMoveChange, applySankeyNodeRenameChange, applyTextChange, bindEditing, bindPropertyEditing, cssBackground, formatPickerValue, insertCanvasObject, insertConnection, insertLink, insertPath, openColorPopover, readGradientValue, removeCanvasObject, removeLink, resolveTheme, seedFrom };
|
|
282
|
+
export { type ChartValueChangeEvent, type ColorEditHandle, type ColorPickerTheme, type ColorPickerThemeOption, type ColorPopoverHandle, type ColorPopoverOptions, type DeleteEvent, type EditableRules, type EditingOptions, type InsertCanvasObjectOptions, type InsertConnectionOptions, type InsertLinkOptions, type InsertPathOptions, type Interaction, type InteractionEventMap, type InteractionEventName, type IsometricQuickDuplicateDirection, type LinkReconnectEvent, type LinkSegmentChangeEvent, type LinkToEvent, type MoveChangeEvent, type PathDrawCompleteEvent, type PathDrawOptions, type PathPoint, type PathPointChangeEvent, type PickerValue, type PropertyChangeEvent, type PropertyEditingHandle, type PropertyEditingOptions, type PropertyValue, type QuickDuplicateEvent, type QuickDuplicateOptions, type RemoveCanvasObjectOptions, type ResizeChangeEvent, type SankeyNodeMoveEvent, type SankeyNodeRenameEvent, type TextChangeEvent, Unsubscribe, applyChartValueChange, applyLinkReconnectChange, applyLinkSegmentChange, applyMoveChange, applyPathPointChange, applyPropertyChange, applyQuickDuplicateChange, applyResizeChange, applySankeyNodeMoveChange, applySankeyNodeRenameChange, applyTextChange, bindEditing, bindPropertyEditing, cssBackground, formatPickerValue, insertCanvasObject, insertConnection, insertLink, insertPath, openColorPopover, readGradientValue, removeCanvasObject, removeLink, resolveTheme, seedFrom };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OwnerRef, E as Emitter$1, V as Viewer, U as Unsubscribe } from '../types-
|
|
2
|
-
import { E as Side, I as IsometricFace } from '../render-
|
|
1
|
+
import { O as OwnerRef, E as Emitter$1, V as Viewer, U as Unsubscribe } from '../types-CdgGdtoD.js';
|
|
2
|
+
import { E as Side, I as IsometricFace } from '../render-C5X74hds.js';
|
|
3
3
|
|
|
4
4
|
interface TextChangeEvent {
|
|
5
5
|
owner: OwnerRef;
|
|
@@ -158,6 +158,7 @@ interface Anchor {
|
|
|
158
158
|
type PickerValue = {
|
|
159
159
|
mode: 'solid';
|
|
160
160
|
color: string;
|
|
161
|
+
alpha?: number;
|
|
161
162
|
} | {
|
|
162
163
|
mode: 'gradient';
|
|
163
164
|
angle: number;
|
|
@@ -225,6 +226,14 @@ declare function applyPathPointChange(sfl: string, event: PathPointChangeEvent):
|
|
|
225
226
|
|
|
226
227
|
declare function applyPropertyChange(sfl: string, event: PropertyChangeEvent): string;
|
|
227
228
|
|
|
229
|
+
interface QuickDuplicateOptions {
|
|
230
|
+
shapeId: string;
|
|
231
|
+
linkId: string;
|
|
232
|
+
gap?: number;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare function applyQuickDuplicateChange(sfl: string, event: QuickDuplicateEvent, options: QuickDuplicateOptions): string;
|
|
236
|
+
|
|
228
237
|
declare function applyResizeChange(sfl: string, event: ResizeChangeEvent): string;
|
|
229
238
|
|
|
230
239
|
declare function applySankeyNodeMoveChange(sfl: string, event: SankeyNodeMoveEvent): string;
|
|
@@ -270,4 +279,4 @@ interface EditingOptions {
|
|
|
270
279
|
}
|
|
271
280
|
declare function bindEditing(viewer: Viewer, options?: EditingOptions): Interaction;
|
|
272
281
|
|
|
273
|
-
export { type ChartValueChangeEvent, type ColorEditHandle, type ColorPickerTheme, type ColorPickerThemeOption, type ColorPopoverHandle, type ColorPopoverOptions, type DeleteEvent, type EditableRules, type EditingOptions, type InsertCanvasObjectOptions, type InsertConnectionOptions, type InsertLinkOptions, type InsertPathOptions, type Interaction, type InteractionEventMap, type InteractionEventName, type IsometricQuickDuplicateDirection, type LinkReconnectEvent, type LinkSegmentChangeEvent, type LinkToEvent, type MoveChangeEvent, type PathDrawCompleteEvent, type PathDrawOptions, type PathPoint, type PathPointChangeEvent, type PickerValue, type PropertyChangeEvent, type PropertyEditingHandle, type PropertyEditingOptions, type PropertyValue, type QuickDuplicateEvent, type RemoveCanvasObjectOptions, type ResizeChangeEvent, type SankeyNodeMoveEvent, type SankeyNodeRenameEvent, type TextChangeEvent, Unsubscribe, applyChartValueChange, applyLinkReconnectChange, applyLinkSegmentChange, applyMoveChange, applyPathPointChange, applyPropertyChange, applyResizeChange, applySankeyNodeMoveChange, applySankeyNodeRenameChange, applyTextChange, bindEditing, bindPropertyEditing, cssBackground, formatPickerValue, insertCanvasObject, insertConnection, insertLink, insertPath, openColorPopover, readGradientValue, removeCanvasObject, removeLink, resolveTheme, seedFrom };
|
|
282
|
+
export { type ChartValueChangeEvent, type ColorEditHandle, type ColorPickerTheme, type ColorPickerThemeOption, type ColorPopoverHandle, type ColorPopoverOptions, type DeleteEvent, type EditableRules, type EditingOptions, type InsertCanvasObjectOptions, type InsertConnectionOptions, type InsertLinkOptions, type InsertPathOptions, type Interaction, type InteractionEventMap, type InteractionEventName, type IsometricQuickDuplicateDirection, type LinkReconnectEvent, type LinkSegmentChangeEvent, type LinkToEvent, type MoveChangeEvent, type PathDrawCompleteEvent, type PathDrawOptions, type PathPoint, type PathPointChangeEvent, type PickerValue, type PropertyChangeEvent, type PropertyEditingHandle, type PropertyEditingOptions, type PropertyValue, type QuickDuplicateEvent, type QuickDuplicateOptions, type RemoveCanvasObjectOptions, type ResizeChangeEvent, type SankeyNodeMoveEvent, type SankeyNodeRenameEvent, type TextChangeEvent, Unsubscribe, applyChartValueChange, applyLinkReconnectChange, applyLinkSegmentChange, applyMoveChange, applyPathPointChange, applyPropertyChange, applyQuickDuplicateChange, applyResizeChange, applySankeyNodeMoveChange, applySankeyNodeRenameChange, applyTextChange, bindEditing, bindPropertyEditing, cssBackground, formatPickerValue, insertCanvasObject, insertConnection, insertLink, insertPath, openColorPopover, readGradientValue, removeCanvasObject, removeLink, resolveTheme, seedFrom };
|