@opensig/opendesign
Version:
136 lines (135 loc) • 5.03 kB
TypeScript
import { App } from 'vue';
declare const OIpInput: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: StringConstructor;
};
readonly disabled: {
readonly type: BooleanConstructor;
};
readonly segmentsLen: {
readonly type: NumberConstructor;
readonly default: 4;
};
readonly size: {
type: import('vue').PropType<import('..').SizeT>;
};
readonly round: {
type: import('vue').PropType<import('..').RoundT>;
};
readonly color: {
type: import('vue').PropType<import('..').Color2T>;
default: string;
};
readonly readonly: {
type: BooleanConstructor;
};
readonly variant: {
type: import('vue').PropType<import('..').VariantT>;
default: string;
};
}>> & Readonly<{
onChange?: ((valid: boolean, ip: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
change: (valid: boolean, ip: string) => any;
"update:modelValue": (value: string) => any;
}, import('vue').PublicProps, {
readonly color: "normal" | "primary" | "success" | "warning" | "danger";
readonly disabled: boolean;
readonly variant: "solid" | "outline" | "text";
readonly readonly: boolean;
readonly segmentsLen: number;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: StringConstructor;
};
readonly disabled: {
readonly type: BooleanConstructor;
};
readonly segmentsLen: {
readonly type: NumberConstructor;
readonly default: 4;
};
readonly size: {
type: import('vue').PropType<import('..').SizeT>;
};
readonly round: {
type: import('vue').PropType<import('..').RoundT>;
};
readonly color: {
type: import('vue').PropType<import('..').Color2T>;
default: string;
};
readonly readonly: {
type: BooleanConstructor;
};
readonly variant: {
type: import('vue').PropType<import('..').VariantT>;
default: string;
};
}>> & Readonly<{
onChange?: ((valid: boolean, ip: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {}, {}, {}, {}, {
readonly color: "normal" | "primary" | "success" | "warning" | "danger";
readonly disabled: boolean;
readonly variant: "solid" | "outline" | "text";
readonly readonly: boolean;
readonly segmentsLen: number;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: StringConstructor;
};
readonly disabled: {
readonly type: BooleanConstructor;
};
readonly segmentsLen: {
readonly type: NumberConstructor;
readonly default: 4;
};
readonly size: {
type: import('vue').PropType<import('..').SizeT>;
};
readonly round: {
type: import('vue').PropType<import('..').RoundT>;
};
readonly color: {
type: import('vue').PropType<import('..').Color2T>;
default: string;
};
readonly readonly: {
type: BooleanConstructor;
};
readonly variant: {
type: import('vue').PropType<import('..').VariantT>;
default: string;
};
}>> & Readonly<{
onChange?: ((valid: boolean, ip: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
change: (valid: boolean, ip: string) => any;
"update:modelValue": (value: string) => any;
}, string, {
readonly color: "normal" | "primary" | "success" | "warning" | "danger";
readonly disabled: boolean;
readonly variant: "solid" | "outline" | "text";
readonly readonly: boolean;
readonly segmentsLen: number;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
install(app: App): void;
};
export { OIpInput };
export * from './types';