Browse Source

Pull request #3595: update 类型定义

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

* commit '01d67a26a3d0e1e0fc964b72b1dc7908fcdcd36e':
  update
research/test
Dailer-刘荣歆 1 year ago
parent
commit
47c7f69c7c
  1. 2
      packages/fineui/package.json
  2. 5
      packages/fineui/typescript/case/colorchooser/colorpicker.ts
  3. 2
      packages/fineui/typescript/core/base.ts
  4. 1
      packages/fineui/typescript/index.ts

2
packages/fineui/package.json

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

5
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;
}

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

@ -52,7 +52,7 @@ export declare function each<T>(collection: T, iteratee?: any, thisArg?: any): T
export declare function map<T, U>(collection: T[] | object | string | null | undefined, callback?: ((index: number, value: T) => U) | object | string, thisArg?: any): U[]; export declare function map<T, U>(collection: T[] | object | string | null | undefined, callback?: ((index: number, value: T) => U) | object | string, thisArg?: any): U[];
export declare function reduce<T, U>(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<T, U>(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<T, U>(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 reduceRight<T, U>(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;

1
packages/fineui/typescript/index.ts

@ -106,6 +106,7 @@ export { SearchEditor } from "./widget/editor/editor.search";
export { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree"; export { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
export { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple"; export { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";
export { ColorChooser } from "./case/colorchooser/colorchooser"; export { ColorChooser } from "./case/colorchooser/colorchooser";
export { ColorPicker } from "./case/colorchooser/colorpicker";
export { A } from "./base/a/a"; export { A } from "./base/a/a";
export { Html } from "./base/single/html/html"; export { Html } from "./base/single/html/html";
export { Switcher } from "./base/combination/switcher"; export { Switcher } from "./base/combination/switcher";

Loading…
Cancel
Save