@paypay/mini-app-js-sdk 1.44.0 → 1.45.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 +285 -211
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/makePayment.d.ts +2 -0
- package/dist/model/uiComponents.d.ts +1 -1
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +3 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +3 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +3 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +3 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +3 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +3 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +3 -0
- package/dist/utils/getImages.d.ts +1 -0
- package/dist/utils/getLanguage.d.ts +2 -0
- package/dist/views/error-sheet/Index.vue.d.ts +3 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +2 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +2 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +2 -0
- package/dist/views/make-payment/Main.vue.d.ts +3 -1
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +54 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +15 -13
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +2 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +3 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +9 -7
- package/dist/views/open-app/App.vue.d.ts +3 -0
- package/dist/views/open-map/App.vue.d.ts +2 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +2 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +3 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +2 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +2 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +2 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +3 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +1 -0
- package/dist/views/show-update-warning/App.vue.d.ts +3 -0
- package/dist/views/take-photo/App.vue.d.ts +2 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +4 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +2 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +3 -0
- package/package.json +1 -1
|
@@ -85,8 +85,8 @@ function normalizeNativeResponseData(data2) {
|
|
|
85
85
|
}
|
|
86
86
|
class JsBridge {
|
|
87
87
|
constructor(global2) {
|
|
88
|
-
this.version = "1.
|
|
89
|
-
this.revision = "
|
|
88
|
+
this.version = "1.45.0";
|
|
89
|
+
this.revision = "37844bc";
|
|
90
90
|
this.messageHandlers = new Map();
|
|
91
91
|
this.responseCallbacks = new Map();
|
|
92
92
|
this.global = global2;
|
|
@@ -954,7 +954,8 @@ const payment$3 = {
|
|
|
954
954
|
cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB",
|
|
955
955
|
noAddress: "\u65B0\u3057\u3044\u4F4F\u6240\u3092\u8FFD\u52A0\u3059\u308B",
|
|
956
956
|
change: "\u5909\u66F4",
|
|
957
|
-
close: "\u9589\u3058\u308B"
|
|
957
|
+
close: "\u9589\u3058\u308B",
|
|
958
|
+
noCashBack: "\u30DD\u30A4\u30F3\u30C8\u306E\u4ED8\u4E0E\u306F\u3042\u308A\u307E\u305B\u3093"
|
|
958
959
|
};
|
|
959
960
|
const duplicate$1 = {
|
|
960
961
|
header: "\u76F4\u8FD1\u3068\u540C\u3058\u652F\u6255\u3044\u91D1\u984D\u3067\u3059",
|
|
@@ -1125,7 +1126,8 @@ const smartPay$1 = {
|
|
|
1125
1126
|
cashback: "\u6700\u5927{cashback}%\u9084\u5143"
|
|
1126
1127
|
};
|
|
1127
1128
|
const cashbackList$1 = {
|
|
1128
|
-
close: "\u9589\u3058\u308B"
|
|
1129
|
+
close: "\u9589\u3058\u308B",
|
|
1130
|
+
condition: "\u30DD\u30A4\u30F3\u30C8\u306E\u9069\u7528\u6761\u4EF6\u306B\u3064\u3044\u3066"
|
|
1129
1131
|
};
|
|
1130
1132
|
const desktopTitle$2 = {
|
|
1131
1133
|
Payment: "\u652F\u6255\u3044",
|
|
@@ -1780,8 +1782,8 @@ function base64UrlEncode(string) {
|
|
|
1780
1782
|
function generateCodeVerifier(length2) {
|
|
1781
1783
|
if (!length2 || length2 < 43)
|
|
1782
1784
|
length2 = 43;
|
|
1783
|
-
return base64UrlEncode(Array.prototype.map.call(crypto.getRandomValues(new Uint8Array(length2)), (
|
|
1784
|
-
return String.fromCharCode(
|
|
1785
|
+
return base64UrlEncode(Array.prototype.map.call(crypto.getRandomValues(new Uint8Array(length2)), (num2) => {
|
|
1786
|
+
return String.fromCharCode(num2);
|
|
1785
1787
|
}).join("")).substring(0, length2);
|
|
1786
1788
|
}
|
|
1787
1789
|
async function generateCodeChallange(codeVerifier) {
|
|
@@ -1812,7 +1814,7 @@ const opaUrl = () => {
|
|
|
1812
1814
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
1813
1815
|
let headers = new Headers(__spreadValues({
|
|
1814
1816
|
"Content-Type": "application/json",
|
|
1815
|
-
"Client-Version": "1.
|
|
1817
|
+
"Client-Version": "1.45.0",
|
|
1816
1818
|
"Client-OS-Type": getRuntime()
|
|
1817
1819
|
}, customHeaders));
|
|
1818
1820
|
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" || urlEndpoint === "web-api/app/v1/users/autoTopupConfiguration" || urlEndpoint === "web-api/app/v1/users/preTransactionAutoTopupConfiguration") {
|
|
@@ -8341,6 +8343,7 @@ const iconTopupSetup = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-au
|
|
|
8341
8343
|
const iconNotice = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-notice.svg";
|
|
8342
8344
|
const iconTopupSuccess = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-auto-topup-success.svg";
|
|
8343
8345
|
const icon3DSecure = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-3d-secure.svg";
|
|
8346
|
+
const iconArrowRightBlue = "https://image.paypay.ne.jp/miniapps/mini-app-sdk/icon-arrow-right-blue.svg";
|
|
8344
8347
|
var images = {
|
|
8345
8348
|
iconBalanceError,
|
|
8346
8349
|
animationDone,
|
|
@@ -8389,7 +8392,8 @@ var images = {
|
|
|
8389
8392
|
iconTopupSetup,
|
|
8390
8393
|
iconNotice,
|
|
8391
8394
|
iconTopupSuccess,
|
|
8392
|
-
icon3DSecure
|
|
8395
|
+
icon3DSecure,
|
|
8396
|
+
iconArrowRightBlue
|
|
8393
8397
|
};
|
|
8394
8398
|
function getImages() {
|
|
8395
8399
|
return images;
|
|
@@ -8484,24 +8488,29 @@ const _sfc_main$1A = defineComponent({
|
|
|
8484
8488
|
},
|
|
8485
8489
|
methods: {
|
|
8486
8490
|
buttonClick(buttonInfo) {
|
|
8487
|
-
var _a;
|
|
8488
8491
|
if (buttonInfo == null ? void 0 : buttonInfo.actionType) {
|
|
8489
8492
|
if ((buttonInfo == null ? void 0 : buttonInfo.actionType) === UIComponentsButtonActionType.DEEPLINK) {
|
|
8490
8493
|
if ((buttonInfo == null ? void 0 : buttonInfo.deeplink) && isValidUrl(buttonInfo.deeplink)) {
|
|
8491
8494
|
openWebviewInternal({ url: buttonInfo == null ? void 0 : buttonInfo.deeplink });
|
|
8492
|
-
} else {
|
|
8493
|
-
const splitUrl = (_a = buttonInfo == null ? void 0 : buttonInfo.deeplink) == null ? void 0 : _a.split("?url=");
|
|
8494
|
-
if ((splitUrl == null ? void 0 : splitUrl.length) === 2) {
|
|
8495
|
-
openWebviewInternal({ url: splitUrl[1] });
|
|
8496
|
-
} else {
|
|
8497
|
-
closeApp({
|
|
8498
|
-
options: {
|
|
8499
|
-
deeplink: buttonInfo.deeplink
|
|
8500
|
-
}
|
|
8501
|
-
});
|
|
8502
|
-
}
|
|
8503
8495
|
return;
|
|
8504
8496
|
}
|
|
8497
|
+
if (buttonInfo.deeplink) {
|
|
8498
|
+
try {
|
|
8499
|
+
const url = new URL(buttonInfo.deeplink);
|
|
8500
|
+
const urlParam = url.searchParams.get("url");
|
|
8501
|
+
if (buttonInfo.deeplink.startsWith("paypay://") && url.host === "embed" && urlParam) {
|
|
8502
|
+
openWebviewInternal({ url: urlParam });
|
|
8503
|
+
return;
|
|
8504
|
+
}
|
|
8505
|
+
} catch {
|
|
8506
|
+
}
|
|
8507
|
+
}
|
|
8508
|
+
closeApp({
|
|
8509
|
+
options: {
|
|
8510
|
+
deeplink: buttonInfo.deeplink
|
|
8511
|
+
}
|
|
8512
|
+
});
|
|
8513
|
+
return;
|
|
8505
8514
|
}
|
|
8506
8515
|
} else if (buttonInfo == null ? void 0 : buttonInfo.onClick) {
|
|
8507
8516
|
buttonInfo.onClick();
|
|
@@ -9438,7 +9447,7 @@ const _sfc_main$1x = defineComponent({
|
|
|
9438
9447
|
}
|
|
9439
9448
|
});
|
|
9440
9449
|
const _hoisted_1$T = ["src"];
|
|
9441
|
-
const _hoisted_2$
|
|
9450
|
+
const _hoisted_2$p = ["src"];
|
|
9442
9451
|
function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9443
9452
|
const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
|
|
9444
9453
|
return openBlock(), createElementBlock("div", {
|
|
@@ -9477,7 +9486,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9477
9486
|
class: normalizeClass(_ctx.$style.greenTick),
|
|
9478
9487
|
src: _ctx.images.checkGreen,
|
|
9479
9488
|
alt: "green-tick"
|
|
9480
|
-
}, null, 10, _hoisted_2$
|
|
9489
|
+
}, null, 10, _hoisted_2$p),
|
|
9481
9490
|
createBaseVNode("span", {
|
|
9482
9491
|
class: normalizeClass(_ctx.$style.autoCharge)
|
|
9483
9492
|
}, toDisplayString(_ctx.lg.wallet.autoCharge), 3)
|
|
@@ -9636,7 +9645,7 @@ const _sfc_main$1w = defineComponent({
|
|
|
9636
9645
|
}
|
|
9637
9646
|
});
|
|
9638
9647
|
const _hoisted_1$S = ["src"];
|
|
9639
|
-
const _hoisted_2$
|
|
9648
|
+
const _hoisted_2$o = ["src"];
|
|
9640
9649
|
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9641
9650
|
return openBlock(), createElementBlock("div", {
|
|
9642
9651
|
class: normalizeClass([
|
|
@@ -9675,7 +9684,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9675
9684
|
createBaseVNode("img", {
|
|
9676
9685
|
src: _ctx.authInfo.img,
|
|
9677
9686
|
class: normalizeClass([_ctx.authInfo.authImg])
|
|
9678
|
-
}, null, 10, _hoisted_2$
|
|
9687
|
+
}, null, 10, _hoisted_2$o),
|
|
9679
9688
|
createBaseVNode("span", {
|
|
9680
9689
|
class: normalizeClass([_ctx.style.authText])
|
|
9681
9690
|
}, toDisplayString(_ctx.authInfo.text), 3)
|
|
@@ -15776,8 +15785,8 @@ var lottie_svg = { exports: {} };
|
|
|
15776
15785
|
this.renderableComponents.splice(this.renderableComponents.indexOf(component), 1);
|
|
15777
15786
|
}
|
|
15778
15787
|
},
|
|
15779
|
-
prepareRenderableFrame: function prepareRenderableFrame(
|
|
15780
|
-
this.checkLayerLimits(
|
|
15788
|
+
prepareRenderableFrame: function prepareRenderableFrame(num2) {
|
|
15789
|
+
this.checkLayerLimits(num2);
|
|
15781
15790
|
},
|
|
15782
15791
|
checkTransparency: function checkTransparency() {
|
|
15783
15792
|
if (this.finalTransform.mProp.o.v <= 0) {
|
|
@@ -15790,8 +15799,8 @@ var lottie_svg = { exports: {} };
|
|
|
15790
15799
|
this.show();
|
|
15791
15800
|
}
|
|
15792
15801
|
},
|
|
15793
|
-
checkLayerLimits: function checkLayerLimits(
|
|
15794
|
-
if (this.data.ip - this.data.st <=
|
|
15802
|
+
checkLayerLimits: function checkLayerLimits(num2) {
|
|
15803
|
+
if (this.data.ip - this.data.st <= num2 && this.data.op - this.data.st > num2) {
|
|
15795
15804
|
if (this.isInRange !== true) {
|
|
15796
15805
|
this.globalData._mdf = true;
|
|
15797
15806
|
this._mdf = true;
|
|
@@ -17164,7 +17173,7 @@ var lottie_svg = { exports: {} };
|
|
|
17164
17173
|
this.dynamicProperties = [];
|
|
17165
17174
|
this._mdf = false;
|
|
17166
17175
|
},
|
|
17167
|
-
prepareProperties: function prepareProperties(
|
|
17176
|
+
prepareProperties: function prepareProperties(num2, isVisible) {
|
|
17168
17177
|
var i2;
|
|
17169
17178
|
var len = this.dynamicProperties.length;
|
|
17170
17179
|
for (i2 = 0; i2 < len; i2 += 1) {
|
|
@@ -17294,14 +17303,14 @@ var lottie_svg = { exports: {} };
|
|
|
17294
17303
|
k: [100]
|
|
17295
17304
|
}, 1, 0.01, this);
|
|
17296
17305
|
}
|
|
17297
|
-
AudioElement.prototype.prepareFrame = function(
|
|
17298
|
-
this.prepareRenderableFrame(
|
|
17299
|
-
this.prepareProperties(
|
|
17306
|
+
AudioElement.prototype.prepareFrame = function(num2) {
|
|
17307
|
+
this.prepareRenderableFrame(num2, true);
|
|
17308
|
+
this.prepareProperties(num2, true);
|
|
17300
17309
|
if (!this.tm._placeholder) {
|
|
17301
17310
|
var timeRemapped = this.tm.v;
|
|
17302
17311
|
this._currentTime = timeRemapped;
|
|
17303
17312
|
} else {
|
|
17304
|
-
this._currentTime =
|
|
17313
|
+
this._currentTime = num2 / this.data.sr;
|
|
17305
17314
|
}
|
|
17306
17315
|
this._volume = this.lv.v[0];
|
|
17307
17316
|
var totalVolume = this._volume * this._volumeMultiplier;
|
|
@@ -17355,7 +17364,7 @@ var lottie_svg = { exports: {} };
|
|
|
17355
17364
|
};
|
|
17356
17365
|
function BaseRenderer() {
|
|
17357
17366
|
}
|
|
17358
|
-
BaseRenderer.prototype.checkLayers = function(
|
|
17367
|
+
BaseRenderer.prototype.checkLayers = function(num2) {
|
|
17359
17368
|
var i2;
|
|
17360
17369
|
var len = this.layers.length;
|
|
17361
17370
|
var data2;
|
|
@@ -17363,7 +17372,7 @@ var lottie_svg = { exports: {} };
|
|
|
17363
17372
|
for (i2 = len - 1; i2 >= 0; i2 -= 1) {
|
|
17364
17373
|
if (!this.elements[i2]) {
|
|
17365
17374
|
data2 = this.layers[i2];
|
|
17366
|
-
if (data2.ip - data2.st <=
|
|
17375
|
+
if (data2.ip - data2.st <= num2 - this.layers[i2].st && data2.op - data2.st > num2 - this.layers[i2].st) {
|
|
17367
17376
|
this.buildItem(i2);
|
|
17368
17377
|
}
|
|
17369
17378
|
}
|
|
@@ -18074,10 +18083,10 @@ var lottie_svg = { exports: {} };
|
|
|
18074
18083
|
},
|
|
18075
18084
|
renderInnerContent: function renderInnerContent() {
|
|
18076
18085
|
},
|
|
18077
|
-
prepareFrame: function prepareFrame(
|
|
18086
|
+
prepareFrame: function prepareFrame(num2) {
|
|
18078
18087
|
this._mdf = false;
|
|
18079
|
-
this.prepareRenderableFrame(
|
|
18080
|
-
this.prepareProperties(
|
|
18088
|
+
this.prepareRenderableFrame(num2);
|
|
18089
|
+
this.prepareProperties(num2, this.isInRange);
|
|
18081
18090
|
this.checkTransparency();
|
|
18082
18091
|
},
|
|
18083
18092
|
destroy: function destroy() {
|
|
@@ -18176,9 +18185,9 @@ var lottie_svg = { exports: {} };
|
|
|
18176
18185
|
}
|
|
18177
18186
|
elements.push(new ProcessedElement(elem2, pos));
|
|
18178
18187
|
},
|
|
18179
|
-
prepareFrame: function prepareFrame(
|
|
18180
|
-
this.prepareRenderableFrame(
|
|
18181
|
-
this.prepareProperties(
|
|
18188
|
+
prepareFrame: function prepareFrame(num2) {
|
|
18189
|
+
this.prepareRenderableFrame(num2);
|
|
18190
|
+
this.prepareProperties(num2, this.isInRange);
|
|
18182
18191
|
}
|
|
18183
18192
|
};
|
|
18184
18193
|
var lineCapEnum = {
|
|
@@ -20265,10 +20274,10 @@ var lottie_svg = { exports: {} };
|
|
|
20265
20274
|
this.hide();
|
|
20266
20275
|
this.textAnimator.searchProperties(this.dynamicProperties);
|
|
20267
20276
|
};
|
|
20268
|
-
ITextElement.prototype.prepareFrame = function(
|
|
20277
|
+
ITextElement.prototype.prepareFrame = function(num2) {
|
|
20269
20278
|
this._mdf = false;
|
|
20270
|
-
this.prepareRenderableFrame(
|
|
20271
|
-
this.prepareProperties(
|
|
20279
|
+
this.prepareRenderableFrame(num2);
|
|
20280
|
+
this.prepareProperties(num2, this.isInRange);
|
|
20272
20281
|
if (this.textProperty._mdf || this.textProperty._isFirstFrame) {
|
|
20273
20282
|
this.buildNewText();
|
|
20274
20283
|
this.textProperty._isFirstFrame = false;
|
|
@@ -20608,8 +20617,8 @@ var lottie_svg = { exports: {} };
|
|
|
20608
20617
|
this.initTransform(data2, globalData2, comp2);
|
|
20609
20618
|
this.initHierarchy();
|
|
20610
20619
|
}
|
|
20611
|
-
NullElement.prototype.prepareFrame = function(
|
|
20612
|
-
this.prepareProperties(
|
|
20620
|
+
NullElement.prototype.prepareFrame = function(num2) {
|
|
20621
|
+
this.prepareProperties(num2, true);
|
|
20613
20622
|
};
|
|
20614
20623
|
NullElement.prototype.renderFrame = function() {
|
|
20615
20624
|
};
|
|
@@ -20751,27 +20760,27 @@ var lottie_svg = { exports: {} };
|
|
|
20751
20760
|
}
|
|
20752
20761
|
}
|
|
20753
20762
|
};
|
|
20754
|
-
SVGRendererBase.prototype.renderFrame = function(
|
|
20755
|
-
if (this.renderedFrame ===
|
|
20763
|
+
SVGRendererBase.prototype.renderFrame = function(num2) {
|
|
20764
|
+
if (this.renderedFrame === num2 || this.destroyed) {
|
|
20756
20765
|
return;
|
|
20757
20766
|
}
|
|
20758
|
-
if (
|
|
20759
|
-
|
|
20767
|
+
if (num2 === null) {
|
|
20768
|
+
num2 = this.renderedFrame;
|
|
20760
20769
|
} else {
|
|
20761
|
-
this.renderedFrame =
|
|
20770
|
+
this.renderedFrame = num2;
|
|
20762
20771
|
}
|
|
20763
|
-
this.globalData.frameNum =
|
|
20772
|
+
this.globalData.frameNum = num2;
|
|
20764
20773
|
this.globalData.frameId += 1;
|
|
20765
|
-
this.globalData.projectInterface.currentFrame =
|
|
20774
|
+
this.globalData.projectInterface.currentFrame = num2;
|
|
20766
20775
|
this.globalData._mdf = false;
|
|
20767
20776
|
var i2;
|
|
20768
20777
|
var len = this.layers.length;
|
|
20769
20778
|
if (!this.completeLayers) {
|
|
20770
|
-
this.checkLayers(
|
|
20779
|
+
this.checkLayers(num2);
|
|
20771
20780
|
}
|
|
20772
20781
|
for (i2 = len - 1; i2 >= 0; i2 -= 1) {
|
|
20773
20782
|
if (this.completeLayers || this.elements[i2]) {
|
|
20774
|
-
this.elements[i2].prepareFrame(
|
|
20783
|
+
this.elements[i2].prepareFrame(num2 - this.layers[i2].st);
|
|
20775
20784
|
}
|
|
20776
20785
|
}
|
|
20777
20786
|
if (this.globalData._mdf) {
|
|
@@ -20824,10 +20833,10 @@ var lottie_svg = { exports: {} };
|
|
|
20824
20833
|
}
|
|
20825
20834
|
this.hide();
|
|
20826
20835
|
};
|
|
20827
|
-
ICompElement.prototype.prepareFrame = function(
|
|
20836
|
+
ICompElement.prototype.prepareFrame = function(num2) {
|
|
20828
20837
|
this._mdf = false;
|
|
20829
|
-
this.prepareRenderableFrame(
|
|
20830
|
-
this.prepareProperties(
|
|
20838
|
+
this.prepareRenderableFrame(num2);
|
|
20839
|
+
this.prepareProperties(num2, this.isInRange);
|
|
20831
20840
|
if (!this.isInRange && !this.data.xt) {
|
|
20832
20841
|
return;
|
|
20833
20842
|
}
|
|
@@ -20838,7 +20847,7 @@ var lottie_svg = { exports: {} };
|
|
|
20838
20847
|
}
|
|
20839
20848
|
this.renderedFrame = timeRemapped;
|
|
20840
20849
|
} else {
|
|
20841
|
-
this.renderedFrame =
|
|
20850
|
+
this.renderedFrame = num2 / this.data.sr;
|
|
20842
20851
|
}
|
|
20843
20852
|
var i2;
|
|
20844
20853
|
var len = this.elements.length;
|
|
@@ -21329,13 +21338,13 @@ var lottie_svg = { exports: {} };
|
|
|
21329
21338
|
var $bm_mul = mul;
|
|
21330
21339
|
var $bm_div = div;
|
|
21331
21340
|
var $bm_mod = mod;
|
|
21332
|
-
function clamp(
|
|
21341
|
+
function clamp(num2, min, max) {
|
|
21333
21342
|
if (min > max) {
|
|
21334
21343
|
var mm = max;
|
|
21335
21344
|
max = min;
|
|
21336
21345
|
min = mm;
|
|
21337
21346
|
}
|
|
21338
|
-
return Math.min(Math.max(
|
|
21347
|
+
return Math.min(Math.max(num2, min), max);
|
|
21339
21348
|
}
|
|
21340
21349
|
function radiansToDegrees(val2) {
|
|
21341
21350
|
return val2 / degToRads;
|
|
@@ -23228,7 +23237,7 @@ const _sfc_main$1q = defineComponent({
|
|
|
23228
23237
|
}
|
|
23229
23238
|
});
|
|
23230
23239
|
const _hoisted_1$N = ["src"];
|
|
23231
|
-
const _hoisted_2$
|
|
23240
|
+
const _hoisted_2$n = ["src"];
|
|
23232
23241
|
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23233
23242
|
const _component_Button = resolveComponent("Button");
|
|
23234
23243
|
return openBlock(), createElementBlock("div", {
|
|
@@ -23277,7 +23286,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23277
23286
|
createBaseVNode("img", {
|
|
23278
23287
|
src: _ctx.authInfo.img,
|
|
23279
23288
|
class: normalizeClass(_ctx.authInfo.imgStyle)
|
|
23280
|
-
}, null, 10, _hoisted_2$
|
|
23289
|
+
}, null, 10, _hoisted_2$n),
|
|
23281
23290
|
createBaseVNode("span", null, toDisplayString(_ctx.authInfo.text), 1)
|
|
23282
23291
|
], 2)
|
|
23283
23292
|
], 2),
|
|
@@ -24108,7 +24117,7 @@ const _sfc_main$1k = defineComponent({
|
|
|
24108
24117
|
}
|
|
24109
24118
|
});
|
|
24110
24119
|
const _hoisted_1$I = { "data-testid": "address-title" };
|
|
24111
|
-
const _hoisted_2$
|
|
24120
|
+
const _hoisted_2$m = /* @__PURE__ */ createTextVNode("\u7DE8\u96C6");
|
|
24112
24121
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24113
24122
|
const _component_Button = resolveComponent("Button");
|
|
24114
24123
|
return openBlock(), createElementBlock("div", {
|
|
@@ -24160,7 +24169,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24160
24169
|
onClick: _ctx.edit
|
|
24161
24170
|
}, {
|
|
24162
24171
|
default: withCtx(() => [
|
|
24163
|
-
_hoisted_2$
|
|
24172
|
+
_hoisted_2$m
|
|
24164
24173
|
]),
|
|
24165
24174
|
_: 1
|
|
24166
24175
|
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
@@ -25311,7 +25320,7 @@ const select$1 = "_select_uv3mv_7";
|
|
|
25311
25320
|
const placeHolder = "_placeHolder_uv3mv_29";
|
|
25312
25321
|
const grayLine = "_grayLine_uv3mv_32";
|
|
25313
25322
|
const iconContainer$1 = "_iconContainer_uv3mv_36";
|
|
25314
|
-
const subText = "_subText_uv3mv_44";
|
|
25323
|
+
const subText$1 = "_subText_uv3mv_44";
|
|
25315
25324
|
const required$1 = "_required_uv3mv_48";
|
|
25316
25325
|
const selectContainer = "_selectContainer_uv3mv_53";
|
|
25317
25326
|
const defaultOption = "_defaultOption_uv3mv_58";
|
|
@@ -25331,7 +25340,7 @@ var styles = {
|
|
|
25331
25340
|
placeHolder,
|
|
25332
25341
|
grayLine,
|
|
25333
25342
|
iconContainer: iconContainer$1,
|
|
25334
|
-
subText,
|
|
25343
|
+
subText: subText$1,
|
|
25335
25344
|
required: required$1,
|
|
25336
25345
|
selectContainer,
|
|
25337
25346
|
defaultOption,
|
|
@@ -25839,7 +25848,7 @@ const _sfc_main$1c = defineComponent({
|
|
|
25839
25848
|
}
|
|
25840
25849
|
});
|
|
25841
25850
|
const _hoisted_1$F = { key: 0 };
|
|
25842
|
-
const _hoisted_2$
|
|
25851
|
+
const _hoisted_2$l = ["disabled", "onClick"];
|
|
25843
25852
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25844
25853
|
return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
25845
25854
|
createBaseVNode("div", {
|
|
@@ -25858,7 +25867,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25858
25867
|
]),
|
|
25859
25868
|
disabled: _ctx.disabled,
|
|
25860
25869
|
onClick: ($event) => _ctx.update(data2.value, $event)
|
|
25861
|
-
}, toDisplayString(data2.label), 11, _hoisted_2$
|
|
25870
|
+
}, toDisplayString(data2.label), 11, _hoisted_2$l);
|
|
25862
25871
|
}), 128))
|
|
25863
25872
|
], 2)
|
|
25864
25873
|
])) : createCommentVNode("", true);
|
|
@@ -27087,8 +27096,7 @@ const _sfc_main$16 = defineComponent({
|
|
|
27087
27096
|
}
|
|
27088
27097
|
});
|
|
27089
27098
|
const _hoisted_1$D = ["src"];
|
|
27090
|
-
const _hoisted_2$
|
|
27091
|
-
const _hoisted_3$e = { key: 2 };
|
|
27099
|
+
const _hoisted_2$k = { key: 1 };
|
|
27092
27100
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27093
27101
|
const _component_DesktopHeader = resolveComponent("DesktopHeader");
|
|
27094
27102
|
const _component_Header = resolveComponent("Header");
|
|
@@ -27260,38 +27268,8 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27260
27268
|
}, toDisplayString(_ctx.lg.payment.paying), 3), [
|
|
27261
27269
|
[vShow, _ctx.paying]
|
|
27262
27270
|
]),
|
|
27263
|
-
!_ctx.isSufficient ? (openBlock(),
|
|
27264
|
-
|
|
27265
|
-
class: normalizeClass(_ctx.style.payButton),
|
|
27266
|
-
"no-margin": _ctx.isDesktop,
|
|
27267
|
-
disabled: _ctx.paying || _ctx.disablePay,
|
|
27268
|
-
loading: _ctx.paying || _ctx.loading,
|
|
27269
|
-
type: "primary",
|
|
27270
|
-
block: "",
|
|
27271
|
-
"data-testid": "click-payment",
|
|
27272
|
-
onClick: _ctx.clickPayment
|
|
27273
|
-
}, {
|
|
27274
|
-
default: withCtx(() => [
|
|
27275
|
-
createTextVNode(toDisplayString(_ctx.lg.payment.pay), 1)
|
|
27276
|
-
]),
|
|
27277
|
-
_: 1
|
|
27278
|
-
}, 8, ["class", "no-margin", "disabled", "loading", "onClick"])) : createCommentVNode("", true),
|
|
27279
|
-
!_ctx.isSufficient ? (openBlock(), createBlock(_component_Button, {
|
|
27280
|
-
key: 1,
|
|
27281
|
-
class: normalizeClass(_ctx.style.cancel),
|
|
27282
|
-
type: "link",
|
|
27283
|
-
block: "",
|
|
27284
|
-
"data-testid": "payment-close",
|
|
27285
|
-
onClick: _ctx.clickClose
|
|
27286
|
-
}, {
|
|
27287
|
-
default: withCtx(() => [
|
|
27288
|
-
createTextVNode(toDisplayString(_ctx.lg.payment.close), 1)
|
|
27289
|
-
]),
|
|
27290
|
-
_: 1
|
|
27291
|
-
}, 8, ["class", "onClick"])) : createCommentVNode("", true),
|
|
27292
|
-
_ctx.isSufficient ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
|
|
27293
|
-
!_ctx.isSufficient ? (openBlock(), createBlock(_component_Button, {
|
|
27294
|
-
key: 0,
|
|
27271
|
+
!_ctx.isSufficient ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
27272
|
+
createVNode(_component_Button, {
|
|
27295
27273
|
class: normalizeClass(_ctx.style.payButton),
|
|
27296
27274
|
"no-margin": _ctx.isDesktop,
|
|
27297
27275
|
disabled: _ctx.paying || _ctx.disablePay,
|
|
@@ -27305,51 +27283,51 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27305
27283
|
createTextVNode(toDisplayString(_ctx.lg.payment.pay), 1)
|
|
27306
27284
|
]),
|
|
27307
27285
|
_: 1
|
|
27308
|
-
}, 8, ["class", "no-margin", "disabled", "loading", "onClick"])
|
|
27309
|
-
|
|
27310
|
-
key: 1,
|
|
27286
|
+
}, 8, ["class", "no-margin", "disabled", "loading", "onClick"]),
|
|
27287
|
+
createVNode(_component_Button, {
|
|
27311
27288
|
class: normalizeClass(_ctx.style.cancel),
|
|
27312
27289
|
type: "link",
|
|
27313
27290
|
block: "",
|
|
27291
|
+
"data-testid": "payment-close",
|
|
27314
27292
|
onClick: _ctx.clickClose
|
|
27315
27293
|
}, {
|
|
27316
27294
|
default: withCtx(() => [
|
|
27317
27295
|
createTextVNode(toDisplayString(_ctx.lg.payment.close), 1)
|
|
27318
27296
|
]),
|
|
27319
27297
|
_: 1
|
|
27320
|
-
}, 8, ["class", "onClick"])
|
|
27321
|
-
|
|
27322
|
-
|
|
27323
|
-
|
|
27324
|
-
|
|
27325
|
-
|
|
27326
|
-
|
|
27327
|
-
|
|
27328
|
-
|
|
27329
|
-
|
|
27330
|
-
|
|
27331
|
-
|
|
27332
|
-
|
|
27333
|
-
|
|
27334
|
-
|
|
27335
|
-
|
|
27336
|
-
|
|
27337
|
-
|
|
27338
|
-
|
|
27339
|
-
|
|
27340
|
-
|
|
27341
|
-
|
|
27342
|
-
|
|
27343
|
-
|
|
27344
|
-
|
|
27345
|
-
|
|
27346
|
-
|
|
27347
|
-
|
|
27348
|
-
|
|
27349
|
-
|
|
27350
|
-
|
|
27351
|
-
|
|
27352
|
-
|
|
27298
|
+
}, 8, ["class", "onClick"])
|
|
27299
|
+
], 64)) : createCommentVNode("", true),
|
|
27300
|
+
_ctx.isSufficient ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
27301
|
+
createVNode(_component_Button, {
|
|
27302
|
+
"no-margin": _ctx.isDesktop,
|
|
27303
|
+
"data-testid": "click-charge",
|
|
27304
|
+
disabled: _ctx.paying || _ctx.disablePay,
|
|
27305
|
+
loading: _ctx.paying,
|
|
27306
|
+
type: "primary",
|
|
27307
|
+
block: "",
|
|
27308
|
+
onClick: _ctx.clickCharge
|
|
27309
|
+
}, {
|
|
27310
|
+
default: withCtx(() => [
|
|
27311
|
+
createTextVNode(toDisplayString(_ctx.lg.payment.charge), 1)
|
|
27312
|
+
]),
|
|
27313
|
+
_: 1
|
|
27314
|
+
}, 8, ["no-margin", "disabled", "loading", "onClick"]),
|
|
27315
|
+
createVNode(_component_Button, {
|
|
27316
|
+
loading: _ctx.paying,
|
|
27317
|
+
class: normalizeClass({
|
|
27318
|
+
[_ctx.style.cancelBtn]: true,
|
|
27319
|
+
[_ctx.style.chargeCancel]: _ctx.isMobile
|
|
27320
|
+
}),
|
|
27321
|
+
type: "link",
|
|
27322
|
+
block: "",
|
|
27323
|
+
"data-testid": "payment-cancel",
|
|
27324
|
+
onClick: _ctx.clickClose
|
|
27325
|
+
}, {
|
|
27326
|
+
default: withCtx(() => [
|
|
27327
|
+
createTextVNode(toDisplayString(_ctx.lg.payment.cancel), 1)
|
|
27328
|
+
]),
|
|
27329
|
+
_: 1
|
|
27330
|
+
}, 8, ["loading", "class", "onClick"])
|
|
27353
27331
|
])) : createCommentVNode("", true)
|
|
27354
27332
|
], 2)
|
|
27355
27333
|
], 2)
|
|
@@ -27559,36 +27537,44 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27559
27537
|
const cssModules$W = {};
|
|
27560
27538
|
cssModules$W["$style"] = style0$W;
|
|
27561
27539
|
var DuplicatePayment = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__cssModules", cssModules$W]]);
|
|
27562
|
-
const cashBackDetailList = "
|
|
27563
|
-
const header$5 = "
|
|
27564
|
-
const backIcon = "
|
|
27565
|
-
const titleContainer = "
|
|
27566
|
-
const title$i = "
|
|
27567
|
-
const price$2 = "
|
|
27568
|
-
const
|
|
27569
|
-
const
|
|
27570
|
-
const
|
|
27571
|
-
const
|
|
27572
|
-
const
|
|
27573
|
-
const
|
|
27574
|
-
const
|
|
27575
|
-
const
|
|
27540
|
+
const cashBackDetailList = "_cashBackDetailList_18r5q_2";
|
|
27541
|
+
const header$5 = "_header_18r5q_18";
|
|
27542
|
+
const backIcon = "_backIcon_18r5q_25";
|
|
27543
|
+
const titleContainer = "_titleContainer_18r5q_40";
|
|
27544
|
+
const title$i = "_title_18r5q_40";
|
|
27545
|
+
const price$2 = "_price_18r5q_49";
|
|
27546
|
+
const num = "_num_18r5q_52";
|
|
27547
|
+
const unit$5 = "_unit_18r5q_58";
|
|
27548
|
+
const content$9 = "_content_18r5q_62";
|
|
27549
|
+
const listItem = "_listItem_18r5q_75";
|
|
27550
|
+
const rightContainer = "_rightContainer_18r5q_92";
|
|
27551
|
+
const campaign = "_campaign_18r5q_96";
|
|
27552
|
+
const campaignName = "_campaignName_18r5q_102";
|
|
27553
|
+
const campaignOption = "_campaignOption_18r5q_107";
|
|
27554
|
+
const amount$3 = "_amount_18r5q_112";
|
|
27555
|
+
const openIcon = "_openIcon_18r5q_116";
|
|
27556
|
+
const footer$4 = "_footer_18r5q_124";
|
|
27557
|
+
const showCondition = "_showCondition_18r5q_127";
|
|
27576
27558
|
var style0$V = {
|
|
27577
|
-
"ppmna-default-font": "_ppmna-default-
|
|
27559
|
+
"ppmna-default-font": "_ppmna-default-font_18r5q_1",
|
|
27578
27560
|
cashBackDetailList,
|
|
27579
27561
|
header: header$5,
|
|
27580
27562
|
backIcon,
|
|
27581
27563
|
titleContainer,
|
|
27582
27564
|
title: title$i,
|
|
27583
27565
|
price: price$2,
|
|
27566
|
+
num,
|
|
27584
27567
|
unit: unit$5,
|
|
27585
27568
|
content: content$9,
|
|
27586
27569
|
listItem,
|
|
27587
27570
|
rightContainer,
|
|
27588
27571
|
campaign,
|
|
27572
|
+
campaignName,
|
|
27573
|
+
campaignOption,
|
|
27589
27574
|
amount: amount$3,
|
|
27590
27575
|
openIcon,
|
|
27591
|
-
footer: footer$4
|
|
27576
|
+
footer: footer$4,
|
|
27577
|
+
showCondition
|
|
27592
27578
|
};
|
|
27593
27579
|
const _sfc_main$13 = defineComponent({
|
|
27594
27580
|
components: {
|
|
@@ -27606,6 +27592,7 @@ const _sfc_main$13 = defineComponent({
|
|
|
27606
27592
|
},
|
|
27607
27593
|
setup(props) {
|
|
27608
27594
|
var _a;
|
|
27595
|
+
const images2 = getImages();
|
|
27609
27596
|
const lg2 = getLanguage();
|
|
27610
27597
|
const showDeepLink = isPayPayMiniApp();
|
|
27611
27598
|
const openDeepLink = (url) => {
|
|
@@ -27613,15 +27600,21 @@ const _sfc_main$13 = defineComponent({
|
|
|
27613
27600
|
openWebviewInternal({ url });
|
|
27614
27601
|
}
|
|
27615
27602
|
};
|
|
27603
|
+
const openHelp = () => {
|
|
27604
|
+
openWebviewInternal({ url: "https://paypay.ne.jp/help/c0286/" });
|
|
27605
|
+
};
|
|
27616
27606
|
return {
|
|
27617
27607
|
openDeepLink,
|
|
27618
27608
|
lg: lg2,
|
|
27619
27609
|
showDeepLink,
|
|
27610
|
+
images: images2,
|
|
27611
|
+
openHelp,
|
|
27620
27612
|
currencyText: ((_a = props.cashBackDetail) == null ? void 0 : _a.currencyText) || "pt"
|
|
27621
27613
|
};
|
|
27622
27614
|
}
|
|
27623
27615
|
});
|
|
27624
27616
|
const _hoisted_1$C = ["onClick"];
|
|
27617
|
+
const _hoisted_2$j = ["src"];
|
|
27625
27618
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27626
27619
|
var _a, _b, _c;
|
|
27627
27620
|
const _component_Button = resolveComponent("Button");
|
|
@@ -27632,11 +27625,6 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27632
27625
|
createBaseVNode("div", {
|
|
27633
27626
|
class: normalizeClass(_ctx.$style.header)
|
|
27634
27627
|
}, [
|
|
27635
|
-
createBaseVNode("i", {
|
|
27636
|
-
class: normalizeClass(_ctx.$style.backIcon),
|
|
27637
|
-
"data-testid": "cashback-detail-back-close",
|
|
27638
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
27639
|
-
}, null, 2),
|
|
27640
27628
|
createBaseVNode("div", {
|
|
27641
27629
|
class: normalizeClass(_ctx.$style.titleContainer)
|
|
27642
27630
|
}, [
|
|
@@ -27648,7 +27636,9 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27648
27636
|
class: normalizeClass(_ctx.$style.price),
|
|
27649
27637
|
"data-test": "cashback-detail-list-price"
|
|
27650
27638
|
}, [
|
|
27651
|
-
|
|
27639
|
+
createBaseVNode("span", {
|
|
27640
|
+
class: normalizeClass(_ctx.$style.num)
|
|
27641
|
+
}, toDisplayString((_b = _ctx.cashBackDetail) == null ? void 0 : _b.cashBackAmount), 3),
|
|
27652
27642
|
createBaseVNode("span", {
|
|
27653
27643
|
"data-test": "cashback-currency-text",
|
|
27654
27644
|
class: normalizeClass(_ctx.$style.unit)
|
|
@@ -27667,10 +27657,21 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27667
27657
|
onClick: ($event) => _ctx.openDeepLink(cashBack2.deeplinkUrl)
|
|
27668
27658
|
}, [
|
|
27669
27659
|
createBaseVNode("div", {
|
|
27670
|
-
class: normalizeClass(_ctx.$style.campaign)
|
|
27671
|
-
|
|
27660
|
+
class: normalizeClass(_ctx.$style.campaign),
|
|
27661
|
+
style: normalizeStyle({ color: cashBack2.campaignNameColor })
|
|
27662
|
+
}, [
|
|
27663
|
+
createBaseVNode("div", {
|
|
27664
|
+
class: normalizeClass(_ctx.$style.campaignName)
|
|
27665
|
+
}, toDisplayString(cashBack2.campaignName), 3),
|
|
27666
|
+
cashBack2.optionalText ? (openBlock(), createElementBlock("div", {
|
|
27667
|
+
key: 0,
|
|
27668
|
+
class: normalizeClass(_ctx.$style.campaignOption),
|
|
27669
|
+
"data-testid": "optional-text"
|
|
27670
|
+
}, toDisplayString(cashBack2.optionalText), 3)) : createCommentVNode("", true)
|
|
27671
|
+
], 6),
|
|
27672
27672
|
createBaseVNode("div", {
|
|
27673
|
-
class: normalizeClass(_ctx.$style.rightContainer)
|
|
27673
|
+
class: normalizeClass(_ctx.$style.rightContainer),
|
|
27674
|
+
style: normalizeStyle({ color: cashBack2.couponIdTextColor })
|
|
27674
27675
|
}, [
|
|
27675
27676
|
createBaseVNode("div", {
|
|
27676
27677
|
class: normalizeClass(_ctx.$style.amount)
|
|
@@ -27680,13 +27681,29 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27680
27681
|
class: normalizeClass(_ctx.$style.openIcon),
|
|
27681
27682
|
"data-test": "open-icon"
|
|
27682
27683
|
}, null, 2)) : createCommentVNode("", true)
|
|
27683
|
-
],
|
|
27684
|
+
], 6)
|
|
27684
27685
|
], 10, _hoisted_1$C);
|
|
27685
27686
|
}), 128))
|
|
27686
27687
|
], 2),
|
|
27687
27688
|
createBaseVNode("div", {
|
|
27688
27689
|
class: normalizeClass(_ctx.$style.footer)
|
|
27689
27690
|
}, [
|
|
27691
|
+
createVNode(_component_Button, {
|
|
27692
|
+
class: normalizeClass(_ctx.$style.showCondition),
|
|
27693
|
+
"data-testid": "cashback-detail-link",
|
|
27694
|
+
type: "link",
|
|
27695
|
+
block: "",
|
|
27696
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.openHelp())
|
|
27697
|
+
}, {
|
|
27698
|
+
default: withCtx(() => [
|
|
27699
|
+
createTextVNode(toDisplayString(_ctx.lg.cashbackList.condition) + " ", 1),
|
|
27700
|
+
createBaseVNode("img", {
|
|
27701
|
+
src: _ctx.images.iconArrowRightBlue,
|
|
27702
|
+
alt: ""
|
|
27703
|
+
}, null, 8, _hoisted_2$j)
|
|
27704
|
+
]),
|
|
27705
|
+
_: 1
|
|
27706
|
+
}, 8, ["class"]),
|
|
27690
27707
|
createVNode(_component_Button, {
|
|
27691
27708
|
"data-testid": "cashback-detail-close",
|
|
27692
27709
|
type: "primary",
|
|
@@ -27704,15 +27721,19 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27704
27721
|
const cssModules$V = {};
|
|
27705
27722
|
cssModules$V["$style"] = style0$V;
|
|
27706
27723
|
var CashBackDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__cssModules", cssModules$V]]);
|
|
27707
|
-
const cashBack = "
|
|
27708
|
-
const lottieStyle = "
|
|
27709
|
-
const cashBackInfo = "
|
|
27710
|
-
const priceContainer = "
|
|
27711
|
-
const cashBackDescription = "
|
|
27712
|
-
const cashBackPrice = "
|
|
27713
|
-
const cashBackUnit = "
|
|
27714
|
-
const optionalText$1 = "
|
|
27715
|
-
const cashBackLinkLabel = "
|
|
27724
|
+
const cashBack = "_cashBack_1j3vy_1";
|
|
27725
|
+
const lottieStyle = "_lottieStyle_1j3vy_18";
|
|
27726
|
+
const cashBackInfo = "_cashBackInfo_1j3vy_33";
|
|
27727
|
+
const priceContainer = "_priceContainer_1j3vy_51";
|
|
27728
|
+
const cashBackDescription = "_cashBackDescription_1j3vy_57";
|
|
27729
|
+
const cashBackPrice = "_cashBackPrice_1j3vy_71";
|
|
27730
|
+
const cashBackUnit = "_cashBackUnit_1j3vy_86";
|
|
27731
|
+
const optionalText$1 = "_optionalText_1j3vy_101";
|
|
27732
|
+
const cashBackLinkLabel = "_cashBackLinkLabel_1j3vy_117";
|
|
27733
|
+
const calculating = "_calculating_1j3vy_133";
|
|
27734
|
+
const subText = "_subText_1j3vy_137";
|
|
27735
|
+
const noCashBackContainer = "_noCashBackContainer_1j3vy_141";
|
|
27736
|
+
const noCashBackLink = "_noCashBackLink_1j3vy_148";
|
|
27716
27737
|
var style0$U = {
|
|
27717
27738
|
cashBack,
|
|
27718
27739
|
lottieStyle,
|
|
@@ -27722,12 +27743,17 @@ var style0$U = {
|
|
|
27722
27743
|
cashBackPrice,
|
|
27723
27744
|
cashBackUnit,
|
|
27724
27745
|
optionalText: optionalText$1,
|
|
27725
|
-
cashBackLinkLabel
|
|
27746
|
+
cashBackLinkLabel,
|
|
27747
|
+
calculating,
|
|
27748
|
+
subText,
|
|
27749
|
+
noCashBackContainer,
|
|
27750
|
+
noCashBackLink
|
|
27726
27751
|
};
|
|
27727
27752
|
const _sfc_main$12 = defineComponent({
|
|
27728
27753
|
name: "CashBackDetailRow",
|
|
27729
27754
|
components: {
|
|
27730
|
-
Lottie
|
|
27755
|
+
Lottie,
|
|
27756
|
+
Button
|
|
27731
27757
|
},
|
|
27732
27758
|
props: {
|
|
27733
27759
|
cashBackDetail: {
|
|
@@ -27765,55 +27791,96 @@ const _sfc_main$12 = defineComponent({
|
|
|
27765
27791
|
currencyText: ((_f = props.cashBackDetail) == null ? void 0 : _f.currencyText) || "pt"
|
|
27766
27792
|
};
|
|
27767
27793
|
});
|
|
27794
|
+
const hasCashback = computed(() => {
|
|
27795
|
+
return cashBackInfo2.value.cashBackAmount;
|
|
27796
|
+
});
|
|
27768
27797
|
return {
|
|
27769
27798
|
click,
|
|
27770
27799
|
style,
|
|
27771
27800
|
cashBackInfo: cashBackInfo2,
|
|
27772
|
-
images: images2
|
|
27801
|
+
images: images2,
|
|
27802
|
+
hasCashback
|
|
27773
27803
|
};
|
|
27774
27804
|
}
|
|
27775
27805
|
});
|
|
27776
27806
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27777
27807
|
const _component_Lottie = resolveComponent("Lottie");
|
|
27808
|
+
const _component_Button = resolveComponent("Button");
|
|
27778
27809
|
return openBlock(), createElementBlock("div", {
|
|
27779
27810
|
class: normalizeClass(_ctx.style.cashBack),
|
|
27780
27811
|
"data-testid": "cashback-detail-row",
|
|
27781
27812
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
27782
27813
|
}, [
|
|
27783
|
-
|
|
27784
|
-
|
|
27785
|
-
|
|
27786
|
-
|
|
27787
|
-
|
|
27788
|
-
class: normalizeClass(_ctx.style.cashBackInfo)
|
|
27789
|
-
}, [
|
|
27814
|
+
_ctx.calculating ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
27815
|
+
createVNode(_component_Lottie, {
|
|
27816
|
+
class: normalizeClass(_ctx.style.lottieStyle),
|
|
27817
|
+
path: _ctx.cashBackInfo.animationUrl
|
|
27818
|
+
}, null, 8, ["class", "path"]),
|
|
27790
27819
|
createBaseVNode("div", {
|
|
27791
|
-
class: normalizeClass(_ctx.style.
|
|
27820
|
+
class: normalizeClass(_ctx.style.cashBackInfo)
|
|
27792
27821
|
}, [
|
|
27793
27822
|
createBaseVNode("div", {
|
|
27794
|
-
class: normalizeClass(_ctx.style.
|
|
27795
|
-
"data-testid": "cash-back-detail-row-description"
|
|
27796
|
-
}, toDisplayString(_ctx.cashBackInfo.cashBackDescription), 3),
|
|
27797
|
-
_ctx.cashBackInfo.cashBackAmount && !_ctx.calculating ? (openBlock(), createElementBlock("div", {
|
|
27798
|
-
key: 0,
|
|
27799
|
-
class: normalizeClass(_ctx.style.cashBackPrice),
|
|
27800
|
-
"data-test": "cash-back-detail-row-amount"
|
|
27823
|
+
class: normalizeClass(_ctx.style.priceContainer)
|
|
27801
27824
|
}, [
|
|
27802
|
-
|
|
27803
|
-
|
|
27804
|
-
|
|
27805
|
-
}, toDisplayString(_ctx.cashBackInfo.
|
|
27806
|
-
], 2)
|
|
27807
|
-
], 2)
|
|
27825
|
+
createBaseVNode("div", {
|
|
27826
|
+
class: normalizeClass(_ctx.style.cashBackDescription),
|
|
27827
|
+
"data-testid": "cash-back-detail-row-description"
|
|
27828
|
+
}, toDisplayString(_ctx.cashBackInfo.cashBackDescription), 3)
|
|
27829
|
+
], 2)
|
|
27830
|
+
], 2)
|
|
27831
|
+
], 64)) : _ctx.hasCashback ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
27832
|
+
createVNode(_component_Lottie, {
|
|
27833
|
+
class: normalizeClass(_ctx.style.lottieStyle),
|
|
27834
|
+
path: _ctx.cashBackInfo.animationUrl
|
|
27835
|
+
}, null, 8, ["class", "path"]),
|
|
27808
27836
|
createBaseVNode("div", {
|
|
27809
|
-
class: normalizeClass(_ctx.style.
|
|
27810
|
-
|
|
27811
|
-
|
|
27837
|
+
class: normalizeClass(_ctx.style.cashBackInfo)
|
|
27838
|
+
}, [
|
|
27839
|
+
createBaseVNode("div", {
|
|
27840
|
+
class: normalizeClass(_ctx.style.priceContainer)
|
|
27841
|
+
}, [
|
|
27842
|
+
createBaseVNode("div", {
|
|
27843
|
+
class: normalizeClass(_ctx.style.cashBackDescription),
|
|
27844
|
+
"data-testid": "cash-back-detail-row-description"
|
|
27845
|
+
}, toDisplayString(_ctx.cashBackInfo.cashBackDescription), 3),
|
|
27846
|
+
_ctx.cashBackInfo.cashBackAmount ? (openBlock(), createElementBlock("div", {
|
|
27847
|
+
key: 0,
|
|
27848
|
+
class: normalizeClass(_ctx.style.cashBackPrice),
|
|
27849
|
+
"data-test": "cash-back-detail-row-amount"
|
|
27850
|
+
}, [
|
|
27851
|
+
createTextVNode(toDisplayString(_ctx.cashBackInfo.cashBackAmount) + " ", 1),
|
|
27852
|
+
createBaseVNode("span", {
|
|
27853
|
+
class: normalizeClass(_ctx.style.cashBackUnit)
|
|
27854
|
+
}, toDisplayString(_ctx.cashBackInfo.currencyText), 3)
|
|
27855
|
+
], 2)) : createCommentVNode("", true)
|
|
27856
|
+
], 2),
|
|
27857
|
+
createBaseVNode("div", {
|
|
27858
|
+
class: normalizeClass(_ctx.style.optionalText),
|
|
27859
|
+
"data-test": "cash-back-detail-row-optional"
|
|
27860
|
+
}, toDisplayString(_ctx.cashBackInfo.optionalText), 3),
|
|
27861
|
+
createBaseVNode("div", {
|
|
27862
|
+
class: normalizeClass(_ctx.style.cashBackLinkLabel),
|
|
27863
|
+
"data-test": "cash-back-detail-row-link"
|
|
27864
|
+
}, toDisplayString(_ctx.cashBackInfo.cashBackDetailLinkLabel), 3)
|
|
27865
|
+
], 2)
|
|
27866
|
+
], 64)) : (openBlock(), createElementBlock("div", {
|
|
27867
|
+
key: 2,
|
|
27868
|
+
class: normalizeClass(_ctx.style.noCashBackContainer),
|
|
27869
|
+
"data-testid": "no-cash-back-container"
|
|
27870
|
+
}, [
|
|
27812
27871
|
createBaseVNode("div", {
|
|
27813
|
-
class: normalizeClass(_ctx.style.
|
|
27814
|
-
|
|
27815
|
-
|
|
27816
|
-
|
|
27872
|
+
class: normalizeClass(_ctx.style.noCashBackText)
|
|
27873
|
+
}, toDisplayString(_ctx.cashBackInfo.cashBackDescription), 3),
|
|
27874
|
+
createVNode(_component_Button, {
|
|
27875
|
+
class: normalizeClass(_ctx.style.noCashBackLink),
|
|
27876
|
+
type: "link"
|
|
27877
|
+
}, {
|
|
27878
|
+
default: withCtx(() => [
|
|
27879
|
+
createTextVNode(toDisplayString(_ctx.cashBackInfo.cashBackDetailLinkLabel), 1)
|
|
27880
|
+
]),
|
|
27881
|
+
_: 1
|
|
27882
|
+
}, 8, ["class"])
|
|
27883
|
+
], 2))
|
|
27817
27884
|
], 2);
|
|
27818
27885
|
}
|
|
27819
27886
|
const cssModules$U = {};
|
|
@@ -28063,9 +28130,9 @@ const _sfc_main$11 = defineComponent({
|
|
|
28063
28130
|
const showCashBackDetailRow = computed(() => {
|
|
28064
28131
|
var _a2;
|
|
28065
28132
|
const cashBackDetailList2 = (_a2 = props.cashBackDetail) == null ? void 0 : _a2.cashBackDetailList;
|
|
28066
|
-
const
|
|
28133
|
+
const calculating2 = props.calculating;
|
|
28067
28134
|
const calculated = props.calculated;
|
|
28068
|
-
if (
|
|
28135
|
+
if (calculating2)
|
|
28069
28136
|
return false;
|
|
28070
28137
|
if (calculated && cashBackDetailList2 && Array.isArray(cashBackDetailList2)) {
|
|
28071
28138
|
return cashBackDetailList2.length >= 1;
|
|
@@ -31800,7 +31867,7 @@ const _sfc_main$N = defineComponent({
|
|
|
31800
31867
|
hasConfirmAge,
|
|
31801
31868
|
closeAnimation,
|
|
31802
31869
|
getCashBackDetail,
|
|
31803
|
-
calculating,
|
|
31870
|
+
calculating: calculating2,
|
|
31804
31871
|
calculated
|
|
31805
31872
|
} = useCashBackDetail(props);
|
|
31806
31873
|
const { showCharge, closeCharge, openCharge, charge } = useCharge(props);
|
|
@@ -31951,7 +32018,7 @@ const _sfc_main$N = defineComponent({
|
|
|
31951
32018
|
setConsult,
|
|
31952
32019
|
closeConsult,
|
|
31953
32020
|
cancelPayment,
|
|
31954
|
-
calculating,
|
|
32021
|
+
calculating: calculating2,
|
|
31955
32022
|
calculated,
|
|
31956
32023
|
cancelSimilarTxn,
|
|
31957
32024
|
afterPayment,
|
|
@@ -35072,7 +35139,7 @@ function debug(params) {
|
|
|
35072
35139
|
function execute$5(params) {
|
|
35073
35140
|
var _a;
|
|
35074
35141
|
(_a = params == null ? void 0 : params.success) == null ? void 0 : _a.call(params, {
|
|
35075
|
-
v: "1.
|
|
35142
|
+
v: "1.45.0"
|
|
35076
35143
|
});
|
|
35077
35144
|
}
|
|
35078
35145
|
function useCallBack(props, ctx) {
|
|
@@ -36486,6 +36553,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36486
36553
|
{ [_ctx.$style.cashback]: _ctx.cashbackInfo.length },
|
|
36487
36554
|
{ [_ctx.$style.shortText]: _ctx.isShortText }
|
|
36488
36555
|
]),
|
|
36556
|
+
"data-testid": "smart-btn-container",
|
|
36489
36557
|
href: _ctx.url,
|
|
36490
36558
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
36491
36559
|
}, [
|
|
@@ -36493,6 +36561,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36493
36561
|
class: normalizeClass(_ctx.$style.leftSection)
|
|
36494
36562
|
}, [
|
|
36495
36563
|
createBaseVNode("img", {
|
|
36564
|
+
"data-testid": "img-container",
|
|
36496
36565
|
src: _ctx.iconUrl,
|
|
36497
36566
|
alt: ""
|
|
36498
36567
|
}, null, 8, _hoisted_2$5),
|
|
@@ -36500,20 +36569,24 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36500
36569
|
class: normalizeClass(_ctx.$style.btnContent)
|
|
36501
36570
|
}, [
|
|
36502
36571
|
createBaseVNode("span", {
|
|
36572
|
+
"data-testid": "title",
|
|
36503
36573
|
class: normalizeClass(_ctx.$style.title)
|
|
36504
36574
|
}, toDisplayString(_ctx.title), 3),
|
|
36505
36575
|
_ctx.cashbackInfo && !_ctx.smallBtn ? (openBlock(), createElementBlock("span", {
|
|
36506
36576
|
key: 0,
|
|
36577
|
+
"data-testid": "cashback",
|
|
36507
36578
|
class: normalizeClass(_ctx.$style.cashbackInfo)
|
|
36508
36579
|
}, toDisplayString(_ctx.cashbackInfo), 3)) : createCommentVNode("", true)
|
|
36509
36580
|
], 2)
|
|
36510
36581
|
], 2),
|
|
36511
36582
|
_ctx.cashbackInfo && _ctx.smallBtn ? (openBlock(), createElementBlock("span", {
|
|
36512
36583
|
key: 0,
|
|
36584
|
+
"data-testid": "small-btn-cashback",
|
|
36513
36585
|
class: normalizeClass(_ctx.$style.cashbackInfo)
|
|
36514
36586
|
}, toDisplayString(_ctx.cashbackInfo), 3)) : createCommentVNode("", true),
|
|
36515
36587
|
_ctx.avatarUrl ? (openBlock(), createElementBlock("img", {
|
|
36516
36588
|
key: 1,
|
|
36589
|
+
"data-testid": "avatar-img",
|
|
36517
36590
|
class: normalizeClass(_ctx.$style.userProfile),
|
|
36518
36591
|
src: _ctx.avatarUrl,
|
|
36519
36592
|
alt: "",
|
|
@@ -36832,7 +36905,8 @@ const smartPay = {
|
|
|
36832
36905
|
cashback: "Up to {cashback}% Rewards"
|
|
36833
36906
|
};
|
|
36834
36907
|
const cashbackList = {
|
|
36835
|
-
close: "Close"
|
|
36908
|
+
close: "Close",
|
|
36909
|
+
condition: "Conditions for Receiving Points"
|
|
36836
36910
|
};
|
|
36837
36911
|
const desktopTitle = {
|
|
36838
36912
|
Payment: "Payment",
|