cnhis-design-vue 3.1.42-beta.0 → 3.1.42-release.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  2. package/es/components/annotation-edit/style/index.css +1 -1
  3. package/es/components/big-table/index.d.ts +3 -4
  4. package/es/components/big-table/src/BigTable.vue.d.ts +3 -4
  5. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  6. package/es/components/big-table/style/index.css +1 -1
  7. package/es/components/button-print/index.d.ts +6 -7
  8. package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -7
  9. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  10. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  11. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  12. package/es/components/button-print/src/utils/print.js +1 -1
  13. package/es/components/fabric-chart/index.d.ts +2 -2
  14. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  15. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  18. package/es/components/field-set/index.d.ts +2 -2
  19. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  20. package/es/components/form-config/index.d.ts +37 -46
  21. package/es/components/form-config/src/FormConfig.vue.d.ts +37 -46
  22. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  23. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
  24. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
  25. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -9
  26. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  27. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -33
  28. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  29. package/es/components/form-config/style/index.css +1 -1
  30. package/es/components/form-render/index.d.ts +16 -16
  31. package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
  32. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
  33. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  34. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  35. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  36. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  37. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  38. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  39. package/es/components/form-render/src/components/renderer/select.js +1 -1
  40. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  41. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  42. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
  43. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  44. package/es/components/form-render/style/index.css +1 -1
  45. package/es/components/iho-table/index.d.ts +0 -3
  46. package/es/components/iho-table/src/IhoTable.vue.d.ts +0 -3
  47. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  48. package/es/components/iho-table/src/constants/index.d.ts +4 -4
  49. package/es/components/iho-table/src/constants/index.js +1 -1
  50. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  51. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +7 -20
  52. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  53. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -18
  54. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  55. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
  56. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
  57. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  58. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  59. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  60. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  61. package/es/components/iho-table/src/types/index.d.ts +0 -1
  62. package/es/components/iho-table/src/utils/index.d.ts +0 -1
  63. package/es/components/iho-table/src/utils/index.js +1 -1
  64. package/es/components/iho-table/style/index.css +1 -1
  65. package/es/components/index.css +1 -1
  66. package/es/components/index.d.ts +2 -8
  67. package/es/components/index.js +1 -1
  68. package/es/components/info-header/index.d.ts +156 -3799
  69. package/es/components/info-header/src/InfoHeader.vue.d.ts +156 -3800
  70. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  71. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  72. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  73. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  74. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +139 -2669
  75. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  76. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -745
  77. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  78. package/es/components/info-header/src/types/index.d.ts +3 -17
  79. package/es/components/info-header/style/index.css +1 -1
  80. package/es/components/keyboard/index.d.ts +2 -4
  81. package/es/components/keyboard/src/Keyboard.vue.d.ts +2 -4
  82. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  83. package/es/components/keyboard/style/index.css +1 -1
  84. package/es/components/recommend-search/index.d.ts +2 -2
  85. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  86. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  87. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  88. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  89. package/es/components/scale-view/src/hooks/use-component.d.ts +116 -69
  90. package/es/components/search-cascader/index.d.ts +2 -2
  91. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  92. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  93. package/es/components/select-label/index.d.ts +169 -70
  94. package/es/components/select-label/src/LabelFormContent.vue.d.ts +53 -1
  95. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  96. package/es/components/select-label/src/SelectLabel.vue.d.ts +116 -70
  97. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  98. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  99. package/es/components/select-label/style/index.css +1 -1
  100. package/es/components/select-person/index.d.ts +1 -1
  101. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  102. package/es/components/shortcut-setter/index.d.ts +17 -17
  103. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
  104. package/es/components/steps-wheel/index.d.ts +0 -1
  105. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +0 -1
  106. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  107. package/es/components/steps-wheel/style/index.css +1 -1
  108. package/es/components/table-filter/index.d.ts +2385 -0
  109. package/es/components/table-filter/index.js +1 -1
  110. package/es/components/{base-search/src/index.vue.d.ts → table-filter/src/base-search-com/BaseSearch.vue.d.ts} +91 -26
  111. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
  112. package/es/components/{classification/src/index.vue.d.ts → table-filter/src/classification/Classification-com.vue.d.ts} +291 -57
  113. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
  114. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +0 -1
  115. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  116. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +42 -1
  117. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  118. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  119. package/es/components/table-filter/src/components/render-widget/enums.d.ts +8 -0
  120. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  121. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +1 -2
  122. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  123. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  124. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  125. package/es/components/{classification → table-filter}/src/components/search-filter/index.vue.d.ts +93 -10
  126. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  127. package/es/components/{classification → table-filter}/src/components/set-classification/index.vue.d.ts +130 -5
  128. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  129. package/es/components/{classification → table-filter}/src/components/table-modal/index.vue.d.ts +42 -0
  130. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  131. package/es/components/table-filter/src/const/index.d.ts +5 -0
  132. package/es/components/table-filter/src/const/index.js +1 -0
  133. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -4
  134. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  135. package/es/components/table-filter/src/hooks/useMixins.d.ts +54 -1
  136. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  137. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  138. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
  139. package/es/components/table-filter/src/hooks/useTableSearchCon.js +1 -0
  140. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
  141. package/es/components/table-filter/src/hooks/useWordBookutils.js +1 -0
  142. package/es/components/{quick-search/src/index.vue.d.ts → table-filter/src/quick-search/QuickSearch.vue.d.ts} +120 -31
  143. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
  144. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  145. package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
  146. package/es/components/table-filter/src/tool/time-domain.js +1 -0
  147. package/es/components/table-filter/src/tool/transformData.d.ts +37 -1
  148. package/es/components/table-filter/src/tool/transformData.js +1 -1
  149. package/es/components/table-filter/src/tool/utils.d.ts +4 -0
  150. package/es/components/table-filter/src/tool/utils.js +1 -0
  151. package/es/components/table-filter/src/types/enums.d.ts +0 -1
  152. package/es/components/table-filter/src/types/enums.js +1 -1
  153. package/es/components/table-filter/src/types/index.d.ts +169 -13
  154. package/es/components/table-filter/style/index.css +1 -0
  155. package/es/shared/utils/index.d.ts +0 -1
  156. package/es/shared/utils/index.js +1 -1
  157. package/package.json +2 -2
  158. package/es/components/base-search/index.d.ts +0 -293
  159. package/es/components/base-search/index.js +0 -1
  160. package/es/components/base-search/src/index.vue.js +0 -1
  161. package/es/components/base-search/style/iconfont.ttf +0 -0
  162. package/es/components/base-search/style/index.css +0 -1
  163. package/es/components/button-print/src/api.d.ts +0 -3
  164. package/es/components/button-print/src/api.js +0 -1
  165. package/es/components/classification/index.d.ts +0 -995
  166. package/es/components/classification/index.js +0 -1
  167. package/es/components/classification/src/components/search-filter/index.vue.js +0 -1
  168. package/es/components/classification/src/components/set-classification/index.vue.js +0 -1
  169. package/es/components/classification/src/components/table-modal/index.vue.js +0 -1
  170. package/es/components/classification/src/const/index.d.ts +0 -2
  171. package/es/components/classification/src/const/index.js +0 -1
  172. package/es/components/classification/src/index.vue.js +0 -1
  173. package/es/components/classification/style/iconfont.ttf +0 -0
  174. package/es/components/classification/style/index.css +0 -1
  175. package/es/components/config-provider/index.d.ts +0 -14
  176. package/es/components/config-provider/index.js +0 -1
  177. package/es/components/config-provider/src/ConfigProvider.d.ts +0 -14
  178. package/es/components/config-provider/src/ConfigProvider.js +0 -1
  179. package/es/components/config-provider/src/interface.d.ts +0 -19
  180. package/es/components/config-provider/src/interface.js +0 -1
  181. package/es/components/config-provider/src/utils/index.d.ts +0 -2
  182. package/es/components/config-provider/src/utils/index.js +0 -1
  183. package/es/components/date-picker/index.d.ts +0 -20
  184. package/es/components/date-picker/index.js +0 -1
  185. package/es/components/date-picker/src/DatePicker.vue.d.ts +0 -20
  186. package/es/components/date-picker/src/DatePicker.vue.js +0 -1
  187. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +0 -1842
  188. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +0 -1
  189. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +0 -1972
  190. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +0 -1
  191. package/es/components/info-header/src/constants/index.d.ts +0 -4
  192. package/es/components/info-header/src/constants/index.js +0 -1
  193. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +0 -4
  194. package/es/components/info-header/src/hooks/useThemeOverrides.js +0 -1
  195. package/es/components/keyboard/src/constants/index.d.ts +0 -2
  196. package/es/components/keyboard/src/constants/index.js +0 -1
  197. package/es/components/quick-search/index.d.ts +0 -713
  198. package/es/components/quick-search/index.js +0 -1
  199. package/es/components/quick-search/src/index.vue.js +0 -1
  200. package/es/components/quick-search/style/index.css +0 -1
  201. package/es/components/select-label/style/iconfont.ttf +0 -0
  202. package/es/components/steps-wheel/src/constants/index.d.ts +0 -2
  203. package/es/components/steps-wheel/src/constants/index.js +0 -1
  204. package/es/components/time-picker/index.d.ts +0 -18
  205. package/es/components/time-picker/index.js +0 -1
  206. package/es/components/time-picker/src/TimePicker.vue.d.ts +0 -18
  207. package/es/components/time-picker/src/TimePicker.vue.js +0 -1
  208. package/es/shared/mixins/index.d.ts +0 -1
  209. package/es/shared/mixins/index.js +0 -1
  210. package/es/shared/mixins/useTheme.d.ts +0 -3
  211. package/es/shared/mixins/useTheme.js +0 -1
  212. /package/es/components/{classification → table-filter}/src/directive/flexibleResize.d.ts +0 -0
  213. /package/es/components/{classification → table-filter}/src/directive/flexibleResize.js +0 -0
  214. /package/es/components/{base-search → table-filter}/src/directive/resize.d.ts +0 -0
  215. /package/es/components/{base-search → table-filter}/src/directive/resize.js +0 -0
  216. /package/es/components/table-filter/src/tool/{baseOptions.d.ts → options.d.ts} +0 -0
  217. /package/es/components/table-filter/src/tool/{baseOptions.js → options.js} +0 -0
  218. /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.d.ts +0 -0
  219. /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.js +0 -0
