@festo-ui/angular 4.0.3-pre-20221213.1 → 5.0.0-dev.105

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 (251) hide show
  1. package/README.md +13 -53
  2. package/css/bundle.css +1 -1
  3. package/css/image-gallery.css +1 -1
  4. package/css/popover.css +1 -1
  5. package/esm2020/festo-ui-angular.mjs +2 -2
  6. package/esm2020/lib/components/accordion/accordion-header/accordion-header.component.mjs +6 -6
  7. package/esm2020/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +6 -6
  8. package/esm2020/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +11 -11
  9. package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +41 -36
  10. package/esm2020/lib/components/accordion/accordion.component.mjs +21 -21
  11. package/esm2020/lib/components/accordion/index.mjs +1 -1
  12. package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +9 -6
  13. package/esm2020/lib/components/buttons/button/button.component.mjs +8 -7
  14. package/esm2020/lib/components/buttons/link-button/link-button.component.mjs +8 -7
  15. package/esm2020/lib/components/chips/chip/chip.component.mjs +7 -6
  16. package/esm2020/lib/components/chips/chip-container/chip-container.component.mjs +7 -6
  17. package/esm2020/lib/components/components.module.mjs +202 -208
  18. package/esm2020/lib/components/loading-indicator/loading-indicator.component.mjs +7 -6
  19. package/esm2020/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.mjs +8 -7
  20. package/esm2020/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.mjs +10 -9
  21. package/esm2020/lib/components/mobile-flyout/mobile-flyout.component.mjs +10 -10
  22. package/esm2020/lib/components/pagination/pagination.component.mjs +15 -13
  23. package/esm2020/lib/components/popovers/legend/legend.component.mjs +14 -14
  24. package/esm2020/lib/components/popovers/legend/legend.directive.mjs +8 -8
  25. package/esm2020/lib/components/popovers/popover/popover.component.mjs +11 -11
  26. package/esm2020/lib/components/popovers/popover-content/popover-content.component.mjs +16 -18
  27. package/esm2020/lib/components/popovers/popover-content/popover-content.directive.mjs +7 -7
  28. package/esm2020/lib/components/popovers/popover-menu/popover-menu.component.mjs +18 -19
  29. package/esm2020/lib/components/popovers/popover-ref.mjs +2 -2
  30. package/esm2020/lib/components/popovers/popover.defaults.mjs +17 -18
  31. package/esm2020/lib/components/popovers/popover.models.mjs +7 -23
  32. package/esm2020/lib/components/popovers/popover.service.mjs +31 -32
  33. package/esm2020/lib/components/popovers/tooltip/tooltip.directive.mjs +18 -18
  34. package/esm2020/lib/components/progress/progress.component.mjs +8 -6
  35. package/esm2020/lib/components/scroll/index.mjs +1 -1
  36. package/esm2020/lib/components/scroll/scrollable.directive.mjs +10 -7
  37. package/esm2020/lib/components/search-input/search-input.component.mjs +20 -10
  38. package/esm2020/lib/components/snackbar/snackbar-container.component.mjs +7 -7
  39. package/esm2020/lib/components/snackbar/snackbar-container.directive.mjs +12 -15
  40. package/esm2020/lib/components/snackbar/snackbar.component.mjs +9 -7
  41. package/esm2020/lib/components/snackbar/snackbar.models.mjs +1 -1
  42. package/esm2020/lib/components/snackbar/snackbar.module.mjs +12 -14
  43. package/esm2020/lib/components/snackbar/snackbar.service.mjs +5 -5
  44. package/esm2020/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.mjs +6 -6
  45. package/esm2020/lib/components/stepper-horizontal/stepper-horizontal.component.mjs +10 -9
  46. package/esm2020/lib/components/stepper-vertical/step-vertical/step-vertical.component.mjs +8 -7
  47. package/esm2020/lib/components/stepper-vertical/stepper-vertical.component.mjs +9 -9
  48. package/esm2020/lib/components/table-header-cell/table-header-cell.directive.mjs +9 -8
  49. package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +8 -8
  50. package/esm2020/lib/components/tabs/tabs.component.mjs +113 -27
  51. package/esm2020/lib/directives/click-outside.directive.mjs +29 -0
  52. package/esm2020/lib/festo-angular.module.mjs +9 -72
  53. package/esm2020/lib/forms/checkbox/checkbox.component.mjs +29 -24
  54. package/esm2020/lib/forms/color-indicator/color-indicator.component.mjs +29 -9
  55. package/esm2020/lib/forms/color-picker/color-helper.mjs +16 -8
  56. package/esm2020/lib/forms/color-picker/color-picker.component.mjs +38 -19
  57. package/esm2020/lib/forms/date-picker/date-picker.component.mjs +29 -26
  58. package/esm2020/lib/forms/date-range-picker/date-range-picker.component.mjs +33 -29
  59. package/esm2020/lib/forms/flatpickr/flatpickr.component.mjs +55 -0
  60. package/esm2020/lib/forms/forms.module.mjs +117 -110
  61. package/esm2020/lib/forms/radio/radio.component.mjs +54 -50
  62. package/esm2020/lib/forms/segment/segment-control/segment-control.component.mjs +22 -14
  63. package/esm2020/lib/forms/segment/segment.component.mjs +60 -30
  64. package/esm2020/lib/forms/select/chip-text.pipe.mjs +16 -11
  65. package/esm2020/lib/forms/select/select-option/select-option.component.mjs +8 -7
  66. package/esm2020/lib/forms/select/select.component.mjs +55 -47
  67. package/esm2020/lib/forms/slider/slider.component.mjs +27 -24
  68. package/esm2020/lib/forms/switch/switch.component.mjs +21 -20
  69. package/esm2020/lib/forms/text-area/text-area.component.mjs +19 -12
  70. package/esm2020/lib/forms/text-editor/text-editor.component.mjs +73 -65
  71. package/esm2020/lib/forms/text-input/text-input.component.mjs +41 -14
  72. package/esm2020/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.mjs +9 -7
  73. package/esm2020/lib/forms/time-picker/time-picker.component.mjs +23 -20
  74. package/esm2020/lib/forms/unique-selection-dispatcher.mjs +8 -6
  75. package/esm2020/lib/forms/value-accessor-base.mjs +6 -6
  76. package/esm2020/lib/modals/alert/alert.component.mjs +54 -0
  77. package/esm2020/lib/modals/confirm/confirm.component.mjs +55 -0
  78. package/esm2020/lib/modals/custom-modal/custom-modal.component.mjs +70 -0
  79. package/esm2020/lib/modals/image-gallery/image-gallery.component.mjs +62 -0
  80. package/esm2020/lib/modals/index.mjs +2 -0
  81. package/esm2020/lib/modals/modal.service.mjs +118 -0
  82. package/esm2020/lib/modals/modals.module.mjs +25 -0
  83. package/esm2020/lib/modals/prompt/prompt.component.mjs +106 -0
  84. package/esm2020/lib/pipes/safe-html.pipe.mjs +7 -7
  85. package/esm2020/public-api.mjs +66 -0
  86. package/fesm2015/festo-ui-angular.mjs +4757 -4590
  87. package/fesm2015/festo-ui-angular.mjs.map +1 -1
  88. package/fesm2020/festo-ui-angular.mjs +4936 -4809
  89. package/fesm2020/festo-ui-angular.mjs.map +1 -1
  90. package/index.d.ts +5 -13
  91. package/lib/components/accordion/accordion-header/accordion-header.component.d.ts +3 -3
  92. package/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.d.ts +3 -3
  93. package/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.d.ts +5 -5
  94. package/lib/components/accordion/accordion-item/accordion-item.component.d.ts +9 -8
  95. package/lib/components/accordion/accordion.component.d.ts +7 -7
  96. package/lib/components/breadcrumb/breadcrumb.component.d.ts +3 -3
  97. package/lib/components/buttons/button/button.component.d.ts +6 -6
  98. package/lib/components/buttons/link-button/link-button.component.d.ts +6 -6
  99. package/lib/components/chips/chip/chip.component.d.ts +4 -4
  100. package/lib/components/chips/chip-container/chip-container.component.d.ts +3 -3
  101. package/lib/components/components.module.d.ts +35 -69
  102. package/lib/components/loading-indicator/loading-indicator.component.d.ts +3 -3
  103. package/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.d.ts +3 -3
  104. package/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.d.ts +5 -5
  105. package/lib/components/mobile-flyout/mobile-flyout.component.d.ts +5 -5
  106. package/lib/components/pagination/pagination.component.d.ts +6 -6
  107. package/lib/components/popovers/legend/legend.component.d.ts +10 -10
  108. package/lib/components/popovers/legend/legend.directive.d.ts +5 -5
  109. package/lib/components/popovers/popover/popover.component.d.ts +6 -6
  110. package/lib/components/popovers/popover-content/popover-content.component.d.ts +13 -13
  111. package/lib/components/popovers/popover-content/popover-content.directive.d.ts +5 -5
  112. package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +15 -15
  113. package/lib/components/popovers/popover-ref.d.ts +4 -4
  114. package/lib/components/popovers/popover.defaults.d.ts +4 -4
  115. package/lib/components/popovers/popover.models.d.ts +18 -30
  116. package/lib/components/popovers/popover.service.d.ts +7 -7
  117. package/lib/components/popovers/tooltip/tooltip.directive.d.ts +9 -9
  118. package/lib/components/progress/progress.component.d.ts +3 -3
  119. package/lib/components/scroll/scrollable.directive.d.ts +4 -4
  120. package/lib/components/search-input/search-input.component.d.ts +9 -9
  121. package/lib/components/snackbar/snackbar-container.component.d.ts +5 -5
  122. package/lib/components/snackbar/snackbar-container.directive.d.ts +8 -11
  123. package/lib/components/snackbar/snackbar.component.d.ts +5 -5
  124. package/lib/components/snackbar/snackbar.models.d.ts +2 -2
  125. package/lib/components/snackbar/snackbar.module.d.ts +1 -2
  126. package/lib/components/snackbar/snackbar.service.d.ts +8 -8
  127. package/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.d.ts +3 -3
  128. package/lib/components/stepper-horizontal/stepper-horizontal.component.d.ts +5 -5
  129. package/lib/components/stepper-vertical/step-vertical/step-vertical.component.d.ts +4 -4
  130. package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +5 -5
  131. package/lib/components/table-header-cell/table-header-cell.directive.d.ts +11 -11
  132. package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +9 -9
  133. package/lib/components/tabs/tabs.component.d.ts +24 -24
  134. package/lib/directives/click-outside.directive.d.ts +10 -0
  135. package/lib/festo-angular.module.d.ts +6 -11
  136. package/lib/forms/checkbox/checkbox.component.d.ts +3 -3
  137. package/lib/forms/color-indicator/color-indicator.component.d.ts +3 -3
  138. package/lib/forms/color-picker/color-helper.d.ts +4 -4
  139. package/lib/forms/color-picker/color-picker.component.d.ts +8 -8
  140. package/lib/forms/date-picker/date-picker.component.d.ts +15 -15
  141. package/lib/forms/date-range-picker/date-range-picker.component.d.ts +16 -16
  142. package/lib/forms/flatpickr/flatpickr.component.d.ts +19 -0
  143. package/lib/forms/forms.module.d.ts +17 -37
  144. package/lib/forms/radio/radio.component.d.ts +22 -22
  145. package/lib/forms/segment/segment-control/segment-control.component.d.ts +14 -15
  146. package/lib/forms/segment/segment.component.d.ts +20 -11
  147. package/lib/forms/select/chip-text.pipe.d.ts +3 -3
  148. package/lib/forms/select/select-option/select-option.component.d.ts +5 -5
  149. package/lib/forms/select/select.component.d.ts +15 -15
  150. package/lib/forms/slider/slider.component.d.ts +8 -8
  151. package/lib/forms/switch/switch.component.d.ts +7 -7
  152. package/lib/forms/text-area/text-area.component.d.ts +14 -14
  153. package/lib/forms/text-editor/text-editor.component.d.ts +22 -22
  154. package/lib/forms/text-input/text-input.component.d.ts +6 -6
  155. package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +8 -8
  156. package/lib/forms/time-picker/time-picker.component.d.ts +11 -11
  157. package/lib/forms/unique-selection-dispatcher.d.ts +5 -5
  158. package/lib/forms/value-accessor-base.d.ts +6 -6
  159. package/lib/{components/modals → modals}/alert/alert.component.d.ts +6 -6
  160. package/lib/{components/modals → modals}/confirm/confirm.component.d.ts +6 -6
  161. package/lib/modals/custom-modal/custom-modal.component.d.ts +21 -0
  162. package/lib/{components → modals}/image-gallery/image-gallery.component.d.ts +8 -8
  163. package/lib/{components/modals → modals}/index.d.ts +1 -1
  164. package/lib/modals/modal.service.d.ts +22 -0
  165. package/lib/{components/modals → modals}/modals.module.d.ts +1 -6
  166. package/lib/{components/modals → modals}/prompt/prompt.component.d.ts +6 -6
  167. package/lib/pipes/safe-html.pipe.d.ts +3 -3
  168. package/package.json +13 -16
  169. package/public-api.d.ts +62 -0
  170. package/scss/base/image-gallery.scss +3 -0
  171. package/scss/base/popover.scss +9 -0
  172. package/scss/base/styles.scss +5 -0
  173. package/esm2020/index.mjs +0 -26
  174. package/esm2020/lib/components/click-outside.directive.mjs +0 -28
  175. package/esm2020/lib/components/image-gallery/image-gallery.component.mjs +0 -60
  176. package/esm2020/lib/components/image-gallery/image-gallery.module.mjs +0 -22
  177. package/esm2020/lib/components/modals/alert/alert.component.mjs +0 -52
  178. package/esm2020/lib/components/modals/confirm/confirm.component.mjs +0 -53
  179. package/esm2020/lib/components/modals/custom-modal/custom-modal.component.mjs +0 -70
  180. package/esm2020/lib/components/modals/index.mjs +0 -2
  181. package/esm2020/lib/components/modals/modal.service.mjs +0 -121
  182. package/esm2020/lib/components/modals/modals.module.mjs +0 -31
  183. package/esm2020/lib/components/modals/prompt/prompt.component.mjs +0 -102
  184. package/esm2020/lib/content/content.module.mjs +0 -20
  185. package/esm2020/lib/content/icon/icon.component.mjs +0 -17
  186. package/esm2020/lib/forms/container-host.mjs +0 -27
  187. package/esm2020/lib/forms/date-picker.module.mjs +0 -28
  188. package/esm2020/lib/forms/text-editor/text-editor.module.mjs +0 -25
  189. package/esm2020/lib/layout/layout.module.mjs +0 -18
  190. package/esm2020/lib/pipes/pipes.module.mjs +0 -20
  191. package/esm2020/lib/wrappers/flatpickr/flatpickr.component.mjs +0 -59
  192. package/lib/components/click-outside.directive.d.ts +0 -10
  193. package/lib/components/image-gallery/image-gallery.module.d.ts +0 -11
  194. package/lib/components/modals/custom-modal/custom-modal.component.d.ts +0 -21
  195. package/lib/components/modals/modal.service.d.ts +0 -22
  196. package/lib/content/content.module.d.ts +0 -9
  197. package/lib/content/icon/icon.component.d.ts +0 -45
  198. package/lib/forms/container-host.d.ts +0 -11
  199. package/lib/forms/date-picker.module.d.ts +0 -17
  200. package/lib/forms/text-editor/text-editor.module.d.ts +0 -14
  201. package/lib/layout/layout.module.d.ts +0 -7
  202. package/lib/pipes/pipes.module.d.ts +0 -9
  203. package/lib/wrappers/flatpickr/flatpickr.component.d.ts +0 -19
  204. package/scss/base/components/accordion/accordion-header/accordion-header.component.scss +0 -12
  205. package/scss/base/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.scss +0 -109
  206. package/scss/base/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.scss +0 -9
  207. package/scss/base/components/accordion/accordion-item/accordion-item.component.scss +0 -71
  208. package/scss/base/components/accordion/accordion.component.scss +0 -6
  209. package/scss/base/components/breadcrumb/breadcrumb.component.scss +0 -0
  210. package/scss/base/components/buttons/button/button.component.scss +0 -7
  211. package/scss/base/components/buttons/link-button/link-button.component.scss +0 -0
  212. package/scss/base/components/chips/chip/chip.component.scss +0 -0
  213. package/scss/base/components/chips/chip-container/chip-container.component.scss +0 -0
  214. package/scss/base/components/image-gallery/image-gallery.component.scss +0 -0
  215. package/scss/base/components/image-gallery/styles.scss +0 -5
  216. package/scss/base/components/loading-indicator/loading-indicator.component.scss +0 -0
  217. package/scss/base/components/modals/alert/alert.component.scss +0 -0
  218. package/scss/base/components/modals/confirm/confirm.component.scss +0 -0
  219. package/scss/base/components/modals/prompt/prompt.component.scss +0 -0
  220. package/scss/base/components/pagination/pagination.component.scss +0 -0
  221. package/scss/base/components/popovers/legend/legend.component.scss +0 -9
  222. package/scss/base/components/popovers/popover/popover.component.scss +0 -0
  223. package/scss/base/components/popovers/popover/styles.scss +0 -84
  224. package/scss/base/components/popovers/popover-content/popover-content.component.scss +0 -12
  225. package/scss/base/components/popovers/popover-menu/popover-menu.component.scss +0 -0
  226. package/scss/base/components/scroll/scroll-story-helper.scss +0 -12
  227. package/scss/base/components/search-input/search-input.component.scss +0 -7
  228. package/scss/base/components/snackbar/snackbar-container.component.scss +0 -3
  229. package/scss/base/components/snackbar/snackbar.component.scss +0 -3
  230. package/scss/base/components/stepper-horizontal/step-horizontal/step-horizontal.component.scss +0 -23
  231. package/scss/base/components/stepper-vertical/step-vertical/step-vertical.component.scss +0 -6
  232. package/scss/base/components/tabs/tab-pane/tab-pane.component.scss +0 -7
  233. package/scss/base/components/tabs/tabs.component.scss +0 -326
  234. package/scss/base/content/icon/icon.component.scss +0 -0
  235. package/scss/base/forms/checkbox/checkbox.component.scss +0 -160
  236. package/scss/base/forms/color-indicator/color-indicator.component.scss +0 -59
  237. package/scss/base/forms/color-picker/color-picker.component.scss +0 -207
  238. package/scss/base/forms/date-picker/date-picker.component.scss +0 -5
  239. package/scss/base/forms/date-range-picker/date-range-picker.component.scss +0 -34
  240. package/scss/base/forms/radio/radio.component.scss +0 -9
  241. package/scss/base/forms/segment/segment-control/segment-control.component.scss +0 -0
  242. package/scss/base/forms/segment/segment.component.scss +0 -0
  243. package/scss/base/forms/select/select-option/select-option.component.scss +0 -0
  244. package/scss/base/forms/select/select.component.scss +0 -251
  245. package/scss/base/forms/slider/slider.component.scss +0 -20
  246. package/scss/base/forms/switch/switch.component.scss +0 -145
  247. package/scss/base/forms/text-area/text-area.component.scss +0 -43
  248. package/scss/base/forms/text-editor/text-editor.component.scss +0 -294
  249. package/scss/base/forms/text-input/text-input.component.scss +0 -60
  250. package/scss/base/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.scss +0 -10
  251. package/scss/base/forms/time-picker/time-picker.component.scss +0 -5
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FngCustomModalComponent {
4
+ closeOnBackdrop: boolean;
5
+ large: boolean;
6
+ visible: boolean;
7
+ visibleChange: EventEmitter<boolean>;
8
+ header: string;
9
+ subheader: string;
10
+ acknowledgeLabel: string;
11
+ acknowledge: EventEmitter<void>;
12
+ cancelLabel: string;
13
+ cancel: EventEmitter<void>;
14
+ closeModal(): void;
15
+ onCancel(): void;
16
+ onAcknowledge(): void;
17
+ onClickOutside(): void;
18
+ onClickInside(event: MouseEvent): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FngCustomModalComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FngCustomModalComponent, "fng-custom-modal", never, { "closeOnBackdrop": "closeOnBackdrop"; "large": "large"; "visible": "visible"; "header": "header"; "subheader": "subheader"; "acknowledgeLabel": "acknowledgeLabel"; "cancelLabel": "cancelLabel"; }, { "visibleChange": "visibleChange"; "acknowledge": "acknowledge"; "cancel": "cancel"; }, never, ["*"], true, never>;
21
+ }
@@ -1,16 +1,16 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { Modal } from '../modals';
2
+ import { Modal } from '../modals.module';
3
3
  import * as i0 from "@angular/core";
