@paypay/mini-app-js-sdk 1.66.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.
@@ -50,8 +50,8 @@ function normalizeNativeResponseData(data2) {
50
50
  }
51
51
  class JsBridge {
52
52
  constructor(global2) {
53
- this.version = "1.66.0";
54
- this.revision = "f8f8cf0";
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.66.0",
2103
+ "Client-Version": "1.68.0",
2103
2104
  "Client-OS-Type": getRuntime(),
2104
2105
  ...customHeaders
2105
2106
  });
@@ -8033,7 +8034,7 @@ var _export_sfc = (sfc, props) => {
8033
8034
  }
8034
8035
  return target;
8035
8036
  };
8036
- const _hoisted_1$_ = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
8037
+ const _hoisted_1$Z = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
8037
8038
  function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
8038
8039
  return openBlock(), createElementBlock("div", {
8039
8040
  class: normalizeClass(_ctx.$style.loading)
@@ -8044,7 +8045,7 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
8044
8045
  createBaseVNode("div", {
8045
8046
  class: normalizeClass(_ctx.$style.bounce2)
8046
8047
  }, null, 2),
8047
- _hoisted_1$_
8048
+ _hoisted_1$Z
8048
8049
  ], 2);
8049
8050
  }
8050
8051
  const cssModules$1t = {};
@@ -8740,7 +8741,7 @@ const _sfc_main$1I = defineComponent({
8740
8741
  getButtonType
8741
8742
  }
8742
8743
  });
8743
- const _hoisted_1$Z = ["src"];
8744
+ const _hoisted_1$Y = ["src"];
8744
8745
  function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
8745
8746
  const _component_Button = resolveComponent("Button");
8746
8747
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -8761,7 +8762,7 @@ function _sfc_render$1I(_ctx, _cache, $props, $setup, $data, $options) {
8761
8762
  class: normalizeClass(_ctx.style.errorIcon),
8762
8763
  style: normalizeStyle(_ctx.iconStyle),
8763
8764
  alt: ""
8764
- }, null, 14, _hoisted_1$Z)
8765
+ }, null, 14, _hoisted_1$Y)
8765
8766
  ], 2),
8766
8767
  _ctx.errorTitle ? (openBlock(), createElementBlock("div", {
8767
8768
  key: 0,
@@ -9708,7 +9709,7 @@ const _sfc_main$1F = defineComponent({
9708
9709
  };
9709
9710
  }
9710
9711
  });
9711
- const _hoisted_1$Y = ["src"];
9712
+ const _hoisted_1$X = ["src"];
9712
9713
  const _hoisted_2$r = ["src"];
9713
9714
  function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
9714
9715
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
@@ -9731,7 +9732,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
9731
9732
  src: _ctx.img_iconBalanceIcon,
9732
9733
  class: normalizeClass(_ctx.$style.img),
9733
9734
  alt: ""
9734
- }, null, 10, _hoisted_1$Y)
9735
+ }, null, 10, _hoisted_1$X)
9735
9736
  ], 2),
9736
9737
  createBaseVNode("div", {
9737
9738
  class: normalizeClass(_ctx.$style.walletContainer)
@@ -9908,7 +9909,7 @@ const _sfc_main$1E = defineComponent({
9908
9909
  };
9909
9910
  }
9910
9911
  });
9911
- const _hoisted_1$X = ["src"];
9912
+ const _hoisted_1$W = ["src"];
9912
9913
  const _hoisted_2$q = ["src"];
9913
9914
  function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
9914
9915
  return openBlock(), createElementBlock("div", {
@@ -9930,7 +9931,7 @@ function _sfc_render$1E(_ctx, _cache, $props, $setup, $data, $options) {
9930
9931
  class: normalizeClass([_ctx.style.cardImg, _ctx.creditInfo.style]),
9931
9932
  src: _ctx.creditInfo.logo,
9932
9933
  alt: ""
9933
- }, null, 10, _hoisted_1$X)) : createCommentVNode("", true)
9934
+ }, null, 10, _hoisted_1$W)) : createCommentVNode("", true)
9934
9935
  ], 2),
