@fox-js/foxui-pad 4.1.1-21 → 4.1.1-22
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 +8689 -8467
- 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 +26 -4
- 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
|
@@ -259,6 +259,13 @@ export declare interface BroadcastCallback {
|
|
|
259
259
|
*/
|
|
260
260
|
export declare const BroadcastKey: unique symbol;
|
|
261
261
|
|
|
262
|
+
/**
|
|
263
|
+
* 浏览模式属性
|
|
264
|
+
* @param source
|
|
265
|
+
* @returns
|
|
266
|
+
*/
|
|
267
|
+
export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
|
|
268
|
+
|
|
262
269
|
export declare function cancelRaf(id: number): void;
|
|
263
270
|
|
|
264
271
|
/**
|
|
@@ -692,6 +699,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
|
|
|
692
699
|
*/
|
|
693
700
|
export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
|
|
694
701
|
|
|
702
|
+
/**
|
|
703
|
+
* 定义domain item属性
|
|
704
|
+
*/
|
|
705
|
+
export declare function defineDomainItemProperty(props: {
|
|
706
|
+
disabled?: boolean | string;
|
|
707
|
+
readonly?: boolean | string;
|
|
708
|
+
browse?: 'off' | 'on';
|
|
709
|
+
}): {
|
|
710
|
+
innerDisabled: Ref<boolean, boolean>;
|
|
711
|
+
disabled: Ref<boolean, boolean>;
|
|
712
|
+
innerReadonly: Ref<boolean, boolean>;
|
|
713
|
+
readonly: Ref<boolean, boolean>;
|
|
714
|
+
browse: Ref<"off" | "on", "off" | "on">;
|
|
715
|
+
};
|
|
716
|
+
|
|
695
717
|
/**
|
|
696
718
|
* 定义domain item
|
|
697
719
|
* @returns
|
|
@@ -745,7 +767,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
|
|
|
745
767
|
* 禁用属性
|
|
746
768
|
* @param source
|
|
747
769
|
*/
|
|
748
|
-
export declare function disabledProperty(source: Ref): Ref
|
|
770
|
+
export declare function disabledProperty(source: Ref): Ref<boolean>;
|
|
749
771
|
|
|
750
772
|
export { divide }
|
|
751
773
|
|
|
@@ -1763,7 +1785,7 @@ export declare enum PriorityPolicy {
|
|
|
1763
1785
|
* @param policy
|
|
1764
1786
|
* @param filter
|
|
1765
1787
|
*/
|
|
1766
|
-
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref
|
|
1788
|
+
export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
|
|
1767
1789
|
|
|
1768
1790
|
/**
|
|
1769
1791
|
* 设置虚拟页面范围
|
|
@@ -1785,7 +1807,7 @@ export declare const raf: any;
|
|
|
1785
1807
|
* 只读属性
|
|
1786
1808
|
* @param source
|
|
1787
1809
|
*/
|
|
1788
|
-
export declare function readonlyProperty(source: Ref): Ref
|
|
1810
|
+
export declare function readonlyProperty(source: Ref): Ref<boolean>;
|
|
1789
1811
|
|
|
1790
1812
|
/**
|
|
1791
1813
|
* Rect类型
|
|
@@ -2285,7 +2307,7 @@ export declare class ValidateSchema {
|
|
|
2285
2307
|
export declare const ValidateSchemaKey: unique symbol;
|
|
2286
2308
|
|
|
2287
2309
|
/**
|
|
2288
|
-
* value
|
|
2310
|
+
* value 格式化
|
|
2289
2311
|
*/
|
|
2290
2312
|
export declare interface ValueFormat<T, K> {
|
|
2291
2313
|
(value: T): K;
|