cnhis-design-vue 3.2.5-beta.54 → 3.2.5-beta.56
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/annotation-edit/src/type.d.ts +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -1
- package/es/components/big-table/index.d.ts +7 -57
- package/es/components/big-table/src/BigTable.vue.d.ts +7 -57
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +4 -4
- package/es/components/big-table/src/hooks/useEdit.d.ts +27 -27
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/biunique-chat/index.d.ts +13 -1027
- package/es/components/biunique-chat/src/Index.vue.d.ts +13 -1027
- package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +2 -201
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -9
- package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +7 -408
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +2 -208
- package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +1 -11
- package/es/components/biunique-chat/src/components/ChatSearch.vue.d.ts +2 -2
- package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +2 -187
- package/es/components/biunique-chat/src/components/PersonProfile.vue.d.ts +1 -9
- package/es/components/biunique-chat/src/types/index.d.ts +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +13 -13
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +2 -2
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +9 -9
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +2 -2
- 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/index.d.ts +13 -2917
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -2917
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -1162
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +6 -1458
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +5 -1457
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -1457
- package/es/components/calendar/index.d.ts +4 -4
- package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
- package/es/components/calendar/src/types/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +2 -179
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +120 -1701
- package/es/components/callback/src/types/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +2 -2
- package/es/components/card-reader-sdk/src/constants/index.d.ts +56 -56
- package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +4 -14
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +24 -34
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +26 -36
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -4
- package/es/components/classification/src/index.vue.d.ts +4 -14
- package/es/components/config-provider/src/interface.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/drag-scroll/src/types.d.ts +2 -2
- package/es/components/expand-field/index.d.ts +41 -575
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +56 -198
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +36 -168
- package/es/components/expand-field/src/components/form.vue.d.ts +41 -526
- package/es/components/expand-field/src/index.vue.d.ts +41 -575
- package/es/components/expand-field/src/types/index.d.ts +1 -1
- package/es/components/fabric-chart/index.d.ts +10 -10
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +10 -10
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +3 -3
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +9 -9
- package/es/components/field-set/index.d.ts +1 -51
- package/es/components/field-set/src/FieldColor.vue.d.ts +14 -593
- package/es/components/field-set/src/FieldFilter.vue.d.ts +7 -7
- package/es/components/field-set/src/FieldSet.vue.d.ts +9 -10
- package/es/components/field-set/src/Index.vue.d.ts +2 -52
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
- package/es/components/field-set/src/components/condition.vue.d.ts +2 -2
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +11 -589
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +3 -3
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +8 -8
- package/es/components/form-config/index.d.ts +62 -4785
- package/es/components/form-config/src/FormConfig.vue.d.ts +41 -4764
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +37 -98
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -4651
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +3 -36
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +8 -8
- package/es/components/form-render/index.d.ts +15 -75
- package/es/components/form-render/src/FormRender.vue.d.ts +10 -70
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -75
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -11
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +10 -10
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +15 -15
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -11
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -19
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +10 -10
- package/es/components/form-render/src/types/index.d.ts +13 -13
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +46 -1567
- package/es/components/iho-table/src/IhoTable.vue.d.ts +40 -1561
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +18 -18
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +61 -61
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +2 -335
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/types.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +16 -16
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +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/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +17 -17
- package/es/components/iho-table/src/types/pluginType.d.ts +13 -13
- package/es/components/info-header/index.d.ts +65 -1723
- package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -1700
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +27 -1547
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +16 -1554
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +31 -1629
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +59 -119
- package/es/components/info-header/src/types/index.d.ts +4 -3
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/map/src/types/index.d.ts +2 -2
- package/es/components/quick-search/index.d.ts +1 -295
- package/es/components/quick-search/src/index.vue.d.ts +1 -295
- package/es/components/recommend-search/index.d.ts +28 -28
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +28 -28
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +11 -11
- package/es/components/recommend-search/src/types/index.d.ts +2 -2
- package/es/components/scale-view/index.d.ts +6 -300
- package/es/components/scale-view/src/ScaleView.vue.d.ts +6 -300
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +2 -2
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +2 -2
- package/es/components/scale-view/src/hooks/use-component.d.ts +3 -15
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +14 -14
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +15 -15
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +3 -3
- package/es/components/select-label/index.d.ts +3 -21
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/index.vue.d.ts +2 -14
- package/es/components/select-label/src/types/index.d.ts +3 -3
- package/es/components/select-person/index.d.ts +36 -168
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +3 -58
- package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +2 -2
- package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -117
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +23 -1606
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -1597
- package/es/components/step-notice/index.d.ts +94 -1615
- package/es/components/step-notice/src/StepNotice.vue.d.ts +79 -1600
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +22 -22
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +2 -2
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +16 -16
- package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -1
- package/es/components/step-notice/src/utils.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -630
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +2 -51
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -581
- package/es/components/table-export-field/src/index.vue.d.ts +5 -632
- package/es/components/table-export-field/src/types/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +15 -15
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -50
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +16 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +60 -119
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +59 -108
- package/es/components/table-filter/src/types/index.d.ts +25 -25
- package/es/components/time-line/index.d.ts +1 -48
- package/es/components/time-line/src/TimeLine.vue.d.ts +4 -51
- package/es/components/tooth-bitmap/index.d.ts +3 -3
- package/es/components/tooth-bitmap/src/ToothBitmap.vue.d.ts +1 -1
- 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/InputNumberSlash/InputNumberSlash.d.ts +3 -3
- package/es/shared/components/SlotRender/SlotRender.d.ts +4 -4
- package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/useTheme.d.ts +2 -2
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/types/index.d.ts +15 -15
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncParallelHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/es/shared/utils/vexutils.d.ts +2 -2
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\
|
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import S from"./hooks/use-noData.js";import{ScaleViewProps as b}from"./hooks/scaleview-props.js";import{getScaleViewState as C}from"./hooks/scaleview-state.js";import{ScaleViewComputed as D}from"./hooks/scaleview-computed.js";import{ScaleViewInit as E}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as j}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as _}from"./hooks/scaleview-methods.js";import{handleQueryParams as x,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import F from"../../../shared/utils/vexutilsExpand.js";import L from"./components/NoData.vue.js";import N from"./components/EvaluateCountdown.vue.js";import R from"./components/EvaluatePage.vue.js";import T from"./components/AnswerParse.vue.js";import A from"./components/ScaleScore.js";import M from"./components/DescribeContent.vue.js";import{NForm as O,NFormItem as I,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},B=["onClick"],H=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),Q={key:1,class:"footer"};var z=e({__name:"ScaleView",props:b,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:b,emit:z}){const K=e,{ScaleViewState:U}=C(),X=o(U),Y=t(null),Z=t(null),{noDataState:$,setNoData:ee,resetNodata:oe}=S(),te=x(),{showEvatip:ae,isFormBoldOpen:ne,scaleStyle:se,handlePageClass:ie,isShowItem:le,handleShowQuestionNumber:re,hasScore:me,isPreviewScale:ce,showEvaluateEntry:ue,showEvaluateCoundownPage:de,showSaveBtn:pe,showEvaluateLabel:ve,showAnswerParse:fe,propsConfig:ge,evaluatePageProps:he,evaluateCountdownProps:ke,isEvaluetaResSituation:ye,disableEdit:we,desStart:Se,desEnd:be,desContent:Ce}=D(K,X,{query:te}),{initForm:De}=E(K,X,z,{query:te}),{submitMethod:Ee,onSubmitData:je,onSubmitForm:_e,handleScoreJson:xe}=j(K,X,z,{query:te,formRef:Z,countdownDom:Y}),{nextLogicEvent:Pe,handleDynamicDataRelation:qe}=q(K,X),{scaleChange:Fe,labelChange:Le,vodFileList:Ne,writeGuage:Re,closeEvaluateCountdown:Te,showEvaTipModal:Ae}=_(K,X,z,{nextLogicEvent:Pe,handleDynamicDataRelation:qe,isPreviewScale:ce,submitMethod:Ee,isEvaluetaResSituation:ye,handleScoreJson:xe,disableEdit:we});(()=>{let{id:e}=te;e&&(X.shareId=e)})();const Me=e=>{try{oe(),De(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,ee(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Me(e):e.guage_id&&Me(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{De(o)}))}),{immediate:!0});const Oe=F.debounce(je,300),Ie=()=>{z("onCloseSetting")};return b({getScaleData:()=>({...X}),onSubmitForm:_e,cancel:Ie}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(pe)}])},[m(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r($).noData?(s(),u(L,{key:0,noDataImg:r($).noDataImg,noDataTip:r($).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(ue)?(s(),u(R,d({key:0},r(he),{onWriteGuage:r(Re)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(de)?(s(),u(N,d({key:0,ref_key:"countdownDom",ref:Y},r(ke),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(ie),"scale-container-hasfooter":r(pe)}]),style:v(r(se))},[r(me)?(s(),u(r(A),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(Se)?(s(),u(M,{key:1,content:r(Ce)},null,8,["content"])):m("v-if",!0),f(r(O),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(le)(e)?(s(),u(r(I),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(ne)(e)}),innerHTML:r(re)(e)},null,10,V),r(ne)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(ve)(e)?(s(),i("span",W,k(r(ve)(e)),1)):m("v-if",!0),r(ae)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ae)(e)},[H,y(" 查看提示 ")],8,B)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ge)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Fe),onOnChange:o=>r(Le)(o,e),onVodFileList:r(Ne)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(fe)(e)?(s(),u(T,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(be)?(s(),u(M,{key:2,content:r(Ce)},null,8,["content"])):m("v-if",!0)],6),r(pe)?(s(),i("div",Q,[m(" 分享的链接 隐藏取消按钮 "),"guage"!==K.sourceType?(s(),u(r(J),{key:0,onClick:Ie},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),K.isLock?m("v-if",!0):(s(),u(r(J),{key:1,onClick:r(Oe),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"]))])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
onCloseEvaluateCountdown?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
onWriteGuage?: ((...args: any[]) => any) | undefined;
|
|
54
54
|
}>>;
|
|
55
|
-
emit: (event: "
|
|
55
|
+
emit: (event: "writeGuage" | "closeEvaluateCountdown", ...args: any[]) => void;
|
|
56
56
|
evaluateState: {
|
|
57
57
|
totalLen: number;
|
|
58
58
|
timer: null;
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
handleEvaluateParams: () => void;
|
|
77
77
|
writeGuage: () => void;
|
|
78
78
|
NButton: any;
|
|
79
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("writeGuage" | "closeEvaluateCountdown")[], "writeGuage" | "closeEvaluateCountdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
80
|
formArray: {
|
|
81
81
|
type: ArrayConstructor;
|
|
82
82
|
default: () => never[];
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
34
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "update:visible")[], "onClose" | "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
35
|
title: {
|
|
36
36
|
type: (StringConstructor | FunctionConstructor)[];
|
|
37
37
|
default: string;
|
|
@@ -68,13 +68,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
closable: boolean;
|
|
72
71
|
cancel: Function;
|
|
73
72
|
visible: boolean;
|
|
74
73
|
modalWidth: string;
|
|
75
74
|
modalHeight: string;
|
|
76
75
|
title: string | Function;
|
|
77
76
|
handleOk: Function;
|
|
77
|
+
closable: boolean;
|
|
78
78
|
changeSize: boolean;
|
|
79
79
|
}>;
|
|
80
80
|
export default _default;
|
|
@@ -496,7 +496,7 @@ export declare const componentMap: {
|
|
|
496
496
|
form: Record<string, any>;
|
|
497
497
|
locationProp: string;
|
|
498
498
|
}>>;
|
|
499
|
-
LABEL: import("vue").ShallowRef<import("
|
|
499
|
+
LABEL: import("vue").ShallowRef<import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
500
500
|
type: {
|
|
501
501
|
type: StringConstructor;
|
|
502
502
|
default: string;
|
|
@@ -825,13 +825,7 @@ export declare const componentMap: {
|
|
|
825
825
|
handleResetOptions: () => void;
|
|
826
826
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
827
827
|
NAnchor: any;
|
|
828
|
-
NAnchorLink:
|
|
829
|
-
readonly title: StringConstructor;
|
|
830
|
-
readonly href: StringConstructor;
|
|
831
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
832
|
-
readonly title: StringConstructor;
|
|
833
|
-
readonly href: StringConstructor;
|
|
834
|
-
}>>, {}>;
|
|
828
|
+
NAnchorLink: any;
|
|
835
829
|
labelClassify: import("vue").DefineComponent<{
|
|
836
830
|
classifyItem: {
|
|
837
831
|
type: null;
|
|
@@ -1199,13 +1193,7 @@ export declare const componentMap: {
|
|
|
1199
1193
|
handleLabelForm: (cb: Function) => void;
|
|
1200
1194
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
1201
1195
|
NAnchor: any;
|
|
1202
|
-
NAnchorLink:
|
|
1203
|
-
readonly title: StringConstructor;
|
|
1204
|
-
readonly href: StringConstructor;
|
|
1205
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1206
|
-
readonly title: StringConstructor;
|
|
1207
|
-
readonly href: StringConstructor;
|
|
1208
|
-
}>>, {}>;
|
|
1196
|
+
NAnchorLink: any;
|
|
1209
1197
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
1210
1198
|
categoryItem: {
|
|
1211
1199
|
type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
|
|
@@ -28,7 +28,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
30
|
search: {
|
|
31
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
31
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
32
32
|
};
|
|
33
33
|
labelKey: {
|
|
34
34
|
type: StringConstructor;
|
|
@@ -86,7 +86,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
86
86
|
default: () => never[];
|
|
87
87
|
};
|
|
88
88
|
search: {
|
|
89
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
89
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
90
90
|
};
|
|
91
91
|
labelKey: {
|
|
92
92
|
type: StringConstructor;
|
|
@@ -116,11 +116,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
116
116
|
};
|
|
117
117
|
}>> & {
|
|
118
118
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
119
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
120
119
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}>>;
|
|
122
|
-
cssVars: import("vue").ComputedRef<import("
|
|
123
|
-
emit: (event: "
|
|
122
|
+
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
|
123
|
+
emit: (event: "focus" | "update:show" | "update:value", ...args: any[]) => void;
|
|
124
124
|
emitValue: (value: string | import("../../shared/types").AnyObject[]) => void;
|
|
125
125
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
126
126
|
onClear: () => void;
|
|
@@ -175,7 +175,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
175
175
|
cursorNode: {
|
|
176
176
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
177
177
|
};
|
|
178
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
178
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeCursor" | "nodeClick")[], "changeCursor" | "nodeClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
179
179
|
childKey: {
|
|
180
180
|
type: StringConstructor;
|
|
181
181
|
default: string;
|
|
@@ -199,15 +199,15 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
199
199
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
200
200
|
};
|
|
201
201
|
}>> & {
|
|
202
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
203
202
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
203
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
204
204
|
}, {
|
|
205
205
|
options: import("../../shared/types").AnyObject[];
|
|
206
|
-
valueKey: string;
|
|
207
206
|
childKey: string;
|
|
208
207
|
labelKey: string;
|
|
208
|
+
valueKey: string;
|
|
209
209
|
}>;
|
|
210
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
210
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:show" | "update:value")[], "focus" | "update:show" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
211
|
value: {
|
|
212
212
|
type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
|
|
213
213
|
};
|
|
@@ -236,7 +236,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
236
236
|
default: () => never[];
|
|
237
237
|
};
|
|
238
238
|
search: {
|
|
239
|
-
type: import("vue").PropType<import("../../shared/types").AnyFn
|
|
239
|
+
type: import("vue").PropType<import("../../shared/types").AnyFn>;
|
|
240
240
|
};
|
|
241
241
|
labelKey: {
|
|
242
242
|
type: StringConstructor;
|
|
@@ -266,18 +266,18 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
266
266
|
};
|
|
267
267
|
}>> & {
|
|
268
268
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
269
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
270
269
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
}, {
|
|
272
|
-
disabled: boolean;
|
|
273
|
-
show: boolean;
|
|
274
272
|
options: import("../../shared/types").AnyObject[];
|
|
273
|
+
disabled: boolean;
|
|
275
274
|
placeholder: string;
|
|
276
|
-
|
|
275
|
+
show: boolean;
|
|
277
276
|
clearable: boolean;
|
|
278
277
|
childKey: string;
|
|
279
278
|
editPlaceholder: string;
|
|
280
279
|
labelKey: string;
|
|
280
|
+
valueKey: string;
|
|
281
281
|
checkAbleLevel: number | "last";
|
|
282
282
|
menuWidth: string | number;
|
|
283
283
|
}>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject, AnyFn, Nullable } from '../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
|
|
3
|
+
type ValueType = string | AnyObject[];
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
value: {
|
|
6
6
|
type: PropType<ValueType>;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: () => never[];
|
|
31
31
|
};
|
|
32
32
|
search: {
|
|
33
|
-
type: PropType<AnyFn
|
|
33
|
+
type: PropType<AnyFn>;
|
|
34
34
|
};
|
|
35
35
|
labelKey: {
|
|
36
36
|
type: StringConstructor;
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
default: () => never[];
|
|
89
89
|
};
|
|
90
90
|
search: {
|
|
91
|
-
type: PropType<AnyFn
|
|
91
|
+
type: PropType<AnyFn>;
|
|
92
92
|
};
|
|
93
93
|
labelKey: {
|
|
94
94
|
type: StringConstructor;
|
|
@@ -118,11 +118,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
};
|
|
119
119
|
}>> & {
|
|
120
120
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
122
121
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}>>;
|
|
124
|
-
cssVars: import("vue").ComputedRef<
|
|
125
|
-
emit: (event: "
|
|
124
|
+
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
125
|
+
emit: (event: "focus" | "update:show" | "update:value", ...args: any[]) => void;
|
|
126
126
|
emitValue: (value: ValueType) => void;
|
|
127
127
|
clearableRef: import("vue").ComputedRef<number | boolean>;
|
|
128
128
|
onClear: () => void;
|
|
@@ -177,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
177
|
cursorNode: {
|
|
178
178
|
type: PropType<AnyObject>;
|
|
179
179
|
};
|
|
180
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
180
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeCursor" | "nodeClick")[], "changeCursor" | "nodeClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
181
181
|
childKey: {
|
|
182
182
|
type: StringConstructor;
|
|
183
183
|
default: string;
|
|
@@ -201,15 +201,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
201
|
type: PropType<AnyObject>;
|
|
202
202
|
};
|
|
203
203
|
}>> & {
|
|
204
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
205
204
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
205
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
options: AnyObject[];
|
|
208
|
-
valueKey: string;
|
|
209
208
|
childKey: string;
|
|
210
209
|
labelKey: string;
|
|
210
|
+
valueKey: string;
|
|
211
211
|
}>;
|
|
212
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
212
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:show" | "update:value")[], "focus" | "update:show" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
213
213
|
value: {
|
|
214
214
|
type: PropType<ValueType>;
|
|
215
215
|
};
|
|
@@ -238,7 +238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
238
|
default: () => never[];
|
|
239
239
|
};
|
|
240
240
|
search: {
|
|
241
|
-
type: PropType<AnyFn
|
|
241
|
+
type: PropType<AnyFn>;
|
|
242
242
|
};
|
|
243
243
|
labelKey: {
|
|
244
244
|
type: StringConstructor;
|
|
@@ -268,18 +268,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
268
|
};
|
|
269
269
|
}>> & {
|
|
270
270
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
271
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
272
271
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
273
273
|
}, {
|
|
274
|
-
disabled: boolean;
|
|
275
|
-
show: boolean;
|
|
276
274
|
options: AnyObject[];
|
|
275
|
+
disabled: boolean;
|
|
277
276
|
placeholder: string;
|
|
278
|
-
|
|
277
|
+
show: boolean;
|
|
279
278
|
clearable: boolean;
|
|
280
279
|
childKey: string;
|
|
281
280
|
editPlaceholder: string;
|
|
282
281
|
labelKey: string;
|
|
282
|
+
valueKey: string;
|
|
283
283
|
checkAbleLevel: number | "last";
|
|
284
284
|
menuWidth: string | number;
|
|
285
285
|
}>;
|
|
@@ -23,7 +23,7 @@ export declare const SearchMenu: import("vue").DefineComponent<{
|
|
|
23
23
|
cursorNode: {
|
|
24
24
|
type: PropType<AnyObject>;
|
|
25
25
|
};
|
|
26
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
26
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeCursor" | "nodeClick")[], "changeCursor" | "nodeClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
childKey: {
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
default: string;
|
|
@@ -47,11 +47,11 @@ export declare const SearchMenu: import("vue").DefineComponent<{
|
|
|
47
47
|
type: PropType<AnyObject>;
|
|
48
48
|
};
|
|
49
49
|
}>> & {
|
|
50
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
51
50
|
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
options: AnyObject[];
|
|
54
|
-
valueKey: string;
|
|
55
54
|
childKey: string;
|
|
56
55
|
labelKey: string;
|
|
56
|
+
valueKey: string;
|
|
57
57
|
}>;
|
|
@@ -328,13 +328,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
328
328
|
handleResetOptions: () => void;
|
|
329
329
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
330
330
|
NAnchor: any;
|
|
331
|
-
NAnchorLink:
|
|
332
|
-
readonly title: StringConstructor;
|
|
333
|
-
readonly href: StringConstructor;
|
|
334
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
335
|
-
readonly title: StringConstructor;
|
|
336
|
-
readonly href: StringConstructor;
|
|
337
|
-
}>>, {}>;
|
|
331
|
+
NAnchorLink: any;
|
|
338
332
|
labelClassify: import("vue").DefineComponent<{
|
|
339
333
|
classifyItem: {
|
|
340
334
|
type: null;
|
|
@@ -702,13 +696,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
702
696
|
handleLabelForm: (cb: Function) => void;
|
|
703
697
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
704
698
|
NAnchor: any;
|
|
705
|
-
NAnchorLink:
|
|
706
|
-
readonly title: StringConstructor;
|
|
707
|
-
readonly href: StringConstructor;
|
|
708
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
709
|
-
readonly title: StringConstructor;
|
|
710
|
-
readonly href: StringConstructor;
|
|
711
|
-
}>>, {}>;
|
|
699
|
+
NAnchorLink: any;
|
|
712
700
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
713
701
|
categoryItem: {
|
|
714
702
|
type: import("vue").PropType<import("./src/types").ICategoryLabelItemType>;
|
|
@@ -1006,13 +994,7 @@ declare const LabelFormContent: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1006
994
|
handleResetOptions: () => void;
|
|
1007
995
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
1008
996
|
NAnchor: any;
|
|
1009
|
-
NAnchorLink:
|
|
1010
|
-
readonly title: StringConstructor;
|
|
1011
|
-
readonly href: StringConstructor;
|
|
1012
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1013
|
-
readonly title: StringConstructor;
|
|
1014
|
-
readonly href: StringConstructor;
|
|
1015
|
-
}>>, {}>;
|
|
997
|
+
NAnchorLink: any;
|
|
1016
998
|
labelClassify: import("vue").DefineComponent<{
|
|
1017
999
|
classifyItem: {
|
|
1018
1000
|
type: null;
|
|
@@ -110,13 +110,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
handleResetOptions: () => void;
|
|
111
111
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
112
112
|
NAnchor: any;
|
|
113
|
-
NAnchorLink:
|
|
114
|
-
readonly title: StringConstructor;
|
|
115
|
-
readonly href: StringConstructor;
|
|
116
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
-
readonly title: StringConstructor;
|
|
118
|
-
readonly href: StringConstructor;
|
|
119
|
-
}>>, {}>;
|
|
113
|
+
NAnchorLink: any;
|
|
120
114
|
labelClassify: import("vue").DefineComponent<{
|
|
121
115
|
classifyItem: {
|
|
122
116
|
type: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as
|
|
1
|
+
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
|
|
@@ -265,13 +265,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
265
265
|
handleResetOptions: () => void;
|
|
266
266
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
267
267
|
NAnchor: any;
|
|
268
|
-
NAnchorLink:
|
|
269
|
-
readonly title: StringConstructor;
|
|
270
|
-
readonly href: StringConstructor;
|
|
271
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
272
|
-
readonly title: StringConstructor;
|
|
273
|
-
readonly href: StringConstructor;
|
|
274
|
-
}>>, {}>;
|
|
268
|
+
NAnchorLink: any;
|
|
275
269
|
labelClassify: import("vue").DefineComponent<{
|
|
276
270
|
classifyItem: {
|
|
277
271
|
type: null;
|
|
@@ -46,13 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
handleLabelForm: (cb: Function) => void;
|
|
47
47
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
48
48
|
NAnchor: any;
|
|
49
|
-
NAnchorLink:
|
|
50
|
-
readonly title: StringConstructor;
|
|
51
|
-
readonly href: StringConstructor;
|
|
52
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
-
readonly title: StringConstructor;
|
|
54
|
-
readonly href: StringConstructor;
|
|
55
|
-
}>>, {}>;
|
|
49
|
+
NAnchorLink: any;
|
|
56
50
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
57
51
|
categoryItem: {
|
|
58
52
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -103,13 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
handleLabelForm: (cb: Function) => void;
|
|
104
104
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
105
105
|
NAnchor: any;
|
|
106
|
-
NAnchorLink:
|
|
107
|
-
readonly title: StringConstructor;
|
|
108
|
-
readonly href: StringConstructor;
|
|
109
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
-
readonly title: StringConstructor;
|
|
111
|
-
readonly href: StringConstructor;
|
|
112
|
-
}>>, {}>;
|
|
106
|
+
NAnchorLink: any;
|
|
113
107
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
114
108
|
categoryItem: {
|
|
115
109
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -329,13 +329,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
329
329
|
handleResetOptions: () => void;
|
|
330
330
|
hanldeSetLabelItem: (id: string | number, status: boolean) => void;
|
|
331
331
|
NAnchor: any;
|
|
332
|
-
NAnchorLink:
|
|
333
|
-
readonly title: StringConstructor;
|
|
334
|
-
readonly href: StringConstructor;
|
|
335
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
-
readonly title: StringConstructor;
|
|
337
|
-
readonly href: StringConstructor;
|
|
338
|
-
}>>, {}>;
|
|
332
|
+
NAnchorLink: any;
|
|
339
333
|
labelClassify: import("vue").DefineComponent<{
|
|
340
334
|
classifyItem: {
|
|
341
335
|
type: null;
|
|
@@ -703,13 +697,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
703
697
|
handleLabelForm: (cb: Function) => void;
|
|
704
698
|
handleLabelChange: (isSelect: boolean, labelItem: any, categoryItem?: any) => void;
|
|
705
699
|
NAnchor: any;
|
|
706
|
-
NAnchorLink:
|
|
707
|
-
readonly title: StringConstructor;
|
|
708
|
-
readonly href: StringConstructor;
|
|
709
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
710
|
-
readonly title: StringConstructor;
|
|
711
|
-
readonly href: StringConstructor;
|
|
712
|
-
}>>, {}>;
|
|
700
|
+
NAnchorLink: any;
|
|
713
701
|
IhoLabelClassify: import("vue").DefineComponent<{
|
|
714
702
|
categoryItem: {
|
|
715
703
|
type: PropType<ICategoryLabelItemType>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ICategoryLabelItemType = {
|
|
2
2
|
classifyId: string;
|
|
3
3
|
classifyName: string;
|
|
4
4
|
labelList: IhoTabLabelItemType[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type IhoTabLabelItemType = {
|
|
7
7
|
labelCode: string;
|
|
8
8
|
labelShowText: string;
|
|
9
9
|
backgroundColor: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ISelectLabelItemType = Pick<ICategoryLabelItemType, 'classifyId' | 'classifyName'> & Pick<IhoTabLabelItemType, 'labelCode' | 'labelShowText' | 'backgroundColor'>;
|