cnhis-design-vue 3.1.55-release.1 → 3.1.56-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 (386) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/index.d.ts +1 -1
  3. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +1 -1
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +1 -1
  5. package/es/components/base-search/index.d.ts +1 -1
  6. package/es/components/base-search/src/index.vue.d.ts +4 -4
  7. package/es/components/big-table/index.d.ts +22 -22
  8. package/es/components/big-table/index.js +1 -1
  9. package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
  10. package/es/components/big-table/src/bigTableProps.d.ts +1 -1
  11. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
  12. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
  13. package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
  14. package/es/components/big-table/src/constants/index.d.ts +1 -1
  15. package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
  16. package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
  17. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  18. package/es/components/big-table/src/utils.d.ts +1 -1
  19. package/es/components/biunique-chat/index.d.ts +14 -14
  20. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
  21. package/es/components/biunique-chat/src/api/index.d.ts +1 -1
  22. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
  23. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
  24. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
  25. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
  26. package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
  27. package/es/components/body-select/index.d.ts +5 -5
  28. package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
  29. package/es/components/body-select/src/index.vue.d.ts +1 -1
  30. package/es/components/bpmn-workflow/index.d.ts +1 -1
  31. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  32. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  33. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  34. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  35. package/es/components/button-print/index.d.ts +21 -21
  36. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  37. package/es/components/button-print/src/api.d.ts +1 -1
  38. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
  39. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  40. package/es/components/button-print/src/utils/print.d.ts +2 -2
  41. package/es/components/callback/index.d.ts +1 -1
  42. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
  43. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  44. package/es/components/callback/src/components/render/popupMaps.d.ts +48 -162
  45. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
  46. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
  47. package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
  48. package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
  49. package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
  50. package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
  51. package/es/components/classification/index.d.ts +20 -20
  52. package/es/components/classification/src/components/set-classification/index.vue.d.ts +13 -13
  53. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  54. package/es/components/classification/src/index.vue.d.ts +13 -13
  55. package/es/components/config-provider/index.d.ts +1 -1
  56. package/es/components/date-picker/index.d.ts +2 -2
  57. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  58. package/es/components/editor/index.d.ts +1 -1
  59. package/es/components/expand-field/index.d.ts +29 -29
  60. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
  61. package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
  62. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  63. package/es/components/expand-field/src/constants/index.d.ts +1 -1
  64. package/es/components/expand-field/src/index.vue.d.ts +2 -2
  65. package/es/components/fabric-chart/index.d.ts +6 -6
  66. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -1
  67. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  68. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
  69. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
  70. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
  71. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
  72. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
  73. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
  74. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
  75. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
  76. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
  77. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
  78. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
  79. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
  80. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
  81. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
  82. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
  83. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
  84. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  85. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
  86. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
  87. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
  88. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
  89. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
  90. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  91. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  92. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
  93. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  94. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  95. package/es/components/field-set/index.d.ts +15 -15
  96. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  97. package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
  98. package/es/components/field-set/src/types/index.d.ts +1 -1
  99. package/es/components/field-set/src/utils/index.d.ts +3 -3
  100. package/es/components/form-config/index.d.ts +254 -475
  101. package/es/components/form-config/src/FormConfig.vue.d.ts +380 -601
  102. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -128
  103. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
  104. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  105. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +180 -291
  106. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  107. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  108. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
  109. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
  110. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
  111. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
  112. package/es/components/form-config/src/constants/index.d.ts +2 -2
  113. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
  114. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  115. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
  116. package/es/components/form-config/src/types/index.d.ts +2 -2
  117. package/es/components/form-config/src/utils/index.d.ts +3 -3
  118. package/es/components/form-render/index.d.ts +47 -161
  119. package/es/components/form-render/src/FormRender.vue.d.ts +12 -127
  120. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  121. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +70 -184
  122. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
  123. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  124. package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
  125. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
  126. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
  127. package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
  128. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
  129. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
  130. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  131. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  132. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  133. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
  134. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  135. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  136. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  137. package/es/components/form-render/src/components/renderer/select.js +1 -1
  138. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
  139. package/es/components/form-render/src/constants/index.d.ts +5 -5
  140. package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
  141. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  142. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
  143. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -2
  144. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  145. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +19 -19
  146. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  147. package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
  148. package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
  149. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  150. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +3 -3
  151. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  152. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
  153. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
  154. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  155. package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
  156. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  157. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
  158. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
  159. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  160. package/es/components/form-render/src/types/index.d.ts +15 -15
  161. package/es/components/form-render/src/utils/business.d.ts +2 -2
  162. package/es/components/form-render/src/utils/dom.d.ts +1 -1
  163. package/es/components/form-render/src/utils/index.d.ts +1 -1
  164. package/es/components/form-render/src/utils/schema.d.ts +3 -3
  165. package/es/components/form-render/src/utils/schema.js +1 -1
  166. package/es/components/grid/index.d.ts +1 -1
  167. package/es/components/guide/src/renderer.d.ts +1 -1
  168. package/es/components/guide/src/types/index.d.ts +1 -1
  169. package/es/components/guide/src/useGuide.d.ts +1 -1
  170. package/es/components/guide/src/utils/index.d.ts +1 -1
  171. package/es/components/iho-table/index.d.ts +39 -39
  172. package/es/components/iho-table/index.js +1 -1
  173. package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
  174. package/es/components/iho-table/src/constants/index.d.ts +5 -5
  175. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
  176. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
  177. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -1
  178. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
  179. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
  180. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
  181. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +1 -1
  182. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
  183. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  184. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
  185. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +1 -1
  186. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
  187. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +1 -1
  188. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
  189. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  190. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  191. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
  192. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
  193. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
  194. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
  195. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
  196. package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
  197. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
  198. package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
  199. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  200. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
  201. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
  202. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
  203. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
  204. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
  205. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
  206. package/es/components/iho-table/src/plugins/index.d.ts +1 -1
  207. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
  208. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
  209. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
  210. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
  211. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
  212. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
  213. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
  214. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
  215. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
  216. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
  217. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
  218. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
  219. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  220. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
  221. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
  222. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  223. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
  224. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
  225. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
  226. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
  227. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
  228. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
  229. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
  230. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
  231. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
  232. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
  233. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
  234. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
  235. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
  236. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
  237. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
  238. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
  239. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
  240. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
  241. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
  242. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
  243. package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
  244. package/es/components/iho-table/src/types/index.d.ts +3 -3
  245. package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
  246. package/es/components/iho-table/src/utils/index.d.ts +3 -3
  247. package/es/components/iho-table/src/utils/index.js +1 -1
  248. package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
  249. package/es/components/index.d.ts +3 -3
  250. package/es/components/index.js +1 -1
  251. package/es/components/info-header/index.d.ts +149 -377
  252. package/es/components/info-header/src/InfoHeader.vue.d.ts +165 -393
  253. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
  254. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +9 -9
  255. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +93 -207
  256. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -129
  257. package/es/components/info-header/src/constants/index.d.ts +1 -1
  258. package/es/components/info-header/src/types/index.d.ts +1 -1
  259. package/es/components/keyboard/index.d.ts +1 -1
  260. package/es/components/map/index.d.ts +1 -1
  261. package/es/components/map/src/Map.vue.d.ts +1 -1
  262. package/es/components/picture-clipper/index.d.ts +1 -1
  263. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
  264. package/es/components/quick-search/index.d.ts +1 -1
  265. package/es/components/quick-search/src/index.vue.d.ts +4 -4
  266. package/es/components/recommend-search/index.d.ts +25 -25
  267. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +7 -7
  268. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  269. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +2 -2
  270. package/es/components/scale-view/index.d.ts +1 -1
  271. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  272. package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
  273. package/es/components/scale-view/src/types/index.d.ts +1 -1
  274. package/es/components/search-cascader/index.d.ts +34 -34
  275. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
  276. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  277. package/es/components/search-cascader/src/constants/index.d.ts +1 -1
  278. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  279. package/es/components/select-label/index.d.ts +1 -1
  280. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  281. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  282. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  283. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
  284. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
  285. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
  286. package/es/components/select-label/src/index.vue.d.ts +19 -19
  287. package/es/components/select-person/index.d.ts +22 -22
  288. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  289. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  290. package/es/components/shortcut-provider/index.d.ts +1 -1
  291. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
  292. package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
  293. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
  294. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  295. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  296. package/es/components/shortcut-setter/index.d.ts +63 -176
  297. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +96 -209
  298. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
  299. package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
  300. package/es/components/slider-tree/index.d.ts +1 -1
  301. package/es/components/steps-wheel/index.d.ts +1 -1
  302. package/es/components/table-export-field/index.d.ts +3 -3
  303. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +4 -1
  304. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
  305. package/es/components/table-export-field/src/constants/index.d.ts +1 -1
  306. package/es/components/table-export-field/src/index.vue.d.ts +1 -1
  307. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
  308. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  309. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
  310. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
  311. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
  312. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  313. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  314. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
  315. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  316. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  317. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
  318. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
  319. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
  320. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
  321. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +4 -0
  322. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  323. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
  324. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -0
  325. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
  326. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +13 -9
  327. package/es/components/table-filter/src/constants/index.d.ts +1 -1
  328. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  329. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  330. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  331. package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
  332. package/es/components/table-filter/src/types/index.d.ts +1 -0
  333. package/es/components/time-line/index.d.ts +1 -1
  334. package/es/components/time-picker/index.d.ts +2 -2
  335. package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
  336. package/es/components/vod-chunk-upload/index.d.ts +1 -1
  337. package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +1 -1
  338. package/es/env.d.ts +25 -25
  339. package/es/shared/assets/img/failure.png.js +1 -1
  340. package/es/shared/assets/img/no-permission.png.js +1 -1
  341. package/es/shared/assets/img/nodata.png.js +1 -1
  342. package/es/shared/assets/img/notfound.png.js +1 -1
  343. package/es/shared/assets/img/qr.png.js +1 -1
  344. package/es/shared/assets/img/success.png.js +1 -1
  345. package/es/shared/assets/img/video.png.js +1 -1
  346. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  347. package/es/shared/assets/img/xb_big.png.js +1 -1
  348. package/es/shared/assets/img/xb_small.png.js +1 -1
  349. package/es/shared/components/CancelRadio/index.js +1 -1
  350. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
  351. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  352. package/es/shared/components/InputNumberSlash/index.js +1 -1
  353. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
  354. package/es/shared/components/SelectPage/index.js +1 -1
  355. package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
  356. package/es/shared/components/SlotRender/index.js +1 -1
  357. package/es/shared/components/SvgIcon/index.js +1 -1
  358. package/es/shared/components/TextOverTooltip/index.js +1 -1
  359. package/es/shared/components/VueDraggable/index.js +1 -1
  360. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  361. package/es/shared/components/no-data/index.js +1 -1
  362. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
  363. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  364. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  365. package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
  366. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +1 -1
  367. package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
  368. package/es/shared/hooks/useDateTime.d.ts +1 -1
  369. package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
  370. package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
  371. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  372. package/es/shared/hooks/useTheme.d.ts +1 -1
  373. package/es/shared/package.json.js +1 -1
  374. package/es/shared/types/business.d.ts +1 -1
  375. package/es/shared/utils/business.d.ts +1 -1
  376. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  377. package/es/shared/utils/index.d.ts +1 -1
  378. package/es/shared/utils/tapable/index.d.ts +139 -0
  379. package/es/shared/utils/vexutils.js +1 -1
  380. package/package.json +2 -2
  381. package/es/shared/utils/tapable/AsyncParallelBailHook.js +0 -1
  382. package/es/shared/utils/tapable/AsyncSeriesBailHook.js +0 -1
  383. package/es/shared/utils/tapable/AsyncSeriesLoopHook.js +0 -1
  384. package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +0 -1
  385. package/es/shared/utils/tapable/SyncBailHook.js +0 -1
  386. package/es/shared/utils/tapable/SyncLoopHook.js +0 -1
