@dazhicheng/ui 1.6.25 → 1.6.26
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/dist/components/tt-api-component/index.d.ts +35 -24
- package/dist/components/tt-api-component/index.vue.d.ts +34 -0
- package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +589 -260
- package/dist/components/tt-button/index.vue.d.ts +466 -0
- package/dist/components/tt-checkbox/index.d.ts +35 -26
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-drawer/index.d.ts +299 -306
- package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
- package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
- package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
- package/dist/components/tt-empty/index.d.ts +8 -10
- package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
- package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
- package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
- package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
- package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
- package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
- package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.vue.d.ts +216 -0
- package/dist/components/tt-form/src/useForm.d.ts +1 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +115 -24
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +41 -45
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
- package/dist/components/tt-image/tt-image.d.ts +34 -36
- package/dist/components/tt-loading/index.d.ts +2 -5
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-log/index.d.ts +6 -7
- package/dist/components/tt-log/index.vue.d.ts +5 -0
- package/dist/components/tt-modal/index.d.ts +364 -371
- package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
- package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
- package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
- package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
- package/dist/components/tt-modal-form/index.d.ts +2 -46
- package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
- package/dist/components/tt-nav-anchor/index.d.ts +12 -15
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
- package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
- package/dist/components/tt-radio-group/index.d.ts +50 -31
- package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
- package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
- package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +279 -287
- package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
- package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
- package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +17 -19
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
- package/dist/components/tt-text/index.d.ts +59 -34
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-upload/index.d.ts +311 -317
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
- package/dist/components/tt-upload/src/typing.d.ts +47 -49
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
- package/dist/components/tt-area/TtArea.d.ts +0 -3
- package/dist/components/tt-button/components/AddButton.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
- package/dist/components/tt-form/src/index.d.ts +0 -217
- package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
- package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
- package/dist/components/tt-loading/src/loading.d.ts +0 -13
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, WritableComputedRef
|
|
1
|
+
import { Ref, WritableComputedRef } from 'vue';
|
|
2
2
|
import { PanelSelectModelValue, PanelSelectValue } from '../types';
|
|
3
3
|
import { OptionGroup, PanelTreeNode } from './usePanelData';
|
|
4
4
|
type UsePanelSelectSelectionParams = {
|
|
@@ -13,10 +13,10 @@ type UsePanelSelectSelectionParams = {
|
|
|
13
13
|
* @param params 选择逻辑所需的响应式参数
|
|
14
14
|
*/
|
|
15
15
|
export declare function usePanelSelectSelection(params: UsePanelSelectSelectionParams): {
|
|
16
|
-
selectedOptions: ComputedRef<PanelTreeNode[]>;
|
|
17
|
-
selectedValueSet: ComputedRef<Set<PanelSelectValue>>;
|
|
18
|
-
isAllChecked: ComputedRef<boolean>;
|
|
19
|
-
isIndeterminate: ComputedRef<boolean>;
|
|
16
|
+
selectedOptions: import('vue').ComputedRef<PanelTreeNode[]>;
|
|
17
|
+
selectedValueSet: import('vue').ComputedRef<Set<PanelSelectValue>>;
|
|
18
|
+
isAllChecked: import('vue').ComputedRef<boolean>;
|
|
19
|
+
isIndeterminate: import('vue').ComputedRef<boolean>;
|
|
20
20
|
getGroupCheckCount: (group: OptionGroup) => {
|
|
21
21
|
enabledCount: number;
|
|
22
22
|
checkedCount: number;
|
|
@@ -1,53 +1,49 @@
|
|
|
1
|
-
import { nextTick, ComputedRef, Ref, ShallowRef
|
|
1
|
+
import { nextTick, ComputedRef, Ref, ShallowRef } from 'vue';
|
|
2
2
|
import { PanelTreeNode } from './hooks/usePanelData';
|
|
3
|
-
import { PanelContainerProps, PanelSelectModelValue, PanelSelectOption, PanelSelectValue
|
|
4
|
-
import { Recordable, AnyPromiseFunction } from '../../../../../utils/src';
|
|
5
|
-
import { ComponentSize, InputModelModifiers, InputType, InputAutoSize, InputProps, ScrollbarDirection, ScrollbarProps } from 'element-plus';
|
|
6
|
-
import { IconPropType } from 'element-plus/es/utils/index.mjs';
|
|
7
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
3
|
+
import { PanelContainerProps, PanelSelectModelValue, PanelSelectOption, PanelSelectValue } from './types';
|
|
8
4
|
type __VLS_Props = PanelContainerProps;
|
|
9
5
|
type __VLS_PublicProps = {
|
|
10
6
|
modelValue?: PanelSelectModelValue;
|
|
11
7
|
} & __VLS_Props;
|
|
12
|
-
declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
13
9
|
/** 重新加载数据源*/
|
|
14
10
|
reload: () => Promise<void>;
|
|
15
11
|
/** 获取当前归一化后的树形选项数据 */
|
|
16
12
|
getOptions: () => PanelTreeNode[];
|
|
17
13
|
/** 获取当前v-model值 */
|
|
18
14
|
getValue: () => PanelSelectModelValue;
|
|
19
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
16
|
change: (val: unknown, options: PanelSelectOption[], currentOption: PanelSelectOption | PanelSelectOption[] | undefined) => any;
|
|
21
17
|
"update:modelValue": (value: PanelSelectModelValue) => any;
|
|
22
18
|
"visible-change": (val: boolean) => any;
|
|
23
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
20
|
onChange?: ((val: unknown, options: PanelSelectOption[], currentOption: PanelSelectOption | PanelSelectOption[] | undefined) => any) | undefined;
|
|
25
21
|
"onUpdate:modelValue"?: ((value: PanelSelectModelValue) => any) | undefined;
|
|
26
22
|
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
27
23
|
}>, {
|
|
28
24
|
disabled: boolean;
|
|
29
25
|
immediate: boolean;
|
|
30
|
-
params: Recordable;
|
|
26
|
+
params: import('../../../../../utils/src').Recordable;
|
|
31
27
|
multiple: boolean;
|
|
32
28
|
options: PanelSelectOption[];
|
|
33
|
-
treeConfig: PanelSelectTreeConfig;
|
|
29
|
+
treeConfig: import('./types').PanelSelectTreeConfig;
|
|
34
30
|
showAll: boolean;
|
|
35
31
|
resultField: string;
|
|
36
|
-
afterFetch: AnyPromiseFunction<any, any>;
|
|
37
|
-
beforeFetch: AnyPromiseFunction<any, any>;
|
|
32
|
+
afterFetch: import('../../../../../utils/src').AnyPromiseFunction<any, any>;
|
|
33
|
+
beforeFetch: import('../../../../../utils/src').AnyPromiseFunction<any, any>;
|
|
38
34
|
alwaysLoad: boolean;
|
|
39
35
|
leftPlaceholder: string;
|
|
40
36
|
pasteSearch: boolean;
|
|
41
|
-
separator: PanelSelectSeparator;
|
|
37
|
+
separator: import('./types').PanelSelectSeparator;
|
|
42
38
|
middlePlaceholder: string;
|
|
43
39
|
showNav: boolean;
|
|
44
40
|
showAllField: PanelSelectValue;
|
|
45
41
|
showPinyinMode: boolean;
|
|
46
42
|
showOriginMode: boolean;
|
|
47
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
44
|
selectWrapRef: HTMLDivElement;
|
|
49
45
|
selectRef: unknown;
|
|
50
|
-
middleRef: CreateComponentPublicInstanceWithMixins<Readonly<
|
|
46
|
+
middleRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').PanelMiddleProps> & Readonly<{
|
|
51
47
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
52
48
|
onCheckAll?: ((checked: boolean) => any) | undefined;
|
|
53
49
|
onAllCheck?: ((checked: boolean) => any) | undefined;
|
|
@@ -57,33 +53,33 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
57
53
|
}>, {
|
|
58
54
|
scrollToGroup: (groupValue: PanelSelectValue) => Promise<void>;
|
|
59
55
|
inputFocus: () => void;
|
|
60
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
56
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
57
|
"update:keyword": (value: string) => any;
|
|
62
58
|
checkAll: (checked: boolean) => any;
|
|
63
59
|
allCheck: (checked: boolean) => any;
|
|
64
60
|
groupCheck: (groupValue: PanelSelectValue, checked: boolean) => any;
|
|
65
61
|
optionCheck: (value: PanelSelectValue, checked: boolean) => any;
|
|
66
62
|
optionsCheck: (values: PanelSelectValue[], checked: boolean) => any;
|
|
67
|
-
}, PublicProps, {
|
|
63
|
+
}, import('vue').PublicProps, {
|
|
68
64
|
disabled: boolean;
|
|
69
65
|
scrollToGroupValue: PanelSelectValue;
|
|
70
66
|
pasteSearch: boolean;
|
|
71
|
-
separator: PanelSelectSeparator;
|
|
72
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
67
|
+
separator: import('./types').PanelSelectSeparator;
|
|
68
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
73
69
|
searchInputRef: ({
|
|
74
|
-
$: ComponentInternalInstance;
|
|
70
|
+
$: import('vue').ComponentInternalInstance;
|
|
75
71
|
$data: {};
|
|
76
72
|
$props: {
|
|
77
73
|
readonly id?: string | undefined;
|
|
78
|
-
readonly size?: ComponentSize | undefined;
|
|
74
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
79
75
|
readonly disabled?: boolean | undefined;
|
|
80
76
|
readonly modelValue?: string | number | null | undefined | undefined;
|
|
81
|
-
readonly modelModifiers?: InputModelModifiers | undefined;
|
|
77
|
+
readonly modelModifiers?: import('element-plus').InputModelModifiers | undefined;
|
|
82
78
|
readonly maxlength?: string | number | undefined;
|
|
83
79
|
readonly minlength?: string | number | undefined;
|
|
84
|
-
readonly type?: InputType | undefined;
|
|
80
|
+
readonly type?: import('element-plus').InputType | undefined;
|
|
85
81
|
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
86
|
-
readonly autosize?: InputAutoSize | undefined;
|
|
82
|
+
readonly autosize?: import('element-plus').InputAutoSize | undefined;
|
|
87
83
|
readonly autocomplete?: string | undefined;
|
|
88
84
|
readonly formatter?: ((value: string) => string) | undefined;
|
|
89
85
|
readonly parser?: ((value: string) => string) | undefined;
|
|
@@ -91,16 +87,16 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
91
87
|
readonly form?: string | undefined;
|
|
92
88
|
readonly readonly?: boolean | undefined;
|
|
93
89
|
readonly clearable?: boolean | undefined;
|
|
94
|
-
readonly clearIcon?: IconPropType | undefined;
|
|
90
|
+
readonly clearIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
95
91
|
readonly showPassword?: boolean | undefined;
|
|
96
92
|
readonly showWordLimit?: boolean | undefined;
|
|
97
93
|
readonly wordLimitPosition?: "inside" | "outside" | undefined;
|
|
98
|
-
readonly suffixIcon?: IconPropType | undefined;
|
|
99
|
-
readonly prefixIcon?: IconPropType | undefined;
|
|
94
|
+
readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
95
|
+
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
100
96
|
readonly containerRole?: string | undefined;
|
|
101
97
|
readonly tabindex?: string | number | undefined;
|
|
102
98
|
readonly validateEvent?: boolean | undefined;
|
|
103
|
-
readonly inputStyle?: StyleValue;
|
|
99
|
+
readonly inputStyle?: import('vue').StyleValue;
|
|
104
100
|
readonly autofocus?: boolean | undefined;
|
|
105
101
|
readonly rows?: number | undefined;
|
|
106
102
|
readonly ariaLabel?: string | undefined;
|
|
@@ -119,7 +115,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
119
115
|
readonly onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
120
116
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
121
117
|
readonly onClear?: ((evt: MouseEvent | undefined) => any) | undefined | undefined;
|
|
122
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
118
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
123
119
|
$attrs: {
|
|
124
120
|
[x: string]: unknown;
|
|
125
121
|
};
|
|
@@ -127,14 +123,14 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
127
123
|
[x: string]: unknown;
|
|
128
124
|
};
|
|
129
125
|
$slots: Readonly<{
|
|
130
|
-
[name: string]: Slot<any> | undefined;
|
|
126
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
131
127
|
}>;
|
|
132
|
-
$root: ComponentPublicInstance | null;
|
|
133
|
-
$parent: ComponentPublicInstance | null;
|
|
128
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
129
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
134
130
|
$host: Element | null;
|
|
135
131
|
$emit: ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "update:modelValue", value: string) => void);
|
|
136
132
|
$el: any;
|
|
137
|
-
$options: ComponentOptionsBase<Readonly<
|
|
133
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
138
134
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
139
135
|
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
140
136
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -151,8 +147,8 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
151
147
|
input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
152
148
|
textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
153
149
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
154
|
-
textareaStyle: ComputedRef<
|
|
155
|
-
autosize: Ref<
|
|
150
|
+
textareaStyle: ComputedRef<import('vue').StyleValue>;
|
|
151
|
+
autosize: Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
156
152
|
isComposing: Ref<boolean, boolean>;
|
|
157
153
|
passwordVisible: Ref<boolean, boolean>;
|
|
158
154
|
focus: () => void | undefined;
|
|
@@ -160,7 +156,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
160
156
|
select: () => void;
|
|
161
157
|
clear: (evt?: MouseEvent) => void;
|
|
162
158
|
resizeTextarea: () => void;
|
|
163
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
159
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
164
160
|
blur: (evt: FocusEvent) => void;
|
|
165
161
|
change: (value: string, evt?: Event | undefined) => void;
|
|
166
162
|
compositionend: (evt: CompositionEvent) => void;
|
|
@@ -174,18 +170,18 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
174
170
|
"update:modelValue": (value: string) => void;
|
|
175
171
|
clear: (evt: MouseEvent | undefined) => void;
|
|
176
172
|
}, string, {
|
|
177
|
-
type: InputType;
|
|
173
|
+
type: import('element-plus').InputType;
|
|
178
174
|
disabled: boolean;
|
|
179
175
|
modelValue: string | number | null;
|
|
180
|
-
modelModifiers: InputModelModifiers;
|
|
176
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
181
177
|
autocomplete: string;
|
|
182
|
-
clearIcon: IconPropType;
|
|
178
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
183
179
|
wordLimitPosition: "inside" | "outside";
|
|
184
180
|
tabindex: string | number;
|
|
185
181
|
validateEvent: boolean;
|
|
186
|
-
inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
182
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
187
183
|
rows: number;
|
|
188
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
184
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
189
185
|
beforeCreate?: (() => void) | (() => void)[];
|
|
190
186
|
created?: (() => void) | (() => void)[];
|
|
191
187
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -198,26 +194,26 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
198
194
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
199
195
|
destroyed?: (() => void) | (() => void)[];
|
|
200
196
|
unmounted?: (() => void) | (() => void)[];
|
|
201
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
202
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
203
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
197
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
198
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
199
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
204
200
|
};
|
|
205
201
|
$forceUpdate: () => void;
|
|
206
202
|
$nextTick: typeof nextTick;
|
|
207
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
203
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
208
204
|
} & Readonly<{
|
|
209
|
-
type: InputType;
|
|
205
|
+
type: import('element-plus').InputType;
|
|
210
206
|
disabled: boolean;
|
|
211
207
|
modelValue: string | number | null;
|
|
212
|
-
modelModifiers: InputModelModifiers;
|
|
208
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
213
209
|
autocomplete: string;
|
|
214
|
-
clearIcon: IconPropType;
|
|
210
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
215
211
|
wordLimitPosition: "inside" | "outside";
|
|
216
212
|
tabindex: string | number;
|
|
217
213
|
validateEvent: boolean;
|
|
218
|
-
inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
214
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
219
215
|
rows: number;
|
|
220
|
-
}> & Omit<Readonly<
|
|
216
|
+
}> & Omit<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
221
217
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
222
218
|
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
223
219
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -230,12 +226,12 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
230
226
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
231
227
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
232
228
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
233
|
-
}>, "input" | "select" | "textarea" | "blur" | "focus" | "disabled" | "clear" | "type" | "ref" | "tabindex" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
229
|
+
}>, "input" | "select" | "textarea" | "blur" | "focus" | "disabled" | "clear" | "type" | "ref" | "tabindex" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
234
230
|
input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
235
231
|
textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
236
232
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
237
|
-
textareaStyle: ComputedRef<
|
|
238
|
-
autosize: Ref<
|
|
233
|
+
textareaStyle: ComputedRef<import('vue').StyleValue>;
|
|
234
|
+
autosize: Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
239
235
|
isComposing: Ref<boolean, boolean>;
|
|
240
236
|
passwordVisible: Ref<boolean, boolean>;
|
|
241
237
|
focus: () => void | undefined;
|
|
@@ -243,7 +239,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
243
239
|
select: () => void;
|
|
244
240
|
clear: (evt?: MouseEvent) => void;
|
|
245
241
|
resizeTextarea: () => void;
|
|
246
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
242
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
247
243
|
$slots: {
|
|
248
244
|
prepend?: (props: {}) => any;
|
|
249
245
|
} & {
|
|
@@ -259,17 +255,17 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
259
255
|
};
|
|
260
256
|
}) | null;
|
|
261
257
|
scrollbarRef: ({
|
|
262
|
-
$: ComponentInternalInstance;
|
|
258
|
+
$: import('vue').ComponentInternalInstance;
|
|
263
259
|
$data: {};
|
|
264
260
|
$props: {
|
|
265
261
|
readonly distance?: number | undefined;
|
|
266
262
|
readonly height?: number | string | undefined;
|
|
267
263
|
readonly maxHeight?: number | string | undefined;
|
|
268
264
|
readonly native?: boolean | undefined;
|
|
269
|
-
readonly wrapStyle?: StyleValue;
|
|
265
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
270
266
|
readonly wrapClass?: string | string[] | undefined;
|
|
271
267
|
readonly viewClass?: string | string[] | undefined;
|
|
272
|
-
readonly viewStyle?: StyleValue;
|
|
268
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
273
269
|
readonly noresize?: boolean | undefined;
|
|
274
270
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
275
271
|
readonly always?: boolean | undefined;
|
|
@@ -283,8 +279,8 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
283
279
|
scrollTop: number;
|
|
284
280
|
scrollLeft: number;
|
|
285
281
|
}) => any) | undefined | undefined;
|
|
286
|
-
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
287
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
282
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
283
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
288
284
|
$attrs: {
|
|
289
285
|
[x: string]: unknown;
|
|
290
286
|
};
|
|
@@ -292,22 +288,22 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
292
288
|
[x: string]: unknown;
|
|
293
289
|
};
|
|
294
290
|
$slots: Readonly<{
|
|
295
|
-
[name: string]: Slot<any> | undefined;
|
|
291
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
296
292
|
}>;
|
|
297
|
-
$root: ComponentPublicInstance | null;
|
|
298
|
-
$parent: ComponentPublicInstance | null;
|
|
293
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
294
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
299
295
|
$host: Element | null;
|
|
300
296
|
$emit: ((event: "scroll", args_0: {
|
|
301
297
|
scrollTop: number;
|
|
302
298
|
scrollLeft: number;
|
|
303
|
-
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
299
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
304
300
|
$el: any;
|
|
305
|
-
$options: ComponentOptionsBase<Readonly<
|
|
301
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
306
302
|
onScroll?: ((args_0: {
|
|
307
303
|
scrollTop: number;
|
|
308
304
|
scrollLeft: number;
|
|
309
305
|
}) => any) | undefined;
|
|
310
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
306
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
311
307
|
}>, {
|
|
312
308
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
313
309
|
update: () => void;
|
|
@@ -318,24 +314,24 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
318
314
|
setScrollTop: (value: number) => void;
|
|
319
315
|
setScrollLeft: (value: number) => void;
|
|
320
316
|
handleScroll: () => void;
|
|
321
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
317
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
322
318
|
scroll: (args_0: {
|
|
323
319
|
scrollTop: number;
|
|
324
320
|
scrollLeft: number;
|
|
325
321
|
}) => void;
|
|
326
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
322
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
327
323
|
}, string, {
|
|
328
324
|
tabindex: number | string;
|
|
329
325
|
height: number | string;
|
|
330
326
|
maxHeight: number | string;
|
|
331
327
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
332
328
|
distance: number;
|
|
333
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
329
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
334
330
|
wrapClass: string | string[];
|
|
335
331
|
viewClass: string | string[];
|
|
336
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
332
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
337
333
|
minSize: number;
|
|
338
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
334
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
339
335
|
beforeCreate?: (() => void) | (() => void)[];
|
|
340
336
|
created?: (() => void) | (() => void)[];
|
|
341
337
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -348,31 +344,31 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
348
344
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
349
345
|
destroyed?: (() => void) | (() => void)[];
|
|
350
346
|
unmounted?: (() => void) | (() => void)[];
|
|
351
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
352
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
353
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
347
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
348
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
349
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
354
350
|
};
|
|
355
351
|
$forceUpdate: () => void;
|
|
356
352
|
$nextTick: typeof nextTick;
|
|
357
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
353
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
358
354
|
} & Readonly<{
|
|
359
355
|
tabindex: number | string;
|
|
360
356
|
height: number | string;
|
|
361
357
|
maxHeight: number | string;
|
|
362
358
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
363
359
|
distance: number;
|
|
364
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
360
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
365
361
|
wrapClass: string | string[];
|
|
366
362
|
viewClass: string | string[];
|
|
367
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
363
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
368
364
|
minSize: number;
|
|
369
|
-
}> & Omit<Readonly<
|
|
365
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
370
366
|
onScroll?: ((args_0: {
|
|
371
367
|
scrollTop: number;
|
|
372
368
|
scrollLeft: number;
|
|
373
369
|
}) => any) | undefined;
|
|
374
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
375
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
370
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
371
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
376
372
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
377
373
|
update: () => void;
|
|
378
374
|
scrollTo: {
|
|
@@ -382,19 +378,19 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
382
378
|
setScrollTop: (value: number) => void;
|
|
383
379
|
setScrollLeft: (value: number) => void;
|
|
384
380
|
handleScroll: () => void;
|
|
385
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
381
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
386
382
|
$slots: {
|
|
387
383
|
default?: (props: {}) => any;
|
|
388
384
|
};
|
|
389
385
|
}) | null;
|
|
390
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
386
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
391
387
|
P: {};
|
|
392
388
|
B: {};
|
|
393
389
|
D: {};
|
|
394
390
|
C: {};
|
|
395
391
|
M: {};
|
|
396
392
|
Defaults: {};
|
|
397
|
-
}, Readonly<
|
|
393
|
+
}, Readonly<import('./types').PanelMiddleProps> & Readonly<{
|
|
398
394
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
399
395
|
onCheckAll?: ((checked: boolean) => any) | undefined;
|
|
400
396
|
onAllCheck?: ((checked: boolean) => any) | undefined;
|
|
@@ -408,7 +404,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
|
|
|
408
404
|
disabled: boolean;
|
|
409
405
|
scrollToGroupValue: PanelSelectValue;
|
|
410
406
|
pasteSearch: boolean;
|
|
411
|
-
separator: PanelSelectSeparator;
|
|
407
|
+
separator: import('./types').PanelSelectSeparator;
|
|
412
408
|
}> | null;
|
|
413
409
|
}, HTMLDivElement>;
|
|
414
410
|
export default _default;
|
|
@@ -1,33 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
export declare const TtRadioGroup: import('../../../../utils/src').SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: import('./type').TtRadioGroupValueType;
|
|
4
|
+
} & Omit<Partial<import('element-plus').RadioGroupProps>, "modelValue"> & {
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
beforeChange?: (val: import('./type').TtRadioGroupValueType | undefined, oldVal: import('./type').TtRadioGroupValueType | undefined) => Promise<boolean>;
|
|
7
|
+
}> & Readonly<{
|
|
8
|
+
onChange?: ((val: import('./type').TtRadioGroupValueType | undefined) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: import('./type').TtRadioGroupValueType) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
change: (val: import('./type').TtRadioGroupValueType | undefined) => any;
|
|
12
|
+
"update:modelValue": (value: import('./type').TtRadioGroupValueType) => any;
|
|
13
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
14
|
+
P: {};
|
|
15
|
+
B: {};
|
|
16
|
+
D: {};
|
|
17
|
+
C: {};
|
|
18
|
+
M: {};
|
|
19
|
+
Defaults: {};
|
|
20
|
+
}, Readonly<{
|
|
21
|
+
modelValue?: import('./type').TtRadioGroupValueType;
|
|
22
|
+
} & Omit<Partial<import('element-plus').RadioGroupProps>, "modelValue"> & {
|
|
23
|
+
clearable?: boolean;
|
|
24
|
+
beforeChange?: (val: import('./type').TtRadioGroupValueType | undefined, oldVal: import('./type').TtRadioGroupValueType | undefined) => Promise<boolean>;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
onChange?: ((val: import('./type').TtRadioGroupValueType | undefined) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: import('./type').TtRadioGroupValueType) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, {}>;
|
|
29
|
+
__isFragment?: never;
|
|
30
|
+
__isTeleport?: never;
|
|
31
|
+
__isSuspense?: never;
|
|
32
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
33
|
+
modelValue?: import('./type').TtRadioGroupValueType;
|
|
34
|
+
} & Omit<Partial<import('element-plus').RadioGroupProps>, "modelValue"> & {
|
|
35
|
+
clearable?: boolean;
|
|
36
|
+
beforeChange?: (val: import('./type').TtRadioGroupValueType | undefined, oldVal: import('./type').TtRadioGroupValueType | undefined) => Promise<boolean>;
|
|
37
|
+
}> & Readonly<{
|
|
38
|
+
onChange?: ((val: import('./type').TtRadioGroupValueType | undefined) => any) | undefined;
|
|
39
|
+
"onUpdate:modelValue"?: ((value: import('./type').TtRadioGroupValueType) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
change: (val: import('./type').TtRadioGroupValueType | undefined) => any;
|
|
42
|
+
"update:modelValue": (value: import('./type').TtRadioGroupValueType) => any;
|
|
43
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
default?: () => import('vue').VNodeChild;
|
|
12
46
|
}> & {
|
|
13
|
-
|
|
14
|
-
default?: () => VNodeChild;
|
|
47
|
+
default?: () => import('vue').VNodeChild;
|
|
15
48
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type
|
|
20
|
-
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
|
-
change: (val: TtRadioGroupValueType | undefined) => any;
|
|
22
|
-
"update:modelValue": (value: TtRadioGroupValueType) => any;
|
|
23
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
onChange?: ((val: TtRadioGroupValueType | undefined) => any) | undefined;
|
|
25
|
-
"onUpdate:modelValue"?: ((value: TtRadioGroupValueType) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
49
|
+
})> & Record<string, any>;
|
|
50
|
+
export default TtRadioGroup;
|
|
51
|
+
export type TtRadioGroupInstance = InstanceType<typeof TtRadioGroup>;
|
|
52
|
+
export type { TtRadioGroupProp, TtRadioGroupValueType } from './type';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TtRadioGroupProp, TtRadioGroupValueType } from './type';
|
|
2
|
+
import { VNodeChild } from 'vue';
|
|
3
|
+
type __VLS_Props = TtRadioGroupProp;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: TtRadioGroupValueType;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Readonly<{
|
|
10
|
+
/** 单选项内容 */
|
|
11
|
+
default?: () => VNodeChild;
|
|
12
|
+
}> & {
|
|
13
|
+
/** 单选项内容 */
|
|
14
|
+
default?: () => VNodeChild;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
change: (val: TtRadioGroupValueType | undefined) => any;
|
|
22
|
+
"update:modelValue": (value: TtRadioGroupValueType) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
onChange?: ((val: TtRadioGroupValueType | undefined) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: TtRadioGroupValueType) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../../../utils/src';
|
|
2
|
-
import { default as TtSelectConstructor } from './src/Select';
|
|
2
|
+
import { default as TtSelectConstructor } from './src/Select.vue';
|
|
3
3
|
export type { TtSelectProps as TtSelectProp } from './src/props';
|
|
4
4
|
export * from './src/types';
|
|
5
5
|
export declare const TtSelect: SFCWithInstall<typeof TtSelectConstructor>;
|