@natec/mef-dev-ui-kit 1.1.0 → 1.1.11
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/markup-kit/card/card.module.mjs +5 -5
- package/esm2020/lib/markup-kit/collapse/collapse/collapse.component.mjs +7 -3
- package/esm2020/lib/markup-kit/modals/markup-kit.module.mjs +5 -5
- package/esm2020/lib/pg-components/select/option.component.mjs +6 -6
- package/esm2020/lib/pg-components/select/option.pipe.mjs +1 -1
- package/esm2020/lib/pg-components/select/select.component.mjs +7 -7
- package/esm2020/lib/pg-components/select/select.module.mjs +8 -8
- package/fesm2015/natec-mef-dev-ui-kit.mjs +31 -27
- package/fesm2015/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/natec-mef-dev-ui-kit.mjs +31 -27
- package/fesm2020/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/lib/markup-kit/card/card.module.d.ts +1 -1
- package/lib/markup-kit/collapse/collapse/collapse.component.d.ts +3 -2
- package/lib/markup-kit/modals/markup-kit.module.d.ts +1 -1
- package/lib/pg-components/select/option.component.d.ts +5 -5
- package/lib/pg-components/select/option.pipe.d.ts +2 -2
- package/lib/pg-components/select/select.component.d.ts +19 -19
- package/lib/pg-components/select/select.module.d.ts +4 -4
- package/package.json +1 -1
|
@@ -12,6 +12,6 @@ import * as i7 from "../../pg-components/card/card.module";
|
|
|
12
12
|
export declare const mefDevCardComponents: (typeof CardComponent | typeof CardLongComponent | typeof CardSimpleComponent)[];
|
|
13
13
|
export declare class MefDevCardModule {
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevCardModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevCardModule, [typeof i1.CardComponent, typeof i2.CardLongComponent, typeof i3.CardSimpleComponent], [typeof i4.CommonModule, typeof i5.MefDevCollapseModule, typeof i6.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevCardModule, [typeof i1.CardComponent, typeof i2.CardLongComponent, typeof i3.CardSimpleComponent], [typeof i4.CommonModule, typeof i5.MefDevCollapseModule, typeof i6.MefDevSelectModule, typeof i7.pgCardModule], [typeof i1.CardComponent, typeof i2.CardLongComponent, typeof i3.CardSimpleComponent]>;
|
|
16
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevCardModule>;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { CollapseSetComponent } from '../collapse-set/collapse-set.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CollapseComponent {
|
|
@@ -12,8 +12,9 @@ export declare class CollapseComponent {
|
|
|
12
12
|
get Disabled(): boolean;
|
|
13
13
|
set Active(value: boolean);
|
|
14
14
|
get Active(): boolean;
|
|
15
|
+
stateChange: EventEmitter<boolean>;
|
|
15
16
|
clickHeader($event: MouseEvent): void;
|
|
16
17
|
constructor(_collapseSet: CollapseSetComponent, _elementRef: ElementRef);
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseComponent, [{ host: true; }, null]>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "mefdev-collapse", never, { "Disabled": "Disabled"; "Active": "Active"; }, {}, ["CardTitle"], ["*"]>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "mefdev-collapse", never, { "Disabled": "Disabled"; "Active": "Active"; }, { "stateChange": "stateChange"; }, ["CardTitle"], ["*"]>;
|
|
19
20
|
}
|
|
@@ -8,6 +8,6 @@ import * as i6 from "@angular/common";
|
|
|
8
8
|
import * as i7 from "../../pg-components/select/select.module";
|
|
9
9
|
export declare class MefDevModalModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevModalModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevModalModule, [typeof i1.FillComponent, typeof i2.SlideUpComponent, typeof i3.SlideRightComponent, typeof i4.RightFilterComponent], [typeof i5.ModalModule, typeof i6.CommonModule, typeof i7.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevModalModule, [typeof i1.FillComponent, typeof i2.SlideUpComponent, typeof i3.SlideRightComponent, typeof i4.RightFilterComponent], [typeof i5.ModalModule, typeof i6.CommonModule, typeof i7.MefDevSelectModule], [typeof i1.FillComponent, typeof i2.SlideUpComponent, typeof i3.SlideRightComponent, typeof i4.RightFilterComponent]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevModalModule>;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { MefDevSelectComponent } from "./select.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class MefDevOptionComponent implements OnDestroy, OnInit {
|
|
5
5
|
private _Select;
|
|
6
6
|
private _disabled;
|
|
7
7
|
_value: string;
|
|
@@ -13,9 +13,9 @@ export declare class pgOptionComponent implements OnDestroy, OnInit {
|
|
|
13
13
|
get Label(): string;
|
|
14
14
|
set Disabled(value: boolean);
|
|
15
15
|
get Disabled(): boolean;
|
|
16
|
-
constructor(_Select:
|
|
16
|
+
constructor(_Select: MefDevSelectComponent);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevOptionComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevOptionComponent, "mefdev-option", never, { "Value": "Value"; "Label": "Label"; "Disabled": "Disabled"; }, {}, ["OptionTemplate"], ["*"]>;
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { MefDevOptionComponent } from "./option.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class OptionPipe implements PipeTransform {
|
|
5
|
-
transform(options:
|
|
5
|
+
transform(options: MefDevOptionComponent[], value: any): any;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionPipe, never>;
|
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<OptionPipe, "OptionPipe">;
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CdkConnectedOverlay, ConnectedOverlayPositionChange } from "@angular/cdk/overlay";
|
|
2
2
|
import { AfterContentChecked, AfterContentInit, ElementRef, EventEmitter, OnInit, Renderer2, ChangeDetectorRef } from "@angular/core";
|
|
3
3
|
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
-
import {
|
|
4
|
+
import { MefDevOptionComponent } from "./option.component";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class MefDevSelectComponent implements OnInit, AfterContentInit, AfterContentChecked, ControlValueAccessor {
|
|
7
7
|
private _elementRef;
|
|
8
8
|
private _renderer;
|
|
9
9
|
private cDRef;
|
|
@@ -27,14 +27,14 @@ export declare class pgSelectComponent implements OnInit, AfterContentInit, Afte
|
|
|
27
27
|
_notFoundContent: string;
|
|
28
28
|
_searchText: string;
|
|
29
29
|
_triggerWidth: number;
|
|
30
|
-
_selectedOption:
|
|
31
|
-
_operatingMultipleOption:
|
|
32
|
-
_selectedOptions: Set<
|
|
33
|
-
_options:
|
|
34
|
-
_cacheOptions:
|
|
35
|
-
_filterOptions:
|
|
36
|
-
_tagsOptions:
|
|
37
|
-
_activeFilterOption:
|
|
30
|
+
_selectedOption: MefDevOptionComponent;
|
|
31
|
+
_operatingMultipleOption: MefDevOptionComponent;
|
|
32
|
+
_selectedOptions: Set<MefDevOptionComponent>;
|
|
33
|
+
_options: MefDevOptionComponent[];
|
|
34
|
+
_cacheOptions: MefDevOptionComponent[];
|
|
35
|
+
_filterOptions: MefDevOptionComponent[];
|
|
36
|
+
_tagsOptions: MefDevOptionComponent[];
|
|
37
|
+
_activeFilterOption: MefDevOptionComponent;
|
|
38
38
|
_isMultiInit: boolean;
|
|
39
39
|
_dropDownPosition: "top" | "center" | "bottom";
|
|
40
40
|
_composing: boolean;
|
|
@@ -76,7 +76,7 @@ export declare class pgSelectComponent implements OnInit, AfterContentInit, Afte
|
|
|
76
76
|
/** new -option insert or new tags insert */
|
|
77
77
|
addOption: (option: any) => void;
|
|
78
78
|
/** -option remove or tags remove */
|
|
79
|
-
removeOption(option:
|
|
79
|
+
removeOption(option: MefDevOptionComponent): void;
|
|
80
80
|
/** dropdown position changed */
|
|
81
81
|
onPositionChange(position: ConnectedOverlayPositionChange): void;
|
|
82
82
|
compositionStart(): void;
|
|
@@ -84,15 +84,15 @@ export declare class pgSelectComponent implements OnInit, AfterContentInit, Afte
|
|
|
84
84
|
/** clear single selected option */
|
|
85
85
|
clearSelect($event?: MouseEvent): void;
|
|
86
86
|
/** click dropdown option by user */
|
|
87
|
-
clickOption(option:
|
|
87
|
+
clickOption(option: MefDevOptionComponent, $event?: MouseEvent): void;
|
|
88
88
|
/** choose option */
|
|
89
|
-
chooseOption(option:
|
|
89
|
+
chooseOption(option: MefDevOptionComponent, isUserClick?: boolean, $event?: MouseEvent): void;
|
|
90
90
|
updateWidth(element: HTMLInputElement, text: string): void;
|
|
91
91
|
/** determine if option in set */
|
|
92
|
-
isInSet(set: Set<
|
|
92
|
+
isInSet(set: Set<MefDevOptionComponent>, option: MefDevOptionComponent): MefDevOptionComponent;
|
|
93
93
|
/** cancel select multiple option */ unSelectMultipleOption: (option: any, $event?: any, emitChange?: boolean) => void;
|
|
94
94
|
/** select multiple option */
|
|
95
|
-
selectMultipleOption(option:
|
|
95
|
+
selectMultipleOption(option: MefDevOptionComponent, $event?: MouseEvent): void;
|
|
96
96
|
/** emit multiple options */
|
|
97
97
|
emitMultipleOptions(): void;
|
|
98
98
|
/** update selected option when add remove option etc */
|
|
@@ -105,8 +105,8 @@ export declare class pgSelectComponent implements OnInit, AfterContentInit, Afte
|
|
|
105
105
|
handleKeyBackspaceEvent(event: KeyboardEvent): void;
|
|
106
106
|
handleKeyDownEvent($event: MouseEvent): void;
|
|
107
107
|
handleKeyUpEvent($event: MouseEvent): void;
|
|
108
|
-
preOption(option:
|
|
109
|
-
nextOption(option:
|
|
108
|
+
preOption(option: MefDevOptionComponent, options: MefDevOptionComponent[]): MefDevOptionComponent;
|
|
109
|
+
nextOption(option: MefDevOptionComponent, options: MefDevOptionComponent[]): MefDevOptionComponent;
|
|
110
110
|
clearSearchText(): void;
|
|
111
111
|
updateFilterOption(updateActiveFilter?: boolean): void;
|
|
112
112
|
onSearchChange(searchValue: string): void;
|
|
@@ -130,6 +130,6 @@ export declare class pgSelectComponent implements OnInit, AfterContentInit, Afte
|
|
|
130
130
|
ngOnInit(): void;
|
|
131
131
|
ngAfterContentChecked(): void;
|
|
132
132
|
private _updateValue;
|
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectComponent, never>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSelectComponent, "mefdev-select", never, { "Filter": "Filter"; "MaxMultiple": "MaxMultiple"; "FirstDefault": "FirstDefault"; "AllowClear": "AllowClear"; "KeepUnListOptions": "KeepUnListOptions"; "Mode": "Mode"; "Multiple": "Multiple"; "PlaceHolder": "PlaceHolder"; "NotFoundContent": "NotFoundContent"; "Size": "Size"; "ShowSearch": "ShowSearch"; "Tags": "Tags"; "Disabled": "Disabled"; "Open": "Open"; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never>;
|
|
135
135
|
}
|
|
@@ -5,8 +5,8 @@ import * as i3 from "./select.component";
|
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
7
|
import * as i6 from "@angular/cdk/overlay";
|
|
8
|
-
export declare class
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
8
|
+
export declare class MefDevSelectModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSelectModule, [typeof i1.OptionPipe, typeof i2.MefDevOptionComponent, typeof i3.MefDevSelectComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule], [typeof i1.OptionPipe, typeof i2.MefDevOptionComponent, typeof i3.MefDevSelectComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSelectModule>;
|
|
12
12
|
}
|