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
|
@@ -30,6 +30,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
}>> & {}>>;
|
|
32
32
|
uuid: string;
|
|
33
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
33
34
|
getCommonConfig: (formConfig?: import("./src/types").FormConfigItem | undefined) => {
|
|
34
35
|
move: ({ to, from, dragged }: import("sortablejs").MoveEvent) => false | undefined;
|
|
35
36
|
onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
|
|
@@ -59,7 +60,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
59
60
|
originalSetting?: {
|
|
60
61
|
[x: string]: any;
|
|
61
62
|
val_key: string;
|
|
62
|
-
html_type: "LINEBAR" |
|
|
63
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
63
64
|
annotation?: boolean | undefined;
|
|
64
65
|
val_key_unit?: string | undefined;
|
|
65
66
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -1752,7 +1753,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1752
1753
|
originalSetting?: {
|
|
1753
1754
|
[x: string]: any;
|
|
1754
1755
|
val_key: string;
|
|
1755
|
-
html_type: "LINEBAR" |
|
|
1756
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
1756
1757
|
annotation?: boolean | undefined;
|
|
1757
1758
|
val_key_unit?: string | undefined;
|
|
1758
1759
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -3787,7 +3788,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3787
3788
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
3788
3789
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
3789
3790
|
}>>;
|
|
3790
|
-
emit: (event: "
|
|
3791
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
3791
3792
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
3792
3793
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3793
3794
|
formHeight: import("vue").ComputedRef<string>;
|
|
@@ -3957,28 +3958,24 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3957
3958
|
title: string;
|
|
3958
3959
|
form: import("@formily/core").Form<any>;
|
|
3959
3960
|
content: any;
|
|
3960
|
-
hidden: boolean;
|
|
3961
|
-
active: boolean;
|
|
3962
|
-
dataSource: import("@formily/core").FieldDataSource;
|
|
3963
|
-
description: string;
|
|
3964
|
-
display: import("@formily/core").FieldDisplayTypes;
|
|
3965
|
-
mounted: boolean;
|
|
3966
|
-
readonly destroyed: boolean;
|
|
3967
|
-
unmounted: boolean;
|
|
3968
3961
|
componentProps: Record<string, any>;
|
|
3969
3962
|
decoratorProps: Record<string, any>;
|
|
3963
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
3964
|
+
description: string;
|
|
3970
3965
|
readOnly: boolean;
|
|
3971
3966
|
editable: boolean;
|
|
3967
|
+
hidden: boolean;
|
|
3972
3968
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
3973
3969
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
3974
|
-
readPretty: boolean;
|
|
3975
3970
|
validating: boolean;
|
|
3976
3971
|
submitting: boolean;
|
|
3972
|
+
active: boolean;
|
|
3977
3973
|
visited: boolean;
|
|
3978
3974
|
selfModified: boolean;
|
|
3979
3975
|
modified: boolean;
|
|
3980
3976
|
inputValue: string;
|
|
3981
3977
|
inputValues: any[];
|
|
3978
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
3982
3979
|
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
3983
3980
|
caches: import("@formily/core").IFieldCaches;
|
|
3984
3981
|
selfErrors: import("@formily/core").FeedbackMessage;
|
|
@@ -4009,11 +4006,15 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4009
4006
|
queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
|
|
4010
4007
|
modify: () => void;
|
|
4011
4008
|
initialized: boolean;
|
|
4009
|
+
mounted: boolean;
|
|
4010
|
+
unmounted: boolean;
|
|
4012
4011
|
decoratorType: any;
|
|
4013
4012
|
componentType: any;
|
|
4014
4013
|
designable: boolean;
|
|
4015
4014
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
4016
4015
|
readonly parent: import("@formily/core").GeneralField;
|
|
4016
|
+
readPretty: boolean;
|
|
4017
|
+
readonly destroyed: boolean;
|
|
4017
4018
|
setTitle: (title?: string | undefined) => void;
|
|
4018
4019
|
setDescription: (description?: string | undefined) => void;
|
|
4019
4020
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -4097,7 +4098,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4097
4098
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
4098
4099
|
}>;
|
|
4099
4100
|
NTabs: any;
|
|
4100
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
4101
|
+
}, 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<{
|
|
4101
4102
|
fieldList: {
|
|
4102
4103
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
4103
4104
|
};
|
|
@@ -4376,7 +4377,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4376
4377
|
fieldList: import("vue").Ref<{
|
|
4377
4378
|
[x: string]: any;
|
|
4378
4379
|
val_key: string;
|
|
4379
|
-
html_type: "LINEBAR" |
|
|
4380
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
4380
4381
|
annotation?: boolean | undefined;
|
|
4381
4382
|
val_key_unit?: string | undefined;
|
|
4382
4383
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -6082,7 +6083,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6082
6083
|
originalSetting?: {
|
|
6083
6084
|
[x: string]: any;
|
|
6084
6085
|
val_key: string;
|
|
6085
|
-
html_type: "LINEBAR" |
|
|
6086
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
6086
6087
|
annotation?: boolean | undefined;
|
|
6087
6088
|
val_key_unit?: string | undefined;
|
|
6088
6089
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -7759,7 +7760,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7759
7760
|
originalSetting?: {
|
|
7760
7761
|
[x: string]: any;
|
|
7761
7762
|
val_key: string;
|
|
7762
|
-
html_type: "LINEBAR" |
|
|
7763
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
7763
7764
|
annotation?: boolean | undefined;
|
|
7764
7765
|
val_key_unit?: string | undefined;
|
|
7765
7766
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -9705,7 +9706,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9705
9706
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
9706
9707
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
9707
9708
|
}>>;
|
|
9708
|
-
emit: (event: "
|
|
9709
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
9709
9710
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
9710
9711
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
9711
9712
|
formHeight: import("vue").ComputedRef<string>;
|
|
@@ -9875,28 +9876,24 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9875
9876
|
title: string;
|
|
9876
9877
|
form: import("@formily/core").Form<any>;
|
|
9877
9878
|
content: any;
|
|
9878
|
-
hidden: boolean;
|
|
9879
|
-
active: boolean;
|
|
9880
|
-
dataSource: import("@formily/core").FieldDataSource;
|
|
9881
|
-
description: string;
|
|
9882
|
-
display: import("@formily/core").FieldDisplayTypes;
|
|
9883
|
-
mounted: boolean;
|
|
9884
|
-
readonly destroyed: boolean;
|
|
9885
|
-
unmounted: boolean;
|
|
9886
9879
|
componentProps: Record<string, any>;
|
|
9887
9880
|
decoratorProps: Record<string, any>;
|
|
9881
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
9882
|
+
description: string;
|
|
9888
9883
|
readOnly: boolean;
|
|
9889
9884
|
editable: boolean;
|
|
9885
|
+
hidden: boolean;
|
|
9890
9886
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
9891
9887
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
9892
|
-
readPretty: boolean;
|
|
9893
9888
|
validating: boolean;
|
|
9894
9889
|
submitting: boolean;
|
|
9890
|
+
active: boolean;
|
|
9895
9891
|
visited: boolean;
|
|
9896
9892
|
selfModified: boolean;
|
|
9897
9893
|
modified: boolean;
|
|
9898
9894
|
inputValue: string;
|
|
9899
9895
|
inputValues: any[];
|
|
9896
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
9900
9897
|
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
9901
9898
|
caches: import("@formily/core").IFieldCaches;
|
|
9902
9899
|
selfErrors: import("@formily/core").FeedbackMessage;
|
|
@@ -9927,11 +9924,15 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9927
9924
|
queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
|
|
9928
9925
|
modify: () => void;
|
|
9929
9926
|
initialized: boolean;
|
|
9927
|
+
mounted: boolean;
|
|
9928
|
+
unmounted: boolean;
|
|
9930
9929
|
decoratorType: any;
|
|
9931
9930
|
componentType: any;
|
|
9932
9931
|
designable: boolean;
|
|
9933
9932
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
9934
9933
|
readonly parent: import("@formily/core").GeneralField;
|
|
9934
|
+
readPretty: boolean;
|
|
9935
|
+
readonly destroyed: boolean;
|
|
9935
9936
|
setTitle: (title?: string | undefined) => void;
|
|
9936
9937
|
setDescription: (description?: string | undefined) => void;
|
|
9937
9938
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -10015,7 +10016,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
10015
10016
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
10016
10017
|
}>;
|
|
10017
10018
|
NTabs: any;
|
|
10018
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
10019
|
+
}, 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<{
|
|
10019
10020
|
fieldList: {
|
|
10020
10021
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
10021
10022
|
};
|
|
@@ -10173,11 +10174,19 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
10173
10174
|
type: import("vue").PropType<import("./src/types").FormConfigItem>;
|
|
10174
10175
|
required: true;
|
|
10175
10176
|
};
|
|
10177
|
+
textFormatter: {
|
|
10178
|
+
type: import("vue").PropType<import("./src/types").FormConfigTextFormatter>;
|
|
10179
|
+
required: true;
|
|
10180
|
+
};
|
|
10176
10181
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10177
10182
|
formConfigItem: {
|
|
10178
10183
|
type: import("vue").PropType<import("./src/types").FormConfigItem>;
|
|
10179
10184
|
required: true;
|
|
10180
10185
|
};
|
|
10186
|
+
textFormatter: {
|
|
10187
|
+
type: import("vue").PropType<import("./src/types").FormConfigTextFormatter>;
|
|
10188
|
+
required: true;
|
|
10189
|
+
};
|
|
10181
10190
|
}>>, {}>;
|
|
10182
10191
|
FORM_CONFIG_GROUP: string;
|
|
10183
10192
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -32,6 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
}>> & {}>>;
|
|
34
34
|
uuid: string;
|
|
35
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
35
36
|
getCommonConfig: (formConfig?: FormConfigItem | undefined) => {
|
|
36
37
|
move: ({ to, from, dragged }: import("sortablejs").MoveEvent) => false | undefined;
|
|
37
38
|
onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
|
|
@@ -61,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
62
|
originalSetting?: {
|
|
62
63
|
[x: string]: any;
|
|
63
64
|
val_key: string;
|
|
64
|
-
html_type: "LINEBAR" |
|
|
65
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
65
66
|
annotation?: boolean | undefined;
|
|
66
67
|
val_key_unit?: string | undefined;
|
|
67
68
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -1754,7 +1755,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1754
1755
|
originalSetting?: {
|
|
1755
1756
|
[x: string]: any;
|
|
1756
1757
|
val_key: string;
|
|
1757
|
-
html_type: "LINEBAR" |
|
|
1758
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
1758
1759
|
annotation?: boolean | undefined;
|
|
1759
1760
|
val_key_unit?: string | undefined;
|
|
1760
1761
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -3789,7 +3790,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3789
3790
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
3790
3791
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
3791
3792
|
}>>;
|
|
3792
|
-
emit: (event: "
|
|
3793
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
3793
3794
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
3794
3795
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3795
3796
|
formHeight: import("vue").ComputedRef<string>;
|
|
@@ -3959,28 +3960,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3959
3960
|
title: string;
|
|
3960
3961
|
form: import("../../../../es/components/form-render").Form<any>;
|
|
3961
3962
|
content: any;
|
|
3962
|
-
hidden: boolean;
|
|
3963
|
-
active: boolean;
|
|
3964
|
-
dataSource: import("../../../../es/components/form-render").FieldDataSource;
|
|
3965
|
-
description: string;
|
|
3966
|
-
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
3967
|
-
mounted: boolean;
|
|
3968
|
-
readonly destroyed: boolean;
|
|
3969
|
-
unmounted: boolean;
|
|
3970
3963
|
componentProps: Record<string, any>;
|
|
3971
3964
|
decoratorProps: Record<string, any>;
|
|
3965
|
+
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
3966
|
+
description: string;
|
|
3972
3967
|
readOnly: boolean;
|
|
3973
3968
|
editable: boolean;
|
|
3969
|
+
hidden: boolean;
|
|
3974
3970
|
component: import("../../../../es/components/form-render").FieldComponent<any, any>;
|
|
3975
3971
|
decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
3976
|
-
readPretty: boolean;
|
|
3977
3972
|
validating: boolean;
|
|
3978
3973
|
submitting: boolean;
|
|
3974
|
+
active: boolean;
|
|
3979
3975
|
visited: boolean;
|
|
3980
3976
|
selfModified: boolean;
|
|
3981
3977
|
modified: boolean;
|
|
3982
3978
|
inputValue: string;
|
|
3983
3979
|
inputValues: any[];
|
|
3980
|
+
dataSource: import("../../../../es/components/form-render").FieldDataSource;
|
|
3984
3981
|
feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
|
|
3985
3982
|
caches: import("../../../../es/components/form-render").IFieldCaches;
|
|
3986
3983
|
selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
|
|
@@ -4011,11 +4008,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4011
4008
|
queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
|
|
4012
4009
|
modify: () => void;
|
|
4013
4010
|
initialized: boolean;
|
|
4011
|
+
mounted: boolean;
|
|
4012
|
+
unmounted: boolean;
|
|
4014
4013
|
decoratorType: any;
|
|
4015
4014
|
componentType: any;
|
|
4016
4015
|
designable: boolean;
|
|
4017
4016
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
4018
4017
|
readonly parent: import("../../../../es/components/form-render").GeneralField;
|
|
4018
|
+
readPretty: boolean;
|
|
4019
|
+
readonly destroyed: boolean;
|
|
4019
4020
|
setTitle: (title?: string | undefined) => void;
|
|
4020
4021
|
setDescription: (description?: string | undefined) => void;
|
|
4021
4022
|
setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
|
|
@@ -4099,7 +4100,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4099
4100
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
4100
4101
|
}>;
|
|
4101
4102
|
NTabs: any;
|
|
4102
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
4103
|
+
}, 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<{
|
|
4103
4104
|
fieldList: {
|
|
4104
4105
|
type: PropType<import("../../../../es/components/form-render").FieldItem[]>;
|
|
4105
4106
|
};
|
|
@@ -4378,7 +4379,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4378
4379
|
fieldList: import("vue").Ref<{
|
|
4379
4380
|
[x: string]: any;
|
|
4380
4381
|
val_key: string;
|
|
4381
|
-
html_type: "LINEBAR" |
|
|
4382
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
4382
4383
|
annotation?: boolean | undefined;
|
|
4383
4384
|
val_key_unit?: string | undefined;
|
|
4384
4385
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -6084,7 +6085,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6084
6085
|
originalSetting?: {
|
|
6085
6086
|
[x: string]: any;
|
|
6086
6087
|
val_key: string;
|
|
6087
|
-
html_type: "LINEBAR" |
|
|
6088
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
6088
6089
|
annotation?: boolean | undefined;
|
|
6089
6090
|
val_key_unit?: string | undefined;
|
|
6090
6091
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -7761,7 +7762,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7761
7762
|
originalSetting?: {
|
|
7762
7763
|
[x: string]: any;
|
|
7763
7764
|
val_key: string;
|
|
7764
|
-
html_type: "LINEBAR" |
|
|
7765
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "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";
|
|
7765
7766
|
annotation?: boolean | undefined;
|
|
7766
7767
|
val_key_unit?: string | undefined;
|
|
7767
7768
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -9707,7 +9708,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9707
9708
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
9708
9709
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
9709
9710
|
}>>;
|
|
9710
|
-
emit: (event: "
|
|
9711
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
9711
9712
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
9712
9713
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
9713
9714
|
formHeight: import("vue").ComputedRef<string>;
|
|
@@ -9877,28 +9878,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9877
9878
|
title: string;
|
|
9878
9879
|
form: import("../../../../es/components/form-render").Form<any>;
|
|
9879
9880
|
content: any;
|
|
9880
|
-
hidden: boolean;
|
|
9881
|
-
active: boolean;
|
|
9882
|
-
dataSource: import("../../../../es/components/form-render").FieldDataSource;
|
|
9883
|
-
description: string;
|
|
9884
|
-
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
9885
|
-
mounted: boolean;
|
|
9886
|
-
readonly destroyed: boolean;
|
|
9887
|
-
unmounted: boolean;
|
|
9888
9881
|
componentProps: Record<string, any>;
|
|
9889
9882
|
decoratorProps: Record<string, any>;
|
|
9883
|
+
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
9884
|
+
description: string;
|
|
9890
9885
|
readOnly: boolean;
|
|
9891
9886
|
editable: boolean;
|
|
9887
|
+
hidden: boolean;
|
|
9892
9888
|
component: import("../../../../es/components/form-render").FieldComponent<any, any>;
|
|
9893
9889
|
decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
9894
|
-
readPretty: boolean;
|
|
9895
9890
|
validating: boolean;
|
|
9896
9891
|
submitting: boolean;
|
|
9892
|
+
active: boolean;
|
|
9897
9893
|
visited: boolean;
|
|
9898
9894
|
selfModified: boolean;
|
|
9899
9895
|
modified: boolean;
|
|
9900
9896
|
inputValue: string;
|
|
9901
9897
|
inputValues: any[];
|
|
9898
|
+
dataSource: import("../../../../es/components/form-render").FieldDataSource;
|
|
9902
9899
|
feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
|
|
9903
9900
|
caches: import("../../../../es/components/form-render").IFieldCaches;
|
|
9904
9901
|
selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
|
|
@@ -9929,11 +9926,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9929
9926
|
queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
|
|
9930
9927
|
modify: () => void;
|
|
9931
9928
|
initialized: boolean;
|
|
9929
|
+
mounted: boolean;
|
|
9930
|
+
unmounted: boolean;
|
|
9932
9931
|
decoratorType: any;
|
|
9933
9932
|
componentType: any;
|
|
9934
9933
|
designable: boolean;
|
|
9935
9934
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
9936
9935
|
readonly parent: import("../../../../es/components/form-render").GeneralField;
|
|
9936
|
+
readPretty: boolean;
|
|
9937
|
+
readonly destroyed: boolean;
|
|
9937
9938
|
setTitle: (title?: string | undefined) => void;
|
|
9938
9939
|
setDescription: (description?: string | undefined) => void;
|
|
9939
9940
|
setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
|
|
@@ -10017,7 +10018,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10017
10018
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
10018
10019
|
}>;
|
|
10019
10020
|
NTabs: any;
|
|
10020
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
10021
|
+
}, 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<{
|
|
10021
10022
|
fieldList: {
|
|
10022
10023
|
type: PropType<import("../../../../es/components/form-render").FieldItem[]>;
|
|
10023
10024
|
};
|
|
@@ -10175,11 +10176,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10175
10176
|
type: PropType<FormConfigItem>;
|
|
10176
10177
|
required: true;
|
|
10177
10178
|
};
|
|
10179
|
+
textFormatter: {
|
|
10180
|
+
type: PropType<FormConfigTextFormatter>;
|
|
10181
|
+
required: true;
|
|
10182
|
+
};
|
|
10178
10183
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10179
10184
|
formConfigItem: {
|
|
10180
10185
|
type: PropType<FormConfigItem>;
|
|
10181
10186
|
required: true;
|
|
10182
10187
|
};
|
|
10188
|
+
textFormatter: {
|
|
10189
|
+
type: PropType<FormConfigTextFormatter>;
|
|
10190
|
+
required: true;
|
|
10191
|
+
};
|
|
10183
10192
|
}>>, {}>;
|
|
10184
10193
|
FORM_CONFIG_GROUP: string;
|
|
10185
10194
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as o,provide as r,toRaw as t,openBlock as i,createElementBlock as a,normalizeStyle as
|
|
1
|
+
import{defineComponent as e,ref as o,provide as r,toRaw as t,openBlock as i,createElementBlock as a,normalizeStyle as m,unref as s,createElementVNode as n,createVNode as f,mergeProps as l,withCtx as u,createTextVNode as c}from"vue";import{useTheme as p}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import{cloneDeep as d,isFunction as g}from"lodash-es";import{uuidGenerator as v}from"../../../shared/utils/index.js";import _ from"../../../shared/components/VueDraggable/src/vuedraggable.js";import h from"./components/FormConfigCreator.vue.js";import j from"./components/FormConfigDragDisplay.vue.js";import C from"./components/FormConfigEdit.vue.js";import x from"./components/FormConfigMaterialItem.js";import{useDataNormalize as y}from"./hooks/useDataNormalize.js";import{InjectionFieldList as F,InjectionMaterialList as V,InjectionActiveFieldItem as k,FORM_CONFIG_GROUP as b}from"./constants/index.js";import"@vicons/ionicons5";import"naive-ui";import D from"../../../_virtual/plugin-vue_export-helper.js";import"./utils/index.js";import{useSortableConfig as R}from"./hooks/useSortalbeConfig.js";import"./hooks/useConfigurationField.js";const H=["id"],E={class:"form-config__material"},L=n("header",{class:"form-config__materialHeader"},"物料区",-1),S={class:"form-config__displayWrapper"},I={class:"form-config__displayHeader"},N={class:"form-config__config"},O=n("header",{class:"form-config__configHeader"},"配置区",-1),T={class:"form-config__configContent"};var U=D(e({__name:"FormConfig",props:{maxHeight:{type:String},fieldVisitor:{type:Object},textFormatter:{type:Function},formRenderRef:{type:Object}},setup(e,{expose:D}){const U=e,w=v(),z=p(),{getCommonConfig:A}=R(),B=o([]);r(F,B);const M=o([]);function W(e){B.value.some((o=>o.key===e.key))||B.value.push(e)}r(V,M);const q=(e,o)=>g(U.textFormatter)?U.textFormatter(e,o):o,G=o();r(k,G);const J=o(),{transform:K,inverseTransform:P}=y(U);return D({loadData({fieldList:e}){let o=[],r=[];e.forEach((e=>function(e){"LINE_BAR"===e.type&&(e.children=[]);!1===e.show?r.push(e):o.push(e)}(d(t(e))))),B.value=K(o),M.value=r,G.value=void 0},validate(){var e;return null==(e=J.value)?void 0:e.validate()},getData:()=>({fieldList:P(d(t(B.value))),materialList:P(d(t(M.value)))})}),(o,r)=>(i(),a("section",{class:"form-config",style:m({"--max-height":e.maxHeight,...s(z)}),id:s(w)},[n("section",E,[L,f(s(_),l(s(A)(),{class:"form-config__materialContent",modelValue:M.value,"onUpdate:modelValue":r[0]||(r[0]=e=>M.value=e)}),{item:u((({element:e})=>[f(s(x),{"form-config-item":e,"text-formatter":q},null,8,["form-config-item"])])),_:1},16,["modelValue"])]),n("section",S,[n("header",I,[c(" 布局区 "),f(h,{onSubmit:W})]),f(j,{class:"form-config__displayContent",group:s(b),"text-formatter":q,modelValue:B.value,"onUpdate:modelValue":r[1]||(r[1]=e=>B.value=e)},null,8,["group","modelValue"])]),n("section",N,[O,n("section",T,[f(C,{ref_key:"formConfigEditRef",ref:J,uuid:s(w),"form-render-ref":e.formRenderRef},null,8,["uuid","form-render-ref"])])])],12,H))}}),[["__file","FormConfig.vue"]]);export{U as default};
|
|
@@ -281,7 +281,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
281
281
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
282
282
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
283
283
|
}>>;
|
|
284
|
-
emit: (event: "
|
|
284
|
+
emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
|
|
285
285
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
286
286
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
287
287
|
formHeight: import("vue").ComputedRef<string>;
|
|
@@ -451,28 +451,24 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
451
451
|
title: string;
|
|
452
452
|
form: import("../../../../../es/components/form-render").Form<any>;
|
|
453
453
|
content: any;
|
|
454
|
-
hidden: boolean;
|
|
455
|
-
active: boolean;
|
|
456
|
-
dataSource: import("../../../../../es/components/form-render").FieldDataSource;
|
|
457
|
-
description: string;
|
|
458
|
-
display: import("../../../../../es/components/form-render").FieldDisplayTypes;
|
|
459
|
-
mounted: boolean;
|
|
460
|
-
readonly destroyed: boolean;
|
|
461
|
-
unmounted: boolean;
|
|
462
454
|
componentProps: Record<string, any>;
|
|
463
455
|
decoratorProps: Record<string, any>;
|
|
456
|
+
display: import("../../../../../es/components/form-render").FieldDisplayTypes;
|
|
457
|
+
description: string;
|
|
464
458
|
readOnly: boolean;
|
|
465
459
|
editable: boolean;
|
|
460
|
+
hidden: boolean;
|
|
466
461
|
component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
|
|
467
462
|
decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
468
|
-
readPretty: boolean;
|
|
469
463
|
validating: boolean;
|
|
470
464
|
submitting: boolean;
|
|
465
|
+
active: boolean;
|
|
471
466
|
visited: boolean;
|
|
472
467
|
selfModified: boolean;
|
|
473
468
|
modified: boolean;
|
|
474
469
|
inputValue: string;
|
|
475
470
|
inputValues: any[];
|
|
471
|
+
dataSource: import("../../../../../es/components/form-render").FieldDataSource;
|
|
476
472
|
feedbacks: import("../../../../../es/components/form-render").IFieldFeedback[];
|
|
477
473
|
caches: import("../../../../../es/components/form-render").IFieldCaches;
|
|
478
474
|
selfErrors: import("../../../../../es/components/form-render").FeedbackMessage;
|
|
@@ -503,11 +499,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
503
499
|
queryFeedbacks: (search?: import("../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../es/components/form-render").IFieldFeedback[];
|
|
504
500
|
modify: () => void;
|
|
505
501
|
initialized: boolean;
|
|
502
|
+
mounted: boolean;
|
|
503
|
+
unmounted: boolean;
|
|
506
504
|
decoratorType: any;
|
|
507
505
|
componentType: any;
|
|
508
506
|
designable: boolean;
|
|
509
507
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
510
508
|
readonly parent: import("../../../../../es/components/form-render").GeneralField;
|
|
509
|
+
readPretty: boolean;
|
|
510
|
+
readonly destroyed: boolean;
|
|
511
511
|
setTitle: (title?: string | undefined) => void;
|
|
512
512
|
setDescription: (description?: string | undefined) => void;
|
|
513
513
|
setDisplay: (type?: import("../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
|
|
@@ -591,7 +591,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
591
591
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
592
592
|
}>;
|
|
593
593
|
NTabs: any;
|
|
594
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
594
|
+
}, 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<{
|
|
595
595
|
fieldList: {
|
|
596
596
|
type: import("vue").PropType<FieldItem[]>;
|
|
597
597
|
};
|