@bscjc/webui 1.4.0 → 1.4.1
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/components/JcColumnConfig/index.d.ts +15 -0
- package/dist/components/JcColumnConfig/index.vue.d.ts +9 -0
- package/dist/components/JcColumnConfig/types.d.ts +2 -0
- package/dist/components/JcColumnConfig/useColumnConfig.d.ts +2 -0
- package/dist/es/index.mjs +1462 -1427
- package/dist/index.css +2 -2
- package/dist/lib/index.cjs +8 -8
- package/dist/types/components/JcColumnConfig/index.d.ts +15 -0
- package/dist/types/components/JcColumnConfig/index.vue.d.ts +9 -0
- package/dist/types/components/JcColumnConfig/types.d.ts +2 -0
- package/dist/types/components/JcColumnConfig/useColumnConfig.d.ts +2 -0
- package/package.json +2 -2
|
@@ -28,6 +28,10 @@ export declare const JcColumnConfig: {
|
|
|
28
28
|
type: import("vue").PropType<import("./types").ColumnGroupConfig[]>;
|
|
29
29
|
default: () => never[];
|
|
30
30
|
};
|
|
31
|
+
defaultVisibleFields: {
|
|
32
|
+
type: import("vue").PropType<string[]>;
|
|
33
|
+
default: () => never[];
|
|
34
|
+
};
|
|
31
35
|
}>> & Readonly<{
|
|
32
36
|
onChange?: ((config: import("./types").ColumnConfig[]) => any) | undefined;
|
|
33
37
|
onReset?: (() => any) | undefined;
|
|
@@ -57,6 +61,7 @@ export declare const JcColumnConfig: {
|
|
|
57
61
|
lockFieldList: string[];
|
|
58
62
|
maxFixedCount: number;
|
|
59
63
|
storagePrefix: string;
|
|
64
|
+
defaultVisibleFields: string[];
|
|
60
65
|
itemWidth: number;
|
|
61
66
|
drawerWidth: string;
|
|
62
67
|
columnGroups: import("./types").ColumnGroupConfig[];
|
|
@@ -96,6 +101,10 @@ export declare const JcColumnConfig: {
|
|
|
96
101
|
type: import("vue").PropType<import("./types").ColumnGroupConfig[]>;
|
|
97
102
|
default: () => never[];
|
|
98
103
|
};
|
|
104
|
+
defaultVisibleFields: {
|
|
105
|
+
type: import("vue").PropType<string[]>;
|
|
106
|
+
default: () => never[];
|
|
107
|
+
};
|
|
99
108
|
}>> & Readonly<{
|
|
100
109
|
onChange?: ((config: import("./types").ColumnConfig[]) => any) | undefined;
|
|
101
110
|
onReset?: (() => any) | undefined;
|
|
@@ -117,6 +126,7 @@ export declare const JcColumnConfig: {
|
|
|
117
126
|
lockFieldList: string[];
|
|
118
127
|
maxFixedCount: number;
|
|
119
128
|
storagePrefix: string;
|
|
129
|
+
defaultVisibleFields: string[];
|
|
120
130
|
itemWidth: number;
|
|
121
131
|
drawerWidth: string;
|
|
122
132
|
columnGroups: import("./types").ColumnGroupConfig[];
|
|
@@ -153,6 +163,10 @@ export declare const JcColumnConfig: {
|
|
|
153
163
|
type: import("vue").PropType<import("./types").ColumnGroupConfig[]>;
|
|
154
164
|
default: () => never[];
|
|
155
165
|
};
|
|
166
|
+
defaultVisibleFields: {
|
|
167
|
+
type: import("vue").PropType<string[]>;
|
|
168
|
+
default: () => never[];
|
|
169
|
+
};
|
|
156
170
|
}>> & Readonly<{
|
|
157
171
|
onChange?: ((config: import("./types").ColumnConfig[]) => any) | undefined;
|
|
158
172
|
onReset?: (() => any) | undefined;
|
|
@@ -182,6 +196,7 @@ export declare const JcColumnConfig: {
|
|
|
182
196
|
lockFieldList: string[];
|
|
183
197
|
maxFixedCount: number;
|
|
184
198
|
storagePrefix: string;
|
|
199
|
+
defaultVisibleFields: string[];
|
|
185
200
|
itemWidth: number;
|
|
186
201
|
drawerWidth: string;
|
|
187
202
|
columnGroups: import("./types").ColumnGroupConfig[];
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
type: PropType<ColumnGroupConfig[]>;
|
|
31
31
|
default: () => never[];
|
|
32
32
|
};
|
|
33
|
+
defaultVisibleFields: {
|
|
34
|
+
type: PropType<string[]>;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
33
37
|
}>, {
|
|
34
38
|
openDrawer: () => void;
|
|
35
39
|
closeDrawer: () => void;
|
|
@@ -75,6 +79,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
79
|
type: PropType<ColumnGroupConfig[]>;
|
|
76
80
|
default: () => never[];
|
|
77
81
|
};
|
|
82
|
+
defaultVisibleFields: {
|
|
83
|
+
type: PropType<string[]>;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
78
86
|
}>> & Readonly<{
|
|
79
87
|
onChange?: ((config: ColumnConfig[]) => any) | undefined;
|
|
80
88
|
onReset?: (() => any) | undefined;
|
|
@@ -88,6 +96,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
88
96
|
lockFieldList: string[];
|
|
89
97
|
maxFixedCount: number;
|
|
90
98
|
storagePrefix: string;
|
|
99
|
+
defaultVisibleFields: string[];
|
|
91
100
|
itemWidth: number;
|
|
92
101
|
drawerWidth: string;
|
|
93
102
|
columnGroups: ColumnGroupConfig[];
|
|
@@ -10,6 +10,8 @@ export interface UseColumnConfigOptions {
|
|
|
10
10
|
maxFixedCount: Ref<number>;
|
|
11
11
|
storagePrefix: Ref<string>;
|
|
12
12
|
columnGroupsConfig: Ref<ColumnGroupConfig[]>;
|
|
13
|
+
/** 默认可见的字段列表(仅这些字段可见,其他隐藏) */
|
|
14
|
+
defaultVisibleFields: Ref<string[]>;
|
|
13
15
|
}
|
|
14
16
|
export declare function useColumnConfig(options: UseColumnConfigOptions): {
|
|
15
17
|
allColumns: Ref<{
|