xframelib 0.9.5 → 0.9.7
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/README.md +3 -1
- package/dist/assets/worker-XXTEA-lcP6QMJU.js +6 -0
- package/dist/assets/worker-xmath-BzVwWco5.js +15 -0
- package/dist/controls/ADivider.vue.d.ts +19 -6
- package/dist/controls/index.d.ts +1 -1
- package/dist/controls/layoutcontainer/LayoutManager.d.ts +17 -15
- package/dist/controls/layoutcontainer/index.d.ts +1 -1
- package/dist/controls/layoutcontainer/layout.vue.d.ts +52 -32
- package/dist/controls/routertransition/RouterTransition.vue.d.ts +1 -3
- package/dist/controls/routertransition/RouterTransitionAnimate.vue.d.ts +6 -26
- package/dist/controls/routertransition/SuspenseWithError.vue.d.ts +3 -3
- package/dist/controls/routertransition/index.d.ts +3 -3
- package/dist/controls/splitpanes/index.d.ts +2 -2
- package/dist/controls/splitpanes/pane.vue.d.ts +40 -0
- package/dist/controls/splitpanes/splitpanes.vue.d.ts +109 -0
- package/dist/controls/vuewindow/index.d.ts +1 -1
- package/dist/controls/vuewindow/window/Button.vue.d.ts +5 -5
- package/dist/controls/vuewindow/window/index.vue.d.ts +38 -12
- package/dist/controls/xwindow/XWindow.vue.d.ts +51 -11
- package/dist/controls/xwindow/XWindowManager.d.ts +2 -1
- package/dist/controls/xwindow/index.d.ts +2 -3
- package/dist/core/Global.d.ts +1 -1
- package/dist/core/IModel.d.ts +10 -4
- package/dist/core/Init.d.ts +1 -1
- package/dist/directives/dragDirective.d.ts +1 -1
- package/dist/directives/index.d.ts +3 -3
- package/dist/directives/repeatClick.d.ts +1 -1
- package/dist/directives/wowDirective.d.ts +1 -1
- package/dist/hprose/index.d.ts +2 -2
- package/dist/index.css +202 -161
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -2
- package/dist/model/Config.d.ts +1 -1
- package/dist/model/Layout.d.ts +1 -1
- package/dist/permission/filter.d.ts +7 -0
- package/dist/utils/AxiosHelper.d.ts +1 -1
- package/dist/utils/H5Tool.d.ts +1 -1
- package/dist/utils/RouterURLTool.d.ts +8 -0
- package/dist/utils/TokenHelper.d.ts +1 -4
- package/dist/utils/XXTEA.d.ts +1 -0
- package/dist/utils/ZipTool.d.ts +1 -1
- package/dist/utils/index.d.ts +10 -10
- package/dist/workers/index.d.ts +13 -0
- package/dist/workers/worker-XXTEA.d.ts +1 -0
- package/dist/workers/worker-xmath.d.ts +45 -0
- package/package.json +13 -11
- package/dist/index.cjs +0 -7
- package/dist/utils/FileUpload_bak.d.ts +0 -90
- package/dist/utils/FileUpload/346/226/260.d.ts +0 -102
- package/dist/utils/URLTool.d.ts +0 -18
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
type alignType = 'left' | 'center' | 'right';
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
13
|
align: {
|
|
5
14
|
type: PropType<alignType>;
|
|
6
15
|
default: string;
|
|
@@ -9,9 +18,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
18
|
type: StringConstructor;
|
|
10
19
|
default: string;
|
|
11
20
|
};
|
|
12
|
-
}>,
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
22
|
align: {
|
|
16
23
|
type: PropType<alignType>;
|
|
17
24
|
default: string;
|
|
@@ -21,7 +28,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
28
|
default: string;
|
|
22
29
|
};
|
|
23
30
|
}>> & Readonly<{}>, {
|
|
24
|
-
align: alignType;
|
|
25
31
|
color: string;
|
|
26
|
-
|
|
32
|
+
align: alignType;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
35
|
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
package/dist/controls/index.d.ts
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import { LayoutContainerEnum } from '../../model/Layout';
|
|
1
|
+
import { LayoutContainerEnum, IWidgetConfig } from '../../model/Layout';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
import type { IWidgetConfig } from '../../model/Layout';
|
|
4
3
|
/**
|
|
5
4
|
* 布局对象定义
|
|
6
5
|
*/
|
|
7
6
|
export interface ILayoutContainer {
|
|
8
|
-
topContainer
|
|
9
|
-
centerBackContainer
|
|
10
|
-
centerMainContainer
|
|
11
|
-
centerFrontContainer
|
|
12
|
-
bottomContainer
|
|
13
|
-
leftContainer
|
|
14
|
-
rightContainer
|
|
7
|
+
topContainer: Ref<HTMLElement | undefined>;
|
|
8
|
+
centerBackContainer: Ref<HTMLElement | undefined>;
|
|
9
|
+
centerMainContainer: Ref<HTMLElement | undefined>;
|
|
10
|
+
centerFrontContainer: Ref<HTMLElement | undefined>;
|
|
11
|
+
bottomContainer: Ref<HTMLElement | undefined>;
|
|
12
|
+
leftContainer: Ref<HTMLElement | undefined>;
|
|
13
|
+
rightContainer: Ref<HTMLElement | undefined>;
|
|
15
14
|
}
|
|
16
15
|
export declare class LayoutManager {
|
|
17
16
|
private layoutState;
|
|
18
17
|
private layoutMap;
|
|
19
18
|
private preConditionMap;
|
|
20
19
|
private widgetsLoadedSet;
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* WidgetConfig字典
|
|
22
|
+
*/
|
|
23
|
+
private widgetConfigDiction;
|
|
22
24
|
private _LayoutID;
|
|
23
25
|
private _mapItemRefs?;
|
|
24
|
-
constructor(layoutState: ILayoutContainer,
|
|
26
|
+
constructor(layoutState: ILayoutContainer, layoutID: string, allWidgetConfig?: Array<IWidgetConfig>, mapRefs?: Map<string, any>);
|
|
25
27
|
/**
|
|
26
28
|
* 所属的Layout布局对象ID
|
|
27
29
|
* @returns
|
|
28
30
|
*/
|
|
29
31
|
getLayoutID(): string | undefined;
|
|
30
32
|
/**
|
|
31
|
-
* 获得widget
|
|
33
|
+
* 获得widget配置参数,字典对象
|
|
32
34
|
* @returns
|
|
33
35
|
*/
|
|
34
|
-
|
|
36
|
+
getWidgetConfigMap(): Map<string, IWidgetConfig>;
|
|
35
37
|
/**
|
|
36
38
|
* 预先加载Widget组件
|
|
37
39
|
*/
|
|
@@ -108,13 +110,13 @@ export declare class LayoutManager {
|
|
|
108
110
|
* @param group 分组名
|
|
109
111
|
* @returns
|
|
110
112
|
*/
|
|
111
|
-
getGroupWigetItems(group: string): IWidgetConfig[]
|
|
113
|
+
getGroupWigetItems(group: string): IWidgetConfig[];
|
|
112
114
|
/**
|
|
113
115
|
* 获取容器里的组件集合
|
|
114
116
|
* @param enumContainer
|
|
115
117
|
* @returns
|
|
116
118
|
*/
|
|
117
|
-
getContainerComponents(enumContainer: LayoutContainerEnum): Ref<Map<string,
|
|
119
|
+
getContainerComponents(enumContainer: LayoutContainerEnum): Ref<Map<string, any>>;
|
|
118
120
|
/**
|
|
119
121
|
* 获取已经加载组件ID列表
|
|
120
122
|
* @returns ID列表数组
|
|
@@ -1,14 +1,38 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { IWidgetConfig } from
|
|
3
|
-
declare
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IWidgetConfig } from '../../model/Layout';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
top?(_: {}): any;
|
|
7
|
+
main?(_: {}): any;
|
|
8
|
+
back?(_: {}): any;
|
|
9
|
+
front?(_: {}): any;
|
|
10
|
+
left?(_: {}): any;
|
|
11
|
+
right?(_: {}): any;
|
|
12
|
+
bottom?(_: {}): any;
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
topContainer: HTMLDivElement;
|
|
17
|
+
centerMainContainer: HTMLDivElement;
|
|
18
|
+
centerBackContainer: HTMLDivElement;
|
|
19
|
+
centerFrontContainer: HTMLDivElement;
|
|
20
|
+
leftContainer: HTMLDivElement;
|
|
21
|
+
rightContainer: HTMLDivElement;
|
|
22
|
+
bottomContainer: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
28
|
widgetConfig: {
|
|
5
29
|
type: PropType<IWidgetConfig[]>;
|
|
6
|
-
required:
|
|
7
|
-
default:
|
|
30
|
+
required: false;
|
|
31
|
+
default: undefined;
|
|
8
32
|
};
|
|
9
33
|
layoutID: {
|
|
10
34
|
type: StringConstructor;
|
|
11
|
-
default:
|
|
35
|
+
default: string;
|
|
12
36
|
};
|
|
13
37
|
layoutStyle: {
|
|
14
38
|
type: ObjectConstructor;
|
|
@@ -17,33 +41,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
41
|
type: BooleanConstructor;
|
|
18
42
|
default: boolean;
|
|
19
43
|
};
|
|
20
|
-
}>, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
centerfrontComponents: import("vue").Ref<Map<string, Object>, Map<string, Object>>;
|
|
24
|
-
leftContainerComponents: import("vue").Ref<Map<string, Object>, Map<string, Object>>;
|
|
25
|
-
rightContainerComponents: import("vue").Ref<Map<string, Object>, Map<string, Object>>;
|
|
26
|
-
bottomContainerComponents: import("vue").Ref<Map<string, Object>, Map<string, Object>>;
|
|
27
|
-
containerStyle: import("vue").ComputedRef<Record<string, any> | undefined>;
|
|
28
|
-
isEnableRouterView: import("vue").Ref<boolean, boolean>;
|
|
29
|
-
setItemRef: (el: any, key: string) => void;
|
|
30
|
-
idRef: import("vue").Ref<string | undefined, string | undefined>;
|
|
31
|
-
topContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
32
|
-
centerBackContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
33
|
-
centerMainContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
34
|
-
centerFrontContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
35
|
-
bottomContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
36
|
-
leftContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
37
|
-
rightContainer?: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined> | undefined;
|
|
38
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "containerLoaded"[], "containerLoaded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
containerLoaded: (...args: any[]) => void;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
47
|
widgetConfig: {
|
|
40
48
|
type: PropType<IWidgetConfig[]>;
|
|
41
|
-
required:
|
|
42
|
-
default:
|
|
49
|
+
required: false;
|
|
50
|
+
default: undefined;
|
|
43
51
|
};
|
|
44
52
|
layoutID: {
|
|
45
53
|
type: StringConstructor;
|
|
46
|
-
default:
|
|
54
|
+
default: string;
|
|
47
55
|
};
|
|
48
56
|
layoutStyle: {
|
|
49
57
|
type: ObjectConstructor;
|
|
@@ -55,10 +63,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
63
|
}>> & Readonly<{
|
|
56
64
|
onContainerLoaded?: ((...args: any[]) => any) | undefined;
|
|
57
65
|
}>, {
|
|
58
|
-
widgetConfig: IWidgetConfig[];
|
|
59
66
|
layoutID: string;
|
|
67
|
+
widgetConfig: IWidgetConfig[];
|
|
60
68
|
enableRouterView: boolean;
|
|
61
|
-
}, {}, {
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
70
|
+
topContainer: HTMLDivElement;
|
|
71
|
+
centerMainContainer: HTMLDivElement;
|
|
72
|
+
centerBackContainer: HTMLDivElement;
|
|
73
|
+
centerFrontContainer: HTMLDivElement;
|
|
74
|
+
leftContainer: HTMLDivElement;
|
|
75
|
+
rightContainer: HTMLDivElement;
|
|
76
|
+
bottomContainer: HTMLDivElement;
|
|
77
|
+
}, HTMLDivElement>;
|
|
78
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
79
|
export default _default;
|
|
80
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
81
|
+
new (): {
|
|
82
|
+
$slots: S;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
2
|
export default _default;
|
|
@@ -1,29 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
enterActive
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
leaveActive: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: false;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
enterActive: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
required: false;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
leaveActive: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
required: false;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
interface Props {
|
|
2
|
+
enterActive?: string;
|
|
3
|
+
leaveActive?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
6
|
enterActive: string;
|
|
27
7
|
leaveActive: string;
|
|
28
|
-
}, {}, {}, {}, string, import(
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
9
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
error: import(
|
|
3
|
-
}, {}, {}, {}, import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
error: import('vue').Ref<any, any>;
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import RouterTransition from './RouterTransition.vue';
|
|
2
|
-
import SuspenseWithError from './SuspenseWithError.vue';
|
|
3
|
-
import RouterTransitionAnimate from './RouterTransitionAnimate.vue';
|
|
1
|
+
import { default as RouterTransition } from './RouterTransition.vue';
|
|
2
|
+
import { default as SuspenseWithError } from './SuspenseWithError.vue';
|
|
3
|
+
import { default as RouterTransitionAnimate } from './RouterTransitionAnimate.vue';
|
|
4
4
|
export { RouterTransition, SuspenseWithError, RouterTransitionAnimate };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Splitpanes from './splitpanes.vue';
|
|
2
|
-
import Pane from './pane.vue';
|
|
1
|
+
import { default as Splitpanes } from './splitpanes.vue';
|
|
2
|
+
import { default as Pane } from './pane.vue';
|
|
3
3
|
export { Splitpanes, Pane };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
size: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
minSize: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
maxSize: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {
|
|
15
|
+
style: {};
|
|
16
|
+
}, {
|
|
17
|
+
sizeNumber(): number | null;
|
|
18
|
+
minSizeNumber(): number;
|
|
19
|
+
maxSizeNumber(): number;
|
|
20
|
+
}, {
|
|
21
|
+
update(style: any): void;
|
|
22
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
size: {
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
minSize: {
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
maxSize: {
|
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
size: string | number;
|
|
37
|
+
minSize: string | number;
|
|
38
|
+
maxSize: string | number;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
horizontal: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
};
|
|
5
|
+
pushOtherPanes: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
dblClickSplitter: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
rtl: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
firstSplitter: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {
|
|
21
|
+
container: null;
|
|
22
|
+
ready: boolean;
|
|
23
|
+
panes: never[];
|
|
24
|
+
touch: {
|
|
25
|
+
mouseDown: boolean;
|
|
26
|
+
dragging: boolean;
|
|
27
|
+
activeSplitter: null;
|
|
28
|
+
};
|
|
29
|
+
splitterTaps: {
|
|
30
|
+
splitter: null;
|
|
31
|
+
timeoutId: null;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
panesCount(): number;
|
|
35
|
+
indexedPanes(): {};
|
|
36
|
+
}, {
|
|
37
|
+
updatePaneComponents(): void;
|
|
38
|
+
bindEvents(): void;
|
|
39
|
+
unbindEvents(): void;
|
|
40
|
+
onMouseDown(event: any, splitterIndex: any): void;
|
|
41
|
+
onMouseMove(event: any): void;
|
|
42
|
+
onMouseUp(): void;
|
|
43
|
+
onSplitterClick(event: any, splitterIndex: any): void;
|
|
44
|
+
onSplitterDblClick(event: any, splitterIndex: any): void;
|
|
45
|
+
onPaneClick(event: any, paneId: any): void;
|
|
46
|
+
getCurrentMouseDrag(event: any): {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
};
|
|
50
|
+
getCurrentDragPercentage(drag: any): number;
|
|
51
|
+
calculatePanesSize(drag: any): void;
|
|
52
|
+
doPushOtherPanes(sums: any, dragPercentage: any): {
|
|
53
|
+
sums: any;
|
|
54
|
+
panesToResize: any[];
|
|
55
|
+
} | null;
|
|
56
|
+
sumPrevPanesSize(splitterIndex: any): number;
|
|
57
|
+
sumNextPanesSize(splitterIndex: any): number;
|
|
58
|
+
findPrevExpandedPane(splitterIndex: any): {};
|
|
59
|
+
findNextExpandedPane(splitterIndex: any): {};
|
|
60
|
+
checkSplitpanesNodes(): void;
|
|
61
|
+
addSplitter(paneIndex: any, nextPaneNode: any, isVeryFirst?: boolean): void;
|
|
62
|
+
removeSplitter(node: any): void;
|
|
63
|
+
redoSplitters(): void;
|
|
64
|
+
requestUpdate({ target, ...args }: {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
target: any;
|
|
67
|
+
}): void;
|
|
68
|
+
onPaneAdd(pane: any): void;
|
|
69
|
+
onPaneRemove(pane: any): void;
|
|
70
|
+
resetPaneSizes(changedPanes?: {}): void;
|
|
71
|
+
equalize(): void;
|
|
72
|
+
initialPanesSizing(): void;
|
|
73
|
+
equalizeAfterAddOrRemove({ addedPane }?: {}): void;
|
|
74
|
+
readjustSizes(leftToAllocate: any, ungrowable: any, unshrinkable: any): void;
|
|
75
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
|
+
horizontal: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
};
|
|
79
|
+
pushOtherPanes: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
dblClickSplitter: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
rtl: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
firstSplitter: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
};
|
|
94
|
+
}>> & Readonly<{}>, {
|
|
95
|
+
horizontal: boolean;
|
|
96
|
+
pushOtherPanes: boolean;
|
|
97
|
+
dblClickSplitter: boolean;
|
|
98
|
+
rtl: boolean;
|
|
99
|
+
firstSplitter: boolean;
|
|
100
|
+
}, {}, {}, {}, string, () => {
|
|
101
|
+
requestUpdate: ({ target, ...args }: {
|
|
102
|
+
[x: string]: any;
|
|
103
|
+
target: any;
|
|
104
|
+
}) => void;
|
|
105
|
+
onPaneAdd: (pane: any) => void;
|
|
106
|
+
onPaneRemove: (pane: any) => void;
|
|
107
|
+
onPaneClick: (event: any, paneId: any) => void;
|
|
108
|
+
}, true, {}, any>;
|
|
109
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import VWindow from './window/index.vue';
|
|
1
|
+
import { default as VWindow } from './window/index.vue';
|
|
2
2
|
import { StyleBlack, StyleWhite, StyleMetal, StyleGrayblue } from './style';
|
|
3
3
|
export { WindowResizeEvent } from './window/utils';
|
|
4
4
|
export { StyleBlack, StyleWhite, StyleMetal, StyleGrayblue, VWindow };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import(
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
disabled: {
|
|
4
4
|
type: PropType<boolean>;
|
|
5
5
|
default: boolean;
|
|
@@ -9,12 +9,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
}>, {
|
|
12
|
-
hover: import(
|
|
13
|
-
active: import(
|
|
12
|
+
hover: import('vue').Ref<boolean, boolean>;
|
|
13
|
+
active: import('vue').Ref<boolean, boolean>;
|
|
14
14
|
style: () => any;
|
|
15
15
|
mouseup: (e: MouseEvent & TouchEvent) => void;
|
|
16
16
|
mousedown: (e: MouseEvent & TouchEvent) => void;
|
|
17
|
-
}, {}, {}, {}, import(
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
18
|
disabled: {
|
|
19
19
|
type: PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
@@ -25,5 +25,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import(
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import(
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
windowStyle: {
|
|
4
4
|
type: ObjectConstructor;
|
|
5
5
|
required: true;
|
|
@@ -91,17 +91,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
91
|
required: false;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
|
-
isOpen: import(
|
|
95
|
-
windowEl: import(
|
|
96
|
-
titlebar: import(
|
|
97
|
-
content: import(
|
|
94
|
+
isOpen: import('vue').Ref<boolean, boolean>;
|
|
95
|
+
windowEl: import('vue').Ref<any, any>;
|
|
96
|
+
titlebar: import('vue').Ref<any, any>;
|
|
97
|
+
content: import('vue').Ref<any, any>;
|
|
98
98
|
activate: () => void;
|
|
99
|
-
styleWindow: import(
|
|
100
|
-
styleTitlebar: import(
|
|
101
|
-
styleContent: import(
|
|
99
|
+
styleWindow: import('vue').Ref<any, any>;
|
|
100
|
+
styleTitlebar: import('vue').ComputedRef<any>;
|
|
101
|
+
styleContent: import('vue').ComputedRef<any>;
|
|
102
102
|
closeButtonClick: () => void;
|
|
103
103
|
fixPosition: () => void;
|
|
104
|
-
} | undefined, {}, {}, {}, import(
|
|
104
|
+
} | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
105
105
|
windowStyle: {
|
|
106
106
|
type: ObjectConstructor;
|
|
107
107
|
required: true;
|
|
@@ -193,8 +193,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
193
193
|
required: false;
|
|
194
194
|
};
|
|
195
195
|
}>> & Readonly<{}>, {
|
|
196
|
-
isOpen: boolean;
|
|
197
196
|
title: string;
|
|
197
|
+
isOpen: boolean;
|
|
198
198
|
closeButton: boolean;
|
|
199
199
|
resizable: boolean;
|
|
200
200
|
isScrollable: boolean;
|
|
@@ -208,6 +208,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
208
208
|
maxWidth: number;
|
|
209
209
|
maxHeight: number;
|
|
210
210
|
}, {}, {
|
|
211
|
-
myButton: import(
|
|
212
|
-
|
|
211
|
+
myButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
212
|
+
disabled: {
|
|
213
|
+
type: PropType<boolean>;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
windowStyle: {
|
|
217
|
+
type: ObjectConstructor;
|
|
218
|
+
required: true;
|
|
219
|
+
};
|
|
220
|
+
}>, {
|
|
221
|
+
hover: import('vue').Ref<boolean, boolean>;
|
|
222
|
+
active: import('vue').Ref<boolean, boolean>;
|
|
223
|
+
style: () => any;
|
|
224
|
+
mouseup: (e: MouseEvent & TouchEvent) => void;
|
|
225
|
+
mousedown: (e: MouseEvent & TouchEvent) => void;
|
|
226
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
227
|
+
disabled: {
|
|
228
|
+
type: PropType<boolean>;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
windowStyle: {
|
|
232
|
+
type: ObjectConstructor;
|
|
233
|
+
required: true;
|
|
234
|
+
};
|
|
235
|
+
}>> & Readonly<{}>, {
|
|
236
|
+
disabled: boolean;
|
|
237
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
238
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
213
239
|
export default _default;
|