cnhis-design-vue 3.2.14-release.0 → 3.2.15-beta.2
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/ai-chat/index.d.ts +1 -0
- package/es/components/ai-chat/src/Index.vue.d.ts +1 -0
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +1 -0
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/ai-chat/src/components/ChatPatient.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/audio-sdk/src/components/recording.vue2.js +1 -1
- package/es/components/base-search/index.d.ts +8 -3
- package/es/components/base-search/src/index.vue.d.ts +8 -3
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/src/components/NoData.vue2.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-date.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-input.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-time.js +1 -1
- package/es/components/big-table/src/components/input-button.vue2.js +1 -1
- package/es/components/big-table/src/hooks/useNestTable.js +1 -1
- package/es/components/big-table/src/hooks/useTableParse.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- 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/branch-notice/index.d.ts +63 -0
- package/es/components/branch-notice/index.js +1 -0
- package/es/components/branch-notice/src/BranchNotice.vue.d.ts +64 -0
- package/es/components/branch-notice/src/BranchNotice.vue.js +1 -0
- package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -0
- package/es/components/branch-notice/src/canstants.d.ts +7 -0
- package/es/components/branch-notice/src/canstants.js +1 -0
- package/es/components/branch-notice/src/components/NoticeItem.vue.d.ts +151 -0
- package/es/components/branch-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
- package/es/components/branch-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
- package/es/components/branch-notice/src/drawLine.d.ts +2 -0
- package/es/components/branch-notice/src/drawLine.js +1 -0
- package/es/components/branch-notice/src/types.d.ts +14 -0
- package/es/components/branch-notice/src/types.js +1 -0
- package/es/components/branch-notice/style/index.css +1 -0
- package/es/components/button-print/index.d.ts +4 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue2.js +1 -1
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/Preview.vue2.js +1 -1
- package/es/components/button-print/src/utils/dialog.js +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/calendar/index.d.ts +4 -4
- package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +1 -1
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +1 -1
- package/es/components/classification/index.d.ts +1 -0
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
- 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 +1 -1
- package/es/components/classification/src/index.vue.d.ts +1 -0
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/default-page/src/constants/index.js +1 -1
- package/es/components/default-page/src/index.vue2.js +1 -1
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +1 -1
- package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue2.js +1 -1
- package/es/components/expand-field/src/utils/constant.js +1 -1
- package/es/components/fabric-chart/index.d.ts +23 -4
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +23 -4
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +13 -0
- package/es/components/fabric-chart/src/components/PopupTip.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/useStyle.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +1 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +7 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +3 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldColor.vue2.js +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -5
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +3 -3
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue2.js +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -1
- package/es/components/field-set/src/components/edit-filter.vue2.js +1 -1
- package/es/components/field-set/src/components/table-row.vue.d.ts +3 -3
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/constants/filter.d.ts +21 -12
- package/es/components/field-set/src/constants/filter.js +1 -1
- package/es/components/field-set/src/constants/index.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/form-config/index.d.ts +108 -3
- package/es/components/form-config/src/FormConfig.vue.d.ts +108 -3
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -0
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useLocale.js +1 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.d.ts +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-chat/index.d.ts +635 -54
- package/es/components/iho-chat/src/Index.vue.d.ts +638 -61
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.d.ts +1 -0
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +32 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +52 -3
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +52 -2
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +221 -11
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +82 -6
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +19 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +49 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +71 -4
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +11 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MessageTemplate.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +51 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +19 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +69 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +19 -1
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +12 -3
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +2 -2
- package/es/components/iho-chat/src/hooks/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useData.d.ts +94 -0
- package/es/components/iho-chat/src/hooks/useData.js +1 -0
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +19 -1
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/hooks/useWebSocket.d.ts +3 -0
- package/es/components/iho-chat/src/hooks/useWebSocket.js +1 -0
- package/es/components/iho-chat/src/types/index.d.ts +0 -6
- package/es/components/iho-chat/src/types/index.js +1 -1
- package/es/components/iho-chat/src/utils/chatSock.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +2 -0
- package/es/components/iho-chat/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue2.js +1 -1
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +1 -1
- package/es/components/map/src/Map.vue2.js +1 -1
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +1 -1
- package/es/components/quick-search/index.d.ts +3 -1
- package/es/components/quick-search/src/index.vue.d.ts +3 -1
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/recommend-search/src/components/BaseSearch.js +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +1 -1
- package/es/components/scale-view/index.d.ts +31 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/NoData.vue2.js +1 -1
- package/es/components/scale-view/src/components/composables/choose-common.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +9 -0
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-input.d.ts +9 -0
- package/es/components/scale-view/src/components/formitem/r-input.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +9 -0
- package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-methods.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +72 -0
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue2.js +1 -1
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/SelectPersonType.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +1 -1
- package/es/components/select-person/src/index.vue2.js +1 -1
- package/es/components/slider-tree/src/index.vue2.js +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
- package/es/components/table-export-field/src/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +4 -7
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -7
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +3 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -7
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/template-render/src/components/index.d.ts +23 -23
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +1 -1
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +1 -1
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +1 -1
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/ai__avatar.png.js +1 -1
- 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/logo.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/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 +2 -2
- package/es/components/iho-chat/src/hooks/useSession.d.ts +0 -12
- package/es/components/iho-chat/src/hooks/useSession.js +0 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +0 -18
- package/es/components/iho-chat/src/hooks/useState.js +0 -1
@@ -0,0 +1,64 @@
|
|
1
|
+
import { arrayed } from '../../../shared/utils';
|
2
|
+
import { PropType } from 'vue';
|
3
|
+
import { BranchNotice } from '../../../components/branch-notice/src/types';
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
5
|
+
items: {
|
6
|
+
type: PropType<BranchNotice.Item[]>;
|
7
|
+
default: () => never[];
|
8
|
+
};
|
9
|
+
rowCapacity: {
|
10
|
+
type: NumberConstructor;
|
11
|
+
default: number;
|
12
|
+
};
|
13
|
+
colSpace: {
|
14
|
+
type: (NumberConstructor | StringConstructor)[];
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
}, {
|
18
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
items: {
|
20
|
+
type: PropType<BranchNotice.Item[]>;
|
21
|
+
default: () => never[];
|
22
|
+
};
|
23
|
+
rowCapacity: {
|
24
|
+
type: NumberConstructor;
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
colSpace: {
|
28
|
+
type: (NumberConstructor | StringConstructor)[];
|
29
|
+
default: number;
|
30
|
+
};
|
31
|
+
}>> & {}>>;
|
32
|
+
positionItems: (items: BranchNotice.Item[]) => BranchNotice.PositionedItem[];
|
33
|
+
positionedItems: import("vue").ComputedRef<BranchNotice.PositionedItem[]>;
|
34
|
+
itemStyle: (left: number, right: number) => {
|
35
|
+
width: string;
|
36
|
+
height: string;
|
37
|
+
left: string;
|
38
|
+
top: string;
|
39
|
+
};
|
40
|
+
fullWrapperStyle: import("vue").ComputedRef<{
|
41
|
+
position: string;
|
42
|
+
width: string;
|
43
|
+
height: string;
|
44
|
+
}>;
|
45
|
+
arrayed: typeof arrayed;
|
46
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
47
|
+
items: {
|
48
|
+
type: PropType<BranchNotice.Item[]>;
|
49
|
+
default: () => never[];
|
50
|
+
};
|
51
|
+
rowCapacity: {
|
52
|
+
type: NumberConstructor;
|
53
|
+
default: number;
|
54
|
+
};
|
55
|
+
colSpace: {
|
56
|
+
type: (NumberConstructor | StringConstructor)[];
|
57
|
+
default: number;
|
58
|
+
};
|
59
|
+
}>>, {
|
60
|
+
items: BranchNotice.Item[];
|
61
|
+
rowCapacity: number;
|
62
|
+
colSpace: string | number;
|
63
|
+
}>;
|
64
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
import e from"./BranchNotice.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","BranchNotice.vue"]]);export{o as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{defineComponent as t,computed as e,openBlock as r,createElementBlock as a,normalizeStyle as n,unref as o,Fragment as l,renderList as i,normalizeClass as s,toDisplayString as c}from"vue";import{widthAppend as p,arrayed as h}from"../../../shared/utils/index.js";import{isEmpty as u,last as m}from"lodash-es";import{BRANCH_NOTICE_CONSTANTS as _}from"./canstants.js";import{lineToNextCard as y}from"./drawLine.js";const C={class:"branch-notice__itemContent"};var f=t({__name:"BranchNotice",props:{items:{type:Array,default:()=>[]},rowCapacity:{type:Number,default:7},colSpace:{type:[Number,String],default:125}},setup(t){const f=t;const d=e((()=>function(t){var e,r;let a=!u(null!=(r=null==(e=m(t))?void 0:e.children)?r:[]);const n=[];let o=null;if(t.forEach(((t,e)=>{const r=Math.floor(e/f.rowCapacity),a=e%f.rowCapacity*(_.CARD_WIDTH+_.CARD_SPACE),l=r*(_.CARD_HEIGHT+_.CARD_SPACE),i={item:t,x:a,y:l,class:`branch-notice__item branch-notice__item--${t.type||"primary"}`,style:A(a,l)};o&&n.push(...y(o,i)),n.push(o=i)})),a){const e=m(t).children;let r=0;const a=f.rowCapacity-t.length;e.forEach(((e,l)=>{Math.ceil(e.length/a);const i=e.reduce(((t,e,r)=>{const n=Math.floor(r/a);return t[n]||(t[n]=[]),t[n].push(e),t}),[]);let s=null;i.forEach(((e,a)=>{e.forEach(((e,l)=>{const i=(l+t.length)*(_.CARD_WIDTH+_.CARD_SPACE),c=r*(_.CARD_HEIGHT+_.CARD_SPACE),p={item:e,x:i,y:c,class:`branch-notice__item branch-notice__item--${e.type||"primary"}`,style:A(i,c)};0===a&&0===l&&n.push(...y(o,p)),s&&n.push(...y(s,p)),n.push(s=p)})),r+=1}))}))}return n}(f.items))),A=(t,e)=>({width:`${_.CARD_WIDTH}px`,height:`${_.CARD_HEIGHT}px`,left:`${t}px`,top:`${e}px`}),D=e((()=>({position:"relative",width:p(110+Math.max(...d.value.map((t=>t.x)))),height:p(74+Math.max(...d.value.map((t=>t.y))))})));return(t,e)=>(r(),a("section",{style:n(o(D))},[(r(!0),a(l,null,i(o(d),(t=>{var e,p;return r(),a("div",{style:n(t.style),class:s(t.class)},[(r(!0),a(l,null,i(o(h)(null!=(p=null==(e=t.item)?void 0:e.content)?p:[]),(t=>(r(),a("p",C,c(t),1)))),256))],6)})),256))],4))}});export{f as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
const A={CARD_WIDTH:110,CARD_HEIGHT:74,CARD_SPACE:40,BRANCH_POINT_RADIUS:8,LINE_WIDTH:4};export{A as BRANCH_NOTICE_CONSTANTS};
|
@@ -0,0 +1,151 @@
|
|
1
|
+
import { widthAppend } from '../../../../shared/utils';
|
2
|
+
import { PropType } from 'vue';
|
3
|
+
import { StepNotice } from '../../../../components/step-notice/src/types';
|
4
|
+
import { parseRender, parseTitle } from '../../../../components/step-notice/src/utils';
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
6
|
+
item: {
|
7
|
+
type: PropType<StepNotice.InternalItem>;
|
8
|
+
required: true;
|
9
|
+
};
|
10
|
+
}, {
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
item: {
|
13
|
+
type: PropType<StepNotice.InternalItem>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
}>> & {}>>;
|
17
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
18
|
+
classList: import("vue").ComputedRef<string[]>;
|
19
|
+
frontStyle: import("vue").ComputedRef<{
|
20
|
+
minHeight: string;
|
21
|
+
}>;
|
22
|
+
popperDisabled: import("vue").ComputedRef<boolean>;
|
23
|
+
renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
+
[key: string]: any;
|
25
|
+
}> | import("../../../../shared/types").AnyFn | null;
|
26
|
+
NoticeConnection: import("vue").DefineComponent<{
|
27
|
+
item: {
|
28
|
+
type: PropType<StepNotice.InternalItem>;
|
29
|
+
required: true;
|
30
|
+
};
|
31
|
+
}, {
|
32
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
33
|
+
item: {
|
34
|
+
type: PropType<StepNotice.InternalItem>;
|
35
|
+
required: true;
|
36
|
+
};
|
37
|
+
}>> & {}>>;
|
38
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
39
|
+
pointStyle: import("vue").ComputedRef<{
|
40
|
+
opacity: number;
|
41
|
+
}>;
|
42
|
+
verticalLineHeight: import("vue").Ref<number>;
|
43
|
+
horizonLineWidth: import("vue").Ref<number>;
|
44
|
+
subHorizonWidth: import("vue").Ref<number>;
|
45
|
+
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
46
|
+
calculatePositionRect: () => void;
|
47
|
+
lineStyles: import("vue").ComputedRef<{
|
48
|
+
width: string;
|
49
|
+
height: string;
|
50
|
+
}>;
|
51
|
+
iconStyle: import("vue").ComputedRef<{
|
52
|
+
top: string;
|
53
|
+
}>;
|
54
|
+
widthAppend: typeof widthAppend;
|
55
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
56
|
+
item: {
|
57
|
+
type: PropType<StepNotice.InternalItem>;
|
58
|
+
required: true;
|
59
|
+
};
|
60
|
+
}>>, {}>;
|
61
|
+
NoticeItemAside: import("vue").DefineComponent<{
|
62
|
+
item: {
|
63
|
+
type: PropType<StepNotice.InternalItem>;
|
64
|
+
required: true;
|
65
|
+
};
|
66
|
+
}, {
|
67
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
68
|
+
item: {
|
69
|
+
type: PropType<StepNotice.InternalItem>;
|
70
|
+
required: true;
|
71
|
+
};
|
72
|
+
}>> & {}>>;
|
73
|
+
getPositionInList: (index: number) => "center" | "first" | "last";
|
74
|
+
placementMap: {
|
75
|
+
first: string;
|
76
|
+
center: string;
|
77
|
+
last: string;
|
78
|
+
};
|
79
|
+
getPlacement: (index: number) => string;
|
80
|
+
getAsideClassList: (noticeItem: Partial<{
|
81
|
+
header: string | import("../../../../shared/types").AnyFn;
|
82
|
+
content: string | import("../../../../shared/types").AnyFn;
|
83
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
84
|
+
}>, index: number) => (string | {
|
85
|
+
'is-active': string | import("../../../../shared/types").AnyFn | undefined;
|
86
|
+
})[];
|
87
|
+
theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
|
88
|
+
NPopover: any;
|
89
|
+
parseRender: typeof parseRender;
|
90
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
91
|
+
item: {
|
92
|
+
type: PropType<StepNotice.InternalItem>;
|
93
|
+
required: true;
|
94
|
+
};
|
95
|
+
}>>, {}>;
|
96
|
+
NoticeOperationList: import("vue").DefineComponent<{
|
97
|
+
operationList: {
|
98
|
+
type: PropType<Partial<Partial<{
|
99
|
+
header: string | import("../../../../shared/types").AnyFn;
|
100
|
+
content: string | import("../../../../shared/types").AnyFn;
|
101
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
102
|
+
}> & {
|
103
|
+
type: "warning" | "primary";
|
104
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
105
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
106
|
+
}>[] | undefined>;
|
107
|
+
required: true;
|
108
|
+
};
|
109
|
+
}, {
|
110
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
111
|
+
operationList: {
|
112
|
+
type: PropType<Partial<Partial<{
|
113
|
+
header: string | import("../../../../shared/types").AnyFn;
|
114
|
+
content: string | import("../../../../shared/types").AnyFn;
|
115
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
116
|
+
}> & {
|
117
|
+
type: "warning" | "primary";
|
118
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
119
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
120
|
+
}>[] | undefined>;
|
121
|
+
required: true;
|
122
|
+
};
|
123
|
+
}>> & {}>>;
|
124
|
+
theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
|
125
|
+
CheckmarkCircle: 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<{}>>, {}>;
|
126
|
+
CloseCircle: 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<{}>>, {}>;
|
127
|
+
parseRender: typeof parseRender;
|
128
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
129
|
+
operationList: {
|
130
|
+
type: PropType<Partial<Partial<{
|
131
|
+
header: string | import("../../../../shared/types").AnyFn;
|
132
|
+
content: string | import("../../../../shared/types").AnyFn;
|
133
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
134
|
+
}> & {
|
135
|
+
type: "warning" | "primary";
|
136
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
137
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
138
|
+
}>[] | undefined>;
|
139
|
+
required: true;
|
140
|
+
};
|
141
|
+
}>>, {}>;
|
142
|
+
NPopover: any;
|
143
|
+
parseRender: typeof parseRender;
|
144
|
+
parseTitle: typeof parseTitle;
|
145
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
146
|
+
item: {
|
147
|
+
type: PropType<StepNotice.InternalItem>;
|
148
|
+
required: true;
|
149
|
+
};
|
150
|
+
}>>, {}>;
|
151
|
+
export default _default;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { StepNotice } from '../../../../components/step-notice';
|
3
|
+
import { parseRender } from '../../../../components/step-notice/src/utils';
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
5
|
+
item: {
|
6
|
+
type: PropType<StepNotice.InternalItem>;
|
7
|
+
required: true;
|
8
|
+
};
|
9
|
+
}, {
|
10
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
item: {
|
12
|
+
type: PropType<StepNotice.InternalItem>;
|
13
|
+
required: true;
|
14
|
+
};
|
15
|
+
}>> & {}>>;
|
16
|
+
getPositionInList: (index: number) => "center" | "first" | "last";
|
17
|
+
placementMap: {
|
18
|
+
first: string;
|
19
|
+
center: string;
|
20
|
+
last: string;
|
21
|
+
};
|
22
|
+
getPlacement: (index: number) => string;
|
23
|
+
getAsideClassList: (noticeItem: StepNotice.NoticeItem, index: number) => (string | {
|
24
|
+
'is-active': string | import("../../../../shared/types").AnyFn | undefined;
|
25
|
+
})[];
|
26
|
+
theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
|
27
|
+
NPopover: any;
|
28
|
+
parseRender: typeof parseRender;
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
30
|
+
item: {
|
31
|
+
type: PropType<StepNotice.InternalItem>;
|
32
|
+
required: true;
|
33
|
+
};
|
34
|
+
}>>, {}>;
|
35
|
+
export default _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { parseRender } from '../../../../components/step-notice/src/utils';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
operationList: {
|
5
|
+
type: PropType<Partial<Partial<{
|
6
|
+
header: string | import("../../../../shared/types").AnyFn;
|
7
|
+
content: string | import("../../../../shared/types").AnyFn;
|
8
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
9
|
+
}> & {
|
10
|
+
type: "warning" | "primary";
|
11
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
12
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
13
|
+
}>[] | undefined>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
}, {
|
17
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
operationList: {
|
19
|
+
type: PropType<Partial<Partial<{
|
20
|
+
header: string | import("../../../../shared/types").AnyFn;
|
21
|
+
content: string | import("../../../../shared/types").AnyFn;
|
22
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
23
|
+
}> & {
|
24
|
+
type: "warning" | "primary";
|
25
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
26
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
27
|
+
}>[] | undefined>;
|
28
|
+
required: true;
|
29
|
+
};
|
30
|
+
}>> & {}>>;
|
31
|
+
theme: import("vue").ComputedRef<import("../../../../shared/types").AnyObject>;
|
32
|
+
CheckmarkCircle: 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<{}>>, {}>;
|
33
|
+
CloseCircle: 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<{}>>, {}>;
|
34
|
+
parseRender: typeof parseRender;
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
36
|
+
operationList: {
|
37
|
+
type: PropType<Partial<Partial<{
|
38
|
+
header: string | import("../../../../shared/types").AnyFn;
|
39
|
+
content: string | import("../../../../shared/types").AnyFn;
|
40
|
+
subContent: string | import("../../../../shared/types").AnyFn;
|
41
|
+
}> & {
|
42
|
+
type: "warning" | "primary";
|
43
|
+
subHeader: string | import("../../../../shared/types").AnyFn;
|
44
|
+
remark: string | import("../../../../shared/types").AnyFn;
|
45
|
+
}>[] | undefined>;
|
46
|
+
required: true;
|
47
|
+
};
|
48
|
+
}>>, {}>;
|
49
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{widthAppend as t}from"../../../shared/utils/index.js";import{BRANCH_NOTICE_CONSTANTS as e}from"./canstants.js";function _(_,x,c=""){const i=_.x<x.x?"left":_.x>x.x?"right":"center",n=_.y<x.y?"top":_.y>x.y?"bottom":"center";let D=[];switch(!0){case"center"===i&&"center"===n:D=[{x:0,y:0,class:"branch-notice__line"}];break;case"left"===i&&"center"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:`${e.CARD_SPACE}px`,height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}}];break;case"center"===i&&"top"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:`${e.CARD_SPACE}px`,left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT}px`}}];break;case"right"===i&&"top"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_SPACE/2+"px",left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:`${_.x-x.x+e.LINE_WIDTH}px`,height:t(e.LINE_WIDTH),left:`${x.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT+e.CARD_SPACE/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_SPACE/2+"px",left:`${x.x+e.CARD_WIDTH/2}px`,top:`${_.y+e.CARD_HEIGHT+e.CARD_SPACE/2}px`}}];break;case"right"===i&&"center"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:`${e.CARD_SPACE}px`,height:t(e.LINE_WIDTH),left:`${_.x}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}}];break;case"right"===i&&"bottom"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_SPACE/2+"px",left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:_.x-x.x+"px",height:t(e.LINE_WIDTH),left:`${x.x+e.CARD_WIDTH/2}px`,top:_.y-e.CARD_SPACE/2+"px"}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:e.CARD_SPACE/2+"px",left:`${x.x+e.CARD_WIDTH/2}px`,top:_.y-e.CARD_SPACE/2+"px"}}];break;case"center"===i&&"bottom"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:`${e.CARD_SPACE}px`,left:`${_.x+e.CARD_WIDTH/2}px`,top:`${_.y}px`}}];break;case"left"===i&&"top"===n:D=[{x:0,y:0,class:"branch-notice__line",style:{width:e.CARD_SPACE/2+"px",height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:t(e.LINE_WIDTH),height:x.y-_.y+"px",left:`${_.x+e.CARD_WIDTH+e.CARD_SPACE/2}px`,top:`${_.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,class:"branch-notice__line",style:{width:e.CARD_SPACE/2+"px",height:t(e.LINE_WIDTH),left:`${_.x+e.CARD_WIDTH+e.CARD_SPACE/2}px`,top:`${x.y+e.CARD_HEIGHT/2}px`}},{x:0,y:0,item:{content:c},class:"branch-notice__branchIndex",style:{}}]}return D}export{_ as lineToNextCard};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare namespace BranchNotice {
|
2
|
+
type Item = {
|
3
|
+
type?: 'normal' | 'primary' | 'warning';
|
4
|
+
content: string | string[];
|
5
|
+
children?: Item[][];
|
6
|
+
};
|
7
|
+
type PositionedItem = {
|
8
|
+
item?: Item;
|
9
|
+
class?: string | string[] | Record<string, boolean>;
|
10
|
+
style?: Record<string, string>;
|
11
|
+
x: number;
|
12
|
+
y: number;
|
13
|
+
};
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
.branch-notice__item{border-radius:8px;color:#333;font-size:12px;font-weight:500;height:70px;padding:4px 8px;position:absolute;width:110px}.branch-notice__itemContent{line-height:17px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-notice__item--primary{background:#238cff;color:#fff}.branch-notice__item--warning{background:#ffcbcb;border:1.4px solid red;color:#000}.branch-notice__item--normal{background:#e6e6e6}.branch-notice__line{background:#bfc6ca;position:absolute}
|
@@ -335,6 +335,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
335
335
|
outerPrintKeys: never[];
|
336
336
|
defaultFormatId: string;
|
337
337
|
shortcut: {};
|
338
|
+
buttonProps: {};
|
338
339
|
};
|
339
340
|
};
|
340
341
|
svrUpdateIp: {
|
@@ -452,6 +453,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
452
453
|
outerPrintKeys: never[];
|
453
454
|
defaultFormatId: string;
|
454
455
|
shortcut: {};
|
456
|
+
buttonProps: {};
|
455
457
|
};
|
456
458
|
};
|
457
459
|
svrUpdateIp: {
|
@@ -479,6 +481,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
479
481
|
defaultPrintFormatId: import("vue").ComputedRef<any>;
|
480
482
|
isPrintAllType: import("vue").ComputedRef<any>;
|
481
483
|
shortcutSettings: import("vue").ComputedRef<any>;
|
484
|
+
buttonProps: import("vue").ComputedRef<any>;
|
482
485
|
printAllShortcut: import("vue").ComputedRef<any>;
|
483
486
|
showSettingItems: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
484
487
|
isSelectedAll: import("vue").WritableComputedRef<boolean>;
|
@@ -821,6 +824,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
821
824
|
outerPrintKeys: never[];
|
822
825
|
defaultFormatId: string;
|
823
826
|
shortcut: {};
|
827
|
+
buttonProps: {};
|
824
828
|
};
|
825
829
|
};
|
826
830
|
svrUpdateIp: {
|
@@ -341,6 +341,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
341
341
|
outerPrintKeys: never[];
|
342
342
|
defaultFormatId: string;
|
343
343
|
shortcut: {};
|
344
|
+
buttonProps: {};
|
344
345
|
};
|
345
346
|
};
|
346
347
|
svrUpdateIp: {
|
@@ -458,6 +459,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
458
459
|
outerPrintKeys: never[];
|
459
460
|
defaultFormatId: string;
|
460
461
|
shortcut: {};
|
462
|
+
buttonProps: {};
|
461
463
|
};
|
462
464
|
};
|
463
465
|
svrUpdateIp: {
|
@@ -485,6 +487,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
485
487
|
defaultPrintFormatId: import("vue").ComputedRef<any>;
|
486
488
|
isPrintAllType: import("vue").ComputedRef<any>;
|
487
489
|
shortcutSettings: import("vue").ComputedRef<any>;
|
490
|
+
buttonProps: import("vue").ComputedRef<any>;
|
488
491
|
printAllShortcut: import("vue").ComputedRef<any>;
|
489
492
|
showSettingItems: import("vue").ComputedRef<AnyObject[]>;
|
490
493
|
isSelectedAll: import("vue").WritableComputedRef<boolean>;
|
@@ -827,6 +830,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
827
830
|
outerPrintKeys: never[];
|
828
831
|
defaultFormatId: string;
|
829
832
|
shortcut: {};
|
833
|
+
buttonProps: {};
|
830
834
|
};
|
831
835
|
};
|
832
836
|
svrUpdateIp: {
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as t,useAttrs as e,ref as
|
1
|
+
import{defineComponent as t,useAttrs as e,ref as n,computed as r,provide as o,openBlock as i,createBlock as a,resolveDynamicComponent as l,unref as u,mergeProps as d,withCtx as p,createCommentVNode as s,renderSlot as y,normalizeProps as g,guardReactiveProps as f}from"vue";import{InjectionButtonPrintEmits as c}from"./constants/index.js";import m from"./components/NewPrintComponent.vue.js";import w from"./components/OldPrintComponent.vue.js";var v,P,S,b,C,B,x=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:(null==(v=window.getLanguageByCode)?void 0:v.call(window,"10010.1.478"))||"打印",type:String},printText:{default:(null==(P=window.getLanguageByCode)?void 0:P.call(window,"10010.1.479"))||"直接打印",type:String},previewText:{default:(null==(S=window.getLanguageByCode)?void 0:S.call(window,"10010.1.480"))||"打印预览",type:String},pdfLoadText:{default:(null==(b=window.getLanguageByCode)?void 0:b.call(window,"10010.1.481"))||"下载pdf",type:String},formatEditText:{default:(null==(C=window.getLanguageByCode)?void 0:C.call(window,"10010.1.482"))||"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:(null==(B=window.getLanguageByCode)?void 0:B.call(window,"10010.1.483"))||"请选中需要打印的数据",type:String},noDefaultFormatMsg:{default:"获取打印格式失败,请联系管理员!",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0},hideButtons:{type:Array,default:()=>[]},printCopies:{type:Number},printCustomProps:{type:Object,default:()=>({})},resolution:{type:Number},placement:{type:String,default:"bottom-start"},newPrintSetting:{type:Object,default:()=>({})},svrUpdateIp:{type:String}},emits:["success","error","cancel","clickoutside","saveOuterPrint"],setup(t,{expose:v,emit:P}){const S=t,b=e(),C=n(),B=r((()=>{var t;return(null==(t=Object.keys(S.newPrintSetting))?void 0:t.length)>0?m:w})),x=r((()=>Object.assign({},S,b)));o(c,(function(t,...e){P(t,...e)}));return v({directPrint:async()=>{var t;null==(t=C.value)||t.directPrint()}}),(t,e)=>(i(),a(l(u(B)),d({ref_key:"printComponentRef",ref:C},u(x)),{button:p((e=>[s(" 自定义按钮样式 "),y(t.$slots,"button",g(f(e)))])),_:3},16))}});export{x as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as t,openBlock as o,createBlock as
|
1
|
+
import{defineComponent as e,ref as t,openBlock as o,createBlock as n,unref as l,withCtx as r,createVNode as i,createElementVNode as a,createTextVNode as u}from"vue";import{useMessage as d,NForm as s,NFormItem as p,NSpace as f,NUpload as m,NUploadDragger as c,NIcon as v,NText as w,NP as g}from"naive-ui";import{Archive as h}from"@vicons/ionicons5";import $ from"axios";const x={style:{"margin-bottom":"12px"}};var S=e({__name:"EditFormat",props:{formatId:null,token:null},setup(e,{expose:S}){const C=e,_=`${window.location.protocol}//${window.location.host}/bi-api`,y=`${_}/reprot/print/open/client/saveIReportFormat`,E=`${_}/reprot/print/open/client/getIReportFiles`,I=`${_}/reprot/print/open/client/delIReportFiles`,b=$.create({}),j=d(),z=t([]);var F;function R(e){return new Promise(((t,o)=>{var n;b.get(`${I}?formatId=${null==(n=C.formatId)?void 0:n.split("_")[1]}&authorizationKey=${C.token}&fileName=${e.file.name}`).then((({data:e})=>{"SUCCESS"!==(null==e?void 0:e.result)?(j.error((null==e?void 0:e.resultMsg)||"删除文件失败,请重试!"),o()):(j.success("删除文件成功!"),t("SUCCESS"))}))}))}return b.get(`${E}?formatId=${null==(F=C.formatId)?void 0:F.split("_")[1]}&authorizationKey=${C.token}`).then((({data:e})=>{(e.list||[]).forEach((e=>{z.value.push({id:Date.now().toString(),name:e,status:"finished"})}))})),S({submit:function(e){return new Promise(((t,o)=>{if(!function(){if(z.value.length<2)return!1;let e=!1,t=!1;const o=/\.([^.]+)$/;return z.value.forEach((n=>{var l;const r=(null==(l=n.file)?void 0:l.name)||n.name||"",i=o.exec(r)?RegExp.$1.toLowerCase():"";i&&".jrxml".includes(i)&&(e=!0),i&&".jasper".includes(i)&&(t=!0)})),!(!e||!t)}())return void j.warning("请至少上传一个jrxml文件和一个jasper文件!");if(0===z.value.filter((e=>e.file)).length)return void j.warning("本次无新文件增加,请先添加新文件!");const n=new FormData;Object.keys(e).forEach((t=>{n.append(t,e[t])})),z.value.forEach((e=>{e.file&&n.append("files",e.file)})),b.post(y,n,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((({data:e})=>{"SUCCESS"!==(null==e?void 0:e.result)?(j.error((null==e?void 0:e.resultMsg)||"上传文件失败,请重试!"),o()):t("SUCCESS")}))}))}}),(e,t)=>(o(),n(l(s),{"label-placement":"left","label-width":75},{default:r((()=>[i(l(p),{label:"格式文件:",path:"file"},{default:r((()=>[i(l(f),{vertical:""},{default:r((()=>[i(l(m),{multiple:"","directory-dnd":"","file-list":z.value,"onUpdate:file-list":t[0]||(t[0]=e=>z.value=e),onRemove:R},{default:r((()=>[i(l(c),null,{default:r((()=>[a("div",x,[i(l(v),{size:"36",depth:3,component:l(h)},null,8,["component"])]),i(l(w),{style:{"font-size":"12px"}},{default:r((()=>{var e;return[u((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.461"))||"点击或者拖动文件到该区域来上传")]})),_:1}),i(l(g),{depth:"3",style:{margin:"5px 0 0 0","font-size":"13px"}},{default:r((()=>{var e;return[u((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.462"))||"至少包含一个jxml文件和一个jasper文件")]})),_:1})])),_:1})])),_:1},8,["file-list"])])),_:1})])),_:1})])),_:1}))}});export{S as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as
|
1
|
+
import{defineComponent as e,ref as a,reactive as l,watch as o,openBlock as t,createBlock as n,unref as u,normalizeStyle as i,withCtx as d,createElementVNode as r,mergeProps as s,createVNode as c,withKeys as v,createTextVNode as w}from"vue";import{useMessage as p,NModal as m,NForm as g,NFormItem as f,NInput as y,NButton as C}from"naive-ui";import h from"./EditFormat.vue.js";var _;const k={class:"content"};var B=e({__name:"IdentityVerification",props:{verifyUser:{type:Function,default:()=>Promise.resolve()},identityVerificationTitle:{default:(null==(_=window.getLanguageByCode)?void 0:_.call(window,"10010.1.471"))||"打印服务身份校验"},modelValue:{type:Boolean},formatId:null,templateId:null},emits:["update:modelValue","success","close"],setup(e,{emit:_}){var B,I;const L=e,V=p(),x={account:"",password:""},b=a(null),K=a(!1),U=a("");let S=l({...x});const F={account:{required:!0,message:(null==(B=window.getLanguageByCode)?void 0:B.call(window,"10010.1.468"))||"请输入账号"},password:{required:!0,message:(null==(I=window.getLanguageByCode)?void 0:I.call(window,"10010.1.469"))||"请输入密码"}},j="416px",q=a(null),E=()=>{_("update:modelValue",!1),_("close")},N=a(!1),P=()=>{var e;null==(e=q.value)||e.validate((e=>{if(e)return console.log(e),!1;(async()=>{var e;try{N.value=!0;const{data:a={}}=await L.verifyUser(S)||{};if("SUCCESS"!==a.result)return V.error(a.resultMsg||"身份校验失败,请重试!"),!1;_("success",null==(e=a.map)?void 0:e.token)}finally{N.value=!1}})()}))},R=async()=>{var e,a;try{N.value=!0;if(!await(null==(a=b.value)?void 0:a.submit({authorizationKey:U.value,id:null==(e=L.formatId)?void 0:e.split("_")[1],templateId:L.templateId,datasourceName:null,dataSourceId:null})))return!1;_("success",U.value)}finally{N.value=!1}};return o((()=>L.modelValue),(e=>{e||Object.assign(S,x)})),(a,l)=>{var o,p,_;return t(),n(u(m),{preset:"dialog",title:K.value?(null==(o=window.getLanguageByCode)?void 0:o.call(window,"10010.1.284"))||"编辑":e.identityVerificationTitle,class:"standard-modal standard-modal-white authentication-modal c-button-print-modal",show:e.modelValue,"close-on-esc":!1,"show-icon":!1,style:i({width:j,overflowY:"auto"}),"positive-text":K.value?(null==(p=window.getLanguageByCode)?void 0:p.call(window,"10010.1.428"))||"确认":"","negative-text":K.value?(null==(_=window.getLanguageByCode)?void 0:_.call(window,"10010.1.32"))||"取消":"",onClose:E,onNegativeClick:E,onPositiveClick:R},{default:d((()=>[r("div",k,[K.value?(t(),n(h,s({key:0,ref_key:"editFormRef",ref:b},a.$attrs,{formatId:e.formatId,token:U.value}),null,16,["formatId","token"])):(t(),n(u(g),{key:1,class:"login-form-button-print",ref_key:"formRef",ref:q,model:u(S),rules:F},{default:d((()=>[c(u(f),{path:"account"},{default:d((()=>{var e;return[c(u(y),{value:u(S).account,"onUpdate:value":l[0]||(l[0]=e=>u(S).account=e),placeholder:(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.468"))||"请输入账号",onKeyup:v(P,["enter"])},null,8,["value","onKeyup"])]})),_:1}),c(u(f),{path:"password"},{default:d((()=>{var e;return[c(u(y),{type:"password","input-props":{autocomplete:"on",name:"password"},value:u(S).password,"onUpdate:value":l[1]||(l[1]=e=>u(S).password=e),placeholder:(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.469"))||"请输入密码",onKeyup:v(P,["enter"])},null,8,["value","onKeyup"])]})),_:1}),c(u(f),null,{default:d((()=>[c(u(C),{loading:N.value,type:"primary",class:"login-form-button",onClick:P},{default:d((()=>{var e;return[w((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.470"))||"登录")]})),_:1},8,["loading"])])),_:1})])),_:1},8,["model"]))])])),_:1},8,["title","show","style","positive-text","negative-text"])}}});export{B as default};
|
@@ -106,6 +106,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
106
106
|
outerPrintKeys: never[];
|
107
107
|
defaultFormatId: string;
|
108
108
|
shortcut: {};
|
109
|
+
buttonProps: {};
|
109
110
|
};
|
110
111
|
};
|
111
112
|
svrUpdateIp: {
|
@@ -226,6 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
226
227
|
outerPrintKeys: never[];
|
227
228
|
defaultFormatId: string;
|
228
229
|
shortcut: {};
|
230
|
+
buttonProps: {};
|
229
231
|
};
|
230
232
|
};
|
231
233
|
svrUpdateIp: {
|
@@ -253,6 +255,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
253
255
|
defaultPrintFormatId: import("vue").ComputedRef<any>;
|
254
256
|
isPrintAllType: import("vue").ComputedRef<any>;
|
255
257
|
shortcutSettings: import("vue").ComputedRef<any>;
|
258
|
+
buttonProps: import("vue").ComputedRef<any>;
|
256
259
|
printAllShortcut: import("vue").ComputedRef<any>;
|
257
260
|
showSettingItems: import("vue").ComputedRef<AnyObject[]>;
|
258
261
|
isSelectedAll: import("vue").WritableComputedRef<boolean>;
|
@@ -598,6 +601,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
598
601
|
outerPrintKeys: never[];
|
599
602
|
defaultFormatId: string;
|
600
603
|
shortcut: {};
|
604
|
+
buttonProps: {};
|
601
605
|
};
|
602
606
|
};
|
603
607
|
svrUpdateIp: {
|