cnhis-design-vue 3.1.54 → 3.1.55-beta.0
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/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +13 -6
- package/es/components/chat-sdk/index.d.ts +2 -0
- package/es/components/chat-sdk/index.js +1 -0
- package/es/components/chat-sdk/src/chatSDK.d.ts +24 -0
- package/es/components/chat-sdk/src/chatSDK.js +1 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue.d.ts +26 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue.js +1 -0
- package/es/components/chat-sdk/src/components/recordingDialog.vue2.js +1 -0
- package/es/components/chat-sdk/src/utils/recordingDialog.d.ts +8 -0
- package/es/components/chat-sdk/src/utils/recordingDialog.js +1 -0
- package/es/components/chat-sdk/style/index.css +1 -0
- package/es/components/classification/index.d.ts +486 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +473 -1
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +473 -1
- package/es/components/classification/src/index.vue.d.ts +486 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +1 -0
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/form-config/index.d.ts +71 -57
- package/es/components/form-config/src/FormConfig.vue.d.ts +71 -57
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -6
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +28 -21
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
- package/es/components/form-render/index.d.ts +13 -6
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -6
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -6
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +14 -3
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +3 -2
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +10 -5
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +7 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +26 -12
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -12
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -6
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +13 -6
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +18 -11
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -11
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +320 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +474 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/package.json +3 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -46,6 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
}>;
|
|
47
47
|
conditionApiRef: any;
|
|
48
48
|
filterTimer: any;
|
|
49
|
+
classifyfilterType: String;
|
|
49
50
|
init: () => void;
|
|
50
51
|
clearTimer: () => void;
|
|
51
52
|
handleInitConditions: () => void;
|
|
@@ -57,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
58
|
NModal: any;
|
|
58
59
|
NCard: any;
|
|
59
60
|
NButton: any;
|
|
60
|
-
|
|
61
|
+
ClassifyFilterConditionByApi: import("vue").DefineComponent<{
|
|
61
62
|
actionList_prop: {
|
|
62
63
|
type: import("vue").PropType<import("../../../..").IClassifyListType>;
|
|
63
64
|
default: () => {};
|
|
@@ -1164,6 +1165,477 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1164
1165
|
showItemName: boolean;
|
|
1165
1166
|
hideAddBtn: boolean;
|
|
1166
1167
|
}>;
|
|
1168
|
+
BiFilterConditionByApi: import("vue").DefineComponent<{
|
|
1169
|
+
actionList_prop: {
|
|
1170
|
+
type: import("vue").PropType<import("../../../..").IClassifyListType>;
|
|
1171
|
+
default: () => {};
|
|
1172
|
+
};
|
|
1173
|
+
conditionList: {
|
|
1174
|
+
type: ArrayConstructor;
|
|
1175
|
+
default: () => never[];
|
|
1176
|
+
};
|
|
1177
|
+
tableId: {
|
|
1178
|
+
type: StringConstructor;
|
|
1179
|
+
default: string;
|
|
1180
|
+
};
|
|
1181
|
+
searchFieldList: {
|
|
1182
|
+
type: ArrayConstructor;
|
|
1183
|
+
default: () => never[];
|
|
1184
|
+
};
|
|
1185
|
+
showItemName: {
|
|
1186
|
+
type: BooleanConstructor;
|
|
1187
|
+
default: boolean;
|
|
1188
|
+
};
|
|
1189
|
+
hideAddBtn: {
|
|
1190
|
+
type: BooleanConstructor;
|
|
1191
|
+
default: boolean;
|
|
1192
|
+
};
|
|
1193
|
+
}, {
|
|
1194
|
+
$message: import("naive-ui").MessageApi;
|
|
1195
|
+
menuProps: {
|
|
1196
|
+
class: string;
|
|
1197
|
+
};
|
|
1198
|
+
dateCons: string[];
|
|
1199
|
+
textCons: string[];
|
|
1200
|
+
numberCons: string[];
|
|
1201
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1202
|
+
actionList_prop: {
|
|
1203
|
+
type: import("vue").PropType<import("../../../..").IClassifyListType>;
|
|
1204
|
+
default: () => {};
|
|
1205
|
+
};
|
|
1206
|
+
conditionList: {
|
|
1207
|
+
type: ArrayConstructor;
|
|
1208
|
+
default: () => never[];
|
|
1209
|
+
};
|
|
1210
|
+
tableId: {
|
|
1211
|
+
type: StringConstructor;
|
|
1212
|
+
default: string;
|
|
1213
|
+
};
|
|
1214
|
+
searchFieldList: {
|
|
1215
|
+
type: ArrayConstructor;
|
|
1216
|
+
default: () => never[];
|
|
1217
|
+
};
|
|
1218
|
+
showItemName: {
|
|
1219
|
+
type: BooleanConstructor;
|
|
1220
|
+
default: boolean;
|
|
1221
|
+
};
|
|
1222
|
+
hideAddBtn: {
|
|
1223
|
+
type: BooleanConstructor;
|
|
1224
|
+
default: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
}>> & {
|
|
1227
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1228
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1229
|
+
}>>;
|
|
1230
|
+
emit: (event: "cancelSaveAdd" | "saveAdd", ...args: any[]) => void;
|
|
1231
|
+
$attrs: {
|
|
1232
|
+
[x: string]: unknown;
|
|
1233
|
+
};
|
|
1234
|
+
FormState: any;
|
|
1235
|
+
loading: import("vue").Ref<boolean>;
|
|
1236
|
+
parentInputRef: import("vue").Ref<any>;
|
|
1237
|
+
parentInputAddRef: import("vue").Ref<any>;
|
|
1238
|
+
sqlExpression: any;
|
|
1239
|
+
DisplayCategoryState: {
|
|
1240
|
+
addDisplayCategory: string;
|
|
1241
|
+
displayCategories: {
|
|
1242
|
+
disabled: boolean;
|
|
1243
|
+
value: string;
|
|
1244
|
+
}[];
|
|
1245
|
+
displayCategoryOriginLen: number;
|
|
1246
|
+
showAdd: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
1249
|
+
editDisplayCategory: (item: import("../../../..").ICategoryItemType, cb?: any) => void;
|
|
1250
|
+
handleDisplayCategorySelect: (item: import("../../../..").ICategoryItemType) => void;
|
|
1251
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../..").ICategoryItemType) => void;
|
|
1252
|
+
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
1253
|
+
handlerBlur: () => void;
|
|
1254
|
+
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
1255
|
+
FilterConditionsState: any;
|
|
1256
|
+
paramOptions: import("vue").ComputedRef<any>;
|
|
1257
|
+
addFilterCondition: () => void;
|
|
1258
|
+
delFilterCondition: (index: number) => void;
|
|
1259
|
+
updateKey: (index: number, val: any) => void;
|
|
1260
|
+
updateCondition: (index: number, val: any) => void;
|
|
1261
|
+
getParamCfg: (key: string) => any;
|
|
1262
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../..").ISearchConfigType[]) => Promise<void>;
|
|
1263
|
+
getRawFilterConditions: () => any;
|
|
1264
|
+
isShowValueCfg: (con: string) => boolean;
|
|
1265
|
+
handleEditDisplayCategory: (item: import("../../../..").ICategoryItemType) => void;
|
|
1266
|
+
handleDisplayCategoryAddState: () => void;
|
|
1267
|
+
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
1268
|
+
handleDisplayCategorySelectProxy: (item: import("../../../..").ICategoryItemType) => void;
|
|
1269
|
+
clearFormData: () => void;
|
|
1270
|
+
handleInitConditions: () => Promise<void>;
|
|
1271
|
+
validate: () => Promise<unknown>;
|
|
1272
|
+
saveAdd: () => void;
|
|
1273
|
+
cancelSaveAdd: () => void;
|
|
1274
|
+
checkActionList: () => any;
|
|
1275
|
+
NSpin: any;
|
|
1276
|
+
NIcon: any;
|
|
1277
|
+
NInput: any;
|
|
1278
|
+
NButton: any;
|
|
1279
|
+
NTooltip: any;
|
|
1280
|
+
NSelect: any;
|
|
1281
|
+
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<{}>>, {}>;
|
|
1282
|
+
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<{}>>, {}>;
|
|
1283
|
+
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<{}>>, {}>;
|
|
1284
|
+
ValueCfg: import("vue").DefineComponent<{
|
|
1285
|
+
paramCfg: {
|
|
1286
|
+
type: ObjectConstructor;
|
|
1287
|
+
default: null;
|
|
1288
|
+
};
|
|
1289
|
+
modelValue: {
|
|
1290
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1291
|
+
default: null;
|
|
1292
|
+
};
|
|
1293
|
+
modelValues: {
|
|
1294
|
+
type: ArrayConstructor;
|
|
1295
|
+
default: () => never[];
|
|
1296
|
+
};
|
|
1297
|
+
}, {
|
|
1298
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1299
|
+
paramCfg: {
|
|
1300
|
+
type: ObjectConstructor;
|
|
1301
|
+
default: null;
|
|
1302
|
+
};
|
|
1303
|
+
modelValue: {
|
|
1304
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1305
|
+
default: null;
|
|
1306
|
+
};
|
|
1307
|
+
modelValues: {
|
|
1308
|
+
type: ArrayConstructor;
|
|
1309
|
+
default: () => never[];
|
|
1310
|
+
};
|
|
1311
|
+
}>> & {
|
|
1312
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1313
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
1314
|
+
}>>;
|
|
1315
|
+
emit: (event: "update:modelValue" | "update:modelValues", ...args: any[]) => void;
|
|
1316
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1317
|
+
valuesCp: import("vue").WritableComputedRef<any>;
|
|
1318
|
+
isSelectMode: import("vue").ComputedRef<boolean>;
|
|
1319
|
+
isSelectMultiple: import("vue").ComputedRef<boolean>;
|
|
1320
|
+
biType: import("vue").ComputedRef<any>;
|
|
1321
|
+
Date: import("vue").DefineComponent<{
|
|
1322
|
+
componentCfg: {
|
|
1323
|
+
type: ObjectConstructor;
|
|
1324
|
+
};
|
|
1325
|
+
paramCfg: {
|
|
1326
|
+
type: ObjectConstructor;
|
|
1327
|
+
default: null;
|
|
1328
|
+
};
|
|
1329
|
+
modelValue: {
|
|
1330
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1331
|
+
default: null;
|
|
1332
|
+
};
|
|
1333
|
+
}, {
|
|
1334
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1335
|
+
componentCfg: {
|
|
1336
|
+
type: ObjectConstructor;
|
|
1337
|
+
};
|
|
1338
|
+
paramCfg: {
|
|
1339
|
+
type: ObjectConstructor;
|
|
1340
|
+
default: null;
|
|
1341
|
+
};
|
|
1342
|
+
modelValue: {
|
|
1343
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1344
|
+
default: null;
|
|
1345
|
+
};
|
|
1346
|
+
}>> & {
|
|
1347
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1348
|
+
}>>;
|
|
1349
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1350
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1351
|
+
dateType: any;
|
|
1352
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
1353
|
+
compType: import("vue").ComputedRef<any>;
|
|
1354
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
1355
|
+
updateUnchangedValue: {
|
|
1356
|
+
type: BooleanConstructor;
|
|
1357
|
+
};
|
|
1358
|
+
onConfirm: {
|
|
1359
|
+
type: FunctionConstructor;
|
|
1360
|
+
};
|
|
1361
|
+
formattedValue: {
|
|
1362
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
1363
|
+
};
|
|
1364
|
+
placeholder: {
|
|
1365
|
+
type: StringConstructor;
|
|
1366
|
+
};
|
|
1367
|
+
allowedInvalidValue: {
|
|
1368
|
+
type: StringConstructor;
|
|
1369
|
+
};
|
|
1370
|
+
}, {
|
|
1371
|
+
attrs: {
|
|
1372
|
+
[x: string]: unknown;
|
|
1373
|
+
};
|
|
1374
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1375
|
+
updateUnchangedValue: {
|
|
1376
|
+
type: BooleanConstructor;
|
|
1377
|
+
};
|
|
1378
|
+
onConfirm: {
|
|
1379
|
+
type: FunctionConstructor;
|
|
1380
|
+
};
|
|
1381
|
+
formattedValue: {
|
|
1382
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
1383
|
+
};
|
|
1384
|
+
placeholder: {
|
|
1385
|
+
type: StringConstructor;
|
|
1386
|
+
};
|
|
1387
|
+
allowedInvalidValue: {
|
|
1388
|
+
type: StringConstructor;
|
|
1389
|
+
};
|
|
1390
|
+
}>> & {
|
|
1391
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1392
|
+
}>>;
|
|
1393
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1394
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
1395
|
+
panelInstRef: import("vue").Ref<null>;
|
|
1396
|
+
placeholderRef: import("vue").Ref<any>;
|
|
1397
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
1398
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
1399
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
1400
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
1401
|
+
focus: () => any;
|
|
1402
|
+
blur: () => any;
|
|
1403
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
1404
|
+
onUpdateShow: (show: boolean) => void;
|
|
1405
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
1406
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1407
|
+
NDatePicker: any;
|
|
1408
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1409
|
+
updateUnchangedValue: {
|
|
1410
|
+
type: BooleanConstructor;
|
|
1411
|
+
};
|
|
1412
|
+
onConfirm: {
|
|
1413
|
+
type: FunctionConstructor;
|
|
1414
|
+
};
|
|
1415
|
+
formattedValue: {
|
|
1416
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
1417
|
+
};
|
|
1418
|
+
placeholder: {
|
|
1419
|
+
type: StringConstructor;
|
|
1420
|
+
};
|
|
1421
|
+
allowedInvalidValue: {
|
|
1422
|
+
type: StringConstructor;
|
|
1423
|
+
};
|
|
1424
|
+
}>> & {
|
|
1425
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1426
|
+
}, {
|
|
1427
|
+
updateUnchangedValue: boolean;
|
|
1428
|
+
}>>;
|
|
1429
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1430
|
+
componentCfg: {
|
|
1431
|
+
type: ObjectConstructor;
|
|
1432
|
+
};
|
|
1433
|
+
paramCfg: {
|
|
1434
|
+
type: ObjectConstructor;
|
|
1435
|
+
default: null;
|
|
1436
|
+
};
|
|
1437
|
+
modelValue: {
|
|
1438
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1439
|
+
default: null;
|
|
1440
|
+
};
|
|
1441
|
+
}>> & {
|
|
1442
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1443
|
+
}, {
|
|
1444
|
+
modelValue: string | number | unknown[];
|
|
1445
|
+
paramCfg: Record<string, any>;
|
|
1446
|
+
}>;
|
|
1447
|
+
InputFilter: import("vue").DefineComponent<{
|
|
1448
|
+
paramCfg: {
|
|
1449
|
+
type: ObjectConstructor;
|
|
1450
|
+
default: null;
|
|
1451
|
+
};
|
|
1452
|
+
modelValue: {
|
|
1453
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1454
|
+
default: null;
|
|
1455
|
+
};
|
|
1456
|
+
}, {
|
|
1457
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1458
|
+
paramCfg: {
|
|
1459
|
+
type: ObjectConstructor;
|
|
1460
|
+
default: null;
|
|
1461
|
+
};
|
|
1462
|
+
modelValue: {
|
|
1463
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1464
|
+
default: null;
|
|
1465
|
+
};
|
|
1466
|
+
}>> & {
|
|
1467
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1468
|
+
}>>;
|
|
1469
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1470
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1471
|
+
NInput: any;
|
|
1472
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1473
|
+
paramCfg: {
|
|
1474
|
+
type: ObjectConstructor;
|
|
1475
|
+
default: null;
|
|
1476
|
+
};
|
|
1477
|
+
modelValue: {
|
|
1478
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1479
|
+
default: null;
|
|
1480
|
+
};
|
|
1481
|
+
}>> & {
|
|
1482
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1483
|
+
}, {
|
|
1484
|
+
modelValue: string | number | unknown[];
|
|
1485
|
+
paramCfg: Record<string, any>;
|
|
1486
|
+
}>;
|
|
1487
|
+
InputNumber: import("vue").DefineComponent<{
|
|
1488
|
+
modelValue: {
|
|
1489
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1490
|
+
default: null;
|
|
1491
|
+
};
|
|
1492
|
+
}, {
|
|
1493
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1494
|
+
modelValue: {
|
|
1495
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1496
|
+
default: null;
|
|
1497
|
+
};
|
|
1498
|
+
}>> & {
|
|
1499
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1500
|
+
}>>;
|
|
1501
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1502
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1503
|
+
NInputNumber: any;
|
|
1504
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1505
|
+
modelValue: {
|
|
1506
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1507
|
+
default: null;
|
|
1508
|
+
};
|
|
1509
|
+
}>> & {
|
|
1510
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1511
|
+
}, {
|
|
1512
|
+
modelValue: string | number | unknown[];
|
|
1513
|
+
}>;
|
|
1514
|
+
SelectFilter: import("vue").DefineComponent<{
|
|
1515
|
+
paramCfg: {
|
|
1516
|
+
type: ObjectConstructor;
|
|
1517
|
+
default: null;
|
|
1518
|
+
};
|
|
1519
|
+
modelValue: {
|
|
1520
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1521
|
+
default: null;
|
|
1522
|
+
};
|
|
1523
|
+
}, {
|
|
1524
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1525
|
+
paramCfg: {
|
|
1526
|
+
type: ObjectConstructor;
|
|
1527
|
+
default: null;
|
|
1528
|
+
};
|
|
1529
|
+
modelValue: {
|
|
1530
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1531
|
+
default: null;
|
|
1532
|
+
};
|
|
1533
|
+
}>> & {
|
|
1534
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1535
|
+
}>>;
|
|
1536
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1537
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1538
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
1539
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
1540
|
+
NSelect: any;
|
|
1541
|
+
WidgetOptionEnums: {
|
|
1542
|
+
RADIO: string;
|
|
1543
|
+
MULTIPLE: string;
|
|
1544
|
+
ALL: string;
|
|
1545
|
+
SELECT_TIME: string;
|
|
1546
|
+
PAST_TIME: string;
|
|
1547
|
+
FUTURE_TIME: string;
|
|
1548
|
+
};
|
|
1549
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1550
|
+
paramCfg: {
|
|
1551
|
+
type: ObjectConstructor;
|
|
1552
|
+
default: null;
|
|
1553
|
+
};
|
|
1554
|
+
modelValue: {
|
|
1555
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1556
|
+
default: null;
|
|
1557
|
+
};
|
|
1558
|
+
}>> & {
|
|
1559
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1560
|
+
}, {
|
|
1561
|
+
modelValue: string | number | unknown[];
|
|
1562
|
+
paramCfg: Record<string, any>;
|
|
1563
|
+
}>;
|
|
1564
|
+
WidgetTypeEnums: {
|
|
1565
|
+
INPUT_NUMBER: string;
|
|
1566
|
+
INPUT: string;
|
|
1567
|
+
SELECT: string;
|
|
1568
|
+
DATE: string;
|
|
1569
|
+
DATE_OUT: string;
|
|
1570
|
+
DATE_TIME: string;
|
|
1571
|
+
DATETIME_OUT: string;
|
|
1572
|
+
CHECKBOX_GROUP: string;
|
|
1573
|
+
INPUTNUMBER_RANGE: string;
|
|
1574
|
+
DATE_RANGE_OUT: string;
|
|
1575
|
+
DATE_RANGE_INNER: string;
|
|
1576
|
+
DATETIME_RANGE_OUT: string;
|
|
1577
|
+
DATETIME_RANGE_INNER: string;
|
|
1578
|
+
LABEL: string;
|
|
1579
|
+
SELECTLABEL: string;
|
|
1580
|
+
SELECTDYNAMIC: string;
|
|
1581
|
+
};
|
|
1582
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:modelValues")[], "update:modelValue" | "update:modelValues", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1583
|
+
paramCfg: {
|
|
1584
|
+
type: ObjectConstructor;
|
|
1585
|
+
default: null;
|
|
1586
|
+
};
|
|
1587
|
+
modelValue: {
|
|
1588
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1589
|
+
default: null;
|
|
1590
|
+
};
|
|
1591
|
+
modelValues: {
|
|
1592
|
+
type: ArrayConstructor;
|
|
1593
|
+
default: () => never[];
|
|
1594
|
+
};
|
|
1595
|
+
}>> & {
|
|
1596
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1597
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
1598
|
+
}, {
|
|
1599
|
+
modelValue: string | number | unknown[];
|
|
1600
|
+
paramCfg: Record<string, any>;
|
|
1601
|
+
modelValues: unknown[];
|
|
1602
|
+
}>;
|
|
1603
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1604
|
+
actionList_prop: {
|
|
1605
|
+
type: import("vue").PropType<import("../../../..").IClassifyListType>;
|
|
1606
|
+
default: () => {};
|
|
1607
|
+
};
|
|
1608
|
+
conditionList: {
|
|
1609
|
+
type: ArrayConstructor;
|
|
1610
|
+
default: () => never[];
|
|
1611
|
+
};
|
|
1612
|
+
tableId: {
|
|
1613
|
+
type: StringConstructor;
|
|
1614
|
+
default: string;
|
|
1615
|
+
};
|
|
1616
|
+
searchFieldList: {
|
|
1617
|
+
type: ArrayConstructor;
|
|
1618
|
+
default: () => never[];
|
|
1619
|
+
};
|
|
1620
|
+
showItemName: {
|
|
1621
|
+
type: BooleanConstructor;
|
|
1622
|
+
default: boolean;
|
|
1623
|
+
};
|
|
1624
|
+
hideAddBtn: {
|
|
1625
|
+
type: BooleanConstructor;
|
|
1626
|
+
default: boolean;
|
|
1627
|
+
};
|
|
1628
|
+
}>> & {
|
|
1629
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1630
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1631
|
+
}, {
|
|
1632
|
+
searchFieldList: unknown[];
|
|
1633
|
+
tableId: string;
|
|
1634
|
+
conditionList: unknown[];
|
|
1635
|
+
actionList_prop: import("../../../..").IClassifyListType;
|
|
1636
|
+
showItemName: boolean;
|
|
1637
|
+
hideAddBtn: boolean;
|
|
1638
|
+
}>;
|
|
1167
1639
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1168
1640
|
visible: {
|
|
1169
1641
|
type: BooleanConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as i,
|
|
1
|
+
import{defineComponent as e,ref as i,inject as t,onBeforeUnmount as l,watch as a,openBlock as n,createBlock as o,unref as s,normalizeClass as d,withCtx as c,createVNode as r,normalizeStyle as u,createElementVNode as f,createTextVNode as h,mergeProps as v,createCommentVNode as m}from"vue";import{NModal as p,NCard as x,NButton as b}from"naive-ui";import{InjectionClassifyfilterType as g}from"../../../../table-filter/src/constants/index.js";import y from"../../../../table-filter/src/components/classify-filter/index.vue.js";import L from"../../../../table-filter/src/components/bi-filter/index.vue.js";const k={class:"svg-wrap"},z={class:"flex_right"};var A=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:A,emit:_}){const w=e,C=i(w.visible),F=i(!1),S=i("860px");let H=i({maxHeight:"496px",height:"496px"}),T=i(null),$=null;const j=t(g);function R(){B(),$=setTimeout((()=>{T&&T.value.handleInitConditions()}),30)}function B(){$&&clearTimeout($)}function I(){T&&T.value.saveAdd()}function N(){C.value=!1,_("cancelSaveAdd"),S.value="860px",H.value={height:"496px",maxHeight:"496px"},F.value=!1,T&&T.value.cancelSaveAdd()}function P(){F.value=!F.value;let e=document.body.clientHeight;"860px"===S.value?(S.value="100%",H.value.maxHeight=`${e}px`,H.value.height=`${e}px`):(S.value="860px",H.value.maxHeight="496px",H.value.height="")}return l((()=>{B()})),a((()=>w.visible),(e=>{C.value=e,e&&R()})),A({cancelSaveAdd:N}),(e,i)=>(n(),o(s(p),{class:d(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":F.value}]),show:C.value,"onUpdate:show":i[0]||(i[0]=e=>C.value=e),maskClosable:!1,width:S.value,bodyStyle:s(H),closable:!1,centered:"",onPositiveClick:I,onNegativeClick:N},{default:c((()=>[r(s(x),{style:u({width:S.value,...s(H)}),title:w.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":c((()=>[f("div",k,[f("i",{onClick:P,class:d(["iconfont-table-filter",F.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),f("i",{onClick:N,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:c((()=>[f("div",z,[r(s(b),{onClick:N},{default:c((()=>[h("取消")])),_:1}),r(s(b),{type:"info",onClick:I},{default:c((()=>[h("保存")])),_:1})])])),default:c((()=>["1"===s(j)?(n(),o(y,v({key:0},e.$attrs,{ref_key:"conditionApiRef",ref:T,searchFieldList:w.searchFieldList,conditionList:w.conditionList}),null,16,["searchFieldList","conditionList"])):"2"===s(j)?(n(),o(L,v({key:1},e.$attrs,{ref_key:"conditionApiRef",ref:T,searchFieldList:w.searchFieldList,conditionList:w.conditionList}),null,16,["searchFieldList","conditionList"])):m("v-if",!0)])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{A as default};
|