@rdlabo/ionic-angular-kit 21.2.0 → 21.3.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.
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ A small ergonomic kit for Ionic Angular applications. It provides:
|
|
|
6
6
|
- **KitOverlayController** — a unified presenter for Ionic Modal, Toast, and Alert
|
|
7
7
|
- **Auth guards** — functional `CanActivateFn` guards for a 4-state auth model
|
|
8
8
|
- **HTTP interceptor** — a fleet-canonical auth + retry + error-hook interceptor
|
|
9
|
+
- **KitRealtimeConnection** — foreground/network-aware Hibernation WebSocket reconnect and resync
|
|
9
10
|
- **KitAuthInputDirective** — sign-in email remember/prefill + iOS autofill workaround for `ion-input`
|
|
10
11
|
- **kitClearStoragePreservingKeys** — `clear()` that restores selected keys (`KIT_LAST_AUTH_EMAIL_KEY`, `KIT_THEME_STORAGE_KEY`, …)
|
|
11
12
|
|
|
@@ -31,6 +32,7 @@ Kit shares the repo `v*` release line with the other libraries (see root README
|
|
|
31
32
|
| `@ionic/angular` | `^8.0.0` |
|
|
32
33
|
| `@ionic/storage-angular` | `^4.0.0` |
|
|
33
34
|
| `@capacitor/core` | `>=6.0.0 <9.0.0` |
|
|
35
|
+
| `@capacitor/app` | `>=6.0.0 <9.0.0` |
|
|
34
36
|
| `@capacitor/haptics` | `>=6.0.0 <9.0.0` |
|
|
35
37
|
| `@capacitor/keyboard` | `>=6.0.0 <9.0.0` |
|
|
36
38
|
| `@capacitor/network` | `>=6.0.0 <9.0.0` |
|
|
@@ -47,6 +49,19 @@ Feature-scoped peers are only needed by the features that use them (`status-bar`
|
|
|
47
49
|
|
|
48
50
|
## Features
|
|
49
51
|
|
|
52
|
+
### KitRealtimeConnection
|
|
53
|
+
|
|
54
|
+
An abstract Hibernation WebSocket client for application realtime services. Subclasses supply
|
|
55
|
+
connection intent and one or more `{ url, protocols }` targets; the kit owns foreground/network
|
|
56
|
+
suspension, all-target reconnect, exponential backoff, open and half-open detection, ping/pong,
|
|
57
|
+
self-echo annotation, and `reconnected$` resync signaling. Use `kitRealtimeProtocols()` to pass
|
|
58
|
+
authentication and the stable `KIT_REALTIME_CLIENT_ID` through WebSocket subprotocols without
|
|
59
|
+
putting credentials in the URL.
|
|
60
|
+
|
|
61
|
+
Domain event types, authorization, room selection, and REST resync behavior remain in the app.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
50
65
|
### KitStorageService
|
|
51
66
|
|
|
52
67
|
A typed wrapper around `@ionic/storage-angular` that guarantees writes are never silently dropped even when called immediately after service creation.
|
|
@@ -10,7 +10,8 @@ import { Router } from '@angular/router';
|
|
|
10
10
|
import { map, mergeMap, catchError, timeout, tap } from 'rxjs/operators';
|
|
11
11
|
import { HttpErrorResponse, HttpResponse } from '@angular/common/http';
|
|
12
12
|
import { Network } from '@capacitor/network';
|
|
13
|
-
import { from, throwError, retry, timer, Observable, startWith } from 'rxjs';
|
|
13
|
+
import { from, throwError, retry, timer, Subject, Observable, startWith } from 'rxjs';
|
|
14
|
+
import { App } from '@capacitor/app';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Thin, typed wrapper around `@ionic/storage-angular`.
|
|
@@ -1565,6 +1566,368 @@ const kitAuthInterceptor = (request, next) => {
|
|
|
1565
1566
|
}));
|
|
1566
1567
|
};
|
|
1567
1568
|
|
|
1569
|
+
/** Stable per-tab/application-run ID shared by realtime connections and write headers. */
|
|
1570
|
+
const KIT_REALTIME_CLIENT_ID = crypto.randomUUID();
|
|
1571
|
+
/** Convert an HTTP(S) endpoint to its WebSocket equivalent. */
|
|
1572
|
+
function toKitWebSocketUrl(url) {
|
|
1573
|
+
const parsed = new URL(url);
|
|
1574
|
+
if (parsed.protocol === 'https:') {
|
|
1575
|
+
parsed.protocol = 'wss:';
|
|
1576
|
+
}
|
|
1577
|
+
else if (parsed.protocol === 'http:') {
|
|
1578
|
+
parsed.protocol = 'ws:';
|
|
1579
|
+
}
|
|
1580
|
+
return parsed.toString();
|
|
1581
|
+
}
|
|
1582
|
+
/** Build the standard application/auth/client WebSocket subprotocol list. */
|
|
1583
|
+
function kitRealtimeProtocols(protocol, options = {}) {
|
|
1584
|
+
const protocols = [protocol];
|
|
1585
|
+
if (options.authToken) {
|
|
1586
|
+
protocols.push(`${options.authPrefix ?? 'auth.'}${options.authToken}`);
|
|
1587
|
+
}
|
|
1588
|
+
protocols.push(`${options.clientPrefix ?? 'client.'}${options.clientId ?? KIT_REALTIME_CLIENT_ID}`);
|
|
1589
|
+
return protocols;
|
|
1590
|
+
}
|
|
1591
|
+
/** Detect a half-open WebSocket when no pong or event arrives before the timeout. */
|
|
1592
|
+
class KitRealtimeLivenessWatchdog {
|
|
1593
|
+
#timer = null;
|
|
1594
|
+
constructor(timeoutMs, onTimeout) {
|
|
1595
|
+
this.timeoutMs = timeoutMs;
|
|
1596
|
+
this.onTimeout = onTimeout;
|
|
1597
|
+
}
|
|
1598
|
+
/** Restart the liveness deadline after receiving server activity. */
|
|
1599
|
+
reset() {
|
|
1600
|
+
this.clear();
|
|
1601
|
+
this.#timer = setTimeout(() => {
|
|
1602
|
+
this.#timer = null;
|
|
1603
|
+
this.onTimeout();
|
|
1604
|
+
}, this.timeoutMs);
|
|
1605
|
+
}
|
|
1606
|
+
/** Cancel the current liveness deadline. */
|
|
1607
|
+
clear() {
|
|
1608
|
+
if (!this.#timer) {
|
|
1609
|
+
return;
|
|
1610
|
+
}
|
|
1611
|
+
clearTimeout(this.#timer);
|
|
1612
|
+
this.#timer = null;
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* Reconnecting Hibernation WebSocket client for Ionic/Capacitor applications.
|
|
1617
|
+
*
|
|
1618
|
+
* Subclasses provide connection intent and one or more targets. The base owns foreground/network
|
|
1619
|
+
* suspension, exponential backoff, open/liveness timeouts, runtime-friendly application pings,
|
|
1620
|
+
* all-target atomic reconnect, and a resync signal after connectivity is restored.
|
|
1621
|
+
*/
|
|
1622
|
+
class KitRealtimeConnection {
|
|
1623
|
+
#events$;
|
|
1624
|
+
#reconnected$;
|
|
1625
|
+
#options;
|
|
1626
|
+
#sockets;
|
|
1627
|
+
#health;
|
|
1628
|
+
#opening;
|
|
1629
|
+
#generation;
|
|
1630
|
+
#reconnectTimer;
|
|
1631
|
+
#pingTimer;
|
|
1632
|
+
#reconnectAttempt;
|
|
1633
|
+
#hasOpened;
|
|
1634
|
+
#needsResync;
|
|
1635
|
+
#isAppActive;
|
|
1636
|
+
#isNetworkConnected;
|
|
1637
|
+
#lifecycleRegistration;
|
|
1638
|
+
#lifecycleGeneration;
|
|
1639
|
+
constructor(options = {}) {
|
|
1640
|
+
this.#events$ = new Subject();
|
|
1641
|
+
this.#reconnected$ = new Subject();
|
|
1642
|
+
this.listeners = [];
|
|
1643
|
+
this.#sockets = new Set();
|
|
1644
|
+
this.#health = new Map();
|
|
1645
|
+
this.#opening = false;
|
|
1646
|
+
this.#generation = 0;
|
|
1647
|
+
this.#reconnectTimer = null;
|
|
1648
|
+
this.#pingTimer = null;
|
|
1649
|
+
this.#reconnectAttempt = 0;
|
|
1650
|
+
this.#hasOpened = false;
|
|
1651
|
+
this.#needsResync = false;
|
|
1652
|
+
this.#isAppActive = true;
|
|
1653
|
+
this.#isNetworkConnected = true;
|
|
1654
|
+
this.#lifecycleRegistration = null;
|
|
1655
|
+
this.#lifecycleGeneration = 0;
|
|
1656
|
+
/** All parsed events received by this connection. */
|
|
1657
|
+
this.events$ = this.#events$.asObservable();
|
|
1658
|
+
/** Emits once after every fully restored connection cycle, prompting consumers to resync via REST. */
|
|
1659
|
+
this.reconnected$ = this.#reconnected$.asObservable();
|
|
1660
|
+
this.#options = {
|
|
1661
|
+
clientId: options.clientId ?? KIT_REALTIME_CLIENT_ID,
|
|
1662
|
+
ping: options.ping ?? 'ping',
|
|
1663
|
+
pong: options.pong ?? 'pong',
|
|
1664
|
+
maxBackoffMs: options.maxBackoffMs ?? 30_000,
|
|
1665
|
+
openTimeoutMs: options.openTimeoutMs ?? 15_000,
|
|
1666
|
+
pingIntervalMs: options.pingIntervalMs ?? 30_000,
|
|
1667
|
+
livenessTimeoutMs: options.livenessTimeoutMs ?? 70_000,
|
|
1668
|
+
};
|
|
1669
|
+
this.id = this.#options.clientId;
|
|
1670
|
+
}
|
|
1671
|
+
/** Whether every configured socket is currently open. */
|
|
1672
|
+
get isStreamOpen() {
|
|
1673
|
+
return this.#sockets.size > 0 && [...this.#sockets].every((socket) => socket.readyState === WebSocket.OPEN);
|
|
1674
|
+
}
|
|
1675
|
+
/** Whether every configured socket has produced recent server activity. */
|
|
1676
|
+
get isStreamHealthy() {
|
|
1677
|
+
return (this.isStreamOpen &&
|
|
1678
|
+
[...this.#health.values()].every(({ lastActivityAt }) => Date.now() - lastActivityAt < this.#options.livenessTimeoutMs));
|
|
1679
|
+
}
|
|
1680
|
+
get #canOpen() {
|
|
1681
|
+
return this.shouldConnect && this.#isAppActive && this.#isNetworkConnected;
|
|
1682
|
+
}
|
|
1683
|
+
/** Hook used by authenticated clients to invalidate a token after handshake failure. */
|
|
1684
|
+
handleConnectionFailure() {
|
|
1685
|
+
return Promise.resolve();
|
|
1686
|
+
}
|
|
1687
|
+
/** Parse a text WebSocket message into one or more domain events. */
|
|
1688
|
+
parseMessage(data) {
|
|
1689
|
+
const parsed = JSON.parse(data);
|
|
1690
|
+
return Array.isArray(parsed) ? parsed : [parsed];
|
|
1691
|
+
}
|
|
1692
|
+
/** Factory seam for platform-specific WebSocket implementations and unit tests. */
|
|
1693
|
+
createWebSocket(url, protocols) {
|
|
1694
|
+
return new WebSocket(url, protocols);
|
|
1695
|
+
}
|
|
1696
|
+
/** Factory seam for Capacitor app-state listeners. */
|
|
1697
|
+
addAppStateListener(listener) {
|
|
1698
|
+
return App.addListener('appStateChange', listener);
|
|
1699
|
+
}
|
|
1700
|
+
/** Factory seam for Capacitor network-status listeners. */
|
|
1701
|
+
addNetworkStatusListener(listener) {
|
|
1702
|
+
return Network.addListener('networkStatusChange', listener);
|
|
1703
|
+
}
|
|
1704
|
+
/** Register foreground/network listeners exactly once, cleaning up handles that resolve after disconnect. */
|
|
1705
|
+
async registerLifecycleListeners() {
|
|
1706
|
+
if (this.listeners.length > 0) {
|
|
1707
|
+
return;
|
|
1708
|
+
}
|
|
1709
|
+
if (this.#lifecycleRegistration) {
|
|
1710
|
+
return this.#lifecycleRegistration;
|
|
1711
|
+
}
|
|
1712
|
+
const generation = this.#lifecycleGeneration;
|
|
1713
|
+
this.#lifecycleRegistration = (async () => {
|
|
1714
|
+
const appHandle = await this.addAppStateListener(({ isActive }) => {
|
|
1715
|
+
this.#isAppActive = isActive;
|
|
1716
|
+
if (this.#canOpen) {
|
|
1717
|
+
void this.open();
|
|
1718
|
+
}
|
|
1719
|
+
else {
|
|
1720
|
+
this.suspend();
|
|
1721
|
+
}
|
|
1722
|
+
});
|
|
1723
|
+
if (generation !== this.#lifecycleGeneration) {
|
|
1724
|
+
await appHandle.remove();
|
|
1725
|
+
return;
|
|
1726
|
+
}
|
|
1727
|
+
this.listeners.push(appHandle);
|
|
1728
|
+
const networkHandle = await this.addNetworkStatusListener(({ connected }) => {
|
|
1729
|
+
this.#isNetworkConnected = connected;
|
|
1730
|
+
if (this.#canOpen) {
|
|
1731
|
+
void this.open();
|
|
1732
|
+
}
|
|
1733
|
+
else {
|
|
1734
|
+
this.suspend();
|
|
1735
|
+
}
|
|
1736
|
+
});
|
|
1737
|
+
if (generation !== this.#lifecycleGeneration) {
|
|
1738
|
+
await networkHandle.remove();
|
|
1739
|
+
return;
|
|
1740
|
+
}
|
|
1741
|
+
this.listeners.push(networkHandle);
|
|
1742
|
+
})();
|
|
1743
|
+
try {
|
|
1744
|
+
await this.#lifecycleRegistration;
|
|
1745
|
+
}
|
|
1746
|
+
finally {
|
|
1747
|
+
this.#lifecycleRegistration = null;
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
/** Remove all lifecycle listeners, including listeners whose async registration has not completed yet. */
|
|
1751
|
+
removeLifecycleListeners() {
|
|
1752
|
+
this.#lifecycleGeneration += 1;
|
|
1753
|
+
this.listeners.forEach((handle) => void handle.remove());
|
|
1754
|
+
this.listeners.length = 0;
|
|
1755
|
+
}
|
|
1756
|
+
/** Suspend sockets without changing the subclass connection intent. */
|
|
1757
|
+
suspend() {
|
|
1758
|
+
this.#clearReconnectTimer();
|
|
1759
|
+
this.#closeSockets();
|
|
1760
|
+
}
|
|
1761
|
+
/** Reset resync and backoff history when the owning session ends. */
|
|
1762
|
+
resetConnectionState() {
|
|
1763
|
+
this.#hasOpened = false;
|
|
1764
|
+
this.#needsResync = false;
|
|
1765
|
+
this.#reconnectAttempt = 0;
|
|
1766
|
+
}
|
|
1767
|
+
/** Open every current target, or schedule an atomic reconnect if any target fails. */
|
|
1768
|
+
async open() {
|
|
1769
|
+
if (!this.#canOpen || this.#opening || this.#sockets.size > 0) {
|
|
1770
|
+
return;
|
|
1771
|
+
}
|
|
1772
|
+
this.#clearReconnectTimer();
|
|
1773
|
+
this.#opening = true;
|
|
1774
|
+
const generation = ++this.#generation;
|
|
1775
|
+
try {
|
|
1776
|
+
const targets = await this.buildSocketTargets();
|
|
1777
|
+
if (!this.#canOpen || generation !== this.#generation) {
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
if (targets.length === 0) {
|
|
1781
|
+
this.#opening = false;
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
const openedSockets = new Set();
|
|
1785
|
+
for (const target of targets) {
|
|
1786
|
+
const socket = this.createWebSocket(toKitWebSocketUrl(target.url), target.protocols);
|
|
1787
|
+
const health = {
|
|
1788
|
+
lastActivityAt: 0,
|
|
1789
|
+
openTimer: null,
|
|
1790
|
+
watchdog: new KitRealtimeLivenessWatchdog(this.#options.livenessTimeoutMs, () => this.#connectionFailed(generation)),
|
|
1791
|
+
};
|
|
1792
|
+
this.#sockets.add(socket);
|
|
1793
|
+
this.#health.set(socket, health);
|
|
1794
|
+
health.openTimer = setTimeout(() => this.#connectionFailed(generation), this.#options.openTimeoutMs);
|
|
1795
|
+
socket.onopen = () => {
|
|
1796
|
+
if (generation !== this.#generation) {
|
|
1797
|
+
return;
|
|
1798
|
+
}
|
|
1799
|
+
this.#clearOpenTimer(health);
|
|
1800
|
+
this.#markActivity(health);
|
|
1801
|
+
this.#startPing();
|
|
1802
|
+
openedSockets.add(socket);
|
|
1803
|
+
if (openedSockets.size !== targets.length) {
|
|
1804
|
+
return;
|
|
1805
|
+
}
|
|
1806
|
+
this.#opening = false;
|
|
1807
|
+
if (this.#hasOpened || this.#needsResync) {
|
|
1808
|
+
this.#reconnected$.next();
|
|
1809
|
+
}
|
|
1810
|
+
this.#hasOpened = true;
|
|
1811
|
+
this.#needsResync = false;
|
|
1812
|
+
};
|
|
1813
|
+
socket.onmessage = ({ data }) => {
|
|
1814
|
+
if (generation !== this.#generation || typeof data !== 'string') {
|
|
1815
|
+
return;
|
|
1816
|
+
}
|
|
1817
|
+
this.#reconnectAttempt = 0;
|
|
1818
|
+
this.#markActivity(health);
|
|
1819
|
+
if (data === this.#options.pong) {
|
|
1820
|
+
return;
|
|
1821
|
+
}
|
|
1822
|
+
try {
|
|
1823
|
+
for (const event of this.parseMessage(data)) {
|
|
1824
|
+
this.#events$.next({ ...event, isSelf: event.originId === this.id });
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
catch {
|
|
1828
|
+
// Ignore malformed application messages while retaining the healthy socket.
|
|
1829
|
+
}
|
|
1830
|
+
};
|
|
1831
|
+
socket.onerror = () => this.#connectionFailed(generation);
|
|
1832
|
+
socket.onclose = () => this.#connectionFailed(generation);
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
catch {
|
|
1836
|
+
this.#connectionFailed(generation);
|
|
1837
|
+
}
|
|
1838
|
+
finally {
|
|
1839
|
+
if (generation === this.#generation && this.#sockets.size === 0) {
|
|
1840
|
+
this.#opening = false;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
#connectionFailed(generation) {
|
|
1845
|
+
if (generation !== this.#generation) {
|
|
1846
|
+
return;
|
|
1847
|
+
}
|
|
1848
|
+
if ([...this.#sockets].some((socket) => socket.readyState === WebSocket.OPEN)) {
|
|
1849
|
+
this.#needsResync = true;
|
|
1850
|
+
}
|
|
1851
|
+
this.#closeSockets();
|
|
1852
|
+
void this.handleConnectionFailure()
|
|
1853
|
+
.catch(() => undefined)
|
|
1854
|
+
.finally(() => this.#scheduleReconnect());
|
|
1855
|
+
}
|
|
1856
|
+
#markActivity(health) {
|
|
1857
|
+
health.lastActivityAt = Date.now();
|
|
1858
|
+
health.watchdog.reset();
|
|
1859
|
+
}
|
|
1860
|
+
#startPing() {
|
|
1861
|
+
if (this.#pingTimer) {
|
|
1862
|
+
return;
|
|
1863
|
+
}
|
|
1864
|
+
this.#pingTimer = setInterval(() => {
|
|
1865
|
+
for (const socket of this.#sockets) {
|
|
1866
|
+
if (socket.readyState === WebSocket.OPEN) {
|
|
1867
|
+
socket.send(this.#options.ping);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
}, this.#options.pingIntervalMs);
|
|
1871
|
+
}
|
|
1872
|
+
#closeSockets() {
|
|
1873
|
+
this.#generation += 1;
|
|
1874
|
+
this.#opening = false;
|
|
1875
|
+
this.#clearPingTimer();
|
|
1876
|
+
const sockets = this.#sockets;
|
|
1877
|
+
this.#sockets = new Set();
|
|
1878
|
+
for (const socket of sockets) {
|
|
1879
|
+
const health = this.#health.get(socket);
|
|
1880
|
+
if (health) {
|
|
1881
|
+
health.watchdog.clear();
|
|
1882
|
+
this.#clearOpenTimer(health);
|
|
1883
|
+
}
|
|
1884
|
+
this.#health.delete(socket);
|
|
1885
|
+
socket.onopen = null;
|
|
1886
|
+
socket.onmessage = null;
|
|
1887
|
+
socket.onerror = null;
|
|
1888
|
+
socket.onclose = null;
|
|
1889
|
+
try {
|
|
1890
|
+
socket.close(1000, 'client suspended');
|
|
1891
|
+
}
|
|
1892
|
+
catch {
|
|
1893
|
+
// Reconnect processing continues even if a CONNECTING socket cannot close cleanly.
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
#scheduleReconnect() {
|
|
1898
|
+
if (!this.#canOpen || this.#reconnectTimer || this.#sockets.size > 0) {
|
|
1899
|
+
return;
|
|
1900
|
+
}
|
|
1901
|
+
const delay = Math.min(1000 * 2 ** this.#reconnectAttempt, this.#options.maxBackoffMs);
|
|
1902
|
+
this.#reconnectAttempt += 1;
|
|
1903
|
+
this.#reconnectTimer = setTimeout(() => {
|
|
1904
|
+
this.#reconnectTimer = null;
|
|
1905
|
+
void this.open();
|
|
1906
|
+
}, delay);
|
|
1907
|
+
}
|
|
1908
|
+
#clearOpenTimer(health) {
|
|
1909
|
+
if (!health.openTimer) {
|
|
1910
|
+
return;
|
|
1911
|
+
}
|
|
1912
|
+
clearTimeout(health.openTimer);
|
|
1913
|
+
health.openTimer = null;
|
|
1914
|
+
}
|
|
1915
|
+
#clearPingTimer() {
|
|
1916
|
+
if (!this.#pingTimer) {
|
|
1917
|
+
return;
|
|
1918
|
+
}
|
|
1919
|
+
clearInterval(this.#pingTimer);
|
|
1920
|
+
this.#pingTimer = null;
|
|
1921
|
+
}
|
|
1922
|
+
#clearReconnectTimer() {
|
|
1923
|
+
if (!this.#reconnectTimer) {
|
|
1924
|
+
return;
|
|
1925
|
+
}
|
|
1926
|
+
clearTimeout(this.#reconnectTimer);
|
|
1927
|
+
this.#reconnectTimer = null;
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1568
1931
|
/**
|
|
1569
1932
|
* Merge a newly fetched page of items into an existing list by id, keeping the result sorted.
|
|
1570
1933
|
*
|
|
@@ -1829,5 +2192,5 @@ function mountViewModel(host, onMount) {
|
|
|
1829
2192
|
* Generated bundle index. Do not edit.
|
|
1830
2193
|
*/
|
|
1831
2194
|
|
|
1832
|
-
export { KIT_AUTH_CONFIG, KIT_HTTP_CONFIG, KIT_LAST_AUTH_EMAIL_KEY, KIT_OVERLAY_CONFIG, KIT_THEME_STORAGE_KEY, KitAuthInputDirective, KitLoadingController, KitMaintenanceController, KitOverlayController, KitReloadAlertController, KitStorageService, arrayConcatById, disableHandler, isMaintenanceError, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, provideKitAuth, provideKitHttp, provideKitOverlay };
|
|
2195
|
+
export { KIT_AUTH_CONFIG, KIT_HTTP_CONFIG, KIT_LAST_AUTH_EMAIL_KEY, KIT_OVERLAY_CONFIG, KIT_REALTIME_CLIENT_ID, KIT_THEME_STORAGE_KEY, KitAuthInputDirective, KitLoadingController, KitMaintenanceController, KitOverlayController, KitRealtimeConnection, KitRealtimeLivenessWatchdog, KitReloadAlertController, KitStorageService, arrayConcatById, disableHandler, isMaintenanceError, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRealtimeProtocols, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, provideKitAuth, provideKitHttp, provideKitOverlay, toKitWebSocketUrl };
|
|
1833
2196
|
//# sourceMappingURL=rdlabo-ionic-angular-kit.mjs.map
|