cnhis-design-vue 3.1.37-beta.2 → 3.1.37

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 (385) hide show
  1. package/README.md +123 -123
  2. package/es/components/annotation-edit/index.d.ts +17 -0
  3. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +16 -0
  4. package/es/components/big-table/index.d.ts +1076 -0
  5. package/es/components/big-table/src/BigTable.vue.d.ts +1066 -0
  6. package/es/components/big-table/src/bigTableEmits.d.ts +2 -0
  7. package/es/components/big-table/src/bigTableProps.d.ts +211 -0
  8. package/es/components/big-table/src/bigTableState.d.ts +58 -0
  9. package/es/components/big-table/src/components/NoData.vue.d.ts +49 -0
  10. package/es/components/big-table/src/components/edit-form/edit-date.d.ts +34 -0
  11. package/es/components/big-table/src/components/edit-form/edit-input.d.ts +43 -0
  12. package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +35 -0
  13. package/es/components/big-table/src/components/edit-form/edit-select.d.ts +35 -0
  14. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +134 -0
  15. package/es/components/big-table/src/components/edit-form/edit-time.d.ts +43 -0
  16. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +5 -0
  17. package/es/components/big-table/src/components/input-button.vue.d.ts +10 -0
  18. package/es/components/big-table/src/components/separate.vue.d.ts +41 -0
  19. package/es/components/big-table/src/constants/index.d.ts +3 -0
  20. package/es/components/big-table/src/hooks/index.d.ts +9 -0
  21. package/es/components/big-table/src/hooks/useAnchor.d.ts +7 -0
  22. package/es/components/big-table/src/hooks/useAnnotation.d.ts +4 -0
  23. package/es/components/big-table/src/hooks/useBatchEditing.d.ts +17 -0
  24. package/es/components/big-table/src/hooks/useEdit.d.ts +339 -0
  25. package/es/components/big-table/src/hooks/useEvent.d.ts +6 -0
  26. package/es/components/big-table/src/hooks/useFormat.d.ts +30 -0
  27. package/es/components/big-table/src/hooks/useNestTable.d.ts +8 -0
  28. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +40 -0
  29. package/es/components/big-table/src/hooks/useTableParse.d.ts +6 -0
  30. package/es/components/big-table/src/utils.d.ts +61 -0
  31. package/es/components/bpmn-workflow/index.d.ts +72 -0
  32. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  33. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +75 -0
  34. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +75 -0
  35. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +24 -0
  36. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +19 -0
  37. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.d.ts +70 -0
  38. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +21 -0
  39. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +12 -0
  40. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +16 -0
  41. package/es/components/bpmn-workflow/src/custom/customModeler/index.d.ts +6 -0
  42. package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +5 -0
  43. package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +12 -0
  44. package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +5 -0
  45. package/es/components/bpmn-workflow/src/custom/customRules/no-task.d.ts +4 -0
  46. package/es/components/bpmn-workflow/src/custom/customTranslate/customTranslate.d.ts +1 -0
  47. package/es/components/bpmn-workflow/src/custom/customTranslate/zh.d.ts +226 -0
  48. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  49. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  50. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  51. package/es/components/button-print/index.d.ts +1901 -0
  52. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1912 -0
  53. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1244 -0
  54. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1632 -0
  55. package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
  56. package/es/components/button-print/src/utils/browserPrint.d.ts +2 -0
  57. package/es/components/button-print/src/utils/dialog.d.ts +12 -0
  58. package/es/components/button-print/src/utils/index.d.ts +2 -0
  59. package/es/components/button-print/src/utils/print.d.ts +56 -0
  60. package/es/components/editor/index.d.ts +30 -0
  61. package/es/components/editor/src/Editor.d.ts +30 -0
  62. package/es/components/fabric-chart/index.d.ts +205 -0
  63. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +207 -0
  64. package/es/components/fabric-chart/src/components/PopupMenu.d.ts +46 -0
  65. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +64 -0
  66. package/es/components/fabric-chart/src/components/useStyle.d.ts +7 -0
  67. package/es/components/fabric-chart/src/hooks/constant.d.ts +54 -0
  68. package/es/components/fabric-chart/src/hooks/index.d.ts +11 -0
  69. package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +9 -0
  70. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +25 -0
  71. package/es/components/fabric-chart/src/hooks/useBottom.d.ts +4 -0
  72. package/es/components/fabric-chart/src/hooks/useCenter.d.ts +16 -0
  73. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +8 -0
  74. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +14 -0
  75. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +44 -0
  76. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +7 -0
  77. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +4 -0
  78. package/es/components/fabric-chart/src/hooks/useLeft.d.ts +7 -0
  79. package/es/components/fabric-chart/src/hooks/useOther.d.ts +4 -0
  80. package/es/components/fabric-chart/src/hooks/useRight.d.ts +4 -0
  81. package/es/components/fabric-chart/src/hooks/useShadow.d.ts +6 -0
  82. package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +25 -0
  83. package/es/components/fabric-chart/src/hooks/useTop.d.ts +4 -0
  84. package/es/components/fabric-chart/src/interface.d.ts +153 -0
  85. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  86. package/es/components/fabric-chart/src/utils/utils.d.ts +13 -0
  87. package/es/components/field-set/index.d.ts +243 -0
  88. package/es/components/field-set/src/FieldSet.vue.d.ts +197 -0
  89. package/es/components/form-config/index.d.ts +3343 -0
  90. package/es/components/form-config/src/FormConfig.vue.d.ts +3344 -0
  91. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +675 -0
  92. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +108 -0
  93. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +2396 -0
  94. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +14 -0
  95. package/es/components/form-config/src/components/index.d.ts +5 -0
  96. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +27 -0
  97. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +169 -0
  98. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +71 -0
  99. package/es/components/form-config/src/components/renderer/index.d.ts +4 -0
  100. package/es/components/form-config/src/constants/index.d.ts +65 -0
  101. package/es/components/form-config/src/hooks/index.d.ts +3 -0
  102. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +8 -0
  103. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +5 -0
  104. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +4 -0
  105. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +14 -0
  106. package/es/components/form-config/src/types/index.d.ts +39 -0
  107. package/es/components/form-config/src/utils/index.d.ts +7 -0
  108. package/es/components/form-render/index.d.ts +657 -0
  109. package/es/components/form-render/src/FormRender.vue.d.ts +650 -0
  110. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +654 -0
  111. package/es/components/form-render/src/components/renderer/checkbox.d.ts +90 -0
  112. package/es/components/form-render/src/components/renderer/combination.d.ts +51 -0
  113. package/es/components/form-render/src/components/renderer/complex.d.ts +34 -0
  114. package/es/components/form-render/src/components/renderer/date.d.ts +52 -0
  115. package/es/components/form-render/src/components/renderer/formItem.d.ts +15 -0
  116. package/es/components/form-render/src/components/renderer/index.d.ts +3 -0
  117. package/es/components/form-render/src/components/renderer/input.d.ts +23 -0
  118. package/es/components/form-render/src/components/renderer/inputGroup.d.ts +11 -0
  119. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +31 -0
  120. package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.d.ts +5 -0
  121. package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +44 -0
  122. package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +91 -0
  123. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +69 -0
  124. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +68 -0
  125. package/es/components/form-render/src/components/renderer/radio.d.ts +94 -0
  126. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +41 -0
  127. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +58 -0
  128. package/es/components/form-render/src/components/renderer/select.d.ts +140 -0
  129. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +18 -0
  130. package/es/components/form-render/src/components/renderer/slider.d.ts +11 -0
  131. package/es/components/form-render/src/components/renderer/switch.d.ts +23 -0
  132. package/es/components/form-render/src/components/renderer/textarea.d.ts +11 -0
  133. package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +13 -0
  134. package/es/components/form-render/src/constants/index.d.ts +54 -0
  135. package/es/components/form-render/src/hooks/index.d.ts +15 -0
  136. package/es/components/form-render/src/hooks/useAnchor.d.ts +16 -0
  137. package/es/components/form-render/src/hooks/useAsyncQueue.d.ts +47 -0
  138. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +27 -0
  139. package/es/components/form-render/src/hooks/useChangeContext.d.ts +11 -0
  140. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +15 -0
  141. package/es/components/form-render/src/hooks/useCommonLog.d.ts +3 -0
  142. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +64 -0
  143. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +5 -0
  144. package/es/components/form-render/src/hooks/useFieldVisitor.d.ts +4 -0
  145. package/es/components/form-render/src/hooks/useFormContext.d.ts +11 -0
  146. package/es/components/form-render/src/hooks/useFormField.d.ts +5 -0
  147. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +11 -0
  148. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +13 -0
  149. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +39 -0
  150. package/es/components/form-render/src/hooks/useFormRequest.d.ts +26 -0
  151. package/es/components/form-render/src/hooks/useFormValidator.d.ts +6 -0
  152. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +7 -0
  153. package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +4 -0
  154. package/es/components/form-render/src/hooks/usePresetScope.d.ts +6 -0
  155. package/es/components/form-render/src/types/fieldItem.d.ts +265 -0
  156. package/es/components/form-render/src/types/index.d.ts +101 -0
  157. package/es/components/form-render/src/utils/business.d.ts +13 -0
  158. package/es/components/form-render/src/utils/dom.d.ts +13 -0
  159. package/es/components/form-render/src/utils/index.d.ts +38 -0
  160. package/es/components/form-render/src/utils/schema.d.ts +83 -0
  161. package/es/components/grid/index.d.ts +3 -0
  162. package/es/components/grid/src/Grid.d.ts +2 -0
  163. package/es/components/grid/src/hooks.d.ts +1 -0
  164. package/es/components/iho-table/index.d.ts +4647 -0
  165. package/es/components/iho-table/src/IhoTable.vue.d.ts +4646 -0
  166. package/es/components/iho-table/src/constants/index.d.ts +80 -0
  167. package/es/components/iho-table/src/hooks/export.d.ts +2 -0
  168. package/es/components/iho-table/src/hooks/index.d.ts +2 -0
  169. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +93 -0
  170. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +31 -0
  171. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +16 -0
  172. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +15 -0
  173. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +251 -0
  174. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +13 -0
  175. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +25 -0
  176. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +10 -0
  177. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +11 -0
  178. package/es/components/iho-table/src/hooks/useTableContext.d.ts +9 -0
  179. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +8 -0
  180. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -0
  181. package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.d.ts +2 -0
  182. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +13 -0
  183. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -0
  184. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +169 -0
  185. package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +1 -0
  186. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +7 -0
  187. package/es/components/iho-table/src/plugins/index.d.ts +3 -0
  188. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
  189. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -0
  190. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +96 -0
  191. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -0
  192. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +5 -0
  193. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -0
  194. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -0
  195. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +43 -0
  196. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -0
  197. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -0
  198. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +94 -0
  199. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -0
  200. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +12 -0
  201. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.d.ts +1 -0
  202. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -0
  203. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -0
  204. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -0
  205. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -0
  206. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +2 -0
  207. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -0
  208. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -0
  209. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -0
  210. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +11 -0
  211. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -0
  212. package/es/components/iho-table/src/types/index.d.ts +108 -0
  213. package/es/components/iho-table/src/types/pluginType.d.ts +173 -0
  214. package/es/components/iho-table/src/utils/index.d.ts +49 -0
  215. package/es/components/index.d.ts +37 -0
  216. package/es/components/info-header/index.d.ts +415 -0
  217. package/es/components/info-header/src/HiddenContent.vue.d.ts +86 -0
  218. package/es/components/info-header/src/InfoEllipsis.vue.d.ts +33 -0
  219. package/es/components/info-header/src/InfoHeader.vue.d.ts +405 -0
  220. package/es/components/insurance-sdk/index.d.ts +1 -0
  221. package/es/components/insurance-sdk/src/constants/index.d.ts +161 -0
  222. package/es/components/insurance-sdk/src/utils/index.d.ts +1 -0
  223. package/es/components/insurance-sdk/src/utils/insurance.d.ts +260 -0
  224. package/es/components/keyboard/index.d.ts +334 -0
  225. package/es/components/keyboard/src/Keyboard.vue.d.ts +335 -0
  226. package/es/components/keyboard/src/components/InputNumber.vue.d.ts +64 -0
  227. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +191 -0
  228. package/es/components/keyboard/src/utils/index.d.ts +1 -0
  229. package/es/components/map/index.d.ts +75 -0
  230. package/es/components/map/src/Map.vue.d.ts +75 -0
  231. package/es/components/recommend-search/index.d.ts +815 -0
  232. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +817 -0
  233. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +143 -0
  234. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +341 -0
  235. package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
  236. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +300 -0
  237. package/es/components/recommend-search/src/constant/index.d.ts +4 -0
  238. package/es/components/recommend-search/src/types/index.d.ts +9 -0
  239. package/es/components/scale-view/index.d.ts +1400 -0
  240. package/es/components/scale-view/src/ScaleView.vue.d.ts +1222 -0
  241. package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +70 -0
  242. package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +154 -0
  243. package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +110 -0
  244. package/es/components/scale-view/src/components/NoData.vue.d.ts +49 -0
  245. package/es/components/scale-view/src/components/ScaleScore.d.ts +23 -0
  246. package/es/components/scale-view/src/components/composables/choose-common.d.ts +11 -0
  247. package/es/components/scale-view/src/components/formitem/address.d.ts +3992 -0
  248. package/es/components/scale-view/src/components/formitem/r-address.d.ts +34 -0
  249. package/es/components/scale-view/src/components/formitem/r-cascader.d.ts +43 -0
  250. package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +43 -0
  251. package/es/components/scale-view/src/components/formitem/r-collection.d.ts +32 -0
  252. package/es/components/scale-view/src/components/formitem/r-datetime.d.ts +34 -0
  253. package/es/components/scale-view/src/components/formitem/r-input.d.ts +34 -0
  254. package/es/components/scale-view/src/components/formitem/r-map.d.ts +52 -0
  255. package/es/components/scale-view/src/components/formitem/r-radio.d.ts +43 -0
  256. package/es/components/scale-view/src/components/formitem/r-select.d.ts +61 -0
  257. package/es/components/scale-view/src/components/formitem/r-sign.d.ts +34 -0
  258. package/es/components/scale-view/src/components/formitem/r-upload.d.ts +52 -0
  259. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +63 -0
  260. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +80 -0
  261. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +87 -0
  262. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +43 -0
  263. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +3 -0
  264. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +115 -0
  265. package/es/components/scale-view/src/hooks/scaleview-state.d.ts +34 -0
  266. package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +3 -0
  267. package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +3 -0
  268. package/es/components/scale-view/src/hooks/use-component.d.ts +1763 -0
  269. package/es/components/scale-view/src/hooks/use-evaluate.d.ts +21 -0
  270. package/es/components/scale-view/src/hooks/use-event.d.ts +4 -0
  271. package/es/components/scale-view/src/hooks/use-noData.d.ts +9 -0
  272. package/es/components/scale-view/src/utils/judge-types.d.ts +5 -0
  273. package/es/components/search-cascader/index.d.ts +233 -0
  274. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +235 -0
  275. package/es/components/search-cascader/src/components/SearchMenu.d.ts +50 -0
  276. package/es/components/search-cascader/src/components/index.d.ts +1 -0
  277. package/es/components/search-cascader/src/constants/index.d.ts +5 -0
  278. package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
  279. package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
  280. package/es/components/search-cascader/src/utils/index.d.ts +2 -0
  281. package/es/components/select-label/index.d.ts +937 -0
  282. package/es/components/select-label/src/LabelFormContent.vue.d.ts +367 -0
  283. package/es/components/select-label/src/SelectLabel.vue.d.ts +571 -0
  284. package/es/components/select-label/src/components/label-classify.vue.d.ts +122 -0
  285. package/es/components/select-person/index.d.ts +323 -0
  286. package/es/components/select-person/src/SelectPerson.vue.d.ts +281 -0
  287. package/es/components/select-person/src/utils/index.d.ts +3 -0
  288. package/es/components/shortcut-provider/index.d.ts +21 -0
  289. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +19 -0
  290. package/es/components/shortcut-provider/src/constants/index.d.ts +7 -0
  291. package/es/components/shortcut-provider/src/hooks/index.d.ts +2 -0
  292. package/es/components/shortcut-provider/src/hooks/useShortcutSignature.d.ts +4 -0
  293. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +33 -0
  294. package/es/components/shortcut-provider/src/types/index.d.ts +43 -0
  295. package/es/components/shortcut-provider/src/utils/index.d.ts +10 -0
  296. package/es/components/shortcut-setter/index.d.ts +2384 -0
  297. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2386 -0
  298. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +99 -0
  299. package/es/components/shortcut-setter/src/types/index.d.ts +6 -0
  300. package/es/components/steps-wheel/index.d.ts +115 -0
  301. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +114 -0
  302. package/es/components/time-line/index.d.ts +109 -0
  303. package/es/components/time-line/src/TimeLine.vue.d.ts +85 -0
  304. package/es/components/vod-chunk-upload/index.d.ts +232 -0
  305. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +196 -0
  306. package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +11 -0
  307. package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +63 -0
  308. package/es/components/vod-chunk-upload/src/hooks/vod-computed.d.ts +10 -0
  309. package/es/components/vod-chunk-upload/src/hooks/vod-data.d.ts +23 -0
  310. package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.d.ts +2 -0
  311. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +230 -0
  312. package/es/components/vod-chunk-upload/src/vod-upload-modal.d.ts +25 -0
  313. package/es/shared/assets/img/failure.js +1 -1
  314. package/es/shared/assets/img/failure.png.js +1 -1
  315. package/es/shared/assets/img/icon-asc.js +1 -1
  316. package/es/shared/assets/img/icon-desc.js +1 -1
  317. package/es/shared/assets/img/no-permission.js +1 -1
  318. package/es/shared/assets/img/no-permission.png.js +1 -1
  319. package/es/shared/assets/img/nodata.js +1 -1
  320. package/es/shared/assets/img/nodata.png.js +1 -1
  321. package/es/shared/assets/img/notfound.js +1 -1
  322. package/es/shared/assets/img/notfound.png.js +1 -1
  323. package/es/shared/assets/img/qr.js +1 -1
  324. package/es/shared/assets/img/qr.png.js +1 -1
  325. package/es/shared/assets/img/success.js +1 -1
  326. package/es/shared/assets/img/success.png.js +1 -1
  327. package/es/shared/assets/img/video.js +1 -1
  328. package/es/shared/assets/img/video.png.js +1 -1
  329. package/es/shared/assets/img/video_default_cover.js +1 -1
  330. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  331. package/es/shared/assets/img/video_hover.js +1 -1
  332. package/es/shared/assets/img/video_play_hover.js +1 -1
  333. package/es/shared/assets/img/xb_big.js +1 -1
  334. package/es/shared/assets/img/xb_big.png.js +1 -1
  335. package/es/shared/assets/img/xb_small.js +1 -1
  336. package/es/shared/assets/img/xb_small.png.js +1 -1
  337. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +51 -0
  338. package/es/shared/components/SelectPage/index.d.ts +2 -0
  339. package/es/shared/components/SlotRender/SlotRender.d.ts +20 -0
  340. package/es/shared/components/SlotRender/index.d.ts +2 -0
  341. package/es/shared/components/SvgIcon/SvgIcon.vue.d.ts +43 -0
  342. package/es/shared/components/SvgIcon/index.d.ts +2 -0
  343. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +87 -0
  344. package/es/shared/components/TextOverTooltip/index.d.ts +2 -0
  345. package/es/shared/components/VueDraggable/index.d.ts +2 -0
  346. package/es/shared/components/VueDraggable/src/core/componentBuilderHelper.d.ts +9 -0
  347. package/es/shared/components/VueDraggable/src/core/componentStructure.d.ts +22 -0
  348. package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +7 -0
  349. package/es/shared/components/VueDraggable/src/core/sortableEvents.d.ts +10 -0
  350. package/es/shared/components/VueDraggable/src/util/console.d.ts +1 -0
  351. package/es/shared/components/VueDraggable/src/util/htmlHelper.d.ts +2 -0
  352. package/es/shared/components/VueDraggable/src/util/string.d.ts +1 -0
  353. package/es/shared/components/VueDraggable/src/util/tags.d.ts +3 -0
  354. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  355. package/es/shared/components/no-data/NoData.vue.d.ts +49 -0
  356. package/es/shared/components/no-data/index.d.ts +2 -0
  357. package/es/shared/components/player-vod/index.vue.d.ts +2 -0
  358. package/es/shared/components/player-vod/player.d.ts +17 -0
  359. package/es/shared/components/player-vod/video-list.d.ts +32 -0
  360. package/es/shared/components/player-vod/video-modal.d.ts +54 -0
  361. package/es/shared/global/variable.d.ts +1 -0
  362. package/es/shared/index.d.ts +0 -0
  363. package/es/shared/types/index.d.ts +22 -0
  364. package/es/shared/utils/anime.d.ts +35 -0
  365. package/es/shared/utils/colorLog.d.ts +31 -0
  366. package/es/shared/utils/index.d.ts +16 -0
  367. package/es/shared/utils/loadViewer.d.ts +2 -0
  368. package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +3 -0
  369. package/es/shared/utils/tapable/AsyncParallelHook.d.ts +3 -0
  370. package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +3 -0
  371. package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +3 -0
  372. package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +3 -0
  373. package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +3 -0
  374. package/es/shared/utils/tapable/Hook.d.ts +50 -0
  375. package/es/shared/utils/tapable/HookCodeFactory.d.ts +58 -0
  376. package/es/shared/utils/tapable/HookMap.d.ts +11 -0
  377. package/es/shared/utils/tapable/MultiHook.d.ts +12 -0
  378. package/es/shared/utils/tapable/SyncBailHook.d.ts +3 -0
  379. package/es/shared/utils/tapable/SyncHook.d.ts +3 -0
  380. package/es/shared/utils/tapable/SyncLoopHook.d.ts +3 -0
  381. package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +3 -0
  382. package/es/shared/utils/tapable/index.d.ts +139 -0
  383. package/es/shared/utils/utilExpand.d.ts +1 -0
  384. package/es/shared/utils/vexutils.d.ts +10 -0
  385. package/package.json +2 -2
