@abp/ng.core 9.3.4 → 10.0.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.
package/index.d.ts CHANGED
@@ -3,16 +3,16 @@ import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, CanActivateFn, Pa
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, UnaryFunction, Subject, Subscription, PartialObserver, ReplaySubject, BehaviorSubject } from 'rxjs';
5
5
  import * as i0 from '@angular/core';
6
- import { ChangeDetectorRef, Injector, Type, EventEmitter, TemplateRef, ComponentRef, ViewContainerRef, EmbeddedViewRef, OnDestroy, NgZone, TrackByFunction, OnInit, AfterViewInit, ElementRef, OnChanges, IterableDiffers, SimpleChanges, PipeTransform, InjectionToken, ModuleWithProviders, Provider, NgModuleFactory, NgModuleRef } from '@angular/core';
6
+ import { ChangeDetectorRef, Injector, Type, EventEmitter, TemplateRef, OnDestroy, ComponentRef, ViewContainerRef, EmbeddedViewRef, TrackByFunction, OnInit, AfterViewInit, OnChanges, ElementRef, SimpleChanges, PipeTransform, InjectionToken, ModuleWithProviders, Provider, NgModuleFactory, NgModuleRef, NgZone } from '@angular/core';
7
7
  import * as i2 from '@angular/forms';
