@abp/ng.core 7.1.1 → 7.2.0-rc.1

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,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ChangeDetectorRef, Component, Input, Injectable, InjectionToken, Inject, Optional, isDevMode, SkipSelf, Directive, EventEmitter, Output, Self, Injector, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, NgModuleFactory, Compiler, inject, SecurityContext, ComponentFactoryResolver, ApplicationRef } from '@angular/core';
3
- import { of, BehaviorSubject, Subject, throwError, Subscription, combineLatest, from, fromEvent, ReplaySubject, lastValueFrom, Observable, timer, pipe, concat } from 'rxjs';
3
+ import { of, BehaviorSubject, Subject, throwError, map as map$1, Subscription, combineLatest, from, fromEvent, ReplaySubject, lastValueFrom, Observable, timer, pipe, concat } from 'rxjs';
4
4
  import * as i1$1 from '@angular/router';
5
5
  import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, Router, RouterModule } from '@angular/router';
6
+ import { __rest, __classPrivateFieldGet, __awaiter } from 'tslib';
7
+ import * as i1 from '@angular/common/http';
8
+ import { HttpContextToken, HttpClient, HttpContext, HttpParams, HttpClientModule, HttpClientXsrfModule, HttpHeaders } from '@angular/common/http';
6
9
  import { map, distinctUntilChanged, filter, catchError, switchMap, take, tap, debounceTime, mapTo, takeUntil, delay, retryWhen, shareReplay, finalize } from 'rxjs/operators';
7
10
  import compare from 'just-compare';
8
- import { __rest, __awaiter, __classPrivateFieldGet } from 'tslib';
9
- import * as i1 from '@angular/common/http';
10
- import { HttpParams, HttpClient, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpHeaders, HttpContext } from '@angular/common/http';
11
11
  import * as i5 from '@angular/common';
12
12
  import { registerLocaleData, DOCUMENT, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
13
13
  import * as i1$2 from '@angular/forms';
@@ -129,6 +129,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
129
129
  }]
130
130
  }] });
131
131
 
