Browse Source

Pull request #1895: KERNEL-7587 refactor: 类型补充

Merge in VISUAL/fineui from ~CLAIRE.TANG/fineui:master to master

* commit 'a32eabe467082358372ab12d4757932279874197':
  KERNEL-7587 refactor: 类型补充
es6
Claire.Tang 4 years ago
parent
commit
6aae68b177
  1. 13
      typescript/case/combo/combo.textvaluesmall.ts
  2. 10
      typescript/case/layer/layer.multipopup.ts
  3. 11
      typescript/case/trigger/trigger.text.ts
  4. 9
      typescript/index.ts

13
typescript/case/combo/combo.textvaluesmall.ts

@ -0,0 +1,13 @@
import { Widget } from "../../core/widget";
export declare class SmallTextValueCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
populate(items: any): void;
setValue(v: string): void;
getValue(): string;
}

10
typescript/case/layer/layer.multipopup.ts

@ -0,0 +1,10 @@
import { PopupView } from "../../base/layer/layer.popup";
export declare class MultiPopupView extends PopupView {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_CLICK_TOOLBAR_BUTTON: string;
}

11
typescript/case/trigger/trigger.text.ts

@ -0,0 +1,11 @@
import { Trigger } from "../../base/single/trigger/trigger";
export declare class TextTrigger extends Trigger {
static xtype: string;
setTextCls(cls: string): void;
setText(text: string): void;
setTipType(v: string): void;
}

9
typescript/index.ts

@ -20,6 +20,7 @@ import { IconChangeButton } from "./case/button/icon/icon.change";
import { MultiSelectItem } from "./case/button/item.multiselect"; import { MultiSelectItem } from "./case/button/item.multiselect";
import { BubbleCombo } from "./case/combo/bubblecombo/combo.bubble"; import { BubbleCombo } from "./case/combo/bubblecombo/combo.bubble";
import { TextValueCombo } from "./case/combo/combo.textvalue"; import { TextValueCombo } from "./case/combo/combo.textvalue";
import { SmallTextValueCombo } from './case/combo/combo.textvaluesmall';
import { SearchTextValueCombo } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue"; import { SearchTextValueCombo } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue";
import { SignEditor } from "./case/editor/editor.sign"; import { SignEditor } from "./case/editor/editor.sign";
import { LoadingPane } from "./case/loading/loading_pane"; import { LoadingPane } from "./case/loading/loading_pane";
@ -82,6 +83,7 @@ import { Html } from "./base/single/html/html";
import { Switcher } from "./base/combination/switcher"; import { Switcher } from "./base/combination/switcher";
import { Loader } from "./base/combination/loader"; import { Loader } from "./base/combination/loader";
import { ListPane } from "./case/layer/pane.list"; import { ListPane } from "./case/layer/pane.list";
import { MultiPopupView } from './case/layer/layer.multipopup';
import { MultiSelectBar } from "./case/toolbar/toolbar.multiselect"; import { MultiSelectBar } from "./case/toolbar/toolbar.multiselect";
import { SelectList } from "./case/list/list.select"; import { SelectList } from "./case/list/list.select";
import { AbstractAllValueChooser } from "./component/allvaluechooser/abstract.allvaluechooser"; import { AbstractAllValueChooser } from "./component/allvaluechooser/abstract.allvaluechooser";
@ -120,6 +122,7 @@ import { TextValueDownListCombo } from "./widget/textvaluedownlistcombo/combo.te
import { Switch } from "./case/button/switch"; import { Switch } from "./case/button/switch";
import { HorizontalLayout } from "./core/wrapper/layout/layout.horizontal"; import { HorizontalLayout } from "./core/wrapper/layout/layout.horizontal";
import { ShelterEditor } from "./case/editor/editor.shelter"; import { ShelterEditor } from "./case/editor/editor.shelter";
import { TextTrigger } from './case/trigger/trigger.text';
import { SelectTextTrigger } from "./case/trigger/trigger.text.select"; import { SelectTextTrigger } from "./case/trigger/trigger.text.select";
import { DateInterval } from "./widget/timeinterval/dateinterval"; import { DateInterval } from "./widget/timeinterval/dateinterval";
import { DynamicDatePane } from "./widget/datepane/datepane"; import { DynamicDatePane } from "./widget/datepane/datepane";
@ -187,6 +190,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
ButtonGroup: typeof ButtonGroup; ButtonGroup: typeof ButtonGroup;
Combo: typeof Combo; Combo: typeof Combo;
TextValueCombo: typeof TextValueCombo; TextValueCombo: typeof TextValueCombo;
SmallTextValueCombo: typeof SmallTextValueCombo;
BubbleCombo: typeof BubbleCombo; BubbleCombo: typeof BubbleCombo;
AllValueMultiTextValueCombo: typeof AllValueMultiTextValueCombo; AllValueMultiTextValueCombo: typeof AllValueMultiTextValueCombo;
IconTextItem: typeof IconTextItem; IconTextItem: typeof IconTextItem;
@ -246,6 +250,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
Switcher: typeof Switcher; Switcher: typeof Switcher;
Loader: typeof Loader; Loader: typeof Loader;
ListPane: typeof ListPane; ListPane: typeof ListPane;
MultiPopupView: typeof MultiPopupView;
MultiSelectBar: typeof MultiSelectBar; MultiSelectBar: typeof MultiSelectBar;
SelectList: typeof SelectList; SelectList: typeof SelectList;
IconLabel: typeof IconLabel; IconLabel: typeof IconLabel;
@ -286,6 +291,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
Switch: typeof Switch; Switch: typeof Switch;
HorizontalLayout: typeof HorizontalLayout; HorizontalLayout: typeof HorizontalLayout;
ShelterEditor: typeof ShelterEditor; ShelterEditor: typeof ShelterEditor;
TextTrigger: typeof TextTrigger;
SelectTextTrigger: typeof SelectTextTrigger; SelectTextTrigger: typeof SelectTextTrigger;
DateInterval: typeof DateInterval; DateInterval: typeof DateInterval;
DynamicDatePane: typeof DynamicDatePane; DynamicDatePane: typeof DynamicDatePane;
@ -384,9 +390,11 @@ export {
BubbleCombo, BubbleCombo,
Loader, Loader,
ListPane, ListPane,
MultiPopupView,
MultiSelectBar, MultiSelectBar,
SelectList, SelectList,
TextValueCombo, TextValueCombo,
SmallTextValueCombo,
Editor, Editor,
IconLabel, IconLabel,
Popover, Popover,
@ -451,6 +459,7 @@ export {
Switch, Switch,
HorizontalLayout, HorizontalLayout,
ShelterEditor, ShelterEditor,
TextTrigger,
SelectTextTrigger, SelectTextTrigger,
DateInterval, DateInterval,
DynamicDatePane, DynamicDatePane,

Loading…
Cancel
Save