xframelib
Version:
The accumulated front-end development foundation library originates from projects and serves projects.
111 lines (110 loc) • 3.27 kB
TypeScript
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
horizontal: {
type: BooleanConstructor;
};
pushOtherPanes: {
type: BooleanConstructor;
default: boolean;
};
dblClickSplitter: {
type: BooleanConstructor;
default: boolean;
};
rtl: {
type: BooleanConstructor;
default: boolean;
};
firstSplitter: {
type: BooleanConstructor;
};
}>, {}, {
container: null;
ready: boolean;
panes: never[];
touch: {
mouseDown: boolean;
dragging: boolean;
activeSplitter: null;
};
splitterTaps: {
splitter: null;
timeoutId: null;
};
}, {
panesCount(): number;
indexedPanes(): {};
}, {
updatePaneComponents(): void;
bindEvents(): void;
unbindEvents(): void;
onMouseDown(event: any, splitterIndex: any): void;
onMouseMove(event: any): void;
onMouseUp(): void;
onSplitterClick(event: any, splitterIndex: any): void;
onSplitterDblClick(event: any, splitterIndex: any): void;
onPaneClick(event: any, paneId: any): void;
getCurrentMouseDrag(event: any): {
x: number;
y: number;
};
getCurrentDragPercentage(drag: any): number;
calculatePanesSize(drag: any): void;
doPushOtherPanes(sums: any, dragPercentage: any): {
sums: any;
panesToResize: any[];
} | null;
sumPrevPanesSize(splitterIndex: any): number;
sumNextPanesSize(splitterIndex: any): number;
findPrevExpandedPane(splitterIndex: any): {};
findNextExpandedPane(splitterIndex: any): {};
checkSplitpanesNodes(): void;
addSplitter(paneIndex: any, nextPaneNode: any, isVeryFirst?: boolean): void;
removeSplitter(node: any): void;
redoSplitters(): void;
requestUpdate({ target, ...args }: {
[x: string]: any;
target: any;
}): void;
onPaneAdd(pane: any): void;
onPaneRemove(pane: any): void;
resetPaneSizes(changedPanes?: {}): void;
equalize(): void;
initialPanesSizing(): void;
equalizeAfterAddOrRemove({ addedPane }?: {}): void;
readjustSizes(leftToAllocate: any, ungrowable: any, unshrinkable: any): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
horizontal: {
type: BooleanConstructor;
};
pushOtherPanes: {
type: BooleanConstructor;
default: boolean;
};
dblClickSplitter: {
type: BooleanConstructor;
default: boolean;
};
rtl: {
type: BooleanConstructor;
default: boolean;
};
firstSplitter: {
type: BooleanConstructor;
};
}>> & Readonly<{}>, {
horizontal: boolean;
pushOtherPanes: boolean;
dblClickSplitter: boolean;
rtl: boolean;
firstSplitter: boolean;
}, {}, {}, {}, string, () => {
requestUpdate: ({ target, ...args }: {
[x: string]: any;
target: any;
}) => void;
onPaneAdd: (pane: any) => void;
onPaneRemove: (pane: any) => void;
onPaneClick: (event: any, paneId: any) => void;
}, true, {}, any>;