@block-auth.io/angular 0.7.1 → 0.7.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DOCUMENT, isPlatformBrowser, NgComponentOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken, makeEnvironmentProviders, inject, DestroyRef, signal, computed, Injectable, output, PLATFORM_ID, effect, Directive, ElementRef, input, ChangeDetectionStrategy, Component, viewChild, HostListener, untracked, linkedSignal, afterNextRender } from '@angular/core';
|
|
4
|
-
import { createBlockAuthClient, $locale, setLocale, t, $user, getUserRoles, getUserRoleNames, getUserRoleSlugs, hasRole, hasRoleBySlug, hasAnyRole, hasAnyRoleBySlug, fetchUserProfile, startExtensionSync, createAuthRuntime, $extension, getExtensionStoreUrl,
|
|
4
|
+
import { createBlockAuthClient, $locale, setLocale, t, $user, getUserRoles, getUserRoleNames, getUserRoleSlugs, hasRole, hasRoleBySlug, hasAnyRole, hasAnyRoleBySlug, fetchUserProfile, startExtensionSync, createAuthRuntime, utils, $extension, getExtensionStoreUrl, DEFAULT_PHONE_COUNTRY, resolvePhoneDraft, getPhoneCountries, searchPhoneCountries, updatePhoneDraft, getSolicitedFields, getSolicitedParams, isSolicitedDataComplete, PARAM_LABEL_KEYS, PARAM_ERROR_KEYS, getSolicitedHintKey, PARAM_INPUT_TYPE, isSolicitedHintSuccess, isSolicitedEmailSelectable, formatSolicitedEmailOption, EMPTY_SOLICITED_DATA_FORM, openExtensionOnTxn, getSolicitedAcceptParams, setSolicitedValue, setSolicitedShared, saveSolicitedValue, undoSolicitedValue, setSolicitedEmailChoice, needsExtensionUnlock, deepLinkFor, makeQrDataUrl, setIsSigningLoader, AccountLinkError } from '@block-auth.io/core';
|
|
5
5
|
export { getUserRoleNames, getUserRoleSlugs, getUserRoles, hasAnyRole, hasAnyRoleBySlug, hasRole, hasRoleBySlug, loadUserProfile } from '@block-auth.io/core';
|
|
6
6
|
|
|
7
7
|
// GENERADO por scripts/css-to-ts.mjs — no editar a mano.
|
|
@@ -1148,6 +1148,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1148
1148
|
// para que un futuro `grep` sobre el nombre original siga encontrando el
|
|
1149
1149
|
// equivalente Angular sin fricción de traducción. Exports alfabetizados.
|
|
1150
1150
|
|
|
1151
|
+
// Port literal de packages/react/src/primitives/helpers.ts: helpers de UI
|
|
1152
|
+
// puros en TS, sin dependencias de React ni de framer-motion, por lo que se
|
|
1153
|
+
// copian tal cual (solo cambia el comentario de cabecera). Las variantes de
|
|
1154
|
+
// framer-motion (`dropdownContainerVariantsFromTopRight`, `liItemVariants`,
|
|
1155
|
+
// etc.) ya no las usa ningún primitivo Vue (DropdownBase anima con
|
|
1156
|
+
// `<Transition>` + CSS), pero se conservan por si algún componente futuro
|
|
1157
|
+
// las necesita como referencia/objeto de datos plano (no importan
|
|
1158
|
+
// framer-motion, son solo objetos JS).
|
|
1159
|
+
//
|
|
1160
|
+
// `imgUrlByService` ya vive en `@block-auth.io/core` utils — se reexporta
|
|
1161
|
+
// aquí para que los primitivos puedan importar todo desde un mismo sitio.
|
|
1162
|
+
const imgUrlByService = utils.imgUrlByService;
|
|
1163
|
+
/**
|
|
1164
|
+
* Variantes framer-motion usadas por el `DropdownBase` original (el dropdown
|
|
1165
|
+
* se revelaba desde la esquina superior derecha vía un círculo de
|
|
1166
|
+
* clip-path animado). Portado literalmente desde `helperUI.dropdownContainerVariantsFromTopRight`.
|
|
1167
|
+
* No se usa en el `DropdownBase.vue` (que anima con `<Transition name="bas-pop">`),
|
|
1168
|
+
* se conserva por paridad de API con el paquete react.
|
|
1169
|
+
*/
|
|
1170
|
+
function dropdownContainerVariantsFromTopRight(height = 1000, left = 'auto') {
|
|
1171
|
+
return {
|
|
1172
|
+
open: {
|
|
1173
|
+
clipPath: `circle(${height * 2 + 200}px at 100% 0%)`,
|
|
1174
|
+
left,
|
|
1175
|
+
transition: {
|
|
1176
|
+
type: 'spring',
|
|
1177
|
+
stiffness: 20,
|
|
1178
|
+
restDelta: 2,
|
|
1179
|
+
duration: 1,
|
|
1180
|
+
delayChildren: 0.3,
|
|
1181
|
+
staggerChildren: 0.05,
|
|
1182
|
+
},
|
|
1183
|
+
},
|
|
1184
|
+
closed: {
|
|
1185
|
+
clipPath: 'circle(0px at 100% 0%)',
|
|
1186
|
+
left,
|
|
1187
|
+
transition: {
|
|
1188
|
+
delay: 0,
|
|
1189
|
+
type: 'spring',
|
|
1190
|
+
stiffness: 400,
|
|
1191
|
+
damping: 40,
|
|
1192
|
+
},
|
|
1193
|
+
},
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Variantes de stagger por item de la lista del dropdown. Portado
|
|
1198
|
+
* literalmente desde `helperUI.liItemVariants`. No usado en `DropdownBase.vue`.
|
|
1199
|
+
*/
|
|
1200
|
+
function liItemVariants(openOpacity = 1) {
|
|
1201
|
+
return {
|
|
1202
|
+
open: {
|
|
1203
|
+
opacity: openOpacity,
|
|
1204
|
+
y: 0,
|
|
1205
|
+
transition: { duration: 0.2 },
|
|
1206
|
+
},
|
|
1207
|
+
closed: { opacity: 0, y: 20, transition: { duration: 0.2 } },
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
/* ------------------------------------------------------------------ *
|
|
1211
|
+
* Helpers de tiempo + variantes de dropdown de pickers — absorbidos del
|
|
1212
|
+
* `helperUI` original. Los usan `pickers/` y `LifetimeSliderBase`, ambos
|
|
1213
|
+
* fuera de alcance en esta tarea (excluidos por el plan), pero se conservan
|
|
1214
|
+
* (son TS puro, sin coste) por si un futuro port de esos componentes los
|
|
1215
|
+
* necesita.
|
|
1216
|
+
* ------------------------------------------------------------------ */
|
|
1217
|
+
/** Descompone segundos totales en `{ hours, minutes, seconds }`. */
|
|
1218
|
+
function convertSecondsToTime(totalSeconds) {
|
|
1219
|
+
const hours = Math.floor(totalSeconds / 3600);
|
|
1220
|
+
const minutes = Math.floor((totalSeconds % 3600) / 60);
|
|
1221
|
+
const seconds = totalSeconds % 60;
|
|
1222
|
+
return { hours, minutes, seconds };
|
|
1223
|
+
}
|
|
1224
|
+
/** Rellena con cero un número menor a 10 (`5` → `"05"`). */
|
|
1225
|
+
function formatNumberToString(num) {
|
|
1226
|
+
return num < 10 ? `0${num}` : `${num}`;
|
|
1227
|
+
}
|
|
1228
|
+
/** Parsea un string `HH:MM:SS` a segundos totales. */
|
|
1229
|
+
function getSecFromTimeValue(timeValue) {
|
|
1230
|
+
const [h, m, s] = timeValue.split(':');
|
|
1231
|
+
return parseInt(h) * 3600 + parseInt(m) * 60 + parseInt(s);
|
|
1232
|
+
}
|
|
1233
|
+
/** Segundos totales → `HH:MM:SS` (port de `getTimeBySec`). */
|
|
1234
|
+
function getTimeBySec(totalSeconds) {
|
|
1235
|
+
const { hours, minutes, seconds } = convertSecondsToTime(totalSeconds);
|
|
1236
|
+
return [hours, minutes, seconds].map(formatNumberToString).join(':');
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Revelado del dropdown del picker (hacia abajo) — círculo de clip-path
|
|
1240
|
+
* desde arriba al centro. Port literal de `dropdownContainerVariantsTopCenterCircle`.
|
|
1241
|
+
*/
|
|
1242
|
+
function dropdownContainerVariantsTopCenterCircle(height = 1000) {
|
|
1243
|
+
return {
|
|
1244
|
+
open: {
|
|
1245
|
+
clipPath: `circle(${height * 2 + 200}px at 50% 0%)`,
|
|
1246
|
+
top: 0,
|
|
1247
|
+
transition: {
|
|
1248
|
+
type: 'spring',
|
|
1249
|
+
stiffness: 20,
|
|
1250
|
+
restDelta: 2,
|
|
1251
|
+
duration: 1,
|
|
1252
|
+
delayChildren: 0.3,
|
|
1253
|
+
staggerChildren: 0.05,
|
|
1254
|
+
},
|
|
1255
|
+
},
|
|
1256
|
+
closed: {
|
|
1257
|
+
clipPath: 'circle(0px at 50% 0%)',
|
|
1258
|
+
top: '-100%',
|
|
1259
|
+
transition: { delay: 0, type: 'spring', stiffness: 400, damping: 40 },
|
|
1260
|
+
},
|
|
1261
|
+
};
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* Revelado del dropdown del picker (hacia arriba) — círculo de clip-path
|
|
1265
|
+
* desde abajo al centro. Port literal de `dropdownContainerUpwardsVariants`.
|
|
1266
|
+
*/
|
|
1267
|
+
function dropdownContainerUpwardsVariants(top = -288, height = 1000) {
|
|
1268
|
+
return {
|
|
1269
|
+
open: {
|
|
1270
|
+
clipPath: `circle(${height * 2 + 200}px at 50% 100%)`,
|
|
1271
|
+
top,
|
|
1272
|
+
transition: {
|
|
1273
|
+
type: 'tween',
|
|
1274
|
+
stiffness: 20,
|
|
1275
|
+
restDelta: 2,
|
|
1276
|
+
duration: 2,
|
|
1277
|
+
delayChildren: 0.3,
|
|
1278
|
+
staggerChildren: 0.05,
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
closed: {
|
|
1282
|
+
clipPath: 'circle(0px at 50% 100%)',
|
|
1283
|
+
top,
|
|
1284
|
+
transition: { delay: 0, type: 'tween', stiffness: 400, damping: 40 },
|
|
1285
|
+
},
|
|
1286
|
+
};
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1151
1289
|
/**
|
|
1152
1290
|
* El único botón que ramifica sobre el estado de la extensión (`$extension`,
|
|
1153
1291
|
* que no está envuelto por `BlockAuthService`, se lee aquí con `injectStore`).
|
|
@@ -1160,6 +1298,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1160
1298
|
*/
|
|
1161
1299
|
class BtnBlockAuthComponent {
|
|
1162
1300
|
constructor() {
|
|
1301
|
+
this.blockauthLogo = imgUrlByService('blockauth');
|
|
1163
1302
|
this.isDropdownProfile = input(false, ...(ngDevMode ? [{ debugName: "isDropdownProfile" }] : []));
|
|
1164
1303
|
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
1165
1304
|
this.isEditable = input(false, ...(ngDevMode ? [{ debugName: "isEditable" }] : []));
|
|
@@ -1235,7 +1374,7 @@ class BtnBlockAuthComponent {
|
|
|
1235
1374
|
>
|
|
1236
1375
|
<img
|
|
1237
1376
|
slot="icon"
|
|
1238
|
-
src="
|
|
1377
|
+
[src]="blockauthLogo"
|
|
1239
1378
|
width="24"
|
|
1240
1379
|
height="24"
|
|
1241
1380
|
alt="Block-Auth"
|
|
@@ -1277,7 +1416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1277
1416
|
>
|
|
1278
1417
|
<img
|
|
1279
1418
|
slot="icon"
|
|
1280
|
-
src="
|
|
1419
|
+
[src]="blockauthLogo"
|
|
1281
1420
|
width="24"
|
|
1282
1421
|
height="24"
|
|
1283
1422
|
alt="Block-Auth"
|
|
@@ -1582,6 +1721,7 @@ class BtnMetamaskComponent {
|
|
|
1582
1721
|
this.textCls = styles$2.textClassNames;
|
|
1583
1722
|
this.loaderWidth = styles$2.loaderWidth;
|
|
1584
1723
|
this.loaderColor = styles$2.loaderColor;
|
|
1724
|
+
this.metamaskIconSrc = imgUrlByService('metamask-white');
|
|
1585
1725
|
this.btnText = computed(() => {
|
|
1586
1726
|
const short = (a) => (a ? `${a.slice(0, 6)}…${a.slice(-4)}` : '');
|
|
1587
1727
|
return this.isTextInsteadOfAccount() ? this.text() : short(this.wallet().address) || this.text();
|
|
@@ -1628,7 +1768,7 @@ class BtnMetamaskComponent {
|
|
|
1628
1768
|
>
|
|
1629
1769
|
<img
|
|
1630
1770
|
slot="icon"
|
|
1631
|
-
src="
|
|
1771
|
+
[src]="metamaskIconSrc"
|
|
1632
1772
|
height="24"
|
|
1633
1773
|
width="24"
|
|
1634
1774
|
alt="MetaMask"
|
|
@@ -1671,7 +1811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1671
1811
|
>
|
|
1672
1812
|
<img
|
|
1673
1813
|
slot="icon"
|
|
1674
|
-
src="
|
|
1814
|
+
[src]="metamaskIconSrc"
|
|
1675
1815
|
height="24"
|
|
1676
1816
|
width="24"
|
|
1677
1817
|
alt="MetaMask"
|
|
@@ -1682,144 +1822,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1682
1822
|
}]
|
|
1683
1823
|
}], propDecorators: { isDropdownProfile: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDropdownProfile", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], isTextInsteadOfAccount: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTextInsteadOfAccount", required: false }] }], iconEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconEnabled", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], isEditable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isEditable", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }] } });
|
|
1684
1824
|
|
|
1685
|
-
// Port literal de packages/react/src/primitives/helpers.ts: helpers de UI
|
|
1686
|
-
// puros en TS, sin dependencias de React ni de framer-motion, por lo que se
|
|
1687
|
-
// copian tal cual (solo cambia el comentario de cabecera). Las variantes de
|
|
1688
|
-
// framer-motion (`dropdownContainerVariantsFromTopRight`, `liItemVariants`,
|
|
1689
|
-
// etc.) ya no las usa ningún primitivo Vue (DropdownBase anima con
|
|
1690
|
-
// `<Transition>` + CSS), pero se conservan por si algún componente futuro
|
|
1691
|
-
// las necesita como referencia/objeto de datos plano (no importan
|
|
1692
|
-
// framer-motion, son solo objetos JS).
|
|
1693
|
-
//
|
|
1694
|
-
// `imgUrlByService` ya vive en `@block-auth.io/core` utils — se reexporta
|
|
1695
|
-
// aquí para que los primitivos puedan importar todo desde un mismo sitio.
|
|
1696
|
-
const imgUrlByService = utils.imgUrlByService;
|
|
1697
|
-
/**
|
|
1698
|
-
* Variantes framer-motion usadas por el `DropdownBase` original (el dropdown
|
|
1699
|
-
* se revelaba desde la esquina superior derecha vía un círculo de
|
|
1700
|
-
* clip-path animado). Portado literalmente desde `helperUI.dropdownContainerVariantsFromTopRight`.
|
|
1701
|
-
* No se usa en el `DropdownBase.vue` (que anima con `<Transition name="bas-pop">`),
|
|
1702
|
-
* se conserva por paridad de API con el paquete react.
|
|
1703
|
-
*/
|
|
1704
|
-
function dropdownContainerVariantsFromTopRight(height = 1000, left = 'auto') {
|
|
1705
|
-
return {
|
|
1706
|
-
open: {
|
|
1707
|
-
clipPath: `circle(${height * 2 + 200}px at 100% 0%)`,
|
|
1708
|
-
left,
|
|
1709
|
-
transition: {
|
|
1710
|
-
type: 'spring',
|
|
1711
|
-
stiffness: 20,
|
|
1712
|
-
restDelta: 2,
|
|
1713
|
-
duration: 1,
|
|
1714
|
-
delayChildren: 0.3,
|
|
1715
|
-
staggerChildren: 0.05,
|
|
1716
|
-
},
|
|
1717
|
-
},
|
|
1718
|
-
closed: {
|
|
1719
|
-
clipPath: 'circle(0px at 100% 0%)',
|
|
1720
|
-
left,
|
|
1721
|
-
transition: {
|
|
1722
|
-
delay: 0,
|
|
1723
|
-
type: 'spring',
|
|
1724
|
-
stiffness: 400,
|
|
1725
|
-
damping: 40,
|
|
1726
|
-
},
|
|
1727
|
-
},
|
|
1728
|
-
};
|
|
1729
|
-
}
|
|
1730
|
-
/**
|
|
1731
|
-
* Variantes de stagger por item de la lista del dropdown. Portado
|
|
1732
|
-
* literalmente desde `helperUI.liItemVariants`. No usado en `DropdownBase.vue`.
|
|
1733
|
-
*/
|
|
1734
|
-
function liItemVariants(openOpacity = 1) {
|
|
1735
|
-
return {
|
|
1736
|
-
open: {
|
|
1737
|
-
opacity: openOpacity,
|
|
1738
|
-
y: 0,
|
|
1739
|
-
transition: { duration: 0.2 },
|
|
1740
|
-
},
|
|
1741
|
-
closed: { opacity: 0, y: 20, transition: { duration: 0.2 } },
|
|
1742
|
-
};
|
|
1743
|
-
}
|
|
1744
|
-
/* ------------------------------------------------------------------ *
|
|
1745
|
-
* Helpers de tiempo + variantes de dropdown de pickers — absorbidos del
|
|
1746
|
-
* `helperUI` original. Los usan `pickers/` y `LifetimeSliderBase`, ambos
|
|
1747
|
-
* fuera de alcance en esta tarea (excluidos por el plan), pero se conservan
|
|
1748
|
-
* (son TS puro, sin coste) por si un futuro port de esos componentes los
|
|
1749
|
-
* necesita.
|
|
1750
|
-
* ------------------------------------------------------------------ */
|
|
1751
|
-
/** Descompone segundos totales en `{ hours, minutes, seconds }`. */
|
|
1752
|
-
function convertSecondsToTime(totalSeconds) {
|
|
1753
|
-
const hours = Math.floor(totalSeconds / 3600);
|
|
1754
|
-
const minutes = Math.floor((totalSeconds % 3600) / 60);
|
|
1755
|
-
const seconds = totalSeconds % 60;
|
|
1756
|
-
return { hours, minutes, seconds };
|
|
1757
|
-
}
|
|
1758
|
-
/** Rellena con cero un número menor a 10 (`5` → `"05"`). */
|
|
1759
|
-
function formatNumberToString(num) {
|
|
1760
|
-
return num < 10 ? `0${num}` : `${num}`;
|
|
1761
|
-
}
|
|
1762
|
-
/** Parsea un string `HH:MM:SS` a segundos totales. */
|
|
1763
|
-
function getSecFromTimeValue(timeValue) {
|
|
1764
|
-
const [h, m, s] = timeValue.split(':');
|
|
1765
|
-
return parseInt(h) * 3600 + parseInt(m) * 60 + parseInt(s);
|
|
1766
|
-
}
|
|
1767
|
-
/** Segundos totales → `HH:MM:SS` (port de `getTimeBySec`). */
|
|
1768
|
-
function getTimeBySec(totalSeconds) {
|
|
1769
|
-
const { hours, minutes, seconds } = convertSecondsToTime(totalSeconds);
|
|
1770
|
-
return [hours, minutes, seconds].map(formatNumberToString).join(':');
|
|
1771
|
-
}
|
|
1772
|
-
/**
|
|
1773
|
-
* Revelado del dropdown del picker (hacia abajo) — círculo de clip-path
|
|
1774
|
-
* desde arriba al centro. Port literal de `dropdownContainerVariantsTopCenterCircle`.
|
|
1775
|
-
*/
|
|
1776
|
-
function dropdownContainerVariantsTopCenterCircle(height = 1000) {
|
|
1777
|
-
return {
|
|
1778
|
-
open: {
|
|
1779
|
-
clipPath: `circle(${height * 2 + 200}px at 50% 0%)`,
|
|
1780
|
-
top: 0,
|
|
1781
|
-
transition: {
|
|
1782
|
-
type: 'spring',
|
|
1783
|
-
stiffness: 20,
|
|
1784
|
-
restDelta: 2,
|
|
1785
|
-
duration: 1,
|
|
1786
|
-
delayChildren: 0.3,
|
|
1787
|
-
staggerChildren: 0.05,
|
|
1788
|
-
},
|
|
1789
|
-
},
|
|
1790
|
-
closed: {
|
|
1791
|
-
clipPath: 'circle(0px at 50% 0%)',
|
|
1792
|
-
top: '-100%',
|
|
1793
|
-
transition: { delay: 0, type: 'spring', stiffness: 400, damping: 40 },
|
|
1794
|
-
},
|
|
1795
|
-
};
|
|
1796
|
-
}
|
|
1797
|
-
/**
|
|
1798
|
-
* Revelado del dropdown del picker (hacia arriba) — círculo de clip-path
|
|
1799
|
-
* desde abajo al centro. Port literal de `dropdownContainerUpwardsVariants`.
|
|
1800
|
-
*/
|
|
1801
|
-
function dropdownContainerUpwardsVariants(top = -288, height = 1000) {
|
|
1802
|
-
return {
|
|
1803
|
-
open: {
|
|
1804
|
-
clipPath: `circle(${height * 2 + 200}px at 50% 100%)`,
|
|
1805
|
-
top,
|
|
1806
|
-
transition: {
|
|
1807
|
-
type: 'tween',
|
|
1808
|
-
stiffness: 20,
|
|
1809
|
-
restDelta: 2,
|
|
1810
|
-
duration: 2,
|
|
1811
|
-
delayChildren: 0.3,
|
|
1812
|
-
staggerChildren: 0.05,
|
|
1813
|
-
},
|
|
1814
|
-
},
|
|
1815
|
-
closed: {
|
|
1816
|
-
clipPath: 'circle(0px at 50% 100%)',
|
|
1817
|
-
top,
|
|
1818
|
-
transition: { delay: 0, type: 'tween', stiffness: 400, damping: 40 },
|
|
1819
|
-
},
|
|
1820
|
-
};
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
1825
|
/**
|
|
1824
1826
|
* Botón de conexión Phantom (Solana). El click delega en
|
|
1825
1827
|
* `client.web3.signup('phantom')`.
|
|
@@ -2267,7 +2269,7 @@ const providersStyles = {
|
|
|
2267
2269
|
trustWallet: {
|
|
2268
2270
|
name: 'Trust Wallet',
|
|
2269
2271
|
value: 'trustwallet',
|
|
2270
|
-
imgSrc: '
|
|
2272
|
+
imgSrc: imgUrlByService('trustwallet'),
|
|
2271
2273
|
imgBgColor: '#f0f9ff',
|
|
2272
2274
|
loaderColor: '#0b69ff',
|
|
2273
2275
|
colorBase: '#0b69ff',
|
|
@@ -2275,7 +2277,7 @@ const providersStyles = {
|
|
|
2275
2277
|
binance: {
|
|
2276
2278
|
name: 'Binance',
|
|
2277
2279
|
value: 'binance',
|
|
2278
|
-
imgSrc: '
|
|
2280
|
+
imgSrc: imgUrlByService('binance'),
|
|
2279
2281
|
imgBgColor: '#f0f9ff',
|
|
2280
2282
|
loaderColor: '#0b69ff',
|
|
2281
2283
|
colorBase: '#0b69ff',
|
|
@@ -2283,7 +2285,7 @@ const providersStyles = {
|
|
|
2283
2285
|
uniswap: {
|
|
2284
2286
|
name: 'Uniswap',
|
|
2285
2287
|
value: 'uniswap',
|
|
2286
|
-
imgSrc: '
|
|
2288
|
+
imgSrc: imgUrlByService('uniswap'),
|
|
2287
2289
|
imgBgColor: '#f0f9ff',
|
|
2288
2290
|
loaderColor: '#0b69ff',
|
|
2289
2291
|
colorBase: '#0b69ff',
|
|
@@ -2291,7 +2293,7 @@ const providersStyles = {
|
|
|
2291
2293
|
bitget: {
|
|
2292
2294
|
name: 'Bitget',
|
|
2293
2295
|
value: 'bitget',
|
|
2294
|
-
imgSrc: '
|
|
2296
|
+
imgSrc: imgUrlByService('bitget'),
|
|
2295
2297
|
imgBgColor: '#f0f9ff',
|
|
2296
2298
|
loaderColor: '#0b69ff',
|
|
2297
2299
|
colorBase: '#0b69ff',
|
|
@@ -2299,7 +2301,7 @@ const providersStyles = {
|
|
|
2299
2301
|
legder: {
|
|
2300
2302
|
name: 'Legder',
|
|
2301
2303
|
value: 'legder',
|
|
2302
|
-
imgSrc: '
|
|
2304
|
+
imgSrc: imgUrlByService('legder'),
|
|
2303
2305
|
imgBgColor: '#f0f9ff',
|
|
2304
2306
|
loaderColor: '#0b69ff',
|
|
2305
2307
|
colorBase: '#0b69ff',
|
|
@@ -2307,7 +2309,7 @@ const providersStyles = {
|
|
|
2307
2309
|
robinhood: {
|
|
2308
2310
|
name: 'Robinhood',
|
|
2309
2311
|
value: 'robinhood',
|
|
2310
|
-
imgSrc: '
|
|
2312
|
+
imgSrc: imgUrlByService('robinhood'),
|
|
2311
2313
|
imgBgColor: '#f0f9ff',
|
|
2312
2314
|
loaderColor: '#0b69ff',
|
|
2313
2315
|
colorBase: '#0b69ff',
|
|
@@ -2315,7 +2317,7 @@ const providersStyles = {
|
|
|
2315
2317
|
blockchaincom: {
|
|
2316
2318
|
name: 'Blockchain.com',
|
|
2317
2319
|
value: 'blockchaincom',
|
|
2318
|
-
imgSrc: '
|
|
2320
|
+
imgSrc: imgUrlByService('blockchaincom'),
|
|
2319
2321
|
imgBgColor: '#f0f9ff',
|
|
2320
2322
|
loaderColor: '#0b69ff',
|
|
2321
2323
|
colorBase: '#0b69ff',
|
|
@@ -2323,7 +2325,7 @@ const providersStyles = {
|
|
|
2323
2325
|
magiceden: {
|
|
2324
2326
|
name: 'Magic Eden',
|
|
2325
2327
|
value: 'magiceden',
|
|
2326
|
-
imgSrc: '
|
|
2328
|
+
imgSrc: imgUrlByService('magiceden'),
|
|
2327
2329
|
imgBgColor: '#f0f9ff',
|
|
2328
2330
|
loaderColor: '#0b69ff',
|
|
2329
2331
|
colorBase: '#0b69ff',
|
|
@@ -2331,7 +2333,7 @@ const providersStyles = {
|
|
|
2331
2333
|
kraken: {
|
|
2332
2334
|
name: 'Kraken',
|
|
2333
2335
|
value: 'kraken',
|
|
2334
|
-
imgSrc: '
|
|
2336
|
+
imgSrc: imgUrlByService('kraken'),
|
|
2335
2337
|
imgBgColor: '#f0f9ff',
|
|
2336
2338
|
loaderColor: '#0b69ff',
|
|
2337
2339
|
colorBase: '#0b69ff',
|
|
@@ -2339,7 +2341,7 @@ const providersStyles = {
|
|
|
2339
2341
|
coinbase: {
|
|
2340
2342
|
name: 'Coinbase',
|
|
2341
2343
|
value: 'coinbase',
|
|
2342
|
-
imgSrc: '
|
|
2344
|
+
imgSrc: imgUrlByService('coinbase'),
|
|
2343
2345
|
imgBgColor: '#f0f9ff',
|
|
2344
2346
|
loaderColor: '#0b69ff',
|
|
2345
2347
|
colorBase: '#0b69ff',
|
|
@@ -2347,7 +2349,7 @@ const providersStyles = {
|
|
|
2347
2349
|
enjin: {
|
|
2348
2350
|
name: 'Enjin',
|
|
2349
2351
|
value: 'enjin',
|
|
2350
|
-
imgSrc: '
|
|
2352
|
+
imgSrc: imgUrlByService('enjin'),
|
|
2351
2353
|
imgBgColor: '#f0f9ff',
|
|
2352
2354
|
loaderColor: '#0b69ff',
|
|
2353
2355
|
colorBase: '#0b69ff',
|
|
@@ -2355,7 +2357,7 @@ const providersStyles = {
|
|
|
2355
2357
|
coincircle: {
|
|
2356
2358
|
name: 'Coincircle',
|
|
2357
2359
|
value: 'coincircle',
|
|
2358
|
-
imgSrc: '
|
|
2360
|
+
imgSrc: imgUrlByService('coincircle'),
|
|
2359
2361
|
imgBgColor: '#f0f9ff',
|
|
2360
2362
|
loaderColor: '#0b69ff',
|
|
2361
2363
|
colorBase: '#0b69ff',
|
|
@@ -2363,7 +2365,7 @@ const providersStyles = {
|
|
|
2363
2365
|
crossmint: {
|
|
2364
2366
|
name: 'Crossmint',
|
|
2365
2367
|
value: 'crossmint',
|
|
2366
|
-
imgSrc: '
|
|
2368
|
+
imgSrc: imgUrlByService('crossmint'),
|
|
2367
2369
|
imgBgColor: '#f0f9ff',
|
|
2368
2370
|
loaderColor: '#0b69ff',
|
|
2369
2371
|
colorBase: '#0b69ff',
|
|
@@ -2371,7 +2373,7 @@ const providersStyles = {
|
|
|
2371
2373
|
ronin: {
|
|
2372
2374
|
name: 'Ronin',
|
|
2373
2375
|
value: 'ronin',
|
|
2374
|
-
imgSrc: '
|
|
2376
|
+
imgSrc: imgUrlByService('ronin'),
|
|
2375
2377
|
imgBgColor: '#f0f9ff',
|
|
2376
2378
|
loaderColor: '#0b69ff',
|
|
2377
2379
|
colorBase: '#0b69ff',
|
|
@@ -2379,7 +2381,7 @@ const providersStyles = {
|
|
|
2379
2381
|
thirdweb: {
|
|
2380
2382
|
name: 'Thirdweb',
|
|
2381
2383
|
value: 'thirdweb',
|
|
2382
|
-
imgSrc: '
|
|
2384
|
+
imgSrc: imgUrlByService('thirdweb'),
|
|
2383
2385
|
imgBgColor: '#f0f9ff',
|
|
2384
2386
|
loaderColor: '#0b69ff',
|
|
2385
2387
|
colorBase: '#0b69ff',
|
|
@@ -2387,7 +2389,7 @@ const providersStyles = {
|
|
|
2387
2389
|
wemix: {
|
|
2388
2390
|
name: 'Wemix',
|
|
2389
2391
|
value: 'wemix',
|
|
2390
|
-
imgSrc: '
|
|
2392
|
+
imgSrc: imgUrlByService('wemix'),
|
|
2391
2393
|
imgBgColor: '#f0f9ff',
|
|
2392
2394
|
loaderColor: '#0b69ff',
|
|
2393
2395
|
colorBase: '#0b69ff',
|
|
@@ -2395,7 +2397,7 @@ const providersStyles = {
|
|
|
2395
2397
|
bitbox: {
|
|
2396
2398
|
name: 'Bitbox',
|
|
2397
2399
|
value: 'bitbox',
|
|
2398
|
-
imgSrc: '
|
|
2400
|
+
imgSrc: imgUrlByService('bitbox'),
|
|
2399
2401
|
imgBgColor: '#f0f9ff',
|
|
2400
2402
|
loaderColor: '#0b69ff',
|
|
2401
2403
|
colorBase: '#0b69ff',
|
|
@@ -2403,7 +2405,7 @@ const providersStyles = {
|
|
|
2403
2405
|
moonpay: {
|
|
2404
2406
|
name: 'Moonpay',
|
|
2405
2407
|
value: 'moonpay',
|
|
2406
|
-
imgSrc: '
|
|
2408
|
+
imgSrc: imgUrlByService('moonpay'),
|
|
2407
2409
|
imgBgColor: '#f0f9ff',
|
|
2408
2410
|
loaderColor: '#0b69ff',
|
|
2409
2411
|
colorBase: '#0b69ff',
|
|
@@ -3027,7 +3029,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3027
3029
|
}]
|
|
3028
3030
|
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: true }] }], panelClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelClassName", required: false }] }], containerClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerClassName", required: false }] }], testId: [{ type: i0.Input, args: [{ isSignal: true, alias: "testId", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
3029
3031
|
|
|
3030
|
-
const BLOCKAUTH_LOGO = '
|
|
3032
|
+
const BLOCKAUTH_LOGO = imgUrlByService('blockauth');
|
|
3031
3033
|
class OvalSpinnerComponent {
|
|
3032
3034
|
constructor() {
|
|
3033
3035
|
this.size = input('medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
@@ -6213,6 +6215,7 @@ const TXN_ERROR_TEXT_KEYS = {
|
|
|
6213
6215
|
};
|
|
6214
6216
|
class TxnsOverviewComponent {
|
|
6215
6217
|
constructor() {
|
|
6218
|
+
this.blockauthLogo = imgUrlByService('blockauth');
|
|
6216
6219
|
this.closeTxns = input(() => { }, ...(ngDevMode ? [{ debugName: "closeTxns" }] : []));
|
|
6217
6220
|
this.client = injectBlockAuthClient();
|
|
6218
6221
|
this.ws = injectStore(this.client.state.$ws);
|
|
@@ -6414,7 +6417,7 @@ class TxnsOverviewComponent {
|
|
|
6414
6417
|
<img
|
|
6415
6418
|
[src]="
|
|
6416
6419
|
preParams().iconUrl ||
|
|
6417
|
-
|
|
6420
|
+
blockauthLogo
|
|
6418
6421
|
"
|
|
6419
6422
|
class="bal-ba-glass-logo bas-h-16"
|
|
6420
6423
|
alt="app logo"
|
|
@@ -6588,7 +6591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6588
6591
|
<img
|
|
6589
6592
|
[src]="
|
|
6590
6593
|
preParams().iconUrl ||
|
|
6591
|
-
|
|
6594
|
+
blockauthLogo
|
|
6592
6595
|
"
|
|
6593
6596
|
class="bal-ba-glass-logo bas-h-16"
|
|
6594
6597
|
alt="app logo"
|
|
@@ -7156,12 +7159,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7156
7159
|
}]
|
|
7157
7160
|
}], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], isTextArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTextArea", required: false }] }], labelText: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelText", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], isDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDisabled", required: false }] }], isReadOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "isReadOnly", required: false }] }], enableError: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableError", required: false }] }], enableWhiteSpaces: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableWhiteSpaces", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], errorMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorMessage", required: false }] }], info: [{ type: i0.Input, args: [{ isSignal: true, alias: "info", required: false }] }], infoMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "infoMessage", required: false }] }], isBgRedWhenError: [{ type: i0.Input, args: [{ isSignal: true, alias: "isBgRedWhenError", required: false }] }], bgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColor", required: false }] }], bgColorWhenError: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColorWhenError", required: false }] }], isInputValueManaged: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInputValueManaged", required: false }] }], inputValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputValue", required: false }] }], floatingLabelTextStyles: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelTextStyles", required: false }] }], floatingLabelBgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelBgColor", required: false }] }], borderRadiusClassNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderRadiusClassNames", required: false }] }], displayClassNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayClassNames", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], widthClassNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "widthClassNames", required: false }] }], blueStyles: [{ type: i0.Input, args: [{ isSignal: true, alias: "blueStyles", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], inputTestId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputTestId", required: false }] }], changedInputValue: [{ type: i0.Output, args: ["changedInputValue"] }] } });
|
|
7158
7161
|
|
|
7159
|
-
const defaultItems = [
|
|
7160
|
-
{ name: 'Select', value: 'service_default', icon_url: 'https://picsum.photos/200/300', isOptionSelected: true },
|
|
7161
|
-
{ name: 'Block-Auth', value: 'blockauth', icon_url: 'https://dashboard.block-auth.io/img/blockauth_logo.png', isOptionSelected: false },
|
|
7162
|
-
{ name: 'Auditech', value: 'auditech', icon_url: 'https://auditech.es/wp-content/uploads/2020/05/Auditech-Iso-Mobile.png', isOptionSelected: false },
|
|
7163
|
-
{ name: 'Microsoft', value: 'microsoft', icon_url: 'https://avatars.githubusercontent.com/u/6154722?s=200&v=4', isOptionSelected: false },
|
|
7164
|
-
];
|
|
7165
7162
|
// - `setIsOpen` (callback) -> emit `isOpenChange` (dos-vías idiomática Angular).
|
|
7166
7163
|
// - `onChangeSelectedItem` -> emit `changeSelectedItem`.
|
|
7167
7164
|
// - `callbackWhenClickOutside` -> emit `clickOutside`.
|
|
@@ -7188,8 +7185,8 @@ class DropdownBaseComponent {
|
|
|
7188
7185
|
this.floatingLabelTxt = input('Select an item', ...(ngDevMode ? [{ debugName: "floatingLabelTxt" }] : []));
|
|
7189
7186
|
this.floatingLabelBgColor = input('bas-bg-white', ...(ngDevMode ? [{ debugName: "floatingLabelBgColor" }] : []));
|
|
7190
7187
|
this.size = input('base', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
7191
|
-
this.items = input(
|
|
7192
|
-
this.selectedItem = input(
|
|
7188
|
+
this.items = input.required(...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
7189
|
+
this.selectedItem = input.required(...(ngDevMode ? [{ debugName: "selectedItem" }] : []));
|
|
7193
7190
|
this.keyName = input('value', ...(ngDevMode ? [{ debugName: "keyName" }] : []));
|
|
7194
7191
|
this.titleKeyName = input('name', ...(ngDevMode ? [{ debugName: "titleKeyName" }] : []));
|
|
7195
7192
|
this.width = input('100%', ...(ngDevMode ? [{ debugName: "width" }] : []));
|
|
@@ -7302,7 +7299,7 @@ class DropdownBaseComponent {
|
|
|
7302
7299
|
return classNames;
|
|
7303
7300
|
}
|
|
7304
7301
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DropdownBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7305
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DropdownBaseComponent, isStandalone: true, selector: "ba-dropdown-base", inputs: { btnId: { classPropertyName: "btnId", publicName: "btnId", isSignal: true, isRequired: false, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, showTitle: { classPropertyName: "showTitle", publicName: "showTitle", isSignal: true, isRequired: false, transformFunction: null }, showFloatingLabel: { classPropertyName: "showFloatingLabel", publicName: "showFloatingLabel", isSignal: true, isRequired: false, transformFunction: null }, floatingLabelTxt: { classPropertyName: "floatingLabelTxt", publicName: "floatingLabelTxt", isSignal: true, isRequired: false, transformFunction: null }, floatingLabelBgColor: { classPropertyName: "floatingLabelBgColor", publicName: "floatingLabelBgColor", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired:
|
|
7302
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DropdownBaseComponent, isStandalone: true, selector: "ba-dropdown-base", inputs: { btnId: { classPropertyName: "btnId", publicName: "btnId", isSignal: true, isRequired: false, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, showTitle: { classPropertyName: "showTitle", publicName: "showTitle", isSignal: true, isRequired: false, transformFunction: null }, showFloatingLabel: { classPropertyName: "showFloatingLabel", publicName: "showFloatingLabel", isSignal: true, isRequired: false, transformFunction: null }, floatingLabelTxt: { classPropertyName: "floatingLabelTxt", publicName: "floatingLabelTxt", isSignal: true, isRequired: false, transformFunction: null }, floatingLabelBgColor: { classPropertyName: "floatingLabelBgColor", publicName: "floatingLabelBgColor", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, selectedItem: { classPropertyName: "selectedItem", publicName: "selectedItem", isSignal: true, isRequired: true, transformFunction: null }, keyName: { classPropertyName: "keyName", publicName: "keyName", isSignal: true, isRequired: false, transformFunction: null }, titleKeyName: { classPropertyName: "titleKeyName", publicName: "titleKeyName", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, dropdownHeight: { classPropertyName: "dropdownHeight", publicName: "dropdownHeight", isSignal: true, isRequired: false, transformFunction: null }, classNames: { classPropertyName: "classNames", publicName: "classNames", isSignal: true, isRequired: false, transformFunction: null }, displayClassNames: { classPropertyName: "displayClassNames", publicName: "displayClassNames", isSignal: true, isRequired: false, transformFunction: null }, borderRadiusClassNames: { classPropertyName: "borderRadiusClassNames", publicName: "borderRadiusClassNames", isSignal: true, isRequired: false, transformFunction: null }, container: { classPropertyName: "container", publicName: "container", isSignal: true, isRequired: false, transformFunction: null }, isInsideModal: { classPropertyName: "isInsideModal", publicName: "isInsideModal", isSignal: true, isRequired: false, transformFunction: null }, showStatusIndicator: { classPropertyName: "showStatusIndicator", publicName: "showStatusIndicator", isSignal: true, isRequired: false, transformFunction: null }, showImg: { classPropertyName: "showImg", publicName: "showImg", isSignal: true, isRequired: false, transformFunction: null }, showCheckWhenActive: { classPropertyName: "showCheckWhenActive", publicName: "showCheckWhenActive", isSignal: true, isRequired: false, transformFunction: null }, manageActiveWithIsOptionSelected: { classPropertyName: "manageActiveWithIsOptionSelected", publicName: "manageActiveWithIsOptionSelected", isSignal: true, isRequired: false, transformFunction: null }, blueStyles: { classPropertyName: "blueStyles", publicName: "blueStyles", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isOpenChange: "isOpenChange", changeSelectedItem: "changeSelectedItem", clickOutside: "clickOutside" }, viewQueries: [{ propertyName: "ddBaseContainer", first: true, predicate: ["ddBaseContainer"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
7306
7303
|
<div
|
|
7307
7304
|
[class]="
|
|
7308
7305
|
'bas-box-border bas-group bas-relative bas-items-center ' + displayClassNames() + ' ' + classNames() + ' ' +
|
|
@@ -7565,7 +7562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7565
7562
|
}
|
|
7566
7563
|
</div>
|
|
7567
7564
|
`, styles: [".ba-pop{animation:ba-pop-in .15s ease;transform-origin:top}@keyframes ba-pop-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}\n"] }]
|
|
7568
|
-
}], ctorParameters: () => [], propDecorators: { ddBaseContainer: [{ type: i0.ViewChild, args: ['ddBaseContainer', { isSignal: true }] }], btnId: [{ type: i0.Input, args: [{ isSignal: true, alias: "btnId", required: false }] }], isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], showTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTitle", required: false }] }], showFloatingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFloatingLabel", required: false }] }], floatingLabelTxt: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelTxt", required: false }] }], floatingLabelBgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelBgColor", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required:
|
|
7565
|
+
}], ctorParameters: () => [], propDecorators: { ddBaseContainer: [{ type: i0.ViewChild, args: ['ddBaseContainer', { isSignal: true }] }], btnId: [{ type: i0.Input, args: [{ isSignal: true, alias: "btnId", required: false }] }], isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], showTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTitle", required: false }] }], showFloatingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFloatingLabel", required: false }] }], floatingLabelTxt: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelTxt", required: false }] }], floatingLabelBgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatingLabelBgColor", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }], selectedItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItem", required: true }] }], keyName: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyName", required: false }] }], titleKeyName: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleKeyName", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], dropdownHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownHeight", required: false }] }], classNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "classNames", required: false }] }], displayClassNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayClassNames", required: false }] }], borderRadiusClassNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderRadiusClassNames", required: false }] }], container: [{ type: i0.Input, args: [{ isSignal: true, alias: "container", required: false }] }], isInsideModal: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInsideModal", required: false }] }], showStatusIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStatusIndicator", required: false }] }], showImg: [{ type: i0.Input, args: [{ isSignal: true, alias: "showImg", required: false }] }], showCheckWhenActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCheckWhenActive", required: false }] }], manageActiveWithIsOptionSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "manageActiveWithIsOptionSelected", required: false }] }], blueStyles: [{ type: i0.Input, args: [{ isSignal: true, alias: "blueStyles", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], isOpenChange: [{ type: i0.Output, args: ["isOpenChange"] }], changeSelectedItem: [{ type: i0.Output, args: ["changeSelectedItem"] }], clickOutside: [{ type: i0.Output, args: ["clickOutside"] }] } });
|
|
7569
7566
|
|
|
7570
7567
|
/** Ítems localizados del filtro de web-type ("Web 2"/"Web 3" iguales en ambos idiomas). */
|
|
7571
7568
|
const makeWebTypeItems = (t) => [
|
|
@@ -8195,6 +8192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
8195
8192
|
*/
|
|
8196
8193
|
class ProvidersSectionComponent {
|
|
8197
8194
|
constructor() {
|
|
8195
|
+
this.blockauthLogo = imgUrlByService('blockauth');
|
|
8198
8196
|
this.container = input(null, ...(ngDevMode ? [{ debugName: "container" }] : []));
|
|
8199
8197
|
// Acepta `undefined` (ContentSignup lo pasa así cuando no hay config). En
|
|
8200
8198
|
// react un prop `undefined` recae en el default por parámetro; en Angular una
|
|
@@ -8281,7 +8279,7 @@ class ProvidersSectionComponent {
|
|
|
8281
8279
|
[class]="'bas-box-border bas-grid bas-items-center bas-justify-center ' + sectionContainerClassNames()"
|
|
8282
8280
|
>
|
|
8283
8281
|
<div class="bas-box-border bas-flex bas-h-[52px] bas-w-full bas-flex-row bas-items-center bas-justify-start bas-gap-2 bas-pl-2">
|
|
8284
|
-
<img src="
|
|
8282
|
+
<img [src]="blockauthLogo" width="34" height="34" alt="Block-Auth" />
|
|
8285
8283
|
<h2 [class]="'bas-m-0 bas-text-2xl bas-font-normal bas-text-[#00509a] ' + h2ClassNames()">
|
|
8286
8284
|
{{ titleTxt() ?? t('connectWith') }}
|
|
8287
8285
|
</h2>
|
|
@@ -8336,7 +8334,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
8336
8334
|
[class]="'bas-box-border bas-grid bas-items-center bas-justify-center ' + sectionContainerClassNames()"
|
|
8337
8335
|
>
|
|
8338
8336
|
<div class="bas-box-border bas-flex bas-h-[52px] bas-w-full bas-flex-row bas-items-center bas-justify-start bas-gap-2 bas-pl-2">
|
|
8339
|
-
<img src="
|
|
8337
|
+
<img [src]="blockauthLogo" width="34" height="34" alt="Block-Auth" />
|
|
8340
8338
|
<h2 [class]="'bas-m-0 bas-text-2xl bas-font-normal bas-text-[#00509a] ' + h2ClassNames()">
|
|
8341
8339
|
{{ titleTxt() ?? t('connectWith') }}
|
|
8342
8340
|
</h2>
|
|
@@ -9690,6 +9688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9690
9688
|
|
|
9691
9689
|
class FlowBlockAuthComponent {
|
|
9692
9690
|
constructor() {
|
|
9691
|
+
this.blockauthLogo = imgUrlByService('blockauth');
|
|
9693
9692
|
this.showDropdownWhenConnected = input(true, ...(ngDevMode ? [{ debugName: "showDropdownWhenConnected" }] : []));
|
|
9694
9693
|
this.isInsideModal = input(false, ...(ngDevMode ? [{ debugName: "isInsideModal" }] : []));
|
|
9695
9694
|
/** Modal container that scopes the dropdown's click-outside listener when `isInsideModal`. */
|
|
@@ -9886,7 +9885,7 @@ class FlowBlockAuthComponent {
|
|
|
9886
9885
|
>
|
|
9887
9886
|
<img
|
|
9888
9887
|
slot="icon"
|
|
9889
|
-
src="
|
|
9888
|
+
[src]="blockauthLogo"
|
|
9890
9889
|
width="26"
|
|
9891
9890
|
height="26"
|
|
9892
9891
|
alt="BlockAuth"
|
|
@@ -9922,7 +9921,7 @@ class FlowBlockAuthComponent {
|
|
|
9922
9921
|
@if (ws().ready && ui().isSdkSignedIn) {
|
|
9923
9922
|
<img
|
|
9924
9923
|
slot="icon"
|
|
9925
|
-
src="
|
|
9924
|
+
[src]="blockauthLogo"
|
|
9926
9925
|
width="26"
|
|
9927
9926
|
height="26"
|
|
9928
9927
|
alt="BlockAuth"
|
|
@@ -10013,7 +10012,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10013
10012
|
>
|
|
10014
10013
|
<img
|
|
10015
10014
|
slot="icon"
|
|
10016
|
-
src="
|
|
10015
|
+
[src]="blockauthLogo"
|
|
10017
10016
|
width="26"
|
|
10018
10017
|
height="26"
|
|
10019
10018
|
alt="BlockAuth"
|
|
@@ -10049,7 +10048,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10049
10048
|
@if (ws().ready && ui().isSdkSignedIn) {
|
|
10050
10049
|
<img
|
|
10051
10050
|
slot="icon"
|
|
10052
|
-
src="
|
|
10051
|
+
[src]="blockauthLogo"
|
|
10053
10052
|
width="26"
|
|
10054
10053
|
height="26"
|
|
10055
10054
|
alt="BlockAuth"
|
|
@@ -10102,6 +10101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10102
10101
|
|
|
10103
10102
|
class LinkBlockAuthComponent {
|
|
10104
10103
|
constructor() {
|
|
10104
|
+
this.blockauthLogo = imgUrlByService('blockauth');
|
|
10105
10105
|
this.buttonText = input('', ...(ngDevMode ? [{ debugName: "buttonText" }] : []));
|
|
10106
10106
|
this.btnClassNames = input('', ...(ngDevMode ? [{ debugName: "btnClassNames" }] : []));
|
|
10107
10107
|
this.btnTextClassNames = input('', ...(ngDevMode ? [{ debugName: "btnTextClassNames" }] : []));
|
|
@@ -10174,7 +10174,7 @@ class LinkBlockAuthComponent {
|
|
|
10174
10174
|
>
|
|
10175
10175
|
<img
|
|
10176
10176
|
slot="icon"
|
|
10177
|
-
src="
|
|
10177
|
+
[src]="blockauthLogo"
|
|
10178
10178
|
width="26"
|
|
10179
10179
|
height="26"
|
|
10180
10180
|
alt="BlockAuth"
|
|
@@ -10214,7 +10214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
10214
10214
|
>
|
|
10215
10215
|
<img
|
|
10216
10216
|
slot="icon"
|
|
10217
|
-
src="
|
|
10217
|
+
[src]="blockauthLogo"
|
|
10218
10218
|
width="26"
|
|
10219
10219
|
height="26"
|
|
10220
10220
|
alt="BlockAuth"
|