badge.vue.d.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. import { BadgeProps } from "./badge.js";
  2. import * as _$vue from "vue";
  3. import { StyleValue } from "vue";
  4. //#region ../../packages/components/badge/src/badge.vue.d.ts
  5. declare var __VLS_1: {}, __VLS_9: {
  6. value: string;
  7. };
  8. type __VLS_Slots = {} & {
  9. default?: (props: typeof __VLS_1) => any;
  10. } & {
  11. content?: (props: typeof __VLS_9) => any;
  12. };
  13. declare const __VLS_base: _$vue.DefineComponent<BadgeProps, {
  14. /** @description badge content */content: _$vue.ComputedRef<string>;
  15. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
  16. type: "primary" | "success" | "warning" | "info" | "danger";
  17. value: string | number;
  18. offset: [number, number];
  19. max: number;
  20. showZero: boolean;
  21. badgeStyle: string | false | _$vue.CSSProperties | StyleValue[] | null;
  22. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  23. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  24. declare const _default: typeof __VLS_export;
  25. type __VLS_WithSlots<T, S> = T & {
  26. new (): {
  27. $slots: S;
  28. };
  29. };
  30. //#endregion
  31. export { _default as default };