@fox-js/foxui-pad 4.1.1-22 → 4.1.1-24
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 +3172 -3151
- 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
|
*/
|
|
@@ -1411,7 +1420,28 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1411
1420
|
* 获取是否为虚拟页面范围
|
|
1412
1421
|
* @param defaultValue
|
|
1413
1422
|
*/
|
|
1414
|
-
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
|
|
1423
|
+
export declare function injectAbstractPageScope(defaultValue?: boolean): boolean | AbstractPageScope;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 获取content是否为虚拟页面范围
|
|
1427
|
+
* @param defaultValue
|
|
1428
|
+
* @returns
|
|
1429
|
+
*/
|
|
1430
|
+
export declare function injectAbstractPageScopeForContent(defaultValue?: boolean): boolean;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* 获取footerBar是否为虚拟页面范围
|
|
1434
|
+
* @param defaultValue
|
|
1435
|
+
* @returns
|
|
1436
|
+
*/
|
|
1437
|
+
export declare function injectAbstractPageScopeForFooterBar(defaultValue?: boolean): boolean;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* 获取headerBar是否为虚拟页面范围
|
|
1441
|
+
* @param defaultValue
|
|
1442
|
+
* @returns
|
|
1443
|
+
*/
|
|
1444
|
+
export declare function injectAbstractPageScopeForHeaderBar(defaultValue?: boolean): boolean;
|
|
1415
1445
|
|
|
1416
1446
|
/**
|
|
1417
1447
|
* 获取是否为内部页面范围
|
|
@@ -1789,10 +1819,11 @@ export declare function property<T>(source: Ref, name: string, policy?: Priority
|
|
|
1789
1819
|
|
|
1790
1820
|
/**
|
|
1791
1821
|
* 设置虚拟页面范围
|
|
1792
|
-
*
|
|
1822
|
+
* 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
|
|
1823
|
+
* 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
|
|
1793
1824
|
* @param value
|
|
1794
1825
|
*/
|
|
1795
|
-
export declare function provideAbstractPageScope(value: boolean): void;
|
|
1826
|
+
export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
|
|
1796
1827
|
|
|
1797
1828
|
/**
|
|
1798
1829
|
* 设置内部页面范围
|