first commit
This commit is contained in:
29
node_modules/vant/lib/empty/Empty.d.ts
generated
vendored
Normal file
29
node_modules/vant/lib/empty/Empty.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { type PropType, type ExtractPropTypes } from 'vue';
|
||||
import { Numeric } from '../utils';
|
||||
export declare const emptyProps: {
|
||||
image: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
||||
description: StringConstructor;
|
||||
};
|
||||
export type EmptyProps = ExtractPropTypes<typeof emptyProps>;
|
||||
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
||||
image: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
||||
description: StringConstructor;
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
||||
image: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
||||
description: StringConstructor;
|
||||
}>> & Readonly<{}>, {
|
||||
image: string;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
362
node_modules/vant/lib/empty/Empty.js
generated
vendored
Normal file
362
node_modules/vant/lib/empty/Empty.js
generated
vendored
Normal file
@@ -0,0 +1,362 @@
|
||||
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,
|
||||
emptyProps: () => emptyProps
|
||||
});
|
||||
module.exports = __toCommonJS(stdin_exports);
|
||||
var import_vue = require("vue");
|
||||
var import_use_id = require("../composables/use-id");
|
||||
var import_utils = require("../utils");
|
||||
const [name, bem] = (0, import_utils.createNamespace)("empty");
|
||||
const emptyProps = {
|
||||
image: (0, import_utils.makeStringProp)("default"),
|
||||
imageSize: [Number, String, Array],
|
||||
description: String
|
||||
};
|
||||
var stdin_default = (0, import_vue.defineComponent)({
|
||||
name,
|
||||
props: emptyProps,
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
const renderDescription = () => {
|
||||
const description = slots.description ? slots.description() : props.description;
|
||||
if (description) {
|
||||
return (0, import_vue.createVNode)("p", {
|
||||
"class": bem("description")
|
||||
}, [description]);
|
||||
}
|
||||
};
|
||||
const renderBottom = () => {
|
||||
if (slots.default) {
|
||||
return (0, import_vue.createVNode)("div", {
|
||||
"class": bem("bottom")
|
||||
}, [slots.default()]);
|
||||
}
|
||||
};
|
||||
const baseId = (0, import_use_id.useId)();
|
||||
const getId = (num) => `${baseId}-${num}`;
|
||||
const getUrlById = (num) => `url(#${getId(num)})`;
|
||||
const renderStop = (color, offset, opacity) => (0, import_vue.createVNode)("stop", {
|
||||
"stop-color": color,
|
||||
"offset": `${offset}%`,
|
||||
"stop-opacity": opacity
|
||||
}, null);
|
||||
const renderStops = (fromColor, toColor) => [renderStop(fromColor, 0), renderStop(toColor, 100)];
|
||||
const renderShadow = (id) => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("radialGradient", {
|
||||
"id": getId(id),
|
||||
"cx": "50%",
|
||||
"cy": "54%",
|
||||
"fx": "50%",
|
||||
"fy": "54%",
|
||||
"r": "297%",
|
||||
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), (0, import_vue.createVNode)("ellipse", {
|
||||
"fill": getUrlById(id),
|
||||
"opacity": ".8",
|
||||
"cx": "80",
|
||||
"cy": "140",
|
||||
"rx": "46",
|
||||
"ry": "8",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null)];
|
||||
const renderBuilding = () => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"id": getId("a"),
|
||||
"x1": "64%",
|
||||
"y1": "100%",
|
||||
"x2": "64%",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), (0, import_vue.createVNode)("g", {
|
||||
"opacity": ".8",
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("path", {
|
||||
"d": "M36 131V53H16v20H2v58h34z",
|
||||
"fill": getUrlById("a")
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M123 15h22v14h9v77h-31V15z",
|
||||
"fill": getUrlById("a")
|
||||
}, null)])];
|
||||
const renderCloud = () => [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"id": getId("b"),
|
||||
"x1": "64%",
|
||||
"y1": "97%",
|
||||
"x2": "64%",
|
||||
"y2": "0%",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), (0, import_vue.createVNode)("g", {
|
||||
"opacity": ".8",
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("path", {
|
||||
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
||||
"fill": getUrlById("b")
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",
|
||||
"fill": getUrlById("b")
|
||||
}, null)])];
|
||||
const renderNetwork = () => (0, import_vue.createVNode)("svg", {
|
||||
"viewBox": "0 0 160 160"
|
||||
}, [(0, import_vue.createVNode)("defs", {
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"id": getId(1),
|
||||
"x1": "64%",
|
||||
"y1": "100%",
|
||||
"x2": "64%"
|
||||
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"id": getId(2),
|
||||
"x1": "50%",
|
||||
"x2": "50%",
|
||||
"y2": "84%"
|
||||
}, [renderStop("#EBEDF0", 0), renderStop("#DCDEE0", 100, 0)]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"id": getId(3),
|
||||
"x1": "100%",
|
||||
"x2": "100%",
|
||||
"y2": "100%"
|
||||
}, [renderStops("#EAEDF0", "#DCDEE0")]), (0, import_vue.createVNode)("radialGradient", {
|
||||
"id": getId(4),
|
||||
"cx": "50%",
|
||||
"cy": "0%",
|
||||
"fx": "50%",
|
||||
"fy": "0%",
|
||||
"r": "100%",
|
||||
"gradientTransform": "matrix(0 1 -.54 0 .5 -.5)"
|
||||
}, [renderStop("#EBEDF0", 0), renderStop("#FFF", 100, 0)])]), (0, import_vue.createVNode)("g", {
|
||||
"fill": "none"
|
||||
}, [renderBuilding(), (0, import_vue.createVNode)("path", {
|
||||
"fill": getUrlById(4),
|
||||
"d": "M0 139h160v21H0z",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
||||
"fill": getUrlById(2),
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null), (0, import_vue.createVNode)("g", {
|
||||
"opacity": ".6",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-width": "7",
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("path", {
|
||||
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
||||
"stroke": getUrlById(3)
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M53 36a34 34 0 0 0 0 48",
|
||||
"stroke": getUrlById(3)
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",
|
||||
"stroke": getUrlById(3)
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M106 84a34 34 0 0 0 0-48",
|
||||
"stroke": getUrlById(3)
|
||||
}, null)]), (0, import_vue.createVNode)("g", {
|
||||
"transform": "translate(31 105)"
|
||||
}, [(0, import_vue.createVNode)("rect", {
|
||||
"fill": "#EBEDF0",
|
||||
"width": "98",
|
||||
"height": "34",
|
||||
"rx": "2"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": "#FFF",
|
||||
"x": "9",
|
||||
"y": "8",
|
||||
"width": "80",
|
||||
"height": "18",
|
||||
"rx": "1.1"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": "#EBEDF0",
|
||||
"x": "15",
|
||||
"y": "12",
|
||||
"width": "18",
|
||||
"height": "6",
|
||||
"rx": "1.1"
|
||||
}, null)])])]);
|
||||
const renderMaterial = () => (0, import_vue.createVNode)("svg", {
|
||||
"viewBox": "0 0 160 160"
|
||||
}, [(0, import_vue.createVNode)("defs", {
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "50%",
|
||||
"x2": "50%",
|
||||
"y2": "100%",
|
||||
"id": getId(5)
|
||||
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "95%",
|
||||
"y1": "48%",
|
||||
"x2": "5.5%",
|
||||
"y2": "51%",
|
||||
"id": getId(6)
|
||||
}, [renderStops("#EAEDF1", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"y1": "45%",
|
||||
"x2": "100%",
|
||||
"y2": "54%",
|
||||
"id": getId(7)
|
||||
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), (0, import_vue.createVNode)("g", {
|
||||
"transform": "translate(36 50)",
|
||||
"fill": "none"
|
||||
}, [(0, import_vue.createVNode)("g", {
|
||||
"transform": "translate(8)"
|
||||
}, [(0, import_vue.createVNode)("rect", {
|
||||
"fill": "#EBEDF0",
|
||||
"opacity": ".6",
|
||||
"x": "38",
|
||||
"y": "13",
|
||||
"width": "36",
|
||||
"height": "53",
|
||||
"rx": "2"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": getUrlById(5),
|
||||
"width": "64",
|
||||
"height": "66",
|
||||
"rx": "2",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": "#FFF",
|
||||
"x": "6",
|
||||
"y": "6",
|
||||
"width": "52",
|
||||
"height": "55",
|
||||
"rx": "1"
|
||||
}, null), (0, import_vue.createVNode)("g", {
|
||||
"transform": "translate(15 17)",
|
||||
"fill": getUrlById(6),
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, [(0, import_vue.createVNode)("rect", {
|
||||
"width": "34",
|
||||
"height": "6",
|
||||
"rx": "1"
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M0 14h34v6H0z"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"y": "28",
|
||||
"width": "34",
|
||||
"height": "6",
|
||||
"rx": "1"
|
||||
}, null)])]), (0, import_vue.createVNode)("rect", {
|
||||
"fill": getUrlById(7),
|
||||
"y": "61",
|
||||
"width": "88",
|
||||
"height": "28",
|
||||
"rx": "1",
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": "#F7F8FA",
|
||||
"x": "29",
|
||||
"y": "72",
|
||||
"width": "30",
|
||||
"height": "6",
|
||||
"rx": "1"
|
||||
}, null)])]);
|
||||
const renderError = () => (0, import_vue.createVNode)("svg", {
|
||||
"viewBox": "0 0 160 160"
|
||||
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "50%",
|
||||
"x2": "50%",
|
||||
"y2": "100%",
|
||||
"id": getId(8),
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), (0, import_vue.createVNode)("path", {
|
||||
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
||||
"fill": getUrlById(8),
|
||||
"data-allow-mismatch": "attribute"
|
||||
}, null)]);
|
||||
const renderSearch = () => (0, import_vue.createVNode)("svg", {
|
||||
"viewBox": "0 0 160 160"
|
||||
}, [(0, import_vue.createVNode)("defs", {
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "50%",
|
||||
"y1": "100%",
|
||||
"x2": "50%",
|
||||
"id": getId(9)
|
||||
}, [renderStops("#EEE", "#D8D8D8")]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "100%",
|
||||
"y1": "50%",
|
||||
"y2": "50%",
|
||||
"id": getId(10)
|
||||
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "50%",
|
||||
"x2": "50%",
|
||||
"y2": "100%",
|
||||
"id": getId(11)
|
||||
}, [renderStops("#F2F3F5", "#DCDEE0")]), (0, import_vue.createVNode)("linearGradient", {
|
||||
"x1": "50%",
|
||||
"x2": "50%",
|
||||
"y2": "100%",
|
||||
"id": getId(12)
|
||||
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), (0, import_vue.createVNode)("g", {
|
||||
"transform": "rotate(-45 113 -4)",
|
||||
"fill": "none",
|
||||
"data-allow-mismatch": "children"
|
||||
}, [(0, import_vue.createVNode)("rect", {
|
||||
"fill": getUrlById(9),
|
||||
"x": "24",
|
||||
"y": "52.8",
|
||||
"width": "5.8",
|
||||
"height": "19",
|
||||
"rx": "1"
|
||||
}, null), (0, import_vue.createVNode)("rect", {
|
||||
"fill": getUrlById(10),
|
||||
"x": "22.1",
|
||||
"y": "67.3",
|
||||
"width": "9.9",
|
||||
"height": "28",
|
||||
"rx": "1"
|
||||
}, null), (0, import_vue.createVNode)("circle", {
|
||||
"stroke": getUrlById(11),
|
||||
"stroke-width": "8",
|
||||
"cx": "27",
|
||||
"cy": "27",
|
||||
"r": "27"
|
||||
}, null), (0, import_vue.createVNode)("circle", {
|
||||
"fill": getUrlById(12),
|
||||
"cx": "27",
|
||||
"cy": "27",
|
||||
"r": "16"
|
||||
}, null), (0, import_vue.createVNode)("path", {
|
||||
"d": "M37 7c-8 0-15 5-16 12",
|
||||
"stroke": getUrlById(11),
|
||||
"stroke-width": "3",
|
||||
"opacity": ".5",
|
||||
"stroke-linecap": "round",
|
||||
"transform": "rotate(45 29 13)"
|
||||
}, null)])]);
|
||||
const renderImage = () => {
|
||||
var _a;
|
||||
if (slots.image) {
|
||||
return slots.image();
|
||||
}
|
||||
const PRESET_IMAGES = {
|
||||
error: renderError,
|
||||
search: renderSearch,
|
||||
network: renderNetwork,
|
||||
default: renderMaterial
|
||||
};
|
||||
return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES)) || (0, import_vue.createVNode)("img", {
|
||||
"src": props.image
|
||||
}, null);
|
||||
};
|
||||
return () => (0, import_vue.createVNode)("div", {
|
||||
"class": bem()
|
||||
}, [(0, import_vue.createVNode)("div", {
|
||||
"class": bem("image"),
|
||||
"style": (0, import_utils.getSizeStyle)(props.imageSize)
|
||||
}, [renderImage()]), renderDescription(), renderBottom()]);
|
||||
}
|
||||
});
|
||||
1
node_modules/vant/lib/empty/index.css
generated
vendored
Normal file
1
node_modules/vant/lib/empty/index.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
:root,:host{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}
|
||||
26
node_modules/vant/lib/empty/index.d.ts
generated
vendored
Normal file
26
node_modules/vant/lib/empty/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
export declare const Empty: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
image: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
||||
description: StringConstructor;
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
image: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
||||
description: StringConstructor;
|
||||
}>> & Readonly<{}>, {
|
||||
image: string;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
||||
export default Empty;
|
||||
export { emptyProps } from './Empty';
|
||||
export type { EmptyProps } from './Empty';
|
||||
export type { EmptyThemeVars } from './types';
|
||||
declare module 'vue' {
|
||||
interface GlobalComponents {
|
||||
VanEmpty: typeof Empty;
|
||||
}
|
||||
}
|
||||
39
node_modules/vant/lib/empty/index.js
generated
vendored
Normal file
39
node_modules/vant/lib/empty/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, {
|
||||
Empty: () => Empty,
|
||||
default: () => stdin_default,
|
||||
emptyProps: () => import_Empty2.emptyProps
|
||||
});
|
||||
module.exports = __toCommonJS(stdin_exports);
|
||||
var import_utils = require("../utils");
|
||||
var import_Empty = __toESM(require("./Empty"));
|
||||
var import_Empty2 = require("./Empty");
|
||||
const Empty = (0, import_utils.withInstall)(import_Empty.default);
|
||||
var stdin_default = Empty;
|
||||
1
node_modules/vant/lib/empty/style/index.d.ts
generated
vendored
Normal file
1
node_modules/vant/lib/empty/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
2
node_modules/vant/lib/empty/style/index.js
generated
vendored
Normal file
2
node_modules/vant/lib/empty/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
require("../../style/base.css");
|
||||
require("../index.css");
|
||||
10
node_modules/vant/lib/empty/types.d.ts
generated
vendored
Normal file
10
node_modules/vant/lib/empty/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export type EmptyThemeVars = {
|
||||
emptyPadding?: string;
|
||||
emptyImageSize?: string;
|
||||
emptyDescriptionMarginTop?: string;
|
||||
emptyDescriptionPadding?: string;
|
||||
emptyDescriptionColor?: string;
|
||||
emptyDescriptionFontSize?: string;
|
||||
emptyDescriptionLineHeight?: number | string;
|
||||
emptyBottomMarginTop?: string;
|
||||
};
|
||||
15
node_modules/vant/lib/empty/types.js
generated
vendored
Normal file
15
node_modules/vant/lib/empty/types.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
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 = {};
|
||||
module.exports = __toCommonJS(stdin_exports);
|
||||
Reference in New Issue
Block a user