cnhis-design-vue 3.1.55-release.1 → 3.1.56-beta.7
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 +40 -42
- 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 +10 -21
- package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
- package/es/components/classification/src/index.vue.d.ts +33 -35
- package/es/components/classification/src/index.vue2.js +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 +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 +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
|
@@ -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)[];
|
|
@@ -1231,6 +1235,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1231
1235
|
[x: string]: unknown;
|
|
1232
1236
|
};
|
|
1233
1237
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
1238
|
+
selectDynamicRef: any;
|
|
1234
1239
|
isLoading: import("vue").Ref<boolean>;
|
|
1235
1240
|
filterApiConfig: import("../../../../..").AnyObject;
|
|
1236
1241
|
searchFilterList: import("vue").Ref<import("../../../../..").AnyObject[]>;
|
|
@@ -1296,6 +1301,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1296
1301
|
type: BooleanConstructor;
|
|
1297
1302
|
default: boolean;
|
|
1298
1303
|
};
|
|
1304
|
+
loading: {
|
|
1305
|
+
type: BooleanConstructor;
|
|
1306
|
+
default: boolean;
|
|
1307
|
+
};
|
|
1299
1308
|
}, {
|
|
1300
1309
|
selectMinWidth: number;
|
|
1301
1310
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1327,6 +1336,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1327
1336
|
type: BooleanConstructor;
|
|
1328
1337
|
default: boolean;
|
|
1329
1338
|
};
|
|
1339
|
+
loading: {
|
|
1340
|
+
type: BooleanConstructor;
|
|
1341
|
+
default: boolean;
|
|
1342
|
+
};
|
|
1330
1343
|
}>> & {
|
|
1331
1344
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1332
1345
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -1335,6 +1348,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1335
1348
|
dragEndWidth: import("vue").Ref<number>;
|
|
1336
1349
|
showKeys: import("vue").ComputedRef<any>;
|
|
1337
1350
|
titleList: import("vue").ComputedRef<string[]>;
|
|
1351
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
1338
1352
|
handleSelect: (option: any) => void;
|
|
1339
1353
|
searchByPage: (onePage: number) => void;
|
|
1340
1354
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -1410,10 +1424,15 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
|
1410
1424
|
type: BooleanConstructor;
|
|
1411
1425
|
default: boolean;
|
|
1412
1426
|
};
|
|
1427
|
+
loading: {
|
|
1428
|
+
type: BooleanConstructor;
|
|
1429
|
+
default: boolean;
|
|
1430
|
+
};
|
|
1413
1431
|
}>> & {
|
|
1414
1432
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1415
1433
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1416
1434
|
}, {
|
|
1435
|
+
loading: boolean;
|
|
1417
1436
|
dynamicOptionInfo: import("../../../../..").AnyObject;
|
|
1418
1437
|
fieldTitleList: import("../../../../..").AnyObject[];
|
|
1419
1438
|
optionList: import("../../../../..").AnyObject[];
|
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)[];
|
|
@@ -169,6 +173,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
169
173
|
[x: string]: unknown;
|
|
170
174
|
};
|
|
171
175
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
176
|
+
selectDynamicRef: any;
|
|
172
177
|
isLoading: import("vue").Ref<boolean>;
|
|
173
178
|
filterApiConfig: import("../../../..").AnyObject;
|
|
174
179
|
searchFilterList: import("vue").Ref<import("../../../..").AnyObject[]>;
|
|
@@ -234,6 +239,10 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
234
239
|
type: BooleanConstructor;
|
|
235
240
|
default: boolean;
|
|
236
241
|
};
|
|
242
|
+
loading: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
237
246
|
}, {
|
|
238
247
|
selectMinWidth: number;
|
|
239
248
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -265,6 +274,10 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
265
274
|
type: BooleanConstructor;
|
|
266
275
|
default: boolean;
|
|
267
276
|
};
|
|
277
|
+
loading: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
268
281
|
}>> & {
|
|
269
282
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
270
283
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -273,6 +286,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
273
286
|
dragEndWidth: import("vue").Ref<number>;
|
|
274
287
|
showKeys: import("vue").ComputedRef<any>;
|
|
275
288
|
titleList: import("vue").ComputedRef<string[]>;
|
|
289
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
276
290
|
handleSelect: (option: any) => void;
|
|
277
291
|
searchByPage: (onePage: number) => void;
|
|
278
292
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -348,10 +362,15 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
348
362
|
type: BooleanConstructor;
|
|
349
363
|
default: boolean;
|
|
350
364
|
};
|
|
365
|
+
loading: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
351
369
|
}>> & {
|
|
352
370
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
353
371
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
354
372
|
}, {
|
|
373
|
+
loading: boolean;
|
|
355
374
|
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
356
375
|
fieldTitleList: import("../../../..").AnyObject[];
|
|
357
376
|
optionList: import("../../../..").AnyObject[];
|
|
@@ -1344,7 +1363,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1344
1363
|
} | {
|
|
1345
1364
|
component: import("vue").DefineComponent<{
|
|
1346
1365
|
options: {
|
|
1347
|
-
type: import("vue").PropType<import("
|
|
1366
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1348
1367
|
};
|
|
1349
1368
|
value: {
|
|
1350
1369
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1357,7 +1376,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1357
1376
|
}, {
|
|
1358
1377
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1359
1378
|
options: {
|
|
1360
|
-
type: import("vue").PropType<import("
|
|
1379
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1361
1380
|
};
|
|
1362
1381
|
value: {
|
|
1363
1382
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1427,7 +1446,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1427
1446
|
NCheckbox: any;
|
|
1428
1447
|
}, 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
1448
|
options: {
|
|
1430
|
-
type: import("vue").PropType<import("
|
|
1449
|
+
type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
|
|
1431
1450
|
};
|
|
1432
1451
|
value: {
|
|
1433
1452
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
@@ -1486,17 +1505,17 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
1486
1505
|
selectedList: import("vue").Ref<string[]>;
|
|
1487
1506
|
tagList: import("vue").Ref<never[]>;
|
|
1488
1507
|
filterApiConfig: import("../../../..").AnyObject;
|
|
1489
|
-
categoryList: import("vue").ComputedRef<import("
|
|
1490
|
-
onResize: (el: HTMLElement, categoryItem: import("
|
|
1491
|
-
handleLabelUpfold: (categoryItem: import("
|
|
1492
|
-
formatStyle: (item: import("
|
|
1508
|
+
categoryList: import("vue").ComputedRef<import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
|
|
1509
|
+
onResize: (el: HTMLElement, categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
|
|
1510
|
+
handleLabelUpfold: (categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
|
|
1511
|
+
formatStyle: (item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => {
|
|
1493
1512
|
background: string;
|
|
1494
1513
|
borderColor: string;
|
|
1495
1514
|
} | {
|
|
1496
1515
|
background?: undefined;
|
|
1497
1516
|
borderColor?: undefined;
|
|
1498
1517
|
};
|
|
1499
|
-
handleLabelChange: (isSelect: boolean, item: import("
|
|
1518
|
+
handleLabelChange: (isSelect: boolean, item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
|
|
1500
1519
|
initTagList: () => Promise<void>;
|
|
1501
1520
|
NTag: any;
|
|
1502
1521
|
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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
2
|
import { SelectOption } from 'naive-ui';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
export declare function useSelectRenders(props: {
|
|
@@ -11,7 +11,7 @@ export declare function useSelectRenders(props: {
|
|
|
11
11
|
showKey: Ref<string | undefined>;
|
|
12
12
|
valueRef: Ref;
|
|
13
13
|
}): {
|
|
14
|
-
renderLabel: (option: AnyObject) =>
|
|
14
|
+
renderLabel: (option: AnyObject) => "" | JSX.Element;
|
|
15
15
|
renderSelectAll: (onSelectAll: (checked: boolean) => void) => JSX.Element[];
|
|
16
16
|
renderTag: ({ option, handleClose }: {
|
|
17
17
|
option: SelectOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ref as e,createVNode as t,createTextVNode as
|
|
1
|
+
import{ref as e,createVNode as t,createTextVNode as l}from"vue";import"../../utils/index.js";import{isString as n,isArray as r}from"lodash-es";import{NTooltip as o,NIcon as a,NButton as i,NTag as u}from"naive-ui";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import{searchContentMatcher as s}from"./useSearchContent.js";import{HelpCircleSharp as c}from"@vicons/ionicons5";function p(p,{labelKey:v,valueKey:m,showKey:d,searchContent:f,valueRef:y}){const h=e("");return{renderLabel:function(e){var l;const r=e[v.value];if(!r||!n(r))return"";const i=null!=(l=e.title)?l:r,u=f.value?s(f.value,r):null,p=u?t("section",{title:i},[u.map(((e,l)=>0!==l&&e?t("span",{style:{color:l%2==0?"var(--n-option-text-color-active)":""}},[e]):null))]):t("span",{title:i},[r]);return e.desc?t("section",{style:{display:"flex",alignItems:"center",gap:"4px"}},[p,e.desc?t(o,null,{trigger:()=>t(a,{component:c},null),default:()=>e.desc}):null]):p},renderSelectAll:function(e){return[t(i,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!0)},{default:()=>[l("全选")]}),t(i,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!1)},{default:()=>[l("清空")]})]},renderTag:function({option:e,handleClose:l}){var n;const o=null!=(n=d.value&&e[d.value])?n:e[v.value];if(!p.multiple)return h.value=o,o;h.value="";const a=r(y.value)?y.value.findIndex((t=>t===e[m.value])):-1;return p.deletable?t(u,{closable:!0,onClose:e=>{e.stopPropagation(),l()}},{default:()=>t("span",{title:o},[o])}):`${o} ${a>=0&&a===y.value.length-1?"":";"}`},titleRef:h}}export{p as useSelectRenders};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
|
-
import { AnyObject, AnyFn } from '
|
|
2
|
+
import { AnyObject, AnyFn } from '../../shared/types';
|
|
3
3
|
export declare function useDateTime(datePickerRef: Ref<AnyObject | null>, { formatRef, attrs, emit, allowedInvalidValue, isPanel }: {
|
|
4
4
|
formatRef: ComputedRef<string | [string, string]>;
|
|
5
5
|
attrs: AnyObject;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormRequestDefine } from './types';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
import { AsyncQueue, AsyncQueueDefine } from '
|
|
4
|
-
import { AnyObject, Nullable, UndefinedAble } from '
|
|
3
|
+
import { AsyncQueue, AsyncQueueDefine } from '../../../shared/hooks';
|
|
4
|
+
import { AnyObject, Nullable, UndefinedAble } from '../../../shared/types';
|
|
5
5
|
export * from './types';
|
|
6
6
|
export declare function useFormRequest(): {
|
|
7
7
|
getHttpInstance: () => Nullable<FormRequestDefine.RequestInstance>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AsyncQueue } from '
|
|
2
|
-
import { AnyObject, AnyFn } from '
|
|
1
|
+
import { AsyncQueue } from '../../../shared/hooks';
|
|
2
|
+
import { AnyObject, AnyFn } from '../../../shared/types';
|
|
3
3
|
export declare namespace FormRequestDefine {
|
|
4
4
|
type RequestType = 'post' | 'get' | 'patch' | 'delete' | 'put';
|
|
5
5
|
interface AsyncQueueItem {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormRequestDefine } from '
|
|
2
|
-
import { AnyObject, AnyFn, LowCodeTypes } from '
|
|
1
|
+
import { FormRequestDefine } from '../../shared/hooks';
|
|
2
|
+
import { AnyObject, AnyFn, LowCodeTypes } from '../../shared/types';
|
|
3
3
|
import { MaybeRef } from '@vueuse/core';
|
|
4
4
|
import { Ref } from 'vue';
|
|
5
5
|
export declare function useLevelSearchCascader(props: Partial<{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { CComponentThemeOverrides } from '
|
|
2
|
+
import { CComponentThemeOverrides } from '../../components/config-provider';
|
|
3
3
|
export declare function useTheme(defaultCssVars?: CSSProperties, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<CSSProperties>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.1.56-beta.7",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.56-beta.7",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, LowCodeTypes } from '
|
|
1
|
+
import { AnyObject, LowCodeTypes } from '../../shared/types';
|
|
2
2
|
import { MaybeRef } from '@vueuse/core';
|
|
3
3
|
export declare function isMatchLowCodeCondition(value: unknown, condition: {
|
|
4
4
|
con: LowCodeTypes.VALUE_RELATION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Path as e}from"@formily/path";import{isArray as t,isString as n,includes as r,negate as a,
|
|
1
|
+
import{Path as e}from"@formily/path";import{isArray as t,isString as n,includes as r,negate as a,isNumber as i,gt as o,gte as l,lt as c,lte as u,identity as f,noop as s,isObject as d}from"lodash-es";import{unref as p}from"vue";import{add as m,differenceInMilliseconds as F}from"date-fns";function D(e){return null==e||""==e}function N(e){return(t,r)=>(n(t)&&(t=+t),n(r)&&(r=+r),!(!i(t)||Number.isNaN(t)||!i(r)||Number.isNaN(r))&&e(t,r))}const h={EQ:(e,t)=>`${e}`===t,NEQ:(e,t)=>`${e}`!==t,CL:(e,a)=>!(!t(e)&&!n(e))&&r(e,a),NC:(e,a)=>!t(e)&&!n(e)||!r(e,a),NULL:D,NOT_NULL:a(D),BIG:N(o),BIGEQ:N(l),LESS:N(c),LESSEQ:N(u)};function E(e,t,n={}){return(n[t.con]||h[t.con]||(()=>!1))(e,`${t.value}`)}function g(e,t){if(!t||!n(t))return e.every(f);try{return new Function("return "+t.replace(/OR/g,"||").replace(/AND/g,"&&").replace(/[a-zA-Z]/g,"").replace(/\d+/g,(t=>e[+t-1]?"true":"false")))()}catch(e){return console.error("表达式错误=>",t),!1}}function A(n,r){if(!t(r.conObj))return!1;return g(r.conObj.map((t=>E(e.getIn(n,t.field_key),t,r.compareMap))),r.sqlExpression)}const b=Object.freeze({SET_VALUE:function(e,{getter:t,setter:r}){if(!d(e))return;const{results:a=[],params:i=[],compareMap:o={}}=e;if(!a.length)return;function l(e){var r;if(!n(e))return e;const a=e.trim().match(/^\$\{([a-zA-Z\d\s]+)}$/);return a?t(null==(r=a[1])?void 0:r.trim()):e}i.every((e=>e&&e.p_name&&E(t(e.p_name),{con:e.p_select,value:l(e.p_value)},o)))&&a.forEach((e=>r(e.p_name,l(e.p_value))))},REPEAT_VALIDATE:s,IS_SHOW_FIELD:s,SQLSAVE:s,API:s});function L(e){return b[e]||s}function V(e,r,a){function o(e){return t(e)&&!!e.length}function l(e,t=!0){e.forEach((e=>{if(!e.operationalResult||!t&&null!=r(e.operationalResult))return;const o=e.operationFormParam.reduce(((e,t)=>(e[t=t.replace(/^table\./,"")]=+r(t),e)),{}),l=e.operationalRule.replace(/\${(.+?)}/g,"$1");let c=new Function("table",`return ${l}`)(o);n(c)&&(c=+c),c=i(c)?isNaN(c)?"":c.toFixed(+e.operationalPrecision):"",a(e.operationalResult,c)}))}return{operationalFormHandler:function(t){if(!o(p(e)))return;const n=p(e).filter((e=>e.operationFormParam.includes(`table.${t}`)));n.length&&l(n)},triggerAllOperationalFormHandler:function(){o(p(e))&&l(p(e),!1)}}}function $(e,n,r){function a(e){return t(e)&&!!e.length}function o(e,t=!0){e.forEach((e=>{e.diffValField&&e.diffValUnit&&e.scene&&(t||null==n(e.diffValField))&&("DIFF"===e.scene?function({startDateField:e,endDateField:t,diffValField:a,diffValUnit:i,precision:o="0"}){const l=n(e),c=n(t);if(l&&c){const e=F(new Date(c),new Date(l))/1e3/60,t=e/60,n=t/24;let u="";switch(i){case"DAY":u=n.toFixed(+o);break;case"HOUR":u=t.toFixed(+o);break;case"MIN":u=e.toFixed(+o);break;case"DHM":u=`${Math.floor(n)}天${Math.floor(t%24)}小时${Math.floor(e%60)}分钟`;break}r(a,u)}else r(a,null)}(e):"CALC"===e.scene&&function(e){const t=+e.diffValField;if(!i(t)||Number.isNaN(t))return;const a=n(e.endDateField);if(a){const n=m(new Date(a),{days:"DAY"===e.diffValUnit?t:0,hours:"HOUR"===e.diffValUnit?t:0,minutes:"MIN"===e.diffValUnit?t:0});r(e.startDateField,n)}else r(e.startDateField,null)}(e))}))}return{dateOperationalFormHandler:function(t){if(!a(p(e)))return;const n=p(e).filter((e=>"DIFF"===e.scene&&e.startDateField===t||e.endDateField===t));n.length&&o(n)},triggerAllDateOperationalFormHandler:function(){a(p(e))&&o(p(e),!1)}}}export{L as getBindEventSettingTrigger,$ as getDateOperationalFormHandler,V as getOperationalFormHandler,g as isConditionsMatchSqlExpression,E as isMatchLowCodeCondition,A as isMatchLowCodeConditionsWithSqlExpression};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, ArrayAble } from '
|
|
1
|
+
import { AnyObject, ArrayAble } from '../../shared/types';
|
|
2
2
|
import { App, Component, ComponentInternalInstance } from 'vue';
|
|
3
3
|
export * from './business';
|
|
4
4
|
export declare function traverse<T extends ArrayAble<AnyObject>>(target: T, handler: (item: T extends Array<infer P> ? P : T, stop: () => void, parent?: typeof item) => void, keys?: ArrayAble<string>, parent?: T): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.56-beta.7",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"iOS 7",
|
|
65
65
|
"last 3 iOS versions"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "b9d75ccb7d8fda23e88e67bd2076eecd29bacf15"
|
|
68
68
|
}
|