cnhis-design-vue 3.1.42-beta.60 → 3.1.42-beta.62

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.
Files changed (25) hide show
  1. package/es/components/form-config/index.d.ts +10 -5
  2. package/es/components/form-config/src/FormConfig.vue.d.ts +10 -5
  3. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -3
  4. package/es/components/form-config/src/constants/index.d.ts +8 -1
  5. package/es/components/form-config/src/constants/index.js +1 -1
  6. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  7. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  8. package/es/components/form-render/src/types/fieldItem.d.ts +5 -1
  9. package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +1 -1
  10. package/es/components/shortcut-setter/index.d.ts +2 -1
  11. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -1
  12. package/es/shared/package.json.js +1 -0
  13. package/es/shared/utils/index.js +1 -1
  14. package/package.json +2 -2
  15. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  16. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -84
  17. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  18. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  19. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  20. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  21. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  22. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  23. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  24. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  25. 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 e=new Map([["LINE_BAR","分线栏"],["NEWLINE","分行符"]]);var t=(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))(t||{});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 n(){return{open:{describe:"默认展开",value:!0},close:{describe:"默认收起",value:!1}}}function u(){return{open:{describe:"可折叠",value:!0},close:{describe:"不可折叠",value:!1}}}function a(){return{open:{describe:"可编辑",value:!0},close:{describe:"不可编辑",value:!1}}}function o(){return{open:{describe:"必填",value:!0},close:{describe:"不必填",value:!1}}}function E(){return{open:{describe:"显示",value:!0},close:{describe:"隐藏",value:!1}}}const i="__display",c=Symbol("InjectionFieldList"),r=Symbol("InjectionMaterialList"),s=Symbol("InjectionActiveFieldItem");export{t as EditAbleField,i as FORM_CONFIG_GROUP,s as InjectionActiveFieldItem,c as InjectionFieldList,r as InjectionMaterialList,e as WidgetTextMap,a as isEditOptionConfig,u as isNotFoldOptionConfig,o as isNullOptionConfig,n as isShowOptionConfig,E as isVisibleOptionConfig,l as widgetWidthOptionConfig};
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 o,isEditOptionConfig as _,isNullOptionConfig as s,isVisibleOptionConfig as n}from"../constants/index.js";import"../../../form-render/index.js";import{useFieldNormalize as m}from"../../../form-render/src/hooks/useFieldNormalize.js";const{FieldNormalizeWaterfallHook:r}=m();function d(){const m=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=r.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,...o()})],[l.EDITABLE,e=>({alias:"是否可编辑",html_type:"SWITCH",elem_width:6,is_edit:(null==e?void 0:e.editableDisabled)?"0":"1",..._()})],[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",...n()})]]);function d(e,t,l){return e.map((e=>{var i,a;return{...null!=(a=null==(i=m.get(e))?void 0:i(t,l))?a:{},val_key:e}}))}const E=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]]))]),p=[l.NAME,l.DEFAULT_VALUE,l.LAYOUT_WIDTH_ENUM,l.DESC,l.NOTES,l.EDITABLE,l.REQUIRED,l.SHOW];return{generateFieldListByKeys:d,generateFieldListByFormConfigItem:function(e,t){return d(E.get(e.type)||p,e,t)}}}export{d as useConfigurationField};
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 d(d){const{createValidatorSchema:u}=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=u(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}],["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)?O(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:O(n)}),r},{FieldNormalizeWaterfallHook:C}=s();function O(o){let n=null;return o.reduce(((e,o,s)=>{var a;const p=null==(a=(o=C.call(t(o))).validate)?void 0:a.obj_type;return p&&d&&d.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:O}}export{d as useFieldListAdaptor};
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
  */
@@ -1 +1 @@
1
- import{promiseTimeout as e}from"@vueuse/shared";import{isFunction as l,cloneDeep as o}from"lodash-es";import{nextTick as n,onBeforeUnmount as t}from"vue";import"../../../index.js";import r from"sortablejs";import{defineTablePlugin as a}from"../../hooks/useTablePlugin.js";function u(){const o="rowDragPlugin",u=new Map;return a({name:o,apply(a){a.fieldHooks.fieldEnd.tapPromise(o,(async(o,{$table:t,emits:a})=>{const{uuid:d}=o,s=o.sortableConfig||{};d&&s.enable&&!u.get(d)&&(await n(),async function n(v=0){if(v>2)return;const c=function(){var e,l,o,n,r,a,u,i,d,s;const v=null==(n=null==(o=null==(l=null==(e=t.value)?void 0:e.$el)?void 0:l.querySelector)?void 0:o.call(l,".vxe-table--body"))?void 0:n.scrollWidth,c=(null==(u=null==(a=null==(r=t.value)?void 0:r.$el)?void 0:a.querySelector)?void 0:u.call(a,".vxe-table.is--scroll-x"))?".fixed-left--wrapper>.vxe-table--body tbody":".body--wrapper>.vxe-table--body tbody";return v?null==(s=null==(d=null==(i=t.value)?void 0:i.$el)?void 0:d.querySelector)?void 0:s.call(d,c):null}();if(c){const e=r.create(c,{handle:".col--seq",...s,onEnd:e=>{var n,r,u,d,v;const c={},{oldIndex:f=0,newIndex:p=0,item:b}=e,{virtualY:m}=(null==(n=t.value)?void 0:n.getScroll())||{};if(m){const{item:e}=(null==(r=t.value)?void 0:r.getRowNode(b))||{},l=null!=(v=null!=(d=e.__currentIndex)?d:null==(u=t.value)?void 0:u.getVTRowIndex(e))?v:0,o=l+(p-f);e.__currentIndex=o,c.oldIndex=l,c.newIndex=o}const x={...e,...c,...i(e,o,t.value)};a("rowDrag",x),l(s.onEnd)&&s.onEnd(x)}});return u.set(d,e)}await e(100),n(++v)}())})),a.setupHooks.setup.tap(o,(e=>{t((()=>{var l;const o=null==(l=e.value)?void 0:l.uuid;o&&u.has(o)&&u.delete(o)}))}))}})}function i(e,l,n){var t;const r=null==(t=null==n?void 0:n.getTableData())?void 0:t.tableData,a=n.treeConfig&&n.treeConfig.transform?void 0:function(e,l){const{oldIndex:n=0,newIndex:t=0}=e,r=o(l),a=r.splice(n,1)[0];return r.splice(t,0,a),r}(e,r);return{oldData:r,newData:a}}export{u as rowDragPlugin};
1
+ import{promiseTimeout as e}from"@vueuse/shared";import{isFunction as l,cloneDeep as n}from"lodash-es";import{nextTick as o,onBeforeUnmount as t}from"vue";import"../../../index.js";import i from"sortablejs";import d from"xe-utils";import{defineTablePlugin as r}from"../../hooks/useTablePlugin.js";function a(){const n="rowDragPlugin",d=new Map;return r({name:n,apply(r){r.fieldHooks.fieldEnd.tapPromise(n,(async(n,{$table:t,emits:r})=>{const{uuid:a}=n,s=n.sortableConfig||{};a&&s.enable&&!d.get(a)&&(await o(),async function n(o=0){if(o>2)return;const c=function(){var e,l,n,o,i,d,r,a,u,s;const c=null==(o=null==(n=null==(l=null==(e=t.value)?void 0:e.$el)?void 0:l.querySelector)?void 0:n.call(l,".vxe-table--body"))?void 0:o.scrollWidth,v=(null==(r=null==(d=null==(i=t.value)?void 0:i.$el)?void 0:d.querySelector)?void 0:r.call(d,".vxe-table.is--scroll-x"))?".fixed-left--wrapper>.vxe-table--body tbody":".body--wrapper>.vxe-table--body tbody";return c?null==(s=null==(u=null==(a=t.value)?void 0:a.$el)?void 0:u.querySelector)?void 0:s.call(u,v):null}();if(c){const e=i.create(c,{handle:".col--seq",...s,onEnd:e=>{var n,o,i,d,a,c,v;const{oldIndex:f=0,newIndex:x=0}=e,p={oldIndex:f,newIndex:x},{virtualY:b}=(null==(n=t.value)?void 0:n.getScroll())||{};if(b){const e=(null==(d=null==(i=null==(o=t.value)?void 0:o.getTableData())?void 0:i.tableData)?void 0:d[f])||{},l=null!=(v=null!=(c=e.__currentIndex)?c:null==(a=t.value)?void 0:a.getVTRowIndex(e))?v:0,n=l+(x-f);e.__currentIndex=n,p.oldIndex=l,p.newIndex=n}const m={...e,...p,...u(e,p,t.value)};r("rowDrag",m),l(s.onEnd)&&s.onEnd(m)}});return d.set(a,e)}await e(100),n(++o)}())})),r.setupHooks.setup.tap(n,(e=>{t((()=>{var l;const n=null==(l=e.value)?void 0:l.uuid;n&&d.has(n)&&d.delete(n)}))}))}})}function u(e,l,o){var t;const i=null==(t=null==o?void 0:o.getTableData())?void 0:t.fullData,r=o.treeConfig&&o.treeConfig.transform?function(e,l){var o,t,i,r,a;const{oldIndex:u=0,newIndex:s=0}=e,c={children:"childrenList"},{fullData:v,tableData:f}=l.getTableData(),x=null==f?void 0:f[u],p=null==f?void 0:f[s-1],b=n(v),m=d.findTree(b,(e=>e.__id===x.__id),c);if(p){const e=null==(t=null==(o=l.$el)?void 0:o.querySelector)?void 0:t.call(o,".body--wrapper>.vxe-table--body tbody"),n=null==(r=null==(i=l.$el)?void 0:i.querySelector)?void 0:r.call(i,".fixed-left--wrapper>.vxe-table--body tbody"),v=d.findTree(b,(e=>e.__id===p.__id),c);if(d.findTree(x[c.children],(e=>e.__id===p.__id),c)){const l=e.children[u],o=e.children[s];return e.insertBefore(o,l),null==(a=null==n?void 0:n.insertBefore)||a.call(n,n.children[s],n.children[u]),console.log("不允许自己给自己拖动"),b}const f=m.items.splice(m.index,1)[0];l.isTreeExpandByRow(p)?p[c.children].splice(0,0,f):v.items.splice(v.index+(m.index<v.index?0:1),0,f)}else{const e=m.items.splice(m.index,1)[0];b.unshift(e)}return b}(e,o):function(e,l){var o;const{oldIndex:t=0,newIndex:i=0}=e,d=n((null==(o=null==l?void 0:l.getTableData())?void 0:o.fullData)||[]),r=d.splice(t,1)[0];return d.splice(i,0,r),d}(l,o);return{oldData:i,newData:r}}export{a as rowDragPlugin};
@@ -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;
@@ -0,0 +1 @@
1
+ var e="@cnhis-design-vue/shared",i="3.1.42-beta.62",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.42-beta.62",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
@@ -1 +1 @@
1
- import{useMemoize as t}from"@vueuse/core";import{isArray as n,isString as e,includes as r,isEmpty as o,negate as u,gt as i,gte as c,lt as s,lte as f,isNumber as a,isObject as x,isFunction as d}from"lodash-es";import{getCurrentInstance as l}from"vue";function m(t,n,e="children",r){let o=!1;function u(){o=!0}!function t(n,e,r="children",i){r=w(r),n=w(n);for(let c=0;c<n.length;c++){if(e(n[c],u,i),o)return;for(let u=0;u<r.length;u++){const i=n[c][r[u]];if(Array.isArray(i)&&t(i,e,r,i),o)return}}}(t,n,e,r)}function p(t,n,e=n.name,r){if(!e)throw new Error(`[CUI]: invalid component name for ${n}`);const{components:o={}}=t._context;o[e]||(r?r():t.component(e,n))}function h(t){if(!e(t))return;const n=t.match(/[Hms:]+/);return n?n[0]:void 0}function w(t){return Array.isArray(t)?t:[t]}function y(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const n=16*Math.random()|0;return("x"==t?n:3&n|8).toString(16)}))}`}const $=t((function(t){return t?[...t].reduce(((t,n)=>/[a-z]/.test(n)?t+8:/[A-Z]/.test(n)?t+12:/\d/.test(n)?t+9:/\./.test(n)?t+4:/[\u4e00-\u9fa5]/.test(n)?t+15:/-/.test(n)?t+4:/[()]/.test(n)?t+14:/[)(]/.test(n)?t+5:/-/.test(n)?t+10:/%/.test(n)?t+14:/‰/.test(n)?t+16:t+6),0):0})),E=Object.seal(Object.create(null));function v(t,e){return function t(e,r){return x(e)?n(e)?e.map((n=>t(n,r))):Object.entries(e).reduce(((n,[e,o])=>(r.includes(e)||(x(o)&&!d(o)?n[e]=t(o,r):n[e]=o),n)),{}):e}(t,e)}function g(t){return Object.values(t).reduce(((t,n)=>Object.assign(t,n)),{})}function I(t,n){if(!t)return t;if(n(t))return t;let e=t.parentElement;for(;e&&!n(e);)e=e.parentElement;return e}function b(t,n="px"){if(a(t))return`${t}${n}`;if(e(t))return t.endsWith(n)?t:`${t}${n}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function L(t,n){return t.some((t=>n.includes(t)))}const O=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function S(t,n){if(!x(t))return t;const e={...t};for(let t=0;t<n.length;t++)Reflect.deleteProperty(e,n[t]);return e}function N(t){if(!l())throw new Error(t||"can't use this hook out of setup environment")}const j={EQ:(t,n)=>`${t}`===n,NEQ:(t,n)=>`${t}`!==n,CL:(t,o)=>!(!n(t)&&!e(t))&&r(t,o),NC:(t,o)=>!n(t)&&!e(t)||!r(t,o),NULL:o,NOT_NULL:u(o),BIG:i,BIGEQ:c,LESS:s,LESSEQ:f};function A(t,n){return(j[n.con]||(()=>!1))(t,`${n.value}`)}function U(t,n=1){const[e,r,o,u,i]=t.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i)||[];if(!e)return[255,255,255,n];const c=i&&parseInt(i,16)/255;return[parseInt(r,16),parseInt(o,16),parseInt(u,16),+(a(c)?c.toFixed(2):n)]}export{E as DMZ,w as arrayed,N as checkInSetupEnv,v as deepOmit,I as findAncestor,h as generateTimeFormat,$ as getStringWidth,U as hex2rgba,A as isMatchLowCodeCondition,O as jsonParse,p as safeComponentRegister,g as separateMetaModule,S as shallowOmit,L as targetStringIncludes,m as traverse,y as uuidGenerator,b as widthAppend};
1
+ import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as i,gt as c,gte as u,lt as s,lte as f,isObject as a,isNumber as x,isFunction as l}from"lodash-es";import{getCurrentInstance as d}from"vue";import m from"../package.json.js";function p(t,e,n="children",r){let o=!1;function i(){o=!0}!function t(e,n,r="children",c){r=y(r),e=y(e);for(let u=0;u<e.length;u++){if(n(e[u],i,c),o)return;for(let i=0;i<r.length;i++){const c=e[u][r[i]];if(Array.isArray(c)&&t(c,n,r,c),o)return}}}(t,e,n,r)}function h(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(!Reflect.get(t,"__cnhis_version")&&a(m)&&Reflect.set(t,"__cnhis_version",m.version),r?r():t.component(n,e))}function w(t){if(!n(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function y(t){return Array.isArray(t)?t:[t]}function v(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const $=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),E=Object.seal(Object.create(null));function g(t,n){return function t(n,r){return a(n)?e(n)?n.map((e=>t(e,r))):Object.entries(n).reduce(((e,[n,o])=>(r.includes(n)||(a(o)&&!l(o)?e[n]=t(o,r):e[n]=o),e)),{}):n}(t,n)}function I(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function _(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function b(t,e="px"){if(x(t))return`${t}${e}`;if(n(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function j(t,e){return t.some((t=>e.includes(t)))}const L=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function O(t,e){if(!a(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function S(t){if(!d())throw new Error(t||"can't use this hook out of setup environment")}const N={EQ:(t,e)=>`${t}`===e,NEQ:(t,e)=>`${t}`!==e,CL:(t,o)=>!(!e(t)&&!n(t))&&r(t,o),NC:(t,o)=>!e(t)&&!n(t)||!r(t,o),NULL:o,NOT_NULL:i(o),BIG:c,BIGEQ:u,LESS:s,LESSEQ:f};function A(t,e){return(N[e.con]||(()=>!1))(t,`${e.value}`)}function U(t,e=1){const[n,r,o,i,c]=t.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i)||[];if(!n)return[255,255,255,e];const u=c&&parseInt(c,16)/255;return[parseInt(r,16),parseInt(o,16),parseInt(i,16),+(x(u)?u.toFixed(2):e)]}export{E as DMZ,y as arrayed,S as checkInSetupEnv,g as deepOmit,_ as findAncestor,w as generateTimeFormat,$ as getStringWidth,U as hex2rgba,A as isMatchLowCodeCondition,L as jsonParse,h as safeComponentRegister,I as separateMetaModule,O as shallowOmit,j as targetStringIncludes,p as traverse,v as uuidGenerator,b as widthAppend};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.42-beta.60",
3
+ "version": "3.1.42-beta.62",
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": "041d621a30b73a4621fd3281bab328c4abf56768"
64
+ "gitHead": "2055890bfc68dfc6dd8790031b76a499eaced755"
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,3 +0,0 @@
1
- export const __esModule: true;
2
- export function highLightSetPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function filterRenderPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function defaultRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function seqRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -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");