cnhis-design-vue 3.3.3-beta.7 → 3.3.3-release.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/audio-sdk/index.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue2.js +40 -5
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +7 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +7 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +10 -3
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +105 -11
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +5 -2
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +7 -3
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +18 -0
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/index.d.ts +56 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
- package/es/components/classification/src/index.vue.d.ts +56 -6
- package/es/components/date-picker/src/DatePicker.vue2.js +8 -1
- package/es/components/expand-field/index.d.ts +792 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +792 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -1
- package/es/components/field-editor/index.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
- package/es/components/field-editor/src/fields.d.ts +1 -0
- package/es/components/field-editor/src/fields.js +6 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +38 -1
- package/es/components/field-set/src/FieldSet.vue2.js +118 -69
- package/es/components/field-set/src/Index.vue2.js +8 -3
- package/es/components/field-set/src/TableStyle.vue2.js +2 -2
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/table-row.vue2.js +21 -6
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +2 -0
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +102 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +102 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +63 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +9 -2
- package/es/components/form-config/src/constants/index.d.ts +31 -1
- package/es/components/form-config/src/constants/index.js +150 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
- package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
- package/es/components/form-config/src/hooks/useLocale.js +34 -0
- package/es/components/form-config/src/types/index.d.ts +12 -0
- package/es/components/form-render/index.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue2.js +5 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +18 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +17 -3
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
- 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/searchCascade.js +3 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +2 -1
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/iho-chat/index.d.ts +861 -49
- package/es/components/iho-chat/src/Index.vue.d.ts +861 -49
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +181 -8
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +51 -41
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +66 -6
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +154 -57
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +329 -15
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +21 -19
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +235 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +298 -279
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +51 -5
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +3 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +34 -27
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +53 -6
- package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +3 -3
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +64 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +112 -53
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +24 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
- package/es/components/iho-chat/src/hooks/useData.js +2 -7
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +24 -1
- package/es/components/iho-chat/src/types/index.d.ts +37 -1
- package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
- package/es/components/iho-chat/src/utils/emoji.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +3 -3
- package/es/components/iho-chat/src/utils/index.js +27 -39
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +8 -1
- package/es/components/iho-table/src/plugins/headerPlugin/index.js +5 -2
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +2 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +41 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +19 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +18 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/scale-view/index.d.ts +53 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +56 -5
- package/es/components/scale-view/src/ScaleView.vue2.js +79 -4
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +3 -0
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +26 -2
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +3 -0
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +27 -6
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +45 -3
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +16 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +18 -3
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +8 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
- package/es/components/scale-view/src/utils/judge-types.js +10 -10
- package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
- package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
- package/es/components/select-person/index.d.ts +792 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +433 -273
- package/es/components/select-person/src/SelectPerson.vue.js +6 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +788 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +2 -2
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
- package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
- package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
- package/es/components/select-person/src/components/TagItem.vue.js +6 -0
- package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
- package/es/components/select-person/src/index.vue.d.ts +793 -1
- package/es/components/select-person/src/index.vue2.js +21 -4
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/select-person/src/utils/index.js +25 -2
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +18 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +2 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/components/vod-chunk-upload/index.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +1 -29
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +109 -11
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +15 -1
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +72 -9
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +75 -9
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.js +3 -3
- package/es/shared/package.json.js +1 -1
- package/package.json +4 -3
@@ -8,9 +8,6 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
8
8
|
type: NumberConstructor;
|
9
9
|
default: number;
|
10
10
|
};
|
11
|
-
realTimeRecognition: {
|
12
|
-
type: BooleanConstructor;
|
13
|
-
};
|
14
11
|
allowPunctuationMark: {
|
15
12
|
type: BooleanConstructor;
|
16
13
|
default: boolean;
|
@@ -32,8 +29,12 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
32
29
|
type: StringConstructor;
|
33
30
|
default: string;
|
34
31
|
};
|
32
|
+
appCode: {
|
33
|
+
type: StringConstructor;
|
34
|
+
};
|
35
35
|
}, {
|
36
36
|
consultationRecordUrl: string;
|
37
|
+
chatBoxinit: string;
|
37
38
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
38
39
|
audioSdk: AudioSDK;
|
39
40
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -41,9 +42,6 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
41
42
|
type: NumberConstructor;
|
42
43
|
default: number;
|
43
44
|
};
|
44
|
-
realTimeRecognition: {
|
45
|
-
type: BooleanConstructor;
|
46
|
-
};
|
47
45
|
allowPunctuationMark: {
|
48
46
|
type: BooleanConstructor;
|
49
47
|
default: boolean;
|
@@ -65,6 +63,9 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
65
63
|
type: StringConstructor;
|
66
64
|
default: string;
|
67
65
|
};
|
66
|
+
appCode: {
|
67
|
+
type: StringConstructor;
|
68
|
+
};
|
68
69
|
}>> & {
|
69
70
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
70
71
|
onClose?: ((...args: any[]) => any) | undefined;
|
@@ -79,6 +80,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
79
80
|
recordingRef: import("vue").Ref<any>;
|
80
81
|
isRecording: import("vue").Ref<boolean>;
|
81
82
|
loading: import("vue").Ref<boolean>;
|
83
|
+
audioType: import("vue").Ref<"websocket" | "http" | undefined>;
|
82
84
|
content: any;
|
83
85
|
wsConnected: import("vue").ComputedRef<boolean | undefined>;
|
84
86
|
recorderStatus: import("vue").ComputedRef<"" | "fail">;
|
@@ -101,6 +103,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
101
103
|
onPause: () => void;
|
102
104
|
onResume: () => void;
|
103
105
|
handleToAnalyzing: (obj?: import("../../shared/types").AnyObject) => Promise<void>;
|
106
|
+
getAudioType: () => Promise<void>;
|
104
107
|
createMedicalRecord: () => Promise<void>;
|
105
108
|
CRecording: import("vue").DefineComponent<{
|
106
109
|
content: {
|
@@ -140,7 +143,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
140
143
|
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
141
144
|
};
|
142
145
|
recorderStatus: {
|
143
|
-
type:
|
146
|
+
type: StringConstructor;
|
144
147
|
default: string;
|
145
148
|
};
|
146
149
|
}, {
|
@@ -182,7 +185,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
182
185
|
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
183
186
|
};
|
184
187
|
recorderStatus: {
|
185
|
-
type:
|
188
|
+
type: StringConstructor;
|
186
189
|
default: string;
|
187
190
|
};
|
188
191
|
}>> & {
|
@@ -200,12 +203,12 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
200
203
|
data: string;
|
201
204
|
}>;
|
202
205
|
wsConnected: import("vue").Ref<boolean>;
|
203
|
-
recorderStatus: import("vue").Ref<
|
206
|
+
recorderStatus: import("vue").Ref<string>;
|
204
207
|
audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
|
205
208
|
audioChartSamllRef: import("vue").Ref<HTMLDivElement | undefined>;
|
206
209
|
contentScrollRef: import("vue").Ref<HTMLDivElement | undefined>;
|
207
|
-
isActive: import("vue").Ref<boolean>;
|
208
210
|
isWarning: import("vue").Ref<boolean>;
|
211
|
+
isActive: import("vue").Ref<boolean>;
|
209
212
|
formattedTime: import("vue").ComputedRef<string>;
|
210
213
|
isCountFinished: import("vue").Ref<boolean>;
|
211
214
|
isCountActive: import("vue").Ref<boolean>;
|
@@ -316,7 +319,7 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
316
319
|
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
317
320
|
};
|
318
321
|
recorderStatus: {
|
319
|
-
type:
|
322
|
+
type: StringConstructor;
|
320
323
|
default: string;
|
321
324
|
};
|
322
325
|
}>> & {
|
@@ -336,16 +339,13 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
336
339
|
showBtn: boolean;
|
337
340
|
wsConnected: boolean;
|
338
341
|
fromSdk: boolean;
|
339
|
-
recorderStatus:
|
342
|
+
recorderStatus: string;
|
340
343
|
}>;
|
341
344
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "recordingHeightChange")[], "close" | "success" | "fail" | "recordingHeightChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
342
345
|
timed: {
|
343
346
|
type: NumberConstructor;
|
344
347
|
default: number;
|
345
348
|
};
|
346
|
-
realTimeRecognition: {
|
347
|
-
type: BooleanConstructor;
|
348
|
-
};
|
349
349
|
allowPunctuationMark: {
|
350
350
|
type: BooleanConstructor;
|
351
351
|
default: boolean;
|
@@ -367,6 +367,9 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
367
367
|
type: StringConstructor;
|
368
368
|
default: string;
|
369
369
|
};
|
370
|
+
appCode: {
|
371
|
+
type: StringConstructor;
|
372
|
+
};
|
370
373
|
}>> & {
|
371
374
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
372
375
|
onClose?: ((...args: any[]) => any) | undefined;
|
@@ -374,7 +377,6 @@ declare const AudioSdk: SFCWithInstall<import("vue").DefineComponent<{
|
|
374
377
|
onRecordingHeightChange?: ((...args: any[]) => any) | undefined;
|
375
378
|
}, {
|
376
379
|
timed: number;
|
377
|
-
realTimeRecognition: boolean;
|
378
380
|
allowPunctuationMark: boolean;
|
379
381
|
useSource: string;
|
380
382
|
textPrefix: string;
|
@@ -6,9 +6,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
type: NumberConstructor;
|
7
7
|
default: number;
|
8
8
|
};
|
9
|
-
realTimeRecognition: {
|
10
|
-
type: BooleanConstructor;
|
11
|
-
};
|
12
9
|
allowPunctuationMark: {
|
13
10
|
type: BooleanConstructor;
|
14
11
|
default: boolean;
|
@@ -30,8 +27,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
30
27
|
type: StringConstructor;
|
31
28
|
default: string;
|
32
29
|
};
|
30
|
+
appCode: {
|
31
|
+
type: StringConstructor;
|
32
|
+
};
|
33
33
|
}, {
|
34
34
|
consultationRecordUrl: string;
|
35
|
+
chatBoxinit: string;
|
35
36
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
36
37
|
audioSdk: AudioSDK;
|
37
38
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -39,9 +40,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
40
|
type: NumberConstructor;
|
40
41
|
default: number;
|
41
42
|
};
|
42
|
-
realTimeRecognition: {
|
43
|
-
type: BooleanConstructor;
|
44
|
-
};
|
45
43
|
allowPunctuationMark: {
|
46
44
|
type: BooleanConstructor;
|
47
45
|
default: boolean;
|
@@ -63,6 +61,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
61
|
type: StringConstructor;
|
64
62
|
default: string;
|
65
63
|
};
|
64
|
+
appCode: {
|
65
|
+
type: StringConstructor;
|
66
|
+
};
|
66
67
|
}>> & {
|
67
68
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
68
69
|
onClose?: ((...args: any[]) => any) | undefined;
|
@@ -77,6 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
78
|
recordingRef: import("vue").Ref<any>;
|
78
79
|
isRecording: import("vue").Ref<boolean>;
|
79
80
|
loading: import("vue").Ref<boolean>;
|
81
|
+
audioType: import("vue").Ref<"websocket" | "http" | undefined>;
|
80
82
|
content: any;
|
81
83
|
wsConnected: import("vue").ComputedRef<boolean | undefined>;
|
82
84
|
recorderStatus: import("vue").ComputedRef<"" | "fail">;
|
@@ -99,6 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
101
|
onPause: () => void;
|
100
102
|
onResume: () => void;
|
101
103
|
handleToAnalyzing: (obj?: AnyObject) => Promise<void>;
|
104
|
+
getAudioType: () => Promise<void>;
|
102
105
|
createMedicalRecord: () => Promise<void>;
|
103
106
|
CRecording: import("vue").DefineComponent<{
|
104
107
|
content: {
|
@@ -138,7 +141,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
138
141
|
type: PropType<import("../../../shared/types").AnyFn>;
|
139
142
|
};
|
140
143
|
recorderStatus: {
|
141
|
-
type:
|
144
|
+
type: StringConstructor;
|
142
145
|
default: string;
|
143
146
|
};
|
144
147
|
}, {
|
@@ -180,7 +183,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
180
183
|
type: PropType<import("../../../shared/types").AnyFn>;
|
181
184
|
};
|
182
185
|
recorderStatus: {
|
183
|
-
type:
|
186
|
+
type: StringConstructor;
|
184
187
|
default: string;
|
185
188
|
};
|
186
189
|
}>> & {
|
@@ -198,12 +201,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
198
201
|
data: string;
|
199
202
|
}>;
|
200
203
|
wsConnected: import("vue").Ref<boolean>;
|
201
|
-
recorderStatus: import("vue").Ref<
|
204
|
+
recorderStatus: import("vue").Ref<string>;
|
202
205
|
audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
|
203
206
|
audioChartSamllRef: import("vue").Ref<HTMLDivElement | undefined>;
|
204
207
|
contentScrollRef: import("vue").Ref<HTMLDivElement | undefined>;
|
205
|
-
isActive: import("vue").Ref<boolean>;
|
206
208
|
isWarning: import("vue").Ref<boolean>;
|
209
|
+
isActive: import("vue").Ref<boolean>;
|
207
210
|
formattedTime: import("vue").ComputedRef<string>;
|
208
211
|
isCountFinished: import("vue").Ref<boolean>;
|
209
212
|
isCountActive: import("vue").Ref<boolean>;
|
@@ -314,7 +317,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
314
317
|
type: PropType<import("../../../shared/types").AnyFn>;
|
315
318
|
};
|
316
319
|
recorderStatus: {
|
317
|
-
type:
|
320
|
+
type: StringConstructor;
|
318
321
|
default: string;
|
319
322
|
};
|
320
323
|
}>> & {
|
@@ -334,16 +337,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
334
337
|
showBtn: boolean;
|
335
338
|
wsConnected: boolean;
|
336
339
|
fromSdk: boolean;
|
337
|
-
recorderStatus:
|
340
|
+
recorderStatus: string;
|
338
341
|
}>;
|
339
342
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "fail" | "recordingHeightChange")[], "close" | "success" | "fail" | "recordingHeightChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
340
343
|
timed: {
|
341
344
|
type: NumberConstructor;
|
342
345
|
default: number;
|
343
346
|
};
|
344
|
-
realTimeRecognition: {
|
345
|
-
type: BooleanConstructor;
|
346
|
-
};
|
347
347
|
allowPunctuationMark: {
|
348
348
|
type: BooleanConstructor;
|
349
349
|
default: boolean;
|
@@ -365,6 +365,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
365
365
|
type: StringConstructor;
|
366
366
|
default: string;
|
367
367
|
};
|
368
|
+
appCode: {
|
369
|
+
type: StringConstructor;
|
370
|
+
};
|
368
371
|
}>> & {
|
369
372
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
370
373
|
onClose?: ((...args: any[]) => any) | undefined;
|
@@ -372,7 +375,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
372
375
|
onRecordingHeightChange?: ((...args: any[]) => any) | undefined;
|
373
376
|
}, {
|
374
377
|
timed: number;
|
375
|
-
realTimeRecognition: boolean;
|
376
378
|
allowPunctuationMark: boolean;
|
377
379
|
useSource: string;
|
378
380
|
textPrefix: string;
|
@@ -21,9 +21,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
type: Number,
|
22
22
|
default: 5
|
23
23
|
},
|
24
|
-
realTimeRecognition: {
|
25
|
-
type: Boolean
|
26
|
-
},
|
27
24
|
allowPunctuationMark: {
|
28
25
|
type: Boolean,
|
29
26
|
default: true
|
@@ -44,6 +41,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
44
41
|
textPrefix: {
|
45
42
|
type: String,
|
46
43
|
default: ""
|
44
|
+
},
|
45
|
+
appCode: {
|
46
|
+
type: String
|
47
47
|
}
|
48
48
|
},
|
49
49
|
emits: ["close", "success", "fail", "recordingHeightChange"],
|
@@ -53,6 +53,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
53
|
}) {
|
54
54
|
const props = __props;
|
55
55
|
const consultationRecordUrl = "/flow/openApi/consultationRecord";
|
56
|
+
const chatBoxinit = "/flow/ai/api/chatBoxInit";
|
56
57
|
const cssVars = useTheme();
|
57
58
|
const audioSdk = AudioSDK.create();
|
58
59
|
const attrs = useAttrs();
|
@@ -60,10 +61,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
61
|
const recordingRef = ref();
|
61
62
|
const isRecording = ref(false);
|
62
63
|
const loading = ref(false);
|
64
|
+
const audioType = ref();
|
63
65
|
const content = computed(() => {
|
64
66
|
return audioSdk.contentRef.value;
|
65
67
|
});
|
66
|
-
const wsConnected = computed(() =>
|
68
|
+
const wsConnected = computed(() => {
|
69
|
+
if (audioType.value === "http")
|
70
|
+
return true;
|
71
|
+
return audioSdk.wsConnected.value;
|
72
|
+
});
|
67
73
|
const recorderStatus = computed(() => audioSdk.recorderStatus.value);
|
68
74
|
const recordingProps = computed(() => {
|
69
75
|
return {
|
@@ -135,7 +141,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
135
141
|
taskId: 1,
|
136
142
|
audioText: props.textPrefix + audioText,
|
137
143
|
intentionCode: props.intentionCode,
|
138
|
-
configs: props.configs || {}
|
144
|
+
configs: props.configs || {},
|
145
|
+
...props.appCode ? {
|
146
|
+
appCode: props.appCode
|
147
|
+
} : {}
|
139
148
|
}, {
|
140
149
|
headers: {
|
141
150
|
Authorization: `bearer ${props.token}`
|
@@ -157,10 +166,36 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
157
166
|
isRecording.value = false;
|
158
167
|
}
|
159
168
|
};
|
169
|
+
const getAudioType = async () => {
|
170
|
+
if (!props.appCode || !props.token)
|
171
|
+
return;
|
172
|
+
try {
|
173
|
+
const {
|
174
|
+
data
|
175
|
+
} = await axios.post(chatBoxinit, {
|
176
|
+
appCode: props.appCode,
|
177
|
+
configs: props.configs || {}
|
178
|
+
}, {
|
179
|
+
headers: {
|
180
|
+
authorization: props.token
|
181
|
+
}
|
182
|
+
});
|
183
|
+
if (!(data == null ? void 0 : data.success))
|
184
|
+
return;
|
185
|
+
if (Reflect.has((data == null ? void 0 : data.data) || {}, "voiceStreamFlag")) {
|
186
|
+
audioType.value = data.data.voiceStreamFlag ? "websocket" : "http";
|
187
|
+
}
|
188
|
+
} catch (error) {
|
189
|
+
}
|
190
|
+
};
|
160
191
|
const createMedicalRecord = async () => {
|
192
|
+
var _a;
|
161
193
|
isRecording.value = true;
|
162
194
|
try {
|
195
|
+
if (!audioType.value)
|
196
|
+
await getAudioType();
|
163
197
|
const res = await audioSdk.start({
|
198
|
+
type: (_a = audioType.value) != null ? _a : "websocket",
|
164
199
|
...props,
|
165
200
|
...attrs
|
166
201
|
});
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
50
50
|
type: import("vue").PropType<import("../../../../shared/types").AnyFn>;
|
51
51
|
};
|
52
52
|
recorderStatus: {
|
53
|
-
type:
|
53
|
+
type: StringConstructor;
|
54
54
|
default: string;
|
55
55
|
};
|
56
56
|
}, {
|
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
92
92
|
type: import("vue").PropType<import("../../../../shared/types").AnyFn>;
|
93
93
|
};
|
94
94
|
recorderStatus: {
|
95
|
-
type:
|
95
|
+
type: StringConstructor;
|
96
96
|
default: string;
|
97
97
|
};
|
98
98
|
}>> & {
|
@@ -110,12 +110,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
110
110
|
data: string;
|
111
111
|
}>;
|
112
112
|
wsConnected: import("vue").Ref<boolean>;
|
113
|
-
recorderStatus: import("vue").Ref<
|
113
|
+
recorderStatus: import("vue").Ref<string>;
|
114
114
|
audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
|
115
115
|
audioChartSamllRef: import("vue").Ref<HTMLDivElement | undefined>;
|
116
116
|
contentScrollRef: import("vue").Ref<HTMLDivElement | undefined>;
|
117
|
-
isActive: import("vue").Ref<boolean>;
|
118
117
|
isWarning: import("vue").Ref<boolean>;
|
118
|
+
isActive: import("vue").Ref<boolean>;
|
119
119
|
formattedTime: import("vue").ComputedRef<string>;
|
120
120
|
isCountFinished: import("vue").Ref<boolean>;
|
121
121
|
isCountActive: import("vue").Ref<boolean>;
|
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
226
226
|
type: import("vue").PropType<import("../../../../shared/types").AnyFn>;
|
227
227
|
};
|
228
228
|
recorderStatus: {
|
229
|
-
type:
|
229
|
+
type: StringConstructor;
|
230
230
|
default: string;
|
231
231
|
};
|
232
232
|
}>> & {
|
@@ -246,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
246
246
|
showBtn: boolean;
|
247
247
|
wsConnected: boolean;
|
248
248
|
fromSdk: boolean;
|
249
|
-
recorderStatus:
|
249
|
+
recorderStatus: string;
|
250
250
|
}>;
|
251
251
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
252
252
|
content: {
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
38
|
type: PropType<AnyFn>;
|
39
39
|
};
|
40
40
|
recorderStatus: {
|
41
|
-
type:
|
41
|
+
type: StringConstructor;
|
42
42
|
default: string;
|
43
43
|
};
|
44
44
|
}, {
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
80
|
type: PropType<AnyFn>;
|
81
81
|
};
|
82
82
|
recorderStatus: {
|
83
|
-
type:
|
83
|
+
type: StringConstructor;
|
84
84
|
default: string;
|
85
85
|
};
|
86
86
|
}>> & {
|
@@ -98,12 +98,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
data: string;
|
99
99
|
}>;
|
100
100
|
wsConnected: import("vue").Ref<boolean>;
|
101
|
-
recorderStatus: import("vue").Ref<
|
101
|
+
recorderStatus: import("vue").Ref<string>;
|
102
102
|
audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
|
103
103
|
audioChartSamllRef: import("vue").Ref<HTMLDivElement | undefined>;
|
104
104
|
contentScrollRef: import("vue").Ref<HTMLDivElement | undefined>;
|
105
|
-
isActive: import("vue").Ref<boolean>;
|
106
105
|
isWarning: import("vue").Ref<boolean>;
|
106
|
+
isActive: import("vue").Ref<boolean>;
|
107
107
|
formattedTime: import("vue").ComputedRef<string>;
|
108
108
|
isCountFinished: import("vue").Ref<boolean>;
|
109
109
|
isCountActive: import("vue").Ref<boolean>;
|
@@ -214,7 +214,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
214
214
|
type: PropType<AnyFn>;
|
215
215
|
};
|
216
216
|
recorderStatus: {
|
217
|
-
type:
|
217
|
+
type: StringConstructor;
|
218
218
|
default: string;
|
219
219
|
};
|
220
220
|
}>> & {
|
@@ -234,6 +234,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
234
234
|
showBtn: boolean;
|
235
235
|
wsConnected: boolean;
|
236
236
|
fromSdk: boolean;
|
237
|
-
recorderStatus:
|
237
|
+
recorderStatus: string;
|
238
238
|
}>;
|
239
239
|
export default _default;
|
@@ -24,7 +24,14 @@ const _hoisted_3 = {
|
|
24
24
|
const _hoisted_4 = {
|
25
25
|
class: "tip-small"
|
26
26
|
};
|
27
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null,
|
27
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
28
|
+
var _a, _b, _c;
|
29
|
+
try {
|
30
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.630")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.630")) || "\u6682\u505C";
|
31
|
+
} catch (e) {
|
32
|
+
return "\u6682\u505C";
|
33
|
+
}
|
34
|
+
}(), -1);
|
28
35
|
const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "\u7EE7\u7EED", -1);
|
29
36
|
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
30
37
|
var _a, _b, _c;
|
@@ -120,9 +127,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
127
|
const audioChartRef = ref();
|
121
128
|
const audioChartSamllRef = ref();
|
122
129
|
const contentScrollRef = ref();
|
130
|
+
const isWarning = ref(false);
|
123
131
|
const {
|
124
132
|
isActive,
|
125
|
-
isWarning,
|
126
133
|
formattedTime,
|
127
134
|
isCountFinished,
|
128
135
|
isCountActive,
|
@@ -322,7 +329,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
322
329
|
disabled: unref(btnDisabled),
|
323
330
|
onClick: unref(onPause)
|
324
331
|
}, {
|
325
|
-
default: withCtx(() => [createTextVNode(
|
332
|
+
default: withCtx(() => [createTextVNode(function() {
|
333
|
+
var _a, _b, _c;
|
334
|
+
try {
|
335
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.630")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.630")) || "\u6682\u505C";
|
336
|
+
} catch (e) {
|
337
|
+
return "\u6682\u505C";
|
338
|
+
}
|
339
|
+
}())]),
|
326
340
|
_: 1
|
327
341
|
}, 8, ["disabled", "onClick"]), [[vShow, unref(isActive)]]), withDirectives(createVNode(unref(NButton), {
|
328
342
|
size: "large",
|
@@ -53,6 +53,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
53
53
|
defaultValue: any;
|
54
54
|
defValueUnit: any;
|
55
55
|
optionSetting: string | undefined;
|
56
|
+
dateShortcuts: any[] | undefined;
|
56
57
|
multiple: boolean;
|
57
58
|
manualMapping: boolean | null | undefined;
|
58
59
|
showWholeOption: boolean | undefined;
|
@@ -76,6 +77,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
76
77
|
accurateSearch: any;
|
77
78
|
extendKey: string;
|
78
79
|
extendType: string;
|
80
|
+
dateShortcuts: any[];
|
79
81
|
}[];
|
80
82
|
transformParams: (paramsList: any[]) => any;
|
81
83
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -120,6 +122,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
120
122
|
unit: "custom" | null;
|
121
123
|
widgetType?: string | undefined;
|
122
124
|
dynamicBaseList?: any[] | undefined;
|
125
|
+
dateShortcuts?: any[] | undefined;
|
123
126
|
isAccurateSearch?: boolean | undefined;
|
124
127
|
accurateSearchKey?: string | undefined;
|
125
128
|
}[]>;
|
@@ -54,6 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
defaultValue: any;
|
55
55
|
defValueUnit: any;
|
56
56
|
optionSetting: string | undefined;
|
57
|
+
dateShortcuts: any[] | undefined;
|
57
58
|
multiple: boolean;
|
58
59
|
manualMapping: boolean | null | undefined;
|
59
60
|
showWholeOption: boolean | undefined;
|
@@ -77,6 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
78
|
accurateSearch: any;
|
78
79
|
extendKey: string;
|
79
80
|
extendType: string;
|
81
|
+
dateShortcuts: any[];
|
80
82
|
}[];
|
81
83
|
transformParams: (paramsList: any[]) => any;
|
82
84
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -121,6 +123,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
121
123
|
unit: "custom" | null;
|
122
124
|
widgetType?: string | undefined;
|
123
125
|
dynamicBaseList?: any[] | undefined;
|
126
|
+
dateShortcuts?: any[] | undefined;
|
124
127
|
isAccurateSearch?: boolean | undefined;
|
125
128
|
accurateSearchKey?: string | undefined;
|
126
129
|
}[]>;
|
@@ -58,7 +58,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
let res = "";
|
59
59
|
switch (props.noDataImg) {
|
60
60
|
case "no-permission":
|
61
|
-
res =
|
61
|
+
res = function() {
|
62
|
+
var _a, _b, _c;
|
63
|
+
try {
|
64
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.622")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.622")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
|
65
|
+
} catch (e) {
|
66
|
+
return "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
|
67
|
+
}
|
68
|
+
}();
|
62
69
|
break;
|
63
70
|
case "failure":
|
64
71
|
res = function() {
|
@@ -25,7 +25,14 @@ const useTableParse = (formatData) => {
|
|
25
25
|
const du = hu * 24;
|
26
26
|
if (value < du) {
|
27
27
|
const v2 = Math.floor(value / 60) % 60;
|
28
|
-
return `${Math.floor(value / hu)}\u5C0F\u65F6${v2 ? v2 +
|
28
|
+
return `${Math.floor(value / hu)}\u5C0F\u65F6${v2 ? v2 + function() {
|
29
|
+
var _a, _b, _c;
|
30
|
+
try {
|
31
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
|
32
|
+
} catch (e) {
|
33
|
+
return "\u5206";
|
34
|
+
}
|
35
|
+
}() : ""}`;
|
29
36
|
}
|
30
37
|
const MU = du * 30;
|
31
38
|
if (value < MU) {
|
@@ -340,6 +340,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
340
340
|
buttonProps: {};
|
341
341
|
showMaxHeight: null;
|
342
342
|
initLoadPrintParams: boolean;
|
343
|
+
showPreviewDataList: boolean;
|
343
344
|
};
|
344
345
|
};
|
345
346
|
svrUpdateIp: {
|
@@ -459,6 +460,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
459
460
|
buttonProps: {};
|
460
461
|
showMaxHeight: null;
|
461
462
|
initLoadPrintParams: boolean;
|
463
|
+
showPreviewDataList: boolean;
|
462
464
|
};
|
463
465
|
};
|
464
466
|
svrUpdateIp: {
|
@@ -493,6 +495,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
493
495
|
showMaxHeight: import("vue").ComputedRef<any>;
|
494
496
|
printAllFormatIds: import("vue").ComputedRef<any>;
|
495
497
|
positionElement: import("vue").ComputedRef<any>;
|
498
|
+
showPreviewDataList: import("vue").ComputedRef<any>;
|
496
499
|
printAllShortcut: import("vue").ComputedRef<any>;
|
497
500
|
showSettingItems: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
498
501
|
isSelectedAll: import("vue").WritableComputedRef<boolean>;
|
@@ -511,13 +514,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
511
514
|
callLocalServicesCancelCb: (res: unknown) => void;
|
512
515
|
prevFnError: (type: string) => void;
|
513
516
|
getPrintParams: () => string;
|
514
|
-
getOnceParams: (curPrintParamList: any[] | undefined, templateCode: string) => string;
|
517
|
+
getOnceParams: (curPrintParamList: any[] | undefined, templateCode: string, name?: string | undefined) => string;
|
515
518
|
handleClickPrintAll: () => void;
|
516
519
|
toggleExpandLoading: (isLoading: boolean, formatId?: string | undefined) => void;
|
517
520
|
getCurrentLoading: () => any;
|
518
521
|
handleOneTypePrint: (templateCode: string, templateId: string, formatId: string, isOuterClick: boolean) => void;
|
519
522
|
handleClickPrint: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, printToParam?: never[], needContinuePrint?: boolean | undefined) => Promise<void>;
|
520
|
-
handleClickPreview: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
|
523
|
+
handleClickPreview: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, name?: string | undefined) => Promise<void>;
|
521
524
|
handleClickPdf: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
|
522
525
|
handleClickEdit: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => void;
|
523
526
|
handleResetPrinter: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
|
@@ -557,6 +560,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
557
560
|
NCheckbox: any;
|
558
561
|
PrintOutline: 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<{}>>, {}>;
|
559
562
|
ChevronDownSharp: 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<{}>>, {}>;
|
563
|
+
ArrowForward: 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<{}>>, {}>;
|
560
564
|
ArrowForwardOutline: 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<{}>>, {}>;
|
561
565
|
SettingsOutline: 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<{}>>, {}>;
|
562
566
|
IdentityVerification: import("vue").DefineComponent<{
|
@@ -838,6 +842,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
838
842
|
buttonProps: {};
|
839
843
|
showMaxHeight: null;
|
840
844
|
initLoadPrintParams: boolean;
|
845
|
+
showPreviewDataList: boolean;
|
841
846
|
};
|
842
847
|
};
|
843
848
|
svrUpdateIp: {
|