cnhis-design-vue 3.1.42-beta.60 → 3.1.42-beta.61
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/form-config/index.d.ts +10 -5
- package/es/components/form-config/src/FormConfig.vue.d.ts +10 -5
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -3
- package/es/components/form-config/src/constants/index.d.ts +8 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +5 -1
- package/es/components/shortcut-setter/index.d.ts +2 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -1
- package/package.json +2 -2
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -84
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
|
@@ -60,7 +60,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
60
60
|
originalSetting?: {
|
|
61
61
|
[x: string]: any;
|
|
62
62
|
val_key: string;
|
|
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
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
64
64
|
annotation?: boolean | undefined;
|
|
65
65
|
val_key_unit?: string | undefined;
|
|
66
66
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -163,6 +163,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
163
163
|
is_not_fold?: string | undefined;
|
|
164
164
|
remark?: string | undefined;
|
|
165
165
|
free_entry?: import("..").FormCommonState | undefined;
|
|
166
|
+
initialize_high?: number | undefined;
|
|
166
167
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
167
168
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
168
169
|
lazyRequest?: boolean | undefined;
|
|
@@ -1755,7 +1756,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1755
1756
|
originalSetting?: {
|
|
1756
1757
|
[x: string]: any;
|
|
1757
1758
|
val_key: string;
|
|
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";
|
|
1759
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
1759
1760
|
annotation?: boolean | undefined;
|
|
1760
1761
|
val_key_unit?: string | undefined;
|
|
1761
1762
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -1858,6 +1859,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1858
1859
|
is_not_fold?: string | undefined;
|
|
1859
1860
|
remark?: string | undefined;
|
|
1860
1861
|
free_entry?: import("..").FormCommonState | undefined;
|
|
1862
|
+
initialize_high?: number | undefined;
|
|
1861
1863
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1862
1864
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
1863
1865
|
lazyRequest?: boolean | undefined;
|
|
@@ -4394,7 +4396,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4394
4396
|
fieldList: import("vue").Ref<{
|
|
4395
4397
|
[x: string]: any;
|
|
4396
4398
|
val_key: string;
|
|
4397
|
-
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";
|
|
4399
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
4398
4400
|
annotation?: boolean | undefined;
|
|
4399
4401
|
val_key_unit?: string | undefined;
|
|
4400
4402
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -4497,6 +4499,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4497
4499
|
is_not_fold?: string | undefined;
|
|
4498
4500
|
remark?: string | undefined;
|
|
4499
4501
|
free_entry?: import("..").FormCommonState | undefined;
|
|
4502
|
+
initialize_high?: number | undefined;
|
|
4500
4503
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
4501
4504
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
4502
4505
|
lazyRequest?: boolean | undefined;
|
|
@@ -6101,7 +6104,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6101
6104
|
originalSetting?: {
|
|
6102
6105
|
[x: string]: any;
|
|
6103
6106
|
val_key: string;
|
|
6104
|
-
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";
|
|
6107
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
6105
6108
|
annotation?: boolean | undefined;
|
|
6106
6109
|
val_key_unit?: string | undefined;
|
|
6107
6110
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -6204,6 +6207,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6204
6207
|
is_not_fold?: string | undefined;
|
|
6205
6208
|
remark?: string | undefined;
|
|
6206
6209
|
free_entry?: import("..").FormCommonState | undefined;
|
|
6210
|
+
initialize_high?: number | undefined;
|
|
6207
6211
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
6208
6212
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
6209
6213
|
lazyRequest?: boolean | undefined;
|
|
@@ -7780,7 +7784,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7780
7784
|
originalSetting?: {
|
|
7781
7785
|
[x: string]: any;
|
|
7782
7786
|
val_key: string;
|
|
7783
|
-
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";
|
|
7787
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
7784
7788
|
annotation?: boolean | undefined;
|
|
7785
7789
|
val_key_unit?: string | undefined;
|
|
7786
7790
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -7883,6 +7887,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7883
7887
|
is_not_fold?: string | undefined;
|
|
7884
7888
|
remark?: string | undefined;
|
|
7885
7889
|
free_entry?: import("..").FormCommonState | undefined;
|
|
7890
|
+
initialize_high?: number | undefined;
|
|
7886
7891
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
7887
7892
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
7888
7893
|
lazyRequest?: boolean | undefined;
|
|
@@ -62,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
originalSetting?: {
|
|
63
63
|
[x: string]: any;
|
|
64
64
|
val_key: string;
|
|
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
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
66
66
|
annotation?: boolean | undefined;
|
|
67
67
|
val_key_unit?: string | undefined;
|
|
68
68
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -165,6 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
165
|
is_not_fold?: string | undefined;
|
|
166
166
|
remark?: string | undefined;
|
|
167
167
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
168
|
+
initialize_high?: number | undefined;
|
|
168
169
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
169
170
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
170
171
|
lazyRequest?: boolean | undefined;
|
|
@@ -1757,7 +1758,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1757
1758
|
originalSetting?: {
|
|
1758
1759
|
[x: string]: any;
|
|
1759
1760
|
val_key: string;
|
|
1760
|
-
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";
|
|
1761
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
1761
1762
|
annotation?: boolean | undefined;
|
|
1762
1763
|
val_key_unit?: string | undefined;
|
|
1763
1764
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -1860,6 +1861,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1860
1861
|
is_not_fold?: string | undefined;
|
|
1861
1862
|
remark?: string | undefined;
|
|
1862
1863
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
1864
|
+
initialize_high?: number | undefined;
|
|
1863
1865
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1864
1866
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
1865
1867
|
lazyRequest?: boolean | undefined;
|
|
@@ -4396,7 +4398,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4396
4398
|
fieldList: import("vue").Ref<{
|
|
4397
4399
|
[x: string]: any;
|
|
4398
4400
|
val_key: string;
|
|
4399
|
-
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";
|
|
4401
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
4400
4402
|
annotation?: boolean | undefined;
|
|
4401
4403
|
val_key_unit?: string | undefined;
|
|
4402
4404
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -4499,6 +4501,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4499
4501
|
is_not_fold?: string | undefined;
|
|
4500
4502
|
remark?: string | undefined;
|
|
4501
4503
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
4504
|
+
initialize_high?: number | undefined;
|
|
4502
4505
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
4503
4506
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
4504
4507
|
lazyRequest?: boolean | undefined;
|
|
@@ -6103,7 +6106,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6103
6106
|
originalSetting?: {
|
|
6104
6107
|
[x: string]: any;
|
|
6105
6108
|
val_key: string;
|
|
6106
|
-
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";
|
|
6109
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
6107
6110
|
annotation?: boolean | undefined;
|
|
6108
6111
|
val_key_unit?: string | undefined;
|
|
6109
6112
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -6206,6 +6209,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6206
6209
|
is_not_fold?: string | undefined;
|
|
6207
6210
|
remark?: string | undefined;
|
|
6208
6211
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
6212
|
+
initialize_high?: number | undefined;
|
|
6209
6213
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
6210
6214
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
6211
6215
|
lazyRequest?: boolean | undefined;
|
|
@@ -7782,7 +7786,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7782
7786
|
originalSetting?: {
|
|
7783
7787
|
[x: string]: any;
|
|
7784
7788
|
val_key: string;
|
|
7785
|
-
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";
|
|
7789
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
7786
7790
|
annotation?: boolean | undefined;
|
|
7787
7791
|
val_key_unit?: string | undefined;
|
|
7788
7792
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -7885,6 +7889,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7885
7889
|
is_not_fold?: string | undefined;
|
|
7886
7890
|
remark?: string | undefined;
|
|
7887
7891
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
7892
|
+
initialize_high?: number | undefined;
|
|
7888
7893
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
7889
7894
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
7890
7895
|
lazyRequest?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
fieldList: import("vue").Ref<{
|
|
26
26
|
[x: string]: any;
|
|
27
27
|
val_key: string;
|
|
28
|
-
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";
|
|
28
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
29
29
|
annotation?: boolean | undefined;
|
|
30
30
|
val_key_unit?: string | undefined;
|
|
31
31
|
is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -128,6 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
is_not_fold?: string | undefined;
|
|
129
129
|
remark?: string | undefined;
|
|
130
130
|
free_entry?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
131
|
+
initialize_high?: number | undefined;
|
|
131
132
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
132
133
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
133
134
|
lazyRequest?: boolean | undefined;
|
|
@@ -1732,7 +1733,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1732
1733
|
originalSetting?: {
|
|
1733
1734
|
[x: string]: any;
|
|
1734
1735
|
val_key: string;
|
|
1735
|
-
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";
|
|
1736
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
1736
1737
|
annotation?: boolean | undefined;
|
|
1737
1738
|
val_key_unit?: string | undefined;
|
|
1738
1739
|
is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -1835,6 +1836,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1835
1836
|
is_not_fold?: string | undefined;
|
|
1836
1837
|
remark?: string | undefined;
|
|
1837
1838
|
free_entry?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
1839
|
+
initialize_high?: number | undefined;
|
|
1838
1840
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1839
1841
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
1840
1842
|
lazyRequest?: boolean | undefined;
|
|
@@ -3411,7 +3413,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3411
3413
|
originalSetting?: {
|
|
3412
3414
|
[x: string]: any;
|
|
3413
3415
|
val_key: string;
|
|
3414
|
-
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";
|
|
3416
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
3415
3417
|
annotation?: boolean | undefined;
|
|
3416
3418
|
val_key_unit?: string | undefined;
|
|
3417
3419
|
is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -3514,6 +3516,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3514
3516
|
is_not_fold?: string | undefined;
|
|
3515
3517
|
remark?: string | undefined;
|
|
3516
3518
|
free_entry?: import("../../../../../es/components/form-render").FormCommonState | undefined;
|
|
3519
|
+
initialize_high?: number | undefined;
|
|
3517
3520
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3518
3521
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
3519
3522
|
lazyRequest?: boolean | undefined;
|
|
@@ -12,7 +12,8 @@ export declare enum EditAbleField {
|
|
|
12
12
|
FOLD = "fold",
|
|
13
13
|
REQUIRED = "required",
|
|
14
14
|
EDITABLE = "editable",
|
|
15
|
-
SHOW = "show"
|
|
15
|
+
SHOW = "show",
|
|
16
|
+
ROWS = "initialize_high"
|
|
16
17
|
}
|
|
17
18
|
export declare function widgetWidthOptionConfig(): {
|
|
18
19
|
option: {
|
|
@@ -20,6 +21,12 @@ export declare function widgetWidthOptionConfig(): {
|
|
|
20
21
|
value: string;
|
|
21
22
|
}[];
|
|
22
23
|
};
|
|
24
|
+
export declare function rowsOptionConfig(): {
|
|
25
|
+
option: {
|
|
26
|
+
text: string;
|
|
27
|
+
value: number;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
23
30
|
export declare function isShowOptionConfig(): {
|
|
24
31
|
open: {
|
|
25
32
|
describe: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
import{range as e}from"lodash-es";const t=new Map([["LINE_BAR","分线栏"],["NEWLINE","分行符"]]);var n=(e=>(e.NAME="name",e.NOTES="notes",e.DEFAULT_VALUE="defaultValue",e.LAYOUT_WIDTH_ENUM="layoutWidthEnum",e.DESC="desc",e.DEFAULT_EXPAND="defaultExpand",e.FOLD="fold",e.REQUIRED="required",e.EDITABLE="editable",e.SHOW="show",e.ROWS="initialize_high",e))(n||{});function l(){return{option:[{text:"整行",value:"ALL_LINE"},{text:"半行",value:"HALF_LINE"},{text:"5/6",value:"FIVE_SIX"},{text:"2/3",value:"TWO_THREE"},{text:"1/3",value:"ONE_THREE"},{text:"3/4",value:"THREE_FOUR"},{text:"1/4",value:"ONE_FOUR"},{text:"1/6",value:"ONE_SIX"},{text:"1/8",value:"ONE_EIGHT"}]}}function u(){return{option:e(1,11).map((e=>({text:`${e}行`,value:e})))}}function i(){return{open:{describe:"默认展开",value:!0},close:{describe:"默认收起",value:!1}}}function o(){return{open:{describe:"可折叠",value:!0},close:{describe:"不可折叠",value:!1}}}function a(){return{open:{describe:"可编辑",value:!0},close:{describe:"不可编辑",value:!1}}}function r(){return{open:{describe:"必填",value:!0},close:{describe:"不必填",value:!1}}}function E(){return{open:{describe:"显示",value:!0},close:{describe:"隐藏",value:!1}}}const c="__display",s=Symbol("InjectionFieldList"),d=Symbol("InjectionMaterialList"),v=Symbol("InjectionActiveFieldItem");export{n as EditAbleField,c as FORM_CONFIG_GROUP,v as InjectionActiveFieldItem,s as InjectionFieldList,d as InjectionMaterialList,t as WidgetTextMap,a as isEditOptionConfig,o as isNotFoldOptionConfig,r as isNullOptionConfig,i as isShowOptionConfig,E as isVisibleOptionConfig,u as rowsOptionConfig,l as widgetWidthOptionConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{omit as e,pick as t}from"lodash-es";import{EditAbleField as l,widgetWidthOptionConfig as i,isShowOptionConfig as a,isNotFoldOptionConfig as
|
|
1
|
+
import{omit as e,pick as t}from"lodash-es";import{EditAbleField as l,widgetWidthOptionConfig as i,isShowOptionConfig as a,isNotFoldOptionConfig as _,isEditOptionConfig as o,isNullOptionConfig as s,isVisibleOptionConfig as m,rowsOptionConfig as n}from"../constants/index.js";import"../../../form-render/index.js";import{useFieldNormalize as r}from"../../../form-render/src/hooks/useFieldNormalize.js";const{FieldNormalizeWaterfallHook:d}=r();function E(){const r=new Map([[l.NAME,()=>({alias:"名称",elem_width:6,is_null:"0",html_type:"INPUT"})],[l.NOTES,()=>({alias:"问号提示",elem_width:6,html_type:"INPUT",is_empty:"0"})],[l.DEFAULT_VALUE,(l,i)=>{const a=d.call(Object.assign({},null==l?void 0:l.originalSetting,i));return{alias:"默认值",elem_width:6,html_type:"INPUT",is_empty:"0",componentProps:e(a.componentProps,["class","style","disabled"]),...t(a,["html_type","validate","option","multi_select","multi_select_value","wordbook","open","close","date_format","step_length","urlConfig","autograph","defined_error_msg","free_entry","validator"])}}],[l.LAYOUT_WIDTH_ENUM,()=>({alias:"宽度",fieldType:"number",html_type:"SELECT",elem_width:6,...i()})],[l.DESC,()=>({alias:"说明文本",elem_width:6,html_type:"INPUT",is_empty:"0",validate:{max_length:30}})],[l.DEFAULT_EXPAND,()=>({alias:"是否默认展开",html_type:"SWITCH",elem_width:6,...a()})],[l.FOLD,()=>({alias:"是否可折叠",html_type:"SWITCH",elem_width:6,..._()})],[l.EDITABLE,e=>({alias:"是否可编辑",html_type:"SWITCH",elem_width:6,is_edit:(null==e?void 0:e.editableDisabled)?"0":"1",...o()})],[l.REQUIRED,e=>({alias:"是否必填",html_type:"SWITCH",elem_width:6,is_edit:(null==e?void 0:e.requiredDisabled)?"0":"1",...s()})],[l.SHOW,e=>({alias:"是否显示",html_type:"SWITCH",elem_width:6,is_show:(null==e?void 0:e.__isCombinationChild)?"1":"0",...m()})],[l.ROWS,()=>({alias:"高度",elem_width:6,remark:"默认为3行高度,可调整为1-10行高度",default_val:3,is_empty:"0",html_type:"SELECT",...n()})]]);function E(e,t,l){return e.map((e=>{var i,a;return{...null!=(a=null==(i=r.get(e))?void 0:i(t,l))?a:{},val_key:e}}))}const p=new Map([["LINE_BAR",[l.NAME,l.LAYOUT_WIDTH_ENUM,l.NOTES,l.DEFAULT_EXPAND,l.FOLD]],...["NEWLINE","COMPLEX","COMBINATION"].map((e=>[e,[l.NAME,l.LAYOUT_WIDTH_ENUM]]))]),h=[l.NAME,l.DEFAULT_VALUE,l.LAYOUT_WIDTH_ENUM,l.DESC,l.NOTES,l.EDITABLE,l.REQUIRED,l.SHOW];return{generateFieldListByKeys:E,generateFieldListByFormConfigItem:function(e,t){var i;const a=p.get(e.type)||h;return"TEXTAREA"===(t?t.html_type:null==(i=e.originalSetting)?void 0:i.html_type)&&a.splice(3,0,l.ROWS),E(a,e,t)}}}export{E as useConfigurationField};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{arrayed as e,deepOmit as o}from"../../../../shared/utils/index.js";import{cloneDeep as t,pick as n}from"lodash-es";import"../../index.js";import{parseNumberFromMaybeString as r,formRenderLog as i}from"../utils/index.js";import{useFieldNormalize as s}from"./useFieldNormalize.js";import{fieldKeyEscape as a,createLinebarId as p}from"../utils/schema.js";import{useFormValidator as l}from"./useFormValidator.js";import{transformDateFormat as c}from"../utils/business.js";function m(e,o){Object.assign(e["x-component-props"],{...n(o,["wordbook","autograph"])})}function
|
|
1
|
+
import{arrayed as e,deepOmit as o}from"../../../../shared/utils/index.js";import{cloneDeep as t,pick as n}from"lodash-es";import"../../index.js";import{parseNumberFromMaybeString as r,formRenderLog as i}from"../utils/index.js";import{useFieldNormalize as s}from"./useFieldNormalize.js";import{fieldKeyEscape as a,createLinebarId as p}from"../utils/schema.js";import{useFormValidator as l}from"./useFormValidator.js";import{transformDateFormat as c}from"../utils/business.js";function m(e,o){Object.assign(e["x-component-props"],{...n(o,["wordbook","autograph"])})}function u(u){const{createValidatorSchema:d}=l(),x=e=>{var t;const n={name:e.val_key,type:null!=(t=e.fieldType)?t:"string",title:e.alias||e.name,"x-component":e.html_type,default:e.default_val,"x-component-props":{placeholder:e.placeholder,clearable:"0"===e.is_empty,...e.componentProps||{}},"x-content":e.slots,"x-display":"0"===e.is_show?"hidden":"visible","x-pattern":"0"===e.is_edit?"disabled":"editable"};e.reactions&&(n["x-reactions"]=e.reactions),e.noDecorator||Object.assign(n,{"x-decorator":"FORM_ITEM","x-decorator-props":{fieldItem:o(e,["reactions"]),span:2*(e.elem_width||3),showLabel:"1"!==e.hide_title,remark:e.remark,propertyKey:e.val_key,annotation:e.annotation,...e.decoratorProps||{}}});const r=d(e);return r&&(n["x-validator"]=r),"0"===e.is_null&&(n.required=!0),n},f=e=>{var o;const t=x(e);e.urlConfig?function(e,o){Object.assign(e["x-component-props"],{...n(o,["urlConfig"])})}(t,e):e.autograph&&m(t,e);const i=!!e.__multiple;return Object.assign(t["x-component-props"],{multiple:i,options:e.option||(null==(o=e.componentProps)?void 0:o.options),allowCreate:"1"===e.free_entry||!!t["x-component-props"].allowCreate,maxTagCount:r(e.multi_select_value),...n(e,["lazyRequest","requestCache"])}),i&&(t.type="array"),t},_=e=>{const o=x(e);return Object.assign(o["x-component-props"],{options:e.option,vertical:e.__vertical}),m(o,e),o},h=e=>{const t=x(e);return Object.assign(t["x-component-props"],{fieldItem:o(e,["reactions"])}),t},g=e=>({name:e.val_key,type:"void",title:e.alias||e.name,"x-component":"LINEBAR","x-display":"visible","x-component-props":{disabled:"1"===e.is_not_fold,id:p(e.val_key),show:"0"!==e.is_show,remark:e.remark}}),y=new Map([["LINEBAR",g],["LINE_BREAKS",e=>({name:e.val_key,type:"void",title:e.alias||e.name,"x-component":"LINE_BREAKS","x-display":"0"===e.is_show?"hidden":"visible"})],["INPUT",e=>{const o=x(e);return Object.assign(o["x-component-props"],{...n(e,["prefix","suffix"])}),o}],["TEXTAREA",e=>{const o=x(e);return Object.assign(o["x-component-props"],{rows:e.initialize_high||3}),o}],["INPUT_NUMBER",e=>{const o=x(e),{decimal_length:t,validate:n}=e;return Object.assign(o["x-component-props"],{precision:null!=t?t:null==n?void 0:n.decimal_length,prefix:e.prefix,suffix:e.suffix}),o}],["SELECT",f],["REMOTE_SEARCH",f],["DATE",e=>{const o=x(e);return Object.assign(o["x-component-props"],{valueFormat:e.date_format,type:c(e.date_format),validate:e.validate}),o}],["LEVEL_SEARCH_CASCADER",e=>{const o=x(e);return Object.assign(o["x-component-props"],{...n(e,["wordbook","lazyRequest","autograph"])}),o}],["SEARCH_CASCADER",e=>{var o;const t=x(e);return Object.assign(t["x-component-props"],{urlConfig:e.urlConfig,depth:null==(o=e.wordbook)?void 0:o.level_num,options:e.option}),t}],["COMBINATION",e=>{const o=x(e);return o.type="array",!1!==e.jsonCombination&&(o["x-component"]="JSON_COMBINATION"),Object.assign(o["x-decorator-props"],{showLabel:!1,showFeedback:!1}),Object.assign(o["x-component-props"],{title:e.alias||e.name,maxGroupNum:e.maxGroupNum,getProperties:()=>e.children||[]}),o}],["RADIO",_],["CHECKBOX",_],["SWITCH",e=>{const o=x(e);return Object.assign(o["x-component-props"],{openDescription:e.open,closeDescription:e.close}),o}],["SLIDER",e=>{const o=x(e);return Object.assign(o["x-component-props"],{step:r(e.step_length),max:r(e.max_length),min:r(e.min_length),option:e.option}),o}],["COMPLEX",e=>{const o=x(e);Array.isArray(e.properties)&&i("COMPLEX控件的properties属性已经废弃, 请使用children作为替代, 在之后的版本中properties属性将不再支持");const t=Array.isArray(e.properties||e.children)?C(e.properties||e.children):{};return o.type=e.fieldType||"void",o.properties=t,Object.assign(o["x-decorator-props"],{showFeedback:!1}),Object.assign(o["x-component-props"],n(e,["wrapperStyle","display"])),o}]]),b=e=>{if(e.suffixConfig)return v(e);return(y.get(e.html_type)||h)(e)},v=o=>{if(!o.suffixConfig)return b(o);const t=e(o.suffixConfig),n=[{...o,is_show:"1",hide_title:"1",suffixConfig:void 0}].concat(t.map((e=>({...e,hide_title:"1",is_show:"1"})))),r=x(o);return Object.assign(r,{type:"void",name:a(n),title:o.alias||o.name,"x-component":"INPUT_GROUP","x-component-props":{span:2*(o.elem_width||3)},"x-decorator-props":{...r["x-decorator-props"],showFeedback:!1,suffixFields:n.map((e=>e.val_key))},properties:C(n)}),r},{FieldNormalizeWaterfallHook:O}=s();function C(o){let n=null;return o.reduce(((e,o,s)=>{var a;const p=null==(a=(o=O.call(t(o))).validate)?void 0:a.obj_type;return p&&u&&u.collect(p,t(o)),"LINEBAR"===o.html_type?(e[i(o)]=r(g(o),s),n=e[i(o)].properties={}):n?n[i(o)]=r(b(o),s):(n=null,e[i(o)]=r(b(o),s)),e}),{});function r(e,o){return e["x-index"]=o,e}function i(o){return o.suffixConfig?a([o,...e(o.suffixConfig)]):o.val_key}}return{schemaAdaptor:C}}export{u as useFieldListAdaptor};
|
|
@@ -4,7 +4,7 @@ import { CSSProperties, VNode } from 'vue';
|
|
|
4
4
|
import { DependKeyType, FormCommonState, FormRequestType } from '../../../../../es/components/form-render';
|
|
5
5
|
export * from '@formily/core';
|
|
6
6
|
declare type FieldBusinessType = 'password' | 'id_card' | 'age' | 'age_unit' | 'mobile' | 'telephone' | 'email' | 'sex' | 'birthday' | 'bank_card' | 'website' | 'gestational_weeks' | 'gestational_stage' | 'customer_name';
|
|
7
|
-
declare type HtmlType = 'INPUT' | 'SELECT' | 'LINEBAR' | 'LINE_BREAKS' | 'INPUT_NUMBER' | 'REMOTE_SEARCH' | 'DATE' | 'LEVEL_SEARCH_CASCADER' | 'SEARCH_CASCADER' | 'COMBINATION' | 'RADIO' | 'CHECKBOX' | 'SWITCH' | 'SLIDER' | 'COMPLEX' | 'SEARCH' | 'PHONE_TYPE' | 'IDCARD_TYPE' | 'SEARCH_MORE' | 'DIGITAL' | 'CHECKBOX_BLOCK' | 'RADIO_BLOCK' | 'DATE-INPUT' | 'DATETIME-INPUT' | 'SWITCH_COMPONENT' | 'SLIDER_COMPONENT' | 'LEVEL_SEARCH_CASCADE' | 'SEARCH_CASCADE' | ({} & string);
|
|
7
|
+
declare type HtmlType = 'INPUT' | 'TEXTAREA' | 'SELECT' | 'LINEBAR' | 'LINE_BREAKS' | 'INPUT_NUMBER' | 'REMOTE_SEARCH' | 'DATE' | 'LEVEL_SEARCH_CASCADER' | 'SEARCH_CASCADER' | 'COMBINATION' | 'RADIO' | 'CHECKBOX' | 'SWITCH' | 'SLIDER' | 'COMPLEX' | 'SEARCH' | 'PHONE_TYPE' | 'IDCARD_TYPE' | 'SEARCH_MORE' | 'DIGITAL' | 'CHECKBOX_BLOCK' | 'RADIO_BLOCK' | 'DATE-INPUT' | 'DATETIME-INPUT' | 'SWITCH_COMPONENT' | 'SLIDER_COMPONENT' | 'LEVEL_SEARCH_CASCADE' | 'SEARCH_CASCADE' | ({} & string);
|
|
8
8
|
declare type ValidateType = 'mobile' | 'integer' | 'number' | 'id_card' | 'regular' | string;
|
|
9
9
|
export declare type ValidateItem = Partial<{
|
|
10
10
|
/**
|
|
@@ -204,6 +204,10 @@ export declare type FieldItem = {
|
|
|
204
204
|
* 是否允许用户在下拉控件中创建自定义选项
|
|
205
205
|
*/
|
|
206
206
|
free_entry: FormCommonState;
|
|
207
|
+
/**
|
|
208
|
+
* 文本域控件默认行数
|
|
209
|
+
*/
|
|
210
|
+
initialize_high: number;
|
|
207
211
|
/**
|
|
208
212
|
* 数据类型
|
|
209
213
|
*/
|
|
@@ -38,7 +38,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
38
38
|
fieldList: import("vue").Ref<{
|
|
39
39
|
[x: string]: any;
|
|
40
40
|
val_key: string;
|
|
41
|
-
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";
|
|
41
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
42
42
|
annotation?: boolean | undefined;
|
|
43
43
|
val_key_unit?: string | undefined;
|
|
44
44
|
is_edit?: import("..").FormCommonState | undefined;
|
|
@@ -141,6 +141,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
141
141
|
is_not_fold?: string | undefined;
|
|
142
142
|
remark?: string | undefined;
|
|
143
143
|
free_entry?: import("..").FormCommonState | undefined;
|
|
144
|
+
initialize_high?: number | undefined;
|
|
144
145
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
145
146
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
146
147
|
lazyRequest?: boolean | undefined;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
fieldList: import("vue").Ref<{
|
|
41
41
|
[x: string]: any;
|
|
42
42
|
val_key: string;
|
|
43
|
-
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";
|
|
43
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "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";
|
|
44
44
|
annotation?: boolean | undefined;
|
|
45
45
|
val_key_unit?: string | undefined;
|
|
46
46
|
is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
@@ -143,6 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
143
|
is_not_fold?: string | undefined;
|
|
144
144
|
remark?: string | undefined;
|
|
145
145
|
free_entry?: import("../../../../es/components/form-render").FormCommonState | undefined;
|
|
146
|
+
initialize_high?: number | undefined;
|
|
146
147
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
147
148
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
148
149
|
lazyRequest?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.42-beta.
|
|
3
|
+
"version": "3.1.42-beta.61",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"iOS 7",
|
|
62
62
|
"last 3 iOS versions"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "708cdf1c4dbbae3c31281eced0f57eee33a274c6"
|
|
65
65
|
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
export const LEVEL_SEARCH_CASCADER: vue_2.DefineComponent<{
|
|
3
|
-
options: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
default: () => never[];
|
|
6
|
-
};
|
|
7
|
-
labelField: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
valueField: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
autograph: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
lazyRequest: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
requestCache: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
wordbook: {
|
|
28
|
-
type: ObjectConstructor;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
onChange: {};
|
|
32
|
-
value: {
|
|
33
|
-
type: (ArrayConstructor | StringConstructor)[];
|
|
34
|
-
};
|
|
35
|
-
}, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
|
|
36
|
-
options: {
|
|
37
|
-
type: ArrayConstructor;
|
|
38
|
-
default: () => never[];
|
|
39
|
-
};
|
|
40
|
-
labelField: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
valueField: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
autograph: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
lazyRequest: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
requestCache: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
wordbook: {
|
|
61
|
-
type: ObjectConstructor;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
onChange: {};
|
|
65
|
-
value: {
|
|
66
|
-
type: (ArrayConstructor | StringConstructor)[];
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
options: unknown[];
|
|
72
|
-
labelField: string;
|
|
73
|
-
valueField: string;
|
|
74
|
-
lazyRequest: boolean;
|
|
75
|
-
requestCache: boolean;
|
|
76
|
-
}>;
|
|
77
|
-
import vue_2 = require("vue");
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
export const SEARCH_CASCADER: vue_2.DefineComponent<{
|
|
3
|
-
options: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
default: () => never[];
|
|
6
|
-
};
|
|
7
|
-
depth: {
|
|
8
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
9
|
-
};
|
|
10
|
-
urlConfig: {
|
|
11
|
-
type: ObjectConstructor;
|
|
12
|
-
};
|
|
13
|
-
requestCache: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
onFocus: {
|
|
18
|
-
type: FunctionConstructor;
|
|
19
|
-
};
|
|
20
|
-
filterable: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
checkStrategy: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
labelField: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
valueField: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
onChange: {};
|
|
37
|
-
value: {};
|
|
38
|
-
}, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
|
|
39
|
-
options: {
|
|
40
|
-
type: ArrayConstructor;
|
|
41
|
-
default: () => never[];
|
|
42
|
-
};
|
|
43
|
-
depth: {
|
|
44
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
45
|
-
};
|
|
46
|
-
urlConfig: {
|
|
47
|
-
type: ObjectConstructor;
|
|
48
|
-
};
|
|
49
|
-
requestCache: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
onFocus: {
|
|
54
|
-
type: FunctionConstructor;
|
|
55
|
-
};
|
|
56
|
-
filterable: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
checkStrategy: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
labelField: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
valueField: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
onChange: {};
|
|
73
|
-
value: {};
|
|
74
|
-
}>> & {
|
|
75
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
options: unknown[];
|
|
78
|
-
labelField: string;
|
|
79
|
-
valueField: string;
|
|
80
|
-
requestCache: boolean;
|
|
81
|
-
filterable: boolean;
|
|
82
|
-
checkStrategy: string;
|
|
83
|
-
}>;
|
|
84
|
-
import vue_2 = require("vue");
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
declare const _default: vue_1.DefineComponent<{
|
|
3
|
-
form: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
default: () => void;
|
|
6
|
-
};
|
|
7
|
-
item: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: () => void;
|
|
10
|
-
};
|
|
11
|
-
isLock: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
16
|
-
form: {
|
|
17
|
-
type: ObjectConstructor;
|
|
18
|
-
default: () => void;
|
|
19
|
-
};
|
|
20
|
-
item: {
|
|
21
|
-
type: ObjectConstructor;
|
|
22
|
-
default: () => void;
|
|
23
|
-
};
|
|
24
|
-
isLock: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}>> & {
|
|
29
|
-
onScaleChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
item: Record<string, any>;
|
|
32
|
-
isLock: boolean;
|
|
33
|
-
form: Record<string, any>;
|
|
34
|
-
}>;
|
|
35
|
-
export default _default;
|
|
36
|
-
import vue_1 = require("vue");
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
declare const _default: vue_1.DefineComponent<{
|
|
3
|
-
form: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
default: () => {};
|
|
6
|
-
};
|
|
7
|
-
item: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: () => {};
|
|
10
|
-
};
|
|
11
|
-
isLock: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
16
|
-
form: {
|
|
17
|
-
type: ObjectConstructor;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
|
-
item: {
|
|
21
|
-
type: ObjectConstructor;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
|
-
isLock: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}>> & {
|
|
29
|
-
onScaleChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
item: Record<string, any>;
|
|
32
|
-
isLock: boolean;
|
|
33
|
-
form: Record<string, any>;
|
|
34
|
-
}>;
|
|
35
|
-
export default _default;
|
|
36
|
-
import vue_1 = require("vue");
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
declare const _default: vue_1.DefineComponent<{
|
|
3
|
-
title: {
|
|
4
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
changeSize: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
closable: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
modalWidth: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
modalHeight: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
handleOk: {
|
|
24
|
-
type: FunctionConstructor;
|
|
25
|
-
default: () => {};
|
|
26
|
-
};
|
|
27
|
-
cancel: {
|
|
28
|
-
type: FunctionConstructor;
|
|
29
|
-
default: () => {};
|
|
30
|
-
};
|
|
31
|
-
visible: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("update:visible" | "onClose")[], "onClose" | "update:visible", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
36
|
-
title: {
|
|
37
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
changeSize: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
closable: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
modalWidth: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
modalHeight: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
handleOk: {
|
|
57
|
-
type: FunctionConstructor;
|
|
58
|
-
default: () => {};
|
|
59
|
-
};
|
|
60
|
-
cancel: {
|
|
61
|
-
type: FunctionConstructor;
|
|
62
|
-
default: () => {};
|
|
63
|
-
};
|
|
64
|
-
visible: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
closable: boolean;
|
|
73
|
-
title: string | Function;
|
|
74
|
-
visible: boolean;
|
|
75
|
-
modalWidth: string;
|
|
76
|
-
modalHeight: string;
|
|
77
|
-
handleOk: Function;
|
|
78
|
-
changeSize: boolean;
|
|
79
|
-
cancel: Function;
|
|
80
|
-
}>;
|
|
81
|
-
export default _default;
|
|
82
|
-
import vue_1 = require("vue");
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
export const SearchMenu: vue_1.DefineComponent<{
|
|
3
|
-
childKey: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: ArrayConstructor;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
labelKey: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
valueKey: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
currentNode: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
};
|
|
22
|
-
cursorNode: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
};
|
|
25
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
26
|
-
childKey: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
options: {
|
|
31
|
-
type: ArrayConstructor;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
labelKey: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
valueKey: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
currentNode: {
|
|
43
|
-
type: ObjectConstructor;
|
|
44
|
-
};
|
|
45
|
-
cursorNode: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
};
|
|
48
|
-
}>> & {
|
|
49
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
options: unknown[];
|
|
53
|
-
valueKey: string;
|
|
54
|
-
childKey: string;
|
|
55
|
-
labelKey: string;
|
|
56
|
-
}>;
|
|
57
|
-
import vue_1 = require("vue");
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export const __esModule: true;
|
|
2
|
-
export const SearchMenu: vue_1.DefineComponent<{
|
|
3
|
-
childKey: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: ArrayConstructor;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
labelKey: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
valueKey: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
currentNode: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
};
|
|
22
|
-
cursorNode: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
};
|
|
25
|
-
}, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
|
|
26
|
-
childKey: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
options: {
|
|
31
|
-
type: ArrayConstructor;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
labelKey: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
valueKey: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
currentNode: {
|
|
43
|
-
type: ObjectConstructor;
|
|
44
|
-
};
|
|
45
|
-
cursorNode: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
};
|
|
48
|
-
}>> & {
|
|
49
|
-
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onChangeCursor?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
options: unknown[];
|
|
53
|
-
valueKey: string;
|
|
54
|
-
childKey: string;
|
|
55
|
-
labelKey: string;
|
|
56
|
-
}>;
|
|
57
|
-
import vue_1 = require("vue");
|