Initial commit: GamePortrait 竖屏版 - 深色豪华主题

This commit is contained in:
li
2026-01-16 17:47:53 +08:00
commit 40976e4b45
26611 changed files with 2843638 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
import type { CheckerDirection } from '../checkbox/Checker';
export type RadioGroupDirection = CheckerDirection;
export declare const radioGroupProps: {
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<CheckerDirection>;
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<{
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<CheckerDirection>;
modelValue: PropType<unknown>;
checkedColor: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: PropType<CheckerDirection>;
modelValue: PropType<unknown>;
checkedColor: StringConstructor;
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
}>;
export default _default;
+64
View File
@@ -0,0 +1,64 @@
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name2 in all)
__defProp(target, name2, { get: all[name2], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var stdin_exports = {};
__export(stdin_exports, {
RADIO_KEY: () => RADIO_KEY,
default: () => stdin_default,
radioGroupProps: () => radioGroupProps
});
module.exports = __toCommonJS(stdin_exports);
var import_vue = require("vue");
var import_vue2 = require("vue");
var import_utils = require("../utils");
var import_use = require("@vant/use");
const [name, bem] = (0, import_utils.createNamespace)("radio-group");
const radioGroupProps = {
disabled: Boolean,
iconSize: import_utils.numericProp,
direction: String,
modelValue: import_utils.unknownProp,
checkedColor: String
};
const RADIO_KEY = Symbol(name);
var stdin_default = (0, import_vue2.defineComponent)({
name,
props: radioGroupProps,
emits: ["change", "update:modelValue"],
setup(props, {
emit,
slots
}) {
const {
linkChildren
} = (0, import_use.useChildren)(RADIO_KEY);
const updateValue = (value) => emit("update:modelValue", value);
(0, import_vue2.watch)(() => props.modelValue, (value) => emit("change", value));
linkChildren({
props,
updateValue
});
(0, import_use.useCustomFieldValue)(() => props.modelValue);
return () => {
var _a;
return (0, import_vue.createVNode)("div", {
"class": bem([props.direction]),
"role": "radiogroup"
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
};
}
});
+1
View File
@@ -0,0 +1 @@
.van-radio-group--horizontal{display:flex;flex-wrap:wrap}
+26
View File
@@ -0,0 +1,26 @@
export declare const RadioGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
modelValue: import("vue").PropType<unknown>;
checkedColor: StringConstructor;
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
disabled: BooleanConstructor;
iconSize: (NumberConstructor | StringConstructor)[];
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
modelValue: import("vue").PropType<unknown>;
checkedColor: StringConstructor;
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
}>>;
export default RadioGroup;
export { radioGroupProps } from './RadioGroup';
export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
declare module 'vue' {
interface GlobalComponents {
VanRadioGroup: typeof RadioGroup;
}
}
+39
View File
@@ -0,0 +1,39 @@
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var stdin_exports = {};
__export(stdin_exports, {
RadioGroup: () => RadioGroup,
default: () => stdin_default,
radioGroupProps: () => import_RadioGroup2.radioGroupProps
});
module.exports = __toCommonJS(stdin_exports);
var import_utils = require("../utils");
var import_RadioGroup = __toESM(require("./RadioGroup"));
var import_RadioGroup2 = require("./RadioGroup");
const RadioGroup = (0, import_utils.withInstall)(import_RadioGroup.default);
var stdin_default = RadioGroup;
+1
View File
@@ -0,0 +1 @@
export {};
+2
View File
@@ -0,0 +1,2 @@
require("../../style/base.css");
require("../index.css");