@fox-js/foxui-pc 4.1.1-29 → 4.1.1-30
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 +2238 -2218
- package/dist/index.umd.js +1 -1
- 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
|
@@ -123,6 +123,15 @@ import { ValidateMessages } from '@fox-js/validator';
|
|
|
123
123
|
import { ValidateResult } from '@fox-js/validator';
|
|
124
124
|
import { VNode } from 'vue';
|
|
125
125
|
|
|
126
|
+
/**
|
|
127
|
+
* 虚拟页面范围
|
|
128
|
+
*/
|
|
129
|
+
export declare type AbstractPageScope = {
|
|
130
|
+
headerBar?: boolean;
|
|
131
|
+
footerBar?: boolean;
|
|
132
|
+
content?: boolean;
|
|
133
|
+
};
|
|
134
|
+
|
|
126
135
|
/**
|
|
127
136
|
* abstract page scope key(虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件)
|
|
128
137
|
*/
|
|
@@ -1379,7 +1388,28 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1379
1388
|
* 获取是否为虚拟页面范围
|
|
1380
1389
|
* @param defaultValue
|
|
1381
1390
|
*/
|
|
1382
|
-
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
|
|
1391
|
+
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean | AbstractPageScope;
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* 获取content是否为虚拟页面范围
|
|
1395
|
+
* @param defaultValue
|
|
1396
|
+
* @returns
|
|
1397
|
+
*/
|
|
1398
|
+
export declare function injectAbstractPageScopeForContent(defaultValue?: boolean): boolean;
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* 获取footerBar是否为虚拟页面范围
|
|
1402
|
+
* @param defaultValue
|
|
1403
|
+
* @returns
|
|
1404
|
+
*/
|
|
1405
|
+
export declare function injectAbstractPageScopeForFooterBar(defaultValue?: boolean): boolean;
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* 获取headerBar是否为虚拟页面范围
|
|
1409
|
+
* @param defaultValue
|
|
1410
|
+
* @returns
|
|
1411
|
+
*/
|
|
1412
|
+
export declare function injectAbstractPageScopeForHeaderBar(defaultValue?: boolean): boolean;
|
|
1383
1413
|
|
|
1384
1414
|
/**
|
|
1385
1415
|
* 获取是否为内部页面范围
|
|
@@ -1757,10 +1787,11 @@ export declare function property<T>(source: Ref, name: string, policy?: Priority
|
|
|
1757
1787
|
|
|
1758
1788
|
/**
|
|
1759
1789
|
* 设置虚拟页面范围
|
|
1760
|
-
*
|
|
1790
|
+
* 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
|
|
1791
|
+
* 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
|
|
1761
1792
|
* @param value
|
|
1762
1793
|
*/
|
|
1763
|
-
export declare function provideAbstractPageScope(value: boolean): void;
|
|
1794
|
+
export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
|
|
1764
1795
|
|
|
1765
1796
|
/**
|
|
1766
1797
|
* 设置内部页面范围
|