prizm-ui-vue 1.0.0 → 2.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.
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { ElCheckbox } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/checkbox/style/css';
|
|
3
|
+
type BaseCheckboxSlots = {
|
|
4
|
+
default?: unknown;
|
|
5
|
+
};
|
|
6
|
+
type ElCheckboxProps = InstanceType<typeof ElCheckbox>['$props'];
|
|
7
|
+
type PickedProps = Pick<ElCheckboxProps, 'class' | 'modelValue' | 'name' | 'disabled' | 'falseValue' | 'falseLabel' | 'validateEvent' | 'size' | 'value' | 'label' | 'checked'>;
|
|
8
|
+
type Props = {
|
|
9
|
+
class?: PickedProps['class'];
|
|
10
|
+
name?: PickedProps['name'];
|
|
11
|
+
disabled?: PickedProps['disabled'];
|
|
12
|
+
falseValue?: PickedProps['falseValue'];
|
|
13
|
+
validateEvent?: PickedProps['validateEvent'];
|
|
14
|
+
size?: PickedProps['size'];
|
|
15
|
+
value?: PickedProps['value'];
|
|
16
|
+
label?: PickedProps['label'];
|
|
17
|
+
checked?: PickedProps['checked'];
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = BaseCheckboxSlots;
|
|
20
|
+
type __VLS_Props = Props;
|
|
21
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
22
|
+
modelValue?: string | number | boolean;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
25
|
+
checkboxRef: Readonly<import("vue").ShallowRef<({
|
|
26
|
+
$: import("vue").ComponentInternalInstance;
|
|
27
|
+
$data: {};
|
|
28
|
+
$props: Partial<{
|
|
29
|
+
label: string | number | boolean | Record<string, any>;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
border: boolean;
|
|
32
|
+
value: string | number | boolean | Record<string, any>;
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
modelValue: string | number | boolean;
|
|
36
|
+
validateEvent: boolean;
|
|
37
|
+
indeterminate: boolean;
|
|
38
|
+
checked: boolean;
|
|
39
|
+
trueValue: string | number;
|
|
40
|
+
falseValue: string | number;
|
|
41
|
+
trueLabel: string | number;
|
|
42
|
+
falseLabel: string | number;
|
|
43
|
+
}> & Omit<{
|
|
44
|
+
readonly disabled: boolean;
|
|
45
|
+
readonly indeterminate: boolean;
|
|
46
|
+
readonly checked: boolean;
|
|
47
|
+
readonly border: boolean;
|
|
48
|
+
readonly validateEvent: boolean;
|
|
49
|
+
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
50
|
+
readonly ariaControls?: string | undefined;
|
|
51
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
52
|
+
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
53
|
+
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
54
|
+
readonly name?: string | undefined;
|
|
55
|
+
readonly trueValue?: string | number | undefined;
|
|
56
|
+
readonly falseValue?: string | number | undefined;
|
|
57
|
+
readonly trueLabel?: string | number | undefined;
|
|
58
|
+
readonly falseLabel?: string | number | undefined;
|
|
59
|
+
readonly id?: string | undefined;
|
|
60
|
+
readonly tabindex?: string | number | undefined;
|
|
61
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined | undefined;
|
|
62
|
+
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined | undefined;
|
|
63
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "label" | "value" | "indeterminate" | "checked" | "name" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel" | "id" | "border" | "validateEvent">;
|
|
64
|
+
$attrs: {
|
|
65
|
+
[x: string]: unknown;
|
|
66
|
+
};
|
|
67
|
+
$refs: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
};
|
|
70
|
+
$slots: Readonly<{
|
|
71
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
74
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
75
|
+
$host: Element | null;
|
|
76
|
+
$emit: ((event: "change", val: import("element-plus").CheckboxValueType) => void) & ((event: "update:modelValue", val: import("element-plus").CheckboxValueType) => void);
|
|
77
|
+
$el: any;
|
|
78
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
ariaControls: StringConstructor;
|
|
80
|
+
modelValue: {
|
|
81
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
label: {
|
|
85
|
+
type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
value: {
|
|
89
|
+
type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
indeterminate: BooleanConstructor;
|
|
93
|
+
disabled: BooleanConstructor;
|
|
94
|
+
checked: BooleanConstructor;
|
|
95
|
+
name: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
trueValue: {
|
|
100
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
falseValue: {
|
|
104
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
trueLabel: {
|
|
108
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
falseLabel: {
|
|
112
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
id: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
border: BooleanConstructor;
|
|
120
|
+
size: {
|
|
121
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
122
|
+
readonly required: false;
|
|
123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
124
|
+
__epPropKey: true;
|
|
125
|
+
};
|
|
126
|
+
tabindex: (NumberConstructor | StringConstructor)[];
|
|
127
|
+
validateEvent: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & {
|
|
132
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
133
|
+
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
134
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
+
"update:modelValue": (val: import("element-plus").CheckboxValueType) => void;
|
|
136
|
+
change: (val: import("element-plus").CheckboxValueType) => void;
|
|
137
|
+
}, string, {
|
|
138
|
+
label: string | number | boolean | Record<string, any>;
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
border: boolean;
|
|
141
|
+
value: string | number | boolean | Record<string, any>;
|
|
142
|
+
id: string;
|
|
143
|
+
name: string;
|
|
144
|
+
modelValue: string | number | boolean;
|
|
145
|
+
validateEvent: boolean;
|
|
146
|
+
indeterminate: boolean;
|
|
147
|
+
checked: boolean;
|
|
148
|
+
trueValue: string | number;
|
|
149
|
+
falseValue: string | number;
|
|
150
|
+
trueLabel: string | number;
|
|
151
|
+
falseLabel: string | number;
|
|
152
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
153
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
154
|
+
created?: (() => void) | (() => void)[];
|
|
155
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
156
|
+
mounted?: (() => void) | (() => void)[];
|
|
157
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
158
|
+
updated?: (() => void) | (() => void)[];
|
|
159
|
+
activated?: (() => void) | (() => void)[];
|
|
160
|
+
deactivated?: (() => void) | (() => void)[];
|
|
161
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
162
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
163
|
+
destroyed?: (() => void) | (() => void)[];
|
|
164
|
+
unmounted?: (() => void) | (() => void)[];
|
|
165
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
166
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
167
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
168
|
+
};
|
|
169
|
+
$forceUpdate: () => void;
|
|
170
|
+
$nextTick: typeof import("vue").nextTick;
|
|
171
|
+
$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;
|
|
172
|
+
} & Readonly<{
|
|
173
|
+
label: string | number | boolean | Record<string, any>;
|
|
174
|
+
disabled: boolean;
|
|
175
|
+
border: boolean;
|
|
176
|
+
value: string | number | boolean | Record<string, any>;
|
|
177
|
+
id: string;
|
|
178
|
+
name: string;
|
|
179
|
+
modelValue: string | number | boolean;
|
|
180
|
+
validateEvent: boolean;
|
|
181
|
+
indeterminate: boolean;
|
|
182
|
+
checked: boolean;
|
|
183
|
+
trueValue: string | number;
|
|
184
|
+
falseValue: string | number;
|
|
185
|
+
trueLabel: string | number;
|
|
186
|
+
falseLabel: string | number;
|
|
187
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
188
|
+
ariaControls: StringConstructor;
|
|
189
|
+
modelValue: {
|
|
190
|
+
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
label: {
|
|
194
|
+
type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
value: {
|
|
198
|
+
type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
indeterminate: BooleanConstructor;
|
|
202
|
+
disabled: BooleanConstructor;
|
|
203
|
+
checked: BooleanConstructor;
|
|
204
|
+
name: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
trueValue: {
|
|
209
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
210
|
+
default: undefined;
|
|
211
|
+
};
|
|
212
|
+
falseValue: {
|
|
213
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
214
|
+
default: undefined;
|
|
215
|
+
};
|
|
216
|
+
trueLabel: {
|
|
217
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
218
|
+
default: undefined;
|
|
219
|
+
};
|
|
220
|
+
falseLabel: {
|
|
221
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
222
|
+
default: undefined;
|
|
223
|
+
};
|
|
224
|
+
id: {
|
|
225
|
+
type: StringConstructor;
|
|
226
|
+
default: undefined;
|
|
227
|
+
};
|
|
228
|
+
border: BooleanConstructor;
|
|
229
|
+
size: {
|
|
230
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
231
|
+
readonly required: false;
|
|
232
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
233
|
+
__epPropKey: true;
|
|
234
|
+
};
|
|
235
|
+
tabindex: (NumberConstructor | StringConstructor)[];
|
|
236
|
+
validateEvent: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
}>> & {
|
|
241
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
242
|
+
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
243
|
+
}, "disabled" | "modelValue" | "label" | "value" | "indeterminate" | "checked" | "name" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel" | "id" | "border" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
244
|
+
$slots: {
|
|
245
|
+
default?(_: {}): any;
|
|
246
|
+
};
|
|
247
|
+
}) | null>>;
|
|
248
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
249
|
+
"update:modelValue": (value: string | number | boolean | undefined) => any;
|
|
250
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
251
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | undefined) => any) | undefined;
|
|
252
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
253
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
254
|
+
export default _default;
|
|
255
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
256
|
+
new (): {
|
|
257
|
+
$slots: S;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { ElCheckboxGroup } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/checkbox-group/style/css';
|
|
3
|
+
type BaseCheckboxGroupSlots = {
|
|
4
|
+
default?: unknown;
|
|
5
|
+
};
|
|
6
|
+
type ElCheckboxGroupProps = InstanceType<typeof ElCheckboxGroup>['$props'];
|
|
7
|
+
type PickedProps = Pick<ElCheckboxGroupProps, 'class' | 'max' | 'fill' | 'disabled' | 'min' | 'modelValue' | 'textColor'>;
|
|
8
|
+
export type Props = {
|
|
9
|
+
class?: PickedProps['class'];
|
|
10
|
+
max?: PickedProps['max'];
|
|
11
|
+
fill?: PickedProps['fill'];
|
|
12
|
+
disabled?: PickedProps['disabled'];
|
|
13
|
+
min?: PickedProps['min'];
|
|
14
|
+
textColor?: PickedProps['textColor'];
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = BaseCheckboxGroupSlots;
|
|
17
|
+
type __VLS_Props = Props;
|
|
18
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
19
|
+
modelValue?: string[] | number[];
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
22
|
+
checkboxGroupRef: Readonly<import("vue").ShallowRef<({
|
|
23
|
+
$: import("vue").ComponentInternalInstance;
|
|
24
|
+
$data: {};
|
|
25
|
+
$props: Partial<{
|
|
26
|
+
readonly disabled: boolean;
|
|
27
|
+
readonly modelValue: import("element-plus").CheckboxGroupValueType;
|
|
28
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
29
|
+
readonly tag: string;
|
|
30
|
+
}> & Omit<{
|
|
31
|
+
readonly disabled: boolean;
|
|
32
|
+
readonly tag: string;
|
|
33
|
+
readonly modelValue: import("element-plus").CheckboxGroupValueType;
|
|
34
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
35
|
+
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
36
|
+
readonly fill?: string | undefined;
|
|
37
|
+
readonly ariaLabel?: string | undefined;
|
|
38
|
+
readonly min?: number | undefined;
|
|
39
|
+
readonly max?: number | undefined;
|
|
40
|
+
readonly textColor?: string | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxGroupValueType) => any) | undefined | undefined;
|
|
42
|
+
onChange?: ((val: import("element-plus").CheckboxValueType[]) => any) | undefined | undefined;
|
|
43
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "tag" | "modelValue" | "validateEvent">;
|
|
44
|
+
$attrs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
$refs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
$slots: Readonly<{
|
|
51
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
54
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
55
|
+
$host: Element | null;
|
|
56
|
+
$emit: ((event: "change", val: import("element-plus").CheckboxValueType[]) => void) & ((event: "update:modelValue", val: import("element-plus").CheckboxGroupValueType) => void);
|
|
57
|
+
$el: any;
|
|
58
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
readonly ariaLabel: StringConstructor;
|
|
60
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType) | ((new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
61
|
+
readonly disabled: BooleanConstructor;
|
|
62
|
+
readonly min: NumberConstructor;
|
|
63
|
+
readonly max: NumberConstructor;
|
|
64
|
+
readonly size: {
|
|
65
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
+
__epPropKey: true;
|
|
69
|
+
};
|
|
70
|
+
readonly fill: StringConstructor;
|
|
71
|
+
readonly textColor: StringConstructor;
|
|
72
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
73
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
74
|
+
}>> & {
|
|
75
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxGroupValueType) => any) | undefined;
|
|
76
|
+
onChange?: ((val: import("element-plus").CheckboxValueType[]) => any) | undefined;
|
|
77
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
|
+
"update:modelValue": (val: import("element-plus").CheckboxGroupValueType) => void;
|
|
79
|
+
change: (val: import("element-plus").CheckboxValueType[]) => void;
|
|
80
|
+
}, string, {
|
|
81
|
+
readonly disabled: boolean;
|
|
82
|
+
readonly modelValue: import("element-plus").CheckboxGroupValueType;
|
|
83
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
|
+
readonly tag: string;
|
|
85
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
86
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
87
|
+
created?: (() => void) | (() => void)[];
|
|
88
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
89
|
+
mounted?: (() => void) | (() => void)[];
|
|
90
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
91
|
+
updated?: (() => void) | (() => void)[];
|
|
92
|
+
activated?: (() => void) | (() => void)[];
|
|
93
|
+
deactivated?: (() => void) | (() => void)[];
|
|
94
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
95
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
96
|
+
destroyed?: (() => void) | (() => void)[];
|
|
97
|
+
unmounted?: (() => void) | (() => void)[];
|
|
98
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
99
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
100
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
101
|
+
};
|
|
102
|
+
$forceUpdate: () => void;
|
|
103
|
+
$nextTick: typeof import("vue").nextTick;
|
|
104
|
+
$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;
|
|
105
|
+
} & Readonly<{
|
|
106
|
+
readonly disabled: boolean;
|
|
107
|
+
readonly modelValue: import("element-plus").CheckboxGroupValueType;
|
|
108
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
109
|
+
readonly tag: string;
|
|
110
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
readonly ariaLabel: StringConstructor;
|
|
112
|
+
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType) | ((new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
|
|
113
|
+
readonly disabled: BooleanConstructor;
|
|
114
|
+
readonly min: NumberConstructor;
|
|
115
|
+
readonly max: NumberConstructor;
|
|
116
|
+
readonly size: {
|
|
117
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
118
|
+
readonly required: false;
|
|
119
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
|
+
__epPropKey: true;
|
|
121
|
+
};
|
|
122
|
+
readonly fill: StringConstructor;
|
|
123
|
+
readonly textColor: StringConstructor;
|
|
124
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
125
|
+
readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
126
|
+
}>> & {
|
|
127
|
+
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxGroupValueType) => any) | undefined;
|
|
128
|
+
onChange?: ((val: import("element-plus").CheckboxValueType[]) => any) | undefined;
|
|
129
|
+
}, "disabled" | "tag" | "modelValue" | "validateEvent"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
130
|
+
$slots: {
|
|
131
|
+
default?(_: {}): any;
|
|
132
|
+
};
|
|
133
|
+
}) | null>>;
|
|
134
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
+
"update:modelValue": (value: string[] | number[] | undefined) => any;
|
|
136
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
137
|
+
"onUpdate:modelValue"?: ((value: string[] | number[] | undefined) => any) | undefined;
|
|
138
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
139
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
140
|
+
export default _default;
|
|
141
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
142
|
+
new (): {
|
|
143
|
+
$slots: S;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { ElButton } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/button/style/css';
|
|
3
|
+
type ElementProps = InstanceType<typeof ElButton>['$props'];
|
|
4
|
+
type PickedProps = Pick<ElementProps, 'disabled' | 'type' | 'size' | 'icon' | 'link' | 'plain' | 'dark'>;
|
|
5
|
+
type Props = {
|
|
6
|
+
type?: PickedProps['type'];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: PickedProps['size'];
|
|
9
|
+
icon?: PickedProps['icon'];
|
|
10
|
+
link?: PickedProps['link'];
|
|
11
|
+
plain?: PickedProps['plain'];
|
|
12
|
+
dark?: PickedProps['dark'];
|
|
13
|
+
};
|
|
14
|
+
type BaseButtonSlots = {
|
|
15
|
+
default: unknown;
|
|
16
|
+
loading?: unknown;
|
|
17
|
+
icon?: unknown;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = BaseButtonSlots;
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
21
|
+
baseButtonRef: Readonly<import("vue").ShallowRef<({
|
|
22
|
+
$: import("vue").ComponentInternalInstance;
|
|
23
|
+
$data: {};
|
|
24
|
+
$props: Partial<{
|
|
25
|
+
readonly link: boolean;
|
|
26
|
+
readonly circle: boolean;
|
|
27
|
+
readonly text: boolean;
|
|
28
|
+
readonly disabled: boolean;
|
|
29
|
+
readonly round: boolean;
|
|
30
|
+
readonly dark: boolean;
|
|
31
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
32
|
+
readonly bg: boolean;
|
|
33
|
+
readonly loading: boolean;
|
|
34
|
+
readonly autofocus: boolean;
|
|
35
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
36
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
37
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
38
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
|
+
readonly plain: boolean;
|
|
40
|
+
}> & Omit<{
|
|
41
|
+
readonly disabled: boolean;
|
|
42
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
43
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
44
|
+
readonly loading: boolean;
|
|
45
|
+
readonly plain: boolean;
|
|
46
|
+
readonly text: boolean;
|
|
47
|
+
readonly link: boolean;
|
|
48
|
+
readonly bg: boolean;
|
|
49
|
+
readonly autofocus: boolean;
|
|
50
|
+
readonly round: boolean;
|
|
51
|
+
readonly circle: boolean;
|
|
52
|
+
readonly dark: boolean;
|
|
53
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
54
|
+
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
55
|
+
readonly icon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
56
|
+
readonly loadingIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
57
|
+
readonly color?: string | undefined;
|
|
58
|
+
readonly autoInsertSpace?: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
59
|
+
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
60
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
|
|
61
|
+
$attrs: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
$refs: {
|
|
65
|
+
[x: string]: unknown;
|
|
66
|
+
};
|
|
67
|
+
$slots: Readonly<{
|
|
68
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
71
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
72
|
+
$host: Element | null;
|
|
73
|
+
$emit: (event: "click", evt: MouseEvent) => void;
|
|
74
|
+
$el: any;
|
|
75
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
readonly size: {
|
|
77
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
78
|
+
readonly required: false;
|
|
79
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
+
__epPropKey: true;
|
|
81
|
+
};
|
|
82
|
+
readonly disabled: BooleanConstructor;
|
|
83
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
84
|
+
readonly icon: {
|
|
85
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
86
|
+
readonly required: false;
|
|
87
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
|
+
__epPropKey: true;
|
|
89
|
+
};
|
|
90
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
91
|
+
readonly loading: BooleanConstructor;
|
|
92
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
93
|
+
readonly plain: BooleanConstructor;
|
|
94
|
+
readonly text: BooleanConstructor;
|
|
95
|
+
readonly link: BooleanConstructor;
|
|
96
|
+
readonly bg: BooleanConstructor;
|
|
97
|
+
readonly autofocus: BooleanConstructor;
|
|
98
|
+
readonly round: BooleanConstructor;
|
|
99
|
+
readonly circle: BooleanConstructor;
|
|
100
|
+
readonly color: StringConstructor;
|
|
101
|
+
readonly dark: BooleanConstructor;
|
|
102
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
103
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
104
|
+
}>> & {
|
|
105
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
108
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
109
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
110
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
111
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
112
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
113
|
+
click: (evt: MouseEvent) => void;
|
|
114
|
+
}, string, {
|
|
115
|
+
readonly link: boolean;
|
|
116
|
+
readonly circle: boolean;
|
|
117
|
+
readonly text: boolean;
|
|
118
|
+
readonly disabled: boolean;
|
|
119
|
+
readonly round: boolean;
|
|
120
|
+
readonly dark: boolean;
|
|
121
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
122
|
+
readonly bg: boolean;
|
|
123
|
+
readonly loading: boolean;
|
|
124
|
+
readonly autofocus: boolean;
|
|
125
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
126
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
127
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
128
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
129
|
+
readonly plain: boolean;
|
|
130
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
131
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
132
|
+
created?: (() => void) | (() => void)[];
|
|
133
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
134
|
+
mounted?: (() => void) | (() => void)[];
|
|
135
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
136
|
+
updated?: (() => void) | (() => void)[];
|
|
137
|
+
activated?: (() => void) | (() => void)[];
|
|
138
|
+
deactivated?: (() => void) | (() => void)[];
|
|
139
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
140
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
141
|
+
destroyed?: (() => void) | (() => void)[];
|
|
142
|
+
unmounted?: (() => void) | (() => void)[];
|
|
143
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
144
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
145
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
146
|
+
};
|
|
147
|
+
$forceUpdate: () => void;
|
|
148
|
+
$nextTick: typeof import("vue").nextTick;
|
|
149
|
+
$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;
|
|
150
|
+
} & Readonly<{
|
|
151
|
+
readonly link: boolean;
|
|
152
|
+
readonly circle: boolean;
|
|
153
|
+
readonly text: boolean;
|
|
154
|
+
readonly disabled: boolean;
|
|
155
|
+
readonly round: boolean;
|
|
156
|
+
readonly dark: boolean;
|
|
157
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
158
|
+
readonly bg: boolean;
|
|
159
|
+
readonly loading: boolean;
|
|
160
|
+
readonly autofocus: boolean;
|
|
161
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
162
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
163
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
164
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
|
+
readonly plain: boolean;
|
|
166
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
167
|
+
readonly size: {
|
|
168
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
169
|
+
readonly required: false;
|
|
170
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
171
|
+
__epPropKey: true;
|
|
172
|
+
};
|
|
173
|
+
readonly disabled: BooleanConstructor;
|
|
174
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
175
|
+
readonly icon: {
|
|
176
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
177
|
+
readonly required: false;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
+
__epPropKey: true;
|
|
180
|
+
};
|
|
181
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
182
|
+
readonly loading: BooleanConstructor;
|
|
183
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
184
|
+
readonly plain: BooleanConstructor;
|
|
185
|
+
readonly text: BooleanConstructor;
|
|
186
|
+
readonly link: BooleanConstructor;
|
|
187
|
+
readonly bg: BooleanConstructor;
|
|
188
|
+
readonly autofocus: BooleanConstructor;
|
|
189
|
+
readonly round: BooleanConstructor;
|
|
190
|
+
readonly circle: BooleanConstructor;
|
|
191
|
+
readonly color: StringConstructor;
|
|
192
|
+
readonly dark: BooleanConstructor;
|
|
193
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
194
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
195
|
+
}>> & {
|
|
196
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
197
|
+
}, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & import("vue").ShallowUnwrapRef<{
|
|
198
|
+
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
199
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
200
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
201
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
202
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
203
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
204
|
+
$slots: {
|
|
205
|
+
loading?(_: {}): any;
|
|
206
|
+
icon?(_: {}): any;
|
|
207
|
+
default?(_: {}): any;
|
|
208
|
+
};
|
|
209
|
+
}) | null>>;
|
|
210
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
211
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
212
|
+
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
213
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
214
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
215
|
+
export default _default;
|
|
216
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
217
|
+
new (): {
|
|
218
|
+
$slots: S;
|
|
219
|
+
};
|
|
220
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prizm-ui-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Vue 3 UI Kit with Element Plus (manual import)",
|
|
5
5
|
"author": "your-name",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"dev": "vite",
|
|
22
|
-
"build": "vite build && tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
22
|
+
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
23
23
|
"lint": "eslint . --ext .vue,.ts,.js",
|
|
24
24
|
"preview": "vite preview"
|
|
25
25
|
},
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"eslint": "^8.57.0",
|
|
34
34
|
"sass-embedded": "^1.86.3",
|
|
35
35
|
"typescript": "^5.3.3",
|
|
36
|
-
"vite": "^
|
|
36
|
+
"vite": "^6.2.6",
|
|
37
37
|
"vue": "^3.4.0",
|
|
38
|
-
"vue-tsc": "^
|
|
38
|
+
"vue-tsc": "^2.2.8"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
File without changes
|