@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/style.esm.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*!
2
- * @fox-js/foxui-base v4.0.0 Tue Apr 30 2024 18:45:13 GMT+0800 (中国标准时间)
2
+ * @fox-js/foxui-base v4.0.0 Thu May 09 2024 11:13:17 GMT+0800 (中国标准时间)
3
3
  */
@@ -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>): Ref;
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
  * 尝试执行多次函数
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fox-js/foxui",
3
3
  "type": "module",
4
- "version": "4.0.1-44",
4
+ "version": "4.0.1-46",
5
5
  "description": "FoxUI轻量级移动端组件库(支持小程序开发)",
6
6
  "author": "jiangcheng",
7
7
  "main": "./dist/index.umd.js",