@paypay/mini-app-js-sdk 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +18 -12
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +1 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +1 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +1 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +1 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +1 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +1 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +1 -0
- package/dist/utils/getImages.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +1 -0
- package/dist/views/open-app/App.vue.d.ts +1 -0
- package/dist/views/show-update-warning/App.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +1 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -65,8 +65,8 @@ function normalizeNativeResponseData(data2) {
|
|
|
65
65
|
}
|
|
66
66
|
class JsBridge {
|
|
67
67
|
constructor(global2) {
|
|
68
|
-
this.version = "1.
|
|
69
|
-
this.revision = "
|
|
68
|
+
this.version = "1.32.0";
|
|
69
|
+
this.revision = "19afd4b";
|
|
70
70
|
this.messageHandlers = new Map();
|
|
71
71
|
this.responseCallbacks = new Map();
|
|
72
72
|
this.global = global2;
|
|
@@ -1657,7 +1657,7 @@ const opaUrl = () => {
|
|
|
1657
1657
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
1658
1658
|
let headers = new Headers(__spreadValues({
|
|
1659
1659
|
"Content-Type": "application/json",
|
|
1660
|
-
"Client-Version": "1.
|
|
1660
|
+
"Client-Version": "1.32.0",
|
|
1661
1661
|
"Client-OS-Type": getRuntime()
|
|
1662
1662
|
}, customHeaders));
|
|
1663
1663
|
if (urlEndpoint === "web-api/app/v2/payment/methods" || urlEndpoint === "web-api/app/v2/payment/consult" || urlEndpoint === "web-api/app/v1/payment/cashbackDetail" || urlEndpoint === "web-api/app/v1/confirmAgeForCashback" || urlEndpoint === "web-api/app/v1/internal/request" || urlEndpoint === "web-api/app/v1/addressbyzip" || urlEndpoint === "/web-api/app/platform/v1/balance") {
|
|
@@ -20099,6 +20099,7 @@ const softbank$1 = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/payment/sof
|
|
|
20099
20099
|
const iconBirthday = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-birthday.svg";
|
|
20100
20100
|
const iconMinorAge = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-minor-age.svg";
|
|
20101
20101
|
const iconClose = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-close.svg";
|
|
20102
|
+
const whiteIconClose = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-close-white.svg";
|
|
20102
20103
|
const myOffer = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-myoffer-multi.svg";
|
|
20103
20104
|
const lightBlue = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-more-lightblue.svg";
|
|
20104
20105
|
const iconBalanceIcon = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-balance-icon.svg";
|
|
@@ -20135,6 +20136,7 @@ var images = {
|
|
|
20135
20136
|
iconBirthday,
|
|
20136
20137
|
iconMinorAge,
|
|
20137
20138
|
iconClose,
|
|
20139
|
+
whiteIconClose,
|
|
20138
20140
|
myOffer,
|
|
20139
20141
|
lightBlue,
|
|
20140
20142
|
iconBalanceIcon,
|
|
@@ -27146,11 +27148,12 @@ const _sfc_main$l = defineComponent({
|
|
|
27146
27148
|
},
|
|
27147
27149
|
emits: ["close"],
|
|
27148
27150
|
setup(props, { emit }) {
|
|
27151
|
+
const cashback2 = ref();
|
|
27149
27152
|
const { animation, uiState, type } = useData$1(props);
|
|
27150
27153
|
const { postAgeConfirm } = getAgeConfirm();
|
|
27151
27154
|
const lg2 = getLanguage();
|
|
27152
27155
|
const images2 = getImages();
|
|
27153
|
-
const { isDesktop } = useBreakpoints();
|
|
27156
|
+
const { isDesktop, isMobile } = useBreakpoints();
|
|
27154
27157
|
const isCountDown = ref(false);
|
|
27155
27158
|
const countDown = useCountDown({
|
|
27156
27159
|
time: 5e3,
|
|
@@ -27252,10 +27255,10 @@ const _sfc_main$l = defineComponent({
|
|
|
27252
27255
|
};
|
|
27253
27256
|
const style = useCssModule();
|
|
27254
27257
|
const headerFix = computed(() => {
|
|
27255
|
-
var _a;
|
|
27256
|
-
const
|
|
27258
|
+
var _a, _b, _c;
|
|
27259
|
+
const offsetTop = (_b = (_a = cashback2 == null ? void 0 : cashback2.value) == null ? void 0 : _a.offsetTop) != null ? _b : 0;
|
|
27257
27260
|
return {
|
|
27258
|
-
top: `${16 + (((
|
|
27261
|
+
top: `${16 + (((_c = type.value) == null ? void 0 : _c.tierCampaignBottom) ? 0 : Math.abs(offsetTop))}px`
|
|
27259
27262
|
};
|
|
27260
27263
|
});
|
|
27261
27264
|
return {
|
|
@@ -27286,8 +27289,10 @@ const _sfc_main$l = defineComponent({
|
|
|
27286
27289
|
close: close2,
|
|
27287
27290
|
loaded: computed(() => uiState.animationLoaded),
|
|
27288
27291
|
headerFix,
|
|
27292
|
+
isMobile: isMobile.value,
|
|
27289
27293
|
images: images2,
|
|
27290
|
-
lg: lg2
|
|
27294
|
+
lg: lg2,
|
|
27295
|
+
cashback: cashback2
|
|
27291
27296
|
};
|
|
27292
27297
|
}
|
|
27293
27298
|
});
|
|
@@ -27298,7 +27303,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27298
27303
|
const _component_BirthdayConfirm = resolveComponent("BirthdayConfirm");
|
|
27299
27304
|
const _component_BirthdayConfirmError = resolveComponent("BirthdayConfirmError");
|
|
27300
27305
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
27301
|
-
|
|
27306
|
+
ref: "cashback",
|
|
27307
|
+
class: normalizeClass(["pp-cashback-lottie-container", {
|
|
27302
27308
|
[_ctx.style.cashBackAnimationLottie]: _ctx.type.lottie,
|
|
27303
27309
|
[_ctx.style.cashBackAnimationBottom]: _ctx.type.tierCampaignBottom,
|
|
27304
27310
|
[_ctx.style.cashBackAnimationFull]: _ctx.type.tierCampaignFull,
|
|
@@ -27317,8 +27323,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27317
27323
|
_ctx.showContent && !_ctx.showAgeConfirm ? (openBlock(), createElementBlock("img", {
|
|
27318
27324
|
key: 0,
|
|
27319
27325
|
class: normalizeClass(_ctx.style.closeImage),
|
|
27320
|
-
src: _ctx.images.
|
|
27321
|
-
style: normalizeStyle(_ctx.headerFix),
|
|
27326
|
+
src: _ctx.images.whiteIconClose,
|
|
27327
|
+
style: normalizeStyle([_ctx.isMobile ? _ctx.headerFix : {}]),
|
|
27322
27328
|
"data-test": "cash-back-detail-close-button",
|
|
27323
27329
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.close && _ctx.close(...args))
|
|
27324
27330
|
}, null, 14, _hoisted_1$f)) : createCommentVNode("", true),
|
|
@@ -32305,7 +32311,7 @@ function debug(params) {
|
|
|
32305
32311
|
function execute$5(params) {
|
|
32306
32312
|
var _a;
|
|
32307
32313
|
(_a = params == null ? void 0 : params.success) == null ? void 0 : _a.call(params, {
|
|
32308
|
-
v: "1.
|
|
32314
|
+
v: "1.32.0"
|
|
32309
32315
|
});
|
|
32310
32316
|
}
|
|
32311
32317
|
function useCallBack(props, ctx) {
|
|
@@ -39,6 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
headerFix: import("vue").ComputedRef<{
|
|
40
40
|
top: string;
|
|
41
41
|
}>;
|
|
42
|
+
isMobile: boolean;
|
|
42
43
|
images: {
|
|
43
44
|
iconBalanceError: string;
|
|
44
45
|
animationDone: string;
|
|
@@ -63,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
64
|
iconBirthday: string;
|
|
64
65
|
iconMinorAge: string;
|
|
65
66
|
iconClose: string;
|
|
67
|
+
whiteIconClose: string;
|
|
66
68
|
myOffer: string;
|
|
67
69
|
lightBlue: string;
|
|
68
70
|
iconBalanceIcon: string;
|
|
@@ -314,6 +316,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
316
|
cancel: string;
|
|
315
317
|
};
|
|
316
318
|
};
|
|
319
|
+
cashback: import("vue").Ref<HTMLElement | undefined>;
|
|
317
320
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
318
321
|
cashBackDetail?: unknown;
|
|
319
322
|
paymentId?: unknown;
|