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 {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_AFTER_POPUPVIEW: string;
isViewVisible(): boolean;
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 { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";
import { ColorChooser } from './case/colorchooser/colorchooser';
import { A } from "./base/a/a";
import { Html } from "./base/single/html/html";
import { Switcher } from "./base/combination/switcher";
@ -307,6 +308,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser;
ColorChooser: typeof ColorChooser;
AbstractAllValueChooser: typeof AbstractAllValueChooser;
AllValueChooserCombo: typeof AllValueChooserCombo;
TextAreaEditor: typeof TextAreaEditor;
@ -496,6 +498,7 @@ export {
Text,
Pane,
MultiLayerSingleLevelTree,
ColorChooser,
SimpleColorChooser,
AbstractAllValueChooser,
AllValueChooserCombo,

Loading…
Cancel
Save