@dereekb/dbx-core 12.6.21 → 12.7.0

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 (89) hide show
  1. package/esm2022/lib/action/action.machine.mjs +4 -5
  2. package/esm2022/lib/action/action.store.mjs +11 -7
  3. package/esm2022/lib/action/action.store.source.provide.mjs +4 -9
  4. package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +9 -9
  5. package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +12 -14
  6. package/esm2022/lib/action/directive/context/action.directive.mjs +7 -5
  7. package/esm2022/lib/action/directive/debug/action.logger.directive.mjs +9 -9
  8. package/esm2022/lib/action/directive/map/action.map.directive.mjs +3 -5
  9. package/esm2022/lib/action/directive/map/action.map.mjs +5 -4
  10. package/esm2022/lib/action/directive/map/action.map.working.disable.directive.mjs +11 -12
  11. package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +7 -11
  12. package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +7 -11
  13. package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +10 -13
  14. package/esm2022/lib/action/directive/state/action.error.handler.directive.mjs +9 -9
  15. package/esm2022/lib/action/directive/state/action.handler.directive.mjs +3 -5
  16. package/esm2022/lib/action/directive/state/action.success.directive.mjs +1 -1
  17. package/esm2022/lib/action/directive/state/action.success.handler.directive.mjs +9 -9
  18. package/esm2022/lib/action/directive/state/action.value.directive.mjs +6 -15
  19. package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +18 -19
  20. package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +5 -6
  21. package/esm2022/lib/button/action/action.button.directive.mjs +10 -17
  22. package/esm2022/lib/button/action/action.button.trigger.directive.mjs +9 -9
  23. package/esm2022/lib/button/button.directive.mjs +11 -16
  24. package/esm2022/lib/button/button.loading.directive.mjs +7 -6
  25. package/esm2022/lib/button/router/button.segue.directive.mjs +6 -7
  26. package/esm2022/lib/filter/filter.abstract.connector.directive.mjs +3 -5
  27. package/esm2022/lib/filter/filter.map.directive.mjs +3 -5
  28. package/esm2022/lib/index.mjs +2 -2
  29. package/esm2022/lib/injection/injection.context.directive.mjs +2 -2
  30. package/esm2022/lib/injection/injection.instance.mjs +3 -3
  31. package/esm2022/lib/injection/injection.mjs +1 -1
  32. package/esm2022/lib/router/model/model.router.id.directive.mjs +9 -13
  33. package/esm2022/lib/router/model/model.router.key.directive.mjs +9 -12
  34. package/esm2022/lib/router/model/model.router.uid.directive.mjs +8 -8
  35. package/esm2022/lib/router/router/transition/transition.watcher.directive.mjs +8 -11
  36. package/esm2022/lib/rxjs/clean.mjs +28 -0
  37. package/esm2022/lib/rxjs/destroy.mjs +13 -0
  38. package/esm2022/lib/rxjs/index.mjs +7 -0
  39. package/esm2022/lib/rxjs/loading.mjs +19 -0
  40. package/esm2022/lib/rxjs/lockset.mjs +56 -0
  41. package/esm2022/lib/rxjs/rxjs.directive.mjs +42 -0
  42. package/esm2022/lib/rxjs/subscription.mjs +16 -0
  43. package/esm2022/lib/view/if.directive.mjs +7 -6
  44. package/fesm2022/dereekb-dbx-core.mjs +306 -245
  45. package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
  46. package/lib/action/action.machine.d.ts +2 -4
  47. package/lib/action/action.store.d.ts +2 -2
  48. package/lib/action/action.store.source.provide.d.ts +1 -4
  49. package/lib/action/directive/auto/action.automodify.directive.d.ts +2 -4
  50. package/lib/action/directive/auto/action.autotrigger.directive.d.ts +3 -5
  51. package/lib/action/directive/context/action.directive.d.ts +1 -3
  52. package/lib/action/directive/debug/action.logger.directive.d.ts +2 -4
  53. package/lib/action/directive/map/action.map.directive.d.ts +1 -3
  54. package/lib/action/directive/map/action.map.working.disable.directive.d.ts +2 -5
  55. package/lib/action/directive/state/action.disabled.directive.d.ts +1 -4
  56. package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +1 -4
  57. package/lib/action/directive/state/action.enforce.modified.directive.d.ts +2 -5
  58. package/lib/action/directive/state/action.error.handler.directive.d.ts +2 -4
  59. package/lib/action/directive/state/action.handler.directive.d.ts +1 -3
  60. package/lib/action/directive/state/action.success.directive.d.ts +1 -2
  61. package/lib/action/directive/state/action.success.handler.directive.d.ts +2 -4
  62. package/lib/action/directive/state/action.value.directive.d.ts +1 -5
  63. package/lib/action/directive/state/action.value.stream.directive.d.ts +2 -6
  64. package/lib/action/directive/state/action.value.trigger.directive.d.ts +4 -5
  65. package/lib/button/action/action.button.directive.d.ts +2 -6
  66. package/lib/button/action/action.button.trigger.directive.d.ts +2 -4
  67. package/lib/button/button.directive.d.ts +3 -5
  68. package/lib/button/button.loading.directive.d.ts +2 -2
  69. package/lib/button/router/button.segue.directive.d.ts +1 -2
  70. package/lib/filter/filter.abstract.connector.directive.d.ts +1 -3
  71. package/lib/filter/filter.map.directive.d.ts +1 -3
  72. package/lib/index.d.ts +1 -1
  73. package/lib/injection/injection.d.ts +2 -0
  74. package/lib/router/model/model.router.id.directive.d.ts +2 -5
  75. package/lib/router/model/model.router.key.directive.d.ts +2 -5
  76. package/lib/router/model/model.router.uid.directive.d.ts +2 -4
  77. package/lib/router/router/transition/transition.watcher.directive.d.ts +3 -5
  78. package/lib/rxjs/clean.d.ts +16 -0
  79. package/lib/rxjs/destroy.d.ts +7 -0
  80. package/lib/rxjs/index.d.ts +6 -0
  81. package/lib/rxjs/loading.d.ts +13 -0
  82. package/lib/rxjs/lockset.d.ts +47 -0
  83. package/lib/{subscription/subscription.directive.d.ts → rxjs/rxjs.directive.d.ts} +4 -0
  84. package/lib/rxjs/subscription.d.ts +9 -0
  85. package/lib/view/if.directive.d.ts +2 -2
  86. package/package.json +1 -1
  87. package/esm2022/lib/subscription/index.mjs +0 -2
  88. package/esm2022/lib/subscription/subscription.directive.mjs +0 -38
  89. package/lib/subscription/index.d.ts +0 -1
