@fox-js/foxui 4.0.1-84 → 4.0.1-86

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.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
@@ -1,3 +1,3 @@
1
1
  /*!
2
- * @fox-js/foxui-base v4.0.0 2026-04-01T08:44:04.853Z
2
+ * @fox-js/foxui-base v4.0.0 2026-04-20T14:37:55.477Z
3
3
  */
@@ -19,6 +19,15 @@ import { ValidateMessages } from '@fox-js/validator';
19
19
  import { ValidateResult } from '@fox-js/validator';
20
20
  import { VNode } from 'vue';
21
21
 
22
+ /**
23
+ * 虚拟页面范围
24
+ */
25
+ export declare type AbstractPageScope = {
26
+ headerBar?: boolean;
27
+ footerBar?: boolean;
28
+ content?: boolean;
29
+ };
30
+
22
31
  /**
23
32
  * abstract page scope key(虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件)
24
33
  */
@@ -155,6 +164,13 @@ export declare interface BroadcastCallback {
155
164
  */
156
165
  export declare const BroadcastKey: unique symbol;
157
166
 
167
+ /**
168
+ * 浏览模式属性
169
+ * @param source
170
+ * @returns
171
+ */
172
+ export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
173
+
158
174
  export declare function cancelRaf(id: number): void;
159
175
 
160
176
  /**
@@ -835,6 +851,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
835
851
  */
836
852
  export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
837
853
 
854
+ /**
855
+ * 定义domain item属性
856
+ */
857
+ export declare function defineDomainItemProperty(props: {
858
+ disabled?: boolean | string;
859
+ readonly?: boolean | string;
860
+ browse?: 'off' | 'on';
861
+ }): {
862
+ innerDisabled: Ref<boolean, boolean>;
863
+ disabled: Ref<boolean, boolean>;
864
+ innerReadonly: Ref<boolean, boolean>;
865
+ readonly: Ref<boolean, boolean>;
866
+ browse: Ref<"on" | "off", "on" | "off">;
867
+ };
868
+
838
869
  /**
839
870
  * 定义domain item
840
871
  * @returns
@@ -936,7 +967,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
936
967
  * 禁用属性
937
968
  * @param source
938
969
  */
939
- export declare function disabledProperty(source: Ref): Ref;
970
+ export declare function disabledProperty(source: Ref): Ref<boolean>;
940
971
 
941
972
  export { divide }
942
973
 
@@ -1412,7 +1443,28 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
1412
1443
  * 获取是否为虚拟页面范围
1413
1444
  * @param defaultValue
1414
1445
  */
1415
- export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
1446
+ export declare function injectAbstractPageScope(defaultValue?: boolean): boolean | AbstractPageScope;
1447
+
1448
+ /**
1449
+ * 获取content是否为虚拟页面范围
1450
+ * @param defaultValue
1451
+ * @returns
1452
+ */
1453
+ export declare function injectAbstractPageScopeForContent(defaultValue?: boolean): boolean;
1454
+
1455
+ /**
1456
+ * 获取footerBar是否为虚拟页面范围
1457
+ * @param defaultValue
1458
+ * @returns
1459
+ */
1460
+ export declare function injectAbstractPageScopeForFooterBar(defaultValue?: boolean): boolean;
1461
+
1462
+ /**
1463
+ * 获取headerBar是否为虚拟页面范围
1464
+ * @param defaultValue
1465
+ * @returns
1466
+ */
1467
+ export declare function injectAbstractPageScopeForHeaderBar(defaultValue?: boolean): boolean;
1416
1468
 
1417
1469
  /**
1418
1470
  * 获取是否为内部页面范围
@@ -1860,14 +1912,15 @@ export declare enum PriorityPolicy {
1860
1912
  * @param policy
1861
1913
  * @param filter
1862
1914
  */
1863
- export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1915
+ export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
1864
1916
 
1865
1917
  /**
1866
1918
  * 设置虚拟页面范围
1867
- * 虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件
1919
+ * 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
1920
+ * 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
1868
1921
  * @param value
1869
1922
  */
1870
- export declare function provideAbstractPageScope(value: boolean): void;
1923
+ export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
1871
1924
 
1872
1925
  /**
1873
1926
  * 设置内部页面范围
@@ -1889,7 +1942,7 @@ export declare const raf: any;
1889
1942
  * 只读属性
1890
1943
  * @param source
1891
1944
  */
1892
- export declare function readonlyProperty(source: Ref): Ref;
1945
+ export declare function readonlyProperty(source: Ref): Ref<boolean>;
1893
1946
 
1894
1947
  export declare interface Rect {
1895
1948
  top: number;
@@ -2386,7 +2439,7 @@ export declare class ValidateSchema {
2386
2439
  export declare const ValidateSchemaKey: unique symbol;
2387
2440
 
2388
2441
  /**
2389
- * value 格式话
2442
+ * value 格式化
2390
2443
  */
2391
2444
  export declare interface ValueFormat<T, K> {
2392
2445
  (value: T): K;
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-84",
4
+ "version": "4.0.1-86",
5
5
  "description": "FoxUI轻量级移动端组件库(支持小程序开发)",
6
6
  "author": "jiangcheng",
7
7
  "main": "./dist/index.umd.js",