@rdlabo/ionic-angular-kit 21.6.11 → 22.0.0-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/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-angular-kit",
3
- "version": "21.6.11",
3
+ "version": "22.0.0-0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-dev/ionic-angular-library.git"
7
7
  },
8
8
  "peerDependencies": {
9
- "@angular/common": "^21.0.0",
10
- "@angular/core": "^21.0.0",
11
- "@angular/forms": "^21.0.0",
12
- "@angular/router": "^21.0.0",
13
- "@angular/service-worker": "^21.0.0",
14
- "@ionic/angular": "^8.0.0",
9
+ "@angular/common": ">=21.0.0 <23.0.0",
10
+ "@angular/core": ">=21.0.0 <23.0.0",
11
+ "@angular/forms": ">=21.0.0 <23.0.0",
12
+ "@angular/router": ">=21.0.0 <23.0.0",
13
+ "@angular/service-worker": ">=21.0.0 <23.0.0",
14
+ "@ionic/angular": "^9.0.0",
15
15
  "@ionic/storage-angular": "^4.0.0",
16
- "@capacitor/core": ">=6.0.0 <9.0.0",
17
- "@capacitor/app": ">=6.0.0 <9.0.0",
18
- "@capawesome/capacitor-live-update": ">=6.0.0 <9.0.0",
19
- "@capacitor/haptics": ">=6.0.0 <9.0.0",
20
- "@capacitor/keyboard": ">=6.0.0 <9.0.0",
21
- "@capacitor/network": ">=6.0.0 <9.0.0",
22
- "@capacitor/preferences": ">=6.0.0 <9.0.0",
23
- "@capacitor/status-bar": ">=6.0.0 <9.0.0",
24
- "@capacitor-community/in-app-review": ">=6.0.0 <9.0.0",
16
+ "@capacitor/core": ">=7.0.0 <9.0.0",
17
+ "@capacitor/app": ">=7.0.0 <9.0.0",
18
+ "@capawesome/capacitor-live-update": ">=7.0.0 <9.0.0",
19
+ "@capacitor/haptics": ">=7.0.0 <9.0.0",
20
+ "@capacitor/keyboard": ">=7.0.0 <9.0.0",
21
+ "@capacitor/network": ">=7.0.0 <9.0.0",
22
+ "@capacitor/preferences": ">=7.0.0 <9.0.0",
23
+ "@capacitor/status-bar": ">=7.0.0 <9.0.0",
24
+ "@capacitor-community/in-app-review": ">=7.0.0 <9.0.0",
25
25
  "@capacitor-community/facebook-login": ">=8.0.0 <9.0.0",
26
26
  "@capacitor-community/apple-sign-in": "*",
27
- "@rdlabo/capacitor-brotherprint": ">=6.0.0 <9.0.0",
27
+ "@rdlabo/capacitor-brotherprint": ">=7.0.0 <9.0.0",
28
28
  "dom-to-image-more": "^3.0.0",
29
29
  "pdf-lib": "^1.17.1",
30
30
  "firebase": ">=11 <13",
@@ -941,14 +941,30 @@ interface OfflineMutationPersistenceOptions {
941
941
  /** Initial value when no durable preference exists. Defaults to `true`. */
942
942
  defaultEnabled?: boolean;
943
943
  }
944
- /** Product-independent native offline persistence settings. */
945
- interface OfflineKitOptions {
944
+ /**
945
+ * Native SQLite encryption settings for {@link OfflineKitOptions}.
946
+ *
947
+ * Encryption is the default: omit `databaseEncryption` or set it to `true`, and
948
+ * `createEncryptionKey` is required. The factory may be omitted only when
949
+ * `databaseEncryption` is explicitly `false`.
950
+ */
951
+ type OfflineKitEncryptionOptions = {
952
+ /** Enables SQLCipher for native SQLite. Defaults to `true`. */
953
+ databaseEncryption?: true;
954
+ /** Creates the native database encryption key on first install. Required when encryption is enabled. */
955
+ createEncryptionKey: () => Promise<string>;
956
+ } | {
957
+ /** Disables SQLCipher and opens a plaintext native SQLite database. */
958
+ databaseEncryption: false;
959
+ /** Unused when native encryption is disabled. */
960
+ createEncryptionKey?: () => Promise<string>;
961
+ };
962
+ /** Product-independent native offline persistence settings shared by all encryption modes. */
963
+ interface OfflineKitOptionsBase {
946
964
  /** Runtime transport mode. Defaults to full synchronized replica/outbox behavior. */
947
965
  mode?: 'synchronized' | 'readCacheOnly';
948
- /** Encrypted SQLite database name used on iOS and Android. */
966
+ /** SQLite database name used on iOS and Android. */
949
967
  databaseName: string;
950
- /** Creates the native database encryption key on first install. Required on iOS and Android. */
951
- createEncryptionKey?: () => Promise<string>;
952
968
  /** Versioned product replica schema applied to native SQLite during initialization. */
953
969
  replicaSchema: OfflineReplicaSchemaBundle;
954
970
  /**
@@ -982,6 +998,14 @@ interface OfflineKitOptions {
982
998
  */
983
999
  onStorageUnavailable?: (error: OfflineStorageUnavailableError) => void | Promise<void>;
984
1000
  }
1001
+ /**
1002
+ * Product-independent native offline persistence settings.
1003
+ *
1004
+ * Encryption is the default: omit `databaseEncryption` or set it to `true`, and
1005
+ * `createEncryptionKey` is required. The factory may be omitted only when
1006
+ * `databaseEncryption` is explicitly `false`.
1007
+ */
1008
+ type OfflineKitOptions = OfflineKitOptionsBase & OfflineKitEncryptionOptions;
985
1009
  /** Exact versioned wire contract exchanged by pull transport. */
986
1010
  interface OfflineWireProtocolFingerprint {
987
1011
  /** Monotonic product wire protocol version. */
@@ -1227,7 +1251,7 @@ interface OfflineLocalResetMarkerStore {
1227
1251
  interface OfflineLocalResetReloadTarget {
1228
1252
  reload(): void;
1229
1253
  }
1230
- /** Native SQLite connection lifecycle required to delete Kit's encrypted database safely. */
1254
+ /** Native SQLite connection lifecycle required to delete Kit's database safely. */
1231
1255
  interface OfflineLocalResetSqliteConnection {
1232
1256
  checkConnectionsConsistency(): Promise<{
1233
1257
  result?: boolean;
@@ -1235,10 +1259,14 @@ interface OfflineLocalResetSqliteConnection {
1235
1259
  isDatabase(database: string): Promise<{
1236
1260
  result?: boolean;
1237
1261
  }>;
1262
+ isDatabaseEncrypted?(database: string): Promise<{
1263
+ result?: boolean;
1264
+ }>;
1238
1265
  createConnection(database: string, encrypted: boolean, mode: string, version: number, readonly: boolean): Promise<{
1239
1266
  delete(): Promise<void>;
1240
1267
  }>;
1241
1268
  closeConnection(database: string, readonly: boolean): Promise<void>;
1269
+ clearEncryptionSecret?(): Promise<void>;
1242
1270
  }
1243
1271
  /** Options for {@link requestOfflineLocalReset}. */
1244
1272
  interface RequestOfflineLocalResetOptions {
@@ -1252,15 +1280,31 @@ interface RecoverOfflineLocalResetOptions {
1252
1280
  markerKey: string;
1253
1281
  sqliteConnection: OfflineLocalResetSqliteConnection;
1254
1282
  /**
1255
- * Kit database followed only by product databases using Kit's same encrypted
1256
- * secret-mode, connection-version-1, read/write lifecycle.
1283
+ * Kit database followed only by product databases using Kit's same encryption
1284
+ * mode, connection-version-1, read/write lifecycle.
1257
1285
  * Delete databases with other connection settings in {@link additionalCleanup}.
1258
1286
  */
1259
1287
  kitCompatibleDatabaseNames: readonly [string, ...string[]];
1288
+ /** Connection mode used only to obtain the public `delete()` handle. Defaults to encrypted for compatibility. */
1289
+ databaseEncryption?: boolean;
1260
1290
  nativePlatform?: boolean;
1261
1291
  /** Product-owned cleanup, such as a media database or files, run before the marker is removed. */
1262
1292
  additionalCleanup?: () => Promise<void>;
1263
1293
  }
1294
+ /** Options for a versioned destructive encryption-mode migration. */
1295
+ interface MigrateOfflineDatabaseEncryptionOptions {
1296
+ markerStore: OfflineLocalResetMarkerStore;
1297
+ markerKey: string;
1298
+ migrationVersion: string;
1299
+ sqliteConnection: OfflineLocalResetSqliteConnection;
1300
+ kitCompatibleDatabaseNames: readonly [string, ...string[]];
1301
+ /** Existing database mode used only to obtain a valid public `delete()` handle. */
1302
+ sourceDatabaseEncryption: boolean | 'detect';
1303
+ /** Removes the obsolete plugin secret after every database and product cleanup succeeds. */
1304
+ clearEncryptionSecret?: boolean;
1305
+ nativePlatform?: boolean;
1306
+ additionalCleanup?: () => Promise<void>;
1307
+ }
1264
1308
  /** Persists an explicit destructive reset request, then reloads into a cold bootstrap. */
1265
1309
  declare function requestOfflineLocalReset(options: RequestOfflineLocalResetOptions): Promise<void>;
1266
1310
  /**
@@ -1270,6 +1314,14 @@ declare function requestOfflineLocalReset(options: RequestOfflineLocalResetOptio
1270
1314
  * Kit never invokes this helper automatically in response to a storage failure.
1271
1315
  */
1272
1316
  declare function recoverOfflineLocalReset(options: RecoverOfflineLocalResetOptions): Promise<boolean>;
1317
+ /**
1318
+ * Deletes native databases once when changing their encryption mode.
1319
+ *
1320
+ * Products with a remote source of truth can use this before Angular bootstrap instead of
1321
+ * decrypting local replicas. The completion marker is written only after every deletion and
1322
+ * product cleanup succeeds, so interruption retries safely on the next cold start.
1323
+ */
1324
+ declare function migrateOfflineDatabaseEncryption(options: MigrateOfflineDatabaseEncryptionOptions): Promise<boolean>;
1273
1325
 
1274
1326
  /** Identity policy for a successful offline mutation response. */
1275
1327
  type OfflineMutationEnvelopeIdPolicy = 'required' | 'optional' | 'forbidden';
@@ -1444,6 +1496,11 @@ interface CommunitySqliteDriver {
1444
1496
  }): Promise<{
1445
1497
  databaseId: string;
1446
1498
  }>;
1499
+ /** Executes multiple schema statements through one native bridge call when the driver supports it. */
1500
+ executeBatch?(options: {
1501
+ databaseId: string;
1502
+ statements: readonly string[];
1503
+ }): Promise<void>;
1447
1504
  execute(options: {
1448
1505
  databaseId: string;
1449
1506
  statement: string;
@@ -1470,6 +1527,7 @@ interface CommunitySqliteDriver {
1470
1527
  /** Open community SQLite database surface used by the standard driver. */
1471
1528
  interface CommunitySqliteDatabase {
1472
1529
  open(): Promise<void>;
1530
+ execute?(statements: string, transaction?: boolean): Promise<unknown>;
1473
1531
  run(statement: string, values?: unknown[], transaction?: boolean): Promise<unknown>;
1474
1532
  query(statement: string, values?: unknown[]): Promise<{
1475
1533
  values?: unknown[];
@@ -1479,7 +1537,7 @@ interface CommunitySqliteDatabase {
1479
1537
  rollbackTransaction(): Promise<unknown>;
1480
1538
  }
1481
1539
  /**
1482
- * Community SQLite connection surface used to provision encrypted databases.
1540
+ * Community SQLite connection surface used to provision native databases.
1483
1541
  *
1484
1542
  * One object must exclusively own a native plugin connection registry. Consumers must not create another
1485
1543
  * wrapper over the same native plugin or call `closeConnection` while its canonical driver is active.
@@ -1503,15 +1561,18 @@ declare const COMMUNITY_SQLITE: InjectionToken<CommunitySqliteDriver | null>;
1503
1561
  */
1504
1562
  declare function createRandomOfflineEncryptionKey(): Promise<string>;
1505
1563
  /**
1506
- * Create the canonical encrypted `@capacitor-community/sqlite` driver for a connection owner.
1564
+ * Create the canonical `@capacitor-community/sqlite` driver for a connection owner.
1507
1565
  *
1508
- * The supplied connection is the identity and exclusive owner of its native plugin connections. Repeated
1509
- * calls with the same object return the same driver so normal concurrent access cannot be mistaken for a
1510
- * WebView-reload orphan. Consumers must route database access through this driver and must not close or
1511
- * replace the connection while the driver is active. A real WebView reload creates a new JavaScript owner,
1512
- * allowing the driver to close the native connection orphaned by the previous owner and recreate it.
1566
+ * Native databases are encrypted by default. Pass `encrypted: false` for plaintext. The supplied
1567
+ * connection is the identity and exclusive owner of its native plugin connections. Repeated calls
1568
+ * with the same object and the same encryption mode return the same driver so normal concurrent
1569
+ * access cannot be mistaken for a WebView-reload orphan. A later call with a different encryption
1570
+ * mode throws instead of silently reusing the cached driver. Consumers must route database access
1571
+ * through this driver and must not close or replace the connection while the driver is active. A
1572
+ * real WebView reload creates a new JavaScript owner, allowing the driver to close the native
1573
+ * connection orphaned by the previous owner and recreate it.
1513
1574
  */
1514
- declare function createCommunitySqliteDriver(connection: CommunitySqliteConnection): CommunitySqliteDriver;
1575
+ declare function createCommunitySqliteDriver(connection: CommunitySqliteConnection, encrypted?: boolean): CommunitySqliteDriver;
1515
1576
  type SQLiteValue = string | number | null;
1516
1577
  /** Native iOS/Android repository backed by encrypted `@capacitor-community/sqlite`. */
1517
1578
  declare class SqliteOfflineRepository implements OfflineRepository {
@@ -1546,7 +1607,7 @@ declare class SqliteOfflineRepository implements OfflineRepository {
1546
1607
  }
1547
1608
 
1548
1609
  /** Configuration for the standard offline repository, outbox, and request-policy runtime. */
1549
- interface ProvideOfflineOptionsBase extends OfflineKitOptions {
1610
+ interface ProvideOfflineOptionsBase extends Omit<OfflineKitOptions, 'databaseEncryption' | 'createEncryptionKey'> {
1550
1611
  /** Product policies that map URLs and DTOs to generic replica/outbox operations. */
1551
1612
  requestPolicies: readonly Type<OfflineRequestPolicy>[];
1552
1613
  /** Optional product hooks for entity projection and command cleanup. */
@@ -1559,10 +1620,8 @@ interface ProvideOfflineOptionsBase extends OfflineKitOptions {
1559
1620
  sqliteConnection?: CommunitySqliteConnection;
1560
1621
  }
1561
1622
  /** Full replica pull and durable Outbox synchronization. */
1562
- interface ProvideSynchronizedOfflineOptions extends ProvideOfflineOptionsBase {
1623
+ type ProvideSynchronizedOfflineOptions = ProvideOfflineOptionsBase & OfflineKitEncryptionOptions & {
1563
1624
  mode?: 'synchronized';
1564
- /** Creates the encrypted native database key on first install. */
1565
- createEncryptionKey: () => Promise<string>;
1566
1625
  /** Product policies that replace matched writes with atomic local-first mutations. */
1567
1626
  mutationPolicies?: readonly Type<OfflineMutationRequestPolicy>[];
1568
1627
  /** Product adapter that sends opaque commands to its API. */
@@ -1578,23 +1637,21 @@ interface ProvideSynchronizedOfflineOptions extends ProvideOfflineOptionsBase {
1578
1637
  * call the projector from product code.
1579
1638
  */
1580
1639
  aggregateIntentProjector: Type<OfflineAggregateIntentProjector>;
1581
- }
1640
+ };
1582
1641
  /** Server- or external-source read cache with no mutation transport or Outbox. */
1583
- interface ProvideReadCacheOfflineOptions extends ProvideOfflineOptionsBase {
1642
+ type ProvideReadCacheOfflineOptions = ProvideOfflineOptionsBase & OfflineKitEncryptionOptions & {
1584
1643
  mode: 'readCacheOnly';
1585
- /** Creates the encrypted native cache database key on first install. Unused by the web repository. */
1586
- createEncryptionKey: () => Promise<string>;
1587
1644
  mutationPolicies?: never;
1588
1645
  mutationPersistence?: never;
1589
1646
  commandExecutor?: never;
1590
1647
  replicaPuller?: never;
1591
- }
1648
+ };
1592
1649
  type ProvideOfflineOptions = ProvideSynchronizedOfflineOptions | ProvideReadCacheOfflineOptions;
1593
1650
  /**
1594
1651
  * Provide the standard scoped offline runtime.
1595
1652
  *
1596
1653
  * @remarks
1597
- * Web uses Ionic Storage. Native iOS/Android uses encrypted `@capacitor-community/sqlite`. The application owns
1654
+ * Web uses Ionic Storage. Native iOS/Android uses `@capacitor-community/sqlite`, encrypted by default. The application owns
1598
1655
  * URL/DTO policy and command execution; the kit owns persistence, ordering, retries, and session
1599
1656
  * isolation.
1600
1657
  *
@@ -1753,5 +1810,5 @@ declare class OfflineRequestFallbackService {
1753
1810
  static ɵprov: i0.ɵɵInjectableDeclaration<OfflineRequestFallbackService>;
1754
1811
  }
1755
1812
 
1756
- export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_AGGREGATE_INTENT_PROJECTOR, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_MUTATION_REQUEST_POLICIES, OFFLINE_REPLICA_PROJECTOR, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_COMPLETE_HEADER, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineMutationPersistenceDisabledError, OfflineMutationPersistencePendingError, OfflineMutationPersistenceRequiresOnlineError, OfflineMutationPersistenceService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineStorageUnavailableError, OfflineSyncService, SqliteOfflineRepository, assertOfflineLocalId, assertOfflineReplicaGeneratedRemoteId, assertOfflineReplicaNaturalKeyBaseline, assertSupportedOfflineMode, booleanColumn, canonicalOfflineCommandIdentity, canonicalOfflinePrincipalId, canonicalOfflineRemoteIdentity, canonicalOfflineReplicaIdentity, canonicalOfflineReplicaRowKey, commandFootprintKeys, commandIdentityFromReplicaIdentity, commandIdentityMatchesReplicaRow, createCommunitySqliteDriver, createOfflineAuthBridge, createRandomOfflineEncryptionKey, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, generatedId, ignored, integer, isOfflineAggregateIntentConflict, isOfflineFallbackError, isOfflineStorageUnavailableError, json, localOnly, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineAggregateIntentMutations, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineCommandWithBaseRevision, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReadEmission, offlineReadSource, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, real, recoverOfflineLocalReset, replicaAddressFromIdentity, requestOfflineLocalReset, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, shouldCommitOfflineCollection, supportsSynchronizedOfflineRepository, text };
1757
- export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, EnqueueOfflineCommandIdentity, EnqueueOfflineGeneratedIdentity, EnqueueOfflineNaturalIdentity, OfflineAggregateIntentConflict, OfflineAggregateIntentProjectInput, OfflineAggregateIntentProjectResult, OfflineAggregateIntentProjection, OfflineAggregateIntentProjector, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandIdentity, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineGeneratedRemoteId, OfflineKitOptions, OfflineLocalResetMarkerStore, OfflineLocalResetReloadTarget, OfflineLocalResetSqliteConnection, OfflineLogoutAction, OfflineMutationEnvelope, OfflineMutationEnvelopeIdPolicy, OfflineMutationEnvelopeOptions, OfflineMutationEnvelopeValuesPolicy, OfflineMutationPersistenceAdapter, OfflineMutationPersistenceOptions, OfflineMutationRequestPlan, OfflineMutationRequestPolicy, OfflineNaturalKey, OfflineNaturalKeyValue, OfflineNetworkState, OfflineOutboxLimits, OfflinePrincipalId, OfflinePullAttention, OfflinePullAttentionReason, OfflineReadEmission, OfflineReadRequestPlan, OfflineReadResponseSource, OfflineReadStrategy, OfflineRemoteIdentity, OfflineReplicaAddress, OfflineReplicaChange, OfflineReplicaChangeBase, OfflineReplicaChangeBatch, OfflineReplicaColumnDef, OfflineReplicaCursor, OfflineReplicaEntityDefinition, OfflineReplicaEntitySchema, OfflineReplicaEntityScope, OfflineReplicaFieldDescriptor, OfflineReplicaFieldPolicy, OfflineReplicaIdentity, OfflineReplicaIdentityDescriptor, OfflineReplicaIgnoredDef, OfflineReplicaLocalOnlyDef, OfflineReplicaMigration, OfflineReplicaMutation, OfflineReplicaNaturalKeyDef, OfflineReplicaProjector, OfflineReplicaPullPage, OfflineReplicaPullProjection, OfflineReplicaPullRequest, OfflineReplicaPuller, OfflineReplicaReconciliationTarget, OfflineReplicaRemoteIdDef, OfflineReplicaRemoteIdRelease, OfflineReplicaRemoteIdentity, OfflineReplicaRow, OfflineReplicaRowKey, OfflineReplicaSchemaBundle, OfflineReplicaSchemaDefinition, OfflineReplicaSqliteAffinity, OfflineReplicaStorageKind, OfflineReplicaSyncState, OfflineReplicaTransaction, OfflineReplicaVisibility, OfflineReplicaWebMigrationCallback, OfflineReplicaWebMigrationResult, OfflineReplicaWebMigrationRow, OfflineReplicaWireChange, OfflineReplicaWireIdentity, OfflineReplicaWirePullPage, OfflineRepository, OfflineRepositoryReader, OfflineRequestPlan, OfflineRequestPolicy, OfflineResponseSource, OfflineResumeRemoteSessionOptions, OfflineScope, OfflineSessionManifest, OfflineSessionTransitionLease, OfflineStorageState, OfflineStorageUnavailableReason, OfflineSyncContext, OfflineSyncSession, OfflineSyncState, OfflineWireProtocolFingerprint, PreparedOfflineBatchOptions, PreparedOfflineCommand, ProvideOfflineOptions, ProvideReadCacheOfflineOptions, ProvideSynchronizedOfflineOptions, RecoverOfflineLocalResetOptions, RequestOfflineLocalResetOptions };
1813
+ export { COMMUNITY_SQLITE, DEFAULT_OFFLINE_COMMAND_HOOKS, IonicOfflineRepository, OFFLINE_AGGREGATE_INTENT_PROJECTOR, OFFLINE_BYPASS, OFFLINE_COMMAND_EXECUTOR, OFFLINE_COMMAND_HOOKS, OFFLINE_KIT_OPTIONS, OFFLINE_MUTATION_REQUEST_POLICIES, OFFLINE_REPLICA_PROJECTOR, OFFLINE_REPLICA_PULLER, OFFLINE_REPOSITORY, OFFLINE_REQUEST_POLICIES, OFFLINE_RESPONSE_COMPLETE_HEADER, OFFLINE_RESPONSE_HEADER, OFFLINE_RETRY_RANDOM, OFFLINE_SCHEMA_VERSION, OFFLINE_SYNC_CONTEXT, OfflineCommandInFlightError, OfflineCoordinatorService, OfflineMutationPersistenceDisabledError, OfflineMutationPersistencePendingError, OfflineMutationPersistenceRequiresOnlineError, OfflineMutationPersistenceService, OfflineMutationPolicyConflictError, OfflineMutationProtocolError, OfflineMutationRequestPolicyRegistry, OfflineNetworkService, OfflineOutboxCapacityError, OfflinePayloadValidationError, OfflineReplicaMutationCoordinator, OfflineReplicaPullService, OfflineReplicaSchemaMismatchError, OfflineRequestFallbackService, OfflineRequestPolicyRegistry, OfflineSessionService, OfflineStorageUnavailableError, OfflineSyncService, SqliteOfflineRepository, assertOfflineLocalId, assertOfflineReplicaGeneratedRemoteId, assertOfflineReplicaNaturalKeyBaseline, assertSupportedOfflineMode, booleanColumn, canonicalOfflineCommandIdentity, canonicalOfflinePrincipalId, canonicalOfflineRemoteIdentity, canonicalOfflineReplicaIdentity, canonicalOfflineReplicaRowKey, commandFootprintKeys, commandIdentityFromReplicaIdentity, commandIdentityMatchesReplicaRow, createCommunitySqliteDriver, createOfflineAuthBridge, createRandomOfflineEncryptionKey, datetime, decodeOfflineReplicaValues, defineOfflineReplicaSchema, defineReplicaEntity, encodeOfflineReplicaValues, generatedId, ignored, integer, isOfflineAggregateIntentConflict, isOfflineFallbackError, isOfflineStorageUnavailableError, json, localOnly, migrateOfflineDatabaseEncryption, naturalKey, normalizeOfflineNaturalKey, normalizeOfflineReplicaPullPage, nullable, offlineAggregateIntentMutations, offlineCommandLookupIdentity, offlineCommandTargetFromReplicaRow, offlineCommandWithBaseRevision, offlineGeneratedReplicaIdentity, offlineInterceptor, offlineNaturalKeyFromValues, offlineNaturalReplicaIdentity, offlineReadEmission, offlineReadSource, offlineReplicaRemoteIdentity, offlineRetryDelayMs, offlineSessionManifestAllows, parseOfflineCommandIdentity, parseOfflineMutationEnvelope, parseOfflinePrincipalId, projectOfflineReplicaValues, provideOffline, provideOfflineMutationRequestPolicy, provideOfflineRequestPolicy, real, recoverOfflineLocalReset, replicaAddressFromIdentity, requestOfflineLocalReset, requirePositiveOfflineInteger, selectOfflineRepository, serializeOfflineCommandIdentity, sha256OfflineReplicaSchema, shouldCommitOfflineCollection, supportsSynchronizedOfflineRepository, text };
1814
+ export type { CommunitySqliteConnection, CommunitySqliteDatabase, CommunitySqliteDriver, CreateOfflineAuthBridgeOptions, EnqueueOfflineCommand, EnqueueOfflineCommandIdentity, EnqueueOfflineGeneratedIdentity, EnqueueOfflineNaturalIdentity, MigrateOfflineDatabaseEncryptionOptions, OfflineAggregateIntentConflict, OfflineAggregateIntentProjectInput, OfflineAggregateIntentProjectResult, OfflineAggregateIntentProjection, OfflineAggregateIntentProjector, OfflineAuthBridgeConfig, OfflineAuthExchangeContext, OfflineAuthExchangePhase, OfflineAuthResumeContext, OfflineCommand, OfflineCommandExecutor, OfflineCommandHooks, OfflineCommandIdentity, OfflineCommandResult, OfflineCommandState, OfflineCommandTarget, OfflineGeneratedRemoteId, OfflineKitEncryptionOptions, OfflineKitOptions, OfflineLocalResetMarkerStore, OfflineLocalResetReloadTarget, OfflineLocalResetSqliteConnection, OfflineLogoutAction, OfflineMutationEnvelope, OfflineMutationEnvelopeIdPolicy, OfflineMutationEnvelopeOptions, OfflineMutationEnvelopeValuesPolicy, OfflineMutationPersistenceAdapter, OfflineMutationPersistenceOptions, OfflineMutationRequestPlan, OfflineMutationRequestPolicy, OfflineNaturalKey, OfflineNaturalKeyValue, OfflineNetworkState, OfflineOutboxLimits, OfflinePrincipalId, OfflinePullAttention, OfflinePullAttentionReason, OfflineReadEmission, OfflineReadRequestPlan, OfflineReadResponseSource, OfflineReadStrategy, OfflineRemoteIdentity, OfflineReplicaAddress, OfflineReplicaChange, OfflineReplicaChangeBase, OfflineReplicaChangeBatch, OfflineReplicaColumnDef, OfflineReplicaCursor, OfflineReplicaEntityDefinition, OfflineReplicaEntitySchema, OfflineReplicaEntityScope, OfflineReplicaFieldDescriptor, OfflineReplicaFieldPolicy, OfflineReplicaIdentity, OfflineReplicaIdentityDescriptor, OfflineReplicaIgnoredDef, OfflineReplicaLocalOnlyDef, OfflineReplicaMigration, OfflineReplicaMutation, OfflineReplicaNaturalKeyDef, OfflineReplicaProjector, OfflineReplicaPullPage, OfflineReplicaPullProjection, OfflineReplicaPullRequest, OfflineReplicaPuller, OfflineReplicaReconciliationTarget, OfflineReplicaRemoteIdDef, OfflineReplicaRemoteIdRelease, OfflineReplicaRemoteIdentity, OfflineReplicaRow, OfflineReplicaRowKey, OfflineReplicaSchemaBundle, OfflineReplicaSchemaDefinition, OfflineReplicaSqliteAffinity, OfflineReplicaStorageKind, OfflineReplicaSyncState, OfflineReplicaTransaction, OfflineReplicaVisibility, OfflineReplicaWebMigrationCallback, OfflineReplicaWebMigrationResult, OfflineReplicaWebMigrationRow, OfflineReplicaWireChange, OfflineReplicaWireIdentity, OfflineReplicaWirePullPage, OfflineRepository, OfflineRepositoryReader, OfflineRequestPlan, OfflineRequestPolicy, OfflineResponseSource, OfflineResumeRemoteSessionOptions, OfflineScope, OfflineSessionManifest, OfflineSessionTransitionLease, OfflineStorageState, OfflineStorageUnavailableReason, OfflineSyncContext, OfflineSyncSession, OfflineSyncState, OfflineWireProtocolFingerprint, PreparedOfflineBatchOptions, PreparedOfflineCommand, ProvideOfflineOptions, ProvideReadCacheOfflineOptions, ProvideSynchronizedOfflineOptions, RecoverOfflineLocalResetOptions, RequestOfflineLocalResetOptions };
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, EnvironmentProviders, InputSignalWithTransform, OnInit, ElementRef, WritableSignal, InputSignal, Signal, OutputEmitterRef } from '@angular/core';
3
- import { ModalOptions, PopoverOptions, ToastOptions, LoadingOptions, AlertController, ActionSheetController } from '@ionic/angular/standalone';
3
+ import { ModalOptions, PopoverOptions, ToastOptions, LoadingOptions, AlertController, ActionSheetController } from '@ionic/angular';
4
4
  import { PluginListenerHandle } from '@capacitor/core';
5
5
  import { Observable } from 'rxjs';
6
6
  import { RouterStateSnapshot, UrlTree, CanActivateFn } from '@angular/router';