@@ -3,7 +3,6 @@ import { ActionContextStoreSource } from './action.store.source';
3
3
  import { DbxActionContextBaseSource } from './action.holder';
4
4
  import { Destroyable, type Maybe } from '@dereekb/util';
5
5
  import { Work } from '@dereekb/rxjs';
6
- import { OnDestroy } from '@angular/core';
7
6
  import * as i0 from "@angular/core";
8
7
  /**
9
8
  * DbxActionContextMachine configuration.
@@ -40,11 +39,10 @@ export declare class DbxActionContextMachine<T = unknown, O = unknown> extends D
40
39
  get isShutdown(): boolean;
41
40
  }
42
41
  /**
43
- * DbxActionContextMachine that implements OnDestroy and is configured for use as a Service/Injectable.
42
+ * DbxActionContextMachine configured for use as a Service/Injectable.
44
43
  */
45
- export declare class DbxActionContextMachineAsService<T = unknown, O = unknown> extends DbxActionContextMachine<T, O> implements OnDestroy {
44
+ export declare class DbxActionContextMachineAsService<T = unknown, O = unknown> extends DbxActionContextMachine<T, O> {
46
45
  constructor();
47
- ngOnDestroy(): void;
48
46
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionContextMachineAsService<any, any>, never>;
49
47
  static ɵprov: i0.ɵɵInjectableDeclaration<DbxActionContextMachineAsService<any, any>>;
50
48
  }
@@ -2,7 +2,7 @@ import { OnDestroy } from '@angular/core';
2
2
  import { ComponentStore } from '@ngrx/component-store';
3
3
  import { Observable } from 'rxjs';
4
4
  import { BooleanStringKeyArray, Maybe, ReadableError } from '@dereekb/util';
5
- import { LoadingStateType, LoadingState, LockSet } from '@dereekb/rxjs';
5
+ import { LoadingStateType, LoadingState } from '@dereekb/rxjs';
6
6
  import { DbxActionRejectedPair, DbxActionState, DbxActionSuccessPair, DbxActionWorkOrWorkProgress, DbxActionWorkProgress } from './action';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare function isActionContextEnabled(state: ActionContextState): boolean;
@@ -50,7 +50,7 @@ export interface ActionContextState<T = unknown, O = unknown> {
50
50
  readonly errorCount?: number;
51
51
  }
52
52
  export declare class ActionContextStore<T = unknown, O = unknown> extends ComponentStore<ActionContextState<T, O>> implements OnDestroy {
53
- readonly lockSet: LockSet;
53
+ readonly lockSet: import("@dereekb/rxjs").LockSet;
54
54
  constructor();
55
55
  readonly actionState$: Observable<DbxActionState>;
56
56
  /**
@@ -1,8 +1,5 @@
1
1
  import { type Provider, type Type } from '@angular/core';
2
- import { ActionContextStoreSource, DbxActionContextStoreSourceInstance, SecondaryActionContextStoreSource } from './action.store.source';
3
- import { DbxActionContextMachineAsService } from './action.machine';
4
- export declare const actionContextStoreSourceInstanceFactory: (source: ActionContextStoreSource) => DbxActionContextStoreSourceInstance<unknown, unknown>;
5
- export declare const actionContextStoreSourceMachineFactory: () => DbxActionContextMachineAsService<unknown, unknown>;
2
+ import { ActionContextStoreSource, SecondaryActionContextStoreSource } from './action.store.source';
6
3
  /**
7
4
  * Provides an ActionContextStoreSource, as well as an DbxActionContextStoreSourceInstance.
8
5
  */
@@ -1,13 +1,11 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { AbstractSubscriptionDirective } from '../../../subscription';
3
1
  import { Observable } from 'rxjs';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DbxActionAutoModifyDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
4
+ export declare class DbxActionAutoModifyDirective<T, O> {
7
5
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
8
6
  readonly autoModifyEnabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
9
7
  readonly markAsModified$: Observable<void>;
10
- ngOnInit(): void;
8
+ constructor();
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionAutoModifyDirective<any, any>, never>;
12
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionAutoModifyDirective<any, any>, "dbxActionAutoModify, [dbxActionAutoModify]", never, { "autoModifyEnabled": { "alias": "dbxActionAutoModify"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
11
  }
@@ -1,5 +1,4 @@
1
- import { OnInit, OnDestroy, Signal } from '@angular/core';
2
- import { AbstractSubscriptionDirective } from '../../../subscription';
1
+ import { Signal } from '@angular/core';
3
2
  import { Observable } from 'rxjs';
4
3
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
4
  import { type Maybe } from '@dereekb/util';
@@ -9,7 +8,7 @@ import * as i0 from "@angular/core";
9
8
  *
10
9
  * When using auto triggers be sure to make sure that the action is not triggering too often due to misconfiguration.
11
10
  */
12
- export declare class DbxActionAutoTriggerDirective<T = unknown, O = unknown> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
11
+ export declare class DbxActionAutoTriggerDirective<T = unknown, O = unknown> {
13
12
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
14
13
  readonly triggerDebounce: import("@angular/core").InputSignal<Maybe<number>>;
15
14
  readonly triggerThrottle: import("@angular/core").InputSignal<Maybe<number>>;
@@ -31,8 +30,7 @@ export declare class DbxActionAutoTriggerDirective<T = unknown, O = unknown> ext
31
30
  private readonly _isTriggerLimited$;
32
31
  readonly isTriggerAllowedToRun$: Observable<boolean>;
33
32
  readonly automaticTrigger$: Observable<void>;
34
- ngOnInit(): void;
35
- ngOnDestroy(): void;
33
+ constructor();
36
34
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionAutoTriggerDirective<any, any>, never>;
37
35
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionAutoTriggerDirective<any, any>, "dbxActionAutoTrigger,[dbxActionAutoTrigger]", never, { "triggerDebounce": { "alias": "triggerDebounce"; "required": false; "isSignal": true; }; "triggerThrottle": { "alias": "triggerThrottle"; "required": false; "isSignal": true; }; "triggerErrorThrottle": { "alias": "triggerErrorThrottle"; "required": false; "isSignal": true; }; "maxErrorsForThrottle": { "alias": "maxErrorsForThrottle"; "required": false; "isSignal": true; }; "triggerLimit": { "alias": "triggerLimit"; "required": false; "isSignal": true; }; "triggerEnabled": { "alias": "dbxActionAutoTrigger"; "required": false; "isSignal": true; }; "useFastTriggerPreset": { "alias": "useFastTriggerPreset"; "required": false; "isSignal": true; }; "useInstantTriggerPreset": { "alias": "useInstantTriggerPreset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
38
36
  }
@@ -1,12 +1,10 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { DbxActionContextBaseSource } from '../../action.holder';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Provides an DbxActionContext.
6
5
  */
7
- export declare class DbxActionDirective<T = unknown, O = unknown> extends DbxActionContextBaseSource<T, O> implements OnDestroy {
6
+ export declare class DbxActionDirective<T = unknown, O = unknown> extends DbxActionContextBaseSource<T, O> {
8
7
  constructor();
9
- ngOnDestroy(): void;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDirective<any, any>, never>;
11
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDirective<any, any>, "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", ["action", "dbxAction"], {}, {}, never, never, true, never>;
12
10
  }
@@ -1,13 +1,11 @@
1
- import { OnInit } from '@angular/core';
2
- import { AbstractSubscriptionDirective } from '../../../subscription';
3
1
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * Prints out the current state to the console. Useful for debugging.
7
5
  */
8
- export declare class DbxActionContextLoggerDirective extends AbstractSubscriptionDirective implements OnInit {
6
+ export declare class DbxActionContextLoggerDirective {
9
7
  readonly source: DbxActionContextStoreSourceInstance<any, any>;
10
- ngOnInit(): void;
8
+ constructor();
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionContextLoggerDirective, never>;
12
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionContextLoggerDirective, "[dbxActionLogger],[dbxActionContextLogger]", never, {}, {}, never, never, true, never>;
13
11
  }
@@ -1,4 +1,3 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { ActionContextStoreSourceMap } from './action.map';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
@@ -6,9 +5,8 @@ import * as i0 from "@angular/core";
6
5
  *
7
6
  * This is useful for passing action contexts around via the providers instead of explicit injection.
8
7
  */
9
- export declare class DbxActionContextMapDirective implements OnDestroy {
8
+ export declare class DbxActionContextMapDirective {
10
9
  readonly actionContextStoreSourceMap: ActionContextStoreSourceMap<any, any>;
11
- ngOnDestroy(): void;
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionContextMapDirective, never>;
13
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionContextMapDirective, "[dbxActionContextMap]", ["actionMap"], {}, {}, never, never, true, never>;
14
12
  }
@@ -1,19 +1,16 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = "action_map_working_disable";
7
5
  /**
8
6
  * Used to communicate with an dbxActionMap and set the ActionContextStore to be disabled if any other element in the map is working.
9
7
  */
10
- export declare class DbxActionMapWorkingDisableDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
8
+ export declare class DbxActionMapWorkingDisableDirective {
11
9
  private readonly _actionContextStoreSourceMap;
12
10
  readonly source: DbxActionContextStoreSourceInstance<any, any>;
13
11
  readonly disabledKey: import("@angular/core").InputSignal<Maybe<string>>;
14
12
  readonly areAnySourcesWorking$: import("rxjs").Observable<boolean>;
15
- ngOnInit(): void;
16
- ngOnDestroy(): void;
13
+ constructor();
17
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionMapWorkingDisableDirective, never>;
18
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionMapWorkingDisableDirective, "[dbxActionMapWorkingDisable]", never, { "disabledKey": { "alias": "dbxActionMapWorkingDisable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
16
  }
@@ -1,18 +1,15 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare const APP_ACTION_DISABLED_DIRECTIVE_KEY = "dbx_action_disabled";
7
5
  /**
8
6
  * Directive that allows disabling an action using the inputs.
9
7
  */
10
- export declare class DbxActionDisabledDirective<T, O> extends AbstractSubscriptionDirective implements OnDestroy {
8
+ export declare class DbxActionDisabledDirective<T, O> {
11
9
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
12
10
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
13
11
  readonly disabled$: import("rxjs").Observable<boolean>;
14
12
  constructor();
15
- ngOnDestroy(): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDisabledDirective<any, any>, never>;
17
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDisabledDirective<any, any>, "[dbxActionDisabled]", never, { "disabled": { "alias": "dbxActionDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
15
  }
@@ -1,18 +1,15 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = "dbx_action_disabled_on_success";
7
5
  /**
8
6
  * Directive that will disable the action after the action completes successfully.
9
7
  */
10
- export declare class DbxActionDisabledOnSuccessDirective<T, O> extends AbstractSubscriptionDirective implements OnDestroy {
8
+ export declare class DbxActionDisabledOnSuccessDirective<T, O> {
11
9
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
12
10
  readonly disabledOnSuccess: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
13
11
  readonly disabledOnSuccess$: import("rxjs").Observable<boolean>;
14
12
  constructor();
15
- ngOnDestroy(): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDisabledOnSuccessDirective<any, any>, never>;
17
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDisabledOnSuccessDirective<any, any>, "[dbxActionDisabledOnSuccess]", never, { "disabledOnSuccess": { "alias": "dbxActionDisabledOnSuccess"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
15
  }
@@ -1,18 +1,15 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = "dbx_action_enforce_modified";
7
5
  /**
8
6
  * Directive that toggles disabling an action if the action is not marked modified.
9
7
  */
10
- export declare class DbxActionEnforceModifiedDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
8
+ export declare class DbxActionEnforceModifiedDirective {
11
9
  readonly source: DbxActionContextStoreSourceInstance<any, any>;
12
10
  readonly enabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
13
11
  readonly enabled$: import("rxjs").Observable<boolean>;
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
12
+ constructor();
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionEnforceModifiedDirective, never>;
17
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionEnforceModifiedDirective, "[dbxActionEnforceModified]", never, { "enabled": { "alias": "dbxActionEnforceModified"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
15
  }
@@ -1,6 +1,4 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { ReadableError, type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
@@ -10,11 +8,11 @@ export type DbxActionErrorHandlerFunction = (error?: Maybe<ReadableError>) => vo
10
8
  /**
11
9
  * Directive that executes a function on ActionContextStore error.
12
10
  */
13
- export declare class DbxActionErrorHandlerDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
11
+ export declare class DbxActionErrorHandlerDirective<T, O> {
14
12
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
15
13
  readonly dbxActionErrorHandler: import("@angular/core").InputSignal<Maybe<DbxActionErrorHandlerFunction>>;
16
14
  readonly errorFunction$: import("rxjs").Observable<DbxActionErrorHandlerFunction>;
17
- ngOnInit(): void;
15
+ constructor();
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionErrorHandlerDirective<any, any>, never>;
19
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionErrorHandlerDirective<any, any>, "[dbxActionErrorHandler]", never, { "dbxActionErrorHandler": { "alias": "dbxActionErrorHandler"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
18
  }
@@ -1,4 +1,3 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
3
2
  import { FactoryWithInput, GetterOrValue, type Maybe } from '@dereekb/util';
4
3
  import { DbxActionHandlerInstance } from './action.handler.instance';
@@ -7,11 +6,10 @@ import * as i0 from "@angular/core";
7
6
  /**
8
7
  * Abstract directive that wraps and handles a DbxActionHandlerInstance lifecycle.
9
8
  */
10
- export declare abstract class AbstractDbxActionHandlerDirective<T = unknown, O = unknown> implements OnDestroy {
9
+ export declare abstract class AbstractDbxActionHandlerDirective<T = unknown, O = unknown> {
11
10
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
12
11
  protected readonly _dbxActionHandlerInstance: DbxActionHandlerInstance<T, O>;
13
12
  constructor();
14
- ngOnDestroy(): void;
15
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxActionHandlerDirective<any, any>, never>;
16
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxActionHandlerDirective<any, any>, never, never, {}, {}, never, never, false, never>;
17
15
  }
@@ -1,4 +1,3 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
2
  import { AbstractIfDirective } from '../../../view/if.directive';
4
3
  import * as i0 from "@angular/core";
@@ -7,7 +6,7 @@ import * as i0 from "@angular/core";
7
6
  *
8
7
  * Can be configured to show for a temporary period.
9
8
  */
10
- export declare class DbxActionHasSuccessDirective extends AbstractIfDirective implements OnDestroy {
9
+ export declare class DbxActionHasSuccessDirective extends AbstractIfDirective {
11
10
  private readonly _store;
12
11
  readonly hideAfter: import("@angular/core").InputSignalWithTransform<Maybe<number>, "" | Maybe<number>>;
13
12
  readonly show$: import("rxjs").Observable<boolean>;
@@ -1,6 +1,4 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { type Maybe } from '@dereekb/util';
3
- import { AbstractSubscriptionDirective } from '../../../subscription';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
@@ -10,11 +8,11 @@ export type DbxActionSuccessHandlerFunction<O = unknown> = (value: O) => void;
10
8
  /**
11
9
  * Directive that executes a function on ActionContextStore Success.
12
10
  */
13
- export declare class DbxActionSuccessHandlerDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
11
+ export declare class DbxActionSuccessHandlerDirective<T, O> {
14
12
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
15
13
  readonly dbxActionSuccessHandler: import("@angular/core").InputSignal<Maybe<DbxActionSuccessHandlerFunction<O>>>;
16
14
  readonly successFunction$: import("rxjs").Observable<DbxActionSuccessHandlerFunction<O>>;
17
- ngOnInit(): void;
15
+ constructor();
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionSuccessHandlerDirective<any, any>, never>;
19
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionSuccessHandlerDirective<any, any>, "[dbxActionSuccessHandler]", never, { "dbxActionSuccessHandler": { "alias": "dbxActionSuccessHandler"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
18
  }
@@ -1,7 +1,5 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { Maybe, GetterOrValue } from '@dereekb/util';
3
2
  import { Observable } from 'rxjs';
4
- import { AbstractSubscriptionDirective } from '../../../subscription';
5
3
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
6
4
  import * as i0 from "@angular/core";
7
5
  /**
@@ -13,15 +11,13 @@ import * as i0 from "@angular/core";
13
11
  *
14
12
  * Use a getter if null/undefined values should be passed to the action.
15
13
  */
16
- export declare class DbxActionValueDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
14
+ export declare class DbxActionValueDirective<T, O> {
17
15
  readonly valueOrFunction: import("@angular/core").InputSignal<Maybe<"" | GetterOrValue<T>>>;
18
16
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
19
17
  private readonly _valueOrFunctionOverride;
20
18
  readonly valueOrFunction$: Observable<GetterOrValue<T>>;
21
19
  constructor();
22
- ngOnInit(): void;
23
20
  setValueOrFunction(value: Maybe<GetterOrValue<T>>): void;
24
- ngOnDestroy(): void;
25
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionValueDirective<any, any>, never>;
26
22
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionValueDirective<any, any>, "dbxActionValue,[dbxActionValue]", never, { "valueOrFunction": { "alias": "dbxActionValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
23
  }
@@ -1,23 +1,19 @@
1
1
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
2
2
  import { Observable } from 'rxjs';
3
- import { OnInit, OnDestroy } from '@angular/core';
4
3
  import { Maybe } from '@dereekb/util';
5
4
  import { IsEqualFunction, IsModifiedFunction } from '@dereekb/rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  /**
8
7
  * Directive that watches a value observable for changes and sets the new value and modified states as necessary.
9
8
  */
10
- export declare class DbxActionValueStreamDirective<T, O> implements OnInit, OnDestroy {
9
+ export declare class DbxActionValueStreamDirective<T, O> {
11
10
  readonly source: DbxActionContextStoreSourceInstance<T, O>;
12
11
  readonly dbxActionValueStream: import("@angular/core").InputSignal<Observable<T>>;
13
12
  readonly dbxActionValueStreamIsEqualValue: import("@angular/core").InputSignal<Maybe<IsEqualFunction<T>>>;
14
13
  readonly dbxActionValueStreamIsModifiedValue: import("@angular/core").InputSignal<Maybe<IsModifiedFunction<T>>>;
15
- private readonly _modifiedSub;
16
- private readonly _triggerSub;
17
14
  readonly isModifiedFunction$: Observable<IsModifiedFunction<T>>;
18
15
  readonly modifiedValue$: Observable<[boolean, T]>;
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
16
+ constructor();
21
17
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionValueStreamDirective<any, any>, never>;
22
18
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionValueStreamDirective<any, any>, "[dbxActionValueStream]", never, { "dbxActionValueStream": { "alias": "dbxActionValueStream"; "required": false; "isSignal": true; }; "dbxActionValueStreamIsEqualValue": { "alias": "dbxActionValueStreamIsEqualValue"; "required": false; "isSignal": true; }; "dbxActionValueStreamIsModifiedValue": { "alias": "dbxActionValueStreamIsModifiedValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
19
  }
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit, Signal } from '@angular/core';
1
+ import { Signal } from '@angular/core';
2
2
  import { IsEqualFunction, IsModifiedFunction } from '@dereekb/rxjs';
3
3
  import { type Maybe } from '@dereekb/util';
4
4
  import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
@@ -12,12 +12,11 @@ export interface DbxActionValueGetterDirectiveComputeInputsConfig<T> {
12
12
  /**
13
13
  * Abstract class for directives that may perform an action when trigger is called, and returns a value.
14
14
  */
15
- export declare abstract class AbstractDbxActionValueGetterDirective<T> implements OnInit, OnDestroy {
15
+ export declare abstract class AbstractDbxActionValueGetterDirective<T> {
16
16
  private readonly _injector;
17
17
  readonly source: DbxActionContextStoreSourceInstance<T, unknown>;
18
18
  private readonly _triggerInstance;
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
19
+ constructor();
21
20
  setValueGetterFunction(valueGetterFunction: Maybe<DbxActionValueGetterValueGetterFunction<T>>): void;
22
21
  protected configureInputs(config: DbxActionValueGetterDirectiveComputeInputsConfig<T>): void;
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxActionValueGetterDirective<any>, never>;
@@ -29,7 +28,7 @@ export declare abstract class AbstractDbxActionValueGetterDirective<T> implement
29
28
  * Similar to DbxActionValueDirective, but the getter is called when a trigger is activated.
30
29
  * The DbxActionValueDirective always pipes the latests value while waiting for a trigger, and does not allow using a getter.
31
30
  */
32
- export declare class DbxActionValueTriggerDirective<T = object> extends AbstractDbxActionValueGetterDirective<T> implements OnDestroy {
31
+ export declare class DbxActionValueTriggerDirective<T = object> extends AbstractDbxActionValueGetterDirective<T> {
33
32
  readonly dbxActionValueGetter: import("@angular/core").InputSignal<Maybe<DbxActionValueGetterValueGetterFunction<T>>>;
34
33
  readonly dbxActionValueGetterIsModified: import("@angular/core").InputSignal<Maybe<IsModifiedFunction>>;
35
34
  readonly dbxActionValueGetterIsEqual: import("@angular/core").InputSignal<Maybe<IsEqualFunction>>;
@@ -1,14 +1,10 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
1
  import { DbxActionButtonTriggerDirective } from './action.button.trigger.directive';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Context used for linking a button to an ActionContext.
6
5
  */
7
- export declare class DbxActionButtonDirective extends DbxActionButtonTriggerDirective implements OnInit, OnDestroy {
8
- private readonly _workingSub;
9
- private readonly _disabledSub;
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
6
+ export declare class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
7
+ constructor();
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionButtonDirective, never>;
13
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionButtonDirective, "[dbxActionButton]", never, {}, {}, never, never, true, never>;
14
10
  }
@@ -1,15 +1,13 @@
1
- import { OnInit } from '@angular/core';
2
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
3
1
  import { DbxButton } from '../button';
4
2
  import { DbxActionContextStoreSourceInstance } from '../../action/action.store.source';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
7
5
  * Context used for linking a button to an ActionContext and only look for triggers.
8
6
  */
9
- export declare class DbxActionButtonTriggerDirective extends AbstractSubscriptionDirective implements OnInit {
7
+ export declare class DbxActionButtonTriggerDirective {
10
8
  readonly dbxButton: DbxButton;
11
9
  readonly source: DbxActionContextStoreSourceInstance<any, any>;
12
- ngOnInit(): void;
10
+ constructor();
13
11
  protected _buttonClicked(): void;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionButtonTriggerDirective, never>;
15
13
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionButtonTriggerDirective, "[dbxActionButtonTrigger]", never, {}, {}, never, never, true, never>;
@@ -1,13 +1,12 @@
1
- import { OnDestroy, OnInit, Signal } from '@angular/core';
1
+ import { Signal } from '@angular/core';
2
2
  import { type Maybe } from '@dereekb/util';
3
3
  import { Subject, BehaviorSubject } from 'rxjs';
4
- import { AbstractSubscriptionDirective } from '../subscription';
5
4
  import { DbxButton, DbxButtonDisplay, DbxButtonDisplayType, DbxButtonInterceptor, DbxButtonWorking } from './button';
6
5
  import * as i0 from "@angular/core";
7
6
  /**
8
7
  * Abstract button component.
9
8
  */
10
- export declare abstract class AbstractDbxButtonDirective extends AbstractSubscriptionDirective implements DbxButton, OnInit, OnDestroy {
9
+ export declare abstract class AbstractDbxButtonDirective implements DbxButton {
11
10
  /**
12
11
  * Pre-interceptor button click.
13
12
  */
@@ -33,8 +32,7 @@ export declare abstract class AbstractDbxButtonDirective extends AbstractSubscri
33
32
  readonly working$: import("rxjs").Observable<import("@dereekb/dbx-core").DbxActionWorkOrWorkProgress>;
34
33
  readonly display$: import("rxjs").Observable<DbxButtonDisplay>;
35
34
  readonly clicked$: import("rxjs").Observable<void>;
36
- ngOnInit(): void;
37
- ngOnDestroy(): void;
35
+ constructor();
38
36
  setDisabled(disabled?: Maybe<boolean>): void;
39
37
  setWorking(working?: Maybe<DbxButtonWorking>): void;
40
38
  setDisplayContent(content: DbxButtonDisplay): void;
@@ -1,5 +1,4 @@
1
1
  import { LoadingContext, MaybeObservableOrValue } from '@dereekb/rxjs';
2
- import { AbstractSubscriptionDirective } from '../subscription/subscription.directive';
3
2
  import { DbxButton } from './button';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -7,11 +6,12 @@ import * as i0 from "@angular/core";
7
6
  *
8
7
  * It will be set working when the context is set loading.
9
8
  */
10
- export declare class DbxLoadingButtonDirective extends AbstractSubscriptionDirective {
9
+ export declare class DbxLoadingButtonDirective {
11
10
  readonly dbxButton: DbxButton;
12
11
  readonly context: import("@angular/core").InputSignal<MaybeObservableOrValue<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
13
12
  readonly context$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
14
13
  readonly contextSignal: import("@angular/core").Signal<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
14
+ protected readonly _loadingEffectSub: import("@dereekb/rxjs").SubscriptionObject<import("rxjs").Unsubscribable>;
15
15
  protected readonly _loadingEffect: import("@angular/core").EffectRef;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingButtonDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxLoadingButtonDirective, "[dbxLoadingButton]", never, { "context": { "alias": "dbxLoadingButton"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -1,10 +1,9 @@
1
1
  import { type Maybe } from '@dereekb/util';
2
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
3
2
  import { DbxButton } from '../button';
4
3
  import { DbxRouterService } from '../../router/router/service/router.service';
5
4
  import { SegueRef } from '../../router/segue';
6
5
  import * as i0 from "@angular/core";
7
- export declare class DbxButtonSegueDirective extends AbstractSubscriptionDirective {
6
+ export declare class DbxButtonSegueDirective {
8
7
  readonly dbxButton: DbxButton;
9
8
  readonly dbxRouterService: DbxRouterService;
10
9
  readonly segueRef: import("@angular/core").InputSignal<Maybe<SegueRef<object>>>;
@@ -1,14 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
- import { OnDestroy } from '@angular/core';
3
2
  import { FilterSourceConnector, FilterSource } from '@dereekb/rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * Abstract FilterSourceConnector directive.
7
6
  */
8
- export declare abstract class AbstractFilterSourceConnectorDirective<F> implements FilterSourceConnector<F>, FilterSource<F>, OnDestroy {
7
+ export declare abstract class AbstractFilterSourceConnectorDirective<F> implements FilterSourceConnector<F>, FilterSource<F> {
9
8
  private readonly _source;
10
9
  readonly filter$: Observable<F>;
11
- ngOnDestroy(): void;
12
10
  connectWithSource(filterSource: FilterSource<F>): void;
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFilterSourceConnectorDirective<any>, never>;
14
12
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFilterSourceConnectorDirective<any>, never, never, {}, {}, never, never, false, never>;
@@ -1,12 +1,10 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { FilterMap } from '@dereekb/rxjs';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Direction that provides a FilterMap.
6
5
  */
7
- export declare class DbxFilterMapDirective<F> implements OnDestroy {
6
+ export declare class DbxFilterMapDirective<F> {
8
7
  readonly filterMap: FilterMap<any>;
9
- ngOnDestroy(): void;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterMapDirective<any>, never>;
11
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFilterMapDirective<any>, "[dbxFilterMap]", ["dbxFilterMap"], {}, {}, never, never, true, never>;
12
10
  }
package/lib/index.d.ts CHANGED
@@ -9,6 +9,6 @@ export * from './filter';
9
9
  export * from './injection';
10
10
  export * from './ngrx';
11
11
  export * from './storage';
12
- export * from './subscription';
12
+ export * from './rxjs';
13
13
  export * from './util';
14
14
  export * from './view';
@@ -20,6 +20,8 @@ export interface DbxInjectionComponentConfig<T = unknown> {
20
20
  readonly ngModuleRef?: NgModuleRef<unknown>;
21
21
  /**
22
22
  * (Optional) Custom initialization code when an instance is created.
23
+ *
24
+ * This is called in an Angular injection context of the created component, so that inject() is available and will be destroyed when the created component is destroyed.
23
25
  */
24
26
  readonly init?: Maybe<(instance: T) => void>;
25
27
  /**
@@ -1,22 +1,19 @@
1
1
  import { Observable } from 'rxjs';
2
- import { OnDestroy, OnInit } from '@angular/core';
3
2
  import { Maybe, ModelKey } from '@dereekb/util';
4
3
  import { MaybeObservableOrValueGetter, SwitchMapToDefaultFilterFunction } from '@dereekb/rxjs';
5
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
6
4
  import { DbxRouterService } from '../router/service/router.service';
7
5
  import { DbxRouteModelIdDirectiveDelegate } from './model.router';
8
6
  import * as i0 from "@angular/core";
9
7
  /**
10
8
  * Used for retrieving the model's id from the current route using the configured parameter and passes it to its delegate.
11
9
  */
12
- export declare class DbxRouteModelIdDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
10
+ export declare class DbxRouteModelIdDirective {
13
11
  readonly dbxRouterService: DbxRouterService;
14
12
  readonly dbxRouteModelIdDelegate: DbxRouteModelIdDirectiveDelegate;
15
13
  private readonly _redirectInstance;
16
14
  readonly idFromParams$: Observable<Maybe<ModelKey>>;
17
15
  readonly id$: Observable<Maybe<ModelKey>>;
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
16
+ constructor();
20
17
  get idParam(): string;
21
18
  set idParam(idParam: string);
22
19
  set dbxRouteModelIdDefault(defaultValue: MaybeObservableOrValueGetter<ModelKey>);
@@ -1,8 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { OnDestroy, OnInit } from '@angular/core';
3
2
  import { Maybe, ModelKey } from '@dereekb/util';
4
3
  import { MaybeObservableOrValueGetter, SwitchMapToDefaultFilterFunction } from '@dereekb/rxjs';
5
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
6
4
  import { DbxRouterService } from '../router/service/router.service';
7
5
  import { DbxRouteModelKeyDirectiveDelegate } from './model.router';
8
6
  import * as i0 from "@angular/core";
@@ -11,14 +9,13 @@ import * as i0 from "@angular/core";
11
9
  *
12
10
  * If the key does not exist in the params, then the p
13
11
  */
14
- export declare class DbxRouteModelKeyDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
12
+ export declare class DbxRouteModelKeyDirective {
15
13
  readonly dbxRouterService: DbxRouterService;
16
14
  readonly dbxRouteModelKeyDelegate: DbxRouteModelKeyDirectiveDelegate;
17
15
  private readonly _redirectInstance;
18
16
  readonly keyFromParams$: Observable<Maybe<ModelKey>>;
19
17
  readonly key$: Observable<Maybe<ModelKey>>;
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
18
+ constructor();
22
19
  get keyParam(): string;
23
20
  set keyParam(idParam: string);
24
21
  set dbxRouteModelKeyDefault(defaultValue: MaybeObservableOrValueGetter<ModelKey>);
@@ -1,15 +1,13 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { DbxRouteModelIdDirectiveDelegate } from './model.router';
3
2
  import { DbxAuthService } from '../../auth';
4
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
7
5
  * Used for retrieving the user's current id DbxAuthService and passes it as an identifier for a DbxRouteModelIdDirectiveDelegate.
8
6
  */
9
- export declare class DbxRouteModelIdFromAuthUserIdDirective extends AbstractSubscriptionDirective implements OnInit {
7
+ export declare class DbxRouteModelIdFromAuthUserIdDirective {
10
8
  readonly dbxAuthService: DbxAuthService;
11
9
  readonly dbxRouteModelIdDelegate: DbxRouteModelIdDirectiveDelegate;
12
- ngOnInit(): void;
10
+ constructor();
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouteModelIdFromAuthUserIdDirective, never>;
14
12
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelIdFromAuthUserIdDirective, "[dbxRouteModelIdFromAuthUserId]", never, {}, {}, never, never, true, never>;
15
13
  }