@94ai/nf-search-form 6.1.11 → 6.1.12
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/lib/nf-column-check-dialog.vue.d.ts +150 -150
- package/lib/nf-column-check-drawer.vue.d.ts +105 -105
- package/lib/nf-number-range.vue.d.ts +68 -68
- package/lib/nf-search-form-item.vue.d.ts +112 -112
- package/lib/nf-search-form.cjs.js +14 -7
- package/lib/nf-search-form.esm-bundler.js +14 -7
- package/lib/nf-time-range.vue.d.ts +42 -42
- package/lib/style/css.d.ts +1 -1
- package/lib/style/index.d.ts +1 -1
- package/lib/types.d.ts +70 -70
- package/package/nf-search-form.vue +15 -6
- package/package.json +19 -19
- package/components.d.ts +0 -8
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import { NfSearchFormItemOption } from '@94ai/nf-search-form/lib/types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
value?: any;
|
|
4
|
-
itemOptions?: NfSearchFormItemOption | undefined;
|
|
5
|
-
itemWidth?: number | undefined;
|
|
6
|
-
nfSearchFormModel?: Record<string, any> | undefined;
|
|
7
|
-
}>, {
|
|
8
|
-
value: undefined;
|
|
9
|
-
itemOptions: () => {};
|
|
10
|
-
itemWidth: number;
|
|
11
|
-
nfSearchFormModel: () => {};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
13
|
-
input: (event: any) => void;
|
|
14
|
-
"update:value": (event: any) => void;
|
|
15
|
-
handleChangeProps: (event: string[]) => void;
|
|
16
|
-
}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
-
value?: any;
|
|
18
|
-
itemOptions?: NfSearchFormItemOption | undefined;
|
|
19
|
-
itemWidth?: number | undefined;
|
|
20
|
-
nfSearchFormModel?: Record<string, any> | undefined;
|
|
21
|
-
}>, {
|
|
22
|
-
value: undefined;
|
|
23
|
-
itemOptions: () => {};
|
|
24
|
-
itemWidth: number;
|
|
25
|
-
nfSearchFormModel: () => {};
|
|
26
|
-
}>>>, {
|
|
27
|
-
value: any;
|
|
28
|
-
itemOptions: NfSearchFormItemOption;
|
|
29
|
-
itemWidth: number;
|
|
30
|
-
nfSearchFormModel: Record<string, any>;
|
|
31
|
-
}>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
|
|
32
|
-
slot: string;
|
|
33
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
34
|
-
slot: string;
|
|
35
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
36
|
-
slot: string;
|
|
37
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
38
|
-
slot: string;
|
|
39
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
40
|
-
slot: string;
|
|
41
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
42
|
-
slot: string;
|
|
43
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
44
|
-
slot: string;
|
|
45
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
46
|
-
slot: string;
|
|
47
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
48
|
-
slot: string;
|
|
49
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
50
|
-
slot: string;
|
|
51
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
52
|
-
slot: string;
|
|
53
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
54
|
-
slot: string;
|
|
55
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
56
|
-
slot: string;
|
|
57
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
58
|
-
slot: string;
|
|
59
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
60
|
-
slot: string;
|
|
61
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
62
|
-
slot: string;
|
|
63
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
64
|
-
slot: string;
|
|
65
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
66
|
-
slot: string;
|
|
67
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
68
|
-
slot: string;
|
|
69
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
70
|
-
slot: string;
|
|
71
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
72
|
-
slot: string;
|
|
73
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
74
|
-
slot: string;
|
|
75
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
76
|
-
slot: string;
|
|
77
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
78
|
-
slot: string;
|
|
79
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
80
|
-
slot: string;
|
|
81
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
82
|
-
slot: string;
|
|
83
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
84
|
-
slot: string;
|
|
85
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
86
|
-
slot: string;
|
|
87
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
88
|
-
slot: string;
|
|
89
|
-
}) => any>> & Partial<Record<string, (_: {}) => any>>>;
|
|
90
|
-
export default _default;
|
|
91
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
93
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
-
} : {
|
|
96
|
-
type: import('vue').PropType<T[K]>;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
101
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
102
|
-
default: D[K];
|
|
103
|
-
}> : P[K];
|
|
104
|
-
};
|
|
105
|
-
declare type __VLS_Prettify<T> = {
|
|
106
|
-
[K in keyof T]: T[K];
|
|
107
|
-
} & {};
|
|
108
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
|
-
new (): {
|
|
110
|
-
$scopedSlots: S;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
1
|
+
import { NfSearchFormItemOption } from '@94ai/nf-search-form/lib/types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
value?: any;
|
|
4
|
+
itemOptions?: NfSearchFormItemOption | undefined;
|
|
5
|
+
itemWidth?: number | undefined;
|
|
6
|
+
nfSearchFormModel?: Record<string, any> | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
value: undefined;
|
|
9
|
+
itemOptions: () => {};
|
|
10
|
+
itemWidth: number;
|
|
11
|
+
nfSearchFormModel: () => {};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
13
|
+
input: (event: any) => void;
|
|
14
|
+
"update:value": (event: any) => void;
|
|
15
|
+
handleChangeProps: (event: string[]) => void;
|
|
16
|
+
}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
value?: any;
|
|
18
|
+
itemOptions?: NfSearchFormItemOption | undefined;
|
|
19
|
+
itemWidth?: number | undefined;
|
|
20
|
+
nfSearchFormModel?: Record<string, any> | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
value: undefined;
|
|
23
|
+
itemOptions: () => {};
|
|
24
|
+
itemWidth: number;
|
|
25
|
+
nfSearchFormModel: () => {};
|
|
26
|
+
}>>>, {
|
|
27
|
+
value: any;
|
|
28
|
+
itemOptions: NfSearchFormItemOption;
|
|
29
|
+
itemWidth: number;
|
|
30
|
+
nfSearchFormModel: Record<string, any>;
|
|
31
|
+
}>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
|
|
32
|
+
slot: string;
|
|
33
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
34
|
+
slot: string;
|
|
35
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
36
|
+
slot: string;
|
|
37
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
38
|
+
slot: string;
|
|
39
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
40
|
+
slot: string;
|
|
41
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
42
|
+
slot: string;
|
|
43
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
44
|
+
slot: string;
|
|
45
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
46
|
+
slot: string;
|
|
47
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
48
|
+
slot: string;
|
|
49
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
50
|
+
slot: string;
|
|
51
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
52
|
+
slot: string;
|
|
53
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
54
|
+
slot: string;
|
|
55
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
56
|
+
slot: string;
|
|
57
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
58
|
+
slot: string;
|
|
59
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
60
|
+
slot: string;
|
|
61
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
62
|
+
slot: string;
|
|
63
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
64
|
+
slot: string;
|
|
65
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
66
|
+
slot: string;
|
|
67
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
68
|
+
slot: string;
|
|
69
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
70
|
+
slot: string;
|
|
71
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
72
|
+
slot: string;
|
|
73
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
74
|
+
slot: string;
|
|
75
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
76
|
+
slot: string;
|
|
77
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
78
|
+
slot: string;
|
|
79
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
80
|
+
slot: string;
|
|
81
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
82
|
+
slot: string;
|
|
83
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
84
|
+
slot: string;
|
|
85
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
86
|
+
slot: string;
|
|
87
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
88
|
+
slot: string;
|
|
89
|
+
}) => any>> & Partial<Record<string, (_: {}) => any>>>;
|
|
90
|
+
export default _default;
|
|
91
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: import('vue').PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
101
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
102
|
+
default: D[K];
|
|
103
|
+
}> : P[K];
|
|
104
|
+
};
|
|
105
|
+
declare type __VLS_Prettify<T> = {
|
|
106
|
+
[K in keyof T]: T[K];
|
|
107
|
+
} & {};
|
|
108
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$scopedSlots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -8123,9 +8123,12 @@ var _sfc_render = function render6() {
|
|
|
8123
8123
|
"disabled": _vm.queryBtnDisabled
|
|
8124
8124
|
},
|
|
8125
8125
|
on: {
|
|
8126
|
-
"click":
|
|
8126
|
+
"click": () => {
|
|
8127
|
+
_vm.onNfSearchFormSearch();
|
|
8128
|
+
_vm.onNfSearchFormClick(item);
|
|
8129
|
+
}
|
|
8127
8130
|
}
|
|
8128
|
-
}, [_vm._v(_vm._s(_vm.queryBtnText) + " ")]) : ((_b = item.btnType) == null ? void 0 : _b.includes("export")) ? _c("nf-button", {
|
|
8131
|
+
}, [_vm._v(_vm._s(item.name || _vm.queryBtnText) + " ")]) : ((_b = item.btnType) == null ? void 0 : _b.includes("export")) ? _c("nf-button", {
|
|
8129
8132
|
key: "btn-" + idx,
|
|
8130
8133
|
class: (_vm.exportBtnClass || "") + " nf-btn-export",
|
|
8131
8134
|
attrs: {
|
|
@@ -8139,9 +8142,12 @@ var _sfc_render = function render6() {
|
|
|
8139
8142
|
"disabled": _vm.exportBtnDisabled
|
|
8140
8143
|
},
|
|
8141
8144
|
on: {
|
|
8142
|
-
"click":
|
|
8145
|
+
"click": () => {
|
|
8146
|
+
_vm.onNfSearchFormExport();
|
|
8147
|
+
_vm.onNfSearchFormClick(item);
|
|
8148
|
+
}
|
|
8143
8149
|
}
|
|
8144
|
-
}, [_vm._v(_vm._s(_vm.exportBtnText) + " ")]) : ((_c2 = item.btnType) == null ? void 0 : _c2.includes("reset")) ? _c("nf-button", {
|
|
8150
|
+
}, [_vm._v(_vm._s(item.name || _vm.exportBtnText) + " ")]) : ((_c2 = item.btnType) == null ? void 0 : _c2.includes("reset")) ? _c("nf-button", {
|
|
8145
8151
|
key: "btn-" + idx,
|
|
8146
8152
|
class: (_vm.resetBtnClass || "") + " nf-btn-reset",
|
|
8147
8153
|
attrs: {
|
|
@@ -8157,7 +8163,7 @@ var _sfc_render = function render6() {
|
|
|
8157
8163
|
on: {
|
|
8158
8164
|
"click": _vm.resetNfSearchFormModel
|
|
8159
8165
|
}
|
|
8160
|
-
}, [_vm._v(_vm._s(_vm.resetBtnText) + " ")]) : _vm.btnIsShow(item) ? _c("nf-button", {
|
|
8166
|
+
}, [_vm._v(_vm._s(item.name || _vm.resetBtnText) + " ")]) : _vm.btnIsShow(item) ? _c("nf-button", {
|
|
8161
8167
|
key: "btn-" + idx,
|
|
8162
8168
|
class: item.class,
|
|
8163
8169
|
attrs: {
|
|
@@ -8171,8 +8177,9 @@ var _sfc_render = function render6() {
|
|
|
8171
8177
|
"disabled": item.disabled || _vm.queryBtnDisabled
|
|
8172
8178
|
},
|
|
8173
8179
|
on: {
|
|
8174
|
-
"click":
|
|
8175
|
-
|
|
8180
|
+
"click": () => {
|
|
8181
|
+
_vm.onNfSearchFormClick(item);
|
|
8182
|
+
_vm.onNfSearchFormClick(item);
|
|
8176
8183
|
}
|
|
8177
8184
|
}
|
|
8178
8185
|
}, [_vm._v(_vm._s(item.name) + " ")]) : _vm._e()];
|
|
@@ -8121,9 +8121,12 @@ var _sfc_render = function render6() {
|
|
|
8121
8121
|
"disabled": _vm.queryBtnDisabled
|
|
8122
8122
|
},
|
|
8123
8123
|
on: {
|
|
8124
|
-
"click":
|
|
8124
|
+
"click": () => {
|
|
8125
|
+
_vm.onNfSearchFormSearch();
|
|
8126
|
+
_vm.onNfSearchFormClick(item);
|
|
8127
|
+
}
|
|
8125
8128
|
}
|
|
8126
|
-
}, [_vm._v(_vm._s(_vm.queryBtnText) + " ")]) : ((_b = item.btnType) == null ? void 0 : _b.includes("export")) ? _c("nf-button", {
|
|
8129
|
+
}, [_vm._v(_vm._s(item.name || _vm.queryBtnText) + " ")]) : ((_b = item.btnType) == null ? void 0 : _b.includes("export")) ? _c("nf-button", {
|
|
8127
8130
|
key: "btn-" + idx,
|
|
8128
8131
|
class: (_vm.exportBtnClass || "") + " nf-btn-export",
|
|
8129
8132
|
attrs: {
|
|
@@ -8137,9 +8140,12 @@ var _sfc_render = function render6() {
|
|
|
8137
8140
|
"disabled": _vm.exportBtnDisabled
|
|
8138
8141
|
},
|
|
8139
8142
|
on: {
|
|
8140
|
-
"click":
|
|
8143
|
+
"click": () => {
|
|
8144
|
+
_vm.onNfSearchFormExport();
|
|
8145
|
+
_vm.onNfSearchFormClick(item);
|
|
8146
|
+
}
|
|
8141
8147
|
}
|
|
8142
|
-
}, [_vm._v(_vm._s(_vm.exportBtnText) + " ")]) : ((_c2 = item.btnType) == null ? void 0 : _c2.includes("reset")) ? _c("nf-button", {
|
|
8148
|
+
}, [_vm._v(_vm._s(item.name || _vm.exportBtnText) + " ")]) : ((_c2 = item.btnType) == null ? void 0 : _c2.includes("reset")) ? _c("nf-button", {
|
|
8143
8149
|
key: "btn-" + idx,
|
|
8144
8150
|
class: (_vm.resetBtnClass || "") + " nf-btn-reset",
|
|
8145
8151
|
attrs: {
|
|
@@ -8155,7 +8161,7 @@ var _sfc_render = function render6() {
|
|
|
8155
8161
|
on: {
|
|
8156
8162
|
"click": _vm.resetNfSearchFormModel
|
|
8157
8163
|
}
|
|
8158
|
-
}, [_vm._v(_vm._s(_vm.resetBtnText) + " ")]) : _vm.btnIsShow(item) ? _c("nf-button", {
|
|
8164
|
+
}, [_vm._v(_vm._s(item.name || _vm.resetBtnText) + " ")]) : _vm.btnIsShow(item) ? _c("nf-button", {
|
|
8159
8165
|
key: "btn-" + idx,
|
|
8160
8166
|
class: item.class,
|
|
8161
8167
|
attrs: {
|
|
@@ -8169,8 +8175,9 @@ var _sfc_render = function render6() {
|
|
|
8169
8175
|
"disabled": item.disabled || _vm.queryBtnDisabled
|
|
8170
8176
|
},
|
|
8171
8177
|
on: {
|
|
8172
|
-
"click":
|
|
8173
|
-
|
|
8178
|
+
"click": () => {
|
|
8179
|
+
_vm.onNfSearchFormClick(item);
|
|
8180
|
+
_vm.onNfSearchFormClick(item);
|
|
8174
8181
|
}
|
|
8175
8182
|
}
|
|
8176
8183
|
}, [_vm._v(_vm._s(item.name) + " ")]) : _vm._e()];
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
value?: string[] | undefined;
|
|
3
|
-
endPlaceholder: string;
|
|
4
|
-
startPlaceholder: string;
|
|
5
|
-
}>, {
|
|
6
|
-
value: () => never[];
|
|
7
|
-
endPlaceholder: string;
|
|
8
|
-
startPlaceholder: string;
|
|
9
|
-
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
10
|
-
input: (event: [string | undefined, string | undefined]) => void;
|
|
11
|
-
change: (event: [string | undefined, string | undefined]) => void;
|
|
12
|
-
}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
value?: string[] | undefined;
|
|
14
|
-
endPlaceholder: string;
|
|
15
|
-
startPlaceholder: string;
|
|
16
|
-
}>, {
|
|
17
|
-
value: () => never[];
|
|
18
|
-
endPlaceholder: string;
|
|
19
|
-
startPlaceholder: string;
|
|
20
|
-
}>>>, {
|
|
21
|
-
value: string[];
|
|
22
|
-
endPlaceholder: string;
|
|
23
|
-
startPlaceholder: string;
|
|
24
|
-
}>;
|
|
25
|
-
export default _default;
|
|
26
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
declare type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
1
|
+
declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
value?: string[] | undefined;
|
|
3
|
+
endPlaceholder: string;
|
|
4
|
+
startPlaceholder: string;
|
|
5
|
+
}>, {
|
|
6
|
+
value: () => never[];
|
|
7
|
+
endPlaceholder: string;
|
|
8
|
+
startPlaceholder: string;
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
10
|
+
input: (event: [string | undefined, string | undefined]) => void;
|
|
11
|
+
change: (event: [string | undefined, string | undefined]) => void;
|
|
12
|
+
}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
value?: string[] | undefined;
|
|
14
|
+
endPlaceholder: string;
|
|
15
|
+
startPlaceholder: string;
|
|
16
|
+
}>, {
|
|
17
|
+
value: () => never[];
|
|
18
|
+
endPlaceholder: string;
|
|
19
|
+
startPlaceholder: string;
|
|
20
|
+
}>>>, {
|
|
21
|
+
value: string[];
|
|
22
|
+
endPlaceholder: string;
|
|
23
|
+
startPlaceholder: string;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
declare type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
package/lib/style/css.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/lib/style/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/lib/types.d.ts
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
interface IExchangeKey {
|
|
2
|
-
type: number;
|
|
3
|
-
value?: any;
|
|
4
|
-
}
|
|
5
|
-
export declare type NfSearchFormItemOption = {
|
|
6
|
-
key?: string;
|
|
7
|
-
_index?: number;
|
|
8
|
-
__index?: number;
|
|
9
|
-
initHidden?: boolean;
|
|
10
|
-
destory?: boolean;
|
|
11
|
-
label?: string;
|
|
12
|
-
addLabel?: string;
|
|
13
|
-
prop?: string;
|
|
14
|
-
width?: string;
|
|
15
|
-
isShowColon?: boolean;
|
|
16
|
-
hidden?: boolean;
|
|
17
|
-
required?: boolean;
|
|
18
|
-
rules?: Record<string, any>;
|
|
19
|
-
size?: 'medium' | 'small' | 'mini';
|
|
20
|
-
labelWidth?: string;
|
|
21
|
-
'is-range'?: boolean;
|
|
22
|
-
showMessage?: boolean;
|
|
23
|
-
inlineMessage?: boolean;
|
|
24
|
-
getOptions?: (callback: (options: any[]) => void, formData: Record<string, any>) => void;
|
|
25
|
-
changeProps?: string[];
|
|
26
|
-
show?: (formData: Record<string, any>) => boolean;
|
|
27
|
-
exchangeKey?: IExchangeKey;
|
|
28
|
-
category?: string;
|
|
29
|
-
initValue?: any;
|
|
30
|
-
slot?: string;
|
|
31
|
-
labelSlot?: string;
|
|
32
|
-
inputSlot?: {
|
|
33
|
-
prepend?: string;
|
|
34
|
-
append?: string;
|
|
35
|
-
suffix?: string;
|
|
36
|
-
prefix?: string;
|
|
37
|
-
doublePrepend?: string;
|
|
38
|
-
doubleAppend?: string;
|
|
39
|
-
doubleSuffix?: string;
|
|
40
|
-
doublePrefix?: string;
|
|
41
|
-
doubleSegment?: string;
|
|
42
|
-
};
|
|
43
|
-
class?: string;
|
|
44
|
-
tooltip?: {
|
|
45
|
-
slot: string;
|
|
46
|
-
};
|
|
47
|
-
type?: 'monthrange' | 'datetimerange' | 'daterange' | 'yearrange' | 'halfyearrange' | 'quarterrange' | 'date' | 'month' | 'week' | 'dates';
|
|
48
|
-
element?: 'el-input' | 'el-select' | 'custom-select' | 'ai-select' | 'ai-custom-select' | 'nf-lazy-select' | 'el-input-number' | 'el-date-picker' | 'el-cascader' | 'el-time-select' | 'el-time-picker' | 'number-range' | 'nf-date-picker' | 'nf-timezone-picker' | 'nf-quarter-picker' | 'nf-half-year-picker' | 'nf-double-year' | 'nf-double-week' | 'nf-double-half-year' | 'nf-double-quarter' | 'nf-transfer-select';
|
|
49
|
-
events?: Record<string, Function>;
|
|
50
|
-
placeholder?: string;
|
|
51
|
-
virtualList?: boolean;
|
|
52
|
-
'controls-position'?: 'right' | 'left';
|
|
53
|
-
clearable?: boolean;
|
|
54
|
-
startPlaceholder?: string;
|
|
55
|
-
rangeSeparator?: string;
|
|
56
|
-
endPlaceholder?: string;
|
|
57
|
-
defaultTime?: string[];
|
|
58
|
-
options?: {
|
|
59
|
-
label: string;
|
|
60
|
-
value: string | number;
|
|
61
|
-
}[];
|
|
62
|
-
'picker-options'?: {
|
|
63
|
-
start: string;
|
|
64
|
-
step: string;
|
|
65
|
-
end: string;
|
|
66
|
-
};
|
|
67
|
-
valueFormat?: string;
|
|
68
|
-
min?: 0;
|
|
69
|
-
};
|
|
70
|
-
export {};
|
|
1
|
+
interface IExchangeKey {
|
|
2
|
+
type: number;
|
|
3
|
+
value?: any;
|
|
4
|
+
}
|
|
5
|
+
export declare type NfSearchFormItemOption = {
|
|
6
|
+
key?: string;
|
|
7
|
+
_index?: number;
|
|
8
|
+
__index?: number;
|
|
9
|
+
initHidden?: boolean;
|
|
10
|
+
destory?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
addLabel?: string;
|
|
13
|
+
prop?: string;
|
|
14
|
+
width?: string;
|
|
15
|
+
isShowColon?: boolean;
|
|
16
|
+
hidden?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
rules?: Record<string, any>;
|
|
19
|
+
size?: 'medium' | 'small' | 'mini';
|
|
20
|
+
labelWidth?: string;
|
|
21
|
+
'is-range'?: boolean;
|
|
22
|
+
showMessage?: boolean;
|
|
23
|
+
inlineMessage?: boolean;
|
|
24
|
+
getOptions?: (callback: (options: any[]) => void, formData: Record<string, any>) => void;
|
|
25
|
+
changeProps?: string[];
|
|
26
|
+
show?: (formData: Record<string, any>) => boolean;
|
|
27
|
+
exchangeKey?: IExchangeKey;
|
|
28
|
+
category?: string;
|
|
29
|
+
initValue?: any;
|
|
30
|
+
slot?: string;
|
|
31
|
+
labelSlot?: string;
|
|
32
|
+
inputSlot?: {
|
|
33
|
+
prepend?: string;
|
|
34
|
+
append?: string;
|
|
35
|
+
suffix?: string;
|
|
36
|
+
prefix?: string;
|
|
37
|
+
doublePrepend?: string;
|
|
38
|
+
doubleAppend?: string;
|
|
39
|
+
doubleSuffix?: string;
|
|
40
|
+
doublePrefix?: string;
|
|
41
|
+
doubleSegment?: string;
|
|
42
|
+
};
|
|
43
|
+
class?: string;
|
|
44
|
+
tooltip?: {
|
|
45
|
+
slot: string;
|
|
46
|
+
};
|
|
47
|
+
type?: 'monthrange' | 'datetimerange' | 'daterange' | 'yearrange' | 'halfyearrange' | 'quarterrange' | 'date' | 'month' | 'week' | 'dates';
|
|
48
|
+
element?: 'el-input' | 'el-select' | 'custom-select' | 'ai-select' | 'ai-custom-select' | 'nf-lazy-select' | 'el-input-number' | 'el-date-picker' | 'el-cascader' | 'el-time-select' | 'el-time-picker' | 'number-range' | 'nf-date-picker' | 'nf-timezone-picker' | 'nf-quarter-picker' | 'nf-half-year-picker' | 'nf-double-year' | 'nf-double-week' | 'nf-double-half-year' | 'nf-double-quarter' | 'nf-transfer-select';
|
|
49
|
+
events?: Record<string, Function>;
|
|
50
|
+
placeholder?: string;
|
|
51
|
+
virtualList?: boolean;
|
|
52
|
+
'controls-position'?: 'right' | 'left';
|
|
53
|
+
clearable?: boolean;
|
|
54
|
+
startPlaceholder?: string;
|
|
55
|
+
rangeSeparator?: string;
|
|
56
|
+
endPlaceholder?: string;
|
|
57
|
+
defaultTime?: string[];
|
|
58
|
+
options?: {
|
|
59
|
+
label: string;
|
|
60
|
+
value: string | number;
|
|
61
|
+
}[];
|
|
62
|
+
'picker-options'?: {
|
|
63
|
+
start: string;
|
|
64
|
+
step: string;
|
|
65
|
+
end: string;
|
|
66
|
+
};
|
|
67
|
+
valueFormat?: string;
|
|
68
|
+
min?: 0;
|
|
69
|
+
};
|
|
70
|
+
export {};
|
|
@@ -101,8 +101,11 @@
|
|
|
101
101
|
:loading="queryBtnLoading"
|
|
102
102
|
:disabled="queryBtnDisabled"
|
|
103
103
|
:class="(queryBtnClass || '') + ' nf-btn-search'"
|
|
104
|
-
@click="
|
|
105
|
-
|
|
104
|
+
@click="() => {
|
|
105
|
+
onNfSearchFormSearch();
|
|
106
|
+
onNfSearchFormClick(item);
|
|
107
|
+
}"
|
|
108
|
+
>{{ item.name || queryBtnText }}
|
|
106
109
|
</nf-button>
|
|
107
110
|
<nf-button
|
|
108
111
|
v-else-if="item.btnType?.includes('export')"
|
|
@@ -116,8 +119,11 @@
|
|
|
116
119
|
:loading="exportBtnLoading"
|
|
117
120
|
:disabled="exportBtnDisabled"
|
|
118
121
|
:class="(exportBtnClass || '') + ' nf-btn-export'"
|
|
119
|
-
@click="
|
|
120
|
-
|
|
122
|
+
@click="() => {
|
|
123
|
+
onNfSearchFormExport();
|
|
124
|
+
onNfSearchFormClick(item);
|
|
125
|
+
}"
|
|
126
|
+
>{{ item.name || exportBtnText }}
|
|
121
127
|
</nf-button>
|
|
122
128
|
<nf-button
|
|
123
129
|
v-else-if="item.btnType?.includes('reset')"
|
|
@@ -132,7 +138,7 @@
|
|
|
132
138
|
:disabled="resetBtnDisabled"
|
|
133
139
|
:class="(resetBtnClass || '') + ' nf-btn-reset'"
|
|
134
140
|
@click="resetNfSearchFormModel"
|
|
135
|
-
>{{ resetBtnText }}
|
|
141
|
+
>{{ item.name || resetBtnText }}
|
|
136
142
|
</nf-button>
|
|
137
143
|
<nf-button
|
|
138
144
|
v-else-if="btnIsShow(item)"
|
|
@@ -146,7 +152,10 @@
|
|
|
146
152
|
:loading="item.loading || queryBtnLoading"
|
|
147
153
|
:disabled="item.disabled || queryBtnDisabled"
|
|
148
154
|
:class="item.class"
|
|
149
|
-
@click="
|
|
155
|
+
@click="() => {
|
|
156
|
+
onNfSearchFormClick(item);
|
|
157
|
+
onNfSearchFormClick(item);
|
|
158
|
+
}"
|
|
150
159
|
>{{ item.name }}
|
|
151
160
|
</nf-button>
|
|
152
161
|
</template>
|