@paypay/mini-app-js-sdk 1.72.0 → 1.73.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.
Files changed (62) hide show
  1. package/dist/mini-app-js-sdk.browser.js +1 -1
  2. package/dist/mini-app-js-sdk.es.js +203 -173
  3. package/dist/mini-app-js-sdk.min.css +1 -1
  4. package/dist/package/payment-method/PayLaterCC.vue.d.ts +24 -503
  5. package/dist/package/payment-method/SbidBank.vue.d.ts +0 -34
  6. package/dist/package/payment-method/Wallet.vue.d.ts +18 -496
  7. package/dist/package/payment-type/PayLaterCC.vue.d.ts +18 -497
  8. package/dist/package/payment-type/Sbid.vue.d.ts +0 -34
  9. package/dist/package/payment-type/Wallet.vue.d.ts +18 -496
  10. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +20 -498
  11. package/dist/resources/en.d.ts +0 -34
  12. package/dist/resources/images.d.ts +0 -1
  13. package/dist/resources/ja.d.ts +0 -34
  14. package/dist/utils/getLanguage.d.ts +0 -34
  15. package/dist/utils/helper.d.ts +1 -0
  16. package/dist/utils/remoteString.d.ts +6 -0
  17. package/dist/views/error-sheet/Index.vue.d.ts +0 -34
  18. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +0 -34
  19. package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +0 -34
  20. package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +0 -34
  21. package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +0 -34
  22. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +0 -34
  23. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +0 -34
  24. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +0 -34
  25. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +0 -34
  26. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +0 -34
  27. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +0 -34
  28. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +0 -34
  29. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +0 -34
  30. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +0 -34
  31. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +0 -34
  32. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +0 -34
  33. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +0 -34
  34. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +0 -34
  35. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +0 -34
  36. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +0 -34
  37. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +0 -34
  38. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +0 -34
  39. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +0 -34
  40. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +0 -34
  41. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +18 -496
  42. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +0 -34
  43. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +0 -34
  44. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +0 -34
  45. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +0 -34
  46. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +0 -34
  47. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +0 -34
  48. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +0 -34
  49. package/dist/views/open-app/App.vue.d.ts +0 -34
  50. package/dist/views/open-map/App.vue.d.ts +0 -34
  51. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +0 -34
  52. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +0 -34
  53. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +0 -34
  54. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +0 -34
  55. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +0 -34
  56. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +0 -34
  57. package/dist/views/show-update-warning/App.vue.d.ts +0 -34
  58. package/dist/views/sms-auth/App.vue.d.ts +6 -0
  59. package/dist/views/topup/App.vue.d.ts +39 -516
  60. package/dist/views/topup/CashbackInfo.vue.d.ts +18 -496
  61. package/dist/views/topup/TopupCompletion.vue.d.ts +0 -34
  62. 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.72.0";
54
- this.revision = "ba14088";
53
+ this.version = "1.73.0";
54
+ this.revision = "e7d1b36";
55
55
  this.messageHandlers = /* @__PURE__ */ new Map();
56
56
  this.responseCallbacks = /* @__PURE__ */ new Map();
57
57
  this.global = global2;
@@ -1007,20 +1007,6 @@ const ja$1 = {
1007
1007
  title: "\u30DE\u30C3\u30D7\u3067\u958B\u304F",
1008
1008
  errorText: "\u3053\u306E\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306E\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044"
1009
1009
  },