9935
9936
  createBaseVNode("div", {
9936
9937
  class: normalizeClass(_ctx.style.content)
@@ -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 = "_wrapperClass_14b0z_1";
9976
- const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_14b0z_1";
9977
- const img$8 = "_img_14b0z_4";
9978
- const imgContainer$3 = "_imgContainer_14b0z_19";
9979
- const roundStylePaymentType$2 = "_roundStylePaymentType_14b0z_27";
9980
- const main$3 = "_main_14b0z_33";
9981
- const sub$2 = "_sub_14b0z_49";
9982
- const makePayWithAddress$2 = "_makePayWithAddress_14b0z_59";
9983
- const makePaymentTypeContainer$2 = "_makePaymentTypeContainer_14b0z_64";
9984
- const arrowContainer$4 = "_arrowContainer_14b0z_69";
9985
- const arrowRight$2 = "_arrowRight_14b0z_72";
9986
- const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_14b0z_82";
9987
- const bankImg = "_bankImg_14b0z_91";
9988
- const branchCode = "_branchCode_14b0z_95";
9989
- const content$g = "_content_14b0z_103";
9990
- const roundContainer = "_roundContainer_14b0z_107";
9991
- const round$2 = "_round_14b0z_27";
9992
- const bankName = "_bankName_14b0z_113";
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 branchName = bankInfo22 == null ? void 0 : bankInfo22.bankBranchName;
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,18 +10057,34 @@ 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
  }
10065
10086
  });
10066
- const _hoisted_1$W = ["src"];
10087
+ const _hoisted_1$V = ["src"];
10067
10088
  function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
10068
10089
  return openBlock(), createElementBlock("div", {
10069
10090
  class: normalizeClass([
@@ -10087,7 +10108,7 @@ function _sfc_render$1D(_ctx, _cache, $props, $setup, $data, $options) {
10087
10108
  class: normalizeClass([_ctx.style.bankImg, { [_ctx.style.round]: _ctx.round }]),
10088
10109
  src: _ctx.bankInfo.logo,
10089
10110
  alt: ""
10090
- }, null, 10, _hoisted_1$W)
10111
+ }, null, 10, _hoisted_1$V)
10091
10112
  ], 2),
10092
10113
  createBaseVNode("div", {
10093
10114
  class: normalizeClass(_ctx.style.content)
@@ -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([
@@ -10187,7 +10212,7 @@ const _sfc_main$1C = defineComponent({
10187
10212
  };
10188
10213
  }
10189
10214
  });
10190
- const _hoisted_1$V = ["src"];
10215
+ const _hoisted_1$U = ["src"];
10191
10216
  function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
10192
10217
  return openBlock(), createElementBlock("div", {
10193
10218
  class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.container])
@@ -10197,7 +10222,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
10197
10222
  class: normalizeClass(_ctx.$style.sbidImg),
10198
10223
  src: _ctx.img_softbank,
10199
10224
  alt: ""
10200
- }, null, 10, _hoisted_1$V)
10225
+ }, null, 10, _hoisted_1$U)
10201
10226
  ]),
10202
10227
  createBaseVNode("span", {
10203
10228
  class: normalizeClass(_ctx.$style.content)
@@ -10288,7 +10313,7 @@ const _sfc_main$1B = defineComponent({
10288
10313
  };
10289
10314
  }
10290
10315
  });
10291
- const _hoisted_1$U = ["src"];
10316
+ const _hoisted_1$T = ["src"];
10292
10317
  function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
10293
10318
  return openBlock(), createElementBlock("div", {
10294
10319
  class: normalizeClass([
@@ -10305,7 +10330,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
10305
10330
  src: _ctx.img_payLater,
10306
10331
  class: normalizeClass(_ctx.$style.imageContainer),
10307
10332
  alt: ""
10308
- }, null, 10, _hoisted_1$U)
10333
+ }, null, 10, _hoisted_1$T)
10309
10334
  ]),
