@kms-ngx-ui/presentational 0.0.24 → 14.0.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 +28 -28
- package/{esm2015/kms-ngx-ui-presentational.js → esm2020/kms-ngx-ui-presentational.mjs} +4 -4
- package/esm2020/lib/directives/directives.module.mjs +40 -0
- package/{esm2015/lib/directives/mousewheel.directive.js → esm2020/lib/directives/mousewheel.directive.mjs} +56 -56
- package/{esm2015/lib/directives/sum-of-height.directive.js → esm2020/lib/directives/sum-of-height.directive.mjs} +74 -74
- package/{esm2015/lib/directives/swipe.directive.js → esm2020/lib/directives/swipe.directive.mjs} +183 -183
- package/esm2020/lib/directives/swipe.model.mjs +5 -0
- package/{esm2015/lib/directives/tooltip.directive.js → esm2020/lib/directives/tooltip.directive.mjs} +144 -144
- package/esm2020/lib/kms-ngx-ui-presentational.component.mjs +22 -0
- package/{esm2015/lib/kms-ngx-ui-presentational.module.js → esm2020/lib/kms-ngx-ui-presentational.module.mjs} +215 -217
- package/{esm2015/lib/kms-ngx-ui-presentational.service.js → esm2020/lib/kms-ngx-ui-presentational.service.mjs} +14 -14
- package/esm2020/lib/models/address.model.mjs +6 -0
- package/{esm2015/lib/models/iconSize.enum.js → esm2020/lib/models/iconSize.enum.mjs} +17 -17
- package/{esm2015/lib/models/image-snippet.model.js → esm2020/lib/models/image-snippet.model.mjs} +18 -18
- package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +5 -5
- package/{esm2015/lib/models/is-value.function.js → esm2020/lib/models/is-value.function.mjs} +17 -17
- package/{esm2015/lib/models/salutation.enum.js → esm2020/lib/models/salutation.enum.mjs} +8 -8
- package/{esm2015/lib/models/types/attached-file-dto.model.js → esm2020/lib/models/types/attached-file-dto.model.mjs} +6 -6
- package/{esm2015/lib/models/types/nullable.type.js → esm2020/lib/models/types/nullable.type.mjs} +5 -5
- package/{esm2015/lib/parent-components/actions.component.js → esm2020/lib/parent-components/actions.component.mjs} +56 -56
- package/esm2020/lib/parent-components/form-control.component.mjs +75 -0
- package/esm2020/lib/parent-components/form.component.mjs +78 -0
- package/{esm2015/lib/pipes/custom-pipes.module.js → esm2020/lib/pipes/custom-pipes.module.mjs} +71 -71
- package/esm2020/lib/pipes/decode-uri.pipe.mjs +19 -0
- package/esm2020/lib/pipes/encode-uri.pipe.mjs +19 -0
- package/{esm2015/lib/pipes/integer-currency.pipe.js → esm2020/lib/pipes/integer-currency.pipe.mjs} +27 -27
- package/{esm2015/lib/pipes/safe-html.pipe.js → esm2020/lib/pipes/safe-html.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-resource-url.pipe.js → esm2020/lib/pipes/safe-resource-url.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-style.pipe.js → esm2020/lib/pipes/safe-style.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/safe-url.pipe.js → esm2020/lib/pipes/safe-url.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/to-number.pipe.js → esm2020/lib/pipes/to-number.pipe.mjs} +23 -23
- package/{esm2015/lib/pipes/trim.pipe.js → esm2020/lib/pipes/trim.pipe.mjs} +20 -20
- package/{esm2015/lib/pipes/typeof.pipe.js → esm2020/lib/pipes/typeof.pipe.mjs} +16 -16
- package/esm2020/lib/services/viewport.service.mjs +216 -0
- package/esm2020/lib/ui/back-to-top/back-to-top.component.mjs +49 -0
- package/{esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js → esm2020/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs} +6 -6
- package/esm2020/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +58 -0
- package/{esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js → esm2020/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs} +2 -2
- package/esm2020/lib/ui/checkbox/checkbox.component.mjs +71 -0
- package/esm2020/lib/ui/color-input/color-input.component.mjs +76 -0
- package/esm2020/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +165 -0
- package/esm2020/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +53 -0
- package/esm2020/lib/ui/file-input/file-input.component.mjs +232 -0
- package/esm2020/lib/ui/flyout/flyout.component.mjs +119 -0
- package/esm2020/lib/ui/generic-dialog/generic-dialog.component.mjs +54 -0
- package/esm2020/lib/ui/icon/icon.component.mjs +48 -0
- package/esm2020/lib/ui/icon/iconSize.enum.mjs +17 -0
- package/esm2020/lib/ui/image-slider/image-slider.component.mjs +189 -0
- package/esm2020/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +40 -0
- package/esm2020/lib/ui/loader/loader.component.mjs +21 -0
- package/esm2020/lib/ui/map/map.component.mjs +116 -0
- package/esm2020/lib/ui/radiobutton/radiobutton.component.mjs +73 -0
- package/esm2020/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +55 -0
- package/esm2020/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +49 -0
- package/esm2020/lib/ui/time-input/time-input.component.mjs +83 -0
- package/esm2020/lib/ui/tooltip/tooltip.component.mjs +16 -0
- package/esm2020/lib/ui/tooltip-icon/tooltip-icon.component.mjs +35 -0
- package/esm2020/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +82 -0
- package/esm2020/public-api.mjs +49 -0
- package/fesm2015/kms-ngx-ui-presentational.mjs +3013 -0
- package/fesm2015/kms-ngx-ui-presentational.mjs.map +1 -0
- package/{fesm2015/kms-ngx-ui-presentational.js → fesm2020/kms-ngx-ui-presentational.mjs} +2894 -3108
- package/fesm2020/kms-ngx-ui-presentational.mjs.map +1 -0
- package/{kms-ngx-ui-presentational.d.ts → index.d.ts} +5 -5
- package/lib/directives/directives.module.d.ts +11 -13
- package/lib/directives/mousewheel.directive.d.ts +15 -15
- package/lib/directives/sum-of-height.directive.d.ts +31 -31
- package/lib/directives/swipe.directive.d.ts +45 -45
- package/lib/directives/swipe.model.d.ts +49 -49
- package/lib/directives/tooltip.directive.d.ts +29 -29
- package/lib/kms-ngx-ui-presentational.component.d.ts +8 -8
- package/lib/kms-ngx-ui-presentational.module.d.ts +47 -47
- package/lib/kms-ngx-ui-presentational.service.d.ts +6 -6
- package/lib/models/address.model.d.ts +14 -14
- package/lib/models/iconSize.enum.d.ts +15 -15
- package/lib/models/image-snippet.model.d.ts +15 -15
- package/lib/models/index.d.ts +4 -4
- package/lib/models/is-value.function.d.ts +9 -9
- package/lib/models/salutation.enum.d.ts +5 -5
- package/lib/models/types/attached-file-dto.model.d.ts +11 -11
- package/lib/models/types/nullable.type.d.ts +4 -4
- package/lib/parent-components/actions.component.d.ts +31 -31
- package/lib/parent-components/form-control.component.d.ts +27 -27
- package/lib/parent-components/form.component.d.ts +34 -40
- package/lib/pipes/custom-pipes.module.d.ts +17 -17
- package/lib/pipes/decode-uri.pipe.d.ts +10 -10
- package/lib/pipes/encode-uri.pipe.d.ts +10 -10
- package/lib/pipes/integer-currency.pipe.d.ts +13 -13
- package/lib/pipes/safe-html.pipe.d.ts +13 -13
- package/lib/pipes/safe-resource-url.pipe.d.ts +13 -13
- package/lib/pipes/safe-style.pipe.d.ts +13 -13
- package/lib/pipes/safe-url.pipe.d.ts +13 -13
- package/lib/pipes/to-number.pipe.d.ts +10 -10
- package/lib/pipes/trim.pipe.d.ts +10 -10
- package/lib/pipes/typeof.pipe.d.ts +7 -7
- package/lib/services/viewport.service.d.ts +74 -83
- package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -10
- package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -4
- package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +19 -19
- package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +9 -9
- package/lib/ui/checkbox/checkbox.component.d.ts +31 -31
- package/lib/ui/color-input/color-input.component.d.ts +19 -19
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +55 -55
- package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +17 -17
- package/lib/ui/file-input/file-input.component.d.ts +89 -89
- package/lib/ui/flyout/flyout.component.d.ts +32 -32
- package/lib/ui/generic-dialog/generic-dialog.component.d.ts +26 -26
- package/lib/ui/icon/icon.component.d.ts +42 -48
- package/lib/ui/icon/iconSize.enum.d.ts +15 -25
- package/lib/ui/image-slider/image-slider.component.d.ts +62 -62
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +22 -22
- package/lib/ui/loader/loader.component.d.ts +9 -9
- package/lib/ui/map/map.component.d.ts +70 -69
- package/lib/ui/radiobutton/radiobutton.component.d.ts +26 -27
- package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +17 -17
- package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +15 -15
- package/lib/ui/time-input/time-input.component.d.ts +22 -22
- package/lib/ui/tooltip/tooltip.component.d.ts +6 -6
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +13 -13
- package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +27 -27
- package/package.json +27 -14
- package/public-api.d.ts +45 -46
- package/src/lib/ui/back-to-top/back-to-top.component.scss +46 -45
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +2 -2
- package/src/lib/ui/checkbox/checkbox.component.scss +48 -48
- package/src/lib/ui/color-input/color-input.component.scss +38 -38
- package/src/lib/ui/file-input/file-input.component.scss +2 -2
- package/src/lib/ui/flyout/flyout.component.scss +34 -34
- package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -59
- package/src/lib/ui/icon/icon.component.scss +148 -114
- package/src/lib/ui/image-slider/image-slider.component.scss +219 -219
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -95
- package/src/lib/ui/radiobutton/radiobutton.component.scss +31 -31
- package/src/lib/ui/time-input/time-input.component.scss +10 -10
- package/src/lib/ui/tooltip/tooltip.component.scss +26 -26
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -2
- package/src/styles/mixins.scss +8 -8
- package/src/styles/styles.scss +30 -31
- package/bundles/kms-ngx-ui-presentational.umd.js +0 -3751
- package/bundles/kms-ngx-ui-presentational.umd.js.map +0 -1
- package/esm2015/lib/directives/directives.module.js +0 -45
- package/esm2015/lib/directives/size.directive.js +0 -21
- package/esm2015/lib/directives/swipe.model.js +0 -5
- package/esm2015/lib/kms-ngx-ui-presentational.component.js +0 -26
- package/esm2015/lib/models/address.model.js +0 -6
- package/esm2015/lib/parent-components/colorable.component.js +0 -35
- package/esm2015/lib/parent-components/form-control.component.js +0 -76
- package/esm2015/lib/parent-components/form.component.js +0 -99
- package/esm2015/lib/pipes/decode-uri.pipe.js +0 -19
- package/esm2015/lib/pipes/encode-uri.pipe.js +0 -19
- package/esm2015/lib/services/viewport.service.js +0 -242
- package/esm2015/lib/ui/back-to-top/back-to-top.component.js +0 -52
- package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +0 -62
- package/esm2015/lib/ui/checkbox/checkbox.component.js +0 -76
- package/esm2015/lib/ui/color-input/color-input.component.js +0 -81
- package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +0 -169
- package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +0 -57
- package/esm2015/lib/ui/file-input/file-input.component.js +0 -237
- package/esm2015/lib/ui/flyout/flyout.component.js +0 -125
- package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +0 -58
- package/esm2015/lib/ui/icon/icon.component.js +0 -55
- package/esm2015/lib/ui/icon/iconSize.enum.js +0 -28
- package/esm2015/lib/ui/image-slider/image-slider.component.js +0 -193
- package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +0 -44
- package/esm2015/lib/ui/loader/loader.component.js +0 -25
- package/esm2015/lib/ui/map/map.component.js +0 -120
- package/esm2015/lib/ui/radiobutton/radiobutton.component.js +0 -82
- package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +0 -59
- package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +0 -53
- package/esm2015/lib/ui/time-input/time-input.component.js +0 -88
- package/esm2015/lib/ui/tooltip/tooltip.component.js +0 -20
- package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +0 -40
- package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +0 -86
- package/esm2015/public-api.js +0 -50
- package/fesm2015/kms-ngx-ui-presentational.js.map +0 -1
- package/lib/directives/size.directive.d.ts +0 -10
- package/lib/parent-components/colorable.component.d.ts +0 -10
- package/src/styles/animations.scss +0 -47
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BackToTopComponent {
|
|
3
|
-
platformId: Object;
|
|
4
|
-
windowScrolled?: boolean;
|
|
5
|
-
constructor(platformId: Object);
|
|
6
|
-
onWindowScroll(): void;
|
|
7
|
-
scrollToTop(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackToTopComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BackToTopComponent, "kms-back-to-top", never, {}, {}, never, never>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BackToTopComponent {
|
|
3
|
+
platformId: Object;
|
|
4
|
+
windowScrolled?: boolean;
|
|
5
|
+
constructor(platformId: Object);
|
|
6
|
+
onWindowScroll(): void;
|
|
7
|
+
scrollToTop(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackToTopComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackToTopComponent, "kms-back-to-top", never, {}, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum ButtonResponseType {
|
|
2
|
-
primary = "primary",
|
|
3
|
-
secondary = "secondary"
|
|
4
|
-
}
|
|
1
|
+
export declare enum ButtonResponseType {
|
|
2
|
+
primary = "primary",
|
|
3
|
+
secondary = "secondary"
|
|
4
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { NullAble } from '../../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ButtonWithConfirmDialogComponent implements OnInit {
|
|
6
|
-
dialog: MatDialog;
|
|
7
|
-
disabled: NullAble<boolean>;
|
|
8
|
-
buttonText: NullAble<string>;
|
|
9
|
-
confirmTitle: NullAble<string>;
|
|
10
|
-
confirmTextYes: NullAble<string>;
|
|
11
|
-
confirmTextNo: NullAble<string>;
|
|
12
|
-
onConfirmClosed: EventEmitter<boolean>;
|
|
13
|
-
private subs;
|
|
14
|
-
constructor(dialog: MatDialog);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
start(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonWithConfirmDialogComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonWithConfirmDialogComponent, "kms-button-with-confirm-dialog", never, { "disabled": "disabled"; "buttonText": "buttonText"; "confirmTitle": "confirmTitle"; "confirmTextYes": "confirmTextYes"; "confirmTextNo": "confirmTextNo"; }, { "onConfirmClosed": "onConfirmClosed"; }, never, never>;
|
|
19
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { NullAble } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ButtonWithConfirmDialogComponent implements OnInit {
|
|
6
|
+
dialog: MatDialog;
|
|
7
|
+
disabled: NullAble<boolean>;
|
|
8
|
+
buttonText: NullAble<string>;
|
|
9
|
+
confirmTitle: NullAble<string>;
|
|
10
|
+
confirmTextYes: NullAble<string>;
|
|
11
|
+
confirmTextNo: NullAble<string>;
|
|
12
|
+
onConfirmClosed: EventEmitter<boolean>;
|
|
13
|
+
private subs;
|
|
14
|
+
constructor(dialog: MatDialog);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
start(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonWithConfirmDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonWithConfirmDialogComponent, "kms-button-with-confirm-dialog", never, { "disabled": "disabled"; "buttonText": "buttonText"; "confirmTitle": "confirmTitle"; "confirmTextYes": "confirmTextYes"; "confirmTextNo": "confirmTextNo"; }, { "onConfirmClosed": "onConfirmClosed"; }, never, never, false>;
|
|
19
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface DialogData {
|
|
2
|
-
title: string;
|
|
3
|
-
message?: string;
|
|
4
|
-
buttons?: DialogDataButtons;
|
|
5
|
-
}
|
|
6
|
-
export interface DialogDataButtons {
|
|
7
|
-
primary: string;
|
|
8
|
-
secondary: string;
|
|
9
|
-
}
|
|
1
|
+
export interface DialogData {
|
|
2
|
+
title: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
buttons?: DialogDataButtons;
|
|
5
|
+
}
|
|
6
|
+
export interface DialogDataButtons {
|
|
7
|
+
primary: string;
|
|
8
|
+
secondary: string;
|
|
9
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @copyright FLYACTS GmbH 2019
|
|
3
|
-
*/
|
|
4
|
-
import { EventEmitter } from '@angular/core';
|
|
5
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
6
|
-
import { NullAble } from '../../models';
|
|
7
|
-
import { ActionsParentComponent } from '../../parent-components/actions.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class CheckboxComponent extends ActionsParentComponent implements ControlValueAccessor {
|
|
10
|
-
/**
|
|
11
|
-
* Additional description text that will be shown below the checkbox.
|
|
12
|
-
*/
|
|
13
|
-
infoText: NullAble<string>;
|
|
14
|
-
/**
|
|
15
|
-
* Internal description name. All checkboxes with the same name belong to the same group.
|
|
16
|
-
* User can select none, one or all checkboxes with the same name.
|
|
17
|
-
*/
|
|
18
|
-
name: string;
|
|
19
|
-
select: EventEmitter<any>;
|
|
20
|
-
selectAction(id: string): void;
|
|
21
|
-
constructor();
|
|
22
|
-
onChange: any;
|
|
23
|
-
onTouch: any;
|
|
24
|
-
get value(): boolean;
|
|
25
|
-
set value(value: boolean);
|
|
26
|
-
writeValue(value: any): void;
|
|
27
|
-
registerOnChange(fn: any): void;
|
|
28
|
-
registerOnTouched(fn: any): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "kms-checkbox", never, { "infoText": "infoText"; "name": "name"; }, { "select": "select"; }, never, never>;
|
|
31
|
-
}
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
6
|
+
import { NullAble } from '../../models';
|
|
7
|
+
import { ActionsParentComponent } from '../../parent-components/actions.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CheckboxComponent extends ActionsParentComponent implements ControlValueAccessor {
|
|
10
|
+
/**
|
|
11
|
+
* Additional description text that will be shown below the checkbox.
|
|
12
|
+
*/
|
|
13
|
+
infoText: NullAble<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Internal description name. All checkboxes with the same name belong to the same group.
|
|
16
|
+
* User can select none, one or all checkboxes with the same name.
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
select: EventEmitter<any>;
|
|
20
|
+
selectAction(id: string): void;
|
|
21
|
+
constructor();
|
|
22
|
+
onChange: any;
|
|
23
|
+
onTouch: any;
|
|
24
|
+
get value(): boolean;
|
|
25
|
+
set value(value: boolean);
|
|
26
|
+
writeValue(value: any): void;
|
|
27
|
+
registerOnChange(fn: any): void;
|
|
28
|
+
registerOnTouched(fn: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "kms-checkbox", never, { "infoText": "infoText"; "name": "name"; }, { "select": "select"; }, never, never, false>;
|
|
31
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
3
|
-
import { FormControlParentComponent } from './../../parent-components/form-control.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ColorInputComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
|
|
6
|
-
formBuilder:
|
|
7
|
-
renderer: Renderer2;
|
|
8
|
-
label: string;
|
|
9
|
-
tooltipText: string;
|
|
10
|
-
placeholder: string;
|
|
11
|
-
valid: boolean | null | undefined;
|
|
12
|
-
constructor(formBuilder:
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
validate(_:
|
|
15
|
-
matchesHex(match?: string): false | RegExpMatchArray;
|
|
16
|
-
updateSelectedColor(value: any): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorInputComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorInputComponent, "kms-color-input", never, { "label": "label"; "tooltipText": "tooltipText"; "placeholder": "placeholder"; }, {}, never, never>;
|
|
19
|
-
}
|
|
1
|
+
import { OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { FormControlParentComponent } from './../../parent-components/form-control.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ColorInputComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
|
|
6
|
+
formBuilder: UntypedFormBuilder;
|
|
7
|
+
renderer: Renderer2;
|
|
8
|
+
label: string;
|
|
9
|
+
tooltipText: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
valid: boolean | null | undefined;
|
|
12
|
+
constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
validate(_: UntypedFormControl): boolean;
|
|
15
|
+
matchesHex(match?: string): false | RegExpMatchArray;
|
|
16
|
+
updateSelectedColor(value: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorInputComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorInputComponent, "kms-color-input", never, { "label": "label"; "tooltipText": "tooltipText"; "placeholder": "placeholder"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
3
|
-
import { FormControlParentComponent } from '../../parent-components/form-control.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Dropdown from data component {@link https://leaseplan-dev.rentoffice.de/styleguide#ui-elements}
|
|
7
|
-
*/
|
|
8
|
-
export declare class DropdownFromDataComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
9
|
-
formBuilder:
|
|
10
|
-
renderer: Renderer2;
|
|
11
|
-
optionsEnum: any;
|
|
12
|
-
optionsPlainArray: any;
|
|
13
|
-
optionsObjArray: any;
|
|
14
|
-
mapKey?: any;
|
|
15
|
-
mapValue?: any;
|
|
16
|
-
hasNullOption: boolean;
|
|
17
|
-
translation?: ITranslation;
|
|
18
|
-
placeholder: string;
|
|
19
|
-
label: string;
|
|
20
|
-
required: boolean;
|
|
21
|
-
useEnumIndexAsValue: boolean;
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
keys: any[];
|
|
24
|
-
values: any[];
|
|
25
|
-
Object: ObjectConstructor;
|
|
26
|
-
constructor(formBuilder:
|
|
27
|
-
/**
|
|
28
|
-
* Hook used to sync changes on set Label and Type
|
|
29
|
-
* @param changes
|
|
30
|
-
*/
|
|
31
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
/**
|
|
34
|
-
* transofrms the data values to the correct format for be used by the template
|
|
35
|
-
* @param value
|
|
36
|
-
*/
|
|
37
|
-
private setKeyValues;
|
|
38
|
-
/**
|
|
39
|
-
* set the value of the dropdown based if translation is set
|
|
40
|
-
* @param key
|
|
41
|
-
*/
|
|
42
|
-
setDisplayKey(key: any): any;
|
|
43
|
-
valueChanged(value: any): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFromDataComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFromDataComponent, "kms-dropdown-from-data", never, { "optionsEnum": "optionsEnum"; "optionsPlainArray": "optionsPlainArray"; "optionsObjArray": "optionsObjArray"; "mapKey": "mapKey"; "mapValue": "mapValue"; "hasNullOption": "hasNullOption"; "translation": "translation"; "placeholder": "placeholder"; "label": "label"; "required": "required"; "useEnumIndexAsValue": "useEnumIndexAsValue"; "multiple": "multiple"; }, {}, never, never>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Interface that defines the translation object in template
|
|
49
|
-
*/
|
|
50
|
-
interface ITranslation {
|
|
51
|
-
path: string;
|
|
52
|
-
useKey?: boolean;
|
|
53
|
-
isPrefix?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export {};
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { FormControlParentComponent } from '../../parent-components/form-control.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Dropdown from data component {@link https://leaseplan-dev.rentoffice.de/styleguide#ui-elements}
|
|
7
|
+
*/
|
|
8
|
+
export declare class DropdownFromDataComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
9
|
+
formBuilder: UntypedFormBuilder;
|
|
10
|
+
renderer: Renderer2;
|
|
11
|
+
optionsEnum: any;
|
|
12
|
+
optionsPlainArray: any;
|
|
13
|
+
optionsObjArray: any;
|
|
14
|
+
mapKey?: any;
|
|
15
|
+
mapValue?: any;
|
|
16
|
+
hasNullOption: boolean;
|
|
17
|
+
translation?: ITranslation;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
label: string;
|
|
20
|
+
required: boolean;
|
|
21
|
+
useEnumIndexAsValue: boolean;
|
|
22
|
+
multiple: boolean;
|
|
23
|
+
keys: any[];
|
|
24
|
+
values: any[];
|
|
25
|
+
Object: ObjectConstructor;
|
|
26
|
+
constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
|
|
27
|
+
/**
|
|
28
|
+
* Hook used to sync changes on set Label and Type
|
|
29
|
+
* @param changes
|
|
30
|
+
*/
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
/**
|
|
34
|
+
* transofrms the data values to the correct format for be used by the template
|
|
35
|
+
* @param value
|
|
36
|
+
*/
|
|
37
|
+
private setKeyValues;
|
|
38
|
+
/**
|
|
39
|
+
* set the value of the dropdown based if translation is set
|
|
40
|
+
* @param key
|
|
41
|
+
*/
|
|
42
|
+
setDisplayKey(key: any): any;
|
|
43
|
+
valueChanged(value: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFromDataComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFromDataComponent, "kms-dropdown-from-data", never, { "optionsEnum": "optionsEnum"; "optionsPlainArray": "optionsPlainArray"; "optionsObjArray": "optionsObjArray"; "mapKey": "mapKey"; "mapValue": "mapValue"; "hasNullOption": "hasNullOption"; "translation": "translation"; "placeholder": "placeholder"; "label": "label"; "required": "required"; "useEnumIndexAsValue": "useEnumIndexAsValue"; "multiple": "multiple"; }, {}, never, never, false>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Interface that defines the translation object in template
|
|
49
|
+
*/
|
|
50
|
+
interface ITranslation {
|
|
51
|
+
path: string;
|
|
52
|
+
useKey?: boolean;
|
|
53
|
+
isPrefix?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
3
|
-
import { NullAble } from '../../models';
|
|
4
|
-
import { FormControlParentComponent } from './../../parent-components/form-control.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EnumRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
|
|
7
|
-
formBuilder:
|
|
8
|
-
renderer: Renderer2;
|
|
9
|
-
header: NullAble<String>;
|
|
10
|
-
optionsEnum: any;
|
|
11
|
-
translationPrefix: string;
|
|
12
|
-
optionValues: any;
|
|
13
|
-
constructor(formBuilder:
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnumRadiogroupComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnumRadiogroupComponent, "kms-enum-radiogroup", never, { "header": "header"; "optionsEnum": "optionsEnum"; "translationPrefix": "translationPrefix"; }, {}, never, never>;
|
|
17
|
-
}
|
|
1
|
+
import { OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { NullAble } from '../../models';
|
|
4
|
+
import { FormControlParentComponent } from './../../parent-components/form-control.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EnumRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
|
|
7
|
+
formBuilder: UntypedFormBuilder;
|
|
8
|
+
renderer: Renderer2;
|
|
9
|
+
header: NullAble<String>;
|
|
10
|
+
optionsEnum: any;
|
|
11
|
+
translationPrefix: string;
|
|
12
|
+
optionValues: any;
|
|
13
|
+
constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnumRadiogroupComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EnumRadiogroupComponent, "kms-enum-radiogroup", never, { "header": "header"; "optionsEnum": "optionsEnum"; "translationPrefix": "translationPrefix"; }, {}, never, never, false>;
|
|
17
|
+
}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import { OnInit, Renderer2, EventEmitter, ApplicationRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FileInputComponent implements ControlValueAccessor, OnInit {
|
|
8
|
-
formBuilder:
|
|
9
|
-
appRef: ApplicationRef;
|
|
10
|
-
cd: ChangeDetectorRef;
|
|
11
|
-
renderer: Renderer2;
|
|
12
|
-
fileInput: any;
|
|
13
|
-
label: string;
|
|
14
|
-
previewImage: boolean;
|
|
15
|
-
allowRemove: boolean;
|
|
16
|
-
previewImageText: string;
|
|
17
|
-
maxSizeBytes: number;
|
|
18
|
-
resizePixels: number;
|
|
19
|
-
acceptedFileMimetypes: string;
|
|
20
|
-
form:
|
|
21
|
-
subscriptions: Subscription[];
|
|
22
|
-
newImageLoading: boolean;
|
|
23
|
-
|
|
24
|
-
formDataChanged: EventEmitter<
|
|
25
|
-
/**
|
|
26
|
-
* Constructor
|
|
27
|
-
* @param formBuilder
|
|
28
|
-
* @param appRef
|
|
29
|
-
* @param cd
|
|
30
|
-
* @param translateService
|
|
31
|
-
* @param renderer
|
|
32
|
-
*/
|
|
33
|
-
constructor(formBuilder:
|
|
34
|
-
/**
|
|
35
|
-
* Click on button triggers file-input to open OS file dialog
|
|
36
|
-
*/
|
|
37
|
-
selectImageOverlay(): void;
|
|
38
|
-
/**
|
|
39
|
-
* Function to manage the input image
|
|
40
|
-
* Returns an error if the file exceeds maximum wanted filesize (Mb).
|
|
41
|
-
* @param ev
|
|
42
|
-
* @returns
|
|
43
|
-
*/
|
|
44
|
-
selectImage(ev: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* Resize an image
|
|
47
|
-
* @param imgEl
|
|
48
|
-
* @param wantedWidth as number
|
|
49
|
-
* @returns string
|
|
50
|
-
*/
|
|
51
|
-
private resizeImage;
|
|
52
|
-
/**
|
|
53
|
-
* Generate default object
|
|
54
|
-
* @param name as string
|
|
55
|
-
* @param content as string
|
|
56
|
-
* @returns AttachedFileDTO
|
|
57
|
-
*/
|
|
58
|
-
generateModel(name?: string, content?: string, ident?: string, imageLink?: string, text?: string): AttachedFileDTO;
|
|
59
|
-
/**
|
|
60
|
-
* Remove image
|
|
61
|
-
*/
|
|
62
|
-
removeFromList(): void;
|
|
63
|
-
/**
|
|
64
|
-
* get value
|
|
65
|
-
*/
|
|
66
|
-
get value(): AttachedFileDTO;
|
|
67
|
-
/**
|
|
68
|
-
* set value
|
|
69
|
-
*/
|
|
70
|
-
set value(value: AttachedFileDTO);
|
|
71
|
-
onChange: any;
|
|
72
|
-
onTouch: any;
|
|
73
|
-
ngOnInit(): void;
|
|
74
|
-
ngOnDestroy(): void;
|
|
75
|
-
registerOnChange(fn: any): void;
|
|
76
|
-
registerOnTouched(fn: any): void;
|
|
77
|
-
writeValue(value: AttachedFileDTO | null): void;
|
|
78
|
-
validate(_:
|
|
79
|
-
styles: {
|
|
80
|
-
valid: boolean;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* OnClick event listener of input#fileInput to clear his input value
|
|
85
|
-
*/
|
|
86
|
-
clearInputValue(ev: any): void;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "kms-file-input", never, { "label": "label"; "previewImage": "previewImage"; "allowRemove": "allowRemove"; "previewImageText": "previewImageText"; "maxSizeBytes": "maxSizeBytes"; "resizePixels": "resizePixels"; "acceptedFileMimetypes": "acceptedFileMimetypes"; }, { "formDataChanged": "formDataChanged"; }, never, never>;
|
|
89
|
-
}
|
|
1
|
+
import { OnInit, Renderer2, EventEmitter, ApplicationRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { IconSize } from '../../models/iconSize.enum';
|
|
5
|
+
import { AttachedFileDTO } from '../../models/types/attached-file-dto.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FileInputComponent implements ControlValueAccessor, OnInit {
|
|
8
|
+
formBuilder: UntypedFormBuilder;
|
|
9
|
+
appRef: ApplicationRef;
|
|
10
|
+
cd: ChangeDetectorRef;
|
|
11
|
+
renderer: Renderer2;
|
|
12
|
+
fileInput: any;
|
|
13
|
+
label: string;
|
|
14
|
+
previewImage: boolean;
|
|
15
|
+
allowRemove: boolean;
|
|
16
|
+
previewImageText: string;
|
|
17
|
+
maxSizeBytes: number;
|
|
18
|
+
resizePixels: number;
|
|
19
|
+
acceptedFileMimetypes: string;
|
|
20
|
+
form: UntypedFormGroup;
|
|
21
|
+
subscriptions: Subscription[];
|
|
22
|
+
newImageLoading: boolean;
|
|
23
|
+
IconSize: typeof IconSize;
|
|
24
|
+
formDataChanged: EventEmitter<UntypedFormGroup>;
|
|
25
|
+
/**
|
|
26
|
+
* Constructor
|
|
27
|
+
* @param formBuilder
|
|
28
|
+
* @param appRef
|
|
29
|
+
* @param cd
|
|
30
|
+
* @param translateService
|
|
31
|
+
* @param renderer
|
|
32
|
+
*/
|
|
33
|
+
constructor(formBuilder: UntypedFormBuilder, appRef: ApplicationRef, cd: ChangeDetectorRef, renderer: Renderer2);
|
|
34
|
+
/**
|
|
35
|
+
* Click on button triggers file-input to open OS file dialog
|
|
36
|
+
*/
|
|
37
|
+
selectImageOverlay(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Function to manage the input image
|
|
40
|
+
* Returns an error if the file exceeds maximum wanted filesize (Mb).
|
|
41
|
+
* @param ev
|
|
42
|
+
* @returns
|
|
43
|
+
*/
|
|
44
|
+
selectImage(ev: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* Resize an image
|
|
47
|
+
* @param imgEl
|
|
48
|
+
* @param wantedWidth as number
|
|
49
|
+
* @returns string
|
|
50
|
+
*/
|
|
51
|
+
private resizeImage;
|
|
52
|
+
/**
|
|
53
|
+
* Generate default object
|
|
54
|
+
* @param name as string
|
|
55
|
+
* @param content as string
|
|
56
|
+
* @returns AttachedFileDTO
|
|
57
|
+
*/
|
|
58
|
+
generateModel(name?: string, content?: string, ident?: string, imageLink?: string, text?: string): AttachedFileDTO;
|
|
59
|
+
/**
|
|
60
|
+
* Remove image
|
|
61
|
+
*/
|
|
62
|
+
removeFromList(): void;
|
|
63
|
+
/**
|
|
64
|
+
* get value
|
|
65
|
+
*/
|
|
66
|
+
get value(): AttachedFileDTO;
|
|
67
|
+
/**
|
|
68
|
+
* set value
|
|
69
|
+
*/
|
|
70
|
+
set value(value: AttachedFileDTO);
|
|
71
|
+
onChange: any;
|
|
72
|
+
onTouch: any;
|
|
73
|
+
ngOnInit(): void;
|
|
74
|
+
ngOnDestroy(): void;
|
|
75
|
+
registerOnChange(fn: any): void;
|
|
76
|
+
registerOnTouched(fn: any): void;
|
|
77
|
+
writeValue(value: AttachedFileDTO | null): void;
|
|
78
|
+
validate(_: UntypedFormControl): {
|
|
79
|
+
styles: {
|
|
80
|
+
valid: boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* OnClick event listener of input#fileInput to clear his input value
|
|
85
|
+
*/
|
|
86
|
+
clearInputValue(ev: any): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "kms-file-input", never, { "label": "label"; "previewImage": "previewImage"; "allowRemove": "allowRemove"; "previewImageText": "previewImageText"; "maxSizeBytes": "maxSizeBytes"; "resizePixels": "resizePixels"; "acceptedFileMimetypes": "acceptedFileMimetypes"; }, { "formDataChanged": "formDataChanged"; }, never, never, false>;
|
|
89
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FlyoutComponent {
|
|
4
|
-
icon: string;
|
|
5
|
-
isDropdownOpened: boolean;
|
|
6
|
-
targetHeight: string;
|
|
7
|
-
animationTime: number;
|
|
8
|
-
headerCssClass: string;
|
|
9
|
-
bodyCssClass: string;
|
|
10
|
-
headerTitle: string;
|
|
11
|
-
headerText: string;
|
|
12
|
-
hasButtonForMore: boolean;
|
|
13
|
-
moreText: string;
|
|
14
|
-
lessText: string;
|
|
15
|
-
content: ElementRef | undefined;
|
|
16
|
-
flyoutHeader: ElementRef | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Open/close dropdown if click on header.
|
|
19
|
-
* Except, if mode is set to hasButtonForMore. When there is a extra button to open/close
|
|
20
|
-
*/
|
|
21
|
-
toggleDropdownHeader(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Open or close the dropdown
|
|
24
|
-
*/
|
|
25
|
-
toggleDropdown(): void;
|
|
26
|
-
/**
|
|
27
|
-
* Set the height of the dropdown list items dynamic - needed for the animation
|
|
28
|
-
*/
|
|
29
|
-
setDropdownListHeight(contentHeight: number): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlyoutComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlyoutComponent, "kms-flyout", never, { "icon": "icon"; "headerCssClass": "headerCssClass"; "bodyCssClass": "bodyCssClass"; "headerTitle": "headerTitle"; "headerText": "headerText"; "hasButtonForMore": "hasButtonForMore"; "moreText": "moreText"; "lessText": "lessText"; }, {}, never, ["[header]", "*"]>;
|
|
32
|
-
}
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FlyoutComponent {
|
|
4
|
+
icon: string;
|
|
5
|
+
isDropdownOpened: boolean;
|
|
6
|
+
targetHeight: string;
|
|
7
|
+
animationTime: number;
|
|
8
|
+
headerCssClass: string;
|
|
9
|
+
bodyCssClass: string;
|
|
10
|
+
headerTitle: string;
|
|
11
|
+
headerText: string;
|
|
12
|
+
hasButtonForMore: boolean;
|
|
13
|
+
moreText: string;
|
|
14
|
+
lessText: string;
|
|
15
|
+
content: ElementRef | undefined;
|
|
16
|
+
flyoutHeader: ElementRef | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Open/close dropdown if click on header.
|
|
19
|
+
* Except, if mode is set to hasButtonForMore. When there is a extra button to open/close
|
|
20
|
+
*/
|
|
21
|
+
toggleDropdownHeader(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Open or close the dropdown
|
|
24
|
+
*/
|
|
25
|
+
toggleDropdown(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Set the height of the dropdown list items dynamic - needed for the animation
|
|
28
|
+
*/
|
|
29
|
+
setDropdownListHeight(contentHeight: number): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlyoutComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlyoutComponent, "kms-flyout", never, { "icon": "icon"; "headerCssClass": "headerCssClass"; "bodyCssClass": "bodyCssClass"; "headerTitle": "headerTitle"; "headerText": "headerText"; "hasButtonForMore": "hasButtonForMore"; "moreText": "moreText"; "lessText": "lessText"; }, {}, never, ["[header]", "*"], false>;
|
|
32
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @copyright KMS GmbH
|
|
3
|
-
*/
|
|
4
|
-
import { NgZone } from '@angular/core';
|
|
5
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
6
|
-
import { ButtonResponseType } from '../button-with-confirm-dialog/button-response-types.enum';
|
|
7
|
-
import { DialogData, DialogDataButtons } from '../button-with-confirm-dialog/dialog-data.model';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* A generic dialog component
|
|
11
|
-
*/
|
|
12
|
-
export declare class GenericDialogComponent {
|
|
13
|
-
dialogRef: MatDialogRef<GenericDialogComponent>;
|
|
14
|
-
zone: NgZone;
|
|
15
|
-
data: DialogData;
|
|
16
|
-
ButtonResponseType: typeof ButtonResponseType;
|
|
17
|
-
buttons: DialogDataButtons;
|
|
18
|
-
constructor(dialogRef: MatDialogRef<GenericDialogComponent>, zone: NgZone, data: DialogData);
|
|
19
|
-
/**
|
|
20
|
-
* Action called when clicked
|
|
21
|
-
* @param clickedButton Whether the primary or secondary button was clicked
|
|
22
|
-
*/
|
|
23
|
-
onClickAction(clickedButton: ButtonResponseType): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenericDialogComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenericDialogComponent, "kms-generic-dialog", never, {}, {}, never, never>;
|
|
26
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { NgZone } from '@angular/core';
|
|
5
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
6
|
+
import { ButtonResponseType } from '../button-with-confirm-dialog/button-response-types.enum';
|
|
7
|
+
import { DialogData, DialogDataButtons } from '../button-with-confirm-dialog/dialog-data.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* A generic dialog component
|
|
11
|
+
*/
|
|
12
|
+
export declare class GenericDialogComponent {
|
|
13
|
+
dialogRef: MatDialogRef<GenericDialogComponent>;
|
|
14
|
+
zone: NgZone;
|
|
15
|
+
data: DialogData;
|
|
16
|
+
ButtonResponseType: typeof ButtonResponseType;
|
|
17
|
+
buttons: DialogDataButtons;
|
|
18
|
+
constructor(dialogRef: MatDialogRef<GenericDialogComponent>, zone: NgZone, data: DialogData);
|
|
19
|
+
/**
|
|
20
|
+
* Action called when clicked
|
|
21
|
+
* @param clickedButton Whether the primary or secondary button was clicked
|
|
22
|
+
*/
|
|
23
|
+
onClickAction(clickedButton: ButtonResponseType): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericDialogComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericDialogComponent, "kms-generic-dialog", never, {}, {}, never, never, false>;
|
|
26
|
+
}
|