@fox-js/foxui 4.0.1-44 → 4.0.1-46
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 +4 -4
- package/dist/index.esm.js +4592 -4562
- package/dist/index.umd.js +4 -4
- package/dist/locale/index.esm.js +1 -1
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +13 -1
- package/package.json +1 -1
package/dist/style.esm.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -851,6 +851,16 @@ export declare function defineItem(descriptor: Descriptor, name?: string, expose
|
|
|
851
851
|
*/
|
|
852
852
|
export declare function definePageState(domain: Domain, overrideProps?: Record<string, unknown>): UnwrapNestedRefs<PageState> | null;
|
|
853
853
|
|
|
854
|
+
/**
|
|
855
|
+
* 定义simple item
|
|
856
|
+
* @returns
|
|
857
|
+
*/
|
|
858
|
+
export declare function defineSimpleItem(): {
|
|
859
|
+
emitEvent: (type: string, ...args: any[]) => void;
|
|
860
|
+
onEvent: (type: string, listener: EventListener_2) => void;
|
|
861
|
+
offEvent: (type: string, listener: EventListener_2) => void;
|
|
862
|
+
};
|
|
863
|
+
|
|
854
864
|
/**
|
|
855
865
|
* 删除公共校验器
|
|
856
866
|
* @param type
|
|
@@ -1789,7 +1799,9 @@ export declare const toTypeString: (value: unknown) => string;
|
|
|
1789
1799
|
* @param format
|
|
1790
1800
|
* @returns
|
|
1791
1801
|
*/
|
|
1792
|
-
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>
|
|
1802
|
+
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any> | null, emitEvent?: {
|
|
1803
|
+
(type: string, ...args: any[]): void;
|
|
1804
|
+
}): Ref;
|
|
1793
1805
|
|
|
1794
1806
|
/**
|
|
1795
1807
|
* 尝试执行多次函数
|