10310
10335
  createBaseVNode("div", {
10311
10336
  class: normalizeClass(_ctx.$style.container)
@@ -23941,7 +23966,7 @@ const _sfc_main$1z = defineComponent({
23941
23966
  };
23942
23967
  }
23943
23968
  });
23944
- const _hoisted_1$T = ["src"];
23969
+ const _hoisted_1$S = ["src"];
23945
23970
  function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
23946
23971
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
23947
23972
  return openBlock(), createElementBlock("div", {
@@ -23955,7 +23980,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
23955
23980
  class: normalizeClass(_ctx.style.img),
23956
23981
  src: _ctx.img_iconBalanceIcon,
23957
23982
  alt: ""
23958
- }, null, 10, _hoisted_1$T)
23983
+ }, null, 10, _hoisted_1$S)
23959
23984
  ], 2),
23960
23985
  createBaseVNode("div", {
23961
23986
  class: normalizeClass(_ctx.style.label)
@@ -24170,7 +24195,7 @@ const _sfc_main$1y = defineComponent({
24170
24195
  };
24171
24196
  }
24172
24197
  });
24173
- const _hoisted_1$S = ["src"];
24198
+ const _hoisted_1$R = ["src"];
24174
24199
  const _hoisted_2$p = ["src"];
24175
24200
  const _hoisted_3$b = ["onClick"];
24176
24201
  function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
@@ -24194,7 +24219,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
24194
24219
  src: _ctx.cardInfo.logo,
24195
24220
  class: normalizeClass([_ctx.style.img, _ctx.cardInfo.style]),
24196
24221
  alt: ""
24197
- }, null, 10, _hoisted_1$S)
24222
+ }, null, 10, _hoisted_1$R)
24198
24223
  ], 2)
24199
24224
  ], 2),
24200
24225
  createBaseVNode("div", {
@@ -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 = "_wrapperClass_6wfpf_1";
24274
- const paymentMethodContainer$2 = "_paymentMethodContainer_6wfpf_1";
24275
- const imageWrapper$1 = "_imageWrapper_6wfpf_6";
24276
- const imageContainer$2 = "_imageContainer_6wfpf_10";
24277
- const roundStylePaymentMethod$1 = "_roundStylePaymentMethod_6wfpf_19";
24278
- const label$5 = "_label_6wfpf_23";
24279
- const mainLabel$2 = "_mainLabel_6wfpf_30";
24280
- const subLabel$2 = "_subLabel_6wfpf_37";
24281
- const invalid$3 = "_invalid_6wfpf_46";
24282
- const rightAlign$3 = "_rightAlign_6wfpf_58";
24283
- const paymentMethodDisabled$2 = "_paymentMethodDisabled_6wfpf_63";
24284
- const img$3 = "_img_6wfpf_68";
24285
- const round = "_round_6wfpf_19";
24286
- const branchNumber$1 = "_branchNumber_6wfpf_75";
24287
- const maintainanceInfo$2 = "_maintainanceInfo_6wfpf_81";
24288
- const paymentInfo$2 = "_paymentInfo_6wfpf_87";
24289
- const fullWidth = "_fullWidth_6wfpf_90";
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 branchName = bankInfo22 == null ? void 0 : bankInfo22.bankBranchName;
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;
@@ -24408,7 +24455,7 @@ const _sfc_main$1x = defineComponent({
24408
24455
  };
24409
24456
  }
24410
24457
  });
24411
- const _hoisted_1$R = ["src"];
24458
+ const _hoisted_1$Q = ["src"];
24412
24459
  const _hoisted_2$o = ["onClick"];
24413
24460
  function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
24414
24461
  const _component_Button = resolveComponent("Button");
@@ -24431,7 +24478,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
24431
24478
  class: normalizeClass([_ctx.style.img, { [_ctx.style.round]: _ctx.round }]),
