From dddd317a70cfad5b2f25ecf5a62514ca34141137 Mon Sep 17 00:00:00 2001 From: zsmj Date: Thu, 8 Jun 2023 11:14:32 +0800 Subject: [PATCH] update --- packages/fineui/package.json | 2 +- packages/fineui/typescript/base/base.ts | 3 +++ .../typescript/core/controller/controller.masker.ts | 5 +++++ packages/fineui/typescript/core/func/alias.ts | 8 ++++++++ packages/fineui/typescript/core/platform/web/index.ts | 1 + 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 packages/fineui/typescript/core/controller/controller.masker.ts diff --git a/packages/fineui/package.json b/packages/fineui/package.json index 9623a14a2..f318922a7 100644 --- a/packages/fineui/package.json +++ b/packages/fineui/package.json @@ -1,6 +1,6 @@ { "name": "@fui/core", - "version": "3.0.20230606133653", + "version": "3.0.20230608105923", "description": "fineui", "main": "dist/fineui.min.js", "module": "dist/lib/index.js", diff --git a/packages/fineui/typescript/base/base.ts b/packages/fineui/typescript/base/base.ts index 98fa0e790..0a89024d6 100644 --- a/packages/fineui/typescript/base/base.ts +++ b/packages/fineui/typescript/base/base.ts @@ -3,9 +3,12 @@ import { BroadcastController } from "../core/controller/controller.broadcast"; import { StyleLoaderManager } from "../core/loader/loader.style"; import { BubblesController } from "../core/controller/controller.bubbles"; import { PopoverController } from "../core/controller/controller.popovers"; +import { MaskersController } from "../core/controller/controller.masker"; export const Layers = new LayerController(); +export const Maskers = new MaskersController(); + export const Bubbles = new BubblesController(); export const Broadcasts = new BroadcastController(); diff --git a/packages/fineui/typescript/core/controller/controller.masker.ts b/packages/fineui/typescript/core/controller/controller.masker.ts new file mode 100644 index 000000000..dfed62baa --- /dev/null +++ b/packages/fineui/typescript/core/controller/controller.masker.ts @@ -0,0 +1,5 @@ +import { LayerController } from "./controller.layer"; + +export declare class MaskersController extends LayerController { + +} diff --git a/packages/fineui/typescript/core/func/alias.ts b/packages/fineui/typescript/core/func/alias.ts index 08035c6ff..ac7232101 100644 --- a/packages/fineui/typescript/core/func/alias.ts +++ b/packages/fineui/typescript/core/func/alias.ts @@ -1,3 +1,11 @@ export declare function jsonDecode(text: string): any; export declare function jsonEncode(json: any): any; + +export declare function contentFormat(cv: any, fmt: string): string; + +export declare function htmlDecode(text: string): string; + +export declare function htmlEncode(text: string): string; + + diff --git a/packages/fineui/typescript/core/platform/web/index.ts b/packages/fineui/typescript/core/platform/web/index.ts index 2aadb120a..f9146475b 100644 --- a/packages/fineui/typescript/core/platform/web/index.ts +++ b/packages/fineui/typescript/core/platform/web/index.ts @@ -3,3 +3,4 @@ export * as EventListener from "./eventListener"; export * as ResizeDetector from "./detectElementResize"; export * from "./load"; export * as DOM from "./dom"; +export declare var $: any;