@fox-js/foxui-pc 4.1.1-28 → 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 +7905 -7701
- package/dist/index.umd.js +1 -1
- package/dist/style.css +4 -0
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +26 -4
- package/package.json +1 -1
package/dist/style.css
CHANGED
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -259,6 +259,13 @@ export declare interface BroadcastCallback {
|
|
|
259
259
|
*/
|
|
260
260
|
export declare const BroadcastKey: unique symbol;
|
|
261
261
|
|
|
262
|
+
/**
|
|
263
|
+
* 浏览模式属性
|
|
264
|
+
* @param source
|
|
265
|
+
* @returns
|
|
266
|
+
*/
|
|
267
|
+
export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
|
|
268
|
+
|
|
262
269
|
export declare function cancelRaf(id: number): void;
|
|
263
270
|
|
|
264
271
|
/**
|
|
@@ -660,6 +667,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
|
|
|
660
667
|
*/
|
|
661
668
|
export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
|
|
662
669
|
|
|
670
|
+
/**
|
|
671
|
+
* 定义domain item属性
|
|
672
|
+
*/
|
|
673
|
+
export declare function defineDomainItemProperty(props: {
|
|
674
|
+
disabled?: boolean | string;
|
|
675
|
+
readonly?: boolean | string;
|
|
676
|
+
browse?: 'off' | 'on';
|
|
677
|
+
}): {
|
|
678
|
+
innerDisabled: Ref<boolean, boolean>;
|
|
679
|
+
disabled: Ref<boolean, boolean>;
|
|
680
|
+
innerReadonly: Ref<boolean, boolean>;
|
|
681
|
+
readonly: Ref<boolean, boolean>;
|
|
682
|
+
browse: Ref<"off" | "on", "off" | "on">;
|
|
683
|
+
};
|
|
684
|
+
|
|
663
685
|
/**
|
|
664
686
|
* 定义domain item
|
|
665
687
|
* @returns
|
|
@@ -713,7 +735,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
|
|
|
713
735
|
* 禁用属性
|
|
714
736
|
* @param source
|
|
715
737
|
*/
|
|
716
|
-
export declare function disabledProperty(source: Ref): Ref
|
|
738
|
+
export declare function disabledProperty(source: Ref): Ref<boolean>;
|
|
717
739
|
|
|
718
740
|
export { divide }
|
|
719
741
|
|
|
@@ -1731,7 +1753,7 @@ export declare enum PriorityPolicy {
|
|
|
1731
1753
|
* @param policy
|
|
1732
1754
|
* @param filter
|
|
1733
1755
|
*/
|
|
1734
|
-
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref
|
|
1756
|
+
export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
|
|
1735
1757
|
|
|
1736
1758
|
/**
|
|
1737
1759
|
* 设置虚拟页面范围
|
|
@@ -1753,7 +1775,7 @@ export declare const raf: any;
|
|
|
1753
1775
|
* 只读属性
|
|
1754
1776
|
* @param source
|
|
1755
1777
|
*/
|
|
1756
|
-
export declare function readonlyProperty(source: Ref): Ref
|
|
1778
|
+
export declare function readonlyProperty(source: Ref): Ref<boolean>;
|
|
1757
1779
|
|
|
1758
1780
|
/**
|
|
1759
1781
|
* Rect类型
|
|
@@ -2253,7 +2275,7 @@ export declare class ValidateSchema {
|
|
|
2253
2275
|
export declare const ValidateSchemaKey: unique symbol;
|
|
2254
2276
|
|
|
2255
2277
|
/**
|
|
2256
|
-
* value
|
|
2278
|
+
* value 格式化
|
|
2257
2279
|
*/
|
|
2258
2280
|
export declare interface ValueFormat<T, K> {
|
|
2259
2281
|
(value: T): K;
|