@abp/ng.core 9.3.0-rc.2 → 9.3.0-rc.4

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.
Files changed (192) hide show
  1. package/fesm2022/abp-ng.core-locale.mjs.map +1 -1
  2. package/fesm2022/abp-ng.core-testing.mjs +14 -14
  3. package/fesm2022/abp-ng.core-testing.mjs.map +1 -1
  4. package/fesm2022/abp-ng.core.mjs +207 -207
  5. package/fesm2022/abp-ng.core.mjs.map +1 -1
  6. package/index.d.ts +3060 -3
  7. package/locale/index.d.ts +17 -5
  8. package/package.json +2 -2
  9. package/testing/index.d.ts +51 -3
  10. package/lib/abstracts/abstract-guard.d.ts +0 -5
  11. package/lib/abstracts/auth-error-filter.d.ts +0 -16
  12. package/lib/abstracts/auth-response.model.d.ts +0 -10
  13. package/lib/abstracts/auth.guard.d.ts +0 -14
  14. package/lib/abstracts/auth.service.d.ts +0 -41
  15. package/lib/abstracts/index.d.ts +0 -6
  16. package/lib/abstracts/ng-model.component.d.ts +0 -23
  17. package/lib/clients/http.client.d.ts +0 -11
  18. package/lib/clients/index.d.ts +0 -1
  19. package/lib/components/dynamic-layout.component.d.ts +0 -34
  20. package/lib/components/index.d.ts +0 -3
  21. package/lib/components/replaceable-route-container.component.d.ts +0 -17
  22. package/lib/components/router-outlet.component.d.ts +0 -5
  23. package/lib/constants/default-layouts.d.ts +0 -1
  24. package/lib/constants/different-locales.d.ts +0 -334
  25. package/lib/constants/index.d.ts +0 -2
  26. package/lib/core.module.d.ts +0 -65
  27. package/lib/directives/autofocus.directive.d.ts +0 -12
  28. package/lib/directives/caps-lock.directive.d.ts +0 -10
  29. package/lib/directives/debounce.directive.d.ts +0 -13
  30. package/lib/directives/for.directive.d.ts +0 -36
  31. package/lib/directives/form-submit.directive.d.ts +0 -23
  32. package/lib/directives/index.d.ts +0 -10
  33. package/lib/directives/init.directive.d.ts +0 -10
  34. package/lib/directives/permission.directive.d.ts +0 -24
  35. package/lib/directives/replaceable-template.directive.d.ts +0 -29
  36. package/lib/directives/show-password.directive.d.ts +0 -8
  37. package/lib/directives/stop-propagation.directive.d.ts +0 -12
  38. package/lib/enums/common.d.ts +0 -10
  39. package/lib/enums/index.d.ts +0 -1
  40. package/lib/guards/index.d.ts +0 -1
  41. package/lib/guards/permission.guard.d.ts +0 -19
  42. package/lib/handlers/index.d.ts +0 -1
  43. package/lib/handlers/routes.handler.d.ts +0 -11
  44. package/lib/interceptors/api.interceptor.d.ts +0 -14
  45. package/lib/interceptors/index.d.ts +0 -2
  46. package/lib/interceptors/timezone.interceptor.d.ts +0 -10
  47. package/lib/localization.module.d.ts +0 -12
  48. package/lib/models/auth-events.d.ts +0 -21
  49. package/lib/models/auth.d.ts +0 -20
  50. package/lib/models/common.d.ts +0 -83
  51. package/lib/models/dtos.d.ts +0 -109
  52. package/lib/models/environment.d.ts +0 -44
  53. package/lib/models/index.d.ts +0 -11
  54. package/lib/models/localization.d.ts +0 -5
  55. package/lib/models/replaceable-components.d.ts +0 -45
  56. package/lib/models/rest.d.ts +0 -36
  57. package/lib/models/session.d.ts +0 -7
  58. package/lib/models/sort.d.ts +0 -5
  59. package/lib/models/utility.d.ts +0 -14
  60. package/lib/pipes/index.d.ts +0 -9
  61. package/lib/pipes/lazy-localization.pipe.d.ts +0 -11
  62. package/lib/pipes/localization.pipe.d.ts +0 -12
  63. package/lib/pipes/safe-html.pipe.d.ts +0 -9
  64. package/lib/pipes/short-date-time.pipe.d.ts +0 -12
  65. package/lib/pipes/short-date.pipe.d.ts +0 -12
  66. package/lib/pipes/short-time.pipe.d.ts +0 -12
  67. package/lib/pipes/sort.pipe.d.ts +0 -9
  68. package/lib/pipes/to-injector.pipe.d.ts +0 -10
  69. package/lib/pipes/utc-to-local.pipe.d.ts +0 -15
  70. package/lib/providers/cookie-language.provider.d.ts +0 -2
  71. package/lib/providers/core-module-config.provider.d.ts +0 -16
  72. package/lib/providers/include-localization-resources.provider.d.ts +0 -2
  73. package/lib/providers/index.d.ts +0 -4
  74. package/lib/providers/locale.provider.d.ts +0 -9
  75. package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +0 -13
  76. package/lib/proxy/pages/abp/multi-tenancy/index.d.ts +0 -1
  77. package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +0 -12
  78. package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.d.ts +0 -1
  79. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +0 -12
  80. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.d.ts +0 -12
  81. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.d.ts +0 -5
  82. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.d.ts +0 -107
  83. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.d.ts +0 -1
  84. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.d.ts +0 -71
  85. package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.d.ts +0 -1
  86. package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.d.ts +0 -15
  87. package/lib/proxy/volo/abp/http/modeling/index.d.ts +0 -1
  88. package/lib/proxy/volo/abp/http/modeling/models.d.ts +0 -88
  89. package/lib/proxy/volo/abp/localization/index.d.ts +0 -1
  90. package/lib/proxy/volo/abp/localization/models.d.ts +0 -7
  91. package/lib/proxy/volo/abp/models.d.ts +0 -4
  92. package/lib/services/config-state.service.d.ts +0 -383
  93. package/lib/services/content-projection.service.d.ts +0 -10
  94. package/lib/services/dom-insertion.service.d.ts +0 -10
  95. package/lib/services/environment.service.d.ts +0 -109
  96. package/lib/services/http-error-reporter.service.d.ts +0 -12
  97. package/lib/services/http-wait.service.d.ts +0 -30
  98. package/lib/services/index.d.ts +0 -27
  99. package/lib/services/internet-connection-service.d.ts +0 -14
  100. package/lib/services/lazy-load.service.d.ts +0 -13
  101. package/lib/services/list.service.d.ts +0 -47
  102. package/lib/services/local-storage-listener.service.d.ts +0 -7
  103. package/lib/services/local-storage.service.d.ts +0 -13
  104. package/lib/services/localization.service.d.ts +0 -54
  105. package/lib/services/multi-tenancy.service.d.ts +0 -22
  106. package/lib/services/permission.service.d.ts +0 -19
  107. package/lib/services/replaceable-components.service.d.ts +0 -19
  108. package/lib/services/resource-wait.service.d.ts +0 -15
  109. package/lib/services/rest.service.d.ts +0 -24
  110. package/lib/services/router-events.service.d.ts +0 -34
  111. package/lib/services/router-wait.service.d.ts +0 -20
  112. package/lib/services/routes.service.d.ts +0 -61
  113. package/lib/services/session-state.service.d.ts +0 -28
  114. package/lib/services/subscription.service.d.ts +0 -17
  115. package/lib/services/time.service.d.ts +0 -67
  116. package/lib/services/timezone.service.d.ts +0 -38
  117. package/lib/services/title-strategy.service.d.ts +0 -15
  118. package/lib/services/track-by.service.d.ts +0 -11
  119. package/lib/services/window.service.d.ts +0 -12
  120. package/lib/strategies/container.strategy.d.ts +0 -22
  121. package/lib/strategies/content-security.strategy.d.ts +0 -17
  122. package/lib/strategies/content.strategy.d.ts +0 -26
  123. package/lib/strategies/context.strategy.d.ts +0 -23
  124. package/lib/strategies/cross-origin.strategy.d.ts +0 -14
  125. package/lib/strategies/dom.strategy.d.ts +0 -13
  126. package/lib/strategies/index.d.ts +0 -8
  127. package/lib/strategies/loading.strategy.d.ts +0 -28
  128. package/lib/strategies/projection.strategy.d.ts +0 -39
  129. package/lib/tokens/app-config.token.d.ts +0 -3
  130. package/lib/tokens/check-authentication-state.d.ts +0 -3
  131. package/lib/tokens/compare-func.token.d.ts +0 -4
  132. package/lib/tokens/cookie-language-key.token.d.ts +0 -2
  133. package/lib/tokens/dynamic-layout.token.d.ts +0 -2
  134. package/lib/tokens/http-context.token.d.ts +0 -2
  135. package/lib/tokens/include-localization-resources.token.d.ts +0 -2
  136. package/lib/tokens/index.d.ts +0 -19
  137. package/lib/tokens/list.token.d.ts +0 -2
  138. package/lib/tokens/localization.token.d.ts +0 -6
  139. package/lib/tokens/lodaer-delay.token.d.ts +0 -2
  140. package/lib/tokens/manage-profile.token.d.ts +0 -2
  141. package/lib/tokens/options.token.d.ts +0 -4
  142. package/lib/tokens/others-group.token.d.ts +0 -2
  143. package/lib/tokens/pipe-to-login.token.d.ts +0 -3
  144. package/lib/tokens/queue.token.d.ts +0 -3
  145. package/lib/tokens/set-token-response-to-storage.token.d.ts +0 -6
  146. package/lib/tokens/tenant-key.token.d.ts +0 -2
  147. package/lib/tokens/tenant-not-found-by-name.d.ts +0 -3
  148. package/lib/tokens/title-strategy-disable-project-name.token.d.ts +0 -2
  149. package/lib/utils/array-utils.d.ts +0 -1
  150. package/lib/utils/common-utils.d.ts +0 -11
  151. package/lib/utils/date-extensions.d.ts +0 -6
  152. package/lib/utils/date-utils.d.ts +0 -4
  153. package/lib/utils/environment-utils.d.ts +0 -3
  154. package/lib/utils/factory-utils.d.ts +0 -11
  155. package/lib/utils/file-utils.d.ts +0 -2
  156. package/lib/utils/form-utils.d.ts +0 -2
  157. package/lib/utils/generator-utils.d.ts +0 -4
  158. package/lib/utils/http-utils.d.ts +0 -8
  159. package/lib/utils/index.d.ts +0 -21
  160. package/lib/utils/initial-utils.d.ts +0 -2
  161. package/lib/utils/internal-store-utils.d.ts +0 -14
  162. package/lib/utils/lazy-load-utils.d.ts +0 -4
  163. package/lib/utils/localization-utils.d.ts +0 -5
  164. package/lib/utils/multi-tenancy-utils.d.ts +0 -3
  165. package/lib/utils/number-utils.d.ts +0 -1
  166. package/lib/utils/object-utils.d.ts +0 -2
  167. package/lib/utils/queue.d.ts +0 -14
  168. package/lib/utils/route-utils.d.ts +0 -8
  169. package/lib/utils/string-utils.d.ts +0 -3
  170. package/lib/utils/tree-utils.d.ts +0 -26
  171. package/lib/validators/age.validator.d.ts +0 -10
  172. package/lib/validators/credit-card.validator.d.ts +0 -5
  173. package/lib/validators/index.d.ts +0 -28
  174. package/lib/validators/range.validator.d.ts +0 -12
  175. package/lib/validators/required.validator.d.ts +0 -8
  176. package/lib/validators/string-length.validator.d.ts +0 -14
  177. package/lib/validators/unique-character.validator.d.ts +0 -5
  178. package/lib/validators/url.validator.d.ts +0 -5
  179. package/lib/validators/username.validator.d.ts +0 -10
  180. package/locale/public-api.d.ts +0 -1
  181. package/locale/utils/register-locale.d.ts +0 -14
  182. package/public-api.d.ts +0 -26
  183. package/testing/lib/core-testing.module.d.ts +0 -17
  184. package/testing/lib/pipes/index.d.ts +0 -1
  185. package/testing/lib/pipes/localization.pipe.d.ts +0 -8
  186. package/testing/lib/services/index.d.ts +0 -2
  187. package/testing/lib/services/mock-permission.service.d.ts +0 -10
  188. package/testing/lib/services/mock-rest.service.d.ts +0 -14
  189. package/testing/lib/utils/clear-page.util.d.ts +0 -2
  190. package/testing/lib/utils/index.d.ts +0 -2
  191. package/testing/lib/utils/wait.util.d.ts +0 -2
  192. package/testing/public-api.d.ts +0 -4
