@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.
- package/core/components/pages/error/error.page.component.d.ts +1 -1
- package/core/components/pages/not-found/not-found.page.component.d.ts +1 -1
- package/esm2022/core/components/pages/error/error.page.component.mjs +3 -3
- package/esm2022/core/components/pages/not-found/not-found.page.component.mjs +3 -3
- package/esm2022/form/components/autocomplete/autocomplete.component.mjs +45 -11
- package/esm2022/table/components/filter/filter-form/filter-form.component.mjs +4 -1
- package/esm2022/table/helpers/filters.mjs +3 -2
- package/esm2022/tableview/editor/components/editor/form-editor.component.mjs +7 -7
- package/fesm2022/mediusinc-mng-commons-core.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +44 -10
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table.mjs +5 -1
- package/fesm2022/mediusinc-mng-commons-table.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +6 -6
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/form/components/autocomplete/autocomplete.component.d.ts +9 -1
- package/package.json +1 -1
- package/table/helpers/filters.d.ts +1 -1
- package/version-info.json +5 -5
|
@@ -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
|
@@ -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
|
|
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.
|
|
3
|
+
"version": "5.4.0-rc.3",
|
|
4
4
|
"tag": "v5.3.0-rc.5",
|
|
5
|
-
"distance":
|
|
6
|
-
"hash": "
|
|
5
|
+
"distance": 14,
|
|
6
|
+
"hash": "c4bfaef8",
|
|
7
7
|
"dirty": true,
|
|
8
|
-
"semver": "5.3.0-rc.5+
|
|
8
|
+
"semver": "5.3.0-rc.5+14.gc4bfaef8.dirty",
|
|
9
9
|
"buildTimestamp": null,
|
|
10
|
-
"raw": "v5.3.0-rc.5-
|
|
10
|
+
"raw": "v5.3.0-rc.5-14-c4bfaef8-dirty"
|
|
11
11
|
}
|