From 96cea31661f412ff764b0f9151793f47d611092e Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Fri, 30 Apr 2021 09:47:53 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7587=20refactor:=20=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/case/combo/combo.textvaluesmall.ts | 13 +++++++++++++ typescript/case/layer/layer.multipopup.ts | 10 ++++++++++ typescript/case/trigger/trigger.text.ts | 11 +++++++++++ typescript/index.ts | 9 +++++++++ 4 files changed, 43 insertions(+) create mode 100644 typescript/case/combo/combo.textvaluesmall.ts create mode 100644 typescript/case/layer/layer.multipopup.ts create mode 100644 typescript/case/trigger/trigger.text.ts diff --git a/typescript/case/combo/combo.textvaluesmall.ts b/typescript/case/combo/combo.textvaluesmall.ts new file mode 100644 index 0000000000..d44c1e41f1 --- /dev/null +++ b/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; +} diff --git a/typescript/case/layer/layer.multipopup.ts b/typescript/case/layer/layer.multipopup.ts new file mode 100644 index 0000000000..af97030c53 --- /dev/null +++ b/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; +} diff --git a/typescript/case/trigger/trigger.text.ts b/typescript/case/trigger/trigger.text.ts new file mode 100644 index 0000000000..b738f2420a --- /dev/null +++ b/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; +} \ No newline at end of file diff --git a/typescript/index.ts b/typescript/index.ts index 3afa9c0ccb..432b9d93bd 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -20,6 +20,7 @@ import { IconChangeButton } from "./case/button/icon/icon.change"; import { MultiSelectItem } from "./case/button/item.multiselect"; import { BubbleCombo } from "./case/combo/bubblecombo/combo.bubble"; import { TextValueCombo } from "./case/combo/combo.textvalue"; +import { SmallTextValueCombo } from './case/combo/combo.textvaluesmall'; import { SearchTextValueCombo } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue"; import { SignEditor } from "./case/editor/editor.sign"; 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 { Loader } from "./base/combination/loader"; import { ListPane } from "./case/layer/pane.list"; +import { MultiPopupView } from './case/layer/layer.multipopup'; import { MultiSelectBar } from "./case/toolbar/toolbar.multiselect"; import { SelectList } from "./case/list/list.select"; 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 { HorizontalLayout } from "./core/wrapper/layout/layout.horizontal"; import { ShelterEditor } from "./case/editor/editor.shelter"; +import { TextTrigger } from './case/trigger/trigger.text'; import { SelectTextTrigger } from "./case/trigger/trigger.text.select"; import { DateInterval } from "./widget/timeinterval/dateinterval"; import { DynamicDatePane } from "./widget/datepane/datepane"; @@ -187,6 +190,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { ButtonGroup: typeof ButtonGroup; Combo: typeof Combo; TextValueCombo: typeof TextValueCombo; + SmallTextValueCombo: typeof SmallTextValueCombo; BubbleCombo: typeof BubbleCombo; AllValueMultiTextValueCombo: typeof AllValueMultiTextValueCombo; IconTextItem: typeof IconTextItem; @@ -246,6 +250,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { Switcher: typeof Switcher; Loader: typeof Loader; ListPane: typeof ListPane; + MultiPopupView: typeof MultiPopupView; MultiSelectBar: typeof MultiSelectBar; SelectList: typeof SelectList; IconLabel: typeof IconLabel; @@ -286,6 +291,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { Switch: typeof Switch; HorizontalLayout: typeof HorizontalLayout; ShelterEditor: typeof ShelterEditor; + TextTrigger: typeof TextTrigger; SelectTextTrigger: typeof SelectTextTrigger; DateInterval: typeof DateInterval; DynamicDatePane: typeof DynamicDatePane; @@ -384,9 +390,11 @@ export { BubbleCombo, Loader, ListPane, + MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, + SmallTextValueCombo, Editor, IconLabel, Popover, @@ -451,6 +459,7 @@ export { Switch, HorizontalLayout, ShelterEditor, + TextTrigger, SelectTextTrigger, DateInterval, DynamicDatePane,