xframelib 0.4.1 → 0.4.6

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.
Files changed (61) hide show
  1. package/README.md +5 -0
  2. package/dist/api/Token.d.ts +20 -0
  3. package/dist/api/User.d.ts +45 -0
  4. package/dist/api/index.d.ts +2 -0
  5. package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +26 -0
  6. package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +30 -0
  7. package/dist/controls/collapsepanel/color.util.d.ts +1 -0
  8. package/dist/controls/collapsepanel/composables/store.d.ts +7 -0
  9. package/dist/controls/collapsepanel/constant.d.ts +1 -0
  10. package/dist/controls/collapsepanel/index.d.ts +3 -0
  11. package/dist/controls/layoutcontainer/LayoutManager.d.ts +107 -0
  12. package/dist/controls/layoutcontainer/index.d.ts +3 -0
  13. package/dist/controls/layoutcontainer/layout.vue.d.ts +37 -0
  14. package/dist/controls/splitpanes/index.d.ts +3 -0
  15. package/dist/controls/vuewindow/SinglePointerEvent.d.ts +23 -0
  16. package/dist/controls/vuewindow/dom.d.ts +16 -0
  17. package/dist/controls/vuewindow/draggable_helper.d.ts +20 -0
  18. package/dist/controls/vuewindow/index.d.ts +6 -0
  19. package/dist/controls/vuewindow/resizable_helper.d.ts +16 -0
  20. package/dist/controls/vuewindow/style.d.ts +110 -0
  21. package/dist/controls/vuewindow/window/Button.vue.d.ts +26 -0
  22. package/dist/controls/vuewindow/window/index.vue.d.ts +160 -0
  23. package/dist/controls/vuewindow/window/utils.d.ts +17 -0
  24. package/dist/controls/vuewindow/z_element.d.ts +11 -0
  25. package/dist/core/Global.d.ts +26 -0
  26. package/dist/core/IModel.d.ts +34 -0
  27. package/dist/core/MsgHelper.d.ts +12 -0
  28. package/dist/core/SysEvents.d.ts +23 -0
  29. package/dist/core/index.d.ts +3 -0
  30. package/dist/hprose/HproseClient.d.ts +20 -0
  31. package/dist/hprose/ProxyClient.d.ts +22 -0
  32. package/dist/hprose/index.d.ts +11 -0
  33. package/dist/index.cjs +3 -8
  34. package/dist/index.css +69 -0
  35. package/dist/index.d.ts +10 -1116
  36. package/dist/index.js +3 -8
  37. package/dist/mitt/index.d.ts +25 -0
  38. package/dist/model/Config.d.ts +94 -0
  39. package/dist/model/Constants.d.ts +15 -0
  40. package/dist/model/Layout.d.ts +75 -0
  41. package/dist/model/Token.d.ts +66 -0
  42. package/dist/model/index.d.ts +4 -0
  43. package/dist/public/mitm.html +166 -0
  44. package/dist/public/sw.js +128 -0
  45. package/dist/utils/AxiosHelper.d.ts +58 -0
  46. package/dist/utils/BigFileDownload.d.ts +117 -0
  47. package/dist/utils/Color.d.ts +74 -0
  48. package/dist/utils/FileDownload.d.ts +36 -0
  49. package/dist/utils/FileUpload.d.ts +90 -0
  50. package/dist/utils/H5Tool.d.ts +98 -0
  51. package/dist/utils/IsTool.d.ts +101 -0
  52. package/dist/utils/JQuery.d.ts +35 -0
  53. package/dist/utils/LockHelper.d.ts +17 -0
  54. package/dist/utils/Storage.d.ts +57 -0
  55. package/dist/utils/StringUtils.d.ts +15 -0
  56. package/dist/utils/Time.d.ts +1 -0
  57. package/dist/utils/TokenHelper.d.ts +18 -0
  58. package/dist/utils/URLTool.d.ts +18 -0
  59. package/dist/utils/index.d.ts +16 -0
  60. package/dist/utils/uuid.d.ts +3 -0
  61. package/package.json +15 -15
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  基于 VUE3+Hprose+Typescript 的前端框架
4
4
 
