@juzhenfe/page-model 3.16.0 → 3.16.2
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/column-filter-tools/index.vue.d.ts +1 -0
- package/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +8 -0
- package/dist/components/table/components/table-column/components/filter-zone/utils/index.d.ts +28 -2
- package/dist/components/table/components/table-column/index.vue.d.ts +5 -0
- package/dist/index.es.js +360 -245
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/main.d.ts +3 -1
- package/package.json +1 -1
|
@@ -115,6 +115,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
115
115
|
value: FilterMatchModeEnum;
|
|
116
116
|
}[];
|
|
117
117
|
};
|
|
118
|
+
readonly noValueOptions: FilterMatchModeEnum[];
|
|
118
119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "screen")[], "closed" | "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
119
120
|
manager: {
|
|
120
121
|
type: any;
|
|
@@ -19,6 +19,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
19
19
|
}>;
|
|
20
20
|
filterMultiple: import("vue").Ref<boolean>;
|
|
21
21
|
hasCompare: import("vue").Ref<boolean>;
|
|
22
|
+
isShowFilter: import("vue").Ref<boolean>;
|
|
23
|
+
filterKeywords: import("vue").Ref<string>;
|
|
22
24
|
filterList: import("vue").Ref<{
|
|
23
25
|
prop: string;
|
|
24
26
|
filterType?: FilterItemTypeEnum;
|
|
@@ -30,6 +32,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
32
|
condition?: FilterMatchModeEnum;
|
|
31
33
|
value?: any;
|
|
32
34
|
}[]>;
|
|
35
|
+
filterOptions: import("vue").ComputedRef<any[]>;
|
|
33
36
|
multSelectDatas: import("vue").ComputedRef<{
|
|
34
37
|
[key: string]: {
|
|
35
38
|
modelValue: boolean;
|
|
@@ -53,6 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
53
56
|
handleAddFilterItem: () => void;
|
|
54
57
|
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
55
58
|
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
59
|
+
readonly Search: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
56
60
|
readonly FilterItemTypeEnum: typeof FilterItemTypeEnum;
|
|
57
61
|
readonly compareOptions: {
|
|
58
62
|
string: {
|
|
@@ -61,6 +65,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
61
65
|
}[];
|
|
62
66
|
number: {
|
|
63
67
|
label: string;
|
|
68
|
+
/**
|
|
69
|
+
* 多选列的标记
|
|
70
|
+
*/
|
|
64
71
|
value: FilterMatchModeEnum;
|
|
65
72
|
}[];
|
|
66
73
|
date: {
|
|
@@ -68,6 +75,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
68
75
|
value: FilterMatchModeEnum;
|
|
69
76
|
}[];
|
|
70
77
|
};
|
|
78
|
+
readonly noValueOptions: FilterMatchModeEnum[];
|
|
71
79
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "screen"[], "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
80
|
tableManager: {
|
|
73
81
|
type: ObjectConstructor;
|
package/dist/components/table/components/table-column/components/filter-zone/utils/index.d.ts
CHANGED
|
@@ -25,9 +25,18 @@ export declare enum FilterMatchModeEnum {
|
|
|
25
25
|
大于 = "gt",
|
|
26
26
|
小于 = "lt",
|
|
27
27
|
大于等于 = "ge",
|
|
28
|
-
小于等于 = "le"
|
|
28
|
+
小于等于 = "le",
|
|
29
|
+
是null值 = "isNull",
|
|
30
|
+
不是null值 = "isNotNull",
|
|
31
|
+
是空字符串 = "isEmptyString",
|
|
32
|
+
不是空字符串 = "isNotEmptyString",
|
|
33
|
+
是空值 = "isEmpty",
|
|
34
|
+
不是空值 = "isNotEmpty"
|
|
29
35
|
}
|
|
30
|
-
|
|
36
|
+
/**
|
|
37
|
+
* 比较选项
|
|
38
|
+
*/
|
|
39
|
+
export declare let compareOptions: {
|
|
31
40
|
string: {
|
|
32
41
|
label: string;
|
|
33
42
|
value: FilterMatchModeEnum;
|
|
@@ -41,3 +50,20 @@ export declare const compareOptions: {
|
|
|
41
50
|
value: FilterMatchModeEnum;
|
|
42
51
|
}[];
|
|
43
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* 修改比较选项
|
|
55
|
+
*/
|
|
56
|
+
export declare const updateCompareOptions: (_compareOptions: {
|
|
57
|
+
[key: string]: {
|
|
58
|
+
label: string;
|
|
59
|
+
value: any;
|
|
60
|
+
}[];
|
|
61
|
+
}) => void;
|
|
62
|
+
/**
|
|
63
|
+
* 不需要值的选项
|
|
64
|
+
*/
|
|
65
|
+
export declare let noValueOptions: FilterMatchModeEnum[];
|
|
66
|
+
/**
|
|
67
|
+
* 修改不需要值的选项
|
|
68
|
+
*/
|
|
69
|
+
export declare const updateCompareNoValueOptions: (_noValueOptions: string[]) => void;
|
|
@@ -231,6 +231,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
231
231
|
}>;
|
|
232
232
|
filterMultiple: import("vue").Ref<boolean>;
|
|
233
233
|
hasCompare: import("vue").Ref<boolean>;
|
|
234
|
+
isShowFilter: import("vue").Ref<boolean>;
|
|
235
|
+
filterKeywords: import("vue").Ref<string>;
|
|
234
236
|
filterList: import("vue").Ref<{
|
|
235
237
|
prop: string;
|
|
236
238
|
filterType?: import("./components/filter-zone/utils").FilterItemTypeEnum;
|
|
@@ -242,6 +244,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
242
244
|
condition?: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
243
245
|
value?: any;
|
|
244
246
|
}[]>;
|
|
247
|
+
filterOptions: import("vue").ComputedRef<any[]>;
|
|
245
248
|
multSelectDatas: import("vue").ComputedRef<{
|
|
246
249
|
[key: string]: {
|
|
247
250
|
modelValue: boolean;
|
|
@@ -265,6 +268,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
265
268
|
handleAddFilterItem: () => void;
|
|
266
269
|
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
267
270
|
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
271
|
+
readonly Search: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
268
272
|
readonly FilterItemTypeEnum: typeof import("./components/filter-zone/utils").FilterItemTypeEnum;
|
|
269
273
|
readonly compareOptions: {
|
|
270
274
|
string: {
|
|
@@ -280,6 +284,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
280
284
|
value: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
281
285
|
}[];
|
|
282
286
|
};
|
|
287
|
+
readonly noValueOptions: import("./components/filter-zone/utils").FilterMatchModeEnum[];
|
|
283
288
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "screen"[], "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
284
289
|
tableManager: {
|
|
285
290
|
type: ObjectConstructor;
|