@fox-js/foxui-pad 4.1.1-27 → 4.1.1-29
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 +1 -1
- package/dist/index.esm.js +6146 -6116
- package/dist/index.umd.js +1 -1
- 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
|
@@ -782,9 +782,10 @@ export declare function definePageState(domain: Domain, overrideProps?: Record<s
|
|
|
782
782
|
/**
|
|
783
783
|
* 定义simple item
|
|
784
784
|
* @param descriptor simple组件描述
|
|
785
|
+
* @param name 名称
|
|
785
786
|
* @returns
|
|
786
787
|
*/
|
|
787
|
-
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor): {
|
|
788
|
+
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor, name?: string): {
|
|
788
789
|
emitEvent: (type: string, ...args: any[]) => void;
|
|
789
790
|
onEvent: (type: string, listener: EventListener_2) => void;
|
|
790
791
|
offEvent: (type: string, listener: EventListener_2) => void;
|