@anker-in/campaign-ui 0.2.10-beta.11 → 0.2.10-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/chat/chatContext.js +2 -0
- package/dist/cjs/components/chat/chatContext.js.map +7 -0
- package/dist/cjs/components/credits/context/hooks/useActivities.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useActivities.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useAddressValidate.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useAddressValidate.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useAlpcFetch.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useAlpcFetch.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useCountries.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useCountries.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useMyRewards.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useMyRewards.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useRedeemAndBuy.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useRedeemAndBuy.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useRedeemCoupon.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useRedeemCoupon.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useRedeemProduct.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useRedeemProduct.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useRedeemableList.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useRedeemableList.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useSendEmailValidation.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useSendEmailValidation.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useSubscribed.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useSubscribed.js.map +3 -3
- package/dist/cjs/components/credits/context/hooks/useSubscriptions.js +1 -1
- package/dist/cjs/components/credits/context/hooks/useSubscriptions.js.map +3 -3
- package/dist/cjs/components/credits/creditsBanner/index.js +2 -0
- package/dist/cjs/components/credits/creditsBanner/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsBenefits/benefitItem.js +2 -0
- package/dist/cjs/components/credits/creditsBenefits/benefitItem.js.map +7 -0
- package/dist/cjs/components/credits/creditsBenefits/iconInfo.js +2 -0
- package/dist/cjs/components/credits/creditsBenefits/iconInfo.js.map +7 -0
- package/dist/cjs/components/credits/creditsBenefits/index.js +4 -0
- package/dist/cjs/components/credits/creditsBenefits/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsCash/RedeemableItem.js +2 -0
- package/dist/cjs/components/credits/creditsCash/RedeemableItem.js.map +7 -0
- package/dist/cjs/components/credits/creditsCash/index.js +2 -0
- package/dist/cjs/components/credits/creditsCash/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsCash/type.js +2 -0
- package/dist/cjs/components/credits/creditsCash/type.js.map +7 -0
- package/dist/cjs/components/credits/creditsFaq/faqItem/FaqItem.js +2 -0
- package/dist/cjs/components/credits/creditsFaq/faqItem/FaqItem.js.map +7 -0
- package/dist/cjs/components/credits/creditsFaq/index.js +2 -0
- package/dist/cjs/components/credits/creditsFaq/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsInfoCard/index.js +2 -0
- package/dist/cjs/components/credits/creditsInfoCard/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/CountrySelect.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/CountrySelect.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/FormItem.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/FormItem.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/Input.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/Input.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/StateSelect.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/StateSelect.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/index.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/type.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/AddressForm/type.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemCouponModal.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemCouponModal.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Address.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Address.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Error.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Error.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Init.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Init.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Success.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Success.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/index.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal.d.ts +62 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemableItem.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/RedeemableItem.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/index.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsRedeemList/type.js +2 -0
- package/dist/cjs/components/credits/creditsRedeemList/type.js.map +7 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/index.js +2 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/index.js.map +7 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/type.js +2 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/type.js.map +7 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/useActions.js +2 -0
- package/dist/cjs/components/credits/creditsWaysToGetCredits/useActions.js.map +7 -0
- package/dist/cjs/components/credits/modal/MyRewardsModal.d.ts +4 -1
- package/dist/cjs/components/credits/modal/MyRewardsModal.js +1 -1
- package/dist/cjs/components/credits/modal/MyRewardsModal.js.map +2 -2
- package/dist/cjs/components/credits/modal/activitiesModal.d.ts +4 -1
- package/dist/cjs/components/credits/modal/loadingDots.js +1 -1
- package/dist/cjs/components/credits/modal/loadingDots.js.map +2 -2
- package/dist/cjs/components/credits/type.js +1 -1
- package/dist/cjs/components/credits/type.js.map +1 -1
- package/dist/cjs/helpers/ssr-safe.d.ts +33 -0
- package/dist/cjs/helpers/track.d.ts +4 -0
- package/dist/cjs/index.css +387 -1
- package/dist/cjs/index.css.map +2 -2
- package/dist/cjs/index.js +67582 -566
- package/dist/cjs/index.js.map +4 -4
- package/dist/cjs/shopify/context/ShopifyProvider.d.ts +1 -1
- package/dist/cjs/shopify/context/index.d.ts +1 -1
- package/dist/cjs/shopify/fetchers/create-cart.d.ts +2 -1
- package/dist/cjs/shopify/hooks/index.d.ts +2 -2
- package/dist/cjs/shopify/hooks/useProductsByHandles.d.ts +1 -1
- package/dist/cjs/shopify/types/index.d.ts +0 -2
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal.d.ts +62 -0
- package/dist/esm/components/credits/modal/MyRewardsModal.d.ts +4 -1
- package/dist/esm/components/credits/modal/MyRewardsModal.js +1 -1
- package/dist/esm/components/credits/modal/MyRewardsModal.js.map +2 -2
- package/dist/esm/components/credits/modal/activitiesModal.d.ts +4 -1
- package/dist/esm/helpers/ssr-safe.d.ts +33 -0
- package/dist/esm/helpers/track.d.ts +4 -0
- package/dist/esm/index.css +387 -1
- package/dist/esm/index.css.map +2 -2
- package/dist/esm/index.js +67576 -566
- package/dist/esm/index.js.map +4 -4
- package/dist/esm/shopify/context/ShopifyProvider.d.ts +1 -1
- package/dist/esm/shopify/context/index.d.ts +1 -1
- package/dist/esm/shopify/fetchers/create-cart.d.ts +2 -1
- package/dist/esm/shopify/hooks/index.d.ts +2 -2
- package/dist/esm/shopify/hooks/useProductsByHandles.d.ts +1 -1
- package/dist/esm/shopify/types/index.d.ts +0 -2
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/credits/creditsInfoCard/index.tsx +2 -1
- package/src/components/credits/modal/MyRewardsModal.tsx +10 -2
- package/src/components/credits/modal/activitiesModal.tsx +9 -2
- package/src/helpers/track.ts +12 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AlpcErrorCode } from '../context/const';
|
|
2
|
+
import type { ModalContainerProps } from '../modal/modalContainer';
|
|
3
|
+
import type { RedeemableItem as RedeemableItemType } from '../type';
|
|
4
|
+
export type FormData = {
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
tips: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}[];
|
|
12
|
+
export type RedeemProductModalCopy = {
|
|
13
|
+
confirmTitle: string;
|
|
14
|
+
confirmButton: string;
|
|
15
|
+
off: string;
|
|
16
|
+
giftCardLabel: string;
|
|
17
|
+
pointUnit: string;
|
|
18
|
+
imageMapping: Record<string, {
|
|
19
|
+
url: string;
|
|
20
|
+
}>;
|
|
21
|
+
validatorInfo: {
|
|
22
|
+
addressInfo: {
|
|
23
|
+
name: string;
|
|
24
|
+
country: string;
|
|
25
|
+
province: string;
|
|
26
|
+
city: string;
|
|
27
|
+
address: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
shippingAddress: string;
|
|
31
|
+
shippingProduct: string;
|
|
32
|
+
product: {
|
|
33
|
+
addressForm: FormData;
|
|
34
|
+
form: FormData;
|
|
35
|
+
successDesc: string[];
|
|
36
|
+
rules: string[];
|
|
37
|
+
steps: {
|
|
38
|
+
imageUrl: string;
|
|
39
|
+
title: string;
|
|
40
|
+
}[];
|
|
41
|
+
quantityLabel: string;
|
|
42
|
+
totalPriceLabel: string;
|
|
43
|
+
variantLabel: string;
|
|
44
|
+
shippingFeeLabel: string;
|
|
45
|
+
paymentButton: string;
|
|
46
|
+
stepTitle: string;
|
|
47
|
+
};
|
|
48
|
+
errorImageUrl: string;
|
|
49
|
+
commonError: string;
|
|
50
|
+
redeemLimitError: string;
|
|
51
|
+
inventoryNotEnough: string;
|
|
52
|
+
inventoryNotEnoughImageUrl: string;
|
|
53
|
+
creditsNotEnough: string;
|
|
54
|
+
crossSiteError: string;
|
|
55
|
+
};
|
|
56
|
+
type RedeemProductModalProps = ModalContainerProps & {
|
|
57
|
+
item: RedeemableItemType;
|
|
58
|
+
copy: RedeemProductModalCopy;
|
|
59
|
+
onError: (code: AlpcErrorCode) => void;
|
|
60
|
+
};
|
|
61
|
+
declare function RedeemProductModal({ item, copy, onError, ...props }: RedeemProductModalProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export default RedeemProductModal;
|
|
@@ -15,12 +15,15 @@ export interface MyRewardsMetafields {
|
|
|
15
15
|
pendingTip: string;
|
|
16
16
|
processingTip: string;
|
|
17
17
|
ShippedTip: string;
|
|
18
|
-
emptyListImageUrl: string;
|
|
19
18
|
emptyListLabel: string;
|
|
20
19
|
pointUnit: string;
|
|
21
20
|
code: string;
|
|
22
21
|
copied: string;
|
|
23
22
|
copy: string;
|
|
23
|
+
emptyListImage: {
|
|
24
|
+
url: string;
|
|
25
|
+
alt?: string;
|
|
26
|
+
};
|
|
24
27
|
}
|
|
25
28
|
interface MyRewardsModalProps extends ModalContainerProps {
|
|
26
29
|
data: MyRewardsMetafields;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as i,jsxs as r}from"react/jsx-runtime";import{Tabs as j,TabsList as E,TabsTrigger as $,Picture as z}from"@anker-in/headless-ui";import M from"classnames";import H from"copy-to-clipboard";import K from"dayjs";import{useCallback as w,useMemo as p,useState as
|
|
1
|
+
import{jsx as i,jsxs as r}from"react/jsx-runtime";import{Tabs as j,TabsList as E,TabsTrigger as $,Picture as z}from"@anker-in/headless-ui";import M from"classnames";import H from"copy-to-clipboard";import K from"dayjs";import{useCallback as w,useMemo as p,useState as c}from"react";import{ApprovalStatus as m,AlpcConsumeType as n,RewardType as t}from"../context/const";import{CreditsModalContainer as V}from"./modalContainer";import q from"./tip";import B from"./loadingDots";import S from"../context/hooks/useMyRewards";function G({data:o,...a}){const[l,R]=c(n.Coupon),[d,F]=c(1),[u,h]=c(1),[_,g]=c(-1),A=p(()=>{const e=[];return o.couponTab&&e.push({title:o.couponTab,type:n.Coupon}),o.productTab&&e.push({title:o.productTab,type:n.Product}),e},[o.couponTab,o.productTab]),D=p(()=>({page:a.isOpen?u:0,pageSize:1e3,consumeType:n.Product}),[a.isOpen,u]),O=p(()=>({page:a.isOpen?d:0,pageSize:1e3,consumeType:n.Coupon}),[a.isOpen,d]),{myRewards:v=[],canNext:b,isLoading:x}=S(O),{myRewards:y=[],canNext:C,isLoading:T}=S(D),N=p(()=>l===n.Coupon?v.map(e=>({title:e.goods_title,value:e.consume_credits,type:t.Received,date:new Date(e.create_time*1e3),couponCode:e.coupon_code,orderNumber:""})):l===n.Product?y.map(e=>{let s=t.Pending;return e.fulfillment_status&&e.fulfillment_status!=="null"?e.fulfillment_status==="fulfilled"?s=t.Fulfilled:s=t.Unfulfilled:e.approval_status===m.Success||e.approval_status===m.DoubleConfirm?s=t.ApproveSuccess:e.approval_status===m.Failed&&(s=t.Failed),{title:e.goods_title,value:e.consume_credits,type:s,date:new Date(e.create_time*1e3),orderNumber:e.order_number,couponCode:""}}):[],[l,y,v]),L=p(()=>l===n.Coupon?b:l===n.Product?C:!1,[l,b,C]),k=p(()=>({[t.Received]:o.receivedLabel,[t.Pending]:o.pendingLabel,[t.ApproveFail]:o.failedLabel,[t.ApproveSuccess]:o.approveSuccessLabel,[t.Unfulfilled]:o.unfulfilledLabel,[t.Fulfilled]:o.fulfilledLabel,[t.Failed]:o.failedLabel}),[o]),P=p(()=>({[t.Received]:"",[t.Pending]:o.pendingTip,[t.ApproveFail]:"",[t.ApproveSuccess]:o.confirmedTip,[t.Unfulfilled]:o.processingTip,[t.Fulfilled]:o.ShippedTip,[t.Failed]:""}),[o]),I=p(()=>({[t.Received]:"#52C41A",[t.Pending]:"#999",[t.ApproveFail]:"#F84D4F",[t.ApproveSuccess]:"#999",[t.Unfulfilled]:"#999",[t.Fulfilled]:"#999",[t.Failed]:"#F84D4F"}),[]),U=w(()=>{L&&(l===n.Coupon?F(d+1):l===n.Product&&h(u+1))},[l,u,d,L]),Y=w((e,s)=>{g(s),H(e),setTimeout(()=>{g(-1)},2e3)},[]);return r(V,{title:o.title,className:M("h-[800px] w-[640px]"),useAnimation:!0,animationClassName:"md:translate-y-[100vh]",scrollClassName:"min-l:px-0 md:mb-0 md:px-0",...a,onScrollEnd:U,children:[i("div",{className:"px-[24px] md:px-[16px]",children:i(j,{align:"left",shape:"rounded",value:l.toString(),onValueChange:e=>{R(Number(e))},children:i(E,{children:A.map(e=>i($,{value:e.type.toString(),children:e.title},e.type))})})}),r("div",{className:"mt-[24px] overflow-auto overscroll-contain px-[24px] md:px-[16px]",children:[!N.length&&!x&&!T&&r("div",{className:"flex h-full flex-col items-center justify-center",children:[i(z,{className:"mb-[12px] w-[160px]",src:o?.emptyListImage.url}),i("div",{className:"text-[16px] font-semibold leading-[1.4]",children:o?.emptyListLabel})]}),x||T&&i("div",{className:"flex h-full flex-col items-center justify-center",children:i(B,{})}),i("div",{className:"grid gap-[18px] md:gap-[12px]",children:N.map((e,s)=>r("div",{className:"grid gap-[8px]",children:[e?.orderNumber&&r("div",{className:"text-[15px] font-semibold leading-[1.4] text-[#777]",children:[o.orderNumberLabel,": ",e.orderNumber]}),r("div",{className:"flex items-center justify-between rounded-[8px] bg-[#f7f8f9] px-[16px] py-[20px]",children:[r("div",{className:"grid gap-[4px]",children:[i("div",{className:"text-[16px] font-bold leading-[1.4]",children:e.title}),r("div",{className:"text-[14px] font-semibold text-[#999]",children:[o.valueLabel,": ",e.value," ",o?.pointUnit]}),r("div",{className:"text-[14px] font-semibold text-[#999]",children:[e?.couponCode?`${o?.code||"Code"}: ${e.couponCode} `:"",e?.couponCode&&i("span",{className:"cursor-pointer text-[14px] font-semibold text-brand underline",onClick:()=>{Y(e.couponCode,s)},role:"button",tabIndex:0,onKeyDown:f=>{(f.key==="Enter"||f.key===" ")&&f.preventDefault()},children:_===s?o?.copied||"COPIED":o?.copy||"COPY"})]})]}),r("div",{className:"grid gap-[4px] text-right",children:[r("div",{className:M("flex items-center justify-end text-[16px] font-bold leading-[1.4]",`text-[${I[e.type]}]`),children:[i("span",{children:k[e.type]}),P[e.type]&&i(q,{info:P[e.type],index:s})]}),i("div",{className:"text-[14px] font-semibold text-[#999]",children:K(e.date).format("YYYY-MM-DD HH:mm").toString()})]})]})]},s))})]})]})}var ne=G;export{ne as default};
|
|
2
2
|
//# sourceMappingURL=MyRewardsModal.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/components/credits/modal/MyRewardsModal.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Tabs, TabsList, TabsTrigger, Picture } from '@anker-in/headless-ui'\nimport classNames from 'classnames'\nimport clipboard from 'copy-to-clipboard'\nimport dayjs from 'dayjs'\nimport { useCallback, useMemo, useState } from 'react'\n\nimport { ApprovalStatus, AlpcConsumeType, RewardType } from '../context/const'\nimport { CreditsModalContainer, type ModalContainerProps } from './modalContainer'\nimport Tip from './tip'\nimport LoadingDots from './loadingDots'\nimport useMyRewards from '../context/hooks/useMyRewards'\n\nexport interface MyRewardsMetafields {\n title: string\n orderNumberLabel: string\n valueLabel: string\n receivedLabel: string\n failedLabel: string\n approveSuccessLabel: string\n couponTab: string\n productTab: string\n pendingLabel: string\n unfulfilledLabel: string\n fulfilledLabel: string\n confirmedTip: string\n pendingTip: string\n processingTip: string\n ShippedTip: string\n emptyListImageUrl: string\n emptyListLabel: string\n pointUnit: string\n code: string\n copied: string\n copy: string\n}\ninterface MyRewardsModalProps extends ModalContainerProps {\n data: MyRewardsMetafields\n}\n\nfunction MyRewardsModal({ data, ...props }: MyRewardsModalProps) {\n const [activeTab, setActiveTab] = useState(AlpcConsumeType.Coupon)\n\n const [couponPage, setCouponPage] = useState(1)\n const [productPage, setProductPage] = useState(1)\n const [copied, setCopied] = useState(-1)\n\n const tabs = useMemo(() => {\n const availableTabs: { title: string; type: number }[] = []\n\n if (data.couponTab) {\n availableTabs.push({\n title: data.couponTab,\n type: AlpcConsumeType.Coupon,\n })\n }\n\n if (data.productTab) {\n availableTabs.push({\n title: data.productTab,\n type: AlpcConsumeType.Product,\n })\n }\n\n return availableTabs\n }, [data.couponTab, data.productTab])\n\n const myProductRewardsOptions = useMemo(() => {\n return {\n page: props.isOpen ? productPage : 0,\n pageSize: 1000,\n consumeType: AlpcConsumeType.Product,\n }\n }, [props.isOpen, productPage])\n const myCouponRewardsOptions = useMemo(() => {\n return {\n page: props.isOpen ? couponPage : 0,\n pageSize: 1000,\n consumeType: AlpcConsumeType.Coupon,\n }\n }, [props.isOpen, couponPage])\n\n const {\n myRewards: myCouponRewards = [],\n canNext: couponCanNext,\n isLoading: couponIsLoading,\n } = useMyRewards(myCouponRewardsOptions)\n const {\n myRewards: myProductRewards = [],\n canNext: productCanNext,\n isLoading: productIsLoading,\n } = useMyRewards(myProductRewardsOptions)\n\n const list = useMemo(() => {\n if (activeTab === AlpcConsumeType.Coupon) {\n return myCouponRewards.map(item => ({\n title: item.goods_title,\n value: item.consume_credits,\n type: RewardType.Received,\n date: new Date(item.create_time * 1000),\n couponCode: item.coupon_code,\n orderNumber: '',\n }))\n }\n\n if (activeTab === AlpcConsumeType.Product) {\n return myProductRewards.map(item => {\n let type = RewardType.Pending\n\n if (item.fulfillment_status && item.fulfillment_status !== 'null') {\n // \u7269\u6D41\u72B6\u6001\n if (item.fulfillment_status === 'fulfilled') {\n type = RewardType.Fulfilled\n } else {\n type = RewardType.Unfulfilled\n }\n } else {\n if (\n item.approval_status === ApprovalStatus.Success ||\n item.approval_status === ApprovalStatus.DoubleConfirm\n ) {\n type = RewardType.ApproveSuccess\n } else if (item.approval_status === ApprovalStatus.Failed) {\n type = RewardType.Failed\n }\n }\n\n return {\n title: item.goods_title,\n value: item.consume_credits,\n type,\n date: new Date(item.create_time * 1000),\n orderNumber: item.order_number,\n couponCode: '',\n }\n })\n }\n\n return []\n }, [activeTab, myProductRewards, myCouponRewards])\n\n const canNext = useMemo(() => {\n if (activeTab === AlpcConsumeType.Coupon) {\n return couponCanNext\n }\n\n if (activeTab === AlpcConsumeType.Product) {\n return productCanNext\n }\n\n return false\n }, [activeTab, couponCanNext, productCanNext])\n\n const TypeMap = useMemo(() => {\n return {\n [RewardType.Received]: data.receivedLabel,\n [RewardType.Pending]: data.pendingLabel,\n [RewardType.ApproveFail]: data.failedLabel,\n [RewardType.ApproveSuccess]: data.approveSuccessLabel,\n [RewardType.Unfulfilled]: data.unfulfilledLabel,\n [RewardType.Fulfilled]: data.fulfilledLabel,\n [RewardType.Failed]: data.failedLabel,\n }\n }, [data])\n\n const TipMap = useMemo(() => {\n return {\n [RewardType.Received]: '',\n [RewardType.Pending]: data.pendingTip,\n [RewardType.ApproveFail]: '',\n [RewardType.ApproveSuccess]: data.confirmedTip,\n [RewardType.Unfulfilled]: data.processingTip,\n [RewardType.Fulfilled]: data.ShippedTip,\n [RewardType.Failed]: '',\n }\n }, [data])\n\n const ColorMap = useMemo(() => {\n return {\n [RewardType.Received]: '#52C41A',\n [RewardType.Pending]: '#999',\n [RewardType.ApproveFail]: '#F84D4F',\n [RewardType.ApproveSuccess]: '#999',\n [RewardType.Unfulfilled]: '#999',\n [RewardType.Fulfilled]: '#999',\n [RewardType.Failed]: '#F84D4F',\n }\n }, [])\n\n const handleScrollEnd = useCallback(() => {\n if (!canNext) {\n return\n }\n\n if (activeTab === AlpcConsumeType.Coupon) {\n setCouponPage(couponPage + 1)\n } else if (activeTab === AlpcConsumeType.Product) {\n setProductPage(productPage + 1)\n }\n }, [activeTab, productPage, couponPage, canNext])\n\n const handleCopy = useCallback((code: string, idx: number) => {\n setCopied(idx)\n clipboard(code)\n setTimeout(() => {\n setCopied(-1)\n }, 2000)\n }, [])\n\n return (\n <CreditsModalContainer\n title={data.title}\n className={classNames('h-[800px] w-[640px]')}\n useAnimation\n animationClassName=\"md:translate-y-[100vh]\"\n scrollClassName=\"min-l:px-0 md:mb-0 md:px-0\"\n {...props}\n onScrollEnd={handleScrollEnd}\n >\n <div className=\"px-[24px] md:px-[16px]\">\n <Tabs\n align=\"left\"\n shape=\"rounded\"\n value={activeTab.toString()}\n onValueChange={value => {\n setActiveTab(Number(value))\n }}\n >\n <TabsList>\n {tabs.map(tab => (\n <TabsTrigger key={tab.type} value={tab.type.toString()}>\n {tab.title}\n </TabsTrigger>\n ))}\n </TabsList>\n </Tabs>\n </div>\n\n <div className=\"mt-[24px] overflow-auto overscroll-contain px-[24px] md:px-[16px]\">\n {!list.length && !couponIsLoading && !productIsLoading && (\n <div className=\"flex h-full flex-col items-center justify-center\">\n <Picture className=\"mb-[12px] w-[160px]\" src={data?.emptyListImageUrl}></Picture>\n <div className=\"text-[16px] font-semibold leading-[1.4]\">{data?.emptyListLabel}</div>\n </div>\n )}\n {couponIsLoading ||\n (productIsLoading && (\n <div className=\"flex h-full flex-col items-center justify-center\">\n <LoadingDots />\n </div>\n ))}\n <div className=\"grid gap-[18px] md:gap-[12px]\">\n {list.map((item, index) => (\n <div key={index} className=\"grid gap-[8px]\">\n {item?.orderNumber && (\n <div className=\"text-[15px] font-semibold leading-[1.4] text-[#777]\">\n {data.orderNumberLabel}: {item.orderNumber}\n </div>\n )}\n <div className=\"flex items-center justify-between rounded-[8px] bg-[#f7f8f9] px-[16px] py-[20px]\">\n <div className=\"grid gap-[4px]\">\n <div className=\"text-[16px] font-bold leading-[1.4]\">{item.title}</div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {data.valueLabel}: {item.value} {data?.pointUnit}\n </div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {item?.couponCode ? `${data?.code || 'Code'}: ${item.couponCode} ` : ''}\n {item?.couponCode && (\n <span\n className=\"cursor-pointer text-[14px] font-semibold text-brand underline\"\n onClick={() => {\n handleCopy(item.couponCode, index)\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n }\n }}\n >\n {copied === index ? data?.copied || 'COPIED' : data?.copy || 'COPY'}\n </span>\n )}\n </div>\n </div>\n <div className=\"grid gap-[4px] text-right\">\n <div\n className={classNames(\n 'flex items-center justify-end text-[16px] font-bold leading-[1.4]',\n `text-[${ColorMap[item.type]}]`\n )}\n >\n <span>{TypeMap[item.type]}</span>\n {TipMap[item.type] && <Tip info={TipMap[item.type]} index={index} />}\n </div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {dayjs(item.date).format('YYYY-MM-DD HH:mm').toString()}\n </div>\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n </CreditsModalContainer>\n )\n}\n\nexport default MyRewardsModal\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { Tabs, TabsList, TabsTrigger, Picture } from '@anker-in/headless-ui'\nimport classNames from 'classnames'\nimport clipboard from 'copy-to-clipboard'\nimport dayjs from 'dayjs'\nimport { useCallback, useMemo, useState } from 'react'\n\nimport { ApprovalStatus, AlpcConsumeType, RewardType } from '../context/const'\nimport { CreditsModalContainer, type ModalContainerProps } from './modalContainer'\nimport Tip from './tip'\nimport LoadingDots from './loadingDots'\nimport useMyRewards from '../context/hooks/useMyRewards'\n\nexport interface MyRewardsMetafields {\n title: string\n orderNumberLabel: string\n valueLabel: string\n receivedLabel: string\n failedLabel: string\n approveSuccessLabel: string\n couponTab: string\n productTab: string\n pendingLabel: string\n unfulfilledLabel: string\n fulfilledLabel: string\n confirmedTip: string\n pendingTip: string\n processingTip: string\n ShippedTip: string\n emptyListLabel: string\n pointUnit: string\n code: string\n copied: string\n copy: string\n emptyListImage: {\n url: string\n }\n}\ninterface MyRewardsModalProps extends ModalContainerProps {\n data: MyRewardsMetafields\n}\n\nfunction MyRewardsModal({ data, ...props }: MyRewardsModalProps) {\n const [activeTab, setActiveTab] = useState(AlpcConsumeType.Coupon)\n\n const [couponPage, setCouponPage] = useState(1)\n const [productPage, setProductPage] = useState(1)\n const [copied, setCopied] = useState(-1)\n\n const tabs = useMemo(() => {\n const availableTabs: { title: string; type: number }[] = []\n\n if (data.couponTab) {\n availableTabs.push({\n title: data.couponTab,\n type: AlpcConsumeType.Coupon,\n })\n }\n\n if (data.productTab) {\n availableTabs.push({\n title: data.productTab,\n type: AlpcConsumeType.Product,\n })\n }\n\n return availableTabs\n }, [data.couponTab, data.productTab])\n\n const myProductRewardsOptions = useMemo(() => {\n return {\n page: props.isOpen ? productPage : 0,\n pageSize: 1000,\n consumeType: AlpcConsumeType.Product,\n }\n }, [props.isOpen, productPage])\n const myCouponRewardsOptions = useMemo(() => {\n return {\n page: props.isOpen ? couponPage : 0,\n pageSize: 1000,\n consumeType: AlpcConsumeType.Coupon,\n }\n }, [props.isOpen, couponPage])\n\n const {\n myRewards: myCouponRewards = [],\n canNext: couponCanNext,\n isLoading: couponIsLoading,\n } = useMyRewards(myCouponRewardsOptions)\n const {\n myRewards: myProductRewards = [],\n canNext: productCanNext,\n isLoading: productIsLoading,\n } = useMyRewards(myProductRewardsOptions)\n\n const list = useMemo(() => {\n if (activeTab === AlpcConsumeType.Coupon) {\n return myCouponRewards.map(item => ({\n title: item.goods_title,\n value: item.consume_credits,\n type: RewardType.Received,\n date: new Date(item.create_time * 1000),\n couponCode: item.coupon_code,\n orderNumber: '',\n }))\n }\n\n if (activeTab === AlpcConsumeType.Product) {\n return myProductRewards.map(item => {\n let type = RewardType.Pending\n\n if (item.fulfillment_status && item.fulfillment_status !== 'null') {\n // \u7269\u6D41\u72B6\u6001\n if (item.fulfillment_status === 'fulfilled') {\n type = RewardType.Fulfilled\n } else {\n type = RewardType.Unfulfilled\n }\n } else {\n if (\n item.approval_status === ApprovalStatus.Success ||\n item.approval_status === ApprovalStatus.DoubleConfirm\n ) {\n type = RewardType.ApproveSuccess\n } else if (item.approval_status === ApprovalStatus.Failed) {\n type = RewardType.Failed\n }\n }\n\n return {\n title: item.goods_title,\n value: item.consume_credits,\n type,\n date: new Date(item.create_time * 1000),\n orderNumber: item.order_number,\n couponCode: '',\n }\n })\n }\n\n return []\n }, [activeTab, myProductRewards, myCouponRewards])\n\n const canNext = useMemo(() => {\n if (activeTab === AlpcConsumeType.Coupon) {\n return couponCanNext\n }\n\n if (activeTab === AlpcConsumeType.Product) {\n return productCanNext\n }\n\n return false\n }, [activeTab, couponCanNext, productCanNext])\n\n const TypeMap = useMemo(() => {\n return {\n [RewardType.Received]: data.receivedLabel,\n [RewardType.Pending]: data.pendingLabel,\n [RewardType.ApproveFail]: data.failedLabel,\n [RewardType.ApproveSuccess]: data.approveSuccessLabel,\n [RewardType.Unfulfilled]: data.unfulfilledLabel,\n [RewardType.Fulfilled]: data.fulfilledLabel,\n [RewardType.Failed]: data.failedLabel,\n }\n }, [data])\n\n const TipMap = useMemo(() => {\n return {\n [RewardType.Received]: '',\n [RewardType.Pending]: data.pendingTip,\n [RewardType.ApproveFail]: '',\n [RewardType.ApproveSuccess]: data.confirmedTip,\n [RewardType.Unfulfilled]: data.processingTip,\n [RewardType.Fulfilled]: data.ShippedTip,\n [RewardType.Failed]: '',\n }\n }, [data])\n\n const ColorMap = useMemo(() => {\n return {\n [RewardType.Received]: '#52C41A',\n [RewardType.Pending]: '#999',\n [RewardType.ApproveFail]: '#F84D4F',\n [RewardType.ApproveSuccess]: '#999',\n [RewardType.Unfulfilled]: '#999',\n [RewardType.Fulfilled]: '#999',\n [RewardType.Failed]: '#F84D4F',\n }\n }, [])\n\n const handleScrollEnd = useCallback(() => {\n if (!canNext) {\n return\n }\n\n if (activeTab === AlpcConsumeType.Coupon) {\n setCouponPage(couponPage + 1)\n } else if (activeTab === AlpcConsumeType.Product) {\n setProductPage(productPage + 1)\n }\n }, [activeTab, productPage, couponPage, canNext])\n\n const handleCopy = useCallback((code: string, idx: number) => {\n setCopied(idx)\n clipboard(code)\n setTimeout(() => {\n setCopied(-1)\n }, 2000)\n }, [])\n\n return (\n <CreditsModalContainer\n title={data.title}\n className={classNames('h-[800px] w-[640px]')}\n useAnimation\n animationClassName=\"md:translate-y-[100vh]\"\n scrollClassName=\"min-l:px-0 md:mb-0 md:px-0\"\n {...props}\n onScrollEnd={handleScrollEnd}\n >\n <div className=\"px-[24px] md:px-[16px]\">\n <Tabs\n align=\"left\"\n shape=\"rounded\"\n value={activeTab.toString()}\n onValueChange={value => {\n setActiveTab(Number(value))\n }}\n >\n <TabsList>\n {tabs.map(tab => (\n <TabsTrigger key={tab.type} value={tab.type.toString()}>\n {tab.title}\n </TabsTrigger>\n ))}\n </TabsList>\n </Tabs>\n </div>\n\n <div className=\"mt-[24px] overflow-auto overscroll-contain px-[24px] md:px-[16px]\">\n {!list.length && !couponIsLoading && !productIsLoading && (\n <div className=\"flex h-full flex-col items-center justify-center\">\n <Picture className=\"mb-[12px] w-[160px]\" src={data?.emptyListImage.url}></Picture>\n <div className=\"text-[16px] font-semibold leading-[1.4]\">{data?.emptyListLabel}</div>\n </div>\n )}\n {couponIsLoading ||\n (productIsLoading && (\n <div className=\"flex h-full flex-col items-center justify-center\">\n <LoadingDots />\n </div>\n ))}\n <div className=\"grid gap-[18px] md:gap-[12px]\">\n {list.map((item, index) => (\n <div key={index} className=\"grid gap-[8px]\">\n {item?.orderNumber && (\n <div className=\"text-[15px] font-semibold leading-[1.4] text-[#777]\">\n {data.orderNumberLabel}: {item.orderNumber}\n </div>\n )}\n <div className=\"flex items-center justify-between rounded-[8px] bg-[#f7f8f9] px-[16px] py-[20px]\">\n <div className=\"grid gap-[4px]\">\n <div className=\"text-[16px] font-bold leading-[1.4]\">{item.title}</div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {data.valueLabel}: {item.value} {data?.pointUnit}\n </div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {item?.couponCode ? `${data?.code || 'Code'}: ${item.couponCode} ` : ''}\n {item?.couponCode && (\n <span\n className=\"cursor-pointer text-[14px] font-semibold text-brand underline\"\n onClick={() => {\n handleCopy(item.couponCode, index)\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n }\n }}\n >\n {copied === index ? data?.copied || 'COPIED' : data?.copy || 'COPY'}\n </span>\n )}\n </div>\n </div>\n <div className=\"grid gap-[4px] text-right\">\n <div\n className={classNames(\n 'flex items-center justify-end text-[16px] font-bold leading-[1.4]',\n `text-[${ColorMap[item.type]}]`\n )}\n >\n <span>{TypeMap[item.type]}</span>\n {TipMap[item.type] && <Tip info={TipMap[item.type]} index={index} />}\n </div>\n <div className=\"text-[14px] font-semibold text-[#999]\">\n {dayjs(item.date).format('YYYY-MM-DD HH:mm').toString()}\n </div>\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n </CreditsModalContainer>\n )\n}\n\nexport default MyRewardsModal\n"],
|
|
5
|
+
"mappings": "AAuOc,cAAAA,EAUJ,QAAAC,MAVI,oBAvOd,OAAS,QAAAC,EAAM,YAAAC,EAAU,eAAAC,EAAa,WAAAC,MAAe,wBACrD,OAAOC,MAAgB,aACvB,OAAOC,MAAe,oBACtB,OAAO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AI,UAAU,4BACb,UAAAA,EAAC,OACC,UAAWK,EACT,oEACA,SAASwC,EAASL,EAAK,IAAI,CAAC,GAC9B,EAEA,UAAAzC,EAAC,QAAM,SAAA4C,EAAQH,EAAK,IAAI,EAAE,EACzBI,EAAOJ,EAAK,IAAI,GAAKzC,EAACgB,EAAA,CAAI,KAAM6B,EAAOJ,EAAK,IAAI,EAAG,MAAOY,EAAO,GACpE,EACArD,EAAC,OAAI,UAAU,wCACZ,SAAAQ,EAAMiC,EAAK,IAAI,EAAE,OAAO,kBAAkB,EAAE,SAAS,EACxD,GACF,GACF,IA/CQY,CAgDV,CACD,EACH,GACF,GACF,CAEJ,CAEA,IAAOE,GAAQpC",
|
|
6
6
|
"names": ["jsx", "jsxs", "Tabs", "TabsList", "TabsTrigger", "Picture", "classNames", "clipboard", "dayjs", "useCallback", "useMemo", "useState", "ApprovalStatus", "AlpcConsumeType", "RewardType", "CreditsModalContainer", "Tip", "LoadingDots", "useMyRewards", "MyRewardsModal", "data", "props", "activeTab", "setActiveTab", "couponPage", "setCouponPage", "productPage", "setProductPage", "copied", "setCopied", "tabs", "availableTabs", "myProductRewardsOptions", "myCouponRewardsOptions", "myCouponRewards", "couponCanNext", "couponIsLoading", "myProductRewards", "productCanNext", "productIsLoading", "list", "item", "type", "canNext", "TypeMap", "TipMap", "ColorMap", "handleScrollEnd", "handleCopy", "code", "idx", "value", "tab", "index", "e", "MyRewardsModal_default"]
|
|
7
7
|
}
|
|
@@ -19,7 +19,10 @@ export interface MyActivitiesMetafields {
|
|
|
19
19
|
firstPurchaseTask: string;
|
|
20
20
|
uploadReceiptTask: string;
|
|
21
21
|
shoppingTask: string;
|
|
22
|
-
|
|
22
|
+
emptyListImage: {
|
|
23
|
+
url: string;
|
|
24
|
+
alt?: string;
|
|
25
|
+
};
|
|
23
26
|
emptyListLabel: string;
|
|
24
27
|
}
|
|
25
28
|
interface ActivitiesModalProps extends ModalContainerProps {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* SSR 安全工具函数
|
|
4
|
+
* 确保组件在服务端和客户端都能正常工作
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* 检查是否在浏览器环境
|
|
8
|
+
*/
|
|
9
|
+
export declare const isBrowser: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* 检查是否在服务端环境
|
|
12
|
+
*/
|
|
13
|
+
export declare const isServer: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* 安全获取 window 对象
|
|
16
|
+
*/
|
|
17
|
+
export declare const safeWindow: Window;
|
|
18
|
+
/**
|
|
19
|
+
* 安全获取 document 对象
|
|
20
|
+
*/
|
|
21
|
+
export declare const safeDocument: Document;
|
|
22
|
+
/**
|
|
23
|
+
* 安全执行浏览器 API
|
|
24
|
+
*/
|
|
25
|
+
export declare const safeExecute: <T>(fn: () => T, fallback?: T) => T | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* 客户端渲染检查 Hook
|
|
28
|
+
*/
|
|
29
|
+
export declare const useIsomorphicLayoutEffect: typeof React.useLayoutEffect;
|
|
30
|
+
/**
|
|
31
|
+
* 延迟执行(仅在客户端)
|
|
32
|
+
*/
|
|
33
|
+
export declare const useClientOnly: () => boolean;
|
|
@@ -7,6 +7,10 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export declare const gaTrack: (data: any) => "" | undefined;
|
|
10
|
+
export declare function gaNormalClick({ position, label }: {
|
|
11
|
+
position: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}): void;
|
|
10
14
|
export declare const fbq: (...args: any[]) => void;
|
|
11
15
|
export declare const gtag: (...args: any[]) => void;
|
|
12
16
|
export declare const getGtmGroup: ({ query, asPath }: {
|
package/dist/esm/index.css
CHANGED
|
@@ -1,2 +1,388 @@
|
|
|
1
|
-
@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAA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al}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}
|
|
1
|
+
/* node_modules/swiper/swiper.css */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "swiper-icons";
|
|
4
|
+
src: url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAAC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29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
}
|
|
8
|
+
:root {
|
|
9
|
+
--swiper-theme-color: #007aff;
|
|
10
|
+
}
|
|
11
|
+
:host {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: block;
|
|
14
|
+
margin-left: auto;
|
|
15
|
+
margin-right: auto;
|
|
16
|
+
z-index: 1;
|
|
17
|
+
}
|
|
18
|
+
.swiper {
|
|
19
|
+
margin-left: auto;
|
|
20
|
+
margin-right: auto;
|
|
21
|
+
position: relative;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
list-style: none;
|
|
24
|
+
padding: 0;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
display: block;
|
|
27
|
+
}
|
|
28
|
+
.swiper-vertical > .swiper-wrapper {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
.swiper-wrapper {
|
|
32
|
+
position: relative;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
display: flex;
|
|
37
|
+
transition-property: transform;
|
|
38
|
+
transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
|
|
39
|
+
box-sizing: content-box;
|
|
40
|
+
}
|
|
41
|
+
.swiper-android .swiper-slide,
|
|
42
|
+
.swiper-ios .swiper-slide,
|
|
43
|
+
.swiper-wrapper {
|
|
44
|
+
transform: translate3d(0px, 0, 0);
|
|
45
|
+
}
|
|
46
|
+
.swiper-horizontal {
|
|
47
|
+
touch-action: pan-y;
|
|
48
|
+
}
|
|
49
|
+
.swiper-vertical {
|
|
50
|
+
touch-action: pan-x;
|
|
51
|
+
}
|
|
52
|
+
.swiper-slide {
|
|
53
|
+
flex-shrink: 0;
|
|
54
|
+
width: 100%;
|
|
55
|
+
height: 100%;
|
|
56
|
+
position: relative;
|
|
57
|
+
transition-property: transform;
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
.swiper-slide-invisible-blank {
|
|
61
|
+
visibility: hidden;
|
|
62
|
+
}
|
|
63
|
+
.swiper-autoheight,
|
|
64
|
+
.swiper-autoheight .swiper-slide {
|
|
65
|
+
height: auto;
|
|
66
|
+
}
|
|
67
|
+
.swiper-autoheight .swiper-wrapper {
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
transition-property: transform, height;
|
|
70
|
+
}
|
|
71
|
+
.swiper-backface-hidden .swiper-slide {
|
|
72
|
+
transform: translateZ(0);
|
|
73
|
+
-webkit-backface-visibility: hidden;
|
|
74
|
+
backface-visibility: hidden;
|
|
75
|
+
}
|
|
76
|
+
.swiper-3d.swiper-css-mode .swiper-wrapper {
|
|
77
|
+
perspective: 1200px;
|
|
78
|
+
}
|
|
79
|
+
.swiper-3d .swiper-wrapper {
|
|
80
|
+
transform-style: preserve-3d;
|
|
81
|
+
}
|
|
82
|
+
.swiper-3d {
|
|
83
|
+
perspective: 1200px;
|
|
84
|
+
}
|
|
85
|
+
.swiper-3d .swiper-slide,
|
|
86
|
+
.swiper-3d .swiper-cube-shadow {
|
|
87
|
+
transform-style: preserve-3d;
|
|
88
|
+
}
|
|
89
|
+
.swiper-css-mode > .swiper-wrapper {
|
|
90
|
+
overflow: auto;
|
|
91
|
+
scrollbar-width: none;
|
|
92
|
+
-ms-overflow-style: none;
|
|
93
|
+
}
|
|
94
|
+
.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
.swiper-css-mode > .swiper-wrapper > .swiper-slide {
|
|
98
|
+
scroll-snap-align: start start;
|
|
99
|
+
}
|
|
100
|
+
.swiper-css-mode.swiper-horizontal > .swiper-wrapper {
|
|
101
|
+
scroll-snap-type: x mandatory;
|
|
102
|
+
}
|
|
103
|
+
.swiper-css-mode.swiper-vertical > .swiper-wrapper {
|
|
104
|
+
scroll-snap-type: y mandatory;
|
|
105
|
+
}
|
|
106
|
+
.swiper-css-mode.swiper-free-mode > .swiper-wrapper {
|
|
107
|
+
scroll-snap-type: none;
|
|
108
|
+
}
|
|
109
|
+
.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
|
|
110
|
+
scroll-snap-align: none;
|
|
111
|
+
}
|
|
112
|
+
.swiper-css-mode.swiper-centered > .swiper-wrapper::before {
|
|
113
|
+
content: "";
|
|
114
|
+
flex-shrink: 0;
|
|
115
|
+
order: 9999;
|
|
116
|
+
}
|
|
117
|
+
.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
118
|
+
scroll-snap-align: center center;
|
|
119
|
+
scroll-snap-stop: always;
|
|
120
|
+
}
|
|
121
|
+
.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
122
|
+
margin-inline-start: var(--swiper-centered-offset-before);
|
|
123
|
+
}
|
|
124
|
+
.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
|
|
125
|
+
height: 100%;
|
|
126
|
+
min-height: 1px;
|
|
127
|
+
width: var(--swiper-centered-offset-after);
|
|
128
|
+
}
|
|
129
|
+
.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
|
|
130
|
+
margin-block-start: var(--swiper-centered-offset-before);
|
|
131
|
+
}
|
|
132
|
+
.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {
|
|
133
|
+
width: 100%;
|
|
134
|
+
min-width: 1px;
|
|
135
|
+
height: var(--swiper-centered-offset-after);
|
|
136
|
+
}
|
|
137
|
+
.swiper-3d .swiper-slide-shadow,
|
|
138
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
139
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
140
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
141
|
+
.swiper-3d .swiper-slide-shadow-bottom,
|
|
142
|
+
.swiper-3d .swiper-slide-shadow,
|
|
143
|
+
.swiper-3d .swiper-slide-shadow-left,
|
|
144
|
+
.swiper-3d .swiper-slide-shadow-right,
|
|
145
|
+
.swiper-3d .swiper-slide-shadow-top,
|
|
146
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
147
|
+
position: absolute;
|
|
148
|
+
left: 0;
|
|
149
|
+
top: 0;
|
|
150
|
+
width: 100%;
|
|
151
|
+
height: 100%;
|
|
152
|
+
pointer-events: none;
|
|
153
|
+
z-index: 10;
|
|
154
|
+
}
|
|
155
|
+
.swiper-3d .swiper-slide-shadow {
|
|
156
|
+
background: rgba(0, 0, 0, 0.15);
|
|
157
|
+
}
|
|
158
|
+
.swiper-3d .swiper-slide-shadow-left {
|
|
159
|
+
background-image:
|
|
160
|
+
linear-gradient(
|
|
161
|
+
to left,
|
|
162
|
+
rgba(0, 0, 0, 0.5),
|
|
163
|
+
rgba(0, 0, 0, 0));
|
|
164
|
+
}
|
|
165
|
+
.swiper-3d .swiper-slide-shadow-right {
|
|
166
|
+
background-image:
|
|
167
|
+
linear-gradient(
|
|
168
|
+
to right,
|
|
169
|
+
rgba(0, 0, 0, 0.5),
|
|
170
|
+
rgba(0, 0, 0, 0));
|
|
171
|
+
}
|
|
172
|
+
.swiper-3d .swiper-slide-shadow-top {
|
|
173
|
+
background-image:
|
|
174
|
+
linear-gradient(
|
|
175
|
+
to top,
|
|
176
|
+
rgba(0, 0, 0, 0.5),
|
|
177
|
+
rgba(0, 0, 0, 0));
|
|
178
|
+
}
|
|
179
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
180
|
+
background-image:
|
|
181
|
+
linear-gradient(
|
|
182
|
+
to bottom,
|
|
183
|
+
rgba(0, 0, 0, 0.5),
|
|
184
|
+
rgba(0, 0, 0, 0));
|
|
185
|
+
}
|
|
186
|
+
.swiper-lazy-preloader {
|
|
187
|
+
width: 42px;
|
|
188
|
+
height: 42px;
|
|
189
|
+
position: absolute;
|
|
190
|
+
left: 50%;
|
|
191
|
+
top: 50%;
|
|
192
|
+
margin-left: -21px;
|
|
193
|
+
margin-top: -21px;
|
|
194
|
+
z-index: 10;
|
|
195
|
+
transform-origin: 50%;
|
|
196
|
+
box-sizing: border-box;
|
|
197
|
+
border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
|
|
198
|
+
border-radius: 50%;
|
|
199
|
+
border-top-color: transparent;
|
|
200
|
+
}
|
|
201
|
+
.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
202
|
+
.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
|
|
203
|
+
animation: swiper-preloader-spin 1s infinite linear;
|
|
204
|
+
}
|
|
205
|
+
.swiper-lazy-preloader-white {
|
|
206
|
+
--swiper-preloader-color: #fff;
|
|
207
|
+
}
|
|
208
|
+
.swiper-lazy-preloader-black {
|
|
209
|
+
--swiper-preloader-color: #000;
|
|
210
|
+
}
|
|
211
|
+
@keyframes swiper-preloader-spin {
|
|
212
|
+
0% {
|
|
213
|
+
transform: rotate(0deg);
|
|
214
|
+
}
|
|
215
|
+
100% {
|
|
216
|
+
transform: rotate(360deg);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* node_modules/swiper/modules/grid.css */
|
|
221
|
+
.swiper-grid > .swiper-wrapper {
|
|
222
|
+
flex-wrap: wrap;
|
|
223
|
+
}
|
|
224
|
+
.swiper-grid-column > .swiper-wrapper {
|
|
225
|
+
flex-wrap: wrap;
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* node_modules/swiper/modules/pagination.css */
|
|
230
|
+
:root {
|
|
231
|
+
}
|
|
232
|
+
.swiper-pagination {
|
|
233
|
+
position: absolute;
|
|
234
|
+
text-align: center;
|
|
235
|
+
transition: 300ms opacity;
|
|
236
|
+
transform: translate3d(0, 0, 0);
|
|
237
|
+
z-index: 10;
|
|
238
|
+
}
|
|
239
|
+
.swiper-pagination.swiper-pagination-hidden {
|
|
240
|
+
opacity: 0;
|
|
241
|
+
}
|
|
242
|
+
.swiper-pagination-disabled > .swiper-pagination,
|
|
243
|
+
.swiper-pagination.swiper-pagination-disabled {
|
|
244
|
+
display: none !important;
|
|
245
|
+
}
|
|
246
|
+
.swiper-pagination-fraction,
|
|
247
|
+
.swiper-pagination-custom,
|
|
248
|
+
.swiper-horizontal > .swiper-pagination-bullets,
|
|
249
|
+
.swiper-pagination-bullets.swiper-pagination-horizontal {
|
|
250
|
+
bottom: var(--swiper-pagination-bottom, 8px);
|
|
251
|
+
top: var(--swiper-pagination-top, auto);
|
|
252
|
+
left: 0;
|
|
253
|
+
width: 100%;
|
|
254
|
+
}
|
|
255
|
+
.swiper-pagination-bullets-dynamic {
|
|
256
|
+
overflow: hidden;
|
|
257
|
+
font-size: 0;
|
|
258
|
+
}
|
|
259
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
260
|
+
transform: scale(0.33);
|
|
261
|
+
position: relative;
|
|
262
|
+
}
|
|
263
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
|
|
264
|
+
transform: scale(1);
|
|
265
|
+
}
|
|
266
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
|
|
267
|
+
transform: scale(1);
|
|
268
|
+
}
|
|
269
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
|
|
270
|
+
transform: scale(0.66);
|
|
271
|
+
}
|
|
272
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
|
|
273
|
+
transform: scale(0.33);
|
|
274
|
+
}
|
|
275
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
|
|
276
|
+
transform: scale(0.66);
|
|
277
|
+
}
|
|
278
|
+
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
|
|
279
|
+
transform: scale(0.33);
|
|
280
|
+
}
|
|
281
|
+
.swiper-pagination-bullet {
|
|
282
|
+
width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
|
|
283
|
+
height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
|
|
284
|
+
display: inline-block;
|
|
285
|
+
border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
|
|
286
|
+
background: var(--swiper-pagination-bullet-inactive-color, #000);
|
|
287
|
+
opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
|
|
288
|
+
}
|
|
289
|
+
button.swiper-pagination-bullet {
|
|
290
|
+
border: none;
|
|
291
|
+
margin: 0;
|
|
292
|
+
padding: 0;
|
|
293
|
+
box-shadow: none;
|
|
294
|
+
-webkit-appearance: none;
|
|
295
|
+
appearance: none;
|
|
296
|
+
}
|
|
297
|
+
.swiper-pagination-clickable .swiper-pagination-bullet {
|
|
298
|
+
cursor: pointer;
|
|
299
|
+
}
|
|
300
|
+
.swiper-pagination-bullet:only-child {
|
|
301
|
+
display: none !important;
|
|
302
|
+
}
|
|
303
|
+
.swiper-pagination-bullet-active {
|
|
304
|
+
opacity: var(--swiper-pagination-bullet-opacity, 1);
|
|
305
|
+
background: var(--swiper-pagination-color, var(--swiper-theme-color));
|
|
306
|
+
}
|
|
307
|
+
.swiper-vertical > .swiper-pagination-bullets,
|
|
308
|
+
.swiper-pagination-vertical.swiper-pagination-bullets {
|
|
309
|
+
right: var(--swiper-pagination-right, 8px);
|
|
310
|
+
left: var(--swiper-pagination-left, auto);
|
|
311
|
+
top: 50%;
|
|
312
|
+
transform: translate3d(0px, -50%, 0);
|
|
313
|
+
}
|
|
314
|
+
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,
|
|
315
|
+
.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
|
|
316
|
+
margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
|
|
317
|
+
display: block;
|
|
318
|
+
}
|
|
319
|
+
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
|
|
320
|
+
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
|
|
321
|
+
top: 50%;
|
|
322
|
+
transform: translateY(-50%);
|
|
323
|
+
width: 8px;
|
|
324
|
+
}
|
|
325
|
+
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
|
|
326
|
+
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
327
|
+
display: inline-block;
|
|
328
|
+
transition: 200ms transform, 200ms top;
|
|
329
|
+
}
|
|
330
|
+
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
|
|
331
|
+
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
|
|
332
|
+
margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
|
|
333
|
+
}
|
|
334
|
+
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
|
|
335
|
+
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
|
|
336
|
+
left: 50%;
|
|
337
|
+
transform: translateX(-50%);
|
|
338
|
+
white-space: nowrap;
|
|
339
|
+
}
|
|
340
|
+
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
|
|
341
|
+
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
342
|
+
transition: 200ms transform, 200ms left;
|
|
343
|
+
}
|
|
344
|
+
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
345
|
+
transition: 200ms transform, 200ms right;
|
|
346
|
+
}
|
|
347
|
+
.swiper-pagination-fraction {
|
|
348
|
+
color: var(--swiper-pagination-fraction-color, inherit);
|
|
349
|
+
}
|
|
350
|
+
.swiper-pagination-progressbar {
|
|
351
|
+
background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
|
|
352
|
+
position: absolute;
|
|
353
|
+
}
|
|
354
|
+
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
|
|
355
|
+
background: var(--swiper-pagination-color, var(--swiper-theme-color));
|
|
356
|
+
position: absolute;
|
|
357
|
+
left: 0;
|
|
358
|
+
top: 0;
|
|
359
|
+
width: 100%;
|
|
360
|
+
height: 100%;
|
|
361
|
+
transform: scale(0);
|
|
362
|
+
transform-origin: left top;
|
|
363
|
+
}
|
|
364
|
+
.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
|
|
365
|
+
transform-origin: right top;
|
|
366
|
+
}
|
|
367
|
+
.swiper-horizontal > .swiper-pagination-progressbar,
|
|
368
|
+
.swiper-pagination-progressbar.swiper-pagination-horizontal,
|
|
369
|
+
.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
|
|
370
|
+
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
|
|
371
|
+
width: 100%;
|
|
372
|
+
height: var(--swiper-pagination-progressbar-size, 4px);
|
|
373
|
+
left: 0;
|
|
374
|
+
top: 0;
|
|
375
|
+
}
|
|
376
|
+
.swiper-vertical > .swiper-pagination-progressbar,
|
|
377
|
+
.swiper-pagination-progressbar.swiper-pagination-vertical,
|
|
378
|
+
.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
|
|
379
|
+
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
|
|
380
|
+
width: var(--swiper-pagination-progressbar-size, 4px);
|
|
381
|
+
height: 100%;
|
|
382
|
+
left: 0;
|
|
383
|
+
top: 0;
|
|
384
|
+
}
|
|
385
|
+
.swiper-pagination-lock {
|
|
386
|
+
display: none;
|
|
387
|
+
}
|
|
2
388
|
/*# sourceMappingURL=index.css.map */
|