132
+ const APP_INIT_ERROR_HANDLERS = new InjectionToken('APP_INIT_ERROR_HANDLERS');
133
+
134
+ const COOKIE_LANGUAGE_KEY = new InjectionToken('COOKIE_LANGUAGE_KEY', {
135
+ factory: () => '.AspNetCore.Culture',
136
+ });
137
+
138
+ const LIST_QUERY_DEBOUNCE_TIME = new InjectionToken('LIST_QUERY_DEBOUNCE_TIME');
139
+
140
+ const LOCALIZATIONS = new InjectionToken('LOCALIZATIONS');
141
+ function localizationContributor(localizations) {
142
+ if (localizations) {
143
+ localizations$.next([...localizations$.value, ...localizations]);
144
+ }
145
+ }
146
+ const localizations$ = new BehaviorSubject([]);
147
+
148
+ const LOADER_DELAY = new InjectionToken('LOADER_DELAY');
149
+
150
+ const NAVIGATE_TO_MANAGE_PROFILE = new InjectionToken('NAVIGATE_TO_MANAGE_PROFILE');
151
+
152
+ const CORE_OPTIONS = new InjectionToken('CORE_OPTIONS');
153
+ function coreOptionsFactory(_a) {
154
+ var options = __rest(_a, []);
155
+ return Object.assign({}, options);
156
+ }
157
+
158
+ const QUEUE_MANAGER = new InjectionToken("QUEUE_MANAGER");
159
+
160
+ const TENANT_KEY = new InjectionToken('TENANT_KEY');
161
+
162
+ const INCUDE_LOCALIZATION_RESOURCES_TOKEN = new InjectionToken('INCUDE_LOCALIZATION_RESOURCES_TOKEN');
163
+
164
+ const PIPE_TO_LOGIN_FN_KEY = new InjectionToken('PIPE_TO_LOGIN_FN_KEY');
165
+
166
+ /**
167
+ * @deprecated The token should not be used anymore.
168
+ */
169
+ const SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY = new InjectionToken('SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY');
170
+
171
+ const CHECK_AUTHENTICATION_STATE_FN_KEY = new InjectionToken('CHECK_AUTHENTICATION_STATE_FN_KEY');
172
+
173
+ const IS_EXTERNAL_REQUEST = new HttpContextToken(() => false);
174
+
175
+ const OTHERS_GROUP = new InjectionToken('OTHERS_GROUP');
176
+
132
177
  function pushValueTo(array) {
133
178
  return (element) => {
134
179
  array.push(element);
@@ -136,6 +181,41 @@ function pushValueTo(array) {
136
181
  };
137
182
  }
138
183
 
184
+ function noop() {
185
+ const fn = function () { };
186
+ return fn;
187
+ }
188
+ function isUndefinedOrEmptyString(value) {
189
+ return value === undefined || value === '';
190
+ }
191
+ function isNullOrUndefined(obj) {
192
+ return obj === null || obj === undefined;
193
+ }
194
+ function isNullOrEmpty(obj) {
195
+ return obj === null || obj === undefined || obj === '';
196
+ }
197
+ function exists(obj) {
198
+ return !isNullOrUndefined(obj);
199
+ }
200
+ function isObject(obj) {
201
+ return obj instanceof Object;
202
+ }
203
+ function isArray(obj) {
204
+ return Array.isArray(obj);
205
+ }
206
+ function isObjectAndNotArray(obj) {
207
+ return isObject(obj) && !isArray(obj);
208
+ }
209
+ function isNode(obj) {
210
+ return obj instanceof Node;
211
+ }
212
+ function isObjectAndNotArrayNotNode(obj) {
213
+ return isObjectAndNotArray(obj) && !isNode(obj);
214
+ }
215
+ function checkHasProp(object, key) {
216
+ return Object.prototype.hasOwnProperty.call(object, key);
217
+ }
218
+
139
219
  /* eslint-disable @typescript-eslint/ban-types */
140
220
  class BaseTreeNode {
141
221
  constructor(props) {
@@ -188,43 +268,21 @@ function createTreeNodeFilterCreator(key, mapperFn) {
188
268
  return matches;
189
269
  };
190
270
  };
191
- }
192
-
193
- const INCUDE_LOCALIZATION_RESOURCES_TOKEN = new InjectionToken('INCUDE_LOCALIZATION_RESOURCES_TOKEN');
194
-
195
- function noop() {
196
- const fn = function () { };
197
- return fn;
198
- }
199
- function isUndefinedOrEmptyString(value) {
200
- return value === undefined || value === '';
201
- }
202
- function isNullOrUndefined(obj) {
203
- return obj === null || obj === undefined;
204
- }
205
- function isNullOrEmpty(obj) {
206
- return obj === null || obj === undefined || obj === '';
207
- }
208
- function exists(obj) {
209
- return !isNullOrUndefined(obj);
210
271
  }
211
- function isObject(obj) {
212
- return obj instanceof Object;
213
- }
214
- function isArray(obj) {
215
- return Array.isArray(obj);
216
- }
217
- function isObjectAndNotArray(obj) {
218
- return isObject(obj) && !isArray(obj);
219
- }
220
- function isNode(obj) {
221
- return obj instanceof Node;
222
- }
223
- function isObjectAndNotArrayNotNode(obj) {
224
- return isObjectAndNotArray(obj) && !isNode(obj);
225
- }
226
- function checkHasProp(object, key) {
227
- return Object.prototype.hasOwnProperty.call(object, key);
272
+ function createGroupMap(list, othersGroupKey) {
273
+ if (!isArray(list) || !list.some(node => Boolean(node.group)))
274
+ return undefined;
275
+ const mapGroup = new Map();
276
+ for (const node of list) {
277
+ const group = (node === null || node === void 0 ? void 0 : node.group) || othersGroupKey;
278
+ if (typeof group !== 'string') {
279
+ throw new Error(`Invalid group: ${group}`);
280
+ }
281
+ const items = mapGroup.get(group) || [];
282
+ items.push(node);
283
+ mapGroup.set(group, items);
284
+ }
285
+ return mapGroup;
228
286
  }
229
287
 
230
288
  function deepMerge(target, source) {
@@ -296,11 +354,35 @@ class InternalStore {
296
354
  }
297
355
  }
298
356
 
299
- const CORE_OPTIONS = new InjectionToken('CORE_OPTIONS');
300
- function coreOptionsFactory(_a) {
301
- var options = __rest(_a, []);
302
- return Object.assign({}, options);
303
- }
357
+ var _ExternalHttpClient_instances, _ExternalHttpClient_setPlaceholderContext;
358
+ // source : https://github.com/armanozak/demo-angular-server-specific-interceptors
359
+ class ExternalHttpClient extends HttpClient {
360
+ constructor() {
361
+ super(...arguments);
362
+ _ExternalHttpClient_instances.add(this);
363
+ }
364
+ request(first, url, options = {}) {
365
+ if (typeof first === 'string') {
366
+ __classPrivateFieldGet(this, _ExternalHttpClient_instances, "m", _ExternalHttpClient_setPlaceholderContext).call(this, options);
367
+ return super.request(first, url || '', options);
368
+ }
369
+ __classPrivateFieldGet(this, _ExternalHttpClient_instances, "m", _ExternalHttpClient_setPlaceholderContext).call(this, first);
370
+ return super.request(first);
371
+ }
372
+ }
373
+ _ExternalHttpClient_instances = new WeakSet(), _ExternalHttpClient_setPlaceholderContext = function _ExternalHttpClient_setPlaceholderContext(optionsOrRequest) {
374
+ var _a;
375
+ (_a = optionsOrRequest.context) !== null && _a !== void 0 ? _a : (optionsOrRequest.context = new HttpContext());
376
+ optionsOrRequest.context.set(IS_EXTERNAL_REQUEST, true);
377
+ };
378
+ ExternalHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
379
+ ExternalHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, providedIn: 'root' });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, decorators: [{
381
+ type: Injectable,
382
+ args: [{
383
+ providedIn: 'root',
384
+ }]
385
+ }] });
304
386
 
