chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-04 01:12:55 -07:00
parent 9341cd9554
commit 1525c89733
274 changed files with 1755 additions and 2733 deletions

View File

@@ -1,8 +1,7 @@
/**
* @module "ui/layouts/absolute-layout"
*/ /** */
import { LayoutBase, View, Property, Length } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { Property } from "../../core/properties";
import { View } from '../../core/view';
import { Length } from '../../styling/style-properties';
/**
* A layout that lets you specify exact locations (left/top coordinates) of its children.

View File

@@ -1,8 +1,6 @@
/**
* @module "ui/layouts/dock-layout"
*/ /** */
import { LayoutBase, View, Property } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { Property } from "../../core/properties";
import { View } from '../../core/view';
/**
* A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.

View File

@@ -1,8 +1,7 @@
/**
* @module "ui/layouts/flexbox-layout"
*/ /** */
import { LayoutBase, View, Style, CssProperty } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { Style } from '../../styling/style';
import { CssProperty } from "../../core/properties";
import { View } from '../../core/view';
export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
export type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";

View File

@@ -1,8 +1,6 @@
/**
* @module "ui/layouts/grid-layout"
*/ /** */
import { LayoutBase, Property, View } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { View } from '../../core/view';
import { Property } from "../../core/properties";
/**
* Defines row/column specific properties that apply to GridLayout elements.

View File

@@ -1,7 +1,8 @@
import { LayoutBase as LayoutBaseDefinition } from "./layout-base";
import { View, CustomLayoutView, Property, AddChildFromBuilder, getViewById, Length, booleanConverter } from "../core/view";
export * from "../core/view";
import { View, CustomLayoutView, AddChildFromBuilder, } from "../core/view";
import { booleanConverter, getViewById } from "../core/view-base";
import { Property } from "../core/properties";
import { Length } from "../styling/style-properties";
export class LayoutBaseCommon extends CustomLayoutView implements LayoutBaseDefinition, AddChildFromBuilder {

View File

@@ -1,10 +1,6 @@
/**
* @module "ui/layouts/layout-base"
*/ /** */
import { View, CustomLayoutView, Property, Length } from "../core/view";
export * from "../core/view";
import { View, CustomLayoutView } from "../core/view";
import { Property } from "../core/properties";
import { Length } from "../styling/style-properties";
/**
* Base class for all views that supports children positioning.

View File

@@ -1,7 +1,5 @@
/**
* @module "ui/layouts/stack-layout"
*/ /** */
import { LayoutBase, Property } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { Property } from "../../core/properties";
/**
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.

View File

@@ -1,8 +1,6 @@
/**
* @module "ui/layouts/wrap-layout"
*/ /** */
import { LayoutBase, Property, Length } from "../layout-base";
import { LayoutBase } from "../layout-base";
import { Length } from '../../styling/style-properties';
import { Property } from "../../core/properties";
/**
* WrapLayout position children in rows or columns depending on orientation property