1010
- topup: {
1011
- title: "\u30C1\u30E3\u30FC\u30B8",
1012
- balMoney: "\u30C1\u30E3\u30FC\u30B8\u5F8C\u306E\u6B8B\u9AD8",
1013
- charge: "\u30C1\u30E3\u30FC\u30B8\u91D1\u984D\u3092\u9078\u629E",
1014
- minAmount: "{amount}\u5186\u304B\u3089\u30C1\u30E3\u30FC\u30B8\u3067\u304D\u307E\u3059",
1015
- maxAmount: "\u30C1\u30E3\u30FC\u30B8\u9650\u5EA6\u984D\u3092\u8D85\u904E\u3057\u3066\u3044\u307E\u3059",
1016
- moneyLabel: "\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5",
1017
- noMethod: "\u5229\u7528\u53EF\u80FD\u306A\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5\u304C\u3042\u308A\u307E\u305B\u3093\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u306E\u7BA1\u7406\u300D\u3088\u308A\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044",
1018
- loading: "PayPay\u6B8B\u9AD8\u306B\u30C1\u30E3\u30FC\u30B8\u3092\u3057\u3066\u3044\u307E\u3059",
1019
- payBtn: "\u5186\u3092\u30C1\u30E3\u30FC\u30B8\u3059\u308B",
1020
- availableBalance: "\u73FE\u5728\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
1021
- availableBalanceAfter: "\u30C1\u30E3\u30FC\u30B8\u5F8C\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
1022
- allBalance: "\u6B8B\u9AD8\u7DCF\u984D"
1023
- },
1024
1010
  payment: {
1025
1011
  title: "\u652F\u6255\u3044",
1026
1012
  payAmount: "\u652F\u6255\u3044\u91D1\u984D\uFF08\u7A0E\u8FBC\uFF09",
@@ -1082,12 +1068,6 @@ const ja$1 = {
1082
1068
  amount: "\u5186\u3092\u30C1\u30E3\u30FC\u30B8\u3057\u3066\u652F\u6255\u3046",
1083
1069
  return: "\u3082\u3069\u308B"
1084
1070
  },
1085
- topInfo: {
1086
- sufficientRow: "PayPay\u6B8B\u9AD8 (\u5229\u7528\u53EF\u80FD\u984D)",
1087
- insufficientAmount: "\u4E0D\u8DB3\u91D1",
1088
- insufficientAmountText: "\u6B8B\u9AD8\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059",
1089
- paymentAmount: "\u652F\u6255\u3044\u91D1\u984D\uFF08\u7A0E\u8FBC\uFF09"
1090
- },
1091
1071
  choosePayment: {
1092
1072
  title: "\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5\u306E\u9078\u629E",
1093
1073
  desc1: "\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5\u306E\u8FFD\u52A0\u306F\u3001",
@@ -1167,20 +1147,6 @@ const ja$1 = {
1167
1147
  BUSY: "\u5229\u7528\u4E0D\u53EF",
1168
1148
  SUSPENDED: "\u5229\u7528\u4E0D\u53EF"
1169
1149
  },
1170
- wallet: {
1171
- title: "PayPay\u6B8B\u9AD8",
1172
- desc: "\u5185\u8A33\u3092\u898B\u308B",
1173
- eMoney: "PayPay\u30DE\u30CD\u30FC",
1174
- nonUsable: "PayPay\u30DE\u30CD\u30FC\u30E9\u30A4\u30C8",
1175
- cashBackUsable: "PayPay\u30DD\u30A4\u30F3\u30C8",
1176
- cashBackExpirable: "PayPay\u30DC\u30FC\u30CA\u30B9\u30E9\u30A4\u30C8",
1177
- balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A",
1178
- autoCharge: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8"
1179
- },
1180
- payLater: {
1181
- title: "PayPay\u3042\u3068\u6255\u3044",
1182
- balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A"
1183
- },
1184
1150
  softbank: {
1185
1151
  desc: "\u30BD\u30D5\u30C8\u30D0\u30F3\u30AF\u30FB\u30EF\u30A4\u30E2\u30D0\u30A4\u30EB",
1186
1152
  desc1: "\u307E\u3068\u3081\u3066\u652F\u6255\u3044",
@@ -1575,7 +1541,7 @@ var UIComponentsButtonType = /* @__PURE__ */ ((UIComponentsButtonType2) => {
1575
1541
  UIComponentsButtonType2["WHITE"] = "WHITE";
1576
1542
  return UIComponentsButtonType2;
1577
1543
  })(UIComponentsButtonType || {});
1578
- async function topup$2(queryParams, body2) {
1544
+ async function topup$3(queryParams, body2) {
1579
1545
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
1580
1546
  const res = await ppFetch2({
1581
1547
  method: "POST",
@@ -2096,6 +2062,14 @@ function getValueFromUA(paramName) {
2096
2062
  return match == null ? void 0 : match[1];
2097
2063
  }
2098
2064
  }
2065
+ function validateUrl(url2) {
2066
+ try {
2067
+ new URL(url2);
2068
+ return true;
2069
+ } catch (_) {
2070
+ return false;
2071
+ }
2072
+ }
2099
2073
  const opaUrl = () => {
2100
2074
  switch (getEnv()) {
2101
2075
  case "staging":
@@ -2116,7 +2090,7 @@ const opaUrl = () => {
2116
2090
  const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
2117
2091
  const headers = new Headers({
2118
2092
  "Content-Type": "application/json",
2119
- "Client-Version": "1.72.0",
2093
+ "Client-Version": "1.73.0",
2120
2094
  "Client-OS-Type": getRuntime(),
2121
2095
  ...customHeaders
2122
2096
  });
@@ -7904,9 +7878,73 @@ const OTTLoginState = reactive({
7904
7878
  this.isJustLoggedIn = value2;
7905
7879
  }
7906
7880
  });
7881
+ const wallet = {
7882
+ title: "PayPay\u6B8B\u9AD8",
7883
+ desc: "\u5185\u8A33\u3092\u898B\u308B",
7884
+ eMoney: "PayPay\u30DE\u30CD\u30FC",
7885
+ nonUsable: "PayPay\u30DE\u30CD\u30FC\u30E9\u30A4\u30C8",
7886
+ cashBackUsable: "PayPay\u30DD\u30A4\u30F3\u30C8",
7887
+ cashBackExpirable: "PayPay\u30DC\u30FC\u30CA\u30B9\u30E9\u30A4\u30C8",
7888
+ balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A",
7889
+ autoCharge: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8"
7890
+ };
7891
+ const payLater = {
7892
+ title: "PayPay\u3042\u3068\u6255\u3044",
7893
+ balance: "\u5229\u7528\u53EF\u80FD\u984D\uFF1A",
7894
+ img: "https://image.paypay.ne.jp/miniapps/mini-app-sdk/paylater.svg"
7895
+ };
7896
+ const topInfo = {
7897
+ sufficientRow: "PayPay\u6B8B\u9AD8 (\u5229\u7528\u53EF\u80FD\u984D)",
7898
+ insufficientAmount: "\u4E0D\u8DB3\u91D1",
7899
+ insufficientAmountText: "\u6B8B\u9AD8\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059",
7900
+ paymentAmount: "\u652F\u6255\u3044\u91D1\u984D\uFF08\u7A0E\u8FBC\uFF09"
7901
+ };
7902
+ const topup$2 = {
7903
+ title: "\u30C1\u30E3\u30FC\u30B8",
7904
+ balMoney: "\u30C1\u30E3\u30FC\u30B8\u5F8C\u306E\u6B8B\u9AD8",
7905
+ charge: "\u30C1\u30E3\u30FC\u30B8\u91D1\u984D\u3092\u9078\u629E",
7906
+ minAmount: "{amount}\u5186\u304B\u3089\u30C1\u30E3\u30FC\u30B8\u3067\u304D\u307E\u3059",
7907
+ maxAmount: "\u30C1\u30E3\u30FC\u30B8\u9650\u5EA6\u984D\u3092\u8D85\u904E\u3057\u3066\u3044\u307E\u3059",
7908
+ moneyLabel: "\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5",
7909
+ noMethod: "\u5229\u7528\u53EF\u80FD\u306A\u30C1\u30E3\u30FC\u30B8\u65B9\u6CD5\u304C\u3042\u308A\u307E\u305B\u3093\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u306E\u7BA1\u7406\u300D\u3088\u308A\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044",
7910
+ loading: "PayPay\u6B8B\u9AD8\u306B\u30C1\u30E3\u30FC\u30B8\u3092\u3057\u3066\u3044\u307E\u3059",
7911
+ payBtn: "\u5186\u3092\u30C1\u30E3\u30FC\u30B8\u3059\u308B",
7912
+ availableBalance: "\u73FE\u5728\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
7913
+ availableBalanceAfter: "\u30C1\u30E3\u30FC\u30B8\u5F8C\u306E\u5229\u7528\u53EF\u80FD\u6B8B\u9AD8",
7914
+ allBalance: "\u6B8B\u9AD8\u7DCF\u984D"
7915
+ };
7916
+ var strings = {
7917
+ wallet,
7918
+ payLater,
7919
+ topInfo,
7920
+ topup: topup$2
7921
+ };
7922
+ const remoteStrings = ref(strings);
7923
+ let initialized = false;
7924
+ function useRemoteStrings() {
7925
+ if (!initialized) {
7926
+ initialized = true;
7927
+ getRemoteStrings();
7928
+ }
7929
+ return remoteStrings;
7930
+ }
7931
+ function getRemoteStrings() {
7932
+ const url2 = `https://static.paypay.ne.jp/libs/mini-app-js-sdk/i18n/ja-remote${getEnv() === "staging" ? "-stg" : ""}.json`;
7933
+ fetch(url2).then((resp) => {
7934
+ if (200 <= resp.status && resp.status < 300) {
7935
+ return resp.json();
7936
+ }
7937
+ throw new Error(resp.statusText);
7938
+ }).then((json) => {
7939
+ remoteStrings.value = json;
7940
+ }).catch(() => {
7941
+ console.warn("Remote strings fetching failed");
7942
+ });
7943
+ }
7907
7944
  async function init(params) {
7908
7945
  const newParams = reconstructParams(params);
7909
7946
  await execute$h(newParams);
7947
+ useRemoteStrings();
7910
7948
  }
7911
7949
  function checkAppVersion() {
7912
7950
  const appVersion = getAppVersion();
@@ -8605,7 +8643,6 @@ const img_paypayRecWhite = url("icon-paypay-rec-white.svg");
8605
8643
  const img_downArrow = url("icon-arrow-down.svg");
8606
8644
  const img_bankIcon = url("bank.svg");
8607
8645
  const img_confetti = url("animation/confetti.json");
8608
- const img_payLater = url("paylater.svg");
8609
8646
  const img_iconPen = url("icon-pen.svg");
8610
8647
  const img_iconInputClear = url("icon-input-clear.svg");
8611
8648
  const img_iconRightArrowGray = url("icon-arrow-right-gray.svg");
@@ -9608,11 +9645,12 @@ const _sfc_main$1G = defineComponent({
9608
9645
  showExpirableBalance: cashBackExpirableBalanceInfo && (cashBackExpirableBalanceInfo == null ? void 0 : cashBackExpirableBalanceInfo.balance) > 0
9609
9646
  };
9610
9647
  });
9648
+ const remoteStrings2 = useRemoteStrings();
9611
9649
  return {
9612
9650
  walletDetail,
9613
- lg: getLanguage(),
9614
9651
  openBreakDown,
9615
- toggleBreakDown
9652
+ toggleBreakDown,
9653
+ remoteStrings: remoteStrings2
9616
9654
  };
9617
9655
  }
9618
9656
  });
@@ -9625,7 +9663,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
9625
9663
  class: normalizeClass(_ctx.$style.breakDownEnter),
9626
9664
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.toggleBreakDown && _ctx.toggleBreakDown(...args), ["stop"]))
9627
9665
  }, [
9628
- createTextVNode(toDisplayString(_ctx.lg.wallet.desc), 1),
9666
+ createTextVNode(toDisplayString(_ctx.remoteStrings.wallet.desc), 1),
9629
9667
  createBaseVNode("em", {
9630
9668
  class: normalizeClass({
9631
9669
  [_ctx.$style.breakDownIconReverse]: _ctx.openBreakDown,
@@ -9648,19 +9686,19 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
9648
9686
  createBaseVNode("li", {
9649
9687
  class: normalizeClass({ [_ctx.$style.nonUsable]: !_ctx.walletDetail.emoneyUsable })
9650
9688
  }, [
9651
- createBaseVNode("span", null, toDisplayString(_ctx.lg.wallet.eMoney), 1),
9689
+ createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.wallet.eMoney), 1),
9652
9690
  createBaseVNode("span", null, toDisplayString(_ctx.walletDetail.emoney) + "\u5186", 1)
9653
9691
  ], 2),
9654
9692
  createBaseVNode("li", {
9655
9693
  class: normalizeClass({ [_ctx.$style.nonUsable]: !_ctx.walletDetail.prepaidUsable })
9656
9694
  }, [
9657
- createBaseVNode("span", null, toDisplayString(_ctx.lg.wallet.nonUsable), 1),
9695
+ createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.wallet.nonUsable), 1),
9658
9696
  createBaseVNode("span", null, toDisplayString(_ctx.walletDetail.prepaid) + "\u5186", 1)
9659
9697
  ], 2),
9660
9698
  createBaseVNode("li", {
9661
9699
  class: normalizeClass({ [_ctx.$style.nonUsable]: !_ctx.walletDetail.cashBackUsable })
9662
9700
  }, [
9663
- createBaseVNode("span", null, toDisplayString(_ctx.lg.wallet.cashBackUsable), 1),
9701
+ createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.wallet.cashBackUsable), 1),
9664
9702
  createBaseVNode("span", null, toDisplayString(_ctx.walletDetail.cashBack) + "pt", 1)
9665
9703
  ], 2),
9666
9704
  _ctx.walletDetail.showExpirableBalance ? (openBlock(), createElementBlock("li", {
@@ -9669,7 +9707,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
9669
9707
  [_ctx.$style.nonUsable]: !_ctx.walletDetail.cashBackExpirebleUsable
9670
9708
  })
9671
9709
  }, [
9672
- createBaseVNode("span", null, toDisplayString(_ctx.lg.wallet.cashBackExpirable), 1),
9710
+ createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.wallet.cashBackExpirable), 1),
9673
9711
  createBaseVNode("span", null, toDisplayString(_ctx.walletDetail.cashBackExpirable) + "pt", 1)
