@coolon/angular-ui-powerups 16.1.0-aplpha.119 → 16.1.0-aplpha.120

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.
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, ProviderToken } from '@angular/core';
1
+ import { ChangeDetectorRef, InjectOptions, OnDestroy, OnInit, ProviderToken } from '@angular/core';
2
2
  import { GarbageCollector, HasValue } from '@coolon/pectin';
3
3
  import { HighlightTextModelDirective } from "../directives/highlight-text-model.directive";
4
4
  import * as i0 from "@angular/core";
@@ -11,7 +11,7 @@ export declare class DisposableComponent extends GarbageCollector implements OnI
11
11
  protected onInit(callback: () => void): void;
12
12
  ngOnInit(): void;
13
13
  ngOnDestroy(): void;
14
- protected inject<T>(token: ProviderToken<T>): T;
14
+ protected inject<T>(token: ProviderToken<T>, options?: InjectOptions): T;
15
15
  /**
16
16
  * Monitors the specified models for any change and triggers and angular change detect cycle. This is intended for use
17
17
  * when the component uses the ON_PUSH change detection strategy or when it is contained within another component that
@@ -1,4 +1,4 @@
1
- import { ProviderToken } from '@angular/core';
1
+ import { InjectOptions, ProviderToken } from '@angular/core';
2
2
  import { DisposableComponent } from "./disposable-component";
3
3
  import { Loadable } from "./types/loadable";
4
4
  import * as i0 from "@angular/core";
@@ -6,7 +6,7 @@ export declare class LoadableComponent extends DisposableComponent {
6
6
  #private;
7
7
  get loaded$(): import("@coolon/pectin").ValueModel<boolean>;
8
8
  ngOnInit(): void;
9
- protected injectLoadable<T extends Loadable>(token: ProviderToken<T>, options?: {
9
+ protected injectLoadable<T extends Loadable>(token: ProviderToken<T>, options?: InjectOptions & {
10
10
  wait: boolean;
11
11
  }): T;
12
12
  registerLoadable<T extends Loadable>(loadable: T, options?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.119",
3
+ "version": "16.1.0-aplpha.120",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",