@paypay/mini-app-js-sdk 1.55.0 → 1.56.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.
|
@@ -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.56.0";
|
|
89
|
+
this.revision = "071e234";
|
|
90
90
|
this.messageHandlers = new Map();
|
|
91
91
|
this.responseCallbacks = new Map();
|
|
92
92
|
this.global = global2;
|
|
@@ -1945,7 +1945,7 @@ const opaUrl = () => {
|
|
|
1945
1945
|
const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
|
|
1946
1946
|
let headers = new Headers(__spreadValues({
|
|
1947
1947
|
"Content-Type": "application/json",
|
|
1948
|
-
"Client-Version": "1.
|
|
1948
|
+
"Client-Version": "1.56.0",
|
|
1949
1949
|
"Client-OS-Type": getRuntime()
|
|
1950
1950
|
}, customHeaders));
|
|
1951
1951
|
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" || urlEndpoint === "web-api/app/v1/users/consultPaymentFeature") {
|
|
@@ -9439,24 +9439,24 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9439
9439
|
const cssModules$1o = {};
|
|
9440
9440
|
cssModules$1o["$style"] = style0$1o;
|
|
9441
9441
|
var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__cssModules", cssModules$1o]]);
|
|
9442
|
-
const wrapperClass$p = "
|
|
9443
|
-
const ppmnaPaymentTypeContainer$4 = "
|
|
9444
|
-
const img$d = "
|
|
9445
|
-
const imgContainer$5 = "
|
|
9446
|
-
const roundStylePaymentType$4 = "
|
|
9447
|
-
const main$5 = "
|
|
9448
|
-
const sub$4 = "
|
|
9449
|
-
const makePayWithAddress$4 = "
|
|
9450
|
-
const makePaymentTypeContainer$4 = "
|
|
9451
|
-
const arrowContainer$6 = "
|
|
9452
|
-
const arrowRight$4 = "
|
|
9453
|
-
const makePaymentArrowContainer$4 = "
|
|
9454
|
-
const walletContainer = "
|
|
9455
|
-
const subTitle$1 = "
|
|
9456
|
-
const chargeContainer = "
|
|
9457
|
-
const greenTick = "
|
|
9458
|
-
const autoCharge = "
|
|
9459
|
-
const makePaymentRightAlign = "
|
|
9442
|
+
const wrapperClass$p = "_wrapperClass_15dit_1";
|
|
9443
|
+
const ppmnaPaymentTypeContainer$4 = "_ppmnaPaymentTypeContainer_15dit_1";
|
|
9444
|
+
const img$d = "_img_15dit_5";
|
|
9445
|
+
const imgContainer$5 = "_imgContainer_15dit_18";
|
|
9446
|
+
const roundStylePaymentType$4 = "_roundStylePaymentType_15dit_26";
|
|
9447
|
+
const main$5 = "_main_15dit_32";
|
|
9448
|
+
const sub$4 = "_sub_15dit_48";
|
|
9449
|
+
const makePayWithAddress$4 = "_makePayWithAddress_15dit_58";
|
|
9450
|
+
const makePaymentTypeContainer$4 = "_makePaymentTypeContainer_15dit_63";
|
|
9451
|
+
const arrowContainer$6 = "_arrowContainer_15dit_68";
|
|
9452
|
+
const arrowRight$4 = "_arrowRight_15dit_71";
|
|
9453
|
+
const makePaymentArrowContainer$4 = "_makePaymentArrowContainer_15dit_81";
|
|
9454
|
+
const walletContainer = "_walletContainer_15dit_86";
|
|
9455
|
+
const subTitle$1 = "_subTitle_15dit_91";
|
|
9456
|
+
const chargeContainer = "_chargeContainer_15dit_96";
|
|
9457
|
+
const greenTick = "_greenTick_15dit_106";
|
|
9458
|
+
const autoCharge = "_autoCharge_15dit_119";
|
|
9459
|
+
const makePaymentRightAlign = "_makePaymentRightAlign_15dit_126";
|
|
9460
9460
|
var style0$1n = {
|
|
9461
9461
|
wrapperClass: wrapperClass$p,
|
|
9462
9462
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$4,
|
|
@@ -9583,29 +9583,29 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9583
9583
|
const cssModules$1n = {};
|
|
9584
9584
|
cssModules$1n["$style"] = style0$1n;
|
|
9585
9585
|
var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1n]]);
|
|
9586
|
-
const wrapperClass$o = "
|
|
9587
|
-
const ppmnaPaymentTypeContainer$3 = "
|
|
9588
|
-
const img$c = "
|
|
9589
|
-
const imgContainer$4 = "
|
|
9590
|
-
const roundStylePaymentType$3 = "
|
|
9591
|
-
const main$4 = "
|
|
9592
|
-
const sub$3 = "
|
|
9593
|
-
const makePayWithAddress$3 = "
|
|
9594
|
-
const makePaymentTypeContainer$3 = "
|
|
9595
|
-
const arrowContainer$5 = "
|
|
9596
|
-
const arrowRight$3 = "
|
|
9597
|
-
const makePaymentArrowContainer$3 = "
|
|
9598
|
-
const mainLabel$5 = "
|
|
9599
|
-
const auth = "
|
|
9600
|
-
const authText = "
|
|
9601
|
-
const cardImageContainer = "
|
|
9602
|
-
const cardImg = "
|
|
9603
|
-
const content$h = "
|
|
9604
|
-
const authenticated = "
|
|
9605
|
-
const notAuthenticated = "
|
|
9606
|
-
const authorizedImg$1 = "
|
|
9607
|
-
const unAuthorizedImg$1 = "
|
|
9608
|
-
const creditCard$1 = "
|
|
9586
|
+
const wrapperClass$o = "_wrapperClass_11uh5_1";
|
|
9587
|
+
const ppmnaPaymentTypeContainer$3 = "_ppmnaPaymentTypeContainer_11uh5_1";
|
|
9588
|
+
const img$c = "_img_11uh5_5";
|
|
9589
|
+
const imgContainer$4 = "_imgContainer_11uh5_18";
|
|
9590
|
+
const roundStylePaymentType$3 = "_roundStylePaymentType_11uh5_26";
|
|
9591
|
+
const main$4 = "_main_11uh5_32";
|
|
9592
|
+
const sub$3 = "_sub_11uh5_48";
|
|
9593
|
+
const makePayWithAddress$3 = "_makePayWithAddress_11uh5_58";
|
|
9594
|
+
const makePaymentTypeContainer$3 = "_makePaymentTypeContainer_11uh5_63";
|
|
9595
|
+
const arrowContainer$5 = "_arrowContainer_11uh5_68";
|
|
9596
|
+
const arrowRight$3 = "_arrowRight_11uh5_71";
|
|
9597
|
+
const makePaymentArrowContainer$3 = "_makePaymentArrowContainer_11uh5_81";
|
|
9598
|
+
const mainLabel$5 = "_mainLabel_11uh5_85";
|
|
9599
|
+
const auth = "_auth_11uh5_90";
|
|
9600
|
+
const authText = "_authText_11uh5_100";
|
|
9601
|
+
const cardImageContainer = "_cardImageContainer_11uh5_104";
|
|
9602
|
+
const cardImg = "_cardImg_11uh5_107";
|
|
9603
|
+
const content$h = "_content_11uh5_111";
|
|
9604
|
+
const authenticated = "_authenticated_11uh5_121";
|
|
9605
|
+
const notAuthenticated = "_notAuthenticated_11uh5_124";
|
|
9606
|
+
const authorizedImg$1 = "_authorizedImg_11uh5_127";
|
|
9607
|
+
const unAuthorizedImg$1 = "_unAuthorizedImg_11uh5_136";
|
|
9608
|
+
const creditCard$1 = "_creditCard_11uh5_144";
|
|
9609
9609
|
var style0$1m = {
|
|
9610
9610
|
wrapperClass: wrapperClass$o,
|
|
9611
9611
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$3,
|
|
@@ -9777,24 +9777,24 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9777
9777
|
const cssModules$1m = {};
|
|
9778
9778
|
cssModules$1m["$style"] = style0$1m;
|
|
9779
9779
|
var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__cssModules", cssModules$1m]]);
|
|
9780
|
-
const wrapperClass$n = "
|
|
9781
|
-
const ppmnaPaymentTypeContainer$2 = "
|
|
9782
|
-
const img$a = "
|
|
9783
|
-
const imgContainer$3 = "
|
|
9784
|
-
const roundStylePaymentType$2 = "
|
|
9785
|
-
const main$3 = "
|
|
9786
|
-
const sub$2 = "
|
|
9787
|
-
const makePayWithAddress$2 = "
|
|
9788
|
-
const makePaymentTypeContainer$2 = "
|
|
9789
|
-
const arrowContainer$4 = "
|
|
9790
|
-
const arrowRight$2 = "
|
|
9791
|
-
const makePaymentArrowContainer$2 = "
|
|
9792
|
-
const bankImg = "
|
|
9793
|
-
const branchCode = "
|
|
9794
|
-
const content$g = "
|
|
9795
|
-
const roundContainer = "
|
|
9796
|
-
const round$2 = "
|
|
9797
|
-
const bankName = "
|
|
9780
|
+
const wrapperClass$n = "_wrapperClass_1lw1h_1";
|
|
9781
|
+
const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_1lw1h_1";
|
|
9782
|
+
const img$a = "_img_1lw1h_5";
|
|
9783
|
+
const imgContainer$3 = "_imgContainer_1lw1h_18";
|
|
9784
|
+
const roundStylePaymentType$2 = "_roundStylePaymentType_1lw1h_26";
|
|
9785
|
+
const main$3 = "_main_1lw1h_32";
|
|
9786
|
+
const sub$2 = "_sub_1lw1h_48";
|
|
9787
|
+
const makePayWithAddress$2 = "_makePayWithAddress_1lw1h_58";
|
|
9788
|
+
const makePaymentTypeContainer$2 = "_makePaymentTypeContainer_1lw1h_63";
|
|
9789
|
+
const arrowContainer$4 = "_arrowContainer_1lw1h_68";
|
|
9790
|
+
const arrowRight$2 = "_arrowRight_1lw1h_71";
|
|
9791
|
+
const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_1lw1h_81";
|
|
9792
|
+
const bankImg = "_bankImg_1lw1h_85";
|
|
9793
|
+
const branchCode = "_branchCode_1lw1h_89";
|
|
9794
|
+
const content$g = "_content_1lw1h_92";
|
|
9795
|
+
const roundContainer = "_roundContainer_1lw1h_96";
|
|
9796
|
+
const round$2 = "_round_1lw1h_26";
|
|
9797
|
+
const bankName = "_bankName_1lw1h_102";
|
|
9798
9798
|
var style0$1l = {
|
|
9799
9799
|
wrapperClass: wrapperClass$n,
|
|
9800
9800
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$2,
|
|
@@ -9926,23 +9926,23 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9926
9926
|
const cssModules$1l = {};
|
|
9927
9927
|
cssModules$1l["$style"] = style0$1l;
|
|
9928
9928
|
var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__cssModules", cssModules$1l]]);
|
|
9929
|
-
const wrapperClass$m = "
|
|
9930
|
-
const ppmnaPaymentTypeContainer$1 = "
|
|
9931
|
-
const img$9 = "
|
|
9932
|
-
const imgContainer$2 = "
|
|
9933
|
-
const roundStylePaymentType$1 = "
|
|
9934
|
-
const main$2 = "
|
|
9935
|
-
const sub$1 = "
|
|
9936
|
-
const makePayWithAddress$1 = "
|
|
9937
|
-
const makePaymentTypeContainer$1 = "
|
|
9938
|
-
const arrowContainer$3 = "
|
|
9939
|
-
const arrowRight$1 = "
|
|
9940
|
-
const makePaymentArrowContainer$1 = "
|
|
9941
|
-
const container$y = "
|
|
9942
|
-
const sbidImg = "
|
|
9943
|
-
const content$f = "
|
|
9944
|
-
const desc1 = "
|
|
9945
|
-
const desc2 = "
|
|
9929
|
+
const wrapperClass$m = "_wrapperClass_sdttg_1";
|
|
9930
|
+
const ppmnaPaymentTypeContainer$1 = "_ppmnaPaymentTypeContainer_sdttg_1";
|
|
9931
|
+
const img$9 = "_img_sdttg_5";
|
|
9932
|
+
const imgContainer$2 = "_imgContainer_sdttg_18";
|
|
9933
|
+
const roundStylePaymentType$1 = "_roundStylePaymentType_sdttg_26";
|
|
9934
|
+
const main$2 = "_main_sdttg_32";
|
|
9935
|
+
const sub$1 = "_sub_sdttg_48";
|
|
9936
|
+
const makePayWithAddress$1 = "_makePayWithAddress_sdttg_58";
|
|
9937
|
+
const makePaymentTypeContainer$1 = "_makePaymentTypeContainer_sdttg_63";
|
|
9938
|
+
const arrowContainer$3 = "_arrowContainer_sdttg_68";
|
|
9939
|
+
const arrowRight$1 = "_arrowRight_sdttg_71";
|
|
9940
|
+
const makePaymentArrowContainer$1 = "_makePaymentArrowContainer_sdttg_81";
|
|
9941
|
+
const container$y = "_container_sdttg_85";
|
|
9942
|
+
const sbidImg = "_sbidImg_sdttg_97";
|
|
9943
|
+
const content$f = "_content_sdttg_105";
|
|
9944
|
+
const desc1 = "_desc1_sdttg_118";
|
|
9945
|
+
const desc2 = "_desc2_sdttg_122";
|
|
9946
9946
|
var style0$1k = {
|
|
9947
9947
|
wrapperClass: wrapperClass$m,
|
|
9948
9948
|
ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$1,
|
|
@@ -10027,21 +10027,21 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10027
10027
|
const cssModules$1k = {};
|
|
10028
10028
|
cssModules$1k["$style"] = style0$1k;
|
|
10029
10029
|
var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__cssModules", cssModules$1k]]);
|
|
10030
|
-
const wrapperClass$l = "
|
|
10031
|
-
const ppmnaPaymentTypeContainer = "
|
|
10032
|
-
const img$8 = "
|
|
10033
|
-
const imgContainer$1 = "
|
|
10034
|
-
const roundStylePaymentType = "
|
|
10035
|
-
const main$1 = "
|
|
10036
|
-
const sub = "
|
|
10037
|
-
const makePayWithAddress = "
|
|
10038
|
-
const makePaymentTypeContainer = "
|
|
10039
|
-
const arrowContainer$2 = "
|
|
10040
|
-
const arrowRight = "
|
|
10041
|
-
const makePaymentArrowContainer = "
|
|
10042
|
-
const container$x = "
|
|
10043
|
-
const subTitle = "
|
|
10044
|
-
const imageContainer$5 = "
|
|
10030
|
+
const wrapperClass$l = "_wrapperClass_1cjo2_1";
|
|
10031
|
+
const ppmnaPaymentTypeContainer = "_ppmnaPaymentTypeContainer_1cjo2_1";
|
|
10032
|
+
const img$8 = "_img_1cjo2_5";
|
|
10033
|
+
const imgContainer$1 = "_imgContainer_1cjo2_18";
|
|
10034
|
+
const roundStylePaymentType = "_roundStylePaymentType_1cjo2_26";
|
|
10035
|
+
const main$1 = "_main_1cjo2_32";
|
|
10036
|
+
const sub = "_sub_1cjo2_48";
|
|
10037
|
+
const makePayWithAddress = "_makePayWithAddress_1cjo2_58";
|
|
10038
|
+
const makePaymentTypeContainer = "_makePaymentTypeContainer_1cjo2_63";
|
|
10039
|
+
const arrowContainer$2 = "_arrowContainer_1cjo2_68";
|
|
10040
|
+
const arrowRight = "_arrowRight_1cjo2_71";
|
|
10041
|
+
const makePaymentArrowContainer = "_makePaymentArrowContainer_1cjo2_81";
|
|
10042
|
+
const container$x = "_container_1cjo2_86";
|
|
10043
|
+
const subTitle = "_subTitle_1cjo2_91";
|
|
10044
|
+
const imageContainer$5 = "_imageContainer_1cjo2_96";
|
|
10045
10045
|
var style0$1j = {
|
|
10046
10046
|
wrapperClass: wrapperClass$l,
|
|
10047
10047
|
ppmnaPaymentTypeContainer,
|
|
@@ -22941,15 +22941,15 @@ const Lottie = defineComponent({
|
|
|
22941
22941
|
}, null);
|
|
22942
22942
|
}
|
|
22943
22943
|
});
|
|
22944
|
-
const wrapperClass$k = "
|
|
22945
|
-
const container$w = "
|
|
22946
|
-
const header$a = "
|
|
22947
|
-
const arrow$2 = "
|
|
22948
|
-
const address$1 = "
|
|
22949
|
-
const arrowContainer$1 = "
|
|
22950
|
-
const text$7 = "
|
|
22944
|
+
const wrapperClass$k = "_wrapperClass_1ilm4_7";
|
|
22945
|
+
const container$w = "_container_1ilm4_7";
|
|
22946
|
+
const header$a = "_header_1ilm4_21";
|
|
22947
|
+
const arrow$2 = "_arrow_1ilm4_28";
|
|
22948
|
+
const address$1 = "_address_1ilm4_37";
|
|
22949
|
+
const arrowContainer$1 = "_arrowContainer_1ilm4_46";
|
|
22950
|
+
const text$7 = "_text_1ilm4_57";
|
|
22951
22951
|
var style0$1i = {
|
|
22952
|
-
"ppmna-default-font": "_ppmna-default-
|
|
22952
|
+
"ppmna-default-font": "_ppmna-default-font_1ilm4_1",
|
|
22953
22953
|
wrapperClass: wrapperClass$k,
|
|
22954
22954
|
container: container$w,
|
|
22955
22955
|
header: header$a,
|
|
@@ -23998,12 +23998,12 @@ const PaymentMethod = defineComponent({
|
|
|
23998
23998
|
return null;
|
|
23999
23999
|
}
|
|
24000
24000
|
});
|
|
24001
|
-
const wrapperClass$e = "
|
|
24002
|
-
const methodItem$1 = "
|
|
24003
|
-
const topupMethodItem = "
|
|
24004
|
-
const iconContainer$2 = "
|
|
24005
|
-
const iconGreenTick$1 = "
|
|
24006
|
-
const iconHidden$1 = "
|
|
24001
|
+
const wrapperClass$e = "_wrapperClass_74p4m_1";
|
|
24002
|
+
const methodItem$1 = "_methodItem_74p4m_1";
|
|
24003
|
+
const topupMethodItem = "_topupMethodItem_74p4m_14";
|
|
24004
|
+
const iconContainer$2 = "_iconContainer_74p4m_18";
|
|
24005
|
+
const iconGreenTick$1 = "_iconGreenTick_74p4m_27";
|
|
24006
|
+
const iconHidden$1 = "_iconHidden_74p4m_37";
|
|
24007
24007
|
var style0$1c = {
|
|
24008
24008
|
wrapperClass: wrapperClass$e,
|
|
24009
24009
|
methodItem: methodItem$1,
|
|
@@ -24358,14 +24358,14 @@ function initRoot(props, { emit }) {
|
|
|
24358
24358
|
function getRoot() {
|
|
24359
24359
|
return inject(KEY$1);
|
|
24360
24360
|
}
|
|
24361
|
-
const root$8 = "
|
|
24362
|
-
const editLink = "
|
|
24363
|
-
const addressContainer$1 = "
|
|
24364
|
-
const header$9 = "
|
|
24365
|
-
const receiver = "
|
|
24366
|
-
const selected$1 = "
|
|
24367
|
-
const selectedContainer = "
|
|
24368
|
-
const text$6 = "
|
|
24361
|
+
const root$8 = "_root_1h4sg_1";
|
|
24362
|
+
const editLink = "_editLink_1h4sg_20";
|
|
24363
|
+
const addressContainer$1 = "_addressContainer_1h4sg_44";
|
|
24364
|
+
const header$9 = "_header_1h4sg_48";
|
|
24365
|
+
const receiver = "_receiver_1h4sg_59";
|
|
24366
|
+
const selected$1 = "_selected_1h4sg_63";
|
|
24367
|
+
const selectedContainer = "_selectedContainer_1h4sg_72";
|
|
24368
|
+
const text$6 = "_text_1h4sg_81";
|
|
24369
24369
|
var style0$19 = {
|
|
24370
24370
|
root: root$8,
|
|
24371
24371
|
editLink,
|
|
@@ -27129,42 +27129,42 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27129
27129
|
], 64);
|
|
27130
27130
|
}
|
|
27131
27131
|
var AppVue$7 = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17]]);
|
|
27132
|
-
const container$n = "
|
|
27133
|
-
const addContainer = "
|
|
27134
|
-
const addContainerInsufficient = "
|
|
27135
|
-
const noAddContainer = "
|
|
27136
|
-
const addContainerTopup = "
|
|
27137
|
-
const addAddress = "
|
|
27138
|
-
const label$3 = "
|
|
27139
|
-
const change$2 = "
|
|
27140
|
-
const noaddmsgContainer = "
|
|
27141
|
-
const addressInfoContainer = "
|
|
27142
|
-
const priceContainer$1 = "
|
|
27143
|
-
const priceNumber = "
|
|
27144
|
-
const priceUnit = "
|
|
27145
|
-
const successContainer$1 = "
|
|
27146
|
-
const loadingText$2 = "
|
|
27147
|
-
const payBtn = "
|
|
27148
|
-
const payButton = "
|
|
27149
|
-
const cancel$2 = "
|
|
27150
|
-
const cancelBtn$1 = "
|
|
27151
|
-
const chargeCancel = "
|
|
27152
|
-
const payBtnSticky = "
|
|
27153
|
-
const payWrapper = "
|
|
27154
|
-
const bannerInfo$1 = "
|
|
27155
|
-
const bannerIcon = "
|
|
27156
|
-
const bannerTitle$2 = "
|
|
27157
|
-
const price$3 = "
|
|
27158
|
-
const paymentContainer = "
|
|
27159
|
-
const addressContainer = "
|
|
27160
|
-
const noAddressContainer = "
|
|
27161
|
-
const payment$2 = "
|
|
27162
|
-
const insufficientAmount = "
|
|
27163
|
-
const arrow = "
|
|
27164
|
-
const defaultContainer = "
|
|
27165
|
-
const payContainer = "
|
|
27132
|
+
const container$n = "_container_sui8p_7";
|
|
27133
|
+
const addContainer = "_addContainer_sui8p_16";
|
|
27134
|
+
const addContainerInsufficient = "_addContainerInsufficient_sui8p_25";
|
|
27135
|
+
const noAddContainer = "_noAddContainer_sui8p_29";
|
|
27136
|
+
const addContainerTopup = "_addContainerTopup_sui8p_34";
|
|
27137
|
+
const addAddress = "_addAddress_sui8p_44";
|
|
27138
|
+
const label$3 = "_label_sui8p_54";
|
|
27139
|
+
const change$2 = "_change_sui8p_72";
|
|
27140
|
+
const noaddmsgContainer = "_noaddmsgContainer_sui8p_87";
|
|
27141
|
+
const addressInfoContainer = "_addressInfoContainer_sui8p_96";
|
|
27142
|
+
const priceContainer$1 = "_priceContainer_sui8p_100";
|
|
27143
|
+
const priceNumber = "_priceNumber_sui8p_111";
|
|
27144
|
+
const priceUnit = "_priceUnit_sui8p_130";
|
|
27145
|
+
const successContainer$1 = "_successContainer_sui8p_141";
|
|
27146
|
+
const loadingText$2 = "_loadingText_sui8p_148";
|
|
27147
|
+
const payBtn = "_payBtn_sui8p_166";
|
|
27148
|
+
const payButton = "_payButton_sui8p_185";
|
|
27149
|
+
const cancel$2 = "_cancel_sui8p_189";
|
|
27150
|
+
const cancelBtn$1 = "_cancelBtn_sui8p_198";
|
|
27151
|
+
const chargeCancel = "_chargeCancel_sui8p_206";
|
|
27152
|
+
const payBtnSticky = "_payBtnSticky_sui8p_210";
|
|
27153
|
+
const payWrapper = "_payWrapper_sui8p_223";
|
|
27154
|
+
const bannerInfo$1 = "_bannerInfo_sui8p_228";
|
|
27155
|
+
const bannerIcon = "_bannerIcon_sui8p_242";
|
|
27156
|
+
const bannerTitle$2 = "_bannerTitle_sui8p_246";
|
|
27157
|
+
const price$3 = "_price_sui8p_100";
|
|
27158
|
+
const paymentContainer = "_paymentContainer_sui8p_255";
|
|
27159
|
+
const addressContainer = "_addressContainer_sui8p_278";
|
|
27160
|
+
const noAddressContainer = "_noAddressContainer_sui8p_301";
|
|
27161
|
+
const payment$2 = "_payment_sui8p_255";
|
|
27162
|
+
const insufficientAmount = "_insufficientAmount_sui8p_328";
|
|
27163
|
+
const arrow = "_arrow_sui8p_346";
|
|
27164
|
+
const defaultContainer = "_defaultContainer_sui8p_360";
|
|
27165
|
+
const payContainer = "_payContainer_sui8p_379";
|
|
27166
27166
|
var style0$Y = {
|
|
27167
|
-
"ppmna-default-font": "_ppmna-default-
|
|
27167
|
+
"ppmna-default-font": "_ppmna-default-font_sui8p_1",
|
|
27168
27168
|
container: container$n,
|
|
27169
27169
|
addContainer,
|
|
27170
27170
|
addContainerInsufficient,
|
|
@@ -30372,18 +30372,23 @@ const useMakePaymentStore = defineStore("makePayment", {
|
|
|
30372
30372
|
result: false
|
|
30373
30373
|
};
|
|
30374
30374
|
}
|
|
30375
|
-
const { paymentMethodList, appealDescription } = ((_c = (_b = (_a2 = res == null ? void 0 : res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.data) == null ? void 0 : _c.payload) || {};
|
|
30375
|
+
const { paymentMethodList, appealDescription, paymentMethodPreference } = ((_c = (_b = (_a2 = res == null ? void 0 : res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.data) == null ? void 0 : _c.payload) || {};
|
|
30376
30376
|
this.paymentMethodState.paymentMethods = paymentMethodList;
|
|
30377
30377
|
const walletPaymentMethod = paymentMethodList ? paymentMethodList.find((elem2) => elem2.paymentMethodType === PaymentMethodType.WALLET) || null : null;
|
|
30378
30378
|
if (walletPaymentMethod && walletPaymentMethod.descriptionBannerInfo) {
|
|
30379
30379
|
this.paymentMethodState.bannerInfo = walletPaymentMethod.descriptionBannerInfo;
|
|
30380
30380
|
}
|
|
30381
|
-
const
|
|
30381
|
+
const isPaymentMethodPriorityEnabled = paymentMethodPreference.prioritizedPaymentMethodsEnabled;
|
|
30382
30382
|
this.paymentMethodState.paymentMethods = paymentMethodList ? paymentMethodList.filter(function(method2) {
|
|
30383
30383
|
return method2.paymentMethodType !== PaymentMethodType.PAY_LATER;
|
|
30384
30384
|
}) : paymentMethodList;
|
|
30385
30385
|
this.paymentMethodState.appealDescription = appealDescription;
|
|
30386
|
-
|
|
30386
|
+
if (isPaymentMethodPriorityEnabled) {
|
|
30387
|
+
this.paymentMethodState.selectPaymentIndex = findFirstValidMethod(this.paymentMethodState.paymentMethods);
|
|
30388
|
+
} else {
|
|
30389
|
+
const lastSavedMethod = getLastPaymentMethod();
|
|
30390
|
+
this.paymentMethodState.selectPaymentIndex = isValidPaymentMethod(lastSavedMethod, (_d = this.paymentMethodState) == null ? void 0 : _d.paymentMethods) ? this.paymentMethodState.paymentMethods.findIndex((method2) => method2.paymentMethodId === lastSavedMethod) : findFirstValidMethod(this.paymentMethodState.paymentMethods);
|
|
30391
|
+
}
|
|
30387
30392
|
return {
|
|
30388
30393
|
res,
|
|
30389
30394
|
result: true
|
|
@@ -35441,7 +35446,7 @@ function debug(params) {
|
|
|
35441
35446
|
function execute$6(params) {
|
|
35442
35447
|
var _a2;
|
|
35443
35448
|
(_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
|
|
35444
|
-
v: "1.
|
|
35449
|
+
v: "1.56.0"
|
|
35445
35450
|
});
|
|
35446
35451
|
}
|
|
35447
35452
|
function useCallBack(props, ctx) {
|