Browse Source

Pull request #3598: 无jira perf: 补充类型

Merge in VISUAL/fineui from ~XAVIER.MENG/fineui:master to master

* commit '60275f790e21dbc3989404ecc7d80af760947981':
  无jira perf: 补充类型
research/test
Xavier.Meng-孟宇翔 1 year ago
parent
commit
c9af3f9333
  1. 3
      packages/fineui/typescript/base/base.ts
  2. 7
      packages/fineui/typescript/case/trigger/trigger.editor.ts
  3. 14
      packages/fineui/typescript/core/controller/controller.resizer.ts
  4. 5
      packages/fineui/typescript/core/wrapper/layout/layout.inline.ts
  5. 4
      packages/fineui/typescript/index.ts

3
packages/fineui/typescript/base/base.ts

@ -4,6 +4,7 @@ import { StyleLoaderManager } from "../core/loader/loader.style";
import { BubblesController } from "../core/controller/controller.bubbles"; import { BubblesController } from "../core/controller/controller.bubbles";
import { PopoverController } from "../core/controller/controller.popovers"; import { PopoverController } from "../core/controller/controller.popovers";
import { MaskersController } from "../core/controller/controller.masker"; import { MaskersController } from "../core/controller/controller.masker";
import { ResizeController } from "../core/controller/controller.resizer";
export const Layers = new LayerController(); export const Layers = new LayerController();
@ -16,3 +17,5 @@ export const Broadcasts = new BroadcastController();
export const StyleLoaders = new StyleLoaderManager(); export const StyleLoaders = new StyleLoaderManager();
export const Popovers = new PopoverController(); export const Popovers = new PopoverController();
export const Resizers = new ResizeController();

7
packages/fineui/typescript/case/trigger/trigger.editor.ts

@ -0,0 +1,7 @@
import { Trigger } from "../../base/single/trigger/trigger";
export declare class EditorTrigger extends Trigger {
static xtype: string;
setText(text: string): void;
}

14
packages/fineui/typescript/core/controller/controller.resizer.ts

@ -0,0 +1,14 @@
import { Layout } from "../wrapper/layout";
import { Controller } from "./controller";
type ResizeHandler = (event: DeviceOrientationEvent | UIEvent) => any;
export declare class ResizeController extends Controller {
add(name: string, resizer: Layout | ResizeHandler): () => this;
get(name: string): Layout | ResizeHandler;
has(name: string): boolean;
remove(name: string): this;
}

5
packages/fineui/typescript/core/wrapper/layout/layout.inline.ts

@ -0,0 +1,5 @@
import { Layout } from "../layout";
export declare class InlineLayout extends Layout {
static xtype: string;
}

4
packages/fineui/typescript/index.ts

@ -66,6 +66,7 @@ export { HorizontalFillLayout } from "./core/wrapper/layout/fill/fill.horizontal
export { VerticalFillLayout } from "./core/wrapper/layout/fill/fill.vertical"; export { VerticalFillLayout } from "./core/wrapper/layout/fill/fill.vertical";
export { VerticalLayout } from "./core/wrapper/layout/layout.vertical"; export { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
export { DefaultLayout } from "./core/wrapper/layout/layout.default"; export { DefaultLayout } from "./core/wrapper/layout/layout.default";
export { InlineLayout } from "./core/wrapper/layout/layout.inline";
export { DownListCombo } from "./widget/downlist/combo.downlist"; export { DownListCombo } from "./widget/downlist/combo.downlist";
export { DownListPopup } from "./widget/downlist/popup.downlist"; export { DownListPopup } from "./widget/downlist/popup.downlist";
export { EL } from "./base/el"; export { EL } from "./base/el";
@ -154,6 +155,7 @@ export { TextValueDownListCombo } from "./widget/textvaluedownlistcombo/combo.te
export { Switch } from "./case/button/switch"; export { Switch } from "./case/button/switch";
export { HorizontalLayout } from "./core/wrapper/layout/layout.horizontal"; export { HorizontalLayout } from "./core/wrapper/layout/layout.horizontal";
export { ShelterEditor } from "./case/editor/editor.shelter"; export { ShelterEditor } from "./case/editor/editor.shelter";
export { EditorTrigger } from "./case/trigger/trigger.editor";
export { TextTrigger } from "./case/trigger/trigger.text"; export { TextTrigger } from "./case/trigger/trigger.text";
export { SelectTextTrigger } from "./case/trigger/trigger.text.select"; export { SelectTextTrigger } from "./case/trigger/trigger.text.select";
export { DateInterval } from "./widget/timeinterval/dateinterval"; export { DateInterval } from "./widget/timeinterval/dateinterval";
@ -196,7 +198,7 @@ export { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizon
export { AdaptiveLayout } from "./core/wrapper/layout/layout.adaptive"; export { AdaptiveLayout } from "./core/wrapper/layout/layout.adaptive";
export { HexColorChooserPopup } from "./case/colorchooser/colorchooser.popup.hex"; export { HexColorChooserPopup } from "./case/colorchooser/colorchooser.popup.hex";
export { BlankIconTextItem } from "./base/single/button/listitem/blankicontextitem"; export { BlankIconTextItem } from "./base/single/button/listitem/blankicontextitem";
export { Broadcasts, Layers, StyleLoaders, Bubbles, Popovers } from "./base/base"; export { Broadcasts, Layers, StyleLoaders, Bubbles, Popovers, Resizers } from "./base/base";
export { BroadcastController } from "./core/controller/controller.broadcast"; export { BroadcastController } from "./core/controller/controller.broadcast";
export { Pager } from "./base/pager/pager"; export { Pager } from "./base/pager/pager";
export { TimeInterval } from "./widget/timeinterval/timeinterval"; export { TimeInterval } from "./widget/timeinterval/timeinterval";

Loading…
Cancel
Save