@festo-ui/angular 3.1.0-pre-20220328.2 → 3.1.0-pre-20220329.6
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/buttons/button/button.component.mjs +2 -2
- package/esm2020/lib/components/modals/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/modals/confirm/confirm.component.mjs +3 -17
- package/esm2020/lib/components/modals/custom-modal/custom-modal.component.mjs +70 -0
- package/esm2020/lib/components/modals/modals.module.mjs +9 -6
- package/esm2020/lib/components/modals/prompt/prompt.component.mjs +3 -3
- package/fesm2015/festo-ui-angular.mjs +80 -28
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +80 -28
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- package/lib/components/modals/confirm/confirm.component.d.ts +1 -3
- package/lib/components/modals/custom-modal/custom-modal.component.d.ts +21 -0
- package/lib/components/modals/modals.module.d.ts +8 -5
- package/package.json +1 -1
- package/scss/base/components/buttons/button/button.component.scss +6 -0
|
@@ -7,23 +7,21 @@ export interface ConfirmData {
|
|
|
7
7
|
body: string;
|
|
8
8
|
cancel?: string;
|
|
9
9
|
ok?: string;
|
|
10
|
+
large?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare class ConfirmComponent implements AfterViewInit, Modal<ConfirmData, any> {
|
|
12
13
|
private cd;
|
|
13
|
-
hasScrollableContent: boolean;
|
|
14
14
|
data: ConfirmData;
|
|
15
15
|
close: EventEmitter<any>;
|
|
16
16
|
cancel: EventEmitter<any>;
|
|
17
17
|
ok: EventEmitter<any>;
|
|
18
18
|
closeBtn: ElementRef;
|
|
19
|
-
content: ElementRef;
|
|
20
19
|
onKeyUp(event: KeyboardEvent): void;
|
|
21
20
|
constructor(cd: ChangeDetectorRef);
|
|
22
21
|
ngAfterViewInit(): void;
|
|
23
22
|
onClose(): void;
|
|
24
23
|
onOk(): void;
|
|
25
24
|
onCancel(): void;
|
|
26
|
-
private shouldScroll;
|
|
27
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
|
|
28
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "fng-confirm", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never>;
|
|
29
27
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CustomModalComponent {
|
|
4
|
+
closeOnBackdrop: boolean;
|
|
5
|
+
large: boolean;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
visibleChange: EventEmitter<boolean>;
|
|
8
|
+
header: string;
|
|
9
|
+
subheader: string;
|
|
10
|
+
acknowledgeLabel: string;
|
|
11
|
+
acknowledge: EventEmitter<void>;
|
|
12
|
+
cancelLabel: string;
|
|
13
|
+
cancel: EventEmitter<void>;
|
|
14
|
+
closeModal(): void;
|
|
15
|
+
onCancel(): void;
|
|
16
|
+
onAcknowledge(): void;
|
|
17
|
+
onClickOutside(): void;
|
|
18
|
+
onClickInside(event: MouseEvent): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomModalComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomModalComponent, "fng-custom-modal", never, { "closeOnBackdrop": "closeOnBackdrop"; "large": "large"; "visible": "visible"; "header": "header"; "subheader": "subheader"; "acknowledgeLabel": "acknowledgeLabel"; "cancelLabel": "cancelLabel"; }, { "visibleChange": "visibleChange"; "acknowledge": "acknowledge"; "cancel": "cancel"; }, never, ["*"]>;
|
|
21
|
+
}
|
|
@@ -2,16 +2,19 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./alert/alert.component";
|
|
3
3
|
import * as i2 from "./confirm/confirm.component";
|
|
4
4
|
import * as i3 from "./prompt/prompt.component";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "@angular/
|
|
8
|
-
import * as i7 from "
|
|
5
|
+
import * as i4 from "./custom-modal/custom-modal.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
import * as i7 from "@angular/cdk/overlay";
|
|
9
|
+
import * as i8 from "../../forms/forms.module";
|
|
10
|
+
import * as i9 from "../components.module";
|
|
9
11
|
export * from './index';
|
|
10
12
|
export * from './alert/alert.component';
|
|
11
13
|
export * from './confirm/confirm.component';
|
|
12
14
|
export * from './prompt/prompt.component';
|
|
15
|
+
export * from './custom-modal/custom-modal.component';
|
|
13
16
|
export declare class FestoAngularModalsModule {
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModalsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, [typeof i1.AlertComponent, typeof i2.ConfirmComponent, typeof i3.PromptComponent], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, [typeof i1.AlertComponent, typeof i2.ConfirmComponent, typeof i3.PromptComponent, typeof i4.CustomModalComponent], [typeof i5.CommonModule, typeof i6.RouterModule, typeof i7.OverlayModule, typeof i8.FestoAngularFormsModule, typeof i9.FestoAngularComponentsModule], [typeof i1.AlertComponent, typeof i2.ConfirmComponent, typeof i3.PromptComponent, typeof i4.CustomModalComponent]>;
|
|
16
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModalsModule>;
|
|
17
20
|
}
|
package/package.json
CHANGED