forked from extern/egroupware
Move the rest of the WebComponents into their own directory to get ready for tests
This commit is contained in:
parent
584d6bf51d
commit
2e712c47bc
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
import {css, html, LitElement} from "../../../../node_modules/@lion/core/index.js";
|
||||
import {Et2Widget} from "../Et2Widget";
|
||||
import {Et2Widget} from "../Et2Widget/Et2Widget";
|
||||
|
||||
export class Et2Box extends Et2Widget(LitElement)
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ import {css, html} from "../../../../node_modules/@lion/core/index.js";
|
||||
import {LionButton} from "../../../../node_modules/@lion/button/index.js";
|
||||
import {SlotMixin} from "../../../../node_modules/@lion/core/src/SlotMixin.js";
|
||||
import {Et2InputWidget} from "../Et2InputWidget/Et2InputWidget";
|
||||
import {Et2Widget} from "../Et2Widget";
|
||||
import {Et2Widget} from "../Et2Widget/Et2Widget";
|
||||
|
||||
export class Et2Button extends Et2InputWidget(Et2Widget(SlotMixin(LionButton)))
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
*/
|
||||
import {assert, fixture} from '@open-wc/testing';
|
||||
import {Et2Button} from "../Et2Button";
|
||||
import type {Et2Widget} from "../../Et2Widget";
|
||||
import type {Et2Widget} from "../../Et2Widget/Et2Widget";
|
||||
import {html} from "lit-element";
|
||||
import * as sinon from 'sinon';
|
||||
|
||||
|
@ -9,10 +9,10 @@
|
||||
*/
|
||||
|
||||
|
||||
import {css, html} from "../../../node_modules/@lion/core/index.js"
|
||||
import {LionTextarea} from "../../../node_modules/@lion/textarea/index.js"
|
||||
import {Et2InputWidget} from "./Et2InputWidget/Et2InputWidget";
|
||||
import {Et2Widget} from "./Et2Widget";
|
||||
import {css, html} from "@lion/core"
|
||||
import {LionTextarea} from "@lion/textarea"
|
||||
import {Et2InputWidget} from "../Et2InputWidget/Et2InputWidget";
|
||||
import {Et2Widget} from "../Et2Widget/Et2Widget";
|
||||
|
||||
|
||||
export class Et2Textarea extends Et2InputWidget(Et2Widget(LionTextarea))
|
@ -9,10 +9,10 @@
|
||||
*/
|
||||
|
||||
|
||||
import {css, html} from "../../../node_modules/@lion/core/index.js"
|
||||
import {LionInput} from "../../../node_modules/@lion/input/index.js"
|
||||
import {Et2InputWidget} from "./Et2InputWidget/Et2InputWidget";
|
||||
import {Et2Widget} from "./Et2Widget";
|
||||
import {css, html} from "@lion/core"
|
||||
import {LionInput} from "@lion/input"
|
||||
import {Et2InputWidget} from "../Et2InputWidget/Et2InputWidget";
|
||||
import {Et2Widget} from "../Et2Widget/Et2Widget";
|
||||
|
||||
export class Et2Textbox extends Et2InputWidget(Et2Widget(LionInput))
|
||||
{
|
@ -1,14 +1,14 @@
|
||||
import {et2_IDOMNode, et2_implements_registry} from "./et2_core_interfaces";
|
||||
import {et2_arrayMgr} from "./et2_core_arrayMgr";
|
||||
import {et2_attribute_registry, et2_registry, et2_widget} from "./et2_core_widget";
|
||||
import type {etemplate2} from "./etemplate2";
|
||||
import {et2_compileLegacyJS} from "./et2_core_legacyJSFunctions";
|
||||
import {et2_cloneObject, et2_csvSplit} from "./et2_core_common";
|
||||
import {et2_IDOMNode, et2_implements_registry} from "../et2_core_interfaces";
|
||||
import {et2_arrayMgr} from "../et2_core_arrayMgr";
|
||||
import {et2_attribute_registry, et2_registry, et2_widget} from "../et2_core_widget";
|
||||
import type {etemplate2} from "../etemplate2";
|
||||
import {et2_compileLegacyJS} from "../et2_core_legacyJSFunctions";
|
||||
import {et2_cloneObject, et2_csvSplit} from "../et2_core_common";
|
||||
// @ts-ignore
|
||||
import type {IegwAppLocal} from "../jsapi/egw_global";
|
||||
import {ClassWithAttributes, ClassWithInterfaces} from "./et2_core_inheritance";
|
||||
import type {IegwAppLocal} from "../../jsapi/egw_global";
|
||||
import {ClassWithAttributes, ClassWithInterfaces} from "../et2_core_inheritance";
|
||||
import {LitElement} from "@lion/core";
|
||||
import type {et2_container} from "./et2_core_baseWidget";
|
||||
import type {et2_container} from "../et2_core_baseWidget";
|
||||
|
||||
/**
|
||||
* This mixin will allow any LitElement to become an Et2Widget
|
@ -22,7 +22,7 @@ import {egw, IegwAppLocal} from "../jsapi/egw_global";
|
||||
import {et2_cloneObject, et2_csvSplit} from "./et2_core_common";
|
||||
import {et2_compileLegacyJS} from "./et2_core_legacyJSFunctions";
|
||||
import {et2_IDOMNode, et2_IInputNode} from "./et2_core_interfaces";
|
||||
import {loadWebComponent} from "./Et2Widget";
|
||||
import {loadWebComponent} from "./Et2Widget/Et2Widget";
|
||||
// fixing circular dependencies by only importing type
|
||||
import type {et2_container} from "./et2_core_baseWidget";
|
||||
import type {et2_inputWidget} from "./et2_core_inputWidget";
|
||||
|
@ -25,9 +25,9 @@ import '../jsapi/egw_json.js';
|
||||
import {egwIsMobile} from "../egw_action/egw_action_common.js";
|
||||
import './Et2Box/Et2Box';
|
||||
import './Et2Button/Et2Button';
|
||||
import './Et2Date';
|
||||
import './Et2Textarea';
|
||||
import './Et2Textbox';
|
||||
import './Et2Date/Et2Date';
|
||||
import './Et2Textarea/Et2Textarea';
|
||||
import './Et2Textbox/Et2Textbox';
|
||||
/* Include all widget classes here, we only care about them registering, not importing anything*/
|
||||
import './et2_widget_vfs'; // Vfs must be first (before et2_widget_file) due to import cycle
|
||||
import './et2_widget_template';
|
||||
|
Loading…
Reference in New Issue
Block a user