@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,23 +1,23 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { ProgressValue } from "../shared/progressValue";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface ProgressWindowData {
|
|
6
|
-
title: string;
|
|
7
|
-
isDeterminate: boolean;
|
|
8
|
-
progress: Observable<ProgressValue>;
|
|
9
|
-
isCancelOperationAvailable: boolean;
|
|
10
|
-
cancelOperation: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface ProgressWindowResult {
|
|
13
|
-
}
|
|
14
|
-
export declare class ProgressWindowComponent implements OnInit {
|
|
15
|
-
data: ProgressWindowData;
|
|
16
|
-
statusText: string;
|
|
17
|
-
progressValue: number;
|
|
18
|
-
constructor(data: ProgressWindowData);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
onCancelClick(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressWindowComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressWindowComponent, "lib-progress-window", never, {}, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ProgressValue } from "../shared/progressValue";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface ProgressWindowData {
|
|
6
|
+
title: string;
|
|
7
|
+
isDeterminate: boolean;
|
|
8
|
+
progress: Observable<ProgressValue>;
|
|
9
|
+
isCancelOperationAvailable: boolean;
|
|
10
|
+
cancelOperation: () => void;
|
|
11
|
+
}
|
|
12
|
+
export interface ProgressWindowResult {
|
|
13
|
+
}
|
|
14
|
+
export declare class ProgressWindowComponent implements OnInit {
|
|
15
|
+
data: ProgressWindowData;
|
|
16
|
+
statusText: string | null;
|
|
17
|
+
progressValue: number;
|
|
18
|
+
constructor(data: ProgressWindowData);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
onCancelClick(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressWindowComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressWindowComponent, "lib-progress-window", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ProgressNotifierService {
|
|
4
|
-
private dialog;
|
|
5
|
-
private readonly _currentProgressValue;
|
|
6
|
-
private currentDialogRef;
|
|
7
|
-
constructor(dialog: MatDialog);
|
|
8
|
-
private _isCanceled;
|
|
9
|
-
get isCanceled(): boolean;
|
|
10
|
-
set isCanceled(value: boolean);
|
|
11
|
-
start(title: string, isDeterminate: boolean, isCancelOperationAvailable: boolean): void;
|
|
12
|
-
reportProgressDeterminate(progressCurrent: number, progressMax: number, statusText: string): void;
|
|
13
|
-
reportProgressIndeterminate(statusText: string): void;
|
|
14
|
-
complete(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressNotifierService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressNotifierService>;
|
|
17
|
-
}
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressNotifierService {
|
|
4
|
+
private dialog;
|
|
5
|
+
private readonly _currentProgressValue;
|
|
6
|
+
private currentDialogRef;
|
|
7
|
+
constructor(dialog: MatDialog);
|
|
8
|
+
private _isCanceled;
|
|
9
|
+
get isCanceled(): boolean;
|
|
10
|
+
set isCanceled(value: boolean);
|
|
11
|
+
start(title: string, isDeterminate: boolean, isCancelOperationAvailable: boolean): void;
|
|
12
|
+
reportProgressDeterminate(progressCurrent: number, progressMax: number, statusText: string): void;
|
|
13
|
+
reportProgressIndeterminate(statusText: string): void;
|
|
14
|
+
complete(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressNotifierService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressNotifierService>;
|
|
17
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare class ProgressValue {
|
|
2
|
-
statusText: string;
|
|
3
|
-
progressValue: number;
|
|
4
|
-
|
|
1
|
+
export declare class ProgressValue {
|
|
2
|
+
statusText: string | null;
|
|
3
|
+
progressValue: number;
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
export declare abstract class AbstractDetailsComponent<TEntity> {
|
|
3
|
-
loading: boolean;
|
|
4
|
-
protected entity: TEntity;
|
|
5
|
-
protected constructor();
|
|
6
|
-
|
|
7
|
-
get ownerForm(): FormGroup;
|
|
8
|
-
get isLoaded(): boolean;
|
|
9
|
-
hasError: (controlName: string, errorName: string) => boolean;
|
|
10
|
-
hasFormError: (errorName: string) => boolean;
|
|
11
|
-
updateDateTime(controlName: string): void;
|
|
12
|
-
copyInputMessage(inputElement: any): void;
|
|
13
|
-
protected onProgressStarting(): void;
|
|
14
|
-
protected onProgressCompleted(): void;
|
|
15
|
-
}
|
|
1
|
+
import { FormGroup } from "@angular/forms";
|
|
2
|
+
export declare abstract class AbstractDetailsComponent<TEntity> {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
protected entity: TEntity | null;
|
|
5
|
+
protected constructor(formGroup: FormGroup);
|
|
6
|
+
private _ownerForm;
|
|
7
|
+
get ownerForm(): FormGroup;
|
|
8
|
+
get isLoaded(): boolean;
|
|
9
|
+
hasError: (controlName: string, errorName: string) => boolean;
|
|
10
|
+
hasFormError: (errorName: string) => boolean;
|
|
11
|
+
updateDateTime(controlName: string): void;
|
|
12
|
+
copyInputMessage(inputElement: any): void;
|
|
13
|
+
protected onProgressStarting(): void;
|
|
14
|
+
protected onProgressCompleted(): void;
|
|
15
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ValidatorFn } from "@angular/forms";
|
|
2
|
-
export declare interface CompareValueFn<TValue> {
|
|
3
|
-
(value: TValue): boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class CommonValidators {
|
|
6
|
-
static phoneNumber(): ValidatorFn;
|
|
7
|
-
static httpUri(): ValidatorFn;
|
|
8
|
-
static
|
|
9
|
-
static
|
|
10
|
-
|
|
1
|
+
import { ValidatorFn } from "@angular/forms";
|
|
2
|
+
export declare interface CompareValueFn<TValue> {
|
|
3
|
+
(value: TValue): boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class CommonValidators {
|
|
6
|
+
static phoneNumber(): ValidatorFn;
|
|
7
|
+
static httpUri(): ValidatorFn;
|
|
8
|
+
static ensureSameValue(sourceControlName: string): ValidatorFn;
|
|
9
|
+
static conditionalRequired<TCompareValue>(sourceControlName: string, sourceValueCompareExpression: CompareValueFn<TCompareValue>): ValidatorFn;
|
|
10
|
+
static dependentControls(controlNames: string[]): ValidatorFn;
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshmakers/shared-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.3-0",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^15.2.0",
|
|
6
|
+
"@angular/core": "^15.2.0"
|
|
7
|
+
},
|
|
4
8
|
"dependencies": {
|
|
5
|
-
"tslib": "^2.
|
|
9
|
+
"tslib": "^2.3.0"
|
|
6
10
|
},
|
|
11
|
+
"sideEffects": false,
|
|
7
12
|
"module": "fesm2015/meshmakers-shared-ui.mjs",
|
|
8
13
|
"es2020": "fesm2020/meshmakers-shared-ui.mjs",
|
|
9
14
|
"esm2020": "esm2020/meshmakers-shared-ui.mjs",
|
|
@@ -22,6 +27,5 @@
|
|
|
22
27
|
"node": "./fesm2015/meshmakers-shared-ui.mjs",
|
|
23
28
|
"default": "./fesm2020/meshmakers-shared-ui.mjs"
|
|
24
29
|
}
|
|
25
|
-
}
|
|
26
|
-
"sideEffects": false
|
|
30
|
+
}
|
|
27
31
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './lib/ia-shared-ui/ia-shared-ui.module';
|
|
2
|
-
export * from './lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component';
|
|
3
|
-
export * from './lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input';
|
|
4
|
-
export * from './lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component';
|
|
5
|
-
export * from './lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component';
|
|
6
|
-
export * from './lib/progress-notifier/progress-notifier.module';
|
|
7
|
-
export * from './lib/progress-notifier/services/progress-notifier.service';
|
|
8
|
-
export * from './lib/confirmation-dialog/confirmation-dialog.module';
|
|
9
|
-
export * from './lib/confirmation-dialog/services/confirmation.service';
|
|
10
|
-
export * from './lib/confirmation-dialog/shared/confirmation';
|
|
11
|
-
export * from './lib/shared/commonValidators';
|
|
12
|
-
export * from './lib/shared/abstractDetailsComponent';
|
|
1
|
+
export * from './lib/ia-shared-ui/ia-shared-ui.module';
|
|
2
|
+
export * from './lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component';
|
|
3
|
+
export * from './lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input';
|
|
4
|
+
export * from './lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component';
|
|
5
|
+
export * from './lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component';
|
|
6
|
+
export * from './lib/progress-notifier/progress-notifier.module';
|
|
7
|
+
export * from './lib/progress-notifier/services/progress-notifier.service';
|
|
8
|
+
export * from './lib/confirmation-dialog/confirmation-dialog.module';
|
|
9
|
+
export * from './lib/confirmation-dialog/services/confirmation.service';
|
|
10
|
+
export * from './lib/confirmation-dialog/shared/confirmation';
|
|
11
|
+
export * from './lib/shared/commonValidators';
|
|
12
|
+
export * from './lib/shared/abstractDetailsComponent';
|