@festo-ui/angular 4.0.3-pre-20221124.8 → 5.0.0-dev.102
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 +6 -6
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +6 -6
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +11 -11
- package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +41 -36
- package/esm2020/lib/components/accordion/accordion.component.mjs +21 -21
- package/esm2020/lib/components/accordion/index.mjs +1 -1
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +9 -6
- package/esm2020/lib/components/buttons/button/button.component.mjs +8 -7
- package/esm2020/lib/components/buttons/link-button/link-button.component.mjs +8 -7
- package/esm2020/lib/components/chips/chip/chip.component.mjs +7 -6
- package/esm2020/lib/components/chips/chip-container/chip-container.component.mjs +7 -6
- package/esm2020/lib/components/components.module.mjs +202 -208
- package/esm2020/lib/components/loading-indicator/loading-indicator.component.mjs +7 -6
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.mjs +8 -7
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.mjs +10 -9
- package/esm2020/lib/components/mobile-flyout/mobile-flyout.component.mjs +10 -10
- package/esm2020/lib/components/pagination/pagination.component.mjs +15 -13
- package/esm2020/lib/components/popovers/legend/legend.component.mjs +14 -14
- package/esm2020/lib/components/popovers/legend/legend.directive.mjs +8 -8
- package/esm2020/lib/components/popovers/popover/popover.component.mjs +11 -11
- package/esm2020/lib/components/popovers/popover-content/popover-content.component.mjs +16 -18
- package/esm2020/lib/components/popovers/popover-content/popover-content.directive.mjs +7 -7
- package/esm2020/lib/components/popovers/popover-menu/popover-menu.component.mjs +18 -19
- 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 +7 -23
- package/esm2020/lib/components/popovers/popover.service.mjs +31 -32
- package/esm2020/lib/components/popovers/tooltip/tooltip.directive.mjs +18 -18
- package/esm2020/lib/components/progress/progress.component.mjs +8 -6
- package/esm2020/lib/components/scroll/index.mjs +1 -1
- package/esm2020/lib/components/scroll/scrollable.directive.mjs +10 -7
- package/esm2020/lib/components/search-input/search-input.component.mjs +20 -10
- package/esm2020/lib/components/snackbar/snackbar-container.component.mjs +7 -7
- package/esm2020/lib/components/snackbar/snackbar-container.directive.mjs +12 -15
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +9 -7
- package/esm2020/lib/components/snackbar/snackbar.models.mjs +1 -1
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +12 -14
- package/esm2020/lib/components/snackbar/snackbar.service.mjs +5 -5
- package/esm2020/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.mjs +6 -6
- package/esm2020/lib/components/stepper-horizontal/stepper-horizontal.component.mjs +10 -9
- package/esm2020/lib/components/stepper-vertical/step-vertical/step-vertical.component.mjs +8 -7
- package/esm2020/lib/components/stepper-vertical/stepper-vertical.component.mjs +9 -9
- package/esm2020/lib/components/table-header-cell/table-header-cell.directive.mjs +9 -8
- package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +8 -8
- package/esm2020/lib/components/tabs/tabs.component.mjs +113 -27
- 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 +29 -24
- package/esm2020/lib/forms/color-indicator/color-indicator.component.mjs +29 -9
- package/esm2020/lib/forms/color-picker/color-helper.mjs +16 -8
- package/esm2020/lib/forms/color-picker/color-picker.component.mjs +38 -19
- package/esm2020/lib/forms/date-picker/date-picker.component.mjs +29 -26
- package/esm2020/lib/forms/date-range-picker/date-range-picker.component.mjs +33 -29
- package/esm2020/lib/forms/flatpickr/flatpickr.component.mjs +55 -0
- package/esm2020/lib/forms/forms.module.mjs +117 -110
- package/esm2020/lib/forms/radio/radio.component.mjs +54 -50
- package/esm2020/lib/forms/segment/segment-control/segment-control.component.mjs +22 -14
- package/esm2020/lib/forms/segment/segment.component.mjs +60 -30
- package/esm2020/lib/forms/select/chip-text.pipe.mjs +16 -11
- package/esm2020/lib/forms/select/select-option/select-option.component.mjs +8 -7
- package/esm2020/lib/forms/select/select.component.mjs +55 -47
- package/esm2020/lib/forms/slider/slider.component.mjs +27 -24
- package/esm2020/lib/forms/switch/switch.component.mjs +21 -20
- package/esm2020/lib/forms/text-area/text-area.component.mjs +19 -12
- package/esm2020/lib/forms/text-editor/text-editor.component.mjs +73 -65
- package/esm2020/lib/forms/text-input/text-input.component.mjs +40 -15
- package/esm2020/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.mjs +9 -7
- package/esm2020/lib/forms/time-picker/time-picker.component.mjs +23 -20
- package/esm2020/lib/forms/unique-selection-dispatcher.mjs +8 -6
- package/esm2020/lib/forms/value-accessor-base.mjs +6 -6
- 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/modals/modal.service.mjs +118 -0
- package/esm2020/lib/modals/modals.module.mjs +25 -0
- package/esm2020/lib/modals/prompt/prompt.component.mjs +106 -0
- package/esm2020/lib/pipes/safe-html.pipe.mjs +7 -7
- package/esm2020/public-api.mjs +66 -0
- package/fesm2015/festo-ui-angular.mjs +4757 -4593
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +4929 -4805
- 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 +3 -3
- package/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.d.ts +3 -3
- package/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.d.ts +5 -5
- package/lib/components/accordion/accordion-item/accordion-item.component.d.ts +9 -8
- package/lib/components/accordion/accordion.component.d.ts +7 -7
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +3 -3
- package/lib/components/buttons/button/button.component.d.ts +6 -6
- package/lib/components/buttons/link-button/link-button.component.d.ts +6 -6
- package/lib/components/chips/chip/chip.component.d.ts +4 -4
- package/lib/components/chips/chip-container/chip-container.component.d.ts +3 -3
- package/lib/components/components.module.d.ts +35 -69
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +3 -3
- package/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.d.ts +3 -3
- package/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.d.ts +5 -5
- package/lib/components/mobile-flyout/mobile-flyout.component.d.ts +5 -5
- package/lib/components/pagination/pagination.component.d.ts +6 -6
- package/lib/components/popovers/legend/legend.component.d.ts +10 -10
- package/lib/components/popovers/legend/legend.directive.d.ts +5 -5
- package/lib/components/popovers/popover/popover.component.d.ts +6 -6
- package/lib/components/popovers/popover-content/popover-content.component.d.ts +13 -13
- package/lib/components/popovers/popover-content/popover-content.directive.d.ts +5 -5
- package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +15 -15
- package/lib/components/popovers/popover-ref.d.ts +4 -4
- package/lib/components/popovers/popover.defaults.d.ts +4 -4
- package/lib/components/popovers/popover.models.d.ts +18 -30
- package/lib/components/popovers/popover.service.d.ts +7 -7
- package/lib/components/popovers/tooltip/tooltip.directive.d.ts +9 -9
- package/lib/components/progress/progress.component.d.ts +3 -3
- package/lib/components/scroll/scrollable.directive.d.ts +4 -4
- package/lib/components/search-input/search-input.component.d.ts +9 -9
- package/lib/components/snackbar/snackbar-container.component.d.ts +5 -5
- package/lib/components/snackbar/snackbar-container.directive.d.ts +8 -11
- package/lib/components/snackbar/snackbar.component.d.ts +5 -5
- package/lib/components/snackbar/snackbar.models.d.ts +2 -2
- package/lib/components/snackbar/snackbar.module.d.ts +1 -2
- package/lib/components/snackbar/snackbar.service.d.ts +8 -8
- package/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.d.ts +3 -3
- package/lib/components/stepper-horizontal/stepper-horizontal.component.d.ts +5 -5
- package/lib/components/stepper-vertical/step-vertical/step-vertical.component.d.ts +4 -4
- package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +5 -5
- package/lib/components/table-header-cell/table-header-cell.directive.d.ts +11 -11
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +9 -9
- package/lib/components/tabs/tabs.component.d.ts +24 -24
- package/lib/directives/click-outside.directive.d.ts +10 -0
- package/lib/festo-angular.module.d.ts +6 -11
- package/lib/forms/checkbox/checkbox.component.d.ts +3 -3
- package/lib/forms/color-indicator/color-indicator.component.d.ts +3 -3
- package/lib/forms/color-picker/color-helper.d.ts +4 -4
- package/lib/forms/color-picker/color-picker.component.d.ts +8 -8
- package/lib/forms/date-picker/date-picker.component.d.ts +15 -15
- package/lib/forms/date-range-picker/date-range-picker.component.d.ts +16 -16
- package/lib/forms/flatpickr/flatpickr.component.d.ts +19 -0
- package/lib/forms/forms.module.d.ts +17 -37
- package/lib/forms/radio/radio.component.d.ts +22 -22
- package/lib/forms/segment/segment-control/segment-control.component.d.ts +14 -15
- package/lib/forms/segment/segment.component.d.ts +20 -11
- package/lib/forms/select/chip-text.pipe.d.ts +3 -3
- package/lib/forms/select/select-option/select-option.component.d.ts +5 -5
- package/lib/forms/select/select.component.d.ts +15 -15
- package/lib/forms/slider/slider.component.d.ts +8 -8
- package/lib/forms/switch/switch.component.d.ts +7 -7
- package/lib/forms/text-area/text-area.component.d.ts +14 -14
- package/lib/forms/text-editor/text-editor.component.d.ts +22 -22
- package/lib/forms/text-input/text-input.component.d.ts +6 -7
- package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +8 -8
- package/lib/forms/time-picker/time-picker.component.d.ts +11 -11
- package/lib/forms/unique-selection-dispatcher.d.ts +5 -5
- package/lib/forms/value-accessor-base.d.ts +6 -6
- package/lib/{components/modals → modals}/alert/alert.component.d.ts +6 -6
- package/lib/{components/modals → modals}/confirm/confirm.component.d.ts +6 -6
- package/lib/modals/custom-modal/custom-modal.component.d.ts +21 -0
- package/lib/{components → modals}/image-gallery/image-gallery.component.d.ts +8 -8
- package/lib/{components/modals → modals}/index.d.ts +1 -1
- package/lib/modals/modal.service.d.ts +22 -0
- package/lib/{components/modals → modals}/modals.module.d.ts +1 -6
- package/lib/{components/modals → modals}/prompt/prompt.component.d.ts +6 -6
- package/lib/pipes/safe-html.pipe.d.ts +3 -3
- 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/modal.service.mjs +0 -121
- 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/click-outside.directive.d.ts +0 -10
- package/lib/components/image-gallery/image-gallery.module.d.ts +0 -11
- package/lib/components/modals/custom-modal/custom-modal.component.d.ts +0 -21
- package/lib/components/modals/modal.service.d.ts +0 -22
- 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/lib/wrappers/flatpickr/flatpickr.component.d.ts +0 -19
- 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,31 +1,40 @@
|
|
|
1
1
|
import { AfterContentInit, SimpleChanges, OnChanges, AfterViewInit, ViewContainerRef, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import type { QueryList } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { FngSegmentControlComponent } from './segment-control/segment-control.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface
|
|
6
|
+
export interface FngSegmentComponentConfiguration {
|
|
7
7
|
outline: boolean;
|
|
8
8
|
iconOnly: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class FngSegmentComponent implements OnChanges, AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
11
11
|
private cd;
|
|
12
|
+
protected changed: ((value: string) => void)[];
|
|
13
|
+
protected touched: (() => void)[];
|
|
14
|
+
protected innerValue: any;
|
|
15
|
+
writeValue(value: string): void;
|
|
16
|
+
updateCheckState(): void;
|
|
17
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
18
|
+
registerOnTouched(fn: () => void): void;
|
|
12
19
|
private complete;
|
|
13
|
-
defaultConfig:
|
|
20
|
+
defaultConfig: FngSegmentComponentConfiguration;
|
|
14
21
|
useIcon: boolean;
|
|
15
22
|
useIconAndText: boolean;
|
|
23
|
+
id: string;
|
|
16
24
|
legend: string;
|
|
17
|
-
config:
|
|
18
|
-
controls: QueryList<
|
|
19
|
-
vc: ViewContainerRef;
|
|
25
|
+
config: FngSegmentComponentConfiguration;
|
|
26
|
+
controls: QueryList<FngSegmentControlComponent> | undefined;
|
|
27
|
+
vc: ViewContainerRef | undefined;
|
|
20
28
|
fngChange: EventEmitter<any>;
|
|
21
29
|
change: EventEmitter<any>;
|
|
22
|
-
set value(value:
|
|
30
|
+
set value(value: any);
|
|
31
|
+
get value(): any;
|
|
23
32
|
constructor(cd: ChangeDetectorRef);
|
|
24
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
25
34
|
ngAfterContentInit(): void;
|
|
26
35
|
ngAfterViewInit(): void;
|
|
27
36
|
ngOnDestroy(): void;
|
|
28
37
|
private html;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSegmentComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSegmentComponent, "fng-segment", never, { "legend": "legend"; "config": "config"; "value": "value"; }, { "fngChange": "fngChange"; "change": "change"; }, ["controls"], never, true, never>;
|
|
31
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FngChipTextPipe implements PipeTransform {
|
|
4
4
|
transform(value: any, options: any[], optionsValueKey?: string, optionsTextKey?: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngChipTextPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FngChipTextPipe, "fngChipText", true>;
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FngSelectOptionComponent 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>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
8
|
+
update(): Promise<HTMLElement | undefined>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSelectOptionComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSelectOptionComponent, "fng-select-option", never, { "value": "value"; }, {}, never, ["*"], true, never>;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnInit, Renderer2, ElementRef, AfterViewInit, QueryList, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { FngSelectOptionComponent } from './select-option/select-option.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface
|
|
5
|
+
export interface FngSelectOption {
|
|
6
6
|
value: any;
|
|
7
7
|
text: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class FngSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
10
10
|
protected document: any;
|
|
11
11
|
protected renderer: Renderer2;
|
|
12
12
|
protected cd: ChangeDetectorRef;
|
|
@@ -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<
|
|
40
|
-
elementRef: ElementRef;
|
|
38
|
+
resetOption: string | undefined;
|
|
39
|
+
fngSelectOptions: QueryList<FngSelectOptionComponent> | 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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSelectComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSelectComponent, "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
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { OnDestroy, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FngSliderComponent 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;
|
|
@@ -31,6 +31,6 @@ export declare class SliderComponent implements AfterViewInit, OnDestroy, Contro
|
|
|
31
31
|
setDisabledState(isDisabled: boolean): void;
|
|
32
32
|
onInput(event: any): void;
|
|
33
33
|
updateValuePosition(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSliderComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSliderComponent, "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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FngSwitchComponent 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,20 +16,20 @@ 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;
|
|
30
30
|
setDisabledState(isDisabled: boolean): void;
|
|
31
31
|
onInteractionEvent(event: Event): void;
|
|
32
32
|
onInputClick(event: Event): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSwitchComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSwitchComponent, "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
|
}
|
|
@@ -4,17 +4,17 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
/**
|
|
5
5
|
* A custom form element for text inputs.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class FngTextAreaComponent 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
|
*/
|
|
@@ -98,6 +98,6 @@ export declare class TextAreaComponent implements OnInit, ControlValueAccessor {
|
|
|
98
98
|
* @param isDisabled When true the control is disabled
|
|
99
99
|
*/
|
|
100
100
|
setDisabledState(isDisabled: boolean): void;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTextAreaComponent, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTextAreaComponent, "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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, Renderer2, EventEmitter, OnChanges, SimpleChanges, OnInit } from '@angular/core';
|
|
2
2
|
import QuillType from 'quill';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
import {
|
|
4
|
+
import { FngValueAccessorBaseDirective } from '../value-accessor-base';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface
|
|
6
|
+
export interface FngTextEditorConfiguration {
|
|
7
7
|
toolbar?: {
|
|
8
8
|
bold?: boolean;
|
|
9
9
|
italic?: boolean;
|
|
@@ -21,34 +21,34 @@ export interface TextEditorConfiguration {
|
|
|
21
21
|
sanitizingFn?: (ds: DomSanitizer, value: string) => string;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
export declare class
|
|
24
|
+
export declare class FngTextEditorComponent extends FngValueAccessorBaseDirective<string> implements OnInit, AfterViewInit, OnChanges {
|
|
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
|
-
defaultConfig:
|
|
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;
|
|
31
|
+
defaultConfig: FngTextEditorConfiguration;
|
|
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
|
-
config:
|
|
43
|
+
config: FngTextEditorConfiguration;
|
|
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);
|
|
@@ -66,6 +66,6 @@ export declare class TextEditorComponent extends ValueAccessorBaseDirective<stri
|
|
|
66
66
|
private addWhitespaceMatcher;
|
|
67
67
|
private addImageMatcher;
|
|
68
68
|
private handleWhitespace;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTextEditorComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTextEditorComponent, "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
|
}
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
/**
|
|
5
5
|
* A custom form element for text inputs.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class FngTextInputComponent implements OnInit, ControlValueAccessor {
|
|
8
8
|
/**
|
|
9
9
|
* The text input label.
|
|
10
10
|
*/
|
|
@@ -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
|
*/
|
|
@@ -90,7 +90,6 @@ export declare class TextInputComponent implements OnInit, ControlValueAccessor
|
|
|
90
90
|
* Called when the text input is in focus.
|
|
91
91
|
*/
|
|
92
92
|
onFocus(): void;
|
|
93
|
-
onInput(event: any): void;
|
|
94
93
|
/**
|
|
95
94
|
* Called when the text input blurs.
|
|
96
95
|
*/
|
|
@@ -100,6 +99,6 @@ export declare class TextInputComponent implements OnInit, ControlValueAccessor
|
|
|
100
99
|
* @param isDisabled When true the control is disabled
|
|
101
100
|
*/
|
|
102
101
|
setDisabledState(isDisabled: boolean): void;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTextInputComponent, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTextInputComponent, "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>;
|
|
105
104
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FngTimePickerDropdownComponent implements AfterViewInit {
|
|
4
4
|
date: Date;
|
|
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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTimePickerDropdownComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTimePickerDropdownComponent, "fng-time-picker-dropdown", never, { "date": "date"; "showSeconds": "showSeconds"; "timeFormat": "timeFormat"; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -2,11 +2,11 @@ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface
|
|
5
|
+
export interface FngTimePickerOptions {
|
|
6
6
|
timeFormat?: '12' | '24';
|
|
7
7
|
showSeconds?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class FngTimePickerComponent implements ControlValueAccessor {
|
|
10
10
|
private overlay;
|
|
11
11
|
get value(): Date;
|
|
12
12
|
set value(date: Date);
|
|
@@ -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:
|
|
18
|
+
hint: string | undefined;
|
|
19
|
+
error: string | undefined;
|
|
20
|
+
options: FngTimePickerOptions | 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;
|
|
@@ -37,6 +37,6 @@ export declare class TimePickerComponent implements ControlValueAccessor {
|
|
|
37
37
|
setDisabledState?(isDisabled: boolean): void;
|
|
38
38
|
toggle(event: Event): void;
|
|
39
39
|
private dispose;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTimePickerComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTimePickerComponent, "fng-time-picker", never, { "value": "value"; "disabled": "disabled"; "required": "required"; "hint": "hint"; "error": "error"; "options": "options"; "width": "width"; }, {}, never, ["*"], true, never>;
|
|
42
42
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
-
export declare class
|
|
3
|
+
export type UniqueSelectionDispatcherListener = (id: string, name: string) => void;
|
|
4
|
+
export declare class FngUniqueSelectionDispatcher implements OnDestroy {
|
|
5
5
|
private listeners;
|
|
6
6
|
/**
|
|
7
7
|
* Notify other items that selection for the given name has been set.
|
|
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
|
|
15
15
|
*/
|
|
16
16
|
listen(listener: UniqueSelectionDispatcherListener): () => void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngUniqueSelectionDispatcher, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FngUniqueSelectionDispatcher>;
|
|
20
20
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FngValueAccessorBaseDirective<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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngValueAccessorBaseDirective<any>, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FngValueAccessorBaseDirective<any>, never, never, { "disabled": "disabled"; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Modal } from '../index';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export interface
|
|
4
|
+
export interface FngAlertData {
|
|
5
5
|
title: string;
|
|
6
6
|
subtitle?: string;
|
|
7
7
|
body: string;
|
|
@@ -10,17 +10,17 @@ export interface AlertData {
|
|
|
10
10
|
ok?: string;
|
|
11
11
|
strong?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
14
|
-
data:
|
|
13
|
+
export declare class FngAlertComponent implements AfterViewInit, Modal<FngAlertData, any> {
|
|
14
|
+
data: FngAlertData;
|
|
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
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngAlertComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngAlertComponent, "fng-alert", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
26
26
|
}
|