http-request-manager 19.2.5 → 22.0.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,40 +1,42 @@
1
1
  import * as rxjs from 'rxjs';
2
2
  import { Observable, Subscription, BehaviorSubject, OperatorFunction } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, OnDestroy, Injector, OnInit, EventEmitter, ModuleWithProviders } from '@angular/core';
4
+ import { InjectionToken, OnDestroy, Injector, DestroyRef, OnInit, OnChanges, SimpleChanges, EventEmitter, ModuleWithProviders } from '@angular/core';
5
5
  import { ComponentStore } from '@ngrx/component-store';
6
6
  import { HttpClient, HttpHeaders, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
7
- import * as i17 from 'toast-message-display';
7
+ import * as http_request_manager from 'http-request-manager';
8
+ import * as i18 from 'toast-message-display';
8
9
  import { ToastMessageDisplayService } from 'toast-message-display';
9
10
  import Dexie, { Table } from 'dexie';
10
- import * as i35 from '@ngx-translate/core';
11
+ import { AST } from 'node-sql-parser/build/mysql';
12
+ import * as i36 from '@ngx-translate/core';
11
13
  import { TranslateService } from '@ngx-translate/core';
12
14
  import * as _angular_forms from '@angular/forms';
13
15
  import { FormArray, FormBuilder, FormControl } from '@angular/forms';
14
16
  import { DataSource } from '@angular/cdk/collections';
15
17
  import * as i4 from '@angular/common';
16
18
  import * as i7 from '@angular/material/button';
17
- import * as i20 from '@angular/material/tabs';
18
- import * as i21 from '@angular/material/select';
19
- import * as i22 from '@angular/material/chips';
20
- import * as i23 from '@angular/material/menu';
19
+ import * as i21 from '@angular/material/tabs';
20
+ import * as i22 from '@angular/material/select';
21
+ import * as i23 from '@angular/material/chips';
22
+ import * as i24 from '@angular/material/menu';
21
23
  import * as i5 from '@angular/material/icon';
22
- import * as i25 from '@angular/material/table';
23
- import * as i26 from '@angular/material/button-toggle';
24
- import * as i27 from '@angular/material/autocomplete';
25
- import * as i28 from '@angular/material/progress-bar';
24
+ import * as i26 from '@angular/material/table';
25
+ import * as i27 from '@angular/material/button-toggle';
26
+ import * as i28 from '@angular/material/autocomplete';
27
+ import * as i29 from '@angular/material/progress-bar';
26
28
  import * as i6 from '@angular/material/progress-spinner';
27
29
  import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
28
- import * as i30 from '@angular/material/slide-toggle';
29
- import * as i31 from '@angular/material/divider';
30
- import * as i32 from '@angular/material/form-field';
31
- import * as i33 from '@angular/material/input';
32
- import * as i34 from '@angular/material/toolbar';
33
- import * as i36 from '@angular/material/sidenav';
34
- import * as i37 from '@angular/material/datepicker';
35
- import * as i38 from '@angular/material/core';
30
+ import * as i31 from '@angular/material/slide-toggle';
31
+ import * as i32 from '@angular/material/divider';
32
+ import * as i33 from '@angular/material/form-field';
33
+ import * as i34 from '@angular/material/input';
34
+ import * as i35 from '@angular/material/toolbar';
35
+ import * as i37 from '@angular/material/sidenav';
36
+ import * as i38 from '@angular/material/datepicker';
37
+ import * as i39 from '@angular/material/core';
36
38
  import { ThemePalette } from '@angular/material/core';
37
- import * as i39 from '@angular/material/card';
39
+ import * as i40 from '@angular/material/card';
38
40
 
39
41
  declare enum StorageType {
40
42
  GLOBAL = 0,
@@ -66,9 +68,9 @@ interface StorageOptionInterface {
66
68
  declare class StorageOption implements StorageOptionInterface {
67
69
  id?: string | undefined;
68
70
  name: string;
69
- data?: any;
71
+ data?: any | undefined;
70
72
  options?: SettingOptions | undefined;
71
- constructor(id?: string | undefined, name?: string, data?: any, options?: SettingOptions | undefined);
73
+ constructor(id?: string | undefined, name?: string, data?: any | undefined, options?: SettingOptions | undefined);
72
74
  static adapt(item?: any): StorageOption;
73
75
  }
74
76
 
@@ -93,8 +95,8 @@ interface StorageDataInterface {
93
95
  }
94
96
  declare class StorageData implements StorageDataInterface {
95
97
  id?: string | undefined;
96
- data?: any;
97
- constructor(id?: string | undefined, data?: any);
98
+ data?: any | undefined;
99
+ constructor(id?: string | undefined, data?: any | undefined);
98
100
  static adapt(item?: any): StorageData;
99
101
  }
100
102
 
@@ -127,7 +129,7 @@ declare class SymmetricalEncryptionService {
127
129
  constructor();
128
130
  generateCipherKey(): string;
129
131
  encrypt(str: any, key?: string): string | undefined;
130
- decrypt(str: string, key?: string): string | null | undefined;
132
+ decrypt(str: string, key?: string): string | null;
131
133
  createSignature(url: string, len?: number): string;
132
134
  normalizeURL(url: string): string;
133
135
  generateSignature(url: string): string;
@@ -170,9 +172,9 @@ declare class WSOptions implements WSOptionsInterface {
170
172
  permissions?: string[] | undefined;
171
173
  channels?: string[] | undefined;
172
174
  wsUpdateChannels?: string[] | undefined;
173
- user?: any;
175
+ user?: any | undefined;
174
176
  retry?: RetryOptions | undefined;
175
- constructor(id?: string, wsServer?: string, jwtToken?: string, permissions?: string[] | undefined, channels?: string[] | undefined, wsUpdateChannels?: string[] | undefined, user?: any, retry?: RetryOptions | undefined);
177
+ constructor(id?: string, wsServer?: string, jwtToken?: string, permissions?: string[] | undefined, channels?: string[] | undefined, wsUpdateChannels?: string[] | undefined, user?: any | undefined, retry?: RetryOptions | undefined);
176
178
  static adapt(item?: any): WSOptions;
177
179
  }
178
180
 
@@ -201,30 +203,63 @@ interface ApiRequestInterface {
201
203
  stream?: boolean;
202
204
  streamType?: StreamType;
203
205
  displayError?: boolean;
206
+ displaySuccess?: boolean;
207
+ successMessage?: string;
208
+ errorMessage?: string;
204
209
  saveAs?: string;
205
210
  fileContentHeader?: string;
206
211
  ws?: WSOptions;
207
212
  env?: string;
213
+ uploadFiles?: File | File[];
214
+ uploadFieldName?: string;
215
+ uploadHttpMethod?: 'POST' | 'PUT';
216
+ allowedTypes?: string[];
217
+ maxFileSize?: number;
218
+ maxTotalSize?: number;
208
219
  }
209
220
  declare class ApiRequest implements ApiRequestInterface {
210
221
  server: string;
211
222
  path?: any[] | undefined;
212
- headers?: any;
213
- adapter?: any;
214
- mapper?: any;
223
+ headers?: any | undefined;
224
+ adapter?: any | undefined;
225
+ mapper?: any | undefined;
215
226
  polling?: number | undefined;
216
227
  retry?: RetryOptions | undefined;
217
228
  stream?: boolean | undefined;
218
229
  streamType?: StreamType | undefined;
219
230
  displayError?: boolean | undefined;
231
+ displaySuccess?: boolean | undefined;
232
+ successMessage?: string | undefined;
233
+ errorMessage?: string | undefined;
220
234
  saveAs?: string | undefined;
221
235
  fileContentHeader?: string | undefined;
222
236
  ws?: WSOptions | undefined;
223
237
  env?: string | undefined;
224
- constructor(server?: string, path?: any[] | undefined, headers?: any, adapter?: any, mapper?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, streamType?: StreamType | undefined, displayError?: boolean | undefined, saveAs?: string | undefined, fileContentHeader?: string | undefined, ws?: WSOptions | undefined, env?: string | undefined);
238
+ uploadFiles?: (File | File[]) | undefined;
239
+ uploadFieldName?: string | undefined;
240
+ uploadHttpMethod?: "POST" | "PUT" | undefined;
241
+ allowedTypes?: string[] | undefined;
242
+ maxFileSize?: number | undefined;
243
+ maxTotalSize?: number | undefined;
244
+ constructor(server?: string, path?: any[] | undefined, headers?: any | undefined, adapter?: any | undefined, mapper?: any | undefined, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, streamType?: StreamType | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined, successMessage?: string | undefined, errorMessage?: string | undefined, saveAs?: string | undefined, fileContentHeader?: string | undefined, ws?: WSOptions | undefined, env?: string | undefined, uploadFiles?: (File | File[]) | undefined, uploadFieldName?: string | undefined, uploadHttpMethod?: "POST" | "PUT" | undefined, allowedTypes?: string[] | undefined, maxFileSize?: number | undefined, maxTotalSize?: number | undefined);
225
245
  static adapt(item?: any): ApiRequest;
226
246
  }
227
247
 
248
+ interface StreamProgressInterface {
249
+ received: number;
250
+ total?: number;
251
+ percent: number;
252
+ stage: 'connecting' | 'streaming' | 'complete' | 'error';
253
+ }
254
+ declare class StreamProgressModel implements StreamProgressInterface {
255
+ received: number;
256
+ total?: number | undefined;
257
+ percent: number;
258
+ stage: 'connecting' | 'streaming' | 'complete' | 'error';
259
+ constructor(received?: number, total?: number | undefined, percent?: number, stage?: 'connecting' | 'streaming' | 'complete' | 'error');
260
+ static adapt(item?: any): StreamProgressModel;
261
+ }
262
+
228
263
  interface WSUserInterface {
229
264
  id: string;
230
265
  ldap?: string;
@@ -340,21 +375,101 @@ interface DatabaseStorageInterface {
340
375
  declare class DatabaseStorage implements DatabaseStorageInterface {
341
376
  table: string;
342
377
  expiresIn: '';
343
- constructor(table: string, expiresIn: '');
378
+ constructor(table: string | undefined, expiresIn: '');
344
379
  static adapt(item?: any): any;
345
380
  }
346
381
 
347
382
  interface RequestOptionsInterface {
348
383
  path: any[];
349
384
  headers: any;
385
+ forceRefresh?: boolean;
386
+ ignoreQueryParams?: string[];
387
+ queryParamsExpiresIn?: string | number;
350
388
  }
351
389
  declare class RequestOptions implements RequestOptionsInterface {
352
390
  path: any[];
353
391
  headers: {};
354
- constructor(path?: any[], headers?: {});
392
+ forceRefresh?: boolean | undefined;
393
+ ignoreQueryParams?: string[] | undefined;
394
+ queryParamsExpiresIn?: string | number | undefined;
395
+ constructor(path?: any[], headers?: {}, forceRefresh?: boolean | undefined, ignoreQueryParams?: string[] | undefined, queryParamsExpiresIn?: string | number | undefined);
355
396
  static adapt(item?: any): RequestOptions;
356
397
  }
357
398
 
399
+ interface OperationResultInterface {
400
+ success: boolean;
401
+ operation: 'CREATE' | 'UPDATE' | 'DELETE';
402
+ }
403
+ declare class OperationResultModel implements OperationResultInterface {
404
+ success: boolean;
405
+ operation: 'CREATE' | 'UPDATE' | 'DELETE';
406
+ constructor(success?: boolean, operation?: 'CREATE' | 'UPDATE' | 'DELETE');
407
+ static adapt(item?: any): OperationResultModel;
408
+ }
409
+
410
+ interface StreamConfigInterface {
411
+ streamType: StreamType;
412
+ totalHeader?: string;
413
+ }
414
+ declare class StreamConfigModel implements StreamConfigInterface {
415
+ streamType: StreamType;
416
+ totalHeader: string;
417
+ constructor(streamType?: StreamType, totalHeader?: string);
418
+ static adapt(item?: any): StreamConfigModel;
419
+ }
420
+
421
+ interface StreamOutputInterface<T = any> {
422
+ data: T[];
423
+ progress: StreamProgressModel;
424
+ endpoint?: string;
425
+ }
426
+ declare class StreamOutputModel<T = any> implements StreamOutputInterface<T> {
427
+ data: T[];
428
+ progress: StreamProgressModel;
429
+ endpoint?: string | undefined;
430
+ constructor(data?: T[], progress?: StreamProgressModel, endpoint?: string | undefined);
431
+ static adapt<T = any>(item?: any): StreamOutputModel<T>;
432
+ }
433
+
434
+ interface StreamEventMetadataInterface {
435
+ timestamp: Date;
436
+ streamType: StreamType;
437
+ contentLength?: number;
438
+ }
439
+ declare class StreamEventMetadataModel implements StreamEventMetadataInterface {
440
+ timestamp: Date;
441
+ streamType: StreamType;
442
+ contentLength?: number | undefined;
443
+ constructor(timestamp?: Date, streamType?: StreamType, contentLength?: number | undefined);
444
+ static adapt(item?: any): StreamEventMetadataModel;
445
+ }
446
+
447
+ interface StreamEventInterface<T = any> {
448
+ type: 'progress' | 'complete' | 'data';
449
+ data: T;
450
+ metadata?: StreamEventMetadataModel;
451
+ }
452
+ declare class StreamEventModel<T = any> implements StreamEventInterface<T> {
453
+ type: 'progress' | 'complete' | 'data';
454
+ data: T;
455
+ metadata?: StreamEventMetadataModel | undefined;
456
+ constructor(type?: 'progress' | 'complete' | 'data', data?: T, metadata?: StreamEventMetadataModel | undefined);
457
+ static adapt<T = any>(item?: any): StreamEventModel<T>;
458
+ }
459
+
460
+ interface ParsingResultInterface<T = any> {
461
+ success: boolean;
462
+ data?: T[];
463
+ error?: string;
464
+ }
465
+ declare class ParsingResultModel<T = any> implements ParsingResultInterface<T> {
466
+ success: boolean;
467
+ data?: T[] | undefined;
468
+ error?: string | undefined;
469
+ constructor(success?: boolean, data?: T[] | undefined, error?: string | undefined);
470
+ static adapt<T = any>(item?: any): ParsingResultModel<T>;
471
+ }
472
+
358
473
  interface TableSchemaDefInterface {
359
474
  table: string;
360
475
  schema: string;
@@ -385,14 +500,17 @@ declare class DbService extends Dexie {
385
500
  value: string | number;
386
501
  }, data: any): Promise<boolean>;
387
502
  protected createTable(tableName: string, schema: string): Promise<void>;
503
+ private _doCreateTable;
388
504
  protected DBOpened(): Promise<boolean>;
389
505
  private getCurrentSchema;
506
+ protected deleteAndReinitialize(): Observable<boolean>;
390
507
  protected cleanTableName(str: string): string;
391
508
  static ɵfac: i0.ɵɵFactoryDeclaration<DbService, never>;
392
509
  static ɵprov: i0.ɵɵInjectableDeclaration<DbService>;
393
510
  }
394
511
 
395
512
  declare class DatabaseManagerService extends DbService {
513
+ private localStorageManager;
396
514
  constructor();
397
515
  getDatabaseTables(): Observable<any[]>;
398
516
  databaseExists(): Observable<boolean>;
@@ -406,22 +524,39 @@ declare class DatabaseManagerService extends DbService {
406
524
  getTableRecords(table: string): Observable<unknown>;
407
525
  getTableRecord(table: string, id: number): Observable<any>;
408
526
  createTableRecord(table: string, record: any): Observable<any>;
409
- createTableRecords(table: string, records: any[]): Observable<{
410
- [key: string]: any;
411
- }[]>;
412
- updateTableRecord(table: string, record: any): Observable<{
413
- [key: string]: any;
414
- } | null>;
415
- updateTableRecords(table: string, records: any[]): Observable<{
416
- [key: string]: any;
417
- }[]>;
527
+ createTableRecords(table: string, records: any[]): Observable<any[]>;
528
+ private inferSchemaFromRecords;
529
+ private isMissingObjectStoreError;
530
+ updateTableRecord(table: string, record: any): Observable<any>;
531
+ updateTableRecords(table: string, records: any[]): Observable<any[]>;
418
532
  deleteTableRecord<T>(table: string, id: number): Observable<number | null>;
419
533
  deleteTableRecords(table: string, ids: number[]): Observable<number[]>;
420
534
  clearTable(table: string): Observable<never[]>;
535
+ clearDatabase(): void;
536
+ resetDatabase(): Observable<boolean>;
421
537
  static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseManagerService, never>;
422
538
  static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseManagerService>;
423
539
  }
424
540
 
541
+ declare class DatabaseManagerSignalsService {
542
+ private readonly dbManager;
543
+ private readonly isPendingSignal;
544
+ private readonly tablesSignal;
545
+ private readonly databaseReadySignal;
546
+ readonly isPending: i0.Signal<boolean>;
547
+ readonly tables: i0.Signal<string[]>;
548
+ readonly databaseReady: i0.Signal<boolean>;
549
+ getDatabaseTables(): Observable<string[]>;
550
+ databaseExists(): Observable<boolean>;
551
+ hasDatabaseTable(table: string): Observable<boolean>;
552
+ getDatabaseTable(table: string): Observable<any>;
553
+ getDatabaseTableSchema(table: string): Observable<string[]>;
554
+ createDatabaseTable(tableDef: TableSchemaDef): Observable<boolean>;
555
+ updateDatabaseTableSchema(tableDef: TableSchemaDef): Observable<any>;
556
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseManagerSignalsService, never>;
557
+ static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseManagerSignalsService>;
558
+ }
559
+
425
560
  interface ChannelMessageInterface {
426
561
  messageId?: number;
427
562
  channel?: string;
@@ -458,6 +593,7 @@ declare class ChannelMessage implements ChannelMessageInterface {
458
593
  * ```
459
594
  */
460
595
  declare class LoggerService {
596
+ private static readonly DEBUG_FLAG_KEY;
461
597
  private debugMode;
462
598
  constructor();
463
599
  /**
@@ -484,6 +620,7 @@ declare class LoggerService {
484
620
  * Check if debug mode is enabled (development mode)
485
621
  */
486
622
  isDebugEnabled(): boolean;
623
+ private isDebugFlagEnabled;
487
624
  static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
488
625
  static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
489
626
  }
@@ -522,6 +659,8 @@ declare class HTTPManagerStateService<T extends {
522
659
  logger: LoggerService;
523
660
  error$: Observable<boolean>;
524
661
  isPending$: Observable<boolean>;
662
+ private operationSuccess;
663
+ operationSuccess$: Observable<OperationResultModel | null>;
525
664
  private page;
526
665
  page$: Observable<number>;
527
666
  private totalPages;
@@ -529,12 +668,16 @@ declare class HTTPManagerStateService<T extends {
529
668
  private percentage;
530
669
  percentage$: Observable<number>;
531
670
  private hasDatabase;
532
- streamedResponse: never[];
671
+ streamedResponse: any[];
533
672
  private maxRetries;
534
673
  private retryDelay;
535
674
  private shouldRetry;
536
675
  private connectionStatusSubscription?;
537
676
  private databaseOptions?;
677
+ private readonly volatileHeaders;
678
+ private requestSignatureCache;
679
+ private inFlightRequestSignatures;
680
+ private _requestCachePaths;
538
681
  private wsRetryAttempts;
539
682
  wsRetryAttempts$: Observable<number>;
540
683
  private wsNextRetry;
@@ -568,7 +711,11 @@ declare class HTTPManagerStateService<T extends {
568
711
  private ownSessionId;
569
712
  wsOptions: WSOptions;
570
713
  connectionStatus$: Observable<boolean>;
571
- constructor(apiOptions: ApiRequest, dataType: DataType | undefined, database?: DatabaseStorage);
714
+ isConnecting$: Observable<boolean>;
715
+ wsRetryCount$: Observable<number>;
716
+ wsMaxRetries$: Observable<number>;
717
+ connectionError$: Observable<string | null>;
718
+ constructor(apiOptions: ApiRequest | undefined, dataType: DataType | undefined, database?: DatabaseStorage);
572
719
  /**
573
720
  * Add appropriate prefix to a channel name if not already present
574
721
  */
@@ -600,6 +747,9 @@ declare class HTTPManagerStateService<T extends {
600
747
  readonly clearRecords: (observableOrValue?: void | Observable<void> | undefined) => Subscription;
601
748
  readonly fetchRecords: (options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
602
749
  private initDBStorageAsync;
750
+ private buildSchemaFromAdapter;
751
+ private buildSchemaFromSample;
752
+ private persistStreamDataToDb;
603
753
  readonly fetchRecord: (options: RequestOptions, method: string) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
604
754
  readonly createRecord: (data: any | null, options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
605
755
  readonly updateRecord: (data: any | null, options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
@@ -704,11 +854,163 @@ declare class HTTPManagerStateService<T extends {
704
854
  */
705
855
  clearDatabase(): void;
706
856
  private isEmpty;
857
+ /**
858
+ * Update request options with provided headers
859
+ */
707
860
  private updateRequestOptions;
861
+ private normalizeObject;
862
+ private filterHeaders;
863
+ private resolvePath;
864
+ private stripBasePathPrefix;
865
+ private getEffectiveParams;
866
+ private buildRequestSignature;
867
+ private buildSchemaSignature;
868
+ private setCachedRequestSignature;
869
+ private tryBeginInFlightRequest;
870
+ private endInFlightRequest;
871
+ private getRequestCacheMetadata;
872
+ private getStoredSchemaSignature;
873
+ private saveSchemaSignature;
874
+ private saveRequestCacheMetadata;
875
+ private clearRequestCacheMetadata;
876
+ private trackerNormalizePath;
877
+ private trackerParsePathSegment;
878
+ private trackerSafeDecode;
879
+ private trackerNormalizePathSegments;
880
+ private trackerNormalizeParamKey;
881
+ private trackerNormalizeParamValue;
882
+ private trackerFilterQuery;
883
+ private checkTrackerAllowsRequest;
708
884
  static ɵfac: i0.ɵɵFactoryDeclaration<HTTPManagerStateService<any>, never>;
709
885
  static ɵprov: i0.ɵɵInjectableDeclaration<HTTPManagerStateService<any>>;
710
886
  }
711
887
 
888
+ interface BatchOptionsInterface {
889
+ mode?: 'sequential' | 'parallel';
890
+ stopOnError?: boolean;
891
+ concurrency?: number;
892
+ ignoreErrors?: boolean;
893
+ logErrors?: boolean;
894
+ displaySuccess?: boolean;
895
+ displayError?: boolean;
896
+ }
897
+ declare class BatchOptions implements BatchOptionsInterface {
898
+ mode: 'sequential' | 'parallel';
899
+ stopOnError: boolean;
900
+ concurrency: number;
901
+ ignoreErrors: boolean;
902
+ logErrors: boolean;
903
+ displaySuccess?: boolean | undefined;
904
+ displayError?: boolean | undefined;
905
+ constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean, displaySuccess?: boolean | undefined, displayError?: boolean | undefined);
906
+ static adapt(item?: any): BatchOptions;
907
+ }
908
+
909
+ declare class HTTPManagerStateSignalsService<T = any> {
910
+ private readonly httpManagerSignalsService;
911
+ private readonly databaseManagerSignalsService;
912
+ private readonly localStorageSignalsManagerService;
913
+ private readonly utils;
914
+ private readonly logger;
915
+ private readonly destroyRef;
916
+ private readonly injector;
917
+ private readonly dataSignal;
918
+ private readonly dataObjectSignal;
919
+ private readonly operationSuccessSignal;
920
+ private readonly pageSignal;
921
+ private readonly totalPagesSignal;
922
+ private readonly percentageSignal;
923
+ private readonly streamedResponseSignal;
924
+ private readonly messagesSignal;
925
+ readonly data: i0.Signal<T[]>;
926
+ readonly dataObject: i0.Signal<T | null>;
927
+ readonly operationSuccess: i0.Signal<OperationResultModel | null>;
928
+ readonly page: i0.Signal<number>;
929
+ readonly totalPages: i0.Signal<number>;
930
+ readonly percentage: i0.Signal<number>;
931
+ readonly streamedResponse: i0.Signal<any[]>;
932
+ readonly messages: i0.Signal<any[]>;
933
+ readonly error: i0.WritableSignal<boolean>;
934
+ readonly isPending: i0.WritableSignal<boolean>;
935
+ readonly isConnecting: i0.Signal<boolean>;
936
+ readonly retryCount: i0.Signal<number>;
937
+ readonly maxRetries: i0.Signal<number>;
938
+ readonly connectionError: i0.Signal<string | null>;
939
+ constructor();
940
+ setData(items: T[]): void;
941
+ setDataObject(item: T | null): void;
942
+ setOperationSuccess(result: OperationResultModel | null): void;
943
+ setPage(n: number): void;
944
+ setTotalPages(n: number): void;
945
+ setPercentage(n: number): void;
946
+ appendStreamedItem(item: any): void;
947
+ clearStreamedResponse(): void;
948
+ clearMessages(): void;
949
+ getRequest<U = T>(options?: ApiRequest, params?: any[]): rxjs.Observable<U>;
950
+ postRequest<U extends {
951
+ id?: number | string;
952
+ } = any>(data: U, options: ApiRequest, params?: any[]): rxjs.Observable<U>;
953
+ putRequest<U extends {
954
+ id?: number | string;
955
+ } = any>(data: U, options: ApiRequest, params?: any[]): rxjs.Observable<U>;
956
+ deleteRequest<U = T>(options: ApiRequest, params?: any[]): rxjs.Observable<U>;
957
+ downloadRequest<U = T>(options: ApiRequest, params?: any[], saveAs?: string): rxjs.Observable<U>;
958
+ uploadRequest<U = T>(files: File | File[], options: ApiRequest, params?: any[]): rxjs.Observable<U>;
959
+ getBatchRequests<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
960
+ getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
961
+ getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
962
+ connect(options: WSOptions, jwtToken: string): void;
963
+ disconnect(): void;
964
+ subscribeToChannel(channel: string, userData?: any): void;
965
+ subscribeToChannels(channels: string[], userData?: any): void;
966
+ unsubscribeFromChannel(channel: string): void;
967
+ getSubscribedChannels(): Set<string>;
968
+ sendBroadcast(content: any): void;
969
+ sendMessageInChannel(channel: string, content: any): void;
970
+ sendChannelMessage(channel: string, content: any): void;
971
+ sendChannelMessageToChannels(channels: string[], content: any): void;
972
+ sendMessageToUser(user: string, content: any): void;
973
+ getAllChannels(): void;
974
+ createChannel(channel: string): void;
975
+ deleteChannel(channel: string): void;
976
+ getUsersInChannel(channel: string): void;
977
+ createNotificationChannel(channel: string): void;
978
+ getNotificationChannels(): void;
979
+ getTodaysNotificationChannels(): void;
980
+ subscribeToNotificationChannel(channel: string, options?: any, user?: any): void;
981
+ unsubscribeFromNotificationChannel(channel: string): void;
982
+ sendNotification(channel: string, content: any): void;
983
+ getDatabaseTables(): rxjs.Observable<string[]>;
984
+ databaseExists(): rxjs.Observable<boolean>;
985
+ hasDatabaseTable(table: string): rxjs.Observable<boolean>;
986
+ getDatabaseTable(table: string): rxjs.Observable<any>;
987
+ getDatabaseTableSchema(table: string): rxjs.Observable<string[]>;
988
+ createDatabaseTable(tableDef: TableSchemaDef): rxjs.Observable<boolean>;
989
+ updateDatabaseTableSchema(tableDef: TableSchemaDef): rxjs.Observable<any>;
990
+ createStore(store: {
991
+ id?: string;
992
+ name: string;
993
+ data: any;
994
+ options: SettingOptions;
995
+ }): void;
996
+ setStore(store: {
997
+ id: string;
998
+ name: string;
999
+ data: any;
1000
+ options: SettingOptions;
1001
+ }): void;
1002
+ updateStore(store: {
1003
+ name: string;
1004
+ data: any;
1005
+ }): void;
1006
+ deleteStore(store: {
1007
+ name: string;
1008
+ }): void;
1009
+ getStore(storeName: string): i0.Signal<any>;
1010
+ static ɵfac: i0.ɵɵFactoryDeclaration<HTTPManagerStateSignalsService<any>, never>;
1011
+ static ɵprov: i0.ɵɵInjectableDeclaration<HTTPManagerStateSignalsService<any>>;
1012
+ }
1013
+
712
1014
  declare class WebsocketService {
713
1015
  private logger;
714
1016
  private socket;
@@ -780,13 +1082,27 @@ declare class WebsocketService {
780
1082
  */
781
1083
  declare class WebSocketManagerService {
782
1084
  private static socket;
783
- private static isConnecting;
1085
+ private static isConnectingSubject;
1086
+ isConnecting$: Observable<boolean>;
784
1087
  private static connectionInitialized;
1088
+ private static shouldRetry;
785
1089
  private static lastOptions;
1090
+ private static lastJwtToken;
1091
+ private static retryCount;
1092
+ private static retryDelay;
1093
+ private static retrySubscription;
1094
+ private static maxRetries;
1095
+ private static connectionReadyNotified;
1096
+ private static retryCountSubject;
1097
+ retryCount$: Observable<number>;
1098
+ private static maxRetriesSubject;
1099
+ maxRetries$: Observable<number>;
786
1100
  private static messages;
787
1101
  messages$: Observable<any>;
788
1102
  private static connectionStatus;
789
1103
  connectionStatus$: Observable<boolean>;
1104
+ private static connectionError;
1105
+ connectionError$: Observable<string | null>;
790
1106
  private static isSubscribed;
791
1107
  private static subscribedChannels;
792
1108
  subscribedChannels$: Observable<Set<string>>;
@@ -809,6 +1125,11 @@ declare class WebSocketManagerService {
809
1125
  * Disconnect from WebSocket server
810
1126
  */
811
1127
  disconnect(): void;
1128
+ /**
1129
+ * Clear a stale connectionError without triggering a connection attempt.
1130
+ * Used when no wsServer is configured so the UI shows clean "Disconnected" state.
1131
+ */
1132
+ clearConnectionError(): void;
812
1133
  private sendSubscribe;
813
1134
  /**
814
1135
  * Send subscribe with lastSeenId for message sync support
@@ -1002,6 +1323,8 @@ declare class RequestService extends WebsocketService {
1002
1323
  isPending$: Observable<boolean>;
1003
1324
  progress: BehaviorSubject<number>;
1004
1325
  progress$: Observable<number>;
1326
+ streamProgress: BehaviorSubject<StreamProgressModel>;
1327
+ streamProgress$: Observable<StreamProgressModel>;
1005
1328
  getRecordRequest<T>(options: ApiRequest): Observable<T>;
1006
1329
  getRecordRequest<T>(options: ApiRequest): Observable<T>;
1007
1330
  getRecordRequest<T>(options: ApiRequest & {
@@ -1023,6 +1346,9 @@ declare class RequestService extends WebsocketService {
1023
1346
  private request;
1024
1347
  private requestStreaming;
1025
1348
  downloadFileRequest(options: ApiRequest): Observable<any>;
1349
+ uploadFileRequest(options: ApiRequest): Observable<any>;
1350
+ private validateUploadFiles;
1351
+ private buildFormData;
1026
1352
  private handleFinalize;
1027
1353
  private downloadFile;
1028
1354
  private createFileType;
@@ -1042,23 +1368,6 @@ declare class RetryOptions implements RetryOptionsInterface {
1042
1368
  static adapt(item?: any): RetryOptions;
1043
1369
  }
1044
1370
 
1045
- interface BatchOptionsInterface {
1046
- mode?: 'sequential' | 'parallel';
1047
- stopOnError?: boolean;
1048
- concurrency?: number;
1049
- ignoreErrors?: boolean;
1050
- logErrors?: boolean;
1051
- }
1052
- declare class BatchOptions implements BatchOptionsInterface {
1053
- mode: 'sequential' | 'parallel';
1054
- stopOnError: boolean;
1055
- concurrency: number;
1056
- ignoreErrors: boolean;
1057
- logErrors: boolean;
1058
- constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean);
1059
- static adapt(item?: any): BatchOptions;
1060
- }
1061
-
1062
1371
  interface BatchResultInterface<T = any> {
1063
1372
  request: any;
1064
1373
  success: boolean;
@@ -1071,10 +1380,10 @@ declare class BatchResult<T = any> implements BatchResultInterface<T> {
1071
1380
  request: any;
1072
1381
  success: boolean;
1073
1382
  data?: T | undefined;
1074
- error?: any;
1383
+ error?: any | undefined;
1075
1384
  index: number;
1076
1385
  timestamp: number;
1077
- constructor(request: any, success: boolean, data?: T | undefined, error?: any, index?: number, timestamp?: number);
1386
+ constructor(request: any, success: boolean, data?: T | undefined, error?: any | undefined, index?: number, timestamp?: number);
1078
1387
  static adapt<T>(item?: any): BatchResult<T>;
1079
1388
  }
1080
1389
 
@@ -1127,16 +1436,18 @@ interface ConfigHTTPOptionsInterface {
1127
1436
  retry?: RetryOptions;
1128
1437
  stream?: boolean;
1129
1438
  displayError?: boolean;
1439
+ displaySuccess?: boolean;
1130
1440
  }
1131
1441
  declare class ConfigHTTPOptions implements ConfigHTTPOptionsInterface {
1132
1442
  server: string;
1133
1443
  path?: any[] | undefined;
1134
- headers?: any;
1444
+ headers?: any | undefined;
1135
1445
  polling?: number | undefined;
1136
1446
  retry?: RetryOptions | undefined;
1137
1447
  stream?: boolean | undefined;
1138
1448
  displayError?: boolean | undefined;
1139
- constructor(server?: string, path?: any[] | undefined, headers?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, displayError?: boolean | undefined);
1449
+ displaySuccess?: boolean | undefined;
1450
+ constructor(server?: string, path?: any[] | undefined, headers?: any | undefined, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined);
1140
1451
  static adapt(item?: any): ConfigHTTPOptions;
1141
1452
  }
1142
1453
 
@@ -1171,19 +1482,31 @@ declare class ConfigOptions implements ConfigOptionsInterface {
1171
1482
  */
1172
1483
  declare const CONFIG_SETTINGS_TOKEN: InjectionToken<ConfigOptions>;
1173
1484
 
1174
- interface UserDataInterface {
1175
- ldap: string;
1176
- name: string;
1177
- email: string;
1178
- color: string;
1179
- }
1180
- declare class UserData implements UserDataInterface {
1181
- ldap: string;
1182
- name: string;
1183
- email: string;
1184
- color: string;
1185
- constructor(ldap?: string, name?: string, email?: string, color?: string);
1186
- static adapt(item?: any): UserData;
1485
+ interface InvalidFileInfoInterface {
1486
+ fileName: string;
1487
+ fileSize: number;
1488
+ fileType: string;
1489
+ errors: string[];
1490
+ }
1491
+ declare class InvalidFileInfoModel implements InvalidFileInfoInterface {
1492
+ fileName: string;
1493
+ fileSize: number;
1494
+ fileType: string;
1495
+ errors: string[];
1496
+ constructor(fileName?: string, fileSize?: number, fileType?: string, errors?: string[]);
1497
+ static adapt(item?: any): InvalidFileInfoModel;
1498
+ }
1499
+ interface UploadValidationErrorInterface {
1500
+ invalidFiles: InvalidFileInfoModel[];
1501
+ validFilesCount: number;
1502
+ totalFilesCount: number;
1503
+ }
1504
+ declare class UploadValidationErrorModel implements UploadValidationErrorInterface {
1505
+ invalidFiles: InvalidFileInfoModel[];
1506
+ validFilesCount: number;
1507
+ totalFilesCount: number;
1508
+ constructor(invalidFiles?: InvalidFileInfoModel[], validFilesCount?: number, totalFilesCount?: number);
1509
+ static adapt(item?: any): UploadValidationErrorModel;
1187
1510
  }
1188
1511
 
1189
1512
  declare class ObjectMergerService {
@@ -1247,10 +1570,10 @@ declare class MessageTrackerService implements OnDestroy {
1247
1570
  * Map<channel, retryCount>
1248
1571
  */
1249
1572
  private gapRetryCount;
1250
- /** Batch acknowledgment timer */
1251
- private batchAckTimer;
1252
1573
  /** Subscription to WebSocket messages */
1253
1574
  private messagesSubscription;
1575
+ /** Subject to signal destroy for takeUntil */
1576
+ private destroy$;
1254
1577
  /**
1255
1578
  * Track channels we want to be subscribed to (survives disconnect/reconnect)
1256
1579
  * This is separate from WebSocketManagerService.subscribedChannels which tracks
@@ -1275,14 +1598,6 @@ declare class MessageTrackerService implements OnDestroy {
1275
1598
  * Queue message for batch acknowledgment
1276
1599
  */
1277
1600
  private queueAck;
1278
- /**
1279
- * Start batch acknowledgment timer
1280
- */
1281
- private startBatchAckTimer;
1282
- /**
1283
- * Stop batch acknowledgment timer
1284
- */
1285
- private stopBatchAckTimer;
1286
1601
  /**
1287
1602
  * Send batch acknowledgments for all channels with pending acks
1288
1603
  */
@@ -1363,6 +1678,10 @@ declare class HTTPManagerService<T> extends RequestService {
1363
1678
  connectionStatus$: Observable<boolean>;
1364
1679
  messages$: Observable<any>;
1365
1680
  subscribedChannels$: Observable<Set<string>>;
1681
+ isConnecting$: Observable<boolean>;
1682
+ retryCount$: Observable<number>;
1683
+ maxRetries$: Observable<number>;
1684
+ connectionError$: Observable<string | null>;
1366
1685
  private countdown;
1367
1686
  countdown$: Observable<number>;
1368
1687
  private error;
@@ -1371,6 +1690,7 @@ declare class HTTPManagerService<T> extends RequestService {
1371
1690
  data$: Observable<any>;
1372
1691
  private polling$;
1373
1692
  config: ApiRequest;
1693
+ streamProgress$: Observable<http_request_manager.StreamProgressModel>;
1374
1694
  constructor(configOptions?: ConfigOptions | undefined);
1375
1695
  /**
1376
1696
  * Connect to WebSocket server
@@ -1381,6 +1701,10 @@ declare class HTTPManagerService<T> extends RequestService {
1381
1701
  * Disconnect from WebSocket server
1382
1702
  */
1383
1703
  disconnect(): void;
1704
+ /**
1705
+ * Clear any stale connection error without triggering a connection attempt
1706
+ */
1707
+ clearConnectionError(): void;
1384
1708
  /**
1385
1709
  * Subscribe to a channel
1386
1710
  */
@@ -1466,11 +1790,13 @@ declare class HTTPManagerService<T> extends RequestService {
1466
1790
  }>(data: T, options: ApiRequest, params?: any[]): Observable<T>;
1467
1791
  deleteRequest<T>(options: ApiRequest, params?: any[]): Observable<T>;
1468
1792
  downloadRequest<T>(options: ApiRequest, params?: any[], saveAs?: string): Observable<T>;
1793
+ uploadRequest<T>(files: File | File[], options: ApiRequest, params?: any[]): Observable<T>;
1469
1794
  private createObservable;
1470
1795
  private createRequest;
1471
1796
  private prepareRequestData;
1472
1797
  private handleError;
1473
1798
  private handleErrorWithSnackBar;
1799
+ private handleSuccessWithSnackBar;
1474
1800
  private stopPolling;
1475
1801
  private defineReqOptions;
1476
1802
  /**
@@ -1486,14 +1812,14 @@ declare class HTTPManagerService<T> extends RequestService {
1486
1812
  * @param options Optional batch configuration
1487
1813
  * @returns Observable emitting array of data when all requests complete
1488
1814
  */
1489
- getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
1815
+ getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
1490
1816
  /**
1491
1817
  * Execute requests in parallel with concurrency control
1492
1818
  * @param requests Array of ApiRequest configurations
1493
1819
  * @param options Optional batch configuration with concurrency limit
1494
1820
  * @returns Observable emitting array of data when all requests complete
1495
1821
  */
1496
- getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
1822
+ getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
1497
1823
  /**
1498
1824
  * Execute multiple HTTP requests and emit individual state changes in real-time
1499
1825
  * @param requests Array of ApiRequest configurations
@@ -1521,6 +1847,7 @@ declare class RequestSignalsService extends WebsocketService {
1521
1847
  private headersService;
1522
1848
  isPending: i0.WritableSignal<boolean>;
1523
1849
  progress: i0.WritableSignal<number>;
1850
+ streamProgress: i0.WritableSignal<StreamProgressModel>;
1524
1851
  isIdle: i0.Signal<boolean>;
1525
1852
  getRecordRequest<T>(options: ApiRequest): Observable<T>;
1526
1853
  getRecordRequest<T>(options: ApiRequest & {
@@ -1538,6 +1865,9 @@ declare class RequestSignalsService extends WebsocketService {
1538
1865
  private request;
1539
1866
  private requestStreamingOperator;
1540
1867
  downloadFileRequest(options: ApiRequest): Observable<any>;
1868
+ uploadFileRequest(options: ApiRequest): Observable<any>;
1869
+ private validateUploadFiles;
1870
+ private buildFormData;
1541
1871
  private handleFinalize;
1542
1872
  private downloadFile;
1543
1873
  private createFileType;
@@ -1557,8 +1887,12 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
1557
1887
  messages$: Observable<any>;
1558
1888
  subscribedChannels$: Observable<Set<string>>;
1559
1889
  countdown: i0.WritableSignal<number>;
1560
- error: i0.WritableSignal<string | boolean>;
1890
+ error: i0.WritableSignal<boolean>;
1561
1891
  data: i0.WritableSignal<any>;
1892
+ isConnecting: i0.Signal<boolean>;
1893
+ retryCount: i0.Signal<number>;
1894
+ maxRetries: i0.Signal<number>;
1895
+ connectionError: i0.Signal<string | null>;
1562
1896
  private polling$;
1563
1897
  config: ApiRequest;
1564
1898
  constructor(configOptions?: ConfigOptions | undefined);
@@ -1655,11 +1989,13 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
1655
1989
  }>(data: T, options: ApiRequest, params?: any[]): Observable<T>;
1656
1990
  deleteRequest<T>(options: ApiRequest, params?: any[]): Observable<T>;
1657
1991
  downloadRequest<T>(options: ApiRequest, params?: any[], saveAs?: string): Observable<T>;
1992
+ uploadRequest<T>(files: File | File[], options: ApiRequest, params?: any[]): Observable<T>;
1658
1993
  private createObservable;
1659
1994
  private createRequest;
1660
1995
  private prepareRequestData;
1661
1996
  private handleError;
1662
1997
  private handleErrorWithSnackBar;
1998
+ private handleSuccessWithSnackBar;
1663
1999
  private stopPolling;
1664
2000
  private defineReqOptions;
1665
2001
  /**
@@ -1675,14 +2011,14 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
1675
2011
  * @param options Optional batch configuration
1676
2012
  * @returns Observable emitting array of data when all requests complete
1677
2013
  */
1678
- getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
2014
+ getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
1679
2015
  /**
1680
2016
  * Execute requests in parallel with concurrency control
1681
2017
  * @param requests Array of ApiRequest configurations
1682
2018
  * @param options Optional batch configuration with concurrency limit
1683
2019
  * @returns Observable emitting array of data when all requests complete
1684
2020
  */
1685
- getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
2021
+ getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
1686
2022
  /**
1687
2023
  * Execute multiple HTTP requests and emit individual state changes in real-time
1688
2024
  * @param requests Array of ApiRequest configurations
@@ -1710,23 +2046,6 @@ declare function delayedRetry<T>(delayMs: number, maxRetry?: number): (src: Obse
1710
2046
 
1711
2047
  declare function requestPolling<T>(pollInterval: number, stopCondition$: Observable<any>, isPending$: any): (source: Observable<T>) => Observable<T>;
1712
2048
 
1713
- interface StreamConfig {
1714
- streamType: StreamType;
1715
- }
1716
- interface StreamEvent<T = any> {
1717
- type: 'progress' | 'complete' | 'data';
1718
- data: T;
1719
- metadata?: {
1720
- timestamp: Date;
1721
- streamType: StreamType;
1722
- contentLength?: number;
1723
- };
1724
- }
1725
- interface ParsingResult<T = any> {
1726
- success: boolean;
1727
- data?: T[];
1728
- error?: string;
1729
- }
1730
2049
  /**
1731
2050
  * COMPREHENSIVE REQUEST STREAMING OPERATOR - FULLY ABSTRACTED
1732
2051
  * Refactored for better type safety and memory management
@@ -1742,15 +2061,15 @@ interface ParsingResult<T = any> {
1742
2061
  * this.http.get(url, options).pipe(requestStreaming()).subscribe(data => {...})
1743
2062
  * this.http.get(url, options).pipe(requestStreaming({ streamType: StreamType.NDJSON })).subscribe(data => {...})
1744
2063
  */
1745
- declare function requestStreaming<T = any>(config?: StreamConfig): OperatorFunction<any, T[]>;
2064
+ declare function requestStreaming<T = any>(config?: StreamConfigModel): OperatorFunction<any, StreamOutputModel<T>>;
1746
2065
  /**
1747
2066
  * Convenience functions for common use cases
1748
2067
  */
1749
- declare function streamJSON<T = any>(): OperatorFunction<any, T[]>;
1750
- declare function streamNDJSON<T = any>(): OperatorFunction<any, T[]>;
1751
- declare function streamAI<T = any>(): OperatorFunction<any, T[]>;
1752
- declare function streamEvents<T = any>(): OperatorFunction<any, T[]>;
1753
- declare function streamAuto<T = any>(): OperatorFunction<any, T[]>;
2068
+ declare function streamJSON<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
2069
+ declare function streamNDJSON<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
2070
+ declare function streamAI<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
2071
+ declare function streamEvents<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
2072
+ declare function streamAuto<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
1754
2073
 
1755
2074
  interface State {
1756
2075
  localStores: StorageData[];
@@ -1833,6 +2152,7 @@ declare class LocalStorageManagerService extends ComponentStore<State> implement
1833
2152
  * Returns true if data appears corrupted
1834
2153
  */
1835
2154
  checkForCorruptedData(): boolean;
2155
+ private tryParseSettingsArray;
1836
2156
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageManagerService, [{ optional: true; }]>;
1837
2157
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageManagerService>;
1838
2158
  }
@@ -1845,6 +2165,7 @@ declare class LocalStorageSignalsManagerService {
1845
2165
  defaultOptions: SettingOptions;
1846
2166
  stateRetrieved: boolean;
1847
2167
  encrypted: boolean;
2168
+ destroyRef: DestroyRef;
1848
2169
  app: AppService;
1849
2170
  utils: UtilsService;
1850
2171
  objectMergerService: ObjectMergerService;
@@ -1883,6 +2204,7 @@ declare class LocalStorageSignalsManagerService {
1883
2204
  private isObjectOrArray;
1884
2205
  private isString;
1885
2206
  private validStoreName;
2207
+ private tryParseSettingsArray;
1886
2208
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageSignalsManagerService, [{ optional: true; }]>;
1887
2209
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageSignalsManagerService>;
1888
2210
  }
@@ -1900,6 +2222,25 @@ declare class StateStorageOptions implements StateStorageOptionsInterface {
1900
2222
  static adapt(item?: any): StateStorageOptions;
1901
2223
  }
1902
2224
 
2225
+ interface StateOperationResultInterface {
2226
+ success: boolean;
2227
+ operation: 'CREATE' | 'UPDATE' | 'DELETE';
2228
+ key?: string;
2229
+ value?: any;
2230
+ timestamp: number;
2231
+ error?: string;
2232
+ }
2233
+ declare class StateOperationResult implements StateOperationResultInterface {
2234
+ success: boolean;
2235
+ operation: 'CREATE' | 'UPDATE' | 'DELETE';
2236
+ key?: string | undefined;
2237
+ value?: any | undefined;
2238
+ timestamp: number;
2239
+ error?: string | undefined;
2240
+ constructor(success?: boolean, operation?: 'CREATE' | 'UPDATE' | 'DELETE', key?: string | undefined, value?: any | undefined, timestamp?: number, error?: string | undefined);
2241
+ static adapt(item?: any): StateOperationResult;
2242
+ }
2243
+
1903
2244
  interface StateStoreManagerData$1<T> {
1904
2245
  }
1905
2246
  declare class StoreStateManagerService<T extends object = StateStoreManagerData$1<any>> extends ComponentStore<T> {
@@ -1908,13 +2249,18 @@ declare class StoreStateManagerService<T extends object = StateStoreManagerData$
1908
2249
  subscriptions: Subscription;
1909
2250
  settings: any;
1910
2251
  private isRestoring;
2252
+ private operationResult;
2253
+ operationResult$: Observable<StateOperationResult | null>;
1911
2254
  constructor(options?: StateStorageOptions);
1912
2255
  private static init;
1913
2256
  init(options?: StateStorageOptions): void;
1914
2257
  restoreState(): Subscription;
1915
2258
  updateState(state: any): void;
1916
- readonly data$: rxjs.Observable<any>;
2259
+ readonly data$: Observable<any>;
1917
2260
  readonly updateData: (() => void) | ((observableOrValue: any) => Subscription);
2261
+ createRecord(key: string, value: any): void;
2262
+ updateRecord(key: string, value: any): void;
2263
+ deleteRecord(key: string): void;
1918
2264
  static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateManagerService<any>, never>;
1919
2265
  static ɵprov: i0.ɵɵInjectableDeclaration<StoreStateManagerService<any>>;
1920
2266
  }
@@ -1923,9 +2269,12 @@ interface StateStoreManagerData<T> {
1923
2269
  }
1924
2270
  declare class StoreStateManagerSignalsService<T extends object = StateStoreManagerData<any>> {
1925
2271
  private localStorageManagerService;
2272
+ private injector;
1926
2273
  private state;
1927
2274
  private isRestoring;
1928
2275
  private settings;
2276
+ private operationResultSignal;
2277
+ readonly operationResult: i0.Signal<StateOperationResult | null>;
1929
2278
  readonly data: i0.Signal<T | null>;
1930
2279
  readonly transformedData: i0.Signal<any>;
1931
2280
  constructor();
@@ -1933,11 +2282,102 @@ declare class StoreStateManagerSignalsService<T extends object = StateStoreManag
1933
2282
  restoreState(): void;
1934
2283
  updateState(state: Partial<T>): void;
1935
2284
  updateData(data: Partial<T>): void;
2285
+ createRecord(key: string, value: any): void;
2286
+ updateRecord(key: string, value: any): void;
2287
+ deleteRecord(key: string): void;
1936
2288
  resetState(): void;
1937
2289
  static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateManagerSignalsService<any>, never>;
1938
2290
  static ɵprov: i0.ɵɵInjectableDeclaration<StoreStateManagerSignalsService<any>>;
1939
2291
  }
1940
2292
 
2293
+ interface DexieSqlOptions {
2294
+ strict?: boolean;
2295
+ }
2296
+
2297
+ declare class DexieSqlService {
2298
+ private readonly _parser;
2299
+ private readonly _validator;
2300
+ private readonly _planner;
2301
+ private readonly _executor;
2302
+ /**
2303
+ * Execute a MySQL-syntax SQL SELECT string against the DexieJS IndexedDB database.
2304
+ * Returns an Observable that emits the result array and completes, or errors with
2305
+ * SqlParseError / SqlValidationError if the query is invalid.
2306
+ */
2307
+ query(sql: string, options?: DexieSqlOptions): Observable<any[]>;
2308
+ private _run;
2309
+ static ɵfac: i0.ɵɵFactoryDeclaration<DexieSqlService, never>;
2310
+ static ɵprov: i0.ɵɵInjectableDeclaration<DexieSqlService>;
2311
+ }
2312
+
2313
+ declare class SqlParseError extends Error {
2314
+ name: string;
2315
+ constructor(message: string);
2316
+ }
2317
+ declare class SqlValidationError extends Error {
2318
+ name: string;
2319
+ constructor(message: string);
2320
+ }
2321
+
2322
+ declare enum ExecutionPlanType {
2323
+ SIMPLE = "SIMPLE",
2324
+ AND_BOUNDED = "AND_BOUNDED",
2325
+ AND_COMPOUND = "AND_COMPOUND",
2326
+ OR_MERGE = "OR_MERGE",
2327
+ JOIN_HASH = "JOIN_HASH"
2328
+ }
2329
+ type DexieOp = 'equals' | 'notEqual' | 'above' | 'aboveOrEqual' | 'below' | 'belowOrEqual' | 'between' | 'anyOf' | 'noneOf' | 'startsWith';
2330
+ interface PlanStep {
2331
+ col: string;
2332
+ op: DexieOp;
2333
+ val: any;
2334
+ }
2335
+ interface JoinInfo {
2336
+ leftTable: string;
2337
+ rightTable: string;
2338
+ leftKey: string;
2339
+ rightKey: string;
2340
+ joinType: 'inner' | 'left';
2341
+ }
2342
+ interface ExecutionPlan {
2343
+ type: ExecutionPlanType;
2344
+ table: string;
2345
+ primaryStep: PlanStep | null;
2346
+ boundedFilters: PlanStep[];
2347
+ compoundIndex?: string;
2348
+ compoundValues?: any[];
2349
+ compoundWarnCols?: string[];
2350
+ orBranches?: PlanStep[];
2351
+ joinInfo?: JoinInfo;
2352
+ orderBy?: {
2353
+ col: string;
2354
+ dir: 'asc' | 'desc';
2355
+ } | null;
2356
+ limit?: number | null;
2357
+ offset?: number | null;
2358
+ projection?: string[] | null;
2359
+ aggregate?: 'count' | null;
2360
+ distinct?: boolean;
2361
+ dedupeKey?: string;
2362
+ }
2363
+
2364
+ interface ParseResult {
2365
+ ast: AST;
2366
+ tableList: string[];
2367
+ columnList: string[];
2368
+ }
2369
+
2370
+ interface TableSchemaInfo {
2371
+ pk: string;
2372
+ simpleIndexes: string[];
2373
+ compoundIndexes: string[][];
2374
+ }
2375
+ interface ValidatedQuery {
2376
+ ast: any;
2377
+ schemas: Record<string, TableSchemaInfo>;
2378
+ aliases: Record<string, string>;
2379
+ }
2380
+
1941
2381
  declare class HeadersService {
1942
2382
  headers: {};
1943
2383
  generateHeaders(headers?: Record<string, string>): {
@@ -2202,6 +2642,21 @@ declare class RequestManagerBasicDemoComponent implements OnInit {
2202
2642
  static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerBasicDemoComponent, "app-request-manager-basic-demo", never, {}, {}, never, never, false, never>;
2203
2643
  }
2204
2644
 
2645
+ interface UserDataInterface {
2646
+ ldap: string;
2647
+ name: string;
2648
+ email: string;
2649
+ color: string;
2650
+ }
2651
+ declare class UserData implements UserDataInterface {
2652
+ ldap: string;
2653
+ name: string;
2654
+ email: string;
2655
+ color: string;
2656
+ constructor(ldap?: string, name?: string, email?: string, color?: string);
2657
+ static adapt(item?: any): UserData;
2658
+ }
2659
+
2205
2660
  declare class HttpRequestServicesDemoComponent implements OnInit {
2206
2661
  private configOptions?;
2207
2662
  wsServer: string;
@@ -2223,6 +2678,12 @@ declare class HttpRequestServicesDemoComponent implements OnInit {
2223
2678
  new: boolean;
2224
2679
  divider?: undefined;
2225
2680
  disabled?: undefined;
2681
+ } | {
2682
+ name: string;
2683
+ value: string;
2684
+ new: boolean;
2685
+ divider: boolean;
2686
+ disabled?: undefined;
2226
2687
  } | {
2227
2688
  name: string;
2228
2689
  value: string;
@@ -2263,11 +2724,12 @@ declare class ClientInfo$1 implements ClientInfoInterface$1 {
2263
2724
  declare class StateManagerDemoService extends HTTPManagerStateService<any> {
2264
2725
  constructor();
2265
2726
  setAPIOptions(apiOptions: ApiRequest, dataType: DataType, database?: DatabaseStorage): void;
2266
- getClients(): void;
2727
+ getClients(options?: RequestOptions): void;
2267
2728
  createClient(data: any): void;
2268
2729
  updateClient(data: ClientInfo$1): void;
2269
2730
  deleteClient(data: ClientInfo$1): void;
2270
- streamRequest(): void;
2731
+ streamRequest(options?: RequestOptions): void;
2732
+ sendWsMessage(channel: string, method: string, path: (string | number)[]): void;
2271
2733
  static ɵfac: i0.ɵɵFactoryDeclaration<StateManagerDemoService, never>;
2272
2734
  static ɵprov: i0.ɵɵInjectableDeclaration<StateManagerDemoService>;
2273
2735
  }
@@ -2301,10 +2763,13 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2301
2763
  adapter?: Function;
2302
2764
  mapper?: Function;
2303
2765
  stateManagerDemoService: StateManagerDemoService;
2766
+ databaseManagerService: DatabaseManagerService;
2304
2767
  displayedColumns: string[];
2305
2768
  getColumnsFromData(data: any[]): string[];
2306
2769
  updateDisplayedColumns(data: any[]): void;
2307
2770
  isObject(value: any): boolean;
2771
+ getRecordLabel(item: any): string;
2772
+ private normalizeLabelValue;
2308
2773
  getDataLength(data: any): number;
2309
2774
  selectedRecord$?: Observable<ClientInfo$1 | null>;
2310
2775
  fb: FormBuilder;
@@ -2335,10 +2800,16 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2335
2800
  STREAM_AI$: Observable<any>;
2336
2801
  failedState: any;
2337
2802
  pollingState: any;
2803
+ DBState: any;
2338
2804
  questionControl: _angular_forms.FormControl<string | null>;
2339
2805
  requestType: string;
2340
2806
  prompts: string[];
2341
2807
  AIType: number;
2808
+ wsMessageForm: _angular_forms.FormGroup<{
2809
+ channel: _angular_forms.FormControl<string | null>;
2810
+ method: _angular_forms.FormControl<string | null>;
2811
+ path: _angular_forms.FormControl<string | null>;
2812
+ }>;
2342
2813
  get dataObservable$(): BehaviorSubject<any> | BehaviorSubject<null> | BehaviorSubject<{
2343
2814
  response: string;
2344
2815
  }[]>;
@@ -2369,6 +2840,8 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2369
2840
  database: _angular_forms.FormGroup<{
2370
2841
  table: _angular_forms.FormControl<string | null>;
2371
2842
  expiresIn: _angular_forms.FormControl<string | null>;
2843
+ ignoreQueryParams: _angular_forms.FormControl<string | null>;
2844
+ queryParamsExpiresIn: _angular_forms.FormControl<string | null>;
2372
2845
  }>;
2373
2846
  }>;
2374
2847
  get hasChanged(): boolean;
@@ -2376,6 +2849,8 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2376
2849
  get database(): {
2377
2850
  table: string | null;
2378
2851
  expiresIn: string | null;
2852
+ ignoreQueryParams: string | null;
2853
+ queryParamsExpiresIn: string | null;
2379
2854
  } | undefined;
2380
2855
  get retry(): {
2381
2856
  times: number | null;
@@ -2404,12 +2879,17 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2404
2879
  onStreamType(type: string): void;
2405
2880
  addHeader(): void;
2406
2881
  removeHeader(index: number): void;
2882
+ private parsePathInput;
2883
+ private normalizeQueryValue;
2407
2884
  compileRequest(): {
2408
2885
  apiOptions: ApiRequest;
2409
- path: string[];
2886
+ path: any[];
2410
2887
  };
2888
+ private parseIgnoreParams;
2889
+ private buildDemoRequestOptions;
2411
2890
  onSetStateOptions(): void;
2412
2891
  onClearRecords(): void;
2892
+ deleteDatabase(): void;
2413
2893
  onGetRequest(): void;
2414
2894
  onCreateRequest(): void;
2415
2895
  onUpdateRequest(): void;
@@ -2418,6 +2898,7 @@ declare class RequestManagerStateDemoComponent implements OnInit {
2418
2898
  errorHandling(err: any, type: string): void;
2419
2899
  onSelectAIType(type: number): void;
2420
2900
  onClearHistory(): void;
2901
+ onSendWsMessage(): void;
2421
2902
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerStateDemoComponent, never>;
2422
2903
  static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerStateDemoComponent, "app-request-manager-state-demo", never, { "server": { "alias": "server"; "required": false; }; "adapter": { "alias": "adapter"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; }, {}, never, never, false, never>;
2423
2904
  }
@@ -3020,7 +3501,7 @@ declare class NotificationServiceDemo {
3020
3501
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceDemo>;
3021
3502
  }
3022
3503
 
3023
- declare class RequestManagerWsDemoComponent implements OnInit {
3504
+ declare class RequestManagerWsDemoComponent implements OnInit, OnChanges {
3024
3505
  httpManagerService: HTTPManagerService<any>;
3025
3506
  stateService: StateServiceDemo;
3026
3507
  fb: FormBuilder;
@@ -3030,12 +3511,18 @@ declare class RequestManagerWsDemoComponent implements OnInit {
3030
3511
  user: any;
3031
3512
  path: string[];
3032
3513
  user$: rxjs.Observable<WSUser | null>;
3033
- attempts$: rxjs.Observable<number>;
3034
- nextRetry$: rxjs.Observable<number>;
3514
+ retryCount$: rxjs.Observable<number>;
3515
+ maxRetries$: rxjs.Observable<number>;
3035
3516
  connectionStatus$: rxjs.Observable<boolean>;
3517
+ isConnecting$: rxjs.Observable<boolean>;
3518
+ connectionError$: rxjs.Observable<string | null>;
3036
3519
  data$: rxjs.Observable<any>;
3037
3520
  isPending$: rxjs.Observable<boolean>;
3521
+ wsServerControl: FormControl<string | null>;
3038
3522
  ngOnInit(): void;
3523
+ ngOnChanges(changes: SimpleChanges): void;
3524
+ onConnect(): void;
3525
+ onDisconnect(): void;
3039
3526
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerWsDemoComponent, never>;
3040
3527
  static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerWsDemoComponent, "app-request-manager-ws-demo", never, { "server": { "alias": "server"; "required": false; }; "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "user": { "alias": "user"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, false, never>;
3041
3528
  }
@@ -3070,11 +3557,17 @@ interface TableRecord {
3070
3557
  }
3071
3558
  declare class DatabaseDataDemoComponent implements OnInit, OnDestroy {
3072
3559
  db: DatabaseManagerService;
3560
+ sql: DexieSqlService;
3073
3561
  private destroy$;
3074
3562
  dataToDisplay: TableRecord[];
3075
3563
  dataSource: DatabaseDataSource;
3076
3564
  displayedColumns: string[];
3077
3565
  names: string[];
3566
+ sqlQuery: string;
3567
+ sqlResults: any[];
3568
+ sqlResultCols: string[];
3569
+ sqlError: string | null;
3570
+ sqlLoading: boolean;
3078
3571
  constructor();
3079
3572
  ngOnDestroy(): void;
3080
3573
  addData(): void;
@@ -3091,6 +3584,7 @@ declare class DatabaseDataDemoComponent implements OnInit, OnDestroy {
3091
3584
  createTableRecord<T>(table: string, record: T): Observable<any>;
3092
3585
  updateTableRecord<T>(table: string, record: T): Observable<any>;
3093
3586
  deleteTableRecord<T>(table: string, id: number): Observable<any>;
3587
+ runSqlQuery(): void;
3094
3588
  static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseDataDemoComponent, never>;
3095
3589
  static ɵcmp: i0.ɵɵComponentDeclaration<DatabaseDataDemoComponent, "app-database-data-demo", never, {}, {}, never, never, false, never>;
3096
3590
  }
@@ -3117,7 +3611,7 @@ declare class StateDataRequestService extends HTTPManagerStateService<any> {
3117
3611
  static ɵprov: i0.ɵɵInjectableDeclaration<StateDataRequestService>;
3118
3612
  }
3119
3613
 
3120
- declare class WsDataControlComponent implements OnInit {
3614
+ declare class WsDataControlComponent implements OnInit, OnChanges {
3121
3615
  server: string;
3122
3616
  wsServer: string;
3123
3617
  jwtToken: string;
@@ -3130,7 +3624,9 @@ declare class WsDataControlComponent implements OnInit {
3130
3624
  userAction$: rxjs.Observable<any>;
3131
3625
  data$: rxjs.Observable<any>;
3132
3626
  isUser: (user: any, userItem: any) => boolean;
3627
+ getUserLabel: (user: any) => any;
3133
3628
  ngOnInit(): void;
3629
+ ngOnChanges(changes: SimpleChanges): void;
3134
3630
  onGetData(): void;
3135
3631
  onAddData(): void;
3136
3632
  onUpdateData(data: any[]): void;
@@ -3194,11 +3690,11 @@ declare class DisplayConfig implements DisplayConfigInterface {
3194
3690
  type: DisplayType;
3195
3691
  supportsMarkdown?: boolean | undefined;
3196
3692
  stackable?: boolean | undefined;
3197
- queueBehavior?: ("replace" | "queue" | "ignore") | undefined;
3693
+ queueBehavior?: "replace" | "queue" | "ignore" | undefined;
3198
3694
  autoDismiss?: number | undefined;
3199
3695
  width?: string | undefined;
3200
3696
  height?: string | undefined;
3201
- constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?: ("replace" | "queue" | "ignore") | undefined, autoDismiss?: number | undefined, width?: string | undefined, height?: string | undefined);
3697
+ constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?: "replace" | "queue" | "ignore" | undefined, autoDismiss?: number | undefined, width?: string | undefined, height?: string | undefined);
3202
3698
  static adapt(item?: any): DisplayConfig;
3203
3699
  }
3204
3700
 
@@ -3224,8 +3720,8 @@ declare class MessageContent implements MessageContentInterface {
3224
3720
  actions?: Action[] | undefined;
3225
3721
  messageType?: string | undefined;
3226
3722
  icon?: string | undefined;
3227
- data?: any;
3228
- constructor(displayConfig?: DisplayConfig | undefined, title?: string | undefined, message?: string, slides?: Slide[] | undefined, image?: string | undefined, images?: string[] | undefined, actions?: Action[] | undefined, messageType?: string | undefined, icon?: string | undefined, data?: any);
3723
+ data?: any | undefined;
3724
+ constructor(displayConfig?: DisplayConfig | undefined, title?: string | undefined, message?: string, slides?: Slide[] | undefined, image?: string | undefined, images?: string[] | undefined, actions?: Action[] | undefined, messageType?: string | undefined, icon?: string | undefined, data?: any | undefined);
3229
3725
  static adapt(item?: any): MessageContent;
3230
3726
  }
3231
3727
  interface CommunicationMessageInterface {
@@ -3442,6 +3938,42 @@ declare class WsChatsComponent implements OnInit {
3442
3938
  static ɵcmp: i0.ɵɵComponentDeclaration<WsChatsComponent, "app-ws-chats", never, {}, {}, never, never, false, never>;
3443
3939
  }
3444
3940
 
3941
+ interface UploadStateInterface {
3942
+ selectedFiles: File[];
3943
+ isUploading: boolean;
3944
+ progress: number;
3945
+ currentFile: string | null;
3946
+ errorMessage: string | null;
3947
+ successMessage: string | null;
3948
+ }
3949
+ declare class UploadStateModel implements UploadStateInterface {
3950
+ selectedFiles: File[];
3951
+ isUploading: boolean;
3952
+ progress: number;
3953
+ currentFile: string | null;
3954
+ errorMessage: string | null;
3955
+ successMessage: string | null;
3956
+ constructor(selectedFiles?: File[], isUploading?: boolean, progress?: number, currentFile?: string | null, errorMessage?: string | null, successMessage?: string | null);
3957
+ static adapt(item?: any): UploadStateModel;
3958
+ }
3959
+
3960
+ declare class UploadDemoComponent implements OnInit, OnDestroy {
3961
+ private httpManager;
3962
+ private toastService;
3963
+ uploadState: UploadStateModel;
3964
+ allowedTypes: string[];
3965
+ maxFileSize: number;
3966
+ ngOnInit(): void;
3967
+ ngOnDestroy(): void;
3968
+ onFileSelected(event: Event): void;
3969
+ validateFile(file: File): string | null;
3970
+ clearSelection(): void;
3971
+ startUpload(): void;
3972
+ getFileSizeString(size: number): string;
3973
+ static ɵfac: i0.ɵɵFactoryDeclaration<UploadDemoComponent, never>;
3974
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadDemoComponent, "lib-upload-demo", never, {}, {}, never, never, false, never>;
3975
+ }
3976
+
3445
3977
  declare class SpinnerComponent implements OnInit {
3446
3978
  color: ThemePalette;
3447
3979
  diameter?: number;
@@ -3523,7 +4055,7 @@ declare class FileDownloaderModule {
3523
4055
  declare class HttpRequestManagerModule {
3524
4056
  static forRoot(config?: ConfigOptions): ModuleWithProviders<HttpRequestManagerModule>;
3525
4057
  static ɵfac: i0.ɵɵFactoryDeclaration<HttpRequestManagerModule, never>;
3526
- static ɵmod: i0.ɵɵNgModuleDeclaration<HttpRequestManagerModule, [typeof RequestManagerBasicDemoComponent, typeof HttpRequestServicesDemoComponent, typeof RequestManagerStateDemoComponent, typeof RequestManagerDemoComponent, typeof RequestSignalsManagerDemoComponent, typeof LocalStorageDemoComponent, typeof LocalStorageSignalsDemoComponent, typeof RequestManagerWsDemoComponent, typeof StoreStateManagerDemoComponent, typeof DatabaseDataDemoComponent, typeof WsDataControlComponent, typeof WsMessagingComponent, typeof WsNotificationsComponent, typeof WsAiMessagingComponent, typeof WsChatsComponent], [typeof i4.CommonModule, typeof i17.ToastMessageDisplayModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i7.MatButtonModule, typeof i20.MatTabsModule, typeof i21.MatSelectModule, typeof i22.MatChipsModule, typeof i23.MatMenuModule, typeof i5.MatIconModule, typeof i25.MatTableModule, typeof i26.MatButtonToggleModule, typeof i27.MatAutocompleteModule, typeof i28.MatProgressBarModule, typeof i6.MatProgressSpinnerModule, typeof i30.MatSlideToggleModule, typeof i31.MatDividerModule, typeof i32.MatFormFieldModule, typeof i33.MatInputModule, typeof i34.MatToolbarModule, typeof i30.MatSlideToggleModule, typeof i35.TranslateModule, typeof i36.MatSidenavModule, typeof i37.MatDatepickerModule, typeof i38.MatNativeDateModule, typeof i39.MatCardModule, typeof FileDownloaderModule], [typeof HttpRequestServicesDemoComponent]>;
4058
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HttpRequestManagerModule, [typeof RequestManagerBasicDemoComponent, typeof HttpRequestServicesDemoComponent, typeof RequestManagerStateDemoComponent, typeof RequestManagerDemoComponent, typeof RequestSignalsManagerDemoComponent, typeof LocalStorageDemoComponent, typeof LocalStorageSignalsDemoComponent, typeof RequestManagerWsDemoComponent, typeof StoreStateManagerDemoComponent, typeof DatabaseDataDemoComponent, typeof WsDataControlComponent, typeof WsMessagingComponent, typeof WsNotificationsComponent, typeof WsAiMessagingComponent, typeof WsChatsComponent, typeof UploadDemoComponent], [typeof i4.CommonModule, typeof i18.ToastMessageDisplayModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i7.MatButtonModule, typeof i21.MatTabsModule, typeof i22.MatSelectModule, typeof i23.MatChipsModule, typeof i24.MatMenuModule, typeof i5.MatIconModule, typeof i26.MatTableModule, typeof i27.MatButtonToggleModule, typeof i28.MatAutocompleteModule, typeof i29.MatProgressBarModule, typeof i6.MatProgressSpinnerModule, typeof i31.MatSlideToggleModule, typeof i32.MatDividerModule, typeof i33.MatFormFieldModule, typeof i34.MatInputModule, typeof i35.MatToolbarModule, typeof i31.MatSlideToggleModule, typeof i36.TranslateModule, typeof i37.MatSidenavModule, typeof i38.MatDatepickerModule, typeof i39.MatNativeDateModule, typeof i40.MatCardModule, typeof FileDownloaderModule], [typeof HttpRequestServicesDemoComponent, typeof UploadDemoComponent]>;
3527
4059
  static ɵinj: i0.ɵɵInjectorDeclaration<HttpRequestManagerModule>;
3528
4060
  }
3529
4061
 
@@ -3539,8 +4071,8 @@ declare class StoreStateSignalsDemoComponent implements OnInit {
3539
4071
  reset(): void;
3540
4072
  addToHistory(): void;
3541
4073
  static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateSignalsDemoComponent, never>;
3542
- static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateSignalsDemoComponent, "app-store-state-signals-demo", never, {}, {}, never, never, false, never>;
4074
+ static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateSignalsDemoComponent, "app-store-state-signals-demo", never, {}, {}, never, never, true, never>;
3543
4075
  }
3544
4076
 
3545
- export { ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchResult, CONFIG_SETTINGS_TOKEN, ChannelType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseStorage, DbService, ErrorDisplaySettings, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsDemoComponent, LocalStorageSignalsManagerService, LoggerService, NotificationMessage, PathQueryService, PublicMessage, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, StateMessage, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StoreStateManagerSignalsService, StoreStateSignalsDemoComponent, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UserData, UtilsService, WSOptions, WebSocketMessageService, WithCredentialsInterceptor, calculateBatchProgress, countdown, createChannelName, delayedRetry, isErrorState, isPendingState, isSuccessState, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
3546
- export type { APIStateManagerData, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestState, BatchResultInterface, BatchSuccessState, ConfigHTTPOptionsInterface, ConfigOptionsInterface, DatabaseStorageInterface, ErrorDisplaySettingsInterface, GlobalStoreOptionsInterface, LocalStorageOptionsInterface, NotificationMessageInterface, ParsingResult, PublicMessageInterface, RequestOptionsInterface, RetryOptionsInterface, SettingOptionsInterface, State, StateMessageInterface, StateStorageOptionsInterface, StateStoreManagerData$1 as StateStoreManagerData, StorageDataInterface, StorageOptionInterface, StreamConfig, StreamEvent, TableRecord, TableSchemaDefInterface, UserDataInterface, WSOptionsInterface };
4077
+ export { ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchResult, CONFIG_SETTINGS_TOKEN, ChannelType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseManagerSignalsService, DatabaseStorage, DbService, DexieSqlService, ErrorDisplaySettings, ExecutionPlanType, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HTTPManagerStateSignalsService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, InvalidFileInfoModel, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsDemoComponent, LocalStorageSignalsManagerService, LoggerService, NotificationMessage, OperationResultModel, ParsingResultModel, PathQueryService, PublicMessage, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, SqlParseError, SqlValidationError, StateMessage, StateOperationResult, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StoreStateManagerSignalsService, StoreStateSignalsDemoComponent, StreamConfigModel, StreamEventMetadataModel, StreamEventModel, StreamOutputModel, StreamProgressModel, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UploadDemoComponent, UploadValidationErrorModel, UserData, UtilsService, WSOptions, WebSocketMessageService, WithCredentialsInterceptor, calculateBatchProgress, countdown, createChannelName, delayedRetry, isErrorState, isPendingState, isSuccessState, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
4078
+ export type { APIStateManagerData, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestState, BatchResultInterface, BatchSuccessState, ConfigHTTPOptionsInterface, ConfigOptionsInterface, DatabaseStorageInterface, DexieOp, DexieSqlOptions, ErrorDisplaySettingsInterface, ExecutionPlan, GlobalStoreOptionsInterface, InvalidFileInfoInterface, JoinInfo, LocalStorageOptionsInterface, NotificationMessageInterface, OperationResultInterface, ParseResult, ParsingResultInterface, PlanStep, PublicMessageInterface, RequestOptionsInterface, RetryOptionsInterface, SettingOptionsInterface, State, StateMessageInterface, StateOperationResultInterface, StateStorageOptionsInterface, StateStoreManagerData$1 as StateStoreManagerData, StorageDataInterface, StorageOptionInterface, StreamConfigInterface, StreamEventInterface, StreamEventMetadataInterface, StreamOutputInterface, StreamProgressInterface, TableRecord, TableSchemaDefInterface, TableSchemaInfo, UploadValidationErrorInterface, UserDataInterface, ValidatedQuery, WSOptionsInterface };