@ranty/ranty-sdk 1.2.8 → 1.2.9
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/index.js +85 -85
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -17281,7 +17281,7 @@ ai([
|
|
|
17281
17281
|
zn = ai([
|
|
17282
17282
|
K("card-home")
|
|
17283
17283
|
], zn);
|
|
17284
|
-
const oE = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}.card-plan__content{display:flex;flex-direction:column;gap:14px}.card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:17px 63px 11px 17px;position:relative;height:47px}.card-plan__items-circle{align-items:center;display:flex}.card-plan__image-circle{margin-top:3%}.card-plan__circle-dot{margin-left:10px}.card-plan__buttons{display:flex;justify-content:space-between;margin:26px 0 15px}.font_semiBold{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:600;margin-bottom:0;margin-top:0}.font_regular{font-family:Inter,Arial,"sans-serif";font-size:12px;font-weight:400;color:#6a6a6a;margin-left:24px}.font_regular p{margin-top:0;margin-bottom:0}.text{font-family:Inter,Arial,"sans-serif";font-size:14px}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;position:absolute;bottom:64%;right:1%}.card-form__title{color:var(--card-form-title-color)}.card-form__subtitle{color:var(--card-form-subtitle-color)}@media only screen and (max-width: 370px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;width:89%;height:100%;margin-bottom:0;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding-top:10px;padding-bottom:44px}.card-plan__buttons{display:flex;align-items:center;margin:14px 0 0}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;top:75px;position:absolute;height:14;width:max-content;margin-left:64px}.card-plan__content{display:flex;flex-direction:column;gap:5px}my-button{padding-bottom:10px}}@media only screen and (min-width: 370px) and (max-width: 800px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;margin:0 8px;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding:20px 10px 15px}.card-plan__buttons{display:flex;align-items:center}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid rgb(228,215,255);font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:table;font-size:14px;top:7px;font-weight:500;position:absolute;height:14;width:max-content;margin-left:34px}my-button{padding-bottom:10px}}
|
|
17284
|
+
const oE = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}:host .card-plan__content{display:flex;flex-direction:column;gap:14px}:host .card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:17px 63px 11px 17px;position:relative;height:47px}:host .card-plan__items-circle{align-items:center;display:flex}:host .card-plan__image-circle{margin-top:3%}:host .card-plan__circle-dot{margin-left:10px;color:#000}:host .card-plan__buttons{display:flex;justify-content:space-between;margin:26px 0 15px}:host .font_semiBold{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:600;margin-bottom:0;margin-top:0}:host .font_regular{font-family:Inter,Arial,"sans-serif";font-size:12px;font-weight:400;color:#6a6a6a;margin-left:24px}:host .font_regular p{margin-top:0;margin-bottom:0}:host .text{font-family:Inter,Arial,"sans-serif";font-size:14px}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;position:absolute;bottom:64%;right:1%}:host .card-form__title{color:var(--card-form-title-color)}:host .card-form__subtitle{color:var(--card-form-subtitle-color)}@media only screen and (max-width: 370px){:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;width:89%;height:100%;margin-bottom:0;padding:20px}:host .card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding-top:10px;padding-bottom:44px}:host .card-plan__buttons{display:flex;align-items:center;margin:14px 0 0}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;top:75px;position:absolute;height:14;width:max-content;margin-left:64px}:host .card-plan__content{display:flex;flex-direction:column;gap:5px}:host my-button{padding-bottom:10px}}@media only screen and (min-width: 370px) and (max-width: 800px){:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;margin:0 8px;padding:20px}:host .card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding:20px 10px 15px}:host .card-plan__buttons{display:flex;align-items:center}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid rgb(228,215,255);font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:table;font-size:14px;top:7px;font-weight:500;position:absolute;height:14;width:max-content;margin-left:34px}:host my-button{padding-bottom:10px}}
|
|
17285
17285
|
`;
|
|
17286
17286
|
/**
|
|
17287
17287
|
* @license
|
|
@@ -19050,10 +19050,10 @@ let Te = class n extends H {
|
|
|
19050
19050
|
.isC2P="${this.isC2P}"
|
|
19051
19051
|
></click2pay-card-input>
|
|
19052
19052
|
${this._cardNumber ? this._cardBrand ? this._getBrandImage(this._cardBrand) : this._cardBrand === "NARANJA" ? E`<img
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19053
|
+
alt="naranja"
|
|
19054
|
+
src="https://ranty-sdk-js.naranjax.com/images/naranjax-logo.svg"
|
|
19055
|
+
style="height: 18px; width: 20px; margin-top: 29px;"
|
|
19056
|
+
/>` : E`<img alt="nave" src="${this._icon}" />` : E`<img alt="nave" src="https://ranty-sdk-js.naranjax.com/images/card.svg" />`}
|
|
19057
19057
|
</div>
|
|
19058
19058
|
<div class="panel-id-selection">
|
|
19059
19059
|
<input-expired
|
|
@@ -19231,7 +19231,7 @@ yf([
|
|
|
19231
19231
|
us = yf([
|
|
19232
19232
|
K("drawer-component")
|
|
19233
19233
|
], us);
|
|
19234
|
-
const WE = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex}.panel-container{padding:20px;background:#ffffff;width:100%;border:1px solid #e5e7eb;border-radius:20px;font-family:Inter,Arial,"sans-serif"}.data-text{margin-top:.5em;margin-bottom:.7em;font-size:15px;font-weight:400;color:#6a6a6a}.font{font-size:15px;color:#6a6a6a;font-weight:400}.text-top{margin-bottom:4px!important}.text-bottom{margin-bottom:16px!important}.title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin:0}.cvv-input{margin-top:25px}.top-half{padding:0 5px;border-bottom:.5px solid #6a6a6a}.bottom-half{padding:10px 5px 5px}.button-container{margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap}@media only screen and (max-width: 560px){.mb{margin-bottom:10px}}@media only screen and (max-width: 800px){.panel-container{margin-left:8px;margin-right:8px}}src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}.images{display:flex;align-items:center}.items_card{display:flex;flex-direction:column}.items_card p{margin-bottom:0!important}.items_card span{margin-top:0!important}.items span img{border-radius:4px}.image img{width:40px!important;height:40px!important;margin-top:10px!important;margin-right:10px!important}.data{display:flex;flex-direction:column;padding-top:8px}.items{display:flex;align-items:center}.text{font-size:14px;font-weight:400;color:#141413}.data-card{font-size:12px;display:flex;align-items:center;margin-left:4px}.dot{width:5px;height:5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background:#6a6a6a;margin-right:5px}
|
|
19234
|
+
const WE = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex}:host .panel-container{padding:20px;background:#ffffff;width:100%;border:1px solid #e5e7eb;border-radius:20px;font-family:Inter,Arial,"sans-serif"}:host .data-text{margin-top:.5em;margin-bottom:.7em;font-size:15px;font-weight:400;color:#6a6a6a}:host .font{font-size:15px;color:#6a6a6a;font-weight:400}:host .font.text-top{margin-bottom:3px}:host .font .font-dni{margin-top:0;margin-bottom:14px}:host .text-top{margin-bottom:4px!important}:host .text-bottom{margin-bottom:16px!important}:host .title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin:0}:host .cvv-input{margin-top:25px}:host .top-half{padding:0 5px;border-bottom:.5px solid #6a6a6a}:host .bottom-half{padding:10px 5px 5px}:host .button-container{margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap}@media only screen and (max-width: 560px){:host .mb{margin-bottom:10px}}@media only screen and (max-width: 800px){:host .panel-container{margin-left:8px;margin-right:8px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .images{display:flex;align-items:center}:host .items_card{display:flex;flex-direction:column}:host .items_card p{margin-bottom:0!important}:host .items_card span{margin-top:0!important}:host .items span img{border-radius:4px}:host .image img{width:40px!important;height:40px!important;margin-top:10px!important;margin-right:10px!important}:host .data{display:flex;flex-direction:column;padding-top:8px}:host .items{display:flex;align-items:center}:host .text{font-size:14px;font-weight:400;color:#141413}:host .data-card{font-size:12px;display:flex;align-items:center;margin-left:4px}:host .dot{width:5px;height:5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background:#6a6a6a;margin-right:5px}
|
|
19235
19235
|
`;
|
|
19236
19236
|
var JE = Object.defineProperty, ZE = Object.getOwnPropertyDescriptor, Ue = (n, e, t, r) => {
|
|
19237
19237
|
for (var i = r > 1 ? void 0 : r ? ZE(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
@@ -19290,8 +19290,8 @@ let Ie = class extends H {
|
|
|
19290
19290
|
<div class="panel-container">
|
|
19291
19291
|
<div class="top-half">
|
|
19292
19292
|
<h4 class="title">Titular de la tarjeta</h4>
|
|
19293
|
-
<p class="font text-top"
|
|
19294
|
-
<p class="font
|
|
19293
|
+
<p class="font text-top">${this.paymentCardOwner}</p>
|
|
19294
|
+
<p class="font font-dni">DNI ${this.cardOwnerDni}</p>
|
|
19295
19295
|
</div>
|
|
19296
19296
|
<div class="bottom-half">
|
|
19297
19297
|
${this.digitalCardData ? E`
|
|
@@ -19478,25 +19478,25 @@ let it = class n extends H {
|
|
|
19478
19478
|
</svg>
|
|
19479
19479
|
</div>
|
|
19480
19480
|
` : this.sonicBranding ? E`
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19481
|
+
<div class="sonic-container">
|
|
19482
|
+
<div id="animContainer">
|
|
19483
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
19484
|
+
</div>
|
|
19484
19485
|
</div>
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
|
|
19494
|
-
|
|
19495
|
-
|
|
19496
|
-
|
|
19497
|
-
|
|
19498
|
-
|
|
19499
|
-
`}
|
|
19486
|
+
` : E`
|
|
19487
|
+
${this.success ? E`
|
|
19488
|
+
<div class="sa-success">
|
|
19489
|
+
<div class="sa-success-tip"></div>
|
|
19490
|
+
<div class="sa-success-long"></div>
|
|
19491
|
+
<div class="sa-success-placeholder"></div>
|
|
19492
|
+
<div class="sa-success-fix"></div>
|
|
19493
|
+
</div>
|
|
19494
|
+
` : E`
|
|
19495
|
+
<div class="spinner-container">
|
|
19496
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
19497
|
+
</div>
|
|
19498
|
+
`}
|
|
19499
|
+
`}
|
|
19500
19500
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
19501
19501
|
<span class="${"subtitle " + this.customClassSub}">${this.message}</span>
|
|
19502
19502
|
|
|
@@ -19970,25 +19970,25 @@ let qe = class n extends H {
|
|
|
19970
19970
|
</svg>
|
|
19971
19971
|
</div>
|
|
19972
19972
|
` : this.sonicBranding ? E`
|
|
19973
|
-
|
|
19974
|
-
|
|
19975
|
-
|
|
19973
|
+
<div class="sonic-container">
|
|
19974
|
+
<div id="animContainer">
|
|
19975
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
19976
|
+
</div>
|
|
19976
19977
|
</div>
|
|
19977
|
-
|
|
19978
|
-
|
|
19979
|
-
|
|
19980
|
-
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
`}
|
|
19978
|
+
` : E`
|
|
19979
|
+
${this.success ? E`
|
|
19980
|
+
<div class="sa-success">
|
|
19981
|
+
<div class="sa-success-tip"></div>
|
|
19982
|
+
<div class="sa-success-long"></div>
|
|
19983
|
+
<div class="sa-success-placeholder"></div>
|
|
19984
|
+
<div class="sa-success-fix"></div>
|
|
19985
|
+
</div>
|
|
19986
|
+
` : E`
|
|
19987
|
+
<div class="spinner-container">
|
|
19988
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
19989
|
+
</div>
|
|
19990
|
+
`}
|
|
19991
|
+
`}
|
|
19992
19992
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
19993
19993
|
<span class="${"subtitle " + this.customClassSub}">${this.subtitle}</span>
|
|
19994
19994
|
</div>
|
|
@@ -21881,28 +21881,28 @@ let $t = class extends H {
|
|
|
21881
21881
|
</div>
|
|
21882
21882
|
</div>
|
|
21883
21883
|
` : this.paymentStatus === "SUCCESS_PROCESSED" ? E`
|
|
21884
|
-
|
|
21885
|
-
|
|
21886
|
-
|
|
21887
|
-
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
|
|
21903
|
-
|
|
21904
|
-
|
|
21905
|
-
|
|
21884
|
+
<click2pay-modal
|
|
21885
|
+
.customClassSub="${n}"
|
|
21886
|
+
.customClass="${e}"
|
|
21887
|
+
.showLoading="${!1}"
|
|
21888
|
+
.success=${this._isSuccess}
|
|
21889
|
+
title="¡Ya se confirmó el pago!"
|
|
21890
|
+
message="Encontrá el detalle de la compra en la tienda."
|
|
21891
|
+
@retry="${this._callbackUrl}"
|
|
21892
|
+
.showButton="${!0}"
|
|
21893
|
+
></click2pay-modal>
|
|
21894
|
+
` : E`
|
|
21895
|
+
<click2pay-modal
|
|
21896
|
+
title="No se pudo realizar el pago"
|
|
21897
|
+
message="No llegó a cobrarse nada. Podés reintentar el pago."
|
|
21898
|
+
.success="${!1}"
|
|
21899
|
+
.showButton="${!0}"
|
|
21900
|
+
.showLoading="${!1}"
|
|
21901
|
+
.image="${t}"
|
|
21902
|
+
@retry="${this._back}"
|
|
21903
|
+
.isVisible="${!0}"
|
|
21904
|
+
></click2pay-modal>
|
|
21905
|
+
`;
|
|
21906
21906
|
}
|
|
21907
21907
|
};
|
|
21908
21908
|
$t.styles = Y`
|
|
@@ -22592,7 +22592,7 @@ kt([
|
|
|
22592
22592
|
ct = kt([
|
|
22593
22593
|
K("click2pay-personal-data")
|
|
22594
22594
|
], ct);
|
|
22595
|
-
const rT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.drawerOpen{opacity:.5;pointer-events:none}.card-form{display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(8,1fr);max-width:820px;height:100vh;margin:0 auto}.card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}.card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}.card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}.card-form__content{grid-column:1/span 6;margin-bottom:126px}.payment__detail{grid-column:7/span 4;padding-left:34px}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.card-form__subtitle-mobile{display:none}.title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}.card-payments-methods{display:flex;gap:2.5rem}@media only screen and (min-width: 360px) and (max-width: 450px){.card-form__subtitle
|
|
22595
|
+
const rT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(8,1fr);max-width:820px;height:100vh;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:2.5rem}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:70px;z-index:9}:host .inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}:host .mt{margin-top:10px!important;border:1px solid black!important}
|
|
22596
22596
|
`, iT = (n) => {
|
|
22597
22597
|
n.dispatchEvent(
|
|
22598
22598
|
new Event("renderInstallmentPlans", {
|
|
@@ -24527,25 +24527,25 @@ let Xe = class n extends H {
|
|
|
24527
24527
|
</svg>
|
|
24528
24528
|
</div>
|
|
24529
24529
|
` : this.sonicBranding ? E`
|
|
24530
|
-
|
|
24531
|
-
|
|
24532
|
-
|
|
24530
|
+
<div class="sonic-container">
|
|
24531
|
+
<div id="animContainer">
|
|
24532
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
24533
|
+
</div>
|
|
24533
24534
|
</div>
|
|
24534
|
-
|
|
24535
|
-
|
|
24536
|
-
|
|
24537
|
-
|
|
24538
|
-
|
|
24539
|
-
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
`}
|
|
24535
|
+
` : E`
|
|
24536
|
+
${this.getStatusSuccess ? E`
|
|
24537
|
+
<div class="sa-success">
|
|
24538
|
+
<div class="sa-success-tip"></div>
|
|
24539
|
+
<div class="sa-success-long"></div>
|
|
24540
|
+
<div class="sa-success-placeholder"></div>
|
|
24541
|
+
<div class="sa-success-fix"></div>
|
|
24542
|
+
</div>
|
|
24543
|
+
` : E`
|
|
24544
|
+
<div class="spinner-container">
|
|
24545
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
24546
|
+
</div>
|
|
24547
|
+
`}
|
|
24548
|
+
`}
|
|
24549
24549
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
24550
24550
|
<span class="${"subtitle " + this.customClassSub}">${this.message}</span>
|
|
24551
24551
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ranty/ranty-sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Ranty sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"overrides": {
|
|
87
87
|
"ws": "^8.17.1",
|
|
88
|
-
"follow-redirects": "^1.15.6"
|
|
88
|
+
"follow-redirects": "^1.15.6",
|
|
89
|
+
"fast-xml-parser": "^4.4.1"
|
|
89
90
|
}
|
|
90
91
|
}
|