@coolon/angular-ui-powerups 16.1.0-aplpha.84 → 16.1.0-aplpha.86

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,13 +1,21 @@
1
- import { OnDestroy, OnInit, ProviderToken } from '@angular/core';
2
- import { GarbageCollector } from '@coolon/pectin';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, ProviderToken } from '@angular/core';
2
+ import { GarbageCollector, HasValue } from '@coolon/pectin';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DisposableComponent extends GarbageCollector implements OnInit, OnDestroy {
5
5
  #private;
6
6
  readonly trackById: import("@angular/core").TrackByFunction<any>;
7
+ protected readonly cdr: ChangeDetectorRef;
7
8
  protected onInit(callback: () => void): void;
8
9
  ngOnInit(): void;
9
10
  ngOnDestroy(): void;
10
11
  protected inject<T>(token: ProviderToken<T>): T;
12
+ /**
13
+ * Monitors the specified models for any change and triggers and angular change detect cycle. This is intended for use
14
+ * when the component uses the ON_PUSH change detection strategy.
15
+ * @param models
16
+ * @protected
17
+ */
18
+ protected trackChangesAndMarkForCheck(...models: HasValue<any>[]): void;
11
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DisposableComponent, never>;
12
20
  static ɵdir: i0.ɵɵDirectiveDeclaration<DisposableComponent, never, never, {}, {}, never, never, false, never>;
13
21
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ChangeDetectorRef, QueryList, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import { ValueModel } from '@coolon/pectin';
3
3
  import { DisposableComponent } from '../disposable-component';
4
4
  import * as i0 from "@angular/core";
@@ -32,12 +32,11 @@ export declare class SwitchCaseDefaultDirective<T> extends SwitchCaseOption<T> {
32
32
  * </aup-switch-case>
33
33
  */
34
34
  export declare class SwitchCaseComponent<T> extends DisposableComponent implements AfterContentInit {
35
- private cdr;
36
35
  accessor switch$: ValueModel<T>;
37
36
  accessor switch: T;
38
37
  switchCaseOptions: QueryList<SwitchCaseOption<T>>;
39
38
  selectedIndex: number;
40
- constructor(cdr: ChangeDetectorRef);
39
+ constructor();
41
40
  ngAfterContentInit(): void;
42
41
  private updateSelection;
43
42
  static ɵfac: i0.ɵɵFactoryDeclaration<SwitchCaseComponent<any>, never>;
@@ -66,7 +66,7 @@ export declare abstract class AbstractTableModel<Row> extends GarbageCollector {
66
66
  startEditSession(row: Row): EditSession<Row>;
67
67
  getEditSessionFor(row: Row): EditSession<Row>;
68
68
  cancelAllEditorSessions(): void;
69
- get columns(): ListModel<ColumnModel<Row>>;
69
+ get columns$(): ListModel<ColumnModel<Row>>;
70
70
  get visibleColumns$(): ListModel<ColumnModel<Row>>;
71
71
  pluck<P extends Types.ValuePropertiesOf<Row>>(property: P, options?: {
72
72
  columnId: string;
@@ -1,4 +1,3 @@
1
- import { ChangeDetectorRef } from "@angular/core";
2
1
  import { Command } from '@coolon/pectin';
3
2
  import { Enum } from 'typescript-string-enums';
4
3
  import { CommandFace } from '../../../components/commands/command-face';
@@ -27,7 +26,6 @@ import * as i0 from "@angular/core";
27
26
  * </aup-activity-actions>
28
27
  */
29
28
  export declare class ActivityActionsComponent extends DisposableComponent {
30
- private readonly cdr;
31
29
  protected confirmCommandComponent: CommandComponent;
32
30
  protected cancelCommandComponent: CommandComponent;
33
31
  /**
@@ -47,7 +45,7 @@ export declare class ActivityActionsComponent extends DisposableComponent {
47
45
  set style(style: ActivityActionsComponent.Style);
48
46
  layout: ActivityActionsComponent.Layout;
49
47
  align: ActivityActionsComponent.Align;
50
- constructor(cdr: ChangeDetectorRef);
48
+ constructor();
51
49
  hasConfirmFace(): boolean;
52
50
  hasCancelFace(): boolean;
53
51
  initCommands(activity: {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPortal } from '@angular/cdk/portal';
2
- import { ChangeDetectorRef, EventEmitter, InjectionToken } from '@angular/core';
2
+ import { EventEmitter, InjectionToken } from '@angular/core';
3
3
  import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
4
4
  import { BooleanValueModelChain, Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
5
5
  import { DisposableComponent } from '../../../components/disposable-component';
@@ -13,7 +13,6 @@ export declare class PlaceOutletComponent extends DisposableComponent {
13
13
  private readonly router;
14
14
  private readonly placeRouter;
15
15
  readonly placeConfig: PlaceConfig;
16
- private readonly cdr;
17
16
  accessor animate$: ValueModel<boolean>;
18
17
  accessor animate: boolean;
19
18
  accessor customPlaceAnimationOrder$: ListModel<Constructable<PlaceComponent>>;
@@ -37,7 +36,7 @@ export declare class PlaceOutletComponent extends DisposableComponent {
37
36
  readonly animationEnabled: BooleanValueModelChain;
38
37
  readonly authorised: ValueModelChain<boolean>;
39
38
  readonly notAuthorisedNoticePortal: ComponentPortal<any>;
40
- constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent, cdr: ChangeDetectorRef);
39
+ constructor(router: Router, placeRouter: PlaceRouter, placeConfig: PlaceConfig, unauthorisedPlaceNotice: Constructable<any>, parentOutlet: PlaceOutletComponent);
41
40
  getAnimationOrder(): number;
42
41
  get animationDuration(): string;
43
42
  get isAuthorised(): boolean;
@@ -53,6 +52,6 @@ export declare class PlaceOutletComponent extends DisposableComponent {
53
52
  private notifyComponentVisitSegmentChanged;
54
53
  animationStarted(): void;
55
54
  animationDone(): void;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }, null]>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlaceOutletComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; skipSelf: true; }]>;
57
56
  static ɵcmp: i0.ɵɵComponentDeclaration<PlaceOutletComponent, "aup-place-outlet", never, { "animate$": { "alias": "animate$"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "customPlaceAnimationOrder$": { "alias": "placeAnimationOrderModel"; "required": false; }; "customPlaceAnimationOrder": { "alias": "placeAnimationOrder"; "required": false; }; }, { "placeChanged": "placeChanged"; }, never, never, false, never>;
58
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-aplpha.84",
3
+ "version": "16.1.0-aplpha.86",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",