@ngrdt/core 0.0.92 → 0.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +11 -6
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ interface RdtOnViewWillLeave {
|
|
|
72
72
|
interface RdtOnViewWillEnter {
|
|
73
73
|
rdtOnViewWillEnter(): void;
|
|
74
74
|
}
|
|
75
|
-
declare const RDT_GUARDED_COMPONENT: InjectionToken<RdtCanLeaveView | RdtCanEnterView | RdtOnViewWillEnter | RdtOnViewWillLeave
|
|
75
|
+
declare const RDT_GUARDED_COMPONENT: InjectionToken<RdtIsActive | RdtCanLeaveView | RdtCanEnterView | RdtOnViewWillEnter | RdtOnViewWillLeave>;
|
|
76
76
|
declare const RDT_CONTAINER: InjectionToken<RdtContainerDirective>;
|
|
77
77
|
declare function canTransition$(from: Nullable<RdtContainerDirective>, to: Nullable<RdtContainerDirective>): rxjs.Observable<boolean>;
|
|
78
78
|
|
|
@@ -90,7 +90,7 @@ declare class RdtChildDirective implements OnInit, OnDestroy {
|
|
|
90
90
|
readonly guardStore: RdtComponentGuardStoreService;
|
|
91
91
|
readonly destroyRef: DestroyRef;
|
|
92
92
|
readonly container: RdtContainerDirective | null;
|
|
93
|
-
readonly guardedComponent: RdtCanLeaveView | RdtCanEnterView | RdtOnViewWillEnter | RdtOnViewWillLeave |
|
|
93
|
+
readonly guardedComponent: RdtIsActive | RdtCanLeaveView | RdtCanEnterView | RdtOnViewWillEnter | RdtOnViewWillLeave | null;
|
|
94
94
|
ngOnInit(): void;
|
|
95
95
|
ngOnDestroy(): void;
|
|
96
96
|
isActive(): boolean;
|
|
@@ -366,13 +366,18 @@ type RdtCreateLinkedStateParams<TInput> = {
|
|
|
366
366
|
};
|
|
367
367
|
declare function rdtCreateLinkedState<TInput>(params: RdtCreateLinkedStateParams<TInput>): RdtLinkedState<TInput>;
|
|
368
368
|
|
|
369
|
+
interface RdtNotificationSimpleConfig {
|
|
370
|
+
message: string;
|
|
371
|
+
header?: string;
|
|
372
|
+
duration?: number;
|
|
373
|
+
}
|
|
369
374
|
interface RdtNotificationServiceInt {
|
|
370
|
-
success(
|
|
371
|
-
warn(
|
|
372
|
-
error(
|
|
375
|
+
success(params: string | RdtNotificationSimpleConfig): void;
|
|
376
|
+
warn(params: string | RdtNotificationSimpleConfig): void;
|
|
377
|
+
error(params: string | RdtNotificationSimpleConfig): void;
|
|
373
378
|
}
|
|
374
379
|
|
|
375
380
|
declare const RDT_NOTIFICATION_SERVICE_PROVIDER: InjectionToken<RdtNotificationServiceInt>;
|
|
376
381
|
|
|
377
382
|
export { RDT_AUTOFOCUSABLE_COMPONENT, RDT_CONTAINER, RDT_DEFAULT_DISABLED_KEY, RDT_DEFAULT_LOADING_KEY, RDT_DEFAULT_LOCALE_STORE, RDT_DIALOG_SERVICE_PROVIDER, RDT_GUARDED_COMPONENT, RDT_LOCALE_STORE_PROVIDER, RDT_NOTIFICATION_SERVICE_PROVIDER, RdtAutoFocusOnInitDirective, RdtAutofocusableDirective, RdtChildDirective, RdtComponentGuardStoreService, RdtComponentOutletDirective, RdtContainerDirective, RdtFormatPipe, RdtInteractiveElementComponent, RdtLocaleFormat, RdtTranslatePipe, RdtTranslateService, canTransition$, csRdtDictionary, csRdtLocaleFormat, enUsRdtDictionary, enUsRdtLocaleFormat, getRdtAutofocusable, rdtCreateLinkedState, rdtGetAllResultsTrue$, rdtGetResult$ };
|
|
378
|
-
export type { RdtAlertDialogConfig, RdtAutofocusable, RdtBooleanResult, RdtCanEnterView, RdtCanLeaveView, RdtConfirmDialogConfig, RdtCreateLinkedStateParams, RdtCurrencyCode, RdtDialogServiceInt, RdtDictionary, RdtIsActive, RdtLinkedState, RdtLocale, RdtLocaleCode, RdtLocaleFormatConfig, RdtLocaleFormatInt, RdtLocaleStore, RdtNotificationServiceInt, RdtOnViewWillEnter, RdtOnViewWillLeave, RdtTranslateKey, RdtTranslateParams, RdtTranslateValue };
|
|
383
|
+
export type { RdtAlertDialogConfig, RdtAutofocusable, RdtBooleanResult, RdtCanEnterView, RdtCanLeaveView, RdtConfirmDialogConfig, RdtCreateLinkedStateParams, RdtCurrencyCode, RdtDialogServiceInt, RdtDictionary, RdtIsActive, RdtLinkedState, RdtLocale, RdtLocaleCode, RdtLocaleFormatConfig, RdtLocaleFormatInt, RdtLocaleStore, RdtNotificationServiceInt, RdtNotificationSimpleConfig, RdtOnViewWillEnter, RdtOnViewWillLeave, RdtTranslateKey, RdtTranslateParams, RdtTranslateValue };
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrdt/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.94",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=20.0.0",
|
|
6
6
|
"@angular/common": ">=20.0.0",
|
|
7
7
|
"rxjs": ">=7.0.0",
|
|
8
|
-
"@ngrdt/utils": "^0.0.
|
|
8
|
+
"@ngrdt/utils": "^0.0.94",
|
|
9
9
|
"date-fns": ">=4.1.0"
|
|
10
10
|
},
|
|
11
11
|
"sideEffects": false,
|