cnhis-design-vue 3.1.42-release.0 → 3.1.42-release.2
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/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/src/type.d.ts +3 -0
- package/es/components/annotation-edit/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +271 -0
- package/es/components/base-search/index.js +1 -0
- package/es/components/{table-filter/src/base-search-com/BaseSearch.vue.d.ts → base-search/src/index.vue.d.ts} +26 -113
- package/es/components/base-search/src/index.vue.js +1 -0
- package/es/components/base-search/style/iconfont.ttf +0 -0
- package/es/components/base-search/style/index.css +1 -0
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +3 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -2
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/api.d.ts +3 -0
- package/es/components/button-print/src/api.js +1 -0
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +995 -0
- package/es/components/classification/index.js +1 -0
- package/es/components/{table-filter → classification}/src/components/search-filter/index.vue.d.ts +10 -93
- package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
- package/es/components/{table-filter → classification}/src/components/set-classification/index.vue.d.ts +5 -130
- package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
- package/es/components/{table-filter → classification}/src/components/table-modal/index.vue.d.ts +0 -42
- package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
- package/es/components/classification/src/const/index.d.ts +2 -0
- package/es/components/classification/src/const/index.js +1 -0
- package/es/components/{table-filter/src/classification/Classification-com.vue.d.ts → classification/src/index.vue.d.ts} +57 -291
- package/es/components/classification/src/index.vue.js +1 -0
- package/es/components/classification/style/iconfont.ttf +0 -0
- package/es/components/classification/style/index.css +1 -0
- package/es/components/config-provider/index.d.ts +14 -0
- package/es/components/config-provider/index.js +1 -0
- package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
- package/es/components/config-provider/src/ConfigProvider.js +1 -0
- package/es/components/config-provider/src/interface.d.ts +19 -0
- package/es/components/config-provider/src/interface.js +1 -0
- package/es/components/config-provider/src/utils/index.d.ts +2 -0
- package/es/components/config-provider/src/utils/index.js +1 -0
- package/es/components/date-picker/index.d.ts +12 -0
- package/es/components/date-picker/index.js +1 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +12 -0
- package/es/components/date-picker/src/DatePicker.vue.js +1 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
- package/es/components/field-set/index.d.ts +82 -13
- package/es/components/field-set/src/FieldSet.vue.d.ts +78 -27
- package/es/components/field-set/src/types/index.d.ts +18 -0
- package/es/components/field-set/src/types/index.js +1 -0
- package/es/components/form-config/index.d.ts +36 -27
- package/es/components/form-config/src/FormConfig.vue.d.ts +36 -27
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -11
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +14 -14
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +9 -1
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +33 -6
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +11 -11
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +11 -11
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -11
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -1
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +16 -0
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -0
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +2 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +1526 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +1526 -0
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +6 -5
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +3 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +12 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +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/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +12 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +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.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +2 -0
- package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
- package/es/components/iho-table/src/utils/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +9 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +3800 -157
- package/es/components/info-header/src/InfoHeader.vue.d.ts +3801 -157
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2669 -139
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
- package/es/components/info-header/src/constants/index.d.ts +4 -0
- package/es/components/info-header/src/constants/index.js +1 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +17 -3
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.js +1 -1
- package/es/components/keyboard/src/constants/index.d.ts +2 -0
- package/es/components/keyboard/src/constants/index.js +1 -0
- package/es/components/keyboard/style/index.css +1 -1
- package/es/components/quick-search/index.d.ts +713 -0
- package/es/components/quick-search/index.js +1 -0
- package/es/components/{table-filter/src/quick-search/QuickSearch.vue.d.ts → quick-search/src/index.vue.d.ts} +31 -120
- package/es/components/quick-search/src/index.vue.js +1 -0
- package/es/components/quick-search/style/index.css +1 -0
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +69 -116
- package/es/components/search-cascader/index.d.ts +2 -2
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/select-label/index.d.ts +70 -169
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +70 -116
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue.js +1 -1
- package/es/components/select-label/style/iconfont.ttf +0 -0
- package/es/components/select-label/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +12 -12
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -12
- package/es/components/steps-wheel/index.d.ts +1 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
- package/es/components/steps-wheel/src/constants/index.js +1 -0
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/table-filter/index.d.ts +0 -2386
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -54
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.d.ts +8 -0
- package/es/components/table-filter/src/tool/baseOptions.js +1 -0
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +13 -243
- package/es/components/time-picker/index.d.ts +12 -0
- package/es/components/time-picker/index.js +1 -0
- package/es/components/time-picker/src/TimePicker.vue.d.ts +12 -0
- package/es/components/time-picker/src/TimePicker.vue.js +1 -0
- package/es/env.d.ts +24 -24
- package/es/shared/hooks/index.d.ts +3 -0
- package/es/shared/hooks/index.js +1 -0
- package/es/{components/form-render/src → shared}/hooks/useAsyncQueue.d.ts +0 -14
- package/es/shared/hooks/useAsyncQueue.js +1 -0
- package/es/shared/hooks/useDateTime.d.ts +6 -0
- package/es/shared/hooks/useDateTime.js +1 -0
- package/es/shared/hooks/useTheme.d.ts +3 -0
- package/es/shared/hooks/useTheme.js +1 -0
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/components/form-render/src/hooks/useAsyncQueue.js +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +0 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +0 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.js +0 -1
- package/es/components/table-filter/src/components/set-classification/index.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/index.vue.js +0 -1
- package/es/components/table-filter/src/const/index.d.ts +0 -5
- package/es/components/table-filter/src/const/index.js +0 -1
- package/es/components/table-filter/src/directive/resize.d.ts +0 -4
- package/es/components/table-filter/src/directive/resize.js +0 -1
- package/es/components/table-filter/src/hooks/export.d.ts +0 -1
- package/es/components/table-filter/src/hooks/export.js +0 -1
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
- package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
- package/es/components/table-filter/src/tool/getWidgetType.d.ts +0 -1
- package/es/components/table-filter/src/tool/getWidgetType.js +0 -1
- package/es/components/table-filter/src/tool/options.d.ts +0 -18
- package/es/components/table-filter/src/tool/options.js +0 -1
- package/es/components/table-filter/src/tool/resizeSensor.d.ts +0 -16
- package/es/components/table-filter/src/tool/resizeSensor.js +0 -1
- package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
- package/es/components/table-filter/src/tool/time-domain.js +0 -1
- package/es/components/table-filter/src/tool/utils.d.ts +0 -4
- package/es/components/table-filter/src/tool/utils.js +0 -1
- package/es/components/table-filter/style/index.css +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/colorLog.d.ts +0 -31
- package/es/shared/utils/colorLog.js +0 -1
- package/es/shared/utils/tapable/index.d.ts +0 -139
- /package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
- /package/es/components/{table-filter → classification}/src/directive/flexibleResize.js +0 -0
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { InfoHeaderTypes } from '../../../../../../es/components/info-header/src/types';
|
|
2
|
+
import { FieldItem, FormRenderExpose } from '../../../../../../es/components/form-render';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
patientInfo: {
|
|
4
5
|
type: null;
|
|
5
6
|
required: true;
|
|
6
7
|
default: () => {};
|
|
7
8
|
};
|
|
9
|
+
patientEditable: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
8
13
|
}, {
|
|
9
14
|
props: {
|
|
10
15
|
patientInfo: InfoHeaderTypes.PatientInfo;
|
|
16
|
+
patientEditable: boolean;
|
|
11
17
|
};
|
|
12
18
|
tagListExcludeEmpty: import("vue").ComputedRef<Partial<{
|
|
13
19
|
type?: "warning" | "info" | undefined;
|
|
@@ -18,20 +24,759 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
24
|
textColor?: string | undefined;
|
|
19
25
|
} | undefined;
|
|
20
26
|
}>[]>;
|
|
27
|
+
colorMap: {
|
|
28
|
+
warning: string;
|
|
29
|
+
info: string;
|
|
30
|
+
};
|
|
31
|
+
textColorMap: {
|
|
32
|
+
warning: string;
|
|
33
|
+
info: string;
|
|
34
|
+
};
|
|
21
35
|
getTagColor: ({ type }: InfoHeaderTypes.PatientTag) => {
|
|
22
36
|
color: string;
|
|
23
37
|
textColor: string;
|
|
24
38
|
};
|
|
39
|
+
show: import("vue").Ref<boolean>;
|
|
40
|
+
fieldList: import("vue").ComputedRef<FieldItem[]>;
|
|
41
|
+
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
42
|
+
confirm: () => Promise<void>;
|
|
25
43
|
NImage: any;
|
|
26
44
|
NEllipsis: any;
|
|
27
45
|
NTag: any;
|
|
28
46
|
NPopover: any;
|
|
47
|
+
NDivider: any;
|
|
48
|
+
NSpace: any;
|
|
49
|
+
NButton: any;
|
|
50
|
+
FormRender: import("../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
51
|
+
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
52
|
+
key: import("vue").Ref<number>;
|
|
53
|
+
reload: () => Promise<void>;
|
|
54
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList"];
|
|
55
|
+
exposed: Partial<FormRenderExpose>;
|
|
56
|
+
FormRender: import("vue").DefineComponent<{
|
|
57
|
+
fieldList: {
|
|
58
|
+
type: import("vue").PropType<FieldItem[]>;
|
|
59
|
+
};
|
|
60
|
+
initialData: {
|
|
61
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
62
|
+
default: () => {};
|
|
63
|
+
};
|
|
64
|
+
fieldVisitor: {
|
|
65
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FieldVisitor>;
|
|
66
|
+
};
|
|
67
|
+
column: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
maxHeight: {
|
|
72
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
anchor: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
parallelism: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
businessFormatter: {
|
|
84
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormBusinessFormatter>;
|
|
85
|
+
};
|
|
86
|
+
schema: {
|
|
87
|
+
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
88
|
+
[key: symbol]: any;
|
|
89
|
+
[key: `x-${string}`]: any;
|
|
90
|
+
[key: `x-${number}`]: any;
|
|
91
|
+
version?: string | undefined;
|
|
92
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
93
|
+
title?: any;
|
|
94
|
+
description?: any;
|
|
95
|
+
default?: any;
|
|
96
|
+
readOnly?: boolean | undefined;
|
|
97
|
+
writeOnly?: boolean | undefined;
|
|
98
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
99
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
100
|
+
const?: any;
|
|
101
|
+
multipleOf?: number | undefined;
|
|
102
|
+
maximum?: number | undefined;
|
|
103
|
+
exclusiveMaximum?: number | undefined;
|
|
104
|
+
minimum?: number | undefined;
|
|
105
|
+
exclusiveMinimum?: number | undefined;
|
|
106
|
+
maxLength?: number | undefined;
|
|
107
|
+
minLength?: number | undefined;
|
|
108
|
+
pattern?: string | RegExp | undefined;
|
|
109
|
+
maxItems?: number | undefined;
|
|
110
|
+
minItems?: number | undefined;
|
|
111
|
+
uniqueItems?: boolean | undefined;
|
|
112
|
+
maxProperties?: number | undefined;
|
|
113
|
+
minProperties?: number | undefined;
|
|
114
|
+
required?: string | boolean | string[] | undefined;
|
|
115
|
+
format?: string | undefined;
|
|
116
|
+
$ref?: string | undefined;
|
|
117
|
+
$namespace?: string | undefined;
|
|
118
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
119
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
120
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
121
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
122
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
123
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
124
|
+
"x-value"?: any;
|
|
125
|
+
"x-index"?: number | undefined;
|
|
126
|
+
"x-pattern"?: any;
|
|
127
|
+
"x-display"?: any;
|
|
128
|
+
"x-validator"?: any;
|
|
129
|
+
"x-decorator"?: any;
|
|
130
|
+
"x-decorator-props"?: any;
|
|
131
|
+
"x-component"?: any;
|
|
132
|
+
"x-component-props"?: any;
|
|
133
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
134
|
+
"x-content"?: any;
|
|
135
|
+
"x-data"?: any;
|
|
136
|
+
"x-visible"?: boolean | undefined;
|
|
137
|
+
"x-hidden"?: boolean | undefined;
|
|
138
|
+
"x-disabled"?: boolean | undefined;
|
|
139
|
+
"x-editable"?: boolean | undefined;
|
|
140
|
+
"x-read-only"?: boolean | undefined;
|
|
141
|
+
"x-read-pretty"?: boolean | undefined;
|
|
142
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
143
|
+
}>>;
|
|
144
|
+
};
|
|
145
|
+
components: {
|
|
146
|
+
type: import("vue").PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
147
|
+
default: () => {};
|
|
148
|
+
};
|
|
149
|
+
scope: {
|
|
150
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
151
|
+
default: () => {};
|
|
152
|
+
};
|
|
153
|
+
annotation: {
|
|
154
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
155
|
+
};
|
|
156
|
+
consumer: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
uuid: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
lifeCycle: {
|
|
164
|
+
type: import("vue").PropType<Partial<{
|
|
165
|
+
onSetup(): void;
|
|
166
|
+
beforeRequest(fieldKey: string, params?: import("../../../../../shared/types").AnyObject | undefined): void | import("../../../../../shared/types").UndefinedAble<import("../../../../../shared/types").AnyObject>;
|
|
167
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../../shared/types").AnyObject[];
|
|
168
|
+
}>>;
|
|
169
|
+
};
|
|
170
|
+
requestInstance: {
|
|
171
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").RequestInstance>;
|
|
172
|
+
};
|
|
173
|
+
enterToNextWidget: {
|
|
174
|
+
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
lowCodeReactions: {
|
|
178
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
179
|
+
};
|
|
180
|
+
linebarAutoHidden: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
185
|
+
fieldList: {
|
|
186
|
+
type: import("vue").PropType<FieldItem[]>;
|
|
187
|
+
};
|
|
188
|
+
initialData: {
|
|
189
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
190
|
+
default: () => {};
|
|
191
|
+
};
|
|
192
|
+
fieldVisitor: {
|
|
193
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FieldVisitor>;
|
|
194
|
+
};
|
|
195
|
+
column: {
|
|
196
|
+
type: NumberConstructor;
|
|
197
|
+
default: number;
|
|
198
|
+
};
|
|
199
|
+
maxHeight: {
|
|
200
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
anchor: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
parallelism: {
|
|
208
|
+
type: NumberConstructor;
|
|
209
|
+
default: number;
|
|
210
|
+
};
|
|
211
|
+
businessFormatter: {
|
|
212
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormBusinessFormatter>;
|
|
213
|
+
};
|
|
214
|
+
schema: {
|
|
215
|
+
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
216
|
+
[key: symbol]: any;
|
|
217
|
+
[key: `x-${string}`]: any;
|
|
218
|
+
[key: `x-${number}`]: any;
|
|
219
|
+
version?: string | undefined;
|
|
220
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
221
|
+
title?: any;
|
|
222
|
+
description?: any;
|
|
223
|
+
default?: any;
|
|
224
|
+
readOnly?: boolean | undefined;
|
|
225
|
+
writeOnly?: boolean | undefined;
|
|
226
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
227
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
228
|
+
const?: any;
|
|
229
|
+
multipleOf?: number | undefined;
|
|
230
|
+
maximum?: number | undefined;
|
|
231
|
+
exclusiveMaximum?: number | undefined;
|
|
232
|
+
minimum?: number | undefined;
|
|
233
|
+
exclusiveMinimum?: number | undefined;
|
|
234
|
+
maxLength?: number | undefined;
|
|
235
|
+
minLength?: number | undefined;
|
|
236
|
+
pattern?: string | RegExp | undefined;
|
|
237
|
+
maxItems?: number | undefined;
|
|
238
|
+
minItems?: number | undefined;
|
|
239
|
+
uniqueItems?: boolean | undefined;
|
|
240
|
+
maxProperties?: number | undefined;
|
|
241
|
+
minProperties?: number | undefined;
|
|
242
|
+
required?: string | boolean | string[] | undefined;
|
|
243
|
+
format?: string | undefined;
|
|
244
|
+
$ref?: string | undefined;
|
|
245
|
+
$namespace?: string | undefined;
|
|
246
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
247
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
248
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
249
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
250
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
251
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
252
|
+
"x-value"?: any;
|
|
253
|
+
"x-index"?: number | undefined;
|
|
254
|
+
"x-pattern"?: any;
|
|
255
|
+
"x-display"?: any;
|
|
256
|
+
"x-validator"?: any;
|
|
257
|
+
"x-decorator"?: any;
|
|
258
|
+
"x-decorator-props"?: any;
|
|
259
|
+
"x-component"?: any;
|
|
260
|
+
"x-component-props"?: any;
|
|
261
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
262
|
+
"x-content"?: any;
|
|
263
|
+
"x-data"?: any;
|
|
264
|
+
"x-visible"?: boolean | undefined;
|
|
265
|
+
"x-hidden"?: boolean | undefined;
|
|
266
|
+
"x-disabled"?: boolean | undefined;
|
|
267
|
+
"x-editable"?: boolean | undefined;
|
|
268
|
+
"x-read-only"?: boolean | undefined;
|
|
269
|
+
"x-read-pretty"?: boolean | undefined;
|
|
270
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
271
|
+
}>>;
|
|
272
|
+
};
|
|
273
|
+
components: {
|
|
274
|
+
type: import("vue").PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
275
|
+
default: () => {};
|
|
276
|
+
};
|
|
277
|
+
scope: {
|
|
278
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
279
|
+
default: () => {};
|
|
280
|
+
};
|
|
281
|
+
annotation: {
|
|
282
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
283
|
+
};
|
|
284
|
+
consumer: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
uuid: {
|
|
289
|
+
type: StringConstructor;
|
|
290
|
+
};
|
|
291
|
+
lifeCycle: {
|
|
292
|
+
type: import("vue").PropType<Partial<{
|
|
293
|
+
onSetup(): void;
|
|
294
|
+
beforeRequest(fieldKey: string, params?: import("../../../../../shared/types").AnyObject | undefined): void | import("../../../../../shared/types").UndefinedAble<import("../../../../../shared/types").AnyObject>;
|
|
295
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../../shared/types").AnyObject[];
|
|
296
|
+
}>>;
|
|
297
|
+
};
|
|
298
|
+
requestInstance: {
|
|
299
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").RequestInstance>;
|
|
300
|
+
};
|
|
301
|
+
enterToNextWidget: {
|
|
302
|
+
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
lowCodeReactions: {
|
|
306
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
307
|
+
};
|
|
308
|
+
linebarAutoHidden: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
};
|
|
311
|
+
}>> & {
|
|
312
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
313
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
}>>;
|
|
316
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
317
|
+
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
318
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
319
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
320
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
321
|
+
businessCollector: import("../../../../../../es/components/form-render").BusinessCollector;
|
|
322
|
+
formItemDepsCollector: import("../../../../../../es/components/form-render").FormItemDepsCollector;
|
|
323
|
+
changeContextCollector: import("../../../../../../es/components/form-render").ContextCollector;
|
|
324
|
+
formUUID: string;
|
|
325
|
+
anchorBarRef: import("vue").Ref<{
|
|
326
|
+
syncBarPosition: import("../../../../../shared/types").Func<any[], any>;
|
|
327
|
+
} | undefined>;
|
|
328
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
329
|
+
generateAnchorList: (formModel: import("../../../../../../es/components/form-render").Form<any>) => Promise<void>;
|
|
330
|
+
updateAnchorList: (field: import("../../../../../../es/components/form-render").GeneralField) => void;
|
|
331
|
+
anchorIdList: import("vue").Ref<{
|
|
332
|
+
name: string;
|
|
333
|
+
title: string;
|
|
334
|
+
}[]>;
|
|
335
|
+
onScroll: (scrollEvent: Event) => void;
|
|
336
|
+
triggerAutoHidden: (field: import("../../../../../../es/components/form-render").GeneralField) => Promise<void>;
|
|
337
|
+
observeFormGraph: Record<string, import("../../../../../../es/components/form-render").GeneralField>;
|
|
338
|
+
setGraph: (field: import("../../../../../../es/components/form-render").GeneralField) => void;
|
|
339
|
+
removeGraph: (field: import("../../../../../../es/components/form-render").GeneralField) => void;
|
|
340
|
+
formModel: import("../../../../../../es/components/form-render").Form<{
|
|
341
|
+
[x: string]: any;
|
|
342
|
+
}>;
|
|
343
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
344
|
+
triggerAllReactionsHandler: () => void;
|
|
345
|
+
schemaAdaptor: (fieldList: FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
346
|
+
[key: symbol]: any;
|
|
347
|
+
[key: `x-${string}`]: any;
|
|
348
|
+
[key: `x-${number}`]: any;
|
|
349
|
+
version?: string | undefined;
|
|
350
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
351
|
+
title?: any;
|
|
352
|
+
description?: any;
|
|
353
|
+
default?: any;
|
|
354
|
+
readOnly?: boolean | undefined;
|
|
355
|
+
writeOnly?: boolean | undefined;
|
|
356
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
357
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
358
|
+
const?: any;
|
|
359
|
+
multipleOf?: number | undefined;
|
|
360
|
+
maximum?: number | undefined;
|
|
361
|
+
exclusiveMaximum?: number | undefined;
|
|
362
|
+
minimum?: number | undefined;
|
|
363
|
+
exclusiveMinimum?: number | undefined;
|
|
364
|
+
maxLength?: number | undefined;
|
|
365
|
+
minLength?: number | undefined;
|
|
366
|
+
pattern?: string | RegExp | undefined;
|
|
367
|
+
maxItems?: number | undefined;
|
|
368
|
+
minItems?: number | undefined;
|
|
369
|
+
uniqueItems?: boolean | undefined;
|
|
370
|
+
maxProperties?: number | undefined;
|
|
371
|
+
minProperties?: number | undefined;
|
|
372
|
+
required?: string | boolean | string[] | undefined;
|
|
373
|
+
format?: string | undefined;
|
|
374
|
+
$ref?: string | undefined;
|
|
375
|
+
$namespace?: string | undefined;
|
|
376
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
377
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
378
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
379
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
380
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
381
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
382
|
+
"x-value"?: any;
|
|
383
|
+
"x-index"?: number | undefined;
|
|
384
|
+
"x-pattern"?: any;
|
|
385
|
+
"x-display"?: any;
|
|
386
|
+
"x-validator"?: any;
|
|
387
|
+
"x-decorator"?: any;
|
|
388
|
+
"x-decorator-props"?: any;
|
|
389
|
+
"x-component"?: any;
|
|
390
|
+
"x-component-props"?: any;
|
|
391
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
392
|
+
"x-content"?: any;
|
|
393
|
+
"x-data"?: any;
|
|
394
|
+
"x-visible"?: boolean | undefined;
|
|
395
|
+
"x-hidden"?: boolean | undefined;
|
|
396
|
+
"x-disabled"?: boolean | undefined;
|
|
397
|
+
"x-editable"?: boolean | undefined;
|
|
398
|
+
"x-read-only"?: boolean | undefined;
|
|
399
|
+
"x-read-pretty"?: boolean | undefined;
|
|
400
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
401
|
+
}>>;
|
|
402
|
+
_fieldList: FieldItem[];
|
|
403
|
+
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
404
|
+
[key: symbol]: any;
|
|
405
|
+
[key: `x-${string}`]: any;
|
|
406
|
+
[key: `x-${number}`]: any;
|
|
407
|
+
version?: string | undefined;
|
|
408
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
409
|
+
title?: any;
|
|
410
|
+
description?: any;
|
|
411
|
+
default?: any;
|
|
412
|
+
readOnly?: boolean | undefined;
|
|
413
|
+
writeOnly?: boolean | undefined;
|
|
414
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
415
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
416
|
+
const?: any;
|
|
417
|
+
multipleOf?: number | undefined;
|
|
418
|
+
maximum?: number | undefined;
|
|
419
|
+
exclusiveMaximum?: number | undefined;
|
|
420
|
+
minimum?: number | undefined;
|
|
421
|
+
exclusiveMinimum?: number | undefined;
|
|
422
|
+
maxLength?: number | undefined;
|
|
423
|
+
minLength?: number | undefined;
|
|
424
|
+
pattern?: string | RegExp | undefined;
|
|
425
|
+
maxItems?: number | undefined;
|
|
426
|
+
minItems?: number | undefined;
|
|
427
|
+
uniqueItems?: boolean | undefined;
|
|
428
|
+
maxProperties?: number | undefined;
|
|
429
|
+
minProperties?: number | undefined;
|
|
430
|
+
required?: string | boolean | string[] | undefined;
|
|
431
|
+
format?: string | undefined;
|
|
432
|
+
$ref?: string | undefined;
|
|
433
|
+
$namespace?: string | undefined;
|
|
434
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
435
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
436
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
437
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
438
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
439
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
440
|
+
"x-value"?: any;
|
|
441
|
+
"x-index"?: number | undefined;
|
|
442
|
+
"x-pattern"?: any;
|
|
443
|
+
"x-display"?: any;
|
|
444
|
+
"x-validator"?: any;
|
|
445
|
+
"x-decorator"?: any;
|
|
446
|
+
"x-decorator-props"?: any;
|
|
447
|
+
"x-component"?: any;
|
|
448
|
+
"x-component-props"?: any;
|
|
449
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
450
|
+
"x-content"?: any;
|
|
451
|
+
"x-data"?: any;
|
|
452
|
+
"x-visible"?: boolean | undefined;
|
|
453
|
+
"x-hidden"?: boolean | undefined;
|
|
454
|
+
"x-disabled"?: boolean | undefined;
|
|
455
|
+
"x-editable"?: boolean | undefined;
|
|
456
|
+
"x-read-only"?: boolean | undefined;
|
|
457
|
+
"x-read-pretty"?: boolean | undefined;
|
|
458
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
459
|
+
}>>;
|
|
460
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
461
|
+
clearSpan: (uuid: string) => void;
|
|
462
|
+
exposeEvent: {
|
|
463
|
+
validate(path?: string): Promise<void>;
|
|
464
|
+
getFormValues(needCombineExtendKey?: boolean): any;
|
|
465
|
+
setFormValues(values: import("../../../../../shared/types").AnyObject, needSplitExtendKey?: boolean): void;
|
|
466
|
+
setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
|
|
467
|
+
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
468
|
+
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
469
|
+
data: any;
|
|
470
|
+
loading: boolean;
|
|
471
|
+
required: boolean;
|
|
472
|
+
value: string;
|
|
473
|
+
readonly index: string | number;
|
|
474
|
+
disabled: boolean;
|
|
475
|
+
onFocus: (...args: any[]) => Promise<void>;
|
|
476
|
+
onBlur: (...args: any[]) => Promise<void>;
|
|
477
|
+
onInput: (...args: any[]) => Promise<void>;
|
|
478
|
+
reset: (options?: import("../../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
479
|
+
visible: boolean;
|
|
480
|
+
submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
|
|
481
|
+
validator: import("../../../../../../es/components/form-render").FieldValidator;
|
|
482
|
+
pattern: import("../../../../../../es/components/form-render").FieldPatternTypes;
|
|
483
|
+
title: string;
|
|
484
|
+
form: import("../../../../../../es/components/form-render").Form<any>;
|
|
485
|
+
content: any;
|
|
486
|
+
componentProps: Record<string, any>;
|
|
487
|
+
decoratorProps: Record<string, any>;
|
|
488
|
+
display: import("../../../../../../es/components/form-render").FieldDisplayTypes;
|
|
489
|
+
description: string;
|
|
490
|
+
readOnly: boolean;
|
|
491
|
+
editable: boolean;
|
|
492
|
+
hidden: boolean;
|
|
493
|
+
component: import("../../../../../../es/components/form-render").FieldComponent<any, any>;
|
|
494
|
+
decorator: import("../../../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
495
|
+
validating: boolean;
|
|
496
|
+
submitting: boolean;
|
|
497
|
+
active: boolean;
|
|
498
|
+
visited: boolean;
|
|
499
|
+
selfModified: boolean;
|
|
500
|
+
modified: boolean;
|
|
501
|
+
inputValue: string;
|
|
502
|
+
inputValues: any[];
|
|
503
|
+
dataSource: import("../../../../../../es/components/form-render").FieldDataSource;
|
|
504
|
+
feedbacks: import("../../../../../../es/components/form-render").IFieldFeedback[];
|
|
505
|
+
caches: import("../../../../../../es/components/form-render").IFieldCaches;
|
|
506
|
+
selfErrors: import("../../../../../../es/components/form-render").FeedbackMessage;
|
|
507
|
+
readonly errors: import("../../../../../../es/components/form-render").IFormFeedback[];
|
|
508
|
+
selfWarnings: import("../../../../../../es/components/form-render").FeedbackMessage;
|
|
509
|
+
readonly warnings: import("../../../../../../es/components/form-render").IFormFeedback[];
|
|
510
|
+
selfSuccesses: import("../../../../../../es/components/form-render").FeedbackMessage;
|
|
511
|
+
readonly successes: import("../../../../../../es/components/form-render").IFormFeedback[];
|
|
512
|
+
readonly selfValid: boolean;
|
|
513
|
+
readonly valid: boolean;
|
|
514
|
+
readonly selfInvalid: boolean;
|
|
515
|
+
readonly invalid: boolean;
|
|
516
|
+
initialValue: string;
|
|
517
|
+
readonly validateStatus: "error" | "success" | "warning" | "validating";
|
|
518
|
+
setDataSource: (dataSource?: import("../../../../../../es/components/form-render").FieldDataSource | undefined) => void;
|
|
519
|
+
setFeedback: (feedback?: import("../../../../../../es/components/form-render").IFieldFeedback | undefined) => void;
|
|
520
|
+
setSelfErrors: (messages?: import("../../../../../../es/components/form-render").FeedbackMessage | undefined) => void;
|
|
521
|
+
setSelfWarnings: (messages?: import("../../../../../../es/components/form-render").FeedbackMessage | undefined) => void;
|
|
522
|
+
setSelfSuccesses: (messages?: import("../../../../../../es/components/form-render").FeedbackMessage | undefined) => void;
|
|
523
|
+
setValidator: (validator?: import("../../../../../../es/components/form-render").FieldValidator | undefined) => void;
|
|
524
|
+
setValidatorRule: (name: string, value: any) => void;
|
|
525
|
+
setRequired: (required?: boolean | undefined) => void;
|
|
526
|
+
setValue: (value?: string | undefined) => void;
|
|
527
|
+
setInitialValue: (initialValue?: string | undefined) => void;
|
|
528
|
+
setLoading: (loading?: boolean | undefined) => void;
|
|
529
|
+
setValidating: (validating?: boolean | undefined) => void;
|
|
530
|
+
setSubmitting: (submitting?: boolean | undefined) => void;
|
|
531
|
+
queryFeedbacks: (search?: import("../../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../../es/components/form-render").IFieldFeedback[];
|
|
532
|
+
modify: () => void;
|
|
533
|
+
initialized: boolean;
|
|
534
|
+
mounted: boolean;
|
|
535
|
+
unmounted: boolean;
|
|
536
|
+
decoratorType: any;
|
|
537
|
+
componentType: any;
|
|
538
|
+
designable: boolean;
|
|
539
|
+
locate: (address: import("@formily/path").Pattern) => void;
|
|
540
|
+
readonly parent: import("../../../../../../es/components/form-render").GeneralField;
|
|
541
|
+
readPretty: boolean;
|
|
542
|
+
readonly destroyed: boolean;
|
|
543
|
+
setTitle: (title?: string | undefined) => void;
|
|
544
|
+
setDescription: (description?: string | undefined) => void;
|
|
545
|
+
setDisplay: (type?: import("../../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
|
|
546
|
+
setPattern: (type?: import("../../../../../../es/components/form-render").FieldPatternTypes | undefined) => void;
|
|
547
|
+
setComponent: <C extends unknown, ComponentProps extends object = {}>(component?: C | undefined, props?: ComponentProps | undefined) => void;
|
|
548
|
+
setComponentProps: <ComponentProps_1 extends object = {}>(props?: ComponentProps_1 | undefined) => void;
|
|
549
|
+
setDecorator: <D extends unknown, ComponentProps_2 extends object = {}>(component?: D | undefined, props?: ComponentProps_2 | undefined) => void;
|
|
550
|
+
setDecoratorProps: <ComponentProps_3 extends object = {}>(props?: ComponentProps_3 | undefined) => void;
|
|
551
|
+
setData: (data: any) => void;
|
|
552
|
+
setContent: (content: any) => void;
|
|
553
|
+
onInit: () => void;
|
|
554
|
+
onMount: () => void;
|
|
555
|
+
onUnmount: () => void;
|
|
556
|
+
query: (pattern: import("@formily/path").Pattern) => import("../../../../../../es/components/form-render").Query;
|
|
557
|
+
notify: (type: import("../../../../../../es/components/form-render").LifeCycleTypes, payload?: any) => void;
|
|
558
|
+
dispose: () => void;
|
|
559
|
+
destroy: (forceClear?: boolean | undefined) => void;
|
|
560
|
+
}>>>) => void): void;
|
|
561
|
+
resetFields(path?: string): Promise<void>;
|
|
562
|
+
queryWidget(key: string): Promise<{
|
|
563
|
+
widgetElement: HTMLInputElement | null | undefined;
|
|
564
|
+
widgetElementList: HTMLInputElement[];
|
|
565
|
+
decoratorElement: HTMLElement | null | undefined;
|
|
566
|
+
} | null>;
|
|
567
|
+
};
|
|
568
|
+
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
569
|
+
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
570
|
+
form: any;
|
|
571
|
+
}>;
|
|
572
|
+
NConfigProvider: any;
|
|
573
|
+
NForm: any;
|
|
574
|
+
NTabPane: import("vue").DefineComponent<{
|
|
575
|
+
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
576
|
+
[key: string]: any;
|
|
577
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
578
|
+
readonly name: {
|
|
579
|
+
readonly type: import("vue").PropType<string | number>;
|
|
580
|
+
readonly required: true;
|
|
581
|
+
};
|
|
582
|
+
readonly disabled: BooleanConstructor;
|
|
583
|
+
readonly displayDirective: {
|
|
584
|
+
readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
|
|
585
|
+
readonly default: "if";
|
|
586
|
+
};
|
|
587
|
+
readonly closable: {
|
|
588
|
+
readonly type: import("vue").PropType<boolean | undefined>;
|
|
589
|
+
readonly default: undefined;
|
|
590
|
+
};
|
|
591
|
+
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
592
|
+
readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
593
|
+
[key: string]: any;
|
|
594
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
595
|
+
}, {
|
|
596
|
+
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
597
|
+
class: import("vue").Ref<string | undefined>;
|
|
598
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
599
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
600
|
+
readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
601
|
+
[key: string]: any;
|
|
602
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
603
|
+
readonly name: {
|
|
604
|
+
readonly type: import("vue").PropType<string | number>;
|
|
605
|
+
readonly required: true;
|
|
606
|
+
};
|
|
607
|
+
readonly disabled: BooleanConstructor;
|
|
608
|
+
readonly displayDirective: {
|
|
609
|
+
readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
|
|
610
|
+
readonly default: "if";
|
|
611
|
+
};
|
|
612
|
+
readonly closable: {
|
|
613
|
+
readonly type: import("vue").PropType<boolean | undefined>;
|
|
614
|
+
readonly default: undefined;
|
|
615
|
+
};
|
|
616
|
+
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
617
|
+
readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
618
|
+
[key: string]: any;
|
|
619
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
620
|
+
}>>, {
|
|
621
|
+
readonly disabled: boolean;
|
|
622
|
+
readonly closable: boolean | undefined;
|
|
623
|
+
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
624
|
+
}>;
|
|
625
|
+
NTabs: any;
|
|
626
|
+
}, 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<{
|
|
627
|
+
fieldList: {
|
|
628
|
+
type: import("vue").PropType<FieldItem[]>;
|
|
629
|
+
};
|
|
630
|
+
initialData: {
|
|
631
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
632
|
+
default: () => {};
|
|
633
|
+
};
|
|
634
|
+
fieldVisitor: {
|
|
635
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FieldVisitor>;
|
|
636
|
+
};
|
|
637
|
+
column: {
|
|
638
|
+
type: NumberConstructor;
|
|
639
|
+
default: number;
|
|
640
|
+
};
|
|
641
|
+
maxHeight: {
|
|
642
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
643
|
+
default: string;
|
|
644
|
+
};
|
|
645
|
+
anchor: {
|
|
646
|
+
type: BooleanConstructor;
|
|
647
|
+
default: boolean;
|
|
648
|
+
};
|
|
649
|
+
parallelism: {
|
|
650
|
+
type: NumberConstructor;
|
|
651
|
+
default: number;
|
|
652
|
+
};
|
|
653
|
+
businessFormatter: {
|
|
654
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormBusinessFormatter>;
|
|
655
|
+
};
|
|
656
|
+
schema: {
|
|
657
|
+
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
658
|
+
[key: symbol]: any;
|
|
659
|
+
[key: `x-${string}`]: any;
|
|
660
|
+
[key: `x-${number}`]: any;
|
|
661
|
+
version?: string | undefined;
|
|
662
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
663
|
+
title?: any;
|
|
664
|
+
description?: any;
|
|
665
|
+
default?: any;
|
|
666
|
+
readOnly?: boolean | undefined;
|
|
667
|
+
writeOnly?: boolean | undefined;
|
|
668
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
669
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
670
|
+
const?: any;
|
|
671
|
+
multipleOf?: number | undefined;
|
|
672
|
+
maximum?: number | undefined;
|
|
673
|
+
exclusiveMaximum?: number | undefined;
|
|
674
|
+
minimum?: number | undefined;
|
|
675
|
+
exclusiveMinimum?: number | undefined;
|
|
676
|
+
maxLength?: number | undefined;
|
|
677
|
+
minLength?: number | undefined;
|
|
678
|
+
pattern?: string | RegExp | undefined;
|
|
679
|
+
maxItems?: number | undefined;
|
|
680
|
+
minItems?: number | undefined;
|
|
681
|
+
uniqueItems?: boolean | undefined;
|
|
682
|
+
maxProperties?: number | undefined;
|
|
683
|
+
minProperties?: number | undefined;
|
|
684
|
+
required?: string | boolean | string[] | undefined;
|
|
685
|
+
format?: string | undefined;
|
|
686
|
+
$ref?: string | undefined;
|
|
687
|
+
$namespace?: string | undefined;
|
|
688
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
689
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
690
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
691
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
692
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
693
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
694
|
+
"x-value"?: any;
|
|
695
|
+
"x-index"?: number | undefined;
|
|
696
|
+
"x-pattern"?: any;
|
|
697
|
+
"x-display"?: any;
|
|
698
|
+
"x-validator"?: any;
|
|
699
|
+
"x-decorator"?: any;
|
|
700
|
+
"x-decorator-props"?: any;
|
|
701
|
+
"x-component"?: any;
|
|
702
|
+
"x-component-props"?: any;
|
|
703
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
704
|
+
"x-content"?: any;
|
|
705
|
+
"x-data"?: any;
|
|
706
|
+
"x-visible"?: boolean | undefined;
|
|
707
|
+
"x-hidden"?: boolean | undefined;
|
|
708
|
+
"x-disabled"?: boolean | undefined;
|
|
709
|
+
"x-editable"?: boolean | undefined;
|
|
710
|
+
"x-read-only"?: boolean | undefined;
|
|
711
|
+
"x-read-pretty"?: boolean | undefined;
|
|
712
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
713
|
+
}>>;
|
|
714
|
+
};
|
|
715
|
+
components: {
|
|
716
|
+
type: import("vue").PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
717
|
+
default: () => {};
|
|
718
|
+
};
|
|
719
|
+
scope: {
|
|
720
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
721
|
+
default: () => {};
|
|
722
|
+
};
|
|
723
|
+
annotation: {
|
|
724
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
|
725
|
+
};
|
|
726
|
+
consumer: {
|
|
727
|
+
type: BooleanConstructor;
|
|
728
|
+
default: boolean;
|
|
729
|
+
};
|
|
730
|
+
uuid: {
|
|
731
|
+
type: StringConstructor;
|
|
732
|
+
};
|
|
733
|
+
lifeCycle: {
|
|
734
|
+
type: import("vue").PropType<Partial<{
|
|
735
|
+
onSetup(): void;
|
|
736
|
+
beforeRequest(fieldKey: string, params?: import("../../../../../shared/types").AnyObject | undefined): void | import("../../../../../shared/types").UndefinedAble<import("../../../../../shared/types").AnyObject>;
|
|
737
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../../shared/types").AnyObject[];
|
|
738
|
+
}>>;
|
|
739
|
+
};
|
|
740
|
+
requestInstance: {
|
|
741
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").RequestInstance>;
|
|
742
|
+
};
|
|
743
|
+
enterToNextWidget: {
|
|
744
|
+
type: import("vue").PropType<boolean | ((fieldItem: FieldItem) => boolean | void)>;
|
|
745
|
+
default: boolean;
|
|
746
|
+
};
|
|
747
|
+
lowCodeReactions: {
|
|
748
|
+
type: import("vue").PropType<import("../../../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
|
|
749
|
+
};
|
|
750
|
+
linebarAutoHidden: {
|
|
751
|
+
type: BooleanConstructor;
|
|
752
|
+
};
|
|
753
|
+
}>> & {
|
|
754
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
755
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
756
|
+
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
757
|
+
}, {
|
|
758
|
+
anchor: boolean;
|
|
759
|
+
maxHeight: string | number;
|
|
760
|
+
column: number;
|
|
761
|
+
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
762
|
+
initialData: import("../../../../../shared/types").AnyObject;
|
|
763
|
+
parallelism: number;
|
|
764
|
+
scope: import("../../../../../shared/types").AnyObject;
|
|
765
|
+
consumer: boolean;
|
|
766
|
+
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
767
|
+
linebarAutoHidden: boolean;
|
|
768
|
+
}>;
|
|
769
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
29
770
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
771
|
patientInfo: {
|
|
31
772
|
type: null;
|
|
32
773
|
required: true;
|
|
33
774
|
default: () => {};
|
|
34
775
|
};
|
|
776
|
+
patientEditable: {
|
|
777
|
+
type: BooleanConstructor;
|
|
778
|
+
required: true;
|
|
779
|
+
};
|
|
35
780
|
}>>, {
|
|
36
781
|
patientInfo: any;
|
|
37
782
|
}>;
|