cnhis-design-vue 3.1.41-release.6 → 3.1.42-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +293 -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 -91
- 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/index.d.ts +4 -3
- package/es/components/big-table/src/BigTable.vue.d.ts +4 -3
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +7 -6
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +7 -6
- 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/components/EditFormat.vue.d.ts +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
- 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 +20 -0
- package/es/components/date-picker/index.js +1 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
- package/es/components/date-picker/src/DatePicker.vue.js +1 -0
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- 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/field-set/index.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/form-config/index.d.ts +46 -37
- package/es/components/form-config/src/FormConfig.vue.d.ts +46 -37
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
- 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 +16 -16
- package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.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/useFormRenderOptions.d.ts +4 -2
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +3 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +3 -0
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +4 -4
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -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/timeRendererPlugin/editTime.vue.d.ts +18 -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/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +1 -0
- package/es/components/iho-table/src/utils/index.d.ts +1 -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 +8 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +3799 -156
- package/es/components/info-header/src/InfoHeader.vue.d.ts +3800 -156
- 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/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
- 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 +4 -2
- package/es/components/keyboard/src/Keyboard.vue.d.ts +4 -2
- 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/components/formitem/sign-com.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.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/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -17
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
- 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 -2385
- 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/components/CheckboxGroup.vue.d.ts +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.d.ts +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/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 -169
- package/es/components/time-picker/index.d.ts +18 -0
- package/es/components/time-picker/index.js +1 -0
- package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
- package/es/components/time-picker/src/TimePicker.vue.js +1 -0
- package/es/shared/mixins/index.d.ts +1 -0
- package/es/shared/mixins/index.js +1 -0
- package/es/shared/mixins/useTheme.d.ts +3 -0
- package/es/shared/mixins/useTheme.js +1 -0
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +64 -64
- 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/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/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/components/{table-filter → base-search}/src/directive/resize.d.ts +0 -0
- /package/es/components/{table-filter → base-search}/src/directive/resize.js +0 -0
- /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.d.ts +0 -0
- /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.js +0 -0
- /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
- /package/es/components/table-filter/src/tool/{options.d.ts → baseOptions.d.ts} +0 -0
- /package/es/components/table-filter/src/tool/{options.js → baseOptions.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;
|
|
@@ -3943,35 +3944,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3943
3944
|
data: any;
|
|
3944
3945
|
loading: boolean;
|
|
3945
3946
|
required: boolean;
|
|
3947
|
+
hidden: boolean;
|
|
3948
|
+
visible: boolean;
|
|
3949
|
+
content: any;
|
|
3950
|
+
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
3951
|
+
active: boolean;
|
|
3952
|
+
disabled: boolean;
|
|
3953
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
3946
3954
|
value: string;
|
|
3947
3955
|
readonly index: string | number;
|
|
3948
|
-
disabled: boolean;
|
|
3949
3956
|
onFocus: (...args: any[]) => Promise<void>;
|
|
3950
3957
|
onBlur: (...args: any[]) => Promise<void>;
|
|
3951
3958
|
onInput: (...args: any[]) => Promise<void>;
|
|
3952
|
-
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
3953
|
-
visible: boolean;
|
|
3954
3959
|
submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
|
|
3955
3960
|
validator: import("@formily/core").FieldValidator;
|
|
3956
3961
|
pattern: import("@formily/core").FieldPatternTypes;
|
|
3957
3962
|
title: string;
|
|
3958
3963
|
form: import("@formily/core").Form<any>;
|
|
3959
|
-
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
3964
|
componentProps: Record<string, any>;
|
|
3969
3965
|
decoratorProps: Record<string, any>;
|
|
3966
|
+
description: string;
|
|
3970
3967
|
readOnly: boolean;
|
|
3971
3968
|
editable: boolean;
|
|
3972
3969
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
3973
3970
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
3974
|
-
readPretty: boolean;
|
|
3975
3971
|
validating: boolean;
|
|
3976
3972
|
submitting: boolean;
|
|
3977
3973
|
visited: boolean;
|
|
@@ -3979,6 +3975,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
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;
|
|
@@ -4055,7 +4056,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4055
4056
|
};
|
|
4056
4057
|
readonly disabled: BooleanConstructor;
|
|
4057
4058
|
readonly displayDirective: {
|
|
4058
|
-
readonly type: import("vue").PropType<"
|
|
4059
|
+
readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
|
|
4059
4060
|
readonly default: "if";
|
|
4060
4061
|
};
|
|
4061
4062
|
readonly closable: {
|
|
@@ -4080,7 +4081,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4080
4081
|
};
|
|
4081
4082
|
readonly disabled: BooleanConstructor;
|
|
4082
4083
|
readonly displayDirective: {
|
|
4083
|
-
readonly type: import("vue").PropType<"
|
|
4084
|
+
readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
|
|
4084
4085
|
readonly default: "if";
|
|
4085
4086
|
};
|
|
4086
4087
|
readonly closable: {
|
|
@@ -4094,7 +4095,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4094
4095
|
}>>, {
|
|
4095
4096
|
readonly disabled: boolean;
|
|
4096
4097
|
readonly closable: boolean | undefined;
|
|
4097
|
-
readonly displayDirective: "
|
|
4098
|
+
readonly displayDirective: "show" | "if" | "show:lazy";
|
|
4098
4099
|
}>;
|
|
4099
4100
|
NTabs: any;
|
|
4100
4101
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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;
|
|
@@ -9861,35 +9862,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9861
9862
|
data: any;
|
|
9862
9863
|
loading: boolean;
|
|
9863
9864
|
required: boolean;
|
|
9865
|
+
hidden: boolean;
|
|
9866
|
+
visible: boolean;
|
|
9867
|
+
content: any;
|
|
9868
|
+
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
9869
|
+
active: boolean;
|
|
9870
|
+
disabled: boolean;
|
|
9871
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
9864
9872
|
value: string;
|
|
9865
9873
|
readonly index: string | number;
|
|
9866
|
-
disabled: boolean;
|
|
9867
9874
|
onFocus: (...args: any[]) => Promise<void>;
|
|
9868
9875
|
onBlur: (...args: any[]) => Promise<void>;
|
|
9869
9876
|
onInput: (...args: any[]) => Promise<void>;
|
|
9870
|
-
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
9871
|
-
visible: boolean;
|
|
9872
9877
|
submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
|
|
9873
9878
|
validator: import("@formily/core").FieldValidator;
|
|
9874
9879
|
pattern: import("@formily/core").FieldPatternTypes;
|
|
9875
9880
|
title: string;
|
|
9876
9881
|
form: import("@formily/core").Form<any>;
|
|
9877
|
-
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
9882
|
componentProps: Record<string, any>;
|
|
9887
9883
|
decoratorProps: Record<string, any>;
|
|
9884
|
+
description: string;
|
|
9888
9885
|
readOnly: boolean;
|
|
9889
9886
|
editable: boolean;
|
|
9890
9887
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
9891
9888
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
9892
|
-
readPretty: boolean;
|
|
9893
9889
|
validating: boolean;
|
|
9894
9890
|
submitting: boolean;
|
|
9895
9891
|
visited: boolean;
|
|
@@ -9897,6 +9893,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
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;
|
|
@@ -9973,7 +9974,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9973
9974
|
};
|
|
9974
9975
|
readonly disabled: BooleanConstructor;
|
|
9975
9976
|
readonly displayDirective: {
|
|
9976
|
-
readonly type: import("vue").PropType<"
|
|
9977
|
+
readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
|
|
9977
9978
|
readonly default: "if";
|
|
9978
9979
|
};
|
|
9979
9980
|
readonly closable: {
|
|
@@ -9998,7 +9999,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9998
9999
|
};
|
|
9999
10000
|
readonly disabled: BooleanConstructor;
|
|
10000
10001
|
readonly displayDirective: {
|
|
10001
|
-
readonly type: import("vue").PropType<"
|
|
10002
|
+
readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
|
|
10002
10003
|
readonly default: "if";
|
|
10003
10004
|
};
|
|
10004
10005
|
readonly closable: {
|
|
@@ -10012,7 +10013,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
10012
10013
|
}>>, {
|
|
10013
10014
|
readonly disabled: boolean;
|
|
10014
10015
|
readonly closable: boolean | undefined;
|
|
10015
|
-
readonly displayDirective: "
|
|
10016
|
+
readonly displayDirective: "show" | "if" | "show:lazy";
|
|
10016
10017
|
}>;
|
|
10017
10018
|
NTabs: any;
|
|
10018
10019
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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;
|
|
@@ -3945,35 +3946,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3945
3946
|
data: any;
|
|
3946
3947
|
loading: boolean;
|
|
3947
3948
|
required: boolean;
|
|
3949
|
+
hidden: boolean;
|
|
3950
|
+
visible: boolean;
|
|
3951
|
+
content: any;
|
|
3952
|
+
reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
3953
|
+
active: boolean;
|
|
3954
|
+
disabled: boolean;
|
|
3955
|
+
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
3948
3956
|
value: string;
|
|
3949
3957
|
readonly index: string | number;
|
|
3950
|
-
disabled: boolean;
|
|
3951
3958
|
onFocus: (...args: any[]) => Promise<void>;
|
|
3952
3959
|
onBlur: (...args: any[]) => Promise<void>;
|
|
3953
3960
|
onInput: (...args: any[]) => Promise<void>;
|
|
3954
|
-
reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
3955
|
-
visible: boolean;
|
|
3956
3961
|
submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
|
|
3957
3962
|
validator: import("../../../../es/components/form-render").FieldValidator;
|
|
3958
3963
|
pattern: import("../../../../es/components/form-render").FieldPatternTypes;
|
|
3959
3964
|
title: string;
|
|
3960
3965
|
form: import("../../../../es/components/form-render").Form<any>;
|
|
3961
|
-
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
3966
|
componentProps: Record<string, any>;
|
|
3971
3967
|
decoratorProps: Record<string, any>;
|
|
3968
|
+
description: string;
|
|
3972
3969
|
readOnly: boolean;
|
|
3973
3970
|
editable: boolean;
|
|
3974
3971
|
component: import("../../../../es/components/form-render").FieldComponent<any, any>;
|
|
3975
3972
|
decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
3976
|
-
readPretty: boolean;
|
|
3977
3973
|
validating: boolean;
|
|
3978
3974
|
submitting: boolean;
|
|
3979
3975
|
visited: boolean;
|
|
@@ -3981,6 +3977,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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;
|
|
@@ -4057,7 +4058,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4057
4058
|
};
|
|
4058
4059
|
readonly disabled: BooleanConstructor;
|
|
4059
4060
|
readonly displayDirective: {
|
|
4060
|
-
readonly type: PropType<"
|
|
4061
|
+
readonly type: PropType<"show" | "if" | "show:lazy">;
|
|
4061
4062
|
readonly default: "if";
|
|
4062
4063
|
};
|
|
4063
4064
|
readonly closable: {
|
|
@@ -4082,7 +4083,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4082
4083
|
};
|
|
4083
4084
|
readonly disabled: BooleanConstructor;
|
|
4084
4085
|
readonly displayDirective: {
|
|
4085
|
-
readonly type: PropType<"
|
|
4086
|
+
readonly type: PropType<"show" | "if" | "show:lazy">;
|
|
4086
4087
|
readonly default: "if";
|
|
4087
4088
|
};
|
|
4088
4089
|
readonly closable: {
|
|
@@ -4096,7 +4097,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4096
4097
|
}>>, {
|
|
4097
4098
|
readonly disabled: boolean;
|
|
4098
4099
|
readonly closable: boolean | undefined;
|
|
4099
|
-
readonly displayDirective: "
|
|
4100
|
+
readonly displayDirective: "show" | "if" | "show:lazy";
|
|
4100
4101
|
}>;
|
|
4101
4102
|
NTabs: any;
|
|
4102
4103
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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;
|
|
@@ -9863,35 +9864,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9863
9864
|
data: any;
|
|
9864
9865
|
loading: boolean;
|
|
9865
9866
|
required: boolean;
|
|
9867
|
+
hidden: boolean;
|
|
9868
|
+
visible: boolean;
|
|
9869
|
+
content: any;
|
|
9870
|
+
reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
9871
|
+
active: boolean;
|
|
9872
|
+
disabled: boolean;
|
|
9873
|
+
display: import("../../../../es/components/form-render").FieldDisplayTypes;
|
|
9866
9874
|
value: string;
|
|
9867
9875
|
readonly index: string | number;
|
|
9868
|
-
disabled: boolean;
|
|
9869
9876
|
onFocus: (...args: any[]) => Promise<void>;
|
|
9870
9877
|
onBlur: (...args: any[]) => Promise<void>;
|
|
9871
9878
|
onInput: (...args: any[]) => Promise<void>;
|
|
9872
|
-
reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
9873
|
-
visible: boolean;
|
|
9874
9879
|
submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
|
|
9875
9880
|
validator: import("../../../../es/components/form-render").FieldValidator;
|
|
9876
9881
|
pattern: import("../../../../es/components/form-render").FieldPatternTypes;
|
|
9877
9882
|
title: string;
|
|
9878
9883
|
form: import("../../../../es/components/form-render").Form<any>;
|
|
9879
|
-
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
9884
|
componentProps: Record<string, any>;
|
|
9889
9885
|
decoratorProps: Record<string, any>;
|
|
9886
|
+
description: string;
|
|
9890
9887
|
readOnly: boolean;
|
|
9891
9888
|
editable: boolean;
|
|
9892
9889
|
component: import("../../../../es/components/form-render").FieldComponent<any, any>;
|
|
9893
9890
|
decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
9894
|
-
readPretty: boolean;
|
|
9895
9891
|
validating: boolean;
|
|
9896
9892
|
submitting: boolean;
|
|
9897
9893
|
visited: boolean;
|
|
@@ -9899,6 +9895,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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;
|
|
@@ -9975,7 +9976,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9975
9976
|
};
|
|
9976
9977
|
readonly disabled: BooleanConstructor;
|
|
9977
9978
|
readonly displayDirective: {
|
|
9978
|
-
readonly type: PropType<"
|
|
9979
|
+
readonly type: PropType<"show" | "if" | "show:lazy">;
|
|
9979
9980
|
readonly default: "if";
|
|
9980
9981
|
};
|
|
9981
9982
|
readonly closable: {
|
|
@@ -10000,7 +10001,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10000
10001
|
};
|
|
10001
10002
|
readonly disabled: BooleanConstructor;
|
|
10002
10003
|
readonly displayDirective: {
|
|
10003
|
-
readonly type: PropType<"
|
|
10004
|
+
readonly type: PropType<"show" | "if" | "show:lazy">;
|
|
10004
10005
|
readonly default: "if";
|
|
10005
10006
|
};
|
|
10006
10007
|
readonly closable: {
|
|
@@ -10014,7 +10015,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10014
10015
|
}>>, {
|
|
10015
10016
|
readonly disabled: boolean;
|
|
10016
10017
|
readonly closable: boolean | undefined;
|
|
10017
|
-
readonly displayDirective: "
|
|
10018
|
+
readonly displayDirective: "show" | "if" | "show:lazy";
|
|
10018
10019
|
}>;
|
|
10019
10020
|
NTabs: any;
|
|
10020
10021
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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 n,createElementVNode as s,createVNode as f,mergeProps as l,withCtx as u,createTextVNode as c}from"vue";import{useTheme as p}from"../../../shared/mixins/useTheme.js";import{uuidGenerator as d}from"../../../shared/utils/index.js";import{cloneDeep as g,isFunction as v}from"lodash-es";import _ from"../../../shared/components/VueDraggable/src/vuedraggable.js";import h from"./components/FormConfigCreator.vue.js";import j from"./components/FormConfigDragDisplay.vue.js";import x from"./components/FormConfigEdit.vue.js";import C from"./components/FormConfigMaterialItem.js";import{useDataNormalize as y}from"./hooks/useDataNormalize.js";import{InjectionFieldList as F,InjectionMaterialList as V,InjectionActiveFieldItem as b,FORM_CONFIG_GROUP as k}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=s("header",{class:"form-config__materialHeader"},"物料区",-1),S={class:"form-config__displayWrapper"},I={class:"form-config__displayHeader"},N={class:"form-config__config"},O=s("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=d(),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)=>v(U.textFormatter)?U.textFormatter(e,o):o,G=o();r(b,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)}(g(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(g(t(B.value))),materialList:P(g(t(M.value)))})}),(o,r)=>(i(),a("section",{class:"form-config",style:m({"--max-height":e.maxHeight,...n(z)}),id:n(w)},[s("section",E,[L,f(n(_),l(n(A)(),{class:"form-config__materialContent",modelValue:M.value,"onUpdate:modelValue":r[0]||(r[0]=e=>M.value=e)}),{item:u((({element:e})=>[f(n(C),{"form-config-item":e,"text-formatter":q},null,8,["form-config-item"])])),_:1},16,["modelValue"])]),s("section",S,[s("header",I,[c(" 布局区 "),f(h,{onSubmit:W})]),f(j,{class:"form-config__displayContent",group:n(k),"text-formatter":q,modelValue:B.value,"onUpdate:modelValue":r[1]||(r[1]=e=>B.value=e)},null,8,["group","modelValue"])]),s("section",N,[O,s("section",T,[f(x,{ref_key:"formConfigEditRef",ref:J,uuid:n(w),"form-render-ref":e.formRenderRef},null,8,["uuid","form-render-ref"])])])],12,H))}}),[["__file","FormConfig.vue"]]);export{U as default};
|