zsmj 1 year ago
parent
commit
d366416d5d
  1. 2
      packages/fineui/package.json
  2. 3
      packages/fineui/typescript/base/base.ts
  3. 11
      packages/fineui/typescript/core/controller/controller.popovers.ts
  4. 2
      packages/fineui/typescript/core/inject.ts

2
packages/fineui/package.json

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

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

@ -2,6 +2,7 @@ import { LayerController } from "../core/controller/controller.layer";
import { BroadcastController } from "../core/controller/controller.broadcast"; import { BroadcastController } from "../core/controller/controller.broadcast";
import { StyleLoaderManager } from "../core/loader/loader.style"; 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";
export const Layers = new LayerController(); export const Layers = new LayerController();
@ -10,3 +11,5 @@ export const Bubbles = new BubblesController();
export const Broadcasts = new BroadcastController(); export const Broadcasts = new BroadcastController();
export const StyleLoaders = new StyleLoaderManager(); export const StyleLoaders = new StyleLoaderManager();
export const Popovers = new PopoverController();

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

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

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

@ -39,3 +39,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

Loading…
Cancel
Save