Browse Source

KERNEL-10641 refactor:类型定义补充

es6
Claire 3 years ago
parent
commit
186be7574d
  1. 3
      typescript/case/colorchooser/colorchooser.simple.ts
  2. 13
      typescript/case/colorchooser/colorchooser.ts
  3. 3
      typescript/index.ts

3
typescript/case/colorchooser/colorchooser.simple.ts

@ -3,7 +3,8 @@ import { Widget } from '../../core/widget';
export declare class SimpleColorChooser extends Widget { export declare class SimpleColorChooser extends Widget {
static xtype: string; static xtype: string;
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
static EVENT_AFTER_POPUPVIEW: string;
isViewVisible(): boolean; isViewVisible(): boolean;
hideView(): void; hideView(): void;

13
typescript/case/colorchooser/colorchooser.ts

@ -0,0 +1,13 @@
import { Widget } from '../../core/widget';
export declare class ColorChooser extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_AFTER_POPUPVIEW: string;
isViewVisible(): boolean;
hideView(): void;
showView(): void;
}

3
typescript/index.ts

@ -82,6 +82,7 @@ import { MultiSelectCombo } from "./widget/multiselect/multiselect.combo";
import { SearchEditor } from "./widget/editor/editor.search"; import { SearchEditor } from "./widget/editor/editor.search";
import { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree"; import { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple"; import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";
import { ColorChooser } from './case/colorchooser/colorchooser';
import { A } from "./base/a/a"; import { A } from "./base/a/a";
import { Html } from "./base/single/html/html"; import { Html } from "./base/single/html/html";
import { Switcher } from "./base/combination/switcher"; import { Switcher } from "./base/combination/switcher";
@ -307,6 +308,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
SearchEditor: typeof SearchEditor; SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree; MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser; SimpleColorChooser: typeof SimpleColorChooser;
ColorChooser: typeof ColorChooser;
AbstractAllValueChooser: typeof AbstractAllValueChooser; AbstractAllValueChooser: typeof AbstractAllValueChooser;
AllValueChooserCombo: typeof AllValueChooserCombo; AllValueChooserCombo: typeof AllValueChooserCombo;
TextAreaEditor: typeof TextAreaEditor; TextAreaEditor: typeof TextAreaEditor;
@ -496,6 +498,7 @@ export {
Text, Text,
Pane, Pane,
MultiLayerSingleLevelTree, MultiLayerSingleLevelTree,
ColorChooser,
SimpleColorChooser, SimpleColorChooser,
AbstractAllValueChooser, AbstractAllValueChooser,
AllValueChooserCombo, AllValueChooserCombo,

Loading…
Cancel
Save