first commit
This commit is contained in:
170
node_modules/vant/es/coupon-list/CouponList.d.ts
generated
vendored
Normal file
170
node_modules/vant/es/coupon-list/CouponList.d.ts
generated
vendored
Normal file
@@ -0,0 +1,170 @@
|
||||
import { type PropType, type ExtractPropTypes } from 'vue';
|
||||
import { CouponInfo } from '../coupon';
|
||||
export declare const couponListProps: {
|
||||
code: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
coupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
currency: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
showCount: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
emptyImage: StringConstructor;
|
||||
enabledTitle: StringConstructor;
|
||||
disabledTitle: StringConstructor;
|
||||
disabledCoupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
showExchangeBar: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
showCloseButton: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
closeButtonText: StringConstructor;
|
||||
inputPlaceholder: StringConstructor;
|
||||
exchangeMinLength: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonText: StringConstructor;
|
||||
displayedCouponIndex: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonLoading: BooleanConstructor;
|
||||
exchangeButtonDisabled: BooleanConstructor;
|
||||
chosenCoupon: {
|
||||
type: PropType<number | number[]>;
|
||||
default: number;
|
||||
};
|
||||
};
|
||||
export type CouponListProps = ExtractPropTypes<typeof couponListProps>;
|
||||
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
||||
code: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
coupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
currency: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
showCount: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
emptyImage: StringConstructor;
|
||||
enabledTitle: StringConstructor;
|
||||
disabledTitle: StringConstructor;
|
||||
disabledCoupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
showExchangeBar: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
showCloseButton: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
closeButtonText: StringConstructor;
|
||||
inputPlaceholder: StringConstructor;
|
||||
exchangeMinLength: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonText: StringConstructor;
|
||||
displayedCouponIndex: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonLoading: BooleanConstructor;
|
||||
exchangeButtonDisabled: BooleanConstructor;
|
||||
chosenCoupon: {
|
||||
type: PropType<number | number[]>;
|
||||
default: number;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
||||
code: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
coupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
currency: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
showCount: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
emptyImage: StringConstructor;
|
||||
enabledTitle: StringConstructor;
|
||||
disabledTitle: StringConstructor;
|
||||
disabledCoupons: {
|
||||
type: PropType<CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
showExchangeBar: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
showCloseButton: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
closeButtonText: StringConstructor;
|
||||
inputPlaceholder: StringConstructor;
|
||||
exchangeMinLength: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonText: StringConstructor;
|
||||
displayedCouponIndex: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonLoading: BooleanConstructor;
|
||||
exchangeButtonDisabled: BooleanConstructor;
|
||||
chosenCoupon: {
|
||||
type: PropType<number | number[]>;
|
||||
default: number;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
onChange?: ((...args: any[]) => any) | undefined;
|
||||
onExchange?: ((...args: any[]) => any) | undefined;
|
||||
"onUpdate:code"?: ((...args: any[]) => any) | undefined;
|
||||
}>, {
|
||||
code: string;
|
||||
currency: string;
|
||||
coupons: CouponInfo[];
|
||||
chosenCoupon: number | number[];
|
||||
showCount: boolean;
|
||||
disabledCoupons: CouponInfo[];
|
||||
showExchangeBar: boolean;
|
||||
showCloseButton: boolean;
|
||||
exchangeMinLength: number;
|
||||
displayedCouponIndex: number;
|
||||
exchangeButtonLoading: boolean;
|
||||
exchangeButtonDisabled: boolean;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
196
node_modules/vant/es/coupon-list/CouponList.mjs
generated
vendored
Normal file
196
node_modules/vant/es/coupon-list/CouponList.mjs
generated
vendored
Normal file
@@ -0,0 +1,196 @@
|
||||
import { ref, watch, computed, nextTick, onMounted, defineComponent, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives } from "vue";
|
||||
import { truthProp, windowHeight, makeArrayProp, makeStringProp, makeNumberProp, createNamespace } from "../utils/index.mjs";
|
||||
import { useRefs } from "../composables/use-refs.mjs";
|
||||
import { Tab } from "../tab/index.mjs";
|
||||
import { Tabs } from "../tabs/index.mjs";
|
||||
import { Empty } from "../empty/index.mjs";
|
||||
import { Field } from "../field/index.mjs";
|
||||
import { Button } from "../button/index.mjs";
|
||||
import { Coupon } from "../coupon/index.mjs";
|
||||
import { useRect } from "@vant/use";
|
||||
const [name, bem, t] = createNamespace("coupon-list");
|
||||
const couponListProps = {
|
||||
code: makeStringProp(""),
|
||||
coupons: makeArrayProp(),
|
||||
currency: makeStringProp("\xA5"),
|
||||
showCount: truthProp,
|
||||
emptyImage: String,
|
||||
enabledTitle: String,
|
||||
disabledTitle: String,
|
||||
disabledCoupons: makeArrayProp(),
|
||||
showExchangeBar: truthProp,
|
||||
showCloseButton: truthProp,
|
||||
closeButtonText: String,
|
||||
inputPlaceholder: String,
|
||||
exchangeMinLength: makeNumberProp(1),
|
||||
exchangeButtonText: String,
|
||||
displayedCouponIndex: makeNumberProp(-1),
|
||||
exchangeButtonLoading: Boolean,
|
||||
exchangeButtonDisabled: Boolean,
|
||||
chosenCoupon: {
|
||||
type: [Number, Array],
|
||||
default: -1
|
||||
}
|
||||
};
|
||||
var stdin_default = defineComponent({
|
||||
name,
|
||||
props: couponListProps,
|
||||
emits: ["change", "exchange", "update:code"],
|
||||
setup(props, {
|
||||
emit,
|
||||
slots
|
||||
}) {
|
||||
const [couponRefs, setCouponRefs] = useRefs();
|
||||
const root = ref();
|
||||
const barRef = ref();
|
||||
const activeTab = ref(0);
|
||||
const listHeight = ref(0);
|
||||
const currentCode = ref(props.code);
|
||||
const buttonDisabled = computed(() => !props.exchangeButtonLoading && (props.exchangeButtonDisabled || !currentCode.value || currentCode.value.length < props.exchangeMinLength));
|
||||
const updateListHeight = () => {
|
||||
const TABS_HEIGHT = 44;
|
||||
const rootHeight = useRect(root).height;
|
||||
const headerHeight = useRect(barRef).height + TABS_HEIGHT;
|
||||
listHeight.value = (rootHeight > headerHeight ? rootHeight : windowHeight.value) - headerHeight;
|
||||
};
|
||||
const onExchange = () => {
|
||||
emit("exchange", currentCode.value);
|
||||
if (!props.code) {
|
||||
currentCode.value = "";
|
||||
}
|
||||
};
|
||||
const scrollToCoupon = (index) => {
|
||||
nextTick(() => {
|
||||
var _a;
|
||||
return (_a = couponRefs.value[index]) == null ? void 0 : _a.scrollIntoView();
|
||||
});
|
||||
};
|
||||
const renderEmpty = () => _createVNode(Empty, {
|
||||
"image": props.emptyImage
|
||||
}, {
|
||||
default: () => [_createVNode("p", {
|
||||
"class": bem("empty-tip")
|
||||
}, [t("noCoupon")])]
|
||||
});
|
||||
const renderExchangeBar = () => {
|
||||
if (props.showExchangeBar) {
|
||||
return _createVNode("div", {
|
||||
"ref": barRef,
|
||||
"class": bem("exchange-bar")
|
||||
}, [_createVNode(Field, {
|
||||
"modelValue": currentCode.value,
|
||||
"onUpdate:modelValue": ($event) => currentCode.value = $event,
|
||||
"clearable": true,
|
||||
"border": false,
|
||||
"class": bem("field"),
|
||||
"placeholder": props.inputPlaceholder || t("placeholder"),
|
||||
"maxlength": "20"
|
||||
}, null), _createVNode(Button, {
|
||||
"plain": true,
|
||||
"type": "primary",
|
||||
"class": bem("exchange"),
|
||||
"text": props.exchangeButtonText || t("exchange"),
|
||||
"loading": props.exchangeButtonLoading,
|
||||
"disabled": buttonDisabled.value,
|
||||
"onClick": onExchange
|
||||
}, null)]);
|
||||
}
|
||||
};
|
||||
const renderCouponTab = () => {
|
||||
const {
|
||||
coupons,
|
||||
chosenCoupon
|
||||
} = props;
|
||||
const count = props.showCount ? ` (${coupons.length})` : "";
|
||||
const title = (props.enabledTitle || t("enable")) + count;
|
||||
const updateChosenCoupon = (currentValues = [], value = 0) => {
|
||||
if (currentValues.includes(value)) {
|
||||
return currentValues.filter((item) => item !== value);
|
||||
}
|
||||
return [...currentValues, value];
|
||||
};
|
||||
return _createVNode(Tab, {
|
||||
"title": title
|
||||
}, {
|
||||
default: () => {
|
||||
var _a;
|
||||
return [_createVNode("div", {
|
||||
"class": bem("list", {
|
||||
"with-bottom": props.showCloseButton
|
||||
}),
|
||||
"style": {
|
||||
height: `${listHeight.value}px`
|
||||
}
|
||||
}, [coupons.map((coupon, index) => _createVNode(Coupon, {
|
||||
"key": coupon.id,
|
||||
"ref": setCouponRefs(index),
|
||||
"coupon": coupon,
|
||||
"chosen": Array.isArray(chosenCoupon) ? chosenCoupon.includes(index) : index === chosenCoupon,
|
||||
"currency": props.currency,
|
||||
"onClick": () => emit("change", Array.isArray(chosenCoupon) ? updateChosenCoupon(chosenCoupon, index) : index)
|
||||
}, null)), !coupons.length && renderEmpty(), (_a = slots["list-footer"]) == null ? void 0 : _a.call(slots)])];
|
||||
}
|
||||
});
|
||||
};
|
||||
const renderDisabledTab = () => {
|
||||
const {
|
||||
disabledCoupons
|
||||
} = props;
|
||||
const count = props.showCount ? ` (${disabledCoupons.length})` : "";
|
||||
const title = (props.disabledTitle || t("disabled")) + count;
|
||||
return _createVNode(Tab, {
|
||||
"title": title
|
||||
}, {
|
||||
default: () => {
|
||||
var _a;
|
||||
return [_createVNode("div", {
|
||||
"class": bem("list", {
|
||||
"with-bottom": props.showCloseButton
|
||||
}),
|
||||
"style": {
|
||||
height: `${listHeight.value}px`
|
||||
}
|
||||
}, [disabledCoupons.map((coupon) => _createVNode(Coupon, {
|
||||
"disabled": true,
|
||||
"key": coupon.id,
|
||||
"coupon": coupon,
|
||||
"currency": props.currency
|
||||
}, null)), !disabledCoupons.length && renderEmpty(), (_a = slots["disabled-list-footer"]) == null ? void 0 : _a.call(slots)])];
|
||||
}
|
||||
});
|
||||
};
|
||||
watch(() => props.code, (value) => {
|
||||
currentCode.value = value;
|
||||
});
|
||||
watch(windowHeight, updateListHeight);
|
||||
watch(currentCode, (value) => emit("update:code", value));
|
||||
watch(() => props.displayedCouponIndex, scrollToCoupon);
|
||||
onMounted(() => {
|
||||
updateListHeight();
|
||||
scrollToCoupon(props.displayedCouponIndex);
|
||||
});
|
||||
return () => _createVNode("div", {
|
||||
"ref": root,
|
||||
"class": bem()
|
||||
}, [renderExchangeBar(), _createVNode(Tabs, {
|
||||
"active": activeTab.value,
|
||||
"onUpdate:active": ($event) => activeTab.value = $event,
|
||||
"class": bem("tab")
|
||||
}, {
|
||||
default: () => [renderCouponTab(), renderDisabledTab()]
|
||||
}), _createVNode("div", {
|
||||
"class": bem("bottom")
|
||||
}, [slots["list-button"] ? slots["list-button"]() : _withDirectives(_createVNode(Button, {
|
||||
"round": true,
|
||||
"block": true,
|
||||
"type": "primary",
|
||||
"class": bem("close"),
|
||||
"text": props.closeButtonText || t("close"),
|
||||
"onClick": () => emit("change", Array.isArray(props.chosenCoupon) ? [] : -1)
|
||||
}, null), [[_vShow, props.showCloseButton]])])]);
|
||||
}
|
||||
});
|
||||
export {
|
||||
couponListProps,
|
||||
stdin_default as default
|
||||
};
|
||||
1
node_modules/vant/es/coupon-list/index.css
generated
vendored
Normal file
1
node_modules/vant/es/coupon-list/index.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
:root,:host{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}
|
||||
125
node_modules/vant/es/coupon-list/index.d.ts
generated
vendored
Normal file
125
node_modules/vant/es/coupon-list/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
export declare const CouponList: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
code: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
coupons: {
|
||||
type: import("vue").PropType<import("..").CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
currency: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
showCount: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
emptyImage: StringConstructor;
|
||||
enabledTitle: StringConstructor;
|
||||
disabledTitle: StringConstructor;
|
||||
disabledCoupons: {
|
||||
type: import("vue").PropType<import("..").CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
showExchangeBar: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
showCloseButton: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
closeButtonText: StringConstructor;
|
||||
inputPlaceholder: StringConstructor;
|
||||
exchangeMinLength: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonText: StringConstructor;
|
||||
displayedCouponIndex: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonLoading: BooleanConstructor;
|
||||
exchangeButtonDisabled: BooleanConstructor;
|
||||
chosenCoupon: {
|
||||
type: import("vue").PropType<number | number[]>;
|
||||
default: number;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
code: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
coupons: {
|
||||
type: import("vue").PropType<import("..").CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
currency: {
|
||||
type: import("vue").PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
showCount: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
emptyImage: StringConstructor;
|
||||
enabledTitle: StringConstructor;
|
||||
disabledTitle: StringConstructor;
|
||||
disabledCoupons: {
|
||||
type: import("vue").PropType<import("..").CouponInfo[]>;
|
||||
default: () => never[];
|
||||
};
|
||||
showExchangeBar: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
showCloseButton: {
|
||||
type: BooleanConstructor;
|
||||
default: true;
|
||||
};
|
||||
closeButtonText: StringConstructor;
|
||||
inputPlaceholder: StringConstructor;
|
||||
exchangeMinLength: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonText: StringConstructor;
|
||||
displayedCouponIndex: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
exchangeButtonLoading: BooleanConstructor;
|
||||
exchangeButtonDisabled: BooleanConstructor;
|
||||
chosenCoupon: {
|
||||
type: import("vue").PropType<number | number[]>;
|
||||
default: number;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
onChange?: ((...args: any[]) => any) | undefined;
|
||||
onExchange?: ((...args: any[]) => any) | undefined;
|
||||
"onUpdate:code"?: ((...args: any[]) => any) | undefined;
|
||||
}>, {
|
||||
code: string;
|
||||
currency: string;
|
||||
coupons: import("..").CouponInfo[];
|
||||
chosenCoupon: number | number[];
|
||||
showCount: boolean;
|
||||
disabledCoupons: import("..").CouponInfo[];
|
||||
showExchangeBar: boolean;
|
||||
showCloseButton: boolean;
|
||||
exchangeMinLength: number;
|
||||
displayedCouponIndex: number;
|
||||
exchangeButtonLoading: boolean;
|
||||
exchangeButtonDisabled: boolean;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
||||
export default CouponList;
|
||||
export { couponListProps } from './CouponList';
|
||||
export type { CouponListProps } from './CouponList';
|
||||
export type { CouponListThemeVars } from './types';
|
||||
declare module 'vue' {
|
||||
interface GlobalComponents {
|
||||
VanCouponList: typeof CouponList;
|
||||
}
|
||||
}
|
||||
10
node_modules/vant/es/coupon-list/index.mjs
generated
vendored
Normal file
10
node_modules/vant/es/coupon-list/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { withInstall } from "../utils/index.mjs";
|
||||
import _CouponList from "./CouponList.mjs";
|
||||
const CouponList = withInstall(_CouponList);
|
||||
var stdin_default = CouponList;
|
||||
import { couponListProps } from "./CouponList.mjs";
|
||||
export {
|
||||
CouponList,
|
||||
couponListProps,
|
||||
stdin_default as default
|
||||
};
|
||||
1
node_modules/vant/es/coupon-list/style/index.d.ts
generated
vendored
Normal file
1
node_modules/vant/es/coupon-list/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
17
node_modules/vant/es/coupon-list/style/index.mjs
generated
vendored
Normal file
17
node_modules/vant/es/coupon-list/style/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import "../../style/base.css";
|
||||
import "../../badge/index.css";
|
||||
import "../../icon/index.css";
|
||||
import "../../cell/index.css";
|
||||
import "../../field/index.css";
|
||||
import "../../loading/index.css";
|
||||
import "../../button/index.css";
|
||||
import "../../sticky/index.css";
|
||||
import "../../swipe/index.css";
|
||||
import "../../swipe-item/index.css";
|
||||
import "../../tabs/index.css";
|
||||
import "../../tab/index.css";
|
||||
import "../../checkbox-group/index.css";
|
||||
import "../../checkbox/index.css";
|
||||
import "../../coupon/index.css";
|
||||
import "../../empty/index.css";
|
||||
import "../index.css";
|
||||
9
node_modules/vant/es/coupon-list/types.d.ts
generated
vendored
Normal file
9
node_modules/vant/es/coupon-list/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
export type CouponListThemeVars = {
|
||||
couponListBackground?: string;
|
||||
couponListFieldPadding?: string;
|
||||
couponListExchangeButtonHeight?: string;
|
||||
couponListCloseButtonHeight?: string;
|
||||
couponListEmptyTipColor?: string;
|
||||
couponListEmptyTipFontSize?: string;
|
||||
couponListEmptyTipLineHeight?: number | string;
|
||||
};
|
||||
0
node_modules/vant/es/coupon-list/types.mjs
generated
vendored
Normal file
0
node_modules/vant/es/coupon-list/types.mjs
generated
vendored
Normal file
Reference in New Issue
Block a user