@fox-js/foxui-pad 4.1.1-21 → 4.1.1-23
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 +8677 -8430
- package/dist/index.umd.js +1 -1
- package/dist/style.css +7 -14
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +60 -7
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -2154,6 +2154,10 @@
|
|
|
2154
2154
|
margin-top: 10px;
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
|
+
.fox-tabs-pane.is-no-transition {
|
|
2158
|
+
width: 100%;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2157
2161
|
.fox-tabs-frame {
|
|
2158
2162
|
box-sizing: border-box;
|
|
2159
2163
|
display: grid;
|
|
@@ -2788,20 +2792,9 @@
|
|
|
2788
2792
|
}
|
|
2789
2793
|
}
|
|
2790
2794
|
|
|
2791
|
-
.fox-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
.fox-theme-dark .fox-picker__mask {
|
|
2796
|
-
background-image: linear-gradient(#1b1b1be6, #1b1b1b66), linear-gradient(0deg, #1b1b1be6, #1b1b1b66);
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
.fox-theme-dark .fox-picker__item, .fox-theme-dark .fox-picker__item-tile {
|
|
2800
|
-
color: var(--fox-dark-color, var(--fox-white, #fff));
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
.fox-picker .fox-popup {
|
|
2804
|
-
overflow-y: hidden;
|
|
2795
|
+
.fox-picker__popup {
|
|
2796
|
+
left: calc((100% - var(--fox-picker-width, 40%)) / 2) !important;
|
|
2797
|
+
width: var(--fox-picker-width, 40%) !important;
|
|
2805
2798
|
}
|
|
2806
2799
|
|
|
2807
2800
|
.fox-picker__bar {
|
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
|
*/
|
|
@@ -259,6 +268,13 @@ export declare interface BroadcastCallback {
|
|
|
259
268
|
*/
|
|
260
269
|
export declare const BroadcastKey: unique symbol;
|
|
261
270
|
|
|
271
|
+
/**
|
|
272
|
+
* 浏览模式属性
|
|
273
|
+
* @param source
|
|
274
|
+
* @returns
|
|
275
|
+
*/
|
|
276
|
+
export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
|
|
277
|
+
|
|
262
278
|
export declare function cancelRaf(id: number): void;
|
|
263
279
|
|
|
264
280
|
/**
|
|
@@ -692,6 +708,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
|
|
|
692
708
|
*/
|
|
693
709
|
export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
|
|
694
710
|
|
|
711
|
+
/**
|
|
712
|
+
* 定义domain item属性
|
|
713
|
+
*/
|
|
714
|
+
export declare function defineDomainItemProperty(props: {
|
|
715
|
+
disabled?: boolean | string;
|
|
716
|
+
readonly?: boolean | string;
|
|
717
|
+
browse?: 'off' | 'on';
|
|
718
|
+
}): {
|
|
719
|
+
innerDisabled: Ref<boolean, boolean>;
|
|
720
|
+
disabled: Ref<boolean, boolean>;
|
|
721
|
+
innerReadonly: Ref<boolean, boolean>;
|
|
722
|
+
readonly: Ref<boolean, boolean>;
|
|
723
|
+
browse: Ref<"off" | "on", "off" | "on">;
|
|
724
|
+
};
|
|
725
|
+
|
|
695
726
|
/**
|
|
696
727
|
* 定义domain item
|
|
697
728
|
* @returns
|
|
@@ -745,7 +776,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
|
|
|
745
776
|
* 禁用属性
|
|
746
777
|
* @param source
|
|
747
778
|
*/
|
|
748
|
-
export declare function disabledProperty(source: Ref): Ref
|
|
779
|
+
export declare function disabledProperty(source: Ref): Ref<boolean>;
|
|
749
780
|
|
|
750
781
|
export { divide }
|
|
751
782
|
|
|
@@ -1389,7 +1420,28 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1389
1420
|
* 获取是否为虚拟页面范围
|
|
1390
1421
|
* @param defaultValue
|
|
1391
1422
|
*/
|
|
1392
|
-
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;
|
|
1393
1445
|
|
|
1394
1446
|
/**
|
|
1395
1447
|
* 获取是否为内部页面范围
|
|
@@ -1763,14 +1815,15 @@ export declare enum PriorityPolicy {
|
|
|
1763
1815
|
* @param policy
|
|
1764
1816
|
* @param filter
|
|
1765
1817
|
*/
|
|
1766
|
-
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref
|
|
1818
|
+
export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
|
|
1767
1819
|
|
|
1768
1820
|
/**
|
|
1769
1821
|
* 设置虚拟页面范围
|
|
1770
|
-
*
|
|
1822
|
+
* 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
|
|
1823
|
+
* 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
|
|
1771
1824
|
* @param value
|
|
1772
1825
|
*/
|
|
1773
|
-
export declare function provideAbstractPageScope(value: boolean): void;
|
|
1826
|
+
export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
|
|
1774
1827
|
|
|
1775
1828
|
/**
|
|
1776
1829
|
* 设置内部页面范围
|
|
@@ -1785,7 +1838,7 @@ export declare const raf: any;
|
|
|
1785
1838
|
* 只读属性
|
|
1786
1839
|
* @param source
|
|
1787
1840
|
*/
|
|
1788
|
-
export declare function readonlyProperty(source: Ref): Ref
|
|
1841
|
+
export declare function readonlyProperty(source: Ref): Ref<boolean>;
|
|
1789
1842
|
|
|
1790
1843
|
/**
|
|
1791
1844
|
* Rect类型
|
|
@@ -2285,7 +2338,7 @@ export declare class ValidateSchema {
|
|
|
2285
2338
|
export declare const ValidateSchemaKey: unique symbol;
|
|
2286
2339
|
|
|
2287
2340
|
/**
|
|
2288
|
-
* value
|
|
2341
|
+
* value 格式化
|
|
2289
2342
|
*/
|
|
2290
2343
|
export declare interface ValueFormat<T, K> {
|
|
2291
2344
|
(value: T): K;
|