4
- export interface ImageDescriptiveContent {
4
+ export interface FngImageDescriptiveContent {
5
5
  title: string;
6
6
  body: string;
7
7
  }
8
- export interface ImageGalleryData {
8
+ export interface FngImageGalleryData {
9
9
  startIndex: number;
10
10
  images: {
11
11
  url: string;
12
12
  alt: string;
13
- content?: ImageDescriptiveContent;
13
+ content?: FngImageDescriptiveContent;
14
14
  }[];
15
15
  thumbnailImages?: {
16
16
  url: string;
@@ -20,9 +20,9 @@ export interface ImageGalleryData {
20
20
  descriptiveContent?: boolean;
21
21
  slideChanged?: (index: number) => void;
22
22
  }
23
- export declare class ImageGalleryComponent implements Modal<ImageGalleryData, any> {
23
+ export declare class FngImageGalleryComponent implements Modal<FngImageGalleryData, any> {
24
24
  private cd;
25
- data: ImageGalleryData;
25
+ data: FngImageGalleryData;
26
26
  close: EventEmitter<any>;
27
27
  cancel: EventEmitter<any>;
28
28
  ok: EventEmitter<any>;
@@ -34,6 +34,6 @@ export declare class ImageGalleryComponent implements Modal<ImageGalleryData, an
34
34
  activeIndex: number;
35
35
  }[]): void;
36
36
  onClose(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageGalleryComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageGalleryComponent, "fng-image-gallery", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, false>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<FngImageGalleryComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<FngImageGalleryComponent, "fng-image-gallery", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
39
39
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import { GlobalPositionStrategy } from '@angular/cdk/overlay';
3
- export declare type ModalUserAction = 'ok' | 'cancel' | 'close' | 'backdrop' | 'navigated';
3
+ export type ModalUserAction = 'ok' | 'cancel' | 'close' | 'backdrop' | 'navigated';
4
4
  export interface Modal<TData, TResult> extends Partial<OnChanges> {
5
5
  data: TData;
6
6
  close: EventEmitter<any>;
@@ -0,0 +1,22 @@
1
+ import { Router } from '@angular/router';
2
+ import { Overlay } from '@angular/cdk/overlay';
3
+ import { ComponentType } from '@angular/cdk/portal';
4
+ import { Modal, ModalOptions, ModalResult } from './index';
5
+ import { FngAlertData } from './alert/alert.component';
6
+ import { FngConfirmData } from './confirm/confirm.component';
7
+ import { FngPromptData } from './prompt/prompt.component';
8
+ import { FngImageGalleryData } from './image-gallery/image-gallery.component';
9
+ import * as i0 from "@angular/core";
10
+ export declare class FngModalService {
11
+ protected overlay: Overlay;
12
+ private router;
13
+ constructor(overlay: Overlay, router: Router);
14
+ alert(data: FngAlertData, options?: ModalOptions): Promise<ModalResult<any>>;
15
+ confirm(data: FngConfirmData, options?: ModalOptions): Promise<ModalResult<any>>;
16
+ prompt(data: FngPromptData, options?: ModalOptions): Promise<ModalResult<any>>;
17
+ openImageGallery(data: FngImageGalleryData): Promise<ModalResult<any>>;
18
+ open<TData, TResult, TModal extends Modal<TData, TResult>>(data: TData, modal: ComponentType<TModal>, options: ModalOptions): Promise<ModalResult<TResult>>;
19
+ private dispose;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FngModalService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<FngModalService>;
22
+ }
@@ -3,11 +3,6 @@ import * as i1 from "./alert/alert.component";
3
3
  import * as i2 from "./confirm/confirm.component";
4
4
  import * as i3 from "./prompt/prompt.component";
5
5
  import * as i4 from "./custom-modal/custom-modal.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/router";
8
- import * as i7 from "@angular/cdk/overlay";
9
- import * as i8 from "../../forms/forms.module";
10
- import * as i9 from "../components.module";
11
6
  export * from './index';
12
7
  export * from './alert/alert.component';
13
8
  export * from './confirm/confirm.component';
@@ -15,6 +10,6 @@ export * from './prompt/prompt.component';
15
10
  export * from './custom-modal/custom-modal.component';
16
11
  export declare class FestoAngularModalsModule {
17
12
  static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModalsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, [typeof i1.AlertComponent, typeof i2.ConfirmComponent, typeof i3.PromptComponent, typeof i4.CustomModalComponent], [typeof i5.CommonModule, typeof i6.RouterModule, typeof i7.OverlayModule, typeof i8.FestoAngularFormsModule, typeof i9.FestoAngularComponentsModule], [typeof i1.AlertComponent, typeof i2.ConfirmComponent, typeof i3.PromptComponent, typeof i4.CustomModalComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, never, [typeof i1.FngAlertComponent, typeof i2.FngConfirmComponent, typeof i3.FngPromptComponent, typeof i4.FngCustomModalComponent], [typeof i1.FngAlertComponent, typeof i2.FngConfirmComponent, typeof i3.FngPromptComponent, typeof i4.FngCustomModalComponent]>;
19
14
  static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModalsModule>;
20
15
  }
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@ang
2
2
  import { AbstractControlOptions, AsyncValidatorFn, FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
3
3
  import { Modal } from '../index';
4
4
  import * as i0 from "@angular/core";
5
- export interface PromptData {
5
+ export interface FngPromptData {
6
6
  title: string;
7
7
  subtitle?: string;
8
8
  label: string;
@@ -16,13 +16,13 @@ export interface PromptData {
16
16
  validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null;
17
17
  asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null;
18
18
  }
19
- export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy, Modal<PromptData, any> {
19
+ export declare class FngPromptComponent implements OnInit, AfterViewInit, OnDestroy, Modal<FngPromptData, any> {
20
20
  private formBuilder;
21
- data: PromptData;
21
+ data: FngPromptData;
22
22
  close: EventEmitter<any>;
23
23
  cancel: EventEmitter<any>;
24
24
  ok: EventEmitter<any>;
25
- closeBtn: ElementRef;
25
+ closeBtn: ElementRef | undefined;
26
26
  form: FormGroup;
27
27
  error: string;
28
28
  get text(): string;
@@ -37,6 +37,6 @@ export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy
37
37
  onOk(): void;
38
38
  onCancel(): void;
39
39
  private handleErrors;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptComponent, "fng-prompt", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, false>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<FngPromptComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<FngPromptComponent, "fng-prompt", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
42
42
  }
@@ -1,10 +1,10 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
3
  import * as i0 from "@angular/core";
4
- export declare class SafeHtmlPipe implements PipeTransform {
4
+ export declare class FngSafeHtmlPipe implements PipeTransform {
5
5
  protected sanitizer: DomSanitizer;
6
6
  constructor(sanitizer: DomSanitizer);
7
7
  transform(value: any): SafeHtml;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "fweSafeHtml", false>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FngSafeHtmlPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<FngSafeHtmlPipe, "fngSafeHtml", true>;
10
10
  }
package/package.json CHANGED
@@ -1,27 +1,24 @@
1
1
  {
2
2
  "name": "@festo-ui/angular",
3
- "version": "4.0.3-pre-20221213.1",
3
+ "version": "5.0.0-dev.105",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "license": "apache-2.0",
6
6
  "description": "CSS framework and utils to build FESTO web applications",
7
7
  "peerDependencies": {
8
- "@angular/common": "^14.1.3",
9
- "@angular/core": "^14.1.3",
10
- "@angular/animations": "^14.1.3",
11
- "@angular/router": "^14.1.3",
12
- "@angular/forms": "^14.1.3",
13
- "@angular/platform-browser": "^14.1.3",
14
- "@angular/platform-browser-dynamic": "^14.1.3",
15
- "@angular/cdk": "^14.1.3",
8
+ "@angular/common": "^15.1.0",
9
+ "@angular/core": "^15.1.0",
10
+ "@angular/animations": "^15.1.0",
11
+ "@angular/router": "^15.1.0",
12
+ "@angular/forms": "^15.1.0",
13
+ "@angular/platform-browser": "^15.1.0",
14
+ "@angular/platform-browser-dynamic": "^15.1.0",
15
+ "@angular/cdk": "^15.1.0",
16
16
  "rxjs": "^7.4.0",
17
- "@festo-ui/web-essentials": "*",
18
- "swiper": "8.0.7",
19
- "simplebar": "5.3.6",
20
- "quill": "1.3.7",
21
- "flatpickr": "^4.6.9"
17
+ "@festo-ui/web-essentials": "*"
22
18
  },
23
19
  "dependencies": {
24
- "tslib": "^2.3.0"
20
+ "tslib": "^2.3.0",
21
+ "@types/quill": "1.3.10"
25
22
  },
26
23
  "optionalDependencies": {
27
24
  "flatpickr": "^4.6.9",
@@ -49,4 +46,4 @@
49
46
  }
50
47
  },
51
48
  "sideEffects": false
52
- }
49
+ }
@@ -0,0 +1,62 @@
1
+ export * from './lib/components/components.module';
2
+ export * from './lib/components/accordion/index';
3
+ export * from './lib/components/breadcrumb/breadcrumb.component';
4
+ export * from './lib/components/buttons/button/button.component';
5
+ export * from './lib/components/buttons/link-button/link-button.component';
6
+ export * from './lib/components/chips/chip/chip.component';
7
+ export * from './lib/components/chips/chip-container/chip-container.component';
8
+ export * from './lib/components/loading-indicator/loading-indicator.component';
9
+ export * from './lib/components/mobile-flyout/mobile-flyout.component';
10
+ export * from './lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component';
11
+ export * from './lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component';
12
+ export * from './lib/components/pagination/pagination.component';
13
+ export * from './lib/components/progress/progress.component';
14
+ export * from './lib/components/search-input/search-input.component';
15
+ export * from './lib/components/snackbar/snackbar-container.directive';
16
+ export * from './lib/components/snackbar/snackbar-container.component';
17
+ export * from './lib/components/snackbar/snackbar.service';
18
+ export * from './lib/components/snackbar/snackbar.module';
19
+ export * from './lib/components/stepper-horizontal/step-horizontal/step-horizontal.component';
20
+ export * from './lib/components/stepper-horizontal/stepper-horizontal.component';
21
+ export * from './lib/components/stepper-vertical/step-vertical/step-vertical.component';
22
+ export * from './lib/components/stepper-vertical/stepper-vertical.component';
23
+ export * from './lib/components/table-header-cell/table-header-cell.directive';
24
+ export * from './lib/components/scroll/scrollable.directive';
25
+ export * from './lib/components/tabs/tabs.component';
26
+ export * from './lib/components/tabs/tab-pane/tab-pane.component';
27
+ export * from './lib/components/popovers/legend/legend.component';
28
+ export * from './lib/components/popovers/legend/legend.directive';
29
+ export * from './lib/components/popovers/popover/popover.component';
30
+ export * from './lib/components/popovers/popover-content/popover-content.component';
31
+ export * from './lib/components/popovers/popover-content/popover-content.directive';
32
+ export * from './lib/components/popovers/popover.service';
33
+ export * from './lib/components/popovers/popover.models';
34
+ export * from './lib/components/popovers/popover-menu/popover-menu.component';
35
+ export * from './lib/components/popovers/tooltip/tooltip.directive';
36
+ export * from './lib/components/popovers/legend/legend.directive';
37
+ export * from './lib/components/popovers/legend/legend.component';
38
+ export * from './lib/modals/modals.module';
39
+ export * from './lib/modals/alert/alert.component';
40
+ export * from './lib/modals/index';
41
+ export * from './lib/modals/modal.service';
42
+ export * from './lib/forms/forms.module';
43
+ export * from './lib/forms/checkbox/checkbox.component';
44
+ export * from './lib/forms/text-input/text-input.component';
45
+ export * from './lib/forms/color-indicator/color-indicator.component';
46
+ export * from './lib/forms/color-picker/color-picker.component';
47
+ export * from './lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component';
48
+ export * from './lib/forms/time-picker/time-picker.component';
49
+ export * from './lib/forms/date-picker/date-picker.component';
50
+ export * from './lib/forms/date-range-picker/date-range-picker.component';
51
+ export * from './lib/forms/radio/radio.component';
52
+ export * from './lib/forms/segment/segment-control/segment-control.component';
53
+ export * from './lib/forms/segment/segment.component';
54
+ export * from './lib/forms/select/select-option/select-option.component';
55
+ export * from './lib/forms/select/select.component';
56
+ export * from './lib/forms/slider/slider.component';
57
+ export * from './lib/forms/switch/switch.component';
58
+ export * from './lib/forms/text-area/text-area.component';
59
+ export * from './lib/forms/text-editor/text-editor.component';
60
+ export * from './lib/directives/click-outside.directive';
61
+ export * from './lib/pipes/safe-html.pipe';
62
+ export * from './lib/festo-angular.module';
@@ -0,0 +1,3 @@
1
+ @import "@festo-ui/web-essentials/scss/variables";
2
+
3
+ @import "../lib/modals/image-gallery/styles";
@@ -0,0 +1,9 @@
1
+ @import "@festo-ui/web-essentials/scss/variables";
2
+
3
+ @import "../lib/components/popovers/popover/styles";
4
+
5
+ .cdk-overlay-container,
6
+ .cdk-overlay-connected-position-bounding-box,
7
+ .cdk-global-overlay-wrapper {
8
+ z-index: $zindex-modal !important;
9
+ }
@@ -0,0 +1,5 @@
1
+ @import "@festo-ui/web-essentials/scss/variables";
2
+
3
+ /** Main global styles **/
4
+ @import "popover";
5
+ @import "image-gallery";
package/esm2020/index.mjs DELETED
@@ -1,26 +0,0 @@
1
- // PIPES
2
- export * from './lib/pipes/pipes.module';
3
- // COMPONENTS
4
- export * from './lib/components/components.module';
5
- // MODALS
6
- export * from './lib/components/modals/modals.module';
7
- // SNACKBAR
8
- export * from './lib/components/snackbar/snackbar.module';
9
- // CONTENT
10
- export * from './lib/content/content.module';
11
- // FORMS
12
- export * from './lib/forms/forms.module';
13
- // DATE PIKCKER
14
- export * from './lib/forms/date-picker.module';
15
- // TEXT EDITOR
16
- export * from './lib/forms/text-editor/text-editor.module';
17
- // LAYOUT
18
- export * from './lib/layout/layout.module';
19
- // IMAGE GALLERY
20
- export * from './lib/components/image-gallery/image-gallery.module';
21
- // MAIN
22
- export * from './lib/festo-angular.module';
23
- // SERVICES
24
- export * from './lib/components/modals/modal.service';
25
- export * from './lib/components/snackbar/snackbar.service';
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFFBQVE7QUFDUixjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGFBQWE7QUFDYixjQUFjLG9DQUFvQyxDQUFDO0FBRW5ELFNBQVM7QUFDVCxjQUFjLHVDQUF1QyxDQUFDO0FBRXRELFdBQVc7QUFDWCxjQUFjLDJDQUEyQyxDQUFDO0FBRTFELFVBQVU7QUFDVixjQUFjLDhCQUE4QixDQUFDO0FBRTdDLFFBQVE7QUFDUixjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGVBQWU7QUFDZixjQUFjLGdDQUFnQyxDQUFDO0FBRS9DLGNBQWM7QUFDZCxjQUFjLDRDQUE0QyxDQUFDO0FBRTNELFNBQVM7QUFDVCxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLGdCQUFnQjtBQUNoQixjQUFjLHFEQUFxRCxDQUFDO0FBRXBFLE9BQU87QUFDUCxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLFdBQVc7QUFDWCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsNENBQTRDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBQSVBFU1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcGlwZXMvcGlwZXM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hci5zZXJ2aWNlJztcbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { Directive, ElementRef, Output, EventEmitter, HostListener } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ClickOutsideDirective {
4
- constructor(elRef) {
5
- this.elRef = elRef;
6
- this.clickOutside = new EventEmitter();
7
- }
8
- onClick(targetElement) {
9
- const inside = this.elRef.nativeElement.contains(targetElement);
10
- if (!inside) {
11
- this.clickOutside.emit(null);
12
- }
13
- }
14
- }
15
- ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
16
- ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: ClickOutsideDirective, selector: "[fngClickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event.target)" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ClickOutsideDirective, decorators: [{
18
- type: Directive,
19
- args: [{
20
- selector: '[fngClickOutside]'
21
- }]
22
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { clickOutside: [{
23
- type: Output
24
- }], onClick: [{
25
- type: HostListener,
26
- args: ['document:click', ['$event.target']]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpY2stb3V0c2lkZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2NsaWNrLW91dHNpZGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUs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1dCgpXG4gIHB1YmxpYyBjbGlja091dHNpZGUgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG5cbiAgQEhvc3RMaXN0ZW5lcignZG9jdW1lbnQ6Y2xpY2snLCBbJyRldmVudC50YXJnZXQnXSlcbiAgcHVibGljIG9uQ2xpY2sodGFyZ2V0RWxlbWVudDogSFRNTEVsZW1lbnQpIHtcbiAgICBjb25zdCBpbnNpZGUgPSB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQuY29udGFpbnModGFyZ2V0RWxlbWVudCk7XG4gICAgaWYgKCFpbnNpZGUpIHtcbiAgICAgIHRoaXMuY2xpY2tPdXRzaWRlLmVtaXQobnVsbCk7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -1,60 +0,0 @@
1
- import { ChangeDetectorRef, Component, EventEmitter, HostListener, Input, Output, ViewEncapsulation } from '@angular/core';
2
- import SwiperCore, { FreeMode, Keyboard, Navigation, Thumbs, Zoom } from 'swiper';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "swiper/angular";
6
- import * as i3 from "../../pipes/safe-html.pipe";
7
- SwiperCore.use([FreeMode, Navigation, Keyboard, Thumbs, Zoom]);
8
- export class ImageGalleryComponent {
9
- constructor(cd) {
10
- this.cd = cd;
11
- this.data = {
12
- startIndex: 0,
13
- images: null,
14
- thumbnailImages: null,
15
- slideChanged: null,
16
- pagination: true,
17
- descriptiveContent: false
18
- };
19
- this.close = new EventEmitter();
20
- this.cancel = new EventEmitter();
21
- this.ok = new EventEmitter();
22
- this.currentIndex = this.data.startIndex + 1;
23
- }
24
- onKeyUp(event) {
25
- event.preventDefault();
26
- event.stopPropagation();
27
- if (event.key === 'Esc' || event.key === 'Escape') {
28
- this.onClose();
29
- }
30
- }
31
- onSlideChange(swiper) {
32
- this.currentIndex = swiper[0].activeIndex + 1;
33
- this.cd.markForCheck();
34
- this.cd.detectChanges();
35
- if (this.data?.slideChanged) {
36
- this.data.slideChanged(swiper[0].activeIndex);
37
- }
38
- }
39
- onClose() {
40
- this.close.emit();
41
- }
42
- }
43
- ImageGalleryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ImageGalleryComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
44
- ImageGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ImageGalleryComponent, selector: "fng-image-gallery", inputs: { data: "data" }, outputs: { close: "close", cancel: "cancel", ok: "ok" }, host: { listeners: { "window:keyup": "onKeyUp($event)" } }, ngImport: i0, template: "<div class=\"fwe-modal fwe-modal-image-gallery\" *ngIf=\"data != null\"\n [class.fwe-modal-image-gallery--with-thumbnails]=\"data.thumbnailImages?.length > 0\"\n [class.fwe-modal-image-gallery--with-container]=\"data.descriptiveContent\">\n <div class=\"fwe-image-gallery-header\">\n <div *ngIf=\"data.pagination\" class=\"fwe-pagination fwe-pagination--on-dark-bg\">\n <button aria-label=\"previous\" type=\"button\" class=\"fwe-navigate-btn-down\"></button>\n <span class=\"fwe-page-current\">{{currentIndex}}</span>\n <span class=\"fwe-page-max\">{{data.images?.length}}</span>\n <button aria-label=\"next\" type=\"button\" class=\"fwe-navigate-btn-up\"></button>\n </div>\n <button aria-label=\"close\" type=\"button\" class=\"fwe-btn fwe-btn-link fwe-ml-auto\" (click)=\"onClose()\">\n <i class=\"fwe-icon fwe-icon-lg fwe-color-white fwe-icon-menu-close fwe-modal-image-gallery-close\"></i>\n </button>\n </div>\n <ng-container [ngSwitch]=\"data.descriptiveContent\">\n <div class=\"fwe-image-gallery-container\" *ngSwitchCase=\"true\">\n <ng-container *ngTemplateOutlet=\"baseGallery\"></ng-container>\n <div class=\"fwe-image-gallery-content\" *ngIf=\"data.images[currentIndex - 1]?.content as imageContent\">\n <h3>{{imageContent.title}}</h3>\n <div [innerHTML]=\"imageContent.body | fweSafeHtml\"></div>\n </div>\n </div>\n <ng-container *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"baseGallery\"></ng-container>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #baseGallery>\n <div class=\"fwe-image-gallery-wrapper\">\n <swiper\n [initialSlide]=\"data.startIndex\"\n [keyboard]=\"{\n enabled: true\n }\"\n [spaceBetween]=\"0\"\n [zoom]=\"true\"\n [navigation]=\"{\n nextEl: '.fwe-navigate-btn-up',\n prevEl: '.fwe-navigate-btn-down'\n }\"\n [thumbs]=\"{ swiper: thumbsSwiper }\"\n (slideChange)=\"onSlideChange($event)\"\n class=\"gallery-swiper fwe-image-gallery\"\n >\n <ng-template *ngFor=\"let image of data.images\" swiperSlide>\n <div class=\"swiper-zoom-container\">\n <img [alt]=\"image.alt\" [src]=\"image.url\" />\n </div>\n </ng-template>\n </swiper>\n <swiper *ngIf=\"data.thumbnailImages?.length > 0\"\n (swiper)=\"thumbsSwiper = $event\"\n [slidesPerView]=\"'auto'\"\n [freeMode]=\"true\"\n [watchSlidesProgress]=\"true\"\n class=\"thumbs-swiper fwe-image-gallery-thumbs\"\n >\n <ng-template *ngFor=\"let thumbnail of data.thumbnailImages\" swiperSlide>\n <img [alt]=\"thumbnail.alt\" [src]=\"thumbnail.url\" />\n </ng-template>\n </swiper>\n </div>\n</ng-template>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.SwiperComponent, selector: "swiper, [swiper]", inputs: ["enabled", "on", "direction", "touchEventsTarget", "initialSlide", "speed", "cssMode", "updateOnWindowResize", "resizeObserver", "nested", "focusableElements", "width", "height", "preventInteractionOnTransition", "userAgent", "url", "edgeSwipeDetection", "edgeSwipeThreshold", "freeMode", "autoHeight", "setWrapperSize", "virtualTranslate", "effect", "breakpoints", "spaceBetween", "slidesPerView", "maxBackfaceHiddenSlides", "grid", "slidesPerGroup", "slidesPerGroupSkip", "centeredSlides", "centeredSlidesBounds", "slidesOffsetBefore", "slidesOffsetAfter", "normalizeSlideIndex", "centerInsufficientSlides", "watchOverflow", "roundLengths", "touchRatio", "touchAngle", "simulateTouch", "shortSwipes", "longSwipes", "longSwipesRatio", "longSwipesMs", "followFinger", "allowTouchMove", "threshold", "touchMoveStopPropagation", "touchStartPreventDefault", "touchStartForcePreventDefault", "touchReleaseOnEdges", "uniqueNavElements", "resistance", "resistanceRatio", "watchSlidesProgress", "grabCursor", "preventClicks", "preventClicksPropagation", "slideToClickedSlide", "preloadImages", "updateOnImagesReady", "loop", "loopAdditionalSlides", "loopedSlides", "loopFillGroupWithBlank", "loopPreventsSlide", "rewind", "allowSlidePrev", "allowSlideNext", "swipeHandler", "noSwiping", "noSwipingClass", "noSwipingSelector", "passiveListeners", "containerModifierClass", "slideClass", "slideBlankClass", "slideActiveClass", "slideDuplicateActiveClass", "slideVisibleClass", "slideDuplicateClass", "slideNextClass", "slideDuplicateNextClass", "slidePrevClass", "slideDuplicatePrevClass", "wrapperClass", "runCallbacksOnInit", "observeParents", "observeSlideChildren", "a11y", "autoplay", "controller", "coverflowEffect", "cubeEffect", "fadeEffect", "flipEffect", "creativeEffect", "cardsEffect", "hashNavigation", "history", "keyboard", "lazy", "mousewheel", "parallax", "thumbs", "zoom", "class", "id", "navigation", "pagination", "scrollbar", "virtual", "config"], outputs: ["_beforeBreakpoint", "_containerClasses", "_slideClass", "_swiper", "activeIndexChange", "afterInit", "autoplay", "autoplayStart", "autoplayStop", "autoplayPause", "autoplayResume", "beforeDestroy", "beforeInit", "beforeLoopFix", "beforeResize", "beforeSlideChangeStart", "beforeTransitionStart", "breakpoint", "changeDirection", "click", "doubleTap", "doubleClick", "destroy", "fromEdge", "hashChange", "hashSet", "imagesReady", "init", "keyPress", "lazyImageLoad", "lazyImageReady", "loopFix", "momentumBounce", "navigationHide", "navigationShow", "observerUpdate", "orientationchange", "paginationHide", "paginationRender", "paginationShow", "paginationUpdate", "progress", "reachBeginning", "reachEnd", "realIndexChange", "resize", "scroll", "scrollbarDragEnd", "scrollbarDragMove", "scrollbarDragStart", "setTransition", "setTranslate", "slideChange", "slideChangeTransitionEnd", "slideChangeTransitionStart", "slideNextTransitionEnd", "slideNextTransitionStart", "slidePrevTransitionEnd", "slidePrevTransitionStart", "slideResetTransitionStart", "slideResetTransitionEnd", "sliderMove", "sliderFirstMove", "slidesLengthChange", "slidesGridLengthChange", "snapGridLengthChange", "snapIndexChange", "tap", "toEdge", "touchEnd", "touchMove", "touchMoveOpposite", "touchStart", "transitionEnd", "transitionStart", "update", "zoomChange", "swiper", "lock", "unlock"] }, { kind: "directive", type: i2.SwiperSlideDirective, selector: "ng-template[swiperSlide]", inputs: ["virtualIndex", "class", "data-swiper-autoplay", "zoom"] }, { kind: "pipe", type: i3.SafeHtmlPipe, name: "fweSafeHtml" }], encapsulation: i0.ViewEncapsulation.None });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ImageGalleryComponent, decorators: [{
46
- type: Component,
47
- args: [{ selector: 'fng-image-gallery', encapsulation: ViewEncapsulation.None, template: "<div class=\"fwe-modal fwe-modal-image-gallery\" *ngIf=\"data != null\"\n [class.fwe-modal-image-gallery--with-thumbnails]=\"data.thumbnailImages?.length > 0\"\n [class.fwe-modal-image-gallery--with-container]=\"data.descriptiveContent\">\n <div class=\"fwe-image-gallery-header\">\n <div *ngIf=\"data.pagination\" class=\"fwe-pagination fwe-pagination--on-dark-bg\">\n <button aria-label=\"previous\" type=\"button\" class=\"fwe-navigate-btn-down\"></button>\n <span class=\"fwe-page-current\">{{currentIndex}}</span>\n <span class=\"fwe-page-max\">{{data.images?.length}}</span>\n <button aria-label=\"next\" type=\"button\" class=\"fwe-navigate-btn-up\"></button>\n </div>\n <button aria-label=\"close\" type=\"button\" class=\"fwe-btn fwe-btn-link fwe-ml-auto\" (click)=\"onClose()\">\n <i class=\"fwe-icon fwe-icon-lg fwe-color-white fwe-icon-menu-close fwe-modal-image-gallery-close\"></i>\n </button>\n </div>\n <ng-container [ngSwitch]=\"data.descriptiveContent\">\n <div class=\"fwe-image-gallery-container\" *ngSwitchCase=\"true\">\n <ng-container *ngTemplateOutlet=\"baseGallery\"></ng-container>\n <div class=\"fwe-image-gallery-content\" *ngIf=\"data.images[currentIndex - 1]?.content as imageContent\">\n <h3>{{imageContent.title}}</h3>\n <div [innerHTML]=\"imageContent.body | fweSafeHtml\"></div>\n </div>\n </div>\n <ng-container *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"baseGallery\"></ng-container>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #baseGallery>\n <div class=\"fwe-image-gallery-wrapper\">\n <swiper\n [initialSlide]=\"data.startIndex\"\n [keyboard]=\"{\n enabled: true\n }\"\n [spaceBetween]=\"0\"\n [zoom]=\"true\"\n [navigation]=\"{\n nextEl: '.fwe-navigate-btn-up',\n prevEl: '.fwe-navigate-btn-down'\n }\"\n [thumbs]=\"{ swiper: thumbsSwiper }\"\n (slideChange)=\"onSlideChange($event)\"\n class=\"gallery-swiper fwe-image-gallery\"\n >\n <ng-template *ngFor=\"let image of data.images\" swiperSlide>\n <div class=\"swiper-zoom-container\">\n <img [alt]=\"image.alt\" [src]=\"image.url\" />\n </div>\n </ng-template>\n </swiper>\n <swiper *ngIf=\"data.thumbnailImages?.length > 0\"\n (swiper)=\"thumbsSwiper = $event\"\n [slidesPerView]=\"'auto'\"\n [freeMode]=\"true\"\n [watchSlidesProgress]=\"true\"\n class=\"thumbs-swiper fwe-image-gallery-thumbs\"\n >\n <ng-template *ngFor=\"let thumbnail of data.thumbnailImages\" swiperSlide>\n <img [alt]=\"thumbnail.alt\" [src]=\"thumbnail.url\" />\n </ng-template>\n </swiper>\n </div>\n</ng-template>" }]
48
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
49
- type: Input
50
- }], close: [{
51
- type: Output
52
- }], cancel: [{
53
- type: Output
54
- }], ok: [{
55
- type: Output
56
- }], onKeyUp: [{
57
- type: HostListener,
58
- args: ['window:keyup', ['$event']]
59
- }] } });
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZ2FsbGVyeS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2ltYWdlLWdhbGxlcnkvaW1hZ2UtZ2FsbGVyeS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2ltYWdlLWdhbGxlcnkvaW1hZ2UtZ2FsbGVyeS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzSCxPQUFPLFVBQVUsRUFBRSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxRQUFRLENBQUM7Ozs7O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9zd2lwZXI+XG4gICAgPHN3aXBlciAqbmdJZj1cImRhdGEudGh1bWJuYWlsSW1hZ2VzPy5sZW5ndGggPiAwXCJcbiAgICAgIChzd2lwZXIpPVwidGh1bWJzU3dpcGVyID0gJGV2ZW50XCJcbiAgICAgIFtzbGlkZXNQZXJWaWV3XT1cIidhdXRvJ1wiXG4gICAgICBbZnJlZU1vZGVdPVwidHJ1ZVwiXG4gICAgICBbd2F0Y2hTbGlkZXNQcm9ncmVzc109XCJ0cnVlXCJcbiAgICAgIGNsYXNzPVwidGh1bWJzLXN3aXBlciBmd2UtaW1hZ2UtZ2FsbGVyeS10aHVtYnNcIlxuICAgID5cbiAgICAgIDxuZy10ZW1wbGF0ZSAqbmdGb3I9XCJsZXQgdGh1bWJuYWlsIG9mIGRhdGEudGh1bWJuYWlsSW1hZ2VzXCIgc3dpcGVyU2xpZGU+XG4gICAgICAgIDxpbWcgW2FsdF09XCJ0aHVtYm5haWwuYWx0XCIgW3NyY109XCJ0aHVtYm5haWwudXJsXCIgLz5cbiAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC9zd2lwZXI+XG4gIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT4iXX0=
@@ -1,22 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { SwiperModule } from 'swiper/angular';
4
- import { ImageGalleryComponent } from './image-gallery.component';
5
- import { FestoAngularPipesModule } from '../../pipes/pipes.module';
6
- import * as i0 from "@angular/core";
7
- export * from './image-gallery.component';
8
- export class FestoAngularImageGalleryModule {
9
- }
10
- FestoAngularImageGalleryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FestoAngularImageGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- FestoAngularImageGalleryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: FestoAngularImageGalleryModule, declarations: [ImageGalleryComponent], imports: [CommonModule, FestoAngularPipesModule, SwiperModule], exports: [ImageGalleryComponent] });
12
- FestoAngularImageGalleryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FestoAngularImageGalleryModule, imports: [CommonModule, FestoAngularPipesModule, SwiperModule] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FestoAngularImageGalleryModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- declarations: [ImageGalleryComponent],
17
- imports: [CommonModule, FestoAngularPipesModule, SwiperModule],
18
- exports: [ImageGalleryComponent],
19
- providers: []
20
- }]
21
- }] });
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZ2FsbGVyeS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2ltYWdlLWdhbGxlcnkvaW1hZ2UtZ2FsbGVyeS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQUVuRSxjQUFjLDJCQUEyQixDQUFDO0FBUTFDLE1BQU0sT0FBTyw4QkFBOEI7OzJIQUE5Qiw4QkFBOEI7NEhBQTlCLDhCQUE4QixpQk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4gIHByb3ZpZGVyczogW11cbn0pXG5leHBvcnQgY2xhc3MgRmVzdG9Bbmd1bGFySW1hZ2VHYWxsZXJ5TW9kdWxlIHt9XG4iXX0=
@@ -1,52 +0,0 @@
1
- import { Component, ElementRef, EventEmitter, HostListener, Input, Output, ViewChild, ViewEncapsulation } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class AlertComponent {
5
- constructor() {
6
- this.close = new EventEmitter();
7
- this.cancel = new EventEmitter();
8
- this.ok = new EventEmitter();
9
- }
10
- onKeyUp(event) {
11
- event.preventDefault();
12
- event.stopPropagation();
13
- if (event.key === 'Esc' || event.key === 'Escape') {
14
- this.onClose();
15
- }
16
- }
17
- ngAfterViewInit() {
18
- if (this.closeBtn) {
19
- this.closeBtn.nativeElement.focus();
20
- }
21
- }
22
- onClose() {
23
- this.close.emit();
24
- }
25
- onOk() {
26
- this.ok.emit();
27
- }
28
- onCancel() {
29
- this.cancel.emit();
30
- }
31
- }
32
- AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AlertComponent, selector: "fng-alert", inputs: { data: "data" }, outputs: { close: "close", cancel: "cancel", ok: "ok" }, host: { listeners: { "window:keyup": "onKeyUp($event)" } }, viewQueries: [{ propertyName: "closeBtn", first: true, predicate: ["closeBtn"], descendants: true }], ngImport: i0, template: "<div\n class=\"fwe-modal\"\n [ngClass]=\"{\n 'fwe-modal--with-indicator-bar': data?.strong === true,\n 'fwe-modal--warning': data?.alertType === 'warning',\n 'fwe-modal--error': data?.alertType === 'error',\n 'fwe-modal--info': data?.alertType === 'info'\n }\"\n>\n <div class=\"fwe-modal-close\">\n <button type=\"button\" aria-label=\"Close\" #closeBtn class=\"fwe-btn fwe-btn-link fwe-dark\" (click)=\"onClose()\">\n <i aria-hidden=\"true\" class=\"fwe-icon fwe-icon-close-small\"></i>\n <span class=\"fwe-sr-only\">Close</span>\n </button>\n </div>\n <div class=\"fwe-modal-header\">\n <h2 *ngIf=\"data?.subtitle\" class=\"fwe-modal-h2\">\n <i\n [ngClass]=\"{\n 'fwe-icon': true,\n 'fwe-icon-status-warning': data?.alertType === 'warning',\n 'fwe-icon-status-failure': data?.alertType === 'error',\n 'fwe-icon-status-check-status': data?.alertType === 'info'\n }\"\n ></i\n >{{ data?.subtitle }}\n </h2>\n <h1 class=\"fwe-modal-h1\">\n <i\n [ngClass]=\"{\n 'fwe-icon': true,\n 'fwe-icon-status-warning': data?.alertType === 'warning',\n 'fwe-icon-status-failure': data?.alertType === 'error',\n 'fwe-icon-status-check-status': data?.alertType === 'info'\n }\"\n ></i\n >{{ data?.title }}\n </h1>\n </div>\n <div class=\"fwe-modal-body\">\n <p>{{ data?.body }}</p>\n </div>\n <div class=\"fwe-modal-footer\" *ngIf=\"data?.cancel || data?.ok\">\n <div class=\"fwe-modal-buttons\">\n <button\n *ngIf=\"data?.cancel\"\n type=\"button\"\n aria-label=\"Cancel\"\n class=\"fwe-btn fwe-btn-lg\"\n [class.fwe-btn-link]=\"data?.strong\"\n (click)=\"onCancel()\"\n >\n {{ data?.cancel }}\n </button>\n <button\n *ngIf=\"data?.ok\"\n type=\"button\"\n aria-label=\"Ok\"\n class=\"fwe-btn fwe-btn-lg\"\n [class.fwe-btn-hero]=\"!data?.strong\"\n (click)=\"onOk()\"\n >\n {{ data?.ok }}\n </button>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AlertComponent, decorators: [{
35
- type: Component,
36
- args: [{ selector: 'fng-alert', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"fwe-modal\"\n [ngClass]=\"{\n 'fwe-modal--with-indicator-bar': data?.strong === true,\n 'fwe-modal--warning': data?.alertType === 'warning',\n 'fwe-modal--error': data?.alertType === 'error',\n 'fwe-modal--info': data?.alertType === 'info'\n }\"\n>\n <div class=\"fwe-modal-close\">\n <button type=\"button\" aria-label=\"Close\" #closeBtn class=\"fwe-btn fwe-btn-link fwe-dark\" (click)=\"onClose()\">\n <i aria-hidden=\"true\" class=\"fwe-icon fwe-icon-close-small\"></i>\n <span class=\"fwe-sr-only\">Close</span>\n </button>\n </div>\n <div class=\"fwe-modal-header\">\n <h2 *ngIf=\"data?.subtitle\" class=\"fwe-modal-h2\">\n <i\n [ngClass]=\"{\n 'fwe-icon': true,\n 'fwe-icon-status-warning': data?.alertType === 'warning',\n 'fwe-icon-status-failure': data?.alertType === 'error',\n 'fwe-icon-status-check-status': data?.alertType === 'info'\n }\"\n ></i\n >{{ data?.subtitle }}\n </h2>\n <h1 class=\"fwe-modal-h1\">\n <i\n [ngClass]=\"{\n 'fwe-icon': true,\n 'fwe-icon-status-warning': data?.alertType === 'warning',\n 'fwe-icon-status-failure': data?.alertType === 'error',\n 'fwe-icon-status-check-status': data?.alertType === 'info'\n }\"\n ></i\n >{{ data?.title }}\n </h1>\n </div>\n <div class=\"fwe-modal-body\">\n <p>{{ data?.body }}</p>\n </div>\n <div class=\"fwe-modal-footer\" *ngIf=\"data?.cancel || data?.ok\">\n <div class=\"fwe-modal-buttons\">\n <button\n *ngIf=\"data?.cancel\"\n type=\"button\"\n aria-label=\"Cancel\"\n class=\"fwe-btn fwe-btn-lg\"\n [class.fwe-btn-link]=\"data?.strong\"\n (click)=\"onCancel()\"\n >\n {{ data?.cancel }}\n </button>\n <button\n *ngIf=\"data?.ok\"\n type=\"button\"\n aria-label=\"Ok\"\n class=\"fwe-btn fwe-btn-lg\"\n [class.fwe-btn-hero]=\"!data?.strong\"\n (click)=\"onOk()\"\n >\n {{ data?.ok }}\n </button>\n </div>\n </div>\n</div>\n" }]
37
- }], propDecorators: { data: [{
38
- type: Input
39
- }], close: [{
40
- type: Output
41
- }], cancel: [{
42
- type: Output
43
- }], ok: [{
44
- type: Output
45
- }], closeBtn: [{
46
- type: ViewChild,
47
- args: ['closeBtn']
48
- }], onKeyUp: [{
49
- type: HostListener,
50
- args: ['window:keyup', ['$event']]
51
- }] } });
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbHMvYWxlcnQvYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9tb2RhbHMvYWxlcnQvYWxlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxVQUFVLEVBQ1YsWUFBWSxFQUNaLFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsRUFDVCxpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUM7OztBQW1CdkIsTUFBTSxPQUFPLGNBQWM7SUFOM0I7UUFRWSxVQUFLLEdBQUcsSUFBSSxZQUFZLEVBQU8sQ0FBQztRQUNoQyxXQUFNLEdBQUcsSUFBSSxZQUFZLEVBQU8sQ0FBQztRQUNqQyxPQUFFLEdBQUcsSUFBSSxZQUFZLEVBQU8sQ0FBQztLQStCeEM7SUExQkMsT0FBTyxDQUFDLEtBQW9CO1FBQzFCLEtBQUssQ0FBQyxjQUFjLEVBQUU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