@@ -32,7 +32,6 @@ declare const _default: import("vue").DefineComponent<{
32
32
  };
33
33
  }>> & {}>>;
34
34
  uuid: string;
35
- cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
36
35
  getCommonConfig: (formConfig?: FormConfigItem | undefined) => {
37
36
  move: ({ to, from, dragged }: import("sortablejs").MoveEvent) => false | undefined;
38
37
  onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
@@ -62,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
62
61
  originalSetting?: {
63
62
  [x: string]: any;
64
63
  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";
64
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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
65
  annotation?: boolean | undefined;
67
66
  val_key_unit?: string | undefined;
68
67
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -1755,7 +1754,7 @@ declare const _default: import("vue").DefineComponent<{
1755
1754
  originalSetting?: {
1756
1755
  [x: string]: any;
1757
1756
  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";
1757
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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
1758
  annotation?: boolean | undefined;
1760
1759
  val_key_unit?: string | undefined;
1761
1760
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -3946,30 +3945,35 @@ declare const _default: import("vue").DefineComponent<{
3946
3945
  data: any;
3947
3946
  loading: boolean;
3948
3947
  required: boolean;
3949
- hidden: boolean;
3950
- visible: boolean;
3951
- content: any;
3952
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
3953
- active: boolean;
3954
- disabled: boolean;
3955
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
3956
3948
  value: string;
3957
3949
  readonly index: string | number;
3950
+ disabled: boolean;
3958
3951
  onFocus: (...args: any[]) => Promise<void>;
3959
3952
  onBlur: (...args: any[]) => Promise<void>;
3960
3953
  onInput: (...args: any[]) => Promise<void>;
3954
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
3955
+ visible: boolean;
3961
3956
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
3962
3957
  validator: import("../../../../es/components/form-render").FieldValidator;
3963
3958
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
3964
3959
  title: string;
3965
3960
  form: import("../../../../es/components/form-render").Form<any>;
3961
+ content: any;
3962
+ hidden: boolean;
3963
+ active: boolean;
3964
+ dataSource: import("../../../../es/components/form-render").FieldDataSource;
3965
+ description: string;
3966
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
3967
+ mounted: boolean;
3968
+ readonly destroyed: boolean;
3969
+ unmounted: boolean;
3966
3970
  componentProps: Record<string, any>;
3967
3971
  decoratorProps: Record<string, any>;
3968
- description: string;
3969
3972
  readOnly: boolean;
3970
3973
  editable: boolean;
3971
3974
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
3972
3975
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
3976
+ readPretty: boolean;
3973
3977
  validating: boolean;
3974
3978
  submitting: boolean;
3975
3979
  visited: boolean;
@@ -3977,7 +3981,6 @@ declare const _default: import("vue").DefineComponent<{
3977
3981
  modified: boolean;
3978
3982
  inputValue: string;
3979
3983
  inputValues: any[];
3980
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
3981
3984
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
3982
3985
  caches: import("../../../../es/components/form-render").IFieldCaches;
3983
3986
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -4008,15 +4011,11 @@ declare const _default: import("vue").DefineComponent<{
4008
4011
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
4009
4012
  modify: () => void;
4010
4013
  initialized: boolean;
4011
- mounted: boolean;
4012
- unmounted: boolean;
4013
4014
  decoratorType: any;
4014
4015
  componentType: any;
4015
4016
  designable: boolean;
4016
4017
  locate: (address: import("@formily/path").Pattern) => void;
4017
4018
  readonly parent: import("../../../../es/components/form-render").GeneralField;
4018
- readPretty: boolean;
4019
- readonly destroyed: boolean;
4020
4019
  setTitle: (title?: string | undefined) => void;
4021
4020
  setDescription: (description?: string | undefined) => void;
4022
4021
  setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -4058,7 +4057,7 @@ declare const _default: import("vue").DefineComponent<{
4058
4057
  };
4059
4058
  readonly disabled: BooleanConstructor;
4060
4059
  readonly displayDirective: {
4061
- readonly type: PropType<"show" | "if" | "show:lazy">;
4060
+ readonly type: PropType<"if" | "show" | "show:lazy">;
4062
4061
  readonly default: "if";
4063
4062
  };
4064
4063
  readonly closable: {
@@ -4083,7 +4082,7 @@ declare const _default: import("vue").DefineComponent<{
4083
4082
  };
4084
4083
  readonly disabled: BooleanConstructor;
4085
4084
  readonly displayDirective: {
4086
- readonly type: PropType<"show" | "if" | "show:lazy">;
4085
+ readonly type: PropType<"if" | "show" | "show:lazy">;
4087
4086
  readonly default: "if";
4088
4087
  };
4089
4088
  readonly closable: {
@@ -4097,7 +4096,7 @@ declare const _default: import("vue").DefineComponent<{
4097
4096
  }>>, {
4098
4097
  readonly disabled: boolean;
4099
4098
  readonly closable: boolean | undefined;
4100
- readonly displayDirective: "show" | "if" | "show:lazy";
4099
+ readonly displayDirective: "if" | "show" | "show:lazy";
4101
4100
  }>;
4102
4101
  NTabs: any;
4103
4102
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -4379,7 +4378,7 @@ declare const _default: import("vue").DefineComponent<{
4379
4378
  fieldList: import("vue").Ref<{
4380
4379
  [x: string]: any;
4381
4380
  val_key: string;
4382
- html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
4381
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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";
4383
4382
  annotation?: boolean | undefined;
4384
4383
  val_key_unit?: string | undefined;
4385
4384
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -6085,7 +6084,7 @@ declare const _default: import("vue").DefineComponent<{
6085
6084
  originalSetting?: {
6086
6085
  [x: string]: any;
6087
6086
  val_key: string;
6088
- html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
6087
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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";
6089
6088
  annotation?: boolean | undefined;
6090
6089
  val_key_unit?: string | undefined;
6091
6090
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -7762,7 +7761,7 @@ declare const _default: import("vue").DefineComponent<{
7762
7761
  originalSetting?: {
7763
7762
  [x: string]: any;
7764
7763
  val_key: string;
7765
- html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
7764
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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";
7766
7765
  annotation?: boolean | undefined;
7767
7766
  val_key_unit?: string | undefined;
7768
7767
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -9864,30 +9863,35 @@ declare const _default: import("vue").DefineComponent<{
9864
9863
  data: any;
9865
9864
  loading: boolean;
9866
9865
  required: boolean;
9867
- hidden: boolean;
9868
- visible: boolean;
9869
- content: any;
9870
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
9871
- active: boolean;
9872
- disabled: boolean;
9873
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
9874
9866
  value: string;
9875
9867
  readonly index: string | number;
9868
+ disabled: boolean;
9876
9869
  onFocus: (...args: any[]) => Promise<void>;
9877
9870
  onBlur: (...args: any[]) => Promise<void>;
9878
9871
  onInput: (...args: any[]) => Promise<void>;
9872
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
9873
+ visible: boolean;
9879
9874
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
9880
9875
  validator: import("../../../../es/components/form-render").FieldValidator;
9881
9876
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
9882
9877
  title: string;
9883
9878
  form: import("../../../../es/components/form-render").Form<any>;
9879
+ content: any;
9880
+ hidden: boolean;
9881
+ active: boolean;
9882
+ dataSource: import("../../../../es/components/form-render").FieldDataSource;
9883
+ description: string;
9884
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
9885
+ mounted: boolean;
9886
+ readonly destroyed: boolean;
9887
+ unmounted: boolean;
9884
9888
  componentProps: Record<string, any>;
9885
9889
  decoratorProps: Record<string, any>;
9886
- description: string;
9887
9890
  readOnly: boolean;
9888
9891
  editable: boolean;
9889
9892
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
9890
9893
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
9894
+ readPretty: boolean;
9891
9895
  validating: boolean;
9892
9896
  submitting: boolean;
9893
9897
  visited: boolean;
@@ -9895,7 +9899,6 @@ declare const _default: import("vue").DefineComponent<{
9895
9899
  modified: boolean;
9896
9900
  inputValue: string;
9897
9901
  inputValues: any[];
9898
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
9899
9902
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
9900
9903
  caches: import("../../../../es/components/form-render").IFieldCaches;
9901
9904
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -9926,15 +9929,11 @@ declare const _default: import("vue").DefineComponent<{
9926
9929
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
9927
9930
  modify: () => void;
9928
9931
  initialized: boolean;
9929
- mounted: boolean;
9930
- unmounted: boolean;
9931
9932
  decoratorType: any;
9932
9933
  componentType: any;
9933
9934
  designable: boolean;
9934
9935
  locate: (address: import("@formily/path").Pattern) => void;
9935
9936
  readonly parent: import("../../../../es/components/form-render").GeneralField;
9936
- readPretty: boolean;
9937
- readonly destroyed: boolean;
9938
9937
  setTitle: (title?: string | undefined) => void;
9939
9938
  setDescription: (description?: string | undefined) => void;
9940
9939
  setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -9976,7 +9975,7 @@ declare const _default: import("vue").DefineComponent<{
9976
9975
  };
9977
9976
  readonly disabled: BooleanConstructor;
9978
9977
  readonly displayDirective: {
9979
- readonly type: PropType<"show" | "if" | "show:lazy">;
9978
+ readonly type: PropType<"if" | "show" | "show:lazy">;
9980
9979
  readonly default: "if";
9981
9980
  };
9982
9981
  readonly closable: {
@@ -10001,7 +10000,7 @@ declare const _default: import("vue").DefineComponent<{
10001
10000
  };
10002
10001
  readonly disabled: BooleanConstructor;
10003
10002
  readonly displayDirective: {
10004
- readonly type: PropType<"show" | "if" | "show:lazy">;
10003
+ readonly type: PropType<"if" | "show" | "show:lazy">;
10005
10004
  readonly default: "if";
10006
10005
  };
10007
10006
  readonly closable: {
@@ -10015,7 +10014,7 @@ declare const _default: import("vue").DefineComponent<{
10015
10014
  }>>, {
10016
10015
  readonly disabled: boolean;
10017
10016
  readonly closable: boolean | undefined;
10018
- readonly displayDirective: "show" | "if" | "show:lazy";
10017
+ readonly displayDirective: "if" | "show" | "show:lazy";
10019
10018
  }>;
10020
10019
  NTabs: any;
10021
10020
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -10176,19 +10175,11 @@ declare const _default: import("vue").DefineComponent<{
10176
10175
  type: PropType<FormConfigItem>;
10177
10176
  required: true;
10178
10177
  };
10179
- textFormatter: {
10180
- type: PropType<FormConfigTextFormatter>;
10181
- required: true;
10182
- };
10183
10178
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10184
10179
  formConfigItem: {
10185
10180
  type: PropType<FormConfigItem>;
10186
10181
  required: true;
10187
10182
  };
10188
- textFormatter: {
10189
- type: PropType<FormConfigTextFormatter>;
10190
- required: true;
10191
- };
10192
10183
  }>>, {}>;
10193
10184
  FORM_CONFIG_GROUP: string;
10194
10185
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- import{defineComponent as e,ref as o,provide as r,toRaw as t,openBlock as i,createElementBlock as a,normalizeStyle as m,unref as n,createElementVNode as s,createVNode as f,mergeProps as l,withCtx as u,createTextVNode as c}from"vue";import{useTheme as p}from"../../../shared/mixins/useTheme.js";import{uuidGenerator as d}from"../../../shared/utils/index.js";import{cloneDeep as g,isFunction as v}from"lodash-es";import _ from"../../../shared/components/VueDraggable/src/vuedraggable.js";import h from"./components/FormConfigCreator.vue.js";import j from"./components/FormConfigDragDisplay.vue.js";import x from"./components/FormConfigEdit.vue.js";import C from"./components/FormConfigMaterialItem.js";import{useDataNormalize as y}from"./hooks/useDataNormalize.js";import{InjectionFieldList as F,InjectionMaterialList as V,InjectionActiveFieldItem as b,FORM_CONFIG_GROUP as k}from"./constants/index.js";import"@vicons/ionicons5";import"naive-ui";import D from"../../../_virtual/plugin-vue_export-helper.js";import"./utils/index.js";import{useSortableConfig as R}from"./hooks/useSortalbeConfig.js";import"./hooks/useConfigurationField.js";const H=["id"],E={class:"form-config__material"},L=s("header",{class:"form-config__materialHeader"},"物料区",-1),S={class:"form-config__displayWrapper"},I={class:"form-config__displayHeader"},N={class:"form-config__config"},O=s("header",{class:"form-config__configHeader"},"配置区",-1),T={class:"form-config__configContent"};var U=D(e({__name:"FormConfig",props:{maxHeight:{type:String},fieldVisitor:{type:Object},textFormatter:{type:Function},formRenderRef:{type:Object}},setup(e,{expose:D}){const U=e,w=d(),z=p(),{getCommonConfig:A}=R(),B=o([]);r(F,B);const M=o([]);function W(e){B.value.some((o=>o.key===e.key))||B.value.push(e)}r(V,M);const q=(e,o)=>v(U.textFormatter)?U.textFormatter(e,o):o,G=o();r(b,G);const J=o(),{transform:K,inverseTransform:P}=y(U);return D({loadData({fieldList:e}){let o=[],r=[];e.forEach((e=>function(e){"LINE_BAR"===e.type&&(e.children=[]);!1===e.show?r.push(e):o.push(e)}(g(t(e))))),B.value=K(o),M.value=r,G.value=void 0},validate(){var e;return null==(e=J.value)?void 0:e.validate()},getData:()=>({fieldList:P(g(t(B.value))),materialList:P(g(t(M.value)))})}),(o,r)=>(i(),a("section",{class:"form-config",style:m({"--max-height":e.maxHeight,...n(z)}),id:n(w)},[s("section",E,[L,f(n(_),l(n(A)(),{class:"form-config__materialContent",modelValue:M.value,"onUpdate:modelValue":r[0]||(r[0]=e=>M.value=e)}),{item:u((({element:e})=>[f(n(C),{"form-config-item":e,"text-formatter":q},null,8,["form-config-item"])])),_:1},16,["modelValue"])]),s("section",S,[s("header",I,[c(" 布局区 "),f(h,{onSubmit:W})]),f(j,{class:"form-config__displayContent",group:n(k),"text-formatter":q,modelValue:B.value,"onUpdate:modelValue":r[1]||(r[1]=e=>B.value=e)},null,8,["group","modelValue"])]),s("section",N,[O,s("section",T,[f(x,{ref_key:"formConfigEditRef",ref:J,uuid:n(w),"form-render-ref":e.formRenderRef},null,8,["uuid","form-render-ref"])])])],12,H))}}),[["__file","FormConfig.vue"]]);export{U as default};
1
+ import{defineComponent as e,ref as o,provide as r,toRaw as t,openBlock as i,createElementBlock as a,normalizeStyle as n,unref as m,createElementVNode as s,createVNode as l,mergeProps as f,withCtx as u,createTextVNode as c}from"vue";import{uuidGenerator as p}from"../../../shared/utils/index.js";import{cloneDeep as d,isFunction as g}from"lodash-es";import v from"../../../shared/components/VueDraggable/src/vuedraggable.js";import _ from"./components/FormConfigCreator.vue.js";import h from"./components/FormConfigDragDisplay.vue.js";import C from"./components/FormConfigEdit.vue.js";import j from"./components/FormConfigMaterialItem.js";import{useDataNormalize as x}from"./hooks/useDataNormalize.js";import{InjectionFieldList as y,InjectionMaterialList as F,InjectionActiveFieldItem as V,FORM_CONFIG_GROUP as b}from"./constants/index.js";import"@vicons/ionicons5";import"naive-ui";import k from"../../../_virtual/plugin-vue_export-helper.js";import"./utils/index.js";import{useSortableConfig as D}from"./hooks/useSortalbeConfig.js";import"./hooks/useConfigurationField.js";const R=["id"],H={class:"form-config__material"},E=s("header",{class:"form-config__materialHeader"},"物料区",-1),L={class:"form-config__displayWrapper"},S={class:"form-config__displayHeader"},I={class:"form-config__config"},N=s("header",{class:"form-config__configHeader"},"配置区",-1),O={class:"form-config__configContent"};var U=k(e({__name:"FormConfig",props:{maxHeight:{type:String},fieldVisitor:{type:Object},textFormatter:{type:Function},formRenderRef:{type:Object}},setup(e,{expose:k}){const U=e,w=p(),{getCommonConfig:z}=D(),A=o([]);r(y,A);const B=o([]);function M(e){A.value.some((o=>o.key===e.key))||A.value.push(e)}r(F,B);const T=(e,o)=>g(U.textFormatter)?U.textFormatter(e,o):o,W=o();r(V,W);const q=o(),{transform:G,inverseTransform:J}=x(U);return k({loadData({fieldList:e}){let o=[],r=[];e.forEach((e=>function(e){"LINE_BAR"===e.type&&(e.children=[]);!1===e.show?r.push(e):o.push(e)}(d(t(e))))),A.value=G(o),B.value=r,W.value=void 0},validate(){var e;return null==(e=q.value)?void 0:e.validate()},getData:()=>({fieldList:J(d(t(A.value))),materialList:J(d(t(B.value)))})}),(o,r)=>(i(),a("section",{class:"form-config",style:n({"--max-height":e.maxHeight}),id:m(w)},[s("section",H,[E,l(m(v),f(m(z)(),{class:"form-config__materialContent",modelValue:B.value,"onUpdate:modelValue":r[0]||(r[0]=e=>B.value=e)}),{item:u((({element:e})=>[l(m(j),{"form-config-item":e},null,8,["form-config-item"])])),_:1},16,["modelValue"])]),s("section",L,[s("header",S,[c(" 布局区 "),l(_,{onSubmit:M})]),l(h,{class:"form-config__displayContent",group:m(b),"text-formatter":T,modelValue:A.value,"onUpdate:modelValue":r[1]||(r[1]=e=>A.value=e)},null,8,["group","modelValue"])]),s("section",I,[N,s("section",O,[l(C,{ref_key:"formConfigEditRef",ref:q,uuid:m(w),"form-render-ref":e.formRenderRef},null,8,["uuid","form-render-ref"])])])],12,R))}}),[["__file","FormConfig.vue"]]);export{U as default};
@@ -437,30 +437,35 @@ declare const _default: import("vue").DefineComponent<{}, {
437
437
  data: any;
438
438
  loading: boolean;
439
439
  required: boolean;
440
- hidden: boolean;
441
- visible: boolean;
442
- content: any;
443
- reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
444
- active: boolean;
445
- disabled: boolean;
446
- display: import("../../../../../es/components/form-render").FieldDisplayTypes;
447
440
  value: string;
448
441
  readonly index: string | number;
442
+ disabled: boolean;
449
443
  onFocus: (...args: any[]) => Promise<void>;
450
444
  onBlur: (...args: any[]) => Promise<void>;
451
445
  onInput: (...args: any[]) => Promise<void>;
446
+ reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
447
+ visible: boolean;
452
448
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
453
449
  validator: import("../../../../../es/components/form-render").FieldValidator;
454
450
  pattern: import("../../../../../es/components/form-render").FieldPatternTypes;
455
451
  title: string;
456
452
  form: import("../../../../../es/components/form-render").Form<any>;
453
+ content: any;
454
+ hidden: boolean;
455
+ active: boolean;
456
+ dataSource: import("../../../../../es/components/form-render").FieldDataSource;
457
+ description: string;
458
+ display: import("../../../../../es/components/form-render").FieldDisplayTypes;
459
+ mounted: boolean;
460
+ readonly destroyed: boolean;
461
+ unmounted: boolean;
457
462
  componentProps: Record<string, any>;
458
463
  decoratorProps: Record<string, any>;
459
- description: string;
460
464
  readOnly: boolean;
461
465
  editable: boolean;
462
466
  component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
463
467
  decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
468
+ readPretty: boolean;
464
469
  validating: boolean;
465
470
  submitting: boolean;
466
471
  visited: boolean;
@@ -468,7 +473,6 @@ declare const _default: import("vue").DefineComponent<{}, {
468
473
  modified: boolean;
469
474
  inputValue: string;
470
475
  inputValues: any[];
471
- dataSource: import("../../../../../es/components/form-render").FieldDataSource;
472
476
  feedbacks: import("../../../../../es/components/form-render").IFieldFeedback[];
473
477
  caches: import("../../../../../es/components/form-render").IFieldCaches;
474
478
  selfErrors: import("../../../../../es/components/form-render").FeedbackMessage;
@@ -499,15 +503,11 @@ declare const _default: import("vue").DefineComponent<{}, {
499
503
  queryFeedbacks: (search?: import("../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../es/components/form-render").IFieldFeedback[];
500
504
  modify: () => void;
501
505
  initialized: boolean;
502
- mounted: boolean;
503
- unmounted: boolean;
504
506
  decoratorType: any;
505
507
  componentType: any;
506
508
  designable: boolean;
507
509
  locate: (address: import("@formily/path").Pattern) => void;
508
510
  readonly parent: import("../../../../../es/components/form-render").GeneralField;
509
- readPretty: boolean;
510
- readonly destroyed: boolean;
511
511
  setTitle: (title?: string | undefined) => void;
512
512
  setDescription: (description?: string | undefined) => void;
513
513
  setDisplay: (type?: import("../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -549,7 +549,7 @@ declare const _default: import("vue").DefineComponent<{}, {
549
549
  };
550
550
  readonly disabled: BooleanConstructor;
551
551
  readonly displayDirective: {
552
- readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
552
+ readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
553
553
  readonly default: "if";
554
554
  };
555
555
  readonly closable: {
@@ -574,7 +574,7 @@ declare const _default: import("vue").DefineComponent<{}, {
574
574
  };
575
575
  readonly disabled: BooleanConstructor;
576
576
  readonly displayDirective: {
577
- readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
577
+ readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
578
578
  readonly default: "if";
579
579
  };
580
580
  readonly closable: {
@@ -588,7 +588,7 @@ declare const _default: import("vue").DefineComponent<{}, {
588
588
  }>>, {
589
589
  readonly disabled: boolean;
590
590
  readonly closable: boolean | undefined;
591
- readonly displayDirective: "show" | "if" | "show:lazy";
591
+ readonly displayDirective: "if" | "show" | "show:lazy";
592
592
  }>;
593
593
  NTabs: any;
594
594
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  fieldList: import("vue").Ref<{
27
27
  [x: string]: any;
28
28
  val_key: string;
29
- 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";
29
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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";
30
30
  annotation?: boolean | undefined;
31
31
  val_key_unit?: string | undefined;
32
32
  is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
@@ -1732,7 +1732,7 @@ declare const _default: import("vue").DefineComponent<{
1732
1732
  originalSetting?: {
1733
1733
  [x: string]: any;
1734
1734
  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";
1735
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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
1736
  annotation?: boolean | undefined;
1737
1737
  val_key_unit?: string | undefined;
1738
1738
  is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
@@ -3409,7 +3409,7 @@ declare const _default: import("vue").DefineComponent<{
3409
3409
  originalSetting?: {
3410
3410
  [x: string]: any;
3411
3411
  val_key: string;
3412
- 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";
3412
+ html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "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";
3413
3413
  annotation?: boolean | undefined;
3414
3414
  val_key_unit?: string | undefined;
3415
3415
  is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
@@ -5511,30 +5511,35 @@ declare const _default: import("vue").DefineComponent<{
5511
5511
  data: any;
5512
5512
  loading: boolean;
5513
5513
  required: boolean;
5514
- hidden: boolean;
5515
- visible: boolean;
5516
- content: any;
5517
- reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
5518
- active: boolean;
5519
- disabled: boolean;
5520
- display: import("../../../../../es/components/form-render").FieldDisplayTypes;
5521
5514
  value: string;
5522
5515
  readonly index: string | number;
5516
+ disabled: boolean;
5523
5517
  onFocus: (...args: any[]) => Promise<void>;
5524
5518
  onBlur: (...args: any[]) => Promise<void>;
5525
5519
  onInput: (...args: any[]) => Promise<void>;
5520
+ reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
5521
+ visible: boolean;
5526
5522
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
5527
5523
  validator: import("../../../../../es/components/form-render").FieldValidator;
5528
5524
  pattern: import("../../../../../es/components/form-render").FieldPatternTypes;
5529
5525
  title: string;
5530
5526
  form: import("../../../../../es/components/form-render").Form<any>;
5527
+ content: any;
5528
+ hidden: boolean;
5529
+ active: boolean;
5530
+ dataSource: import("../../../../../es/components/form-render").FieldDataSource;
5531
+ description: string;
5532
+ display: import("../../../../../es/components/form-render").FieldDisplayTypes;
5533
+ mounted: boolean;
5534
+ readonly destroyed: boolean;
5535
+ unmounted: boolean;
5531
5536
  componentProps: Record<string, any>;
5532
5537
  decoratorProps: Record<string, any>;
5533
- description: string;
5534
5538
  readOnly: boolean;
5535
5539
  editable: boolean;
5536
5540
  component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
5537
5541
  decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
5542
+ readPretty: boolean;
5538
5543
  validating: boolean;
5539
5544
  submitting: boolean;
5540
5545
  visited: boolean;
@@ -5542,7 +5547,6 @@ declare const _default: import("vue").DefineComponent<{
5542
5547
  modified: boolean;
5543
5548
  inputValue: string;
5544
5549
  inputValues: any[];
5545
- dataSource: import("../../../../../es/components/form-render").FieldDataSource;
5546
5550
  feedbacks: import("../../../../../es/components/form-render").IFieldFeedback[];
5547
5551
  caches: import("../../../../../es/components/form-render").IFieldCaches;
5548
5552
  selfErrors: import("../../../../../es/components/form-render").FeedbackMessage;
@@ -5573,15 +5577,11 @@ declare const _default: import("vue").DefineComponent<{
5573
5577
  queryFeedbacks: (search?: import("../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../es/components/form-render").IFieldFeedback[];
5574
5578
  modify: () => void;
5575
5579
  initialized: boolean;
5576
- mounted: boolean;
5577
- unmounted: boolean;
5578
5580
  decoratorType: any;
5579
5581
  componentType: any;
5580
5582
  designable: boolean;
5581
5583
  locate: (address: import("@formily/path").Pattern) => void;
5582
5584
  readonly parent: import("../../../../../es/components/form-render").GeneralField;
5583
- readPretty: boolean;
5584
- readonly destroyed: boolean;
5585
5585
  setTitle: (title?: string | undefined) => void;
5586
5586
  setDescription: (description?: string | undefined) => void;
5587
5587
  setDisplay: (type?: import("../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -5623,7 +5623,7 @@ declare const _default: import("vue").DefineComponent<{
5623
5623
  };
5624
5624
  readonly disabled: BooleanConstructor;
5625
5625
  readonly displayDirective: {
5626
- readonly type: PropType<"show" | "if" | "show:lazy">;
5626
+ readonly type: PropType<"if" | "show" | "show:lazy">;
5627
5627
  readonly default: "if";
5628
5628
  };
5629
5629
  readonly closable: {
@@ -5648,7 +5648,7 @@ declare const _default: import("vue").DefineComponent<{
5648
5648
  };
5649
5649
  readonly disabled: BooleanConstructor;
5650
5650
  readonly displayDirective: {
5651
- readonly type: PropType<"show" | "if" | "show:lazy">;
5651
+ readonly type: PropType<"if" | "show" | "show:lazy">;
5652
5652
  readonly default: "if";
5653
5653
  };
5654
5654
  readonly closable: {
@@ -5662,7 +5662,7 @@ declare const _default: import("vue").DefineComponent<{
5662
5662
  }>>, {
5663
5663
  readonly disabled: boolean;
5664
5664
  readonly closable: boolean | undefined;
5665
- readonly displayDirective: "show" | "if" | "show:lazy";
5665
+ readonly displayDirective: "if" | "show" | "show:lazy";
5666
5666
  }>;
5667
5667
  NTabs: any;
5668
5668
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1,22 +1,14 @@
1
1
  import { PropType } from 'vue';
2
- import { FormConfigItem, FormConfigTextFormatter } from '../../../../../es/components/form-config';
2
+ import { FormConfigItem } from '../../../../../es/components/form-config';
3
3
  declare const FormConfigMaterialItem: import("vue").DefineComponent<{
4
4
  formConfigItem: {
5
5
  type: PropType<FormConfigItem>;
6
6
  required: true;
7
7
  };
8
- textFormatter: {
9
- type: PropType<FormConfigTextFormatter>;
10
- required: true;
11
- };
12
8
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
9
  formConfigItem: {
14
10
  type: PropType<FormConfigItem>;
15
11
  required: true;
16
12
  };
17
- textFormatter: {
18
- type: PropType<FormConfigTextFormatter>;
19
- required: true;
20
- };
21
13
  }>>, {}>;
22
14
  export default FormConfigMaterialItem;
@@ -1 +1 @@
1
- import{defineComponent as o,createVNode as e,mergeProps as t}from"vue";import"@vicons/ionicons5";import"lodash-es";import"naive-ui";import"../../../../shared/components/VueDraggable/src/vuedraggable.js";import r from"./renderer/DefaultNode.vue.js";import"../../../../shared/utils/index.js";import"../hooks/useConfigurationField.js";import{layoutWidthEnum2Column as i}from"../utils/index.js";const s=o({props:{formConfigItem:{type:Object,required:!0},textFormatter:{type:Function,required:!0}},setup:o=>()=>e(r,t({style:{"--item-column":i(o.formConfigItem.layoutWidthEnum)},class:"form-config__displayContentItem",showCloseButton:!1,allowClick:!1},o),null)});export{s as default};
1
+ import{defineComponent as t,createVNode as e}from"vue";import{layoutWidthEnum2Column as o}from"../utils/index.js";import{NButton as m,NEllipsis as r}from"naive-ui";const f=t({props:{formConfigItem:{type:Object,required:!0}},setup:t=>()=>e(m,{secondary:!0,style:{"--item-column":o(t.formConfigItem.layoutWidthEnum)},class:"form-config__materialContentItem","data-type":t.formConfigItem.type},{default:()=>e(r,null,{default:()=>t.formConfigItem.name})})});export{f as default};
@@ -10,14 +10,6 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: PropType<FormConfigTextFormatter>;
11
11
  required: true;
12
12
  };
13
- showCloseButton: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- allowClick: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
13
  }, {
22
14
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
23
15
  formConfigItem: {
@@ -28,27 +20,19 @@ declare const _default: import("vue").DefineComponent<{
28
20
  type: PropType<FormConfigTextFormatter>;
29
21
  required: true;
30
22
  };
31
- showCloseButton: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- allowClick: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
23
  }>> & {}>>;
40
24
  currentActiveEditField: import("vue").Ref<import("../../../../../shared/types").UndefinedAble<FormConfigItem>>;
41
25
  setActiveField: () => void;
42
- ellipsisClassList: import("vue").ComputedRef<(string | {
43
- 'is-required': boolean | undefined;
44
- })[]>;
45
26
  classList: import("vue").ComputedRef<(string | {
46
27
  'is-active': boolean;
47
- 'is-disabled': boolean;
28
+ })[]>;
29
+ ellipsisClassList: import("vue").ComputedRef<(string | {
30
+ 'is-required': boolean | undefined;
48
31
  })[]>;
49
32
  disabled: import("vue").ComputedRef<boolean>;
50
- displayText: import("vue").ComputedRef<string>;
33
+ getDisplayText: () => string;
51
34
  NEllipsis: any;
35
+ NButton: any;
52
36
  CloseButton: import("vue").DefineComponent<{
53
37
  formConfigItem: {
54
38
  type: PropType<FormConfigItem>;
@@ -83,16 +67,5 @@ declare const _default: import("vue").DefineComponent<{
83
67
  type: PropType<FormConfigTextFormatter>;
84
68
  required: true;
85
69
  };
86
- showCloseButton: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- allowClick: {
91
- type: BooleanConstructor;
92
- default: boolean;
93
- };
94
- }>>, {
95
- showCloseButton: boolean;
96
- allowClick: boolean;
97
- }>;
70
+ }>>, {}>;
98
71
  export default _default;