@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
package/locale/index.d.ts CHANGED
@@ -1,5 +1,17 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@abp/ng.core/locale" />
5
- export * from './public-api';
1
+ interface LocaleErrorHandlerData {
2
+ resolve: any;
3
+ reject: any;
4
+ error: any;
5
+ locale: string;
6
+ }
7
+ interface RegisterLocaleData {
8
+ cultureNameLocaleFileMap?: Record<string, string>;
9
+ errorHandlerFn?: (data: LocaleErrorHandlerData) => any;
10
+ }
11
+ declare function registerLocaleForEsBuild({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
12
+ declare function registerLocale({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
13
+ declare function storeLocaleData(data: any, localeId: string): void;
14
+ declare function defaultLocalErrorHandlerFn({ locale, resolve }: LocaleErrorHandlerData): Promise<void>;
15
+
16
+ export { defaultLocalErrorHandlerFn, registerLocale, registerLocaleForEsBuild, storeLocaleData };
17
+ export type { LocaleErrorHandlerData, RegisterLocaleData };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.core",
3
- "version": "9.3.0-rc.2",
3
+ "version": "9.3.0-rc.4",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/utils": "~9.3.0-rc.2",
10
+ "@abp/utils": "~9.3.0-rc.4",
11
11
  "just-clone": "^6.0.0",
12
12
  "just-compare": "^2.0.0",
13
13
  "ts-toolbelt": "^9.0.0",
@@ -1,5 +1,53 @@
1
+ import * as i3 from '@abp/ng.core';
2
+ import { ABP, PermissionService, ConfigStateService, RestService, ExternalHttpClient, EnvironmentService } from '@abp/ng.core';
3
+ import * as i0 from '@angular/core';
4
+ import { PipeTransform, ModuleWithProviders } from '@angular/core';
5
+ import * as i1 from '@angular/platform-browser/animations';
6
+ import * as i2 from '@angular/router/testing';
7
+ import { HttpClient } from '@angular/common/http';
8
+ import { Observable } from 'rxjs';
9
+ import { ComponentFixture } from '@angular/core/testing';
10
+
11
+ declare class LocalizationPipe implements PipeTransform {
12
+ transform(value: string): string;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization", true>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationPipe>;
16
+ }
17
+
1
18
  /**
2
- * Generated bundle index. Do not edit.
19
+ * CoreTestingModule is the module that will be used in tests
20
+ * and it provides mock alternatives
3
21
  */
4
- /// <amd-module name="@abp/ng.core/testing" />
5
- export * from './public-api';
22
+ declare class CoreTestingModule {
23
+ static withConfig({ baseHref, listQueryDebounceTime, routes, ...options }?: ABP.Test): ModuleWithProviders<CoreTestingModule>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoreTestingModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoreTestingModule, never, [typeof i1.NoopAnimationsModule, typeof i2.RouterTestingModule, typeof i3.BaseCoreModule, typeof LocalizationPipe], [typeof i2.RouterTestingModule, typeof i3.BaseCoreModule]>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<CoreTestingModule>;
27
+ }
28
+
29
+ declare class MockPermissionService extends PermissionService {
30
+ protected configState: ConfigStateService;
31
+ constructor(configState: ConfigStateService);
32
+ grantAllPolicies(): void;
33
+ grantPolicies(keys: string[]): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<MockPermissionService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<MockPermissionService>;
36
+ }
37
+
38
+ declare class MockRestService extends RestService {
39
+ protected options: ABP.Root;
40
+ protected http: HttpClient;
41
+ protected externalhttp: ExternalHttpClient;
42
+ protected environment: EnvironmentService;
43
+ constructor(options: ABP.Root, http: HttpClient, externalhttp: ExternalHttpClient, environment: EnvironmentService);
44
+ handleError(err: any): Observable<any>;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<MockRestService, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<MockRestService>;
47
+ }
48
+
49
+ declare function clearPage<T extends any>(_fixture: ComponentFixture<T>): void;
50
+
51
+ declare function wait<T extends any>(fixture: ComponentFixture<T>, timeout?: number): Promise<unknown>;
52
+
53
+ export { CoreTestingModule, LocalizationPipe, MockPermissionService, MockRestService, clearPage, wait };
@@ -1,5 +0,0 @@
1
- import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
2
- import { Observable } from 'rxjs';
3
- export interface IAbpGuard {
4
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
5
- }
@@ -1,16 +0,0 @@
1
- import { AuthErrorEvent, AuthErrorFilter } from '../models';
2
- export declare abstract class AbstractAuthErrorFilter<T, E> {
3
- abstract get(id: string): T;
4
- abstract add(filter: T): void;
5
- abstract patch(item: Partial<T>): void;
6
- abstract remove(id: string): void;
7
- abstract run(event: E): boolean;
8
- }
9
- export declare class AuthErrorFilterService<T = AuthErrorFilter, E = AuthErrorEvent> extends AbstractAuthErrorFilter<T, E> {
10
- private warningMessage;
11
- get(id: string): T;
12
- add(filter: T): void;
13
- patch(item: Partial<T>): void;
14
- remove(id: string): void;
15
- run(event: E): boolean;
16
- }
@@ -1,10 +0,0 @@
1
- export interface AbpAuthResponse {
2
- access_token: string;
3
- id_token: string;
4
- token_type: string;
5
- expires_in: number;
6
- refresh_token: string;
7
- scope: string;
8
- state?: string;
9
- tenant_domain?: string;
10
- }
@@ -1,14 +0,0 @@
1
- import { UrlTree } from '@angular/router';
2
- import { Observable } from 'rxjs';
3
- import { IAbpGuard } from './abstract-guard';
4
- import { CanActivateFn } from '@angular/router';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated Use `authGuard` *function* instead.
8
- */
9
- export declare class AuthGuard implements IAbpGuard {
10
- canActivate(): Observable<boolean> | boolean | UrlTree;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
13
- }
14
- export declare const authGuard: CanActivateFn;
@@ -1,41 +0,0 @@
1
- import { HttpHeaders } from '@angular/common/http';
2
- import { Params } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import { LoginParams } from '../models/auth';
5
- import { AbpAuthResponse } from './auth-response.model';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Abstract service for Authentication.
9
- */
10
- export declare class AuthService implements IAuthService {
11
- private warningMessage;
12
- get oidc(): boolean;
13
- set oidc(value: boolean);
14
- init(): Promise<any>;
15
- login(params: LoginParams): Observable<any>;
16
- logout(queryParams?: Params): Observable<any>;
17
- navigateToLogin(queryParams?: Params): void;
18
- get isInternalAuth(): boolean;
19
- get isAuthenticated(): boolean;
20
- loginUsingGrant(grantType: string, parameters: object, headers?: HttpHeaders): Promise<AbpAuthResponse>;
21
- getAccessTokenExpiration(): number;
22
- getRefreshToken(): string;
23
- getAccessToken(): string;
24
- refreshToken(): Promise<AbpAuthResponse>;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
27
- }
28
- export interface IAuthService {
29
- oidc: boolean;
30
- get isInternalAuth(): boolean;
31
- get isAuthenticated(): boolean;
32
- init(): Promise<any>;
33
- logout(queryParams?: Params): Observable<any>;
34
- navigateToLogin(queryParams?: Params): void;
35
- login(params: LoginParams): Observable<any>;
36
- loginUsingGrant(grantType: string, parameters: object, headers?: HttpHeaders): Promise<AbpAuthResponse>;
37
- getAccessTokenExpiration(): number;
38
- getRefreshToken(): string;
39
- getAccessToken(): string;
40
- refreshToken(): Promise<AbpAuthResponse>;
41
- }
@@ -1,6 +0,0 @@
1
- export * from './abstract-guard';
2
- export * from './ng-model.component';
3
- export * from './auth.guard';
4
- export * from './auth.service';
5
- export * from './auth-response.model';
6
- export * from './auth-error-filter';
@@ -1,23 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class AbstractNgModelComponent<T = any, U = T> implements ControlValueAccessor {
5
- protected _value: T;
6
- protected cdRef: ChangeDetectorRef;
7
- onChange?: (value: T) => void;
8
- onTouched?: () => void;
9
- disabled?: boolean;
10
- readonly?: boolean;
11
- valueFn: (value: U, previousValue?: T) => T;
12
- valueLimitFn: (value: T, previousValue?: T) => any;
13
- set value(value: T);
14
- get value(): T;
15
- get defaultValue(): T;
16
- notifyValueChange(): void;
17
- writeValue(value: T): void;
18
- registerOnChange(fn: any): void;
19
- registerOnTouched(fn: any): void;
20
- setDisabledState(isDisabled: boolean): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNgModelComponent<any, any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNgModelComponent<any, any>, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueFn": { "alias": "valueFn"; "required": false; }; "valueLimitFn": { "alias": "valueLimitFn"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
23
- }
@@ -1,11 +0,0 @@
1
- import { HttpClient, HttpRequest } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ExternalHttpClient extends HttpClient {
5
- #private;
6
- request(first: string | HttpRequest<any>, url?: string, options?: RequestOptions): Observable<any>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ExternalHttpClient, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<ExternalHttpClient>;
9
- }
10
- type RequestOptions = Parameters<HttpClient['request']>[2];
11
- export {};
@@ -1 +0,0 @@
1
- export * from './http.client';
@@ -1,34 +0,0 @@
1
- import { OnInit, Type } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { eLayoutType } from '../enums/common';
4
- import { LocalizationService } from '../services/localization.service';
5
- import { ReplaceableComponentsService } from '../services/replaceable-components.service';
6
- import { RouterEvents } from '../services/router-events.service';
7
- import { RoutesService } from '../services/routes.service';
8
- import { SubscriptionService } from '../services/subscription.service';
9
- import { EnvironmentService } from '../services';
10
- import * as i0 from "@angular/core";
11
- export declare class DynamicLayoutComponent implements OnInit {
12
- layout?: Type<any>;
13
- layoutKey?: eLayoutType;
14
- readonly layouts: Map<string, string>;
15
- isLayoutVisible: boolean;
16
- protected readonly router: Router;
17
- protected readonly route: ActivatedRoute;
18
- protected readonly routes: RoutesService;
19
- protected readonly localizationService: LocalizationService;
20
- protected readonly replaceableComponents: ReplaceableComponentsService;
21
- protected readonly subscription: SubscriptionService;
22
- protected readonly routerEvents: RouterEvents;
23
- protected readonly environment: EnvironmentService;
24
- constructor(dynamicLayoutComponent: DynamicLayoutComponent);
25
- ngOnInit(): void;
26
- private checkLayoutOnNavigationEnd;
27
- private getLayout;
28
- private getExtractedLayout;
29
- showLayoutNotFoundError(layoutName: string): void;
30
- private listenToLanguageChange;
31
- private getComponent;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [{ optional: true; skipSelf: true; }]>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never, true, never>;
34
- }
@@ -1,3 +0,0 @@
1
- export * from './dynamic-layout.component';
2
- export * from './replaceable-route-container.component';
3
- export * from './router-outlet.component';
@@ -1,17 +0,0 @@
1
- import { OnInit, Type } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { ReplaceableComponentsService } from '../services/replaceable-components.service';
4
- import { SubscriptionService } from '../services/subscription.service';
5
- import * as i0 from "@angular/core";
6
- export declare class ReplaceableRouteContainerComponent implements OnInit {
7
- private route;
8
- private replaceableComponents;
9
- private subscription;
10
- defaultComponent: Type<any>;
11
- componentKey: string;
12
- externalComponent?: Type<any>;
13
- constructor(route: ActivatedRoute, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
14
- ngOnInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableRouteContainerComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ReplaceableRouteContainerComponent, "abp-replaceable-route-container", never, {}, {}, never, never, true, never>;
17
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RouterOutletComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterOutletComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<RouterOutletComponent, "abp-router-outlet", never, {}, {}, never, never, true, never>;
5
- }
@@ -1 +0,0 @@
1
- export declare const DEFAULT_DYNAMIC_LAYOUTS: Map<string, string>;
@@ -1,334 +0,0 @@
1
- export declare const differentLocales: {
2
- aa: string;
3
- 'aa-DJ': string;
4
- 'aa-ER': string;
5
- 'aa-ET': string;
6
- 'af-ZA': string;
7
- 'agq-CM': string;
8
- 'ak-GH': string;
9
- 'am-ET': string;
10
- 'ar-001': string;
11
- arn: string;
12
- 'arn-CL': string;
13
- 'as-IN': string;
14
- 'asa-TZ': string;
15
- 'ast-ES': string;
16
- 'az-Cyrl-AZ': string;
17
- 'az-Latn-AZ': string;
18
- ba: string;
19
- 'ba-RU': string;
20
- 'bas-CM': string;
21
- 'be-BY': string;
22
- 'bem-ZM': string;
23
- 'bez-TZ': string;
24
- 'bg-BG': string;
25
- bin: string;
26
- 'bin-NG': string;
27
- 'bm-Latn': string;
28
- 'bm-Latn-ML': string;
29
- 'bn-BD': string;
30
- 'bo-CN': string;
31
- 'br-FR': string;
32
- 'brx-IN': string;
33
- 'bs-Cyrl-BA': string;
34
- 'bs-Latn-BA': string;
35
- byn: string;
36
- 'byn-ER': string;
37
- 'ca-ES': string;
38
- 'ca-ES-valencia': string;
39
- 'ce-RU': string;
40
- 'cgg-UG': string;
41
- 'chr-Cher': string;
42
- 'chr-Cher-US': string;
43
- co: string;
44
- 'co-FR': string;
45
- 'cs-CZ': string;
46
- 'cu-RU': string;
47
- 'cy-GB': string;
48
- 'da-DK': string;
49
- 'dav-KE': string;
50
- 'de-DE': string;
51
- 'dje-NE': string;
52
- 'dsb-DE': string;
53
- 'dua-CM': string;
54
- dv: string;
55
- 'dv-MV': string;
56
- 'dyo-SN': string;
57
- 'dz-BT': string;
58
- 'ebu-KE': string;
59
- 'ee-GH': string;
60
- 'el-GR': string;
61
- 'en-029': string;
62
- 'en-ID': string;
63
- 'en-US': string;
64
- 'eo-001': string;
65
- 'es-ES': string;
66
- 'et-EE': string;
67
- 'eu-ES': string;
68
- 'ewo-CM': string;
69
- 'fa-IR': string;
70
- 'ff-Latn-SN': string;
71
- 'ff-NG': string;
72
- 'fi-FI': string;
73
- 'fil-PH': string;
74
- 'fo-FO': string;
75
- 'fr-029': string;
76
- 'fr-FR': string;
77
- 'fur-IT': string;
78
- 'fy-NL': string;
79
- 'ga-IE': string;
80
- 'gd-GB': string;
81
- 'gl-ES': string;
82
- gn: string;
83
- 'gn-PY': string;
84
- 'gsw-CH': string;
85
- 'gu-IN': string;
86
- 'guz-KE': string;
87
- 'gv-IM': string;
88
- 'ha-Latn': string;
89
- 'ha-Latn-GH': string;
90
- 'ha-Latn-NE': string;
91
- 'ha-Latn-NG': string;
92
- 'haw-US': string;
93
- 'he-IL': string;
94
- 'hi-IN': string;
95
- 'hr-HR': string;
96
- 'hsb-DE': string;
97
- 'hu-HU': string;
98
- 'hy-AM': string;
99
- 'ia-001': string;
100
- 'ia-FR': string;
101
- ibb: string;
102
- 'ibb-NG': string;
103
- 'id-ID': string;
104
- 'ig-NG': string;
105
- 'ii-CN': string;
106
- 'is-IS': string;
107
- 'it-IT': string;
108
- iu: string;
109
- 'iu-Cans': string;
110
- 'iu-Cans-CA': string;
111
- 'iu-Latn': string;
112
- 'iu-Latn-CA': string;
113
- 'ja-JP': string;
114
- 'jgo-CM': string;
115
- 'jmc-TZ': string;
116
- 'jv-Java': string;
117
- 'jv-Java-ID': string;
118
- 'jv-Latn': string;
119
- 'jv-Latn-ID': string;
120
- 'ka-GE': string;
121
- 'kab-DZ': string;
122
- 'kam-KE': string;
123
- 'kde-TZ': string;
124
- 'kea-CV': string;
125
- 'khq-ML': string;
126
- 'ki-KE': string;
127
- 'kk-KZ': string;
128
- 'kkj-CM': string;
129
- 'kl-GL': string;
130
- 'kln-KE': string;
131
- 'km-KH': string;
132
- 'kn-IN': string;
133
- 'ko-KR': string;
134
- 'kok-IN': string;
135
- kr: string;
136
- 'kr-NG': string;
137
- 'ks-Arab': string;
138
- 'ks-Arab-IN': string;
139
- 'ks-Deva': string;
140
- 'ks-Deva-IN': string;
141
- 'ksb-TZ': string;
142
- 'ksf-CM': string;
143
- 'ksh-DE': string;
144
- 'ku-Arab': string;
145
- 'ku-Arab-IQ': string;
146
- 'ku-Arab-IR': string;
147
- 'kw-GB': string;
148
- 'ky-KG': string;
149
- la: string;
150
- 'la-001': string;
151
- 'lag-TZ': string;
152
- 'lb-LU': string;
153
- 'lg-UG': string;
154
- 'lkt-US': string;
155
- 'ln-CD': string;
156
- 'lo-LA': string;
157
- 'lrc-IR': string;
158
- 'lt-LT': string;
159
- 'lu-CD': string;
160
- 'luo-KE': string;
161
- 'luy-KE': string;
162
- 'lv-LV': string;
163
- 'mas-KE': string;
164
- 'mer-KE': string;
165
- 'mfe-MU': string;
166
- 'mg-MG': string;
167
- 'mgh-MZ': string;
168
- 'mgo-CM': string;
169
- 'mi-NZ': string;
170
- 'mk-MK': string;
171
- 'ml-IN': string;
172
- 'mn-Cyrl': string;
173
- 'mn-MN': string;
174
- 'mn-Mong': string;
175
- 'mn-Mong-CN': string;
176
- 'mn-Mong-MN': string;
177
- mni: string;
178
- 'mni-IN': string;
179
- moh: string;
180
- 'moh-CA': string;
181
- 'mr-IN': string;
182
- 'ms-MY': string;
183
- 'mt-MT': string;
184
- 'mua-CM': string;
185
- 'my-MM': string;
186
- 'mzn-IR': string;
187
- 'naq-NA': string;
188
- 'nb-NO': string;
189
- 'nd-ZW': string;
190
- 'ne-NP': string;
191
- 'nl-NL': string;
192
- 'nmg-CM': string;
193
- 'nn-NO': string;
194
- 'nnh-CM': string;
195
- no: string;
196
- nqo: string;
197
- 'nqo-GN': string;
198
- nr: string;
199
- 'nr-ZA': string;
200
- nso: string;
201
- 'nso-ZA': string;
202
- 'nus-SS': string;
203
- 'nyn-UG': string;
204
- oc: string;
205
- 'oc-FR': string;
206
- 'om-ET': string;
207
- 'or-IN': string;
208
- 'os-GE': string;
209
- 'pa-Arab-PK': string;
210
- 'pa-IN': string;
211
- pap: string;
212
- 'pap-029': string;
213
- 'pl-PL': string;
214
- 'prg-001': string;
215
- prs: string;
216
- 'prs-AF': string;
217
- 'ps-AF': string;
218
- 'pt-BR': string;
219
- quc: string;
220
- 'quc-Latn': string;
221
- 'quc-Latn-GT': string;
222
- quz: string;
223
- 'quz-BO': string;
224
- 'quz-EC': string;
225
- 'quz-PE': string;
226
- 'rm-CH': string;
227
- 'rn-BI': string;
228
- 'ro-RO': string;
229
- 'rof-TZ': string;
230
- 'ru-RU': string;
231
- 'rw-RW': string;
232
- 'rwk-TZ': string;
233
- sa: string;
234
- 'sa-IN': string;
235
- 'sah-RU': string;
236
- 'saq-KE': string;
237
- 'sbp-TZ': string;
238
- 'sd-Arab': string;
239
- 'sd-Arab-PK': string;
240
- 'sd-Deva': string;
241
- 'sd-Deva-IN': string;
242
- 'se-NO': string;
243
- 'seh-MZ': string;
244
- 'ses-ML': string;
245
- 'sg-CF': string;
246
- 'shi-Latn-MA': string;
247
- 'shi-Tfng-MA': string;
248
- 'si-LK': string;
249
- 'sk-SK': string;
250
- 'sl-SI': string;
251
- sma: string;
252
- 'sma-NO': string;
253
- 'sma-SE': string;
254
- smj: string;
255
- 'smj-NO': string;
256
- 'smj-SE': string;
257
- 'smn-FI': string;
258
- sms: string;
259
- 'sms-FI': string;
260
- 'sn-Latn': string;
261
- 'sn-Latn-ZW': string;
262
- 'so-SO': string;
263
- 'sq-AL': string;
264
- 'sr-Cyrl-RS': string;
265
- 'sr-Latn-RS': string;
266
- ss: string;
267
- 'ss-SZ': string;
268
- 'ss-ZA': string;
269
- ssy: string;
270
- 'ssy-ER': string;
271
- st: string;
272
- 'st-LS': string;
273
- 'st-ZA': string;
274
- 'sv-SE': string;
275
- 'sw-TZ': string;
276
- syr: string;
277
- 'syr-SY': string;
278
- 'ta-IN': string;
279
- 'te-IN': string;
280
- 'teo-UG': string;
281
- 'tg-Cyrl': string;
282
- 'tg-Cyrl-TJ': string;
283
- 'th-TH': string;
284
- 'ti-ET': string;
285
- tig: string;
286
- 'tig-ER': string;
287
- 'tk-TM': string;
288
- tn: string;
289
- 'tn-BW': string;
290
- 'tn-ZA': string;
291
- 'to-TO': string;
292
- 'tr-TR': string;
293
- ts: string;
294
- 'ts-ZA': string;
295
- 'tt-RU': string;
296
- 'twq-NE': string;
297
- 'tzm-Arab': string;
298
- 'tzm-Arab-MA': string;
299
- 'tzm-Latn': string;
300
- 'tzm-Latn-DZ': string;
301
- 'tzm-Latn-MA': string;
302
- 'tzm-Tfng': string;
303
- 'tzm-Tfng-MA': string;
304
- 'ug-CN': string;
305
- 'uk-UA': string;
306
- 'ur-PK': string;
307
- 'uz-Arab-AF': string;
308
- 'uz-Cyrl-UZ': string;
309
- 'uz-Latn-UZ': string;
310
- 'vai-Latn-LR': string;
311
- 'vai-Vaii-LR': string;
312
- ve: string;
313
- 've-ZA': string;
314
- 'vi-VN': string;
315
- 'vo-001': string;
316
- 'vun-TZ': string;
317
- 'wae-CH': string;
318
- wal: string;
319
- 'wal-ET': string;
320
- 'wo-SN': string;
321
- 'xh-ZA': string;
322
- 'xog-UG': string;
323
- 'yav-CM': string;
324
- 'yi-001': string;
325
- 'yo-NG': string;
326
- 'zgh-Tfng': string;
327
- 'zgh-Tfng-MA': string;
328
- 'zh-CN': string;
329
- 'zh-HK': string;
330
- 'zh-MO': string;
331
- 'zh-SG': string;
332
- 'zh-TW': string;
333
- 'zu-ZA': string;
334
- };
@@ -1,2 +0,0 @@
1
- export * from './different-locales';
2
- export * from './default-layouts';