@fox-js/foxui-pc 4.1.1-33 → 4.1.1-34
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 +5224 -5209
- 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
|
@@ -742,9 +742,10 @@ export declare function definePageState(domain: Domain, overrideProps?: Record<s
|
|
|
742
742
|
/**
|
|
743
743
|
* 定义simple item
|
|
744
744
|
* @param descriptor simple组件描述
|
|
745
|
+
* @param name 名称
|
|
745
746
|
* @returns
|
|
746
747
|
*/
|
|
747
|
-
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor): {
|
|
748
|
+
export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor, name?: string): {
|
|
748
749
|
emitEvent: (type: string, ...args: any[]) => void;
|
|
749
750
|
onEvent: (type: string, listener: EventListener_2) => void;
|
|
750
751
|
offEvent: (type: string, listener: EventListener_2) => void;
|