@festo-ui/angular 4.0.3-pre-20221213.1 → 5.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.
- package/README.md +13 -53
- package/css/bundle.css +1 -1
- package/css/image-gallery.css +1 -1
- package/css/popover.css +1 -1
- package/esm2020/festo-ui-angular.mjs +2 -2
- package/esm2020/lib/components/accordion/accordion-header/accordion-header.component.mjs +5 -5
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +5 -5
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +5 -5
- package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +30 -25
- package/esm2020/lib/components/accordion/accordion.component.mjs +9 -9
- package/esm2020/lib/components/accordion/index.mjs +1 -1
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +8 -5
- package/esm2020/lib/components/buttons/button/button.component.mjs +7 -6
- package/esm2020/lib/components/buttons/link-button/link-button.component.mjs +7 -6
- package/esm2020/lib/components/chips/chip/chip.component.mjs +6 -5
- package/esm2020/lib/components/chips/chip-container/chip-container.component.mjs +6 -5
- package/esm2020/lib/components/components.module.mjs +148 -151
- package/esm2020/lib/components/loading-indicator/loading-indicator.component.mjs +6 -5
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.mjs +7 -6
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.mjs +7 -6
- package/esm2020/lib/components/mobile-flyout/mobile-flyout.component.mjs +7 -7
- package/esm2020/lib/components/pagination/pagination.component.mjs +7 -5
- package/esm2020/lib/components/popovers/legend/legend.component.mjs +12 -12
- package/esm2020/lib/components/popovers/legend/legend.directive.mjs +7 -7
- package/esm2020/lib/components/popovers/popover/popover.component.mjs +6 -6
- package/esm2020/lib/components/popovers/popover-content/popover-content.component.mjs +14 -16
- package/esm2020/lib/components/popovers/popover-content/popover-content.directive.mjs +6 -6
- package/esm2020/lib/components/popovers/popover-menu/popover-menu.component.mjs +16 -17
- package/esm2020/lib/components/popovers/popover-ref.mjs +2 -2
- package/esm2020/lib/components/popovers/popover.defaults.mjs +17 -18
- package/esm2020/lib/components/popovers/popover.models.mjs +1 -17
- package/esm2020/lib/components/popovers/popover.service.mjs +28 -29
- package/esm2020/lib/components/popovers/tooltip/tooltip.directive.mjs +14 -15
- package/esm2020/lib/components/progress/progress.component.mjs +7 -5
- package/esm2020/lib/components/scroll/index.mjs +1 -1
- package/esm2020/lib/components/scroll/scrollable.directive.mjs +9 -6
- package/esm2020/lib/components/search-input/search-input.component.mjs +18 -8
- package/esm2020/lib/components/snackbar/snackbar-container.component.mjs +6 -6
- package/esm2020/lib/components/snackbar/snackbar-container.directive.mjs +10 -13
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +8 -6
- package/esm2020/lib/components/snackbar/snackbar.models.mjs +1 -1
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +7 -8
- package/esm2020/lib/components/snackbar/snackbar.service.mjs +4 -4
- package/esm2020/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.mjs +5 -5
- package/esm2020/lib/components/stepper-horizontal/stepper-horizontal.component.mjs +7 -6
- package/esm2020/lib/components/stepper-vertical/step-vertical/step-vertical.component.mjs +7 -6
- package/esm2020/lib/components/stepper-vertical/stepper-vertical.component.mjs +6 -6
- package/esm2020/lib/components/table-header-cell/table-header-cell.directive.mjs +8 -7
- package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +5 -5
- package/esm2020/lib/components/tabs/tabs.component.mjs +108 -22
- package/esm2020/lib/directives/click-outside.directive.mjs +29 -0
- package/esm2020/lib/festo-angular.module.mjs +9 -72
- package/esm2020/lib/forms/checkbox/checkbox.component.mjs +26 -21
- package/esm2020/lib/forms/color-indicator/color-indicator.component.mjs +28 -8
- package/esm2020/lib/forms/color-picker/color-helper.mjs +16 -8
- package/esm2020/lib/forms/color-picker/color-picker.component.mjs +35 -16
- package/esm2020/lib/forms/date-picker/date-picker.component.mjs +25 -22
- package/esm2020/lib/forms/date-range-picker/date-range-picker.component.mjs +29 -25
- package/esm2020/lib/forms/flatpickr/flatpickr.component.mjs +55 -0
- package/esm2020/lib/forms/forms.module.mjs +106 -79
- package/esm2020/lib/forms/radio/radio.component.mjs +43 -39
- package/esm2020/lib/forms/segment/segment-control/segment-control.component.mjs +15 -12
- package/esm2020/lib/forms/segment/segment.component.mjs +28 -23
- package/esm2020/lib/forms/select/chip-text.pipe.mjs +15 -10
- package/esm2020/lib/forms/select/select-option/select-option.component.mjs +7 -6
- package/esm2020/lib/forms/select/select.component.mjs +49 -41
- package/esm2020/lib/forms/slider/slider.component.mjs +24 -21
- package/esm2020/lib/forms/switch/switch.component.mjs +18 -17
- package/esm2020/lib/forms/text-area/text-area.component.mjs +16 -9
- package/esm2020/lib/forms/text-editor/text-editor.component.mjs +69 -61
- package/esm2020/lib/forms/text-input/text-input.component.mjs +38 -11
- package/esm2020/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.mjs +8 -6
- package/esm2020/lib/forms/time-picker/time-picker.component.mjs +18 -15
- package/esm2020/lib/forms/unique-selection-dispatcher.mjs +7 -5
- package/esm2020/lib/forms/value-accessor-base.mjs +5 -5
- package/esm2020/lib/modals/alert/alert.component.mjs +54 -0
- package/esm2020/lib/modals/confirm/confirm.component.mjs +55 -0
- package/esm2020/lib/modals/custom-modal/custom-modal.component.mjs +70 -0
- package/esm2020/lib/modals/image-gallery/image-gallery.component.mjs +62 -0
- package/esm2020/lib/modals/index.mjs +2 -0
- package/esm2020/lib/{components/modals → modals}/modal.service.mjs +8 -11
- package/esm2020/lib/modals/modals.module.mjs +28 -0
- package/esm2020/lib/modals/prompt/prompt.component.mjs +106 -0
- package/esm2020/lib/pipes/safe-html.pipe.mjs +5 -5
- package/esm2020/public-api.mjs +66 -0
- package/fesm2015/festo-ui-angular.mjs +4659 -4507
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +4590 -4478
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- package/index.d.ts +5 -13
- package/lib/components/accordion/accordion-header/accordion-header.component.d.ts +1 -1
- package/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.d.ts +1 -1
- package/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.d.ts +1 -1
- package/lib/components/accordion/accordion-item/accordion-item.component.d.ts +6 -5
- package/lib/components/accordion/accordion.component.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/components/buttons/button/button.component.d.ts +4 -4
- package/lib/components/buttons/link-button/link-button.component.d.ts +4 -4
- package/lib/components/chips/chip/chip.component.d.ts +2 -2
- package/lib/components/chips/chip-container/chip-container.component.d.ts +1 -1
- package/lib/components/components.module.d.ts +35 -68
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +1 -1
- package/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.d.ts +1 -1
- package/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.d.ts +1 -1
- package/lib/components/mobile-flyout/mobile-flyout.component.d.ts +1 -1
- package/lib/components/pagination/pagination.component.d.ts +1 -1
- package/lib/components/popovers/legend/legend.component.d.ts +2 -2
- package/lib/components/popovers/legend/legend.directive.d.ts +2 -2
- package/lib/components/popovers/popover/popover.component.d.ts +4 -4
- package/lib/components/popovers/popover-content/popover-content.component.d.ts +2 -2
- package/lib/components/popovers/popover-content/popover-content.directive.d.ts +2 -2
- package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +6 -6
- package/lib/components/popovers/popover-ref.d.ts +2 -2
- package/lib/components/popovers/popover.defaults.d.ts +4 -4
- package/lib/components/popovers/popover.models.d.ts +8 -20
- package/lib/components/popovers/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/components/progress/progress.component.d.ts +1 -1
- package/lib/components/scroll/scrollable.directive.d.ts +1 -1
- package/lib/components/search-input/search-input.component.d.ts +1 -1
- package/lib/components/snackbar/snackbar-container.component.d.ts +1 -1
- package/lib/components/snackbar/snackbar-container.directive.d.ts +4 -7
- package/lib/components/snackbar/snackbar.component.d.ts +1 -1
- package/lib/components/snackbar/snackbar.module.d.ts +5 -5
- package/lib/components/snackbar/snackbar.service.d.ts +1 -1
- package/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.d.ts +1 -1
- package/lib/components/stepper-horizontal/stepper-horizontal.component.d.ts +1 -1
- package/lib/components/stepper-vertical/step-vertical/step-vertical.component.d.ts +2 -2
- package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +1 -1
- package/lib/components/table-header-cell/table-header-cell.directive.d.ts +8 -8
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +7 -7
- package/lib/components/tabs/tabs.component.d.ts +11 -11
- package/lib/{components → directives}/click-outside.directive.d.ts +1 -1
- package/lib/festo-angular.module.d.ts +6 -11
- package/lib/forms/checkbox/checkbox.component.d.ts +1 -1
- package/lib/forms/color-indicator/color-indicator.component.d.ts +1 -1
- package/lib/forms/color-picker/color-helper.d.ts +4 -4
- package/lib/forms/color-picker/color-picker.component.d.ts +6 -6
- package/lib/forms/date-picker/date-picker.component.d.ts +11 -11
- package/lib/forms/date-range-picker/date-range-picker.component.d.ts +12 -12
- package/lib/{wrappers → forms}/flatpickr/flatpickr.component.d.ts +5 -5
- package/lib/forms/forms.module.d.ts +24 -39
- package/lib/forms/radio/radio.component.d.ts +12 -12
- package/lib/forms/segment/segment-control/segment-control.component.d.ts +11 -13
- package/lib/forms/segment/segment.component.d.ts +3 -3
- package/lib/forms/select/chip-text.pipe.d.ts +1 -1
- package/lib/forms/select/select-option/select-option.component.d.ts +3 -3
- package/lib/forms/select/select.component.d.ts +11 -11
- package/lib/forms/slider/slider.component.d.ts +6 -6
- package/lib/forms/switch/switch.component.d.ts +5 -5
- package/lib/forms/text-area/text-area.component.d.ts +12 -12
- package/lib/forms/text-editor/text-editor.component.d.ts +16 -16
- package/lib/forms/text-input/text-input.component.d.ts +4 -4
- package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +6 -6
- package/lib/forms/time-picker/time-picker.component.d.ts +8 -8
- package/lib/forms/unique-selection-dispatcher.d.ts +2 -2
- package/lib/forms/value-accessor-base.d.ts +4 -4
- package/lib/{components/modals → modals}/alert/alert.component.d.ts +2 -2
- package/lib/{components/modals → modals}/confirm/confirm.component.d.ts +2 -2
- package/lib/{components/modals → modals}/custom-modal/custom-modal.component.d.ts +1 -1
- package/lib/{components → modals}/image-gallery/image-gallery.component.d.ts +2 -2
- package/lib/{components/modals → modals}/index.d.ts +1 -1
- package/lib/{components/modals → modals}/modal.service.d.ts +1 -1
- package/lib/modals/modals.module.d.ts +18 -0
- package/lib/{components/modals → modals}/prompt/prompt.component.d.ts +2 -2
- package/lib/pipes/safe-html.pipe.d.ts +1 -1
- package/package.json +13 -16
- package/public-api.d.ts +62 -0
- package/scss/base/image-gallery.scss +3 -0
- package/scss/base/popover.scss +9 -0
- package/scss/base/styles.scss +5 -0
- package/esm2020/index.mjs +0 -26
- package/esm2020/lib/components/click-outside.directive.mjs +0 -28
- package/esm2020/lib/components/image-gallery/image-gallery.component.mjs +0 -60
- package/esm2020/lib/components/image-gallery/image-gallery.module.mjs +0 -22
- package/esm2020/lib/components/modals/alert/alert.component.mjs +0 -52
- package/esm2020/lib/components/modals/confirm/confirm.component.mjs +0 -53
- package/esm2020/lib/components/modals/custom-modal/custom-modal.component.mjs +0 -70
- package/esm2020/lib/components/modals/index.mjs +0 -2
- package/esm2020/lib/components/modals/modals.module.mjs +0 -31
- package/esm2020/lib/components/modals/prompt/prompt.component.mjs +0 -102
- package/esm2020/lib/content/content.module.mjs +0 -20
- package/esm2020/lib/content/icon/icon.component.mjs +0 -17
- package/esm2020/lib/forms/container-host.mjs +0 -27
- package/esm2020/lib/forms/date-picker.module.mjs +0 -28
- package/esm2020/lib/forms/text-editor/text-editor.module.mjs +0 -25
- package/esm2020/lib/layout/layout.module.mjs +0 -18
- package/esm2020/lib/pipes/pipes.module.mjs +0 -20
- package/esm2020/lib/wrappers/flatpickr/flatpickr.component.mjs +0 -59
- package/lib/components/image-gallery/image-gallery.module.d.ts +0 -11
- package/lib/components/modals/modals.module.d.ts +0 -20
- package/lib/content/content.module.d.ts +0 -9
- package/lib/content/icon/icon.component.d.ts +0 -45
- package/lib/forms/container-host.d.ts +0 -11
- package/lib/forms/date-picker.module.d.ts +0 -17
- package/lib/forms/text-editor/text-editor.module.d.ts +0 -14
- package/lib/layout/layout.module.d.ts +0 -7
- package/lib/pipes/pipes.module.d.ts +0 -9
- package/scss/base/components/accordion/accordion-header/accordion-header.component.scss +0 -12
- package/scss/base/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.scss +0 -109
- package/scss/base/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.scss +0 -9
- package/scss/base/components/accordion/accordion-item/accordion-item.component.scss +0 -71
- package/scss/base/components/accordion/accordion.component.scss +0 -6
- package/scss/base/components/breadcrumb/breadcrumb.component.scss +0 -0
- package/scss/base/components/buttons/button/button.component.scss +0 -7
- package/scss/base/components/buttons/link-button/link-button.component.scss +0 -0
- package/scss/base/components/chips/chip/chip.component.scss +0 -0
- package/scss/base/components/chips/chip-container/chip-container.component.scss +0 -0
- package/scss/base/components/image-gallery/image-gallery.component.scss +0 -0
- package/scss/base/components/image-gallery/styles.scss +0 -5
- package/scss/base/components/loading-indicator/loading-indicator.component.scss +0 -0
- package/scss/base/components/modals/alert/alert.component.scss +0 -0
- package/scss/base/components/modals/confirm/confirm.component.scss +0 -0
- package/scss/base/components/modals/prompt/prompt.component.scss +0 -0
- package/scss/base/components/pagination/pagination.component.scss +0 -0
- package/scss/base/components/popovers/legend/legend.component.scss +0 -9
- package/scss/base/components/popovers/popover/popover.component.scss +0 -0
- package/scss/base/components/popovers/popover/styles.scss +0 -84
- package/scss/base/components/popovers/popover-content/popover-content.component.scss +0 -12
- package/scss/base/components/popovers/popover-menu/popover-menu.component.scss +0 -0
- package/scss/base/components/scroll/scroll-story-helper.scss +0 -12
- package/scss/base/components/search-input/search-input.component.scss +0 -7
- package/scss/base/components/snackbar/snackbar-container.component.scss +0 -3
- package/scss/base/components/snackbar/snackbar.component.scss +0 -3
- package/scss/base/components/stepper-horizontal/step-horizontal/step-horizontal.component.scss +0 -23
- package/scss/base/components/stepper-vertical/step-vertical/step-vertical.component.scss +0 -6
- package/scss/base/components/tabs/tab-pane/tab-pane.component.scss +0 -7
- package/scss/base/components/tabs/tabs.component.scss +0 -326
- package/scss/base/content/icon/icon.component.scss +0 -0
- package/scss/base/forms/checkbox/checkbox.component.scss +0 -160
- package/scss/base/forms/color-indicator/color-indicator.component.scss +0 -59
- package/scss/base/forms/color-picker/color-picker.component.scss +0 -207
- package/scss/base/forms/date-picker/date-picker.component.scss +0 -5
- package/scss/base/forms/date-range-picker/date-range-picker.component.scss +0 -34
- package/scss/base/forms/radio/radio.component.scss +0 -9
- package/scss/base/forms/segment/segment-control/segment-control.component.scss +0 -0
- package/scss/base/forms/segment/segment.component.scss +0 -0
- package/scss/base/forms/select/select-option/select-option.component.scss +0 -0
- package/scss/base/forms/select/select.component.scss +0 -251
- package/scss/base/forms/slider/slider.component.scss +0 -20
- package/scss/base/forms/switch/switch.component.scss +0 -145
- package/scss/base/forms/text-area/text-area.component.scss +0 -43
- package/scss/base/forms/text-editor/text-editor.component.scss +0 -294
- package/scss/base/forms/text-input/text-input.component.scss +0 -60
- package/scss/base/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.scss +0 -10
- package/scss/base/forms/time-picker/time-picker.component.scss +0 -5
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { OnInit, SimpleChanges, OnChanges, TemplateRef, AfterViewInit, ViewRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SegmentControlComponent implements OnInit, OnChanges, AfterViewInit {
|
|
4
|
-
id: string;
|
|
5
|
-
view: ViewRef;
|
|
4
|
+
id: string | undefined;
|
|
5
|
+
view: ViewRef | undefined;
|
|
6
6
|
viewMode: 'text' | 'icon' | 'icon-text';
|
|
7
|
-
name: string;
|
|
7
|
+
name: string | undefined;
|
|
8
8
|
value: any;
|
|
9
|
-
label: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
iconOnly: boolean;
|
|
12
|
-
checked: boolean;
|
|
13
|
-
disabled: boolean;
|
|
9
|
+
label: string | undefined;
|
|
10
|
+
icon: string | undefined;
|
|
11
|
+
iconOnly: boolean | undefined;
|
|
12
|
+
checked: boolean | undefined;
|
|
13
|
+
disabled: boolean | undefined;
|
|
14
14
|
change: EventEmitter<any>;
|
|
15
|
-
tpl: TemplateRef<any
|
|
15
|
+
tpl: TemplateRef<any> | undefined;
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
18
|
ngAfterViewInit(): void;
|
|
19
|
-
onChange(event:
|
|
20
|
-
target: HTMLInputElement;
|
|
21
|
-
}): void;
|
|
19
|
+
onChange(event: unknown): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentControlComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentControlComponent, "fng-segment-control", never, { "name": "name"; "value": "value"; "label": "label"; "icon": "icon"; "iconOnly": "iconOnly"; "checked": "checked"; "disabled": "disabled"; }, { "change": "change"; }, never, never,
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentControlComponent, "fng-segment-control", never, { "name": "name"; "value": "value"; "label": "label"; "icon": "icon"; "iconOnly": "iconOnly"; "checked": "checked"; "disabled": "disabled"; }, { "change": "change"; }, never, never, true, never>;
|
|
24
22
|
}
|
|
@@ -15,8 +15,8 @@ export declare class SegmentComponent extends ValueAccessorBaseDirective<any> im
|
|
|
15
15
|
useIconAndText: boolean;
|
|
16
16
|
legend: string;
|
|
17
17
|
config: SegmentComponentConfiguration;
|
|
18
|
-
controls: QueryList<SegmentControlComponent
|
|
19
|
-
vc: ViewContainerRef;
|
|
18
|
+
controls: QueryList<SegmentControlComponent> | undefined;
|
|
19
|
+
vc: ViewContainerRef | undefined;
|
|
20
20
|
fngChange: EventEmitter<any>;
|
|
21
21
|
change: EventEmitter<any>;
|
|
22
22
|
set value(value: string);
|
|
@@ -27,5 +27,5 @@ export declare class SegmentComponent extends ValueAccessorBaseDirective<any> im
|
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
28
|
private html;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentComponent, "fng-segment", never, { "legend": "legend"; "config": "config"; "value": "value"; }, { "fngChange": "fngChange"; "change": "change"; }, ["controls"], never,
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentComponent, "fng-segment", never, { "legend": "legend"; "config": "config"; "value": "value"; }, { "fngChange": "fngChange"; "change": "change"; }, ["controls"], never, true, never>;
|
|
31
31
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ChipTextPipe implements PipeTransform {
|
|
4
4
|
transform(value: any, options: any[], optionsValueKey?: string, optionsTextKey?: string): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipTextPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ChipTextPipe, "fngChipText",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ChipTextPipe, "fngChipText", true>;
|
|
7
7
|
}
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SelectOptionComponent implements AfterViewInit {
|
|
4
4
|
value: any;
|
|
5
5
|
elementRef: ElementRef;
|
|
6
|
-
el: HTMLElement;
|
|
6
|
+
el: HTMLElement | undefined;
|
|
7
7
|
ngAfterViewInit(): void;
|
|
8
|
-
update(): Promise<HTMLElement>;
|
|
8
|
+
update(): Promise<HTMLElement | undefined>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "fng-select-option", never, { "value": "value"; }, {}, never, ["*"],
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "fng-select-option", never, { "value": "value"; }, {}, never, ["*"], true, never>;
|
|
11
11
|
}
|
|
@@ -21,23 +21,23 @@ export declare class SelectComponent implements ControlValueAccessor, OnInit, Af
|
|
|
21
21
|
set required(value: boolean);
|
|
22
22
|
get value(): any;
|
|
23
23
|
set value(value: any);
|
|
24
|
-
onChange: (_: any) => void;
|
|
25
|
-
onTouched: () => void;
|
|
24
|
+
onChange: ((_: any) => void) | undefined;
|
|
25
|
+
onTouched: (() => void) | undefined;
|
|
26
26
|
touched: boolean;
|
|
27
27
|
id: string;
|
|
28
28
|
multiple: boolean;
|
|
29
29
|
size: number;
|
|
30
30
|
options: any[];
|
|
31
|
-
optionsValueKey: string;
|
|
32
|
-
optionsTextKey: string;
|
|
33
|
-
optionObjectAsValue: boolean;
|
|
34
|
-
error: string;
|
|
31
|
+
optionsValueKey: string | undefined;
|
|
32
|
+
optionsTextKey: string | undefined;
|
|
33
|
+
optionObjectAsValue: boolean | undefined;
|
|
34
|
+
error: string | undefined;
|
|
35
35
|
label: string;
|
|
36
36
|
hideLabel: boolean;
|
|
37
37
|
hint: string;
|
|
38
|
-
resetOption: string;
|
|
39
|
-
fngSelectOptions: QueryList<SelectOptionComponent
|
|
40
|
-
elementRef: ElementRef;
|
|
38
|
+
resetOption: string | undefined;
|
|
39
|
+
fngSelectOptions: QueryList<SelectOptionComponent> | undefined;
|
|
40
|
+
elementRef: ElementRef | undefined;
|
|
41
41
|
fngChange: EventEmitter<any>;
|
|
42
42
|
selectPanelClasses: string[];
|
|
43
43
|
showOptions: boolean;
|
|
@@ -61,9 +61,9 @@ export declare class SelectComponent implements ControlValueAccessor, OnInit, Af
|
|
|
61
61
|
toggle(): void;
|
|
62
62
|
select(value: any, event: Event): void;
|
|
63
63
|
markAsTouched(): void;
|
|
64
|
-
onContentChange(
|
|
64
|
+
onContentChange(event: Event): void;
|
|
65
65
|
protected initProjectedOptions(): void;
|
|
66
66
|
protected isEmpty(): void;
|
|
67
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "fng-select", never, { "disabled": "disabled"; "required": "required"; "multiple": "multiple"; "size": "size"; "options": "options"; "optionsValueKey": "optionsValueKey"; "optionsTextKey": "optionsTextKey"; "optionObjectAsValue": "optionObjectAsValue"; "error": "error"; "label": "label"; "hideLabel": "hideLabel"; "hint": "hint"; "resetOption": "resetOption"; }, { "fngChange": "fngChange"; }, ["fngSelectOptions"], ["*"],
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "fng-select", never, { "disabled": "disabled"; "required": "required"; "multiple": "multiple"; "size": "size"; "options": "options"; "optionsValueKey": "optionsValueKey"; "optionsTextKey": "optionsTextKey"; "optionObjectAsValue": "optionObjectAsValue"; "error": "error"; "label": "label"; "hideLabel": "hideLabel"; "hint": "hint"; "resetOption": "resetOption"; }, { "fngChange": "fngChange"; }, ["fngSelectOptions"], ["*"], true, never>;
|
|
69
69
|
}
|
|
@@ -3,13 +3,13 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SliderComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
5
5
|
private elementRef;
|
|
6
|
-
label: string;
|
|
6
|
+
label: string | undefined;
|
|
7
7
|
large: boolean;
|
|
8
8
|
min: number;
|
|
9
9
|
max: number;
|
|
10
10
|
step: number;
|
|
11
|
-
digitsInfo: string;
|
|
12
|
-
locale: string;
|
|
11
|
+
digitsInfo: string | undefined;
|
|
12
|
+
locale: string | undefined;
|
|
13
13
|
left: number;
|
|
14
14
|
protected innerDisabled: boolean;
|
|
15
15
|
get disabled(): boolean;
|
|
@@ -20,8 +20,8 @@ export declare class SliderComponent implements AfterViewInit, OnDestroy, Contro
|
|
|
20
20
|
private resizeSub;
|
|
21
21
|
private resizeSubject;
|
|
22
22
|
constructor(elementRef: ElementRef);
|
|
23
|
-
onChange: (value: number) => void;
|
|
24
|
-
onTouched: () => void;
|
|
23
|
+
onChange: ((value: number) => void) | undefined;
|
|
24
|
+
onTouched: (() => void) | undefined;
|
|
25
25
|
onResize(): void;
|
|
26
26
|
ngAfterViewInit(): void;
|
|
27
27
|
ngOnDestroy(): void;
|
|
@@ -32,5 +32,5 @@ export declare class SliderComponent implements AfterViewInit, OnDestroy, Contro
|
|
|
32
32
|
onInput(event: any): void;
|
|
33
33
|
updateValuePosition(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "fng-slider", never, { "label": "label"; "large": "large"; "min": "min"; "max": "max"; "step": "step"; "digitsInfo": "digitsInfo"; "locale": "locale"; "disabled": "disabled"; "value": "value"; }, {}, never, never,
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "fng-slider", never, { "label": "label"; "large": "large"; "min": "min"; "max": "max"; "step": "step"; "digitsInfo": "digitsInfo"; "locale": "locale"; "disabled": "disabled"; "value": "value"; }, {}, never, never, true, never>;
|
|
36
36
|
}
|
|
@@ -3,7 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SwitchComponent implements ControlValueAccessor {
|
|
5
5
|
private changeDetector;
|
|
6
|
-
name: string;
|
|
6
|
+
name: string | undefined;
|
|
7
7
|
large: boolean;
|
|
8
8
|
labelPosition: 'before' | 'after' | 'below';
|
|
9
9
|
private innerId;
|
|
@@ -16,14 +16,14 @@ export declare class SwitchComponent implements ControlValueAccessor {
|
|
|
16
16
|
get disabled(): any;
|
|
17
17
|
set disabled(value: any);
|
|
18
18
|
private isDisabled;
|
|
19
|
-
value: string;
|
|
19
|
+
value: string | undefined;
|
|
20
20
|
get required(): boolean;
|
|
21
21
|
set required(value: boolean);
|
|
22
22
|
private isRequired;
|
|
23
23
|
readonly change: EventEmitter<boolean>;
|
|
24
24
|
constructor(changeDetector: ChangeDetectorRef);
|
|
25
|
-
controlValueAccessorChangeFn: (value: any) => void;
|
|
26
|
-
onTouched: () => any;
|
|
25
|
+
controlValueAccessorChangeFn: ((value: any) => void) | undefined;
|
|
26
|
+
onTouched: (() => any) | undefined;
|
|
27
27
|
writeValue(value: any): void;
|
|
28
28
|
registerOnChange(fn: (value: any) => void): void;
|
|
29
29
|
registerOnTouched(fn: any): void;
|
|
@@ -31,5 +31,5 @@ export declare class SwitchComponent implements ControlValueAccessor {
|
|
|
31
31
|
onInteractionEvent(event: Event): void;
|
|
32
32
|
onInputClick(event: Event): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "fng-switch", never, { "name": "name"; "large": "large"; "labelPosition": "labelPosition"; "id": "id"; "checked": "checked"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "change": "change"; }, never, ["*"],
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "fng-switch", never, { "name": "name"; "large": "large"; "labelPosition": "labelPosition"; "id": "id"; "checked": "checked"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
35
35
|
}
|
|
@@ -8,13 +8,13 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
8
8
|
/**
|
|
9
9
|
* The text input label.
|
|
10
10
|
*/
|
|
11
|
-
label: string;
|
|
11
|
+
label: string | undefined;
|
|
12
12
|
get readonly(): boolean;
|
|
13
13
|
set readonly(value: boolean);
|
|
14
14
|
private innerReadonly;
|
|
15
|
-
placeholder: string;
|
|
15
|
+
placeholder: string | undefined;
|
|
16
16
|
tabindex: number;
|
|
17
|
-
name: string;
|
|
17
|
+
name: string | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* When true the control's disabled attribute is set
|
|
20
20
|
* and it gets addeed the .disabled css class.
|
|
@@ -25,26 +25,26 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
25
25
|
/**
|
|
26
26
|
* The inner value.
|
|
27
27
|
*/
|
|
28
|
-
innerValue: string;
|
|
28
|
+
innerValue: string | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* The getter for value.
|
|
31
31
|
*/
|
|
32
|
-
get value(): string;
|
|
32
|
+
get value(): string | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* The setter for value.
|
|
35
35
|
*/
|
|
36
|
-
set value(value: string);
|
|
36
|
+
set value(value: string | undefined);
|
|
37
37
|
get required(): boolean;
|
|
38
38
|
set required(value: boolean);
|
|
39
39
|
protected innerRequired: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* Error description when invalid.
|
|
42
42
|
*/
|
|
43
|
-
error: string;
|
|
43
|
+
error: string | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Hint description when valid.
|
|
46
46
|
*/
|
|
47
|
-
hint: string;
|
|
47
|
+
hint: string | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* the height is managed by classes. the last one is "fwe-row-10"
|
|
50
50
|
*/
|
|
@@ -52,7 +52,7 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
52
52
|
set rows(value: number);
|
|
53
53
|
protected innerRows: number;
|
|
54
54
|
maxlength: number;
|
|
55
|
-
inputElement: ElementRef;
|
|
55
|
+
inputElement: ElementRef | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* When true the text input has focus.
|
|
58
58
|
*/
|
|
@@ -60,11 +60,11 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
60
60
|
/**
|
|
61
61
|
* Triggered on change.
|
|
62
62
|
*/
|
|
63
|
-
onChange: (value: string) => void;
|
|
63
|
+
onChange: ((value: string | undefined) => void) | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* Triggered on touch.
|
|
66
66
|
*/
|
|
67
|
-
onTouched: () => void;
|
|
67
|
+
onTouched: (() => void) | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* Called on component initialisation.
|
|
70
70
|
*/
|
|
@@ -99,5 +99,5 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
99
99
|
*/
|
|
100
100
|
setDisabledState(isDisabled: boolean): void;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "fng-text-area", never, { "label": "label"; "readonly": "readonly"; "placeholder": "placeholder"; "tabindex": "tabindex"; "name": "name"; "disabled": "disabled"; "value": "value"; "required": "required"; "error": "error"; "hint": "hint"; "rows": "rows"; "maxlength": "maxlength"; }, {}, never, never,
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "fng-text-area", never, { "label": "label"; "readonly": "readonly"; "placeholder": "placeholder"; "tabindex": "tabindex"; "name": "name"; "disabled": "disabled"; "value": "value"; "required": "required"; "error": "error"; "hint": "hint"; "rows": "rows"; "maxlength": "maxlength"; }, {}, never, never, true, never>;
|
|
103
103
|
}
|
|
@@ -25,30 +25,30 @@ export declare class TextEditorComponent extends ValueAccessorBaseDirective<stri
|
|
|
25
25
|
elementRef: ElementRef;
|
|
26
26
|
private renderer;
|
|
27
27
|
private domSanitizer;
|
|
28
|
-
id: string;
|
|
28
|
+
id: string | undefined;
|
|
29
29
|
quillEditor: QuillType;
|
|
30
30
|
editorElem: HTMLElement;
|
|
31
31
|
defaultConfig: TextEditorConfiguration;
|
|
32
|
-
btnBold: ElementRef;
|
|
33
|
-
btnItalic: ElementRef;
|
|
34
|
-
btnUnderline: ElementRef;
|
|
35
|
-
btnAlignCenter: ElementRef;
|
|
36
|
-
btnAlignRight: ElementRef;
|
|
37
|
-
btnLink: ElementRef;
|
|
38
|
-
btnUl: ElementRef;
|
|
39
|
-
btnOl: ElementRef;
|
|
40
|
-
btnImage: ElementRef;
|
|
32
|
+
btnBold: ElementRef | undefined;
|
|
33
|
+
btnItalic: ElementRef | undefined;
|
|
34
|
+
btnUnderline: ElementRef | undefined;
|
|
35
|
+
btnAlignCenter: ElementRef | undefined;
|
|
36
|
+
btnAlignRight: ElementRef | undefined;
|
|
37
|
+
btnLink: ElementRef | undefined;
|
|
38
|
+
btnUl: ElementRef | undefined;
|
|
39
|
+
btnOl: ElementRef | undefined;
|
|
40
|
+
btnImage: ElementRef | undefined;
|
|
41
41
|
fngChange: EventEmitter<any>;
|
|
42
42
|
change: EventEmitter<any>;
|
|
43
43
|
config: TextEditorConfiguration;
|
|
44
44
|
modules: any;
|
|
45
|
-
label: string;
|
|
45
|
+
label: string | undefined;
|
|
46
46
|
readOnly: boolean;
|
|
47
47
|
maxLength: number;
|
|
48
|
-
error: string;
|
|
49
|
-
hint: string;
|
|
50
|
-
set value(value: string);
|
|
51
|
-
get value(): string;
|
|
48
|
+
error: string | undefined;
|
|
49
|
+
hint: string | undefined;
|
|
50
|
+
set value(value: string | undefined);
|
|
51
|
+
get value(): string | undefined;
|
|
52
52
|
valueGetter: (editorElement: HTMLElement) => string | any;
|
|
53
53
|
valueSetter: (quillEditor: QuillType, value: any) => any;
|
|
54
54
|
constructor(elementRef: ElementRef, renderer: Renderer2, domSanitizer: DomSanitizer);
|
|
@@ -67,5 +67,5 @@ export declare class TextEditorComponent extends ValueAccessorBaseDirective<stri
|
|
|
67
67
|
private addImageMatcher;
|
|
68
68
|
private handleWhitespace;
|
|
69
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "fng-text-editor", never, { "config": "config"; "modules": "modules"; "label": "label"; "readOnly": "readOnly"; "maxLength": "maxLength"; "error": "error"; "hint": "hint"; "value": "value"; }, { "fngChange": "fngChange"; "change": "change"; }, never, never,
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "fng-text-editor", never, { "config": "config"; "modules": "modules"; "label": "label"; "readOnly": "readOnly"; "maxLength": "maxLength"; "error": "error"; "hint": "hint"; "value": "value"; }, { "fngChange": "fngChange"; "change": "change"; }, never, never, true, never>;
|
|
71
71
|
}
|
|
@@ -54,7 +54,7 @@ export declare class TextInputComponent implements OnInit, ControlValueAccessor
|
|
|
54
54
|
* Hint description when valid.
|
|
55
55
|
*/
|
|
56
56
|
hint: string;
|
|
57
|
-
inputElement: ElementRef;
|
|
57
|
+
inputElement: ElementRef | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* When true the text input has focus.
|
|
60
60
|
*/
|
|
@@ -62,11 +62,11 @@ export declare class TextInputComponent implements OnInit, ControlValueAccessor
|
|
|
62
62
|
/**
|
|
63
63
|
* Triggered on change.
|
|
64
64
|
*/
|
|
65
|
-
onChange: (value: string) => void;
|
|
65
|
+
onChange: ((value: string) => void) | undefined;
|
|
66
66
|
/**
|
|
67
67
|
* Triggered on touch.
|
|
68
68
|
*/
|
|
69
|
-
onTouched: () => void;
|
|
69
|
+
onTouched: (() => void) | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* Called on component initialisation.
|
|
72
72
|
*/
|
|
@@ -100,5 +100,5 @@ export declare class TextInputComponent implements OnInit, ControlValueAccessor
|
|
|
100
100
|
*/
|
|
101
101
|
setDisabledState(isDisabled: boolean): void;
|
|
102
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "fng-text-input", never, { "label": "label"; "type": "type"; "readonly": "readonly"; "step": "step"; "min": "min"; "max": "max"; "tabindex": "tabindex"; "placeholder": "placeholder"; "name": "name"; "disabled": "disabled"; "value": "value"; "required": "required"; "error": "error"; "hint": "hint"; }, {}, never, [".fng-hint", ".fng-error"],
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "fng-text-input", never, { "label": "label"; "type": "type"; "readonly": "readonly"; "step": "step"; "min": "min"; "max": "max"; "tabindex": "tabindex"; "placeholder": "placeholder"; "name": "name"; "disabled": "disabled"; "value": "value"; "required": "required"; "error": "error"; "hint": "hint"; }, {}, never, [".fng-hint", ".fng-error"], true, never>;
|
|
104
104
|
}
|
|
@@ -5,10 +5,10 @@ export declare class TimePickerDropdownComponent implements AfterViewInit {
|
|
|
5
5
|
showSeconds: boolean;
|
|
6
6
|
timeFormat: '12' | '24';
|
|
7
7
|
dateChange: EventEmitter<{
|
|
8
|
-
date: Date;
|
|
8
|
+
date: Date | null;
|
|
9
9
|
close: boolean;
|
|
10
10
|
}>;
|
|
11
|
-
hoursInput: ElementRef;
|
|
11
|
+
hoursInput: ElementRef | undefined;
|
|
12
12
|
hide(event: KeyboardEvent): void;
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
onHourUp(): void;
|
|
@@ -17,10 +17,10 @@ export declare class TimePickerDropdownComponent implements AfterViewInit {
|
|
|
17
17
|
onMinuteDown(): void;
|
|
18
18
|
onSecondUp(): void;
|
|
19
19
|
onSecondDown(): void;
|
|
20
|
-
onHourChange(event:
|
|
21
|
-
onMinuteChange(event:
|
|
22
|
-
onSecondChange(event:
|
|
20
|
+
onHourChange(event: Event): void;
|
|
21
|
+
onMinuteChange(event: Event): void;
|
|
22
|
+
onSecondChange(event: Event): void;
|
|
23
23
|
onDateChange(close: boolean, reset: boolean): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerDropdownComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerDropdownComponent, "fng-time-picker-dropdown", never, { "date": "date"; "showSeconds": "showSeconds"; "timeFormat": "timeFormat"; }, { "dateChange": "dateChange"; }, never, never,
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerDropdownComponent, "fng-time-picker-dropdown", never, { "date": "date"; "showSeconds": "showSeconds"; "timeFormat": "timeFormat"; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -15,21 +15,21 @@ export declare class TimePickerComponent implements ControlValueAccessor {
|
|
|
15
15
|
get required(): boolean;
|
|
16
16
|
set required(value: boolean);
|
|
17
17
|
protected innerRequired: boolean;
|
|
18
|
-
hint: string;
|
|
19
|
-
error: string;
|
|
20
|
-
options: TimePickerOptions;
|
|
18
|
+
hint: string | undefined;
|
|
19
|
+
error: string | undefined;
|
|
20
|
+
options: TimePickerOptions | undefined;
|
|
21
21
|
width: string;
|
|
22
22
|
display: string;
|
|
23
|
-
connector: ElementRef;
|
|
23
|
+
connector: ElementRef | undefined;
|
|
24
24
|
get timeFormat(): string;
|
|
25
|
-
timePickerRef: OverlayRef;
|
|
25
|
+
timePickerRef: OverlayRef | null;
|
|
26
26
|
protected innerValue: Date;
|
|
27
27
|
protected innerDisabled: boolean;
|
|
28
28
|
private complete;
|
|
29
29
|
private timePicker;
|
|
30
30
|
constructor(overlay: Overlay);
|
|
31
|
-
onTouched: () => void;
|
|
32
|
-
onChange: (date: Date) => void;
|
|
31
|
+
onTouched: (() => void) | undefined;
|
|
32
|
+
onChange: ((date: Date) => void) | undefined;
|
|
33
33
|
hide(event: KeyboardEvent): void;
|
|
34
34
|
writeValue(date: Date): void;
|
|
35
35
|
registerOnChange(fn: any): void;
|
|
@@ -38,5 +38,5 @@ export declare class TimePickerComponent implements ControlValueAccessor {
|
|
|
38
38
|
toggle(event: Event): void;
|
|
39
39
|
private dispose;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "fng-time-picker", never, { "value": "value"; "disabled": "disabled"; "required": "required"; "hint": "hint"; "error": "error"; "options": "options"; "width": "width"; }, {}, never, ["*"],
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "fng-time-picker", never, { "value": "value"; "disabled": "disabled"; "required": "required"; "hint": "hint"; "error": "error"; "options": "options"; "width": "width"; }, {}, never, ["*"], true, never>;
|
|
42
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
3
|
+
export type UniqueSelectionDispatcherListener = (id: string, name: string) => void;
|
|
4
4
|
export declare class UniqueSelectionDispatcher implements OnDestroy {
|
|
5
5
|
private listeners;
|
|
6
6
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class UniqueSelectionDispatcher implements OnDestroy {
|
|
|
8
8
|
* @param id ID of the item.
|
|
9
9
|
* @param name Name of the item.
|
|
10
10
|
*/
|
|
11
|
-
notify(id: string, name
|
|
11
|
+
notify(id: string, name?: string): void;
|
|
12
12
|
/**
|
|
13
13
|
* Listen for future changes to item selection.
|
|
14
14
|
* @return Function used to deregister listener
|
|
@@ -2,16 +2,16 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ValueAccessorBaseDirective<T> implements ControlValueAccessor {
|
|
4
4
|
disabled: boolean;
|
|
5
|
-
protected innerValue: T;
|
|
5
|
+
protected innerValue: T | undefined;
|
|
6
6
|
protected changed: ((value: T) => void)[];
|
|
7
7
|
protected touched: (() => void)[];
|
|
8
|
-
get value(): T;
|
|
9
|
-
set value(value: T);
|
|
8
|
+
get value(): T | undefined;
|
|
9
|
+
set value(value: T | undefined);
|
|
10
10
|
touch(): void;
|
|
11
11
|
writeValue(value: T): void;
|
|
12
12
|
registerOnChange(fn: (value: T) => void): void;
|
|
13
13
|
registerOnTouched(fn: () => void): void;
|
|
14
14
|
setDisabledState?(isDisabled: boolean): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessorBaseDirective<any>, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessorBaseDirective<any>, never, never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessorBaseDirective<any>, never, never, { "disabled": "disabled"; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -15,12 +15,12 @@ export declare class AlertComponent implements AfterViewInit, Modal<AlertData, a
|
|
|
15
15
|
close: EventEmitter<any>;
|
|
16
16
|
cancel: EventEmitter<any>;
|
|
17
17
|
ok: EventEmitter<any>;
|
|
18
|
-
closeBtn: ElementRef;
|
|
18
|
+
closeBtn: ElementRef | undefined;
|
|
19
19
|
onKeyUp(event: KeyboardEvent): void;
|
|
20
20
|
ngAfterViewInit(): void;
|
|
21
21
|
onClose(): void;
|
|
22
22
|
onOk(): void;
|
|
23
23
|
onCancel(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "fng-alert", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never,
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "fng-alert", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -15,7 +15,7 @@ export declare class ConfirmComponent implements AfterViewInit, Modal<ConfirmDat
|
|
|
15
15
|
close: EventEmitter<any>;
|
|
16
16
|
cancel: EventEmitter<any>;
|
|
17
17
|
ok: EventEmitter<any>;
|
|
18
|
-
closeBtn: ElementRef;
|
|
18
|
+
closeBtn: ElementRef | undefined;
|
|
19
19
|
onKeyUp(event: KeyboardEvent): void;
|
|
20
20
|
constructor(cd: ChangeDetectorRef);
|
|
21
21
|
ngAfterViewInit(): void;
|
|
@@ -23,5 +23,5 @@ export declare class ConfirmComponent implements AfterViewInit, Modal<ConfirmDat
|
|
|
23
23
|
onOk(): void;
|
|
24
24
|
onCancel(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "fng-confirm", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never,
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "fng-confirm", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -17,5 +17,5 @@ export declare class CustomModalComponent {
|
|
|
17
17
|
onClickOutside(): void;
|
|
18
18
|
onClickInside(event: MouseEvent): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomModalComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomModalComponent, "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, ["*"],
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomModalComponent, "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
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
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
4
|
export interface ImageDescriptiveContent {
|
|
5
5
|
title: string;
|
|
@@ -35,5 +35,5 @@ export declare class ImageGalleryComponent implements Modal<ImageGalleryData, an
|
|
|
35
35
|
}[]): void;
|
|
36
36
|
onClose(): void;
|
|
37
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,
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageGalleryComponent, "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
|
|
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>;
|
|
@@ -5,7 +5,7 @@ import { Modal, ModalOptions, ModalResult } from './index';
|
|
|
5
5
|
import { AlertData } from './alert/alert.component';
|
|
6
6
|
import { ConfirmData } from './confirm/confirm.component';
|
|
7
7
|
import { PromptData } from './prompt/prompt.component';
|
|
8
|
-
import { ImageGalleryData } from '
|
|
8
|
+
import { ImageGalleryData } from './image-gallery/image-gallery.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ModalService {
|
|
11
11
|
protected overlay: Overlay;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
+
import * as i4 from "./alert/alert.component";
|
|
6
|
+
import * as i5 from "./confirm/confirm.component";
|
|
7
|
+
import * as i6 from "./prompt/prompt.component";
|
|
8
|
+
import * as i7 from "./custom-modal/custom-modal.component";
|
|
9
|
+
export * from './index';
|
|
10
|
+
export * from './alert/alert.component';
|
|
11
|
+
export * from './confirm/confirm.component';
|
|
12
|
+
export * from './prompt/prompt.component';
|
|
13
|
+
export * from './custom-modal/custom-modal.component';
|
|
14
|
+
export declare class FestoAngularModalsModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModalsModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.OverlayModule, typeof i4.AlertComponent, typeof i5.ConfirmComponent, typeof i6.PromptComponent, typeof i7.CustomModalComponent], [typeof i4.AlertComponent, typeof i5.ConfirmComponent, typeof i6.PromptComponent, typeof i7.CustomModalComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModalsModule>;
|
|
18
|
+
}
|
|
@@ -22,7 +22,7 @@ export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
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;
|
|
@@ -38,5 +38,5 @@ export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
38
38
|
onCancel(): void;
|
|
39
39
|
private handleErrors;
|
|
40
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,
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptComponent, "fng-prompt", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
42
42
|
}
|
|
@@ -6,5 +6,5 @@ export declare class SafeHtmlPipe implements PipeTransform {
|
|
|
6
6
|
constructor(sanitizer: DomSanitizer);
|
|
7
7
|
transform(value: any): SafeHtml;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "fweSafeHtml",
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "fweSafeHtml", true>;
|
|
10
10
|
}
|