first commit
This commit is contained in:
26
node_modules/vant/lib/skeleton-avatar/SkeletonAvatar.d.ts
generated
vendored
Normal file
26
node_modules/vant/lib/skeleton-avatar/SkeletonAvatar.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { ExtractPropTypes } from 'vue';
|
||||
export type SkeletonAvatarShape = 'square' | 'round';
|
||||
export declare const skeletonAvatarProps: {
|
||||
avatarSize: (NumberConstructor | StringConstructor)[];
|
||||
avatarShape: {
|
||||
type: import("vue").PropType<SkeletonAvatarShape>;
|
||||
default: SkeletonAvatarShape;
|
||||
};
|
||||
};
|
||||
export type SkeletonAvatarProps = ExtractPropTypes<typeof skeletonAvatarProps>;
|
||||
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
||||
avatarSize: (NumberConstructor | StringConstructor)[];
|
||||
avatarShape: {
|
||||
type: import("vue").PropType<SkeletonAvatarShape>;
|
||||
default: SkeletonAvatarShape;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
||||
avatarSize: (NumberConstructor | StringConstructor)[];
|
||||
avatarShape: {
|
||||
type: import("vue").PropType<SkeletonAvatarShape>;
|
||||
default: SkeletonAvatarShape;
|
||||
};
|
||||
}>> & Readonly<{}>, {
|
||||
avatarShape: SkeletonAvatarShape;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
40
node_modules/vant/lib/skeleton-avatar/SkeletonAvatar.js
generated
vendored
Normal file
40
node_modules/vant/lib/skeleton-avatar/SkeletonAvatar.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
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: () => stdin_default,
|
||||
skeletonAvatarProps: () => skeletonAvatarProps
|
||||
});
|
||||
module.exports = __toCommonJS(stdin_exports);
|
||||
var import_vue = require("vue");
|
||||
var import_utils = require("../utils");
|
||||
const [name, bem] = (0, import_utils.createNamespace)("skeleton-avatar");
|
||||
const skeletonAvatarProps = {
|
||||
avatarSize: import_utils.numericProp,
|
||||
avatarShape: (0, import_utils.makeStringProp)("round")
|
||||
};
|
||||
var stdin_default = (0, import_vue.defineComponent)({
|
||||
name,
|
||||
props: skeletonAvatarProps,
|
||||
setup(props) {
|
||||
return () => (0, import_vue.createVNode)("div", {
|
||||
"class": bem([props.avatarShape]),
|
||||
"style": (0, import_utils.getSizeStyle)(props.avatarSize)
|
||||
}, null);
|
||||
}
|
||||
});
|
||||
1
node_modules/vant/lib/skeleton-avatar/index.css
generated
vendored
Normal file
1
node_modules/vant/lib/skeleton-avatar/index.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
:root,:host{--van-skeleton-avatar-size: 32px;--van-skeleton-avatar-background: var(--van-active-color)}.van-skeleton-avatar{flex-shrink:0;width:var(--van-skeleton-avatar-size);height:var(--van-skeleton-avatar-size);margin-right:var(--van-padding-md);background:var(--van-skeleton-avatar-background)}.van-skeleton-avatar--round{border-radius:var(--van-radius-max)}.van-skeleton-avatar+.van-skeleton__content{padding-top:var(--van-padding-xs)}
|
||||
23
node_modules/vant/lib/skeleton-avatar/index.d.ts
generated
vendored
Normal file
23
node_modules/vant/lib/skeleton-avatar/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
export declare const SkeletonAvatar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
avatarSize: (NumberConstructor | StringConstructor)[];
|
||||
avatarShape: {
|
||||
type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
|
||||
default: import("./SkeletonAvatar").SkeletonAvatarShape;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
avatarSize: (NumberConstructor | StringConstructor)[];
|
||||
avatarShape: {
|
||||
type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
|
||||
default: import("./SkeletonAvatar").SkeletonAvatarShape;
|
||||
};
|
||||
}>> & Readonly<{}>, {
|
||||
avatarShape: import("./SkeletonAvatar").SkeletonAvatarShape;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
||||
export default SkeletonAvatar;
|
||||
export { skeletonAvatarProps } from './SkeletonAvatar';
|
||||
export type { SkeletonAvatarProps, SkeletonAvatarShape, } from './SkeletonAvatar';
|
||||
declare module 'vue' {
|
||||
interface GlobalComponents {
|
||||
VanSkeletonAvatar: typeof SkeletonAvatar;
|
||||
}
|
||||
}
|
||||
39
node_modules/vant/lib/skeleton-avatar/index.js
generated
vendored
Normal file
39
node_modules/vant/lib/skeleton-avatar/index.js
generated
vendored
Normal 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, {
|
||||
SkeletonAvatar: () => SkeletonAvatar,
|
||||
default: () => stdin_default,
|
||||
skeletonAvatarProps: () => import_SkeletonAvatar2.skeletonAvatarProps
|
||||
});
|
||||
module.exports = __toCommonJS(stdin_exports);
|
||||
var import_utils = require("../utils");
|
||||
var import_SkeletonAvatar = __toESM(require("./SkeletonAvatar"));
|
||||
var import_SkeletonAvatar2 = require("./SkeletonAvatar");
|
||||
const SkeletonAvatar = (0, import_utils.withInstall)(import_SkeletonAvatar.default);
|
||||
var stdin_default = SkeletonAvatar;
|
||||
1
node_modules/vant/lib/skeleton-avatar/style/index.d.ts
generated
vendored
Normal file
1
node_modules/vant/lib/skeleton-avatar/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
2
node_modules/vant/lib/skeleton-avatar/style/index.js
generated
vendored
Normal file
2
node_modules/vant/lib/skeleton-avatar/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
require("../../style/base.css");
|
||||
require("../index.css");
|
||||
Reference in New Issue
Block a user