cnhis-design-vue 3.1.55-beta.2 → 3.1.55-beta.21
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 +1 -1
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +1 -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 +7 -3
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +1 -1
- package/es/components/base-search/src/index.vue.d.ts +4 -4
- package/es/components/base-search/src/index.vue2.js +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/ButtonPrint.vue2.js +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 +2 -2
- 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 +61 -162
- 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 +20 -20
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +13 -13
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
- package/es/components/classification/src/index.vue.d.ts +13 -13
- 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/constants/index.d.ts +4 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
- 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 +5 -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/surgicalAnesthesia/useCenter.d.ts +3 -3
- 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/useSurgicalAnesthesiaChart.d.ts +3 -3
- 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/useTop.d.ts +2 -2
- 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 +280 -475
- package/es/components/form-config/src/FormConfig.vue.d.ts +406 -601
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +27 -128
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +193 -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 +60 -161
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +25 -127
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +83 -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/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +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 +2 -2
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +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/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +5 -6
- 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/useAnchor.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +19 -19
- package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
- 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 +5 -5
- 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 +16 -12
- 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/useFormValidator.js +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/usePresetScope.js +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 +15 -15
- 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 +4 -18
- package/es/components/form-render/src/utils/index.js +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/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/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/index.js +1 -1
- package/es/components/info-header/index.d.ts +175 -377
- package/es/components/info-header/src/InfoHeader.vue.d.ts +191 -393
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +9 -9
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +106 -207
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +28 -129
- 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 +25 -25
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +7 -7
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +2 -2
- 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 +76 -176
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +109 -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/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 +2 -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 +4 -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 +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -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 +13 -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 +1 -0
- 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 +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,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
2
|
-
import { ShortcutSignatureInfo } from '
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
|
+
import { ShortcutSignatureInfo } from '../../../components/shortcut-provider';
|
|
3
3
|
declare enum ShortcutInputState {
|
|
4
4
|
STATIC = 0,
|
|
5
5
|
EDIT = 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShortcutSignatureInfo } from '
|
|
1
|
+
import { ShortcutSignatureInfo } from '../../../../components/shortcut-provider';
|
|
2
2
|
export interface ShortcutSetterExpose {
|
|
3
3
|
loadSignature(): void;
|
|
4
4
|
getSignature(): Record<string, ShortcutSignatureInfo>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
visible: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -148,7 +148,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
148
148
|
isSelectAll: import("vue").Ref<boolean>;
|
|
149
149
|
isIndeterminate: import("vue").Ref<boolean>;
|
|
150
150
|
fieldCheckList: import("vue").Ref<any[]>;
|
|
151
|
-
exportApiConfig: import("
|
|
151
|
+
exportApiConfig: import("../../shared/types").AnyObject;
|
|
152
152
|
curSchemeId: import("vue").ComputedRef<string>;
|
|
153
153
|
dragEnd: () => void;
|
|
154
154
|
deleteExportSchemeItem: (schemeId: string) => Promise<import("naive-ui").MessageReactive | undefined>;
|
|
@@ -401,7 +401,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
401
401
|
};
|
|
402
402
|
selectProject: import("vue").Ref<any>;
|
|
403
403
|
projectList: import("vue").Ref<any[]>;
|
|
404
|
-
exportApiConfig: import("
|
|
404
|
+
exportApiConfig: import("../../shared/types").AnyObject;
|
|
405
405
|
handleRadioChange: (value: string | number | boolean) => void;
|
|
406
406
|
validateProjectName: () => boolean;
|
|
407
407
|
getParams: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IExportSchemeType } from '
|
|
2
|
+
import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
visible: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IExportSchemeType } from '
|
|
2
|
+
import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
visible: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IExportSchemeType } from '
|
|
2
|
+
import { IExportSchemeType } from '../../../components/table-export-field/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
visible: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { ISearchConfigType } from '
|
|
2
|
+
import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
|
|
3
3
|
export declare const useBiConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
|
|
4
4
|
State: any;
|
|
5
5
|
paramOptions: import("vue").ComputedRef<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IClassifyListType, ICategoryItemType } from '
|
|
2
|
+
import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
actionList_prop: {
|
|
5
5
|
type: PropType<IClassifyListType>;
|
|
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
updateKey: (index: number, val: any) => void;
|
|
95
95
|
updateCondition: (index: number, val: any) => void;
|
|
96
96
|
getParamCfg: (key: string) => any;
|
|
97
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
97
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
|
|
98
98
|
getRawFilterConditions: () => any;
|
|
99
99
|
isShowValueCfg: (con: string) => boolean;
|
|
100
100
|
handleEditDisplayCategory: (item: ICategoryItemType) => void;
|
package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { ICategoryItemType } from '
|
|
2
|
+
import { ICategoryItemType } from '../../../../../../components/table-filter/src/types';
|
|
3
3
|
export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { conditionList }: any, $message: any) => {
|
|
4
4
|
State: {
|
|
5
5
|
addDisplayCategory: string;
|
package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { ISearchConfigType } from '
|
|
2
|
+
import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
|
|
3
3
|
export declare const useFilterConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
|
|
4
4
|
State: any;
|
|
5
5
|
paramOptions: import("vue").ComputedRef<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IClassifyListType, ICategoryItemType } from '
|
|
2
|
+
import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
actionList_prop: {
|
|
5
5
|
type: PropType<IClassifyListType>;
|
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
updateKey: (index: number, val: any) => void;
|
|
102
102
|
updateCondition: (index: number, val: any) => void;
|
|
103
103
|
getParamCfg: (key: string) => any;
|
|
104
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
104
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
|
105
105
|
getRawFilterConditions: () => any[];
|
|
106
106
|
handleEditDisplayCategory: (item: ICategoryItemType) => void;
|
|
107
107
|
handleDisplayCategoryAddState: () => void;
|
package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ICheckboxType } from '
|
|
2
|
+
import { ICheckboxType } from '../../../../../../components/table-filter/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
options: {
|
|
5
5
|
type: PropType<ICheckboxType[]>;
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
3
3
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
|
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
};
|
|
84
84
|
init: () => void;
|
|
85
85
|
NButton: any;
|
|
86
|
-
CDatePicker: import("
|
|
86
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
87
87
|
updateUnchangedValue: {
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
3
3
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
67
67
|
};
|
|
68
68
|
init: () => void;
|
|
69
|
-
CDatePicker: import("
|
|
69
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
70
70
|
updateUnchangedValue: {
|
|
71
71
|
type: BooleanConstructor;
|
|
72
72
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../../shared/types';
|
|
3
3
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
3
3
|
declare type ITypeDate = 'date' | 'datetime';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
};
|
|
102
102
|
init: () => void;
|
|
103
103
|
NButton: any;
|
|
104
|
-
CDatePicker: import("
|
|
104
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
105
105
|
updateUnchangedValue: {
|
|
106
106
|
type: BooleanConstructor;
|
|
107
107
|
};
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
3
3
|
declare type ITypeDate = 'daterange' | 'datetimerange';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
type: {
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
69
69
|
};
|
|
70
70
|
init: () => void;
|
|
71
|
-
CDatePicker: import("
|
|
71
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
72
72
|
updateUnchangedValue: {
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
};
|
package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '
|
|
3
|
-
import { AnyObject } from '
|
|
2
|
+
import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '../../../../../../components/table-filter/src/types';
|
|
3
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
|
6
6
|
type: PropType<AnyObject>;
|
package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { SelectOption } from 'naive-ui';
|
|
3
|
-
import { AnyObject } from '
|
|
3
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
componentCfg: {
|
|
6
6
|
type: PropType<AnyObject>;
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
}, {
|
|
9
9
|
message: import("naive-ui").MessageApi;
|
|
10
|
+
tableType: {
|
|
11
|
+
SQL: string;
|
|
12
|
+
API: string;
|
|
13
|
+
};
|
|
10
14
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
15
|
value: {
|
|
12
16
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as n,nextTick as u,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as c,withCtx as v,createVNode as p,h as f}from"vue";import{useMessage as
|
|
1
|
+
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as n,nextTick as u,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as c,withCtx as v,createVNode as p,h as f}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as S}from"../helpers/selectExtraMap.js";import{WidgetValEnums as O}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import C from"./SelectDynamicOption/index.vue.js";import{isEqual as k,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const N=e,P=d(),D="SQL",x="API",{getDynamicSelectData:I}=h(),J=a(),E=l(!1),K=t(b),T=t(j),$=l(1),U=l(),W=l([JSON.parse(JSON.stringify(S))]),M=l([]),_=l(),F=l(0),H={class:"select-dynamic-popover"},Q=n((()=>J.multiple)),V=n((()=>{const{widgetCfg:e}=N.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=n((()=>{const{widgetCfg:e}=N.componentCfg,{showWholeOption:a=!1}=e;return a&&1===$.value})),z=n((()=>F.value>0&&$.value>=F.value)),B=n((()=>{var e;if(Array.isArray(N.value)&&N.value.length>0){const e=N.value;if(R(e),!Q.value&&1==e.length){const a=W.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=W.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return R([]),null!=(e=N.value)?e:null})),G=n((()=>{if(Object.keys(V.value).length>0){const{defaultParams:e=[]}=V.value;return w(e)&&!N.value}return!1}));function R(e){W.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function X(e){const{widgetCfg:a}=N.componentCfg,{linkageFieldKeys:l=[]}=a;k(N.value,e)||(l.forEach((e=>{const a=T.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("update:value",e))}async function Y(e){$.value=e,await Z(_.value,$.value)}async function Z(e,a){try{if(Object.keys(V.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:n,filterKeys:u,defaultParams:o=[],showKeys:i,valueKey:s,tableDataType:r}=V.value;let c={wordbookId:t,autograph:l,wordbookType:n,fieldKeys:u,page:a};switch(r){case D:c.keyword=e;break;case x:u.length>0&&(c[u[0]]=e)}E.value=!0;if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=T.value.find((a=>a.columnName===e));a&&a.value&&a.value!==O.WHOLE&&(c[e]=a.value)}))}let v=await I(c,K);if(v){const{fieldList:e=[],rows:a=[],total:l=0}=v.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),n=A(t);q.value&&t.unshift(JSON.parse(JSON.stringify(S))),U.value=null!=e?e:[],W.value=null!=t?t:[],M.value=n,F.value=l}}}catch(e){P.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{E.value=!1}}const ee=g((async e=>{await async function(e){_.value=e.trim(),$.value=1,await Z(_.value,$.value)}(e)}),300);async function ae(){Object.keys(V.value).length>0&&K&&await Z("",$.value)}async function le(){L("update:value",null),await ae()}function te(e){e&&ae()}function ne({option:e,handleClose:a}){if(Q.value){const l=e.value;return f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(N.value)&&N.value.length>0){const e=N.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);L("update:value",l.length>0?l:null)}}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return u((()=>{G.value||ae()})),(e,a)=>(o(),i(s(m),r(s(J),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>c(B)?B.value=e:null),remote:"",loading:E.value,"render-tag":ne,"menu-props":H,onSearch:s(ee),onClear:le,"onUpdate:show":te}),{empty:v((()=>[p(C,r(s(J),{dynamicOptionInfo:s(V),fieldTitleList:U.value,optionList:W.value,isMultiple:s(Q),curPage:$.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:X,onUpdatePage:Y}),null,16,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{L as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../../../../../shared/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
dynamicOptionInfo: {
|
|
5
5
|
type: PropType<AnyObject>;
|
|
@@ -1216,6 +1216,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1216
1216
|
};
|
|
1217
1217
|
}, {
|
|
1218
1218
|
message: import("naive-ui").MessageApi;
|
|
1219
|
+
tableType: {
|
|
1220
|
+
SQL: string;
|
|
1221
|
+
API: string;
|
|
1222
|
+
};
|
|
1219
1223
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1220
1224
|
value: {
|
|
1221
1225
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchType } from '
|
|
1
|
+
import { ISearchType } from '../../../../../../components/table-filter/src/types';
|
|
2
2
|
export declare const judgmentVariable: (defaultParams: any[]) => boolean;
|
|
3
3
|
export declare const setSelectDynamicValue: (cfg: ISearchType) => Promise<any[] | null>;
|
|
4
4
|
export declare const selectDynamicDefaultValue: (defValueUnit: string, options: any[]) => any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { funcVoid } from '
|
|
1
|
+
import { funcVoid } from '../../../../../components/table-filter/src/types';
|
|
2
2
|
export declare const WidgetCfgMaps: Map<string, {
|
|
3
3
|
component: any;
|
|
4
4
|
props: {
|
|
@@ -154,6 +154,10 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
154
154
|
};
|
|
155
155
|
}, {
|
|
156
156
|
message: import("naive-ui").MessageApi;
|
|
157
|
+
tableType: {
|
|
158
|
+
SQL: string;
|
|
159
|
+
API: string;
|
|
160
|
+
};
|
|
157
161
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
158
162
|
value: {
|
|
159
163
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1344,7 +1348,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1344
1348
|
} | {
|
|
1345
1349
|
component: import("vue").DefineComponent<{
|
|
1346
1350
|
options: {
|
|
1347
|
-
type: import("vue").PropType<import("
|
|
1351
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1348
1352
|
};
|
|
1349
1353
|
value: {
|
|
1350
1354
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1357,7 +1361,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1357
1361
|
}, {
|
|
1358
1362
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1359
1363
|
options: {
|
|
1360
|
-
type: import("vue").PropType<import("
|
|
1364
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1361
1365
|
};
|
|
1362
1366
|
value: {
|
|
1363
1367
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1427,7 +1431,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1427
1431
|
NCheckbox: any;
|
|
1428
1432
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1429
1433
|
options: {
|
|
1430
|
-
type: import("vue").PropType<import("
|
|
1434
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1431
1435
|
};
|
|
1432
1436
|
value: {
|
|
1433
1437
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1486,17 +1490,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1486
1490
|
selectedList: import("vue").Ref<string[]>;
|
|
1487
1491
|
tagList: import("vue").Ref<never[]>;
|
|
1488
1492
|
filterApiConfig: import("../../../..").AnyObject;
|
|
1489
|
-
categoryList: import("vue").ComputedRef<import("
|
|
1490
|
-
onResize: (el: HTMLElement, categoryItem: import("
|
|
1491
|
-
handleLabelUpfold: (categoryItem: import("
|
|
1492
|
-
formatStyle: (item: import("
|
|
1493
|
+
categoryList: import("vue").ComputedRef<import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
|
|
1494
|
+
onResize: (el: HTMLElement, categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
|
|
1495
|
+
handleLabelUpfold: (categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
|
|
1496
|
+
formatStyle: (item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => {
|
|
1493
1497
|
background: string;
|
|
1494
1498
|
borderColor: string;
|
|
1495
1499
|
} | {
|
|
1496
1500
|
background?: undefined;
|
|
1497
1501
|
borderColor?: undefined;
|
|
1498
1502
|
};
|
|
1499
|
-
handleLabelChange: (isSelect: boolean, item: import("
|
|
1503
|
+
handleLabelChange: (isSelect: boolean, item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
|
|
1500
1504
|
initTagList: () => Promise<void>;
|
|
1501
1505
|
NTag: any;
|
|
1502
1506
|
NTooltip: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
import { InjectionKey, Ref } from 'vue';
|
|
3
3
|
export declare const InjectionFilterApiConfig: InjectionKey<AnyObject>;
|
|
4
4
|
export declare const InjectionFilterSearchConfig: InjectionKey<Ref<AnyObject[]>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiServerType, ISearchType, IExtendConfigurationType } from '
|
|
1
|
+
import { IApiServerType, ISearchType, IExtendConfigurationType } from '../../../../components/table-filter/src/types';
|
|
2
2
|
export default function useAdvanced(): {
|
|
3
3
|
transformData: (advancedFilterData: IApiServerType[], extendData: IExtendConfigurationType) => {
|
|
4
4
|
fieldType: string;
|
|
@@ -19,7 +19,7 @@ export default function useAdvanced(): {
|
|
|
19
19
|
multiple: boolean;
|
|
20
20
|
manualMapping: boolean | null | undefined;
|
|
21
21
|
showWholeOption: boolean | undefined;
|
|
22
|
-
dynamicOptionInfo: import("
|
|
22
|
+
dynamicOptionInfo: import("../../../../components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
|
|
23
23
|
classifyStr: string | undefined;
|
|
24
24
|
linkageFieldKeys: string[];
|
|
25
25
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchType } from '
|
|
1
|
+
import { ISearchType } from '../../../../components/table-filter/src/types';
|
|
2
2
|
export default function (): {
|
|
3
3
|
filterApiConfig: import("vue").Ref<{}>;
|
|
4
4
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISearchType, ISearchConfigType } from '
|
|
1
|
+
import { ISearchType, ISearchConfigType } from '../../../../components/table-filter/src/types';
|
|
2
2
|
export default function (): {
|
|
3
3
|
isRender: (cfg: ISearchType) => any;
|
|
4
4
|
getDefValByRenderWidget: (cfg: ISearchType) => Promise<any>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
3
3
|
attrs: {
|
|
4
4
|
[x: string]: unknown;
|
|
5
5
|
};
|
|
6
|
-
timePickerRef: import("vue").Ref<import("
|
|
6
|
+
timePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
7
7
|
formatRef: import("vue").ComputedRef<string>;
|
|
8
8
|
focus: () => any;
|
|
9
9
|
blur: () => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, AnyFn } from '
|
|
1
|
+
import { AnyObject, AnyFn } from '../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
value: {
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: StringConstructor;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
33
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
value: {
|
|
35
35
|
type: (NumberConstructor | StringConstructor)[];
|
|
36
36
|
};
|
|
@@ -60,7 +60,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
type: StringConstructor;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
|
-
}
|
|
63
|
+
}>> & {
|
|
64
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}, {
|
|
64
66
|
onChange: AnyFn<any[], any>;
|
|
65
67
|
slashSymbol: string;
|
|
66
68
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as
|
|
1
|
+
import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as c,NDropdown as p}from"naive-ui";import"../../../components/form-render/index.js";import{createInputSlot as m}from"../../../components/form-render/src/utils/index.js";var f=e({props:{value:{type:[Number,String]},onChange:{type:Function,default:()=>({})},prefix:{type:[String,Function,Object]},suffix:{type:[String,Function,Object]},precision:{type:Number},whiteList:{type:Array},inputProps:{type:Object},popperProps:{type:Object},slashSymbol:{type:String,default:"/"}},emits:["select"],setup(e,{emit:f}){const d=m(e),h=l((()=>s(e.whiteList)?e.whiteList.reduce(((e,l)=>(i(l)&&e.push({label:l,value:l}),e)),[]):[]));const b=t(),g=l({get:()=>b.value,set:l=>r(l)?b.value=l+"":i(l)?l.endsWith(e.slashSymbol)?b.value=e.slashSymbol:void(b.value=h.value.some((e=>e.label!==l&&e.label.includes(l)))?"":l):void 0});function y(e=-1){const l=r(+e)&&e>=0?+e:null;return new RegExp(`^-?(0|[1-9][0-9]*)?${0===l?"":`(\\.[0-9]${r(l)?`{0,${l}}`:"*"})?`}$`)}u((()=>e.value),(e=>g.value=e),{immediate:!0});const S=y();function j(){if(g.value===e.slashSymbol||function(e,l=!1){return h.value.length&&h.value.some((({value:t})=>l?t.includes(e):t===e))}(g.value))e.onChange(g.value);else if(i(g.value)&&"-"!==g.value)if(S.test(g.value)){const l=g.value.endsWith(".")?g.value.slice(0,-1):g.value;e.onChange(g.value=l)}else g.value=e.value;else g.value=e.value}const w=t(!1),x=t();function $(){w.value=!0}function C(e){var l;if(!e.target)return;const t=e.target;(null==(l=x.value)?void 0:l.$el)&&a(t,(e=>e===x.value.$el))||(w.value=!1)}function F(e,l){var t,u;v(l)&&(g.value=l.value,null==(u=null==(t=x.value)?void 0:t.focus)||u.call(t),f("select",l))}const O=l((()=>y(e.precision)));function P(l){return!(null!=l&&""!==l&&l!==e.slashSymbol&&i(l)&&!l.endsWith(e.slashSymbol))||(!(!h.value.length||!h.value.some((e=>e.label.includes(l))))||O.value.test(l)&&"-."!==l&&!l.startsWith("."))}return()=>{const l=n(c,o({ref:x,value:g.value,"onUpdate:value":e=>g.value=e,"allow-input":P,onBlur:j,onClick:$,onFocus:$},e.inputProps),d.value);return h.value.length?n(p,o({onSelect:F,options:h.value,show:w.value,width:"trigger",onClickoutside:C},e.popperProps),{default:()=>l}):l}}});export{f as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
2
|
export declare const searchContentMatcher: (searchContent: string, label: string) => RegExpMatchArray | null;
|
|
3
3
|
export declare function useSearchContent(): {
|
|
4
4
|
searchContent: import("vue").Ref<string | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{keywordMatcher as
|
|
1
|
+
import{keywordMatcher as t}from"../../utils/index.js";import{useMemoize as e}from"@vueuse/core";import{identity as r,isArray as n,isString as o,overSome as u,isNumber as i}from"lodash-es";import{ref as c}from"vue";const s=(()=>{const t=e((t=>new RegExp(`(.*)${t.split("").map((t=>`(${function(t){return t.match(/[()\[\]{}$^\/]/)?"\\"+t:t}(t)})`)).join("(.*)")}(.*)`)),{getKey:r});return(e,r)=>r.match(t(e))})();function l(){const e=c();return{searchContent:e,optionSearchFilter:function(r,c,l){if(!e.value)return r;const f=n(l)?l.filter((t=>t&&o(t))):[];return r.filter((r=>function(r,n,c){if(!e.value)return!0;const l=r?r[n]:"";return!!o(l)&&(!!s(e.value,l)||!!t(e.value,r.keyword)||!!c.length&&c.some((t=>u([i,o])(r[t])&&String(r[t]).includes(e.value))))}(r,c,f)))}}}export{s as searchContentMatcher,l as useSearchContent};
|