| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- import { BadgeProps } from "./badge.js";
- import * as vue from "vue";
- import { StyleValue } from "vue";
- //#region ../../packages/components/badge/src/badge.vue.d.ts
- declare var __VLS_1: {}, __VLS_9: {
- value: string;
- };
- type __VLS_Slots = {} & {
- default?: (props: typeof __VLS_1) => any;
- } & {
- content?: (props: typeof __VLS_9) => any;
- };
- declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BadgeProps>, {
- badgeStyle: undefined;
- value: string;
- max: number;
- type: string;
- showZero: boolean;
- offset: () => number[];
- }>, {
- /** @description badge content */content: vue.ComputedRef<string>;
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BadgeProps>, {
- badgeStyle: undefined;
- value: string;
- max: number;
- type: string;
- showZero: boolean;
- offset: () => number[];
- }>>>, {
- offset: [number, number];
- type: "primary" | "success" | "warning" | "info" | "danger";
- value: string | number;
- max: number;
- showZero: boolean;
- badgeStyle: string | false | vue.CSSProperties | StyleValue[] | null;
- }, {}>;
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
- declare const _default: typeof __VLS_export;
- type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
- type: vue.PropType<Required<T>[K]>;
- } : {
- type: vue.PropType<T[K]>;
- required: true;
- } };
- type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
- default: D[K];
- }> : P[K] };
- type __VLS_WithSlots<T, S> = T & {
- new (): {
- $slots: S;
- };
- };
- type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
- //#endregion
- export { _default };
|