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,5 +1,6 @@
import { ListPickerBase, selectedIndexProperty, itemsProperty, colorProperty, Color } from "./list-picker-common";
import { ItemsSource } from ".";
import { ListPickerBase, selectedIndexProperty, itemsProperty, ItemsSource } from "./list-picker-common";
import { colorProperty } from '../styling/style-properties';
import { Color } from '../../color';
import { device } from "../../platform";
import lazy from "../../utils/lazy";

View File

@@ -1,9 +1,6 @@
/**
* Contains the ListPicker class.
* @module "ui/list-picker"
*/ /** */
import { View, Property } from "../core/view";
import { View } from "../core/view";
import { Property } from "../core/properties";
import { ItemsSource } from "./list-picker-common";
/**
* Represents an list picker.
@@ -31,10 +28,5 @@ export class ListPicker extends View {
items: any;
}
export interface ItemsSource {
length: number;
getItem(index: number): any;
}
export const selectedIndexProperty: Property<ListPicker, number>;
export const itemsProperty: Property<ListPicker, any[] | ItemsSource>;

View File

@@ -1,5 +1,6 @@
import { ListPickerBase, Color, selectedIndexProperty, itemsProperty, backgroundColorProperty, colorProperty } from "./list-picker-common";
import { ItemsSource } from ".";
import { ListPickerBase, selectedIndexProperty, itemsProperty, ItemsSource } from "./list-picker-common";
import { Color } from "../../color";
import { backgroundColorProperty, colorProperty } from "../styling/style-properties";
import { profile } from "../../profiling";
export * from "./list-picker-common";

View File

@@ -1,10 +1,13 @@
import { ListPicker as ListPickerDefinition, ItemsSource } from ".";
import { View, Property, CoercibleProperty, CSSType } from "../core/view";
import { View, CSSType } from "../core/view";
import { Property, CoercibleProperty } from "../core/properties";
export * from "../core/view";
export interface ItemsSource {
length: number;
getItem(index: number): any;
}
@CSSType("ListPicker")
export class ListPickerBase extends View implements ListPickerDefinition {
export class ListPickerBase extends View {
public selectedIndex: number;
public items: any[] | ItemsSource;

View File

@@ -1,5 +0,0 @@
{
"name": "list-picker",
"main": "list-picker",
"types": "list-picker.d.ts"
}