@kms-ngx-ui/presentational 0.0.24 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/README.md +28 -28
  2. package/{esm2015/kms-ngx-ui-presentational.js → esm2020/kms-ngx-ui-presentational.mjs} +4 -4
  3. package/esm2020/lib/directives/directives.module.mjs +40 -0
  4. package/{esm2015/lib/directives/mousewheel.directive.js → esm2020/lib/directives/mousewheel.directive.mjs} +56 -56
  5. package/{esm2015/lib/directives/sum-of-height.directive.js → esm2020/lib/directives/sum-of-height.directive.mjs} +74 -74
  6. package/{esm2015/lib/directives/swipe.directive.js → esm2020/lib/directives/swipe.directive.mjs} +183 -183
  7. package/esm2020/lib/directives/swipe.model.mjs +5 -0
  8. package/{esm2015/lib/directives/tooltip.directive.js → esm2020/lib/directives/tooltip.directive.mjs} +144 -144
  9. package/esm2020/lib/kms-ngx-ui-presentational.component.mjs +22 -0
  10. package/{esm2015/lib/kms-ngx-ui-presentational.module.js → esm2020/lib/kms-ngx-ui-presentational.module.mjs} +215 -217
  11. package/{esm2015/lib/kms-ngx-ui-presentational.service.js → esm2020/lib/kms-ngx-ui-presentational.service.mjs} +14 -14
  12. package/esm2020/lib/models/address.model.mjs +6 -0
  13. package/{esm2015/lib/models/iconSize.enum.js → esm2020/lib/models/iconSize.enum.mjs} +17 -17
  14. package/{esm2015/lib/models/image-snippet.model.js → esm2020/lib/models/image-snippet.model.mjs} +18 -18
  15. package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +5 -5
  16. package/{esm2015/lib/models/is-value.function.js → esm2020/lib/models/is-value.function.mjs} +17 -17
  17. package/{esm2015/lib/models/salutation.enum.js → esm2020/lib/models/salutation.enum.mjs} +8 -8
  18. package/{esm2015/lib/models/types/attached-file-dto.model.js → esm2020/lib/models/types/attached-file-dto.model.mjs} +6 -6
  19. package/{esm2015/lib/models/types/nullable.type.js → esm2020/lib/models/types/nullable.type.mjs} +5 -5
  20. package/{esm2015/lib/parent-components/actions.component.js → esm2020/lib/parent-components/actions.component.mjs} +56 -56
  21. package/esm2020/lib/parent-components/form-control.component.mjs +75 -0
  22. package/esm2020/lib/parent-components/form.component.mjs +78 -0
  23. package/{esm2015/lib/pipes/custom-pipes.module.js → esm2020/lib/pipes/custom-pipes.module.mjs} +71 -71
  24. package/esm2020/lib/pipes/decode-uri.pipe.mjs +19 -0
  25. package/esm2020/lib/pipes/encode-uri.pipe.mjs +19 -0
  26. package/{esm2015/lib/pipes/integer-currency.pipe.js → esm2020/lib/pipes/integer-currency.pipe.mjs} +27 -27
  27. package/{esm2015/lib/pipes/safe-html.pipe.js → esm2020/lib/pipes/safe-html.pipe.mjs} +23 -23
  28. package/{esm2015/lib/pipes/safe-resource-url.pipe.js → esm2020/lib/pipes/safe-resource-url.pipe.mjs} +23 -23
  29. package/{esm2015/lib/pipes/safe-style.pipe.js → esm2020/lib/pipes/safe-style.pipe.mjs} +23 -23
  30. package/{esm2015/lib/pipes/safe-url.pipe.js → esm2020/lib/pipes/safe-url.pipe.mjs} +23 -23
  31. package/{esm2015/lib/pipes/to-number.pipe.js → esm2020/lib/pipes/to-number.pipe.mjs} +23 -23
  32. package/{esm2015/lib/pipes/trim.pipe.js → esm2020/lib/pipes/trim.pipe.mjs} +20 -20
  33. package/{esm2015/lib/pipes/typeof.pipe.js → esm2020/lib/pipes/typeof.pipe.mjs} +16 -16
  34. package/esm2020/lib/services/viewport.service.mjs +216 -0
  35. package/esm2020/lib/ui/back-to-top/back-to-top.component.mjs +49 -0
  36. package/{esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js → esm2020/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs} +6 -6
  37. package/esm2020/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +58 -0
  38. package/{esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js → esm2020/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs} +2 -2
  39. package/esm2020/lib/ui/checkbox/checkbox.component.mjs +71 -0
  40. package/esm2020/lib/ui/color-input/color-input.component.mjs +76 -0
  41. package/esm2020/lib/ui/dropdown-from-data/dropdown-from-data.component.mjs +165 -0
  42. package/esm2020/lib/ui/enum-radiogroup/enum-radiogroup.component.mjs +53 -0
  43. package/esm2020/lib/ui/file-input/file-input.component.mjs +232 -0
  44. package/esm2020/lib/ui/flyout/flyout.component.mjs +119 -0
  45. package/esm2020/lib/ui/generic-dialog/generic-dialog.component.mjs +54 -0
  46. package/esm2020/lib/ui/icon/icon.component.mjs +48 -0
  47. package/esm2020/lib/ui/icon/iconSize.enum.mjs +17 -0
  48. package/esm2020/lib/ui/image-slider/image-slider.component.mjs +189 -0
  49. package/esm2020/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +40 -0
  50. package/esm2020/lib/ui/loader/loader.component.mjs +21 -0
  51. package/esm2020/lib/ui/map/map.component.mjs +116 -0
  52. package/esm2020/lib/ui/radiobutton/radiobutton.component.mjs +73 -0
  53. package/esm2020/lib/ui/salutation-dropdown/salutation-dropdown.component.mjs +55 -0
  54. package/esm2020/lib/ui/salutation-radiogroup/salutation-radiogroup.component.mjs +49 -0
  55. package/esm2020/lib/ui/time-input/time-input.component.mjs +83 -0
  56. package/esm2020/lib/ui/tooltip/tooltip.component.mjs +16 -0
  57. package/esm2020/lib/ui/tooltip-icon/tooltip-icon.component.mjs +35 -0
  58. package/esm2020/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.mjs +82 -0
  59. package/esm2020/public-api.mjs +49 -0
  60. package/fesm2015/kms-ngx-ui-presentational.mjs +3013 -0
  61. package/fesm2015/kms-ngx-ui-presentational.mjs.map +1 -0
  62. package/{fesm2015/kms-ngx-ui-presentational.js → fesm2020/kms-ngx-ui-presentational.mjs} +2894 -3108
  63. package/fesm2020/kms-ngx-ui-presentational.mjs.map +1 -0
  64. package/{kms-ngx-ui-presentational.d.ts → index.d.ts} +5 -5
  65. package/lib/directives/directives.module.d.ts +11 -13
  66. package/lib/directives/mousewheel.directive.d.ts +15 -15
  67. package/lib/directives/sum-of-height.directive.d.ts +31 -31
  68. package/lib/directives/swipe.directive.d.ts +45 -45
  69. package/lib/directives/swipe.model.d.ts +49 -49
  70. package/lib/directives/tooltip.directive.d.ts +29 -29
  71. package/lib/kms-ngx-ui-presentational.component.d.ts +8 -8
  72. package/lib/kms-ngx-ui-presentational.module.d.ts +47 -47
  73. package/lib/kms-ngx-ui-presentational.service.d.ts +6 -6
  74. package/lib/models/address.model.d.ts +14 -14
  75. package/lib/models/iconSize.enum.d.ts +15 -15
  76. package/lib/models/image-snippet.model.d.ts +15 -15
  77. package/lib/models/index.d.ts +4 -4
  78. package/lib/models/is-value.function.d.ts +9 -9
  79. package/lib/models/salutation.enum.d.ts +5 -5
  80. package/lib/models/types/attached-file-dto.model.d.ts +11 -11
  81. package/lib/models/types/nullable.type.d.ts +4 -4
  82. package/lib/parent-components/actions.component.d.ts +31 -31
  83. package/lib/parent-components/form-control.component.d.ts +27 -27
  84. package/lib/parent-components/form.component.d.ts +34 -40
  85. package/lib/pipes/custom-pipes.module.d.ts +17 -17
  86. package/lib/pipes/decode-uri.pipe.d.ts +10 -10
  87. package/lib/pipes/encode-uri.pipe.d.ts +10 -10
  88. package/lib/pipes/integer-currency.pipe.d.ts +13 -13
  89. package/lib/pipes/safe-html.pipe.d.ts +13 -13
  90. package/lib/pipes/safe-resource-url.pipe.d.ts +13 -13
  91. package/lib/pipes/safe-style.pipe.d.ts +13 -13
  92. package/lib/pipes/safe-url.pipe.d.ts +13 -13
  93. package/lib/pipes/to-number.pipe.d.ts +10 -10
  94. package/lib/pipes/trim.pipe.d.ts +10 -10
  95. package/lib/pipes/typeof.pipe.d.ts +7 -7
  96. package/lib/services/viewport.service.d.ts +74 -83
  97. package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -10
  98. package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -4
  99. package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +19 -19
  100. package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +9 -9
  101. package/lib/ui/checkbox/checkbox.component.d.ts +31 -31
  102. package/lib/ui/color-input/color-input.component.d.ts +19 -19
  103. package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +55 -55
  104. package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +17 -17
  105. package/lib/ui/file-input/file-input.component.d.ts +89 -89
  106. package/lib/ui/flyout/flyout.component.d.ts +32 -32
  107. package/lib/ui/generic-dialog/generic-dialog.component.d.ts +26 -26
  108. package/lib/ui/icon/icon.component.d.ts +42 -48
  109. package/lib/ui/icon/iconSize.enum.d.ts +15 -25
  110. package/lib/ui/image-slider/image-slider.component.d.ts +62 -62
  111. package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +22 -22
  112. package/lib/ui/loader/loader.component.d.ts +9 -9
  113. package/lib/ui/map/map.component.d.ts +70 -69
  114. package/lib/ui/radiobutton/radiobutton.component.d.ts +26 -27
  115. package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +17 -17
  116. package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +15 -15
  117. package/lib/ui/time-input/time-input.component.d.ts +22 -22
  118. package/lib/ui/tooltip/tooltip.component.d.ts +6 -6
  119. package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +13 -13
  120. package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +27 -27
  121. package/package.json +27 -14
  122. package/public-api.d.ts +45 -46
  123. package/src/lib/ui/back-to-top/back-to-top.component.scss +46 -45
  124. package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +2 -2
  125. package/src/lib/ui/checkbox/checkbox.component.scss +48 -48
  126. package/src/lib/ui/color-input/color-input.component.scss +38 -38
  127. package/src/lib/ui/file-input/file-input.component.scss +2 -2
  128. package/src/lib/ui/flyout/flyout.component.scss +34 -34
  129. package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -59
  130. package/src/lib/ui/icon/icon.component.scss +148 -114
  131. package/src/lib/ui/image-slider/image-slider.component.scss +219 -219
  132. package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -95
  133. package/src/lib/ui/radiobutton/radiobutton.component.scss +31 -31
  134. package/src/lib/ui/time-input/time-input.component.scss +10 -10
  135. package/src/lib/ui/tooltip/tooltip.component.scss +26 -26
  136. package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -2
  137. package/src/styles/mixins.scss +8 -8
  138. package/src/styles/styles.scss +30 -31
  139. package/bundles/kms-ngx-ui-presentational.umd.js +0 -3751
  140. package/bundles/kms-ngx-ui-presentational.umd.js.map +0 -1
  141. package/esm2015/lib/directives/directives.module.js +0 -45
  142. package/esm2015/lib/directives/size.directive.js +0 -21
  143. package/esm2015/lib/directives/swipe.model.js +0 -5
  144. package/esm2015/lib/kms-ngx-ui-presentational.component.js +0 -26
  145. package/esm2015/lib/models/address.model.js +0 -6
  146. package/esm2015/lib/parent-components/colorable.component.js +0 -35
  147. package/esm2015/lib/parent-components/form-control.component.js +0 -76
  148. package/esm2015/lib/parent-components/form.component.js +0 -99
  149. package/esm2015/lib/pipes/decode-uri.pipe.js +0 -19
  150. package/esm2015/lib/pipes/encode-uri.pipe.js +0 -19
  151. package/esm2015/lib/services/viewport.service.js +0 -242
  152. package/esm2015/lib/ui/back-to-top/back-to-top.component.js +0 -52
  153. package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +0 -62
  154. package/esm2015/lib/ui/checkbox/checkbox.component.js +0 -76
  155. package/esm2015/lib/ui/color-input/color-input.component.js +0 -81
  156. package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +0 -169
  157. package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +0 -57
  158. package/esm2015/lib/ui/file-input/file-input.component.js +0 -237
  159. package/esm2015/lib/ui/flyout/flyout.component.js +0 -125
  160. package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +0 -58
  161. package/esm2015/lib/ui/icon/icon.component.js +0 -55
  162. package/esm2015/lib/ui/icon/iconSize.enum.js +0 -28
  163. package/esm2015/lib/ui/image-slider/image-slider.component.js +0 -193
  164. package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +0 -44
  165. package/esm2015/lib/ui/loader/loader.component.js +0 -25
  166. package/esm2015/lib/ui/map/map.component.js +0 -120
  167. package/esm2015/lib/ui/radiobutton/radiobutton.component.js +0 -82
  168. package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +0 -59
  169. package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +0 -53
  170. package/esm2015/lib/ui/time-input/time-input.component.js +0 -88
  171. package/esm2015/lib/ui/tooltip/tooltip.component.js +0 -20
  172. package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +0 -40
  173. package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +0 -86
  174. package/esm2015/public-api.js +0 -50
  175. package/fesm2015/kms-ngx-ui-presentational.js.map +0 -1
  176. package/lib/directives/size.directive.d.ts +0 -10
  177. package/lib/parent-components/colorable.component.d.ts +0 -10
  178. package/src/styles/animations.scss +0 -47
