@ngrdt/core 0.0.92 → 0.0.95

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 (2) hide show
  1. package/index.d.ts +9 -4
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -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(message: string): void;
371
- warn(message: string): void;
372
- error(message: string): void;
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.92",
3
+ "version": "0.0.95",
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.92",
8
+ "@ngrdt/utils": "^0.0.95",
9
9
  "date-fns": ">=4.1.0"
10
10
  },
11
11
  "sideEffects": false,