@paypay/mini-app-js-sdk 1.60.0 → 1.62.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-api.d.ts +3 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +324 -181
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/addShortcut.d.ts +2 -0
- package/dist/model/bridge/shortcutExists.d.ts +17 -0
- package/dist/types.d.ts +15 -0
- package/dist/utils/minimumAppVersion.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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.62.0";
|
|
54
|
+
this.revision = "64cbc05";
|
|
55
55
|
this.messageHandlers = /* @__PURE__ */ new Map();
|
|
56
56
|
this.responseCallbacks = /* @__PURE__ */ new Map();
|
|
57
57
|
this.global = global2;
|
|
@@ -404,6 +404,13 @@ var ChallengeMethod = /* @__PURE__ */ ((ChallengeMethod2) => {
|
|
|
404
404
|
ChallengeMethod2["S256"] = "S256";
|
|
405
405
|
return ChallengeMethod2;
|
|
406
406
|
})(ChallengeMethod || {});
|
|
407
|
+
const AddShortcutTypes = {
|
|
408
|
+
FAVORITE: "FAVORITE",
|
|
409
|
+
OS_HOME_SCREEN_ICON: "OS_HOME_SCREEN_ICON"
|
|
410
|
+
};
|
|
411
|
+
const ShortcutExistsTypes = {
|
|
412
|
+
FAVORITE: "FAVORITE"
|
|
413
|
+
};
|
|
407
414
|
function isLocalIP(hostName) {
|
|
408
415
|
if (hostName === "localhost") {
|
|
409
416
|
return true;
|
|
@@ -1218,7 +1225,7 @@ const registerPaymentFeatures$2 = {
|
|
|
1218
1225
|
},
|
|
1219
1226
|
autoTopupSettingComplete: {
|
|
1220
1227
|
title: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F",
|
|
1221
|
-
description: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u306F\nPayPay\u3067\u306E\u3059\u3079\u3066\u306E\u652F\u6255\u3044\u306B\u9069\u7528\u3055\u308C\u307E\u3059\n\u8A2D\u5B9A\u306E\u5909\u66F4\u306FPayPay\u30A2\u30D7\u30EA\u306E\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u7BA1\u7406\u300D\u304B\u3089\u884C\u3048\u307E\u3059",
|
|
1228
|
+
description: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u306F\nPayPay\u3067\u306E\u3059\u3079\u3066\u306E\u652F\u6255\u3044\u306B\u9069\u7528\u3055\u308C\u307E\u3059\n\u8A2D\u5B9A\u306E\u5909\u66F4\u306FPayPay\u30A2\u30D7\u30EA\u306E\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u306E\u7BA1\u7406\u300D\u304B\u3089\u884C\u3048\u307E\u3059",
|
|
1222
1229
|
finish: "\u5B8C\u4E86\u3059\u308B"
|
|
1223
1230
|
},
|
|
1224
1231
|
setupTopupMethod: {
|
|
@@ -1943,15 +1950,13 @@ const opaUrl = () => {
|
|
|
1943
1950
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
1944
1951
|
let headers = new Headers({
|
|
1945
1952
|
"Content-Type": "application/json",
|
|
1946
|
-
"Client-Version": "1.
|
|
1953
|
+
"Client-Version": "1.62.0",
|
|
1947
1954
|
"Client-OS-Type": getRuntime(),
|
|
1948
1955
|
...customHeaders
|
|
1949
1956
|
});
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
headers.set("Client-Type", "MINIAPP");
|
|
1954
|
-
}
|
|
1957
|
+
headers.set("Client-UUID", getClientUUID());
|
|
1958
|
+
headers.set("Device-UUID", getDeviceUUID());
|
|
1959
|
+
headers.set("Client-Type", "MINIAPP");
|
|
1955
1960
|
if (urlEndpoint !== "web-api/app/token/v1/issue" && urlEndpoint !== "web-api/app/token/v1/refresh" && urlEndpoint !== "web-api/app/v1/apps/detail") {
|
|
1956
1961
|
const token = getAccessToken();
|
|
1957
1962
|
if (!token) {
|
|
@@ -2171,10 +2176,10 @@ var MiniAppStatusType = /* @__PURE__ */ ((MiniAppStatusType2) => {
|
|
|
2171
2176
|
})(MiniAppStatusType || {});
|
|
2172
2177
|
function getUAID(params) {
|
|
2173
2178
|
const newParams = reconstructParams(params);
|
|
2174
|
-
execute$
|
|
2179
|
+
execute$j(newParams).catch(() => {
|
|
2175
2180
|
});
|
|
2176
2181
|
}
|
|
2177
|
-
async function execute$
|
|
2182
|
+
async function execute$j(params) {
|
|
2178
2183
|
var _a2, _b, _c, _d, _e;
|
|
2179
2184
|
const res = await ppFetch2({
|
|
2180
2185
|
method: "GET",
|
|
@@ -2188,9 +2193,9 @@ async function execute$h(params) {
|
|
|
2188
2193
|
}
|
|
2189
2194
|
function checkAccessToken(params) {
|
|
2190
2195
|
const newParams = reconstructParams(params);
|
|
2191
|
-
execute$
|
|
2196
|
+
execute$i(newParams);
|
|
2192
2197
|
}
|
|
2193
|
-
function execute$
|
|
2198
|
+
function execute$i(params) {
|
|
2194
2199
|
var _a2, _b;
|
|
2195
2200
|
const clientId = getClientId();
|
|
2196
2201
|
const token = getAccessToken();
|
|
@@ -2215,9 +2220,9 @@ function execute$g(params) {
|
|
|
2215
2220
|
}
|
|
2216
2221
|
async function getUserProfile(params) {
|
|
2217
2222
|
const newParams = reconstructParams(params);
|
|
2218
|
-
await execute$
|
|
2223
|
+
await execute$h(newParams);
|
|
2219
2224
|
}
|
|
2220
|
-
async function execute$
|
|
2225
|
+
async function execute$h(params) {
|
|
2221
2226
|
var _a2, _b;
|
|
2222
2227
|
const res = await ppFetch2({
|
|
2223
2228
|
method: "GET",
|
|
@@ -7720,7 +7725,7 @@ const OTTLoginState = reactive({
|
|
|
7720
7725
|
});
|
|
7721
7726
|
async function init(params) {
|
|
7722
7727
|
const newParams = reconstructParams(params);
|
|
7723
|
-
await execute$
|
|
7728
|
+
await execute$g(newParams);
|
|
7724
7729
|
}
|
|
7725
7730
|
function checkAppVersion() {
|
|
7726
7731
|
const appVersion = getAppVersion();
|
|
@@ -7734,7 +7739,7 @@ function checkAppVersion() {
|
|
|
7734
7739
|
}
|
|
7735
7740
|
}
|
|
7736
7741
|
}
|
|
7737
|
-
async function execute$
|
|
7742
|
+
async function execute$g(params) {
|
|
7738
7743
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
7739
7744
|
try {
|
|
7740
7745
|
saveEnv((_a2 = params == null ? void 0 : params.env) != null ? _a2 : "");
|
|
@@ -7864,7 +7869,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
7864
7869
|
}
|
|
7865
7870
|
return target;
|
|
7866
7871
|
};
|
|
7867
|
-
const _hoisted_1$
|
|
7872
|
+
const _hoisted_1$Y = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
7868
7873
|
function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7869
7874
|
return openBlock(), createElementBlock("div", {
|
|
7870
7875
|
class: normalizeClass(_ctx.$style.loading)
|
|
@@ -7875,7 +7880,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7875
7880
|
createBaseVNode("div", {
|
|
7876
7881
|
class: normalizeClass(_ctx.$style.bounce2)
|
|
7877
7882
|
}, null, 2),
|
|
7878
|
-
_hoisted_1$
|
|
7883
|
+
_hoisted_1$Y
|
|
7879
7884
|
], 2);
|
|
7880
7885
|
}
|
|
7881
7886
|
const cssModules$1r = {};
|
|
@@ -8613,7 +8618,7 @@ const _sfc_main$1B = defineComponent({
|
|
|
8613
8618
|
getButtonType
|
|
8614
8619
|
}
|
|
8615
8620
|
});
|
|
8616
|
-
const _hoisted_1$
|
|
8621
|
+
const _hoisted_1$X = ["src"];
|
|
8617
8622
|
function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8618
8623
|
const _component_Button = resolveComponent("Button");
|
|
8619
8624
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -8634,7 +8639,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8634
8639
|
class: normalizeClass(_ctx.style.errorIcon),
|
|
8635
8640
|
style: normalizeStyle(_ctx.iconStyle),
|
|
8636
8641
|
alt: ""
|
|
8637
|
-
}, null, 14, _hoisted_1$
|
|
8642
|
+
}, null, 14, _hoisted_1$X)
|
|
8638
8643
|
], 2),
|
|
8639
8644
|
_ctx.errorTitle ? (openBlock(), createElementBlock("div", {
|
|
8640
8645
|
key: 0,
|
|
@@ -9048,9 +9053,9 @@ async function getUserGrantedPermission() {
|
|
|
9048
9053
|
}
|
|
9049
9054
|
async function getBalance(params) {
|
|
9050
9055
|
const newParams = reconstructParams(params);
|
|
9051
|
-
await execute$
|
|
9056
|
+
await execute$f(newParams);
|
|
9052
9057
|
}
|
|
9053
|
-
async function execute$
|
|
9058
|
+
async function execute$f(params) {
|
|
9054
9059
|
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
9055
9060
|
try {
|
|
9056
9061
|
const grantStatus = await checkPermission(
|
|
@@ -9081,7 +9086,7 @@ async function execute$d(params) {
|
|
|
9081
9086
|
}
|
|
9082
9087
|
async function getAuthStatus(params) {
|
|
9083
9088
|
const newParams = reconstructParams(params);
|
|
9084
|
-
await execute$
|
|
9089
|
+
await execute$e(newParams);
|
|
9085
9090
|
}
|
|
9086
9091
|
async function handlePKCE() {
|
|
9087
9092
|
const codeVerifier = generateCodeVerifier();
|
|
@@ -9103,8 +9108,8 @@ async function handleFailCallback(params, errorCode) {
|
|
|
9103
9108
|
code
|
|
9104
9109
|
});
|
|
9105
9110
|
}
|
|
9106
|
-
async function execute$
|
|
9107
|
-
var _a2, _b, _c, _d, _e, _f;
|
|
9111
|
+
async function execute$e(params) {
|
|
9112
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
9108
9113
|
try {
|
|
9109
9114
|
const clientId = getClientId();
|
|
9110
9115
|
if (!clientId) {
|
|
@@ -9116,17 +9121,21 @@ async function execute$c(params) {
|
|
|
9116
9121
|
params: {}
|
|
9117
9122
|
});
|
|
9118
9123
|
if (res.ppFetchResult !== "success") {
|
|
9119
|
-
|
|
9124
|
+
if (((_c = (_b = (_a2 = res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.resultInfo) == null ? void 0 : _c.code) === "INVALID_USER_AUTHORIZATION_ID") {
|
|
9125
|
+
return handleFailCallback(params, MiniAppErrorType.notAuthorized);
|
|
9126
|
+
} else {
|
|
9127
|
+
return handleFailCallback(params, getFailErrorCode(res.ppFetchResult));
|
|
9128
|
+
}
|
|
9120
9129
|
}
|
|
9121
|
-
const isSuccess = ((
|
|
9130
|
+
const isSuccess = ((_f = (_e = (_d = res == null ? void 0 : res.body) == null ? void 0 : _d.unsigned) == null ? void 0 : _e.resultInfo) == null ? void 0 : _f.code) === MiniAppStatusType.success;
|
|
9122
9131
|
if (isSuccess) {
|
|
9123
|
-
const data2 = (
|
|
9132
|
+
const data2 = (_h = (_g = res == null ? void 0 : res.body) == null ? void 0 : _g.unsigned) == null ? void 0 : _h.data;
|
|
9124
9133
|
if (!(data2 == null ? void 0 : data2.isActive)) {
|
|
9125
9134
|
return handleFailCallback(params, MiniAppErrorType.notAuthorized);
|
|
9126
9135
|
} else if (data2 == null ? void 0 : data2.showPermission) {
|
|
9127
9136
|
return handleFailCallback(params, MiniAppErrorType.permissionRequired);
|
|
9128
9137
|
} else if ((data2 == null ? void 0 : data2.isActive) && !(data2 == null ? void 0 : data2.showPermission)) {
|
|
9129
|
-
return (
|
|
9138
|
+
return (_i = params == null ? void 0 : params.success) == null ? void 0 : _i.call(params, { statusCode: MiniAppStatusType.connected });
|
|
9130
9139
|
}
|
|
9131
9140
|
}
|
|
9132
9141
|
} catch (e) {
|
|
@@ -9579,8 +9588,8 @@ const _sfc_main$1y = defineComponent({
|
|
|
9579
9588
|
};
|
|
9580
9589
|
}
|
|
9581
9590
|
});
|
|
9582
|
-
const _hoisted_1$
|
|
9583
|
-
const _hoisted_2$
|
|
9591
|
+
const _hoisted_1$W = ["src"];
|
|
9592
|
+
const _hoisted_2$q = ["src"];
|
|
9584
9593
|
function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9585
9594
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
9586
9595
|
return openBlock(), createElementBlock("div", {
|
|
@@ -9602,7 +9611,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9602
9611
|
src: _ctx.images.iconBalanceIcon,
|
|
9603
9612
|
class: normalizeClass(_ctx.$style.img),
|
|
9604
9613
|
alt: ""
|
|
9605
|
-
}, null, 10, _hoisted_1$
|
|
9614
|
+
}, null, 10, _hoisted_1$W)
|
|
9606
9615
|
], 2),
|
|
9607
9616
|
createBaseVNode("div", {
|
|
9608
9617
|
class: normalizeClass(_ctx.$style.walletContainer)
|
|
@@ -9622,7 +9631,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9622
9631
|
class: normalizeClass(_ctx.$style.greenTick),
|
|
9623
9632
|
src: _ctx.images.checkGreen,
|
|
9624
9633
|
alt: "green-tick"
|
|
9625
|
-
}, null, 10, _hoisted_2$
|
|
9634
|
+
}, null, 10, _hoisted_2$q),
|
|
9626
9635
|
createBaseVNode("span", {
|
|
9627
9636
|
class: normalizeClass(_ctx.$style.autoCharge)
|
|
9628
9637
|
}, toDisplayString(_ctx.lg.wallet.autoCharge), 3)
|
|
@@ -9780,8 +9789,8 @@ const _sfc_main$1x = defineComponent({
|
|
|
9780
9789
|
};
|
|
9781
9790
|
}
|
|
9782
9791
|
});
|
|
9783
|
-
const _hoisted_1$
|
|
9784
|
-
const _hoisted_2$
|
|
9792
|
+
const _hoisted_1$V = ["src"];
|
|
9793
|
+
const _hoisted_2$p = ["src"];
|
|
9785
9794
|
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9786
9795
|
return openBlock(), createElementBlock("div", {
|
|
9787
9796
|
class: normalizeClass([
|
|
@@ -9802,7 +9811,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9802
9811
|
class: normalizeClass([_ctx.style.cardImg, _ctx.creditInfo.style]),
|
|
9803
9812
|
src: _ctx.creditInfo.logo,
|
|
9804
9813
|
alt: ""
|
|
9805
|
-
}, null, 10, _hoisted_1$
|
|
9814
|
+
}, null, 10, _hoisted_1$V)) : createCommentVNode("", true)
|
|
9806
9815
|
], 2),
|
|
9807
9816
|
createBaseVNode("div", {
|
|
9808
9817
|
class: normalizeClass(_ctx.style.content)
|
|
@@ -9821,7 +9830,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9821
9830
|
createBaseVNode("img", {
|
|
9822
9831
|
src: _ctx.authInfo.img,
|
|
9823
9832
|
class: normalizeClass([_ctx.authInfo.authImg])
|
|
9824
|
-
}, null, 10, _hoisted_2$
|
|
9833
|
+
}, null, 10, _hoisted_2$p),
|
|
9825
9834
|
createBaseVNode("span", {
|
|
9826
9835
|
class: normalizeClass([_ctx.style.authText])
|
|
9827
9836
|
}, toDisplayString(_ctx.authInfo.text), 3)
|
|
@@ -9935,7 +9944,7 @@ const _sfc_main$1w = defineComponent({
|
|
|
9935
9944
|
};
|
|
9936
9945
|
}
|
|
9937
9946
|
});
|
|
9938
|
-
const _hoisted_1$
|
|
9947
|
+
const _hoisted_1$U = ["src"];
|
|
9939
9948
|
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9940
9949
|
return openBlock(), createElementBlock("div", {
|
|
9941
9950
|
class: normalizeClass([
|
|
@@ -9959,7 +9968,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9959
9968
|
class: normalizeClass([_ctx.style.bankImg, { [_ctx.style.round]: _ctx.round }]),
|
|
9960
9969
|
src: _ctx.bankInfo.logo,
|
|
9961
9970
|
alt: ""
|
|
9962
|
-
}, null, 10, _hoisted_1$
|
|
9971
|
+
}, null, 10, _hoisted_1$U)
|
|
9963
9972
|
], 2),
|
|
9964
9973
|
createBaseVNode("div", {
|
|
9965
9974
|
class: normalizeClass(_ctx.style.content)
|
|
@@ -10059,7 +10068,7 @@ const _sfc_main$1v = defineComponent({
|
|
|
10059
10068
|
};
|
|
10060
10069
|
}
|
|
10061
10070
|
});
|
|
10062
|
-
const _hoisted_1$
|
|
10071
|
+
const _hoisted_1$T = ["src"];
|
|
10063
10072
|
function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10064
10073
|
return openBlock(), createElementBlock("div", {
|
|
10065
10074
|
class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.container])
|
|
@@ -10069,7 +10078,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10069
10078
|
class: normalizeClass(_ctx.$style.sbidImg),
|
|
10070
10079
|
src: _ctx.images.softbank,
|
|
10071
10080
|
alt: ""
|
|
10072
|
-
}, null, 10, _hoisted_1$
|
|
10081
|
+
}, null, 10, _hoisted_1$T)
|
|
10073
10082
|
]),
|
|
10074
10083
|
createBaseVNode("span", {
|
|
10075
10084
|
class: normalizeClass(_ctx.$style.content)
|
|
@@ -10160,7 +10169,7 @@ const _sfc_main$1u = defineComponent({
|
|
|
10160
10169
|
};
|
|
10161
10170
|
}
|
|
10162
10171
|
});
|
|
10163
|
-
const _hoisted_1$
|
|
10172
|
+
const _hoisted_1$S = ["src"];
|
|
10164
10173
|
function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10165
10174
|
return openBlock(), createElementBlock("div", {
|
|
10166
10175
|
class: normalizeClass([
|
|
@@ -10177,7 +10186,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10177
10186
|
src: _ctx.images.payLater,
|
|
10178
10187
|
class: normalizeClass(_ctx.$style.imageContainer),
|
|
10179
10188
|
alt: ""
|
|
10180
|
-
}, null, 10, _hoisted_1$
|
|
10189
|
+
}, null, 10, _hoisted_1$S)
|
|
10181
10190
|
]),
|
|
10182
10191
|
createBaseVNode("div", {
|
|
10183
10192
|
class: normalizeClass(_ctx.$style.container)
|
|
@@ -23192,7 +23201,7 @@ const _sfc_main$1s = defineComponent({
|
|
|
23192
23201
|
};
|
|
23193
23202
|
}
|
|
23194
23203
|
});
|
|
23195
|
-
const _hoisted_1$
|
|
23204
|
+
const _hoisted_1$R = ["src"];
|
|
23196
23205
|
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23197
23206
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
23198
23207
|
return openBlock(), createElementBlock("div", {
|
|
@@ -23206,7 +23215,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23206
23215
|
class: normalizeClass(_ctx.style.img),
|
|
23207
23216
|
src: _ctx.images.iconBalanceIcon,
|
|
23208
23217
|
alt: ""
|
|
23209
|
-
}, null, 10, _hoisted_1$
|
|
23218
|
+
}, null, 10, _hoisted_1$R)
|
|
23210
23219
|
], 2),
|
|
23211
23220
|
createBaseVNode("div", {
|
|
23212
23221
|
class: normalizeClass(_ctx.style.label)
|
|
@@ -23422,8 +23431,8 @@ const _sfc_main$1r = defineComponent({
|
|
|
23422
23431
|
};
|
|
23423
23432
|
}
|
|
23424
23433
|
});
|
|
23425
|
-
const _hoisted_1$
|
|
23426
|
-
const _hoisted_2$
|
|
23434
|
+
const _hoisted_1$Q = ["src"];
|
|
23435
|
+
const _hoisted_2$o = ["src"];
|
|
23427
23436
|
const _hoisted_3$a = ["onClick"];
|
|
23428
23437
|
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23429
23438
|
const _component_Button = resolveComponent("Button");
|
|
@@ -23446,7 +23455,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23446
23455
|
src: _ctx.cardInfo.logo,
|
|
23447
23456
|
class: normalizeClass([_ctx.style.img, _ctx.cardInfo.style]),
|
|
23448
23457
|
alt: ""
|
|
23449
|
-
}, null, 10, _hoisted_1$
|
|
23458
|
+
}, null, 10, _hoisted_1$Q)
|
|
23450
23459
|
], 2)
|
|
23451
23460
|
], 2),
|
|
23452
23461
|
createBaseVNode("div", {
|
|
@@ -23476,7 +23485,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23476
23485
|
src: _ctx.authInfo.img,
|
|
23477
23486
|
class: normalizeClass(_ctx.authInfo.imgStyle),
|
|
23478
23487
|
alt: ""
|
|
23479
|
-
}, null, 10, _hoisted_2$
|
|
23488
|
+
}, null, 10, _hoisted_2$o),
|
|
23480
23489
|
createBaseVNode("span", null, toDisplayString(_ctx.authInfo.text), 1)
|
|
23481
23490
|
], 2)
|
|
23482
23491
|
], 2),
|
|
@@ -23660,8 +23669,8 @@ const _sfc_main$1q = defineComponent({
|
|
|
23660
23669
|
};
|
|
23661
23670
|
}
|
|
23662
23671
|
});
|
|
23663
|
-
const _hoisted_1$
|
|
23664
|
-
const _hoisted_2$
|
|
23672
|
+
const _hoisted_1$P = ["src"];
|
|
23673
|
+
const _hoisted_2$n = ["onClick"];
|
|
23665
23674
|
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23666
23675
|
const _component_Button = resolveComponent("Button");
|
|
23667
23676
|
return openBlock(), createElementBlock("div", {
|
|
@@ -23683,7 +23692,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23683
23692
|
class: normalizeClass([_ctx.style.img, { [_ctx.style.round]: _ctx.round }]),
|
|
23684
23693
|
src: _ctx.bankInfo.logo,
|
|
23685
23694
|
alt: ""
|
|
23686
|
-
}, null, 10, _hoisted_1$
|
|
23695
|
+
}, null, 10, _hoisted_1$P)
|
|
23687
23696
|
], 2)
|
|
23688
23697
|
], 2),
|
|
23689
23698
|
createBaseVNode("div", {
|
|
@@ -23732,7 +23741,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23732
23741
|
class: normalizeClass(_ctx.style.maintainanceInfo),
|
|
23733
23742
|
style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
|
|
23734
23743
|
onClick: ($event) => _ctx.handleClick($event, info2)
|
|
23735
|
-
}, toDisplayString(info2.text), 15, _hoisted_2$
|
|
23744
|
+
}, toDisplayString(info2.text), 15, _hoisted_2$n);
|
|
23736
23745
|
}), 128))
|
|
23737
23746
|
], 2)
|
|
23738
23747
|
], 2);
|
|
@@ -23834,8 +23843,8 @@ const _sfc_main$1p = defineComponent({
|
|
|
23834
23843
|
};
|
|
23835
23844
|
}
|
|
23836
23845
|
});
|
|
23837
|
-
const _hoisted_1$
|
|
23838
|
-
const _hoisted_2$
|
|
23846
|
+
const _hoisted_1$O = ["src"];
|
|
23847
|
+
const _hoisted_2$m = ["onClick"];
|
|
23839
23848
|
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23840
23849
|
const _component_Button = resolveComponent("Button");
|
|
23841
23850
|
return openBlock(), createElementBlock("div", {
|
|
@@ -23854,7 +23863,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23854
23863
|
class: normalizeClass(_ctx.style.img),
|
|
23855
23864
|
src: _ctx.images.softbank,
|
|
23856
23865
|
alt: ""
|
|
23857
|
-
}, null, 10, _hoisted_1$
|
|
23866
|
+
}, null, 10, _hoisted_1$O)
|
|
23858
23867
|
], 2),
|
|
23859
23868
|
createBaseVNode("div", {
|
|
23860
23869
|
class: normalizeClass(_ctx.style.content)
|
|
@@ -23898,7 +23907,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23898
23907
|
class: normalizeClass(_ctx.style.maintainanceInfo),
|
|
23899
23908
|
style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
|
|
23900
23909
|
onClick: ($event) => _ctx.handleClick($event, info2)
|
|
23901
|
-
}, toDisplayString(info2.text), 15, _hoisted_2$
|
|
23910
|
+
}, toDisplayString(info2.text), 15, _hoisted_2$m);
|
|
23902
23911
|
}), 128))
|
|
23903
23912
|
], 2)
|
|
23904
23913
|
], 2);
|
|
@@ -24001,8 +24010,8 @@ const _sfc_main$1o = defineComponent({
|
|
|
24001
24010
|
};
|
|
24002
24011
|
}
|
|
24003
24012
|
});
|
|
24004
|
-
const _hoisted_1$
|
|
24005
|
-
const _hoisted_2$
|
|
24013
|
+
const _hoisted_1$N = ["src"];
|
|
24014
|
+
const _hoisted_2$l = ["onClick"];
|
|
24006
24015
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24007
24016
|
const _component_Button = resolveComponent("Button");
|
|
24008
24017
|
return openBlock(), createElementBlock("div", {
|
|
@@ -24022,7 +24031,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24022
24031
|
class: normalizeClass(_ctx.$style.img),
|
|
24023
24032
|
src: _ctx.images.payLater,
|
|
24024
24033
|
alt: ""
|
|
24025
|
-
}, null, 10, _hoisted_1$
|
|
24034
|
+
}, null, 10, _hoisted_1$N)
|
|
24026
24035
|
], 2),
|
|
24027
24036
|
createBaseVNode("div", {
|
|
24028
24037
|
class: normalizeClass(_ctx.$style.content)
|
|
@@ -24064,7 +24073,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24064
24073
|
class: normalizeClass(_ctx.$style.maintainanceInfo),
|
|
24065
24074
|
style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
|
|
24066
24075
|
onClick: ($event) => _ctx.handleClick($event, info2)
|
|
24067
|
-
}, toDisplayString(info2.text), 15, _hoisted_2$
|
|
24076
|
+
}, toDisplayString(info2.text), 15, _hoisted_2$l);
|
|
24068
24077
|
}), 128))
|
|
24069
24078
|
], 2)
|
|
24070
24079
|
], 2);
|
|
@@ -24180,7 +24189,7 @@ const _sfc_main$1n = defineComponent({
|
|
|
24180
24189
|
};
|
|
24181
24190
|
}
|
|
24182
24191
|
});
|
|
24183
|
-
const _hoisted_1$
|
|
24192
|
+
const _hoisted_1$M = ["aria-selected"];
|
|
24184
24193
|
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24185
24194
|
const _component_PaymentMethod = resolveComponent("PaymentMethod");
|
|
24186
24195
|
return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paymentMethods, (paymentMethod2, index2) => {
|
|
@@ -24212,7 +24221,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24212
24221
|
"ignore-bank-maintenance-flag": _ctx.ignoreBankMaintenanceFlag,
|
|
24213
24222
|
onSelect: ($event) => _ctx.select(index2)
|
|
24214
24223
|
}, null, 8, ["payment-method", "ignore-bank-maintenance-flag", "onSelect"])
|
|
24215
|
-
], 10, _hoisted_1$
|
|
24224
|
+
], 10, _hoisted_1$M);
|
|
24216
24225
|
}), 128);
|
|
24217
24226
|
}
|
|
24218
24227
|
const cssModules$1c = {};
|
|
@@ -24390,7 +24399,7 @@ const _sfc_main$1l = defineComponent({
|
|
|
24390
24399
|
};
|
|
24391
24400
|
}
|
|
24392
24401
|
});
|
|
24393
|
-
const _hoisted_1$
|
|
24402
|
+
const _hoisted_1$L = ["src"];
|
|
24394
24403
|
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24395
24404
|
const _component_PaymentType = resolveComponent("PaymentType");
|
|
24396
24405
|
const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
|
|
@@ -24423,7 +24432,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24423
24432
|
src: _ctx.images.bankIcon,
|
|
24424
24433
|
class: normalizeClass(_ctx.style.bankIcon),
|
|
24425
24434
|
alt: ""
|
|
24426
|
-
}, null, 10, _hoisted_1$
|
|
24435
|
+
}, null, 10, _hoisted_1$L),
|
|
24427
24436
|
createBaseVNode("div", {
|
|
24428
24437
|
class: normalizeClass(_ctx.style.addMethodMsg)
|
|
24429
24438
|
}, toDisplayString(_ctx.lg.choosePayment.addMethod), 3),
|
|
@@ -24573,11 +24582,14 @@ const _sfc_main$1k = defineComponent({
|
|
|
24573
24582
|
};
|
|
24574
24583
|
}
|
|
24575
24584
|
});
|
|
24576
|
-
const _hoisted_1$
|
|
24585
|
+
const _hoisted_1$K = ["aria-selected"];
|
|
24586
|
+
const _hoisted_2$k = { "data-testid": "address-title" };
|
|
24577
24587
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24578
24588
|
const _component_Button = resolveComponent("Button");
|
|
24579
24589
|
return openBlock(), createElementBlock("div", {
|
|
24580
|
-
class: normalizeClass(_ctx.style.root)
|
|
24590
|
+
class: normalizeClass(_ctx.style.root),
|
|
24591
|
+
role: "option",
|
|
24592
|
+
"aria-selected": _ctx.selected
|
|
24581
24593
|
}, [
|
|
24582
24594
|
createBaseVNode("div", {
|
|
24583
24595
|
class: normalizeClass(_ctx.style.addressContainer),
|
|
@@ -24587,7 +24599,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24587
24599
|
createBaseVNode("div", {
|
|
24588
24600
|
class: normalizeClass(_ctx.style.header)
|
|
24589
24601
|
}, [
|
|
24590
|
-
createBaseVNode("span",
|
|
24602
|
+
createBaseVNode("span", _hoisted_2$k, toDisplayString(_ctx.address.kyc ? _ctx.lg.userAddress.title : _ctx.address.title), 1)
|
|
24591
24603
|
], 2),
|
|
24592
24604
|
createBaseVNode("div", {
|
|
24593
24605
|
class: normalizeClass([_ctx.style.text]),
|
|
@@ -24629,7 +24641,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24629
24641
|
]),
|
|
24630
24642
|
_: 1
|
|
24631
24643
|
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
24632
|
-
],
|
|
24644
|
+
], 10, _hoisted_1$K);
|
|
24633
24645
|
}
|
|
24634
24646
|
const cssModules$19 = {};
|
|
24635
24647
|
cssModules$19["$style"] = style0$19;
|
|
@@ -24698,12 +24710,12 @@ const _sfc_main$1j = defineComponent({
|
|
|
24698
24710
|
};
|
|
24699
24711
|
}
|
|
24700
24712
|
});
|
|
24701
|
-
const _hoisted_1$
|
|
24713
|
+
const _hoisted_1$J = { key: 0 };
|
|
24702
24714
|
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24703
24715
|
const _component_Button = resolveComponent("Button");
|
|
24704
24716
|
const _component_Divider = resolveComponent("Divider");
|
|
24705
24717
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
24706
|
-
!_ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
24718
|
+
!_ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
24707
24719
|
createBaseVNode("div", {
|
|
24708
24720
|
class: normalizeClass(_ctx.style.footer),
|
|
24709
24721
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.add && _ctx.add(...args))
|
|
@@ -25029,12 +25041,12 @@ const _sfc_main$1f = defineComponent({
|
|
|
25029
25041
|
};
|
|
25030
25042
|
}
|
|
25031
25043
|
});
|
|
25032
|
-
const _hoisted_1$
|
|
25044
|
+
const _hoisted_1$I = { "data-testid": "selected-address" };
|
|
25033
25045
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25034
25046
|
const _component_NoRegisteredAddressMessage = resolveComponent("NoRegisteredAddressMessage");
|
|
25035
25047
|
const _component_AddressInfo = resolveComponent("AddressInfo");
|
|
25036
25048
|
const _component_Footer = resolveComponent("Footer");
|
|
25037
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25049
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
25038
25050
|
createBaseVNode("div", {
|
|
25039
25051
|
class: normalizeClass(_ctx.$style.container)
|
|
25040
25052
|
}, [
|
|
@@ -25448,14 +25460,12 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25448
25460
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.addresses, (address2, index2) => {
|
|
25449
25461
|
return openBlock(), createBlock(_component_Address, {
|
|
25450
25462
|
key: address2.id,
|
|
25451
|
-
role: "option",
|
|
25452
25463
|
address: address2,
|
|
25453
25464
|
selected: _ctx.isSelected(index2),
|
|
25454
|
-
"aria-selected": _ctx.isSelected(index2),
|
|
25455
25465
|
"is-makepayment": _ctx.isMakepayment,
|
|
25456
25466
|
onSelect: ($event) => _ctx.selectIndex(address2),
|
|
25457
25467
|
onEdit: ($event) => _ctx.$emit("edit", address2)
|
|
25458
|
-
}, null, 8, ["address", "selected", "
|
|
25468
|
+
}, null, 8, ["address", "selected", "is-makepayment", "onSelect", "onEdit"]);
|
|
25459
25469
|
}), 128)),
|
|
25460
25470
|
_ctx.showsNoRegisteredAddressMessage ? (openBlock(), createBlock(_component_NoRegisteredAddressMessage, {
|
|
25461
25471
|
key: 0,
|
|
@@ -26337,10 +26347,10 @@ const _sfc_main$1c = defineComponent({
|
|
|
26337
26347
|
};
|
|
26338
26348
|
}
|
|
26339
26349
|
});
|
|
26340
|
-
const _hoisted_1$
|
|
26350
|
+
const _hoisted_1$H = { key: 0 };
|
|
26341
26351
|
const _hoisted_2$j = ["disabled", "onClick"];
|
|
26342
26352
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26343
|
-
return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26353
|
+
return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
26344
26354
|
createBaseVNode("div", {
|
|
26345
26355
|
class: normalizeClass(_ctx.style.title)
|
|
26346
26356
|
}, toDisplayString(_ctx.lg.userAddress.tagForm), 3),
|
|
@@ -26414,17 +26424,15 @@ const states = [
|
|
|
26414
26424
|
{ label: "\u9E7F\u5150\u5CF6\u770C", value: "\u9E7F\u5150\u5CF6\u770C" },
|
|
26415
26425
|
{ label: "\u6C96\u7E04\u770C", value: "\u6C96\u7E04\u770C" }
|
|
26416
26426
|
];
|
|
26417
|
-
const root$2 = "
|
|
26418
|
-
const prepend = "
|
|
26419
|
-
const
|
|
26420
|
-
const
|
|
26421
|
-
const
|
|
26422
|
-
const
|
|
26423
|
-
const spacer = "_spacer_bzg2i_57";
|
|
26427
|
+
const root$2 = "_root_7td5b_1";
|
|
26428
|
+
const prepend = "_prepend_7td5b_15";
|
|
26429
|
+
const input$5 = "_input_7td5b_22";
|
|
26430
|
+
const select = "_select_7td5b_35";
|
|
26431
|
+
const borderDel = "_borderDel_7td5b_38";
|
|
26432
|
+
const spacer = "_spacer_7td5b_41";
|
|
26424
26433
|
var style0$10 = {
|
|
26425
26434
|
root: root$2,
|
|
26426
26435
|
prepend,
|
|
26427
|
-
append,
|
|
26428
26436
|
input: input$5,
|
|
26429
26437
|
select,
|
|
26430
26438
|
borderDel,
|
|
@@ -26619,13 +26627,11 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26619
26627
|
"data-testid": "content-title",
|
|
26620
26628
|
disabled: _ctx.kyc,
|
|
26621
26629
|
prepend: _ctx.lg.userAddress.titlePre,
|
|
26622
|
-
append: _ctx.lg.userAddress.titleApp,
|
|
26623
26630
|
"prepend-class-name": _ctx.style.prepend,
|
|
26624
|
-
"append-class-name": _ctx.style.append,
|
|
26625
26631
|
class: normalizeClass([_ctx.style.input, { [_ctx.style.borderDel]: !_ctx.state.title }]),
|
|
26626
26632
|
placeholder: _ctx.lg.userAddress.titlePlace,
|
|
26627
26633
|
required: ""
|
|
26628
|
-
}, null, 8, ["modelValue", "disabled", "prepend", "
|
|
26634
|
+
}, null, 8, ["modelValue", "disabled", "prepend", "prepend-class-name", "class", "placeholder"])) : createCommentVNode("", true),
|
|
26629
26635
|
_ctx.state.visibilities.receiver ? (openBlock(), createBlock(_component_Input, {
|
|
26630
26636
|
key: 1,
|
|
26631
26637
|
id: "content-receiver",
|
|
@@ -26772,7 +26778,7 @@ const _sfc_main$1a = defineComponent({
|
|
|
26772
26778
|
};
|
|
26773
26779
|
}
|
|
26774
26780
|
});
|
|
26775
|
-
const _hoisted_1$
|
|
26781
|
+
const _hoisted_1$G = ["src"];
|
|
26776
26782
|
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26777
26783
|
const _component_Button = resolveComponent("Button");
|
|
26778
26784
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -26792,7 +26798,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26792
26798
|
createBaseVNode("img", {
|
|
26793
26799
|
src: _ctx.img.iconError,
|
|
26794
26800
|
alt: "!"
|
|
26795
|
-
}, null, 8, _hoisted_1$
|
|
26801
|
+
}, null, 8, _hoisted_1$G),
|
|
26796
26802
|
createBaseVNode("p", {
|
|
26797
26803
|
class: normalizeClass(_ctx.style.title)
|
|
26798
26804
|
}, toDisplayString(_ctx.lg.userAddress.deleteTitle), 3),
|
|
@@ -27656,7 +27662,7 @@ const _sfc_main$16 = defineComponent({
|
|
|
27656
27662
|
};
|
|
27657
27663
|
}
|
|
27658
27664
|
});
|
|
27659
|
-
const _hoisted_1$
|
|
27665
|
+
const _hoisted_1$F = ["src"];
|
|
27660
27666
|
const _hoisted_2$i = { key: 1 };
|
|
27661
27667
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27662
27668
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
@@ -27702,7 +27708,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27702
27708
|
src: _ctx.bannerInfo.iconImageUrl,
|
|
27703
27709
|
class: normalizeClass(_ctx.style.bannerIcon),
|
|
27704
27710
|
alt: ""
|
|
27705
|
-
}, null, 10, _hoisted_1$
|
|
27711
|
+
}, null, 10, _hoisted_1$F),
|
|
27706
27712
|
createBaseVNode("p", {
|
|
27707
27713
|
class: normalizeClass(_ctx.style.bannerTitle)
|
|
27708
27714
|
}, toDisplayString(_ctx.bannerInfo.title), 3)
|
|
@@ -28184,7 +28190,7 @@ const _sfc_main$13 = defineComponent({
|
|
|
28184
28190
|
};
|
|
28185
28191
|
}
|
|
28186
28192
|
});
|
|
28187
|
-
const _hoisted_1$
|
|
28193
|
+
const _hoisted_1$E = ["onClick"];
|
|
28188
28194
|
const _hoisted_2$h = ["src"];
|
|
28189
28195
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28190
28196
|
var _a2, _b, _c;
|
|
@@ -28253,7 +28259,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28253
28259
|
"data-test": "open-icon"
|
|
28254
28260
|
}, null, 2)) : createCommentVNode("", true)
|
|
28255
28261
|
], 6)
|
|
28256
|
-
], 10, _hoisted_1$
|
|
28262
|
+
], 10, _hoisted_1$E);
|
|
28257
28263
|
}), 128))
|
|
28258
28264
|
], 2),
|
|
28259
28265
|
createBaseVNode("div", {
|
|
@@ -28828,7 +28834,7 @@ const _sfc_main$11 = defineComponent({
|
|
|
28828
28834
|
};
|
|
28829
28835
|
}
|
|
28830
28836
|
});
|
|
28831
|
-
const _hoisted_1$
|
|
28837
|
+
const _hoisted_1$D = ["src"];
|
|
28832
28838
|
const _hoisted_2$g = /* @__PURE__ */ createBaseVNode("span", null, "\u6C7A\u6E08\u756A\u53F7", -1);
|
|
28833
28839
|
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28834
28840
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
@@ -28871,7 +28877,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28871
28877
|
src: _ctx.storeImage,
|
|
28872
28878
|
class: normalizeClass(_ctx.style.storeLogo),
|
|
28873
28879
|
alt: ""
|
|
28874
|
-
}, null, 10, _hoisted_1$
|
|
28880
|
+
}, null, 10, _hoisted_1$D)
|
|
28875
28881
|
], 2)) : createCommentVNode("", true),
|
|
28876
28882
|
createBaseVNode("div", {
|
|
28877
28883
|
class: normalizeClass(_ctx.style.content)
|
|
@@ -29040,7 +29046,7 @@ const _sfc_main$10 = defineComponent({
|
|
|
29040
29046
|
};
|
|
29041
29047
|
}
|
|
29042
29048
|
});
|
|
29043
|
-
const _hoisted_1$
|
|
29049
|
+
const _hoisted_1$C = ["src"];
|
|
29044
29050
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29045
29051
|
const _component_Button = resolveComponent("Button");
|
|
29046
29052
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29050,7 +29056,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29050
29056
|
src: _ctx.images.iconError,
|
|
29051
29057
|
class: normalizeClass(_ctx.$style.headerImage),
|
|
29052
29058
|
alt: "!"
|
|
29053
|
-
}, null, 10, _hoisted_1$
|
|
29059
|
+
}, null, 10, _hoisted_1$C),
|
|
29054
29060
|
createBaseVNode("div", {
|
|
29055
29061
|
class: normalizeClass(_ctx.$style.content)
|
|
29056
29062
|
}, [
|
|
@@ -29152,7 +29158,7 @@ const _sfc_main$$ = defineComponent({
|
|
|
29152
29158
|
getButtonType
|
|
29153
29159
|
}
|
|
29154
29160
|
});
|
|
29155
|
-
const _hoisted_1$
|
|
29161
|
+
const _hoisted_1$B = ["src"];
|
|
29156
29162
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29157
29163
|
const _component_Button = resolveComponent("Button");
|
|
29158
29164
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29163,7 +29169,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29163
29169
|
src: _ctx.iconUrl,
|
|
29164
29170
|
class: normalizeClass(_ctx.$style.headerImage),
|
|
29165
29171
|
alt: ""
|
|
29166
|
-
}, null, 10, _hoisted_1$
|
|
29172
|
+
}, null, 10, _hoisted_1$B),
|
|
29167
29173
|
createBaseVNode("div", {
|
|
29168
29174
|
class: normalizeClass(_ctx.$style.content)
|
|
29169
29175
|
}, [
|
|
@@ -29238,7 +29244,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
29238
29244
|
};
|
|
29239
29245
|
}
|
|
29240
29246
|
});
|
|
29241
|
-
const _hoisted_1$
|
|
29247
|
+
const _hoisted_1$A = ["for"];
|
|
29242
29248
|
const _hoisted_2$f = ["id"];
|
|
29243
29249
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29244
29250
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29259,7 +29265,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29259
29265
|
}, null, 42, _hoisted_2$f), [
|
|
29260
29266
|
[vModelText, _ctx.value]
|
|
29261
29267
|
])
|
|
29262
|
-
], 10, _hoisted_1$
|
|
29268
|
+
], 10, _hoisted_1$A)
|
|
29263
29269
|
], 2);
|
|
29264
29270
|
}
|
|
29265
29271
|
const cssModules$Q = {};
|
|
@@ -29337,7 +29343,7 @@ const _sfc_main$Z = defineComponent({
|
|
|
29337
29343
|
};
|
|
29338
29344
|
}
|
|
29339
29345
|
});
|
|
29340
|
-
const _hoisted_1$
|
|
29346
|
+
const _hoisted_1$z = ["src"];
|
|
29341
29347
|
const _hoisted_2$e = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
29342
29348
|
const _hoisted_3$9 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
29343
29349
|
const _hoisted_4$3 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
@@ -29358,7 +29364,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29358
29364
|
createBaseVNode("img", {
|
|
29359
29365
|
src: _ctx.images.iconBirthday,
|
|
29360
29366
|
alt: ""
|
|
29361
|
-
}, null, 8, _hoisted_1$
|
|
29367
|
+
}, null, 8, _hoisted_1$z)
|
|
29362
29368
|
], 2),
|
|
29363
29369
|
createBaseVNode("div", {
|
|
29364
29370
|
class: normalizeClass(_ctx.$style.content)
|
|
@@ -29484,7 +29490,7 @@ const _sfc_main$Y = defineComponent({
|
|
|
29484
29490
|
};
|
|
29485
29491
|
}
|
|
29486
29492
|
});
|
|
29487
|
-
const _hoisted_1$
|
|
29493
|
+
const _hoisted_1$y = ["src"];
|
|
29488
29494
|
const _hoisted_2$d = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
29489
29495
|
const _hoisted_3$8 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
29490
29496
|
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -29503,7 +29509,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29503
29509
|
src: _ctx.images.iconMinorAge,
|
|
29504
29510
|
class: normalizeClass(_ctx.$style.error),
|
|
29505
29511
|
alt: "\u30A8\u30E9\u30FC"
|
|
29506
|
-
}, null, 10, _hoisted_1$
|
|
29512
|
+
}, null, 10, _hoisted_1$y)
|
|
29507
29513
|
], 2),
|
|
29508
29514
|
createBaseVNode("div", {
|
|
29509
29515
|
class: normalizeClass(_ctx.$style.content)
|
|
@@ -29590,7 +29596,7 @@ const _sfc_main$X = defineComponent({
|
|
|
29590
29596
|
};
|
|
29591
29597
|
}
|
|
29592
29598
|
});
|
|
29593
|
-
const _hoisted_1$
|
|
29599
|
+
const _hoisted_1$x = ["src"];
|
|
29594
29600
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29595
29601
|
return openBlock(), createElementBlock("div", {
|
|
29596
29602
|
role: "button",
|
|
@@ -29603,7 +29609,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29603
29609
|
class: normalizeClass(_ctx.style.buttonImage),
|
|
29604
29610
|
src: _ctx.imageUrl,
|
|
29605
29611
|
alt: ""
|
|
29606
|
-
}, null, 10, _hoisted_1$
|
|
29612
|
+
}, null, 10, _hoisted_1$x)
|
|
29607
29613
|
], 2),
|
|
29608
29614
|
createBaseVNode("span", {
|
|
29609
29615
|
class: normalizeClass(_ctx.style.buttonText)
|
|
@@ -30969,7 +30975,7 @@ const _sfc_main$W = defineComponent({
|
|
|
30969
30975
|
};
|
|
30970
30976
|
}
|
|
30971
30977
|
});
|
|
30972
|
-
const _hoisted_1$
|
|
30978
|
+
const _hoisted_1$w = ["src"];
|
|
30973
30979
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30974
30980
|
const _component_Lottie = resolveComponent("Lottie");
|
|
30975
30981
|
const _component_FloatingButton = resolveComponent("FloatingButton");
|
|
@@ -31002,7 +31008,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31002
31008
|
alt: "\u9589\u3058\u308B",
|
|
31003
31009
|
"data-testid": "cash-back-detail-close-button",
|
|
31004
31010
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.close && _ctx.close(...args))
|
|
31005
|
-
}, null, 14, _hoisted_1$
|
|
31011
|
+
}, null, 14, _hoisted_1$w)) : createCommentVNode("", true),
|
|
31006
31012
|
_ctx.showFullScreenContent ? (openBlock(), createElementBlock("div", {
|
|
31007
31013
|
key: 1,
|
|
31008
31014
|
class: normalizeClass(_ctx.style.campaignContainer)
|
|
@@ -31098,7 +31104,7 @@ const _sfc_main$V = defineComponent({
|
|
|
31098
31104
|
};
|
|
31099
31105
|
}
|
|
31100
31106
|
});
|
|
31101
|
-
const _hoisted_1$
|
|
31107
|
+
const _hoisted_1$v = ["onClick"];
|
|
31102
31108
|
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31103
31109
|
return openBlock(), createElementBlock("ul", {
|
|
31104
31110
|
class: normalizeClass(_ctx.style.container),
|
|
@@ -31116,7 +31122,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31116
31122
|
createBaseVNode("span", {
|
|
31117
31123
|
class: normalizeClass(_ctx.style.unit)
|
|
31118
31124
|
}, "\u5186", 2)
|
|
31119
|
-
], 10, _hoisted_1$
|
|
31125
|
+
], 10, _hoisted_1$v);
|
|
31120
31126
|
}), 128))
|
|
31121
31127
|
], 2);
|
|
31122
31128
|
}
|
|
@@ -31192,7 +31198,7 @@ const _sfc_main$U = defineComponent({
|
|
|
31192
31198
|
};
|
|
31193
31199
|
}
|
|
31194
31200
|
});
|
|
31195
|
-
const _hoisted_1$
|
|
31201
|
+
const _hoisted_1$u = ["src"];
|
|
31196
31202
|
const _hoisted_2$c = { key: 0 };
|
|
31197
31203
|
const _hoisted_3$7 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
31198
31204
|
const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
@@ -31208,7 +31214,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31208
31214
|
src: _ctx.appLogo,
|
|
31209
31215
|
class: normalizeClass(_ctx.style.appLogo),
|
|
31210
31216
|
alt: ""
|
|
31211
|
-
}, null, 10, _hoisted_1$
|
|
31217
|
+
}, null, 10, _hoisted_1$u),
|
|
31212
31218
|
createBaseVNode("div", {
|
|
31213
31219
|
class: normalizeClass(_ctx.style.appName)
|
|
31214
31220
|
}, toDisplayString(_ctx.appDetail.appName), 3)
|
|
@@ -31323,7 +31329,7 @@ const _sfc_main$T = defineComponent({
|
|
|
31323
31329
|
};
|
|
31324
31330
|
}
|
|
31325
31331
|
});
|
|
31326
|
-
const _hoisted_1$
|
|
31332
|
+
const _hoisted_1$t = ["src"];
|
|
31327
31333
|
const _hoisted_2$b = ["src"];
|
|
31328
31334
|
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31329
31335
|
return openBlock(), createElementBlock("div", {
|
|
@@ -31344,7 +31350,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31344
31350
|
src: _ctx.iconImageUrl,
|
|
31345
31351
|
class: normalizeClass(_ctx.style.icon),
|
|
31346
31352
|
alt: ""
|
|
31347
|
-
}, null, 10, _hoisted_1$
|
|
31353
|
+
}, null, 10, _hoisted_1$t)) : createCommentVNode("", true),
|
|
31348
31354
|
createBaseVNode("span", {
|
|
31349
31355
|
class: normalizeClass([_ctx.style.title, _ctx.textStyle])
|
|
31350
31356
|
}, toDisplayString(_ctx.title), 3),
|
|
@@ -31492,7 +31498,7 @@ const _sfc_main$S = defineComponent({
|
|
|
31492
31498
|
};
|
|
31493
31499
|
}
|
|
31494
31500
|
});
|
|
31495
|
-
const _hoisted_1$
|
|
31501
|
+
const _hoisted_1$s = ["onClick"];
|
|
31496
31502
|
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31497
31503
|
const _component_Select = resolveComponent("Select");
|
|
31498
31504
|
return openBlock(), createElementBlock("div", {
|
|
@@ -31511,7 +31517,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31511
31517
|
role: "button",
|
|
31512
31518
|
"data-test": "select-amount",
|
|
31513
31519
|
onClick: ($event) => _ctx.select(amount2)
|
|
31514
|
-
}, toDisplayString(_ctx.operator) + toDisplayString(_ctx.numberWithCommas(amount2)), 11, _hoisted_1$
|
|
31520
|
+
}, toDisplayString(_ctx.operator) + toDisplayString(_ctx.numberWithCommas(amount2)), 11, _hoisted_1$s);
|
|
31515
31521
|
}), 128)),
|
|
31516
31522
|
_ctx.isSelectMoreVisible ? (openBlock(), createElementBlock("div", {
|
|
31517
31523
|
key: 0,
|
|
@@ -31785,7 +31791,7 @@ const _sfc_main$R = defineComponent({
|
|
|
31785
31791
|
};
|
|
31786
31792
|
}
|
|
31787
31793
|
});
|
|
31788
|
-
const _hoisted_1$
|
|
31794
|
+
const _hoisted_1$r = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
|
|
31789
31795
|
const _hoisted_2$a = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
31790
31796
|
const _hoisted_3$6 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
31791
31797
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -31828,7 +31834,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31828
31834
|
class: normalizeClass(_ctx.style.topupAmount)
|
|
31829
31835
|
}, [
|
|
31830
31836
|
createTextVNode(toDisplayString(_ctx.topupAmountText), 1),
|
|
31831
|
-
_hoisted_1$
|
|
31837
|
+
_hoisted_1$r
|
|
31832
31838
|
], 2)
|
|
31833
31839
|
], 2)
|
|
31834
31840
|
], 2),
|
|
@@ -32063,7 +32069,7 @@ const _sfc_main$Q = defineComponent({
|
|
|
32063
32069
|
};
|
|
32064
32070
|
}
|
|
32065
32071
|
});
|
|
32066
|
-
const _hoisted_1$
|
|
32072
|
+
const _hoisted_1$q = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
32067
32073
|
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32068
32074
|
const _component_Header = resolveComponent("Header");
|
|
32069
32075
|
const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
|
|
@@ -32107,7 +32113,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32107
32113
|
class: normalizeClass(_ctx.style.bottomText)
|
|
32108
32114
|
}, [
|
|
32109
32115
|
createTextVNode(toDisplayString(_ctx.lg.choosePayment.desc1), 1),
|
|
32110
|
-
_hoisted_1$
|
|
32116
|
+
_hoisted_1$q,
|
|
32111
32117
|
createTextVNode(" " + toDisplayString(_ctx.lg.choosePayment.desc2), 1)
|
|
32112
32118
|
], 2)
|
|
32113
32119
|
], 6)
|
|
@@ -32649,7 +32655,7 @@ const _sfc_main$O = defineComponent({
|
|
|
32649
32655
|
};
|
|
32650
32656
|
}
|
|
32651
32657
|
});
|
|
32652
|
-
const _hoisted_1$
|
|
32658
|
+
const _hoisted_1$p = ["src"];
|
|
32653
32659
|
const _hoisted_2$9 = { key: 0 };
|
|
32654
32660
|
const _hoisted_3$5 = {
|
|
32655
32661
|
key: 1,
|
|
@@ -32671,7 +32677,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32671
32677
|
class: normalizeClass(_ctx.$style.icon),
|
|
32672
32678
|
src: _ctx.images.icon3DSecure,
|
|
32673
32679
|
alt: "3D\u30BB\u30AD\u30E5\u30A2"
|
|
32674
|
-
}, null, 10, _hoisted_1$
|
|
32680
|
+
}, null, 10, _hoisted_1$p),
|
|
32675
32681
|
createBaseVNode("h1", {
|
|
32676
32682
|
class: normalizeClass(_ctx.$style.title)
|
|
32677
32683
|
}, toDisplayString(_ctx.lg.title), 3),
|
|
@@ -33586,7 +33592,7 @@ const _sfc_main$L = defineComponent({
|
|
|
33586
33592
|
getButtonType
|
|
33587
33593
|
}
|
|
33588
33594
|
});
|
|
33589
|
-
const _hoisted_1$
|
|
33595
|
+
const _hoisted_1$o = ["src"];
|
|
33590
33596
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33591
33597
|
const _component_Button = resolveComponent("Button");
|
|
33592
33598
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33596,7 +33602,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33596
33602
|
src: _ctx.iconUrl,
|
|
33597
33603
|
class: normalizeClass(_ctx.style.bannerInfoIcon),
|
|
33598
33604
|
alt: ""
|
|
33599
|
-
}, null, 10, _hoisted_1$
|
|
33605
|
+
}, null, 10, _hoisted_1$o),
|
|
33600
33606
|
createBaseVNode("div", {
|
|
33601
33607
|
class: normalizeClass(_ctx.style.bannerTitle)
|
|
33602
33608
|
}, toDisplayString(_ctx.title), 3),
|
|
@@ -33792,7 +33798,7 @@ const _sfc_main$J = defineComponent({
|
|
|
33792
33798
|
}
|
|
33793
33799
|
}
|
|
33794
33800
|
});
|
|
33795
|
-
const _hoisted_1$
|
|
33801
|
+
const _hoisted_1$n = ["src"];
|
|
33796
33802
|
const _hoisted_2$8 = ["src"];
|
|
33797
33803
|
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33798
33804
|
const _component_Divider = resolveComponent("Divider");
|
|
@@ -33804,7 +33810,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33804
33810
|
alt: "\u30DA\u30A4\u30DA\u30A4",
|
|
33805
33811
|
class: normalizeClass(_ctx.style.paypayLogo),
|
|
33806
33812
|
src: _ctx.images.paypay
|
|
33807
|
-
}, null, 10, _hoisted_1$
|
|
33813
|
+
}, null, 10, _hoisted_1$n),
|
|
33808
33814
|
createBaseVNode("div", {
|
|
33809
33815
|
class: normalizeClass(_ctx.style.title)
|
|
33810
33816
|
}, toDisplayString(_ctx.lg.topupCompletion.title), 3),
|
|
@@ -34344,7 +34350,7 @@ const _sfc_main$I = defineComponent({
|
|
|
34344
34350
|
}
|
|
34345
34351
|
}
|
|
34346
34352
|
});
|
|
34347
|
-
const _hoisted_1$
|
|
34353
|
+
const _hoisted_1$m = { key: 0 };
|
|
34348
34354
|
const _hoisted_2$7 = { key: 1 };
|
|
34349
34355
|
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34350
34356
|
const _component_Header = resolveComponent("Header");
|
|
@@ -34448,7 +34454,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34448
34454
|
createBaseVNode("div", {
|
|
34449
34455
|
class: normalizeClass(_ctx.$style.invalidAmount)
|
|
34450
34456
|
}, [
|
|
34451
|
-
_ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
34457
|
+
_ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(_ctx.minAMountErrorMessage), 1)) : createCommentVNode("", true),
|
|
34452
34458
|
_ctx.maxAmountExceeded ? (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(_ctx.lg.topup.maxAmount), 1)) : createCommentVNode("", true)
|
|
34453
34459
|
], 2)
|
|
34454
34460
|
], 2),
|
|
@@ -34757,9 +34763,9 @@ function removeStorageData(params) {
|
|
|
34757
34763
|
}
|
|
34758
34764
|
async function getPermissionStatus(params) {
|
|
34759
34765
|
const newParams = reconstructParams(params);
|
|
34760
|
-
await execute$
|
|
34766
|
+
await execute$d(newParams);
|
|
34761
34767
|
}
|
|
34762
|
-
async function execute$
|
|
34768
|
+
async function execute$d(params) {
|
|
34763
34769
|
var _a2, _b, _c;
|
|
34764
34770
|
try {
|
|
34765
34771
|
const permissionList = await getUserGrantedPermission();
|
|
@@ -35100,7 +35106,7 @@ const _sfc_main$G = defineComponent({
|
|
|
35100
35106
|
}
|
|
35101
35107
|
}
|
|
35102
35108
|
});
|
|
35103
|
-
const _hoisted_1$
|
|
35109
|
+
const _hoisted_1$l = ["src"];
|
|
35104
35110
|
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35105
35111
|
const _component_Button = resolveComponent("Button");
|
|
35106
35112
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -35119,7 +35125,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35119
35125
|
src: _ctx.images.iconAppUpdate,
|
|
35120
35126
|
class: normalizeClass(_ctx.$style.updateIcon),
|
|
35121
35127
|
alt: "\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8"
|
|
35122
|
-
}, null, 10, _hoisted_1$
|
|
35128
|
+
}, null, 10, _hoisted_1$l),
|
|
35123
35129
|
createBaseVNode("span", {
|
|
35124
35130
|
class: normalizeClass(_ctx.$style.updateTitle),
|
|
35125
35131
|
"data-testid": "update-title"
|
|
@@ -35215,9 +35221,9 @@ function showUpdateWarning$1(params) {
|
|
|
35215
35221
|
}
|
|
35216
35222
|
async function getPlatformInformation(params) {
|
|
35217
35223
|
const newParams = reconstructParams(params);
|
|
35218
|
-
await execute$
|
|
35224
|
+
await execute$c(newParams);
|
|
35219
35225
|
}
|
|
35220
|
-
async function execute$
|
|
35226
|
+
async function execute$c(params) {
|
|
35221
35227
|
var _a2, _b;
|
|
35222
35228
|
let sdkVersion = null;
|
|
35223
35229
|
let preferredLanguage = getPayPayLanguage();
|
|
@@ -35248,9 +35254,9 @@ async function execute$a(params) {
|
|
|
35248
35254
|
}
|
|
35249
35255
|
function getDeviceInformation(params) {
|
|
35250
35256
|
const newParams = reconstructParams(params);
|
|
35251
|
-
execute$
|
|
35257
|
+
execute$b(newParams);
|
|
35252
35258
|
}
|
|
35253
|
-
function execute$
|
|
35259
|
+
function execute$b(params) {
|
|
35254
35260
|
var _a2;
|
|
35255
35261
|
const runtime = getRuntime();
|
|
35256
35262
|
(_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
|
|
@@ -35333,7 +35339,7 @@ const _sfc_main$F = defineComponent({
|
|
|
35333
35339
|
};
|
|
35334
35340
|
}
|
|
35335
35341
|
});
|
|
35336
|
-
const _hoisted_1$
|
|
35342
|
+
const _hoisted_1$k = ["src"];
|
|
35337
35343
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35338
35344
|
const _component_Button = resolveComponent("Button");
|
|
35339
35345
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -35350,7 +35356,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35350
35356
|
src: _ctx.images.iconOpenApp,
|
|
35351
35357
|
class: normalizeClass(_ctx.style.appIcon),
|
|
35352
35358
|
alt: "\u5916\u90E8\u30A2\u30D7\u30EA\u3092\u958B\u304F"
|
|
35353
|
-
}, null, 10, _hoisted_1$
|
|
35359
|
+
}, null, 10, _hoisted_1$k),
|
|
35354
35360
|
createBaseVNode("span", {
|
|
35355
35361
|
class: normalizeClass(_ctx.style.title)
|
|
35356
35362
|
}, toDisplayString(_ctx.lg.openApp.title), 3)
|
|
@@ -35468,9 +35474,9 @@ async function share(shareParams) {
|
|
|
35468
35474
|
}
|
|
35469
35475
|
async function getKycInformation(params) {
|
|
35470
35476
|
const newParams = reconstructParams(params);
|
|
35471
|
-
await execute$
|
|
35477
|
+
await execute$a(newParams);
|
|
35472
35478
|
}
|
|
35473
|
-
async function execute$
|
|
35479
|
+
async function execute$a(params) {
|
|
35474
35480
|
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
35475
35481
|
try {
|
|
35476
35482
|
const grantStatus = await checkPermission(PermissionName.mini_app_kyc);
|
|
@@ -35891,12 +35897,12 @@ async function checkPaymentMethod(checkPayMethodParams) {
|
|
|
35891
35897
|
}
|
|
35892
35898
|
function debug(params) {
|
|
35893
35899
|
const newParams = reconstructParams(params);
|
|
35894
|
-
execute$
|
|
35900
|
+
execute$9(newParams);
|
|
35895
35901
|
}
|
|
35896
|
-
function execute$
|
|
35902
|
+
function execute$9(params) {
|
|
35897
35903
|
var _a2;
|
|
35898
35904
|
(_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
|
|
35899
|
-
v: "1.
|
|
35905
|
+
v: "1.62.0"
|
|
35900
35906
|
});
|
|
35901
35907
|
}
|
|
35902
35908
|
function useCallBack(props, ctx) {
|
|
@@ -36359,7 +36365,7 @@ const _sfc_main$C = defineComponent({
|
|
|
36359
36365
|
};
|
|
36360
36366
|
}
|
|
36361
36367
|
});
|
|
36362
|
-
const _hoisted_1$
|
|
36368
|
+
const _hoisted_1$j = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
36363
36369
|
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36364
36370
|
const _component_Button = resolveComponent("Button");
|
|
36365
36371
|
const _component_ActionSheet = resolveComponent("ActionSheet");
|
|
@@ -36384,7 +36390,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36384
36390
|
class: normalizeClass(_ctx.$style.content)
|
|
36385
36391
|
}, [
|
|
36386
36392
|
createTextVNode(" \u8A8D\u8A3C\u30E1\u30FC\u30EB\u3092\u518D\u9001\u3059\u308B\u304B"),
|
|
36387
|
-
_hoisted_1$
|
|
36393
|
+
_hoisted_1$j,
|
|
36388
36394
|
createTextVNode(" \u5225\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3067\u767B\u9332\u3092\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044 ")
|
|
36389
36395
|
], 2),
|
|
36390
36396
|
createBaseVNode("div", {
|
|
@@ -36548,7 +36554,7 @@ const _sfc_main$B = defineComponent({
|
|
|
36548
36554
|
};
|
|
36549
36555
|
}
|
|
36550
36556
|
});
|
|
36551
|
-
const _hoisted_1$
|
|
36557
|
+
const _hoisted_1$i = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
36552
36558
|
const _hoisted_2$6 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
36553
36559
|
const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("svg", {
|
|
36554
36560
|
width: "20",
|
|
@@ -36603,7 +36609,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36603
36609
|
class: normalizeClass(_ctx.$style.mailContent)
|
|
36604
36610
|
}, [
|
|
36605
36611
|
createTextVNode(" \u4E0A\u8A18\u30A2\u30C9\u30EC\u30B9\u306B\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F"),
|
|
36606
|
-
_hoisted_1$
|
|
36612
|
+
_hoisted_1$i,
|
|
36607
36613
|
createTextVNode(" \u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305FURL\u304B\u3089"),
|
|
36608
36614
|
_hoisted_2$6,
|
|
36609
36615
|
createBaseVNode("span", {
|
|
@@ -36813,7 +36819,7 @@ const _sfc_main$A = defineComponent({
|
|
|
36813
36819
|
};
|
|
36814
36820
|
}
|
|
36815
36821
|
});
|
|
36816
|
-
const _hoisted_1$
|
|
36822
|
+
const _hoisted_1$h = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
36817
36823
|
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36818
36824
|
var _a2;
|
|
36819
36825
|
const _component_Email = resolveComponent("Email");
|
|
@@ -36853,7 +36859,6 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36853
36859
|
message: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093"
|
|
36854
36860
|
}
|
|
36855
36861
|
],
|
|
36856
|
-
"auto-capitalize": "none",
|
|
36857
36862
|
"data-testid": "input-email",
|
|
36858
36863
|
onValidate: _ctx.validateEmail
|
|
36859
36864
|
}, null, 8, ["modelValue", "rules", "onValidate"])
|
|
@@ -36862,7 +36867,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36862
36867
|
class: normalizeClass(_ctx.$style.info)
|
|
36863
36868
|
}, [
|
|
36864
36869
|
createTextVNode(" \u3053\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306FPayPay\u306B\u3082\u767B\u9332\u3055\u308C\u307E\u3059"),
|
|
36865
|
-
_hoisted_1$
|
|
36870
|
+
_hoisted_1$h,
|
|
36866
36871
|
createTextVNode(" \u914D\u4FE1\u306E\u8A2D\u5B9A\u306F\u30D7\u30ED\u30D5\u30A3\u30FC\u30EB\u753B\u9762\u304B\u3089\u53EF\u80FD\u3067\u3059 ")
|
|
36867
36872
|
], 2),
|
|
36868
36873
|
createBaseVNode("div", {
|
|
@@ -37063,9 +37068,9 @@ function registerEmail(params, allowsUpdate = false) {
|
|
|
37063
37068
|
}
|
|
37064
37069
|
function registerKyc(params) {
|
|
37065
37070
|
const newParams = reconstructParams(params);
|
|
37066
|
-
execute$
|
|
37071
|
+
execute$8(newParams);
|
|
37067
37072
|
}
|
|
37068
|
-
function execute$
|
|
37073
|
+
function execute$8(params) {
|
|
37069
37074
|
var _a2;
|
|
37070
37075
|
params = {
|
|
37071
37076
|
...params,
|
|
@@ -37107,17 +37112,18 @@ function execute$6(params) {
|
|
|
37107
37112
|
const MinVersion = {
|
|
37108
37113
|
PRE_TRANSACTION_AUTO_CHARGE: "3.43.0",
|
|
37109
37114
|
FALLBACK_PAYMENT_METHOD: "3.61.0",
|
|
37115
|
+
OS_HOME_SCREEN_ICON: "3.71.0",
|
|
37110
37116
|
START_MULTIFACTOR_AUTH_ANDROID_FIX: "3.67.0"
|
|
37111
37117
|
};
|
|
37112
37118
|
async function startMultiFactorAuth(params) {
|
|
37113
37119
|
const newParams = reconstructParams(params);
|
|
37114
|
-
await execute$
|
|
37120
|
+
await execute$7(newParams);
|
|
37115
37121
|
}
|
|
37116
37122
|
function validType(params) {
|
|
37117
37123
|
const authTypes = ["BIOMETRIC"];
|
|
37118
37124
|
return authTypes.includes(params == null ? void 0 : params.type);
|
|
37119
37125
|
}
|
|
37120
|
-
async function execute$
|
|
37126
|
+
async function execute$7(params) {
|
|
37121
37127
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
37122
37128
|
if (!validType(params)) {
|
|
37123
37129
|
return (_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.invalidType });
|
|
@@ -37158,9 +37164,9 @@ async function execute$5(params) {
|
|
|
37158
37164
|
}
|
|
37159
37165
|
function logout(params) {
|
|
37160
37166
|
const newParams = reconstructParams(params);
|
|
37161
|
-
execute$
|
|
37167
|
+
execute$6(newParams);
|
|
37162
37168
|
}
|
|
37163
|
-
function execute$
|
|
37169
|
+
function execute$6(params) {
|
|
37164
37170
|
var _a2, _b;
|
|
37165
37171
|
try {
|
|
37166
37172
|
Object.entries(PpLocalStorageKey).forEach(([_, value2]) => {
|
|
@@ -37175,9 +37181,9 @@ function execute$4(params) {
|
|
|
37175
37181
|
}
|
|
37176
37182
|
async function verifyMultiFactorAuthResult(params) {
|
|
37177
37183
|
const newParams = reconstructParams(params);
|
|
37178
|
-
await execute$
|
|
37184
|
+
await execute$5(newParams);
|
|
37179
37185
|
}
|
|
37180
|
-
async function execute$
|
|
37186
|
+
async function execute$5(params) {
|
|
37181
37187
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
37182
37188
|
const urlParams = new URLSearchParams(window.location.search);
|
|
37183
37189
|
const sessionId = urlParams == null ? void 0 : urlParams.get("ppSessionId");
|
|
@@ -37791,7 +37797,7 @@ const _sfc_main$y = defineComponent({
|
|
|
37791
37797
|
};
|
|
37792
37798
|
}
|
|
37793
37799
|
});
|
|
37794
|
-
const _hoisted_1$
|
|
37800
|
+
const _hoisted_1$g = ["href"];
|
|
37795
37801
|
const _hoisted_2$5 = ["src"];
|
|
37796
37802
|
const _hoisted_3$3 = ["src"];
|
|
37797
37803
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -37847,7 +37853,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37847
37853
|
alt: "",
|
|
37848
37854
|
onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
|
|
37849
37855
|
}, null, 42, _hoisted_3$3)) : createCommentVNode("", true)
|
|
37850
|
-
], 10, _hoisted_1$
|
|
37856
|
+
], 10, _hoisted_1$g)
|
|
37851
37857
|
], 2);
|
|
37852
37858
|
}
|
|
37853
37859
|
const cssModules$r = {};
|
|
@@ -38672,7 +38678,7 @@ const _sfc_main$v = defineComponent({
|
|
|
38672
38678
|
};
|
|
38673
38679
|
}
|
|
38674
38680
|
});
|
|
38675
|
-
const _hoisted_1$
|
|
38681
|
+
const _hoisted_1$f = ["type", "pattern", "inputmode", "placeholder"];
|
|
38676
38682
|
const _hoisted_2$4 = ["src"];
|
|
38677
38683
|
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38678
38684
|
return openBlock(), createElementBlock("div", {
|
|
@@ -38692,7 +38698,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38692
38698
|
class: normalizeClass(_ctx.$style.input),
|
|
38693
38699
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
38694
38700
|
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
|
|
38695
|
-
}, null, 42, _hoisted_1$
|
|
38701
|
+
}, null, 42, _hoisted_1$f), [
|
|
38696
38702
|
[vModelDynamic, _ctx.state.value]
|
|
38697
38703
|
]),
|
|
38698
38704
|
withDirectives(createBaseVNode("button", {
|
|
@@ -38749,7 +38755,7 @@ const _sfc_main$u = defineComponent({
|
|
|
38749
38755
|
};
|
|
38750
38756
|
}
|
|
38751
38757
|
});
|
|
38752
|
-
const _hoisted_1$
|
|
38758
|
+
const _hoisted_1$e = ["onClick"];
|
|
38753
38759
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38754
38760
|
return openBlock(), createElementBlock("div", {
|
|
38755
38761
|
class: normalizeClass(_ctx.$style.container)
|
|
@@ -38762,7 +38768,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38762
38768
|
[_ctx.$style.selected]: button4 === _ctx.selectedValue
|
|
38763
38769
|
}),
|
|
38764
38770
|
onClick: ($event) => _ctx.onClick(button4)
|
|
38765
|
-
}, toDisplayString(button4), 11, _hoisted_1$
|
|
38771
|
+
}, toDisplayString(button4), 11, _hoisted_1$e);
|
|
38766
38772
|
}), 128))
|
|
38767
38773
|
], 2);
|
|
38768
38774
|
}
|
|
@@ -38848,7 +38854,7 @@ const _sfc_main$t = defineComponent({
|
|
|
38848
38854
|
};
|
|
38849
38855
|
}
|
|
38850
38856
|
});
|
|
38851
|
-
const _hoisted_1$
|
|
38857
|
+
const _hoisted_1$d = ["src"];
|
|
38852
38858
|
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38853
38859
|
return openBlock(), createElementBlock("div", {
|
|
38854
38860
|
class: normalizeClass(_ctx.$style.container)
|
|
@@ -38876,7 +38882,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38876
38882
|
class: normalizeClass(_ctx.$style.icon),
|
|
38877
38883
|
src: _ctx.images.iconRightArrowGray,
|
|
38878
38884
|
alt: ">"
|
|
38879
|
-
}, null, 10, _hoisted_1$
|
|
38885
|
+
}, null, 10, _hoisted_1$d)
|
|
38880
38886
|
], 2),
|
|
38881
38887
|
_ctx.notVerified ? (openBlock(), createElementBlock("div", {
|
|
38882
38888
|
key: 0,
|
|
@@ -38969,9 +38975,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38969
38975
|
}, null, 8, ["data-point"])) : (openBlock(), createBlock(_component_RegisterUserInfoSimpleInput, {
|
|
38970
38976
|
key: 2,
|
|
38971
38977
|
"data-point": dataPoint,
|
|
38972
|
-
"has-error": _ctx.errorMessage != null,
|
|
38973
38978
|
class: normalizeClass(_ctx.$style.input)
|
|
38974
|
-
}, null, 8, ["data-point", "
|
|
38979
|
+
}, null, 8, ["data-point", "class"]))
|
|
38975
38980
|
], 64);
|
|
38976
38981
|
}), 128))
|
|
38977
38982
|
], 2),
|
|
@@ -38983,9 +38988,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38983
38988
|
const cssModules$n = {};
|
|
38984
38989
|
cssModules$n["$style"] = style0$n;
|
|
38985
38990
|
var RegisterUserInfoDataPointGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__cssModules", cssModules$n]]);
|
|
38986
|
-
const container$8 = "
|
|
38987
|
-
const name = "
|
|
38988
|
-
const value = "
|
|
38991
|
+
const container$8 = "_container_7iz73_1";
|
|
38992
|
+
const name = "_name_7iz73_6";
|
|
38993
|
+
const value = "_value_7iz73_13";
|
|
38989
38994
|
var style0$m = {
|
|
38990
38995
|
container: container$8,
|
|
38991
38996
|
name,
|
|
@@ -39022,16 +39027,18 @@ const _sfc_main$r = defineComponent({
|
|
|
39022
39027
|
}
|
|
39023
39028
|
}
|
|
39024
39029
|
});
|
|
39030
|
+
const _hoisted_1$c = { "aria-label": "User Info" };
|
|
39025
39031
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
39026
39032
|
return openBlock(), createElementBlock("div", {
|
|
39027
39033
|
class: normalizeClass(_ctx.$style.container)
|
|
39028
39034
|
}, [
|
|
39029
|
-
createBaseVNode("table",
|
|
39035
|
+
createBaseVNode("table", _hoisted_1$c, [
|
|
39030
39036
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dataPointGroups, (group) => {
|
|
39031
39037
|
return openBlock(), createElementBlock("tr", {
|
|
39032
39038
|
key: group.groupType
|
|
39033
39039
|
}, [
|
|
39034
|
-
createBaseVNode("
|
|
39040
|
+
createBaseVNode("th", {
|
|
39041
|
+
scope: "row",
|
|
39035
39042
|
class: normalizeClass(_ctx.$style.name)
|
|
39036
39043
|
}, toDisplayString(group.groupName), 3),
|
|
39037
39044
|
createBaseVNode("td", {
|
|
@@ -40091,9 +40098,9 @@ function getBankInfo(params) {
|
|
|
40091
40098
|
if (complete) {
|
|
40092
40099
|
params.complete = createWrapComplete(complete);
|
|
40093
40100
|
}
|
|
40094
|
-
execute$
|
|
40101
|
+
execute$4(params);
|
|
40095
40102
|
}
|
|
40096
|
-
function execute$
|
|
40103
|
+
function execute$4(params) {
|
|
40097
40104
|
var _a2, _b;
|
|
40098
40105
|
try {
|
|
40099
40106
|
const container2 = document.createElement("div");
|
|
@@ -42171,9 +42178,9 @@ function triggerFailCallback(params, errorCode) {
|
|
|
42171
42178
|
}
|
|
42172
42179
|
async function getCashbackInformation(params) {
|
|
42173
42180
|
const newParams = reconstructParams(params);
|
|
42174
|
-
await execute$
|
|
42181
|
+
await execute$3(newParams);
|
|
42175
42182
|
}
|
|
42176
|
-
async function execute$
|
|
42183
|
+
async function execute$3(params) {
|
|
42177
42184
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
42178
42185
|
try {
|
|
42179
42186
|
if (!(params == null ? void 0 : params.merchantPaymentId)) {
|
|
@@ -42207,6 +42214,136 @@ async function execute$1(params) {
|
|
|
42207
42214
|
return (_k = params == null ? void 0 : params.fail) == null ? void 0 : _k.call(params, { errorCode: MiniAppErrorType.serverError });
|
|
42208
42215
|
}
|
|
42209
42216
|
}
|
|
42217
|
+
function addShortcut(params) {
|
|
42218
|
+
var _a2;
|
|
42219
|
+
const newParams = reconstructParams(params);
|
|
42220
|
+
if (Object.values(AddShortcutTypes).includes(params.type)) {
|
|
42221
|
+
execute$2(newParams);
|
|
42222
|
+
} else {
|
|
42223
|
+
(_a2 = newParams == null ? void 0 : newParams.fail) == null ? void 0 : _a2.call(newParams, {
|
|
42224
|
+
errorCode: MiniAppErrorType.badRequestInsufficientParameter
|
|
42225
|
+
});
|
|
42226
|
+
return;
|
|
42227
|
+
}
|
|
42228
|
+
}
|
|
42229
|
+
function execute$2(params) {
|
|
42230
|
+
var _a2;
|
|
42231
|
+
if (params.type === AddShortcutTypes.FAVORITE) {
|
|
42232
|
+
addToFavorite(params).catch(() => {
|
|
42233
|
+
});
|
|
42234
|
+
} else {
|
|
42235
|
+
const isMethodSupported = checkVersion(MinVersion.OS_HOME_SCREEN_ICON);
|
|
42236
|
+
if (!isMethodSupported) {
|
|
42237
|
+
(_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, {
|
|
42238
|
+
errorCode: MiniAppErrorType.notAvailable
|
|
42239
|
+
});
|
|
42240
|
+
return;
|
|
42241
|
+
}
|
|
42242
|
+
closeApp({
|
|
42243
|
+
options: {
|
|
42244
|
+
deeplink: "paypay://addMiniAppShortcut"
|
|
42245
|
+
},
|
|
42246
|
+
fail: params.fail
|
|
42247
|
+
});
|
|
42248
|
+
}
|
|
42249
|
+
}
|
|
42250
|
+
async function addToFavorite(params) {
|
|
42251
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
42252
|
+
const clientId = getClientId();
|
|
42253
|
+
if (!clientId) {
|
|
42254
|
+
(_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.sdkNotInitialized });
|
|
42255
|
+
return;
|
|
42256
|
+
}
|
|
42257
|
+
const getAPIResponse = await shortcutApiHandler(
|
|
42258
|
+
"GET",
|
|
42259
|
+
void 0,
|
|
42260
|
+
{ clientId }
|
|
42261
|
+
);
|
|
42262
|
+
if (getAPIResponse.ppFetchResult === "apiError" && ((_b = getAPIResponse.body.unsigned) == null ? void 0 : _b.resultInfo.code) === "RESOURCE_NOT_FOUND") {
|
|
42263
|
+
(_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
|
|
42264
|
+
errorCode: MiniAppErrorType.badRequest
|
|
42265
|
+
});
|
|
42266
|
+
return;
|
|
42267
|
+
} else if (getAPIResponse.ppFetchResult !== "success") {
|
|
42268
|
+
(_d = params == null ? void 0 : params.fail) == null ? void 0 : _d.call(params, {
|
|
42269
|
+
errorCode: getFailErrorCode(getAPIResponse.ppFetchResult)
|
|
42270
|
+
});
|
|
42271
|
+
return;
|
|
42272
|
+
}
|
|
42273
|
+
const miniappMetadata = getAPIResponse.body.unsigned.data.smartFunctionInfoList[0];
|
|
42274
|
+
if (miniappMetadata.exists) {
|
|
42275
|
+
(_e = params == null ? void 0 : params.success) == null ? void 0 : _e.call(params);
|
|
42276
|
+
return;
|
|
42277
|
+
}
|
|
42278
|
+
const addFavoriteRes = await shortcutApiHandler(
|
|
42279
|
+
"PUT",
|
|
42280
|
+
{ featureId: miniappMetadata.featureId },
|
|
42281
|
+
void 0
|
|
42282
|
+
);
|
|
42283
|
+
if (addFavoriteRes.ppFetchResult === "apiError") {
|
|
42284
|
+
(_h = params == null ? void 0 : params.fail) == null ? void 0 : _h.call(params, {
|
|
42285
|
+
errorCode: (_g = (_f = addFavoriteRes.body.unsigned) == null ? void 0 : _f.resultInfo.code) != null ? _g : MiniAppErrorType.serverError
|
|
42286
|
+
});
|
|
42287
|
+
return;
|
|
42288
|
+
} else if (addFavoriteRes.ppFetchResult !== "success") {
|
|
42289
|
+
(_i = params == null ? void 0 : params.fail) == null ? void 0 : _i.call(params, {
|
|
42290
|
+
errorCode: getFailErrorCode(addFavoriteRes.ppFetchResult)
|
|
42291
|
+
});
|
|
42292
|
+
return;
|
|
42293
|
+
}
|
|
42294
|
+
(_j = params == null ? void 0 : params.success) == null ? void 0 : _j.call(params);
|
|
42295
|
+
}
|
|
42296
|
+
async function shortcutApiHandler(method2, data2, params) {
|
|
42297
|
+
return await ppFetch2({
|
|
42298
|
+
method: method2,
|
|
42299
|
+
url: "web-api/app/v1/shortcut",
|
|
42300
|
+
data: data2,
|
|
42301
|
+
params
|
|
42302
|
+
});
|
|
42303
|
+
}
|
|
42304
|
+
function shortcutExists(params) {
|
|
42305
|
+
var _a2;
|
|
42306
|
+
const newParams = reconstructParams(params);
|
|
42307
|
+
if (Object.values(ShortcutExistsTypes).includes(params.type)) {
|
|
42308
|
+
execute$1(newParams).catch(() => {
|
|
42309
|
+
});
|
|
42310
|
+
} else {
|
|
42311
|
+
(_a2 = newParams == null ? void 0 : newParams.fail) == null ? void 0 : _a2.call(newParams, {
|
|
42312
|
+
errorCode: MiniAppErrorType.badRequestInsufficientParameter
|
|
42313
|
+
});
|
|
42314
|
+
return;
|
|
42315
|
+
}
|
|
42316
|
+
}
|
|
42317
|
+
async function execute$1(params) {
|
|
42318
|
+
var _a2, _b, _c, _d, _e, _f;
|
|
42319
|
+
const clientId = getClientId();
|
|
42320
|
+
if (!clientId) {
|
|
42321
|
+
(_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.sdkNotInitialized });
|
|
42322
|
+
return;
|
|
42323
|
+
}
|
|
42324
|
+
const res = await ppFetch2({
|
|
42325
|
+
method: "GET",
|
|
42326
|
+
url: "web-api/app/v1/shortcut",
|
|
42327
|
+
params: {
|
|
42328
|
+
clientId
|
|
42329
|
+
}
|
|
42330
|
+
});
|
|
42331
|
+
if (res.ppFetchResult === "apiError" && ((_b = res.body.unsigned) == null ? void 0 : _b.resultInfo.code) === "RESOURCE_NOT_FOUND") {
|
|
42332
|
+
(_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
|
|
42333
|
+
errorCode: MiniAppErrorType.badRequest
|
|
42334
|
+
});
|
|
42335
|
+
return;
|
|
42336
|
+
} else if (res.ppFetchResult !== "success") {
|
|
42337
|
+
(_d = params == null ? void 0 : params.fail) == null ? void 0 : _d.call(params, {
|
|
42338
|
+
errorCode: getFailErrorCode(res.ppFetchResult)
|
|
42339
|
+
});
|
|
42340
|
+
return;
|
|
42341
|
+
}
|
|
42342
|
+
const miniappMetadata = res.body.unsigned.data.smartFunctionInfoList[0];
|
|
42343
|
+
(_f = params == null ? void 0 : params.success) == null ? void 0 : _f.call(params, {
|
|
42344
|
+
exists: (_e = miniappMetadata.exists) != null ? _e : false
|
|
42345
|
+
});
|
|
42346
|
+
}
|
|
42210
42347
|
async function getUserPaymentFeatureSettings(params) {
|
|
42211
42348
|
const newParams = reconstructParams(params);
|
|
42212
42349
|
await execute(newParams);
|
|
@@ -42438,6 +42575,12 @@ class MiniAppModule extends JsBridgeModule {
|
|
|
42438
42575
|
registerPaymentFeatures(params) {
|
|
42439
42576
|
registerPaymentFeatures(params);
|
|
42440
42577
|
}
|
|
42578
|
+
addShortcut(params) {
|
|
42579
|
+
addShortcut(params);
|
|
42580
|
+
}
|
|
42581
|
+
shortcutExists(params) {
|
|
42582
|
+
shortcutExists(params);
|
|
42583
|
+
}
|
|
42441
42584
|
getUserPaymentFeatureSettings(params) {
|
|
42442
42585
|
getUserPaymentFeatureSettings(params).catch(() => {
|
|
42443
42586
|
});
|