next-ui3 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/index.full.min.js +43 -0
- package/dist/index.full.min.mjs +43 -0
- package/dist/locale/zh-cn.min.js +1 -0
- package/dist/locale/zh-cn.min.mjs +1 -0
- package/dist/utils/index.min.js +1 -0
- package/dist/utils/index.min.mjs +1 -0
- package/es/component.d.ts +3 -0
- package/es/components/_base/config/presetComponents.d.ts +2 -0
- package/es/components/_base/config/presetFileUploader.d.ts +2 -0
- package/es/components/_base/next.d.ts +1 -0
- package/es/components/_base/types/index.d.ts +59 -0
- package/es/components/autocomplete/index.d.ts +2 -0
- package/es/components/autocomplete/src/index.vue.d.ts +264 -0
- package/es/components/building/index.d.ts +2 -0
- package/es/components/building/src/index.vue.d.ts +28 -0
- package/es/components/cascader/index.d.ts +2 -0
- package/es/components/cascader/src/index.vue.d.ts +1191 -0
- package/es/components/checkbox/index.d.ts +2 -0
- package/es/components/checkbox/src/index.vue.d.ts +85 -0
- package/es/components/checkbox-group/index.d.ts +2 -0
- package/es/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/es/components/date-picker/index.d.ts +2 -0
- package/es/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/es/components/date-picker/src/index.vue.d.ts +417 -0
- package/es/components/empty/index.d.ts +2 -0
- package/es/components/empty/src/index.vue.d.ts +52 -0
- package/es/components/enum-tag/index.d.ts +2 -0
- package/es/components/enum-tag/src/index.vue.d.ts +32 -0
- package/es/components/file-select/index.d.ts +2 -0
- package/es/components/file-select/src/index.vue.d.ts +67 -0
- package/es/components/filter/index.d.ts +2 -0
- package/es/components/filter/src/index.vue.d.ts +268 -0
- package/es/components/flex-text/index.d.ts +2 -0
- package/es/components/flex-text/src/index.vue.d.ts +63 -0
- package/es/components/form/index.d.ts +2 -0
- package/es/components/form/src/index.vue.d.ts +248 -0
- package/es/components/index.d.ts +28 -0
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/index.vue.d.ts +471 -0
- package/es/components/input-number/index.d.ts +2 -0
- package/es/components/input-number/src/index.vue.d.ts +522 -0
- package/es/components/input-password/index.d.ts +2 -0
- package/es/components/input-password/src/index.vue.d.ts +457 -0
- package/es/components/mask-text/index.d.ts +2 -0
- package/es/components/mask-text/src/index.vue.d.ts +30 -0
- package/es/components/pagination/index.d.ts +2 -0
- package/es/components/pagination/src/index.vue.d.ts +51 -0
- package/es/components/radio-group/index.d.ts +2 -0
- package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/es/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/es/components/radio-group/src/index.vue.d.ts +94 -0
- package/es/components/remote-cascader/index.d.ts +2 -0
- package/es/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/es/components/remote-select/index.d.ts +4 -0
- package/es/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/index.vue.d.ts +63 -0
- package/es/components/remote-tree-select/index.d.ts +2 -0
- package/es/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/es/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/es/components/search/index.d.ts +2 -0
- package/es/components/search/src/index.vue.d.ts +33 -0
- package/es/components/select/index.d.ts +2 -0
- package/es/components/select/src/index.vue.d.ts +639 -0
- package/es/components/table/index.d.ts +2 -0
- package/es/components/table/src/index.vue.d.ts +643 -0
- package/es/components/table/src/utils.d.ts +11 -0
- package/es/components/tree-panel/index.d.ts +2 -0
- package/es/components/tree-panel/src/index.vue.d.ts +994 -0
- package/es/components/tree-select/index.d.ts +2 -0
- package/es/components/tree-select/src/index.vue.d.ts +135 -0
- package/es/components/upload/index.d.ts +3 -0
- package/es/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/es/components/upload/src/index.vue.d.ts +559 -0
- package/es/constants/aria.d.ts +17 -0
- package/es/constants/event.d.ts +3 -0
- package/es/constants/index.d.ts +3 -0
- package/es/constants/key.d.ts +1 -0
- package/es/defaults.d.ts +5 -0
- package/es/directives/index.d.ts +1 -0
- package/es/directives/size-ob/index.d.ts +12 -0
- package/es/hooks/index.d.ts +12 -0
- package/es/hooks/use-dict-loader/index.d.ts +10 -0
- package/es/hooks/use-enums/index.d.ts +5 -0
- package/es/hooks/use-global-config/index.d.ts +22 -0
- package/es/hooks/use-list/index.d.ts +57 -0
- package/es/hooks/use-loader/index.d.ts +18 -0
- package/es/hooks/use-locale/index.d.ts +16 -0
- package/es/hooks/use-resettable/index.d.ts +4 -0
- package/es/hooks/use-size/index.d.ts +8 -0
- package/es/hooks/use-table/index.d.ts +19 -0
- package/es/hooks/use-toast/index.d.ts +18 -0
- package/es/hooks/use-upload-config/index.d.ts +24 -0
- package/es/hooks/use-vmodel/index.d.ts +3 -0
- package/es/index.d.ts +9 -0
- package/es/locale/index.d.ts +8 -0
- package/es/locale/lang/zh-cn.d.ts +9 -0
- package/es/locales.d.ts +1 -0
- package/es/make-installer.d.ts +6 -0
- package/es/utils/array.d.ts +26 -0
- package/es/utils/biz.d.ts +10 -0
- package/es/utils/compress.d.ts +14 -0
- package/es/utils/debounce.d.ts +13 -0
- package/es/utils/dom/index.d.ts +1 -0
- package/es/utils/enum.d.ts +22 -0
- package/es/utils/format.d.ts +28 -0
- package/es/utils/functions.d.ts +7 -0
- package/es/utils/html.d.ts +12 -0
- package/es/utils/index.d.ts +18 -0
- package/es/utils/install.d.ts +4 -0
- package/es/utils/object.d.ts +42 -0
- package/es/utils/rand.d.ts +1 -0
- package/es/utils/stream.d.ts +5 -0
- package/es/utils/string.d.ts +4 -0
- package/es/utils/timer.d.ts +17 -0
- package/es/utils/tree.d.ts +44 -0
- package/es/utils/types.d.ts +25 -0
- package/es/utils/url.d.ts +9 -0
- package/es/version.d.ts +1 -0
- package/global.d.ts +11 -0
- package/lib/component.d.ts +3 -0
- package/lib/components/_base/config/presetComponents.d.ts +2 -0
- package/lib/components/_base/config/presetFileUploader.d.ts +2 -0
- package/lib/components/_base/next.d.ts +1 -0
- package/lib/components/_base/types/index.d.ts +59 -0
- package/lib/components/autocomplete/index.d.ts +2 -0
- package/lib/components/autocomplete/src/index.vue.d.ts +264 -0
- package/lib/components/building/index.d.ts +2 -0
- package/lib/components/building/src/index.vue.d.ts +28 -0
- package/lib/components/cascader/index.d.ts +2 -0
- package/lib/components/cascader/src/index.vue.d.ts +1191 -0
- package/lib/components/checkbox/index.d.ts +2 -0
- package/lib/components/checkbox/src/index.vue.d.ts +85 -0
- package/lib/components/checkbox-group/index.d.ts +2 -0
- package/lib/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/lib/components/date-picker/index.d.ts +2 -0
- package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/lib/components/date-picker/src/index.vue.d.ts +417 -0
- package/lib/components/empty/index.d.ts +2 -0
- package/lib/components/empty/src/index.vue.d.ts +52 -0
- package/lib/components/enum-tag/index.d.ts +2 -0
- package/lib/components/enum-tag/src/index.vue.d.ts +32 -0
- package/lib/components/file-select/index.d.ts +2 -0
- package/lib/components/file-select/src/index.vue.d.ts +67 -0
- package/lib/components/filter/index.d.ts +2 -0
- package/lib/components/filter/src/index.vue.d.ts +268 -0
- package/lib/components/flex-text/index.d.ts +2 -0
- package/lib/components/flex-text/src/index.vue.d.ts +63 -0
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/src/index.vue.d.ts +248 -0
- package/lib/components/index.d.ts +28 -0
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/index.vue.d.ts +471 -0
- package/lib/components/input-number/index.d.ts +2 -0
- package/lib/components/input-number/src/index.vue.d.ts +522 -0
- package/lib/components/input-password/index.d.ts +2 -0
- package/lib/components/input-password/src/index.vue.d.ts +457 -0
- package/lib/components/mask-text/index.d.ts +2 -0
- package/lib/components/mask-text/src/index.vue.d.ts +30 -0
- package/lib/components/pagination/index.d.ts +2 -0
- package/lib/components/pagination/src/index.vue.d.ts +51 -0
- package/lib/components/radio-group/index.d.ts +2 -0
- package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/lib/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/lib/components/radio-group/src/index.vue.d.ts +94 -0
- package/lib/components/remote-cascader/index.d.ts +2 -0
- package/lib/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/lib/components/remote-select/index.d.ts +4 -0
- package/lib/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/index.vue.d.ts +63 -0
- package/lib/components/remote-tree-select/index.d.ts +2 -0
- package/lib/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/lib/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/lib/components/search/index.d.ts +2 -0
- package/lib/components/search/src/index.vue.d.ts +33 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/src/index.vue.d.ts +639 -0
- package/lib/components/table/index.d.ts +2 -0
- package/lib/components/table/src/index.vue.d.ts +643 -0
- package/lib/components/table/src/utils.d.ts +11 -0
- package/lib/components/tree-panel/index.d.ts +2 -0
- package/lib/components/tree-panel/src/index.vue.d.ts +994 -0
- package/lib/components/tree-select/index.d.ts +2 -0
- package/lib/components/tree-select/src/index.vue.d.ts +135 -0
- package/lib/components/upload/index.d.ts +3 -0
- package/lib/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/lib/components/upload/src/index.vue.d.ts +559 -0
- package/lib/constants/aria.d.ts +17 -0
- package/lib/constants/event.d.ts +3 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/key.d.ts +1 -0
- package/lib/defaults.d.ts +5 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/size-ob/index.d.ts +12 -0
- package/lib/hooks/index.d.ts +12 -0
- package/lib/hooks/use-dict-loader/index.d.ts +10 -0
- package/lib/hooks/use-enums/index.d.ts +5 -0
- package/lib/hooks/use-global-config/index.d.ts +22 -0
- package/lib/hooks/use-list/index.d.ts +57 -0
- package/lib/hooks/use-loader/index.d.ts +18 -0
- package/lib/hooks/use-locale/index.d.ts +16 -0
- package/lib/hooks/use-resettable/index.d.ts +4 -0
- package/lib/hooks/use-size/index.d.ts +8 -0
- package/lib/hooks/use-table/index.d.ts +19 -0
- package/lib/hooks/use-toast/index.d.ts +18 -0
- package/lib/hooks/use-upload-config/index.d.ts +24 -0
- package/lib/hooks/use-vmodel/index.d.ts +3 -0
- package/lib/index.d.ts +9 -0
- package/lib/locale/index.d.ts +8 -0
- package/lib/locale/lang/zh-cn.d.ts +9 -0
- package/lib/locales.d.ts +1 -0
- package/lib/make-installer.d.ts +6 -0
- package/lib/utils/array.d.ts +26 -0
- package/lib/utils/biz.d.ts +10 -0
- package/lib/utils/compress.d.ts +14 -0
- package/lib/utils/debounce.d.ts +13 -0
- package/lib/utils/dom/index.d.ts +1 -0
- package/lib/utils/enum.d.ts +22 -0
- package/lib/utils/format.d.ts +28 -0
- package/lib/utils/functions.d.ts +7 -0
- package/lib/utils/html.d.ts +12 -0
- package/lib/utils/index.d.ts +18 -0
- package/lib/utils/install.d.ts +4 -0
- package/lib/utils/object.d.ts +42 -0
- package/lib/utils/rand.d.ts +1 -0
- package/lib/utils/stream.d.ts +5 -0
- package/lib/utils/string.d.ts +4 -0
- package/lib/utils/timer.d.ts +17 -0
- package/lib/utils/tree.d.ts +44 -0
- package/lib/utils/types.d.ts +25 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/version.d.ts +1 -0
- package/package.json +85 -0
- package/theme-chalk/base.css +1 -0
- package/theme-chalk/dark/css-vars.css +0 -0
- package/theme-chalk/el-building.css +1 -0
- package/theme-chalk/el-cascader.css +1 -0
- package/theme-chalk/el-checkbox-group.css +1 -0
- package/theme-chalk/el-date-picker.css +1 -0
- package/theme-chalk/el-empty.css +1 -0
- package/theme-chalk/el-file-select.css +1 -0
- package/theme-chalk/el-filter.css +1 -0
- package/theme-chalk/el-flex-text.css +1 -0
- package/theme-chalk/el-form.css +1 -0
- package/theme-chalk/el-image-upload.css +1 -0
- package/theme-chalk/el-input-number.css +1 -0
- package/theme-chalk/el-mask-text.css +1 -0
- package/theme-chalk/el-radio-group.css +1 -0
- package/theme-chalk/el-search.css +1 -0
- package/theme-chalk/el-select.css +1 -0
- package/theme-chalk/el-table.css +1 -0
- package/theme-chalk/el-tree-panel.css +1 -0
- package/theme-chalk/el-tree-select.css +1 -0
- package/theme-chalk/el-upload.css +1 -0
- package/theme-chalk/index.css +1 -0
- package/theme-chalk/src/base.scss +11 -0
- package/theme-chalk/src/building.scss +6 -0
- package/theme-chalk/src/cascader.scss +36 -0
- package/theme-chalk/src/checkbox-group.scss +16 -0
- package/theme-chalk/src/dark/css-vars.scss +0 -0
- package/theme-chalk/src/date-picker.scss +40 -0
- package/theme-chalk/src/empty.scss +82 -0
- package/theme-chalk/src/file-select.scss +94 -0
- package/theme-chalk/src/filter.scss +119 -0
- package/theme-chalk/src/flex-text.scss +31 -0
- package/theme-chalk/src/form.scss +10 -0
- package/theme-chalk/src/image-upload.scss +25 -0
- package/theme-chalk/src/index.scss +20 -0
- package/theme-chalk/src/input-number.scss +16 -0
- package/theme-chalk/src/mask-text.scss +8 -0
- package/theme-chalk/src/radio-group.scss +204 -0
- package/theme-chalk/src/search.scss +5 -0
- package/theme-chalk/src/select.scss +14 -0
- package/theme-chalk/src/table.scss +24 -0
- package/theme-chalk/src/tree-panel.scss +113 -0
- package/theme-chalk/src/tree-select.scss +14 -0
- package/theme-chalk/src/upload.scss +86 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const next: (n: any, e?: any) => any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { FormItemProps, TableColumnCtx } from 'element-plus';
|
|
2
|
+
export type IOptionItem = {
|
|
3
|
+
value: string | number;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
data?: any;
|
|
7
|
+
};
|
|
8
|
+
export type IGroupItem = {
|
|
9
|
+
label: string;
|
|
10
|
+
options: IOptionItem[];
|
|
11
|
+
};
|
|
12
|
+
export type IFormItem = {
|
|
13
|
+
key: string;
|
|
14
|
+
slot?: string;
|
|
15
|
+
labelSlot?: string;
|
|
16
|
+
errorSlot?: string;
|
|
17
|
+
requiredMessage?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
component?: any;
|
|
20
|
+
componentProps?: Record<string, any>;
|
|
21
|
+
} & FormItemProps;
|
|
22
|
+
export type IFilterItem = {
|
|
23
|
+
key: string;
|
|
24
|
+
label: string;
|
|
25
|
+
labelNumber?: number;
|
|
26
|
+
span?: number;
|
|
27
|
+
required?: boolean;
|
|
28
|
+
slot?: string;
|
|
29
|
+
labelSlot?: string;
|
|
30
|
+
type?: string;
|
|
31
|
+
component?: any;
|
|
32
|
+
componentProps?: Record<string, any>;
|
|
33
|
+
};
|
|
34
|
+
export type ITableColumn = {
|
|
35
|
+
key: string;
|
|
36
|
+
flexWidth?: boolean;
|
|
37
|
+
showOverflowTooltip?: {
|
|
38
|
+
lines?: number;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
popperWidth?: number;
|
|
41
|
+
popperHeight?: number;
|
|
42
|
+
delay?: number;
|
|
43
|
+
} | boolean | number | string;
|
|
44
|
+
slot?: string;
|
|
45
|
+
columnSlot?: string;
|
|
46
|
+
headerSlot?: string;
|
|
47
|
+
} & TableColumnCtx<any>;
|
|
48
|
+
export type ISuccessHandle = (data: any) => any;
|
|
49
|
+
export type IErrorHandle = (error?: any) => any;
|
|
50
|
+
export type ILoadOptions = {
|
|
51
|
+
query?: Record<string, any>;
|
|
52
|
+
node?: any;
|
|
53
|
+
onSuccess: ISuccessHandle;
|
|
54
|
+
onError: IErrorHandle;
|
|
55
|
+
};
|
|
56
|
+
export type ILoadMethod = (options: ILoadOptions) => any;
|
|
57
|
+
export type IRequest = (params?: Record<string, any>) => Promise<{
|
|
58
|
+
data: any;
|
|
59
|
+
}>;
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
emptyValue?: string;
|
|
6
|
+
lazy?: boolean;
|
|
7
|
+
valueKey?: string;
|
|
8
|
+
trim?: boolean;
|
|
9
|
+
validateEvent?: boolean;
|
|
10
|
+
blurAfterSelect?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: Partial<Record<string, (_: any) => any>>;
|
|
15
|
+
refs: {
|
|
16
|
+
autocompleteRef: ({
|
|
17
|
+
$: import("vue").ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: Partial<{
|
|
20
|
+
readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
|
+
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
22
|
+
readonly placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown>;
|
|
23
|
+
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
+
readonly popperClass: string;
|
|
25
|
+
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
|
+
readonly valueKey: string;
|
|
27
|
+
readonly debounce: number;
|
|
28
|
+
readonly fetchSuggestions: import("element-plus").AutocompleteFetchSuggestions;
|
|
29
|
+
readonly triggerOnFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
30
|
+
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
|
+
readonly hideLoading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
+
readonly highlightFirstItem: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
|
+
readonly fitInputWidth: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
readonly ariaLabel: StringConstructor;
|
|
36
|
+
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
37
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
38
|
+
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
39
|
+
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
40
|
+
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
41
|
+
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
+
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
+
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
44
|
+
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
45
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
46
|
+
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
47
|
+
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
48
|
+
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
49
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
50
|
+
readonly name: StringConstructor;
|
|
51
|
+
}>> & {
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
|
+
onChange?: ((value: string) => any) | undefined;
|
|
54
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
55
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
56
|
+
onInput?: ((value: string) => any) | undefined;
|
|
57
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
58
|
+
onClear?: (() => any) | undefined;
|
|
59
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "valueKey" | "debounce" | "placement" | "fetchSuggestions" | "popperClass" | "triggerOnFocus" | "selectWhenUnmatched" | "hideLoading" | "teleported" | "highlightFirstItem" | "fitInputWidth" | "clearable" | "disabled">;
|
|
60
|
+
$attrs: {
|
|
61
|
+
[x: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
$refs: {
|
|
64
|
+
[x: string]: unknown;
|
|
65
|
+
};
|
|
66
|
+
$slots: import("vue").Slots;
|
|
67
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
68
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
69
|
+
$emit: ((event: "input", value: string) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "clear") => void);
|
|
70
|
+
$el: any;
|
|
71
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
readonly ariaLabel: StringConstructor;
|
|
73
|
+
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
74
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
75
|
+
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
76
|
+
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
77
|
+
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
78
|
+
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
79
|
+
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
80
|
+
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
81
|
+
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
82
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
83
|
+
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
84
|
+
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
85
|
+
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
86
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
87
|
+
readonly name: StringConstructor;
|
|
88
|
+
}>> & {
|
|
89
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
90
|
+
onChange?: ((value: string) => any) | undefined;
|
|
91
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
92
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
93
|
+
onInput?: ((value: string) => any) | undefined;
|
|
94
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
95
|
+
onClear?: (() => any) | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
highlightedIndex: import("vue").Ref<number>;
|
|
98
|
+
activated: import("vue").Ref<boolean>;
|
|
99
|
+
loading: import("vue").Ref<boolean>;
|
|
100
|
+
inputRef: import("vue").Ref<import("element-plus").InputInstance | undefined>;
|
|
101
|
+
popperRef: import("vue").Ref<import("element-plus").TooltipInstance | undefined>;
|
|
102
|
+
suggestions: import("vue").Ref<import("element-plus").AutocompleteData>;
|
|
103
|
+
handleSelect: (item: any) => void;
|
|
104
|
+
handleKeyEnter: () => void;
|
|
105
|
+
focus: () => void;
|
|
106
|
+
blur: () => void;
|
|
107
|
+
close: () => void;
|
|
108
|
+
highlight: (index: number) => void;
|
|
109
|
+
getData: (queryString: string) => void;
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
|
+
select: (item: Record<string, any>) => void;
|
|
112
|
+
clear: () => void;
|
|
113
|
+
"update:modelValue": (value: string) => void;
|
|
114
|
+
change: (value: string) => void;
|
|
115
|
+
input: (value: string) => void;
|
|
116
|
+
blur: (evt: FocusEvent) => void;
|
|
117
|
+
focus: (evt: FocusEvent) => void;
|
|
118
|
+
}, string, {
|
|
119
|
+
readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
120
|
+
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
121
|
+
readonly placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown>;
|
|
122
|
+
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
123
|
+
readonly popperClass: string;
|
|
124
|
+
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
|
+
readonly valueKey: string;
|
|
126
|
+
readonly debounce: number;
|
|
127
|
+
readonly fetchSuggestions: import("element-plus").AutocompleteFetchSuggestions;
|
|
128
|
+
readonly triggerOnFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
129
|
+
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
130
|
+
readonly hideLoading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
131
|
+
readonly highlightFirstItem: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
132
|
+
readonly fitInputWidth: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
133
|
+
}> & {
|
|
134
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
135
|
+
created?: (() => void) | (() => void)[];
|
|
136
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
137
|
+
mounted?: (() => void) | (() => void)[];
|
|
138
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
139
|
+
updated?: (() => void) | (() => void)[];
|
|
140
|
+
activated?: (() => void) | (() => void)[];
|
|
141
|
+
deactivated?: (() => void) | (() => void)[];
|
|
142
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
143
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
144
|
+
destroyed?: (() => void) | (() => void)[];
|
|
145
|
+
unmounted?: (() => void) | (() => void)[];
|
|
146
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
147
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
148
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
149
|
+
};
|
|
150
|
+
$forceUpdate: () => void;
|
|
151
|
+
$nextTick: typeof nextTick;
|
|
152
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
153
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
+
readonly ariaLabel: StringConstructor;
|
|
155
|
+
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
156
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
157
|
+
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
158
|
+
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
159
|
+
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
160
|
+
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
161
|
+
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
162
|
+
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
163
|
+
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
164
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
|
+
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
166
|
+
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
167
|
+
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
168
|
+
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
169
|
+
readonly name: StringConstructor;
|
|
170
|
+
}>> & {
|
|
171
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
172
|
+
onChange?: ((value: string) => any) | undefined;
|
|
173
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
174
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
175
|
+
onInput?: ((value: string) => any) | undefined;
|
|
176
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
177
|
+
onClear?: (() => any) | undefined;
|
|
178
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
179
|
+
highlightedIndex: import("vue").Ref<number>;
|
|
180
|
+
activated: import("vue").Ref<boolean>;
|
|
181
|
+
loading: import("vue").Ref<boolean>;
|
|
182
|
+
inputRef: import("vue").Ref<import("element-plus").InputInstance | undefined>;
|
|
183
|
+
popperRef: import("vue").Ref<import("element-plus").TooltipInstance | undefined>;
|
|
184
|
+
suggestions: import("vue").Ref<import("element-plus").AutocompleteData>;
|
|
185
|
+
handleSelect: (item: any) => void;
|
|
186
|
+
handleKeyEnter: () => void;
|
|
187
|
+
focus: () => void;
|
|
188
|
+
blur: () => void;
|
|
189
|
+
close: () => void;
|
|
190
|
+
highlight: (index: number) => void;
|
|
191
|
+
getData: (queryString: string) => void;
|
|
192
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {
|
|
193
|
+
$slots: {
|
|
194
|
+
prepend?(_: {}): any;
|
|
195
|
+
append?(_: {}): any;
|
|
196
|
+
prefix?(_: {}): any;
|
|
197
|
+
suffix?(_: {}): any;
|
|
198
|
+
loading?(_: {}): any;
|
|
199
|
+
default?(_: {
|
|
200
|
+
item: Record<string, any>;
|
|
201
|
+
}): any;
|
|
202
|
+
};
|
|
203
|
+
}) | null;
|
|
204
|
+
};
|
|
205
|
+
rootEl: any;
|
|
206
|
+
};
|
|
207
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
208
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
209
|
+
defaultValue: string;
|
|
210
|
+
emptyValue: string;
|
|
211
|
+
lazy: boolean;
|
|
212
|
+
valueKey: string;
|
|
213
|
+
trim: boolean;
|
|
214
|
+
validateEvent: boolean;
|
|
215
|
+
blurAfterSelect: boolean;
|
|
216
|
+
}>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
217
|
+
select: (...args: any[]) => void;
|
|
218
|
+
change: (...args: any[]) => void;
|
|
219
|
+
"update:modelValue": (...args: any[]) => void;
|
|
220
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
221
|
+
defaultValue: string;
|
|
222
|
+
emptyValue: string;
|
|
223
|
+
lazy: boolean;
|
|
224
|
+
valueKey: string;
|
|
225
|
+
trim: boolean;
|
|
226
|
+
validateEvent: boolean;
|
|
227
|
+
blurAfterSelect: boolean;
|
|
228
|
+
}>>> & {
|
|
229
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
230
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
231
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
defaultValue: string;
|
|
234
|
+
emptyValue: string;
|
|
235
|
+
lazy: boolean;
|
|
236
|
+
valueKey: string;
|
|
237
|
+
trim: boolean;
|
|
238
|
+
validateEvent: boolean;
|
|
239
|
+
blurAfterSelect: boolean;
|
|
240
|
+
}>;
|
|
241
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
242
|
+
export default _default;
|
|
243
|
+
type __VLS_WithDefaults<P, D> = {
|
|
244
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
245
|
+
default: D[K];
|
|
246
|
+
}> : P[K];
|
|
247
|
+
};
|
|
248
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
249
|
+
type __VLS_TypePropsToOption<T> = {
|
|
250
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
251
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
252
|
+
} : {
|
|
253
|
+
type: import('vue').PropType<T[K]>;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
258
|
+
new (): {
|
|
259
|
+
$slots: S;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
type __VLS_PrettifyLocal<T> = {
|
|
263
|
+
[K in keyof T]: T[K];
|
|
264
|
+
} & {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
5
|
+
text: string;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
7
|
+
text: string;
|
|
8
|
+
}>>>, {
|
|
9
|
+
text: string;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithDefaults<P, D> = {
|
|
13
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
14
|
+
default: D[K];
|
|
15
|
+
}> : P[K];
|
|
16
|
+
};
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_PrettifyLocal<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|