@vvfx/sdk 0.1.19-alpha.31 → 0.1.19-alpha.33
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/dist/index.cjs +2 -2
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.global.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3595,6 +3595,17 @@ declare class PageDataUtils {
|
|
|
3595
3595
|
*/
|
|
3596
3596
|
refreshFrameChildren(id: string): void;
|
|
3597
3597
|
autoLayoutPage(param?: PageAutoLayoutParam): Promise<void>;
|
|
3598
|
+
/**
|
|
3599
|
+
* @description 计算选中元素排布的锚点偏移:保持原始包围盒左上角位置不变
|
|
3600
|
+
* @param layoutElements 参与排布的元素列表
|
|
3601
|
+
* @param layoutBoundingBox 排布算法输出的包围盒
|
|
3602
|
+
*/
|
|
3603
|
+
private getPartialLayoutAnchor;
|
|
3604
|
+
/**
|
|
3605
|
+
* @description 计算全量排布的锚点偏移:以视口中心为锚点
|
|
3606
|
+
* @param layoutBoundingBox 排布算法输出的包围盒
|
|
3607
|
+
*/
|
|
3608
|
+
private getGlobalLayoutAnchor;
|
|
3598
3609
|
}
|
|
3599
3610
|
|
|
3600
3611
|
declare class InteractionUtils {
|
|
@@ -4152,6 +4163,15 @@ type PageAutoLayoutParam = {
|
|
|
4152
4163
|
* @description 自动布局模式
|
|
4153
4164
|
*/
|
|
4154
4165
|
mode?: GlobalLayoutMode;
|
|
4166
|
+
/**
|
|
4167
|
+
* @description 选中元素【无输入值时,页面内所有元素排布】
|
|
4168
|
+
* 如果是选中元素自动排布,则保证包围盒左上角点位置相同
|
|
4169
|
+
*/
|
|
4170
|
+
ids?: string[];
|
|
4171
|
+
/**
|
|
4172
|
+
* @description 排布后是否聚焦元素,默认开启
|
|
4173
|
+
*/
|
|
4174
|
+
focus?: boolean;
|
|
4155
4175
|
/**
|
|
4156
4176
|
* @description 自动布局间隔
|
|
4157
4177
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3595,6 +3595,17 @@ declare class PageDataUtils {
|
|
|
3595
3595
|
*/
|
|
3596
3596
|
refreshFrameChildren(id: string): void;
|
|
3597
3597
|
autoLayoutPage(param?: PageAutoLayoutParam): Promise<void>;
|
|
3598
|
+
/**
|
|
3599
|
+
* @description 计算选中元素排布的锚点偏移:保持原始包围盒左上角位置不变
|
|
3600
|
+
* @param layoutElements 参与排布的元素列表
|
|
3601
|
+
* @param layoutBoundingBox 排布算法输出的包围盒
|
|
3602
|
+
*/
|
|
3603
|
+
private getPartialLayoutAnchor;
|
|
3604
|
+
/**
|
|
3605
|
+
* @description 计算全量排布的锚点偏移:以视口中心为锚点
|
|
3606
|
+
* @param layoutBoundingBox 排布算法输出的包围盒
|
|
3607
|
+
*/
|
|
3608
|
+
private getGlobalLayoutAnchor;
|
|
3598
3609
|
}
|
|
3599
3610
|
|
|
3600
3611
|
declare class InteractionUtils {
|
|
@@ -4152,6 +4163,15 @@ type PageAutoLayoutParam = {
|
|
|
4152
4163
|
* @description 自动布局模式
|
|
4153
4164
|
*/
|
|
4154
4165
|
mode?: GlobalLayoutMode;
|
|
4166
|
+
/**
|
|
4167
|
+
* @description 选中元素【无输入值时,页面内所有元素排布】
|
|
4168
|
+
* 如果是选中元素自动排布,则保证包围盒左上角点位置相同
|
|
4169
|
+
*/
|
|
4170
|
+
ids?: string[];
|
|
4171
|
+
/**
|
|
4172
|
+
* @description 排布后是否聚焦元素,默认开启
|
|
4173
|
+
*/
|
|
4174
|
+
focus?: boolean;
|
|
4155
4175
|
/**
|
|
4156
4176
|
* @description 自动布局间隔
|
|
4157
4177
|
*/
|