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

39
node_modules/vant/es/radio-group/RadioGroup.d.ts generated vendored Normal file
View File

@@ -0,0 +1,39 @@
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
import type { RadioShape } from '../radio';
import type { CheckerDirection } from '../checkbox/Checker';
export type RadioGroupDirection = CheckerDirection;
export declare const radioGroupProps: {
shape: PropType<RadioShape>;
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<RadioGroupDirection>;
modelValue: PropType<unknown>;
checkedColor: StringConstructor;
};
export type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
export type RadioGroupProvide = {
props: RadioGroupProps;
updateValue: (value: unknown) => void;
};
export declare const RADIO_KEY: InjectionKey<RadioGroupProvide>;
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
shape: PropType<RadioShape>;
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<RadioGroupDirection>;
modelValue: PropType<unknown>;
checkedColor: StringConstructor;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
shape: PropType<RadioShape>;
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<RadioGroupDirection>;
modelValue: PropType<unknown>;
checkedColor: StringConstructor;
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
disabled: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;

45
node_modules/vant/es/radio-group/RadioGroup.mjs generated vendored Normal file
View File

@@ -0,0 +1,45 @@
import { watch, defineComponent, createVNode as _createVNode } from "vue";
import { unknownProp, numericProp, createNamespace } from "../utils/index.mjs";
import { useChildren, useCustomFieldValue } from "@vant/use";
const [name, bem] = createNamespace("radio-group");
const radioGroupProps = {
shape: String,
disabled: Boolean,
iconSize: numericProp,
direction: String,
modelValue: unknownProp,
checkedColor: String
};
const RADIO_KEY = Symbol(name);
var stdin_default = defineComponent({
name,
props: radioGroupProps,
emits: ["change", "update:modelValue"],
setup(props, {
emit,
slots
}) {
const {
linkChildren
} = useChildren(RADIO_KEY);
const updateValue = (value) => emit("update:modelValue", value);
watch(() => props.modelValue, (value) => emit("change", value));
linkChildren({
props,
updateValue
});
useCustomFieldValue(() => props.modelValue);
return () => {
var _a;
return _createVNode("div", {
"class": bem([props.direction]),
"role": "radiogroup"
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
};
}
});
export {
RADIO_KEY,
stdin_default as default,
radioGroupProps
};

1
node_modules/vant/es/radio-group/index.css generated vendored Normal file
View File

@@ -0,0 +1 @@
.van-radio-group--horizontal{display:flex;flex-wrap:wrap}

28
node_modules/vant/es/radio-group/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,28 @@
export declare const RadioGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
shape: import("vue").PropType<import("..").RadioShape>;
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: import("vue").PropType<import("./RadioGroup").RadioGroupDirection>;
modelValue: import("vue").PropType<unknown>;
checkedColor: StringConstructor;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
shape: import("vue").PropType<import("..").RadioShape>;
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: import("vue").PropType<import("./RadioGroup").RadioGroupDirection>;
modelValue: import("vue").PropType<unknown>;
checkedColor: StringConstructor;
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
disabled: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default RadioGroup;
export { radioGroupProps } from './RadioGroup';
export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
declare module 'vue' {
interface GlobalComponents {
VanRadioGroup: typeof RadioGroup;
}
}

10
node_modules/vant/es/radio-group/index.mjs generated vendored Normal file
View File

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

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

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

2
node_modules/vant/es/radio-group/style/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import "../../style/base.css";
import "../index.css";