3h1-ui 1.2.6 → 2.0.0
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/{ui/types/global.d.ts → global.d.ts} +102 -102
- package/es/{ui/types/index.d.ts → index.d.ts} +28 -28
- package/es/index.js +7751 -5410
- package/es/style.css +853 -625
- package/lib/global.d.ts +102 -0
- package/lib/index.d.ts +28 -0
- package/lib/index.js +7718 -5380
- package/package.json +8 -6
- package/es/ui/index.d.ts +0 -20
- package/es/ui/src/Basic/index.d.ts +0 -4
- package/es/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
- package/es/ui/src/Button/index.d.ts +0 -5
- package/es/ui/src/Button/src/BasicButton.vue.d.ts +0 -2
- package/es/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
- package/es/ui/src/Button/src/props.d.ts +0 -37
- package/es/ui/src/ClickOutSide/index.d.ts +0 -2
- package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
- package/es/ui/src/Container/index.d.ts +0 -5
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
- package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
- package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
- package/es/ui/src/Container/src/typing.d.ts +0 -15
- package/es/ui/src/ContextMenu/index.d.ts +0 -3
- package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
- package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
- package/es/ui/src/ContextMenu/src/typing.d.ts +0 -33
- package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
- package/es/ui/src/CountDown/index.d.ts +0 -3
- package/es/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
- package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
- package/es/ui/src/CountDown/src/useCountdown.d.ts +0 -9
- package/es/ui/src/CountTo/index.d.ts +0 -2
- package/es/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
- package/es/ui/src/Cropper/index.d.ts +0 -4
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
- package/es/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -73
- package/es/ui/src/Cropper/src/typing.d.ts +0 -6
- package/es/ui/src/Description/index.d.ts +0 -4
- package/es/ui/src/Description/src/Description.vue.d.ts +0 -101
- package/es/ui/src/Description/src/typing.d.ts +0 -39
- package/es/ui/src/Description/src/useDescription.d.ts +0 -2
- package/es/ui/src/Drawer/index.d.ts +0 -3
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
- package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
- package/es/ui/src/Drawer/src/props.d.ts +0 -115
- package/es/ui/src/Drawer/src/typing.d.ts +0 -177
- package/es/ui/src/Drawer/src/useDrawer.d.ts +0 -6
- package/es/ui/src/Dropdown/index.d.ts +0 -3
- package/es/ui/src/Dropdown/src/typing.d.ts +0 -9
- package/es/ui/src/Form/index.d.ts +0 -13
- package/es/ui/src/Form/src/BasicForm.vue.d.ts +0 -2
- package/es/ui/src/Form/src/componentMap.d.ts +0 -6
- package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +0 -130
- package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +0 -11
- package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/FormAction.vue.d.ts +0 -2
- package/es/ui/src/Form/src/components/FormItem.vue.d.ts +0 -72
- package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +0 -35
- package/es/ui/src/Form/src/helper.d.ts +0 -14
- package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +0 -10
- package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +0 -3
- package/es/ui/src/Form/src/hooks/useForm.d.ts +0 -10
- package/es/ui/src/Form/src/hooks/useFormContext.d.ts +0 -8
- package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +0 -28
- package/es/ui/src/Form/src/hooks/useFormValues.d.ts +0 -13
- package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +0 -318
- package/es/ui/src/Form/src/props.d.ts +0 -2
- package/es/ui/src/Form/src/types/hooks.d.ts +0 -6
- package/es/ui/src/Icon/data/icons.data.d.ts +0 -2
- package/es/ui/src/Icon/index.d.ts +0 -5
- package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
- package/es/ui/src/Loading/index.d.ts +0 -4
- package/es/ui/src/Loading/src/Loading.vue.d.ts +0 -57
- package/es/ui/src/Loading/src/createLoading.d.ts +0 -13
- package/es/ui/src/Loading/src/typing.d.ts +0 -9
- package/es/ui/src/Loading/src/useLoading.d.ts +0 -11
- package/es/ui/src/Modal/index.d.ts +0 -4
- package/es/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
- package/es/ui/src/Modal/src/components/Modal.d.ts +0 -10
- package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +0 -14
- package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
- package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
- package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
- package/es/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
- package/es/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
- package/es/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
- package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
- package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
- package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
- package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
- package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
- package/es/ui/src/Modal/src/props.d.ts +0 -34
- package/es/ui/src/Modal/src/typing.d.ts +0 -173
- package/es/ui/src/Modal/src/utils/index.d.ts +0 -5
- package/es/ui/src/Modal/src/utils/is.d.ts +0 -13
- package/es/ui/src/Modal/src/utils/log.d.ts +0 -2
- package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
- package/es/ui/src/Page/index.d.ts +0 -4
- package/es/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
- package/es/ui/src/Scrollbar/index.d.ts +0 -6
- package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
- package/es/ui/src/Scrollbar/src/bar.d.ts +0 -14
- package/es/ui/src/Scrollbar/src/types.d.ts +0 -18
- package/es/ui/src/Scrollbar/src/util.d.ts +0 -8
- package/es/ui/src/StrengthMeter/index.d.ts +0 -2
- package/es/ui/src/Table/index.d.ts +0 -11
- package/es/ui/src/Table/src/BasicTable.vue.d.ts +0 -2
- package/es/ui/src/Table/src/componentMap.d.ts +0 -6
- package/es/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
- package/es/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
- package/es/ui/src/Table/src/components/TableAction.vue.d.ts +0 -2
- package/es/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
- package/es/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
- package/es/ui/src/Table/src/components/editable/helper.d.ts +0 -5
- package/es/ui/src/Table/src/components/editable/index.d.ts +0 -22
- package/es/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
- package/es/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
- package/es/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
- package/es/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
- package/es/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
- package/es/ui/src/Table/src/const.d.ts +0 -22
- package/es/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
- package/es/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
- package/es/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
- package/es/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
- package/es/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
- package/es/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
- package/es/ui/src/Table/src/hooks/useTable.d.ts +0 -17
- package/es/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
- package/es/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
- package/es/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
- package/es/ui/src/Table/src/hooks/useTableForm.d.ts +0 -8
- package/es/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
- package/es/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
- package/es/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
- package/es/ui/src/Table/src/props.d.ts +0 -2
- package/es/ui/src/Table/src/types/componentType.d.ts +0 -1
- package/es/ui/src/Table/src/types/pagination.d.ts +0 -93
- package/es/ui/src/Table/src/types/table.d.ts +0 -372
- package/es/ui/src/Table/src/types/tableAction.d.ts +0 -28
- package/es/ui/src/Transition/index.d.ts +0 -368
- package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
- package/es/ui/src/Transition/src/CreateTransition.d.ts +0 -47
- package/es/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
- package/es/ui/src/Tree/index.d.ts +0 -12
- package/es/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
- package/es/ui/src/Tree/src/TreeIcon.d.ts +0 -2
- package/es/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
- package/es/ui/src/Tree/src/types/tree.d.ts +0 -105
- package/es/ui/src/Tree/style/index.d.ts +0 -0
- package/es/ui/src/directives/clickOutside.d.ts +0 -3
- package/es/ui/src/directives/index.d.ts +0 -1
- package/es/ui/src/enums/sizeEnum.d.ts +0 -11
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface Axis {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}
|
|
5
|
-
export interface ContextMenuItem {
|
|
6
|
-
label: string;
|
|
7
|
-
icon?: string;
|
|
8
|
-
hidden?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
handler?: Fn;
|
|
11
|
-
divider?: boolean;
|
|
12
|
-
children?: ContextMenuItem[];
|
|
13
|
-
}
|
|
14
|
-
export interface CreateContextOptions {
|
|
15
|
-
event: MouseEvent;
|
|
16
|
-
icon?: string;
|
|
17
|
-
styles?: any;
|
|
18
|
-
items?: ContextMenuItem[];
|
|
19
|
-
}
|
|
20
|
-
export interface ContextMenuProps {
|
|
21
|
-
event?: MouseEvent;
|
|
22
|
-
styles?: any;
|
|
23
|
-
items: ContextMenuItem[];
|
|
24
|
-
customEvent?: MouseEvent;
|
|
25
|
-
axis?: Axis;
|
|
26
|
-
width?: number;
|
|
27
|
-
showIcon?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface ItemContentProps {
|
|
30
|
-
showIcon: boolean | undefined;
|
|
31
|
-
item: ContextMenuItem;
|
|
32
|
-
handler: Fn;
|
|
33
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
value: {
|
|
3
|
-
type: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor)[];
|
|
4
|
-
};
|
|
5
|
-
count: {
|
|
6
|
-
type: NumberConstructor;
|
|
7
|
-
default: number;
|
|
8
|
-
};
|
|
9
|
-
beforeStartFunc: {
|
|
10
|
-
type: PropType<() => Promise<boolean>>;
|
|
11
|
-
default: any;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
handleStart: () => Promise<void>;
|
|
15
|
-
currentCount: import("vue").Ref<number>;
|
|
16
|
-
loading: import("vue").Ref<boolean>;
|
|
17
|
-
getButtonText: import("vue").ComputedRef<string>;
|
|
18
|
-
isStart: import("vue").Ref<boolean>;
|
|
19
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
value: {
|
|
21
|
-
type: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor)[];
|
|
22
|
-
};
|
|
23
|
-
count: {
|
|
24
|
-
type: NumberConstructor;
|
|
25
|
-
default: number;
|
|
26
|
-
};
|
|
27
|
-
beforeStartFunc: {
|
|
28
|
-
type: PropType<() => Promise<boolean>>;
|
|
29
|
-
default: any;
|
|
30
|
-
};
|
|
31
|
-
}>>, {
|
|
32
|
-
count: number;
|
|
33
|
-
beforeStartFunc: () => Promise<boolean>;
|
|
34
|
-
}>;
|
|
35
|
-
export default _sfc_main;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
value: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
};
|
|
6
|
-
size: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
validator: (v: any) => boolean;
|
|
9
|
-
};
|
|
10
|
-
count: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
sendCodeApi: {
|
|
15
|
-
type: PropType<() => Promise<boolean>>;
|
|
16
|
-
default: any;
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
prefixCls: string;
|
|
20
|
-
state: import("vue").WritableComputedRef<string | number | (() => Promise<boolean>)>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
value: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
size: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
validator: (v: any) => boolean;
|
|
28
|
-
};
|
|
29
|
-
count: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
sendCodeApi: {
|
|
34
|
-
type: PropType<() => Promise<boolean>>;
|
|
35
|
-
default: any;
|
|
36
|
-
};
|
|
37
|
-
}>>, {
|
|
38
|
-
count: number;
|
|
39
|
-
sendCodeApi: () => Promise<boolean>;
|
|
40
|
-
}>;
|
|
41
|
-
export default _sfc_main;
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
startVal: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
default: number;
|
|
5
|
-
};
|
|
6
|
-
endVal: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
duration: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
autoplay: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
decimals: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
validator(value: number): boolean;
|
|
22
|
-
};
|
|
23
|
-
prefix: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
suffix: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
separator: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
decimal: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* font color
|
|
41
|
-
*/
|
|
42
|
-
color: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Turn on digital animation
|
|
47
|
-
*/
|
|
48
|
-
useEasing: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Digital animation
|
|
54
|
-
*/
|
|
55
|
-
transition: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
}, {
|
|
60
|
-
value: import("vue").ComputedRef<string>;
|
|
61
|
-
start: () => void;
|
|
62
|
-
reset: () => void;
|
|
63
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onStarted" | "onFinished")[], "onStarted" | "onFinished", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
-
startVal: {
|
|
65
|
-
type: NumberConstructor;
|
|
66
|
-
default: number;
|
|
67
|
-
};
|
|
68
|
-
endVal: {
|
|
69
|
-
type: NumberConstructor;
|
|
70
|
-
default: number;
|
|
71
|
-
};
|
|
72
|
-
duration: {
|
|
73
|
-
type: NumberConstructor;
|
|
74
|
-
default: number;
|
|
75
|
-
};
|
|
76
|
-
autoplay: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
decimals: {
|
|
81
|
-
type: NumberConstructor;
|
|
82
|
-
default: number;
|
|
83
|
-
validator(value: number): boolean;
|
|
84
|
-
};
|
|
85
|
-
prefix: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
suffix: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
separator: {
|
|
94
|
-
type: StringConstructor;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
decimal: {
|
|
98
|
-
type: StringConstructor;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* font color
|
|
103
|
-
*/
|
|
104
|
-
color: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Turn on digital animation
|
|
109
|
-
*/
|
|
110
|
-
useEasing: {
|
|
111
|
-
type: BooleanConstructor;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Digital animation
|
|
116
|
-
*/
|
|
117
|
-
transition: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
}>> & {
|
|
122
|
-
onOnStarted?: (...args: any[]) => any;
|
|
123
|
-
onOnFinished?: (...args: any[]) => any;
|
|
124
|
-
}, {
|
|
125
|
-
duration: number;
|
|
126
|
-
decimal: string;
|
|
127
|
-
startVal: number;
|
|
128
|
-
endVal: number;
|
|
129
|
-
autoplay: boolean;
|
|
130
|
-
decimals: number;
|
|
131
|
-
prefix: string;
|
|
132
|
-
suffix: string;
|
|
133
|
-
separator: string;
|
|
134
|
-
useEasing: boolean;
|
|
135
|
-
transition: string;
|
|
136
|
-
}>;
|
|
137
|
-
export default _sfc_main;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { CropendResult, Cropper } from './typing';
|
|
2
|
-
declare type apiFunParams = {
|
|
3
|
-
file: Blob;
|
|
4
|
-
name: string;
|
|
5
|
-
filename: string;
|
|
6
|
-
};
|
|
7
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
8
|
-
circled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
uploadApi: {
|
|
13
|
-
type: PropType<(params: apiFunParams) => Promise<any>>;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
prefixCls: string;
|
|
17
|
-
src: import("vue").Ref<string>;
|
|
18
|
-
register: import("../../Modal/src/typing").RegisterFn;
|
|
19
|
-
previewSource: import("vue").Ref<string>;
|
|
20
|
-
handleBeforeUpload: (file: File) => boolean;
|
|
21
|
-
handleCropend: ({ imgBase64 }: CropendResult) => void;
|
|
22
|
-
handleReady: (cropperInstance: Cropper) => void;
|
|
23
|
-
handlerToolbar: (event: string, arg?: number) => void;
|
|
24
|
-
handleOk: () => Promise<void>;
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "uploadSuccess")[], "register" | "uploadSuccess", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
circled: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
uploadApi: {
|
|
31
|
-
type: PropType<(params: apiFunParams) => Promise<any>>;
|
|
32
|
-
};
|
|
33
|
-
}>> & {
|
|
34
|
-
onRegister?: (...args: any[]) => any;
|
|
35
|
-
onUploadSuccess?: (...args: any[]) => any;
|
|
36
|
-
}, {
|
|
37
|
-
circled: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
export default _sfc_main;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'vue';
|
|
2
|
-
import Cropper from 'cropperjs';
|
|
3
|
-
declare type Options = Cropper.Options;
|
|
4
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
-
src: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: boolean;
|
|
8
|
-
};
|
|
9
|
-
alt: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
};
|
|
12
|
-
circled: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
realTimePreview: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
height: {
|
|
21
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
crossorigin: {
|
|
25
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
26
|
-
default: any;
|
|
27
|
-
};
|
|
28
|
-
imageStyle: {
|
|
29
|
-
type: PropType<CSSProperties>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
options: {
|
|
33
|
-
type: PropType<Options>;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
}, {
|
|
37
|
-
getClass: import("vue").ComputedRef<unknown[]>;
|
|
38
|
-
imgElRef: import("vue").Ref<HTMLImageElement>;
|
|
39
|
-
getWrapperStyle: import("vue").ComputedRef<CSSProperties>;
|
|
40
|
-
getImageStyle: import("vue").ComputedRef<CSSProperties>;
|
|
41
|
-
isReady: import("vue").Ref<boolean>;
|
|
42
|
-
croppered: () => void;
|
|
43
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cropend" | "ready" | "cropendError")[], "cropend" | "ready" | "cropendError", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
src: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
required: boolean;
|
|
47
|
-
};
|
|
48
|
-
alt: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
};
|
|
51
|
-
circled: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
realTimePreview: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
height: {
|
|
60
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
crossorigin: {
|
|
64
|
-
type: PropType<"" | "anonymous" | "use-credentials">;
|
|
65
|
-
default: any;
|
|
66
|
-
};
|
|
67
|
-
imageStyle: {
|
|
68
|
-
type: PropType<CSSProperties>;
|
|
69
|
-
default: () => {};
|
|
70
|
-
};
|
|
71
|
-
options: {
|
|
72
|
-
type: PropType<Options>;
|
|
73
|
-
default: () => {};
|
|
74
|
-
};
|
|
75
|
-
}>> & {
|
|
76
|
-
onCropend?: (...args: any[]) => any;
|
|
77
|
-
onReady?: (...args: any[]) => any;
|
|
78
|
-
onCropendError?: (...args: any[]) => any;
|
|
79
|
-
}, {
|
|
80
|
-
options: {};
|
|
81
|
-
height: string | number;
|
|
82
|
-
circled: boolean;
|
|
83
|
-
realTimePreview: boolean;
|
|
84
|
-
crossorigin: "" | "anonymous" | "use-credentials";
|
|
85
|
-
imageStyle: CSSProperties;
|
|
86
|
-
}>;
|
|
87
|
-
export default _sfc_main;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
width: {
|
|
4
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
value: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
};
|
|
10
|
-
showBtn: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
btnProps: {
|
|
15
|
-
type: PropType<ButtonProps>;
|
|
16
|
-
};
|
|
17
|
-
btnText: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
uploadApi: {
|
|
22
|
-
type: PropType<({ file, name }: {
|
|
23
|
-
file: any;
|
|
24
|
-
name: any;
|
|
25
|
-
}) => Promise<void>>;
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
prefixCls: string;
|
|
29
|
-
register: import("../../Modal/src/typing").RegisterFn;
|
|
30
|
-
openModal: any;
|
|
31
|
-
getIconWidth: import("vue").ComputedRef<string>;
|
|
32
|
-
sourceValue: import("vue").Ref<string>;
|
|
33
|
-
getClass: import("vue").ComputedRef<string[]>;
|
|
34
|
-
getImageWrapperStyle: import("vue").ComputedRef<CSSProperties>;
|
|
35
|
-
getStyle: import("vue").ComputedRef<CSSProperties>;
|
|
36
|
-
handleUploadSuccess: ({ source, data }: {
|
|
37
|
-
source: any;
|
|
38
|
-
data: any;
|
|
39
|
-
}) => void;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
width: {
|
|
42
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
value: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
};
|
|
48
|
-
showBtn: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
btnProps: {
|
|
53
|
-
type: PropType<ButtonProps>;
|
|
54
|
-
};
|
|
55
|
-
btnText: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
uploadApi: {
|
|
60
|
-
type: PropType<({ file, name }: {
|
|
61
|
-
file: any;
|
|
62
|
-
name: any;
|
|
63
|
-
}) => Promise<void>>;
|
|
64
|
-
};
|
|
65
|
-
}>> & {
|
|
66
|
-
onChange?: (...args: any[]) => any;
|
|
67
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
68
|
-
}, {
|
|
69
|
-
width: string | number;
|
|
70
|
-
showBtn: boolean;
|
|
71
|
-
btnText: string;
|
|
72
|
-
}>;
|
|
73
|
-
export default _sfc_main;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import type { DescItem } from './typing';
|
|
2
|
-
import { CollapseContainerOptions } from '../../Container';
|
|
3
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
useCollapse: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
title: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
validator: (v: any) => boolean;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
bordered: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
column: {
|
|
22
|
-
type: PropType<number | Recordable<any>>;
|
|
23
|
-
default: () => {
|
|
24
|
-
xxl: number;
|
|
25
|
-
xl: number;
|
|
26
|
-
lg: number;
|
|
27
|
-
md: number;
|
|
28
|
-
sm: number;
|
|
29
|
-
xs: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
collapseOptions: {
|
|
33
|
-
type: PropType<CollapseContainerOptions>;
|
|
34
|
-
default: any;
|
|
35
|
-
};
|
|
36
|
-
schema: {
|
|
37
|
-
type: PropType<DescItem[]>;
|
|
38
|
-
default: () => any[];
|
|
39
|
-
};
|
|
40
|
-
data: {
|
|
41
|
-
type: ObjectConstructor;
|
|
42
|
-
};
|
|
43
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
useCollapse: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
title: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
size: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
validator: (v: any) => boolean;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
bordered: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
column: {
|
|
62
|
-
type: PropType<number | Recordable<any>>;
|
|
63
|
-
default: () => {
|
|
64
|
-
xxl: number;
|
|
65
|
-
xl: number;
|
|
66
|
-
lg: number;
|
|
67
|
-
md: number;
|
|
68
|
-
sm: number;
|
|
69
|
-
xs: number;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
collapseOptions: {
|
|
73
|
-
type: PropType<CollapseContainerOptions>;
|
|
74
|
-
default: any;
|
|
75
|
-
};
|
|
76
|
-
schema: {
|
|
77
|
-
type: PropType<DescItem[]>;
|
|
78
|
-
default: () => any[];
|
|
79
|
-
};
|
|
80
|
-
data: {
|
|
81
|
-
type: ObjectConstructor;
|
|
82
|
-
};
|
|
83
|
-
}>> & {
|
|
84
|
-
onRegister?: (...args: any[]) => any;
|
|
85
|
-
}, {
|
|
86
|
-
title: string;
|
|
87
|
-
size: string;
|
|
88
|
-
useCollapse: boolean;
|
|
89
|
-
bordered: boolean;
|
|
90
|
-
column: {
|
|
91
|
-
xxl: number;
|
|
92
|
-
xl: number;
|
|
93
|
-
lg: number;
|
|
94
|
-
md: number;
|
|
95
|
-
sm: number;
|
|
96
|
-
xs: number;
|
|
97
|
-
};
|
|
98
|
-
collapseOptions: any;
|
|
99
|
-
schema: DescItem[];
|
|
100
|
-
}>;
|
|
101
|
-
export default _sfc_main;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { VNode, CSSProperties } from 'vue';
|
|
2
|
-
import type { CollapseContainerOptions } from '../../Container';
|
|
3
|
-
import type { DescriptionsProps } from 'ant-design-vue/es/descriptions/index';
|
|
4
|
-
export interface DescItem {
|
|
5
|
-
labelMinWidth?: number;
|
|
6
|
-
contentMinWidth?: number;
|
|
7
|
-
labelStyle?: CSSProperties;
|
|
8
|
-
field: string;
|
|
9
|
-
label: string | VNode | JSX.Element;
|
|
10
|
-
span?: number;
|
|
11
|
-
show?: (...arg: any) => boolean;
|
|
12
|
-
render?: (val: any, data: Recordable) => VNode | undefined | JSX.Element | Element | string | number;
|
|
13
|
-
}
|
|
14
|
-
export interface DescriptionProps extends DescriptionsProps {
|
|
15
|
-
useCollapse?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* item configuration
|
|
18
|
-
* @type DescItem
|
|
19
|
-
*/
|
|
20
|
-
schema: DescItem[];
|
|
21
|
-
/**
|
|
22
|
-
* 数据
|
|
23
|
-
* @type object
|
|
24
|
-
*/
|
|
25
|
-
data: Recordable;
|
|
26
|
-
/**
|
|
27
|
-
* Built-in CollapseContainer component configuration
|
|
28
|
-
* @type CollapseContainerOptions
|
|
29
|
-
*/
|
|
30
|
-
collapseOptions?: CollapseContainerOptions;
|
|
31
|
-
}
|
|
32
|
-
export interface DescInstance {
|
|
33
|
-
setDescProps(descProps: Partial<DescriptionProps>): void;
|
|
34
|
-
}
|
|
35
|
-
export declare type Register = (descInstance: DescInstance) => void;
|
|
36
|
-
/**
|
|
37
|
-
* @description:
|
|
38
|
-
*/
|
|
39
|
-
export declare type UseDescReturnType = [Register, DescInstance];
|