skeleton.vue.d.ts 1.5 KB

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