@hy-bricks/canvas 0.6.0 → 0.6.2
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 +31 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ parentLayoutMode: ContainerLayoutConfig["mode"];
|
|
|
45
45
|
}>, {
|
|
46
46
|
mode: CanvasMode;
|
|
47
47
|
freeSplitEnabled: boolean | (() => boolean);
|
|
48
|
+
freeSplitControlsAlways: boolean | (() => boolean);
|
|
48
49
|
cascadeRemove: boolean;
|
|
49
50
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
50
51
|
stageContainerEl: HTMLDivElement;
|
|
@@ -87,6 +88,7 @@ declare type __VLS_Props = {
|
|
|
87
88
|
schedulerOptions?: RenderSchedulerOptions;
|
|
88
89
|
canvasId?: string;
|
|
89
90
|
adapters?: CanvasAdapters;
|
|
91
|
+
keepHiddenMounted?: boolean;
|
|
90
92
|
};
|
|
91
93
|
|
|
92
94
|
declare type __VLS_Props_2 = {
|
|
@@ -97,6 +99,7 @@ declare type __VLS_Props_2 = {
|
|
|
97
99
|
adapters?: CanvasAdapters;
|
|
98
100
|
canvasId?: string;
|
|
99
101
|
freeSplitEnabled?: boolean | (() => boolean);
|
|
102
|
+
freeSplitControlsAlways?: boolean | (() => boolean);
|
|
100
103
|
cascadeRemove?: boolean;
|
|
101
104
|
};
|
|
102
105
|
|
|
@@ -543,6 +546,7 @@ export declare interface CanvasContext {
|
|
|
543
546
|
registerHooks(hooks: CanvasActionHooks): () => void;
|
|
544
547
|
readonly isRecordingSuppressed: ComputedRef<boolean>;
|
|
545
548
|
readonly freeSplitEnabled: ComputedRef<boolean>;
|
|
549
|
+
readonly freeSplitControlsAlways: ComputedRef<boolean>;
|
|
546
550
|
readonly cascadeRemove: boolean;
|
|
547
551
|
suppressRecording<T>(fn: () => T): T;
|
|
548
552
|
readonly effectiveBehavior: ComputedRef<CanvasBehaviorConfig>;
|
|
@@ -578,6 +582,7 @@ export declare interface CanvasContextOptions {
|
|
|
578
582
|
hooks?: CanvasActionHooks;
|
|
579
583
|
getMode?: () => CanvasMode;
|
|
580
584
|
freeSplitEnabled?: boolean | (() => boolean | undefined);
|
|
585
|
+
freeSplitControlsAlways?: boolean | (() => boolean | undefined);
|
|
581
586
|
cascadeRemove?: boolean;
|
|
582
587
|
}
|
|
583
588
|
|
|
@@ -2027,6 +2032,7 @@ export declare function renderLayoutBoxStyle(layoutBox: LayoutBox, zIndex: numbe
|
|
|
2027
2032
|
export declare interface RenderScheduler {
|
|
2028
2033
|
register(instanceId: string, el: Element): void;
|
|
2029
2034
|
unregister(instanceId: string): void;
|
|
2035
|
+
setHeld(instanceId: string, held: boolean): void;
|
|
2030
2036
|
isMounted(instanceId: string): boolean;
|
|
2031
2037
|
getState(instanceId: string): MountState;
|
|
2032
2038
|
readonly state: Readonly<Record<string, MountState>>;
|