http-request-manager 18.11.9 → 18.11.12

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