You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
10 KiB
148 lines
10 KiB
export declare const ElSegmented: import("element-plus/es/utils").SFCWithInstall<{
|
|
new (...args: any[]): {
|
|
$: import("vue").ComponentInternalInstance;
|
|
$data: {};
|
|
$props: Partial<{
|
|
block: boolean;
|
|
disabled: boolean;
|
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
options: import("./src/types").Option[];
|
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
ariaLabel: StringConstructor;
|
|
options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]) | ((new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]))[], unknown, unknown, () => never[], boolean>;
|
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
block: BooleanConstructor;
|
|
size: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
id: StringConstructor;
|
|
name: StringConstructor;
|
|
}>> & {
|
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
onChange?: ((val: any) => any) | undefined;
|
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "block" | "disabled" | "modelValue" | "options" | "validateEvent">;
|
|
$attrs: {
|
|
[x: string]: unknown;
|
|
};
|
|
$refs: {
|
|
[x: string]: unknown;
|
|
};
|
|
$slots: Readonly<{
|
|
[name: string]: import("vue").Slot | undefined;
|
|
}>;
|
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
$emit: ((event: "update:modelValue", val: any) => void) & ((event: "change", val: any) => void);
|
|
$el: any;
|
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
ariaLabel: StringConstructor;
|
|
options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]) | ((new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]))[], unknown, unknown, () => never[], boolean>;
|
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
block: BooleanConstructor;
|
|
size: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
id: StringConstructor;
|
|
name: StringConstructor;
|
|
}>> & {
|
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
onChange?: ((val: any) => any) | undefined;
|
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
"update:modelValue": (val: any) => void;
|
|
change: (val: any) => void;
|
|
}, string, {
|
|
block: boolean;
|
|
disabled: boolean;
|
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
options: import("./src/types").Option[];
|
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
}> & {
|
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
};
|
|
$forceUpdate: () => void;
|
|
$nextTick: typeof import("vue").nextTick;
|
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
ariaLabel: StringConstructor;
|
|
options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]) | ((new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]))[], unknown, unknown, () => never[], boolean>;
|
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
block: BooleanConstructor;
|
|
size: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
id: StringConstructor;
|
|
name: StringConstructor;
|
|
}>> & {
|
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
onChange?: ((val: any) => any) | undefined;
|
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
__isFragment?: undefined;
|
|
__isTeleport?: undefined;
|
|
__isSuspense?: undefined;
|
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
ariaLabel: StringConstructor;
|
|
options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]) | ((new (...args: any[]) => import("./src/types").Option[]) | (() => import("./src/types").Option[]))[], unknown, unknown, () => never[], boolean>;
|
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
block: BooleanConstructor;
|
|
size: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
id: StringConstructor;
|
|
name: StringConstructor;
|
|
}>> & {
|
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
onChange?: ((val: any) => any) | undefined;
|
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
"update:modelValue": (val: any) => void;
|
|
change: (val: any) => void;
|
|
}, string, {
|
|
block: boolean;
|
|
disabled: boolean;
|
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
options: import("./src/types").Option[];
|
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
$slots: {
|
|
default?(_: {
|
|
item: import("./src/types").Option;
|
|
}): any;
|
|
};
|
|
})> & Record<string, any>;
|
|
export default ElSegmented;
|
|
export * from './src/segmented';
|