http-request-manager 18.11.10 → 18.11.13

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,16 @@
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, 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 i2 from 'toast-message-display';
8
8
  import { ToastMessageDisplayService } from 'toast-message-display';
9
9
  import Dexie, { Table } from 'dexie';
10
- import * as i35 from '@ngx-translate/core';
10
+ import * as i4 from '@ngx-translate/core';
11
11
  import { TranslateService } from '@ngx-translate/core';
12
- import * as _angular_forms from '@angular/forms';
13
- import { FormArray, FormBuilder, FormControl } from '@angular/forms';
14
- import { DataSource } from '@angular/cdk/collections';
15
- import * as i4 from '@angular/common';
16
- 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';
21
- 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';
26
- import * as i6 from '@angular/material/progress-spinner';
27
- 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';
36
- import { ThemePalette } from '@angular/material/core';
37
- import * as i39 from '@angular/material/card';
12
+ import * as i1 from '@angular/common';
13
+ import * as i3 from '@angular/forms';
38
14
 
39
15
  declare enum StorageType {
40
16
  GLOBAL = 0,
@@ -2068,1101 +2044,33 @@ declare class RequestErrorInterceptor implements HttpInterceptor {
2068
2044
  static ɵprov: i0.ɵɵInjectableDeclaration<RequestErrorInterceptor>;
2069
2045
  }
2070
2046
 
2071
- interface ClientInfoInterface$2 {
2072
- domain: string;
2073
- service: string;
2074
- id: number;
2075
- name: string;
2076
- }
2077
- declare class ClientInfo$2 implements ClientInfoInterface$2 {
2078
- domain: string;
2079
- service: string;
2080
- id: number;
2081
- name: string;
2082
- constructor(domain?: string, service?: string, id?: number, name?: string);
2083
- static adapt(item?: any): ClientInfo$2;
2084
- }
2085
-
2086
- interface ClientInfoMapperInterface$2 {
2087
- id: number;
2088
- first_name: string;
2089
- last_name: string;
2090
- email: string;
2091
- }
2092
- declare class ClientInfoMapper$2 implements ClientInfoMapperInterface$2 {
2093
- id: number;
2094
- first_name: string;
2095
- last_name: string;
2096
- email: string;
2097
- constructor(id?: number, first_name?: string, last_name?: string, email?: string);
2098
- static adapt(item?: any): ClientInfoMapper$2;
2099
- }
2100
-
2101
- interface AIPromptInterface$2 {
2102
- response: string;
2103
- }
2104
- declare class AIPrompt$2 implements AIPromptInterface$2 {
2105
- response: string;
2106
- constructor(response?: string);
2107
- static adapt(item?: any): AIPrompt$2;
2108
- }
2109
-
2110
- declare class RequestManagerBasicDemoComponent implements OnInit {
2111
- server: string;
2112
- adapter?: Function;
2113
- mapper?: Function;
2114
- displayedColumns: string[];
2115
- getColumnsFromData(data: any[]): string[];
2116
- updateDisplayedColumns(data: any[]): void;
2117
- isObject(value: any): boolean;
2118
- private fb;
2119
- private toastMessage;
2120
- questionControl: _angular_forms.FormControl<string | null>;
2121
- httpManagerService: HTTPManagerService<any>;
2122
- isPending$: Observable<boolean>;
2123
- countdown$: Observable<number>;
2124
- GET_error$: BehaviorSubject<string>;
2125
- POST_error$: BehaviorSubject<string>;
2126
- PUT_error$: BehaviorSubject<string>;
2127
- DELETE_error$: BehaviorSubject<string>;
2128
- STREAM_error$: BehaviorSubject<string>;
2129
- STREAM_AI_error$: BehaviorSubject<string>;
2130
- GET$?: Observable<any>;
2131
- POST$?: Observable<any>;
2132
- PUT$?: Observable<any>;
2133
- DELETE$?: Observable<any>;
2134
- STREAM$?: Observable<any>;
2135
- STREAM_AI$?: Observable<any>;
2136
- requestParams: {
2137
- GET: ApiRequest;
2138
- POST: ApiRequest;
2139
- PUT: ApiRequest;
2140
- DELETE: ApiRequest;
2141
- STREAM: ApiRequest;
2142
- };
2143
- streamTypes: {
2144
- id: string;
2145
- value: string;
2146
- }[];
2147
- streamType: string;
2148
- failedState: any;
2149
- pollingState: any;
2150
- downloadRequest: ApiRequest;
2151
- sampleClientData: {
2152
- id: number;
2153
- name: string;
2154
- domain: string;
2155
- service: string;
2156
- spiffe: string;
2157
- secret: string;
2158
- created: number;
2159
- modified: number;
2160
- icon: string;
2161
- imageFile: string;
2162
- email: string;
2163
- };
2164
- requestForm: _angular_forms.FormGroup<{
2165
- path: _angular_forms.FormControl<string | null>;
2166
- headers: FormArray<_angular_forms.FormControl<unknown>>;
2167
- adapter: _angular_forms.FormControl<null>;
2168
- mapper: _angular_forms.FormControl<null>;
2169
- retry: _angular_forms.FormGroup<{
2170
- times: _angular_forms.FormControl<number | null>;
2171
- delay: _angular_forms.FormControl<number | null>;
2172
- }>;
2173
- polling: _angular_forms.FormControl<number | null>;
2174
- }>;
2175
- AIType: number;
2176
- sampleAdaptors: ({
2177
- label: string;
2178
- value: typeof ClientInfo$2.adapt;
2179
- } | {
2180
- label: string;
2181
- value: typeof AIPrompt$2.adapt;
2182
- })[];
2183
- sampleMappers: ({
2184
- label: string;
2185
- value: typeof ClientInfoMapper$2.adapt;
2186
- } | {
2187
- label: string;
2188
- value: typeof AIPrompt$2.adapt;
2189
- })[];
2190
- get retry(): {
2191
- times: number | null;
2192
- delay: number | null;
2193
- } | undefined;
2194
- get headers(): FormArray;
2195
- get isValid(): boolean;
2196
- hasId: (arr: any[]) => boolean;
2197
- props: (adapter: any) => any;
2198
- arrayObjectsToObjects: (arr: any[]) => any;
2199
- constructor();
2200
- ngOnInit(): void;
2201
- onStreamType(type: string): void;
2202
- addHeader(): void;
2203
- removeHeader(index: number): void;
2204
- compileRequest(): {
2205
- apiOptions: ApiRequest;
2206
- path: string[];
2207
- };
2208
- onGetRequest(): void;
2209
- onCreateRequest(): void;
2210
- onUpdateRequest(): void;
2211
- onDeleteRequest(): void;
2212
- onStreamPostRequest(): void;
2213
- onStreamRequest(): void;
2214
- onDownloadCompleted(): void;
2215
- onDownloadFailed(err: string): void;
2216
- errorHandling(err: any, type: string): void;
2217
- onSelectAIType(type: number): void;
2218
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerBasicDemoComponent, never>;
2219
- static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerBasicDemoComponent, "app-request-manager-basic-demo", never, {}, {}, never, never, false, never>;
2220
- }
2221
-
2222
- declare class HttpRequestServicesDemoComponent implements OnInit {
2223
- private configOptions?;
2224
- wsServer: string;
2225
- jwtToken: string;
2226
- server: string;
2227
- user?: UserData;
2228
- path: string[];
2229
- adapter?: Function;
2230
- mapper?: Function;
2231
- requestTypes: ({
2232
- name: string;
2233
- value: string;
2234
- new?: undefined;
2235
- divider?: undefined;
2236
- disabled?: undefined;
2237
- } | {
2238
- name: string;
2239
- value: string;
2240
- new: boolean;
2241
- divider?: undefined;
2242
- disabled?: undefined;
2243
- } | {
2244
- name: string;
2245
- value: string;
2246
- divider: boolean;
2247
- disabled: boolean;
2248
- new?: undefined;
2249
- } | {
2250
- name: string;
2251
- value: string;
2252
- divider: boolean;
2253
- new?: undefined;
2254
- disabled?: undefined;
2255
- })[];
2256
- selectedService: string;
2257
- injectionOptions?: ConfigOptions;
2258
- constructor(configOptions?: ConfigOptions | undefined);
2259
- ngOnInit(): void;
2260
- onSelected(type: number): void;
2261
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpRequestServicesDemoComponent, never>;
2262
- static ɵcmp: i0.ɵɵComponentDeclaration<HttpRequestServicesDemoComponent, "app-http-request-services-demo", never, { "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "server": { "alias": "server"; "required": false; }; "user": { "alias": "user"; "required": false; }; "path": { "alias": "path"; "required": false; }; "adapter": { "alias": "adapter"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; }, {}, never, never, false, never>;
2263
- }
2264
-
2265
- interface ClientInfoInterface$1 {
2266
- domain: string;
2267
- service: string;
2268
- id: number;
2269
- name: string;
2270
- }
2271
- declare class ClientInfo$1 implements ClientInfoInterface$1 {
2272
- domain: string;
2273
- service: string;
2274
- id: number;
2275
- name: string;
2276
- constructor(domain?: string, service?: string, id?: number, name?: string);
2277
- static adapt(item?: any): ClientInfo$1;
2278
- }
2279
-
2280
- declare class StateManagerDemoService extends HTTPManagerStateService<any> {
2281
- constructor();
2282
- setAPIOptions(apiOptions: ApiRequest, dataType: DataType, database?: DatabaseStorage): void;
2283
- getClients(): void;
2284
- createClient(data: any): void;
2285
- updateClient(data: ClientInfo$1): void;
2286
- deleteClient(data: ClientInfo$1): void;
2287
- streamRequest(): void;
2288
- static ɵfac: i0.ɵɵFactoryDeclaration<StateManagerDemoService, never>;
2289
- static ɵprov: i0.ɵɵInjectableDeclaration<StateManagerDemoService>;
2290
- }
2291
-
2292
- interface ClientInfoMapperInterface$1 {
2293
- id: number;
2294
- first_name: string;
2295
- last_name: string;
2296
- email: string;
2297
- }
2298
- declare class ClientInfoMapper$1 implements ClientInfoMapperInterface$1 {
2299
- id: number;
2300
- first_name: string;
2301
- last_name: string;
2302
- email: string;
2303
- constructor(id?: number, first_name?: string, last_name?: string, email?: string);
2304
- static adapt(item?: any): ClientInfoMapper$1;
2305
- }
2306
-
2307
- interface AIPromptInterface$1 {
2308
- response: string;
2309
- }
2310
- declare class AIPrompt$1 implements AIPromptInterface$1 {
2311
- response: string;
2312
- constructor(response?: string);
2313
- static adapt(item?: any): AIPrompt$1;
2314
- }
2315
-
2316
- declare class RequestManagerStateDemoComponent implements OnInit {
2317
- server: string;
2318
- adapter?: Function;
2319
- mapper?: Function;
2320
- stateManagerDemoService: StateManagerDemoService;
2321
- displayedColumns: string[];
2322
- getColumnsFromData(data: any[]): string[];
2323
- updateDisplayedColumns(data: any[]): void;
2324
- isObject(value: any): boolean;
2325
- getDataLength(data: any): number;
2326
- selectedRecord$?: Observable<ClientInfo$1 | null>;
2327
- fb: FormBuilder;
2328
- streamTypes: {
2329
- id: string;
2330
- value: string;
2331
- }[];
2332
- streamType: string;
2333
- httpManagerService: HTTPManagerService<any>;
2334
- isPending$: Observable<boolean>;
2335
- error$: Observable<boolean>;
2336
- countdown$: Observable<number>;
2337
- GET_error$: BehaviorSubject<string>;
2338
- POST_error$: BehaviorSubject<string>;
2339
- PUT_error$: BehaviorSubject<string>;
2340
- DELETE_error$: BehaviorSubject<string>;
2341
- STREAM_error$: BehaviorSubject<string>;
2342
- STREAM_AI_error$: BehaviorSubject<string>;
2343
- GET$: BehaviorSubject<any>;
2344
- POST$: BehaviorSubject<null>;
2345
- PUT$: BehaviorSubject<null>;
2346
- DELETE$: BehaviorSubject<null>;
2347
- STREAM: BehaviorSubject<null>;
2348
- STREAM$: Observable<null>;
2349
- STREAM_AI: BehaviorSubject<{
2350
- response: string;
2351
- }[]>;
2352
- STREAM_AI$: Observable<any>;
2353
- failedState: any;
2354
- pollingState: any;
2355
- questionControl: _angular_forms.FormControl<string | null>;
2356
- requestType: string;
2357
- prompts: string[];
2358
- AIType: number;
2359
- get dataObservable$(): BehaviorSubject<any> | BehaviorSubject<null> | BehaviorSubject<{
2360
- response: string;
2361
- }[]>;
2362
- sampleClientData: {
2363
- id: number;
2364
- name: string;
2365
- domain: string;
2366
- service: string;
2367
- spiffe: string;
2368
- secret: string;
2369
- created: number;
2370
- modified: number;
2371
- icon: string;
2372
- imageFile: string;
2373
- };
2374
- selectedRecord: _angular_forms.FormControl<null>;
2375
- requestForm: _angular_forms.FormGroup<{
2376
- datatype: _angular_forms.FormControl<string | null>;
2377
- path: _angular_forms.FormControl<string | null>;
2378
- headers: FormArray<_angular_forms.FormControl<unknown>>;
2379
- adapter: _angular_forms.FormControl<null>;
2380
- mapper: _angular_forms.FormControl<null>;
2381
- retry: _angular_forms.FormGroup<{
2382
- times: _angular_forms.FormControl<number | null>;
2383
- delay: _angular_forms.FormControl<number | null>;
2384
- }>;
2385
- polling: _angular_forms.FormControl<number | null>;
2386
- database: _angular_forms.FormGroup<{
2387
- table: _angular_forms.FormControl<string | null>;
2388
- expiresIn: _angular_forms.FormControl<string | null>;
2389
- }>;
2390
- }>;
2391
- get hasChanged(): boolean;
2392
- get dataType(): string | null | undefined;
2393
- get database(): {
2394
- table: string | null;
2395
- expiresIn: string | null;
2396
- } | undefined;
2397
- get retry(): {
2398
- times: number | null;
2399
- delay: number | null;
2400
- } | undefined;
2401
- sampleAdaptors: ({
2402
- label: string;
2403
- value: typeof ClientInfo$1.adapt;
2404
- } | {
2405
- label: string;
2406
- value: typeof AIPrompt$1.adapt;
2407
- })[];
2408
- sampleMappers: ({
2409
- label: string;
2410
- value: typeof ClientInfoMapper$1.adapt;
2411
- } | {
2412
- label: string;
2413
- value: typeof AIPrompt$1.adapt;
2414
- })[];
2415
- get headers(): FormArray;
2416
- get isValid(): boolean;
2417
- arrayObjectsToObjects: (arr: any[]) => any;
2418
- props: (adapter: any) => any;
2419
- constructor();
2420
- ngOnInit(): void;
2421
- onStreamType(type: string): void;
2422
- addHeader(): void;
2423
- removeHeader(index: number): void;
2424
- compileRequest(): {
2425
- apiOptions: ApiRequest;
2426
- path: string[];
2427
- };
2428
- onSetStateOptions(): void;
2429
- onClearRecords(): void;
2430
- onGetRequest(): void;
2431
- onCreateRequest(): void;
2432
- onUpdateRequest(): void;
2433
- onDeleteRequest(): void;
2434
- onStreamRequest(): void;
2435
- errorHandling(err: any, type: string): void;
2436
- onSelectAIType(type: number): void;
2437
- onClearHistory(): void;
2438
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerStateDemoComponent, never>;
2439
- 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>;
2440
- }
2441
-
2442
- declare class RequestManagerDemoComponent implements OnInit {
2443
- server: string;
2444
- adapter?: Function;
2445
- mapper?: Function;
2446
- displayedColumns: string[];
2447
- getColumnsFromData(data: any[]): string[];
2448
- updateDisplayedColumns(data: any[]): void;
2449
- isObject(value: any): boolean;
2450
- private fb;
2451
- private toastMessage;
2452
- questionControl: _angular_forms.FormControl<string | null>;
2453
- httpManagerService: HTTPManagerService<any>;
2454
- isPending$: Observable<boolean>;
2455
- countdown$: Observable<number>;
2456
- GET_error$: BehaviorSubject<string>;
2457
- POST_error$: BehaviorSubject<string>;
2458
- PUT_error$: BehaviorSubject<string>;
2459
- DELETE_error$: BehaviorSubject<string>;
2460
- STREAM_error$: BehaviorSubject<string>;
2461
- STREAM_AI_error$: BehaviorSubject<string>;
2462
- GET$?: Observable<any>;
2463
- POST$?: Observable<any>;
2464
- PUT$?: Observable<any>;
2465
- DELETE$?: Observable<any>;
2466
- STREAM$?: Observable<any>;
2467
- STREAM_AI$?: Observable<any>;
2468
- parallelBatch$?: Observable<any[]>;
2469
- sequentialBatch$?: Observable<any[]>;
2470
- parallelExecutionTime?: number;
2471
- sequentialExecutionTime?: number;
2472
- parallelResults?: any[];
2473
- sequentialResults?: any[];
2474
- isParallelLoading: boolean;
2475
- isSequentialLoading: boolean;
2476
- parallelError?: string;
2477
- sequentialError?: string;
2478
- parallelBatchStates: (BatchRequestState<any> | undefined)[];
2479
- sequentialBatchStates: (BatchRequestState<any> | undefined)[];
2480
- streamBatchStates: (BatchRequestState<any> | undefined)[];
2481
- streamProgress?: BatchProgress;
2482
- streamExecutionTime?: number;
2483
- isStreamLoading: boolean;
2484
- streamError?: string;
2485
- get filteredParallelStates(): BatchRequestState<any>[];
2486
- get filteredSequentialStates(): BatchRequestState<any>[];
2487
- get filteredStreamStates(): BatchRequestState<any>[];
2488
- requestParams: {
2489
- GET: ApiRequest;
2490
- POST: ApiRequest;
2491
- PUT: ApiRequest;
2492
- DELETE: ApiRequest;
2493
- STREAM: ApiRequest;
2494
- };
2495
- streamTypes: {
2496
- id: string;
2497
- value: string;
2498
- }[];
2499
- streamType: string;
2500
- failedState: any;
2501
- pollingState: any;
2502
- downloadRequest: ApiRequest;
2503
- sampleClientData: {
2504
- id: number;
2505
- name: string;
2506
- domain: string;
2507
- service: string;
2508
- spiffe: string;
2509
- secret: string;
2510
- created: number;
2511
- modified: number;
2512
- icon: string;
2513
- imageFile: string;
2514
- email: string;
2515
- };
2516
- requestForm: _angular_forms.FormGroup<{
2517
- path: _angular_forms.FormControl<string | null>;
2518
- headers: FormArray<_angular_forms.FormControl<unknown>>;
2519
- adapter: _angular_forms.FormControl<null>;
2520
- mapper: _angular_forms.FormControl<null>;
2521
- retry: _angular_forms.FormGroup<{
2522
- times: _angular_forms.FormControl<number | null>;
2523
- delay: _angular_forms.FormControl<number | null>;
2524
- }>;
2525
- polling: _angular_forms.FormControl<number | null>;
2526
- }>;
2527
- AIType: number;
2528
- sampleAdaptors: ({
2529
- label: string;
2530
- value: typeof ClientInfo$1.adapt;
2531
- } | {
2532
- label: string;
2533
- value: typeof AIPrompt$1.adapt;
2534
- })[];
2535
- sampleMappers: ({
2536
- label: string;
2537
- value: typeof ClientInfoMapper$1.adapt;
2538
- } | {
2539
- label: string;
2540
- value: typeof AIPrompt$1.adapt;
2541
- })[];
2542
- get retry(): {
2543
- times: number | null;
2544
- delay: number | null;
2545
- } | undefined;
2546
- get headers(): FormArray;
2547
- get isValid(): boolean;
2548
- hasId: (arr: any[]) => boolean;
2549
- props: (adapter: any) => any;
2550
- arrayObjectsToObjects: (arr: any[]) => any;
2551
- constructor();
2552
- ngOnInit(): void;
2553
- onStreamType(type: string): void;
2554
- addHeader(): void;
2555
- removeHeader(index: number): void;
2556
- compileRequest(): {
2557
- apiOptions: ApiRequest;
2558
- path: string[];
2559
- };
2560
- onGetRequest(): void;
2561
- onCreateRequest(): void;
2562
- onUpdateRequest(): void;
2563
- onDeleteRequest(): void;
2564
- onStreamPostRequest(): void;
2565
- onStreamRequest(): void;
2566
- onDownloadCompleted(): void;
2567
- onDownloadFailed(err: string): void;
2568
- errorHandling(err: any, type: string): void;
2569
- onSelectAIType(type: number): void;
2570
- /**
2571
- * Execute parallel batch request - fetch 5 users from JSONPlaceholder with individual states
2572
- */
2573
- onExecuteParallelBatch(): void;
2574
- /**
2575
- * Execute sequential batch request - fetch 5 todos from JSONPlaceholder with individual states
2576
- */
2577
- onExecuteSequentialBatch(): void;
2578
- /**
2579
- * Execute stream batch request - fetch 5 posts with real-time state updates
2580
- */
2581
- onExecuteStreamBatch(): void;
2582
- /**
2583
- * Type guard for pending state
2584
- */
2585
- isPendingState(state: BatchRequestState<any>): boolean;
2586
- /**
2587
- * Type guard for success state
2588
- */
2589
- isSuccessState(state: BatchRequestState<any>): boolean;
2590
- /**
2591
- * Type guard for error state
2592
- */
2593
- isErrorState(state: BatchRequestState<any>): boolean;
2594
- /**
2595
- * Helper to create batch requests from IDs
2596
- */
2597
- private createBatchRequests;
2598
- /**
2599
- * Check if result is successful (not undefined)
2600
- */
2601
- isSuccess(result: any): boolean;
2602
- /**
2603
- * Format execution time for display
2604
- */
2605
- formatTime(ms: number): string;
2606
- /**
2607
- * Get success count from results array
2608
- */
2609
- getSuccessCount(results?: any[]): number;
2610
- /**
2611
- * Get failure count from results array
2612
- */
2613
- getFailureCount(results?: any[]): number;
2614
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerDemoComponent, never>;
2615
- static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerDemoComponent, "app-request-manager-demo", never, { "server": { "alias": "server"; "required": false; }; "adapter": { "alias": "adapter"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; }, {}, never, never, false, never>;
2616
- }
2617
-
2618
- interface ClientInfoInterface {
2619
- domain: string;
2620
- service: string;
2621
- id: number;
2622
- name: string;
2623
- }
2624
- declare class ClientInfo implements ClientInfoInterface {
2625
- domain: string;
2626
- service: string;
2627
- id: number;
2628
- name: string;
2629
- constructor(domain?: string, service?: string, id?: number, name?: string);
2630
- static adapt(item?: any): ClientInfo;
2631
- }
2632
-
2633
- interface ClientInfoMapperInterface {
2634
- id: number;
2635
- first_name: string;
2636
- last_name: string;
2637
- email: string;
2638
- }
2639
- declare class ClientInfoMapper implements ClientInfoMapperInterface {
2640
- id: number;
2641
- first_name: string;
2642
- last_name: string;
2643
- email: string;
2644
- constructor(id?: number, first_name?: string, last_name?: string, email?: string);
2645
- static adapt(item?: any): ClientInfoMapper;
2646
- }
2647
-
2648
- interface AIPromptInterface {
2649
- response: string;
2650
- }
2651
- declare class AIPrompt implements AIPromptInterface {
2652
- response: string;
2653
- constructor(response?: string);
2654
- static adapt(item?: any): AIPrompt;
2655
- }
2656
-
2657
- declare class RequestSignalsManagerDemoComponent implements OnInit {
2658
- displayedColumns: string[];
2659
- private fb;
2660
- private toastMessage;
2661
- httpManagerSignalsService: HTTPManagerSignalsService<any>;
2662
- isPending: i0.WritableSignal<boolean>;
2663
- countdown: i0.WritableSignal<number>;
2664
- GET_result: any;
2665
- POST_result: any;
2666
- PUT_result: any;
2667
- DELETE_result: any;
2668
- STREAM_result: any;
2669
- STREAM_AI_result: any;
2670
- GET_error: string;
2671
- POST_error: string;
2672
- PUT_error: string;
2673
- DELETE_error: string;
2674
- STREAM_error: string;
2675
- STREAM_AI_error: string;
2676
- requestParams: {
2677
- GET: ApiRequest;
2678
- POST: ApiRequest;
2679
- PUT: ApiRequest;
2680
- DELETE: ApiRequest;
2681
- STREAM: ApiRequest;
2682
- };
2683
- failedState: any;
2684
- pollingState: any;
2685
- questionControl: _angular_forms.FormControl<string | null>;
2686
- downloadRequest: ApiRequest;
2687
- sampleClientData: {
2688
- id: number;
2689
- name: string;
2690
- domain: string;
2691
- service: string;
2692
- spiffe: string;
2693
- secret: string;
2694
- created: number;
2695
- modified: number;
2696
- icon: string;
2697
- imageFile: string;
2698
- email: string;
2699
- };
2700
- requestForm: _angular_forms.FormGroup<{
2701
- path: _angular_forms.FormControl<string | null>;
2702
- headers: FormArray<_angular_forms.FormControl<unknown>>;
2703
- adapter: _angular_forms.FormControl<null>;
2704
- mapper: _angular_forms.FormControl<null>;
2705
- retry: _angular_forms.FormGroup<{
2706
- times: _angular_forms.FormControl<number | null>;
2707
- delay: _angular_forms.FormControl<number | null>;
2708
- }>;
2709
- polling: _angular_forms.FormControl<number | null>;
2710
- }>;
2711
- AIType: number;
2712
- sampleAdaptors: ({
2713
- label: string;
2714
- value: typeof ClientInfo.adapt;
2715
- } | {
2716
- label: string;
2717
- value: typeof AIPrompt.adapt;
2718
- })[];
2719
- sampleMappers: ({
2720
- label: string;
2721
- value: typeof ClientInfoMapper.adapt;
2722
- } | {
2723
- label: string;
2724
- value: typeof AIPrompt.adapt;
2725
- })[];
2726
- get retry(): {
2727
- times: number | null;
2728
- delay: number | null;
2729
- } | undefined;
2730
- get headers(): FormArray;
2731
- get isValid(): boolean;
2732
- hasId: (arr: any[]) => boolean;
2733
- props: (adapter: any) => any;
2734
- arrayObjectsToObjects: (arr: any[]) => any;
2735
- constructor();
2736
- ngOnInit(): void;
2737
- addHeader(): void;
2738
- removeHeader(index: number): void;
2739
- compileRequest(): {
2740
- apiOptions: ApiRequest;
2741
- path: string[];
2742
- };
2743
- onGetRequest(): void;
2744
- onCreateRequest(): void;
2745
- onUpdateRequest(): void;
2746
- onDeleteRequest(): void;
2747
- onStreamPostRequest(): void;
2748
- onStreamRequest(): void;
2749
- onDownloadCompleted(): void;
2750
- onDownloadFailed(err: string): void;
2751
- errorHandling(err: any, type: string): any;
2752
- onSelectAIType(type: number): void;
2753
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestSignalsManagerDemoComponent, never>;
2754
- static ɵcmp: i0.ɵɵComponentDeclaration<RequestSignalsManagerDemoComponent, "app-request-signals-manager-demo", never, {}, {}, never, never, false, never>;
2755
- }
2756
-
2757
- declare class LocalStorageDemoComponent implements OnInit {
2758
- private configOptions?;
2759
- fb: FormBuilder;
2760
- utils: UtilsService;
2761
- type$: BehaviorSubject<StorageType>;
2762
- get type(): number;
2763
- typeControl: _angular_forms.FormControl<string | null>;
2764
- localStorageManagerService: LocalStorageManagerService;
2765
- settings$: Observable<any>;
2766
- setting$: (store: string) => Observable<StorageOption | null>;
2767
- storageForm: _angular_forms.FormGroup<{
2768
- store: _angular_forms.FormControl<string | null>;
2769
- type: _angular_forms.FormControl<string | null>;
2770
- settingType: _angular_forms.FormControl<string | null>;
2771
- encrypted: _angular_forms.FormControl<boolean | null>;
2772
- data: _angular_forms.FormControl<string | null>;
2773
- }>;
2774
- newStoreForm: _angular_forms.FormGroup<{
2775
- name: _angular_forms.FormControl<string | null>;
2776
- storage: _angular_forms.FormControl<string | null>;
2777
- encrypted: _angular_forms.FormControl<boolean | null>;
2778
- data: _angular_forms.FormControl<string | null>;
2779
- expiresIn: _angular_forms.FormControl<string | null>;
2780
- }>;
2781
- store$?: Observable<any>;
2782
- storeData$: Observable<any> | undefined;
2783
- expiresIn: (epoch: number) => string | undefined;
2784
- get isValid(): boolean;
2785
- get isValidData(): boolean;
2786
- isValidJSON: (str: string) => boolean;
2787
- displayedColumns: string[];
2788
- filterData: (values: SettingOptions[]) => SettingOptions[];
2789
- data$?: Observable<any>;
2790
- store: any;
2791
- create: boolean;
2792
- storeProps?: LocalStorageOptions;
2793
- options?: SettingOptions;
2794
- constructor(configOptions?: ConfigOptions | undefined);
2795
- ngOnInit(): void;
2796
- onCreateStore(): void;
2797
- onUpdateStore(store: any): void;
2798
- onSelectedRow(store: any): void;
2799
- onCreate(): void;
2800
- onDelete(store: StorageOption): void;
2801
- onCancel(): void;
2802
- onUpdate(store: StorageOption, data: any): void;
2803
- onReset(): void;
2804
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageDemoComponent, never>;
2805
- static ɵcmp: i0.ɵɵComponentDeclaration<LocalStorageDemoComponent, "app-local-storage-demo", never, {}, {}, never, never, false, never>;
2806
- }
2807
-
2808
- declare class LocalStorageSignalsDemoComponent implements OnInit {
2809
- private configOptions?;
2810
- fb: FormBuilder;
2811
- utils: UtilsService;
2812
- get type(): number;
2813
- typeControl: _angular_forms.FormControl<string | null>;
2814
- localStorageManagerService: LocalStorageSignalsManagerService;
2815
- readonly settings: i0.Signal<StorageOption[]>;
2816
- storeSelected: i0.WritableSignal<StorageOption | null>;
2817
- selectedStoreData: i0.Signal<string>;
2818
- selectedType: i0.WritableSignal<number>;
2819
- filteredSettings: i0.Signal<StorageOption[]>;
2820
- storageForm: _angular_forms.FormGroup<{
2821
- store: _angular_forms.FormControl<string | null>;
2822
- type: _angular_forms.FormControl<string | null>;
2823
- settingType: _angular_forms.FormControl<string | null>;
2824
- encrypted: _angular_forms.FormControl<boolean | null>;
2825
- data: _angular_forms.FormControl<string | null>;
2826
- }>;
2827
- newStoreForm: _angular_forms.FormGroup<{
2828
- name: _angular_forms.FormControl<string | null>;
2829
- storage: _angular_forms.FormControl<string | null>;
2830
- encrypted: _angular_forms.FormControl<boolean | null>;
2831
- data: _angular_forms.FormControl<string | null>;
2832
- expiresIn: _angular_forms.FormControl<string | null>;
2833
- }>;
2834
- expiresIn: (epoch: number) => string | undefined;
2835
- get isValid(): boolean;
2836
- get isValidData(): boolean;
2837
- isValidJSON: (str: string) => boolean;
2838
- displayedColumns: string[];
2839
- filterData: (values: StorageOption[] | null | undefined) => StorageOption[];
2840
- settingFor(name: string): StorageOption | null;
2841
- store: any;
2842
- create: boolean;
2843
- storeProps?: LocalStorageOptions;
2844
- options?: SettingOptions;
2845
- constructor(configOptions?: ConfigOptions | undefined);
2846
- ngOnInit(): void;
2847
- onCreateStore(): void;
2848
- onUpdateStore(store: any): void;
2849
- onSelectedRow(store: any): void;
2850
- onCreate(): void;
2851
- onDelete(store: StorageOption): void;
2852
- onCancel(): void;
2853
- onUpdate(store: StorageOption, data: any): void;
2854
- onReset(): void;
2855
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageSignalsDemoComponent, never>;
2856
- static ɵcmp: i0.ɵɵComponentDeclaration<LocalStorageSignalsDemoComponent, "app-local-storage-signals-demo", never, {}, {}, never, never, false, never>;
2857
- }
2858
-
2859
- /**
2860
- * StateServiceDemo - Core state management and WebSocket connection service
2861
- *
2862
- * Handles:
2863
- * - WebSocket connection setup
2864
- * - Base HTTP state management
2865
- * - Connection status and retry logic
2866
- */
2867
- declare class StateServiceDemo extends HTTPManagerStateService<any> {
2868
- attempts$: rxjs.Observable<number>;
2869
- nextRetry$: rxjs.Observable<number>;
2870
- constructor();
2871
- /**
2872
- * Initialize WebSocket connection with server configuration
2873
- * @param server - Backend server URL
2874
- * @param wsServer - WebSocket server URL
2875
- * @param jwtToken - JWT authentication token
2876
- * @param user - User information
2877
- * @param path - Path for constructing channel name (e.g., ['ai','tests'])
2878
- */
2879
- updateConnection(server: string, wsServer: string, jwtToken: string, user: any, path?: (string | number)[]): void;
2880
- /**
2881
- * Get all available channels
2882
- */
2883
- getAllChannels(): void;
2884
- /**
2885
- * Subscribe to a channel
2886
- */
2887
- subscribeToChannel(channel: string): void;
2888
- /**
2889
- * Unsubscribe from a channel
2890
- */
2891
- unsubscribeFromChannel(channel: string): void;
2892
- /**
2893
- * Create a notification channel (MES- prefix)
2894
- */
2895
- createNotificationChannel(channel: string): void;
2896
- /**
2897
- * Get all notification channels list (in-memory)
2898
- */
2899
- getNotificationChannels(): void;
2900
- /**
2901
- * Get today's notification channels from database
2902
- * Returns unique channels that have notifications posted today
2903
- */
2904
- getTodaysNotificationChannels(): void;
2905
- /**
2906
- * Define and load previous day's notification channels from database
2907
- * Creates channels in memory and broadcasts updated list
2908
- */
2909
- definePreviousNotificationChannels(): void;
2910
- /**
2911
- * Subscribe to notification channel with optional date filters
2912
- */
2913
- subscribeToNotificationChannel(channel: string, options?: {
2914
- startEpoch?: number;
2915
- endEpoch?: number;
2916
- }, user?: any): void;
2917
- /**
2918
- * Unsubscribe from notification channel
2919
- */
2920
- unsubscribeFromNotificationChannel(channel: string): void;
2921
- /**
2922
- * Send a notification to a channel
2923
- */
2924
- sendNotification(channel: string, content: any): void;
2925
- static ɵfac: i0.ɵɵFactoryDeclaration<StateServiceDemo, never>;
2926
- static ɵprov: i0.ɵɵInjectableDeclaration<StateServiceDemo>;
2927
- }
2928
-
2929
- /**
2930
- * MessageServiceDemo - Channel messaging service (PUB- prefix channels)
2931
- *
2932
- * Handles:
2933
- * - Sending messages to channels
2934
- * - Channel subscription for messaging
2935
- * - Real-time message broadcast
2936
- */
2937
- declare class MessageServiceDemo {
2938
- private stateService;
2939
- channels$: rxjs.Observable<string[] | null>;
2940
- subscribedChannels$: rxjs.Observable<Set<string>>;
2941
- communicationMessages$: rxjs.Observable<any[]>;
2942
- latestCommunicationMessages$: rxjs.Observable<any>;
2943
- connectionStatus$: rxjs.Observable<boolean>;
2944
- user$: rxjs.Observable<WSUser | null>;
2945
- data$: rxjs.Observable<any>;
2946
- /**
2947
- * Helper to ensure channel has PUB- prefix
2948
- */
2949
- private toPublicChannel;
2950
- /**
2951
- * Helper to strip PUB- prefix for display
2952
- */
2953
- private fromPublicChannel;
2954
- /**
2955
- * Create a new public channel
2956
- */
2957
- createChannel(channel: string): void;
2958
- /**
2959
- * Get all available channels
2960
- */
2961
- getAllChannels(): void;
2962
- /**
2963
- * Subscribe to a channel to receive messages
2964
- */
2965
- subscribeToChannel(channel: string): void;
2966
- /**
2967
- * Unsubscribe from a channel
2968
- */
2969
- unsubscribeFromChannel(channel: string): void;
2970
- /**
2971
- * Send a message to one or more channels
2972
- */
2973
- sendMessage(data: ChannelMessage, channels?: string[]): void;
2974
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageServiceDemo, never>;
2975
- static ɵprov: i0.ɵɵInjectableDeclaration<MessageServiceDemo>;
2976
- }
2977
-
2978
- /**
2979
- * NotificationServiceDemo - Notification channel service (MES- prefix channels)
2980
- *
2981
- * Handles:
2982
- * - Creating notification channels
2983
- * - Subscribing to notifications with date filters
2984
- * - Sending notifications (persisted to database)
2985
- * - Receiving real-time and historical notifications
2986
- */
2987
- declare class NotificationServiceDemo {
2988
- private stateService;
2989
- notificationChannels$: rxjs.Observable<string[]>;
2990
- todaysNotificationChannels$: rxjs.Observable<string[]>;
2991
- private subscribedNotificationChannelsSubject;
2992
- subscribedNotificationChannels$: rxjs.Observable<Set<string>>;
2993
- notificationMessages$: rxjs.Observable<any[]>;
2994
- latestNotification$: rxjs.Observable<any>;
2995
- connectionStatus$: rxjs.Observable<boolean>;
2996
- /**
2997
- * Create a notification channel
2998
- * NOTE: MES- prefix is added automatically by HTTPManagerStateService
2999
- */
3000
- createNotificationChannel(channel: string): void;
3001
- /**
3002
- * Get all notification channels (in-memory)
3003
- */
3004
- getNotificationChannels(): void;
3005
- /**
3006
- * Get today's notification channels from database
3007
- * Returns unique channels that have notifications posted today
3008
- */
3009
- getTodaysNotificationChannels(): void;
3010
- /**
3011
- * Define and load previous day's notification channels from database
3012
- * Creates channels in memory and broadcasts updated list
3013
- */
3014
- definePreviousNotificationChannels(): void;
3015
- /**
3016
- * Subscribe to a notification channel with optional date filter
3017
- * NOTE: MES- prefix is added automatically by HTTPManagerStateService
3018
- * @param channel Base channel name (without MES- prefix)
3019
- * @param options { startEpoch?, endEpoch? }
3020
- * @param user User info for subscription
3021
- */
3022
- subscribeToNotificationChannel(channel: string, options?: {
3023
- startEpoch?: number;
3024
- endEpoch?: number;
3025
- }, user?: any): void;
3026
- /**
3027
- * Unsubscribe from a notification channel
3028
- * NOTE: MES- prefix is added automatically by HTTPManagerStateService
3029
- */
3030
- unsubscribeFromNotificationChannel(channel: string): void;
3031
- /**
3032
- * Send a notification to a channel
3033
- * NOTE: MES- prefix is added automatically by HTTPManagerStateService
3034
- */
3035
- sendNotification(channel: string, content: any, user?: any): void;
3036
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationServiceDemo, never>;
3037
- static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceDemo>;
3038
- }
3039
-
3040
- declare class RequestManagerWsDemoComponent implements OnInit {
3041
- httpManagerService: HTTPManagerService<any>;
3042
- stateService: StateServiceDemo;
3043
- fb: FormBuilder;
3044
- server: string;
3045
- wsServer: string;
3046
- jwtToken: string;
3047
- user: any;
3048
- path: string[];
3049
- user$: rxjs.Observable<WSUser | null>;
3050
- attempts$: rxjs.Observable<number>;
3051
- nextRetry$: rxjs.Observable<number>;
3052
- connectionStatus$: rxjs.Observable<boolean>;
3053
- data$: rxjs.Observable<any>;
3054
- isPending$: rxjs.Observable<boolean>;
3055
- ngOnInit(): void;
3056
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerWsDemoComponent, never>;
3057
- 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>;
3058
- }
3059
-
3060
- declare class SettingsStateService extends StoreStateManagerService {
3061
- constructor();
3062
- updateEnum_1(value: any): void;
3063
- updateEnum_2(value: any): void;
3064
- getEnum(key: string): rxjs.Observable<any>;
3065
- getEnum_1(): rxjs.Observable<any>;
3066
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsStateService, never>;
3067
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingsStateService>;
3068
- }
3069
-
3070
- declare class StoreStateManagerDemoComponent implements OnInit {
3071
- settingsStateService: SettingsStateService;
3072
- dataState$: rxjs.Observable<any>;
3073
- dataEnum$: rxjs.Observable<any>;
3074
- ngOnInit(): void;
3075
- onUpdateEnum_1(): void;
3076
- onUpdateEnum_2(): void;
3077
- onGetEnum_1(): void;
3078
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateManagerDemoComponent, never>;
3079
- static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateManagerDemoComponent, "app-store-state-manager-demo", never, {}, {}, never, never, false, never>;
3080
- }
3081
-
3082
- interface TableRecord {
3083
- id: number;
3084
- last_name: string;
3085
- age: number;
3086
- amount: number;
3087
- }
3088
- declare class DatabaseDataDemoComponent implements OnInit, OnDestroy {
3089
- db: DatabaseManagerService;
3090
- private destroy$;
3091
- dataToDisplay: TableRecord[];
3092
- dataSource: DatabaseDataSource;
3093
- displayedColumns: string[];
3094
- names: string[];
3095
- constructor();
3096
- ngOnDestroy(): void;
3097
- addData(): void;
3098
- removeData(): void;
3099
- updateData(): void;
3100
- clearAllData(): void;
3101
- private refreshData;
3102
- ngOnInit(): void;
3103
- createTable(tableDef: TableSchemaDef): Observable<boolean>;
3104
- findTableRecords(table: string, column: string, value: any): Observable<any>;
3105
- findTableRecord(table: string, column: string, value: any): Observable<any>;
3106
- getTableRecords(table: string): Observable<any>;
3107
- getTableRecord(table: string, id: number): Observable<any>;
3108
- createTableRecord<T>(table: string, record: T): Observable<any>;
3109
- updateTableRecord<T>(table: string, record: T): Observable<any>;
3110
- deleteTableRecord<T>(table: string, id: number): Observable<any>;
3111
- static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseDataDemoComponent, never>;
3112
- static ɵcmp: i0.ɵɵComponentDeclaration<DatabaseDataDemoComponent, "app-database-data-demo", never, {}, {}, never, never, false, never>;
3113
- }
3114
- declare class DatabaseDataSource extends DataSource<TableRecord> {
3115
- private _dataStream;
3116
- constructor(initialData: TableRecord[]);
3117
- connect(): Observable<TableRecord[]>;
3118
- disconnect(): void;
3119
- setData(data: TableRecord[]): void;
2047
+ declare class HttpRequestManagerModule {
2048
+ static forRoot(config?: ConfigOptions): ModuleWithProviders<HttpRequestManagerModule>;
2049
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpRequestManagerModule, never>;
2050
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HttpRequestManagerModule, never, [typeof i1.CommonModule, typeof i2.ToastMessageDisplayModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TranslateModule], never>;
2051
+ static ɵinj: i0.ɵɵInjectorDeclaration<HttpRequestManagerModule>;
3120
2052
  }
3121
2053
 
3122
- declare class StateDataRequestService extends HTTPManagerStateService<any> {
3123
- attempts$: rxjs.Observable<number>;
3124
- nextRetry$: rxjs.Observable<number>;
3125
- path: (string | number)[];
3126
- constructor();
3127
- updateConnection(server: string, wsServer: string, jwtToken: string, user: any, path?: (string | number)[]): void;
3128
- addData(): void;
3129
- sendMessage(data: ChannelMessage): void;
3130
- getData(): void;
3131
- updateData(data: any): void;
3132
- deleteData(data: any): void;
3133
- static ɵfac: i0.ɵɵFactoryDeclaration<StateDataRequestService, never>;
3134
- static ɵprov: i0.ɵɵInjectableDeclaration<StateDataRequestService>;
2054
+ type DisplayType = 'snackbar' | 'dialog' | 'carousel' | 'banner' | 'inline';
2055
+ interface DisplayConfigInterface {
2056
+ type: DisplayType;
2057
+ supportsMarkdown?: boolean;
2058
+ stackable?: boolean;
2059
+ queueBehavior?: 'replace' | 'queue' | 'ignore';
2060
+ autoDismiss?: number;
2061
+ width?: string;
2062
+ height?: string;
3135
2063
  }
3136
-
3137
- declare class WsDataControlComponent implements OnInit {
3138
- server: string;
3139
- wsServer: string;
3140
- jwtToken: string;
3141
- user: any;
3142
- path: (string | number)[];
3143
- stateDataRequestService: StateDataRequestService;
3144
- webSocketMessageService: WebSocketMessageService;
3145
- user$: rxjs.Observable<WSUser | null>;
3146
- users$: rxjs.Observable<any[]>;
3147
- userAction$: rxjs.Observable<any>;
3148
- data$: rxjs.Observable<any>;
3149
- isUser: (user: any, userItem: any) => boolean;
3150
- ngOnInit(): void;
3151
- onGetData(): void;
3152
- onAddData(): void;
3153
- onUpdateData(data: any[]): void;
3154
- onRemoveData(data: any): void;
3155
- /**
3156
- * Test direct state message via WebSocketMessageService
3157
- * Sends an UPDATE message that should trigger fetchRecord() in the state manager
3158
- *
3159
- * @param recordId - The record ID to update (default: 63)
3160
- * @param useFakeSessionId - If true, uses a fake sessionId to avoid filtering (default: true)
3161
- * @param customSessionId - Optional custom sessionId (overrides useFakeSessionId if provided)
3162
- */
3163
- onTestDirectStateMessage(recordId?: number, useFakeSessionId?: boolean, customSessionId?: string): void;
3164
- static ɵfac: i0.ɵɵFactoryDeclaration<WsDataControlComponent, never>;
3165
- static ɵcmp: i0.ɵɵComponentDeclaration<WsDataControlComponent, "app-ws-data-control", 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>;
2064
+ declare class DisplayConfig implements DisplayConfigInterface {
2065
+ type: DisplayType;
2066
+ supportsMarkdown?: boolean | undefined;
2067
+ stackable?: boolean | undefined;
2068
+ queueBehavior?: ("replace" | "queue" | "ignore") | undefined;
2069
+ autoDismiss?: number | undefined;
2070
+ width?: string | undefined;
2071
+ height?: string | undefined;
2072
+ constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?: ("replace" | "queue" | "ignore") | undefined, autoDismiss?: number | undefined, width?: string | undefined, height?: string | undefined);
2073
+ static adapt(item?: any): DisplayConfig;
3166
2074
  }
3167
2075
 
3168
2076
  interface SlideInterface {
@@ -3197,28 +2105,6 @@ declare class Action implements ActionInterface {
3197
2105
  static adapt(item?: any): Action;
3198
2106
  }
3199
2107
 
3200
- type DisplayType = 'snackbar' | 'dialog' | 'carousel' | 'banner' | 'inline';
3201
- interface DisplayConfigInterface {
3202
- type: DisplayType;
3203
- supportsMarkdown?: boolean;
3204
- stackable?: boolean;
3205
- queueBehavior?: 'replace' | 'queue' | 'ignore';
3206
- autoDismiss?: number;
3207
- width?: string;
3208
- height?: string;
3209
- }
3210
- declare class DisplayConfig implements DisplayConfigInterface {
3211
- type: DisplayType;
3212
- supportsMarkdown?: boolean | undefined;
3213
- stackable?: boolean | undefined;
3214
- queueBehavior?: ("replace" | "queue" | "ignore") | undefined;
3215
- autoDismiss?: number | undefined;
3216
- width?: string | undefined;
3217
- height?: string | undefined;
3218
- constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?: ("replace" | "queue" | "ignore") | undefined, autoDismiss?: number | undefined, width?: string | undefined, height?: string | undefined);
3219
- static adapt(item?: any): DisplayConfig;
3220
- }
3221
-
3222
2108
  interface MessageContentInterface {
3223
2109
  displayConfig?: DisplayConfig;
3224
2110
  title?: string;
@@ -3270,12 +2156,6 @@ declare class CommunicationMessage implements CommunicationMessageInterface {
3270
2156
  static adapt(item?: any): CommunicationMessage;
3271
2157
  }
3272
2158
 
3273
- interface IDisplayStrategy {
3274
- name: string;
3275
- canHandle(message: CommunicationMessage): boolean;
3276
- display(message: CommunicationMessage, config: DisplayConfig): void;
3277
- }
3278
-
3279
2159
  interface DisplayRuleInterface {
3280
2160
  id: string;
3281
2161
  name?: string;
@@ -3291,6 +2171,12 @@ declare class DisplayRule implements DisplayRuleInterface {
3291
2171
  static adapt(item?: any): DisplayRule;
3292
2172
  }
3293
2173
 
2174
+ interface IDisplayStrategy {
2175
+ name: string;
2176
+ canHandle(message: CommunicationMessage): boolean;
2177
+ display(message: CommunicationMessage, config: DisplayConfig): void;
2178
+ }
2179
+
3294
2180
  declare class MessageDisplayRouterService {
3295
2181
  private snackbarStrategy;
3296
2182
  private strategies;
@@ -3302,262 +2188,17 @@ declare class MessageDisplayRouterService {
3302
2188
  static ɵprov: i0.ɵɵInjectableDeclaration<MessageDisplayRouterService>;
3303
2189
  }
3304
2190
 
3305
- declare class WsMessagingComponent implements OnInit, OnDestroy {
3306
- server: string;
3307
- wsServer: string;
3308
- jwtToken: string;
3309
- user: any;
3310
- path: (string | number)[];
3311
- private destroy$;
3312
- fb: FormBuilder;
3313
- messageService: MessageServiceDemo;
3314
- stateService: StateServiceDemo;
3315
- messageDisplayService: MessageDisplayRouterService;
3316
- channels$: Observable<string[]>;
3317
- subscribedChannels$: Observable<string[]>;
3318
- user$: Observable<WSUser | null>;
3319
- data$: Observable<any>;
3320
- connectionStatus$: Observable<boolean>;
3321
- newChannelName: FormControl<string | null>;
3322
- messages: _angular_forms.FormGroup<{
3323
- selectedChannels: FormControl<string[] | null>;
3324
- content: FormControl<string | null>;
3325
- }>;
3326
- get selectedChannels(): FormControl;
3327
- get content(): FormControl;
3328
- communicationMessages$: Observable<any[]>;
3329
- latestCommunicationMessages$: Observable<any>;
3330
- chat$: Observable<{
3331
- user: any;
3332
- messages: any[];
3333
- } | any>;
3334
- ngOnInit(): void;
3335
- ngOnDestroy(): void;
3336
- /**
3337
- * Create a new public channel without auto-subscribing
3338
- * NOTE: PUB- prefix is added by messageService.createChannel
3339
- */
3340
- onCreateChannel(): void;
3341
- /**
3342
- * Subscribe to a channel to receive messages
3343
- * NOTE: PUB- prefix is added by messageService.subscribeToChannel
3344
- */
3345
- onSubscribeToChannel(channel: string): void;
3346
- /**
3347
- * Unsubscribe from a channel
3348
- * NOTE: PUB- prefix is added by messageService.unsubscribeFromChannel
3349
- */
3350
- onUnsubscribeFromChannel(channel: string): void;
3351
- /**
3352
- * Handle chip toggle for subscribe/unsubscribe
3353
- */
3354
- onChipToggle(event: any, channel: string): void;
3355
- /**
3356
- * Check if currently subscribed to a channel
3357
- * Compares display names (without PUB- prefix)
3358
- */
3359
- isSubscribed(channel: string, subscribedChannels: string[]): boolean;
3360
- onSendMessage(): void;
3361
- static ɵfac: i0.ɵɵFactoryDeclaration<WsMessagingComponent, never>;
3362
- static ɵcmp: i0.ɵɵComponentDeclaration<WsMessagingComponent, "app-ws-messaging", 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>;
3363
- }
3364
-
3365
- declare class WsNotificationsComponent implements OnInit, OnDestroy {
3366
- server: string;
3367
- wsServer: string;
3368
- jwtToken: string;
3369
- user: any;
3370
- private destroy$;
3371
- fb: FormBuilder;
3372
- notificationService: NotificationServiceDemo;
3373
- stateService: StateServiceDemo;
3374
- todaysNotificationChannels$: rxjs.Observable<string[]>;
3375
- subscribedNotificationChannels$: rxjs.Observable<string[]>;
3376
- notificationMessages$: rxjs.Observable<any[]>;
3377
- connectionStatus$: rxjs.Observable<boolean>;
3378
- /**
3379
- * Helper to ensure channel has MES- prefix for outgoing communication
3380
- */
3381
- private toNotificationChannel;
3382
- newChannelName: FormControl<string | null>;
3383
- selectedConnectionChannel: FormControl<string | null>;
3384
- connectedChannel: string | null;
3385
- displayedColumns: string[];
3386
- dateFilter: _angular_forms.FormGroup<{
3387
- startDate: FormControl<Date | null>;
3388
- endDate: FormControl<Date | null>;
3389
- }>;
3390
- notificationForm: _angular_forms.FormGroup<{
3391
- content: FormControl<string | null>;
3392
- }>;
3393
- get content(): FormControl;
3394
- /**
3395
- * Check if currently connected to a channel
3396
- */
3397
- isChannelConnected(subscribedChannels: string[]): boolean;
3398
- /**
3399
- * Connect to the selected channel
3400
- */
3401
- onConnectToChannel(): void;
3402
- /**
3403
- * Disconnect from the current channel
3404
- */
3405
- onDisconnectFromChannel(): void;
3406
- ngOnInit(): void;
3407
- ngOnDestroy(): void;
3408
- /**
3409
- * Create a new notification channel
3410
- */
3411
- onCreateChannel(): void;
3412
- /**
3413
- * Define and load previous channels
3414
- */
3415
- onDefinePreviousChannels(): void;
3416
- /**
3417
- * Subscribe to a notification channel with optional date filter
3418
- */
3419
- onSubscribeToChannel(channel: string): void;
3420
- /**
3421
- * Unsubscribe from a notification channel
3422
- */
3423
- onUnsubscribeFromChannel(channel: string): void;
3424
- /**
3425
- * Check if currently subscribed to a channel
3426
- */
3427
- isSubscribed(channel: string, subscribedChannels: string[]): boolean;
3428
- /**
3429
- * Handle chip click - toggle subscription state
3430
- */
3431
- onChipClick(channel: string, subscribedChannels: string[]): void;
3432
- /**
3433
- * Send a notification
3434
- */
3435
- onSendNotification(): void;
3436
- /**
3437
- * Format epoch timestamp to readable date/time
3438
- */
3439
- formatTimestamp(epoch: number): string;
3440
- /**
3441
- * Get today's date in YYYY-MM-DD format for date input default
3442
- */
3443
- getTodayDate(): string;
3444
- static ɵfac: i0.ɵɵFactoryDeclaration<WsNotificationsComponent, never>;
3445
- static ɵcmp: i0.ɵɵComponentDeclaration<WsNotificationsComponent, "app-ws-notifications", never, { "server": { "alias": "server"; "required": false; }; "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
3446
- }
3447
-
3448
- declare class WsAiMessagingComponent implements OnInit {
3449
- constructor();
3450
- ngOnInit(): void;
3451
- static ɵfac: i0.ɵɵFactoryDeclaration<WsAiMessagingComponent, never>;
3452
- static ɵcmp: i0.ɵɵComponentDeclaration<WsAiMessagingComponent, "app-ws-ai-messaging", never, {}, {}, never, never, false, never>;
3453
- }
3454
-
3455
- declare class WsChatsComponent implements OnInit {
3456
- constructor();
3457
- ngOnInit(): void;
3458
- static ɵfac: i0.ɵɵFactoryDeclaration<WsChatsComponent, never>;
3459
- static ɵcmp: i0.ɵɵComponentDeclaration<WsChatsComponent, "app-ws-chats", never, {}, {}, never, never, false, never>;
3460
- }
3461
-
3462
- declare class SpinnerComponent implements OnInit {
3463
- color: ThemePalette;
3464
- diameter?: number;
3465
- display?: string | number;
3466
- mode?: ProgressSpinnerMode;
3467
- strokeWidth?: number;
3468
- value: number;
3469
- constructor();
3470
- ngOnInit(): void;
3471
- static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
3472
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "app-spinner", never, { "color": { "alias": "color"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "display": { "alias": "display"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
3473
- }
3474
-
3475
- declare class DownloadFileComponent implements OnInit {
3476
- private subscriptions;
3477
- event?: Function;
3478
- displayError: number;
3479
- diameter: number;
3480
- mode: ProgressSpinnerMode;
3481
- isPending: boolean;
3482
- active: boolean;
3483
- disabled: boolean;
3484
- error: EventEmitter<void>;
3485
- private _progress;
3486
- set progress(value: any);
3487
- get progress(): any;
3488
- private _hasError;
3489
- private errorTimerActive;
3490
- set hasError(value: boolean | any);
3491
- get hasError(): boolean | any;
3492
- ngOnInit(): void;
3493
- onAction(): void;
3494
- ngOnDestroy(): void;
3495
- static ɵfac: i0.ɵɵFactoryDeclaration<DownloadFileComponent, never>;
3496
- static ɵcmp: i0.ɵɵComponentDeclaration<DownloadFileComponent, "app-download-file", never, { "event": { "alias": "event"; "required": false; }; "displayError": { "alias": "displayError"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "error": "error"; }, never, never, false, never>;
3497
- }
3498
-
3499
- interface DownloadLabelsInterface {
3500
- error: string;
3501
- action: string;
3502
- icon: string;
3503
- }
3504
- declare class DownloadLabels implements DownloadLabelsInterface {
3505
- error: string;
3506
- action: string;
3507
- icon: string;
3508
- constructor(error?: string, action?: string, icon?: string);
3509
- static adapt(item?: any): DownloadLabelsInterface;
3510
- }
3511
-
3512
- declare class FileDownloaderComponent extends HTTPManagerService<any> implements OnInit {
3513
- delayError: number;
3514
- apiRequest: ApiRequest;
3515
- displayErrorMessage: boolean;
3516
- saveFileAs?: string;
3517
- _labels: DownloadLabelsInterface;
3518
- set labels(value: DownloadLabels);
3519
- active: boolean;
3520
- subscription: Subscription;
3521
- get labels(): DownloadLabels;
3522
- completed: EventEmitter<void>;
3523
- failed: EventEmitter<string>;
3524
- disabled: boolean;
3525
- constructor();
3526
- ngOnInit(): void;
3527
- onDownloadStreaming(): Subscription | undefined;
3528
- onError(message: string): void;
3529
- OnDestroy(): void;
3530
- static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloaderComponent, never>;
3531
- static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloaderComponent, "app-file-downloader", never, { "delayError": { "alias": "delayError"; "required": false; }; "apiRequest": { "alias": "apiRequest"; "required": false; }; "displayErrorMessage": { "alias": "displayErrorMessage"; "required": false; }; "saveFileAs": { "alias": "saveFileAs"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "completed": "completed"; "failed": "failed"; }, never, never, false, never>;
3532
- }
3533
-
3534
- declare class FileDownloaderModule {
3535
- static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloaderModule, never>;
3536
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileDownloaderModule, [typeof SpinnerComponent, typeof DownloadFileComponent, typeof FileDownloaderComponent], [typeof i4.CommonModule, typeof i5.MatIconModule, typeof i6.MatProgressSpinnerModule, typeof i7.MatButtonModule], [typeof FileDownloaderComponent]>;
3537
- static ɵinj: i0.ɵɵInjectorDeclaration<FileDownloaderModule>;
3538
- }
3539
-
3540
- declare class HttpRequestManagerModule {
3541
- static forRoot(config?: ConfigOptions): ModuleWithProviders<HttpRequestManagerModule>;
3542
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpRequestManagerModule, never>;
3543
- 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]>;
3544
- static ɵinj: i0.ɵɵInjectorDeclaration<HttpRequestManagerModule>;
2191
+ declare class SnackbarStrategy implements IDisplayStrategy {
2192
+ name: string;
2193
+ private toastService;
2194
+ canHandle(message: CommunicationMessage): boolean;
2195
+ display(message: CommunicationMessage, config: DisplayConfig): void;
2196
+ private extractMessage;
2197
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarStrategy, never>;
2198
+ static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarStrategy>;
3545
2199
  }
3546
2200
 
3547
- declare class StoreStateSignalsDemoComponent implements OnInit {
3548
- private stateManager;
3549
- stateJson: i0.WritableSignal<string>;
3550
- historyLength: i0.WritableSignal<number>;
3551
- history: i0.WritableSignal<number[]>;
3552
- ngOnInit(): void;
3553
- private updateSignals;
3554
- increment(): void;
3555
- decrement(): void;
3556
- reset(): void;
3557
- addToHistory(): void;
3558
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateSignalsDemoComponent, never>;
3559
- static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateSignalsDemoComponent, "app-store-state-signals-demo", never, {}, {}, never, never, false, never>;
3560
- }
2201
+ declare const defaultDisplayRules: DisplayRule[];
3561
2202
 
3562
- export { ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchRequestResultModel, 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 };
3563
- export type { APIStateManagerData, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestResultInterface, 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 };
2203
+ export { Action, ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchRequestResultModel, BatchResult, CONFIG_SETTINGS_TOKEN, ChannelType, CommunicationMessage, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseManagerService, DatabaseStorage, DbService, DisplayConfig, DisplayRule, ErrorDisplaySettings, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HeadersService, HttpRequestManagerModule, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsManagerService, LoggerService, MessageContent, MessageDisplayRouterService, NotificationMessage, PathQueryService, PublicMessage, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, Slide, SnackbarStrategy, StateMessage, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StoreStateManagerSignalsService, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UserData, UtilsService, WSOptions, WebSocketMessageService, WithCredentialsInterceptor, calculateBatchProgress, countdown, createChannelName, defaultDisplayRules, delayedRetry, isErrorState, isPendingState, isSuccessState, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
2204
+ export type { APIStateManagerData, ActionInterface, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestResultInterface, BatchRequestState, BatchResultInterface, BatchSuccessState, CommunicationMessageInterface, ConfigHTTPOptionsInterface, ConfigOptionsInterface, DatabaseStorageInterface, DisplayConfigInterface, DisplayRuleInterface, DisplayType, ErrorDisplaySettingsInterface, GlobalStoreOptionsInterface, IDisplayStrategy, LocalStorageOptionsInterface, MessageContentInterface, NotificationMessageInterface, ParsingResult, PublicMessageInterface, RequestOptionsInterface, RetryOptionsInterface, SettingOptionsInterface, SlideInterface, State, StateMessageInterface, StateStorageOptionsInterface, StateStoreManagerData$1 as StateStoreManagerData, StorageDataInterface, StorageOptionInterface, StreamConfig, StreamEvent, TableSchemaDefInterface, UserDataInterface, WSOptionsInterface };