@paypay/mini-app-js-sdk 1.27.0 → 1.28.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/composition-api/useRegisterEmail.d.ts +1 -1
- package/dist/jsbridge-core/jsbridge.d.ts +9 -10
- package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -1
- package/dist/jsbridge-core/module.d.ts +1 -3
- package/dist/jsbridge-core/paypay-jsbridge.d.ts +2 -3
- package/dist/mini-app-api.d.ts +14 -14
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +464 -289
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +2 -2
- package/dist/model/bridge/debug.d.ts +2 -2
- package/dist/model/bridge/getAuthStatus.d.ts +2 -2
- package/dist/model/bridge/getDeviceInformation.d.ts +2 -2
- package/dist/model/bridge/getPlatformInformation.d.ts +1 -1
- package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
- package/dist/model/bridge/getUAID.d.ts +2 -2
- package/dist/model/bridge/getUserProfile.d.ts +2 -2
- package/dist/model/bridge/logout.d.ts +2 -2
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/removeStorageData.d.ts +2 -2
- package/dist/model/bridge/scanCode.d.ts +1 -1
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +2 -2
- package/dist/model/makePayment.d.ts +1 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +291 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +5 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +5 -1
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +289 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +5 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +5 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +5 -0
- package/dist/types.d.ts +33 -31
- package/dist/utils/getImages.d.ts +1 -0
- package/dist/utils/getLanguage.d.ts +4 -0
- package/dist/utils/helper.d.ts +1 -0
- package/dist/views/email-registration/App.vue.d.ts +7 -3
- package/dist/views/email-registration/hooks/callback.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +5 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +5 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +12 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +5 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +5 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +4 -0
- package/dist/views/open-app/App.vue.d.ts +5 -0
- package/dist/views/open-map/App.vue.d.ts +4 -0
- package/dist/views/show-update-warning/App.vue.d.ts +5 -0
- package/dist/views/take-photo/App.vue.d.ts +4 -0
- package/dist/views/topup/App.vue.d.ts +6 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +4 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +5 -0
- package/package.json +1 -1
- package/dist/utils/common.d.ts +0 -2
|
@@ -65,8 +65,8 @@ function normalizeNativeResponseData(data2) {
|
|
|
65
65
|
}
|
|
66
66
|
class JsBridge {
|
|
67
67
|
constructor(global2) {
|
|
68
|
-
this.version = "1.
|
|
69
|
-
this.revision = "
|
|
68
|
+
this.version = "1.28.0";
|
|
69
|
+
this.revision = "8e77fc7";
|
|
70
70
|
this.messageHandlers = new Map();
|
|
71
71
|
this.responseCallbacks = new Map();
|
|
72
72
|
this.global = global2;
|
|
@@ -1073,6 +1073,10 @@ const wallet$1 = {
|
|
|
1073
1073
|
cashBackExpirable: "PayPay\u30DC\u30FC\u30CA\u30B9\u30E9\u30A4\u30C8",
|
|
1074
1074
|
balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A"
|
|
1075
1075
|
};
|
|
1076
|
+
const payLater$2 = {
|
|
1077
|
+
title: "PayPay\u3042\u3068\u6255\u3044",
|
|
1078
|
+
balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A"
|
|
1079
|
+
};
|
|
1076
1080
|
const softbank$2 = {
|
|
1077
1081
|
desc: "\u30BD\u30D5\u30C8\u30D0\u30F3\u30AF\u30FB\u30EF\u30A4\u30E2\u30D0\u30A4\u30EB",
|
|
1078
1082
|
desc1: "\u307E\u3068\u3081\u3066\u652F\u6255\u3044",
|
|
@@ -1132,6 +1136,7 @@ var ja = {
|
|
|
1132
1136
|
paymentMethod: paymentMethod$2,
|
|
1133
1137
|
paymentMethodStatus: paymentMethodStatus$1,
|
|
1134
1138
|
wallet: wallet$1,
|
|
1139
|
+
payLater: payLater$2,
|
|
1135
1140
|
softbank: softbank$2,
|
|
1136
1141
|
registerEmail: registerEmail$2,
|
|
1137
1142
|
smartLogin: smartLogin$1,
|
|
@@ -1162,6 +1167,7 @@ var ja$1 = /* @__PURE__ */ Object.freeze({
|
|
|
1162
1167
|
paymentMethod: paymentMethod$2,
|
|
1163
1168
|
paymentMethodStatus: paymentMethodStatus$1,
|
|
1164
1169
|
wallet: wallet$1,
|
|
1170
|
+
payLater: payLater$2,
|
|
1165
1171
|
softbank: softbank$2,
|
|
1166
1172
|
registerEmail: registerEmail$2,
|
|
1167
1173
|
smartLogin: smartLogin$1,
|
|
@@ -1326,7 +1332,7 @@ function trimExtraChar(value2, char, regExp) {
|
|
|
1326
1332
|
}
|
|
1327
1333
|
return value2.slice(0, index2 + 1) + value2.slice(index2).replace(regExp, "");
|
|
1328
1334
|
}
|
|
1329
|
-
function formatNumber
|
|
1335
|
+
function formatNumber(value2, options) {
|
|
1330
1336
|
if (options == null ? void 0 : options.allowDot) {
|
|
1331
1337
|
value2 = trimExtraChar(value2, ".", /\./g);
|
|
1332
1338
|
} else {
|
|
@@ -1343,6 +1349,9 @@ function formatNumber$3(value2, options) {
|
|
|
1343
1349
|
const numberWithCommas = (x = 0) => {
|
|
1344
1350
|
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
1345
1351
|
};
|
|
1352
|
+
function formatAmount(val2) {
|
|
1353
|
+
return (val2 == null ? void 0 : val2.toLocaleString()) || "-";
|
|
1354
|
+
}
|
|
1346
1355
|
function formatCurrency(val2, n) {
|
|
1347
1356
|
const re = `\\d(?=(\\d{3})+${n > 0 ? "\\." : "$"})`;
|
|
1348
1357
|
return val2 == null ? void 0 : val2.toFixed(Math.max(0, ~~n)).replace(new RegExp(re, "g"), "$&,");
|
|
@@ -1519,7 +1528,7 @@ const opaUrl = () => {
|
|
|
1519
1528
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
1520
1529
|
let headers = new Headers(__spreadValues({
|
|
1521
1530
|
"Content-Type": "application/json",
|
|
1522
|
-
"Client-Version": "1.
|
|
1531
|
+
"Client-Version": "1.28.0",
|
|
1523
1532
|
"Client-OS-Type": getRuntime()
|
|
1524
1533
|
}, customHeaders));
|
|
1525
1534
|
if (urlEndpoint === "web-api/app/v2/payment/methods" || urlEndpoint === "web-api/app/v2/payment/consult" || urlEndpoint === "web-api/app/v1/payment/cashbackDetail" || urlEndpoint === "web-api/app/v1/confirmAgeForCashback" || urlEndpoint === "web-api/app/v1/internal/request" || urlEndpoint === "web-api/app/v1/addressbyzip" || urlEndpoint === "/web-api/app/platform/v1/balance") {
|
|
@@ -1756,6 +1765,16 @@ function reconstructParams(params) {
|
|
|
1756
1765
|
}, 0);
|
|
1757
1766
|
};
|
|
1758
1767
|
}
|
|
1768
|
+
var MiniAppStatusType;
|
|
1769
|
+
(function(MiniAppStatusType2) {
|
|
1770
|
+
MiniAppStatusType2["validToken"] = "TOKEN_VALID";
|
|
1771
|
+
MiniAppStatusType2["initialized"] = "INITIALIZED";
|
|
1772
|
+
MiniAppStatusType2["emailRegistered"] = "EMAIL_REGISTERED";
|
|
1773
|
+
MiniAppStatusType2["emailNotVerified"] = "EMAIL_NOT_VERIFIED";
|
|
1774
|
+
MiniAppStatusType2["success"] = "SUCCESS";
|
|
1775
|
+
MiniAppStatusType2["loggedOut"] = "LOGGED_OUT";
|
|
1776
|
+
MiniAppStatusType2["connected"] = "CONNECTED";
|
|
1777
|
+
})(MiniAppStatusType || (MiniAppStatusType = {}));
|
|
1759
1778
|
function getUAID(params) {
|
|
1760
1779
|
reconstructParams(params);
|
|
1761
1780
|
execute$e(params).catch(() => {
|
|
@@ -1773,16 +1792,6 @@ async function execute$e(params) {
|
|
|
1773
1792
|
const userId = (_b = res == null ? void 0 : res.signed) == null ? void 0 : _b.jws;
|
|
1774
1793
|
(userId == null ? void 0 : userId.length) ? (_c = params == null ? void 0 : params.success) == null ? void 0 : _c.call(params, { jws: userId }) : (_d = params == null ? void 0 : params.fail) == null ? void 0 : _d.call(params, { errorCode: MiniAppErrorType.serverError });
|
|
1775
1794
|
}
|
|
1776
|
-
var MiniAppStatusType;
|
|
1777
|
-
(function(MiniAppStatusType2) {
|
|
1778
|
-
MiniAppStatusType2["validToken"] = "TOKEN_VALID";
|
|
1779
|
-
MiniAppStatusType2["initialized"] = "INITIALIZED";
|
|
1780
|
-
MiniAppStatusType2["emailRegistered"] = "EMAIL_REGISTERED";
|
|
1781
|
-
MiniAppStatusType2["emailNotVerified"] = "EMAIL_NOT_VERIFIED";
|
|
1782
|
-
MiniAppStatusType2["success"] = "SUCCESS";
|
|
1783
|
-
MiniAppStatusType2["loggedOut"] = "LOGGED_OUT";
|
|
1784
|
-
MiniAppStatusType2["connected"] = "CONNECTED";
|
|
1785
|
-
})(MiniAppStatusType || (MiniAppStatusType = {}));
|
|
1786
1795
|
function checkAccessToken(params) {
|
|
1787
1796
|
reconstructParams(params);
|
|
1788
1797
|
execute$d(params);
|
|
@@ -7561,10 +7570,10 @@ const ActionSheet = defineComponent({
|
|
|
7561
7570
|
})]);
|
|
7562
7571
|
}
|
|
7563
7572
|
});
|
|
7564
|
-
const container$
|
|
7573
|
+
const container$m = "_container_g8jc8_2";
|
|
7565
7574
|
const primary = "_primary_g8jc8_24";
|
|
7566
7575
|
const focus = "_focus_g8jc8_35";
|
|
7567
|
-
const disabled$
|
|
7576
|
+
const disabled$3 = "_disabled_g8jc8_41";
|
|
7568
7577
|
const success = "_success_g8jc8_46";
|
|
7569
7578
|
const warning$1 = "_warning_g8jc8_68";
|
|
7570
7579
|
const danger = "_danger_g8jc8_90";
|
|
@@ -7581,10 +7590,10 @@ const bounce1 = "_bounce1_g8jc8_228";
|
|
|
7581
7590
|
const bounce2 = "_bounce2_g8jc8_231";
|
|
7582
7591
|
var styles$3 = {
|
|
7583
7592
|
"ppmna-default-font": "_ppmna-default-font_g8jc8_1",
|
|
7584
|
-
container: container$
|
|
7593
|
+
container: container$m,
|
|
7585
7594
|
primary,
|
|
7586
7595
|
focus,
|
|
7587
|
-
disabled: disabled$
|
|
7596
|
+
disabled: disabled$3,
|
|
7588
7597
|
success,
|
|
7589
7598
|
warning: warning$1,
|
|
7590
7599
|
danger,
|
|
@@ -7852,7 +7861,7 @@ const Input = defineComponent({
|
|
|
7852
7861
|
}
|
|
7853
7862
|
if (props.type === "number" || props.type === "digit") {
|
|
7854
7863
|
const isNumber = props.type === "number";
|
|
7855
|
-
value2 = formatNumber
|
|
7864
|
+
value2 = formatNumber(value2, {
|
|
7856
7865
|
allowDot: isNumber,
|
|
7857
7866
|
allowMinus: isNumber
|
|
7858
7867
|
});
|
|
@@ -19972,6 +19981,7 @@ const paypayRecWhite = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-pa
|
|
|
19972
19981
|
const downArrow = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-arrow-down.svg";
|
|
19973
19982
|
const bankIcon$1 = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/bank.svg";
|
|
19974
19983
|
const confetti = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/animation/confetti.json";
|
|
19984
|
+
const payLater$1 = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/paylater.svg";
|
|
19975
19985
|
var images = {
|
|
19976
19986
|
iconBalanceError,
|
|
19977
19987
|
animationDone,
|
|
@@ -20006,28 +20016,29 @@ var images = {
|
|
|
20006
20016
|
paypayRecWhite,
|
|
20007
20017
|
downArrow,
|
|
20008
20018
|
bankIcon: bankIcon$1,
|
|
20009
|
-
confetti
|
|
20019
|
+
confetti,
|
|
20020
|
+
payLater: payLater$1
|
|
20010
20021
|
};
|
|
20011
20022
|
function getImages() {
|
|
20012
20023
|
return images;
|
|
20013
20024
|
}
|
|
20014
20025
|
const header$7 = "_header_319hz_1";
|
|
20015
|
-
const container$
|
|
20026
|
+
const container$l = "_container_319hz_11";
|
|
20016
20027
|
const paypayIcon = "_paypayIcon_319hz_19";
|
|
20017
|
-
const rightAlign$
|
|
20028
|
+
const rightAlign$2 = "_rightAlign_319hz_30";
|
|
20018
20029
|
const storeName = "_storeName_319hz_38";
|
|
20019
20030
|
const storeImage = "_storeImage_319hz_50";
|
|
20020
20031
|
const title$8 = "_title_319hz_56";
|
|
20021
20032
|
var styles$1 = {
|
|
20022
20033
|
header: header$7,
|
|
20023
|
-
container: container$
|
|
20034
|
+
container: container$l,
|
|
20024
20035
|
paypayIcon,
|
|
20025
|
-
rightAlign: rightAlign$
|
|
20036
|
+
rightAlign: rightAlign$2,
|
|
20026
20037
|
storeName,
|
|
20027
20038
|
storeImage,
|
|
20028
20039
|
title: title$8
|
|
20029
20040
|
};
|
|
20030
|
-
const img$
|
|
20041
|
+
const img$c = getImages();
|
|
20031
20042
|
const DesktopHeader = defineComponent({
|
|
20032
20043
|
props: {
|
|
20033
20044
|
class: {
|
|
@@ -20044,7 +20055,7 @@ const DesktopHeader = defineComponent({
|
|
|
20044
20055
|
setup(props) {
|
|
20045
20056
|
const appDtls = getAppDetail$1();
|
|
20046
20057
|
const appDetail = appDtls ? JSON.parse(appDtls) : void 0;
|
|
20047
|
-
const storeImage2 = (appDetail == null ? void 0 : appDetail.appLogo) || img$
|
|
20058
|
+
const storeImage2 = (appDetail == null ? void 0 : appDetail.appLogo) || img$c.merchant;
|
|
20048
20059
|
const storeName2 = appDetail == null ? void 0 : appDetail.appName;
|
|
20049
20060
|
return () => createVNode("div", {
|
|
20050
20061
|
"class": `${styles$1.header} ${props.class}`
|
|
@@ -20069,7 +20080,7 @@ const breakDownList = "_breakDownList_crfwr_1";
|
|
|
20069
20080
|
const breakDownEnter = "_breakDownEnter_crfwr_54";
|
|
20070
20081
|
const breakDownIcon = "_breakDownIcon_crfwr_59";
|
|
20071
20082
|
const breakDownIconReverse = "_breakDownIconReverse_crfwr_71";
|
|
20072
|
-
var style0$
|
|
20083
|
+
var style0$N = {
|
|
20073
20084
|
breakDownList,
|
|
20074
20085
|
"non-usable": "_non-usable_crfwr_17",
|
|
20075
20086
|
"breakDownList-enter-active": "_breakDownList-enter-active_crfwr_35",
|
|
@@ -20089,10 +20100,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
20089
20100
|
}
|
|
20090
20101
|
return target;
|
|
20091
20102
|
};
|
|
20092
|
-
|
|
20093
|
-
return (val2 == null ? void 0 : val2.toLocaleString()) || "-";
|
|
20094
|
-
}
|
|
20095
|
-
const _sfc_main$$ = defineComponent({
|
|
20103
|
+
const _sfc_main$11 = defineComponent({
|
|
20096
20104
|
props: {
|
|
20097
20105
|
wallet: {
|
|
20098
20106
|
type: Object,
|
|
@@ -20113,13 +20121,13 @@ const _sfc_main$$ = defineComponent({
|
|
|
20113
20121
|
cashBackExpirableBalanceInfo
|
|
20114
20122
|
} = ((_b = (_a = props == null ? void 0 : props.wallet) == null ? void 0 : _a.walletInfo) == null ? void 0 : _b.walletDetail) || {};
|
|
20115
20123
|
return {
|
|
20116
|
-
emoney:
|
|
20124
|
+
emoney: formatAmount(emoneyBalanceInfo == null ? void 0 : emoneyBalanceInfo.balance),
|
|
20117
20125
|
emoneyUsable: emoneyBalanceInfo == null ? void 0 : emoneyBalanceInfo.usable,
|
|
20118
|
-
prepaid:
|
|
20126
|
+
prepaid: formatAmount(prepaidBalanceInfo == null ? void 0 : prepaidBalanceInfo.balance),
|
|
20119
20127
|
prepaidUsable: prepaidBalanceInfo == null ? void 0 : prepaidBalanceInfo.usable,
|
|
20120
|
-
cashBack:
|
|
20128
|
+
cashBack: formatAmount(cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.balance),
|
|
20121
20129
|
cashBackUsable: cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.usable,
|
|
20122
|
-
cashBackExpirable:
|
|
20130
|
+
cashBackExpirable: formatAmount(cashBackExpirableBalanceInfo == null ? void 0 : cashBackExpirableBalanceInfo.balance),
|
|
20123
20131
|
cashBackExpirebleUsable: cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.usable
|
|
20124
20132
|
};
|
|
20125
20133
|
});
|
|
@@ -20132,7 +20140,7 @@ const _sfc_main$$ = defineComponent({
|
|
|
20132
20140
|
};
|
|
20133
20141
|
}
|
|
20134
20142
|
});
|
|
20135
|
-
function _sfc_render
|
|
20143
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20136
20144
|
return openBlock(), createElementBlock("div", null, [
|
|
20137
20145
|
_ctx.walletDetail ? (openBlock(), createElementBlock("span", {
|
|
20138
20146
|
key: 0,
|
|
@@ -20187,18 +20195,15 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20187
20195
|
}, 8, ["name"])
|
|
20188
20196
|
]);
|
|
20189
20197
|
}
|
|
20190
|
-
const cssModules$
|
|
20191
|
-
cssModules$
|
|
20192
|
-
var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
20193
|
-
const img$
|
|
20194
|
-
var style0$
|
|
20195
|
-
img: img$
|
|
20198
|
+
const cssModules$O = {};
|
|
20199
|
+
cssModules$O["$style"] = style0$N;
|
|
20200
|
+
var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__cssModules", cssModules$O]]);
|
|
20201
|
+
const img$b = "_img_373i3_1";
|
|
20202
|
+
var style0$M = {
|
|
20203
|
+
img: img$b
|
|
20196
20204
|
};
|
|
20197
20205
|
var Wallet_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
20198
|
-
|
|
20199
|
-
return (val2 == null ? void 0 : val2.toLocaleString()) || "-";
|
|
20200
|
-
}
|
|
20201
|
-
const _sfc_main$_ = defineComponent({
|
|
20206
|
+
const _sfc_main$10 = defineComponent({
|
|
20202
20207
|
components: {
|
|
20203
20208
|
WalletBreakdown
|
|
20204
20209
|
},
|
|
@@ -20215,7 +20220,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
20215
20220
|
};
|
|
20216
20221
|
const formattedBalance = computed(() => {
|
|
20217
20222
|
var _a, _b, _c;
|
|
20218
|
-
return
|
|
20223
|
+
return formatAmount((_c = (_b = (_a = props.wallet.walletInfo) == null ? void 0 : _a.walletSummary) == null ? void 0 : _b.totalBalanceInfo) == null ? void 0 : _c.balance);
|
|
20219
20224
|
});
|
|
20220
20225
|
const style = useCssModule();
|
|
20221
20226
|
const walletDetail = computed(() => {
|
|
@@ -20227,13 +20232,13 @@ const _sfc_main$_ = defineComponent({
|
|
|
20227
20232
|
cashBackExpirableBalanceInfo
|
|
20228
20233
|
} = ((_b = (_a = props == null ? void 0 : props.wallet) == null ? void 0 : _a.walletInfo) == null ? void 0 : _b.walletDetail) || {};
|
|
20229
20234
|
return {
|
|
20230
|
-
emoney:
|
|
20235
|
+
emoney: formatAmount(emoneyBalanceInfo == null ? void 0 : emoneyBalanceInfo.balance),
|
|
20231
20236
|
emoneyUsable: emoneyBalanceInfo == null ? void 0 : emoneyBalanceInfo.usable,
|
|
20232
|
-
prepaid:
|
|
20237
|
+
prepaid: formatAmount(prepaidBalanceInfo == null ? void 0 : prepaidBalanceInfo.balance),
|
|
20233
20238
|
prepaidUsable: prepaidBalanceInfo == null ? void 0 : prepaidBalanceInfo.usable,
|
|
20234
|
-
cashBack:
|
|
20239
|
+
cashBack: formatAmount(cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.balance),
|
|
20235
20240
|
cashBackUsable: cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.usable,
|
|
20236
|
-
cashBackExpirable:
|
|
20241
|
+
cashBackExpirable: formatAmount(cashBackExpirableBalanceInfo == null ? void 0 : cashBackExpirableBalanceInfo.balance),
|
|
20237
20242
|
cashBackExpirebleUsable: cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.usable
|
|
20238
20243
|
};
|
|
20239
20244
|
});
|
|
@@ -20248,20 +20253,20 @@ const _sfc_main$_ = defineComponent({
|
|
|
20248
20253
|
};
|
|
20249
20254
|
}
|
|
20250
20255
|
});
|
|
20251
|
-
const _hoisted_1$
|
|
20256
|
+
const _hoisted_1$H = { class: "payment-method--content-container" };
|
|
20252
20257
|
const _hoisted_2$q = { class: "payment-method--content-container--image-container" };
|
|
20253
|
-
const _hoisted_3$
|
|
20258
|
+
const _hoisted_3$l = ["src"];
|
|
20254
20259
|
const _hoisted_4$h = { class: "payment-method--content-container--label" };
|
|
20255
20260
|
const _hoisted_5$d = { class: "payment-method--content-container--label--main" };
|
|
20256
20261
|
const _hoisted_6$6 = { class: "payment-method--content-container--label--sub" };
|
|
20257
|
-
function _sfc_render$
|
|
20262
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20258
20263
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
20259
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20264
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
20260
20265
|
createBaseVNode("div", _hoisted_2$q, [
|
|
20261
20266
|
createBaseVNode("img", {
|
|
20262
20267
|
class: normalizeClass(_ctx.style.img),
|
|
20263
20268
|
src: _ctx.images.iconBalanceIcon
|
|
20264
|
-
}, null, 10, _hoisted_3$
|
|
20269
|
+
}, null, 10, _hoisted_3$l)
|
|
20265
20270
|
]),
|
|
20266
20271
|
createBaseVNode("div", _hoisted_4$h, [
|
|
20267
20272
|
createBaseVNode("span", _hoisted_5$d, toDisplayString(_ctx.lg.wallet.title), 1),
|
|
@@ -20270,10 +20275,10 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20270
20275
|
])
|
|
20271
20276
|
]);
|
|
20272
20277
|
}
|
|
20273
|
-
const cssModules$
|
|
20274
|
-
cssModules$
|
|
20275
|
-
var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20276
|
-
const img$
|
|
20278
|
+
const cssModules$N = {};
|
|
20279
|
+
cssModules$N["$style"] = style0$M;
|
|
20280
|
+
var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__cssModules", cssModules$N], ["__scopeId", "data-v-e0654490"]]);
|
|
20281
|
+
const img$a = "_img_p3zha_1";
|
|
20277
20282
|
const round$2 = "_round_p3zha_5";
|
|
20278
20283
|
const nonVisible$1 = "_nonVisible_p3zha_8";
|
|
20279
20284
|
const creditCardLabel = "_creditCardLabel_p3zha_11";
|
|
@@ -20286,8 +20291,8 @@ const creditCard$1 = "_creditCard_p3zha_11";
|
|
|
20286
20291
|
const maintainanceInfo$2 = "_maintainanceInfo_p3zha_39";
|
|
20287
20292
|
const paymentInfo$2 = "_paymentInfo_p3zha_45";
|
|
20288
20293
|
const fullWidth$1 = "_fullWidth_p3zha_48";
|
|
20289
|
-
var style0$
|
|
20290
|
-
img: img$
|
|
20294
|
+
var style0$L = {
|
|
20295
|
+
img: img$a,
|
|
20291
20296
|
round: round$2,
|
|
20292
20297
|
nonVisible: nonVisible$1,
|
|
20293
20298
|
creditCardLabel,
|
|
@@ -20302,14 +20307,14 @@ var style0$J = {
|
|
|
20302
20307
|
fullWidth: fullWidth$1
|
|
20303
20308
|
};
|
|
20304
20309
|
var CreditCard_vue_vue_type_style_index_1_scoped_true_lang$1 = "";
|
|
20305
|
-
const img$
|
|
20310
|
+
const img$9 = getImages();
|
|
20306
20311
|
const creditCardMap$1 = {
|
|
20307
|
-
[CreditTypes.JCB]: img$
|
|
20308
|
-
[CreditTypes.VISA]: img$
|
|
20309
|
-
[CreditTypes.MASTER]: img$
|
|
20310
|
-
[CreditTypes.AMEX]: img$
|
|
20312
|
+
[CreditTypes.JCB]: img$9.jcb,
|
|
20313
|
+
[CreditTypes.VISA]: img$9.visa,
|
|
20314
|
+
[CreditTypes.MASTER]: img$9.master,
|
|
20315
|
+
[CreditTypes.AMEX]: img$9.amex
|
|
20311
20316
|
};
|
|
20312
|
-
const _sfc_main
|
|
20317
|
+
const _sfc_main$$ = defineComponent({
|
|
20313
20318
|
components: {
|
|
20314
20319
|
Button
|
|
20315
20320
|
},
|
|
@@ -20348,14 +20353,14 @@ const _sfc_main$Z = defineComponent({
|
|
|
20348
20353
|
if (authenticated2)
|
|
20349
20354
|
return {
|
|
20350
20355
|
authenticated: true,
|
|
20351
|
-
img: img$
|
|
20356
|
+
img: img$9.checkGreen,
|
|
20352
20357
|
text: getLanguage().paymentMethod.checkGreen,
|
|
20353
20358
|
imgStyle: style.authorizedImg,
|
|
20354
20359
|
style: style.authorized
|
|
20355
20360
|
};
|
|
20356
20361
|
return {
|
|
20357
20362
|
authenticated: false,
|
|
20358
|
-
img: img$
|
|
20363
|
+
img: img$9.iconAlert,
|
|
20359
20364
|
text: getLanguage().paymentMethod.authenticated,
|
|
20360
20365
|
style: style.unAuthorized,
|
|
20361
20366
|
imgStyle: style.unAuthorizedImg
|
|
@@ -20366,13 +20371,13 @@ const _sfc_main$Z = defineComponent({
|
|
|
20366
20371
|
if (isPPCard.value) {
|
|
20367
20372
|
return {
|
|
20368
20373
|
title: getLanguage().paymentMethod.ppCardTitle,
|
|
20369
|
-
logo: img$
|
|
20374
|
+
logo: img$9.ppCard,
|
|
20370
20375
|
style: props.round ? style.round : ""
|
|
20371
20376
|
};
|
|
20372
20377
|
} else if (isYjCard.value) {
|
|
20373
20378
|
return {
|
|
20374
20379
|
title: getLanguage().paymentMethod.yjTitle,
|
|
20375
|
-
logo: img$
|
|
20380
|
+
logo: img$9.yahoo,
|
|
20376
20381
|
style: props.round ? style.round : ""
|
|
20377
20382
|
};
|
|
20378
20383
|
}
|
|
@@ -20410,12 +20415,12 @@ const _sfc_main$Z = defineComponent({
|
|
|
20410
20415
|
};
|
|
20411
20416
|
}
|
|
20412
20417
|
});
|
|
20413
|
-
const _hoisted_1$
|
|
20418
|
+
const _hoisted_1$G = ["src"];
|
|
20414
20419
|
const _hoisted_2$p = { class: "payment-method--content-container--label--main" };
|
|
20415
|
-
const _hoisted_3$
|
|
20420
|
+
const _hoisted_3$k = { class: "payment-method--content-container--label--sub" };
|
|
20416
20421
|
const _hoisted_4$g = ["src"];
|
|
20417
20422
|
const _hoisted_5$c = { class: "right-align" };
|
|
20418
|
-
function _sfc_render
|
|
20423
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20419
20424
|
const _component_Button = resolveComponent("Button");
|
|
20420
20425
|
return openBlock(), createElementBlock("div", {
|
|
20421
20426
|
class: normalizeClass(["payment-method--content-container", _ctx.getClass])
|
|
@@ -20427,7 +20432,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20427
20432
|
createBaseVNode("img", {
|
|
20428
20433
|
src: _ctx.cardInfo.logo,
|
|
20429
20434
|
class: normalizeClass([_ctx.style.img, _ctx.cardInfo.style])
|
|
20430
|
-
}, null, 10, _hoisted_1$
|
|
20435
|
+
}, null, 10, _hoisted_1$G)
|
|
20431
20436
|
], 2)
|
|
20432
20437
|
]),
|
|
20433
20438
|
createBaseVNode("div", {
|
|
@@ -20440,7 +20445,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20440
20445
|
class: normalizeClass(["payment-method--content-container--label", _ctx.style.creditCardLabel])
|
|
20441
20446
|
}, [
|
|
20442
20447
|
createBaseVNode("span", _hoisted_2$p, toDisplayString(_ctx.cardInfo.title), 1),
|
|
20443
|
-
createBaseVNode("span", _hoisted_3$
|
|
20448
|
+
createBaseVNode("span", _hoisted_3$k, " **** " + toDisplayString(_ctx.last4digits), 1),
|
|
20444
20449
|
createBaseVNode("div", {
|
|
20445
20450
|
class: normalizeClass([_ctx.style.authenticateStatusContainer, _ctx.authInfo.style])
|
|
20446
20451
|
}, [
|
|
@@ -20473,17 +20478,17 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20473
20478
|
], 2)
|
|
20474
20479
|
], 2);
|
|
20475
20480
|
}
|
|
20476
|
-
const cssModules$
|
|
20477
|
-
cssModules$
|
|
20478
|
-
var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
20479
|
-
const img$
|
|
20481
|
+
const cssModules$M = {};
|
|
20482
|
+
cssModules$M["$style"] = style0$L;
|
|
20483
|
+
var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__cssModules", cssModules$M], ["__scopeId", "data-v-4589c43a"]]);
|
|
20484
|
+
const img$8 = "_img_11k9z_1";
|
|
20480
20485
|
const round$1 = "_round_11k9z_5";
|
|
20481
20486
|
const branchNumber = "_branchNumber_11k9z_8";
|
|
20482
20487
|
const maintainanceInfo$1 = "_maintainanceInfo_11k9z_14";
|
|
20483
20488
|
const paymentInfo$1 = "_paymentInfo_11k9z_20";
|
|
20484
20489
|
const fullWidth = "_fullWidth_11k9z_23";
|
|
20485
|
-
var style0$
|
|
20486
|
-
img: img$
|
|
20490
|
+
var style0$K = {
|
|
20491
|
+
img: img$8,
|
|
20487
20492
|
round: round$1,
|
|
20488
20493
|
branchNumber,
|
|
20489
20494
|
maintainanceInfo: maintainanceInfo$1,
|
|
@@ -20500,7 +20505,7 @@ const getTypeText$1 = (val2) => {
|
|
|
20500
20505
|
return "";
|
|
20501
20506
|
}
|
|
20502
20507
|
};
|
|
20503
|
-
const _sfc_main$
|
|
20508
|
+
const _sfc_main$_ = defineComponent({
|
|
20504
20509
|
components: {
|
|
20505
20510
|
Button
|
|
20506
20511
|
},
|
|
@@ -20556,15 +20561,15 @@ const _sfc_main$Y = defineComponent({
|
|
|
20556
20561
|
};
|
|
20557
20562
|
}
|
|
20558
20563
|
});
|
|
20559
|
-
const _hoisted_1$
|
|
20564
|
+
const _hoisted_1$F = ["src"];
|
|
20560
20565
|
const _hoisted_2$o = { class: "payment-method--content-container--label" };
|
|
20561
|
-
const _hoisted_3$
|
|
20566
|
+
const _hoisted_3$j = { class: "payment-method--content-container--label--main" };
|
|
20562
20567
|
const _hoisted_4$f = {
|
|
20563
20568
|
key: 0,
|
|
20564
20569
|
class: "payment-method--content-container--label--sub"
|
|
20565
20570
|
};
|
|
20566
20571
|
const _hoisted_5$b = { class: "right-align" };
|
|
20567
|
-
function _sfc_render$
|
|
20572
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20568
20573
|
const _component_Button = resolveComponent("Button");
|
|
20569
20574
|
return openBlock(), createElementBlock("div", {
|
|
20570
20575
|
class: normalizeClass(["payment-method--content-container", _ctx.getClass])
|
|
@@ -20576,7 +20581,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20576
20581
|
createBaseVNode("img", {
|
|
20577
20582
|
class: normalizeClass([_ctx.style.img, { [_ctx.style.round]: _ctx.round }]),
|
|
20578
20583
|
src: _ctx.bankInfo.logo
|
|
20579
|
-
}, null, 10, _hoisted_1$
|
|
20584
|
+
}, null, 10, _hoisted_1$F)
|
|
20580
20585
|
], 2)
|
|
20581
20586
|
]),
|
|
20582
20587
|
createBaseVNode("div", {
|
|
@@ -20586,7 +20591,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20586
20591
|
class: normalizeClass(_ctx.style.paymentInfo)
|
|
20587
20592
|
}, [
|
|
20588
20593
|
createBaseVNode("div", _hoisted_2$o, [
|
|
20589
|
-
createBaseVNode("div", _hoisted_3$
|
|
20594
|
+
createBaseVNode("div", _hoisted_3$j, toDisplayString(_ctx.bankInfo.name), 1),
|
|
20590
20595
|
!!_ctx.bankInfo.branchName ? (openBlock(), createElementBlock("div", _hoisted_4$f, toDisplayString(_ctx.bankInfo.branchName), 1)) : createCommentVNode("", true),
|
|
20591
20596
|
createBaseVNode("div", null, [
|
|
20592
20597
|
createBaseVNode("span", {
|
|
@@ -20616,12 +20621,12 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20616
20621
|
], 2)
|
|
20617
20622
|
], 2);
|
|
20618
20623
|
}
|
|
20619
|
-
const cssModules$
|
|
20620
|
-
cssModules$
|
|
20621
|
-
var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20622
|
-
const container$
|
|
20624
|
+
const cssModules$L = {};
|
|
20625
|
+
cssModules$L["$style"] = style0$K;
|
|
20626
|
+
var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__cssModules", cssModules$L]]);
|
|
20627
|
+
const container$k = "_container_82o6p_1";
|
|
20623
20628
|
const imageContainer$1 = "_imageContainer_82o6p_7";
|
|
20624
|
-
const img$
|
|
20629
|
+
const img$7 = "_img_82o6p_11";
|
|
20625
20630
|
const content$9 = "_content_82o6p_15";
|
|
20626
20631
|
const paymentInfo = "_paymentInfo_82o6p_19";
|
|
20627
20632
|
const paymentDesc = "_paymentDesc_82o6p_23";
|
|
@@ -20630,11 +20635,11 @@ const subDesc = "_subDesc_82o6p_34";
|
|
|
20630
20635
|
const disable = "_disable_82o6p_40";
|
|
20631
20636
|
const centerAlign = "_centerAlign_82o6p_46";
|
|
20632
20637
|
const maintainanceInfo = "_maintainanceInfo_82o6p_49";
|
|
20633
|
-
const invalid = "_invalid_82o6p_55";
|
|
20634
|
-
var style0$
|
|
20635
|
-
container: container$
|
|
20638
|
+
const invalid$1 = "_invalid_82o6p_55";
|
|
20639
|
+
var style0$J = {
|
|
20640
|
+
container: container$k,
|
|
20636
20641
|
imageContainer: imageContainer$1,
|
|
20637
|
-
img: img$
|
|
20642
|
+
img: img$7,
|
|
20638
20643
|
content: content$9,
|
|
20639
20644
|
paymentInfo,
|
|
20640
20645
|
paymentDesc,
|
|
@@ -20643,9 +20648,9 @@ var style0$H = {
|
|
|
20643
20648
|
disable,
|
|
20644
20649
|
centerAlign,
|
|
20645
20650
|
maintainanceInfo,
|
|
20646
|
-
invalid
|
|
20651
|
+
invalid: invalid$1
|
|
20647
20652
|
};
|
|
20648
|
-
const _sfc_main$
|
|
20653
|
+
const _sfc_main$Z = defineComponent({
|
|
20649
20654
|
components: {
|
|
20650
20655
|
Button
|
|
20651
20656
|
},
|
|
@@ -20678,8 +20683,8 @@ const _sfc_main$X = defineComponent({
|
|
|
20678
20683
|
};
|
|
20679
20684
|
}
|
|
20680
20685
|
});
|
|
20681
|
-
const _hoisted_1$
|
|
20682
|
-
function _sfc_render$
|
|
20686
|
+
const _hoisted_1$E = ["src"];
|
|
20687
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20683
20688
|
const _component_Button = resolveComponent("Button");
|
|
20684
20689
|
return openBlock(), createElementBlock("div", {
|
|
20685
20690
|
class: normalizeClass([_ctx.style.container, _ctx.getClass, _ctx.isDisable ? _ctx.style.centerAlign : ""])
|
|
@@ -20690,7 +20695,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20690
20695
|
createBaseVNode("img", {
|
|
20691
20696
|
class: normalizeClass(_ctx.style.img),
|
|
20692
20697
|
src: _ctx.images.softbank
|
|
20693
|
-
}, null, 10, _hoisted_1$
|
|
20698
|
+
}, null, 10, _hoisted_1$E)
|
|
20694
20699
|
], 2),
|
|
20695
20700
|
createBaseVNode("div", {
|
|
20696
20701
|
class: normalizeClass(_ctx.style.content)
|
|
@@ -20734,9 +20739,104 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20734
20739
|
], 2)
|
|
20735
20740
|
], 2);
|
|
20736
20741
|
}
|
|
20737
|
-
const cssModules$
|
|
20738
|
-
cssModules$
|
|
20739
|
-
var Sbid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20742
|
+
const cssModules$K = {};
|
|
20743
|
+
cssModules$K["$style"] = style0$J;
|
|
20744
|
+
var Sbid = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__cssModules", cssModules$K]]);
|
|
20745
|
+
const img$6 = "_img_m6p0b_1";
|
|
20746
|
+
const container$j = "_container_m6p0b_5";
|
|
20747
|
+
const imgContainer$2 = "_imgContainer_m6p0b_10";
|
|
20748
|
+
const labelContainer = "_labelContainer_m6p0b_20";
|
|
20749
|
+
const mainLabel = "_mainLabel_m6p0b_27";
|
|
20750
|
+
const subLabel = "_subLabel_m6p0b_34";
|
|
20751
|
+
const disabled$2 = "_disabled_m6p0b_40";
|
|
20752
|
+
const rightAlign$1 = "_rightAlign_m6p0b_46";
|
|
20753
|
+
const invalid = "_invalid_m6p0b_50";
|
|
20754
|
+
var style0$I = {
|
|
20755
|
+
img: img$6,
|
|
20756
|
+
container: container$j,
|
|
20757
|
+
imgContainer: imgContainer$2,
|
|
20758
|
+
labelContainer,
|
|
20759
|
+
mainLabel,
|
|
20760
|
+
subLabel,
|
|
20761
|
+
disabled: disabled$2,
|
|
20762
|
+
rightAlign: rightAlign$1,
|
|
20763
|
+
invalid
|
|
20764
|
+
};
|
|
20765
|
+
const _sfc_main$Y = defineComponent({
|
|
20766
|
+
components: {
|
|
20767
|
+
Button
|
|
20768
|
+
},
|
|
20769
|
+
props: {
|
|
20770
|
+
payLater: {
|
|
20771
|
+
type: Object,
|
|
20772
|
+
required: true
|
|
20773
|
+
}
|
|
20774
|
+
},
|
|
20775
|
+
setup(props) {
|
|
20776
|
+
var _a, _b;
|
|
20777
|
+
return {
|
|
20778
|
+
formattedBalance: computed(() => {
|
|
20779
|
+
var _a2, _b2;
|
|
20780
|
+
return formatAmount((_b2 = (_a2 = props.payLater) == null ? void 0 : _a2.payLaterCcInfo) == null ? void 0 : _b2.availableAmount);
|
|
20781
|
+
}),
|
|
20782
|
+
isDisable: ((_b = (_a = props == null ? void 0 : props.payLater) == null ? void 0 : _a.payLaterCcInfo) == null ? void 0 : _b.paymentMethodStatus) !== PaymentMethodStatus.ACTIVATED,
|
|
20783
|
+
images: getImages(),
|
|
20784
|
+
lg: getLanguage(),
|
|
20785
|
+
paymentMethodStatusText: computed(() => {
|
|
20786
|
+
var _a2, _b2;
|
|
20787
|
+
return getPaymentMethodStatus(false, (_b2 = (_a2 = props == null ? void 0 : props.payLater) == null ? void 0 : _a2.payLaterCcInfo) == null ? void 0 : _b2.paymentMethodStatus);
|
|
20788
|
+
})
|
|
20789
|
+
};
|
|
20790
|
+
}
|
|
20791
|
+
});
|
|
20792
|
+
const _hoisted_1$D = ["src"];
|
|
20793
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20794
|
+
const _component_Button = resolveComponent("Button");
|
|
20795
|
+
return openBlock(), createElementBlock("div", {
|
|
20796
|
+
class: normalizeClass({
|
|
20797
|
+
[_ctx.$style.disabled]: _ctx.isDisable,
|
|
20798
|
+
[_ctx.$style.container]: true
|
|
20799
|
+
})
|
|
20800
|
+
}, [
|
|
20801
|
+
createBaseVNode("div", {
|
|
20802
|
+
class: normalizeClass(_ctx.$style.imgContainer)
|
|
20803
|
+
}, [
|
|
20804
|
+
createBaseVNode("img", {
|
|
20805
|
+
class: normalizeClass(_ctx.$style.img),
|
|
20806
|
+
src: _ctx.images.payLater
|
|
20807
|
+
}, null, 10, _hoisted_1$D)
|
|
20808
|
+
], 2),
|
|
20809
|
+
createBaseVNode("div", {
|
|
20810
|
+
class: normalizeClass(_ctx.$style.labelContainer)
|
|
20811
|
+
}, [
|
|
20812
|
+
createBaseVNode("span", {
|
|
20813
|
+
class: normalizeClass(_ctx.$style.mainLabel)
|
|
20814
|
+
}, toDisplayString(_ctx.lg.payLater.title), 3),
|
|
20815
|
+
createBaseVNode("span", {
|
|
20816
|
+
class: normalizeClass(_ctx.$style.subLabel)
|
|
20817
|
+
}, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
|
|
20818
|
+
], 2),
|
|
20819
|
+
createBaseVNode("span", {
|
|
20820
|
+
class: normalizeClass(_ctx.$style.rightAlign)
|
|
20821
|
+
}, [
|
|
20822
|
+
_ctx.isDisable ? (openBlock(), createBlock(_component_Button, {
|
|
20823
|
+
key: 0,
|
|
20824
|
+
disabled: true,
|
|
20825
|
+
class: normalizeClass(_ctx.$style.invalid),
|
|
20826
|
+
size: "small",
|
|
20827
|
+
type: "default"
|
|
20828
|
+
}, {
|
|
20829
|
+
default: withCtx(() => [
|
|
20830
|
+
createTextVNode(toDisplayString(_ctx.paymentMethodStatusText), 1)
|
|
20831
|
+
]),
|
|
20832
|
+
_: 1
|
|
20833
|
+
}, 8, ["class"])) : createCommentVNode("", true)
|
|
20834
|
+
], 2)
|
|
20835
|
+
], 2);
|
|
20836
|
+
}
|
|
20837
|
+
const cssModules$J = {};
|
|
20838
|
+
cssModules$J["$style"] = style0$I;
|
|
20839
|
+
var PayLaterCC = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__cssModules", cssModules$J]]);
|
|
20740
20840
|
const PaymentMethod = defineComponent({
|
|
20741
20841
|
props: {
|
|
20742
20842
|
paymentMethod: {
|
|
@@ -20747,7 +20847,7 @@ const PaymentMethod = defineComponent({
|
|
|
20747
20847
|
}
|
|
20748
20848
|
},
|
|
20749
20849
|
render() {
|
|
20750
|
-
var _a, _b, _c, _d, _e;
|
|
20850
|
+
var _a, _b, _c, _d, _e, _f;
|
|
20751
20851
|
if (((_a = this.paymentMethod) == null ? void 0 : _a.paymentMethodType) === PaymentMethodType.WALLET) {
|
|
20752
20852
|
return createVNode(Wallet, {
|
|
20753
20853
|
"wallet": this.paymentMethod
|
|
@@ -20769,6 +20869,11 @@ const PaymentMethod = defineComponent({
|
|
|
20769
20869
|
"sbid": this.paymentMethod
|
|
20770
20870
|
}, null);
|
|
20771
20871
|
}
|
|
20872
|
+
if (((_f = this.paymentMethod) == null ? void 0 : _f.paymentMethodType) === PaymentMethodType.PAY_LATER_CC) {
|
|
20873
|
+
return createVNode(PayLaterCC, {
|
|
20874
|
+
"payLater": this.paymentMethod
|
|
20875
|
+
}, null);
|
|
20876
|
+
}
|
|
20772
20877
|
return null;
|
|
20773
20878
|
}
|
|
20774
20879
|
});
|
|
@@ -20832,10 +20937,7 @@ function useBreakpoints() {
|
|
|
20832
20937
|
};
|
|
20833
20938
|
}
|
|
20834
20939
|
var Wallet_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20835
|
-
|
|
20836
|
-
return (val2 == null ? void 0 : val2.toLocaleString()) || "-";
|
|
20837
|
-
}
|
|
20838
|
-
const _sfc_main$W = defineComponent({
|
|
20940
|
+
const _sfc_main$X = defineComponent({
|
|
20839
20941
|
components: {
|
|
20840
20942
|
WalletBreakdown
|
|
20841
20943
|
},
|
|
@@ -20848,7 +20950,7 @@ const _sfc_main$W = defineComponent({
|
|
|
20848
20950
|
setup(props) {
|
|
20849
20951
|
const formattedBalance = computed(() => {
|
|
20850
20952
|
var _a, _b, _c, _d;
|
|
20851
|
-
return
|
|
20953
|
+
return formatAmount((_d = (_c = (_b = (_a = props == null ? void 0 : props.wallet) == null ? void 0 : _a.walletInfo) == null ? void 0 : _b.walletSummary) == null ? void 0 : _c.totalBalanceInfo) == null ? void 0 : _d.balance);
|
|
20852
20954
|
});
|
|
20853
20955
|
const { isDesktop } = useBreakpoints();
|
|
20854
20956
|
return {
|
|
@@ -20859,17 +20961,17 @@ const _sfc_main$W = defineComponent({
|
|
|
20859
20961
|
};
|
|
20860
20962
|
}
|
|
20861
20963
|
});
|
|
20862
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
20863
|
-
const _hoisted_1$
|
|
20964
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-1405076b"), n = n(), popScopeId(), n);
|
|
20965
|
+
const _hoisted_1$C = { class: "ppmna-payment-type--container bank-method--right-align" };
|
|
20864
20966
|
const _hoisted_2$n = ["src"];
|
|
20865
|
-
const _hoisted_3$
|
|
20967
|
+
const _hoisted_3$i = { class: "ppmna-payment-type--container--main" };
|
|
20866
20968
|
const _hoisted_4$e = { class: "ppmna-payment-type--container--sub" };
|
|
20867
20969
|
const _hoisted_5$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createBaseVNode("div", { class: "payment-type--arrow-right-container" }, [
|
|
20868
20970
|
/* @__PURE__ */ createBaseVNode("i", { class: "ppmna-payment-type--arrow-right" })
|
|
20869
20971
|
], -1));
|
|
20870
|
-
function _sfc_render$
|
|
20972
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20871
20973
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
20872
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20974
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
20873
20975
|
createBaseVNode("div", null, [
|
|
20874
20976
|
createBaseVNode("img", {
|
|
20875
20977
|
src: _ctx.images.iconBalanceIcon,
|
|
@@ -20877,7 +20979,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20877
20979
|
}, null, 8, _hoisted_2$n)
|
|
20878
20980
|
]),
|
|
20879
20981
|
createBaseVNode("div", null, [
|
|
20880
|
-
createBaseVNode("div", _hoisted_3$
|
|
20982
|
+
createBaseVNode("div", _hoisted_3$i, toDisplayString(_ctx.lg.wallet.title), 1),
|
|
20881
20983
|
createBaseVNode("div", _hoisted_4$e, toDisplayString(_ctx.lg.wallet.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 1),
|
|
20882
20984
|
_ctx.isDesktop ? (openBlock(), createBlock(_component_WalletBreakdown, {
|
|
20883
20985
|
key: 0,
|
|
@@ -20887,12 +20989,12 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20887
20989
|
_hoisted_5$a
|
|
20888
20990
|
]);
|
|
20889
20991
|
}
|
|
20890
|
-
var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20992
|
+
var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-1405076b"]]);
|
|
20891
20993
|
const main = "_main_1rgsx_1";
|
|
20892
20994
|
const auth = "_auth_1rgsx_6";
|
|
20893
20995
|
const authImage = "_authImage_1rgsx_11";
|
|
20894
20996
|
const authText = "_authText_1rgsx_14";
|
|
20895
|
-
const imgContainer = "_imgContainer_1rgsx_18";
|
|
20997
|
+
const imgContainer$1 = "_imgContainer_1rgsx_18";
|
|
20896
20998
|
const img$5 = "_img_1rgsx_18";
|
|
20897
20999
|
const content$8 = "_content_1rgsx_25";
|
|
20898
21000
|
const authenticated = "_authenticated_1rgsx_30";
|
|
@@ -20900,12 +21002,12 @@ const notAuthenticated = "_notAuthenticated_1rgsx_33";
|
|
|
20900
21002
|
const authorizedImg = "_authorizedImg_1rgsx_36";
|
|
20901
21003
|
const unAuthorizedImg = "_unAuthorizedImg_1rgsx_40";
|
|
20902
21004
|
const creditCard = "_creditCard_1rgsx_43";
|
|
20903
|
-
var style0$
|
|
21005
|
+
var style0$H = {
|
|
20904
21006
|
main,
|
|
20905
21007
|
auth,
|
|
20906
21008
|
authImage,
|
|
20907
21009
|
authText,
|
|
20908
|
-
imgContainer,
|
|
21010
|
+
imgContainer: imgContainer$1,
|
|
20909
21011
|
img: img$5,
|
|
20910
21012
|
content: content$8,
|
|
20911
21013
|
authenticated,
|
|
@@ -20923,7 +21025,7 @@ const creditCardMap = {
|
|
|
20923
21025
|
[CreditTypes.AMEX]: img$4.amex,
|
|
20924
21026
|
yj: img$4.yahoo
|
|
20925
21027
|
};
|
|
20926
|
-
const _sfc_main$
|
|
21028
|
+
const _sfc_main$W = defineComponent({
|
|
20927
21029
|
props: {
|
|
20928
21030
|
credit: {
|
|
20929
21031
|
type: Object,
|
|
@@ -20989,15 +21091,15 @@ const _sfc_main$V = defineComponent({
|
|
|
20989
21091
|
}
|
|
20990
21092
|
});
|
|
20991
21093
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-609b4d94"), n = n(), popScopeId(), n);
|
|
20992
|
-
const _hoisted_1$
|
|
21094
|
+
const _hoisted_1$B = { class: "ppmna-payment-type--container" };
|
|
20993
21095
|
const _hoisted_2$m = ["src"];
|
|
20994
|
-
const _hoisted_3$
|
|
21096
|
+
const _hoisted_3$h = { class: "ppmna-payment-type--container--sub" };
|
|
20995
21097
|
const _hoisted_4$d = ["src"];
|
|
20996
21098
|
const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createBaseVNode("div", { class: "payment-type--arrow-right-container" }, [
|
|
20997
21099
|
/* @__PURE__ */ createBaseVNode("i", { class: "ppmna-payment-type--arrow-right" })
|
|
20998
21100
|
], -1));
|
|
20999
|
-
function _sfc_render$
|
|
21000
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21101
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21102
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
21001
21103
|
createBaseVNode("div", {
|
|
21002
21104
|
class: normalizeClass(["ppmna-payment-type--container--img-container", _ctx.style.imgContainer])
|
|
21003
21105
|
}, [
|
|
@@ -21013,7 +21115,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21013
21115
|
createBaseVNode("div", {
|
|
21014
21116
|
class: normalizeClass(_ctx.style.main)
|
|
21015
21117
|
}, toDisplayString(_ctx.creditInfo.label), 3),
|
|
21016
|
-
createBaseVNode("div", _hoisted_3$
|
|
21118
|
+
createBaseVNode("div", _hoisted_3$h, " **** " + toDisplayString(_ctx.last4digits), 1),
|
|
21017
21119
|
createBaseVNode("span", {
|
|
21018
21120
|
class: normalizeClass([_ctx.style.auth, _ctx.authInfo.style])
|
|
21019
21121
|
}, [
|
|
@@ -21029,16 +21131,16 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21029
21131
|
_hoisted_5$9
|
|
21030
21132
|
]);
|
|
21031
21133
|
}
|
|
21032
|
-
const cssModules$
|
|
21033
|
-
cssModules$
|
|
21034
|
-
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21134
|
+
const cssModules$I = {};
|
|
21135
|
+
cssModules$I["$style"] = style0$H;
|
|
21136
|
+
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__cssModules", cssModules$I], ["__scopeId", "data-v-609b4d94"]]);
|
|
21035
21137
|
const img$3 = "_img_1c6xt_1";
|
|
21036
21138
|
const branchCode = "_branchCode_1c6xt_5";
|
|
21037
21139
|
const content$7 = "_content_1c6xt_8";
|
|
21038
21140
|
const roundContainer = "_roundContainer_1c6xt_12";
|
|
21039
21141
|
const round = "_round_1c6xt_12";
|
|
21040
21142
|
const bankName = "_bankName_1c6xt_18";
|
|
21041
|
-
var style0$
|
|
21143
|
+
var style0$G = {
|
|
21042
21144
|
img: img$3,
|
|
21043
21145
|
branchCode,
|
|
21044
21146
|
content: content$7,
|
|
@@ -21056,7 +21158,7 @@ const getTypeText = (val2) => {
|
|
|
21056
21158
|
return "";
|
|
21057
21159
|
}
|
|
21058
21160
|
};
|
|
21059
|
-
const _sfc_main$
|
|
21161
|
+
const _sfc_main$V = defineComponent({
|
|
21060
21162
|
props: {
|
|
21061
21163
|
bank: {
|
|
21062
21164
|
type: Object,
|
|
@@ -21096,14 +21198,14 @@ const _sfc_main$U = defineComponent({
|
|
|
21096
21198
|
}
|
|
21097
21199
|
});
|
|
21098
21200
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-5068d8d6"), n = n(), popScopeId(), n);
|
|
21099
|
-
const _hoisted_1$
|
|
21201
|
+
const _hoisted_1$A = { class: "ppmna-payment-type--container" };
|
|
21100
21202
|
const _hoisted_2$l = ["src"];
|
|
21101
|
-
const _hoisted_3$
|
|
21203
|
+
const _hoisted_3$g = { class: "ppmna-payment-type--container--sub" };
|
|
21102
21204
|
const _hoisted_4$c = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createBaseVNode("span", { class: "payment-type--arrow-right-container" }, [
|
|
21103
21205
|
/* @__PURE__ */ createBaseVNode("i", { class: "ppmna-payment-type--arrow-right" })
|
|
21104
21206
|
], -1));
|
|
21105
|
-
function _sfc_render$
|
|
21106
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21207
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21208
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
21107
21209
|
createBaseVNode("div", {
|
|
21108
21210
|
class: normalizeClass(["ppmna-payment-type--container--img-container", {
|
|
21109
21211
|
"round-style-payment-type": _ctx.round,
|
|
@@ -21121,7 +21223,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21121
21223
|
createBaseVNode("div", {
|
|
21122
21224
|
class: normalizeClass(_ctx.style.bankName)
|
|
21123
21225
|
}, toDisplayString(_ctx.bankInfo.name), 3),
|
|
21124
|
-
createBaseVNode("div", _hoisted_3$
|
|
21226
|
+
createBaseVNode("div", _hoisted_3$g, toDisplayString(_ctx.bankInfo.branchName), 1),
|
|
21125
21227
|
createBaseVNode("div", {
|
|
21126
21228
|
class: normalizeClass(_ctx.style.branchCode)
|
|
21127
21229
|
}, toDisplayString(`${_ctx.bankInfo.branchCode} *****${_ctx.bankInfo.digits}`), 3)
|
|
@@ -21129,17 +21231,17 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21129
21231
|
_hoisted_4$c
|
|
21130
21232
|
]);
|
|
21131
21233
|
}
|
|
21132
|
-
const cssModules$
|
|
21133
|
-
cssModules$
|
|
21134
|
-
var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21135
|
-
const container$
|
|
21234
|
+
const cssModules$H = {};
|
|
21235
|
+
cssModules$H["$style"] = style0$G;
|
|
21236
|
+
var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__cssModules", cssModules$H], ["__scopeId", "data-v-5068d8d6"]]);
|
|
21237
|
+
const container$i = "_container_18bci_1";
|
|
21136
21238
|
const imageContainer = "_imageContainer_18bci_14";
|
|
21137
21239
|
const img$2 = "_img_18bci_18";
|
|
21138
21240
|
const content$6 = "_content_18bci_22";
|
|
21139
21241
|
const desc1 = "_desc1_18bci_26";
|
|
21140
21242
|
const desc2 = "_desc2_18bci_30";
|
|
21141
|
-
var style0$
|
|
21142
|
-
container: container$
|
|
21243
|
+
var style0$F = {
|
|
21244
|
+
container: container$i,
|
|
21143
21245
|
imageContainer,
|
|
21144
21246
|
img: img$2,
|
|
21145
21247
|
content: content$6,
|
|
@@ -21147,7 +21249,7 @@ var style0$E = {
|
|
|
21147
21249
|
desc2
|
|
21148
21250
|
};
|
|
21149
21251
|
var Sbid_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
21150
|
-
const _sfc_main$
|
|
21252
|
+
const _sfc_main$U = defineComponent({
|
|
21151
21253
|
props: {
|
|
21152
21254
|
sbid: {
|
|
21153
21255
|
type: Object,
|
|
@@ -21170,11 +21272,11 @@ const _sfc_main$T = defineComponent({
|
|
|
21170
21272
|
}
|
|
21171
21273
|
});
|
|
21172
21274
|
const _withScopeId = (n) => (pushScopeId("data-v-19a611be"), n = n(), popScopeId(), n);
|
|
21173
|
-
const _hoisted_1$
|
|
21275
|
+
const _hoisted_1$z = ["src"];
|
|
21174
21276
|
const _hoisted_2$k = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("span", { class: "payment-type--arrow-right-container" }, [
|
|
21175
21277
|
/* @__PURE__ */ createBaseVNode("i", { class: "ppmna-payment-type--arrow-right" })
|
|
21176
21278
|
], -1));
|
|
21177
|
-
function _sfc_render$
|
|
21279
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21178
21280
|
return openBlock(), createElementBlock("div", {
|
|
21179
21281
|
class: normalizeClass(_ctx.$style.container)
|
|
21180
21282
|
}, [
|
|
@@ -21184,7 +21286,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21184
21286
|
createBaseVNode("img", {
|
|
21185
21287
|
class: normalizeClass(_ctx.$style.img),
|
|
21186
21288
|
src: _ctx.images.softbank
|
|
21187
|
-
}, null, 10, _hoisted_1$
|
|
21289
|
+
}, null, 10, _hoisted_1$z)
|
|
21188
21290
|
], 2),
|
|
21189
21291
|
createBaseVNode("span", {
|
|
21190
21292
|
class: normalizeClass(_ctx.$style.content)
|
|
@@ -21199,9 +21301,72 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21199
21301
|
_hoisted_2$k
|
|
21200
21302
|
], 2);
|
|
21201
21303
|
}
|
|
21304
|
+
const cssModules$G = {};
|
|
21305
|
+
cssModules$G["$style"] = style0$F;
|
|
21306
|
+
var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__cssModules", cssModules$G], ["__scopeId", "data-v-19a611be"]]);
|
|
21307
|
+
const container$h = "_container_1ebh4_1";
|
|
21308
|
+
const imgContainer = "_imgContainer_1ebh4_17";
|
|
21309
|
+
const mainContainer = "_mainContainer_1ebh4_25";
|
|
21310
|
+
const subContainer$1 = "_subContainer_1ebh4_31";
|
|
21311
|
+
const arrowContainer$2 = "_arrowContainer_1ebh4_35";
|
|
21312
|
+
const arrow$3 = "_arrow_1ebh4_35";
|
|
21313
|
+
var style0$E = {
|
|
21314
|
+
container: container$h,
|
|
21315
|
+
imgContainer,
|
|
21316
|
+
mainContainer,
|
|
21317
|
+
subContainer: subContainer$1,
|
|
21318
|
+
arrowContainer: arrowContainer$2,
|
|
21319
|
+
arrow: arrow$3
|
|
21320
|
+
};
|
|
21321
|
+
const _sfc_main$T = defineComponent({
|
|
21322
|
+
props: {
|
|
21323
|
+
payLater: {
|
|
21324
|
+
type: Object,
|
|
21325
|
+
required: true
|
|
21326
|
+
}
|
|
21327
|
+
},
|
|
21328
|
+
setup(props) {
|
|
21329
|
+
return {
|
|
21330
|
+
formattedBalance: computed(() => {
|
|
21331
|
+
var _a, _b;
|
|
21332
|
+
return formatAmount((_b = (_a = props == null ? void 0 : props.payLater) == null ? void 0 : _a.payLaterCcInfo) == null ? void 0 : _b.availableAmount);
|
|
21333
|
+
}),
|
|
21334
|
+
images: getImages(),
|
|
21335
|
+
lg: getLanguage()
|
|
21336
|
+
};
|
|
21337
|
+
}
|
|
21338
|
+
});
|
|
21339
|
+
const _hoisted_1$y = ["src"];
|
|
21340
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21341
|
+
return openBlock(), createElementBlock("div", {
|
|
21342
|
+
class: normalizeClass(_ctx.$style.container)
|
|
21343
|
+
}, [
|
|
21344
|
+
createBaseVNode("div", null, [
|
|
21345
|
+
createBaseVNode("img", {
|
|
21346
|
+
src: _ctx.images.payLater,
|
|
21347
|
+
class: normalizeClass(_ctx.$style.imgContainer)
|
|
21348
|
+
}, null, 10, _hoisted_1$y)
|
|
21349
|
+
]),
|
|
21350
|
+
createBaseVNode("div", null, [
|
|
21351
|
+
createBaseVNode("div", {
|
|
21352
|
+
class: normalizeClass(_ctx.$style.mainContainer)
|
|
21353
|
+
}, toDisplayString(_ctx.lg.payLater.title), 3),
|
|
21354
|
+
createBaseVNode("div", {
|
|
21355
|
+
class: normalizeClass(_ctx.$style.subContainer)
|
|
21356
|
+
}, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
|
|
21357
|
+
]),
|
|
21358
|
+
createBaseVNode("div", {
|
|
21359
|
+
class: normalizeClass(_ctx.$style.arrowContainer)
|
|
21360
|
+
}, [
|
|
21361
|
+
createBaseVNode("i", {
|
|
21362
|
+
class: normalizeClass(_ctx.$style.arrow)
|
|
21363
|
+
}, null, 2)
|
|
21364
|
+
], 2)
|
|
21365
|
+
], 2);
|
|
21366
|
+
}
|
|
21202
21367
|
const cssModules$F = {};
|
|
21203
21368
|
cssModules$F["$style"] = style0$E;
|
|
21204
|
-
var
|
|
21369
|
+
var PayLaterType = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__cssModules", cssModules$F]]);
|
|
21205
21370
|
const PaymentType = defineComponent({
|
|
21206
21371
|
props: {
|
|
21207
21372
|
paymentMethod: {
|
|
@@ -21213,6 +21378,7 @@ const PaymentType = defineComponent({
|
|
|
21213
21378
|
}
|
|
21214
21379
|
},
|
|
21215
21380
|
render() {
|
|
21381
|
+
var _a;
|
|
21216
21382
|
const paymentMethod2 = this.paymentMethod;
|
|
21217
21383
|
if ((paymentMethod2 == null ? void 0 : paymentMethod2.paymentMethodType) === PaymentMethodType.WALLET) {
|
|
21218
21384
|
return createVNode(WalletType, {
|
|
@@ -21235,6 +21401,11 @@ const PaymentType = defineComponent({
|
|
|
21235
21401
|
"sbid": paymentMethod2
|
|
21236
21402
|
}, null);
|
|
21237
21403
|
}
|
|
21404
|
+
if (((_a = this.paymentMethod) == null ? void 0 : _a.paymentMethodType) === PaymentMethodType.PAY_LATER_CC) {
|
|
21405
|
+
return createVNode(PayLaterType, {
|
|
21406
|
+
"payLater": this.paymentMethod
|
|
21407
|
+
}, null);
|
|
21408
|
+
}
|
|
21238
21409
|
return null;
|
|
21239
21410
|
}
|
|
21240
21411
|
});
|
|
@@ -25053,7 +25224,7 @@ const _sfc_main$w = defineComponent({
|
|
|
25053
25224
|
});
|
|
25054
25225
|
const _hoisted_1$n = ["src"];
|
|
25055
25226
|
const _hoisted_2$g = { key: 2 };
|
|
25056
|
-
const _hoisted_3$
|
|
25227
|
+
const _hoisted_3$f = { key: 2 };
|
|
25057
25228
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25058
25229
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
25059
25230
|
const _component_Header = resolveComponent("Header");
|
|
@@ -25280,7 +25451,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25280
25451
|
]),
|
|
25281
25452
|
_: 1
|
|
25282
25453
|
}, 8, ["class", "onClick"])) : createCommentVNode("", true),
|
|
25283
|
-
_ctx.isSufficient ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
25454
|
+
_ctx.isSufficient ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
25284
25455
|
createVNode(_component_Button, {
|
|
25285
25456
|
"no-margin": _ctx.isDesktop,
|
|
25286
25457
|
"data-test": "click-charge",
|
|
@@ -25528,20 +25699,22 @@ const _sfc_main$t = defineComponent({
|
|
|
25528
25699
|
emits: ["close"],
|
|
25529
25700
|
setup() {
|
|
25530
25701
|
const lg2 = getLanguage();
|
|
25702
|
+
const showDeepLink = isPayPayMiniApp();
|
|
25531
25703
|
const openDeepLink = (url) => {
|
|
25532
|
-
if ((url == null ? void 0 : url.length) > 0) {
|
|
25704
|
+
if ((url == null ? void 0 : url.length) > 0 && showDeepLink) {
|
|
25533
25705
|
openWebviewInternal({ url });
|
|
25534
25706
|
}
|
|
25535
25707
|
};
|
|
25536
25708
|
return {
|
|
25537
25709
|
openDeepLink,
|
|
25538
|
-
lg: lg2
|
|
25710
|
+
lg: lg2,
|
|
25711
|
+
showDeepLink
|
|
25539
25712
|
};
|
|
25540
25713
|
}
|
|
25541
25714
|
});
|
|
25542
25715
|
const _hoisted_1$m = { class: "make-payment-cashback-detail-list" };
|
|
25543
25716
|
const _hoisted_2$f = { class: "make-payment-cashback-detail-list--header" };
|
|
25544
|
-
const _hoisted_3$
|
|
25717
|
+
const _hoisted_3$e = { class: "header-title-container" };
|
|
25545
25718
|
const _hoisted_4$b = {
|
|
25546
25719
|
class: "title",
|
|
25547
25720
|
"data-test": "cashback-detail-list-title"
|
|
@@ -25556,7 +25729,11 @@ const _hoisted_8$3 = ["onClick"];
|
|
|
25556
25729
|
const _hoisted_9$3 = { class: "campaign" };
|
|
25557
25730
|
const _hoisted_10$1 = { class: "right-container" };
|
|
25558
25731
|
const _hoisted_11$1 = { class: "amount" };
|
|
25559
|
-
const _hoisted_12$1 =
|
|
25732
|
+
const _hoisted_12$1 = {
|
|
25733
|
+
key: 0,
|
|
25734
|
+
class: "open-icon",
|
|
25735
|
+
"data-test": "open-icon"
|
|
25736
|
+
};
|
|
25560
25737
|
const _hoisted_13 = { class: "make-payment-cashback-detail-list--footer" };
|
|
25561
25738
|
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25562
25739
|
var _a, _b, _c;
|
|
@@ -25568,7 +25745,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25568
25745
|
"data-test": "cashback-detail-back-close",
|
|
25569
25746
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
25570
25747
|
}),
|
|
25571
|
-
createBaseVNode("div", _hoisted_3$
|
|
25748
|
+
createBaseVNode("div", _hoisted_3$e, [
|
|
25572
25749
|
createBaseVNode("div", _hoisted_4$b, toDisplayString((_a = _ctx.cashBackDetail) == null ? void 0 : _a.cashBackDetailListDescription), 1),
|
|
25573
25750
|
createBaseVNode("div", _hoisted_5$8, [
|
|
25574
25751
|
createTextVNode(toDisplayString((_b = _ctx.cashBackDetail) == null ? void 0 : _b.cashBackAmount), 1),
|
|
@@ -25587,7 +25764,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25587
25764
|
createBaseVNode("div", _hoisted_9$3, toDisplayString(cashBack2.campaignName), 1),
|
|
25588
25765
|
createBaseVNode("div", _hoisted_10$1, [
|
|
25589
25766
|
createBaseVNode("div", _hoisted_11$1, toDisplayString(cashBack2.amountText), 1),
|
|
25590
|
-
_hoisted_12$1
|
|
25767
|
+
_ctx.showDeepLink ? (openBlock(), createElementBlock("i", _hoisted_12$1)) : createCommentVNode("", true)
|
|
25591
25768
|
])
|
|
25592
25769
|
], 8, _hoisted_8$3);
|
|
25593
25770
|
}), 128))
|
|
@@ -26138,7 +26315,7 @@ const _sfc_main$r = defineComponent({
|
|
|
26138
26315
|
});
|
|
26139
26316
|
const _hoisted_1$l = ["src"];
|
|
26140
26317
|
const _hoisted_2$e = /* @__PURE__ */ createBaseVNode("span", null, "\u6C7A\u6E08\u756A\u53F7", -1);
|
|
26141
|
-
const _hoisted_3$
|
|
26318
|
+
const _hoisted_3$d = /* @__PURE__ */ createTextVNode(" \u9589\u3058\u308B ");
|
|
26142
26319
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26143
26320
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
26144
26321
|
const _component_CashBackDetailRow = resolveComponent("CashBackDetailRow");
|
|
@@ -26251,7 +26428,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26251
26428
|
onClick: _ctx.click
|
|
26252
26429
|
}, {
|
|
26253
26430
|
default: withCtx(() => [
|
|
26254
|
-
_hoisted_3$
|
|
26431
|
+
_hoisted_3$d
|
|
26255
26432
|
]),
|
|
26256
26433
|
_: 1
|
|
26257
26434
|
}, 8, ["disabled", "onClick"])
|
|
@@ -26333,7 +26510,7 @@ const _sfc_main$q = defineComponent({
|
|
|
26333
26510
|
});
|
|
26334
26511
|
const _hoisted_1$k = { class: "make-payment-close-confirmation" };
|
|
26335
26512
|
const _hoisted_2$d = ["src"];
|
|
26336
|
-
const _hoisted_3$
|
|
26513
|
+
const _hoisted_3$c = { class: "make-payment-close-confirmation--content" };
|
|
26337
26514
|
const _hoisted_4$a = { class: "make-payment-close-confirmation--content--title" };
|
|
26338
26515
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26339
26516
|
const _component_Button = resolveComponent("Button");
|
|
@@ -26342,7 +26519,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26342
26519
|
src: _ctx.images.iconError,
|
|
26343
26520
|
class: "make-payment-close-confirmation--header--image"
|
|
26344
26521
|
}, null, 8, _hoisted_2$d),
|
|
26345
|
-
createBaseVNode("div", _hoisted_3$
|
|
26522
|
+
createBaseVNode("div", _hoisted_3$c, [
|
|
26346
26523
|
createBaseVNode("p", _hoisted_4$a, toDisplayString(_ctx.lg.closeConfirmation.title), 1)
|
|
26347
26524
|
]),
|
|
26348
26525
|
createBaseVNode("div", null, [
|
|
@@ -26428,7 +26605,7 @@ const _sfc_main$p = defineComponent({
|
|
|
26428
26605
|
});
|
|
26429
26606
|
const _hoisted_1$j = { class: "make-payment-consult" };
|
|
26430
26607
|
const _hoisted_2$c = ["src"];
|
|
26431
|
-
const _hoisted_3$
|
|
26608
|
+
const _hoisted_3$b = { class: "make-payment-consult--content" };
|
|
26432
26609
|
const _hoisted_4$9 = {
|
|
26433
26610
|
class: "make-payment-consult--content--title",
|
|
26434
26611
|
"data-test": "consult-title"
|
|
@@ -26444,7 +26621,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26444
26621
|
src: _ctx.iconUrl,
|
|
26445
26622
|
class: "make-payment-consult--header--image"
|
|
26446
26623
|
}, null, 8, _hoisted_2$c),
|
|
26447
|
-
createBaseVNode("div", _hoisted_3$
|
|
26624
|
+
createBaseVNode("div", _hoisted_3$b, [
|
|
26448
26625
|
createBaseVNode("p", _hoisted_4$9, toDisplayString(_ctx.title), 1),
|
|
26449
26626
|
createBaseVNode("p", _hoisted_5$7, toDisplayString(_ctx.description), 1)
|
|
26450
26627
|
]),
|
|
@@ -26519,7 +26696,7 @@ const _sfc_main$o = defineComponent({
|
|
|
26519
26696
|
});
|
|
26520
26697
|
const _hoisted_1$i = { class: "make-payment-cashback-detail-birthday-picker" };
|
|
26521
26698
|
const _hoisted_2$b = { class: "make-payment-cashback-detail-birthday-picker--header" };
|
|
26522
|
-
const _hoisted_3$
|
|
26699
|
+
const _hoisted_3$a = ["src"];
|
|
26523
26700
|
const _hoisted_4$8 = { class: "make-payment-cashback-detail-birthday-picker--content" };
|
|
26524
26701
|
const _hoisted_5$6 = { class: "title" };
|
|
26525
26702
|
const _hoisted_6$4 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
@@ -26539,7 +26716,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26539
26716
|
createBaseVNode("div", _hoisted_2$b, [
|
|
26540
26717
|
createBaseVNode("img", {
|
|
26541
26718
|
src: _ctx.images.iconBirthday
|
|
26542
|
-
}, null, 8, _hoisted_3$
|
|
26719
|
+
}, null, 8, _hoisted_3$a)
|
|
26543
26720
|
]),
|
|
26544
26721
|
createBaseVNode("div", _hoisted_4$8, [
|
|
26545
26722
|
createBaseVNode("p", _hoisted_5$6, [
|
|
@@ -26630,7 +26807,7 @@ const _sfc_main$n = defineComponent({
|
|
|
26630
26807
|
});
|
|
26631
26808
|
const _hoisted_1$h = { class: "make-payment-cashback-detail-birthday-picker" };
|
|
26632
26809
|
const _hoisted_2$a = { class: "make-payment-cashback-detail-birthday-picker--header" };
|
|
26633
|
-
const _hoisted_3$
|
|
26810
|
+
const _hoisted_3$9 = ["src"];
|
|
26634
26811
|
const _hoisted_4$7 = { class: "make-payment-cashback-detail-birthday-picker--content" };
|
|
26635
26812
|
const _hoisted_5$5 = { class: "title" };
|
|
26636
26813
|
const _hoisted_6$3 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
@@ -26647,7 +26824,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26647
26824
|
createBaseVNode("img", {
|
|
26648
26825
|
src: _ctx.images.iconMinorAge,
|
|
26649
26826
|
class: "error-in-birthday"
|
|
26650
|
-
}, null, 8, _hoisted_3$
|
|
26827
|
+
}, null, 8, _hoisted_3$9)
|
|
26651
26828
|
]),
|
|
26652
26829
|
createBaseVNode("div", _hoisted_4$7, [
|
|
26653
26830
|
createBaseVNode("p", _hoisted_5$5, [
|
|
@@ -27184,7 +27361,7 @@ const _sfc_main$k = defineComponent({
|
|
|
27184
27361
|
});
|
|
27185
27362
|
const _hoisted_1$e = ["src"];
|
|
27186
27363
|
const _hoisted_2$9 = { key: 0 };
|
|
27187
|
-
const _hoisted_3$
|
|
27364
|
+
const _hoisted_3$8 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
27188
27365
|
const _hoisted_4$6 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
27189
27366
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27190
27367
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -27214,7 +27391,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27214
27391
|
class: normalizeClass(_ctx.style.amount)
|
|
27215
27392
|
}, [
|
|
27216
27393
|
createTextVNode(toDisplayString(_ctx.formatPrice), 1),
|
|
27217
|
-
_hoisted_3$
|
|
27394
|
+
_hoisted_3$8
|
|
27218
27395
|
], 2)
|
|
27219
27396
|
], 2)
|
|
27220
27397
|
], 2),
|
|
@@ -27245,30 +27422,30 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27245
27422
|
const cssModules$c = {};
|
|
27246
27423
|
cssModules$c["$style"] = style0$b;
|
|
27247
27424
|
var TopInfo = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__cssModules", cssModules$c]]);
|
|
27248
|
-
const chargeMainTitle = "
|
|
27249
|
-
const chargeTitle = "
|
|
27250
|
-
const bannerInfo = "
|
|
27251
|
-
const topupAmount = "
|
|
27252
|
-
const chargeArea = "
|
|
27253
|
-
const paymentMethodContainer = "
|
|
27254
|
-
const desktopUi = "
|
|
27255
|
-
const itemContainer = "
|
|
27256
|
-
const chargeLabel = "
|
|
27257
|
-
const paymentMethod$1 = "
|
|
27258
|
-
const buttonContainer = "
|
|
27259
|
-
const successContainer = "
|
|
27260
|
-
const hidden = "
|
|
27261
|
-
const nonVisible = "
|
|
27262
|
-
const loadingText$1 = "
|
|
27263
|
-
const unAvailable = "
|
|
27264
|
-
const cancelBtn = "
|
|
27265
|
-
const change = "
|
|
27266
|
-
const chargeBtnSticky = "
|
|
27267
|
-
const chargeWrapper = "
|
|
27268
|
-
const chargeTitleContainer = "
|
|
27269
|
-
const chargeListWrapper = "
|
|
27425
|
+
const chargeMainTitle = "_chargeMainTitle_5f7zo_7";
|
|
27426
|
+
const chargeTitle = "_chargeTitle_5f7zo_14";
|
|
27427
|
+
const bannerInfo = "_bannerInfo_5f7zo_19";
|
|
27428
|
+
const topupAmount = "_topupAmount_5f7zo_27";
|
|
27429
|
+
const chargeArea = "_chargeArea_5f7zo_41";
|
|
27430
|
+
const paymentMethodContainer = "_paymentMethodContainer_5f7zo_61";
|
|
27431
|
+
const desktopUi = "_desktopUi_5f7zo_78";
|
|
27432
|
+
const itemContainer = "_itemContainer_5f7zo_84";
|
|
27433
|
+
const chargeLabel = "_chargeLabel_5f7zo_92";
|
|
27434
|
+
const paymentMethod$1 = "_paymentMethod_5f7zo_61";
|
|
27435
|
+
const buttonContainer = "_buttonContainer_5f7zo_108";
|
|
27436
|
+
const successContainer = "_successContainer_5f7zo_114";
|
|
27437
|
+
const hidden = "_hidden_5f7zo_125";
|
|
27438
|
+
const nonVisible = "_nonVisible_5f7zo_134";
|
|
27439
|
+
const loadingText$1 = "_loadingText_5f7zo_137";
|
|
27440
|
+
const unAvailable = "_unAvailable_5f7zo_149";
|
|
27441
|
+
const cancelBtn = "_cancelBtn_5f7zo_168";
|
|
27442
|
+
const change = "_change_5f7zo_173";
|
|
27443
|
+
const chargeBtnSticky = "_chargeBtnSticky_5f7zo_189";
|
|
27444
|
+
const chargeWrapper = "_chargeWrapper_5f7zo_202";
|
|
27445
|
+
const chargeTitleContainer = "_chargeTitleContainer_5f7zo_208";
|
|
27446
|
+
const chargeListWrapper = "_chargeListWrapper_5f7zo_214";
|
|
27270
27447
|
var style0$a = {
|
|
27271
|
-
"ppmna-default-font": "_ppmna-default-
|
|
27448
|
+
"ppmna-default-font": "_ppmna-default-font_5f7zo_1",
|
|
27272
27449
|
chargeMainTitle,
|
|
27273
27450
|
chargeTitle,
|
|
27274
27451
|
bannerInfo,
|
|
@@ -27471,6 +27648,7 @@ const _sfc_main$j = defineComponent({
|
|
|
27471
27648
|
});
|
|
27472
27649
|
const _hoisted_1$d = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
27473
27650
|
const _hoisted_2$8 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
27651
|
+
const _hoisted_3$7 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
27474
27652
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27475
27653
|
const _component_BannerHeader = resolveComponent("BannerHeader");
|
|
27476
27654
|
const _component_ChargeAmountList = resolveComponent("ChargeAmountList");
|
|
@@ -27552,8 +27730,16 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27552
27730
|
onClick: _ctx.openPaymentMethod
|
|
27553
27731
|
}, null, 8, ["payment-method", "class", "onClick"])
|
|
27554
27732
|
], 2)) : createCommentVNode("", true),
|
|
27555
|
-
_ctx.isDesktop ?
|
|
27733
|
+
!_ctx.available && _ctx.isDesktop ? (openBlock(), createElementBlock("div", {
|
|
27556
27734
|
key: 1,
|
|
27735
|
+
class: normalizeClass(_ctx.style.unAvailable)
|
|
27736
|
+
}, [
|
|
27737
|
+
createTextVNode(toDisplayString(_ctx.lg.topContent.unavailable1), 1),
|
|
27738
|
+
_hoisted_2$8,
|
|
27739
|
+
createTextVNode(" " + toDisplayString(_ctx.lg.topContent.unavailable2), 1)
|
|
27740
|
+
], 2)) : createCommentVNode("", true),
|
|
27741
|
+
_ctx.available && _ctx.isDesktop ? withDirectives((openBlock(), createBlock(_component_PayMethod, {
|
|
27742
|
+
key: 2,
|
|
27557
27743
|
title: _ctx.lg.topContent.chargeLabel,
|
|
27558
27744
|
loading: false,
|
|
27559
27745
|
"payment-method": _ctx.paymentMethod,
|
|
@@ -27567,7 +27753,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27567
27753
|
[vShow, !_ctx.done]
|
|
27568
27754
|
]) : createCommentVNode("", true),
|
|
27569
27755
|
_ctx.showUserAddress && _ctx.isDesktop ? (openBlock(), createBlock(_component_GetUserAddressApp, {
|
|
27570
|
-
key:
|
|
27756
|
+
key: 3,
|
|
27571
27757
|
show: !_ctx.done,
|
|
27572
27758
|
addresses: _ctx.addresses,
|
|
27573
27759
|
"get-user-address-params": {},
|
|
@@ -27594,7 +27780,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27594
27780
|
class: normalizeClass(_ctx.style.unAvailable)
|
|
27595
27781
|
}, [
|
|
27596
27782
|
createTextVNode(toDisplayString(_ctx.lg.topContent.unavailable1), 1),
|
|
27597
|
-
|
|
27783
|
+
_hoisted_3$7,
|
|
27598
27784
|
createTextVNode(" " + toDisplayString(_ctx.lg.topContent.unavailable2), 1)
|
|
27599
27785
|
], 2)) : createCommentVNode("", true),
|
|
27600
27786
|
createVNode(_component_Button, {
|
|
@@ -27626,7 +27812,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27626
27812
|
], 2)
|
|
27627
27813
|
], 2),
|
|
27628
27814
|
_ctx.done ? (openBlock(), createElementBlock("div", {
|
|
27629
|
-
key:
|
|
27815
|
+
key: 4,
|
|
27630
27816
|
class: normalizeClass(_ctx.style.successContainer)
|
|
27631
27817
|
}, [
|
|
27632
27818
|
createVNode(_component_Lottie, {
|
|
@@ -27768,6 +27954,10 @@ function isAvailablePaymentMethod(paymentMethod2) {
|
|
|
27768
27954
|
const sbid = paymentMethod2.sbidCarrierBillingInfo;
|
|
27769
27955
|
return (sbid == null ? void 0 : sbid.paymentMethodStatus) === PaymentMethodStatus.ACTIVATED;
|
|
27770
27956
|
}
|
|
27957
|
+
if (paymentMethod2.paymentMethodType === PaymentMethodType.PAY_LATER_CC) {
|
|
27958
|
+
const payLater2 = paymentMethod2.payLaterCcInfo;
|
|
27959
|
+
return (payLater2 == null ? void 0 : payLater2.paymentMethodStatus) === PaymentMethodStatus.ACTIVATED;
|
|
27960
|
+
}
|
|
27771
27961
|
return false;
|
|
27772
27962
|
}
|
|
27773
27963
|
function hasAvailablePaymentMethod(paymentMethods) {
|
|
@@ -27785,7 +27975,7 @@ function findFirstValidMethod(paymentMethods, type) {
|
|
|
27785
27975
|
return -1;
|
|
27786
27976
|
}
|
|
27787
27977
|
function isValidPaymentMethod(savedMethod, paymentMethods, type) {
|
|
27788
|
-
var _a, _b, _c, _d;
|
|
27978
|
+
var _a, _b, _c, _d, _e;
|
|
27789
27979
|
if (savedMethod) {
|
|
27790
27980
|
const payMethod = paymentMethods.find((method) => method.paymentMethodId === savedMethod);
|
|
27791
27981
|
switch (payMethod == null ? void 0 : payMethod.paymentMethodType) {
|
|
@@ -27797,6 +27987,8 @@ function isValidPaymentMethod(savedMethod, paymentMethods, type) {
|
|
|
27797
27987
|
return ((_c = payMethod.bankInfo) == null ? void 0 : _c.paymentMethodStatus) === "ACTIVATED";
|
|
27798
27988
|
case PaymentMethodType.SBID_CARRIER_BILLING:
|
|
27799
27989
|
return ((_d = payMethod.sbidCarrierBillingInfo) == null ? void 0 : _d.paymentMethodStatus) === "ACTIVATED";
|
|
27990
|
+
case PaymentMethodType.PAY_LATER_CC:
|
|
27991
|
+
return ((_e = payMethod.payLaterCcInfo) == null ? void 0 : _e.paymentMethodStatus) === "ACTIVATED";
|
|
27800
27992
|
default:
|
|
27801
27993
|
return false;
|
|
27802
27994
|
}
|
|
@@ -28235,12 +28427,6 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28235
28427
|
const cssModules$9 = {};
|
|
28236
28428
|
cssModules$9["$style"] = style0$8;
|
|
28237
28429
|
var Charge = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__cssModules", cssModules$9]]);
|
|
28238
|
-
function filterUnsupportedPaymentMethod(paymentMethods) {
|
|
28239
|
-
const methods = paymentMethods ? paymentMethods.filter(function(method) {
|
|
28240
|
-
return method.paymentMethodType !== (PaymentMethodType.PAY_LATER || PaymentMethodType.PAY_LATER_CC);
|
|
28241
|
-
}) : paymentMethods;
|
|
28242
|
-
return methods;
|
|
28243
|
-
}
|
|
28244
28430
|
const img$1 = getImages();
|
|
28245
28431
|
function createErrorFromType(type) {
|
|
28246
28432
|
const lg2 = getLanguage();
|
|
@@ -28501,8 +28687,8 @@ function usePaymentMethod(props) {
|
|
|
28501
28687
|
if (walletPaymentMethod && walletPaymentMethod.descriptionBannerInfo) {
|
|
28502
28688
|
paymentState.bannerInfo = walletPaymentMethod.descriptionBannerInfo;
|
|
28503
28689
|
}
|
|
28504
|
-
paymentState.paymentMethods = filterUnsupportedPaymentMethod(paymentMethodList);
|
|
28505
28690
|
const lastSavedMethod = getLastPaymentMethod();
|
|
28691
|
+
paymentState.paymentMethods = paymentMethodList;
|
|
28506
28692
|
paymentState.selectPaymentIndex = isValidPaymentMethod(lastSavedMethod, paymentState == null ? void 0 : paymentState.paymentMethods, PaymentOpType.PAY) ? paymentState.paymentMethods.findIndex((method) => method.paymentMethodId === lastSavedMethod) : findFirstValidMethod(paymentState.paymentMethods, PaymentOpType.PAY);
|
|
28507
28693
|
return {
|
|
28508
28694
|
res,
|
|
@@ -29606,9 +29792,18 @@ const initMakePayment = async (initMakePayment2) => {
|
|
|
29606
29792
|
window.addEventListener("beforeunload", transactionWarning);
|
|
29607
29793
|
};
|
|
29608
29794
|
function createWrap(fn) {
|
|
29609
|
-
return (arg) =>
|
|
29610
|
-
|
|
29611
|
-
|
|
29795
|
+
return (arg) => {
|
|
29796
|
+
setTimeout(() => {
|
|
29797
|
+
fn(arg);
|
|
29798
|
+
}, 0);
|
|
29799
|
+
};
|
|
29800
|
+
}
|
|
29801
|
+
function createWrapComplete(fn) {
|
|
29802
|
+
return () => {
|
|
29803
|
+
setTimeout(() => {
|
|
29804
|
+
fn();
|
|
29805
|
+
}, 0);
|
|
29806
|
+
};
|
|
29612
29807
|
}
|
|
29613
29808
|
const makePayment = async (params) => {
|
|
29614
29809
|
var _a, _b, _c, _d;
|
|
@@ -29629,7 +29824,7 @@ const makePayment = async (params) => {
|
|
|
29629
29824
|
if (fail)
|
|
29630
29825
|
params.fail = createWrap(fail);
|
|
29631
29826
|
if (complete)
|
|
29632
|
-
params.complete =
|
|
29827
|
+
params.complete = createWrapComplete(complete);
|
|
29633
29828
|
initMakePayment(params).catch(() => {
|
|
29634
29829
|
});
|
|
29635
29830
|
};
|
|
@@ -29685,7 +29880,7 @@ function showErrorSheet(params) {
|
|
|
29685
29880
|
try {
|
|
29686
29881
|
initErrorSheet(params);
|
|
29687
29882
|
} catch {
|
|
29688
|
-
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params);
|
|
29883
|
+
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, { errorCode: MiniAppErrorType.unknown });
|
|
29689
29884
|
}
|
|
29690
29885
|
}
|
|
29691
29886
|
const container = "_container_17pxy_1";
|
|
@@ -29834,7 +30029,7 @@ function showAlert(params) {
|
|
|
29834
30029
|
try {
|
|
29835
30030
|
initAlertSheet(params);
|
|
29836
30031
|
} catch {
|
|
29837
|
-
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params);
|
|
30032
|
+
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, { errorCode: MiniAppErrorType.unknown });
|
|
29838
30033
|
}
|
|
29839
30034
|
}
|
|
29840
30035
|
const bannerInfoContainer = "_bannerInfoContainer_1l754_1";
|
|
@@ -30158,46 +30353,46 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30158
30353
|
const cssModules$4 = {};
|
|
30159
30354
|
cssModules$4["$style"] = style0$4;
|
|
30160
30355
|
var TopupCompletion = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__cssModules", cssModules$4]]);
|
|
30161
|
-
const topupWrapper = "
|
|
30162
|
-
const fullHeight = "
|
|
30163
|
-
const bannerText = "
|
|
30164
|
-
const topupMoneyLabel = "
|
|
30165
|
-
const topupCharge = "
|
|
30166
|
-
const fullHeightCharge = "
|
|
30167
|
-
const bannerMargin = "
|
|
30168
|
-
const topup$2 = "
|
|
30169
|
-
const noBorder = "
|
|
30170
|
-
const banner = "
|
|
30171
|
-
const invalidAmount = "
|
|
30172
|
-
const loadingText = "
|
|
30173
|
-
const choosePayment$1 = "
|
|
30174
|
-
const amountList = "
|
|
30175
|
-
const balance = "
|
|
30176
|
-
const chargeSelect = "
|
|
30177
|
-
const blueDivider = "
|
|
30178
|
-
const chargeMoney = "
|
|
30179
|
-
const unit = "
|
|
30180
|
-
const chargeInput = "
|
|
30181
|
-
const inputLeft = "
|
|
30182
|
-
const inputRight = "
|
|
30183
|
-
const noMethod = "
|
|
30184
|
-
const topupMoney = "
|
|
30185
|
-
const moneyLabel = "
|
|
30186
|
-
const btnContainer = "
|
|
30187
|
-
const fullBtnContainer = "
|
|
30188
|
-
const moneyList = "
|
|
30189
|
-
const doneContainer = "
|
|
30190
|
-
const ppmnaLottie = "
|
|
30191
|
-
const moreMoney = "
|
|
30192
|
-
const fullHeightPayMethod = "
|
|
30193
|
-
const fullHeightInput = "
|
|
30194
|
-
const fullHeightLottie = "
|
|
30195
|
-
const paymentType = "
|
|
30356
|
+
const topupWrapper = "_topupWrapper_eufp7_7";
|
|
30357
|
+
const fullHeight = "_fullHeight_eufp7_13";
|
|
30358
|
+
const bannerText = "_bannerText_eufp7_20";
|
|
30359
|
+
const topupMoneyLabel = "_topupMoneyLabel_eufp7_23";
|
|
30360
|
+
const topupCharge = "_topupCharge_eufp7_31";
|
|
30361
|
+
const fullHeightCharge = "_fullHeightCharge_eufp7_37";
|
|
30362
|
+
const bannerMargin = "_bannerMargin_eufp7_40";
|
|
30363
|
+
const topup$2 = "_topup_eufp7_7";
|
|
30364
|
+
const noBorder = "_noBorder_eufp7_52";
|
|
30365
|
+
const banner = "_banner_eufp7_20";
|
|
30366
|
+
const invalidAmount = "_invalidAmount_eufp7_58";
|
|
30367
|
+
const loadingText = "_loadingText_eufp7_63";
|
|
30368
|
+
const choosePayment$1 = "_choosePayment_eufp7_72";
|
|
30369
|
+
const amountList = "_amountList_eufp7_79";
|
|
30370
|
+
const balance = "_balance_eufp7_99";
|
|
30371
|
+
const chargeSelect = "_chargeSelect_eufp7_106";
|
|
30372
|
+
const blueDivider = "_blueDivider_eufp7_112";
|
|
30373
|
+
const chargeMoney = "_chargeMoney_eufp7_119";
|
|
30374
|
+
const unit = "_unit_eufp7_125";
|
|
30375
|
+
const chargeInput = "_chargeInput_eufp7_128";
|
|
30376
|
+
const inputLeft = "_inputLeft_eufp7_143";
|
|
30377
|
+
const inputRight = "_inputRight_eufp7_150";
|
|
30378
|
+
const noMethod = "_noMethod_eufp7_157";
|
|
30379
|
+
const topupMoney = "_topupMoney_eufp7_23";
|
|
30380
|
+
const moneyLabel = "_moneyLabel_eufp7_170";
|
|
30381
|
+
const btnContainer = "_btnContainer_eufp7_174";
|
|
30382
|
+
const fullBtnContainer = "_fullBtnContainer_eufp7_181";
|
|
30383
|
+
const moneyList = "_moneyList_eufp7_196";
|
|
30384
|
+
const doneContainer = "_doneContainer_eufp7_200";
|
|
30385
|
+
const ppmnaLottie = "_ppmnaLottie_eufp7_207";
|
|
30386
|
+
const moreMoney = "_moreMoney_eufp7_212";
|
|
30387
|
+
const fullHeightPayMethod = "_fullHeightPayMethod_eufp7_217";
|
|
30388
|
+
const fullHeightInput = "_fullHeightInput_eufp7_223";
|
|
30389
|
+
const fullHeightLottie = "_fullHeightLottie_eufp7_226";
|
|
30390
|
+
const paymentType = "_paymentType_eufp7_230";
|
|
30196
30391
|
var style0$3 = {
|
|
30197
|
-
"ppmna-default-font": "_ppmna-default-
|
|
30392
|
+
"ppmna-default-font": "_ppmna-default-font_eufp7_1",
|
|
30198
30393
|
topupWrapper,
|
|
30199
30394
|
fullHeight,
|
|
30200
|
-
"btn-position": "_btn-
|
|
30395
|
+
"btn-position": "_btn-position_eufp7_17",
|
|
30201
30396
|
bannerText,
|
|
30202
30397
|
topupMoneyLabel,
|
|
30203
30398
|
topupCharge,
|
|
@@ -30371,8 +30566,8 @@ const _sfc_main$a = defineComponent({
|
|
|
30371
30566
|
this.errorShow = true;
|
|
30372
30567
|
return;
|
|
30373
30568
|
}
|
|
30374
|
-
this.paymentMethodList =
|
|
30375
|
-
this.
|
|
30569
|
+
this.paymentMethodList = (_h = (_g = (_f = paymentIdResponse.body.unsigned) == null ? void 0 : _f.data) == null ? void 0 : _g.payload) == null ? void 0 : _h.paymentMethodList;
|
|
30570
|
+
this.findFirstValidMethodTopup();
|
|
30376
30571
|
const config = getAppConfig();
|
|
30377
30572
|
if (config) {
|
|
30378
30573
|
this.inputMoney = (_i = config == null ? void 0 : config.topupHalfSheetRecommendedAmount[0]) == null ? void 0 : _i.value;
|
|
@@ -30385,41 +30580,11 @@ const _sfc_main$a = defineComponent({
|
|
|
30385
30580
|
createAnime(s) {
|
|
30386
30581
|
this.lottieAnim = s;
|
|
30387
30582
|
},
|
|
30388
|
-
|
|
30389
|
-
var _a
|
|
30583
|
+
findFirstValidMethodTopup() {
|
|
30584
|
+
var _a;
|
|
30390
30585
|
if (((_a = this.paymentMethodList) == null ? void 0 : _a.length) > 0) {
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
case PaymentMethodType.BANK:
|
|
30394
|
-
case PaymentMethodType.YMONEY_BANK:
|
|
30395
|
-
if (((_b = payMethod.bankInfo) == null ? void 0 : _b.paymentMethodStatus) === "ACTIVATED") {
|
|
30396
|
-
this.selectedPaymentMethod = payMethod;
|
|
30397
|
-
this.selectPaymentIndex = index2;
|
|
30398
|
-
return;
|
|
30399
|
-
}
|
|
30400
|
-
break;
|
|
30401
|
-
case PaymentMethodType.CREDIT_CARD:
|
|
30402
|
-
if (((_c = payMethod.creditCardInfo) == null ? void 0 : _c.paymentMethodStatus) === "ACTIVATED" && !((_d = payMethod.creditCardInfo) == null ? void 0 : _d.isExpired)) {
|
|
30403
|
-
this.selectedPaymentMethod = payMethod;
|
|
30404
|
-
this.selectPaymentIndex = index2;
|
|
30405
|
-
return;
|
|
30406
|
-
}
|
|
30407
|
-
break;
|
|
30408
|
-
case PaymentMethodType.SBID_CARRIER_BILLING:
|
|
30409
|
-
if (((_e = payMethod.sbidCarrierBillingInfo) == null ? void 0 : _e.paymentMethodStatus) === "ACTIVATED") {
|
|
30410
|
-
this.selectedPaymentMethod = payMethod;
|
|
30411
|
-
this.selectPaymentIndex = index2;
|
|
30412
|
-
return;
|
|
30413
|
-
}
|
|
30414
|
-
break;
|
|
30415
|
-
case PaymentMethodType.WALLET:
|
|
30416
|
-
this.selectedPaymentMethod = payMethod;
|
|
30417
|
-
this.selectPaymentIndex = index2;
|
|
30418
|
-
return;
|
|
30419
|
-
}
|
|
30420
|
-
if (index2 < ((_f = this.paymentMethodList) == null ? void 0 : _f.length)) {
|
|
30421
|
-
this.findFirstValidMethod(++index2);
|
|
30422
|
-
}
|
|
30586
|
+
this.selectPaymentIndex = findFirstValidMethod(this.paymentMethodList, PaymentOpType.TOPUP);
|
|
30587
|
+
this.selectedPaymentMethod = this.paymentMethodList[this.selectPaymentIndex];
|
|
30423
30588
|
}
|
|
30424
30589
|
},
|
|
30425
30590
|
async switchInput() {
|
|
@@ -31032,7 +31197,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
31032
31197
|
}
|
|
31033
31198
|
} catch {
|
|
31034
31199
|
this.errorShow = true;
|
|
31035
|
-
(_e = (_d = this.warningParams) == null ? void 0 : _d.fail) == null ? void 0 : _e.call(_d);
|
|
31200
|
+
(_e = (_d = this.warningParams) == null ? void 0 : _d.fail) == null ? void 0 : _e.call(_d, { errorCode: MiniAppErrorType.unknown });
|
|
31036
31201
|
} finally {
|
|
31037
31202
|
this.$emit("close-click");
|
|
31038
31203
|
}
|
|
@@ -31095,7 +31260,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31095
31260
|
}, null, 8, ["show", "error-text"])
|
|
31096
31261
|
], 64);
|
|
31097
31262
|
}
|
|
31098
|
-
var AppVue$5 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
31263
|
+
var AppVue$5 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-f36ed910"]]);
|
|
31099
31264
|
const initShowUpdateWarning = (params) => {
|
|
31100
31265
|
const show2 = ref(true);
|
|
31101
31266
|
const warningParams = reactive(params);
|
|
@@ -32049,7 +32214,7 @@ function debug(params) {
|
|
|
32049
32214
|
function execute$5(params) {
|
|
32050
32215
|
var _a;
|
|
32051
32216
|
(_a = params == null ? void 0 : params.success) == null ? void 0 : _a.call(params, {
|
|
32052
|
-
v: "1.
|
|
32217
|
+
v: "1.28.0"
|
|
32053
32218
|
});
|
|
32054
32219
|
}
|
|
32055
32220
|
function useCallBack(props, ctx) {
|
|
@@ -33284,7 +33449,9 @@ const initSmartButton = (params, data2, preferredLanguage, isLoggedIn) => {
|
|
|
33284
33449
|
function renderLoginButton(params, lg2, preferredLanguage, loggedinUser) {
|
|
33285
33450
|
var _a, _b;
|
|
33286
33451
|
if (!(params == null ? void 0 : params.containerId) || !document.getElementById(params == null ? void 0 : params.containerId)) {
|
|
33287
|
-
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params
|
|
33452
|
+
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, {
|
|
33453
|
+
errorCode: MiniAppErrorType.badRequestInsufficientParameter
|
|
33454
|
+
});
|
|
33288
33455
|
return console.error("Invalid container Id");
|
|
33289
33456
|
}
|
|
33290
33457
|
let data2 = {
|
|
@@ -33309,7 +33476,9 @@ function renderLoginButton(params, lg2, preferredLanguage, loggedinUser) {
|
|
|
33309
33476
|
function renderPayButton(params, lg2, preferredLanguage, isLoggedIn, cashbackInfo) {
|
|
33310
33477
|
var _a;
|
|
33311
33478
|
if (!(params == null ? void 0 : params.containerId) || !document.getElementById(params == null ? void 0 : params.containerId)) {
|
|
33312
|
-
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params
|
|
33479
|
+
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, {
|
|
33480
|
+
errorCode: MiniAppErrorType.badRequestInsufficientParameter
|
|
33481
|
+
});
|
|
33313
33482
|
return console.error("Invalid container Id");
|
|
33314
33483
|
}
|
|
33315
33484
|
let data2 = {
|
|
@@ -33511,6 +33680,10 @@ const wallet = {
|
|
|
33511
33680
|
cashBackExpirable: "PayPay Bonus Light",
|
|
33512
33681
|
balance: "Available amount:"
|
|
33513
33682
|
};
|
|
33683
|
+
const payLater = {
|
|
33684
|
+
title: "PayPay deferred payment",
|
|
33685
|
+
balance: "Available amount:"
|
|
33686
|
+
};
|
|
33514
33687
|
const softbank = {
|
|
33515
33688
|
desc: "SoftBank Ymobile",
|
|
33516
33689
|
desc1: "Pay in bulk",
|
|
@@ -33561,6 +33734,7 @@ var en = {
|
|
|
33561
33734
|
paymentMethod,
|
|
33562
33735
|
paymentMethodStatus,
|
|
33563
33736
|
wallet,
|
|
33737
|
+
payLater,
|
|
33564
33738
|
softbank,
|
|
33565
33739
|
smartLogin,
|
|
33566
33740
|
smartPay,
|
|
@@ -33590,6 +33764,7 @@ var en$1 = /* @__PURE__ */ Object.freeze({
|
|
|
33590
33764
|
paymentMethod,
|
|
33591
33765
|
paymentMethodStatus,
|
|
33592
33766
|
wallet,
|
|
33767
|
+
payLater,
|
|
33593
33768
|
softbank,
|
|
33594
33769
|
smartLogin,
|
|
33595
33770
|
smartPay,
|
|
@@ -33670,7 +33845,7 @@ function callbackHandler(params, callback) {
|
|
|
33670
33845
|
try {
|
|
33671
33846
|
callback();
|
|
33672
33847
|
} catch {
|
|
33673
|
-
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params);
|
|
33848
|
+
(_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, { errorCode: MiniAppErrorType.unknown });
|
|
33674
33849
|
}
|
|
33675
33850
|
}
|
|
33676
33851
|
function setSessionData(params) {
|