@flywheel-io/vision 20.0.0 → 20.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/fesm2022/flywheel-io-vision.mjs +150 -25
- package/fesm2022/flywheel-io-vision.mjs.map +1 -1
- package/index.d.ts +35 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -586,6 +586,8 @@ declare class FwCardModule {
|
|
|
586
586
|
* @see [Vision storybook](https://cdn.flywheel.io/docs/vision/master/?path=/docs/form-controls-checkbox--docs)
|
|
587
587
|
*/
|
|
588
588
|
declare class FwCheckboxComponent implements ControlValueAccessor {
|
|
589
|
+
value: i0.InputSignal<string>;
|
|
590
|
+
checked: i0.ModelSignal<boolean>;
|
|
589
591
|
name?: string;
|
|
590
592
|
disabled: boolean;
|
|
591
593
|
size: 'medium' | 'compact';
|
|
@@ -593,7 +595,6 @@ declare class FwCheckboxComponent implements ControlValueAccessor {
|
|
|
593
595
|
title: string;
|
|
594
596
|
focused: boolean;
|
|
595
597
|
get checkboxStyles(): string[];
|
|
596
|
-
checked?: boolean;
|
|
597
598
|
change: EventEmitter<boolean>;
|
|
598
599
|
onChange: (value: boolean) => void;
|
|
599
600
|
onTouched: () => void;
|
|
@@ -603,7 +604,36 @@ declare class FwCheckboxComponent implements ControlValueAccessor {
|
|
|
603
604
|
writeValue(checked: boolean): void;
|
|
604
605
|
handleClick(): void;
|
|
605
606
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwCheckboxComponent, never>;
|
|
606
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwCheckboxComponent, "fw-checkbox", never, { "
|
|
607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwCheckboxComponent, "fw-checkbox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "title": { "alias": "title"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; }, { "checked": "checkedChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Container component for grouping checkboxes, managing shared multi-selection state and Angular forms integration
|
|
612
|
+
* @see [Vision storybook](https://cdn.flywheel.io/docs/vision/master/?path=/docs/form-controls-checkbox-group--docs)
|
|
613
|
+
*/
|
|
614
|
+
declare class FwCheckboxGroupComponent implements ControlValueAccessor {
|
|
615
|
+
value: string[];
|
|
616
|
+
color?: 'primary' | 'secondary';
|
|
617
|
+
size?: 'medium' | 'compact';
|
|
618
|
+
disabled?: boolean;
|
|
619
|
+
direction?: 'horizontal' | 'vertical';
|
|
620
|
+
change: EventEmitter<string[]>;
|
|
621
|
+
private sanitizer;
|
|
622
|
+
private dr;
|
|
623
|
+
protected checkboxes: i0.Signal<readonly FwCheckboxComponent[]>;
|
|
624
|
+
private _value;
|
|
625
|
+
private checkboxSubs;
|
|
626
|
+
get style(): SafeStyle;
|
|
627
|
+
constructor();
|
|
628
|
+
onTouch: () => void;
|
|
629
|
+
onChange: (value: string[]) => void;
|
|
630
|
+
writeValue(value: string[]): void;
|
|
631
|
+
registerOnChange(fn: any): void;
|
|
632
|
+
registerOnTouched(fn: any): void;
|
|
633
|
+
setDisabledState(isDisabled: boolean): void;
|
|
634
|
+
handleChange(value: string, checked: boolean): void;
|
|
635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FwCheckboxGroupComponent, never>;
|
|
636
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwCheckboxGroupComponent, "fw-checkbox-group", never, { "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "change": "change"; }, ["checkboxes"], ["fw-checkbox"], true, never>;
|
|
607
637
|
}
|
|
608
638
|
|
|
609
639
|
/**
|
|
@@ -611,7 +641,7 @@ declare class FwCheckboxComponent implements ControlValueAccessor {
|
|
|
611
641
|
*/
|
|
612
642
|
declare class FwCheckboxModule {
|
|
613
643
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwCheckboxModule, never>;
|
|
614
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FwCheckboxModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i2.FormsModule, typeof FwCheckboxComponent], [typeof FwCheckboxComponent]>;
|
|
644
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FwCheckboxModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i2.FormsModule, typeof FwCheckboxComponent, typeof FwCheckboxGroupComponent], [typeof FwCheckboxComponent, typeof FwCheckboxGroupComponent]>;
|
|
615
645
|
static ɵinj: i0.ɵɵInjectorDeclaration<FwCheckboxModule>;
|
|
616
646
|
}
|
|
617
647
|
|
|
@@ -2746,7 +2776,7 @@ declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
2746
2776
|
focusedIndex: i0.WritableSignal<number>;
|
|
2747
2777
|
focusedOption: i0.Signal<string>;
|
|
2748
2778
|
inputRef: i0.Signal<ElementRef<HTMLInputElement>>;
|
|
2749
|
-
focusInput(
|
|
2779
|
+
focusInput(): void;
|
|
2750
2780
|
onFocusLoss(_: Event): void;
|
|
2751
2781
|
keyHandlerMap: {
|
|
2752
2782
|
[keycode: string]: (e: KeyboardEvent) => void;
|
|
@@ -2785,5 +2815,5 @@ declare class FwWrappedInputModule {
|
|
|
2785
2815
|
static ɵinj: i0.ɵɵInjectorDeclaration<FwWrappedInputModule>;
|
|
2786
2816
|
}
|
|
2787
2817
|
|
|
2788
|
-
export { DialogWidth, FwAlertComponent, FwAlertModule, FwAppIconComponent, FwAppIconModule, FwAvatarComponent, FwAvatarListComponent, FwAvatarModule, FwBackButtonComponent, FwBadgeComponent, FwBadgeModule, FwBreadcrumbsComponent, FwBreadcrumbsModule, FwButtonComponent, FwButtonDangerDirective, FwButtonDirective, FwButtonGroupComponent, FwButtonGroupModule, FwButtonModule, FwButtonPrimaryDirective, FwButtonSecondaryDirective, FwButtonSuccessDirective, FwButtonToggleComponent, FwButtonToggleItemComponent, FwButtonToggleModule, FwCardAttributeComponent, FwCardAuthorComponent, FwCardComponent, FwCardContentComponent, FwCardFooterComponent, FwCardHeaderComponent, FwCardModule, FwCell, FwCellDef, FwCheckboxComponent, FwCheckboxModule, FwChipComponent, FwChipModule, FwColumnDef, FwContainedInputComponent, FwContainedInputModule, FwCrumbComponent, FwDateInputComponent, FwDateInputModule, FwDialogActionsComponent, FwDialogComponent, FwDialogConfirmComponent, FwDialogContentComponent, FwDialogHeaderComponent, FwDialogService, FwDialogSimpleComponent, FwDialogsModule, FwFooterCell, FwFooterCellDef, FwFooterRow, FwFooterRowDef, FwFormHeadingComponent, FwFormHeadingModule, FwGridComponent, FwGridItemComponent, FwHeaderCell, FwHeaderCellDef, FwHeaderRow, FwHeaderRowDef, FwIconButtonComponent, FwIconButtonModule, FwIconComponent, FwIconModule, FwLayoutContextComponent, FwLayoutGroupComponent, FwLayoutPanelComponent, FwLayoutSidebarComponent, FwLayoutToolbarComponent, FwLayoutsModule, FwMenuCloseTriggersDirective, FwMenuComponent, FwMenuContainerComponent, FwMenuHeaderComponent, FwMenuItemComponent, FwMenuItemGroupComponent, FwMenuModule, FwMenuSeparatorComponent, FwMenuSubItemComponent, FwMultiSelectMenuComponent, FwNavbarComponent, FwNavbarHeaderComponent, FwNavbarItemComponent, FwNavbarModule, FwNavbarSubItemComponent, FwNoDataRow, FwNumberInputComponent, FwNumberInputModule, FwPaginatorAdvancedComponent, FwPaginatorComponent, FwPaginatorModule, FwPhoneInputComponent, FwPhoneInputModule, FwPopoverComponent, FwPopoverModule, FwPopoverPanelComponent, FwProgressBarComponent, FwProgressModule, FwProgressSpinnerComponent, FwRadioComponent, FwRadioGroupComponent, FwRadioModule, FwRow, FwRowDef, FwSectionHeadingComponent, FwSectionHeadingModule, FwSelectMenuComponent, FwSelectMenuModule, FwSnackbarComponent, FwSnackbarContainerComponent, FwSnackbarModule, FwSnackbarService, FwStepComponent, FwStepDecoratorComponent, FwStepperComponent, FwStepperModule, FwSubsectionHeadingComponent, FwSwitchComponent, FwSwitchModule, FwTabComponent, FwTabPanelComponent, FwTableComponent, FwTableDenseComponent, FwTableModule, FwTabsComponent, FwTabsModule, FwTagComponent, FwTagModule, FwTextAreaInputComponent, FwTextAreaInputModule, FwTextComponent, FwTextInputComponent, FwTextInputModule, FwTimeZoneSelectComponent, FwTooltipComponent, FwTooltipDirective, FwTooltipModule, FwTooltipPanelComponent, FwTypeaheadComponent, FwValidators, FwWrappedInputComponent, FwWrappedInputModule, LayoutWidth, MenuManagerService, MenuRegisterDirective, MinimalTranslationService, NoopValueAccessorDirective, TranslationService, allIcons, genMessageId, notBeforeDate, notFutureDate };
|
|
2818
|
+
export { DialogWidth, FwAlertComponent, FwAlertModule, FwAppIconComponent, FwAppIconModule, FwAvatarComponent, FwAvatarListComponent, FwAvatarModule, FwBackButtonComponent, FwBadgeComponent, FwBadgeModule, FwBreadcrumbsComponent, FwBreadcrumbsModule, FwButtonComponent, FwButtonDangerDirective, FwButtonDirective, FwButtonGroupComponent, FwButtonGroupModule, FwButtonModule, FwButtonPrimaryDirective, FwButtonSecondaryDirective, FwButtonSuccessDirective, FwButtonToggleComponent, FwButtonToggleItemComponent, FwButtonToggleModule, FwCardAttributeComponent, FwCardAuthorComponent, FwCardComponent, FwCardContentComponent, FwCardFooterComponent, FwCardHeaderComponent, FwCardModule, FwCell, FwCellDef, FwCheckboxComponent, FwCheckboxGroupComponent, FwCheckboxModule, FwChipComponent, FwChipModule, FwColumnDef, FwContainedInputComponent, FwContainedInputModule, FwCrumbComponent, FwDateInputComponent, FwDateInputModule, FwDialogActionsComponent, FwDialogComponent, FwDialogConfirmComponent, FwDialogContentComponent, FwDialogHeaderComponent, FwDialogService, FwDialogSimpleComponent, FwDialogsModule, FwFooterCell, FwFooterCellDef, FwFooterRow, FwFooterRowDef, FwFormHeadingComponent, FwFormHeadingModule, FwGridComponent, FwGridItemComponent, FwHeaderCell, FwHeaderCellDef, FwHeaderRow, FwHeaderRowDef, FwIconButtonComponent, FwIconButtonModule, FwIconComponent, FwIconModule, FwLayoutContextComponent, FwLayoutGroupComponent, FwLayoutPanelComponent, FwLayoutSidebarComponent, FwLayoutToolbarComponent, FwLayoutsModule, FwMenuCloseTriggersDirective, FwMenuComponent, FwMenuContainerComponent, FwMenuHeaderComponent, FwMenuItemComponent, FwMenuItemGroupComponent, FwMenuModule, FwMenuSeparatorComponent, FwMenuSubItemComponent, FwMultiSelectMenuComponent, FwNavbarComponent, FwNavbarHeaderComponent, FwNavbarItemComponent, FwNavbarModule, FwNavbarSubItemComponent, FwNoDataRow, FwNumberInputComponent, FwNumberInputModule, FwPaginatorAdvancedComponent, FwPaginatorComponent, FwPaginatorModule, FwPhoneInputComponent, FwPhoneInputModule, FwPopoverComponent, FwPopoverModule, FwPopoverPanelComponent, FwProgressBarComponent, FwProgressModule, FwProgressSpinnerComponent, FwRadioComponent, FwRadioGroupComponent, FwRadioModule, FwRow, FwRowDef, FwSectionHeadingComponent, FwSectionHeadingModule, FwSelectMenuComponent, FwSelectMenuModule, FwSnackbarComponent, FwSnackbarContainerComponent, FwSnackbarModule, FwSnackbarService, FwStepComponent, FwStepDecoratorComponent, FwStepperComponent, FwStepperModule, FwSubsectionHeadingComponent, FwSwitchComponent, FwSwitchModule, FwTabComponent, FwTabPanelComponent, FwTableComponent, FwTableDenseComponent, FwTableModule, FwTabsComponent, FwTabsModule, FwTagComponent, FwTagModule, FwTextAreaInputComponent, FwTextAreaInputModule, FwTextComponent, FwTextInputComponent, FwTextInputModule, FwTimeZoneSelectComponent, FwTooltipComponent, FwTooltipDirective, FwTooltipModule, FwTooltipPanelComponent, FwTypeaheadComponent, FwValidators, FwWrappedInputComponent, FwWrappedInputModule, LayoutWidth, MenuManagerService, MenuRegisterDirective, MinimalTranslationService, NoopValueAccessorDirective, TranslationService, allIcons, genMessageId, notBeforeDate, notFutureDate };
|
|
2789
2819
|
export type { DelayLength$3 as DelayLength, FwDialogRef, FwPaginatorEvent, FwSnackbarMessage, IconSize, IconType, MenuFilterFn, PaginationPage, SimplePosition };
|