@@ -1,48 +1,42 @@
1
- /**
2
- * @copyright KMS GmbH
3
- */
4
- import { OnInit } from '@angular/core';
5
- import { DomSanitizer } from '@angular/platform-browser';
6
- import { IconSize } from './iconSize.enum';
7
- import * as i0 from "@angular/core";
8
- export declare class IconComponent implements OnInit {
9
- sanitizer: DomSanitizer;
10
- /**
11
- * Required: Name of the SVG icon inside your sprite sheet file with name 'icons.svg'.
12
- * Pass 'none' if no icon should be rendered.
13
- */
14
- icon: string | '';
15
- /**
16
- * Optional: Different appearance via CSS class defined in this component´s style sheet.
17
- */
18
- iconClass: string | '';
19
- /**
20
- * Optional: Different appearance via CSS inline style.
21
- */
22
- iconStyle: any;
23
- /**
24
- * Optional: Different size via CSS inline style.
25
- * @deprecated. Please use size instead
26
- */
27
- iconSize: IconSize;
28
- /**
29
- * Optional: Different size via CSS inline style.
30
- * @deprecated. Please use size instead
31
- */
32
- size?: string;
33
- /**
34
- * Dont use icon sprite
35
- */
36
- dontUseSprite: boolean;
37
- IconSize: typeof IconSize;
38
- Version: string;
39
- timestamp: number;
40
- /**
41
- * Renders this icon from SVG sprite sheet
42
- */
43
- iconToShow: string | '';
44
- constructor(sanitizer: DomSanitizer);
45
- ngOnInit(): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kms-icon", never, { "icon": "icon"; "iconClass": "iconClass"; "iconStyle": "iconStyle"; "iconSize": "iconSize"; "size": "size"; "dontUseSprite": "dontUseSprite"; }, {}, never, never>;
48
- }
1
+ /**
2
+ * @copyright KMS GmbH
3
+ */
4
+ import { OnInit } from '@angular/core';
5
+ import { DomSanitizer } from '@angular/platform-browser';
6
+ import { IconSize } from './iconSize.enum';
7
+ import * as i0 from "@angular/core";
8
+ export declare class IconComponent implements OnInit {
9
+ sanitizer: DomSanitizer;
10
+ /**
11
+ * Required: Name of the SVG icon inside your sprite sheet file with name 'icons.svg'.
12
+ * Pass 'none' if no icon should be rendered.
13
+ */
14
+ icon: string | '';
15
+ /**
16
+ * Optional: Different appearance via CSS class defined in this component´s style sheet.
17
+ */
18
+ iconClass: string | '';
19
+ /**
20
+ * Optional: Different appearance via CSS inline style.
21
+ */
22
+ iconStyle: any;
23
+ /**
24
+ * Optional: Different size via CSS inline style.
25
+ */
26
+ iconSize: IconSize;
27
+ /**
28
+ * Dont use icon sprite
29
+ */
30
+ dontUseSprite: boolean;
31
+ IconSize: typeof IconSize;
32
+ Version: string;
33
+ timestamp: number;
34
+ /**
35
+ * Renders this icon from SVG sprite sheet
36
+ */
37
+ iconToShow: string | '';
38
+ constructor(sanitizer: DomSanitizer);
39
+ ngOnInit(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "kms-icon", never, { "icon": "icon"; "iconClass": "iconClass"; "iconStyle": "iconStyle"; "iconSize": "iconSize"; "dontUseSprite": "dontUseSprite"; }, {}, never, never, false>;
42
+ }
@@ -1,25 +1,15 @@
1
- /*!
2
- * @copyright FLYACTS GmbH 2019
3
- */
4
- export declare enum IconSize {
5
- FULLSIZE = "size-full",
6
- TINY = "size-16",
7
- SMALLER = "size-20",
8
- SMALL = "size-32",
9
- MEDIUM = "size-64",
10
- LARGE = "size-128",
11
- XL = "size-256",
12
- XXL = "size-512",
13
- XXXL = "size-1024",
14
- NONE = "NONE"
15
- }
16
- export declare enum IconSizePx {
17
- TINY = 16,
18
- SMALLER = 20,
19
- SMALL = 32,
20
- MEDIUM = 64,
21
- LARGE = 128,
22
- XL = 256,
23
- XXL = 512,
24
- XXXL = 1024
25
- }
1
+ /*!
2
+ * @copyright FLYACTS GmbH 2019
3
+ */
4
+ export declare enum IconSize {
5
+ FULLSIZE = "size-full",
6
+ TINY = "size-16",
7
+ SMALLER = "size-20",
8
+ SMALL = "size-32",
9
+ MEDIUM = "size-64",
10
+ LARGE = "size-128",
11
+ XL = "size-256",
12
+ XXL = "size-512",
13
+ XXXL = "size-1024",
14
+ NONE = "NONE"
15
+ }
@@ -1,62 +1,62 @@
1
- /*!
2
- * @copyright FLYACTS GmbH 2019
3
- */
4
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
5
- import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
6
- import { SwiperComponent } from 'ngx-useful-swiper';
7
- import { SwiperOptions } from 'swiper';
8
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
9
- import { ImageSnippet } from '../../models/image-snippet.model';
10
- import { SwipeMoveEvent, SwipeOptions, SwipeReleaseEvent } from '../../directives/swipe.model';
11
- import * as i0 from "@angular/core";
12
- export declare class ImageSliderComponent implements OnInit, OnChanges {
13
- sanitizer: DomSanitizer;
14
- slides: string[] | undefined;
15
- editMode: boolean;
16
- imagesTOSave: ImageSnippet[] | undefined;
17
- orderChanged: EventEmitter<ImageSnippet[]>;
18
- deleteImageEvent: EventEmitter<number>;
19
- /**
20
- * Optional: Define Swipe behaviour configuration.
21
- * Default is 10% for the threshold definition until a swipe triggers next/previous slide.
22
- */
23
- swipeConfig: SwipeOptions;
24
- selectedSlide: number;
25
- checkedImageIndex?: number;
26
- selectedSlideImage: SafeStyle | undefined;
27
- isLastClickedInSliderImage: boolean;
28
- usefulSwiper: SwiperComponent | undefined;
29
- config: SwiperOptions;
30
- constructor(sanitizer: DomSanitizer);
31
- ngOnInit(): void;
32
- onKeydownHandler(event: KeyboardEvent): void;
33
- /**
34
- * Slide follows the finger or mouse according to it´s move delta.
35
- * @param event SwipeMoveEvent
36
- */
37
- handleMoveEvent(event: SwipeMoveEvent): void;
38
- /**
39
- * Mouse up or slide container was left.
40
- * @param event SwipeReleaseEvent
41
- */
42
- handleReleaseEvent(event: SwipeReleaseEvent): void;
43
- lastClicked(): void;
44
- noLastClicked(): void;
45
- scrollLeft(): void;
46
- scrollRight(): void;
47
- nextSlide(): void;
48
- previousSlide(): void;
49
- slideTo(index: number): void;
50
- openSlide(number: number): void;
51
- ngOnChanges(_changes: SimpleChanges): void;
52
- /**
53
- * Re-order slides and notify parent component
54
- */
55
- drop(event: CdkDragDrop<string[]>): void;
56
- /**
57
- * Send image index to parent to perform delete
58
- */
59
- deleteImage(index: number): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageSliderComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageSliderComponent, "kms-image-slider", never, { "slides": "slides"; "editMode": "editMode"; "imagesTOSave": "imagesTOSave"; "swipeConfig": "swipeConfig"; }, { "orderChanged": "orderChanged"; "deleteImageEvent": "deleteImageEvent"; }, never, ["[description]", "*"]>;
62
- }
1
+ /*!
2
+ * @copyright FLYACTS GmbH 2019
3
+ */
4
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
5
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
6
+ import { SwiperComponent } from 'ngx-useful-swiper';
7
+ import { SwiperOptions } from 'swiper';
8
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
9
+ import { ImageSnippet } from '../../models/image-snippet.model';
10
+ import { SwipeMoveEvent, SwipeOptions, SwipeReleaseEvent } from '../../directives/swipe.model';
11
+ import * as i0 from "@angular/core";
12
+ export declare class ImageSliderComponent implements OnInit, OnChanges {
13
+ sanitizer: DomSanitizer;
14
+ slides: string[] | undefined;
15
+ editMode: boolean;
16
+ imagesTOSave: ImageSnippet[] | undefined;
17
+ orderChanged: EventEmitter<ImageSnippet[]>;
18
+ deleteImageEvent: EventEmitter<number>;
19
+ /**
20
+ * Optional: Define Swipe behaviour configuration.
21
+ * Default is 10% for the threshold definition until a swipe triggers next/previous slide.
22
+ */
23
+ swipeConfig: SwipeOptions;
24
+ selectedSlide: number;
25
+ checkedImageIndex?: number;
26
+ selectedSlideImage: SafeStyle | undefined;
27
+ isLastClickedInSliderImage: boolean;
28
+ usefulSwiper: SwiperComponent | undefined;
29
+ config: SwiperOptions;
30
+ constructor(sanitizer: DomSanitizer);
31
+ ngOnInit(): void;
32
+ onKeydownHandler(event: KeyboardEvent): void;
33
+ /**
34
+ * Slide follows the finger or mouse according to it´s move delta.
35
+ * @param event SwipeMoveEvent
36
+ */
37
+ handleMoveEvent(event: SwipeMoveEvent): void;
38
+ /**
39
+ * Mouse up or slide container was left.
40
+ * @param event SwipeReleaseEvent
41
+ */
42
+ handleReleaseEvent(event: SwipeReleaseEvent): void;
43
+ lastClicked(): void;
44
+ noLastClicked(): void;
45
+ scrollLeft(): void;
46
+ scrollRight(): void;
47
+ nextSlide(): void;
48
+ previousSlide(): void;
49
+ slideTo(index: number): void;
50
+ openSlide(number: number): void;
51
+ ngOnChanges(_changes: SimpleChanges): void;
52
+ /**
53
+ * Re-order slides and notify parent component
54
+ */
55
+ drop(event: CdkDragDrop<string[]>): void;
56
+ /**
57
+ * Send image index to parent to perform delete
58
+ */
59
+ deleteImage(index: number): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageSliderComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageSliderComponent, "kms-image-slider", never, { "slides": "slides"; "editMode": "editMode"; "imagesTOSave": "imagesTOSave"; "swipeConfig": "swipeConfig"; }, { "orderChanged": "orderChanged"; "deleteImageEvent": "deleteImageEvent"; }, never, ["[description]", "*"], false>;
62
+ }
@@ -1,22 +1,22 @@
1
- /*!
2
- * @copyright FLYACTS GmbH 2019
3
- */
4
- import { OnInit } from '@angular/core';
5
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * A generic dialog component
9
- */
10
- export declare class KMSAccordionItemComponent implements OnInit {
11
- sanitizer: DomSanitizer;
12
- itemTitle: string;
13
- itemTitleTrustHtml: SafeHtml | undefined;
14
- showAsCard: boolean;
15
- isSmall: boolean;
16
- expanded: boolean;
17
- panelOpenState: boolean;
18
- constructor(sanitizer: DomSanitizer);
19
- ngOnInit(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<KMSAccordionItemComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<KMSAccordionItemComponent, "kms-accordion-item", never, { "itemTitle": "itemTitle"; "showAsCard": "showAsCard"; "isSmall": "isSmall"; "expanded": "expanded"; }, {}, never, ["[itemTitleElement]", "*"]>;
22
- }
1
+ /*!
2
+ * @copyright FLYACTS GmbH 2019
3
+ */
4
+ import { OnInit } from '@angular/core';
5
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * A generic dialog component
9
+ */
10
+ export declare class KMSAccordionItemComponent implements OnInit {
11
+ sanitizer: DomSanitizer;
12
+ itemTitle: string;
13
+ itemTitleTrustHtml: SafeHtml | undefined;
14
+ showAsCard: boolean;
15
+ isSmall: boolean;
16
+ expanded: boolean;
17
+ panelOpenState: boolean;
18
+ constructor(sanitizer: DomSanitizer);
19
+ ngOnInit(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<KMSAccordionItemComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<KMSAccordionItemComponent, "kms-accordion-item", never, { "itemTitle": "itemTitle"; "showAsCard": "showAsCard"; "isSmall": "isSmall"; "expanded": "expanded"; }, {}, never, ["[itemTitleElement]", "*"], false>;
22
+ }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LoaderComponent implements OnInit {
4
- loading: boolean;
5
- constructor();
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "kms-loader", never, { "loading": "loading"; }, {}, never, never>;
9
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoaderComponent implements OnInit {
4
+ loading: boolean;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "kms-loader", never, { "loading": "loading"; }, {}, never, never, false>;
9
+ }
@@ -1,69 +1,70 @@
1
- /// <reference types="googlemaps" />
2
- /*!
3
- * @copyright FLYACTS GmbH 2019
4
- */
5
- import { OnInit } from '@angular/core';
6
- import { Subscription } from 'rxjs';
7
- import { Address } from '../../models/address.model';
8
- import { ViewportService } from '../../services/viewport.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * MarkerOptions class for Marker
12
- */
13
- export declare class MarkerOptions {
14
- animation: number;
15
- }
16
- /**
17
- * MarkerLabel class for Marker
18
- */
19
- export declare class MarkerLabel {
20
- color: string;
21
- text: string;
22
- }
23
- /**
24
- * Marker class
25
- */
26
- export declare class Marker {
27
- position: google.maps.LatLngLiteral;
28
- label: MarkerLabel;
29
- title: string;
30
- options: MarkerOptions;
31
- }
32
- /**
33
- * Component to show marker on google map for specific address
34
- */
35
- export declare class MapComponent implements OnInit {
36
- private viewPortService;
37
- data: Address;
38
- markers: Marker[];
39
- geoDataFoundForAddress: boolean;
40
- widthSet: boolean;
41
- width: string;
42
- zoom: number;
43
- center: google.maps.LatLngLiteral;
44
- options: google.maps.MapOptions;
45
- google: any;
46
- geocoder: any;
47
- viewportSubscription?: Subscription;
48
- constructor(viewPortService: ViewportService);
49
- ngOnInit(): void;
50
- /**
51
- * Asks google for geocoordinates of a given address string
52
- * @input address as string
53
- */
54
- findLocation(address: string): void;
55
- /**
56
- * Adds a marker to the map
57
- */
58
- addMarker(): void;
59
- /**
60
- * Zooms in into map
61
- */
62
- zoomIn(): void;
63
- /**
64
- * Zooms out from map
65
- */
66
- zoomOut(): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "kms-map", never, { "data": "data"; }, {}, never, never>;
69
- }
1
+ /// <reference types="google.maps" />
2
+ /// <reference types="googlemaps" />
3
+ /*!
4
+ * @copyright FLYACTS GmbH 2019
5
+ */
6
+ import { OnInit } from '@angular/core';
7
+ import { Subscription } from 'rxjs';
8
+ import { Address } from '../../models/address.model';
9
+ import { ViewportService } from '../../services/viewport.service';
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ * MarkerOptions class for Marker
13
+ */
14
+ export declare class MarkerOptions {
15
+ animation: number;
16
+ }
17
+ /**
18
+ * MarkerLabel class for Marker
19
+ */
20
+ export declare class MarkerLabel {
21
+ color: string;
22
+ text: string;
23
+ }
24
+ /**
25
+ * Marker class
26
+ */
27
+ export declare class Marker {
28
+ position: google.maps.LatLngLiteral;
29
+ label: MarkerLabel;
30
+ title: string;
31
+ options: MarkerOptions;
32
+ }
33
+ /**
34
+ * Component to show marker on google map for specific address
35
+ */
36
+ export declare class MapComponent implements OnInit {
37
+ private viewPortService;
38
+ data: Address;
39
+ markers: Marker[];
40
+ geoDataFoundForAddress: boolean;
41
+ widthSet: boolean;
42
+ width: string;
43
+ zoom: number;
44
+ center: google.maps.LatLngLiteral;
45
+ options: google.maps.MapOptions;
46
+ google: any;
47
+ geocoder: any;
48
+ viewportSubscription?: Subscription;
49
+ constructor(viewPortService: ViewportService);
50
+ ngOnInit(): void;
51
+ /**
52
+ * Asks google for geocoordinates of a given address string
53
+ * @input address as string
54
+ */
55
+ findLocation(address: string): void;
56
+ /**
57
+ * Adds a marker to the map
58
+ */
59
+ addMarker(): void;
60
+ /**
61
+ * Zooms in into map
62
+ */
63
+ zoomIn(): void;
64
+ /**
65
+ * Zooms out from map
66
+ */
67
+ zoomOut(): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "kms-map", never, { "data": "data"; }, {}, never, never, false>;
70
+ }
@@ -1,27 +1,26 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import { ActionsParentComponent } from '../../parent-components/actions.component';
3
- import * as i0 from "@angular/core";
4
- export declare class RadioButtonComponent extends ActionsParentComponent implements ControlValueAccessor {
5
- /**
6
- * Internal description name. All radio buttons with the same name belong to the same group.
7
- * User can select exactly one of the radio buttons from the same group.
8
- */
9
- name: string;
10
- /**
11
- * Internal description id. Will be send in the output event when the radio button is selected.
12
- */
13
- id: string;
14
- radioButtonSize: number;
15
- formControl: any;
16
- selectAction(id: string): void;
17
- constructor();
18
- onChange: any;
19
- onTouch: any;
20
- get value(): boolean;
21
- set value(value: boolean);
22
- writeValue(value: any): void;
23
- registerOnChange(fn: any): void;
24
- registerOnTouched(fn: any): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kms-radiobutton", never, { "name": "name"; "id": "id"; "radioButtonSize": "radioButtonSize"; "formControl": "formControl"; }, {}, never, ["*"]>;
27
- }
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import { ActionsParentComponent } from '../../parent-components/actions.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RadioButtonComponent extends ActionsParentComponent implements ControlValueAccessor {
5
+ /**
6
+ * Internal description name. All radio buttons with the same name belong to the same group.
7
+ * User can select exactly one of the radio buttons from the same group.
8
+ */
9
+ name: string;
10
+ /**
11
+ * Internal description id. Will be send in the output event when the radio button is selected.
12
+ */
13
+ id: string;
14
+ formControl: any;
15
+ selectAction(id: string): void;
16
+ constructor();
17
+ onChange: any;
18
+ onTouch: any;
19
+ get value(): boolean;
20
+ set value(value: boolean);
21
+ writeValue(value: any): void;
22
+ registerOnChange(fn: any): void;
23
+ registerOnTouched(fn: any): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kms-radiobutton", never, { "name": "name"; "id": "id"; "formControl": "formControl"; }, {}, never, ["*"], false>;
26
+ }
@@ -1,17 +1,17 @@
1
- import { OnInit, Renderer2 } from '@angular/core';
2
- import { ControlValueAccessor, FormBuilder } from '@angular/forms';
3
- import { NullAble } from '../../models';
4
- import { SalutationEnum } from '../../models/salutation.enum';
5
- import { FormControlParentComponent } from './../../parent-components/form-control.component';
6
- import * as i0 from "@angular/core";
7
- export declare class SalutationDropdownComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
8
- formBuilder: FormBuilder;
9
- renderer: Renderer2;
10
- placeholder: NullAble<String>;
11
- SalutationEnum: typeof SalutationEnum;
12
- Object: ObjectConstructor;
13
- constructor(formBuilder: FormBuilder, renderer: Renderer2);
14
- ngOnInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SalutationDropdownComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<SalutationDropdownComponent, "kms-salutation-dropdown", never, { "placeholder": "placeholder"; }, {}, never, never>;
17
- }
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
3
+ import { NullAble } from '../../models';
4
+ import { SalutationEnum } from '../../models/salutation.enum';
5
+ import { FormControlParentComponent } from './../../parent-components/form-control.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SalutationDropdownComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
8
+ formBuilder: UntypedFormBuilder;
9
+ renderer: Renderer2;
10
+ placeholder: NullAble<String>;
11
+ SalutationEnum: typeof SalutationEnum;
12
+ Object: ObjectConstructor;
13
+ constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SalutationDropdownComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SalutationDropdownComponent, "kms-salutation-dropdown", never, { "placeholder": "placeholder"; }, {}, never, never, false>;
17
+ }
@@ -1,15 +1,15 @@
1
- import { OnInit, Renderer2 } from '@angular/core';
2
- import { ControlValueAccessor, FormBuilder } from '@angular/forms';
3
- import { SalutationEnum } from '../../models/salutation.enum';
4
- import { FormControlParentComponent } from '../../parent-components/form-control.component';
5
- import * as i0 from "@angular/core";
6
- export declare class SalutationRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
7
- formBuilder: FormBuilder;
8
- renderer: Renderer2;
9
- SalutationEnum: typeof SalutationEnum;
10
- Object: ObjectConstructor;
11
- constructor(formBuilder: FormBuilder, renderer: Renderer2);
12
- ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SalutationRadiogroupComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SalutationRadiogroupComponent, "kms-salutation-radiogroup", never, {}, {}, never, never>;
15
- }
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
3
+ import { SalutationEnum } from '../../models/salutation.enum';
4
+ import { FormControlParentComponent } from '../../parent-components/form-control.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SalutationRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
7
+ formBuilder: UntypedFormBuilder;
8
+ renderer: Renderer2;
9
+ SalutationEnum: typeof SalutationEnum;
10
+ Object: ObjectConstructor;
11
+ constructor(formBuilder: UntypedFormBuilder, renderer: Renderer2);
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SalutationRadiogroupComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SalutationRadiogroupComponent, "kms-salutation-radiogroup", never, {}, {}, never, never, false>;
15
+ }
@@ -1,22 +1,22 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class TimeInputComponent implements OnInit, ControlValueAccessor {
5
- formBuilder: FormBuilder;
6
- form: FormGroup;
7
- h: string;
8
- m: string;
9
- constructor(formBuilder: FormBuilder);
10
- get value(): string;
11
- set value(value: string);
12
- writeValue(value: string): void;
13
- ngOnInit(): void;
14
- getNewOrDefault(): string;
15
- registerOnChange(fn: any): void;
16
- registerOnTouched(fn: any): void;
17
- onChange: any;
18
- onTouch: any;
19
- onTouched: any;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeInputComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<TimeInputComponent, "kms-time-input", never, {}, {}, never, never>;
22
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TimeInputComponent implements OnInit, ControlValueAccessor {
5
+ formBuilder: UntypedFormBuilder;
6
+ form: UntypedFormGroup;
7
+ h: string;
8
+ m: string;
9
+ constructor(formBuilder: UntypedFormBuilder);
10
+ get value(): string;
11
+ set value(value: string);
12
+ writeValue(value: string): void;
13
+ ngOnInit(): void;
14
+ getNewOrDefault(): string;
15
+ registerOnChange(fn: any): void;
16
+ registerOnTouched(fn: any): void;
17
+ onChange: any;
18
+ onTouch: any;
19
+ onTouched: any;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeInputComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeInputComponent, "kms-time-input", never, {}, {}, never, never, false>;
22
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TooltipComponent {
3
- tooltipTitle: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "kms-tooltip-element", never, { "tooltipTitle": "tooltipTitle"; }, {}, never, ["*"]>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class TooltipComponent {
3
+ tooltipTitle: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "kms-tooltip-element", never, { "tooltipTitle": "tooltipTitle"; }, {}, never, ["*"], false>;
6
+ }