diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index 64033907b7..e6aece169d 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -15,7 +15,10 @@ import {StaticOptions} from "./StaticOptions"; import {Et2widgetWithSelectMixin} from "./Et2WidgetWithSelectMixin"; import {SelectOption} from "./FindSelectOptions"; -export class Et2Select extends Et2widgetWithSelectMixin(LionSelect) +// export Et2WidgetWithSelect which is used as type in other modules +export class Et2WidgetWithSelect extends Et2widgetWithSelectMixin(LionSelect){}; + +export class Et2Select extends Et2WidgetWithSelect { static get styles() { diff --git a/api/js/etemplate/Et2Select/Et2SelectReadonly.ts b/api/js/etemplate/Et2Select/Et2SelectReadonly.ts index 1af6510f5f..4fd5ff930c 100644 --- a/api/js/etemplate/Et2Select/Et2SelectReadonly.ts +++ b/api/js/etemplate/Et2Select/Et2SelectReadonly.ts @@ -11,8 +11,8 @@ import {css, html, LitElement, repeat, TemplateResult} from "@lion/core"; import {et2_IDetachedDOM} from "../et2_core_interfaces"; import {Et2Widget} from "../Et2Widget/Et2Widget"; -import {find_select_options, SelectOption} from "./Et2Select"; import {StaticOptions} from "./StaticOptions"; +import {find_select_options, SelectOption} from "./FindSelectOptions"; const so = new StaticOptions(); diff --git a/api/js/etemplate/Et2Select/StaticOptions.ts b/api/js/etemplate/Et2Select/StaticOptions.ts index da098859dd..641cb2533f 100644 --- a/api/js/etemplate/Et2Select/StaticOptions.ts +++ b/api/js/etemplate/Et2Select/StaticOptions.ts @@ -7,9 +7,10 @@ * * @param {type} widget */ -import {Et2WidgetWithSelect, find_select_options, SelectOption} from "./Et2Select"; import {sprintf} from "../../egw_action/egw_action_common"; import {Et2SelectReadonly} from "./Et2SelectReadonly"; +import {find_select_options, SelectOption} from "./FindSelectOptions"; +import {Et2WidgetWithSelect} from "./Et2Select"; /** * Some options change, or are too complicated to have twice, so we get the