@paypay/mini-app-js-sdk 1.67.0 → 1.68.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 +147 -80
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/makePayment.d.ts +6 -0
- package/dist/model/miniAppError.d.ts +2 -1
- package/dist/package/payment-method/Bank.vue.d.ts +1 -0
- package/dist/package/payment-type/Bank.vue.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/views/make-payment/App.vue.d.ts +372 -0
- package/dist/views/make-payment/Main.vue.d.ts +372 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +69 -0
- package/dist/views/make-payment/store.d.ts +372 -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.68.0";
|
|
54
|
+
this.revision = "c7eb64b";
|
|
55
55
|
this.messageHandlers = /* @__PURE__ */ new Map();
|
|
56
56
|
this.responseCallbacks = /* @__PURE__ */ new Map();
|
|
57
57
|
this.global = global2;
|
|
@@ -191,6 +191,7 @@ var MiniAppErrorType = /* @__PURE__ */ ((MiniAppErrorType2) => {
|
|
|
191
191
|
MiniAppErrorType2["kycUpdateRequired"] = "KYC_UPDATE_REQUIRED";
|
|
192
192
|
MiniAppErrorType2["notCompleted"] = "NOT_COMPLETED";
|
|
193
193
|
MiniAppErrorType2["kycValidationInProcess"] = "KYC_VALIDATION_IN_PROCESS";
|
|
194
|
+
MiniAppErrorType2["noLocationData"] = "NO_LOCATION_DATA";
|
|
194
195
|
return MiniAppErrorType2;
|
|
195
196
|
})(MiniAppErrorType || {});
|
|
196
197
|
class PayPayJsBridgeBase {
|
|
@@ -2099,7 +2100,7 @@ const opaUrl = () => {
|
|
|
2099
2100
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
2100
2101
|
let headers = new Headers({
|
|
2101
2102
|
"Content-Type": "application/json",
|
|
2102
|
-
"Client-Version": "1.
|
|
2103
|
+
"Client-Version": "1.68.0",
|
|
2103
2104
|
"Client-OS-Type": getRuntime(),
|
|
2104
2105
|
...customHeaders
|
|
2105
2106
|
});
|
|
@@ -9972,24 +9973,26 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9972
9973
|
const cssModules$1o = {};
|
|
9973
9974
|
cssModules$1o["$style"] = style0$1o;
|
|
9974
9975
|
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1E], ["__cssModules", cssModules$1o]]);
|
|
9975
|
-
const wrapperClass$n = "
|
|
9976
|
-
const ppmnaPaymentTypeContainer$2 = "
|
|
9977
|
-
const img$8 = "
|
|
9978
|
-
const imgContainer$3 = "
|
|
9979
|
-
const roundStylePaymentType$2 = "
|
|
9980
|
-
const main$3 = "
|
|
9981
|
-
const sub$2 = "
|
|
9982
|
-
const makePayWithAddress$2 = "
|
|
9983
|
-
const makePaymentTypeContainer$2 = "
|
|
9984
|
-
const arrowContainer$4 = "
|
|
9985
|
-
const arrowRight$2 = "
|
|
9986
|
-
const makePaymentArrowContainer$2 = "
|
|
9987
|
-
const bankImg = "
|
|
9988
|
-
const branchCode = "
|
|
9989
|
-
const
|
|
9990
|
-
const
|
|
9991
|
-
const
|
|
9992
|
-
const
|
|
9976
|
+
const wrapperClass$n = "_wrapperClass_1exo0_1";
|
|
9977
|
+
const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_1exo0_1";
|
|
9978
|
+
const img$8 = "_img_1exo0_4";
|
|
9979
|
+
const imgContainer$3 = "_imgContainer_1exo0_19";
|
|
9980
|
+
const roundStylePaymentType$2 = "_roundStylePaymentType_1exo0_27";
|
|
9981
|
+
const main$3 = "_main_1exo0_33";
|
|
9982
|
+
const sub$2 = "_sub_1exo0_49";
|
|
9983
|
+
const makePayWithAddress$2 = "_makePayWithAddress_1exo0_59";
|
|
9984
|
+
const makePaymentTypeContainer$2 = "_makePaymentTypeContainer_1exo0_64";
|
|
9985
|
+
const arrowContainer$4 = "_arrowContainer_1exo0_69";
|
|
9986
|
+
const arrowRight$2 = "_arrowRight_1exo0_72";
|
|
9987
|
+
const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_1exo0_82";
|
|
9988
|
+
const bankImg = "_bankImg_1exo0_91";
|
|
9989
|
+
const branchCode = "_branchCode_1exo0_95";
|
|
9990
|
+
const balance$1 = "_balance_1exo0_98";
|
|
9991
|
+
const branchName = "_branchName_1exo0_104";
|
|
9992
|
+
const content$g = "_content_1exo0_107";
|
|
9993
|
+
const roundContainer = "_roundContainer_1exo0_111";
|
|
9994
|
+
const round$2 = "_round_1exo0_27";
|
|
9995
|
+
const bankName = "_bankName_1exo0_117";
|
|
9993
9996
|
var style0$1n = {
|
|
9994
9997
|
wrapperClass: wrapperClass$n,
|
|
9995
9998
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$2,
|
|
@@ -10005,6 +10008,8 @@ var style0$1n = {
|
|
|
10005
10008
|
makePaymentArrowContainer: makePaymentArrowContainer$2,
|
|
10006
10009
|
bankImg,
|
|
10007
10010
|
branchCode,
|
|
10011
|
+
balance: balance$1,
|
|
10012
|
+
branchName,
|
|
10008
10013
|
content: content$g,
|
|
10009
10014
|
roundContainer,
|
|
10010
10015
|
round: round$2,
|
|
@@ -10043,7 +10048,7 @@ const _sfc_main$1D = defineComponent({
|
|
|
10043
10048
|
const logo = bankInfo22 == null ? void 0 : bankInfo22.bankLogoUrl;
|
|
10044
10049
|
const name2 = bankInfo22 == null ? void 0 : bankInfo22.bankName;
|
|
10045
10050
|
let branchCode2 = bankInfo22 == null ? void 0 : bankInfo22.bankBranchCode;
|
|
10046
|
-
const
|
|
10051
|
+
const branchName2 = bankInfo22 == null ? void 0 : bankInfo22.bankBranchName;
|
|
10047
10052
|
const digits = bankInfo22 == null ? void 0 : bankInfo22.bankAccountNumberLast2digits;
|
|
10048
10053
|
if ((bankInfo22 == null ? void 0 : bankInfo22.bankCode) !== bankCode.YUCHO_BANK_CODE) {
|
|
10049
10054
|
branchCode2 = getTypeText$2((_b = bankInfo22 == null ? void 0 : bankInfo22.bankAccountType) != null ? _b : "");
|
|
@@ -10052,13 +10057,29 @@ const _sfc_main$1D = defineComponent({
|
|
|
10052
10057
|
logo,
|
|
10053
10058
|
name: name2,
|
|
10054
10059
|
branchCode: branchCode2,
|
|
10055
|
-
branchName,
|
|
10060
|
+
branchName: branchName2,
|
|
10056
10061
|
digits
|
|
10057
10062
|
};
|
|
10058
10063
|
});
|
|
10059
10064
|
const style = useCssModule();
|
|
10065
|
+
const balance2 = computed(() => {
|
|
10066
|
+
var _a2, _b, _c, _d, _e, _f;
|
|
10067
|
+
const descInfo = (_a2 = props.bank) == null ? void 0 : _a2.paymentMethodDescriptionInfo;
|
|
10068
|
+
const bankInfo22 = (_b = props.bank) == null ? void 0 : _b.bankInfo;
|
|
10069
|
+
const currency = (_d = (_c = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _c.currency) != null ? _d : "\u5186";
|
|
10070
|
+
if (!(bankInfo22 == null ? void 0 : bankInfo22.showAmount)) {
|
|
10071
|
+
if (((_e = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _e.amount) == null) {
|
|
10072
|
+
return null;
|
|
10073
|
+
} else {
|
|
10074
|
+
return "-------".concat(currency);
|
|
10075
|
+
}
|
|
10076
|
+
} else {
|
|
10077
|
+
return formatAmount((_f = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _f.amount).concat(currency);
|
|
10078
|
+
}
|
|
10079
|
+
});
|
|
10060
10080
|
return {
|
|
10061
10081
|
bankInfo: bankInfo2,
|
|
10082
|
+
balance: balance2,
|
|
10062
10083
|
style
|
|
10063
10084
|
};
|
|
10064
10085
|
}
|
|
@@ -10097,13 +10118,17 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10097
10118
|
"data-testid": "bank-name"
|
|
10098
10119
|
}, toDisplayString(_ctx.bankInfo.name), 3),
|
|
10099
10120
|
createBaseVNode("div", {
|
|
10100
|
-
class: normalizeClass(_ctx.style.sub),
|
|
10121
|
+
class: normalizeClass([_ctx.style.sub, _ctx.style.branchName]),
|
|
10101
10122
|
"data-testid": "bank-branch-name"
|
|
10102
10123
|
}, toDisplayString(_ctx.bankInfo.branchName), 3),
|
|
10103
10124
|
createBaseVNode("div", {
|
|
10104
10125
|
class: normalizeClass(_ctx.style.branchCode),
|
|
10105
10126
|
"data-testid": "bank-branch-code"
|
|
10106
|
-
}, toDisplayString(`${_ctx.bankInfo.branchCode} *****${_ctx.bankInfo.digits}`), 3)
|
|
10127
|
+
}, toDisplayString(`${_ctx.bankInfo.branchCode} *****${_ctx.bankInfo.digits}`), 3),
|
|
10128
|
+
_ctx.balance ? (openBlock(), createElementBlock("div", {
|
|
10129
|
+
key: 0,
|
|
10130
|
+
class: normalizeClass(_ctx.style.balance)
|
|
10131
|
+
}, toDisplayString(_ctx.balance), 3)) : createCommentVNode("", true)
|
|
10107
10132
|
], 2),
|
|
10108
10133
|
createBaseVNode("span", {
|
|
10109
10134
|
class: normalizeClass([
|
|
@@ -24270,23 +24295,24 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24270
24295
|
const cssModules$1i = {};
|
|
24271
24296
|
cssModules$1i["$style"] = style0$1i;
|
|
24272
24297
|
var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1i]]);
|
|
24273
|
-
const wrapperClass$h = "
|
|
24274
|
-
const paymentMethodContainer$2 = "
|
|
24275
|
-
const imageWrapper$1 = "
|
|
24276
|
-
const imageContainer$2 = "
|
|
24277
|
-
const roundStylePaymentMethod$1 = "
|
|
24278
|
-
const label$5 = "
|
|
24279
|
-
const mainLabel$2 = "
|
|
24280
|
-
const subLabel$2 = "
|
|
24281
|
-
const invalid$3 = "
|
|
24282
|
-
const rightAlign$3 = "
|
|
24283
|
-
const paymentMethodDisabled$2 = "
|
|
24284
|
-
const img$3 = "
|
|
24285
|
-
const round = "
|
|
24286
|
-
const branchNumber$1 = "
|
|
24287
|
-
const
|
|
24288
|
-
const
|
|
24289
|
-
const
|
|
24298
|
+
const wrapperClass$h = "_wrapperClass_zc3ck_1";
|
|
24299
|
+
const paymentMethodContainer$2 = "_paymentMethodContainer_zc3ck_1";
|
|
24300
|
+
const imageWrapper$1 = "_imageWrapper_zc3ck_6";
|
|
24301
|
+
const imageContainer$2 = "_imageContainer_zc3ck_10";
|
|
24302
|
+
const roundStylePaymentMethod$1 = "_roundStylePaymentMethod_zc3ck_19";
|
|
24303
|
+
const label$5 = "_label_zc3ck_23";
|
|
24304
|
+
const mainLabel$2 = "_mainLabel_zc3ck_30";
|
|
24305
|
+
const subLabel$2 = "_subLabel_zc3ck_37";
|
|
24306
|
+
const invalid$3 = "_invalid_zc3ck_46";
|
|
24307
|
+
const rightAlign$3 = "_rightAlign_zc3ck_58";
|
|
24308
|
+
const paymentMethodDisabled$2 = "_paymentMethodDisabled_zc3ck_63";
|
|
24309
|
+
const img$3 = "_img_zc3ck_68";
|
|
24310
|
+
const round = "_round_zc3ck_19";
|
|
24311
|
+
const branchNumber$1 = "_branchNumber_zc3ck_75";
|
|
24312
|
+
const balance = "_balance_zc3ck_81";
|
|
24313
|
+
const maintainanceInfo$2 = "_maintainanceInfo_zc3ck_87";
|
|
24314
|
+
const paymentInfo$2 = "_paymentInfo_zc3ck_93";
|
|
24315
|
+
const fullWidth = "_fullWidth_zc3ck_96";
|
|
24290
24316
|
var style0$1h = {
|
|
24291
24317
|
wrapperClass: wrapperClass$h,
|
|
24292
24318
|
paymentMethodContainer: paymentMethodContainer$2,
|
|
@@ -24302,6 +24328,7 @@ var style0$1h = {
|
|
|
24302
24328
|
img: img$3,
|
|
24303
24329
|
round,
|
|
24304
24330
|
branchNumber: branchNumber$1,
|
|
24331
|
+
balance,
|
|
24305
24332
|
maintainanceInfo: maintainanceInfo$2,
|
|
24306
24333
|
paymentInfo: paymentInfo$2,
|
|
24307
24334
|
fullWidth
|
|
@@ -24345,7 +24372,7 @@ const _sfc_main$1x = defineComponent({
|
|
|
24345
24372
|
const logo = bankInfo22 == null ? void 0 : bankInfo22.bankLogoUrl;
|
|
24346
24373
|
const name2 = bankInfo22 == null ? void 0 : bankInfo22.bankName;
|
|
24347
24374
|
let branchCode2 = bankInfo22 == null ? void 0 : bankInfo22.bankBranchCode;
|
|
24348
|
-
const
|
|
24375
|
+
const branchName2 = bankInfo22 == null ? void 0 : bankInfo22.bankBranchName;
|
|
24349
24376
|
const digits = bankInfo22 == null ? void 0 : bankInfo22.bankAccountNumberLast2digits;
|
|
24350
24377
|
if ((bankInfo22 == null ? void 0 : bankInfo22.bankCode) !== bankCode.YUCHO_BANK_CODE) {
|
|
24351
24378
|
branchCode2 = getTypeText$1((_b = bankInfo22 == null ? void 0 : bankInfo22.bankAccountType) != null ? _b : "");
|
|
@@ -24354,7 +24381,7 @@ const _sfc_main$1x = defineComponent({
|
|
|
24354
24381
|
logo,
|
|
24355
24382
|
name: name2,
|
|
24356
24383
|
branchCode: branchCode2,
|
|
24357
|
-
branchName,
|
|
24384
|
+
branchName: branchName2,
|
|
24358
24385
|
digits
|
|
24359
24386
|
};
|
|
24360
24387
|
});
|
|
@@ -24378,6 +24405,25 @@ const _sfc_main$1x = defineComponent({
|
|
|
24378
24405
|
}
|
|
24379
24406
|
emit("select");
|
|
24380
24407
|
};
|
|
24408
|
+
const balance2 = computed(() => {
|
|
24409
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
24410
|
+
const descInfo = (_a2 = props.bank) == null ? void 0 : _a2.paymentMethodDescriptionInfo;
|
|
24411
|
+
const bankInfo22 = (_b = props.bank) == null ? void 0 : _b.bankInfo;
|
|
24412
|
+
const label2 = (_d = (_c = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _c.label) != null ? _d : "";
|
|
24413
|
+
const currency = (_f = (_e = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _e.currency) != null ? _f : "\u5186";
|
|
24414
|
+
if (!(bankInfo22 == null ? void 0 : bankInfo22.showAmount)) {
|
|
24415
|
+
if (((_g = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _g.amount) == null) {
|
|
24416
|
+
return null;
|
|
24417
|
+
} else {
|
|
24418
|
+
return label2.concat("-------", currency);
|
|
24419
|
+
}
|
|
24420
|
+
} else {
|
|
24421
|
+
return label2.concat(
|
|
24422
|
+
formatAmount((_h = descInfo == null ? void 0 : descInfo.amountInfo) == null ? void 0 : _h.amount),
|
|
24423
|
+
currency
|
|
24424
|
+
);
|
|
24425
|
+
}
|
|
24426
|
+
});
|
|
24381
24427
|
return {
|
|
24382
24428
|
bankInfo: bankInfo2,
|
|
24383
24429
|
isDisable,
|
|
@@ -24389,6 +24435,7 @@ const _sfc_main$1x = defineComponent({
|
|
|
24389
24435
|
),
|
|
24390
24436
|
getClass: (isDisable == null ? void 0 : isDisable.value) ? style.paymentMethodDisabled : "",
|
|
24391
24437
|
style,
|
|
24438
|
+
balance: balance2,
|
|
24392
24439
|
payMethodDescriptionInfo: computed(
|
|
24393
24440
|
() => {
|
|
24394
24441
|
var _a2, _b, _c, _d;
|
|
@@ -24455,7 +24502,11 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24455
24502
|
createBaseVNode("span", {
|
|
24456
24503
|
class: normalizeClass(_ctx.style.branchNumber)
|
|
24457
24504
|
}, toDisplayString(`${_ctx.bankInfo.branchCode} *****${_ctx.bankInfo.digits}`), 3)
|
|
24458
|
-
])
|
|
24505
|
+
]),
|
|
24506
|
+
_ctx.balance ? (openBlock(), createElementBlock("div", {
|
|
24507
|
+
key: 1,
|
|
24508
|
+
class: normalizeClass(_ctx.style.balance)
|
|
24509
|
+
}, toDisplayString(_ctx.balance), 3)) : createCommentVNode("", true)
|
|
24459
24510
|
], 2),
|
|
24460
24511
|
createBaseVNode("span", {
|
|
24461
24512
|
class: normalizeClass(_ctx.style.rightAlign)
|
|
@@ -32842,21 +32893,21 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32842
32893
|
const cssModules$I = {};
|
|
32843
32894
|
cssModules$I["$style"] = style0$I;
|
|
32844
32895
|
var ChoosePaymentMethod = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__cssModules", cssModules$I]]);
|
|
32845
|
-
const container$g = "
|
|
32846
|
-
const slideSecondaryEnterActive$2 = "
|
|
32847
|
-
const slideSecondaryLeaveActive$2 = "
|
|
32848
|
-
const slideSecondaryEnterFrom$2 = "
|
|
32849
|
-
const topDivider = "
|
|
32850
|
-
const paddingHorizontal = "
|
|
32851
|
-
const header$1 = "
|
|
32852
|
-
const mount = "
|
|
32853
|
-
const blockSpacer = "
|
|
32854
|
-
const content$3 = "
|
|
32855
|
-
const gridRoot = "
|
|
32856
|
-
const listContainer = "
|
|
32857
|
-
const topupContainer = "
|
|
32896
|
+
const container$g = "_container_7uxwm_2";
|
|
32897
|
+
const slideSecondaryEnterActive$2 = "_slideSecondaryEnterActive_7uxwm_8";
|
|
32898
|
+
const slideSecondaryLeaveActive$2 = "_slideSecondaryLeaveActive_7uxwm_11";
|
|
32899
|
+
const slideSecondaryEnterFrom$2 = "_slideSecondaryEnterFrom_7uxwm_14";
|
|
32900
|
+
const topDivider = "_topDivider_7uxwm_44";
|
|
32901
|
+
const paddingHorizontal = "_paddingHorizontal_7uxwm_48";
|
|
32902
|
+
const header$1 = "_header_7uxwm_52";
|
|
32903
|
+
const mount = "_mount_7uxwm_57";
|
|
32904
|
+
const blockSpacer = "_blockSpacer_7uxwm_61";
|
|
32905
|
+
const content$3 = "_content_7uxwm_67";
|
|
32906
|
+
const gridRoot = "_gridRoot_7uxwm_84";
|
|
32907
|
+
const listContainer = "_listContainer_7uxwm_90";
|
|
32908
|
+
const topupContainer = "_topupContainer_7uxwm_101";
|
|
32858
32909
|
var style0$H = {
|
|
32859
|
-
"ppmna-default-font": "_ppmna-default-
|
|
32910
|
+
"ppmna-default-font": "_ppmna-default-font_7uxwm_1",
|
|
32860
32911
|
container: container$g,
|
|
32861
32912
|
slideSecondaryEnterActive: slideSecondaryEnterActive$2,
|
|
32862
32913
|
slideSecondaryLeaveActive: slideSecondaryLeaveActive$2,
|
|
@@ -33136,6 +33187,13 @@ const _sfc_main$W = defineComponent({
|
|
|
33136
33187
|
handleHeightChange();
|
|
33137
33188
|
}
|
|
33138
33189
|
};
|
|
33190
|
+
const getStyle = computed(() => {
|
|
33191
|
+
const { bottomHeight, headerHeight } = useGetHeightProperties();
|
|
33192
|
+
return (isMobile == null ? void 0 : isMobile.value) ? {
|
|
33193
|
+
maxHeight: `calc(100vh - ${bottomHeight}px - ${headerHeight}px)`,
|
|
33194
|
+
overflow: "auto"
|
|
33195
|
+
} : {};
|
|
33196
|
+
});
|
|
33139
33197
|
return {
|
|
33140
33198
|
balance: computed(
|
|
33141
33199
|
() => {
|
|
@@ -33181,7 +33239,8 @@ const _sfc_main$W = defineComponent({
|
|
|
33181
33239
|
addressSelect,
|
|
33182
33240
|
updateAddress,
|
|
33183
33241
|
handleUpdate,
|
|
33184
|
-
appealDescription
|
|
33242
|
+
appealDescription,
|
|
33243
|
+
getStyle
|
|
33185
33244
|
};
|
|
33186
33245
|
}
|
|
33187
33246
|
});
|
|
@@ -33202,7 +33261,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33202
33261
|
})
|
|
33203
33262
|
}, [
|
|
33204
33263
|
createBaseVNode("div", {
|
|
33205
|
-
class: normalizeClass(_ctx.style.gridRoot)
|
|
33264
|
+
class: normalizeClass(_ctx.style.gridRoot),
|
|
33265
|
+
style: normalizeStyle(_ctx.getStyle)
|
|
33206
33266
|
}, [
|
|
33207
33267
|
_ctx.isDesktop ? (openBlock(), createBlock(_component_DesktopHeader, {
|
|
33208
33268
|
key: 0,
|
|
@@ -33313,7 +33373,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33313
33373
|
]),
|
|
33314
33374
|
_: 1
|
|
33315
33375
|
}, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
|
|
33316
|
-
],
|
|
33376
|
+
], 6)
|
|
33317
33377
|
], 2);
|
|
33318
33378
|
}
|
|
33319
33379
|
const cssModules$H = {};
|
|
@@ -33453,20 +33513,20 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33453
33513
|
const cssModules$G = {};
|
|
33454
33514
|
cssModules$G["$style"] = style0$G;
|
|
33455
33515
|
var ThreeDSecureSheet = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__cssModules", cssModules$G]]);
|
|
33456
|
-
const makePayment$1 = "
|
|
33457
|
-
const slideSecondaryEnterActive$1 = "
|
|
33458
|
-
const slideSecondaryLeaveActive$1 = "
|
|
33459
|
-
const slideSecondaryEnterFrom$1 = "
|
|
33460
|
-
const topupPay = "
|
|
33461
|
-
const wrapperClass$6 = "
|
|
33462
|
-
const desktopBg = "
|
|
33463
|
-
const longHeightContainer = "
|
|
33464
|
-
const cashbackEnterActive = "
|
|
33465
|
-
const cashbackLeaveActive = "
|
|
33466
|
-
const cashbackEnterTo = "
|
|
33467
|
-
const cashbackLeaveTo = "
|
|
33516
|
+
const makePayment$1 = "_makePayment_1j8gu_2";
|
|
33517
|
+
const slideSecondaryEnterActive$1 = "_slideSecondaryEnterActive_1j8gu_8";
|
|
33518
|
+
const slideSecondaryLeaveActive$1 = "_slideSecondaryLeaveActive_1j8gu_11";
|
|
33519
|
+
const slideSecondaryEnterFrom$1 = "_slideSecondaryEnterFrom_1j8gu_14";
|
|
33520
|
+
const topupPay = "_topupPay_1j8gu_34";
|
|
33521
|
+
const wrapperClass$6 = "_wrapperClass_1j8gu_40";
|
|
33522
|
+
const desktopBg = "_desktopBg_1j8gu_40";
|
|
33523
|
+
const longHeightContainer = "_longHeightContainer_1j8gu_44";
|
|
33524
|
+
const cashbackEnterActive = "_cashbackEnterActive_1j8gu_47";
|
|
33525
|
+
const cashbackLeaveActive = "_cashbackLeaveActive_1j8gu_51";
|
|
33526
|
+
const cashbackEnterTo = "_cashbackEnterTo_1j8gu_55";
|
|
33527
|
+
const cashbackLeaveTo = "_cashbackLeaveTo_1j8gu_58";
|
|
33468
33528
|
var style0$F = {
|
|
33469
|
-
"ppmna-default-font": "_ppmna-default-
|
|
33529
|
+
"ppmna-default-font": "_ppmna-default-font_1j8gu_1",
|
|
33470
33530
|
makePayment: makePayment$1,
|
|
33471
33531
|
slideSecondaryEnterActive: slideSecondaryEnterActive$1,
|
|
33472
33532
|
slideSecondaryLeaveActive: slideSecondaryLeaveActive$1,
|
|
@@ -33620,6 +33680,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33620
33680
|
createVNode(_component_ActionSheet, {
|
|
33621
33681
|
class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.desktopBg]),
|
|
33622
33682
|
show: _ctx.show && !_ctx.makePaymentStore.uiState.showDuplicatePaymentEnd && !_ctx.makePaymentStore.errorState.visible && !_ctx.makePaymentStore.uiState.afterPayment,
|
|
33683
|
+
"forbidden-swipe": true,
|
|
33623
33684
|
onClose: _ctx.cancelPayment
|
|
33624
33685
|
}, {
|
|
33625
33686
|
default: withCtx(() => [
|
|
@@ -36520,7 +36581,7 @@ function inputAddress(params) {
|
|
|
36520
36581
|
initInputAddress(params);
|
|
36521
36582
|
}
|
|
36522
36583
|
async function getUserLocation(getUserLocationParams) {
|
|
36523
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
36584
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
36524
36585
|
const params = reconstructParams(getUserLocationParams);
|
|
36525
36586
|
try {
|
|
36526
36587
|
const grantStatus = await checkPermission(
|
|
@@ -36550,6 +36611,12 @@ async function getUserLocation(getUserLocationParams) {
|
|
|
36550
36611
|
return;
|
|
36551
36612
|
}
|
|
36552
36613
|
}
|
|
36614
|
+
if (params.fallbackToGeolocation === false) {
|
|
36615
|
+
(_n = params == null ? void 0 : params.fail) == null ? void 0 : _n.call(params, {
|
|
36616
|
+
errorCode: MiniAppErrorType.noLocationData
|
|
36617
|
+
});
|
|
36618
|
+
return;
|
|
36619
|
+
}
|
|
36553
36620
|
await new Promise((resolve2, _) => {
|
|
36554
36621
|
var _a3;
|
|
36555
36622
|
if (navigator.geolocation) {
|
|
@@ -36585,7 +36652,7 @@ async function getUserLocation(getUserLocationParams) {
|
|
|
36585
36652
|
}
|
|
36586
36653
|
});
|
|
36587
36654
|
} catch {
|
|
36588
|
-
(
|
|
36655
|
+
(_o = params == null ? void 0 : params.fail) == null ? void 0 : _o.call(params, { errorCode: MiniAppErrorType.other });
|
|
36589
36656
|
}
|
|
36590
36657
|
}
|
|
36591
36658
|
async function checkPaymentMethod(checkPayMethodParams) {
|
|
@@ -36634,7 +36701,7 @@ function debug(params) {
|
|
|
36634
36701
|
function execute$a(params) {
|
|
36635
36702
|
var _a2;
|
|
36636
36703
|
(_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
|
|
36637
|
-
v: "1.
|
|
36704
|
+
v: "1.68.0"
|
|
36638
36705
|
});
|
|
36639
36706
|
}
|
|
36640
36707
|
function useCallBack(props, ctx) {
|
|
@@ -40529,7 +40596,7 @@ const _sfc_main$p = defineComponent({
|
|
|
40529
40596
|
const logo = payoutInfo2 == null ? void 0 : payoutInfo2.bankLogoUrl;
|
|
40530
40597
|
const name2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankName;
|
|
40531
40598
|
let branchCode2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankBranchCode;
|
|
40532
|
-
const
|
|
40599
|
+
const branchName2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankBranchName;
|
|
40533
40600
|
const digits = payoutInfo2 == null ? void 0 : payoutInfo2.maskedAccountNumber;
|
|
40534
40601
|
if ((payoutInfo2 == null ? void 0 : payoutInfo2.bankCode) !== bankCode.YUCHO_BANK_CODE) {
|
|
40535
40602
|
branchCode2 = getTypeText((_a2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankAccountType) != null ? _a2 : "");
|
|
@@ -40538,7 +40605,7 @@ const _sfc_main$p = defineComponent({
|
|
|
40538
40605
|
logo,
|
|
40539
40606
|
name: name2,
|
|
40540
40607
|
branchCode: branchCode2,
|
|
40541
|
-
branchName,
|
|
40608
|
+
branchName: branchName2,
|
|
40542
40609
|
digits
|
|
40543
40610
|
};
|
|
40544
40611
|
});
|