@paypay/mini-app-js-sdk 1.57.0 → 1.58.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.
@@ -50,8 +50,8 @@ function normalizeNativeResponseData(data2) {
50
50
  }
51
51
  class JsBridge {
52
52
  constructor(global2) {
53
- this.version = "1.57.0";
54
- this.revision = "301ccc9";
53
+ this.version = "1.58.0";
54
+ this.revision = "93e6f72";
55
55
  this.messageHandlers = /* @__PURE__ */ new Map();
56
56
  this.responseCallbacks = /* @__PURE__ */ new Map();
57
57
  this.global = global2;
@@ -1927,7 +1927,7 @@ const opaUrl = () => {
1927
1927
  const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
1928
1928
  let headers = new Headers({
1929
1929
  "Content-Type": "application/json",
1930
- "Client-Version": "1.57.0",
1930
+ "Client-Version": "1.58.0",
1931
1931
  "Client-OS-Type": getRuntime(),
1932
1932
  ...customHeaders
1933
1933
  });
@@ -9343,16 +9343,16 @@ function useBreakpoints() {
9343
9343
  windowHeight: computed(() => windowHeight.value)
9344
9344
  };
9345
9345
  }
9346
- const wrapperClass$q = "_wrapperClass_1k2lr_1";
9347
- const breakDownList = "_breakDownList_1k2lr_1";
9348
- const nonUsable = "_nonUsable_1k2lr_17";
9349
- const breakDownEnter = "_breakDownEnter_1k2lr_35";
9350
- const breakDownIcon = "_breakDownIcon_1k2lr_40";
9351
- const breakDownIconReverse = "_breakDownIconReverse_1k2lr_52";
9352
- const enterActive = "_enterActive_1k2lr_55";
9353
- const leaveActive = "_leaveActive_1k2lr_60";
9354
- const enterTo = "_enterTo_1k2lr_65";
9355
- const leaveTo = "_leaveTo_1k2lr_69";
9346
+ const wrapperClass$q = "_wrapperClass_t590f_1";
9347
+ const breakDownList = "_breakDownList_t590f_1";
9348
+ const nonUsable = "_nonUsable_t590f_17";
9349
+ const breakDownEnter = "_breakDownEnter_t590f_35";
9350
+ const breakDownIcon = "_breakDownIcon_t590f_40";
9351
+ const breakDownIconReverse = "_breakDownIconReverse_t590f_52";
9352
+ const enterActive = "_enterActive_t590f_55";
9353
+ const leaveActive = "_leaveActive_t590f_60";
9354
+ const enterTo = "_enterTo_t590f_65";
9355
+ const leaveTo = "_leaveTo_t590f_69";
9356
9356
  var style0$1o = {
9357
9357
  wrapperClass: wrapperClass$q,
9358
9358
  breakDownList,
@@ -9472,24 +9472,25 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
9472
9472
  const cssModules$1o = {};
9473
9473
  cssModules$1o["$style"] = style0$1o;
9474
9474
  var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__cssModules", cssModules$1o]]);
9475
- const wrapperClass$p = "_wrapperClass_15dit_1";
9476
- const ppmnaPaymentTypeContainer$4 = "_ppmnaPaymentTypeContainer_15dit_1";
9477
- const img$d = "_img_15dit_5";
9478
- const imgContainer$5 = "_imgContainer_15dit_18";
9479
- const roundStylePaymentType$4 = "_roundStylePaymentType_15dit_26";
9480
- const main$5 = "_main_15dit_32";
9481
- const sub$4 = "_sub_15dit_48";
9482
- const makePayWithAddress$4 = "_makePayWithAddress_15dit_58";
9483
- const makePaymentTypeContainer$4 = "_makePaymentTypeContainer_15dit_63";
9484
- const arrowContainer$6 = "_arrowContainer_15dit_68";
9485
- const arrowRight$4 = "_arrowRight_15dit_71";
9486
- const makePaymentArrowContainer$4 = "_makePaymentArrowContainer_15dit_81";
9487
- const walletContainer = "_walletContainer_15dit_86";
9488
- const subTitle$1 = "_subTitle_15dit_91";
9489
- const chargeContainer = "_chargeContainer_15dit_96";
9490
- const greenTick = "_greenTick_15dit_106";
9491
- const autoCharge = "_autoCharge_15dit_119";
9492
- const makePaymentRightAlign = "_makePaymentRightAlign_15dit_126";
9475
+ const wrapperClass$p = "_wrapperClass_l2nf1_1";
9476
+ const ppmnaPaymentTypeContainer$4 = "_ppmnaPaymentTypeContainer_l2nf1_1";
9477
+ const img$d = "_img_l2nf1_4";
9478
+ const imgContainer$5 = "_imgContainer_l2nf1_19";
9479
+ const roundStylePaymentType$4 = "_roundStylePaymentType_l2nf1_27";
9480
+ const main$5 = "_main_l2nf1_33";
9481
+ const sub$4 = "_sub_l2nf1_49";
9482
+ const makePayWithAddress$4 = "_makePayWithAddress_l2nf1_59";
9483
+ const makePaymentTypeContainer$4 = "_makePaymentTypeContainer_l2nf1_64";
9484
+ const arrowContainer$6 = "_arrowContainer_l2nf1_69";
9485
+ const arrowRight$4 = "_arrowRight_l2nf1_72";
9486
+ const makePaymentArrowContainer$4 = "_makePaymentArrowContainer_l2nf1_82";
9487
+ const balanceIconContainer = "_balanceIconContainer_l2nf1_92";
9488
+ const walletContainer = "_walletContainer_l2nf1_98";
9489
+ const subTitle$1 = "_subTitle_l2nf1_103";
9490
+ const chargeContainer = "_chargeContainer_l2nf1_108";
9491
+ const greenTick = "_greenTick_l2nf1_118";
9492
+ const autoCharge = "_autoCharge_l2nf1_131";
9493
+ const makePaymentRightAlign = "_makePaymentRightAlign_l2nf1_138";
9493
9494
  var style0$1n = {
9494
9495
  wrapperClass: wrapperClass$p,
9495
9496
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$4,
@@ -9503,6 +9504,7 @@ var style0$1n = {
9503
9504
  arrowContainer: arrowContainer$6,
9504
9505
  arrowRight: arrowRight$4,
9505
9506
  makePaymentArrowContainer: makePaymentArrowContainer$4,
9507
+ balanceIconContainer,
9506
9508
  walletContainer,
9507
9509
  subTitle: subTitle$1,
9508
9510
  chargeContainer,
@@ -9569,12 +9571,14 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9569
9571
  ]),
9570
9572
  "data-testid": "wallet-method"
9571
9573
  }, [
9572
- createBaseVNode("div", null, [
9574
+ createBaseVNode("div", {
9575
+ class: normalizeClass(_ctx.$style.balanceIconContainer)
9576
+ }, [
9573
9577
  createBaseVNode("img", {
9574
9578
  src: _ctx.images.iconBalanceIcon,
9575
9579
  class: normalizeClass(_ctx.$style.img)
9576
9580
  }, null, 10, _hoisted_1$T)
9577
- ]),
9581
+ ], 2),
9578
9582
  createBaseVNode("div", {
9579
9583
  class: normalizeClass(_ctx.$style.walletContainer)
9580
9584
  }, [
@@ -9620,29 +9624,29 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9620
9624
  const cssModules$1n = {};
9621
9625
  cssModules$1n["$style"] = style0$1n;
9622
9626
  var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1n]]);
9623
- const wrapperClass$o = "_wrapperClass_11uh5_1";
9624
- const ppmnaPaymentTypeContainer$3 = "_ppmnaPaymentTypeContainer_11uh5_1";
9625
- const img$c = "_img_11uh5_5";
9626
- const imgContainer$4 = "_imgContainer_11uh5_18";
9627
- const roundStylePaymentType$3 = "_roundStylePaymentType_11uh5_26";
9628
- const main$4 = "_main_11uh5_32";
9629
- const sub$3 = "_sub_11uh5_48";
9630
- const makePayWithAddress$3 = "_makePayWithAddress_11uh5_58";
9631
- const makePaymentTypeContainer$3 = "_makePaymentTypeContainer_11uh5_63";
9632
- const arrowContainer$5 = "_arrowContainer_11uh5_68";
9633
- const arrowRight$3 = "_arrowRight_11uh5_71";
9634
- const makePaymentArrowContainer$3 = "_makePaymentArrowContainer_11uh5_81";
9635
- const mainLabel$5 = "_mainLabel_11uh5_85";
9636
- const auth = "_auth_11uh5_90";
9637
- const authText = "_authText_11uh5_100";
9638
- const cardImageContainer = "_cardImageContainer_11uh5_104";
9639
- const cardImg = "_cardImg_11uh5_107";
9640
- const content$h = "_content_11uh5_111";
9641
- const authenticated = "_authenticated_11uh5_121";
9642
- const notAuthenticated = "_notAuthenticated_11uh5_124";
9643
- const authorizedImg$1 = "_authorizedImg_11uh5_127";
9644
- const unAuthorizedImg$1 = "_unAuthorizedImg_11uh5_136";
9645
- const creditCard$1 = "_creditCard_11uh5_144";
9627
+ const wrapperClass$o = "_wrapperClass_d9bg9_1";
9628
+ const ppmnaPaymentTypeContainer$3 = "_ppmnaPaymentTypeContainer_d9bg9_1";
9629
+ const img$c = "_img_d9bg9_4";
9630
+ const imgContainer$4 = "_imgContainer_d9bg9_19";
9631
+ const roundStylePaymentType$3 = "_roundStylePaymentType_d9bg9_27";
9632
+ const main$4 = "_main_d9bg9_33";
9633
+ const sub$3 = "_sub_d9bg9_49";
9634
+ const makePayWithAddress$3 = "_makePayWithAddress_d9bg9_59";
9635
+ const makePaymentTypeContainer$3 = "_makePaymentTypeContainer_d9bg9_64";
9636
+ const arrowContainer$5 = "_arrowContainer_d9bg9_69";
9637
+ const arrowRight$3 = "_arrowRight_d9bg9_72";
9638
+ const makePaymentArrowContainer$3 = "_makePaymentArrowContainer_d9bg9_82";
9639
+ const mainLabel$5 = "_mainLabel_d9bg9_91";
9640
+ const auth = "_auth_d9bg9_96";
9641
+ const authText = "_authText_d9bg9_106";
9642
+ const cardImageContainer = "_cardImageContainer_d9bg9_110";
9643
+ const cardImg = "_cardImg_d9bg9_113";
9644
+ const content$h = "_content_d9bg9_117";
9645
+ const authenticated = "_authenticated_d9bg9_127";
9646
+ const notAuthenticated = "_notAuthenticated_d9bg9_130";
9647
+ const authorizedImg$1 = "_authorizedImg_d9bg9_133";
9648
+ const unAuthorizedImg$1 = "_unAuthorizedImg_d9bg9_142";
9649
+ const creditCard$1 = "_creditCard_d9bg9_150";
9646
9650
  var style0$1m = {
9647
9651
  wrapperClass: wrapperClass$o,
9648
9652
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$3,
@@ -9814,24 +9818,24 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9814
9818
  const cssModules$1m = {};
9815
9819
  cssModules$1m["$style"] = style0$1m;
9816
9820
  var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__cssModules", cssModules$1m]]);
9817
- const wrapperClass$n = "_wrapperClass_1lw1h_1";
9818
- const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_1lw1h_1";
9819
- const img$a = "_img_1lw1h_5";
9820
- const imgContainer$3 = "_imgContainer_1lw1h_18";
9821
- const roundStylePaymentType$2 = "_roundStylePaymentType_1lw1h_26";
9822
- const main$3 = "_main_1lw1h_32";
9823
- const sub$2 = "_sub_1lw1h_48";
9824
- const makePayWithAddress$2 = "_makePayWithAddress_1lw1h_58";
9825
- const makePaymentTypeContainer$2 = "_makePaymentTypeContainer_1lw1h_63";
9826
- const arrowContainer$4 = "_arrowContainer_1lw1h_68";
9827
- const arrowRight$2 = "_arrowRight_1lw1h_71";
9828
- const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_1lw1h_81";
9829
- const bankImg = "_bankImg_1lw1h_85";
9830
- const branchCode = "_branchCode_1lw1h_89";
9831
- const content$g = "_content_1lw1h_92";
9832
- const roundContainer = "_roundContainer_1lw1h_96";
9833
- const round$2 = "_round_1lw1h_26";
9834
- const bankName = "_bankName_1lw1h_102";
9821
+ const wrapperClass$n = "_wrapperClass_14b0z_1";
9822
+ const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_14b0z_1";
9823
+ const img$a = "_img_14b0z_4";
9824
+ const imgContainer$3 = "_imgContainer_14b0z_19";
9825
+ const roundStylePaymentType$2 = "_roundStylePaymentType_14b0z_27";
9826
+ const main$3 = "_main_14b0z_33";
9827
+ const sub$2 = "_sub_14b0z_49";
9828
+ const makePayWithAddress$2 = "_makePayWithAddress_14b0z_59";
9829
+ const makePaymentTypeContainer$2 = "_makePaymentTypeContainer_14b0z_64";
9830
+ const arrowContainer$4 = "_arrowContainer_14b0z_69";
9831
+ const arrowRight$2 = "_arrowRight_14b0z_72";
9832
+ const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_14b0z_82";
9833
+ const bankImg = "_bankImg_14b0z_91";
9834
+ const branchCode = "_branchCode_14b0z_95";
9835
+ const content$g = "_content_14b0z_103";
9836
+ const roundContainer = "_roundContainer_14b0z_107";
9837
+ const round$2 = "_round_14b0z_27";
9838
+ const bankName = "_bankName_14b0z_113";
9835
9839
  var style0$1l = {
9836
9840
  wrapperClass: wrapperClass$n,
9837
9841
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$2,
@@ -9963,23 +9967,23 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9963
9967
  const cssModules$1l = {};
9964
9968
  cssModules$1l["$style"] = style0$1l;
9965
9969
  var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__cssModules", cssModules$1l]]);
9966
- const wrapperClass$m = "_wrapperClass_sdttg_1";
9967
- const ppmnaPaymentTypeContainer$1 = "_ppmnaPaymentTypeContainer_sdttg_1";
9968
- const img$9 = "_img_sdttg_5";
9969
- const imgContainer$2 = "_imgContainer_sdttg_18";
9970
- const roundStylePaymentType$1 = "_roundStylePaymentType_sdttg_26";
9971
- const main$2 = "_main_sdttg_32";
9972
- const sub$1 = "_sub_sdttg_48";
9973
- const makePayWithAddress$1 = "_makePayWithAddress_sdttg_58";
9974
- const makePaymentTypeContainer$1 = "_makePaymentTypeContainer_sdttg_63";
9975
- const arrowContainer$3 = "_arrowContainer_sdttg_68";
9976
- const arrowRight$1 = "_arrowRight_sdttg_71";
9977
- const makePaymentArrowContainer$1 = "_makePaymentArrowContainer_sdttg_81";
9978
- const container$y = "_container_sdttg_85";
9979
- const sbidImg = "_sbidImg_sdttg_97";
9980
- const content$f = "_content_sdttg_105";
9981
- const desc1 = "_desc1_sdttg_118";
9982
- const desc2 = "_desc2_sdttg_122";
9970
+ const wrapperClass$m = "_wrapperClass_1o9cz_1";
9971
+ const ppmnaPaymentTypeContainer$1 = "_ppmnaPaymentTypeContainer_1o9cz_1";
9972
+ const img$9 = "_img_1o9cz_4";
9973
+ const imgContainer$2 = "_imgContainer_1o9cz_19";
9974
+ const roundStylePaymentType$1 = "_roundStylePaymentType_1o9cz_27";
9975
+ const main$2 = "_main_1o9cz_33";
9976
+ const sub$1 = "_sub_1o9cz_49";
9977
+ const makePayWithAddress$1 = "_makePayWithAddress_1o9cz_59";
9978
+ const makePaymentTypeContainer$1 = "_makePaymentTypeContainer_1o9cz_64";
9979
+ const arrowContainer$3 = "_arrowContainer_1o9cz_69";
9980
+ const arrowRight$1 = "_arrowRight_1o9cz_72";
9981
+ const makePaymentArrowContainer$1 = "_makePaymentArrowContainer_1o9cz_82";
9982
+ const container$y = "_container_1o9cz_91";
9983
+ const sbidImg = "_sbidImg_1o9cz_103";
9984
+ const content$f = "_content_1o9cz_111";
9985
+ const desc1 = "_desc1_1o9cz_124";
9986
+ const desc2 = "_desc2_1o9cz_128";
9983
9987
  var style0$1k = {
9984
9988
  wrapperClass: wrapperClass$m,
9985
9989
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$1,
@@ -10066,21 +10070,21 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
10066
10070
  const cssModules$1k = {};
10067
10071
  cssModules$1k["$style"] = style0$1k;
10068
10072
  var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__cssModules", cssModules$1k]]);
10069
- const wrapperClass$l = "_wrapperClass_1cjo2_1";
10070
- const ppmnaPaymentTypeContainer = "_ppmnaPaymentTypeContainer_1cjo2_1";
10071
- const img$8 = "_img_1cjo2_5";
10072
- const imgContainer$1 = "_imgContainer_1cjo2_18";
10073
- const roundStylePaymentType = "_roundStylePaymentType_1cjo2_26";
10074
- const main$1 = "_main_1cjo2_32";
10075
- const sub = "_sub_1cjo2_48";
10076
- const makePayWithAddress = "_makePayWithAddress_1cjo2_58";
10077
- const makePaymentTypeContainer = "_makePaymentTypeContainer_1cjo2_63";
10078
- const arrowContainer$2 = "_arrowContainer_1cjo2_68";
10079
- const arrowRight = "_arrowRight_1cjo2_71";
10080
- const makePaymentArrowContainer = "_makePaymentArrowContainer_1cjo2_81";
10081
- const container$x = "_container_1cjo2_86";
10082
- const subTitle = "_subTitle_1cjo2_91";
10083
- const imageContainer$5 = "_imageContainer_1cjo2_96";
10073
+ const wrapperClass$l = "_wrapperClass_antyh_1";
10074
+ const ppmnaPaymentTypeContainer = "_ppmnaPaymentTypeContainer_antyh_1";
10075
+ const img$8 = "_img_antyh_4";
10076
+ const imgContainer$1 = "_imgContainer_antyh_19";
10077
+ const roundStylePaymentType = "_roundStylePaymentType_antyh_27";
10078
+ const main$1 = "_main_antyh_33";
10079
+ const sub = "_sub_antyh_49";
10080
+ const makePayWithAddress = "_makePayWithAddress_antyh_59";
10081
+ const makePaymentTypeContainer = "_makePaymentTypeContainer_antyh_64";
10082
+ const arrowContainer$2 = "_arrowContainer_antyh_69";
10083
+ const arrowRight = "_arrowRight_antyh_72";
10084
+ const makePaymentArrowContainer = "_makePaymentArrowContainer_antyh_82";
10085
+ const container$x = "_container_antyh_92";
10086
+ const subTitle = "_subTitle_antyh_97";
10087
+ const imageContainer$5 = "_imageContainer_antyh_102";
10084
10088
  var style0$1j = {
10085
10089
  wrapperClass: wrapperClass$l,
10086
10090
  ppmnaPaymentTypeContainer,
@@ -26924,8 +26928,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
26924
26928
  type: "secondary",
26925
26929
  "forbidden-swipe": "",
26926
26930
  style: normalizeStyle(_ctx.heightStyles.rootHeight),
26927
- class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.container]),
26928
- "data-testid": "add-address-sheet"
26931
+ class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.container])
26929
26932
  }, {
26930
26933
  default: withCtx(() => [
26931
26934
  _ctx.isDesktop ? (openBlock(), createBlock(_component_DesktopHeader, {
@@ -26941,6 +26944,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
26941
26944
  "right-icon": _ctx.kycAddress,
26942
26945
  "title-class-name": _ctx.style.header,
26943
26946
  "full-fill": "",
26947
+ "data-testid": "add-address-sheet-header",
26944
26948
  onClick: _ctx.close,
26945
26949
  onRightClick: _ctx.openDeleteSheet
26946
26950
  }, null, 8, ["class", "title", "right-icon", "title-class-name", "onClick", "onRightClick"]),
@@ -27007,18 +27011,22 @@ function initErrorHandling() {
27007
27011
  function getErrorHandling() {
27008
27012
  return inject(KEY);
27009
27013
  }
27010
- const wrapperClass$9 = "_wrapperClass_1s0yt_7";
27011
- const container$o = "_container_1s0yt_7";
27012
- const payAddressCotainer = "_payAddressCotainer_1s0yt_19";
27013
- const maxHeightNoAddress = "_maxHeightNoAddress_1s0yt_25";
27014
- const addressSheet = "_addressSheet_1s0yt_29";
27015
- const actionSheet$2 = "_actionSheet_1s0yt_35";
27014
+ const wrapperClass$9 = "_wrapperClass_1dkog_7";
27015
+ const container$o = "_container_1dkog_7";
27016
+ const payAddressCotainer = "_payAddressCotainer_1dkog_19";
27017
+ const maxHeightNoAddress = "_maxHeightNoAddress_1dkog_25";
27018
+ const maxHeightNoAddressMakePaymentBeforeOpen = "_maxHeightNoAddressMakePaymentBeforeOpen_1dkog_30";
27019
+ const maxHeightNoAddressMakePaymentBeforeClose = "_maxHeightNoAddressMakePaymentBeforeClose_1dkog_35";
27020
+ const addressSheet = "_addressSheet_1dkog_39";
27021
+ const actionSheet$2 = "_actionSheet_1dkog_45";
27016
27022
  var style0$Z = {
27017
- "ppmna-default-font": "_ppmna-default-font_1s0yt_1",
27023
+ "ppmna-default-font": "_ppmna-default-font_1dkog_1",
27018
27024
  wrapperClass: wrapperClass$9,
27019
27025
  container: container$o,
27020
27026
  payAddressCotainer,
27021
27027
  maxHeightNoAddress,
27028
+ maxHeightNoAddressMakePaymentBeforeOpen,
27029
+ maxHeightNoAddressMakePaymentBeforeClose,
27022
27030
  addressSheet,
27023
27031
  actionSheet: actionSheet$2
27024
27032
  };
@@ -27050,12 +27058,25 @@ const _sfc_main$18 = defineComponent({
27050
27058
  setup(props) {
27051
27059
  const { handleError: handleError2 } = getErrorHandling();
27052
27060
  const { pageTransition, headerHeight } = useUIControl();
27053
- const { isDesktop } = useBreakpoints();
27061
+ const { isDesktop, isMobile } = useBreakpoints();
27054
27062
  const state = reactive({
27055
27063
  addSheetLoading: false,
27056
27064
  addressList: props.addresses.slice(),
27057
- addSheetState: pageTransition.showAddSheet.value
27065
+ addSheetState: pageTransition.showAddSheet.value,
27066
+ fullScreenDisplaySheet: false
27058
27067
  });
27068
+ const showAddSheetFirst = computed(
27069
+ () => isMobile.value && props.isMakepayment && state.addressList.length === 0
27070
+ );
27071
+ watch(
27072
+ () => props.show,
27073
+ (newVal, _oldVal) => {
27074
+ if (newVal && showAddSheetFirst.value) {
27075
+ pageTransition.openAddSheet();
27076
+ state.addSheetState = true;
27077
+ }
27078
+ }
27079
+ );
27059
27080
  const root2 = getRoot();
27060
27081
  const addAddress2 = async (formValue) => {
27061
27082
  var _a2, _b, _c;
@@ -27070,7 +27091,15 @@ const _sfc_main$18 = defineComponent({
27070
27091
  close2();
27071
27092
  state.addSheetLoading = false;
27072
27093
  if ((addressListResponse == null ? void 0 : addressListResponse.ppFetchResult) === "success" && res.ppFetchResult === "success") {
27073
- state.addressList = (_c = (_b = (_a2 = addressListResponse == null ? void 0 : addressListResponse.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.data) == null ? void 0 : _c.addresses;
27094
+ const addressList = (_c = (_b = (_a2 = addressListResponse == null ? void 0 : addressListResponse.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.data) == null ? void 0 : _c.addresses;
27095
+ let timeout = 0;
27096
+ if (showAddSheetFirst.value) {
27097
+ timeout = 300;
27098
+ root2.chooseAddress(addressList[0]);
27099
+ }
27100
+ setTimeout(() => {
27101
+ state.addressList = addressList;
27102
+ }, timeout);
27074
27103
  } else {
27075
27104
  return handleError2();
27076
27105
  }
@@ -27092,8 +27121,13 @@ const _sfc_main$18 = defineComponent({
27092
27121
  triggerLayoutUpdate(true);
27093
27122
  };
27094
27123
  const close2 = () => {
27124
+ if (showAddSheetFirst.value) {
27125
+ state.fullScreenDisplaySheet = true;
27126
+ root2.back();
27127
+ }
27095
27128
  pageTransition.closeAddSheet();
27096
27129
  setTimeout(() => {
27130
+ state.fullScreenDisplaySheet = false;
27097
27131
  state.addSheetState = false;
27098
27132
  }, 300);
27099
27133
  triggerLayoutUpdate();
@@ -27115,7 +27149,9 @@ const _sfc_main$18 = defineComponent({
27115
27149
  addOrEdit,
27116
27150
  triggerLayoutUpdate,
27117
27151
  close: close2,
27118
- addSheetState: computed(() => state.addSheetState)
27152
+ addSheetState: computed(() => state.addSheetState),
27153
+ fullScreenDisplaySheet: computed(() => state.fullScreenDisplaySheet),
27154
+ showAddSheetFirst
27119
27155
  };
27120
27156
  }
27121
27157
  });
@@ -27126,13 +27162,14 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
27126
27162
  return openBlock(), createBlock(_component_ActionSheet, {
27127
27163
  show: _ctx.show,
27128
27164
  style: normalizeStyle([
27129
- _ctx.pageTransition.showAddSheet.value ? { borderRadius: "0px!important" } : {}
27165
+ _ctx.pageTransition.showAddSheet.value && !_ctx.showAddSheetFirst ? { borderRadius: "0px!important" } : {}
27130
27166
  ]),
27131
27167
  class: normalizeClass([
27132
27168
  _ctx.$style.wrapperClass,
27133
27169
  _ctx.$style.addressSheet,
27134
27170
  { [_ctx.$style.actionSheet]: _ctx.isDesktopPay }
27135
27171
  ]),
27172
+ type: _ctx.showAddSheetFirst ? "secondary" : "primary",
27136
27173
  "no-overlay": _ctx.isDesktopPay,
27137
27174
  appear: !_ctx.isDesktopPay,
27138
27175
  onClose: _ctx.root.cancel
@@ -27142,7 +27179,9 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
27142
27179
  class: normalizeClass({
27143
27180
  [_ctx.$style.container]: true,
27144
27181
  [_ctx.$style.payAddressCotainer]: _ctx.isDesktopPay,
27145
- [_ctx.$style.maxHeightNoAddress]: !_ctx.pageTransition.showAddSheet.value && _ctx.addressList.length === 0
27182
+ [_ctx.$style.maxHeightNoAddress]: !_ctx.pageTransition.showAddSheet.value && _ctx.addressList.length === 0,
27183
+ [_ctx.$style.maxHeightNoAddressMakePaymentBeforeOpen]: _ctx.showAddSheetFirst,
27184
+ [_ctx.$style.maxHeightNoAddressMakePaymentBeforeClose]: _ctx.fullScreenDisplaySheet
27146
27185
  }),
27147
27186
  style: normalizeStyle(_ctx.headerHeight)
27148
27187
  }, [
@@ -27173,7 +27212,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
27173
27212
  ], 6)
27174
27213
  ]),
27175
27214
  _: 1
27176
- }, 8, ["show", "style", "class", "no-overlay", "appear", "onClose"]);
27215
+ }, 8, ["show", "style", "class", "type", "no-overlay", "appear", "onClose"]);
27177
27216
  }
27178
27217
  const cssModules$Z = {};
27179
27218
  cssModules$Z["$style"] = style0$Z;
@@ -35776,7 +35815,7 @@ function debug(params) {
35776
35815
  function execute$6(params) {
35777
35816
  var _a2;
35778
35817
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
35779
- v: "1.57.0"
35818
+ v: "1.58.0"
35780
35819
  });
35781
35820
  }
35782
35821
  function useCallBack(props, ctx) {