5
+ - v0.4.6 解决文件分片下载并发请求过多的超时问题;AxiosHelper 增加超时时间参数,请求出错不默认弹框
6
+ - v0.4.5 解决大文件下载的问题(修复 0.4.4 版本问题);增加库依赖资源 public 文件夹
7
+ - v0.4.4 修改单个文件(单片)下载报错问题;(废弃不要使用)
8
+ - v0.4.3 修改组件卸载事件的错误;增加用于大屏的浅灰色窗体样式
9
+ - v0.4.2 重要修改:修改打包方式;支持组件导出;新增布局组件及管理方法;requestFullScreen 不传要素窗体全屏
5
10
  - v0.4.1 解决补充遗漏的 BigFileDownload 类;
6
11
  - v0.4.0 增加 isTool 的相关函数,修改补充方法,增加导出 IUser;
7
12
  - v0.3.9 init 方法需要传入 axios 对象(不能将 axios 打包进去,因为存在错误);
@@ -0,0 +1,20 @@
1
+ import { ITokenInfo, IDoubleToken, ISystemUser } from '../model/Token';
2
+ /**
3
+ * 刷新Token
4
+ */
5
+ export declare function doRefreshToken(): void;
6
+ /**
7
+ * 检查和刷新Token
8
+ * @param userToken
9
+ */
10
+ export declare function checkDoRefreshToken(userToken: ITokenInfo): void;
11
+ /**
12
+ * 存储Token对象
13
+ * @param userToken
14
+ */
15
+ export declare function setLocalToken(userToken: IDoubleToken): void;
16
+ /**
17
+ * 设置当前用户
18
+ * @param userInfo
19
+ */
20
+ export declare function setUser(userInfo: ISystemUser): void;
@@ -0,0 +1,45 @@
1
+ interface IUserInfo {
2
+ /**
3
+ * 用户名
4
+ */
5
+ username: string;
6
+ oldpwd: string;
7
+ newpwd: string;
8
+ }
9
+ export interface IUser {
10
+ username: string;
11
+ pwd: string;
12
+ /**
13
+ * 所属系统
14
+ */
15
+ system?: string;
16
+ }
17
+ /**
18
+ * 用户登录
19
+ * @param data 用户信息
20
+ * @returns
21
+ */
22
+ export declare function login(data: IUser): Promise<any>;
23
+ /**
24
+ * 检查某一系统的用户
25
+ * @param data 用户对象
26
+ * @returns
27
+ */
28
+ export declare function checkLogin(data: IUser): Promise<any>;
29
+ /**
30
+ * 修改密码
31
+ * @param data 用户数据
32
+ * @returns
33
+ */
34
+ export declare function changePWD(data: IUserInfo): Promise<any>;
35
+ /**
36
+ * 退出登录
37
+ */
38
+ export declare function logout(): void;
39
+ /**
40
+ * 验证 已有的token
41
+ * @param token 需要验证的token
42
+ * @returns
43
+ */
44
+ export declare function checkToken(token: string): Promise<any>;
45
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './Token';
2
+ export * from './User';
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ expanded: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }, {
7
+ body: import("vue").ComputedRef<{
8
+ hasContent: boolean | undefined;
9
+ dataKey: string;
10
+ }>;
11
+ panelRef: import("vue").Ref<HTMLElement | undefined>;
12
+ bodyRef: import("vue").Ref<HTMLElement | undefined>;
13
+ bodyContentRef: import("vue").Ref<HTMLElement | undefined>;
14
+ isExpanded: import("vue").ComputedRef<boolean | undefined>;
15
+ collapse: (element: HTMLElement) => void;
16
+ expand: (element: HTMLElement) => void;
17
+ toggle: () => void;
18
+ toggleIcon: string;
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
20
+ expanded?: unknown;
21
+ } & {
22
+ expanded: boolean;
23
+ } & {}>, {
24
+ expanded: boolean;
25
+ }>;
26
+ export default _default;
@@ -0,0 +1,30 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ accordion: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ baseColor: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }, {
11
+ idGroup: import("vue").Ref<string>;
12
+ cssColorVars: {
13
+ '--base-color': string;
14
+ '--border-color': string;
15
+ '--bg-color-header': string;
16
+ '--bg-color-header-hover': string;
17
+ '--bg-color-header-active': string;
18
+ '--bg-color-body': string;
19
+ };
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
21
+ accordion?: unknown;
22
+ baseColor?: unknown;
23
+ } & {
24
+ accordion: boolean;
25
+ baseColor: string;
26
+ } & {}>, {
27
+ accordion: boolean;
28
+ baseColor: string;
29
+ }>;
30
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const lightenDarkenColor: (hexColor: string, amount: number) => string;
@@ -0,0 +1,7 @@
1
+ export declare const useCollapsiblePanelStore: () => {
2
+ useGroupAccordion: (idGroup: string) => import("vue").ComputedRef<boolean>;
3
+ setGroupAccordionStatus: (idGroup: string, status: boolean) => void;
4
+ panelExpanded: (idGroup: string, idPanel: string) => import("vue").ComputedRef<boolean>;
5
+ setPanelExpandedStatus: (idGroup: string, idPanel: string, status: boolean) => void;
6
+ togglePanelExpandedStatus: (idGroup: string, idPanel: string) => void;
7
+ };
@@ -0,0 +1 @@
1
+ export declare const toggleIcon = "\n <svg\n width=\"24px\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M6.34292 7.75734L4.92871 9.17155L11.9998 16.2426L19.0708 9.17158L17.6566 7.75737L11.9998 13.4142L6.34292 7.75734Z\"/>\n </svg>\n";
@@ -0,0 +1,3 @@
1
+ import VCollapsiblePanelGroup from './VCollapsiblePanelGroup.vue';
2
+ import VCollapsiblePanel from './VCollapsiblePanel.vue';
3
+ export { VCollapsiblePanel, VCollapsiblePanelGroup };
@@ -0,0 +1,107 @@
1
+ import { LayoutContainerEnum } from '../../model/Layout';
2
+ import { Ref } from 'vue';
3
+ import type { IWidgetConfig } from '../../model/Layout';
4
+ /**
5
+ * 布局对象定义
6
+ */
7
+ export interface ILayoutContainer {
8
+ topContainer?: HTMLElement;
9
+ centerBackContainer?: HTMLElement;
10
+ centerMainContainer?: HTMLElement;
11
+ centerFrontContainer?: HTMLElement;
12
+ bottomContainer?: HTMLElement;
13
+ leftContainer?: HTMLElement;
14
+ rightContainer?: HTMLElement;
15
+ }
16
+ declare class LayoutManager {
17
+ private layoutState;
18
+ private widgetCofig;
19
+ private layoutMap;
20
+ private preConditionMap;
21
+ private widgetsLoadedSet;
22
+ constructor(layoutState: ILayoutContainer, widgetCofig: Array<IWidgetConfig>);
23
+ /**
24
+ * 获得widget配置参数
25
+ * @returns
26
+ */
27
+ getWidgetConfig(): Array<IWidgetConfig>;
28
+ /**
29
+ * 预先加载Widget组件
30
+ */
31
+ preloadWidgets(): void;
32
+ /**
33
+ * 加载组件和子组件
34
+ * @param widgetItem 组件对象
35
+ */
36
+ loadWidget(widgetItem: IWidgetConfig | string): void;
37
+ private loadOtherDependenceWidgets;
38
+ private _loadWidget;
39
+ /**
40
+ * 检查是否存在依赖其的组件
41
+ * @param widgetID
42
+ * @returns
43
+ */
44
+ hasDependentWidgets(widgetID: string): boolean;
45
+ /**
46
+ * 卸载组件
47
+ * @param widgetItem
48
+ * @returns
49
+ */
50
+ unloadWidget(widgetID: string): void;
51
+ /**
52
+ * 查询某一组件是否被加载
53
+ * @param widgetID 组件ID
54
+ * @returns
55
+ */
56
+ isWidgetLoaded(widgetID: string): boolean;
57
+ /**
58
+ * 中心两DIV
59
+ * 左右分屏
60
+ * @param restore
61
+ */
62
+ splitTwoContainer(restore?: boolean): void;
63
+ /**
64
+ * 获取到对应容器
65
+ * @param enumContainer
66
+ * @returns
67
+ */
68
+ getLayoutContainer(enumContainer: LayoutContainerEnum): HTMLElement | undefined;
69
+ /**
70
+ * 改变容器可见性
71
+ * @param enumContainer
72
+ * @param isVisible
73
+ */
74
+ changeContainerVisible(enumContainer: LayoutContainerEnum, isVisible?: boolean): void;
75
+ /**
76
+ * 改变组件的可见性
77
+ * @param enumContainer
78
+ * @param isVisible
79
+ */
80
+ changeWidgetVisible(widgetID: string, isVisible?: boolean): void;
81
+ /**
82
+ * 根据ID,获取已经加载的Widget组件对象
83
+ * @param widgetID
84
+ * @returns
85
+ */
86
+ getWidgetComponent(widgetID: string): any;
87
+ /**
88
+ * 获取组件记录
89
+ * @param widgetID 组件ID
90
+ * @returns
91
+ */
92
+ getWigetItem(widgetID: string): IWidgetConfig | undefined;
93
+ /**
94
+ * 根据分组名,获取组件列表
95
+ * @param group 分组名
96
+ * @returns
97
+ */
98
+ getGroupWigetItems(group: string): IWidgetConfig[] | undefined;
99
+ /**
100
+ * 获取容器里的组件集合
101
+ * @param enumContainer
102
+ * @returns
103
+ */
104
+ getContainerComponents(enumContainer: LayoutContainerEnum): Ref<Map<string, Object>>;
105
+ addContainerComponent(enumContainer: LayoutContainerEnum, component: any): void;
106
+ }
107
+ export default LayoutManager;
@@ -0,0 +1,3 @@
1
+ import LayoutContainer from './layout.vue';
2
+ import LayoutManager from './LayoutManager';
3
+ export { LayoutContainer, LayoutManager };
@@ -0,0 +1,37 @@
1
+ import { PropType } from 'vue';
2
+ import { IWidgetConfig } from '../../model/Layout';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ widgetConfig: {
5
+ type: PropType<IWidgetConfig[]>;
6
+ required: true;
7
+ default: () => never[];
8
+ };
9
+ layoutStyle: {
10
+ type: ObjectConstructor;
11
+ };
12
+ }, {
13
+ topContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
14
+ centerbackComponents: import("vue").Ref<Map<string, Object>> | undefined;
15
+ centerfrontComponents: import("vue").Ref<Map<string, Object>> | undefined;
16
+ leftContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
17
+ rightContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
18
+ bottomContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
19
+ containerStyle: import("vue").ComputedRef<Record<string, any> | undefined>;
20
+ topContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
21
+ centerBackContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
22
+ centerMainContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
23
+ centerFrontContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
24
+ bottomContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
25
+ leftContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
26
+ rightContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
28
+ widgetConfig?: unknown;
29
+ layoutStyle?: unknown;
30
+ } & {
31
+ widgetConfig: IWidgetConfig[];
32
+ } & {
33
+ layoutStyle?: Record<string, any> | undefined;
34
+ }>, {
35
+ widgetConfig: IWidgetConfig[];
36
+ }>;
37
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import Splitpanes from './splitpanes.vue';
2
+ import Pane from './pane.vue';
3
+ export { Splitpanes, Pane };
@@ -0,0 +1,23 @@
1
+ export declare function isTouchEvent(e: MouseEvent | TouchEvent): e is TouchEvent;
2
+ export declare class SinglePointerEvent {
3
+ readonly e: MouseEvent | TouchEvent;
4
+ constructor(e: MouseEvent | TouchEvent);
5
+ stopPropagation(): void;
6
+ preventDefault(): void;
7
+ get clientX(): number;
8
+ get clientY(): number;
9
+ get clientCoord(): V2;
10
+ static bindDown(target: HTMLElement, cb: (e: SinglePointerEvent) => void, cancel?: (e: SinglePointerEvent) => void, useCapture?: boolean): () => void;
11
+ static bindMove(target: HTMLElement | Document, cb: (e: SinglePointerEvent) => void, useCapture?: boolean): () => void;
12
+ static bindUp(target: HTMLElement | Document, cb: (e: SinglePointerEvent) => void, useCapture?: boolean): () => void;
13
+ originalEvent({ mouse, touch }: Partial<{
14
+ mouse: (e: MouseEvent) => void;
15
+ touch: (e: TouchEvent) => void;
16
+ }>): void;
17
+ }
18
+ export declare class V2 {
19
+ x: number;
20
+ y: number;
21
+ constructor(x: number, y: number);
22
+ clone(): V2;
23
+ }
@@ -0,0 +1,16 @@
1
+ export declare function naturalSize(el?: HTMLElement): {
2
+ width: number;
3
+ height: number;
4
+ top: number;
5
+ left: number;
6
+ bottom: number;
7
+ right: number;
8
+ };
9
+ export declare function getRect(el: HTMLElement): {
10
+ width: number;
11
+ height: number;
12
+ top: number;
13
+ left: number;
14
+ bottom: number;
15
+ right: number;
16
+ };
@@ -0,0 +1,20 @@
1
+ export declare type Options = {
2
+ onMove?: () => void;
3
+ onMoveStart?: () => void;
4
+ onMoveEnd?: () => void;
5
+ };
6
+ export default class DraggableHelper {
7
+ readonly handle?: HTMLElement | undefined;
8
+ readonly container?: HTMLElement | undefined;
9
+ readonly options: Options;
10
+ private unbindDown?;
11
+ private unbindMove?;
12
+ private unbindUp?;
13
+ constructor(handle?: HTMLElement | undefined, container?: HTMLElement | undefined, options?: Options);
14
+ teardown(): void;
15
+ private offsetX;
16
+ private offsetY;
17
+ private mousedown;
18
+ private mousemove;
19
+ private mouseup;
20
+ }
@@ -0,0 +1,6 @@
1
+ /// <reference path="../../../../../../src/shims-vue.d.ts" />
2
+ import VWindow from './window/index.vue';
3
+ import { StyleBlack, StyleWhite, StyleMetal, StyleGrayblue } from './style';
4
+ export { WindowResizeEvent } from './window/utils';
5
+ export { StyleBlack, StyleWhite, StyleMetal, StyleGrayblue, VWindow };
6
+ export declare const WindowType: typeof import("*.vue");
@@ -0,0 +1,16 @@
1
+ export interface Options {
2
+ minWidth: number;
3
+ maxWidth?: number;
4
+ minHeight: number;
5
+ maxHeight?: number;
6
+ onResize?: () => void;
7
+ onResizeStart?: () => void;
8
+ onResizeEnd?: () => void;
9
+ }
10
+ export default class ResizableHelper {
11
+ readonly container?: HTMLElement | undefined;
12
+ readonly options?: Options | undefined;
13
+ private handles?;
14
+ constructor(container?: HTMLElement | undefined, options?: Options | undefined);
15
+ teardown(): void;
16
+ }
@@ -0,0 +1,110 @@
1
+ export declare type Style = Partial<CSSStyleDeclaration>;
2
+ export interface WindowStyle {
3
+ window: Style;
4
+ titlebar: Style;
5
+ content: Style;
6
+ button: Style;
7
+ buttonHover: Style;
8
+ buttonActive: Style;
9
+ }
10
+ export declare enum EnumWindowStyle {
11
+ StyleBlack = 0,
12
+ StyleWhite = 1,
13
+ StyleMetal = 2,
14
+ StyleGrayblue = 3
15
+ }
16
+ export declare const StyleBlack: {
17
+ window: {
18
+ color: string;
19
+ boxShadow: string;
20
+ backgroundColor: string;
21
+ };
22
+ titlebar: {
23
+ backgroundColor: string;
24
+ };
25
+ content: {};
26
+ button: {
27
+ color: string;
28
+ };
29
+ buttonHover: {
30
+ backgroundColor: string;
31
+ };
32
+ buttonActive: {
33
+ color: string;
34
+ backgroundColor: string;
35
+ };
36
+ };
37
+ export declare const StyleWhite: {
38
+ window: {
39
+ color: string;
40
+ boxShadow: string;
41
+ backgroundColor: string;
42
+ };
43
+ titlebar: {
44
+ backgroundColor: string;
45
+ };
46
+ content: {};
47
+ button: {
48
+ color: string;
49
+ };
50
+ buttonHover: {
51
+ backgroundColor: string;
52
+ };
53
+ buttonActive: {
54
+ color: string;
55
+ backgroundColor: string;
56
+ };
57
+ };
58
+ export declare const StyleMetal: {
59
+ window: {
60
+ color: string;
61
+ boxShadow: string;
62
+ background: string;
63
+ };
64
+ titlebar: {
65
+ background: string;
66
+ };
67
+ content: {};
68
+ button: {
69
+ color: string;
70
+ };
71
+ buttonHover: {
72
+ backgroundColor: string;
73
+ };
74
+ buttonActive: {
75
+ color: string;
76
+ backgroundColor: string;
77
+ };
78
+ };
79
+ /**
80
+ * 地球的窗体样式-浅灰蓝色
81
+ */
82
+ export declare const StyleGrayblue: {
83
+ window: {
84
+ color: string;
85
+ fontSize: string;
86
+ boxShadow: string;
87
+ backgroundColor: string;
88
+ borderRadius: string;
89
+ };
90
+ titlebar: {
91
+ backgroundColor: string;
92
+ border: string;
93
+ borderRadius: string;
94
+ fontSize: string;
95
+ fontWeight: number;
96
+ color: string;
97
+ };
98
+ content: {};
99
+ button: {
100
+ color: string;
101
+ fontSize: string;
102
+ };
103
+ buttonHover: {
104
+ backgroundColor: string;
105
+ };
106
+ buttonActive: {
107
+ color: string;
108
+ backgroundColor: string;
109
+ };
110
+ };
@@ -0,0 +1,26 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ disabled: {
4
+ type: PropType<boolean>;
5
+ default: boolean;
6
+ };
7
+ windowStyle: {
8
+ type: ObjectConstructor;
9
+ required: true;
10
+ };
11
+ }, {
12
+ hover: import("vue").Ref<boolean>;
13
+ active: import("vue").Ref<boolean>;
14
+ style: () => any;
15
+ mouseup: (e: MouseEvent & TouchEvent) => void;
16
+ mousedown: (e: MouseEvent & TouchEvent) => void;
17
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
18
+ disabled?: unknown;
19
+ windowStyle?: unknown;
20
+ } & {
21
+ disabled: boolean;
22
+ windowStyle: Record<string, any>;
23
+ } & {}>, {
24
+ disabled: boolean;
25
+ }>;
26
+ export default _default;