24432
24479
  src: _ctx.bankInfo.logo,
24433
24480
  alt: ""
24434
- }, null, 10, _hoisted_1$R)
24481
+ }, null, 10, _hoisted_1$Q)
24435
24482
  ], 2)
24436
24483
  ], 2),
24437
24484
  createBaseVNode("div", {
@@ -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)
@@ -24582,7 +24633,7 @@ const _sfc_main$1w = defineComponent({
24582
24633
  };
24583
24634
  }
24584
24635
  });
24585
- const _hoisted_1$Q = ["src"];
24636
+ const _hoisted_1$P = ["src"];
24586
24637
  const _hoisted_2$n = ["onClick"];
24587
24638
  function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
24588
24639
  const _component_Button = resolveComponent("Button");
@@ -24602,7 +24653,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
24602
24653
  class: normalizeClass(_ctx.style.img),
24603
24654
  src: _ctx.img_softbank,
24604
24655
  alt: ""
24605
- }, null, 10, _hoisted_1$Q)
24656
+ }, null, 10, _hoisted_1$P)
24606
24657
  ], 2),
24607
24658
  createBaseVNode("div", {
24608
24659
  class: normalizeClass(_ctx.style.content)
@@ -24749,7 +24800,7 @@ const _sfc_main$1v = defineComponent({
24749
24800
  };
24750
24801
  }
24751
24802
  });
24752
- const _hoisted_1$P = ["src"];
24803
+ const _hoisted_1$O = ["src"];
24753
24804
  const _hoisted_2$m = ["onClick"];
24754
24805
  function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
24755
24806
  const _component_Button = resolveComponent("Button");
@@ -24770,7 +24821,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
24770
24821
  class: normalizeClass(_ctx.$style.img),
24771
24822
  src: _ctx.img_payLater,
24772
24823
  alt: ""
24773
- }, null, 10, _hoisted_1$P)
24824
+ }, null, 10, _hoisted_1$O)
24774
24825
  ], 2),
24775
24826
  createBaseVNode("div", {
24776
24827
  class: normalizeClass(_ctx.$style.content)
@@ -24928,14 +24979,12 @@ const _sfc_main$1u = defineComponent({
24928
24979
  };
24929
24980
  }
24930
24981
  });
24931
- const _hoisted_1$O = ["aria-selected"];
24932
24982
  function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
24933
24983
  const _component_PaymentMethod = resolveComponent("PaymentMethod");
24934
24984
  return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paymentMethods, (paymentMethod2, index2) => {
24935
24985
  return openBlock(), createElementBlock("div", {
24936
24986
  key: paymentMethod2.paymentMethodId,
24937
- role: "option",
24938
- "aria-selected": index2 === _ctx.selectPaymentIndex,
24987
+ role: "listitem",
24939
24988
  class: normalizeClass([
24940
24989
  _ctx.style.wrapperClass,
24941
24990
  { [_ctx.style.methodItem]: true, [_ctx.style.topupMethodItem]: _ctx.isTopup }
@@ -24960,7 +25009,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
24960
25009
  "ignore-bank-maintenance-flag": _ctx.ignoreBankMaintenanceFlag,
24961
25010
  onSelect: ($event) => _ctx.select(index2)
24962
25011
  }, null, 8, ["payment-method", "ignore-bank-maintenance-flag", "onSelect"])
24963
- ], 10, _hoisted_1$O);
25012
+ ], 2);
24964
25013
  }), 128);
24965
25014
  }
24966
25015
  const cssModules$1e = {};
@@ -32844,21 +32893,21 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
32844
32893
  const cssModules$I = {};
32845
32894
  cssModules$I["$style"] = style0$I;
32846
32895
  var ChoosePaymentMethod = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__cssModules", cssModules$I]]);
