card.vue.d.ts 1.6 KB

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