305
387
  const mapToApiUrl = (key) => (apis) => ((key && apis[key]) || apis.default).url || apis.default.url;
306
388
  const mapToIssuer = (issuer) => {
@@ -375,9 +457,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
375
457
  }] });
376
458
 
377
459
  class RestService {
378
- constructor(options, http, environment, httpErrorReporter) {
460
+ constructor(options, http, externalHttp, environment, httpErrorReporter) {
379
461
  this.options = options;
380
462
  this.http = http;
463
+ this.externalHttp = externalHttp;
381
464
  this.environment = environment;
382
465
  this.httpErrorReporter = httpErrorReporter;
383
466
  }
@@ -394,12 +477,16 @@ class RestService {
394
477
  const { method, params } = request, options = __rest(request, ["method", "params"]);
395
478
  const { observe = "body" /* Rest.Observe.Body */, skipHandleError } = config;
396
479
  const url = this.removeDuplicateSlashes(api + request.url);
397
- return this.http
480
+ const httpClient = this.getHttpClient(config.skipAddingHeader);
481
+ return httpClient
398
482
  .request(method, url, Object.assign(Object.assign({ observe }, (params && {
399
483
  params: this.getParams(params, config.httpParamEncoder),
400
484
  })), options))
401
485
  .pipe(catchError(err => (skipHandleError ? throwError(err) : this.handleError(err))));
402
486
  }
487
+ getHttpClient(isExternal) {
488
+ return isExternal ? this.externalHttp : this.http;
489
+ }
403
490
  getParams(params, encoder) {
404
491
  const filteredParams = Object.entries(params).reduce((acc, [key, value]) => {
405
492
  if (isUndefinedOrEmptyString(value))
@@ -417,7 +504,7 @@ class RestService {
417
504
  return url.replace(/([^:]\/)\/+/g, '$1');
418
505
  }
419
506
  }
420
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
507
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: ExternalHttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
421
508
  RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, providedIn: 'root' });
422
509
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, decorators: [{
423
510
  type: Injectable,
@@ -428,7 +515,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
428
515
  return [{ type: undefined, decorators: [{
429
516
  type: Inject,
430
517
  args: [CORE_OPTIONS]
431
- }] }, { type: i1.HttpClient }, { type: EnvironmentService }, { type: HttpErrorReporterService }];
518
+ }] }, { type: i1.HttpClient }, { type: ExternalHttpClient }, { type: EnvironmentService }, { type: HttpErrorReporterService }];
432
519
  } });
433
520
 
434
521
  class AbpApplicationConfigurationService {
@@ -731,6 +818,13 @@ class AbstractTreeService {
731
818
  createTree(items) {
732
819
  return createTreeFromList(items, item => item[this.id], item => item[this.parentId], item => BaseTreeNode.create(item));
733
820
  }
821
+ createGroupedTree(list) {
822
+ const map = createGroupMap(list, this.othersGroup);
823
+ if (!map) {
824
+ return undefined;
825
+ }
826
+ return Array.from(map, ([key, items]) => ({ group: key, items }));
827
+ }
734
828
  filterWith(setOrMap) {
735
829
  return this._flat$.value.filter(item => !setOrMap.has(item[this.id]));
736
830
  }
@@ -810,6 +904,7 @@ class AbstractNavTreeService extends AbstractTreeService {
810
904
  .createOnUpdateStream(state => state)
811
905
  .subscribe(() => this.refresh());
812
906
  this.permissionService = injector.get(PermissionService);
907
+ this.othersGroup = injector.get(OTHERS_GROUP);
813
908
  }
814
909
  isGranted({ requiredPolicy }) {
815
910
  return this.permissionService.getGrantedPolicy(requiredPolicy);
@@ -835,6 +930,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
835
930
  type: Injectable
836
931
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
837
932
  class RoutesService extends AbstractNavTreeService {
933
+ hasPathOrChild(item) {
934
+ return Boolean(item.path) || this.hasChildren(item.name);
935
+ }
936
+ get groupedVisible() {
937
+ return this.createGroupedTree(this.visible.filter(item => this.hasPathOrChild(item)));
938
+ }
939
+ get groupedVisible$() {
940
+ return this.visible$.pipe(map$1(items => items.filter(item => this.hasPathOrChild(item))), map$1(visible => this.createGroupedTree(visible)));
941
+ }
838
942
  }
839
943
  RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
840
944
  RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesService, providedIn: 'root' });
@@ -907,14 +1011,6 @@ function reloadRoute(router, ngZone) {
907
1011
  }));
