description.vue.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { DescriptionProps } from "./description.js";
  2. import * as vue from "vue";
  3. //#region ../../packages/components/descriptions/src/description.vue.d.ts
  4. declare var __VLS_1: {}, __VLS_3: {};
  5. type __VLS_Slots = {} & {
  6. title?: (props: typeof __VLS_1) => any;
  7. } & {
  8. extra?: (props: typeof __VLS_3) => any;
  9. };
  10. declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DescriptionProps>, {
  11. column: number;
  12. direction: string;
  13. title: string;
  14. extra: string;
  15. }>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DescriptionProps>, {
  16. column: number;
  17. direction: string;
  18. title: string;
  19. extra: string;
  20. }>>>, {
  21. title: string;
  22. column: number;
  23. direction: "horizontal" | "vertical";
  24. extra: string;
  25. }, {}>;
  26. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  27. declare const _default: typeof __VLS_export;
  28. type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
  29. type: vue.PropType<Required<T>[K]>;
  30. } : {
  31. type: vue.PropType<T[K]>;
  32. required: true;
  33. } };
  34. type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
  35. default: D[K];
  36. }> : P[K] };
  37. type __VLS_WithSlots<T, S> = T & {
  38. new (): {
  39. $slots: S;
  40. };
  41. };
  42. type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
  43. //#endregion
  44. export { _default };