@meshmakers/shared-ui 2.0.2304-14001 → 2.1.3-0
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/README.md +24 -27
- package/esm2020/lib/confirmation-dialog/confirmation-dialog.module.mjs +40 -40
- package/esm2020/lib/confirmation-dialog/confirmation-window/confirmation-window.component.mjs +69 -65
- package/esm2020/lib/confirmation-dialog/services/confirmation.service.mjs +68 -68
- package/esm2020/lib/confirmation-dialog/shared/confirmation.mjs +15 -15
- package/esm2020/lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input.mjs +276 -263
- package/esm2020/lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component.mjs +276 -264
- package/esm2020/lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component.mjs +300 -285
- package/esm2020/lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component.mjs +36 -35
- package/esm2020/lib/ia-shared-ui/ia-shared-ui.module.mjs +88 -88
- package/esm2020/lib/ia-shared-ui/message-details/message-details.component.mjs +24 -24
- package/esm2020/lib/progress-notifier/progress-notifier.module.mjs +44 -44
- package/esm2020/lib/progress-notifier/progress-window/progress-window.component.mjs +34 -33
- package/esm2020/lib/progress-notifier/services/progress-notifier.service.mjs +59 -58
- package/esm2020/lib/progress-notifier/shared/progressValue.mjs +7 -3
- package/esm2020/lib/shared/abstractDetailsComponent.mjs +38 -37
- package/esm2020/lib/shared/commonValidators.mjs +36 -29
- package/esm2020/meshmakers-shared-ui.mjs +4 -4
- package/esm2020/public-api.mjs +16 -16
- package/fesm2015/meshmakers-shared-ui.mjs +1280 -1212
- package/fesm2015/meshmakers-shared-ui.mjs.map +1 -1
- package/fesm2020/meshmakers-shared-ui.mjs +1257 -1202
- package/fesm2020/meshmakers-shared-ui.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/confirmation-dialog/confirmation-dialog.module.d.ts +13 -13
- package/lib/confirmation-dialog/confirmation-window/confirmation-window.component.d.ts +21 -21
- package/lib/confirmation-dialog/services/confirmation.service.d.ts +14 -14
- package/lib/confirmation-dialog/shared/confirmation.d.ts +20 -20
- package/lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input.d.ts +69 -69
- package/lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component.d.ts +70 -70
- package/lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component.d.ts +73 -73
- package/lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component.d.ts +15 -15
- package/lib/ia-shared-ui/ia-shared-ui.module.d.ts +22 -22
- package/lib/ia-shared-ui/message-details/message-details.component.d.ts +13 -13
- package/lib/progress-notifier/progress-notifier.module.d.ts +14 -14
- package/lib/progress-notifier/progress-window/progress-window.component.d.ts +23 -23
- package/lib/progress-notifier/services/progress-notifier.service.d.ts +17 -17
- package/lib/progress-notifier/shared/progressValue.d.ts +5 -4
- package/lib/shared/abstractDetailsComponent.d.ts +15 -15
- package/lib/shared/commonValidators.d.ts +11 -10
- package/package.json +8 -4
- package/public-api.d.ts +12 -12
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
-
import { ConfirmationWindowResult } from "../shared/confirmation";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ConfirmationService {
|
|
6
|
-
private dialog;
|
|
7
|
-
constructor(dialog: MatDialog);
|
|
8
|
-
showYesNoConfirmationDialog(title: string, message: string): Observable<boolean>;
|
|
9
|
-
showYesNoCancelConfirmationDialog(title: string, message: string): Observable<ConfirmationWindowResult>;
|
|
10
|
-
showOkCancelConfirmationDialog(title: string, message: string): Observable<boolean>;
|
|
11
|
-
showOkDialog(title: string, message: string): Observable<boolean>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
14
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { ConfirmationWindowResult } from "../shared/confirmation";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ConfirmationService {
|
|
6
|
+
private dialog;
|
|
7
|
+
constructor(dialog: MatDialog);
|
|
8
|
+
showYesNoConfirmationDialog(title: string, message: string): Observable<boolean>;
|
|
9
|
+
showYesNoCancelConfirmationDialog(title: string, message: string): Observable<ConfirmationWindowResult | undefined>;
|
|
10
|
+
showOkCancelConfirmationDialog(title: string, message: string): Observable<boolean>;
|
|
11
|
+
showOkDialog(title: string, message: string): Observable<boolean>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
14
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export declare enum ButtonTypes {
|
|
2
|
-
Ok = 0,
|
|
3
|
-
Cancel = 1,
|
|
4
|
-
Yes = 2,
|
|
5
|
-
No = 3
|
|
6
|
-
}
|
|
7
|
-
export declare enum DialogType {
|
|
8
|
-
YesNo = 0,
|
|
9
|
-
YesNoCancel = 1,
|
|
10
|
-
OkCancel = 2,
|
|
11
|
-
Ok = 3
|
|
12
|
-
}
|
|
13
|
-
export interface ConfirmationWindowData {
|
|
14
|
-
title: string;
|
|
15
|
-
message: string;
|
|
16
|
-
dialogType: DialogType;
|
|
17
|
-
}
|
|
18
|
-
export interface ConfirmationWindowResult {
|
|
19
|
-
result: ButtonTypes;
|
|
20
|
-
}
|
|
1
|
+
export declare enum ButtonTypes {
|
|
2
|
+
Ok = 0,
|
|
3
|
+
Cancel = 1,
|
|
4
|
+
Yes = 2,
|
|
5
|
+
No = 3
|
|
6
|
+
}
|
|
7
|
+
export declare enum DialogType {
|
|
8
|
+
YesNo = 0,
|
|
9
|
+
YesNoCancel = 1,
|
|
10
|
+
OkCancel = 2,
|
|
11
|
+
Ok = 3
|
|
12
|
+
}
|
|
13
|
+
export interface ConfirmationWindowData {
|
|
14
|
+
title: string;
|
|
15
|
+
message: string;
|
|
16
|
+
dialogType: DialogType;
|
|
17
|
+
}
|
|
18
|
+
export interface ConfirmationWindowResult {
|
|
19
|
+
result: ButtonTypes;
|
|
20
|
+
}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
3
|
-
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
4
|
-
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
5
|
-
import { Subject } from "rxjs";
|
|
6
|
-
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
7
|
-
import { AutoCompleteDataSource } from "@meshmakers/shared-services";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class IaAutocompleteInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<any>, Validator {
|
|
10
|
-
elRef: ElementRef;
|
|
11
|
-
private injector;
|
|
12
|
-
private fm;
|
|
13
|
-
private static nextId;
|
|
14
|
-
readonly searchFormControl: FormControl;
|
|
15
|
-
isLoading: boolean;
|
|
16
|
-
filteredStrings: string[];
|
|
17
|
-
ngControl: NgControl;
|
|
18
|
-
errorState: boolean;
|
|
19
|
-
focused: boolean;
|
|
20
|
-
readonly stateChanges: Subject<void>;
|
|
21
|
-
readonly id: string;
|
|
22
|
-
valueChange: EventEmitter<any>;
|
|
23
|
-
private _selectedString;
|
|
24
|
-
private inputField;
|
|
25
|
-
private describedBy;
|
|
26
|
-
private activatedValue;
|
|
27
|
-
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
28
|
-
private _dataSource;
|
|
29
|
-
get dataSource(): AutoCompleteDataSource;
|
|
30
|
-
set dataSource(value: AutoCompleteDataSource);
|
|
31
|
-
private _disabled;
|
|
32
|
-
get disabled(): boolean;
|
|
33
|
-
set disabled(dis: boolean);
|
|
34
|
-
private _placeholder;
|
|
35
|
-
get placeholder(): string;
|
|
36
|
-
set placeholder(plh: string);
|
|
37
|
-
private _required;
|
|
38
|
-
get required(): boolean;
|
|
39
|
-
set required(req: boolean);
|
|
40
|
-
private _prefix;
|
|
41
|
-
get prefix(): string;
|
|
42
|
-
set prefix(value: string);
|
|
43
|
-
get value(): any;
|
|
44
|
-
set value(value: any);
|
|
45
|
-
get empty(): boolean;
|
|
46
|
-
get shouldLabelFloat(): boolean;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
|
-
ngDoCheck(): void;
|
|
50
|
-
clear(): void;
|
|
51
|
-
focus(): void;
|
|
52
|
-
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
53
|
-
onOptionActivated(event: MatAutocompleteActivatedEvent): void;
|
|
54
|
-
onAutoCompleteClosed(): void;
|
|
55
|
-
reset(): void;
|
|
56
|
-
onFocusOut(): void;
|
|
57
|
-
onTouched(): void;
|
|
58
|
-
registerOnChange(fn: any): void;
|
|
59
|
-
registerOnTouched(fn: any): void;
|
|
60
|
-
writeValue(obj: any): void;
|
|
61
|
-
setDisabledState(isDisabled: boolean): void;
|
|
62
|
-
onContainerClick(event: MouseEvent): void;
|
|
63
|
-
setDescribedByIds(ids: string[]): void;
|
|
64
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
65
|
-
private _propagateChange;
|
|
66
|
-
private _onTouched;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IaAutocompleteInput, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IaAutocompleteInput, "ia-autocomplete", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
69
|
-
}
|
|
1
|
+
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
4
|
+
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
5
|
+
import { Subject } from "rxjs";
|
|
6
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
7
|
+
import { AutoCompleteDataSource } from "@meshmakers/shared-services";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IaAutocompleteInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<any>, Validator {
|
|
10
|
+
elRef: ElementRef;
|
|
11
|
+
private injector;
|
|
12
|
+
private fm;
|
|
13
|
+
private static nextId;
|
|
14
|
+
readonly searchFormControl: FormControl;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
filteredStrings: string[];
|
|
17
|
+
ngControl: NgControl | null;
|
|
18
|
+
errorState: boolean;
|
|
19
|
+
focused: boolean;
|
|
20
|
+
readonly stateChanges: Subject<void>;
|
|
21
|
+
readonly id: string;
|
|
22
|
+
valueChange: EventEmitter<any>;
|
|
23
|
+
private _selectedString;
|
|
24
|
+
private inputField;
|
|
25
|
+
private describedBy;
|
|
26
|
+
private activatedValue;
|
|
27
|
+
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
28
|
+
private _dataSource;
|
|
29
|
+
get dataSource(): AutoCompleteDataSource | null;
|
|
30
|
+
set dataSource(value: AutoCompleteDataSource | null);
|
|
31
|
+
private _disabled;
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
set disabled(dis: boolean);
|
|
34
|
+
private _placeholder;
|
|
35
|
+
get placeholder(): string;
|
|
36
|
+
set placeholder(plh: string);
|
|
37
|
+
private _required;
|
|
38
|
+
get required(): boolean;
|
|
39
|
+
set required(req: boolean);
|
|
40
|
+
private _prefix;
|
|
41
|
+
get prefix(): string;
|
|
42
|
+
set prefix(value: string);
|
|
43
|
+
get value(): any;
|
|
44
|
+
set value(value: any);
|
|
45
|
+
get empty(): boolean;
|
|
46
|
+
get shouldLabelFloat(): boolean;
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
ngDoCheck(): void;
|
|
50
|
+
clear(): void;
|
|
51
|
+
focus(): void;
|
|
52
|
+
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
53
|
+
onOptionActivated(event: MatAutocompleteActivatedEvent): void;
|
|
54
|
+
onAutoCompleteClosed(): void;
|
|
55
|
+
reset(): void;
|
|
56
|
+
onFocusOut(): void;
|
|
57
|
+
onTouched(): void;
|
|
58
|
+
registerOnChange(fn: any): void;
|
|
59
|
+
registerOnTouched(fn: any): void;
|
|
60
|
+
writeValue(obj: any): void;
|
|
61
|
+
setDisabledState(isDisabled: boolean): void;
|
|
62
|
+
onContainerClick(event: MouseEvent): void;
|
|
63
|
+
setDescribedByIds(ids: string[]): void;
|
|
64
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
65
|
+
private _propagateChange;
|
|
66
|
+
private _onTouched;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IaAutocompleteInput, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IaAutocompleteInput, "ia-autocomplete", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
69
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
3
|
-
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
4
|
-
import { EntitySelectDataSource } from "@meshmakers/shared-services";
|
|
5
|
-
import { Subject } from "rxjs";
|
|
6
|
-
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
7
|
-
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class IaEntitySelectInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<any>, Validator {
|
|
10
|
-
elRef: ElementRef;
|
|
11
|
-
private injector;
|
|
12
|
-
private fm;
|
|
13
|
-
private static nextId;
|
|
14
|
-
readonly searchFormControl: FormControl;
|
|
15
|
-
isLoading: boolean;
|
|
16
|
-
filteredEntities: any[];
|
|
17
|
-
ngControl: NgControl;
|
|
18
|
-
errorState: boolean;
|
|
19
|
-
focused: boolean;
|
|
20
|
-
readonly stateChanges: Subject<void>;
|
|
21
|
-
readonly id: string;
|
|
22
|
-
valueChange: EventEmitter<any>;
|
|
23
|
-
private _selectedEntity;
|
|
24
|
-
private inputField;
|
|
25
|
-
private describedBy;
|
|
26
|
-
private activatedValue;
|
|
27
|
-
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
28
|
-
private _dataSource;
|
|
29
|
-
get dataSource(): EntitySelectDataSource<any
|
|
30
|
-
set dataSource(value: EntitySelectDataSource<any>);
|
|
31
|
-
private _disabled;
|
|
32
|
-
get disabled(): boolean;
|
|
33
|
-
set disabled(dis: boolean);
|
|
34
|
-
private _placeholder;
|
|
35
|
-
get placeholder(): string;
|
|
36
|
-
set placeholder(plh: string);
|
|
37
|
-
private _required;
|
|
38
|
-
get required(): boolean;
|
|
39
|
-
set required(req: boolean);
|
|
40
|
-
private _prefix;
|
|
41
|
-
get prefix(): string;
|
|
42
|
-
set prefix(value: string);
|
|
43
|
-
get value(): any;
|
|
44
|
-
set value(value: any);
|
|
45
|
-
get empty(): boolean;
|
|
46
|
-
get shouldLabelFloat(): boolean;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
|
-
ngDoCheck(): void;
|
|
50
|
-
clear(): void;
|
|
51
|
-
focus(): void;
|
|
52
|
-
onEntitySelected(event: MatAutocompleteSelectedEvent): void;
|
|
53
|
-
onEntityActivated(event: MatAutocompleteActivatedEvent): void;
|
|
54
|
-
onEntityClosed(): void;
|
|
55
|
-
reset(): void;
|
|
56
|
-
onFocusOut(): void;
|
|
57
|
-
onTouched(): void;
|
|
58
|
-
registerOnChange(fn: any): void;
|
|
59
|
-
registerOnTouched(fn: any): void;
|
|
60
|
-
writeValue(obj: any): void;
|
|
61
|
-
setDisabledState(isDisabled: boolean): void;
|
|
62
|
-
onContainerClick(event: MouseEvent): void;
|
|
63
|
-
setDescribedByIds(ids: string[]): void;
|
|
64
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
65
|
-
private _propagateChange;
|
|
66
|
-
private _onTouched;
|
|
67
|
-
private setValue;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IaEntitySelectInput, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IaEntitySelectInput, "ia-entity-select", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
70
|
-
}
|
|
1
|
+
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
3
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
4
|
+
import { EntitySelectDataSource } from "@meshmakers/shared-services";
|
|
5
|
+
import { Subject } from "rxjs";
|
|
6
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
7
|
+
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IaEntitySelectInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<any>, Validator {
|
|
10
|
+
elRef: ElementRef;
|
|
11
|
+
private injector;
|
|
12
|
+
private fm;
|
|
13
|
+
private static nextId;
|
|
14
|
+
readonly searchFormControl: FormControl;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
filteredEntities: any[];
|
|
17
|
+
ngControl: NgControl | null;
|
|
18
|
+
errorState: boolean;
|
|
19
|
+
focused: boolean;
|
|
20
|
+
readonly stateChanges: Subject<void>;
|
|
21
|
+
readonly id: string;
|
|
22
|
+
valueChange: EventEmitter<any>;
|
|
23
|
+
private _selectedEntity;
|
|
24
|
+
private readonly inputField;
|
|
25
|
+
private describedBy;
|
|
26
|
+
private activatedValue;
|
|
27
|
+
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
28
|
+
private _dataSource;
|
|
29
|
+
get dataSource(): EntitySelectDataSource<any> | null;
|
|
30
|
+
set dataSource(value: EntitySelectDataSource<any> | null);
|
|
31
|
+
private _disabled;
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
set disabled(dis: boolean);
|
|
34
|
+
private _placeholder;
|
|
35
|
+
get placeholder(): string;
|
|
36
|
+
set placeholder(plh: string);
|
|
37
|
+
private _required;
|
|
38
|
+
get required(): boolean;
|
|
39
|
+
set required(req: boolean);
|
|
40
|
+
private _prefix;
|
|
41
|
+
get prefix(): string;
|
|
42
|
+
set prefix(value: string);
|
|
43
|
+
get value(): any;
|
|
44
|
+
set value(value: any);
|
|
45
|
+
get empty(): boolean;
|
|
46
|
+
get shouldLabelFloat(): boolean;
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
ngDoCheck(): void;
|
|
50
|
+
clear(): void;
|
|
51
|
+
focus(): void;
|
|
52
|
+
onEntitySelected(event: MatAutocompleteSelectedEvent): void;
|
|
53
|
+
onEntityActivated(event: MatAutocompleteActivatedEvent): void;
|
|
54
|
+
onEntityClosed(): void;
|
|
55
|
+
reset(): void;
|
|
56
|
+
onFocusOut(): void;
|
|
57
|
+
onTouched(): void;
|
|
58
|
+
registerOnChange(fn: any): void;
|
|
59
|
+
registerOnTouched(fn: any): void;
|
|
60
|
+
writeValue(obj: any): void;
|
|
61
|
+
setDisabledState(isDisabled: boolean): void;
|
|
62
|
+
onContainerClick(event: MouseEvent): void;
|
|
63
|
+
setDescribedByIds(ids: string[]): void;
|
|
64
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
65
|
+
private _propagateChange;
|
|
66
|
+
private _onTouched;
|
|
67
|
+
private setValue;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IaEntitySelectInput, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IaEntitySelectInput, "ia-entity-select", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
70
|
+
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { EntitySelectDataSource } from "@meshmakers/shared-services";
|
|
3
|
-
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
4
|
-
import { Subject } from "rxjs";
|
|
5
|
-
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
6
|
-
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
7
|
-
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class IaMultipleEntitySelectInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<Array<any>>, Validator {
|
|
10
|
-
elRef: ElementRef;
|
|
11
|
-
private injector;
|
|
12
|
-
private fm;
|
|
13
|
-
private static nextId;
|
|
14
|
-
readonly valuesFormControl: FormControl;
|
|
15
|
-
readonly searchFormControl: FormControl;
|
|
16
|
-
isLoading: boolean;
|
|
17
|
-
filteredEntities: any[];
|
|
18
|
-
ngControl: NgControl;
|
|
19
|
-
errorState: boolean;
|
|
20
|
-
focused: boolean;
|
|
21
|
-
readonly stateChanges: Subject<void>;
|
|
22
|
-
readonly id: string;
|
|
23
|
-
valuesChange: EventEmitter<Array<any>>;
|
|
24
|
-
private _selectedEntities;
|
|
25
|
-
private inputField;
|
|
26
|
-
private describedBy;
|
|
27
|
-
private activatedValue;
|
|
28
|
-
readonly separatorKeysCodes: readonly [13, 188];
|
|
29
|
-
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
30
|
-
private _dataSource;
|
|
31
|
-
get dataSource(): EntitySelectDataSource<any
|
|
32
|
-
set dataSource(value: EntitySelectDataSource<any>);
|
|
33
|
-
private _disabled;
|
|
34
|
-
get disabled(): boolean;
|
|
35
|
-
set disabled(dis: boolean);
|
|
36
|
-
private _placeholder;
|
|
37
|
-
get placeholder(): string;
|
|
38
|
-
set placeholder(plh: string);
|
|
39
|
-
private _required;
|
|
40
|
-
get required(): boolean;
|
|
41
|
-
set required(req: boolean);
|
|
42
|
-
private _prefix;
|
|
43
|
-
get prefix(): string;
|
|
44
|
-
set prefix(value: string);
|
|
45
|
-
get value(): Array<any
|
|
46
|
-
set value(value: Array<any>);
|
|
47
|
-
get empty(): boolean;
|
|
48
|
-
get shouldLabelFloat(): boolean;
|
|
49
|
-
ngOnInit(): void;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
ngDoCheck(): void;
|
|
52
|
-
clear(): void;
|
|
53
|
-
focus(): void;
|
|
54
|
-
onEntitySelected(event: MatAutocompleteSelectedEvent): void;
|
|
55
|
-
onEntityActivated(event: MatAutocompleteActivatedEvent): void;
|
|
56
|
-
onEntityClosed(): void;
|
|
57
|
-
reset(): void;
|
|
58
|
-
onFocusOut(): void;
|
|
59
|
-
onTouched(): void;
|
|
60
|
-
registerOnChange(fn: any): void;
|
|
61
|
-
registerOnTouched(fn: any): void;
|
|
62
|
-
writeValue(obj: any): void;
|
|
63
|
-
setDisabledState(isDisabled: boolean): void;
|
|
64
|
-
onContainerClick(event: MouseEvent): void;
|
|
65
|
-
setDescribedByIds(ids: string[]): void;
|
|
66
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
67
|
-
remove(value: any): void;
|
|
68
|
-
private _propagateChange;
|
|
69
|
-
private _onTouched;
|
|
70
|
-
private setValue;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IaMultipleEntitySelectInput, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IaMultipleEntitySelectInput, "ia-multiple-entity-select", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
73
|
-
}
|
|
1
|
+
import { DoCheck, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { EntitySelectDataSource } from "@meshmakers/shared-services";
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, FormControl, NgControl, ValidationErrors, Validator } from "@angular/forms";
|
|
4
|
+
import { Subject } from "rxjs";
|
|
5
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
6
|
+
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
7
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IaMultipleEntitySelectInput implements OnInit, OnDestroy, DoCheck, ControlValueAccessor, MatFormFieldControl<Array<any>>, Validator {
|
|
10
|
+
elRef: ElementRef;
|
|
11
|
+
private injector;
|
|
12
|
+
private fm;
|
|
13
|
+
private static nextId;
|
|
14
|
+
readonly valuesFormControl: FormControl;
|
|
15
|
+
readonly searchFormControl: FormControl;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
filteredEntities: any[];
|
|
18
|
+
ngControl: NgControl | null;
|
|
19
|
+
errorState: boolean;
|
|
20
|
+
focused: boolean;
|
|
21
|
+
readonly stateChanges: Subject<void>;
|
|
22
|
+
readonly id: string;
|
|
23
|
+
valuesChange: EventEmitter<Array<any>>;
|
|
24
|
+
private _selectedEntities;
|
|
25
|
+
private readonly inputField;
|
|
26
|
+
private describedBy;
|
|
27
|
+
private activatedValue;
|
|
28
|
+
readonly separatorKeysCodes: readonly [13, 188];
|
|
29
|
+
constructor(elRef: ElementRef, injector: Injector, fm: FocusMonitor);
|
|
30
|
+
private _dataSource;
|
|
31
|
+
get dataSource(): EntitySelectDataSource<any> | null;
|
|
32
|
+
set dataSource(value: EntitySelectDataSource<any> | null);
|
|
33
|
+
private _disabled;
|
|
34
|
+
get disabled(): boolean;
|
|
35
|
+
set disabled(dis: boolean);
|
|
36
|
+
private _placeholder;
|
|
37
|
+
get placeholder(): string;
|
|
38
|
+
set placeholder(plh: string);
|
|
39
|
+
private _required;
|
|
40
|
+
get required(): boolean;
|
|
41
|
+
set required(req: boolean);
|
|
42
|
+
private _prefix;
|
|
43
|
+
get prefix(): string;
|
|
44
|
+
set prefix(value: string);
|
|
45
|
+
get value(): Array<any> | null;
|
|
46
|
+
set value(value: Array<any> | null);
|
|
47
|
+
get empty(): boolean;
|
|
48
|
+
get shouldLabelFloat(): boolean;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
ngDoCheck(): void;
|
|
52
|
+
clear(): void;
|
|
53
|
+
focus(): void;
|
|
54
|
+
onEntitySelected(event: MatAutocompleteSelectedEvent): void;
|
|
55
|
+
onEntityActivated(event: MatAutocompleteActivatedEvent): void;
|
|
56
|
+
onEntityClosed(): void;
|
|
57
|
+
reset(): void;
|
|
58
|
+
onFocusOut(): void;
|
|
59
|
+
onTouched(): void;
|
|
60
|
+
registerOnChange(fn: any): void;
|
|
61
|
+
registerOnTouched(fn: any): void;
|
|
62
|
+
writeValue(obj: any): void;
|
|
63
|
+
setDisabledState(isDisabled: boolean): void;
|
|
64
|
+
onContainerClick(event: MouseEvent): void;
|
|
65
|
+
setDescribedByIds(ids: string[]): void;
|
|
66
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
67
|
+
remove(value: any): void;
|
|
68
|
+
private _propagateChange;
|
|
69
|
+
private _onTouched;
|
|
70
|
+
private setValue;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IaMultipleEntitySelectInput, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IaMultipleEntitySelectInput, "ia-multiple-entity-select", never, { "dataSource": "dataSource"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "prefix": "prefix"; }, {}, never, never, false, never>;
|
|
73
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ErrorMessage, MessageService } from "@meshmakers/shared-services";
|
|
3
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IaNotificationBarComponent implements OnInit {
|
|
6
|
-
private messageService;
|
|
7
|
-
private dialog;
|
|
8
|
-
errorMessage: ErrorMessage;
|
|
9
|
-
constructor(messageService: MessageService, dialog: MatDialog);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
onHide(): void;
|
|
12
|
-
onShowDetails(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IaNotificationBarComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IaNotificationBarComponent, "ia-notification-bar", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ErrorMessage, MessageService } from "@meshmakers/shared-services";
|
|
3
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IaNotificationBarComponent implements OnInit {
|
|
6
|
+
private messageService;
|
|
7
|
+
private dialog;
|
|
8
|
+
errorMessage: ErrorMessage | null;
|
|
9
|
+
constructor(messageService: MessageService, dialog: MatDialog);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onHide(): void;
|
|
12
|
+
onShowDetails(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IaNotificationBarComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IaNotificationBarComponent, "ia-notification-bar", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ia-notification-bar/ia-notification-bar.component";
|
|
3
|
-
import * as i2 from "./message-details/message-details.component";
|
|
4
|
-
import * as i3 from "./ia-autocomplete-input/ia-autocomplete-input";
|
|
5
|
-
import * as i4 from "./ia-entity-select-input/ia-entity-select-input.component";
|
|
6
|
-
import * as i5 from "./ia-multiple-entity-select-input/ia-multiple-entity-select-input.component";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "@angular/material/toolbar";
|
|
9
|
-
import * as i8 from "@angular/material/button";
|
|
10
|
-
import * as i9 from "@angular/material/snack-bar";
|
|
11
|
-
import * as i10 from "@angular/material/dialog";
|
|
12
|
-
import * as i11 from "@angular/material/autocomplete";
|
|
13
|
-
import * as i12 from "@angular/material/input";
|
|
14
|
-
import * as i13 from "@angular/material/progress-spinner";
|
|
15
|
-
import * as i14 from "@angular/material/chips";
|
|
16
|
-
import * as i15 from "@angular/material/icon";
|
|
17
|
-
import * as i16 from "@angular/forms";
|
|
18
|
-
export declare class IaSharedUIModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IaSharedUIModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IaSharedUIModule, [typeof i1.IaNotificationBarComponent, typeof i2.MessageDetailsComponent, typeof i3.IaAutocompleteInput, typeof i4.IaEntitySelectInput, typeof i5.IaMultipleEntitySelectInput], [typeof i6.CommonModule, typeof i7.MatToolbarModule, typeof i8.MatButtonModule, typeof i9.MatSnackBarModule, typeof i10.MatDialogModule, typeof i11.MatAutocompleteModule, typeof i12.MatInputModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatChipsModule, typeof i15.MatIconModule, typeof i16.ReactiveFormsModule], [typeof i1.IaNotificationBarComponent, typeof i3.IaAutocompleteInput, typeof i4.IaEntitySelectInput, typeof i5.IaMultipleEntitySelectInput]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IaSharedUIModule>;
|
|
22
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ia-notification-bar/ia-notification-bar.component";
|
|
3
|
+
import * as i2 from "./message-details/message-details.component";
|
|
4
|
+
import * as i3 from "./ia-autocomplete-input/ia-autocomplete-input";
|
|
5
|
+
import * as i4 from "./ia-entity-select-input/ia-entity-select-input.component";
|
|
6
|
+
import * as i5 from "./ia-multiple-entity-select-input/ia-multiple-entity-select-input.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/material/toolbar";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/snack-bar";
|
|
11
|
+
import * as i10 from "@angular/material/dialog";
|
|
12
|
+
import * as i11 from "@angular/material/autocomplete";
|
|
13
|
+
import * as i12 from "@angular/material/input";
|
|
14
|
+
import * as i13 from "@angular/material/progress-spinner";
|
|
15
|
+
import * as i14 from "@angular/material/chips";
|
|
16
|
+
import * as i15 from "@angular/material/icon";
|
|
17
|
+
import * as i16 from "@angular/forms";
|
|
18
|
+
export declare class IaSharedUIModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IaSharedUIModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IaSharedUIModule, [typeof i1.IaNotificationBarComponent, typeof i2.MessageDetailsComponent, typeof i3.IaAutocompleteInput, typeof i4.IaEntitySelectInput, typeof i5.IaMultipleEntitySelectInput], [typeof i6.CommonModule, typeof i7.MatToolbarModule, typeof i8.MatButtonModule, typeof i9.MatSnackBarModule, typeof i10.MatDialogModule, typeof i11.MatAutocompleteModule, typeof i12.MatInputModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatChipsModule, typeof i15.MatIconModule, typeof i16.ReactiveFormsModule], [typeof i1.IaNotificationBarComponent, typeof i3.IaAutocompleteInput, typeof i4.IaEntitySelectInput, typeof i5.IaMultipleEntitySelectInput]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IaSharedUIModule>;
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
-
import { ErrorMessage } from "@meshmakers/shared-services";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MessageDetailsComponent implements OnInit {
|
|
6
|
-
dialogRef: MatDialogRef<MessageDetailsComponent>;
|
|
7
|
-
data: any;
|
|
8
|
-
errorMessage: ErrorMessage;
|
|
9
|
-
constructor(dialogRef: MatDialogRef<MessageDetailsComponent>, data: any);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageDetailsComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageDetailsComponent, "app-message-details", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { ErrorMessage } from "@meshmakers/shared-services";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MessageDetailsComponent implements OnInit {
|
|
6
|
+
dialogRef: MatDialogRef<MessageDetailsComponent>;
|
|
7
|
+
data: any;
|
|
8
|
+
errorMessage: ErrorMessage;
|
|
9
|
+
constructor(dialogRef: MatDialogRef<MessageDetailsComponent>, data: any);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageDetailsComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageDetailsComponent, "app-message-details", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./progress-window/progress-window.component";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "@angular/material/dialog";
|
|
6
|
-
import * as i4 from "@angular/flex-layout";
|
|
7
|
-
import * as i5 from "@angular/material/button";
|
|
8
|
-
import * as i6 from "@angular/material/progress-bar";
|
|
9
|
-
export declare class ProgressNotifierModule {
|
|
10
|
-
static forRoot(): ModuleWithProviders<ProgressNotifierModule>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressNotifierModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressNotifierModule, [typeof i1.ProgressWindowComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.FlexLayoutModule, typeof i5.MatButtonModule, typeof i6.MatProgressBarModule], never>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressNotifierModule>;
|
|
14
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./progress-window/progress-window.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/material/dialog";
|
|
6
|
+
import * as i4 from "@angular/flex-layout";
|
|
7
|
+
import * as i5 from "@angular/material/button";
|
|
8
|
+
import * as i6 from "@angular/material/progress-bar";
|
|
9
|
+
export declare class ProgressNotifierModule {
|
|
10
|
+
static forRoot(): ModuleWithProviders<ProgressNotifierModule>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressNotifierModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressNotifierModule, [typeof i1.ProgressWindowComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.FlexLayoutModule, typeof i5.MatButtonModule, typeof i6.MatProgressBarModule], never>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressNotifierModule>;
|
|
14
|
+
}
|