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,135 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | number | string[] | number[];
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
loadError?: string;
|
|
5
|
+
loaded?: boolean;
|
|
6
|
+
data?: any[];
|
|
7
|
+
loadingText?: string;
|
|
8
|
+
noDataText?: string;
|
|
9
|
+
valueKey?: string;
|
|
10
|
+
labelKey?: string;
|
|
11
|
+
disabledKey?: string;
|
|
12
|
+
childrenKey?: string;
|
|
13
|
+
defaultExpandedKeys?: string[] | number[];
|
|
14
|
+
defaultRoot?: boolean;
|
|
15
|
+
disabledValues?: string[] | number[];
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: Partial<Record<string, (_: any) => any>>;
|
|
20
|
+
refs: {
|
|
21
|
+
treeRef: ({
|
|
22
|
+
$: import("vue").ComponentInternalInstance;
|
|
23
|
+
$data: {};
|
|
24
|
+
$props: Partial<{} | {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
}> & Omit<Readonly<any> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
27
|
+
$attrs: {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
$refs: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
$slots: import("vue").Slots;
|
|
34
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
35
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
36
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<any>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {} | {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
}> & {
|
|
43
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
44
|
+
created?: (() => void) | (() => void)[];
|
|
45
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
46
|
+
mounted?: (() => void) | (() => void)[];
|
|
47
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
48
|
+
updated?: (() => void) | (() => void)[];
|
|
49
|
+
activated?: (() => void) | (() => void)[];
|
|
50
|
+
deactivated?: (() => void) | (() => void)[];
|
|
51
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
52
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
53
|
+
destroyed?: (() => void) | (() => void)[];
|
|
54
|
+
unmounted?: (() => void) | (() => void)[];
|
|
55
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
56
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
57
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import("vue").nextTick;
|
|
61
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
62
|
+
} & Readonly<any> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}>> & {} & import("@vue/runtime-core").ComponentCustomProperties) | null;
|
|
65
|
+
};
|
|
66
|
+
rootEl: any;
|
|
67
|
+
};
|
|
68
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
69
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
70
|
+
loading: boolean;
|
|
71
|
+
loadError: string;
|
|
72
|
+
loaded: boolean;
|
|
73
|
+
data: () => never[];
|
|
74
|
+
loadingText: string;
|
|
75
|
+
noDataText: string;
|
|
76
|
+
valueKey: string;
|
|
77
|
+
labelKey: string;
|
|
78
|
+
disabledKey: string;
|
|
79
|
+
childrenKey: string;
|
|
80
|
+
defaultRoot: boolean;
|
|
81
|
+
}>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
|
+
load: (...args: any[]) => void;
|
|
83
|
+
"update:modelValue": (...args: any[]) => void;
|
|
84
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
85
|
+
loading: boolean;
|
|
86
|
+
loadError: string;
|
|
87
|
+
loaded: boolean;
|
|
88
|
+
data: () => never[];
|
|
89
|
+
loadingText: string;
|
|
90
|
+
noDataText: string;
|
|
91
|
+
valueKey: string;
|
|
92
|
+
labelKey: string;
|
|
93
|
+
disabledKey: string;
|
|
94
|
+
childrenKey: string;
|
|
95
|
+
defaultRoot: boolean;
|
|
96
|
+
}>>> & {
|
|
97
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
onLoad?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
data: any[];
|
|
101
|
+
valueKey: string;
|
|
102
|
+
loading: boolean;
|
|
103
|
+
loadError: string;
|
|
104
|
+
loaded: boolean;
|
|
105
|
+
loadingText: string;
|
|
106
|
+
labelKey: string;
|
|
107
|
+
disabledKey: string;
|
|
108
|
+
childrenKey: string;
|
|
109
|
+
noDataText: string;
|
|
110
|
+
defaultRoot: boolean;
|
|
111
|
+
}>;
|
|
112
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
113
|
+
export default _default;
|
|
114
|
+
type __VLS_WithDefaults<P, D> = {
|
|
115
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
116
|
+
default: D[K];
|
|
117
|
+
}> : P[K];
|
|
118
|
+
};
|
|
119
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
120
|
+
type __VLS_TypePropsToOption<T> = {
|
|
121
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
122
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
123
|
+
} : {
|
|
124
|
+
type: import('vue').PropType<T[K]>;
|
|
125
|
+
required: true;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
129
|
+
new (): {
|
|
130
|
+
$slots: S;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
type __VLS_PrettifyLocal<T> = {
|
|
134
|
+
[K in keyof T]: T[K];
|
|
135
|
+
} & {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { IUploadFile } from 'next-ui/es/hooks';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string | IUploadFile;
|
|
4
|
+
valueType?: 'string' | 'object';
|
|
5
|
+
fileTypes?: string[] | string;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Partial<Record<number, (_: any) => any>> & {
|
|
10
|
+
default?(_: {
|
|
11
|
+
value: string | IUploadFile | undefined;
|
|
12
|
+
url: string | undefined;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
20
|
+
valueType: string;
|
|
21
|
+
fileTypes: string;
|
|
22
|
+
}>, {}, 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>, {
|
|
23
|
+
valueType: string;
|
|
24
|
+
fileTypes: string;
|
|
25
|
+
}>>>, {
|
|
26
|
+
fileTypes: string[] | string;
|
|
27
|
+
valueType: "string" | "object";
|
|
28
|
+
}>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToOption<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_PrettifyLocal<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|