xframelib 1.1.1 → 1.1.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/README.md +181 -189
- package/README_zh.md +204 -0
- package/dist/assets/worker-iconv-KS7y7NCM.js +5405 -0
- package/dist/assets/worker-webcache-DX6bhBzy.js +956 -0
- package/dist/assets/worker-xmath-CbuRtVJ1.js +450 -0
- package/dist/index.css +1 -408
- package/dist/index.js +1 -12
- package/dist/{controls → src/controls}/ADivider.vue.d.ts +8 -12
- package/dist/src/controls/ScaleContainer/index.vue.d.ts +13 -0
- package/dist/src/controls/ScrollSnapContainer/index.vue.d.ts +25 -0
- package/dist/src/controls/index.d.ts +6 -0
- package/dist/{controls → src/controls}/layoutcontainer/LayoutManager.d.ts +8 -2
- package/dist/{controls → src/controls}/layoutcontainer/layout.vue.d.ts +22 -35
- package/dist/src/controls/popover/index.vue.d.ts +33 -0
- package/dist/src/controls/routertransition/RouterTransition.vue.d.ts +3 -0
- package/dist/src/controls/routertransition/RouterTransitionAnimate.vue.d.ts +10 -0
- package/dist/{controls → src/controls}/routertransition/SuspenseWithError.vue.d.ts +3 -2
- package/dist/{controls → src/controls}/splitpanes/pane.vue.d.ts +3 -2
- package/dist/{controls → src/controls}/splitpanes/splitpanes.vue.d.ts +3 -2
- package/dist/{controls → src/controls}/xwindow/XWindow.vue.d.ts +10 -19
- package/dist/{controls → src/controls}/xwindow/XWindowManager.d.ts +3 -3
- package/dist/src/controls/xwindow/index.d.ts +3 -0
- package/dist/src/directives/dbClickDirective.d.ts +5 -0
- package/dist/src/directives/index.d.ts +7 -0
- package/dist/src/directives/mediaDirective.d.ts +7 -0
- package/dist/{utils → src/utils}/H5Tool.d.ts +18 -7
- package/dist/{utils → src/utils}/IsTool.d.ts +4 -0
- package/dist/src/utils/Screen.d.ts +30 -0
- package/dist/{utils → src/utils}/WebCacheTool.d.ts +1 -1
- package/dist/{utils → src/utils}/index.d.ts +1 -0
- package/dist/src/workers/index.d.ts +13 -0
- package/package.json +25 -23
- package/dist/assets/worker-iconv-BsNle8M5.js +0 -22
- package/dist/assets/worker-webcache-CkCFZE0-.js +0 -6
- package/dist/assets/worker-xmath-AxRk6MsK.js +0 -6
- package/dist/controls/index.d.ts +0 -3
- package/dist/controls/routertransition/RouterTransition.vue.d.ts +0 -2
- package/dist/controls/routertransition/RouterTransitionAnimate.vue.d.ts +0 -9
- package/dist/controls/xwindow/index.d.ts +0 -3
- package/dist/directives/index.d.ts +0 -4
- package/dist/workers/index.d.ts +0 -19
- /package/dist/{api → src/api}/Token.d.ts +0 -0
- /package/dist/{api → src/api}/User.d.ts +0 -0
- /package/dist/{api → src/api}/index.d.ts +0 -0
- /package/dist/{controls → src/controls}/layoutcontainer/index.d.ts +0 -0
- /package/dist/{controls → src/controls}/routertransition/index.d.ts +0 -0
- /package/dist/{controls → src/controls}/splitpanes/index.d.ts +0 -0
- /package/dist/{core → src/core}/Global.d.ts +0 -0
- /package/dist/{core → src/core}/IModel.d.ts +0 -0
- /package/dist/{core → src/core}/Init.d.ts +0 -0
- /package/dist/{core → src/core}/MsgHelper.d.ts +0 -0
- /package/dist/{core → src/core}/SysEvents.d.ts +0 -0
- /package/dist/{core → src/core}/index.d.ts +0 -0
- /package/dist/{directives → src/directives}/dragDirective.d.ts +0 -0
- /package/dist/{directives/repeatClick.d.ts → src/directives/repeatClickDirective.d.ts} +0 -0
- /package/dist/{directives → src/directives}/wowDirective.d.ts +0 -0
- /package/dist/{hprose → src/hprose}/HproseClient.d.ts +0 -0
- /package/dist/{hprose → src/hprose}/HproseIO.d.ts +0 -0
- /package/dist/{hprose → src/hprose}/ProxyClient.d.ts +0 -0
- /package/dist/{hprose → src/hprose}/index.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{mitt → src/mitt}/index.d.ts +0 -0
- /package/dist/{model → src/model}/Config.d.ts +0 -0
- /package/dist/{model → src/model}/Constants.d.ts +0 -0
- /package/dist/{model → src/model}/IModalModels.d.ts +0 -0
- /package/dist/{model → src/model}/IRole.d.ts +0 -0
- /package/dist/{model → src/model}/ITypes.d.ts +0 -0
- /package/dist/{model → src/model}/IUserModel.d.ts +0 -0
- /package/dist/{model → src/model}/IWidgetMenu.d.ts +0 -0
- /package/dist/{model → src/model}/Layout.d.ts +0 -0
- /package/dist/{model → src/model}/index.d.ts +0 -0
- /package/dist/{permission → src/permission}/RoleSysRightHelper.d.ts +0 -0
- /package/dist/{permission → src/permission}/filter.d.ts +0 -0
- /package/dist/{permission → src/permission}/index.d.ts +0 -0
- /package/dist/{permission → src/permission}/register.d.ts +0 -0
- /package/dist/{permission → src/permission}/right.d.ts +0 -0
- /package/dist/{plugins → src/plugins}/NavigatorPlugin.d.ts +0 -0
- /package/dist/{plugins → src/plugins}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/AutoUpdate.d.ts +0 -0
- /package/dist/{utils → src/utils}/AxiosHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/BigFileDownload.d.ts +0 -0
- /package/dist/{utils → src/utils}/CodeHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/Color.d.ts +0 -0
- /package/dist/{utils → src/utils}/CommonTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/DayjsTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/FetchHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/FileDownload.d.ts +0 -0
- /package/dist/{utils → src/utils}/FileUpload.d.ts +0 -0
- /package/dist/{utils → src/utils}/FileUpload_/346/227/247.d.ts" +0 -0
- /package/dist/{utils → src/utils}/FilenameUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/GzipTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/JQuery.d.ts +0 -0
- /package/dist/{utils → src/utils}/LocalForageHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/LockHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/RouterURLTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/SignalrClient.d.ts +0 -0
- /package/dist/{utils → src/utils}/Storage.d.ts +0 -0
- /package/dist/{utils → src/utils}/StringUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/Time.d.ts +0 -0
- /package/dist/{utils → src/utils}/TokenHelper.d.ts +0 -0
- /package/dist/{utils → src/utils}/ValidateTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/WarGridTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/WaterMark.d.ts +0 -0
- /package/dist/{utils → src/utils}/WidgetsTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/XXTEA.d.ts +0 -0
- /package/dist/{utils → src/utils}/ZipTool.d.ts +0 -0
- /package/dist/{utils → src/utils}/uuid.d.ts +0 -0
- /package/dist/{workers → src/workers}/worker-iconv.d.ts +0 -0
- /package/dist/{workers → src/workers}/worker-webcache.d.ts +0 -0
- /package/dist/{workers → src/workers}/worker-xmath.d.ts +0 -0
- /package/dist/{workerservice → src/workerservice}/frontWorker.d.ts +0 -0
- /package/dist/{workerservice → src/workerservice}/index.d.ts +0 -0
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
type alignType = 'left' | 'center' | 'right';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
6
|
};
|
|
11
|
-
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
8
|
align: {
|
|
14
9
|
type: PropType<alignType>;
|
|
15
10
|
default: string;
|
|
@@ -30,10 +25,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
30
25
|
}>> & Readonly<{}>, {
|
|
31
26
|
color: string;
|
|
32
27
|
align: alignType;
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
34
|
-
declare const
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
35
31
|
export default _default;
|
|
36
|
-
type
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
33
|
new (): {
|
|
38
34
|
$slots: S;
|
|
39
35
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
height: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
height: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
height: number;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as ADivider } from './ADivider.vue';
|
|
2
|
+
import { Splitpanes, Pane } from './splitpanes';
|
|
3
|
+
import { default as Popover } from './popover/index.vue';
|
|
4
|
+
import { default as ScaleContainer } from './ScaleContainer/index.vue';
|
|
5
|
+
import { default as ScrollSnapContainer } from './ScrollSnapContainer/index.vue';
|
|
6
|
+
export { ADivider, Splitpanes, Pane, Popover, ScaleContainer, ScrollSnapContainer };
|
|
@@ -94,17 +94,23 @@ export declare class LayoutManager {
|
|
|
94
94
|
*/
|
|
95
95
|
isWidgetVisible(widgetID: string): boolean;
|
|
96
96
|
/**
|
|
97
|
-
* 根据ID,获取已经加载的Widget组件对象
|
|
97
|
+
* 根据ID,获取已经加载的Widget组件对象(可调用公开方法)
|
|
98
98
|
* @param widgetID
|
|
99
99
|
* @returns
|
|
100
100
|
*/
|
|
101
101
|
getWidgetComponent(widgetID: string): any;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* 获取组件的IWidgetConfig配置对象
|
|
104
104
|
* @param widgetID 组件ID
|
|
105
105
|
* @returns
|
|
106
106
|
*/
|
|
107
107
|
getWigetItem(widgetID: string): IWidgetConfig | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* 根据组件ID获取对应的IWidgetConfig配置对象
|
|
110
|
+
* @param widgetID 组件ID
|
|
111
|
+
* @returns
|
|
112
|
+
*/
|
|
113
|
+
getIWigetConfig(widgetID: string): IWidgetConfig | undefined;
|
|
108
114
|
/**
|
|
109
115
|
* 根据分组名,获取组件列表
|
|
110
116
|
* @param group 分组名
|
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IWidgetConfig } from '../../model/Layout';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
leftContainer: HTMLDivElement;
|
|
21
|
-
rightContainer: HTMLDivElement;
|
|
22
|
-
bottomContainer: HTMLDivElement;
|
|
23
|
-
};
|
|
24
|
-
rootEl: HTMLDivElement;
|
|
3
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_15: {}, __VLS_22: {}, __VLS_29: {}, __VLS_36: {}, __VLS_43: {}, __VLS_50: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
top?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
main?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
back?: (props: typeof __VLS_15) => any;
|
|
10
|
+
} & {
|
|
11
|
+
front?: (props: typeof __VLS_22) => any;
|
|
12
|
+
} & {
|
|
13
|
+
left?: (props: typeof __VLS_29) => any;
|
|
14
|
+
} & {
|
|
15
|
+
right?: (props: typeof __VLS_36) => any;
|
|
16
|
+
} & {
|
|
17
|
+
bottom?: (props: typeof __VLS_43) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_50) => any;
|
|
25
20
|
};
|
|
26
|
-
|
|
27
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
28
22
|
widgetConfig: {
|
|
29
23
|
type: PropType<IWidgetConfig[]>;
|
|
30
24
|
required: false;
|
|
@@ -164,18 +158,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
164
158
|
noFront: boolean;
|
|
165
159
|
noBack: boolean;
|
|
166
160
|
noMain: boolean;
|
|
167
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
centerBackContainer: HTMLDivElement;
|
|
171
|
-
centerFrontContainer: HTMLDivElement;
|
|
172
|
-
leftContainer: HTMLDivElement;
|
|
173
|
-
rightContainer: HTMLDivElement;
|
|
174
|
-
bottomContainer: HTMLDivElement;
|
|
175
|
-
}, HTMLDivElement>;
|
|
176
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
161
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
162
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
163
|
+
declare const _default: typeof __VLS_export;
|
|
177
164
|
export default _default;
|
|
178
|
-
type
|
|
165
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
179
166
|
new (): {
|
|
180
167
|
$slots: S;
|
|
181
168
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
reference?: (props: typeof __VLS_9) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
dir: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
show: (...args: any[]) => void;
|
|
14
|
+
hide: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
dir: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{
|
|
21
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
dir: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
enterActive?: string;
|
|
3
|
+
leaveActive?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
enterActive: string;
|
|
7
|
+
leaveActive: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {
|
|
2
4
|
error: import('vue').Ref<any, any>;
|
|
3
5
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
size: {
|
|
3
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
4
6
|
default: number;
|
|
@@ -37,4 +39,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
39
|
minSize: string | number;
|
|
38
40
|
maxSize: string | number;
|
|
39
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
horizontal: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
};
|
|
@@ -106,4 +108,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
106
108
|
onPaneRemove: (pane: any) => void;
|
|
107
109
|
onPaneClick: (event: any, paneId: any) => void;
|
|
108
110
|
}, true, {}, any>;
|
|
109
|
-
export default _default;
|
|
@@ -7,20 +7,13 @@ declare function close(): void;
|
|
|
7
7
|
* 重新加载当前面板
|
|
8
8
|
*/
|
|
9
9
|
declare function open(): void;
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
refs: {
|
|
17
|
-
dragPanelRef: HTMLDivElement;
|
|
18
|
-
dragPanelTitleRef: HTMLDivElement;
|
|
19
|
-
};
|
|
20
|
-
rootEl: any;
|
|
10
|
+
declare var __VLS_7: {}, __VLS_30: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
title?: (props: typeof __VLS_7) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_30) => any;
|
|
21
15
|
};
|
|
22
|
-
|
|
23
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
24
17
|
top: {
|
|
25
18
|
type: (StringConstructor | NumberConstructor)[];
|
|
26
19
|
default: number;
|
|
@@ -178,13 +171,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
178
171
|
hasClose: boolean;
|
|
179
172
|
isDark: boolean;
|
|
180
173
|
pid: string;
|
|
181
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}, any>;
|
|
185
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
174
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
176
|
+
declare const _default: typeof __VLS_export;
|
|
186
177
|
export default _default;
|
|
187
|
-
type
|
|
178
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
188
179
|
new (): {
|
|
189
180
|
$slots: S;
|
|
190
181
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 传递的WindowPanel数据模型
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface IWindowData {
|
|
5
5
|
id: string;
|
|
6
6
|
icon?: string;
|
|
7
7
|
title?: string;
|
|
@@ -11,7 +11,7 @@ export interface IPanelData {
|
|
|
11
11
|
/**
|
|
12
12
|
* Windows窗体Map集合
|
|
13
13
|
*/
|
|
14
|
-
export declare const WindowsMap: Map<string,
|
|
14
|
+
export declare const WindowsMap: Map<string, IWindowData>;
|
|
15
15
|
/**
|
|
16
16
|
* 最小化窗体Map集合
|
|
17
17
|
*/
|
|
@@ -22,7 +22,7 @@ declare class XWindowManager {
|
|
|
22
22
|
* 注册添加窗体对象
|
|
23
23
|
* @param panelData
|
|
24
24
|
*/
|
|
25
|
-
static addWindowPanel(panelData:
|
|
25
|
+
static addWindowPanel(panelData: IWindowData): void;
|
|
26
26
|
/**
|
|
27
27
|
* 移除窗体
|
|
28
28
|
* @param id
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as dragDirective, setupDragDirective } from './dragDirective';
|
|
2
|
+
import { default as doubleClickDirective, setupDCDirective } from './dbClickDirective';
|
|
3
|
+
import { default as repeatDirective, setupRepeatDirective } from './repeatClickDirective';
|
|
4
|
+
import { default as wowDirective, setupWowDirective } from './wowDirective';
|
|
5
|
+
import { default as mediaDirective, setupmediaDirective } from './mediaDirective';
|
|
6
|
+
export { wowDirective, setupWowDirective, repeatDirective, setupRepeatDirective, dragDirective, setupDragDirective, doubleClickDirective, setupDCDirective, mediaDirective, setupmediaDirective };
|
|
7
|
+
export default function setupDirectives(app: any): void;
|
|
@@ -200,19 +200,19 @@ export default class H5Tool {
|
|
|
200
200
|
*/
|
|
201
201
|
static emptyImageUrl(): string;
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* 防抖函数
|
|
204
204
|
* @param fn
|
|
205
205
|
* @param delay
|
|
206
|
-
* @returns
|
|
206
|
+
* @returns
|
|
207
207
|
*/
|
|
208
|
-
static debounce(fn:
|
|
208
|
+
static debounce(fn: Function, delay: number): (...args: any[]) => void;
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* 节流函数
|
|
211
211
|
* @param fn
|
|
212
|
-
* @param
|
|
213
|
-
* @returns
|
|
212
|
+
* @param interval
|
|
213
|
+
* @returns
|
|
214
214
|
*/
|
|
215
|
-
static throttle(fn:
|
|
215
|
+
static throttle(fn: Function, interval: number): (...args: any[]) => void;
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @param dataUrl
|
|
@@ -386,4 +386,15 @@ export default class H5Tool {
|
|
|
386
386
|
* @returns
|
|
387
387
|
*/
|
|
388
388
|
static deepCopy(original: any): any;
|
|
389
|
+
/**
|
|
390
|
+
* 对象深度拷贝
|
|
391
|
+
*/
|
|
392
|
+
static deepClone: typeof H5Tool.deepCopy;
|
|
393
|
+
/**
|
|
394
|
+
* 深度拷贝对象(自己手写的)
|
|
395
|
+
* @param obj
|
|
396
|
+
* @param map
|
|
397
|
+
* @returns
|
|
398
|
+
*/
|
|
399
|
+
static deepClone2(obj: any, map?: WeakMap<WeakKey, any>): any;
|
|
389
400
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare class ScreenClass {
|
|
2
|
+
sizes: {
|
|
3
|
+
sm: number;
|
|
4
|
+
md: number;
|
|
5
|
+
lg: number;
|
|
6
|
+
xl: number;
|
|
7
|
+
};
|
|
8
|
+
lt: {
|
|
9
|
+
sm: boolean;
|
|
10
|
+
md: boolean;
|
|
11
|
+
lg: boolean;
|
|
12
|
+
xl: boolean;
|
|
13
|
+
};
|
|
14
|
+
gt: {
|
|
15
|
+
xs: boolean;
|
|
16
|
+
sm: boolean;
|
|
17
|
+
md: boolean;
|
|
18
|
+
lg: boolean;
|
|
19
|
+
};
|
|
20
|
+
xs: boolean;
|
|
21
|
+
sm: boolean;
|
|
22
|
+
md: boolean;
|
|
23
|
+
lg: boolean;
|
|
24
|
+
xl: boolean;
|
|
25
|
+
getSize(): number[];
|
|
26
|
+
updateSize(): void;
|
|
27
|
+
}
|
|
28
|
+
declare const Screen: ScreenClass;
|
|
29
|
+
export { ScreenClass, Screen };
|
|
30
|
+
export default Screen;
|
|
@@ -31,4 +31,5 @@ export * from './FilenameUtils';
|
|
|
31
31
|
export * from './AutoUpdate';
|
|
32
32
|
export * from './LocalForageHelper';
|
|
33
33
|
export * from './FetchHelper';
|
|
34
|
+
export * from './Screen';
|
|
34
35
|
export { iconv, EncodeOptions, DecodeOptions, GetSignalRClient, WaterMark, XXTEA, H5Tool, StringUtils, StorageHelper as Storage, storage, uuid, newGuid, ZipTool, GzipTool, DayjsTool, WebCacheTool, WarGridTool, CommonTool };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 编码/解码
|
|
3
|
+
*/
|
|
4
|
+
declare const iconvWorker: any;
|
|
5
|
+
/**
|
|
6
|
+
* 通用数学计算;前端大图片,瓦片化加载-webworker
|
|
7
|
+
*/
|
|
8
|
+
declare const xmathWorker: any;
|
|
9
|
+
/**
|
|
10
|
+
* 前端缓存层-webworker
|
|
11
|
+
*/
|
|
12
|
+
declare const webCacheWorker: any;
|
|
13
|
+
export { xmathWorker, iconvWorker, webCacheWorker, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xframelib",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "积累的前端开发基础库,来源于项目,服务于项目。",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"common": "dist/index.cjs",
|
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "vite build",
|
|
11
|
-
"lib": "rollup -c ",
|
|
12
11
|
"clean": "rimraf dist && rimraf package-lock.json && rimraf node_modules/.cache && rimraf node_modules/.vite"
|
|
13
12
|
},
|
|
14
13
|
"keywords": [
|
|
14
|
+
"xframelib",
|
|
15
|
+
"widget",
|
|
16
|
+
"typescript",
|
|
15
17
|
"hprose",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
+
"vue",
|
|
19
|
+
"H5Tool",
|
|
20
|
+
"XWindow"
|
|
18
21
|
],
|
|
19
22
|
"author": {
|
|
20
23
|
"name": "zorrowm",
|
|
@@ -33,41 +36,40 @@
|
|
|
33
36
|
"@iconify-icons/ant-design": "^1.2.7",
|
|
34
37
|
"@iconify/vue": "^5.0.0",
|
|
35
38
|
"@microsoft/signalr": "^10.0.0",
|
|
36
|
-
"axios": "^1.
|
|
39
|
+
"axios": "^1.16.0",
|
|
37
40
|
"buffer": "^6.0.3",
|
|
38
41
|
"fflate": "^0.8.2",
|
|
39
42
|
"iconv-lite": "^0.7.2",
|
|
40
43
|
"localforage": "^1.10.0",
|
|
41
44
|
"loglevel": "^1.9.2",
|
|
42
|
-
"lru-cache": "^11.
|
|
43
|
-
"qs": "^6.15.
|
|
45
|
+
"lru-cache": "^11.3.5",
|
|
46
|
+
"qs": "^6.15.1",
|
|
44
47
|
"spark-md5": "^3.0.2",
|
|
45
48
|
"xhr": "^2.6.0"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
51
|
"@rollup/plugin-alias": "^6.0.0",
|
|
49
|
-
"@rollup/plugin-commonjs": "^29.0.
|
|
50
|
-
"@rollup/plugin-
|
|
51
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
52
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
52
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
53
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
53
54
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
54
|
-
"@types/node": "^25.
|
|
55
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
56
|
-
"
|
|
55
|
+
"@types/node": "^25.6.0",
|
|
56
|
+
"@vitejs/plugin-vue": "^6.0.6",
|
|
57
|
+
"@vue/language-core": "^3.2.7",
|
|
58
|
+
"comlink": "^4.4.2",
|
|
59
|
+
"esbuild": "^0.28.0",
|
|
57
60
|
"rollup-plugin-copy": "^3.5.0",
|
|
58
61
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
59
62
|
"rollup-plugin-scss": "^4.0.1",
|
|
60
|
-
"rollup-plugin-typescript2": "^0.36.0",
|
|
61
63
|
"rollup-plugin-vue": "^6.0.0",
|
|
62
|
-
"sass": "^1.
|
|
63
|
-
"typescript": "^
|
|
64
|
-
"
|
|
64
|
+
"sass": "^1.99.0",
|
|
65
|
+
"typescript": "^6.0.3",
|
|
66
|
+
"unplugin-dts": "1.0.0",
|
|
67
|
+
"vite": "^8.0.10",
|
|
65
68
|
"vite-plugin-comlink": "^5.3.0",
|
|
66
69
|
"vite-plugin-commonjs": "^0.10.4",
|
|
67
|
-
"vite-plugin-
|
|
68
|
-
"vite-plugin-
|
|
69
|
-
"
|
|
70
|
-
"vue": "^
|
|
71
|
-
"vue-router": "^5.0.3"
|
|
70
|
+
"vite-plugin-node-polyfills": "^0.26.0",
|
|
71
|
+
"vite-plugin-static-copy": "^4.1.0",
|
|
72
|
+
"vue": "^3.5.33",
|
|
73
|
+
"vue-router": "^5.0.6"
|
|
72
74
|
}
|
|
73
75
|
}
|