@fox-js/foxui 4.0.1-84 → 4.0.1-85
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 +2 -2
- package/dist/index.esm.js +9409 -9234
- package/dist/index.umd.js +2 -2
- package/dist/style.css +4 -4
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +26 -4
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -2175,6 +2175,10 @@
|
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
+
.fox-tabs-pane.is-no-transition {
|
|
2179
|
+
width: 100%;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2178
2182
|
.fox-tabs-frame {
|
|
2179
2183
|
box-sizing: border-box;
|
|
2180
2184
|
display: grid;
|
|
@@ -5210,10 +5214,6 @@
|
|
|
5210
5214
|
line-height: 46px;
|
|
5211
5215
|
}
|
|
5212
5216
|
|
|
5213
|
-
.fox-theme-dark .fox-tab-pane {
|
|
5214
|
-
background: var(--fox-dark-background2, #1b1b1b);
|
|
5215
|
-
}
|
|
5216
|
-
|
|
5217
5217
|
.fox-tab-pane {
|
|
5218
5218
|
box-sizing: border-box;
|
|
5219
5219
|
word-break: break-all;
|
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -155,6 +155,13 @@ export declare interface BroadcastCallback {
|
|
|
155
155
|
*/
|
|
156
156
|
export declare const BroadcastKey: unique symbol;
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* 浏览模式属性
|
|
160
|
+
* @param source
|
|
161
|
+
* @returns
|
|
162
|
+
*/
|
|
163
|
+
export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
|
|
164
|
+
|
|
158
165
|
export declare function cancelRaf(id: number): void;
|
|
159
166
|
|
|
160
167
|
/**
|
|
@@ -835,6 +842,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
|
|
|
835
842
|
*/
|
|
836
843
|
export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
|
|
837
844
|
|
|
845
|
+
/**
|
|
846
|
+
* 定义domain item属性
|
|
847
|
+
*/
|
|
848
|
+
export declare function defineDomainItemProperty(props: {
|
|
849
|
+
disabled?: boolean | string;
|
|
850
|
+
readonly?: boolean | string;
|
|
851
|
+
browse?: 'off' | 'on';
|
|
852
|
+
}): {
|
|
853
|
+
innerDisabled: Ref<boolean, boolean>;
|
|
854
|
+
disabled: Ref<boolean, boolean>;
|
|
855
|
+
innerReadonly: Ref<boolean, boolean>;
|
|
856
|
+
readonly: Ref<boolean, boolean>;
|
|
857
|
+
browse: Ref<"on" | "off", "on" | "off">;
|
|
858
|
+
};
|
|
859
|
+
|
|
838
860
|
/**
|
|
839
861
|
* 定义domain item
|
|
840
862
|
* @returns
|
|
@@ -936,7 +958,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
|
|
|
936
958
|
* 禁用属性
|
|
937
959
|
* @param source
|
|
938
960
|
*/
|
|
939
|
-
export declare function disabledProperty(source: Ref): Ref
|
|
961
|
+
export declare function disabledProperty(source: Ref): Ref<boolean>;
|
|
940
962
|
|
|
941
963
|
export { divide }
|
|
942
964
|
|
|
@@ -1860,7 +1882,7 @@ export declare enum PriorityPolicy {
|
|
|
1860
1882
|
* @param policy
|
|
1861
1883
|
* @param filter
|
|
1862
1884
|
*/
|
|
1863
|
-
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref
|
|
1885
|
+
export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
|
|
1864
1886
|
|
|
1865
1887
|
/**
|
|
1866
1888
|
* 设置虚拟页面范围
|
|
@@ -1889,7 +1911,7 @@ export declare const raf: any;
|
|
|
1889
1911
|
* 只读属性
|
|
1890
1912
|
* @param source
|
|
1891
1913
|
*/
|
|
1892
|
-
export declare function readonlyProperty(source: Ref): Ref
|
|
1914
|
+
export declare function readonlyProperty(source: Ref): Ref<boolean>;
|
|
1893
1915
|
|
|
1894
1916
|
export declare interface Rect {
|
|
1895
1917
|
top: number;
|
|
@@ -2386,7 +2408,7 @@ export declare class ValidateSchema {
|
|
|
2386
2408
|
export declare const ValidateSchemaKey: unique symbol;
|
|
2387
2409
|
|
|
2388
2410
|
/**
|
|
2389
|
-
* value
|
|
2411
|
+
* value 格式化
|
|
2390
2412
|
*/
|
|
2391
2413
|
export declare interface ValueFormat<T, K> {
|
|
2392
2414
|
(value: T): K;
|