@elite.framework/ng.core 2.0.20 → 2.0.23

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 (32) hide show
  1. package/abstracts/README.md +3 -0
  2. package/abstracts/index.d.ts +115 -0
  3. package/constants/README.md +3 -0
  4. package/constants/index.d.ts +347 -0
  5. package/directives/index.d.ts +45 -4
  6. package/fesm2022/elite.framework-ng.core-abstracts.mjs +196 -0
  7. package/fesm2022/elite.framework-ng.core-abstracts.mjs.map +1 -0
  8. package/fesm2022/elite.framework-ng.core-constants.mjs +365 -0
  9. package/fesm2022/elite.framework-ng.core-constants.mjs.map +1 -0
  10. package/fesm2022/elite.framework-ng.core-directives.mjs +205 -4
  11. package/fesm2022/elite.framework-ng.core-directives.mjs.map +1 -1
  12. package/fesm2022/elite.framework-ng.core-interceptors.mjs +3 -4
  13. package/fesm2022/elite.framework-ng.core-interceptors.mjs.map +1 -1
  14. package/fesm2022/elite.framework-ng.core-models.mjs +80 -1
  15. package/fesm2022/elite.framework-ng.core-models.mjs.map +1 -1
  16. package/fesm2022/elite.framework-ng.core-pipes.mjs +62 -4
  17. package/fesm2022/elite.framework-ng.core-pipes.mjs.map +1 -1
  18. package/fesm2022/elite.framework-ng.core-providers.mjs +155 -6
  19. package/fesm2022/elite.framework-ng.core-providers.mjs.map +1 -1
  20. package/fesm2022/elite.framework-ng.core-services.mjs +1728 -45
  21. package/fesm2022/elite.framework-ng.core-services.mjs.map +1 -1
  22. package/fesm2022/elite.framework-ng.core-tokens.mjs +37 -2
  23. package/fesm2022/elite.framework-ng.core-tokens.mjs.map +1 -1
  24. package/fesm2022/elite.framework-ng.core-utils.mjs +325 -1
  25. package/fesm2022/elite.framework-ng.core-utils.mjs.map +1 -1
  26. package/models/index.d.ts +483 -8
  27. package/package.json +9 -1
  28. package/pipes/index.d.ts +22 -4
  29. package/providers/index.d.ts +18 -3
  30. package/services/index.d.ts +1185 -20
  31. package/tokens/index.d.ts +36 -18
  32. package/utils/index.d.ts +94 -1