@@ -1,4 +1,4 @@
1
- import { IClassifyListType } from '../../../../../../es/components/table-filter/src/types';
1
+ import { IClassifyListType } from '../../../../../components/table-filter/src/types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  searchFieldList: {
4
4
  type: ArrayConstructor;
@@ -456,9 +456,9 @@ declare const _default: import("vue").DefineComponent<{
456
456
  showAdd: boolean;
457
457
  };
458
458
  isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
459
- editDisplayCategory: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
460
- handleDisplayCategorySelect: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
461
- handleDisplayCategoryRemove: (index: number, item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
459
+ editDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
460
+ handleDisplayCategorySelect: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
461
+ handleDisplayCategoryRemove: (index: number, item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
462
462
  handleDisplayCategoryAdd: (cb?: any) => void;
463
463
  handlerBlur: () => void;
464
464
  initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
@@ -469,12 +469,12 @@ declare const _default: import("vue").DefineComponent<{
469
469
  updateKey: (index: number, val: any) => void;
470
470
  updateCondition: (index: number, val: any) => void;
471
471
  getParamCfg: (key: string) => any;
472
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
472
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
473
473
  getRawFilterConditions: () => any[];
474
- handleEditDisplayCategory: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
474
+ handleEditDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
475
475
  handleDisplayCategoryAddState: () => void;
476
476
  findConditionByDisplayCategory: (sid: string) => unknown;
477
- handleDisplayCategorySelectProxy: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
477
+ handleDisplayCategorySelectProxy: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
478
478
  clearFormData: () => void;
479
479
  handleInitConditions: () => Promise<void>;
480
480
  validate: () => Promise<unknown>;
@@ -1556,9 +1556,9 @@ declare const _default: import("vue").DefineComponent<{
1556
1556
  showAdd: boolean;
1557
1557
  };
1558
1558
  isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
1559
- editDisplayCategory: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
1560
- handleDisplayCategorySelect: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1561
- handleDisplayCategoryRemove: (index: number, item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1559
+ editDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
1560
+ handleDisplayCategorySelect: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
1561
+ handleDisplayCategoryRemove: (index: number, item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
1562
1562
  handleDisplayCategoryAdd: (cb?: any) => void;
1563
1563
  handlerBlur: () => void;
1564
1564
  initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
@@ -1569,13 +1569,13 @@ declare const _default: import("vue").DefineComponent<{
1569
1569
  updateKey: (index: number, val: any) => void;
1570
1570
  updateCondition: (index: number, val: any) => void;
1571
1571
  getParamCfg: (key: string) => any;
1572
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
1572
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
1573
1573
  getRawFilterConditions: () => any;
1574
1574
  isShowValueCfg: (con: string) => boolean;
1575
- handleEditDisplayCategory: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1575
+ handleEditDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
1576
1576
  handleDisplayCategoryAddState: () => void;
1577
1577
  findConditionByDisplayCategory: (sid: string) => unknown;
1578
- handleDisplayCategorySelectProxy: (item: import("../../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1578
+ handleDisplayCategorySelectProxy: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
1579
1579
  clearFormData: () => void;
1580
1580
  handleInitConditions: () => Promise<void>;
1581
1581
  validate: () => Promise<unknown>;
@@ -1,4 +1,4 @@
1
- import { IClassifyListType } from '../../../../../../es/components/table-filter/src/types';
1
+ import { IClassifyListType } from '../../../../../components/table-filter/src/types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  visibleIn: {
4
4
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IClassifyListType, ITreeDataType, IConditionMapType, IClassifyItemType } from '../../../../es/components/table-filter/src/types';
2
+ import { IClassifyListType, ITreeDataType, IConditionMapType, IClassifyItemType } from '../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  tableId: {
5
5
  type: StringConstructor;
@@ -678,9 +678,9 @@ declare const _default: import("vue").DefineComponent<{
678
678
  showAdd: boolean;
679
679
  };
680
680
  isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
681
- editDisplayCategory: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
682
- handleDisplayCategorySelect: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
683
- handleDisplayCategoryRemove: (index: number, item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
681
+ editDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
682
+ handleDisplayCategorySelect: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
683
+ handleDisplayCategoryRemove: (index: number, item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
684
684
  handleDisplayCategoryAdd: (cb?: any) => void;
685
685
  handlerBlur: () => void;
686
686
  initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
@@ -691,12 +691,12 @@ declare const _default: import("vue").DefineComponent<{
691
691
  updateKey: (index: number, val: any) => void;
692
692
  updateCondition: (index: number, val: any) => void;
693
693
  getParamCfg: (key: string) => any;
694
- initFilterConditions: (tableId: string, rawConditions: import("../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
694
+ initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
695
695
  getRawFilterConditions: () => any[];
696
- handleEditDisplayCategory: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
696
+ handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
697
697
  handleDisplayCategoryAddState: () => void;
698
698
  findConditionByDisplayCategory: (sid: string) => unknown;
699
- handleDisplayCategorySelectProxy: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
699
+ handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
700
700
  clearFormData: () => void;
701
701
  handleInitConditions: () => Promise<void>;
702
702
  validate: () => Promise<unknown>;
@@ -1778,9 +1778,9 @@ declare const _default: import("vue").DefineComponent<{
1778
1778
  showAdd: boolean;
1779
1779
  };
1780
1780
  isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
1781
- editDisplayCategory: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
1782
- handleDisplayCategorySelect: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1783
- handleDisplayCategoryRemove: (index: number, item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1781
+ editDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
1782
+ handleDisplayCategorySelect: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
1783
+ handleDisplayCategoryRemove: (index: number, item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
1784
1784
  handleDisplayCategoryAdd: (cb?: any) => void;
1785
1785
  handlerBlur: () => void;
1786
1786
  initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
@@ -1791,13 +1791,13 @@ declare const _default: import("vue").DefineComponent<{
1791
1791
  updateKey: (index: number, val: any) => void;
1792
1792
  updateCondition: (index: number, val: any) => void;
1793
1793
  getParamCfg: (key: string) => any;
1794
- initFilterConditions: (tableId: string, rawConditions: import("../../../../es/components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
1794
+ initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
1795
1795
  getRawFilterConditions: () => any;
1796
1796
  isShowValueCfg: (con: string) => boolean;
1797
- handleEditDisplayCategory: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1797
+ handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
1798
1798
  handleDisplayCategoryAddState: () => void;
1799
1799
  findConditionByDisplayCategory: (sid: string) => unknown;
1800
- handleDisplayCategorySelectProxy: (item: import("../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
1800
+ handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
1801
1801
  clearFormData: () => void;
1802
1802
  handleInitConditions: () => Promise<void>;
1803
1803
  validate: () => Promise<unknown>;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  export * from './src/interface';
3
3
  declare const ConfigProvider: SFCWithInstall<import("vue").DefineComponent<{
4
4
  themeOverrides: {
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
3
3
  updateUnchangedValue: {
4
4
  type: BooleanConstructor;
@@ -39,7 +39,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
39
39
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
40
40
  }>>;
41
41
  emit: (event: "update:formatted-value", ...args: any[]) => void;
42
- datePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
42
+ datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
43
43
  panelInstRef: import("vue").Ref<null>;
44
44
  placeholderRef: import("vue").Ref<any>;
45
45
  currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../es/shared/types';
2
+ import { AnyObject } from '../../../shared/types';
3
3
  declare type FormattedValue = string | [string, string];
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  updateUnchangedValue: {
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const Editor: SFCWithInstall<import("vue").DefineComponent<{
3
3
  editorConfig: {
4
4
  type: ObjectConstructor;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
3
3
  id: {
4
4
  type: StringConstructor;
@@ -188,7 +188,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
188
188
  height: string;
189
189
  }>;
190
190
  saveOrUpdateExtendField: (params: any, filterApiConfig: any) => Promise<any>;
191
- expandFieldApiConfig: import("../../../es/shared/types").AnyObject;
191
+ expandFieldApiConfig: import("../../shared/types").AnyObject;
192
192
  formRef: import("vue").Ref<null>;
193
193
  defaultData: import("vue").Ref<{
194
194
  name: undefined;
@@ -292,7 +292,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
292
292
  message: string;
293
293
  };
294
294
  handleSave: () => void;
295
- isCandidateVariable: (str: string, saveOjb: import("../../../es/shared/types").AnyObject) => true | "error" | undefined;
295
+ isCandidateVariable: (str: string, saveOjb: import("../../shared/types").AnyObject) => true | "error" | undefined;
296
296
  setCandidateError: (saveOjb: any, message: string) => void;
297
297
  validateCandidate: (saveOjb: any) => boolean;
298
298
  handleSubmit: (params?: {}) => Promise<void>;
@@ -727,7 +727,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
727
727
  };
728
728
  }, {
729
729
  findAllDeptEmpByOrg: (params: any, filterApiConfig: any) => Promise<any>;
730
- expandFieldApiConfig: import("../../../es/shared/types").AnyObject;
730
+ expandFieldApiConfig: import("../../shared/types").AnyObject;
731
731
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
732
732
  defaultValue: {
733
733
  type: (ArrayConstructor | StringConstructor)[];
@@ -779,7 +779,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
779
779
  default: () => never[];
780
780
  };
781
781
  treeData: {
782
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
782
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
783
783
  default: () => never[];
784
784
  };
785
785
  }, {
@@ -793,7 +793,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
793
793
  default: () => never[];
794
794
  };
795
795
  treeData: {
796
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
796
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
797
797
  default: () => never[];
798
798
  };
799
799
  }>> & {
@@ -834,7 +834,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
834
834
  data: {
835
835
  type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
836
836
  [k: string]: unknown;
837
- } & import("../../../es/shared/types").AnyObject)[]>;
837
+ } & import("../../shared/types").AnyObject)[]>;
838
838
  default: () => never[];
839
839
  };
840
840
  searchPlaceholder: {
@@ -879,21 +879,21 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
879
879
  default: boolean;
880
880
  };
881
881
  searchFilter: {
882
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
882
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
883
883
  default: () => {};
884
884
  };
885
885
  treeSetting: {
886
886
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
887
887
  [k: string]: unknown;
888
- } & import("../../../es/shared/types").AnyObject>;
888
+ } & import("../../shared/types").AnyObject>;
889
889
  default: () => {};
890
890
  };
891
891
  queryLoadChildData: {
892
- type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../es/shared/types").AnyObject>>;
892
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
893
893
  default: undefined;
894
894
  };
895
895
  queryTreeSearch: {
896
- type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
896
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
897
897
  default: () => Promise<never[]>;
898
898
  };
899
899
  }, {
@@ -915,7 +915,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
915
915
  data: {
916
916
  type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
917
917
  [k: string]: unknown;
918
- } & import("../../../es/shared/types").AnyObject)[]>;
918
+ } & import("../../shared/types").AnyObject)[]>;
919
919
  default: () => never[];
920
920
  };
921
921
  searchPlaceholder: {
@@ -960,21 +960,21 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
960
960
  default: boolean;
961
961
  };
962
962
  searchFilter: {
963
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
963
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
964
964
  default: () => {};
965
965
  };
966
966
  treeSetting: {
967
967
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
968
968
  [k: string]: unknown;
969
- } & import("../../../es/shared/types").AnyObject>;
969
+ } & import("../../shared/types").AnyObject>;
970
970
  default: () => {};
971
971
  };
972
972
  queryLoadChildData: {
973
- type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../es/shared/types").AnyObject>>;
973
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
974
974
  default: undefined;
975
975
  };
976
976
  queryTreeSearch: {
977
- type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
977
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
978
978
  default: () => Promise<never[]>;
979
979
  };
980
980
  }>> & {
@@ -1024,7 +1024,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1024
1024
  init: () => void;
1025
1025
  getallCheckedKeysWithChild: (item: import("naive-ui").TreeOption) => void;
1026
1026
  getallCheckedKeysWithParent: (item: import("naive-ui").TreeOption) => void;
1027
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../../es/shared/types").AnyObject>;
1027
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
1028
1028
  setDisabled: (data: import("naive-ui").TreeOption) => void;
1029
1029
  renderLabel: ({ option }: {
1030
1030
  option: import("naive-ui").TreeOption;
@@ -1411,7 +1411,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1411
1411
  data: {
1412
1412
  type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1413
1413
  [k: string]: unknown;
1414
- } & import("../../../es/shared/types").AnyObject)[]>;
1414
+ } & import("../../shared/types").AnyObject)[]>;
1415
1415
  default: () => never[];
1416
1416
  };
1417
1417
  searchPlaceholder: {
@@ -1456,21 +1456,21 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1456
1456
  default: boolean;
1457
1457
  };
1458
1458
  searchFilter: {
1459
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
1459
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1460
1460
  default: () => {};
1461
1461
  };
1462
1462
  treeSetting: {
1463
1463
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1464
1464
  [k: string]: unknown;
1465
- } & import("../../../es/shared/types").AnyObject>;
1465
+ } & import("../../shared/types").AnyObject>;
1466
1466
  default: () => {};
1467
1467
  };
1468
1468
  queryLoadChildData: {
1469
- type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../es/shared/types").AnyObject>>;
1469
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
1470
1470
  default: undefined;
1471
1471
  };
1472
1472
  queryTreeSearch: {
1473
- type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
1473
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
1474
1474
  default: () => Promise<never[]>;
1475
1475
  };
1476
1476
  }>> & {
@@ -1479,7 +1479,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1479
1479
  }, {
1480
1480
  data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1481
1481
  [k: string]: unknown;
1482
- } & import("../../../es/shared/types").AnyObject)[];
1482
+ } & import("../../shared/types").AnyObject)[];
1483
1483
  defaultList: ((string | number) | {
1484
1484
  [key: string]: any;
1485
1485
  key: string | number;
@@ -1502,12 +1502,12 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1502
1502
  showClear: boolean;
1503
1503
  multiple: boolean;
1504
1504
  searchInner: boolean;
1505
- searchFilter: import("../../../es/shared/types").AnyObject;
1505
+ searchFilter: import("../../shared/types").AnyObject;
1506
1506
  treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1507
1507
  [k: string]: unknown;
1508
- } & import("../../../es/shared/types").AnyObject;
1509
- queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../../es/shared/types").AnyObject>;
1510
- queryTreeSearch: (keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>;
1508
+ } & import("../../shared/types").AnyObject;
1509
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
1510
+ queryTreeSearch: (keyWork: string) => Promise<import("../../shared/types").AnyObject[]>;
1511
1511
  }>>;
1512
1512
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1513
1513
  visible: {
@@ -1519,7 +1519,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1519
1519
  default: () => never[];
1520
1520
  };
1521
1521
  treeData: {
1522
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1522
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1523
1523
  default: () => never[];
1524
1524
  };
1525
1525
  }>> & {
@@ -1528,7 +1528,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
1528
1528
  }, {
1529
1529
  visible: boolean;
1530
1530
  defaultList: string[];
1531
- treeData: import("../../../es/shared/types").AnyObject[];
1531
+ treeData: import("../../shared/types").AnyObject[];
1532
1532
  }>;
1533
1533
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "checkPerson"[], "checkPerson", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1534
1534
  defaultValue: {
@@ -1,5 +1,5 @@
1
1
  import { ref, PropType } from 'vue';
2
- import { AnyObject } from '../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
53
53
  NModal: any;
54
54
  NCard: any;
55
55
  NButton: any;
56
- CSelectPerson: import("../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
56
+ CSelectPerson: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
57
57
  defaultList: {
58
58
  type: PropType<((string | number) | {
59
59
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import { ref } from 'vue';
2
2
  import { FormItemRule, FormRules } from 'naive-ui';
3
3
  import { isTextarea, isNumber, isDate, isShowOptions, isCandidate } from '../utils';
4
- import { AnyObject } from '../../../../../es/shared/types';
4
+ import { AnyObject } from '../../../../shared/types';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  visible: {
7
7
  type: BooleanConstructor;
@@ -717,7 +717,7 @@ declare const _default: import("vue").DefineComponent<{
717
717
  NModal: any;
718
718
  NCard: any;
719
719
  NButton: any;
720
- CSelectPerson: import("../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
720
+ CSelectPerson: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
721
721
  defaultList: {
722
722
  type: import("vue").PropType<((string | number) | {
723
723
  [key: string]: any;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,inject as a,computed as t,watch as u,openBlock as n,createBlock as i,unref as o,normalizeClass as v,isRef as d,withCtx as r,createVNode as s,normalizeStyle as p,createElementVNode as f,createTextVNode as m,createCommentVNode as c,createElementBlock as y,Fragment as h,renderList as _,withDirectives as g,withKeys as b,withModifiers as x,vShow as k,toDisplayString as M}from"vue";import{useMessage as w,NModal as H,NCard as C,NButton as U,NForm as S,NFormItem as j,NInput as O,NTooltip as I,NSelect as z,NGrid as T,NGridItem as N,NIcon as Y,NInputNumber as $,NPopover as L,NDatePicker as V,NTimePicker as B,NSwitch as D}from"naive-ui";import{isMulti as F,isShowOptions as P,isNumber as q,isDate as A,isCandidate as E,isTextarea as J}from"../utils/index.js";import K from"moment";import{InjectionExpandFieldApiConfig as R}from"../constants/index.js";import W from"../hooks/useAsyncData.js";import{HtmlTypeList as X}from"../utils/constant.js";import{isJSON as G,isValidDate as Q}from"../utils/tool.js";import Z from"./FormBatchOptionsModal.vue.js";import ee from"./FormItemPerson.vue.js";const le={class:"svg-wrap"},ae={class:"flex_right"},te={class:"options-title"},ue=f("span",null,"字段键名",-1),ne=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),ie={class:"options-title"},oe=f("span",null,"字段问号提示",-1),ve=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),de={class:"options-title"},re=f("span",null,"选项值",-1),se=f("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},[f("path",{d:"M12 12h2v12h-2z",fill:"currentColor"}),f("path",{d:"M18 12h2v12h-2z",fill:"currentColor"}),f("path",{d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z",fill:"currentColor"}),f("path",{d:"M12 2h8v2h-8z",fill:"currentColor"})],-1),pe={class:"options-title"},fe=f("span",null,"默认值",-1),me=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),ce={style:{display:"flex","align-items":"center"}},ye=f("span",null,"选择",-1),he={style:{width:"100%"}},_e={key:0,class:"validate_tip"};var ge=e({__name:"form",props:{visible:{type:Boolean,default:!1},formOntype:{type:String,default:"add"},formItemData:{type:Object,default:()=>({})},id:{type:String,default:""},orgId:{type:String,default:""},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelModal"],setup(e,{emit:ge}){const be=e,xe=w(),ke="请输入默认值",Me={name:[{required:!0,message:"请输入字段标题",trigger:["input","blur"]}],html_type:[{required:!0,message:"请选择字段类型",trigger:["input","blur"]}]},we=[{value:"yyyy-MM-dd HH:mm:ss",label:"年-月-日 时:分:秒"},{value:"yyyy-MM-dd HH:mm",label:"年-月-日 时:分"},{value:"yyyy-MM-dd",label:"年-月-日"},{value:"yyyy-MM",label:"年-月"},{value:"MM-dd HH:mm",label:"月-日 时:分"},{value:"MM-dd",label:"月-日"},{value:"HH:mm:ss",label:"时:分:秒"},{value:"HH:mm",label:"时:分"}],He=[{value:"12",label:"整行"},{value:"6",label:"半行"},{value:"4",label:"1/3行"},{value:"8",label:"2/3行"},{value:"3",label:"1/4行"},{value:"9",label:"3/4行"},{value:"2",label:"1/6行"},{value:"10",label:"5/6行"},{value:"1.5",label:"1/8行"},{value:"10.5",label:"7/8行"}],Ce=l(!1),Ue=l("860px");let Se=l({maxHeight:"496px",height:"496px"});const{saveOrUpdateExtendField:je}=W(),Oe=a(R),Ie=l(null),ze=l({name:void 0,remark:void 0,is_edit:"1",is_null:"1",is_show:"1",key:"",val_key:void 0,validate:{},html_type:"INPUT",name_i18n:void 0,elem_width:"12",default_val:void 0,label_type:void 0,isMultiSelect:"0",decimal_length:void 0,date_format:""}),Te=l([{text:void 0,value:void 0}]),Ne=l({format:"yyyy-MM-dd HH:mm:ss",dateType:"date",mode:"date",value:null,showTime:!0,open:!1,componentType:"datetime"}),Ye=l({obj_type:"",vali_obj:"",event_obj:"",max_length:"",min_length:"",min_value:"",max_value:""}),$e=l({value_key:"",levelSetting:[],search_key:[],level_num:void 0,render_key:[],name:"",level_key:"",id:"",type:"",primary_key:"",sqlExpression:"",conObj:"",add_btn:"",setting:{cascading:[]}}),Le=l(!1),Ve=l(!1),Be=l(void 0),De=l(!1),Fe=l(!1);l(!1);const Pe=l(!1),qe=l(""),Ae=t((()=>"edit"===be.formOntype)),Ee=t((()=>ze.value.html_type||""));t((()=>"TEXTAREA"===Ee.value?1e3:255));const Je=t((()=>Te.value.filter((e=>e.value&&e.text)))),Ke=t((()=>F(Ee.value))),Re=t((()=>"date"===Ne.value.dateType));function We(e){Pe.value=e}function Xe(e){let l=e;"string"!=typeof e&&(l=JSON.stringify(e)),ze.value.default_val=l}function Ge(e){Ne.value.value=null,ze.value.default_val=void 0,il(e)}function Qe(){Ce.value=!Ce.value;let e=document.body.clientHeight;"860px"===Ue.value?(Ue.value="100%",Se.value.maxHeight=`${e}px`,Se.value.height=`${e}px`):(Ue.value="860px",Se.value.maxHeight="496px",Se.value.height="")}function Ze(e){return["HH:mm:ss","HH:mm"].includes(e)}function el(e,l){switch(e){case"isNull":Le.value=l,ze.value.is_null=l?"0":"1";break;case"isMultiSelect":Ve.value=l,ze.value.isMultiSelect=l?"1":"0"}}function ll(){if("add"===be.formOntype)return;let e=Object.assign({},be.formItemData),l=e.setting;l&&G(l)&&(l=JSON.parse(l),delete e.setting,Object.assign(e,{...l})),e.key=e.code,delete e.code,A(e.html_type)&&function(e){il(e.date_format);let l=e.default_val;l&&!l.startsWith("${")&&(Ze(e.date_format)&&(l=`${K().format("YYYY-MM-dd")} ${l}`),Q(new Date(l))&&(Ne.value.value=K(l)))}(e),F(e.html_type)&&(e.default_val=function(e){let l=e.default_val;return l?l.split(",").filter(Boolean):[]}(e)),Le.value="0"==e.is_null,Ve.value="1"==e.isMultiSelect,Ye.value=Object.assign(Ye.value,e.validate||{}),$e.value=Object.assign($e.value,e.wordbook||{}),ze.value=Object.assign(ze.value,e||{}),P(e.html_type)&&function(e){let l=(null==e?void 0:e.optionValue)||[];l.length||l.push({text:void 0,value:void 0}),Te.value=[...l],delete e.optionValue}(e)}function al(e){ze.value.html_type=e,Te.value=[{text:void 0,value:void 0}];let l=function(){if(F(Ee.value))return[]}();ze.value.default_val=l,A(e)?ze.value.date_format="yyyy-MM-dd HH:mm:ss":ze.value.date_format=""}function tl(){Te.value.push({value:"",text:""})}function ul(e){let l=e;(e<0||0===e)&&(l=0),e>5&&(l=5),Be.value=0===l?l:l||void 0}function nl(e){Te.value=e}function il(e){let l=e||"yyyy-MM-dd HH:mm:ss",a=Ze(l)?"time":"date",t="yyyy-MM"===l?"month":"date";let u=function(e){return["yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","MM-dd HH:mm"].includes(e)}(l),n="";["yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","MM-dd HH:mm"].includes(e)&&(n="datetime"),["yyyy-MM-dd","MM-dd"].includes(e)&&(n="date"),Object.assign(Ne.value,{format:l,dateType:a,mode:t,showTime:u,componentType:n})}function ol(e,l){if(e)return l&&(l.includes("yyyy")&&(l=l.replace("yyyy","YYYY")),l.includes("dd")&&(l=l.replace("dd","DD"))),K(e).format(l)}function vl(){Ne.value.open=!Ne.value.open}function dl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l}function rl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l,Ne.value.format.includes("HH:mm")||vl()}function sl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l}function pl(){ge("cancelModal"),Ue.value="860px",Se.value={height:"496px",maxHeight:"496px"},Ce.value=!1,ze.value={name:void 0,remark:void 0,is_edit:"1",is_null:"1",is_show:"1",key:"",val_key:void 0,validate:{},html_type:"INPUT",name_i18n:void 0,elem_width:"12",default_val:void 0,label_type:void 0,isMultiSelect:"0",decimal_length:void 0,date_format:""}}function fl(){var e;null==(e=Ie.value)||e.validate((async e=>{if(e)return;let l=Object.assign({},ze.value);if(l.validate={...Ye.value},l.extendId=be.id,P(Ee.value)){let e=function(){let e={validate:!1,message:"请完善选项配置"};if(!Te.value||!Te.value.length)return e;let l,a,t,u=0,n=Te.value.length,i=!1;for(;u<n;u++){if(l=Te.value[u],a=l.value?l.value.trim():l.value,t=l.text?l.text.trim():l.text,!a||!t){i=!0;break}l.value=a,l.text=t}return[...new Set(Te.value.map((e=>e.value)))].length!==Te.value.length?(e.message="选项值不能重复",e):(!i&&(e.validate=!0),e)}();if(!e.validate)return De.value=!0,void xe.warning(e.message);De.value=!1,l.option=[...Te.value]}if(q(Ee.value)?l.default_val=function(e){let l=e.default_val;if(void 0===Be.value)return l;if(!l)return l;let a=String(l).split(".")[1];return a&&a.length!==Be.value?Number(l.toFixed(Be.value)):l}(l):F(Ee.value)&&(l.default_val=l.default_val.join(",")),!E(Ee.value)||function(e){let{default_val:l}=e;qe.value="",l&&G(l)&&(l=JSON.parse(l));let a=function(e,l){if(!e)return;if("string"!=typeof e)return;if(!(e=e.trim()))return!0;if(!e.startsWith("${"))return ml(l,"请输入有效系统变量"),"error";let a=/\${sys.(.*?)\}/g.exec(e);if(!a||!a[1])return ml(l,"请输入有效系统变量"),"error";return!0}(l,e);if(a)return"error"!==a;if(console.log("saveOjb.isMultiSelect>>>",e.isMultiSelect),console.log("default_val?.length>>>",null==l?void 0:l.length),"0"===e.isMultiSelect&&(null==l?void 0:l.length)>1)return console.log("进入到判断里面了>>>>>"),ml(e,"选人组件为单选"),!1;return!0}(l)){for(let e in l){let a=l[e];"string"==typeof a&&(l[e]=null==a?void 0:a.trim())}console.log("saveOjb>>>",l),await async function(e={}){Fe.value=!0;try{const l=await je(e,Oe);if(Fe.value=!1,"SUCCESS"!==(null==l?void 0:l.result))return void xe.error((null==l?void 0:l.resultMsg)||"保存失败");pl()}catch(e){Fe.value=!1}}(l)}}))}function ml(e,l){qe.value=l}return u((()=>be.visible),(e=>{e&&ll()})),(l,a)=>(n(),i(o(H),{class:v(["expand-field-modal-block",{"modal-screen":Ce.value}]),show:e.visible,"onUpdate:show":a[22]||(a[22]=e=>d(visible)?visible.value=e:null),maskClosable:!1,width:Ue.value,bodyStyle:o(Se),closable:!1,centered:"",onPositiveClick:fl,onNegativeClick:pl},{default:r((()=>[s(o(C),{style:p({width:Ue.value,...o(Se)}),title:"add"===be.formOntype?"新增拓展字段":"编辑拓展字段",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":r((()=>[f("div",le,[f("i",{onClick:Qe,class:v(["iconfont-expand-field",Ce.value?"icon-expand-field-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-expand-field-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),f("i",{onClick:pl,class:"iconfont-expand-field icon-expand-field-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:r((()=>[f("div",ae,[s(o(U),{onClick:pl},{default:r((()=>[m("取消")])),_:1}),s(o(U),{type:"info",onClick:fl},{default:r((()=>[m("保存")])),_:1})])])),default:r((()=>[s(o(S),{ref_key:"formRef",ref:Ie,model:ze.value,rules:Me},{default:r((()=>[s(o(j),{path:"name",label:"字段标题","require-mark-placement":"left"},{default:r((()=>[s(o(O),{value:ze.value.name,"onUpdate:value":a[0]||(a[0]=e=>ze.value.name=e),maxlength:100,clearable:"",placeholder:"请输入"},null,8,["value"])])),_:1}),s(o(j),{path:"key"},{label:r((()=>[f("div",te,[ue,s(o(I),{duration:0},{trigger:r((()=>[ne])),default:r((()=>[m(" 数据库字段键名,不填写时由系统生成,填写则以填写为准 ")])),_:1})])])),default:r((()=>[s(o(O),{value:ze.value.key,"onUpdate:value":a[1]||(a[1]=e=>ze.value.key=e),maxlength:32,disabled:o(Ae),clearable:"",placeholder:"数据库字段键名,不填写时由系统生成,填写则以填写为准"},null,8,["value","disabled"])])),_:1}),s(o(j),{path:"html_type",label:"字段类型","require-mark-placement":"left"},{default:r((()=>[s(o(z),{value:ze.value.html_type,"onUpdate:value":[a[2]||(a[2]=e=>ze.value.html_type=e),al],placeholder:"请选择字段类型",clearable:"",filterable:"",options:o(X)},null,8,["value","options"])])),_:1}),s(o(j),{path:"remark",label:"字段问号提示"},{label:r((()=>[f("div",ie,[oe,s(o(I),{duration:0},{trigger:r((()=>[ve])),default:r((()=>[m(" 设置后该字段旁会有问号图标,鼠标悬浮展示“问号提示”内容,常用于告诉用户该字段的含义 ")])),_:1})])])),default:r((()=>[s(o(O),{value:ze.value.remark,"onUpdate:value":a[3]||(a[3]=e=>ze.value.remark=e),placeholder:"请输入",type:"textarea",clearable:"",maxlength:255,rows:3},null,8,["value"])])),_:1}),c(" 选项值>>>>>类型对应关系 "),o(P)(o(Ee))?(n(),i(o(j),{key:0},{label:r((()=>[f("div",de,[re,f("span",{class:"batch-span",onClick:tl},"添加选项"),f("span",{class:"batch-span",onClick:a[4]||(a[4]=()=>We(!0))},"批量编辑")])])),default:r((()=>[f("div",{class:v(["options-item",{"options-item-err":De.value}])},[(n(!0),y(h,null,_(Te.value,((e,l)=>(n(),i(o(T),{class:"mgb-10",key:l,cols:24,"x-gap":8,"y-gap":8},{default:r((()=>[s(o(N),{span:11},{default:r((()=>[s(o(O),{value:e.value,"onUpdate:value":l=>e.value=l,maxLength:100,allowClear:"",placeholder:"选项值"},null,8,["value","onUpdate:value"])])),_:2},1024),s(o(N),{span:11},{default:r((()=>[s(o(O),{value:e.text,"onUpdate:value":l=>e.text=l,maxLength:100,allowClear:"",placeholder:"选项文本"},null,8,["value","onUpdate:value"])])),_:2},1024),s(o(N),{span:2,class:"flex-center"},{default:r((()=>[Te.value.length>1?(n(),i(o(Y),{key:0,onClick:a=>function(e,l){Te.value.splice(l,1);let a=ze.value.default_val;if(F(Ee.value)){if(!a||!a.length)return;let l=a.findIndex((l=>l===e.value));l||a.splice(l,1)}else{if(!a)return;a===e.value&&(a=void 0)}ze.value.default_val=a}(e,l)},{default:r((()=>[se])),_:2},1032,["onClick"])):c("v-if",!0)])),_:2},1024)])),_:2},1024)))),128))],2)])),_:1})):c("v-if",!0),o(q)(o(Ee))?(n(),i(o(j),{key:1,path:"decimal_length",label:"小数位"},{default:r((()=>[s(o($),{style:{width:"100%"},min:0,max:5,placeholder:"请输入",precision:0,clearable:"",value:ze.value.decimal_length,"onUpdate:value":[a[5]||(a[5]=e=>ze.value.decimal_length=e),ul]},null,8,["value"])])),_:1})):c("v-if",!0),o(A)(o(Ee))?(n(),i(o(j),{key:2,path:"date_format",label:"日期格式"},{default:r((()=>[s(o(z),{style:{width:"100%"},value:ze.value.date_format,"onUpdate:value":[a[6]||(a[6]=e=>ze.value.date_format=e),Ge],placeholder:"请选择",options:we},null,8,["value"])])),_:1})):c("v-if",!0),c(" 默认值>>>>>类型对应关系 "),s(o(j),{path:"default_val",label:"默认值"},{label:r((()=>[f("div",pe,[fe,o(E)(o(Ee))?(n(),i(o(I),{key:0,duration:0},{trigger:r((()=>[me])),default:r((()=>[m(" 支持输入系统变量当前操作人${sys.userId},也支持选择一个人 ")])),_:1})):c("v-if",!0)])])),default:r((()=>[o(J)(o(Ee))?(n(),i(o(O),{key:0,value:ze.value.default_val,"onUpdate:value":a[7]||(a[7]=e=>ze.value.default_val=e),placeholder:ke,type:"textarea",clearable:"",maxlength:1e3,rows:3},null,8,["value"])):o(q)(o(Ee))?(n(),y(h,{key:1},[c(" 数字框 "),s(o($),{style:{width:"100%"},clearable:"",placeholder:ke,precision:Be.value,value:ze.value.default_val,"onUpdate:value":a[8]||(a[8]=e=>ze.value.default_val=e)},null,8,["precision","value"])],2112)):o(P)(o(Ee))?(n(),y(h,{key:2},[c(" 下拉框、横向单选、纵向单选、横向多选、纵向多选、下拉多选框 "),s(o(z),{style:{width:"100%"},multiple:o(Ke),clearable:"",value:ze.value.default_val,"onUpdate:value":a[9]||(a[9]=e=>ze.value.default_val=e),"label-field":"text",placeholder:ke,options:o(Je)},null,8,["multiple","value","options"])],2112)):o(A)(o(Ee))?(n(),y(h,{key:3},[c(" 日期 "),f("div",ce,[s(o(O),{clearable:"",maxLength:255,value:ze.value.default_val,"onUpdate:value":a[10]||(a[10]=e=>ze.value.default_val=e),placeholder:ke},null,8,["value"]),o(Re)?(n(),y(h,{key:0},["month"===Ne.value.mode?(n(),i(o(L),{key:0,trigger:"click",show:Ne.value.open},{trigger:r((()=>[s(o(U),{type:"info",onClick:vl},{default:r((()=>[m("选择")])),_:1})])),default:r((()=>[s(o(V),{panel:"",value:Ne.value.value,"onUpdate:value":[a[11]||(a[11]=e=>Ne.value.value=e),dl],type:"month","input-readonly":"",clearable:"",onConfirm:vl},null,8,["value"])])),_:1},8,["show"])):(n(),i(o(L),{key:1,trigger:"click",show:Ne.value.open},{trigger:r((()=>[s(o(U),{type:"info",onClick:vl},{default:r((()=>[m("选择")])),_:1})])),default:r((()=>[s(o(V),{panel:"",value:Ne.value.value,"onUpdate:value":[a[12]||(a[12]=e=>Ne.value.value=e),rl],format:Ne.value.format,type:Ne.value.componentType,"input-readonly":"",clearable:"",onConfirm:vl},null,8,["value","format","type"])])),_:1},8,["show"]))],64)):(n(),y(h,{key:1},[c(' <n-input\r\n allowClear\r\n :maxLength="255"\r\n v-model:value="dateInfo.value"\r\n @keydown.enter.prevent\r\n :placeholder="defaultPlaceholder"\r\n /> '),s(o(U),{type:"info",class:"date-time-button"},{default:r((()=>[ye,s(o(B),{value:Ne.value.value,"onUpdate:value":[a[13]||(a[13]=e=>Ne.value.value=e),sl],format:Ne.value.format,"input-readonly":"",clearable:""},null,8,["value","format"])])),_:1}),c(' <n-popover trigger="click">\r\n <template #trigger>\r\n <n-button type="info">选择</n-button>\r\n </template>\r\n <n-time-picker\r\n panel\r\n v-model:value="dateInfo.value"\r\n :format="dateInfo.format"\r\n input-readonly\r\n clearable\r\n @update:value="timeChange"\r\n >\r\n <template v-slot:icon>111</template>\r\n\r\n </n-time-picker>\r\n </n-popover> ')],64))])],2112)):o(E)(o(Ee))?(n(),y(h,{key:4},[c(" 选人组件(增加一个选人组件) "),f("div",he,[g(s(o(O),{allowClear:"",maxLength:255,value:ze.value.default_val,"onUpdate:value":a[14]||(a[14]=e=>ze.value.default_val=e),onKeydown:a[15]||(a[15]=b(x((()=>{}),["prevent"]),["enter"])),placeholder:ke},null,8,["value"]),[[k,!1]]),c(' 点击弹出选人组件弹窗 :mainForm="this" '),s(ee,{orgId:e.orgId,defaultValue:ze.value.default_val,onCheckPerson:Xe},null,8,["orgId","defaultValue"]),qe.value?(n(),y("span",_e,M(qe.value),1)):c("v-if",!0),c(' <n-button type="info">选择</n-button> ')])],2112)):(n(),y(h,{key:5},[c(" 其他 "),s(o(O),{value:ze.value.default_val,"onUpdate:value":a[16]||(a[16]=e=>ze.value.default_val=e),onKeydown:a[17]||(a[17]=b(x((()=>{}),["prevent"]),["enter"])),placeholder:"请输入默认值"},null,8,["value"])],2112))])),_:1}),s(o(j),{path:"elem_width",label:"宽度"},{default:r((()=>[s(o(z),{value:ze.value.elem_width,"onUpdate:value":a[18]||(a[18]=e=>ze.value.elem_width=e),placeholder:"请选择宽度",options:He},null,8,["value"])])),_:1}),s(o(j),{path:"isNull",label:"是否必填","label-placement":"left"},{default:r((()=>[s(o(D),{value:Le.value,"onUpdate:value":[a[19]||(a[19]=e=>Le.value=e),a[20]||(a[20]=e=>el("isNull",e))]},null,8,["value"])])),_:1}),o(E)(o(Ee))?(n(),i(o(j),{key:3,"label-placement":"left",path:"isMultiSelect",label:"是否多选"},{default:r((()=>[s(o(D),{value:Ve.value,"onUpdate:value":a[21]||(a[21]=e=>el("isMultiSelect",e))},null,8,["value"])])),_:1})):c("v-if",!0)])),_:1},8,["model"]),s(Z,{visible:Pe.value,options:Te.value,onHandleSaveBatch:nl,onTriggerBatch:We},null,8,["visible","options"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{ge as default};
1
+ import{defineComponent as e,ref as l,inject as a,computed as t,watch as u,openBlock as n,createBlock as i,unref as o,normalizeClass as v,isRef as d,withCtx as r,createVNode as s,normalizeStyle as p,createElementVNode as f,createTextVNode as m,createCommentVNode as c,createElementBlock as y,Fragment as h,renderList as _,withDirectives as g,withKeys as b,withModifiers as x,vShow as k,toDisplayString as M}from"vue";import{useMessage as w,NModal as H,NCard as C,NButton as U,NForm as S,NFormItem as j,NInput as O,NTooltip as I,NSelect as z,NGrid as T,NGridItem as N,NIcon as Y,NInputNumber as $,NPopover as L,NDatePicker as V,NTimePicker as B,NSwitch as D}from"naive-ui";import{isMulti as F,isShowOptions as P,isNumber as q,isDate as A,isCandidate as E,isTextarea as J}from"../utils/index.js";import K from"moment";import{InjectionExpandFieldApiConfig as R}from"../constants/index.js";import W from"../hooks/useAsyncData.js";import{HtmlTypeList as X}from"../utils/constant.js";import{isJSON as G,isValidDate as Q}from"../utils/tool.js";import Z from"./FormBatchOptionsModal.vue.js";import ee from"./FormItemPerson.vue.js";const le={class:"svg-wrap"},ae={class:"flex_right"},te={class:"options-title"},ue=f("span",null,"字段键名",-1),ne=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),ie={class:"options-title"},oe=f("span",null,"字段问号提示",-1),ve=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),de={class:"options-title"},re=f("span",null,"选项值",-1),se=f("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},[f("path",{d:"M12 12h2v12h-2z",fill:"currentColor"}),f("path",{d:"M18 12h2v12h-2z",fill:"currentColor"}),f("path",{d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z",fill:"currentColor"}),f("path",{d:"M12 2h8v2h-8z",fill:"currentColor"})],-1),pe={class:"options-title"},fe=f("span",null,"默认值",-1),me=f("i",{class:"iconfont-expand-field icon-expand-field-help"},null,-1),ce={style:{display:"flex","align-items":"center"}},ye=f("span",null,"选择",-1),he={style:{width:"100%"}},_e={key:0,class:"validate_tip"};var ge=e({__name:"form",props:{visible:{type:Boolean,default:!1},formOntype:{type:String,default:"add"},formItemData:{type:Object,default:()=>({})},id:{type:String,default:""},orgId:{type:String,default:""},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelModal"],setup(e,{emit:ge}){const be=e,xe=w(),ke="请输入默认值",Me={name:[{required:!0,message:"请输入字段标题",trigger:["input","blur"]}],html_type:[{required:!0,message:"请选择字段类型",trigger:["input","blur"]}]},we=[{value:"yyyy-MM-dd HH:mm:ss",label:"年-月-日 时:分:秒"},{value:"yyyy-MM-dd HH:mm",label:"年-月-日 时:分"},{value:"yyyy-MM-dd",label:"年-月-日"},{value:"yyyy-MM",label:"年-月"},{value:"MM-dd HH:mm",label:"月-日 时:分"},{value:"MM-dd",label:"月-日"},{value:"HH:mm:ss",label:"时:分:秒"},{value:"HH:mm",label:"时:分"}],He=[{value:"12",label:"整行"},{value:"6",label:"半行"},{value:"4",label:"1/3行"},{value:"8",label:"2/3行"},{value:"3",label:"1/4行"},{value:"9",label:"3/4行"},{value:"2",label:"1/6行"},{value:"10",label:"5/6行"},{value:"1.5",label:"1/8行"},{value:"10.5",label:"7/8行"}],Ce=l(!1),Ue=l("860px");let Se=l({maxHeight:"496px",height:"496px"});const{saveOrUpdateExtendField:je}=W(),Oe=a(R),Ie=l(null),ze=l({name:void 0,remark:void 0,is_edit:"1",is_null:"1",is_show:"1",key:"",val_key:void 0,validate:{},html_type:"INPUT",name_i18n:void 0,elem_width:"12",default_val:void 0,label_type:void 0,isMultiSelect:"0",decimal_length:void 0,date_format:""}),Te=l([{text:void 0,value:void 0}]),Ne=l({format:"yyyy-MM-dd HH:mm:ss",dateType:"date",mode:"date",value:null,showTime:!0,open:!1,componentType:"datetime"}),Ye=l({obj_type:"",vali_obj:"",event_obj:"",max_length:"",min_length:"",min_value:"",max_value:""}),$e=l({value_key:"",levelSetting:[],search_key:[],level_num:void 0,render_key:[],name:"",level_key:"",id:"",type:"",primary_key:"",sqlExpression:"",conObj:"",add_btn:"",setting:{cascading:[]}}),Le=l(!1),Ve=l(!1),Be=l(void 0),De=l(!1),Fe=l(!1);l(!1);const Pe=l(!1),qe=l(""),Ae=t((()=>"edit"===be.formOntype)),Ee=t((()=>ze.value.html_type||""));t((()=>"TEXTAREA"===Ee.value?1e3:255));const Je=t((()=>Te.value.filter((e=>e.value&&e.text)))),Ke=t((()=>F(Ee.value))),Re=t((()=>"date"===Ne.value.dateType));function We(e){Pe.value=e}function Xe(e){let l=e;"string"!=typeof e&&(l=JSON.stringify(e)),ze.value.default_val=l}function Ge(e){Ne.value.value=null,ze.value.default_val=void 0,il(e)}function Qe(){Ce.value=!Ce.value;let e=document.body.clientHeight;"860px"===Ue.value?(Ue.value="100%",Se.value.maxHeight=`${e}px`,Se.value.height=`${e}px`):(Ue.value="860px",Se.value.maxHeight="496px",Se.value.height="")}function Ze(e){return["HH:mm:ss","HH:mm"].includes(e)}function el(e,l){switch(e){case"isNull":Le.value=l,ze.value.is_null=l?"0":"1";break;case"isMultiSelect":Ve.value=l,ze.value.isMultiSelect=l?"1":"0"}}function ll(){if("add"===be.formOntype)return;let e=Object.assign({},be.formItemData),l=e.setting;l&&G(l)&&(l=JSON.parse(l),delete e.setting,Object.assign(e,{...l})),e.key=e.code,delete e.code,A(e.html_type)&&function(e){il(e.date_format);let l=e.default_val;l&&!l.startsWith("${")&&(Ze(e.date_format)&&(l=`${K().format("YYYY-MM-dd")} ${l}`),Q(new Date(l))&&(Ne.value.value=K(l)))}(e),F(e.html_type)&&(e.default_val=function(e){let l=e.default_val;return l?l.split(",").filter(Boolean):[]}(e)),Le.value="0"==e.is_null,Ve.value="1"==e.isMultiSelect,Ye.value=Object.assign(Ye.value,e.validate||{}),$e.value=Object.assign($e.value,e.wordbook||{}),ze.value=Object.assign(ze.value,e||{}),P(e.html_type)&&function(e){let l=(null==e?void 0:e.optionValue)||[];l.length||l.push({text:void 0,value:void 0}),Te.value=[...l],delete e.optionValue}(e)}function al(e){ze.value.html_type=e,Te.value=[{text:void 0,value:void 0}];let l=function(){if(F(Ee.value))return[]}();ze.value.default_val=l,A(e)?ze.value.date_format="yyyy-MM-dd HH:mm:ss":ze.value.date_format=""}function tl(){Te.value.push({value:"",text:""})}function ul(e){let l=e;(e<0||0===e)&&(l=0),e>5&&(l=5),Be.value=0===l?l:l||void 0}function nl(e){Te.value=e}function il(e){let l=e||"yyyy-MM-dd HH:mm:ss",a=Ze(l)?"time":"date",t="yyyy-MM"===l?"month":"date";let u=function(e){return["yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","MM-dd HH:mm"].includes(e)}(l),n="";["yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","MM-dd HH:mm"].includes(e)&&(n="datetime"),["yyyy-MM-dd","MM-dd"].includes(e)&&(n="date"),Object.assign(Ne.value,{format:l,dateType:a,mode:t,showTime:u,componentType:n})}function ol(e,l){if(e)return l&&(l.includes("yyyy")&&(l=l.replace("yyyy","YYYY")),l.includes("dd")&&(l=l.replace("dd","DD"))),K(e).format(l)}function vl(){Ne.value.open=!Ne.value.open}function dl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l}function rl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l,Ne.value.format.includes("HH:mm")||vl()}function sl(e){let l=ol(e,Ne.value.format);ze.value.default_val=l}function pl(){ge("cancelModal"),Ue.value="860px",Se.value={height:"496px",maxHeight:"496px"},Ce.value=!1,ze.value={name:void 0,remark:void 0,is_edit:"1",is_null:"1",is_show:"1",key:"",val_key:void 0,validate:{},html_type:"INPUT",name_i18n:void 0,elem_width:"12",default_val:void 0,label_type:void 0,isMultiSelect:"0",decimal_length:void 0,date_format:""}}function fl(){var e;null==(e=Ie.value)||e.validate((async e=>{if(e)return;let l=Object.assign({},ze.value);if(l.validate={...Ye.value},l.extendId=be.id,P(Ee.value)){let e=function(){let e={validate:!1,message:"请完善选项配置"};if(!Te.value||!Te.value.length)return e;let l,a,t,u=0,n=Te.value.length,i=!1;for(;u<n;u++){if(l=Te.value[u],a=l.value?l.value.trim():l.value,t=l.text?l.text.trim():l.text,!a||!t){i=!0;break}l.value=a,l.text=t}return[...new Set(Te.value.map((e=>e.value)))].length!==Te.value.length?(e.message="选项值不能重复",e):(!i&&(e.validate=!0),e)}();if(!e.validate)return De.value=!0,void xe.warning(e.message);De.value=!1,l.option=[...Te.value]}if(q(Ee.value)?l.default_val=function(e){let l=e.default_val;if(void 0===Be.value)return l;if(!l)return l;let a=String(l).split(".")[1];return a&&a.length!==Be.value?Number(l.toFixed(Be.value)):l}(l):F(Ee.value)&&(l.default_val=l.default_val.join(",")),!E(Ee.value)||function(e){let{default_val:l}=e;qe.value="",l&&G(l)&&(l=JSON.parse(l));let a=function(e,l){if(!e)return;if("string"!=typeof e)return;if(!(e=e.trim()))return!0;if(!e.startsWith("${"))return ml(l,"请输入有效系统变量"),"error";let a=/\${sys.(.*?)\}/g.exec(e);if(!a||!a[1])return ml(l,"请输入有效系统变量"),"error";return!0}(l,e);if(a)return"error"!==a;if(console.log("saveOjb.isMultiSelect>>>",e.isMultiSelect),console.log("default_val?.length>>>",null==l?void 0:l.length),"0"===e.isMultiSelect&&(null==l?void 0:l.length)>1)return console.log("进入到判断里面了>>>>>"),ml(e,"选人组件为单选"),!1;return!0}(l)){for(let e in l){let a=l[e];"string"==typeof a&&(l[e]=null==a?void 0:a.trim())}console.log("saveOjb>>>",l),await async function(e={}){Fe.value=!0;try{const l=await je(e,Oe);if(Fe.value=!1,"SUCCESS"!==(null==l?void 0:l.result))return void xe.error((null==l?void 0:l.resultMsg)||"保存失败");pl()}catch(e){Fe.value=!1}}(l)}}))}function ml(e,l){qe.value=l}return u((()=>be.visible),(e=>{e&&ll()})),(l,a)=>(n(),i(o(H),{class:v(["expand-field-modal-block",{"modal-screen":Ce.value}]),show:e.visible,"onUpdate:show":a[22]||(a[22]=e=>d(visible)?visible.value=e:null),maskClosable:!1,width:Ue.value,bodyStyle:o(Se),closable:!1,centered:"",onPositiveClick:fl,onNegativeClick:pl},{default:r((()=>[s(o(C),{style:p({width:Ue.value,...o(Se)}),title:"add"===be.formOntype?"新增拓展字段":"编辑拓展字段",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":r((()=>[f("div",le,[f("i",{onClick:Qe,class:v(["iconfont-expand-field",Ce.value?"icon-expand-field-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-expand-field-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),f("i",{onClick:pl,class:"iconfont-expand-field icon-expand-field-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:r((()=>[f("div",ae,[s(o(U),{onClick:pl},{default:r((()=>[m("取消")])),_:1}),s(o(U),{type:"info",onClick:fl},{default:r((()=>[m("保存")])),_:1})])])),default:r((()=>[s(o(S),{ref_key:"formRef",ref:Ie,model:ze.value,rules:Me},{default:r((()=>[s(o(j),{path:"name",label:"字段标题","require-mark-placement":"left"},{default:r((()=>[s(o(O),{value:ze.value.name,"onUpdate:value":a[0]||(a[0]=e=>ze.value.name=e),maxlength:100,clearable:"",placeholder:"请输入"},null,8,["value"])])),_:1}),s(o(j),{path:"key"},{label:r((()=>[f("div",te,[ue,s(o(I),{duration:0},{trigger:r((()=>[ne])),default:r((()=>[m(" 数据库字段键名,不填写时由系统生成,填写则以填写为准 ")])),_:1})])])),default:r((()=>[s(o(O),{value:ze.value.key,"onUpdate:value":a[1]||(a[1]=e=>ze.value.key=e),maxlength:32,disabled:o(Ae),clearable:"",placeholder:"数据库字段键名,不填写时由系统生成,填写则以填写为准"},null,8,["value","disabled"])])),_:1}),s(o(j),{path:"html_type",label:"字段类型","require-mark-placement":"left"},{default:r((()=>[s(o(z),{value:ze.value.html_type,"onUpdate:value":[a[2]||(a[2]=e=>ze.value.html_type=e),al],placeholder:"请选择字段类型",clearable:"",filterable:"",options:o(X)},null,8,["value","options"])])),_:1}),s(o(j),{path:"remark",label:"字段问号提示"},{label:r((()=>[f("div",ie,[oe,s(o(I),{duration:0},{trigger:r((()=>[ve])),default:r((()=>[m(" 设置后该字段旁会有问号图标,鼠标悬浮展示“问号提示”内容,常用于告诉用户该字段的含义 ")])),_:1})])])),default:r((()=>[s(o(O),{value:ze.value.remark,"onUpdate:value":a[3]||(a[3]=e=>ze.value.remark=e),placeholder:"请输入",type:"textarea",clearable:"",maxlength:255,rows:3},null,8,["value"])])),_:1}),c(" 选项值>>>>>类型对应关系 "),o(P)(o(Ee))?(n(),i(o(j),{key:0},{label:r((()=>[f("div",de,[re,f("span",{class:"batch-span",onClick:tl},"添加选项"),f("span",{class:"batch-span",onClick:a[4]||(a[4]=()=>We(!0))},"批量编辑")])])),default:r((()=>[f("div",{class:v(["options-item",{"options-item-err":De.value}])},[(n(!0),y(h,null,_(Te.value,((e,l)=>(n(),i(o(T),{class:"mgb-10",key:l,cols:24,"x-gap":8,"y-gap":8},{default:r((()=>[s(o(N),{span:11},{default:r((()=>[s(o(O),{value:e.value,"onUpdate:value":l=>e.value=l,maxLength:100,allowClear:"",placeholder:"选项值"},null,8,["value","onUpdate:value"])])),_:2},1024),s(o(N),{span:11},{default:r((()=>[s(o(O),{value:e.text,"onUpdate:value":l=>e.text=l,maxLength:100,allowClear:"",placeholder:"选项文本"},null,8,["value","onUpdate:value"])])),_:2},1024),s(o(N),{span:2,class:"flex-center"},{default:r((()=>[Te.value.length>1?(n(),i(o(Y),{key:0,onClick:a=>function(e,l){Te.value.splice(l,1);let a=ze.value.default_val;if(F(Ee.value)){if(!a||!a.length)return;let l=a.findIndex((l=>l===e.value));l||a.splice(l,1)}else{if(!a)return;a===e.value&&(a=void 0)}ze.value.default_val=a}(e,l)},{default:r((()=>[se])),_:2},1032,["onClick"])):c("v-if",!0)])),_:2},1024)])),_:2},1024)))),128))],2)])),_:1})):c("v-if",!0),o(q)(o(Ee))?(n(),i(o(j),{key:1,path:"decimal_length",label:"小数位"},{default:r((()=>[s(o($),{style:{width:"100%"},min:0,max:5,placeholder:"请输入",precision:0,clearable:"",value:ze.value.decimal_length,"onUpdate:value":[a[5]||(a[5]=e=>ze.value.decimal_length=e),ul]},null,8,["value"])])),_:1})):c("v-if",!0),o(A)(o(Ee))?(n(),i(o(j),{key:2,path:"date_format",label:"日期格式"},{default:r((()=>[s(o(z),{style:{width:"100%"},value:ze.value.date_format,"onUpdate:value":[a[6]||(a[6]=e=>ze.value.date_format=e),Ge],placeholder:"请选择",options:we},null,8,["value"])])),_:1})):c("v-if",!0),c(" 默认值>>>>>类型对应关系 "),s(o(j),{path:"default_val",label:"默认值"},{label:r((()=>[f("div",pe,[fe,o(E)(o(Ee))?(n(),i(o(I),{key:0,duration:0},{trigger:r((()=>[me])),default:r((()=>[m(" 支持输入系统变量当前操作人${sys.userId},也支持选择一个人 ")])),_:1})):c("v-if",!0)])])),default:r((()=>[o(J)(o(Ee))?(n(),i(o(O),{key:0,value:ze.value.default_val,"onUpdate:value":a[7]||(a[7]=e=>ze.value.default_val=e),placeholder:ke,type:"textarea",clearable:"",maxlength:1e3,rows:3},null,8,["value"])):o(q)(o(Ee))?(n(),y(h,{key:1},[c(" 数字框 "),s(o($),{style:{width:"100%"},clearable:"",placeholder:ke,precision:Be.value,value:ze.value.default_val,"onUpdate:value":a[8]||(a[8]=e=>ze.value.default_val=e)},null,8,["precision","value"])],2112)):o(P)(o(Ee))?(n(),y(h,{key:2},[c(" 下拉框、横向单选、纵向单选、横向多选、纵向多选、下拉多选框 "),s(o(z),{style:{width:"100%"},multiple:o(Ke),clearable:"",value:ze.value.default_val,"onUpdate:value":a[9]||(a[9]=e=>ze.value.default_val=e),"label-field":"text",placeholder:ke,options:o(Je)},null,8,["multiple","value","options"])],2112)):o(A)(o(Ee))?(n(),y(h,{key:3},[c(" 日期 "),f("div",ce,[s(o(O),{clearable:"",maxLength:255,value:ze.value.default_val,"onUpdate:value":a[10]||(a[10]=e=>ze.value.default_val=e),placeholder:ke},null,8,["value"]),o(Re)?(n(),y(h,{key:0},["month"===Ne.value.mode?(n(),i(o(L),{key:0,trigger:"click",show:Ne.value.open},{trigger:r((()=>[s(o(U),{type:"info",onClick:vl},{default:r((()=>[m("选择")])),_:1})])),default:r((()=>[s(o(V),{panel:"",value:Ne.value.value,"onUpdate:value":[a[11]||(a[11]=e=>Ne.value.value=e),dl],type:"month","input-readonly":"",clearable:"",onConfirm:vl},null,8,["value"])])),_:1},8,["show"])):(n(),i(o(L),{key:1,trigger:"click",show:Ne.value.open},{trigger:r((()=>[s(o(U),{type:"info",onClick:vl},{default:r((()=>[m("选择")])),_:1})])),default:r((()=>[s(o(V),{panel:"",value:Ne.value.value,"onUpdate:value":[a[12]||(a[12]=e=>Ne.value.value=e),rl],format:Ne.value.format,type:Ne.value.componentType,"input-readonly":"",clearable:"",onConfirm:vl},null,8,["value","format","type"])])),_:1},8,["show"]))],64)):(n(),y(h,{key:1},[c(' <n-input\n allowClear\n :maxLength="255"\n v-model:value="dateInfo.value"\n @keydown.enter.prevent\n :placeholder="defaultPlaceholder"\n /> '),s(o(U),{type:"info",class:"date-time-button"},{default:r((()=>[ye,s(o(B),{value:Ne.value.value,"onUpdate:value":[a[13]||(a[13]=e=>Ne.value.value=e),sl],format:Ne.value.format,"input-readonly":"",clearable:""},null,8,["value","format"])])),_:1}),c(' <n-popover trigger="click">\n <template #trigger>\n <n-button type="info">选择</n-button>\n </template>\n <n-time-picker\n panel\n v-model:value="dateInfo.value"\n :format="dateInfo.format"\n input-readonly\n clearable\n @update:value="timeChange"\n >\n <template v-slot:icon>111</template>\n\n </n-time-picker>\n </n-popover> ')],64))])],2112)):o(E)(o(Ee))?(n(),y(h,{key:4},[c(" 选人组件(增加一个选人组件) "),f("div",he,[g(s(o(O),{allowClear:"",maxLength:255,value:ze.value.default_val,"onUpdate:value":a[14]||(a[14]=e=>ze.value.default_val=e),onKeydown:a[15]||(a[15]=b(x((()=>{}),["prevent"]),["enter"])),placeholder:ke},null,8,["value"]),[[k,!1]]),c(' 点击弹出选人组件弹窗 :mainForm="this" '),s(ee,{orgId:e.orgId,defaultValue:ze.value.default_val,onCheckPerson:Xe},null,8,["orgId","defaultValue"]),qe.value?(n(),y("span",_e,M(qe.value),1)):c("v-if",!0),c(' <n-button type="info">选择</n-button> ')])],2112)):(n(),y(h,{key:5},[c(" 其他 "),s(o(O),{value:ze.value.default_val,"onUpdate:value":a[16]||(a[16]=e=>ze.value.default_val=e),onKeydown:a[17]||(a[17]=b(x((()=>{}),["prevent"]),["enter"])),placeholder:"请输入默认值"},null,8,["value"])],2112))])),_:1}),s(o(j),{path:"elem_width",label:"宽度"},{default:r((()=>[s(o(z),{value:ze.value.elem_width,"onUpdate:value":a[18]||(a[18]=e=>ze.value.elem_width=e),placeholder:"请选择宽度",options:He},null,8,["value"])])),_:1}),s(o(j),{path:"isNull",label:"是否必填","label-placement":"left"},{default:r((()=>[s(o(D),{value:Le.value,"onUpdate:value":[a[19]||(a[19]=e=>Le.value=e),a[20]||(a[20]=e=>el("isNull",e))]},null,8,["value"])])),_:1}),o(E)(o(Ee))?(n(),i(o(j),{key:3,"label-placement":"left",path:"isMultiSelect",label:"是否多选"},{default:r((()=>[s(o(D),{value:Ve.value,"onUpdate:value":a[21]||(a[21]=e=>el("isMultiSelect",e))},null,8,["value"])])),_:1})):c("v-if",!0)])),_:1},8,["model"]),s(Z,{visible:Pe.value,options:Te.value,onHandleSaveBatch:nl,onTriggerBatch:We},null,8,["visible","options"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{ge as default};
@@ -1,3 +1,3 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  import { InjectionKey } from 'vue';
3
3
  export declare const InjectionExpandFieldApiConfig: InjectionKey<AnyObject>;
@@ -1,5 +1,5 @@
1
1
  import { ref, PropType } from 'vue';
2
- import { AnyObject } from '../../../../es/shared/types';
2
+ import { AnyObject } from '../../../shared/types';
3
3
  import { IExpandFieldItemType } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  id: {
@@ -824,7 +824,7 @@ declare const _default: import("vue").DefineComponent<{
824
824
  NModal: any;
825
825
  NCard: any;
826
826
  NButton: any;
827
- CSelectPerson: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
827
+ CSelectPerson: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
828
828
  defaultList: {
829
829
  type: PropType<((string | number) | {
830
830
  [key: string]: any;