@flywheel-io/vision 1.0.3 → 1.1.0
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/alert/alert.component.d.ts +1 -1
- package/components/button-toggle/button-toggle-item/button-toggle-item.component.d.ts +18 -0
- package/components/button-toggle/button-toggle.component.d.ts +22 -0
- package/components/button-toggle/button-toggle.module.d.ts +10 -0
- package/components/card/card.component.d.ts +1 -1
- package/components/chip/chip.component.d.ts +2 -2
- package/components/dialog/dialog-confirm.component.d.ts +2 -2
- package/components/dialog/dialog-simple.component.d.ts +2 -2
- package/components/dialog/dialog.component.d.ts +1 -1
- package/components/legacy/notification/notification.module.d.ts +3 -4
- package/components/menu/menu.component.d.ts +3 -2
- package/components/paginator/paginator-advanced/paginator-advanced.component.d.ts +32 -0
- package/components/paginator/paginator.component.d.ts +40 -0
- package/components/paginator/paginator.model.d.ts +8 -0
- package/components/paginator/paginator.module.d.ts +14 -0
- package/components/select-menu/multi-select-menu/multi-select-menu.component.d.ts +13 -7
- package/components/select-menu/select-menu.component.d.ts +39 -8
- package/components/stepper/stepper.component.d.ts +1 -1
- package/components/switch/switch.component.d.ts +20 -0
- package/components/switch/switch.module.d.ts +8 -0
- package/components/tabs/tab/tab.component.d.ts +1 -1
- package/components/text-input/text-input.component.d.ts +4 -1
- package/esm2020/components/alert/alert.component.mjs +1 -1
- package/esm2020/components/button-toggle/button-toggle-item/button-toggle-item.component.mjs +49 -0
- package/esm2020/components/button-toggle/button-toggle.component.mjs +91 -0
- package/esm2020/components/button-toggle/button-toggle.module.mjs +33 -0
- package/esm2020/components/card/card.component.mjs +1 -1
- package/esm2020/components/chip/chip.component.mjs +1 -1
- package/esm2020/components/dialog/dialog-confirm.component.mjs +1 -1
- package/esm2020/components/dialog/dialog-simple.component.mjs +1 -1
- package/esm2020/components/dialog/dialog.component.mjs +1 -1
- package/esm2020/components/legacy/notification/notification-container/notification-container.component.mjs +4 -4
- package/esm2020/components/legacy/notification/notification.module.mjs +5 -9
- package/esm2020/components/menu/menu-container/menu-container.component.mjs +1 -1
- package/esm2020/components/menu/menu-item/menu-item.component.mjs +2 -2
- package/esm2020/components/menu/menu.component.mjs +8 -4
- package/esm2020/components/paginator/paginator-advanced/paginator-advanced.component.mjs +123 -0
- package/esm2020/components/paginator/paginator.component.mjs +133 -0
- package/esm2020/components/paginator/paginator.model.mjs +2 -0
- package/esm2020/components/paginator/paginator.module.mjs +49 -0
- package/esm2020/components/select-menu/multi-select-menu/multi-select-menu.component.mjs +59 -25
- package/esm2020/components/select-menu/select-menu.component.mjs +84 -21
- package/esm2020/components/snackbar/snackbar-container/snackbar-container.component.mjs +2 -2
- package/esm2020/components/stepper/step.component.mjs +2 -2
- package/esm2020/components/stepper/stepper.component.mjs +1 -1
- package/esm2020/components/switch/switch.component.mjs +54 -0
- package/esm2020/components/switch/switch.module.mjs +24 -0
- package/esm2020/components/tabs/tab/tab.component.mjs +1 -1
- package/esm2020/components/text-input/text-input.component.mjs +16 -5
- package/esm2020/components/tooltip/tooltip-panel/tooltip-panel.component.mjs +2 -2
- package/esm2020/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/public-api.mjs +9 -1
- package/fesm2015/flywheel-io-vision.mjs +889 -309
- package/fesm2015/flywheel-io-vision.mjs.map +1 -1
- package/fesm2020/flywheel-io-vision.mjs +889 -309
- package/fesm2020/flywheel-io-vision.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
- package/scss/icons/icons.scss +1 -2
- package/components/button-group/button-group.component.d.ts +0 -8
- package/components/button-group/button-group.module.d.ts +0 -7
- package/esm2020/components/button-group/button-group.component.mjs +0 -32
- package/esm2020/components/button-group/button-group.module.mjs +0 -20
|
@@ -7,7 +7,7 @@ export declare class FwAlertComponent {
|
|
|
7
7
|
title?: string;
|
|
8
8
|
variant?: 'standard' | 'outlined' | 'filled';
|
|
9
9
|
showClose?: boolean;
|
|
10
|
-
close
|
|
10
|
+
close: EventEmitter<void>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwAlertComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FwAlertComponent, "fw-alert", never, { "description": "description"; "icon": "icon"; "severity": "severity"; "title": "title"; "variant": "variant"; "showClose": "showClose"; }, { "close": "close"; }, never, ["*", "fw-button"], false>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FwButtonToggleItemComponent {
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
value: string;
|
|
7
|
+
selected: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
size?: 'small' | 'medium' | 'large';
|
|
10
|
+
color?: 'primary' | 'secondary' | 'danger' | 'slate' | 'skeleton' | 'warning' | 'success';
|
|
11
|
+
selectedColor?: 'primary' | 'secondary' | 'danger' | 'slate' | 'skeleton' | 'warning' | 'success';
|
|
12
|
+
click: EventEmitter<string>;
|
|
13
|
+
get classes(): string;
|
|
14
|
+
constructor();
|
|
15
|
+
handleClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonToggleItemComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwButtonToggleItemComponent, "fw-button-toggle-item", never, { "title": "title"; "icon": "icon"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "size": "size"; "color": "color"; "selectedColor": "selectedColor"; }, { "click": "click"; }, never, never, false>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FwButtonToggleItemComponent } from './button-toggle-item/button-toggle-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FwButtonToggleComponent implements OnChanges, OnDestroy, AfterContentInit {
|
|
5
|
+
private cdref;
|
|
6
|
+
get classes(): string;
|
|
7
|
+
layout?: 'basic' | 'compact';
|
|
8
|
+
size?: 'small' | 'medium' | 'large';
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
value?: string | string[];
|
|
11
|
+
color?: 'primary' | 'secondary' | 'danger' | 'slate' | 'skeleton' | 'warning' | 'success';
|
|
12
|
+
selectedColor?: 'primary' | 'secondary' | 'danger' | 'slate' | 'skeleton' | 'warning' | 'success';
|
|
13
|
+
toggleButtons: QueryList<FwButtonToggleItemComponent>;
|
|
14
|
+
private subscriptions;
|
|
15
|
+
constructor(cdref: ChangeDetectorRef);
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
ngAfterContentInit(): void;
|
|
19
|
+
formatToggles(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonToggleComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwButtonToggleComponent, "fw-button-toggle", never, { "layout": "layout"; "size": "size"; "multiple": "multiple"; "value": "value"; "color": "color"; "selectedColor": "selectedColor"; }, {}, ["toggleButtons"], ["fw-button-toggle-item"], false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button-toggle.component";
|
|
3
|
+
import * as i2 from "./button-toggle-item/button-toggle-item.component";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
export declare class FwButtonToggleModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwButtonToggleModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwButtonToggleModule, [typeof i1.FwButtonToggleComponent, typeof i2.FwButtonToggleItemComponent], [typeof i3.FwButtonModule, typeof i4.FwIconModule], [typeof i1.FwButtonToggleComponent, typeof i2.FwButtonToggleItemComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FwButtonToggleModule>;
|
|
10
|
+
}
|
|
@@ -6,7 +6,7 @@ export declare class FwCardComponent {
|
|
|
6
6
|
focused?: boolean;
|
|
7
7
|
constrained?: boolean;
|
|
8
8
|
selectable?: boolean;
|
|
9
|
-
select
|
|
9
|
+
select: EventEmitter<object | string>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwCardComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<FwCardComponent, "fw-card", never, { "value": "value"; "disabled": "disabled"; "focused": "focused"; "constrained": "constrained"; "selectable": "selectable"; }, { "select": "select"; }, never, ["fw-card-header", "fw-card-author", "fw-card-content", "fw-card-footer"], false>;
|
|
12
12
|
}
|
|
@@ -11,8 +11,8 @@ export declare class FwChipComponent {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
selected?: boolean;
|
|
13
13
|
selectable?: boolean;
|
|
14
|
-
close
|
|
15
|
-
select
|
|
14
|
+
close: EventEmitter<void>;
|
|
15
|
+
select: EventEmitter<object | string>;
|
|
16
16
|
handleClose(event: MouseEvent): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwChipComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<FwChipComponent, "fw-chip", never, { "value": "value"; "variant": "variant"; "color": "color"; "icon": "icon"; "title": "title"; "description": "description"; "showClose": "showClose"; "disabled": "disabled"; "selected": "selected"; "selectable": "selectable"; }, { "close": "close"; "select": "select"; }, never, ["fw-avatar"], false>;
|
|
@@ -12,8 +12,8 @@ export declare class FwDialogConfirmComponent {
|
|
|
12
12
|
contentIcon?: string;
|
|
13
13
|
contentTitle?: string;
|
|
14
14
|
contentText?: string;
|
|
15
|
-
close
|
|
16
|
-
confirm
|
|
15
|
+
close: EventEmitter<void>;
|
|
16
|
+
confirm: EventEmitter<void>;
|
|
17
17
|
protected readonly DialogWidth: typeof DialogWidth;
|
|
18
18
|
constructor(dialogRef: DialogRef);
|
|
19
19
|
handleCloseButton(): void;
|
|
@@ -10,8 +10,8 @@ export declare class FwDialogSimpleComponent {
|
|
|
10
10
|
actionButtonText?: string;
|
|
11
11
|
cancelButtonText?: string;
|
|
12
12
|
contentText?: string;
|
|
13
|
-
close
|
|
14
|
-
action
|
|
13
|
+
close: EventEmitter<void>;
|
|
14
|
+
action: EventEmitter<void>;
|
|
15
15
|
constructor(dialogRef: DialogRef);
|
|
16
16
|
handleCloseButton(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogSimpleComponent, [{ optional: true; }]>;
|
|
@@ -14,7 +14,7 @@ export declare class FwDialogComponent {
|
|
|
14
14
|
width?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
|
|
15
15
|
title?: string;
|
|
16
16
|
showClose?: boolean;
|
|
17
|
-
close
|
|
17
|
+
close: EventEmitter<void>;
|
|
18
18
|
constructor(dialogRef: DialogRef);
|
|
19
19
|
get classes(): string;
|
|
20
20
|
protected handleCloseButton(): void;
|
|
@@ -3,11 +3,10 @@ import * as i1 from "./notification/notification.component";
|
|
|
3
3
|
import * as i2 from "./notification-container/notification-container.component";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "../../button/button.module";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@angular/material/icon";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "../../icon/icon.module";
|
|
9
8
|
export declare class FwNotificationModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwNotificationModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FwNotificationModule, [typeof i1.FwNotificationComponent, typeof i2.FwNotificationContainerComponent], [typeof i3.CommonModule, typeof i4.FwButtonModule, typeof i5.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwNotificationModule, [typeof i1.FwNotificationComponent, typeof i2.FwNotificationContainerComponent], [typeof i3.CommonModule, typeof i4.FwButtonModule, typeof i5.MatButtonModule, typeof i6.FwIconModule], [typeof i1.FwNotificationComponent, typeof i2.FwNotificationContainerComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FwNotificationModule>;
|
|
13
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } 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";
|
|
@@ -12,6 +12,7 @@ export declare class FwMenuComponent implements ControlValueAccessor, OnChanges,
|
|
|
12
12
|
openWidth?: string;
|
|
13
13
|
collapsedWidth?: string;
|
|
14
14
|
value?: string | string[];
|
|
15
|
+
change: EventEmitter<string | string[]>;
|
|
15
16
|
menuItems: QueryList<FwMenuItemComponent>;
|
|
16
17
|
private _filterText;
|
|
17
18
|
onChange: (value: string | string[]) => void;
|
|
@@ -28,5 +29,5 @@ export declare class FwMenuComponent implements ControlValueAccessor, OnChanges,
|
|
|
28
29
|
handleSelect(value: string): void;
|
|
29
30
|
updateLayout(): void;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMenuComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuComponent, "fw-menu", never, { "disabled": "disabled"; "size": "size"; "variant": "variant"; "collapsed": "collapsed"; "multiSelect": "multiSelect"; "useCheckbox": "useCheckbox"; "openWidth": "openWidth"; "collapsedWidth": "collapsedWidth"; "value": "value"; }, {}, ["menuItems"], ["*"], false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMenuComponent, "fw-menu", never, { "disabled": "disabled"; "size": "size"; "variant": "variant"; "collapsed": "collapsed"; "multiSelect": "multiSelect"; "useCheckbox": "useCheckbox"; "openWidth": "openWidth"; "collapsedWidth": "collapsedWidth"; "value": "value"; }, { "change": "change"; }, ["menuItems"], ["*"], false>;
|
|
32
33
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FwPaginatorEvent } from '../paginator.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FwPaginatorAdvancedComponent {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
showNext: boolean;
|
|
7
|
+
showPrevious: boolean;
|
|
8
|
+
showFirst: boolean;
|
|
9
|
+
showLast: boolean;
|
|
10
|
+
pageIndex: number;
|
|
11
|
+
pageSizeOptions: number[];
|
|
12
|
+
length: number;
|
|
13
|
+
alignment: 'start' | 'center' | 'end';
|
|
14
|
+
selectorTitle: string;
|
|
15
|
+
get pageSize(): number;
|
|
16
|
+
set pageSize(newSize: number);
|
|
17
|
+
private _pageSize;
|
|
18
|
+
page: EventEmitter<FwPaginatorEvent>;
|
|
19
|
+
private buildPageEvent;
|
|
20
|
+
firstPage(): void;
|
|
21
|
+
lastPage(): void;
|
|
22
|
+
nextPage(): void;
|
|
23
|
+
previousPage(): void;
|
|
24
|
+
setPage(pageNumber: number): void;
|
|
25
|
+
getNumberOfPages(): number;
|
|
26
|
+
getRowIndexStart(pageIndex?: number): number;
|
|
27
|
+
getRowIndexEnd(pageIndex?: number): number;
|
|
28
|
+
hasNextPage(): boolean;
|
|
29
|
+
hasPreviousPage(): boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwPaginatorAdvancedComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwPaginatorAdvancedComponent, "fw-paginator-advanced", never, { "disabled": "disabled"; "showNext": "showNext"; "showPrevious": "showPrevious"; "showFirst": "showFirst"; "showLast": "showLast"; "pageIndex": "pageIndex"; "pageSizeOptions": "pageSizeOptions"; "length": "length"; "alignment": "alignment"; "selectorTitle": "selectorTitle"; "pageSize": "pageSize"; }, { "page": "page"; }, never, never, false>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FwPaginatorEvent } from './paginator.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface PaginationPage {
|
|
5
|
+
pageIndex: number;
|
|
6
|
+
number: number;
|
|
7
|
+
active: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class FwPaginatorComponent {
|
|
10
|
+
size: 'small' | 'medium' | 'large';
|
|
11
|
+
color: 'slate' | 'primary' | 'secondary';
|
|
12
|
+
shape: 'rounded' | 'circle';
|
|
13
|
+
variant: 'ghost' | 'outline' | 'solid';
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
showNext: boolean;
|
|
16
|
+
showPrevious: boolean;
|
|
17
|
+
showFirst: boolean;
|
|
18
|
+
showLast: boolean;
|
|
19
|
+
pageIndex: number;
|
|
20
|
+
pageSize: number;
|
|
21
|
+
maxPagesShown: number;
|
|
22
|
+
length: number;
|
|
23
|
+
alignment: 'start' | 'center' | 'end';
|
|
24
|
+
selectorTitle: string;
|
|
25
|
+
page: EventEmitter<FwPaginatorEvent>;
|
|
26
|
+
private buildPageEvent;
|
|
27
|
+
firstPage(): void;
|
|
28
|
+
lastPage(): void;
|
|
29
|
+
nextPage(): void;
|
|
30
|
+
previousPage(): void;
|
|
31
|
+
setPage(pageIndex: number): void;
|
|
32
|
+
getPages(): PaginationPage[];
|
|
33
|
+
getNumberOfPages(): number;
|
|
34
|
+
getRowIndexStart(pageIndex?: number): number;
|
|
35
|
+
getRowIndexEnd(pageIndex?: number): number;
|
|
36
|
+
hasNextPage(): boolean;
|
|
37
|
+
hasPreviousPage(): boolean;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwPaginatorComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwPaginatorComponent, "fw-paginator", never, { "size": "size"; "color": "color"; "shape": "shape"; "variant": "variant"; "disabled": "disabled"; "showNext": "showNext"; "showPrevious": "showPrevious"; "showFirst": "showFirst"; "showLast": "showLast"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "maxPagesShown": "maxPagesShown"; "length": "length"; "alignment": "alignment"; "selectorTitle": "selectorTitle"; }, { "page": "page"; }, never, never, false>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./paginator.component";
|
|
3
|
+
import * as i2 from "./paginator-advanced/paginator-advanced.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../icon-button/icon-button.module";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
import * as i7 from "../menu/menu.module";
|
|
9
|
+
import * as i8 from "../select-menu/select-menu.module";
|
|
10
|
+
export declare class FwPaginatorModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwPaginatorModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwPaginatorModule, [typeof i1.FwPaginatorComponent, typeof i2.FwPaginatorAdvancedComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.FwIconButtonModule, typeof i6.FwIconModule, typeof i7.FwMenuModule, typeof i8.FwSelectMenuModule], [typeof i1.FwPaginatorComponent, typeof i2.FwPaginatorAdvancedComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FwPaginatorModule>;
|
|
14
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CdkMenuTrigger } from '@angular/cdk/menu';
|
|
2
|
-
import { AfterContentInit, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { FwMenuComponent } from '../../menu/menu.component';
|
|
5
5
|
import { FwMenuItemComponent } from '../../menu/menu-item/menu-item.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FwMultiSelectMenuComponent implements ControlValueAccessor, AfterContentInit, OnChanges, OnDestroy {
|
|
8
|
+
protected _changeDetectorRef: ChangeDetectorRef;
|
|
8
9
|
options: object[];
|
|
9
10
|
valueProperty?: string;
|
|
10
11
|
titleProperty?: string;
|
|
@@ -24,20 +25,25 @@ export declare class FwMultiSelectMenuComponent implements ControlValueAccessor,
|
|
|
24
25
|
menu: FwMenuComponent;
|
|
25
26
|
renderedMenuItems: QueryList<FwMenuItemComponent>;
|
|
26
27
|
menuItems: QueryList<FwMenuItemComponent>;
|
|
27
|
-
value: object[];
|
|
28
28
|
selectedValues: string[];
|
|
29
|
+
selectedOptions: object[];
|
|
29
30
|
filteredOptions: object[];
|
|
30
31
|
private subscriptions;
|
|
31
32
|
textInput: ElementRef<HTMLInputElement>;
|
|
32
33
|
textInitialInput: ElementRef<HTMLInputElement>;
|
|
33
34
|
focused: number;
|
|
34
35
|
private touched;
|
|
35
|
-
|
|
36
|
+
get value(): any[];
|
|
37
|
+
set value(newValue: any[]);
|
|
38
|
+
private _value;
|
|
39
|
+
private _valueType;
|
|
40
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
41
|
+
onChange: (value: any[]) => void;
|
|
36
42
|
onTouched: () => void;
|
|
37
|
-
registerOnChange(fn: (value:
|
|
43
|
+
registerOnChange(fn: (value: any[]) => void): void;
|
|
38
44
|
registerOnTouched(fn: () => void): void;
|
|
39
45
|
setDisabledState?(isDisabled: boolean): void;
|
|
40
|
-
writeValue(value:
|
|
46
|
+
writeValue(value: any[]): void;
|
|
41
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
42
48
|
ngOnDestroy(): void;
|
|
43
49
|
ngAfterContentInit(): void;
|
|
@@ -45,10 +51,10 @@ export declare class FwMultiSelectMenuComponent implements ControlValueAccessor,
|
|
|
45
51
|
handleClose(chip: object): void;
|
|
46
52
|
handleClick(e: string[]): void;
|
|
47
53
|
updateFilteredItems(): void;
|
|
48
|
-
updateValue(value:
|
|
54
|
+
updateValue(value: any[]): void;
|
|
49
55
|
moveFocused(direction: string): void;
|
|
50
56
|
handleKeyDown(event: KeyboardEvent): void;
|
|
51
57
|
handleKeyUp(event: KeyboardEvent): void;
|
|
52
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwMultiSelectMenuComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwMultiSelectMenuComponent, "fw-multi-select", never, { "options": "options"; "valueProperty": "valueProperty"; "titleProperty": "titleProperty"; "iconProperty": "iconProperty"; "disabled": "disabled"; "useCheckbox": "useCheckbox"; "closeOnSelect": "closeOnSelect"; "filterItemsOnSelect": "filterItemsOnSelect"; "maxSelectedShown": "maxSelectedShown"; "width": "width"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "optionsWidth": "optionsWidth"; "maxOptionsHeight": "maxOptionsHeight"; "placeholder": "placeholder"; }, {}, ["menuItems"], ["[fw-menu-item, fw-menu-separator]"], false>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwMultiSelectMenuComponent, "fw-multi-select", never, { "options": "options"; "valueProperty": "valueProperty"; "titleProperty": "titleProperty"; "iconProperty": "iconProperty"; "disabled": "disabled"; "useCheckbox": "useCheckbox"; "closeOnSelect": "closeOnSelect"; "filterItemsOnSelect": "filterItemsOnSelect"; "maxSelectedShown": "maxSelectedShown"; "width": "width"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "optionsWidth": "optionsWidth"; "maxOptionsHeight": "maxOptionsHeight"; "placeholder": "placeholder"; "value": "value"; }, {}, ["menuItems"], ["[fw-menu-item, fw-menu-separator]"], false>;
|
|
54
60
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CdkMenuTrigger } from '@angular/cdk/menu';
|
|
2
|
-
import { AfterContentInit, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { FwMenuComponent } from '../menu/menu.component';
|
|
5
5
|
import { FwMenuItemComponent } from '../menu/menu-item/menu-item.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FwSelectMenuComponent implements ControlValueAccessor, AfterContentInit, OnDestroy {
|
|
8
|
+
protected _changeDetectorRef: ChangeDetectorRef;
|
|
8
9
|
options: object[];
|
|
9
10
|
valueProperty?: string;
|
|
10
11
|
titleProperty?: string;
|
|
@@ -18,21 +19,51 @@ export declare class FwSelectMenuComponent implements ControlValueAccessor, Afte
|
|
|
18
19
|
trigger: CdkMenuTrigger;
|
|
19
20
|
menu: FwMenuComponent;
|
|
20
21
|
menuItems: QueryList<FwMenuItemComponent>;
|
|
21
|
-
value: object;
|
|
22
22
|
selectValue: string;
|
|
23
23
|
selectTitle: string;
|
|
24
24
|
selectIcon: string;
|
|
25
25
|
private subscriptions;
|
|
26
|
-
|
|
26
|
+
get value(): any;
|
|
27
|
+
set value(newValue: any);
|
|
28
|
+
private _value;
|
|
29
|
+
private _valueType;
|
|
30
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
31
|
+
onChange: (value: any) => void;
|
|
27
32
|
onTouched: () => void;
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Saves a callback function to be invoked when the select's value
|
|
35
|
+
* changes from user input. Part of the ControlValueAccessor interface
|
|
36
|
+
* required to integrate with Angular's core forms API.
|
|
37
|
+
*
|
|
38
|
+
* @param fn Callback to be triggered when the value changes.
|
|
39
|
+
*/
|
|
40
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* Saves a callback function to be invoked when the select is blurred
|
|
43
|
+
* by the user. Part of the ControlValueAccessor interface required
|
|
44
|
+
* to integrate with Angular's core forms API.
|
|
45
|
+
*
|
|
46
|
+
* @param fn Callback to be triggered when the component has been touched.
|
|
47
|
+
*/
|
|
48
|
+
registerOnTouched(fn: () => {}): void;
|
|
49
|
+
/**
|
|
50
|
+
* Disables the select. Part of the ControlValueAccessor interface required
|
|
51
|
+
* to integrate with Angular's core forms API.
|
|
52
|
+
*
|
|
53
|
+
* @param isDisabled Sets whether the component is disabled.
|
|
54
|
+
*/
|
|
30
55
|
setDisabledState?(isDisabled: boolean): void;
|
|
31
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Sets the select's value. Part of the ControlValueAccessor interface
|
|
58
|
+
* required to integrate with Angular's core forms API.
|
|
59
|
+
*
|
|
60
|
+
* @param value New value to be written to the model.
|
|
61
|
+
*/
|
|
62
|
+
writeValue(value: any): void;
|
|
32
63
|
ngOnDestroy(): void;
|
|
33
64
|
ngAfterContentInit(): void;
|
|
34
65
|
handleClick(e: string): void;
|
|
35
|
-
updateValue(value:
|
|
66
|
+
updateValue(value: any): void;
|
|
36
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwSelectMenuComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwSelectMenuComponent, "fw-select", never, { "options": "options"; "valueProperty": "valueProperty"; "titleProperty": "titleProperty"; "iconProperty": "iconProperty"; "showFilter": "showFilter"; "disabled": "disabled"; "width": "width"; "optionsWidth": "optionsWidth"; "maxOptionsHeight": "maxOptionsHeight"; "placeholder": "placeholder"; }, {}, ["menuItems"], ["[fw-menu-item, fw-menu-separator]"], false>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwSelectMenuComponent, "fw-select", never, { "options": "options"; "valueProperty": "valueProperty"; "titleProperty": "titleProperty"; "iconProperty": "iconProperty"; "showFilter": "showFilter"; "disabled": "disabled"; "width": "width"; "optionsWidth": "optionsWidth"; "maxOptionsHeight": "maxOptionsHeight"; "placeholder": "placeholder"; "value": "value"; }, {}, ["menuItems"], ["[fw-menu-item, fw-menu-separator]"], false>;
|
|
38
69
|
}
|
|
@@ -8,7 +8,7 @@ export declare class FwStepperComponent implements OnChanges, OnDestroy, AfterCo
|
|
|
8
8
|
doneStep?: number;
|
|
9
9
|
alignment?: 'left' | 'center';
|
|
10
10
|
backgroundColor?: string;
|
|
11
|
-
stepChange
|
|
11
|
+
stepChange: EventEmitter<number>;
|
|
12
12
|
steps: QueryList<FwStepComponent>;
|
|
13
13
|
get style(): SafeStyle;
|
|
14
14
|
private subscriptions;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FwSwitchComponent implements ControlValueAccessor {
|
|
4
|
+
name?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titlePosition?: 'start' | 'end';
|
|
7
|
+
size?: 'small' | 'medium';
|
|
8
|
+
color?: 'default' | 'primary' | 'secondary';
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
onChange: (value: boolean) => void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
setDisabledState(isDisabled: boolean): void;
|
|
16
|
+
writeValue(checked: boolean): void;
|
|
17
|
+
handleClick(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwSwitchComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwSwitchComponent, "fw-switch", never, { "name": "name"; "title": "title"; "titlePosition": "titlePosition"; "size": "size"; "color": "color"; "disabled": "disabled"; "checked": "checked"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./switch.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class FwSwitchModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwSwitchModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwSwitchModule, [typeof i1.FwSwitchComponent], [typeof i2.CommonModule], [typeof i1.FwSwitchComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FwSwitchModule>;
|
|
8
|
+
}
|
|
@@ -10,7 +10,10 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
|
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
readOnly?: boolean;
|
|
12
12
|
size?: 'small' | 'medium' | 'large';
|
|
13
|
+
type?: string;
|
|
14
|
+
maxLength?: number;
|
|
13
15
|
error?: boolean;
|
|
16
|
+
textInput: any;
|
|
14
17
|
value: string;
|
|
15
18
|
externalControl: FormControl;
|
|
16
19
|
onTouch: () => void;
|
|
@@ -22,5 +25,5 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
|
|
|
22
25
|
changeHandler(event: KeyboardEvent): void;
|
|
23
26
|
blurHandler(): void;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwTextInputComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwTextInputComponent, "fw-text-input", never, { "disabled": "disabled"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; "context": "context"; "helperText": "helperText"; "errorText": "errorText"; "placeholder": "placeholder"; "readOnly": "readOnly"; "size": "size"; "error": "error"; }, {},
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwTextInputComponent, "fw-text-input", never, { "disabled": "disabled"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; "context": "context"; "helperText": "helperText"; "errorText": "errorText"; "placeholder": "placeholder"; "readOnly": "readOnly"; "size": "size"; "type": "type"; "maxLength": "maxLength"; "error": "error"; "value": "value"; }, {}, ["textInput"], ["input", "*"], false>;
|
|
26
29
|
}
|
|
@@ -31,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
31
31
|
}], close: [{
|
|
32
32
|
type: Output
|
|
33
33
|
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYWxlcnQvYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYWxlcnQvYWxlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFPdkUsTUFBTSxPQUFPLGdCQUFnQjtJQUw3QjtRQVFXLGFBQVEsR0FBOEMsTUFBTSxDQUFDO1FBRTdELFlBQU8sR0FBd0MsVUFBVSxDQUFDO1FBRW5FLDREQUE0RDtRQUNsRCxVQUFLLEdBQXVCLElBQUksWUFBWSxFQUFRLENBQUM7S0FDaEU7OzZHQVRZLGdCQUFnQjtpR0FBaEIsZ0JBQWdCLHFOQ1A3Qixpb0JBbUJBOzJGRFphLGdCQUFnQjtrQkFMNUIsU0FBUzsrQkFDRSxVQUFVOzhCQUtYLFdBQVc7c0JBQW5CLEtBQUs7Z0JBQ0csSUFBSTtzQkFBWixLQUFLO2dCQUNHLFF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ldmVyaXR5XVwiPlxuICA8ZnctaWNvbiAqbmdJZj1cImljb25cIiBjbGFzcz1cImFsZXJ0LWljb25cIj57eyBpY29uIH19PC9mdy1pY29uPlxuICA8ZGl2IGNsYXNzPVwiYWxlcnQtdGV4dFwiPlxuICAgIDxoNCAqbmdJZj1cInRpdGxlXCI+e3sgdGl0bGUgfX08L2g0PlxuICAgIDxwICpuZ0lmPVwiZGVzY3JpcHRpb25cIj57eyBkZXNjcmlwdGlvbiB9fTwvcD5cbiAgICA8cD5cbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L3A+XG4gIDwvZGl2PlxuICA8ZGl2ICpuZ0lmPVwic2hvd0Nsb3NlXCIgY2xhc3M9XCJjbG9zZS1pY29uXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiZnctYnV0dG9uXCI+PC9uZy1jb250ZW50PlxuICAgIDxmdy1pY29uLWJ1dHRvblxuICAgICAgKm5nSWY9XCJzaG93Q2xvc2VcIlxuICAgICAgaWNvbj1cImNsb3NlXCIgc2l6ZT1cInNtYWxsXCJcbiAgICAgIFtjb2xvcl09XCJ2YXJpYW50PT09J2ZpbGxlZCc/J292ZXJsYXknOnNldmVyaXR5XCJcbiAgICAgIChjbGljayk9XCJjbG9zZT9jbG9zZS5lbWl0KCk6dW5kZWZpbmVkXCI+XG4gICAgPC9mdy1pY29uLWJ1dHRvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../button/button.component";
|
|
4
|
+
export class FwButtonToggleItemComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.selected = false;
|
|
7
|
+
this.disabled = false;
|
|
8
|
+
this.size = 'medium';
|
|
9
|
+
this.color = 'slate';
|
|
10
|
+
this.selectedColor = 'primary';
|
|
11
|
+
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
12
|
+
this.click = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
get classes() {
|
|
15
|
+
return ['fw-button-toggle-item', this.title && this.title.length > 0 ? 'has-title' : 'no-title'].filter(Boolean).join(' ');
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
handleClick() {
|
|
19
|
+
this.click.emit(this.value);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
FwButtonToggleItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FwButtonToggleItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
FwButtonToggleItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FwButtonToggleItemComponent, selector: "fw-button-toggle-item", inputs: { title: "title", icon: "icon", value: "value", selected: "selected", disabled: "disabled", size: "size", color: "color", selectedColor: "selectedColor" }, outputs: { click: "click" }, host: { properties: { "attr.class": "this.classes" } }, ngImport: i0, template: "<fw-button\n [title]=\"title\"\n [leftIcon]=\"icon\"\n [variant]=\"selected?'solid':'outline'\"\n [color]=\"selected?selectedColor:color\"\n [size]=\"size\"\n [disabled]=\"disabled\"\n (click)=\"handleClick()\">\n {{ title }}\n</fw-button>\n", dependencies: [{ kind: "component", type: i1.FwButtonComponent, selector: "fw-button", inputs: ["color", "size", "variant", "disabled", "fullWidth", "leftIcon", "rightIcon"] }] });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FwButtonToggleItemComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'fw-button-toggle-item', template: "<fw-button\n [title]=\"title\"\n [leftIcon]=\"icon\"\n [variant]=\"selected?'solid':'outline'\"\n [color]=\"selected?selectedColor:color\"\n [size]=\"size\"\n [disabled]=\"disabled\"\n (click)=\"handleClick()\">\n {{ title }}\n</fw-button>\n" }]
|
|
27
|
+
}], ctorParameters: function () { return []; }, propDecorators: { title: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], icon: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], value: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], selected: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], disabled: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], size: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], color: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], selectedColor: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], click: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], classes: [{
|
|
46
|
+
type: HostBinding,
|
|
47
|
+
args: ['attr.class']
|
|
48
|
+
}] } });
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXRvZ2dsZS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2J1dHRvbi10b2dnbGUvYnV0dG9uLXRvZ2dsZS1pdGVtL2J1dHRvbi10b2dnbGUtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9idXR0b24tdG9nZ2xlL2J1dHRvbi10b2dnbGUtaXRlbS9idXR0b24tdG9nZ2xlLWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU9wRixNQUFNLE9BQU8sMkJBQTJCO0lBZ0J0QztRQVpTLGFBQVEsR0FBWSxLQUFLLENBQU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