32847
- const container$g = "_container_32w5m_2";
32848
- const slideSecondaryEnterActive$2 = "_slideSecondaryEnterActive_32w5m_8";
32849
- const slideSecondaryLeaveActive$2 = "_slideSecondaryLeaveActive_32w5m_11";
32850
- const slideSecondaryEnterFrom$2 = "_slideSecondaryEnterFrom_32w5m_14";
32851
- const topDivider = "_topDivider_32w5m_44";
32852
- const paddingHorizontal = "_paddingHorizontal_32w5m_48";
32853
- const header$1 = "_header_32w5m_52";
32854
- const mount = "_mount_32w5m_57";
32855
- const blockSpacer = "_blockSpacer_32w5m_61";
32856
- const content$3 = "_content_32w5m_67";
32857
- const gridRoot = "_gridRoot_32w5m_83";
32858
- const listContainer = "_listContainer_32w5m_89";
32859
- const topupContainer = "_topupContainer_32w5m_100";
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";
32860
32909
  var style0$H = {
32861
- "ppmna-default-font": "_ppmna-default-font_32w5m_1",
32910
+ "ppmna-default-font": "_ppmna-default-font_7uxwm_1",
32862
32911
  container: container$g,
32863
32912
  slideSecondaryEnterActive: slideSecondaryEnterActive$2,
32864
32913
  slideSecondaryLeaveActive: slideSecondaryLeaveActive$2,
@@ -33138,6 +33187,13 @@ const _sfc_main$W = defineComponent({
33138
33187
  handleHeightChange();
33139
33188
  }
33140
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
+ });
33141
33197
  return {
33142
33198
  balance: computed(
33143
33199
  () => {
@@ -33183,7 +33239,8 @@ const _sfc_main$W = defineComponent({
33183
33239
  addressSelect,
33184
33240
  updateAddress,
33185
33241
  handleUpdate,
33186
- appealDescription
33242
+ appealDescription,
33243
+ getStyle
33187
33244
  };
33188
33245
  }
33189
33246
  });
@@ -33204,7 +33261,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
33204
33261
  })
33205
33262
  }, [
33206
33263
  createBaseVNode("div", {
33207
- class: normalizeClass(_ctx.style.gridRoot)
33264
+ class: normalizeClass(_ctx.style.gridRoot),
33265
+ style: normalizeStyle(_ctx.getStyle)
33208
33266
  }, [
33209
33267
  _ctx.isDesktop ? (openBlock(), createBlock(_component_DesktopHeader, {
33210
33268
  key: 0,
@@ -33315,7 +33373,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
33315
33373
  ]),
33316
33374
  _: 1
33317
33375
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
33318
- ], 2)
33376
+ ], 6)
33319
33377
  ], 2);
33320
33378
  }
33321
33379
  const cssModules$H = {};
@@ -33455,20 +33513,20 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
33455
33513
  const cssModules$G = {};
33456
33514
  cssModules$G["$style"] = style0$G;
33457
33515
  var ThreeDSecureSheet = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__cssModules", cssModules$G]]);
