cnhis-design-vue 3.2.5-beta.54 → 3.2.5-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/annotation-edit/src/type.d.ts +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -1
- package/es/components/big-table/index.d.ts +6 -56
- package/es/components/big-table/src/BigTable.vue.d.ts +6 -56
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +4 -4
- package/es/components/big-table/src/hooks/useEdit.d.ts +27 -27
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/biunique-chat/index.d.ts +13 -1027
- package/es/components/biunique-chat/src/Index.vue.d.ts +13 -1027
- package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +2 -201
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -9
- package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +7 -408
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +2 -208
- package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +1 -11
- package/es/components/biunique-chat/src/components/ChatSearch.vue.d.ts +2 -2
- package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +2 -187
- package/es/components/biunique-chat/src/components/PersonProfile.vue.d.ts +1 -9
- package/es/components/biunique-chat/src/types/index.d.ts +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +1 -1
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +13 -13
- package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +2 -2
- package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +9 -9
- package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +2 -2
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +13 -2917
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -2917
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -1162
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +6 -1458
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +5 -1457
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -1457
- package/es/components/calendar/index.d.ts +4 -4
- package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
- package/es/components/calendar/src/types/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +2 -179
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +120 -1701
- package/es/components/callback/src/types/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +2 -2
- package/es/components/card-reader-sdk/src/constants/index.d.ts +56 -56
- package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +4 -14
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +24 -34
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +26 -36
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -4
- package/es/components/classification/src/index.vue.d.ts +4 -14
- package/es/components/config-provider/src/interface.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/drag-scroll/src/types.d.ts +2 -2
- package/es/components/expand-field/index.d.ts +41 -575
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +56 -198
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +36 -168
- package/es/components/expand-field/src/components/form.vue.d.ts +41 -526
- package/es/components/expand-field/src/index.vue.d.ts +41 -575
- package/es/components/expand-field/src/types/index.d.ts +1 -1
- package/es/components/fabric-chart/index.d.ts +10 -10
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +10 -10
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +3 -3
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +9 -9
- package/es/components/field-set/index.d.ts +1 -51
- package/es/components/field-set/src/FieldColor.vue.d.ts +14 -593
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -6
- package/es/components/field-set/src/FieldSet.vue.d.ts +8 -9
- package/es/components/field-set/src/Index.vue.d.ts +2 -52
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +2 -2
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +12 -590
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +3 -3
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +8 -8
- package/es/components/form-config/index.d.ts +62 -4785
- package/es/components/form-config/src/FormConfig.vue.d.ts +41 -4764
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +37 -98
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -4651
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +3 -36
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +8 -8
- package/es/components/form-render/index.d.ts +15 -75
- package/es/components/form-render/src/FormRender.vue.d.ts +10 -70
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -75
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -11
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +10 -10
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +15 -15
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -11
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -19
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +10 -10
- package/es/components/form-render/src/types/index.d.ts +13 -13
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +46 -1567
- package/es/components/iho-table/src/IhoTable.vue.d.ts +40 -1561
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +18 -18
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +61 -61
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +2 -335
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/types.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +16 -16
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +17 -17
- package/es/components/iho-table/src/types/pluginType.d.ts +13 -13
- package/es/components/info-header/index.d.ts +65 -1723
- package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -1700
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +27 -1547
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +16 -1554
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +31 -1629
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +59 -119
- package/es/components/info-header/src/types/index.d.ts +4 -3
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/map/src/types/index.d.ts +2 -2
- package/es/components/quick-search/index.d.ts +1 -295
- package/es/components/quick-search/src/index.vue.d.ts +1 -295
- package/es/components/recommend-search/index.d.ts +28 -28
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +28 -28
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +11 -11
- package/es/components/recommend-search/src/types/index.d.ts +2 -2
- package/es/components/scale-view/index.d.ts +6 -300
- package/es/components/scale-view/src/ScaleView.vue.d.ts +6 -300
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +2 -2
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +2 -2
- package/es/components/scale-view/src/hooks/use-component.d.ts +3 -15
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +14 -14
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +15 -15
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +3 -3
- package/es/components/select-label/index.d.ts +3 -21
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +1 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +1 -7
- package/es/components/select-label/src/index.vue.d.ts +2 -14
- package/es/components/select-label/src/types/index.d.ts +3 -3
- package/es/components/select-person/index.d.ts +36 -168
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +3 -58
- package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +2 -2
- package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -117
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +23 -1606
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -1597
- package/es/components/step-notice/index.d.ts +94 -1615
- package/es/components/step-notice/src/StepNotice.vue.d.ts +79 -1600
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +22 -22
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +2 -2
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +16 -16
- package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -1
- package/es/components/step-notice/src/utils.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -630
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +2 -51
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -581
- package/es/components/table-export-field/src/index.vue.d.ts +5 -632
- package/es/components/table-export-field/src/types/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +15 -15
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -32
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -32
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -50
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +3 -3
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +1 -11
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +16 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +60 -119
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +59 -108
- package/es/components/table-filter/src/types/index.d.ts +25 -25
- package/es/components/time-line/index.d.ts +1 -48
- package/es/components/time-line/src/TimeLine.vue.d.ts +4 -51
- package/es/components/tooth-bitmap/index.d.ts +3 -3
- package/es/components/tooth-bitmap/src/ToothBitmap.vue.d.ts +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +3 -3
- package/es/shared/components/SlotRender/SlotRender.d.ts +4 -4
- package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/useTheme.d.ts +2 -2
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/types/index.d.ts +15 -15
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncParallelHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncBailHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncLoopHook.d.ts +1 -1
- package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/es/shared/utils/vexutils.d.ts +2 -2
- package/package.json +5 -5
|
@@ -3,7 +3,7 @@ import { AnyObject, AnyFn, LowCodeTypes } from '../../../../shared/types';
|
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { UrlConfig } from '../../../../components/form-render';
|
|
5
5
|
import { RecommendItem } from '../../../../components/recommend-search/src/types';
|
|
6
|
-
|
|
6
|
+
type UseOptionHooks = Partial<Record<'onRequestConfigChange' | 'onDepsChange', (payload: {
|
|
7
7
|
fetchData: (content?: string, otherParams?: AnyObject) => any;
|
|
8
8
|
labelKey: string;
|
|
9
9
|
valueKey: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FormRequestDefine } from '../../../../shared/hooks';
|
|
2
2
|
import { AnyObject, ArrayAble, LowCodeTypes } from '../../../../shared/types';
|
|
3
3
|
import { SchemaEffectTypes, SchemaTypes } from '@formily/vue';
|
|
4
|
-
import {
|
|
4
|
+
import { VNode } from 'vue';
|
|
5
5
|
import { DependKeyType, FormCommonState } from '../../../../components/form-render';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
6
|
+
type FieldBusinessType = 'password' | 'id_card' | 'age' | 'age_unit' | 'mobile' | 'telephone' | 'email' | 'sex' | 'birthday' | 'bank_card' | 'website' | 'gestational_weeks' | 'gestational_stage' | 'customer_name';
|
|
7
|
+
type HtmlType = 'INPUT' | 'TEXTAREA' | 'SELECT' | 'LINEBAR' | 'LINE_BREAKS' | 'INPUT_NUMBER' | 'REMOTE_SEARCH' | 'DATE' | 'LEVEL_SEARCH_CASCADER' | 'SEARCH_CASCADER' | 'COMBINATION' | 'RADIO' | 'CHECKBOX' | 'SWITCH' | 'SLIDER' | 'COMPLEX' | 'SEARCH' | 'PHONE_TYPE' | 'IDCARD_TYPE' | 'SEARCH_MORE' | 'DIGITAL' | 'CHECKBOX_BLOCK' | 'RADIO_BLOCK' | 'DATE-INPUT' | 'DATETIME-INPUT' | 'SWITCH_COMPONENT' | 'SLIDER_COMPONENT' | 'LEVEL_SEARCH_CASCADE' | 'SEARCH_CASCADE' | ({} & string);
|
|
8
|
+
type ValidateType = 'mobile' | 'integer' | 'number' | 'id_card' | 'regular' | string;
|
|
9
|
+
export type ValidateItem = Partial<{
|
|
10
10
|
/**
|
|
11
11
|
* 业务类型
|
|
12
12
|
*/
|
|
@@ -27,7 +27,7 @@ export declare type ValidateItem = Partial<{
|
|
|
27
27
|
message: string;
|
|
28
28
|
[key: string]: any;
|
|
29
29
|
}>;
|
|
30
|
-
export
|
|
30
|
+
export type FormOptionItem = {
|
|
31
31
|
keyword?: string;
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
children?: FormOptionItem[];
|
|
@@ -44,7 +44,7 @@ interface FormRendererPayload {
|
|
|
44
44
|
export interface FormRenderer {
|
|
45
45
|
(payload: FormRendererPayload): ArrayAble<VNode> | any;
|
|
46
46
|
}
|
|
47
|
-
export
|
|
47
|
+
export type UrlConfig = {
|
|
48
48
|
url: string;
|
|
49
49
|
} & Partial<{
|
|
50
50
|
method: FormRequestDefine.RequestType;
|
|
@@ -71,8 +71,8 @@ interface ReactionType {
|
|
|
71
71
|
};
|
|
72
72
|
[key: string]: any;
|
|
73
73
|
}
|
|
74
|
-
export
|
|
75
|
-
export
|
|
74
|
+
export type CombinationItemDeletableFn = (itemData: AnyObject, index: number) => boolean;
|
|
75
|
+
export type FieldItem = {
|
|
76
76
|
val_key: string;
|
|
77
77
|
html_type: HtmlType;
|
|
78
78
|
} & Partial<{
|
|
@@ -149,7 +149,7 @@ export declare type FieldItem = {
|
|
|
149
149
|
noDecorator: Boolean;
|
|
150
150
|
display: 'grid' | 'flex';
|
|
151
151
|
slots: Record<string, (...args: unknown[]) => unknown>;
|
|
152
|
-
wrapperStyle:
|
|
152
|
+
wrapperStyle: Record<string, string>;
|
|
153
153
|
childFieldStrategy?: 'checked' | 'all';
|
|
154
154
|
childWidthMode?: 'inner' | 'outer';
|
|
155
155
|
/**
|
|
@@ -7,17 +7,17 @@ import { AnnotationItem } from '../../../../components/annotation-edit/src/type'
|
|
|
7
7
|
import { FIELD_BUSINESS_TYPE } from '../../../../components/form-render/src/constants';
|
|
8
8
|
import { FieldItem } from '../types';
|
|
9
9
|
export * from './fieldItem';
|
|
10
|
-
export
|
|
10
|
+
export type FormCommonState = '0' | '1';
|
|
11
11
|
export interface FieldVisitorContext {
|
|
12
12
|
field: FieldItem;
|
|
13
13
|
replace(f: FieldItem): void;
|
|
14
14
|
insertBefore(f: FieldItem | FieldItem[]): void;
|
|
15
15
|
insertAfter(f: FieldItem | FieldItem[]): void;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type FieldVisitor = Record<string, (context: FieldVisitorContext) => void>;
|
|
18
|
+
export type AgeContext = Record<'age' | 'day' | 'month' | 'year' | 'hours', number>;
|
|
19
|
+
export type IdCardParseInfo = Record<'sex' | 'birthday', string> & AgeContext;
|
|
20
|
+
export type FormRenderExpose = {
|
|
21
21
|
formModel: Form;
|
|
22
22
|
/**
|
|
23
23
|
* @desc 触发表单校验
|
|
@@ -101,13 +101,13 @@ export declare type FormRenderExpose = {
|
|
|
101
101
|
applySelectedSetting(settings: LowCodeTypes.selectedSettingConfig[]): void;
|
|
102
102
|
getTextFormValues(): AnyObject;
|
|
103
103
|
};
|
|
104
|
-
export
|
|
104
|
+
export type FormChangeContext = Partial<{
|
|
105
105
|
currentOption: AnyObject;
|
|
106
106
|
labelField: string;
|
|
107
107
|
valueField: string;
|
|
108
108
|
aliasField: string;
|
|
109
109
|
}>;
|
|
110
|
-
export
|
|
110
|
+
export type FormChangePayload = {
|
|
111
111
|
value: any;
|
|
112
112
|
oldValue: any;
|
|
113
113
|
fieldKey: string;
|
|
@@ -115,14 +115,14 @@ export declare type FormChangePayload = {
|
|
|
115
115
|
fieldInstance: DataField;
|
|
116
116
|
context?: FormChangeContext;
|
|
117
117
|
};
|
|
118
|
-
export
|
|
118
|
+
export type ObjectDependKey = {
|
|
119
119
|
paramName: string;
|
|
120
120
|
paramValue?: string;
|
|
121
121
|
required?: boolean;
|
|
122
122
|
keepValue?: boolean;
|
|
123
123
|
};
|
|
124
|
-
export
|
|
125
|
-
export
|
|
124
|
+
export type DependKeyType = string | Record<string, string> | Array<ObjectDependKey | string>;
|
|
125
|
+
export type FormRenderLifeCycle = Partial<{
|
|
126
126
|
onSetup(): void;
|
|
127
127
|
beforeSetValue(fieldKey: string, value: unknown, payload: {
|
|
128
128
|
field: GeneralField;
|
|
@@ -132,7 +132,7 @@ export declare type FormRenderLifeCycle = Partial<{
|
|
|
132
132
|
afterRequest(fieldKey: string, res?: any, payload?: AnyObject): AnyObject[] | Promise<AnyObject[]>;
|
|
133
133
|
afterOptionInit(fieldKey: string, options: AnyObject[], payload?: AnyObject): void;
|
|
134
134
|
}>;
|
|
135
|
-
export
|
|
135
|
+
export type FormRenderProps = Partial<{
|
|
136
136
|
fieldList: FieldItem[];
|
|
137
137
|
initialData: AnyObject;
|
|
138
138
|
fieldVisitor: FieldVisitor;
|
|
@@ -168,13 +168,13 @@ export declare type FormRenderProps = Partial<{
|
|
|
168
168
|
linebarTextDirection: 'vertical' | 'horizontal';
|
|
169
169
|
autoWidth: boolean | number;
|
|
170
170
|
}>;
|
|
171
|
-
export
|
|
171
|
+
export type FormBusinessFormatter = (payload: {
|
|
172
172
|
fieldKey: string;
|
|
173
173
|
value: unknown;
|
|
174
174
|
type: FIELD_BUSINESS_TYPE;
|
|
175
175
|
from: FIELD_BUSINESS_TYPE;
|
|
176
176
|
}) => unknown;
|
|
177
|
-
export
|
|
177
|
+
export type TextNodeType<T extends 'text' | 'widget' = 'text' | 'widget'> = {
|
|
178
178
|
type: T;
|
|
179
179
|
content: T extends 'text' ? string : FieldItem | string;
|
|
180
180
|
};
|
|
@@ -24,7 +24,7 @@ export declare function getAbsoluteKey(fieldKey: string, field: Pattern): string
|
|
|
24
24
|
export declare function editorUnescape(content: string): string;
|
|
25
25
|
export declare function FieldListFilter(list: FieldItem[], condition: (item: FieldItem) => boolean): FieldItem[];
|
|
26
26
|
export declare function findItemByValCondition(fieldList: FieldItem[], condition: (item: FieldItem) => boolean): FieldItem | null;
|
|
27
|
-
export declare function parseEnhanceText(str: string): TextNodeType
|
|
27
|
+
export declare function parseEnhanceText(str: string): TextNodeType[];
|
|
28
28
|
export declare function replace2Any(str: string, replacer: {
|
|
29
29
|
from: string;
|
|
30
30
|
to: any;
|