8
- import { ControlValueAccessor, FormGroupDirective, ValidatorFn, Validators } from '@angular/forms';
9
- import { HttpHeaders, HttpParameterCodec, HttpParams, HttpErrorResponse, HttpRequest, HttpClient, HttpContextToken, HttpInterceptor, HttpHandler, HttpEvent } from '@angular/common/http';
8
+ import { ControlValueAccessor, ValidatorFn, Validators } from '@angular/forms';
9
+ import { HttpHeaders, HttpParameterCodec, HttpParams, HttpErrorResponse, HttpRequest, HttpClient, HttpContextToken, HttpInterceptor, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
10
10
  import { AuthConfig } from 'angular-oauth2-oidc';
11
- import * as _abp_ng_core from '@abp/ng.core';
12
11
  import * as i1 from '@angular/common';
13
12
  import { DatePipe } from '@angular/common';
14
13
  import * as i4 from '@ngx-validate/core';
15
14
  export { NgxValidateCoreModule, Validation } from '@ngx-validate/core';
15
+ import * as _abp_ng_core from '@abp/ng.core';
16
16
  import { DateTime } from 'luxon';
17
17
  import { O as O$1 } from 'ts-toolbelt';
18
18
  import { Title } from '@angular/platform-browser';
@@ -51,6 +51,7 @@ declare class AuthGuard implements IAbpGuard {
51
51
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
52
52
  }
53
53
  declare const authGuard: CanActivateFn;
54
+ declare const asyncAuthGuard: CanActivateFn;
54
55
 
55
56
  type EventType = 'discovery_document_loaded' | 'jwks_load_error' | 'invalid_nonce_in_state' | 'discovery_document_load_error' | 'discovery_document_validation_error' | 'user_profile_loaded' | 'user_profile_load_error' | 'token_received' | 'token_error' | 'code_error' | 'token_refreshed' | 'token_refresh_error' | 'silent_refresh_error' | 'silently_refreshed' | 'silent_refresh_timeout' | 'token_validation_error' | 'token_expires' | 'session_changed' | 'session_error' | 'session_terminated' | 'session_unchanged' | 'logout' | 'popup_closed' | 'popup_blocked' | 'token_revoke_error';
56
57
  declare abstract class AuthEvent {
@@ -136,7 +137,7 @@ interface IAuthService {
136
137
  getAccessTokenExpiration(): number;
137
138
  getRefreshToken(): string;
138
139
  getAccessToken(): string;
139
- refreshToken(): Promise<AbpAuthResponse>;
140
+ refreshToken(): Promise<AbpAuthResponse | void>;
140
141
  }
141
142
 
142
143
  declare const enum eLayoutType {
@@ -160,6 +161,7 @@ interface Environment {
160
161
  };
161
162
  oAuthConfig?: AuthConfig & {
162
163
  impersonation?: Impersonation;
164
+ ssrAuthorizationUrl?: string;
163
165
  };
164
166
  production: boolean;
165
167
  remoteEnv?: RemoteEnv;
@@ -437,6 +439,7 @@ declare namespace Rest {
437
439
  skipAddingHeader: boolean;
438
440
  observe: Observe;
439
441
  httpParamEncoder?: HttpParameterCodec;
442
+ responseType: ResponseType;
440
443
  }>;
441
444
  const enum Observe {
442
445
  Body = "body",
@@ -713,1294 +716,1293 @@ interface WindowsTimeZone {
713
716
  timeZoneId?: string;
714
717
  }
715
718
 
716
- declare abstract class ContextStrategy<T = any> {
717
- context: Partial<ContextType<T>>;
718
- constructor(context: Partial<ContextType<T>>);
719
- setContext(componentRef?: ComponentRef<InferredInstanceOf<T>>): Partial<ContextType<T>>;
720
- }
721
- declare class NoContextStrategy<T extends Type<any> | TemplateRef<any> = any> extends ContextStrategy<T> {
719
+ declare class LocalizationService {
720
+ private sessionState;
721
+ private injector;
722
+ private configState;
723
+ private latestLang;
724
+ private _languageChange$;
725
+ private uiLocalizations$;
726
+ private localizations$;
727
+ /**
728
+ * Returns currently selected language
729
+ * Even though this looks like it's redundant to return the same value as `getLanguage()`,
730
+ * it's actually not. This could be invoked any time, and the latestLang could be different from the
731
+ * sessionState.getLanguage() value.
732
+ */
733
+ get currentLang(): string;
734
+ get currentLang$(): Observable<string>;
735
+ get languageChange$(): Observable<string>;
722
736
  constructor();
737
+ private initLocalizationValues;
738
+ addLocalization(localizations?: ABP.Localization[]): void;
739
+ private listenToSetLanguage;
740
+ registerLocale(locale: string): Promise<void>;
741
+ /**
742
+ * Returns an observable localized text with the given interpolation parameters in current language.
743
+ * @param key Localizaton key to replace with localized text
744
+ * @param interpolateParams Values to interpolate
745
+ */
746
+ get(key: string | LocalizationWithDefault, ...interpolateParams: string[]): Observable<string>;
747
+ getResource(resourceName: string): Record<string, string>;
748
+ getResource$(resourceName: string): Observable<Record<string, string>>;
749
+ /**
750
+ * Returns localized text with the given interpolation parameters in current language.
751
+ * @param key Localization key to replace with localized text
752
+ * @param interpolateParams Values to intepolate.
753
+ */
754
+ instant(key: string | LocalizationWithDefault, ...interpolateParams: string[]): string;
755
+ localize(resourceName: string, key: string, defaultValue: string): Observable<string | null>;
756
+ localizeSync(resourceName: string, key: string, defaultValue: string): string | null;
757
+ localizeWithFallback(resourceNames: string[], keys: string[], defaultValue: string): Observable<string>;
758
+ localizeWithFallbackSync(resourceNames: string[], keys: string[], defaultValue: string): string;
759
+ private getLocalization;
760
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, never>;
761
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
723
762
  }
724
- declare class ComponentContextStrategy<T extends Type<any> = any> extends ContextStrategy<T> {
725
- setContext(componentRef: ComponentRef<InferredInstanceOf<T>>): Partial<InferredInstanceOf<T>>;
726
- }
727
- declare class TemplateContextStrategy<T extends TemplateRef<any> = any> extends ContextStrategy<T> {
728
- setContext(): Partial<InferredContextOf<T>>;
729
- }
730
- declare const CONTEXT_STRATEGY: {
731
- None<T extends Type<any> | TemplateRef<any> = any>(): NoContextStrategy<T>;
732
- Component<T extends Type<any> = any>(context: Partial<InferredInstanceOf<T>>): ComponentContextStrategy<T>;
733
- Template<T extends TemplateRef<any> = any>(context: Partial<InferredContextOf<T>>): TemplateContextStrategy<T>;
734
- };
735
- type ContextType<T> = T extends Type<infer U> | TemplateRef<infer U> ? U : never;
763
+ type LegacyLanguageDto = Record<string, Record<string, string>>;
764
+ type ResourceDto = Record<string, ApplicationLocalizationResourceDto>;
736
765
 
737
- declare abstract class ContainerStrategy {
738
- containerRef: ViewContainerRef;
739
- constructor(containerRef: ViewContainerRef);
740
- abstract getIndex(): number;
741
- prepare(): void;
742
- }
743
- declare class ClearContainerStrategy extends ContainerStrategy {
744
- getIndex(): number;
745
- prepare(): void;
746
- }
747
- declare class InsertIntoContainerStrategy extends ContainerStrategy {
748
- private index;
749
- constructor(containerRef: ViewContainerRef, index: number);
750
- getIndex(): number;
766
+ declare class ReplaceableComponentsService {
767
+ private ngZone;
768
+ private router;
769
+ private readonly store;
770
+ get replaceableComponents$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
771
+ get replaceableComponents(): ReplaceableComponents.ReplaceableComponent[];
772
+ get onUpdate$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
773
+ constructor();
774
+ add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
775
+ get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent | undefined;
776
+ get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent | undefined>;
777
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
778
+ static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
751
779
  }
752
- declare const CONTAINER_STRATEGY: {
753
- Clear(containerRef: ViewContainerRef): ClearContainerStrategy;
754
- Append(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
755
- Prepend(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
756
- Insert(containerRef: ViewContainerRef, index: number): InsertIntoContainerStrategy;
780
+
781
+ declare const NavigationEvent: {
782
+ Cancel: typeof NavigationCancel;
783
+ End: typeof NavigationEnd;
784
+ Error: typeof NavigationError;
785
+ Start: typeof NavigationStart;
757
786
  };
787
+ declare class RouterEvents {
788
+ #private;
789
+ protected readonly router: Router;
790
+ previousNavigation: i0.Signal<string>;
791
+ currentNavigation: i0.Signal<string>;
792
+ constructor();
793
+ protected listenToNavigation(): void;
794
+ getEvents<T extends RouterEventConstructors>(...eventTypes: T): Observable<Event$1>;
795
+ getNavigationEvents<T extends NavigationEventKeys>(...navigationEventKeys: T): Observable<T extends (infer Key)[] ? Key extends "Cancel" | "End" | "Error" | "Start" ? InstanceType<{
796
+ Cancel: typeof NavigationCancel;
797
+ End: typeof NavigationEnd;
798
+ Error: typeof NavigationError;
799
+ Start: typeof NavigationStart;
800
+ }[Key]> : never : never>;
801
+ getAllEvents(): Observable<Event$1>;
802
+ getAllNavigationEvents(): Observable<NavigationCancel | NavigationEnd | NavigationError | NavigationStart>;
803
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
804
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
805
+ }
806
+ type RouterEventConstructors = [Type<RouterEvent>, ...Type<RouterEvent>[]];
807
+ type NavigationEventKeys = [NavigationEventKey, ...NavigationEventKey[]];
808
+ type NavigationEventType = typeof NavigationEvent;
809
+ type NavigationEventKey = keyof NavigationEventType;
758
810
 
759
- declare class DomStrategy {
760
- target: HTMLElement;
761
- position: InsertPosition;
762
- constructor(target?: HTMLElement, position?: InsertPosition);
763
- insertElement<T extends HTMLElement>(element: T): void;
811
+ declare class BaseTreeNode<T extends object> {
812
+ children: TreeNode<T>[];
813
+ isLeaf: boolean;
814
+ parent?: TreeNode<T>;
815
+ constructor(props: T);
816
+ static create<T extends object>(props: T): TreeNode<T>;
764
817
  }
765
- declare const DOM_STRATEGY: {
766
- AfterElement(element: HTMLElement): DomStrategy;
767
- AppendToBody(): DomStrategy;
768
- AppendToHead(): DomStrategy;
769
- BeforeElement(element: HTMLElement): DomStrategy;
770
- PrependToHead(): DomStrategy;
818
+ declare function createTreeFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
819
+ declare function createMapFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
820
+ declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: TreeNode<T>[]) => TreeNode<T>[];
821
+ declare function createGroupMap<T extends {
822
+ group?: string;
823
+ }>(list: TreeNode<T>[], othersGroupKey: string): Map<string, TreeNode<T>[]>;
824
+ type TreeNode<T extends object> = {
825
+ [K in keyof T]: T[K];
826
+ } & {
827
+ children: TreeNode<T>[];
828
+ isLeaf: boolean;
829
+ parent?: TreeNode<T>;
830
+ };
831
+ type RouteGroup<T extends object> = {
832
+ readonly group: string;
833
+ readonly items: TreeNode<T>[];
771
834
  };
835
+ type NodeKey = number | string | symbol | undefined | null;
836
+ type NodeValue<T extends object, F extends (...args: any) => any> = F extends undefined ? TreeNode<T> : ReturnType<F>;
772
837
 
773
- declare abstract class ProjectionStrategy<T = any> {
774
- content: T;
775
- constructor(content: T);
776
- abstract injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
838
+ declare abstract class AbstractTreeService<T extends {
839
+ [key: string | number | symbol]: any;
840
+ }> {
841
+ abstract id: string;
842
+ abstract parentId: string;
843
+ abstract hide: (item: T) => boolean;
844
+ abstract sort: (a: T, b: T) => number;
845
+ private _flat$;
846
+ private _tree$;
847
+ private _visible$;
848
+ protected othersGroup: string;
849
+ protected shouldSingularizeRoutes: boolean;
850
+ get flat(): T[];
851
+ get flat$(): Observable<T[]>;
852
+ get tree(): TreeNode<T>[];
853
+ get tree$(): Observable<TreeNode<T>[]>;
854
+ get visible(): TreeNode<T>[];
855
+ get visible$(): Observable<TreeNode<T>[]>;
856
+ private filterWith;
857
+ private findItemsToRemove;
858
+ private publish;
859
+ protected createTree(items: T[]): TreeNode<T>[];
860
+ protected createGroupedTree(list: TreeNode<T>[]): RouteGroup<T>[] | undefined;
861
+ add(items: T[]): T[];
862
+ find(predicate: (item: TreeNode<T>) => boolean, tree?: TreeNode<T>[]): TreeNode<T> | null;
863
+ patch(identifier: string, props: Partial<T>): T[] | false;
864
+ refresh(): T[];
865
+ remove(identifiers: string[]): T[];
866
+ removeByParam(params: Partial<T>): T[] | null;
867
+ search(params: Partial<T>, tree?: TreeNode<T>[]): TreeNode<T> | null;
868
+ setSingularizeStatus(singularize?: boolean): void;
777
869
  }
778
- declare class ComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
779
- private containerStrategy;
780
- private contextStrategy;
781
- constructor(component: T, containerStrategy: ContainerStrategy, contextStrategy?: ContextStrategy);
782
- injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
870
+ declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends AbstractTreeService<T> implements OnDestroy {
871
+ protected injector: Injector;
872
+ private subscription;
873
+ private permissionService;
874
+ private compareFunc;
875
+ readonly id = "name";
876
+ readonly parentId = "parentName";
877
+ readonly hide: (item: T) => boolean;
878
+ readonly sort: (a: T, b: T) => any;
879
+ constructor();
880
+ protected isGranted({ requiredPolicy }: T): boolean;
881
+ hasChildren(identifier: string): boolean;
882
+ hasInvisibleChild(identifier: string): boolean;
883
+ ngOnDestroy(): void;
884
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
885
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
783
886
  }
784
- declare class RootComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
785
- private contextStrategy;
786
- private domStrategy;
787
- constructor(component: T, contextStrategy?: ContextStrategy, domStrategy?: DomStrategy);
788
- injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
887
+ declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
888
+ private hasPathOrChild;
889
+ get groupedVisible(): RouteGroup<ABP.Route>[] | undefined;
890
+ get groupedVisible$(): Observable<RouteGroup<ABP.Route>[] | undefined>;
891
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
892
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
789
893
  }
790
- declare class TemplateProjectionStrategy<T extends TemplateRef<any>> extends ProjectionStrategy<T> {
791
- private containerStrategy;
792
- private contextStrategy;
793
- constructor(templateRef: T, containerStrategy: ContainerStrategy, contextStrategy?: NoContextStrategy<any>);
794
- injectContent(): ComponentRefOrEmbeddedViewRef<T>;
894
+
895
+ declare class SubscriptionService implements OnDestroy {
896
+ private subscription;
897
+ get isClosed(): boolean;
898
+ addOne<T>(source$: Observable<T>, next?: (value: T) => void, error?: (error: any) => void): Subscription;
899
+ addOne<T>(source$: Observable<T>, observer?: PartialObserver<T>): Subscription;
900
+ closeAll(): void;
901
+ closeOne(subscription: Subscription | undefined | null): void;
902
+ ngOnDestroy(): void;
903
+ removeOne(subscription: Subscription | undefined | null): void;
904
+ reset(): void;
905
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
906
+ static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
795
907
  }
796
- declare const PROJECTION_STRATEGY: {
797
- AppendComponentToBody<T extends Type<unknown>>(component: T, context?: Partial<InferredInstanceOf<T>>): RootComponentProjectionStrategy<T>;
798
- AppendComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
799
- AppendTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
800
- PrependComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
801
- PrependTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
802
- ProjectComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
803
- ProjectTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
804
- };
805
- type ComponentRefOrEmbeddedViewRef<T> = T extends Type<infer U> ? ComponentRef<U> : T extends TemplateRef<infer C> ? EmbeddedViewRef<C> : never;
806
908
 
807
- declare class ContentProjectionService {
808
- private injector;
809
- constructor(injector: Injector);
810
- projectContent<T extends Type<any> | TemplateRef<any>>(projectionStrategy: ProjectionStrategy<T>, injector?: Injector): T extends Type<infer U> ? i0.ComponentRef<U> : T extends TemplateRef<infer C> ? i0.EmbeddedViewRef<C> : never;
811
- static ɵfac: i0.ɵɵFactoryDeclaration<ContentProjectionService, never>;
812
- static ɵprov: i0.ɵɵInjectableDeclaration<ContentProjectionService>;
813
- }
814
-
815
- declare abstract class ContentSecurityStrategy {
816
- nonce?: string;
817
- constructor(nonce?: string);
818
- abstract applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
819
- }
820
- declare class LooseContentSecurityStrategy extends ContentSecurityStrategy {
821
- constructor(nonce: string);
822
- applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
823
- }
824
- declare class NoContentSecurityStrategy extends ContentSecurityStrategy {
825
- constructor();
826
- applyCSP(_: HTMLScriptElement | HTMLStyleElement): void;
827
- }
828
- declare const CONTENT_SECURITY_STRATEGY: {
829
- Loose(nonce: string): LooseContentSecurityStrategy;
830
- None(): NoContentSecurityStrategy;
831
- };
832
-
833
- type ElementOptions<T extends HTMLScriptElement | HTMLStyleElement = any> = Partial<{
834
- [key in keyof T]: T[key];
835
- }>;
836
- declare abstract class ContentStrategy<T extends HTMLScriptElement | HTMLStyleElement = any> {
837
- content: string;
838
- protected domStrategy: DomStrategy;
839
- protected contentSecurityStrategy: ContentSecurityStrategy;
840
- protected options: ElementOptions<T>;
841
- constructor(content: string, domStrategy?: DomStrategy, contentSecurityStrategy?: ContentSecurityStrategy, options?: ElementOptions<T>);
842
- abstract createElement(): T;
843
- insertElement(): T;
844
- }
845
- declare class StyleContentStrategy extends ContentStrategy<HTMLStyleElement> {
846
- createElement(): HTMLStyleElement;
847
- }
848
- declare class ScriptContentStrategy extends ContentStrategy<HTMLScriptElement> {
849
- createElement(): HTMLScriptElement;
850
- }
851
- declare const CONTENT_STRATEGY: {
852
- AppendScriptToBody(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
853
- AppendScriptToHead(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
854
- AppendStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
855
- PrependStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
856
- };
857
-
858
- declare class DomInsertionService {
859
- private readonly inserted;
860
- insertContent<T extends HTMLScriptElement | HTMLStyleElement>(contentStrategy: ContentStrategy<T>): T | undefined;
861
- removeContent(element: HTMLScriptElement | HTMLStyleElement): void;
862
- has(content: string): boolean;
863
- static ɵfac: i0.ɵɵFactoryDeclaration<DomInsertionService, never>;
864
- static ɵprov: i0.ɵɵInjectableDeclaration<DomInsertionService>;
865
- }
866
-
867
- declare class EnvironmentService {
909
+ declare class ConfigStateService {
910
+ private abpConfigService;
911
+ private abpApplicationLocalizationService;
912
+ private readonly includeLocalizationResources;
913
+ private updateSubject;
868
914
  private readonly store;
915
+ uiCultureFromAuthCodeFlow: string;
916
+ setState(config: ApplicationConfigurationDto): void;
869
917
  get createOnUpdateStream(): <Slice>(selector: (state: {
870
- [x: string]: any;
871
- apis?: {
872
- [x: string]: {
873
- [x: string]: string;
874
- url?: string;
875
- rootNamespace?: string;
918
+ localization?: {
919
+ values?: {
920
+ [x: string]: {
921
+ [x: string]: string;
922
+ };
876
923
  };
877
- default?: {
924
+ resources?: {
925
+ [x: string]: {
926
+ texts?: {
927
+ [x: string]: string;
928
+ };
929
+ baseResources?: string[];
930
+ };
931
+ };
932
+ languages?: _abp_ng_core.LanguageInfo[];
933
+ currentCulture?: {
934
+ displayName?: string;
935
+ englishName?: string;
936
+ threeLetterIsoLanguageName?: string;
937
+ twoLetterIsoLanguageName?: string;
938
+ isRightToLeft?: boolean;
939
+ cultureName?: string;
940
+ name?: string;
941
+ nativeName?: string;
942
+ dateTimeFormat?: {
943
+ calendarAlgorithmType?: string;
944
+ dateTimeFormatLong?: string;
945
+ shortDatePattern?: string;
946
+ fullDateTimePattern?: string;
947
+ dateSeparator?: string;
948
+ shortTimePattern?: string;
949
+ longTimePattern?: string;
950
+ };
951
+ };
952
+ defaultResourceName?: string;
953
+ languagesMap?: {
954
+ [x: string]: _abp_ng_core.NameValue<string>[];
955
+ };
956
+ languageFilesMap?: {
957
+ [x: string]: _abp_ng_core.NameValue<string>[];
958
+ };
959
+ };
960
+ auth?: {
961
+ grantedPolicies?: {
962
+ [x: string]: boolean;
963
+ };
964
+ };
965
+ setting?: {
966
+ values?: {
878
967
  [x: string]: string;
879
- url?: string;
880
- rootNamespace?: string;
881
968
  };
882
969
  };
883
- application?: {
970
+ currentUser?: {
971
+ isAuthenticated?: boolean;
972
+ id?: string;
973
+ tenantId?: string;
974
+ impersonatorUserId?: string;
975
+ impersonatorTenantId?: string;
976
+ impersonatorUserName?: string;
977
+ impersonatorTenantName?: string;
978
+ userName?: string;
884
979
  name?: string;
885
- baseUrl?: string;
886
- logoUrl?: string;
887
- };
888
- hmr?: boolean;
889
- test?: boolean;
890
- localization?: {
891
- defaultResourceName?: string;
980
+ surName?: string;
981
+ email?: string;
982
+ emailVerified?: boolean;
983
+ phoneNumber?: string;
984
+ phoneNumberVerified?: boolean;
985
+ roles?: string[];
892
986
  };
893
- oAuthConfig?: {
894
- clientId?: string;
895
- redirectUri?: string;
896
- postLogoutRedirectUri?: string;
897
- redirectUriAsPostLogoutRedirectUriFallback?: boolean;
898
- loginUrl?: string;
899
- scope?: string;
900
- resource?: string;
901
- rngUrl?: string;
902
- oidc?: boolean;
903
- requestAccessToken?: boolean;
904
- options?: any;
905
- issuer?: string;
906
- logoutUrl?: string;
907
- clearHashAfterLogin?: boolean;
908
- tokenEndpoint?: string;
909
- revocationEndpoint?: string;
910
- customTokenParameters?: string[];
911
- userinfoEndpoint?: string;
912
- responseType?: string;
913
- showDebugInformation?: boolean;
914
- silentRefreshRedirectUri?: string;
915
- silentRefreshMessagePrefix?: string;
916
- silentRefreshShowIFrame?: boolean;
917
- siletRefreshTimeout?: number;
918
- silentRefreshTimeout?: number;
919
- dummyClientSecret?: string;
920
- requireHttps?: boolean | "remoteOnly";
921
- strictDiscoveryDocumentValidation?: boolean;
922
- jwks?: object;
923
- customQueryParams?: object;
924
- silentRefreshIFrameName?: string;
925
- timeoutFactor?: number;
926
- sessionChecksEnabled?: boolean;
927
- sessionCheckIntervall?: number;
928
- sessionCheckIFrameUrl?: string;
929
- sessionCheckIFrameName?: string;
930
- disableAtHashCheck?: boolean;
931
- skipSubjectCheck?: boolean;
932
- useIdTokenHintForSilentRefresh?: boolean;
933
- skipIssuerCheck?: boolean;
934
- fallbackAccessTokenExpirationTimeInSec?: number;
935
- nonceStateSeparator?: string;
936
- useHttpBasicAuth?: boolean;
937
- clockSkewInSec?: number;
938
- decreaseExpirationBySec?: number;
939
- waitForTokenInMsec?: number;
940
- useSilentRefresh?: any;
941
- disablePKCE?: boolean;
942
- preserveRequestedRoute?: boolean;
943
- disableIdTokenTimer?: boolean;
944
- checkOrigin?: boolean;
945
- openUri?: (uri: string) => void;
946
- impersonation?: {
947
- tenantImpersonation?: boolean;
948
- userImpersonation?: boolean;
987
+ features?: {
988
+ values?: {
989
+ [x: string]: string;
949
990
  };
950
991
  };
951
- production?: boolean;
952
- remoteEnv?: {
953
- url?: string;
954
- mergeStrategy?: "deepmerge" | "overwrite" | customMergeFn;
955
- method?: string;
956
- headers?: {
957
- [x: string]: string;
992
+ globalFeatures?: {
993
+ enabledFeatures?: string[];
994
+ };
995
+ multiTenancy?: {
996
+ isEnabled?: boolean;
997
+ };
998
+ currentTenant?: {
999
+ id?: string;
1000
+ name?: string;
1001
+ isAvailable?: boolean;
1002
+ };
1003
+ timing?: {
1004
+ timeZone?: {
1005
+ iana?: {
1006
+ timeZoneName?: string;
1007
+ };
1008
+ windows?: {
1009
+ timeZoneId?: string;
1010
+ };
958
1011
  };
959
1012
  };
960
- }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
961
- getEnvironment$(): Observable<Environment>;
962
- getEnvironment(): Environment;
963
- getApiUrl(key: string | undefined): string;
964
- getApiUrl$(key: string): Observable<string>;
965
- setState(environment: Environment): void;
966
- getIssuer(): string;
967
- getIssuer$(): Observable<string>;
968
- getImpersonation(): Impersonation;
969
- getImpersonation$(): Observable<Impersonation>;
970
- static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
971
- static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
972
- }
973
-
974
- declare class HttpErrorReporterService {
975
- private _reporter$;
976
- private _errors$;
977
- get reporter$(): rxjs.Observable<HttpErrorResponse>;
978
- get errors$(): rxjs.Observable<HttpErrorResponse[]>;
979
- get errors(): HttpErrorResponse[];
980
- reportError(error: HttpErrorResponse): void;
981
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorReporterService, never>;
982
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorReporterService>;
983
- }
984
-
985
- declare class InternalStore<State> {
986
- private initialState;
987
- private state$;
988
- private update$;
989
- get state(): State;
990
- sliceState: <Slice>(selector: (state: State) => Slice, compareFn?: (s1: Slice, s2: Slice) => boolean) => rxjs.Observable<Slice>;
991
- sliceUpdate: <Slice>(selector: (state: DeepPartial<State>) => Slice, filterFn?: (x: Slice) => boolean) => rxjs.Observable<Slice>;
992
- constructor(initialState: State);
993
- patch(state: Partial<State>): void;
994
- deepPatch(state: DeepPartial<State>): void;
995
- set(state: State): void;
996
- reset(): void;
997
- }
998
-
999
- interface HttpWaitState {
1000
- requests: HttpRequest<any>[];
1001
- filteredRequests: Array<HttpRequestInfo>;
1002
- }
1003
- interface HttpRequestInfo {
1004
- method: string;
1005
- endpoint: string;
1006
- }
1007
- declare class HttpWaitService {
1008
- protected store: InternalStore<HttpWaitState>;
1009
- private delay;
1010
- private destroy$;
1011
- constructor(injector: Injector);
1012
- getLoading(): boolean;
1013
- getLoading$(): rxjs.Observable<boolean>;
1014
- updateLoading$(): rxjs.Observable<boolean>;
1015
- clearLoading(): void;
1016
- addRequest(request: HttpRequest<any>): void;
1017
- deleteRequest(request: HttpRequest<any>): void;
1018
- addFilter(request: HttpRequestInfo | HttpRequestInfo[]): void;
1019
- removeFilter(request: HttpRequestInfo | HttpRequestInfo[]): void;
1020
- private applyFilter;
1021
- private isSameRequest;
1022
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpWaitService, never>;
1023
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpWaitService>;
1024
- }
1025
-
1026
- declare class CrossOriginStrategy {
1027
- crossorigin: 'anonymous' | 'use-credentials' | null;
1028
- integrity?: string;
1029
- constructor(crossorigin: 'anonymous' | 'use-credentials' | null, integrity?: string);
1030
- setCrossOrigin<T extends HTMLElement>(element: T): void;
1031
- }
1032
- declare class NoCrossOriginStrategy extends CrossOriginStrategy {
1033
- setCrossOrigin(): void;
1034
- }
1035
- declare const CROSS_ORIGIN_STRATEGY: {
1036
- Anonymous(integrity?: string): CrossOriginStrategy;
1037
- UseCredentials(integrity?: string): CrossOriginStrategy;
1038
- None(): NoCrossOriginStrategy;
1039
- };
1040
-
1041
- declare abstract class LoadingStrategy<T extends HTMLScriptElement | HTMLLinkElement = any> {
1042
- path: string;
1043
- protected domStrategy: DomStrategy;
1044
- protected crossOriginStrategy: CrossOriginStrategy;
1045
- element: T;
1046
- constructor(path: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1047
- abstract createElement(): T;
1048
- createStream<E extends Event>(): Observable<E>;
1049
- }
1050
- declare class ScriptLoadingStrategy extends LoadingStrategy<HTMLScriptElement> {
1051
- constructor(src: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1052
- createElement(): HTMLScriptElement;
1053
- }
1054
- declare class StyleLoadingStrategy extends LoadingStrategy<HTMLLinkElement> {
1055
- constructor(href: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1056
- createElement(): HTMLLinkElement;
1057
- }
1058
- declare const LOADING_STRATEGY: {
1059
- AppendScriptToBody(src: string): ScriptLoadingStrategy;
1060
- AppendAnonymousScriptToBody(src: string, integrity?: string): ScriptLoadingStrategy;
1061
- AppendAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
1062
- AppendAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
1063
- PrependAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
1064
- PrependAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
1065
- };
1066
-
1067
- interface ResourceWaitState {
1068
- resources: Set<string>;
1069
- }
1070
- declare class ResourceWaitService {
1071
- private store;
1072
- getLoading(): boolean;
1073
- getLoading$(): rxjs.Observable<boolean>;
1074
- updateLoading$(): rxjs.Observable<boolean>;
1075
- clearLoading(): void;
1076
- addResource(resource: string): void;
1077
- deleteResource(resource: string): void;
1078
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
1079
- static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
1080
- }
1081
-
1082
- declare class LazyLoadService {
1083
- private resourceWaitService;
1084
- readonly loaded: Map<string, HTMLScriptElement | HTMLLinkElement>;
1085
- constructor(resourceWaitService: ResourceWaitService);
1086
- load(strategy: LoadingStrategy, retryTimes?: number, retryDelay?: number): Observable<Event>;
1087
- remove(path: string): boolean;
1088
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadService, never>;
1089
- static ɵprov: i0.ɵɵInjectableDeclaration<LazyLoadService>;
1090
- }
1091
-
1092
- type RequestStatus = 'idle' | 'loading' | 'success' | 'error';
1093
- declare class ListService<QueryParamsType = ABP.PageQueryParams | any> implements OnDestroy {
1094
- private _filter;
1095
- set filter(value: string);
1096
- get filter(): string;
1097
- private _maxResultCount;
1098
- set maxResultCount(value: number);
1099
- get maxResultCount(): number;
1100
- private _page;
1101
- set page(value: number);
1102
- get page(): number;
1103
- private _totalCount;
1104
- set totalCount(value: number);
1105
- get totalCount(): number;
1106
- private _sortKey;
1107
- set sortKey(value: string | number);
1108
- get sortKey(): string | number;
1109
- private _sortOrder;
1110
- set sortOrder(value: string);
1111
- get sortOrder(): string;
1112
- private _query$;
1113
- get query$(): Observable<QueryParamsType>;
1114
- private _isLoading$;
1115
- private _requestStatus;
1116
- private destroy$;
1117
- private delay;
1118
- /**
1119
- * @deprecated Use `requestStatus$` instead.
1120
- */
1121
- get isLoading$(): Observable<boolean>;
1122
- get requestStatus$(): Observable<RequestStatus>;
1123
- get: () => void;
1124
- getWithoutPageReset: () => void;
1125
- constructor(injector: Injector);
1126
- hookToQuery<T>(streamCreatorCallback: QueryStreamCreatorCallback<T, QueryParamsType>): Observable<PagedResultDto<T>>;
1127
- ngOnDestroy(): void;
1128
- private resetPageWhenUnchanged;
1129
- private next;
1130
- static ɵfac: i0.ɵɵFactoryDeclaration<ListService<any>, never>;
1131
- static ɵprov: i0.ɵɵInjectableDeclaration<ListService<any>>;
1132
- }
1133
- type QueryStreamCreatorCallback<T, QueryParamsType = ABP.PageQueryParams> = (query: QueryParamsType) => Observable<PagedResultDto<T>>;
1134
-
1135
- declare class AbpTenantService {
1136
- private restService;
1137
- apiName: string;
1138
- findTenantById: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<FindTenantResultDto>;
1139
- findTenantByName: (name: string, config?: Partial<Rest.Config>) => rxjs.Observable<FindTenantResultDto>;
1140
- constructor(restService: RestService);
1141
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpTenantService, never>;
1142
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpTenantService>;
1143
- }
1144
-
1145
- declare class ExternalHttpClient extends HttpClient {
1146
- #private;
1147
- request(first: string | HttpRequest<any>, url?: string, options?: RequestOptions): Observable<any>;
1148
- static ɵfac: i0.ɵɵFactoryDeclaration<ExternalHttpClient, never>;
1149
- static ɵprov: i0.ɵɵInjectableDeclaration<ExternalHttpClient>;
1150
- }
1151
- type RequestOptions = Parameters<HttpClient['request']>[2];
1152
-
1153
- declare class RestService {
1154
- protected options: ABP.Root;
1155
- protected http: HttpClient;
1156
- protected externalHttp: ExternalHttpClient;
1157
- protected environment: EnvironmentService;
1158
- protected httpErrorReporter: HttpErrorReporterService;
1159
- constructor(options: ABP.Root, http: HttpClient, externalHttp: ExternalHttpClient, environment: EnvironmentService, httpErrorReporter: HttpErrorReporterService);
1160
- protected getApiFromStore(apiName: string | undefined): string;
1161
- handleError(err: any): Observable<any>;
1162
- request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
1163
- private getHttpClient;
1164
- private getParams;
1165
- private removeDuplicateSlashes;
1166
- static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
1167
- static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
1168
- }
1169
-
1170
- declare class AbpLocalStorageService implements Storage {
1013
+ clock?: {
1014
+ kind?: string;
1015
+ };
1016
+ objectExtensions?: {
1017
+ modules?: {
1018
+ [x: string]: {
1019
+ entities?: {
1020
+ [x: string]: {
1021
+ properties?: {
1022
+ [x: string]: {
1023
+ type?: string;
1024
+ typeSimple?: string;
1025
+ displayName?: {
1026
+ name?: string;
1027
+ resource?: string;
1028
+ };
1029
+ api?: {
1030
+ onGet?: {
1031
+ isAvailable?: boolean;
1032
+ };
1033
+ onCreate?: {
1034
+ isAvailable?: boolean;
1035
+ };
1036
+ onUpdate?: {
1037
+ isAvailable?: boolean;
1038
+ };
1039
+ };
1040
+ ui?: {
1041
+ onTable?: {
1042
+ isVisible?: boolean;
1043
+ };
1044
+ onCreateForm?: {
1045
+ isVisible?: boolean;
1046
+ };
1047
+ onEditForm?: {
1048
+ isVisible?: boolean;
1049
+ };
1050
+ lookup?: {
1051
+ url?: string;
1052
+ resultListPropertyName?: string;
1053
+ displayPropertyName?: string;
1054
+ valuePropertyName?: string;
1055
+ filterParamName?: string;
1056
+ };
1057
+ };
1058
+ attributes?: _abp_ng_core.ExtensionPropertyAttributeDto[];
1059
+ configuration?: {
1060
+ [x: string]: object;
1061
+ };
1062
+ defaultValue?: object;
1063
+ };
1064
+ };
1065
+ configuration?: {
1066
+ [x: string]: object;
1067
+ };
1068
+ };
1069
+ };
1070
+ configuration?: {
1071
+ [x: string]: object;
1072
+ };
1073
+ };
1074
+ };
1075
+ enums?: {
1076
+ [x: string]: {
1077
+ fields?: _abp_ng_core.ExtensionEnumFieldDto[];
1078
+ localizationResource?: string;
1079
+ };
1080
+ };
1081
+ };
1082
+ extraProperties?: {
1083
+ [x: string]: object;
1084
+ };
1085
+ }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
1171
1086
  constructor();
1172
- [name: string]: any;
1173
- get length(): number;
1174
- clear(): void;
1175
- getItem(key: string): string;
1176
- key(index: number): string;
1177
- removeItem(key: string): void;
1178
- setItem(key: string, value: string): void;
1179
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpLocalStorageService, never>;
1180
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpLocalStorageService>;
1181
- }
1182
-
1183
- declare class SessionStateService {
1184
- private configState;
1185
- private localStorageService;
1186
- private readonly store;
1187
- protected readonly document: Document;
1188
- private updateLocalStorage;
1189
- constructor(configState: ConfigStateService, localStorageService: AbpLocalStorageService);
1190
- private init;
1191
- private setInitialLanguage;
1192
- onLanguageChange$(): rxjs.Observable<string>;
1193
- onTenantChange$(): rxjs.Observable<{
1194
- id?: string;
1195
- name?: string;
1196
- isAvailable?: boolean;
1087
+ private initUpdateStream;
1088
+ private getLocalizationAndCombineWithAppState;
1089
+ private getlocalizationResource;
1090
+ refreshAppState(): Observable<{
1091
+ localization?: {
1092
+ values?: {
1093
+ [x: string]: {
1094
+ [x: string]: string;
1095
+ };
1096
+ };
1097
+ resources?: {
1098
+ [x: string]: {
1099
+ texts?: {
1100
+ [x: string]: string;
1101
+ };
1102
+ baseResources?: string[];
1103
+ };
1104
+ };
1105
+ languages?: _abp_ng_core.LanguageInfo[];
1106
+ currentCulture?: {
1107
+ displayName?: string;
1108
+ englishName?: string;
1109
+ threeLetterIsoLanguageName?: string;
1110
+ twoLetterIsoLanguageName?: string;
1111
+ isRightToLeft?: boolean;
1112
+ cultureName?: string;
1113
+ name?: string;
1114
+ nativeName?: string;
1115
+ dateTimeFormat?: {
1116
+ calendarAlgorithmType?: string;
1117
+ dateTimeFormatLong?: string;
1118
+ shortDatePattern?: string;
1119
+ fullDateTimePattern?: string;
1120
+ dateSeparator?: string;
1121
+ shortTimePattern?: string;
1122
+ longTimePattern?: string;
1123
+ };
1124
+ };
1125
+ defaultResourceName?: string;
1126
+ languagesMap?: {
1127
+ [x: string]: _abp_ng_core.NameValue<string>[];
1128
+ };
1129
+ languageFilesMap?: {
1130
+ [x: string]: _abp_ng_core.NameValue<string>[];
1131
+ };
1132
+ };
1133
+ auth?: {
1134
+ grantedPolicies?: {
1135
+ [x: string]: boolean;
1136
+ };
1137
+ };
1138
+ setting?: {
1139
+ values?: {
1140
+ [x: string]: string;
1141
+ };
1142
+ };
1143
+ currentUser?: {
1144
+ isAuthenticated?: boolean;
1145
+ id?: string;
1146
+ tenantId?: string;
1147
+ impersonatorUserId?: string;
1148
+ impersonatorTenantId?: string;
1149
+ impersonatorUserName?: string;
1150
+ impersonatorTenantName?: string;
1151
+ userName?: string;
1152
+ name?: string;
1153
+ surName?: string;
1154
+ email?: string;
1155
+ emailVerified?: boolean;
1156
+ phoneNumber?: string;
1157
+ phoneNumberVerified?: boolean;
1158
+ roles?: string[];
1159
+ };
1160
+ features?: {
1161
+ values?: {
1162
+ [x: string]: string;
1163
+ };
1164
+ };
1165
+ globalFeatures?: {
1166
+ enabledFeatures?: string[];
1167
+ };
1168
+ multiTenancy?: {
1169
+ isEnabled?: boolean;
1170
+ };
1171
+ currentTenant?: {
1172
+ id?: string;
1173
+ name?: string;
1174
+ isAvailable?: boolean;
1175
+ };
1176
+ timing?: {
1177
+ timeZone?: {
1178
+ iana?: {
1179
+ timeZoneName?: string;
1180
+ };
1181
+ windows?: {
1182
+ timeZoneId?: string;
1183
+ };
1184
+ };
1185
+ };
1186
+ clock?: {
1187
+ kind?: string;
1188
+ };
1189
+ objectExtensions?: {
1190
+ modules?: {
1191
+ [x: string]: {
1192
+ entities?: {
1193
+ [x: string]: {
1194
+ properties?: {
1195
+ [x: string]: {
1196
+ type?: string;
1197
+ typeSimple?: string;
1198
+ displayName?: {
1199
+ name?: string;
1200
+ resource?: string;
1201
+ };
1202
+ api?: {
1203
+ onGet?: {
1204
+ isAvailable?: boolean;
1205
+ };
1206
+ onCreate?: {
1207
+ isAvailable?: boolean;
1208
+ };
1209
+ onUpdate?: {
1210
+ isAvailable?: boolean;
1211
+ };
1212
+ };
1213
+ ui?: {
1214
+ onTable?: {
1215
+ isVisible?: boolean;
1216
+ };
1217
+ onCreateForm?: {
1218
+ isVisible?: boolean;
1219
+ };
1220
+ onEditForm?: {
1221
+ isVisible?: boolean;
1222
+ };
1223
+ lookup?: {
1224
+ url?: string;
1225
+ resultListPropertyName?: string;
1226
+ displayPropertyName?: string;
1227
+ valuePropertyName?: string;
1228
+ filterParamName?: string;
1229
+ };
1230
+ };
1231
+ attributes?: _abp_ng_core.ExtensionPropertyAttributeDto[];
1232
+ configuration?: {
1233
+ [x: string]: object;
1234
+ };
1235
+ defaultValue?: object;
1236
+ };
1237
+ };
1238
+ configuration?: {
1239
+ [x: string]: object;
1240
+ };
1241
+ };
1242
+ };
1243
+ configuration?: {
1244
+ [x: string]: object;
1245
+ };
1246
+ };
1247
+ };
1248
+ enums?: {
1249
+ [x: string]: {
1250
+ fields?: _abp_ng_core.ExtensionEnumFieldDto[];
1251
+ localizationResource?: string;
1252
+ };
1253
+ };
1254
+ };
1255
+ extraProperties?: {
1256
+ [x: string]: object;
1257
+ };
1197
1258
  }>;
1198
- getLanguage(): string;
1199
- getLanguage$(): rxjs.Observable<string>;
1200
- getTenant(): CurrentTenantDto;
1201
- getTenant$(): rxjs.Observable<CurrentTenantDto>;
1202
- setTenant(tenant: CurrentTenantDto | null): void;
1203
- setLanguage(language: string): void;
1204
- static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
1205
- static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
1259
+ refreshLocalization(lang: string): Observable<null>;
1260
+ getOne$<K extends keyof ApplicationConfigurationDto>(key: K): Observable<ApplicationConfigurationDto[K]>;
1261
+ getOne<K extends keyof ApplicationConfigurationDto>(key: K): ApplicationConfigurationDto[K];
1262
+ getAll$(): Observable<ApplicationConfigurationDto>;
1263
+ getAll(): ApplicationConfigurationDto;
1264
+ getDeep$(keys: string[] | string): Observable<any>;
1265
+ getDeep(keys: string[] | string): any;
1266
+ getFeature(key: string): string;
1267
+ getFeature$(key: string): Observable<string>;
1268
+ getFeatures(keys: string[]): {};
1269
+ getFeatures$(keys: string[]): Observable<{
1270
+ [key: string]: string;
1271
+ } | undefined>;
1272
+ private isFeatureEnabled;
1273
+ getFeatureIsEnabled(key: string): boolean;
1274
+ getFeatureIsEnabled$(key: string): Observable<boolean>;
1275
+ getSetting(key: string): string;
1276
+ getSetting$(key: string): Observable<string>;
1277
+ getSettings(keyword?: string): Record<string, string>;
1278
+ getSettings$(keyword?: string): Observable<Record<string, string>>;
1279
+ getGlobalFeatures(): ApplicationGlobalFeatureConfigurationDto;
1280
+ getGlobalFeatures$(): Observable<ApplicationGlobalFeatureConfigurationDto>;
1281
+ private isGlobalFeatureEnabled;
1282
+ getGlobalFeatureIsEnabled(key: string): boolean;
1283
+ getGlobalFeatureIsEnabled$(key: string): Observable<boolean>;
1284
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigStateService, never>;
1285
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigStateService>;
1206
1286
  }
1207
1287
 
1208
- declare class MultiTenancyService {
1209
- private restService;
1210
- private sessionState;
1211
- private tenantService;
1212
- private configStateService;
1213
- tenantKey: string;
1214
- domainTenant: CurrentTenantDto | null;
1215
- isTenantBoxVisible: boolean;
1216
- apiName: string;
1217
- private setTenantToState;
1218
- constructor(restService: RestService, sessionState: SessionStateService, tenantService: AbpTenantService, configStateService: ConfigStateService, tenantKey: string);
1219
- setTenantByName(tenantName: string): rxjs.Observable<FindTenantResultDto>;
1220
- setTenantById(tenantId: string): rxjs.Observable<FindTenantResultDto>;
1221
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
1222
- static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
1288
+ declare abstract class ContextStrategy<T = any> {
1289
+ context: Partial<ContextType<T>>;
1290
+ constructor(context: Partial<ContextType<T>>);
1291
+ setContext(componentRef?: ComponentRef<InferredInstanceOf<T>>): Partial<ContextType<T>>;
1223
1292
  }
1224
-
1225
- declare class PermissionService {
1226
- protected configState: ConfigStateService;
1227
- constructor(configState: ConfigStateService);
1228
- getGrantedPolicy$(key: string): rxjs.Observable<boolean>;
1229
- getGrantedPolicy(key: string | undefined): boolean;
1230
- filterItemsByPolicy<T extends ABP.HasPolicy>(items: Array<T>): T[];
1231
- filterItemsByPolicy$<T extends ABP.HasPolicy>(items: Array<T>): rxjs.Observable<T[]>;
1232
- protected isPolicyGranted(key: string | undefined, grantedPolicies: Record<string, boolean>): boolean;
1233
- protected getStream(): rxjs.Observable<Record<string, boolean>>;
1234
- protected getSnapshot(): Record<string, boolean>;
1235
- protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
1236
- protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
1237
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
1238
- static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
1293
+ declare class NoContextStrategy<T extends Type<any> | TemplateRef<any> = any> extends ContextStrategy<T> {
1294
+ constructor();
1239
1295
  }
1240
-
1241
- declare class ReplaceableComponentsService {
1242
- private ngZone;
1243
- private router;
1244
- private readonly store;
1245
- get replaceableComponents$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
1246
- get replaceableComponents(): ReplaceableComponents.ReplaceableComponent[];
1247
- get onUpdate$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
1248
- constructor(ngZone: NgZone, router: Router);
1249
- add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
1250
- get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent | undefined;
1251
- get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent | undefined>;
1252
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
1253
- static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
1296
+ declare class ComponentContextStrategy<T extends Type<any> = any> extends ContextStrategy<T> {
1297
+ setContext(componentRef: ComponentRef<InferredInstanceOf<T>>): Partial<InferredInstanceOf<T>>;
1254
1298
  }
1255
-
1256
- declare const NavigationEvent: {
1257
- Cancel: typeof NavigationCancel;
1258
- End: typeof NavigationEnd;
1259
- Error: typeof NavigationError;
1260
- Start: typeof NavigationStart;
1261
- };
1262
- declare class RouterEvents {
1263
- #private;
1264
- protected readonly router: Router;
1265
- previousNavigation: i0.Signal<string>;
1266
- currentNavigation: i0.Signal<string>;
1267
- constructor();
1268
- protected listenToNavigation(): void;
1269
- getEvents<T extends RouterEventConstructors>(...eventTypes: T): Observable<Event$1>;
1270
- getNavigationEvents<T extends NavigationEventKeys>(...navigationEventKeys: T): Observable<T extends (infer Key)[] ? Key extends "Cancel" | "End" | "Error" | "Start" ? InstanceType<{
1271
- Cancel: typeof NavigationCancel;
1272
- End: typeof NavigationEnd;
1273
- Error: typeof NavigationError;
1274
- Start: typeof NavigationStart;
1275
- }[Key]> : never : never>;
1276
- getAllEvents(): Observable<Event$1>;
1277
- getAllNavigationEvents(): Observable<NavigationStart | NavigationEnd | NavigationCancel | NavigationError>;
1278
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
1279
- static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
1299
+ declare class TemplateContextStrategy<T extends TemplateRef<any> = any> extends ContextStrategy<T> {
1300
+ setContext(): Partial<InferredContextOf<T>>;
1280
1301
  }
1281
- type RouterEventConstructors = [Type<RouterEvent>, ...Type<RouterEvent>[]];
1282
- type NavigationEventKeys = [NavigationEventKey, ...NavigationEventKey[]];
1283
- type NavigationEventType = typeof NavigationEvent;
1284
- type NavigationEventKey = keyof NavigationEventType;
1302
+ declare const CONTEXT_STRATEGY: {
1303
+ None<T extends Type<any> | TemplateRef<any> = any>(): NoContextStrategy<T>;
1304
+ Component<T extends Type<any> = any>(context: Partial<InferredInstanceOf<T>>): ComponentContextStrategy<T>;
1305
+ Template<T extends TemplateRef<any> = any>(context: Partial<InferredContextOf<T>>): TemplateContextStrategy<T>;
1306
+ };
1307
+ type ContextType<T> = T extends Type<infer U> | TemplateRef<infer U> ? U : never;
1285
1308
 
1286
- interface RouterWaitState {
1287
- loading: boolean;
1309
+ declare abstract class ContainerStrategy {
1310
+ containerRef: ViewContainerRef;
1311
+ constructor(containerRef: ViewContainerRef);
1312
+ abstract getIndex(): number;
1313
+ prepare(): void;
1288
1314
  }
1289
- declare class RouterWaitService {
1290
- private routerEvents;
1291
- private store;
1292
- private destroy$;
1293
- private delay;
1294
- constructor(routerEvents: RouterEvents, injector: Injector);
1295
- private updateLoadingStatusOnNavigationEvents;
1296
- getLoading(): boolean;
1297
- getLoading$(): rxjs.Observable<boolean>;
1298
- updateLoading$(): rxjs.Observable<boolean>;
1299
- setLoading(loading: boolean): void;
1300
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
1301
- static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
1315
+ declare class ClearContainerStrategy extends ContainerStrategy {
1316
+ getIndex(): number;
1317
+ prepare(): void;
1302
1318
  }
1303
-
1304
- declare class BaseTreeNode<T extends object> {
1305
- children: TreeNode<T>[];
1306
- isLeaf: boolean;
1307
- parent?: TreeNode<T>;
1308
- constructor(props: T);
1309
- static create<T extends object>(props: T): TreeNode<T>;
1319
+ declare class InsertIntoContainerStrategy extends ContainerStrategy {
1320
+ private index;
1321
+ constructor(containerRef: ViewContainerRef, index: number);
1322
+ getIndex(): number;
1310
1323
  }
1311
- declare function createTreeFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
1312
- declare function createMapFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
1313
- declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: TreeNode<T>[]) => TreeNode<T>[];
1314
- declare function createGroupMap<T extends {
1315
- group?: string;
1316
- }>(list: TreeNode<T>[], othersGroupKey: string): Map<string, TreeNode<T>[]>;
1317
- type TreeNode<T extends object> = {
1318
- [K in keyof T]: T[K];
1319
- } & {
1320
- children: TreeNode<T>[];
1321
- isLeaf: boolean;
1322
- parent?: TreeNode<T>;
1324
+ declare const CONTAINER_STRATEGY: {
1325
+ Clear(containerRef: ViewContainerRef): ClearContainerStrategy;
1326
+ Append(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
1327
+ Prepend(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
1328
+ Insert(containerRef: ViewContainerRef, index: number): InsertIntoContainerStrategy;
1323
1329
  };
1324
- type RouteGroup<T extends object> = {
1325
- readonly group: string;
1326
- readonly items: TreeNode<T>[];
1330
+
1331
+ declare class DomStrategy {
1332
+ private getTarget;
1333
+ position: InsertPosition;
1334
+ constructor(getTarget: () => HTMLElement, position?: InsertPosition);
1335
+ insertElement<T extends HTMLElement>(element: T): void;
1336
+ }
1337
+ declare const DOM_STRATEGY: {
1338
+ AfterElement(element: HTMLElement): DomStrategy;
1339
+ AppendToBody(): DomStrategy;
1340
+ AppendToHead(): DomStrategy;
1341
+ BeforeElement(element: HTMLElement): DomStrategy;
1342
+ PrependToHead(): DomStrategy;
1327
1343
  };
1328
- type NodeKey = number | string | symbol | undefined | null;
1329
- type NodeValue<T extends object, F extends (...args: any) => any> = F extends undefined ? TreeNode<T> : ReturnType<F>;
1330
1344
 
1331
- declare abstract class AbstractTreeService<T extends {
1332
- [key: string | number | symbol]: any;
1333
- }> {
1334
- abstract id: string;
1335
- abstract parentId: string;
1336
- abstract hide: (item: T) => boolean;
1337
- abstract sort: (a: T, b: T) => number;
1338
- private _flat$;
1339
- private _tree$;
1340
- private _visible$;
1341
- protected othersGroup: string;
1342
- protected shouldSingularizeRoutes: boolean;
1343
- get flat(): T[];
1344
- get flat$(): Observable<T[]>;
1345
- get tree(): TreeNode<T>[];
1346
- get tree$(): Observable<TreeNode<T>[]>;
1347
- get visible(): TreeNode<T>[];
1348
- get visible$(): Observable<TreeNode<T>[]>;
1349
- private filterWith;
1350
- private findItemsToRemove;
1351
- private publish;
1352
- protected createTree(items: T[]): TreeNode<T>[];
1353
- protected createGroupedTree(list: TreeNode<T>[]): RouteGroup<T>[] | undefined;
1354
- add(items: T[]): T[];
1355
- find(predicate: (item: TreeNode<T>) => boolean, tree?: TreeNode<T>[]): TreeNode<T> | null;
1356
- patch(identifier: string, props: Partial<T>): T[] | false;
1357
- refresh(): T[];
1358
- remove(identifiers: string[]): T[];
1359
- removeByParam(params: Partial<T>): T[] | null;
1360
- search(params: Partial<T>, tree?: TreeNode<T>[]): TreeNode<T> | null;
1361
- setSingularizeStatus(singularize?: boolean): void;
1345
+ declare abstract class ProjectionStrategy<T = any> {
1346
+ content: T;
1347
+ constructor(content: T);
1348
+ abstract injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
1362
1349
  }
1363
- declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends AbstractTreeService<T> implements OnDestroy {
1364
- protected injector: Injector;
1365
- private subscription;
1366
- private permissionService;
1367
- private compareFunc;
1368
- readonly id = "name";
1369
- readonly parentId = "parentName";
1370
- readonly hide: (item: T) => boolean;
1371
- readonly sort: (a: T, b: T) => any;
1372
- constructor(injector: Injector);
1373
- protected isGranted({ requiredPolicy }: T): boolean;
1374
- hasChildren(identifier: string): boolean;
1375
- hasInvisibleChild(identifier: string): boolean;
1376
- ngOnDestroy(): void;
1377
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
1378
- static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
1350
+ declare class ComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
1351
+ private containerStrategy;
1352
+ private contextStrategy;
1353
+ constructor(component: T, containerStrategy: ContainerStrategy, contextStrategy?: ContextStrategy);
1354
+ injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
1379
1355
  }
1380
- declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
1381
- private hasPathOrChild;
1382
- get groupedVisible(): RouteGroup<ABP.Route>[] | undefined;
1383
- get groupedVisible$(): Observable<RouteGroup<ABP.Route>[] | undefined>;
1384
- static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
1385
- static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
1356
+ declare class RootComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
1357
+ private contextStrategy;
1358
+ private domStrategy;
1359
+ constructor(component: T, contextStrategy?: ContextStrategy, domStrategy?: DomStrategy);
1360
+ injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
1386
1361
  }
1387
-
1388
- declare class SubscriptionService implements OnDestroy {
1389
- private subscription;
1390
- get isClosed(): boolean;
1391
- addOne<T>(source$: Observable<T>, next?: (value: T) => void, error?: (error: any) => void): Subscription;
1392
- addOne<T>(source$: Observable<T>, observer?: PartialObserver<T>): Subscription;
1393
- closeAll(): void;
1394
- closeOne(subscription: Subscription | undefined | null): void;
1395
- ngOnDestroy(): void;
1396
- removeOne(subscription: Subscription | undefined | null): void;
1397
- reset(): void;
1398
- static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
1399
- static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
1362
+ declare class TemplateProjectionStrategy<T extends TemplateRef<any>> extends ProjectionStrategy<T> {
1363
+ private containerStrategy;
1364
+ private contextStrategy;
1365
+ constructor(templateRef: T, containerStrategy: ContainerStrategy, contextStrategy?: NoContextStrategy<any>);
1366
+ injectContent(): ComponentRefOrEmbeddedViewRef<T>;
1400
1367
  }
1368
+ declare const PROJECTION_STRATEGY: {
1369
+ AppendComponentToBody<T extends Type<unknown>>(component: T, context?: Partial<InferredInstanceOf<T>>): RootComponentProjectionStrategy<T>;
1370
+ AppendComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
1371
+ AppendTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
1372
+ PrependComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
1373
+ PrependTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
1374
+ ProjectComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
1375
+ ProjectTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
1376
+ };
1377
+ type ComponentRefOrEmbeddedViewRef<T> = T extends Type<infer U> ? ComponentRef<U> : T extends TemplateRef<infer C> ? EmbeddedViewRef<C> : never;
1401
1378
 
1402
- declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
1403
- declare const trackByDeep: <T = any>(...keys: T extends object ? O$1.Paths<T> : never) => TrackByFunction<T>;
1404
- declare class TrackByService<ItemType = any> {
1405
- by: <T = any>(key: keyof T) => TrackByFunction<T>;
1406
- byDeep: <T = any>(...keys: T extends object ? O$1.Paths<T> : never) => TrackByFunction<T>;
1407
- static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
1408
- static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
1379
+ declare class ContentProjectionService {
1380
+ private injector;
1381
+ projectContent<T extends Type<any> | TemplateRef<any>>(projectionStrategy: ProjectionStrategy<T>, injector?: Injector): T extends Type<infer U> ? i0.ComponentRef<U> : T extends TemplateRef<infer C> ? i0.EmbeddedViewRef<C> : never;
1382
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentProjectionService, never>;
1383
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContentProjectionService>;
1409
1384
  }
1410
1385
 
1411
- declare class AbpWindowService {
1412
- readonly document: Document;
1413
- readonly window: Window & typeof globalThis;
1414
- readonly navigator: Navigator;
1415
- copyToClipboard(text: string): Promise<void>;
1416
- open(url?: string | URL, target?: string, features?: string): Window;
1417
- reloadPage(): void;
1418
- downloadBlob(blob: Blob, fileName: string): void;
1419
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpWindowService, never>;
1420
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpWindowService>;
1386
+ declare abstract class ContentSecurityStrategy {
1387
+ nonce?: string;
1388
+ constructor(nonce?: string);
1389
+ abstract applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
1421
1390
  }
1422
-
1423
- declare class InternetConnectionService {
1424
- readonly document: Document;
1425
- readonly window: Window & typeof globalThis;
1426
- readonly navigator: Navigator;
1427
- private status$;
1428
- private status;
1429
- networkStatus: i0.Signal<boolean>;
1391
+ declare class LooseContentSecurityStrategy extends ContentSecurityStrategy {
1392
+ constructor(nonce: string);
1393
+ applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
1394
+ }
1395
+ declare class NoContentSecurityStrategy extends ContentSecurityStrategy {
1430
1396
  constructor();
1431
- setStatus(val: boolean): void;
1432
- get networkStatus$(): rxjs.Observable<boolean>;
1433
- static ɵfac: i0.ɵɵFactoryDeclaration<InternetConnectionService, never>;
1434
- static ɵprov: i0.ɵɵInjectableDeclaration<InternetConnectionService>;
1435
- }
1436
-
1437
- declare class LocalStorageListenerService {
1438
- protected readonly window: Window & typeof globalThis;
1439
- constructor();
1440
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageListenerService, never>;
1441
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageListenerService>;
1442
- }
1443
-
1444
- declare class AbpTitleStrategy extends TitleStrategy {
1445
- protected readonly title: Title;
1446
- protected readonly localizationService: LocalizationService;
1447
- protected readonly disableProjectName: boolean;
1448
- protected routerState: RouterStateSnapshot;
1449
- langugageChange: i0.Signal<string>;
1450
- constructor();
1451
- updateTitle(routerState: RouterStateSnapshot): void;
1452
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpTitleStrategy, never>;
1453
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpTitleStrategy>;
1397
+ applyCSP(_: HTMLScriptElement | HTMLStyleElement): void;
1454
1398
  }
1399
+ declare const CONTENT_SECURITY_STRATEGY: {
1400
+ Loose(nonce: string): LooseContentSecurityStrategy;
1401
+ None(): NoContentSecurityStrategy;
1402
+ };
1455
1403
 
1456
- declare class TimezoneService {
1457
- protected readonly configState: ConfigStateService;
1458
- protected readonly document: Document;
1459
- private readonly cookieKey;
1460
- private timeZoneNameFromSettings;
1461
- isUtcClockEnabled: boolean | undefined;
1462
- constructor();
1463
- /**
1464
- * Returns the effective timezone to be used across the application.
1465
- *
1466
- * This value is determined based on the clock kind setting in the configuration:
1467
- * - If clock kind is not equal to Utc, the browser's local timezone is returned.
1468
- * - If clock kind is equal to Utc, the configured timezone (`timeZoneNameFromSettings`) is returned if available;
1469
- * otherwise, the browser's timezone is used as a fallback.
1470
- *
1471
- * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
1472
- */
1473
- get timezone(): string;
1474
- /**
1475
- * Retrieves the browser's local timezone based on the user's system settings.
1476
- *
1477
- * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
1478
- */
1479
- getBrowserTimezone(): string;
1480
- /**
1481
- * Sets the application's timezone in a cookie to persist the user's selected timezone.
1482
- *
1483
- * This method sets the cookie only if the clock kind setting is set to UTC.
1484
- * The cookie is stored using the key defined by `this.cookieKey` and applied to the root path (`/`).
1485
- *
1486
- * @param timezone - The IANA timezone name to be stored (e.g., 'Europe/Istanbul').
1487
- */
1488
- setTimezone(timezone: string): void;
1489
- static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneService, never>;
1490
- static ɵprov: i0.ɵɵInjectableDeclaration<TimezoneService>;
1404
+ type ElementOptions<T extends HTMLScriptElement | HTMLStyleElement = any> = Partial<{
1405
+ [key in keyof T]: T[key];
1406
+ }>;
1407
+ declare abstract class ContentStrategy<T extends HTMLScriptElement | HTMLStyleElement = any> {
1408
+ content: string;
1409
+ protected domStrategy: DomStrategy;
1410
+ protected contentSecurityStrategy: ContentSecurityStrategy;
1411
+ protected options: ElementOptions<T>;
1412
+ constructor(content: string, domStrategy?: DomStrategy, contentSecurityStrategy?: ContentSecurityStrategy, options?: ElementOptions<T>);
1413
+ abstract createElement(): T;
1414
+ insertElement(): T;
1491
1415
  }
1492
-
1493
- declare class TimeService {
1494
- private locale;
1495
- /**
1496
- * Returns the current date and time in the specified timezone.
1497
- *
1498
- * @param zone - An IANA timezone name (e.g., 'Europe/Istanbul', 'UTC'); defaults to the system's local timezone.
1499
- * @returns A Luxon DateTime instance representing the current time in the given timezone.
1500
- */
1501
- now(zone?: string): DateTime;
1502
- /**
1503
- * Converts the input date to the specified timezone, applying any timezone and daylight saving time (DST) adjustments.
1504
- *
1505
- * This method:
1506
- * 1. Parses the input value into a Luxon DateTime object.
1507
- * 2. Applies the specified IANA timezone, including any DST shifts based on the given date.
1508
- *
1509
- * @param value - The ISO string or Date object to convert.
1510
- * @param zone - An IANA timezone name (e.g., 'America/New_York').
1511
- * @returns A Luxon DateTime instance adjusted to the specified timezone and DST rules.
1512
- */
1513
- toZone(value: string | Date, zone: string): DateTime;
1514
- /**
1515
- * Formats the input date by applying timezone and daylight saving time (DST) adjustments.
1516
- *
1517
- * This method:
1518
- * 1. Converts the input date to the specified timezone.
1519
- * 2. Formats the result using the given format and locale, reflecting any timezone or DST shifts.
1520
- *
1521
- * @param value - The ISO string or Date object to format.
1522
- * @param format - The format string (default: 'ff').
1523
- * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); defaults to the system's local timezone.
1524
- * @returns A formatted date string adjusted for the given timezone and DST rules.
1525
- */
1526
- format(value: string | Date, format?: string, zone?: string): string;
1527
- /**
1528
- * Formats a date using the standard time offset (ignoring daylight saving time) for the specified timezone.
1529
- *
1530
- * This method:
1531
- * 1. Converts the input date to UTC.
1532
- * 2. Calculates the standard UTC offset for the given timezone (based on January 1st to avoid DST).
1533
- * 3. Applies the standard offset manually to the UTC time.
1534
- * 4. Formats the result using the specified format and locale, without applying additional timezone shifts.
1535
- *
1536
- * @param value - The ISO string or Date object to format.
1537
- * @param format - The Luxon format string (default: 'ff').
1538
- * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); if omitted, system local timezone is used.
1539
- * @returns A formatted date string adjusted by standard time (non-DST).
1540
- */
1541
- formatDateWithStandardOffset(value: string | Date, format?: string, zone?: string): string;
1542
- /**
1543
- * Formats the input date using its original clock time, without converting based on timezone or DST
1544
- *
1545
- * This method:
1546
- * 1. Converts the input date to ISO string.
1547
- * 2. Calculates the date time in UTC, keeping the local time.
1548
- * 3. Formats the result using the specified format and locale, without shifting timezones.
1549
- *
1550
- * @param value - The ISO string or Date object to format.
1551
- * @param format - The format string (default: 'ff').
1552
- * @returns A formatted date string without applying timezone.
1553
- */
1554
- formatWithoutTimeZone(value: string | Date, format?: string): string;
1555
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeService, never>;
1556
- static ɵprov: i0.ɵɵInjectableDeclaration<TimeService>;
1416
+ declare class StyleContentStrategy extends ContentStrategy<HTMLStyleElement> {
1417
+ createElement(): HTMLStyleElement;
1557
1418
  }
1558
-
1559
- declare class AbpApplicationConfigurationService {
1560
- private restService;
1561
- apiName: string;
1562
- get: (options: ApplicationConfigurationRequestOptions, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationConfigurationDto>;
1563
- constructor(restService: RestService);
1564
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationConfigurationService, never>;
1565
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationConfigurationService>;
1419
+ declare class ScriptContentStrategy extends ContentStrategy<HTMLScriptElement> {
1420
+ createElement(): HTMLScriptElement;
1566
1421
  }
1422
+ declare const CONTENT_STRATEGY: {
1423
+ AppendScriptToBody(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
1424
+ AppendScriptToHead(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
1425
+ AppendStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
1426
+ PrependStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
1427
+ };
1567
1428
 
1568
- declare class AbpApplicationLocalizationService {
1569
- private restService;
1570
- apiName: string;
1571
- get: (input: ApplicationLocalizationRequestDto, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationLocalizationDto>;
1572
- constructor(restService: RestService);
1573
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationLocalizationService, never>;
1574
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationLocalizationService>;
1429
+ declare class DomInsertionService {
1430
+ private readonly inserted;
1431
+ insertContent<T extends HTMLScriptElement | HTMLStyleElement>(contentStrategy: ContentStrategy<T>): T | undefined;
1432
+ removeContent(element: HTMLScriptElement | HTMLStyleElement): void;
1433
+ has(content: string): boolean;
1434
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomInsertionService, never>;
1435
+ static ɵprov: i0.ɵɵInjectableDeclaration<DomInsertionService>;
1575
1436
  }
1576
1437
 
1577
- declare class ConfigStateService {
1578
- private abpConfigService;
1579
- private abpApplicationLocalizationService;
1580
- private readonly includeLocalizationResources;
1581
- private updateSubject;
1438
+ declare class EnvironmentService {
1582
1439
  private readonly store;
1583
- uiCultureFromAuthCodeFlow: string;
1584
- setState(config: ApplicationConfigurationDto): void;
1585
1440
  get createOnUpdateStream(): <Slice>(selector: (state: {
1586
- localization?: {
1587
- values?: {
1588
- [x: string]: {
1589
- [x: string]: string;
1590
- };
1591
- };
1592
- resources?: {
1593
- [x: string]: {
1594
- texts?: {
1595
- [x: string]: string;
1596
- };
1597
- baseResources?: string[];
1598
- };
1599
- };
1600
- languages?: _abp_ng_core.LanguageInfo[];
1601
- currentCulture?: {
1602
- displayName?: string;
1603
- englishName?: string;
1604
- threeLetterIsoLanguageName?: string;
1605
- twoLetterIsoLanguageName?: string;
1606
- isRightToLeft?: boolean;
1607
- cultureName?: string;
1608
- name?: string;
1609
- nativeName?: string;
1610
- dateTimeFormat?: {
1611
- calendarAlgorithmType?: string;
1612
- dateTimeFormatLong?: string;
1613
- shortDatePattern?: string;
1614
- fullDateTimePattern?: string;
1615
- dateSeparator?: string;
1616
- shortTimePattern?: string;
1617
- longTimePattern?: string;
1618
- };
1619
- };
1620
- defaultResourceName?: string;
1621
- languagesMap?: {
1622
- [x: string]: _abp_ng_core.NameValue<string>[];
1623
- };
1624
- languageFilesMap?: {
1625
- [x: string]: _abp_ng_core.NameValue<string>[];
1626
- };
1627
- };
1628
- auth?: {
1629
- grantedPolicies?: {
1630
- [x: string]: boolean;
1441
+ [x: string]: any;
1442
+ apis?: {
1443
+ [x: string]: {
1444
+ [x: string]: string;
1445
+ url?: string;
1446
+ rootNamespace?: string;
1631
1447
  };
1632
- };
1633
- setting?: {
1634
- values?: {
1448
+ default?: {
1635
1449
  [x: string]: string;
1450
+ url?: string;
1451
+ rootNamespace?: string;
1636
1452
  };
1637
1453
  };
1638
- currentUser?: {
1639
- isAuthenticated?: boolean;
1640
- id?: string;
1641
- tenantId?: string;
1642
- impersonatorUserId?: string;
1643
- impersonatorTenantId?: string;
1644
- impersonatorUserName?: string;
1645
- impersonatorTenantName?: string;
1646
- userName?: string;
1454
+ application?: {
1647
1455
  name?: string;
1648
- surName?: string;
1649
- email?: string;
1650
- emailVerified?: boolean;
1651
- phoneNumber?: string;
1652
- phoneNumberVerified?: boolean;
1653
- roles?: string[];
1456
+ baseUrl?: string;
1457
+ logoUrl?: string;
1654
1458
  };
1655
- features?: {
1656
- values?: {
1657
- [x: string]: string;
1658
- };
1459
+ hmr?: boolean;
1460
+ test?: boolean;
1461
+ localization?: {
1462
+ defaultResourceName?: string;
1659
1463
  };
1660
- globalFeatures?: {
1661
- enabledFeatures?: string[];
1662
- };
1663
- multiTenancy?: {
1664
- isEnabled?: boolean;
1665
- };
1666
- currentTenant?: {
1667
- id?: string;
1668
- name?: string;
1669
- isAvailable?: boolean;
1670
- };
1671
- timing?: {
1672
- timeZone?: {
1673
- iana?: {
1674
- timeZoneName?: string;
1675
- };
1676
- windows?: {
1677
- timeZoneId?: string;
1678
- };
1679
- };
1680
- };
1681
- clock?: {
1682
- kind?: string;
1683
- };
1684
- objectExtensions?: {
1685
- modules?: {
1686
- [x: string]: {
1687
- entities?: {
1688
- [x: string]: {
1689
- properties?: {
1690
- [x: string]: {
1691
- type?: string;
1692
- typeSimple?: string;
1693
- displayName?: {
1694
- name?: string;
1695
- resource?: string;
1696
- };
1697
- api?: {
1698
- onGet?: {
1699
- isAvailable?: boolean;
1700
- };
1701
- onCreate?: {
1702
- isAvailable?: boolean;
1703
- };
1704
- onUpdate?: {
1705
- isAvailable?: boolean;
1706
- };
1707
- };
1708
- ui?: {
1709
- onTable?: {
1710
- isVisible?: boolean;
1711
- };
1712
- onCreateForm?: {
1713
- isVisible?: boolean;
1714
- };
1715
- onEditForm?: {
1716
- isVisible?: boolean;
1717
- };
1718
- lookup?: {
1719
- url?: string;
1720
- resultListPropertyName?: string;
1721
- displayPropertyName?: string;
1722
- valuePropertyName?: string;
1723
- filterParamName?: string;
1724
- };
1725
- };
1726
- attributes?: _abp_ng_core.ExtensionPropertyAttributeDto[];
1727
- configuration?: {
1728
- [x: string]: object;
1729
- };
1730
- defaultValue?: object;
1731
- };
1732
- };
1733
- configuration?: {
1734
- [x: string]: object;
1735
- };
1736
- };
1737
- };
1738
- configuration?: {
1739
- [x: string]: object;
1740
- };
1741
- };
1742
- };
1743
- enums?: {
1744
- [x: string]: {
1745
- fields?: _abp_ng_core.ExtensionEnumFieldDto[];
1746
- localizationResource?: string;
1747
- };
1748
- };
1749
- };
1750
- extraProperties?: {
1751
- [x: string]: object;
1752
- };
1753
- }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
1754
- constructor(abpConfigService: AbpApplicationConfigurationService, abpApplicationLocalizationService: AbpApplicationLocalizationService, includeLocalizationResources: boolean | null);
1755
- private initUpdateStream;
1756
- private getLocalizationAndCombineWithAppState;
1757
- private getlocalizationResource;
1758
- refreshAppState(): Observable<{
1759
- localization?: {
1760
- values?: {
1761
- [x: string]: {
1762
- [x: string]: string;
1763
- };
1764
- };
1765
- resources?: {
1766
- [x: string]: {
1767
- texts?: {
1768
- [x: string]: string;
1769
- };
1770
- baseResources?: string[];
1771
- };
1772
- };
1773
- languages?: _abp_ng_core.LanguageInfo[];
1774
- currentCulture?: {
1775
- displayName?: string;
1776
- englishName?: string;
1777
- threeLetterIsoLanguageName?: string;
1778
- twoLetterIsoLanguageName?: string;
1779
- isRightToLeft?: boolean;
1780
- cultureName?: string;
1781
- name?: string;
1782
- nativeName?: string;
1783
- dateTimeFormat?: {
1784
- calendarAlgorithmType?: string;
1785
- dateTimeFormatLong?: string;
1786
- shortDatePattern?: string;
1787
- fullDateTimePattern?: string;
1788
- dateSeparator?: string;
1789
- shortTimePattern?: string;
1790
- longTimePattern?: string;
1791
- };
1792
- };
1793
- defaultResourceName?: string;
1794
- languagesMap?: {
1795
- [x: string]: _abp_ng_core.NameValue<string>[];
1796
- };
1797
- languageFilesMap?: {
1798
- [x: string]: _abp_ng_core.NameValue<string>[];
1799
- };
1800
- };
1801
- auth?: {
1802
- grantedPolicies?: {
1803
- [x: string]: boolean;
1804
- };
1805
- };
1806
- setting?: {
1807
- values?: {
1808
- [x: string]: string;
1464
+ oAuthConfig?: {
1465
+ clientId?: string;
1466
+ redirectUri?: string;
1467
+ postLogoutRedirectUri?: string;
1468
+ redirectUriAsPostLogoutRedirectUriFallback?: boolean;
1469
+ loginUrl?: string;
1470
+ scope?: string;
1471
+ resource?: string;
1472
+ rngUrl?: string;
1473
+ oidc?: boolean;
1474
+ requestAccessToken?: boolean;
1475
+ options?: any;
1476
+ issuer?: string;
1477
+ logoutUrl?: string;
1478
+ clearHashAfterLogin?: boolean;
1479
+ tokenEndpoint?: string;
1480
+ revocationEndpoint?: string;
1481
+ customTokenParameters?: string[];
1482
+ userinfoEndpoint?: string;
1483
+ responseType?: string;
1484
+ showDebugInformation?: boolean;
1485
+ silentRefreshRedirectUri?: string;
1486
+ silentRefreshMessagePrefix?: string;
1487
+ silentRefreshShowIFrame?: boolean;
1488
+ siletRefreshTimeout?: number;
1489
+ silentRefreshTimeout?: number;
1490
+ dummyClientSecret?: string;
1491
+ requireHttps?: boolean | "remoteOnly";
1492
+ strictDiscoveryDocumentValidation?: boolean;
1493
+ jwks?: object;
1494
+ customQueryParams?: object;
1495
+ silentRefreshIFrameName?: string;
1496
+ timeoutFactor?: number;
1497
+ sessionChecksEnabled?: boolean;
1498
+ sessionCheckIntervall?: number;
1499
+ sessionCheckIFrameUrl?: string;
1500
+ sessionCheckIFrameName?: string;
1501
+ disableAtHashCheck?: boolean;
1502
+ skipSubjectCheck?: boolean;
1503
+ useIdTokenHintForSilentRefresh?: boolean;
1504
+ skipIssuerCheck?: boolean;
1505
+ fallbackAccessTokenExpirationTimeInSec?: number;
1506
+ nonceStateSeparator?: string;
1507
+ useHttpBasicAuth?: boolean;
1508
+ clockSkewInSec?: number;
1509
+ decreaseExpirationBySec?: number;
1510
+ waitForTokenInMsec?: number;
1511
+ useSilentRefresh?: any;
1512
+ disablePKCE?: boolean;
1513
+ preserveRequestedRoute?: boolean;
1514
+ disableIdTokenTimer?: boolean;
1515
+ checkOrigin?: boolean;
1516
+ openUri?: (uri: string) => void;
1517
+ impersonation?: {
1518
+ tenantImpersonation?: boolean;
1519
+ userImpersonation?: boolean;
1809
1520
  };
1521
+ ssrAuthorizationUrl?: string;
1810
1522
  };
1811
- currentUser?: {
1812
- isAuthenticated?: boolean;
1813
- id?: string;
1814
- tenantId?: string;
1815
- impersonatorUserId?: string;
1816
- impersonatorTenantId?: string;
1817
- impersonatorUserName?: string;
1818
- impersonatorTenantName?: string;
1819
- userName?: string;
1820
- name?: string;
1821
- surName?: string;
1822
- email?: string;
1823
- emailVerified?: boolean;
1824
- phoneNumber?: string;
1825
- phoneNumberVerified?: boolean;
1826
- roles?: string[];
1827
- };
1828
- features?: {
1829
- values?: {
1523
+ production?: boolean;
1524
+ remoteEnv?: {
1525
+ url?: string;
1526
+ mergeStrategy?: "deepmerge" | "overwrite" | customMergeFn;
1527
+ method?: string;
1528
+ headers?: {
1830
1529
  [x: string]: string;
1831
1530
  };
1832
1531
  };
1833
- globalFeatures?: {
1834
- enabledFeatures?: string[];
1835
- };
1836
- multiTenancy?: {
1837
- isEnabled?: boolean;
1838
- };
1839
- currentTenant?: {
1840
- id?: string;
1841
- name?: string;
1842
- isAvailable?: boolean;
1843
- };
1844
- timing?: {
1845
- timeZone?: {
1846
- iana?: {
1847
- timeZoneName?: string;
1848
- };
1849
- windows?: {
1850
- timeZoneId?: string;
1851
- };
1852
- };
1853
- };
1854
- clock?: {
1855
- kind?: string;
1856
- };
1857
- objectExtensions?: {
1858
- modules?: {
1859
- [x: string]: {
1860
- entities?: {
1861
- [x: string]: {
1862
- properties?: {
1863
- [x: string]: {
1864
- type?: string;
1865
- typeSimple?: string;
1866
- displayName?: {
1867
- name?: string;
1868
- resource?: string;
1869
- };
1870
- api?: {
1871
- onGet?: {
1872
- isAvailable?: boolean;
1873
- };
1874
- onCreate?: {
1875
- isAvailable?: boolean;
1876
- };
1877
- onUpdate?: {
1878
- isAvailable?: boolean;
1879
- };
1880
- };
1881
- ui?: {
1882
- onTable?: {
1883
- isVisible?: boolean;
1884
- };
1885
- onCreateForm?: {
1886
- isVisible?: boolean;
1887
- };
1888
- onEditForm?: {
1889
- isVisible?: boolean;
1890
- };
1891
- lookup?: {
1892
- url?: string;
1893
- resultListPropertyName?: string;
1894
- displayPropertyName?: string;
1895
- valuePropertyName?: string;
1896
- filterParamName?: string;
1897
- };
1898
- };
1899
- attributes?: _abp_ng_core.ExtensionPropertyAttributeDto[];
1900
- configuration?: {
1901
- [x: string]: object;
1902
- };
1903
- defaultValue?: object;
1904
- };
1905
- };
1906
- configuration?: {
1907
- [x: string]: object;
1908
- };
1909
- };
1910
- };
1911
- configuration?: {
1912
- [x: string]: object;
1913
- };
1914
- };
1915
- };
1916
- enums?: {
1917
- [x: string]: {
1918
- fields?: _abp_ng_core.ExtensionEnumFieldDto[];
1919
- localizationResource?: string;
1920
- };
1921
- };
1922
- };
1923
- extraProperties?: {
1924
- [x: string]: object;
1925
- };
1926
- }>;
1927
- refreshLocalization(lang: string): Observable<null>;
1928
- getOne$<K extends keyof ApplicationConfigurationDto>(key: K): Observable<ApplicationConfigurationDto[K]>;
1929
- getOne<K extends keyof ApplicationConfigurationDto>(key: K): ApplicationConfigurationDto[K];
1930
- getAll$(): Observable<ApplicationConfigurationDto>;
1931
- getAll(): ApplicationConfigurationDto;
1932
- getDeep$(keys: string[] | string): Observable<any>;
1933
- getDeep(keys: string[] | string): any;
1934
- getFeature(key: string): string;
1935
- getFeature$(key: string): Observable<string>;
1936
- getFeatures(keys: string[]): {};
1937
- getFeatures$(keys: string[]): Observable<{
1938
- [key: string]: string;
1939
- } | undefined>;
1940
- private isFeatureEnabled;
1941
- getFeatureIsEnabled(key: string): boolean;
1942
- getFeatureIsEnabled$(key: string): Observable<boolean>;
1943
- getSetting(key: string): string;
1944
- getSetting$(key: string): Observable<string>;
1945
- getSettings(keyword?: string): Record<string, string>;
1946
- getSettings$(keyword?: string): Observable<Record<string, string>>;
1947
- getGlobalFeatures(): ApplicationGlobalFeatureConfigurationDto;
1948
- getGlobalFeatures$(): Observable<ApplicationGlobalFeatureConfigurationDto>;
1949
- private isGlobalFeatureEnabled;
1950
- getGlobalFeatureIsEnabled(key: string): boolean;
1951
- getGlobalFeatureIsEnabled$(key: string): Observable<boolean>;
1952
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigStateService, [null, null, { optional: true; }]>;
1953
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigStateService>;
1532
+ }) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
1533
+ getEnvironment$(): Observable<Environment>;
1534
+ getEnvironment(): Environment;
1535
+ getApiUrl(key: string | undefined): string;
1536
+ getApiUrl$(key: string): Observable<string>;
1537
+ setState(environment: Environment): void;
1538
+ getIssuer(): string;
1539
+ getIssuer$(): Observable<string>;
1540
+ getImpersonation(): Impersonation;
1541
+ getImpersonation$(): Observable<Impersonation>;
1542
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
1543
+ static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
1544
+ }
1545
+
1546
+ declare class HttpErrorReporterService {
1547
+ private _reporter$;
1548
+ private _errors$;
1549
+ get reporter$(): rxjs.Observable<HttpErrorResponse>;
1550
+ get errors$(): rxjs.Observable<HttpErrorResponse[]>;
1551
+ get errors(): HttpErrorResponse[];
1552
+ reportError(error: HttpErrorResponse): void;
1553
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorReporterService, never>;
1554
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorReporterService>;
1555
+ }
1556
+
1557
+ declare class InternalStore<State> {
1558
+ private initialState;
1559
+ private state$;
1560
+ private update$;
1561
+ get state(): State;
1562
+ sliceState: <Slice>(selector: (state: State) => Slice, compareFn?: (s1: Slice, s2: Slice) => boolean) => rxjs.Observable<Slice>;
1563
+ sliceUpdate: <Slice>(selector: (state: DeepPartial<State>) => Slice, filterFn?: (x: Slice) => boolean) => rxjs.Observable<Slice>;
1564
+ constructor(initialState: State);
1565
+ patch(state: Partial<State>): void;
1566
+ deepPatch(state: DeepPartial<State>): void;
1567
+ set(state: State): void;
1568
+ reset(): void;
1569
+ }
1570
+
1571
+ interface HttpWaitState {
1572
+ requests: HttpRequest<any>[];
1573
+ filteredRequests: Array<HttpRequestInfo>;
1574
+ }
1575
+ interface HttpRequestInfo {
1576
+ method: string;
1577
+ endpoint: string;
1578
+ }
1579
+ declare class HttpWaitService {
1580
+ protected store: InternalStore<HttpWaitState>;
1581
+ private delay;
1582
+ private destroy$;
1583
+ constructor();
1584
+ getLoading(): boolean;
1585
+ getLoading$(): rxjs.Observable<boolean>;
1586
+ updateLoading$(): rxjs.Observable<boolean>;
1587
+ clearLoading(): void;
1588
+ addRequest(request: HttpRequest<any>): void;
1589
+ deleteRequest(request: HttpRequest<any>): void;
1590
+ addFilter(request: HttpRequestInfo | HttpRequestInfo[]): void;
1591
+ removeFilter(request: HttpRequestInfo | HttpRequestInfo[]): void;
1592
+ private applyFilter;
1593
+ private isSameRequest;
1594
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpWaitService, never>;
1595
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpWaitService>;
1596
+ }
1597
+
1598
+ declare class CrossOriginStrategy {
1599
+ crossorigin: 'anonymous' | 'use-credentials' | null;
1600
+ integrity?: string;
1601
+ constructor(crossorigin: 'anonymous' | 'use-credentials' | null, integrity?: string);
1602
+ setCrossOrigin<T extends HTMLElement>(element: T): void;
1603
+ }
1604
+ declare class NoCrossOriginStrategy extends CrossOriginStrategy {
1605
+ setCrossOrigin(): void;
1606
+ }
1607
+ declare const CROSS_ORIGIN_STRATEGY: {
1608
+ Anonymous(integrity?: string): CrossOriginStrategy;
1609
+ UseCredentials(integrity?: string): CrossOriginStrategy;
1610
+ None(): NoCrossOriginStrategy;
1611
+ };
1612
+
1613
+ declare abstract class LoadingStrategy<T extends HTMLScriptElement | HTMLLinkElement = any> {
1614
+ path: string;
1615
+ protected domStrategy: DomStrategy;
1616
+ protected crossOriginStrategy: CrossOriginStrategy;
1617
+ element: T;
1618
+ constructor(path: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1619
+ abstract createElement(): T;
1620
+ createStream<E extends Event>(): Observable<E>;
1621
+ }
1622
+ declare class ScriptLoadingStrategy extends LoadingStrategy<HTMLScriptElement> {
1623
+ constructor(src: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1624
+ createElement(): HTMLScriptElement;
1625
+ }
1626
+ declare class StyleLoadingStrategy extends LoadingStrategy<HTMLLinkElement> {
1627
+ constructor(href: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
1628
+ createElement(): HTMLLinkElement;
1629
+ }
1630
+ declare const LOADING_STRATEGY: {
1631
+ AppendScriptToBody(src: string): ScriptLoadingStrategy;
1632
+ AppendAnonymousScriptToBody(src: string, integrity?: string): ScriptLoadingStrategy;
1633
+ AppendAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
1634
+ AppendAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
1635
+ PrependAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
1636
+ PrependAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
1637
+ };
1638
+
1639
+ declare class LazyLoadService {
1640
+ private resourceWaitService;
1641
+ readonly loaded: Map<string, HTMLScriptElement | HTMLLinkElement>;
1642
+ load(strategy: LoadingStrategy, retryTimes?: number, retryDelay?: number): Observable<Event>;
1643
+ remove(path: string): boolean;
1644
+ static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadService, never>;
1645
+ static ɵprov: i0.ɵɵInjectableDeclaration<LazyLoadService>;
1646
+ }
1647
+
1648
+ type RequestStatus = 'idle' | 'loading' | 'success' | 'error';
1649
+ declare class ListService<QueryParamsType = ABP.PageQueryParams | any> implements OnDestroy {
1650
+ private _filter;
1651
+ set filter(value: string);
1652
+ get filter(): string;
1653
+ private _maxResultCount;
1654
+ set maxResultCount(value: number);
1655
+ get maxResultCount(): number;
1656
+ private _page;
1657
+ set page(value: number);
1658
+ get page(): number;
1659
+ private _totalCount;
1660
+ set totalCount(value: number);
1661
+ get totalCount(): number;
1662
+ private _sortKey;
1663
+ set sortKey(value: string | number);
1664
+ get sortKey(): string | number;
1665
+ private _sortOrder;
1666
+ set sortOrder(value: string);
1667
+ get sortOrder(): string;
1668
+ private _query$;
1669
+ get query$(): Observable<QueryParamsType>;
1670
+ private _isLoading$;
1671
+ private _requestStatus;
1672
+ private destroy$;
1673
+ private delay;
1674
+ /**
1675
+ * @deprecated Use `requestStatus$` instead.
1676
+ */
1677
+ get isLoading$(): Observable<boolean>;
1678
+ get requestStatus$(): Observable<RequestStatus>;
1679
+ get: () => void;
1680
+ getWithoutPageReset: () => void;
1681
+ constructor();
1682
+ hookToQuery<T>(streamCreatorCallback: QueryStreamCreatorCallback<T, QueryParamsType>): Observable<PagedResultDto<T>>;
1683
+ ngOnDestroy(): void;
1684
+ private resetPageWhenUnchanged;
1685
+ private next;
1686
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListService<any>, never>;
1687
+ static ɵprov: i0.ɵɵInjectableDeclaration<ListService<any>>;
1688
+ }
1689
+ type QueryStreamCreatorCallback<T, QueryParamsType = ABP.PageQueryParams> = (query: QueryParamsType) => Observable<PagedResultDto<T>>;
1690
+
1691
+ declare class MultiTenancyService {
1692
+ private sessionState;
1693
+ private tenantService;
1694
+ private configStateService;
1695
+ tenantKey: string;
1696
+ domainTenant: CurrentTenantDto | null;
1697
+ isTenantBoxVisible: boolean;
1698
+ apiName: string;
1699
+ private setTenantToState;
1700
+ setTenantByName(tenantName: string): rxjs.Observable<FindTenantResultDto>;
1701
+ setTenantById(tenantId: string): rxjs.Observable<FindTenantResultDto>;
1702
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
1703
+ static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
1704
+ }
1705
+
1706
+ declare class PermissionService {
1707
+ protected configState: ConfigStateService;
1708
+ getGrantedPolicy$(key: string): rxjs.Observable<boolean>;
1709
+ getGrantedPolicy(key: string | undefined): boolean;
1710
+ filterItemsByPolicy<T extends ABP.HasPolicy>(items: Array<T>): T[];
1711
+ filterItemsByPolicy$<T extends ABP.HasPolicy>(items: Array<T>): rxjs.Observable<T[]>;
1712
+ protected isPolicyGranted(key: string | undefined, grantedPolicies: Record<string, boolean>): boolean;
1713
+ protected getStream(): rxjs.Observable<Record<string, boolean>>;
1714
+ protected getSnapshot(): Record<string, boolean>;
1715
+ protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
1716
+ protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
1717
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
1718
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
1719
+ }
1720
+
1721
+ interface ResourceWaitState {
1722
+ resources: Set<string>;
1723
+ }
1724
+ declare class ResourceWaitService {
1725
+ private store;
1726
+ getLoading(): boolean;
1727
+ getLoading$(): rxjs.Observable<boolean>;
1728
+ updateLoading$(): rxjs.Observable<boolean>;
1729
+ clearLoading(): void;
1730
+ addResource(resource: string): void;
1731
+ deleteResource(resource: string): void;
1732
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
1733
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
1734
+ }
1735
+
1736
+ declare class ExternalHttpClient extends HttpClient {
1737
+ #private;
1738
+ request(first: string | HttpRequest<any>, url?: string, options?: RequestOptions): Observable<any>;
1739
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExternalHttpClient, never>;
1740
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExternalHttpClient>;
1741
+ }
1742
+ type RequestOptions = Parameters<HttpClient['request']>[2];
1743
+
1744
+ declare class RestService {
1745
+ protected options: ABP.Root;
1746
+ protected http: HttpClient;
1747
+ protected externalHttp: ExternalHttpClient;
1748
+ protected environment: EnvironmentService;
1749
+ protected httpErrorReporter: HttpErrorReporterService;
1750
+ protected getApiFromStore(apiName: string | undefined): string;
1751
+ handleError(err: any): Observable<any>;
1752
+ request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
1753
+ private getHttpClient;
1754
+ private getParams;
1755
+ private removeDuplicateSlashes;
1756
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
1757
+ static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
1758
+ }
1759
+
1760
+ interface RouterWaitState {
1761
+ loading: boolean;
1762
+ }
1763
+ declare class RouterWaitService {
1764
+ private routerEvents;
1765
+ private store;
1766
+ private destroy$;
1767
+ private delay;
1768
+ constructor();
1769
+ private updateLoadingStatusOnNavigationEvents;
1770
+ getLoading(): boolean;
1771
+ getLoading$(): rxjs.Observable<boolean>;
1772
+ updateLoading$(): rxjs.Observable<boolean>;
1773
+ setLoading(loading: boolean): void;
1774
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
1775
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
1776
+ }
1777
+
1778
+ declare class SessionStateService {
1779
+ private configState;
1780
+ private localStorageService;
1781
+ private appStartedWithSSR;
1782
+ private cookieStorageService;
1783
+ private readonly store;
1784
+ protected readonly document: Document;
1785
+ private updateLocalStorage;
1786
+ constructor();
1787
+ private init;
1788
+ private setInitialLanguage;
1789
+ onLanguageChange$(): rxjs.Observable<string>;
1790
+ onTenantChange$(): rxjs.Observable<{
1791
+ id?: string;
1792
+ name?: string;
1793
+ isAvailable?: boolean;
1794
+ }>;
1795
+ getLanguage(): string;
1796
+ getLanguage$(): rxjs.Observable<string>;
1797
+ getTenant(): CurrentTenantDto;
1798
+ getTenant$(): rxjs.Observable<CurrentTenantDto>;
1799
+ setTenant(tenant: CurrentTenantDto | null): void;
1800
+ setLanguage(language: string): void;
1801
+ static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
1802
+ static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
1954
1803
  }
1955
1804
 
1956
- declare class LocalizationService {
1957
- private sessionState;
1958
- private injector;
1959
- private configState;
1960
- private latestLang;
1961
- private _languageChange$;
1962
- private uiLocalizations$;
1963
- private localizations$;
1805
+ declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
1806
+ declare const trackByDeep: <T = any>(...keys: T extends object ? O$1.Paths<T> : never) => TrackByFunction<T>;
1807
+ declare class TrackByService<ItemType = any> {
1808
+ by: <T = any>(key: keyof T) => TrackByFunction<T>;
1809
+ byDeep: <T = any>(...keys: T extends object ? O$1.Paths<T> : never) => TrackByFunction<T>;
1810
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
1811
+ static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
1812
+ }
1813
+
1814
+ declare class AbpLocalStorageService implements Storage {
1815
+ private platformId;
1816
+ constructor();
1817
+ [name: string]: any;
1818
+ get length(): number;
1819
+ clear(): void;
1820
+ getItem(key: string): string | null;
1821
+ key(index: number): string | null;
1822
+ removeItem(key: string): void;
1823
+ setItem(key: string, value: string): void;
1824
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpLocalStorageService, never>;
1825
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpLocalStorageService>;
1826
+ }
1827
+
1828
+ declare class AbpWindowService {
1829
+ readonly document: Document;
1830
+ readonly window: Window & typeof globalThis;
1831
+ readonly navigator: Navigator;
1832
+ copyToClipboard(text: string): Promise<void>;
1833
+ open(url?: string | URL, target?: string, features?: string): Window;
1834
+ reloadPage(): void;
1835
+ downloadBlob(blob: Blob, fileName: string): void;
1836
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpWindowService, never>;
1837
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpWindowService>;
1838
+ }
1839
+
1840
+ declare class InternetConnectionService {
1841
+ readonly document: Document;
1842
+ readonly window: Window & typeof globalThis;
1843
+ readonly navigator: Navigator;
1844
+ private status$;
1845
+ private status;
1846
+ networkStatus: i0.Signal<boolean>;
1847
+ constructor();
1848
+ setStatus(val: boolean): void;
1849
+ get networkStatus$(): rxjs.Observable<boolean>;
1850
+ static ɵfac: i0.ɵɵFactoryDeclaration<InternetConnectionService, never>;
1851
+ static ɵprov: i0.ɵɵInjectableDeclaration<InternetConnectionService>;
1852
+ }
1853
+
1854
+ declare class LocalStorageListenerService {
1855
+ protected readonly window: Window & typeof globalThis;
1856
+ constructor();
1857
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageListenerService, never>;
1858
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageListenerService>;
1859
+ }
1860
+
1861
+ declare class AbpTitleStrategy extends TitleStrategy {
1862
+ protected readonly title: Title;
1863
+ protected readonly localizationService: LocalizationService;
1864
+ protected readonly disableProjectName: boolean;
1865
+ protected routerState: RouterStateSnapshot;
1866
+ langugageChange: i0.Signal<string>;
1867
+ constructor();
1868
+ updateTitle(routerState: RouterStateSnapshot): void;
1869
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpTitleStrategy, never>;
1870
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpTitleStrategy>;
1871
+ }
1872
+
1873
+ declare class TimezoneService {
1874
+ protected readonly configState: ConfigStateService;
1875
+ protected readonly document: Document;
1876
+ private readonly cookieKey;
1877
+ private timeZoneNameFromSettings;
1878
+ isUtcClockEnabled: boolean | undefined;
1879
+ constructor();
1964
1880
  /**
1965
- * Returns currently selected language
1966
- * Even though this looks like it's redundant to return the same value as `getLanguage()`,
1967
- * it's actually not. This could be invoked any time, and the latestLang could be different from the
1968
- * sessionState.getLanguage() value.
1881
+ * Returns the effective timezone to be used across the application.
1882
+ *
1883
+ * This value is determined based on the clock kind setting in the configuration:
1884
+ * - If clock kind is not equal to Utc, the browser's local timezone is returned.
1885
+ * - If clock kind is equal to Utc, the configured timezone (`timeZoneNameFromSettings`) is returned if available;
1886
+ * otherwise, the browser's timezone is used as a fallback.
1887
+ *
1888
+ * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
1969
1889
  */
1970
- get currentLang(): string;
1971
- get currentLang$(): Observable<string>;
1972
- get languageChange$(): Observable<string>;
1973
- constructor(sessionState: SessionStateService, injector: Injector, otherInstance: LocalizationService, configState: ConfigStateService);
1974
- private initLocalizationValues;
1975
- addLocalization(localizations?: ABP.Localization[]): void;
1976
- private listenToSetLanguage;
1977
- registerLocale(locale: string): Promise<void>;
1890
+ get timezone(): string;
1978
1891
  /**
1979
- * Returns an observable localized text with the given interpolation parameters in current language.
1980
- * @param key Localizaton key to replace with localized text
1981
- * @param interpolateParams Values to interpolate
1892
+ * Retrieves the browser's local timezone based on the user's system settings.
1893
+ *
1894
+ * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
1982
1895
  */
1983
- get(key: string | LocalizationWithDefault, ...interpolateParams: string[]): Observable<string>;
1984
- getResource(resourceName: string): Record<string, string>;
1985
- getResource$(resourceName: string): Observable<Record<string, string>>;
1896
+ getBrowserTimezone(): string;
1986
1897
  /**
1987
- * Returns localized text with the given interpolation parameters in current language.
1988
- * @param key Localization key to replace with localized text
1989
- * @param interpolateParams Values to intepolate.
1898
+ * Sets the application's timezone in a cookie to persist the user's selected timezone.
1899
+ *
1900
+ * This method sets the cookie only if the clock kind setting is set to UTC.
1901
+ * The cookie is stored using the key defined by `this.cookieKey` and applied to the root path (`/`).
1902
+ *
1903
+ * @param timezone - The IANA timezone name to be stored (e.g., 'Europe/Istanbul').
1990
1904
  */
1991
- instant(key: string | LocalizationWithDefault, ...interpolateParams: string[]): string;
1992
- localize(resourceName: string, key: string, defaultValue: string): Observable<string | null>;
1993
- localizeSync(resourceName: string, key: string, defaultValue: string): string | null;
1994
- localizeWithFallback(resourceNames: string[], keys: string[], defaultValue: string): Observable<string>;
1995
- localizeWithFallbackSync(resourceNames: string[], keys: string[], defaultValue: string): string;
1996
- private getLocalization;
1997
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, [null, null, { optional: true; skipSelf: true; }, null]>;
1998
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
1905
+ setTimezone(timezone: string): void;
1906
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneService, never>;
1907
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimezoneService>;
1908
+ }
1909
+
1910
+ declare class TimeService {
1911
+ private locale;
1912
+ /**
1913
+ * Returns the current date and time in the specified timezone.
1914
+ *
1915
+ * @param zone - An IANA timezone name (e.g., 'Europe/Istanbul', 'UTC'); defaults to the system's local timezone.
1916
+ * @returns A Luxon DateTime instance representing the current time in the given timezone.
1917
+ */
1918
+ now(zone?: string): DateTime;
1919
+ /**
1920
+ * Converts the input date to the specified timezone, applying any timezone and daylight saving time (DST) adjustments.
1921
+ *
1922
+ * This method:
1923
+ * 1. Parses the input value into a Luxon DateTime object.
1924
+ * 2. Applies the specified IANA timezone, including any DST shifts based on the given date.
1925
+ *
1926
+ * @param value - The ISO string or Date object to convert.
1927
+ * @param zone - An IANA timezone name (e.g., 'America/New_York').
1928
+ * @returns A Luxon DateTime instance adjusted to the specified timezone and DST rules.
1929
+ */
1930
+ toZone(value: string | Date, zone: string): DateTime;
1931
+ /**
1932
+ * Formats the input date by applying timezone and daylight saving time (DST) adjustments.
1933
+ *
1934
+ * This method:
1935
+ * 1. Converts the input date to the specified timezone.
1936
+ * 2. Formats the result using the given format and locale, reflecting any timezone or DST shifts.
1937
+ *
1938
+ * @param value - The ISO string or Date object to format.
1939
+ * @param format - The format string (default: 'ff').
1940
+ * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); defaults to the system's local timezone.
1941
+ * @returns A formatted date string adjusted for the given timezone and DST rules.
1942
+ */
1943
+ format(value: string | Date, format?: string, zone?: string): string;
1944
+ /**
1945
+ * Formats a date using the standard time offset (ignoring daylight saving time) for the specified timezone.
1946
+ *
1947
+ * This method:
1948
+ * 1. Converts the input date to UTC.
1949
+ * 2. Calculates the standard UTC offset for the given timezone (based on January 1st to avoid DST).
1950
+ * 3. Applies the standard offset manually to the UTC time.
1951
+ * 4. Formats the result using the specified format and locale, without applying additional timezone shifts.
1952
+ *
1953
+ * @param value - The ISO string or Date object to format.
1954
+ * @param format - The Luxon format string (default: 'ff').
1955
+ * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); if omitted, system local timezone is used.
1956
+ * @returns A formatted date string adjusted by standard time (non-DST).
1957
+ */
1958
+ formatDateWithStandardOffset(value: string | Date, format?: string, zone?: string): string;
1959
+ /**
1960
+ * Formats the input date using its original clock time, without converting based on timezone or DST
1961
+ *
1962
+ * This method:
1963
+ * 1. Converts the input date to ISO string.
1964
+ * 2. Calculates the date time in UTC, keeping the local time.
1965
+ * 3. Formats the result using the specified format and locale, without shifting timezones.
1966
+ *
1967
+ * @param value - The ISO string or Date object to format.
1968
+ * @param format - The format string (default: 'ff').
1969
+ * @returns A formatted date string without applying timezone.
1970
+ */
1971
+ formatWithoutTimeZone(value: string | Date, format?: string): string;
1972
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeService, never>;
1973
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimeService>;
1999
1974
  }
2000
- type LegacyLanguageDto = Record<string, Record<string, string>>;
2001
- type ResourceDto = Record<string, ApplicationLocalizationResourceDto>;
2002
1975
 
2003
- declare class DynamicLayoutComponent implements OnInit {
1976
+ declare class AbpCookieStorageService implements Storage {
1977
+ private platformId;
1978
+ private document;
1979
+ private request;
1980
+ get length(): number;
1981
+ clear(): void;
1982
+ getItem(key: string): string | null;
1983
+ key(index: number): string | null;
1984
+ removeItem(key: string): void;
1985
+ setItem(key: string, value: string): void;
1986
+ setItemWithExpiry(key: string, value: string, seconds: number): void;
1987
+ private keys;
1988
+ private setCookie;
1989
+ private getCookiesFromRequest;
1990
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpCookieStorageService, never>;
1991
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpCookieStorageService>;
1992
+ }
1993
+
1994
+ declare class DomStrategyService {
1995
+ private document;
1996
+ afterElement(el: HTMLElement): DomStrategy;
1997
+ beforeElement(el: HTMLElement): DomStrategy;
1998
+ appendToBody(): DomStrategy;
1999
+ appendToHead(): DomStrategy;
2000
+ prependToHead(): DomStrategy;
2001
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomStrategyService, never>;
2002
+ static ɵprov: i0.ɵɵInjectableDeclaration<DomStrategyService>;
2003
+ }
2004
+
2005
+ declare class DynamicLayoutComponent {
2004
2006
  layout?: Type<any>;
2005
2007
  layoutKey?: eLayoutType;
2006
2008
  readonly layouts: Map<string, string>;
@@ -2013,15 +2015,15 @@ declare class DynamicLayoutComponent implements OnInit {
2013
2015
  protected readonly subscription: SubscriptionService;
2014
2016
  protected readonly routerEvents: RouterEvents;
2015
2017
  protected readonly environment: EnvironmentService;
2016
- constructor(dynamicLayoutComponent: DynamicLayoutComponent);
2017
- ngOnInit(): void;
2018
+ constructor();
2018
2019
  private checkLayoutOnNavigationEnd;
2019
2020
  private getLayout;
2020
2021
  private getExtractedLayout;
2021
2022
  showLayoutNotFoundError(layoutName: string): void;
2022
2023
  private listenToLanguageChange;
2023
2024
  private getComponent;
2024
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [{ optional: true; skipSelf: true; }]>;
2025
+ private listenToEnvironmentChange;
2026
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, never>;
2025
2027
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never, true, never>;
2026
2028
  }
2027
2029
 
@@ -2032,7 +2034,6 @@ declare class ReplaceableRouteContainerComponent implements OnInit {
2032
2034
  defaultComponent: Type<any>;
2033
2035
  componentKey: string;
2034
2036
  externalComponent?: Type<any>;
2035
- constructor(route: ActivatedRoute, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
2036
2037
  ngOnInit(): void;
2037
2038
  static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableRouteContainerComponent, never>;
2038
2039
  static ɵcmp: i0.ɵɵComponentDeclaration<ReplaceableRouteContainerComponent, "abp-replaceable-route-container", never, {}, {}, never, never, true, never>;
@@ -2391,7 +2392,6 @@ declare class AutofocusDirective implements AfterViewInit {
2391
2392
  private _delay;
2392
2393
  set delay(val: number | string | undefined);
2393
2394
  get delay(): number | string | undefined;
2394
- constructor(elRef: ElementRef);
2395
2395
  ngAfterViewInit(): void;
2396
2396
  static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
2397
2397
  static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[autofocus]", never, { "delay": { "alias": "autofocus"; "required": false; }; }, {}, never, never, true, never>;
@@ -2402,20 +2402,12 @@ declare class InputEventDebounceDirective implements OnInit {
2402
2402
  private subscription;
2403
2403
  debounce: number;
2404
2404
  readonly debounceEvent: EventEmitter<Event>;
2405
- constructor(el: ElementRef, subscription: SubscriptionService);
2406
2405
  ngOnInit(): void;
2407
2406
  static ɵfac: i0.ɵɵFactoryDeclaration<InputEventDebounceDirective, never>;
2408
2407
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputEventDebounceDirective, "[input.debounce]", never, { "debounce": { "alias": "debounce"; "required": false; }; }, { "debounceEvent": "input.debounce"; }, never, never, true, never>;
2409
2408
  }
2410
2409
 
2411
2410
  type CompareFn<T = any> = (value: T, comparison: T) => boolean;
2412
- declare class AbpForContext {
2413
- $implicit: any;
2414
- index: number;
2415
- count: number;
2416
- list: any[];
2417
- constructor($implicit: any, index: number, count: number, list: any[]);
2418
- }
2419
2411
  declare class ForDirective implements OnChanges {
2420
2412
  private tempRef;
2421
2413
  private vcRef;
@@ -2432,7 +2424,6 @@ declare class ForDirective implements OnChanges {
2432
2424
  private isShowEmptyRef;
2433
2425
  get compareFn(): CompareFn;
2434
2426
  get trackByFn(): TrackByFunction<any>;
2435
- constructor(tempRef: TemplateRef<AbpForContext>, vcRef: ViewContainerRef, differs: IterableDiffers);
2436
2427
  private iterateOverAppliedOperations;
2437
2428
  private iterateOverAttachedViews;
2438
2429
  private projectItems;
@@ -2455,17 +2446,15 @@ declare class FormSubmitDirective implements OnInit {
2455
2446
  markAsDirtyWhenSubmit: boolean;
2456
2447
  readonly ngSubmit: EventEmitter<any>;
2457
2448
  executedNgSubmit: boolean;
2458
- constructor(formGroupDirective: FormGroupDirective, host: ElementRef<HTMLFormElement>, cdRef: ChangeDetectorRef, subscription: SubscriptionService);
2459
2449
  ngOnInit(): void;
2460
2450
  markAsDirty(): void;
2461
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, [{ self: true; }, null, null, null]>;
2451
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, never>;
2462
2452
  static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "form[ngSubmit][formGroup]", never, { "debounce": { "alias": "debounce"; "required": false; }; "notValidateOnSubmit": { "alias": "notValidateOnSubmit"; "required": false; }; "markAsDirtyWhenSubmit": { "alias": "markAsDirtyWhenSubmit"; "required": false; }; }, { "ngSubmit": "ngSubmit"; }, never, never, true, never>;
2463
2453
  }
2464
2454
 
2465
2455
  declare class InitDirective implements AfterViewInit {
2466
2456
  private elRef;
2467
2457
  readonly init: EventEmitter<ElementRef<any>>;
2468
- constructor(elRef: ElementRef);
2469
2458
  ngAfterViewInit(): void;
2470
2459
  static ɵfac: i0.ɵɵFactoryDeclaration<InitDirective, never>;
2471
2460
  static ɵdir: i0.ɵɵDirectiveDeclaration<InitDirective, "[abpInit]", never, {}, { "init": "abpInit"; }, never, never, true, never>;
@@ -2497,12 +2486,11 @@ declare class PermissionDirective implements OnDestroy, OnChanges, AfterViewInit
2497
2486
  subscription: Subscription;
2498
2487
  cdrSubject: ReplaySubject<void>;
2499
2488
  rendered: boolean;
2500
- constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef, permissionService: PermissionService, cdRef: ChangeDetectorRef, queue: QueueManager);
2501
2489
  private check;
2502
2490
  ngOnDestroy(): void;
2503
2491
  ngOnChanges(): void;
2504
2492
  ngAfterViewInit(): void;
2505
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionDirective, [{ optional: true; }, null, null, null, null]>;
2493
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionDirective, never>;
2506
2494
  static ɵdir: i0.ɵɵDirectiveDeclaration<PermissionDirective, "[abpPermission]", never, { "condition": { "alias": "abpPermission"; "required": false; }; "runChangeDetection": { "alias": "abpPermissionRunChangeDetection"; "required": false; }; }, {}, never, never, true, never>;
2507
2495
  }
2508
2496
 
@@ -2519,7 +2507,7 @@ declare class ReplaceableTemplateDirective implements OnInit, OnChanges {
2519
2507
  defaultComponentRef: any;
2520
2508
  defaultComponentSubscriptions: ABP.Dictionary<Subscription>;
2521
2509
  initialized: boolean;
2522
- constructor(injector: Injector, templateRef: TemplateRef<any>, vcRef: ViewContainerRef, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
2510
+ constructor();
2523
2511
  ngOnInit(): void;
2524
2512
  ngOnChanges(changes: SimpleChanges): void;
2525
2513
  setDefaultComponentInputs(): void;
@@ -2533,7 +2521,6 @@ declare class StopPropagationDirective implements OnInit {
2533
2521
  private el;
2534
2522
  private subscription;
2535
2523
  readonly stopPropEvent: EventEmitter<MouseEvent>;
2536
- constructor(el: ElementRef, subscription: SubscriptionService);
2537
2524
  ngOnInit(): void;
2538
2525
  static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
2539
2526
  static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[click.stop]", never, {}, { "stopPropEvent": "click.stop"; }, never, never, true, never>;
@@ -2541,7 +2528,6 @@ declare class StopPropagationDirective implements OnInit {
2541
2528
 
2542
2529
  declare class LocalizationPipe implements PipeTransform {
2543
2530
  private localization;
2544
- constructor(localization: LocalizationService);
2545
2531
  transform(value?: string | LocalizationWithDefault, ...interpolateParams: (string | string[] | undefined)[]): string;
2546
2532
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationPipe, never>;
2547
2533
  static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization", true>;
@@ -2566,35 +2552,34 @@ declare class SafeHtmlPipe implements PipeTransform {
2566
2552
 
2567
2553
  declare class ShortDateTimePipe extends DatePipe implements PipeTransform {
2568
2554
  private configStateService;
2569
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
2555
+ constructor();
2570
2556
  transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
2571
2557
  transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
2572
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortDateTimePipe, [null, null, { optional: true; }]>;
2558
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShortDateTimePipe, never>;
2573
2559
  static ɵpipe: i0.ɵɵPipeDeclaration<ShortDateTimePipe, "shortDateTime", true>;
2574
2560
  }
2575
2561
 
2576
2562
  declare class ShortTimePipe extends DatePipe implements PipeTransform {
2577
2563
  private configStateService;
2578
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
2564
+ constructor();
2579
2565
  transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
2580
2566
  transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
2581
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortTimePipe, [null, null, { optional: true; }]>;
2567
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShortTimePipe, never>;
2582
2568
  static ɵpipe: i0.ɵɵPipeDeclaration<ShortTimePipe, "shortTime", true>;
2583
2569
  }
2584
2570
 
2585
2571
  declare class ShortDatePipe extends DatePipe implements PipeTransform {
2586
2572
  private configStateService;
2587
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
2573
+ constructor();
2588
2574
  transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
2589
2575
  transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
2590
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortDatePipe, [null, null, { optional: true; }]>;
2576
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShortDatePipe, never>;
2591
2577
  static ɵpipe: i0.ɵɵPipeDeclaration<ShortDatePipe, "shortDate", true>;
2592
2578
  }
2593
2579
 
2594
2580
  declare const INJECTOR_PIPE_DATA_TOKEN: InjectionToken<PipeTransform>;
2595
2581
  declare class ToInjectorPipe implements PipeTransform {
2596
2582
  private injector;
2597
- constructor(injector: Injector);
2598
2583
  transform(value: any, token?: InjectionToken<any>, name?: string): Injector;
2599
2584
  static ɵfac: i0.ɵɵFactoryDeclaration<ToInjectorPipe, never>;
2600
2585
  static ɵpipe: i0.ɵɵPipeDeclaration<ToInjectorPipe, "toInjector", true>;
@@ -2705,7 +2690,7 @@ declare const CookieLanguageProvider: i0.EnvironmentProviders;
2705
2690
 
2706
2691
  declare class LocaleId extends String {
2707
2692
  private localizationService;
2708
- constructor(localizationService: LocalizationService);
2693
+ constructor();
2709
2694
  toString(): string;
2710
2695
  valueOf(): string;
2711
2696
  }
@@ -2728,6 +2713,15 @@ declare function withCompareFuncFactory(factory: (a: SortableItem, b: SortableIt
2728
2713
  declare function provideAbpCore(...features: CoreFeature<CoreFeatureKind>[]): i0.EnvironmentProviders;
2729
2714
  declare function provideAbpCoreChild(options?: ABP.Child): i0.EnvironmentProviders;
2730
2715
 
2716
+ declare class AbpTenantService {
2717
+ private restService;
2718
+ apiName: string;
2719
+ findTenantById: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<FindTenantResultDto>;
2720
+ findTenantByName: (name: string, config?: Partial<Rest.Config>) => rxjs.Observable<FindTenantResultDto>;
2721
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpTenantService, never>;
2722
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpTenantService>;
2723
+ }
2724
+
2731
2725
  interface ActionApiDescriptionModel {
2732
2726
  uniqueName?: string;
2733
2727
  name?: string;
@@ -2821,7 +2815,6 @@ declare class AbpApiDefinitionService {
2821
2815
  private restService;
2822
2816
  apiName: string;
2823
2817
  getByModel: (model: ApplicationApiDescriptionModelRequestDto, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationApiDescriptionModel>;
2824
- constructor(restService: RestService);
2825
2818
  static ɵfac: i0.ɵɵFactoryDeclaration<AbpApiDefinitionService, never>;
2826
2819
  static ɵprov: i0.ɵɵInjectableDeclaration<AbpApiDefinitionService>;
2827
2820
  }
@@ -2846,6 +2839,22 @@ declare namespace index_d {
2846
2839
  export type { index_d_EntityExtensionDto as EntityExtensionDto, index_d_ExtensionEnumDto as ExtensionEnumDto, index_d_ExtensionEnumFieldDto as ExtensionEnumFieldDto, index_d_ExtensionPropertyApiCreateDto as ExtensionPropertyApiCreateDto, index_d_ExtensionPropertyApiDto as ExtensionPropertyApiDto, index_d_ExtensionPropertyApiGetDto as ExtensionPropertyApiGetDto, index_d_ExtensionPropertyApiUpdateDto as ExtensionPropertyApiUpdateDto, index_d_ExtensionPropertyAttributeDto as ExtensionPropertyAttributeDto, index_d_ExtensionPropertyDto as ExtensionPropertyDto, index_d_ExtensionPropertyUiDto as ExtensionPropertyUiDto, index_d_ExtensionPropertyUiFormDto as ExtensionPropertyUiFormDto, index_d_ExtensionPropertyUiLookupDto as ExtensionPropertyUiLookupDto, index_d_ExtensionPropertyUiTableDto as ExtensionPropertyUiTableDto, index_d_LocalizableStringDto as LocalizableStringDto, index_d_ModuleExtensionDto as ModuleExtensionDto, index_d_ObjectExtensionsDto as ObjectExtensionsDto };
2847
2840
  }
2848
2841
 
2842
+ declare class AbpApplicationConfigurationService {
2843
+ private restService;
2844
+ apiName: string;
2845
+ get: (options: ApplicationConfigurationRequestOptions, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationConfigurationDto>;
2846
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationConfigurationService, never>;
2847
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationConfigurationService>;
2848
+ }
2849
+
2850
+ declare class AbpApplicationLocalizationService {
2851
+ private restService;
2852
+ apiName: string;
2853
+ get: (input: ApplicationLocalizationRequestDto, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationLocalizationDto>;
2854
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationLocalizationService, never>;
2855
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationLocalizationService>;
2856
+ }
2857
+
2849
2858
  type AppInitErrorFn = (error: any) => void;
2850
2859
  declare const APP_INIT_ERROR_HANDLERS: InjectionToken<AppInitErrorFn[]>;
2851
2860
 
@@ -2892,6 +2901,9 @@ declare const DYNAMIC_LAYOUTS_TOKEN: InjectionToken<Map<string, string>>;
2892
2901
 
2893
2902
  declare const DISABLE_PROJECT_NAME: InjectionToken<boolean>;
2894
2903
 
2904
+ declare const SSR_FLAG: i0.StateKey<boolean>;
2905
+ declare const APP_STARTED_WITH_SSR: InjectionToken<boolean>;
2906
+
2895
2907
  declare function pushValueTo<T>(array: T[]): (element: T) => T[];
2896
2908
 
2897
2909
  declare function noop(): () => void;
@@ -2949,6 +2961,7 @@ declare function createLocalizer(localization: ApplicationLocalizationConfigurat
2949
2961
  declare function createLocalizerWithFallback(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultValue: string) => string;
2950
2962
  declare function createLocalizationPipeKeyGenerator(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultKey: string | undefined) => string;
2951
2963
 
2964
+ declare function getCurrentTenancyNameFromUrl(tenantKey: string, injector: any): string | null;
2952
2965
  declare function parseTenantFromUrl(injector: Injector): Promise<void | FindTenantResultDto>;
2953
2966
 
2954
2967
  declare function isNumber(value: string | number): boolean;
@@ -2963,6 +2976,14 @@ declare function createTokenParser(format: string): (str: string) => Record<stri
2963
2976
  declare function interpolate(text: string, params: string[]): string;
2964
2977
  declare function escapeHtmlChars(value: any): any;
2965
2978
 
2979
+ declare class ServerCookieParser {
2980
+ static parse(cookieHeader: string): {
2981
+ [key: string]: string;
2982
+ };
2983
+ static middleware(): (req: any, res: any, next: any) => void;
2984
+ static getCookie(req: any, name: string): string | undefined;
2985
+ }
2986
+
2966
2987
  interface MinAgeError {
2967
2988
  minAge: {
2968
2989
  age: number;
@@ -3041,7 +3062,6 @@ declare const AbpValidators: {
3041
3062
 
3042
3063
  declare class ApiInterceptor implements IApiInterceptor {
3043
3064
  private httpWaitService;
3044
- constructor(httpWaitService: HttpWaitService);
3045
3065
  getAdditionalHeaders(existingHeaders?: HttpHeaders): HttpHeaders;
3046
3066
  intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
3047
3067
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiInterceptor, never>;
@@ -3051,12 +3071,9 @@ interface IApiInterceptor extends HttpInterceptor {
3051
3071
  getAdditionalHeaders(existingHeaders?: HttpHeaders): HttpHeaders;
3052
3072
  }
3053
3073
 
3054
- declare class TimezoneInterceptor implements HttpInterceptor {
3055
- protected readonly timezoneService: TimezoneService;
3056
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
3057
- static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneInterceptor, never>;
3058
- static ɵprov: i0.ɵɵInjectableDeclaration<TimezoneInterceptor>;
3059
- }
3074
+ declare const timezoneInterceptor: HttpInterceptorFn;
3075
+
3076
+ declare const transferStateInterceptor: HttpInterceptorFn;
3060
3077
 
3061
- export { ABP, APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpLocalStorageService, AbpTenantService, AbpTitleStrategy, AbpValidators, AbpWindowService, AbstractAuthErrorFilter, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthErrorEvent, AuthErrorFilterService, AuthEvent, AuthGuard, AuthInfoEvent, AuthService, AuthSuccessEvent, 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, CookieLanguageProvider, CoreFeatureKind, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DEFAULT_DYNAMIC_LAYOUTS, DISABLE_PROJECT_NAME, DOM_STRATEGY, DYNAMIC_LAYOUTS_TOKEN, DefaultQueueManager, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, IncludeLocalizationResourcesProvider, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyLocalizationPipe, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalStorageListenerService, LocaleId, LocaleProvider, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, OTHERS_GROUP, index_d as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponents, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, Rest, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SORT_COMPARE_FUNC, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, Session, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, TimeService, TimezoneInterceptor, TimezoneService, ToInjectorPipe, TrackByService, TrackCapsLockDirective, UtcToLocalPipe, WebHttpUrlEncodingCodec, authGuard, checkHasProp, compareFuncFactory, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, eLayoutType, eThemeSharedComponents, 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, permissionGuard, provideAbpCore, provideAbpCoreChild, pushValueTo, reloadRoute, setLanguageToCookie, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl, withCompareFuncFactory, withOptions, withTitleStrategy };
3078
+ export { ABP, APP_INIT_ERROR_HANDLERS, APP_STARTED_WITH_SSR, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpCookieStorageService, AbpLocalStorageService, AbpTenantService, AbpTitleStrategy, AbpValidators, AbpWindowService, AbstractAuthErrorFilter, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthErrorEvent, AuthErrorFilterService, AuthEvent, AuthGuard, AuthInfoEvent, AuthService, AuthSuccessEvent, 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, CookieLanguageProvider, CoreFeatureKind, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DEFAULT_DYNAMIC_LAYOUTS, DISABLE_PROJECT_NAME, DOM_STRATEGY, DYNAMIC_LAYOUTS_TOKEN, DefaultQueueManager, DomInsertionService, DomStrategy, DomStrategyService, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, IncludeLocalizationResourcesProvider, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyLocalizationPipe, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalStorageListenerService, LocaleId, LocaleProvider, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, OTHERS_GROUP, index_d as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponents, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, Rest, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SORT_COMPARE_FUNC, SSR_FLAG, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, ServerCookieParser, Session, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, TimeService, TimezoneService, ToInjectorPipe, TrackByService, TrackCapsLockDirective, UtcToLocalPipe, WebHttpUrlEncodingCodec, asyncAuthGuard, authGuard, checkHasProp, compareFuncFactory, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, eLayoutType, eThemeSharedComponents, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getCurrentTenancyNameFromUrl, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, permissionGuard, provideAbpCore, provideAbpCoreChild, pushValueTo, reloadRoute, setLanguageToCookie, timezoneInterceptor, trackBy, trackByDeep, transferStateInterceptor, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl, withCompareFuncFactory, withOptions, withTitleStrategy };
3062
3079
  export type { AbpAuthResponse, ActionApiDescriptionModel, ApiConfig, Apis, AppInitErrorFn, ApplicationApiDescriptionModel, ApplicationApiDescriptionModelRequestDto, ApplicationAuthConfigurationDto, ApplicationConfigurationDto, ApplicationConfigurationRequestOptions, ApplicationFeatureConfigurationDto, ApplicationGlobalFeatureConfigurationDto, ApplicationInfo, ApplicationLocalizationConfigurationDto, ApplicationLocalizationDto, ApplicationLocalizationRequestDto, ApplicationLocalizationResourceDto, ApplicationSettingConfigurationDto, AuthErrorFilter, CheckAuthenticationStateFn, ClockDto, CompareFn, ControllerApiDescriptionModel, ControllerInterfaceApiDescriptionModel, CoreFeature, CreditCardError, CurrentCultureDto, CurrentTenantDto, CurrentUserDto, DateTimeFormatDto, DeepPartial, ElementOptions, EntityExtensionDto, Environment, EventType, ExtensionEnumDto, ExtensionEnumFieldDto, ExtensionPropertyApiCreateDto, ExtensionPropertyApiDto, ExtensionPropertyApiGetDto, ExtensionPropertyApiUpdateDto, ExtensionPropertyAttributeDto, ExtensionPropertyDto, ExtensionPropertyUiDto, ExtensionPropertyUiFormDto, ExtensionPropertyUiLookupDto, ExtensionPropertyUiTableDto, FindTenantResultDto, HasAdditional, HttpRequestInfo, HttpWaitState, IAbpGuard, IApiInterceptor, IAuthService, IanaTimeZone, Impersonation, InferredContextOf, InferredInstanceOf, InterfaceMethodApiDescriptionModel, LanguageInfo, LegacyLanguageDto, LocalizableStringDto, LocalizationParam, LocalizationWithDefault, LoginParams, MethodParameterApiDescriptionModel, MinAgeError, MinAgeOptions, ModuleApiDescriptionModel, ModuleExtensionDto, MultiTenancyInfoDto, NameValue, NavigationEventKey, NodeKey, NodeValue, ObjectExtensionsDto, ParameterApiDescriptionModel, PipeToLoginFn, Primitive, PropertyApiDescriptionModel, QueryStreamCreatorCallback, QueueManager, RangeError, RangeOptions, RemoteEnv, RequestStatus, RequiredError, RequiredOptions, ResourceDto, ResourceWaitState, ReturnValueApiDescriptionModel, RouteGroup, RouterWaitState, SetTokenResponseToStorageFn, SortOrder, SortableItem, Strict, StringLengthError, StringLengthOptions, TimeZone, TimingDto, TreeNode, TypeApiDescriptionModel, UniqueCharacterError, UrlError, WindowsTimeZone, customMergeFn };