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,170 +0,0 @@
|
|
|
1
|
-
import type { DrawerProps } from './typing';
|
|
2
|
-
import type { CSSProperties } from 'vue';
|
|
3
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
confirmLoading: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
};
|
|
7
|
-
showCancelBtn: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
cancelButtonProps: import("vue").PropType<Recordable<any>>;
|
|
12
|
-
cancelText: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
showOkBtn: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
okButtonProps: import("vue").PropType<Recordable<any>>;
|
|
21
|
-
okText: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
okType: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
showFooter: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
};
|
|
32
|
-
footerHeight: {
|
|
33
|
-
type: import("vue").PropType<string | number>;
|
|
34
|
-
default: number;
|
|
35
|
-
};
|
|
36
|
-
isDetail: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
};
|
|
39
|
-
title: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
loadingText: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
};
|
|
46
|
-
showDetailBack: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
visible: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
};
|
|
53
|
-
loading: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
};
|
|
56
|
-
maskClosable: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
getContainer: {
|
|
61
|
-
type: import("vue").PropType<any>;
|
|
62
|
-
};
|
|
63
|
-
closeFunc: {
|
|
64
|
-
type: import("vue").PropType<any>;
|
|
65
|
-
default: any;
|
|
66
|
-
};
|
|
67
|
-
destroyOnClose: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
};
|
|
70
|
-
}, {
|
|
71
|
-
onClose: (e: Recordable) => Promise<void>;
|
|
72
|
-
prefixCls: string;
|
|
73
|
-
getMergeProps: any;
|
|
74
|
-
getScrollContentStyle: import("vue").ComputedRef<CSSProperties>;
|
|
75
|
-
getProps: any;
|
|
76
|
-
getLoading: import("vue").ComputedRef<boolean>;
|
|
77
|
-
getBindValues: import("vue").ComputedRef<DrawerProps>;
|
|
78
|
-
getFooterHeight: import("vue").ComputedRef<string>;
|
|
79
|
-
handleOk: () => void;
|
|
80
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ok" | "close" | "visible-change" | "register")[], "ok" | "close" | "visible-change" | "register", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
confirmLoading: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
};
|
|
84
|
-
showCancelBtn: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
cancelButtonProps: import("vue").PropType<Recordable<any>>;
|
|
89
|
-
cancelText: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
showOkBtn: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
|
-
okButtonProps: import("vue").PropType<Recordable<any>>;
|
|
98
|
-
okText: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
default: string;
|
|
101
|
-
};
|
|
102
|
-
okType: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
showFooter: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
};
|
|
109
|
-
footerHeight: {
|
|
110
|
-
type: import("vue").PropType<string | number>;
|
|
111
|
-
default: number;
|
|
112
|
-
};
|
|
113
|
-
isDetail: {
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
};
|
|
116
|
-
title: {
|
|
117
|
-
type: StringConstructor;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
loadingText: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
};
|
|
123
|
-
showDetailBack: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
visible: {
|
|
128
|
-
type: BooleanConstructor;
|
|
129
|
-
};
|
|
130
|
-
loading: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
};
|
|
133
|
-
maskClosable: {
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
default: boolean;
|
|
136
|
-
};
|
|
137
|
-
getContainer: {
|
|
138
|
-
type: import("vue").PropType<any>;
|
|
139
|
-
};
|
|
140
|
-
closeFunc: {
|
|
141
|
-
type: import("vue").PropType<any>;
|
|
142
|
-
default: any;
|
|
143
|
-
};
|
|
144
|
-
destroyOnClose: {
|
|
145
|
-
type: BooleanConstructor;
|
|
146
|
-
};
|
|
147
|
-
}>> & {
|
|
148
|
-
onOk?: (...args: any[]) => any;
|
|
149
|
-
"onVisible-change"?: (...args: any[]) => any;
|
|
150
|
-
onRegister?: (...args: any[]) => any;
|
|
151
|
-
onClose?: (...args: any[]) => any;
|
|
152
|
-
}, {
|
|
153
|
-
title: string;
|
|
154
|
-
visible: boolean;
|
|
155
|
-
okText: string;
|
|
156
|
-
okType: string;
|
|
157
|
-
cancelText: string;
|
|
158
|
-
maskClosable: boolean;
|
|
159
|
-
loading: boolean;
|
|
160
|
-
confirmLoading: boolean;
|
|
161
|
-
destroyOnClose: boolean;
|
|
162
|
-
showCancelBtn: boolean;
|
|
163
|
-
showOkBtn: boolean;
|
|
164
|
-
showFooter: boolean;
|
|
165
|
-
footerHeight: string | number;
|
|
166
|
-
isDetail: boolean;
|
|
167
|
-
showDetailBack: boolean;
|
|
168
|
-
closeFunc: any;
|
|
169
|
-
}>;
|
|
170
|
-
export default _sfc_main;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
height: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
confirmLoading: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
};
|
|
10
|
-
showCancelBtn: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
cancelButtonProps: import("vue").PropType<Recordable<any>>;
|
|
15
|
-
cancelText: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
showOkBtn: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
okButtonProps: import("vue").PropType<Recordable<any>>;
|
|
24
|
-
okText: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
okType: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
showFooter: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
};
|
|
35
|
-
footerHeight: {
|
|
36
|
-
type: import("vue").PropType<string | number>;
|
|
37
|
-
default: number;
|
|
38
|
-
};
|
|
39
|
-
}, {
|
|
40
|
-
handleOk: () => void;
|
|
41
|
-
prefixCls: string;
|
|
42
|
-
handleClose: () => void;
|
|
43
|
-
getStyle: import("vue").ComputedRef<CSSProperties>;
|
|
44
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ok" | "close")[], "ok" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
-
height: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
confirmLoading: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
};
|
|
52
|
-
showCancelBtn: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
cancelButtonProps: import("vue").PropType<Recordable<any>>;
|
|
57
|
-
cancelText: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
showOkBtn: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
okButtonProps: import("vue").PropType<Recordable<any>>;
|
|
66
|
-
okText: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
okType: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
showFooter: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
};
|
|
77
|
-
footerHeight: {
|
|
78
|
-
type: import("vue").PropType<string | number>;
|
|
79
|
-
default: number;
|
|
80
|
-
};
|
|
81
|
-
}>> & {
|
|
82
|
-
onOk?: (...args: any[]) => any;
|
|
83
|
-
onClose?: (...args: any[]) => any;
|
|
84
|
-
}, {
|
|
85
|
-
okText: string;
|
|
86
|
-
okType: string;
|
|
87
|
-
cancelText: string;
|
|
88
|
-
confirmLoading: boolean;
|
|
89
|
-
height: string;
|
|
90
|
-
showCancelBtn: boolean;
|
|
91
|
-
showOkBtn: boolean;
|
|
92
|
-
showFooter: boolean;
|
|
93
|
-
footerHeight: string | number;
|
|
94
|
-
}>;
|
|
95
|
-
export default _sfc_main;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
export declare const footerProps: {
|
|
3
|
-
confirmLoading: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @description: Show close button
|
|
8
|
-
*/
|
|
9
|
-
showCancelBtn: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
cancelButtonProps: PropType<Recordable<any>>;
|
|
14
|
-
cancelText: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @description: Show confirmation button
|
|
20
|
-
*/
|
|
21
|
-
showOkBtn: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
okButtonProps: PropType<Recordable<any>>;
|
|
26
|
-
okText: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
okType: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
showFooter: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
};
|
|
37
|
-
footerHeight: {
|
|
38
|
-
type: PropType<string | number>;
|
|
39
|
-
default: number;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const basicProps: {
|
|
43
|
-
confirmLoading: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* @description: Show close button
|
|
48
|
-
*/
|
|
49
|
-
showCancelBtn: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
cancelButtonProps: PropType<Recordable<any>>;
|
|
54
|
-
cancelText: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* @description: Show confirmation button
|
|
60
|
-
*/
|
|
61
|
-
showOkBtn: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
okButtonProps: PropType<Recordable<any>>;
|
|
66
|
-
okText: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
okType: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
showFooter: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
};
|
|
77
|
-
footerHeight: {
|
|
78
|
-
type: PropType<string | number>;
|
|
79
|
-
default: number;
|
|
80
|
-
};
|
|
81
|
-
isDetail: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
};
|
|
84
|
-
title: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
loadingText: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
};
|
|
91
|
-
showDetailBack: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
visible: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
};
|
|
98
|
-
loading: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
};
|
|
101
|
-
maskClosable: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
getContainer: {
|
|
106
|
-
type: PropType<any>;
|
|
107
|
-
};
|
|
108
|
-
closeFunc: {
|
|
109
|
-
type: PropType<any>;
|
|
110
|
-
default: any;
|
|
111
|
-
};
|
|
112
|
-
destroyOnClose: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import type { ButtonProps } from 'ant-design-vue/lib/button/buttonTypes';
|
|
2
|
-
import type { CSSProperties, VNodeChild, ComputedRef } from 'vue';
|
|
3
|
-
import type { ScrollContainerOptions } from '../../Container';
|
|
4
|
-
export interface DrawerInstance {
|
|
5
|
-
setDrawerProps: (props: Partial<DrawerProps> | boolean) => void;
|
|
6
|
-
emitVisible?: (visible: boolean, uid: number) => void;
|
|
7
|
-
}
|
|
8
|
-
export interface ReturnMethods extends DrawerInstance {
|
|
9
|
-
openDrawer: <T = any>(visible?: boolean, data?: T, openOnSet?: boolean) => void;
|
|
10
|
-
closeDrawer: () => void;
|
|
11
|
-
getVisible?: ComputedRef<boolean>;
|
|
12
|
-
}
|
|
13
|
-
export declare type RegisterFn = (drawerInstance: DrawerInstance, uuid?: string) => void;
|
|
14
|
-
export interface ReturnInnerMethods extends DrawerInstance {
|
|
15
|
-
closeDrawer: () => void;
|
|
16
|
-
changeLoading: (loading: boolean) => void;
|
|
17
|
-
changeOkLoading: (loading: boolean) => void;
|
|
18
|
-
getVisible?: ComputedRef<boolean>;
|
|
19
|
-
}
|
|
20
|
-
export declare type UseDrawerReturnType = [RegisterFn, ReturnMethods];
|
|
21
|
-
export declare type UseDrawerInnerReturnType = [RegisterFn, ReturnInnerMethods];
|
|
22
|
-
export interface DrawerFooterProps {
|
|
23
|
-
showOkBtn: boolean;
|
|
24
|
-
showCancelBtn: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Text of the Cancel button
|
|
27
|
-
* @default 'cancel'
|
|
28
|
-
* @type string
|
|
29
|
-
*/
|
|
30
|
-
cancelText: string;
|
|
31
|
-
/**
|
|
32
|
-
* Text of the OK button
|
|
33
|
-
* @default 'OK'
|
|
34
|
-
* @type string
|
|
35
|
-
*/
|
|
36
|
-
okText: string;
|
|
37
|
-
/**
|
|
38
|
-
* Button type of the OK button
|
|
39
|
-
* @default 'primary'
|
|
40
|
-
* @type string
|
|
41
|
-
*/
|
|
42
|
-
okType: 'primary' | 'danger' | 'dashed' | 'ghost' | 'default';
|
|
43
|
-
/**
|
|
44
|
-
* The ok button props, follow jsx rules
|
|
45
|
-
* @type object
|
|
46
|
-
*/
|
|
47
|
-
okButtonProps: {
|
|
48
|
-
props: ButtonProps;
|
|
49
|
-
on: {};
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* The cancel button props, follow jsx rules
|
|
53
|
-
* @type object
|
|
54
|
-
*/
|
|
55
|
-
cancelButtonProps: {
|
|
56
|
-
props: ButtonProps;
|
|
57
|
-
on: {};
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Whether to apply loading visual effect for OK button or not
|
|
61
|
-
* @default false
|
|
62
|
-
* @type boolean
|
|
63
|
-
*/
|
|
64
|
-
confirmLoading: boolean;
|
|
65
|
-
showFooter: boolean;
|
|
66
|
-
footerHeight: string | number;
|
|
67
|
-
}
|
|
68
|
-
export interface DrawerProps extends DrawerFooterProps {
|
|
69
|
-
isDetail?: boolean;
|
|
70
|
-
loading?: boolean;
|
|
71
|
-
showDetailBack?: boolean;
|
|
72
|
-
visible?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Built-in ScrollContainer component configuration
|
|
75
|
-
* @type ScrollContainerOptions
|
|
76
|
-
*/
|
|
77
|
-
scrollOptions?: ScrollContainerOptions;
|
|
78
|
-
closeFunc?: () => Promise<any>;
|
|
79
|
-
triggerWindowResize?: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Whether a close (x) button is visible on top right of the Drawer dialog or not.
|
|
82
|
-
* @default true
|
|
83
|
-
* @type boolean
|
|
84
|
-
*/
|
|
85
|
-
closable?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Whether to unmount child components on closing drawer or not.
|
|
88
|
-
* @default false
|
|
89
|
-
* @type boolean
|
|
90
|
-
*/
|
|
91
|
-
destroyOnClose?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Return the mounted node for Drawer.
|
|
94
|
-
* @default 'body'
|
|
95
|
-
* @type any ( HTMLElement| () => HTMLElement | string)
|
|
96
|
-
*/
|
|
97
|
-
getContainer?: () => HTMLElement | string;
|
|
98
|
-
/**
|
|
99
|
-
* Whether to show mask or not.
|
|
100
|
-
* @default true
|
|
101
|
-
* @type boolean
|
|
102
|
-
*/
|
|
103
|
-
mask?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Clicking on the mask (area outside the Drawer) to close the Drawer or not.
|
|
106
|
-
* @default true
|
|
107
|
-
* @type boolean
|
|
108
|
-
*/
|
|
109
|
-
maskClosable?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Style for Drawer's mask element.
|
|
112
|
-
* @default {}
|
|
113
|
-
* @type object
|
|
114
|
-
*/
|
|
115
|
-
maskStyle?: CSSProperties;
|
|
116
|
-
/**
|
|
117
|
-
* The title for Drawer.
|
|
118
|
-
* @type any (string | slot)
|
|
119
|
-
*/
|
|
120
|
-
title?: VNodeChild | JSX.Element;
|
|
121
|
-
/**
|
|
122
|
-
* The class name of the container of the Drawer dialog.
|
|
123
|
-
* @type string
|
|
124
|
-
*/
|
|
125
|
-
wrapClassName?: string;
|
|
126
|
-
class?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Style of wrapper element which **contains mask** compare to `drawerStyle`
|
|
129
|
-
* @type object
|
|
130
|
-
*/
|
|
131
|
-
wrapStyle?: CSSProperties;
|
|
132
|
-
/**
|
|
133
|
-
* Style of the popup layer element
|
|
134
|
-
* @type object
|
|
135
|
-
*/
|
|
136
|
-
drawerStyle?: CSSProperties;
|
|
137
|
-
/**
|
|
138
|
-
* Style of floating layer, typically used for adjusting its position.
|
|
139
|
-
* @type object
|
|
140
|
-
*/
|
|
141
|
-
bodyStyle?: CSSProperties;
|
|
142
|
-
headerStyle?: CSSProperties;
|
|
143
|
-
/**
|
|
144
|
-
* Width of the Drawer dialog.
|
|
145
|
-
* @default 256
|
|
146
|
-
* @type string | number
|
|
147
|
-
*/
|
|
148
|
-
width?: string | number;
|
|
149
|
-
/**
|
|
150
|
-
* placement is top or bottom, height of the Drawer dialog.
|
|
151
|
-
* @type string | number
|
|
152
|
-
*/
|
|
153
|
-
height?: string | number;
|
|
154
|
-
/**
|
|
155
|
-
* The z-index of the Drawer.
|
|
156
|
-
* @default 1000
|
|
157
|
-
* @type number
|
|
158
|
-
*/
|
|
159
|
-
zIndex?: number;
|
|
160
|
-
/**
|
|
161
|
-
* The placement of the Drawer.
|
|
162
|
-
* @default 'right'
|
|
163
|
-
* @type string
|
|
164
|
-
*/
|
|
165
|
-
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
166
|
-
afterVisibleChange?: (visible?: boolean) => void;
|
|
167
|
-
keyboard?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* Specify a callback that will be called when a user clicks mask, close button or Cancel button.
|
|
170
|
-
*/
|
|
171
|
-
onClose?: (e?: Event) => void;
|
|
172
|
-
}
|
|
173
|
-
export interface DrawerActionType {
|
|
174
|
-
scrollBottom: () => void;
|
|
175
|
-
scrollTo: (to: number) => void;
|
|
176
|
-
getScrollWrap: () => Element | null;
|
|
177
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { UseDrawerReturnType, UseDrawerInnerReturnType } from './typing';
|
|
2
|
-
/**
|
|
3
|
-
* @description: Applicable to separate drawer and call outside
|
|
4
|
-
*/
|
|
5
|
-
export declare function useDrawer(): UseDrawerReturnType;
|
|
6
|
-
export declare const useDrawerInner: (callbackFn?: Fn) => UseDrawerInnerReturnType;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import BasicForm from './src/BasicForm.vue';
|
|
2
|
-
import { useForm } from './src/hooks/useForm';
|
|
3
|
-
import ApiSelect from './src/components/ApiSelect.vue';
|
|
4
|
-
import RadioButtonGroup from './src/components/RadioButtonGroup.vue';
|
|
5
|
-
import ApiTreeSelect from './src/components/ApiTreeSelect.vue';
|
|
6
|
-
import ApiTree from './src/components/ApiTree.vue';
|
|
7
|
-
import ApiRadioGroup from './src/components/ApiRadioGroup.vue';
|
|
8
|
-
import ApiCascader from './src/components/ApiCascader.vue';
|
|
9
|
-
import ApiTransfer from './src/components/ApiTransfer.vue';
|
|
10
|
-
import TableChildren from './src/components/Table.vue';
|
|
11
|
-
import ApiModalSelect from './src/components/ApiModalSelect/ApiModalSelect.vue';
|
|
12
|
-
export { useComponentRegister } from './src/hooks/useComponentRegister';
|
|
13
|
-
export { BasicForm, useForm, ApiSelect, RadioButtonGroup, ApiTreeSelect, ApiTree, ApiRadioGroup, ApiCascader, ApiTransfer, TableChildren, ApiModalSelect };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
-
export default _sfc_main;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'vue';
|
|
2
|
-
import type { ComponentType } from './types/index';
|
|
3
|
-
declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
4
|
-
export declare function add(compName: ComponentType, component: Component): void;
|
|
5
|
-
export declare function del(compName: ComponentType): void;
|
|
6
|
-
export { componentMap };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
-
export default _sfc_main;
|