@flywheel-io/vision 2.0.0-beta.10 → 2.0.0-beta.12
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/components/menu/menu-container/menu-container.component.d.ts +26 -11
- package/components/menu/menu-item/menu-item.component.d.ts +5 -6
- package/components/menu/menu-sub-item/menu-sub-item.component.d.ts +1 -5
- package/components/menu/menu.component.d.ts +3 -23
- package/components/paginator/paginator.component.d.ts +5 -2
- package/components/select-menu/multi-select-menu/multi-select-menu.component.d.ts +38 -22
- package/components/select-menu/select-menu.module.d.ts +7 -6
- package/components/table/row.d.ts +2 -4
- package/components/text-input/text-input.component.d.ts +9 -6
- package/esm2022/components/alert/alert.component.mjs +3 -3
- package/esm2022/components/alert/alert.module.mjs +4 -4
- package/esm2022/components/app-icon/app-icon.component.mjs +3 -3
- package/esm2022/components/app-icon/app-icon.module.mjs +4 -4
- package/esm2022/components/avatar/avatar.component.mjs +3 -3
- package/esm2022/components/avatar/avatar.module.mjs +4 -4
- package/esm2022/components/badge/badge.component.mjs +5 -5
- package/esm2022/components/badge/badge.module.mjs +4 -4
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +4 -4
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/components/breadcrumbs/crumb.component.mjs +4 -4
- package/esm2022/components/button/button.component.mjs +4 -4
- package/esm2022/components/button/button.directives.mjs +21 -21
- package/esm2022/components/button/button.module.mjs +9 -9
- package/esm2022/components/button-group/button-group.component.mjs +5 -5
- package/esm2022/components/button-group/button-group.module.mjs +4 -4
- package/esm2022/components/button-toggle/button-toggle-item/button-toggle-item.component.mjs +5 -5
- package/esm2022/components/button-toggle/button-toggle.component.mjs +5 -5
- package/esm2022/components/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/components/card/card-attribute/card-attribute.component.mjs +3 -3
- package/esm2022/components/card/card-author/card-author.component.mjs +3 -3
- package/esm2022/components/card/card-content/card-content.component.mjs +3 -3
- package/esm2022/components/card/card-footer/card-footer.component.mjs +5 -5
- package/esm2022/components/card/card-header/card-header.component.mjs +3 -3
- package/esm2022/components/card/card.component.mjs +3 -3
- package/esm2022/components/card/card.module.mjs +4 -4
- package/esm2022/components/checkbox/checkbox.component.mjs +6 -6
- package/esm2022/components/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/components/chip/chip.component.mjs +4 -4
- package/esm2022/components/chip/chip.module.mjs +4 -4
- package/esm2022/components/contained-input/contained-input.component.mjs +4 -4
- package/esm2022/components/contained-input/contained-input.module.mjs +4 -4
- package/esm2022/components/date-input/date-input.component.mjs +6 -6
- package/esm2022/components/date-input/date-input.module.mjs +4 -4
- package/esm2022/components/dialog/dialog-actions.component.mjs +5 -5
- package/esm2022/components/dialog/dialog-confirm.component.mjs +6 -6
- package/esm2022/components/dialog/dialog-content.component.mjs +5 -5
- package/esm2022/components/dialog/dialog-header.component.mjs +5 -5
- package/esm2022/components/dialog/dialog-simple.component.mjs +6 -6
- package/esm2022/components/dialog/dialog.component.mjs +7 -7
- package/esm2022/components/dialog/dialog.service.mjs +5 -5
- package/esm2022/components/dialog/dialogs.module.mjs +4 -4
- package/esm2022/components/form-heading/form-heading.component.mjs +5 -5
- package/esm2022/components/form-heading/form-heading.module.mjs +4 -4
- package/esm2022/components/forms/validators.mjs +1 -1
- package/esm2022/components/icon/icon.component.mjs +5 -5
- package/esm2022/components/icon/icon.module.mjs +4 -4
- package/esm2022/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.module.mjs +4 -4
- package/esm2022/components/layouts/context/context.component.mjs +4 -4
- package/esm2022/components/layouts/grid/grid.component.mjs +6 -6
- package/esm2022/components/layouts/layout-group.component.mjs +4 -4
- package/esm2022/components/layouts/layouts.module.mjs +4 -4
- package/esm2022/components/layouts/panel/panel.component.mjs +3 -3
- package/esm2022/components/layouts/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/components/layouts/toolbar/toolbar.component.mjs +3 -3
- package/esm2022/components/menu/menu-close-triggers.directive.mjs +4 -4
- package/esm2022/components/menu/menu-container/menu-container.component.mjs +62 -26
- package/esm2022/components/menu/menu-header/menu-header.component.mjs +3 -3
- package/esm2022/components/menu/menu-item/menu-item.component.mjs +12 -14
- package/esm2022/components/menu/menu-item-group/menu-item-group.component.mjs +4 -4
- package/esm2022/components/menu/menu-separator/menu-separator.component.mjs +3 -3
- package/esm2022/components/menu/menu-sub-item/menu-sub-item.component.mjs +5 -11
- package/esm2022/components/menu/menu.component.mjs +8 -91
- package/esm2022/components/menu/menu.module.mjs +4 -4
- package/esm2022/components/navbar/navbar-header/navbar-header.component.mjs +3 -3
- package/esm2022/components/navbar/navbar-item/navbar-item.component.mjs +5 -5
- package/esm2022/components/navbar/navbar-sub-item/navbar-sub-item.component.mjs +5 -5
- package/esm2022/components/navbar/navbar.component.mjs +4 -4
- package/esm2022/components/navbar/navbar.module.mjs +4 -4
- package/esm2022/components/number-input/number-input.component.mjs +6 -6
- package/esm2022/components/number-input/number-input.module.mjs +4 -4
- package/esm2022/components/paginator/paginator-advanced/paginator-advanced.component.mjs +4 -4
- package/esm2022/components/paginator/paginator.component.mjs +18 -18
- package/esm2022/components/paginator/paginator.module.mjs +4 -4
- package/esm2022/components/phone-input/phone-input.component.mjs +6 -6
- package/esm2022/components/phone-input/phone-input.module.mjs +4 -4
- package/esm2022/components/popover/popover-panel/popover-panel.component.mjs +3 -3
- package/esm2022/components/popover/popover.component.mjs +4 -4
- package/esm2022/components/popover/popover.module.mjs +4 -4
- package/esm2022/components/progress/bar/bar.component.mjs +5 -5
- package/esm2022/components/progress/progress.module.mjs +4 -4
- package/esm2022/components/progress/spinner/spinner.component.mjs +5 -5
- package/esm2022/components/radio/radio-group.component.mjs +5 -5
- package/esm2022/components/radio/radio.component.mjs +4 -4
- package/esm2022/components/radio/radio.module.mjs +4 -4
- package/esm2022/components/section-heading/back-button/back-button.component.mjs +5 -5
- package/esm2022/components/section-heading/section-heading.component.mjs +5 -5
- package/esm2022/components/section-heading/section-heading.module.mjs +4 -4
- package/esm2022/components/section-heading/subsection-heading/subsection-heading.component.mjs +5 -5
- package/esm2022/components/select-menu/multi-select-menu/multi-select-menu.component.mjs +161 -183
- package/esm2022/components/select-menu/select-menu.component.mjs +6 -6
- package/esm2022/components/select-menu/select-menu.module.mjs +9 -5
- package/esm2022/components/shared/pipes/pipes.module.mjs +4 -4
- package/esm2022/components/shared/pipes/translate.pipe.mjs +5 -5
- package/esm2022/components/shared/pipes/trusthtml.pipe.mjs +4 -4
- package/esm2022/components/shared/services/menu-manager.service.mjs +4 -4
- package/esm2022/components/shared/translation.service.mjs +3 -3
- package/esm2022/components/snackbar/snackbar/snackbar.component.mjs +5 -5
- package/esm2022/components/snackbar/snackbar-container/snackbar-container.component.mjs +6 -6
- package/esm2022/components/snackbar/snackbar.module.mjs +4 -4
- package/esm2022/components/snackbar/snackbar.service.mjs +4 -4
- package/esm2022/components/stepper/step.component.mjs +7 -7
- package/esm2022/components/stepper/stepper.component.mjs +5 -5
- package/esm2022/components/stepper/stepper.module.mjs +4 -4
- package/esm2022/components/switch/switch.component.mjs +4 -4
- package/esm2022/components/switch/switch.module.mjs +4 -4
- package/esm2022/components/table/cell.mjs +21 -21
- package/esm2022/components/table/row.mjs +22 -28
- package/esm2022/components/table/table-dense.component.mjs +3 -3
- package/esm2022/components/table/table.component.mjs +3 -3
- package/esm2022/components/table/table.module.mjs +4 -4
- package/esm2022/components/tabs/tab/tab.component.mjs +4 -4
- package/esm2022/components/tabs/tab-panel/tab-panel.component.mjs +3 -3
- package/esm2022/components/tabs/tabs.component.mjs +4 -4
- package/esm2022/components/tabs/tabs.module.mjs +4 -4
- package/esm2022/components/text-input/text-input.component.mjs +30 -17
- package/esm2022/components/text-input/text-input.module.mjs +4 -4
- package/esm2022/components/textarea-input/textarea-input.component.mjs +3 -3
- package/esm2022/components/textarea-input/textarea-input.module.mjs +4 -4
- package/esm2022/components/tooltip/tooltip-panel/tooltip-panel.component.mjs +3 -3
- package/esm2022/components/tooltip/tooltip.component.mjs +4 -4
- package/esm2022/components/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/components/wrapped-input/wrapped-input.component.mjs +3 -3
- package/esm2022/components/wrapped-input/wrapped-input.module.mjs +4 -4
- package/esm2022/directives/menu-register.directive.mjs +6 -6
- package/fesm2022/flywheel-io-vision.mjs +784 -853
- package/fesm2022/flywheel-io-vision.mjs.map +1 -1
- package/flywheel-io-vision-2.0.0-beta.12.tgz +0 -0
- package/global.scss +1 -0
- package/package.json +5 -2
- package/styles.css +5 -0
- package/flywheel-io-vision-2.0.0-beta.10.tgz +0 -0
|
@@ -1,28 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import { FwTextInputComponent } from '../../text-input/text-input.component';
|
|
3
4
|
import { FwMenuComponent } from '../menu.component';
|
|
5
|
+
import { FwMenuItemComponent } from '../menu-item/menu-item.component';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
7
|
+
import * as i1 from "@angular/cdk/coercion";
|
|
8
|
+
export declare class FwMenuContainerComponent implements AfterViewInit {
|
|
6
9
|
private sanitizer;
|
|
7
10
|
width?: string;
|
|
8
11
|
maxHeight?: string;
|
|
9
12
|
minHeight?: string;
|
|
10
13
|
border?: 'none' | 'default';
|
|
11
14
|
shadow?: 'none' | 'small' | 'medium' | 'large' | 'extra-large' | 'inner';
|
|
12
|
-
showFilter
|
|
15
|
+
showFilter: boolean;
|
|
13
16
|
filterText?: string;
|
|
17
|
+
focusFilterOnMount: boolean;
|
|
14
18
|
offset?: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
emptyText: import("@angular/core").InputSignal<string>;
|
|
20
|
+
filteredMenuItems: FwMenuItemComponent[];
|
|
21
|
+
filteredMenuItemChange: import("@angular/core").OutputEmitterRef<FwMenuItemComponent[]>;
|
|
22
|
+
private defaultFilterFn;
|
|
23
|
+
filterFn: import("@angular/core").InputSignal<(filter: string, menuItems: FwMenuItemComponent[]) => FwMenuItemComponent[]>;
|
|
24
|
+
filterChanged: import("@angular/core").OutputEmitterRef<string>;
|
|
25
|
+
filterRef: FwTextInputComponent;
|
|
20
26
|
menu: FwMenuComponent;
|
|
27
|
+
additionalMenuItems: import("@angular/core").InputSignal<FwMenuItemComponent[]>;
|
|
28
|
+
childMenuItems: import("@angular/core").Signal<readonly FwMenuItemComponent[]>;
|
|
29
|
+
private combinedMenuItems;
|
|
30
|
+
keyHandler: (event: KeyboardEvent) => void;
|
|
21
31
|
get classes(): string;
|
|
22
32
|
get style(): SafeStyle;
|
|
23
33
|
constructor(sanitizer: DomSanitizer);
|
|
24
|
-
|
|
25
|
-
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
noResults: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
handleFilterClick(event: Event): void;
|
|
37
|
+
handleFilterInput(event: Event): void;
|
|
38
|
+
onFilterChange(filter: string): void;
|
|
26
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuContainerComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuContainerComponent, "fw-menu-container", never, { "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "border": { "alias": "border"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "filterText": { "alias": "filterText"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuContainerComponent, "fw-menu-container, fw-menu-filter", never, { "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "border": { "alias": "border"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "filterText": { "alias": "filterText"; "required": false; }; "focusFilterOnMount": { "alias": "focusFilterOnMount"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "filterFn": { "alias": "filterFn"; "required": false; "isSignal": true; }; "additionalMenuItems": { "alias": "additionalMenuItems"; "required": false; "isSignal": true; }; "keyHandler": { "alias": "keyHandler"; "required": false; }; }, { "filteredMenuItemChange": "filteredMenuItemChange"; "filterChanged": "filterChanged"; }, ["childMenuItems", "menu"], [".filter-content", "*", "custom-menu-items"], false, never>;
|
|
41
|
+
static ngAcceptInputType_showFilter: i1.BooleanInput;
|
|
42
|
+
static ngAcceptInputType_focusFilterOnMount: i1.BooleanInput;
|
|
28
43
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IconType } from '../../icon/icon.types';
|
|
3
3
|
import { FwMenuSubItemComponent } from '../menu-sub-item/menu-sub-item.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FwMenuItemComponent implements OnChanges, OnDestroy, AfterContentInit {
|
|
6
|
+
private elementRef;
|
|
6
7
|
value?: string;
|
|
7
8
|
size?: 'default' | 'compact';
|
|
8
9
|
title: string;
|
|
@@ -23,10 +24,8 @@ export declare class FwMenuItemComponent implements OnChanges, OnDestroy, AfterC
|
|
|
23
24
|
selected?: boolean;
|
|
24
25
|
subItems: QueryList<FwMenuSubItemComponent>;
|
|
25
26
|
private subscriptions;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
variant?: 'default' | 'modern' | 'button';
|
|
27
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
28
|
+
scrollIntoView(): void;
|
|
30
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
30
|
ngOnDestroy(): void;
|
|
32
31
|
ngAfterContentInit(): void;
|
|
@@ -34,5 +33,5 @@ export declare class FwMenuItemComponent implements OnChanges, OnDestroy, AfterC
|
|
|
34
33
|
toggleSubItemsView(): void;
|
|
35
34
|
handleClick(evt?: Event): void;
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuItemComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuItemComponent, "fw-menu-item", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "checkboxColor": { "alias": "checkboxColor"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "subItemsOpen": { "alias": "subItemsOpen"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; };
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuItemComponent, "fw-menu-item", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "checkboxColor": { "alias": "checkboxColor"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "subItemsOpen": { "alias": "subItemsOpen"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "click": "click"; }, ["subItems"], ["fw-avatar", "p", "fw-badge", "fw-icon", "fw-icon-button", "fw-menu-sub-item"], false, never>;
|
|
38
37
|
}
|
|
@@ -15,11 +15,7 @@ export declare class FwMenuSubItemComponent {
|
|
|
15
15
|
click: EventEmitter<string>;
|
|
16
16
|
focused?: boolean;
|
|
17
17
|
selected?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated please use fw-navbar-sub-item instead
|
|
20
|
-
*/
|
|
21
|
-
variant?: 'default' | 'modern' | 'button';
|
|
22
18
|
handleClick(evt?: Event): void;
|
|
23
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuSubItemComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuSubItemComponent, "fw-menu-sub-item", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; };
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuSubItemComponent, "fw-menu-sub-item", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "click": "click"; }, never, ["p", "fw-badge", "fw-icon", "fw-icon-button"], false, never>;
|
|
25
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { FwMenuItemComponent } from './menu-item/menu-item.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,40 +9,20 @@ export declare class FwMenuComponent implements ControlValueAccessor, OnChanges,
|
|
|
9
9
|
useCheckbox?: boolean;
|
|
10
10
|
value?: string | string[];
|
|
11
11
|
change: EventEmitter<string | string[]>;
|
|
12
|
-
filteredItemsChange: EventEmitter<FwMenuItemComponent[]>;
|
|
13
12
|
menuItems: QueryList<FwMenuItemComponent>;
|
|
14
13
|
menuContentWrapper: ElementRef;
|
|
15
|
-
private _filterText;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated please use fw-navbar instead
|
|
18
|
-
*/
|
|
19
|
-
variant?: 'default' | 'modern' | 'button';
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated please use fw-navbar instead
|
|
22
|
-
*/
|
|
23
|
-
collapsed?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated please use fw-navbar instead
|
|
26
|
-
*/
|
|
27
|
-
collapsedWidth?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated please use fw-navbar instead
|
|
30
|
-
*/
|
|
31
|
-
openWidth?: string;
|
|
32
|
-
noFilterResults: boolean;
|
|
33
14
|
onChange: (value: string | string[]) => void;
|
|
34
15
|
onTouched: () => void;
|
|
35
16
|
private subscriptions;
|
|
36
|
-
ngOnChanges(
|
|
17
|
+
ngOnChanges(): void;
|
|
37
18
|
ngOnDestroy(): void;
|
|
38
19
|
ngAfterContentInit(): void;
|
|
39
20
|
writeValue(value: string | string[]): void;
|
|
40
21
|
registerOnChange(fn: (value: string | string[]) => void): void;
|
|
41
22
|
registerOnTouched(fn: () => void): void;
|
|
42
23
|
setDisabledState?(isDisabled: boolean): void;
|
|
43
|
-
setFilter(filterText: string): void;
|
|
44
24
|
handleSelect(value: string): void;
|
|
45
25
|
updateLayout(): void;
|
|
46
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuComponent, "fw-menu", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "useCheckbox": { "alias": "useCheckbox"; "required": false; }; "value": { "alias": "value"; "required": false; };
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuComponent, "fw-menu", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "useCheckbox": { "alias": "useCheckbox"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; }, ["menuContentWrapper", "menuItems"], ["*"], false, never>;
|
|
48
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges, TrackByFunction } from '@angular/core';
|
|
2
2
|
import { FwPaginatorEvent } from './paginator.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface PaginationPage {
|
|
@@ -6,7 +6,7 @@ export interface PaginationPage {
|
|
|
6
6
|
number: number;
|
|
7
7
|
active: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare class FwPaginatorComponent {
|
|
9
|
+
export declare class FwPaginatorComponent implements OnChanges {
|
|
10
10
|
size: 'small' | 'medium' | 'large';
|
|
11
11
|
color: 'slate' | 'primary' | 'secondary';
|
|
12
12
|
shape: 'rounded' | 'circle';
|
|
@@ -23,6 +23,9 @@ export declare class FwPaginatorComponent {
|
|
|
23
23
|
alignment: 'start' | 'center' | 'end';
|
|
24
24
|
selectorTitle: string;
|
|
25
25
|
page: EventEmitter<FwPaginatorEvent>;
|
|
26
|
+
pages: PaginationPage[];
|
|
27
|
+
pagesTrackByFn: TrackByFunction<PaginationPage>;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
29
|
private buildPageEvent;
|
|
27
30
|
firstPage(): void;
|
|
28
31
|
lastPage(): void;
|
|
@@ -1,21 +1,33 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
1
2
|
import { CdkMenuTrigger } from '@angular/cdk/menu';
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter,
|
|
3
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList, WritableSignal } from '@angular/core';
|
|
3
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
5
|
import { FwMenuComponent } from '../../menu/menu.component';
|
|
6
|
+
import { FwMenuContainerComponent } from '../../menu/menu-container/menu-container.component';
|
|
5
7
|
import { FwMenuItemComponent } from '../../menu/menu-item/menu-item.component';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
9
|
+
/**
|
|
10
|
+
* FwMultiSelect a component for selecting multiple options
|
|
11
|
+
* @see [Storybook Docs](https://cdn.flywheel.io/docs/vision/master/?path=/docs/form-controls-multi-select--docs)
|
|
12
|
+
*/
|
|
13
|
+
export declare class FwMultiSelectMenuComponent implements ControlValueAccessor, AfterContentInit, OnDestroy {
|
|
8
14
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
15
|
+
private elementRef;
|
|
9
16
|
outsideClick(): void;
|
|
10
17
|
options: object[];
|
|
11
18
|
valueProperty?: string;
|
|
12
19
|
titleProperty?: string;
|
|
13
20
|
iconProperty?: string;
|
|
21
|
+
emptyText: string;
|
|
22
|
+
placeholder: string;
|
|
14
23
|
disabled?: boolean;
|
|
15
24
|
useCheckbox?: boolean;
|
|
16
25
|
closeOnSelect?: boolean;
|
|
17
|
-
filterItemsOnSelect?: boolean;
|
|
18
26
|
maxSelectedShown: number;
|
|
27
|
+
showClear: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
showFilter: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
29
|
+
showSelectionInfo: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
30
|
+
filterItemsOnSelect: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
19
31
|
width: string;
|
|
20
32
|
minHeight: string;
|
|
21
33
|
maxHeight: string;
|
|
@@ -23,44 +35,48 @@ export declare class FwMultiSelectMenuComponent implements ControlValueAccessor,
|
|
|
23
35
|
minOptionsHeight?: string;
|
|
24
36
|
maxOptionsHeight?: string;
|
|
25
37
|
size?: 'small' | 'medium' | 'large';
|
|
26
|
-
placeholder: string;
|
|
27
|
-
emptyText: string;
|
|
28
38
|
trigger: CdkMenuTrigger;
|
|
29
39
|
menu: FwMenuComponent;
|
|
40
|
+
menuFilter: import("@angular/core").Signal<FwMenuContainerComponent>;
|
|
30
41
|
renderedMenuItems: QueryList<FwMenuItemComponent>;
|
|
31
42
|
customMenuItems: QueryList<FwMenuItemComponent>;
|
|
32
|
-
|
|
43
|
+
createArray: (d: Iterable<unknown>) => unknown[];
|
|
44
|
+
selectedValues: Set<string>;
|
|
33
45
|
selectedOptions: object[];
|
|
34
|
-
|
|
46
|
+
displayedOptions: WritableSignal<FwMenuItemComponent[]>;
|
|
47
|
+
focusedIndex: WritableSignal<number>;
|
|
48
|
+
touched: boolean;
|
|
35
49
|
private subscriptions;
|
|
36
|
-
textInput: ElementRef<HTMLInputElement>;
|
|
37
|
-
textInitialInput: ElementRef<HTMLInputElement>;
|
|
38
|
-
change: EventEmitter<any>;
|
|
39
|
-
focused: number;
|
|
40
|
-
private touched;
|
|
41
50
|
private _isOpen;
|
|
51
|
+
change: EventEmitter<any>;
|
|
42
52
|
get value(): any[];
|
|
43
53
|
set value(newValue: any[]);
|
|
44
54
|
private _value;
|
|
45
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
55
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
56
|
+
tabIndex: number;
|
|
57
|
+
pointerEvents: string;
|
|
46
58
|
onChange: (value: any[]) => void;
|
|
47
59
|
onTouched: () => void;
|
|
48
60
|
registerOnChange(fn: (value: any[]) => void): void;
|
|
49
61
|
registerOnTouched(fn: () => void): void;
|
|
50
62
|
setDisabledState?(isDisabled: boolean): void;
|
|
51
63
|
writeValue(value: any[]): void;
|
|
52
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
53
64
|
ngOnDestroy(): void;
|
|
54
65
|
ngAfterContentInit(): void;
|
|
55
|
-
registerCustomMenuItems
|
|
66
|
+
private registerCustomMenuItems;
|
|
56
67
|
handleTouched(): void;
|
|
57
|
-
|
|
68
|
+
handleChipClose(chip: object): void;
|
|
58
69
|
handleChange(e: string[]): void;
|
|
59
|
-
|
|
60
|
-
updateValue(incomingValues: any[]
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
70
|
+
addValue(incoming: string): void;
|
|
71
|
+
updateValue(incomingValues: any[]): void;
|
|
72
|
+
customFilter: (filter: string, menuItems: FwMenuItemComponent[]) => FwMenuItemComponent[];
|
|
73
|
+
private moveFocused;
|
|
74
|
+
setFocusedIndex(item: unknown): void;
|
|
75
|
+
displayFocusIndicator: import("@angular/core").EffectRef;
|
|
76
|
+
private keyboardActionMap;
|
|
77
|
+
private closedTriggerKeyboardActionsMap;
|
|
78
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
79
|
+
private postSelectSideEffects;
|
|
64
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMultiSelectMenuComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMultiSelectMenuComponent, "fw-multi-select", never, { "options": { "alias": "options"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; "titleProperty": { "alias": "titleProperty"; "required": false; }; "iconProperty": { "alias": "iconProperty"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "useCheckbox": { "alias": "useCheckbox"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMultiSelectMenuComponent, "fw-multi-select", never, { "options": { "alias": "options"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; "titleProperty": { "alias": "titleProperty"; "required": false; }; "iconProperty": { "alias": "iconProperty"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "useCheckbox": { "alias": "useCheckbox"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "maxSelectedShown": { "alias": "maxSelectedShown"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "showFilter": { "alias": "showFilter"; "required": false; "isSignal": true; }; "showSelectionInfo": { "alias": "showSelectionInfo"; "required": false; "isSignal": true; }; "filterItemsOnSelect": { "alias": "filterItemsOnSelect"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "optionsWidth": { "alias": "optionsWidth"; "required": false; }; "minOptionsHeight": { "alias": "minOptionsHeight"; "required": false; }; "maxOptionsHeight": { "alias": "maxOptionsHeight"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; }, ["customMenuItems"], ["[fw-menu-item, fw-menu-separator, fw-menu-item-group, fw-menu-header]"], false, never>;
|
|
66
82
|
}
|
|
@@ -4,13 +4,14 @@ import * as i2 from "./select-menu.component";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@angular/cdk/menu";
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
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 "
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
8
|
+
import * as i7 from "../chip/chip.module";
|
|
9
|
+
import * as i8 from "../icon/icon.module";
|
|
10
|
+
import * as i9 from "../menu/menu.module";
|
|
11
|
+
import * as i10 from "../text-input/text-input.module";
|
|
12
|
+
import * as i11 from "../../directives/menu-register.directive";
|
|
12
13
|
export declare class FwSelectMenuModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwSelectMenuModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FwSelectMenuModule, [typeof i1.FwMultiSelectMenuComponent, typeof i2.FwSelectMenuComponent], [typeof i3.CommonModule, typeof i4.CdkMenuModule, typeof i5.FormsModule, typeof i6.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwSelectMenuModule, [typeof i1.FwMultiSelectMenuComponent, typeof i2.FwSelectMenuComponent], [typeof i3.CommonModule, typeof i4.CdkMenuModule, typeof i5.FormsModule, typeof i6.FwButtonModule, typeof i7.FwChipModule, typeof i8.FwIconModule, typeof i9.FwMenuModule, typeof i10.FwTextInputModule, typeof i11.MenuRegisterDirective], [typeof i1.FwMultiSelectMenuComponent, typeof i2.FwSelectMenuComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<FwSelectMenuModule>;
|
|
16
17
|
}
|
|
@@ -6,9 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class FwHeaderRowDef extends CdkHeaderRowDef {
|
|
8
8
|
columns: string[];
|
|
9
|
-
sticky: boolean;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwHeaderRowDef, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FwHeaderRowDef, "[fwHeaderRowDef]", never, { "columns": { "alias": "fwHeaderRowDef"; "required": false; };
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FwHeaderRowDef, "[fwHeaderRowDef]", never, { "columns": { "alias": "fwHeaderRowDef"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
11
|
}
|
|
13
12
|
/**
|
|
14
13
|
* Footer row definition for the fw-table.
|
|
@@ -16,9 +15,8 @@ export declare class FwHeaderRowDef extends CdkHeaderRowDef {
|
|
|
16
15
|
*/
|
|
17
16
|
export declare class FwFooterRowDef extends CdkFooterRowDef {
|
|
18
17
|
columns: string[];
|
|
19
|
-
sticky: boolean;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwFooterRowDef, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FwFooterRowDef, "[fwFooterRowDef]", never, { "columns": { "alias": "fwFooterRowDef"; "required": false; };
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FwFooterRowDef, "[fwFooterRowDef]", never, { "columns": { "alias": "fwFooterRowDef"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
20
|
}
|
|
23
21
|
/**
|
|
24
22
|
* Data row definition for the fw-table.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
3
|
import { IconType } from '../icon/icon.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,9 +6,7 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
useActionableIcons?: boolean;
|
|
8
8
|
leftIcon?: IconType;
|
|
9
|
-
leftIconAction?: EventEmitter<void>;
|
|
10
9
|
rightIcon?: string;
|
|
11
|
-
rightIconAction?: EventEmitter<void>;
|
|
12
10
|
prefix?: string;
|
|
13
11
|
context?: string;
|
|
14
12
|
/**
|
|
@@ -24,11 +22,15 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
|
|
|
24
22
|
size?: 'small' | 'medium' | 'large';
|
|
25
23
|
type?: string;
|
|
26
24
|
maxLength?: number;
|
|
27
|
-
autofocus?:
|
|
25
|
+
autofocus?: boolean;
|
|
28
26
|
autocomplete?: string;
|
|
27
|
+
value: string;
|
|
28
|
+
inputRef: ElementRef<HTMLInputElement>;
|
|
29
29
|
error?: boolean;
|
|
30
|
+
leftIconAction: EventEmitter<void>;
|
|
31
|
+
rightIconAction: EventEmitter<void>;
|
|
30
32
|
textInput: any;
|
|
31
|
-
|
|
33
|
+
width: string;
|
|
32
34
|
externalControl: FormControl;
|
|
33
35
|
onTouch: () => void;
|
|
34
36
|
onChange: (value: string) => void;
|
|
@@ -40,6 +42,7 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
|
|
|
40
42
|
blurHandler(): void;
|
|
41
43
|
onLeftIconClick(): void;
|
|
42
44
|
onRightIconClick(): void;
|
|
45
|
+
focus(): void;
|
|
43
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwTextInputComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwTextInputComponent, "fw-text-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "useActionableIcons": { "alias": "useActionableIcons"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "context": { "alias": "context"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "error": { "alias": "error"; "required": false; }; "
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwTextInputComponent, "fw-text-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "useActionableIcons": { "alias": "useActionableIcons"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "context": { "alias": "context"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "value": { "alias": "value"; "required": false; }; "error": { "alias": "error"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "leftIconAction": "leftIconAction"; "rightIconAction": "rightIconAction"; }, ["textInput"], ["input", "*"], false, never>;
|
|
45
48
|
}
|
|
@@ -10,10 +10,10 @@ export class FwAlertComponent {
|
|
|
10
10
|
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
11
11
|
this.close = new EventEmitter();
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwAlertComponent, selector: "fw-alert", inputs: { description: "description", icon: "icon", severity: "severity", title: "title", variant: "variant", showClose: "showClose" }, outputs: { close: "close" }, ngImport: i0, template: "<div [ngClass]=\"['fw-alert', variant, severity]\">\n <fw-icon *ngIf=\"icon\" class=\"fw-alert-icon\">{{ icon }}</fw-icon>\n <div class=\"fw-alert-text\">\n <h4 *ngIf=\"title\" class=\"vision-h4\">{{ title }}</h4>\n <p *ngIf=\"description\" class=\"vision-p2\">{{ description }}</p>\n <p class=\"vision-p2\">\n <ng-content></ng-content>\n </p>\n </div>\n <div class=\"close-icon\">\n <ng-content select=\"fw-button\"></ng-content>\n <fw-icon-button\n *ngIf=\"showClose\"\n icon=\"close\" size=\"small\"\n [color]=\"variant==='filled'?'overlay':severity\"\n (click)=\"close?close.emit():undefined\">\n </fw-icon-button>\n </div>\n</div>\n", styles: [".fw-alert{border-radius:8px;padding:6px 16px;display:flex;box-sizing:border-box;min-height:48px}.fw-alert .fw-alert-icon{padding:7px 12px 7px 0;align-items:flex-start;font-size:22px}.fw-alert .fw-alert-text{padding:6px 0;flex:1;display:flex;flex-direction:column;justify-items:center}.fw-alert h4{margin:3px 0;color:var(--typography-contrast)}.fw-alert p{margin:3px 0 0;color:inherit;font-size:12px;font-weight:400;line-height:16.8px}.fw-alert .close-icon{display:flex;align-items:flex-start;margin-left:16px;gap:16px;margin-top:4px;height:30px}.fw-alert .close-icon:empty{display:none}.fw-alert.standard.info{color:var(--primary-base);background-color:var(--primary-hover);border:1px solid var(--primary-border)}.fw-alert.standard.info h4{color:var(--primary-base)}.fw-alert.standard.warning{color:var(--orange-base);background-color:var(--orange-hover);border:1px solid var(--orange-border)}.fw-alert.standard.warning h4{color:var(--orange-base)}.fw-alert.standard.success{color:var(--green-base);background-color:var(--green-hover);border:1px solid var(--green-border)}.fw-alert.standard.success h4{color:var(--green-base)}.fw-alert.standard.error{color:var(--red-base);background-color:var(--red-hover);border:1px solid var(--red-border)}.fw-alert.standard.error h4{color:var(--red-base)}.fw-alert.outlined.info{color:var(--primary-base);border:1px solid var(--primary-base)}.fw-alert.outlined.info h4{color:var(--primary-base)}.fw-alert.outlined.warning{color:var(--orange-base);border:1px solid var(--orange-base)}.fw-alert.outlined.warning h4{color:var(--orange-base)}.fw-alert.outlined.success{color:var(--green-base);border:1px solid var(--green-base)}.fw-alert.outlined.success h4{color:var(--green-base)}.fw-alert.outlined.error{color:var(--red-base);border:1px solid var(--red-base)}.fw-alert.outlined.error h4{color:var(--red-base)}.fw-alert.filled.info{color:var(--typography-contrast);background-color:var(--primary-base)}.fw-alert.filled.warning{color:var(--typography-contrast);background-color:var(--orange-base)}.fw-alert.filled.success{color:var(--typography-contrast);background-color:var(--green-base)}.fw-alert.filled.error{color:var(--typography-contrast);background-color:var(--red-base)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FwIconComponent, selector: "fw-icon", inputs: ["size", "color"] }, { kind: "component", type: i3.FwIconButtonComponent, selector: "fw-icon-button", inputs: ["color", "icon", "size", "disabled", "selected"] }] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAlertComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'fw-alert', template: "<div [ngClass]=\"['fw-alert', variant, severity]\">\n <fw-icon *ngIf=\"icon\" class=\"fw-alert-icon\">{{ icon }}</fw-icon>\n <div class=\"fw-alert-text\">\n <h4 *ngIf=\"title\" class=\"vision-h4\">{{ title }}</h4>\n <p *ngIf=\"description\" class=\"vision-p2\">{{ description }}</p>\n <p class=\"vision-p2\">\n <ng-content></ng-content>\n </p>\n </div>\n <div class=\"close-icon\">\n <ng-content select=\"fw-button\"></ng-content>\n <fw-icon-button\n *ngIf=\"showClose\"\n icon=\"close\" size=\"small\"\n [color]=\"variant==='filled'?'overlay':severity\"\n (click)=\"close?close.emit():undefined\">\n </fw-icon-button>\n </div>\n</div>\n", styles: [".fw-alert{border-radius:8px;padding:6px 16px;display:flex;box-sizing:border-box;min-height:48px}.fw-alert .fw-alert-icon{padding:7px 12px 7px 0;align-items:flex-start;font-size:22px}.fw-alert .fw-alert-text{padding:6px 0;flex:1;display:flex;flex-direction:column;justify-items:center}.fw-alert h4{margin:3px 0;color:var(--typography-contrast)}.fw-alert p{margin:3px 0 0;color:inherit;font-size:12px;font-weight:400;line-height:16.8px}.fw-alert .close-icon{display:flex;align-items:flex-start;margin-left:16px;gap:16px;margin-top:4px;height:30px}.fw-alert .close-icon:empty{display:none}.fw-alert.standard.info{color:var(--primary-base);background-color:var(--primary-hover);border:1px solid var(--primary-border)}.fw-alert.standard.info h4{color:var(--primary-base)}.fw-alert.standard.warning{color:var(--orange-base);background-color:var(--orange-hover);border:1px solid var(--orange-border)}.fw-alert.standard.warning h4{color:var(--orange-base)}.fw-alert.standard.success{color:var(--green-base);background-color:var(--green-hover);border:1px solid var(--green-border)}.fw-alert.standard.success h4{color:var(--green-base)}.fw-alert.standard.error{color:var(--red-base);background-color:var(--red-hover);border:1px solid var(--red-border)}.fw-alert.standard.error h4{color:var(--red-base)}.fw-alert.outlined.info{color:var(--primary-base);border:1px solid var(--primary-base)}.fw-alert.outlined.info h4{color:var(--primary-base)}.fw-alert.outlined.warning{color:var(--orange-base);border:1px solid var(--orange-base)}.fw-alert.outlined.warning h4{color:var(--orange-base)}.fw-alert.outlined.success{color:var(--green-base);border:1px solid var(--green-base)}.fw-alert.outlined.success h4{color:var(--green-base)}.fw-alert.outlined.error{color:var(--red-base);border:1px solid var(--red-base)}.fw-alert.outlined.error h4{color:var(--red-base)}.fw-alert.filled.info{color:var(--typography-contrast);background-color:var(--primary-base)}.fw-alert.filled.warning{color:var(--typography-contrast);background-color:var(--orange-base)}.fw-alert.filled.success{color:var(--typography-contrast);background-color:var(--green-base)}.fw-alert.filled.error{color:var(--typography-contrast);background-color:var(--red-base)}\n"] }]
|
|
19
19
|
}], propDecorators: { description: [{
|
|
@@ -5,15 +5,15 @@ import { FwIconButtonModule } from '../icon-button/icon-button.module';
|
|
|
5
5
|
import { FwAlertComponent } from './alert.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class FwAlertModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FwAlertModule, declarations: [FwAlertComponent], imports: [CommonModule,
|
|
10
10
|
FwIconModule,
|
|
11
11
|
FwIconButtonModule], exports: [FwAlertComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAlertModule, imports: [CommonModule,
|
|
13
13
|
FwIconModule,
|
|
14
14
|
FwIconButtonModule] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAlertModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
imports: [
|
|
@@ -16,10 +16,10 @@ export class FwAppIconComponent {
|
|
|
16
16
|
get cssClass() {
|
|
17
17
|
return ['fw-app-icon', this.size, this.color, this.variant].join(' ');
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwAppIconComponent, selector: "fw-app-icon", inputs: { title: "title", icon: "icon", imageUrl: "imageUrl", color: "color", fontColor: "fontColor", size: "size", variant: "variant", badge: "badge", tabindex: "tabindex", locked: "locked", animated: "animated" }, host: { properties: { "tabindex": "this.tabindex", "class.locked": "this.locked", "class.animated": "this.animated", "role": "this.role", "class": "this.cssClass" } }, ngImport: i0, template: "<div class=\"icon-highlight\"></div>\n<div class=\"icon-wrapper\">\n <div class=\"app-badge\" *ngIf=\"badge\"><span>{{ badge }}</span></div>\n <div class=\"app-locked\" *ngIf=\"locked\">\n <fw-icon>lock</fw-icon>\n </div>\n <img *ngIf=\"imageUrl\" [src]=\"imageUrl\" alt=\"App Icon\">\n <fw-icon *ngIf=\"icon\" [ngClass]=\"fontColor\">{{ icon }}</fw-icon>\n</div>\n<p class=\"vision-p3\" *ngIf=\"title\">{{ title }}</p>\n", styles: [".vision-shadow-extra-large{box-shadow:0 8px 25px #0000001a}.vision-shadow-large{box-shadow:0 5px 15px #0000001a}.vision-shadow-medium,:host .app-locked{box-shadow:0 2px 5px #0000001a}.vision-shadow-small,:host .app-badge{box-shadow:0 1px 2px #0000000d}.vision-shadow-inner{box-shadow:0 2px 4px #00000014 inset}:host{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;outline:none}:host .icon-highlight{box-sizing:content-box;display:inline-flex;border:4px solid transparent;padding:2px;position:absolute;top:0}:host .icon-wrapper{display:inline-flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;position:relative;box-sizing:border-box;margin:6px}:host p{margin:0;line-height:16.8px;-webkit-user-select:none;user-select:none;display:inline-block;color:var(--typography-muted);text-align:center}:host .app-badge{min-width:18px;height:18px;border-radius:64px;background:var(--red-base);font-family:Inter,sans-serif;font-size:10px;font-weight:500;line-height:180%;letter-spacing:0;text-align:center;color:var(--typography-contrast);display:inline-flex;align-items:flex-start;justify-content:center;position:absolute;top:-8px;right:-8px;padding:0 6px;box-sizing:border-box;overflow:hidden;white-space:nowrap}:host .app-locked{width:21px;height:21px;border-radius:64px;background:var(--slate-base);font-size:15px;color:var(--typography-contrast);display:inline-flex;align-items:center;justify-content:center;position:absolute;top:-6px;right:-6px;overflow:hidden;white-space:nowrap}:host.primary .icon-wrapper{background-color:var(--primary-base)}:host.primary .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.primary .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.primary .icon-wrapper>fw-icon.transparent{color:transparent}:host.dark .icon-wrapper{background-color:var(--primary-dark)}:host.dark .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.dark .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.gradient .icon-wrapper{background:linear-gradient(23.3deg,#093af6 -22.41%,#1b68fa 41.03%,#b080fc 94.31%)}:host.gradient .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.gradient .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.light .icon-wrapper{background-color:var(--page-light);outline:1px solid var(--separations-base)}:host.light .icon-wrapper>fw-icon{background:linear-gradient(23.3deg,#093af6 -22.41%,#1b68fa 41.03%,#b080fc 94.31%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}:host.transparent .icon-wrapper{background-color:transparent;outline:1px solid transparent}:host.small .icon-highlight{border-radius:12px;width:24px;height:24px}:host.small .icon-wrapper{display:inline-flex;width:24px;height:24px;border-radius:6px;align-items:center;justify-content:center}:host.small .icon-wrapper>fw-icon{font-size:16px;width:16px;min-width:16px}:host.small .icon-wrapper img{height:24px;width:24px}:host.small .app-badge{min-width:8px;padding:0;width:8px;height:8px;border-radius:8px;text-indent:-9999px;top:-3px;right:-3px}:host.medium .icon-highlight{border-radius:14px;width:32px;height:32px}:host.medium .icon-wrapper{display:inline-flex;width:32px;height:32px;border-radius:8px;align-items:center;justify-content:center}:host.medium .icon-wrapper>fw-icon{font-size:20px;width:20px;min-width:20px}:host.medium .icon-wrapper img{height:32px;width:32px}:host.medium .app-badge{min-width:8px;padding:0;width:8px;height:8px;border-radius:8px;text-indent:-9999px;top:-3px;right:-3px}:host.large .icon-highlight{border-radius:18px;width:48px;height:48px}:host.large .icon-wrapper{display:inline-flex;width:48px;height:48px;border-radius:12px;align-items:center;justify-content:center}:host.large .icon-wrapper>fw-icon{font-size:32px;width:32px;min-width:32px}:host.large .icon-wrapper img{height:48px;width:48px}:host.extra-large .icon-highlight{border-radius:22px;width:64px;height:64px}:host.extra-large .icon-wrapper{display:inline-flex;width:64px;height:64px;border-radius:16px;align-items:center;justify-content:center}:host.extra-large .icon-wrapper>fw-icon{font-size:48px;width:48px;min-width:48px}:host.extra-large .icon-wrapper img{height:64px;width:64px}:host.extra-large p{max-width:64px}:host.interactive .icon-highlight{border:4px solid transparent}:host.hover .icon-highlight,:host:hover .icon-highlight{border:4px solid var(--primary-border)}@keyframes rubber-band{0%{transform:scale(.95)}20%{transform:scale(1.05)}32%{transform:scale(.95)}48%{transform:scale(1)}}:host.animated.hover .icon-highlight,:host.animated:hover .icon-highlight{animation:rubber-band .5s linear forwards;border:4px solid var(--primary-border)}:host.focused .icon-highlight,:host:focus .icon-highlight,:host.animated:focus .icon-highlight{border:4px solid var(--primary-base)}:host.focused p,:host:focus p,:host.animated:focus p{color:var(--typography-base)}:host.static .icon-highlight,:host.static:hover .icon-highlight,:host.static.animated:hover .icon-highlight{border:4px solid transparent}:host.locked{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FwIconComponent, selector: "fw-icon", inputs: ["size", "color"] }] }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'fw-app-icon', template: "<div class=\"icon-highlight\"></div>\n<div class=\"icon-wrapper\">\n <div class=\"app-badge\" *ngIf=\"badge\"><span>{{ badge }}</span></div>\n <div class=\"app-locked\" *ngIf=\"locked\">\n <fw-icon>lock</fw-icon>\n </div>\n <img *ngIf=\"imageUrl\" [src]=\"imageUrl\" alt=\"App Icon\">\n <fw-icon *ngIf=\"icon\" [ngClass]=\"fontColor\">{{ icon }}</fw-icon>\n</div>\n<p class=\"vision-p3\" *ngIf=\"title\">{{ title }}</p>\n", styles: [".vision-shadow-extra-large{box-shadow:0 8px 25px #0000001a}.vision-shadow-large{box-shadow:0 5px 15px #0000001a}.vision-shadow-medium,:host .app-locked{box-shadow:0 2px 5px #0000001a}.vision-shadow-small,:host .app-badge{box-shadow:0 1px 2px #0000000d}.vision-shadow-inner{box-shadow:0 2px 4px #00000014 inset}:host{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;outline:none}:host .icon-highlight{box-sizing:content-box;display:inline-flex;border:4px solid transparent;padding:2px;position:absolute;top:0}:host .icon-wrapper{display:inline-flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;position:relative;box-sizing:border-box;margin:6px}:host p{margin:0;line-height:16.8px;-webkit-user-select:none;user-select:none;display:inline-block;color:var(--typography-muted);text-align:center}:host .app-badge{min-width:18px;height:18px;border-radius:64px;background:var(--red-base);font-family:Inter,sans-serif;font-size:10px;font-weight:500;line-height:180%;letter-spacing:0;text-align:center;color:var(--typography-contrast);display:inline-flex;align-items:flex-start;justify-content:center;position:absolute;top:-8px;right:-8px;padding:0 6px;box-sizing:border-box;overflow:hidden;white-space:nowrap}:host .app-locked{width:21px;height:21px;border-radius:64px;background:var(--slate-base);font-size:15px;color:var(--typography-contrast);display:inline-flex;align-items:center;justify-content:center;position:absolute;top:-6px;right:-6px;overflow:hidden;white-space:nowrap}:host.primary .icon-wrapper{background-color:var(--primary-base)}:host.primary .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.primary .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.primary .icon-wrapper>fw-icon.transparent{color:transparent}:host.dark .icon-wrapper{background-color:var(--primary-dark)}:host.dark .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.dark .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.gradient .icon-wrapper{background:linear-gradient(23.3deg,#093af6 -22.41%,#1b68fa 41.03%,#b080fc 94.31%)}:host.gradient .icon-wrapper>fw-icon{color:var(--typography-contrast)}:host.gradient .icon-wrapper>fw-icon.base{color:var(--typography-base)}:host.light .icon-wrapper{background-color:var(--page-light);outline:1px solid var(--separations-base)}:host.light .icon-wrapper>fw-icon{background:linear-gradient(23.3deg,#093af6 -22.41%,#1b68fa 41.03%,#b080fc 94.31%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}:host.transparent .icon-wrapper{background-color:transparent;outline:1px solid transparent}:host.small .icon-highlight{border-radius:12px;width:24px;height:24px}:host.small .icon-wrapper{display:inline-flex;width:24px;height:24px;border-radius:6px;align-items:center;justify-content:center}:host.small .icon-wrapper>fw-icon{font-size:16px;width:16px;min-width:16px}:host.small .icon-wrapper img{height:24px;width:24px}:host.small .app-badge{min-width:8px;padding:0;width:8px;height:8px;border-radius:8px;text-indent:-9999px;top:-3px;right:-3px}:host.medium .icon-highlight{border-radius:14px;width:32px;height:32px}:host.medium .icon-wrapper{display:inline-flex;width:32px;height:32px;border-radius:8px;align-items:center;justify-content:center}:host.medium .icon-wrapper>fw-icon{font-size:20px;width:20px;min-width:20px}:host.medium .icon-wrapper img{height:32px;width:32px}:host.medium .app-badge{min-width:8px;padding:0;width:8px;height:8px;border-radius:8px;text-indent:-9999px;top:-3px;right:-3px}:host.large .icon-highlight{border-radius:18px;width:48px;height:48px}:host.large .icon-wrapper{display:inline-flex;width:48px;height:48px;border-radius:12px;align-items:center;justify-content:center}:host.large .icon-wrapper>fw-icon{font-size:32px;width:32px;min-width:32px}:host.large .icon-wrapper img{height:48px;width:48px}:host.extra-large .icon-highlight{border-radius:22px;width:64px;height:64px}:host.extra-large .icon-wrapper{display:inline-flex;width:64px;height:64px;border-radius:16px;align-items:center;justify-content:center}:host.extra-large .icon-wrapper>fw-icon{font-size:48px;width:48px;min-width:48px}:host.extra-large .icon-wrapper img{height:64px;width:64px}:host.extra-large p{max-width:64px}:host.interactive .icon-highlight{border:4px solid transparent}:host.hover .icon-highlight,:host:hover .icon-highlight{border:4px solid var(--primary-border)}@keyframes rubber-band{0%{transform:scale(.95)}20%{transform:scale(1.05)}32%{transform:scale(.95)}48%{transform:scale(1)}}:host.animated.hover .icon-highlight,:host.animated:hover .icon-highlight{animation:rubber-band .5s linear forwards;border:4px solid var(--primary-border)}:host.focused .icon-highlight,:host:focus .icon-highlight,:host.animated:focus .icon-highlight{border:4px solid var(--primary-base)}:host.focused p,:host:focus p,:host.animated:focus p{color:var(--typography-base)}:host.static .icon-highlight,:host.static:hover .icon-highlight,:host.static.animated:hover .icon-highlight{border:4px solid transparent}:host.locked{pointer-events:none}\n"] }]
|
|
25
25
|
}], propDecorators: { title: [{
|
|
@@ -4,13 +4,13 @@ import { FwIconModule } from '../icon/icon.module';
|
|
|
4
4
|
import { FwAppIconComponent } from './app-icon.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class FwAppIconModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconModule, declarations: [FwAppIconComponent], imports: [CommonModule,
|
|
9
9
|
FwIconModule], exports: [FwAppIconComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconModule, imports: [CommonModule,
|
|
11
11
|
FwIconModule] }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAppIconModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [
|
|
@@ -24,10 +24,10 @@ export class FwAvatarComponent {
|
|
|
24
24
|
errorImage() {
|
|
25
25
|
this.isImageBroken = true;
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwAvatarComponent, selector: "fw-avatar", inputs: { color: "color", variant: "variant", content: "content", size: "size", initial: "initial", imageUrl: "imageUrl", imageAltText: "imageAltText", icon: "icon" }, host: { properties: { "attr.class": "this.classes" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"content\">\n <div *ngSwitchCase=\"'image'\" [ngClass]=\"['avatar', 'avatar-' + color]\">\n <img\n *ngIf=\"!isImageBroken else displayInitial\"\n [src]=\"imageUrl\"\n [alt]=\"imageAltText\"\n (load)=\"loadImage()\"\n (error)=\"errorImage()\">\n </div>\n <div *ngSwitchCase=\"'icon'\" [ngClass]=\"['avatar', 'avatar-' +color]\">\n <ng-container *ngTemplateOutlet=\"displayIcon\"></ng-container>\n </div>\n <div *ngSwitchCase=\"'initial'\" [ngClass]=\"['avatar','avatar-' + color]\">\n <ng-container *ngTemplateOutlet=\"displayInitial\"></ng-container>\n </div>\n</ng-container>\n<ng-template #displayInitial>\n <span class=\"initial\" *ngIf=\"initial else displayIcon\">{{ initial }}</span>\n</ng-template>\n<ng-template #displayIcon>\n <fw-icon>{{ icon }}</fw-icon>\n</ng-template>\n", styles: [":host{display:block}:host .avatar{display:flex;flex-direction:row;justify-content:center;align-items:center;width:inherit;height:inherit;border-radius:inherit;font-size:inherit}:host .avatar fw-icon{color:var(--typography-contrast);font-size:inherit}:host .avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}:host .avatar .initial{font-family:Inter,sans-serif;font-style:normal;font-weight:500;color:var(--typography-contrast);font-size:inherit}:host.small{width:16px;height:16px;font-size:8px}:host.small .avatar fw-icon{font-size:12px}:host.medium{width:32px;height:32px;font-size:14px}:host.medium .avatar fw-icon{font-size:24px}:host.large{width:48px;height:48px;font-size:22px}:host.large .avatar fw-icon{font-size:32px}:host.x-large{width:96px;height:96px;font-size:36px}:host.x-large .avatar fw-icon{font-size:64px}:host.rounded.small{border-radius:4px}:host.rounded.medium{border-radius:8px}:host.rounded.large{border-radius:12px}:host.rounded.x-large{border-radius:16px}:host.circular{border-radius:64px}.avatar-primary{background:var(--primary-base)}.avatar-slate{background:var(--slate-medium)}.avatar-red{background:var(--red-base)}.avatar-light-slate{background:var(--slate-light)}.avatar-secondary{background:var(--secondary-base)}.avatar-warning{background:var(--orange-base)}.avatar-success{background:var(--green-base)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.FwIconComponent, selector: "fw-icon", inputs: ["size", "color"] }] }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'fw-avatar', template: "<ng-container [ngSwitch]=\"content\">\n <div *ngSwitchCase=\"'image'\" [ngClass]=\"['avatar', 'avatar-' + color]\">\n <img\n *ngIf=\"!isImageBroken else displayInitial\"\n [src]=\"imageUrl\"\n [alt]=\"imageAltText\"\n (load)=\"loadImage()\"\n (error)=\"errorImage()\">\n </div>\n <div *ngSwitchCase=\"'icon'\" [ngClass]=\"['avatar', 'avatar-' +color]\">\n <ng-container *ngTemplateOutlet=\"displayIcon\"></ng-container>\n </div>\n <div *ngSwitchCase=\"'initial'\" [ngClass]=\"['avatar','avatar-' + color]\">\n <ng-container *ngTemplateOutlet=\"displayInitial\"></ng-container>\n </div>\n</ng-container>\n<ng-template #displayInitial>\n <span class=\"initial\" *ngIf=\"initial else displayIcon\">{{ initial }}</span>\n</ng-template>\n<ng-template #displayIcon>\n <fw-icon>{{ icon }}</fw-icon>\n</ng-template>\n", styles: [":host{display:block}:host .avatar{display:flex;flex-direction:row;justify-content:center;align-items:center;width:inherit;height:inherit;border-radius:inherit;font-size:inherit}:host .avatar fw-icon{color:var(--typography-contrast);font-size:inherit}:host .avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}:host .avatar .initial{font-family:Inter,sans-serif;font-style:normal;font-weight:500;color:var(--typography-contrast);font-size:inherit}:host.small{width:16px;height:16px;font-size:8px}:host.small .avatar fw-icon{font-size:12px}:host.medium{width:32px;height:32px;font-size:14px}:host.medium .avatar fw-icon{font-size:24px}:host.large{width:48px;height:48px;font-size:22px}:host.large .avatar fw-icon{font-size:32px}:host.x-large{width:96px;height:96px;font-size:36px}:host.x-large .avatar fw-icon{font-size:64px}:host.rounded.small{border-radius:4px}:host.rounded.medium{border-radius:8px}:host.rounded.large{border-radius:12px}:host.rounded.x-large{border-radius:16px}:host.circular{border-radius:64px}.avatar-primary{background:var(--primary-base)}.avatar-slate{background:var(--slate-medium)}.avatar-red{background:var(--red-base)}.avatar-light-slate{background:var(--slate-light)}.avatar-secondary{background:var(--secondary-base)}.avatar-warning{background:var(--orange-base)}.avatar-success{background:var(--green-base)}\n"] }]
|
|
33
33
|
}], propDecorators: { classes: [{
|
|
@@ -4,13 +4,13 @@ import { FwIconModule } from '../icon/icon.module';
|
|
|
4
4
|
import { FwAvatarComponent } from './avatar.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class FwAvatarModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarModule, declarations: [FwAvatarComponent], imports: [CommonModule,
|
|
9
9
|
FwIconModule], exports: [FwAvatarComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarModule, imports: [CommonModule,
|
|
11
11
|
FwIconModule] }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwAvatarModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [
|