908
1012
  }
909
1013
 
910
- const LOCALIZATIONS = new InjectionToken('LOCALIZATIONS');
911
- function localizationContributor(localizations) {
912
- if (localizations) {
913
- localizations$.next([...localizations$.value, ...localizations]);
914
- }
915
- }
916
- const localizations$ = new BehaviorSubject([]);
917
-
918
1014
  // This will not be necessary when only Angukar 9.1+ is supported
919
1015
  function getLocaleDirection(locale) {
920
1016
  return /^(ar(-[A-Z]{2})?|ckb(-IR)?|fa(-AF)?|he|ks|lrc(-IQ)?|mzn|pa-Arab|ps(-PK)?|sd|ug|ur(-IN)?|uz-Arab|yi)$/.test(locale)
@@ -2150,8 +2246,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
2150
2246
  args: ['abpInit']
2151
2247
  }] } });
2152
2248
 
2153
- const QUEUE_MANAGER = new InjectionToken("QUEUE_MANAGER");
2154
-
2155
2249
  class PermissionDirective {
2156
2250
  constructor(templateRef, vcRef, permissionService, cdRef, queue) {
2157
2251
  this.templateRef = templateRef;
@@ -2528,10 +2622,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
2528
2622
  }]
2529
2623
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2530
2624
 
2531
- const COOKIE_LANGUAGE_KEY = new InjectionToken('COOKIE_LANGUAGE_KEY', {
2532
- factory: () => '.AspNetCore.Culture',
2533
- });
2534
-
2535
2625
  function setLanguageToCookie(injector) {
2536
2626
  return () => {
2537
2627
  const sessionState = injector.get(SessionStateService);
@@ -2572,15 +2662,11 @@ const LocaleProvider = {
2572
2662
  deps: [LocalizationService],
2573
2663
  };
2574
2664
 
2575
- const TENANT_KEY = new InjectionToken('TENANT_KEY');
2576
-
2577
2665
  Date.prototype.toLocalISOString = function () {
2578
2666
  const timezoneOffset = this.getTimezoneOffset();
2579
2667
  return new Date(this.getTime() - timezoneOffset * 60000).toISOString();
2580
2668
  };
2581
2669
 
2582
- const APP_INIT_ERROR_HANDLERS = new InjectionToken('APP_INIT_ERROR_HANDLERS');
2583
-
2584
2670
  function getRemoteEnv(injector, environment) {
2585
2671
  const environmentService = injector.get(EnvironmentService);
2586
2672
  const { remoteEnv } = environment;
@@ -2753,8 +2839,6 @@ function replaceTenantNameWithinEnvironment(injector, tenancyName, placeholder =
2753
2839
  return environmentService.setState(environment);
2754
2840
  }
2755
2841
 
2756
- const CHECK_AUTHENTICATION_STATE_FN_KEY = new InjectionToken('CHECK_AUTHENTICATION_STATE_FN_KEY');
2757
-
2758
2842
  function getInitialData(injector) {
2759
2843
  const fn = () => __awaiter(this, void 0, void 0, function* () {
2760
2844
  const environmentService = injector.get(EnvironmentService);
@@ -3099,8 +3183,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
3099
3183
  args: [{ providedIn: 'root' }]
3100
3184
  }] });
3101
3185
 
3102
- const LOADER_DELAY = new InjectionToken('LOADER_DELAY');
3103
-
3104
3186
  class HttpWaitService {
3105
3187
  constructor(injector) {
3106
3188
  this.store = new InternalStore({
@@ -3240,8 +3322,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
3240
3322
  }]
3241
3323
  }], ctorParameters: function () { return [{ type: ResourceWaitService }]; } });
3242
3324
 