@@ -0,0 +1,64 @@
1
+ import { BusinessCollector } from '../../../../../es/components/form-render';
2
+ import { FieldItem } from '../types';
3
+ /**
4
+ * @description 胶水层, 将低代码平台中的fieldList转换为JSONSchema
5
+ */
6
+ export declare function useFieldListAdaptor(collector: BusinessCollector): {
7
+ schemaAdaptor: (fieldList: FieldItem[]) => Record<string, import("@formily/json-schema/esm/types").Stringify<{
8
+ [key: symbol]: any;
9
+ [key: `x-${string}`]: any;
10
+ [key: `x-${number}`]: any;
11
+ version?: string | undefined;
12
+ name?: import("@formily/json-schema/esm/types").SchemaKey | undefined;
13
+ title?: any;
14
+ description?: any;
15
+ default?: any;
16
+ readOnly?: boolean | undefined;
17
+ writeOnly?: boolean | undefined;
18
+ type?: import("@formily/json-schema/esm/types").SchemaTypes | undefined;
19
+ enum?: import("@formily/json-schema/esm/types").SchemaEnum<any> | undefined;
20
+ const?: any;
21
+ multipleOf?: number | undefined;
22
+ maximum?: number | undefined;
23
+ exclusiveMaximum?: number | undefined;
24
+ minimum?: number | undefined;
25
+ exclusiveMinimum?: number | undefined;
26
+ maxLength?: number | undefined;
27
+ minLength?: number | undefined;
28
+ pattern?: string | RegExp | undefined;
29
+ maxItems?: number | undefined;
30
+ minItems?: number | undefined;
31
+ uniqueItems?: boolean | undefined;
32
+ maxProperties?: number | undefined;
33
+ minProperties?: number | undefined;
34
+ required?: string | boolean | string[] | undefined;
35
+ format?: string | undefined;
36
+ $ref?: string | undefined;
37
+ $namespace?: string | undefined;
38
+ definitions?: import("@formily/json-schema/esm/types").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
39
+ properties?: import("@formily/json-schema/esm/types").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
40
+ items?: import("@formily/json-schema/esm/types").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
41
+ additionalItems?: import("@formily/json-schema/esm/types").Stringify<any> | undefined;
42
+ patternProperties?: import("@formily/json-schema/esm/types").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
43
+ additionalProperties?: import("@formily/json-schema/esm/types").Stringify<any> | undefined;
44
+ "x-value"?: any;
45
+ "x-index"?: number | undefined;
46
+ "x-pattern"?: any;
47
+ "x-display"?: any;
48
+ "x-validator"?: any;
49
+ "x-decorator"?: any;
50
+ "x-decorator-props"?: any;
51
+ "x-component"?: any;
52
+ "x-component-props"?: any;
53
+ "x-reactions"?: import("@formily/json-schema/esm/types").SchemaReactions<any> | undefined;
54
+ "x-content"?: any;
55
+ "x-data"?: any;
56
+ "x-visible"?: boolean | undefined;
57
+ "x-hidden"?: boolean | undefined;
58
+ "x-disabled"?: boolean | undefined;
59
+ "x-editable"?: boolean | undefined;
60
+ "x-read-only"?: boolean | undefined;
61
+ "x-read-pretty"?: boolean | undefined;
62
+ "x-compile-omitted"?: string[] | undefined;
63
+ }>>;
64
+ };
@@ -0,0 +1,5 @@
1
+ import { SyncWaterfallHook } from '../../../../../es/shared/utils/tapable';
2
+ import { FieldItem } from '../types';
3
+ export declare function useFieldNormalize(): {
4
+ FieldNormalizeWaterfallHook: SyncWaterfallHook<FieldItem, import("../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
5
+ };
@@ -0,0 +1,4 @@
1
+ import { FieldItem, FieldVisitor } from '../types';
2
+ export declare function useFieldVisitor(): {
3
+ traverse: (fieldList: FieldItem[], visitorMap?: FieldVisitor, key?: string) => FieldItem[];
4
+ };
@@ -0,0 +1,11 @@
1
+ import { Form } from '@formily/core';
2
+ import { ShallowReactive } from 'vue';
3
+ import { FormRenderProps } from '../../../../../es/components/form-render';
4
+ export declare function useFormContext(props: ShallowReactive<FormRenderProps>, formModel: Form): {
5
+ asyncQueue: import("../../../../../es/components/form-render").FormAsyncQueue;
6
+ SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
7
+ businessCollector: import("../../../../../es/components/form-render").BusinessCollector;
8
+ changeContextCollector: import("../../../../../es/components/form-render").ContextCollector;
9
+ formItemDepsCollector: import("../../../../../es/components/form-render").FormItemDepsCollector;
10
+ formUUID: string;
11
+ };
@@ -0,0 +1,5 @@
1
+ export declare function useFormField(): {
2
+ field: import("vue").Ref<import("@formily/core").GeneralField>;
3
+ title: import("vue").ComputedRef<any>;
4
+ fieldKey: import("vue").ComputedRef<string>;
5
+ };
@@ -0,0 +1,11 @@
1
+ import { Func } from '../../../../../es/shared/types';
2
+ import { DependKeyType } from '../../../../../es/components/form-render';
3
+ export declare class FormItemDepsCollector {
4
+ private readonly collector;
5
+ setDeps(key: string, dependKeys: DependKeyType, callback: Func): void;
6
+ getDeps(dependKey: string): Map<string, Func<any[], any>> | undefined;
7
+ trigger(dependKey: string, payload?: unknown): void;
8
+ }
9
+ export declare function useFormItemDeps(): {
10
+ create: () => FormItemDepsCollector;
11
+ };
@@ -0,0 +1,13 @@
1
+ import { UndefinedAble } from '../../../../../es/shared/types';
2
+ import { FormRenderLifeCycle, FormRenderProps } from '../../../../../es/components/form-render';
3
+ export declare function useFormRenderLifeCycle(props: FormRenderProps): {
4
+ callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
5
+ onSetup(): void;
6
+ beforeRequest(fieldKey: string, params?: import("../../../../../es/shared/types").AnyObject | undefined): void | UndefinedAble<import("../../../../../es/shared/types").AnyObject>;
7
+ afterRequest(fieldKey: string, payload?: any): import("../../../../../es/shared/types").AnyObject[];
8
+ }>>[T]> | undefined) => UndefinedAble<ReturnType<Required<Partial<{
9
+ onSetup(): void;
10
+ beforeRequest(fieldKey: string, params?: import("../../../../../es/shared/types").AnyObject | undefined): void | UndefinedAble<import("../../../../../es/shared/types").AnyObject>;
11
+ afterRequest(fieldKey: string, payload?: any): import("../../../../../es/shared/types").AnyObject[];
12
+ }>>[T]>>;
13
+ };
@@ -0,0 +1,39 @@
1
+ import { AnyObject, Func } from '../../../../../es/shared/types';
2
+ import { Ref } from 'vue';
3
+ import { FormWordbook, RecommendIds, UrlConfig } from '../../../../../es/components/form-render';
4
+ import { RecommendItem } from '../../../../../es/components/recommend-search/src/types';
5
+ export declare function useRecommendOptions(props: {
6
+ recommend: boolean;
7
+ commonList?: RecommendItem[];
8
+ recentList?: RecommendItem[];
9
+ getRecommendInfo?: () => RecommendIds;
10
+ recommendCache: boolean;
11
+ recommendNum: number;
12
+ }, options: Ref<AnyObject[]>, emit: Func, valueKey: Ref<string>): {
13
+ postRecommend: (value: unknown) => Promise<void>;
14
+ getRecommend: () => Promise<void>;
15
+ sortedOptions: import("vue").ComputedRef<any[]>;
16
+ };
17
+ export declare function useUrlConfigOptions(props: {
18
+ urlConfig?: UrlConfig;
19
+ options?: AnyObject[];
20
+ requestCache: boolean;
21
+ lazyRequest: boolean;
22
+ }, valueRef: Ref): {
23
+ labelKey: import("vue").ComputedRef<string>;
24
+ valueKey: import("vue").ComputedRef<string>;
25
+ options: import("vue").ComputedRef<AnyObject[]>;
26
+ fetchData: (content?: string) => Promise<null | undefined>;
27
+ };
28
+ export declare function useAutographOptions(props: {
29
+ requestCache?: boolean;
30
+ wordbook?: FormWordbook;
31
+ autograph?: string;
32
+ lazyRequest?: boolean;
33
+ options?: AnyObject[];
34
+ }, valueRef: Ref): {
35
+ labelKey: import("vue").ComputedRef<string>;
36
+ valueKey: import("vue").ComputedRef<string>;
37
+ options: import("vue").ComputedRef<AnyObject[]>;
38
+ fetchData: (content?: string) => Promise<null | undefined>;
39
+ };
@@ -0,0 +1,26 @@
1
+ import { Func, Nullable } from '../../../../../es/shared/types';
2
+ import { FormRequestType } from '../../../../../es/components/form-render';
3
+ export declare type RequestInstance = Record<string, Func>;
4
+ declare type SearchRequestInfo = {
5
+ method: FormRequestType;
6
+ url: string;
7
+ primaryKeyUrl?: string;
8
+ };
9
+ export declare type RecommendIds = Partial<Record<'businessId' | 'componentId' | 'deptId' | 'userId', string>>;
10
+ declare type RecommendRequestInfo = {
11
+ getRecommendIds(): RecommendIds;
12
+ url: Record<'get' | 'post' | 'delete', string>;
13
+ };
14
+ export declare function useFormRequest(): {
15
+ getHttpInstance: () => Nullable<RequestInstance>;
16
+ registGlobHttpInstance: (instance: RequestInstance) => void;
17
+ registGlobRecommendInfo: (info: Partial<RecommendRequestInfo>) => void;
18
+ registGlobSearchInfo: (info: SearchRequestInfo) => void;
19
+ getSearchRequestInfo: () => {
20
+ method: FormRequestType;
21
+ url: string;
22
+ primaryKeyUrl?: string | undefined;
23
+ };
24
+ getRecommendRequestInfo: () => RecommendRequestInfo;
25
+ };
26
+ export {};
@@ -0,0 +1,6 @@
1
+ import { AnyObject } from '../../../../../es/shared/types';
2
+ import { FieldItem } from '../types';
3
+ export declare function useFormValidator(): {
4
+ createValidatorSchema: (fieldItem: FieldItem) => AnyObject[];
5
+ };
6
+ export declare const validateMessageLocale: () => void;
@@ -0,0 +1,7 @@
1
+ import { Form } from '@formily/core';
2
+ import { MaybeRef } from '@vueuse/core';
3
+ import { FormLowCodeReactions } from '../../../../../es/components/form-render';
4
+ export declare function useLowCodeReactions(configListRef: MaybeRef<FormLowCodeReactions.Config[] | undefined>, formModel: Form): {
5
+ lowCodeReactionsHandler: (field: string, value: unknown) => void;
6
+ triggerAllReactionsHandler: () => void;
7
+ };
@@ -0,0 +1,4 @@
1
+ import { GlobalThemeOverrides } from 'naive-ui';
2
+ export declare function useNuiThemeOverrides(): {
3
+ nuiThemeOverrides: GlobalThemeOverrides;
4
+ };
@@ -0,0 +1,6 @@
1
+ export declare function usePresetScope(): {
2
+ isIdCard(value: unknown): boolean;
3
+ isMobile(value: unknown): boolean;
4
+ isEmail(value: unknown): boolean;
5
+ isNumber(value: unknown): boolean;
6
+ };
@@ -0,0 +1,265 @@
1
+ import { AnyObject, ArrayAble } from '../../../../../es/shared/types';
2
+ import { SchemaEffectTypes, SchemaTypes } from '@formily/vue';
3
+ import { CSSProperties, VNode } from 'vue';
4
+ import { DependKeyType, FormCommonState, FormRequestType } from '../../../../../es/components/form-render';
5
+ export * from '@formily/core';
6
+ declare type FieldBusinessType = 'password' | 'id_card' | 'age' | 'age_unit' | 'mobile' | 'telephone' | 'email' | 'sex' | 'birthday' | 'bank_card' | 'website' | 'gestational_weeks' | 'gestational_stage' | 'customer_name';
7
+ export declare type ValidateItem = Partial<{
8
+ /**
9
+ * 业务类型
10
+ */
11
+ obj_type: FieldBusinessType;
12
+ /**
13
+ * 校验类型
14
+ */
15
+ vali_obj: string;
16
+ max_value: string | number;
17
+ min_value: string | number;
18
+ min_length: string | number;
19
+ max_length: string | number;
20
+ decimal_length: string | number;
21
+ regular_expression: RegExp | string;
22
+ regular_error_tip: string;
23
+ [key: string]: any;
24
+ }>;
25
+ interface OptionItem {
26
+ text: string;
27
+ value: any;
28
+ keyword?: string;
29
+ disabled?: boolean;
30
+ children?: OptionItem[];
31
+ }
32
+ interface FormRendererPayload {
33
+ clearable: boolean;
34
+ disabled: boolean;
35
+ fieldItem: FieldItem;
36
+ readOnly: boolean;
37
+ value: unknown;
38
+ }
39
+ export interface FormRenderer {
40
+ (payload: FormRendererPayload): ArrayAble<VNode> | any;
41
+ }
42
+ export declare type UrlConfig = {
43
+ url: string;
44
+ } & Partial<{
45
+ method?: FormRequestType;
46
+ nameKey?: string;
47
+ valueKey?: string;
48
+ params?: AnyObject;
49
+ dependKey?: DependKeyType;
50
+ }>;
51
+ interface SwitchProperty {
52
+ value?: any;
53
+ describe?: string;
54
+ }
55
+ interface ReactionType {
56
+ dependencies?: string[];
57
+ target?: string;
58
+ effects?: SchemaEffectTypes[];
59
+ when?: string | boolean;
60
+ fulfill?: {
61
+ state?: AnyObject;
62
+ run?: string;
63
+ };
64
+ otherwise?: {
65
+ state?: AnyObject;
66
+ run?: string;
67
+ };
68
+ [key: string]: any;
69
+ }
70
+ export declare type FormWordbook = Partial<{
71
+ level_num: number;
72
+ id: string;
73
+ name: string;
74
+ render_key: string[];
75
+ search_key: string[];
76
+ primary_key: string;
77
+ type: string;
78
+ value_key: string;
79
+ level_key: string;
80
+ link_key: string;
81
+ link_key_split: string;
82
+ show_key: string[];
83
+ conObj: AnyObject[];
84
+ conObjFirstLevel: AnyObject[];
85
+ }>;
86
+ export declare type FieldItem = {
87
+ /**
88
+ * 字段的key
89
+ */
90
+ val_key: string;
91
+ /**
92
+ * 控件类型
93
+ */
94
+ html_type: string;
95
+ } & Partial<{
96
+ /**
97
+ * 是否开启批注(需要先在表单维度开启)
98
+ */
99
+ annotation: boolean;
100
+ /**
101
+ * 定制化字段, AGE类型控件时的单位字段
102
+ */
103
+ val_key_unit: string;
104
+ /**
105
+ * 是否允许编辑('1'为允许编辑)
106
+ */
107
+ is_edit: FormCommonState;
108
+ /**
109
+ * 控件在栅栏系统中的的宽度值, 默认为3
110
+ */
111
+ elem_width: number;
112
+ /**
113
+ * 是否展示('1'为展示)
114
+ */
115
+ is_show: FormCommonState;
116
+ /**
117
+ * 是否允许为空('1'为允许为空)
118
+ */
119
+ is_null: FormCommonState;
120
+ /**
121
+ * 字段label
122
+ */
123
+ name: string;
124
+ /**
125
+ * 字段label(优先级比name高)
126
+ */
127
+ alias: string;
128
+ /**
129
+ * 默认值
130
+ */
131
+ default_val: any;
132
+ /**
133
+ * 是否开启清空功能('0'表示开启)
134
+ */
135
+ is_empty: FormCommonState;
136
+ /**
137
+ * 是否隐藏label('1'表示隐藏)
138
+ */
139
+ hide_title: FormCommonState;
140
+ placeholder: string;
141
+ validate: ValidateItem;
142
+ option: OptionItem[];
143
+ /**
144
+ * 是否开启多选('0'表示开启, 值是反的)
145
+ */
146
+ multi_select: FormCommonState;
147
+ /**
148
+ * 多选时最大选择数量
149
+ */
150
+ multi_select_value: number | string;
151
+ /**
152
+ * 1.用于CASCADER控件提供层级参数
153
+ * 2.用于SEARCH控件提供字段信息
154
+ */
155
+ wordbook: FormWordbook;
156
+ /**
157
+ * switch控件,开启状态参数
158
+ */
159
+ open: SwitchProperty;
160
+ /**
161
+ * switch控件,关闭状态参数
162
+ */
163
+ close: SwitchProperty;
164
+ /**
165
+ * date控件value格式
166
+ */
167
+ date_format: string;
168
+ /**
169
+ * slider控件间距
170
+ */
171
+ step_length: string | number;
172
+ urlConfig: UrlConfig;
173
+ /**
174
+ * 控件组
175
+ */
176
+ suffixConfig: ArrayAble<FieldItem>;
177
+ /**
178
+ * 数据源签名
179
+ */
180
+ autograph: string;
181
+ /**
182
+ * 合并错误信息
183
+ */
184
+ defined_error_msg: string;
185
+ /**
186
+ * 是否使用json格式对该字段值进行合并
187
+ */
188
+ extendKey: string;
189
+ /**
190
+ * 是否允许linebar控件收起('1'表示不可收起)
191
+ */
192
+ is_not_fold: string;
193
+ /**
194
+ * linebar控件中的备注
195
+ */
196
+ remark: string;
197
+ /**
198
+ * 数据类型
199
+ */
200
+ fieldType: SchemaTypes;
201
+ /**
202
+ * BUTTON/TEXT控件内容
203
+ */
204
+ content: string | FormRenderer | Record<string, FormRenderer>;
205
+ /**
206
+ * 用于控制是否启用请求的懒执行
207
+ */
208
+ lazyRequest: boolean;
209
+ /**
210
+ * 用于控制请求是否开启缓存
211
+ */
212
+ requestCache: boolean;
213
+ /**
214
+ * COMBINATION控件最大表单组数量
215
+ */
216
+ maxGroupNum: number;
217
+ /**
218
+ * COMBINATION json format
219
+ */
220
+ jsonCombination: boolean;
221
+ /**
222
+ * COMBINATION控件子项
223
+ */
224
+ children: FieldItem[];
225
+ /**
226
+ * 子项
227
+ */
228
+ properties: FieldItem[];
229
+ /**
230
+ * 控件额外的props
231
+ */
232
+ componentProps: AnyObject;
233
+ /**
234
+ * FormItem额外的props
235
+ */
236
+ decoratorProps: AnyObject;
237
+ /**
238
+ * 是否不使用decorator组件(n-form-item)
239
+ */
240
+ noDecorator: Boolean;
241
+ /**
242
+ * COMPLEX控件布局类型
243
+ */
244
+ display: 'grid' | 'flex';
245
+ /**
246
+ * 控件插槽
247
+ */
248
+ slots: Record<string, (...args: unknown[]) => unknown>;
249
+ /**
250
+ * COMPLEX控件额外样式
251
+ */
252
+ wrapperStyle: CSSProperties | Record<string, string>;
253
+ /**
254
+ * 自定义校验规则
255
+ * @param value 表单当前控件的值
256
+ * @param fieldItem 配置参数
257
+ * @return {void|string} 返回校验信息
258
+ */
259
+ validator: (value: unknown, fieldItem: FieldItem) => void | string;
260
+ /**
261
+ * 表单联动配置
262
+ */
263
+ reactions: ArrayAble<ReactionType>;
264
+ [key: string]: any;
265
+ }>;
@@ -0,0 +1,101 @@
1
+ import { AnyObject, UndefinedAble } from '../../../../../es/shared/types';
2
+ import { DataField, Field, Form } from '@formily/core';
3
+ import { ISchema } from '@formily/json-schema/esm/types';
4
+ import { Component, FunctionalComponent } from 'vue';
5
+ import { FIELD_BUSINESS_TYPE, LOW_CODE_VALUE_RELATION } from '../../../../../es/components/form-render/src/constants';
6
+ import { FieldItem } from '../types';
7
+ import { AsyncQueue, RequestInstance } from '../hooks';
8
+ export * from './fieldItem';
9
+ export declare type FormCommonState = '0' | '1';
10
+ export interface FieldVisitorContext {
11
+ field: FieldItem;
12
+ replace(f: FieldItem): void;
13
+ insertBefore(f: FieldItem | FieldItem[]): void;
14
+ insertAfter(f: FieldItem | FieldItem[]): void;
15
+ }
16
+ export declare type FieldVisitor = Record<string, (context: FieldVisitorContext) => void>;
17
+ export declare type FormRequestType = 'post' | 'get' | 'patch' | 'delete' | 'put';
18
+ export interface FormAsyncQueueItem {
19
+ key: any;
20
+ cache?: boolean;
21
+ url: string;
22
+ method?: FormRequestType;
23
+ params?: AnyObject;
24
+ }
25
+ export declare type FormAsyncQueue = AsyncQueue<FormAsyncQueueItem, any, AnyObject[]>;
26
+ export declare type AgeContext = Record<'age' | 'day' | 'month' | 'year' | 'hours', number>;
27
+ export declare type IdCardParseInfo = Record<'sex' | 'birthday', string> & AgeContext;
28
+ export declare type FormRenderExpose = {
29
+ formModel: Form;
30
+ validate(path?: string): Promise<unknown>;
31
+ getFormValues(needCombineExtendKey?: boolean): AnyObject;
32
+ setFormValues(values: AnyObject, needSplitExtendKey?: boolean): AnyObject;
33
+ setFieldState(path: string, setter: (field: Field) => void): void;
34
+ resetFields(path?: string): void;
35
+ queryWidget(key: string): Promise<{
36
+ widgetElement: HTMLInputElement | null;
37
+ widgetElementList: HTMLInputElement[];
38
+ decoratorElement: HTMLElement | null;
39
+ }>;
40
+ reload(): Promise<any>;
41
+ };
42
+ export declare type FormChangeContext = Partial<{
43
+ currentOption: AnyObject;
44
+ }>;
45
+ export declare type FormChangePayload = {
46
+ value: any;
47
+ fieldKey: string;
48
+ fieldName: string;
49
+ fieldInstance: DataField;
50
+ context?: FormChangeContext;
51
+ };
52
+ export declare type DependKeyType = string | Record<string, string> | Array<{
53
+ paramName: string;
54
+ paramValue?: string;
55
+ required?: boolean;
56
+ } | string>;
57
+ export declare type FormRenderLifeCycle = Partial<{
58
+ onSetup(): void;
59
+ beforeRequest(fieldKey: string, params?: AnyObject): UndefinedAble<AnyObject> | void;
60
+ afterRequest(fieldKey: string, payload?: any): AnyObject[];
61
+ }>;
62
+ export declare type FormRenderProps = Partial<{
63
+ fieldList: FieldItem[];
64
+ initialData: AnyObject;
65
+ fieldVisitor: FieldVisitor;
66
+ column: number;
67
+ maxHeight: number | string;
68
+ anchor: boolean;
69
+ parallelism: number;
70
+ schema: ISchema;
71
+ components: Record<string, Component | FunctionalComponent>;
72
+ scope: AnyObject;
73
+ annotation: AnyObject;
74
+ consumer: boolean;
75
+ uuid: string;
76
+ lifeCycle: FormRenderLifeCycle;
77
+ businessFormatter: FormBusinessFormatter;
78
+ requestInstance: RequestInstance;
79
+ }>;
80
+ export declare type FormBusinessFormatter = (payload: {
81
+ fieldKey: string;
82
+ value: unknown;
83
+ type: FIELD_BUSINESS_TYPE;
84
+ }) => unknown;
85
+ export declare namespace FormLowCodeReactions {
86
+ type ConObj = {
87
+ con: LOW_CODE_VALUE_RELATION | string;
88
+ field_key: string;
89
+ value: unknown;
90
+ };
91
+ type Config = {
92
+ conObj: ConObj[];
93
+ } & Partial<{
94
+ showField: string[];
95
+ hideField: string[];
96
+ requiredField: string[];
97
+ notRequiredField: string[];
98
+ enabledField: string[];
99
+ disabledField: string[];
100
+ }>;
101
+ }
@@ -0,0 +1,13 @@
1
+ import { AgeContext, IdCardParseInfo } from '../../../../../es/components/form-render';
2
+ import { FIELD_AGE_UNIT } from '../../../../../es/components/form-render/src/constants';
3
+ export declare function parseIdCard(idCardNo: string): IdCardParseInfo;
4
+ export declare function transformDateFormat(format?: string): "month" | "date" | "datetime";
5
+ export declare function isIdCard(idCardNo: string): boolean;
6
+ export declare function isMobile(mobile: string): boolean;
7
+ export declare function parseBirthday(birthday: string): AgeContext;
8
+ export declare function parseAge2Birthday(age: number, ageUnit: string, formatter?: string): string;
9
+ export declare function parseAgeFromContext(context: AgeContext): {
10
+ ageUnit: FIELD_AGE_UNIT;
11
+ age: number;
12
+ };
13
+ export declare function businessDateParser(dateString: string): Date | undefined;
@@ -0,0 +1,13 @@
1
+ import { Nullable } from '../../../../../es/shared/types';
2
+ export declare function queryDecorator(key: string, wrapperElement: HTMLElement, formUUID: string): HTMLElement | null;
3
+ export declare function queryInput(decoratorElement?: Nullable<HTMLElement>): {
4
+ widgetElement: HTMLInputElement | null | undefined;
5
+ widgetElementList: HTMLInputElement[];
6
+ };
7
+ export declare function findNextWidget(containers: HTMLElement[], currentContainerIndex: number, currentWidget: HTMLElement): {
8
+ widget: HTMLElement;
9
+ field: string | null;
10
+ } | {
11
+ widget: null;
12
+ field: null;
13
+ };
@@ -0,0 +1,38 @@
1
+ import { AnyObject, ArrayAble, Nullable } from '../../../../../es/shared/types';
2
+ import { GeneralField } from '@formily/core';
3
+ import { FunctionalComponent, InjectionKey, VNode } from 'vue';
4
+ import { FieldItem, UrlConfig } from '../types';
5
+ export * from './business';
6
+ export * from './dom';
7
+ export * from './schema';
8
+ export declare function formRenderLog(message: string): void;
9
+ export declare function mergeDeepProperties(target: AnyObject, fieldList: FieldItem[], traverseProperties?: string[], property?: string, targetProperty?: string): AnyObject;
10
+ export declare function injectOrProvide<T>(key: InjectionKey<T>, creator: () => T): T;
11
+ export declare function parseNumberFromMaybeString<T>(value: T): T extends number | string ? number : T;
12
+ export declare function createSlot(renderer: unknown, props: AnyObject, defaultRenderer?: (v: unknown) => unknown[]): Record<string, () => ArrayAble<VNode>> | {
13
+ default(): any;
14
+ };
15
+ export declare function createInputSlot(props: AnyObject, defaultRenderer?: (v: unknown) => unknown[]): import("vue").ComputedRef<Record<string, FunctionalComponent<{}, {}>>>;
16
+ export declare function presetRequestHandler(res: unknown): AnyObject[];
17
+ export declare function optionMatcherWithKeyword(options: AnyObject[], input: Nullable<string>, key: string, matcherOption?: {
18
+ keyword?: string;
19
+ }): AnyObject[];
20
+ export declare function validateMessageParser(message: string, fieldItem: Omit<FieldItem, 'reactions'>): string;
21
+ export declare function combineExtendKey(fieldList: FieldItem[], values: AnyObject): AnyObject;
22
+ export declare function splitExtendKey(fieldList: FieldItem[], values: AnyObject): AnyObject;
23
+ export declare function isNestedType(type?: string): boolean | "" | undefined;
24
+ export declare function isNestedFieldType(field: FieldItem | GeneralField): boolean | "" | undefined;
25
+ export declare function createUrlConfigParams({ config, field, cache }: {
26
+ config: UrlConfig;
27
+ field: GeneralField;
28
+ cache?: boolean;
29
+ }): Promise<{
30
+ params: AnyObject;
31
+ key: string;
32
+ cache: boolean | undefined;
33
+ url: string;
34
+ method?: import("../../../../../es/components/form-render").FormRequestType | undefined;
35
+ nameKey?: string | undefined;
36
+ valueKey?: string | undefined;
37
+ dependKey?: import("../../../../../es/components/form-render").DependKeyType | undefined;
38
+ }>;