@ranty/ranty-sdk 3.19.0 → 3.20.0-beta.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.
@@ -925,7 +925,7 @@ function _e(t) {
925
925
  */
926
926
  var Y0;
927
927
  ((Y0 = window.HTMLSlotElement) === null || Y0 === void 0 ? void 0 : Y0.prototype.assignedElements) != null;
928
- const Bk = "@ranty/ranty-sdk", Ek = "3.19.0", kk = "Ranty sdk", Sk = "dist/index.js", Ik = {
928
+ const Bk = "@ranty/ranty-sdk", Ek = "3.20.0-beta.0", kk = "Ranty sdk", Sk = "dist/index.js", Ik = {
929
929
  ".": "./dist/index.js"
930
930
  }, Tk = "types/index.d.ts", Uk = [
931
931
  "dist",
@@ -16502,10 +16502,10 @@ function HN(t, e, n, r) {
16502
16502
  }
16503
16503
  const Du = pN(HN);
16504
16504
  pR(ao(), "DD_LOGS", Du);
16505
- const qN = "@nx-ranty/ranty-sdk", VN = "3.19.0", KN = 3, GN = !0, WN = {
16505
+ const qN = "@nx-ranty/ranty-sdk", VN = "3.20.0-beta.0", KN = 3, GN = !0, WN = {
16506
16506
  "": {
16507
16507
  name: "@nx-ranty/ranty-sdk",
16508
- version: "3.19.0",
16508
+ version: "3.20.0-beta.0",
16509
16509
  license: "ISC",
16510
16510
  dependencies: {
16511
16511
  "@datadog/browser-logs": "^6.17.0",
@@ -38741,7 +38741,7 @@ const G5 = {
38741
38741
  [De.SUMMARY]: "Pago con tarjeta",
38742
38742
  [De.CARD_LIST]: "Pago con tarjeta"
38743
38743
  }, nO = {
38744
- [De.MAIN]: "Medios de pago",
38744
+ [De.MAIN]: "Elegí el medio de pago",
38745
38745
  [De.HOLDER_FORM]: "Ingresá los datos de la persona titular",
38746
38746
  [De.CARD_FORM]: "Ingresá los datos de la Tarjeta",
38747
38747
  [De.CARD_LIST]: "Elegí la tarjeta",
@@ -45214,7 +45214,7 @@ h2([
45214
45214
  Df = h2([
45215
45215
  nt("context-fraud-prevention")
45216
45216
  ], Df);
45217
- const g2 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host *{user-select:none}:host .background{background:#f4f4f4}:host .container{display:grid;max-width:900px;height:auto;margin:0 auto;grid-template-columns:1fr}@media only screen and (max-width: 450px){:host .container{display:grid;grid-template-columns:1fr}}@media only screen and (max-width: 480px){:host .container{margin:0 16px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container{display:grid;width:100%}}:host .container.alert{margin-top:16px}:host .container .back-container{display:flex;align-items:center;cursor:pointer;margin-top:16px}:host .container .back-container .icon-chevron{transform:rotate(180deg);width:16px;height:16px}:host .container .back-container .back{color:#652bdf;text-decoration:underline;font-family:Inter,Arial,"sans-serif";font-size:12px}:host .container-text{grid-column:1/span 6;grid-row:1/1}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-text{margin-left:20px}}@media only screen and (max-width: 450px){:host .container-text{margin-left:8px}}:host .container__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:24px;font-weight:600;margin-top:16px}:host .container__title>p{margin:0}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container__title{margin-bottom:10px}}:host .container__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}@media only screen and (max-width: 800px){:host .container__subtitle{font-size:17px}}:host .container-layout{display:flex;gap:24px}@media only screen and (max-width: 800px){:host .container-layout{flex-direction:column}}:host .container-layout .container__content{min-width:533px;grid-column:1/span 6;margin-bottom:126px;animation:fadeIn .15s ease-in}@media only screen and (max-width: 450px){:host .container-layout .container__content{grid-column:span 6;margin:0 8px;min-width:fit-content;order:2}}@media only screen and (min-width: 451px) and (max-width: 650px){:host .container-layout .container__content{margin:0 20px;min-width:fit-content;order:2}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container-layout .container__content{margin-bottom:0;grid-column:2/span 7;min-width:fit-content;order:2}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-layout .container__content{grid-column:1/span 10;min-width:fit-content;order:2}}:host .container-layout .payment__detail{min-width:291px;grid-column:7/span 4}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container-layout .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}@media only screen and (max-width: 450px){:host .container-layout .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-layout .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}:host .container__alert{grid-column:1/span 10;padding-bottom:16px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.container__subtitle-mobile{display:none}.title{margin-bottom:16px;margin-left:12px;margin-top:0}.card-payments-methods{display:flex;gap:40px}.alert-container{position:absolute;bottom:0;padding:30px 24px;z-index:1;max-width:400px;width:-webkit-fill-available}
45217
+ const g2 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host *{user-select:none}:host .background{background:#f4f4f4}:host .container{display:grid;max-width:900px;height:auto;margin:0 auto;grid-template-columns:1fr}@media only screen and (max-width: 450px){:host .container{display:grid;grid-template-columns:1fr}}@media only screen and (max-width: 480px){:host .container{margin:0 16px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container{display:grid;width:100%}}:host .container.alert{margin-top:16px}:host .container .back-container{display:flex;align-items:center;cursor:pointer;margin-top:16px}:host .container .back-container .icon-chevron{transform:rotate(180deg);width:16px;height:16px}:host .container .back-container .back{color:#652bdf;text-decoration:underline;font-family:Inter,Arial,"sans-serif";font-size:12px}:host .container-text{grid-column:1/span 6;grid-row:1/1}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-text{margin-left:20px}}@media only screen and (max-width: 450px){:host .container-text{margin-left:8px}}:host .container__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:24px;font-weight:600;margin-top:16px}:host .container__title>p{margin:0}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container__title{margin-bottom:10px}}:host .container__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}@media only screen and (max-width: 800px){:host .container__subtitle{font-size:18px;margin-top:0}}:host .container-layout{display:flex;gap:16px}@media only screen and (max-width: 800px){:host .container-layout{flex-direction:column}}:host .container-layout .container__content{min-width:533px;grid-column:1/span 6;margin-bottom:126px;animation:fadeIn .15s ease-in}@media only screen and (max-width: 450px){:host .container-layout .container__content{grid-column:span 6;margin:0 8px;min-width:fit-content;order:2}}@media only screen and (min-width: 451px) and (max-width: 650px){:host .container-layout .container__content{margin:0 20px;min-width:fit-content;order:2}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container-layout .container__content{margin-bottom:0;grid-column:2/span 7;min-width:fit-content;order:2}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-layout .container__content{grid-column:1/span 10;min-width:fit-content;order:2}}:host .container-layout .payment__detail{min-width:291px;grid-column:7/span 4}@media only screen and (min-width: 650px) and (max-width: 800px){:host .container-layout .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}@media only screen and (max-width: 450px){:host .container-layout .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .container-layout .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px;min-width:fit-content;order:1}}:host .container__alert{grid-column:1/span 10;padding-bottom:16px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.container__subtitle-mobile{display:none}.title{margin-bottom:16px;margin-left:12px;margin-top:0}.card-payments-methods{display:flex;gap:40px}.alert-container{position:absolute;bottom:0;padding:30px 24px;z-index:1;max-width:400px;width:-webkit-fill-available}
45218
45218
  `, IM = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host([variant=warning]){--_alert-bg: #fdf5e6;--_alert-border: #e99d09}:host([variant=info]){--_alert-bg: #e8f2ff;--_alert-border: #7ab3ff}:host([variant=success]){--_alert-bg: #eaf8f0;--_alert-border: #7ad0a1}:host([variant=error]){--_alert-bg: #fdecec;--_alert-border: #f09b9b}:host{display:block;font-family:Inter,Arial,"sans-serif";--alert-bg: var(--_alert-bg, #fff8e6);--alert-border: var(--_alert-border, #f6b94d)}:host .wrap{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;background:var(--alert-bg);border:2px solid var(--alert-border);color:#000;border-radius:8px}:host .wrap .icon{flex:0 0 auto;line-height:0;margin-top:2px}:host .wrap .content{min-width:0;flex:1 1 auto}:host .wrap .content .title{font-weight:600;font-size:16px}:host .wrap .content .subtitle{margin-top:2px;font-size:14px;font-weight:400}:host .wrap svg{width:20px;height:20px}
45219
45219
  `;
45220
45220
  var TM = Object.defineProperty, UM = Object.getOwnPropertyDescriptor, Ip = (t, e, n, r) => {
@@ -46009,7 +46009,7 @@ let fr = class t extends tt {
46009
46009
  payment_sync: this.payfacContext.paymentSync
46010
46010
  }
46011
46011
  }), this.isActivePdfByPlatform();
46012
- const i = this.status.hasDownloadPDF ? 1e4 : 5e3;
46012
+ const i = this.status.hasDownloadPDF ? 2e4 : 5e3;
46013
46013
  this.callbackUrl !== "" && ((s = this.settings.customerProperties) != null && s.enable_auto_redirect) && setTimeout(() => {
46014
46014
  window.location.href = this.callbackUrl;
46015
46015
  }, i);
@@ -46279,7 +46279,7 @@ Kr([
46279
46279
  fr = Kr([
46280
46280
  nt("component-status")
46281
46281
  ], fr);
46282
- const g6 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{display:flex;font-family:Inter,Arial,"sans-serif";animation:fadeIn .15s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}:host .container .panel-container{padding:16px 24px;background:#ffffff;width:100%;border-radius:16px}:host .container .panel-container .top-half{padding-bottom:16px;border-bottom:1px solid rgba(33,33,33,.0784313725)}:host .container .panel-container .top-half .font{color:#6a6a6a;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .panel-container .top-half .font.font-name{margin-bottom:3px}:host .container .panel-container .top-half .font.font-dni{margin:0}:host .container .panel-container .top-half .title{color:#2b2b2b;font-style:normal;font-weight:600;line-height:22px;letter-spacing:.16px;margin:0}:host .container .bottom-half{padding-top:16px}:host .container .bottom-half .items{display:flex;align-items:center;gap:16px}:host .container .bottom-half .items .card-brand{width:69px;border-radius:2px}:host .container .bottom-half .items .card-brand .card-brand-image{height:100%;width:100%;margin-top:11px;border-radius:4px}:host .container .bottom-half .items .data{display:flex;flex-direction:column;padding-top:8px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .bottom-half .items .data .text{font-weight:400;color:#141413;padding-bottom:6px}:host .container .bottom-half .items .data .data-card{display:flex;align-items:center}:host .container .bottom-half .data-text{margin-top:8px;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px;color:#6a6a6a}:host .container .bottom-half .data-text.installment-plan-name{margin-top:20px}:host .container .bottom-half .data-text.installment-plan-cost{margin-top:0}:host .container .bottom-half .mobile-break{display:none}@media screen and (max-width: 800px){:host .container .bottom-half .mobile-break{display:inline}}@media only screen and (max-width: 800px){:host .container .bottom-half .mobile-pipe{display:none}}:host .container .bottom-half .panel-footer{display:flex;justify-content:space-between;padding-top:24px;text-align:right}:host .container .bottom-half .panel-footer.default{justify-content:flex-end}@media only screen and (max-width: 800px){:host .container .bottom-half .panel-footer{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .text_error{color:red}
46282
+ const g6 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}.hidden-element{visibility:hidden}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{display:flex;font-family:Inter,Arial,"sans-serif";animation:fadeIn .15s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}:host .container .panel-container{padding:16px 24px;background:#ffffff;width:100%;border-radius:16px}:host .container .panel-container .top-half{padding-bottom:16px;border-bottom:1px solid rgba(33,33,33,.0784313725)}:host .container .panel-container .top-half .font{color:#6a6a6a;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .panel-container .top-half .font.font-name{margin-bottom:3px;margin-top:8px}:host .container .panel-container .top-half .font.font-dni{margin:0}:host .container .panel-container .top-half .title{color:#2b2b2b;font-style:normal;font-weight:600;line-height:22px;letter-spacing:.16px;margin:0}:host .container .panel-container .bottom-half{padding-top:16px;padding-bottom:16px;border-bottom:1px solid rgba(33,33,33,.0784313725)}:host .container .panel-container .bottom-half .items{display:flex;align-items:center;gap:16px}:host .container .panel-container .bottom-half .items .card-brand{width:69px;border-radius:2px}:host .container .panel-container .bottom-half .items .card-brand .card-brand-image{height:100%;width:100%;margin-top:11px;border-radius:4px}:host .container .panel-container .bottom-half .items .data{display:flex;flex-direction:column;padding-top:8px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px}:host .container .panel-container .bottom-half .items .data .text{font-weight:400;color:#141413;padding-bottom:6px}:host .container .panel-container .bottom-half .items .data .data-card{display:flex;align-items:center}:host .container .panel-container .bottom-half .data-text{margin-top:8px;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.16px;color:#6a6a6a}:host .container .panel-container .bottom-half .data-text.installment-plan-name{margin-top:20px}:host .container .panel-container .bottom-half .data-text.installment-plan-cost{margin-top:0}:host .container .panel-container .bottom-half .mobile-break{display:none}@media screen and (max-width: 800px){:host .container .panel-container .bottom-half .mobile-break{display:inline}}@media only screen and (max-width: 800px){:host .container .panel-container .bottom-half .mobile-pipe{display:none}}:host .container .panel-footer{display:flex;justify-content:space-between;padding-top:24px;text-align:right}:host .container .panel-footer.default{justify-content:flex-end}@media only screen and (max-width: 800px){:host .container .panel-footer{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .text_error{color:red}
46283
46283
  `;
46284
46284
  var MM = Object.defineProperty, zM = Object.getOwnPropertyDescriptor, xd = (t, e, n, r) => {
46285
46285
  for (var s = r > 1 ? void 0 : r ? zM(e, n) : e, i = t.length - 1, o; i >= 0; i--)
@@ -46393,10 +46393,11 @@ let Ko = class extends tt {
46393
46393
  ${Qs((e = this.getInstallmentPlan) == null ? void 0 : e.installment_amount.value)}
46394
46394
  </p>
46395
46395
  <p class="data-text installment-plan-cost">
46396
- ${o2(this.getInstallmentPlan) || a2(this.getInstallmentPlan) ? `${fb(this.getInstallmentPlan)} | ` : Pt}
46396
+ ${o2(this.getInstallmentPlan) || a2(this.getInstallmentPlan) ? `${fb(this.getInstallmentPlan)} | ` : Pt}
46397
46397
  CFT: ${(n = this.getInstallmentPlan) == null ? void 0 : n.total_financial_cost}
46398
46398
  </p>
46399
- </div>`;
46399
+ </div>
46400
+ `;
46400
46401
  }
46401
46402
  renderPcpSelected() {
46402
46403
  var t, e, n, r;
@@ -46430,17 +46431,16 @@ let Ko = class extends tt {
46430
46431
  </div>
46431
46432
  <div class="bottom-half">
46432
46433
  ${(r = this.state.userAccountsData) != null && r.selected ? this.renderPcpSelected() : this.renderManualInput()}
46433
-
46434
- <div class="panel-footer default">
46435
- <my-button
46436
- button-title="Pagar"
46437
- button-type="submit"
46438
- button-text="regular"
46439
- button-color="primary"
46440
- @click="${this.submit}"
46441
- .buttonLoading="${this.isLoading}"
46442
- ></my-button>
46443
- </div>
46434
+ </div>
46435
+ <div class="panel-footer default">
46436
+ <my-button
46437
+ button-title="Pagar"
46438
+ button-type="submit"
46439
+ button-text="regular"
46440
+ button-color="primary"
46441
+ @click="${this.submit}"
46442
+ .buttonLoading="${this.isLoading}"
46443
+ ></my-button>
46444
46444
  </div>
46445
46445
  </div>
46446
46446
  </div>`;
@@ -63121,7 +63121,7 @@ function(t) {
63121
63121
  */
63122
63122
  function(t) {
63123
63123
  function e() {
63124
- return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-22fe6a5a.js")).catch(function(n) {
63124
+ return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-8bb8aa69.js")).catch(function(n) {
63125
63125
  return Promise.reject(new Error("Could not load canvg: " + n));
63126
63126
  }).then(function(n) {
63127
63127
  return n.default ? n.default : n;
@@ -64040,20 +64040,23 @@ let Xf = class extends tt {
64040
64040
  return (n = (e = (t = this.state.payment) == null ? void 0 : t.transactions) == null ? void 0 : e[0]) != null ? n : void 0;
64041
64041
  }
64042
64042
  get isQRPaymentWithCard() {
64043
- var e, n, r;
64044
- const t = (r = (n = (e = this.state.paymentRequest) == null ? void 0 : e.transactions) == null ? void 0 : n[0]) == null ? void 0 : r.payment_method;
64045
- return (t == null ? void 0 : t.type) === Zi.CARD_PAYMENT || !1;
64043
+ var t, e;
64044
+ return ((e = (t = this.state.payment) == null ? void 0 : t.payment_method) == null ? void 0 : e.type) === Zi.CARD_PAYMENT || !1;
64046
64045
  }
64047
64046
  get seller() {
64048
- var t, e, n, r;
64049
- return ((e = (t = this.state.paymentRequest) == null ? void 0 : t.seller) == null ? void 0 : e.fantasy_name) || ((r = (n = this.state.paymentRequest) == null ? void 0 : n.seller) == null ? void 0 : r.name);
64047
+ var t, e, n, r, s, i;
64048
+ return ((n = (e = (t = this.state.payment) == null ? void 0 : t.seller) == null ? void 0 : e.store) == null ? void 0 : n.fantasy_name) || ((i = (s = (r = this.state.payment) == null ? void 0 : r.seller) == null ? void 0 : s.owner) == null ? void 0 : i.name);
64050
64049
  }
64051
64050
  get documentNumber() {
64052
- return VB(this.state.paymentRequest.seller.tax_id_type, this.state.paymentRequest.seller.tax_id) || "";
64051
+ var t, e, n, r, s, i, o, a;
64052
+ return VB(
64053
+ (r = (n = (e = (t = this.state.payment) == null ? void 0 : t.seller) == null ? void 0 : e.owner) == null ? void 0 : n.tax_id_type) != null ? r : "",
64054
+ (a = (o = (i = (s = this.state.payment) == null ? void 0 : s.seller) == null ? void 0 : i.owner) == null ? void 0 : o.tax_id) != null ? a : ""
64055
+ ) || "";
64053
64056
  }
64054
64057
  get paymentType() {
64055
64058
  var t, e;
64056
- return (t = this.state.paymentRequest) != null && t.payment_type ? Hv[(e = this.state.paymentRequest) == null ? void 0 : e.payment_type] : "";
64059
+ return (t = this.state.payment) != null && t.payment_type ? Hv[(e = this.state.payment) == null ? void 0 : e.payment_type] : "";
64057
64060
  }
64058
64061
  get payDate() {
64059
64062
  var e, n;
@@ -64094,7 +64097,7 @@ let Xf = class extends tt {
64094
64097
  }
64095
64098
  get referenceNumber() {
64096
64099
  var t;
64097
- return (t = this.state.paymentRequest) == null ? void 0 : t.external_payment_id;
64100
+ return (t = this.state.payment) == null ? void 0 : t.external_payment_id;
64098
64101
  }
64099
64102
  get description() {
64100
64103
  var t;
@@ -64110,8 +64113,8 @@ let Xf = class extends tt {
64110
64113
  return ((t = this.state.payment) == null ? void 0 : t.payment_method.type) === Zi.TRANSFER_PAYMENT || !1;
64111
64114
  }
64112
64115
  get cbu() {
64113
- var t;
64114
- return ((t = this.state.paymentRequest) == null ? void 0 : t.seller.account_number) || null;
64116
+ var t, e, n;
64117
+ return ((n = (e = (t = this.state.payment) == null ? void 0 : t.seller) == null ? void 0 : e.owner) == null ? void 0 : n.account_number) || null;
64115
64118
  }
64116
64119
  get feeAmount() {
64117
64120
  var t, e, n, r;
@@ -64122,12 +64125,12 @@ let Xf = class extends tt {
64122
64125
  return ((e = (t = this.state.payment) == null ? void 0 : t.payment_method) == null ? void 0 : e.card_type) === bf.CREDIT;
64123
64126
  }
64124
64127
  get buyerDocumentNumber() {
64125
- var t, e, n, r, s, i, o, a;
64126
- return (e = (t = this.state.paymentRequest) == null ? void 0 : t.buyer) != null && e.doc_number && ((r = (n = this.state.paymentRequest) == null ? void 0 : n.buyer) == null ? void 0 : r.doc_number) !== "N/A" ? (i = (s = this.state.paymentRequest) == null ? void 0 : s.buyer) == null ? void 0 : i.doc_number : (a = (o = this.state.payment) == null ? void 0 : o.payment_method) == null ? void 0 : a.card_holder_doc_number;
64128
+ var t, e;
64129
+ return (e = (t = this.state.payment) == null ? void 0 : t.payment_method) == null ? void 0 : e.card_holder_doc_number;
64127
64130
  }
64128
64131
  get buyerFullName() {
64129
- var t, e, n, r, s, i, o, a;
64130
- return (e = (t = this.state.paymentRequest) == null ? void 0 : t.buyer) != null && e.name && ((r = (n = this.state.paymentRequest) == null ? void 0 : n.buyer) == null ? void 0 : r.name) !== "N/A" ? (i = (s = this.state.paymentRequest) == null ? void 0 : s.buyer) == null ? void 0 : i.name : (a = (o = this.state.payment) == null ? void 0 : o.payment_method) == null ? void 0 : a.card_holder_name;
64132
+ var t, e;
64133
+ return (e = (t = this.state.payment) == null ? void 0 : t.payment_method) == null ? void 0 : e.card_holder_name;
64131
64134
  }
64132
64135
  get isBuyerInfo() {
64133
64136
  return !!this.buyerDocumentNumber && !!this.buyerFullName;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-3ed2068a.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-f2fc709b.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-3ed2068a.js";
1
+ import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-f2fc709b.js";
2
2
  export {
3
3
  t as A2AAccountDetails,
4
4
  e as A2AFeedbackHome,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "3.19.0",
3
+ "version": "3.20.0-beta.0",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {