@abp/ng.core 9.3.0-rc.2 → 9.3.0-rc.3
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/fesm2022/abp-ng.core-locale.mjs.map +1 -1
- package/fesm2022/abp-ng.core-testing.mjs +14 -14
- package/fesm2022/abp-ng.core-testing.mjs.map +1 -1
- package/fesm2022/abp-ng.core.mjs +207 -207
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/index.d.ts +3061 -3
- package/locale/index.d.ts +17 -5
- package/package.json +2 -2
- package/testing/index.d.ts +51 -3
- package/lib/abstracts/abstract-guard.d.ts +0 -5
- package/lib/abstracts/auth-error-filter.d.ts +0 -16
- package/lib/abstracts/auth-response.model.d.ts +0 -10
- package/lib/abstracts/auth.guard.d.ts +0 -14
- package/lib/abstracts/auth.service.d.ts +0 -41
- package/lib/abstracts/index.d.ts +0 -6
- package/lib/abstracts/ng-model.component.d.ts +0 -23
- package/lib/clients/http.client.d.ts +0 -11
- package/lib/clients/index.d.ts +0 -1
- package/lib/components/dynamic-layout.component.d.ts +0 -34
- package/lib/components/index.d.ts +0 -3
- package/lib/components/replaceable-route-container.component.d.ts +0 -17
- package/lib/components/router-outlet.component.d.ts +0 -5
- package/lib/constants/default-layouts.d.ts +0 -1
- package/lib/constants/different-locales.d.ts +0 -334
- package/lib/constants/index.d.ts +0 -2
- package/lib/core.module.d.ts +0 -65
- package/lib/directives/autofocus.directive.d.ts +0 -12
- package/lib/directives/caps-lock.directive.d.ts +0 -10
- package/lib/directives/debounce.directive.d.ts +0 -13
- package/lib/directives/for.directive.d.ts +0 -36
- package/lib/directives/form-submit.directive.d.ts +0 -23
- package/lib/directives/index.d.ts +0 -10
- package/lib/directives/init.directive.d.ts +0 -10
- package/lib/directives/permission.directive.d.ts +0 -24
- package/lib/directives/replaceable-template.directive.d.ts +0 -29
- package/lib/directives/show-password.directive.d.ts +0 -8
- package/lib/directives/stop-propagation.directive.d.ts +0 -12
- package/lib/enums/common.d.ts +0 -10
- package/lib/enums/index.d.ts +0 -1
- package/lib/guards/index.d.ts +0 -1
- package/lib/guards/permission.guard.d.ts +0 -19
- package/lib/handlers/index.d.ts +0 -1
- package/lib/handlers/routes.handler.d.ts +0 -11
- package/lib/interceptors/api.interceptor.d.ts +0 -14
- package/lib/interceptors/index.d.ts +0 -2
- package/lib/interceptors/timezone.interceptor.d.ts +0 -10
- package/lib/localization.module.d.ts +0 -12
- package/lib/models/auth-events.d.ts +0 -21
- package/lib/models/auth.d.ts +0 -20
- package/lib/models/common.d.ts +0 -83
- package/lib/models/dtos.d.ts +0 -109
- package/lib/models/environment.d.ts +0 -44
- package/lib/models/index.d.ts +0 -11
- package/lib/models/localization.d.ts +0 -5
- package/lib/models/replaceable-components.d.ts +0 -45
- package/lib/models/rest.d.ts +0 -36
- package/lib/models/session.d.ts +0 -7
- package/lib/models/sort.d.ts +0 -5
- package/lib/models/utility.d.ts +0 -14
- package/lib/pipes/index.d.ts +0 -9
- package/lib/pipes/lazy-localization.pipe.d.ts +0 -11
- package/lib/pipes/localization.pipe.d.ts +0 -12
- package/lib/pipes/safe-html.pipe.d.ts +0 -9
- package/lib/pipes/short-date-time.pipe.d.ts +0 -12
- package/lib/pipes/short-date.pipe.d.ts +0 -12
- package/lib/pipes/short-time.pipe.d.ts +0 -12
- package/lib/pipes/sort.pipe.d.ts +0 -9
- package/lib/pipes/to-injector.pipe.d.ts +0 -10
- package/lib/pipes/utc-to-local.pipe.d.ts +0 -15
- package/lib/providers/cookie-language.provider.d.ts +0 -2
- package/lib/providers/core-module-config.provider.d.ts +0 -16
- package/lib/providers/include-localization-resources.provider.d.ts +0 -2
- package/lib/providers/index.d.ts +0 -4
- package/lib/providers/locale.provider.d.ts +0 -9
- package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +0 -13
- package/lib/proxy/pages/abp/multi-tenancy/index.d.ts +0 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +0 -12
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.d.ts +0 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +0 -12
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.d.ts +0 -12
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.d.ts +0 -5
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.d.ts +0 -107
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.d.ts +0 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.d.ts +0 -71
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.d.ts +0 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.d.ts +0 -15
- package/lib/proxy/volo/abp/http/modeling/index.d.ts +0 -1
- package/lib/proxy/volo/abp/http/modeling/models.d.ts +0 -88
- package/lib/proxy/volo/abp/localization/index.d.ts +0 -1
- package/lib/proxy/volo/abp/localization/models.d.ts +0 -7
- package/lib/proxy/volo/abp/models.d.ts +0 -4
- package/lib/services/config-state.service.d.ts +0 -383
- package/lib/services/content-projection.service.d.ts +0 -10
- package/lib/services/dom-insertion.service.d.ts +0 -10
- package/lib/services/environment.service.d.ts +0 -109
- package/lib/services/http-error-reporter.service.d.ts +0 -12
- package/lib/services/http-wait.service.d.ts +0 -30
- package/lib/services/index.d.ts +0 -27
- package/lib/services/internet-connection-service.d.ts +0 -14
- package/lib/services/lazy-load.service.d.ts +0 -13
- package/lib/services/list.service.d.ts +0 -47
- package/lib/services/local-storage-listener.service.d.ts +0 -7
- package/lib/services/local-storage.service.d.ts +0 -13
- package/lib/services/localization.service.d.ts +0 -54
- package/lib/services/multi-tenancy.service.d.ts +0 -22
- package/lib/services/permission.service.d.ts +0 -19
- package/lib/services/replaceable-components.service.d.ts +0 -19
- package/lib/services/resource-wait.service.d.ts +0 -15
- package/lib/services/rest.service.d.ts +0 -24
- package/lib/services/router-events.service.d.ts +0 -34
- package/lib/services/router-wait.service.d.ts +0 -20
- package/lib/services/routes.service.d.ts +0 -61
- package/lib/services/session-state.service.d.ts +0 -28
- package/lib/services/subscription.service.d.ts +0 -17
- package/lib/services/time.service.d.ts +0 -67
- package/lib/services/timezone.service.d.ts +0 -38
- package/lib/services/title-strategy.service.d.ts +0 -15
- package/lib/services/track-by.service.d.ts +0 -11
- package/lib/services/window.service.d.ts +0 -12
- package/lib/strategies/container.strategy.d.ts +0 -22
- package/lib/strategies/content-security.strategy.d.ts +0 -17
- package/lib/strategies/content.strategy.d.ts +0 -26
- package/lib/strategies/context.strategy.d.ts +0 -23
- package/lib/strategies/cross-origin.strategy.d.ts +0 -14
- package/lib/strategies/dom.strategy.d.ts +0 -13
- package/lib/strategies/index.d.ts +0 -8
- package/lib/strategies/loading.strategy.d.ts +0 -28
- package/lib/strategies/projection.strategy.d.ts +0 -39
- package/lib/tokens/app-config.token.d.ts +0 -3
- package/lib/tokens/check-authentication-state.d.ts +0 -3
- package/lib/tokens/compare-func.token.d.ts +0 -4
- package/lib/tokens/cookie-language-key.token.d.ts +0 -2
- package/lib/tokens/dynamic-layout.token.d.ts +0 -2
- package/lib/tokens/http-context.token.d.ts +0 -2
- package/lib/tokens/include-localization-resources.token.d.ts +0 -2
- package/lib/tokens/index.d.ts +0 -19
- package/lib/tokens/list.token.d.ts +0 -2
- package/lib/tokens/localization.token.d.ts +0 -6
- package/lib/tokens/lodaer-delay.token.d.ts +0 -2
- package/lib/tokens/manage-profile.token.d.ts +0 -2
- package/lib/tokens/options.token.d.ts +0 -4
- package/lib/tokens/others-group.token.d.ts +0 -2
- package/lib/tokens/pipe-to-login.token.d.ts +0 -3
- package/lib/tokens/queue.token.d.ts +0 -3
- package/lib/tokens/set-token-response-to-storage.token.d.ts +0 -6
- package/lib/tokens/tenant-key.token.d.ts +0 -2
- package/lib/tokens/tenant-not-found-by-name.d.ts +0 -3
- package/lib/tokens/title-strategy-disable-project-name.token.d.ts +0 -2
- package/lib/utils/array-utils.d.ts +0 -1
- package/lib/utils/common-utils.d.ts +0 -11
- package/lib/utils/date-extensions.d.ts +0 -6
- package/lib/utils/date-utils.d.ts +0 -4
- package/lib/utils/environment-utils.d.ts +0 -3
- package/lib/utils/factory-utils.d.ts +0 -11
- package/lib/utils/file-utils.d.ts +0 -2
- package/lib/utils/form-utils.d.ts +0 -2
- package/lib/utils/generator-utils.d.ts +0 -4
- package/lib/utils/http-utils.d.ts +0 -8
- package/lib/utils/index.d.ts +0 -21
- package/lib/utils/initial-utils.d.ts +0 -2
- package/lib/utils/internal-store-utils.d.ts +0 -14
- package/lib/utils/lazy-load-utils.d.ts +0 -4
- package/lib/utils/localization-utils.d.ts +0 -5
- package/lib/utils/multi-tenancy-utils.d.ts +0 -3
- package/lib/utils/number-utils.d.ts +0 -1
- package/lib/utils/object-utils.d.ts +0 -2
- package/lib/utils/queue.d.ts +0 -14
- package/lib/utils/route-utils.d.ts +0 -8
- package/lib/utils/string-utils.d.ts +0 -3
- package/lib/utils/tree-utils.d.ts +0 -26
- package/lib/validators/age.validator.d.ts +0 -10
- package/lib/validators/credit-card.validator.d.ts +0 -5
- package/lib/validators/index.d.ts +0 -28
- package/lib/validators/range.validator.d.ts +0 -12
- package/lib/validators/required.validator.d.ts +0 -8
- package/lib/validators/string-length.validator.d.ts +0 -14
- package/lib/validators/unique-character.validator.d.ts +0 -5
- package/lib/validators/url.validator.d.ts +0 -5
- package/lib/validators/username.validator.d.ts +0 -10
- package/locale/public-api.d.ts +0 -1
- package/locale/utils/register-locale.d.ts +0 -14
- package/public-api.d.ts +0 -26
- package/testing/lib/core-testing.module.d.ts +0 -17
- package/testing/lib/pipes/index.d.ts +0 -1
- package/testing/lib/pipes/localization.pipe.d.ts +0 -8
- package/testing/lib/services/index.d.ts +0 -2
- package/testing/lib/services/mock-permission.service.d.ts +0 -10
- package/testing/lib/services/mock-rest.service.d.ts +0 -14
- package/testing/lib/utils/clear-page.util.d.ts +0 -2
- package/testing/lib/utils/index.d.ts +0 -2
- package/testing/lib/utils/wait.util.d.ts +0 -2
- package/testing/public-api.d.ts +0 -4
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ContentSecurityStrategy } from './content-security.strategy';
|
|
2
|
-
import { DomStrategy } from './dom.strategy';
|
|
3
|
-
export type ElementOptions<T extends HTMLScriptElement | HTMLStyleElement = any> = Partial<{
|
|
4
|
-
[key in keyof T]: T[key];
|
|
5
|
-
}>;
|
|
6
|
-
export declare abstract class ContentStrategy<T extends HTMLScriptElement | HTMLStyleElement = any> {
|
|
7
|
-
content: string;
|
|
8
|
-
protected domStrategy: DomStrategy;
|
|
9
|
-
protected contentSecurityStrategy: ContentSecurityStrategy;
|
|
10
|
-
protected options: ElementOptions<T>;
|
|
11
|
-
constructor(content: string, domStrategy?: DomStrategy, contentSecurityStrategy?: ContentSecurityStrategy, options?: ElementOptions<T>);
|
|
12
|
-
abstract createElement(): T;
|
|
13
|
-
insertElement(): T;
|
|
14
|
-
}
|
|
15
|
-
export declare class StyleContentStrategy extends ContentStrategy<HTMLStyleElement> {
|
|
16
|
-
createElement(): HTMLStyleElement;
|
|
17
|
-
}
|
|
18
|
-
export declare class ScriptContentStrategy extends ContentStrategy<HTMLScriptElement> {
|
|
19
|
-
createElement(): HTMLScriptElement;
|
|
20
|
-
}
|
|
21
|
-
export declare const CONTENT_STRATEGY: {
|
|
22
|
-
AppendScriptToBody(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
|
|
23
|
-
AppendScriptToHead(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
|
|
24
|
-
AppendStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
|
|
25
|
-
PrependStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
|
|
26
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { InferredContextOf, InferredInstanceOf } from '../models';
|
|
3
|
-
export declare abstract class ContextStrategy<T = any> {
|
|
4
|
-
context: Partial<ContextType<T>>;
|
|
5
|
-
constructor(context: Partial<ContextType<T>>);
|
|
6
|
-
setContext(componentRef?: ComponentRef<InferredInstanceOf<T>>): Partial<ContextType<T>>;
|
|
7
|
-
}
|
|
8
|
-
export declare class NoContextStrategy<T extends Type<any> | TemplateRef<any> = any> extends ContextStrategy<T> {
|
|
9
|
-
constructor();
|
|
10
|
-
}
|
|
11
|
-
export declare class ComponentContextStrategy<T extends Type<any> = any> extends ContextStrategy<T> {
|
|
12
|
-
setContext(componentRef: ComponentRef<InferredInstanceOf<T>>): Partial<InferredInstanceOf<T>>;
|
|
13
|
-
}
|
|
14
|
-
export declare class TemplateContextStrategy<T extends TemplateRef<any> = any> extends ContextStrategy<T> {
|
|
15
|
-
setContext(): Partial<InferredContextOf<T>>;
|
|
16
|
-
}
|
|
17
|
-
export declare const CONTEXT_STRATEGY: {
|
|
18
|
-
None<T extends Type<any> | TemplateRef<any> = any>(): NoContextStrategy<T>;
|
|
19
|
-
Component<T extends Type<any> = any>(context: Partial<InferredInstanceOf<T>>): ComponentContextStrategy<T>;
|
|
20
|
-
Template<T extends TemplateRef<any> = any>(context: Partial<InferredContextOf<T>>): TemplateContextStrategy<T>;
|
|
21
|
-
};
|
|
22
|
-
type ContextType<T> = T extends Type<infer U> | TemplateRef<infer U> ? U : never;
|
|
23
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class CrossOriginStrategy {
|
|
2
|
-
crossorigin: 'anonymous' | 'use-credentials' | null;
|
|
3
|
-
integrity?: string;
|
|
4
|
-
constructor(crossorigin: 'anonymous' | 'use-credentials' | null, integrity?: string);
|
|
5
|
-
setCrossOrigin<T extends HTMLElement>(element: T): void;
|
|
6
|
-
}
|
|
7
|
-
export declare class NoCrossOriginStrategy extends CrossOriginStrategy {
|
|
8
|
-
setCrossOrigin(): void;
|
|
9
|
-
}
|
|
10
|
-
export declare const CROSS_ORIGIN_STRATEGY: {
|
|
11
|
-
Anonymous(integrity?: string): CrossOriginStrategy;
|
|
12
|
-
UseCredentials(integrity?: string): CrossOriginStrategy;
|
|
13
|
-
None(): NoCrossOriginStrategy;
|
|
14
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class DomStrategy {
|
|
2
|
-
target: HTMLElement;
|
|
3
|
-
position: InsertPosition;
|
|
4
|
-
constructor(target?: HTMLElement, position?: InsertPosition);
|
|
5
|
-
insertElement<T extends HTMLElement>(element: T): void;
|
|
6
|
-
}
|
|
7
|
-
export declare const DOM_STRATEGY: {
|
|
8
|
-
AfterElement(element: HTMLElement): DomStrategy;
|
|
9
|
-
AppendToBody(): DomStrategy;
|
|
10
|
-
AppendToHead(): DomStrategy;
|
|
11
|
-
BeforeElement(element: HTMLElement): DomStrategy;
|
|
12
|
-
PrependToHead(): DomStrategy;
|
|
13
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './container.strategy';
|
|
2
|
-
export * from './content-security.strategy';
|
|
3
|
-
export * from './content.strategy';
|
|
4
|
-
export * from './context.strategy';
|
|
5
|
-
export * from './cross-origin.strategy';
|
|
6
|
-
export * from './dom.strategy';
|
|
7
|
-
export * from './loading.strategy';
|
|
8
|
-
export * from './projection.strategy';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CrossOriginStrategy } from './cross-origin.strategy';
|
|
3
|
-
import { DomStrategy } from './dom.strategy';
|
|
4
|
-
export declare abstract class LoadingStrategy<T extends HTMLScriptElement | HTMLLinkElement = any> {
|
|
5
|
-
path: string;
|
|
6
|
-
protected domStrategy: DomStrategy;
|
|
7
|
-
protected crossOriginStrategy: CrossOriginStrategy;
|
|
8
|
-
element: T;
|
|
9
|
-
constructor(path: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
|
|
10
|
-
abstract createElement(): T;
|
|
11
|
-
createStream<E extends Event>(): Observable<E>;
|
|
12
|
-
}
|
|
13
|
-
export declare class ScriptLoadingStrategy extends LoadingStrategy<HTMLScriptElement> {
|
|
14
|
-
constructor(src: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
|
|
15
|
-
createElement(): HTMLScriptElement;
|
|
16
|
-
}
|
|
17
|
-
export declare class StyleLoadingStrategy extends LoadingStrategy<HTMLLinkElement> {
|
|
18
|
-
constructor(href: string, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy);
|
|
19
|
-
createElement(): HTMLLinkElement;
|
|
20
|
-
}
|
|
21
|
-
export declare const LOADING_STRATEGY: {
|
|
22
|
-
AppendScriptToBody(src: string): ScriptLoadingStrategy;
|
|
23
|
-
AppendAnonymousScriptToBody(src: string, integrity?: string): ScriptLoadingStrategy;
|
|
24
|
-
AppendAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
|
|
25
|
-
AppendAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
|
|
26
|
-
PrependAnonymousScriptToHead(src: string, integrity?: string): ScriptLoadingStrategy;
|
|
27
|
-
PrependAnonymousStyleToHead(src: string, integrity?: string): StyleLoadingStrategy;
|
|
28
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, EmbeddedViewRef, Injector, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { InferredContextOf, InferredInstanceOf } from '../models/utility';
|
|
3
|
-
import { ContainerStrategy } from './container.strategy';
|
|
4
|
-
import { ContextStrategy } from './context.strategy';
|
|
5
|
-
import { DomStrategy } from './dom.strategy';
|
|
6
|
-
export declare abstract class ProjectionStrategy<T = any> {
|
|
7
|
-
content: T;
|
|
8
|
-
constructor(content: T);
|
|
9
|
-
abstract injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
|
|
10
|
-
}
|
|
11
|
-
export declare class ComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
|
|
12
|
-
private containerStrategy;
|
|
13
|
-
private contextStrategy;
|
|
14
|
-
constructor(component: T, containerStrategy: ContainerStrategy, contextStrategy?: ContextStrategy);
|
|
15
|
-
injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
|
|
16
|
-
}
|
|
17
|
-
export declare class RootComponentProjectionStrategy<T extends Type<any>> extends ProjectionStrategy<T> {
|
|
18
|
-
private contextStrategy;
|
|
19
|
-
private domStrategy;
|
|
20
|
-
constructor(component: T, contextStrategy?: ContextStrategy, domStrategy?: DomStrategy);
|
|
21
|
-
injectContent(injector: Injector): ComponentRefOrEmbeddedViewRef<T>;
|
|
22
|
-
}
|
|
23
|
-
export declare class TemplateProjectionStrategy<T extends TemplateRef<any>> extends ProjectionStrategy<T> {
|
|
24
|
-
private containerStrategy;
|
|
25
|
-
private contextStrategy;
|
|
26
|
-
constructor(templateRef: T, containerStrategy: ContainerStrategy, contextStrategy?: import("./context.strategy").NoContextStrategy<any>);
|
|
27
|
-
injectContent(): ComponentRefOrEmbeddedViewRef<T>;
|
|
28
|
-
}
|
|
29
|
-
export declare const PROJECTION_STRATEGY: {
|
|
30
|
-
AppendComponentToBody<T extends Type<unknown>>(component: T, context?: Partial<InferredInstanceOf<T>>): RootComponentProjectionStrategy<T>;
|
|
31
|
-
AppendComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
|
|
32
|
-
AppendTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
|
|
33
|
-
PrependComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
|
|
34
|
-
PrependTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
|
|
35
|
-
ProjectComponentToContainer<T extends Type<unknown>>(component: T, containerRef: ViewContainerRef, context?: Partial<InferredInstanceOf<T>>): ComponentProjectionStrategy<T>;
|
|
36
|
-
ProjectTemplateToContainer<T extends TemplateRef<unknown>>(templateRef: T, containerRef: ViewContainerRef, context?: Partial<InferredContextOf<T>>): TemplateProjectionStrategy<T>;
|
|
37
|
-
};
|
|
38
|
-
type ComponentRefOrEmbeddedViewRef<T> = T extends Type<infer U> ? ComponentRef<U> : T extends TemplateRef<infer C> ? EmbeddedViewRef<C> : never;
|
|
39
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import type { SortableItem } from '../models';
|
|
3
|
-
export declare const SORT_COMPARE_FUNC: InjectionToken<(a: SortableItem, b: SortableItem) => number>;
|
|
4
|
-
export declare function compareFuncFactory(): (a: SortableItem, b: SortableItem) => 0 | 1 | -1;
|
package/lib/tokens/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './app-config.token';
|
|
2
|
-
export * from './cookie-language-key.token';
|
|
3
|
-
export * from './list.token';
|
|
4
|
-
export * from './localization.token';
|
|
5
|
-
export * from './lodaer-delay.token';
|
|
6
|
-
export * from './manage-profile.token';
|
|
7
|
-
export * from './options.token';
|
|
8
|
-
export * from './queue.token';
|
|
9
|
-
export * from './tenant-key.token';
|
|
10
|
-
export * from './include-localization-resources.token';
|
|
11
|
-
export * from './pipe-to-login.token';
|
|
12
|
-
export * from './set-token-response-to-storage.token';
|
|
13
|
-
export * from './check-authentication-state';
|
|
14
|
-
export * from './http-context.token';
|
|
15
|
-
export * from './others-group.token';
|
|
16
|
-
export * from './tenant-not-found-by-name';
|
|
17
|
-
export * from './compare-func.token';
|
|
18
|
-
export * from './dynamic-layout.token';
|
|
19
|
-
export * from './title-strategy-disable-project-name.token';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ABP } from '../models/common';
|
|
4
|
-
export declare const LOCALIZATIONS: InjectionToken<unknown>;
|
|
5
|
-
export declare function localizationContributor(localizations?: ABP.Localization[]): void;
|
|
6
|
-
export declare const localizations$: BehaviorSubject<ABP.Localization[]>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { SetTokenResponseToStorageFn } from '../models';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated The token should not be used anymore.
|
|
5
|
-
*/
|
|
6
|
-
export declare const SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY: InjectionToken<SetTokenResponseToStorageFn>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function pushValueTo<T>(array: T[]): (element: T) => T[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function noop(): () => void;
|
|
2
|
-
export declare function isUndefinedOrEmptyString(value: unknown): boolean;
|
|
3
|
-
export declare function isNullOrUndefined<T>(obj: T): boolean;
|
|
4
|
-
export declare function isNullOrEmpty<T>(obj: T): boolean;
|
|
5
|
-
export declare function exists<T>(obj: T): obj is T;
|
|
6
|
-
export declare function isObject<T>(obj: T): boolean;
|
|
7
|
-
export declare function isArray<T>(obj: T): boolean;
|
|
8
|
-
export declare function isObjectAndNotArray<T>(obj: T): boolean;
|
|
9
|
-
export declare function isNode<T>(obj: T): boolean;
|
|
10
|
-
export declare function isObjectAndNotArrayNotNode<T>(obj: T): boolean;
|
|
11
|
-
export declare function checkHasProp<T>(object: T, key: string | keyof T): key is keyof T;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ConfigStateService } from '../services';
|
|
2
|
-
export declare function getShortDateFormat(configStateService: ConfigStateService): string;
|
|
3
|
-
export declare function getShortTimeFormat(configStateService: ConfigStateService): string;
|
|
4
|
-
export declare function getShortDateShortTimeFormat(configStateService: ConfigStateService): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Injector, ModuleWithProviders, NgModuleFactory, NgModuleRef, Type } from '@angular/core';
|
|
2
|
-
import { ConfigStateService } from '../services/config-state.service';
|
|
3
|
-
export declare class LazyModuleFactory<T> extends NgModuleFactory<T> {
|
|
4
|
-
private moduleWithProviders;
|
|
5
|
-
get moduleType(): Type<T>;
|
|
6
|
-
constructor(moduleWithProviders: ModuleWithProviders<T>);
|
|
7
|
-
create(parentInjector: Injector | null): NgModuleRef<T>;
|
|
8
|
-
}
|
|
9
|
-
export declare function featuresFactory(configState: ConfigStateService, featureKeys: string[], mapFn?: (features: {
|
|
10
|
-
[key: string]: string;
|
|
11
|
-
}) => any): import("rxjs").Observable<any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
export declare function getPathName(url: string): string;
|
|
3
|
-
export declare class WebHttpUrlEncodingCodec implements HttpParameterCodec {
|
|
4
|
-
encodeKey(k: string): string;
|
|
5
|
-
encodeValue(v: string): string;
|
|
6
|
-
decodeKey(k: string): string;
|
|
7
|
-
decodeValue(v: string): string;
|
|
8
|
-
}
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * from './array-utils';
|
|
2
|
-
export * from './common-utils';
|
|
3
|
-
export * from './date-utils';
|
|
4
|
-
export * from './environment-utils';
|
|
5
|
-
export * from './factory-utils';
|
|
6
|
-
export * from './file-utils';
|
|
7
|
-
export * from './form-utils';
|
|
8
|
-
export * from './generator-utils';
|
|
9
|
-
export * from './http-utils';
|
|
10
|
-
export * from './initial-utils';
|
|
11
|
-
export * from './internal-store-utils';
|
|
12
|
-
export * from './lazy-load-utils';
|
|
13
|
-
export * from './localization-utils';
|
|
14
|
-
export * from './multi-tenancy-utils';
|
|
15
|
-
export * from './number-utils';
|
|
16
|
-
export * from './object-utils';
|
|
17
|
-
export * from './queue';
|
|
18
|
-
export * from './route-utils';
|
|
19
|
-
export * from './string-utils';
|
|
20
|
-
export * from './tree-utils';
|
|
21
|
-
export { NgxValidateCoreModule, Validation } from '@ngx-validate/core';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DeepPartial } from '../models';
|
|
2
|
-
export declare class InternalStore<State> {
|
|
3
|
-
private initialState;
|
|
4
|
-
private state$;
|
|
5
|
-
private update$;
|
|
6
|
-
get state(): State;
|
|
7
|
-
sliceState: <Slice>(selector: (state: State) => Slice, compareFn?: (s1: Slice, s2: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
8
|
-
sliceUpdate: <Slice>(selector: (state: DeepPartial<State>) => Slice, filterFn?: (x: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
9
|
-
constructor(initialState: State);
|
|
10
|
-
patch(state: Partial<State>): void;
|
|
11
|
-
deepPatch(state: DeepPartial<State>): void;
|
|
12
|
-
set(state: State): void;
|
|
13
|
-
reset(): void;
|
|
14
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CrossOriginStrategy } from '../strategies/cross-origin.strategy';
|
|
3
|
-
import { DomStrategy } from '../strategies/dom.strategy';
|
|
4
|
-
export declare function fromLazyLoad<T extends Event>(element: HTMLScriptElement | HTMLLinkElement, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy): Observable<T>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ApplicationLocalizationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
2
|
-
export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
|
|
3
|
-
export declare function createLocalizer(localization: ApplicationLocalizationConfigurationDto): (resourceName: string, key: string, defaultValue: string | null) => string;
|
|
4
|
-
export declare function createLocalizerWithFallback(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultValue: string) => string;
|
|
5
|
-
export declare function createLocalizationPipeKeyGenerator(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultKey: string | undefined) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isNumber(value: string | number): boolean;
|
package/lib/utils/queue.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface QueueManager {
|
|
2
|
-
add(fn: () => void): void;
|
|
3
|
-
init(interval: number, stackSize: number): void;
|
|
4
|
-
}
|
|
5
|
-
export declare class DefaultQueueManager implements QueueManager {
|
|
6
|
-
private queue;
|
|
7
|
-
private isRunning;
|
|
8
|
-
private stack;
|
|
9
|
-
private interval;
|
|
10
|
-
private stackSize;
|
|
11
|
-
init(interval: number, stackSize: number): void;
|
|
12
|
-
add(fn: () => void): void;
|
|
13
|
-
private run;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { Router } from "@angular/router";
|
|
3
|
-
import { ABP } from '../models/common';
|
|
4
|
-
import { RoutesService } from '../services/routes.service';
|
|
5
|
-
import { TreeNode } from './tree-utils';
|
|
6
|
-
export declare function findRoute(routesService: RoutesService, path: string): TreeNode<ABP.Route> | null;
|
|
7
|
-
export declare function getRoutePath(router: Router, url?: string): string;
|
|
8
|
-
export declare function reloadRoute(router: Router, ngZone: NgZone): void;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare class BaseTreeNode<T extends object> {
|
|
2
|
-
children: TreeNode<T>[];
|
|
3
|
-
isLeaf: boolean;
|
|
4
|
-
parent?: TreeNode<T>;
|
|
5
|
-
constructor(props: T);
|
|
6
|
-
static create<T extends object>(props: T): TreeNode<T>;
|
|
7
|
-
}
|
|
8
|
-
export declare function createTreeFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
|
|
9
|
-
export declare function createMapFromList<T extends object, R>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
|
|
10
|
-
export declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: TreeNode<T>[]) => TreeNode<T>[];
|
|
11
|
-
export declare function createGroupMap<T extends {
|
|
12
|
-
group?: string;
|
|
13
|
-
}>(list: TreeNode<T>[], othersGroupKey: string): Map<string, TreeNode<T>[]>;
|
|
14
|
-
export type TreeNode<T extends object> = {
|
|
15
|
-
[K in keyof T]: T[K];
|
|
16
|
-
} & {
|
|
17
|
-
children: TreeNode<T>[];
|
|
18
|
-
isLeaf: boolean;
|
|
19
|
-
parent?: TreeNode<T>;
|
|
20
|
-
};
|
|
21
|
-
export type RouteGroup<T extends object> = {
|
|
22
|
-
readonly group: string;
|
|
23
|
-
readonly items: TreeNode<T>[];
|
|
24
|
-
};
|
|
25
|
-
export type NodeKey = number | string | symbol | undefined | null;
|
|
26
|
-
export type NodeValue<T extends object, F extends (...args: any) => any> = F extends undefined ? TreeNode<T> : ReturnType<F>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Validators } from '@angular/forms';
|
|
2
|
-
import { validateMinAge } from './age.validator';
|
|
3
|
-
import { validateCreditCard } from './credit-card.validator';
|
|
4
|
-
import { validateRange } from './range.validator';
|
|
5
|
-
import { validateRequired } from './required.validator';
|
|
6
|
-
import { validateStringLength } from './string-length.validator';
|
|
7
|
-
import { validateUniqueCharacter } from './unique-character.validator';
|
|
8
|
-
import { validateUrl } from './url.validator';
|
|
9
|
-
import { validateUsername } from './username.validator';
|
|
10
|
-
export { validateUniqueCharacter } from './unique-character.validator';
|
|
11
|
-
export * from './age.validator';
|
|
12
|
-
export * from './credit-card.validator';
|
|
13
|
-
export * from './range.validator';
|
|
14
|
-
export * from './required.validator';
|
|
15
|
-
export * from './string-length.validator';
|
|
16
|
-
export * from './url.validator';
|
|
17
|
-
export * from './unique-character.validator';
|
|
18
|
-
export declare const AbpValidators: {
|
|
19
|
-
creditCard: typeof validateCreditCard;
|
|
20
|
-
emailAddress: () => typeof Validators.email;
|
|
21
|
-
minAge: typeof validateMinAge;
|
|
22
|
-
range: typeof validateRange;
|
|
23
|
-
required: typeof validateRequired;
|
|
24
|
-
stringLength: typeof validateStringLength;
|
|
25
|
-
url: typeof validateUrl;
|
|
26
|
-
username: typeof validateUsername;
|
|
27
|
-
uniqueCharacter: typeof validateUniqueCharacter;
|
|
28
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface RangeError {
|
|
3
|
-
range: {
|
|
4
|
-
max: number;
|
|
5
|
-
min: number;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export interface RangeOptions {
|
|
9
|
-
maximum?: number;
|
|
10
|
-
minimum?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare function validateRange({ maximum, minimum }?: RangeOptions): ValidatorFn;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface RequiredError {
|
|
3
|
-
required: true;
|
|
4
|
-
}
|
|
5
|
-
export interface RequiredOptions {
|
|
6
|
-
allowEmptyStrings?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function validateRequired({ allowEmptyStrings }?: RequiredOptions): ValidatorFn;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface StringLengthError {
|
|
3
|
-
maxlength?: {
|
|
4
|
-
requiredLength: number;
|
|
5
|
-
};
|
|
6
|
-
minlength?: {
|
|
7
|
-
requiredLength: number;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface StringLengthOptions {
|
|
11
|
-
maximumLength?: number;
|
|
12
|
-
minimumLength?: number;
|
|
13
|
-
}
|
|
14
|
-
export declare function validateStringLength({ maximumLength, minimumLength, }?: StringLengthOptions): ValidatorFn;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface UsernamePatternError {
|
|
3
|
-
usernamePattern: {
|
|
4
|
-
actualValue: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface UsernameOptions {
|
|
8
|
-
pattern?: RegExp;
|
|
9
|
-
}
|
|
10
|
-
export declare function validateUsername({ pattern }?: UsernameOptions): ValidatorFn;
|
package/locale/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './utils/register-locale';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface LocaleErrorHandlerData {
|
|
2
|
-
resolve: any;
|
|
3
|
-
reject: any;
|
|
4
|
-
error: any;
|
|
5
|
-
locale: string;
|
|
6
|
-
}
|
|
7
|
-
export interface RegisterLocaleData {
|
|
8
|
-
cultureNameLocaleFileMap?: Record<string, string>;
|
|
9
|
-
errorHandlerFn?: (data: LocaleErrorHandlerData) => any;
|
|
10
|
-
}
|
|
11
|
-
export declare function registerLocaleForEsBuild({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
|
|
12
|
-
export declare function registerLocale({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
|
|
13
|
-
export declare function storeLocaleData(data: any, localeId: string): void;
|
|
14
|
-
export declare function defaultLocalErrorHandlerFn({ locale, resolve }: LocaleErrorHandlerData): Promise<void>;
|