33458
- const makePayment$1 = "_makePayment_ugdji_2";
33459
- const slideSecondaryEnterActive$1 = "_slideSecondaryEnterActive_ugdji_8";
33460
- const slideSecondaryLeaveActive$1 = "_slideSecondaryLeaveActive_ugdji_11";
33461
- const slideSecondaryEnterFrom$1 = "_slideSecondaryEnterFrom_ugdji_14";
33462
- const topupPay = "_topupPay_ugdji_39";
33463
- const wrapperClass$6 = "_wrapperClass_ugdji_45";
33464
- const desktopBg = "_desktopBg_ugdji_45";
33465
- const longHeightContainer = "_longHeightContainer_ugdji_49";
33466
- const cashbackEnterActive = "_cashbackEnterActive_ugdji_52";
33467
- const cashbackLeaveActive = "_cashbackLeaveActive_ugdji_56";
33468
- const cashbackEnterTo = "_cashbackEnterTo_ugdji_60";
33469
- const cashbackLeaveTo = "_cashbackLeaveTo_ugdji_63";
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";
33470
33528
  var style0$F = {
33471
- "ppmna-default-font": "_ppmna-default-font_ugdji_1",
33529
+ "ppmna-default-font": "_ppmna-default-font_1j8gu_1",
33472
33530
  makePayment: makePayment$1,
33473
33531
  slideSecondaryEnterActive: slideSecondaryEnterActive$1,
33474
33532
  slideSecondaryLeaveActive: slideSecondaryLeaveActive$1,
@@ -33622,6 +33680,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
33622
33680
  createVNode(_component_ActionSheet, {
33623
33681
  class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.desktopBg]),
33624
33682
  show: _ctx.show && !_ctx.makePaymentStore.uiState.showDuplicatePaymentEnd && !_ctx.makePaymentStore.errorState.visible && !_ctx.makePaymentStore.uiState.afterPayment,
33683
+ "forbidden-swipe": true,
33625
33684
  onClose: _ctx.cancelPayment
33626
33685
  }, {
33627
33686
  default: withCtx(() => [
@@ -36522,7 +36581,7 @@ function inputAddress(params) {
36522
36581
  initInputAddress(params);
36523
36582
  }
36524
36583
  async function getUserLocation(getUserLocationParams) {
36525
- 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;
36526
36585
  const params = reconstructParams(getUserLocationParams);
36527
36586
  try {
36528
36587
  const grantStatus = await checkPermission(
@@ -36552,6 +36611,12 @@ async function getUserLocation(getUserLocationParams) {
36552
36611
  return;
36553
36612
  }
36554
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
+ }
36555
36620
  await new Promise((resolve2, _) => {
36556
36621
  var _a3;
36557
36622
  if (navigator.geolocation) {
@@ -36587,7 +36652,7 @@ async function getUserLocation(getUserLocationParams) {
36587
36652
  }
36588
36653
  });
36589
36654
  } catch {
36590
- (_n = params == null ? void 0 : params.fail) == null ? void 0 : _n.call(params, { errorCode: MiniAppErrorType.other });
36655
+ (_o = params == null ? void 0 : params.fail) == null ? void 0 : _o.call(params, { errorCode: MiniAppErrorType.other });
36591
36656
  }
36592
36657
  }
36593
36658
  async function checkPaymentMethod(checkPayMethodParams) {
@@ -36636,7 +36701,7 @@ function debug(params) {
36636
36701
  function execute$a(params) {
36637
36702
  var _a2;
36638
36703
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
36639
- v: "1.66.0"
36704
+ v: "1.68.0"
36640
36705
  });
36641
36706
  }
36642
36707
  function useCallBack(props, ctx) {
@@ -40531,7 +40596,7 @@ const _sfc_main$p = defineComponent({
40531
40596
  const logo = payoutInfo2 == null ? void 0 : payoutInfo2.bankLogoUrl;
40532
40597
  const name2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankName;
40533
40598
  let branchCode2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankBranchCode;
40534
- const branchName = payoutInfo2 == null ? void 0 : payoutInfo2.bankBranchName;
40599
+ const branchName2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankBranchName;
40535
40600
  const digits = payoutInfo2 == null ? void 0 : payoutInfo2.maskedAccountNumber;
40536
40601
  if ((payoutInfo2 == null ? void 0 : payoutInfo2.bankCode) !== bankCode.YUCHO_BANK_CODE) {
40537
40602
  branchCode2 = getTypeText((_a2 = payoutInfo2 == null ? void 0 : payoutInfo2.bankAccountType) != null ? _a2 : "");
@@ -40540,7 +40605,7 @@ const _sfc_main$p = defineComponent({
40540
40605
  logo,
40541
40606
  name: name2,
40542
40607
  branchCode: branchCode2,
40543
- branchName,
40608
+ branchName: branchName2,
40544
40609
  digits
40545
40610
  };
40546
40611
  });