123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- 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';
|