diff --git a/api/js/etemplate/Et2DropdownButton/Et2DropdownButton.ts b/api/js/etemplate/Et2DropdownButton/Et2DropdownButton.ts index d50ce96694..3a74f97d92 100644 --- a/api/js/etemplate/Et2DropdownButton/Et2DropdownButton.ts +++ b/api/js/etemplate/Et2DropdownButton/Et2DropdownButton.ts @@ -12,7 +12,7 @@ import {Et2Button} from "../Et2Button/Et2Button"; import {SlButtonGroup, SlDropdown} from "@shoelace-style/shoelace"; import {css, html, TemplateResult} from "@lion/core"; -import {Et2widgetWithSelectMixin} from "../Et2Select/Et2WidgetWithSelectMixin"; +import {Et2WidgetWithSelectMixin} from "../Et2Select/Et2WidgetWithSelectMixin"; import {SelectOption} from "../Et2Select/FindSelectOptions"; /** @@ -28,7 +28,7 @@ import {SelectOption} from "../Et2Select/FindSelectOptions"; * as for a select box, but the title can also be full HTML if needed. * */ -export class Et2DropdownButton extends Et2widgetWithSelectMixin(Et2Button) +export class Et2DropdownButton extends Et2WidgetWithSelectMixin(Et2Button) { static get styles() diff --git a/api/js/etemplate/Et2Select/Et2Listbox.ts b/api/js/etemplate/Et2Select/Et2Listbox.ts index 7cfdb2accf..2d6bd7d850 100644 --- a/api/js/etemplate/Et2Select/Et2Listbox.ts +++ b/api/js/etemplate/Et2Select/Et2Listbox.ts @@ -1,5 +1,5 @@ import {SlMenu} from "@shoelace-style/shoelace"; -import {Et2widgetWithSelectMixin} from "./Et2WidgetWithSelectMixin"; +import {Et2WidgetWithSelectMixin} from "./Et2WidgetWithSelectMixin"; import {RowLimitedMixin} from "../Layout/RowLimitedMixin"; import shoelace from "../Styles/shoelace"; import {css, html, TemplateResult} from "@lion/core"; @@ -12,7 +12,7 @@ import {SelectOption} from "./FindSelectOptions"; * * Use Et2Selectbox in most cases, it's better. */ -export class Et2Listbox extends RowLimitedMixin(Et2widgetWithSelectMixin(SlMenu)) +export class Et2Listbox extends RowLimitedMixin(Et2WidgetWithSelectMixin(SlMenu)) { static get styles() diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index b61fe3e002..b341aaf741 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -10,7 +10,7 @@ import {css, html, PropertyValues, TemplateResult} from "@lion/core"; import {Et2StaticSelectMixin, StaticOptions as so} from "./StaticOptions"; -import {Et2widgetWithSelectMixin} from "./Et2WidgetWithSelectMixin"; +import {Et2WidgetWithSelectMixin} from "./Et2WidgetWithSelectMixin"; import {cleanSelectOptions, SelectOption} from "./FindSelectOptions"; import {SlMenuItem, SlSelect} from "@shoelace-style/shoelace"; import shoelace from "../Styles/shoelace"; @@ -20,7 +20,7 @@ import {LionValidationFeedback} from "@lion/form-core"; import {RowLimitedMixin} from "../Layout/RowLimitedMixin"; // export Et2WidgetWithSelect which is used as type in other modules -export class Et2WidgetWithSelect extends RowLimitedMixin(Et2widgetWithSelectMixin(SlSelect)) +export class Et2WidgetWithSelect extends RowLimitedMixin(Et2WidgetWithSelectMixin(SlSelect)) { }; diff --git a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts index 3095045b07..3da224c1ae 100644 --- a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts +++ b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts @@ -59,7 +59,7 @@ import {SearchMixinInterface} from "./SearchMixin"; // Export the Interface for TypeScript type Constructor = new (...args : any[]) => T; -export const Et2widgetWithSelectMixin = >(superclass : T) => +export const Et2WidgetWithSelectMixin = >(superclass : T) => { class Et2WidgetWithSelect extends Et2InputWidget(superclass) {