@fox-js/foxui 4.0.1-85 → 4.0.1-87
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 +4399 -4379
- package/dist/index.umd.js +2 -2
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +34 -3
- package/package.json +1 -1
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -1434,7 +1443,28 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1434
1443
|
* 获取是否为虚拟页面范围
|
|
1435
1444
|
* @param defaultValue
|
|
1436
1445
|
*/
|
|
1437
|
-
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;
|
|
1438
1468
|
|
|
1439
1469
|
/**
|
|
1440
1470
|
* 获取是否为内部页面范围
|
|
@@ -1886,10 +1916,11 @@ export declare function property<T>(source: Ref, name: string, policy?: Priority
|
|
|
1886
1916
|
|
|
1887
1917
|
/**
|
|
1888
1918
|
* 设置虚拟页面范围
|
|
1889
|
-
*
|
|
1919
|
+
* 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
|
|
1920
|
+
* 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
|
|
1890
1921
|
* @param value
|
|
1891
1922
|
*/
|
|
1892
|
-
export declare function provideAbstractPageScope(value: boolean): void;
|
|
1923
|
+
export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
|
|
1893
1924
|
|
|
1894
1925
|
/**
|
|
1895
1926
|
* 设置内部页面范围
|