first commit

This commit is contained in:
2025-12-29 14:59:44 +08:00
commit 10c3fbb0d7
5315 changed files with 795443 additions and 0 deletions

47
node_modules/vant/es/contact-card/ContactCard.d.ts generated vendored Normal file
View File

@@ -0,0 +1,47 @@
import { type ExtractPropTypes } from 'vue';
export type ContactCardType = 'add' | 'edit';
export declare const contactCardProps: {
tel: StringConstructor;
name: StringConstructor;
type: {
type: import("vue").PropType<ContactCardType>;
default: ContactCardType;
};
addText: StringConstructor;
editable: {
type: BooleanConstructor;
default: true;
};
};
export type ContactCardProps = ExtractPropTypes<typeof contactCardProps>;
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
tel: StringConstructor;
name: StringConstructor;
type: {
type: import("vue").PropType<ContactCardType>;
default: ContactCardType;
};
addText: StringConstructor;
editable: {
type: BooleanConstructor;
default: true;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
tel: StringConstructor;
name: StringConstructor;
type: {
type: import("vue").PropType<ContactCardType>;
default: ContactCardType;
};
addText: StringConstructor;
editable: {
type: BooleanConstructor;
default: true;
};
}>> & Readonly<{
onClick?: ((...args: any[]) => any) | undefined;
}>, {
type: ContactCardType;
editable: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;

46
node_modules/vant/es/contact-card/ContactCard.mjs generated vendored Normal file
View File

@@ -0,0 +1,46 @@
import { defineComponent, createVNode as _createVNode } from "vue";
import { truthProp, makeStringProp, createNamespace } from "../utils/index.mjs";
import { Cell } from "../cell/index.mjs";
const [name, bem, t] = createNamespace("contact-card");
const contactCardProps = {
tel: String,
name: String,
type: makeStringProp("add"),
addText: String,
editable: truthProp
};
var stdin_default = defineComponent({
name,
props: contactCardProps,
emits: ["click"],
setup(props, {
emit
}) {
const onClick = (event) => {
if (props.editable) {
emit("click", event);
}
};
const renderContent = () => {
if (props.type === "add") {
return props.addText || t("addContact");
}
return [_createVNode("div", null, [`${t("name")}\uFF1A${props.name}`]), _createVNode("div", null, [`${t("tel")}\uFF1A${props.tel}`])];
};
return () => _createVNode(Cell, {
"center": true,
"icon": props.type === "edit" ? "contact" : "add-square",
"class": bem([props.type]),
"border": false,
"isLink": props.editable,
"titleClass": bem("title"),
"onClick": onClick
}, {
title: renderContent
});
}
});
export {
contactCardProps,
stdin_default as default
};

1
node_modules/vant/es/contact-card/index.css generated vendored Normal file
View File

@@ -0,0 +1 @@
:root,:host{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 40px;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:5px;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:2px;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:80px;content:""}

39
node_modules/vant/es/contact-card/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,39 @@
export declare const ContactCard: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
tel: StringConstructor;
name: StringConstructor;
type: {
type: import("vue").PropType<import("./ContactCard").ContactCardType>;
default: import("./ContactCard").ContactCardType;
};
addText: StringConstructor;
editable: {
type: BooleanConstructor;
default: true;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
tel: StringConstructor;
name: StringConstructor;
type: {
type: import("vue").PropType<import("./ContactCard").ContactCardType>;
default: import("./ContactCard").ContactCardType;
};
addText: StringConstructor;
editable: {
type: BooleanConstructor;
default: true;
};
}>> & Readonly<{
onClick?: ((...args: any[]) => any) | undefined;
}>, {
type: import("./ContactCard").ContactCardType;
editable: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default ContactCard;
export { contactCardProps } from './ContactCard';
export type { ContactCardType, ContactCardProps } from './ContactCard';
export type { ContactCardThemeVars } from './types';
declare module 'vue' {
interface GlobalComponents {
VanContactCard: typeof ContactCard;
}
}

10
node_modules/vant/es/contact-card/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { withInstall } from "../utils/index.mjs";
import _ContactCard from "./ContactCard.mjs";
const ContactCard = withInstall(_ContactCard);
var stdin_default = ContactCard;
import { contactCardProps } from "./ContactCard.mjs";
export {
ContactCard,
contactCardProps,
stdin_default as default
};

1
node_modules/vant/es/contact-card/style/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export {};

5
node_modules/vant/es/contact-card/style/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import "../../style/base.css";
import "../../badge/index.css";
import "../../icon/index.css";
import "../../cell/index.css";
import "../index.css";

6
node_modules/vant/es/contact-card/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
export type ContactCardThemeVars = {
contactCardPadding?: string;
contactCardAddIconSize?: string;
contactCardAddIconColor?: string;
contactCardTitleLineHeight?: number | string;
};

0
node_modules/vant/es/contact-card/types.mjs generated vendored Normal file
View File