@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.
Files changed (42) hide show
  1. package/README.md +24 -27
  2. package/esm2020/lib/confirmation-dialog/confirmation-dialog.module.mjs +40 -40
  3. package/esm2020/lib/confirmation-dialog/confirmation-window/confirmation-window.component.mjs +69 -65
  4. package/esm2020/lib/confirmation-dialog/services/confirmation.service.mjs +68 -68
  5. package/esm2020/lib/confirmation-dialog/shared/confirmation.mjs +15 -15
  6. package/esm2020/lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input.mjs +276 -263
  7. package/esm2020/lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component.mjs +276 -264
  8. package/esm2020/lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component.mjs +300 -285
  9. package/esm2020/lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component.mjs +36 -35
  10. package/esm2020/lib/ia-shared-ui/ia-shared-ui.module.mjs +88 -88
  11. package/esm2020/lib/ia-shared-ui/message-details/message-details.component.mjs +24 -24
  12. package/esm2020/lib/progress-notifier/progress-notifier.module.mjs +44 -44
  13. package/esm2020/lib/progress-notifier/progress-window/progress-window.component.mjs +34 -33
  14. package/esm2020/lib/progress-notifier/services/progress-notifier.service.mjs +59 -58
  15. package/esm2020/lib/progress-notifier/shared/progressValue.mjs +7 -3
  16. package/esm2020/lib/shared/abstractDetailsComponent.mjs +38 -37
  17. package/esm2020/lib/shared/commonValidators.mjs +36 -29
  18. package/esm2020/meshmakers-shared-ui.mjs +4 -4
  19. package/esm2020/public-api.mjs +16 -16
  20. package/fesm2015/meshmakers-shared-ui.mjs +1280 -1212
  21. package/fesm2015/meshmakers-shared-ui.mjs.map +1 -1
  22. package/fesm2020/meshmakers-shared-ui.mjs +1257 -1202
  23. package/fesm2020/meshmakers-shared-ui.mjs.map +1 -1
  24. package/index.d.ts +5 -5
  25. package/lib/confirmation-dialog/confirmation-dialog.module.d.ts +13 -13
  26. package/lib/confirmation-dialog/confirmation-window/confirmation-window.component.d.ts +21 -21
  27. package/lib/confirmation-dialog/services/confirmation.service.d.ts +14 -14
  28. package/lib/confirmation-dialog/shared/confirmation.d.ts +20 -20
  29. package/lib/ia-shared-ui/ia-autocomplete-input/ia-autocomplete-input.d.ts +69 -69
  30. package/lib/ia-shared-ui/ia-entity-select-input/ia-entity-select-input.component.d.ts +70 -70
  31. package/lib/ia-shared-ui/ia-multiple-entity-select-input/ia-multiple-entity-select-input.component.d.ts +73 -73
  32. package/lib/ia-shared-ui/ia-notification-bar/ia-notification-bar.component.d.ts +15 -15
  33. package/lib/ia-shared-ui/ia-shared-ui.module.d.ts +22 -22
  34. package/lib/ia-shared-ui/message-details/message-details.component.d.ts +13 -13
  35. package/lib/progress-notifier/progress-notifier.module.d.ts +14 -14
  36. package/lib/progress-notifier/progress-window/progress-window.component.d.ts +23 -23
  37. package/lib/progress-notifier/services/progress-notifier.service.d.ts +17 -17
  38. package/lib/progress-notifier/shared/progressValue.d.ts +5 -4
  39. package/lib/shared/abstractDetailsComponent.d.ts +15 -15
  40. package/lib/shared/commonValidators.d.ts +11 -10
  41. package/package.json +8 -4
  42. 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
- protected _ownerForm: FormGroup;
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 conditionalRequired<TCompareValue>(sourceControlName: string, sourceValueCompareExpression: CompareValueFn<TCompareValue>): ValidatorFn;
9
- static dependentControls(controlNames: string[]): ValidatorFn;
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.0.2304-14001",
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.5.0"
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';