@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,11 +1,6 @@
|
|
|
1
1
|
import { SelectProps } from 'element-plus';
|
|
2
|
-
import { VxeGridDefines
|
|
3
|
-
import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions, TtSelectDataOptions
|
|
4
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNode, DefineComponent, PublicProps } from 'vue';
|
|
5
|
-
import { TtSelectGridProps, TtSelectProps } from './props';
|
|
6
|
-
import { VxeListMethods, VxeListProps, VxeListEventProps, VxeListSlots } from 'vxe-pc-ui';
|
|
7
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
8
|
-
import { TipConfig } from '../../../directives/disabled-tip';
|
|
2
|
+
import { VxeGridDefines } from 'vxe-table';
|
|
3
|
+
import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions, TtSelectDataOptions } from './types';
|
|
9
4
|
declare function __VLS_template(): {
|
|
10
5
|
attrs: Partial<{}>;
|
|
11
6
|
slots: Readonly<{
|
|
@@ -31,81 +26,81 @@ declare function __VLS_template(): {
|
|
|
31
26
|
};
|
|
32
27
|
refs: {
|
|
33
28
|
tableRef: ({
|
|
34
|
-
$: ComponentInternalInstance;
|
|
29
|
+
$: import('vue').ComponentInternalInstance;
|
|
35
30
|
$data: {};
|
|
36
31
|
$props: Partial<{
|
|
37
|
-
grid: TtSelectGridProps;
|
|
32
|
+
grid: import('./props').TtSelectGridProps;
|
|
38
33
|
list: Record<string, any>[];
|
|
39
34
|
reload: (bool?: boolean) => Promise<void>;
|
|
40
35
|
loading: boolean;
|
|
41
36
|
multiple: boolean;
|
|
42
37
|
multipleLimit: number;
|
|
43
|
-
configProps: TtSelectConfigProps;
|
|
38
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
44
39
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
45
40
|
showPager: boolean;
|
|
46
41
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
47
42
|
selectValue: TtSelectModelValueType;
|
|
48
43
|
selectWidth: number;
|
|
49
44
|
deleteField: string;
|
|
50
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
51
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
45
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
46
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
52
47
|
hasNextPage: boolean;
|
|
53
48
|
showCheckbox: boolean;
|
|
54
49
|
}> & Omit<{
|
|
55
|
-
readonly grid: TtSelectGridProps;
|
|
50
|
+
readonly grid: import('./props').TtSelectGridProps;
|
|
56
51
|
readonly list: Record<string, any>[];
|
|
57
52
|
readonly reload: (bool?: boolean) => Promise<void>;
|
|
58
53
|
readonly loading: boolean;
|
|
59
54
|
readonly multiple: boolean;
|
|
60
55
|
readonly multipleLimit: number;
|
|
61
|
-
readonly configProps: TtSelectConfigProps;
|
|
56
|
+
readonly configProps: import('./types').TtSelectConfigProps;
|
|
62
57
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
63
58
|
readonly showPager: boolean;
|
|
64
59
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
65
60
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
66
61
|
readonly selectWidth: number;
|
|
67
62
|
readonly deleteField: string;
|
|
68
|
-
readonly setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
69
|
-
readonly getPagination: () => VxeGridProps["pagerConfig"];
|
|
63
|
+
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
64
|
+
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
70
65
|
readonly hasNextPage: boolean;
|
|
71
66
|
readonly showCheckbox: boolean;
|
|
72
67
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
73
68
|
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
74
69
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
75
70
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
71
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
77
72
|
$attrs: {
|
|
78
73
|
[x: string]: unknown;
|
|
79
74
|
};
|
|
80
75
|
$refs: {
|
|
81
76
|
[x: string]: unknown;
|
|
82
77
|
} & {
|
|
83
|
-
vxelist: (
|
|
84
|
-
$props: VxeListProps<any> & VxeListEventProps<any>;
|
|
85
|
-
$slots: VxeListSlots;
|
|
78
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods<any> & {
|
|
79
|
+
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps<any>;
|
|
80
|
+
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
86
81
|
}) | null;
|
|
87
82
|
table: HTMLTableElement;
|
|
88
83
|
resizableBar: HTMLDivElement;
|
|
89
84
|
};
|
|
90
85
|
$slots: Readonly<{
|
|
91
|
-
[name: string]: Slot<any> | undefined;
|
|
86
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
92
87
|
}>;
|
|
93
|
-
$root: ComponentPublicInstance | null;
|
|
94
|
-
$parent: ComponentPublicInstance | null;
|
|
88
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
89
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
95
90
|
$host: Element | null;
|
|
96
91
|
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void);
|
|
97
92
|
$el: any;
|
|
98
|
-
$options: ComponentOptionsBase<Readonly<
|
|
93
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
99
94
|
configProps: {
|
|
100
|
-
type: PropType<
|
|
95
|
+
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
101
96
|
default: () => {};
|
|
102
97
|
};
|
|
103
98
|
grid: {
|
|
104
|
-
type: PropType<
|
|
99
|
+
type: import('vue').PropType<import('./props').TtSelectProps["gridProps"]>;
|
|
105
100
|
default: () => {};
|
|
106
101
|
};
|
|
107
102
|
list: {
|
|
108
|
-
type: PropType<Record<string, any>[]>;
|
|
103
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
109
104
|
default: () => Record<string, any>[];
|
|
110
105
|
};
|
|
111
106
|
loading: {
|
|
@@ -117,7 +112,7 @@ declare function __VLS_template(): {
|
|
|
117
112
|
default: boolean;
|
|
118
113
|
};
|
|
119
114
|
pagination: {
|
|
120
|
-
type: PropType<
|
|
115
|
+
type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
121
116
|
default: () => {};
|
|
122
117
|
};
|
|
123
118
|
multiple: {
|
|
@@ -125,11 +120,11 @@ declare function __VLS_template(): {
|
|
|
125
120
|
default: boolean;
|
|
126
121
|
};
|
|
127
122
|
disableFn: {
|
|
128
|
-
type: PropType<
|
|
123
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps["disableFn"]>;
|
|
129
124
|
default: null;
|
|
130
125
|
};
|
|
131
126
|
selectValue: {
|
|
132
|
-
type: PropType<TtSelectModelValueType>;
|
|
127
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
133
128
|
default: () => TtSelectModelValueType;
|
|
134
129
|
};
|
|
135
130
|
selectWidth: {
|
|
@@ -141,15 +136,15 @@ declare function __VLS_template(): {
|
|
|
141
136
|
default: string;
|
|
142
137
|
};
|
|
143
138
|
setPagination: {
|
|
144
|
-
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
139
|
+
type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
|
|
145
140
|
default: null;
|
|
146
141
|
};
|
|
147
142
|
getPagination: {
|
|
148
|
-
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
143
|
+
type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
149
144
|
default: null;
|
|
150
145
|
};
|
|
151
146
|
reload: {
|
|
152
|
-
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
147
|
+
type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
|
|
153
148
|
default: null;
|
|
154
149
|
};
|
|
155
150
|
hasNextPage: {
|
|
@@ -194,30 +189,30 @@ declare function __VLS_template(): {
|
|
|
194
189
|
setCurrentRow: (row: any) => void;
|
|
195
190
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
196
191
|
};
|
|
197
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
198
193
|
scroll: (...args: any[]) => void;
|
|
199
194
|
"radio-change": (...args: any[]) => void;
|
|
200
195
|
"checkbox-change": (...args: any[]) => void;
|
|
201
196
|
"checkbox-all": (...args: any[]) => void;
|
|
202
197
|
}, string, {
|
|
203
|
-
grid: TtSelectGridProps;
|
|
198
|
+
grid: import('./props').TtSelectGridProps;
|
|
204
199
|
list: Record<string, any>[];
|
|
205
200
|
reload: (bool?: boolean) => Promise<void>;
|
|
206
201
|
loading: boolean;
|
|
207
202
|
multiple: boolean;
|
|
208
203
|
multipleLimit: number;
|
|
209
|
-
configProps: TtSelectConfigProps;
|
|
204
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
210
205
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
211
206
|
showPager: boolean;
|
|
212
207
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
213
208
|
selectValue: TtSelectModelValueType;
|
|
214
209
|
selectWidth: number;
|
|
215
210
|
deleteField: string;
|
|
216
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
217
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
211
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
212
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
218
213
|
hasNextPage: boolean;
|
|
219
214
|
showCheckbox: boolean;
|
|
220
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
215
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
221
216
|
beforeCreate?: (() => void) | (() => void)[];
|
|
222
217
|
created?: (() => void) | (() => void)[];
|
|
223
218
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -230,42 +225,42 @@ declare function __VLS_template(): {
|
|
|
230
225
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
231
226
|
destroyed?: (() => void) | (() => void)[];
|
|
232
227
|
unmounted?: (() => void) | (() => void)[];
|
|
233
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
234
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
235
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
228
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
229
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
230
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
236
231
|
};
|
|
237
232
|
$forceUpdate: () => void;
|
|
238
|
-
$nextTick: nextTick;
|
|
239
|
-
$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;
|
|
233
|
+
$nextTick: typeof import('vue').nextTick;
|
|
234
|
+
$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;
|
|
240
235
|
} & Readonly<{
|
|
241
|
-
grid: TtSelectGridProps;
|
|
236
|
+
grid: import('./props').TtSelectGridProps;
|
|
242
237
|
list: Record<string, any>[];
|
|
243
238
|
reload: (bool?: boolean) => Promise<void>;
|
|
244
239
|
loading: boolean;
|
|
245
240
|
multiple: boolean;
|
|
246
241
|
multipleLimit: number;
|
|
247
|
-
configProps: TtSelectConfigProps;
|
|
242
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
248
243
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
249
244
|
showPager: boolean;
|
|
250
245
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
251
246
|
selectValue: TtSelectModelValueType;
|
|
252
247
|
selectWidth: number;
|
|
253
248
|
deleteField: string;
|
|
254
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
255
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
249
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
250
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
256
251
|
hasNextPage: boolean;
|
|
257
252
|
showCheckbox: boolean;
|
|
258
|
-
}> & Omit<Readonly<
|
|
253
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
259
254
|
configProps: {
|
|
260
|
-
type: PropType<
|
|
255
|
+
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
261
256
|
default: () => {};
|
|
262
257
|
};
|
|
263
258
|
grid: {
|
|
264
|
-
type: PropType<
|
|
259
|
+
type: import('vue').PropType<import('./props').TtSelectProps["gridProps"]>;
|
|
265
260
|
default: () => {};
|
|
266
261
|
};
|
|
267
262
|
list: {
|
|
268
|
-
type: PropType<Record<string, any>[]>;
|
|
263
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
269
264
|
default: () => Record<string, any>[];
|
|
270
265
|
};
|
|
271
266
|
loading: {
|
|
@@ -277,7 +272,7 @@ declare function __VLS_template(): {
|
|
|
277
272
|
default: boolean;
|
|
278
273
|
};
|
|
279
274
|
pagination: {
|
|
280
|
-
type: PropType<
|
|
275
|
+
type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
281
276
|
default: () => {};
|
|
282
277
|
};
|
|
283
278
|
multiple: {
|
|
@@ -285,11 +280,11 @@ declare function __VLS_template(): {
|
|
|
285
280
|
default: boolean;
|
|
286
281
|
};
|
|
287
282
|
disableFn: {
|
|
288
|
-
type: PropType<
|
|
283
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps["disableFn"]>;
|
|
289
284
|
default: null;
|
|
290
285
|
};
|
|
291
286
|
selectValue: {
|
|
292
|
-
type: PropType<TtSelectModelValueType>;
|
|
287
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
293
288
|
default: () => TtSelectModelValueType;
|
|
294
289
|
};
|
|
295
290
|
selectWidth: {
|
|
@@ -301,15 +296,15 @@ declare function __VLS_template(): {
|
|
|
301
296
|
default: string;
|
|
302
297
|
};
|
|
303
298
|
setPagination: {
|
|
304
|
-
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
299
|
+
type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
|
|
305
300
|
default: null;
|
|
306
301
|
};
|
|
307
302
|
getPagination: {
|
|
308
|
-
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
303
|
+
type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
309
304
|
default: null;
|
|
310
305
|
};
|
|
311
306
|
reload: {
|
|
312
|
-
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
307
|
+
type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
|
|
313
308
|
default: null;
|
|
314
309
|
};
|
|
315
310
|
hasNextPage: {
|
|
@@ -329,7 +324,7 @@ declare function __VLS_template(): {
|
|
|
329
324
|
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
330
325
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
331
326
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
332
|
-
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & ShallowUnwrapRef<{
|
|
327
|
+
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & import('vue').ShallowUnwrapRef<{
|
|
333
328
|
clearCurrentRow: () => void;
|
|
334
329
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
335
330
|
clearCheckboxRow: () => void;
|
|
@@ -354,46 +349,46 @@ declare function __VLS_template(): {
|
|
|
354
349
|
setCurrentRow: (row: any) => void;
|
|
355
350
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
356
351
|
};
|
|
357
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
352
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
358
353
|
$slots: Readonly<{
|
|
359
|
-
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
360
|
-
empty: () => VNode;
|
|
354
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
355
|
+
empty: () => import('vue').VNode;
|
|
361
356
|
}> & {
|
|
362
|
-
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
363
|
-
empty: () => VNode;
|
|
357
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
358
|
+
empty: () => import('vue').VNode;
|
|
364
359
|
};
|
|
365
360
|
}) | null;
|
|
366
361
|
};
|
|
367
362
|
rootEl: any;
|
|
368
363
|
};
|
|
369
364
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
370
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
365
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
371
366
|
modelValue: {
|
|
372
|
-
type: PropType<TtSelectModelValueType>;
|
|
367
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
373
368
|
default: undefined;
|
|
374
369
|
};
|
|
375
370
|
selectProps: {
|
|
376
|
-
type: PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
371
|
+
type: import('vue').PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
377
372
|
default: () => {};
|
|
378
373
|
};
|
|
379
374
|
gridProps: {
|
|
380
|
-
type: PropType<TtSelectGridProps>;
|
|
375
|
+
type: import('vue').PropType<import('./props').TtSelectGridProps>;
|
|
381
376
|
default: () => {};
|
|
382
377
|
};
|
|
383
378
|
renderType: {
|
|
384
|
-
type: PropType<"select" | "grid" | "tree" | "table">;
|
|
379
|
+
type: import('vue').PropType<"select" | "grid" | "tree" | "table">;
|
|
385
380
|
default: string;
|
|
386
381
|
};
|
|
387
382
|
configProps: {
|
|
388
|
-
type: PropType<TtSelectConfigProps>;
|
|
389
|
-
default: () => TtSelectConfigProps;
|
|
383
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps>;
|
|
384
|
+
default: () => import('./types').TtSelectConfigProps;
|
|
390
385
|
};
|
|
391
386
|
extra: {
|
|
392
|
-
type: PropType<Record<string, any>>;
|
|
387
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
393
388
|
default: () => {};
|
|
394
389
|
};
|
|
395
390
|
beforeChange: {
|
|
396
|
-
type: PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
391
|
+
type: import('vue').PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
397
392
|
default: null;
|
|
398
393
|
};
|
|
399
394
|
loading: {
|
|
@@ -409,7 +404,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
409
404
|
default: string;
|
|
410
405
|
};
|
|
411
406
|
disabledTip: {
|
|
412
|
-
type: PropType<
|
|
407
|
+
type: import('vue').PropType<import('../../../directives/disabled-tip').TipConfig | import('../../../directives/disabled-tip').TipConfig[]>;
|
|
413
408
|
default: undefined;
|
|
414
409
|
};
|
|
415
410
|
maxCollapseTags: {
|
|
@@ -426,7 +421,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
426
421
|
};
|
|
427
422
|
}>, {
|
|
428
423
|
[x: string]: any;
|
|
429
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
424
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
430
425
|
blur: () => any;
|
|
431
426
|
change: (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
432
427
|
focus: () => any;
|
|
@@ -439,33 +434,33 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
439
434
|
"remove-tag": (tagValue: TtSelectModelUnionType) => any;
|
|
440
435
|
"scroll-boundary": (event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any;
|
|
441
436
|
"select-change": (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
442
|
-
}, string, PublicProps, Readonly<
|
|
437
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
443
438
|
modelValue: {
|
|
444
|
-
type: PropType<TtSelectModelValueType>;
|
|
439
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
445
440
|
default: undefined;
|
|
446
441
|
};
|
|
447
442
|
selectProps: {
|
|
448
|
-
type: PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
443
|
+
type: import('vue').PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
449
444
|
default: () => {};
|
|
450
445
|
};
|
|
451
446
|
gridProps: {
|
|
452
|
-
type: PropType<TtSelectGridProps>;
|
|
447
|
+
type: import('vue').PropType<import('./props').TtSelectGridProps>;
|
|
453
448
|
default: () => {};
|
|
454
449
|
};
|
|
455
450
|
renderType: {
|
|
456
|
-
type: PropType<"select" | "grid" | "tree" | "table">;
|
|
451
|
+
type: import('vue').PropType<"select" | "grid" | "tree" | "table">;
|
|
457
452
|
default: string;
|
|
458
453
|
};
|
|
459
454
|
configProps: {
|
|
460
|
-
type: PropType<TtSelectConfigProps>;
|
|
461
|
-
default: () => TtSelectConfigProps;
|
|
455
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps>;
|
|
456
|
+
default: () => import('./types').TtSelectConfigProps;
|
|
462
457
|
};
|
|
463
458
|
extra: {
|
|
464
|
-
type: PropType<Record<string, any>>;
|
|
459
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
465
460
|
default: () => {};
|
|
466
461
|
};
|
|
467
462
|
beforeChange: {
|
|
468
|
-
type: PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
463
|
+
type: import('vue').PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
469
464
|
default: null;
|
|
470
465
|
};
|
|
471
466
|
loading: {
|
|
@@ -481,7 +476,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
481
476
|
default: string;
|
|
482
477
|
};
|
|
483
478
|
disabledTip: {
|
|
484
|
-
type: PropType<
|
|
479
|
+
type: import('vue').PropType<import('../../../directives/disabled-tip').TipConfig | import('../../../directives/disabled-tip').TipConfig[]>;
|
|
485
480
|
default: undefined;
|
|
486
481
|
};
|
|
487
482
|
maxCollapseTags: {
|
|
@@ -516,91 +511,91 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
516
511
|
modelValue: TtSelectModelValueType;
|
|
517
512
|
border: boolean;
|
|
518
513
|
beforeChange: (val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>;
|
|
519
|
-
disabledTip: TipConfig | TipConfig[];
|
|
514
|
+
disabledTip: import('../../../directives/disabled-tip').TipConfig | import('../../../directives/disabled-tip').TipConfig[];
|
|
520
515
|
maxCollapseTags: number;
|
|
521
516
|
selectProps: Partial<Omit<SelectProps, "modelValue">>;
|
|
522
|
-
gridProps: TtSelectGridProps;
|
|
517
|
+
gridProps: import('./props').TtSelectGridProps;
|
|
523
518
|
renderType: "select" | "table" | "grid" | "tree";
|
|
524
|
-
configProps: TtSelectConfigProps;
|
|
519
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
525
520
|
extra: Record<string, any>;
|
|
526
521
|
immediateEmitChange: boolean;
|
|
527
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
522
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
528
523
|
tableRef: ({
|
|
529
|
-
$: ComponentInternalInstance;
|
|
524
|
+
$: import('vue').ComponentInternalInstance;
|
|
530
525
|
$data: {};
|
|
531
526
|
$props: Partial<{
|
|
532
|
-
grid: TtSelectGridProps;
|
|
527
|
+
grid: import('./props').TtSelectGridProps;
|
|
533
528
|
list: Record<string, any>[];
|
|
534
529
|
reload: (bool?: boolean) => Promise<void>;
|
|
535
530
|
loading: boolean;
|
|
536
531
|
multiple: boolean;
|
|
537
532
|
multipleLimit: number;
|
|
538
|
-
configProps: TtSelectConfigProps;
|
|
533
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
539
534
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
540
535
|
showPager: boolean;
|
|
541
536
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
542
537
|
selectValue: TtSelectModelValueType;
|
|
543
538
|
selectWidth: number;
|
|
544
539
|
deleteField: string;
|
|
545
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
546
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
540
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
541
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
547
542
|
hasNextPage: boolean;
|
|
548
543
|
showCheckbox: boolean;
|
|
549
544
|
}> & Omit<{
|
|
550
|
-
readonly grid: TtSelectGridProps;
|
|
545
|
+
readonly grid: import('./props').TtSelectGridProps;
|
|
551
546
|
readonly list: Record<string, any>[];
|
|
552
547
|
readonly reload: (bool?: boolean) => Promise<void>;
|
|
553
548
|
readonly loading: boolean;
|
|
554
549
|
readonly multiple: boolean;
|
|
555
550
|
readonly multipleLimit: number;
|
|
556
|
-
readonly configProps: TtSelectConfigProps;
|
|
551
|
+
readonly configProps: import('./types').TtSelectConfigProps;
|
|
557
552
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
558
553
|
readonly showPager: boolean;
|
|
559
554
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
560
555
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
561
556
|
readonly selectWidth: number;
|
|
562
557
|
readonly deleteField: string;
|
|
563
|
-
readonly setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
564
|
-
readonly getPagination: () => VxeGridProps["pagerConfig"];
|
|
558
|
+
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
559
|
+
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
565
560
|
readonly hasNextPage: boolean;
|
|
566
561
|
readonly showCheckbox: boolean;
|
|
567
562
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
568
563
|
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
569
564
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
570
565
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
571
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
566
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
572
567
|
$attrs: {
|
|
573
568
|
[x: string]: unknown;
|
|
574
569
|
};
|
|
575
570
|
$refs: {
|
|
576
571
|
[x: string]: unknown;
|
|
577
572
|
} & {
|
|
578
|
-
vxelist: (
|
|
579
|
-
$props: VxeListProps<any> & VxeListEventProps<any>;
|
|
580
|
-
$slots: VxeListSlots;
|
|
573
|
+
vxelist: (import('vxe-pc-ui').VxeListMethods<any> & {
|
|
574
|
+
$props: import('vxe-pc-ui').VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps<any>;
|
|
575
|
+
$slots: import('vxe-pc-ui').VxeListSlots;
|
|
581
576
|
}) | null;
|
|
582
577
|
table: HTMLTableElement;
|
|
583
578
|
resizableBar: HTMLDivElement;
|
|
584
579
|
};
|
|
585
580
|
$slots: Readonly<{
|
|
586
|
-
[name: string]: Slot<any> | undefined;
|
|
581
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
587
582
|
}>;
|
|
588
|
-
$root: ComponentPublicInstance | null;
|
|
589
|
-
$parent: ComponentPublicInstance | null;
|
|
583
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
584
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
590
585
|
$host: Element | null;
|
|
591
586
|
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void);
|
|
592
587
|
$el: any;
|
|
593
|
-
$options: ComponentOptionsBase<Readonly<
|
|
588
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
594
589
|
configProps: {
|
|
595
|
-
type: PropType<
|
|
590
|
+
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
596
591
|
default: () => {};
|
|
597
592
|
};
|
|
598
593
|
grid: {
|
|
599
|
-
type: PropType<
|
|
594
|
+
type: import('vue').PropType<import('./props').TtSelectProps["gridProps"]>;
|
|
600
595
|
default: () => {};
|
|
601
596
|
};
|
|
602
597
|
list: {
|
|
603
|
-
type: PropType<Record<string, any>[]>;
|
|
598
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
604
599
|
default: () => Record<string, any>[];
|
|
605
600
|
};
|
|
606
601
|
loading: {
|
|
@@ -612,7 +607,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
612
607
|
default: boolean;
|
|
613
608
|
};
|
|
614
609
|
pagination: {
|
|
615
|
-
type: PropType<
|
|
610
|
+
type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
616
611
|
default: () => {};
|
|
617
612
|
};
|
|
618
613
|
multiple: {
|
|
@@ -620,11 +615,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
620
615
|
default: boolean;
|
|
621
616
|
};
|
|
622
617
|
disableFn: {
|
|
623
|
-
type: PropType<
|
|
618
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps["disableFn"]>;
|
|
624
619
|
default: null;
|
|
625
620
|
};
|
|
626
621
|
selectValue: {
|
|
627
|
-
type: PropType<TtSelectModelValueType>;
|
|
622
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
628
623
|
default: () => TtSelectModelValueType;
|
|
629
624
|
};
|
|
630
625
|
selectWidth: {
|
|
@@ -636,15 +631,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
636
631
|
default: string;
|
|
637
632
|
};
|
|
638
633
|
setPagination: {
|
|
639
|
-
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
634
|
+
type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
|
|
640
635
|
default: null;
|
|
641
636
|
};
|
|
642
637
|
getPagination: {
|
|
643
|
-
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
638
|
+
type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
644
639
|
default: null;
|
|
645
640
|
};
|
|
646
641
|
reload: {
|
|
647
|
-
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
642
|
+
type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
|
|
648
643
|
default: null;
|
|
649
644
|
};
|
|
650
645
|
hasNextPage: {
|
|
@@ -689,30 +684,30 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
689
684
|
setCurrentRow: (row: any) => void;
|
|
690
685
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
691
686
|
};
|
|
692
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
687
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
693
688
|
scroll: (...args: any[]) => void;
|
|
694
689
|
"radio-change": (...args: any[]) => void;
|
|
695
690
|
"checkbox-change": (...args: any[]) => void;
|
|
696
691
|
"checkbox-all": (...args: any[]) => void;
|
|
697
692
|
}, string, {
|
|
698
|
-
grid: TtSelectGridProps;
|
|
693
|
+
grid: import('./props').TtSelectGridProps;
|
|
699
694
|
list: Record<string, any>[];
|
|
700
695
|
reload: (bool?: boolean) => Promise<void>;
|
|
701
696
|
loading: boolean;
|
|
702
697
|
multiple: boolean;
|
|
703
698
|
multipleLimit: number;
|
|
704
|
-
configProps: TtSelectConfigProps;
|
|
699
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
705
700
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
706
701
|
showPager: boolean;
|
|
707
702
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
708
703
|
selectValue: TtSelectModelValueType;
|
|
709
704
|
selectWidth: number;
|
|
710
705
|
deleteField: string;
|
|
711
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
712
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
706
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
707
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
713
708
|
hasNextPage: boolean;
|
|
714
709
|
showCheckbox: boolean;
|
|
715
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
710
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
716
711
|
beforeCreate?: (() => void) | (() => void)[];
|
|
717
712
|
created?: (() => void) | (() => void)[];
|
|
718
713
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -725,42 +720,42 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
725
720
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
726
721
|
destroyed?: (() => void) | (() => void)[];
|
|
727
722
|
unmounted?: (() => void) | (() => void)[];
|
|
728
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
729
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
730
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
723
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
724
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
725
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
731
726
|
};
|
|
732
727
|
$forceUpdate: () => void;
|
|
733
|
-
$nextTick: nextTick;
|
|
734
|
-
$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;
|
|
728
|
+
$nextTick: typeof import('vue').nextTick;
|
|
729
|
+
$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;
|
|
735
730
|
} & Readonly<{
|
|
736
|
-
grid: TtSelectGridProps;
|
|
731
|
+
grid: import('./props').TtSelectGridProps;
|
|
737
732
|
list: Record<string, any>[];
|
|
738
733
|
reload: (bool?: boolean) => Promise<void>;
|
|
739
734
|
loading: boolean;
|
|
740
735
|
multiple: boolean;
|
|
741
736
|
multipleLimit: number;
|
|
742
|
-
configProps: TtSelectConfigProps;
|
|
737
|
+
configProps: import('./types').TtSelectConfigProps;
|
|
743
738
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
744
739
|
showPager: boolean;
|
|
745
740
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
746
741
|
selectValue: TtSelectModelValueType;
|
|
747
742
|
selectWidth: number;
|
|
748
743
|
deleteField: string;
|
|
749
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
750
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
744
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
745
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
751
746
|
hasNextPage: boolean;
|
|
752
747
|
showCheckbox: boolean;
|
|
753
|
-
}> & Omit<Readonly<
|
|
748
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
754
749
|
configProps: {
|
|
755
|
-
type: PropType<
|
|
750
|
+
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
756
751
|
default: () => {};
|
|
757
752
|
};
|
|
758
753
|
grid: {
|
|
759
|
-
type: PropType<
|
|
754
|
+
type: import('vue').PropType<import('./props').TtSelectProps["gridProps"]>;
|
|
760
755
|
default: () => {};
|
|
761
756
|
};
|
|
762
757
|
list: {
|
|
763
|
-
type: PropType<Record<string, any>[]>;
|
|
758
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
764
759
|
default: () => Record<string, any>[];
|
|
765
760
|
};
|
|
766
761
|
loading: {
|
|
@@ -772,7 +767,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
772
767
|
default: boolean;
|
|
773
768
|
};
|
|
774
769
|
pagination: {
|
|
775
|
-
type: PropType<
|
|
770
|
+
type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
776
771
|
default: () => {};
|
|
777
772
|
};
|
|
778
773
|
multiple: {
|
|
@@ -780,11 +775,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
780
775
|
default: boolean;
|
|
781
776
|
};
|
|
782
777
|
disableFn: {
|
|
783
|
-
type: PropType<
|
|
778
|
+
type: import('vue').PropType<import('./types').TtSelectConfigProps["disableFn"]>;
|
|
784
779
|
default: null;
|
|
785
780
|
};
|
|
786
781
|
selectValue: {
|
|
787
|
-
type: PropType<TtSelectModelValueType>;
|
|
782
|
+
type: import('vue').PropType<TtSelectModelValueType>;
|
|
788
783
|
default: () => TtSelectModelValueType;
|
|
789
784
|
};
|
|
790
785
|
selectWidth: {
|
|
@@ -796,15 +791,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
796
791
|
default: string;
|
|
797
792
|
};
|
|
798
793
|
setPagination: {
|
|
799
|
-
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
794
|
+
type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
|
|
800
795
|
default: null;
|
|
801
796
|
};
|
|
802
797
|
getPagination: {
|
|
803
|
-
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
798
|
+
type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
|
|
804
799
|
default: null;
|
|
805
800
|
};
|
|
806
801
|
reload: {
|
|
807
|
-
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
802
|
+
type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
|
|
808
803
|
default: null;
|
|
809
804
|
};
|
|
810
805
|
hasNextPage: {
|
|
@@ -824,7 +819,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
824
819
|
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
825
820
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
826
821
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
827
|
-
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & ShallowUnwrapRef<{
|
|
822
|
+
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & import('vue').ShallowUnwrapRef<{
|
|
828
823
|
clearCurrentRow: () => void;
|
|
829
824
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
830
825
|
clearCheckboxRow: () => void;
|
|
@@ -849,13 +844,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
849
844
|
setCurrentRow: (row: any) => void;
|
|
850
845
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
851
846
|
};
|
|
852
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
847
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
853
848
|
$slots: Readonly<{
|
|
854
|
-
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
855
|
-
empty: () => VNode;
|
|
849
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
850
|
+
empty: () => import('vue').VNode;
|
|
856
851
|
}> & {
|
|
857
|
-
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
858
|
-
empty: () => VNode;
|
|
852
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
853
|
+
empty: () => import('vue').VNode;
|
|
859
854
|
};
|
|
860
855
|
}) | null;
|
|
861
856
|
}, any>;
|