eslink-ui-plus
Version:
vue3 component library, css framework
56 lines (55 loc) • 1.65 kB
TypeScript
import { PropType } from "vue";
interface infoItem {
label: string;
key: string | number;
labelDisplay?: (item: infoItem, source: Record<string, unknown>) => string;
valueDisplay?: (item: infoItem, source: Record<string, unknown>) => string;
}
declare const _default: import("vue").DefineComponent<{
styles: {
type: ObjectConstructor;
default: () => {};
};
labelWidth: {
type: NumberConstructor;
default: number;
};
config: {
type: PropType<infoItem[]>;
default: () => never[];
};
source: {
type: ObjectConstructor;
default: () => {};
};
align: {
type: StringConstructor;
default: string;
};
}, {
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
hasSlot: (type: "label" | "value", item: infoItem) => boolean;
slotName: (type: "label" | "value", item: infoItem) => string;
copyValue: (value: string) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
styles?: unknown;
labelWidth?: unknown;
config?: unknown;
source?: unknown;
align?: unknown;
} & {
styles: Record<string, any>;
source: Record<string, any>;
align: string;
labelWidth: number;
config: infoItem[];
} & {}>, {
styles: Record<string, any>;
source: Record<string, any>;
align: string;
labelWidth: number;
config: infoItem[];
}>;
export default _default;