From 01d67a26a3d0e1e0fc964b72b1dc7908fcdcd36e Mon Sep 17 00:00:00 2001 From: dailer Date: Tue, 27 Jun 2023 16:37:49 +0800 Subject: [PATCH] update --- packages/fineui/package.json | 2 +- packages/fineui/typescript/case/colorchooser/colorpicker.ts | 5 +++++ packages/fineui/typescript/core/base.ts | 2 +- packages/fineui/typescript/index.ts | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 packages/fineui/typescript/case/colorchooser/colorpicker.ts diff --git a/packages/fineui/package.json b/packages/fineui/package.json index d075c41e1..58a694a8d 100644 --- a/packages/fineui/package.json +++ b/packages/fineui/package.json @@ -1,6 +1,6 @@ { "name": "@fui/core", - "version": "3.0.20230615140705", + "version": "3.0.20230627163539", "description": "fineui", "main": "dist/fineui.min.js", "module": "dist/lib/index.js", diff --git a/packages/fineui/typescript/case/colorchooser/colorpicker.ts b/packages/fineui/typescript/case/colorchooser/colorpicker.ts new file mode 100644 index 000000000..f3db551fe --- /dev/null +++ b/packages/fineui/typescript/case/colorchooser/colorpicker.ts @@ -0,0 +1,5 @@ +import { Widget } from "../../core/widget"; + +export declare class ColorPicker extends Widget { + static xtype: string; +} diff --git a/packages/fineui/typescript/core/base.ts b/packages/fineui/typescript/core/base.ts index e347747cf..abdd7ba80 100644 --- a/packages/fineui/typescript/core/base.ts +++ b/packages/fineui/typescript/core/base.ts @@ -52,7 +52,7 @@ export declare function each(collection: T, iteratee?: any, thisArg?: any): T export declare function map(collection: T[] | object | string | null | undefined, callback?: ((index: number, value: T) => U) | object | string, thisArg?: any): U[]; -export declare function reduce(collection: T[] | object | string, callback?: ((total: U extends T ? U : T, currentValue: T, currentIndex: number) => U extends T ? U : T) | object | string, initialValue?: U | T): U extends T ? U : T; +export declare function reduce(collection: T[] | object | string, callback?: ((currentValue: T, total: U extends T ? U : T, currentIndex: number) => U extends T ? U : T) | object | string, initialValue?: U | T): U extends T ? U : T; export declare function reduceRight(collection: T[] | object | string, callback?: ((total: U extends T ? U : T, currentValue: T, currentIndex: number) => U extends T ? U : T) | object | string, initialValue?: U | T): U extends T ? U : T; diff --git a/packages/fineui/typescript/index.ts b/packages/fineui/typescript/index.ts index 0e5ea635b..747b5257e 100644 --- a/packages/fineui/typescript/index.ts +++ b/packages/fineui/typescript/index.ts @@ -106,6 +106,7 @@ export { SearchEditor } from "./widget/editor/editor.search"; export { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree"; export { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple"; export { ColorChooser } from "./case/colorchooser/colorchooser"; +export { ColorPicker } from "./case/colorchooser/colorpicker"; export { A } from "./base/a/a"; export { Html } from "./base/single/html/html"; export { Switcher } from "./base/combination/switcher";