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

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 (246) hide show
  1. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  2. package/es/components/annotation-edit/src/type.d.ts +3 -0
  3. package/es/components/annotation-edit/style/index.css +1 -1
  4. package/es/components/base-search/index.d.ts +271 -0
  5. package/es/components/base-search/index.js +1 -0
  6. package/es/components/{table-filter/src/base-search-com/BaseSearch.vue.d.ts → base-search/src/index.vue.d.ts} +26 -113
  7. package/es/components/base-search/src/index.vue.js +1 -0
  8. package/es/components/base-search/style/iconfont.ttf +0 -0
  9. package/es/components/base-search/style/index.css +1 -0
  10. package/es/components/big-table/index.d.ts +4 -3
  11. package/es/components/big-table/src/BigTable.vue.d.ts +4 -3
  12. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  13. package/es/components/big-table/style/index.css +1 -1
  14. package/es/components/button-print/index.d.ts +7 -6
  15. package/es/components/button-print/src/ButtonPrint.vue.d.ts +7 -6
  16. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  17. package/es/components/button-print/src/api.d.ts +3 -0
  18. package/es/components/button-print/src/api.js +1 -0
  19. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  20. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  21. package/es/components/button-print/src/utils/print.js +1 -1
  22. package/es/components/classification/index.d.ts +995 -0
  23. package/es/components/classification/index.js +1 -0
  24. package/es/components/{table-filter → classification}/src/components/search-filter/index.vue.d.ts +10 -93
  25. package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
  26. package/es/components/{table-filter → classification}/src/components/set-classification/index.vue.d.ts +5 -130
  27. package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
  28. package/es/components/{table-filter → classification}/src/components/table-modal/index.vue.d.ts +0 -42
  29. package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
  30. package/es/components/classification/src/const/index.d.ts +2 -0
  31. package/es/components/classification/src/const/index.js +1 -0
  32. package/es/components/{table-filter/src/classification/Classification-com.vue.d.ts → classification/src/index.vue.d.ts} +57 -291
  33. package/es/components/classification/src/index.vue.js +1 -0
  34. package/es/components/classification/style/iconfont.ttf +0 -0
  35. package/es/components/classification/style/index.css +1 -0
  36. package/es/components/config-provider/index.d.ts +14 -0
  37. package/es/components/config-provider/index.js +1 -0
  38. package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
  39. package/es/components/config-provider/src/ConfigProvider.js +1 -0
  40. package/es/components/config-provider/src/interface.d.ts +19 -0
  41. package/es/components/config-provider/src/interface.js +1 -0
  42. package/es/components/config-provider/src/utils/index.d.ts +2 -0
  43. package/es/components/config-provider/src/utils/index.js +1 -0
  44. package/es/components/date-picker/index.d.ts +12 -0
  45. package/es/components/date-picker/index.js +1 -0
  46. package/es/components/date-picker/src/DatePicker.vue.d.ts +12 -0
  47. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  48. package/es/components/fabric-chart/index.d.ts +2 -2
  49. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  50. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  53. package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
  54. package/es/components/field-set/index.d.ts +84 -15
  55. package/es/components/field-set/src/FieldSet.vue.d.ts +80 -29
  56. package/es/components/field-set/src/types/index.d.ts +18 -0
  57. package/es/components/field-set/src/types/index.js +1 -0
  58. package/es/components/form-config/index.d.ts +46 -37
  59. package/es/components/form-config/src/FormConfig.vue.d.ts +46 -37
  60. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  61. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
  62. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
  63. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +9 -1
  64. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  65. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +33 -6
  66. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  67. package/es/components/form-config/style/index.css +1 -1
  68. package/es/components/form-render/index.d.ts +16 -16
  69. package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
  70. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
  71. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  72. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  73. package/es/components/form-render/src/components/renderer/date.js +1 -1
  74. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  75. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  76. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  78. package/es/components/form-render/src/components/renderer/select.js +1 -1
  79. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  80. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  81. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
  82. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  83. package/es/components/form-render/style/index.css +1 -1
  84. package/es/components/iho-table/index.d.ts +3 -0
  85. package/es/components/iho-table/src/IhoTable.vue.d.ts +3 -0
  86. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  87. package/es/components/iho-table/src/constants/index.d.ts +6 -5
  88. package/es/components/iho-table/src/constants/index.js +1 -1
  89. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -1
  90. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  91. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +3 -1
  92. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
  93. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  94. package/es/components/iho-table/src/plugins/index.js +1 -1
  95. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
  96. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +12 -7
  97. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  98. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  99. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  100. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -1
  101. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
  102. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +12 -1
  103. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  104. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  106. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  107. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -0
  108. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -0
  109. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  110. package/es/components/iho-table/src/types/index.d.ts +2 -0
  111. package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
  112. package/es/components/iho-table/src/utils/index.d.ts +2 -0
  113. package/es/components/iho-table/src/utils/index.js +1 -1
  114. package/es/components/iho-table/style/index.css +1 -1
  115. package/es/components/index.css +1 -1
  116. package/es/components/index.d.ts +9 -2
  117. package/es/components/index.js +1 -1
  118. package/es/components/info-header/index.d.ts +3799 -156
  119. package/es/components/info-header/src/InfoHeader.vue.d.ts +3800 -156
  120. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  121. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
  122. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
  123. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
  124. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
  125. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  126. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  127. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  128. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2669 -139
  129. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  130. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
  131. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  132. package/es/components/info-header/src/constants/index.d.ts +4 -0
  133. package/es/components/info-header/src/constants/index.js +1 -0
  134. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
  135. package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
  136. package/es/components/info-header/src/types/index.d.ts +17 -3
  137. package/es/components/info-header/style/index.css +1 -1
  138. package/es/components/keyboard/index.d.ts +4 -2
  139. package/es/components/keyboard/src/Keyboard.vue.d.ts +4 -2
  140. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  141. package/es/components/keyboard/src/constants/index.d.ts +2 -0
  142. package/es/components/keyboard/src/constants/index.js +1 -0
  143. package/es/components/keyboard/style/index.css +1 -1
  144. package/es/components/quick-search/index.d.ts +713 -0
  145. package/es/components/quick-search/index.js +1 -0
  146. package/es/components/{table-filter/src/quick-search/QuickSearch.vue.d.ts → quick-search/src/index.vue.d.ts} +31 -120
  147. package/es/components/quick-search/src/index.vue.js +1 -0
  148. package/es/components/quick-search/style/index.css +1 -0
  149. package/es/components/recommend-search/index.d.ts +2 -2
  150. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  151. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  152. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  153. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  154. package/es/components/scale-view/src/hooks/use-component.d.ts +69 -116
  155. package/es/components/search-cascader/index.d.ts +2 -2
  156. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  157. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  158. package/es/components/select-label/index.d.ts +70 -169
  159. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
  160. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  161. package/es/components/select-label/src/SelectLabel.vue.d.ts +70 -116
  162. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  163. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  164. package/es/components/select-label/style/iconfont.ttf +0 -0
  165. package/es/components/select-label/style/index.css +1 -1
  166. package/es/components/select-person/index.d.ts +1 -1
  167. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  168. package/es/components/shortcut-setter/index.d.ts +17 -17
  169. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
  170. package/es/components/steps-wheel/index.d.ts +1 -0
  171. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
  172. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  173. package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
  174. package/es/components/steps-wheel/src/constants/index.js +1 -0
  175. package/es/components/steps-wheel/style/index.css +1 -1
  176. package/es/components/table-filter/index.d.ts +0 -2386
  177. package/es/components/table-filter/index.js +1 -1
  178. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
  179. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  180. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -42
  181. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  182. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  183. package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
  184. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  185. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  186. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  187. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  188. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  189. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -1
  190. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  191. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -54
  192. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  193. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  194. package/es/components/table-filter/src/tool/baseOptions.d.ts +8 -0
  195. package/es/components/table-filter/src/tool/baseOptions.js +1 -0
  196. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
  197. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  198. package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
  199. package/es/components/table-filter/src/tool/transformData.js +1 -1
  200. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  201. package/es/components/table-filter/src/types/enums.js +1 -1
  202. package/es/components/table-filter/src/types/index.d.ts +13 -243
  203. package/es/components/time-picker/index.d.ts +12 -0
  204. package/es/components/time-picker/index.js +1 -0
  205. package/es/components/time-picker/src/TimePicker.vue.d.ts +12 -0
  206. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  207. package/es/shared/mixins/index.d.ts +2 -0
  208. package/es/shared/mixins/index.js +1 -0
  209. package/es/shared/mixins/useDateTime.d.ts +6 -0
  210. package/es/shared/mixins/useDateTime.js +1 -0
  211. package/es/shared/mixins/useTheme.d.ts +3 -0
  212. package/es/shared/mixins/useTheme.js +1 -0
  213. package/es/shared/utils/index.d.ts +1 -0
  214. package/es/shared/utils/index.js +1 -1
  215. package/package.json +2 -2
  216. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +0 -2
  217. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +0 -1
  218. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
  219. package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
  220. package/es/components/table-filter/src/components/search-filter/index.vue.js +0 -1
  221. package/es/components/table-filter/src/components/set-classification/index.vue.js +0 -1
  222. package/es/components/table-filter/src/components/table-modal/index.vue.js +0 -1
  223. package/es/components/table-filter/src/const/index.d.ts +0 -5
  224. package/es/components/table-filter/src/const/index.js +0 -1
  225. package/es/components/table-filter/src/directive/resize.d.ts +0 -4
  226. package/es/components/table-filter/src/directive/resize.js +0 -1
  227. package/es/components/table-filter/src/hooks/export.d.ts +0 -1
  228. package/es/components/table-filter/src/hooks/export.js +0 -1
  229. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
  230. package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
  231. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
  232. package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
  233. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
  234. package/es/components/table-filter/src/tool/getWidgetType.d.ts +0 -1
  235. package/es/components/table-filter/src/tool/getWidgetType.js +0 -1
  236. package/es/components/table-filter/src/tool/options.d.ts +0 -18
  237. package/es/components/table-filter/src/tool/options.js +0 -1
  238. package/es/components/table-filter/src/tool/resizeSensor.d.ts +0 -16
  239. package/es/components/table-filter/src/tool/resizeSensor.js +0 -1
  240. package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
  241. package/es/components/table-filter/src/tool/time-domain.js +0 -1
  242. package/es/components/table-filter/src/tool/utils.d.ts +0 -4
  243. package/es/components/table-filter/src/tool/utils.js +0 -1
  244. package/es/components/table-filter/style/index.css +0 -1
  245. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
  246. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.js +0 -0
