@kms-ngx-ui/presentational 16.3.2 → 16.3.3
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/esm2022/kms-ngx-ui-presentational.mjs +5 -0
- package/esm2022/lib/directives/directives.module.mjs +45 -0
- package/esm2022/lib/directives/mousewheel.directive.mjs +56 -0
- package/esm2022/lib/directives/size.directive.mjs +21 -0
- package/esm2022/lib/directives/sum-of-height.directive.mjs +74 -0
- package/esm2022/lib/directives/swipe.directive.mjs +183 -0
- package/esm2022/lib/directives/swipe.model.mjs +5 -0
- package/esm2022/lib/directives/tooltip.directive.mjs +144 -0
- package/esm2022/lib/kms-ngx-ui-presentational.component.mjs +22 -0
- package/esm2022/lib/kms-ngx-ui-presentational.module.mjs +206 -0
- package/esm2022/lib/kms-ngx-ui-presentational.service.mjs +14 -0
- package/esm2022/lib/models/address.model.mjs +6 -0
- package/esm2022/lib/models/iconSize.enum.mjs +17 -0
- package/esm2022/lib/models/image-snippet.model.mjs +18 -0
- package/esm2022/lib/models/index.mjs +5 -0
- package/esm2022/lib/models/is-value.function.mjs +17 -0
- package/esm2022/lib/models/salutation.enum.mjs +8 -0
- package/esm2022/lib/models/types/attached-file-dto.model.mjs +6 -0
- package/esm2022/lib/models/types/nullable.type.mjs +5 -0
- package/esm2022/lib/parent-components/actions.component.mjs +56 -0
- package/esm2022/lib/parent-components/form-control.component.mjs +75 -0
- package/esm2022/lib/parent-components/form.component.mjs +84 -0
- package/esm2022/lib/pipes/custom-pipes.module.mjs +71 -0
- package/esm2022/lib/pipes/decode-uri.pipe.mjs +19 -0
- package/esm2022/lib/pipes/encode-uri.pipe.mjs +19 -0
- package/esm2022/lib/pipes/integer-currency.pipe.mjs +27 -0
- package/esm2022/lib/pipes/safe-html.pipe.mjs +23 -0
- package/esm2022/lib/pipes/safe-resource-url.pipe.mjs +23 -0
- package/esm2022/lib/pipes/safe-style.pipe.mjs +23 -0
- package/esm2022/lib/pipes/safe-url.pipe.mjs +23 -0
- package/esm2022/lib/pipes/to-number.pipe.mjs +23 -0
- package/esm2022/lib/pipes/trim.pipe.mjs +20 -0
- package/esm2022/lib/pipes/typeof.pipe.mjs +16 -0
- package/esm2022/lib/services/viewport.service.mjs +355 -0
- package/esm2022/lib/ui/back-to-top/back-to-top.component.mjs +49 -0
- package/esm2022/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs +6 -0
- package/esm2022/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +58 -0
- package/esm2022/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs +2 -0
- package/esm2022/lib/ui/checkbox/checkbox.component.mjs +71 -0
- package/esm2022/lib/ui/color-input/color-input.component.mjs +76 -0
- package/esm2022/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +162 -0
- package/esm2022/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +53 -0
- package/esm2022/lib/ui/file-input/file-input.component.mjs +232 -0
- package/esm2022/lib/ui/flyout/flyout.component.mjs +120 -0
- package/esm2022/lib/ui/generic-dialog/generic-dialog.component.mjs +55 -0
- package/esm2022/lib/ui/icon/icon.component.mjs +51 -0
- package/esm2022/lib/ui/icon/iconSize.enum.mjs +28 -0
- package/esm2022/lib/ui/image-slider/image-slider.component.mjs +189 -0
- package/esm2022/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +40 -0
- package/esm2022/lib/ui/loader/loader.component.mjs +21 -0
- package/esm2022/lib/ui/map/map.component.mjs +116 -0
- package/esm2022/lib/ui/radiobutton/radiobutton.component.mjs +77 -0
- package/esm2022/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +55 -0
- package/esm2022/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +49 -0
- package/esm2022/lib/ui/time-input/time-input.component.mjs +83 -0
- package/esm2022/lib/ui/tooltip-icon/tooltip-icon.component.mjs +36 -0
- package/esm2022/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +82 -0
- package/esm2022/public-api.mjs +49 -0
- package/fesm2022/kms-ngx-ui-presentational.mjs +3175 -0
- package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directives/directives.module.d.ts +13 -0
- package/lib/directives/mousewheel.directive.d.ts +15 -0
- package/lib/directives/size.directive.d.ts +10 -0
- package/lib/directives/sum-of-height.directive.d.ts +31 -0
- package/lib/directives/swipe.directive.d.ts +45 -0
- package/{src/lib/directives/swipe.model.ts → lib/directives/swipe.model.d.ts} +0 -6
- package/lib/directives/tooltip.directive.d.ts +29 -0
- package/lib/kms-ngx-ui-presentational.component.d.ts +8 -0
- package/lib/kms-ngx-ui-presentational.module.d.ts +46 -0
- package/lib/kms-ngx-ui-presentational.service.d.ts +6 -0
- package/lib/models/address.model.d.ts +14 -0
- package/lib/models/iconSize.enum.d.ts +15 -0
- package/lib/models/image-snippet.model.d.ts +15 -0
- package/lib/models/is-value.function.d.ts +9 -0
- package/lib/models/salutation.enum.d.ts +5 -0
- package/{src/lib/models/types/attached-file-dto.model.ts → lib/models/types/attached-file-dto.model.d.ts} +1 -1
- package/{src/lib/models/types/nullable.type.ts → lib/models/types/nullable.type.d.ts} +0 -1
- package/lib/parent-components/actions.component.d.ts +31 -0
- package/lib/parent-components/form-control.component.d.ts +27 -0
- package/lib/parent-components/form.component.d.ts +34 -0
- package/lib/pipes/custom-pipes.module.d.ts +17 -0
- package/lib/pipes/decode-uri.pipe.d.ts +10 -0
- package/lib/pipes/encode-uri.pipe.d.ts +10 -0
- package/lib/pipes/integer-currency.pipe.d.ts +13 -0
- package/lib/pipes/safe-html.pipe.d.ts +13 -0
- package/lib/pipes/safe-resource-url.pipe.d.ts +13 -0
- package/lib/pipes/safe-style.pipe.d.ts +13 -0
- package/lib/pipes/safe-url.pipe.d.ts +13 -0
- package/lib/pipes/to-number.pipe.d.ts +10 -0
- package/lib/pipes/trim.pipe.d.ts +10 -0
- package/lib/pipes/typeof.pipe.d.ts +7 -0
- package/lib/services/viewport.service.d.ts +149 -0
- package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -0
- package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -0
- package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +19 -0
- package/{src/lib/ui/button-with-confirm-dialog/dialog-data.model.ts → lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts} +3 -4
- package/lib/ui/checkbox/checkbox.component.d.ts +31 -0
- package/lib/ui/color-input/color-input.component.d.ts +19 -0
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +57 -0
- package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +17 -0
- package/lib/ui/file-input/file-input.component.d.ts +89 -0
- package/lib/ui/flyout/flyout.component.d.ts +32 -0
- package/lib/ui/generic-dialog/generic-dialog.component.d.ts +26 -0
- package/lib/ui/icon/icon.component.d.ts +48 -0
- package/lib/ui/icon/iconSize.enum.d.ts +25 -0
- package/lib/ui/image-slider/image-slider.component.d.ts +62 -0
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +22 -0
- package/lib/ui/loader/loader.component.d.ts +9 -0
- package/lib/ui/map/map.component.d.ts +71 -0
- package/lib/ui/radiobutton/radiobutton.component.d.ts +27 -0
- package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +17 -0
- package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +15 -0
- package/lib/ui/time-input/time-input.component.d.ts +22 -0
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +13 -0
- package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +27 -0
- package/package.json +17 -3
- package/{src/public-api.ts → public-api.d.ts} +20 -28
- package/src/lib/ui/back-to-top/back-to-top.component.scss +2 -3
- package/src/lib/ui/icon/icon.component.scss +2 -36
- package/src/lib/ui/image-slider/image-slider.component.scss +209 -202
- package/src/styles/animations.scss +47 -0
- package/src/styles/styles.scss +1 -0
- package/jest.config.js +0 -27
- package/ng-package.json +0 -13
- package/src/lib/directives/directives.module.ts +0 -28
- package/src/lib/directives/mousewheel.directive.ts +0 -43
- package/src/lib/directives/sum-of-height.directive.ts +0 -73
- package/src/lib/directives/swipe.directive.ts +0 -193
- package/src/lib/directives/tooltip.directive.spec.ts.BAK +0 -8
- package/src/lib/directives/tooltip.directive.ts +0 -121
- package/src/lib/kms-ngx-ui-presentational.component.spec.ts +0 -25
- package/src/lib/kms-ngx-ui-presentational.component.ts +0 -20
- package/src/lib/kms-ngx-ui-presentational.module.ts +0 -124
- package/src/lib/kms-ngx-ui-presentational.service.spec.ts +0 -16
- package/src/lib/kms-ngx-ui-presentational.service.ts +0 -9
- package/src/lib/models/address.model.ts +0 -16
- package/src/lib/models/iconSize.enum.ts +0 -17
- package/src/lib/models/image-snippet.model.ts +0 -17
- package/src/lib/models/is-value.function.ts +0 -20
- package/src/lib/models/salutation.enum.ts +0 -6
- package/src/lib/parent-components/actions.component.ts +0 -43
- package/src/lib/parent-components/form-control.component.ts +0 -77
- package/src/lib/parent-components/form.component.ts +0 -79
- package/src/lib/pipes/custom-pipes.module.ts +0 -48
- package/src/lib/pipes/decode-uri.pipe.ts +0 -15
- package/src/lib/pipes/encode-uri.pipe.ts +0 -14
- package/src/lib/pipes/integer-currency.pipe.ts +0 -22
- package/src/lib/pipes/prettyjson.pipe.ts +0 -104
- package/src/lib/pipes/safe-html.pipe.ts +0 -17
- package/src/lib/pipes/safe-resource-url.pipe.ts +0 -17
- package/src/lib/pipes/safe-style.pipe.ts +0 -17
- package/src/lib/pipes/safe-url.pipe.ts +0 -17
- package/src/lib/pipes/to-number.pipe.ts +0 -19
- package/src/lib/pipes/trim.pipe.ts +0 -16
- package/src/lib/pipes/typeof.pipe.ts +0 -10
- package/src/lib/services/viewport.service.ts +0 -241
- package/src/lib/ui/back-to-top/back-to-top.component.html +0 -7
- package/src/lib/ui/back-to-top/back-to-top.component.ts +0 -43
- package/src/lib/ui/back-to-top/back-to-top.stories.ts +0 -19
- package/src/lib/ui/button-with-confirm-dialog/button-response-types.enum.ts +0 -4
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.html +0 -8
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.spec.ts.BAK +0 -25
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.ts +0 -55
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.stories.ts +0 -21
- package/src/lib/ui/checkbox/checkbox.component.html +0 -15
- package/src/lib/ui/checkbox/checkbox.component.stories.ts +0 -19
- package/src/lib/ui/checkbox/checkbox.component.ts +0 -75
- package/src/lib/ui/color-input/color-input.component.html +0 -11
- package/src/lib/ui/color-input/color-input.component.spec.ts +0 -44
- package/src/lib/ui/color-input/color-input.component.ts +0 -67
- package/src/lib/ui/dropdown-from-data/dropdown-from-data.component.html +0 -23
- package/src/lib/ui/dropdown-from-data/dropdown-from-data.component.ts +0 -174
- package/src/lib/ui/enum-radiogroup/enum-radiogroup.component.html +0 -6
- package/src/lib/ui/enum-radiogroup/enum-radiogroup.component.spec.ts.BAK +0 -25
- package/src/lib/ui/enum-radiogroup/enum-radiogroup.component.ts +0 -43
- package/src/lib/ui/file-input/file-input.component.html +0 -45
- package/src/lib/ui/file-input/file-input.component.spec.ts.BAK +0 -25
- package/src/lib/ui/file-input/file-input.component.ts +0 -236
- package/src/lib/ui/flyout/flyout.component.html +0 -35
- package/src/lib/ui/flyout/flyout.component.spec.ts.BAK +0 -30
- package/src/lib/ui/flyout/flyout.component.ts +0 -95
- package/src/lib/ui/generic-dialog/generic-dialog.component.html +0 -24
- package/src/lib/ui/generic-dialog/generic-dialog.component.spec.ts.BAK +0 -43
- package/src/lib/ui/generic-dialog/generic-dialog.component.ts +0 -54
- package/src/lib/ui/icon/icon.component.html +0 -22
- package/src/lib/ui/icon/icon.component.spec.ts.BAK +0 -31
- package/src/lib/ui/icon/icon.component.ts +0 -67
- package/src/lib/ui/icon/iconSize.enum.ts +0 -17
- package/src/lib/ui/image-slider/image-slider.component.html +0 -54
- package/src/lib/ui/image-slider/image-slider.component.ts +0 -205
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.html +0 -22
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.spec.ts +0 -61
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.ts +0 -32
- package/src/lib/ui/loader/loader.component.html +0 -3
- package/src/lib/ui/loader/loader.component.spec.ts.BAK +0 -26
- package/src/lib/ui/loader/loader.component.ts +0 -16
- package/src/lib/ui/map/map.component.html +0 -18
- package/src/lib/ui/map/map.component.spec.ts.BAK +0 -31
- package/src/lib/ui/map/map.component.ts +0 -138
- package/src/lib/ui/radiobutton/radiobutton.component.html +0 -42
- package/src/lib/ui/radiobutton/radiobutton.component.ts +0 -71
- package/src/lib/ui/salutation-dropdown/salutation-dropdown.component.html +0 -9
- package/src/lib/ui/salutation-dropdown/salutation-dropdown.component.spec.ts.BAK +0 -26
- package/src/lib/ui/salutation-dropdown/salutation-dropdown.component.ts +0 -48
- package/src/lib/ui/salutation-radiogroup/salutation-radiogroup.component.html +0 -13
- package/src/lib/ui/salutation-radiogroup/salutation-radiogroup.component.spec.ts.BAK +0 -25
- package/src/lib/ui/salutation-radiogroup/salutation-radiogroup.component.ts +0 -41
- package/src/lib/ui/time-input/time-input.component.html +0 -5
- package/src/lib/ui/time-input/time-input.component.spec.ts +0 -28
- package/src/lib/ui/time-input/time-input.component.ts +0 -88
- package/src/lib/ui/tooltip/tooltip.component.html +0 -1
- package/src/lib/ui/tooltip/tooltip.component.scss +0 -27
- package/src/lib/ui/tooltip/tooltip.component.spec.ts.BAK +0 -26
- package/src/lib/ui/tooltip/tooltip.component.ts +0 -10
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.html +0 -11
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.spec.ts.BAK +0 -28
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.ts +0 -19
- package/src/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.html +0 -7
- package/src/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.spec.ts.BAK +0 -25
- package/src/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.ts +0 -79
- package/src/test-setup.ts +0 -2
- package/tsconfig.lib.json +0 -26
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
- /package/{src/lib/models/index.ts → lib/models/index.d.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MouseWheelDirective {
|
|
7
|
+
mouseWheelUp: EventEmitter<any>;
|
|
8
|
+
mouseWheelDown: EventEmitter<any>;
|
|
9
|
+
onMouseWheelChrome(event: any): void;
|
|
10
|
+
onMouseWheelFirefox(event: any): void;
|
|
11
|
+
onMouseWheelIE(event: any): void;
|
|
12
|
+
mouseWheelFunc(event: any): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MouseWheelDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseWheelDirective, "[mouseWheel]", never, {}, { "mouseWheelUp": "mouseWheelUp"; "mouseWheelDown": "mouseWheelDown"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SizeDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
size: string;
|
|
6
|
+
constructor(elementRef: ElementRef);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SizeDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SizeDirective, "[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { AfterContentChecked, ElementRef, EventEmitter } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Directive to calc the height of all inner elements
|
|
8
|
+
*/
|
|
9
|
+
export declare class GetMaxHeightDirective implements AfterContentChecked {
|
|
10
|
+
private el;
|
|
11
|
+
/**
|
|
12
|
+
* CSS class name of the child items (markup elements) that should be checked for their height.
|
|
13
|
+
* This is mandatory.
|
|
14
|
+
*/
|
|
15
|
+
cssClassName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Event that will pass the height of the tallest child inside the container.
|
|
18
|
+
* Useful to calculate the target height of containers with different content (like accordion) for animations.
|
|
19
|
+
*/
|
|
20
|
+
maxHeightChanged: EventEmitter<number>;
|
|
21
|
+
/**
|
|
22
|
+
* Event that will pass the complete sum of all height values from each child.
|
|
23
|
+
* Useful to calculate the full target height of a container (like dropdown) for animations.
|
|
24
|
+
*/
|
|
25
|
+
sumOfHeight: EventEmitter<number>;
|
|
26
|
+
constructor(el: ElementRef);
|
|
27
|
+
ngAfterContentChecked(): void;
|
|
28
|
+
private checkHeightOfChildren;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetMaxHeightDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GetMaxHeightDirective, "[getMaxHeight]", never, { "cssClassName": { "alias": "getMaxHeight"; "required": false; }; }, { "maxHeightChanged": "maxHeightChanged"; "sumOfHeight": "sumOfHeight"; }, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { SwipeMoveEvent, SwipeOptions, SwipeReleaseEvent } from './swipe.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SwipeDirective {
|
|
8
|
+
/**
|
|
9
|
+
* Output Event that is emitted during swipe process (mouse move or touch move event).
|
|
10
|
+
* Can be used for calculation purposes.
|
|
11
|
+
*/
|
|
12
|
+
moveEvent: EventEmitter<SwipeMoveEvent>;
|
|
13
|
+
/**
|
|
14
|
+
* Output Event that is emitted when swipe process end (mouse up or touch end event).
|
|
15
|
+
* Can be used for calculation purposes.
|
|
16
|
+
*/
|
|
17
|
+
releaseEvent: EventEmitter<SwipeReleaseEvent>;
|
|
18
|
+
private _swipeOptions;
|
|
19
|
+
private _moveEventData;
|
|
20
|
+
private _startPosition;
|
|
21
|
+
private _lastPosX;
|
|
22
|
+
private _thresholdWasReached;
|
|
23
|
+
private _isMobile;
|
|
24
|
+
private _timeStart;
|
|
25
|
+
/**
|
|
26
|
+
* Needed config that defines swipe behaviour.
|
|
27
|
+
* @param options SwipeOptions
|
|
28
|
+
*/
|
|
29
|
+
set config(options: SwipeOptions);
|
|
30
|
+
onMouseDown(event: any): void;
|
|
31
|
+
onMove(event: any): void;
|
|
32
|
+
onRelease(event: any): void;
|
|
33
|
+
/**
|
|
34
|
+
* Function checks if the current moving delta is inside the defined threshold.
|
|
35
|
+
* Sets the flag to true if the threshold was reached once.
|
|
36
|
+
*/
|
|
37
|
+
private checkThreshold;
|
|
38
|
+
private calculateStartPosition;
|
|
39
|
+
private move;
|
|
40
|
+
private release;
|
|
41
|
+
private getEasingCurve;
|
|
42
|
+
private reset;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwipeDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SwipeDirective, "[swipeDirective]", never, { "config": { "alias": "swipeDirective"; "required": false; }; }, { "moveEvent": "moveEvent"; "releaseEvent": "releaseEvent"; }, never, never, false, never>;
|
|
45
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @copyright FLYACTS GmbH 2019
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* Input behaviour options
|
|
7
6
|
*/
|
|
@@ -11,7 +10,6 @@ export interface SwipeOptions {
|
|
|
11
10
|
* Example: 500px or 10% (depends on swipeThresholdType)
|
|
12
11
|
*/
|
|
13
12
|
swipeThreshold: number;
|
|
14
|
-
|
|
15
13
|
/**
|
|
16
14
|
* Allowed values: '%' or 'px'
|
|
17
15
|
* Defines together with the value of swipeThreshold the way how the threshold is calculated:
|
|
@@ -21,14 +19,12 @@ export interface SwipeOptions {
|
|
|
21
19
|
* for instance skip to next slide.
|
|
22
20
|
*/
|
|
23
21
|
swipeThresholdType: string;
|
|
24
|
-
|
|
25
22
|
/**
|
|
26
23
|
* note: Defines if the local position of the element should be used for calculation or the global.
|
|
27
24
|
* For a slider the global is needed.
|
|
28
25
|
*/
|
|
29
26
|
swipeLocalPosition: boolean;
|
|
30
27
|
}
|
|
31
|
-
|
|
32
28
|
/**
|
|
33
29
|
* Swipe move event information
|
|
34
30
|
*/
|
|
@@ -41,7 +37,6 @@ export interface SwipeMoveEvent {
|
|
|
41
37
|
speed: number;
|
|
42
38
|
thresholdWasReached: boolean;
|
|
43
39
|
}
|
|
44
|
-
|
|
45
40
|
/**
|
|
46
41
|
* Swipe release event information
|
|
47
42
|
*/
|
|
@@ -50,6 +45,5 @@ export interface SwipeReleaseEvent {
|
|
|
50
45
|
direction: number;
|
|
51
46
|
speed: number;
|
|
52
47
|
easingType: string;
|
|
53
|
-
|
|
54
48
|
target: any;
|
|
55
49
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TooltipDirective {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
tooltipTitle: string;
|
|
7
|
+
tooltipText: string;
|
|
8
|
+
tooltipLinkText: string;
|
|
9
|
+
tooltipLinkUrl: string;
|
|
10
|
+
tooltipPlacement: string;
|
|
11
|
+
tooltipDelay: number;
|
|
12
|
+
tooltipPlaceIntoHost: boolean;
|
|
13
|
+
tooltipOnlyonclick: boolean;
|
|
14
|
+
tooltipElem?: HTMLElement | undefined;
|
|
15
|
+
tooltipLinkElem?: HTMLElement | undefined;
|
|
16
|
+
tooltipTitleElem?: HTMLElement | undefined;
|
|
17
|
+
tooltipTextElem?: HTMLElement | undefined;
|
|
18
|
+
offset: number;
|
|
19
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
20
|
+
onMouseEnter(): void;
|
|
21
|
+
onClick(): void;
|
|
22
|
+
onMouseLeave(): void;
|
|
23
|
+
show(): void;
|
|
24
|
+
hide(): void;
|
|
25
|
+
create(): void;
|
|
26
|
+
setPosition(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[kmsTooltip]", never, { "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipLinkText": { "alias": "tooltipLinkText"; "required": false; }; "tooltipLinkUrl": { "alias": "tooltipLinkUrl"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipDelay": { "alias": "tooltipDelay"; "required": false; }; "tooltipPlaceIntoHost": { "alias": "tooltipPlaceIntoHost"; "required": false; }; "tooltipOnlyonclick": { "alias": "tooltipOnlyonclick"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KmsUiPresentationalComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KmsUiPresentationalComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KmsUiPresentationalComponent, "lib-kms-ngx-ui-presentational", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./parent-components/actions.component";
|
|
3
|
+
import * as i2 from "./ui/back-to-top/back-to-top.component";
|
|
4
|
+
import * as i3 from "./ui/button-with-confirm-dialog/button-with-confirm-dialog.component";
|
|
5
|
+
import * as i4 from "./ui/checkbox/checkbox.component";
|
|
6
|
+
import * as i5 from "./ui/color-input/color-input.component";
|
|
7
|
+
import * as i6 from "./ui/dropdown-from-data/dropdown-from-data.component";
|
|
8
|
+
import * as i7 from "./ui/enum-radiogroup/enum-radiogroup.component";
|
|
9
|
+
import * as i8 from "./ui/file-input/file-input.component";
|
|
10
|
+
import * as i9 from "./ui/flyout/flyout.component";
|
|
11
|
+
import * as i10 from "./ui/generic-dialog/generic-dialog.component";
|
|
12
|
+
import * as i11 from "./ui/icon/icon.component";
|
|
13
|
+
import * as i12 from "./ui/image-slider/image-slider.component";
|
|
14
|
+
import * as i13 from "./ui/kms-accordion-item/kms-accordion-item.component";
|
|
15
|
+
import * as i14 from "./kms-ngx-ui-presentational.component";
|
|
16
|
+
import * as i15 from "./ui/loader/loader.component";
|
|
17
|
+
import * as i16 from "./ui/map/map.component";
|
|
18
|
+
import * as i17 from "./ui/radiobutton/radiobutton.component";
|
|
19
|
+
import * as i18 from "./ui/salutation-dropdown/salutation-dropdown.component";
|
|
20
|
+
import * as i19 from "./ui/salutation-radiogroup/salutation-radiogroup.component";
|
|
21
|
+
import * as i20 from "./ui/time-input/time-input.component";
|
|
22
|
+
import * as i21 from "./ui/tooltip-icon/tooltip-icon.component";
|
|
23
|
+
import * as i22 from "./ui/yes-no-radiogroup/yes-no-radiogroup.component";
|
|
24
|
+
import * as i23 from "@angular/common";
|
|
25
|
+
import * as i24 from "@angular/cdk/drag-drop";
|
|
26
|
+
import * as i25 from "@angular/material/checkbox";
|
|
27
|
+
import * as i26 from "@angular/material/button";
|
|
28
|
+
import * as i27 from "@angular/material/radio";
|
|
29
|
+
import * as i28 from "@angular/material/dialog";
|
|
30
|
+
import * as i29 from "@angular/forms";
|
|
31
|
+
import * as i30 from "@angular/material/form-field";
|
|
32
|
+
import * as i31 from "@angular/material/input";
|
|
33
|
+
import * as i32 from "@angular/material/menu";
|
|
34
|
+
import * as i33 from "./pipes/custom-pipes.module";
|
|
35
|
+
import * as i34 from "@angular/google-maps";
|
|
36
|
+
import * as i35 from "@angular/material/expansion";
|
|
37
|
+
import * as i36 from "@angular/material/select";
|
|
38
|
+
import * as i37 from "@angular/material/progress-spinner";
|
|
39
|
+
import * as i38 from "./directives/directives.module";
|
|
40
|
+
import * as i39 from "@ngx-translate/core";
|
|
41
|
+
import * as i40 from "ngx-useful-swiper";
|
|
42
|
+
export declare class KmsUiPresentationalModule {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KmsUiPresentationalModule, never>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KmsUiPresentationalModule, [typeof i1.ActionsParentComponent, typeof i2.BackToTopComponent, typeof i3.ButtonWithConfirmDialogComponent, typeof i4.CheckboxComponent, typeof i5.ColorInputComponent, typeof i6.DropdownFromDataComponent, typeof i7.EnumRadiogroupComponent, typeof i7.EnumRadiogroupComponent, typeof i8.FileInputComponent, typeof i9.FlyoutComponent, typeof i10.GenericDialogComponent, typeof i11.IconComponent, typeof i12.ImageSliderComponent, typeof i13.KMSAccordionItemComponent, typeof i14.KmsUiPresentationalComponent, typeof i15.LoaderComponent, typeof i16.MapComponent, typeof i17.RadioButtonComponent, typeof i18.SalutationDropdownComponent, typeof i19.SalutationRadiogroupComponent, typeof i20.TimeInputComponent, typeof i21.TooltipIconComponent, typeof i22.YesNoRadiogroupComponent], [typeof i23.CommonModule, typeof i24.DragDropModule, typeof i25.MatCheckboxModule, typeof i26.MatButtonModule, typeof i27.MatRadioModule, typeof i28.MatDialogModule, typeof i29.FormsModule, typeof i29.ReactiveFormsModule, typeof i30.MatFormFieldModule, typeof i31.MatInputModule, typeof i32.MatMenuModule, typeof i33.CustomPipesModule, typeof i34.GoogleMapsModule, typeof i35.MatExpansionModule, typeof i36.MatSelectModule, typeof i37.MatProgressSpinnerModule, typeof i38.DirectivesModule, typeof i39.TranslateModule, typeof i40.NgxUsefulSwiperModule], [typeof i1.ActionsParentComponent, typeof i2.BackToTopComponent, typeof i3.ButtonWithConfirmDialogComponent, typeof i4.CheckboxComponent, typeof i5.ColorInputComponent, typeof i6.DropdownFromDataComponent, typeof i7.EnumRadiogroupComponent, typeof i7.EnumRadiogroupComponent, typeof i8.FileInputComponent, typeof i9.FlyoutComponent, typeof i10.GenericDialogComponent, typeof i11.IconComponent, typeof i12.ImageSliderComponent, typeof i13.KMSAccordionItemComponent, typeof i14.KmsUiPresentationalComponent, typeof i15.LoaderComponent, typeof i16.MapComponent, typeof i17.RadioButtonComponent, typeof i18.SalutationDropdownComponent, typeof i19.SalutationRadiogroupComponent, typeof i20.TimeInputComponent, typeof i21.TooltipIconComponent, typeof i22.YesNoRadiogroupComponent]>;
|
|
45
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KmsUiPresentationalModule>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { NullAble } from "./types/nullable.type";
|
|
5
|
+
/**
|
|
6
|
+
* Typical basic address data
|
|
7
|
+
*/
|
|
8
|
+
export declare class Address {
|
|
9
|
+
City: NullAble<string>;
|
|
10
|
+
Name1: NullAble<string>;
|
|
11
|
+
Name2: NullAble<string>;
|
|
12
|
+
Street: NullAble<string>;
|
|
13
|
+
Zip: NullAble<string>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
export declare enum IconSize {
|
|
5
|
+
FULLSIZE = "size-full",
|
|
6
|
+
TINY = "size-16",
|
|
7
|
+
SMALLER = "size-20",
|
|
8
|
+
SMALL = "size-32",
|
|
9
|
+
MEDIUM = "size-64",
|
|
10
|
+
LARGE = "size-128",
|
|
11
|
+
XL = "size-256",
|
|
12
|
+
XXL = "size-512",
|
|
13
|
+
XXXL = "size-1024",
|
|
14
|
+
NONE = "NONE"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* General Image Model
|
|
3
|
+
*/
|
|
4
|
+
export declare class ImageSnippet {
|
|
5
|
+
src: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
srcType: ImageSourceType;
|
|
8
|
+
status: string;
|
|
9
|
+
constructor(src: string, fileName: string, srcType?: ImageSourceType);
|
|
10
|
+
}
|
|
11
|
+
export declare enum ImageSourceType {
|
|
12
|
+
Ident = "Idnet",
|
|
13
|
+
ByteArray = "ByteArray",
|
|
14
|
+
URL = "URL"
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ActionsParentComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the disabled property
|
|
9
|
+
*/
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Set button as selected. F.e. in multiselect component
|
|
13
|
+
*/
|
|
14
|
+
checked: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Displayed label.
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Link
|
|
21
|
+
*/
|
|
22
|
+
link: string;
|
|
23
|
+
/**
|
|
24
|
+
* Internal value that will be send if a form is submitted.
|
|
25
|
+
*/
|
|
26
|
+
initialValue: string;
|
|
27
|
+
select: EventEmitter<any>;
|
|
28
|
+
selectAction(id: string): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsParentComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsParentComponent, "kms-actions", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "label": { "alias": "label"; "required": false; }; "link": { "alias": "link"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { FormParentComponent } from './form.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FormControlParentComponent extends FormParentComponent {
|
|
6
|
+
formBuilder: UntypedFormBuilder;
|
|
7
|
+
renderer: Renderer2;
|
|
8
|
+
defaultDataOverride: string;
|
|
9
|
+
onSelectItemEmitter: EventEmitter<string>;
|
|
10
|
+
child?: ElementRef<HTMLInputElement>;
|
|
11
|
+
internalValue: string;
|
|
12
|
+
constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
change(value: string): void;
|
|
15
|
+
onChange: any;
|
|
16
|
+
onTouch: any;
|
|
17
|
+
onTouched: any;
|
|
18
|
+
get value(): string;
|
|
19
|
+
set value(value: string);
|
|
20
|
+
writeValue(value: string): void;
|
|
21
|
+
registerOnChange(fn: any): void;
|
|
22
|
+
registerOnTouched(fn: any): void;
|
|
23
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
24
|
+
validate(_: UntypedFormControl): boolean;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlParentComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlParentComponent, "kms-formControlParent", never, { "defaultDataOverride": { "alias": "defaultDataOverride"; "required": false; }; }, { "onSelectItemEmitter": "onSelectItemEmitter"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
5
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FormParentComponent implements OnInit {
|
|
8
|
+
formBuilder: UntypedFormBuilder;
|
|
9
|
+
form: UntypedFormGroup;
|
|
10
|
+
formInitialized: boolean;
|
|
11
|
+
private allowedCharsOnlyNumbers;
|
|
12
|
+
formDataChanged: EventEmitter<UntypedFormGroup>;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
15
|
+
/**
|
|
16
|
+
* Returns if a number was pressed
|
|
17
|
+
* @param e
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
checkIfKeyWasNumber(e: KeyboardEvent, allowDelete?: boolean, allowArrows?: boolean, allowCutCopyPaste?: boolean): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Prevents to input other chars than numbers in input
|
|
23
|
+
* @param event
|
|
24
|
+
*/
|
|
25
|
+
removeNumbersOnType(event: KeyboardEvent): void;
|
|
26
|
+
/**
|
|
27
|
+
* Prevents input when pasting which is not number
|
|
28
|
+
* @param event
|
|
29
|
+
*/
|
|
30
|
+
removeNumbersOnPaste(event: ClipboardEvent): void;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormParentComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormParentComponent, "kms-form", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "formDataChanged": "formDataChanged"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./integer-currency.pipe";
|
|
3
|
+
import * as i2 from "./safe-html.pipe";
|
|
4
|
+
import * as i3 from "./safe-style.pipe";
|
|
5
|
+
import * as i4 from "./safe-resource-url.pipe";
|
|
6
|
+
import * as i5 from "./safe-url.pipe";
|
|
7
|
+
import * as i6 from "./encode-uri.pipe";
|
|
8
|
+
import * as i7 from "./decode-uri.pipe";
|
|
9
|
+
import * as i8 from "./typeof.pipe";
|
|
10
|
+
import * as i9 from "./trim.pipe";
|
|
11
|
+
import * as i10 from "./to-number.pipe";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
export declare class CustomPipesModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomPipesModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomPipesModule, [typeof i1.IntegerCurrency, typeof i2.SafeHtmlPipe, typeof i3.SafeStylePipe, typeof i4.SafeResourceUrlPipe, typeof i5.SafeUrlPipe, typeof i6.EncodeUriPipe, typeof i7.DecodeUriPipe, typeof i8.TypeofPipe, typeof i9.TrimPipe, typeof i10.ToNumberPipe], [typeof i11.CommonModule], [typeof i1.IntegerCurrency, typeof i2.SafeHtmlPipe, typeof i3.SafeStylePipe, typeof i4.SafeResourceUrlPipe, typeof i5.SafeUrlPipe, typeof i6.EncodeUriPipe, typeof i7.DecodeUriPipe, typeof i8.TypeofPipe, typeof i9.TrimPipe, typeof i10.ToNumberPipe]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomPipesModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DecodeUriPipe implements PipeTransform {
|
|
7
|
+
transform(value: any, _args?: any): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecodeUriPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DecodeUriPipe, "kmsDecodeUri", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EncodeUriPipe implements PipeTransform {
|
|
7
|
+
transform(value: any, _args?: any): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EncodeUriPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EncodeUriPipe, "kmsEncodeUri", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { CurrencyPipe } from '@angular/common';
|
|
5
|
+
import { PipeTransform } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IntegerCurrency implements PipeTransform {
|
|
8
|
+
private cp;
|
|
9
|
+
constructor(cp: CurrencyPipe);
|
|
10
|
+
transform(value: any, currencyCode?: string, display?: boolean, digitsInfo?: string): string | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntegerCurrency, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IntegerCurrency, "kmsIntegerCurrency", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @copyright FLYACTS GmbH 2019
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SafeHtmlPipe implements PipeTransform {
|
|
8
|
+
private sanitizer;
|
|
9
|
+
constructor(sanitizer: DomSanitizer);
|
|
10
|
+
transform(html: string): SafeHtml;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "kmsSafeHtml", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SafeResourceUrlPipe implements PipeTransform {
|
|
8
|
+
private sanitizer;
|
|
9
|
+
constructor(sanitizer: DomSanitizer);
|
|
10
|
+
transform(url: string): SafeResourceUrl;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeResourceUrlPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeResourceUrlPipe, "kmsSafeResourceSUrl", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SafeStylePipe implements PipeTransform {
|
|
8
|
+
private sanitizer;
|
|
9
|
+
constructor(sanitizer: DomSanitizer);
|
|
10
|
+
transform(style: string): SafeUrl;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeStylePipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeStylePipe, "kmsSafeStyle", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SafeUrlPipe implements PipeTransform {
|
|
8
|
+
private sanitizer;
|
|
9
|
+
constructor(sanitizer: DomSanitizer);
|
|
10
|
+
transform(url: string): SafeUrl;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "kmsSafeSUrl", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ToNumberPipe implements PipeTransform {
|
|
7
|
+
transform(items: any): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToNumberPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToNumberPipe, "kmsToNumber", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright KMS GmbH
|
|
3
|
+
*/
|
|
4
|
+
import { PipeTransform } from "@angular/core";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TrimPipe implements PipeTransform {
|
|
7
|
+
transform(value: any): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrimPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TrimPipe, "kmsTrim", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TypeofPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TypeofPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TypeofPipe, "kmsTypeOf", false>;
|
|
7
|
+
}
|