9674
9712
  ], 2)) : createCommentVNode("", true)
9675
9713
  ])
@@ -9756,10 +9794,11 @@ const _sfc_main$1F = defineComponent({
9756
9794
  var _a2, _b;
9757
9795
  return (_b = (_a2 = props == null ? void 0 : props.wallet) == null ? void 0 : _a2.walletInfo) == null ? void 0 : _b.isPreTransactionAutoChargeEnabled;
9758
9796
  });
9797
+ const remoteStrings2 = useRemoteStrings();
9759
9798
  return {
9760
9799
  formattedBalance,
9761
9800
  img_iconBalanceIcon,
9762
- lg: getLanguage(),
9801
+ remoteStrings: remoteStrings2,
9763
9802
  img_checkGreen,
9764
9803
  isDesktop,
9765
9804
  isPreTransactionAutoChargeEnabled
@@ -9797,10 +9836,10 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
9797
9836
  createBaseVNode("div", {
9798
9837
  class: normalizeClass(_ctx.$style.main),
9799
9838
  "data-testid": "wallet-type-title"
9800
- }, toDisplayString(_ctx.lg.wallet.title), 3),
9839
+ }, toDisplayString(_ctx.remoteStrings.wallet.title), 3),
9801
9840
  createBaseVNode("div", {
9802
9841
  class: normalizeClass(_ctx.$style.subTitle)
9803
- }, toDisplayString(_ctx.lg.wallet.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3),
9842
+ }, toDisplayString(_ctx.remoteStrings.wallet.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3),
9804
9843
  _ctx.isPreTransactionAutoChargeEnabled ? (openBlock(), createElementBlock("div", {
9805
9844
  key: 0,
9806
9845
  class: normalizeClass(_ctx.$style.chargeContainer)
@@ -9812,7 +9851,7 @@ function _sfc_render$1F(_ctx, _cache, $props, $setup, $data, $options) {
9812
9851
  }, null, 10, _hoisted_2$r),
9813
9852
  createBaseVNode("span", {
9814
9853
  class: normalizeClass(_ctx.$style.autoCharge)
9815
- }, toDisplayString(_ctx.lg.wallet.autoCharge), 3)
9854
+ }, toDisplayString(_ctx.remoteStrings.wallet.autoCharge), 3)
9816
9855
  ], 2)) : createCommentVNode("", true),
