@mediusinc/mng-commons 0.2.15 → 0.2.16
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/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +1 -4
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +11 -11
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +3 -3
- package/esm2020/lib/components/layout/main-layout.component.mjs +1 -3
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +1 -1
- package/esm2020/lib/descriptors/editor.descriptor.mjs +1 -2
- package/esm2020/lib/descriptors/table.descriptor.mjs +1 -2
- package/fesm2015/mediusinc-mng-commons.mjs +13 -21
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +13 -20
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/components/form/dropdown/dropdown.component.d.ts +4 -1
- package/lib/components/layout/main-layout.component.d.ts +2 -3
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class MngDropdownComponent implements OnInit, ControlValueAccesso
|
|
|
14
14
|
multiselect: boolean;
|
|
15
15
|
placeholder?: string;
|
|
16
16
|
showClear: boolean;
|
|
17
|
+
selectFirstItem: boolean;
|
|
17
18
|
className: string | null;
|
|
18
19
|
dropdownClassName: string | null;
|
|
19
20
|
valueChangeEventEmitter: EventEmitter<any>;
|
|
@@ -24,6 +25,8 @@ export declare class MngDropdownComponent implements OnInit, ControlValueAccesso
|
|
|
24
25
|
private onTouchedFn;
|
|
25
26
|
dropdownFormControl: FormControl;
|
|
26
27
|
items$: Observable<Array<any>>;
|
|
28
|
+
items: Array<any>;
|
|
29
|
+
itemsLoaded: boolean;
|
|
27
30
|
constructor(injector: Injector);
|
|
28
31
|
ngOnInit(): void;
|
|
29
32
|
registerOnChange(fn: any): void;
|
|
@@ -31,5 +34,5 @@ export declare class MngDropdownComponent implements OnInit, ControlValueAccesso
|
|
|
31
34
|
setDisabledState(isDisabled: boolean): void;
|
|
32
35
|
writeValue(obj: any): void;
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngDropdownComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MngDropdownComponent, "mng-dropdown", never, { "dataProvider": "dataProvider"; "dataKeyProperty": "dataKeyProperty"; "itemsLabelProperty": "itemsLabelProperty"; "itemsValueProperty": "itemsValueProperty"; "multiselect": "multiselect"; "placeholder": "placeholder"; "showClear": "showClear"; "className": "className"; "dropdownClassName": "dropdownClassName"; }, { "valueChangeEventEmitter": "valueChange"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MngDropdownComponent, "mng-dropdown", never, { "dataProvider": "dataProvider"; "dataKeyProperty": "dataKeyProperty"; "itemsLabelProperty": "itemsLabelProperty"; "itemsValueProperty": "itemsValueProperty"; "multiselect": "multiselect"; "placeholder": "placeholder"; "showClear": "showClear"; "selectFirstItem": "selectFirstItem"; "className": "className"; "dropdownClassName": "dropdownClassName"; }, { "valueChangeEventEmitter": "valueChange"; }, never, never>;
|
|
35
38
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, QueryList, Type } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { MngTemplateDirective } from '../../directives';
|
|
4
4
|
import { MngCommonsService } from '../../services';
|
|
5
5
|
import { MngMainLayoutComponentService } from './services';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MngMainLayoutComponent implements OnInit
|
|
7
|
+
export declare class MngMainLayoutComponent implements OnInit {
|
|
8
8
|
private route;
|
|
9
9
|
mngCommons: MngCommonsService;
|
|
10
10
|
mainLayoutService: MngMainLayoutComponentService;
|
|
@@ -14,7 +14,6 @@ export declare class MngMainLayoutComponent implements OnInit, AfterViewInit {
|
|
|
14
14
|
footerComponent: Type<any>;
|
|
15
15
|
constructor(route: ActivatedRoute, mngCommons: MngCommonsService, mainLayoutService: MngMainLayoutComponentService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
17
|
onWindowResize(event: UIEvent): void;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngMainLayoutComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<MngMainLayoutComponent, "mng-main-layout", never, {}, {}, never, never>;
|