3243
- const LIST_QUERY_DEBOUNCE_TIME = new InjectionToken('LIST_QUERY_DEBOUNCE_TIME');
3244
-
3245
3325
  class ListService {
3246
3326
  constructor(injector) {
3247
3327
  this._filter = '';
@@ -3723,6 +3803,10 @@ class CoreModule {
3723
3803
  provide: QUEUE_MANAGER,
3724
3804
  useClass: DefaultQueueManager,
3725
3805
  },
3806
+ {
3807
+ provide: OTHERS_GROUP,
3808
+ useValue: options.othersGroup || 'AbpUi::OthersGroup',
3809
+ },
3726
3810
  IncludeLocalizationResourcesProvider,
3727
3811
  ],
3728
3812
  };
@@ -4209,17 +4293,6 @@ const PROJECTION_STRATEGY = {
4209
4293
  },
4210
4294
  };
4211
4295
 
4212
- const NAVIGATE_TO_MANAGE_PROFILE = new InjectionToken('NAVIGATE_TO_MANAGE_PROFILE');
4213
-
4214
- const PIPE_TO_LOGIN_FN_KEY = new InjectionToken('PIPE_TO_LOGIN_FN_KEY');
4215
-
4216
- /**
4217
- * @deprecated The token should not be used anymore.
4218
- */
4219
- const SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY = new InjectionToken('SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY');
4220
-
4221
- const IS_EXTERNAL_REQUEST = new HttpContextToken(() => false);
4222
-
4223
4296
  function validateMinAge({ age = 18 } = {}) {
4224
4297
  return (control) => {
4225
4298
  if (['', null, undefined].indexOf(control.value) > -1)
@@ -4361,41 +4434,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
4361
4434
  }]
4362
4435
  }], ctorParameters: function () { return [{ type: HttpWaitService }]; } });
4363
4436
 
4364
- var _ExternalHttpClient_instances, _ExternalHttpClient_setPlaceholderContext;
4365
- // source : https://github.com/armanozak/demo-angular-server-specific-interceptors
4366
- class ExternalHttpClient extends HttpClient {
4367
- constructor() {
4368
- super(...arguments);
4369
- _ExternalHttpClient_instances.add(this);
4370
- }
4371
- request(first, url, options = {}) {
4372
- if (typeof first === 'string') {
4373
- __classPrivateFieldGet(this, _ExternalHttpClient_instances, "m", _ExternalHttpClient_setPlaceholderContext).call(this, options);
4374
- return super.request(first, url || '', options);
4375
- }
4376
- __classPrivateFieldGet(this, _ExternalHttpClient_instances, "m", _ExternalHttpClient_setPlaceholderContext).call(this, first);
4377
- return super.request(first);
4378
- }
4379
- }
4380
- _ExternalHttpClient_instances = new WeakSet(), _ExternalHttpClient_setPlaceholderContext = function _ExternalHttpClient_setPlaceholderContext(optionsOrRequest) {
4381
- var _a;
4382
- (_a = optionsOrRequest.context) !== null && _a !== void 0 ? _a : (optionsOrRequest.context = new HttpContext());
4383
- optionsOrRequest.context.set(IS_EXTERNAL_REQUEST, true);
4384
- };
4385
- ExternalHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4386
- ExternalHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, providedIn: 'root' });
4387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExternalHttpClient, decorators: [{
4388
- type: Injectable,
4389
- args: [{
4390
- providedIn: 'root',
4391
- }]
4392
- }] });
4393
-
4394
4437
  // export * from './lib/handlers';
4395
4438
 
4396
4439
  /**
4397
4440
  * Generated bundle index. Do not edit.
4398
4441
  */
4399
4442
 
4400
- export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpLocalStorageService, AbpTenantService, AbpValidators, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, AutofocusDirective, BaseCoreModule, BaseTreeNode, CHECK_AUTHENTICATION_STATE_FN_KEY, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, COOKIE_LANGUAGE_KEY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DOM_STRATEGY, DefaultQueueManager, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, index as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, ToInjectorPipe, TrackByService, WebHttpUrlEncodingCodec, checkHasProp, coreOptionsFactory, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, pushValueTo, reloadRoute, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4443
+ export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpLocalStorageService, AbpTenantService, AbpValidators, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, AutofocusDirective, BaseCoreModule, BaseTreeNode, CHECK_AUTHENTICATION_STATE_FN_KEY, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, COOKIE_LANGUAGE_KEY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DOM_STRATEGY, DefaultQueueManager, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, OTHERS_GROUP, index as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, ToInjectorPipe, TrackByService, WebHttpUrlEncodingCodec, checkHasProp, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, pushValueTo, reloadRoute, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4401
4444
  //# sourceMappingURL=abp-ng.core.mjs.map