Browse Source

无jira任务 添加DownListPopup声明文件

es6
Holiday 3 years ago
parent
commit
98f51348ed
  1. 3
      typescript/index.ts
  2. 13
      typescript/widget/downlist/popup.downlist.ts

3
typescript/index.ts

@ -49,6 +49,7 @@ import { VerticalFillLayout } from "./core/wrapper/layout/fill/fill.vertical";
import { VerticalLayout } from "./core/wrapper/layout/layout.vertical"; import { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout } from "./core/wrapper/layout/layout.default"; import { DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo } from "./widget/downlist/combo.downlist"; import { DownListCombo } from "./widget/downlist/combo.downlist";
import { DownListPopup } from "./widget/downlist/popup.downlist";
import { Icon } from "./base/single/icon/icon"; import { Icon } from "./base/single/icon/icon";
import { LeftVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftvertical"; import { LeftVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftvertical";
import { LeftRightVerticalAdaptLayout, RightVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftrightvertical"; import { LeftRightVerticalAdaptLayout, RightVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftrightvertical";
@ -245,6 +246,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
MultiTreeInsertCombo: typeof MultiTreeInsertCombo; MultiTreeInsertCombo: typeof MultiTreeInsertCombo;
Decorators: typeof decorator; Decorators: typeof decorator;
DownListCombo: typeof DownListCombo; DownListCombo: typeof DownListCombo;
DownListPopup: typeof DownListPopup;
Iframe: typeof Iframe; Iframe: typeof Iframe;
AbsoluteLayout: typeof AbsoluteLayout; AbsoluteLayout: typeof AbsoluteLayout;
HorizontalFillLayout: typeof HorizontalFillLayout; HorizontalFillLayout: typeof HorizontalFillLayout;
@ -423,6 +425,7 @@ export {
Label, Label,
TextButton, TextButton,
DownListCombo, DownListCombo,
DownListPopup,
IconChangeButton, IconChangeButton,
Button, Button,
TextEditor, TextEditor,

13
typescript/widget/downlist/popup.downlist.ts

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