@@ -0,0 +1,3 @@
1
+ # @elite.framework/ng.core/abstracts
2
+
3
+ Secondary entry point of `@elite.framework/ng.core`. It can be used by importing from `@elite.framework/ng.core/abstracts`.
@@ -0,0 +1,115 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectorRef } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, CanActivateFn, Params } from '@angular/router';
5
+ import { Observable } from 'rxjs';
6
+ import { ControlValueAccessor } from '@angular/forms';
7
+ import { HttpHeaders } from '@angular/common/http';
8
+ import { LoginParams, AuthErrorFilter, AuthErrorEvent } from '@elite.framework/ng.core/models';
9
+
10
+ declare class AbstractsModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractsModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AbstractsModule, never, [typeof i1.CommonModule], never>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<AbstractsModule>;
14
+ }
15
+
16
+ interface IAbpGuard {
17
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
18
+ }
19
+
20
+ declare class AbstractNgModelComponent<T = any, U = T> implements ControlValueAccessor {
21
+ protected _value: T;
22
+ protected cdRef: ChangeDetectorRef;
23
+ onChange?: (value: T) => void;
24
+ onTouched?: () => void;
25
+ disabled?: boolean;
26
+ readonly?: boolean;
27
+ valueFn: (value: U, previousValue?: T) => T;
28
+ valueLimitFn: (value: T, previousValue?: T) => any;
29
+ set value(value: T);
30
+ get value(): T;
31
+ get defaultValue(): T;
32
+ notifyValueChange(): void;
33
+ writeValue(value: T): void;
34
+ registerOnChange(fn: any): void;
35
+ registerOnTouched(fn: any): void;
36
+ setDisabledState(isDisabled: boolean): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNgModelComponent<any, any>, never>;
38
+ 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, false, never>;
39
+ }
40
+
41
+ /**
42
+ * @deprecated Use `authGuard` *function* instead.
43
+ */
44
+ declare class AuthGuard implements IAbpGuard {
45
+ canActivate(): Observable<boolean> | boolean | UrlTree;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
47
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
48
+ }
49
+ declare const authGuard: CanActivateFn;
50
+
51
+ interface AbpAuthResponse {
52
+ access_token: string;
53
+ id_token: string;
54
+ token_type: string;
55
+ expires_in: number;
56
+ refresh_token: string;
57
+ scope: string;
58
+ state?: string;
59
+ tenant_domain?: string;
60
+ }
61
+
62
+ /**
63
+ * Abstract service for Authentication.
64
+ */
65
+ declare class AuthService implements IAuthService {
66
+ private warningMessage;
67
+ get oidc(): boolean;
68
+ set oidc(value: boolean);
69
+ init(): Promise<any>;
70
+ login(params: LoginParams): Observable<any>;
71
+ logout(queryParams?: Params): Observable<any>;
72
+ navigateToLogin(queryParams?: Params): void;
73
+ get isInternalAuth(): boolean;
74
+ get isAuthenticated(): boolean;
75
+ loginUsingGrant(grantType: string, parameters: object, headers?: HttpHeaders): Promise<AbpAuthResponse>;
76
+ getAccessTokenExpiration(): number;
77
+ getRefreshToken(): string;
78
+ getAccessToken(): string;
79
+ refreshToken(): Promise<AbpAuthResponse | any>;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
81
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
82
+ }
83
+ interface IAuthService {
84
+ oidc: boolean;
85
+ get isInternalAuth(): boolean;
86
+ get isAuthenticated(): boolean;
87
+ init(): Promise<any>;
88
+ logout(queryParams?: Params): Observable<any>;
89
+ navigateToLogin(queryParams?: Params): void;
90
+ login(params: LoginParams): Observable<any>;
91
+ loginUsingGrant(grantType: string, parameters: object, headers?: HttpHeaders): Promise<AbpAuthResponse>;
92
+ getAccessTokenExpiration(): number;
93
+ getRefreshToken(): string;
94
+ getAccessToken(): string;
95
+ refreshToken(): Promise<AbpAuthResponse>;
96
+ }
97
+
98
+ declare abstract class AbstractAuthErrorFilter<T, E> {
99
+ abstract get(id: string): T;
100
+ abstract add(filter: T): void;
101
+ abstract patch(item: Partial<T>): void;
102
+ abstract remove(id: string): void;
103
+ abstract run(event: E): boolean;
104
+ }
105
+ declare class AuthErrorFilterService<T = AuthErrorFilter, E = AuthErrorEvent> extends AbstractAuthErrorFilter<T, E> {
106
+ private warningMessage;
107
+ get(id: string): T;
108
+ add(filter: T): void;
109
+ patch(item: Partial<T>): void;
110
+ remove(id: string): void;
111
+ run(event: E): boolean;
112
+ }
113
+
114
+ export { AbstractAuthErrorFilter, AbstractNgModelComponent, AbstractsModule, AuthErrorFilterService, AuthGuard, AuthService, authGuard };
115
+ export type { AbpAuthResponse, IAbpGuard, IAuthService };
@@ -0,0 +1,3 @@
1
+ # @elite.framework/ng.core/constants
2
+
3
+ Secondary entry point of `@elite.framework/ng.core`. It can be used by importing from `@elite.framework/ng.core/constants`.
@@ -0,0 +1,347 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@angular/common';
3
+
4
+ declare class ConstantsModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConstantsModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConstantsModule, never, [typeof i1.CommonModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConstantsModule>;
8
+ }
9
+
10
+ declare const differentLocales: {
11
+ aa: string;
12
+ 'aa-DJ': string;
13
+ 'aa-ER': string;
14
+ 'aa-ET': string;
15
+ 'af-ZA': string;
16
+ 'agq-CM': string;
17
+ 'ak-GH': string;
18
+ 'am-ET': string;
19
+ 'ar-001': string;
20
+ arn: string;
21
+ 'arn-CL': string;
22
+ 'as-IN': string;
23
+ 'asa-TZ': string;
24
+ 'ast-ES': string;
25
+ 'az-Cyrl-AZ': string;
26
+ 'az-Latn-AZ': string;
27
+ ba: string;
28
+ 'ba-RU': string;
29
+ 'bas-CM': string;
30
+ 'be-BY': string;
31
+ 'bem-ZM': string;
32
+ 'bez-TZ': string;
33
+ 'bg-BG': string;
34
+ bin: string;
35
+ 'bin-NG': string;
36
+ 'bm-Latn': string;
37
+ 'bm-Latn-ML': string;
38
+ 'bn-BD': string;
39
+ 'bo-CN': string;
40
+ 'br-FR': string;
41
+ 'brx-IN': string;
42
+ 'bs-Cyrl-BA': string;
43
+ 'bs-Latn-BA': string;
44
+ byn: string;
45
+ 'byn-ER': string;
46
+ 'ca-ES': string;
47
+ 'ca-ES-valencia': string;
48
+ 'ce-RU': string;
49
+ 'cgg-UG': string;
50
+ 'chr-Cher': string;
51
+ 'chr-Cher-US': string;
52
+ co: string;
53
+ 'co-FR': string;
54
+ 'cs-CZ': string;
55
+ 'cu-RU': string;
56
+ 'cy-GB': string;
57
+ 'da-DK': string;
58
+ 'dav-KE': string;
59
+ 'de-DE': string;
60
+ 'dje-NE': string;
61
+ 'dsb-DE': string;
62
+ 'dua-CM': string;
63
+ dv: string;
64
+ 'dv-MV': string;
65
+ 'dyo-SN': string;
66
+ 'dz-BT': string;
67
+ 'ebu-KE': string;
68
+ 'ee-GH': string;
69
+ 'el-GR': string;
70
+ 'en-029': string;
71
+ 'en-ID': string;
72
+ 'en-US': string;
73
+ 'eo-001': string;
74
+ 'es-ES': string;
75
+ 'et-EE': string;
76
+ 'eu-ES': string;
77
+ 'ewo-CM': string;
78
+ 'fa-IR': string;
79
+ 'ff-Latn-SN': string;
80
+ 'ff-NG': string;
81
+ 'fi-FI': string;
82
+ 'fil-PH': string;
83
+ 'fo-FO': string;
84
+ 'fr-029': string;
85
+ 'fr-FR': string;
86
+ 'fur-IT': string;
87
+ 'fy-NL': string;
88
+ 'ga-IE': string;
89
+ 'gd-GB': string;
90
+ 'gl-ES': string;
91
+ gn: string;
92
+ 'gn-PY': string;
93
+ 'gsw-CH': string;
94
+ 'gu-IN': string;
95
+ 'guz-KE': string;
96
+ 'gv-IM': string;
97
+ 'ha-Latn': string;
98
+ 'ha-Latn-GH': string;
99
+ 'ha-Latn-NE': string;
100
+ 'ha-Latn-NG': string;
101
+ 'haw-US': string;
102
+ 'he-IL': string;
103
+ 'hi-IN': string;
104
+ 'hr-HR': string;
105
+ 'hsb-DE': string;
106
+ 'hu-HU': string;
107
+ 'hy-AM': string;
108
+ 'ia-001': string;
109
+ 'ia-FR': string;
110
+ ibb: string;
111
+ 'ibb-NG': string;
112
+ 'id-ID': string;
113
+ 'ig-NG': string;
114
+ 'ii-CN': string;
115
+ 'is-IS': string;
116
+ 'it-IT': string;
117
+ iu: string;
118
+ 'iu-Cans': string;
119
+ 'iu-Cans-CA': string;
120
+ 'iu-Latn': string;
121
+ 'iu-Latn-CA': string;
122
+ 'ja-JP': string;
123
+ 'jgo-CM': string;
124
+ 'jmc-TZ': string;
125
+ 'jv-Java': string;
126
+ 'jv-Java-ID': string;
127
+ 'jv-Latn': string;
128
+ 'jv-Latn-ID': string;
129
+ 'ka-GE': string;
130
+ 'kab-DZ': string;
131
+ 'kam-KE': string;
132
+ 'kde-TZ': string;
133
+ 'kea-CV': string;
134
+ 'khq-ML': string;
135
+ 'ki-KE': string;
136
+ 'kk-KZ': string;
137
+ 'kkj-CM': string;
138
+ 'kl-GL': string;
139
+ 'kln-KE': string;
140
+ 'km-KH': string;
141
+ 'kn-IN': string;
142
+ 'ko-KR': string;
143
+ 'kok-IN': string;
144
+ kr: string;
145
+ 'kr-NG': string;
146
+ 'ks-Arab': string;
147
+ 'ks-Arab-IN': string;
148
+ 'ks-Deva': string;
149
+ 'ks-Deva-IN': string;
150
+ 'ksb-TZ': string;
151
+ 'ksf-CM': string;
152
+ 'ksh-DE': string;
153
+ 'ku-Arab': string;
154
+ 'ku-Arab-IQ': string;
155
+ 'ku-Arab-IR': string;
156
+ 'kw-GB': string;
157
+ 'ky-KG': string;
158
+ la: string;
159
+ 'la-001': string;
160
+ 'lag-TZ': string;
161
+ 'lb-LU': string;
162
+ 'lg-UG': string;
163
+ 'lkt-US': string;
164
+ 'ln-CD': string;
165
+ 'lo-LA': string;
166
+ 'lrc-IR': string;
167
+ 'lt-LT': string;
168
+ 'lu-CD': string;
169
+ 'luo-KE': string;
170
+ 'luy-KE': string;
171
+ 'lv-LV': string;
172
+ 'mas-KE': string;
173
+ 'mer-KE': string;
174
+ 'mfe-MU': string;
175
+ 'mg-MG': string;
176
+ 'mgh-MZ': string;
177
+ 'mgo-CM': string;
178
+ 'mi-NZ': string;
179
+ 'mk-MK': string;
180
+ 'ml-IN': string;
181
+ 'mn-Cyrl': string;
182
+ 'mn-MN': string;
183
+ 'mn-Mong': string;
184
+ 'mn-Mong-CN': string;
185
+ 'mn-Mong-MN': string;
186
+ mni: string;
187
+ 'mni-IN': string;
188
+ moh: string;
189
+ 'moh-CA': string;
190
+ 'mr-IN': string;
191
+ 'ms-MY': string;
192
+ 'mt-MT': string;
193
+ 'mua-CM': string;
194
+ 'my-MM': string;
195
+ 'mzn-IR': string;
196
+ 'naq-NA': string;
197
+ 'nb-NO': string;
198
+ 'nd-ZW': string;
199
+ 'ne-NP': string;
200
+ 'nl-NL': string;
201
+ 'nmg-CM': string;
202
+ 'nn-NO': string;
203
+ 'nnh-CM': string;
204
+ no: string;
205
+ nqo: string;
206
+ 'nqo-GN': string;
207
+ nr: string;
208
+ 'nr-ZA': string;
209
+ nso: string;
210
+ 'nso-ZA': string;
211
+ 'nus-SS': string;
212
+ 'nyn-UG': string;
213
+ oc: string;
214
+ 'oc-FR': string;
215
+ 'om-ET': string;
216
+ 'or-IN': string;
217
+ 'os-GE': string;
218
+ 'pa-Arab-PK': string;
219
+ 'pa-IN': string;
220
+ pap: string;
221
+ 'pap-029': string;
222
+ 'pl-PL': string;
223
+ 'prg-001': string;
224
+ prs: string;
225
+ 'prs-AF': string;
226
+ 'ps-AF': string;
227
+ 'pt-BR': string;
228
+ quc: string;
229
+ 'quc-Latn': string;
230
+ 'quc-Latn-GT': string;
231
+ quz: string;
232
+ 'quz-BO': string;
233
+ 'quz-EC': string;
234
+ 'quz-PE': string;
235
+ 'rm-CH': string;
236
+ 'rn-BI': string;
237
+ 'ro-RO': string;
238
+ 'rof-TZ': string;
239
+ 'ru-RU': string;
240
+ 'rw-RW': string;
241
+ 'rwk-TZ': string;
242
+ sa: string;
243
+ 'sa-IN': string;
244
+ 'sah-RU': string;
245
+ 'saq-KE': string;
246
+ 'sbp-TZ': string;
247
+ 'sd-Arab': string;
248
+ 'sd-Arab-PK': string;
249
+ 'sd-Deva': string;
250
+ 'sd-Deva-IN': string;
251
+ 'se-NO': string;
252
+ 'seh-MZ': string;
253
+ 'ses-ML': string;
254
+ 'sg-CF': string;
255
+ 'shi-Latn-MA': string;
256
+ 'shi-Tfng-MA': string;
257
+ 'si-LK': string;
258
+ 'sk-SK': string;
259
+ 'sl-SI': string;
260
+ sma: string;
261
+ 'sma-NO': string;
262
+ 'sma-SE': string;
263
+ smj: string;
264
+ 'smj-NO': string;
265
+ 'smj-SE': string;
266
+ 'smn-FI': string;
267
+ sms: string;
268
+ 'sms-FI': string;
269
+ 'sn-Latn': string;
270
+ 'sn-Latn-ZW': string;
271
+ 'so-SO': string;
272
+ 'sq-AL': string;
273
+ 'sr-Cyrl-RS': string;
274
+ 'sr-Latn-RS': string;
275
+ ss: string;
276
+ 'ss-SZ': string;
277
+ 'ss-ZA': string;
278
+ ssy: string;
279
+ 'ssy-ER': string;
280
+ st: string;
281
+ 'st-LS': string;
282
+ 'st-ZA': string;
283
+ 'sv-SE': string;
284
+ 'sw-TZ': string;
285
+ syr: string;
286
+ 'syr-SY': string;
287
+ 'ta-IN': string;
288
+ 'te-IN': string;
289
+ 'teo-UG': string;
290
+ 'tg-Cyrl': string;
291
+ 'tg-Cyrl-TJ': string;
292
+ 'th-TH': string;
293
+ 'ti-ET': string;
294
+ tig: string;
295
+ 'tig-ER': string;
296
+ 'tk-TM': string;
297
+ tn: string;
298
+ 'tn-BW': string;
299
+ 'tn-ZA': string;
300
+ 'to-TO': string;
301
+ 'tr-TR': string;
302
+ ts: string;
303
+ 'ts-ZA': string;
304
+ 'tt-RU': string;
305
+ 'twq-NE': string;
306
+ 'tzm-Arab': string;
307
+ 'tzm-Arab-MA': string;
308
+ 'tzm-Latn': string;
309
+ 'tzm-Latn-DZ': string;
310
+ 'tzm-Latn-MA': string;
311
+ 'tzm-Tfng': string;
312
+ 'tzm-Tfng-MA': string;
313
+ 'ug-CN': string;
314
+ 'uk-UA': string;
315
+ 'ur-PK': string;
316
+ 'uz-Arab-AF': string;
317
+ 'uz-Cyrl-UZ': string;
318
+ 'uz-Latn-UZ': string;
319
+ 'vai-Latn-LR': string;
320
+ 'vai-Vaii-LR': string;
321
+ ve: string;
322
+ 've-ZA': string;
323
+ 'vi-VN': string;
324
+ 'vo-001': string;
325
+ 'vun-TZ': string;
326
+ 'wae-CH': string;
327
+ wal: string;
328
+ 'wal-ET': string;
329
+ 'wo-SN': string;
330
+ 'xh-ZA': string;
331
+ 'xog-UG': string;
332
+ 'yav-CM': string;
333
+ 'yi-001': string;
334
+ 'yo-NG': string;
335
+ 'zgh-Tfng': string;
336
+ 'zgh-Tfng-MA': string;
337
+ 'zh-CN': string;
338
+ 'zh-HK': string;
339
+ 'zh-MO': string;
340
+ 'zh-SG': string;
341
+ 'zh-TW': string;
342
+ 'zu-ZA': string;
343
+ };
344
+
345
+ declare const DEFAULT_DYNAMIC_LAYOUTS: Map<string, string>;
346
+
347
+ export { ConstantsModule, DEFAULT_DYNAMIC_LAYOUTS, differentLocales };
@@ -1,13 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, ViewContainerRef, OnChanges, ElementRef, Renderer2, SimpleChanges } from '@angular/core';
3
- import { PermissionsService } from '@elite.framework/ng.core/services';
2
+ import { TemplateRef, ViewContainerRef, OnChanges, ElementRef, Renderer2, SimpleChanges, OnInit, Type, Injector, OnDestroy } from '@angular/core';
3
+ import { PermissionCheckerService, ReplaceableComponentsService, SubscriptionService } from '@elite.framework/ng.core/services';
4
+ import { ReplaceableComponents, Dictionary } from '@elite.framework/ng.core/models';
5
+ import { Subscription, Observable } from 'rxjs';
4
6
 
