cnhis-design-vue 3.1.55-release.1 → 3.1.56-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/annotation-edit/index.d.ts +19 -1
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +19 -1
- package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/src/type.d.ts +4 -0
- package/es/components/audio-sdk/src/audioSDK.d.ts +21 -7
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +14 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
- package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +5 -2
- package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +15 -1
- package/es/components/base-search/src/index.vue.d.ts +18 -4
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/big-table/index.d.ts +22 -22
- package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
- package/es/components/big-table/src/bigTableProps.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
- package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
- package/es/components/big-table/src/constants/index.d.ts +1 -1
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
- package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/big-table/src/utils.d.ts +1 -1
- package/es/components/biunique-chat/index.d.ts +14 -14
- package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/api/index.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
- package/es/components/body-select/index.d.ts +5 -5
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
- package/es/components/body-select/src/index.vue.d.ts +1 -1
- package/es/components/bpmn-workflow/index.d.ts +1 -1
- package/es/components/button-print/index.d.ts +21 -21
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
- package/es/components/button-print/src/api.d.ts +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
- package/es/components/button-print/src/utils/dialog.d.ts +1 -1
- package/es/components/button-print/src/utils/print.d.ts +5 -2
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +74 -166
- package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
- package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +59 -43
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +14 -0
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +33 -35
- 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 +7 -21
- package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
- package/es/components/classification/src/index.vue.d.ts +75 -58
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/config-provider/index.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +1 -1
- package/es/components/expand-field/index.d.ts +29 -29
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
- package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
- package/es/components/expand-field/src/constants/index.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +2 -2
- package/es/components/fabric-chart/index.d.ts +10 -8
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
- package/es/components/fabric-chart/src/interface.d.ts +2 -2
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/field-set/index.d.ts +15 -15
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/src/utils/index.d.ts +3 -3
- package/es/components/form-config/index.d.ts +322 -475
- package/es/components/form-config/src/FormConfig.vue.d.ts +448 -601
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +40 -132
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +214 -291
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
- package/es/components/form-config/src/constants/index.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +2 -2
- package/es/components/form-config/src/utils/index.d.ts +3 -3
- package/es/components/form-render/index.d.ts +69 -161
- package/es/components/form-render/src/FormRender.vue.d.ts +39 -131
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +92 -184
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.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/components/renderer/simpleComponent.d.ts +1 -1
- package/es/components/form-render/src/constants/index.d.ts +6 -5
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +3 -3
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +27 -19
- package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +3 -3
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
- package/es/components/form-render/src/types/index.d.ts +18 -16
- package/es/components/form-render/src/utils/business.d.ts +2 -2
- package/es/components/form-render/src/utils/dom.d.ts +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +3 -3
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/grid/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +1 -1
- package/es/components/guide/src/types/index.d.ts +1 -1
- package/es/components/guide/src/useGuide.d.ts +1 -1
- package/es/components/guide/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +39 -39
- package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
- package/es/components/iho-table/src/constants/index.d.ts +5 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
- package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +3 -3
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
- package/es/components/iho-table/src/utils/index.d.ts +3 -3
- package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -3
- package/es/components/info-header/index.d.ts +213 -377
- package/es/components/info-header/src/InfoHeader.vue.d.ts +242 -406
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +11 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +13 -9
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +119 -207
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +41 -133
- package/es/components/info-header/src/constants/index.d.ts +1 -1
- package/es/components/info-header/src/types/index.d.ts +1 -1
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/map/index.d.ts +1 -1
- package/es/components/map/src/Map.vue.d.ts +1 -1
- package/es/components/picture-clipper/index.d.ts +1 -1
- package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +1 -1
- package/es/components/quick-search/src/index.vue.d.ts +4 -4
- package/es/components/recommend-search/index.d.ts +33 -33
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -15
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +5 -5
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +34 -34
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/search-cascader/src/constants/index.d.ts +1 -1
- package/es/components/search-cascader/src/utils/index.d.ts +1 -1
- package/es/components/select-label/index.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +19 -19
- package/es/components/select-person/index.d.ts +22 -22
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
- package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +85 -176
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +118 -209
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
- package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
- package/es/components/slider-tree/index.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
- package/es/components/table-export-field/src/constants/index.d.ts +1 -1
- package/es/components/table-export-field/src/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
- 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 +14 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +14 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -2
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
- 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 +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +19 -0
- 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.vue.d.ts +15 -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 +19 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +28 -9
- package/es/components/table-filter/src/constants/index.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
- package/es/components/table-filter/src/types/index.d.ts +4 -1
- package/es/components/time-line/index.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
- package/es/components/vod-chunk-upload/index.d.ts +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
- package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +2 -2
- package/es/shared/hooks/selectHooks/useSelectRenders.js +1 -1
- package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -1
- package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
- package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
- package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
- package/es/shared/hooks/useTheme.d.ts +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,35 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const Annotation: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: import("vue").PropType<import("./src/type").AnnotationItem>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
+
shortcuts: {
|
|
8
|
+
type: import("vue").PropType<(string | {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
})[] | undefined>;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
7
14
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
15
|
modelValue: {
|
|
9
16
|
type: import("vue").PropType<import("./src/type").AnnotationItem>;
|
|
10
17
|
default: string;
|
|
11
18
|
};
|
|
19
|
+
shortcuts: {
|
|
20
|
+
type: import("vue").PropType<(string | {
|
|
21
|
+
label: string;
|
|
22
|
+
value: string;
|
|
23
|
+
})[] | undefined>;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
12
26
|
}>> & {
|
|
13
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
28
|
}, {
|
|
15
29
|
modelValue: import("./src/type").AnnotationItem;
|
|
30
|
+
shortcuts: (string | {
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
})[] | undefined;
|
|
16
34
|
}>>;
|
|
17
35
|
export default Annotation;
|
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnnotationItem } from '
|
|
2
|
+
import { AnnotationItem } from '../../../components/annotation-edit/src/type';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: PropType<AnnotationItem>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
shortcuts: {
|
|
9
|
+
type: PropType<(string | {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
})[] | undefined>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
8
15
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
16
|
modelValue: {
|
|
10
17
|
type: PropType<AnnotationItem>;
|
|
11
18
|
default: string;
|
|
12
19
|
};
|
|
20
|
+
shortcuts: {
|
|
21
|
+
type: PropType<(string | {
|
|
22
|
+
label: string;
|
|
23
|
+
value: string;
|
|
24
|
+
})[] | undefined>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
13
27
|
}>> & {
|
|
14
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
29
|
}, {
|
|
16
30
|
modelValue: AnnotationItem;
|
|
31
|
+
shortcuts: (string | {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
})[] | undefined;
|
|
17
35
|
}>;
|
|
18
36
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as o,ref as
|
|
1
|
+
import{defineComponent as e,computed as o,ref as l,onDeactivated as t,createVNode as a,unref as u,createTextVNode as n}from"vue";import{useTheme as r}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as s,isObject as i,isArray as d,isFunction as m}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import{promiseTimeout as v}from"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import{FileTrayFull as c,FileTray as p}from"@vicons/ionicons5";import{NPopover as f,NDivider as h,NEllipsis as V,NIcon as g,NPopselect as y,NButton as w,NInput as x}from"naive-ui";var b=e({props:{modelValue:{type:[String,Object],default:""},shortcuts:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(e,{emit:b}){const k=r(),T=o({get:()=>s(e.modelValue)?e.modelValue:i(e.modelValue)&&e.modelValue.content||"",set(o){let l=o;i(e.modelValue)&&(l={...e.modelValue,content:o}),b("update:modelValue",l)}}),P=l(!1),R=o({get:()=>P.value,async set(e){P.value=e,!e&&M.value&&(await new Promise((e=>setTimeout(e,200))),M.value=!1)}}),_=o((()=>{let o=e.shortcuts||[];return i(e.modelValue)&&(d(e.modelValue.shortcuts)?o=e.modelValue.shortcuts:Reflect.has(e.modelValue,"shortcuts")&&(o=[])),o.map((e=>s(e)?{label:e,value:e}:e))})),j=l(),M=l(!1);let C,U;async function z(){var e,o;await v(50),null==(o=null==(e=j.value)?void 0:e.syncPosition)||o.call(e)}function L(e){e.stopPropagation(),clearTimeout(C),R.value&&M.value?R.value=!1:u(T)||(C=setTimeout((()=>(M.value=R.value=!0,z())),200))}function S(e){if(e.stopPropagation(),clearTimeout(C),u(T))return M.value=R.value=!0,z()}function W(e){e.stopPropagation(),clearTimeout(U),u(T)&&(R.value=!0)}function A(e){e.stopPropagation(),clearTimeout(U),u(T)&&!M.value&&(U=setTimeout((()=>{R.value=!1}),300))}return t((()=>{R.value=!1})),function(){return a("section",{class:["annotation-edit",{"is-active":!!u(T)}],style:{"--icon-right":"-5",...k.value},"annotation-hover-show":!u(T)&&!M.value},[a(f,{ref:j,"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:R.value,"onUpdate:show":e=>R.value=e,trigger:"manual",duration:100,onClickoutside:L},{default:function(){return a("section",{onMouseleave:A,onMouseenter:W},[a("div",null,[M.value?[_.value.length?a(y,{options:_.value,"onUpdate:value":e=>T.value+=e,scrollable:!0},{default:()=>a(w,{style:"margin-bottom: 8px;"},{default:()=>"短语"})}):null,a(x,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:T.value,"onUpdate:value":e=>T.value=e},null)]:a("span",null,[u(T)])]),i(e.modelValue)&&(m(e.modelValue.footerRender)||e.modelValue.author||e.modelValue.date)?[a(h,{style:{margin:"4px 0",minWidth:"360px"}},null),a("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return a("div",{class:"annotation-edit__icon",onMouseleave:A,onMouseenter:W,onDblclick:S,onClick:L},[a(g,{component:u(T)?c:p},null)])}})])}}});export{b as default};
|
|
@@ -1,24 +1,38 @@
|
|
|
1
1
|
import { ComponentInternalInstance } from 'vue';
|
|
2
2
|
import 'recorder-core/src/engine/mp3';
|
|
3
3
|
import 'recorder-core/src/engine/mp3-engine';
|
|
4
|
-
import { AnyObject } from '
|
|
4
|
+
import { AnyObject } from '../../../shared/types';
|
|
5
5
|
export default class AudioSDK {
|
|
6
6
|
private recorder;
|
|
7
7
|
private recordingDialog;
|
|
8
|
-
private
|
|
8
|
+
private contentRef;
|
|
9
|
+
private realTimeRecognition;
|
|
10
|
+
private allowPunctuationMark;
|
|
11
|
+
private timed;
|
|
12
|
+
private timer;
|
|
13
|
+
private realTimeSendStartTime;
|
|
14
|
+
private realTimeSendBytesChunks;
|
|
15
|
+
private realTimeSendClearPrevBufferIdx;
|
|
9
16
|
static instance: AudioSDK | null;
|
|
10
17
|
static serverUrl: string;
|
|
18
|
+
static sendInterval: number;
|
|
11
19
|
constructor();
|
|
12
20
|
static create(option?: AnyObject): AudioSDK;
|
|
13
21
|
private initRecorder;
|
|
22
|
+
private takeoffEncodeChunk;
|
|
23
|
+
private onProcess;
|
|
14
24
|
private recorderOpen;
|
|
15
|
-
recorderStart(instance: ComponentInternalInstance,
|
|
25
|
+
recorderStart(instance: ComponentInternalInstance, { onStop, allowPunctuationMark, realTimeRecognition, timed }: {
|
|
26
|
+
onStop: () => any;
|
|
27
|
+
realTimeRecognition?: boolean;
|
|
28
|
+
allowPunctuationMark?: boolean;
|
|
29
|
+
timed?: number;
|
|
30
|
+
}): Promise<{
|
|
16
31
|
result: string;
|
|
17
32
|
}>;
|
|
18
|
-
recorderStop(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}): Promise<AnyObject>;
|
|
33
|
+
recorderStop(): Promise<AnyObject>;
|
|
34
|
+
private toAudioRecognition;
|
|
35
|
+
private reset;
|
|
22
36
|
destroy(): void;
|
|
23
37
|
static audioRecognition(params: FormData): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
38
|
static audioRevise(params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{ref as e}from"vue";import t from"axios";import r from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{uuidGenerator as i}from"../../../shared/utils/index.js";import{RecordingDialog as s}from"./utils/recordingDialog.js";const n=class{constructor(){if(this.recorder=null,this.recordingDialog=new s,this.contentRef=e(""),this.realTimeRecognition=!1,this.allowPunctuationMark=!0,this.timed=0,this.timer=null,this.realTimeSendStartTime=0,this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0,n.instance)return n.instance;n.instance=this}static create(e){return(null==e?void 0:e.serverUrl)&&(this.serverUrl=e.serverUrl),new n}initRecorder(){this.recorder=r({type:"mp3",sampleRate:16e3,bitRate:16,...this.realTimeRecognition?{onProcess:this.onProcess.bind(this),takeoffEncodeChunk:this.takeoffEncodeChunk.bind(this)}:{}})}async takeoffEncodeChunk(e){e&&this.realTimeSendBytesChunks.push(e);const t=Date.now();if(t-this.realTimeSendStartTime<n.sendInterval)return;this.realTimeSendStartTime=t;let r=0;for(let e=0;e<this.realTimeSendBytesChunks.length;e++)r+=this.realTimeSendBytesChunks[e].length;const i=new Uint8Array(r);for(let e=0,t=0;e<this.realTimeSendBytesChunks.length;e++){const r=this.realTimeSendBytesChunks[e];i.set(r,t),t+=r.length}if(this.realTimeSendBytesChunks=[],i.length>0){const e=new Blob([i],{type:"audio/mp3"}),{text:t}=await this.toAudioRecognition(e);this.contentRef.value+=t}}async onProcess(e,t,r,i,s){0===this.realTimeSendStartTime&&(this.realTimeSendStartTime=Date.now(),this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0);for(let t=this.realTimeSendClearPrevBufferIdx;t<s;t++)e[t]=null;this.realTimeSendClearPrevBufferIdx=s}async recorderOpen(){return this.recorder||this.initRecorder(),new Promise(((e,t)=>{this.recorder.open((()=>{e({})}),((e,r)=>{t({result:"fail",msg:e,isUserNotAllow:r})}))}))}async recorderStart(e,{onStop:t,allowPunctuationMark:r=!0,realTimeRecognition:i=!1,timed:s=0}){this.realTimeRecognition=i,this.allowPunctuationMark=r,this.timed=1e3*s,this.timed&&(this.timer=setTimeout((()=>{t()}),this.timed));try{return await this.recorderOpen(),this.recorder.start(),this.recordingDialog.show(e,{contentRef:this.contentRef,after:()=>t()}),Promise.resolve({result:"success"})}catch(e){return Promise.reject(e)}}recorderStop(){return this.recorder?(this.recordingDialog.hide(),new Promise(((e,t)=>{if(this.realTimeRecognition){const t={file_id:"",text:this.contentRef.value};return e({result:"success",data:t}),void this.destroy()}this.recorder.stop((async(t,r)=>{const i=await this.toAudioRecognition(t);e({result:"success",duration:r,data:i}),this.destroy()}),(e=>{t({result:"fail",msg:e}),this.destroy()}))}))):Promise.reject({result:"fail",msg:"请先打开麦克风录音"})}async toAudioRecognition(e){var t;const r=new File([e],`${i()}.mp3`,{type:e.type}),s=new FormData;s.append("audio",r);const o={file_id:"",text:""};try{const{data:e}=await n.audioRecognition(s);!this.allowPunctuationMark&&"success"===e.msg&&(null==(t=e.data)?void 0:t.text)&&(e.data.text=e.data.text.replace(/[??,。,.\s]/g,""),Object.assign(o,e.data))}catch(e){console.log(e)}return o}reset(){this.realTimeSendStartTime=0,this.contentRef.value="",this.timer&&(clearTimeout(this.timer),this.timer=null),this.timed=0}destroy(){var e;null==(e=this.recorder)||e.close(),this.recorder=null,this.reset()}static async audioRecognition(e){return await t.post(`${this.serverUrl}/audio/recognition`,e,{headers:{"Content-Type":"multipart/form-data"}})}static async audioRevise(e){return await t.post(`${this.serverUrl}/audio/revise`,e)}};let o=n;o.serverUrl="",o.sendInterval=1500;export{o as default};
|
|
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
+
content: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
6
10
|
}, {
|
|
7
11
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
8
12
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -10,8 +14,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
12
16
|
};
|
|
17
|
+
content: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
13
21
|
}>> & {}>>;
|
|
14
22
|
showModal: import("vue").Ref<boolean>;
|
|
23
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
15
24
|
close: () => void;
|
|
16
25
|
NModal: any;
|
|
17
26
|
NIcon: any;
|
|
@@ -21,7 +30,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
30
|
type: BooleanConstructor;
|
|
22
31
|
default: boolean;
|
|
23
32
|
};
|
|
33
|
+
content: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
24
37
|
}>>, {
|
|
25
38
|
visible: boolean;
|
|
39
|
+
content: string;
|
|
26
40
|
}>;
|
|
27
41
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as e,ref as o,onMounted as t,watch as s,openBlock as n,createBlock as i,unref as r,normalizeStyle as a,withCtx as c,createElementVNode as l,toDisplayString as p,createVNode as u}from"vue";import{NModal as d,NIcon as m}from"naive-ui";import{Mic as v}from"@vicons/ionicons5";import{useTheme as f}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";const h={class:"c-recording-wrapper"},k={class:"content"},y=l("div",{class:"animation"},null,-1),w=l("p",{class:"tip"},"按下空格键停止录音",-1);var g=e({__name:"recordingDialog",props:{visible:{type:Boolean,default:!1},content:{type:String,default:""}},setup(e){const g=e,b=f(),j=o(!0);function x(e){" "!==e.key&&"Space"!==e.code||(e.preventDefault(),C())}function C(){j.value=!1,document.removeEventListener("keydown",x)}return t((()=>{document.addEventListener("keydown",x)})),s((()=>g.visible),(e=>{j.value=e})),(o,t)=>(n(),i(r(d),{show:j.value,"onUpdate:show":t[0]||(t[0]=e=>j.value=e),style:a(r(b)),onEsc:C,onMaskClick:C},{default:c((()=>[l("div",h,[l("p",k,p(e.content||"正在聆听..."),1),y,l("div",{class:"icon-box",onClick:C},[u(r(m),{size:"60",color:"#fff",component:r(v)},null,8,["component"])]),w])])),_:1},8,["show","style"]))}});export{g as default};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { ComponentInternalInstance } from 'vue';
|
|
1
|
+
import { ComponentInternalInstance, Ref } from 'vue';
|
|
2
2
|
export declare class RecordingDialog {
|
|
3
3
|
rendered: boolean;
|
|
4
4
|
target: HTMLElement | null;
|
|
5
5
|
static createMsg(message: string): string;
|
|
6
|
-
show(instance: ComponentInternalInstance,
|
|
6
|
+
show(instance: ComponentInternalInstance, { contentRef, after }: {
|
|
7
|
+
contentRef: Ref<string>;
|
|
8
|
+
after: () => void;
|
|
9
|
+
}): Promise<string>;
|
|
7
10
|
hide(): void;
|
|
8
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,d){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,
|
|
1
|
+
import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,{contentRef:d,after:u}){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,c)=>{this.rendered=!0;const h=document.createElement("div"),m=e(!1),v=s(l);t(r(v,null,{default:n((()=>r(o,{to:h,content:d.value,visible:m.value,onAfterLeave:()=>function(e){if(!e.parentElement)return;g.hide(),u(),a("success")}(h)},null)),l)}),h);const g=this;var p;p=h,document.body.appendChild(p),g.target=p,i((()=>m.value=!0))}))}hide(){var e;(null==(e=this.target)?void 0:e.parentElement)&&(this.rendered=!1,this.target.parentElement.removeChild(this.target),this.target=null)}}export{a as RecordingDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}.c-recording-wrapper .
|
|
1
|
+
.c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{font-size:18px;position:absolute;text-align:center;top:20px}.c-recording-wrapper .animation{animation:toScale 1s infinite;background-color:#5585f54d;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer}.c-recording-wrapper .tip{bottom:20px;position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
showSettings: {
|
|
4
4
|
type: import("vue").PropType<import("..").IsettingsType>;
|
|
@@ -22,6 +22,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
22
22
|
type: ObjectConstructor;
|
|
23
23
|
default: () => {};
|
|
24
24
|
};
|
|
25
|
+
isShowTitle: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
25
29
|
}, {
|
|
26
30
|
outQuickSearchFn: {
|
|
27
31
|
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
@@ -91,6 +95,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
91
95
|
type: ObjectConstructor;
|
|
92
96
|
default: () => {};
|
|
93
97
|
};
|
|
98
|
+
isShowTitle: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
94
102
|
}>> & {
|
|
95
103
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
96
104
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -140,6 +148,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
140
148
|
filterChangeFnList: import("vue").Ref<any[]>;
|
|
141
149
|
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
142
150
|
showResetBtn: import("vue").ComputedRef<boolean>;
|
|
151
|
+
handleName: (item: import("..").ISearchType, key?: string) => any;
|
|
143
152
|
initOutSearchFieldList: () => void;
|
|
144
153
|
isShowSetting: (v: string) => boolean;
|
|
145
154
|
foldQuickSearch: () => void;
|
|
@@ -219,6 +228,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
219
228
|
type: ObjectConstructor;
|
|
220
229
|
default: () => {};
|
|
221
230
|
};
|
|
231
|
+
isShowTitle: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
222
235
|
}>> & {
|
|
223
236
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
224
237
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -229,5 +242,6 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
229
242
|
searchFieldList: import("..").IApiServerType[];
|
|
230
243
|
qqConObjCount: number;
|
|
231
244
|
appendValueConfig: Record<string, any>;
|
|
245
|
+
isShowTitle: boolean;
|
|
232
246
|
}>>;
|
|
233
247
|
export default CBaseSearch;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchType, IsettingsType, IApiServerType, ISearchParamsType } from '
|
|
1
|
+
import { ISearchType, IsettingsType, IApiServerType, ISearchParamsType } from '../../../components/table-filter/src/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
showSettings: {
|
|
@@ -23,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
default: () => {};
|
|
25
25
|
};
|
|
26
|
+
isShowTitle: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
26
30
|
}, {
|
|
27
31
|
outQuickSearchFn: {
|
|
28
32
|
handlerInitSearchItem(arr: ISearchType[]): void;
|
|
@@ -31,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
35
|
getRenderSearchConObj: (cfg: ISearchType) => any;
|
|
32
36
|
isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
|
|
33
37
|
resetRenderWidgetValue: (cfg: ISearchType) => any;
|
|
34
|
-
transformData: (advancedFilterData: IApiServerType[], extendData: import("
|
|
38
|
+
transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType) => {
|
|
35
39
|
fieldType: string;
|
|
36
40
|
columnName: string;
|
|
37
41
|
settingObj: {};
|
|
@@ -50,14 +54,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
54
|
multiple: boolean;
|
|
51
55
|
manualMapping: boolean | null | undefined;
|
|
52
56
|
showWholeOption: boolean | undefined;
|
|
53
|
-
dynamicOptionInfo: import("
|
|
57
|
+
dynamicOptionInfo: import("../../../components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
|
|
54
58
|
classifyStr: string | undefined;
|
|
55
59
|
linkageFieldKeys: string[];
|
|
56
60
|
};
|
|
57
61
|
rangeFilter: boolean | undefined;
|
|
58
62
|
unit: any;
|
|
59
63
|
isAccurateSearchVal: boolean;
|
|
60
|
-
_extendData: import("
|
|
64
|
+
_extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType;
|
|
61
65
|
title: string;
|
|
62
66
|
alias: string | undefined;
|
|
63
67
|
isShowSearch: number;
|
|
@@ -92,6 +96,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
96
|
type: ObjectConstructor;
|
|
93
97
|
default: () => {};
|
|
94
98
|
};
|
|
99
|
+
isShowTitle: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
95
103
|
}>> & {
|
|
96
104
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
97
105
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -141,6 +149,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
149
|
filterChangeFnList: import("vue").Ref<any[]>;
|
|
142
150
|
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
143
151
|
showResetBtn: import("vue").ComputedRef<boolean>;
|
|
152
|
+
handleName: (item: ISearchType, key?: string) => any;
|
|
144
153
|
initOutSearchFieldList: () => void;
|
|
145
154
|
isShowSetting: (v: string) => boolean;
|
|
146
155
|
foldQuickSearch: () => void;
|
|
@@ -220,6 +229,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
229
|
type: ObjectConstructor;
|
|
221
230
|
default: () => {};
|
|
222
231
|
};
|
|
232
|
+
isShowTitle: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
223
236
|
}>> & {
|
|
224
237
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
225
238
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -230,5 +243,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
243
|
searchFieldList: IApiServerType[];
|
|
231
244
|
qqConObjCount: number;
|
|
232
245
|
appendValueConfig: Record<string, any>;
|
|
246
|
+
isShowTitle: boolean;
|
|
233
247
|
}>;
|
|
234
248
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,provide as
|
|
1
|
+
import{defineComponent as e,ref as t,provide as i,computed as a,watch as l,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as c,unref as u,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as h,Fragment as p,renderList as v}from"vue";import g from"../../table-filter/src/components/render-widget/index.vue.js";import b from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as S}from"naive-ui";import{Search as j}from"@vicons/ionicons5";import{isObject as A,cloneDeep as O}from"lodash-es";import{InjectionFilterApiConfig as x,InjectionFilterSearchConfig as F}from"../../table-filter/src/constants/index.js";const q={class:"base-search-block"},R={class:"base-container"},V={class:"bease-left"},w={class:"base-ul"},Q={key:0,class:"baseli showQuickBtn"},N=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),_={key:0,class:"qqConObjCount"},E={class:"base-row"},B={key:0,class:"title"},I={class:"baseli"},P={key:1,class:"baseli"},L={key:2,class:"baseli"},U=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var D=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object},appendValueConfig:{type:Object,default:()=>({})},isShowTitle:{type:Boolean,default:!1}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:D,emit:T}){const W=e,{outQuickSearchFn:$}=b(),{isRender:z,getRenderSearchConObj:M,isExistDefValByRenderWidget:G,resetRenderWidgetValue:H}=C(),{transformData:J,transformParams:K}=y(),X=t([]),Y=t(!1),Z=t([]),ee=t([]);i(x,W.filterApiConfig),i(F,Z);const te=a((()=>le("hideQuickSearch"))),ie=a((()=>le("hideResetBtn")));function ae(e,t="name"){return e.alias||e[t]}function le(e){return 0==W.showSettings[e]}function ne(){T("foldQuickSearch",!0)}function re(e={}){const t=se()||[];!function(e,t,i=!1,a={}){let l=[];Z.value.length>0&&(l=O(Z.value));T("onFilterSearch",e,t,i,l,a)}(t,K(t),!0,e)}function se(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let i=0;i<e.length;i++){let a=e[i];const l=M(a);l&&t.push(l)}return t.filter((e=>e.value||Object.keys(e).includes("isAccurateSearch")))}(Z.value)}function oe(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{H(e)})),$.handlerInitSearchItem(e)}(Z.value),T("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>W.searchFieldList),(e=>{e&&e.length>0&&function(){Z.value=[];let e=O(J(W.searchFieldList,{_filterApiConfig:W.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));Z.value=e,$.handlerInitSearchItem(Z.value),Z.value.some((e=>z(e)?G(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>W.qqConObjCount),(e=>{const t=X.value.length||0;Y.value=t+Number(e)>0&&ie.value}),{immediate:!0}),l((()=>Z),(()=>{X.value=se()||[];const e=K(X.value);Y.value=X.value.length+Number(W.qqConObjCount)>0&&ie.value,T("getFilterParam",X.value,e),ee.value.forEach((t=>t(e)))}),{immediate:!0,deep:!0}),l((()=>W.appendValueConfig),(e=>{if(A(e)&&Object.keys(e).length>0){const t=Object.keys(e);Z.value.forEach((i=>{t.includes(i.columnName)&&(i.value=e[i.columnName])}))}}),{immediate:!0,deep:!0}),D({handleReset:oe,getFilterParams:function(){const e=se()||[];return K(e)},setFilterParams:function(e){const t=e?Object.keys(e):[];t.length>0&&Z.value.forEach((i=>{var a;if(z(i)&&t.includes(i.columnName)){const t=e[i.columnName];i.value=Array.isArray(t)&&!1===(null==(a=i.widgetCfg)?void 0:a.multiple)?t[0]:t}}))},getOriginalConfig:function(){return W.searchFieldList},onFilterChange:function(e){ee.value.push(e)}}),(t,i)=>(n(),r("div",q,[s("div",R,[s("div",V,[s("ul",w,[o(" 筛选分类插槽 "),c(t.$slots,"classification"),u(te)?(n(),r("li",Q,[f(u(k),{class:"search-default",type:"default",onClick:ne},{default:d((()=>[N,m(" 筛选"),e.qqConObjCount?(n(),r("span",_,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(Z.value,(t=>(n(),r(p,null,[t.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:t._frontId},[s("div",E,[e.isShowTitle&&ae(t,"title")?(n(),r("span",B,h(ae(t,"title"))+":",1)):o("v-if",!0),f(g,{cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,isAccurate:t.isAccurateSearchVal,"onUpdate:isAccurate":e=>t.isAccurateSearchVal=e,onOutFilterChange:re},null,8,["cfg","modelValue","onUpdate:modelValue","isAccurate","onUpdate:isAccurate"])])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),s("div",I,[o(" 业务组件插槽 "),c(t.$slots,"modules")]),o(" 查询按钮 "),Z.value&&Z.value.length>0?(n(),r("li",P,[f(u(k),{type:"primary",onClick:re},{default:d((()=>[f(u(S),{component:u(j),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),Y.value?(n(),r("li",L,[f(u(k),{onClick:oe},{default:d((()=>[U,m(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),c(t.$slots,"buttons")])])])]))}});export{D as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
1
|
+
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .base-row{align-items:center;display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .base-row .title{padding-left:4px;white-space:nowrap}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
data: {
|
|
4
4
|
type: ArrayConstructor;
|
|
@@ -9,7 +9,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9
9
|
default: number;
|
|
10
10
|
};
|
|
11
11
|
annotation: {
|
|
12
|
-
type: import("vue").PropType<import("
|
|
12
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
13
13
|
};
|
|
14
14
|
showFooter: BooleanConstructor;
|
|
15
15
|
sumData: {
|
|
@@ -199,11 +199,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
199
199
|
resetInlineBatchEdit: FunctionConstructor;
|
|
200
200
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
201
201
|
anchor: {
|
|
202
|
-
type: import("vue").PropType<import("
|
|
202
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
203
203
|
default: () => never[];
|
|
204
204
|
};
|
|
205
205
|
totalList: {
|
|
206
|
-
type: import("vue").PropType<import("
|
|
206
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
207
207
|
default: () => never[];
|
|
208
208
|
};
|
|
209
209
|
}, {
|
|
@@ -282,7 +282,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
282
282
|
default: number;
|
|
283
283
|
};
|
|
284
284
|
annotation: {
|
|
285
|
-
type: import("vue").PropType<import("
|
|
285
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
286
286
|
};
|
|
287
287
|
showFooter: BooleanConstructor;
|
|
288
288
|
sumData: {
|
|
@@ -472,17 +472,17 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
472
472
|
resetInlineBatchEdit: FunctionConstructor;
|
|
473
473
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
474
474
|
anchor: {
|
|
475
|
-
type: import("vue").PropType<import("
|
|
475
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
476
476
|
default: () => never[];
|
|
477
477
|
};
|
|
478
478
|
totalList: {
|
|
479
|
-
type: import("vue").PropType<import("
|
|
479
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
480
480
|
default: () => never[];
|
|
481
481
|
};
|
|
482
482
|
}>> & {
|
|
483
483
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
484
484
|
}>>;
|
|
485
|
-
attr: import("
|
|
485
|
+
attr: import("../../shared/types").AnyObject;
|
|
486
486
|
formatData: (data?: {
|
|
487
487
|
tableList: any[];
|
|
488
488
|
fieldList: any[];
|
|
@@ -566,14 +566,14 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
566
566
|
unBindDocumentClick: () => void;
|
|
567
567
|
removeInsert: () => Promise<false | undefined>;
|
|
568
568
|
loadColumn: (config: any) => void;
|
|
569
|
-
separate: (data: import("
|
|
569
|
+
separate: (data: import("../../shared/types").AnyObject[], rawData: import("../../shared/types").AnyObject[]) => Promise<import("../../shared/types").AnyObject[]>;
|
|
570
570
|
onColumnResize: import("vxe-table").VxeTableEvents.ResizableChange;
|
|
571
571
|
separateHandle: import("./src/hooks").SeparateHandle;
|
|
572
|
-
separateDataMap: import("vue").Ref<WeakMap<import("
|
|
572
|
+
separateDataMap: import("vue").Ref<WeakMap<import("../../shared/types").AnyObject, {
|
|
573
573
|
separateData: Record<string, string>;
|
|
574
574
|
index: number;
|
|
575
|
-
rawRow: import("
|
|
576
|
-
row: import("
|
|
575
|
+
rawRow: import("../../shared/types").AnyObject;
|
|
576
|
+
row: import("../../shared/types").AnyObject;
|
|
577
577
|
colspans?: Record<string, number> | undefined;
|
|
578
578
|
}>>;
|
|
579
579
|
onResizableChange: import("vxe-table").VxeTableEvents.ResizableChange;
|
|
@@ -582,11 +582,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
582
582
|
setCurrentPageRowChecked: () => void;
|
|
583
583
|
setCurrentCheckedLength: () => void;
|
|
584
584
|
formatColumns: (map: any) => any[];
|
|
585
|
-
getRowData: (row: import("
|
|
585
|
+
getRowData: (row: import("../../shared/types").AnyObject) => {
|
|
586
586
|
separateData: Record<string, string>;
|
|
587
587
|
index: number;
|
|
588
|
-
rawRow: import("
|
|
589
|
-
row: import("
|
|
588
|
+
rawRow: import("../../shared/types").AnyObject;
|
|
589
|
+
row: import("../../shared/types").AnyObject;
|
|
590
590
|
colspans?: Record<string, number> | undefined;
|
|
591
591
|
} | undefined;
|
|
592
592
|
formatterEdit: (params: any, col: any) => any;
|
|
@@ -600,7 +600,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
600
600
|
handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
|
|
601
601
|
handleFilterClearAll: (columnName: string) => false | undefined;
|
|
602
602
|
handleCancelFilter: () => void;
|
|
603
|
-
mergeQuickSearchConfig: (filterFields: Record<string, import("
|
|
603
|
+
mergeQuickSearchConfig: (filterFields: Record<string, import("../../shared/types").AnyObject>, props: import("../../shared/types").AnyObject) => void;
|
|
604
604
|
handleFilter: (field: any) => void;
|
|
605
605
|
onmousedownFunc: (e: any) => void;
|
|
606
606
|
maskInsert: () => void;
|
|
@@ -609,7 +609,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
609
609
|
maskUp: (e: any) => void;
|
|
610
610
|
setGroupTreeExpand: () => void;
|
|
611
611
|
resetTableInlineEditStatus: () => false | undefined;
|
|
612
|
-
renderAnnotation: (columnConfig: import("
|
|
612
|
+
renderAnnotation: (columnConfig: import("../../shared/types").AnyObject) => JSX.Element | null;
|
|
613
613
|
toolTipTitle: (item: any, type?: any) => (() => any) | (JSX.Element | null)[];
|
|
614
614
|
triggerExpand: (e: any, isExpand: any) => void;
|
|
615
615
|
getOtherConfigInit: () => any;
|
|
@@ -814,7 +814,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
814
814
|
default: number;
|
|
815
815
|
};
|
|
816
816
|
annotation: {
|
|
817
|
-
type: import("vue").PropType<import("
|
|
817
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
818
818
|
};
|
|
819
819
|
showFooter: BooleanConstructor;
|
|
820
820
|
sumData: {
|
|
@@ -1004,17 +1004,17 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1004
1004
|
resetInlineBatchEdit: FunctionConstructor;
|
|
1005
1005
|
resetBatchEditRowStatus: FunctionConstructor;
|
|
1006
1006
|
anchor: {
|
|
1007
|
-
type: import("vue").PropType<import("
|
|
1007
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1008
1008
|
default: () => never[];
|
|
1009
1009
|
};
|
|
1010
1010
|
totalList: {
|
|
1011
|
-
type: import("vue").PropType<import("
|
|
1011
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1012
1012
|
default: () => never[];
|
|
1013
1013
|
};
|
|
1014
1014
|
}>> & {
|
|
1015
1015
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
1016
1016
|
}, {
|
|
1017
|
-
anchor: import("
|
|
1017
|
+
anchor: import("../../shared/types").AnyObject[];
|
|
1018
1018
|
data: unknown[];
|
|
1019
1019
|
showFooter: boolean;
|
|
1020
1020
|
columnConfig: Record<string, any>;
|
|
@@ -1071,6 +1071,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1071
1071
|
batchEditDoneNumber: Record<string, any>;
|
|
1072
1072
|
batchError: boolean;
|
|
1073
1073
|
batchFormData: Record<string, any>;
|
|
1074
|
-
totalList: import("
|
|
1074
|
+
totalList: import("../../shared/types").AnyObject[];
|
|
1075
1075
|
}>>;
|
|
1076
1076
|
export default BigTable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
2
|
import { VxeTablePropTypes } from 'vxe-table/types/table';
|
|
3
3
|
import { VxeTableEvents } from 'vxe-table';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -788,7 +788,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
788
788
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
789
789
|
}>;
|
|
790
790
|
NIcon: any;
|
|
791
|
-
CGrid: import("
|
|
791
|
+
CGrid: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
792
792
|
checkMethod: ({ row }: {
|
|
793
793
|
row: any;
|
|
794
794
|
}) => boolean;
|