@festo-ui/angular 4.0.3-pre-20221213.1 → 5.0.0-dev.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +41 -14
- 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 -4590
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +4936 -4809
- 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 -6
- 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,61 +1,61 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FngTabPaneComponent } from './tab-pane/tab-pane.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export interface
|
|
4
|
+
export interface FngTab {
|
|
5
5
|
name: string;
|
|
6
|
-
paneId: string;
|
|
6
|
+
paneId: string | null;
|
|
7
7
|
active?: boolean;
|
|
8
|
-
icon?: string;
|
|
8
|
+
icon?: string | null;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export interface
|
|
11
|
+
export type FngTabItemAppearance = 'fill' | 'equal' | 'default';
|
|
12
|
+
export type FngTabViewType = 'legacy' | 'responsive';
|
|
13
|
+
export interface FngTabsConfiguration {
|
|
14
14
|
tabBar?: {
|
|
15
15
|
fullWidth?: boolean;
|
|
16
16
|
};
|
|
17
17
|
tabItems?: {
|
|
18
|
-
appearance:
|
|
18
|
+
appearance: FngTabItemAppearance;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface FngTabDimensions {
|
|
22
22
|
rootLeft: number;
|
|
23
23
|
rootRight: number;
|
|
24
24
|
contentLeft: number;
|
|
25
25
|
contentRight: number;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface FngTabScrollAnimation {
|
|
28
28
|
finalScrollPosition: number;
|
|
29
29
|
scrollDelta: number;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface FngTabScrollHorizontalEdges {
|
|
32
32
|
left: number;
|
|
33
33
|
right: number;
|
|
34
34
|
}
|
|
35
|
-
export interface
|
|
35
|
+
export interface FngBeforeTabChangeEvent {
|
|
36
36
|
ok: () => void;
|
|
37
37
|
cancel: () => void;
|
|
38
38
|
}
|
|
39
|
-
export declare class
|
|
39
|
+
export declare class FngTabsComponent implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
40
40
|
private elRef;
|
|
41
41
|
private document;
|
|
42
42
|
private renderer;
|
|
43
43
|
private cd;
|
|
44
44
|
static nextId: number;
|
|
45
|
-
viewType:
|
|
45
|
+
viewType: FngTabViewType;
|
|
46
46
|
showDivider: boolean;
|
|
47
|
-
config:
|
|
48
|
-
fngBeforeTabChange: EventEmitter<
|
|
47
|
+
config: FngTabsConfiguration | null;
|
|
48
|
+
fngBeforeTabChange: EventEmitter<FngBeforeTabChangeEvent>;
|
|
49
49
|
fngTabChange: EventEmitter<{
|
|
50
50
|
previous: string;
|
|
51
51
|
current: string;
|
|
52
52
|
}>;
|
|
53
|
-
panes: QueryList<
|
|
54
|
-
scroller: ElementRef;
|
|
55
|
-
scrollAera: ElementRef;
|
|
56
|
-
scrollContent: ElementRef;
|
|
53
|
+
panes: QueryList<FngTabPaneComponent> | undefined;
|
|
54
|
+
scroller: ElementRef | undefined;
|
|
55
|
+
scrollAera: ElementRef | undefined;
|
|
56
|
+
scrollContent: ElementRef | undefined;
|
|
57
57
|
componentId: string;
|
|
58
|
-
tabs:
|
|
58
|
+
tabs: FngTab[];
|
|
59
59
|
useCompactDensity: boolean;
|
|
60
60
|
private activeTab;
|
|
61
61
|
private elemScroller;
|
|
@@ -68,7 +68,7 @@ export declare class TabsComponent implements AfterContentInit, AfterViewInit, O
|
|
|
68
68
|
ngAfterContentInit(): void;
|
|
69
69
|
ngAfterViewInit(): void;
|
|
70
70
|
ngOnDestroy(): void;
|
|
71
|
-
showTabPane(id: string): void;
|
|
71
|
+
showTabPane(id: string | null): void;
|
|
72
72
|
handleTabScroll(event: any, index: number): void;
|
|
73
73
|
private initTabs;
|
|
74
74
|
private initActiveTab;
|
|
@@ -90,6 +90,6 @@ export declare class TabsComponent implements AfterContentInit, AfterViewInit, O
|
|
|
90
90
|
private getScrollContentStyleValue;
|
|
91
91
|
private setScrollContentStyleProperty;
|
|
92
92
|
private findAdjacentTabIndexClosestToEdge;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngTabsComponent, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngTabsComponent, "fng-tabs", never, { "viewType": "fngTabsViewType"; "showDivider": "fngTabsUseBottomDivider"; "config": "config"; }, { "fngBeforeTabChange": "fngBeforeTabChange"; "fngTabChange": "fngTabChange"; }, ["panes"], ["*"], true, never>;
|
|
95
95
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FngClickOutsideDirective {
|
|
4
|
+
private elRef;
|
|
5
|
+
constructor(elRef: ElementRef);
|
|
6
|
+
clickOutside: EventEmitter<any>;
|
|
7
|
+
onClick(targetElement: HTMLElement): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngClickOutsideDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FngClickOutsideDirective, "[fngClickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./pipes/
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./forms/date-picker.module";
|
|
8
|
-
import * as i7 from "./components/modals/modals.module";
|
|
9
|
-
import * as i8 from "./components/snackbar/snackbar.module";
|
|
10
|
-
import * as i9 from "./components/image-gallery/image-gallery.module";
|
|
11
|
-
import * as i10 from "./forms/text-editor/text-editor.module";
|
|
2
|
+
import * as i1 from "./pipes/safe-html.pipe";
|
|
3
|
+
import * as i2 from "./components/components.module";
|
|
4
|
+
import * as i3 from "./forms/forms.module";
|
|
5
|
+
import * as i4 from "./modals/modals.module";
|
|
6
|
+
import * as i5 from "./components/snackbar/snackbar.module";
|
|
12
7
|
export declare class FestoAngularModule {
|
|
13
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModule, never, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModule, never, [typeof i1.FngSafeHtmlPipe, typeof i2.FestoAngularComponentsModule, typeof i3.FestoAngularFormsModule, typeof i4.FestoAngularModalsModule, typeof i5.FestoAngularSnackbarModule], [typeof i1.FngSafeHtmlPipe, typeof i2.FestoAngularComponentsModule, typeof i3.FestoAngularFormsModule, typeof i4.FestoAngularModalsModule, typeof i5.FestoAngularSnackbarModule]>;
|
|
15
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModule>;
|
|
16
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
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 FngCheckboxComponent implements ControlValueAccessor {
|
|
5
5
|
private changeDetector;
|
|
6
6
|
name: string;
|
|
7
7
|
large: boolean;
|
|
@@ -35,6 +35,6 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
35
35
|
setDisabledState(isDisabled: boolean): void;
|
|
36
36
|
onInteractionEvent(event: Event): void;
|
|
37
37
|
onInputClick(event: Event): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngCheckboxComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngCheckboxComponent, "fng-checkbox", never, { "name": "name"; "large": "large"; "valid": "valid"; "labelPosition": "labelPosition"; "id": "id"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; "value": "value"; "required": "required"; }, { "indeterminateChange": "indeterminateChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
40
40
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
/**
|
|
4
4
|
* A control to display a color.
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class FngColorIndicatorComponent {
|
|
7
7
|
/**
|
|
8
8
|
* The label above the color.
|
|
9
9
|
*/
|
|
@@ -26,6 +26,6 @@ export declare class ColorIndicatorComponent {
|
|
|
26
26
|
isEditorOpen: boolean;
|
|
27
27
|
positions: ConnectionPositionPair[];
|
|
28
28
|
getBorderColor(): string;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngColorIndicatorComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngColorIndicatorComponent, "fng-color-indicator", never, { "label": "label"; "text": "text"; "color": "color"; "showPopOver": "showPopOver"; "disabled": "disabled"; }, {}, never, ["*"], true, never>;
|
|
31
31
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare abstract class ColorHelper {
|
|
2
|
-
static rgbToHsv(rgb: Record<'r' | 'g' | 'b', number>): Record<'h' | 's' | 'v', number>;
|
|
3
|
-
static hsvToRgb(hsv: Record<'h' | 's' | 'v', number>): Record<'r' | 'g' | 'b', number>;
|
|
2
|
+
static rgbToHsv(rgb: Record<'r' | 'g' | 'b', number> | undefined | null): Record<'h' | 's' | 'v', number>;
|
|
3
|
+
static hsvToRgb(hsv: Record<'h' | 's' | 'v', number> | undefined | null): Record<'r' | 'g' | 'b', number>;
|
|
4
4
|
private static limitToByte;
|
|
5
5
|
private static limitToOne;
|
|
6
6
|
private static numberToHex;
|
|
7
|
-
static rgbToHex(rgb: Record<'r' | 'g' | 'b', number>): string;
|
|
8
|
-
static hexToRgb(hexString: string): Record<'r' | 'g' | 'b', number>;
|
|
7
|
+
static rgbToHex(rgb: Record<'r' | 'g' | 'b', number> | undefined | null): string;
|
|
8
|
+
static hexToRgb(hexString: string | null): Record<'r' | 'g' | 'b', number>;
|
|
9
9
|
}
|
|
@@ -6,7 +6,7 @@ export declare const PREDEFINED_COLORS: string[];
|
|
|
6
6
|
/**
|
|
7
7
|
* A custom form element to pick a color.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class FngColorPickerComponent implements OnChanges, ControlValueAccessor {
|
|
10
10
|
baseSize: number;
|
|
11
11
|
inputType: string;
|
|
12
12
|
isSelectOpen: boolean;
|
|
@@ -17,8 +17,8 @@ export declare class ColorPickerComponent implements OnChanges, ControlValueAcce
|
|
|
17
17
|
/**
|
|
18
18
|
* The current color
|
|
19
19
|
*/
|
|
20
|
-
get color(): string;
|
|
21
|
-
set color(value: string);
|
|
20
|
+
get color(): string | null;
|
|
21
|
+
set color(value: string | null);
|
|
22
22
|
get disabled(): boolean;
|
|
23
23
|
set disabled(value: boolean);
|
|
24
24
|
/**
|
|
@@ -34,7 +34,7 @@ export declare class ColorPickerComponent implements OnChanges, ControlValueAcce
|
|
|
34
34
|
private innerColor;
|
|
35
35
|
private innerDisabled;
|
|
36
36
|
private innerAlpha;
|
|
37
|
-
hexInputColor: string;
|
|
37
|
+
hexInputColor: string | null;
|
|
38
38
|
redInput: number;
|
|
39
39
|
greenInput: number;
|
|
40
40
|
blueInput: number;
|
|
@@ -47,7 +47,7 @@ export declare class ColorPickerComponent implements OnChanges, ControlValueAcce
|
|
|
47
47
|
saturationKnobOffset: number;
|
|
48
48
|
valueKnobOffset: number;
|
|
49
49
|
onTouched: () => any;
|
|
50
|
-
onChange: (color: string) => any;
|
|
50
|
+
onChange: (color: string | null) => any;
|
|
51
51
|
ngOnChanges(changes: SimpleChanges): void;
|
|
52
52
|
writeValue(color: string): void;
|
|
53
53
|
registerOnChange(fn: any): void;
|
|
@@ -69,9 +69,9 @@ export declare class ColorPickerComponent implements OnChanges, ControlValueAcce
|
|
|
69
69
|
onRemoveColor(): void;
|
|
70
70
|
isHexColor(value: string): boolean;
|
|
71
71
|
getSaturationGradient(): string;
|
|
72
|
-
updateInputs(hexColor: string): void;
|
|
72
|
+
updateInputs(hexColor: string | null): void;
|
|
73
73
|
updateKnobs(): void;
|
|
74
74
|
onChangeType(type: string): void;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngColorPickerComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngColorPickerComponent, "fng-color-picker", never, { "useAlpha": "useAlpha"; "alpha": "alpha"; "color": "color"; "disabled": "disabled"; "palette": "palette"; "paletteOnly": "paletteOnly"; }, { "alphaChange": "alphaChange"; }, never, never, true, never>;
|
|
77
77
|
}
|
|
@@ -2,12 +2,12 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface
|
|
5
|
+
export interface FngDatePickerOptions {
|
|
6
6
|
maxDate?: Date;
|
|
7
7
|
minDate?: Date;
|
|
8
8
|
keepOpenOnDateChange?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class FngDatePickerComponent implements ControlValueAccessor {
|
|
11
11
|
private overlay;
|
|
12
12
|
private localeDefault;
|
|
13
13
|
get value(): Date;
|
|
@@ -15,28 +15,28 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
15
15
|
get disabled(): boolean;
|
|
16
16
|
set disabled(value: boolean);
|
|
17
17
|
protected innerDisabled: boolean;
|
|
18
|
-
hint: string;
|
|
19
|
-
error: string;
|
|
20
|
-
options:
|
|
18
|
+
hint: string | undefined;
|
|
19
|
+
error: string | undefined;
|
|
20
|
+
options: FngDatePickerOptions;
|
|
21
21
|
/** A locale code for the locale format rules to use. */
|
|
22
|
-
locale: string;
|
|
23
|
-
format: string;
|
|
22
|
+
locale: string | undefined;
|
|
23
|
+
format: string | undefined;
|
|
24
24
|
/** The time zone. A time zone offset from GMT (such as `'+0430'`) */
|
|
25
|
-
timezone: string;
|
|
25
|
+
timezone: string | undefined;
|
|
26
26
|
get required(): boolean;
|
|
27
27
|
set required(value: boolean);
|
|
28
28
|
protected innerRequired: boolean;
|
|
29
|
-
connector: ElementRef;
|
|
30
|
-
width: string;
|
|
29
|
+
connector: ElementRef | undefined;
|
|
30
|
+
width: string | undefined;
|
|
31
31
|
display: string;
|
|
32
32
|
get displayValue(): string;
|
|
33
|
-
datePickerRef: OverlayRef;
|
|
33
|
+
datePickerRef: OverlayRef | undefined;
|
|
34
34
|
private innerValue;
|
|
35
35
|
private complete;
|
|
36
36
|
private datePicker;
|
|
37
37
|
constructor(overlay: Overlay, localeDefault: string);
|
|
38
|
-
onTouched: () => any;
|
|
39
|
-
onChange: (date: Date) => any;
|
|
38
|
+
onTouched: (() => any) | undefined;
|
|
39
|
+
onChange: ((date: Date) => any) | undefined;
|
|
40
40
|
hide(event: KeyboardEvent): void;
|
|
41
41
|
onDateChange(date: Date): void;
|
|
42
42
|
writeValue(date: Date): void;
|
|
@@ -45,6 +45,6 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
45
45
|
setDisabledState?(isDisabled: boolean): void;
|
|
46
46
|
toggle(event: Event): void;
|
|
47
47
|
private dispose;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngDatePickerComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngDatePickerComponent, "fng-date-picker", never, { "value": "value"; "disabled": "disabled"; "hint": "hint"; "error": "error"; "options": "options"; "locale": "locale"; "format": "format"; "timezone": "timezone"; "required": "required"; "width": "width"; }, {}, never, ["*"], true, never>;
|
|
50
50
|
}
|
|
@@ -2,12 +2,12 @@ import { ElementRef, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface
|
|
5
|
+
export interface FngDateRangePickerOptions {
|
|
6
6
|
maxDate?: Date;
|
|
7
7
|
minDate?: Date;
|
|
8
8
|
keepOpenOnDateChange?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class FngDateRangePickerComponent implements ControlValueAccessor {
|
|
11
11
|
private overlay;
|
|
12
12
|
private localeDefault;
|
|
13
13
|
get value(): Date[];
|
|
@@ -15,14 +15,14 @@ export declare class DateRangePickerComponent implements ControlValueAccessor {
|
|
|
15
15
|
get disabled(): boolean;
|
|
16
16
|
set disabled(value: boolean);
|
|
17
17
|
protected innerDisabled: boolean;
|
|
18
|
-
hint: string;
|
|
19
|
-
error: string;
|
|
18
|
+
hint: string | undefined;
|
|
19
|
+
error: string | undefined;
|
|
20
20
|
/** A locale code for the locale format rules to use. */
|
|
21
|
-
locale: string;
|
|
22
|
-
format: string;
|
|
21
|
+
locale: string | undefined;
|
|
22
|
+
format: string | undefined;
|
|
23
23
|
/** The time zone. A time zone offset from GMT (such as `'+0430'`) */
|
|
24
|
-
timezone: string;
|
|
25
|
-
options:
|
|
24
|
+
timezone: string | undefined;
|
|
25
|
+
options: FngDateRangePickerOptions;
|
|
26
26
|
get required(): boolean;
|
|
27
27
|
set required(value: boolean);
|
|
28
28
|
protected innerRequired: boolean;
|
|
@@ -30,16 +30,16 @@ export declare class DateRangePickerComponent implements ControlValueAccessor {
|
|
|
30
30
|
display: string;
|
|
31
31
|
fngChange: EventEmitter<any>;
|
|
32
32
|
change: EventEmitter<any>;
|
|
33
|
-
connector: ElementRef;
|
|
34
|
-
get fromDateDisplayValue(): string;
|
|
35
|
-
get toDateDisplayValue(): string;
|
|
36
|
-
dateRangePickerRef: OverlayRef;
|
|
33
|
+
connector: ElementRef | undefined;
|
|
34
|
+
get fromDateDisplayValue(): string | null;
|
|
35
|
+
get toDateDisplayValue(): string | null;
|
|
36
|
+
dateRangePickerRef: OverlayRef | undefined;
|
|
37
37
|
private innerValue;
|
|
38
38
|
private complete;
|
|
39
39
|
private datePicker;
|
|
40
40
|
constructor(overlay: Overlay, localeDefault: string);
|
|
41
|
-
onTouched: () => any;
|
|
42
|
-
onChange: (dateRange: Date[]) => any;
|
|
41
|
+
onTouched: (() => any) | undefined;
|
|
42
|
+
onChange: ((dateRange: Date[]) => any) | undefined;
|
|
43
43
|
hide(event: KeyboardEvent): void;
|
|
44
44
|
onDateChange(dateRange: Date[]): void;
|
|
45
45
|
writeValue(dateRange: Date[]): void;
|
|
@@ -48,6 +48,6 @@ export declare class DateRangePickerComponent implements ControlValueAccessor {
|
|
|
48
48
|
setDisabledState?(isDisabled: boolean): void;
|
|
49
49
|
toggle(event: Event): void;
|
|
50
50
|
private dispose;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngDateRangePickerComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngDateRangePickerComponent, "fng-date-range-picker", never, { "value": "value"; "disabled": "disabled"; "hint": "hint"; "error": "error"; "locale": "locale"; "format": "format"; "timezone": "timezone"; "options": "options"; "required": "required"; "width": "width"; }, { "fngChange": "fngChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
53
53
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface FlatPickerOptions {
|
|
4
|
+
maxDate?: Date | undefined;
|
|
5
|
+
minDate?: Date | undefined;
|
|
6
|
+
mode?: 'single' | 'range';
|
|
7
|
+
}
|
|
8
|
+
export declare class FngFlatpickrComponent implements OnInit, OnDestroy {
|
|
9
|
+
date: Date | Date[];
|
|
10
|
+
options: FlatPickerOptions | undefined;
|
|
11
|
+
dateChange: EventEmitter<Date | Date[]>;
|
|
12
|
+
datePickerRef: ElementRef | undefined;
|
|
13
|
+
private datePicker;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
onDateChange(dateOption: Date | Date[]): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngFlatpickrComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngFlatpickrComponent, "fng-flatpickr", never, { "date": "date"; "options": "options"; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -1,44 +1,24 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./text-
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
2
|
+
import * as i1 from "@angular/forms";
|
|
3
|
+
import * as i2 from "./checkbox/checkbox.component";
|
|
4
|
+
import * as i3 from "./color-indicator/color-indicator.component";
|
|
5
|
+
import * as i4 from "./color-picker/color-picker.component";
|
|
6
|
+
import * as i5 from "./text-input/text-input.component";
|
|
7
|
+
import * as i6 from "./time-picker/time-picker-dropdown/time-picker-dropdown.component";
|
|
8
|
+
import * as i7 from "./time-picker/time-picker.component";
|
|
9
|
+
import * as i8 from "./date-picker/date-picker.component";
|
|
10
|
+
import * as i9 from "./date-range-picker/date-range-picker.component";
|
|
11
|
+
import * as i10 from "./radio/radio.component";
|
|
12
12
|
import * as i11 from "./segment/segment.component";
|
|
13
13
|
import * as i12 from "./segment/segment-control/segment-control.component";
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "@angular/cdk/scrolling";
|
|
21
|
-
import * as i20 from "@angular/cdk/drag-drop";
|
|
22
|
-
import * as i21 from "@angular/cdk/observers";
|
|
23
|
-
export * from './checkbox/checkbox.component';
|
|
24
|
-
export * from './switch/switch.component';
|
|
25
|
-
export * from './radio/radio.component';
|
|
26
|
-
export * from './select/select.component';
|
|
27
|
-
export * from './select/select-option/select-option.component';
|
|
28
|
-
export * from './select/chip-text.pipe';
|
|
29
|
-
export * from './text-input/text-input.component';
|
|
30
|
-
export * from './text-area/text-area.component';
|
|
31
|
-
export * from './color-picker/color-picker.component';
|
|
32
|
-
export * from './slider/slider.component';
|
|
33
|
-
export * from './color-indicator/color-indicator.component';
|
|
34
|
-
export * from './segment/segment.component';
|
|
35
|
-
export * from './segment/segment-control/segment-control.component';
|
|
36
|
-
export * from './time-picker/time-picker.component';
|
|
37
|
-
export * from './time-picker/time-picker-dropdown/time-picker-dropdown.component';
|
|
38
|
-
export { ValueAccessorBaseDirective as ValueAccessorBase } from './value-accessor-base';
|
|
39
|
-
export { ContainerHostDirective as ContainerHost } from './container-host';
|
|
14
|
+
import * as i13 from "./select/select-option/select-option.component";
|
|
15
|
+
import * as i14 from "./select/select.component";
|
|
16
|
+
import * as i15 from "./slider/slider.component";
|
|
17
|
+
import * as i16 from "./switch/switch.component";
|
|
18
|
+
import * as i17 from "./text-area/text-area.component";
|
|
19
|
+
import * as i18 from "./text-editor/text-editor.component";
|
|
40
20
|
export declare class FestoAngularFormsModule {
|
|
41
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularFormsModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularFormsModule, [typeof i1.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularFormsModule, never, [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof i2.FngCheckboxComponent, typeof i3.FngColorIndicatorComponent, typeof i4.FngColorPickerComponent, typeof i5.FngTextInputComponent, typeof i6.FngTimePickerDropdownComponent, typeof i7.FngTimePickerComponent, typeof i8.FngDatePickerComponent, typeof i9.FngDateRangePickerComponent, typeof i10.FngRadioGroupDirective, typeof i10.FngRadioComponent, typeof i11.FngSegmentComponent, typeof i12.FngSegmentControlComponent, typeof i13.FngSelectOptionComponent, typeof i14.FngSelectComponent, typeof i15.FngSliderComponent, typeof i16.FngSwitchComponent, typeof i17.FngTextAreaComponent, typeof i18.FngTextEditorComponent], [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof i2.FngCheckboxComponent, typeof i3.FngColorIndicatorComponent, typeof i4.FngColorPickerComponent, typeof i5.FngTextInputComponent, typeof i6.FngTimePickerDropdownComponent, typeof i7.FngTimePickerComponent, typeof i8.FngDatePickerComponent, typeof i9.FngDateRangePickerComponent, typeof i10.FngRadioGroupDirective, typeof i10.FngRadioComponent, typeof i11.FngSegmentComponent, typeof i12.FngSegmentControlComponent, typeof i13.FngSelectOptionComponent, typeof i14.FngSelectComponent, typeof i15.FngSliderComponent, typeof i16.FngSwitchComponent, typeof i17.FngTextAreaComponent, typeof i18.FngTextEditorComponent]>;
|
|
43
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularFormsModule>;
|
|
44
24
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ChangeDetectorRef, OnDestroy, AfterContentInit } from '@angular/core';
|
|
2
2
|
import type { QueryList } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { FngUniqueSelectionDispatcher } from '../unique-selection-dispatcher';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
7
|
-
source:
|
|
6
|
+
export declare class FngRadioChange {
|
|
7
|
+
source: FngRadioComponent | null;
|
|
8
8
|
value: any;
|
|
9
|
-
constructor(source:
|
|
9
|
+
constructor(source: FngRadioComponent | null, value: any);
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class FngRadioGroupDirective implements AfterContentInit, ControlValueAccessor {
|
|
12
12
|
private changeDetector;
|
|
13
13
|
hostClass: boolean;
|
|
14
14
|
role: string;
|
|
15
|
-
readonly change: EventEmitter<
|
|
16
|
-
radios: QueryList<
|
|
15
|
+
readonly change: EventEmitter<FngRadioChange>;
|
|
16
|
+
radios: QueryList<FngRadioComponent> | undefined;
|
|
17
17
|
get name(): string;
|
|
18
18
|
set name(value: string);
|
|
19
19
|
get large(): boolean;
|
|
20
20
|
set large(v: boolean);
|
|
21
|
-
get labelPosition(): "
|
|
22
|
-
set labelPosition(v: "
|
|
21
|
+
get labelPosition(): "after" | "before" | "below";
|
|
22
|
+
set labelPosition(v: "after" | "before" | "below");
|
|
23
23
|
get value(): any;
|
|
24
24
|
set value(newValue: any);
|
|
25
25
|
get selected(): any | null;
|
|
@@ -37,8 +37,8 @@ export declare class RadioGroupDirective implements AfterContentInit, ControlVal
|
|
|
37
37
|
private innerName;
|
|
38
38
|
private innerLabelPosition;
|
|
39
39
|
constructor(changeDetector: ChangeDetectorRef);
|
|
40
|
-
controlValueAccessorChangeFn: (value: any) => void;
|
|
41
|
-
onTouched: () => void;
|
|
40
|
+
controlValueAccessorChangeFn: ((value: any) => void) | undefined;
|
|
41
|
+
onTouched: (() => void) | undefined;
|
|
42
42
|
ngAfterContentInit(): void;
|
|
43
43
|
checkSelectedRadioButton(): void;
|
|
44
44
|
touch(): void;
|
|
@@ -51,13 +51,13 @@ export declare class RadioGroupDirective implements AfterContentInit, ControlVal
|
|
|
51
51
|
private updateRadioButtonSize;
|
|
52
52
|
private updateRadioButtonNames;
|
|
53
53
|
private updateSelectedRadioFromValue;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngRadioGroupDirective, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FngRadioGroupDirective, "[fngRadioGroup]", never, { "name": "name"; "large": "large"; "labelPosition": "labelPosition"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, ["radios"], never, true, never>;
|
|
56
56
|
}
|
|
57
|
-
export declare class
|
|
57
|
+
export declare class FngRadioComponent implements OnInit, OnDestroy {
|
|
58
58
|
private changeDetector;
|
|
59
59
|
private radioDispatcher;
|
|
60
|
-
name: string;
|
|
60
|
+
name: string | undefined;
|
|
61
61
|
private innerId;
|
|
62
62
|
get id(): string;
|
|
63
63
|
set id(value: string);
|
|
@@ -68,14 +68,14 @@ export declare class RadioComponent implements OnInit, OnDestroy {
|
|
|
68
68
|
set value(value: any);
|
|
69
69
|
get large(): boolean;
|
|
70
70
|
set large(value: boolean);
|
|
71
|
-
get labelPosition(): "
|
|
72
|
-
set labelPosition(value: "
|
|
71
|
+
get labelPosition(): "after" | "before" | "below";
|
|
72
|
+
set labelPosition(value: "after" | "before" | "below");
|
|
73
73
|
get disabled(): boolean;
|
|
74
74
|
set disabled(value: boolean);
|
|
75
75
|
get required(): boolean;
|
|
76
76
|
set required(value: boolean);
|
|
77
|
-
readonly change: EventEmitter<
|
|
78
|
-
radioGroup:
|
|
77
|
+
readonly change: EventEmitter<FngRadioChange>;
|
|
78
|
+
radioGroup: FngRadioGroupDirective;
|
|
79
79
|
private isLarge;
|
|
80
80
|
private isChecked;
|
|
81
81
|
private isDisabled;
|
|
@@ -83,13 +83,13 @@ export declare class RadioComponent implements OnInit, OnDestroy {
|
|
|
83
83
|
private innerValue;
|
|
84
84
|
private innerLabelPosition;
|
|
85
85
|
private removeUniqueSelectionListener;
|
|
86
|
-
constructor(radioGroup:
|
|
86
|
+
constructor(radioGroup: FngRadioGroupDirective, changeDetector: ChangeDetectorRef, radioDispatcher: FngUniqueSelectionDispatcher);
|
|
87
87
|
ngOnInit(): void;
|
|
88
88
|
ngOnDestroy(): void;
|
|
89
89
|
onInputClick(event: Event): void;
|
|
90
90
|
onInputChange(event: Event): void;
|
|
91
91
|
markForCheck(): void;
|
|
92
92
|
private emitChangeEvent;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngRadioComponent, [{ optional: true; }, null, null]>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngRadioComponent, "fng-radio", never, { "name": "name"; "id": "id"; "checked": "checked"; "value": "value"; "large": "large"; "labelPosition": "labelPosition"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
95
95
|
}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { OnInit, SimpleChanges, OnChanges, TemplateRef, AfterViewInit, ViewRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
4
|
-
id: string;
|
|
5
|
-
view: ViewRef;
|
|
3
|
+
export declare class FngSegmentControlComponent implements OnInit, OnChanges, AfterViewInit {
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
static
|
|
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, false>;
|
|
19
|
+
onInputChange(event: Event): void;
|
|
20
|
+
onInputClick(event: Event): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSegmentControlComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngSegmentControlComponent, "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
23
|
}
|