http-request-manager 18.7.19 → 18.7.20
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.
|
@@ -6,7 +6,6 @@ import { HttpClient, HttpHeaders, HttpEventType, HttpHeaderResponse, HttpErrorRe
|
|
|
6
6
|
import * as CryptoJS from 'crypto-js';
|
|
7
7
|
import { from, BehaviorSubject, EMPTY, throwError, defer, interval, timer, Subject, merge, of, Subscription, take as take$1, catchError as catchError$1, map as map$1, tap as tap$1, switchMap as switchMap$1, startWith as startWith$1, distinctUntilChanged as distinctUntilChanged$1, combineLatest, filter as filter$1, takeUntil as takeUntil$1, ReplaySubject } from 'rxjs';
|
|
8
8
|
import { ToastMessageDisplayService, ToastDisplay, ToastColors, ToastMessageDisplayModule } from 'toast-message-display';
|
|
9
|
-
export { ToastColors, ToastDisplay, ToastMessageDisplayModule, ToastMessageDisplayService } from 'toast-message-display';
|
|
10
9
|
import Dexie from 'dexie';
|
|
11
10
|
import * as i1 from '@ngx-translate/core';
|
|
12
11
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -1859,6 +1858,19 @@ class ConfigOptions {
|
|
|
1859
1858
|
}
|
|
1860
1859
|
}
|
|
1861
1860
|
|
|
1861
|
+
class UserData {
|
|
1862
|
+
constructor(ldap = '', name = '', email = '', color = RandomPaletteColor()) {
|
|
1863
|
+
this.ldap = ldap;
|
|
1864
|
+
this.name = name;
|
|
1865
|
+
this.email = email;
|
|
1866
|
+
this.color = color;
|
|
1867
|
+
}
|
|
1868
|
+
static adapt(item) {
|
|
1869
|
+
const userName = `${item?.first_name} ${item?.last_name}`;
|
|
1870
|
+
return new UserData(item?.ldap, userName, item?.email, item?.color);
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1862
1874
|
class HTTPManagerService extends RequestService {
|
|
1863
1875
|
constructor(configOptions) {
|
|
1864
1876
|
super();
|
|
@@ -6117,19 +6129,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
6117
6129
|
}]
|
|
6118
6130
|
}] });
|
|
6119
6131
|
|
|
6120
|
-
class UserData {
|
|
6121
|
-
constructor(ldap = '', name = '', email = '', color = RandomPaletteColor()) {
|
|
6122
|
-
this.ldap = ldap;
|
|
6123
|
-
this.name = name;
|
|
6124
|
-
this.email = email;
|
|
6125
|
-
this.color = color;
|
|
6126
|
-
}
|
|
6127
|
-
static adapt(item) {
|
|
6128
|
-
const userName = `${item?.first_name} ${item?.last_name}`;
|
|
6129
|
-
return new UserData(item?.ldap, userName, item?.email, item?.color);
|
|
6130
|
-
}
|
|
6131
|
-
}
|
|
6132
|
-
|
|
6133
6132
|
class StateDataRequestService extends HTTPManagerStateService {
|
|
6134
6133
|
constructor() {
|
|
6135
6134
|
super(ApiRequest.adapt({
|
|
@@ -7630,5 +7629,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
7630
7629
|
* Generated bundle index. Do not edit.
|
|
7631
7630
|
*/
|
|
7632
7631
|
|
|
7633
|
-
export { ApiRequest, AppService, AsymmetricalEncryptionService, CONFIG_SETTINGS_TOKEN, ChannelInfo, ChannelType, CommunicationType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseStorage, DbService, ErrorDisplaySettings, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsManagerService, PathQueryService, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UtilsService, WSOptions, WSUser, WebsocketService, WithCredentialsInterceptor, countdown, createChannelName, delayedRetry, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
|
|
7632
|
+
export { ApiRequest, AppService, AsymmetricalEncryptionService, CONFIG_SETTINGS_TOKEN, ChannelInfo, ChannelType, CommunicationType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseStorage, DbService, ErrorDisplaySettings, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsManagerService, PathQueryService, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UserData, UtilsService, WSOptions, WSUser, WebsocketService, WithCredentialsInterceptor, countdown, createChannelName, delayedRetry, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
|
|
7634
7633
|
//# sourceMappingURL=http-request-manager.mjs.map
|