@festo-ui/angular 8.3.0-dev.647 → 9.0.0-dev.650
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/css/bundle.css +1 -1
- package/css/image-gallery.css +1 -1
- package/css/popover.css +1 -1
- package/fesm2022/festo-ui-angular.mjs +330 -332
- package/fesm2022/festo-ui-angular.mjs.map +1 -1
- package/index.d.ts +2043 -3
- package/package.json +10 -10
- package/lib/components/accordion/accordion-header/accordion-header.component.d.ts +0 -5
- package/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.d.ts +0 -6
- package/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.d.ts +0 -15
- package/lib/components/accordion/accordion-item/accordion-item.component.d.ts +0 -35
- package/lib/components/accordion/accordion.component.d.ts +0 -24
- package/lib/components/accordion/index.d.ts +0 -5
- package/lib/components/bottom-sheet/bottom-sheet.component.d.ts +0 -23
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -12
- package/lib/components/buttons/button/button.component.d.ts +0 -17
- package/lib/components/buttons/link-button/link-button.component.d.ts +0 -13
- package/lib/components/chips/chip/chip.component.d.ts +0 -18
- package/lib/components/chips/chip-container/chip-container.component.d.ts +0 -6
- package/lib/components/components.module.d.ts +0 -44
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +0 -6
- package/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.d.ts +0 -15
- package/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.d.ts +0 -19
- package/lib/components/mobile-flyout/mobile-flyout.component.d.ts +0 -17
- package/lib/components/overlay/overlay-content/overlay-content.component.d.ts +0 -5
- package/lib/components/overlay/overlay-outlet.directive.d.ts +0 -64
- package/lib/components/pagination/pagination.component.d.ts +0 -21
- package/lib/components/popovers/legend/legend.component.d.ts +0 -22
- package/lib/components/popovers/legend/legend.directive.d.ts +0 -13
- package/lib/components/popovers/popover/popover.component.d.ts +0 -14
- package/lib/components/popovers/popover-content/popover-content.component.d.ts +0 -33
- package/lib/components/popovers/popover-content/popover-content.directive.d.ts +0 -14
- package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +0 -24
- package/lib/components/popovers/popover-ref.d.ts +0 -12
- package/lib/components/popovers/popover.defaults.d.ts +0 -40
- package/lib/components/popovers/popover.models.d.ts +0 -47
- package/lib/components/popovers/popover.service.d.ts +0 -21
- package/lib/components/popovers/tooltip/tooltip.directive.d.ts +0 -36
- package/lib/components/progress/progress.component.d.ts +0 -8
- package/lib/components/scroll/index.d.ts +0 -1
- package/lib/components/scroll/scrollable.directive.d.ts +0 -24
- package/lib/components/search-input/search-input.component.d.ts +0 -73
- package/lib/components/sidebar-overlay/sidebar-overlay.component.d.ts +0 -25
- package/lib/components/snackbar/snackbar-container.component.d.ts +0 -7
- package/lib/components/snackbar/snackbar-container.directive.d.ts +0 -17
- package/lib/components/snackbar/snackbar.component.d.ts +0 -17
- package/lib/components/snackbar/snackbar.models.d.ts +0 -12
- package/lib/components/snackbar/snackbar.module.d.ts +0 -13
- package/lib/components/snackbar/snackbar.service.d.ts +0 -17
- package/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.d.ts +0 -7
- package/lib/components/stepper-horizontal/stepper-horizontal.component.d.ts +0 -14
- package/lib/components/stepper-vertical/step-vertical/step-vertical.component.d.ts +0 -18
- package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +0 -14
- package/lib/components/table-header-cell/table-header-cell.directive.d.ts +0 -21
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +0 -18
- package/lib/components/tabs/tabs.component.d.ts +0 -95
- package/lib/directives/click-outside.directive.d.ts +0 -10
- package/lib/festo-angular.module.d.ts +0 -11
- package/lib/forms/checkbox/checkbox.component.d.ts +0 -40
- package/lib/forms/color-indicator/color-indicator.component.d.ts +0 -31
- package/lib/forms/color-picker/color-helper.d.ts +0 -9
- package/lib/forms/color-picker/color-picker.component.d.ts +0 -77
- package/lib/forms/date-picker/date-picker.component.d.ts +0 -51
- package/lib/forms/date-range-picker/date-range-picker.component.d.ts +0 -54
- package/lib/forms/flatpickr/flatpickr.component.d.ts +0 -19
- package/lib/forms/forms.module.d.ts +0 -24
- package/lib/forms/radio/radio.component.d.ts +0 -95
- package/lib/forms/segment/segment-control/segment-control.component.d.ts +0 -23
- package/lib/forms/segment/segment.component.d.ts +0 -40
- package/lib/forms/select/chip-text.pipe.d.ts +0 -7
- package/lib/forms/select/select-option/select-option.component.d.ts +0 -11
- package/lib/forms/select/select.component.d.ts +0 -69
- package/lib/forms/slider/slider.component.d.ts +0 -37
- package/lib/forms/switch/switch.component.d.ts +0 -35
- package/lib/forms/text-area/text-area.component.d.ts +0 -103
- package/lib/forms/text-editor/text-editor.component.d.ts +0 -72
- package/lib/forms/text-input/text-input.component.d.ts +0 -104
- package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +0 -28
- package/lib/forms/time-picker/time-picker.component.d.ts +0 -42
- package/lib/forms/unique-selection-dispatcher.d.ts +0 -20
- package/lib/forms/value-accessor-base.d.ts +0 -17
- package/lib/modals/alert/alert.component.d.ts +0 -26
- package/lib/modals/confirm/confirm.component.d.ts +0 -27
- package/lib/modals/custom-modal/custom-modal.component.d.ts +0 -28
- package/lib/modals/image-gallery/image-gallery.component.d.ts +0 -46
- package/lib/modals/index.d.ts +0 -21
- package/lib/modals/modal.service.d.ts +0 -22
- package/lib/modals/modals.module.d.ts +0 -17
- package/lib/modals/prompt/prompt.component.d.ts +0 -45
- package/lib/pipes/safe-html.pipe.d.ts +0 -10
- package/public-api.d.ts +0 -64
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { CdkDragMove } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare const PREDEFINED_COLORS: string[];
|
|
6
|
-
/**
|
|
7
|
-
* A custom form element to pick a color.
|
|
8
|
-
*/
|
|
9
|
-
export declare class FngColorPickerComponent implements OnChanges, ControlValueAccessor {
|
|
10
|
-
baseSize: number;
|
|
11
|
-
inputType: string;
|
|
12
|
-
isSelectOpen: boolean;
|
|
13
|
-
useAlpha: boolean;
|
|
14
|
-
get alpha(): number;
|
|
15
|
-
set alpha(value: number);
|
|
16
|
-
alphaChange: EventEmitter<number>;
|
|
17
|
-
/**
|
|
18
|
-
* The current color
|
|
19
|
-
*/
|
|
20
|
-
get color(): string | null;
|
|
21
|
-
set color(value: string | null);
|
|
22
|
-
get disabled(): boolean;
|
|
23
|
-
set disabled(value: boolean);
|
|
24
|
-
/**
|
|
25
|
-
* an array with color strings representing the palette.
|
|
26
|
-
* Example: ['#234567, '#AA00FF']
|
|
27
|
-
* Pass null to hide palette.
|
|
28
|
-
*/
|
|
29
|
-
palette: string[];
|
|
30
|
-
/**
|
|
31
|
-
* hide the hue and gradient picker and shot the palette only.
|
|
32
|
-
*/
|
|
33
|
-
paletteOnly: boolean;
|
|
34
|
-
private innerColor;
|
|
35
|
-
private innerDisabled;
|
|
36
|
-
private innerAlpha;
|
|
37
|
-
hexInputColor: string | null;
|
|
38
|
-
redInput: number;
|
|
39
|
-
greenInput: number;
|
|
40
|
-
blueInput: number;
|
|
41
|
-
alphaInput: number;
|
|
42
|
-
hue: number;
|
|
43
|
-
saturation: number;
|
|
44
|
-
value: number;
|
|
45
|
-
hueKnobOffset: number;
|
|
46
|
-
alphaKnobOffset: number;
|
|
47
|
-
saturationKnobOffset: number;
|
|
48
|
-
valueKnobOffset: number;
|
|
49
|
-
onTouched: () => any;
|
|
50
|
-
onChange: (color: string | null) => any;
|
|
51
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
52
|
-
writeValue(color: string): void;
|
|
53
|
-
registerOnChange(fn: any): void;
|
|
54
|
-
registerOnTouched(fn: any): void;
|
|
55
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
56
|
-
updateColorRgb(emitChange: boolean): void;
|
|
57
|
-
updateColorHsv(): void;
|
|
58
|
-
onHexBlur(): void;
|
|
59
|
-
onHexInput(): void;
|
|
60
|
-
onRgbBlur(): void;
|
|
61
|
-
onRgbInput(value: number, channel: string): void;
|
|
62
|
-
onAlphaInput(value: number): void;
|
|
63
|
-
onGradientClick(event: MouseEvent): void;
|
|
64
|
-
onGradientDrag(event: CdkDragMove): void;
|
|
65
|
-
onHueClick(event: MouseEvent): void;
|
|
66
|
-
onAlphaClick(event: MouseEvent): void;
|
|
67
|
-
onHueDrag(event: CdkDragMove): void;
|
|
68
|
-
onAlphaDrag(event: CdkDragMove): void;
|
|
69
|
-
onRemoveColor(): void;
|
|
70
|
-
isHexColor(value: string): boolean;
|
|
71
|
-
getSaturationGradient(): string;
|
|
72
|
-
updateInputs(hexColor: string | null): void;
|
|
73
|
-
updateKnobs(): void;
|
|
74
|
-
onChangeType(type: string): void;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngColorPickerComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngColorPickerComponent, "fng-color-picker", never, { "useAlpha": { "alias": "useAlpha"; "required": false; }; "alpha": { "alias": "alpha"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "paletteOnly": { "alias": "paletteOnly"; "required": false; }; }, { "alphaChange": "alphaChange"; }, never, never, true, never>;
|
|
77
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface FngDatePickerOptions {
|
|
6
|
-
maxDate?: Date;
|
|
7
|
-
minDate?: Date;
|
|
8
|
-
keepOpenOnDateChange?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class FngDatePickerComponent implements ControlValueAccessor {
|
|
11
|
-
private overlay;
|
|
12
|
-
private localeDefault;
|
|
13
|
-
private cd;
|
|
14
|
-
get value(): Date;
|
|
15
|
-
set value(date: Date);
|
|
16
|
-
get disabled(): boolean;
|
|
17
|
-
set disabled(value: boolean);
|
|
18
|
-
protected innerDisabled: boolean;
|
|
19
|
-
hint: string | undefined;
|
|
20
|
-
error: string | undefined;
|
|
21
|
-
options: FngDatePickerOptions;
|
|
22
|
-
/** A locale code for the locale format rules to use. */
|
|
23
|
-
locale: string | undefined;
|
|
24
|
-
format: string | undefined;
|
|
25
|
-
/** The time zone. A time zone offset from GMT (such as `'+0430'`) */
|
|
26
|
-
timezone: string | undefined;
|
|
27
|
-
get required(): boolean;
|
|
28
|
-
set required(value: boolean);
|
|
29
|
-
protected innerRequired: boolean;
|
|
30
|
-
connector: ElementRef | undefined;
|
|
31
|
-
width: string | undefined;
|
|
32
|
-
display: string;
|
|
33
|
-
get displayValue(): string;
|
|
34
|
-
datePickerRef: OverlayRef | undefined;
|
|
35
|
-
private innerValue;
|
|
36
|
-
private complete;
|
|
37
|
-
private datePicker;
|
|
38
|
-
constructor(overlay: Overlay, localeDefault: string, cd: ChangeDetectorRef);
|
|
39
|
-
onTouched: (() => any) | undefined;
|
|
40
|
-
onChange: ((date: Date) => any) | undefined;
|
|
41
|
-
hide(event: KeyboardEvent): void;
|
|
42
|
-
onDateChange(date: Date): void;
|
|
43
|
-
writeValue(date: Date): void;
|
|
44
|
-
registerOnChange(fn: any): void;
|
|
45
|
-
registerOnTouched(fn: any): void;
|
|
46
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
47
|
-
toggle(event: Event): void;
|
|
48
|
-
private dispose;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngDatePickerComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngDatePickerComponent, "fng-date-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "error": { "alias": "error"; "required": false; }; "options": { "alias": "options"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "format": { "alias": "format"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "required": { "alias": "required"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
51
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface FngDateRangePickerOptions {
|
|
6
|
-
maxDate?: Date;
|
|
7
|
-
minDate?: Date;
|
|
8
|
-
keepOpenOnDateChange?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class FngDateRangePickerComponent implements ControlValueAccessor {
|
|
11
|
-
private overlay;
|
|
12
|
-
private localeDefault;
|
|
13
|
-
private cd;
|
|
14
|
-
get value(): Date[];
|
|
15
|
-
set value(dateRange: Date[]);
|
|
16
|
-
get disabled(): boolean;
|
|
17
|
-
set disabled(value: boolean);
|
|
18
|
-
protected innerDisabled: boolean;
|
|
19
|
-
hint: string | undefined;
|
|
20
|
-
error: string | undefined;
|
|
21
|
-
/** A locale code for the locale format rules to use. */
|
|
22
|
-
locale: string | undefined;
|
|
23
|
-
format: string | undefined;
|
|
24
|
-
/** The time zone. A time zone offset from GMT (such as `'+0430'`) */
|
|
25
|
-
timezone: string | undefined;
|
|
26
|
-
options: FngDateRangePickerOptions;
|
|
27
|
-
get required(): boolean;
|
|
28
|
-
set required(value: boolean);
|
|
29
|
-
protected innerRequired: boolean;
|
|
30
|
-
width: string;
|
|
31
|
-
display: string;
|
|
32
|
-
fngChange: EventEmitter<any>;
|
|
33
|
-
change: EventEmitter<any>;
|
|
34
|
-
connector: ElementRef | undefined;
|
|
35
|
-
get fromDateDisplayValue(): string | null;
|
|
36
|
-
get toDateDisplayValue(): string | null;
|
|
37
|
-
dateRangePickerRef: OverlayRef | undefined;
|
|
38
|
-
private innerValue;
|
|
39
|
-
private complete;
|
|
40
|
-
private datePicker;
|
|
41
|
-
constructor(overlay: Overlay, localeDefault: string, cd: ChangeDetectorRef);
|
|
42
|
-
onTouched: (() => any) | undefined;
|
|
43
|
-
onChange: ((dateRange: Date[]) => any) | undefined;
|
|
44
|
-
hide(event: KeyboardEvent): void;
|
|
45
|
-
onDateChange(dateRange: Date[]): void;
|
|
46
|
-
writeValue(dateRange: Date[]): void;
|
|
47
|
-
registerOnChange(fn: any): void;
|
|
48
|
-
registerOnTouched(fn: any): void;
|
|
49
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
50
|
-
toggle(event: Event): void;
|
|
51
|
-
private dispose;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngDateRangePickerComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngDateRangePickerComponent, "fng-date-range-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "error": { "alias": "error"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "format": { "alias": "format"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "options": { "alias": "options"; "required": false; }; "required": { "alias": "required"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "fngChange": "fngChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
54
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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": { "alias": "date"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
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
|
-
import * as i11 from "./segment/segment.component";
|
|
13
|
-
import * as i12 from "./segment/segment-control/segment-control.component";
|
|
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";
|
|
20
|
-
export declare class FestoAngularFormsModule {
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularFormsModule, never>;
|
|
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]>;
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularFormsModule>;
|
|
24
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ChangeDetectorRef, OnDestroy, AfterContentInit } from '@angular/core';
|
|
2
|
-
import type { QueryList } from '@angular/core';
|
|
3
|
-
import { FngUniqueSelectionDispatcher } from '../unique-selection-dispatcher';
|
|
4
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FngRadioChange {
|
|
7
|
-
source: FngRadioComponent | null;
|
|
8
|
-
value: any;
|
|
9
|
-
constructor(source: FngRadioComponent | null, value: any);
|
|
10
|
-
}
|
|
11
|
-
export declare class FngRadioGroupDirective implements AfterContentInit, ControlValueAccessor {
|
|
12
|
-
private changeDetector;
|
|
13
|
-
hostClass: boolean;
|
|
14
|
-
role: string;
|
|
15
|
-
readonly change: EventEmitter<FngRadioChange>;
|
|
16
|
-
radios: QueryList<FngRadioComponent> | undefined;
|
|
17
|
-
get name(): string;
|
|
18
|
-
set name(value: string);
|
|
19
|
-
get large(): boolean;
|
|
20
|
-
set large(v: boolean);
|
|
21
|
-
get labelPosition(): "before" | "after" | "below";
|
|
22
|
-
set labelPosition(v: "before" | "after" | "below");
|
|
23
|
-
get value(): any;
|
|
24
|
-
set value(newValue: any);
|
|
25
|
-
get selected(): any | null;
|
|
26
|
-
set selected(selected: any | null);
|
|
27
|
-
get disabled(): boolean;
|
|
28
|
-
set disabled(value: boolean);
|
|
29
|
-
get required(): boolean;
|
|
30
|
-
set required(value: boolean);
|
|
31
|
-
private isLarge;
|
|
32
|
-
private isDisabled;
|
|
33
|
-
private isRequired;
|
|
34
|
-
private innerValue;
|
|
35
|
-
private isInitialized;
|
|
36
|
-
private isSelected;
|
|
37
|
-
private innerName;
|
|
38
|
-
private innerLabelPosition;
|
|
39
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
40
|
-
controlValueAccessorChangeFn: ((value: any) => void) | undefined;
|
|
41
|
-
onTouched: (() => void) | undefined;
|
|
42
|
-
ngAfterContentInit(): void;
|
|
43
|
-
checkSelectedRadioButton(): void;
|
|
44
|
-
touch(): void;
|
|
45
|
-
emitChangeEvent(): void;
|
|
46
|
-
markRadiosForCheck(): void;
|
|
47
|
-
writeValue(value: any): void;
|
|
48
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
49
|
-
registerOnTouched(fn: any): void;
|
|
50
|
-
setDisabledState(isDisabled: boolean): void;
|
|
51
|
-
private updateRadioButtonSize;
|
|
52
|
-
private updateRadioButtonNames;
|
|
53
|
-
private updateSelectedRadioFromValue;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngRadioGroupDirective, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FngRadioGroupDirective, "[fngRadioGroup]", never, { "name": { "alias": "name"; "required": false; }; "large": { "alias": "large"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["radios"], never, true, never>;
|
|
56
|
-
}
|
|
57
|
-
export declare class FngRadioComponent implements OnInit, OnDestroy {
|
|
58
|
-
private changeDetector;
|
|
59
|
-
private radioDispatcher;
|
|
60
|
-
name: string | undefined;
|
|
61
|
-
private innerId;
|
|
62
|
-
get id(): string;
|
|
63
|
-
set id(value: string);
|
|
64
|
-
get inputId(): string;
|
|
65
|
-
get checked(): boolean;
|
|
66
|
-
set checked(value: boolean);
|
|
67
|
-
get value(): any;
|
|
68
|
-
set value(value: any);
|
|
69
|
-
get large(): boolean;
|
|
70
|
-
set large(value: boolean);
|
|
71
|
-
get labelPosition(): "before" | "after" | "below";
|
|
72
|
-
set labelPosition(value: "before" | "after" | "below");
|
|
73
|
-
get disabled(): boolean;
|
|
74
|
-
set disabled(value: boolean);
|
|
75
|
-
get required(): boolean;
|
|
76
|
-
set required(value: boolean);
|
|
77
|
-
readonly change: EventEmitter<FngRadioChange>;
|
|
78
|
-
radioGroup: FngRadioGroupDirective;
|
|
79
|
-
private isLarge;
|
|
80
|
-
private isChecked;
|
|
81
|
-
private isDisabled;
|
|
82
|
-
private isRequired;
|
|
83
|
-
private innerValue;
|
|
84
|
-
private innerLabelPosition;
|
|
85
|
-
private removeUniqueSelectionListener;
|
|
86
|
-
constructor(radioGroup: FngRadioGroupDirective, changeDetector: ChangeDetectorRef, radioDispatcher: FngUniqueSelectionDispatcher);
|
|
87
|
-
ngOnInit(): void;
|
|
88
|
-
ngOnDestroy(): void;
|
|
89
|
-
onInputClick(event: Event): void;
|
|
90
|
-
onInputChange(event: Event): void;
|
|
91
|
-
markForCheck(): void;
|
|
92
|
-
private emitChangeEvent;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngRadioComponent, [{ optional: true; }, null, null]>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngRadioComponent, "fng-radio", never, { "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "large": { "alias": "large"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
95
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnInit, SimpleChanges, OnChanges, TemplateRef, AfterViewInit, ViewRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FngSegmentControlComponent implements OnInit, OnChanges, AfterViewInit {
|
|
4
|
-
id: string | undefined;
|
|
5
|
-
view: ViewRef | undefined;
|
|
6
|
-
viewMode: 'text' | 'icon' | 'icon-text';
|
|
7
|
-
name: string | undefined;
|
|
8
|
-
value: any;
|
|
9
|
-
label: string | undefined;
|
|
10
|
-
icon: string | undefined;
|
|
11
|
-
iconOnly: boolean | undefined;
|
|
12
|
-
checked: boolean | undefined;
|
|
13
|
-
disabled: boolean | undefined;
|
|
14
|
-
change: EventEmitter<any>;
|
|
15
|
-
tpl: TemplateRef<any> | undefined;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
ngAfterViewInit(): void;
|
|
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": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, SimpleChanges, OnChanges, AfterViewInit, ViewContainerRef, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import type { QueryList } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { FngSegmentControlComponent } from './segment-control/segment-control.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface FngSegmentComponentConfiguration {
|
|
7
|
-
outline: boolean;
|
|
8
|
-
iconOnly: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class FngSegmentComponent implements OnChanges, AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
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;
|
|
19
|
-
private complete;
|
|
20
|
-
defaultConfig: FngSegmentComponentConfiguration;
|
|
21
|
-
useIcon: boolean;
|
|
22
|
-
useIconAndText: boolean;
|
|
23
|
-
id: string;
|
|
24
|
-
legend: string;
|
|
25
|
-
config: FngSegmentComponentConfiguration;
|
|
26
|
-
controls: QueryList<FngSegmentControlComponent> | undefined;
|
|
27
|
-
vc: ViewContainerRef | undefined;
|
|
28
|
-
fngChange: EventEmitter<any>;
|
|
29
|
-
change: EventEmitter<any>;
|
|
30
|
-
set value(value: any);
|
|
31
|
-
get value(): any;
|
|
32
|
-
constructor(cd: ChangeDetectorRef);
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
ngAfterContentInit(): void;
|
|
35
|
-
ngAfterViewInit(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
private html;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngSegmentComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngSegmentComponent, "fng-segment", never, { "legend": { "alias": "legend"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "fngChange": "fngChange"; "change": "change"; }, ["controls"], never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FngChipTextPipe implements PipeTransform {
|
|
4
|
-
transform(value: any, options: any[], optionsValueKey?: string, optionsTextKey?: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngChipTextPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FngChipTextPipe, "fngChipText", true>;
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FngSelectOptionComponent implements AfterViewInit {
|
|
4
|
-
value: any;
|
|
5
|
-
elementRef: ElementRef;
|
|
6
|
-
el: HTMLElement | undefined;
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
|
-
update(): Promise<HTMLElement | undefined>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngSelectOptionComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngSelectOptionComponent, "fng-select-option", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnInit, QueryList, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { FngSelectOptionComponent } from './select-option/select-option.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface FngSelectOption {
|
|
6
|
-
value: any;
|
|
7
|
-
text: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class FngSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit, AfterContentInit {
|
|
10
|
-
cd: ChangeDetectorRef;
|
|
11
|
-
protected document: Document;
|
|
12
|
-
protected renderer: Renderer2;
|
|
13
|
-
protected destroy: DestroyRef;
|
|
14
|
-
static nextId: number;
|
|
15
|
-
protected _disabled: boolean;
|
|
16
|
-
protected _required: boolean;
|
|
17
|
-
protected _value: any;
|
|
18
|
-
protected body: HTMLElement;
|
|
19
|
-
get disabled(): boolean;
|
|
20
|
-
set disabled(value: boolean);
|
|
21
|
-
get required(): boolean;
|
|
22
|
-
set required(value: boolean);
|
|
23
|
-
get value(): any;
|
|
24
|
-
set value(value: any);
|
|
25
|
-
onChange: (value: any) => void;
|
|
26
|
-
onTouched: () => void;
|
|
27
|
-
id: string;
|
|
28
|
-
multiple: boolean;
|
|
29
|
-
size: number;
|
|
30
|
-
options: any[];
|
|
31
|
-
optionsValueKey: string | undefined;
|
|
32
|
-
optionsTextKey: string | undefined;
|
|
33
|
-
optionObjectAsValue: boolean | undefined;
|
|
34
|
-
error: string | undefined;
|
|
35
|
-
label: string;
|
|
36
|
-
hideLabel: boolean;
|
|
37
|
-
hint: string;
|
|
38
|
-
resetOption: string | undefined;
|
|
39
|
-
fngSelectOptions: QueryList<FngSelectOptionComponent> | undefined;
|
|
40
|
-
elementRef: ElementRef | undefined;
|
|
41
|
-
fngChange: EventEmitter<any>;
|
|
42
|
-
selectPanelClasses: string[];
|
|
43
|
-
showOptions: boolean;
|
|
44
|
-
empty: boolean;
|
|
45
|
-
triggerWidth: any;
|
|
46
|
-
checked: Map<any, any>;
|
|
47
|
-
hasProjectedOptions: boolean;
|
|
48
|
-
projectedHtml: any[];
|
|
49
|
-
constructor(cd: ChangeDetectorRef, document: Document, renderer: Renderer2, destroy: DestroyRef);
|
|
50
|
-
ngAfterContentInit(): void;
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
ngAfterViewInit(): void;
|
|
53
|
-
registerOnChange(fn: any): void;
|
|
54
|
-
registerOnTouched(fn: any): void;
|
|
55
|
-
setDisabledState(shouldDisable: boolean): void;
|
|
56
|
-
writeValue(value: any | null): void;
|
|
57
|
-
getOptionText(index: number): any;
|
|
58
|
-
getOptionValue(index: number): any;
|
|
59
|
-
removeChip(event: any, chip: string): void;
|
|
60
|
-
onOpenedChange(isOpen: boolean): void;
|
|
61
|
-
close(): void;
|
|
62
|
-
toggle(): void;
|
|
63
|
-
select(value: any, event: Event): void;
|
|
64
|
-
markAsTouched(): void;
|
|
65
|
-
initProjectedOptions(): void;
|
|
66
|
-
isEmpty(): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngSelectComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngSelectComponent, "fng-select", never, { "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "size": { "alias": "size"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionsValueKey": { "alias": "optionsValueKey"; "required": false; }; "optionsTextKey": { "alias": "optionsTextKey"; "required": false; }; "optionObjectAsValue": { "alias": "optionObjectAsValue"; "required": false; }; "error": { "alias": "error"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "resetOption": { "alias": "resetOption"; "required": false; }; }, { "fngChange": "fngChange"; }, ["fngSelectOptions"], ["*"], true, never>;
|
|
69
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FngSliderComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
5
|
-
private elementRef;
|
|
6
|
-
label: string | undefined;
|
|
7
|
-
min: number;
|
|
8
|
-
max: number;
|
|
9
|
-
step: number;
|
|
10
|
-
digitsInfo: string | undefined;
|
|
11
|
-
locale: string | undefined;
|
|
12
|
-
hideValue: boolean;
|
|
13
|
-
left: number;
|
|
14
|
-
numberoffset: number;
|
|
15
|
-
protected innerDisabled: boolean;
|
|
16
|
-
get disabled(): boolean;
|
|
17
|
-
set disabled(value: boolean);
|
|
18
|
-
protected innerValue: number;
|
|
19
|
-
get value(): number;
|
|
20
|
-
set value(value: number);
|
|
21
|
-
private resizeSub;
|
|
22
|
-
private resizeSubject;
|
|
23
|
-
constructor(elementRef: ElementRef);
|
|
24
|
-
onChange: ((value: number) => void) | undefined;
|
|
25
|
-
onTouched: (() => void) | undefined;
|
|
26
|
-
onResize(): void;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
writeValue(value: any): void;
|
|
30
|
-
registerOnChange(fn: any): void;
|
|
31
|
-
registerOnTouched(fn: any): void;
|
|
32
|
-
setDisabledState(isDisabled: boolean): void;
|
|
33
|
-
onInput(event: any): void;
|
|
34
|
-
updateValuePosition(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngSliderComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngSliderComponent, "fng-slider", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "digitsInfo": { "alias": "digitsInfo"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "hideValue": { "alias": "hideValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FngSwitchComponent implements ControlValueAccessor {
|
|
5
|
-
private changeDetector;
|
|
6
|
-
name: string | undefined;
|
|
7
|
-
large: boolean;
|
|
8
|
-
labelPosition: 'before' | 'after' | 'below';
|
|
9
|
-
private innerId;
|
|
10
|
-
get id(): string;
|
|
11
|
-
set id(value: string);
|
|
12
|
-
get inputId(): string;
|
|
13
|
-
get checked(): boolean;
|
|
14
|
-
set checked(value: boolean);
|
|
15
|
-
private isChecked;
|
|
16
|
-
get disabled(): any;
|
|
17
|
-
set disabled(value: any);
|
|
18
|
-
private isDisabled;
|
|
19
|
-
value: string | undefined;
|
|
20
|
-
get required(): boolean;
|
|
21
|
-
set required(value: boolean);
|
|
22
|
-
private isRequired;
|
|
23
|
-
readonly change: EventEmitter<boolean>;
|
|
24
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
25
|
-
controlValueAccessorChangeFn: ((value: any) => void) | undefined;
|
|
26
|
-
onTouched: (() => any) | undefined;
|
|
27
|
-
writeValue(value: any): void;
|
|
28
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
29
|
-
registerOnTouched(fn: any): void;
|
|
30
|
-
setDisabledState(isDisabled: boolean): void;
|
|
31
|
-
onInteractionEvent(event: Event): void;
|
|
32
|
-
onInputClick(event: Event): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FngSwitchComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FngSwitchComponent, "fng-switch", never, { "name": { "alias": "name"; "required": false; }; "large": { "alias": "large"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
35
|
-
}
|