5
7
  declare class HasPermissionDirective {
6
8
  private templateRef;
7
9
  private viewContainer;
8
10
  private permissionsService;
9
11
  private permissions;
10
- constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, permissionsService: PermissionsService);
12
+ constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, permissionsService: PermissionCheckerService);
11
13
  /**
12
14
  * يقبل صلاحية وحدة (string) أو قائمة صلاحيات (string[])
13
15
  */
@@ -35,4 +37,43 @@ declare class RtlLang implements OnChanges {
35
37
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtlLang, "[appRtlLang]", never, { "lang": { "alias": "appRtlLang"; "required": false; }; }, {}, never, never, true, never>;
36
38
  }
37
39
 
38
- export { AutofocusDirective, HasPermissionDirective, RtlLang };
40
+ declare class ReplaceableTemplateDirective implements OnInit, OnChanges {
41
+ private injector;
42
+ private templateRef;
43
+ private vcRef;
44
+ private replaceableComponents;
45
+ private subscription;
46
+ data: ReplaceableComponents.ReplaceableTemplateDirectiveInput<any, any>;
47
+ providedData: ReplaceableComponents.ReplaceableTemplateData<any, any>;
48
+ context: any;
49
+ externalComponent: Type<any>;
50
+ defaultComponentRef: any;
51
+ defaultComponentSubscriptions: Dictionary<Subscription>;
52
+ initialized: boolean;
53
+ constructor(injector: Injector, templateRef: TemplateRef<any>, vcRef: ViewContainerRef, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
54
+ ngOnInit(): void;
55
+ ngOnChanges(changes: SimpleChanges): void;
56
+ setDefaultComponentInputs(): void;
57
+ setProvidedData(): void;
58
+ resetDefaultComponent(): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableTemplateDirective, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ReplaceableTemplateDirective, "[abpReplaceableTemplate]", never, { "data": { "alias": "abpReplaceableTemplate"; "required": false; }; }, {}, never, never, true, never>;
61
+ }
62
+
63
+ declare class VisibleDirective implements OnDestroy, OnInit {
64
+ private viewContainerRef;
65
+ private templateRef;
66
+ conditionSubscription: Subscription | undefined;
67
+ isVisible: boolean | undefined;
68
+ set frameworkVisible(value: boolean | Promise<boolean> | Observable<boolean> | undefined | null);
69
+ private condition$;
70
+ constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef<unknown>);
71
+ ngOnInit(): void;
72
+ ngOnDestroy(): void;
73
+ private subscribeToCondition;
74
+ private updateVisibility;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibleDirective, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VisibleDirective, "[frameworkVisible]", never, { "frameworkVisible": { "alias": "frameworkVisible"; "required": false; }; }, {}, never, never, true, never>;
77
+ }
78
+
79
+ export { AutofocusDirective, HasPermissionDirective, ReplaceableTemplateDirective, RtlLang, VisibleDirective };