http-request-manager 18.7.17 → 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.
@@ -1858,6 +1858,19 @@ class ConfigOptions {
1858
1858
  }
1859
1859
  }
1860
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
+
1861
1874
  class HTTPManagerService extends RequestService {
1862
1875
  constructor(configOptions) {
1863
1876
  super();
@@ -6116,19 +6129,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
6116
6129
  }]
6117
6130
  }] });
6118
6131
 
6119
- class UserData {
6120
- constructor(ldap = '', name = '', email = '', color = RandomPaletteColor()) {
6121
- this.ldap = ldap;
6122
- this.name = name;
6123
- this.email = email;
6124
- this.color = color;
6125
- }
6126
- static adapt(item) {
6127
- const userName = `${item?.first_name} ${item?.last_name}`;
6128
- return new UserData(item?.ldap, userName, item?.email, item?.color);
6129
- }
6130
- }
6131
-
6132
6132
  class StateDataRequestService extends HTTPManagerStateService {
6133
6133
  constructor() {
6134
6134
  super(ApiRequest.adapt({
@@ -7531,7 +7531,8 @@ class HttpRequestManagerModule {
7531
7531
  { provide: HTTP_INTERCEPTORS, useClass: RequestHeadersInterceptor, multi: true },
7532
7532
  { provide: HTTP_INTERCEPTORS, useClass: ProxyDebuggerInterceptor, multi: true },
7533
7533
  { provide: CONFIG_SETTINGS_TOKEN, useValue: ConfigOptions.adapt() },
7534
- HTTPManagerService, LocalStorageManagerService
7534
+ HTTPManagerService, LocalStorageManagerService,
7535
+ ToastMessageDisplayService
7535
7536
  ], imports: [CommonModule,
7536
7537
  ToastMessageDisplayModule,
7537
7538
  FormsModule,
@@ -7614,7 +7615,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
7614
7615
  { provide: HTTP_INTERCEPTORS, useClass: RequestHeadersInterceptor, multi: true },
7615
7616
  { provide: HTTP_INTERCEPTORS, useClass: ProxyDebuggerInterceptor, multi: true },
7616
7617
  { provide: CONFIG_SETTINGS_TOKEN, useValue: ConfigOptions.adapt() },
7617
- HTTPManagerService, LocalStorageManagerService
7618
+ HTTPManagerService, LocalStorageManagerService,
7619
+ ToastMessageDisplayService
7618
7620
  ],
7619
7621
  }]
7620
7622
  }] });
@@ -7627,5 +7629,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
7627
7629
  * Generated bundle index. Do not edit.
7628
7630
  */
7629
7631
 
7630
- 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 };
7631
7633
  //# sourceMappingURL=http-request-manager.mjs.map