cnhis-design-vue 3.1.54-release.4 → 3.1.55-alpha.0
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/audio-sdk/index.d.ts +2 -0
- package/es/components/audio-sdk/index.js +1 -0
- package/es/components/audio-sdk/src/audioSDK.d.ts +28 -0
- package/es/components/audio-sdk/src/audioSDK.js +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +27 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue.js +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -0
- package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +8 -0
- package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -0
- package/es/components/audio-sdk/style/index.css +1 -0
- 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/{multi-chat → biunique-chat}/index.d.ts +16 -16
- package/es/components/biunique-chat/index.js +1 -0
- package/es/components/{multi-chat/src/MultiChat.vue.d.ts → biunique-chat/src/BiuniqueChat.vue.d.ts} +1 -1
- package/es/components/biunique-chat/src/BiuniqueChat.vue.js +1 -0
- package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +1 -0
- package/es/components/{multi-chat → biunique-chat}/src/api/index.d.ts +1 -1
- package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.d.ts +1 -1
- package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.d.ts +1 -1
- package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.d.ts +1 -1
- package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.d.ts +1 -1
- package/es/components/{multi-chat → 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/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue.d.ts +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/bpmn-workflow/index.d.ts +1 -1
- package/es/components/button-print/index.d.ts +34 -21
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +14 -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 +72 -52
- 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 +505 -20
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +473 -1
- 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 +480 -8
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
- package/es/components/classification/src/index.vue.d.ts +493 -8
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/config-provider/index.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +1 -1
- package/es/components/expand-field/index.d.ts +29 -29
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
- package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
- package/es/components/expand-field/src/constants/index.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +2 -2
- package/es/components/fabric-chart/index.d.ts +7 -6
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -1
- 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 -0
- 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/useBirthProcess.js +1 -1
- 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/hooks/useDetailEvent.js +1 -1
- 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 +9 -3
- 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/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/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 +4 -4
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +3 -3
- 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/useCommon.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +4 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +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 +349 -302
- package/es/components/form-config/src/FormConfig.vue.d.ts +473 -426
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +38 -18
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +219 -196
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +7 -7
- 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 +72 -52
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +36 -16
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +95 -75
- 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/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 +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/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/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 +2 -2
- 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/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +15 -4
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +6 -6
- 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 +17 -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 +4 -3
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +14 -5
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -3
- package/es/components/form-render/src/types/index.d.ts +13 -8
- 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 -17
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +2 -2
- 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/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.js +1 -0
- 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/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/index.js +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/operationalFormPlugin/index.js +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/index.js +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/index.js +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 +9 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- 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/defaultRendererPlugin.js +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/htmlRendererPlugin.js +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/labelRendererPlugin.js +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 +5 -3
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
- package/es/components/iho-table/src/utils/index.d.ts +4 -4
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +6 -5
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +199 -159
- package/es/components/info-header/src/InfoHeader.vue.d.ts +213 -173
- 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 +118 -98
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +39 -19
- 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/quick-search/style/index.css +1 -1
- 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 +93 -72
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +125 -104
- 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/ValueCfg.vue.d.ts +320 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +474 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -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 +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/SelectDynamicOption/index.vue.d.ts +1 -1
- 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 +9 -9
- package/es/components/table-filter/src/constants/index.d.ts +2 -1
- package/es/components/table-filter/src/constants/index.js +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/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 +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +3 -2
- package/es/components/multi-chat/index.js +0 -1
- package/es/components/multi-chat/src/MultiChat.vue.js +0 -1
- package/es/components/multi-chat/src/MultiChat.vue2.js +0 -1
- /package/es/components/{multi-chat → biunique-chat}/src/api/index.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/utils/chatSock.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/style/index.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as o,computed as t,provide as r,onMounted as s,onUnmounted as a,
|
|
1
|
+
import{defineComponent as e,ref as o,computed as t,provide as r,onMounted as s,onUnmounted as a,openBlock as i,createBlock as l,unref as n,mergeProps as m,withCtx as p,createElementBlock as d,createVNode as u,isRef as c,Fragment as f,renderList as h,createCommentVNode as y,createElementVNode as g,normalizeStyle as j,withKeys as b,toDisplayString as k,renderSlot as v}from"vue";import{useTheme as F}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isNumber as C,cloneDeep as S}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{NForm as H,NTabs as A,NTabPane as x,NConfigProvider as B}from"naive-ui";import{useVersion as O}from"../../../shared/hooks/useVersion.js";import{createForm as L,onFormMount as R,onFieldValueChange as w,onFieldMount as I,onFieldUnmount as V,onFieldReact as _}from"@formily/core";import{Path as D}from"@formily/path";import{FormProvider as N,FormConsumer as q}from"@formily/vue";import{InjectionFormLifeCycleCaller as W,InjectionFormGraph as T}from"./constants/index.js";import{createObjSchema as U}from"./utils/schema.js";import{useAnchor as E}from"./hooks/useAnchor.js";import{useAutoHidden as G}from"./hooks/useAutoHidden.js";import"../index.js";import{useComplexOptionsSpan as K}from"./hooks/useComplexOptions.js";import{useFieldListAdaptor as M}from"./hooks/useFieldListAdaptor.js";import"../../../shared/utils/tapable/SyncHook.js";import"../../../shared/utils/tapable/SyncBailHook.js";import"../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../shared/utils/tapable/SyncLoopHook.js";import"../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import{useFieldVisitor as P}from"./hooks/useFieldVisitor.js";import{useFormContext as J}from"./hooks/useFormContext.js";import{useFormDomEvent as $,useFormExposeEvent as z}from"./hooks/useFormEvent.js";import{useFormGraph as Q}from"./hooks/useFormGraph.js";import{useFormRenderLifeCycle as X}from"./hooks/useFormRenderLifeCycle.js";import{validateMessageLocale as Y}from"./hooks/useFormValidator.js";import{useLowCodeEvent as Z}from"./hooks/useLowCodeEvent.js";import{useLowCodeReactions as ee}from"./hooks/useLowCodeReactions.js";import{useNuiThemeOverrides as oe}from"./hooks/useNuiThemeOverrides.js";import{useOperationalForm as te}from"./hooks/useOperationalForm.js";import{useWordbookSetting as re}from"./hooks/useWordbookSetting.js";const se={key:0,style:{height:"54px"}},ae={style:{"white-space":"pre"}};var ie=e({__name:"FormRender",props:{fieldList:{type:Array},initialData:{type:Object,default:()=>({})},fieldVisitor:{type:Object},column:{type:Number,default:24},maxHeight:{type:[Number,String],default:""},anchor:{type:Boolean,default:!1},parallelism:{type:Number,default:3},businessFormatter:{type:Function},schema:{type:Object},components:{type:Object,default:()=>({})},scope:{type:Object,default:()=>({})},annotation:{type:Object},consumer:{type:Boolean,default:!1},uuid:{type:String},lifeCycle:{type:Object},requestInstance:{type:Object},enterToNextWidget:{type:[Boolean,Function],default:!0},lowCodeReactions:{type:Array},operationalForm:{type:Array},dateOperationalForm:{type:Object},operationalFormInit:{type:Boolean,default:!0},linebarAutoHidden:{type:Boolean},bordered:{type:[Boolean,String],default:!0},outBordered:{type:Boolean,default:!1},uniqueCacheData:{type:Boolean,default:!1},forceClearable:Boolean},emits:["formChange","annotationChange","scroll"],setup(e,{expose:ie,emit:le}){const ne=e,me=F(),{nuiThemeOverrides:pe}=oe();Y();const de=o(),ue=t((()=>C(ne.maxHeight)?ne.maxHeight+"px":ne.maxHeight)),{SchemaField:ce,businessCollector:fe,formItemDepsCollector:he,changeContextCollector:ye,formUUID:ge}=J(ne,le),{anchorBarRef:je,currentAnchor:be,updateAnchorList:ke,anchorIdList:ve,onScroll:Fe}=E(ne,le,de,he),{callLifeCycle:Ce}=X(ne);r(W,Ce),Ce("onSetup");const{trigger:Se}=G(),{observeFormGraph:He,setGraph:Ae,removeGraph:xe}=Q();r(T,He);const{lowCodeEventTrigger:Be}=Z(),Oe=L({initialValues:ne.initialData,effects(e){const o={};R((()=>{Object.assign(o,S(e.values))})),w("*",(t=>{const r=D.getIn(o,t.path);D.setIn(o,t.path,t.value);const s=t.props.name.toString();fe.trigger(e,s),he.trigger(t.path),le("formChange",{fieldInstance:t,fieldKey:s,oldValue:r,fieldName:t.title,value:t.value,context:ye.getContext(s,t.value)}),Be(t),Le(s),we.trigger(s),Ie.trigger(s,t.value)})),I("*",Ae),V("*",xe),ne.linebarAutoHidden&&(_("*",Se),R((e=>e.query("*").forEach(Se)))),ne.anchor&&_("*",ke)}}),{lowCodeReactionsHandler:Le,triggerAllReactionsHandler:Re}=ee(t((()=>ne.lowCodeReactions)),Oe),we=te(ne,Oe),Ie=re().create(Oe,ye);s(Re),s((()=>ne.operationalFormInit&&we.triggerAll()));const{schemaAdaptor:Ve}=M(fe,ne.lifeCycle);let _e=ne.fieldList||[];const De=t((()=>ne.schema?ne.schema:ne.fieldList?(_e=P().traverse(S(ne.fieldList),ne.fieldVisitor),U(Ve(_e,ne))):U({}))),{onKeydown:Ne}=$({formModel:Oe,formRenderRef:de,props:ne}),{clearSpan:qe}=K();a((()=>qe(ge)));const We=z({formModel:Oe,formRenderRef:de,formItemDepsCollector:he,businessCollector:fe,wordbookSettingHandler:Ie,operationalFormHandler:we,getFieldList:()=>_e,formUUID:ge});return ie({formModel:Oe,validate:(e="*",o={})=>We.validate(e,o),getFormValues:(e=!0)=>We.getFormValues(e),setFormValues:async(e,o={},t=!1,r=!0)=>We.setFormValues(e,o,t,r),setFieldState(e,o){We.setFieldState(e,o)},resetFields(e="*"){We.resetFields(e)},queryWidget:async e=>We.queryWidget(e),getFieldList:()=>_e,async reload(){console.error("reload function is abstract,it should be overwrite!")}}),(o,t)=>(i(),l(n(H),m({class:["form-render",{"form-render--out-border":e.outBordered}],"require-mark-placement":"left",style:n(me)},n(O)()),{default:p((()=>[e.anchor?(i(),d("section",se,[u(n(A),{value:n(be),"onUpdate:value":t[0]||(t[0]=e=>c(be)?be.value=e:null),type:"line",ref_key:"anchorBarRef",ref:je},{default:p((()=>[(i(!0),d(f,null,h(n(ve),(e=>(i(),l(n(x),{name:e.name,tab:e.title,key:e.name},null,8,["name","tab"])))),128))])),_:1},8,["value"])])):y("v-if",!0),u(n(B),{"theme-overrides":n(pe)},{default:p((()=>[g("section",{class:"form-render__wrapper",style:j({"--column":e.column,"--form-height":n(ue)}),ref_key:"formRenderRef",ref:de,onScroll:t[1]||(t[1]=(...e)=>n(Fe)&&n(Fe)(...e)),onKeydownCapture:t[2]||(t[2]=b(((...e)=>n(Ne)&&n(Ne)(...e)),["enter"]))},[u(n(N),{form:n(Oe)},{default:p((()=>[u(n(ce),{schema:n(De)},null,8,["schema"]),e.consumer?(i(),l(n(q),{key:0},{default:p((({form:e})=>[g("div",ae,k(JSON.stringify(e.values,null,2)),1)])),_:1})):y("v-if",!0),v(o.$slots,"default")])),_:3},8,["form"])],36)])),_:3},8,["theme-overrides"])])),_:3},16,["class","style"]))}});export{ie as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyFn } from '
|
|
2
|
-
import { FormRenderExpose } from '
|
|
1
|
+
import { AnyFn } from '../../../shared/types';
|
|
2
|
+
import { FormRenderExpose } from '../../../components/form-render';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
4
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
5
5
|
key: import("vue").Ref<number>;
|
|
@@ -8,14 +8,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
exposed: Partial<FormRenderExpose>;
|
|
9
9
|
FormRender: import("vue").DefineComponent<{
|
|
10
10
|
fieldList: {
|
|
11
|
-
type: import("vue").PropType<import("
|
|
11
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldItem[]>;
|
|
12
12
|
};
|
|
13
13
|
initialData: {
|
|
14
|
-
type: import("vue").PropType<import("
|
|
14
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
15
15
|
default: () => {};
|
|
16
16
|
};
|
|
17
17
|
fieldVisitor: {
|
|
18
|
-
type: import("vue").PropType<import("
|
|
18
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldVisitor>;
|
|
19
19
|
};
|
|
20
20
|
column: {
|
|
21
21
|
type: NumberConstructor;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
34
|
default: number;
|
|
35
35
|
};
|
|
36
36
|
businessFormatter: {
|
|
37
|
-
type: import("vue").PropType<import("
|
|
37
|
+
type: import("vue").PropType<import("../../../components/form-render").FormBusinessFormatter>;
|
|
38
38
|
};
|
|
39
39
|
schema: {
|
|
40
40
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -100,11 +100,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
100
100
|
default: () => {};
|
|
101
101
|
};
|
|
102
102
|
scope: {
|
|
103
|
-
type: import("vue").PropType<import("
|
|
103
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
104
104
|
default: () => {};
|
|
105
105
|
};
|
|
106
106
|
annotation: {
|
|
107
|
-
type: import("vue").PropType<import("
|
|
107
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
108
108
|
};
|
|
109
109
|
consumer: {
|
|
110
110
|
type: BooleanConstructor;
|
|
@@ -120,26 +120,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
120
120
|
field: import("@formily/core").GeneralField;
|
|
121
121
|
oldValue: unknown;
|
|
122
122
|
}): any;
|
|
123
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
124
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
125
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
123
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
124
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
125
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
126
126
|
}>>;
|
|
127
127
|
};
|
|
128
128
|
requestInstance: {
|
|
129
129
|
type: import("vue").PropType<import("../..").FormRequestDefine.RequestInstance>;
|
|
130
130
|
};
|
|
131
131
|
enterToNextWidget: {
|
|
132
|
-
type: import("vue").PropType<boolean | ((fieldItem: import("
|
|
132
|
+
type: import("vue").PropType<boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void)>;
|
|
133
133
|
default: boolean;
|
|
134
134
|
};
|
|
135
135
|
lowCodeReactions: {
|
|
136
|
-
type: import("vue").PropType<import("
|
|
136
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
137
137
|
};
|
|
138
138
|
operationalForm: {
|
|
139
|
-
type: import("vue").PropType<import("
|
|
139
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
140
140
|
};
|
|
141
141
|
dateOperationalForm: {
|
|
142
|
-
type: import("vue").PropType<import("
|
|
142
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
143
|
+
};
|
|
144
|
+
operationalFormInit: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
143
147
|
};
|
|
144
148
|
linebarAutoHidden: {
|
|
145
149
|
type: BooleanConstructor;
|
|
@@ -160,14 +164,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
160
164
|
}, {
|
|
161
165
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
162
166
|
fieldList: {
|
|
163
|
-
type: import("vue").PropType<import("
|
|
167
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldItem[]>;
|
|
164
168
|
};
|
|
165
169
|
initialData: {
|
|
166
|
-
type: import("vue").PropType<import("
|
|
170
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
167
171
|
default: () => {};
|
|
168
172
|
};
|
|
169
173
|
fieldVisitor: {
|
|
170
|
-
type: import("vue").PropType<import("
|
|
174
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldVisitor>;
|
|
171
175
|
};
|
|
172
176
|
column: {
|
|
173
177
|
type: NumberConstructor;
|
|
@@ -186,7 +190,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
186
190
|
default: number;
|
|
187
191
|
};
|
|
188
192
|
businessFormatter: {
|
|
189
|
-
type: import("vue").PropType<import("
|
|
193
|
+
type: import("vue").PropType<import("../../../components/form-render").FormBusinessFormatter>;
|
|
190
194
|
};
|
|
191
195
|
schema: {
|
|
192
196
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -252,11 +256,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
252
256
|
default: () => {};
|
|
253
257
|
};
|
|
254
258
|
scope: {
|
|
255
|
-
type: import("vue").PropType<import("
|
|
259
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
256
260
|
default: () => {};
|
|
257
261
|
};
|
|
258
262
|
annotation: {
|
|
259
|
-
type: import("vue").PropType<import("
|
|
263
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
260
264
|
};
|
|
261
265
|
consumer: {
|
|
262
266
|
type: BooleanConstructor;
|
|
@@ -272,26 +276,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
272
276
|
field: import("@formily/core").GeneralField;
|
|
273
277
|
oldValue: unknown;
|
|
274
278
|
}): any;
|
|
275
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
276
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
277
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
279
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
280
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
281
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
278
282
|
}>>;
|
|
279
283
|
};
|
|
280
284
|
requestInstance: {
|
|
281
285
|
type: import("vue").PropType<import("../..").FormRequestDefine.RequestInstance>;
|
|
282
286
|
};
|
|
283
287
|
enterToNextWidget: {
|
|
284
|
-
type: import("vue").PropType<boolean | ((fieldItem: import("
|
|
288
|
+
type: import("vue").PropType<boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void)>;
|
|
285
289
|
default: boolean;
|
|
286
290
|
};
|
|
287
291
|
lowCodeReactions: {
|
|
288
|
-
type: import("vue").PropType<import("
|
|
292
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
289
293
|
};
|
|
290
294
|
operationalForm: {
|
|
291
|
-
type: import("vue").PropType<import("
|
|
295
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
292
296
|
};
|
|
293
297
|
dateOperationalForm: {
|
|
294
|
-
type: import("vue").PropType<import("
|
|
298
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
299
|
+
};
|
|
300
|
+
operationalFormInit: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: boolean;
|
|
295
303
|
};
|
|
296
304
|
linebarAutoHidden: {
|
|
297
305
|
type: BooleanConstructor;
|
|
@@ -330,9 +338,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
330
338
|
mapProperties: any;
|
|
331
339
|
filterProperties: any;
|
|
332
340
|
}>;
|
|
333
|
-
businessCollector: import("
|
|
334
|
-
formItemDepsCollector: import("
|
|
335
|
-
changeContextCollector: import("
|
|
341
|
+
businessCollector: import("../../../components/form-render").BusinessCollector;
|
|
342
|
+
formItemDepsCollector: import("../../../components/form-render").FormItemDepsCollector;
|
|
343
|
+
changeContextCollector: import("../../../components/form-render").ContextCollector;
|
|
336
344
|
formUUID: string;
|
|
337
345
|
anchorBarRef: import("vue").Ref<{
|
|
338
346
|
syncBarPosition: AnyFn<any[], any>;
|
|
@@ -350,18 +358,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
350
358
|
field: import("@formily/core").GeneralField;
|
|
351
359
|
oldValue: unknown;
|
|
352
360
|
}): any;
|
|
353
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
354
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
355
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
356
|
-
}>>[T]> | undefined) => import("
|
|
361
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
362
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
363
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
364
|
+
}>>[T]> | undefined) => import("../../../shared/types").UndefinedAble<ReturnType<Required<Partial<{
|
|
357
365
|
onSetup(): void;
|
|
358
366
|
beforeSetValue(fieldKey: string, value: unknown, payload: {
|
|
359
367
|
field: import("@formily/core").GeneralField;
|
|
360
368
|
oldValue: unknown;
|
|
361
369
|
}): any;
|
|
362
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
363
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
364
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
370
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
371
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
372
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
365
373
|
}>>[T]>>;
|
|
366
374
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
367
375
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
@@ -373,16 +381,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
373
381
|
}>;
|
|
374
382
|
lowCodeReactionsHandler: (field: string) => void;
|
|
375
383
|
triggerAllReactionsHandler: () => void;
|
|
376
|
-
operationalFormHandler:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
schemaAdaptor: (fieldList: import("
|
|
383
|
-
fieldList: import("
|
|
384
|
-
initialData: import("
|
|
385
|
-
fieldVisitor: import("
|
|
384
|
+
operationalFormHandler: {
|
|
385
|
+
trigger(fieldKey: string): void;
|
|
386
|
+
triggerAll(): void;
|
|
387
|
+
triggerDisabled: string | boolean;
|
|
388
|
+
};
|
|
389
|
+
wordbookSettingHandler: import("../../../components/form-render").wordbookSettingHandler;
|
|
390
|
+
schemaAdaptor: (fieldList: import("../../../components/form-render").FieldItem[], options?: Partial<{
|
|
391
|
+
fieldList: import("../../../components/form-render").FieldItem[];
|
|
392
|
+
initialData: import("../../../shared/types").AnyObject;
|
|
393
|
+
fieldVisitor: import("../../../components/form-render").FieldVisitor;
|
|
386
394
|
column: number;
|
|
387
395
|
maxHeight: string | number;
|
|
388
396
|
anchor: boolean;
|
|
@@ -445,8 +453,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
445
453
|
"x-compile-omitted"?: string[] | undefined;
|
|
446
454
|
}>;
|
|
447
455
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
448
|
-
scope: import("
|
|
449
|
-
annotation: import("
|
|
456
|
+
scope: import("../../../shared/types").AnyObject;
|
|
457
|
+
annotation: import("../../../shared/types").AnyObject;
|
|
450
458
|
consumer: boolean;
|
|
451
459
|
uuid: string;
|
|
452
460
|
lifeCycle: Partial<{
|
|
@@ -455,18 +463,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
455
463
|
field: import("@formily/core").GeneralField;
|
|
456
464
|
oldValue: unknown;
|
|
457
465
|
}): any;
|
|
458
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
459
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
460
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
466
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
467
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
468
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
461
469
|
}>;
|
|
462
|
-
businessFormatter: import("
|
|
470
|
+
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
463
471
|
requestInstance: import("../..").FormRequestDefine.RequestInstance;
|
|
464
|
-
enterToNextWidget: boolean | ((fieldItem: import("
|
|
465
|
-
lowCodeReactions: import("
|
|
472
|
+
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
473
|
+
lowCodeReactions: import("../../../shared/types").LowCodeTypes.reactionsConfig[];
|
|
466
474
|
linebarAutoHidden: boolean;
|
|
467
475
|
bordered: string | boolean;
|
|
468
476
|
uniqueCacheData: boolean;
|
|
469
|
-
operationalForm: import("
|
|
477
|
+
operationalForm: import("../../../shared/types").LowCodeTypes.operationalConfig[];
|
|
470
478
|
outBordered: boolean;
|
|
471
479
|
forceClearable: boolean;
|
|
472
480
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -526,7 +534,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
526
534
|
"x-read-pretty"?: boolean | undefined;
|
|
527
535
|
"x-compile-omitted"?: string[] | undefined;
|
|
528
536
|
}>>;
|
|
529
|
-
_fieldList: import("
|
|
537
|
+
_fieldList: import("../../../components/form-render").FieldItem[];
|
|
530
538
|
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
531
539
|
[key: symbol]: any;
|
|
532
540
|
[key: `x-${string}`]: any;
|
|
@@ -591,7 +599,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
591
599
|
force?: boolean | undefined;
|
|
592
600
|
}): Promise<void>;
|
|
593
601
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
594
|
-
setFormValues(values: import("
|
|
602
|
+
setFormValues(values: import("../../../shared/types").AnyObject, options?: boolean | {
|
|
603
|
+
needSplitExtendKey?: boolean | undefined;
|
|
604
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
605
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
606
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
607
|
+
avoidOperationalFormConnection?: string | boolean | undefined;
|
|
608
|
+
overwrite?: boolean | undefined;
|
|
609
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
595
610
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
596
611
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
597
612
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -755,14 +770,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
755
770
|
NTabs: any;
|
|
756
771
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
757
772
|
fieldList: {
|
|
758
|
-
type: import("vue").PropType<import("
|
|
773
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldItem[]>;
|
|
759
774
|
};
|
|
760
775
|
initialData: {
|
|
761
|
-
type: import("vue").PropType<import("
|
|
776
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
762
777
|
default: () => {};
|
|
763
778
|
};
|
|
764
779
|
fieldVisitor: {
|
|
765
|
-
type: import("vue").PropType<import("
|
|
780
|
+
type: import("vue").PropType<import("../../../components/form-render").FieldVisitor>;
|
|
766
781
|
};
|
|
767
782
|
column: {
|
|
768
783
|
type: NumberConstructor;
|
|
@@ -781,7 +796,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
781
796
|
default: number;
|
|
782
797
|
};
|
|
783
798
|
businessFormatter: {
|
|
784
|
-
type: import("vue").PropType<import("
|
|
799
|
+
type: import("vue").PropType<import("../../../components/form-render").FormBusinessFormatter>;
|
|
785
800
|
};
|
|
786
801
|
schema: {
|
|
787
802
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
@@ -847,11 +862,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
847
862
|
default: () => {};
|
|
848
863
|
};
|
|
849
864
|
scope: {
|
|
850
|
-
type: import("vue").PropType<import("
|
|
865
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
851
866
|
default: () => {};
|
|
852
867
|
};
|
|
853
868
|
annotation: {
|
|
854
|
-
type: import("vue").PropType<import("
|
|
869
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject>;
|
|
855
870
|
};
|
|
856
871
|
consumer: {
|
|
857
872
|
type: BooleanConstructor;
|
|
@@ -867,26 +882,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
867
882
|
field: import("@formily/core").GeneralField;
|
|
868
883
|
oldValue: unknown;
|
|
869
884
|
}): any;
|
|
870
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
871
|
-
afterRequest(fieldKey: string, res?: any, payload?: import("
|
|
872
|
-
afterOptionInit(fieldKey: string, options: import("
|
|
885
|
+
beforeRequest(fieldKey: string, params?: import("../../../shared/types").AnyObject | undefined, payload?: import("../../../shared/types").AnyObject | undefined): void | import("../../../shared/types").UndefinedAble<import("../../../shared/types").AnyObject>;
|
|
886
|
+
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
887
|
+
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
873
888
|
}>>;
|
|
874
889
|
};
|
|
875
890
|
requestInstance: {
|
|
876
891
|
type: import("vue").PropType<import("../..").FormRequestDefine.RequestInstance>;
|
|
877
892
|
};
|
|
878
893
|
enterToNextWidget: {
|
|
879
|
-
type: import("vue").PropType<boolean | ((fieldItem: import("
|
|
894
|
+
type: import("vue").PropType<boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void)>;
|
|
880
895
|
default: boolean;
|
|
881
896
|
};
|
|
882
897
|
lowCodeReactions: {
|
|
883
|
-
type: import("vue").PropType<import("
|
|
898
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
884
899
|
};
|
|
885
900
|
operationalForm: {
|
|
886
|
-
type: import("vue").PropType<import("
|
|
901
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
887
902
|
};
|
|
888
903
|
dateOperationalForm: {
|
|
889
|
-
type: import("vue").PropType<import("
|
|
904
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
905
|
+
};
|
|
906
|
+
operationalFormInit: {
|
|
907
|
+
type: BooleanConstructor;
|
|
908
|
+
default: boolean;
|
|
890
909
|
};
|
|
891
910
|
linebarAutoHidden: {
|
|
892
911
|
type: BooleanConstructor;
|
|
@@ -914,15 +933,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
914
933
|
column: number;
|
|
915
934
|
forceClearable: boolean;
|
|
916
935
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
917
|
-
initialData: import("
|
|
936
|
+
initialData: import("../../../shared/types").AnyObject;
|
|
918
937
|
parallelism: number;
|
|
919
|
-
scope: import("
|
|
938
|
+
scope: import("../../../shared/types").AnyObject;
|
|
920
939
|
consumer: boolean;
|
|
921
|
-
enterToNextWidget: boolean | ((fieldItem: import("
|
|
940
|
+
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
922
941
|
linebarAutoHidden: boolean;
|
|
923
942
|
bordered: string | boolean;
|
|
924
943
|
uniqueCacheData: boolean;
|
|
925
944
|
outBordered: boolean;
|
|
945
|
+
operationalFormInit: boolean;
|
|
926
946
|
}>;
|
|
927
947
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
928
948
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { CombinationItemDeletableFn, FieldItem } from '
|
|
2
|
+
import { CombinationItemDeletableFn, FieldItem } from '../../../../../../components/form-render';
|
|
3
3
|
export declare const COMBINATION: import("vue").DefineComponent<{
|
|
4
4
|
title: {
|
|
5
5
|
type: StringConstructor;
|
package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../../../../../shared/types';
|
|
2
2
|
export declare function useCombination(props: AnyObject): {
|
|
3
3
|
deletableList: import("vue").Ref<boolean[]>;
|
|
4
4
|
currentGroupNum: import("vue").Ref<number>;
|
package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { FormRenderExpose } from '
|
|
2
|
+
import { FormRenderExpose } from '../../../../../../../components/form-render';
|
|
3
3
|
export declare function useDeepValidate(): {
|
|
4
4
|
bindDeepValidate: (formRenderRefs: Ref<FormRenderExpose[]>) => void;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyObject } from '
|
|
1
|
+
import { AnyObject } from '../../../../../../shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { CombinationItemDeletableFn, FieldItem } from '
|
|
3
|
+
import { CombinationItemDeletableFn, FieldItem } from '../../../../../../components/form-render';
|
|
4
4
|
export declare const TABLE_COMBINATION: import("vue").DefineComponent<{
|
|
5
5
|
title: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,createVNode as r}from"vue";import{connect as t,mapProps as o}from"@formily/vue";import"../../../../../shared/utils/index.js";import"@formily/core";import"@formily/path";import"@vicons/ionicons5";import"@vue/shared";import"@vueuse/core";import"lodash-es";import"naive-ui";import"
|
|
1
|
+
import{defineComponent as e,createVNode as r}from"vue";import{connect as t,mapProps as o}from"@formily/vue";import"../../../../../shared/utils/index.js";import"@formily/core";import"@formily/path";import"@vicons/ionicons5";import"@vue/shared";import"@vueuse/core";import"lodash-es";import"naive-ui";import"date-fns";import{assignUpdateValue as i}from"../../utils/schema.js";const p=t(e({props:{onChange:{},span:{type:Number,default:6},display:{type:String,default:"grid"},wrapperStyle:{type:Object,default:()=>({})}},setup:(e,{slots:t})=>()=>r("section",{class:"form-render__complex"},[r("section",{class:`form-render__complexContent--${e.display}`,style:e.wrapperStyle},[t.default&&t.default()])])}),o(i));export{p as COMPLEX};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,watch as a,ref as o,onMounted as n,createVNode as
|
|
1
|
+
import{defineComponent as e,computed as t,watch as a,ref as o,onMounted as n,createVNode as r,mergeProps as i}from"vue";import{generateTimeFormat as u}from"../../../../../shared/utils/index.js";import{connect as l,mapProps as s}from"@formily/vue";import{isObject as d,useEventListener as m}from"@vueuse/core";import{format as v}from"date-fns";import c from"../../../../date-picker/index.js";import{useCommonInjection as p}from"../../hooks/useCommonInjection.js";import"@formily/core";import"@formily/path";import"@vicons/ionicons5";import"@vue/shared";import"lodash-es";import"naive-ui";import{assignUpdateValue as f,assignClearBindVisited as y}from"../../utils/schema.js";const w=l(e({props:{onChange:{},disabled:{type:Boolean},value:{type:String},validate:{type:Object},valueFormat:{type:String,default:"yyyy-MM-dd"},allowedInvalidValue:{type:String,default:"-"},dbclickToCurrent:{type:Boolean,default:!0}},emits:["update:value"],setup(e,{emit:l}){const{injectValueValidate:s,injectValueBindKey:f}=p();function y(){var t;return"currTime"===(null==(t=e.validate)?void 0:t.min_date)}function w(){var t;return"currTime"===(null==(t=e.validate)?void 0:t.max_date)}function D(e){return y()&&e<Date.now()-864e5||w()&&e>Date.now()}function b(e){const t=new Date(e),a=new Date,o=new Date(t);o.setHours(0),o.setMinutes(0),o.setSeconds(0);const n=new Date(t);n.setHours(23),n.setMinutes(59),n.setSeconds(59);const r=o>a,i=n<a,u=t.getHours(),l=a.getHours(),s=a.getMinutes();return{isHourDisabled:function(e){return y()&&!r&&e<l||w()&&!i&&e>l},isMinuteDisabled:function(e){if(u===l)return y()&&!r&&e<s||w()&&!i&&e>s;return y()&&!r&&u<l||w()&&!i&&u>l}}}s((()=>e.value));const g=t((()=>{const t={};if(d(e.validate)){const{min_date:a,max_date:o}=e.validate;(a||o)&&(t.isDateDisabled=D,t.isTimeDisabled=b)}return t})),h=t((()=>({valueFormat:e.valueFormat,format:e.valueFormat,timePickerProps:{format:u(e.valueFormat)}})));function j(t){return t?t===e.allowedInvalidValue?t:v(new Date(t),e.valueFormat):null}a((()=>e.value),(e=>{e&&j(e)!==e&&l("update:value",j(e))}));const k=t({get:()=>j(e.value),set:e=>{l("update:value",e)}}),F=f(k),V=o();return n((()=>{var t;if(!e.dbclickToCurrent)return;const a=null==(t=V.value)?void 0:t.$el;if(!a)return;const o=a.querySelector("input");o&&m(a,"dblclick",(()=>function(t){e.disabled||(t.value=v(Date.now(),e.valueFormat),t.dispatchEvent(new Event("input")))}(o)))})),()=>r(c,i({ref:V,key:F.value,disabled:e.disabled,allowedInvalidValue:e.allowedInvalidValue},g.value,h.value,{"formatted-value":k.value,"onUpdate:formatted-value":e=>k.value=e}),null)}}),s(f,y));export{w as DATE};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { FieldItem } from '
|
|
2
|
+
import { FieldItem } from '../../../../../components/form-render';
|
|
3
3
|
export declare const FORM_ITEM: import("vue").DefineComponent<{
|
|
4
4
|
label: StringConstructor;
|
|
5
5
|
propertyKey: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,inject as r,computed as l,ref as o,onUnmounted as t,createVNode as n,mergeProps as i}from"vue";import{arrayed as a,widthAppend as s}from"../../../../../shared/utils/index.js";import{isVoidField as m}from"@formily/core";import{observe as u,autorun as d}from"@formily/reactive";import{connect as f,mapProps as p}from"@formily/vue";import{useDebounceFn as v}from"@vueuse/core";import{isString as c,isArray as b,isFunction as y}from"lodash-es";import{NFormItem as _}from"naive-ui";import g from"../../../../annotation-edit/index.js";import"../../../index.js";import x from"../tooltipMessage.vue.js";import{InjectionFormUUID as I,InjectionFormGraph as j,InjectionAnnotation as h,InjectionFormGlobalProps as k}from"../../constants/index.js";import{useComplexOptionsSpan as F}from"../../hooks/useComplexOptions.js";import{
|
|
1
|
+
import{defineComponent as e,inject as r,computed as l,ref as o,onUnmounted as t,createVNode as n,mergeProps as i}from"vue";import{arrayed as a,widthAppend as s}from"../../../../../shared/utils/index.js";import{isVoidField as m}from"@formily/core";import{observe as u,autorun as d}from"@formily/reactive";import{connect as f,mapProps as p}from"@formily/vue";import{useDebounceFn as v}from"@vueuse/core";import{isString as c,isArray as b,isFunction as y}from"lodash-es";import{NFormItem as _}from"naive-ui";import g from"../../../../annotation-edit/index.js";import"../../../index.js";import x from"../tooltipMessage.vue.js";import{InjectionFormUUID as I,InjectionFormGraph as j,InjectionAnnotation as h,InjectionFormGlobalProps as k}from"../../constants/index.js";import{useComplexOptionsSpan as F}from"../../hooks/useComplexOptions.js";import{validateMessageParser as R}from"../../utils/index.js";import{dotEscape as L}from"../../utils/schema.js";import{useFormField as q}from"../../hooks/useFormField.js";const K=f(e({name:"FormRenderItem",props:{label:String,propertyKey:String,remark:String,span:{type:Number,default:6},suffixFields:{type:Array},labelRender:Function,annotation:{},fieldItem:{type:Object}},setup(e,{slots:a}){const{field:f,fieldKey:p,fieldAddress:c}=q(),R=r(I),K=l((()=>L(`${R}-${c.value}`))),S=o(!1);if(m(f.value)&&b(e.suffixFields)){const l=r(j);t(u(l,v((()=>{m(f.value)&&b(e.suffixFields)&&(S.value=e.suffixFields.some((e=>{const r=f.value.form.query(e).take();return r&&Reflect.get(r,"required")})))}),100)))}else t(d((()=>{S.value=Reflect.get(f.value,"required")})));const A=r(h),E=l({get(){var r,l;return null!=(l=null==(r=A.value)?void 0:r[e.propertyKey])?l:""},set(r){A.value={property:e.propertyKey,value:r}}});const M=l((()=>A.value&&!1!==e.annotation)),O=l((()=>e.label&&" "!==e.label)),V=l((()=>{let r=0;return M.value&&(r+=18),e.remark&&(r+=18),r})),$=r(k,{}),w=l((()=>{var r;const l=null==(r=e.fieldItem)?void 0:r.bordered;return null==l?$.bordered:l}));function C(){return O.value?n("section",{class:"form-render__formItemLabel"},[n("span",{class:"form-render__formItemLabel--text",style:{marginRight:s(V.value)}},[y(e.labelRender)?e.labelRender(e.label):e.label]),V.value?n("section",{class:"form-render__formItemLabel--operation"},[e.remark?n("div",{class:"form-render__formItemLabel--tooltip"},[n(x,{message:e.remark},null)]):null,M.value?n(g,{class:"form-render__formItemLabel--annotation",modelValue:E.value,"onUpdate:modelValue":e=>E.value=e},null):null]):null]):null}const{getSpan:N}=F();return()=>{return n(_,i({class:["form-render__formItem",{"form-render--no-border":!w.value,"form-render--underline":"underline"===w.value}],style:{"--form-item-column":"inner"===(null==(r=e.fieldItem)?void 0:r.childWidthMode)?e.span:N(R,f.value.address,!1)+e.span}},{id:K.value,uuid:R,"widget-type":f.value.componentType,"field-key":L(p.value),"field-address":L(c.value),required:S.value}),{...a,label:C});var r}}}),p({title:"label"},((e,r)=>{const l=m(r)?void 0:a(r.selfErrors).length?function(e,r){if(!c(r.defined_error_msg)||!r.defined_error_msg)return e.map((e=>R(e,r))).join(",");return R(r.defined_error_msg,r)}(a(r.selfErrors),e.fieldItem):void 0;return{...e,fieldItem:void 0,feedback:l,"validation-status":l?"error":void 0}})));export{K as FORM_ITEM};
|
|
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
headerClass: import("vue").ComputedRef<(string | {
|
|
34
34
|
'form-render__linebarHeader--disabled': boolean;
|
|
35
35
|
})[]>;
|
|
36
|
-
|
|
37
|
-
formItemDepsCollector: import("
|
|
36
|
+
field: import("vue").Ref<import("@formily/core").GeneralField>;
|
|
37
|
+
formItemDepsCollector: import("../../../../../../components/form-render").FormItemDepsCollector;
|
|
38
38
|
TooltipMessage: import("vue").DefineComponent<{
|
|
39
39
|
message: StringConstructor;
|
|
40
40
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as r,computed as a,inject as o,openBlock as s,createElementBlock as
|
|
1
|
+
import{defineComponent as e,ref as r,computed as a,inject as o,openBlock as s,createElementBlock as t,createElementVNode as l,normalizeClass as i,unref as n,createTextVNode as d,toDisplayString as m,createBlock as f,createCommentVNode as u,Fragment as p,createVNode as v,withCtx as c,renderSlot as _}from"vue";import"../../../../index.js";import b from"../../tooltipMessage.vue.js";import{InjectionFormItemDepsCollector as h}from"../../../constants/index.js";import{ChevronDown as k,ChevronUp as g}from"@vicons/ionicons5";import{NCollapseTransition as y}from"naive-ui";import{useFormField as j}from"../../../hooks/useFormField.js";const w={class:"form-render__linebar","anchor-target":""},x={class:"form-render__linebarHeaderTitle"};var F=e({__name:"FormCollapse",props:{show:{type:Boolean,default:!0},title:{type:String,default:""},remark:String,disabled:{type:Boolean,default:!1}},setup(e){const F=e,H=r(F.show);function S(){F.disabled||(H.value=!H.value)}const B=a((()=>["form-render__linebarHeader",{"form-render__linebarHeader--disabled":!!F.disabled}])),{field:C}=j();return o(h).setDeps(C.value.path,C.value.path.toString(),((e=!0)=>{H.value=e})),(r,a)=>(s(),t("section",w,[l("header",{class:i(n(B)),onClick:S},[l("div",x,[d(m(e.title)+" ",1),e.remark?(s(),f(b,{key:0,message:e.remark},null,8,["message"])):u("v-if",!0)]),e.disabled?u("v-if",!0):(s(),t(p,{key:0},[H.value?(s(),f(n(k),{key:0})):(s(),f(n(g),{key:1}))],64))],2),v(n(y),{class:"form-render__linebarItem",show:H.value},{default:c((()=>[_(r.$slots,"default")])),_:3},8,["show"])]))}});export{F as default};
|