@@ -32,6 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  };
33
33
  }>> & {}>>;
34
34
  uuid: string;
35
+ cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
35
36
  getCommonConfig: (formConfig?: FormConfigItem | undefined) => {
36
37
  move: ({ to, from, dragged }: import("sortablejs").MoveEvent) => false | undefined;
37
38
  onChoose: ({ target, item }: import("sortablejs").SortableEvent) => void;
@@ -61,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
61
62
  originalSetting?: {
62
63
  [x: string]: any;
63
64
  val_key: string;
64
- html_type: "LINEBAR" | "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";
65
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
65
66
  annotation?: boolean | undefined;
66
67
  val_key_unit?: string | undefined;
67
68
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -1754,7 +1755,7 @@ declare const _default: import("vue").DefineComponent<{
1754
1755
  originalSetting?: {
1755
1756
  [x: string]: any;
1756
1757
  val_key: string;
1757
- html_type: "LINEBAR" | "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";
1758
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
1758
1759
  annotation?: boolean | undefined;
1759
1760
  val_key_unit?: string | undefined;
1760
1761
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -3945,35 +3946,30 @@ declare const _default: import("vue").DefineComponent<{
3945
3946
  data: any;
3946
3947
  loading: boolean;
3947
3948
  required: boolean;
3949
+ hidden: boolean;
3950
+ visible: boolean;
3951
+ content: any;
3952
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
3953
+ active: boolean;
3954
+ disabled: boolean;
3955
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
3948
3956
  value: string;
3949
3957
  readonly index: string | number;
3950
- disabled: boolean;
3951
3958
  onFocus: (...args: any[]) => Promise<void>;
3952
3959
  onBlur: (...args: any[]) => Promise<void>;
3953
3960
  onInput: (...args: any[]) => Promise<void>;
3954
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
3955
- visible: boolean;
3956
3961
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
3957
3962
  validator: import("../../../../es/components/form-render").FieldValidator;
3958
3963
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
3959
3964
  title: string;
3960
3965
  form: import("../../../../es/components/form-render").Form<any>;
3961
- content: any;
3962
- hidden: boolean;
3963
- active: boolean;
3964
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
3965
- description: string;
3966
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
3967
- mounted: boolean;
3968
- readonly destroyed: boolean;
3969
- unmounted: boolean;
3970
3966
  componentProps: Record<string, any>;
3971
3967
  decoratorProps: Record<string, any>;
3968
+ description: string;
3972
3969
  readOnly: boolean;
3973
3970
  editable: boolean;
3974
3971
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
3975
3972
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
3976
- readPretty: boolean;
3977
3973
  validating: boolean;
3978
3974
  submitting: boolean;
3979
3975
  visited: boolean;
@@ -3981,6 +3977,7 @@ declare const _default: import("vue").DefineComponent<{
3981
3977
  modified: boolean;
3982
3978
  inputValue: string;
3983
3979
  inputValues: any[];
3980
+ dataSource: import("../../../../es/components/form-render").FieldDataSource;
3984
3981
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
3985
3982
  caches: import("../../../../es/components/form-render").IFieldCaches;
3986
3983
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -4011,11 +4008,15 @@ declare const _default: import("vue").DefineComponent<{
4011
4008
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
4012
4009
  modify: () => void;
4013
4010
  initialized: boolean;
4011
+ mounted: boolean;
4012
+ unmounted: boolean;
4014
4013
  decoratorType: any;
4015
4014
  componentType: any;
4016
4015
  designable: boolean;
4017
4016
  locate: (address: import("@formily/path").Pattern) => void;
4018
4017
  readonly parent: import("../../../../es/components/form-render").GeneralField;
4018
+ readPretty: boolean;
4019
+ readonly destroyed: boolean;
4019
4020
  setTitle: (title?: string | undefined) => void;
4020
4021
  setDescription: (description?: string | undefined) => void;
4021
4022
  setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -4057,7 +4058,7 @@ declare const _default: import("vue").DefineComponent<{
4057
4058
  };
4058
4059
  readonly disabled: BooleanConstructor;
4059
4060
  readonly displayDirective: {
4060
- readonly type: PropType<"if" | "show" | "show:lazy">;
4061
+ readonly type: PropType<"show" | "if" | "show:lazy">;
4061
4062
  readonly default: "if";
4062
4063
  };
4063
4064
  readonly closable: {
@@ -4082,7 +4083,7 @@ declare const _default: import("vue").DefineComponent<{
4082
4083
  };
4083
4084
  readonly disabled: BooleanConstructor;
4084
4085
  readonly displayDirective: {
4085
- readonly type: PropType<"if" | "show" | "show:lazy">;
4086
+ readonly type: PropType<"show" | "if" | "show:lazy">;
4086
4087
  readonly default: "if";
4087
4088
  };
4088
4089
  readonly closable: {
@@ -4096,7 +4097,7 @@ declare const _default: import("vue").DefineComponent<{
4096
4097
  }>>, {
4097
4098
  readonly disabled: boolean;
4098
4099
  readonly closable: boolean | undefined;
4099
- readonly displayDirective: "if" | "show" | "show:lazy";
4100
+ readonly displayDirective: "show" | "if" | "show:lazy";
4100
4101
  }>;
4101
4102
  NTabs: any;
4102
4103
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -4378,7 +4379,7 @@ declare const _default: import("vue").DefineComponent<{
4378
4379
  fieldList: import("vue").Ref<{
4379
4380
  [x: string]: any;
4380
4381
  val_key: string;
4381
- html_type: "LINEBAR" | "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";
4382
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
4382
4383
  annotation?: boolean | undefined;
4383
4384
  val_key_unit?: string | undefined;
4384
4385
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -6084,7 +6085,7 @@ declare const _default: import("vue").DefineComponent<{
6084
6085
  originalSetting?: {
6085
6086
  [x: string]: any;
6086
6087
  val_key: string;
6087
- html_type: "LINEBAR" | "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";
6088
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
6088
6089
  annotation?: boolean | undefined;
6089
6090
  val_key_unit?: string | undefined;
6090
6091
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -7761,7 +7762,7 @@ declare const _default: import("vue").DefineComponent<{
7761
7762
  originalSetting?: {
7762
7763
  [x: string]: any;
7763
7764
  val_key: string;
7764
- html_type: "LINEBAR" | "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";
7765
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
7765
7766
  annotation?: boolean | undefined;
7766
7767
  val_key_unit?: string | undefined;
7767
7768
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -9863,35 +9864,30 @@ declare const _default: import("vue").DefineComponent<{
9863
9864
  data: any;
9864
9865
  loading: boolean;
9865
9866
  required: boolean;
9867
+ hidden: boolean;
9868
+ visible: boolean;
9869
+ content: any;
9870
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
9871
+ active: boolean;
9872
+ disabled: boolean;
9873
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
9866
9874
  value: string;
9867
9875
  readonly index: string | number;
9868
- disabled: boolean;
9869
9876
  onFocus: (...args: any[]) => Promise<void>;
9870
9877
  onBlur: (...args: any[]) => Promise<void>;
9871
9878
  onInput: (...args: any[]) => Promise<void>;
9872
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
9873
- visible: boolean;
9874
9879
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
9875
9880
  validator: import("../../../../es/components/form-render").FieldValidator;
9876
9881
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
9877
9882
  title: string;
9878
9883
  form: import("../../../../es/components/form-render").Form<any>;
9879
- content: any;
9880
- hidden: boolean;
9881
- active: boolean;
9882
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
9883
- description: string;
9884
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
9885
- mounted: boolean;
9886
- readonly destroyed: boolean;
9887
- unmounted: boolean;
9888
9884
  componentProps: Record<string, any>;
9889
9885
  decoratorProps: Record<string, any>;
9886
+ description: string;
9890
9887
  readOnly: boolean;
9891
9888
  editable: boolean;
9892
9889
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
9893
9890
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
9894
- readPretty: boolean;
9895
9891
  validating: boolean;
9896
9892
  submitting: boolean;
9897
9893
  visited: boolean;
@@ -9899,6 +9895,7 @@ declare const _default: import("vue").DefineComponent<{
9899
9895
  modified: boolean;
9900
9896
  inputValue: string;
9901
9897
  inputValues: any[];
9898
+ dataSource: import("../../../../es/components/form-render").FieldDataSource;
9902
9899
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
9903
9900
  caches: import("../../../../es/components/form-render").IFieldCaches;
9904
9901
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -9929,11 +9926,15 @@ declare const _default: import("vue").DefineComponent<{
9929
9926
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
9930
9927
  modify: () => void;
9931
9928
  initialized: boolean;
9929
+ mounted: boolean;
9930
+ unmounted: boolean;
9932
9931
  decoratorType: any;
9933
9932
  componentType: any;
9934
9933
  designable: boolean;
9935
9934
  locate: (address: import("@formily/path").Pattern) => void;
9936
9935
  readonly parent: import("../../../../es/components/form-render").GeneralField;
9936
+ readPretty: boolean;
9937
+ readonly destroyed: boolean;
9937
9938
  setTitle: (title?: string | undefined) => void;
9938
9939
  setDescription: (description?: string | undefined) => void;
9939
9940
  setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -9975,7 +9976,7 @@ declare const _default: import("vue").DefineComponent<{
9975
9976
  };
9976
9977
  readonly disabled: BooleanConstructor;
9977
9978
  readonly displayDirective: {
9978
- readonly type: PropType<"if" | "show" | "show:lazy">;
9979
+ readonly type: PropType<"show" | "if" | "show:lazy">;
9979
9980
  readonly default: "if";
9980
9981
  };
9981
9982
  readonly closable: {
@@ -10000,7 +10001,7 @@ declare const _default: import("vue").DefineComponent<{
10000
10001
  };
10001
10002
  readonly disabled: BooleanConstructor;
10002
10003
  readonly displayDirective: {
10003
- readonly type: PropType<"if" | "show" | "show:lazy">;
10004
+ readonly type: PropType<"show" | "if" | "show:lazy">;
10004
10005
  readonly default: "if";
10005
10006
  };
10006
10007
  readonly closable: {
@@ -10014,7 +10015,7 @@ declare const _default: import("vue").DefineComponent<{
10014
10015
  }>>, {
10015
10016
  readonly disabled: boolean;
10016
10017
  readonly closable: boolean | undefined;
10017
- readonly displayDirective: "if" | "show" | "show:lazy";
10018
+ readonly displayDirective: "show" | "if" | "show:lazy";
10018
10019
  }>;
10019
10020
  NTabs: any;
10020
10021
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -10175,11 +10176,19 @@ declare const _default: import("vue").DefineComponent<{
10175
10176
  type: PropType<FormConfigItem>;
10176
10177
  required: true;
10177
10178
  };
10179
+ textFormatter: {
10180
+ type: PropType<FormConfigTextFormatter>;
10181
+ required: true;
10182
+ };
10178
10183
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10179
10184
  formConfigItem: {
10180
10185
  type: PropType<FormConfigItem>;
10181
10186
  required: true;
10182
10187
  };
10188
+ textFormatter: {
10189
+ type: PropType<FormConfigTextFormatter>;
10190
+ required: true;
10191
+ };
10183
10192
  }>>, {}>;
10184
10193
  FORM_CONFIG_GROUP: string;
10185
10194
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- import{defineComponent as e,ref as o,provide as r,toRaw as t,openBlock as i,createElementBlock as a,normalizeStyle as 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};
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"@vueuse/core";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};
@@ -437,35 +437,30 @@ 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;
440
447
  value: string;
441
448
  readonly index: string | number;
442
- disabled: boolean;
443
449
  onFocus: (...args: any[]) => Promise<void>;
444
450
  onBlur: (...args: any[]) => Promise<void>;
445
451
  onInput: (...args: any[]) => Promise<void>;
446
- reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
447
- visible: boolean;
448
452
  submit: <T_2>(onSubmit?: ((values: any) => void | Promise<T_2>) | undefined) => Promise<T_2>;
449
453
  validator: import("../../../../../es/components/form-render").FieldValidator;
450
454
  pattern: import("../../../../../es/components/form-render").FieldPatternTypes;
451
455
  title: string;
452
456
  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;
462
457
  componentProps: Record<string, any>;
463
458
  decoratorProps: Record<string, any>;
459
+ description: string;
464
460
  readOnly: boolean;
465
461
  editable: boolean;
466
462
  component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
467
463
  decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
468
- readPretty: boolean;
469
464
  validating: boolean;
470
465
  submitting: boolean;
471
466
  visited: boolean;
@@ -473,6 +468,7 @@ declare const _default: import("vue").DefineComponent<{}, {
473
468
  modified: boolean;
474
469
  inputValue: string;
475
470
  inputValues: any[];
471
+ dataSource: import("../../../../../es/components/form-render").FieldDataSource;
476
472
  feedbacks: import("../../../../../es/components/form-render").IFieldFeedback[];
477
473
  caches: import("../../../../../es/components/form-render").IFieldCaches;
478
474
  selfErrors: import("../../../../../es/components/form-render").FeedbackMessage;
@@ -503,11 +499,15 @@ declare const _default: import("vue").DefineComponent<{}, {
503
499
  queryFeedbacks: (search?: import("../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../es/components/form-render").IFieldFeedback[];
504
500
  modify: () => void;
505
501
  initialized: boolean;
502
+ mounted: boolean;
503
+ unmounted: boolean;
506
504
  decoratorType: any;
507
505
  componentType: any;
508
506
  designable: boolean;
509
507
  locate: (address: import("@formily/path").Pattern) => void;
510
508
  readonly parent: import("../../../../../es/components/form-render").GeneralField;
509
+ readPretty: boolean;
510
+ readonly destroyed: boolean;
511
511
  setTitle: (title?: string | undefined) => void;
512
512
  setDescription: (description?: string | undefined) => void;
513
513
  setDisplay: (type?: import("../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -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<"if" | "show" | "show:lazy">;
552
+ readonly type: import("vue").PropType<"show" | "if" | "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<"if" | "show" | "show:lazy">;
577
+ readonly type: import("vue").PropType<"show" | "if" | "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: "if" | "show" | "show:lazy";
591
+ readonly displayDirective: "show" | "if" | "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" | "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";
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";
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" | "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";
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
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" | "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";
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";
3413
3413
  annotation?: boolean | undefined;
3414
3414
  val_key_unit?: string | undefined;
3415
3415
  is_edit?: import("../../../../../es/components/form-render").FormCommonState | undefined;
@@ -5511,35 +5511,30 @@ 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;
5514
5521
  value: string;
5515
5522
  readonly index: string | number;
5516
- disabled: boolean;
5517
5523
  onFocus: (...args: any[]) => Promise<void>;
5518
5524
  onBlur: (...args: any[]) => Promise<void>;
5519
5525
  onInput: (...args: any[]) => Promise<void>;
5520
- reset: (options?: import("../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
5521
- visible: boolean;
5522
5526
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
5523
5527
  validator: import("../../../../../es/components/form-render").FieldValidator;
5524
5528
  pattern: import("../../../../../es/components/form-render").FieldPatternTypes;
5525
5529
  title: string;
5526
5530
  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;
5536
5531
  componentProps: Record<string, any>;
5537
5532
  decoratorProps: Record<string, any>;
5533
+ description: string;
5538
5534
  readOnly: boolean;
5539
5535
  editable: boolean;
5540
5536
  component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
5541
5537
  decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
5542
- readPretty: boolean;
5543
5538
  validating: boolean;
5544
5539
  submitting: boolean;
5545
5540
  visited: boolean;
@@ -5547,6 +5542,7 @@ declare const _default: import("vue").DefineComponent<{
5547
5542
  modified: boolean;
5548
5543
  inputValue: string;
5549
5544
  inputValues: any[];
5545
+ dataSource: import("../../../../../es/components/form-render").FieldDataSource;
5550
5546
  feedbacks: import("../../../../../es/components/form-render").IFieldFeedback[];
5551
5547
  caches: import("../../../../../es/components/form-render").IFieldCaches;
5552
5548
  selfErrors: import("../../../../../es/components/form-render").FeedbackMessage;
@@ -5577,11 +5573,15 @@ declare const _default: import("vue").DefineComponent<{
5577
5573
  queryFeedbacks: (search?: import("../../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../../es/components/form-render").IFieldFeedback[];
5578
5574
  modify: () => void;
5579
5575
  initialized: boolean;
5576
+ mounted: boolean;
5577
+ unmounted: boolean;
5580
5578
  decoratorType: any;
5581
5579
  componentType: any;
5582
5580
  designable: boolean;
5583
5581
  locate: (address: import("@formily/path").Pattern) => void;
5584
5582
  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<"if" | "show" | "show:lazy">;
5626
+ readonly type: PropType<"show" | "if" | "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<"if" | "show" | "show:lazy">;
5651
+ readonly type: PropType<"show" | "if" | "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: "if" | "show" | "show:lazy";
5665
+ readonly displayDirective: "show" | "if" | "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,14 +1,22 @@
1
1
  import { PropType } from 'vue';
2
- import { FormConfigItem } from '../../../../../es/components/form-config';
2
+ import { FormConfigItem, FormConfigTextFormatter } 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
+ };
8
12
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
13
  formConfigItem: {
10
14
  type: PropType<FormConfigItem>;
11
15
  required: true;
12
16
  };
17
+ textFormatter: {
18
+ type: PropType<FormConfigTextFormatter>;
19
+ required: true;
20
+ };
13
21
  }>>, {}>;
14
22
  export default FormConfigMaterialItem;
@@ -1 +1 @@
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};
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};
@@ -10,6 +10,14 @@ 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
+ };
13
21
  }, {
14
22
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
15
23
  formConfigItem: {
@@ -20,19 +28,27 @@ declare const _default: import("vue").DefineComponent<{
20
28
  type: PropType<FormConfigTextFormatter>;
21
29
  required: true;
22
30
  };
31
+ showCloseButton: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ allowClick: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
23
39
  }>> & {}>>;
24
40
  currentActiveEditField: import("vue").Ref<import("../../../../../shared/types").UndefinedAble<FormConfigItem>>;
25
41
  setActiveField: () => void;
26
- classList: import("vue").ComputedRef<(string | {
27
- 'is-active': boolean;
28
- })[]>;
29
42
  ellipsisClassList: import("vue").ComputedRef<(string | {
30
43
  'is-required': boolean | undefined;
31
44
  })[]>;
45
+ classList: import("vue").ComputedRef<(string | {
46
+ 'is-active': boolean;
47
+ 'is-disabled': boolean;
48
+ })[]>;
32
49
  disabled: import("vue").ComputedRef<boolean>;
33
- getDisplayText: () => string;
50
+ displayText: import("vue").ComputedRef<string>;
34
51
  NEllipsis: any;
35
- NButton: any;
36
52
  CloseButton: import("vue").DefineComponent<{
37
53
  formConfigItem: {
38
54
  type: PropType<FormConfigItem>;
@@ -67,5 +83,16 @@ declare const _default: import("vue").DefineComponent<{
67
83
  type: PropType<FormConfigTextFormatter>;
68
84
  required: true;
69
85
  };
70
- }>>, {}>;
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
+ }>;
71
98
  export default _default;