3h1-ui 1.2.0 → 1.2.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/es/index.js +7 -9
- package/es/ui/src/Button/index.d.ts +1 -48
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +1 -1
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -55
- package/es/ui/src/Drawer/index.d.ts +0 -1
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/es/ui/src/Modal/index.d.ts +4 -0
- package/es/ui/src/Modal/src/components/Modal.d.ts +10 -0
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +14 -0
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/props.d.ts +34 -0
- package/es/ui/src/Table/src/props.d.ts +2 -0
- package/lib/index.js +5 -7
- package/package.json +2 -2
- package/lib/ui/index.d.ts +0 -20
- package/lib/ui/src/Basic/index.d.ts +0 -4
- package/lib/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
- package/lib/ui/src/Button/index.d.ts +0 -51
- package/lib/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
- package/lib/ui/src/Button/src/props.d.ts +0 -37
- package/lib/ui/src/ClickOutSide/index.d.ts +0 -2
- package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
- package/lib/ui/src/Container/index.d.ts +0 -5
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
- package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
- package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
- package/lib/ui/src/Container/src/typing.d.ts +0 -15
- package/lib/ui/src/ContextMenu/index.d.ts +0 -3
- package/lib/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
- package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
- package/lib/ui/src/ContextMenu/src/typing.d.ts +0 -33
- package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
- package/lib/ui/src/CountDown/index.d.ts +0 -3
- package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
- package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
- package/lib/ui/src/CountDown/src/useCountdown.d.ts +0 -9
- package/lib/ui/src/CountTo/index.d.ts +0 -2
- package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
- package/lib/ui/src/Cropper/index.d.ts +0 -4
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
- package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -125
- package/lib/ui/src/Cropper/src/typing.d.ts +0 -6
- package/lib/ui/src/Description/index.d.ts +0 -4
- package/lib/ui/src/Description/src/Description.vue.d.ts +0 -101
- package/lib/ui/src/Description/src/typing.d.ts +0 -39
- package/lib/ui/src/Description/src/useDescription.d.ts +0 -2
- package/lib/ui/src/Drawer/index.d.ts +0 -4
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
- package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
- package/lib/ui/src/Drawer/src/props.d.ts +0 -115
- package/lib/ui/src/Drawer/src/typing.d.ts +0 -177
- package/lib/ui/src/Drawer/src/useDrawer.d.ts +0 -6
- package/lib/ui/src/Dropdown/index.d.ts +0 -3
- package/lib/ui/src/Dropdown/src/typing.d.ts +0 -9
- package/lib/ui/src/Icon/data/icons.data.d.ts +0 -2
- package/lib/ui/src/Icon/index.d.ts +0 -5
- package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
- package/lib/ui/src/Loading/index.d.ts +0 -4
- package/lib/ui/src/Loading/src/Loading.vue.d.ts +0 -57
- package/lib/ui/src/Loading/src/createLoading.d.ts +0 -13
- package/lib/ui/src/Loading/src/typing.d.ts +0 -9
- package/lib/ui/src/Loading/src/useLoading.d.ts +0 -11
- package/lib/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
- package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
- package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
- package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
- package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
- package/lib/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
- package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
- package/lib/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
- package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
- package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
- package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
- package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
- package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
- package/lib/ui/src/Modal/src/typing.d.ts +0 -173
- package/lib/ui/src/Modal/src/utils/index.d.ts +0 -5
- package/lib/ui/src/Modal/src/utils/is.d.ts +0 -13
- package/lib/ui/src/Modal/src/utils/log.d.ts +0 -2
- package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
- package/lib/ui/src/Page/index.d.ts +0 -4
- package/lib/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
- package/lib/ui/src/Scrollbar/index.d.ts +0 -6
- package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
- package/lib/ui/src/Scrollbar/src/bar.d.ts +0 -14
- package/lib/ui/src/Scrollbar/src/types.d.ts +0 -18
- package/lib/ui/src/Scrollbar/src/util.d.ts +0 -8
- package/lib/ui/src/StrengthMeter/index.d.ts +0 -2
- package/lib/ui/src/Table/index.d.ts +0 -11
- package/lib/ui/src/Table/src/componentMap.d.ts +0 -6
- package/lib/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
- package/lib/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
- package/lib/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
- package/lib/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
- package/lib/ui/src/Table/src/components/editable/helper.d.ts +0 -5
- package/lib/ui/src/Table/src/components/editable/index.d.ts +0 -22
- package/lib/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
- package/lib/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
- package/lib/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
- package/lib/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
- package/lib/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
- package/lib/ui/src/Table/src/const.d.ts +0 -22
- package/lib/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
- package/lib/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
- package/lib/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
- package/lib/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
- package/lib/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
- package/lib/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
- package/lib/ui/src/Table/src/hooks/useTable.d.ts +0 -17
- package/lib/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
- package/lib/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
- package/lib/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
- package/lib/ui/src/Table/src/hooks/useTableForm.d.ts +0 -9
- package/lib/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
- package/lib/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
- package/lib/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
- package/lib/ui/src/Table/src/types/componentType.d.ts +0 -1
- package/lib/ui/src/Table/src/types/pagination.d.ts +0 -93
- package/lib/ui/src/Table/src/types/table.d.ts +0 -372
- package/lib/ui/src/Table/src/types/tableAction.d.ts +0 -28
- package/lib/ui/src/Transition/index.d.ts +0 -368
- package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
- package/lib/ui/src/Transition/src/CreateTransition.d.ts +0 -47
- package/lib/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
- package/lib/ui/src/Tree/index.d.ts +0 -12
- package/lib/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
- package/lib/ui/src/Tree/src/TreeIcon.d.ts +0 -2
- package/lib/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
- package/lib/ui/src/Tree/src/types/tree.d.ts +0 -105
- package/lib/ui/src/Tree/style/index.d.ts +0 -0
- package/lib/ui/src/directives/clickOutside.d.ts +0 -3
- package/lib/ui/src/directives/index.d.ts +0 -1
- package/lib/ui/src/enums/sizeEnum.d.ts +0 -11
- package/lib/ui/types/global.d.ts +0 -102
- package/lib/ui/types/index.d.ts +0 -28
- /package/{lib/ui/src/Button/src/BasicButton.vue.d.ts → es/ui/src/Table/src/BasicTable.vue.d.ts} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import type { LoadingProps } from './typing';
|
|
3
|
-
export declare function createLoading(props?: Partial<LoadingProps>, target?: HTMLElement, wait?: boolean): {
|
|
4
|
-
vm: VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>;
|
|
7
|
-
close: () => void;
|
|
8
|
-
open: (target?: HTMLElement) => void;
|
|
9
|
-
setTip: (tip: string) => void;
|
|
10
|
-
setLoading: (loading: boolean) => void;
|
|
11
|
-
readonly loading: boolean;
|
|
12
|
-
readonly $el: HTMLElement;
|
|
13
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { LoadingProps } from './typing';
|
|
2
|
-
export interface UseLoadingOptions {
|
|
3
|
-
target?: any;
|
|
4
|
-
props?: Partial<LoadingProps>;
|
|
5
|
-
}
|
|
6
|
-
interface Fn {
|
|
7
|
-
(): void;
|
|
8
|
-
}
|
|
9
|
-
export declare function useLoading(props: Partial<LoadingProps>): [Fn, Fn, (string: any) => void];
|
|
10
|
-
export declare function useLoading(opt: Partial<UseLoadingOptions>): [Fn, Fn, (string: any) => void];
|
|
11
|
-
export {};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
/**
|
|
4
|
-
* Help text max-width
|
|
5
|
-
* @default: 600px
|
|
6
|
-
*/
|
|
7
|
-
maxWidth: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Whether to display the serial number
|
|
13
|
-
* @default: false
|
|
14
|
-
*/
|
|
15
|
-
showIndex: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Help text font color
|
|
20
|
-
* @default: #ffffff
|
|
21
|
-
*/
|
|
22
|
-
color: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Help text font size
|
|
28
|
-
* @default: 14px
|
|
29
|
-
*/
|
|
30
|
-
fontSize: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Help text list
|
|
36
|
-
*/
|
|
37
|
-
placement: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Help text list
|
|
43
|
-
*/
|
|
44
|
-
text: {
|
|
45
|
-
type: PropType<string | string[]>;
|
|
46
|
-
};
|
|
47
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
/**
|
|
49
|
-
* Help text max-width
|
|
50
|
-
* @default: 600px
|
|
51
|
-
*/
|
|
52
|
-
maxWidth: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Whether to display the serial number
|
|
58
|
-
* @default: false
|
|
59
|
-
*/
|
|
60
|
-
showIndex: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Help text font color
|
|
65
|
-
* @default: #ffffff
|
|
66
|
-
*/
|
|
67
|
-
color: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Help text font size
|
|
73
|
-
* @default: 14px
|
|
74
|
-
*/
|
|
75
|
-
fontSize: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Help text list
|
|
81
|
-
*/
|
|
82
|
-
placement: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Help text list
|
|
88
|
-
*/
|
|
89
|
-
text: {
|
|
90
|
-
type: PropType<string | string[]>;
|
|
91
|
-
};
|
|
92
|
-
}>>, {
|
|
93
|
-
placement: string;
|
|
94
|
-
color: string;
|
|
95
|
-
maxWidth: string;
|
|
96
|
-
showIndex: boolean;
|
|
97
|
-
fontSize: string;
|
|
98
|
-
}>;
|
|
99
|
-
export default _sfc_main;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
/**
|
|
4
|
-
* Help text list or string
|
|
5
|
-
* @default: ''
|
|
6
|
-
*/
|
|
7
|
-
helpMessage: {
|
|
8
|
-
type: PropType<string | string[]>;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Whether the color block on the left side of the title
|
|
13
|
-
* @default: false
|
|
14
|
-
*/
|
|
15
|
-
span: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Whether to default the text, that is, not bold
|
|
20
|
-
* @default: false
|
|
21
|
-
*/
|
|
22
|
-
normal: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
26
|
-
props: any;
|
|
27
|
-
prefixCls: string;
|
|
28
|
-
slots: Readonly<{
|
|
29
|
-
[name: string]: import("vue").Slot;
|
|
30
|
-
}>;
|
|
31
|
-
getClass: import("vue").ComputedRef<(string | {
|
|
32
|
-
[x: string]: import("vue").Slot;
|
|
33
|
-
} | {
|
|
34
|
-
[x: string]: boolean;
|
|
35
|
-
})[]>;
|
|
36
|
-
BasicHelp: import("vue").DefineComponent<{
|
|
37
|
-
maxWidth: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
showIndex: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
};
|
|
44
|
-
color: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
fontSize: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
placement: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
text: {
|
|
57
|
-
type: PropType<string | string[]>;
|
|
58
|
-
};
|
|
59
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
-
maxWidth: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
showIndex: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
};
|
|
67
|
-
color: {
|
|
68
|
-
type: StringConstructor;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
fontSize: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
placement: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
text: {
|
|
80
|
-
type: PropType<string | string[]>;
|
|
81
|
-
};
|
|
82
|
-
}>>, {
|
|
83
|
-
placement: string;
|
|
84
|
-
color: string;
|
|
85
|
-
maxWidth: string;
|
|
86
|
-
showIndex: boolean;
|
|
87
|
-
fontSize: string;
|
|
88
|
-
}>;
|
|
89
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
-
/**
|
|
91
|
-
* Help text list or string
|
|
92
|
-
* @default: ''
|
|
93
|
-
*/
|
|
94
|
-
helpMessage: {
|
|
95
|
-
type: PropType<string | string[]>;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Whether the color block on the left side of the title
|
|
100
|
-
* @default: false
|
|
101
|
-
*/
|
|
102
|
-
span: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Whether to default the text, that is, not bold
|
|
107
|
-
* @default: false
|
|
108
|
-
*/
|
|
109
|
-
normal: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
};
|
|
112
|
-
}>>, {
|
|
113
|
-
span: boolean;
|
|
114
|
-
helpMessage: string | string[];
|
|
115
|
-
normal: boolean;
|
|
116
|
-
}>;
|
|
117
|
-
export default _sfc_main;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
canFullscreen: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
fullScreen: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
};
|
|
9
|
-
}, {
|
|
10
|
-
t: {
|
|
11
|
-
(key: string): string;
|
|
12
|
-
(key: string, locale: string): string;
|
|
13
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
14
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
15
|
-
(key: string, list: unknown[]): string;
|
|
16
|
-
(key: string, named: Record<string, unknown>): string;
|
|
17
|
-
};
|
|
18
|
-
getClass: import("vue").ComputedRef<(string | {
|
|
19
|
-
[x: string]: boolean;
|
|
20
|
-
})[]>;
|
|
21
|
-
prefixCls: string;
|
|
22
|
-
handleCancel: (e: Event) => void;
|
|
23
|
-
handleFullScreen: (e: Event) => void;
|
|
24
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "fullscreen")[], "cancel" | "fullscreen", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
canFullscreen: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
fullScreen: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
};
|
|
32
|
-
}>> & {
|
|
33
|
-
onCancel?: (...args: any[]) => any;
|
|
34
|
-
onFullscreen?: (...args: any[]) => any;
|
|
35
|
-
}, {
|
|
36
|
-
canFullscreen: boolean;
|
|
37
|
-
fullScreen: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
export default _sfc_main;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
helpMessage: {
|
|
4
|
-
type: PropType<string | string[]>;
|
|
5
|
-
};
|
|
6
|
-
title: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "dblclick"[], "dblclick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
helpMessage: {
|
|
11
|
-
type: PropType<string | string[]>;
|
|
12
|
-
};
|
|
13
|
-
title: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
};
|
|
16
|
-
}>> & {
|
|
17
|
-
onDblclick?: (...args: any[]) => any;
|
|
18
|
-
}, {}>;
|
|
19
|
-
export default _sfc_main;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
loading: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
};
|
|
6
|
-
useWrapper: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
modalHeaderHeight: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
modalFooterHeight: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
minHeight: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
|
-
height: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
};
|
|
25
|
-
footerOffset: {
|
|
26
|
-
type: NumberConstructor;
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
visible: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
};
|
|
32
|
-
fullScreen: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
};
|
|
35
|
-
loadingTip: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
};
|
|
38
|
-
}, {
|
|
39
|
-
wrapperRef: import("vue").Ref<{
|
|
40
|
-
$el: HTMLDivElement;
|
|
41
|
-
}>;
|
|
42
|
-
spinRef: import("vue").Ref<HTMLDivElement>;
|
|
43
|
-
spinStyle: import("vue").ComputedRef<CSSProperties>;
|
|
44
|
-
scrollTop: () => Promise<void>;
|
|
45
|
-
setModalHeight: () => Promise<void>;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("height-change" | "ext-height")[], "height-change" | "ext-height", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
loading: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
};
|
|
50
|
-
useWrapper: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
modalHeaderHeight: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: number;
|
|
57
|
-
};
|
|
58
|
-
modalFooterHeight: {
|
|
59
|
-
type: NumberConstructor;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
|
-
minHeight: {
|
|
63
|
-
type: NumberConstructor;
|
|
64
|
-
default: number;
|
|
65
|
-
};
|
|
66
|
-
height: {
|
|
67
|
-
type: NumberConstructor;
|
|
68
|
-
};
|
|
69
|
-
footerOffset: {
|
|
70
|
-
type: NumberConstructor;
|
|
71
|
-
default: number;
|
|
72
|
-
};
|
|
73
|
-
visible: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
};
|
|
76
|
-
fullScreen: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
};
|
|
79
|
-
loadingTip: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
};
|
|
82
|
-
}>> & {
|
|
83
|
-
"onHeight-change"?: (...args: any[]) => any;
|
|
84
|
-
"onExt-height"?: (...args: any[]) => any;
|
|
85
|
-
}, {
|
|
86
|
-
visible: boolean;
|
|
87
|
-
loading: boolean;
|
|
88
|
-
useWrapper: boolean;
|
|
89
|
-
footerOffset: number;
|
|
90
|
-
modalHeaderHeight: number;
|
|
91
|
-
modalFooterHeight: number;
|
|
92
|
-
minHeight: number;
|
|
93
|
-
fullScreen: boolean;
|
|
94
|
-
}>;
|
|
95
|
-
export default _sfc_main;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
-
scrollbarRef: import("vue").Ref<{
|
|
3
|
-
wrap: HTMLDivElement;
|
|
4
|
-
}>;
|
|
5
|
-
scrollTo: (to: number, duration?: number) => void;
|
|
6
|
-
scrollBottom: () => void;
|
|
7
|
-
getScrollWrap: () => HTMLDivElement;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
9
|
-
export default _sfc_main;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
interface Params {
|
|
3
|
-
excludeListeners?: boolean;
|
|
4
|
-
excludeKeys?: string[];
|
|
5
|
-
excludeDefaultKeys?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function entries<T>(obj: Recordable<T>): [string, T][];
|
|
8
|
-
export declare function useAttrs(params?: Params): Ref<Recordable> | {};
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
2
|
-
export interface CreateContextOptions {
|
|
3
|
-
readonly?: boolean;
|
|
4
|
-
createProvider?: boolean;
|
|
5
|
-
native?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): {
|
|
8
|
-
state: any;
|
|
9
|
-
};
|
|
10
|
-
export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { InjectionKey, Ref } from 'vue';
|
|
2
|
-
export interface CreateContextOptions {
|
|
3
|
-
readonly?: boolean;
|
|
4
|
-
createProvider?: boolean;
|
|
5
|
-
native?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): {
|
|
8
|
-
state: any;
|
|
9
|
-
};
|
|
10
|
-
export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;
|
|
11
|
-
export interface AppProviderContextProps {
|
|
12
|
-
prefixCls: Ref<string>;
|
|
13
|
-
isMobile: Ref<boolean>;
|
|
14
|
-
}
|
|
15
|
-
export declare function createAppProviderContext(context: AppProviderContextProps): {
|
|
16
|
-
state: any;
|
|
17
|
-
};
|
|
18
|
-
export declare function useAppProviderContext(): AppProviderContextProps;
|
|
19
|
-
export declare function useDesign(scope: string): {
|
|
20
|
-
prefixCls: string;
|
|
21
|
-
prefixVar: Ref<string>;
|
|
22
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { createI18n } from 'vue-i18n';
|
|
2
|
-
export declare let i18n: ReturnType<typeof createI18n>;
|
|
3
|
-
declare type I18nGlobalTranslation = {
|
|
4
|
-
(key: string): string;
|
|
5
|
-
(key: string, locale: string): string;
|
|
6
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
7
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
8
|
-
(key: string, list: unknown[]): string;
|
|
9
|
-
(key: string, named: Record<string, unknown>): string;
|
|
10
|
-
};
|
|
11
|
-
export declare function useI18n(namespace?: string): {
|
|
12
|
-
t: I18nGlobalTranslation;
|
|
13
|
-
};
|
|
14
|
-
export declare const t: (key: string) => string;
|
|
15
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { UseModalReturnType, UseModalInnerReturnType } from '../typing';
|
|
2
|
-
/**
|
|
3
|
-
* @description: Applicable to independent modal and call outside
|
|
4
|
-
*/
|
|
5
|
-
export declare function useModal(): UseModalReturnType;
|
|
6
|
-
export declare const useModalInner: (callbackFn?: Fn) => UseModalInnerReturnType;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export interface UseFullScreenContext {
|
|
3
|
-
wrapClassName: Ref<string | undefined>;
|
|
4
|
-
modalWrapperRef: Ref<ComponentRef>;
|
|
5
|
-
extHeightRef: Ref<number>;
|
|
6
|
-
}
|
|
7
|
-
export declare function useFullScreen(context: UseFullScreenContext): {
|
|
8
|
-
getWrapClassName: import("vue").ComputedRef<string>;
|
|
9
|
-
handleFullScreen: (e: Event) => void;
|
|
10
|
-
fullScreenRef: Ref<boolean>;
|
|
11
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare function useTimeoutFn(handle: Fn<any>, wait: number, native?: boolean): {
|
|
2
|
-
readyRef: import("vue").Ref<boolean>;
|
|
3
|
-
stop: () => void;
|
|
4
|
-
start: () => void;
|
|
5
|
-
};
|
|
6
|
-
export declare function useTimeoutRef(wait: number): {
|
|
7
|
-
readyRef: import("vue").Ref<boolean>;
|
|
8
|
-
stop: () => void;
|
|
9
|
-
start: () => void;
|
|
10
|
-
};
|