next-ui3 1.3.23 → 1.4.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/dist/index.css +1 -1
- package/dist/index.full.min.js +131 -16
- package/dist/index.full.min.mjs +133 -18
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/utils/index.min.js +2 -2
- package/dist/utils/index.min.mjs +2 -2
- package/es/components/autocomplete/src/index.vue.d.ts +10 -203
- package/es/components/cascader/src/index.vue.d.ts +5 -1111
- package/es/components/checkbox/src/index.vue.d.ts +5 -10
- package/es/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
- package/es/components/checkbox-group/src/index.vue.d.ts +24 -27
- package/es/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +5 -383
- package/es/components/download-button/src/index.vue.d.ts +5 -10
- package/es/components/empty/src/index.vue.d.ts +5 -10
- package/es/components/file-select/src/index.vue.d.ts +9 -17
- package/es/components/file-upload/index.d.ts +3 -0
- package/es/components/file-upload/src/FileList.vue.d.ts +2 -0
- package/es/components/file-upload/src/index.vue.d.ts +110 -0
- package/es/components/file-upload/src/types.d.ts +12 -0
- package/es/components/filter/src/index.vue.d.ts +11 -197
- package/es/components/flex-text/src/index.vue.d.ts +7 -14
- package/es/components/form/src/index.vue.d.ts +13 -197
- package/es/components/icon/index.d.ts +2 -0
- package/es/components/icon/src/index.vue.d.ts +12 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/input/src/index.vue.d.ts +5 -415
- package/es/components/input-number/src/index.vue.d.ts +9 -418
- package/es/components/input-password/src/index.vue.d.ts +5 -415
- package/es/components/pagination/src/index.vue.d.ts +5 -8
- package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
- package/es/components/radio-group/src/index.vue.d.ts +19 -21
- package/es/components/remote-cascader/src/index.vue.d.ts +5 -10
- package/es/components/remote-select/src/DictSelect.vue.d.ts +5 -149
- package/es/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
- package/es/components/remote-select/src/index.vue.d.ts +5 -10
- package/es/components/remote-tree-select/src/index.vue.d.ts +5 -10
- package/es/components/remote-tree-select/src/old.vue.d.ts +5 -53
- package/es/components/select/src/index.vue.d.ts +19 -549
- package/es/components/table/src/index.vue.d.ts +15 -571
- package/es/components/tree-panel/src/index.vue.d.ts +11 -882
- package/es/components/tree-select/src/index.vue.d.ts +5 -53
- package/es/components/upload/src/ImageUpload.vue.d.ts +8 -15
- package/es/components/upload/src/index.vue.d.ts +11 -468
- package/es/config/icons.d.ts +1 -0
- package/es/config/index.d.ts +1 -0
- package/es/hooks/use-toast/index.d.ts +1 -0
- package/es/hooks/use-upload-config/index.d.ts +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/lock.d.ts +6 -0
- package/es/utils/timer.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/lib/components/autocomplete/src/index.vue.d.ts +10 -203
- package/lib/components/cascader/src/index.vue.d.ts +5 -1111
- package/lib/components/checkbox/src/index.vue.d.ts +5 -10
- package/lib/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
- package/lib/components/checkbox-group/src/index.vue.d.ts +24 -27
- package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
- package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +5 -383
- package/lib/components/download-button/src/index.vue.d.ts +5 -10
- package/lib/components/empty/src/index.vue.d.ts +5 -10
- package/lib/components/file-select/src/index.vue.d.ts +9 -17
- package/lib/components/file-upload/index.d.ts +3 -0
- package/lib/components/file-upload/src/FileList.vue.d.ts +2 -0
- package/lib/components/file-upload/src/index.vue.d.ts +110 -0
- package/lib/components/file-upload/src/types.d.ts +12 -0
- package/lib/components/filter/src/index.vue.d.ts +11 -197
- package/lib/components/flex-text/src/index.vue.d.ts +7 -14
- package/lib/components/form/src/index.vue.d.ts +13 -197
- package/lib/components/icon/index.d.ts +2 -0
- package/lib/components/icon/src/index.vue.d.ts +12 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/input/src/index.vue.d.ts +5 -415
- package/lib/components/input-number/src/index.vue.d.ts +9 -418
- package/lib/components/input-password/src/index.vue.d.ts +5 -415
- package/lib/components/pagination/src/index.vue.d.ts +5 -8
- package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
- package/lib/components/radio-group/src/index.vue.d.ts +19 -21
- package/lib/components/remote-cascader/src/index.vue.d.ts +5 -10
- package/lib/components/remote-select/src/DictSelect.vue.d.ts +5 -149
- package/lib/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
- package/lib/components/remote-select/src/index.vue.d.ts +5 -10
- package/lib/components/remote-tree-select/src/index.vue.d.ts +5 -10
- package/lib/components/remote-tree-select/src/old.vue.d.ts +5 -53
- package/lib/components/select/src/index.vue.d.ts +19 -549
- package/lib/components/table/src/index.vue.d.ts +15 -571
- package/lib/components/tree-panel/src/index.vue.d.ts +11 -882
- package/lib/components/tree-select/src/index.vue.d.ts +5 -53
- package/lib/components/upload/src/ImageUpload.vue.d.ts +8 -15
- package/lib/components/upload/src/index.vue.d.ts +11 -468
- package/lib/config/icons.d.ts +1 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/hooks/use-toast/index.d.ts +1 -0
- package/lib/hooks/use-upload-config/index.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/lock.d.ts +6 -0
- package/lib/utils/timer.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/theme-chalk/base.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/nt-empty.css +1 -1
- package/theme-chalk/nt-file-select.css +1 -1
- package/theme-chalk/nt-file-upload.css +1 -0
- package/theme-chalk/nt-icon.css +1 -0
- package/theme-chalk/src/base.scss +3 -0
- package/theme-chalk/src/file-upload.scss +156 -0
- package/theme-chalk/src/icon.scss +15 -0
- package/theme-chalk/src/index.scss +2 -0
|
@@ -14,58 +14,10 @@ type __VLS_Props = {
|
|
|
14
14
|
defaultRoot?: boolean;
|
|
15
15
|
disabledValues?: string[] | number[];
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
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;
|
|
17
|
+
declare var __VLS_20: string, __VLS_21: any;
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
[K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
|
|
67
20
|
};
|
|
68
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
69
21
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
70
22
|
loading: boolean;
|
|
71
23
|
loadError: string;
|
|
@@ -109,7 +61,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
109
61
|
noDataText: string;
|
|
110
62
|
defaultRoot: boolean;
|
|
111
63
|
}>;
|
|
112
|
-
declare const _default:
|
|
64
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
113
65
|
export default _default;
|
|
114
66
|
type __VLS_WithDefaults<P, D> = {
|
|
115
67
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
@@ -125,7 +77,7 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
125
77
|
required: true;
|
|
126
78
|
};
|
|
127
79
|
};
|
|
128
|
-
type
|
|
80
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
129
81
|
new (): {
|
|
130
82
|
$slots: S;
|
|
131
83
|
};
|
|
@@ -33,17 +33,10 @@ type __VLS_Props = {
|
|
|
33
33
|
round?: boolean;
|
|
34
34
|
size?: number;
|
|
35
35
|
};
|
|
36
|
-
declare
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
tip?(_: {}): any;
|
|
40
|
-
};
|
|
41
|
-
refs: {
|
|
42
|
-
inputRef: HTMLInputElement;
|
|
43
|
-
};
|
|
44
|
-
rootEl: HTMLDivElement;
|
|
36
|
+
declare var __VLS_29: {};
|
|
37
|
+
type __VLS_Slots = {} & {
|
|
38
|
+
tip?: (props: typeof __VLS_29) => any;
|
|
45
39
|
};
|
|
46
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
40
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
48
41
|
valueType: string;
|
|
49
42
|
fileTypes: string;
|
|
@@ -92,19 +85,19 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
92
85
|
size: number;
|
|
93
86
|
disabled: boolean;
|
|
94
87
|
validateEvent: boolean;
|
|
95
|
-
clearable: boolean;
|
|
96
88
|
name: string;
|
|
89
|
+
clearable: boolean;
|
|
97
90
|
method: string;
|
|
98
91
|
round: boolean;
|
|
99
92
|
fileTypes: string[] | string;
|
|
100
93
|
maxSize: number;
|
|
101
|
-
valueType: "string" | "object";
|
|
102
94
|
uploading: boolean;
|
|
103
|
-
action: string;
|
|
104
95
|
compressEnabled: boolean;
|
|
96
|
+
action: string;
|
|
97
|
+
valueType: "string" | "object";
|
|
105
98
|
enablePreview: boolean;
|
|
106
99
|
}>;
|
|
107
|
-
declare const _default:
|
|
100
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
108
101
|
export default _default;
|
|
109
102
|
type __VLS_WithDefaults<P, D> = {
|
|
110
103
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
@@ -120,7 +113,7 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
120
113
|
required: true;
|
|
121
114
|
};
|
|
122
115
|
};
|
|
123
|
-
type
|
|
116
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
124
117
|
new (): {
|
|
125
118
|
$slots: S;
|
|
126
119
|
};
|