feat: 微客宝H5客户端 - 基础架构+核心页面

This commit is contained in:
li
2026-03-14 19:44:03 +08:00
parent 54d2f617bb
commit 0e974da09c
3738 changed files with 811180 additions and 21 deletions
+55
View File
@@ -0,0 +1,55 @@
import { type PropType, type InjectionKey, type ExtractPropTypes, type ComponentPublicInstance } from 'vue';
import { type Numeric } from '../utils';
export type CollapseProvide = {
toggle: (name: Numeric, expanded: boolean) => void;
isExpanded: (name: Numeric) => boolean;
};
export type CollapseToggleAllOptions = boolean | {
expanded?: boolean;
skipDisabled?: boolean;
};
export declare const COLLAPSE_KEY: InjectionKey<CollapseProvide>;
export declare const collapseProps: {
border: {
type: BooleanConstructor;
default: true;
};
accordion: BooleanConstructor;
modelValue: {
type: PropType<Numeric | Numeric[]>;
default: string;
};
};
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
export type CollapseInstance = ComponentPublicInstance<{
toggleAll: (options?: boolean | CollapseToggleAllOptions) => void;
}>;
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
border: {
type: BooleanConstructor;
default: true;
};
accordion: BooleanConstructor;
modelValue: {
type: PropType<Numeric | Numeric[]>;
default: string;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
border: {
type: BooleanConstructor;
default: true;
};
accordion: BooleanConstructor;
modelValue: {
type: PropType<Numeric | Numeric[]>;
default: string;
};
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
border: boolean;
modelValue: Numeric | Numeric[];
accordion: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;