@kms-ngx-ui/presentational 0.0.20 → 0.0.22
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/bundles/kms-ngx-ui-presentational.umd.js +1651 -1272
- package/bundles/kms-ngx-ui-presentational.umd.js.map +1 -1
- package/esm2015/kms-ngx-ui-presentational.js +1 -37
- package/esm2015/lib/directives/directives.module.js +29 -18
- package/esm2015/lib/directives/mousewheel.directive.js +21 -11
- package/esm2015/lib/directives/sum-of-height.directive.js +18 -15
- package/esm2015/lib/directives/swipe.directive.js +38 -14
- package/esm2015/lib/directives/tooltip.directive.js +44 -24
- package/esm2015/lib/kms-ngx-ui-presentational.component.js +20 -12
- package/esm2015/lib/kms-ngx-ui-presentational.module.js +173 -80
- package/esm2015/lib/kms-ngx-ui-presentational.service.js +9 -8
- package/esm2015/lib/models/address.model.js +1 -1
- package/esm2015/lib/models/iconSize.enum.js +1 -1
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/models/is-value.function.js +1 -1
- package/esm2015/lib/models/salutation.enum.js +1 -1
- package/esm2015/lib/models/types/attached-file-dto.model.js +1 -1
- package/esm2015/lib/models/types/nullable.type.js +1 -1
- package/esm2015/lib/parent-components/actions.component.js +23 -15
- package/esm2015/lib/parent-components/form-control.component.js +20 -18
- package/esm2015/lib/parent-components/form.component.js +16 -15
- package/esm2015/lib/pipes/custom-pipes.module.js +54 -31
- package/esm2015/lib/pipes/decode-uri.pipe.js +10 -6
- package/esm2015/lib/pipes/encode-uri.pipe.js +10 -6
- package/esm2015/lib/pipes/integer-currency.pipe.js +11 -13
- package/esm2015/lib/pipes/safe-html.pipe.js +11 -10
- package/esm2015/lib/pipes/safe-resource-url.pipe.js +11 -10
- package/esm2015/lib/pipes/safe-style.pipe.js +11 -10
- package/esm2015/lib/pipes/safe-url.pipe.js +11 -10
- package/esm2015/lib/pipes/to-number.pipe.js +11 -7
- package/esm2015/lib/pipes/trim.pipe.js +8 -4
- package/esm2015/lib/pipes/typeof.pipe.js +10 -6
- package/esm2015/lib/services/viewport.service.js +10 -7
- package/esm2015/lib/ui/back-to-top/back-to-top.component.js +19 -13
- package/esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js +1 -1
- package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +26 -20
- package/esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js +1 -1
- package/esm2015/lib/ui/checkbox/checkbox.component.js +34 -21
- package/esm2015/lib/ui/color-input/color-input.component.js +38 -26
- package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +53 -33
- package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +36 -25
- package/esm2015/lib/ui/file-input/file-input.component.js +61 -39
- package/esm2015/lib/ui/flyout/flyout.component.js +83 -43
- package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +19 -15
- package/esm2015/lib/ui/icon/icon.component.js +24 -19
- package/esm2015/lib/ui/icon/iconSize.enum.js +1 -1
- package/esm2015/lib/ui/image-slider/image-slider.component.js +38 -22
- package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +25 -17
- package/esm2015/lib/ui/loader/loader.component.js +16 -12
- package/esm2015/lib/ui/map/map.component.js +17 -15
- package/esm2015/lib/ui/radiobutton/radiobutton.component.js +33 -21
- package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +33 -23
- package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +29 -20
- package/esm2015/lib/ui/time-input/time-input.component.js +27 -19
- package/esm2015/lib/ui/tooltip/tooltip.component.js +14 -11
- package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +26 -16
- package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +39 -27
- package/esm2015/public-api.js +36 -3
- package/fesm2015/kms-ngx-ui-presentational.js +1601 -1227
- package/fesm2015/kms-ngx-ui-presentational.js.map +1 -1
- package/kms-ngx-ui-presentational.d.ts +1 -37
- package/lib/directives/directives.module.d.ts +9 -3
- package/lib/directives/mousewheel.directive.d.ts +3 -0
- package/lib/directives/sum-of-height.directive.d.ts +3 -0
- package/lib/directives/swipe.directive.d.ts +3 -0
- package/lib/directives/tooltip.directive.d.ts +3 -0
- package/lib/kms-ngx-ui-presentational.component.d.ts +3 -0
- package/lib/kms-ngx-ui-presentational.module.d.ts +45 -0
- package/lib/kms-ngx-ui-presentational.service.d.ts +3 -0
- package/lib/parent-components/actions.component.d.ts +3 -0
- package/lib/parent-components/form-control.component.d.ts +3 -0
- package/lib/parent-components/form.component.d.ts +3 -0
- package/lib/pipes/custom-pipes.module.d.ts +15 -3
- package/lib/pipes/decode-uri.pipe.d.ts +3 -0
- package/lib/pipes/encode-uri.pipe.d.ts +3 -0
- package/lib/pipes/integer-currency.pipe.d.ts +3 -0
- package/lib/pipes/safe-html.pipe.d.ts +3 -0
- package/lib/pipes/safe-resource-url.pipe.d.ts +3 -0
- package/lib/pipes/safe-style.pipe.d.ts +3 -0
- package/lib/pipes/safe-url.pipe.d.ts +3 -0
- package/lib/pipes/to-number.pipe.d.ts +3 -0
- package/lib/pipes/trim.pipe.d.ts +3 -0
- package/lib/pipes/typeof.pipe.d.ts +3 -0
- package/lib/services/viewport.service.d.ts +3 -3
- package/lib/ui/back-to-top/back-to-top.component.d.ts +3 -3
- package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +3 -0
- package/lib/ui/checkbox/checkbox.component.d.ts +3 -0
- package/lib/ui/color-input/color-input.component.d.ts +3 -0
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +3 -0
- package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +3 -0
- package/lib/ui/file-input/file-input.component.d.ts +3 -0
- package/lib/ui/flyout/flyout.component.d.ts +3 -3
- package/lib/ui/generic-dialog/generic-dialog.component.d.ts +3 -0
- package/lib/ui/icon/icon.component.d.ts +3 -0
- package/lib/ui/image-slider/image-slider.component.d.ts +3 -0
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +4 -0
- package/lib/ui/loader/loader.component.d.ts +3 -0
- package/lib/ui/map/map.component.d.ts +3 -0
- package/lib/ui/radiobutton/radiobutton.component.d.ts +3 -0
- package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +3 -0
- package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +3 -0
- package/lib/ui/time-input/time-input.component.d.ts +3 -0
- package/lib/ui/tooltip/tooltip.component.d.ts +3 -0
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +3 -0
- package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +3 -0
- package/package.json +1 -2
- package/public-api.d.ts +35 -0
- package/src/styles/mixins.scss +8 -8
- package/kms-ngx-ui-presentational.metadata.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/checkbox'), require('@angular/material/radio'), require('@angular/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@kms-ngx-ui/presentational', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/checkbox', '@angular/material/radio', '@angular/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["kms-ngx-ui"] = global["kms-ngx-ui"] || {}, global["kms-ngx-ui"].presentational = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.checkbox, global.ng.material.radio, global.ng.
|
|
5
|
-
})(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/material/checkbox'), require('@angular/material/radio'), require('@angular/material/form-field'), require('@angular/platform-browser'), require('@angular/material/input'), require('@angular/material/button'), require('@ngx-translate/core'), require('@angular/material/progress-spinner'), require('@angular/animations'), require('@angular/material/expansion'), require('rxjs'), require('@angular/google-maps'), require('@angular/material/select'), require('@angular/material/core'), require('subsink'), require('@angular/material/dialog'), require('@angular/material/menu'), require('enum-values/src/enumValues'), require('@angular/cdk/drag-drop'), require('ngx-useful-swiper')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@kms-ngx-ui/presentational', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/material/checkbox', '@angular/material/radio', '@angular/material/form-field', '@angular/platform-browser', '@angular/material/input', '@angular/material/button', '@ngx-translate/core', '@angular/material/progress-spinner', '@angular/animations', '@angular/material/expansion', 'rxjs', '@angular/google-maps', '@angular/material/select', '@angular/material/core', 'subsink', '@angular/material/dialog', '@angular/material/menu', 'enum-values/src/enumValues', '@angular/cdk/drag-drop', 'ngx-useful-swiper'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["kms-ngx-ui"] = global["kms-ngx-ui"] || {}, global["kms-ngx-ui"].presentational = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.material.checkbox, global.ng.material.radio, global.ng.material.formField, global.ng.platformBrowser, global.ng.material.input, global.ng.material.button, global.i5$1, global.ng.material.progressSpinner, global.ng.animations, global.ng.material.expansion, global.rxjs, global.ng.googleMaps, global.ng.material.select, global.ng.material.core, global.subsink, global.ng.material.dialog, global.ng.material.menu, global.enumValues, global.ng.cdk.dragDrop, global.i2$6));
|
|
5
|
+
})(this, (function (exports, i0, i2, i1, i1$1, i2$2, i2$1, i1$2, i5, i2$3, i5$1, i1$3, animations, i2$4, rxjs, i2$5, i3, i4, subsink, i1$4, i3$1, enumValues, i6, i2$6) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -23,19 +23,38 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
29
|
+
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
30
|
+
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
31
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
32
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
33
|
+
var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$3);
|
|
34
|
+
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
35
|
+
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
36
|
+
var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2$4);
|
|
37
|
+
var i2__namespace$5 = /*#__PURE__*/_interopNamespace(i2$5);
|
|
38
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
39
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
40
|
+
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
41
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
42
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
43
|
+
var i2__namespace$6 = /*#__PURE__*/_interopNamespace(i2$6);
|
|
26
44
|
|
|
27
45
|
var KmsUiPresentationalService = /** @class */ (function () {
|
|
28
46
|
function KmsUiPresentationalService() {
|
|
29
47
|
}
|
|
30
48
|
return KmsUiPresentationalService;
|
|
31
49
|
}());
|
|
32
|
-
KmsUiPresentationalService.ɵ
|
|
33
|
-
KmsUiPresentationalService
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
50
|
+
KmsUiPresentationalService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
51
|
+
KmsUiPresentationalService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalService, providedIn: 'root' });
|
|
52
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalService, decorators: [{
|
|
53
|
+
type: i0.Injectable,
|
|
54
|
+
args: [{
|
|
55
|
+
providedIn: 'root'
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: function () { return []; } });
|
|
39
58
|
|
|
40
59
|
var KmsUiPresentationalComponent = /** @class */ (function () {
|
|
41
60
|
function KmsUiPresentationalComponent() {
|
|
@@ -44,13 +63,16 @@
|
|
|
44
63
|
};
|
|
45
64
|
return KmsUiPresentationalComponent;
|
|
46
65
|
}());
|
|
47
|
-
KmsUiPresentationalComponent
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
66
|
+
KmsUiPresentationalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
67
|
+
KmsUiPresentationalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: KmsUiPresentationalComponent, selector: "lib-kms-ngx-ui-presentational", ngImport: i0__namespace, template: "\n <p>\n kms-ngx-ui-presentational works!\n </p>\n ", isInline: true });
|
|
68
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalComponent, decorators: [{
|
|
69
|
+
type: i0.Component,
|
|
70
|
+
args: [{
|
|
71
|
+
selector: 'lib-kms-ngx-ui-presentational',
|
|
72
|
+
template: "\n <p>\n kms-ngx-ui-presentational works!\n </p>\n ",
|
|
73
|
+
styles: []
|
|
74
|
+
}]
|
|
75
|
+
}], ctorParameters: function () { return []; } });
|
|
54
76
|
|
|
55
77
|
/*!
|
|
56
78
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -85,20 +107,27 @@
|
|
|
85
107
|
};
|
|
86
108
|
return ActionsParentComponent;
|
|
87
109
|
}());
|
|
88
|
-
ActionsParentComponent
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
ActionsParentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsParentComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
111
|
+
ActionsParentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ActionsParentComponent, selector: "kms-actions", inputs: { disabled: "disabled", checked: "checked", label: "label", link: "link", initialValue: "initialValue" }, outputs: { select: "select" }, ngImport: i0__namespace, template: '', isInline: true });
|
|
112
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsParentComponent, decorators: [{
|
|
113
|
+
type: i0.Component,
|
|
114
|
+
args: [{
|
|
115
|
+
selector: 'kms-actions',
|
|
116
|
+
template: '',
|
|
117
|
+
}]
|
|
118
|
+
}], propDecorators: { disabled: [{
|
|
119
|
+
type: i0.Input
|
|
120
|
+
}], checked: [{
|
|
121
|
+
type: i0.Input
|
|
122
|
+
}], label: [{
|
|
123
|
+
type: i0.Input
|
|
124
|
+
}], link: [{
|
|
125
|
+
type: i0.Input
|
|
126
|
+
}], initialValue: [{
|
|
127
|
+
type: i0.Input
|
|
128
|
+
}], select: [{
|
|
129
|
+
type: i0.Output
|
|
130
|
+
}] } });
|
|
102
131
|
|
|
103
132
|
/******************************************************************************
|
|
104
133
|
Copyright (c) Microsoft Corporation.
|
|
@@ -470,26 +499,35 @@
|
|
|
470
499
|
};
|
|
471
500
|
return CheckboxComponent;
|
|
472
501
|
}(ActionsParentComponent));
|
|
473
|
-
CheckboxComponent
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
502
|
+
CheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
503
|
+
CheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxComponent, selector: "kms-checkbox", inputs: { infoText: "infoText", name: "name" }, outputs: { select: "select" }, providers: [
|
|
504
|
+
{
|
|
505
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
506
|
+
useExisting: i0.forwardRef(function () { return CheckboxComponent; }),
|
|
507
|
+
multi: true,
|
|
508
|
+
},
|
|
509
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <label class=\"wrapper ui-copy-text\"\n [ngClass]=\"{'disabled' : disabled}\">{{label}}\n <input type=\"checkbox\" \n [checked]=\"checked\"\n [value]=\"value\"\n [name]=\"name\"\n [disabled]=\"disabled\"\n (change)=\"selectAction($event)\">\n\n</label> -->\n<mat-checkbox class=\"example-margin\" [disabled]=\"disabled\" [name]=\"name\" [(ngModel)]=\"checked\"></mat-checkbox>\n<span *ngIf=\"infoText && infoText.length > 0\" \n class=\"\"\n [ngClass]=\"{'disabled' : disabled}\">{{infoText}}\n</span>", styles: [""], components: [{ type: i1__namespace.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
510
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxComponent, decorators: [{
|
|
511
|
+
type: i0.Component,
|
|
512
|
+
args: [{
|
|
513
|
+
selector: 'kms-checkbox',
|
|
514
|
+
templateUrl: './checkbox.component.html',
|
|
515
|
+
styleUrls: ['./checkbox.component.scss'],
|
|
516
|
+
providers: [
|
|
517
|
+
{
|
|
518
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
519
|
+
useExisting: i0.forwardRef(function () { return CheckboxComponent; }),
|
|
520
|
+
multi: true,
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
}]
|
|
524
|
+
}], ctorParameters: function () { return []; }, propDecorators: { infoText: [{
|
|
525
|
+
type: i0.Input
|
|
526
|
+
}], name: [{
|
|
527
|
+
type: i0.Input
|
|
528
|
+
}], select: [{
|
|
529
|
+
type: i0.Output
|
|
530
|
+
}] } });
|
|
493
531
|
|
|
494
532
|
/*!
|
|
495
533
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -557,19 +595,19 @@
|
|
|
557
595
|
};
|
|
558
596
|
return FormParentComponent;
|
|
559
597
|
}());
|
|
560
|
-
FormParentComponent
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
598
|
+
FormParentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormParentComponent, deps: [{ token: i1__namespace$1.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
599
|
+
FormParentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FormParentComponent, selector: "kms-form", inputs: { disabled: "disabled" }, outputs: { formDataChanged: "formDataChanged" }, ngImport: i0__namespace, template: '', isInline: true });
|
|
600
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormParentComponent, decorators: [{
|
|
601
|
+
type: i0.Component,
|
|
602
|
+
args: [{
|
|
603
|
+
selector: 'kms-form',
|
|
604
|
+
template: '',
|
|
605
|
+
}]
|
|
606
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }]; }, propDecorators: { formDataChanged: [{
|
|
607
|
+
type: i0.Output
|
|
608
|
+
}], disabled: [{
|
|
609
|
+
type: i0.Input
|
|
610
|
+
}] } });
|
|
573
611
|
|
|
574
612
|
var FormControlParentComponent = /** @class */ (function (_super) {
|
|
575
613
|
__extends(FormControlParentComponent, _super);
|
|
@@ -632,21 +670,308 @@
|
|
|
632
670
|
};
|
|
633
671
|
return FormControlParentComponent;
|
|
634
672
|
}(FormParentComponent));
|
|
635
|
-
FormControlParentComponent
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
673
|
+
FormControlParentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlParentComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
674
|
+
FormControlParentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FormControlParentComponent, selector: "kms-formControlParent", inputs: { defaultDataOverride: "defaultDataOverride" }, outputs: { onSelectItemEmitter: "onSelectItemEmitter" }, viewQueries: [{ propertyName: "child", first: true, predicate: ["child"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
675
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlParentComponent, decorators: [{
|
|
676
|
+
type: i0.Component,
|
|
677
|
+
args: [{
|
|
678
|
+
selector: 'kms-formControlParent',
|
|
679
|
+
template: '',
|
|
680
|
+
}]
|
|
681
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { defaultDataOverride: [{
|
|
682
|
+
type: i0.Input
|
|
683
|
+
}], onSelectItemEmitter: [{
|
|
684
|
+
type: i0.Output
|
|
685
|
+
}], child: [{
|
|
686
|
+
type: i0.ViewChild,
|
|
687
|
+
args: ['child']
|
|
688
|
+
}] } });
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Attached File DTO
|
|
692
|
+
*/
|
|
693
|
+
var AttachedFileDTO = /** @class */ (function () {
|
|
694
|
+
function AttachedFileDTO() {
|
|
695
|
+
}
|
|
696
|
+
return AttachedFileDTO;
|
|
697
|
+
}());
|
|
698
|
+
|
|
699
|
+
/*!
|
|
700
|
+
* @copyright FLYACTS GmbH 2019
|
|
701
|
+
*/
|
|
702
|
+
exports.IconSize = void 0;
|
|
703
|
+
(function (IconSize) {
|
|
704
|
+
IconSize["FULLSIZE"] = "size-full";
|
|
705
|
+
IconSize["TINY"] = "size-16";
|
|
706
|
+
IconSize["SMALLER"] = "size-20";
|
|
707
|
+
IconSize["SMALL"] = "size-32";
|
|
708
|
+
IconSize["MEDIUM"] = "size-64";
|
|
709
|
+
IconSize["LARGE"] = "size-128";
|
|
710
|
+
IconSize["XL"] = "size-256";
|
|
711
|
+
IconSize["XXL"] = "size-512";
|
|
712
|
+
IconSize["XXXL"] = "size-1024";
|
|
713
|
+
IconSize["NONE"] = "NONE";
|
|
714
|
+
})(exports.IconSize || (exports.IconSize = {}));
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* @copyright FLYACTS GmbH 2019
|
|
718
|
+
*/
|
|
719
|
+
/**
|
|
720
|
+
* Check if null or undefined
|
|
721
|
+
* @param value value that is being checked
|
|
722
|
+
*/
|
|
723
|
+
function isValue(value) {
|
|
724
|
+
if (value === null) {
|
|
725
|
+
return false;
|
|
726
|
+
}
|
|
727
|
+
if (typeof value === 'undefined') {
|
|
728
|
+
return false;
|
|
729
|
+
}
|
|
730
|
+
return true;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/*!
|
|
734
|
+
* @copyright FLYACTS GmbH 2019
|
|
735
|
+
*/
|
|
736
|
+
var IconSize;
|
|
737
|
+
(function (IconSize) {
|
|
738
|
+
IconSize["FULLSIZE"] = "size-full";
|
|
739
|
+
IconSize["TINY"] = "size-16";
|
|
740
|
+
IconSize["SMALLER"] = "size-20";
|
|
741
|
+
IconSize["SMALL"] = "size-32";
|
|
742
|
+
IconSize["MEDIUM"] = "size-64";
|
|
743
|
+
IconSize["LARGE"] = "size-128";
|
|
744
|
+
IconSize["XL"] = "size-256";
|
|
745
|
+
IconSize["XXL"] = "size-512";
|
|
746
|
+
IconSize["XXXL"] = "size-1024";
|
|
747
|
+
IconSize["NONE"] = "NONE";
|
|
748
|
+
})(IconSize || (IconSize = {}));
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* @copyright KMS GmbH
|
|
752
|
+
*/
|
|
753
|
+
var IconComponent = /** @class */ (function () {
|
|
754
|
+
function IconComponent(sanitizer) {
|
|
755
|
+
this.sanitizer = sanitizer;
|
|
756
|
+
/**
|
|
757
|
+
* Optional: Different size via CSS inline style.
|
|
758
|
+
*/
|
|
759
|
+
this.iconSize = IconSize.FULLSIZE;
|
|
760
|
+
/**
|
|
761
|
+
* Dont use icon sprite
|
|
762
|
+
*/
|
|
763
|
+
this.dontUseSprite = false;
|
|
764
|
+
this.IconSize = IconSize;
|
|
765
|
+
this.Version = i0.VERSION.full;
|
|
766
|
+
this.timestamp = 0;
|
|
767
|
+
this.iconToShow = this.icon;
|
|
768
|
+
}
|
|
769
|
+
IconComponent.prototype.ngOnInit = function () {
|
|
770
|
+
this.iconToShow = this.icon;
|
|
771
|
+
var d = new Date();
|
|
772
|
+
var n = d.getTime();
|
|
773
|
+
this.timestamp = n;
|
|
774
|
+
};
|
|
775
|
+
return IconComponent;
|
|
776
|
+
}());
|
|
777
|
+
IconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
778
|
+
IconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IconComponent, selector: "kms-icon", inputs: { icon: "icon", iconClass: "iconClass", iconStyle: "iconStyle", iconSize: "iconSize", dontUseSprite: "dontUseSprite" }, ngImport: i0__namespace, template: "<ng-container *ngIf=\"icon !== 'none' && dontUseSprite === false\">\n <span class=\"icon {{ iconSize }}\" [ngClass]=\"iconClass\" [ngStyle]=\"iconStyle\">\n <svg>\n <use\n [attr.xlink:href]=\"\n 'assets/sprite.svg?Version=' + Version + '#' + iconToShow\n \"\n ></use>\n </svg>\n </span>\n</ng-container>\n<ng-container *ngIf=\"icon !== 'none' && dontUseSprite === true\">\n <object\n [data]=\"\n sanitizer.bypassSecurityTrustResourceUrl('assets/icons/' + icon + '')\n \"\n type=\"image/svg+xml\"\n class=\"icon {{ iconSize }}\"\n [ngClass]=\"iconClass\"\n [ngStyle]=\"iconStyle\"\n ></object>\n</ng-container>\n", styles: [""], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
779
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, decorators: [{
|
|
780
|
+
type: i0.Component,
|
|
781
|
+
args: [{
|
|
782
|
+
selector: 'kms-icon',
|
|
783
|
+
templateUrl: './icon.component.html',
|
|
784
|
+
styleUrls: ['./icon.component.scss'],
|
|
785
|
+
}]
|
|
786
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; }, propDecorators: { icon: [{
|
|
787
|
+
type: i0.Input
|
|
788
|
+
}], iconClass: [{
|
|
789
|
+
type: i0.Input
|
|
790
|
+
}], iconStyle: [{
|
|
791
|
+
type: i0.Input
|
|
792
|
+
}], iconSize: [{
|
|
793
|
+
type: i0.Input
|
|
794
|
+
}], dontUseSprite: [{
|
|
795
|
+
type: i0.Input
|
|
796
|
+
}] } });
|
|
797
|
+
|
|
798
|
+
var TooltipDirective = /** @class */ (function () {
|
|
799
|
+
function TooltipDirective(el, renderer) {
|
|
800
|
+
this.el = el;
|
|
801
|
+
this.renderer = renderer;
|
|
802
|
+
this.tooltipTitle = "";
|
|
803
|
+
this.tooltipText = "";
|
|
804
|
+
this.tooltipLinkText = "";
|
|
805
|
+
this.tooltipLinkUrl = "";
|
|
806
|
+
this.tooltipPlacement = "bottom";
|
|
807
|
+
this.tooltipDelay = 1000;
|
|
808
|
+
this.tooltipPlaceIntoHost = false;
|
|
809
|
+
this.tooltipOnlyonclick = false;
|
|
810
|
+
this.offset = 0;
|
|
811
|
+
}
|
|
812
|
+
TooltipDirective.prototype.onMouseEnter = function () {
|
|
813
|
+
if (!this.tooltipOnlyonclick) {
|
|
814
|
+
this.show();
|
|
815
|
+
}
|
|
816
|
+
};
|
|
817
|
+
TooltipDirective.prototype.onClick = function () {
|
|
818
|
+
if (this.tooltipOnlyonclick) {
|
|
819
|
+
this.show();
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
TooltipDirective.prototype.onMouseLeave = function () {
|
|
823
|
+
if (this.tooltipElem) {
|
|
824
|
+
this.hide();
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
TooltipDirective.prototype.show = function () {
|
|
828
|
+
if (!this.tooltipElem) {
|
|
829
|
+
this.create();
|
|
830
|
+
this.setPosition();
|
|
831
|
+
}
|
|
832
|
+
this.renderer.addClass(this.tooltipElem, 'tooltip-show');
|
|
833
|
+
};
|
|
834
|
+
TooltipDirective.prototype.hide = function () {
|
|
835
|
+
this.renderer.removeClass(this.tooltipElem, 'tooltip-show');
|
|
836
|
+
window.setTimeout(function () {
|
|
837
|
+
}, this.tooltipDelay);
|
|
838
|
+
};
|
|
839
|
+
TooltipDirective.prototype.create = function () {
|
|
840
|
+
this.tooltipElem = this.renderer.createElement('kms-tooltip-element');
|
|
841
|
+
this.tooltipTitleElem = this.renderer.createElement('b');
|
|
842
|
+
this.renderer.appendChild(this.tooltipTitleElem, this.renderer.createText(this.tooltipTitle));
|
|
843
|
+
this.renderer.appendChild(this.tooltipElem, this.tooltipTitleElem);
|
|
844
|
+
this.tooltipTextElem = this.renderer.createElement('div');
|
|
845
|
+
this.renderer.appendChild(this.tooltipTextElem, this.renderer.createText(this.tooltipText));
|
|
846
|
+
this.renderer.appendChild(this.tooltipElem, this.tooltipTextElem);
|
|
847
|
+
this.tooltipLinkElem = this.renderer.createElement('a');
|
|
848
|
+
this.renderer.setAttribute(this.tooltipLinkElem, 'href', this.tooltipLinkUrl);
|
|
849
|
+
this.renderer.appendChild(this.tooltipLinkElem, this.renderer.createText(this.tooltipLinkText));
|
|
850
|
+
this.renderer.appendChild(this.tooltipElem, this.tooltipLinkElem);
|
|
851
|
+
if (this.tooltipPlaceIntoHost) {
|
|
852
|
+
this.renderer.appendChild(this.el.nativeElement, this.tooltipElem);
|
|
853
|
+
}
|
|
854
|
+
else {
|
|
855
|
+
this.renderer.appendChild(document.body, this.tooltipElem);
|
|
856
|
+
}
|
|
857
|
+
this.renderer.addClass(this.tooltipElem, 'tooltip');
|
|
858
|
+
this.renderer.addClass(this.tooltipElem, "tooltip-" + this.tooltipPlacement);
|
|
859
|
+
this.renderer.setStyle(this.tooltipElem, '-webkit-transition', "opacity " + this.tooltipDelay + "ms");
|
|
860
|
+
this.renderer.setStyle(this.tooltipElem, '-moz-transition', "opacity " + this.tooltipDelay + "ms");
|
|
861
|
+
this.renderer.setStyle(this.tooltipElem, '-o-transition', "opacity " + this.tooltipDelay + "ms");
|
|
862
|
+
this.renderer.setStyle(this.tooltipElem, 'transition', "opacity " + this.tooltipDelay + "ms");
|
|
863
|
+
};
|
|
864
|
+
TooltipDirective.prototype.setPosition = function () {
|
|
865
|
+
if (this.tooltipElem) {
|
|
866
|
+
var hostPos = this.el.nativeElement.getBoundingClientRect();
|
|
867
|
+
var tooltipPos = this.tooltipElem.getBoundingClientRect();
|
|
868
|
+
var top = void 0, left = void 0;
|
|
869
|
+
if (this.tooltipPlaceIntoHost) {
|
|
870
|
+
left = 0;
|
|
871
|
+
top = hostPos.height;
|
|
872
|
+
}
|
|
873
|
+
else {
|
|
874
|
+
var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
875
|
+
if (this.tooltipPlacement === 'top') {
|
|
876
|
+
top = hostPos.top - tooltipPos.height - this.offset;
|
|
877
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
878
|
+
}
|
|
879
|
+
if (!this.tooltipPlacement || this.tooltipPlacement === 'bottom') {
|
|
880
|
+
top = hostPos.bottom + this.offset;
|
|
881
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
882
|
+
}
|
|
883
|
+
if (this.tooltipPlacement === 'left') {
|
|
884
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
885
|
+
left = hostPos.left - tooltipPos.width - this.offset;
|
|
886
|
+
}
|
|
887
|
+
if (this.tooltipPlacement === 'right') {
|
|
888
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
889
|
+
left = hostPos.right + this.offset;
|
|
890
|
+
}
|
|
891
|
+
top += scrollPos;
|
|
892
|
+
}
|
|
893
|
+
this.renderer.setStyle(this.tooltipElem, 'top', top + "px");
|
|
894
|
+
this.renderer.setStyle(this.tooltipElem, 'left', left + "px");
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
return TooltipDirective;
|
|
898
|
+
}());
|
|
899
|
+
TooltipDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
900
|
+
TooltipDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TooltipDirective, selector: "[kmsTooltip]", inputs: { tooltipTitle: "tooltipTitle", tooltipText: "tooltipText", tooltipLinkText: "tooltipLinkText", tooltipLinkUrl: "tooltipLinkUrl", tooltipPlacement: "tooltipPlacement", tooltipDelay: "tooltipDelay", tooltipPlaceIntoHost: "tooltipPlaceIntoHost", tooltipOnlyonclick: "tooltipOnlyonclick" }, host: { listeners: { "mouseenter": "onMouseEnter()", "click": "onClick()", "mouseleave": "onMouseLeave()" } }, ngImport: i0__namespace });
|
|
901
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipDirective, decorators: [{
|
|
902
|
+
type: i0.Directive,
|
|
903
|
+
args: [{
|
|
904
|
+
selector: '[kmsTooltip]'
|
|
905
|
+
}]
|
|
906
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { tooltipTitle: [{
|
|
907
|
+
type: i0.Input,
|
|
908
|
+
args: ['tooltipTitle']
|
|
909
|
+
}], tooltipText: [{
|
|
910
|
+
type: i0.Input,
|
|
911
|
+
args: ['tooltipText']
|
|
912
|
+
}], tooltipLinkText: [{
|
|
913
|
+
type: i0.Input,
|
|
914
|
+
args: ['tooltipLinkText']
|
|
915
|
+
}], tooltipLinkUrl: [{
|
|
916
|
+
type: i0.Input,
|
|
917
|
+
args: ['tooltipLinkUrl']
|
|
918
|
+
}], tooltipPlacement: [{
|
|
919
|
+
type: i0.Input,
|
|
920
|
+
args: ['tooltipPlacement']
|
|
921
|
+
}], tooltipDelay: [{
|
|
922
|
+
type: i0.Input,
|
|
923
|
+
args: ['tooltipDelay']
|
|
924
|
+
}], tooltipPlaceIntoHost: [{
|
|
925
|
+
type: i0.Input,
|
|
926
|
+
args: ['tooltipPlaceIntoHost']
|
|
927
|
+
}], tooltipOnlyonclick: [{
|
|
928
|
+
type: i0.Input,
|
|
929
|
+
args: ['tooltipOnlyonclick']
|
|
930
|
+
}], onMouseEnter: [{
|
|
931
|
+
type: i0.HostListener,
|
|
932
|
+
args: ['mouseenter']
|
|
933
|
+
}], onClick: [{
|
|
934
|
+
type: i0.HostListener,
|
|
935
|
+
args: ['click']
|
|
936
|
+
}], onMouseLeave: [{
|
|
937
|
+
type: i0.HostListener,
|
|
938
|
+
args: ['mouseleave']
|
|
939
|
+
}] } });
|
|
940
|
+
|
|
941
|
+
var TooltipIconComponent = /** @class */ (function () {
|
|
942
|
+
function TooltipIconComponent() {
|
|
943
|
+
this.tooltipTitle = "";
|
|
944
|
+
this.tooltipText = "";
|
|
945
|
+
this.tooltipLinkText = "";
|
|
946
|
+
this.tooltipLinkUrl = "";
|
|
947
|
+
this.placement = "";
|
|
948
|
+
this.delay = 1000;
|
|
949
|
+
this.IconSize = exports.IconSize;
|
|
950
|
+
}
|
|
951
|
+
return TooltipIconComponent;
|
|
952
|
+
}());
|
|
953
|
+
TooltipIconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipIconComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
954
|
+
TooltipIconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TooltipIconComponent, selector: "kms-tooltip-icon", inputs: { tooltipTitle: "tooltipTitle", tooltipText: "tooltipText", tooltipLinkText: "tooltipLinkText", tooltipLinkUrl: "tooltipLinkUrl", placement: "placement", delay: "delay" }, ngImport: i0__namespace, template: "<span\n kmsTooltip\n [tooltipTitle]=\"tooltipTitle\"\n [tooltipText]=\"tooltipText\"\n [tooltipPlacement]=\"placement\"\n [tooltipDelay]=\"delay\"\n [tooltipLinkText]=\"tooltipLinkText\"\n [tooltipLinkUrl]=\"tooltipLinkUrl\"\n>\n <kms-icon icon=\"ic_info\" [iconSize]=\"IconSize.SMALLER\" [iconClass]=\"'color-primary'\"></kms-icon>\n</span>\n", styles: [""], components: [{ type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: TooltipDirective, selector: "[kmsTooltip]", inputs: ["tooltipTitle", "tooltipText", "tooltipLinkText", "tooltipLinkUrl", "tooltipPlacement", "tooltipDelay", "tooltipPlaceIntoHost", "tooltipOnlyonclick"] }] });
|
|
955
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipIconComponent, decorators: [{
|
|
956
|
+
type: i0.Component,
|
|
957
|
+
args: [{
|
|
958
|
+
selector: 'kms-tooltip-icon',
|
|
959
|
+
templateUrl: './tooltip-icon.component.html',
|
|
960
|
+
styleUrls: ['./tooltip-icon.component.scss']
|
|
961
|
+
}]
|
|
962
|
+
}], propDecorators: { tooltipTitle: [{
|
|
963
|
+
type: i0.Input
|
|
964
|
+
}], tooltipText: [{
|
|
965
|
+
type: i0.Input
|
|
966
|
+
}], tooltipLinkText: [{
|
|
967
|
+
type: i0.Input
|
|
968
|
+
}], tooltipLinkUrl: [{
|
|
969
|
+
type: i0.Input
|
|
970
|
+
}], placement: [{
|
|
971
|
+
type: i0.Input
|
|
972
|
+
}], delay: [{
|
|
973
|
+
type: i0.Input
|
|
974
|
+
}] } });
|
|
650
975
|
|
|
651
976
|
var ColorInputComponent = /** @class */ (function (_super) {
|
|
652
977
|
__extends(ColorInputComponent, _super);
|
|
@@ -694,29 +1019,35 @@
|
|
|
694
1019
|
};
|
|
695
1020
|
return ColorInputComponent;
|
|
696
1021
|
}(FormControlParentComponent));
|
|
697
|
-
ColorInputComponent
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
1022
|
+
ColorInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ColorInputComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1023
|
+
ColorInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorInputComponent, selector: "kms-color-input", inputs: { label: "label", tooltipText: "tooltipText", placeholder: "placeholder" }, providers: [
|
|
1024
|
+
{
|
|
1025
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1026
|
+
useExisting: i0.forwardRef(function () { return ColorInputComponent; }),
|
|
1027
|
+
multi: true,
|
|
1028
|
+
},
|
|
1029
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "\r\n<form [formGroup]=\"form\" *ngIf=\"formInitialized\">\r\n <div>\r\n <mat-form-field class=\"colorInput\">\r\n <kms-tooltip-icon [tooltipText]=\"tooltipText\" *ngIf=\"tooltipText\"></kms-tooltip-icon>\r\n <mat-label>{{ label }}</mat-label>\r\n <input type=\"text\" [(ngModel)]=\"value\" matInput formControlName=\"color\" [placeholder]=\"placeholder\" [ngClass]=\"{'my-inValid': !matchesHex(value)}\" />\r\n <input type=\"color\" [value]=\"value && matchesHex(value) ? value : '#ffffff'\" (change)=\"updateSelectedColor($event)\" [ngClass]=\"{'my-inValid': !matchesHex(value)}\" />\r\n </mat-form-field>\r\n </div>\r\n</form>", styles: [""], components: [{ type: i2__namespace$1.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: TooltipIconComponent, selector: "kms-tooltip-icon", inputs: ["tooltipTitle", "tooltipText", "tooltipLinkText", "tooltipLinkUrl", "placement", "delay"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$1.MatLabel, selector: "mat-label" }, { type: i5__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i1__namespace$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1030
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ColorInputComponent, decorators: [{
|
|
1031
|
+
type: i0.Component,
|
|
1032
|
+
args: [{
|
|
1033
|
+
selector: 'kms-color-input',
|
|
1034
|
+
templateUrl: './color-input.component.html',
|
|
1035
|
+
styleUrls: ['./color-input.component.scss'],
|
|
1036
|
+
providers: [
|
|
1037
|
+
{
|
|
1038
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1039
|
+
useExisting: i0.forwardRef(function () { return ColorInputComponent; }),
|
|
1040
|
+
multi: true,
|
|
1041
|
+
},
|
|
1042
|
+
],
|
|
1043
|
+
}]
|
|
1044
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { label: [{
|
|
1045
|
+
type: i0.Input
|
|
1046
|
+
}], tooltipText: [{
|
|
1047
|
+
type: i0.Input
|
|
1048
|
+
}], placeholder: [{
|
|
1049
|
+
type: i0.Input
|
|
1050
|
+
}] } });
|
|
720
1051
|
|
|
721
1052
|
var RadioButtonComponent = /** @class */ (function (_super) {
|
|
722
1053
|
__extends(RadioButtonComponent, _super);
|
|
@@ -764,26 +1095,35 @@
|
|
|
764
1095
|
};
|
|
765
1096
|
return RadioButtonComponent;
|
|
766
1097
|
}(ActionsParentComponent));
|
|
767
|
-
RadioButtonComponent
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
1098
|
+
RadioButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1099
|
+
RadioButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadioButtonComponent, selector: "kms-radiobutton", inputs: { name: "name", id: "id", formControl: "formControl" }, providers: [
|
|
1100
|
+
{
|
|
1101
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1102
|
+
useExisting: i0.forwardRef(function () { return RadioButtonComponent; }),
|
|
1103
|
+
multi: true,
|
|
1104
|
+
},
|
|
1105
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<label class=\"wrapper ui-small-text\"\n [ngClass]=\"{'disabled' : disabled}\">\n <input type=\"radio\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n (change)=\"selectAction($event)\">{{label}}\n\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true,\n 'size-16': true\n }\"\n [icon]=\"'ic_radiobutton_active'\"\n >\n </kms-icon>\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"!checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true,\n 'size-16': true\n }\"\n [icon]=\"'ic_radiobutton_inactive'\"\n >\n </kms-icon>\n <ng-content></ng-content>\n</label>\n", styles: [""], components: [{ type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1106
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioButtonComponent, decorators: [{
|
|
1107
|
+
type: i0.Component,
|
|
1108
|
+
args: [{
|
|
1109
|
+
selector: 'kms-radiobutton',
|
|
1110
|
+
templateUrl: './radiobutton.component.html',
|
|
1111
|
+
styleUrls: ['./radiobutton.component.scss'],
|
|
1112
|
+
providers: [
|
|
1113
|
+
{
|
|
1114
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1115
|
+
useExisting: i0.forwardRef(function () { return RadioButtonComponent; }),
|
|
1116
|
+
multi: true,
|
|
1117
|
+
},
|
|
1118
|
+
],
|
|
1119
|
+
}]
|
|
1120
|
+
}], ctorParameters: function () { return []; }, propDecorators: { name: [{
|
|
1121
|
+
type: i0.Input
|
|
1122
|
+
}], id: [{
|
|
1123
|
+
type: i0.Input
|
|
1124
|
+
}], formControl: [{
|
|
1125
|
+
type: i0.Input
|
|
1126
|
+
}] } });
|
|
787
1127
|
|
|
788
1128
|
var TimeInputComponent = /** @class */ (function () {
|
|
789
1129
|
function TimeInputComponent(formBuilder) {
|
|
@@ -851,23 +1191,29 @@
|
|
|
851
1191
|
};
|
|
852
1192
|
return TimeInputComponent;
|
|
853
1193
|
}());
|
|
854
|
-
TimeInputComponent
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
1194
|
+
TimeInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TimeInputComponent, deps: [{ token: i1__namespace$1.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1195
|
+
TimeInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimeInputComponent, selector: "kms-time-input", providers: [
|
|
1196
|
+
{
|
|
1197
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1198
|
+
useExisting: i0.forwardRef(function () { return TimeInputComponent; }),
|
|
1199
|
+
multi: true,
|
|
1200
|
+
},
|
|
1201
|
+
], ngImport: i0__namespace, template: "<form [formGroup]=\"form\" class=\"timeInput\">\r\n <input type=\"text\" formControlName=\"h\" [value]=\"h\" maxlength=\"2\" pattern=\"(0?[0-9]|1[0-9]|2[0-3])\"/>\r\n <span>:</span>\r\n <input type=\"text\" formControlName=\"m\" [value]=\"m\" maxlength=\"2\" pattern=\"(0?[0-9]|[1-5][0-9])\"/>\r\n</form>", styles: [""], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1__namespace$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i1__namespace$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }] });
|
|
1202
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TimeInputComponent, decorators: [{
|
|
1203
|
+
type: i0.Component,
|
|
1204
|
+
args: [{
|
|
1205
|
+
selector: 'kms-time-input',
|
|
1206
|
+
templateUrl: './time-input.component.html',
|
|
1207
|
+
styleUrls: ['./time-input.component.scss'],
|
|
1208
|
+
providers: [
|
|
1209
|
+
{
|
|
1210
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1211
|
+
useExisting: i0.forwardRef(function () { return TimeInputComponent; }),
|
|
1212
|
+
multi: true,
|
|
1213
|
+
},
|
|
1214
|
+
],
|
|
1215
|
+
}]
|
|
1216
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }]; } });
|
|
871
1217
|
|
|
872
1218
|
var YesNoRadiogroupComponent = /** @class */ (function () {
|
|
873
1219
|
function YesNoRadiogroupComponent(formBuilder, renderer) {
|
|
@@ -922,64 +1268,39 @@
|
|
|
922
1268
|
};
|
|
923
1269
|
return YesNoRadiogroupComponent;
|
|
924
1270
|
}());
|
|
925
|
-
YesNoRadiogroupComponent
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
IconSize["SMALL"] = "size-32";
|
|
959
|
-
IconSize["MEDIUM"] = "size-64";
|
|
960
|
-
IconSize["LARGE"] = "size-128";
|
|
961
|
-
IconSize["XL"] = "size-256";
|
|
962
|
-
IconSize["XXL"] = "size-512";
|
|
963
|
-
IconSize["XXXL"] = "size-1024";
|
|
964
|
-
IconSize["NONE"] = "NONE";
|
|
965
|
-
})(exports.IconSize || (exports.IconSize = {}));
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @copyright FLYACTS GmbH 2019
|
|
969
|
-
*/
|
|
970
|
-
/**
|
|
971
|
-
* Check if null or undefined
|
|
972
|
-
* @param value value that is being checked
|
|
973
|
-
*/
|
|
974
|
-
function isValue(value) {
|
|
975
|
-
if (value === null) {
|
|
976
|
-
return false;
|
|
977
|
-
}
|
|
978
|
-
if (typeof value === 'undefined') {
|
|
979
|
-
return false;
|
|
980
|
-
}
|
|
981
|
-
return true;
|
|
982
|
-
}
|
|
1271
|
+
YesNoRadiogroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: YesNoRadiogroupComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1272
|
+
YesNoRadiogroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: YesNoRadiogroupComponent, selector: "kms-yesno-radiogroup", inputs: { header: "header", disabled: "disabled", textYes: "textYes", textNo: "textNo" }, providers: [
|
|
1273
|
+
{
|
|
1274
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1275
|
+
useExisting: i0.forwardRef(function () { return YesNoRadiogroupComponent; }),
|
|
1276
|
+
multi: true,
|
|
1277
|
+
},
|
|
1278
|
+
], viewQueries: [{ propertyName: "child", first: true, predicate: ["child"], descendants: true }], ngImport: i0__namespace, template: "<form [formGroup]=\"form\">\n <div>{{ header }}</div>\n <mat-radio-group [formControl]=\"form.controls['yesno']\" [disabled]=\"disabled\" #child>\n <mat-radio-button [value]=\"true\" [checked]=\"internalValue === true\"> {{ textYes }}</mat-radio-button>\n <mat-radio-button [value]=\"false\" [checked]=\"internalValue === false\"> {{ textNo }}</mat-radio-button>\n </mat-radio-group>\n</form>\n", components: [{ type: i2__namespace$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
1279
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: YesNoRadiogroupComponent, decorators: [{
|
|
1280
|
+
type: i0.Component,
|
|
1281
|
+
args: [{
|
|
1282
|
+
selector: 'kms-yesno-radiogroup',
|
|
1283
|
+
templateUrl: './yes-no-radiogroup.component.html',
|
|
1284
|
+
providers: [
|
|
1285
|
+
{
|
|
1286
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1287
|
+
useExisting: i0.forwardRef(function () { return YesNoRadiogroupComponent; }),
|
|
1288
|
+
multi: true,
|
|
1289
|
+
},
|
|
1290
|
+
],
|
|
1291
|
+
}]
|
|
1292
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { header: [{
|
|
1293
|
+
type: i0.Input
|
|
1294
|
+
}], disabled: [{
|
|
1295
|
+
type: i0.Input
|
|
1296
|
+
}], textYes: [{
|
|
1297
|
+
type: i0.Input
|
|
1298
|
+
}], textNo: [{
|
|
1299
|
+
type: i0.Input
|
|
1300
|
+
}], child: [{
|
|
1301
|
+
type: i0.ViewChild,
|
|
1302
|
+
args: ['child']
|
|
1303
|
+
}] } });
|
|
983
1304
|
|
|
984
1305
|
// Max size in bytes of uploaded image
|
|
985
1306
|
var MAX_SIZE_BYTES = 2097152;
|
|
@@ -1007,11 +1328,11 @@
|
|
|
1007
1328
|
this.resizePixels = 0;
|
|
1008
1329
|
this.acceptedFileMimetypes = 'image/jpeg, image/jpg, image/png';
|
|
1009
1330
|
this.form = this.formBuilder.group({
|
|
1010
|
-
ImageIdent: new
|
|
1011
|
-
ImageLink: new
|
|
1012
|
-
Filename: new
|
|
1013
|
-
ImageAsDataURL: new
|
|
1014
|
-
Text: new
|
|
1331
|
+
ImageIdent: new i1.FormControl(''),
|
|
1332
|
+
ImageLink: new i1.FormControl(''),
|
|
1333
|
+
Filename: new i1.FormControl(''),
|
|
1334
|
+
ImageAsDataURL: new i1.FormControl(''),
|
|
1335
|
+
Text: new i1.FormControl(''),
|
|
1015
1336
|
});
|
|
1016
1337
|
this.subscriptions = [];
|
|
1017
1338
|
this.newImageLoading = false;
|
|
@@ -1160,42 +1481,58 @@
|
|
|
1160
1481
|
};
|
|
1161
1482
|
return FileInputComponent;
|
|
1162
1483
|
}());
|
|
1163
|
-
FileInputComponent
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1484
|
+
FileInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileInputComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.ApplicationRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1485
|
+
FileInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileInputComponent, selector: "kms-file-input", inputs: { label: "label", previewImage: "previewImage", allowRemove: "allowRemove", previewImageText: "previewImageText", maxSizeBytes: "maxSizeBytes", resizePixels: "resizePixels", acceptedFileMimetypes: "acceptedFileMimetypes" }, outputs: { formDataChanged: "formDataChanged" }, providers: [
|
|
1486
|
+
{
|
|
1487
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1488
|
+
useExisting: i0.forwardRef(function () { return FileInputComponent; }),
|
|
1489
|
+
multi: true,
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
provide: i1.NG_VALIDATORS,
|
|
1493
|
+
useExisting: i0.forwardRef(function () { return FileInputComponent; }),
|
|
1494
|
+
multi: true,
|
|
1495
|
+
},
|
|
1496
|
+
], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0__namespace, template: "<form [formGroup]=\"form\" (change)=\"newImageLoading=true\" class=\"fileInput\"> \n\n <div *ngIf=\"form.value.Filename && previewImage\">\n <div *ngIf=\"newImageLoading\">\n {{ 'file-input.loading' | translate }}\n </div>\n <div *ngIf=\"!newImageLoading\">\n <div class=\"\">\n <div class=\"\">\n <img *ngIf=\"form.value.ImageLink && form.value.ImageLink !== '' && !(form.value.ImageAsDataURL && form.value.ImageAsDataURL !== '')\" [src]=\"form.value.ImageAsDataURL\" [src]=\"form.value.ImageLink\" style=\"height: 40px; width: fit-content;\" />\n <img *ngIf=\"form.value.ImageAsDataURL && form.value.ImageAsDataURL !== ''\" [src]=\"form.value.ImageAsDataURL\" style=\"height: 40px; width: fit-content;\" />\n </div>\n <div class=\"\">{{form.value.Filename}}</div>\n <div class=\"\">\n <div (click)=\"removeFromList()\" *ngIf=\"allowRemove\">\n <kms-icon icon=\"trash\" [iconSize]=\"IconSize.TINY\" iconClass=\"color-black\"></kms-icon> \n {{ 'file-input.remove' }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"!previewImage\">\n <div class=\"\">{{form.value.Filename}}</div>\n </div>\n\n <button (click)=\"selectImageOverlay()\" class=\"button-primary-font-color\" mat-stroked-button>\n <span>{{ label }}</span>\n </button>\n <input\n type=\"file\"\n [accept]=\"acceptedFileMimetypes\"\n style=\"display: none\"\n #fileInput\n (click)=\"clearInputValue($event)\"\n (change)=\"selectImage($event)\"\n />\n\n <input type=\"hidden\" [formControl]=\"form.controls['ImageIdent']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageLink']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Filename']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageAsDataURL']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Text']\" />\n\n</form>", styles: [""], components: [{ type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }, { type: i2__namespace$3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i5__namespace$1.TranslatePipe } });
|
|
1497
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileInputComponent, decorators: [{
|
|
1498
|
+
type: i0.Component,
|
|
1499
|
+
args: [{
|
|
1500
|
+
selector: 'kms-file-input',
|
|
1501
|
+
templateUrl: './file-input.component.html',
|
|
1502
|
+
styleUrls: ['./file-input.component.scss'],
|
|
1503
|
+
providers: [
|
|
1504
|
+
{
|
|
1505
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
1506
|
+
useExisting: i0.forwardRef(function () { return FileInputComponent; }),
|
|
1507
|
+
multi: true,
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
provide: i1.NG_VALIDATORS,
|
|
1511
|
+
useExisting: i0.forwardRef(function () { return FileInputComponent; }),
|
|
1512
|
+
multi: true,
|
|
1513
|
+
},
|
|
1514
|
+
],
|
|
1515
|
+
}]
|
|
1516
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.ApplicationRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { fileInput: [{
|
|
1517
|
+
type: i0.ViewChild,
|
|
1518
|
+
args: ['fileInput']
|
|
1519
|
+
}], label: [{
|
|
1520
|
+
type: i0.Input
|
|
1521
|
+
}], previewImage: [{
|
|
1522
|
+
type: i0.Input
|
|
1523
|
+
}], allowRemove: [{
|
|
1524
|
+
type: i0.Input
|
|
1525
|
+
}], previewImageText: [{
|
|
1526
|
+
type: i0.Input
|
|
1527
|
+
}], maxSizeBytes: [{
|
|
1528
|
+
type: i0.Input
|
|
1529
|
+
}], resizePixels: [{
|
|
1530
|
+
type: i0.Input
|
|
1531
|
+
}], acceptedFileMimetypes: [{
|
|
1532
|
+
type: i0.Input
|
|
1533
|
+
}], formDataChanged: [{
|
|
1534
|
+
type: i0.Output
|
|
1535
|
+
}] } });
|
|
1199
1536
|
|
|
1200
1537
|
var LoaderComponent = /** @class */ (function () {
|
|
1201
1538
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -1206,33 +1543,127 @@
|
|
|
1206
1543
|
LoaderComponent.prototype.ngOnInit = function () { };
|
|
1207
1544
|
return LoaderComponent;
|
|
1208
1545
|
}());
|
|
1209
|
-
LoaderComponent
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1546
|
+
LoaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LoaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1547
|
+
LoaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LoaderComponent, selector: "kms-loader", inputs: { loading: "loading" }, ngImport: i0__namespace, template: "<div class=\"loading-spinner-shade\" *ngIf=\"loading\">\n <mat-spinner class=\"spinnerMargin\" color=\"accent\" diameter=\"44\"></mat-spinner>\n</div>\n", styles: [""], components: [{ type: i1__namespace$3.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1548
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LoaderComponent, decorators: [{
|
|
1549
|
+
type: i0.Component,
|
|
1550
|
+
args: [{
|
|
1551
|
+
selector: 'kms-loader',
|
|
1552
|
+
templateUrl: './loader.component.html',
|
|
1553
|
+
styleUrls: ['./loader.component.scss'],
|
|
1554
|
+
}]
|
|
1555
|
+
}], ctorParameters: function () { return []; }, propDecorators: { loading: [{
|
|
1556
|
+
type: i0.Input
|
|
1557
|
+
}] } });
|
|
1220
1558
|
|
|
1221
1559
|
/*!
|
|
1222
1560
|
* @copyright FLYACTS GmbH 2019
|
|
1223
1561
|
*/
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
this.
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
this.
|
|
1235
|
-
|
|
1562
|
+
/**
|
|
1563
|
+
* Directive to calc the height of all inner elements
|
|
1564
|
+
*/
|
|
1565
|
+
var GetMaxHeightDirective = /** @class */ (function () {
|
|
1566
|
+
function GetMaxHeightDirective(el) {
|
|
1567
|
+
this.el = el;
|
|
1568
|
+
/**
|
|
1569
|
+
* CSS class name of the child items (markup elements) that should be checked for their height.
|
|
1570
|
+
* This is mandatory.
|
|
1571
|
+
*/
|
|
1572
|
+
this.cssClassName = '';
|
|
1573
|
+
/**
|
|
1574
|
+
* Event that will pass the height of the tallest child inside the container.
|
|
1575
|
+
* Useful to calculate the target height of containers with different content (like accordion) for animations.
|
|
1576
|
+
*/
|
|
1577
|
+
this.maxHeightChanged = new i0.EventEmitter();
|
|
1578
|
+
/**
|
|
1579
|
+
* Event that will pass the complete sum of all height values from each child.
|
|
1580
|
+
* Useful to calculate the full target height of a container (like dropdown) for animations.
|
|
1581
|
+
*/
|
|
1582
|
+
this.sumOfHeight = new i0.EventEmitter();
|
|
1583
|
+
}
|
|
1584
|
+
GetMaxHeightDirective.prototype.ngAfterContentChecked = function () {
|
|
1585
|
+
this.checkHeightOfChildren(this.el.nativeElement, this.cssClassName);
|
|
1586
|
+
};
|
|
1587
|
+
GetMaxHeightDirective.prototype.checkHeightOfChildren = function (parent, cssClassName) {
|
|
1588
|
+
if (!parent) {
|
|
1589
|
+
return;
|
|
1590
|
+
}
|
|
1591
|
+
// find all the child elements with the selected class name
|
|
1592
|
+
var children = parent.getElementsByClassName(cssClassName);
|
|
1593
|
+
// failsafe
|
|
1594
|
+
if (!children) {
|
|
1595
|
+
return;
|
|
1596
|
+
}
|
|
1597
|
+
// get all the child elements heights
|
|
1598
|
+
var itemHeights = Array.from(children).map(function (x) { return x.getBoundingClientRect().height; });
|
|
1599
|
+
// failsafe
|
|
1600
|
+
if (itemHeights.length === 0) {
|
|
1601
|
+
return;
|
|
1602
|
+
}
|
|
1603
|
+
// find out the tallest element
|
|
1604
|
+
var maxHeight = itemHeights.reduce(function (prev, curr) {
|
|
1605
|
+
return curr > prev ? curr : prev;
|
|
1606
|
+
}, 0);
|
|
1607
|
+
// get sum of heights
|
|
1608
|
+
var sumOfHeight = itemHeights.reduce(function (pv, cv) { return pv + cv; }, 0);
|
|
1609
|
+
// inform
|
|
1610
|
+
this.maxHeightChanged.emit(maxHeight);
|
|
1611
|
+
this.sumOfHeight.emit(sumOfHeight);
|
|
1612
|
+
};
|
|
1613
|
+
return GetMaxHeightDirective;
|
|
1614
|
+
}());
|
|
1615
|
+
GetMaxHeightDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: GetMaxHeightDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1616
|
+
GetMaxHeightDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GetMaxHeightDirective, selector: "[getMaxHeight]", inputs: { cssClassName: ["getMaxHeight", "cssClassName"] }, outputs: { maxHeightChanged: "maxHeightChanged", sumOfHeight: "sumOfHeight" }, ngImport: i0__namespace });
|
|
1617
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: GetMaxHeightDirective, decorators: [{
|
|
1618
|
+
type: i0.Directive,
|
|
1619
|
+
args: [{
|
|
1620
|
+
selector: '[getMaxHeight]',
|
|
1621
|
+
}]
|
|
1622
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { cssClassName: [{
|
|
1623
|
+
type: i0.Input,
|
|
1624
|
+
args: ['getMaxHeight']
|
|
1625
|
+
}], maxHeightChanged: [{
|
|
1626
|
+
type: i0.Output
|
|
1627
|
+
}], sumOfHeight: [{
|
|
1628
|
+
type: i0.Output
|
|
1629
|
+
}] } });
|
|
1630
|
+
|
|
1631
|
+
/*!
|
|
1632
|
+
* @copyright FLYACTS GmbH 2019
|
|
1633
|
+
*/
|
|
1634
|
+
var SafeHtmlPipe = /** @class */ (function () {
|
|
1635
|
+
function SafeHtmlPipe(sanitizer) {
|
|
1636
|
+
this.sanitizer = sanitizer;
|
|
1637
|
+
}
|
|
1638
|
+
SafeHtmlPipe.prototype.transform = function (html) {
|
|
1639
|
+
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
1640
|
+
};
|
|
1641
|
+
return SafeHtmlPipe;
|
|
1642
|
+
}());
|
|
1643
|
+
SafeHtmlPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeHtmlPipe, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1644
|
+
SafeHtmlPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeHtmlPipe, name: "kmsSafeHtml" });
|
|
1645
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeHtmlPipe, decorators: [{
|
|
1646
|
+
type: i0.Pipe,
|
|
1647
|
+
args: [{
|
|
1648
|
+
name: 'kmsSafeHtml',
|
|
1649
|
+
}]
|
|
1650
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; } });
|
|
1651
|
+
|
|
1652
|
+
/*!
|
|
1653
|
+
* @copyright FLYACTS GmbH 2019
|
|
1654
|
+
*/
|
|
1655
|
+
var FlyoutComponent = /** @class */ (function () {
|
|
1656
|
+
function FlyoutComponent() {
|
|
1657
|
+
this.icon = 'filter';
|
|
1658
|
+
this.isDropdownOpened = false;
|
|
1659
|
+
this.targetHeight = '0';
|
|
1660
|
+
this.animationTime = 5000;
|
|
1661
|
+
this.headerCssClass = '';
|
|
1662
|
+
this.bodyCssClass = '';
|
|
1663
|
+
this.headerTitle = '';
|
|
1664
|
+
this.headerText = '';
|
|
1665
|
+
this.hasButtonForMore = false;
|
|
1666
|
+
this.moreText = '';
|
|
1236
1667
|
this.lessText = '';
|
|
1237
1668
|
}
|
|
1238
1669
|
/**
|
|
@@ -1258,52 +1689,84 @@
|
|
|
1258
1689
|
};
|
|
1259
1690
|
return FlyoutComponent;
|
|
1260
1691
|
}());
|
|
1261
|
-
FlyoutComponent
|
|
1262
|
-
{ type:
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1692
|
+
FlyoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FlyoutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1693
|
+
FlyoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FlyoutComponent, selector: "kms-flyout", inputs: { icon: "icon", headerCssClass: "headerCssClass", bodyCssClass: "bodyCssClass", headerTitle: "headerTitle", headerText: "headerText", hasButtonForMore: "hasButtonForMore", moreText: "moreText", lessText: "lessText" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "flyoutHeader", first: true, predicate: ["flyoutHeader"], descendants: true }], ngImport: i0__namespace, template: "<div class=\"flyout\"\n [ngClass]=\"{'is-active': isDropdownOpened}\"\n>\n <div class=\"flyout-header\" (click)=\"toggleDropdownHeader()\" [ngClass]=\"headerCssClass\">\n <span [innerHtml]=\"headerTitle | kmsSafeHtml\"></span>\n <span [innerHtml]=\"headerText | kmsSafeHtml\"></span>\n\n <ng-content select=\"[header]\"></ng-content>\n\n <div *ngIf=\"hasButtonForMore\" (click)=\"toggleDropdown()\" class=\"flyout-header-more\">\n <span *ngIf=\"!isDropdownOpened\">\n {{ moreText }}\n </span>\n <span *ngIf=\"isDropdownOpened\">\n {{ lessText }}\n </span>\n <kms-icon [icon]=\"'chevron-down'\"\n [iconClass]=\"{'size-16': true, 'is-rotating180': isDropdownOpened}\" >\n </kms-icon>\n </div>\n </div>\n <div \n class=\"flyout-body\"\n [ngClass]=\"bodyCssClass\"\n tabindex=\"0\"\n [@dropdownAnimation]=\"{value: isDropdownOpened, params: {targetHeight: targetHeight, animationTime: '500'}}\"\n getMaxHeight=\"inner\"\n (sumOfHeight)=\"setDropdownListHeight($event)\"\n #flyoutHeader>\n <div class=\"inner\" #content>\n <ng-content ></ng-content>\n </div>\n </div>\n\n</div>\n", styles: [""], components: [{ type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: GetMaxHeightDirective, selector: "[getMaxHeight]", inputs: ["getMaxHeight"], outputs: ["maxHeightChanged", "sumOfHeight"] }], pipes: { "kmsSafeHtml": SafeHtmlPipe }, animations: [
|
|
1694
|
+
animations.trigger('dropdownAnimation', [
|
|
1695
|
+
animations.state('true', animations.style({
|
|
1696
|
+
height: '{{targetHeight}}',
|
|
1697
|
+
transition: 'height {{animationTime}}ms ease-in-out',
|
|
1698
|
+
}), {
|
|
1699
|
+
params: {
|
|
1700
|
+
targetHeight: '300px',
|
|
1701
|
+
animationTime: 3000,
|
|
1702
|
+
},
|
|
1703
|
+
}),
|
|
1704
|
+
animations.state('false', animations.style({
|
|
1705
|
+
height: 0,
|
|
1706
|
+
transition: 'height {{animationTime}}ms ease-in-out',
|
|
1707
|
+
}), {
|
|
1708
|
+
params: {
|
|
1709
|
+
targetHeight: '300px',
|
|
1710
|
+
opacity: 0,
|
|
1711
|
+
animationTime: 3000,
|
|
1712
|
+
},
|
|
1713
|
+
}),
|
|
1714
|
+
]),
|
|
1715
|
+
] });
|
|
1716
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FlyoutComponent, decorators: [{
|
|
1717
|
+
type: i0.Component,
|
|
1718
|
+
args: [{
|
|
1719
|
+
selector: 'kms-flyout',
|
|
1720
|
+
templateUrl: './flyout.component.html',
|
|
1721
|
+
styleUrls: ['./flyout.component.scss'],
|
|
1722
|
+
animations: [
|
|
1723
|
+
animations.trigger('dropdownAnimation', [
|
|
1724
|
+
animations.state('true', animations.style({
|
|
1725
|
+
height: '{{targetHeight}}',
|
|
1726
|
+
transition: 'height {{animationTime}}ms ease-in-out',
|
|
1727
|
+
}), {
|
|
1728
|
+
params: {
|
|
1729
|
+
targetHeight: '300px',
|
|
1730
|
+
animationTime: 3000,
|
|
1731
|
+
},
|
|
1732
|
+
}),
|
|
1733
|
+
animations.state('false', animations.style({
|
|
1734
|
+
height: 0,
|
|
1735
|
+
transition: 'height {{animationTime}}ms ease-in-out',
|
|
1736
|
+
}), {
|
|
1737
|
+
params: {
|
|
1738
|
+
targetHeight: '300px',
|
|
1739
|
+
opacity: 0,
|
|
1740
|
+
animationTime: 3000,
|
|
1741
|
+
},
|
|
1742
|
+
}),
|
|
1743
|
+
]),
|
|
1744
|
+
],
|
|
1745
|
+
}]
|
|
1746
|
+
}], propDecorators: { icon: [{
|
|
1747
|
+
type: i0.Input
|
|
1748
|
+
}], headerCssClass: [{
|
|
1749
|
+
type: i0.Input
|
|
1750
|
+
}], bodyCssClass: [{
|
|
1751
|
+
type: i0.Input
|
|
1752
|
+
}], headerTitle: [{
|
|
1753
|
+
type: i0.Input
|
|
1754
|
+
}], headerText: [{
|
|
1755
|
+
type: i0.Input
|
|
1756
|
+
}], hasButtonForMore: [{
|
|
1757
|
+
type: i0.Input
|
|
1758
|
+
}], moreText: [{
|
|
1759
|
+
type: i0.Input
|
|
1760
|
+
}], lessText: [{
|
|
1761
|
+
type: i0.Input
|
|
1762
|
+
}], content: [{
|
|
1763
|
+
type: i0.ViewChild,
|
|
1764
|
+
args: ['content']
|
|
1765
|
+
}], flyoutHeader: [{
|
|
1766
|
+
type: i0.ViewChild,
|
|
1767
|
+
args: ['flyoutHeader']
|
|
1768
|
+
}] } });
|
|
1303
1769
|
|
|
1304
|
-
/**
|
|
1305
|
-
* @copyright KMS GmbH
|
|
1306
|
-
*/
|
|
1307
1770
|
var IntegerCurrency = /** @class */ (function () {
|
|
1308
1771
|
function IntegerCurrency(cp) {
|
|
1309
1772
|
this.cp = cp;
|
|
@@ -1320,14 +1783,14 @@
|
|
|
1320
1783
|
};
|
|
1321
1784
|
return IntegerCurrency;
|
|
1322
1785
|
}());
|
|
1323
|
-
IntegerCurrency
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1786
|
+
IntegerCurrency.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntegerCurrency, deps: [{ token: i2__namespace.CurrencyPipe }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1787
|
+
IntegerCurrency.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntegerCurrency, name: "kmsIntegerCurrency" });
|
|
1788
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntegerCurrency, decorators: [{
|
|
1789
|
+
type: i0.Pipe,
|
|
1790
|
+
args: [{
|
|
1791
|
+
name: 'kmsIntegerCurrency',
|
|
1792
|
+
}]
|
|
1793
|
+
}], ctorParameters: function () { return [{ type: i2__namespace.CurrencyPipe }]; } });
|
|
1331
1794
|
|
|
1332
1795
|
/*!
|
|
1333
1796
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -1340,11 +1803,14 @@
|
|
|
1340
1803
|
};
|
|
1341
1804
|
return DecodeUriPipe;
|
|
1342
1805
|
}());
|
|
1343
|
-
DecodeUriPipe
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1806
|
+
DecodeUriPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DecodeUriPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1807
|
+
DecodeUriPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DecodeUriPipe, name: "kmsDecodeUri" });
|
|
1808
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DecodeUriPipe, decorators: [{
|
|
1809
|
+
type: i0.Pipe,
|
|
1810
|
+
args: [{
|
|
1811
|
+
name: 'kmsDecodeUri',
|
|
1812
|
+
}]
|
|
1813
|
+
}] });
|
|
1348
1814
|
|
|
1349
1815
|
/*!
|
|
1350
1816
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -1357,32 +1823,14 @@
|
|
|
1357
1823
|
};
|
|
1358
1824
|
return EncodeUriPipe;
|
|
1359
1825
|
}());
|
|
1360
|
-
EncodeUriPipe
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
*/
|
|
1369
|
-
var SafeHtmlPipe = /** @class */ (function () {
|
|
1370
|
-
function SafeHtmlPipe(sanitizer) {
|
|
1371
|
-
this.sanitizer = sanitizer;
|
|
1372
|
-
}
|
|
1373
|
-
SafeHtmlPipe.prototype.transform = function (html) {
|
|
1374
|
-
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
1375
|
-
};
|
|
1376
|
-
return SafeHtmlPipe;
|
|
1377
|
-
}());
|
|
1378
|
-
SafeHtmlPipe.decorators = [
|
|
1379
|
-
{ type: i0.Pipe, args: [{
|
|
1380
|
-
name: 'kmsSafeHtml',
|
|
1381
|
-
},] }
|
|
1382
|
-
];
|
|
1383
|
-
SafeHtmlPipe.ctorParameters = function () { return [
|
|
1384
|
-
{ type: platformBrowser.DomSanitizer }
|
|
1385
|
-
]; };
|
|
1826
|
+
EncodeUriPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EncodeUriPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1827
|
+
EncodeUriPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EncodeUriPipe, name: "kmsEncodeUri" });
|
|
1828
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EncodeUriPipe, decorators: [{
|
|
1829
|
+
type: i0.Pipe,
|
|
1830
|
+
args: [{
|
|
1831
|
+
name: 'kmsEncodeUri',
|
|
1832
|
+
}]
|
|
1833
|
+
}] });
|
|
1386
1834
|
|
|
1387
1835
|
/**
|
|
1388
1836
|
* @copyright KMS GmbH
|
|
@@ -1396,14 +1844,14 @@
|
|
|
1396
1844
|
};
|
|
1397
1845
|
return SafeStylePipe;
|
|
1398
1846
|
}());
|
|
1399
|
-
SafeStylePipe
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1847
|
+
SafeStylePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeStylePipe, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1848
|
+
SafeStylePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeStylePipe, name: "kmsSafeStyle" });
|
|
1849
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeStylePipe, decorators: [{
|
|
1850
|
+
type: i0.Pipe,
|
|
1851
|
+
args: [{
|
|
1852
|
+
name: 'kmsSafeStyle',
|
|
1853
|
+
}]
|
|
1854
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; } });
|
|
1407
1855
|
|
|
1408
1856
|
/**
|
|
1409
1857
|
* @copyright KMS GmbH
|
|
@@ -1417,14 +1865,14 @@
|
|
|
1417
1865
|
};
|
|
1418
1866
|
return SafeUrlPipe;
|
|
1419
1867
|
}());
|
|
1420
|
-
SafeUrlPipe
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1868
|
+
SafeUrlPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeUrlPipe, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1869
|
+
SafeUrlPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeUrlPipe, name: "kmsSafeSUrl" });
|
|
1870
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeUrlPipe, decorators: [{
|
|
1871
|
+
type: i0.Pipe,
|
|
1872
|
+
args: [{
|
|
1873
|
+
name: 'kmsSafeSUrl',
|
|
1874
|
+
}]
|
|
1875
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; } });
|
|
1428
1876
|
|
|
1429
1877
|
/**
|
|
1430
1878
|
* @copyright KMS GmbH
|
|
@@ -1438,14 +1886,14 @@
|
|
|
1438
1886
|
};
|
|
1439
1887
|
return SafeResourceUrlPipe;
|
|
1440
1888
|
}());
|
|
1441
|
-
SafeResourceUrlPipe
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1889
|
+
SafeResourceUrlPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeResourceUrlPipe, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1890
|
+
SafeResourceUrlPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeResourceUrlPipe, name: "kmsSafeResourceSUrl" });
|
|
1891
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SafeResourceUrlPipe, decorators: [{
|
|
1892
|
+
type: i0.Pipe,
|
|
1893
|
+
args: [{
|
|
1894
|
+
name: 'kmsSafeResourceSUrl',
|
|
1895
|
+
}]
|
|
1896
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; } });
|
|
1449
1897
|
|
|
1450
1898
|
var TypeofPipe = /** @class */ (function () {
|
|
1451
1899
|
function TypeofPipe() {
|
|
@@ -1455,11 +1903,14 @@
|
|
|
1455
1903
|
};
|
|
1456
1904
|
return TypeofPipe;
|
|
1457
1905
|
}());
|
|
1458
|
-
TypeofPipe
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1906
|
+
TypeofPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TypeofPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1907
|
+
TypeofPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TypeofPipe, name: "kmsTypeOf" });
|
|
1908
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TypeofPipe, decorators: [{
|
|
1909
|
+
type: i0.Pipe,
|
|
1910
|
+
args: [{
|
|
1911
|
+
name: 'kmsTypeOf',
|
|
1912
|
+
}]
|
|
1913
|
+
}] });
|
|
1463
1914
|
|
|
1464
1915
|
/**
|
|
1465
1916
|
* @copyright KMS GmbH
|
|
@@ -1475,9 +1926,12 @@
|
|
|
1475
1926
|
};
|
|
1476
1927
|
return TrimPipe;
|
|
1477
1928
|
}());
|
|
1478
|
-
TrimPipe
|
|
1479
|
-
|
|
1480
|
-
|
|
1929
|
+
TrimPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TrimPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1930
|
+
TrimPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TrimPipe, name: "kmsTrim" });
|
|
1931
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TrimPipe, decorators: [{
|
|
1932
|
+
type: i0.Pipe,
|
|
1933
|
+
args: [{ name: 'kmsTrim' }]
|
|
1934
|
+
}] });
|
|
1481
1935
|
|
|
1482
1936
|
/**
|
|
1483
1937
|
* @copyright KMS GmbH
|
|
@@ -1493,12 +1947,15 @@
|
|
|
1493
1947
|
};
|
|
1494
1948
|
return ToNumberPipe;
|
|
1495
1949
|
}());
|
|
1496
|
-
ToNumberPipe
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1950
|
+
ToNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1951
|
+
ToNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToNumberPipe, name: "kmsToNumber", pure: false });
|
|
1952
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToNumberPipe, decorators: [{
|
|
1953
|
+
type: i0.Pipe,
|
|
1954
|
+
args: [{
|
|
1955
|
+
name: 'kmsToNumber',
|
|
1956
|
+
pure: false
|
|
1957
|
+
}]
|
|
1958
|
+
}] });
|
|
1502
1959
|
|
|
1503
1960
|
/**
|
|
1504
1961
|
* @copyright KMS GmbH
|
|
@@ -1508,98 +1965,58 @@
|
|
|
1508
1965
|
}
|
|
1509
1966
|
return CustomPipesModule;
|
|
1510
1967
|
}());
|
|
1511
|
-
CustomPipesModule
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
function IconComponent(sanitizer) {
|
|
1564
|
-
this.sanitizer = sanitizer;
|
|
1565
|
-
/**
|
|
1566
|
-
* Optional: Different size via CSS inline style.
|
|
1567
|
-
*/
|
|
1568
|
-
this.iconSize = IconSize.FULLSIZE;
|
|
1569
|
-
/**
|
|
1570
|
-
* Dont use icon sprite
|
|
1571
|
-
*/
|
|
1572
|
-
this.dontUseSprite = false;
|
|
1573
|
-
this.IconSize = IconSize;
|
|
1574
|
-
this.Version = i0.VERSION.full;
|
|
1575
|
-
this.timestamp = 0;
|
|
1576
|
-
this.iconToShow = this.icon;
|
|
1577
|
-
}
|
|
1578
|
-
IconComponent.prototype.ngOnInit = function () {
|
|
1579
|
-
this.iconToShow = this.icon;
|
|
1580
|
-
var d = new Date();
|
|
1581
|
-
var n = d.getTime();
|
|
1582
|
-
this.timestamp = n;
|
|
1583
|
-
};
|
|
1584
|
-
return IconComponent;
|
|
1585
|
-
}());
|
|
1586
|
-
IconComponent.decorators = [
|
|
1587
|
-
{ type: i0.Component, args: [{
|
|
1588
|
-
selector: 'kms-icon',
|
|
1589
|
-
template: "<ng-container *ngIf=\"icon !== 'none' && dontUseSprite === false\">\r\n <span class=\"icon {{ iconSize }}\" [ngClass]=\"iconClass\" [ngStyle]=\"iconStyle\">\r\n <svg>\r\n <use\r\n [attr.xlink:href]=\"\r\n 'assets/sprite.svg?Version=' + Version + '#' + iconToShow\r\n \"\r\n ></use>\r\n </svg>\r\n </span>\r\n</ng-container>\r\n<ng-container *ngIf=\"icon !== 'none' && dontUseSprite === true\">\r\n <object\r\n [data]=\"\r\n sanitizer.bypassSecurityTrustResourceUrl('assets/icons/' + icon + '')\r\n \"\r\n type=\"image/svg+xml\"\r\n class=\"icon {{ iconSize }}\"\r\n [ngClass]=\"iconClass\"\r\n [ngStyle]=\"iconStyle\"\r\n ></object>\r\n</ng-container>\r\n",
|
|
1590
|
-
styles: [""]
|
|
1591
|
-
},] }
|
|
1592
|
-
];
|
|
1593
|
-
IconComponent.ctorParameters = function () { return [
|
|
1594
|
-
{ type: platformBrowser.DomSanitizer }
|
|
1595
|
-
]; };
|
|
1596
|
-
IconComponent.propDecorators = {
|
|
1597
|
-
icon: [{ type: i0.Input }],
|
|
1598
|
-
iconClass: [{ type: i0.Input }],
|
|
1599
|
-
iconStyle: [{ type: i0.Input }],
|
|
1600
|
-
iconSize: [{ type: i0.Input }],
|
|
1601
|
-
dontUseSprite: [{ type: i0.Input }]
|
|
1602
|
-
};
|
|
1968
|
+
CustomPipesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomPipesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1969
|
+
CustomPipesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomPipesModule, declarations: [IntegerCurrency,
|
|
1970
|
+
SafeHtmlPipe,
|
|
1971
|
+
SafeStylePipe,
|
|
1972
|
+
SafeResourceUrlPipe,
|
|
1973
|
+
SafeUrlPipe,
|
|
1974
|
+
EncodeUriPipe,
|
|
1975
|
+
DecodeUriPipe,
|
|
1976
|
+
TypeofPipe,
|
|
1977
|
+
TrimPipe,
|
|
1978
|
+
ToNumberPipe], imports: [i2.CommonModule], exports: [IntegerCurrency,
|
|
1979
|
+
SafeHtmlPipe,
|
|
1980
|
+
SafeStylePipe,
|
|
1981
|
+
SafeResourceUrlPipe,
|
|
1982
|
+
SafeUrlPipe,
|
|
1983
|
+
EncodeUriPipe,
|
|
1984
|
+
DecodeUriPipe,
|
|
1985
|
+
TypeofPipe,
|
|
1986
|
+
TrimPipe,
|
|
1987
|
+
ToNumberPipe] });
|
|
1988
|
+
CustomPipesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomPipesModule, providers: [i2.CurrencyPipe], imports: [[i2.CommonModule]] });
|
|
1989
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomPipesModule, decorators: [{
|
|
1990
|
+
type: i0.NgModule,
|
|
1991
|
+
args: [{
|
|
1992
|
+
declarations: [
|
|
1993
|
+
IntegerCurrency,
|
|
1994
|
+
SafeHtmlPipe,
|
|
1995
|
+
SafeStylePipe,
|
|
1996
|
+
SafeResourceUrlPipe,
|
|
1997
|
+
SafeUrlPipe,
|
|
1998
|
+
EncodeUriPipe,
|
|
1999
|
+
DecodeUriPipe,
|
|
2000
|
+
TypeofPipe,
|
|
2001
|
+
TrimPipe,
|
|
2002
|
+
ToNumberPipe,
|
|
2003
|
+
],
|
|
2004
|
+
imports: [i2.CommonModule],
|
|
2005
|
+
exports: [
|
|
2006
|
+
IntegerCurrency,
|
|
2007
|
+
SafeHtmlPipe,
|
|
2008
|
+
SafeStylePipe,
|
|
2009
|
+
SafeResourceUrlPipe,
|
|
2010
|
+
SafeUrlPipe,
|
|
2011
|
+
EncodeUriPipe,
|
|
2012
|
+
DecodeUriPipe,
|
|
2013
|
+
TypeofPipe,
|
|
2014
|
+
TrimPipe,
|
|
2015
|
+
ToNumberPipe,
|
|
2016
|
+
],
|
|
2017
|
+
providers: [i2.CurrencyPipe],
|
|
2018
|
+
}]
|
|
2019
|
+
}] });
|
|
1603
2020
|
|
|
1604
2021
|
var EnumRadiogroupComponent = /** @class */ (function (_super) {
|
|
1605
2022
|
__extends(EnumRadiogroupComponent, _super);
|
|
@@ -1625,28 +2042,34 @@
|
|
|
1625
2042
|
};
|
|
1626
2043
|
return EnumRadiogroupComponent;
|
|
1627
2044
|
}(FormControlParentComponent));
|
|
1628
|
-
EnumRadiogroupComponent
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
2045
|
+
EnumRadiogroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EnumRadiogroupComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2046
|
+
EnumRadiogroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EnumRadiogroupComponent, selector: "kms-enum-radiogroup", inputs: { header: "header", optionsEnum: "optionsEnum", translationPrefix: "translationPrefix" }, providers: [
|
|
2047
|
+
{
|
|
2048
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2049
|
+
useExisting: i0.forwardRef(function () { return EnumRadiogroupComponent; }),
|
|
2050
|
+
multi: true,
|
|
2051
|
+
},
|
|
2052
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<form [formGroup]=\"form\">\n <div>{{ header }}</div>\n <mat-radio-group [formControl]=\"form.controls['enumData']\" [disabled]=\"disabled\" #child>\n <mat-radio-button [value]=\"choice\" [checked]=\"value === choice\" *ngFor=\"let choice of optionValues\">{{ translationPrefix + '.' + choice | translate }}</mat-radio-button>\n </mat-radio-group>\n</form>", components: [{ type: i2__namespace$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i5__namespace$1.TranslatePipe } });
|
|
2053
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EnumRadiogroupComponent, decorators: [{
|
|
2054
|
+
type: i0.Component,
|
|
2055
|
+
args: [{
|
|
2056
|
+
selector: 'kms-enum-radiogroup',
|
|
2057
|
+
templateUrl: './enum-radiogroup.component.html',
|
|
2058
|
+
providers: [
|
|
2059
|
+
{
|
|
2060
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2061
|
+
useExisting: i0.forwardRef(function () { return EnumRadiogroupComponent; }),
|
|
2062
|
+
multi: true,
|
|
2063
|
+
},
|
|
2064
|
+
],
|
|
2065
|
+
}]
|
|
2066
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { header: [{
|
|
2067
|
+
type: i0.Input
|
|
2068
|
+
}], optionsEnum: [{
|
|
2069
|
+
type: i0.Input
|
|
2070
|
+
}], translationPrefix: [{
|
|
2071
|
+
type: i0.Input
|
|
2072
|
+
}] } });
|
|
1650
2073
|
|
|
1651
2074
|
/*!
|
|
1652
2075
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -1660,6 +2083,7 @@
|
|
|
1660
2083
|
this.itemTitle = '';
|
|
1661
2084
|
this.showAsCard = false;
|
|
1662
2085
|
this.isSmall = false;
|
|
2086
|
+
this.expanded = false;
|
|
1663
2087
|
this.panelOpenState = false;
|
|
1664
2088
|
}
|
|
1665
2089
|
KMSAccordionItemComponent.prototype.ngOnInit = function () {
|
|
@@ -1667,21 +2091,24 @@
|
|
|
1667
2091
|
};
|
|
1668
2092
|
return KMSAccordionItemComponent;
|
|
1669
2093
|
}());
|
|
1670
|
-
KMSAccordionItemComponent
|
|
1671
|
-
{ type:
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
2094
|
+
KMSAccordionItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KMSAccordionItemComponent, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2095
|
+
KMSAccordionItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: KMSAccordionItemComponent, selector: "kms-accordion-item", inputs: { itemTitle: "itemTitle", showAsCard: "showAsCard", isSmall: "isSmall", expanded: "expanded" }, ngImport: i0__namespace, template: "<mat-expansion-panel\r\n class=\"accordion-item\"\r\n [ngClass]=\"{showAsCard: showAsCard, showFlat: !showAsCard, isSmall: isSmall}\"\r\n (opened)=\"panelOpenState = true\"\r\n (closed)=\"panelOpenState = false\"\r\n [expanded] = \"expanded\"\r\n hideToggle=\"true\">\r\n <mat-expansion-panel-header class=\"accordion-item-header\">\r\n <mat-panel-title class=\"mat-subheading-2 accordion-item-title\">\r\n <div [innerHtml]=\"itemTitleTrustHtml\"></div>\r\n <ng-content select=\"[itemTitleElement]\"></ng-content>\r\n </mat-panel-title>\r\n <div class=\"accordion-item-header-icon-wrapper\">\r\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"ic_plus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\r\n <kms-icon *ngIf=\"panelOpenState\" icon=\"ic_minus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\r\n\r\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"chevron-down\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\r\n <kms-icon *ngIf=\"panelOpenState\" icon=\"chevron-top\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\r\n </div>\r\n </mat-expansion-panel-header>\r\n <ng-content></ng-content>\r\n</mat-expansion-panel>\r\n", styles: [""], components: [{ type: i2__namespace$4.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { type: i2__namespace$4.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace$4.MatExpansionPanelTitle, selector: "mat-panel-title" }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2096
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KMSAccordionItemComponent, decorators: [{
|
|
2097
|
+
type: i0.Component,
|
|
2098
|
+
args: [{
|
|
2099
|
+
selector: 'kms-accordion-item',
|
|
2100
|
+
templateUrl: './kms-accordion-item.component.html',
|
|
2101
|
+
styleUrls: ['./kms-accordion-item.component.scss'],
|
|
2102
|
+
}]
|
|
2103
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; }, propDecorators: { itemTitle: [{
|
|
2104
|
+
type: i0.Input
|
|
2105
|
+
}], showAsCard: [{
|
|
2106
|
+
type: i0.Input
|
|
2107
|
+
}], isSmall: [{
|
|
2108
|
+
type: i0.Input
|
|
2109
|
+
}], expanded: [{
|
|
2110
|
+
type: i0.Input
|
|
2111
|
+
}] } });
|
|
1685
2112
|
|
|
1686
2113
|
/**
|
|
1687
2114
|
* Service to get viewport
|
|
@@ -1728,7 +2155,7 @@
|
|
|
1728
2155
|
];
|
|
1729
2156
|
this.viewportChangedSubscriber = new rxjs.Subject();
|
|
1730
2157
|
this.viewportResizedSubscriber = new rxjs.Subject();
|
|
1731
|
-
if (
|
|
2158
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1732
2159
|
window.addEventListener('resize', this.documentSizeChanged.bind(this), { passive: true });
|
|
1733
2160
|
}
|
|
1734
2161
|
}
|
|
@@ -1736,25 +2163,25 @@
|
|
|
1736
2163
|
* Get window height
|
|
1737
2164
|
*/
|
|
1738
2165
|
ViewportService.prototype.getDocumentHeight = function () {
|
|
1739
|
-
return
|
|
2166
|
+
return i2.isPlatformBrowser(this.platformId) ? document.body.clientHeight : 1200;
|
|
1740
2167
|
};
|
|
1741
2168
|
/**
|
|
1742
2169
|
* Get window width
|
|
1743
2170
|
*/
|
|
1744
2171
|
ViewportService.prototype.getDocumentWidth = function () {
|
|
1745
|
-
return
|
|
2172
|
+
return i2.isPlatformBrowser(this.platformId) ? document.body.clientWidth : 1200;
|
|
1746
2173
|
};
|
|
1747
2174
|
/**
|
|
1748
2175
|
* Get window height
|
|
1749
2176
|
*/
|
|
1750
2177
|
ViewportService.prototype.getWindowHeight = function () {
|
|
1751
|
-
return
|
|
2178
|
+
return i2.isPlatformBrowser(this.platformId) ? window.innerHeight : 1200;
|
|
1752
2179
|
};
|
|
1753
2180
|
/**
|
|
1754
2181
|
* Get window width
|
|
1755
2182
|
*/
|
|
1756
2183
|
ViewportService.prototype.getWindowWidth = function () {
|
|
1757
|
-
return
|
|
2184
|
+
return i2.isPlatformBrowser(this.platformId) ? window.innerWidth : 1200;
|
|
1758
2185
|
};
|
|
1759
2186
|
/**
|
|
1760
2187
|
* Returns the current viewport MQ as string
|
|
@@ -1762,7 +2189,7 @@
|
|
|
1762
2189
|
*/
|
|
1763
2190
|
ViewportService.prototype.getCurrentViewPort = function () {
|
|
1764
2191
|
if (!this.currentViewport) {
|
|
1765
|
-
var currentWidth =
|
|
2192
|
+
var currentWidth = i2.isPlatformBrowser(this.platformId) ? document.body.clientWidth : 1200;
|
|
1766
2193
|
this.currentViewport = this.convertWidthToMediaQuery(currentWidth);
|
|
1767
2194
|
}
|
|
1768
2195
|
return this.currentViewport;
|
|
@@ -1781,7 +2208,7 @@
|
|
|
1781
2208
|
};
|
|
1782
2209
|
ViewportService.prototype.scrollToElementId = function (el, alignCenter) {
|
|
1783
2210
|
if (alignCenter === void 0) { alignCenter = false; }
|
|
1784
|
-
if (
|
|
2211
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1785
2212
|
this.scrollToElement(document.querySelector('#' + el), alignCenter);
|
|
1786
2213
|
}
|
|
1787
2214
|
};
|
|
@@ -1792,7 +2219,7 @@
|
|
|
1792
2219
|
*/
|
|
1793
2220
|
ViewportService.prototype.scrollToElement = function (el, alignCenter) {
|
|
1794
2221
|
if (alignCenter === void 0) { alignCenter = false; }
|
|
1795
|
-
if (
|
|
2222
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1796
2223
|
var extraScrollTop = 0;
|
|
1797
2224
|
if (alignCenter) {
|
|
1798
2225
|
extraScrollTop = (window.innerHeight - el.clientHeight) / 2;
|
|
@@ -1817,12 +2244,12 @@
|
|
|
1817
2244
|
* @param top - top position value
|
|
1818
2245
|
*/
|
|
1819
2246
|
ViewportService.prototype.scrollTop = function (top) {
|
|
1820
|
-
if (
|
|
2247
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1821
2248
|
window.scrollTo({ left: 0, top: top, behavior: 'smooth' });
|
|
1822
2249
|
}
|
|
1823
2250
|
};
|
|
1824
2251
|
ViewportService.prototype.ngOnDestroy = function () {
|
|
1825
|
-
if (
|
|
2252
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1826
2253
|
window.removeEventListener('resize', this.documentSizeChanged);
|
|
1827
2254
|
}
|
|
1828
2255
|
};
|
|
@@ -1892,13 +2319,13 @@
|
|
|
1892
2319
|
return currentViewport;
|
|
1893
2320
|
};
|
|
1894
2321
|
ViewportService.prototype.isPortrait = function () {
|
|
1895
|
-
if (
|
|
2322
|
+
if (i2.isPlatformBrowser(this.platformId))
|
|
1896
2323
|
return window.innerHeight > window.innerWidth;
|
|
1897
2324
|
else
|
|
1898
2325
|
return;
|
|
1899
2326
|
};
|
|
1900
2327
|
ViewportService.prototype.isLandscape = function () {
|
|
1901
|
-
if (
|
|
2328
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
1902
2329
|
var isLandscape = window.orientation === 90 || window.orientation === -90;
|
|
1903
2330
|
return isLandscape;
|
|
1904
2331
|
}
|
|
@@ -1908,12 +2335,16 @@
|
|
|
1908
2335
|
};
|
|
1909
2336
|
return ViewportService;
|
|
1910
2337
|
}());
|
|
1911
|
-
ViewportService
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
2338
|
+
ViewportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ViewportService, deps: [{ token: i0.PLATFORM_ID }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2339
|
+
ViewportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ViewportService });
|
|
2340
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ViewportService, decorators: [{
|
|
2341
|
+
type: i0.Injectable
|
|
2342
|
+
}], ctorParameters: function () {
|
|
2343
|
+
return [{ type: Object, decorators: [{
|
|
2344
|
+
type: i0.Inject,
|
|
2345
|
+
args: [i0.PLATFORM_ID]
|
|
2346
|
+
}] }];
|
|
2347
|
+
} });
|
|
1917
2348
|
|
|
1918
2349
|
/*!
|
|
1919
2350
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -2047,19 +2478,18 @@
|
|
|
2047
2478
|
};
|
|
2048
2479
|
return MapComponent;
|
|
2049
2480
|
}());
|
|
2050
|
-
MapComponent
|
|
2051
|
-
{ type:
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
};
|
|
2481
|
+
MapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MapComponent, deps: [{ token: ViewportService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2482
|
+
MapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MapComponent, selector: "kms-map", inputs: { data: "data" }, ngImport: i0__namespace, template: "<div *ngIf=\"geoDataFoundForAddress && widthSet\">\n <google-map\n height=\"415px\"\n [width]=\"width\"\n [zoom]=\"zoom\"\n [center]=\"center\"\n [options]=\"options\"\n >\n <map-marker\n *ngFor=\"let marker of markers\"\n [position]=\"marker.position\"\n [label]=\"marker.label\"\n [title]=\"marker.title\"\n [options]=\"marker.options\"\n >\n </map-marker>\n </google-map>\n</div>", styles: [""], components: [{ type: i2__namespace$5.GoogleMap, selector: "google-map", inputs: ["height", "width", "center", "zoom", "options", "mapTypeId"], outputs: ["authFailure", "boundsChanged", "centerChanged", "mapClick", "mapDblclick", "mapDrag", "mapDragend", "mapDragstart", "headingChanged", "idle", "maptypeidChanged", "mapMousemove", "mapMouseout", "mapMouseover", "projectionChanged", "mapRightclick", "tilesloaded", "tiltChanged", "zoomChanged"], exportAs: ["googleMap"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$5.MapMarker, selector: "map-marker", inputs: ["title", "position", "label", "clickable", "options", "icon", "visible"], outputs: ["animationChanged", "mapClick", "clickableChanged", "cursorChanged", "mapDblclick", "mapDrag", "mapDragend", "draggableChanged", "mapDragstart", "flatChanged", "iconChanged", "mapMousedown", "mapMouseout", "mapMouseover", "mapMouseup", "positionChanged", "mapRightclick", "shapeChanged", "titleChanged", "visibleChanged", "zindexChanged"], exportAs: ["mapMarker"] }] });
|
|
2483
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MapComponent, decorators: [{
|
|
2484
|
+
type: i0.Component,
|
|
2485
|
+
args: [{
|
|
2486
|
+
selector: 'kms-map',
|
|
2487
|
+
templateUrl: './map.component.html',
|
|
2488
|
+
styleUrls: ['./map.component.scss']
|
|
2489
|
+
}]
|
|
2490
|
+
}], ctorParameters: function () { return [{ type: ViewportService }]; }, propDecorators: { data: [{
|
|
2491
|
+
type: i0.Input
|
|
2492
|
+
}] } });
|
|
2063
2493
|
|
|
2064
2494
|
// TODO change values after cleaned up database
|
|
2065
2495
|
exports.SalutationEnum = void 0;
|
|
@@ -2097,26 +2527,30 @@
|
|
|
2097
2527
|
};
|
|
2098
2528
|
return SalutationDropdownComponent;
|
|
2099
2529
|
}(FormControlParentComponent));
|
|
2100
|
-
SalutationDropdownComponent
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2530
|
+
SalutationDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalutationDropdownComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2531
|
+
SalutationDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SalutationDropdownComponent, selector: "kms-salutation-dropdown", inputs: { placeholder: "placeholder" }, providers: [
|
|
2532
|
+
{
|
|
2533
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2534
|
+
useExisting: i0.forwardRef(function () { return SalutationDropdownComponent; }),
|
|
2535
|
+
multi: true,
|
|
2536
|
+
},
|
|
2537
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<form [formGroup]=\"form\" class=\"row\">\n <mat-form-field class=\"col\">\n <mat-select disableOptionCentering [formControl]=\"form.controls['salut']\" [placeholder]=\"placeholder\" [value]=\"value\" #child>\n <mat-option [value]=\"SalutationEnum.NOT_SPECIFIED\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.MALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.FEMALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}</mat-option>\n </mat-select>\n </mat-form-field>\n</form>", components: [{ type: i2__namespace$1.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i3__namespace.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i4__namespace.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i5__namespace$1.TranslatePipe } });
|
|
2538
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalutationDropdownComponent, decorators: [{
|
|
2539
|
+
type: i0.Component,
|
|
2540
|
+
args: [{
|
|
2541
|
+
selector: 'kms-salutation-dropdown',
|
|
2542
|
+
templateUrl: './salutation-dropdown.component.html',
|
|
2543
|
+
providers: [
|
|
2544
|
+
{
|
|
2545
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2546
|
+
useExisting: i0.forwardRef(function () { return SalutationDropdownComponent; }),
|
|
2547
|
+
multi: true,
|
|
2548
|
+
},
|
|
2549
|
+
],
|
|
2550
|
+
}]
|
|
2551
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { placeholder: [{
|
|
2552
|
+
type: i0.Input
|
|
2553
|
+
}] } });
|
|
2120
2554
|
|
|
2121
2555
|
var TooltipComponent = /** @class */ (function () {
|
|
2122
2556
|
function TooltipComponent() {
|
|
@@ -2124,53 +2558,18 @@
|
|
|
2124
2558
|
}
|
|
2125
2559
|
return TooltipComponent;
|
|
2126
2560
|
}());
|
|
2127
|
-
TooltipComponent
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
* Attached File DTO
|
|
2140
|
-
*/
|
|
2141
|
-
var AttachedFileDTO = /** @class */ (function () {
|
|
2142
|
-
function AttachedFileDTO() {
|
|
2143
|
-
}
|
|
2144
|
-
return AttachedFileDTO;
|
|
2145
|
-
}());
|
|
2146
|
-
|
|
2147
|
-
var TooltipIconComponent = /** @class */ (function () {
|
|
2148
|
-
function TooltipIconComponent() {
|
|
2149
|
-
this.tooltipTitle = "";
|
|
2150
|
-
this.tooltipText = "";
|
|
2151
|
-
this.tooltipLinkText = "";
|
|
2152
|
-
this.tooltipLinkUrl = "";
|
|
2153
|
-
this.placement = "";
|
|
2154
|
-
this.delay = 1000;
|
|
2155
|
-
this.IconSize = exports.IconSize;
|
|
2156
|
-
}
|
|
2157
|
-
return TooltipIconComponent;
|
|
2158
|
-
}());
|
|
2159
|
-
TooltipIconComponent.decorators = [
|
|
2160
|
-
{ type: i0.Component, args: [{
|
|
2161
|
-
selector: 'kms-tooltip-icon',
|
|
2162
|
-
template: "<span\r\n kmsTooltip\r\n [tooltipTitle]=\"tooltipTitle\"\r\n [tooltipText]=\"tooltipText\"\r\n [tooltipPlacement]=\"placement\"\r\n [tooltipDelay]=\"delay\"\r\n [tooltipLinkText]=\"tooltipLinkText\"\r\n [tooltipLinkUrl]=\"tooltipLinkUrl\"\r\n>\r\n <kms-icon icon=\"ic_info\" [iconSize]=\"IconSize.SMALLER\" [iconClass]=\"'color-primary'\"></kms-icon>\r\n</span>\r\n",
|
|
2163
|
-
styles: [""]
|
|
2164
|
-
},] }
|
|
2165
|
-
];
|
|
2166
|
-
TooltipIconComponent.propDecorators = {
|
|
2167
|
-
tooltipTitle: [{ type: i0.Input }],
|
|
2168
|
-
tooltipText: [{ type: i0.Input }],
|
|
2169
|
-
tooltipLinkText: [{ type: i0.Input }],
|
|
2170
|
-
tooltipLinkUrl: [{ type: i0.Input }],
|
|
2171
|
-
placement: [{ type: i0.Input }],
|
|
2172
|
-
delay: [{ type: i0.Input }]
|
|
2173
|
-
};
|
|
2561
|
+
TooltipComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2562
|
+
TooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TooltipComponent, selector: "kms-tooltip-element", inputs: { tooltipTitle: "tooltipTitle" }, ngImport: i0__namespace, template: "<ng-content></ng-content>", styles: ["[kmsTooltip]{position:relative}\n"] });
|
|
2563
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TooltipComponent, decorators: [{
|
|
2564
|
+
type: i0.Component,
|
|
2565
|
+
args: [{
|
|
2566
|
+
selector: 'kms-tooltip-element',
|
|
2567
|
+
templateUrl: './tooltip.component.html',
|
|
2568
|
+
styleUrls: ['./tooltip.component.scss']
|
|
2569
|
+
}]
|
|
2570
|
+
}], propDecorators: { tooltipTitle: [{
|
|
2571
|
+
type: i0.Input
|
|
2572
|
+
}] } });
|
|
2174
2573
|
|
|
2175
2574
|
var SalutationRadiogroupComponent = /** @class */ (function (_super) {
|
|
2176
2575
|
__extends(SalutationRadiogroupComponent, _super);
|
|
@@ -2197,23 +2596,28 @@
|
|
|
2197
2596
|
};
|
|
2198
2597
|
return SalutationRadiogroupComponent;
|
|
2199
2598
|
}(FormControlParentComponent));
|
|
2200
|
-
SalutationRadiogroupComponent
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2599
|
+
SalutationRadiogroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalutationRadiogroupComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2600
|
+
SalutationRadiogroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SalutationRadiogroupComponent, selector: "kms-salutation-radiogroup", providers: [
|
|
2601
|
+
{
|
|
2602
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2603
|
+
useExisting: i0.forwardRef(function () { return SalutationRadiogroupComponent; }),
|
|
2604
|
+
multi: true,
|
|
2605
|
+
},
|
|
2606
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<form [formGroup]=\"form\" >\n <mat-radio-group [formControl]=\"form.controls['salut']\" [disabled]=\"disabled\" #radioGroup>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.NOT_SPECIFIED\" [checked]=\"value === SalutationEnum.NOT_SPECIFIED\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}\n </mat-radio-button>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.MALE\" [checked]=\"value === SalutationEnum.MALE\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}\n </mat-radio-button>\n <mat-radio-button color=\"primary\" [value]=\"SalutationEnum.FEMALE\" [checked]=\"value === SalutationEnum.FEMALE\">\n {{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}\n </mat-radio-button>\n </mat-radio-group>\n</form>", components: [{ type: i2__namespace$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i1__namespace$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$1.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i5__namespace$1.TranslatePipe } });
|
|
2607
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalutationRadiogroupComponent, decorators: [{
|
|
2608
|
+
type: i0.Component,
|
|
2609
|
+
args: [{
|
|
2610
|
+
selector: 'kms-salutation-radiogroup',
|
|
2611
|
+
templateUrl: './salutation-radiogroup.component.html',
|
|
2612
|
+
providers: [
|
|
2613
|
+
{
|
|
2614
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2615
|
+
useExisting: i0.forwardRef(function () { return SalutationRadiogroupComponent; }),
|
|
2616
|
+
multi: true,
|
|
2617
|
+
},
|
|
2618
|
+
],
|
|
2619
|
+
}]
|
|
2620
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; } });
|
|
2217
2621
|
|
|
2218
2622
|
/**
|
|
2219
2623
|
* @copyright KMS GmbH
|
|
@@ -2223,7 +2627,7 @@
|
|
|
2223
2627
|
this.platformId = platformId;
|
|
2224
2628
|
}
|
|
2225
2629
|
BackToTopComponent.prototype.onWindowScroll = function () {
|
|
2226
|
-
if (
|
|
2630
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
2227
2631
|
if (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop > 100) {
|
|
2228
2632
|
this.windowScrolled = true;
|
|
2229
2633
|
}
|
|
@@ -2235,7 +2639,7 @@
|
|
|
2235
2639
|
}
|
|
2236
2640
|
};
|
|
2237
2641
|
BackToTopComponent.prototype.scrollToTop = function () {
|
|
2238
|
-
if (
|
|
2642
|
+
if (i2.isPlatformBrowser(this.platformId)) {
|
|
2239
2643
|
(function smoothscroll() {
|
|
2240
2644
|
var currentScroll = document.documentElement.scrollTop || document.body.scrollTop;
|
|
2241
2645
|
if (currentScroll > 0) {
|
|
@@ -2247,18 +2651,23 @@
|
|
|
2247
2651
|
};
|
|
2248
2652
|
return BackToTopComponent;
|
|
2249
2653
|
}());
|
|
2250
|
-
BackToTopComponent
|
|
2251
|
-
{ type:
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2654
|
+
BackToTopComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackToTopComponent, deps: [{ token: i0.PLATFORM_ID }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2655
|
+
BackToTopComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BackToTopComponent, selector: "kms-back-to-top", host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<div class=\"scrollToTop\"\n [ngClass]=\"{'show': windowScrolled}\"\n (click)=\"scrollToTop()\">\n <div class=\"scrollToTop-inner\">\n <kms-icon icon=\"floating_button_clear\" iconClass=\"color-white\"></kms-icon>\n </div>\n</div>", components: [{ type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2656
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackToTopComponent, decorators: [{
|
|
2657
|
+
type: i0.Component,
|
|
2658
|
+
args: [{
|
|
2659
|
+
selector: 'kms-back-to-top',
|
|
2660
|
+
templateUrl: './back-to-top.component.html',
|
|
2661
|
+
}]
|
|
2662
|
+
}], ctorParameters: function () {
|
|
2663
|
+
return [{ type: Object, decorators: [{
|
|
2664
|
+
type: i0.Inject,
|
|
2665
|
+
args: [i0.PLATFORM_ID]
|
|
2666
|
+
}] }];
|
|
2667
|
+
}, propDecorators: { onWindowScroll: [{
|
|
2668
|
+
type: i0.HostListener,
|
|
2669
|
+
args: ['window:scroll', []]
|
|
2670
|
+
}] } });
|
|
2262
2671
|
|
|
2263
2672
|
var ButtonResponseType;
|
|
2264
2673
|
(function (ButtonResponseType) {
|
|
@@ -2305,18 +2714,21 @@
|
|
|
2305
2714
|
};
|
|
2306
2715
|
return GenericDialogComponent;
|
|
2307
2716
|
}());
|
|
2308
|
-
GenericDialogComponent
|
|
2309
|
-
{ type:
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2717
|
+
GenericDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: GenericDialogComponent, deps: [{ token: i1__namespace$4.MatDialogRef }, { token: i0__namespace.NgZone }, { token: i1$4.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2718
|
+
GenericDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GenericDialogComponent, selector: "kms-generic-dialog", ngImport: i0__namespace, template: "<div mat-dialog-title class=\"mat-dialog-title\">\n <h3>{{ data.title }}</h3>\n</div>\n<div mat-dialog-content class=\"mat-dialog-content\">\n {{ data.message }}\n</div>\n<div mat-dialog-actions class=\"custom-dialog-actions\">\n <button\n mat-flat-button\n class=\"test_secondary_button\"\n color=\"accent\"\n (click)=\"onClickAction(ButtonResponseType.secondary)\"\n >\n {{ buttons.secondary }}\n </button>\n <button\n mat-flat-button\n class=\"test_primary_button\"\n color=\"primary\"\n (click)=\"onClickAction(ButtonResponseType.primary)\"\n >\n {{ buttons.primary }}\n </button>\n</div>\n", styles: [""], components: [{ type: i2__namespace$3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1__namespace$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1__namespace$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }] });
|
|
2719
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: GenericDialogComponent, decorators: [{
|
|
2720
|
+
type: i0.Component,
|
|
2721
|
+
args: [{
|
|
2722
|
+
selector: 'kms-generic-dialog',
|
|
2723
|
+
templateUrl: './generic-dialog.component.html',
|
|
2724
|
+
styleUrls: ['./generic-dialog.component.scss'],
|
|
2725
|
+
}]
|
|
2726
|
+
}], ctorParameters: function () {
|
|
2727
|
+
return [{ type: i1__namespace$4.MatDialogRef }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
|
|
2728
|
+
type: i0.Inject,
|
|
2729
|
+
args: [i1$4.MAT_DIALOG_DATA]
|
|
2730
|
+
}] }];
|
|
2731
|
+
} });
|
|
2320
2732
|
|
|
2321
2733
|
var ButtonWithConfirmDialogComponent = /** @class */ (function () {
|
|
2322
2734
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -2352,24 +2764,28 @@
|
|
|
2352
2764
|
};
|
|
2353
2765
|
return ButtonWithConfirmDialogComponent;
|
|
2354
2766
|
}());
|
|
2355
|
-
ButtonWithConfirmDialogComponent
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2767
|
+
ButtonWithConfirmDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ButtonWithConfirmDialogComponent, deps: [{ token: i1__namespace$4.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2768
|
+
ButtonWithConfirmDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ButtonWithConfirmDialogComponent, selector: "kms-button-with-confirm-dialog", inputs: { disabled: "disabled", buttonText: "buttonText", confirmTitle: "confirmTitle", confirmTextYes: "confirmTextYes", confirmTextNo: "confirmTextNo" }, outputs: { onConfirmClosed: "onConfirmClosed" }, ngImport: i0__namespace, template: "<button\n type=\"button\"\n (click)=\"start()\"\n mat-stroked-button\n [disabled]=\"disabled\"\n>\n {{ buttonText }}\n</button>\n", styles: [""], components: [{ type: i2__namespace$3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
|
|
2769
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ButtonWithConfirmDialogComponent, decorators: [{
|
|
2770
|
+
type: i0.Component,
|
|
2771
|
+
args: [{
|
|
2772
|
+
selector: 'kms-button-with-confirm-dialog',
|
|
2773
|
+
templateUrl: './button-with-confirm-dialog.component.html',
|
|
2774
|
+
styleUrls: ['./button-with-confirm-dialog.component.scss'],
|
|
2775
|
+
}]
|
|
2776
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$4.MatDialog }]; }, propDecorators: { disabled: [{
|
|
2777
|
+
type: i0.Input
|
|
2778
|
+
}], buttonText: [{
|
|
2779
|
+
type: i0.Input
|
|
2780
|
+
}], confirmTitle: [{
|
|
2781
|
+
type: i0.Input
|
|
2782
|
+
}], confirmTextYes: [{
|
|
2783
|
+
type: i0.Input
|
|
2784
|
+
}], confirmTextNo: [{
|
|
2785
|
+
type: i0.Input
|
|
2786
|
+
}], onConfirmClosed: [{
|
|
2787
|
+
type: i0.Output
|
|
2788
|
+
}] } });
|
|
2373
2789
|
|
|
2374
2790
|
/**
|
|
2375
2791
|
* Dropdown from data component {@link https://leaseplan-dev.rentoffice.de/styleguide#ui-elements}
|
|
@@ -2485,95 +2901,295 @@
|
|
|
2485
2901
|
};
|
|
2486
2902
|
return DropdownFromDataComponent;
|
|
2487
2903
|
}(FormControlParentComponent));
|
|
2488
|
-
DropdownFromDataComponent
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2904
|
+
DropdownFromDataComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DropdownFromDataComponent, deps: [{ token: i1__namespace$1.FormBuilder }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2905
|
+
DropdownFromDataComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropdownFromDataComponent, selector: "kms-dropdown-from-data", inputs: { optionsEnum: "optionsEnum", optionsPlainArray: "optionsPlainArray", optionsObjArray: "optionsObjArray", mapKey: "mapKey", mapValue: "mapValue", hasNullOption: "hasNullOption", translation: "translation", placeholder: "placeholder", label: "label", required: "required", useEnumIndexAsValue: "useEnumIndexAsValue" }, providers: [
|
|
2906
|
+
{
|
|
2907
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2908
|
+
useExisting: i0.forwardRef(function () { return DropdownFromDataComponent; }),
|
|
2909
|
+
multi: true,
|
|
2910
|
+
},
|
|
2911
|
+
], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<form [formGroup]=\"form\">\n <mat-form-field [attr.required]=\"required\" [floatLabel]=\"placeholder ? 'always' : 'auto'\">\n <mat-label>{{ label }}</mat-label>\n <mat-select\n placeholder=\"{{ placeholder }}\"\n disableOptionCentering\n [(value)]=\"value\"\n (selectionChange)=\"valueChanged($event?.value)\"\n #child\n [disabled]=\"disabled\"\n >\n <mat-option *ngFor=\"let key of keys; let i = index\" [value]=\"values[i]\">\n <span>{{ setDisplayKey(key) }}</span>\n </mat-option>\n </mat-select>\n </mat-form-field>\n</form>\n", components: [{ type: i2__namespace$1.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i3__namespace.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i4__namespace.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i1__namespace$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$1.MatLabel, selector: "mat-label" }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
2912
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DropdownFromDataComponent, decorators: [{
|
|
2913
|
+
type: i0.Component,
|
|
2914
|
+
args: [{
|
|
2915
|
+
selector: 'kms-dropdown-from-data',
|
|
2916
|
+
templateUrl: './dropdown-from-data.component.html',
|
|
2917
|
+
providers: [
|
|
2918
|
+
{
|
|
2919
|
+
provide: i1.NG_VALUE_ACCESSOR,
|
|
2920
|
+
useExisting: i0.forwardRef(function () { return DropdownFromDataComponent; }),
|
|
2921
|
+
multi: true,
|
|
2922
|
+
},
|
|
2923
|
+
],
|
|
2924
|
+
}]
|
|
2925
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.FormBuilder }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { optionsEnum: [{
|
|
2926
|
+
type: i0.Input
|
|
2927
|
+
}], optionsPlainArray: [{
|
|
2928
|
+
type: i0.Input
|
|
2929
|
+
}], optionsObjArray: [{
|
|
2930
|
+
type: i0.Input
|
|
2931
|
+
}], mapKey: [{
|
|
2932
|
+
type: i0.Input
|
|
2933
|
+
}], mapValue: [{
|
|
2934
|
+
type: i0.Input
|
|
2935
|
+
}], hasNullOption: [{
|
|
2936
|
+
type: i0.Input
|
|
2937
|
+
}], translation: [{
|
|
2938
|
+
type: i0.Input
|
|
2939
|
+
}], placeholder: [{
|
|
2940
|
+
type: i0.Input
|
|
2941
|
+
}], label: [{
|
|
2942
|
+
type: i0.Input
|
|
2943
|
+
}], required: [{
|
|
2944
|
+
type: i0.Input
|
|
2945
|
+
}], useEnumIndexAsValue: [{
|
|
2946
|
+
type: i0.Input
|
|
2947
|
+
}] } });
|
|
2518
2948
|
|
|
2519
2949
|
/*!
|
|
2520
2950
|
* @copyright FLYACTS GmbH 2019
|
|
2521
2951
|
*/
|
|
2522
|
-
var
|
|
2523
|
-
function
|
|
2524
|
-
this.sanitizer = sanitizer;
|
|
2525
|
-
this.editMode = false;
|
|
2526
|
-
this.orderChanged = new i0.EventEmitter();
|
|
2527
|
-
this.deleteImageEvent = new i0.EventEmitter();
|
|
2952
|
+
var SwipeDirective = /** @class */ (function () {
|
|
2953
|
+
function SwipeDirective() {
|
|
2528
2954
|
/**
|
|
2529
|
-
*
|
|
2530
|
-
*
|
|
2955
|
+
* Output Event that is emitted during swipe process (mouse move or touch move event).
|
|
2956
|
+
* Can be used for calculation purposes.
|
|
2531
2957
|
*/
|
|
2532
|
-
this.
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
this.
|
|
2538
|
-
this.
|
|
2539
|
-
this.
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
navigation: {
|
|
2543
|
-
nextEl: '.swiper-button-next',
|
|
2544
|
-
prevEl: '.swiper-button-prev',
|
|
2545
|
-
},
|
|
2546
|
-
watchOverflow: true,
|
|
2547
|
-
autoHeight: true,
|
|
2548
|
-
allowTouchMove: false,
|
|
2549
|
-
spaceBetween: 30,
|
|
2550
|
-
on: {
|
|
2551
|
-
slideChange: function () {
|
|
2552
|
-
// do something
|
|
2553
|
-
},
|
|
2554
|
-
slideChangeTransitionEnd: function () {
|
|
2555
|
-
// do something
|
|
2556
|
-
},
|
|
2557
|
-
},
|
|
2558
|
-
};
|
|
2958
|
+
this.moveEvent = new i0.EventEmitter();
|
|
2959
|
+
/**
|
|
2960
|
+
* Output Event that is emitted when swipe process end (mouse up or touch end event).
|
|
2961
|
+
* Can be used for calculation purposes.
|
|
2962
|
+
*/
|
|
2963
|
+
this.releaseEvent = new i0.EventEmitter();
|
|
2964
|
+
this._startPosition = -1;
|
|
2965
|
+
this._lastPosX = 0;
|
|
2966
|
+
this._thresholdWasReached = false;
|
|
2967
|
+
this._timeStart = 0;
|
|
2559
2968
|
}
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2969
|
+
Object.defineProperty(SwipeDirective.prototype, "config", {
|
|
2970
|
+
/**
|
|
2971
|
+
* Needed config that defines swipe behaviour.
|
|
2972
|
+
* @param options SwipeOptions
|
|
2973
|
+
*/
|
|
2974
|
+
set: function (options) {
|
|
2975
|
+
if (options) {
|
|
2976
|
+
this._swipeOptions = options;
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
enumerable: false,
|
|
2980
|
+
configurable: true
|
|
2981
|
+
});
|
|
2982
|
+
SwipeDirective.prototype.onMouseDown = function (event) {
|
|
2983
|
+
this.calculateStartPosition(event);
|
|
2565
2984
|
};
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
this.previousSlide();
|
|
2573
|
-
}
|
|
2985
|
+
SwipeDirective.prototype.onMove = function (event) {
|
|
2986
|
+
this.move(event);
|
|
2987
|
+
};
|
|
2988
|
+
SwipeDirective.prototype.onRelease = function (event) {
|
|
2989
|
+
this.release(event);
|
|
2990
|
+
this.reset();
|
|
2574
2991
|
};
|
|
2992
|
+
// ** PRIVATE ** //
|
|
2575
2993
|
/**
|
|
2576
|
-
*
|
|
2994
|
+
* Function checks if the current moving delta is inside the defined threshold.
|
|
2995
|
+
* Sets the flag to true if the threshold was reached once.
|
|
2996
|
+
*/
|
|
2997
|
+
SwipeDirective.prototype.checkThreshold = function (moveEvent) {
|
|
2998
|
+
var percentage = this._swipeOptions && this._swipeOptions.swipeThresholdType === '%';
|
|
2999
|
+
if (!percentage && this._swipeOptions && moveEvent.swipeDistanceTotal < this._swipeOptions.swipeThreshold) {
|
|
3000
|
+
return;
|
|
3001
|
+
}
|
|
3002
|
+
else if (percentage &&
|
|
3003
|
+
this._swipeOptions &&
|
|
3004
|
+
moveEvent.swipeDistancePercentage < this._swipeOptions.swipeThreshold / 100) {
|
|
3005
|
+
return;
|
|
3006
|
+
}
|
|
3007
|
+
else {
|
|
3008
|
+
this._thresholdWasReached = true;
|
|
3009
|
+
}
|
|
3010
|
+
};
|
|
3011
|
+
SwipeDirective.prototype.calculateStartPosition = function (event) {
|
|
3012
|
+
// detect if touch or click
|
|
3013
|
+
this._isMobile = event.type === 'touchstart';
|
|
3014
|
+
// save start position
|
|
3015
|
+
if (this._swipeOptions && this._swipeOptions.swipeLocalPosition) {
|
|
3016
|
+
if (this._isMobile) {
|
|
3017
|
+
var touch = event.touches[0];
|
|
3018
|
+
this._startPosition = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
|
|
3019
|
+
}
|
|
3020
|
+
else {
|
|
3021
|
+
this._startPosition = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
this._lastPosX = this._startPosition;
|
|
3025
|
+
this._timeStart = event.timeStamp;
|
|
3026
|
+
this._thresholdWasReached = false;
|
|
3027
|
+
};
|
|
3028
|
+
SwipeDirective.prototype.move = function (event) {
|
|
3029
|
+
// failsafe
|
|
3030
|
+
if (typeof event === 'undefined') {
|
|
3031
|
+
return;
|
|
3032
|
+
}
|
|
3033
|
+
var posX = 0;
|
|
3034
|
+
if (this._swipeOptions) {
|
|
3035
|
+
if (this._isMobile && event.type === 'touchmove') {
|
|
3036
|
+
var touch = event.touches[0];
|
|
3037
|
+
posX = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
|
|
3038
|
+
}
|
|
3039
|
+
else {
|
|
3040
|
+
posX = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
var offsetPerFrame = posX - this._lastPosX;
|
|
3044
|
+
var swipeDistanceTotal = Math.abs(posX - this._startPosition);
|
|
3045
|
+
var swipeDistancePercentage = Math.abs(swipeDistanceTotal / event.target.clientWidth);
|
|
3046
|
+
var timeDuration = Math.abs(event.timeStamp - this._timeStart);
|
|
3047
|
+
var direction;
|
|
3048
|
+
var speed = 1 - swipeDistanceTotal / timeDuration;
|
|
3049
|
+
speed = Math.max(0.1, speed);
|
|
3050
|
+
if (posX - this._startPosition > 0) {
|
|
3051
|
+
direction = 1; // a.k.a LTR
|
|
3052
|
+
}
|
|
3053
|
+
else {
|
|
3054
|
+
direction = -1; // a.k.a RTL
|
|
3055
|
+
}
|
|
3056
|
+
this._moveEventData = {
|
|
3057
|
+
position: posX,
|
|
3058
|
+
offsetPerFrame: offsetPerFrame,
|
|
3059
|
+
swipeDistanceTotal: swipeDistanceTotal,
|
|
3060
|
+
swipeDistancePercentage: swipeDistancePercentage,
|
|
3061
|
+
direction: direction,
|
|
3062
|
+
speed: speed,
|
|
3063
|
+
thresholdWasReached: this._thresholdWasReached,
|
|
3064
|
+
};
|
|
3065
|
+
this.checkThreshold(this._moveEventData);
|
|
3066
|
+
// update move delta
|
|
3067
|
+
this._lastPosX = posX;
|
|
3068
|
+
// inform
|
|
3069
|
+
this.moveEvent.emit(this._moveEventData);
|
|
3070
|
+
};
|
|
3071
|
+
SwipeDirective.prototype.release = function (event) {
|
|
3072
|
+
// case: just a click/touch
|
|
3073
|
+
if (!this._moveEventData) {
|
|
3074
|
+
return;
|
|
3075
|
+
}
|
|
3076
|
+
var releaseEventData = {
|
|
3077
|
+
thresholdWasReached: this._thresholdWasReached,
|
|
3078
|
+
direction: this._moveEventData.direction,
|
|
3079
|
+
speed: this._moveEventData.speed,
|
|
3080
|
+
easingType: this.getEasingCurve(this._moveEventData.speed),
|
|
3081
|
+
target: event.currentTarget,
|
|
3082
|
+
};
|
|
3083
|
+
// inform
|
|
3084
|
+
this.releaseEvent.emit(releaseEventData);
|
|
3085
|
+
};
|
|
3086
|
+
SwipeDirective.prototype.getEasingCurve = function (speed) {
|
|
3087
|
+
return speed > 0.5 ? 'ease-in' : 'ease-out';
|
|
3088
|
+
};
|
|
3089
|
+
SwipeDirective.prototype.reset = function () {
|
|
3090
|
+
this._startPosition = -1;
|
|
3091
|
+
this._thresholdWasReached = false;
|
|
3092
|
+
if (this._moveEventData) {
|
|
3093
|
+
this._moveEventData = undefined;
|
|
3094
|
+
}
|
|
3095
|
+
};
|
|
3096
|
+
return SwipeDirective;
|
|
3097
|
+
}());
|
|
3098
|
+
SwipeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SwipeDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
3099
|
+
SwipeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SwipeDirective, selector: "[swipeDirective]", inputs: { config: ["swipeDirective", "config"] }, outputs: { moveEvent: "moveEvent", releaseEvent: "releaseEvent" }, host: { listeners: { "mousedown": "onMouseDown($event)", "touchstart": "onMouseDown($event)", "mousemove": "onMove($event)", "touchmove": "onMove($event)", "mouseup": "onRelease($event)", "mouseleave": "onRelease($event)", "touchend": "onRelease($event)" } }, ngImport: i0__namespace });
|
|
3100
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SwipeDirective, decorators: [{
|
|
3101
|
+
type: i0.Directive,
|
|
3102
|
+
args: [{
|
|
3103
|
+
selector: '[swipeDirective]',
|
|
3104
|
+
}]
|
|
3105
|
+
}], propDecorators: { moveEvent: [{
|
|
3106
|
+
type: i0.Output
|
|
3107
|
+
}], releaseEvent: [{
|
|
3108
|
+
type: i0.Output
|
|
3109
|
+
}], config: [{
|
|
3110
|
+
type: i0.Input,
|
|
3111
|
+
args: ['swipeDirective']
|
|
3112
|
+
}], onMouseDown: [{
|
|
3113
|
+
type: i0.HostListener,
|
|
3114
|
+
args: ['mousedown', ['$event']]
|
|
3115
|
+
}, {
|
|
3116
|
+
type: i0.HostListener,
|
|
3117
|
+
args: ['touchstart', ['$event']]
|
|
3118
|
+
}], onMove: [{
|
|
3119
|
+
type: i0.HostListener,
|
|
3120
|
+
args: ['mousemove', ['$event']]
|
|
3121
|
+
}, {
|
|
3122
|
+
type: i0.HostListener,
|
|
3123
|
+
args: ['touchmove', ['$event']]
|
|
3124
|
+
}], onRelease: [{
|
|
3125
|
+
type: i0.HostListener,
|
|
3126
|
+
args: ['mouseup', ['$event']]
|
|
3127
|
+
}, {
|
|
3128
|
+
type: i0.HostListener,
|
|
3129
|
+
args: ['mouseleave', ['$event']]
|
|
3130
|
+
}, {
|
|
3131
|
+
type: i0.HostListener,
|
|
3132
|
+
args: ['touchend', ['$event']]
|
|
3133
|
+
}] } });
|
|
3134
|
+
|
|
3135
|
+
/*!
|
|
3136
|
+
* @copyright FLYACTS GmbH 2019
|
|
3137
|
+
*/
|
|
3138
|
+
var ImageSliderComponent = /** @class */ (function () {
|
|
3139
|
+
function ImageSliderComponent(sanitizer) {
|
|
3140
|
+
this.sanitizer = sanitizer;
|
|
3141
|
+
this.editMode = false;
|
|
3142
|
+
this.orderChanged = new i0.EventEmitter();
|
|
3143
|
+
this.deleteImageEvent = new i0.EventEmitter();
|
|
3144
|
+
/**
|
|
3145
|
+
* Optional: Define Swipe behaviour configuration.
|
|
3146
|
+
* Default is 10% for the threshold definition until a swipe triggers next/previous slide.
|
|
3147
|
+
*/
|
|
3148
|
+
this.swipeConfig = {
|
|
3149
|
+
swipeThreshold: 5,
|
|
3150
|
+
swipeThresholdType: '%',
|
|
3151
|
+
swipeLocalPosition: true,
|
|
3152
|
+
};
|
|
3153
|
+
this.selectedSlide = 0;
|
|
3154
|
+
this.isLastClickedInSliderImage = false;
|
|
3155
|
+
this.config = {
|
|
3156
|
+
initialSlide: 0,
|
|
3157
|
+
slidesPerView: 3,
|
|
3158
|
+
navigation: {
|
|
3159
|
+
nextEl: '.swiper-button-next',
|
|
3160
|
+
prevEl: '.swiper-button-prev',
|
|
3161
|
+
},
|
|
3162
|
+
watchOverflow: true,
|
|
3163
|
+
autoHeight: true,
|
|
3164
|
+
allowTouchMove: false,
|
|
3165
|
+
spaceBetween: 30,
|
|
3166
|
+
on: {
|
|
3167
|
+
slideChange: function () {
|
|
3168
|
+
// do something
|
|
3169
|
+
},
|
|
3170
|
+
slideChangeTransitionEnd: function () {
|
|
3171
|
+
// do something
|
|
3172
|
+
},
|
|
3173
|
+
},
|
|
3174
|
+
};
|
|
3175
|
+
}
|
|
3176
|
+
ImageSliderComponent.prototype.ngOnInit = function () {
|
|
3177
|
+
if (this.slides) {
|
|
3178
|
+
// TODO use Pipe safeStyle
|
|
3179
|
+
this.selectedSlideImage = this.sanitizer.bypassSecurityTrustStyle('url(' + this.slides[0] + ')');
|
|
3180
|
+
}
|
|
3181
|
+
};
|
|
3182
|
+
// !TODO
|
|
3183
|
+
ImageSliderComponent.prototype.onKeydownHandler = function (event) {
|
|
3184
|
+
if (event.key === 'ArrowRight') {
|
|
3185
|
+
this.nextSlide();
|
|
3186
|
+
}
|
|
3187
|
+
if (event.key === 'ArrowLeft') {
|
|
3188
|
+
this.previousSlide();
|
|
3189
|
+
}
|
|
3190
|
+
};
|
|
3191
|
+
/**
|
|
3192
|
+
* Slide follows the finger or mouse according to it´s move delta.
|
|
2577
3193
|
* @param event SwipeMoveEvent
|
|
2578
3194
|
*/
|
|
2579
3195
|
ImageSliderComponent.prototype.handleMoveEvent = function (event) {
|
|
@@ -2657,8 +3273,8 @@
|
|
|
2657
3273
|
*/
|
|
2658
3274
|
ImageSliderComponent.prototype.drop = function (event) {
|
|
2659
3275
|
if (this.slides && this.imagesTOSave) {
|
|
2660
|
-
|
|
2661
|
-
|
|
3276
|
+
i6.moveItemInArray(this.slides, event.previousIndex, event.currentIndex);
|
|
3277
|
+
i6.moveItemInArray(this.imagesTOSave, event.previousIndex, event.currentIndex);
|
|
2662
3278
|
this.orderChanged.emit(this.imagesTOSave);
|
|
2663
3279
|
}
|
|
2664
3280
|
};
|
|
@@ -2670,26 +3286,34 @@
|
|
|
2670
3286
|
};
|
|
2671
3287
|
return ImageSliderComponent;
|
|
2672
3288
|
}());
|
|
2673
|
-
ImageSliderComponent
|
|
2674
|
-
{ type:
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
3289
|
+
ImageSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ImageSliderComponent, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3290
|
+
ImageSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ImageSliderComponent, selector: "kms-image-slider", inputs: { slides: "slides", editMode: "editMode", imagesTOSave: "imagesTOSave", swipeConfig: "swipeConfig" }, outputs: { orderChanged: "orderChanged", deleteImageEvent: "deleteImageEvent" }, host: { listeners: { "document:keydown": "onKeydownHandler($event)" } }, viewQueries: [{ propertyName: "usefulSwiper", first: true, predicate: ["usefulSwiper"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"all-wrapper\">\r\n <!--(swiperight)=\"previousSlide()\" (swipeleft)=\"nextSlide()\"-->\r\n <div \r\n class=\"swiper-bigImage\"\r\n [style.backgroundImage]=\"selectedSlideImage\"\r\n [swipeDirective]=\"swipeConfig\"\r\n (moveEvent)=\"handleMoveEvent($event)\"\r\n (releaseEvent)=\"handleReleaseEvent($event)\"\r\n (mouseup)=\"lastClicked()\"\r\n (mouseout)=\"noLastClicked()\" >\r\n </div>\r\n\r\n <ng-content select=\"[description]\"></ng-content>\r\n\r\n <div class=\"swiper-holder\">\r\n <!--\r\n (mouseWheelUp)=\"scrollLeft($event)\"\r\n (mouseWheelDown)=\"scrollRight($event)\"\r\n -->\r\n\r\n <swiper [config]=\"config\" #usefulSwiper>\r\n <div class=\"swiper-wrapper\" \r\n cdkDropList (cdkDropListDropped)=\"drop($event)\" \r\n cdkDropListOrientation=\"horizontal\"> \r\n <div class=\"swiper-slide\" \r\n *ngFor=\"let slide of slides; let index = index\" \r\n cdkDrag [cdkDragDisabled]=\"!editMode\">\r\n <button mat-menu-item *ngIf=\"editMode\" (click)=\"deleteImage(index)\"> \r\n <kms-icon icon=\"trash\"></kms-icon>\r\n </button>\r\n <div class=\"img\" (click)=\"openSlide(index)\"\r\n [style.backgroundImage]=\"sanitizer.bypassSecurityTrustStyle('url(' + slide + ')')\"\r\n [ngClass]=\"{'active': index === selectedSlide}\">\r\n </div>\r\n \r\n <div class=\"default-image\">{{\"common.defaultImage\" | translate}} </div>\r\n </div>\r\n </div>\r\n </swiper>\r\n\r\n <div class=\"swiper-button-next\" *ngIf=\"slides?.length > 3\"></div>\r\n <div class=\"swiper-button-prev\" *ngIf=\"slides?.length > 3\"></div>\r\n\r\n <div class=\"swiper-button-next2\" *ngIf=\"slides?.length > 1\" (click)=\"nextSlide()\">\r\n <kms-icon icon=\"chevron-right\" [iconClass]=\"{'color-disabled': selectedSlide == slides?.length - 1, 'color-primary': true}\"></kms-icon>\r\n </div>\r\n <div class=\"swiper-button-prev2\" *ngIf=\"slides?.length > 1\" (click)=\"previousSlide()\">\r\n <kms-icon icon=\"chevron-left\" [iconClass]=\"{'color-disabled': selectedSlide == 0, 'color-primary': true}\"></kms-icon>\r\n </div>\r\n\r\n </div>\r\n\r\n <ng-content></ng-content>\r\n</div>", styles: [""], components: [{ type: i2__namespace$6.SwiperComponent, selector: "swiper", inputs: ["initialize", "config"] }, { type: i3__namespace$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "dontUseSprite"] }], directives: [{ type: SwipeDirective, selector: "[swipeDirective]", inputs: ["swipeDirective"], outputs: ["moveEvent", "releaseEvent"] }, { type: i6__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "translate": i5__namespace$1.TranslatePipe } });
|
|
3291
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ImageSliderComponent, decorators: [{
|
|
3292
|
+
type: i0.Component,
|
|
3293
|
+
args: [{
|
|
3294
|
+
selector: 'kms-image-slider',
|
|
3295
|
+
templateUrl: './image-slider.component.html',
|
|
3296
|
+
styleUrls: ['./image-slider.component.scss'],
|
|
3297
|
+
}]
|
|
3298
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; }, propDecorators: { slides: [{
|
|
3299
|
+
type: i0.Input
|
|
3300
|
+
}], editMode: [{
|
|
3301
|
+
type: i0.Input
|
|
3302
|
+
}], imagesTOSave: [{
|
|
3303
|
+
type: i0.Input
|
|
3304
|
+
}], orderChanged: [{
|
|
3305
|
+
type: i0.Output
|
|
3306
|
+
}], deleteImageEvent: [{
|
|
3307
|
+
type: i0.Output
|
|
3308
|
+
}], swipeConfig: [{
|
|
3309
|
+
type: i0.Input
|
|
3310
|
+
}], usefulSwiper: [{
|
|
3311
|
+
type: i0.ViewChild,
|
|
3312
|
+
args: ['usefulSwiper']
|
|
3313
|
+
}], onKeydownHandler: [{
|
|
3314
|
+
type: i0.HostListener,
|
|
3315
|
+
args: ['document:keydown', ['$event']]
|
|
3316
|
+
}] } });
|
|
2693
3317
|
|
|
2694
3318
|
/*!
|
|
2695
3319
|
* @copyright FLYACTS GmbH 2019
|
|
@@ -2726,373 +3350,25 @@
|
|
|
2726
3350
|
};
|
|
2727
3351
|
return MouseWheelDirective;
|
|
2728
3352
|
}());
|
|
2729
|
-
MouseWheelDirective
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
this.el = el;
|
|
2749
|
-
/**
|
|
2750
|
-
* CSS class name of the child items (markup elements) that should be checked for their height.
|
|
2751
|
-
* This is mandatory.
|
|
2752
|
-
*/
|
|
2753
|
-
this.cssClassName = '';
|
|
2754
|
-
/**
|
|
2755
|
-
* Event that will pass the height of the tallest child inside the container.
|
|
2756
|
-
* Useful to calculate the target height of containers with different content (like accordion) for animations.
|
|
2757
|
-
*/
|
|
2758
|
-
this.maxHeightChanged = new i0.EventEmitter();
|
|
2759
|
-
/**
|
|
2760
|
-
* Event that will pass the complete sum of all height values from each child.
|
|
2761
|
-
* Useful to calculate the full target height of a container (like dropdown) for animations.
|
|
2762
|
-
*/
|
|
2763
|
-
this.sumOfHeight = new i0.EventEmitter();
|
|
2764
|
-
}
|
|
2765
|
-
GetMaxHeightDirective.prototype.ngAfterContentChecked = function () {
|
|
2766
|
-
this.checkHeightOfChildren(this.el.nativeElement, this.cssClassName);
|
|
2767
|
-
};
|
|
2768
|
-
GetMaxHeightDirective.prototype.checkHeightOfChildren = function (parent, cssClassName) {
|
|
2769
|
-
if (!parent) {
|
|
2770
|
-
return;
|
|
2771
|
-
}
|
|
2772
|
-
// find all the child elements with the selected class name
|
|
2773
|
-
var children = parent.getElementsByClassName(cssClassName);
|
|
2774
|
-
// failsafe
|
|
2775
|
-
if (!children) {
|
|
2776
|
-
return;
|
|
2777
|
-
}
|
|
2778
|
-
// get all the child elements heights
|
|
2779
|
-
var itemHeights = Array.from(children).map(function (x) { return x.getBoundingClientRect().height; });
|
|
2780
|
-
// failsafe
|
|
2781
|
-
if (itemHeights.length === 0) {
|
|
2782
|
-
return;
|
|
2783
|
-
}
|
|
2784
|
-
// find out the tallest element
|
|
2785
|
-
var maxHeight = itemHeights.reduce(function (prev, curr) {
|
|
2786
|
-
return curr > prev ? curr : prev;
|
|
2787
|
-
}, 0);
|
|
2788
|
-
// get sum of heights
|
|
2789
|
-
var sumOfHeight = itemHeights.reduce(function (pv, cv) { return pv + cv; }, 0);
|
|
2790
|
-
// inform
|
|
2791
|
-
this.maxHeightChanged.emit(maxHeight);
|
|
2792
|
-
this.sumOfHeight.emit(sumOfHeight);
|
|
2793
|
-
};
|
|
2794
|
-
return GetMaxHeightDirective;
|
|
2795
|
-
}());
|
|
2796
|
-
GetMaxHeightDirective.decorators = [
|
|
2797
|
-
{ type: i0.Directive, args: [{
|
|
2798
|
-
selector: '[getMaxHeight]',
|
|
2799
|
-
},] }
|
|
2800
|
-
];
|
|
2801
|
-
GetMaxHeightDirective.ctorParameters = function () { return [
|
|
2802
|
-
{ type: i0.ElementRef }
|
|
2803
|
-
]; };
|
|
2804
|
-
GetMaxHeightDirective.propDecorators = {
|
|
2805
|
-
cssClassName: [{ type: i0.Input, args: ['getMaxHeight',] }],
|
|
2806
|
-
maxHeightChanged: [{ type: i0.Output }],
|
|
2807
|
-
sumOfHeight: [{ type: i0.Output }]
|
|
2808
|
-
};
|
|
2809
|
-
|
|
2810
|
-
/*!
|
|
2811
|
-
* @copyright FLYACTS GmbH 2019
|
|
2812
|
-
*/
|
|
2813
|
-
var SwipeDirective = /** @class */ (function () {
|
|
2814
|
-
function SwipeDirective() {
|
|
2815
|
-
/**
|
|
2816
|
-
* Output Event that is emitted during swipe process (mouse move or touch move event).
|
|
2817
|
-
* Can be used for calculation purposes.
|
|
2818
|
-
*/
|
|
2819
|
-
this.moveEvent = new i0.EventEmitter();
|
|
2820
|
-
/**
|
|
2821
|
-
* Output Event that is emitted when swipe process end (mouse up or touch end event).
|
|
2822
|
-
* Can be used for calculation purposes.
|
|
2823
|
-
*/
|
|
2824
|
-
this.releaseEvent = new i0.EventEmitter();
|
|
2825
|
-
this._startPosition = -1;
|
|
2826
|
-
this._lastPosX = 0;
|
|
2827
|
-
this._thresholdWasReached = false;
|
|
2828
|
-
this._timeStart = 0;
|
|
2829
|
-
}
|
|
2830
|
-
Object.defineProperty(SwipeDirective.prototype, "config", {
|
|
2831
|
-
/**
|
|
2832
|
-
* Needed config that defines swipe behaviour.
|
|
2833
|
-
* @param options SwipeOptions
|
|
2834
|
-
*/
|
|
2835
|
-
set: function (options) {
|
|
2836
|
-
if (options) {
|
|
2837
|
-
this._swipeOptions = options;
|
|
2838
|
-
}
|
|
2839
|
-
},
|
|
2840
|
-
enumerable: false,
|
|
2841
|
-
configurable: true
|
|
2842
|
-
});
|
|
2843
|
-
SwipeDirective.prototype.onMouseDown = function (event) {
|
|
2844
|
-
this.calculateStartPosition(event);
|
|
2845
|
-
};
|
|
2846
|
-
SwipeDirective.prototype.onMove = function (event) {
|
|
2847
|
-
this.move(event);
|
|
2848
|
-
};
|
|
2849
|
-
SwipeDirective.prototype.onRelease = function (event) {
|
|
2850
|
-
this.release(event);
|
|
2851
|
-
this.reset();
|
|
2852
|
-
};
|
|
2853
|
-
// ** PRIVATE ** //
|
|
2854
|
-
/**
|
|
2855
|
-
* Function checks if the current moving delta is inside the defined threshold.
|
|
2856
|
-
* Sets the flag to true if the threshold was reached once.
|
|
2857
|
-
*/
|
|
2858
|
-
SwipeDirective.prototype.checkThreshold = function (moveEvent) {
|
|
2859
|
-
var percentage = this._swipeOptions && this._swipeOptions.swipeThresholdType === '%';
|
|
2860
|
-
if (!percentage && this._swipeOptions && moveEvent.swipeDistanceTotal < this._swipeOptions.swipeThreshold) {
|
|
2861
|
-
return;
|
|
2862
|
-
}
|
|
2863
|
-
else if (percentage &&
|
|
2864
|
-
this._swipeOptions &&
|
|
2865
|
-
moveEvent.swipeDistancePercentage < this._swipeOptions.swipeThreshold / 100) {
|
|
2866
|
-
return;
|
|
2867
|
-
}
|
|
2868
|
-
else {
|
|
2869
|
-
this._thresholdWasReached = true;
|
|
2870
|
-
}
|
|
2871
|
-
};
|
|
2872
|
-
SwipeDirective.prototype.calculateStartPosition = function (event) {
|
|
2873
|
-
// detect if touch or click
|
|
2874
|
-
this._isMobile = event.type === 'touchstart';
|
|
2875
|
-
// save start position
|
|
2876
|
-
if (this._swipeOptions && this._swipeOptions.swipeLocalPosition) {
|
|
2877
|
-
if (this._isMobile) {
|
|
2878
|
-
var touch = event.touches[0];
|
|
2879
|
-
this._startPosition = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
|
|
2880
|
-
}
|
|
2881
|
-
else {
|
|
2882
|
-
this._startPosition = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
|
|
2883
|
-
}
|
|
2884
|
-
}
|
|
2885
|
-
this._lastPosX = this._startPosition;
|
|
2886
|
-
this._timeStart = event.timeStamp;
|
|
2887
|
-
this._thresholdWasReached = false;
|
|
2888
|
-
};
|
|
2889
|
-
SwipeDirective.prototype.move = function (event) {
|
|
2890
|
-
// failsafe
|
|
2891
|
-
if (typeof event === 'undefined') {
|
|
2892
|
-
return;
|
|
2893
|
-
}
|
|
2894
|
-
var posX = 0;
|
|
2895
|
-
if (this._swipeOptions) {
|
|
2896
|
-
if (this._isMobile && event.type === 'touchmove') {
|
|
2897
|
-
var touch = event.touches[0];
|
|
2898
|
-
posX = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
|
|
2899
|
-
}
|
|
2900
|
-
else {
|
|
2901
|
-
posX = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
var offsetPerFrame = posX - this._lastPosX;
|
|
2905
|
-
var swipeDistanceTotal = Math.abs(posX - this._startPosition);
|
|
2906
|
-
var swipeDistancePercentage = Math.abs(swipeDistanceTotal / event.target.clientWidth);
|
|
2907
|
-
var timeDuration = Math.abs(event.timeStamp - this._timeStart);
|
|
2908
|
-
var direction;
|
|
2909
|
-
var speed = 1 - swipeDistanceTotal / timeDuration;
|
|
2910
|
-
speed = Math.max(0.1, speed);
|
|
2911
|
-
if (posX - this._startPosition > 0) {
|
|
2912
|
-
direction = 1; // a.k.a LTR
|
|
2913
|
-
}
|
|
2914
|
-
else {
|
|
2915
|
-
direction = -1; // a.k.a RTL
|
|
2916
|
-
}
|
|
2917
|
-
this._moveEventData = {
|
|
2918
|
-
position: posX,
|
|
2919
|
-
offsetPerFrame: offsetPerFrame,
|
|
2920
|
-
swipeDistanceTotal: swipeDistanceTotal,
|
|
2921
|
-
swipeDistancePercentage: swipeDistancePercentage,
|
|
2922
|
-
direction: direction,
|
|
2923
|
-
speed: speed,
|
|
2924
|
-
thresholdWasReached: this._thresholdWasReached,
|
|
2925
|
-
};
|
|
2926
|
-
this.checkThreshold(this._moveEventData);
|
|
2927
|
-
// update move delta
|
|
2928
|
-
this._lastPosX = posX;
|
|
2929
|
-
// inform
|
|
2930
|
-
this.moveEvent.emit(this._moveEventData);
|
|
2931
|
-
};
|
|
2932
|
-
SwipeDirective.prototype.release = function (event) {
|
|
2933
|
-
// case: just a click/touch
|
|
2934
|
-
if (!this._moveEventData) {
|
|
2935
|
-
return;
|
|
2936
|
-
}
|
|
2937
|
-
var releaseEventData = {
|
|
2938
|
-
thresholdWasReached: this._thresholdWasReached,
|
|
2939
|
-
direction: this._moveEventData.direction,
|
|
2940
|
-
speed: this._moveEventData.speed,
|
|
2941
|
-
easingType: this.getEasingCurve(this._moveEventData.speed),
|
|
2942
|
-
target: event.currentTarget,
|
|
2943
|
-
};
|
|
2944
|
-
// inform
|
|
2945
|
-
this.releaseEvent.emit(releaseEventData);
|
|
2946
|
-
};
|
|
2947
|
-
SwipeDirective.prototype.getEasingCurve = function (speed) {
|
|
2948
|
-
return speed > 0.5 ? 'ease-in' : 'ease-out';
|
|
2949
|
-
};
|
|
2950
|
-
SwipeDirective.prototype.reset = function () {
|
|
2951
|
-
this._startPosition = -1;
|
|
2952
|
-
this._thresholdWasReached = false;
|
|
2953
|
-
if (this._moveEventData) {
|
|
2954
|
-
this._moveEventData = undefined;
|
|
2955
|
-
}
|
|
2956
|
-
};
|
|
2957
|
-
return SwipeDirective;
|
|
2958
|
-
}());
|
|
2959
|
-
SwipeDirective.decorators = [
|
|
2960
|
-
{ type: i0.Directive, args: [{
|
|
2961
|
-
selector: '[swipeDirective]',
|
|
2962
|
-
},] }
|
|
2963
|
-
];
|
|
2964
|
-
SwipeDirective.propDecorators = {
|
|
2965
|
-
moveEvent: [{ type: i0.Output }],
|
|
2966
|
-
releaseEvent: [{ type: i0.Output }],
|
|
2967
|
-
config: [{ type: i0.Input, args: ['swipeDirective',] }],
|
|
2968
|
-
onMouseDown: [{ type: i0.HostListener, args: ['mousedown', ['$event'],] }, { type: i0.HostListener, args: ['touchstart', ['$event'],] }],
|
|
2969
|
-
onMove: [{ type: i0.HostListener, args: ['mousemove', ['$event'],] }, { type: i0.HostListener, args: ['touchmove', ['$event'],] }],
|
|
2970
|
-
onRelease: [{ type: i0.HostListener, args: ['mouseup', ['$event'],] }, { type: i0.HostListener, args: ['mouseleave', ['$event'],] }, { type: i0.HostListener, args: ['touchend', ['$event'],] }]
|
|
2971
|
-
};
|
|
2972
|
-
|
|
2973
|
-
var TooltipDirective = /** @class */ (function () {
|
|
2974
|
-
function TooltipDirective(el, renderer) {
|
|
2975
|
-
this.el = el;
|
|
2976
|
-
this.renderer = renderer;
|
|
2977
|
-
this.tooltipTitle = "";
|
|
2978
|
-
this.tooltipText = "";
|
|
2979
|
-
this.tooltipLinkText = "";
|
|
2980
|
-
this.tooltipLinkUrl = "";
|
|
2981
|
-
this.tooltipPlacement = "bottom";
|
|
2982
|
-
this.tooltipDelay = 1000;
|
|
2983
|
-
this.tooltipPlaceIntoHost = false;
|
|
2984
|
-
this.tooltipOnlyonclick = false;
|
|
2985
|
-
this.offset = 0;
|
|
2986
|
-
}
|
|
2987
|
-
TooltipDirective.prototype.onMouseEnter = function () {
|
|
2988
|
-
if (!this.tooltipOnlyonclick) {
|
|
2989
|
-
this.show();
|
|
2990
|
-
}
|
|
2991
|
-
};
|
|
2992
|
-
TooltipDirective.prototype.onClick = function () {
|
|
2993
|
-
if (this.tooltipOnlyonclick) {
|
|
2994
|
-
this.show();
|
|
2995
|
-
}
|
|
2996
|
-
};
|
|
2997
|
-
TooltipDirective.prototype.onMouseLeave = function () {
|
|
2998
|
-
if (this.tooltipElem) {
|
|
2999
|
-
this.hide();
|
|
3000
|
-
}
|
|
3001
|
-
};
|
|
3002
|
-
TooltipDirective.prototype.show = function () {
|
|
3003
|
-
if (!this.tooltipElem) {
|
|
3004
|
-
this.create();
|
|
3005
|
-
this.setPosition();
|
|
3006
|
-
}
|
|
3007
|
-
this.renderer.addClass(this.tooltipElem, 'tooltip-show');
|
|
3008
|
-
};
|
|
3009
|
-
TooltipDirective.prototype.hide = function () {
|
|
3010
|
-
this.renderer.removeClass(this.tooltipElem, 'tooltip-show');
|
|
3011
|
-
window.setTimeout(function () {
|
|
3012
|
-
}, this.tooltipDelay);
|
|
3013
|
-
};
|
|
3014
|
-
TooltipDirective.prototype.create = function () {
|
|
3015
|
-
this.tooltipElem = this.renderer.createElement('kms-tooltip-element');
|
|
3016
|
-
this.tooltipTitleElem = this.renderer.createElement('b');
|
|
3017
|
-
this.renderer.appendChild(this.tooltipTitleElem, this.renderer.createText(this.tooltipTitle));
|
|
3018
|
-
this.renderer.appendChild(this.tooltipElem, this.tooltipTitleElem);
|
|
3019
|
-
this.tooltipTextElem = this.renderer.createElement('div');
|
|
3020
|
-
this.renderer.appendChild(this.tooltipTextElem, this.renderer.createText(this.tooltipText));
|
|
3021
|
-
this.renderer.appendChild(this.tooltipElem, this.tooltipTextElem);
|
|
3022
|
-
this.tooltipLinkElem = this.renderer.createElement('a');
|
|
3023
|
-
this.renderer.setAttribute(this.tooltipLinkElem, 'href', this.tooltipLinkUrl);
|
|
3024
|
-
this.renderer.appendChild(this.tooltipLinkElem, this.renderer.createText(this.tooltipLinkText));
|
|
3025
|
-
this.renderer.appendChild(this.tooltipElem, this.tooltipLinkElem);
|
|
3026
|
-
if (this.tooltipPlaceIntoHost) {
|
|
3027
|
-
this.renderer.appendChild(this.el.nativeElement, this.tooltipElem);
|
|
3028
|
-
}
|
|
3029
|
-
else {
|
|
3030
|
-
this.renderer.appendChild(document.body, this.tooltipElem);
|
|
3031
|
-
}
|
|
3032
|
-
this.renderer.addClass(this.tooltipElem, 'tooltip');
|
|
3033
|
-
this.renderer.addClass(this.tooltipElem, "tooltip-" + this.tooltipPlacement);
|
|
3034
|
-
this.renderer.setStyle(this.tooltipElem, '-webkit-transition', "opacity " + this.tooltipDelay + "ms");
|
|
3035
|
-
this.renderer.setStyle(this.tooltipElem, '-moz-transition', "opacity " + this.tooltipDelay + "ms");
|
|
3036
|
-
this.renderer.setStyle(this.tooltipElem, '-o-transition', "opacity " + this.tooltipDelay + "ms");
|
|
3037
|
-
this.renderer.setStyle(this.tooltipElem, 'transition', "opacity " + this.tooltipDelay + "ms");
|
|
3038
|
-
};
|
|
3039
|
-
TooltipDirective.prototype.setPosition = function () {
|
|
3040
|
-
if (this.tooltipElem) {
|
|
3041
|
-
var hostPos = this.el.nativeElement.getBoundingClientRect();
|
|
3042
|
-
var tooltipPos = this.tooltipElem.getBoundingClientRect();
|
|
3043
|
-
var top = void 0, left = void 0;
|
|
3044
|
-
if (this.tooltipPlaceIntoHost) {
|
|
3045
|
-
left = 0;
|
|
3046
|
-
top = hostPos.height;
|
|
3047
|
-
}
|
|
3048
|
-
else {
|
|
3049
|
-
var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
3050
|
-
if (this.tooltipPlacement === 'top') {
|
|
3051
|
-
top = hostPos.top - tooltipPos.height - this.offset;
|
|
3052
|
-
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
3053
|
-
}
|
|
3054
|
-
if (!this.tooltipPlacement || this.tooltipPlacement === 'bottom') {
|
|
3055
|
-
top = hostPos.bottom + this.offset;
|
|
3056
|
-
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
3057
|
-
}
|
|
3058
|
-
if (this.tooltipPlacement === 'left') {
|
|
3059
|
-
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
3060
|
-
left = hostPos.left - tooltipPos.width - this.offset;
|
|
3061
|
-
}
|
|
3062
|
-
if (this.tooltipPlacement === 'right') {
|
|
3063
|
-
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
3064
|
-
left = hostPos.right + this.offset;
|
|
3065
|
-
}
|
|
3066
|
-
top += scrollPos;
|
|
3067
|
-
}
|
|
3068
|
-
this.renderer.setStyle(this.tooltipElem, 'top', top + "px");
|
|
3069
|
-
this.renderer.setStyle(this.tooltipElem, 'left', left + "px");
|
|
3070
|
-
}
|
|
3071
|
-
};
|
|
3072
|
-
return TooltipDirective;
|
|
3073
|
-
}());
|
|
3074
|
-
TooltipDirective.decorators = [
|
|
3075
|
-
{ type: i0.Directive, args: [{
|
|
3076
|
-
selector: '[kmsTooltip]'
|
|
3077
|
-
},] }
|
|
3078
|
-
];
|
|
3079
|
-
TooltipDirective.ctorParameters = function () { return [
|
|
3080
|
-
{ type: i0.ElementRef },
|
|
3081
|
-
{ type: i0.Renderer2 }
|
|
3082
|
-
]; };
|
|
3083
|
-
TooltipDirective.propDecorators = {
|
|
3084
|
-
tooltipTitle: [{ type: i0.Input, args: ['tooltipTitle',] }],
|
|
3085
|
-
tooltipText: [{ type: i0.Input, args: ['tooltipText',] }],
|
|
3086
|
-
tooltipLinkText: [{ type: i0.Input, args: ['tooltipLinkText',] }],
|
|
3087
|
-
tooltipLinkUrl: [{ type: i0.Input, args: ['tooltipLinkUrl',] }],
|
|
3088
|
-
tooltipPlacement: [{ type: i0.Input, args: ['tooltipPlacement',] }],
|
|
3089
|
-
tooltipDelay: [{ type: i0.Input, args: ['tooltipDelay',] }],
|
|
3090
|
-
tooltipPlaceIntoHost: [{ type: i0.Input, args: ['tooltipPlaceIntoHost',] }],
|
|
3091
|
-
tooltipOnlyonclick: [{ type: i0.Input, args: ['tooltipOnlyonclick',] }],
|
|
3092
|
-
onMouseEnter: [{ type: i0.HostListener, args: ['mouseenter',] }],
|
|
3093
|
-
onClick: [{ type: i0.HostListener, args: ['click',] }],
|
|
3094
|
-
onMouseLeave: [{ type: i0.HostListener, args: ['mouseleave',] }]
|
|
3095
|
-
};
|
|
3353
|
+
MouseWheelDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MouseWheelDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
3354
|
+
MouseWheelDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MouseWheelDirective, selector: "[mouseWheel]", outputs: { mouseWheelUp: "mouseWheelUp", mouseWheelDown: "mouseWheelDown" }, host: { listeners: { "mousewheel": "onMouseWheelChrome($event)", "DOMMouseScroll": "onMouseWheelFirefox($event)", "onmousewheel": "onMouseWheelIE($event)" } }, ngImport: i0__namespace });
|
|
3355
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MouseWheelDirective, decorators: [{
|
|
3356
|
+
type: i0.Directive,
|
|
3357
|
+
args: [{ selector: '[mouseWheel]' }]
|
|
3358
|
+
}], propDecorators: { mouseWheelUp: [{
|
|
3359
|
+
type: i0.Output
|
|
3360
|
+
}], mouseWheelDown: [{
|
|
3361
|
+
type: i0.Output
|
|
3362
|
+
}], onMouseWheelChrome: [{
|
|
3363
|
+
type: i0.HostListener,
|
|
3364
|
+
args: ['mousewheel', ['$event']]
|
|
3365
|
+
}], onMouseWheelFirefox: [{
|
|
3366
|
+
type: i0.HostListener,
|
|
3367
|
+
args: ['DOMMouseScroll', ['$event']]
|
|
3368
|
+
}], onMouseWheelIE: [{
|
|
3369
|
+
type: i0.HostListener,
|
|
3370
|
+
args: ['onmousewheel', ['$event']]
|
|
3371
|
+
}] } });
|
|
3096
3372
|
|
|
3097
3373
|
/**
|
|
3098
3374
|
* @copyright KMS GmbH
|
|
@@ -3102,108 +3378,209 @@
|
|
|
3102
3378
|
}
|
|
3103
3379
|
return DirectivesModule;
|
|
3104
3380
|
}());
|
|
3105
|
-
DirectivesModule
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3381
|
+
DirectivesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DirectivesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3382
|
+
DirectivesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DirectivesModule, declarations: [SwipeDirective,
|
|
3383
|
+
MouseWheelDirective,
|
|
3384
|
+
GetMaxHeightDirective,
|
|
3385
|
+
TooltipDirective], imports: [i2.CommonModule], exports: [SwipeDirective,
|
|
3386
|
+
MouseWheelDirective,
|
|
3387
|
+
GetMaxHeightDirective,
|
|
3388
|
+
TooltipDirective] });
|
|
3389
|
+
DirectivesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DirectivesModule, imports: [[i2.CommonModule]] });
|
|
3390
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DirectivesModule, decorators: [{
|
|
3391
|
+
type: i0.NgModule,
|
|
3392
|
+
args: [{
|
|
3393
|
+
declarations: [
|
|
3394
|
+
SwipeDirective,
|
|
3395
|
+
MouseWheelDirective,
|
|
3396
|
+
GetMaxHeightDirective,
|
|
3397
|
+
TooltipDirective,
|
|
3398
|
+
],
|
|
3399
|
+
imports: [i2.CommonModule],
|
|
3400
|
+
exports: [
|
|
3401
|
+
SwipeDirective,
|
|
3402
|
+
MouseWheelDirective,
|
|
3403
|
+
GetMaxHeightDirective,
|
|
3404
|
+
TooltipDirective,
|
|
3405
|
+
],
|
|
3406
|
+
}]
|
|
3407
|
+
}] });
|
|
3122
3408
|
|
|
3123
3409
|
var KmsUiPresentationalModule = /** @class */ (function () {
|
|
3124
3410
|
function KmsUiPresentationalModule() {
|
|
3125
3411
|
}
|
|
3126
3412
|
return KmsUiPresentationalModule;
|
|
3127
3413
|
}());
|
|
3128
|
-
KmsUiPresentationalModule
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3414
|
+
KmsUiPresentationalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3415
|
+
KmsUiPresentationalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalModule, declarations: [ActionsParentComponent,
|
|
3416
|
+
BackToTopComponent,
|
|
3417
|
+
ButtonWithConfirmDialogComponent,
|
|
3418
|
+
CheckboxComponent,
|
|
3419
|
+
ColorInputComponent,
|
|
3420
|
+
DropdownFromDataComponent,
|
|
3421
|
+
EnumRadiogroupComponent,
|
|
3422
|
+
EnumRadiogroupComponent,
|
|
3423
|
+
FileInputComponent,
|
|
3424
|
+
FlyoutComponent,
|
|
3425
|
+
GenericDialogComponent,
|
|
3426
|
+
IconComponent,
|
|
3427
|
+
ImageSliderComponent,
|
|
3428
|
+
KMSAccordionItemComponent,
|
|
3429
|
+
KmsUiPresentationalComponent,
|
|
3430
|
+
LoaderComponent,
|
|
3431
|
+
MapComponent,
|
|
3432
|
+
RadioButtonComponent,
|
|
3433
|
+
SalutationDropdownComponent,
|
|
3434
|
+
SalutationRadiogroupComponent,
|
|
3435
|
+
TimeInputComponent,
|
|
3436
|
+
TooltipComponent,
|
|
3437
|
+
TooltipIconComponent,
|
|
3438
|
+
YesNoRadiogroupComponent], imports: [i2.CommonModule,
|
|
3439
|
+
i6.DragDropModule,
|
|
3440
|
+
i1$1.MatCheckboxModule,
|
|
3441
|
+
i2$3.MatButtonModule,
|
|
3442
|
+
i2$2.MatRadioModule,
|
|
3443
|
+
i1$4.MatDialogModule,
|
|
3444
|
+
i1.FormsModule,
|
|
3445
|
+
i1.ReactiveFormsModule,
|
|
3446
|
+
i2$1.MatFormFieldModule,
|
|
3447
|
+
i5.MatInputModule,
|
|
3448
|
+
i3$1.MatMenuModule,
|
|
3449
|
+
CustomPipesModule,
|
|
3450
|
+
i2$5.GoogleMapsModule,
|
|
3451
|
+
i2$4.MatExpansionModule,
|
|
3452
|
+
i3.MatSelectModule,
|
|
3453
|
+
i1$3.MatProgressSpinnerModule,
|
|
3454
|
+
DirectivesModule,
|
|
3455
|
+
i5$1.TranslateModule,
|
|
3456
|
+
i2$6.NgxUsefulSwiperModule], exports: [ActionsParentComponent,
|
|
3457
|
+
BackToTopComponent,
|
|
3458
|
+
ButtonWithConfirmDialogComponent,
|
|
3459
|
+
CheckboxComponent,
|
|
3460
|
+
ColorInputComponent,
|
|
3461
|
+
DropdownFromDataComponent,
|
|
3462
|
+
EnumRadiogroupComponent,
|
|
3463
|
+
EnumRadiogroupComponent,
|
|
3464
|
+
FileInputComponent,
|
|
3465
|
+
FlyoutComponent,
|
|
3466
|
+
GenericDialogComponent,
|
|
3467
|
+
IconComponent,
|
|
3468
|
+
ImageSliderComponent,
|
|
3469
|
+
KMSAccordionItemComponent,
|
|
3470
|
+
KmsUiPresentationalComponent,
|
|
3471
|
+
LoaderComponent,
|
|
3472
|
+
MapComponent,
|
|
3473
|
+
RadioButtonComponent,
|
|
3474
|
+
SalutationDropdownComponent,
|
|
3475
|
+
SalutationRadiogroupComponent,
|
|
3476
|
+
TimeInputComponent,
|
|
3477
|
+
TooltipComponent,
|
|
3478
|
+
TooltipIconComponent,
|
|
3479
|
+
YesNoRadiogroupComponent] });
|
|
3480
|
+
KmsUiPresentationalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalModule, providers: [
|
|
3481
|
+
ViewportService
|
|
3482
|
+
], imports: [[
|
|
3483
|
+
i2.CommonModule,
|
|
3484
|
+
i6.DragDropModule,
|
|
3485
|
+
i1$1.MatCheckboxModule,
|
|
3486
|
+
i2$3.MatButtonModule,
|
|
3487
|
+
i2$2.MatRadioModule,
|
|
3488
|
+
i1$4.MatDialogModule,
|
|
3489
|
+
i1.FormsModule,
|
|
3490
|
+
i1.ReactiveFormsModule,
|
|
3491
|
+
i2$1.MatFormFieldModule,
|
|
3492
|
+
i5.MatInputModule,
|
|
3493
|
+
i3$1.MatMenuModule,
|
|
3494
|
+
CustomPipesModule,
|
|
3495
|
+
i2$5.GoogleMapsModule,
|
|
3496
|
+
i2$4.MatExpansionModule,
|
|
3497
|
+
i3.MatSelectModule,
|
|
3498
|
+
i1$3.MatProgressSpinnerModule,
|
|
3499
|
+
DirectivesModule,
|
|
3500
|
+
i5$1.TranslateModule,
|
|
3501
|
+
i2$6.NgxUsefulSwiperModule,
|
|
3502
|
+
]] });
|
|
3503
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: KmsUiPresentationalModule, decorators: [{
|
|
3504
|
+
type: i0.NgModule,
|
|
3505
|
+
args: [{
|
|
3506
|
+
declarations: [
|
|
3507
|
+
ActionsParentComponent,
|
|
3508
|
+
BackToTopComponent,
|
|
3509
|
+
ButtonWithConfirmDialogComponent,
|
|
3510
|
+
CheckboxComponent,
|
|
3511
|
+
ColorInputComponent,
|
|
3512
|
+
DropdownFromDataComponent,
|
|
3513
|
+
EnumRadiogroupComponent,
|
|
3514
|
+
EnumRadiogroupComponent,
|
|
3515
|
+
FileInputComponent,
|
|
3516
|
+
FlyoutComponent,
|
|
3517
|
+
GenericDialogComponent,
|
|
3518
|
+
IconComponent,
|
|
3519
|
+
ImageSliderComponent,
|
|
3520
|
+
KMSAccordionItemComponent,
|
|
3521
|
+
KmsUiPresentationalComponent,
|
|
3522
|
+
LoaderComponent,
|
|
3523
|
+
MapComponent,
|
|
3524
|
+
RadioButtonComponent,
|
|
3525
|
+
SalutationDropdownComponent,
|
|
3526
|
+
SalutationRadiogroupComponent,
|
|
3527
|
+
TimeInputComponent,
|
|
3528
|
+
TooltipComponent,
|
|
3529
|
+
TooltipIconComponent,
|
|
3530
|
+
YesNoRadiogroupComponent,
|
|
3531
|
+
],
|
|
3532
|
+
imports: [
|
|
3533
|
+
i2.CommonModule,
|
|
3534
|
+
i6.DragDropModule,
|
|
3535
|
+
i1$1.MatCheckboxModule,
|
|
3536
|
+
i2$3.MatButtonModule,
|
|
3537
|
+
i2$2.MatRadioModule,
|
|
3538
|
+
i1$4.MatDialogModule,
|
|
3539
|
+
i1.FormsModule,
|
|
3540
|
+
i1.ReactiveFormsModule,
|
|
3541
|
+
i2$1.MatFormFieldModule,
|
|
3542
|
+
i5.MatInputModule,
|
|
3543
|
+
i3$1.MatMenuModule,
|
|
3544
|
+
CustomPipesModule,
|
|
3545
|
+
i2$5.GoogleMapsModule,
|
|
3546
|
+
i2$4.MatExpansionModule,
|
|
3547
|
+
i3.MatSelectModule,
|
|
3548
|
+
i1$3.MatProgressSpinnerModule,
|
|
3549
|
+
DirectivesModule,
|
|
3550
|
+
i5$1.TranslateModule,
|
|
3551
|
+
i2$6.NgxUsefulSwiperModule,
|
|
3552
|
+
],
|
|
3553
|
+
exports: [
|
|
3554
|
+
ActionsParentComponent,
|
|
3555
|
+
BackToTopComponent,
|
|
3556
|
+
ButtonWithConfirmDialogComponent,
|
|
3557
|
+
CheckboxComponent,
|
|
3558
|
+
ColorInputComponent,
|
|
3559
|
+
DropdownFromDataComponent,
|
|
3560
|
+
EnumRadiogroupComponent,
|
|
3561
|
+
EnumRadiogroupComponent,
|
|
3562
|
+
FileInputComponent,
|
|
3563
|
+
FlyoutComponent,
|
|
3564
|
+
GenericDialogComponent,
|
|
3565
|
+
IconComponent,
|
|
3566
|
+
ImageSliderComponent,
|
|
3567
|
+
KMSAccordionItemComponent,
|
|
3568
|
+
KmsUiPresentationalComponent,
|
|
3569
|
+
LoaderComponent,
|
|
3570
|
+
MapComponent,
|
|
3571
|
+
RadioButtonComponent,
|
|
3572
|
+
SalutationDropdownComponent,
|
|
3573
|
+
SalutationRadiogroupComponent,
|
|
3574
|
+
TimeInputComponent,
|
|
3575
|
+
TooltipComponent,
|
|
3576
|
+
TooltipIconComponent,
|
|
3577
|
+
YesNoRadiogroupComponent,
|
|
3578
|
+
],
|
|
3579
|
+
providers: [
|
|
3580
|
+
ViewportService
|
|
3581
|
+
]
|
|
3582
|
+
}]
|
|
3583
|
+
}] });
|
|
3207
3584
|
|
|
3208
3585
|
/*
|
|
3209
3586
|
* Public API Surface of kms-ngx-ui-presentational
|
|
@@ -3213,50 +3590,52 @@
|
|
|
3213
3590
|
* Generated bundle index. Do not edit.
|
|
3214
3591
|
*/
|
|
3215
3592
|
|
|
3593
|
+
exports.ActionsParentComponent = ActionsParentComponent;
|
|
3594
|
+
exports.BackToTopComponent = BackToTopComponent;
|
|
3595
|
+
exports.ButtonWithConfirmDialogComponent = ButtonWithConfirmDialogComponent;
|
|
3596
|
+
exports.CheckboxComponent = CheckboxComponent;
|
|
3597
|
+
exports.ColorInputComponent = ColorInputComponent;
|
|
3216
3598
|
exports.CustomPipesModule = CustomPipesModule;
|
|
3599
|
+
exports.DecodeUriPipe = DecodeUriPipe;
|
|
3217
3600
|
exports.DirectivesModule = DirectivesModule;
|
|
3601
|
+
exports.DropdownFromDataComponent = DropdownFromDataComponent;
|
|
3602
|
+
exports.EncodeUriPipe = EncodeUriPipe;
|
|
3603
|
+
exports.EnumRadiogroupComponent = EnumRadiogroupComponent;
|
|
3604
|
+
exports.FileInputComponent = FileInputComponent;
|
|
3605
|
+
exports.FlyoutComponent = FlyoutComponent;
|
|
3218
3606
|
exports.FormParentComponent = FormParentComponent;
|
|
3219
3607
|
exports.GenericDialogComponent = GenericDialogComponent;
|
|
3608
|
+
exports.GetMaxHeightDirective = GetMaxHeightDirective;
|
|
3609
|
+
exports.IconComponent = IconComponent;
|
|
3610
|
+
exports.ImageSliderComponent = ImageSliderComponent;
|
|
3611
|
+
exports.IntegerCurrency = IntegerCurrency;
|
|
3612
|
+
exports.KMSAccordionItemComponent = KMSAccordionItemComponent;
|
|
3220
3613
|
exports.KmsUiPresentationalComponent = KmsUiPresentationalComponent;
|
|
3221
3614
|
exports.KmsUiPresentationalModule = KmsUiPresentationalModule;
|
|
3222
3615
|
exports.KmsUiPresentationalService = KmsUiPresentationalService;
|
|
3616
|
+
exports.LoaderComponent = LoaderComponent;
|
|
3617
|
+
exports.MapComponent = MapComponent;
|
|
3618
|
+
exports.Marker = Marker;
|
|
3619
|
+
exports.MarkerLabel = MarkerLabel;
|
|
3620
|
+
exports.MarkerOptions = MarkerOptions;
|
|
3621
|
+
exports.MouseWheelDirective = MouseWheelDirective;
|
|
3622
|
+
exports.RadioButtonComponent = RadioButtonComponent;
|
|
3623
|
+
exports.SafeHtmlPipe = SafeHtmlPipe;
|
|
3624
|
+
exports.SafeResourceUrlPipe = SafeResourceUrlPipe;
|
|
3625
|
+
exports.SafeStylePipe = SafeStylePipe;
|
|
3626
|
+
exports.SafeUrlPipe = SafeUrlPipe;
|
|
3627
|
+
exports.SalutationDropdownComponent = SalutationDropdownComponent;
|
|
3628
|
+
exports.SalutationRadiogroupComponent = SalutationRadiogroupComponent;
|
|
3629
|
+
exports.SwipeDirective = SwipeDirective;
|
|
3630
|
+
exports.TimeInputComponent = TimeInputComponent;
|
|
3631
|
+
exports.ToNumberPipe = ToNumberPipe;
|
|
3632
|
+
exports.TooltipComponent = TooltipComponent;
|
|
3633
|
+
exports.TooltipDirective = TooltipDirective;
|
|
3634
|
+
exports.TooltipIconComponent = TooltipIconComponent;
|
|
3635
|
+
exports.TrimPipe = TrimPipe;
|
|
3636
|
+
exports.TypeofPipe = TypeofPipe;
|
|
3223
3637
|
exports.ViewportService = ViewportService;
|
|
3224
|
-
exports
|
|
3225
|
-
exports["ɵb"] = BackToTopComponent;
|
|
3226
|
-
exports["ɵba"] = SafeResourceUrlPipe;
|
|
3227
|
-
exports["ɵbb"] = SafeUrlPipe;
|
|
3228
|
-
exports["ɵbc"] = EncodeUriPipe;
|
|
3229
|
-
exports["ɵbd"] = DecodeUriPipe;
|
|
3230
|
-
exports["ɵbe"] = TypeofPipe;
|
|
3231
|
-
exports["ɵbf"] = TrimPipe;
|
|
3232
|
-
exports["ɵbg"] = ToNumberPipe;
|
|
3233
|
-
exports["ɵbh"] = SwipeDirective;
|
|
3234
|
-
exports["ɵbi"] = MouseWheelDirective;
|
|
3235
|
-
exports["ɵbj"] = GetMaxHeightDirective;
|
|
3236
|
-
exports["ɵbk"] = TooltipDirective;
|
|
3237
|
-
exports["ɵc"] = ButtonWithConfirmDialogComponent;
|
|
3238
|
-
exports["ɵd"] = CheckboxComponent;
|
|
3239
|
-
exports["ɵe"] = ColorInputComponent;
|
|
3240
|
-
exports["ɵf"] = FormControlParentComponent;
|
|
3241
|
-
exports["ɵg"] = DropdownFromDataComponent;
|
|
3242
|
-
exports["ɵh"] = EnumRadiogroupComponent;
|
|
3243
|
-
exports["ɵi"] = FileInputComponent;
|
|
3244
|
-
exports["ɵj"] = FlyoutComponent;
|
|
3245
|
-
exports["ɵl"] = IconComponent;
|
|
3246
|
-
exports["ɵm"] = ImageSliderComponent;
|
|
3247
|
-
exports["ɵn"] = KMSAccordionItemComponent;
|
|
3248
|
-
exports["ɵo"] = LoaderComponent;
|
|
3249
|
-
exports["ɵp"] = MapComponent;
|
|
3250
|
-
exports["ɵq"] = RadioButtonComponent;
|
|
3251
|
-
exports["ɵr"] = SalutationDropdownComponent;
|
|
3252
|
-
exports["ɵs"] = SalutationRadiogroupComponent;
|
|
3253
|
-
exports["ɵt"] = TimeInputComponent;
|
|
3254
|
-
exports["ɵu"] = TooltipComponent;
|
|
3255
|
-
exports["ɵv"] = TooltipIconComponent;
|
|
3256
|
-
exports["ɵw"] = YesNoRadiogroupComponent;
|
|
3257
|
-
exports["ɵx"] = IntegerCurrency;
|
|
3258
|
-
exports["ɵy"] = SafeHtmlPipe;
|
|
3259
|
-
exports["ɵz"] = SafeStylePipe;
|
|
3638
|
+
exports.YesNoRadiogroupComponent = YesNoRadiogroupComponent;
|
|
3260
3639
|
|
|
3261
3640
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3262
3641
|
|