9817
9856
  _ctx.isDesktop ? (openBlock(), createBlock(_component_WalletBreakdown, {
9818
9857
  key: 1,
@@ -10358,6 +10397,7 @@ const _sfc_main$1B = defineComponent({
10358
10397
  }
10359
10398
  },
10360
10399
  setup(props) {
10400
+ const remoteStrings2 = useRemoteStrings();
10361
10401
  return {
10362
10402
  formattedBalance: computed(
10363
10403
  () => {
@@ -10365,8 +10405,7 @@ const _sfc_main$1B = defineComponent({
10365
10405
  return formatAmount((_b = (_a2 = props == null ? void 0 : props.payLater) == null ? void 0 : _a2.payLaterCcInfo) == null ? void 0 : _b.availableAmount);
10366
10406
  }
10367
10407
  ),
10368
- img_payLater,
10369
- lg: getLanguage()
10408
+ remoteStrings: remoteStrings2
10370
10409
  };
10371
10410
  }
10372
10411
  });
@@ -10384,7 +10423,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
10384
10423
  }, [
10385
10424
  createBaseVNode("div", null, [
10386
10425
  createBaseVNode("img", {
10387
- src: _ctx.img_payLater,
10426
+ src: _ctx.remoteStrings.payLater.img,
10388
10427
  class: normalizeClass(_ctx.$style.imageContainer),
10389
10428
  alt: ""
10390
10429
  }, null, 10, _hoisted_1$T)
@@ -10394,10 +10433,10 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
10394
10433
  }, [
10395
10434
  createBaseVNode("div", {
10396
10435
  class: normalizeClass(_ctx.$style.main)
10397
- }, toDisplayString(_ctx.lg.payLater.title), 3),
10436
+ }, toDisplayString(_ctx.remoteStrings.payLater.title), 3),
10398
10437
  createBaseVNode("div", {
10399
10438
  class: normalizeClass(_ctx.$style.subTitle)
10400
- }, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
10439
+ }, toDisplayString(_ctx.remoteStrings.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
10401
10440
  ], 2),
10402
10441
  createBaseVNode("div", {
10403
10442
  class: normalizeClass([
@@ -24012,6 +24051,7 @@ const _sfc_main$1z = defineComponent({
24012
24051
  cashBackExpirebleUsable: cashBackBalanceInfo == null ? void 0 : cashBackBalanceInfo.usable
24013
24052
  };
24014
24053
  });
24054
+ const remoteStrings2 = useRemoteStrings();
24015
24055
  return {
24016
24056
  openBreakDown,
24017
24057
  toggleBreakDown,
@@ -24019,7 +24059,7 @@ const _sfc_main$1z = defineComponent({
24019
24059
  walletDetail,
24020
24060
  style,
24021
24061
  img_iconBalanceIcon,
24022
- lg: getLanguage()
24062
+ remoteStrings: remoteStrings2
24023
24063
  };
24024
24064
  }
24025
24065
  });
@@ -24045,7 +24085,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
24045
24085
  createBaseVNode("span", {
24046
24086
  class: normalizeClass(_ctx.style.mainLabel),
24047
24087
  "data-testid": "pay-method-title"
24048
- }, toDisplayString(_ctx.lg.wallet.title), 3),
24088
+ }, toDisplayString(_ctx.remoteStrings.wallet.title), 3),
24049
24089
  createBaseVNode("span", {
24050
24090
  class: normalizeClass(_ctx.style.subLabel)
24051
24091
  }, toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3),
@@ -24822,6 +24862,7 @@ const _sfc_main$1v = defineComponent({
24822
24862
  }
24823
24863
  emit("select");
24824
24864
  };
24865
+ const remoteStrings2 = useRemoteStrings();
24825
24866
  return {
24826
24867
  formattedBalance: computed(
24827
24868
  () => {
@@ -24830,8 +24871,6 @@ const _sfc_main$1v = defineComponent({
24830
24871
  }
24831
24872
  ),
24832
24873
  isDisable,
24833
- img_payLater,
24834
- lg: getLanguage(),
24835
24874
  paymentMethodStatusText: computed(
24836
24875
  () => {
24837
24876
  var _a2;
@@ -24853,7 +24892,8 @@ const _sfc_main$1v = defineComponent({
24853
24892
  };
24854
24893
  }),
24855
24894
  handleClick,
24856
- handleSelect
24895
+ handleSelect,
24896
+ remoteStrings: remoteStrings2
24857
24897
  };
24858
24898
  }
24859
24899
  });
@@ -24876,7 +24916,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
24876
24916
  }, [
24877
24917
  createBaseVNode("img", {
24878
24918
  class: normalizeClass(_ctx.$style.img),
24879
- src: _ctx.img_payLater,
24919
+ src: _ctx.remoteStrings.payLater.img,
24880
24920
  alt: ""
24881
24921
  }, null, 10, _hoisted_1$O)
24882
24922
  ], 2),
@@ -24892,10 +24932,10 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
24892
24932
  createBaseVNode("span", {
24893
24933
  class: normalizeClass(_ctx.$style.mainLabel),
24894
24934
  "data-testid": "pay-method-title"
24895
- }, toDisplayString(_ctx.lg.payLater.title), 3),
24935
+ }, toDisplayString(_ctx.remoteStrings.payLater.title), 3),
24896
24936
  createBaseVNode("span", {
24897
24937
  class: normalizeClass(_ctx.$style.subLabel)
24898
- }, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
24938
+ }, toDisplayString(_ctx.remoteStrings.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
24899
24939
  ], 2),
