@paypay/mini-app-js-sdk 1.74.0 → 1.76.0
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/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +1431 -1109
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/makePayment.d.ts +7 -0
- package/dist/package/action-sheet/index.d.ts +18 -7
- package/dist/package/button/index.d.ts +2 -2
- package/dist/package/description-info/DescriptionInfoLabel.vue.d.ts +18 -0
- package/dist/package/input/currency/index.d.ts +5 -8
- package/dist/package/input/email/index.d.ts +1 -1
- package/dist/package/input/text/index.d.ts +1 -1
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +5 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +2 -1
- package/dist/package/payment-method/Wallet.vue.d.ts +5 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +5 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +2 -1
- package/dist/package/payment-type/Wallet.vue.d.ts +5 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +5 -0
- package/dist/resources/en.d.ts +1 -0
- package/dist/resources/ja.d.ts +1 -0
- package/dist/utils/api.d.ts +32 -25
- package/dist/utils/getLanguage.d.ts +1 -0
- package/dist/utils/storage.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +3 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +1518 -5
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +1 -0
- package/dist/views/make-payment/App.vue.d.ts +1030 -6
- package/dist/views/make-payment/Main.vue.d.ts +1222 -196
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +6 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +6 -1
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +157 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +10 -4
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +14 -3
- package/dist/views/make-payment/store.d.ts +1024 -7
- package/dist/views/open-app/App.vue.d.ts +1 -0
- package/dist/views/open-map/App.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +8 -0
- package/dist/views/show-update-warning/App.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +26 -17
- package/dist/views/topup/{CashbackInfo.vue.d.ts → TopupBalanceInfo.vue.d.ts} +25 -44
- package/dist/views/topup/TopupCompletion.vue.d.ts +2 -1
- package/dist/views/topup/TopupFeeInfo.vue.d.ts +37 -0
- package/dist/views/topup/TopupFeeLabel.vue.d.ts +24 -0
- package/dist/views/topup/TopupFeeResultLabel.vue.d.ts +16 -0
- package/package.json +1 -1
|
@@ -50,8 +50,8 @@ function normalizeNativeResponseData(data2) {
|
|
|
50
50
|
}
|
|
51
51
|
class JsBridge {
|
|
52
52
|
constructor(global2) {
|
|
53
|
-
this.version = "1.
|
|
54
|
-
this.revision = "
|
|
53
|
+
this.version = "1.76.0";
|
|
54
|
+
this.revision = "b3d59c3";
|
|
55
55
|
this.messageHandlers = /* @__PURE__ */ new Map();
|
|
56
56
|
this.responseCallbacks = /* @__PURE__ */ new Map();
|
|
57
57
|
this.global = global2;
|
|
@@ -828,6 +828,19 @@ function saveEnv(env) {
|
|
|
828
828
|
function getEnv() {
|
|
829
829
|
return api.get(PpLocalStorageKey.env);
|
|
830
830
|
}
|
|
831
|
+
function isProdEnv() {
|
|
832
|
+
switch (getEnv()) {
|
|
833
|
+
case "staging":
|
|
834
|
+
case "sandbox":
|
|
835
|
+
case "test":
|
|
836
|
+
case "canary":
|
|
837
|
+
case "qa":
|
|
838
|
+
return false;
|
|
839
|
+
case "production":
|
|
840
|
+
default:
|
|
841
|
+
return true;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
831
844
|
function saveClientUUID(uuid) {
|
|
832
845
|
saveCookie(PpLocalStorageKey.clientUUID, uuid, CookieDuration.oneYear);
|
|
833
846
|
}
|
|
@@ -1258,6 +1271,7 @@ const ja$1 = {
|
|
|
1258
1271
|
update: "\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u3059\u308B",
|
|
1259
1272
|
cancel: "\u4ECA\u306F\u3057\u306A\u3044"
|
|
1260
1273
|
},
|
|
1274
|
+
viewdetails: "\u8A73\u7D30\u3092\u898B\u308B",
|
|
1261
1275
|
eMoneyOnly: "\u9280\u884C\u53E3\u5EA7\u304B\u3089\u306E\u30C1\u30E3\u30FC\u30B8\u306E\u307F",
|
|
1262
1276
|
topupNoticeEmoneyOnlyTitle: "\u9280\u884C\u53E3\u5EA7\u304B\u3089\u306E\u30C1\u30E3\u30FC\u30B8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
1263
1277
|
topupNoticeEmoneyOnlyDesc: "\u3053\u306E\u304A\u5E97\u3067\u306E\u304A\u652F\u6255\u3044\u306B\u306FPayPay\u30DE\u30CD\u30FC\u304C\u5FC5\u8981\u3067\u3059\u3002PayPay\u30DE\u30CD\u30FC\u306E\u5229\u7528\u306B\u306F\u9280\u884C\u304B\u3089\u306E\u30C1\u30E3\u30FC\u30B8\u8A2D\u5B9A\u304C\u5FC5\u8981\u3067\u3059"
|
|
@@ -1541,8 +1555,14 @@ var UIComponentsButtonType = /* @__PURE__ */ ((UIComponentsButtonType2) => {
|
|
|
1541
1555
|
UIComponentsButtonType2["WHITE"] = "WHITE";
|
|
1542
1556
|
return UIComponentsButtonType2;
|
|
1543
1557
|
})(UIComponentsButtonType || {});
|
|
1544
|
-
async function topup$3(queryParams, body2) {
|
|
1545
|
-
var _a2, _b, _c, _d
|
|
1558
|
+
async function topup$3(queryParams, body2, paymentParams) {
|
|
1559
|
+
var _a2, _b, _c, _d;
|
|
1560
|
+
if (!isProdEnv() && body2.feePercentage != null && (body2.amount.amount === 1234 || (paymentParams == null ? void 0 : paymentParams.amount.amount) === 12345)) {
|
|
1561
|
+
body2 = {
|
|
1562
|
+
...body2,
|
|
1563
|
+
feePercentage: 0
|
|
1564
|
+
};
|
|
1565
|
+
}
|
|
1546
1566
|
const res = await ppFetch2({
|
|
1547
1567
|
method: "POST",
|
|
1548
1568
|
url: "web-api/app/v1/payment/topup",
|
|
@@ -1552,15 +1572,12 @@ async function topup$3(queryParams, body2) {
|
|
|
1552
1572
|
if ((res == null ? void 0 : res.ppFetchResult) !== "success") {
|
|
1553
1573
|
return res;
|
|
1554
1574
|
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
amount: (_j = (_i = (_h = (_g = res == null ? void 0 : res.body) == null ? void 0 : _g.unsigned) == null ? void 0 : _h.data) == null ? void 0 : _i.amount) == null ? void 0 : _j.amount
|
|
1559
|
-
});
|
|
1560
|
-
}
|
|
1575
|
+
saveTopup({
|
|
1576
|
+
amount: (_d = (_c = (_b = (_a2 = res == null ? void 0 : res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.data) == null ? void 0 : _c.amount) == null ? void 0 : _d.amount
|
|
1577
|
+
});
|
|
1561
1578
|
return res;
|
|
1562
1579
|
}
|
|
1563
|
-
async function
|
|
1580
|
+
async function getWalletInfo() {
|
|
1564
1581
|
const result2 = await ppFetch2({
|
|
1565
1582
|
method: "GET",
|
|
1566
1583
|
url: "/web-api/app/platform/v1/balance",
|
|
@@ -1973,14 +1990,12 @@ function filterErrorButtonList(buttonList) {
|
|
|
1973
1990
|
return buttonList == null ? void 0 : buttonList.filter((button4) => {
|
|
1974
1991
|
var _a2, _b;
|
|
1975
1992
|
if (button4.actionType === UIComponentsButtonActionType.NATIVE) {
|
|
1976
|
-
return
|
|
1977
|
-
} else {
|
|
1978
|
-
if (isPayPayMiniApp() || button4.actionType === UIComponentsButtonActionType.CLOSE) {
|
|
1979
|
-
return true;
|
|
1980
|
-
} else {
|
|
1981
|
-
return (button4 == null ? void 0 : button4.deeplink) && isValidUrl(button4 == null ? void 0 : button4.deeplink) || ((_a2 = button4 == null ? void 0 : button4.deeplink) == null ? void 0 : _a2.startsWith("paypay://embed")) && ((_b = button4 == null ? void 0 : button4.deeplink) == null ? void 0 : _b.includes("?url="));
|
|
1982
|
-
}
|
|
1993
|
+
return button4.nativeAction === "SB_TOPUP_CONTINUE";
|
|
1983
1994
|
}
|
|
1995
|
+
if (isPayPayMiniApp() || button4.actionType === UIComponentsButtonActionType.CLOSE) {
|
|
1996
|
+
return true;
|
|
1997
|
+
}
|
|
1998
|
+
return (button4 == null ? void 0 : button4.deeplink) && isValidUrl(button4 == null ? void 0 : button4.deeplink) || ((_a2 = button4 == null ? void 0 : button4.deeplink) == null ? void 0 : _a2.startsWith("paypay://embed")) && ((_b = button4 == null ? void 0 : button4.deeplink) == null ? void 0 : _b.includes("?url="));
|
|
1984
1999
|
});
|
|
1985
2000
|
}
|
|
1986
2001
|
function getFailErrorCode(ppFetchResult) {
|
|
@@ -2090,7 +2105,7 @@ const opaUrl = () => {
|
|
|
2090
2105
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
2091
2106
|
const headers = new Headers({
|
|
2092
2107
|
"Content-Type": "application/json",
|
|
2093
|
-
"Client-Version": "1.
|
|
2108
|
+
"Client-Version": "1.76.0",
|
|
2094
2109
|
"Client-OS-Type": getRuntime(),
|
|
2095
2110
|
...customHeaders
|
|
2096
2111
|
});
|
|
@@ -7891,9 +7906,9 @@ const wallet = {
|
|
|
7891
7906
|
autoCharge: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8"
|
|
7892
7907
|
};
|
|
7893
7908
|
const payLater = {
|
|
7894
|
-
title: "
|
|
7909
|
+
title: "\u30AF\u30EC\u30B8\u30C3\u30C8\uFF08\u65E7\u3042\u3068\u6255\u3044\uFF09",
|
|
7895
7910
|
balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A",
|
|
7896
|
-
img: "https://image.paypay.ne.jp/miniapps/mini-app-sdk/
|
|
7911
|
+
img: "https://image.paypay.ne.jp/miniapps/mini-app-sdk/pp_credit.svg"
|
|
7897
7912
|
};
|
|
7898
7913
|
const topInfo = {
|
|
7899
7914
|
sufficientRow: "PayPay\u6B8B\u9AD8 (\u5229\u7528\u53EF\u80FD\u984D)",
|
|
@@ -7913,7 +7928,12 @@ const topup$2 = {
|
|
|
7913
7928
|
payBtn: "\u5186\u3092\u30C1\u30E3\u30FC\u30B8\u3059\u308B",
|
|
7914
7929
|
availableBalance: "\u73FE\u5728\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
|
|
7915
7930
|
availableBalanceAfter: "\u30C1\u30E3\u30FC\u30B8\u5F8C\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
|
|
7916
|
-
allBalance: "\u6B8B\u9AD8\u7DCF\u984D"
|
|
7931
|
+
allBalance: "\u6B8B\u9AD8\u7DCF\u984D",
|
|
7932
|
+
yen: "\u5186",
|
|
7933
|
+
feeNotIncluded: "\u624B\u6570\u6599\u5225",
|
|
7934
|
+
fee: "\u624B\u6570\u6599",
|
|
7935
|
+
topupAmount: "\u30C1\u30E3\u30FC\u30B8\u91D1\u984D",
|
|
7936
|
+
taxIncluded: "\uFF08\u7A0E\u8FBC\uFF09"
|
|
7917
7937
|
};
|
|
7918
7938
|
var strings = {
|
|
7919
7939
|
wallet,
|
|
@@ -7938,7 +7958,15 @@ function getRemoteStrings() {
|
|
|
7938
7958
|
}
|
|
7939
7959
|
throw new Error(resp.statusText);
|
|
7940
7960
|
}).then((json) => {
|
|
7941
|
-
remoteStrings.value
|
|
7961
|
+
const newStrings = { ...remoteStrings.value };
|
|
7962
|
+
for (const k in json) {
|
|
7963
|
+
const key2 = k;
|
|
7964
|
+
newStrings[key2] = {
|
|
7965
|
+
...newStrings[key2],
|
|
7966
|
+
...json[key2]
|
|
7967
|
+
};
|
|
7968
|
+
}
|
|
7969
|
+
remoteStrings.value = newStrings;
|
|
7942
7970
|
}).catch(() => {
|
|
7943
7971
|
console.warn("Remote strings fetching failed");
|
|
7944
7972
|
});
|
|
@@ -8067,14 +8095,14 @@ function copyToClipboard(copyTextParams) {
|
|
|
8067
8095
|
document.body.removeChild(textarea);
|
|
8068
8096
|
result2 ? (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params) : (_b = params == null ? void 0 : params.fail) == null ? void 0 : _b.call(params, { errorCode: MiniAppErrorType.other });
|
|
8069
8097
|
}
|
|
8070
|
-
var _sfc_main$
|
|
8098
|
+
var _sfc_main$1O = defineComponent({
|
|
8071
8099
|
name: "LoadingIndicator"
|
|
8072
8100
|
});
|
|
8073
8101
|
const loading$1 = "_loading_ovc6l_1";
|
|
8074
8102
|
const bounce = "_bounce_ovc6l_14";
|
|
8075
8103
|
const bounce1 = "_bounce1_ovc6l_14";
|
|
8076
8104
|
const bounce2 = "_bounce2_ovc6l_17";
|
|
8077
|
-
var style0$
|
|
8105
|
+
var style0$1x = {
|
|
8078
8106
|
loading: loading$1,
|
|
8079
8107
|
bounce,
|
|
8080
8108
|
bounce1,
|
|
@@ -8088,7 +8116,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
8088
8116
|
return target;
|
|
8089
8117
|
};
|
|
8090
8118
|
const _hoisted_1$Z = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
8091
|
-
function _sfc_render$
|
|
8119
|
+
function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8092
8120
|
return openBlock(), createElementBlock("div", {
|
|
8093
8121
|
class: normalizeClass(_ctx.$style.loading)
|
|
8094
8122
|
}, [
|
|
@@ -8101,11 +8129,11 @@ function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8101
8129
|
_hoisted_1$Z
|
|
8102
8130
|
], 2);
|
|
8103
8131
|
}
|
|
8104
|
-
const cssModules$
|
|
8105
|
-
cssModules$
|
|
8106
|
-
var LoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8132
|
+
const cssModules$1x = {};
|
|
8133
|
+
cssModules$1x["$style"] = style0$1x;
|
|
8134
|
+
var LoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1O], ["__cssModules", cssModules$1x]]);
|
|
8107
8135
|
const buttonWrapper = "_buttonWrapper_11lyn_2";
|
|
8108
|
-
const container$
|
|
8136
|
+
const container$C = "_container_11lyn_2";
|
|
8109
8137
|
const primary = "_primary_11lyn_32";
|
|
8110
8138
|
const focus = "_focus_11lyn_43";
|
|
8111
8139
|
const disabled$4 = "_disabled_11lyn_49";
|
|
@@ -8122,7 +8150,7 @@ const block = "_block_11lyn_242";
|
|
|
8122
8150
|
var styles$8 = {
|
|
8123
8151
|
"ppmna-default-font": "_ppmna-default-font_11lyn_1",
|
|
8124
8152
|
buttonWrapper,
|
|
8125
|
-
container: container$
|
|
8153
|
+
container: container$C,
|
|
8126
8154
|
primary,
|
|
8127
8155
|
focus,
|
|
8128
8156
|
disabled: disabled$4,
|
|
@@ -8434,11 +8462,17 @@ const ActionSheet = defineComponent({
|
|
|
8434
8462
|
containerClass: {
|
|
8435
8463
|
type: String,
|
|
8436
8464
|
default: ""
|
|
8465
|
+
},
|
|
8466
|
+
topSpacerStyle: {
|
|
8467
|
+
type: Object,
|
|
8468
|
+
required: false,
|
|
8469
|
+
default: null
|
|
8437
8470
|
}
|
|
8438
8471
|
},
|
|
8439
8472
|
emits: {
|
|
8440
8473
|
close: () => true,
|
|
8441
|
-
afterLeave: () => true
|
|
8474
|
+
afterLeave: () => true,
|
|
8475
|
+
transitionEnd: () => true
|
|
8442
8476
|
},
|
|
8443
8477
|
setup(props, {
|
|
8444
8478
|
slots,
|
|
@@ -8547,8 +8581,11 @@ const ActionSheet = defineComponent({
|
|
|
8547
8581
|
"onTouchstart": this.touchStart,
|
|
8548
8582
|
"onTouchend": this.touchEnd,
|
|
8549
8583
|
"onTouchmove": this.touchMove,
|
|
8584
|
+
"onTransitionend": () => this.$emit("transitionEnd"),
|
|
8550
8585
|
"style": this.parentStyle
|
|
8551
8586
|
}, [createVNode("div", {
|
|
8587
|
+
"style": this.topSpacerStyle
|
|
8588
|
+
}, null), createVNode("div", {
|
|
8552
8589
|
"class": [styles$6.actionSheetContainer, this.containerClass]
|
|
8553
8590
|
}, [(_b = (_a2 = this.slots).default) == null ? void 0 : _b.call(_a2)])]), [[vShow, this.show]])];
|
|
8554
8591
|
}
|
|
@@ -8658,7 +8695,7 @@ const img_iconInfo = url("icon-info.svg");
|
|
|
8658
8695
|
const img_paypayMulti = url("paypay.svg");
|
|
8659
8696
|
const img_mobileIcon = url("mobileicon.svg");
|
|
8660
8697
|
const img_exclaimIcon = url("exclaimationicon.svg");
|
|
8661
|
-
const _sfc_main$
|
|
8698
|
+
const _sfc_main$1N = defineComponent({
|
|
8662
8699
|
name: "FontSizeProvider",
|
|
8663
8700
|
setup() {
|
|
8664
8701
|
let fontSizeClass;
|
|
@@ -8679,14 +8716,14 @@ const _sfc_main$1J = defineComponent({
|
|
|
8679
8716
|
};
|
|
8680
8717
|
}
|
|
8681
8718
|
});
|
|
8682
|
-
function _sfc_render$
|
|
8719
|
+
function _sfc_render$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8683
8720
|
return openBlock(), createElementBlock("div", {
|
|
8684
8721
|
class: normalizeClass(_ctx.fontSizeClass)
|
|
8685
8722
|
}, [
|
|
8686
8723
|
renderSlot(_ctx.$slots, "default")
|
|
8687
8724
|
], 2);
|
|
8688
8725
|
}
|
|
8689
|
-
var FontSizeProvider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8726
|
+
var FontSizeProvider = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1N]]);
|
|
8690
8727
|
const errorContainer = "_errorContainer_rzmha_2";
|
|
8691
8728
|
const errorIcon = "_errorIcon_rzmha_15";
|
|
8692
8729
|
const unit$6 = "_unit_rzmha_22";
|
|
@@ -8694,7 +8731,7 @@ const errorTitle = "_errorTitle_rzmha_25";
|
|
|
8694
8731
|
const subTitle$2 = "_subTitle_rzmha_41";
|
|
8695
8732
|
const btnContainer$2 = "_btnContainer_rzmha_57";
|
|
8696
8733
|
const closeBtn$3 = "_closeBtn_rzmha_61";
|
|
8697
|
-
var style0$
|
|
8734
|
+
var style0$1w = {
|
|
8698
8735
|
"ppmna-default-font": "_ppmna-default-font_rzmha_1",
|
|
8699
8736
|
errorContainer,
|
|
8700
8737
|
errorIcon,
|
|
@@ -8704,7 +8741,7 @@ var style0$1s = {
|
|
|
8704
8741
|
btnContainer: btnContainer$2,
|
|
8705
8742
|
closeBtn: closeBtn$3
|
|
8706
8743
|
};
|
|
8707
|
-
const _sfc_main$
|
|
8744
|
+
const _sfc_main$1M = defineComponent({
|
|
8708
8745
|
components: {
|
|
8709
8746
|
ActionSheet,
|
|
8710
8747
|
Button,
|
|
@@ -8744,7 +8781,8 @@ const _sfc_main$1I = defineComponent({
|
|
|
8744
8781
|
}
|
|
8745
8782
|
},
|
|
8746
8783
|
emits: {
|
|
8747
|
-
"close-click": () => true
|
|
8784
|
+
"close-click": () => true,
|
|
8785
|
+
nativeAction: (_button) => true
|
|
8748
8786
|
},
|
|
8749
8787
|
setup(props, { emit }) {
|
|
8750
8788
|
const style = useCssModule();
|
|
@@ -8800,6 +8838,9 @@ const _sfc_main$1I = defineComponent({
|
|
|
8800
8838
|
}
|
|
8801
8839
|
});
|
|
8802
8840
|
return;
|
|
8841
|
+
} else if (buttonInfo.actionType === UIComponentsButtonActionType.NATIVE) {
|
|
8842
|
+
this.$emit("nativeAction", buttonInfo);
|
|
8843
|
+
return;
|
|
8803
8844
|
}
|
|
8804
8845
|
} else if (buttonInfo == null ? void 0 : buttonInfo.onClick) {
|
|
8805
8846
|
buttonInfo.onClick();
|
|
@@ -8824,7 +8865,7 @@ const _sfc_main$1I = defineComponent({
|
|
|
8824
8865
|
}
|
|
8825
8866
|
});
|
|
8826
8867
|
const _hoisted_1$Y = ["src"];
|
|
8827
|
-
function _sfc_render$
|
|
8868
|
+
function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8828
8869
|
const _component_Button = resolveComponent("Button");
|
|
8829
8870
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
8830
8871
|
const _component_FontSizeProvider = resolveComponent("FontSizeProvider");
|
|
@@ -8899,9 +8940,9 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8899
8940
|
_: 1
|
|
8900
8941
|
});
|
|
8901
8942
|
}
|
|
8902
|
-
const cssModules$
|
|
8903
|
-
cssModules$
|
|
8904
|
-
var ErrorSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8943
|
+
const cssModules$1w = {};
|
|
8944
|
+
cssModules$1w["$style"] = style0$1w;
|
|
8945
|
+
var ErrorSheet = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__cssModules", cssModules$1w]]);
|
|
8905
8946
|
const wrapperClass$r = "_wrapperClass_gfl29_2";
|
|
8906
8947
|
const openMapActionsheetContainer = "_openMapActionsheetContainer_gfl29_2";
|
|
8907
8948
|
const openMapTitle = "_openMapTitle_gfl29_13";
|
|
@@ -8910,7 +8951,7 @@ const divider = "_divider_gfl29_34";
|
|
|
8910
8951
|
const mapButton = "_mapButton_gfl29_37";
|
|
8911
8952
|
const closeBtn$2 = "_closeBtn_gfl29_52";
|
|
8912
8953
|
const mapList = "_mapList_gfl29_72";
|
|
8913
|
-
var style0$
|
|
8954
|
+
var style0$1v = {
|
|
8914
8955
|
"ppmna-default-font": "_ppmna-default-font_gfl29_1",
|
|
8915
8956
|
wrapperClass: wrapperClass$r,
|
|
8916
8957
|
openMapActionsheetContainer,
|
|
@@ -8921,7 +8962,7 @@ var style0$1r = {
|
|
|
8921
8962
|
closeBtn: closeBtn$2,
|
|
8922
8963
|
mapList
|
|
8923
8964
|
};
|
|
8924
|
-
const _sfc_main$
|
|
8965
|
+
const _sfc_main$1L = defineComponent({
|
|
8925
8966
|
components: {
|
|
8926
8967
|
ActionSheet,
|
|
8927
8968
|
Button,
|
|
@@ -8973,7 +9014,7 @@ const _sfc_main$1H = defineComponent({
|
|
|
8973
9014
|
}
|
|
8974
9015
|
}
|
|
8975
9016
|
});
|
|
8976
|
-
function _sfc_render$
|
|
9017
|
+
function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8977
9018
|
const _component_Divider = resolveComponent("Divider");
|
|
8978
9019
|
const _component_Button = resolveComponent("Button");
|
|
8979
9020
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -9047,9 +9088,9 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9047
9088
|
_: 1
|
|
9048
9089
|
});
|
|
9049
9090
|
}
|
|
9050
|
-
const cssModules$
|
|
9051
|
-
cssModules$
|
|
9052
|
-
var AppVue$a = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9091
|
+
const cssModules$1v = {};
|
|
9092
|
+
cssModules$1v["$style"] = style0$1v;
|
|
9093
|
+
var AppVue$a = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__cssModules", cssModules$1v]]);
|
|
9053
9094
|
const popStateHandler = (callback, inputParams) => {
|
|
9054
9095
|
const handlePopState = () => {
|
|
9055
9096
|
var _a2, _b;
|
|
@@ -9473,7 +9514,7 @@ const Header = defineComponent({
|
|
|
9473
9514
|
});
|
|
9474
9515
|
const headerWrapper = "_headerWrapper_9a8db_1";
|
|
9475
9516
|
const header$b = "_header_9a8db_1";
|
|
9476
|
-
const container$
|
|
9517
|
+
const container$B = "_container_9a8db_11";
|
|
9477
9518
|
const paypayIcon = "_paypayIcon_9a8db_19";
|
|
9478
9519
|
const rightAlign$6 = "_rightAlign_9a8db_30";
|
|
9479
9520
|
const storeName = "_storeName_9a8db_38";
|
|
@@ -9482,7 +9523,7 @@ const title$n = "_title_9a8db_56";
|
|
|
9482
9523
|
var styles$3 = {
|
|
9483
9524
|
headerWrapper,
|
|
9484
9525
|
header: header$b,
|
|
9485
|
-
container: container$
|
|
9526
|
+
container: container$B,
|
|
9486
9527
|
paypayIcon,
|
|
9487
9528
|
rightAlign: rightAlign$6,
|
|
9488
9529
|
storeName,
|
|
@@ -9600,7 +9641,7 @@ const enterActive = "_enterActive_tkctm_71";
|
|
|
9600
9641
|
const leaveActive = "_leaveActive_tkctm_76";
|
|
9601
9642
|
const enterTo = "_enterTo_tkctm_81";
|
|
9602
9643
|
const leaveTo = "_leaveTo_tkctm_85";
|
|
9603
|
-
var style0$
|
|
9644
|
+
var style0$1u = {
|
|
9604
9645
|
wrapperClass: wrapperClass$q,
|
|
9605
9646
|
breakDownList,
|
|
9606
9647
|
nonUsable,
|
|
@@ -9612,7 +9653,7 @@ var style0$1q = {
|
|
|
9612
9653
|
enterTo,
|
|
9613
9654
|
leaveTo
|
|
9614
9655
|
};
|
|
9615
|
-
const _sfc_main$
|
|
9656
|
+
const _sfc_main$1K = defineComponent({
|
|
9616
9657
|
props: {
|
|
9617
9658
|
wallet: {
|
|
9618
9659
|
type: Object,
|
|
@@ -9653,7 +9694,7 @@ const _sfc_main$1G = defineComponent({
|
|
|
9653
9694
|
};
|
|
9654
9695
|
}
|
|
9655
9696
|
});
|
|
9656
|
-
function _sfc_render$
|
|
9697
|
+
function _sfc_render$1K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9657
9698
|
return openBlock(), createElementBlock("div", {
|
|
9658
9699
|
class: normalizeClass(_ctx.$style.wrapperClass)
|
|
9659
9700
|
}, [
|
|
@@ -9716,9 +9757,9 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9716
9757
|
}, 8, ["enter-active-class", "leave-active-class", "enter-to-class", "leave-to-class"])
|
|
9717
9758
|
], 2);
|
|
9718
9759
|
}
|
|
9719
|
-
const cssModules$
|
|
9720
|
-
cssModules$
|
|
9721
|
-
var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9760
|
+
const cssModules$1u = {};
|
|
9761
|
+
cssModules$1u["$style"] = style0$1u;
|
|
9762
|
+
var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1K], ["__cssModules", cssModules$1u]]);
|
|
9722
9763
|
const wrapperClass$p = "_wrapperClass_58qfw_1";
|
|
9723
9764
|
const ppmnaPaymentTypeContainer$4 = "_ppmnaPaymentTypeContainer_58qfw_1";
|
|
9724
9765
|
const img$a = "_img_58qfw_4";
|
|
@@ -9738,7 +9779,7 @@ const chargeContainer = "_chargeContainer_58qfw_132";
|
|
|
9738
9779
|
const greenTick = "_greenTick_58qfw_142";
|
|
9739
9780
|
const autoCharge = "_autoCharge_58qfw_155";
|
|
9740
9781
|
const makePaymentRightAlign = "_makePaymentRightAlign_58qfw_170";
|
|
9741
|
-
var style0$
|
|
9782
|
+
var style0$1t = {
|
|
9742
9783
|
wrapperClass: wrapperClass$p,
|
|
9743
9784
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$4,
|
|
9744
9785
|
img: img$a,
|
|
@@ -9759,7 +9800,7 @@ var style0$1p = {
|
|
|
9759
9800
|
autoCharge,
|
|
9760
9801
|
makePaymentRightAlign
|
|
9761
9802
|
};
|
|
9762
|
-
const _sfc_main$
|
|
9803
|
+
const _sfc_main$1J = defineComponent({
|
|
9763
9804
|
components: {
|
|
9764
9805
|
WalletBreakdown
|
|
9765
9806
|
},
|
|
@@ -9806,7 +9847,7 @@ const _sfc_main$1F = defineComponent({
|
|
|
9806
9847
|
});
|
|
9807
9848
|
const _hoisted_1$X = ["src"];
|
|
9808
9849
|
const _hoisted_2$r = ["src"];
|
|
9809
|
-
function _sfc_render$
|
|
9850
|
+
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9810
9851
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
9811
9852
|
return openBlock(), createElementBlock("div", {
|
|
9812
9853
|
class: normalizeClass([
|
|
@@ -9871,9 +9912,9 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9871
9912
|
], 2)
|
|
9872
9913
|
], 2);
|
|
9873
9914
|
}
|
|
9874
|
-
const cssModules$
|
|
9875
|
-
cssModules$
|
|
9876
|
-
var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9915
|
+
const cssModules$1t = {};
|
|
9916
|
+
cssModules$1t["$style"] = style0$1t;
|
|
9917
|
+
var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__cssModules", cssModules$1t]]);
|
|
9877
9918
|
const wrapperClass$o = "_wrapperClass_393iu_1";
|
|
9878
9919
|
const ppmnaPaymentTypeContainer$3 = "_ppmnaPaymentTypeContainer_393iu_1";
|
|
9879
9920
|
const img$9 = "_img_393iu_4";
|
|
@@ -9897,7 +9938,7 @@ const notAuthenticated = "_notAuthenticated_393iu_170";
|
|
|
9897
9938
|
const authorizedImg$1 = "_authorizedImg_393iu_173";
|
|
9898
9939
|
const unAuthorizedImg$1 = "_unAuthorizedImg_393iu_182";
|
|
9899
9940
|
const creditCard$1 = "_creditCard_393iu_190";
|
|
9900
|
-
var style0$
|
|
9941
|
+
var style0$1s = {
|
|
9901
9942
|
wrapperClass: wrapperClass$o,
|
|
9902
9943
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$3,
|
|
9903
9944
|
img: img$9,
|
|
@@ -9929,7 +9970,7 @@ const creditCardMap$1 = {
|
|
|
9929
9970
|
[CreditTypes.AMEX]: img_amex,
|
|
9930
9971
|
yj: img_yahoo
|
|
9931
9972
|
};
|
|
9932
|
-
const _sfc_main$
|
|
9973
|
+
const _sfc_main$1I = defineComponent({
|
|
9933
9974
|
props: {
|
|
9934
9975
|
credit: {
|
|
9935
9976
|
type: Object,
|
|
@@ -10006,7 +10047,7 @@ const _sfc_main$1E = defineComponent({
|
|
|
10006
10047
|
});
|
|
10007
10048
|
const _hoisted_1$W = ["src"];
|
|
10008
10049
|
const _hoisted_2$q = ["src"];
|
|
10009
|
-
function _sfc_render$
|
|
10050
|
+
function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10010
10051
|
return openBlock(), createElementBlock("div", {
|
|
10011
10052
|
class: normalizeClass([
|
|
10012
10053
|
_ctx.style.wrapperClass,
|
|
@@ -10065,9 +10106,9 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10065
10106
|
], 2)
|
|
10066
10107
|
], 2);
|
|
10067
10108
|
}
|
|
10068
|
-
const cssModules$
|
|
10069
|
-
cssModules$
|
|
10070
|
-
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10109
|
+
const cssModules$1s = {};
|
|
10110
|
+
cssModules$1s["$style"] = style0$1s;
|
|
10111
|
+
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1I], ["__cssModules", cssModules$1s]]);
|
|
10071
10112
|
const wrapperClass$n = "_wrapperClass_oyayt_1";
|
|
10072
10113
|
const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_oyayt_1";
|
|
10073
10114
|
const img$8 = "_img_oyayt_4";
|
|
@@ -10088,7 +10129,7 @@ const content$g = "_content_oyayt_142";
|
|
|
10088
10129
|
const roundContainer = "_roundContainer_oyayt_146";
|
|
10089
10130
|
const round$2 = "_round_oyayt_27";
|
|
10090
10131
|
const bankName = "_bankName_oyayt_152";
|
|
10091
|
-
var style0$
|
|
10132
|
+
var style0$1r = {
|
|
10092
10133
|
wrapperClass: wrapperClass$n,
|
|
10093
10134
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$2,
|
|
10094
10135
|
img: img$8,
|
|
@@ -10119,7 +10160,7 @@ const getTypeText$2 = (val2) => {
|
|
|
10119
10160
|
return "";
|
|
10120
10161
|
}
|
|
10121
10162
|
};
|
|
10122
|
-
const _sfc_main$
|
|
10163
|
+
const _sfc_main$1H = defineComponent({
|
|
10123
10164
|
props: {
|
|
10124
10165
|
bank: {
|
|
10125
10166
|
type: Object,
|
|
@@ -10180,7 +10221,7 @@ const _sfc_main$1D = defineComponent({
|
|
|
10180
10221
|
}
|
|
10181
10222
|
});
|
|
10182
10223
|
const _hoisted_1$V = ["src"];
|
|
10183
|
-
function _sfc_render$
|
|
10224
|
+
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10184
10225
|
return openBlock(), createElementBlock("div", {
|
|
10185
10226
|
class: normalizeClass([
|
|
10186
10227
|
_ctx.style.wrapperClass,
|
|
@@ -10239,9 +10280,53 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10239
10280
|
], 2)
|
|
10240
10281
|
], 2);
|
|
10241
10282
|
}
|
|
10242
|
-
const cssModules$
|
|
10243
|
-
cssModules$
|
|
10244
|
-
var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10283
|
+
const cssModules$1r = {};
|
|
10284
|
+
cssModules$1r["$style"] = style0$1r;
|
|
10285
|
+
var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__cssModules", cssModules$1r]]);
|
|
10286
|
+
const label$9 = "_label_3ko5y_1";
|
|
10287
|
+
var style0$1q = {
|
|
10288
|
+
label: label$9
|
|
10289
|
+
};
|
|
10290
|
+
const _sfc_main$1G = defineComponent({
|
|
10291
|
+
name: "DescriptionInfoLabel",
|
|
10292
|
+
props: {
|
|
10293
|
+
descriptionInfo: {
|
|
10294
|
+
type: Object,
|
|
10295
|
+
default: void 0
|
|
10296
|
+
}
|
|
10297
|
+
},
|
|
10298
|
+
computed: {
|
|
10299
|
+
style() {
|
|
10300
|
+
if (!this.descriptionInfo) {
|
|
10301
|
+
return {};
|
|
10302
|
+
}
|
|
10303
|
+
const style = {
|
|
10304
|
+
color: this.descriptionInfo.color
|
|
10305
|
+
};
|
|
10306
|
+
if (this.descriptionInfo.isBold) {
|
|
10307
|
+
style.fontWeight = "bold";
|
|
10308
|
+
}
|
|
10309
|
+
if (this.descriptionInfo.backgroundColor) {
|
|
10310
|
+
style.backgroundColor = this.descriptionInfo.backgroundColor;
|
|
10311
|
+
}
|
|
10312
|
+
return style;
|
|
10313
|
+
},
|
|
10314
|
+
label() {
|
|
10315
|
+
var _a2, _b;
|
|
10316
|
+
return (_b = (_a2 = this.descriptionInfo) == null ? void 0 : _a2.text) != null ? _b : "";
|
|
10317
|
+
}
|
|
10318
|
+
}
|
|
10319
|
+
});
|
|
10320
|
+
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10321
|
+
return _ctx.descriptionInfo ? (openBlock(), createElementBlock("span", {
|
|
10322
|
+
key: 0,
|
|
10323
|
+
class: normalizeClass(_ctx.$style.label),
|
|
10324
|
+
style: normalizeStyle(_ctx.style)
|
|
10325
|
+
}, toDisplayString(_ctx.label), 7)) : createCommentVNode("", true);
|
|
10326
|
+
}
|
|
10327
|
+
const cssModules$1q = {};
|
|
10328
|
+
cssModules$1q["$style"] = style0$1q;
|
|
10329
|
+
var DescriptionInfoLabel = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1G], ["__cssModules", cssModules$1q]]);
|
|
10245
10330
|
const wrapperClass$m = "_wrapperClass_kakbh_1";
|
|
10246
10331
|
const ppmnaPaymentTypeContainer$1 = "_ppmnaPaymentTypeContainer_kakbh_1";
|
|
10247
10332
|
const img$7 = "_img_kakbh_4";
|
|
@@ -10254,12 +10339,12 @@ const makePaymentTypeContainer$1 = "_makePaymentTypeContainer_kakbh_80";
|
|
|
10254
10339
|
const arrowContainer$3 = "_arrowContainer_kakbh_85";
|
|
10255
10340
|
const arrowRight$1 = "_arrowRight_kakbh_88";
|
|
10256
10341
|
const makePaymentArrowContainer$1 = "_makePaymentArrowContainer_kakbh_98";
|
|
10257
|
-
const container$
|
|
10342
|
+
const container$A = "_container_kakbh_107";
|
|
10258
10343
|
const sbidImg = "_sbidImg_kakbh_119";
|
|
10259
10344
|
const content$f = "_content_kakbh_127";
|
|
10260
10345
|
const desc1 = "_desc1_kakbh_140";
|
|
10261
10346
|
const desc2 = "_desc2_kakbh_152";
|
|
10262
|
-
var style0$
|
|
10347
|
+
var style0$1p = {
|
|
10263
10348
|
wrapperClass: wrapperClass$m,
|
|
10264
10349
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$1,
|
|
10265
10350
|
img: img$7,
|
|
@@ -10272,13 +10357,14 @@ var style0$1m = {
|
|
|
10272
10357
|
arrowContainer: arrowContainer$3,
|
|
10273
10358
|
arrowRight: arrowRight$1,
|
|
10274
10359
|
makePaymentArrowContainer: makePaymentArrowContainer$1,
|
|
10275
|
-
container: container$
|
|
10360
|
+
container: container$A,
|
|
10276
10361
|
sbidImg,
|
|
10277
10362
|
content: content$f,
|
|
10278
10363
|
desc1,
|
|
10279
10364
|
desc2
|
|
10280
10365
|
};
|
|
10281
|
-
const _sfc_main$
|
|
10366
|
+
const _sfc_main$1F = defineComponent({
|
|
10367
|
+
components: { DescriptionInfoLabel },
|
|
10282
10368
|
props: {
|
|
10283
10369
|
sbid: {
|
|
10284
10370
|
type: Object,
|
|
@@ -10308,7 +10394,9 @@ const _sfc_main$1C = defineComponent({
|
|
|
10308
10394
|
}
|
|
10309
10395
|
});
|
|
10310
10396
|
const _hoisted_1$U = ["src"];
|
|
10311
|
-
function _sfc_render$
|
|
10397
|
+
function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10398
|
+
var _a2;
|
|
10399
|
+
const _component_DescriptionInfoLabel = resolveComponent("DescriptionInfoLabel");
|
|
10312
10400
|
return openBlock(), createElementBlock("div", {
|
|
10313
10401
|
class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.container])
|
|
10314
10402
|
}, [
|
|
@@ -10327,7 +10415,10 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10327
10415
|
}, toDisplayString(_ctx.lg.softbank.desc), 3),
|
|
10328
10416
|
createBaseVNode("div", {
|
|
10329
10417
|
class: normalizeClass(_ctx.$style.desc2)
|
|
10330
|
-
}, toDisplayString(_ctx.lg.softbank.desc1), 3)
|
|
10418
|
+
}, toDisplayString(_ctx.lg.softbank.desc1), 3),
|
|
10419
|
+
createVNode(_component_DescriptionInfoLabel, {
|
|
10420
|
+
"description-info": (_a2 = _ctx.sbid.paymentMethodDescriptionInfo) == null ? void 0 : _a2.label
|
|
10421
|
+
}, null, 8, ["description-info"])
|
|
10331
10422
|
], 2),
|
|
10332
10423
|
createBaseVNode("span", {
|
|
10333
10424
|
class: normalizeClass([
|
|
@@ -10343,9 +10434,9 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10343
10434
|
], 2)
|
|
10344
10435
|
], 2);
|
|
10345
10436
|
}
|
|
10346
|
-
const cssModules$
|
|
10347
|
-
cssModules$
|
|
10348
|
-
var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10437
|
+
const cssModules$1p = {};
|
|
10438
|
+
cssModules$1p["$style"] = style0$1p;
|
|
10439
|
+
var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1F], ["__cssModules", cssModules$1p]]);
|
|
10349
10440
|
const wrapperClass$l = "_wrapperClass_143kb_1";
|
|
10350
10441
|
const ppmnaPaymentTypeContainer = "_ppmnaPaymentTypeContainer_143kb_1";
|
|
10351
10442
|
const img$6 = "_img_143kb_4";
|
|
@@ -10358,10 +10449,10 @@ const makePaymentTypeContainer = "_makePaymentTypeContainer_143kb_80";
|
|
|
10358
10449
|
const arrowContainer$2 = "_arrowContainer_143kb_85";
|
|
10359
10450
|
const arrowRight = "_arrowRight_143kb_88";
|
|
10360
10451
|
const makePaymentArrowContainer = "_makePaymentArrowContainer_143kb_98";
|
|
10361
|
-
const container$
|
|
10452
|
+
const container$z = "_container_143kb_108";
|
|
10362
10453
|
const subTitle = "_subTitle_143kb_113";
|
|
10363
10454
|
const imageContainer$5 = "_imageContainer_143kb_126";
|
|
10364
|
-
var style0$
|
|
10455
|
+
var style0$1o = {
|
|
10365
10456
|
wrapperClass: wrapperClass$l,
|
|
10366
10457
|
ppmnaPaymentTypeContainer,
|
|
10367
10458
|
img: img$6,
|
|
@@ -10374,11 +10465,11 @@ var style0$1l = {
|
|
|
10374
10465
|
arrowContainer: arrowContainer$2,
|
|
10375
10466
|
arrowRight,
|
|
10376
10467
|
makePaymentArrowContainer,
|
|
10377
|
-
container: container$
|
|
10468
|
+
container: container$z,
|
|
10378
10469
|
subTitle,
|
|
10379
10470
|
imageContainer: imageContainer$5
|
|
10380
10471
|
};
|
|
10381
|
-
const _sfc_main$
|
|
10472
|
+
const _sfc_main$1E = defineComponent({
|
|
10382
10473
|
props: {
|
|
10383
10474
|
payLater: {
|
|
10384
10475
|
type: Object,
|
|
@@ -10409,7 +10500,7 @@ const _sfc_main$1B = defineComponent({
|
|
|
10409
10500
|
}
|
|
10410
10501
|
});
|
|
10411
10502
|
const _hoisted_1$T = ["src"];
|
|
10412
|
-
function _sfc_render$
|
|
10503
|
+
function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10413
10504
|
return openBlock(), createElementBlock("div", {
|
|
10414
10505
|
class: normalizeClass([
|
|
10415
10506
|
_ctx.$style.wrapperClass,
|
|
@@ -10451,9 +10542,9 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10451
10542
|
], 2)
|
|
10452
10543
|
], 2);
|
|
10453
10544
|
}
|
|
10454
|
-
const cssModules$
|
|
10455
|
-
cssModules$
|
|
10456
|
-
var PayLaterType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10545
|
+
const cssModules$1o = {};
|
|
10546
|
+
cssModules$1o["$style"] = style0$1o;
|
|
10547
|
+
var PayLaterType = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__cssModules", cssModules$1o]]);
|
|
10457
10548
|
const PaymentType = defineComponent({
|
|
10458
10549
|
props: {
|
|
10459
10550
|
paymentMethod: {
|
|
@@ -16220,8 +16311,8 @@ var lottie_svg = { exports: {} };
|
|
|
16220
16311
|
}
|
|
16221
16312
|
function offsetSegmentSplit(segment, amount2) {
|
|
16222
16313
|
var flex = segment.inflectionPoints();
|
|
16223
|
-
var
|
|
16224
|
-
var
|
|
16314
|
+
var left2;
|
|
16315
|
+
var right2;
|
|
16225
16316
|
var split;
|
|
16226
16317
|
var mid;
|
|
16227
16318
|
if (flex.length === 0) {
|
|
@@ -16229,17 +16320,17 @@ var lottie_svg = { exports: {} };
|
|
|
16229
16320
|
}
|
|
16230
16321
|
if (flex.length === 1 || floatEqual(flex[1], 1)) {
|
|
16231
16322
|
split = segment.split(flex[0]);
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
return [offsetSegment(
|
|
16323
|
+
left2 = split[0];
|
|
16324
|
+
right2 = split[1];
|
|
16325
|
+
return [offsetSegment(left2, amount2), offsetSegment(right2, amount2)];
|
|
16235
16326
|
}
|
|
16236
16327
|
split = segment.split(flex[0]);
|
|
16237
|
-
|
|
16328
|
+
left2 = split[0];
|
|
16238
16329
|
var t = (flex[1] - flex[0]) / (1 - flex[0]);
|
|
16239
16330
|
split = split[1].split(t);
|
|
16240
16331
|
mid = split[0];
|
|
16241
|
-
|
|
16242
|
-
return [offsetSegment(
|
|
16332
|
+
right2 = split[1];
|
|
16333
|
+
return [offsetSegment(left2, amount2), offsetSegment(mid, amount2), offsetSegment(right2, amount2)];
|
|
16243
16334
|
}
|
|
16244
16335
|
function OffsetPathModifier() {
|
|
16245
16336
|
}
|
|
@@ -23885,23 +23976,23 @@ const Lottie = defineComponent({
|
|
|
23885
23976
|
}
|
|
23886
23977
|
});
|
|
23887
23978
|
const wrapperClass$k = "_wrapperClass_9d27x_7";
|
|
23888
|
-
const container$
|
|
23979
|
+
const container$y = "_container_9d27x_7";
|
|
23889
23980
|
const header$a = "_header_9d27x_21";
|
|
23890
23981
|
const arrow$2 = "_arrow_9d27x_36";
|
|
23891
23982
|
const address$1 = "_address_9d27x_45";
|
|
23892
23983
|
const arrowContainer$1 = "_arrowContainer_9d27x_62";
|
|
23893
23984
|
const text$7 = "_text_9d27x_73";
|
|
23894
|
-
var style0$
|
|
23985
|
+
var style0$1n = {
|
|
23895
23986
|
"ppmna-default-font": "_ppmna-default-font_9d27x_1",
|
|
23896
23987
|
wrapperClass: wrapperClass$k,
|
|
23897
|
-
container: container$
|
|
23988
|
+
container: container$y,
|
|
23898
23989
|
header: header$a,
|
|
23899
23990
|
arrow: arrow$2,
|
|
23900
23991
|
address: address$1,
|
|
23901
23992
|
arrowContainer: arrowContainer$1,
|
|
23902
23993
|
text: text$7
|
|
23903
23994
|
};
|
|
23904
|
-
const _sfc_main$
|
|
23995
|
+
const _sfc_main$1D = defineComponent({
|
|
23905
23996
|
name: "AddressInfo",
|
|
23906
23997
|
components: {},
|
|
23907
23998
|
props: {
|
|
@@ -23943,7 +24034,7 @@ const _sfc_main$1A = defineComponent({
|
|
|
23943
24034
|
};
|
|
23944
24035
|
}
|
|
23945
24036
|
});
|
|
23946
|
-
function _sfc_render$
|
|
24037
|
+
function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23947
24038
|
return openBlock(), createElementBlock("div", {
|
|
23948
24039
|
class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.container])
|
|
23949
24040
|
}, [
|
|
@@ -23975,28 +24066,28 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23975
24066
|
], 2)
|
|
23976
24067
|
], 2);
|
|
23977
24068
|
}
|
|
23978
|
-
const cssModules$
|
|
23979
|
-
cssModules$
|
|
23980
|
-
var AddressInfo$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24069
|
+
const cssModules$1n = {};
|
|
24070
|
+
cssModules$1n["$style"] = style0$1n;
|
|
24071
|
+
var AddressInfo$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1D], ["__cssModules", cssModules$1n]]);
|
|
23981
24072
|
const wrapperClass$j = "_wrapperClass_1hn03_1";
|
|
23982
24073
|
const paymentMethodContainer$4 = "_paymentMethodContainer_1hn03_1";
|
|
23983
24074
|
const imageWrapper$3 = "_imageWrapper_1hn03_6";
|
|
23984
24075
|
const imageContainer$4 = "_imageContainer_1hn03_10";
|
|
23985
24076
|
const roundStylePaymentMethod$3 = "_roundStylePaymentMethod_1hn03_19";
|
|
23986
|
-
const label$
|
|
24077
|
+
const label$8 = "_label_1hn03_23";
|
|
23987
24078
|
const mainLabel$4 = "_mainLabel_1hn03_30";
|
|
23988
24079
|
const subLabel$4 = "_subLabel_1hn03_45";
|
|
23989
24080
|
const invalid$5 = "_invalid_1hn03_62";
|
|
23990
24081
|
const rightAlign$5 = "_rightAlign_1hn03_82";
|
|
23991
24082
|
const paymentMethodDisabled$4 = "_paymentMethodDisabled_1hn03_87";
|
|
23992
24083
|
const img$5 = "_img_1hn03_92";
|
|
23993
|
-
var style0$
|
|
24084
|
+
var style0$1m = {
|
|
23994
24085
|
wrapperClass: wrapperClass$j,
|
|
23995
24086
|
paymentMethodContainer: paymentMethodContainer$4,
|
|
23996
24087
|
imageWrapper: imageWrapper$3,
|
|
23997
24088
|
imageContainer: imageContainer$4,
|
|
23998
24089
|
roundStylePaymentMethod: roundStylePaymentMethod$3,
|
|
23999
|
-
label: label$
|
|
24090
|
+
label: label$8,
|
|
24000
24091
|
mainLabel: mainLabel$4,
|
|
24001
24092
|
subLabel: subLabel$4,
|
|
24002
24093
|
invalid: invalid$5,
|
|
@@ -24004,7 +24095,7 @@ var style0$1j = {
|
|
|
24004
24095
|
paymentMethodDisabled: paymentMethodDisabled$4,
|
|
24005
24096
|
img: img$5
|
|
24006
24097
|
};
|
|
24007
|
-
const _sfc_main$
|
|
24098
|
+
const _sfc_main$1C = defineComponent({
|
|
24008
24099
|
components: {
|
|
24009
24100
|
WalletBreakdown
|
|
24010
24101
|
},
|
|
@@ -24063,7 +24154,7 @@ const _sfc_main$1z = defineComponent({
|
|
|
24063
24154
|
}
|
|
24064
24155
|
});
|
|
24065
24156
|
const _hoisted_1$S = ["src"];
|
|
24066
|
-
function _sfc_render$
|
|
24157
|
+
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24067
24158
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
24068
24159
|
return openBlock(), createElementBlock("div", {
|
|
24069
24160
|
class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer]),
|
|
@@ -24092,15 +24183,15 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24092
24183
|
], 2)
|
|
24093
24184
|
], 2);
|
|
24094
24185
|
}
|
|
24095
|
-
const cssModules$
|
|
24096
|
-
cssModules$
|
|
24097
|
-
var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24186
|
+
const cssModules$1m = {};
|
|
24187
|
+
cssModules$1m["$style"] = style0$1m;
|
|
24188
|
+
var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1C], ["__cssModules", cssModules$1m]]);
|
|
24098
24189
|
const wrapperClass$i = "_wrapperClass_1as6p_1";
|
|
24099
24190
|
const paymentMethodContainer$3 = "_paymentMethodContainer_1as6p_1";
|
|
24100
24191
|
const imageWrapper$2 = "_imageWrapper_1as6p_6";
|
|
24101
24192
|
const imageContainer$3 = "_imageContainer_1as6p_10";
|
|
24102
24193
|
const roundStylePaymentMethod$2 = "_roundStylePaymentMethod_1as6p_19";
|
|
24103
|
-
const label$
|
|
24194
|
+
const label$7 = "_label_1as6p_23";
|
|
24104
24195
|
const mainLabel$3 = "_mainLabel_1as6p_30";
|
|
24105
24196
|
const subLabel$3 = "_subLabel_1as6p_45";
|
|
24106
24197
|
const invalid$4 = "_invalid_1as6p_62";
|
|
@@ -24120,13 +24211,13 @@ const paymentInfo$3 = "_paymentInfo_1as6p_158";
|
|
|
24120
24211
|
const fullWidth$1 = "_fullWidth_1as6p_161";
|
|
24121
24212
|
const cardInfo = "_cardInfo_1as6p_165";
|
|
24122
24213
|
const additionDescription = "_additionDescription_1as6p_171";
|
|
24123
|
-
var style0$
|
|
24214
|
+
var style0$1l = {
|
|
24124
24215
|
wrapperClass: wrapperClass$i,
|
|
24125
24216
|
paymentMethodContainer: paymentMethodContainer$3,
|
|
24126
24217
|
imageWrapper: imageWrapper$2,
|
|
24127
24218
|
imageContainer: imageContainer$3,
|
|
24128
24219
|
roundStylePaymentMethod: roundStylePaymentMethod$2,
|
|
24129
|
-
label: label$
|
|
24220
|
+
label: label$7,
|
|
24130
24221
|
mainLabel: mainLabel$3,
|
|
24131
24222
|
subLabel: subLabel$3,
|
|
24132
24223
|
invalid: invalid$4,
|
|
@@ -24153,7 +24244,7 @@ const creditCardMap = {
|
|
|
24153
24244
|
[CreditTypes.MASTER]: img_master,
|
|
24154
24245
|
[CreditTypes.AMEX]: img_amex
|
|
24155
24246
|
};
|
|
24156
|
-
const _sfc_main$
|
|
24247
|
+
const _sfc_main$1B = defineComponent({
|
|
24157
24248
|
components: {
|
|
24158
24249
|
Button
|
|
24159
24250
|
},
|
|
@@ -24294,7 +24385,7 @@ const _sfc_main$1y = defineComponent({
|
|
|
24294
24385
|
const _hoisted_1$R = ["src"];
|
|
24295
24386
|
const _hoisted_2$p = ["src"];
|
|
24296
24387
|
const _hoisted_3$b = ["onClick"];
|
|
24297
|
-
function _sfc_render$
|
|
24388
|
+
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24298
24389
|
const _component_Button = resolveComponent("Button");
|
|
24299
24390
|
return openBlock(), createElementBlock("div", {
|
|
24300
24391
|
class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass]),
|
|
@@ -24388,15 +24479,15 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24388
24479
|
], 2)
|
|
24389
24480
|
], 2);
|
|
24390
24481
|
}
|
|
24391
|
-
const cssModules$
|
|
24392
|
-
cssModules$
|
|
24393
|
-
var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24482
|
+
const cssModules$1l = {};
|
|
24483
|
+
cssModules$1l["$style"] = style0$1l;
|
|
24484
|
+
var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__cssModules", cssModules$1l]]);
|
|
24394
24485
|
const wrapperClass$h = "_wrapperClass_mgpn8_1";
|
|
24395
24486
|
const paymentMethodContainer$2 = "_paymentMethodContainer_mgpn8_1";
|
|
24396
24487
|
const imageWrapper$1 = "_imageWrapper_mgpn8_6";
|
|
24397
24488
|
const imageContainer$2 = "_imageContainer_mgpn8_10";
|
|
24398
24489
|
const roundStylePaymentMethod$1 = "_roundStylePaymentMethod_mgpn8_19";
|
|
24399
|
-
const label$
|
|
24490
|
+
const label$6 = "_label_mgpn8_23";
|
|
24400
24491
|
const mainLabel$2 = "_mainLabel_mgpn8_30";
|
|
24401
24492
|
const subLabel$2 = "_subLabel_mgpn8_45";
|
|
24402
24493
|
const invalid$3 = "_invalid_mgpn8_62";
|
|
@@ -24409,13 +24500,13 @@ const balance = "_balance_mgpn8_113";
|
|
|
24409
24500
|
const maintainanceInfo$2 = "_maintainanceInfo_mgpn8_119";
|
|
24410
24501
|
const paymentInfo$2 = "_paymentInfo_mgpn8_133";
|
|
24411
24502
|
const fullWidth = "_fullWidth_mgpn8_136";
|
|
24412
|
-
var style0$
|
|
24503
|
+
var style0$1k = {
|
|
24413
24504
|
wrapperClass: wrapperClass$h,
|
|
24414
24505
|
paymentMethodContainer: paymentMethodContainer$2,
|
|
24415
24506
|
imageWrapper: imageWrapper$1,
|
|
24416
24507
|
imageContainer: imageContainer$2,
|
|
24417
24508
|
roundStylePaymentMethod: roundStylePaymentMethod$1,
|
|
24418
|
-
label: label$
|
|
24509
|
+
label: label$6,
|
|
24419
24510
|
mainLabel: mainLabel$2,
|
|
24420
24511
|
subLabel: subLabel$2,
|
|
24421
24512
|
invalid: invalid$3,
|
|
@@ -24438,7 +24529,7 @@ const getTypeText$1 = (val2) => {
|
|
|
24438
24529
|
return "";
|
|
24439
24530
|
}
|
|
24440
24531
|
};
|
|
24441
|
-
const _sfc_main$
|
|
24532
|
+
const _sfc_main$1A = defineComponent({
|
|
24442
24533
|
components: {
|
|
24443
24534
|
Button
|
|
24444
24535
|
},
|
|
@@ -24553,7 +24644,7 @@ const _sfc_main$1x = defineComponent({
|
|
|
24553
24644
|
});
|
|
24554
24645
|
const _hoisted_1$Q = ["src"];
|
|
24555
24646
|
const _hoisted_2$o = ["onClick"];
|
|
24556
|
-
function _sfc_render$
|
|
24647
|
+
function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24557
24648
|
const _component_Button = resolveComponent("Button");
|
|
24558
24649
|
return openBlock(), createElementBlock("div", {
|
|
24559
24650
|
class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass]),
|
|
@@ -24632,11 +24723,11 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24632
24723
|
], 2)
|
|
24633
24724
|
], 2);
|
|
24634
24725
|
}
|
|
24635
|
-
const cssModules$
|
|
24636
|
-
cssModules$
|
|
24637
|
-
var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24726
|
+
const cssModules$1k = {};
|
|
24727
|
+
cssModules$1k["$style"] = style0$1k;
|
|
24728
|
+
var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__cssModules", cssModules$1k]]);
|
|
24638
24729
|
const wrapperClass$g = "_wrapperClass_4g7cx_1";
|
|
24639
|
-
const container$
|
|
24730
|
+
const container$x = "_container_4g7cx_1";
|
|
24640
24731
|
const imageContainer$1 = "_imageContainer_4g7cx_7";
|
|
24641
24732
|
const img$2 = "_img_4g7cx_10";
|
|
24642
24733
|
const content$e = "_content_4g7cx_15";
|
|
@@ -24649,9 +24740,9 @@ const centerAlign = "_centerAlign_4g7cx_46";
|
|
|
24649
24740
|
const maintainanceInfo$1 = "_maintainanceInfo_4g7cx_49";
|
|
24650
24741
|
const invalid$2 = "_invalid_4g7cx_55";
|
|
24651
24742
|
const paymentMethodDisabled$1 = "_paymentMethodDisabled_4g7cx_66";
|
|
24652
|
-
var style0$
|
|
24743
|
+
var style0$1j = {
|
|
24653
24744
|
wrapperClass: wrapperClass$g,
|
|
24654
|
-
container: container$
|
|
24745
|
+
container: container$x,
|
|
24655
24746
|
imageContainer: imageContainer$1,
|
|
24656
24747
|
img: img$2,
|
|
24657
24748
|
content: content$e,
|
|
@@ -24665,9 +24756,10 @@ var style0$1g = {
|
|
|
24665
24756
|
invalid: invalid$2,
|
|
24666
24757
|
paymentMethodDisabled: paymentMethodDisabled$1
|
|
24667
24758
|
};
|
|
24668
|
-
const _sfc_main$
|
|
24759
|
+
const _sfc_main$1z = defineComponent({
|
|
24669
24760
|
components: {
|
|
24670
|
-
Button
|
|
24761
|
+
Button,
|
|
24762
|
+
DescriptionInfoLabel
|
|
24671
24763
|
},
|
|
24672
24764
|
props: {
|
|
24673
24765
|
sbid: {
|
|
@@ -24731,8 +24823,10 @@ const _sfc_main$1w = defineComponent({
|
|
|
24731
24823
|
});
|
|
24732
24824
|
const _hoisted_1$P = ["src"];
|
|
24733
24825
|
const _hoisted_2$n = ["onClick"];
|
|
24734
|
-
function _sfc_render$
|
|
24826
|
+
function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24827
|
+
var _a2;
|
|
24735
24828
|
const _component_Button = resolveComponent("Button");
|
|
24829
|
+
const _component_DescriptionInfoLabel = resolveComponent("DescriptionInfoLabel");
|
|
24736
24830
|
return openBlock(), createElementBlock("div", {
|
|
24737
24831
|
class: normalizeClass([
|
|
24738
24832
|
_ctx.style.wrapperClass,
|
|
@@ -24794,16 +24888,19 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24794
24888
|
style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
|
|
24795
24889
|
onClick: ($event) => _ctx.handleClick($event, info2)
|
|
24796
24890
|
}, toDisplayString(info2.text), 15, _hoisted_2$n);
|
|
24797
|
-
}), 128))
|
|
24891
|
+
}), 128)),
|
|
24892
|
+
createVNode(_component_DescriptionInfoLabel, {
|
|
24893
|
+
"description-info": (_a2 = _ctx.sbid.paymentMethodDescriptionInfo) == null ? void 0 : _a2.label
|
|
24894
|
+
}, null, 8, ["description-info"])
|
|
24798
24895
|
], 2)
|
|
24799
24896
|
], 2);
|
|
24800
24897
|
}
|
|
24801
|
-
const cssModules$
|
|
24802
|
-
cssModules$
|
|
24803
|
-
var SbidBank = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24898
|
+
const cssModules$1j = {};
|
|
24899
|
+
cssModules$1j["$style"] = style0$1j;
|
|
24900
|
+
var SbidBank = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__cssModules", cssModules$1j]]);
|
|
24804
24901
|
const wrapperClass$f = "_wrapperClass_jhs19_1";
|
|
24805
24902
|
const img$1 = "_img_jhs19_1";
|
|
24806
|
-
const container$
|
|
24903
|
+
const container$w = "_container_jhs19_5";
|
|
24807
24904
|
const imgContainer = "_imgContainer_jhs19_10";
|
|
24808
24905
|
const labelContainer = "_labelContainer_jhs19_19";
|
|
24809
24906
|
const mainLabel$1 = "_mainLabel_jhs19_26";
|
|
@@ -24814,10 +24911,10 @@ const invalid$1 = "_invalid_jhs19_48";
|
|
|
24814
24911
|
const content$d = "_content_jhs19_59";
|
|
24815
24912
|
const paymentInfo = "_paymentInfo_jhs19_62";
|
|
24816
24913
|
const maintainanceInfo = "_maintainanceInfo_jhs19_65";
|
|
24817
|
-
var style0$
|
|
24914
|
+
var style0$1i = {
|
|
24818
24915
|
wrapperClass: wrapperClass$f,
|
|
24819
24916
|
img: img$1,
|
|
24820
|
-
container: container$
|
|
24917
|
+
container: container$w,
|
|
24821
24918
|
imgContainer,
|
|
24822
24919
|
labelContainer,
|
|
24823
24920
|
mainLabel: mainLabel$1,
|
|
@@ -24829,7 +24926,7 @@ var style0$1f = {
|
|
|
24829
24926
|
paymentInfo,
|
|
24830
24927
|
maintainanceInfo
|
|
24831
24928
|
};
|
|
24832
|
-
const _sfc_main$
|
|
24929
|
+
const _sfc_main$1y = defineComponent({
|
|
24833
24930
|
components: {
|
|
24834
24931
|
Button
|
|
24835
24932
|
},
|
|
@@ -24898,7 +24995,7 @@ const _sfc_main$1v = defineComponent({
|
|
|
24898
24995
|
});
|
|
24899
24996
|
const _hoisted_1$O = ["src"];
|
|
24900
24997
|
const _hoisted_2$m = ["onClick"];
|
|
24901
|
-
function _sfc_render$
|
|
24998
|
+
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24902
24999
|
const _component_Button = resolveComponent("Button");
|
|
24903
25000
|
return openBlock(), createElementBlock("div", {
|
|
24904
25001
|
class: normalizeClass([
|
|
@@ -24964,9 +25061,9 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24964
25061
|
], 2)
|
|
24965
25062
|
], 2);
|
|
24966
25063
|
}
|
|
24967
|
-
const cssModules$
|
|
24968
|
-
cssModules$
|
|
24969
|
-
var PayLaterCC = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25064
|
+
const cssModules$1i = {};
|
|
25065
|
+
cssModules$1i["$style"] = style0$1i;
|
|
25066
|
+
var PayLaterCC = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1i]]);
|
|
24970
25067
|
const PaymentMethod = defineComponent({
|
|
24971
25068
|
props: {
|
|
24972
25069
|
paymentMethod: {
|
|
@@ -25026,7 +25123,7 @@ const topupMethodItem = "_topupMethodItem_74p4m_14";
|
|
|
25026
25123
|
const iconContainer$2 = "_iconContainer_74p4m_18";
|
|
25027
25124
|
const iconGreenTick$1 = "_iconGreenTick_74p4m_27";
|
|
25028
25125
|
const iconHidden$1 = "_iconHidden_74p4m_37";
|
|
25029
|
-
var style0$
|
|
25126
|
+
var style0$1h = {
|
|
25030
25127
|
wrapperClass: wrapperClass$e,
|
|
25031
25128
|
methodItem: methodItem$1,
|
|
25032
25129
|
topupMethodItem,
|
|
@@ -25034,7 +25131,7 @@ var style0$1e = {
|
|
|
25034
25131
|
iconGreenTick: iconGreenTick$1,
|
|
25035
25132
|
iconHidden: iconHidden$1
|
|
25036
25133
|
};
|
|
25037
|
-
const _sfc_main$
|
|
25134
|
+
const _sfc_main$1x = defineComponent({
|
|
25038
25135
|
name: "PaymentMethodList",
|
|
25039
25136
|
components: {
|
|
25040
25137
|
PaymentMethod
|
|
@@ -25075,7 +25172,7 @@ const _sfc_main$1u = defineComponent({
|
|
|
25075
25172
|
};
|
|
25076
25173
|
}
|
|
25077
25174
|
});
|
|
25078
|
-
function _sfc_render$
|
|
25175
|
+
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25079
25176
|
const _component_PaymentMethod = resolveComponent("PaymentMethod");
|
|
25080
25177
|
return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paymentMethods, (paymentMethod2, index2) => {
|
|
25081
25178
|
return openBlock(), createElementBlock("div", {
|
|
@@ -25108,20 +25205,20 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25108
25205
|
], 2);
|
|
25109
25206
|
}), 128);
|
|
25110
25207
|
}
|
|
25111
|
-
const cssModules$
|
|
25112
|
-
cssModules$
|
|
25113
|
-
var PaymentMethodList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25208
|
+
const cssModules$1h = {};
|
|
25209
|
+
cssModules$1h["$style"] = style0$1h;
|
|
25210
|
+
var PaymentMethodList = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__cssModules", cssModules$1h]]);
|
|
25114
25211
|
const wrapperClass$d = "_wrapperClass_1dxh9_1";
|
|
25115
25212
|
const maintenanceContainer = "_maintenanceContainer_1dxh9_1";
|
|
25116
25213
|
const maintenanceText = "_maintenanceText_1dxh9_18";
|
|
25117
25214
|
const rightArror = "_rightArror_1dxh9_31";
|
|
25118
|
-
var style0$
|
|
25215
|
+
var style0$1g = {
|
|
25119
25216
|
wrapperClass: wrapperClass$d,
|
|
25120
25217
|
maintenanceContainer,
|
|
25121
25218
|
maintenanceText,
|
|
25122
25219
|
rightArror
|
|
25123
25220
|
};
|
|
25124
|
-
const _sfc_main$
|
|
25221
|
+
const _sfc_main$1w = defineComponent({
|
|
25125
25222
|
name: "MaintenanceInfo",
|
|
25126
25223
|
props: {
|
|
25127
25224
|
maintenanceInfo: {
|
|
@@ -25160,7 +25257,7 @@ const _sfc_main$1t = defineComponent({
|
|
|
25160
25257
|
};
|
|
25161
25258
|
}
|
|
25162
25259
|
});
|
|
25163
|
-
function _sfc_render$
|
|
25260
|
+
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25164
25261
|
var _a2, _b;
|
|
25165
25262
|
return _ctx.maintenanceInfo ? (openBlock(), createElementBlock("div", {
|
|
25166
25263
|
key: 0,
|
|
@@ -25181,12 +25278,12 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25181
25278
|
}, null, 2)) : createCommentVNode("", true)
|
|
25182
25279
|
], 6)) : createCommentVNode("", true);
|
|
25183
25280
|
}
|
|
25184
|
-
const cssModules$
|
|
25185
|
-
cssModules$
|
|
25186
|
-
var MaintenanceInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25281
|
+
const cssModules$1g = {};
|
|
25282
|
+
cssModules$1g["$style"] = style0$1g;
|
|
25283
|
+
var MaintenanceInfo = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__cssModules", cssModules$1g]]);
|
|
25187
25284
|
const wrapperClass$c = "_wrapperClass_f0e46_2";
|
|
25188
25285
|
const paymentContainer$1 = "_paymentContainer_f0e46_2";
|
|
25189
|
-
const label$
|
|
25286
|
+
const label$5 = "_label_f0e46_11";
|
|
25190
25287
|
const change$3 = "_change_f0e46_41";
|
|
25191
25288
|
const paymentType$1 = "_paymentType_f0e46_52";
|
|
25192
25289
|
const contentContainer$3 = "_contentContainer_f0e46_57";
|
|
@@ -25195,10 +25292,10 @@ const bankIcon$1 = "_bankIcon_f0e46_82";
|
|
|
25195
25292
|
const addMethodMsg = "_addMethodMsg_f0e46_92";
|
|
25196
25293
|
const noMethodMsg = "_noMethodMsg_f0e46_113";
|
|
25197
25294
|
const topupPay$1 = "_topupPay_f0e46_136";
|
|
25198
|
-
var style0$
|
|
25295
|
+
var style0$1f = {
|
|
25199
25296
|
wrapperClass: wrapperClass$c,
|
|
25200
25297
|
paymentContainer: paymentContainer$1,
|
|
25201
|
-
label: label$
|
|
25298
|
+
label: label$5,
|
|
25202
25299
|
change: change$3,
|
|
25203
25300
|
paymentType: paymentType$1,
|
|
25204
25301
|
contentContainer: contentContainer$3,
|
|
@@ -25208,7 +25305,7 @@ var style0$1c = {
|
|
|
25208
25305
|
noMethodMsg,
|
|
25209
25306
|
topupPay: topupPay$1
|
|
25210
25307
|
};
|
|
25211
|
-
const _sfc_main$
|
|
25308
|
+
const _sfc_main$1v = defineComponent({
|
|
25212
25309
|
components: {
|
|
25213
25310
|
PaymentType,
|
|
25214
25311
|
PaymentMethodList,
|
|
@@ -25283,7 +25380,7 @@ const _sfc_main$1s = defineComponent({
|
|
|
25283
25380
|
}
|
|
25284
25381
|
});
|
|
25285
25382
|
const _hoisted_1$N = ["src"];
|
|
25286
|
-
function _sfc_render$
|
|
25383
|
+
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25287
25384
|
const _component_PaymentType = resolveComponent("PaymentType");
|
|
25288
25385
|
const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
|
|
25289
25386
|
const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
|
|
@@ -25348,9 +25445,9 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25348
25445
|
]) : createCommentVNode("", true)
|
|
25349
25446
|
], 2);
|
|
25350
25447
|
}
|
|
25351
|
-
const cssModules$
|
|
25352
|
-
cssModules$
|
|
25353
|
-
var PayMethod = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25448
|
+
const cssModules$1f = {};
|
|
25449
|
+
cssModules$1f["$style"] = style0$1f;
|
|
25450
|
+
var PayMethod = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__cssModules", cssModules$1f]]);
|
|
25354
25451
|
const KEY$1 = "getUserAddress_root";
|
|
25355
25452
|
function initRoot(props, { emit }) {
|
|
25356
25453
|
var _a2;
|
|
@@ -25403,7 +25500,7 @@ const receiver = "_receiver_129qz_67";
|
|
|
25403
25500
|
const selected$1 = "_selected_129qz_79";
|
|
25404
25501
|
const selectedContainer = "_selectedContainer_129qz_88";
|
|
25405
25502
|
const text$6 = "_text_129qz_97";
|
|
25406
|
-
var style0$
|
|
25503
|
+
var style0$1e = {
|
|
25407
25504
|
root: root$8,
|
|
25408
25505
|
editLink,
|
|
25409
25506
|
addressContainer: addressContainer$1,
|
|
@@ -25413,7 +25510,7 @@ var style0$1b = {
|
|
|
25413
25510
|
selectedContainer,
|
|
25414
25511
|
text: text$6
|
|
25415
25512
|
};
|
|
25416
|
-
const _sfc_main$
|
|
25513
|
+
const _sfc_main$1u = defineComponent({
|
|
25417
25514
|
name: "Address",
|
|
25418
25515
|
components: {
|
|
25419
25516
|
Button
|
|
@@ -25467,7 +25564,7 @@ const _sfc_main$1r = defineComponent({
|
|
|
25467
25564
|
});
|
|
25468
25565
|
const _hoisted_1$M = ["aria-selected"];
|
|
25469
25566
|
const _hoisted_2$l = { "data-testid": "address-title" };
|
|
25470
|
-
function _sfc_render$
|
|
25567
|
+
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25471
25568
|
const _component_Button = resolveComponent("Button");
|
|
25472
25569
|
return openBlock(), createElementBlock("div", {
|
|
25473
25570
|
class: normalizeClass(_ctx.style.root),
|
|
@@ -25525,9 +25622,9 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25525
25622
|
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
25526
25623
|
], 10, _hoisted_1$M);
|
|
25527
25624
|
}
|
|
25528
|
-
const cssModules$
|
|
25529
|
-
cssModules$
|
|
25530
|
-
var Address = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25625
|
+
const cssModules$1e = {};
|
|
25626
|
+
cssModules$1e["$style"] = style0$1e;
|
|
25627
|
+
var Address = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__cssModules", cssModules$1e]]);
|
|
25531
25628
|
const rootUa = "_rootUa_h2aim_1";
|
|
25532
25629
|
const button$6 = "_button_h2aim_14";
|
|
25533
25630
|
const footer$6 = "_footer_h2aim_18";
|
|
@@ -25538,7 +25635,7 @@ const buttonLink$1 = "_buttonLink_h2aim_61";
|
|
|
25538
25635
|
const arrow$1 = "_arrow_h2aim_42";
|
|
25539
25636
|
const content$c = "_content_h2aim_84";
|
|
25540
25637
|
const addIcon$1 = "_addIcon_h2aim_94";
|
|
25541
|
-
var style0$
|
|
25638
|
+
var style0$1d = {
|
|
25542
25639
|
rootUa,
|
|
25543
25640
|
button: button$6,
|
|
25544
25641
|
footer: footer$6,
|
|
@@ -25550,7 +25647,7 @@ var style0$1a = {
|
|
|
25550
25647
|
content: content$c,
|
|
25551
25648
|
addIcon: addIcon$1
|
|
25552
25649
|
};
|
|
25553
|
-
const _sfc_main$
|
|
25650
|
+
const _sfc_main$1t = defineComponent({
|
|
25554
25651
|
name: "DisplaySheetFooter",
|
|
25555
25652
|
components: {
|
|
25556
25653
|
Divider,
|
|
@@ -25593,7 +25690,7 @@ const _sfc_main$1q = defineComponent({
|
|
|
25593
25690
|
}
|
|
25594
25691
|
});
|
|
25595
25692
|
const _hoisted_1$L = { key: 0 };
|
|
25596
|
-
function _sfc_render$
|
|
25693
|
+
function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25597
25694
|
const _component_Button = resolveComponent("Button");
|
|
25598
25695
|
const _component_Divider = resolveComponent("Divider");
|
|
25599
25696
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -25659,20 +25756,20 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25659
25756
|
], 6)) : createCommentVNode("", true)
|
|
25660
25757
|
], 64);
|
|
25661
25758
|
}
|
|
25662
|
-
const cssModules$
|
|
25663
|
-
cssModules$
|
|
25664
|
-
var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25759
|
+
const cssModules$1d = {};
|
|
25760
|
+
cssModules$1d["$style"] = style0$1d;
|
|
25761
|
+
var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__cssModules", cssModules$1d]]);
|
|
25665
25762
|
const root$6 = "_root_15t81_1";
|
|
25666
25763
|
const confirmBtn$1 = "_confirmBtn_15t81_8";
|
|
25667
25764
|
const closeBtn$1 = "_closeBtn_15t81_14";
|
|
25668
25765
|
const btn$1 = "_btn_15t81_22";
|
|
25669
|
-
var style0$
|
|
25766
|
+
var style0$1c = {
|
|
25670
25767
|
root: root$6,
|
|
25671
25768
|
confirmBtn: confirmBtn$1,
|
|
25672
25769
|
closeBtn: closeBtn$1,
|
|
25673
25770
|
btn: btn$1
|
|
25674
25771
|
};
|
|
25675
|
-
const _sfc_main$
|
|
25772
|
+
const _sfc_main$1s = defineComponent({
|
|
25676
25773
|
name: "Footer",
|
|
25677
25774
|
components: {
|
|
25678
25775
|
Button
|
|
@@ -25700,7 +25797,7 @@ const _sfc_main$1p = defineComponent({
|
|
|
25700
25797
|
};
|
|
25701
25798
|
}
|
|
25702
25799
|
});
|
|
25703
|
-
function _sfc_render$
|
|
25800
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25704
25801
|
const _component_Button = resolveComponent("Button");
|
|
25705
25802
|
return openBlock(), createElementBlock("div", {
|
|
25706
25803
|
class: normalizeClass(_ctx.style.root)
|
|
@@ -25728,18 +25825,18 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25728
25825
|
}, 8, ["class"])
|
|
25729
25826
|
], 2);
|
|
25730
25827
|
}
|
|
25731
|
-
const cssModules$
|
|
25732
|
-
cssModules$
|
|
25733
|
-
var Footer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25828
|
+
const cssModules$1c = {};
|
|
25829
|
+
cssModules$1c["$style"] = style0$1c;
|
|
25830
|
+
var Footer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__cssModules", cssModules$1c]]);
|
|
25734
25831
|
const address = "_address_ipznp_1";
|
|
25735
25832
|
const header$8 = "_header_ipznp_9";
|
|
25736
25833
|
const text$5 = "_text_ipznp_18";
|
|
25737
|
-
var style0$
|
|
25834
|
+
var style0$1b = {
|
|
25738
25835
|
address,
|
|
25739
25836
|
header: header$8,
|
|
25740
25837
|
text: text$5
|
|
25741
25838
|
};
|
|
25742
|
-
const _sfc_main$
|
|
25839
|
+
const _sfc_main$1r = defineComponent({
|
|
25743
25840
|
name: "AddressInfo",
|
|
25744
25841
|
props: {
|
|
25745
25842
|
selectedAddress: {
|
|
@@ -25783,7 +25880,7 @@ const _sfc_main$1o = defineComponent({
|
|
|
25783
25880
|
};
|
|
25784
25881
|
}
|
|
25785
25882
|
});
|
|
25786
|
-
function _sfc_render$
|
|
25883
|
+
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25787
25884
|
return openBlock(), createElementBlock("div", {
|
|
25788
25885
|
class: normalizeClass(_ctx.$style.address)
|
|
25789
25886
|
}, [
|
|
@@ -25806,16 +25903,16 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25806
25903
|
}, toDisplayString(_ctx.street2), 3)) : createCommentVNode("", true)
|
|
25807
25904
|
], 2);
|
|
25808
25905
|
}
|
|
25809
|
-
const cssModules$
|
|
25810
|
-
cssModules$
|
|
25811
|
-
var AddressInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25906
|
+
const cssModules$1b = {};
|
|
25907
|
+
cssModules$1b["$style"] = style0$1b;
|
|
25908
|
+
var AddressInfo = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__cssModules", cssModules$1b]]);
|
|
25812
25909
|
const noAddress = "_noAddress_1w78c_1";
|
|
25813
25910
|
const noAddressTitle = "_noAddressTitle_1w78c_7";
|
|
25814
25911
|
const noAddressDesc = "_noAddressDesc_1w78c_21";
|
|
25815
25912
|
const content$b = "_content_1w78c_36";
|
|
25816
25913
|
const addIcon = "_addIcon_1w78c_43";
|
|
25817
25914
|
const buttonLink = "_buttonLink_1w78c_53";
|
|
25818
|
-
var style0$
|
|
25915
|
+
var style0$1a = {
|
|
25819
25916
|
noAddress,
|
|
25820
25917
|
noAddressTitle,
|
|
25821
25918
|
noAddressDesc,
|
|
@@ -25823,7 +25920,7 @@ var style0$17 = {
|
|
|
25823
25920
|
addIcon,
|
|
25824
25921
|
buttonLink
|
|
25825
25922
|
};
|
|
25826
|
-
const _sfc_main$
|
|
25923
|
+
const _sfc_main$1q = defineComponent({
|
|
25827
25924
|
name: "NoRegisteredAddressMessage",
|
|
25828
25925
|
props: {
|
|
25829
25926
|
showsAddAddressButton: {
|
|
@@ -25840,7 +25937,7 @@ const _sfc_main$1n = defineComponent({
|
|
|
25840
25937
|
}
|
|
25841
25938
|
}
|
|
25842
25939
|
});
|
|
25843
|
-
function _sfc_render$
|
|
25940
|
+
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25844
25941
|
return openBlock(), createElementBlock("div", {
|
|
25845
25942
|
class: normalizeClass(_ctx.$style.noAddress),
|
|
25846
25943
|
"data-testid": "no-address-message"
|
|
@@ -25867,22 +25964,22 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25867
25964
|
], 2)) : createCommentVNode("", true)
|
|
25868
25965
|
], 2);
|
|
25869
25966
|
}
|
|
25870
|
-
const cssModules$
|
|
25871
|
-
cssModules$
|
|
25872
|
-
var NoRegisteredAddressMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25873
|
-
const container$
|
|
25967
|
+
const cssModules$1a = {};
|
|
25968
|
+
cssModules$1a["$style"] = style0$1a;
|
|
25969
|
+
var NoRegisteredAddressMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__cssModules", cssModules$1a]]);
|
|
25970
|
+
const container$v = "_container_1udla_1";
|
|
25874
25971
|
const titleRow = "_titleRow_1udla_4";
|
|
25875
25972
|
const title$m = "_title_1udla_4";
|
|
25876
25973
|
const changeBtn = "_changeBtn_1udla_15";
|
|
25877
25974
|
const addressInfo = "_addressInfo_1udla_22";
|
|
25878
|
-
var style0$
|
|
25879
|
-
container: container$
|
|
25975
|
+
var style0$19 = {
|
|
25976
|
+
container: container$v,
|
|
25880
25977
|
titleRow,
|
|
25881
25978
|
title: title$m,
|
|
25882
25979
|
changeBtn,
|
|
25883
25980
|
addressInfo
|
|
25884
25981
|
};
|
|
25885
|
-
const _sfc_main$
|
|
25982
|
+
const _sfc_main$1p = defineComponent({
|
|
25886
25983
|
name: "SelectedAddress",
|
|
25887
25984
|
components: {
|
|
25888
25985
|
Footer: Footer$1,
|
|
@@ -25924,7 +26021,7 @@ const _sfc_main$1m = defineComponent({
|
|
|
25924
26021
|
}
|
|
25925
26022
|
});
|
|
25926
26023
|
const _hoisted_1$K = { "data-testid": "selected-address" };
|
|
25927
|
-
function _sfc_render$
|
|
26024
|
+
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25928
26025
|
const _component_NoRegisteredAddressMessage = resolveComponent("NoRegisteredAddressMessage");
|
|
25929
26026
|
const _component_AddressInfo = resolveComponent("AddressInfo");
|
|
25930
26027
|
const _component_Footer = resolveComponent("Footer");
|
|
@@ -25967,9 +26064,9 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25967
26064
|
}, null, 8, ["selected-address"])) : createCommentVNode("", true)
|
|
25968
26065
|
]);
|
|
25969
26066
|
}
|
|
25970
|
-
const cssModules$
|
|
25971
|
-
cssModules$
|
|
25972
|
-
var SelectedAddress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26067
|
+
const cssModules$19 = {};
|
|
26068
|
+
cssModules$19["$style"] = style0$19;
|
|
26069
|
+
var SelectedAddress = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__cssModules", cssModules$19]]);
|
|
25973
26070
|
function usePageTransition() {
|
|
25974
26071
|
const { isDesktop } = useBreakpoints();
|
|
25975
26072
|
const state = reactive({
|
|
@@ -26047,7 +26144,7 @@ function useAddressControl() {
|
|
|
26047
26144
|
}
|
|
26048
26145
|
const root$5 = "_root_1a57j_2";
|
|
26049
26146
|
const noAddressRoot = "_noAddressRoot_1a57j_15";
|
|
26050
|
-
const container$
|
|
26147
|
+
const container$u = "_container_1a57j_27";
|
|
26051
26148
|
const noAddressMessage = "_noAddressMessage_1a57j_36";
|
|
26052
26149
|
const desktopTitle = "_desktopTitle_1a57j_39";
|
|
26053
26150
|
const contentContainerMp = "_contentContainerMp_1a57j_49";
|
|
@@ -26056,10 +26153,10 @@ const payAddressRoot = "_payAddressRoot_1a57j_62";
|
|
|
26056
26153
|
const footerBtnContainer = "_footerBtnContainer_1a57j_66";
|
|
26057
26154
|
const confirmBtn = "_confirmBtn_1a57j_73";
|
|
26058
26155
|
const closeBtn = "_closeBtn_1a57j_80";
|
|
26059
|
-
var style0$
|
|
26156
|
+
var style0$18 = {
|
|
26060
26157
|
root: root$5,
|
|
26061
26158
|
noAddressRoot,
|
|
26062
|
-
container: container$
|
|
26159
|
+
container: container$u,
|
|
26063
26160
|
noAddressMessage,
|
|
26064
26161
|
desktopTitle,
|
|
26065
26162
|
contentContainerMp,
|
|
@@ -26069,7 +26166,7 @@ var style0$15 = {
|
|
|
26069
26166
|
confirmBtn,
|
|
26070
26167
|
closeBtn
|
|
26071
26168
|
};
|
|
26072
|
-
const _sfc_main$
|
|
26169
|
+
const _sfc_main$1o = defineComponent({
|
|
26073
26170
|
name: "DisplaySheet",
|
|
26074
26171
|
components: {
|
|
26075
26172
|
Address,
|
|
@@ -26300,7 +26397,7 @@ const _sfc_main$1l = defineComponent({
|
|
|
26300
26397
|
};
|
|
26301
26398
|
}
|
|
26302
26399
|
});
|
|
26303
|
-
function _sfc_render$
|
|
26400
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26304
26401
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
26305
26402
|
const _component_Header = resolveComponent("Header");
|
|
26306
26403
|
const _component_Address = resolveComponent("Address");
|
|
@@ -26399,9 +26496,9 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26399
26496
|
}, null, 8, ["selected-address", "is-makepayment", "onAdd", "onChange", "onConfirm"]))
|
|
26400
26497
|
], 2);
|
|
26401
26498
|
}
|
|
26402
|
-
const cssModules$
|
|
26403
|
-
cssModules$
|
|
26404
|
-
var DisplaySheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26499
|
+
const cssModules$18 = {};
|
|
26500
|
+
cssModules$18["$style"] = style0$18;
|
|
26501
|
+
var DisplaySheet = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__cssModules", cssModules$18]]);
|
|
26405
26502
|
const ppmnaInput = "_ppmnaInput_n161o_2";
|
|
26406
26503
|
const border$1 = "_border_n161o_24";
|
|
26407
26504
|
const error$4 = "_error_n161o_43";
|
|
@@ -26692,7 +26789,7 @@ const Zip = defineComponent({
|
|
|
26692
26789
|
}, [props.prepend]), renderInput()])]);
|
|
26693
26790
|
}
|
|
26694
26791
|
});
|
|
26695
|
-
const container$
|
|
26792
|
+
const container$t = "_container_uv3mv_1";
|
|
26696
26793
|
const root$4 = "_root_uv3mv_4";
|
|
26697
26794
|
const select$1 = "_select_uv3mv_7";
|
|
26698
26795
|
const placeHolder = "_placeHolder_uv3mv_29";
|
|
@@ -26712,7 +26809,7 @@ const show = "_show_uv3mv_140";
|
|
|
26712
26809
|
const hide = "_hide_uv3mv_143";
|
|
26713
26810
|
const disabled$2 = "_disabled_uv3mv_146";
|
|
26714
26811
|
var styles = {
|
|
26715
|
-
container: container$
|
|
26812
|
+
container: container$t,
|
|
26716
26813
|
root: root$4,
|
|
26717
26814
|
select: select$1,
|
|
26718
26815
|
placeHolder,
|
|
@@ -26993,7 +27090,7 @@ const desktopFooter = "_desktopFooter_1ijh7_13";
|
|
|
26993
27090
|
const wrapperClass$b = "_wrapperClass_1ijh7_25";
|
|
26994
27091
|
const button$5 = "_button_1ijh7_25";
|
|
26995
27092
|
const disabled$1 = "_disabled_1ijh7_38";
|
|
26996
|
-
var style0$
|
|
27093
|
+
var style0$17 = {
|
|
26997
27094
|
root: root$3,
|
|
26998
27095
|
desktopFooter,
|
|
26999
27096
|
wrapperClass: wrapperClass$b,
|
|
@@ -27001,7 +27098,7 @@ var style0$14 = {
|
|
|
27001
27098
|
disabled: disabled$1,
|
|
27002
27099
|
"delete": "_delete_1ijh7_42"
|
|
27003
27100
|
};
|
|
27004
|
-
const _sfc_main$
|
|
27101
|
+
const _sfc_main$1n = defineComponent({
|
|
27005
27102
|
name: "AddSheetFooter",
|
|
27006
27103
|
components: {
|
|
27007
27104
|
Button
|
|
@@ -27076,7 +27173,7 @@ const _sfc_main$1k = defineComponent({
|
|
|
27076
27173
|
};
|
|
27077
27174
|
}
|
|
27078
27175
|
});
|
|
27079
|
-
function _sfc_render$
|
|
27176
|
+
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27080
27177
|
const _component_Button = resolveComponent("Button");
|
|
27081
27178
|
return openBlock(), createElementBlock("div", {
|
|
27082
27179
|
class: normalizeClass(_ctx.style.wrapperClass)
|
|
@@ -27147,20 +27244,20 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27147
27244
|
]) : createCommentVNode("", true)
|
|
27148
27245
|
], 2);
|
|
27149
27246
|
}
|
|
27150
|
-
const cssModules$
|
|
27151
|
-
cssModules$
|
|
27152
|
-
var Footer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27247
|
+
const cssModules$17 = {};
|
|
27248
|
+
cssModules$17["$style"] = style0$17;
|
|
27249
|
+
var Footer = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__cssModules", cssModules$17]]);
|
|
27153
27250
|
const title$l = "_title_17gsg_1";
|
|
27154
|
-
const container$
|
|
27251
|
+
const container$s = "_container_17gsg_14";
|
|
27155
27252
|
const button$4 = "_button_17gsg_20";
|
|
27156
27253
|
const active = "_active_17gsg_43";
|
|
27157
|
-
var style0$
|
|
27254
|
+
var style0$16 = {
|
|
27158
27255
|
title: title$l,
|
|
27159
|
-
container: container$
|
|
27256
|
+
container: container$s,
|
|
27160
27257
|
button: button$4,
|
|
27161
27258
|
active
|
|
27162
27259
|
};
|
|
27163
|
-
const _sfc_main$
|
|
27260
|
+
const _sfc_main$1m = defineComponent({
|
|
27164
27261
|
name: "TagForm",
|
|
27165
27262
|
props: {
|
|
27166
27263
|
modelValue: {
|
|
@@ -27230,7 +27327,7 @@ const _sfc_main$1j = defineComponent({
|
|
|
27230
27327
|
});
|
|
27231
27328
|
const _hoisted_1$J = { key: 0 };
|
|
27232
27329
|
const _hoisted_2$k = ["disabled", "onClick"];
|
|
27233
|
-
function _sfc_render$
|
|
27330
|
+
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27234
27331
|
return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
27235
27332
|
createBaseVNode("div", {
|
|
27236
27333
|
class: normalizeClass(_ctx.style.title)
|
|
@@ -27253,9 +27350,9 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27253
27350
|
], 2)
|
|
27254
27351
|
])) : createCommentVNode("", true);
|
|
27255
27352
|
}
|
|
27256
|
-
const cssModules$
|
|
27257
|
-
cssModules$
|
|
27258
|
-
var TagForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27353
|
+
const cssModules$16 = {};
|
|
27354
|
+
cssModules$16["$style"] = style0$16;
|
|
27355
|
+
var TagForm = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__cssModules", cssModules$16]]);
|
|
27259
27356
|
const states = [
|
|
27260
27357
|
{ label: "\u5317\u6D77\u9053", value: "\u5317\u6D77\u9053" },
|
|
27261
27358
|
{ label: "\u9752\u68EE\u770C", value: "\u9752\u68EE\u770C" },
|
|
@@ -27310,14 +27407,14 @@ const prepend = "_prepend_1mdr0_15";
|
|
|
27310
27407
|
const input$5 = "_input_1mdr0_30";
|
|
27311
27408
|
const select = "_select_1mdr0_51";
|
|
27312
27409
|
const borderDel = "_borderDel_1mdr0_60";
|
|
27313
|
-
const spacer = "_spacer_1mdr0_63";
|
|
27314
|
-
var style0$
|
|
27410
|
+
const spacer$1 = "_spacer_1mdr0_63";
|
|
27411
|
+
var style0$15 = {
|
|
27315
27412
|
root: root$2,
|
|
27316
27413
|
prepend,
|
|
27317
27414
|
input: input$5,
|
|
27318
27415
|
select,
|
|
27319
27416
|
borderDel,
|
|
27320
|
-
spacer
|
|
27417
|
+
spacer: spacer$1
|
|
27321
27418
|
};
|
|
27322
27419
|
const initialFormState = {
|
|
27323
27420
|
id: null,
|
|
@@ -27369,7 +27466,7 @@ function isEditOk(state) {
|
|
|
27369
27466
|
const zipCodeOK = /^\d{3}-\d{4}$/.test(state.zip);
|
|
27370
27467
|
return zipCodeOK && fillOK;
|
|
27371
27468
|
}
|
|
27372
|
-
const _sfc_main$
|
|
27469
|
+
const _sfc_main$1l = defineComponent({
|
|
27373
27470
|
name: "AddSheetContent",
|
|
27374
27471
|
components: {
|
|
27375
27472
|
Input,
|
|
@@ -27488,7 +27585,7 @@ const _sfc_main$1i = defineComponent({
|
|
|
27488
27585
|
};
|
|
27489
27586
|
}
|
|
27490
27587
|
});
|
|
27491
|
-
function _sfc_render$
|
|
27588
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27492
27589
|
const _component_Input = resolveComponent("Input");
|
|
27493
27590
|
const _component_Zip = resolveComponent("Zip");
|
|
27494
27591
|
const _component_SelectList = resolveComponent("SelectList");
|
|
@@ -27614,20 +27711,20 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27614
27711
|
}, null, 8, ["show", "disabled", "loading", "enable-delete", "is-edit", "onSubmit", "onClose"])) : createCommentVNode("", true)
|
|
27615
27712
|
], 64);
|
|
27616
27713
|
}
|
|
27617
|
-
const cssModules$
|
|
27618
|
-
cssModules$
|
|
27619
|
-
var Contents = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27714
|
+
const cssModules$15 = {};
|
|
27715
|
+
cssModules$15["$style"] = style0$15;
|
|
27716
|
+
var Contents = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__cssModules", cssModules$15]]);
|
|
27620
27717
|
const deleteSheet = "_deleteSheet_1q5f0_1";
|
|
27621
27718
|
const title$k = "_title_1q5f0_5";
|
|
27622
27719
|
const buttonContainer$8 = "_buttonContainer_1q5f0_19";
|
|
27623
27720
|
const deleteContainer = "_deleteContainer_1q5f0_22";
|
|
27624
|
-
var style0$
|
|
27721
|
+
var style0$14 = {
|
|
27625
27722
|
deleteSheet,
|
|
27626
27723
|
title: title$k,
|
|
27627
27724
|
buttonContainer: buttonContainer$8,
|
|
27628
27725
|
deleteContainer
|
|
27629
27726
|
};
|
|
27630
|
-
const _sfc_main$
|
|
27727
|
+
const _sfc_main$1k = defineComponent({
|
|
27631
27728
|
name: "DeleteHalfSheet",
|
|
27632
27729
|
components: {
|
|
27633
27730
|
ActionSheet,
|
|
@@ -27659,7 +27756,7 @@ const _sfc_main$1h = defineComponent({
|
|
|
27659
27756
|
}
|
|
27660
27757
|
});
|
|
27661
27758
|
const _hoisted_1$I = ["src"];
|
|
27662
|
-
function _sfc_render$
|
|
27759
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27663
27760
|
const _component_Button = resolveComponent("Button");
|
|
27664
27761
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
27665
27762
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
@@ -27713,22 +27810,22 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27713
27810
|
], 2)
|
|
27714
27811
|
]);
|
|
27715
27812
|
}
|
|
27716
|
-
const cssModules$
|
|
27717
|
-
cssModules$
|
|
27718
|
-
var DeleteHalfSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27813
|
+
const cssModules$14 = {};
|
|
27814
|
+
cssModules$14["$style"] = style0$14;
|
|
27815
|
+
var DeleteHalfSheet = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__cssModules", cssModules$14]]);
|
|
27719
27816
|
const wrapperClass$a = "_wrapperClass_1roue_1";
|
|
27720
|
-
const container$
|
|
27817
|
+
const container$r = "_container_1roue_1";
|
|
27721
27818
|
const header$7 = "_header_1roue_15";
|
|
27722
27819
|
const desktopHeader$1 = "_desktopHeader_1roue_27";
|
|
27723
27820
|
const mobileHeader = "_mobileHeader_1roue_32";
|
|
27724
|
-
var style0$
|
|
27821
|
+
var style0$13 = {
|
|
27725
27822
|
wrapperClass: wrapperClass$a,
|
|
27726
|
-
container: container$
|
|
27823
|
+
container: container$r,
|
|
27727
27824
|
header: header$7,
|
|
27728
27825
|
desktopHeader: desktopHeader$1,
|
|
27729
27826
|
mobileHeader
|
|
27730
27827
|
};
|
|
27731
|
-
const _sfc_main$
|
|
27828
|
+
const _sfc_main$1j = defineComponent({
|
|
27732
27829
|
name: "AddSheet",
|
|
27733
27830
|
components: {
|
|
27734
27831
|
ActionSheet,
|
|
@@ -27868,7 +27965,7 @@ const _sfc_main$1g = defineComponent({
|
|
|
27868
27965
|
};
|
|
27869
27966
|
}
|
|
27870
27967
|
});
|
|
27871
|
-
function _sfc_render$
|
|
27968
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27872
27969
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
27873
27970
|
const _component_Header = resolveComponent("Header");
|
|
27874
27971
|
const _component_Contents = resolveComponent("Contents");
|
|
@@ -27922,9 +28019,9 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27922
28019
|
}, null, 8, ["open", "onClose", "onDel"])
|
|
27923
28020
|
], 64);
|
|
27924
28021
|
}
|
|
27925
|
-
const cssModules$
|
|
27926
|
-
cssModules$
|
|
27927
|
-
var AddSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28022
|
+
const cssModules$13 = {};
|
|
28023
|
+
cssModules$13["$style"] = style0$13;
|
|
28024
|
+
var AddSheet = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__cssModules", cssModules$13]]);
|
|
27928
28025
|
const KEY = "getUserAddress_error_handling";
|
|
27929
28026
|
function initErrorHandling() {
|
|
27930
28027
|
const state = reactive({
|
|
@@ -27965,17 +28062,17 @@ function getErrorHandling() {
|
|
|
27965
28062
|
return inject(KEY);
|
|
27966
28063
|
}
|
|
27967
28064
|
const wrapperClass$9 = "_wrapperClass_1dkog_7";
|
|
27968
|
-
const container$
|
|
28065
|
+
const container$q = "_container_1dkog_7";
|
|
27969
28066
|
const payAddressCotainer = "_payAddressCotainer_1dkog_19";
|
|
27970
28067
|
const maxHeightNoAddress = "_maxHeightNoAddress_1dkog_25";
|
|
27971
28068
|
const maxHeightNoAddressMakePaymentBeforeOpen = "_maxHeightNoAddressMakePaymentBeforeOpen_1dkog_30";
|
|
27972
28069
|
const maxHeightNoAddressMakePaymentBeforeClose = "_maxHeightNoAddressMakePaymentBeforeClose_1dkog_35";
|
|
27973
28070
|
const addressSheet = "_addressSheet_1dkog_39";
|
|
27974
28071
|
const actionSheet$2 = "_actionSheet_1dkog_45";
|
|
27975
|
-
var style0
|
|
28072
|
+
var style0$12 = {
|
|
27976
28073
|
"ppmna-default-font": "_ppmna-default-font_1dkog_1",
|
|
27977
28074
|
wrapperClass: wrapperClass$9,
|
|
27978
|
-
container: container$
|
|
28075
|
+
container: container$q,
|
|
27979
28076
|
payAddressCotainer,
|
|
27980
28077
|
maxHeightNoAddress,
|
|
27981
28078
|
maxHeightNoAddressMakePaymentBeforeOpen,
|
|
@@ -27983,7 +28080,7 @@ var style0$$ = {
|
|
|
27983
28080
|
addressSheet,
|
|
27984
28081
|
actionSheet: actionSheet$2
|
|
27985
28082
|
};
|
|
27986
|
-
const _sfc_main$
|
|
28083
|
+
const _sfc_main$1i = defineComponent({
|
|
27987
28084
|
name: "GetUserAddressApp",
|
|
27988
28085
|
components: {
|
|
27989
28086
|
ActionSheet,
|
|
@@ -28108,7 +28205,7 @@ const _sfc_main$1f = defineComponent({
|
|
|
28108
28205
|
};
|
|
28109
28206
|
}
|
|
28110
28207
|
});
|
|
28111
|
-
function _sfc_render$
|
|
28208
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28112
28209
|
const _component_DisplaySheet = resolveComponent("DisplaySheet");
|
|
28113
28210
|
const _component_AddSheet = resolveComponent("AddSheet");
|
|
28114
28211
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -28167,10 +28264,10 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28167
28264
|
_: 1
|
|
28168
28265
|
}, 8, ["show", "style", "class", "type", "no-overlay", "appear", "onClose"]);
|
|
28169
28266
|
}
|
|
28170
|
-
const cssModules
|
|
28171
|
-
cssModules
|
|
28172
|
-
var App = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28173
|
-
const _sfc_main$
|
|
28267
|
+
const cssModules$12 = {};
|
|
28268
|
+
cssModules$12["$style"] = style0$12;
|
|
28269
|
+
var App = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__cssModules", cssModules$12]]);
|
|
28270
|
+
const _sfc_main$1h = defineComponent({
|
|
28174
28271
|
name: "GetUserAddress",
|
|
28175
28272
|
components: {
|
|
28176
28273
|
App,
|
|
@@ -28222,7 +28319,7 @@ const _sfc_main$1e = defineComponent({
|
|
|
28222
28319
|
};
|
|
28223
28320
|
}
|
|
28224
28321
|
});
|
|
28225
|
-
function _sfc_render$
|
|
28322
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28226
28323
|
const _component_App = resolveComponent("App", true);
|
|
28227
28324
|
const _component_ErrorSheet = resolveComponent("ErrorSheet");
|
|
28228
28325
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -28240,14 +28337,14 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28240
28337
|
}, null, 8, ["show", "error-title", "error-text", "icon-url", "onCloseClick"])
|
|
28241
28338
|
], 64);
|
|
28242
28339
|
}
|
|
28243
|
-
var AppVue$9 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28244
|
-
const container$
|
|
28340
|
+
var AppVue$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h]]);
|
|
28341
|
+
const container$p = "_container_1u1l1_7";
|
|
28245
28342
|
const addContainer = "_addContainer_1u1l1_16";
|
|
28246
28343
|
const addContainerInsufficient = "_addContainerInsufficient_1u1l1_25";
|
|
28247
28344
|
const noAddContainer = "_noAddContainer_1u1l1_29";
|
|
28248
28345
|
const addContainerTopup = "_addContainerTopup_1u1l1_34";
|
|
28249
28346
|
const addAddress = "_addAddress_1u1l1_44";
|
|
28250
|
-
const label$
|
|
28347
|
+
const label$4 = "_label_1u1l1_62";
|
|
28251
28348
|
const change$2 = "_change_1u1l1_90";
|
|
28252
28349
|
const noaddmsgContainer = "_noaddmsgContainer_1u1l1_105";
|
|
28253
28350
|
const addressInfoContainer = "_addressInfoContainer_1u1l1_114";
|
|
@@ -28275,15 +28372,15 @@ const insufficientAmount = "_insufficientAmount_1u1l1_378";
|
|
|
28275
28372
|
const arrow = "_arrow_1u1l1_404";
|
|
28276
28373
|
const defaultContainer = "_defaultContainer_1u1l1_418";
|
|
28277
28374
|
const payContainer = "_payContainer_1u1l1_437";
|
|
28278
|
-
var style0$
|
|
28375
|
+
var style0$11 = {
|
|
28279
28376
|
"ppmna-default-font": "_ppmna-default-font_1u1l1_1",
|
|
28280
|
-
container: container$
|
|
28377
|
+
container: container$p,
|
|
28281
28378
|
addContainer,
|
|
28282
28379
|
addContainerInsufficient,
|
|
28283
28380
|
noAddContainer,
|
|
28284
28381
|
addContainerTopup,
|
|
28285
28382
|
addAddress,
|
|
28286
|
-
label: label$
|
|
28383
|
+
label: label$4,
|
|
28287
28384
|
change: change$2,
|
|
28288
28385
|
noaddmsgContainer,
|
|
28289
28386
|
addressInfoContainer,
|
|
@@ -28340,7 +28437,7 @@ function useHandler(context) {
|
|
|
28340
28437
|
createAnime
|
|
28341
28438
|
};
|
|
28342
28439
|
}
|
|
28343
|
-
const _sfc_main$
|
|
28440
|
+
const _sfc_main$1g = defineComponent({
|
|
28344
28441
|
components: {
|
|
28345
28442
|
DesktopHeader,
|
|
28346
28443
|
Header,
|
|
@@ -28543,7 +28640,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
28543
28640
|
});
|
|
28544
28641
|
const _hoisted_1$H = ["src"];
|
|
28545
28642
|
const _hoisted_2$j = { key: 1 };
|
|
28546
|
-
function _sfc_render$
|
|
28643
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28547
28644
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
28548
28645
|
const _component_Header = resolveComponent("Header");
|
|
28549
28646
|
const _component_Divider = resolveComponent("Divider");
|
|
@@ -28793,16 +28890,16 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28793
28890
|
], 2)) : createCommentVNode("", true)
|
|
28794
28891
|
], 2);
|
|
28795
28892
|
}
|
|
28796
|
-
const cssModules$
|
|
28797
|
-
cssModules$
|
|
28798
|
-
var Payment = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28799
|
-
const container$
|
|
28893
|
+
const cssModules$11 = {};
|
|
28894
|
+
cssModules$11["$style"] = style0$11;
|
|
28895
|
+
var Payment = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__cssModules", cssModules$11]]);
|
|
28896
|
+
const container$o = "_container_i2sms_1";
|
|
28800
28897
|
const contentContainer$1 = "_contentContainer_i2sms_17";
|
|
28801
|
-
var style0$
|
|
28802
|
-
container: container$
|
|
28898
|
+
var style0$10 = {
|
|
28899
|
+
container: container$o,
|
|
28803
28900
|
contentContainer: contentContainer$1
|
|
28804
28901
|
};
|
|
28805
|
-
const _sfc_main$
|
|
28902
|
+
const _sfc_main$1f = defineComponent({
|
|
28806
28903
|
components: {
|
|
28807
28904
|
Header,
|
|
28808
28905
|
PaymentMethodList,
|
|
@@ -28853,7 +28950,7 @@ const _sfc_main$1c = defineComponent({
|
|
|
28853
28950
|
};
|
|
28854
28951
|
}
|
|
28855
28952
|
});
|
|
28856
|
-
function _sfc_render$
|
|
28953
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28857
28954
|
const _component_Header = resolveComponent("Header");
|
|
28858
28955
|
const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
|
|
28859
28956
|
const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
|
|
@@ -28884,15 +28981,15 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28884
28981
|
])
|
|
28885
28982
|
], 2);
|
|
28886
28983
|
}
|
|
28887
|
-
const cssModules$
|
|
28888
|
-
cssModules$
|
|
28889
|
-
var ChoosePayment = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28984
|
+
const cssModules$10 = {};
|
|
28985
|
+
cssModules$10["$style"] = style0$10;
|
|
28986
|
+
var ChoosePayment = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__cssModules", cssModules$10]]);
|
|
28890
28987
|
const duplicateContainer = "_duplicateContainer_1ebjq_7";
|
|
28891
28988
|
const header$6 = "_header_1ebjq_11";
|
|
28892
28989
|
const content$a = "_content_1ebjq_23";
|
|
28893
28990
|
const text$4 = "_text_1ebjq_27";
|
|
28894
28991
|
const btnContainer$1 = "_btnContainer_1ebjq_41";
|
|
28895
|
-
var style0
|
|
28992
|
+
var style0$$ = {
|
|
28896
28993
|
"ppmna-default-font": "_ppmna-default-font_1ebjq_1",
|
|
28897
28994
|
duplicateContainer,
|
|
28898
28995
|
header: header$6,
|
|
@@ -28900,7 +28997,7 @@ var style0$Y = {
|
|
|
28900
28997
|
text: text$4,
|
|
28901
28998
|
btnContainer: btnContainer$1
|
|
28902
28999
|
};
|
|
28903
|
-
const _sfc_main$
|
|
29000
|
+
const _sfc_main$1e = defineComponent({
|
|
28904
29001
|
name: "DuplicatePayment",
|
|
28905
29002
|
components: {
|
|
28906
29003
|
Button
|
|
@@ -28944,7 +29041,7 @@ const _sfc_main$1b = defineComponent({
|
|
|
28944
29041
|
};
|
|
28945
29042
|
}
|
|
28946
29043
|
});
|
|
28947
|
-
function _sfc_render$
|
|
29044
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28948
29045
|
const _component_Button = resolveComponent("Button");
|
|
28949
29046
|
return openBlock(), createElementBlock("div", {
|
|
28950
29047
|
class: normalizeClass(_ctx.style.duplicateContainer)
|
|
@@ -28990,9 +29087,163 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28990
29087
|
], 2)
|
|
28991
29088
|
], 2);
|
|
28992
29089
|
}
|
|
28993
|
-
const cssModules
|
|
28994
|
-
cssModules
|
|
28995
|
-
var DuplicatePayment = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29090
|
+
const cssModules$$ = {};
|
|
29091
|
+
cssModules$$["$style"] = style0$$;
|
|
29092
|
+
var DuplicatePayment = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__cssModules", cssModules$$]]);
|
|
29093
|
+
let prev = Date.now();
|
|
29094
|
+
function rafPolyfill(fn) {
|
|
29095
|
+
const curr = Date.now();
|
|
29096
|
+
const ms = Math.max(0, 16 - (curr - prev));
|
|
29097
|
+
const id = setTimeout(fn, ms);
|
|
29098
|
+
prev = curr + ms;
|
|
29099
|
+
return id;
|
|
29100
|
+
}
|
|
29101
|
+
function raf(fn) {
|
|
29102
|
+
const requestAnimationFrame2 = window.requestAnimationFrame || rafPolyfill;
|
|
29103
|
+
return requestAnimationFrame2.call(window, fn);
|
|
29104
|
+
}
|
|
29105
|
+
function cancelRaf(id) {
|
|
29106
|
+
const cancelAnimationFrame2 = window.cancelAnimationFrame || window.clearTimeout;
|
|
29107
|
+
cancelAnimationFrame2.call(window, id);
|
|
29108
|
+
}
|
|
29109
|
+
const SECOND = 1e3;
|
|
29110
|
+
const MINUTE = 60 * SECOND;
|
|
29111
|
+
const HOUR = 60 * MINUTE;
|
|
29112
|
+
const DAY = 24 * HOUR;
|
|
29113
|
+
function parseTime(time2) {
|
|
29114
|
+
const days = Math.floor(time2 / DAY);
|
|
29115
|
+
const hours = Math.floor(time2 % DAY / HOUR);
|
|
29116
|
+
const minutes = Math.floor(time2 % HOUR / MINUTE);
|
|
29117
|
+
const seconds = Math.floor(time2 % MINUTE / SECOND);
|
|
29118
|
+
const milliseconds = Math.floor(time2 % SECOND);
|
|
29119
|
+
return {
|
|
29120
|
+
total: time2,
|
|
29121
|
+
days,
|
|
29122
|
+
hours,
|
|
29123
|
+
minutes,
|
|
29124
|
+
seconds,
|
|
29125
|
+
milliseconds
|
|
29126
|
+
};
|
|
29127
|
+
}
|
|
29128
|
+
function isSameSecond(time1, time2) {
|
|
29129
|
+
return Math.floor(time1 / 1e3) === Math.floor(time2 / 1e3);
|
|
29130
|
+
}
|
|
29131
|
+
function useCountDown(options) {
|
|
29132
|
+
let rafId;
|
|
29133
|
+
let endTime;
|
|
29134
|
+
let counting;
|
|
29135
|
+
let deactivated;
|
|
29136
|
+
const remain = ref(options.time);
|
|
29137
|
+
const current2 = computed(() => parseTime(remain.value));
|
|
29138
|
+
const pause = () => {
|
|
29139
|
+
counting = false;
|
|
29140
|
+
cancelRaf(rafId);
|
|
29141
|
+
};
|
|
29142
|
+
const getCurrentRemain = () => Math.max(endTime - Date.now(), 0);
|
|
29143
|
+
const setRemain = (value2) => {
|
|
29144
|
+
var _a2, _b;
|
|
29145
|
+
remain.value = value2;
|
|
29146
|
+
(_a2 = options.onChange) == null ? void 0 : _a2.call(options, current2.value);
|
|
29147
|
+
if (value2 === 0) {
|
|
29148
|
+
pause();
|
|
29149
|
+
(_b = options.onFinish) == null ? void 0 : _b.call(options);
|
|
29150
|
+
}
|
|
29151
|
+
};
|
|
29152
|
+
const microTick = () => {
|
|
29153
|
+
rafId = raf(() => {
|
|
29154
|
+
if (counting) {
|
|
29155
|
+
setRemain(getCurrentRemain());
|
|
29156
|
+
if (remain.value > 0) {
|
|
29157
|
+
microTick();
|
|
29158
|
+
}
|
|
29159
|
+
}
|
|
29160
|
+
});
|
|
29161
|
+
};
|
|
29162
|
+
const macroTick = () => {
|
|
29163
|
+
rafId = raf(() => {
|
|
29164
|
+
if (counting) {
|
|
29165
|
+
const remainRemain = getCurrentRemain();
|
|
29166
|
+
if (!isSameSecond(remainRemain, remain.value) || remainRemain === 0) {
|
|
29167
|
+
setRemain(remainRemain);
|
|
29168
|
+
}
|
|
29169
|
+
if (remain.value > 0) {
|
|
29170
|
+
macroTick();
|
|
29171
|
+
}
|
|
29172
|
+
}
|
|
29173
|
+
});
|
|
29174
|
+
};
|
|
29175
|
+
const tick = () => {
|
|
29176
|
+
if (options.millisecond) {
|
|
29177
|
+
microTick();
|
|
29178
|
+
} else {
|
|
29179
|
+
macroTick();
|
|
29180
|
+
}
|
|
29181
|
+
};
|
|
29182
|
+
const start = () => {
|
|
29183
|
+
if (!counting) {
|
|
29184
|
+
endTime = Date.now() + remain.value;
|
|
29185
|
+
counting = true;
|
|
29186
|
+
tick();
|
|
29187
|
+
}
|
|
29188
|
+
};
|
|
29189
|
+
const reset2 = (totalTime = options.time) => {
|
|
29190
|
+
pause();
|
|
29191
|
+
remain.value = totalTime;
|
|
29192
|
+
};
|
|
29193
|
+
onBeforeUnmount(pause);
|
|
29194
|
+
onActivated(() => {
|
|
29195
|
+
if (deactivated) {
|
|
29196
|
+
counting = true;
|
|
29197
|
+
deactivated = false;
|
|
29198
|
+
tick();
|
|
29199
|
+
}
|
|
29200
|
+
});
|
|
29201
|
+
onDeactivated(() => {
|
|
29202
|
+
if (counting) {
|
|
29203
|
+
pause();
|
|
29204
|
+
deactivated = true;
|
|
29205
|
+
}
|
|
29206
|
+
});
|
|
29207
|
+
return {
|
|
29208
|
+
start,
|
|
29209
|
+
pause,
|
|
29210
|
+
reset: reset2,
|
|
29211
|
+
current: current2
|
|
29212
|
+
};
|
|
29213
|
+
}
|
|
29214
|
+
const feeLabel = "_feeLabel_1pvtk_1";
|
|
29215
|
+
var style0$_ = {
|
|
29216
|
+
feeLabel
|
|
29217
|
+
};
|
|
29218
|
+
const _sfc_main$1d = defineComponent({
|
|
29219
|
+
name: "TopupFeeResultLabel",
|
|
29220
|
+
props: {
|
|
29221
|
+
topupResult: {
|
|
29222
|
+
type: Object,
|
|
29223
|
+
required: true
|
|
29224
|
+
}
|
|
29225
|
+
},
|
|
29226
|
+
computed: {
|
|
29227
|
+
feeLabel() {
|
|
29228
|
+
var _a2;
|
|
29229
|
+
if (!((_a2 = this.topupResult.fee) == null ? void 0 : _a2.amount) || this.topupResult.fee.amount <= 0) {
|
|
29230
|
+
return "";
|
|
29231
|
+
}
|
|
29232
|
+
const remoteStrings2 = useRemoteStrings();
|
|
29233
|
+
const topupAmount2 = formatCurrency(this.topupResult.amount.amount, 0);
|
|
29234
|
+
const feeAmount = formatCurrency(this.topupResult.fee.amount, 0);
|
|
29235
|
+
return `${remoteStrings2.value.topup.topupAmount} ${topupAmount2}${remoteStrings2.value.topup.yen} ${remoteStrings2.value.topup.fee} ${feeAmount}${remoteStrings2.value.topup.yen}`;
|
|
29236
|
+
}
|
|
29237
|
+
}
|
|
29238
|
+
});
|
|
29239
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29240
|
+
return openBlock(), createElementBlock("div", {
|
|
29241
|
+
class: normalizeClass(_ctx.$style.feeLabel)
|
|
29242
|
+
}, toDisplayString(_ctx.feeLabel), 3);
|
|
29243
|
+
}
|
|
29244
|
+
const cssModules$_ = {};
|
|
29245
|
+
cssModules$_["$style"] = style0$_;
|
|
29246
|
+
var TopupFeeResultLabel = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__cssModules", cssModules$_]]);
|
|
28996
29247
|
const cashBackDetailList = "_cashBackDetailList_gxeuf_2";
|
|
28997
29248
|
const header$5 = "_header_gxeuf_18";
|
|
28998
29249
|
const backIcon = "_backIcon_gxeuf_25";
|
|
@@ -29011,7 +29262,7 @@ const amount$3 = "_amount_gxeuf_150";
|
|
|
29011
29262
|
const openIcon = "_openIcon_gxeuf_162";
|
|
29012
29263
|
const footer$5 = "_footer_gxeuf_170";
|
|
29013
29264
|
const showCondition = "_showCondition_gxeuf_173";
|
|
29014
|
-
var style0$
|
|
29265
|
+
var style0$Z = {
|
|
29015
29266
|
"ppmna-default-font": "_ppmna-default-font_gxeuf_1",
|
|
29016
29267
|
cashBackDetailList,
|
|
29017
29268
|
header: header$5,
|
|
@@ -29032,7 +29283,7 @@ var style0$X = {
|
|
|
29032
29283
|
footer: footer$5,
|
|
29033
29284
|
showCondition
|
|
29034
29285
|
};
|
|
29035
|
-
const _sfc_main$
|
|
29286
|
+
const _sfc_main$1c = defineComponent({
|
|
29036
29287
|
components: {
|
|
29037
29288
|
Button
|
|
29038
29289
|
},
|
|
@@ -29070,7 +29321,7 @@ const _sfc_main$1a = defineComponent({
|
|
|
29070
29321
|
});
|
|
29071
29322
|
const _hoisted_1$G = ["onClick"];
|
|
29072
29323
|
const _hoisted_2$i = ["src"];
|
|
29073
|
-
function _sfc_render$
|
|
29324
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29074
29325
|
var _a2, _b, _c;
|
|
29075
29326
|
const _component_Button = resolveComponent("Button");
|
|
29076
29327
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29173,23 +29424,23 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29173
29424
|
], 2)
|
|
29174
29425
|
], 2);
|
|
29175
29426
|
}
|
|
29176
|
-
const cssModules$
|
|
29177
|
-
cssModules$
|
|
29178
|
-
var CashBackDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29179
|
-
const cashBack = "
|
|
29180
|
-
const lottieStyle = "
|
|
29181
|
-
const cashBackInfo = "
|
|
29182
|
-
const priceContainer = "
|
|
29183
|
-
const cashBackDescription = "
|
|
29184
|
-
const cashBackPrice = "
|
|
29185
|
-
const cashBackUnit = "
|
|
29186
|
-
const optionalText$1 = "
|
|
29187
|
-
const cashBackLinkLabel = "
|
|
29188
|
-
const calculating = "
|
|
29189
|
-
const subText = "
|
|
29190
|
-
const noCashBackContainer = "
|
|
29191
|
-
const noCashBackLink = "
|
|
29192
|
-
var style0$
|
|
29427
|
+
const cssModules$Z = {};
|
|
29428
|
+
cssModules$Z["$style"] = style0$Z;
|
|
29429
|
+
var CashBackDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__cssModules", cssModules$Z]]);
|
|
29430
|
+
const cashBack = "_cashBack_ckwa0_1";
|
|
29431
|
+
const lottieStyle = "_lottieStyle_ckwa0_18";
|
|
29432
|
+
const cashBackInfo = "_cashBackInfo_ckwa0_33";
|
|
29433
|
+
const priceContainer = "_priceContainer_ckwa0_51";
|
|
29434
|
+
const cashBackDescription = "_cashBackDescription_ckwa0_57";
|
|
29435
|
+
const cashBackPrice = "_cashBackPrice_ckwa0_79";
|
|
29436
|
+
const cashBackUnit = "_cashBackUnit_ckwa0_94";
|
|
29437
|
+
const optionalText$1 = "_optionalText_ckwa0_117";
|
|
29438
|
+
const cashBackLinkLabel = "_cashBackLinkLabel_ckwa0_141";
|
|
29439
|
+
const calculating = "_calculating_ckwa0_165";
|
|
29440
|
+
const subText = "_subText_ckwa0_177";
|
|
29441
|
+
const noCashBackContainer = "_noCashBackContainer_ckwa0_189";
|
|
29442
|
+
const noCashBackLink = "_noCashBackLink_ckwa0_196";
|
|
29443
|
+
var style0$Y = {
|
|
29193
29444
|
cashBack,
|
|
29194
29445
|
lottieStyle,
|
|
29195
29446
|
cashBackInfo,
|
|
@@ -29204,7 +29455,7 @@ var style0$W = {
|
|
|
29204
29455
|
noCashBackContainer,
|
|
29205
29456
|
noCashBackLink
|
|
29206
29457
|
};
|
|
29207
|
-
const _sfc_main$
|
|
29458
|
+
const _sfc_main$1b = defineComponent({
|
|
29208
29459
|
name: "CashBackDetailRow",
|
|
29209
29460
|
components: {
|
|
29210
29461
|
Lottie,
|
|
@@ -29257,7 +29508,7 @@ const _sfc_main$19 = defineComponent({
|
|
|
29257
29508
|
};
|
|
29258
29509
|
}
|
|
29259
29510
|
});
|
|
29260
|
-
function _sfc_render$
|
|
29511
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29261
29512
|
const _component_Lottie = resolveComponent("Lottie");
|
|
29262
29513
|
const _component_Button = resolveComponent("Button");
|
|
29263
29514
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29337,168 +29588,47 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29337
29588
|
], 2))
|
|
29338
29589
|
], 2);
|
|
29339
29590
|
}
|
|
29340
|
-
const cssModules$
|
|
29341
|
-
cssModules$
|
|
29342
|
-
var CashBackDetailRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29343
|
-
|
|
29344
|
-
|
|
29345
|
-
|
|
29346
|
-
|
|
29347
|
-
|
|
29348
|
-
|
|
29349
|
-
|
|
29350
|
-
|
|
29351
|
-
|
|
29352
|
-
|
|
29353
|
-
|
|
29354
|
-
|
|
29355
|
-
|
|
29356
|
-
|
|
29357
|
-
|
|
29358
|
-
|
|
29359
|
-
const
|
|
29360
|
-
const
|
|
29361
|
-
const
|
|
29362
|
-
const
|
|
29363
|
-
|
|
29364
|
-
|
|
29365
|
-
|
|
29366
|
-
|
|
29367
|
-
|
|
29368
|
-
|
|
29369
|
-
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
milliseconds
|
|
29376
|
-
};
|
|
29377
|
-
}
|
|
29378
|
-
function isSameSecond(time1, time2) {
|
|
29379
|
-
return Math.floor(time1 / 1e3) === Math.floor(time2 / 1e3);
|
|
29380
|
-
}
|
|
29381
|
-
function useCountDown(options) {
|
|
29382
|
-
let rafId;
|
|
29383
|
-
let endTime;
|
|
29384
|
-
let counting;
|
|
29385
|
-
let deactivated;
|
|
29386
|
-
const remain = ref(options.time);
|
|
29387
|
-
const current2 = computed(() => parseTime(remain.value));
|
|
29388
|
-
const pause = () => {
|
|
29389
|
-
counting = false;
|
|
29390
|
-
cancelRaf(rafId);
|
|
29391
|
-
};
|
|
29392
|
-
const getCurrentRemain = () => Math.max(endTime - Date.now(), 0);
|
|
29393
|
-
const setRemain = (value2) => {
|
|
29394
|
-
var _a2, _b;
|
|
29395
|
-
remain.value = value2;
|
|
29396
|
-
(_a2 = options.onChange) == null ? void 0 : _a2.call(options, current2.value);
|
|
29397
|
-
if (value2 === 0) {
|
|
29398
|
-
pause();
|
|
29399
|
-
(_b = options.onFinish) == null ? void 0 : _b.call(options);
|
|
29400
|
-
}
|
|
29401
|
-
};
|
|
29402
|
-
const microTick = () => {
|
|
29403
|
-
rafId = raf(() => {
|
|
29404
|
-
if (counting) {
|
|
29405
|
-
setRemain(getCurrentRemain());
|
|
29406
|
-
if (remain.value > 0) {
|
|
29407
|
-
microTick();
|
|
29408
|
-
}
|
|
29409
|
-
}
|
|
29410
|
-
});
|
|
29411
|
-
};
|
|
29412
|
-
const macroTick = () => {
|
|
29413
|
-
rafId = raf(() => {
|
|
29414
|
-
if (counting) {
|
|
29415
|
-
const remainRemain = getCurrentRemain();
|
|
29416
|
-
if (!isSameSecond(remainRemain, remain.value) || remainRemain === 0) {
|
|
29417
|
-
setRemain(remainRemain);
|
|
29418
|
-
}
|
|
29419
|
-
if (remain.value > 0) {
|
|
29420
|
-
macroTick();
|
|
29421
|
-
}
|
|
29422
|
-
}
|
|
29423
|
-
});
|
|
29424
|
-
};
|
|
29425
|
-
const tick = () => {
|
|
29426
|
-
if (options.millisecond) {
|
|
29427
|
-
microTick();
|
|
29428
|
-
} else {
|
|
29429
|
-
macroTick();
|
|
29430
|
-
}
|
|
29431
|
-
};
|
|
29432
|
-
const start = () => {
|
|
29433
|
-
if (!counting) {
|
|
29434
|
-
endTime = Date.now() + remain.value;
|
|
29435
|
-
counting = true;
|
|
29436
|
-
tick();
|
|
29437
|
-
}
|
|
29438
|
-
};
|
|
29439
|
-
const reset2 = (totalTime = options.time) => {
|
|
29440
|
-
pause();
|
|
29441
|
-
remain.value = totalTime;
|
|
29442
|
-
};
|
|
29443
|
-
onBeforeUnmount(pause);
|
|
29444
|
-
onActivated(() => {
|
|
29445
|
-
if (deactivated) {
|
|
29446
|
-
counting = true;
|
|
29447
|
-
deactivated = false;
|
|
29448
|
-
tick();
|
|
29449
|
-
}
|
|
29450
|
-
});
|
|
29451
|
-
onDeactivated(() => {
|
|
29452
|
-
if (counting) {
|
|
29453
|
-
pause();
|
|
29454
|
-
deactivated = true;
|
|
29455
|
-
}
|
|
29456
|
-
});
|
|
29457
|
-
return {
|
|
29458
|
-
start,
|
|
29459
|
-
pause,
|
|
29460
|
-
reset: reset2,
|
|
29461
|
-
current: current2
|
|
29462
|
-
};
|
|
29463
|
-
}
|
|
29464
|
-
const wrapperClass$8 = "_wrapperClass_q82w7_2";
|
|
29465
|
-
const root$1 = "_root_q82w7_2";
|
|
29466
|
-
const slideSecondaryEnterActive$3 = "_slideSecondaryEnterActive_q82w7_8";
|
|
29467
|
-
const slideSecondaryLeaveActive$3 = "_slideSecondaryLeaveActive_q82w7_11";
|
|
29468
|
-
const slideSecondaryEnterFrom$3 = "_slideSecondaryEnterFrom_q82w7_14";
|
|
29469
|
-
const container$m = "_container_q82w7_36";
|
|
29470
|
-
const subContainer = "_subContainer_q82w7_52";
|
|
29471
|
-
const shrink = "_shrink_q82w7_57";
|
|
29472
|
-
const header$4 = "_header_q82w7_61";
|
|
29473
|
-
const storeLogo = "_storeLogo_q82w7_64";
|
|
29474
|
-
const content$8 = "_content_q82w7_69";
|
|
29475
|
-
const result = "_result_q82w7_83";
|
|
29476
|
-
const price$1 = "_price_q82w7_111";
|
|
29477
|
-
const unit$4 = "_unit_q82w7_125";
|
|
29478
|
-
const statusLabel$1 = "_statusLabel_q82w7_151";
|
|
29479
|
-
const green$1 = "_green_q82w7_168";
|
|
29480
|
-
const red$3 = "_red_q82w7_171";
|
|
29481
|
-
const yellow$1 = "_yellow_q82w7_174";
|
|
29482
|
-
const gray$1 = "_gray_q82w7_177";
|
|
29483
|
-
const preauthLabel = "_preauthLabel_q82w7_180";
|
|
29484
|
-
const preauthDate = "_preauthDate_q82w7_186";
|
|
29485
|
-
const acceptedAt = "_acceptedAt_q82w7_190";
|
|
29486
|
-
const footer$4 = "_footer_q82w7_200";
|
|
29487
|
-
const subContent = "_subContent_q82w7_213";
|
|
29488
|
-
const paymentId = "_paymentId_q82w7_244";
|
|
29489
|
-
const copyIcon = "_copyIcon_q82w7_251";
|
|
29490
|
-
const desktopHeader = "_desktopHeader_q82w7_260";
|
|
29491
|
-
const parentContainer = "_parentContainer_q82w7_270";
|
|
29492
|
-
const confettiContainer = "_confettiContainer_q82w7_273";
|
|
29493
|
-
const lottieContainer$1 = "_lottieContainer_q82w7_286";
|
|
29494
|
-
var style0$V = {
|
|
29495
|
-
"ppmna-default-font": "_ppmna-default-font_q82w7_1",
|
|
29591
|
+
const cssModules$Y = {};
|
|
29592
|
+
cssModules$Y["$style"] = style0$Y;
|
|
29593
|
+
var CashBackDetailRow = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__cssModules", cssModules$Y]]);
|
|
29594
|
+
const wrapperClass$8 = "_wrapperClass_a6xjx_2";
|
|
29595
|
+
const root$1 = "_root_a6xjx_2";
|
|
29596
|
+
const slideSecondaryEnterActive$3 = "_slideSecondaryEnterActive_a6xjx_8";
|
|
29597
|
+
const slideSecondaryLeaveActive$3 = "_slideSecondaryLeaveActive_a6xjx_11";
|
|
29598
|
+
const slideSecondaryEnterFrom$3 = "_slideSecondaryEnterFrom_a6xjx_14";
|
|
29599
|
+
const container$n = "_container_a6xjx_36";
|
|
29600
|
+
const subContainer = "_subContainer_a6xjx_52";
|
|
29601
|
+
const shrink = "_shrink_a6xjx_57";
|
|
29602
|
+
const header$4 = "_header_a6xjx_61";
|
|
29603
|
+
const storeLogo = "_storeLogo_a6xjx_64";
|
|
29604
|
+
const content$8 = "_content_a6xjx_69";
|
|
29605
|
+
const result = "_result_a6xjx_78";
|
|
29606
|
+
const price$1 = "_price_a6xjx_106";
|
|
29607
|
+
const unit$4 = "_unit_a6xjx_120";
|
|
29608
|
+
const statusLabel$1 = "_statusLabel_a6xjx_146";
|
|
29609
|
+
const green$1 = "_green_a6xjx_163";
|
|
29610
|
+
const red$3 = "_red_a6xjx_166";
|
|
29611
|
+
const yellow$1 = "_yellow_a6xjx_169";
|
|
29612
|
+
const gray$1 = "_gray_a6xjx_172";
|
|
29613
|
+
const preauthLabel = "_preauthLabel_a6xjx_175";
|
|
29614
|
+
const preauthDate = "_preauthDate_a6xjx_180";
|
|
29615
|
+
const acceptedAt = "_acceptedAt_a6xjx_185";
|
|
29616
|
+
const footer$4 = "_footer_a6xjx_195";
|
|
29617
|
+
const subContent = "_subContent_a6xjx_208";
|
|
29618
|
+
const paymentId = "_paymentId_a6xjx_239";
|
|
29619
|
+
const copyIcon = "_copyIcon_a6xjx_246";
|
|
29620
|
+
const desktopHeader = "_desktopHeader_a6xjx_255";
|
|
29621
|
+
const parentContainer = "_parentContainer_a6xjx_265";
|
|
29622
|
+
const confettiContainer = "_confettiContainer_a6xjx_268";
|
|
29623
|
+
const lottieContainer$1 = "_lottieContainer_a6xjx_281";
|
|
29624
|
+
var style0$X = {
|
|
29625
|
+
"ppmna-default-font": "_ppmna-default-font_a6xjx_1",
|
|
29496
29626
|
wrapperClass: wrapperClass$8,
|
|
29497
29627
|
root: root$1,
|
|
29498
29628
|
slideSecondaryEnterActive: slideSecondaryEnterActive$3,
|
|
29499
29629
|
slideSecondaryLeaveActive: slideSecondaryLeaveActive$3,
|
|
29500
29630
|
slideSecondaryEnterFrom: slideSecondaryEnterFrom$3,
|
|
29501
|
-
container: container$
|
|
29631
|
+
container: container$n,
|
|
29502
29632
|
subContainer,
|
|
29503
29633
|
shrink,
|
|
29504
29634
|
header: header$4,
|
|
@@ -29524,7 +29654,7 @@ var style0$V = {
|
|
|
29524
29654
|
confettiContainer,
|
|
29525
29655
|
lottieContainer: lottieContainer$1
|
|
29526
29656
|
};
|
|
29527
|
-
const _sfc_main$
|
|
29657
|
+
const _sfc_main$1a = defineComponent({
|
|
29528
29658
|
name: "PaymentCompletion",
|
|
29529
29659
|
components: {
|
|
29530
29660
|
Button,
|
|
@@ -29532,13 +29662,18 @@ const _sfc_main$18 = defineComponent({
|
|
|
29532
29662
|
CashBackDetailRow,
|
|
29533
29663
|
ActionSheet,
|
|
29534
29664
|
DesktopHeader,
|
|
29535
|
-
Lottie
|
|
29665
|
+
Lottie,
|
|
29666
|
+
TopupFeeResultLabel
|
|
29536
29667
|
},
|
|
29537
29668
|
props: {
|
|
29538
29669
|
paymentResult: {
|
|
29539
29670
|
type: Object,
|
|
29540
29671
|
default: () => ({})
|
|
29541
29672
|
},
|
|
29673
|
+
topupResult: {
|
|
29674
|
+
type: Object,
|
|
29675
|
+
default: null
|
|
29676
|
+
},
|
|
29542
29677
|
cashBackDetail: {
|
|
29543
29678
|
type: Object,
|
|
29544
29679
|
default: null
|
|
@@ -29712,8 +29847,9 @@ const _sfc_main$18 = defineComponent({
|
|
|
29712
29847
|
});
|
|
29713
29848
|
const _hoisted_1$F = ["src"];
|
|
29714
29849
|
const _hoisted_2$h = /* @__PURE__ */ createBaseVNode("span", null, "\u6C7A\u6E08\u756A\u53F7", -1);
|
|
29715
|
-
function _sfc_render$
|
|
29850
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29716
29851
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
29852
|
+
const _component_TopupFeeResultLabel = resolveComponent("TopupFeeResultLabel");
|
|
29717
29853
|
const _component_CashBackDetailRow = resolveComponent("CashBackDetailRow");
|
|
29718
29854
|
const _component_Button = resolveComponent("Button");
|
|
29719
29855
|
const _component_CashBackDetailList = resolveComponent("CashBackDetailList");
|
|
@@ -29784,12 +29920,16 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29784
29920
|
]),
|
|
29785
29921
|
"data-testid": "payment-status"
|
|
29786
29922
|
}, toDisplayString(_ctx.labelText), 3),
|
|
29787
|
-
_ctx.
|
|
29923
|
+
_ctx.topupResult ? (openBlock(), createBlock(_component_TopupFeeResultLabel, {
|
|
29788
29924
|
key: 1,
|
|
29925
|
+
"topup-result": _ctx.topupResult
|
|
29926
|
+
}, null, 8, ["topup-result"])) : createCommentVNode("", true),
|
|
29927
|
+
_ctx.isPreAuth ? (openBlock(), createElementBlock("span", {
|
|
29928
|
+
key: 2,
|
|
29789
29929
|
class: normalizeClass(_ctx.style.preauthLabel)
|
|
29790
29930
|
}, "\u652F\u6255\u3044\u671F\u9650", 2)) : createCommentVNode("", true),
|
|
29791
29931
|
_ctx.isPreAuth ? (openBlock(), createElementBlock("span", {
|
|
29792
|
-
key:
|
|
29932
|
+
key: 3,
|
|
29793
29933
|
class: normalizeClass(_ctx.style.preauthDate)
|
|
29794
29934
|
}, toDisplayString(_ctx.preAuthExpDate), 3)) : createCommentVNode("", true)
|
|
29795
29935
|
], 2),
|
|
@@ -29884,21 +30024,21 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29884
30024
|
})
|
|
29885
30025
|
], 64);
|
|
29886
30026
|
}
|
|
29887
|
-
const cssModules$
|
|
29888
|
-
cssModules$
|
|
29889
|
-
var PaymentCompletion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30027
|
+
const cssModules$X = {};
|
|
30028
|
+
cssModules$X["$style"] = style0$X;
|
|
30029
|
+
var PaymentCompletion = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__cssModules", cssModules$X]]);
|
|
29890
30030
|
const closeConfirmation = "_closeConfirmation_y6rq7_2";
|
|
29891
30031
|
const headerImage$1 = "_headerImage_y6rq7_12";
|
|
29892
30032
|
const content$7 = "_content_y6rq7_16";
|
|
29893
30033
|
const title$i = "_title_y6rq7_20";
|
|
29894
|
-
var style0$
|
|
30034
|
+
var style0$W = {
|
|
29895
30035
|
"ppmna-default-font": "_ppmna-default-font_y6rq7_1",
|
|
29896
30036
|
closeConfirmation,
|
|
29897
30037
|
headerImage: headerImage$1,
|
|
29898
30038
|
content: content$7,
|
|
29899
30039
|
title: title$i
|
|
29900
30040
|
};
|
|
29901
|
-
const _sfc_main$
|
|
30041
|
+
const _sfc_main$19 = defineComponent({
|
|
29902
30042
|
name: "CloseConfirmation",
|
|
29903
30043
|
components: {
|
|
29904
30044
|
Button
|
|
@@ -29923,7 +30063,7 @@ const _sfc_main$17 = defineComponent({
|
|
|
29923
30063
|
}
|
|
29924
30064
|
});
|
|
29925
30065
|
const _hoisted_1$E = ["src"];
|
|
29926
|
-
function _sfc_render$
|
|
30066
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29927
30067
|
const _component_Button = resolveComponent("Button");
|
|
29928
30068
|
return openBlock(), createElementBlock("div", {
|
|
29929
30069
|
class: normalizeClass(_ctx.$style.closeConfirmation)
|
|
@@ -29966,15 +30106,15 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29966
30106
|
])
|
|
29967
30107
|
], 2);
|
|
29968
30108
|
}
|
|
29969
|
-
const cssModules$
|
|
29970
|
-
cssModules$
|
|
29971
|
-
var CloseConfirmation = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30109
|
+
const cssModules$W = {};
|
|
30110
|
+
cssModules$W["$style"] = style0$W;
|
|
30111
|
+
var CloseConfirmation = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__cssModules", cssModules$W]]);
|
|
29972
30112
|
const paymentConsult = "_paymentConsult_1gbjv_2";
|
|
29973
30113
|
const headerImage = "_headerImage_1gbjv_12";
|
|
29974
30114
|
const content$6 = "_content_1gbjv_16";
|
|
29975
30115
|
const title$h = "_title_1gbjv_20";
|
|
29976
30116
|
const description$b = "_description_1gbjv_36";
|
|
29977
|
-
var style0$
|
|
30117
|
+
var style0$V = {
|
|
29978
30118
|
"ppmna-default-font": "_ppmna-default-font_1gbjv_1",
|
|
29979
30119
|
paymentConsult,
|
|
29980
30120
|
headerImage,
|
|
@@ -29982,7 +30122,7 @@ var style0$T = {
|
|
|
29982
30122
|
title: title$h,
|
|
29983
30123
|
description: description$b
|
|
29984
30124
|
};
|
|
29985
|
-
const _sfc_main$
|
|
30125
|
+
const _sfc_main$18 = defineComponent({
|
|
29986
30126
|
name: "Consult",
|
|
29987
30127
|
components: {
|
|
29988
30128
|
Button
|
|
@@ -29995,12 +30135,16 @@ const _sfc_main$16 = defineComponent({
|
|
|
29995
30135
|
}
|
|
29996
30136
|
},
|
|
29997
30137
|
emits: {
|
|
29998
|
-
close: () => true
|
|
30138
|
+
close: () => true,
|
|
30139
|
+
nativeAction: (_button) => true
|
|
29999
30140
|
},
|
|
30000
|
-
setup(props,
|
|
30141
|
+
setup(props, { emit }) {
|
|
30001
30142
|
const getBehavior = (buttonInfo) => {
|
|
30002
30143
|
var _a2;
|
|
30003
|
-
if (
|
|
30144
|
+
if (buttonInfo.actionType === UIComponentsButtonActionType.NATIVE) {
|
|
30145
|
+
emit("nativeAction", buttonInfo);
|
|
30146
|
+
return;
|
|
30147
|
+
} else if ((buttonInfo == null ? void 0 : buttonInfo.actionType) === UIComponentsButtonActionType.DEEPLINK) {
|
|
30004
30148
|
if ((buttonInfo == null ? void 0 : buttonInfo.deeplink) && isValidUrl(buttonInfo == null ? void 0 : buttonInfo.deeplink)) {
|
|
30005
30149
|
openWebviewInternal({ url: buttonInfo == null ? void 0 : buttonInfo.deeplink });
|
|
30006
30150
|
} else {
|
|
@@ -30017,7 +30161,7 @@ const _sfc_main$16 = defineComponent({
|
|
|
30017
30161
|
}
|
|
30018
30162
|
return;
|
|
30019
30163
|
}
|
|
30020
|
-
|
|
30164
|
+
emit("close");
|
|
30021
30165
|
};
|
|
30022
30166
|
const buttonList = computed(() => {
|
|
30023
30167
|
return filterErrorButtonList(props.consultInfo.buttonList);
|
|
@@ -30035,7 +30179,7 @@ const _sfc_main$16 = defineComponent({
|
|
|
30035
30179
|
}
|
|
30036
30180
|
});
|
|
30037
30181
|
const _hoisted_1$D = ["src"];
|
|
30038
|
-
function _sfc_render$
|
|
30182
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30039
30183
|
const _component_Button = resolveComponent("Button");
|
|
30040
30184
|
return openBlock(), createElementBlock("div", {
|
|
30041
30185
|
class: normalizeClass(_ctx.$style.paymentConsult),
|
|
@@ -30077,19 +30221,19 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30077
30221
|
])
|
|
30078
30222
|
], 2);
|
|
30079
30223
|
}
|
|
30080
|
-
const cssModules$
|
|
30081
|
-
cssModules$
|
|
30082
|
-
var Consult = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30083
|
-
const container$
|
|
30084
|
-
const label$
|
|
30224
|
+
const cssModules$V = {};
|
|
30225
|
+
cssModules$V["$style"] = style0$V;
|
|
30226
|
+
var Consult = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__cssModules", cssModules$V]]);
|
|
30227
|
+
const container$m = "_container_rq81u_2";
|
|
30228
|
+
const label$3 = "_label_rq81u_12";
|
|
30085
30229
|
const input$4 = "_input_rq81u_15";
|
|
30086
|
-
var style0$
|
|
30230
|
+
var style0$U = {
|
|
30087
30231
|
"ppmna-default-font": "_ppmna-default-font_rq81u_1",
|
|
30088
|
-
container: container$
|
|
30089
|
-
label: label$
|
|
30232
|
+
container: container$m,
|
|
30233
|
+
label: label$3,
|
|
30090
30234
|
input: input$4
|
|
30091
30235
|
};
|
|
30092
|
-
const _sfc_main$
|
|
30236
|
+
const _sfc_main$17 = defineComponent({
|
|
30093
30237
|
name: "DateButton",
|
|
30094
30238
|
props: {
|
|
30095
30239
|
defaultValue: {
|
|
@@ -30121,7 +30265,7 @@ const _sfc_main$15 = defineComponent({
|
|
|
30121
30265
|
});
|
|
30122
30266
|
const _hoisted_1$C = ["for"];
|
|
30123
30267
|
const _hoisted_2$g = ["id"];
|
|
30124
|
-
function _sfc_render$
|
|
30268
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30125
30269
|
return openBlock(), createElementBlock("div", {
|
|
30126
30270
|
class: normalizeClass(_ctx.style.container)
|
|
30127
30271
|
}, [
|
|
@@ -30143,9 +30287,9 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30143
30287
|
], 10, _hoisted_1$C)
|
|
30144
30288
|
], 2);
|
|
30145
30289
|
}
|
|
30146
|
-
const cssModules$
|
|
30147
|
-
cssModules$
|
|
30148
|
-
var DateButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30290
|
+
const cssModules$U = {};
|
|
30291
|
+
cssModules$U["$style"] = style0$U;
|
|
30292
|
+
var DateButton = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__cssModules", cssModules$U]]);
|
|
30149
30293
|
const birthdayPicker$1 = "_birthdayPicker_bllri_2";
|
|
30150
30294
|
const header$3 = "_header_bllri_11";
|
|
30151
30295
|
const error$3 = "_error_bllri_18";
|
|
@@ -30154,7 +30298,7 @@ const title$g = "_title_bllri_21";
|
|
|
30154
30298
|
const description$a = "_description_bllri_25";
|
|
30155
30299
|
const dateContainer$1 = "_dateContainer_bllri_30";
|
|
30156
30300
|
const footer$3 = "_footer_bllri_34";
|
|
30157
|
-
var style0$
|
|
30301
|
+
var style0$T = {
|
|
30158
30302
|
"ppmna-default-font": "_ppmna-default-font_bllri_1",
|
|
30159
30303
|
birthdayPicker: birthdayPicker$1,
|
|
30160
30304
|
header: header$3,
|
|
@@ -30165,7 +30309,7 @@ var style0$R = {
|
|
|
30165
30309
|
dateContainer: dateContainer$1,
|
|
30166
30310
|
footer: footer$3
|
|
30167
30311
|
};
|
|
30168
|
-
const _sfc_main$
|
|
30312
|
+
const _sfc_main$16 = defineComponent({
|
|
30169
30313
|
name: "BirthdayConfirm",
|
|
30170
30314
|
components: {
|
|
30171
30315
|
ActionSheet,
|
|
@@ -30222,7 +30366,7 @@ const _hoisted_2$f = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
|
30222
30366
|
const _hoisted_3$a = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
30223
30367
|
const _hoisted_4$5 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
30224
30368
|
const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
30225
|
-
function _sfc_render$
|
|
30369
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30226
30370
|
const _component_DateButton = resolveComponent("DateButton");
|
|
30227
30371
|
const _component_Button = resolveComponent("Button");
|
|
30228
30372
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -30309,9 +30453,9 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30309
30453
|
_: 1
|
|
30310
30454
|
}, 8, ["show"]);
|
|
30311
30455
|
}
|
|
30312
|
-
const cssModules$
|
|
30313
|
-
cssModules$
|
|
30314
|
-
var BirthdayConfirm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30456
|
+
const cssModules$T = {};
|
|
30457
|
+
cssModules$T["$style"] = style0$T;
|
|
30458
|
+
var BirthdayConfirm = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__cssModules", cssModules$T]]);
|
|
30315
30459
|
const birthdayPicker = "_birthdayPicker_bllri_2";
|
|
30316
30460
|
const header$2 = "_header_bllri_11";
|
|
30317
30461
|
const error$2 = "_error_bllri_18";
|
|
@@ -30320,7 +30464,7 @@ const title$f = "_title_bllri_21";
|
|
|
30320
30464
|
const description$9 = "_description_bllri_25";
|
|
30321
30465
|
const dateContainer = "_dateContainer_bllri_30";
|
|
30322
30466
|
const footer$2 = "_footer_bllri_34";
|
|
30323
|
-
var style0$
|
|
30467
|
+
var style0$S = {
|
|
30324
30468
|
"ppmna-default-font": "_ppmna-default-font_bllri_1",
|
|
30325
30469
|
birthdayPicker,
|
|
30326
30470
|
header: header$2,
|
|
@@ -30331,7 +30475,7 @@ var style0$Q = {
|
|
|
30331
30475
|
dateContainer,
|
|
30332
30476
|
footer: footer$2
|
|
30333
30477
|
};
|
|
30334
|
-
const _sfc_main$
|
|
30478
|
+
const _sfc_main$15 = defineComponent({
|
|
30335
30479
|
components: {
|
|
30336
30480
|
ActionSheet,
|
|
30337
30481
|
Button
|
|
@@ -30366,7 +30510,7 @@ const _sfc_main$13 = defineComponent({
|
|
|
30366
30510
|
const _hoisted_1$A = ["src"];
|
|
30367
30511
|
const _hoisted_2$e = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
30368
30512
|
const _hoisted_3$9 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
30369
|
-
function _sfc_render$
|
|
30513
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30370
30514
|
const _component_Button = resolveComponent("Button");
|
|
30371
30515
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
30372
30516
|
return openBlock(), createBlock(_component_ActionSheet, { show: _ctx.show }, {
|
|
@@ -30435,20 +30579,20 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30435
30579
|
_: 1
|
|
30436
30580
|
}, 8, ["show"]);
|
|
30437
30581
|
}
|
|
30438
|
-
const cssModules$
|
|
30439
|
-
cssModules$
|
|
30440
|
-
var BirthdayConfirmError = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30582
|
+
const cssModules$S = {};
|
|
30583
|
+
cssModules$S["$style"] = style0$S;
|
|
30584
|
+
var BirthdayConfirmError = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__cssModules", cssModules$S]]);
|
|
30441
30585
|
const buttonContainer$7 = "_buttonContainer_1u1ce_1";
|
|
30442
30586
|
const button$3 = "_button_1u1ce_1";
|
|
30443
30587
|
const buttonImage = "_buttonImage_1u1ce_20";
|
|
30444
30588
|
const buttonText = "_buttonText_1u1ce_24";
|
|
30445
|
-
var style0$
|
|
30589
|
+
var style0$R = {
|
|
30446
30590
|
buttonContainer: buttonContainer$7,
|
|
30447
30591
|
button: button$3,
|
|
30448
30592
|
buttonImage,
|
|
30449
30593
|
buttonText
|
|
30450
30594
|
};
|
|
30451
|
-
const _sfc_main$
|
|
30595
|
+
const _sfc_main$14 = defineComponent({
|
|
30452
30596
|
name: "FloatingButton",
|
|
30453
30597
|
props: {
|
|
30454
30598
|
imageUrl: {
|
|
@@ -30470,7 +30614,7 @@ const _sfc_main$12 = defineComponent({
|
|
|
30470
30614
|
}
|
|
30471
30615
|
});
|
|
30472
30616
|
const _hoisted_1$z = ["src"];
|
|
30473
|
-
function _sfc_render$
|
|
30617
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30474
30618
|
return openBlock(), createElementBlock("div", {
|
|
30475
30619
|
role: "button",
|
|
30476
30620
|
class: normalizeClass(_ctx.style.buttonContainer)
|
|
@@ -30491,9 +30635,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30491
30635
|
], 2)
|
|
30492
30636
|
], 2);
|
|
30493
30637
|
}
|
|
30494
|
-
const cssModules$
|
|
30495
|
-
cssModules$
|
|
30496
|
-
var FloatingButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30638
|
+
const cssModules$R = {};
|
|
30639
|
+
cssModules$R["$style"] = style0$R;
|
|
30640
|
+
var FloatingButton = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__cssModules", cssModules$R]]);
|
|
30497
30641
|
function useData$1(props) {
|
|
30498
30642
|
var _a2, _b;
|
|
30499
30643
|
const animation = computed(
|
|
@@ -31023,6 +31167,7 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31023
31167
|
visible: false,
|
|
31024
31168
|
visibleOverlay: false,
|
|
31025
31169
|
errorCode: null,
|
|
31170
|
+
jws: null,
|
|
31026
31171
|
consultError: null,
|
|
31027
31172
|
showConsultError: false
|
|
31028
31173
|
},
|
|
@@ -31049,7 +31194,8 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31049
31194
|
calculated: false
|
|
31050
31195
|
},
|
|
31051
31196
|
chargeState: {
|
|
31052
|
-
showCharge: false
|
|
31197
|
+
showCharge: false,
|
|
31198
|
+
topupResult: null
|
|
31053
31199
|
},
|
|
31054
31200
|
closeConfirmationState: {
|
|
31055
31201
|
showCloseConfirmation: false
|
|
@@ -31144,6 +31290,12 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31144
31290
|
}, 300);
|
|
31145
31291
|
},
|
|
31146
31292
|
closeError(immediately) {
|
|
31293
|
+
if (!this.result.fail && this.errorState.errorCode) {
|
|
31294
|
+
this.private_sendFail(
|
|
31295
|
+
this.errorState.errorCode,
|
|
31296
|
+
this.errorState.jws || void 0
|
|
31297
|
+
);
|
|
31298
|
+
}
|
|
31147
31299
|
if (this.errorState.visibleOverlay) {
|
|
31148
31300
|
this.errorState.visibleOverlay = false;
|
|
31149
31301
|
this.private_sendComplete();
|
|
@@ -31177,14 +31329,14 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31177
31329
|
this.uiState.done = true;
|
|
31178
31330
|
this.paymentState.paymentResponse = res;
|
|
31179
31331
|
},
|
|
31180
|
-
|
|
31332
|
+
checkBeforeTopupAndPay(props, beforeTopupAndPayParams) {
|
|
31181
31333
|
var _a2;
|
|
31182
31334
|
this.paymentMethodState.paymentMethodForTopup = beforeTopupAndPayParams.paymentMethod;
|
|
31183
31335
|
if (beforeTopupAndPayParams.paymentMethod.paymentMethodType === PaymentMethodType.CREDIT_CARD) {
|
|
31184
31336
|
const isAuthenticated = (_a2 = beforeTopupAndPayParams.paymentMethod.creditCardInfo) == null ? void 0 : _a2.isAuthenticated;
|
|
31185
31337
|
if (!isAuthenticated) {
|
|
31186
31338
|
this.uiState.show3DSecureSheet = true;
|
|
31187
|
-
return;
|
|
31339
|
+
return false;
|
|
31188
31340
|
}
|
|
31189
31341
|
}
|
|
31190
31342
|
this.paymentMethodState.amountForTopup = beforeTopupAndPayParams.amount;
|
|
@@ -31194,32 +31346,32 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31194
31346
|
if (isDuplicateTopup) {
|
|
31195
31347
|
this.uiState.showDuplicateTopup = true;
|
|
31196
31348
|
this.uiState.duplicateTopup = true;
|
|
31197
|
-
return;
|
|
31349
|
+
return false;
|
|
31198
31350
|
}
|
|
31199
|
-
|
|
31200
|
-
});
|
|
31351
|
+
return true;
|
|
31201
31352
|
},
|
|
31202
|
-
async
|
|
31353
|
+
async topupBeforePayment(props) {
|
|
31354
|
+
this.errorState.visible = false;
|
|
31355
|
+
this.errorState.showConsultError = false;
|
|
31203
31356
|
this.uiState.showDuplicateTopup = false;
|
|
31204
31357
|
this.uiState.paying = true;
|
|
31205
|
-
if (this.paymentMethodState.paymentMethodForTopup) {
|
|
31206
|
-
|
|
31207
|
-
|
|
31208
|
-
|
|
31209
|
-
|
|
31210
|
-
|
|
31211
|
-
|
|
31212
|
-
|
|
31213
|
-
|
|
31214
|
-
|
|
31215
|
-
|
|
31216
|
-
|
|
31217
|
-
|
|
31218
|
-
|
|
31219
|
-
|
|
31220
|
-
|
|
31221
|
-
|
|
31222
|
-
return;
|
|
31358
|
+
if (!this.paymentMethodState.paymentMethodForTopup) {
|
|
31359
|
+
throw new Error("no topup method");
|
|
31360
|
+
}
|
|
31361
|
+
const chargeResult = await this.private_charge(props, {
|
|
31362
|
+
paymentMethod: this.paymentMethodState.paymentMethodForTopup,
|
|
31363
|
+
amount: this.paymentMethodState.amountForTopup,
|
|
31364
|
+
duplicateTopup: this.uiState.duplicateTopup,
|
|
31365
|
+
agreedWithTheFee: props.agreedWithTheFee
|
|
31366
|
+
});
|
|
31367
|
+
if (!chargeResult) {
|
|
31368
|
+
this.uiState.paying = false;
|
|
31369
|
+
throw new Error("topup failed");
|
|
31370
|
+
}
|
|
31371
|
+
const consultResult = await this.private_getConsultForTopup(props);
|
|
31372
|
+
if (!consultResult) {
|
|
31373
|
+
this.uiState.paying = false;
|
|
31374
|
+
throw new Error("consult failed");
|
|
31223
31375
|
}
|
|
31224
31376
|
},
|
|
31225
31377
|
close3DSecureSheet() {
|
|
@@ -31301,7 +31453,8 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31301
31453
|
async private_charge(props, {
|
|
31302
31454
|
paymentMethod: paymentMethod2,
|
|
31303
31455
|
amount: amount2,
|
|
31304
|
-
duplicateTopup
|
|
31456
|
+
duplicateTopup,
|
|
31457
|
+
agreedWithTheFee
|
|
31305
31458
|
}) {
|
|
31306
31459
|
var _a2;
|
|
31307
31460
|
const { requestedAt, prepaidOnly, merchantPaymentId, merchantAlias } = props.paymentParams || {};
|
|
@@ -31319,10 +31472,12 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31319
31472
|
amount: amount2 || 0
|
|
31320
31473
|
},
|
|
31321
31474
|
requestedAt,
|
|
31322
|
-
prepaidOnly
|
|
31475
|
+
prepaidOnly,
|
|
31476
|
+
feePercentage: paymentMethod2.feeInfo ? paymentMethod2.feeInfo.feePercentage : void 0,
|
|
31477
|
+
agreedWithTheFee: paymentMethod2.feeInfo ? agreedWithTheFee : void 0
|
|
31323
31478
|
};
|
|
31324
31479
|
saveLastTopupPayMethod(paymentMethodId);
|
|
31325
|
-
const res = await topup$3(query, body2);
|
|
31480
|
+
const res = await topup$3(query, body2, props.paymentParams);
|
|
31326
31481
|
const errorHandled = this.private_handleError(res, {
|
|
31327
31482
|
type: "topup",
|
|
31328
31483
|
api: "topup"
|
|
@@ -31330,6 +31485,7 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31330
31485
|
if ((res == null ? void 0 : res.ppFetchResult) !== "success" || !errorHandled) {
|
|
31331
31486
|
return false;
|
|
31332
31487
|
}
|
|
31488
|
+
this.chargeState.topupResult = res.body.unsigned.data;
|
|
31333
31489
|
return true;
|
|
31334
31490
|
},
|
|
31335
31491
|
async private_payment(props, paymentMethod2, agreeSimilarTransaction) {
|
|
@@ -31465,12 +31621,10 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31465
31621
|
if (!options.dryRun) {
|
|
31466
31622
|
const { errorDescription, errorIcon: errorIcon2, errorTitle: errorTitle2 } = createErrorFromType(options.type);
|
|
31467
31623
|
if ((_b = (_a2 = res == null ? void 0 : res.body) == null ? void 0 : _a2.uiComponents) == null ? void 0 : _b.displayErrorResponse) {
|
|
31468
|
-
|
|
31469
|
-
|
|
31470
|
-
|
|
31471
|
-
|
|
31472
|
-
this.private_sendFail(errorCodeForFailBack, (_d = res == null ? void 0 : res.body.signed) == null ? void 0 : _d.jws);
|
|
31473
|
-
}
|
|
31624
|
+
this.errorState.consultError = (_c = res.body.uiComponents) == null ? void 0 : _c.displayErrorResponse;
|
|
31625
|
+
this.errorState.showConsultError = true;
|
|
31626
|
+
this.errorState.errorCode = errorCodeForFailBack;
|
|
31627
|
+
this.errorState.jws = ((_d = res == null ? void 0 : res.body.signed) == null ? void 0 : _d.jws) || null;
|
|
31474
31628
|
return false;
|
|
31475
31629
|
}
|
|
31476
31630
|
this.errorState.visible = true;
|
|
@@ -31608,7 +31762,9 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31608
31762
|
result: false
|
|
31609
31763
|
};
|
|
31610
31764
|
}
|
|
31611
|
-
return
|
|
31765
|
+
return new Promise((resolve2) => {
|
|
31766
|
+
setTimeout(resolve2, 1e3);
|
|
31767
|
+
}).then(() => retryFunctions());
|
|
31612
31768
|
}
|
|
31613
31769
|
return {
|
|
31614
31770
|
res,
|
|
@@ -31634,7 +31790,7 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
31634
31790
|
}
|
|
31635
31791
|
}
|
|
31636
31792
|
});
|
|
31637
|
-
const container$
|
|
31793
|
+
const container$l = "_container_1yf9x_7";
|
|
31638
31794
|
const lottieContainer = "_lottieContainer_1yf9x_15";
|
|
31639
31795
|
const closeImage = "_closeImage_1yf9x_20";
|
|
31640
31796
|
const campaignContainer = "_campaignContainer_1yf9x_45";
|
|
@@ -31644,9 +31800,9 @@ const shareButton = "_shareButton_1yf9x_88";
|
|
|
31644
31800
|
const cashBackAnimationLottie = "_cashBackAnimationLottie_1yf9x_91";
|
|
31645
31801
|
const cashBackAnimationBottom = "_cashBackAnimationBottom_1yf9x_98";
|
|
31646
31802
|
const cashBackAnimationFull = "_cashBackAnimationFull_1yf9x_112";
|
|
31647
|
-
var style0$
|
|
31803
|
+
var style0$Q = {
|
|
31648
31804
|
"ppmna-default-font": "_ppmna-default-font_1yf9x_1",
|
|
31649
|
-
container: container$
|
|
31805
|
+
container: container$l,
|
|
31650
31806
|
lottieContainer,
|
|
31651
31807
|
closeImage,
|
|
31652
31808
|
campaignContainer,
|
|
@@ -31657,7 +31813,7 @@ var style0$O = {
|
|
|
31657
31813
|
cashBackAnimationBottom,
|
|
31658
31814
|
cashBackAnimationFull
|
|
31659
31815
|
};
|
|
31660
|
-
const _sfc_main$
|
|
31816
|
+
const _sfc_main$13 = defineComponent({
|
|
31661
31817
|
name: "CashBackDetail",
|
|
31662
31818
|
components: {
|
|
31663
31819
|
Lottie,
|
|
@@ -31679,6 +31835,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
31679
31835
|
close: () => true
|
|
31680
31836
|
},
|
|
31681
31837
|
setup(props, { emit }) {
|
|
31838
|
+
const { headerHeight } = useGetHeightProperties();
|
|
31682
31839
|
const cashback2 = ref();
|
|
31683
31840
|
const { animation, uiState, type } = useData$1(props);
|
|
31684
31841
|
const lg2 = getLanguage();
|
|
@@ -31798,7 +31955,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
31798
31955
|
var _a2, _b, _c;
|
|
31799
31956
|
const offsetTop = (_b = (_a2 = cashback2 == null ? void 0 : cashback2.value) == null ? void 0 : _a2.offsetTop) != null ? _b : 0;
|
|
31800
31957
|
return {
|
|
31801
|
-
top: `${16 + (((_c = type.value) == null ? void 0 : _c.tierCampaignBottom) ? 0 : Math.abs(offsetTop))}px`
|
|
31958
|
+
top: `${16 + (((_c = type.value) == null ? void 0 : _c.tierCampaignBottom) ? 0 : Math.abs(offsetTop) + headerHeight)}px`
|
|
31802
31959
|
};
|
|
31803
31960
|
});
|
|
31804
31961
|
return {
|
|
@@ -31850,7 +32007,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
31850
32007
|
}
|
|
31851
32008
|
});
|
|
31852
32009
|
const _hoisted_1$y = ["src"];
|
|
31853
|
-
function _sfc_render$
|
|
32010
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31854
32011
|
const _component_Lottie = resolveComponent("Lottie");
|
|
31855
32012
|
const _component_FloatingButton = resolveComponent("FloatingButton");
|
|
31856
32013
|
const _component_BirthdayConfirm = resolveComponent("BirthdayConfirm");
|
|
@@ -31942,19 +32099,19 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31942
32099
|
[vShow, _ctx.loaded]
|
|
31943
32100
|
]);
|
|
31944
32101
|
}
|
|
31945
|
-
const cssModules$
|
|
31946
|
-
cssModules$
|
|
31947
|
-
var CashBackDetails = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31948
|
-
const container$
|
|
32102
|
+
const cssModules$Q = {};
|
|
32103
|
+
cssModules$Q["$style"] = style0$Q;
|
|
32104
|
+
var CashBackDetails = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__cssModules", cssModules$Q]]);
|
|
32105
|
+
const container$k = "_container_1hy5k_7";
|
|
31949
32106
|
const list = "_list_1hy5k_21";
|
|
31950
32107
|
const unit$3 = "_unit_1hy5k_26";
|
|
31951
|
-
var style0$
|
|
32108
|
+
var style0$P = {
|
|
31952
32109
|
"ppmna-default-font": "_ppmna-default-font_1hy5k_1",
|
|
31953
|
-
container: container$
|
|
32110
|
+
container: container$k,
|
|
31954
32111
|
list,
|
|
31955
32112
|
unit: unit$3
|
|
31956
32113
|
};
|
|
31957
|
-
const _sfc_main$
|
|
32114
|
+
const _sfc_main$12 = defineComponent({
|
|
31958
32115
|
name: "ChargeAmountMoreList",
|
|
31959
32116
|
props: {
|
|
31960
32117
|
data: {
|
|
@@ -31979,7 +32136,7 @@ const _sfc_main$10 = defineComponent({
|
|
|
31979
32136
|
}
|
|
31980
32137
|
});
|
|
31981
32138
|
const _hoisted_1$x = ["onClick"];
|
|
31982
|
-
function _sfc_render$
|
|
32139
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31983
32140
|
return openBlock(), createElementBlock("ul", {
|
|
31984
32141
|
class: normalizeClass(_ctx.style.container),
|
|
31985
32142
|
"data-testid": "more-list"
|
|
@@ -32000,9 +32157,9 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32000
32157
|
}), 128))
|
|
32001
32158
|
], 2);
|
|
32002
32159
|
}
|
|
32003
|
-
const cssModules$
|
|
32004
|
-
cssModules$
|
|
32005
|
-
var ChargeAmountMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32160
|
+
const cssModules$P = {};
|
|
32161
|
+
cssModules$P["$style"] = style0$P;
|
|
32162
|
+
var ChargeAmountMoreList = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__cssModules", cssModules$P]]);
|
|
32006
32163
|
const appContainer = "_appContainer_1ifha_7";
|
|
32007
32164
|
const appTitleContainer = "_appTitleContainer_1ifha_18";
|
|
32008
32165
|
const appLogo = "_appLogo_1ifha_27";
|
|
@@ -32013,7 +32170,7 @@ const insufficientAmountText = "_insufficientAmountText_1ifha_74";
|
|
|
32013
32170
|
const amountInfo = "_amountInfo_1ifha_95";
|
|
32014
32171
|
const sufficientRow = "_sufficientRow_1ifha_141";
|
|
32015
32172
|
const red$2 = "_red_1ifha_185";
|
|
32016
|
-
var style0$
|
|
32173
|
+
var style0$O = {
|
|
32017
32174
|
"ppmna-default-font": "_ppmna-default-font_1ifha_1",
|
|
32018
32175
|
appContainer,
|
|
32019
32176
|
appTitleContainer,
|
|
@@ -32026,7 +32183,7 @@ var style0$M = {
|
|
|
32026
32183
|
sufficientRow,
|
|
32027
32184
|
red: red$2
|
|
32028
32185
|
};
|
|
32029
|
-
const _sfc_main
|
|
32186
|
+
const _sfc_main$11 = defineComponent({
|
|
32030
32187
|
props: {
|
|
32031
32188
|
appDetail: {
|
|
32032
32189
|
type: Object,
|
|
@@ -32074,7 +32231,7 @@ const _hoisted_1$w = ["src"];
|
|
|
32074
32231
|
const _hoisted_2$d = { key: 0 };
|
|
32075
32232
|
const _hoisted_3$8 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
32076
32233
|
const _hoisted_4$4 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
32077
|
-
function _sfc_render
|
|
32234
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32078
32235
|
return openBlock(), createElementBlock("div", null, [
|
|
32079
32236
|
createBaseVNode("div", {
|
|
32080
32237
|
class: normalizeClass(_ctx.style.appContainer)
|
|
@@ -32131,23 +32288,23 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32131
32288
|
], 2)
|
|
32132
32289
|
]);
|
|
32133
32290
|
}
|
|
32134
|
-
const cssModules$
|
|
32135
|
-
cssModules$
|
|
32136
|
-
var TopInfo = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
32137
|
-
const container$
|
|
32138
|
-
const bannerTitle$1 = "
|
|
32139
|
-
const bannerHeader = "
|
|
32140
|
-
const icon$c = "
|
|
32141
|
-
const title$e = "
|
|
32142
|
-
var style0$
|
|
32143
|
-
"ppmna-default-font": "_ppmna-default-
|
|
32144
|
-
container: container$
|
|
32291
|
+
const cssModules$O = {};
|
|
32292
|
+
cssModules$O["$style"] = style0$O;
|
|
32293
|
+
var TopInfo = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__cssModules", cssModules$O]]);
|
|
32294
|
+
const container$j = "_container_yxwrf_7";
|
|
32295
|
+
const bannerTitle$1 = "_bannerTitle_yxwrf_15";
|
|
32296
|
+
const bannerHeader = "_bannerHeader_yxwrf_33";
|
|
32297
|
+
const icon$c = "_icon_yxwrf_39";
|
|
32298
|
+
const title$e = "_title_yxwrf_44";
|
|
32299
|
+
var style0$N = {
|
|
32300
|
+
"ppmna-default-font": "_ppmna-default-font_yxwrf_1",
|
|
32301
|
+
container: container$j,
|
|
32145
32302
|
bannerTitle: bannerTitle$1,
|
|
32146
32303
|
bannerHeader,
|
|
32147
32304
|
icon: icon$c,
|
|
32148
32305
|
title: title$e
|
|
32149
32306
|
};
|
|
32150
|
-
const _sfc_main$
|
|
32307
|
+
const _sfc_main$10 = defineComponent({
|
|
32151
32308
|
props: {
|
|
32152
32309
|
showTitle: {
|
|
32153
32310
|
type: Boolean,
|
|
@@ -32203,7 +32360,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
32203
32360
|
});
|
|
32204
32361
|
const _hoisted_1$v = ["src"];
|
|
32205
32362
|
const _hoisted_2$c = ["src"];
|
|
32206
|
-
function _sfc_render$
|
|
32363
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32207
32364
|
return openBlock(), createElementBlock("div", {
|
|
32208
32365
|
class: normalizeClass([_ctx.style.container, _ctx.customClass])
|
|
32209
32366
|
}, [
|
|
@@ -32235,9 +32392,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32235
32392
|
], 2)
|
|
32236
32393
|
], 2);
|
|
32237
32394
|
}
|
|
32238
|
-
const cssModules$
|
|
32239
|
-
cssModules$
|
|
32240
|
-
var BannerHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32395
|
+
const cssModules$N = {};
|
|
32396
|
+
cssModules$N["$style"] = style0$N;
|
|
32397
|
+
var BannerHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__cssModules", cssModules$N]]);
|
|
32241
32398
|
const chargeArea$1 = "_chargeArea_106ra_1";
|
|
32242
32399
|
const margin = "_margin_106ra_25";
|
|
32243
32400
|
const marginLeft = "_marginLeft_106ra_29";
|
|
@@ -32248,7 +32405,7 @@ const dot$1 = "_dot_106ra_78";
|
|
|
32248
32405
|
const input$3 = "_input_106ra_91";
|
|
32249
32406
|
const dropDownClass = "_dropDownClass_106ra_105";
|
|
32250
32407
|
const selectMore = "_selectMore_106ra_111";
|
|
32251
|
-
var style0$
|
|
32408
|
+
var style0$M = {
|
|
32252
32409
|
chargeArea: chargeArea$1,
|
|
32253
32410
|
margin,
|
|
32254
32411
|
marginLeft,
|
|
@@ -32260,7 +32417,7 @@ var style0$K = {
|
|
|
32260
32417
|
dropDownClass,
|
|
32261
32418
|
selectMore
|
|
32262
32419
|
};
|
|
32263
|
-
const _sfc_main
|
|
32420
|
+
const _sfc_main$$ = defineComponent({
|
|
32264
32421
|
components: {
|
|
32265
32422
|
Select
|
|
32266
32423
|
},
|
|
@@ -32371,7 +32528,7 @@ const _sfc_main$Z = defineComponent({
|
|
|
32371
32528
|
}
|
|
32372
32529
|
});
|
|
32373
32530
|
const _hoisted_1$u = ["onClick"];
|
|
32374
|
-
function _sfc_render
|
|
32531
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32375
32532
|
const _component_Select = resolveComponent("Select");
|
|
32376
32533
|
return openBlock(), createElementBlock("div", {
|
|
32377
32534
|
class: normalizeClass(_ctx.style.chargeArea)
|
|
@@ -32428,34 +32585,102 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32428
32585
|
}, null, 8, ["type", "list", "value", "toggle-dropdown", "drop-down-class", "on-change"])) : createCommentVNode("", true)
|
|
32429
32586
|
], 2);
|
|
32430
32587
|
}
|
|
32431
|
-
const cssModules$
|
|
32432
|
-
cssModules$
|
|
32433
|
-
var ChargeAmountList = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
32434
|
-
const
|
|
32435
|
-
const
|
|
32436
|
-
const
|
|
32437
|
-
const
|
|
32438
|
-
|
|
32439
|
-
|
|
32440
|
-
|
|
32441
|
-
|
|
32442
|
-
|
|
32443
|
-
|
|
32444
|
-
const
|
|
32445
|
-
|
|
32446
|
-
|
|
32447
|
-
|
|
32448
|
-
|
|
32449
|
-
|
|
32450
|
-
|
|
32451
|
-
|
|
32452
|
-
|
|
32453
|
-
|
|
32454
|
-
|
|
32455
|
-
|
|
32456
|
-
|
|
32457
|
-
|
|
32458
|
-
|
|
32588
|
+
const cssModules$M = {};
|
|
32589
|
+
cssModules$M["$style"] = style0$M;
|
|
32590
|
+
var ChargeAmountList = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__cssModules", cssModules$M]]);
|
|
32591
|
+
const container$i = "_container_1il5z_1";
|
|
32592
|
+
const left = "_left_1il5z_9";
|
|
32593
|
+
const right = "_right_1il5z_18";
|
|
32594
|
+
const yen$1 = "_yen_1il5z_27";
|
|
32595
|
+
var style0$L = {
|
|
32596
|
+
container: container$i,
|
|
32597
|
+
left,
|
|
32598
|
+
right,
|
|
32599
|
+
yen: yen$1
|
|
32600
|
+
};
|
|
32601
|
+
const _sfc_main$_ = defineComponent({
|
|
32602
|
+
name: "TopupFeeInfo",
|
|
32603
|
+
props: {
|
|
32604
|
+
containerClass: {
|
|
32605
|
+
type: String,
|
|
32606
|
+
default: null
|
|
32607
|
+
},
|
|
32608
|
+
topupFeeInfo: {
|
|
32609
|
+
type: Object,
|
|
32610
|
+
required: true
|
|
32611
|
+
},
|
|
32612
|
+
topupAmount: {
|
|
32613
|
+
type: Number,
|
|
32614
|
+
required: true
|
|
32615
|
+
}
|
|
32616
|
+
},
|
|
32617
|
+
computed: {
|
|
32618
|
+
leftLabel() {
|
|
32619
|
+
return this.topupFeeInfo.label;
|
|
32620
|
+
},
|
|
32621
|
+
rightLabel() {
|
|
32622
|
+
var _a2;
|
|
32623
|
+
const feePercentage = (_a2 = this.topupFeeInfo) == null ? void 0 : _a2.feePercentage;
|
|
32624
|
+
if (feePercentage == null) {
|
|
32625
|
+
return "---";
|
|
32626
|
+
}
|
|
32627
|
+
return feePercentage === 0 ? this.topupFeeInfo.zeroFeeText : Math.floor(this.topupAmount * feePercentage / 100);
|
|
32628
|
+
},
|
|
32629
|
+
showsYen() {
|
|
32630
|
+
return !!this.topupFeeInfo.feePercentage;
|
|
32631
|
+
},
|
|
32632
|
+
yen() {
|
|
32633
|
+
return useRemoteStrings().value.topup.yen;
|
|
32634
|
+
}
|
|
32635
|
+
}
|
|
32636
|
+
});
|
|
32637
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32638
|
+
return openBlock(), createElementBlock("div", {
|
|
32639
|
+
class: normalizeClass([_ctx.$style.container, _ctx.containerClass])
|
|
32640
|
+
}, [
|
|
32641
|
+
createBaseVNode("div", {
|
|
32642
|
+
class: normalizeClass(_ctx.$style.left)
|
|
32643
|
+
}, toDisplayString(_ctx.leftLabel), 3),
|
|
32644
|
+
createBaseVNode("div", null, [
|
|
32645
|
+
createBaseVNode("span", {
|
|
32646
|
+
class: normalizeClass(_ctx.$style.right)
|
|
32647
|
+
}, toDisplayString(_ctx.rightLabel), 3),
|
|
32648
|
+
_ctx.showsYen ? (openBlock(), createElementBlock("span", {
|
|
32649
|
+
key: 0,
|
|
32650
|
+
class: normalizeClass(_ctx.$style.yen)
|
|
32651
|
+
}, toDisplayString(_ctx.yen), 3)) : createCommentVNode("", true)
|
|
32652
|
+
])
|
|
32653
|
+
], 2);
|
|
32654
|
+
}
|
|
32655
|
+
const cssModules$L = {};
|
|
32656
|
+
cssModules$L["$style"] = style0$L;
|
|
32657
|
+
var TopupFeeInfo = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__cssModules", cssModules$L]]);
|
|
32658
|
+
const chargeMainTitle = "_chargeMainTitle_1qi3t_7";
|
|
32659
|
+
const bannerInfo = "_bannerInfo_1qi3t_22";
|
|
32660
|
+
const chargeTitle = "_chargeTitle_1qi3t_26";
|
|
32661
|
+
const topupAmount = "_topupAmount_1qi3t_39";
|
|
32662
|
+
const paymentMethodContainer$1 = "_paymentMethodContainer_1qi3t_69";
|
|
32663
|
+
const desktopUi = "_desktopUi_1qi3t_86";
|
|
32664
|
+
const chargeLabel = "_chargeLabel_1qi3t_92";
|
|
32665
|
+
const buttonContainer$6 = "_buttonContainer_1qi3t_111";
|
|
32666
|
+
const cancelBtn = "_cancelBtn_1qi3t_118";
|
|
32667
|
+
const successContainer = "_successContainer_1qi3t_122";
|
|
32668
|
+
const hidden = "_hidden_1qi3t_133";
|
|
32669
|
+
const loadingText$1 = "_loadingText_1qi3t_142";
|
|
32670
|
+
const unAvailable = "_unAvailable_1qi3t_162";
|
|
32671
|
+
const change$1 = "_change_1qi3t_189";
|
|
32672
|
+
const chargeBtnSticky = "_chargeBtnSticky_1qi3t_205";
|
|
32673
|
+
const chargeWrapper = "_chargeWrapper_1qi3t_218";
|
|
32674
|
+
const chargeTitleContainer = "_chargeTitleContainer_1qi3t_224";
|
|
32675
|
+
const chargeListWrapper = "_chargeListWrapper_1qi3t_230";
|
|
32676
|
+
const itemContainer = "_itemContainer_1qi3t_234";
|
|
32677
|
+
const chargeArea = "_chargeArea_1qi3t_242";
|
|
32678
|
+
const wrapperClass$7 = "_wrapperClass_1qi3t_262";
|
|
32679
|
+
const nonVisible = "_nonVisible_1qi3t_262";
|
|
32680
|
+
const paymentMethod = "_paymentMethod_1qi3t_69";
|
|
32681
|
+
const feeInfo$1 = "_feeInfo_1qi3t_270";
|
|
32682
|
+
var style0$K = {
|
|
32683
|
+
"ppmna-default-font": "_ppmna-default-font_1qi3t_1",
|
|
32459
32684
|
chargeMainTitle,
|
|
32460
32685
|
bannerInfo,
|
|
32461
32686
|
chargeTitle,
|
|
@@ -32478,9 +32703,10 @@ var style0$J = {
|
|
|
32478
32703
|
chargeArea,
|
|
32479
32704
|
wrapperClass: wrapperClass$7,
|
|
32480
32705
|
nonVisible,
|
|
32481
|
-
paymentMethod
|
|
32706
|
+
paymentMethod,
|
|
32707
|
+
feeInfo: feeInfo$1
|
|
32482
32708
|
};
|
|
32483
|
-
const _sfc_main$
|
|
32709
|
+
const _sfc_main$Z = defineComponent({
|
|
32484
32710
|
components: {
|
|
32485
32711
|
PaymentType,
|
|
32486
32712
|
BannerHeader,
|
|
@@ -32489,13 +32715,14 @@ const _sfc_main$Y = defineComponent({
|
|
|
32489
32715
|
Lottie,
|
|
32490
32716
|
Divider,
|
|
32491
32717
|
PayMethod,
|
|
32492
|
-
GetUserAddressApp: AppVue$9
|
|
32718
|
+
GetUserAddressApp: AppVue$9,
|
|
32719
|
+
TopupFeeInfo
|
|
32493
32720
|
},
|
|
32494
32721
|
props: {
|
|
32495
32722
|
paymentMethod: {
|
|
32496
32723
|
type: Object,
|
|
32497
|
-
default:
|
|
32498
|
-
|
|
32724
|
+
default: void 0,
|
|
32725
|
+
required: false
|
|
32499
32726
|
},
|
|
32500
32727
|
bannerInfo: {
|
|
32501
32728
|
type: Object,
|
|
@@ -32591,6 +32818,9 @@ const _sfc_main$Y = defineComponent({
|
|
|
32591
32818
|
const state = reactive({
|
|
32592
32819
|
showPaymentMethodList: false
|
|
32593
32820
|
});
|
|
32821
|
+
const topupAmount2 = computed(() => {
|
|
32822
|
+
return Number(props.topupAmountText.replace(/,/g, ""));
|
|
32823
|
+
});
|
|
32594
32824
|
const setMoney = (price2) => emit("setMoney", price2);
|
|
32595
32825
|
const close2 = () => emit("close");
|
|
32596
32826
|
const selectmoremoney = () => emit("selectmoremoney");
|
|
@@ -32642,6 +32872,7 @@ const _sfc_main$Y = defineComponent({
|
|
|
32642
32872
|
};
|
|
32643
32873
|
return {
|
|
32644
32874
|
style,
|
|
32875
|
+
topupAmount: topupAmount2,
|
|
32645
32876
|
setMoney,
|
|
32646
32877
|
selectmoremoney,
|
|
32647
32878
|
show: show2,
|
|
@@ -32665,8 +32896,10 @@ const _sfc_main$Y = defineComponent({
|
|
|
32665
32896
|
const _hoisted_1$t = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
32666
32897
|
const _hoisted_2$b = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
32667
32898
|
const _hoisted_3$7 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
32668
|
-
function _sfc_render$
|
|
32899
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32900
|
+
var _a2;
|
|
32669
32901
|
const _component_BannerHeader = resolveComponent("BannerHeader");
|
|
32902
|
+
const _component_TopupFeeInfo = resolveComponent("TopupFeeInfo");
|
|
32670
32903
|
const _component_ChargeAmountList = resolveComponent("ChargeAmountList");
|
|
32671
32904
|
const _component_Divider = resolveComponent("Divider");
|
|
32672
32905
|
const _component_PaymentType = resolveComponent("PaymentType");
|
|
@@ -32695,6 +32928,12 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32695
32928
|
onShow: _ctx.show
|
|
32696
32929
|
}, null, 8, ["description-banner-info", "onShow"])
|
|
32697
32930
|
], 2)) : createCommentVNode("", true),
|
|
32931
|
+
((_a2 = _ctx.paymentMethod) == null ? void 0 : _a2.feeInfo) ? (openBlock(), createBlock(_component_TopupFeeInfo, {
|
|
32932
|
+
key: 1,
|
|
32933
|
+
"topup-fee-info": _ctx.paymentMethod.feeInfo,
|
|
32934
|
+
"topup-amount": _ctx.topupAmount,
|
|
32935
|
+
"container-class": _ctx.$style.feeInfo
|
|
32936
|
+
}, null, 8, ["topup-fee-info", "topup-amount", "container-class"])) : createCommentVNode("", true),
|
|
32698
32937
|
createBaseVNode("div", {
|
|
32699
32938
|
class: normalizeClass(_ctx.style.chargeTitleContainer)
|
|
32700
32939
|
}, [
|
|
@@ -32744,7 +32983,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32744
32983
|
], 2),
|
|
32745
32984
|
createVNode(_component_PaymentType, {
|
|
32746
32985
|
"data-testid": "topup-pay-method",
|
|
32747
|
-
"payment-method": _ctx.paymentMethod,
|
|
32986
|
+
"payment-method": _ctx.paymentMethod || null,
|
|
32748
32987
|
class: normalizeClass(_ctx.style.paymentMethod),
|
|
32749
32988
|
"is-make-payment": true,
|
|
32750
32989
|
onClick: _ctx.openPaymentMethod
|
|
@@ -32856,15 +33095,15 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32856
33095
|
])
|
|
32857
33096
|
], 2);
|
|
32858
33097
|
}
|
|
32859
|
-
const cssModules$
|
|
32860
|
-
cssModules$
|
|
32861
|
-
var TopContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33098
|
+
const cssModules$K = {};
|
|
33099
|
+
cssModules$K["$style"] = style0$K;
|
|
33100
|
+
var TopContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__cssModules", cssModules$K]]);
|
|
32862
33101
|
const container$h = "_container_tm1u3_7";
|
|
32863
33102
|
const payment = "_payment_tm1u3_10";
|
|
32864
33103
|
const paymentList = "_paymentList_tm1u3_13";
|
|
32865
33104
|
const bottomContainer = "_bottomContainer_tm1u3_25";
|
|
32866
33105
|
const bottomText = "_bottomText_tm1u3_44";
|
|
32867
|
-
var style0$
|
|
33106
|
+
var style0$J = {
|
|
32868
33107
|
"ppmna-default-font": "_ppmna-default-font_tm1u3_1",
|
|
32869
33108
|
container: container$h,
|
|
32870
33109
|
payment,
|
|
@@ -32872,7 +33111,7 @@ var style0$I = {
|
|
|
32872
33111
|
bottomContainer,
|
|
32873
33112
|
bottomText
|
|
32874
33113
|
};
|
|
32875
|
-
const _sfc_main$
|
|
33114
|
+
const _sfc_main$Y = defineComponent({
|
|
32876
33115
|
name: "ChoosePaymentMethod",
|
|
32877
33116
|
components: {
|
|
32878
33117
|
Header,
|
|
@@ -32941,7 +33180,7 @@ const _sfc_main$X = defineComponent({
|
|
|
32941
33180
|
}
|
|
32942
33181
|
});
|
|
32943
33182
|
const _hoisted_1$s = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
32944
|
-
function _sfc_render$
|
|
33183
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32945
33184
|
const _component_Header = resolveComponent("Header");
|
|
32946
33185
|
const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
|
|
32947
33186
|
const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
|
|
@@ -32990,9 +33229,9 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32990
33229
|
], 6)
|
|
32991
33230
|
], 2);
|
|
32992
33231
|
}
|
|
32993
|
-
const cssModules$
|
|
32994
|
-
cssModules$
|
|
32995
|
-
var ChoosePaymentMethod = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33232
|
+
const cssModules$J = {};
|
|
33233
|
+
cssModules$J["$style"] = style0$J;
|
|
33234
|
+
var ChoosePaymentMethod = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__cssModules", cssModules$J]]);
|
|
32996
33235
|
const container$g = "_container_7uxwm_2";
|
|
32997
33236
|
const slideSecondaryEnterActive$2 = "_slideSecondaryEnterActive_7uxwm_8";
|
|
32998
33237
|
const slideSecondaryLeaveActive$2 = "_slideSecondaryLeaveActive_7uxwm_11";
|
|
@@ -33006,7 +33245,7 @@ const content$3 = "_content_7uxwm_67";
|
|
|
33006
33245
|
const gridRoot = "_gridRoot_7uxwm_84";
|
|
33007
33246
|
const listContainer = "_listContainer_7uxwm_90";
|
|
33008
33247
|
const topupContainer = "_topupContainer_7uxwm_101";
|
|
33009
|
-
var style0$
|
|
33248
|
+
var style0$I = {
|
|
33010
33249
|
"ppmna-default-font": "_ppmna-default-font_7uxwm_1",
|
|
33011
33250
|
container: container$g,
|
|
33012
33251
|
slideSecondaryEnterActive: slideSecondaryEnterActive$2,
|
|
@@ -33106,7 +33345,7 @@ function useData(props) {
|
|
|
33106
33345
|
appealDescription
|
|
33107
33346
|
};
|
|
33108
33347
|
}
|
|
33109
|
-
const _sfc_main$
|
|
33348
|
+
const _sfc_main$X = defineComponent({
|
|
33110
33349
|
name: "Charge",
|
|
33111
33350
|
components: {
|
|
33112
33351
|
Header,
|
|
@@ -33347,7 +33586,7 @@ const _sfc_main$W = defineComponent({
|
|
|
33347
33586
|
};
|
|
33348
33587
|
}
|
|
33349
33588
|
});
|
|
33350
|
-
function _sfc_render$
|
|
33589
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33351
33590
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
33352
33591
|
const _component_Header = resolveComponent("Header");
|
|
33353
33592
|
const _component_TopInfo = resolveComponent("TopInfo");
|
|
@@ -33479,16 +33718,16 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33479
33718
|
], 6)
|
|
33480
33719
|
], 2);
|
|
33481
33720
|
}
|
|
33482
|
-
const cssModules$
|
|
33483
|
-
cssModules$
|
|
33484
|
-
var Charge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33721
|
+
const cssModules$I = {};
|
|
33722
|
+
cssModules$I["$style"] = style0$I;
|
|
33723
|
+
var Charge = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__cssModules", cssModules$I]]);
|
|
33485
33724
|
const inner$6 = "_inner_7i113_1";
|
|
33486
33725
|
const contents$6 = "_contents_7i113_4";
|
|
33487
33726
|
const icon$b = "_icon_7i113_7";
|
|
33488
33727
|
const title$d = "_title_7i113_11";
|
|
33489
33728
|
const description$8 = "_description_7i113_27";
|
|
33490
33729
|
const buttonContainer$5 = "_buttonContainer_7i113_43";
|
|
33491
|
-
var style0$
|
|
33730
|
+
var style0$H = {
|
|
33492
33731
|
inner: inner$6,
|
|
33493
33732
|
contents: contents$6,
|
|
33494
33733
|
icon: icon$b,
|
|
@@ -33496,7 +33735,7 @@ var style0$G = {
|
|
|
33496
33735
|
description: description$8,
|
|
33497
33736
|
buttonContainer: buttonContainer$5
|
|
33498
33737
|
};
|
|
33499
|
-
const _sfc_main$
|
|
33738
|
+
const _sfc_main$W = defineComponent({
|
|
33500
33739
|
name: "ThreeDSecureSheet",
|
|
33501
33740
|
components: {
|
|
33502
33741
|
ActionSheet,
|
|
@@ -33544,7 +33783,7 @@ const _hoisted_3$6 = {
|
|
|
33544
33783
|
key: 1,
|
|
33545
33784
|
"data-testid": "3d-secure-sheet-description-pp-yj-card"
|
|
33546
33785
|
};
|
|
33547
|
-
function _sfc_render$
|
|
33786
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33548
33787
|
const _component_Button = resolveComponent("Button");
|
|
33549
33788
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
33550
33789
|
return openBlock(), createBlock(_component_ActionSheet, { show: _ctx.show }, {
|
|
@@ -33613,9 +33852,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33613
33852
|
_: 1
|
|
33614
33853
|
}, 8, ["show"]);
|
|
33615
33854
|
}
|
|
33616
|
-
const cssModules$
|
|
33617
|
-
cssModules$
|
|
33618
|
-
var ThreeDSecureSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33855
|
+
const cssModules$H = {};
|
|
33856
|
+
cssModules$H["$style"] = style0$H;
|
|
33857
|
+
var ThreeDSecureSheet = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__cssModules", cssModules$H]]);
|
|
33619
33858
|
const makePayment$1 = "_makePayment_1j8gu_2";
|
|
33620
33859
|
const slideSecondaryEnterActive$1 = "_slideSecondaryEnterActive_1j8gu_8";
|
|
33621
33860
|
const slideSecondaryLeaveActive$1 = "_slideSecondaryLeaveActive_1j8gu_11";
|
|
@@ -33628,7 +33867,7 @@ const cashbackEnterActive = "_cashbackEnterActive_1j8gu_47";
|
|
|
33628
33867
|
const cashbackLeaveActive = "_cashbackLeaveActive_1j8gu_51";
|
|
33629
33868
|
const cashbackEnterTo = "_cashbackEnterTo_1j8gu_55";
|
|
33630
33869
|
const cashbackLeaveTo = "_cashbackLeaveTo_1j8gu_58";
|
|
33631
|
-
var style0$
|
|
33870
|
+
var style0$G = {
|
|
33632
33871
|
"ppmna-default-font": "_ppmna-default-font_1j8gu_1",
|
|
33633
33872
|
makePayment: makePayment$1,
|
|
33634
33873
|
slideSecondaryEnterActive: slideSecondaryEnterActive$1,
|
|
@@ -33643,7 +33882,7 @@ var style0$F = {
|
|
|
33643
33882
|
cashbackEnterTo,
|
|
33644
33883
|
cashbackLeaveTo
|
|
33645
33884
|
};
|
|
33646
|
-
const _sfc_main$
|
|
33885
|
+
const _sfc_main$V = defineComponent({
|
|
33647
33886
|
components: {
|
|
33648
33887
|
PaymentCompletion,
|
|
33649
33888
|
ActionSheet,
|
|
@@ -33723,21 +33962,28 @@ const _sfc_main$U = defineComponent({
|
|
|
33723
33962
|
await makePaymentStore.afterPaymentSuccess(props);
|
|
33724
33963
|
}
|
|
33725
33964
|
);
|
|
33726
|
-
const
|
|
33727
|
-
makePaymentStore.
|
|
33728
|
-
|
|
33729
|
-
|
|
33730
|
-
topAndPay
|
|
33731
|
-
);
|
|
33965
|
+
const checkAndExecuteTopupAndPay = (beforeTopupAndPayParams) => {
|
|
33966
|
+
if (makePaymentStore.checkBeforeTopupAndPay(props, beforeTopupAndPayParams)) {
|
|
33967
|
+
executeTopupAndPay();
|
|
33968
|
+
}
|
|
33732
33969
|
};
|
|
33733
33970
|
const { isMobile, isDesktop } = useBreakpoints();
|
|
33734
|
-
const
|
|
33735
|
-
makePaymentStore.
|
|
33736
|
-
|
|
33737
|
-
|
|
33738
|
-
}).catch(() => {
|
|
33971
|
+
const executeTopupAndPay = () => {
|
|
33972
|
+
makePaymentStore.topupBeforePayment({
|
|
33973
|
+
paymentParams: props.paymentParams,
|
|
33974
|
+
agreedWithTheFee: false
|
|
33975
|
+
}).then(() => _pay()).catch(() => {
|
|
33739
33976
|
});
|
|
33740
33977
|
};
|
|
33978
|
+
const handleErrorNativeAction = (button4) => {
|
|
33979
|
+
if (button4.nativeAction === "SB_TOPUP_CONTINUE") {
|
|
33980
|
+
makePaymentStore.topupBeforePayment({
|
|
33981
|
+
paymentParams: props.paymentParams,
|
|
33982
|
+
agreedWithTheFee: true
|
|
33983
|
+
}).then(() => _pay()).catch(() => {
|
|
33984
|
+
});
|
|
33985
|
+
}
|
|
33986
|
+
};
|
|
33741
33987
|
const cancelPayment = () => {
|
|
33742
33988
|
makePaymentStore.cancelPayment(isDesktop.value);
|
|
33743
33989
|
};
|
|
@@ -33751,7 +33997,7 @@ const _sfc_main$U = defineComponent({
|
|
|
33751
33997
|
var _a2, _b;
|
|
33752
33998
|
return (_b = (_a2 = props.paymentParams) == null ? void 0 : _a2.amount) == null ? void 0 : _b.amount;
|
|
33753
33999
|
}),
|
|
33754
|
-
|
|
34000
|
+
executeTopupAndPay,
|
|
33755
34001
|
isPreAuth: computed(() => {
|
|
33756
34002
|
var _a2, _b;
|
|
33757
34003
|
return (_b = (_a2 = props.paymentParams) == null ? void 0 : _a2.isAuthorization) != null ? _b : false;
|
|
@@ -33760,14 +34006,15 @@ const _sfc_main$U = defineComponent({
|
|
|
33760
34006
|
var _a2, _b;
|
|
33761
34007
|
return (_b = (_a2 = props.paymentParams) == null ? void 0 : _a2.taxExempt) != null ? _b : false;
|
|
33762
34008
|
}),
|
|
33763
|
-
|
|
34009
|
+
checkAndExecuteTopupAndPay,
|
|
33764
34010
|
isMobile,
|
|
33765
34011
|
isDesktop,
|
|
33766
|
-
makePaymentStore
|
|
34012
|
+
makePaymentStore,
|
|
34013
|
+
handleErrorNativeAction
|
|
33767
34014
|
};
|
|
33768
34015
|
}
|
|
33769
34016
|
});
|
|
33770
|
-
function _sfc_render$
|
|
34017
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33771
34018
|
const _component_Payment = resolveComponent("Payment");
|
|
33772
34019
|
const _component_Charge = resolveComponent("Charge");
|
|
33773
34020
|
const _component_ChoosePayment = resolveComponent("ChoosePayment");
|
|
@@ -33842,7 +34089,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33842
34089
|
onAnimationEnd: _ctx.makePaymentStore.endHandle,
|
|
33843
34090
|
onBack: _ctx.makePaymentStore.closeCharge,
|
|
33844
34091
|
onOpenConsult: _ctx.makePaymentStore.showConsultInfo,
|
|
33845
|
-
onCharge: _ctx.
|
|
34092
|
+
onCharge: _ctx.checkAndExecuteTopupAndPay,
|
|
33846
34093
|
onChooseAddress: _ctx.makePaymentStore.choosedAddress,
|
|
33847
34094
|
onUpdateAddress: _ctx.makePaymentStore.updateAddress
|
|
33848
34095
|
}, null, 8, ["price", "insufficient-balance-info", "done", "paying", "show-user-address", "addresses", "selected-address", "onAnimationEnd", "onBack", "onOpenConsult", "onCharge", "onChooseAddress", "onUpdateAddress"])) : createCommentVNode("", true)
|
|
@@ -33887,6 +34134,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33887
34134
|
key: 1,
|
|
33888
34135
|
show: _ctx.show && !_ctx.makePaymentStore.errorState.visible && _ctx.makePaymentStore.uiState.afterPayment,
|
|
33889
34136
|
"payment-result": _ctx.makePaymentStore.uiState.paymentResult,
|
|
34137
|
+
"topup-result": _ctx.makePaymentStore.chargeState.topupResult,
|
|
33890
34138
|
"cash-back-detail": _ctx.makePaymentStore.cashbackState.cashBackDetail,
|
|
33891
34139
|
"has-cash-back-animation": _ctx.makePaymentStore.cashbackState.hasCashBackAnimation,
|
|
33892
34140
|
"has-confirm-age": _ctx.makePaymentStore.cashbackState.hasConfirmAge,
|
|
@@ -33894,7 +34142,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33894
34142
|
calculating: _ctx.makePaymentStore.cashbackState.calculating,
|
|
33895
34143
|
calculated: _ctx.makePaymentStore.cashbackState.calculated,
|
|
33896
34144
|
onSuccess: _ctx.makePaymentStore.sendComplete
|
|
33897
|
-
}, null, 8, ["show", "payment-result", "cash-back-detail", "has-cash-back-animation", "has-confirm-age", "is-pre-auth", "calculating", "calculated", "onSuccess"])) : createCommentVNode("", true),
|
|
34145
|
+
}, null, 8, ["show", "payment-result", "topup-result", "cash-back-detail", "has-cash-back-animation", "has-confirm-age", "is-pre-auth", "calculating", "calculated", "onSuccess"])) : createCommentVNode("", true),
|
|
33898
34146
|
createVNode(Transition, {
|
|
33899
34147
|
"enter-active-class": _ctx.$style.cashbackEnterActive,
|
|
33900
34148
|
"leave-active-class": _ctx.$style.cashbackLeaveActive,
|
|
@@ -33934,7 +34182,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33934
34182
|
createVNode(_component_DuplicatePayment, {
|
|
33935
34183
|
"data-testid": "duplicate-topup-payment",
|
|
33936
34184
|
mode: "topup",
|
|
33937
|
-
onProceed: _ctx.
|
|
34185
|
+
onProceed: _ctx.executeTopupAndPay,
|
|
33938
34186
|
onCancel: _ctx.makePaymentStore.cancelSimilarTxn
|
|
33939
34187
|
}, null, 8, ["onProceed", "onCancel"])
|
|
33940
34188
|
]),
|
|
@@ -33971,18 +34219,31 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33971
34219
|
show: _ctx.makePaymentStore.uiState.show3DSecureSheet,
|
|
33972
34220
|
"cc-type": _ctx.makePaymentStore.selectedCCType,
|
|
33973
34221
|
onClose: _ctx.makePaymentStore.close3DSecureSheet
|
|
33974
|
-
}, null, 8, ["show", "cc-type", "onClose"])
|
|
34222
|
+
}, null, 8, ["show", "cc-type", "onClose"]),
|
|
34223
|
+
createVNode(_component_ActionSheet, {
|
|
34224
|
+
show: _ctx.makePaymentStore.errorState.showConsultError,
|
|
34225
|
+
type: "alert",
|
|
34226
|
+
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.makePaymentStore.closeError(false))
|
|
34227
|
+
}, {
|
|
34228
|
+
default: withCtx(() => [
|
|
34229
|
+
_ctx.makePaymentStore.errorState.consultError ? (openBlock(), createBlock(_component_Consult, {
|
|
34230
|
+
key: 0,
|
|
34231
|
+
"consult-info": _ctx.makePaymentStore.errorState.consultError,
|
|
34232
|
+
onClose: _ctx.makePaymentStore.closeError,
|
|
34233
|
+
onNativeAction: _ctx.handleErrorNativeAction
|
|
34234
|
+
}, null, 8, ["consult-info", "onClose", "onNativeAction"])) : createCommentVNode("", true)
|
|
34235
|
+
]),
|
|
34236
|
+
_: 1
|
|
34237
|
+
}, 8, ["show"])
|
|
33975
34238
|
], 64);
|
|
33976
34239
|
}
|
|
33977
|
-
const cssModules$
|
|
33978
|
-
cssModules$
|
|
33979
|
-
var Main = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33980
|
-
const _sfc_main$
|
|
34240
|
+
const cssModules$G = {};
|
|
34241
|
+
cssModules$G["$style"] = style0$G;
|
|
34242
|
+
var Main = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__cssModules", cssModules$G]]);
|
|
34243
|
+
const _sfc_main$U = defineComponent({
|
|
33981
34244
|
components: {
|
|
33982
34245
|
Main,
|
|
33983
34246
|
ErrorSheet,
|
|
33984
|
-
ActionSheet,
|
|
33985
|
-
Consult,
|
|
33986
34247
|
FontSizeProvider
|
|
33987
34248
|
},
|
|
33988
34249
|
props: {
|
|
@@ -34053,10 +34314,8 @@ const _sfc_main$T = defineComponent({
|
|
|
34053
34314
|
};
|
|
34054
34315
|
}
|
|
34055
34316
|
});
|
|
34056
|
-
function _sfc_render$
|
|
34317
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34057
34318
|
const _component_Main = resolveComponent("Main");
|
|
34058
|
-
const _component_Consult = resolveComponent("Consult");
|
|
34059
|
-
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
34060
34319
|
const _component_ErrorSheet = resolveComponent("ErrorSheet");
|
|
34061
34320
|
const _component_FontSizeProvider = resolveComponent("FontSizeProvider");
|
|
34062
34321
|
return openBlock(), createBlock(_component_FontSizeProvider, null, {
|
|
@@ -34068,32 +34327,18 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34068
34327
|
"show-user-address": _ctx.showUserAddress,
|
|
34069
34328
|
"order-items": _ctx.orderItems
|
|
34070
34329
|
}, null, 8, ["show", "payment-params", "addresses", "show-user-address", "order-items"]),
|
|
34071
|
-
createVNode(_component_ActionSheet, {
|
|
34072
|
-
show: _ctx.makePaymentStore.errorState.showConsultError,
|
|
34073
|
-
type: "alert",
|
|
34074
|
-
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.makePaymentStore.closeError(false))
|
|
34075
|
-
}, {
|
|
34076
|
-
default: withCtx(() => [
|
|
34077
|
-
_ctx.makePaymentStore.errorState.consultError ? (openBlock(), createBlock(_component_Consult, {
|
|
34078
|
-
key: 0,
|
|
34079
|
-
"consult-info": _ctx.makePaymentStore.errorState.consultError,
|
|
34080
|
-
onClose: _ctx.makePaymentStore.closeError
|
|
34081
|
-
}, null, 8, ["consult-info", "onClose"])) : createCommentVNode("", true)
|
|
34082
|
-
]),
|
|
34083
|
-
_: 1
|
|
34084
|
-
}, 8, ["show"]),
|
|
34085
34330
|
createVNode(_component_ErrorSheet, {
|
|
34086
34331
|
"error-title": _ctx.makePaymentStore.errorState.errorTitle,
|
|
34087
34332
|
"icon-url": _ctx.makePaymentStore.errorState.errorIcon,
|
|
34088
34333
|
"error-text": _ctx.makePaymentStore.errorState.errorDescription,
|
|
34089
34334
|
show: _ctx.makePaymentStore.errorState.visible || _ctx.makePaymentStore.errorState.visibleOverlay,
|
|
34090
|
-
onCloseClick: _cache[
|
|
34335
|
+
onCloseClick: _cache[0] || (_cache[0] = ($event) => _ctx.makePaymentStore.closeError(true))
|
|
34091
34336
|
}, null, 8, ["error-title", "icon-url", "error-text", "show"])
|
|
34092
34337
|
]),
|
|
34093
34338
|
_: 1
|
|
34094
34339
|
});
|
|
34095
34340
|
}
|
|
34096
|
-
var AppVue$8 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34341
|
+
var AppVue$8 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U]]);
|
|
34097
34342
|
const HORIZONTAL_SCROLL_KEY = "horizontal-scroll";
|
|
34098
34343
|
class StopPropagation$1 {
|
|
34099
34344
|
constructor(el) {
|
|
@@ -34310,9 +34555,8 @@ const Currency = defineComponent({
|
|
|
34310
34555
|
default: false
|
|
34311
34556
|
},
|
|
34312
34557
|
modelValue: {
|
|
34313
|
-
type:
|
|
34314
|
-
required:
|
|
34315
|
-
default: ""
|
|
34558
|
+
type: String,
|
|
34559
|
+
required: true
|
|
34316
34560
|
},
|
|
34317
34561
|
placeholder: {
|
|
34318
34562
|
type: String,
|
|
@@ -34416,14 +34660,14 @@ const bannerInfoContainer = "_bannerInfoContainer_ed5iw_2";
|
|
|
34416
34660
|
const bannerInfoIcon = "_bannerInfoIcon_ed5iw_25";
|
|
34417
34661
|
const bannerDesc = "_bannerDesc_ed5iw_29";
|
|
34418
34662
|
const bannerTitle = "_bannerTitle_ed5iw_43";
|
|
34419
|
-
var style0$
|
|
34663
|
+
var style0$F = {
|
|
34420
34664
|
"ppmna-default-font": "_ppmna-default-font_ed5iw_1",
|
|
34421
34665
|
bannerInfoContainer,
|
|
34422
34666
|
bannerInfoIcon,
|
|
34423
34667
|
bannerDesc,
|
|
34424
34668
|
bannerTitle
|
|
34425
34669
|
};
|
|
34426
|
-
const _sfc_main$
|
|
34670
|
+
const _sfc_main$T = defineComponent({
|
|
34427
34671
|
components: {
|
|
34428
34672
|
Button
|
|
34429
34673
|
},
|
|
@@ -34481,7 +34725,7 @@ const _sfc_main$S = defineComponent({
|
|
|
34481
34725
|
}
|
|
34482
34726
|
});
|
|
34483
34727
|
const _hoisted_1$q = ["src"];
|
|
34484
|
-
function _sfc_render$
|
|
34728
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34485
34729
|
const _component_Button = resolveComponent("Button");
|
|
34486
34730
|
return openBlock(), createElementBlock("div", {
|
|
34487
34731
|
class: normalizeClass(_ctx.style.bannerInfoContainer)
|
|
@@ -34516,89 +34760,79 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34516
34760
|
}), 128))
|
|
34517
34761
|
], 2);
|
|
34518
34762
|
}
|
|
34519
|
-
const cssModules$
|
|
34520
|
-
cssModules$
|
|
34521
|
-
var BannerInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
34522
|
-
const cashbackInfoContainer = "
|
|
34523
|
-
const balanceTitle = "
|
|
34524
|
-
const transferTitle = "
|
|
34525
|
-
const flexContainer = "
|
|
34526
|
-
var style0$
|
|
34763
|
+
const cssModules$F = {};
|
|
34764
|
+
cssModules$F["$style"] = style0$F;
|
|
34765
|
+
var BannerInfo = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__cssModules", cssModules$F]]);
|
|
34766
|
+
const cashbackInfoContainer = "_cashbackInfoContainer_1igrr_1";
|
|
34767
|
+
const balanceTitle = "_balanceTitle_1igrr_4";
|
|
34768
|
+
const transferTitle = "_transferTitle_1igrr_20";
|
|
34769
|
+
const flexContainer = "_flexContainer_1igrr_34";
|
|
34770
|
+
var style0$E = {
|
|
34527
34771
|
cashbackInfoContainer,
|
|
34528
34772
|
balanceTitle,
|
|
34529
34773
|
transferTitle,
|
|
34530
34774
|
flexContainer
|
|
34531
34775
|
};
|
|
34532
|
-
const _sfc_main$
|
|
34776
|
+
const _sfc_main$S = defineComponent({
|
|
34533
34777
|
components: {},
|
|
34534
34778
|
props: {
|
|
34535
|
-
|
|
34779
|
+
walletData: {
|
|
34536
34780
|
type: Object,
|
|
34537
|
-
default:
|
|
34538
|
-
},
|
|
34539
|
-
required: true
|
|
34540
|
-
},
|
|
34541
|
-
totalBalanceInfo: {
|
|
34542
|
-
type: String,
|
|
34543
|
-
default: () => {
|
|
34544
|
-
},
|
|
34545
|
-
required: true
|
|
34546
|
-
},
|
|
34547
|
-
allTotalBalanceInfo: {
|
|
34548
|
-
type: String,
|
|
34549
|
-
default: () => {
|
|
34550
|
-
},
|
|
34551
|
-
required: true
|
|
34781
|
+
default: null
|
|
34552
34782
|
},
|
|
34553
|
-
|
|
34554
|
-
type:
|
|
34555
|
-
default: false,
|
|
34783
|
+
topupAmount: {
|
|
34784
|
+
type: Number,
|
|
34556
34785
|
required: true
|
|
34557
34786
|
}
|
|
34558
34787
|
},
|
|
34559
34788
|
emits: {
|
|
34560
34789
|
click: () => true
|
|
34561
34790
|
},
|
|
34562
|
-
|
|
34563
|
-
|
|
34564
|
-
|
|
34565
|
-
|
|
34566
|
-
|
|
34567
|
-
|
|
34568
|
-
|
|
34569
|
-
|
|
34570
|
-
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34574
|
-
|
|
34575
|
-
|
|
34576
|
-
|
|
34577
|
-
}
|
|
34791
|
+
computed: {
|
|
34792
|
+
remoteStrings() {
|
|
34793
|
+
return useRemoteStrings().value;
|
|
34794
|
+
},
|
|
34795
|
+
availableBalText() {
|
|
34796
|
+
return this.topupAmount > 0 ? this.remoteStrings.topup.availableBalanceAfter : this.remoteStrings.topup.availableBalance;
|
|
34797
|
+
},
|
|
34798
|
+
totalBalanceInfoAfterTopup() {
|
|
34799
|
+
var _a2, _b;
|
|
34800
|
+
const balance2 = (_b = (_a2 = this.walletData) == null ? void 0 : _a2.walletSummary.totalBalanceInfo.balance) != null ? _b : 0;
|
|
34801
|
+
return formatCurrency(balance2 + this.topupAmount, 0);
|
|
34802
|
+
},
|
|
34803
|
+
showsTotalBalanceInfoAfterTopup() {
|
|
34804
|
+
var _a2;
|
|
34805
|
+
return ((_a2 = this.walletData) == null ? void 0 : _a2.cashBackUseStatus) === "SAVE";
|
|
34806
|
+
},
|
|
34807
|
+
allTotalBalanceInfoAfterTopup() {
|
|
34808
|
+
var _a2, _b;
|
|
34809
|
+
const balance2 = (_b = (_a2 = this.walletData) == null ? void 0 : _a2.walletSummary.allTotalBalanceInfo.balance) != null ? _b : 0;
|
|
34810
|
+
return formatCurrency(balance2 + this.topupAmount, 0);
|
|
34811
|
+
}
|
|
34578
34812
|
}
|
|
34579
34813
|
});
|
|
34580
|
-
function _sfc_render$
|
|
34814
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34581
34815
|
return openBlock(), createElementBlock("div", {
|
|
34582
|
-
class: normalizeClass(_ctx
|
|
34816
|
+
class: normalizeClass(_ctx.$style.cashbackInfoContainer)
|
|
34583
34817
|
}, [
|
|
34584
34818
|
createBaseVNode("div", {
|
|
34585
|
-
class: normalizeClass([_ctx
|
|
34819
|
+
class: normalizeClass([_ctx.$style.flexContainer, _ctx.$style.balanceTitle])
|
|
34586
34820
|
}, [
|
|
34587
34821
|
createBaseVNode("span", null, toDisplayString(_ctx.availableBalText), 1),
|
|
34588
|
-
createBaseVNode("span", null, toDisplayString(_ctx.
|
|
34822
|
+
createBaseVNode("span", null, toDisplayString(_ctx.totalBalanceInfoAfterTopup) + " \u5186 ", 1)
|
|
34589
34823
|
], 2),
|
|
34590
|
-
_ctx.
|
|
34824
|
+
_ctx.showsTotalBalanceInfoAfterTopup ? (openBlock(), createElementBlock("div", {
|
|
34591
34825
|
key: 0,
|
|
34592
|
-
class: normalizeClass([_ctx
|
|
34826
|
+
class: normalizeClass([_ctx.$style.flexContainer, _ctx.$style.transferTitle])
|
|
34593
34827
|
}, [
|
|
34594
34828
|
createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.topup.allBalance), 1),
|
|
34595
|
-
createBaseVNode("span", null, toDisplayString(_ctx.
|
|
34829
|
+
createBaseVNode("span", null, toDisplayString(_ctx.allTotalBalanceInfoAfterTopup) + " \u5186 ", 1)
|
|
34596
34830
|
], 2)) : createCommentVNode("", true)
|
|
34597
34831
|
], 2);
|
|
34598
34832
|
}
|
|
34599
|
-
const cssModules$
|
|
34600
|
-
cssModules$
|
|
34601
|
-
var
|
|
34833
|
+
const cssModules$E = {};
|
|
34834
|
+
cssModules$E["$style"] = style0$E;
|
|
34835
|
+
var TopupBalanceInfo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__cssModules", cssModules$E]]);
|
|
34602
34836
|
const completion = "_completion_6vjyb_1";
|
|
34603
34837
|
const title$c = "_title_6vjyb_5";
|
|
34604
34838
|
const paypayLogo = "_paypayLogo_6vjyb_18";
|
|
@@ -34613,7 +34847,7 @@ const green = "_green_6vjyb_89";
|
|
|
34613
34847
|
const red$1 = "_red_6vjyb_92";
|
|
34614
34848
|
const yellow = "_yellow_6vjyb_95";
|
|
34615
34849
|
const gray = "_gray_6vjyb_98";
|
|
34616
|
-
var style0$
|
|
34850
|
+
var style0$D = {
|
|
34617
34851
|
completion,
|
|
34618
34852
|
title: title$c,
|
|
34619
34853
|
paypayLogo,
|
|
@@ -34629,10 +34863,11 @@ var style0$C = {
|
|
|
34629
34863
|
yellow,
|
|
34630
34864
|
gray
|
|
34631
34865
|
};
|
|
34632
|
-
const _sfc_main$
|
|
34866
|
+
const _sfc_main$R = defineComponent({
|
|
34633
34867
|
components: {
|
|
34634
34868
|
Button,
|
|
34635
|
-
Divider
|
|
34869
|
+
Divider,
|
|
34870
|
+
TopupFeeResultLabel
|
|
34636
34871
|
},
|
|
34637
34872
|
props: {
|
|
34638
34873
|
data: {
|
|
@@ -34691,7 +34926,8 @@ const _sfc_main$Q = defineComponent({
|
|
|
34691
34926
|
});
|
|
34692
34927
|
const _hoisted_1$p = ["src"];
|
|
34693
34928
|
const _hoisted_2$9 = ["src"];
|
|
34694
|
-
function _sfc_render$
|
|
34929
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34930
|
+
const _component_TopupFeeResultLabel = resolveComponent("TopupFeeResultLabel");
|
|
34695
34931
|
const _component_Divider = resolveComponent("Divider");
|
|
34696
34932
|
const _component_Button = resolveComponent("Button");
|
|
34697
34933
|
return openBlock(), createElementBlock("div", {
|
|
@@ -34722,6 +34958,10 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34722
34958
|
{ [_ctx.style.gray]: _ctx.statusLabelColor == "gray" }
|
|
34723
34959
|
])
|
|
34724
34960
|
}, toDisplayString(_ctx.statusLabel), 3),
|
|
34961
|
+
_ctx.data ? (openBlock(), createBlock(_component_TopupFeeResultLabel, {
|
|
34962
|
+
key: 0,
|
|
34963
|
+
"topup-result": _ctx.data
|
|
34964
|
+
}, null, 8, ["topup-result"])) : createCommentVNode("", true),
|
|
34725
34965
|
createVNode(_component_Divider),
|
|
34726
34966
|
createBaseVNode("div", {
|
|
34727
34967
|
class: normalizeClass(_ctx.style.idInfo)
|
|
@@ -34759,51 +34999,90 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34759
34999
|
})
|
|
34760
35000
|
], 2);
|
|
34761
35001
|
}
|
|
35002
|
+
const cssModules$D = {};
|
|
35003
|
+
cssModules$D["$style"] = style0$D;
|
|
35004
|
+
var TopupCompletion = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__cssModules", cssModules$D]]);
|
|
35005
|
+
const label$2 = "_label_ni6p5_1";
|
|
35006
|
+
var style0$C = {
|
|
35007
|
+
label: label$2
|
|
35008
|
+
};
|
|
35009
|
+
const _sfc_main$Q = defineComponent({
|
|
35010
|
+
name: "TopupFeeLabel",
|
|
35011
|
+
props: {
|
|
35012
|
+
topupFeeInfo: {
|
|
35013
|
+
type: Object,
|
|
35014
|
+
required: true
|
|
35015
|
+
},
|
|
35016
|
+
topupAmount: {
|
|
35017
|
+
type: Number,
|
|
35018
|
+
required: true
|
|
35019
|
+
}
|
|
35020
|
+
},
|
|
35021
|
+
computed: {
|
|
35022
|
+
feeLabel() {
|
|
35023
|
+
var _a2;
|
|
35024
|
+
const feePercentage = (_a2 = this.topupFeeInfo) == null ? void 0 : _a2.feePercentage;
|
|
35025
|
+
if (!feePercentage || !this.topupAmount) {
|
|
35026
|
+
return "";
|
|
35027
|
+
}
|
|
35028
|
+
const remoteStrings2 = useRemoteStrings();
|
|
35029
|
+
const fee = Math.floor(this.topupAmount * feePercentage / 100);
|
|
35030
|
+
return `${remoteStrings2.value.topup.feeNotIncluded} ${fee}${remoteStrings2.value.topup.yen}${remoteStrings2.value.topup.taxIncluded}`;
|
|
35031
|
+
}
|
|
35032
|
+
}
|
|
35033
|
+
});
|
|
35034
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35035
|
+
return openBlock(), createElementBlock("div", {
|
|
35036
|
+
class: normalizeClass(_ctx.$style.label)
|
|
35037
|
+
}, toDisplayString(_ctx.feeLabel), 3);
|
|
35038
|
+
}
|
|
34762
35039
|
const cssModules$C = {};
|
|
34763
35040
|
cssModules$C["$style"] = style0$C;
|
|
34764
|
-
var
|
|
34765
|
-
const slideSecondaryEnterActive = "
|
|
34766
|
-
const slideSecondaryLeaveActive = "
|
|
34767
|
-
const slideSecondaryEnterFrom = "
|
|
34768
|
-
const wrapperClass$5 = "
|
|
34769
|
-
const topupWrapper = "
|
|
34770
|
-
const noBorder = "
|
|
34771
|
-
const dummyInput = "
|
|
34772
|
-
const fullHeight = "
|
|
34773
|
-
const choosePayment$1 = "
|
|
34774
|
-
const topupMoneyLabel = "
|
|
34775
|
-
const topupCharge = "
|
|
34776
|
-
const fullHeightCharge = "
|
|
34777
|
-
const topup$1 = "
|
|
34778
|
-
const banner = "
|
|
34779
|
-
const bannerText = "
|
|
34780
|
-
const bannerMargin = "
|
|
34781
|
-
const amountList$1 = "
|
|
34782
|
-
const paymentType = "
|
|
34783
|
-
const invalidAmount = "
|
|
34784
|
-
const loadingText = "
|
|
34785
|
-
const fakeInput = "
|
|
34786
|
-
const chargeSelect = "
|
|
34787
|
-
const blueDivider = "
|
|
34788
|
-
const chargeMoney = "
|
|
34789
|
-
const unit$2 = "
|
|
34790
|
-
const chargeInput = "
|
|
34791
|
-
const fullHeightInput = "
|
|
34792
|
-
const inputLeft = "
|
|
34793
|
-
const inputRight = "
|
|
34794
|
-
const noMethod = "
|
|
34795
|
-
const topupMoney = "
|
|
34796
|
-
const moneyLabel = "
|
|
34797
|
-
const btnContainer = "
|
|
34798
|
-
const fullBtnContainer = "
|
|
34799
|
-
const moneyList = "
|
|
34800
|
-
const doneContainer = "
|
|
34801
|
-
const fullHeightLottie = "
|
|
34802
|
-
const ppmnaLottie = "
|
|
34803
|
-
const moreMoney = "
|
|
34804
|
-
const fullHeightPayMethod = "
|
|
35041
|
+
var TopupFeeLabel = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__cssModules", cssModules$C]]);
|
|
35042
|
+
const slideSecondaryEnterActive = "_slideSecondaryEnterActive_5wp4x_7";
|
|
35043
|
+
const slideSecondaryLeaveActive = "_slideSecondaryLeaveActive_5wp4x_10";
|
|
35044
|
+
const slideSecondaryEnterFrom = "_slideSecondaryEnterFrom_5wp4x_13";
|
|
35045
|
+
const wrapperClass$5 = "_wrapperClass_5wp4x_17";
|
|
35046
|
+
const topupWrapper = "_topupWrapper_5wp4x_17";
|
|
35047
|
+
const noBorder = "_noBorder_5wp4x_23";
|
|
35048
|
+
const dummyInput = "_dummyInput_5wp4x_26";
|
|
35049
|
+
const fullHeight = "_fullHeight_5wp4x_30";
|
|
35050
|
+
const choosePayment$1 = "_choosePayment_5wp4x_34";
|
|
35051
|
+
const topupMoneyLabel = "_topupMoneyLabel_5wp4x_41";
|
|
35052
|
+
const topupCharge = "_topupCharge_5wp4x_49";
|
|
35053
|
+
const fullHeightCharge = "_fullHeightCharge_5wp4x_55";
|
|
35054
|
+
const topup$1 = "_topup_5wp4x_17";
|
|
35055
|
+
const banner = "_banner_5wp4x_68";
|
|
35056
|
+
const bannerText = "_bannerText_5wp4x_71";
|
|
35057
|
+
const bannerMargin = "_bannerMargin_5wp4x_80";
|
|
35058
|
+
const amountList$1 = "_amountList_5wp4x_83";
|
|
35059
|
+
const paymentType = "_paymentType_5wp4x_104";
|
|
35060
|
+
const invalidAmount = "_invalidAmount_5wp4x_108";
|
|
35061
|
+
const loadingText = "_loadingText_5wp4x_121";
|
|
35062
|
+
const fakeInput = "_fakeInput_5wp4x_138";
|
|
35063
|
+
const chargeSelect = "_chargeSelect_5wp4x_153";
|
|
35064
|
+
const blueDivider = "_blueDivider_5wp4x_166";
|
|
35065
|
+
const chargeMoney = "_chargeMoney_5wp4x_173";
|
|
35066
|
+
const unit$2 = "_unit_5wp4x_187";
|
|
35067
|
+
const chargeInput = "_chargeInput_5wp4x_196";
|
|
35068
|
+
const fullHeightInput = "_fullHeightInput_5wp4x_211";
|
|
35069
|
+
const inputLeft = "_inputLeft_5wp4x_214";
|
|
35070
|
+
const inputRight = "_inputRight_5wp4x_229";
|
|
35071
|
+
const noMethod = "_noMethod_5wp4x_244";
|
|
35072
|
+
const topupMoney = "_topupMoney_5wp4x_41";
|
|
35073
|
+
const moneyLabel = "_moneyLabel_5wp4x_265";
|
|
35074
|
+
const btnContainer = "_btnContainer_5wp4x_277";
|
|
35075
|
+
const fullBtnContainer = "_fullBtnContainer_5wp4x_280";
|
|
35076
|
+
const moneyList = "_moneyList_5wp4x_295";
|
|
35077
|
+
const doneContainer = "_doneContainer_5wp4x_302";
|
|
35078
|
+
const fullHeightLottie = "_fullHeightLottie_5wp4x_309";
|
|
35079
|
+
const ppmnaLottie = "_ppmnaLottie_5wp4x_312";
|
|
35080
|
+
const moreMoney = "_moreMoney_5wp4x_317";
|
|
35081
|
+
const fullHeightPayMethod = "_fullHeightPayMethod_5wp4x_322";
|
|
35082
|
+
const feeInfo = "_feeInfo_5wp4x_328";
|
|
35083
|
+
const spacer = "_spacer_5wp4x_331";
|
|
34805
35084
|
var style0$B = {
|
|
34806
|
-
"ppmna-default-font": "_ppmna-default-
|
|
35085
|
+
"ppmna-default-font": "_ppmna-default-font_5wp4x_1",
|
|
34807
35086
|
slideSecondaryEnterActive,
|
|
34808
35087
|
slideSecondaryLeaveActive,
|
|
34809
35088
|
slideSecondaryEnterFrom,
|
|
@@ -34843,7 +35122,9 @@ var style0$B = {
|
|
|
34843
35122
|
fullHeightLottie,
|
|
34844
35123
|
ppmnaLottie,
|
|
34845
35124
|
moreMoney,
|
|
34846
|
-
fullHeightPayMethod
|
|
35125
|
+
fullHeightPayMethod,
|
|
35126
|
+
feeInfo,
|
|
35127
|
+
spacer
|
|
34847
35128
|
};
|
|
34848
35129
|
const _sfc_main$P = defineComponent({
|
|
34849
35130
|
components: {
|
|
@@ -34855,7 +35136,7 @@ const _sfc_main$P = defineComponent({
|
|
|
34855
35136
|
ErrorSheet,
|
|
34856
35137
|
Lottie,
|
|
34857
35138
|
BannerInfo,
|
|
34858
|
-
|
|
35139
|
+
TopupBalanceInfo,
|
|
34859
35140
|
TopupCompletion,
|
|
34860
35141
|
BannerHeader,
|
|
34861
35142
|
ChargeAmountList,
|
|
@@ -34864,6 +35145,8 @@ const _sfc_main$P = defineComponent({
|
|
|
34864
35145
|
ChoosePaymentMethod,
|
|
34865
35146
|
Header,
|
|
34866
35147
|
ThreeDSecureSheet,
|
|
35148
|
+
TopupFeeInfo,
|
|
35149
|
+
TopupFeeLabel,
|
|
34867
35150
|
FontSizeProvider
|
|
34868
35151
|
},
|
|
34869
35152
|
props: {
|
|
@@ -34885,7 +35168,6 @@ const _sfc_main$P = defineComponent({
|
|
|
34885
35168
|
data() {
|
|
34886
35169
|
return {
|
|
34887
35170
|
loading: false,
|
|
34888
|
-
disabled: true,
|
|
34889
35171
|
errorShow: false,
|
|
34890
35172
|
errorOverlay: false,
|
|
34891
35173
|
errorInfo: {
|
|
@@ -34907,14 +35189,9 @@ const _sfc_main$P = defineComponent({
|
|
|
34907
35189
|
errorCode: MiniAppErrorType.other,
|
|
34908
35190
|
jws: "",
|
|
34909
35191
|
bannerInfoVisible: false,
|
|
34910
|
-
|
|
34911
|
-
|
|
34912
|
-
|
|
34913
|
-
inputMoney: 0,
|
|
34914
|
-
balMoney: "0",
|
|
34915
|
-
fixBalMoney: 0,
|
|
34916
|
-
totalCashbackBalance: "0",
|
|
34917
|
-
fixCashbackBalance: 0,
|
|
35192
|
+
isSheetExpanded: false,
|
|
35193
|
+
sheetExpandCompleted: false,
|
|
35194
|
+
inputMoneyString: "0",
|
|
34918
35195
|
isSelectMoreMoney: false,
|
|
34919
35196
|
isSelectPaymentMethod: false,
|
|
34920
35197
|
paymentMethodList: [],
|
|
@@ -34924,7 +35201,7 @@ const _sfc_main$P = defineComponent({
|
|
|
34924
35201
|
ORDINARY: "\u666E\u901A"
|
|
34925
35202
|
},
|
|
34926
35203
|
lottieAnim: null,
|
|
34927
|
-
|
|
35204
|
+
walletData: null,
|
|
34928
35205
|
img_animationDone,
|
|
34929
35206
|
isFirstLoad: false,
|
|
34930
35207
|
show3DSecureSheet: false,
|
|
@@ -34933,6 +35210,9 @@ const _sfc_main$P = defineComponent({
|
|
|
34933
35210
|
};
|
|
34934
35211
|
},
|
|
34935
35212
|
computed: {
|
|
35213
|
+
inputMoney() {
|
|
35214
|
+
return Number(String(this.inputMoneyString).replace(/,/g, ""));
|
|
35215
|
+
},
|
|
34936
35216
|
descriptionBannerInfo() {
|
|
34937
35217
|
var _a2;
|
|
34938
35218
|
return (_a2 = this.selectedPaymentMethod) == null ? void 0 : _a2.descriptionBannerInfo;
|
|
@@ -34941,11 +35221,27 @@ const _sfc_main$P = defineComponent({
|
|
|
34941
35221
|
var _a2;
|
|
34942
35222
|
return !this.paymentMethodList || this.paymentMethodList.length === 0 || !hasAvailableTopupMethod(this.paymentMethodList) || !((_a2 = this.selectedPaymentMethod) == null ? void 0 : _a2.paymentMethodType);
|
|
34943
35223
|
},
|
|
34944
|
-
|
|
34945
|
-
|
|
34946
|
-
|
|
35224
|
+
sheetStyle() {
|
|
35225
|
+
if (getRuntime() !== MiniAppRuntime.android) {
|
|
35226
|
+
const { innerHeightProperty } = useGetHeightProperties();
|
|
35227
|
+
return {
|
|
35228
|
+
minHeight: this.isSheetExpanded ? innerHeightProperty : ""
|
|
35229
|
+
};
|
|
35230
|
+
} else {
|
|
35231
|
+
return {
|
|
35232
|
+
height: this.isSheetExpanded ? "100%" : ""
|
|
35233
|
+
};
|
|
35234
|
+
}
|
|
35235
|
+
},
|
|
35236
|
+
actionSheetStyle() {
|
|
35237
|
+
return {
|
|
35238
|
+
backgroundColor: this.isSheetExpanded ? "transparent" : "white"
|
|
35239
|
+
};
|
|
35240
|
+
},
|
|
35241
|
+
topSpacerStyle() {
|
|
35242
|
+
const { headerHeight } = useGetHeightProperties();
|
|
34947
35243
|
return {
|
|
34948
|
-
height:
|
|
35244
|
+
height: this.isSheetExpanded && !this.isSelectPaymentMethod ? `${headerHeight}px` : ""
|
|
34949
35245
|
};
|
|
34950
35246
|
},
|
|
34951
35247
|
selectedCardMethod() {
|
|
@@ -34965,6 +35261,12 @@ const _sfc_main$P = defineComponent({
|
|
|
34965
35261
|
"{amount}",
|
|
34966
35262
|
numberWithCommas(this.topupMinAmount)
|
|
34967
35263
|
);
|
|
35264
|
+
},
|
|
35265
|
+
maxAmountExceeded() {
|
|
35266
|
+
return this.inputMoney > 5e5;
|
|
35267
|
+
},
|
|
35268
|
+
minAmountUnmet() {
|
|
35269
|
+
return this.inputMoney > 0 && this.inputMoney < this.topupMinAmount;
|
|
34968
35270
|
}
|
|
34969
35271
|
},
|
|
34970
35272
|
watch: {
|
|
@@ -35034,39 +35336,37 @@ const _sfc_main$P = defineComponent({
|
|
|
35034
35336
|
}
|
|
35035
35337
|
},
|
|
35036
35338
|
async switchInput() {
|
|
35037
|
-
var _a2, _b, _c, _d
|
|
35038
|
-
this.
|
|
35339
|
+
var _a2, _b, _c, _d;
|
|
35340
|
+
this.isSheetExpanded = true;
|
|
35341
|
+
this.sheetExpandCompleted = false;
|
|
35039
35342
|
(_a2 = document.getElementById("fake_input")) == null ? void 0 : _a2.focus();
|
|
35040
|
-
const
|
|
35041
|
-
if (!
|
|
35042
|
-
const errorType = (
|
|
35043
|
-
this.errorCode = (
|
|
35343
|
+
const walletInfo = await getWalletInfo();
|
|
35344
|
+
if (!walletInfo || (walletInfo == null ? void 0 : walletInfo.ppFetchResult) !== "success") {
|
|
35345
|
+
const errorType = (walletInfo == null ? void 0 : walletInfo.ppFetchResult) === "timeout" ? MiniAppErrorType.timeOut : MiniAppErrorType.serverError;
|
|
35346
|
+
this.errorCode = (walletInfo == null ? void 0 : walletInfo.ppFetchResult) === "notAuthorized" ? MiniAppErrorType.notAuthorized : errorType;
|
|
35044
35347
|
this.showError();
|
|
35045
35348
|
return;
|
|
35046
35349
|
}
|
|
35047
|
-
this.
|
|
35048
|
-
this.
|
|
35049
|
-
|
|
35050
|
-
|
|
35051
|
-
|
|
35052
|
-
|
|
35053
|
-
|
|
35054
|
-
|
|
35055
|
-
|
|
35056
|
-
|
|
35057
|
-
|
|
35058
|
-
}
|
|
35350
|
+
this.walletData = (_c = (_b = walletInfo == null ? void 0 : walletInfo.body) == null ? void 0 : _b.data) == null ? void 0 : _c.payload;
|
|
35351
|
+
this.inputMoneyString = "0";
|
|
35352
|
+
if (getRuntime() === MiniAppRuntime.android) {
|
|
35353
|
+
(_d = document.getElementById("inputmoney")) == null ? void 0 : _d.focus();
|
|
35354
|
+
}
|
|
35355
|
+
},
|
|
35356
|
+
onAnimationEnd() {
|
|
35357
|
+
var _a2;
|
|
35358
|
+
if (this.isSheetExpanded && !this.sheetExpandCompleted) {
|
|
35359
|
+
(_a2 = document.getElementById("inputmoney")) == null ? void 0 : _a2.focus();
|
|
35360
|
+
this.sheetExpandCompleted = true;
|
|
35361
|
+
}
|
|
35059
35362
|
},
|
|
35060
35363
|
setMoney(money) {
|
|
35061
|
-
|
|
35062
|
-
this.inputMoney = oldInputVal + money;
|
|
35063
|
-
this.disabled = false;
|
|
35064
|
-
this.checkValidAmount();
|
|
35364
|
+
this.inputMoneyString = String(this.inputMoney + money);
|
|
35065
35365
|
},
|
|
35066
35366
|
closeIconClick() {
|
|
35067
35367
|
var _a2, _b;
|
|
35068
|
-
if (this.
|
|
35069
|
-
this.
|
|
35368
|
+
if (this.isSheetExpanded) {
|
|
35369
|
+
this.isSheetExpanded = false;
|
|
35070
35370
|
} else if (this.complete) {
|
|
35071
35371
|
this.completed();
|
|
35072
35372
|
} else {
|
|
@@ -35076,14 +35376,6 @@ const _sfc_main$P = defineComponent({
|
|
|
35076
35376
|
this.$emit("click");
|
|
35077
35377
|
}
|
|
35078
35378
|
},
|
|
35079
|
-
checkValidAmount() {
|
|
35080
|
-
var _a2;
|
|
35081
|
-
const inputVal = Number(String(this.inputMoney).replace(/,/g, ""));
|
|
35082
|
-
this.minAmountUnmet = inputVal < this.topupMinAmount;
|
|
35083
|
-
this.maxAmountExceeded = inputVal > 5e5;
|
|
35084
|
-
this.balMoney = formatCurrency(this.fixBalMoney + inputVal, 0);
|
|
35085
|
-
this.totalCashbackBalance = (_a2 = formatCurrency(this.fixCashbackBalance + inputVal, 0)) != null ? _a2 : "0";
|
|
35086
|
-
},
|
|
35087
35379
|
showBannerInfo() {
|
|
35088
35380
|
this.bannerInfoVisible = true;
|
|
35089
35381
|
},
|
|
@@ -35114,9 +35406,8 @@ const _sfc_main$P = defineComponent({
|
|
|
35114
35406
|
this.isSelectPaymentMethod = value2;
|
|
35115
35407
|
},
|
|
35116
35408
|
setCurrentMoney(price2) {
|
|
35117
|
-
this.
|
|
35409
|
+
this.inputMoneyString = String(price2);
|
|
35118
35410
|
this.isSelectMoreMoney = false;
|
|
35119
|
-
this.checkValidAmount();
|
|
35120
35411
|
},
|
|
35121
35412
|
selectPaymentMethod(index2) {
|
|
35122
35413
|
this.selectPaymentIndex = index2;
|
|
@@ -35141,8 +35432,8 @@ const _sfc_main$P = defineComponent({
|
|
|
35141
35432
|
});
|
|
35142
35433
|
this.$emit("click");
|
|
35143
35434
|
},
|
|
35144
|
-
async
|
|
35145
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N
|
|
35435
|
+
async executeTopup(agreeSimilarTransaction, agreeFee) {
|
|
35436
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N;
|
|
35146
35437
|
if (this.selectedCardMethod) {
|
|
35147
35438
|
const isAuthenticated = (_a2 = this.selectedCardMethod.creditCardInfo) == null ? void 0 : _a2.isAuthenticated;
|
|
35148
35439
|
if (!isAuthenticated) {
|
|
@@ -35186,40 +35477,42 @@ const _sfc_main$P = defineComponent({
|
|
|
35186
35477
|
amount: Number(String(this.inputMoney).replace(/,/g, "")),
|
|
35187
35478
|
currency: "JPY"
|
|
35188
35479
|
},
|
|
35189
|
-
requestedAt: (_h = (_g = this.topupParams) == null ? void 0 : _g.requestedAt) != null ? _h : 0
|
|
35480
|
+
requestedAt: (_h = (_g = this.topupParams) == null ? void 0 : _g.requestedAt) != null ? _h : 0,
|
|
35481
|
+
feePercentage: (_i = this.selectedPaymentMethod.feeInfo) == null ? void 0 : _i.feePercentage,
|
|
35482
|
+
agreedWithTheFee: this.selectedPaymentMethod.feeInfo ? agreeFee : void 0
|
|
35190
35483
|
}
|
|
35191
35484
|
);
|
|
35192
|
-
if ((res == null ? void 0 : res.ppFetchResult) === "apiError" && ((
|
|
35193
|
-
if ((
|
|
35194
|
-
this.errorInfo.iconUrl = (
|
|
35195
|
-
this.errorInfo.title = (
|
|
35196
|
-
this.errorInfo.desc = (
|
|
35197
|
-
this.errorInfo.buttonList = (
|
|
35485
|
+
if ((res == null ? void 0 : res.ppFetchResult) === "apiError" && ((_j = res == null ? void 0 : res.body) == null ? void 0 : _j.uiComponents)) {
|
|
35486
|
+
if ((_l = (_k = res == null ? void 0 : res.body) == null ? void 0 : _k.uiComponents) == null ? void 0 : _l.displayErrorResponse) {
|
|
35487
|
+
this.errorInfo.iconUrl = (_p = (_o = (_n = (_m = res == null ? void 0 : res.body) == null ? void 0 : _m.uiComponents) == null ? void 0 : _n.displayErrorResponse) == null ? void 0 : _o.iconUrl) != null ? _p : "";
|
|
35488
|
+
this.errorInfo.title = (_s = (_r = (_q = res == null ? void 0 : res.body) == null ? void 0 : _q.uiComponents) == null ? void 0 : _r.displayErrorResponse) == null ? void 0 : _s.title;
|
|
35489
|
+
this.errorInfo.desc = (_v = (_u = (_t = res == null ? void 0 : res.body) == null ? void 0 : _t.uiComponents) == null ? void 0 : _u.displayErrorResponse) == null ? void 0 : _v.description;
|
|
35490
|
+
this.errorInfo.buttonList = (_y = (_x = (_w = res == null ? void 0 : res.body) == null ? void 0 : _w.uiComponents) == null ? void 0 : _x.displayErrorResponse) == null ? void 0 : _y.buttonList;
|
|
35198
35491
|
}
|
|
35199
35492
|
this.errorCode = MiniAppErrorType.topupFail;
|
|
35200
|
-
this.jws = ((
|
|
35493
|
+
this.jws = ((_A = (_z = res == null ? void 0 : res.body) == null ? void 0 : _z.signed) == null ? void 0 : _A.jws) || "";
|
|
35201
35494
|
this.showError();
|
|
35202
35495
|
} else if (!res || (res == null ? void 0 : res.ppFetchResult) !== "success") {
|
|
35203
35496
|
this.errorCode = (res == null ? void 0 : res.ppFetchResult) === "notAuthorized" ? MiniAppErrorType.notAuthorized : (res == null ? void 0 : res.ppFetchResult) === "timeout" ? MiniAppErrorType.timeOut : MiniAppErrorType.serverError;
|
|
35204
35497
|
this.errorShow = true;
|
|
35205
35498
|
return;
|
|
35206
|
-
} else if (((
|
|
35499
|
+
} else if (((_D = (_C = (_B = res == null ? void 0 : res.body) == null ? void 0 : _B.unsigned) == null ? void 0 : _C.resultInfo) == null ? void 0 : _D.code) === "SUCCESS") {
|
|
35207
35500
|
this.loading = false;
|
|
35208
|
-
this.completionData.unsignedData = (
|
|
35209
|
-
this.completionData.jws = ((
|
|
35501
|
+
this.completionData.unsignedData = (_F = (_E = res == null ? void 0 : res.body) == null ? void 0 : _E.unsigned) == null ? void 0 : _F.data;
|
|
35502
|
+
this.completionData.jws = ((_H = (_G = res == null ? void 0 : res.body) == null ? void 0 : _G.signed) == null ? void 0 : _H.jws) || "";
|
|
35210
35503
|
this.done = true;
|
|
35211
35504
|
setTimeout(() => {
|
|
35212
|
-
this.
|
|
35505
|
+
this.isSheetExpanded = false;
|
|
35213
35506
|
this.done = false;
|
|
35214
35507
|
this.complete = true;
|
|
35215
35508
|
}, 1500);
|
|
35216
|
-
} else if (((
|
|
35509
|
+
} else if (((_I = res == null ? void 0 : res.body) == null ? void 0 : _I.status) === 401 || ((_J = res == null ? void 0 : res.body) == null ? void 0 : _J.status) === 400) {
|
|
35217
35510
|
this.errorCode = MiniAppErrorType.invalidHeader;
|
|
35218
|
-
this.jws = ((
|
|
35511
|
+
this.jws = ((_L = (_K = res == null ? void 0 : res.body) == null ? void 0 : _K.signed) == null ? void 0 : _L.jws) || "";
|
|
35219
35512
|
this.showError();
|
|
35220
35513
|
} else {
|
|
35221
35514
|
this.errorCode = MiniAppErrorType.topupFail;
|
|
35222
|
-
this.jws = ((
|
|
35515
|
+
this.jws = ((_N = (_M = res == null ? void 0 : res.body) == null ? void 0 : _M.signed) == null ? void 0 : _N.jws) || "";
|
|
35223
35516
|
this.showError();
|
|
35224
35517
|
}
|
|
35225
35518
|
} catch (error2) {
|
|
@@ -35243,6 +35536,13 @@ const _sfc_main$P = defineComponent({
|
|
|
35243
35536
|
},
|
|
35244
35537
|
close3DSecureSheet() {
|
|
35245
35538
|
this.show3DSecureSheet = false;
|
|
35539
|
+
},
|
|
35540
|
+
handleErrorNativeAction(button4) {
|
|
35541
|
+
if (button4.actionType === UIComponentsButtonActionType.NATIVE && button4.nativeAction === "SB_TOPUP_CONTINUE") {
|
|
35542
|
+
this.errorOverlay = false;
|
|
35543
|
+
this.errorShow = false;
|
|
35544
|
+
this.executeTopup(this.isDuplicate, true);
|
|
35545
|
+
}
|
|
35246
35546
|
}
|
|
35247
35547
|
}
|
|
35248
35548
|
});
|
|
@@ -35251,12 +35551,14 @@ const _hoisted_2$8 = { key: 1 };
|
|
|
35251
35551
|
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35252
35552
|
const _component_Header = resolveComponent("Header");
|
|
35253
35553
|
const _component_BannerHeader = resolveComponent("BannerHeader");
|
|
35554
|
+
const _component_TopupFeeInfo = resolveComponent("TopupFeeInfo");
|
|
35254
35555
|
const _component_Currency = resolveComponent("Currency");
|
|
35255
35556
|
const _component_ChargeAmountList = resolveComponent("ChargeAmountList");
|
|
35256
35557
|
const _component_Divider = resolveComponent("Divider");
|
|
35257
35558
|
const _component_PaymentType = resolveComponent("PaymentType");
|
|
35258
|
-
const
|
|
35559
|
+
const _component_TopupBalanceInfo = resolveComponent("TopupBalanceInfo");
|
|
35259
35560
|
const _component_Button = resolveComponent("Button");
|
|
35561
|
+
const _component_TopupFeeLabel = resolveComponent("TopupFeeLabel");
|
|
35260
35562
|
const _component_Lottie = resolveComponent("Lottie");
|
|
35261
35563
|
const _component_ChargeAmountMoreList = resolveComponent("ChargeAmountMoreList");
|
|
35262
35564
|
const _component_ChoosePaymentMethod = resolveComponent("ChoosePaymentMethod");
|
|
@@ -35273,249 +35575,272 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35273
35575
|
createVNode(_component_ActionSheet, {
|
|
35274
35576
|
show: _ctx.show,
|
|
35275
35577
|
"container-class": _ctx.$style.topupWrapper,
|
|
35276
|
-
class: normalizeClass([_ctx.$style.wrapperClass, { [_ctx.$style.noBorder]: _ctx.
|
|
35277
|
-
|
|
35578
|
+
class: normalizeClass([_ctx.$style.wrapperClass, { [_ctx.$style.noBorder]: _ctx.isSheetExpanded }]),
|
|
35579
|
+
style: normalizeStyle(_ctx.actionSheetStyle),
|
|
35580
|
+
"top-spacer-style": _ctx.topSpacerStyle,
|
|
35581
|
+
onClose: _ctx.closeIconClick,
|
|
35582
|
+
onTransitionEnd: _ctx.onAnimationEnd
|
|
35278
35583
|
}, {
|
|
35279
|
-
default: withCtx(() =>
|
|
35280
|
-
|
|
35281
|
-
|
|
35282
|
-
|
|
35283
|
-
style: normalizeStyle(_ctx.getTopHeight)
|
|
35284
|
-
}, [
|
|
35285
|
-
createVNode(_component_Header, {
|
|
35286
|
-
title: _ctx.remoteStrings.topup.title,
|
|
35287
|
-
icon: "back",
|
|
35288
|
-
"data-testid": "main-header",
|
|
35289
|
-
"under-lined": "",
|
|
35290
|
-
onClick: _ctx.closeIconClick
|
|
35291
|
-
}, null, 8, ["title", "onClick"]),
|
|
35292
|
-
!_ctx.isInput ? (openBlock(), createBlock(_component_BannerHeader, {
|
|
35584
|
+
default: withCtx(() => {
|
|
35585
|
+
var _a2, _b, _c;
|
|
35586
|
+
return [
|
|
35587
|
+
!_ctx.errorShow && !_ctx.complete && !_ctx.isSelectPaymentMethod && !_ctx.isSelectMoreMoney ? (openBlock(), createElementBlock("div", {
|
|
35293
35588
|
key: 0,
|
|
35294
|
-
|
|
35295
|
-
|
|
35296
|
-
"description-banner-info": _ctx.descriptionBannerInfo,
|
|
35297
|
-
class: normalizeClass(_ctx.$style.banner),
|
|
35298
|
-
"text-style": _ctx.$style.bannerText,
|
|
35299
|
-
onShow: _ctx.showBannerInfo
|
|
35300
|
-
}, null, 8, ["description-banner-info", "class", "text-style", "onShow"])) : createCommentVNode("", true),
|
|
35301
|
-
createBaseVNode("div", {
|
|
35302
|
-
class: normalizeClass({
|
|
35303
|
-
[_ctx.$style.topupCharge]: true,
|
|
35304
|
-
[_ctx.$style.fullHeightCharge]: _ctx.isInput
|
|
35305
|
-
})
|
|
35589
|
+
class: normalizeClass({ [_ctx.$style.fullHeight]: _ctx.isSheetExpanded, [_ctx.$style.topup]: true }),
|
|
35590
|
+
style: normalizeStyle(_ctx.sheetStyle)
|
|
35306
35591
|
}, [
|
|
35307
|
-
|
|
35592
|
+
createVNode(_component_Header, {
|
|
35593
|
+
title: _ctx.remoteStrings.topup.title,
|
|
35594
|
+
icon: "back",
|
|
35595
|
+
"data-testid": "main-header",
|
|
35596
|
+
"under-lined": "",
|
|
35597
|
+
onClick: _ctx.closeIconClick
|
|
35598
|
+
}, null, 8, ["title", "onClick"]),
|
|
35599
|
+
!_ctx.isSheetExpanded ? (openBlock(), createBlock(_component_BannerHeader, {
|
|
35308
35600
|
key: 0,
|
|
35309
|
-
|
|
35310
|
-
|
|
35311
|
-
|
|
35601
|
+
"show-title": true,
|
|
35602
|
+
"icon-align-right": true,
|
|
35603
|
+
"description-banner-info": _ctx.descriptionBannerInfo,
|
|
35604
|
+
class: normalizeClass(_ctx.$style.banner),
|
|
35605
|
+
"text-style": _ctx.$style.bannerText,
|
|
35606
|
+
onShow: _ctx.showBannerInfo
|
|
35607
|
+
}, null, 8, ["description-banner-info", "class", "text-style", "onShow"])) : createCommentVNode("", true),
|
|
35608
|
+
((_a2 = _ctx.selectedPaymentMethod) == null ? void 0 : _a2.feeInfo) && !_ctx.isSheetExpanded ? (openBlock(), createBlock(_component_TopupFeeInfo, {
|
|
35312
35609
|
key: 1,
|
|
35313
|
-
class:
|
|
35314
|
-
|
|
35610
|
+
"container-class": _ctx.$style.feeInfo,
|
|
35611
|
+
"topup-fee-info": _ctx.selectedPaymentMethod.feeInfo,
|
|
35612
|
+
"topup-amount": _ctx.inputMoney
|
|
35613
|
+
}, null, 8, ["container-class", "topup-fee-info", "topup-amount"])) : createCommentVNode("", true),
|
|
35614
|
+
createBaseVNode("div", {
|
|
35615
|
+
class: normalizeClass({
|
|
35616
|
+
[_ctx.$style.topupCharge]: true,
|
|
35617
|
+
[_ctx.$style.fullHeightCharge]: _ctx.isSheetExpanded
|
|
35618
|
+
})
|
|
35315
35619
|
}, [
|
|
35316
|
-
|
|
35317
|
-
|
|
35318
|
-
|
|
35620
|
+
!_ctx.isSheetExpanded ? (openBlock(), createElementBlock("div", {
|
|
35621
|
+
key: 0,
|
|
35622
|
+
class: normalizeClass(_ctx.$style.chargeSelect)
|
|
35623
|
+
}, toDisplayString(_ctx.remoteStrings.topup.charge), 3)) : createCommentVNode("", true),
|
|
35624
|
+
!_ctx.isSheetExpanded ? (openBlock(), createElementBlock("div", {
|
|
35625
|
+
key: 1,
|
|
35626
|
+
class: normalizeClass(_ctx.$style.dummyInput),
|
|
35627
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.switchInput(), ["prevent"]))
|
|
35628
|
+
}, [
|
|
35629
|
+
createBaseVNode("div", {
|
|
35630
|
+
class: normalizeClass(_ctx.$style.chargeMoney),
|
|
35631
|
+
"data-testid": "money-text"
|
|
35632
|
+
}, [
|
|
35633
|
+
createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)), 1),
|
|
35634
|
+
createBaseVNode("span", {
|
|
35635
|
+
class: normalizeClass(_ctx.$style.unit)
|
|
35636
|
+
}, "\u5186", 2)
|
|
35637
|
+
], 2),
|
|
35638
|
+
createBaseVNode("div", {
|
|
35639
|
+
class: normalizeClass(_ctx.$style.blueDivider)
|
|
35640
|
+
}, null, 2)
|
|
35641
|
+
], 2)) : (openBlock(), createElementBlock("div", {
|
|
35642
|
+
key: 2,
|
|
35643
|
+
class: normalizeClass([_ctx.$style.chargeInput, _ctx.$style.chargeMoney])
|
|
35319
35644
|
}, [
|
|
35320
|
-
|
|
35645
|
+
createVNode(_component_Currency, {
|
|
35646
|
+
id: "inputmoney",
|
|
35647
|
+
modelValue: _ctx.inputMoneyString,
|
|
35648
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.inputMoneyString = $event),
|
|
35649
|
+
maxlength: "12",
|
|
35650
|
+
"input-align": "right",
|
|
35651
|
+
autofocus: false,
|
|
35652
|
+
class: normalizeClass({ [_ctx.$style.fullHeightInput]: _ctx.isSheetExpanded }),
|
|
35653
|
+
"data-testid": "input-money"
|
|
35654
|
+
}, null, 8, ["modelValue", "class"]),
|
|
35321
35655
|
createBaseVNode("span", {
|
|
35322
|
-
class: normalizeClass(_ctx.$style.
|
|
35656
|
+
class: normalizeClass(_ctx.$style.inputLeft)
|
|
35657
|
+
}, "\u91D1\u984D", 2),
|
|
35658
|
+
createBaseVNode("span", {
|
|
35659
|
+
class: normalizeClass(_ctx.$style.inputRight)
|
|
35323
35660
|
}, "\u5186", 2)
|
|
35324
|
-
], 2),
|
|
35661
|
+
], 2)),
|
|
35325
35662
|
createBaseVNode("div", {
|
|
35326
|
-
class: normalizeClass(_ctx.$style.
|
|
35327
|
-
},
|
|
35328
|
-
|
|
35663
|
+
class: normalizeClass(_ctx.$style.invalidAmount)
|
|
35664
|
+
}, [
|
|
35665
|
+
_ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$o, toDisplayString(_ctx.minAMountErrorMessage), 1)) : createCommentVNode("", true),
|
|
35666
|
+
_ctx.maxAmountExceeded ? (openBlock(), createElementBlock("span", _hoisted_2$8, toDisplayString(_ctx.remoteStrings.topup.maxAmount), 1)) : createCommentVNode("", true)
|
|
35667
|
+
], 2)
|
|
35668
|
+
], 2),
|
|
35669
|
+
!_ctx.done && !_ctx.loading && !_ctx.isSelectPaymentMethod && !_ctx.isSelectMoreMoney ? withDirectives((openBlock(), createBlock(_component_ChargeAmountList, {
|
|
35329
35670
|
key: 2,
|
|
35330
|
-
|
|
35671
|
+
"amount-list": _ctx.topupButtonsAmount,
|
|
35672
|
+
"halfsheet-amount": _ctx.topupHalfSheetAmount,
|
|
35673
|
+
isfullheight: !_ctx.isSheetExpanded,
|
|
35674
|
+
small: true,
|
|
35675
|
+
class: normalizeClass(_ctx.$style.amountList),
|
|
35676
|
+
"is-topup": true,
|
|
35677
|
+
"data-testid": "amount-list",
|
|
35678
|
+
onSetmoney: _ctx.setMoney,
|
|
35679
|
+
onSelectmoremoney: _ctx.selectMoreMoney,
|
|
35680
|
+
onSwitchinput: _ctx.switchInput
|
|
35681
|
+
}, null, 8, ["amount-list", "halfsheet-amount", "isfullheight", "class", "onSetmoney", "onSelectmoremoney", "onSwitchinput"])), [
|
|
35682
|
+
[_directive_horizontal_scroll]
|
|
35683
|
+
]) : createCommentVNode("", true),
|
|
35684
|
+
!_ctx.done && !_ctx.loading && !_ctx.isSheetExpanded ? (openBlock(), createBlock(_component_Divider, { key: 3 })) : createCommentVNode("", true),
|
|
35685
|
+
_ctx.paymentMethodList && _ctx.paymentMethodList.length > 0 && !_ctx.done && !_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
35686
|
+
key: 4,
|
|
35687
|
+
class: normalizeClass(_ctx.$style.topupMoney)
|
|
35331
35688
|
}, [
|
|
35332
|
-
|
|
35333
|
-
|
|
35334
|
-
|
|
35335
|
-
|
|
35336
|
-
|
|
35337
|
-
|
|
35338
|
-
|
|
35339
|
-
|
|
35340
|
-
"data-testid": "
|
|
35341
|
-
|
|
35342
|
-
},
|
|
35343
|
-
|
|
35344
|
-
|
|
35345
|
-
|
|
35346
|
-
|
|
35347
|
-
|
|
35348
|
-
|
|
35349
|
-
|
|
35689
|
+
!(!_ctx.paymentMethodList || _ctx.paymentMethodList.length === 0 || _ctx.disablePaymentBtn) ? (openBlock(), createElementBlock("div", {
|
|
35690
|
+
key: 0,
|
|
35691
|
+
tabindex: 0,
|
|
35692
|
+
role: "button",
|
|
35693
|
+
class: normalizeClass({
|
|
35694
|
+
[_ctx.$style.topupMoneyLabel]: true,
|
|
35695
|
+
[_ctx.$style.fullHeightPayMethod]: _ctx.isSheetExpanded
|
|
35696
|
+
}),
|
|
35697
|
+
"data-testid": "toggle-payment-method",
|
|
35698
|
+
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.togglePaymentMethod(true))
|
|
35699
|
+
}, [
|
|
35700
|
+
createBaseVNode("span", {
|
|
35701
|
+
class: normalizeClass(_ctx.$style.moneyLabel)
|
|
35702
|
+
}, toDisplayString(_ctx.remoteStrings.topup.moneyLabel), 3),
|
|
35703
|
+
_ctx.selectedPaymentMethod != null ? (openBlock(), createBlock(_component_PaymentType, {
|
|
35704
|
+
key: 0,
|
|
35705
|
+
class: normalizeClass(_ctx.$style.paymentType),
|
|
35706
|
+
"payment-method": _ctx.selectedPaymentMethod
|
|
35707
|
+
}, null, 8, ["class", "payment-method"])) : createCommentVNode("", true)
|
|
35708
|
+
], 2)) : createCommentVNode("", true)
|
|
35709
|
+
], 2)) : createCommentVNode("", true),
|
|
35710
|
+
(!_ctx.paymentMethodList || _ctx.paymentMethodList.length === 0 || _ctx.disablePaymentBtn) && !_ctx.done && !_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
35711
|
+
key: 5,
|
|
35712
|
+
class: normalizeClass(_ctx.$style.noMethod)
|
|
35713
|
+
}, toDisplayString(_ctx.remoteStrings.topup.noMethod), 3)) : createCommentVNode("", true),
|
|
35350
35714
|
createBaseVNode("div", {
|
|
35351
|
-
class: normalizeClass(_ctx.$style.
|
|
35352
|
-
},
|
|
35353
|
-
|
|
35354
|
-
|
|
35355
|
-
|
|
35356
|
-
|
|
35357
|
-
|
|
35358
|
-
|
|
35359
|
-
|
|
35360
|
-
|
|
35361
|
-
|
|
35362
|
-
|
|
35363
|
-
|
|
35364
|
-
|
|
35365
|
-
|
|
35366
|
-
|
|
35367
|
-
|
|
35368
|
-
|
|
35369
|
-
|
|
35370
|
-
|
|
35371
|
-
|
|
35372
|
-
|
|
35373
|
-
|
|
35374
|
-
key: 3,
|
|
35375
|
-
class: normalizeClass(_ctx.$style.topupMoney)
|
|
35376
|
-
}, [
|
|
35377
|
-
!(!_ctx.paymentMethodList || _ctx.paymentMethodList.length === 0 || _ctx.disablePaymentBtn) ? (openBlock(), createElementBlock("div", {
|
|
35378
|
-
key: 0,
|
|
35379
|
-
tabindex: 0,
|
|
35380
|
-
role: "button",
|
|
35715
|
+
class: normalizeClass(_ctx.$style.spacer)
|
|
35716
|
+
}, null, 2),
|
|
35717
|
+
((_b = _ctx.selectedPaymentMethod) == null ? void 0 : _b.feeInfo) && _ctx.isSheetExpanded ? (openBlock(), createBlock(_component_TopupFeeInfo, {
|
|
35718
|
+
key: 6,
|
|
35719
|
+
"container-class": _ctx.$style.feeInfo,
|
|
35720
|
+
"topup-fee-info": _ctx.selectedPaymentMethod.feeInfo,
|
|
35721
|
+
"topup-amount": _ctx.inputMoney
|
|
35722
|
+
}, null, 8, ["container-class", "topup-fee-info", "topup-amount"])) : createCommentVNode("", true),
|
|
35723
|
+
_ctx.isSheetExpanded ? (openBlock(), createBlock(_component_TopupBalanceInfo, {
|
|
35724
|
+
key: 7,
|
|
35725
|
+
"wallet-data": _ctx.walletData,
|
|
35726
|
+
"topup-amount": _ctx.inputMoney
|
|
35727
|
+
}, null, 8, ["wallet-data", "topup-amount"])) : createCommentVNode("", true),
|
|
35728
|
+
_ctx.isSheetExpanded ? (openBlock(), createBlock(_component_BannerHeader, {
|
|
35729
|
+
key: 8,
|
|
35730
|
+
"show-title": "",
|
|
35731
|
+
"icon-align-right": "",
|
|
35732
|
+
class: normalizeClass(_ctx.$style.bannerMargin),
|
|
35733
|
+
"description-banner-info": _ctx.descriptionBannerInfo,
|
|
35734
|
+
onShow: _ctx.showBannerInfo
|
|
35735
|
+
}, null, 8, ["class", "description-banner-info", "onShow"])) : createCommentVNode("", true),
|
|
35736
|
+
!_ctx.done && !_ctx.isSelectPaymentMethod && !_ctx.isSelectMoreMoney ? (openBlock(), createElementBlock("div", {
|
|
35737
|
+
key: 9,
|
|
35381
35738
|
class: normalizeClass({
|
|
35382
|
-
[_ctx.$style.
|
|
35383
|
-
[_ctx.$style.
|
|
35384
|
-
})
|
|
35385
|
-
"data-testid": "toggle-payment-method",
|
|
35386
|
-
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.togglePaymentMethod(true))
|
|
35739
|
+
[_ctx.$style.btnContainer]: true,
|
|
35740
|
+
[_ctx.$style.fullBtnContainer]: _ctx.isSheetExpanded
|
|
35741
|
+
})
|
|
35387
35742
|
}, [
|
|
35388
|
-
|
|
35389
|
-
class: normalizeClass(_ctx.$style.moneyLabel)
|
|
35390
|
-
}, toDisplayString(_ctx.remoteStrings.topup.moneyLabel), 3),
|
|
35391
|
-
_ctx.selectedPaymentMethod != null ? (openBlock(), createBlock(_component_PaymentType, {
|
|
35743
|
+
_ctx.loading && !_ctx.isFirstLoad ? (openBlock(), createElementBlock("div", {
|
|
35392
35744
|
key: 0,
|
|
35393
|
-
class: normalizeClass(_ctx.$style.
|
|
35394
|
-
|
|
35395
|
-
|
|
35396
|
-
|
|
35397
|
-
|
|
35398
|
-
|
|
35399
|
-
|
|
35400
|
-
|
|
35401
|
-
|
|
35402
|
-
|
|
35403
|
-
|
|
35404
|
-
|
|
35405
|
-
|
|
35406
|
-
|
|
35407
|
-
|
|
35408
|
-
|
|
35409
|
-
|
|
35410
|
-
|
|
35411
|
-
|
|
35412
|
-
|
|
35413
|
-
|
|
35414
|
-
"
|
|
35415
|
-
|
|
35416
|
-
|
|
35417
|
-
!_ctx.done && !_ctx.isSelectPaymentMethod && !_ctx.isSelectMoreMoney ? (openBlock(), createElementBlock("div", {
|
|
35418
|
-
key: 7,
|
|
35419
|
-
class: normalizeClass({
|
|
35420
|
-
[_ctx.$style.btnContainer]: true,
|
|
35421
|
-
[_ctx.$style.fullBtnContainer]: _ctx.isInput
|
|
35422
|
-
})
|
|
35423
|
-
}, [
|
|
35424
|
-
_ctx.loading && !_ctx.isFirstLoad ? (openBlock(), createElementBlock("div", {
|
|
35425
|
-
key: 0,
|
|
35426
|
-
class: normalizeClass(_ctx.$style.loadingText)
|
|
35427
|
-
}, toDisplayString(_ctx.remoteStrings.topup.loading), 3)) : createCommentVNode("", true),
|
|
35428
|
-
createVNode(_component_Button, {
|
|
35429
|
-
type: "primary",
|
|
35430
|
-
block: "",
|
|
35431
|
-
disabled: _ctx.disablePaymentBtn || _ctx.loading || _ctx.inputMoney == 0 || _ctx.minAmountUnmet || _ctx.maxAmountExceeded,
|
|
35432
|
-
loading: _ctx.loading,
|
|
35433
|
-
"data-testid": "click-topup",
|
|
35434
|
-
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.clickTopup(false))
|
|
35435
|
-
}, {
|
|
35436
|
-
default: withCtx(() => [
|
|
35437
|
-
createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)) + " " + toDisplayString(_ctx.remoteStrings.topup.payBtn), 1)
|
|
35438
|
-
]),
|
|
35439
|
-
_: 1
|
|
35440
|
-
}, 8, ["disabled", "loading"])
|
|
35441
|
-
], 2)) : createCommentVNode("", true),
|
|
35442
|
-
_ctx.done ? (openBlock(), createElementBlock("div", {
|
|
35443
|
-
key: 8,
|
|
35444
|
-
class: normalizeClass(_ctx.$style.doneContainer)
|
|
35445
|
-
}, [
|
|
35446
|
-
createVNode(_component_Lottie, {
|
|
35447
|
-
loop: false,
|
|
35448
|
-
styles: { width: "30vw", height: "30vw", maxWidth: "150px" },
|
|
35449
|
-
path: _ctx.img_animationDone,
|
|
35450
|
-
class: normalizeClass({
|
|
35451
|
-
[_ctx.$style.fullHeightLottie]: _ctx.isInput,
|
|
35452
|
-
[_ctx.$style.ppmnaLottie]: true
|
|
35453
|
-
}),
|
|
35454
|
-
onCreateLottie: _cache[4] || (_cache[4] = ($event) => _ctx.createAnime($event))
|
|
35455
|
-
}, null, 8, ["path", "class"])
|
|
35456
|
-
], 2)) : createCommentVNode("", true)
|
|
35457
|
-
], 6)) : createCommentVNode("", true),
|
|
35458
|
-
createVNode(Transition, {
|
|
35459
|
-
"enter-active-class": _ctx.$style.slideSecondaryEnterActive,
|
|
35460
|
-
"leave-active-class": _ctx.$style.slideSecondaryLeaveActive,
|
|
35461
|
-
"enter-from-class": _ctx.$style.slideSecondaryEnterFrom
|
|
35462
|
-
}, {
|
|
35463
|
-
default: withCtx(() => [
|
|
35464
|
-
_ctx.isSelectMoreMoney && !_ctx.done ? (openBlock(), createElementBlock("div", {
|
|
35465
|
-
key: 0,
|
|
35466
|
-
class: normalizeClass({
|
|
35467
|
-
[_ctx.$style.fullHeight]: _ctx.isInput,
|
|
35468
|
-
[_ctx.$style.topup]: true,
|
|
35469
|
-
[_ctx.$style.moreMoney]: true
|
|
35470
|
-
}),
|
|
35471
|
-
style: normalizeStyle(_ctx.getTopHeight)
|
|
35745
|
+
class: normalizeClass(_ctx.$style.loadingText)
|
|
35746
|
+
}, toDisplayString(_ctx.remoteStrings.topup.loading), 3)) : createCommentVNode("", true),
|
|
35747
|
+
createVNode(_component_Button, {
|
|
35748
|
+
type: "primary",
|
|
35749
|
+
block: "",
|
|
35750
|
+
disabled: _ctx.disablePaymentBtn || _ctx.loading || _ctx.inputMoney == 0 || _ctx.minAmountUnmet || _ctx.maxAmountExceeded,
|
|
35751
|
+
loading: _ctx.loading,
|
|
35752
|
+
"data-testid": "click-topup",
|
|
35753
|
+
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.executeTopup(false, false))
|
|
35754
|
+
}, {
|
|
35755
|
+
default: withCtx(() => [
|
|
35756
|
+
createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)) + " " + toDisplayString(_ctx.remoteStrings.topup.payBtn), 1)
|
|
35757
|
+
]),
|
|
35758
|
+
_: 1
|
|
35759
|
+
}, 8, ["disabled", "loading"]),
|
|
35760
|
+
((_c = _ctx.selectedPaymentMethod) == null ? void 0 : _c.feeInfo) ? (openBlock(), createBlock(_component_TopupFeeLabel, {
|
|
35761
|
+
key: 1,
|
|
35762
|
+
"topup-fee-info": _ctx.selectedPaymentMethod.feeInfo,
|
|
35763
|
+
"topup-amount": _ctx.inputMoney
|
|
35764
|
+
}, null, 8, ["topup-fee-info", "topup-amount"])) : createCommentVNode("", true)
|
|
35765
|
+
], 2)) : createCommentVNode("", true),
|
|
35766
|
+
_ctx.done ? (openBlock(), createElementBlock("div", {
|
|
35767
|
+
key: 10,
|
|
35768
|
+
class: normalizeClass(_ctx.$style.doneContainer)
|
|
35472
35769
|
}, [
|
|
35473
|
-
createVNode(
|
|
35474
|
-
|
|
35475
|
-
|
|
35476
|
-
|
|
35477
|
-
|
|
35478
|
-
|
|
35479
|
-
|
|
35480
|
-
|
|
35481
|
-
|
|
35482
|
-
|
|
35770
|
+
createVNode(_component_Lottie, {
|
|
35771
|
+
loop: false,
|
|
35772
|
+
styles: { width: "30vw", height: "30vw", maxWidth: "150px" },
|
|
35773
|
+
path: _ctx.img_animationDone,
|
|
35774
|
+
class: normalizeClass({
|
|
35775
|
+
[_ctx.$style.fullHeightLottie]: _ctx.isSheetExpanded,
|
|
35776
|
+
[_ctx.$style.ppmnaLottie]: true
|
|
35777
|
+
}),
|
|
35778
|
+
onCreateLottie: _cache[4] || (_cache[4] = ($event) => _ctx.createAnime($event))
|
|
35779
|
+
}, null, 8, ["path", "class"])
|
|
35780
|
+
], 2)) : createCommentVNode("", true)
|
|
35781
|
+
], 6)) : createCommentVNode("", true),
|
|
35782
|
+
createVNode(Transition, {
|
|
35783
|
+
"enter-active-class": _ctx.$style.slideSecondaryEnterActive,
|
|
35784
|
+
"leave-active-class": _ctx.$style.slideSecondaryLeaveActive,
|
|
35785
|
+
"enter-from-class": _ctx.$style.slideSecondaryEnterFrom
|
|
35786
|
+
}, {
|
|
35787
|
+
default: withCtx(() => [
|
|
35788
|
+
_ctx.isSelectMoreMoney && !_ctx.done ? (openBlock(), createElementBlock("div", {
|
|
35789
|
+
key: 0,
|
|
35790
|
+
class: normalizeClass({
|
|
35791
|
+
[_ctx.$style.fullHeight]: _ctx.isSheetExpanded,
|
|
35792
|
+
[_ctx.$style.topup]: true,
|
|
35793
|
+
[_ctx.$style.moreMoney]: true
|
|
35794
|
+
}),
|
|
35795
|
+
style: normalizeStyle(_ctx.sheetStyle)
|
|
35483
35796
|
}, [
|
|
35484
|
-
createVNode(
|
|
35485
|
-
|
|
35486
|
-
|
|
35487
|
-
|
|
35488
|
-
|
|
35489
|
-
|
|
35490
|
-
|
|
35491
|
-
|
|
35492
|
-
|
|
35493
|
-
|
|
35494
|
-
|
|
35495
|
-
|
|
35496
|
-
|
|
35497
|
-
|
|
35498
|
-
|
|
35499
|
-
|
|
35500
|
-
|
|
35501
|
-
|
|
35502
|
-
|
|
35503
|
-
|
|
35504
|
-
|
|
35505
|
-
|
|
35506
|
-
|
|
35507
|
-
|
|
35508
|
-
|
|
35509
|
-
|
|
35510
|
-
|
|
35511
|
-
|
|
35512
|
-
|
|
35513
|
-
|
|
35514
|
-
|
|
35515
|
-
|
|
35516
|
-
|
|
35797
|
+
createVNode(_component_Header, {
|
|
35798
|
+
title: "\u30C1\u30E3\u30FC\u30B8",
|
|
35799
|
+
icon: "back",
|
|
35800
|
+
fixed: "",
|
|
35801
|
+
"under-lined": "",
|
|
35802
|
+
"data-testid": "amount-header",
|
|
35803
|
+
onClick: _ctx.backToHome
|
|
35804
|
+
}, null, 8, ["onClick"]),
|
|
35805
|
+
createBaseVNode("div", {
|
|
35806
|
+
class: normalizeClass(_ctx.$style.moneyList)
|
|
35807
|
+
}, [
|
|
35808
|
+
createVNode(_component_ChargeAmountMoreList, {
|
|
35809
|
+
data: _ctx.topupHalfSheetAmount,
|
|
35810
|
+
onClick: _ctx.setCurrentMoney
|
|
35811
|
+
}, null, 8, ["data", "onClick"])
|
|
35812
|
+
], 2)
|
|
35813
|
+
], 6)) : createCommentVNode("", true)
|
|
35814
|
+
]),
|
|
35815
|
+
_: 1
|
|
35816
|
+
}, 8, ["enter-active-class", "leave-active-class", "enter-from-class"]),
|
|
35817
|
+
createVNode(Transition, {
|
|
35818
|
+
"enter-active-class": _ctx.$style.slideSecondaryEnterActive,
|
|
35819
|
+
"leave-active-class": _ctx.$style.slideSecondaryLeaveActive,
|
|
35820
|
+
"enter-from-class": _ctx.$style.slideSecondaryEnterFrom
|
|
35821
|
+
}, {
|
|
35822
|
+
default: withCtx(() => [
|
|
35823
|
+
_ctx.isSelectPaymentMethod ? (openBlock(), createBlock(_component_ChoosePaymentMethod, {
|
|
35824
|
+
key: 0,
|
|
35825
|
+
"payment-methods": _ctx.paymentMethodList,
|
|
35826
|
+
"appeal-description": _ctx.appealDescription,
|
|
35827
|
+
"select-index": _ctx.selectPaymentIndex,
|
|
35828
|
+
class: normalizeClass({
|
|
35829
|
+
[_ctx.$style.fullHeight]: _ctx.isSheetExpanded,
|
|
35830
|
+
[_ctx.$style.choosePayment]: true
|
|
35831
|
+
}),
|
|
35832
|
+
"is-topup": true,
|
|
35833
|
+
style: normalizeStyle(_ctx.sheetStyle),
|
|
35834
|
+
onBack: _ctx.togglePaymentMethod,
|
|
35835
|
+
onSelectPaymentMethod: _ctx.selectPaymentMethod
|
|
35836
|
+
}, null, 8, ["payment-methods", "appeal-description", "select-index", "class", "style", "onBack", "onSelectPaymentMethod"])) : createCommentVNode("", true)
|
|
35837
|
+
]),
|
|
35838
|
+
_: 1
|
|
35839
|
+
}, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
|
|
35840
|
+
];
|
|
35841
|
+
}),
|
|
35517
35842
|
_: 1
|
|
35518
|
-
}, 8, ["show", "container-class", "class", "onClose"]),
|
|
35843
|
+
}, 8, ["show", "container-class", "class", "style", "top-spacer-style", "onClose", "onTransitionEnd"]),
|
|
35519
35844
|
createVNode(_component_ActionSheet, {
|
|
35520
35845
|
show: _ctx.isDuplicate,
|
|
35521
35846
|
type: "alert",
|
|
@@ -35525,7 +35850,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35525
35850
|
createVNode(_component_DuplicatePayment, {
|
|
35526
35851
|
mode: "topup",
|
|
35527
35852
|
onCancel: _ctx.duplicateCancel,
|
|
35528
|
-
onProceed: _cache[5] || (_cache[5] = ($event) => _ctx.
|
|
35853
|
+
onProceed: _cache[5] || (_cache[5] = ($event) => _ctx.executeTopup(true, false))
|
|
35529
35854
|
}, null, 8, ["onCancel"])
|
|
35530
35855
|
]),
|
|
35531
35856
|
_: 1
|
|
@@ -35556,13 +35881,15 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35556
35881
|
_: 1
|
|
35557
35882
|
}, 8, ["show"]),
|
|
35558
35883
|
createVNode(_component_ErrorSheet, {
|
|
35884
|
+
"data-testid": "error-sheet",
|
|
35559
35885
|
"error-title": _ctx.errorInfo.title,
|
|
35560
35886
|
"icon-url": _ctx.errorInfo.iconUrl,
|
|
35561
35887
|
"error-text": _ctx.errorInfo.desc,
|
|
35562
35888
|
"button-list": _ctx.errorInfo.buttonList,
|
|
35563
35889
|
show: _ctx.errorShow || _ctx.errorOverlay,
|
|
35564
|
-
onCloseClick: _cache[7] || (_cache[7] = ($event) => _ctx.closeErrorSheet())
|
|
35565
|
-
|
|
35890
|
+
onCloseClick: _cache[7] || (_cache[7] = ($event) => _ctx.closeErrorSheet()),
|
|
35891
|
+
onNativeAction: _ctx.handleErrorNativeAction
|
|
35892
|
+
}, null, 8, ["error-title", "icon-url", "error-text", "button-list", "show", "onNativeAction"]),
|
|
35566
35893
|
createVNode(_component_ThreeDSecureSheet, {
|
|
35567
35894
|
show: _ctx.show3DSecureSheet,
|
|
35568
35895
|
"cc-type": _ctx.selectedCCType,
|
|
@@ -36836,7 +37163,7 @@ function debug(params) {
|
|
|
36836
37163
|
function execute$a(params) {
|
|
36837
37164
|
var _a2;
|
|
36838
37165
|
(_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
|
|
36839
|
-
v: "1.
|
|
37166
|
+
v: "1.76.0"
|
|
36840
37167
|
});
|
|
36841
37168
|
}
|
|
36842
37169
|
function useCallBack(props, ctx) {
|
|
@@ -38484,6 +38811,7 @@ const en = {
|
|
|
38484
38811
|
update: "Update app",
|
|
38485
38812
|
cancel: "Don't do it now"
|
|
38486
38813
|
},
|
|
38814
|
+
viewdetails: "view details",
|
|
38487
38815
|
eMoneyOnly: "Top-up from bank account only",
|
|
38488
38816
|
topupNoticeEmoneyOnlyTitle: "Choose Top-Up from Bank Account",
|
|
38489
38817
|
topupNoticeEmoneyOnlyDesc: "You need to use PayPay Money to pay at this store. Top up from a bank account to use PayPay Money."
|
|
@@ -43563,7 +43891,7 @@ const useSmsAuthStore = defineStore("smsAuth", {
|
|
|
43563
43891
|
this.errorState.visible = true;
|
|
43564
43892
|
},
|
|
43565
43893
|
async verifyOtp() {
|
|
43566
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s
|
|
43894
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
43567
43895
|
const res = await verifyOtp({
|
|
43568
43896
|
otpKey: this.uiState.otpKey,
|
|
43569
43897
|
otp: Number(this.uiState.otp)
|
|
@@ -43583,24 +43911,20 @@ const useSmsAuthStore = defineStore("smsAuth", {
|
|
|
43583
43911
|
encodeURIComponent(this.uiState.otpKey)
|
|
43584
43912
|
);
|
|
43585
43913
|
window.location.href = callbackUrl.href;
|
|
43586
|
-
(_k = (_j = this.result).fail) == null ? void 0 : _k.call(_j, {
|
|
43587
|
-
errorCode: (_i = (_h = (_g = res == null ? void 0 : res.body) == null ? void 0 : _g.unsigned) == null ? void 0 : _h.resultInfo) == null ? void 0 : _i.code
|
|
43588
|
-
});
|
|
43589
|
-
this.result.completed = true;
|
|
43590
43914
|
} catch (_) {
|
|
43591
|
-
(
|
|
43915
|
+
(_h = (_g = this.result).fail) == null ? void 0 : _h.call(_g, { errorCode: MiniAppErrorType.invalidUrl });
|
|
43592
43916
|
this.result.completed = true;
|
|
43593
43917
|
}
|
|
43594
|
-
} else if (((
|
|
43918
|
+
} else if (((_k = (_j = (_i = res == null ? void 0 : res.body) == null ? void 0 : _i.unsigned) == null ? void 0 : _j.resultInfo) == null ? void 0 : _k.codeId) === "01811004") {
|
|
43595
43919
|
this.uiState.isInvalidOtpVisible = true;
|
|
43596
43920
|
} else {
|
|
43597
43921
|
this.showGeneralError(
|
|
43598
|
-
(
|
|
43922
|
+
(_n = (_m = (_l = res == null ? void 0 : res.body) == null ? void 0 : _l.unsigned) == null ? void 0 : _m.resultInfo) == null ? void 0 : _n.code
|
|
43599
43923
|
);
|
|
43600
43924
|
}
|
|
43601
43925
|
} else {
|
|
43602
43926
|
this.showGeneralError(
|
|
43603
|
-
(
|
|
43927
|
+
(_q = (_p = (_o = res == null ? void 0 : res.body) == null ? void 0 : _o.unsigned) == null ? void 0 : _p.resultInfo) == null ? void 0 : _q.code
|
|
43604
43928
|
);
|
|
43605
43929
|
}
|
|
43606
43930
|
} else {
|
|
@@ -43612,10 +43936,8 @@ const useSmsAuthStore = defineStore("smsAuth", {
|
|
|
43612
43936
|
encodeURIComponent(this.uiState.otpKey)
|
|
43613
43937
|
);
|
|
43614
43938
|
window.location.href = callbackUrl.href;
|
|
43615
|
-
(_x = (_w = this.result).success) == null ? void 0 : _x.call(_w);
|
|
43616
|
-
this.result.completed = true;
|
|
43617
43939
|
} catch (_) {
|
|
43618
|
-
(
|
|
43940
|
+
(_s = (_r = this.result).fail) == null ? void 0 : _s.call(_r, { errorCode: MiniAppErrorType.invalidUrl });
|
|
43619
43941
|
this.result.completed = true;
|
|
43620
43942
|
}
|
|
43621
43943
|
}
|