cnhis-design-vue 3.1.43-beta.0 → 3.1.43-beta.10
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/es/components/base-search/index.d.ts +46 -114
- package/es/components/base-search/src/index.vue.d.ts +46 -114
- package/es/components/base-search/src/index.vue.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/big-table/src/hooks/useEdit.d.ts +26 -26
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -0
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +7 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +1 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +6 -5
- package/es/components/classification/src/components/set-classification/index.vue.js +1 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +2 -2
- package/es/components/classification/src/index.vue.d.ts +7 -6
- package/es/components/date-picker/index.d.ts +27 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +27 -2
- package/es/components/date-picker/src/DatePicker.vue.js +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -1
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +2 -1
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +4 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +3 -2
- package/es/components/form-config/index.d.ts +72 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +72 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +21 -20
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +43 -0
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeEvent.d.ts +6 -0
- package/es/components/form-render/src/hooks/useLowCodeEvent.js +1 -0
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +2 -127
- package/es/components/form-render/src/types/index.d.ts +1 -2
- package/es/components/iho-table/index.d.ts +15 -5
- package/es/components/iho-table/src/IhoTable.vue.d.ts +15 -5
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +2 -2
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.js +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +4 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +1 -1
- package/es/components/iho-table/src/plugins/fieldConnectionPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +28 -3
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -11
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +27 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +11 -25
- package/es/components/iho-table/src/types/pluginType.d.ts +18 -21
- package/es/components/iho-table/style/iconfont.ttf +0 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/info-header/index.d.ts +2 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +4 -4
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +21 -20
- package/es/components/keyboard/src/components/InputNumber.vue.js +1 -1
- package/es/components/quick-search/index.d.ts +54 -224
- package/es/components/quick-search/src/index.vue.d.ts +54 -224
- package/es/components/quick-search/src/index.vue.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/select-person/index.d.ts +13 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +13 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/utils/index.d.ts +1 -1
- package/es/components/select-person/src/utils/index.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +15 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +15 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.d.ts +109 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +67 -0
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +27 -7
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -2
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +13 -3
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +134 -15
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +6 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +26 -87
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +16 -0
- package/es/shared/types/business.js +1 -0
- package/es/shared/types/index.d.ts +1 -1
- package/es/shared/utils/business.d.ts +11 -0
- package/es/shared/utils/business.js +1 -0
- package/es/shared/utils/index.d.ts +1 -5
- package/es/shared/utils/index.js +1 -1
- package/package.json +65 -65
- package/es/components/iho-table/src/plugins/fieldConnectionPlugin/fieldConnectionUtils.d.ts +0 -11
- package/es/components/iho-table/src/plugins/fieldConnectionPlugin/fieldConnectionUtils.js +0 -1
|
@@ -14,6 +14,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14
14
|
type: NumberConstructor;
|
|
15
15
|
default: number;
|
|
16
16
|
};
|
|
17
|
+
filterApiConfig: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
};
|
|
17
20
|
}, {
|
|
18
21
|
outQuickSearchFn: {
|
|
19
22
|
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
@@ -34,15 +37,19 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
34
37
|
setting: string;
|
|
35
38
|
widgetCfg: {
|
|
36
39
|
isRender: boolean;
|
|
40
|
+
isInit: boolean;
|
|
37
41
|
widgetType: string | null;
|
|
38
42
|
valueList: {
|
|
39
43
|
value: any;
|
|
40
|
-
label:
|
|
44
|
+
label: any;
|
|
41
45
|
}[] | undefined;
|
|
42
46
|
defaultValue: any;
|
|
43
47
|
defValueUnit: any;
|
|
44
48
|
multiple: boolean;
|
|
49
|
+
manualMapping: boolean | null | undefined;
|
|
50
|
+
dynamicOptionInfo: import("..").dynamicOptionInfoType | {} | undefined;
|
|
45
51
|
};
|
|
52
|
+
rangeFilter: boolean | undefined;
|
|
46
53
|
title: string;
|
|
47
54
|
alias: string | undefined;
|
|
48
55
|
isShowSearch: number;
|
|
@@ -50,7 +57,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
50
57
|
explicitRequired: number;
|
|
51
58
|
advanceOptionSetting: string;
|
|
52
59
|
placeholder: string | undefined;
|
|
53
|
-
advanceColWidth:
|
|
60
|
+
advanceColWidth: number | null | undefined;
|
|
54
61
|
}[];
|
|
55
62
|
transformParams: (paramsList: any) => {};
|
|
56
63
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -68,6 +75,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
68
75
|
type: NumberConstructor;
|
|
69
76
|
default: number;
|
|
70
77
|
};
|
|
78
|
+
filterApiConfig: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
};
|
|
71
81
|
}>> & {
|
|
72
82
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
73
83
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -83,126 +93,35 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
83
93
|
}[]>;
|
|
84
94
|
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
85
95
|
outSearchFieldList: import("vue").Ref<{
|
|
96
|
+
isShowSearch?: number | undefined;
|
|
97
|
+
filterExplicit?: number | undefined;
|
|
98
|
+
explicitRequired?: number | undefined;
|
|
99
|
+
advanceOptionSetting?: string | undefined;
|
|
100
|
+
explicitDefaultVal?: string | undefined;
|
|
101
|
+
advanceColWidth?: string | undefined;
|
|
102
|
+
fieldType?: string | undefined;
|
|
86
103
|
columnName: string;
|
|
87
104
|
title: string;
|
|
88
|
-
fieldType?: string | undefined;
|
|
89
|
-
filterExplicit?: number | undefined;
|
|
90
|
-
isShowSearch?: number | undefined;
|
|
91
|
-
setting?: any;
|
|
92
|
-
settingObj?: any;
|
|
93
105
|
placeholder?: string | undefined;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
EQ?: string | undefined;
|
|
99
|
-
LABELAttr?: boolean | undefined;
|
|
100
|
-
_isBlock?: boolean | undefined;
|
|
106
|
+
settingObj?: any;
|
|
107
|
+
setting?: any;
|
|
108
|
+
widgetCfg?: any;
|
|
109
|
+
rangeFilter?: boolean | undefined;
|
|
101
110
|
_frontId?: any;
|
|
102
|
-
NUMBERFiled?: boolean | undefined;
|
|
103
|
-
PASSWORDTYPE?: boolean | undefined;
|
|
104
|
-
advanceColWidth?: string | undefined;
|
|
105
|
-
advanceOptionSetting?: string | undefined;
|
|
106
|
-
alias?: string | undefined;
|
|
107
|
-
ageObj?: any;
|
|
108
|
-
attr?: string | undefined;
|
|
109
|
-
bigValue?: string | number | undefined;
|
|
110
|
-
classify?: string | undefined;
|
|
111
|
-
colWidth?: number | undefined;
|
|
112
|
-
columnFullName?: string | undefined;
|
|
113
|
-
com?: string | undefined;
|
|
114
|
-
comType?: string | undefined;
|
|
115
|
-
comAttr?: string | undefined;
|
|
116
|
-
con?: string | undefined;
|
|
117
|
-
dataSource?: any;
|
|
118
|
-
dictionarieObj?: any;
|
|
119
|
-
explicitRequired?: number | undefined;
|
|
120
|
-
explicitDefaultVal?: string | undefined;
|
|
121
|
-
extraField?: boolean | undefined;
|
|
122
|
-
fieldSetting?: string | undefined;
|
|
123
|
-
format?: string | undefined;
|
|
124
|
-
i18n?: string | undefined;
|
|
125
|
-
id?: string | undefined;
|
|
126
|
-
inputVal?: string | undefined;
|
|
127
|
-
inputUnit?: string | undefined;
|
|
128
|
-
isAvg?: number | undefined;
|
|
129
|
-
isEdit?: number | undefined;
|
|
130
|
-
isFixed?: number | undefined;
|
|
131
|
-
isFixedShow?: number | undefined;
|
|
132
|
-
isFontWeight?: number | undefined;
|
|
133
|
-
isMerge?: number | undefined;
|
|
134
|
-
isOrder?: number | undefined;
|
|
135
|
-
isPreciseSearch?: boolean | undefined;
|
|
136
111
|
isRender?: boolean | undefined;
|
|
137
|
-
isSearch?: number | undefined;
|
|
138
|
-
isShow?: number | undefined;
|
|
139
|
-
isSort?: number | undefined;
|
|
140
|
-
isSum?: number | undefined;
|
|
141
|
-
labelObj?: any;
|
|
142
|
-
labelList?: {
|
|
143
|
-
labelId?: string | undefined;
|
|
144
|
-
change_text: string;
|
|
145
|
-
field_key: string;
|
|
146
|
-
filter: {
|
|
147
|
-
con: string;
|
|
148
|
-
conName?: string | undefined;
|
|
149
|
-
field_key: string;
|
|
150
|
-
key?: string | undefined;
|
|
151
|
-
value: string;
|
|
152
|
-
}[];
|
|
153
|
-
label: string;
|
|
154
|
-
labelName: string;
|
|
155
|
-
sqlExpression: string;
|
|
156
|
-
value: string;
|
|
157
|
-
isSelect?: boolean | undefined;
|
|
158
|
-
}[] | undefined;
|
|
159
|
-
labelSelectList?: {
|
|
160
|
-
labelId?: string | undefined;
|
|
161
|
-
change_text: string;
|
|
162
|
-
field_key: string;
|
|
163
|
-
filter: {
|
|
164
|
-
con: string;
|
|
165
|
-
conName?: string | undefined;
|
|
166
|
-
field_key: string;
|
|
167
|
-
key?: string | undefined;
|
|
168
|
-
value: string;
|
|
169
|
-
}[];
|
|
170
|
-
label: string;
|
|
171
|
-
labelName: string;
|
|
172
|
-
sqlExpression: string;
|
|
173
|
-
value: string;
|
|
174
|
-
isSelect?: boolean | undefined;
|
|
175
|
-
}[] | undefined;
|
|
176
|
-
lessValue?: string | number | undefined;
|
|
177
|
-
marginx?: string | undefined;
|
|
178
|
-
notParticipatingSearch?: number | undefined;
|
|
179
|
-
order?: string | undefined;
|
|
180
|
-
QUOTE?: any;
|
|
181
|
-
searchPageConfig?: any;
|
|
182
|
-
selecteds?: any;
|
|
183
|
-
sequence?: number | undefined;
|
|
184
|
-
showDate?: boolean | undefined;
|
|
185
|
-
showFormat?: string | undefined;
|
|
186
|
-
showTime?: boolean | undefined;
|
|
187
|
-
sid?: string | undefined;
|
|
188
|
-
start_val?: number | null | undefined;
|
|
189
|
-
end_val?: number | null | undefined;
|
|
190
|
-
tempCon?: any;
|
|
191
|
-
tableId?: string | undefined;
|
|
192
|
-
value?: any;
|
|
193
|
-
unit?: string | undefined;
|
|
194
|
-
widgetCfg?: any;
|
|
195
|
-
formTitle?: string | undefined;
|
|
196
|
-
random_key?: string | undefined;
|
|
197
112
|
widgetType?: any;
|
|
198
|
-
|
|
199
|
-
|
|
113
|
+
con?: string | undefined;
|
|
114
|
+
_isBlock?: boolean | undefined;
|
|
115
|
+
value?: any;
|
|
116
|
+
sid?: string | undefined;
|
|
117
|
+
alias?: string | undefined;
|
|
200
118
|
}[]>;
|
|
201
119
|
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
202
|
-
initOutSearchFieldList: (
|
|
120
|
+
initOutSearchFieldList: () => void;
|
|
203
121
|
isShowSetting: (v: string) => boolean;
|
|
204
122
|
foldQuickSearch: () => void;
|
|
205
123
|
outFilterChange: (config?: {}) => void;
|
|
124
|
+
handleChangeInit: (_frontId: string, bool: boolean) => void;
|
|
206
125
|
getConObjParams: () => any;
|
|
207
126
|
getConObj: (arr: any) => any;
|
|
208
127
|
onFilterSearch: (obj: import("..").ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
@@ -216,19 +135,25 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
216
135
|
modelValue: {
|
|
217
136
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
218
137
|
};
|
|
138
|
+
filterApiConfig: {
|
|
139
|
+
type: ObjectConstructor;
|
|
140
|
+
};
|
|
219
141
|
}, any, {
|
|
220
142
|
initialProps: {};
|
|
221
143
|
}, {
|
|
222
144
|
valueCp(): any;
|
|
223
145
|
}, {
|
|
224
146
|
search(): void;
|
|
225
|
-
getEleWidth(cfg: any):
|
|
147
|
+
getEleWidth(cfg: any): {
|
|
148
|
+
width: string;
|
|
149
|
+
} | undefined;
|
|
226
150
|
initComponentProps(cfg: any): void;
|
|
227
151
|
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
228
152
|
[key: string]: any;
|
|
229
153
|
}> | null;
|
|
230
|
-
handleUpdate(val: any
|
|
231
|
-
|
|
154
|
+
handleUpdate(val: any): void;
|
|
155
|
+
handleChangeInitState(_frontId: any, bool: any): void;
|
|
156
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange" | "changeInit")[], "update:modelValue" | "outFilterChange" | "changeInit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
232
157
|
cfg: {
|
|
233
158
|
type: ObjectConstructor;
|
|
234
159
|
required: true;
|
|
@@ -236,9 +161,13 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
236
161
|
modelValue: {
|
|
237
162
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
238
163
|
};
|
|
164
|
+
filterApiConfig: {
|
|
165
|
+
type: ObjectConstructor;
|
|
166
|
+
};
|
|
239
167
|
}>> & {
|
|
240
168
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
241
169
|
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
onChangeInit?: ((...args: any[]) => any) | undefined;
|
|
242
171
|
}, {}>;
|
|
243
172
|
NIcon: any;
|
|
244
173
|
NButton: any;
|
|
@@ -258,6 +187,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
258
187
|
type: NumberConstructor;
|
|
259
188
|
default: number;
|
|
260
189
|
};
|
|
190
|
+
filterApiConfig: {
|
|
191
|
+
type: ObjectConstructor;
|
|
192
|
+
};
|
|
261
193
|
}>> & {
|
|
262
194
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
263
195
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -15,6 +15,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: NumberConstructor;
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
|
+
filterApiConfig: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
};
|
|
18
21
|
}, {
|
|
19
22
|
outQuickSearchFn: {
|
|
20
23
|
handlerInitSearchItem(arr: ISearchType[]): void;
|
|
@@ -35,15 +38,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
38
|
setting: string;
|
|
36
39
|
widgetCfg: {
|
|
37
40
|
isRender: boolean;
|
|
41
|
+
isInit: boolean;
|
|
38
42
|
widgetType: string | null;
|
|
39
43
|
valueList: {
|
|
40
44
|
value: any;
|
|
41
|
-
label:
|
|
45
|
+
label: any;
|
|
42
46
|
}[] | undefined;
|
|
43
47
|
defaultValue: any;
|
|
44
48
|
defValueUnit: any;
|
|
45
49
|
multiple: boolean;
|
|
50
|
+
manualMapping: boolean | null | undefined;
|
|
51
|
+
dynamicOptionInfo: import("../../../../es/components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
|
|
46
52
|
};
|
|
53
|
+
rangeFilter: boolean | undefined;
|
|
47
54
|
title: string;
|
|
48
55
|
alias: string | undefined;
|
|
49
56
|
isShowSearch: number;
|
|
@@ -51,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
58
|
explicitRequired: number;
|
|
52
59
|
advanceOptionSetting: string;
|
|
53
60
|
placeholder: string | undefined;
|
|
54
|
-
advanceColWidth:
|
|
61
|
+
advanceColWidth: number | null | undefined;
|
|
55
62
|
}[];
|
|
56
63
|
transformParams: (paramsList: any) => {};
|
|
57
64
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -69,6 +76,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
76
|
type: NumberConstructor;
|
|
70
77
|
default: number;
|
|
71
78
|
};
|
|
79
|
+
filterApiConfig: {
|
|
80
|
+
type: ObjectConstructor;
|
|
81
|
+
};
|
|
72
82
|
}>> & {
|
|
73
83
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
74
84
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -84,126 +94,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
94
|
}[]>;
|
|
85
95
|
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
86
96
|
outSearchFieldList: import("vue").Ref<{
|
|
97
|
+
isShowSearch?: number | undefined;
|
|
98
|
+
filterExplicit?: number | undefined;
|
|
99
|
+
explicitRequired?: number | undefined;
|
|
100
|
+
advanceOptionSetting?: string | undefined;
|
|
101
|
+
explicitDefaultVal?: string | undefined;
|
|
102
|
+
advanceColWidth?: string | undefined;
|
|
103
|
+
fieldType?: string | undefined;
|
|
87
104
|
columnName: string;
|
|
88
105
|
title: string;
|
|
89
|
-
fieldType?: string | undefined;
|
|
90
|
-
filterExplicit?: number | undefined;
|
|
91
|
-
isShowSearch?: number | undefined;
|
|
92
|
-
setting?: any;
|
|
93
|
-
settingObj?: any;
|
|
94
106
|
placeholder?: string | undefined;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
EQ?: string | undefined;
|
|
100
|
-
LABELAttr?: boolean | undefined;
|
|
101
|
-
_isBlock?: boolean | undefined;
|
|
107
|
+
settingObj?: any;
|
|
108
|
+
setting?: any;
|
|
109
|
+
widgetCfg?: any;
|
|
110
|
+
rangeFilter?: boolean | undefined;
|
|
102
111
|
_frontId?: any;
|
|
103
|
-
NUMBERFiled?: boolean | undefined;
|
|
104
|
-
PASSWORDTYPE?: boolean | undefined;
|
|
105
|
-
advanceColWidth?: string | undefined;
|
|
106
|
-
advanceOptionSetting?: string | undefined;
|
|
107
|
-
alias?: string | undefined;
|
|
108
|
-
ageObj?: any;
|
|
109
|
-
attr?: string | undefined;
|
|
110
|
-
bigValue?: string | number | undefined;
|
|
111
|
-
classify?: string | undefined;
|
|
112
|
-
colWidth?: number | undefined;
|
|
113
|
-
columnFullName?: string | undefined;
|
|
114
|
-
com?: string | undefined;
|
|
115
|
-
comType?: string | undefined;
|
|
116
|
-
comAttr?: string | undefined;
|
|
117
|
-
con?: string | undefined;
|
|
118
|
-
dataSource?: any;
|
|
119
|
-
dictionarieObj?: any;
|
|
120
|
-
explicitRequired?: number | undefined;
|
|
121
|
-
explicitDefaultVal?: string | undefined;
|
|
122
|
-
extraField?: boolean | undefined;
|
|
123
|
-
fieldSetting?: string | undefined;
|
|
124
|
-
format?: string | undefined;
|
|
125
|
-
i18n?: string | undefined;
|
|
126
|
-
id?: string | undefined;
|
|
127
|
-
inputVal?: string | undefined;
|
|
128
|
-
inputUnit?: string | undefined;
|
|
129
|
-
isAvg?: number | undefined;
|
|
130
|
-
isEdit?: number | undefined;
|
|
131
|
-
isFixed?: number | undefined;
|
|
132
|
-
isFixedShow?: number | undefined;
|
|
133
|
-
isFontWeight?: number | undefined;
|
|
134
|
-
isMerge?: number | undefined;
|
|
135
|
-
isOrder?: number | undefined;
|
|
136
|
-
isPreciseSearch?: boolean | undefined;
|
|
137
112
|
isRender?: boolean | undefined;
|
|
138
|
-
isSearch?: number | undefined;
|
|
139
|
-
isShow?: number | undefined;
|
|
140
|
-
isSort?: number | undefined;
|
|
141
|
-
isSum?: number | undefined;
|
|
142
|
-
labelObj?: any;
|
|
143
|
-
labelList?: {
|
|
144
|
-
labelId?: string | undefined;
|
|
145
|
-
change_text: string;
|
|
146
|
-
field_key: string;
|
|
147
|
-
filter: {
|
|
148
|
-
con: string;
|
|
149
|
-
conName?: string | undefined;
|
|
150
|
-
field_key: string;
|
|
151
|
-
key?: string | undefined;
|
|
152
|
-
value: string;
|
|
153
|
-
}[];
|
|
154
|
-
label: string;
|
|
155
|
-
labelName: string;
|
|
156
|
-
sqlExpression: string;
|
|
157
|
-
value: string;
|
|
158
|
-
isSelect?: boolean | undefined;
|
|
159
|
-
}[] | undefined;
|
|
160
|
-
labelSelectList?: {
|
|
161
|
-
labelId?: string | undefined;
|
|
162
|
-
change_text: string;
|
|
163
|
-
field_key: string;
|
|
164
|
-
filter: {
|
|
165
|
-
con: string;
|
|
166
|
-
conName?: string | undefined;
|
|
167
|
-
field_key: string;
|
|
168
|
-
key?: string | undefined;
|
|
169
|
-
value: string;
|
|
170
|
-
}[];
|
|
171
|
-
label: string;
|
|
172
|
-
labelName: string;
|
|
173
|
-
sqlExpression: string;
|
|
174
|
-
value: string;
|
|
175
|
-
isSelect?: boolean | undefined;
|
|
176
|
-
}[] | undefined;
|
|
177
|
-
lessValue?: string | number | undefined;
|
|
178
|
-
marginx?: string | undefined;
|
|
179
|
-
notParticipatingSearch?: number | undefined;
|
|
180
|
-
order?: string | undefined;
|
|
181
|
-
QUOTE?: any;
|
|
182
|
-
searchPageConfig?: any;
|
|
183
|
-
selecteds?: any;
|
|
184
|
-
sequence?: number | undefined;
|
|
185
|
-
showDate?: boolean | undefined;
|
|
186
|
-
showFormat?: string | undefined;
|
|
187
|
-
showTime?: boolean | undefined;
|
|
188
|
-
sid?: string | undefined;
|
|
189
|
-
start_val?: number | null | undefined;
|
|
190
|
-
end_val?: number | null | undefined;
|
|
191
|
-
tempCon?: any;
|
|
192
|
-
tableId?: string | undefined;
|
|
193
|
-
value?: any;
|
|
194
|
-
unit?: string | undefined;
|
|
195
|
-
widgetCfg?: any;
|
|
196
|
-
formTitle?: string | undefined;
|
|
197
|
-
random_key?: string | undefined;
|
|
198
113
|
widgetType?: any;
|
|
199
|
-
|
|
200
|
-
|
|
114
|
+
con?: string | undefined;
|
|
115
|
+
_isBlock?: boolean | undefined;
|
|
116
|
+
value?: any;
|
|
117
|
+
sid?: string | undefined;
|
|
118
|
+
alias?: string | undefined;
|
|
201
119
|
}[]>;
|
|
202
120
|
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
203
|
-
initOutSearchFieldList: (
|
|
121
|
+
initOutSearchFieldList: () => void;
|
|
204
122
|
isShowSetting: (v: string) => boolean;
|
|
205
123
|
foldQuickSearch: () => void;
|
|
206
124
|
outFilterChange: (config?: {}) => void;
|
|
125
|
+
handleChangeInit: (_frontId: string, bool: boolean) => void;
|
|
207
126
|
getConObjParams: () => any;
|
|
208
127
|
getConObj: (arr: any) => any;
|
|
209
128
|
onFilterSearch: (obj: ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
@@ -217,19 +136,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
136
|
modelValue: {
|
|
218
137
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
219
138
|
};
|
|
139
|
+
filterApiConfig: {
|
|
140
|
+
type: ObjectConstructor;
|
|
141
|
+
};
|
|
220
142
|
}, any, {
|
|
221
143
|
initialProps: {};
|
|
222
144
|
}, {
|
|
223
145
|
valueCp(): any;
|
|
224
146
|
}, {
|
|
225
147
|
search(): void;
|
|
226
|
-
getEleWidth(cfg: any):
|
|
148
|
+
getEleWidth(cfg: any): {
|
|
149
|
+
width: string;
|
|
150
|
+
} | undefined;
|
|
227
151
|
initComponentProps(cfg: any): void;
|
|
228
152
|
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
229
153
|
[key: string]: any;
|
|
230
154
|
}> | null;
|
|
231
|
-
handleUpdate(val: any
|
|
232
|
-
|
|
155
|
+
handleUpdate(val: any): void;
|
|
156
|
+
handleChangeInitState(_frontId: any, bool: any): void;
|
|
157
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange" | "changeInit")[], "update:modelValue" | "outFilterChange" | "changeInit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
233
158
|
cfg: {
|
|
234
159
|
type: ObjectConstructor;
|
|
235
160
|
required: true;
|
|
@@ -237,9 +162,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
162
|
modelValue: {
|
|
238
163
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
239
164
|
};
|
|
165
|
+
filterApiConfig: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
};
|
|
240
168
|
}>> & {
|
|
241
169
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
242
170
|
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
171
|
+
onChangeInit?: ((...args: any[]) => any) | undefined;
|
|
243
172
|
}, {}>;
|
|
244
173
|
NIcon: any;
|
|
245
174
|
NButton: any;
|
|
@@ -259,6 +188,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
188
|
type: NumberConstructor;
|
|
260
189
|
default: number;
|
|
261
190
|
};
|
|
191
|
+
filterApiConfig: {
|
|
192
|
+
type: ObjectConstructor;
|
|
193
|
+
};
|
|
262
194
|
}>> & {
|
|
263
195
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
264
196
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as
|
|
1
|
+
import{defineComponent as e,ref as t,computed as i,watch as l,openBlock as a,createElementBlock as r,createElementVNode as n,createCommentVNode as o,renderSlot as s,unref as u,createVNode as c,withCtx as f,createTextVNode as d,toDisplayString as h,Fragment as m,renderList as p}from"vue";import v from"../../table-filter/src/components/render-widget/index.vue.js";import g from"../../table-filter/src/hooks/useMixins.js";import b from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as y,NIcon as k}from"naive-ui";import{Search as S}from"@vicons/ionicons5";import{cloneDeep as j}from"lodash-es";import x from"../../../_virtual/plugin-vue_export-helper.js";const q={class:"base-search-block"},_={class:"base-container"},A={class:"bease-left"},O={class:"base-ul"},F={key:0,class:"baseli showQuickBtn"},R=n("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),I={key:0,class:"qqConObjCount"},Q={key:1,class:"baseli"},V={key:2,class:"baseli"},w=n("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var E=x(e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{emit:x}){const E=e,{outQuickSearchFn:D}=g(),{isRender:L,getRenderSearchConObj:N,isExistDefValByRenderWidget:P,resetRenderWidgetValue:W}=C(),{transformData:B,transformParams:U}=b(),$=t([]),z=t(!1),M=t([]),T=i((()=>{var e;return e="hideQuickSearch",0==E.showSettings[e]}));function G(){x("foldQuickSearch",!0)}function H(e={}){const t=K()||[];!function(e,t,i=!1,l={}){let a=[];M.value.length>0&&(a=j(M.value));x("onFilterSearch",e,t,i,a,l)}(t,U(t),!0,e)}function J(e,t){M.value.forEach((i=>{i._frontId===e&&(i.widgetCfg.isInit=t)}))}function K(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let i=0;i<e.length;i++){let l=e[i];const a=N(l);a&&t.push(a)}return t.filter((e=>e.value))}(M.value)}function X(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{W(e)})),D.handlerInitSearchItem(e)}(M.value),x("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>E.searchFieldList),(e=>{e&&e.length>0&&function(){M.value=[];let e=j(B(E.searchFieldList)).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));M.value=e,D.handlerInitSearchItem(M.value),M.value.some((e=>L(e)?P(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>E.qqConObjCount),(e=>{const t=$.value.length||0;z.value=t+Number(e)>0}),{immediate:!0}),l((()=>M),(()=>{$.value=K()||[];const e=U($.value);z.value=$.value.length+Number(E.qqConObjCount)>0,x("getFilterParam",$.value,e)}),{immediate:!0,deep:!0}),(t,i)=>(a(),r("div",q,[n("div",_,[n("div",A,[n("ul",O,[o(" 筛选分类插槽 "),s(t.$slots,"classification"),u(T)?(a(),r("li",F,[c(u(y),{class:"search-default",type:"default",onClick:G},{default:f((()=>[R,d(" 筛选"),e.qqConObjCount?(a(),r("span",I,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(a(!0),r(m,null,p(M.value,(t=>(a(),r(m,null,[t.isRender?(a(),r("li",{class:"baseli outQuickSearch-li",key:t._frontId},[c(v,{cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,filterApiConfig:e.filterApiConfig,onOutFilterChange:H,onChangeInit:J},null,8,["cfg","modelValue","onUpdate:modelValue","filterApiConfig"])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),o(" 查询按钮 "),M.value&&M.value.length>0?(a(),r("li",Q,[c(u(y),{type:"primary",onClick:H},{default:f((()=>[c(u(k),{component:u(S),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),d(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),z.value?(a(),r("li",V,[c(u(y),{onClick:X},{default:f((()=>[w,d(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),s(t.$slots,"buttons")])])])]))}}),[["__file","index.vue"]]);export{E as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
1
|
+
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .n-input-number{width:136px}.render-widget-input-number-group .divider{text-align:center;width:26px}.n-base-select-option__content{width:100%}.n-base-select-option__content .select-widget-dynamic-option{display:flex;flex-wrap:nowrap;width:100%}.n-base-select-option__content .select-widget-dynamic-option .select-widget-dynamic-item{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|