cnhis-design-vue 3.1.41-release.4 → 3.1.41-release.5
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/README.md +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/form-config/index.d.ts +7 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +7 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +1 -0
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/utils/dom.d.ts +2 -1
- package/es/components/form-render/src/utils/dom.js +1 -1
- package/es/components/iho-table/index.d.ts +3 -3
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +3 -3
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/recommend-search/index.d.ts +10 -10
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -0
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +2 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +905 -7553
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +42 -3313
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +456 -2787
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +18 -5
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +456 -0
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/{search-modal/set-classification.vue.d.ts → set-classification/index.vue.d.ts} +21 -813
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/const/dataOptions.d.ts +1 -25
- package/es/components/table-filter/src/const/dataOptions.js +1 -1
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +47 -1137
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +4 -14
- package/es/components/table-filter/style/index.css +1 -1
- package/es/env.d.ts +24 -24
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +64 -64
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
- package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1469
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- /package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -0
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
visible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
modalTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
conditionList: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
searchFieldList: {
|
|
15
|
+
type: ArrayConstructor;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
filterApiConfig: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => {};
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
visible: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
modalTitle: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
conditionList: {
|
|
33
|
+
type: ArrayConstructor;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
searchFieldList: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
default: () => never[];
|
|
39
|
+
};
|
|
40
|
+
filterApiConfig: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
44
|
+
}>> & {
|
|
45
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}>>;
|
|
47
|
+
emits: (event: "cancelSaveAdd", ...args: any[]) => void;
|
|
48
|
+
addVisible: import("vue").Ref<boolean>;
|
|
49
|
+
isChangeWindow: import("vue").Ref<boolean>;
|
|
50
|
+
modalWidth: import("vue").Ref<string>;
|
|
51
|
+
bodyStyle: import("vue").Ref<{
|
|
52
|
+
maxHeight: string;
|
|
53
|
+
height: string;
|
|
54
|
+
overflowY: string;
|
|
55
|
+
}>;
|
|
56
|
+
conditionApiRef: any;
|
|
57
|
+
filterTimer: any;
|
|
58
|
+
init: () => void;
|
|
59
|
+
clearTimer: () => void;
|
|
60
|
+
handleInitConditions: () => void;
|
|
61
|
+
saveAdd: () => void;
|
|
62
|
+
cancelSaveAdd: () => void;
|
|
63
|
+
clearConditions: () => void;
|
|
64
|
+
resetChangeWindow: () => void;
|
|
65
|
+
changeModalWindow: () => void;
|
|
66
|
+
NModal: any;
|
|
67
|
+
NCard: any;
|
|
68
|
+
NButton: any;
|
|
69
|
+
SearchConditionByApi: import("vue").DefineComponent<{
|
|
70
|
+
actionList_prop: {
|
|
71
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
72
|
+
default: () => {};
|
|
73
|
+
};
|
|
74
|
+
conditionList: {
|
|
75
|
+
type: ArrayConstructor;
|
|
76
|
+
default: () => never[];
|
|
77
|
+
};
|
|
78
|
+
tableId: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
searchFieldList: {
|
|
83
|
+
type: ArrayConstructor;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
86
|
+
showItemName: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
hideAddBtn: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
$message: import("naive-ui").MessageApi;
|
|
96
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
97
|
+
actionList_prop: {
|
|
98
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
99
|
+
default: () => {};
|
|
100
|
+
};
|
|
101
|
+
conditionList: {
|
|
102
|
+
type: ArrayConstructor;
|
|
103
|
+
default: () => never[];
|
|
104
|
+
};
|
|
105
|
+
tableId: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
searchFieldList: {
|
|
110
|
+
type: ArrayConstructor;
|
|
111
|
+
default: () => never[];
|
|
112
|
+
};
|
|
113
|
+
showItemName: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
hideAddBtn: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
}>> & {
|
|
122
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}>>;
|
|
125
|
+
emit: (event: "cancelSaveAdd" | "saveAdd", ...args: any[]) => void;
|
|
126
|
+
$attrs: {
|
|
127
|
+
[x: string]: unknown;
|
|
128
|
+
};
|
|
129
|
+
FormState: {
|
|
130
|
+
className: string;
|
|
131
|
+
displayCategory: string;
|
|
132
|
+
filterConditions: {
|
|
133
|
+
value: string;
|
|
134
|
+
key: string;
|
|
135
|
+
condition: string;
|
|
136
|
+
presetVal: string;
|
|
137
|
+
}[];
|
|
138
|
+
};
|
|
139
|
+
loading: import("vue").Ref<boolean>;
|
|
140
|
+
DisplayCategoryState: {
|
|
141
|
+
addDisplayCategory: string;
|
|
142
|
+
displayCategories: {
|
|
143
|
+
disabled: boolean;
|
|
144
|
+
value: string;
|
|
145
|
+
}[];
|
|
146
|
+
displayCategoryOriginLen: number;
|
|
147
|
+
showAdd: boolean;
|
|
148
|
+
};
|
|
149
|
+
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
150
|
+
editDisplayCategory: (e: any, item: import("../../types").ICategoryItemType) => void;
|
|
151
|
+
handleDisplayCategorySelect: (item: import("../../types").ICategoryItemType) => void;
|
|
152
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../types").ICategoryItemType) => void;
|
|
153
|
+
handleDisplayCategoryAdd: (e: any) => void;
|
|
154
|
+
handlerBlur: () => void;
|
|
155
|
+
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
156
|
+
FilterConditionsState: any;
|
|
157
|
+
paramOptions: import("vue").ComputedRef<any>;
|
|
158
|
+
addFilterCondition: () => void;
|
|
159
|
+
delFilterCondition: (index: number) => void;
|
|
160
|
+
updateKey: (index: number, val: any) => void;
|
|
161
|
+
updateCondition: (index: number, val: any) => void;
|
|
162
|
+
getParamCfg: (key: string) => any;
|
|
163
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../types").ISearchConfigType) => Promise<void>;
|
|
164
|
+
getRawFilterConditions: () => {
|
|
165
|
+
field_key: any;
|
|
166
|
+
con: any;
|
|
167
|
+
value: any;
|
|
168
|
+
unit: any;
|
|
169
|
+
}[];
|
|
170
|
+
findConditionByDisplayCategory: (displayCategory: string) => unknown;
|
|
171
|
+
handleDisplayCategorySelectProxy: (item: import("../../types").ICategoryItemType) => void;
|
|
172
|
+
clearFormData: () => void;
|
|
173
|
+
handleInitConditions: () => Promise<void>;
|
|
174
|
+
validate: () => Promise<unknown>;
|
|
175
|
+
saveAdd: () => void;
|
|
176
|
+
cancelSaveAdd: () => void;
|
|
177
|
+
checkActionList: () => boolean;
|
|
178
|
+
NSpin: any;
|
|
179
|
+
NIcon: any;
|
|
180
|
+
NInput: any;
|
|
181
|
+
NButton: any;
|
|
182
|
+
NTooltip: any;
|
|
183
|
+
NSelect: any;
|
|
184
|
+
AddOutline: 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<{}>>, {}>;
|
|
185
|
+
AddCircleSharp: 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<{}>>, {}>;
|
|
186
|
+
CloseOutline: 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<{}>>, {}>;
|
|
187
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
188
|
+
iconClass: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
required: true;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
title: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
required: false;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
className: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
required: false;
|
|
201
|
+
};
|
|
202
|
+
}, {
|
|
203
|
+
props: {
|
|
204
|
+
iconClass: string;
|
|
205
|
+
title: string;
|
|
206
|
+
className?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
iconName: import("vue").ComputedRef<string>;
|
|
209
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
210
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
iconClass: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
required: true;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
title: {
|
|
217
|
+
type: StringConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
className: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
required: false;
|
|
224
|
+
};
|
|
225
|
+
}>>, {
|
|
226
|
+
title: string;
|
|
227
|
+
iconClass: string;
|
|
228
|
+
}>;
|
|
229
|
+
ValueCfg: import("vue").DefineComponent<{
|
|
230
|
+
paramCfg: {
|
|
231
|
+
type: ObjectConstructor;
|
|
232
|
+
default: null;
|
|
233
|
+
};
|
|
234
|
+
modelValue: {
|
|
235
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
236
|
+
default: null;
|
|
237
|
+
};
|
|
238
|
+
presetVal: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: null;
|
|
241
|
+
};
|
|
242
|
+
}, {
|
|
243
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
244
|
+
paramCfg: {
|
|
245
|
+
type: ObjectConstructor;
|
|
246
|
+
default: null;
|
|
247
|
+
};
|
|
248
|
+
modelValue: {
|
|
249
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
250
|
+
default: null;
|
|
251
|
+
};
|
|
252
|
+
presetVal: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
default: null;
|
|
255
|
+
};
|
|
256
|
+
}>> & {
|
|
257
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
258
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
259
|
+
}>>;
|
|
260
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
|
261
|
+
valueCp: import("vue").WritableComputedRef<unknown>;
|
|
262
|
+
presetValCp: import("vue").WritableComputedRef<unknown>;
|
|
263
|
+
widgetType: import("vue").ComputedRef<any>;
|
|
264
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
265
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
266
|
+
widgetOptions: import("vue").ComputedRef<{
|
|
267
|
+
label: string;
|
|
268
|
+
value: string;
|
|
269
|
+
}[]>;
|
|
270
|
+
NInputNumber: any;
|
|
271
|
+
NInput: any;
|
|
272
|
+
NSelect: any;
|
|
273
|
+
NDatePicker: any;
|
|
274
|
+
WidgetTypeEnums: {
|
|
275
|
+
INPUT_NUMBER: string;
|
|
276
|
+
INPUT: string;
|
|
277
|
+
SELECT: string;
|
|
278
|
+
DATE: string;
|
|
279
|
+
DATE_TIME: string;
|
|
280
|
+
};
|
|
281
|
+
WidgetValEnums: {
|
|
282
|
+
CUSTOM: string;
|
|
283
|
+
FIRST_VAL: string;
|
|
284
|
+
NOW: string;
|
|
285
|
+
TODAY: string;
|
|
286
|
+
TODAY_START: string;
|
|
287
|
+
TODAY_END: string;
|
|
288
|
+
TOMORROW: string;
|
|
289
|
+
TOMORROW_START: string;
|
|
290
|
+
TOMORROW_END: string;
|
|
291
|
+
YESTERDAY: string;
|
|
292
|
+
YESTERDAY_START: string;
|
|
293
|
+
YESTERDAY_END: string;
|
|
294
|
+
THIS_WEEK: string;
|
|
295
|
+
WEEK_START: string;
|
|
296
|
+
WEEK_END: string;
|
|
297
|
+
NEXT_WEEK: string;
|
|
298
|
+
LAST_WEEK: string;
|
|
299
|
+
THIS_MONTH: string;
|
|
300
|
+
MONTH_START: string;
|
|
301
|
+
MONTH_END: string;
|
|
302
|
+
NEXT_MONTH: string;
|
|
303
|
+
LAST_MONTH: string;
|
|
304
|
+
THIS_QUARTER: string;
|
|
305
|
+
NEXT_QUARTER: string;
|
|
306
|
+
LAST_QUARTER: string;
|
|
307
|
+
THIS_YEAR: string;
|
|
308
|
+
NEXT_YEAR: string;
|
|
309
|
+
LAST_YEAR: string;
|
|
310
|
+
};
|
|
311
|
+
WidgetOptionEnums: {
|
|
312
|
+
RADIO: string;
|
|
313
|
+
MULTIPLE: string;
|
|
314
|
+
ALL: string;
|
|
315
|
+
SELECT_TIME: string;
|
|
316
|
+
PAST_TIME: string;
|
|
317
|
+
FUTURE_TIME: string;
|
|
318
|
+
};
|
|
319
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
320
|
+
paramCfg: {
|
|
321
|
+
type: ObjectConstructor;
|
|
322
|
+
default: null;
|
|
323
|
+
};
|
|
324
|
+
modelValue: {
|
|
325
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
326
|
+
default: null;
|
|
327
|
+
};
|
|
328
|
+
presetVal: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: null;
|
|
331
|
+
};
|
|
332
|
+
}>> & {
|
|
333
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
334
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
modelValue: string | number | unknown[];
|
|
337
|
+
presetVal: string;
|
|
338
|
+
paramCfg: Record<string, any>;
|
|
339
|
+
}>;
|
|
340
|
+
ConditionEnums: {
|
|
341
|
+
NULL: string;
|
|
342
|
+
EQUAL: string;
|
|
343
|
+
};
|
|
344
|
+
conditionOptions: {
|
|
345
|
+
label: string;
|
|
346
|
+
value: string;
|
|
347
|
+
}[];
|
|
348
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
+
actionList_prop: {
|
|
350
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
351
|
+
default: () => {};
|
|
352
|
+
};
|
|
353
|
+
conditionList: {
|
|
354
|
+
type: ArrayConstructor;
|
|
355
|
+
default: () => never[];
|
|
356
|
+
};
|
|
357
|
+
tableId: {
|
|
358
|
+
type: StringConstructor;
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
361
|
+
searchFieldList: {
|
|
362
|
+
type: ArrayConstructor;
|
|
363
|
+
default: () => never[];
|
|
364
|
+
};
|
|
365
|
+
showItemName: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
369
|
+
hideAddBtn: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
}>> & {
|
|
374
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
375
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
376
|
+
}, {
|
|
377
|
+
searchFieldList: unknown[];
|
|
378
|
+
tableId: string;
|
|
379
|
+
conditionList: unknown[];
|
|
380
|
+
actionList_prop: import("../../types").IClassifyListType;
|
|
381
|
+
showItemName: boolean;
|
|
382
|
+
hideAddBtn: boolean;
|
|
383
|
+
}>;
|
|
384
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
385
|
+
iconClass: {
|
|
386
|
+
type: StringConstructor;
|
|
387
|
+
required: true;
|
|
388
|
+
default: string;
|
|
389
|
+
};
|
|
390
|
+
title: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
required: false;
|
|
393
|
+
default: string;
|
|
394
|
+
};
|
|
395
|
+
className: {
|
|
396
|
+
type: StringConstructor;
|
|
397
|
+
required: false;
|
|
398
|
+
};
|
|
399
|
+
}, {
|
|
400
|
+
props: {
|
|
401
|
+
iconClass: string;
|
|
402
|
+
title: string;
|
|
403
|
+
className?: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
iconName: import("vue").ComputedRef<string>;
|
|
406
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
407
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
408
|
+
iconClass: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
required: true;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
title: {
|
|
414
|
+
type: StringConstructor;
|
|
415
|
+
required: false;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
418
|
+
className: {
|
|
419
|
+
type: StringConstructor;
|
|
420
|
+
required: false;
|
|
421
|
+
};
|
|
422
|
+
}>>, {
|
|
423
|
+
title: string;
|
|
424
|
+
iconClass: string;
|
|
425
|
+
}>;
|
|
426
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
427
|
+
visible: {
|
|
428
|
+
type: BooleanConstructor;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
431
|
+
modalTitle: {
|
|
432
|
+
type: StringConstructor;
|
|
433
|
+
default: string;
|
|
434
|
+
};
|
|
435
|
+
conditionList: {
|
|
436
|
+
type: ArrayConstructor;
|
|
437
|
+
default: () => never[];
|
|
438
|
+
};
|
|
439
|
+
searchFieldList: {
|
|
440
|
+
type: ArrayConstructor;
|
|
441
|
+
default: () => never[];
|
|
442
|
+
};
|
|
443
|
+
filterApiConfig: {
|
|
444
|
+
type: ObjectConstructor;
|
|
445
|
+
default: () => {};
|
|
446
|
+
};
|
|
447
|
+
}>> & {
|
|
448
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
449
|
+
}, {
|
|
450
|
+
visible: boolean;
|
|
451
|
+
modalTitle: string;
|
|
452
|
+
searchFieldList: unknown[];
|
|
453
|
+
filterApiConfig: Record<string, any>;
|
|
454
|
+
conditionList: unknown[];
|
|
455
|
+
}>;
|
|
456
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as a,onBeforeUnmount as i,watch as t,openBlock as l,createBlock as o,unref as n,normalizeClass as u,withCtx as d,createVNode as s,normalizeStyle as r,createElementVNode as c,createTextVNode as v,mergeProps as p}from"vue";import{NModal as h,NCard as f,NButton as m}from"naive-ui";import x from"../classify-filter/index.vue.js";import g from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import b from"../../../../../_virtual/plugin-vue_export-helper.js";const y={class:"svg-wrap"};var w=b(e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]},filterApiConfig:{type:Object,default:()=>({})}},emits:["cancelSaveAdd"],setup(e,{expose:b,emit:w}){const _=e,A=a(_.visible),C=a(!1),S=a("860px");let k=a({maxHeight:"496px",height:"496px",overflowY:"auto"}),L=a(null),H=null;function j(){F(),H=setTimeout((()=>{L&&L.value.handleInitConditions()}),30)}function F(){H&&clearTimeout(H)}function T(){L&&L.value.saveAdd()}function z(){A.value=!1,w("cancelSaveAdd"),S.value="860px",k.value={height:"496px",maxHeight:"496px",overflowY:"auto"},C.value=!1,L&&L.value.cancelSaveAdd()}function I(){C.value=!C.value;let e=document.body.clientHeight;"860px"===S.value?(S.value="100%",k.value.maxHeight=`${e}px`,k.value.height=`${e}px`):(S.value="860px",k.value.maxHeight="496px",k.value.height="")}return i((()=>{F()})),t((()=>_.visible),(e=>{A.value=e,e&&j()})),b({cancelSaveAdd:z}),(e,a)=>(l(),o(n(h),{class:u(["search-filter-modal-wrap standard-modal standard-modal-white",{"modal-screen":C.value}]),show:A.value,"onUpdate:show":a[0]||(a[0]=e=>A.value=e),maskClosable:!1,width:S.value,bodyStyle:n(k),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:z},{default:d((()=>[s(n(f),{style:r({width:S.value,...n(k)}),title:_.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[c("div",y,[s(n(g),{onClick:I,"icon-class":C.value?"xitongtubiaodaohangtubiaozuixiaohua":"xitongtubiaodaohangtubiaozuidahua"},null,8,["icon-class"]),s(n(g),{"icon-class":"xitongtubiaodaohangtubiaoguanbi",onClick:z})])])),footer:d((()=>[s(n(m),{onClick:z},{default:d((()=>[v("取消")])),_:1}),s(n(m),{type:"info",onClick:T},{default:d((()=>[v("保存")])),_:1})])),default:d((()=>[s(x,p(e.$attrs,{ref_key:"conditionApiRef",ref:L,searchFieldList:_.searchFieldList,conditionList:_.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}}),[["__file","index.vue"]]);export{w as default};
|