@kms-ngx-ui/presentational 16.2.0 → 16.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/directives/directives.module.mjs +7 -12
- package/esm2022/lib/directives/mousewheel.directive.mjs +4 -4
- package/esm2022/lib/directives/sum-of-height.directive.mjs +4 -4
- package/esm2022/lib/directives/swipe.directive.mjs +4 -4
- package/esm2022/lib/directives/tooltip.directive.mjs +4 -4
- package/esm2022/lib/kms-ngx-ui-presentational.component.mjs +4 -4
- package/esm2022/lib/kms-ngx-ui-presentational.module.mjs +16 -20
- package/esm2022/lib/kms-ngx-ui-presentational.service.mjs +4 -4
- package/esm2022/lib/parent-components/actions.component.mjs +4 -4
- package/esm2022/lib/parent-components/form-control.component.mjs +5 -5
- package/esm2022/lib/parent-components/form.component.mjs +8 -14
- package/esm2022/lib/pipes/custom-pipes.module.mjs +5 -5
- package/esm2022/lib/pipes/decode-uri.pipe.mjs +4 -4
- package/esm2022/lib/pipes/encode-uri.pipe.mjs +4 -4
- package/esm2022/lib/pipes/integer-currency.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-resource-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-style.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/to-number.pipe.mjs +4 -4
- package/esm2022/lib/pipes/trim.pipe.mjs +4 -4
- package/esm2022/lib/pipes/typeof.pipe.mjs +4 -4
- package/esm2022/lib/services/viewport.service.mjs +75 -214
- package/esm2022/lib/ui/back-to-top/back-to-top.component.mjs +4 -4
- package/esm2022/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +5 -5
- package/esm2022/lib/ui/checkbox/checkbox.component.mjs +6 -6
- package/esm2022/lib/ui/color-input/color-input.component.mjs +7 -7
- package/esm2022/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +9 -14
- package/esm2022/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +6 -6
- package/esm2022/lib/ui/file-input/file-input.component.mjs +12 -12
- package/esm2022/lib/ui/flyout/flyout.component.mjs +7 -8
- package/esm2022/lib/ui/generic-dialog/generic-dialog.component.mjs +6 -5
- package/esm2022/lib/ui/icon/icon.component.mjs +5 -8
- package/esm2022/lib/ui/icon/iconSize.enum.mjs +1 -12
- package/esm2022/lib/ui/image-slider/image-slider.component.mjs +14 -14
- package/esm2022/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +11 -11
- package/esm2022/lib/ui/loader/loader.component.mjs +5 -5
- package/esm2022/lib/ui/map/map.component.mjs +5 -5
- package/esm2022/lib/ui/radiobutton/radiobutton.component.mjs +7 -11
- package/esm2022/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +8 -8
- package/esm2022/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +6 -6
- package/esm2022/lib/ui/time-input/time-input.component.mjs +4 -4
- package/esm2022/lib/ui/tooltip/tooltip.component.mjs +4 -4
- package/esm2022/lib/ui/tooltip-icon/tooltip-icon.component.mjs +8 -9
- package/esm2022/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +6 -6
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/kms-ngx-ui-presentational.mjs +344 -536
- package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -1
- package/lib/directives/directives.module.d.ts +2 -4
- package/lib/kms-ngx-ui-presentational.module.d.ts +10 -10
- package/lib/services/viewport.service.d.ts +11 -86
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +2 -4
- package/lib/ui/file-input/file-input.component.d.ts +2 -2
- package/lib/ui/icon/icon.component.d.ts +1 -7
- package/lib/ui/icon/iconSize.enum.d.ts +0 -10
- package/lib/ui/image-slider/image-slider.component.d.ts +2 -2
- package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +2 -2
- package/lib/ui/radiobutton/radiobutton.component.d.ts +1 -2
- package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +2 -2
- package/package.json +8 -8
- package/public-api.d.ts +0 -1
- package/src/lib/ui/back-to-top/back-to-top.component.scss +3 -2
- package/src/lib/ui/icon/icon.component.scss +36 -2
- package/src/lib/ui/image-slider/image-slider.component.scss +202 -209
- package/src/styles/styles.scss +0 -1
- package/esm2022/lib/directives/size.directive.mjs +0 -21
- package/lib/directives/size.directive.d.ts +0 -10
- package/src/styles/animations.scss +0 -47
|
@@ -3,11 +3,9 @@ import * as i1 from "./swipe.directive";
|
|
|
3
3
|
import * as i2 from "./mousewheel.directive";
|
|
4
4
|
import * as i3 from "./sum-of-height.directive";
|
|
5
5
|
import * as i4 from "./tooltip.directive";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
8
7
|
export declare class DirectivesModule {
|
|
9
|
-
SizeDirective: any;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.SwipeDirective, typeof i2.MouseWheelDirective, typeof i3.GetMaxHeightDirective, typeof i4.TooltipDirective
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.SwipeDirective, typeof i2.MouseWheelDirective, typeof i3.GetMaxHeightDirective, typeof i4.TooltipDirective], [typeof i5.CommonModule], [typeof i1.SwipeDirective, typeof i2.MouseWheelDirective, typeof i3.GetMaxHeightDirective, typeof i4.TooltipDirective]>;
|
|
12
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
13
11
|
}
|
|
@@ -24,24 +24,24 @@ import * as i22 from "./ui/tooltip-icon/tooltip-icon.component";
|
|
|
24
24
|
import * as i23 from "./ui/yes-no-radiogroup/yes-no-radiogroup.component";
|
|
25
25
|
import * as i24 from "@angular/common";
|
|
26
26
|
import * as i25 from "@angular/cdk/drag-drop";
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "@angular/material/
|
|
29
|
-
import * as i28 from "@angular/material/
|
|
30
|
-
import * as i29 from "@angular/material/
|
|
27
|
+
import * as i26 from "@angular/material/checkbox";
|
|
28
|
+
import * as i27 from "@angular/material/button";
|
|
29
|
+
import * as i28 from "@angular/material/radio";
|
|
30
|
+
import * as i29 from "@angular/material/dialog";
|
|
31
31
|
import * as i30 from "@angular/forms";
|
|
32
|
-
import * as i31 from "@angular/material/
|
|
33
|
-
import * as i32 from "@angular/material/
|
|
34
|
-
import * as i33 from "@angular/material/
|
|
32
|
+
import * as i31 from "@angular/material/form-field";
|
|
33
|
+
import * as i32 from "@angular/material/input";
|
|
34
|
+
import * as i33 from "@angular/material/menu";
|
|
35
35
|
import * as i34 from "./pipes/custom-pipes.module";
|
|
36
36
|
import * as i35 from "@angular/google-maps";
|
|
37
37
|
import * as i36 from "@angular/material/expansion";
|
|
38
|
-
import * as i37 from "@angular/material/
|
|
39
|
-
import * as i38 from "@angular/material/
|
|
38
|
+
import * as i37 from "@angular/material/select";
|
|
39
|
+
import * as i38 from "@angular/material/progress-spinner";
|
|
40
40
|
import * as i39 from "./directives/directives.module";
|
|
41
41
|
import * as i40 from "@ngx-translate/core";
|
|
42
42
|
import * as i41 from "ngx-useful-swiper";
|
|
43
43
|
export declare class KmsUiPresentationalModule {
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<KmsUiPresentationalModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KmsUiPresentationalModule, [typeof i1.ActionsParentComponent, typeof i2.BackToTopComponent, typeof i3.ButtonWithConfirmDialogComponent, typeof i4.CheckboxComponent, typeof i5.ColorInputComponent, typeof i6.DropdownFromDataComponent, typeof i7.EnumRadiogroupComponent, typeof i7.EnumRadiogroupComponent, typeof i8.FileInputComponent, typeof i9.FlyoutComponent, typeof i10.GenericDialogComponent, typeof i11.IconComponent, typeof i12.ImageSliderComponent, typeof i13.KMSAccordionItemComponent, typeof i14.KmsUiPresentationalComponent, typeof i15.LoaderComponent, typeof i16.MapComponent, typeof i17.RadioButtonComponent, typeof i18.SalutationDropdownComponent, typeof i19.SalutationRadiogroupComponent, typeof i20.TimeInputComponent, typeof i21.TooltipComponent, typeof i22.TooltipIconComponent, typeof i23.YesNoRadiogroupComponent], [typeof i24.CommonModule, typeof i25.DragDropModule, typeof i26.
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KmsUiPresentationalModule, [typeof i1.ActionsParentComponent, typeof i2.BackToTopComponent, typeof i3.ButtonWithConfirmDialogComponent, typeof i4.CheckboxComponent, typeof i5.ColorInputComponent, typeof i6.DropdownFromDataComponent, typeof i7.EnumRadiogroupComponent, typeof i7.EnumRadiogroupComponent, typeof i8.FileInputComponent, typeof i9.FlyoutComponent, typeof i10.GenericDialogComponent, typeof i11.IconComponent, typeof i12.ImageSliderComponent, typeof i13.KMSAccordionItemComponent, typeof i14.KmsUiPresentationalComponent, typeof i15.LoaderComponent, typeof i16.MapComponent, typeof i17.RadioButtonComponent, typeof i18.SalutationDropdownComponent, typeof i19.SalutationRadiogroupComponent, typeof i20.TimeInputComponent, typeof i21.TooltipComponent, typeof i22.TooltipIconComponent, typeof i23.YesNoRadiogroupComponent], [typeof i24.CommonModule, typeof i25.DragDropModule, typeof i26.MatCheckboxModule, typeof i27.MatButtonModule, typeof i28.MatRadioModule, typeof i29.MatDialogModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.MatFormFieldModule, typeof i32.MatInputModule, typeof i33.MatMenuModule, typeof i34.CustomPipesModule, typeof i35.GoogleMapsModule, typeof i36.MatExpansionModule, typeof i37.MatSelectModule, typeof i38.MatProgressSpinnerModule, typeof i39.DirectivesModule, typeof i40.TranslateModule, typeof i41.NgxUsefulSwiperModule], [typeof i1.ActionsParentComponent, typeof i2.BackToTopComponent, typeof i3.ButtonWithConfirmDialogComponent, typeof i4.CheckboxComponent, typeof i5.ColorInputComponent, typeof i6.DropdownFromDataComponent, typeof i7.EnumRadiogroupComponent, typeof i7.EnumRadiogroupComponent, typeof i8.FileInputComponent, typeof i9.FlyoutComponent, typeof i10.GenericDialogComponent, typeof i11.IconComponent, typeof i12.ImageSliderComponent, typeof i13.KMSAccordionItemComponent, typeof i14.KmsUiPresentationalComponent, typeof i15.LoaderComponent, typeof i16.MapComponent, typeof i17.RadioButtonComponent, typeof i18.SalutationDropdownComponent, typeof i19.SalutationRadiogroupComponent, typeof i20.TimeInputComponent, typeof i21.TooltipComponent, typeof i22.TooltipIconComponent, typeof i23.YesNoRadiogroupComponent]>;
|
|
46
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<KmsUiPresentationalModule>;
|
|
47
47
|
}
|
|
@@ -1,45 +1,26 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WindowDimensions {
|
|
5
|
-
constructor(data?: Partial<WindowDimensions>);
|
|
6
|
-
Height: number;
|
|
7
|
-
Width: number;
|
|
8
|
-
Orientation: "landscape" | "portrait";
|
|
9
|
-
}
|
|
10
|
-
export declare class SimpleBreakpoint {
|
|
11
|
-
constructor(data?: Partial<SimpleBreakpoint>);
|
|
12
|
-
Number: number;
|
|
13
|
-
Name: string;
|
|
14
|
-
MaximumPixels: number;
|
|
15
|
-
}
|
|
16
|
-
export declare class Breakpoint {
|
|
17
|
-
constructor(data?: Partial<Breakpoint>);
|
|
18
|
-
Number: number;
|
|
19
|
-
Name: string;
|
|
20
|
-
Low: number;
|
|
21
|
-
High: number;
|
|
22
|
-
}
|
|
23
4
|
/**
|
|
24
5
|
* Service to get viewport
|
|
25
6
|
*/
|
|
26
7
|
export declare class ViewportService implements OnDestroy {
|
|
27
8
|
private platformId;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
9
|
+
readonly viewports: {
|
|
10
|
+
name: string;
|
|
11
|
+
low: number;
|
|
12
|
+
high: number;
|
|
13
|
+
}[];
|
|
31
14
|
private viewportChangedSubscriber;
|
|
32
15
|
private viewportResizedSubscriber;
|
|
33
16
|
private currentViewport;
|
|
34
|
-
|
|
35
|
-
private isBrowser;
|
|
36
|
-
constructor(platformId: Object, document: Document);
|
|
17
|
+
constructor(platformId: Object);
|
|
37
18
|
/**
|
|
38
|
-
* Get
|
|
19
|
+
* Get window height
|
|
39
20
|
*/
|
|
40
21
|
getDocumentHeight(): number;
|
|
41
22
|
/**
|
|
42
|
-
* Get
|
|
23
|
+
* Get window width
|
|
43
24
|
*/
|
|
44
25
|
getDocumentWidth(): number;
|
|
45
26
|
/**
|
|
@@ -55,32 +36,6 @@ export declare class ViewportService implements OnDestroy {
|
|
|
55
36
|
* @returns string
|
|
56
37
|
*/
|
|
57
38
|
getCurrentViewPort(): string;
|
|
58
|
-
/**
|
|
59
|
-
* Returns the current viewport MQ as object with all informations
|
|
60
|
-
* @returns string
|
|
61
|
-
*/
|
|
62
|
-
getCurrentViewPortObject(): Breakpoint;
|
|
63
|
-
/**
|
|
64
|
-
* Returns the current viewport as number
|
|
65
|
-
* @deprecated use getCurrentViewPortDimensions instead
|
|
66
|
-
* @returns string
|
|
67
|
-
*/
|
|
68
|
-
getCurrentViewPortNumber(): number;
|
|
69
|
-
/**
|
|
70
|
-
* Returns the current viewport width as number
|
|
71
|
-
* @returns string
|
|
72
|
-
*/
|
|
73
|
-
getCurrentViewPortWidth(): number;
|
|
74
|
-
/**
|
|
75
|
-
* Returns the current viewport as number
|
|
76
|
-
* @returns string
|
|
77
|
-
*/
|
|
78
|
-
getCurrentViewPortHeight(): number;
|
|
79
|
-
/**
|
|
80
|
-
* Returns the current viewport dimensions
|
|
81
|
-
* @returns string
|
|
82
|
-
*/
|
|
83
|
-
getCurrentViewPortDimensions(): WindowDimensions;
|
|
84
39
|
/**
|
|
85
40
|
* Provides mq´s as string
|
|
86
41
|
*/
|
|
@@ -89,9 +44,6 @@ export declare class ViewportService implements OnDestroy {
|
|
|
89
44
|
* Provides the current window width as number
|
|
90
45
|
*/
|
|
91
46
|
getViewportResizedObserver(): Observable<number>;
|
|
92
|
-
/**
|
|
93
|
-
* Scroll to element
|
|
94
|
-
*/
|
|
95
47
|
scrollToElementId(el: string, alignCenter?: boolean): void;
|
|
96
48
|
/**
|
|
97
49
|
* Helper function that scrolls to the given markup element.
|
|
@@ -104,31 +56,7 @@ export declare class ViewportService implements OnDestroy {
|
|
|
104
56
|
* @param top - top position value
|
|
105
57
|
*/
|
|
106
58
|
scrollTop(top: number): void;
|
|
107
|
-
|
|
108
|
-
* If orientation is portrait
|
|
109
|
-
*/
|
|
110
|
-
isPortrait(): boolean | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* If orientation is landscape
|
|
113
|
-
*/
|
|
114
|
-
isLandscape(): boolean | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Get screen orientation (portrait/landscape)
|
|
117
|
-
*/
|
|
118
|
-
getOrientationAsString(): "portrait" | "landscape";
|
|
119
|
-
/**
|
|
120
|
-
* If mobile breakpoint (below tablet)
|
|
121
|
-
*/
|
|
122
|
-
isMobile(): boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Get height of an element
|
|
125
|
-
* @deprecated
|
|
126
|
-
*/
|
|
127
|
-
calculateFullscreenElementsheight(id: string, defaultheight: string, extra: number): string;
|
|
128
|
-
/**
|
|
129
|
-
* Get height of an element
|
|
130
|
-
*/
|
|
131
|
-
calculateFullscreenElementsHeight(id: string, defaultheight: string, extra: number): string;
|
|
59
|
+
ngOnDestroy(): void;
|
|
132
60
|
/**
|
|
133
61
|
* If viewport changed
|
|
134
62
|
* @event
|
|
@@ -139,11 +67,8 @@ export declare class ViewportService implements OnDestroy {
|
|
|
139
67
|
* @param width Width to get the according MQ for
|
|
140
68
|
*/
|
|
141
69
|
private convertWidthToMediaQuery;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
*/
|
|
145
|
-
getSimpleBreakpoint(screenSize: number): SimpleBreakpoint;
|
|
146
|
-
ngOnDestroy(): void;
|
|
70
|
+
isPortrait(): boolean;
|
|
71
|
+
isLandscape(): boolean;
|
|
147
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewportService, never>;
|
|
148
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<ViewportService>;
|
|
149
74
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, OnChanges, SimpleChanges, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, UntypedFormBuilder
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { FormControlParentComponent } from '../../parent-components/form-control.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -20,7 +20,6 @@ export declare class DropdownFromDataComponent extends FormControlParentComponen
|
|
|
20
20
|
required: boolean;
|
|
21
21
|
useEnumIndexAsValue: boolean;
|
|
22
22
|
multiple: boolean;
|
|
23
|
-
control?: AbstractControl;
|
|
24
23
|
keys: any[];
|
|
25
24
|
values: any[];
|
|
26
25
|
Object: ObjectConstructor;
|
|
@@ -43,7 +42,7 @@ export declare class DropdownFromDataComponent extends FormControlParentComponen
|
|
|
43
42
|
setDisplayKey(key: any): any;
|
|
44
43
|
valueChanged(value: any): void;
|
|
45
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFromDataComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFromDataComponent, "kms-dropdown-from-data", never, { "optionsEnum": { "alias": "optionsEnum"; "required": false; }; "optionsPlainArray": { "alias": "optionsPlainArray"; "required": false; }; "optionsObjArray": { "alias": "optionsObjArray"; "required": false; }; "mapKey": { "alias": "mapKey"; "required": false; }; "mapValue": { "alias": "mapValue"; "required": false; }; "hasNullOption": { "alias": "hasNullOption"; "required": false; }; "translation": { "alias": "translation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "useEnumIndexAsValue": { "alias": "useEnumIndexAsValue"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; };
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFromDataComponent, "kms-dropdown-from-data", never, { "optionsEnum": { "alias": "optionsEnum"; "required": false; }; "optionsPlainArray": { "alias": "optionsPlainArray"; "required": false; }; "optionsObjArray": { "alias": "optionsObjArray"; "required": false; }; "mapKey": { "alias": "mapKey"; "required": false; }; "mapValue": { "alias": "mapValue"; "required": false; }; "hasNullOption": { "alias": "hasNullOption"; "required": false; }; "translation": { "alias": "translation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "useEnumIndexAsValue": { "alias": "useEnumIndexAsValue"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
46
|
}
|
|
48
47
|
/**
|
|
49
48
|
* Interface that defines the translation object in template
|
|
@@ -51,7 +50,6 @@ export declare class DropdownFromDataComponent extends FormControlParentComponen
|
|
|
51
50
|
interface ITranslation {
|
|
52
51
|
path: string;
|
|
53
52
|
isPrefix?: boolean;
|
|
54
|
-
useKeyAsValue?: boolean;
|
|
55
53
|
service: any;
|
|
56
54
|
}
|
|
57
55
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit, Renderer2, EventEmitter, ApplicationRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import { IconSize } from '../../models/iconSize.enum';
|
|
4
5
|
import { AttachedFileDTO } from '../../models/types/attached-file-dto.model';
|
|
5
|
-
import { IconSizePx } from '../icon/iconSize.enum';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FileInputComponent implements ControlValueAccessor, OnInit {
|
|
8
8
|
formBuilder: UntypedFormBuilder;
|
|
@@ -20,7 +20,7 @@ export declare class FileInputComponent implements ControlValueAccessor, OnInit
|
|
|
20
20
|
form: UntypedFormGroup;
|
|
21
21
|
subscriptions: Subscription[];
|
|
22
22
|
newImageLoading: boolean;
|
|
23
|
-
|
|
23
|
+
IconSize: typeof IconSize;
|
|
24
24
|
formDataChanged: EventEmitter<UntypedFormGroup>;
|
|
25
25
|
/**
|
|
26
26
|
* Constructor
|
|
@@ -22,14 +22,8 @@ export declare class IconComponent implements OnInit {
|
|
|
22
22
|
iconStyle: any;
|
|
23
23
|
/**
|
|
24
24
|
* Optional: Different size via CSS inline style.
|
|
25
|
-
* @deprecated. Please use size instead
|
|
26
25
|
*/
|
|
27
26
|
iconSize: IconSize;
|
|
28
|
-
/**
|
|
29
|
-
* Optional: Different size via CSS inline style.
|
|
30
|
-
* @deprecated. Please use size instead
|
|
31
|
-
*/
|
|
32
|
-
size?: string;
|
|
33
27
|
/**
|
|
34
28
|
* Dont use icon sprite
|
|
35
29
|
*/
|
|
@@ -44,5 +38,5 @@ export declare class IconComponent implements OnInit {
|
|
|
44
38
|
constructor(sanitizer: DomSanitizer);
|
|
45
39
|
ngOnInit(): void;
|
|
46
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kms-icon", never, { "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kms-icon", never, { "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "dontUseSprite": { "alias": "dontUseSprite"; "required": false; }; }, {}, never, never, false, never>;
|
|
48
42
|
}
|
|
@@ -9,14 +9,14 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class KMSAccordionItemComponent implements OnInit {
|
|
11
11
|
sanitizer: DomSanitizer;
|
|
12
|
+
itemTitle: string;
|
|
12
13
|
itemTitleTrustHtml: SafeHtml | undefined;
|
|
13
14
|
showAsCard: boolean;
|
|
14
15
|
isSmall: boolean;
|
|
15
16
|
expanded: boolean;
|
|
16
|
-
set itemTitle(val: string);
|
|
17
17
|
panelOpenState: boolean;
|
|
18
18
|
constructor(sanitizer: DomSanitizer);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<KMSAccordionItemComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KMSAccordionItemComponent, "kms-accordion-item", never, { "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KMSAccordionItemComponent, "kms-accordion-item", never, { "itemTitle": { "alias": "itemTitle"; "required": false; }; "showAsCard": { "alias": "showAsCard"; "required": false; }; "isSmall": { "alias": "isSmall"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, ["[itemTitleElement]", "*"], false, never>;
|
|
22
22
|
}
|
|
@@ -11,7 +11,6 @@ export declare class RadioButtonComponent extends ActionsParentComponent impleme
|
|
|
11
11
|
* Internal description id. Will be send in the output event when the radio button is selected.
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
|
-
radioButtonSize: number;
|
|
15
14
|
formControl: any;
|
|
16
15
|
selectAction(id: string): void;
|
|
17
16
|
constructor();
|
|
@@ -23,5 +22,5 @@ export declare class RadioButtonComponent extends ActionsParentComponent impleme
|
|
|
23
22
|
registerOnChange(fn: any): void;
|
|
24
23
|
registerOnTouched(fn: any): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kms-radiobutton", never, { "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kms-radiobutton", never, { "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
27
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconSize } from '../../models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TooltipIconComponent {
|
|
4
4
|
tooltipTitle: string;
|
|
@@ -7,7 +7,7 @@ export declare class TooltipIconComponent {
|
|
|
7
7
|
tooltipLinkUrl: string;
|
|
8
8
|
placement: string;
|
|
9
9
|
delay: number;
|
|
10
|
-
|
|
10
|
+
IconSize: typeof IconSize;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipIconComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipIconComponent, "kms-tooltip-icon", never, { "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipLinkText": { "alias": "tooltipLinkText"; "required": false; }; "tooltipLinkUrl": { "alias": "tooltipLinkUrl"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kms-ngx-ui/presentational",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.3.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/cdk": "16.2.
|
|
6
|
-
"@angular/common": "16.2.
|
|
7
|
-
"@angular/core": "16.2.
|
|
8
|
-
"@angular/forms": "16.2.
|
|
9
|
-
"@angular/google-maps": "
|
|
5
|
+
"@angular/cdk": "16.2.12",
|
|
6
|
+
"@angular/common": "16.2.12",
|
|
7
|
+
"@angular/core": "16.2.12",
|
|
8
|
+
"@angular/forms": "16.2.12",
|
|
9
|
+
"@angular/google-maps": "16.2.12",
|
|
10
10
|
"ngx-useful-swiper": "^9.0.5",
|
|
11
|
-
"@angular/material": "16.2.
|
|
12
|
-
"swiper": "^5.
|
|
11
|
+
"@angular/material": "16.2.12",
|
|
12
|
+
"swiper": "^5.4.5"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"ngx-translate": "0.0.1-security",
|
package/public-api.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './lib/kms-ngx-ui-presentational.component';
|
|
|
3
3
|
export * from './lib/kms-ngx-ui-presentational.module';
|
|
4
4
|
export * from './lib/pipes/custom-pipes.module';
|
|
5
5
|
export * from './lib/directives/directives.module';
|
|
6
|
-
export * from './lib/directives/size.directive';
|
|
7
6
|
export * from './lib/models/iconSize.enum';
|
|
8
7
|
export * from './lib/models/salutation.enum';
|
|
9
8
|
export * from './lib/ui/checkbox/checkbox.component';
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
align-items: center;
|
|
13
13
|
z-index: 999999;
|
|
14
|
+
background-color: white;
|
|
14
15
|
border-radius: 50%;
|
|
15
16
|
|
|
16
17
|
width: $size;
|
|
17
18
|
height: $size;
|
|
18
19
|
&-inner{
|
|
20
|
+
margin: 2px;
|
|
19
21
|
border-radius: 50%;
|
|
20
22
|
background-color: var(--primaryColor);
|
|
21
|
-
border: 2px solid white;
|
|
22
23
|
|
|
23
24
|
width: calc(#{$size} - 4px);
|
|
24
25
|
height: calc(#{$size} - 4px);
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
}
|
|
33
|
-
@media (max-width: $responsive-breakpoint
|
|
34
|
+
@media (max-width: $responsive-breakpoint) {
|
|
34
35
|
.scrollToTop {
|
|
35
36
|
bottom: calc(#{$size} / 2);
|
|
36
37
|
right: calc(#{$size} / 2);
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
&-primary svg use{
|
|
63
63
|
fill: var(--primaryColor);
|
|
64
64
|
}
|
|
65
|
-
&-
|
|
66
|
-
fill: var(--
|
|
65
|
+
&-secondary svg use{
|
|
66
|
+
fill: var(--primaryColor);
|
|
67
67
|
}
|
|
68
68
|
&-disabled svg use{
|
|
69
69
|
fill: var(--gray04);
|
|
@@ -111,5 +111,39 @@
|
|
|
111
111
|
pointer-events: none;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
&.is-rotating45 {
|
|
115
|
+
animation-name: spinanimation;
|
|
116
|
+
animation-duration: 3000ms;
|
|
117
|
+
transform: rotate(45deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.is-rotating90 {
|
|
121
|
+
animation-name: spinanimation;
|
|
122
|
+
animation-duration: 3000ms;
|
|
123
|
+
transform: rotate(90deg);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.is-rotating180 {
|
|
127
|
+
animation-name: spinanimation180;
|
|
128
|
+
animation-duration: 3000ms;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.is-rotating45Anti {
|
|
132
|
+
animation-name: spinanimation;
|
|
133
|
+
animation-duration: 3000ms;
|
|
134
|
+
transform: rotate(-45deg);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.is-rotating90Anti {
|
|
138
|
+
animation-name: spinanimation;
|
|
139
|
+
animation-duration: 3000ms;
|
|
140
|
+
transform: rotate(-90deg);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.is-rotating180Anti {
|
|
144
|
+
animation-name: spinanimation;
|
|
145
|
+
animation-duration: 3000ms;
|
|
146
|
+
transform: rotate(-180deg);
|
|
147
|
+
}
|
|
114
148
|
}
|
|
115
149
|
}
|