@tft/crispr-forms 13.0.6 → 13.0.9

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,16 @@
1
- import { OnInit, ElementRef } from '@angular/core';
1
+ import { OnInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
3
3
  import { SelectOption, AutocompleteFieldConfig } from '../../models';
4
4
  import { AbstractAutocompleteComponent } from '../../abstracts';
5
+ import { Subscription } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
- export declare class AutocompleteFieldComponent extends AbstractAutocompleteComponent<AutocompleteFieldConfig> implements OnInit {
7
+ export declare class AutocompleteFieldComponent extends AbstractAutocompleteComponent<AutocompleteFieldConfig> implements OnInit, OnDestroy {
7
8
  defaultConfig: Partial<AutocompleteFieldConfig>;
8
9
  autoInput: MatAutocompleteTrigger;
9
10
  autoInputRef: ElementRef<HTMLInputElement>;
11
+ clearFieldSubscription: Subscription;
10
12
  ngOnInit(): void;
13
+ ngOnDestroy(): void;
11
14
  setControlValue(value: SelectOption): void;
12
15
  /**
13
16
  * The material autocomplete defaults to displaying the options value instead of its label.
@@ -51,6 +51,7 @@ export interface CrisprControlConfig<M = null> extends CrisprFieldConfig {
51
51
  disabledCallbackConfig?: CheckControlConfig | CheckControlsConfig | any;
52
52
  hideDisabled?: boolean;
53
53
  heading?: HeadingConfig;
54
+ hint?: string;
54
55
  }
55
56
  /**
56
57
  * Holds properties for control fields that describe field behavior to users
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tft/crispr-forms",
3
- "version": "13.0.6",
3
+ "version": "13.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.0.0",
6
6
  "@angular/forms": "^13.0.0",
Binary file
Binary file