cnhis-design-vue 3.3.1-release.5 → 3.3.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +20 -0
- package/es/components/audio-sdk/src/Index.vue.d.ts +20 -0
- package/es/components/audio-sdk/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +1 -0
- package/es/components/audio-sdk/src/audioSDK.js +11 -3
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +10 -0
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +10 -0
- package/es/components/audio-sdk/src/components/recording.vue2.js +5 -0
- package/es/components/audio-sdk/src/constants/index.d.ts +1 -0
- package/es/components/audio-sdk/src/constants/index.js +3 -0
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
- package/es/components/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/card-render/index.d.ts +4 -4
- package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
- package/es/components/field-editor/index.d.ts +4 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +80 -5
- package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.d.ts +2 -1
- package/es/components/form-config/src/constants/index.js +12 -11
- package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
- package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
- package/es/components/form-config/src/hooks/useLocale.js +32 -31
- package/es/components/form-config/src/types/index.d.ts +1 -0
- package/es/components/form-render/index.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
- package/es/components/form-render/src/FormRender.vue2.js +3 -2
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
- package/es/components/form-render/src/components/renderer/input.js +39 -7
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -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 +11 -10
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/text.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
- package/es/components/form-render/src/components/renderer/textarea.js +36 -8
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
- package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormField.js +5 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -0
- package/es/components/form-render/src/utils/schema.js +60 -15
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +10 -10
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/index.d.ts +13 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
- package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +6 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +0 -3
- package/es/components/info-header/index.d.ts +13 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- 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 +5 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- 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 +6 -6
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +24 -21
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +16 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +11 -11
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- 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/table_style_2.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/components/CancelRadio/CancelRadio.d.ts +7 -0
- package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +76 -77
- package/es/components/ai-chat/index.d.ts +0 -680
- package/es/components/ai-chat/index.js +0 -10
- package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
- package/es/components/ai-chat/src/Index.vue.js +0 -6
- package/es/components/ai-chat/src/Index.vue2.js +0 -175
- package/es/components/ai-chat/src/api/index.d.ts +0 -8
- package/es/components/ai-chat/src/api/index.js +0 -87
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
- package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
- package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
- package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
- package/es/components/ai-chat/src/components/ChatCard.js +0 -403
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
- package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
- package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMain.js +0 -350
- package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
- package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
- package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
- package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
- package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
- package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
- package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
- package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
- package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
- package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
- package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
- package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
- package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
- package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
- package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
- package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
- package/es/components/ai-chat/src/hooks/index.js +0 -2
- package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
- package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
- package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
- package/es/components/ai-chat/src/hooks/useData.js +0 -289
- package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
- package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
- package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
- package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
- package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
- package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
- package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
- package/es/components/ai-chat/src/types/index.d.ts +0 -45
- package/es/components/ai-chat/src/types/index.js +0 -1
- package/es/components/ai-chat/src/utils/index.d.ts +0 -7
- package/es/components/ai-chat/src/utils/index.js +0 -41
- package/es/components/ai-chat/style/index.css +0 -1
- package/es/shared/assets/img/ai__avatar.png.js +0 -3
- package/es/shared/assets/img/file-emr.png.js +0 -3
- package/es/shared/assets/img/file.png.js +0 -3
- package/es/shared/assets/img/logo.png.js +0 -3
- package/es/shared/assets/img/use.png.js +0 -3
@@ -73,12 +73,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
73
73
|
expose,
|
74
74
|
emit
|
75
75
|
}) {
|
76
|
-
var _a;
|
76
|
+
var _a, _b, _c;
|
77
77
|
const props = __props;
|
78
78
|
const rules = {
|
79
79
|
classname: {
|
80
80
|
required: true,
|
81
|
-
message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0",
|
81
|
+
message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0",
|
82
82
|
trigger: ["input", "blur"]
|
83
83
|
}
|
84
84
|
};
|
@@ -144,14 +144,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
144
144
|
return getConObj(quickSearch.value) || [];
|
145
145
|
}
|
146
146
|
function openSaveToCalss() {
|
147
|
-
var _a2;
|
147
|
+
var _a2, _b2, _c2;
|
148
148
|
let conObj = getConObjParams();
|
149
149
|
if (!conObj)
|
150
150
|
return;
|
151
151
|
if (conObj.length > 0) {
|
152
152
|
showInner.value = true;
|
153
153
|
} else {
|
154
|
-
$message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.409")) || "\u8BF7\u8BBE\u7F6E\u641C\u7D22\u6761\u4EF6");
|
154
|
+
$message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.409")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.409")) || "\u8BF7\u8BBE\u7F6E\u641C\u7D22\u6761\u4EF6");
|
155
155
|
}
|
156
156
|
}
|
157
157
|
function getConObj(arr) {
|
@@ -298,12 +298,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
298
298
|
}
|
299
299
|
function setDefaultCon(widgetArr) {
|
300
300
|
quickSearch.value.forEach((item) => {
|
301
|
-
var _a2,
|
301
|
+
var _a2, _b2;
|
302
302
|
if (isRender(item)) {
|
303
303
|
const curItem = widgetArr.find((widget) => widget.field_key === item.columnName);
|
304
304
|
if (curItem && ((_a2 = curItem.value) == null ? void 0 : _a2.length) > 0) {
|
305
305
|
item.value = getCacheDef(item, curItem.value);
|
306
|
-
item.unit = (
|
306
|
+
item.unit = (_b2 = curItem.unit) != null ? _b2 : "";
|
307
307
|
}
|
308
308
|
}
|
309
309
|
});
|
@@ -317,10 +317,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
317
317
|
const keys = params ? Object.keys(params) : [];
|
318
318
|
if (keys.length > 0) {
|
319
319
|
quickSearch.value.forEach((v) => {
|
320
|
-
var _a2,
|
320
|
+
var _a2, _b2;
|
321
321
|
if (isRender(v) && keys.includes(v.columnName)) {
|
322
322
|
const result = params[v.columnName];
|
323
|
-
v.value = Array.isArray(result) && ((_a2 = v.widgetCfg) == null ? void 0 : _a2.multiple) === false && ((
|
323
|
+
v.value = Array.isArray(result) && ((_a2 = v.widgetCfg) == null ? void 0 : _a2.multiple) === false && ((_b2 = v == null ? void 0 : v.widgetCfg) == null ? void 0 : _b2.widgetType) != WidgetTypeEnums.SELECTDYNAMIC ? result[0] : result;
|
324
324
|
}
|
325
325
|
});
|
326
326
|
}
|
@@ -364,7 +364,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
364
364
|
onFilterChange
|
365
365
|
});
|
366
366
|
return (_ctx, _cache) => {
|
367
|
-
var _a2,
|
367
|
+
var _a2, _b2, _c2, _d, _e, _f;
|
368
368
|
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(quickSearch), (item) => {
|
369
369
|
return openBlock(), createElementBlock("div", {
|
370
370
|
class: normalizeClass(["quick-item", {
|
@@ -388,16 +388,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
388
388
|
}), 128))]), createCommentVNode(" \u4FDD\u5B58\u5230\u5206\u7C7B\u7684\u5F39\u7A97 "), createVNode(unref(NModal), {
|
389
389
|
show: unref(showInner),
|
390
390
|
maskClosable: false,
|
391
|
-
"positive-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.428")) || "\u786E\u8BA4",
|
392
|
-
"negative-text": ((
|
391
|
+
"positive-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.428")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.428")) || "\u786E\u8BA4",
|
392
|
+
"negative-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
|
393
393
|
onPositiveClick: saveToCalss,
|
394
394
|
onNegativeClick: cancelSaveToCalss,
|
395
395
|
class: "classification-modal-block"
|
396
396
|
}, {
|
397
397
|
default: withCtx(() => {
|
398
|
-
var _a3;
|
398
|
+
var _a3, _b3, _c3;
|
399
399
|
return [createVNode(unref(NCard), {
|
400
|
-
title: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.407")) || "\u8BBE\u7F6E\u7B5B\u9009\u5206\u7C7B",
|
400
|
+
title: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.407")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.407")) || "\u8BBE\u7F6E\u7B5B\u9009\u5206\u7C7B",
|
401
401
|
style: {
|
402
402
|
"width": "520px"
|
403
403
|
},
|
@@ -415,8 +415,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
415
415
|
onClick: cancelSaveToCalss
|
416
416
|
}, {
|
417
417
|
default: withCtx(() => {
|
418
|
-
var _a4;
|
419
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
418
|
+
var _a4, _b4, _c4;
|
419
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.28")) || "\u53D6\u6D88")];
|
420
420
|
}),
|
421
421
|
_: 1
|
422
422
|
}), createVNode(unref(NButton), {
|
@@ -424,8 +424,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
424
424
|
onClick: saveToCalss
|
425
425
|
}, {
|
426
426
|
default: withCtx(() => {
|
427
|
-
var _a4;
|
428
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.428")) || "\u786E\u8BA4")];
|
427
|
+
var _a4, _b4, _c4;
|
428
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.428")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.428")) || "\u786E\u8BA4")];
|
429
429
|
}),
|
430
430
|
_: 1
|
431
431
|
})])]),
|
@@ -437,17 +437,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
437
437
|
model: formValue.value
|
438
438
|
}, {
|
439
439
|
default: withCtx(() => {
|
440
|
-
var _a4;
|
440
|
+
var _a4, _b4, _c4;
|
441
441
|
return [createVNode(unref(NFormItem), {
|
442
|
-
label: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.408")) || "\u7B5B\u9009\u96C6\u540D\u79F0",
|
442
|
+
label: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.408")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.408")) || "\u7B5B\u9009\u96C6\u540D\u79F0",
|
443
443
|
path: "classname"
|
444
444
|
}, {
|
445
445
|
default: withCtx(() => {
|
446
|
-
var _a5;
|
446
|
+
var _a5, _b5, _c5;
|
447
447
|
return [createVNode(unref(NInput), {
|
448
448
|
value: formValue.value.classname,
|
449
449
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formValue.value.classname = $event),
|
450
|
-
placeholder: ((_a5 = window.getLanguageByCode) == null ? void 0 : _a5.call(window, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0",
|
450
|
+
placeholder: ((_a5 = window.getLanguageByCode) == null ? void 0 : _a5.call(window, "10010.1.360")) || ((_c5 = (_b5 = window.top) == null ? void 0 : _b5.getLanguageByCode) == null ? void 0 : _c5.call(_b5, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0",
|
451
451
|
clearable: ""
|
452
452
|
}, null, 8, ["value"])];
|
453
453
|
}),
|
@@ -5,7 +5,7 @@ import { useDebounceFn, onClickOutside } from '@vueuse/core';
|
|
5
5
|
import { NPopover, NInput, NSpin } from 'naive-ui';
|
6
6
|
import { InjectionRecommendSearchRootSlots, InjectionRecommendSearchRef } from '../constant/index.js';
|
7
7
|
|
8
|
-
var _a;
|
8
|
+
var _a, _b, _c;
|
9
9
|
var BaseSearch = /* @__PURE__ */ defineComponent({
|
10
10
|
props: {
|
11
11
|
displayValue: {
|
@@ -22,7 +22,7 @@ var BaseSearch = /* @__PURE__ */ defineComponent({
|
|
22
22
|
},
|
23
23
|
placeholder: {
|
24
24
|
type: String,
|
25
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165"
|
25
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165"
|
26
26
|
},
|
27
27
|
clearable: {
|
28
28
|
type: Boolean,
|
@@ -3,18 +3,18 @@ import { useVModel, useVirtualList } from '@vueuse/core';
|
|
3
3
|
import RecommendMenu from './RecommendMenu.vue.js';
|
4
4
|
import BaseSearch from './BaseSearch.js';
|
5
5
|
|
6
|
-
var _a, _b, _c;
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
7
7
|
const _hoisted_1 = {
|
8
8
|
class: "recommend-search"
|
9
9
|
};
|
10
10
|
const _hoisted_2 = /* @__PURE__ */ createElementVNode("section", {
|
11
11
|
class: "recommend-search__empty"
|
12
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E", -1);
|
12
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.445")) || "\u6682\u65E0\u6570\u636E", -1);
|
13
13
|
const _hoisted_3 = ["onClick"];
|
14
14
|
const _hoisted_4 = ["title"];
|
15
15
|
const _hoisted_5 = /* @__PURE__ */ createElementVNode("section", {
|
16
16
|
class: "recommend-search__empty"
|
17
|
-
}, ((
|
17
|
+
}, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.445")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.445")) || "\u6682\u65E0\u6570\u636E", -1);
|
18
18
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
19
19
|
__name: "RecommendInput",
|
20
20
|
props: {
|
@@ -27,7 +27,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
},
|
28
28
|
placeholder: {
|
29
29
|
type: String,
|
30
|
-
default: ((
|
30
|
+
default: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.383")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.383")) || "\u8BF7\u8F93\u5165"
|
31
31
|
},
|
32
32
|
clearable: {
|
33
33
|
type: Boolean,
|
@@ -6,7 +6,7 @@ import { isObject } from 'lodash-es';
|
|
6
6
|
import BaseSearch from './BaseSearch.js';
|
7
7
|
import { NIcon } from 'naive-ui';
|
8
8
|
|
9
|
-
var _a, _b;
|
9
|
+
var _a, _b, _c, _d, _e, _f;
|
10
10
|
const _hoisted_1 = {
|
11
11
|
class: "recommend-search"
|
12
12
|
};
|
@@ -14,7 +14,7 @@ const _hoisted_2 = ["onClick"];
|
|
14
14
|
const _hoisted_3 = ["title"];
|
15
15
|
const _hoisted_4 = /* @__PURE__ */ createElementVNode("section", {
|
16
16
|
class: "recommend-search__empty"
|
17
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E", -1);
|
17
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.445")) || "\u6682\u65E0\u6570\u636E", -1);
|
18
18
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
19
19
|
__name: "RecommendSelect",
|
20
20
|
props: {
|
@@ -31,7 +31,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
},
|
32
32
|
placeholder: {
|
33
33
|
type: String,
|
34
|
-
default: ((
|
34
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.147")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.147")) || "\u8BF7\u9009\u62E9"
|
35
35
|
},
|
36
36
|
editPlaceholder: {
|
37
37
|
type: String,
|
@@ -336,7 +336,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
336
336
|
desEnd: import("vue").ComputedRef<boolean>;
|
337
337
|
desContent: import("vue").ComputedRef<any>;
|
338
338
|
initForm: (data: import("../../shared/types").AnyObject) => Promise<void> | undefined;
|
339
|
-
batchInjectForm: (data: import("../../shared/types").AnyObject) => Promise<boolean>;
|
339
|
+
batchInjectForm: (data: import("../../shared/types").AnyObject, skipValid?: boolean) => Promise<boolean>;
|
340
340
|
submitMethod: () => {
|
341
341
|
params: any;
|
342
342
|
hasCallbackItem: any;
|
@@ -334,7 +334,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
334
334
|
desEnd: import("vue").ComputedRef<boolean>;
|
335
335
|
desContent: import("vue").ComputedRef<any>;
|
336
336
|
initForm: (data: import("../../../shared/types").AnyObject) => Promise<void> | undefined;
|
337
|
-
batchInjectForm: (data: import("../../../shared/types").AnyObject) => Promise<boolean>;
|
337
|
+
batchInjectForm: (data: import("../../../shared/types").AnyObject, skipValid?: boolean) => Promise<boolean>;
|
338
338
|
submitMethod: () => {
|
339
339
|
params: any;
|
340
340
|
hasCallbackItem: any;
|
@@ -193,7 +193,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
193
193
|
}]),
|
194
194
|
ref_key: "scaleViewDom",
|
195
195
|
ref: scaleViewDom
|
196
|
-
}, [createCommentVNode(' <template v-if="state.spinning">\
|
196
|
+
}, [createCommentVNode(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="\u52A0\u8F7D\u4E2D"></n-spin>\n </template> '), !state.spinning && !state.hasFrontAddress ? (openBlock(), createElementBlock(Fragment, {
|
197
197
|
key: 0
|
198
198
|
}, [unref(noDataState).noData ? (openBlock(), createBlock(NoData, {
|
199
199
|
key: 0,
|
@@ -254,7 +254,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
254
254
|
onClick: ($event) => unref(showEvaTipModal)(item)
|
255
255
|
}, [_hoisted_5, createTextVNode(" \u67E5\u770B\u63D0\u793A ")], 8, _hoisted_4)) : createCommentVNode("v-if", true)]),
|
256
256
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(item.renderCom), mergeProps(unref(propsConfig)(item, index), {
|
257
|
-
key: (item.id || item.seq) + index,
|
257
|
+
key: (item.id || item.seq) + index + (item.randomKey || 0),
|
258
258
|
onScaleChange: unref(scaleChange),
|
259
259
|
onOnChange: ($event) => unref(labelChange)($event, item),
|
260
260
|
onVodFileList: unref(vodFileList)
|
@@ -274,8 +274,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
274
274
|
onClick: cancel
|
275
275
|
}, {
|
276
276
|
default: withCtx(() => {
|
277
|
-
var _a;
|
278
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
277
|
+
var _a, _b, _c;
|
278
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88")];
|
279
279
|
}),
|
280
280
|
_: 1
|
281
281
|
})) : createCommentVNode("v-if", true), unref(isSaveBtn) ? (openBlock(), createBlock(unref(NButton), {
|
@@ -285,8 +285,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
285
285
|
type: "primary"
|
286
286
|
}, {
|
287
287
|
default: withCtx(() => {
|
288
|
-
var _a;
|
289
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
|
288
|
+
var _a, _b, _c;
|
289
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58")];
|
290
290
|
}),
|
291
291
|
_: 1
|
292
292
|
}, 8, ["onClick", "disabled"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "extendBtn")])) : createCommentVNode("v-if", true)], 64))], 64))], 64)) : createCommentVNode("v-if", true)], 2);
|
@@ -4,7 +4,7 @@ import noPermission from '../../../../shared/assets/img/no-permission.png.js';
|
|
4
4
|
import failure from '../../../../shared/assets/img/failure.png.js';
|
5
5
|
import notfound from '../../../../shared/assets/img/notfound.png.js';
|
6
6
|
|
7
|
-
var _a;
|
7
|
+
var _a, _b, _c;
|
8
8
|
const _hoisted_1 = {
|
9
9
|
class: "no-data-tip NoData-page"
|
10
10
|
};
|
@@ -17,7 +17,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
props: {
|
18
18
|
noDataTip: {
|
19
19
|
type: String,
|
20
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
20
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
21
21
|
},
|
22
22
|
noDataImg: {
|
23
23
|
type: String,
|
@@ -49,14 +49,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
49
|
return str;
|
50
50
|
});
|
51
51
|
const handleDesc = computed(() => {
|
52
|
-
var _a2;
|
52
|
+
var _a2, _b2, _c2;
|
53
53
|
let res = "";
|
54
54
|
switch (props.noDataImg) {
|
55
55
|
case "no-permission":
|
56
56
|
res = "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
|
57
57
|
break;
|
58
58
|
case "failure":
|
59
|
-
res = ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.449")) || "\u8BF7\u7A0D\u540E\u518D\u8BD5";
|
59
|
+
res = ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.449")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.449")) || "\u8BF7\u7A0D\u540E\u518D\u8BD5";
|
60
60
|
break;
|
61
61
|
}
|
62
62
|
return res;
|
@@ -110,13 +110,13 @@ var RCascader = /* @__PURE__ */ defineComponent({
|
|
110
110
|
context.emit("scaleChange", path, props.item);
|
111
111
|
};
|
112
112
|
return () => {
|
113
|
-
var _a;
|
113
|
+
var _a, _b, _c;
|
114
114
|
return createVNode(resolveComponent("n-cascader"), {
|
115
115
|
"value": state.cascaderValue,
|
116
116
|
"onUpdate:value": ($event) => state.cascaderValue = $event,
|
117
117
|
"filterable": true,
|
118
118
|
"clearable": true,
|
119
|
-
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
119
|
+
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
120
120
|
"check-strategy": "parent",
|
121
121
|
"value-field": "theUniqueKey",
|
122
122
|
"disabled": props.isLock,
|
@@ -227,9 +227,9 @@ var scriptCheckbox = /* @__PURE__ */ defineComponent({
|
|
227
227
|
}, null)])]);
|
228
228
|
};
|
229
229
|
const renderPrintSpan = (o) => {
|
230
|
-
var _a2;
|
230
|
+
var _a2, _b2, _c;
|
231
231
|
const val = o ? state.optionsPreSuffixObj[o.key] : state.othersText;
|
232
|
-
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
232
|
+
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
233
233
|
return createVNode("span", {
|
234
234
|
"class": ["print-span", {
|
235
235
|
"print-span-disabled": isDisabled.value,
|
@@ -238,7 +238,7 @@ var scriptCheckbox = /* @__PURE__ */ defineComponent({
|
|
238
238
|
}, [showVal]);
|
239
239
|
};
|
240
240
|
const renderPresuffix = (o) => {
|
241
|
-
var _a2;
|
241
|
+
var _a2, _b2, _c;
|
242
242
|
return createVNode("div", {
|
243
243
|
"class": "presuffix-wrap"
|
244
244
|
}, [o.prefix && createVNode("span", {
|
@@ -253,7 +253,7 @@ var scriptCheckbox = /* @__PURE__ */ defineComponent({
|
|
253
253
|
"style": {
|
254
254
|
color: choiceColor.value(o)
|
255
255
|
},
|
256
|
-
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
256
|
+
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
257
257
|
"bordered": false,
|
258
258
|
"onInput": (val) => inputPreSuffixCheckboxChangeMethod(val, o),
|
259
259
|
"onClick": stopClick,
|
@@ -276,7 +276,7 @@ var scriptCheckbox = /* @__PURE__ */ defineComponent({
|
|
276
276
|
}, [o.label]);
|
277
277
|
};
|
278
278
|
const renderOther = (o) => {
|
279
|
-
var _a2;
|
279
|
+
var _a2, _b2, _c;
|
280
280
|
return createVNode("div", {
|
281
281
|
"class": "choose-other",
|
282
282
|
"onClick": stopClick
|
@@ -287,7 +287,7 @@ var scriptCheckbox = /* @__PURE__ */ defineComponent({
|
|
287
287
|
"style": {
|
288
288
|
color: choiceColor.value(o)
|
289
289
|
},
|
290
|
-
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
290
|
+
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
291
291
|
"bordered": false,
|
292
292
|
"type": "textarea",
|
293
293
|
"autosize": true,
|
@@ -73,9 +73,9 @@ var RInput = /* @__PURE__ */ defineComponent({
|
|
73
73
|
emit("scaleChange", inputValue.value, props.item);
|
74
74
|
};
|
75
75
|
const renderPrintSpan = () => {
|
76
|
-
var _a2;
|
76
|
+
var _a2, _b2, _c2;
|
77
77
|
const val = inputValue.value;
|
78
|
-
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
78
|
+
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
79
79
|
return createVNode("div", {
|
80
80
|
"class": ["input-print-span", {
|
81
81
|
"input-print-span-disabled": props.isLock,
|
@@ -66,7 +66,7 @@ var RMap = /* @__PURE__ */ defineComponent({
|
|
66
66
|
state.mapVisible = true;
|
67
67
|
};
|
68
68
|
const renderMap = () => {
|
69
|
-
var _a;
|
69
|
+
var _a, _b, _c;
|
70
70
|
return createVNode("div", {
|
71
71
|
"class": {
|
72
72
|
"c-map-container": !props.isLock
|
@@ -76,7 +76,7 @@ var RMap = /* @__PURE__ */ defineComponent({
|
|
76
76
|
"readonly": true,
|
77
77
|
"class": "map-input",
|
78
78
|
"on-click": clickMap,
|
79
|
-
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9"
|
79
|
+
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9"
|
80
80
|
}, {
|
81
81
|
prefix: () => createVNode(resolveComponent("n-icon"), {
|
82
82
|
"size": "18",
|
@@ -192,9 +192,9 @@ var scriptRadio = /* @__PURE__ */ defineComponent({
|
|
192
192
|
}, null)])]);
|
193
193
|
};
|
194
194
|
const renderPrintSpan = (o) => {
|
195
|
-
var _a2;
|
195
|
+
var _a2, _b2, _c;
|
196
196
|
const val = o ? state.optionsPreSuffixObj[o.key] : state.othersText;
|
197
|
-
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
197
|
+
const showVal = val ? val : ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165";
|
198
198
|
return createVNode("span", {
|
199
199
|
"class": ["print-span", {
|
200
200
|
"print-span-disabled": isDisabled.value,
|
@@ -203,7 +203,7 @@ var scriptRadio = /* @__PURE__ */ defineComponent({
|
|
203
203
|
}, [showVal]);
|
204
204
|
};
|
205
205
|
const renderPresuffix = (o) => {
|
206
|
-
var _a2;
|
206
|
+
var _a2, _b2, _c;
|
207
207
|
return createVNode("div", {
|
208
208
|
"class": "presuffix-wrap"
|
209
209
|
}, [o.prefix && createVNode("span", {
|
@@ -218,7 +218,7 @@ var scriptRadio = /* @__PURE__ */ defineComponent({
|
|
218
218
|
"style": {
|
219
219
|
color: choiceColor.value(o)
|
220
220
|
},
|
221
|
-
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
221
|
+
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
222
222
|
"bordered": false,
|
223
223
|
"on-update:value": (val) => inputPreSuffixChangeMethod(val, o),
|
224
224
|
"onClick": stopClick,
|
@@ -241,7 +241,7 @@ var scriptRadio = /* @__PURE__ */ defineComponent({
|
|
241
241
|
}, [o.label]);
|
242
242
|
};
|
243
243
|
const renderOther = (o) => {
|
244
|
-
var _a2;
|
244
|
+
var _a2, _b2, _c;
|
245
245
|
return createVNode("div", {
|
246
246
|
"class": "choose-other",
|
247
247
|
"onClick": stopClick
|
@@ -252,7 +252,7 @@ var scriptRadio = /* @__PURE__ */ defineComponent({
|
|
252
252
|
"style": {
|
253
253
|
color: choiceColor.value(o)
|
254
254
|
},
|
255
|
-
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
255
|
+
"placeholder": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.383")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
256
256
|
"bordered": false,
|
257
257
|
"type": "textarea",
|
258
258
|
"autosize": true,
|
@@ -218,13 +218,13 @@ var scriptSelect = /* @__PURE__ */ defineComponent({
|
|
218
218
|
immediate: true
|
219
219
|
});
|
220
220
|
return () => {
|
221
|
-
var _a;
|
221
|
+
var _a, _b, _c;
|
222
222
|
return createVNode(resolveComponent("n-select"), {
|
223
223
|
"value": props.form[props.item.val_key],
|
224
224
|
"onUpdate:value": [($event) => props.form[props.item.val_key] = $event, handleSelectChange],
|
225
225
|
"filterable": true,
|
226
226
|
"clearable": true,
|
227
|
-
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
227
|
+
"placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
228
228
|
"value-field": columnKey.value,
|
229
229
|
"label-field": labelKey.value,
|
230
230
|
"multiple": isMultiple.value,
|
@@ -82,14 +82,14 @@ var RSign = /* @__PURE__ */ defineComponent({
|
|
82
82
|
});
|
83
83
|
};
|
84
84
|
const deleteImg = (index) => {
|
85
|
-
var _a, _b;
|
85
|
+
var _a, _b, _c, _d, _e, _f;
|
86
86
|
if (props.isLock)
|
87
87
|
return;
|
88
88
|
dialog.warning({
|
89
89
|
title: "\u63D0\u793A",
|
90
90
|
content: "\u786E\u8BA4\u8981\u5220\u9664\u7B7E\u540D\u5417\uFF1F",
|
91
|
-
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || "\u786E\u5B9A",
|
92
|
-
negativeText: ((
|
91
|
+
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A",
|
92
|
+
negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
|
93
93
|
maskClosable: false,
|
94
94
|
closable: false,
|
95
95
|
positiveButtonProps: {
|
@@ -132,8 +132,8 @@ var RSign = /* @__PURE__ */ defineComponent({
|
|
132
132
|
"onClick": cancel
|
133
133
|
}, {
|
134
134
|
default: () => {
|
135
|
-
var _a;
|
136
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
135
|
+
var _a, _b, _c;
|
136
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88")];
|
137
137
|
}
|
138
138
|
}), createVNode(resolveComponent("n-button"), {
|
139
139
|
"size": "small",
|
@@ -147,8 +147,8 @@ var RSign = /* @__PURE__ */ defineComponent({
|
|
147
147
|
"type": "primary"
|
148
148
|
}, {
|
149
149
|
default: () => {
|
150
|
-
var _a;
|
151
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || "\u786E\u8BA4")];
|
150
|
+
var _a, _b, _c;
|
151
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4")];
|
152
152
|
}
|
153
153
|
})]
|
154
154
|
})]);
|
@@ -90,7 +90,7 @@ var StandardModal = /* @__PURE__ */ defineComponent({
|
|
90
90
|
}, null) : null])]);
|
91
91
|
};
|
92
92
|
const rednerModal = () => {
|
93
|
-
var _a, _b;
|
93
|
+
var _a, _b, _c, _d, _e, _f;
|
94
94
|
const curSlot = {
|
95
95
|
...context.slots
|
96
96
|
};
|
@@ -108,8 +108,8 @@ var StandardModal = /* @__PURE__ */ defineComponent({
|
|
108
108
|
height: modalConfig.modalHeight
|
109
109
|
},
|
110
110
|
"preset": "dialog",
|
111
|
-
"positive-text": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || "\u786E\u8BA4",
|
112
|
-
"negative-text": ((
|
111
|
+
"positive-text": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4",
|
112
|
+
"negative-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
|
113
113
|
"on-positive-click": handleOk,
|
114
114
|
"on-negative-click": cancel,
|
115
115
|
"positiveButtonProps": {
|
@@ -230,10 +230,10 @@ const ScaleViewComputed = (props, state, config) => {
|
|
230
230
|
return !!props.hideBtn || !!props.isLock || state.isFinished && !canEdit.value;
|
231
231
|
});
|
232
232
|
const showEvaluateLabel = computed(() => (item) => {
|
233
|
-
var _a, _b;
|
233
|
+
var _a, _b, _c, _d, _e, _f;
|
234
234
|
const obj = {
|
235
|
-
EVALUATE_RADIO_BLOCK: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.298")) || "\u5355\u9009",
|
236
|
-
EVALUATE_CHECKBOX_BLOCK: ((
|
235
|
+
EVALUATE_RADIO_BLOCK: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.298")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.298")) || "\u5355\u9009",
|
236
|
+
EVALUATE_CHECKBOX_BLOCK: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.100")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.100")) || "\u591A\u9009"
|
237
237
|
};
|
238
238
|
return obj[item.type];
|
239
239
|
});
|
@@ -260,8 +260,8 @@ const ScaleViewComputed = (props, state, config) => {
|
|
260
260
|
return isShow && isRang <= 0;
|
261
261
|
});
|
262
262
|
const tipMsg = computed(() => {
|
263
|
-
var _a;
|
264
|
-
return props.type === "customList" ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || "\u4FDD\u5B58" : "\u63D0\u4EA4";
|
263
|
+
var _a, _b, _c;
|
264
|
+
return props.type === "customList" ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58" : "\u63D0\u4EA4";
|
265
265
|
});
|
266
266
|
const selectProps = computed(() => {
|
267
267
|
return {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AnyObject } from '../../../../shared/types';
|
2
2
|
export declare const ScaleViewInit: (props: any, state: any, emit: any, config: any) => {
|
3
3
|
initForm: (data: AnyObject) => Promise<void> | undefined;
|
4
|
-
batchInjectForm: (data: AnyObject) => Promise<boolean>;
|
4
|
+
batchInjectForm: (data: AnyObject, skipValid?: boolean) => Promise<boolean>;
|
5
5
|
};
|
@@ -146,12 +146,12 @@ const ScaleViewInit = (props, state, emit, config) => {
|
|
146
146
|
state.form = defaultFormValue(state.formArray);
|
147
147
|
state.rules = formatRules(state.formArray);
|
148
148
|
};
|
149
|
-
const batchInjectForm = async (data) => {
|
149
|
+
const batchInjectForm = async (data, skipValid = false) => {
|
150
150
|
const {
|
151
151
|
list = [],
|
152
152
|
map = {}
|
153
153
|
} = data;
|
154
|
-
if (data.isNotFilled || data.isLackCustomer)
|
154
|
+
if (!skipValid && (data.isNotFilled || data.isLackCustomer))
|
155
155
|
return Promise.reject();
|
156
156
|
state.config = map;
|
157
157
|
state.originConfig = JSON.parse(JSON.stringify(map));
|
@@ -115,7 +115,7 @@ const ScaleViewMethods = (props, state, emit, config) => {
|
|
115
115
|
emit("startWriteScale");
|
116
116
|
};
|
117
117
|
const closeEvaluateCountdown = () => {
|
118
|
-
var _a;
|
118
|
+
var _a, _b, _c;
|
119
119
|
state.showEvaluateCountdown = false;
|
120
120
|
if (isPreviewScale.value)
|
121
121
|
return;
|
@@ -125,12 +125,12 @@ const ScaleViewMethods = (props, state, emit, config) => {
|
|
125
125
|
title: "\u6E29\u99A8\u63D0\u793A",
|
126
126
|
content: "\u6D4B\u8BC4\u65F6\u95F4\u5230\u4E86\uFF0C\u7ED3\u675F\u6D4B\u8BC4\uFF01",
|
127
127
|
maskClosable: false,
|
128
|
-
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || "\u786E\u5B9A",
|
128
|
+
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A",
|
129
129
|
onPositiveClick: () => ({})
|
130
130
|
});
|
131
131
|
};
|
132
132
|
const evatipConfirm = (str) => {
|
133
|
-
var _a;
|
133
|
+
var _a, _b, _c;
|
134
134
|
dialog.warning({
|
135
135
|
title: "\u63D0\u793A",
|
136
136
|
content: () => {
|
@@ -140,7 +140,7 @@ const ScaleViewMethods = (props, state, emit, config) => {
|
|
140
140
|
},
|
141
141
|
class: "c-evatip-dialog-wrap",
|
142
142
|
showIcon: false,
|
143
|
-
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || "\u786E\u5B9A",
|
143
|
+
positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A",
|
144
144
|
negativeText: "\u5173\u95ED",
|
145
145
|
maskClosable: false,
|
146
146
|
onPositiveClick() {
|