@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.
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 +3061 -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,27 +0,0 @@
1
- export * from './config-state.service';
2
- export * from './content-projection.service';
3
- export * from './dom-insertion.service';
4
- export * from './environment.service';
5
- export * from './http-error-reporter.service';
6
- export * from './http-wait.service';
7
- export * from './lazy-load.service';
8
- export * from './list.service';
9
- export * from './localization.service';
10
- export * from './multi-tenancy.service';
11
- export * from './permission.service';
12
- export * from './replaceable-components.service';
13
- export * from './resource-wait.service';
14
- export * from './rest.service';
15
- export * from './router-events.service';
16
- export * from './router-wait.service';
17
- export * from './routes.service';
18
- export * from './session-state.service';
19
- export * from './subscription.service';
20
- export * from './track-by.service';
21
- export * from './local-storage.service';
22
- export * from './window.service';
23
- export * from './internet-connection-service';
24
- export * from './local-storage-listener.service';
25
- export * from './title-strategy.service';
26
- export * from './timezone.service';
27
- export * from './time.service';
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class InternetConnectionService {
3
- readonly document: Document;
4
- readonly window: Window & typeof globalThis;
5
- readonly navigator: Navigator;
6
- private status$;
7
- private status;
8
- networkStatus: import("@angular/core").Signal<boolean>;
9
- constructor();
10
- setStatus(val: boolean): void;
11
- get networkStatus$(): import("rxjs").Observable<boolean>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<InternetConnectionService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<InternetConnectionService>;
14
- }
@@ -1,13 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { LoadingStrategy } from '../strategies';
3
- import { ResourceWaitService } from './resource-wait.service';
4
- import * as i0 from "@angular/core";
5
- export declare class LazyLoadService {
6
- private resourceWaitService;
7
- readonly loaded: Map<string, HTMLScriptElement | HTMLLinkElement>;
8
- constructor(resourceWaitService: ResourceWaitService);
9
- load(strategy: LoadingStrategy, retryTimes?: number, retryDelay?: number): Observable<Event>;
10
- remove(path: string): boolean;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<LazyLoadService>;
13
- }
@@ -1,47 +0,0 @@
1
- import { Injector, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { ABP } from '../models/common';
4
- import { PagedResultDto } from '../models/dtos';
5
- import * as i0 from "@angular/core";
6
- export type RequestStatus = 'idle' | 'loading' | 'success' | 'error';
7
- export declare class ListService<QueryParamsType = ABP.PageQueryParams | any> implements OnDestroy {
8
- private _filter;
9
- set filter(value: string);
10
- get filter(): string;
11
- private _maxResultCount;
12
- set maxResultCount(value: number);
13
- get maxResultCount(): number;
14
- private _page;
15
- set page(value: number);
16
- get page(): number;
17
- private _totalCount;
18
- set totalCount(value: number);
19
- get totalCount(): number;
20
- private _sortKey;
21
- set sortKey(value: string);
22
- get sortKey(): string;
23
- private _sortOrder;
24
- set sortOrder(value: string);
25
- get sortOrder(): string;
26
- private _query$;
27
- get query$(): Observable<QueryParamsType>;
28
- private _isLoading$;
29
- private _requestStatus;
30
- private destroy$;
31
- private delay;
32
- /**
33
- * @deprecated Use `requestStatus$` instead.
34
- */
35
- get isLoading$(): Observable<boolean>;
36
- get requestStatus$(): Observable<RequestStatus>;
37
- get: () => void;
38
- getWithoutPageReset: () => void;
39
- constructor(injector: Injector);
40
- hookToQuery<T>(streamCreatorCallback: QueryStreamCreatorCallback<T, QueryParamsType>): Observable<PagedResultDto<T>>;
41
- ngOnDestroy(): void;
42
- private resetPageWhenUnchanged;
43
- private next;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<ListService<any>, never>;
45
- static ɵprov: i0.ɵɵInjectableDeclaration<ListService<any>>;
46
- }
47
- export type QueryStreamCreatorCallback<T, QueryParamsType = ABP.PageQueryParams> = (query: QueryParamsType) => Observable<PagedResultDto<T>>;
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LocalStorageListenerService {
3
- protected readonly window: Window & typeof globalThis;
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageListenerService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageListenerService>;
7
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AbpLocalStorageService implements Storage {
3
- constructor();
4
- [name: string]: any;
5
- get length(): number;
6
- clear(): void;
7
- getItem(key: string): string;
8
- key(index: number): string;
9
- removeItem(key: string): void;
10
- setItem(key: string, value: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpLocalStorageService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpLocalStorageService>;
13
- }
@@ -1,54 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { ABP } from '../models/common';
4
- import { LocalizationWithDefault } from '../models/localization';
5
- import { ApplicationLocalizationResourceDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
6
- import { ConfigStateService } from './config-state.service';
7
- import { SessionStateService } from './session-state.service';
8
- import * as i0 from "@angular/core";
9
- export declare class LocalizationService {
10
- private sessionState;
11
- private injector;
12
- private configState;
13
- private latestLang;
14
- private _languageChange$;
15
- private uiLocalizations$;
16
- private localizations$;
17
- /**
18
- * Returns currently selected language
19
- * Even though this looks like it's redundant to return the same value as `getLanguage()`,
20
- * it's actually not. This could be invoked any time, and the latestLang could be different from the
21
- * sessionState.getLanguage() value.
22
- */
23
- get currentLang(): string;
24
- get currentLang$(): Observable<string>;
25
- get languageChange$(): Observable<string>;
26
- constructor(sessionState: SessionStateService, injector: Injector, otherInstance: LocalizationService, configState: ConfigStateService);
27
- private initLocalizationValues;
28
- addLocalization(localizations?: ABP.Localization[]): void;
29
- private listenToSetLanguage;
30
- registerLocale(locale: string): Promise<void>;
31
- /**
32
- * Returns an observable localized text with the given interpolation parameters in current language.
33
- * @param key Localizaton key to replace with localized text
34
- * @param interpolateParams Values to interpolate
35
- */
36
- get(key: string | LocalizationWithDefault, ...interpolateParams: string[]): Observable<string>;
37
- getResource(resourceName: string): Record<string, string>;
38
- getResource$(resourceName: string): Observable<Record<string, string>>;
39
- /**
40
- * Returns localized text with the given interpolation parameters in current language.
41
- * @param key Localization key to replace with localized text
42
- * @param interpolateParams Values to intepolate.
43
- */
44
- instant(key: string | LocalizationWithDefault, ...interpolateParams: string[]): string;
45
- localize(resourceName: string, key: string, defaultValue: string): Observable<string | null>;
46
- localizeSync(resourceName: string, key: string, defaultValue: string): string | null;
47
- localizeWithFallback(resourceNames: string[], keys: string[], defaultValue: string): Observable<string>;
48
- localizeWithFallbackSync(resourceNames: string[], keys: string[], defaultValue: string): string;
49
- private getLocalization;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, [null, null, { optional: true; skipSelf: true; }, null]>;
51
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
52
- }
53
- export type LegacyLanguageDto = Record<string, Record<string, string>>;
54
- export type ResourceDto = Record<string, ApplicationLocalizationResourceDto>;
@@ -1,22 +0,0 @@
1
- import { AbpTenantService } from '../proxy/pages/abp/multi-tenancy';
2
- import { CurrentTenantDto, FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
3
- import { ConfigStateService } from './config-state.service';
4
- import { RestService } from './rest.service';
5
- import { SessionStateService } from './session-state.service';
6
- import * as i0 from "@angular/core";
7
- export declare class MultiTenancyService {
8
- private restService;
9
- private sessionState;
10
- private tenantService;
11
- private configStateService;
12
- tenantKey: string;
13
- domainTenant: CurrentTenantDto | null;
14
- isTenantBoxVisible: boolean;
15
- apiName: string;
16
- private setTenantToState;
17
- constructor(restService: RestService, sessionState: SessionStateService, tenantService: AbpTenantService, configStateService: ConfigStateService, tenantKey: string);
18
- setTenantByName(tenantName: string): import("rxjs").Observable<FindTenantResultDto>;
19
- setTenantById(tenantId: string): import("rxjs").Observable<FindTenantResultDto>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
22
- }
@@ -1,19 +0,0 @@
1
- import { ABP } from '../models/common';
2
- import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
3
- import { ConfigStateService } from './config-state.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PermissionService {
6
- protected configState: ConfigStateService;
7
- constructor(configState: ConfigStateService);
8
- getGrantedPolicy$(key: string): import("rxjs").Observable<boolean>;
9
- getGrantedPolicy(key: string | undefined): boolean;
10
- filterItemsByPolicy<T extends ABP.HasPolicy>(items: Array<T>): T[];
11
- filterItemsByPolicy$<T extends ABP.HasPolicy>(items: Array<T>): import("rxjs").Observable<T[]>;
12
- protected isPolicyGranted(key: string | undefined, grantedPolicies: Record<string, boolean>): boolean;
13
- protected getStream(): import("rxjs").Observable<Record<string, boolean>>;
14
- protected getSnapshot(): Record<string, boolean>;
15
- protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
16
- protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
19
- }
@@ -1,19 +0,0 @@
1
- import { NgZone } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import { ReplaceableComponents } from '../models/replaceable-components';
5
- import * as i0 from "@angular/core";
6
- export declare class ReplaceableComponentsService {
7
- private ngZone;
8
- private router;
9
- private readonly store;
10
- get replaceableComponents$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
11
- get replaceableComponents(): ReplaceableComponents.ReplaceableComponent[];
12
- get onUpdate$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
13
- constructor(ngZone: NgZone, router: Router);
14
- add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
15
- get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent | undefined;
16
- get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent | undefined>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
19
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface ResourceWaitState {
3
- resources: Set<string>;
4
- }
5
- export declare class ResourceWaitService {
6
- private store;
7
- getLoading(): boolean;
8
- getLoading$(): import("rxjs").Observable<boolean>;
9
- updateLoading$(): import("rxjs").Observable<boolean>;
10
- clearLoading(): void;
11
- addResource(resource: string): void;
12
- deleteResource(resource: string): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
15
- }
@@ -1,24 +0,0 @@
1
- import { HttpClient, HttpRequest } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { ExternalHttpClient } from '../clients/http.client';
4
- import { ABP } from '../models/common';
5
- import { Rest } from '../models/rest';
6
- import { EnvironmentService } from './environment.service';
7
- import { HttpErrorReporterService } from './http-error-reporter.service';
8
- import * as i0 from "@angular/core";
9
- export declare class RestService {
10
- protected options: ABP.Root;
11
- protected http: HttpClient;
12
- protected externalHttp: ExternalHttpClient;
13
- protected environment: EnvironmentService;
14
- protected httpErrorReporter: HttpErrorReporterService;
15
- constructor(options: ABP.Root, http: HttpClient, externalHttp: ExternalHttpClient, environment: EnvironmentService, httpErrorReporter: HttpErrorReporterService);
16
- protected getApiFromStore(apiName: string | undefined): string;
17
- handleError(err: any): Observable<any>;
18
- request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
19
- private getHttpClient;
20
- private getParams;
21
- private removeDuplicateSlashes;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
24
- }
@@ -1,34 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router, RouterEvent, Event } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare const NavigationEvent: {
6
- Cancel: typeof NavigationCancel;
7
- End: typeof NavigationEnd;
8
- Error: typeof NavigationError;
9
- Start: typeof NavigationStart;
10
- };
11
- export declare class RouterEvents {
12
- #private;
13
- protected readonly router: Router;
14
- previousNavigation: import("@angular/core").Signal<string>;
15
- currentNavigation: import("@angular/core").Signal<string>;
16
- constructor();
17
- protected listenToNavigation(): void;
18
- getEvents<T extends RouterEventConstructors>(...eventTypes: T): Observable<Event>;
19
- getNavigationEvents<T extends NavigationEventKeys>(...navigationEventKeys: T): Observable<T extends (infer Key)[] ? Key extends "Cancel" | "End" | "Error" | "Start" ? InstanceType<{
20
- Cancel: typeof NavigationCancel;
21
- End: typeof NavigationEnd;
22
- Error: typeof NavigationError;
23
- Start: typeof NavigationStart;
24
- }[Key]> : never : never>;
25
- getAllEvents(): Observable<Event>;
26
- getAllNavigationEvents(): Observable<NavigationStart | NavigationEnd | NavigationCancel | NavigationError>;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
29
- }
30
- type RouterEventConstructors = [Type<RouterEvent>, ...Type<RouterEvent>[]];
31
- type NavigationEventKeys = [NavigationEventKey, ...NavigationEventKey[]];
32
- type NavigationEventType = typeof NavigationEvent;
33
- export type NavigationEventKey = keyof NavigationEventType;
34
- export {};
@@ -1,20 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { RouterEvents } from './router-events.service';
3
- import * as i0 from "@angular/core";
4
- export interface RouterWaitState {
5
- loading: boolean;
6
- }
7
- export declare class RouterWaitService {
8
- private routerEvents;
9
- private store;
10
- private destroy$;
11
- private delay;
12
- constructor(routerEvents: RouterEvents, injector: Injector);
13
- private updateLoadingStatusOnNavigationEvents;
14
- getLoading(): boolean;
15
- getLoading$(): import("rxjs").Observable<boolean>;
16
- updateLoading$(): import("rxjs").Observable<boolean>;
17
- setLoading(loading: boolean): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
20
- }
@@ -1,61 +0,0 @@
1
- import { Injector, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { ABP } from '../models/common';
4
- import { TreeNode, RouteGroup } from '../utils/tree-utils';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class AbstractTreeService<T extends {
7
- [key: string | number | symbol]: any;
8
- }> {
9
- abstract id: string;
10
- abstract parentId: string;
11
- abstract hide: (item: T) => boolean;
12
- abstract sort: (a: T, b: T) => number;
13
- private _flat$;
14
- private _tree$;
15
- private _visible$;
16
- protected othersGroup: string;
17
- protected shouldSingularizeRoutes: boolean;
18
- get flat(): T[];
19
- get flat$(): Observable<T[]>;
20
- get tree(): TreeNode<T>[];
21
- get tree$(): Observable<TreeNode<T>[]>;
22
- get visible(): TreeNode<T>[];
23
- get visible$(): Observable<TreeNode<T>[]>;
24
- private filterWith;
25
- private findItemsToRemove;
26
- private publish;
27
- protected createTree(items: T[]): TreeNode<T>[];
28
- protected createGroupedTree(list: TreeNode<T>[]): RouteGroup<T>[] | undefined;
29
- add(items: T[]): T[];
30
- find(predicate: (item: TreeNode<T>) => boolean, tree?: TreeNode<T>[]): TreeNode<T> | null;
31
- patch(identifier: string, props: Partial<T>): T[] | false;
32
- refresh(): T[];
33
- remove(identifiers: string[]): T[];
34
- removeByParam(params: Partial<T>): T[] | null;
35
- search(params: Partial<T>, tree?: TreeNode<T>[]): TreeNode<T> | null;
36
- setSingularizeStatus(singularize?: boolean): void;
37
- }
38
- export declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends AbstractTreeService<T> implements OnDestroy {
39
- protected injector: Injector;
40
- private subscription;
41
- private permissionService;
42
- private compareFunc;
43
- readonly id = "name";
44
- readonly parentId = "parentName";
45
- readonly hide: (item: T) => boolean;
46
- readonly sort: (a: T, b: T) => any;
47
- constructor(injector: Injector);
48
- protected isGranted({ requiredPolicy }: T): boolean;
49
- hasChildren(identifier: string): boolean;
50
- hasInvisibleChild(identifier: string): boolean;
51
- ngOnDestroy(): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
53
- static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
54
- }
55
- export declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
56
- private hasPathOrChild;
57
- get groupedVisible(): RouteGroup<ABP.Route>[] | undefined;
58
- get groupedVisible$(): Observable<RouteGroup<ABP.Route>[] | undefined>;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
60
- static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
61
- }
@@ -1,28 +0,0 @@
1
- import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
2
- import { ConfigStateService } from './config-state.service';
3
- import { AbpLocalStorageService } from './local-storage.service';
4
- import * as i0 from "@angular/core";
5
- export declare class SessionStateService {
6
- private configState;
7
- private localStorageService;
8
- private readonly store;
9
- protected readonly document: Document;
10
- private updateLocalStorage;
11
- constructor(configState: ConfigStateService, localStorageService: AbpLocalStorageService);
12
- private init;
13
- private setInitialLanguage;
14
- onLanguageChange$(): import("rxjs").Observable<string>;
15
- onTenantChange$(): import("rxjs").Observable<{
16
- id?: string;
17
- name?: string;
18
- isAvailable?: boolean;
19
- }>;
20
- getLanguage(): string;
21
- getLanguage$(): import("rxjs").Observable<string>;
22
- getTenant(): CurrentTenantDto;
23
- getTenant$(): import("rxjs").Observable<CurrentTenantDto>;
24
- setTenant(tenant: CurrentTenantDto | null): void;
25
- setLanguage(language: string): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
28
- }
@@ -1,17 +0,0 @@
1
- import type { OnDestroy } from '@angular/core';
2
- import type { Observable, PartialObserver } from 'rxjs';
3
- import { Subscription } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class SubscriptionService implements OnDestroy {
6
- private subscription;
7
- get isClosed(): boolean;
8
- addOne<T>(source$: Observable<T>, next?: (value: T) => void, error?: (error: any) => void): Subscription;
9
- addOne<T>(source$: Observable<T>, observer?: PartialObserver<T>): Subscription;
10
- closeAll(): void;
11
- closeOne(subscription: Subscription | undefined | null): void;
12
- ngOnDestroy(): void;
13
- removeOne(subscription: Subscription | undefined | null): void;
14
- reset(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
17
- }
@@ -1,67 +0,0 @@
1
- import { DateTime } from 'luxon';
2
- import * as i0 from "@angular/core";
3
- export declare class TimeService {
4
- private locale;
5
- /**
6
- * Returns the current date and time in the specified timezone.
7
- *
8
- * @param zone - An IANA timezone name (e.g., 'Europe/Istanbul', 'UTC'); defaults to the system's local timezone.
9
- * @returns A Luxon DateTime instance representing the current time in the given timezone.
10
- */
11
- now(zone?: string): DateTime;
12
- /**
13
- * Converts the input date to the specified timezone, applying any timezone and daylight saving time (DST) adjustments.
14
- *
15
- * This method:
16
- * 1. Parses the input value into a Luxon DateTime object.
17
- * 2. Applies the specified IANA timezone, including any DST shifts based on the given date.
18
- *
19
- * @param value - The ISO string or Date object to convert.
20
- * @param zone - An IANA timezone name (e.g., 'America/New_York').
21
- * @returns A Luxon DateTime instance adjusted to the specified timezone and DST rules.
22
- */
23
- toZone(value: string | Date, zone: string): DateTime;
24
- /**
25
- * Formats the input date by applying timezone and daylight saving time (DST) adjustments.
26
- *
27
- * This method:
28
- * 1. Converts the input date to the specified timezone.
29
- * 2. Formats the result using the given format and locale, reflecting any timezone or DST shifts.
30
- *
31
- * @param value - The ISO string or Date object to format.
32
- * @param format - The format string (default: 'ff').
33
- * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); defaults to the system's local timezone.
34
- * @returns A formatted date string adjusted for the given timezone and DST rules.
35
- */
36
- format(value: string | Date, format?: string, zone?: string): string;
37
- /**
38
- * Formats a date using the standard time offset (ignoring daylight saving time) for the specified timezone.
39
- *
40
- * This method:
41
- * 1. Converts the input date to UTC.
42
- * 2. Calculates the standard UTC offset for the given timezone (based on January 1st to avoid DST).
43
- * 3. Applies the standard offset manually to the UTC time.
44
- * 4. Formats the result using the specified format and locale, without applying additional timezone shifts.
45
- *
46
- * @param value - The ISO string or Date object to format.
47
- * @param format - The Luxon format string (default: 'ff').
48
- * @param zone - Optional IANA timezone name (e.g., 'America/New_York'); if omitted, system local timezone is used.
49
- * @returns A formatted date string adjusted by standard time (non-DST).
50
- */
51
- formatDateWithStandardOffset(value: string | Date, format?: string, zone?: string): string;
52
- /**
53
- * Formats the input date using its original clock time, without converting based on timezone or DST
54
- *
55
- * This method:
56
- * 1. Converts the input date to ISO string.
57
- * 2. Calculates the date time in UTC, keeping the local time.
58
- * 3. Formats the result using the specified format and locale, without shifting timezones.
59
- *
60
- * @param value - The ISO string or Date object to format.
61
- * @param format - The format string (default: 'ff').
62
- * @returns A formatted date string without applying timezone.
63
- */
64
- formatWithoutTimeZone(value: string | Date, format?: string): string;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeService, never>;
66
- static ɵprov: i0.ɵɵInjectableDeclaration<TimeService>;
67
- }
@@ -1,38 +0,0 @@
1
- import { ConfigStateService } from './config-state.service';
2
- import * as i0 from "@angular/core";
3
- export declare class TimezoneService {
4
- protected readonly configState: ConfigStateService;
5
- protected readonly document: Document;
6
- private readonly cookieKey;
7
- private timeZoneNameFromSettings;
8
- isUtcClockEnabled: boolean | undefined;
9
- constructor();
10
- /**
11
- * Returns the effective timezone to be used across the application.
12
- *
13
- * This value is determined based on the clock kind setting in the configuration:
14
- * - If clock kind is not equal to Utc, the browser's local timezone is returned.
15
- * - If clock kind is equal to Utc, the configured timezone (`timeZoneNameFromSettings`) is returned if available;
16
- * otherwise, the browser's timezone is used as a fallback.
17
- *
18
- * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
19
- */
20
- get timezone(): string;
21
- /**
22
- * Retrieves the browser's local timezone based on the user's system settings.
23
- *
24
- * @returns The IANA timezone name (e.g., 'Europe/Istanbul', 'America/New_York').
25
- */
26
- getBrowserTimezone(): string;
27
- /**
28
- * Sets the application's timezone in a cookie to persist the user's selected timezone.
29
- *
30
- * This method sets the cookie only if the clock kind setting is set to UTC.
31
- * The cookie is stored using the key defined by `this.cookieKey` and applied to the root path (`/`).
32
- *
33
- * @param timezone - The IANA timezone name to be stored (e.g., 'Europe/Istanbul').
34
- */
35
- setTimezone(timezone: string): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneService, never>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<TimezoneService>;
38
- }
@@ -1,15 +0,0 @@
1
- import { TitleStrategy, RouterStateSnapshot } from '@angular/router';
2
- import { Title } from '@angular/platform-browser';
3
- import { LocalizationService } from './localization.service';
4
- import * as i0 from "@angular/core";
5
- export declare class AbpTitleStrategy extends TitleStrategy {
6
- protected readonly title: Title;
7
- protected readonly localizationService: LocalizationService;
8
- protected readonly disableProjectName: boolean;
9
- protected routerState: RouterStateSnapshot;
10
- langugageChange: import("@angular/core").Signal<string>;
11
- constructor();
12
- updateTitle(routerState: RouterStateSnapshot): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpTitleStrategy, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpTitleStrategy>;
15
- }
@@ -1,11 +0,0 @@
1
- import { TrackByFunction } from '@angular/core';
2
- import { O } from 'ts-toolbelt';
3
- import * as i0 from "@angular/core";
4
- export declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
5
- export declare const trackByDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
6
- export declare class TrackByService<ItemType = any> {
7
- by: <T = any>(key: keyof T) => TrackByFunction<T>;
8
- byDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
11
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AbpWindowService {
3
- readonly document: Document;
4
- readonly window: Window & typeof globalThis;
5
- readonly navigator: Navigator;
6
- copyToClipboard(text: string): Promise<void>;
7
- open(url?: string | URL, target?: string, features?: string): Window;
8
- reloadPage(): void;
9
- downloadBlob(blob: Blob, fileName: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AbpWindowService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<AbpWindowService>;
12
- }
@@ -1,22 +0,0 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- export declare abstract class ContainerStrategy {
3
- containerRef: ViewContainerRef;
4
- constructor(containerRef: ViewContainerRef);
5
- abstract getIndex(): number;
6
- prepare(): void;
7
- }
8
- export declare class ClearContainerStrategy extends ContainerStrategy {
9
- getIndex(): number;
10
- prepare(): void;
11
- }
12
- export declare class InsertIntoContainerStrategy extends ContainerStrategy {
13
- private index;
14
- constructor(containerRef: ViewContainerRef, index: number);
15
- getIndex(): number;
16
- }
17
- export declare const CONTAINER_STRATEGY: {
18
- Clear(containerRef: ViewContainerRef): ClearContainerStrategy;
19
- Append(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
20
- Prepend(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
21
- Insert(containerRef: ViewContainerRef, index: number): InsertIntoContainerStrategy;
22
- };
@@ -1,17 +0,0 @@
1
- export declare abstract class ContentSecurityStrategy {
2
- nonce?: string;
3
- constructor(nonce?: string);
4
- abstract applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
5
- }
6
- export declare class LooseContentSecurityStrategy extends ContentSecurityStrategy {
7
- constructor(nonce: string);
8
- applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
9
- }
10
- export declare class NoContentSecurityStrategy extends ContentSecurityStrategy {
11
- constructor();
12
- applyCSP(_: HTMLScriptElement | HTMLStyleElement): void;
13
- }
14
- export declare const CONTENT_SECURITY_STRATEGY: {
15
- Loose(nonce: string): LooseContentSecurityStrategy;
16
- None(): NoContentSecurityStrategy;
17
- };