24900
24940
  createBaseVNode("span", {
24901
24941
  class: normalizeClass(_ctx.$style.rightAlign)
@@ -30908,8 +30948,8 @@ function isActivatedMethod(paymentMethod2) {
30908
30948
  return (sbid == null ? void 0 : sbid.paymentMethodStatus) === PaymentMethodStatus.ACTIVATED;
30909
30949
  }
30910
30950
  case PaymentMethodType.PAY_LATER_CC: {
30911
- const payLater = paymentMethod2.payLaterCcInfo;
30912
- return (payLater == null ? void 0 : payLater.paymentMethodStatus) === PaymentMethodStatus.ACTIVATED;
30951
+ const payLater2 = paymentMethod2.payLaterCcInfo;
30952
+ return (payLater2 == null ? void 0 : payLater2.paymentMethodStatus) === PaymentMethodStatus.ACTIVATED;
30913
30953
  }
30914
30954
  default:
30915
30955
  return false;
@@ -31283,7 +31323,7 @@ const useMakePaymentStore = defineStore("makePayment", {
31283
31323
  prepaidOnly
31284
31324
  };
31285
31325
  saveLastTopupPayMethod(paymentMethodId);
31286
- const res = await topup$2(query, body2);
31326
+ const res = await topup$3(query, body2);
31287
31327
  const errorHandled = this.private_handleError(res, {
31288
31328
  type: "topup",
31289
31329
  api: "topup"
@@ -32011,7 +32051,6 @@ const _sfc_main$$ = defineComponent({
32011
32051
  },
32012
32052
  setup(props) {
32013
32053
  const style = useCssModule();
32014
- const lg2 = getLanguage();
32015
32054
  const appLogo2 = props.appDetail.appLogo || img_merchant;
32016
32055
  const formatPrice = computed(() => numberWithCommas(props.price));
32017
32056
  const formatBalance = computed(() => numberWithCommas(props.balance));
@@ -32019,13 +32058,14 @@ const _sfc_main$$ = defineComponent({
32019
32058
  () => numberWithCommas(props.insufficientAmount)
32020
32059
  );
32021
32060
  const { isMobile, isDesktop } = useBreakpoints();
32061
+ const remoteStrings2 = useRemoteStrings();
32022
32062
  return {
32023
32063
  style,
32024
32064
  appLogo: appLogo2,
32025
32065
  formatPrice,
32026
32066
  formatBalance,
32027
32067
  formatInsufficientAmount,
32028
- lg: lg2,
32068
+ remoteStrings: remoteStrings2,
32029
32069
  isMobile,
32030
32070
  isDesktop
32031
32071
  };
@@ -32055,11 +32095,11 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
32055
32095
  _ctx.isDesktop ? (openBlock(), createElementBlock("div", {
32056
32096
  key: 0,
32057
32097
  class: normalizeClass(_ctx.style.insufficientAmountText)
32058
- }, toDisplayString(_ctx.lg.topInfo.insufficientAmountText), 3)) : createCommentVNode("", true),
32098
+ }, toDisplayString(_ctx.remoteStrings.topInfo.insufficientAmountText), 3)) : createCommentVNode("", true),
32059
32099
  createBaseVNode("div", {
32060
32100
  class: normalizeClass([_ctx.style.amountInfo, _ctx.style.width100])
32061
32101
  }, [
32062
- _ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_2$d, toDisplayString(_ctx.lg.topInfo.paymentAmount), 1)) : createCommentVNode("", true),
32102
+ _ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_2$d, toDisplayString(_ctx.remoteStrings.topInfo.paymentAmount), 1)) : createCommentVNode("", true),
32063
32103
  createBaseVNode("div", {
32064
32104
  class: normalizeClass(_ctx.style.amount)
32065
32105
  }, [
@@ -32071,7 +32111,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
32071
32111
  createBaseVNode("div", {
32072
32112
  class: normalizeClass(_ctx.style.sufficientRow)
32073
32113
  }, [
32074
- createBaseVNode("div", null, toDisplayString(_ctx.lg.topInfo.sufficientRow), 1),
32114
+ createBaseVNode("div", null, toDisplayString(_ctx.remoteStrings.topInfo.sufficientRow), 1),
32075
32115
  createBaseVNode("div", null, [
32076
32116
  createTextVNode(toDisplayString(_ctx.formatBalance), 1),
32077
32117
  _hoisted_4$2
@@ -32080,7 +32120,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
32080
32120
  createBaseVNode("div", {
32081
32121
  class: normalizeClass(_ctx.style.sufficientRow)
32082
32122
  }, [
32083
- createBaseVNode("div", null, toDisplayString(_ctx.lg.topInfo.insufficientAmount), 1),
32123
+ createBaseVNode("div", null, toDisplayString(_ctx.remoteStrings.topInfo.insufficientAmount), 1),
32084
32124
  createBaseVNode("div", {
32085
32125
  class: normalizeClass(_ctx.style.red)
32086
32126
  }, [
@@ -34518,11 +34558,11 @@ const _sfc_main$R = defineComponent({
34518
34558
  click: () => true
34519
34559
  },
34520
34560
  setup(props) {
34521
- const lg2 = getLanguage();
34522
34561
  const style = useCssModule();
34562
+ const remoteStrings2 = useRemoteStrings();
34523
34563
  return {
34524
34564
  availableBalText: computed(
34525
- () => props.isCharging ? lg2.topup.availableBalanceAfter : lg2.topup.availableBalance
34565
+ () => props.isCharging ? remoteStrings2.value.topup.availableBalanceAfter : remoteStrings2.value.topup.availableBalance
34526
34566
  ),
34527
34567
  isCashbackSave: computed(
34528
34568
  () => {
@@ -34531,7 +34571,7 @@ const _sfc_main$R = defineComponent({
34531
34571
  }
34532
34572
  ),
34533
34573
  style,
34534
- lg: lg2
34574
+ remoteStrings: remoteStrings2
34535
34575
  };
34536
34576
  }
34537
34577
  });
@@ -34549,7 +34589,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
34549
34589
  key: 0,
34550
34590
  class: normalizeClass([_ctx.style.flexContainer, _ctx.style.transferTitle])
34551
34591
  }, [
34552
- createBaseVNode("span", null, toDisplayString(_ctx.lg.topup.allBalance), 1),
34592
+ createBaseVNode("span", null, toDisplayString(_ctx.remoteStrings.topup.allBalance), 1),
34553
34593
  createBaseVNode("span", null, toDisplayString(_ctx.allTotalBalanceInfo) + " \u5186 ", 1)
34554
34594
  ], 2)) : createCommentVNode("", true)
34555
34595
  ], 2);
@@ -34834,6 +34874,12 @@ const _sfc_main$P = defineComponent({
34834
34874
  emits: {
34835
34875
  click: () => true
34836
34876
  },
34877
+ setup() {
34878
+ const remoteStrings2 = useRemoteStrings();
34879
+ return {
34880
+ remoteStrings: remoteStrings2
34881
+ };
34882
+ },
34837
34883
  data() {
34838
34884
  return {
34839
34885
  loading: false,
@@ -34877,7 +34923,6 @@ const _sfc_main$P = defineComponent({
34877
34923
  },
34878
34924
  lottieAnim: null,
34879
34925
  cashbackData: {},
34880
- lg: getLanguage(),
34881
34926
  img_animationDone,
34882
34927
  isFirstLoad: false,
34883
34928
  show3DSecureSheet: false,
@@ -34914,7 +34959,7 @@ const _sfc_main$P = defineComponent({
34914
34959
  },
34915
34960
  minAMountErrorMessage() {
34916
34961
  return updateLocalisedString(
34917
- this.lg.topup.minAmount,
34962
+ this.remoteStrings.topup.minAmount,
34918
34963
  "{amount}",
34919
34964
  numberWithCommas(this.topupMinAmount)
34920
34965
  );
@@ -35124,7 +35169,7 @@ const _sfc_main$P = defineComponent({
35124
35169
  });
35125
35170
  ((_c = this.topupParams) == null ? void 0 : _c.sourceInfoApp) ? this.topupParams.sourceInfoApp : null;
35126
35171
  try {
35127
- const res = await topup$2(
35172
+ const res = await topup$3(
35128
35173
  {
35129
35174
  ...((_d = this.topupParams) == null ? void 0 : _d.merchant) && {
35130
35175
  merchant: this.topupParams.merchant
@@ -35236,7 +35281,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35236
35281
  style: normalizeStyle(_ctx.getTopHeight)
35237
35282
  }, [
35238
35283
  createVNode(_component_Header, {
35239
- title: _ctx.lg.topup.title,
35284
+ title: _ctx.remoteStrings.topup.title,
35240
35285
  icon: "back",
35241
35286
  "data-testid": "main-header",
35242
35287
  "under-lined": "",
@@ -35260,7 +35305,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35260
35305
  !_ctx.isInput ? (openBlock(), createElementBlock("div", {
35261
35306
  key: 0,
35262
35307
  class: normalizeClass(_ctx.$style.chargeSelect)
35263
- }, toDisplayString(_ctx.lg.topup.charge), 3)) : createCommentVNode("", true),
35308
+ }, toDisplayString(_ctx.remoteStrings.topup.charge), 3)) : createCommentVNode("", true),
35264
35309
  !_ctx.isInput ? (openBlock(), createElementBlock("div", {
35265
35310
  key: 1,
35266
35311
  class: normalizeClass(_ctx.$style.dummyInput),
@@ -35304,7 +35349,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35304
35349
  class: normalizeClass(_ctx.$style.invalidAmount)
35305
35350
  }, [
35306
35351
  _ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$o, toDisplayString(_ctx.minAMountErrorMessage), 1)) : createCommentVNode("", true),
35307
- _ctx.maxAmountExceeded ? (openBlock(), createElementBlock("span", _hoisted_2$8, toDisplayString(_ctx.lg.topup.maxAmount), 1)) : createCommentVNode("", true)
35352
+ _ctx.maxAmountExceeded ? (openBlock(), createElementBlock("span", _hoisted_2$8, toDisplayString(_ctx.remoteStrings.topup.maxAmount), 1)) : createCommentVNode("", true)
35308
35353
  ], 2)
35309
35354
  ], 2),
35310
35355
  !_ctx.done && !_ctx.loading && !_ctx.isSelectPaymentMethod && !_ctx.isSelectMoreMoney ? withDirectives((openBlock(), createBlock(_component_ChargeAmountList, {
@@ -35340,7 +35385,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35340
35385
  }, [
35341
35386
  createBaseVNode("span", {
35342
35387
  class: normalizeClass(_ctx.$style.moneyLabel)
35343
- }, toDisplayString(_ctx.lg.topup.moneyLabel), 3),
35388
+ }, toDisplayString(_ctx.remoteStrings.topup.moneyLabel), 3),
35344
35389
  _ctx.selectedPaymentMethod != null ? (openBlock(), createBlock(_component_PaymentType, {
35345
35390
  key: 0,
35346
35391
  class: normalizeClass(_ctx.$style.paymentType),
@@ -35351,7 +35396,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35351
35396
  (!_ctx.paymentMethodList || _ctx.paymentMethodList.length === 0 || _ctx.disablePaymentBtn) && !_ctx.done && !_ctx.loading ? (openBlock(), createElementBlock("div", {
35352
35397
  key: 4,
35353
35398
  class: normalizeClass(_ctx.$style.noMethod)
35354
- }, toDisplayString(_ctx.lg.topup.noMethod), 3)) : createCommentVNode("", true),
35399
+ }, toDisplayString(_ctx.remoteStrings.topup.noMethod), 3)) : createCommentVNode("", true),
35355
35400
  _ctx.isInput ? (openBlock(), createBlock(_component_CashbackInfo, {
35356
35401
  key: 5,
35357
35402
  "cashback-info": _ctx.cashbackData,
@@ -35377,7 +35422,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35377
35422
  _ctx.loading && !_ctx.isFirstLoad ? (openBlock(), createElementBlock("div", {
35378
35423
  key: 0,
35379
35424
  class: normalizeClass(_ctx.$style.loadingText)
35380
- }, toDisplayString(_ctx.lg.topup.loading), 3)) : createCommentVNode("", true),
35425
+ }, toDisplayString(_ctx.remoteStrings.topup.loading), 3)) : createCommentVNode("", true),
35381
35426
  createVNode(_component_Button, {
35382
35427
  type: "primary",
35383
35428
  block: "",
@@ -35387,7 +35432,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
35387
35432
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.clickTopup(false))
35388
35433
  }, {
35389
35434
  default: withCtx(() => [
35390
- createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)) + " " + toDisplayString(_ctx.lg.topup.payBtn), 1)
35435
+ createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)) + " " + toDisplayString(_ctx.remoteStrings.topup.payBtn), 1)
35391
35436
  ]),
35392
35437
  _: 1
35393
35438
  }, 8, ["disabled", "loading"])
@@ -36789,7 +36834,7 @@ function debug(params) {
36789
36834
  function execute$a(params) {
36790
36835
  var _a2;
36791
36836
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
36792
- v: "1.72.0"
36837
+ v: "1.73.0"
36793
36838
  });
36794
36839
  }
36795
36840
  function useCallBack(props, ctx) {
@@ -38200,20 +38245,6 @@ const en = {
38200
38245
  title: "Open on map",
38201
38246
  errorText: "Please allow pop-ups on this website"
38202
38247
  },
38203
- topup: {
38204
- title: "Charge",
38205
- balMoney: "Balance after charging",
38206
- charge: "Select charge amount",
38207
- minAmount: "You can charge from {amount} yen",
38208
- maxAmount: "The charge limit has been exceeded",
38209
- moneyLabel: "Charging method",
38210
- noMethod: "There is no charge method available \nPlease add from Manage payment methods ",
38211
- loading: "Charging your PayPay balance",
38212
- payBtn: "Charge Yen",
38213
- availableBalance: "Current Available Balance",
38214
- availableBalanceAfter: "Available balance after charging",
38215
- allBalance: "total balance"
38216
- },
38217
38248
  payment: {
38218
38249
  title: "Payment",
38219
38250
  payAmount: "Payment amount (tax included)",
@@ -38272,12 +38303,6 @@ const en = {
38272
38303
  amount: "Charge and pay yen",
38273
38304
  return: "Return"
38274
38305
  },
38275
- topInfo: {
38276
- sufficientRow: "PayPay residual height (available amount)",
38277
- insufficientAmount: "Insufficiency",
38278
- insufficientAmountText: "Insufficient balance",
38279
- paymentAmount: "Payment amount (tax included)"
38280
- },
38281
38306
  choosePayment: {
38282
38307
  title: "Choose a charging method",
38283
38308
  desc1: "Addition of charging method",
@@ -38355,20 +38380,6 @@ const en = {
38355
38380
  BUSY: "Not available",
38356
38381
  SUSPENDED: "Suspended"
38357
38382
  },
38358
- wallet: {
38359
- title: "PayPay balance",
38360
- desc: "See the breakdown",
38361
- eMoney: "PayPay Money",
38362
- nonUsable: "PayPay Money Lite",
38363
- cashBackUsable: "PayPay Point",
38364
- cashBackExpirable: "PayPay Bonus Light",
38365
- balance: "Available amount:",
38366
- autoCharge: "Auto charge"
38367
- },
38368
- payLater: {
38369
- title: "PayPay deferred payment",
38370
- balance: "Available amount:"
38371
- },
38372
38383
  softbank: {
38373
38384
  desc: "SoftBank Ymobile",
38374
38385
  desc1: "Pay in bulk",
@@ -43561,26 +43572,26 @@ const useSmsAuthStore = defineStore("smsAuth", {
43561
43572
  }
43562
43573
  }
43563
43574
  });
43564
- const container = "_container_3rfxu_1";
43565
- const mobileIcon = "_mobileIcon_3rfxu_5";
43566
- const paypayMulti = "_paypayMulti_3rfxu_11";
43567
- const title = "_title_3rfxu_17";
43568
- const subtitle = "_subtitle_3rfxu_37";
43569
- const subtitle2 = "_subtitle2_3rfxu_57";
43570
- const otpField = "_otpField_3rfxu_60";
43571
- const exclaimIcon = "_exclaimIcon_3rfxu_69";
43572
- const resendBtn = "_resendBtn_3rfxu_74";
43573
- const subinfo = "_subinfo_3rfxu_88";
43574
- const infoLink = "_infoLink_3rfxu_107";
43575
- const otpInput = "_otpInput_3rfxu_125";
43576
- const invalidOtp = "_invalidOtp_3rfxu_153";
43577
- const otpInfo = "_otpInfo_3rfxu_156";
43578
- const otpPrefix = "_otpPrefix_3rfxu_166";
43579
- const disabled = "_disabled_3rfxu_185";
43580
- const resend = "_resend_3rfxu_74";
43581
- const helpLink = "_helpLink_3rfxu_202";
43582
- const invlidOtp = "_invlidOtp_3rfxu_221";
43583
- const cancel = "_cancel_3rfxu_238";
43575
+ const container = "_container_17row_1";
43576
+ const mobileIcon = "_mobileIcon_17row_6";
43577
+ const paypayMulti = "_paypayMulti_17row_12";
43578
+ const title = "_title_17row_18";
43579
+ const subtitle = "_subtitle_17row_38";
43580
+ const subtitle2 = "_subtitle2_17row_58";
43581
+ const otpField = "_otpField_17row_61";
43582
+ const exclaimIcon = "_exclaimIcon_17row_70";
43583
+ const resendBtn = "_resendBtn_17row_75";
43584
+ const subinfo = "_subinfo_17row_89";
43585
+ const infoLink = "_infoLink_17row_108";
43586
+ const otpInput = "_otpInput_17row_126";
43587
+ const invalidOtp = "_invalidOtp_17row_154";
43588
+ const otpInfo = "_otpInfo_17row_157";
43589
+ const otpPrefix = "_otpPrefix_17row_167";
43590
+ const disabled = "_disabled_17row_186";
43591
+ const resend = "_resend_17row_75";
43592
+ const helpLink = "_helpLink_17row_203";
43593
+ const invlidOtp = "_invlidOtp_17row_222";
43594
+ const cancel = "_cancel_17row_238";
43584
43595
  var style0$1 = {
43585
43596
  container,
43586
43597
  mobileIcon,
@@ -43659,6 +43670,15 @@ const _sfc_main$6 = defineComponent({
43659
43670
  }
43660
43671
  );
43661
43672
  const style = useCssModule();
43673
+ const heightStyles = computed(() => {
43674
+ const { fullFillHeightProperty } = useGetHeightProperties();
43675
+ return {
43676
+ rootStyle: {
43677
+ height: fullFillHeightProperty,
43678
+ overflow: "scroll"
43679
+ }
43680
+ };
43681
+ });
43662
43682
  return {
43663
43683
  onInputChange,
43664
43684
  style,
@@ -43667,7 +43687,8 @@ const _sfc_main$6 = defineComponent({
43667
43687
  cancel: cancel2,
43668
43688
  img_paypayMulti,
43669
43689
  img_mobileIcon,
43670
- img_exclaimIcon
43690
+ img_exclaimIcon,
43691
+ heightStyles
43671
43692
  };
43672
43693
  }
43673
43694
  });
@@ -43684,6 +43705,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
43684
43705
  createVNode(_component_ActionSheet, {
43685
43706
  show: _ctx.show && !_ctx.smsAuthStore.uiState.loading,
43686
43707
  "full-screen": "",
43708
+ "forbidden-swipe": true,
43709
+ style: normalizeStyle(_ctx.heightStyles.rootStyle),
43687
43710
  round: false
43688
43711
  }, {
43689
43712
  default: withCtx(() => [
@@ -43765,22 +43788,22 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
43765
43788
  class: normalizeClass([_ctx.style.helpLink, "otp-info"]),
43766
43789
  href: "https://paypay.ne.jp/rd/support/help/c0012/",
43767
43790
  target: "_blank"
43768
- }, toDisplayString(_ctx.smsAuthStore.lg.smsAuth.questionText), 3)
43769
- ], 2),
43770
- createVNode(_component_Button, {
43771
- type: "link",
43772
- class: normalizeClass(_ctx.style.cancel),
43773
- block: "",
43774
- onClick: _ctx.cancel
43775
- }, {
43776
- default: withCtx(() => [
43777
- createTextVNode(toDisplayString(_ctx.smsAuthStore.lg.smsAuth.cancel), 1)
43778
- ]),
43779
- _: 1
43780
- }, 8, ["class", "onClick"])
43791
+ }, toDisplayString(_ctx.smsAuthStore.lg.smsAuth.questionText), 3),
43792
+ createVNode(_component_Button, {
43793
+ type: "link",
43794
+ class: normalizeClass(_ctx.style.cancel),
43795
+ block: "",
43796
+ onClick: _ctx.cancel
43797
+ }, {
43798
+ default: withCtx(() => [
43799
+ createTextVNode(toDisplayString(_ctx.smsAuthStore.lg.smsAuth.cancel), 1)
43800
+ ]),
43801
+ _: 1
43802
+ }, 8, ["class", "onClick"])
43803
+ ], 2)
43781
43804
  ]),
43782
43805
  _: 1
43783
- }, 8, ["show"]),
43806
+ }, 8, ["show", "style"]),
43784
43807
  createVNode(_component_ErrorSheet, {
43785
43808
  show: _ctx.smsAuthStore.shouldShowError,
43786
43809
  "error-title": _ctx.smsAuthStore.errorState.errorTitle,
@@ -44124,7 +44147,7 @@ const initUpdateWarning = (params) => {
44124
44147
  document.body.appendChild(container2);
44125
44148
  };
44126
44149
  async function initKycPassport(params) {
44127
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F;
44150
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H;
44128
44151
  const success2 = params.success;
44129
44152
  const fail = params.fail;
44130
44153
  const complete = params.complete;
@@ -44161,26 +44184,32 @@ async function initKycPassport(params) {
44161
44184
  });
44162
44185
  return (_f = params == null ? void 0 : params.complete) == null ? void 0 : _f.call(params);
44163
44186
  }
44187
+ if (!validateUrl(params.callbackUrl)) {
44188
+ (_g = params == null ? void 0 : params.fail) == null ? void 0 : _g.call(params, {
44189
+ errorCode: MiniAppErrorType.invalidUrl
44190
+ });
44191
+ return (_h = params == null ? void 0 : params.complete) == null ? void 0 : _h.call(params);
44192
+ }
44164
44193
  const res = await getInitKycPassport(params);
44165
44194
  if (res.ppFetchResult !== "success") {
44166
- const code = String((_i = (_h = (_g = res == null ? void 0 : res.body) == null ? void 0 : _g.unsigned) == null ? void 0 : _h.resultInfo) == null ? void 0 : _i.code);
44195
+ const code = String((_k = (_j = (_i = res == null ? void 0 : res.body) == null ? void 0 : _i.unsigned) == null ? void 0 : _j.resultInfo) == null ? void 0 : _k.code);
44167
44196
  if (code === "UNACCEPTABLE_OP") {
44168
44197
  return initKycPassportError(params, code);
44169
44198
  } else if (code === "NOT_SUPPORTED_USER") {
44170
- (_j = params == null ? void 0 : params.fail) == null ? void 0 : _j.call(params, {
44199
+ (_l = params == null ? void 0 : params.fail) == null ? void 0 : _l.call(params, {
44171
44200
  errorCode: code
44172
44201
  });
44173
- (_k = params == null ? void 0 : params.complete) == null ? void 0 : _k.call(params);
44174
- } else {
44175
- (_l = params == null ? void 0 : params.fail) == null ? void 0 : _l.call(params, { errorCode: getFailErrorCode(res.ppFetchResult) });
44176
44202
  (_m = params == null ? void 0 : params.complete) == null ? void 0 : _m.call(params);
44203
+ } else {
44204
+ (_n = params == null ? void 0 : params.fail) == null ? void 0 : _n.call(params, { errorCode: getFailErrorCode(res.ppFetchResult) });
44205
+ (_o = params == null ? void 0 : params.complete) == null ? void 0 : _o.call(params);
44177
44206
  }
44178
44207
  } else {
44179
- const status2 = String((_p = (_o = (_n = res == null ? void 0 : res.body) == null ? void 0 : _n.unsigned) == null ? void 0 : _o.data) == null ? void 0 : _p.status);
44208
+ const status2 = String((_r = (_q = (_p = res == null ? void 0 : res.body) == null ? void 0 : _p.unsigned) == null ? void 0 : _q.data) == null ? void 0 : _r.status);
44180
44209
  if (status2 !== "COMPLETED") {
44181
44210
  if (status2 === MiniAppErrorType.kycUpdateRequired && (params == null ? void 0 : params.isSkipKYCRequiredHalfsheet)) {
44182
- (_q = params == null ? void 0 : params.fail) == null ? void 0 : _q.call(params, { errorCode: MiniAppErrorType.kycUpdateRequired });
44183
- return (_r = params == null ? void 0 : params.complete) == null ? void 0 : _r.call(params);
44211
+ (_s = params == null ? void 0 : params.fail) == null ? void 0 : _s.call(params, { errorCode: MiniAppErrorType.kycUpdateRequired });
44212
+ return (_t = params == null ? void 0 : params.complete) == null ? void 0 : _t.call(params);
44184
44213
  } else {
44185
44214
  return initKycPassportError(params, status2);
44186
44215
  }
@@ -44191,26 +44220,26 @@ async function initKycPassport(params) {
44191
44220
  "ppEkycDocuments",
44192
44221
  params.eKycDocuments ? params.eKycDocuments.join(",") : ""
44193
44222
  );
44194
- if (((_u = (_t = (_s = res == null ? void 0 : res.body) == null ? void 0 : _s.unsigned) == null ? void 0 : _t.data) == null ? void 0 : _u.kycPassportMethod) === KycPassportMethod.biometric) {
44223
+ if (((_w = (_v = (_u = res == null ? void 0 : res.body) == null ? void 0 : _u.unsigned) == null ? void 0 : _v.data) == null ? void 0 : _w.kycPassportMethod) === KycPassportMethod.biometric) {
44195
44224
  try {
44196
44225
  await startMultiFactorAuth({
44197
44226
  type: KycPassportMethod.biometric,
44198
44227
  ...params,
44199
44228
  callbackUrl: reconstructKycPassportCallbackUrl(
44200
44229
  callbackUrl.href,
44201
- (_x = (_w = (_v = res == null ? void 0 : res.body) == null ? void 0 : _v.unsigned) == null ? void 0 : _w.data) == null ? void 0 : _x.kycPassportMethod
44230
+ (_z = (_y = (_x = res == null ? void 0 : res.body) == null ? void 0 : _x.unsigned) == null ? void 0 : _y.data) == null ? void 0 : _z.kycPassportMethod
44202
44231
  )
44203
44232
  });
44204
44233
  } catch (_) {
44205
- (_y = params.fail) == null ? void 0 : _y.call(params, { errorCode: MiniAppErrorType.invalidUrl });
44206
- (_z = params.complete) == null ? void 0 : _z.call(params);
44234
+ (_A = params.fail) == null ? void 0 : _A.call(params, { errorCode: MiniAppErrorType.invalidUrl });
44235
+ (_B = params.complete) == null ? void 0 : _B.call(params);
44207
44236
  }
44208
- } else if (((_C = (_B = (_A = res == null ? void 0 : res.body) == null ? void 0 : _A.unsigned) == null ? void 0 : _B.data) == null ? void 0 : _C.kycPassportMethod) === KycPassportMethod.otp) {
44237
+ } else if (((_E = (_D = (_C = res == null ? void 0 : res.body) == null ? void 0 : _C.unsigned) == null ? void 0 : _D.data) == null ? void 0 : _E.kycPassportMethod) === KycPassportMethod.otp) {
44209
44238
  initSmsAuth({
44210
44239
  ...params,
44211
44240
  callbackUrl: reconstructKycPassportCallbackUrl(
44212
44241
  callbackUrl.href,
44213
- (_F = (_E = (_D = res == null ? void 0 : res.body) == null ? void 0 : _D.unsigned) == null ? void 0 : _E.data) == null ? void 0 : _F.kycPassportMethod
44242
+ (_H = (_G = (_F = res == null ? void 0 : res.body) == null ? void 0 : _F.unsigned) == null ? void 0 : _G.data) == null ? void 0 : _H.kycPassportMethod
44214
44243
  )
44215
44244
  });
44216
44245
  }
@@ -44426,9 +44455,10 @@ const _sfc_main = defineComponent({
44426
44455
  });
44427
44456
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
44428
44457
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.renderComponent), {
44458
+ params: _ctx.params,
44429
44459
  onComplete: _cache[0] || (_cache[0] = () => _ctx.$emit("complete")),
44430
44460
  onFallbackSmsAuth: _cache[1] || (_cache[1] = () => _ctx.$emit("fallbackSmsAuth"))
44431
- }, null, 32);
44461
+ }, null, 40, ["params"]);
44432
44462
  }
44433
44463
  var GetKycPassportRootView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
44434
44464
  async function getKycPassportInfo(params) {
@@ -44674,7 +44704,7 @@ async function execute(params) {
44674
44704
  method: "GET",
44675
44705
  url: "web-api/app/v1/users/paymentFeatureSettings",
44676
44706
  params: {
44677
- merchantId: params == null ? void 0 : params.merchant,
44707
+ merchant: params == null ? void 0 : params.merchant,
44678
44708
  productType: params == null ? void 0 : params.productType,
44679
44709
  paymentFeatureType: params == null ? void 0 : params.paymentFeatureType
44680
44710
  }