@coolon/angular-ui-powerups 14.0.2 → 14.1.1

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,6 +1,6 @@
1
1
  import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
3
- import { ListModel, ListModelChain } from '@coolon/pectin';
3
+ import { ListModel, ListModelChain, MutableValueModel } from '@coolon/pectin';
4
4
  import { AbstractValueInputComponent } from '../abstract-value-input.component';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
10
10
  * </aup-autocomplete-input>
11
11
  */
12
12
  export declare class AutocompleteInputComponent<T = any> extends AbstractValueInputComponent<T> implements OnInit {
13
+ rawTextContent$: MutableValueModel<string>;
13
14
  optionsModel: ListModel<T>;
14
15
  options: T[];
15
16
  optionLabel: keyof T;
@@ -24,5 +25,5 @@ export declare class AutocompleteInputComponent<T = any> extends AbstractValueIn
24
25
  updateFilter($event: string): void;
25
26
  onSelect($event: MatAutocompleteSelectedEvent): void;
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteInputComponent<any>, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteInputComponent<any>, "aup-autocomplete-input", never, { "optionsModel": "optionsModel"; "options": "options"; "optionLabel": "optionLabel"; "allowNil": "allowNil"; "optionLabelFormat": "optionLabelFormat"; }, {}, ["nilOptionTemplateRef"], never, false>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteInputComponent<any>, "aup-autocomplete-input", never, { "rawTextContent$": "rawTextContent$"; "optionsModel": "optionsModel"; "options": "options"; "optionLabel": "optionLabel"; "allowNil": "allowNil"; "optionLabelFormat": "optionLabelFormat"; }, {}, ["nilOptionTemplateRef"], never, false>;
28
29
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, OnInit, QueryList } from "@angular/core";
1
+ import { QueryList } from "@angular/core";
2
2
  import { MatTabGroup } from "@angular/material/tabs";
3
3
  import { Constructable, DelegatingValueModel, Disposable, MutableValueModel } from "@coolon/pectin";
4
4
  import { PlaceRouter } from "../../../place/place-router";
@@ -8,7 +8,7 @@ import { ActivityRef } from "../../activity-ref";
8
8
  import { InteractionService } from "../../services/interaction.service";
9
9
  import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.component";
10
10
  import * as i0 from "@angular/core";
11
- export declare class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext implements OnInit, AfterViewInit {
11
+ export declare class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext {
12
12
  readonly placeRouter: PlaceRouter;
13
13
  dynamicHeight: boolean;
14
14
  tabs: MatTabGroup;
@@ -23,8 +23,6 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
23
23
  readonly inAnimation: MutableValueModel<boolean>;
24
24
  readonly busy: DelegatingValueModel<boolean>;
25
25
  constructor(placeRouter: PlaceRouter);
26
- ngOnInit(): void;
27
- ngAfterViewInit(): void;
28
26
  initialise(identifier: string, api: InteractionService.Api): void;
29
27
  get identifier(): string;
30
28
  isInitialised(): boolean;
@@ -51,12 +49,12 @@ export declare class ActivityContainerComponent<D, R, E> extends AbstractInterac
51
49
  private finishAndStartCleanup;
52
50
  launchActivity<D1, R1, E1>(activityRef: ActivityRef<D1, R1, E1>): void;
53
51
  activityIndex(index: number, activityRef: ActivityRef<any, any, any>): number;
54
- private onAnimationFinished;
55
52
  /**
56
53
  * Synchronises the selected tab index.
57
54
  */
58
55
  private synchroniseSelectedTabIndex;
59
56
  private getSelectedOutlet;
57
+ private getTabAnimationDuration;
60
58
  getSelectedTabIndex(): number;
61
59
  private triggerTabSynchronisation;
62
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityContainerComponent<any, any, any>, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "14.0.2",
3
+ "version": "14.1.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.0.7",
@@ -9,7 +9,7 @@
9
9
  "@angular/forms": "^14.0.7",
10
10
  "@angular/material": "^14.0.6",
11
11
  "@angular/router": "^14.0.7",
12
- "@coolon/pectin": "^3.20.1",
12
+ "@coolon/pectin": "^3.20.2",
13
13
  "@coolon/typescript-utilities": "^2.5.3",
14
14
  "@typescript-plus/fast-memoize-decorator": "^0.2.1",
15
15
  "lodash-es": "^4.17.21",