hongluan-ui
Version:
Hongluan Component Library for Vue 3
32 lines (31 loc) • 1.53 kB
TypeScript
import type { Option } from './types';
import type { ExtractPropTypes, PropType } from 'vue';
import type Segmented from './segmented.vue';
export declare const segmentedProps: {
ariaLabel: StringConstructor;
options: import("hongluan-ui/es/utils").EpPropFinalized<PropType<Option[]>, unknown, unknown, () => any[], boolean>;
modelValue: {
readonly type: PropType<import("hongluan-ui/es/utils").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
block: BooleanConstructor;
size: {
readonly type: PropType<import("hongluan-ui/es/utils").EpPropMergeType<PropType<"xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">, unknown, unknown>>;
readonly required: false;
readonly validator: (val: unknown) => boolean;
__epPropKey: true;
};
disabled: BooleanConstructor;
validateEvent: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
id: StringConstructor;
name: StringConstructor;
};
export declare type SegmentedProps = ExtractPropTypes<typeof segmentedProps>;
export declare const segmentedEmits: {
"update:modelValue": (val: any) => boolean;
change: (val: any) => boolean;
};
export declare type SegmentedEmits = typeof segmentedEmits;
export declare type SegmentedInstance = InstanceType<typeof Segmented>;