segmented.vue.d.ts 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import type { Option } from './types';
  2. declare var __VLS_1: {
  3. item: any;
  4. };
  5. type __VLS_Slots = {} & {
  6. default?: (props: typeof __VLS_1) => any;
  7. };
  8. declare const __VLS_base: import("vue").DefineComponent<{
  9. ariaLabel: StringConstructor;
  10. 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>;
  11. options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Option[]) | (() => Option[]) | ((new (...args: any[]) => Option[]) | (() => Option[]))[], unknown, unknown, () => never[], boolean>;
  12. modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
  13. props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./segmented").Props) | (() => import("./segmented").Props) | ((new (...args: any[]) => import("./segmented").Props) | (() => import("./segmented").Props))[], unknown, unknown, () => Required<import("./segmented").Props>, boolean>;
  14. block: BooleanConstructor;
  15. size: {
  16. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  17. readonly required: false;
  18. readonly validator: ((val: unknown) => boolean) | undefined;
  19. __epPropKey: true;
  20. };
  21. disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
  22. validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
  23. id: StringConstructor;
  24. name: StringConstructor;
  25. }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  26. "update:modelValue": (val: any) => void;
  27. change: (val: any) => void;
  28. }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  29. ariaLabel: StringConstructor;
  30. 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>;
  31. options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Option[]) | (() => Option[]) | ((new (...args: any[]) => Option[]) | (() => Option[]))[], unknown, unknown, () => never[], boolean>;
  32. modelValue: import("element-plus/es/utils").EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
  33. props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./segmented").Props) | (() => import("./segmented").Props) | ((new (...args: any[]) => import("./segmented").Props) | (() => import("./segmented").Props))[], unknown, unknown, () => Required<import("./segmented").Props>, boolean>;
  34. block: BooleanConstructor;
  35. size: {
  36. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  37. readonly required: false;
  38. readonly validator: ((val: unknown) => boolean) | undefined;
  39. __epPropKey: true;
  40. };
  41. disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
  42. validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
  43. id: StringConstructor;
  44. name: StringConstructor;
  45. }>> & {
  46. "onUpdate:modelValue"?: ((val: any) => any) | undefined;
  47. onChange?: ((val: any) => any) | undefined;
  48. }, {
  49. disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  50. direction: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | ((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical"))[], unknown, unknown>;
  51. block: boolean;
  52. props: import("./segmented").Props;
  53. modelValue: import("element-plus/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
  54. options: Option[];
  55. validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  56. }, {}>;
  57. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  58. declare const _default: typeof __VLS_export;
  59. export default _default;
  60. type __VLS_WithSlots<T, S> = T & {
  61. new (): {
  62. $slots: S;
  63. };
  64. };