@@ -1,44 +0,0 @@
1
- import { AuthConfig } from 'angular-oauth2-oidc';
2
- import { ABP } from './common';
3
- export interface Environment {
4
- apis: Apis;
5
- application: ApplicationInfo;
6
- hmr?: boolean;
7
- test?: boolean;
8
- localization?: {
9
- defaultResourceName?: string;
10
- };
11
- oAuthConfig?: AuthConfig & {
12
- impersonation?: Impersonation;
13
- };
14
- production: boolean;
15
- remoteEnv?: RemoteEnv;
16
- [key: string]: any;
17
- }
18
- export interface ApplicationInfo {
19
- name: string;
20
- baseUrl?: string;
21
- logoUrl?: string;
22
- }
23
- export interface HasAdditional {
24
- [key: string]: string;
25
- }
26
- export interface ApiConfig extends Partial<HasAdditional> {
27
- url: string;
28
- rootNamespace?: string;
29
- }
30
- export interface Apis {
31
- [key: string]: Partial<ApiConfig>;
32
- default: ApiConfig;
33
- }
34
- export type customMergeFn = (localEnv: Partial<Environment>, remoteEnv: any) => Environment;
35
- export interface RemoteEnv {
36
- url: string;
37
- mergeStrategy: 'deepmerge' | 'overwrite' | customMergeFn;
38
- method?: string;
39
- headers?: ABP.Dictionary<string>;
40
- }
41
- export interface Impersonation {
42
- tenantImpersonation?: boolean;
43
- userImpersonation?: boolean;
44
- }
@@ -1,11 +0,0 @@
1
- export * from './common';
2
- export * from './dtos';
3
- export * from './environment';
4
- export * from './localization';
5
- export * from './replaceable-components';
6
- export * from './rest';
7
- export * from './session';
8
- export * from './utility';
9
- export * from './auth';
10
- export * from './auth-events';
11
- export * from './sort';
@@ -1,5 +0,0 @@
1
- export interface LocalizationWithDefault {
2
- key: string;
3
- defaultValue: string;
4
- }
5
- export type LocalizationParam = string | LocalizationWithDefault;
@@ -1,45 +0,0 @@
1
- import { EventEmitter, Type } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { ABP } from './common';
4
- export declare namespace ReplaceableComponents {
5
- interface State {
6
- replaceableComponents: ReplaceableComponent[];
7
- }
8
- interface ReplaceableComponent {
9
- component: Type<any>;
10
- key: string;
11
- }
12
- interface ReplaceableTemplateDirectiveInput<I, O extends {
13
- [K in keyof O]: EventEmitter<any> | Subject<any>;
14
- }> {
15
- inputs?: {
16
- -readonly [K in keyof I]: {
17
- value: I[K];
18
- twoWay?: boolean;
19
- };
20
- };
21
- outputs?: {
22
- -readonly [K in keyof O]: (value: ABP.ExtractFromOutput<O[K]>) => void;
23
- };
24
- componentKey: string;
25
- }
26
- interface ReplaceableTemplateData<I, O extends {
27
- [K in keyof O]: EventEmitter<any> | Subject<any>;
28
- }> {
29
- inputs: ReplaceableTemplateInputs<I>;
30
- outputs: ReplaceableTemplateOutputs<O>;
31
- componentKey: string;
32
- }
33
- type ReplaceableTemplateInputs<T> = {
34
- [K in keyof T]: T[K];
35
- };
36
- type ReplaceableTemplateOutputs<T extends {
37
- [K in keyof T]: EventEmitter<any> | Subject<any>;
38
- }> = {
39
- [K in keyof T]: (value: ABP.ExtractFromOutput<T[K]>) => void;
40
- };
41
- interface RouteData<T = any> {
42
- key: string;
43
- defaultComponent: Type<T>;
44
- }
45
- }
@@ -1,36 +0,0 @@
1
- import { HttpHeaders, HttpParameterCodec, HttpParams } from '@angular/common/http';
2
- export declare namespace Rest {
3
- type Config = Partial<{
4
- apiName: string;
5
- skipHandleError: boolean;
6
- skipAddingHeader: boolean;
7
- observe: Observe;
8
- httpParamEncoder?: HttpParameterCodec;
9
- }>;
10
- const enum Observe {
11
- Body = "body",
12
- Events = "events",
13
- Response = "response"
14
- }
15
- const enum ResponseType {
16
- ArrayBuffer = "arraybuffer",
17
- Blob = "blob",
18
- JSON = "json",
19
- Text = "text"
20
- }
21
- type Params = HttpParams | {
22
- [param: string]: any;
23
- };
24
- interface Request<T> {
25
- body?: T;
26
- headers?: HttpHeaders | {
27
- [header: string]: string | string[];
28
- };
29
- method: string;
30
- params?: Params;
31
- reportProgress?: boolean;
32
- responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
33
- url: string;
34
- withCredentials?: boolean;
35
- }
36
- }
@@ -1,7 +0,0 @@
1
- import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
2
- export declare namespace Session {
3
- interface State {
4
- language: string;
5
- tenant: CurrentTenantDto | null;
6
- }
7
- }
@@ -1,5 +0,0 @@
1
- export interface SortableItem {
2
- id?: string | number;
3
- name?: string;
4
- order?: number;
5
- }
@@ -1,14 +0,0 @@
1
- import { TemplateRef, Type } from '@angular/core';
2
- export type DeepPartial<T> = Partible<T> extends never ? T : {
3
- [K in keyof T]?: DeepPartial<T[K]>;
4
- };
5
- type Partible<T> = T extends Primitive | Array<any> | Node ? never : {
6
- [K in keyof T]: T[K] extends Function ? never : T[K];
7
- } extends T ? T : never;
8
- export type Primitive = undefined | null | boolean | string | number | bigint | symbol;
9
- export type InferredInstanceOf<T> = T extends Type<infer U> ? U : never;
10
- export type InferredContextOf<T> = T extends TemplateRef<infer U> ? U : never;
11
- export type Strict<Class, Contract> = Class extends Contract ? {
12
- [K in keyof Class]: K extends keyof Contract ? Contract[K] : never;
13
- } : Contract;
14
- export {};
@@ -1,9 +0,0 @@
1
- export * from './localization.pipe';
2
- export * from './safe-html.pipe';
3
- export * from './sort.pipe';
4
- export * from './to-injector.pipe';
5
- export * from './short-date.pipe';
6
- export * from './short-time.pipe';
7
- export * from './short-date-time.pipe';
8
- export * from './utc-to-local.pipe';
9
- export * from './lazy-localization.pipe';
@@ -1,11 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class LazyLocalizationPipe implements PipeTransform {
5
- private localizationService;
6
- private configStateService;
7
- transform(key: string, ...params: (string | string[])[]): Observable<string>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLocalizationPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<LazyLocalizationPipe, "abpLazyLocalization", true>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<LazyLocalizationPipe>;
11
- }
@@ -1,12 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { LocalizationWithDefault } from '../models/localization';
3
- import { LocalizationService } from '../services/localization.service';
4
- import * as i0 from "@angular/core";
5
- export declare class LocalizationPipe implements PipeTransform {
6
- private localization;
7
- constructor(localization: LocalizationService);
8
- transform(value?: string | LocalizationWithDefault, ...interpolateParams: (string | string[] | undefined)[]): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationPipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization", true>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationPipe>;
12
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SafeHtmlPipe implements PipeTransform {
4
- private readonly sanitizer;
5
- transform(value: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "abpSafeHtml", true>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<SafeHtmlPipe>;
9
- }
@@ -1,12 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { PipeTransform } from '@angular/core';
3
- import { ConfigStateService } from '../services';
4
- import * as i0 from "@angular/core";
5
- export declare class ShortDateTimePipe extends DatePipe implements PipeTransform {
6
- private configStateService;
7
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
8
- transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
9
- transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortDateTimePipe, [null, null, { optional: true; }]>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<ShortDateTimePipe, "shortDateTime", true>;
12
- }
@@ -1,12 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { PipeTransform } from '@angular/core';
3
- import { ConfigStateService } from '../services';
4
- import * as i0 from "@angular/core";
5
- export declare class ShortDatePipe extends DatePipe implements PipeTransform {
6
- private configStateService;
7
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
8
- transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
9
- transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortDatePipe, [null, null, { optional: true; }]>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<ShortDatePipe, "shortDate", true>;
12
- }
@@ -1,12 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { PipeTransform } from '@angular/core';
3
- import { ConfigStateService } from '../services';
4
- import * as i0 from "@angular/core";
5
- export declare class ShortTimePipe extends DatePipe implements PipeTransform {
6
- private configStateService;
7
- constructor(configStateService: ConfigStateService, locale: string, defaultTimezone?: string | null);
8
- transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
9
- transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ShortTimePipe, [null, null, { optional: true; }]>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<ShortTimePipe, "shortTime", true>;
12
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type SortOrder = 'asc' | 'desc';
4
- export declare class SortPipe implements PipeTransform {
5
- transform(value: any[], sortOrder?: SortOrder | string, sortKey?: string): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "abpSort", true>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<SortPipe>;
9
- }
@@ -1,10 +0,0 @@
1
- import { InjectionToken, Injector, PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const INJECTOR_PIPE_DATA_TOKEN: InjectionToken<PipeTransform>;
4
- export declare class ToInjectorPipe implements PipeTransform {
5
- private injector;
6
- constructor(injector: Injector);
7
- transform(value: any, token?: InjectionToken<any>, name?: string): Injector;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ToInjectorPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<ToInjectorPipe, "toInjector", true>;
10
- }
@@ -1,15 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { ConfigStateService, LocalizationService, TimeService, TimezoneService } from '../services';
3
- import * as i0 from "@angular/core";
4
- export declare class UtcToLocalPipe implements PipeTransform {
5
- protected readonly timezoneService: TimezoneService;
6
- protected readonly timeService: TimeService;
7
- protected readonly configState: ConfigStateService;
8
- protected readonly localizationService: LocalizationService;
9
- protected readonly locale: string;
10
- transform(value: string | Date | null | undefined, type: 'date' | 'datetime' | 'time'): string | Date;
11
- private getFormat;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<UtcToLocalPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<UtcToLocalPipe, "abpUtcToLocal", true>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<UtcToLocalPipe>;
15
- }
@@ -1,2 +0,0 @@
1
- export declare function setLanguageToCookie(): void;
2
- export declare const CookieLanguageProvider: import("@angular/core").EnvironmentProviders;
@@ -1,16 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { ABP, SortableItem } from '../models';
3
- export declare enum CoreFeatureKind {
4
- Options = 0,
5
- CompareFunctionFactory = 1,
6
- TitleStrategy = 2
7
- }
8
- export interface CoreFeature<KindT extends CoreFeatureKind> {
9
- ɵkind: KindT;
10
- ɵproviders: Provider[];
11
- }
12
- export declare function withOptions(options?: ABP.Root): CoreFeature<CoreFeatureKind.Options>;
13
- export declare function withTitleStrategy(strategy: unknown): CoreFeature<CoreFeatureKind.TitleStrategy>;
14
- export declare function withCompareFuncFactory(factory: (a: SortableItem, b: SortableItem) => 1 | -1 | 0): CoreFeature<CoreFeatureKind.CompareFunctionFactory>;
15
- export declare function provideAbpCore(...features: CoreFeature<CoreFeatureKind>[]): import("@angular/core").EnvironmentProviders;
16
- export declare function provideAbpCoreChild(options?: ABP.Child): import("@angular/core").EnvironmentProviders;
@@ -1,2 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- export declare const IncludeLocalizationResourcesProvider: Provider;
@@ -1,4 +0,0 @@
1
- export * from './cookie-language.provider';
2
- export * from './locale.provider';
3
- export * from './include-localization-resources.provider';
4
- export * from './core-module-config.provider';
@@ -1,9 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { LocalizationService } from '../services/localization.service';
3
- export declare class LocaleId extends String {
4
- private localizationService;
5
- constructor(localizationService: LocalizationService);
6
- toString(): string;
7
- valueOf(): string;
8
- }
9
- export declare const LocaleProvider: Provider;
@@ -1,13 +0,0 @@
1
- import { RestService } from '../../../../services';
2
- import { Rest } from '../../../../models';
3
- import type { FindTenantResultDto } from '../../../volo/abp/asp-net-core/mvc/multi-tenancy/models';
4
- import * as i0 from "@angular/core";
5
- export declare class AbpTenantService {
6
- private restService;
7
- apiName: string;
8
- findTenantById: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FindTenantResultDto>;
9
- findTenantByName: (name: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FindTenantResultDto>;
10
- constructor(restService: RestService);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpTenantService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpTenantService>;
13
- }
@@ -1 +0,0 @@
1
- export * from './abp-tenant.service';
@@ -1,12 +0,0 @@
1
- import { RestService } from '../../../../../../services';
2
- import { Rest } from '../../../../../../models';
3
- import type { ApplicationApiDescriptionModel, ApplicationApiDescriptionModelRequestDto } from '../../../http/modeling/models';
4
- import * as i0 from "@angular/core";
5
- export declare class AbpApiDefinitionService {
6
- private restService;
7
- apiName: string;
8
- getByModel: (model: ApplicationApiDescriptionModelRequestDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationApiDescriptionModel>;
9
- constructor(restService: RestService);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpApiDefinitionService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpApiDefinitionService>;
12
- }
@@ -1 +0,0 @@
1
- export * from './abp-api-definition.service';
@@ -1,12 +0,0 @@
1
- import type { ApplicationConfigurationDto, ApplicationConfigurationRequestOptions } from './models';
2
- import { RestService } from '../../../../../../services';
3
- import { Rest } from '../../../../../../models';
4
- import * as i0 from "@angular/core";
5
- export declare class AbpApplicationConfigurationService {
6
- private restService;
7
- apiName: string;
8
- get: (options: ApplicationConfigurationRequestOptions, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationConfigurationDto>;
9
- constructor(restService: RestService);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationConfigurationService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationConfigurationService>;
12
- }
@@ -1,12 +0,0 @@
1
- import type { ApplicationLocalizationDto, ApplicationLocalizationRequestDto } from './models';
2
- import { RestService } from '../../../../../../services';
3
- import { Rest } from '../../../../../../models';
4
- import * as i0 from "@angular/core";
5
- export declare class AbpApplicationLocalizationService {
6
- private restService;
7
- apiName: string;
8
- get: (input: ApplicationLocalizationRequestDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationLocalizationDto>;
9
- constructor(restService: RestService);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationLocalizationService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationLocalizationService>;
12
- }
@@ -1,5 +0,0 @@
1
- import * as ObjectExtending from './object-extending';
2
- export * from './abp-application-configuration.service';
3
- export * from './abp-application-localization.service';
4
- export * from './models';
5
- export { ObjectExtending };
@@ -1,107 +0,0 @@
1
- import type { CurrentTenantDto, MultiTenancyInfoDto } from '../multi-tenancy/models';
2
- import type { ObjectExtensionsDto } from './object-extending/models';
3
- import type { LanguageInfo } from '../../../localization/models';
4
- import type { NameValue } from '../../../models';
5
- export interface ApplicationAuthConfigurationDto {
6
- grantedPolicies: Record<string, boolean>;
7
- }
8
- export interface ApplicationConfigurationDto {
9
- localization: ApplicationLocalizationConfigurationDto;
10
- auth: ApplicationAuthConfigurationDto;
11
- setting: ApplicationSettingConfigurationDto;
12
- currentUser: CurrentUserDto;
13
- features: ApplicationFeatureConfigurationDto;
14
- globalFeatures: ApplicationGlobalFeatureConfigurationDto;
15
- multiTenancy: MultiTenancyInfoDto;
16
- currentTenant: CurrentTenantDto;
17
- timing: TimingDto;
18
- clock: ClockDto;
19
- objectExtensions: ObjectExtensionsDto;
20
- extraProperties: Record<string, object>;
21
- }
22
- export interface ApplicationConfigurationRequestOptions {
23
- includeLocalizationResources: boolean;
24
- }
25
- export interface ApplicationFeatureConfigurationDto {
26
- values: Record<string, string>;
27
- }
28
- export interface ApplicationGlobalFeatureConfigurationDto {
29
- enabledFeatures: string[];
30
- }
31
- export interface ApplicationLocalizationConfigurationDto {
32
- values: Record<string, Record<string, string>>;
33
- resources: Record<string, ApplicationLocalizationResourceDto>;
34
- languages: LanguageInfo[];
35
- currentCulture: CurrentCultureDto;
36
- defaultResourceName?: string;
37
- languagesMap: Record<string, NameValue[]>;
38
- languageFilesMap: Record<string, NameValue[]>;
39
- }
40
- export interface ApplicationLocalizationDto {
41
- resources: Record<string, ApplicationLocalizationResourceDto>;
42
- currentCulture: CurrentCultureDto;
43
- }
44
- export interface ApplicationLocalizationRequestDto {
45
- cultureName: string;
46
- onlyDynamics: boolean;
47
- }
48
- export interface ApplicationLocalizationResourceDto {
49
- texts: Record<string, string>;
50
- baseResources: string[];
51
- }
52
- export interface ApplicationSettingConfigurationDto {
53
- values: Record<string, string>;
54
- }
55
- export interface ClockDto {
56
- kind?: string;
57
- }
58
- export interface CurrentCultureDto {
59
- displayName?: string;
60
- englishName?: string;
61
- threeLetterIsoLanguageName?: string;
62
- twoLetterIsoLanguageName?: string;
63
- isRightToLeft: boolean;
64
- cultureName?: string;
65
- name?: string;
66
- nativeName?: string;
67
- dateTimeFormat: DateTimeFormatDto;
68
- }
69
- export interface CurrentUserDto {
70
- isAuthenticated: boolean;
71
- id?: string;
72
- tenantId?: string;
73
- impersonatorUserId?: string;
74
- impersonatorTenantId?: string;
75
- impersonatorUserName?: string;
76
- impersonatorTenantName?: string;
77
- userName?: string;
78
- name?: string;
79
- surName?: string;
80
- email?: string;
81
- emailVerified: boolean;
82
- phoneNumber?: string;
83
- phoneNumberVerified: boolean;
84
- roles: string[];
85
- }
86
- export interface DateTimeFormatDto {
87
- calendarAlgorithmType?: string;
88
- dateTimeFormatLong?: string;
89
- shortDatePattern?: string;
90
- fullDateTimePattern?: string;
91
- dateSeparator?: string;
92
- shortTimePattern?: string;
93
- longTimePattern?: string;
94
- }
95
- export interface IanaTimeZone {
96
- timeZoneName?: string;
97
- }
98
- export interface TimeZone {
99
- iana: IanaTimeZone;
100
- windows: WindowsTimeZone;
101
- }
102
- export interface TimingDto {
103
- timeZone: TimeZone;
104
- }
105
- export interface WindowsTimeZone {
106
- timeZoneId?: string;
107
- }
@@ -1,71 +0,0 @@
1
- export interface EntityExtensionDto {
2
- properties: Record<string, ExtensionPropertyDto>;
3
- configuration: Record<string, object>;
4
- }
5
- export interface ExtensionEnumDto {
6
- fields: ExtensionEnumFieldDto[];
7
- localizationResource?: string;
8
- }
9
- export interface ExtensionEnumFieldDto {
10
- name?: string;
11
- value: object;
12
- }
13
- export interface ExtensionPropertyApiCreateDto {
14
- isAvailable: boolean;
15
- }
16
- export interface ExtensionPropertyApiDto {
17
- onGet: ExtensionPropertyApiGetDto;
18
- onCreate: ExtensionPropertyApiCreateDto;
19
- onUpdate: ExtensionPropertyApiUpdateDto;
20
- }
21
- export interface ExtensionPropertyApiGetDto {
22
- isAvailable: boolean;
23
- }
24
- export interface ExtensionPropertyApiUpdateDto {
25
- isAvailable: boolean;
26
- }
27
- export interface ExtensionPropertyAttributeDto {
28
- typeSimple?: string;
29
- config: Record<string, object>;
30
- }
31
- export interface ExtensionPropertyDto {
32
- type?: string;
33
- typeSimple?: string;
34
- displayName: LocalizableStringDto;
35
- api: ExtensionPropertyApiDto;
36
- ui: ExtensionPropertyUiDto;
37
- attributes: ExtensionPropertyAttributeDto[];
38
- configuration: Record<string, object>;
39
- defaultValue: object;
40
- }
41
- export interface ExtensionPropertyUiDto {
42
- onTable: ExtensionPropertyUiTableDto;
43
- onCreateForm: ExtensionPropertyUiFormDto;
44
- onEditForm: ExtensionPropertyUiFormDto;
45
- lookup: ExtensionPropertyUiLookupDto;
46
- }
47
- export interface ExtensionPropertyUiFormDto {
48
- isVisible: boolean;
49
- }
50
- export interface ExtensionPropertyUiLookupDto {
51
- url?: string;
52
- resultListPropertyName?: string;
53
- displayPropertyName?: string;
54
- valuePropertyName?: string;
55
- filterParamName?: string;
56
- }
57
- export interface ExtensionPropertyUiTableDto {
58
- isVisible: boolean;
59
- }
60
- export interface LocalizableStringDto {
61
- name?: string;
62
- resource?: string;
63
- }
64
- export interface ModuleExtensionDto {
65
- entities: Record<string, EntityExtensionDto>;
66
- configuration: Record<string, object>;
67
- }
68
- export interface ObjectExtensionsDto {
69
- modules: Record<string, ModuleExtensionDto>;
70
- enums: Record<string, ExtensionEnumDto>;
71
- }
@@ -1 +0,0 @@
1
- export * from './models';
@@ -1,15 +0,0 @@
1
- export interface FindTenantResultDto {
2
- success: boolean;
3
- tenantId?: string;
4
- name?: string;
5
- normalizedName?: string;
6
- isActive: boolean;
7
- }
8
- export interface CurrentTenantDto {
9
- id?: string;
10
- name?: string;
11
- isAvailable: boolean;
12
- }
13
- export interface MultiTenancyInfoDto {
14
- isEnabled: boolean;
15
- }
@@ -1 +0,0 @@
1
- export * from './models';