mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix class case
This commit is contained in:
parent
206fb0cfd8
commit
c8d4682672
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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))
|
||||
{
|
||||
};
|
||||
|
||||
|
@ -59,7 +59,7 @@ import {SearchMixinInterface} from "./SearchMixin";
|
||||
// Export the Interface for TypeScript
|
||||
type Constructor<T = {}> = new (...args : any[]) => T;
|
||||
|
||||
export const Et2widgetWithSelectMixin = <T extends Constructor<LitElement>>(superclass : T) =>
|
||||
export const Et2WidgetWithSelectMixin = <T extends Constructor<LitElement>>(superclass : T) =>
|
||||
{
|
||||
class Et2WidgetWithSelect extends Et2InputWidget(superclass)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user