Browse Source

Pull request #3578: update

Merge in VISUAL/fineui from ~DAILER/fineui:es6 to es6

* commit 'b51db2816bf577b1a3eabfc64c9b124f6842421d':
  update
es6
Dailer-刘荣歆 2 years ago
parent
commit
1bcbab2306
  1. 2
      packages/fineui/package.json
  2. 4
      packages/fineui/typescript/core/controller/controller.popovers.ts
  3. 3
      packages/fineui/typescript/core/func/alias.ts
  4. 1
      packages/fineui/typescript/core/func/index.ts
  5. 2
      packages/fineui/typescript/core/inject.ts
  6. 4
      packages/fineui/typescript/index.ts
  7. 2
      packages/fineui/typescript/router/router.ts

2
packages/fineui/package.json

@ -1,6 +1,6 @@
{ {
"name": "@fui/core", "name": "@fui/core",
"version": "3.0.20230606104509", "version": "3.0.20230606133653",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"module": "dist/lib/index.js", "module": "dist/lib/index.js",

4
packages/fineui/typescript/core/controller/controller.popovers.ts

@ -1,11 +1,13 @@
import { Controller } from "./controller"; import { Controller } from "./controller";
export declare class PopoverController extends Controller { export declare class PopoverController extends Controller {
create<T>(name: string, from?: any, op?: any, context?: any): T; create(name: string, options: any, context?: any): PopoverController;
open(name: string): PopoverController; open(name: string): PopoverController;
close(name: string): PopoverController; close(name: string): PopoverController;
remove(name: string): PopoverController;
removeAll(): void; removeAll(): void;
} }

3
packages/fineui/typescript/core/func/alias.ts

@ -0,0 +1,3 @@
export declare function jsonDecode(text: string): any;
export declare function jsonEncode(json: any): any;

1
packages/fineui/typescript/core/func/index.ts

@ -3,3 +3,4 @@ export * from "./string";
export * from "./number"; export * from "./number";
export * as Func from "./function"; export * as Func from "./function";
export * from "./date"; export * from "./date";
export * from "./alias";

2
packages/fineui/typescript/core/inject.ts

@ -41,3 +41,5 @@ export declare namespace Services {
export declare function createWidget(item: any, options?: any, context?: Widget, lazy?: boolean): Widget export declare function createWidget(item: any, options?: any, context?: Widget, lazy?: boolean): Widget
export declare function point(type: string, action: string, pointFn: Function, after: any): void export declare function point(type: string, action: string, pointFn: Function, after: any): void
export declare function config(type: string, configFn: Function, opt?: any): Function

4
packages/fineui/typescript/index.ts

@ -189,13 +189,13 @@ export { Tree, Node } from "./core/utils/tree";
export { TextNode } from "./base/single/button/node/textnode"; export { TextNode } from "./base/single/button/node/textnode";
export { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck"; export { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck";
export { ImageButton } from "./base/single/button/buttons/button.image"; export { ImageButton } from "./base/single/button/buttons/button.image";
export { History, Router, RouterWidget, RouterView } from "./router/router"; export { History, history, Router, RouterWidget, RouterView } from "./router/router";
export { DateTimeCombo } from "./widget/datetime/datetime.combo"; export { DateTimeCombo } from "./widget/datetime/datetime.combo";
export { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizontal"; export { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizontal";
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 } from "./base/base"; export { Broadcasts, Layers, StyleLoaders, Bubbles, Popovers } 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";

2
packages/fineui/typescript/router/router.ts

@ -238,6 +238,8 @@ export declare class History {
navigate(fragment: string, options?: { [key: string]: any } | boolean): void; navigate(fragment: string, options?: { [key: string]: any } | boolean): void;
} }
export const history = new History();
export declare class RouterWidget { export declare class RouterWidget {
static xtype: string; static xtype: string;
} }

Loading…
Cancel
Save