@fox-js/foxui 4.0.1-89 → 4.0.1-90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +5979 -5960
- package/dist/index.umd.js +2 -2
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -917,9 +917,10 @@ export declare function definePageState(domain: Domain, overrideProps?: Record<s
|
|
|
917
917
|
/**
|
|
918
918
|
* 定义simple item
|
|
919
919
|
* @param descriptor simple组件描述
|
|
920
|
+
* @param name 名称
|
|
920
921
|
* @returns
|
|
921
922
|
*/
|
|
922
|
-
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor): {
|
|
923
|
+
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor, name?: string): {
|
|
923
924
|
emitEvent: (type: string, ...args: any[]) => void;
|
|
924
925
|
onEvent: (type: string, listener: EventListener_2) => void;
|
|
925
926
|
offEvent: (type: string, listener: EventListener_2) => void;
|