b726e98bf2137de31841350f3bc91f70e5fa2d19c4087c9648d42f23b97dfd0179e20f4e989bc3223c99e448b3fe01cb7a072d64948c661f5c66d60eaacea0 2.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import type { Option } from './types';
  2. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  3. import type Segmented from './segmented.vue';
  4. export interface Props {
  5. label?: string;
  6. value?: string;
  7. disabled?: string;
  8. }
  9. export declare const defaultProps: Required<Props>;
  10. export declare const segmentedProps: {
  11. ariaLabel: StringConstructor;
  12. direction: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | ((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical"))[], unknown, unknown, string, boolean>;
  13. options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Option[]) | (() => Option[]) | ((new (...args: any[]) => Option[]) | (() => Option[]))[], unknown, unknown, () => never[], boolean>;
  14. modelValue: import("element-plus/es/utils").EpPropFinalized<(BooleanConstructor | NumberConstructor | StringConstructor)[], unknown, unknown, undefined, boolean>;
  15. props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Props) | (() => Props) | ((new (...args: any[]) => Props) | (() => Props))[], unknown, unknown, () => Required<Props>, boolean>;
  16. block: BooleanConstructor;
  17. size: {
  18. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  19. readonly required: false;
  20. readonly validator: ((val: unknown) => boolean) | undefined;
  21. __epPropKey: true;
  22. };
  23. disabled: BooleanConstructor;
  24. validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
  25. id: StringConstructor;
  26. name: StringConstructor;
  27. };
  28. export type SegmentedProps = ExtractPropTypes<typeof segmentedProps>;
  29. export type SegmentedPropsPublic = __ExtractPublicPropTypes<typeof segmentedProps>;
  30. export declare const segmentedEmits: {
  31. "update:modelValue": (val: any) => val is string | number | boolean;
  32. change: (val: any) => val is string | number | boolean;
  33. };
  34. export type SegmentedEmits = typeof segmentedEmits;
  35. export type SegmentedInstance = InstanceType<typeof Segmented> & unknown;