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

View File

@@ -0,0 +1,27 @@
import { ExtractPropTypes } from 'vue';
export declare const DEFAULT_ROW_WIDTH = "100%";
export declare const skeletonParagraphProps: {
round: BooleanConstructor;
rowWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
};
export type SkeletonParagraphProps = ExtractPropTypes<typeof skeletonParagraphProps>;
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
round: BooleanConstructor;
rowWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
round: BooleanConstructor;
rowWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
}>> & Readonly<{}>, {
round: boolean;
rowWidth: string | number;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;

View File

@@ -0,0 +1,49 @@
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, {
DEFAULT_ROW_WIDTH: () => DEFAULT_ROW_WIDTH,
default: () => stdin_default,
skeletonParagraphProps: () => skeletonParagraphProps
});
module.exports = __toCommonJS(stdin_exports);
var import_vue = require("vue");
var import_utils = require("../utils");
const DEFAULT_ROW_WIDTH = "100%";
const skeletonParagraphProps = {
round: Boolean,
rowWidth: {
type: import_utils.numericProp,
default: DEFAULT_ROW_WIDTH
}
};
const [name, bem] = (0, import_utils.createNamespace)("skeleton-paragraph");
var stdin_default = (0, import_vue.defineComponent)({
name,
props: skeletonParagraphProps,
setup(props) {
return () => (0, import_vue.createVNode)("div", {
"class": bem([{
round: props.round
}]),
"style": {
width: props.rowWidth
}
}, null);
}
});

1
node_modules/vant/lib/skeleton-paragraph/index.css generated vendored Normal file
View File

@@ -0,0 +1 @@
:root,:host{--van-skeleton-paragraph-height: 16px;--van-skeleton-paragraph-background: var(--van-active-color);--van-skeleton-paragraph-margin-top: var(--van-padding-sm)}.van-skeleton-paragraph{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-paragraph--round{border-radius:var(--van-radius-max)}.van-skeleton-paragraph:not(:first-child){margin-top:var(--van-skeleton-paragraph-margin-top)}

24
node_modules/vant/lib/skeleton-paragraph/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,24 @@
export declare const SkeletonParagraph: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
round: BooleanConstructor;
rowWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
round: BooleanConstructor;
rowWidth: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
}>> & Readonly<{}>, {
round: boolean;
rowWidth: string | number;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default SkeletonParagraph;
export { skeletonParagraphProps, DEFAULT_ROW_WIDTH } from './SkeletonParagraph';
export type { SkeletonParagraphProps } from './SkeletonParagraph';
declare module 'vue' {
interface GlobalComponents {
VanSkeletonParagraph: typeof SkeletonParagraph;
}
}

40
node_modules/vant/lib/skeleton-paragraph/index.js generated vendored Normal file
View File

@@ -0,0 +1,40 @@
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, {
DEFAULT_ROW_WIDTH: () => import_SkeletonParagraph2.DEFAULT_ROW_WIDTH,
SkeletonParagraph: () => SkeletonParagraph,
default: () => stdin_default,
skeletonParagraphProps: () => import_SkeletonParagraph2.skeletonParagraphProps
});
module.exports = __toCommonJS(stdin_exports);
var import_SkeletonParagraph = __toESM(require("./SkeletonParagraph"));
var import_utils = require("../utils");
var import_SkeletonParagraph2 = require("./SkeletonParagraph");
const SkeletonParagraph = (0, import_utils.withInstall)(import_SkeletonParagraph.default);
var stdin_default = SkeletonParagraph;

View File

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

View File

@@ -0,0 +1,2 @@
require("../../style/base.css");
require("../index.css");