cnhis-design-vue 3.4.0-release.3 → 3.4.0-release.7
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/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +73 -48
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +4 -2
- package/es/components/callback/src/components/render/popupMaps.d.ts +38 -24
- package/es/components/classification/index.d.ts +84 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +84 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +26 -1
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +15 -11
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +39 -27
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -122
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +6 -7
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +5 -2
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +14 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +57 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +3 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +28 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +56 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +28 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- 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/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2757 -300
- package/es/components/iho-chat/src/Index.vue.d.ts +2757 -300
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +783 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +204 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +121 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +31 -10
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue2.js +7 -2
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -3
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +30 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +36 -8
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +2 -2
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/package.json +3 -3
|
@@ -298,6 +298,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
298
298
|
isDateDisabled: {
|
|
299
299
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
300
300
|
};
|
|
301
|
+
propKey: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
};
|
|
304
|
+
shortcutListenerConfig: {
|
|
305
|
+
type: PropType<{
|
|
306
|
+
enable: boolean;
|
|
307
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
308
|
+
}>;
|
|
309
|
+
};
|
|
301
310
|
}>, {
|
|
302
311
|
attrs: {
|
|
303
312
|
[x: string]: unknown;
|
|
@@ -337,6 +346,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
337
346
|
isDateDisabled: {
|
|
338
347
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
339
348
|
};
|
|
349
|
+
propKey: {
|
|
350
|
+
type: StringConstructor;
|
|
351
|
+
};
|
|
352
|
+
shortcutListenerConfig: {
|
|
353
|
+
type: PropType<{
|
|
354
|
+
enable: boolean;
|
|
355
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
356
|
+
}>;
|
|
357
|
+
};
|
|
340
358
|
}>> & Readonly<{
|
|
341
359
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
342
360
|
}> & {}>;
|
|
@@ -353,6 +371,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
353
371
|
focus: () => any;
|
|
354
372
|
blur: () => any;
|
|
355
373
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
374
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
356
375
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
357
376
|
watchers: import("../../../../../shared/types").AnyFn[];
|
|
358
377
|
stopWatcher: () => void;
|
|
@@ -396,6 +415,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
396
415
|
isDateDisabled: {
|
|
397
416
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
398
417
|
};
|
|
418
|
+
propKey: {
|
|
419
|
+
type: StringConstructor;
|
|
420
|
+
};
|
|
421
|
+
shortcutListenerConfig: {
|
|
422
|
+
type: PropType<{
|
|
423
|
+
enable: boolean;
|
|
424
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
425
|
+
}>;
|
|
426
|
+
};
|
|
399
427
|
}>> & Readonly<{
|
|
400
428
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
401
429
|
}>, {
|
|
@@ -1151,6 +1179,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1151
1179
|
isDateDisabled: {
|
|
1152
1180
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1153
1181
|
};
|
|
1182
|
+
propKey: {
|
|
1183
|
+
type: StringConstructor;
|
|
1184
|
+
};
|
|
1185
|
+
shortcutListenerConfig: {
|
|
1186
|
+
type: PropType<{
|
|
1187
|
+
enable: boolean;
|
|
1188
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1189
|
+
}>;
|
|
1190
|
+
};
|
|
1154
1191
|
}>, {
|
|
1155
1192
|
attrs: {
|
|
1156
1193
|
[x: string]: unknown;
|
|
@@ -1190,6 +1227,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1190
1227
|
isDateDisabled: {
|
|
1191
1228
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1192
1229
|
};
|
|
1230
|
+
propKey: {
|
|
1231
|
+
type: StringConstructor;
|
|
1232
|
+
};
|
|
1233
|
+
shortcutListenerConfig: {
|
|
1234
|
+
type: PropType<{
|
|
1235
|
+
enable: boolean;
|
|
1236
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1237
|
+
}>;
|
|
1238
|
+
};
|
|
1193
1239
|
}>> & Readonly<{
|
|
1194
1240
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1195
1241
|
}> & {}>;
|
|
@@ -1206,6 +1252,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1206
1252
|
focus: () => any;
|
|
1207
1253
|
blur: () => any;
|
|
1208
1254
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1255
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1209
1256
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1210
1257
|
watchers: import("../../../../../shared/types").AnyFn[];
|
|
1211
1258
|
stopWatcher: () => void;
|
|
@@ -1249,6 +1296,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1249
1296
|
isDateDisabled: {
|
|
1250
1297
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1251
1298
|
};
|
|
1299
|
+
propKey: {
|
|
1300
|
+
type: StringConstructor;
|
|
1301
|
+
};
|
|
1302
|
+
shortcutListenerConfig: {
|
|
1303
|
+
type: PropType<{
|
|
1304
|
+
enable: boolean;
|
|
1305
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1306
|
+
}>;
|
|
1307
|
+
};
|
|
1252
1308
|
}>> & Readonly<{
|
|
1253
1309
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1254
1310
|
}>, {
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
|
@@ -118,6 +118,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
118
|
isDateDisabled: {
|
|
119
119
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
120
120
|
};
|
|
121
|
+
propKey: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
};
|
|
124
|
+
shortcutListenerConfig: {
|
|
125
|
+
type: PropType<{
|
|
126
|
+
enable: boolean;
|
|
127
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
128
|
+
}>;
|
|
129
|
+
};
|
|
121
130
|
}>, {
|
|
122
131
|
attrs: {
|
|
123
132
|
[x: string]: unknown;
|
|
@@ -157,6 +166,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
166
|
isDateDisabled: {
|
|
158
167
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
159
168
|
};
|
|
169
|
+
propKey: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
};
|
|
172
|
+
shortcutListenerConfig: {
|
|
173
|
+
type: PropType<{
|
|
174
|
+
enable: boolean;
|
|
175
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
160
178
|
}>> & Readonly<{
|
|
161
179
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
162
180
|
}> & {}>;
|
|
@@ -173,6 +191,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
173
191
|
focus: () => any;
|
|
174
192
|
blur: () => any;
|
|
175
193
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
194
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
176
195
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
177
196
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
178
197
|
stopWatcher: () => void;
|
|
@@ -216,6 +235,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
216
235
|
isDateDisabled: {
|
|
217
236
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
218
237
|
};
|
|
238
|
+
propKey: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
};
|
|
241
|
+
shortcutListenerConfig: {
|
|
242
|
+
type: PropType<{
|
|
243
|
+
enable: boolean;
|
|
244
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
219
247
|
}>> & Readonly<{
|
|
220
248
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
221
249
|
}>, {
|
|
@@ -56,8 +56,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
57
57
|
valueCp: import("vue").Ref<any, any>;
|
|
58
58
|
rangeShortcuts: import("vue").Ref<any, any>;
|
|
59
|
+
shortcutListenerConfig: AnyObject;
|
|
59
60
|
dateFormat: import("vue").ComputedRef<string>;
|
|
60
61
|
optionSetting: import("vue").ComputedRef<any>;
|
|
62
|
+
compName: import("vue").ComputedRef<any>;
|
|
61
63
|
handleChange: (val: any) => void;
|
|
62
64
|
isDateDisabled: (ts: number) => boolean;
|
|
63
65
|
timeDisabled: (ts: number) => {
|
|
@@ -101,6 +103,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
103
|
isDateDisabled: {
|
|
102
104
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
103
105
|
};
|
|
106
|
+
propKey: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
shortcutListenerConfig: {
|
|
110
|
+
type: PropType<{
|
|
111
|
+
enable: boolean;
|
|
112
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
113
|
+
}>;
|
|
114
|
+
};
|
|
104
115
|
}>, {
|
|
105
116
|
attrs: {
|
|
106
117
|
[x: string]: unknown;
|
|
@@ -140,6 +151,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
140
151
|
isDateDisabled: {
|
|
141
152
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
142
153
|
};
|
|
154
|
+
propKey: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
};
|
|
157
|
+
shortcutListenerConfig: {
|
|
158
|
+
type: PropType<{
|
|
159
|
+
enable: boolean;
|
|
160
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
161
|
+
}>;
|
|
162
|
+
};
|
|
143
163
|
}>> & Readonly<{
|
|
144
164
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
145
165
|
}> & {}>;
|
|
@@ -156,6 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
156
176
|
focus: () => any;
|
|
157
177
|
blur: () => any;
|
|
158
178
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
179
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
159
180
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
160
181
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
161
182
|
stopWatcher: () => void;
|
|
@@ -199,6 +220,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
220
|
isDateDisabled: {
|
|
200
221
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
201
222
|
};
|
|
223
|
+
propKey: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
};
|
|
226
|
+
shortcutListenerConfig: {
|
|
227
|
+
type: PropType<{
|
|
228
|
+
enable: boolean;
|
|
229
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
230
|
+
}>;
|
|
231
|
+
};
|
|
202
232
|
}>> & Readonly<{
|
|
203
233
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
204
234
|
}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
|
2
|
-
import { defineComponent, ref, computed, watch, openBlock, createBlock, unref } from 'vue';
|
|
2
|
+
import { defineComponent, ref, inject, computed, watch, openBlock, createBlock, unref } from 'vue';
|
|
3
3
|
import DatePicker from '../../../../../date-picker/index.js';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import { isString } from 'lodash-es';
|
|
@@ -7,6 +7,7 @@ import { WidgetOptionEnums } from '../../../types/enums.js';
|
|
|
7
7
|
import { DateExtraOptions, DateExtraMap } from '../helpers/dateExtraMap.js';
|
|
8
8
|
import { setDateDisabled, setTimeDisabled } from '../helpers/dateDisabled.js';
|
|
9
9
|
import { presetValToTimestamp } from '../helpers/presetValToTimestamp.js';
|
|
10
|
+
import { InjectionShortcutListenerConfig } from '../../../constants/index.js';
|
|
10
11
|
import { parseDateShortcuts } from '../../../tool/date.js';
|
|
11
12
|
|
|
12
13
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -44,6 +45,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
45
|
const emit = __emit;
|
|
45
46
|
const valueCp = ref();
|
|
46
47
|
const rangeShortcuts = ref();
|
|
48
|
+
const shortcutListenerConfig = inject(InjectionShortcutListenerConfig);
|
|
47
49
|
const dateFormat = computed(() => {
|
|
48
50
|
let formateStr = "";
|
|
49
51
|
switch (props.type) {
|
|
@@ -60,6 +62,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
62
|
var _a;
|
|
61
63
|
return (_a = props.componentCfg) == null ? void 0 : _a.widgetCfg.optionSetting;
|
|
62
64
|
});
|
|
65
|
+
const compName = computed(() => {
|
|
66
|
+
var _a;
|
|
67
|
+
return ((_a = props.componentCfg) == null ? void 0 : _a.columnName) || "";
|
|
68
|
+
});
|
|
63
69
|
watch(() => props.value, (val) => {
|
|
64
70
|
if (val && isString(val)) {
|
|
65
71
|
valueCp.value = moment(val).valueOf();
|
|
@@ -113,6 +119,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
119
|
return (_ctx, _cache) => {
|
|
114
120
|
return openBlock(), createBlock(unref(DatePicker), {
|
|
115
121
|
to: "body",
|
|
122
|
+
propKey: compName.value,
|
|
116
123
|
type: __props.type,
|
|
117
124
|
clearable: __props.clearable,
|
|
118
125
|
valueFormat: __props.valueFormat,
|
|
@@ -122,8 +129,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
129
|
"is-date-disabled": isDateDisabled,
|
|
123
130
|
"is-time-disabled": timeDisabled,
|
|
124
131
|
shortcuts: rangeShortcuts.value,
|
|
132
|
+
shortcutListenerConfig: unref(shortcutListenerConfig),
|
|
125
133
|
"onUpdate:value": handleChange
|
|
126
|
-
}, null, 8, ["type", "clearable", "valueFormat", "placeholder", "value", "shortcuts"]);
|
|
134
|
+
}, null, 8, ["propKey", "type", "clearable", "valueFormat", "placeholder", "value", "shortcuts", "shortcutListenerConfig"]);
|
|
127
135
|
};
|
|
128
136
|
}
|
|
129
137
|
});
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -136,6 +136,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
136
136
|
isDateDisabled: {
|
|
137
137
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
138
138
|
};
|
|
139
|
+
propKey: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
};
|
|
142
|
+
shortcutListenerConfig: {
|
|
143
|
+
type: PropType<{
|
|
144
|
+
enable: boolean;
|
|
145
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
146
|
+
}>;
|
|
147
|
+
};
|
|
139
148
|
}>, {
|
|
140
149
|
attrs: {
|
|
141
150
|
[x: string]: unknown;
|
|
@@ -175,6 +184,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
175
184
|
isDateDisabled: {
|
|
176
185
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
177
186
|
};
|
|
187
|
+
propKey: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
};
|
|
190
|
+
shortcutListenerConfig: {
|
|
191
|
+
type: PropType<{
|
|
192
|
+
enable: boolean;
|
|
193
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
194
|
+
}>;
|
|
195
|
+
};
|
|
178
196
|
}>> & Readonly<{
|
|
179
197
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
180
198
|
}> & {}>;
|
|
@@ -191,6 +209,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
209
|
focus: () => any;
|
|
192
210
|
blur: () => any;
|
|
193
211
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
212
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
194
213
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
195
214
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
196
215
|
stopWatcher: () => void;
|
|
@@ -234,6 +253,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
234
253
|
isDateDisabled: {
|
|
235
254
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
236
255
|
};
|
|
256
|
+
propKey: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
};
|
|
259
|
+
shortcutListenerConfig: {
|
|
260
|
+
type: PropType<{
|
|
261
|
+
enable: boolean;
|
|
262
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
263
|
+
}>;
|
|
264
|
+
};
|
|
237
265
|
}>> & Readonly<{
|
|
238
266
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
239
267
|
}>, {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
|
@@ -58,8 +58,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
59
59
|
valueCp: import("vue").Ref<any, any>;
|
|
60
60
|
rangeShortcuts: import("vue").Ref<any, any>;
|
|
61
|
+
shortcutListenerConfig: AnyObject;
|
|
61
62
|
dateFormat: import("vue").ComputedRef<string>;
|
|
62
63
|
optionSetting: import("vue").ComputedRef<any>;
|
|
64
|
+
compName: import("vue").ComputedRef<any>;
|
|
63
65
|
handleChange: (val: any) => void;
|
|
64
66
|
isDateDisabled: (ts: number) => boolean;
|
|
65
67
|
timeDisabled: (ts: number) => {
|
|
@@ -103,6 +105,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
105
|
isDateDisabled: {
|
|
104
106
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
105
107
|
};
|
|
108
|
+
propKey: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
};
|
|
111
|
+
shortcutListenerConfig: {
|
|
112
|
+
type: PropType<{
|
|
113
|
+
enable: boolean;
|
|
114
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
115
|
+
}>;
|
|
116
|
+
};
|
|
106
117
|
}>, {
|
|
107
118
|
attrs: {
|
|
108
119
|
[x: string]: unknown;
|
|
@@ -142,6 +153,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
142
153
|
isDateDisabled: {
|
|
143
154
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
144
155
|
};
|
|
156
|
+
propKey: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
};
|
|
159
|
+
shortcutListenerConfig: {
|
|
160
|
+
type: PropType<{
|
|
161
|
+
enable: boolean;
|
|
162
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
145
165
|
}>> & Readonly<{
|
|
146
166
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
147
167
|
}> & {}>;
|
|
@@ -158,6 +178,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
158
178
|
focus: () => any;
|
|
159
179
|
blur: () => any;
|
|
160
180
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
181
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
161
182
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
162
183
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
163
184
|
stopWatcher: () => void;
|
|
@@ -201,6 +222,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
201
222
|
isDateDisabled: {
|
|
202
223
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
203
224
|
};
|
|
225
|
+
propKey: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
};
|
|
228
|
+
shortcutListenerConfig: {
|
|
229
|
+
type: PropType<{
|
|
230
|
+
enable: boolean;
|
|
231
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
232
|
+
}>;
|
|
233
|
+
};
|
|
204
234
|
}>> & Readonly<{
|
|
205
235
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
206
236
|
}>, {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
|
2
|
-
import { defineComponent, ref, computed, watch, openBlock, createBlock, unref } from 'vue';
|
|
2
|
+
import { defineComponent, ref, inject, computed, watch, openBlock, createBlock, unref } from 'vue';
|
|
3
3
|
import DatePicker from '../../../../../date-picker/index.js';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import { isString } from 'lodash-es';
|
|
@@ -7,6 +7,7 @@ import { WidgetOptionEnums } from '../../../types/enums.js';
|
|
|
7
7
|
import { DateExtraOptions, DateExtraMap } from '../helpers/dateExtraMap.js';
|
|
8
8
|
import { formatDateRangeInfo } from '../helpers/presetValToTimestamp.js';
|
|
9
9
|
import { setDateDisabled, setTimeDisabled } from '../helpers/dateDisabled.js';
|
|
10
|
+
import { InjectionShortcutListenerConfig } from '../../../constants/index.js';
|
|
10
11
|
import { parseDateShortcuts } from '../../../tool/date.js';
|
|
11
12
|
|
|
12
13
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -45,6 +46,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
46
|
const emit = __emit;
|
|
46
47
|
const valueCp = ref();
|
|
47
48
|
const rangeShortcuts = ref();
|
|
49
|
+
const shortcutListenerConfig = inject(InjectionShortcutListenerConfig);
|
|
48
50
|
const dateFormat = computed(() => {
|
|
49
51
|
let formateStr = "";
|
|
50
52
|
switch (props.type) {
|
|
@@ -61,6 +63,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
63
|
var _a;
|
|
62
64
|
return (_a = props.componentCfg) == null ? void 0 : _a.widgetCfg.optionSetting;
|
|
63
65
|
});
|
|
66
|
+
const compName = computed(() => {
|
|
67
|
+
var _a;
|
|
68
|
+
return ((_a = props.componentCfg) == null ? void 0 : _a.columnName) || "";
|
|
69
|
+
});
|
|
64
70
|
watch(() => props.value, (val) => {
|
|
65
71
|
if (val && isString(val) && val.includes("~")) {
|
|
66
72
|
const [start, end] = val.split("~");
|
|
@@ -120,6 +126,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
126
|
return (_ctx, _cache) => {
|
|
121
127
|
return openBlock(), createBlock(unref(DatePicker), {
|
|
122
128
|
to: "body",
|
|
129
|
+
propKey: compName.value,
|
|
123
130
|
type: __props.type,
|
|
124
131
|
clearable: __props.clearable,
|
|
125
132
|
startPlaceholder: __props.startPlaceholder,
|
|
@@ -128,8 +135,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
135
|
"is-date-disabled": isDateDisabled,
|
|
129
136
|
"is-time-disabled": timeDisabled,
|
|
130
137
|
shortcuts: rangeShortcuts.value,
|
|
138
|
+
shortcutListenerConfig: unref(shortcutListenerConfig),
|
|
131
139
|
"onUpdate:value": handleChange
|
|
132
|
-
}, null, 8, ["type", "clearable", "startPlaceholder", "endPlaceholder", "value", "shortcuts"]);
|
|
140
|
+
}, null, 8, ["propKey", "type", "clearable", "startPlaceholder", "endPlaceholder", "value", "shortcuts", "shortcutListenerConfig"]);
|
|
133
141
|
};
|
|
134
142
|
}
|
|
135
143
|
});
|