@mediusinc/mng-commons 5.4.0-rc.1 → 5.4.0-rc.3

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 { ExistingProvider, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { AutoCompleteSelectEvent } from 'primeng/autocomplete';
3
+ import { AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from 'primeng/autocomplete';
4
4
  import { AutoCompleteCompleteEvent } from 'primeng/autocomplete/autocomplete.interface';
5
5
  import { ILookupDataProvider } from '@mediusinc/mng-commons/core';
6
6
  import { InputTrimType } from '@mediusinc/mng-commons/form/api';
@@ -35,6 +35,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnIn
35
35
  private onChangeFn;
36
36
  private onTouchedFn;
37
37
  private _value?;
38
+ private _rawValue?;
38
39
  ngModelValue: import("@angular/core").WritableSignal<any>;
39
40
  private _disabled;
40
41
  disabled: import("@angular/core").Signal<boolean>;
@@ -54,6 +55,10 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnIn
54
55
  * Triggered by user when selecting an item from an autocomplete suggestion list.
55
56
  */
56
57
  onSelect(event: AutoCompleteSelectEvent): void;
58
+ /**
59
+ * Triggered by user when selecting an item from an autocomplete suggestion list.
60
+ */
61
+ onUnselect(event: AutoCompleteUnselectEvent): void;
57
62
  onFocus(event: Event): void;
58
63
  /**
59
64
  * calls the selectFirst item anytime the input field goes out of focus and if the suggestions panel is not displayed.
@@ -83,6 +88,9 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnIn
83
88
  */
84
89
  private setValue;
85
90
  private trimValue;
91
+ /**
92
+ * Propagates final value to _value, on change fn and outputs.
93
+ */
86
94
  private propagateValueChange;
87
95
  private convertValueWithOptionsValuePropSetting;
88
96
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "5.4.0-rc.1",
3
+ "version": "5.4.0-rc.3",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.3.0 || ^18.0.0",
6
6
  "@angular/common": "^17.3.0 || ^18.0.0",
@@ -18,7 +18,7 @@ export declare function filterSetMetadataOnDisplayChange(filter: CommonsFilterMe
18
18
  matchMode: string;
19
19
  displayValue: any;
20
20
  value: SingleOrArrayType<Nullable<string | number | boolean | Date>>;
21
- caseSensitive?: boolean | undefined;
21
+ caseSensitive: boolean | undefined;
22
22
  operator?: string | undefined;
23
23
  };
24
24
  export declare function filterAreDatesEqual(fromDate: Date | string | number, toDate: Date | string | number, filterDateCfg?: FilterDateConfig): boolean;
package/version-info.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "5.4.0-rc.1",
3
+ "version": "5.4.0-rc.3",
4
4
  "tag": "v5.3.0-rc.5",
5
- "distance": 6,
6
- "hash": "c31e17b3",
5
+ "distance": 14,
6
+ "hash": "c4bfaef8",
7
7
  "dirty": true,
8
- "semver": "5.3.0-rc.5+6.gc31e17b3.dirty",
8
+ "semver": "5.3.0-rc.5+14.gc4bfaef8.dirty",
9
9
  "buildTimestamp": null,
10
- "raw": "v5.3.0-rc.5-6-c31e17b3-dirty"
10
+ "raw": "v5.3.0-rc.5-14-c4bfaef8-dirty"
11
11
  }