@festo-ui/angular 5.0.0 → 5.1.0-dev.162
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/esm2020/lib/components/accordion/accordion-header/accordion-header.component.mjs +5 -5
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +5 -5
- package/esm2020/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +10 -10
- package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +15 -15
- package/esm2020/lib/components/accordion/accordion.component.mjs +16 -16
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +5 -5
- package/esm2020/lib/components/buttons/button/button.component.mjs +5 -5
- package/esm2020/lib/components/buttons/link-button/link-button.component.mjs +5 -5
- package/esm2020/lib/components/chips/chip/chip.component.mjs +5 -5
- package/esm2020/lib/components/chips/chip-container/chip-container.component.mjs +5 -5
- package/esm2020/lib/components/components.module.mjs +204 -201
- package/esm2020/lib/components/loading-indicator/loading-indicator.component.mjs +5 -5
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.mjs +5 -5
- package/esm2020/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.mjs +7 -7
- package/esm2020/lib/components/mobile-flyout/mobile-flyout.component.mjs +9 -8
- package/esm2020/lib/components/pagination/pagination.component.mjs +12 -12
- package/esm2020/lib/components/popovers/legend/legend.component.mjs +6 -6
- package/esm2020/lib/components/popovers/legend/legend.directive.mjs +5 -5
- package/esm2020/lib/components/popovers/popover/popover.component.mjs +9 -9
- package/esm2020/lib/components/popovers/popover-content/popover-content.component.mjs +6 -6
- package/esm2020/lib/components/popovers/popover-content/popover-content.directive.mjs +5 -5
- package/esm2020/lib/components/popovers/popover-menu/popover-menu.component.mjs +6 -6
- package/esm2020/lib/components/popovers/popover-ref.mjs +1 -1
- package/esm2020/lib/components/popovers/popover.models.mjs +7 -7
- package/esm2020/lib/components/popovers/popover.service.mjs +7 -7
- package/esm2020/lib/components/popovers/tooltip/tooltip.directive.mjs +8 -7
- package/esm2020/lib/components/progress/progress.component.mjs +5 -5
- package/esm2020/lib/components/scroll/scrollable.directive.mjs +5 -5
- package/esm2020/lib/components/search-input/search-input.component.mjs +8 -8
- package/esm2020/lib/components/sidebar-overlay/sidebar-overlay.component.mjs +59 -0
- package/esm2020/lib/components/snackbar/snackbar-container.component.mjs +7 -7
- package/esm2020/lib/components/snackbar/snackbar-container.directive.mjs +8 -8
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +5 -5
- package/esm2020/lib/components/snackbar/snackbar.models.mjs +1 -1
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +9 -10
- package/esm2020/lib/components/snackbar/snackbar.service.mjs +5 -5
- package/esm2020/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.mjs +5 -5
- package/esm2020/lib/components/stepper-horizontal/stepper-horizontal.component.mjs +7 -7
- package/esm2020/lib/components/stepper-vertical/step-vertical/step-vertical.component.mjs +5 -5
- package/esm2020/lib/components/stepper-vertical/stepper-vertical.component.mjs +7 -7
- package/esm2020/lib/components/table-header-cell/table-header-cell.directive.mjs +5 -5
- package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +7 -7
- package/esm2020/lib/components/tabs/tabs.component.mjs +10 -10
- package/esm2020/lib/directives/click-outside.directive.mjs +5 -5
- package/esm2020/lib/festo-angular.module.mjs +5 -5
- package/esm2020/lib/forms/checkbox/checkbox.component.mjs +7 -7
- package/esm2020/lib/forms/color-indicator/color-indicator.component.mjs +5 -5
- package/esm2020/lib/forms/color-picker/color-picker.component.mjs +7 -7
- package/esm2020/lib/forms/date-picker/date-picker.component.mjs +10 -10
- package/esm2020/lib/forms/date-range-picker/date-range-picker.component.mjs +9 -9
- package/esm2020/lib/forms/flatpickr/flatpickr.component.mjs +5 -5
- package/esm2020/lib/forms/forms.module.mjs +107 -127
- package/esm2020/lib/forms/radio/radio.component.mjs +18 -18
- package/esm2020/lib/forms/segment/segment-control/segment-control.component.mjs +13 -8
- package/esm2020/lib/forms/segment/segment.component.mjs +39 -14
- package/esm2020/lib/forms/select/chip-text.pipe.mjs +5 -5
- package/esm2020/lib/forms/select/select-option/select-option.component.mjs +5 -5
- package/esm2020/lib/forms/select/select.component.mjs +31 -23
- package/esm2020/lib/forms/slider/slider.component.mjs +7 -7
- package/esm2020/lib/forms/switch/switch.component.mjs +7 -7
- package/esm2020/lib/forms/text-area/text-area.component.mjs +7 -7
- package/esm2020/lib/forms/text-editor/text-editor.component.mjs +25 -27
- package/esm2020/lib/forms/text-input/text-input.component.mjs +13 -13
- package/esm2020/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.mjs +5 -5
- package/esm2020/lib/forms/time-picker/time-picker.component.mjs +9 -9
- package/esm2020/lib/forms/unique-selection-dispatcher.mjs +5 -5
- package/esm2020/lib/forms/value-accessor-base.mjs +5 -5
- package/esm2020/lib/modals/alert/alert.component.mjs +8 -7
- package/esm2020/lib/modals/confirm/confirm.component.mjs +8 -7
- package/esm2020/lib/modals/custom-modal/custom-modal.component.mjs +16 -7
- package/esm2020/lib/modals/image-gallery/image-gallery.component.mjs +7 -7
- package/esm2020/lib/modals/modal.service.mjs +13 -13
- package/esm2020/lib/modals/modals.module.mjs +11 -12
- package/esm2020/lib/modals/prompt/prompt.component.mjs +16 -8
- package/esm2020/lib/pipes/safe-html.pipe.mjs +6 -6
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/festo-ui-angular.mjs +1070 -972
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +1067 -972
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- 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 +7 -7
- 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 +3 -3
- package/lib/components/buttons/link-button/link-button.component.d.ts +3 -3
- package/lib/components/chips/chip/chip.component.d.ts +3 -3
- package/lib/components/chips/chip-container/chip-container.component.d.ts +3 -3
- package/lib/components/components.module.d.ts +36 -36
- 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 +9 -9
- package/lib/components/popovers/legend/legend.directive.d.ts +5 -5
- package/lib/components/popovers/popover/popover.component.d.ts +5 -5
- package/lib/components/popovers/popover-content/popover-content.component.d.ts +12 -12
- package/lib/components/popovers/popover-content/popover-content.directive.d.ts +5 -5
- package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +11 -11
- package/lib/components/popovers/popover-ref.d.ts +4 -4
- package/lib/components/popovers/popover.models.d.ts +15 -15
- 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/sidebar-overlay/sidebar-overlay.component.d.ts +25 -0
- package/lib/components/snackbar/snackbar-container.component.d.ts +5 -5
- package/lib/components/snackbar/snackbar-container.directive.d.ts +7 -7
- 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 +4 -5
- 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 +3 -3
- package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +5 -5
- package/lib/components/table-header-cell/table-header-cell.directive.d.ts +5 -5
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +3 -3
- package/lib/components/tabs/tabs.component.d.ts +18 -18
- package/lib/directives/click-outside.directive.d.ts +3 -3
- package/lib/festo-angular.module.d.ts +1 -1
- 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-picker.component.d.ts +3 -3
- package/lib/forms/date-picker/date-picker.component.d.ts +5 -5
- package/lib/forms/date-range-picker/date-range-picker.component.d.ts +5 -5
- package/lib/forms/flatpickr/flatpickr.component.d.ts +3 -3
- package/lib/forms/forms.module.d.ts +18 -23
- package/lib/forms/radio/radio.component.d.ts +15 -15
- package/lib/forms/segment/segment-control/segment-control.component.d.ts +5 -4
- package/lib/forms/segment/segment.component.d.ts +19 -10
- package/lib/forms/select/chip-text.pipe.d.ts +3 -3
- package/lib/forms/select/select-option/select-option.component.d.ts +3 -3
- package/lib/forms/select/select.component.d.ts +10 -8
- package/lib/forms/slider/slider.component.d.ts +3 -3
- package/lib/forms/switch/switch.component.d.ts +3 -3
- package/lib/forms/text-area/text-area.component.d.ts +3 -3
- package/lib/forms/text-editor/text-editor.component.d.ts +10 -9
- package/lib/forms/text-input/text-input.component.d.ts +9 -9
- package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +3 -3
- package/lib/forms/time-picker/time-picker.component.d.ts +5 -5
- package/lib/forms/unique-selection-dispatcher.d.ts +3 -3
- package/lib/forms/value-accessor-base.d.ts +3 -3
- package/lib/modals/alert/alert.component.d.ts +5 -5
- package/lib/modals/confirm/confirm.component.d.ts +5 -5
- package/lib/modals/custom-modal/custom-modal.component.d.ts +5 -3
- package/lib/modals/image-gallery/image-gallery.component.d.ts +9 -7
- package/lib/modals/modal.service.d.ts +11 -11
- package/lib/modals/modals.module.d.ts +7 -8
- package/lib/modals/prompt/prompt.component.d.ts +8 -5
- package/lib/pipes/safe-html.pipe.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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);
|
|
@@ -17,7 +17,7 @@ export declare class TimePickerComponent implements ControlValueAccessor {
|
|
|
17
17
|
protected innerRequired: boolean;
|
|
18
18
|
hint: string | undefined;
|
|
19
19
|
error: string | undefined;
|
|
20
|
-
options:
|
|
20
|
+
options: FngTimePickerOptions | undefined;
|
|
21
21
|
width: string;
|
|
22
22
|
display: string;
|
|
23
23
|
connector: ElementRef | undefined;
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type UniqueSelectionDispatcherListener = (id: string, name: string) => void;
|
|
4
|
-
export declare class
|
|
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.
|
|
@@ -15,6 +15,6 @@ export declare class UniqueSelectionDispatcher implements OnDestroy {
|
|
|
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,6 +1,6 @@
|
|
|
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
5
|
protected innerValue: T | undefined;
|
|
6
6
|
protected changed: ((value: T) => void)[];
|
|
@@ -12,6 +12,6 @@ export declare class ValueAccessorBaseDirective<T> implements ControlValueAccess
|
|
|
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,8 +10,8 @@ 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>;
|
|
@@ -21,6 +21,6 @@ export declare class AlertComponent implements AfterViewInit, Modal<AlertData, a
|
|
|
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
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, 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 FngConfirmData {
|
|
5
5
|
title: string;
|
|
6
6
|
subtitle?: string;
|
|
7
7
|
body: string;
|
|
@@ -9,9 +9,9 @@ export interface ConfirmData {
|
|
|
9
9
|
ok?: string;
|
|
10
10
|
large?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class FngConfirmComponent implements AfterViewInit, Modal<FngConfirmData, any> {
|
|
13
13
|
private cd;
|
|
14
|
-
data:
|
|
14
|
+
data: FngConfirmData;
|
|
15
15
|
close: EventEmitter<any>;
|
|
16
16
|
cancel: EventEmitter<any>;
|
|
17
17
|
ok: EventEmitter<any>;
|
|
@@ -22,6 +22,6 @@ export declare class ConfirmComponent implements AfterViewInit, Modal<ConfirmDat
|
|
|
22
22
|
onClose(): void;
|
|
23
23
|
onOk(): void;
|
|
24
24
|
onCancel(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngConfirmComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngConfirmComponent, "fng-confirm", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class FngCustomModalComponent {
|
|
4
4
|
closeOnBackdrop: boolean;
|
|
5
5
|
large: boolean;
|
|
6
6
|
visible: boolean;
|
|
@@ -11,11 +11,13 @@ export declare class CustomModalComponent {
|
|
|
11
11
|
acknowledge: EventEmitter<void>;
|
|
12
12
|
cancelLabel: string;
|
|
13
13
|
cancel: EventEmitter<void>;
|
|
14
|
+
close: EventEmitter<void>;
|
|
14
15
|
closeModal(): void;
|
|
16
|
+
onClose(): void;
|
|
15
17
|
onCancel(): void;
|
|
16
18
|
onAcknowledge(): void;
|
|
17
19
|
onClickOutside(): void;
|
|
18
20
|
onClickInside(event: MouseEvent): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngCustomModalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngCustomModalComponent, "fng-custom-modal", never, { "closeOnBackdrop": "closeOnBackdrop"; "large": "large"; "visible": "visible"; "header": "header"; "subheader": "subheader"; "acknowledgeLabel": "acknowledgeLabel"; "cancelLabel": "cancelLabel"; }, { "visibleChange": "visibleChange"; "acknowledge": "acknowledge"; "cancel": "cancel"; "close": "close"; }, never, ["*"], true, never>;
|
|
21
23
|
}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Modal } from '../modals.module';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export interface
|
|
4
|
+
export interface FngImageDescriptiveContent {
|
|
5
5
|
title: string;
|
|
6
6
|
body: string;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface FngImageGalleryData {
|
|
9
9
|
startIndex: number;
|
|
10
10
|
images: {
|
|
11
11
|
url: string;
|
|
12
12
|
alt: string;
|
|
13
|
-
content?:
|
|
13
|
+
content?: FngImageDescriptiveContent;
|
|
14
|
+
containMode?: boolean;
|
|
14
15
|
}[];
|
|
15
16
|
thumbnailImages?: {
|
|
16
17
|
url: string;
|
|
17
18
|
alt: string;
|
|
19
|
+
containMode?: boolean;
|
|
18
20
|
}[];
|
|
19
21
|
pagination?: boolean;
|
|
20
22
|
descriptiveContent?: boolean;
|
|
21
23
|
slideChanged?: (index: number) => void;
|
|
22
24
|
}
|
|
23
|
-
export declare class
|
|
25
|
+
export declare class FngImageGalleryComponent implements Modal<FngImageGalleryData, any> {
|
|
24
26
|
private cd;
|
|
25
|
-
data:
|
|
27
|
+
data: FngImageGalleryData;
|
|
26
28
|
close: EventEmitter<any>;
|
|
27
29
|
cancel: EventEmitter<any>;
|
|
28
30
|
ok: EventEmitter<any>;
|
|
@@ -34,6 +36,6 @@ export declare class ImageGalleryComponent implements Modal<ImageGalleryData, an
|
|
|
34
36
|
activeIndex: number;
|
|
35
37
|
}[]): void;
|
|
36
38
|
onClose(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngImageGalleryComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngImageGalleryComponent, "fng-image-gallery", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
39
41
|
}
|
|
@@ -2,21 +2,21 @@ import { Router } from '@angular/router';
|
|
|
2
2
|
import { Overlay } from '@angular/cdk/overlay';
|
|
3
3
|
import { ComponentType } from '@angular/cdk/portal';
|
|
4
4
|
import { Modal, ModalOptions, ModalResult } from './index';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { FngAlertData } from './alert/alert.component';
|
|
6
|
+
import { FngConfirmData } from './confirm/confirm.component';
|
|
7
|
+
import { FngPromptData } from './prompt/prompt.component';
|
|
8
|
+
import { FngImageGalleryData } from './image-gallery/image-gallery.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class FngModalService {
|
|
11
11
|
protected overlay: Overlay;
|
|
12
12
|
private router;
|
|
13
13
|
constructor(overlay: Overlay, router: Router);
|
|
14
|
-
alert(data:
|
|
15
|
-
confirm(data:
|
|
16
|
-
prompt(data:
|
|
17
|
-
openImageGallery(data:
|
|
14
|
+
alert(data: FngAlertData, options?: ModalOptions): Promise<ModalResult<any>>;
|
|
15
|
+
confirm(data: FngConfirmData, options?: ModalOptions): Promise<ModalResult<any>>;
|
|
16
|
+
prompt(data: FngPromptData, options?: ModalOptions): Promise<ModalResult<any>>;
|
|
17
|
+
openImageGallery(data: FngImageGalleryData): Promise<ModalResult<any>>;
|
|
18
18
|
open<TData, TResult, TModal extends Modal<TData, TResult>>(data: TData, modal: ComponentType<TModal>, options: ModalOptions): Promise<ModalResult<TResult>>;
|
|
19
19
|
private dispose;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngModalService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FngModalService>;
|
|
22
22
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
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 "./
|
|
7
|
-
import * as i6 from "./prompt/prompt.component";
|
|
8
|
-
import * as i7 from "./custom-modal/custom-modal.component";
|
|
2
|
+
import * as i1 from "./alert/alert.component";
|
|
3
|
+
import * as i2 from "./confirm/confirm.component";
|
|
4
|
+
import * as i3 from "./prompt/prompt.component";
|
|
5
|
+
import * as i4 from "./custom-modal/custom-modal.component";
|
|
6
|
+
import * as i5 from "./image-gallery/image-gallery.component";
|
|
9
7
|
export * from './index';
|
|
10
8
|
export * from './alert/alert.component';
|
|
11
9
|
export * from './confirm/confirm.component';
|
|
12
10
|
export * from './prompt/prompt.component';
|
|
13
11
|
export * from './custom-modal/custom-modal.component';
|
|
12
|
+
export * from './image-gallery/image-gallery.component';
|
|
14
13
|
export declare class FestoAngularModalsModule {
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModalsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, never, [typeof i1.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModalsModule, never, [typeof i1.FngAlertComponent, typeof i2.FngConfirmComponent, typeof i3.FngPromptComponent, typeof i4.FngCustomModalComponent, typeof i5.FngImageGalleryComponent], [typeof i1.FngAlertComponent, typeof i2.FngConfirmComponent, typeof i3.FngPromptComponent, typeof i4.FngCustomModalComponent, typeof i5.FngImageGalleryComponent]>;
|
|
17
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModalsModule>;
|
|
18
17
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControlOptions, AsyncValidatorFn, FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { Modal } from '../index';
|
|
4
|
+
import { FngTextInputComponent } from '../../forms/text-input/text-input.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface
|
|
6
|
+
export interface FngPromptData {
|
|
6
7
|
title: string;
|
|
7
8
|
subtitle?: string;
|
|
8
9
|
label: string;
|
|
@@ -13,16 +14,18 @@ export interface PromptData {
|
|
|
13
14
|
cancel?: string;
|
|
14
15
|
ok?: string;
|
|
15
16
|
value?: string;
|
|
17
|
+
placeholder?: string;
|
|
16
18
|
validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null;
|
|
17
19
|
asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null;
|
|
18
20
|
}
|
|
19
|
-
export declare class
|
|
21
|
+
export declare class FngPromptComponent implements OnInit, AfterViewInit, OnDestroy, Modal<FngPromptData, any> {
|
|
20
22
|
private formBuilder;
|
|
21
|
-
data:
|
|
23
|
+
data: FngPromptData;
|
|
22
24
|
close: EventEmitter<any>;
|
|
23
25
|
cancel: EventEmitter<any>;
|
|
24
26
|
ok: EventEmitter<any>;
|
|
25
27
|
closeBtn: ElementRef | undefined;
|
|
28
|
+
inputField: FngTextInputComponent | undefined;
|
|
26
29
|
form: FormGroup;
|
|
27
30
|
error: string;
|
|
28
31
|
get text(): string;
|
|
@@ -37,6 +40,6 @@ export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
37
40
|
onOk(): void;
|
|
38
41
|
onCancel(): void;
|
|
39
42
|
private handleErrors;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngPromptComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FngPromptComponent, "fng-prompt", never, { "data": "data"; }, { "close": "close"; "cancel": "cancel"; "ok": "ok"; }, never, never, true, never>;
|
|
42
45
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FngSafeHtmlPipe implements PipeTransform {
|
|
5
5
|
protected sanitizer: DomSanitizer;
|
|
6
6
|
constructor(sanitizer: DomSanitizer);
|
|
7
7
|
transform(value: any): SafeHtml;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FngSafeHtmlPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FngSafeHtmlPipe, "fngSafeHtml", true>;
|
|
10
10
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from './lib/forms/slider/slider.component';
|
|
|
57
57
|
export * from './lib/forms/switch/switch.component';
|
|
58
58
|
export * from './lib/forms/text-area/text-area.component';
|
|
59
59
|
export * from './lib/forms/text-editor/text-editor.component';
|
|
60
|
+
export * from './lib/components/sidebar-overlay/sidebar-overlay.component';
|
|
60
61
|
export * from './lib/directives/click-outside.directive';
|
|
61
62
|
export * from './lib/pipes/safe-html.pipe';
|
|
62
63
|
export * from './lib/festo-angular.module';
|