Browse Source

BI-72363 补充声明

es6
windy 4 years ago
parent
commit
3df025f571
  1. 15
      typescript/base/single/button/node/textnode.ts
  2. 3
      typescript/index.ts

15
typescript/base/single/button/node/textnode.ts

@ -0,0 +1,15 @@
import { NodeButton } from "../button.node";
export declare class TextNode extends NodeButton {
setText(b: string): void;
getText(): string;
setValue(): void;
getValue(): string;
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
}

3
typescript/index.ts

@ -149,6 +149,7 @@ import { Controller } from "./core/controller/controller";
import { LayerController } from "./core/controller/controller.layer"; import { LayerController } from "./core/controller/controller.layer";
import { DateCalendarPopup } from "./widget/date/calendar/popup.calendar.date"; import { DateCalendarPopup } from "./widget/date/calendar/popup.calendar.date";
import { Tree, Node } from "./core/utils/tree"; import { Tree, Node } from "./core/utils/tree";
import { TextNode } from "./base/single/button/node/textnode";
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -303,6 +304,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
Msg: _msg; Msg: _msg;
DynamicYearMonthPopup: typeof DynamicYearMonthPopup; DynamicYearMonthPopup: typeof DynamicYearMonthPopup;
DateCalendarPopup: typeof DateCalendarPopup; DateCalendarPopup: typeof DateCalendarPopup;
TextNode: typeof TextNode;
} }
export default { export default {
@ -459,4 +461,5 @@ export {
DateCalendarPopup, DateCalendarPopup,
Tree, Tree,
Node, Node,
TextNode,
}; };

Loading…
Cancel
Save