cnhis-design-vue 3.1.40 → 3.1.41-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 (515) hide show
  1. package/es/components/big-table/src/BigTable.vue.js +1 -0
  2. package/es/components/big-table/src/components/NoData.vue.js +1 -0
  3. package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -0
  4. package/es/components/big-table/src/components/input-button.vue.js +1 -0
  5. package/es/components/big-table/src/components/separate.vue.js +1 -0
  6. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -0
  7. package/es/components/button-print/src/ButtonPrint.vue.js +1 -0
  8. package/es/components/button-print/src/components/EditFormat.vue.js +1 -0
  9. package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -0
  10. package/es/components/button-print/src/components/Preview.vue.js +1 -0
  11. package/es/components/fabric-chart/src/FabricChart.vue.js +1 -0
  12. package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -0
  13. package/es/components/field-set/src/FieldSet.vue.js +1 -0
  14. package/es/components/form-config/src/FormConfig.vue.js +1 -0
  15. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -0
  16. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -0
  17. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -0
  18. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -0
  19. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -0
  20. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -0
  21. package/es/components/form-render/src/FormRender.vue.js +1 -0
  22. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -0
  23. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -0
  24. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
  25. package/es/components/form-render/src/components/renderer/select.js +1 -0
  26. package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -0
  27. package/es/components/form-render/src/hooks/useAnchor.js +1 -0
  28. package/es/components/form-render/src/hooks/useAutoHidden.js +1 -0
  29. package/es/components/iho-table/src/IhoTable.vue.js +1 -0
  30. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +1 -0
  31. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -0
  32. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -0
  33. package/es/components/info-header/src/HiddenContent.vue.js +1 -0
  34. package/es/components/info-header/src/InfoEllipsis.vue.js +1 -0
  35. package/es/components/info-header/src/InfoHeader.vue.js +1 -0
  36. package/es/components/keyboard/src/Keyboard.vue.js +1 -0
  37. package/es/components/keyboard/src/components/InputNumber.vue.js +1 -0
  38. package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -0
  39. package/es/components/map/src/Map.vue.js +1 -0
  40. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -0
  41. package/es/components/recommend-search/src/components/BaseSearch.vue.js +1 -0
  42. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -0
  43. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -0
  44. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -0
  45. package/es/components/scale-view/src/ScaleView.vue.js +1 -0
  46. package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -0
  47. package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -0
  48. package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -0
  49. package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -0
  50. package/es/components/scale-view/src/components/NoData.vue.js +1 -0
  51. package/es/components/search-cascader/src/SearchCascader.vue.js +1 -0
  52. package/es/components/select-label/src/LabelFormContent.vue.js +1 -0
  53. package/es/components/select-label/src/SelectLabel.vue.js +1 -0
  54. package/es/components/select-label/src/components/label-classify.vue.js +1 -0
  55. package/es/components/select-person/src/SelectPerson.vue.js +1 -0
  56. package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -0
  57. package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -0
  58. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -0
  59. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -0
  60. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
  61. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
  62. package/es/components/table-filter/src/classification/search-class-name.vue.js +1 -0
  63. package/es/components/table-filter/src/classification/search-professional-model.vue.js +1 -0
  64. package/es/components/table-filter/src/components/age-com/index.vue.js +1 -0
  65. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +1 -0
  66. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +1 -0
  67. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -0
  68. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -0
  69. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +1 -0
  70. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +1 -0
  71. package/es/components/table-filter/src/components/range-age/index.vue.js +1 -0
  72. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -0
  73. package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -0
  74. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -0
  75. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1 -0
  76. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +1 -0
  77. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +1 -0
  78. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +1 -0
  79. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
  80. package/es/components/time-line/src/TimeLine.vue.js +1 -0
  81. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -0
  82. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -0
  83. package/es/shared/components/SelectPage/SelectPage.vue.js +1 -0
  84. package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -0
  85. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -0
  86. package/es/shared/components/no-data/NoData.vue.js +1 -0
  87. package/package.json +2 -2
  88. package/es/node_modules/@formily/reactive/esm/action.js +0 -1
  89. package/es/node_modules/@formily/reactive/esm/annotations/box.js +0 -1
  90. package/es/node_modules/@formily/reactive/esm/annotations/computed.js +0 -1
  91. package/es/node_modules/@formily/reactive/esm/annotations/observable.js +0 -1
  92. package/es/node_modules/@formily/reactive/esm/annotations/ref.js +0 -1
  93. package/es/node_modules/@formily/reactive/esm/annotations/shallow.js +0 -1
  94. package/es/node_modules/@formily/reactive/esm/array.js +0 -1
  95. package/es/node_modules/@formily/reactive/esm/autorun.js +0 -1
  96. package/es/node_modules/@formily/reactive/esm/batch.js +0 -1
  97. package/es/node_modules/@formily/reactive/esm/checkers.js +0 -1
  98. package/es/node_modules/@formily/reactive/esm/environment.js +0 -1
  99. package/es/node_modules/@formily/reactive/esm/externals.js +0 -1
  100. package/es/node_modules/@formily/reactive/esm/handlers.js +0 -1
  101. package/es/node_modules/@formily/reactive/esm/internals.js +0 -1
  102. package/es/node_modules/@formily/reactive/esm/observable.js +0 -1
  103. package/es/node_modules/@formily/reactive/esm/reaction.js +0 -1
  104. package/es/node_modules/@formily/reactive/esm/tree.js +0 -1
  105. package/es/node_modules/@formily/reactive/esm/untracked.js +0 -1
  106. package/es/packages/components/big-table/src/BigTable.vue.js +0 -1
  107. package/es/packages/components/big-table/src/components/NoData.vue.js +0 -1
  108. package/es/packages/components/big-table/src/components/edit-form/edit-separate.vue.js +0 -1
  109. package/es/packages/components/big-table/src/components/input-button.vue.js +0 -1
  110. package/es/packages/components/big-table/src/components/separate.vue.js +0 -1
  111. package/es/packages/components/bpmn-workflow/src/BpmnWorkflow.vue.js +0 -1
  112. package/es/packages/components/button-print/src/ButtonPrint.vue.js +0 -1
  113. package/es/packages/components/button-print/src/components/EditFormat.vue.js +0 -1
  114. package/es/packages/components/button-print/src/components/IdentityVerification.vue.js +0 -1
  115. package/es/packages/components/button-print/src/components/Preview.vue.js +0 -1
  116. package/es/packages/components/fabric-chart/src/FabricChart.vue.js +0 -1
  117. package/es/packages/components/fabric-chart/src/components/PopupTip.vue.js +0 -1
  118. package/es/packages/components/field-set/src/FieldSet.vue.js +0 -1
  119. package/es/packages/components/form-config/src/FormConfig.vue.js +0 -1
  120. package/es/packages/components/form-config/src/components/FormConfigCreator.vue.js +0 -1
  121. package/es/packages/components/form-config/src/components/FormConfigDragDisplay.vue.js +0 -1
  122. package/es/packages/components/form-config/src/components/FormConfigEdit.vue.js +0 -1
  123. package/es/packages/components/form-config/src/components/renderer/CloseButton.vue.js +0 -1
  124. package/es/packages/components/form-config/src/components/renderer/ComplexNode.vue.js +0 -1
  125. package/es/packages/components/form-config/src/components/renderer/DefaultNode.vue.js +0 -1
  126. package/es/packages/components/form-render/src/FormRender.vue.js +0 -1
  127. package/es/packages/components/form-render/src/FormRenderWrapper.vue.js +0 -1
  128. package/es/packages/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +0 -1
  129. package/es/packages/components/form-render/src/components/renderer/searchCascade.js +0 -1
  130. package/es/packages/components/form-render/src/components/renderer/select.js +0 -1
  131. package/es/packages/components/form-render/src/components/tooltipMessage.vue.js +0 -1
  132. package/es/packages/components/form-render/src/hooks/useAnchor.js +0 -1
  133. package/es/packages/components/form-render/src/hooks/useAutoHidden.js +0 -1
  134. package/es/packages/components/iho-table/src/IhoTable.vue.js +0 -1
  135. package/es/packages/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
  136. package/es/packages/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +0 -1
  137. package/es/packages/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +0 -1
  138. package/es/packages/components/info-header/src/HiddenContent.vue.js +0 -1
  139. package/es/packages/components/info-header/src/InfoEllipsis.vue.js +0 -1
  140. package/es/packages/components/info-header/src/InfoHeader.vue.js +0 -1
  141. package/es/packages/components/keyboard/src/Keyboard.vue.js +0 -1
  142. package/es/packages/components/keyboard/src/components/InputNumber.vue.js +0 -1
  143. package/es/packages/components/keyboard/src/components/NumberPanel.vue.js +0 -1
  144. package/es/packages/components/map/src/Map.vue.js +0 -1
  145. package/es/packages/components/recommend-search/src/RecommendSearch.vue.js +0 -1
  146. package/es/packages/components/recommend-search/src/components/BaseSearch.vue.js +0 -1
  147. package/es/packages/components/recommend-search/src/components/RecommendInput.vue.js +0 -1
  148. package/es/packages/components/recommend-search/src/components/RecommendMenu.vue.js +0 -1
  149. package/es/packages/components/recommend-search/src/components/RecommendSelect.vue.js +0 -1
  150. package/es/packages/components/scale-view/src/ScaleView.vue.js +0 -1
  151. package/es/packages/components/scale-view/src/components/AnswerParse.vue.js +0 -1
  152. package/es/packages/components/scale-view/src/components/EvaluateCountdown.vue.js +0 -1
  153. package/es/packages/components/scale-view/src/components/EvaluatePage.vue.js +0 -1
  154. package/es/packages/components/scale-view/src/components/LoadingCom.vue.js +0 -1
  155. package/es/packages/components/scale-view/src/components/NoData.vue.js +0 -1
  156. package/es/packages/components/search-cascader/src/SearchCascader.vue.js +0 -1
  157. package/es/packages/components/select-label/src/LabelFormContent.vue.js +0 -1
  158. package/es/packages/components/select-label/src/SelectLabel.vue.js +0 -1
  159. package/es/packages/components/select-label/src/components/label-classify.vue.js +0 -1
  160. package/es/packages/components/select-person/src/SelectPerson.vue.js +0 -1
  161. package/es/packages/components/shortcut-provider/src/ShortcutProvider.vue.js +0 -1
  162. package/es/packages/components/shortcut-setter/src/ShortcutSetter.vue.js +0 -1
  163. package/es/packages/components/shortcut-setter/src/ShortcutSetterItem.vue.js +0 -1
  164. package/es/packages/components/steps-wheel/src/StepsWheel.vue.js +0 -1
  165. package/es/packages/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
  166. package/es/packages/components/table-filter/src/classification/Classification-com.vue.js +0 -1
  167. package/es/packages/components/table-filter/src/classification/search-class-name.vue.js +0 -1
  168. package/es/packages/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
  169. package/es/packages/components/table-filter/src/components/age-com/index.vue.js +0 -1
  170. package/es/packages/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
  171. package/es/packages/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
  172. package/es/packages/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +0 -1
  173. package/es/packages/components/table-filter/src/components/classify-filter/index.vue.js +0 -1
  174. package/es/packages/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
  175. package/es/packages/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
  176. package/es/packages/components/table-filter/src/components/range-age/index.vue.js +0 -1
  177. package/es/packages/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +0 -1
  178. package/es/packages/components/table-filter/src/components/render-widget/components/Select.vue.js +0 -1
  179. package/es/packages/components/table-filter/src/components/render-widget/index.vue.js +0 -1
  180. package/es/packages/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
  181. package/es/packages/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
  182. package/es/packages/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
  183. package/es/packages/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
  184. package/es/packages/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
  185. package/es/packages/components/time-line/src/TimeLine.vue.js +0 -1
  186. package/es/packages/components/vod-chunk-upload/src/chunk-upload-new.vue.js +0 -1
  187. package/es/packages/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +0 -1
  188. package/es/packages/shared/components/SelectPage/SelectPage.vue.js +0 -1
  189. package/es/packages/shared/components/SvgIcon/SvgIcon.vue.js +0 -1
  190. package/es/packages/shared/components/TextOverTooltip/TextOverTooltip.vue.js +0 -1
  191. package/es/packages/shared/components/no-data/NoData.vue.js +0 -1
  192. /package/es/{packages/components → components}/annotation-edit/index.js +0 -0
  193. /package/es/{packages/components → components}/annotation-edit/src/AnnotationEdit.js +0 -0
  194. /package/es/{packages/components → components}/annotation-edit/src/type.js +0 -0
  195. /package/es/{packages/components → components}/big-table/index.js +0 -0
  196. /package/es/{packages/components → components}/big-table/src/BigTable.vue2.js +0 -0
  197. /package/es/{packages/components → components}/big-table/src/bigTableEmits.js +0 -0
  198. /package/es/{packages/components → components}/big-table/src/bigTableProps.js +0 -0
  199. /package/es/{packages/components → components}/big-table/src/bigTableState.js +0 -0
  200. /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-date.js +0 -0
  201. /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-input.js +0 -0
  202. /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-select.js +0 -0
  203. /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-time.js +0 -0
  204. /package/es/{packages/components → components}/big-table/src/components/edit-form/useCommon.js +0 -0
  205. /package/es/{packages/components → components}/big-table/src/constants/index.js +0 -0
  206. /package/es/{packages/components → components}/big-table/src/hooks/index.js +0 -0
  207. /package/es/{packages/components → components}/big-table/src/hooks/useAnchor.js +0 -0
  208. /package/es/{packages/components → components}/big-table/src/hooks/useAnnotation.js +0 -0
  209. /package/es/{packages/components → components}/big-table/src/hooks/useBatchEditing.js +0 -0
  210. /package/es/{packages/components → components}/big-table/src/hooks/useEdit.js +0 -0
  211. /package/es/{packages/components → components}/big-table/src/hooks/useEvent.js +0 -0
  212. /package/es/{packages/components → components}/big-table/src/hooks/useFormat.js +0 -0
  213. /package/es/{packages/components → components}/big-table/src/hooks/useNestTable.js +0 -0
  214. /package/es/{packages/components → components}/big-table/src/hooks/useSeparateRow.js +0 -0
  215. /package/es/{packages/components → components}/big-table/src/hooks/useTableParse.js +0 -0
  216. /package/es/{packages/components → components}/big-table/src/utils.js +0 -0
  217. /package/es/{packages/components → components}/bpmn-workflow/index.js +0 -0
  218. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +0 -0
  219. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.js +0 -0
  220. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +0 -0
  221. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.js +0 -0
  222. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.js +0 -0
  223. /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/zoomScroll.js +0 -0
  224. /package/es/{packages/components → components}/button-print/index.js +0 -0
  225. /package/es/{packages/components → components}/button-print/src/ButtonPrint.vue2.js +0 -0
  226. /package/es/{packages/components → components}/button-print/src/components/Preview.vue2.js +0 -0
  227. /package/es/{packages/components → components}/button-print/src/utils/browserPrint.js +0 -0
  228. /package/es/{packages/components → components}/button-print/src/utils/dialog.js +0 -0
  229. /package/es/{packages/components → components}/button-print/src/utils/index.js +0 -0
  230. /package/es/{packages/components → components}/button-print/src/utils/print.js +0 -0
  231. /package/es/{packages/components → components}/editor/index.js +0 -0
  232. /package/es/{packages/components → components}/editor/src/Editor.js +0 -0
  233. /package/es/{packages/components → components}/fabric-chart/index.js +0 -0
  234. /package/es/{packages/components → components}/fabric-chart/src/components/PopupMenu.js +0 -0
  235. /package/es/{packages/components → components}/fabric-chart/src/components/useStyle.js +0 -0
  236. /package/es/{packages/components → components}/fabric-chart/src/hooks/constant.js +0 -0
  237. /package/es/{packages/components → components}/fabric-chart/src/hooks/index.js +0 -0
  238. /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcess.js +0 -0
  239. /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcessChart.js +0 -0
  240. /package/es/{packages/components → components}/fabric-chart/src/hooks/useBottom.js +0 -0
  241. /package/es/{packages/components → components}/fabric-chart/src/hooks/useCenter.js +0 -0
  242. /package/es/{packages/components → components}/fabric-chart/src/hooks/useCommon.js +0 -0
  243. /package/es/{packages/components → components}/fabric-chart/src/hooks/useCumputedPoint.js +0 -0
  244. /package/es/{packages/components → components}/fabric-chart/src/hooks/useDraw.js +0 -0
  245. /package/es/{packages/components → components}/fabric-chart/src/hooks/useEvent.js +0 -0
  246. /package/es/{packages/components → components}/fabric-chart/src/hooks/useGrid.js +0 -0
  247. /package/es/{packages/components → components}/fabric-chart/src/hooks/useLeft.js +0 -0
  248. /package/es/{packages/components → components}/fabric-chart/src/hooks/useOther.js +0 -0
  249. /package/es/{packages/components → components}/fabric-chart/src/hooks/useRight.js +0 -0
  250. /package/es/{packages/components → components}/fabric-chart/src/hooks/useShadow.js +0 -0
  251. /package/es/{packages/components → components}/fabric-chart/src/hooks/useTemperatureChart.js +0 -0
  252. /package/es/{packages/components → components}/fabric-chart/src/hooks/useTop.js +0 -0
  253. /package/es/{packages/components → components}/fabric-chart/src/interface.js +0 -0
  254. /package/es/{packages/components → components}/fabric-chart/src/utils/index.js +0 -0
  255. /package/es/{packages/components → components}/fabric-chart/src/utils/utils.js +0 -0
  256. /package/es/{packages/components → components}/field-set/index.js +0 -0
  257. /package/es/{packages/components → components}/form-config/index.js +0 -0
  258. /package/es/{packages/components → components}/form-config/src/components/FormConfigMaterialItem.js +0 -0
  259. /package/es/{packages/components → components}/form-config/src/components/index.js +0 -0
  260. /package/es/{packages/components → components}/form-config/src/components/renderer/index.js +0 -0
  261. /package/es/{packages/components → components}/form-config/src/constants/index.js +0 -0
  262. /package/es/{packages/components → components}/form-config/src/hooks/index.js +0 -0
  263. /package/es/{packages/components → components}/form-config/src/hooks/useConfigurationField.js +0 -0
  264. /package/es/{packages/components → components}/form-config/src/hooks/useDataNormalize.js +0 -0
  265. /package/es/{packages/components → components}/form-config/src/hooks/usePresetRenderer.js +0 -0
  266. /package/es/{packages/components → components}/form-config/src/hooks/useSortalbeConfig.js +0 -0
  267. /package/es/{packages/components → components}/form-config/src/types/index.js +0 -0
  268. /package/es/{packages/components → components}/form-config/src/utils/index.js +0 -0
  269. /package/es/{packages/components → components}/form-render/index.js +0 -0
  270. /package/es/{packages/components → components}/form-render/src/components/renderer/combination.js +0 -0
  271. /package/es/{packages/components → components}/form-render/src/components/renderer/complex.js +0 -0
  272. /package/es/{packages/components → components}/form-render/src/components/renderer/date.js +0 -0
  273. /package/es/{packages/components → components}/form-render/src/components/renderer/formItem.js +0 -0
  274. /package/es/{packages/components → components}/form-render/src/components/renderer/index.js +0 -0
  275. /package/es/{packages/components → components}/form-render/src/components/renderer/input.js +0 -0
  276. /package/es/{packages/components → components}/form-render/src/components/renderer/inputGroup.js +0 -0
  277. /package/es/{packages/components → components}/form-render/src/components/renderer/inputNumber.js +0 -0
  278. /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +0 -0
  279. /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/index.js +0 -0
  280. /package/es/{packages/components → components}/form-render/src/components/renderer/levelSearchCascader.js +0 -0
  281. /package/es/{packages/components → components}/form-render/src/components/renderer/lineBar/index.js +0 -0
  282. /package/es/{packages/components → components}/form-render/src/components/renderer/radio_checkbox.js +0 -0
  283. /package/es/{packages/components → components}/form-render/src/components/renderer/remoteSearch.js +0 -0
  284. /package/es/{packages/components → components}/form-render/src/components/renderer/simpleComponent.js +0 -0
  285. /package/es/{packages/components → components}/form-render/src/components/renderer/slider.js +0 -0
  286. /package/es/{packages/components → components}/form-render/src/components/renderer/switch.js +0 -0
  287. /package/es/{packages/components → components}/form-render/src/components/renderer/textarea.js +0 -0
  288. /package/es/{packages/components → components}/form-render/src/constants/index.js +0 -0
  289. /package/es/{packages/components → components}/form-render/src/hooks/index.js +0 -0
  290. /package/es/{packages/components → components}/form-render/src/hooks/useAsyncQueue.js +0 -0
  291. /package/es/{packages/components → components}/form-render/src/hooks/useBusinessBinding.js +0 -0
  292. /package/es/{packages/components → components}/form-render/src/hooks/useChangeContext.js +0 -0
  293. /package/es/{packages/components → components}/form-render/src/hooks/useCommonInjection.js +0 -0
  294. /package/es/{packages/components → components}/form-render/src/hooks/useCommonLog.js +0 -0
  295. /package/es/{packages/components → components}/form-render/src/hooks/useComplexOptions.js +0 -0
  296. /package/es/{packages/components → components}/form-render/src/hooks/useFieldListAdaptor.js +0 -0
  297. /package/es/{packages/components → components}/form-render/src/hooks/useFieldNormalize.js +0 -0
  298. /package/es/{packages/components → components}/form-render/src/hooks/useFieldVisitor.js +0 -0
  299. /package/es/{packages/components → components}/form-render/src/hooks/useFormContext.js +0 -0
  300. /package/es/{packages/components → components}/form-render/src/hooks/useFormEvent.js +0 -0
  301. /package/es/{packages/components → components}/form-render/src/hooks/useFormField.js +0 -0
  302. /package/es/{packages/components → components}/form-render/src/hooks/useFormItemDeps.js +0 -0
  303. /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderLifeCycle.js +0 -0
  304. /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderOptions.js +0 -0
  305. /package/es/{packages/components → components}/form-render/src/hooks/useFormRequest.js +0 -0
  306. /package/es/{packages/components → components}/form-render/src/hooks/useFormValidator.js +0 -0
  307. /package/es/{packages/components → components}/form-render/src/hooks/useLowCodeReactions.js +0 -0
  308. /package/es/{packages/components → components}/form-render/src/hooks/useNuiThemeOverrides.js +0 -0
  309. /package/es/{packages/components → components}/form-render/src/hooks/usePresetScope.js +0 -0
  310. /package/es/{packages/components → components}/form-render/src/types/fieldItem.js +0 -0
  311. /package/es/{packages/components → components}/form-render/src/types/index.js +0 -0
  312. /package/es/{packages/components → components}/form-render/src/utils/business.js +0 -0
  313. /package/es/{packages/components → components}/form-render/src/utils/dom.js +0 -0
  314. /package/es/{packages/components → components}/form-render/src/utils/index.js +0 -0
  315. /package/es/{packages/components → components}/form-render/src/utils/schema.js +0 -0
  316. /package/es/{packages/components → components}/grid/index.js +0 -0
  317. /package/es/{packages/components → components}/grid/src/Grid.js +0 -0
  318. /package/es/{packages/components → components}/grid/src/hooks.js +0 -0
  319. /package/es/{packages/components → components}/iho-table/index.js +0 -0
  320. /package/es/{packages/components → components}/iho-table/src/constants/index.js +0 -0
  321. /package/es/{packages/components → components}/iho-table/src/hooks/export.js +0 -0
  322. /package/es/{packages/components → components}/iho-table/src/hooks/index.js +0 -0
  323. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/index.js +0 -0
  324. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useConfigHooks.js +0 -0
  325. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDataHooks.js +0 -0
  326. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +0 -0
  327. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useEventHooks.js +0 -0
  328. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useExposeHooks.js +0 -0
  329. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useFieldHooks.js +0 -0
  330. /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useSetupHooks.js +0 -0
  331. /package/es/{packages/components → components}/iho-table/src/hooks/useColumnConfigAdaptor.js +0 -0
  332. /package/es/{packages/components → components}/iho-table/src/hooks/useTableContext.js +0 -0
  333. /package/es/{packages/components → components}/iho-table/src/hooks/useTablePlugin.js +0 -0
  334. /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/index.js +0 -0
  335. /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/tableAnchor.js +0 -0
  336. /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/useAnchor.js +0 -0
  337. /package/es/{packages/components → components}/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -0
  338. /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/index.js +0 -0
  339. /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/types.js +0 -0
  340. /package/es/{packages/components → components}/iho-table/src/plugins/index.js +0 -0
  341. /package/es/{packages/components → components}/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -0
  342. /package/es/{packages/components → components}/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
  343. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +0 -0
  344. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -0
  345. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +0 -0
  346. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +0 -0
  347. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +0 -0
  348. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +0 -0
  349. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +0 -0
  350. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +0 -0
  351. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +0 -0
  352. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -0
  353. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +0 -0
  354. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +0 -0
  355. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +0 -0
  356. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +0 -0
  357. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +0 -0
  358. /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +0 -0
  359. /package/es/{packages/components → components}/iho-table/src/plugins/rowClickPlugin/index.js +0 -0
  360. /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/index.js +0 -0
  361. /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +0 -0
  362. /package/es/{packages/components → components}/iho-table/src/plugins/virtualTreePlugin/index.js +0 -0
  363. /package/es/{packages/components → components}/iho-table/src/types/index.js +0 -0
  364. /package/es/{packages/components → components}/iho-table/src/types/pluginType.js +0 -0
  365. /package/es/{packages/components → components}/iho-table/src/utils/index.js +0 -0
  366. /package/es/{packages/components → components}/index.js +0 -0
  367. /package/es/{packages/components → components}/info-header/index.js +0 -0
  368. /package/es/{packages/components → components}/insurance-sdk/index.js +0 -0
  369. /package/es/{packages/components → components}/insurance-sdk/src/constants/index.js +0 -0
  370. /package/es/{packages/components → components}/insurance-sdk/src/utils/index.js +0 -0
  371. /package/es/{packages/components → components}/insurance-sdk/src/utils/insurance.js +0 -0
  372. /package/es/{packages/components → components}/keyboard/index.js +0 -0
  373. /package/es/{packages/components → components}/keyboard/src/utils/index.js +0 -0
  374. /package/es/{packages/components → components}/map/index.js +0 -0
  375. /package/es/{packages/components → components}/recommend-search/index.js +0 -0
  376. /package/es/{packages/components → components}/recommend-search/src/constant/index.js +0 -0
  377. /package/es/{packages/components → components}/recommend-search/src/types/index.js +0 -0
  378. /package/es/{packages/components → components}/scale-view/index.js +0 -0
  379. /package/es/{packages/components → components}/scale-view/src/components/ScaleScore.js +0 -0
  380. /package/es/{packages/components → components}/scale-view/src/components/composables/choose-common.js +0 -0
  381. /package/es/{packages/components → components}/scale-view/src/components/formitem/address.js +0 -0
  382. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-address.js +0 -0
  383. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-cascader.js +0 -0
  384. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-checkbox.js +0 -0
  385. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-collection.js +0 -0
  386. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-datetime.js +0 -0
  387. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-input.js +0 -0
  388. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-map.js +0 -0
  389. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-radio.js +0 -0
  390. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-select.js +0 -0
  391. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-sign.js +0 -0
  392. /package/es/{packages/components → components}/scale-view/src/components/formitem/r-upload.js +0 -0
  393. /package/es/{packages/components → components}/scale-view/src/components/formitem/sign-com.js +0 -0
  394. /package/es/{packages/components → components}/scale-view/src/components/formitem/standard-modal.js +0 -0
  395. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-computed.js +0 -0
  396. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-init.js +0 -0
  397. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-props.js +0 -0
  398. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-state.js +0 -0
  399. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-submit.js +0 -0
  400. /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-validate.js +0 -0
  401. /package/es/{packages/components → components}/scale-view/src/hooks/use-component.js +0 -0
  402. /package/es/{packages/components → components}/scale-view/src/hooks/use-evaluate.js +0 -0
  403. /package/es/{packages/components → components}/scale-view/src/hooks/use-event.js +0 -0
  404. /package/es/{packages/components → components}/scale-view/src/hooks/use-noData.js +0 -0
  405. /package/es/{packages/components → components}/scale-view/src/utils/judge-types.js +0 -0
  406. /package/es/{packages/components → components}/search-cascader/index.js +0 -0
  407. /package/es/{packages/components → components}/search-cascader/src/components/SearchMenu.js +0 -0
  408. /package/es/{packages/components → components}/search-cascader/src/components/index.js +0 -0
  409. /package/es/{packages/components → components}/search-cascader/src/constants/index.js +0 -0
  410. /package/es/{packages/components → components}/search-cascader/src/hooks/index.js +0 -0
  411. /package/es/{packages/components → components}/search-cascader/src/hooks/useCssVariable.js +0 -0
  412. /package/es/{packages/components → components}/search-cascader/src/utils/index.js +0 -0
  413. /package/es/{packages/components → components}/select-label/index.js +0 -0
  414. /package/es/{packages/components → components}/select-label/src/SelectLabel.vue2.js +0 -0
  415. /package/es/{packages/components → components}/select-person/index.js +0 -0
  416. /package/es/{packages/components → components}/select-person/src/SelectPerson.vue2.js +0 -0
  417. /package/es/{packages/components → components}/select-person/src/utils/index.js +0 -0
  418. /package/es/{packages/components → components}/shortcut-provider/index.js +0 -0
  419. /package/es/{packages/components → components}/shortcut-provider/src/constants/index.js +0 -0
  420. /package/es/{packages/components → components}/shortcut-provider/src/hooks/index.js +0 -0
  421. /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcutSignature.js +0 -0
  422. /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcuts.js +0 -0
  423. /package/es/{packages/components → components}/shortcut-provider/src/types/index.js +0 -0
  424. /package/es/{packages/components → components}/shortcut-provider/src/utils/index.js +0 -0
  425. /package/es/{packages/components → components}/shortcut-setter/index.js +0 -0
  426. /package/es/{packages/components → components}/shortcut-setter/src/types/index.js +0 -0
  427. /package/es/{packages/components → components}/steps-wheel/index.js +0 -0
  428. /package/es/{packages/components → components}/table-filter/index.js +0 -0
  429. /package/es/{packages/components → components}/table-filter/src/components/button-icon/getBtnIcon.js +0 -0
  430. /package/es/{packages/components → components}/table-filter/src/components/classify-filter/helpers/options.js +0 -0
  431. /package/es/{packages/components → components}/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +0 -0
  432. /package/es/{packages/components → components}/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +0 -0
  433. /package/es/{packages/components → components}/table-filter/src/components/render-widget/components/index.js +0 -0
  434. /package/es/{packages/components → components}/table-filter/src/components/render-widget/enums.js +0 -0
  435. /package/es/{packages/components → components}/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +0 -0
  436. /package/es/{packages/components → components}/table-filter/src/components/render-widget/widgetCfgMaps.js +0 -0
  437. /package/es/{packages/components → components}/table-filter/src/components/search-condition/fieldTypeList.js +0 -0
  438. /package/es/{packages/components → components}/table-filter/src/const/dataOptions.js +0 -0
  439. /package/es/{packages/components → components}/table-filter/src/const/index.js +0 -0
  440. /package/es/{packages/components → components}/table-filter/src/directive/flexibleResize.js +0 -0
  441. /package/es/{packages/components → components}/table-filter/src/directive/preventReClick.js +0 -0
  442. /package/es/{packages/components → components}/table-filter/src/directive/resize.js +0 -0
  443. /package/es/{packages/components → components}/table-filter/src/hooks/export.js +0 -0
  444. /package/es/{packages/components → components}/table-filter/src/hooks/useAdvanced.js +0 -0
  445. /package/es/{packages/components → components}/table-filter/src/hooks/useMixins.js +0 -0
  446. /package/es/{packages/components → components}/table-filter/src/hooks/useRenderWidget.js +0 -0
  447. /package/es/{packages/components → components}/table-filter/src/hooks/useTableSearchCon.js +0 -0
  448. /package/es/{packages/components → components}/table-filter/src/hooks/useWordBookutils.js +0 -0
  449. /package/es/{packages/components → components}/table-filter/src/tool/generateDefOptions.js +0 -0
  450. /package/es/{packages/components → components}/table-filter/src/tool/getWidgetType.js +0 -0
  451. /package/es/{packages/components → components}/table-filter/src/tool/options.js +0 -0
  452. /package/es/{packages/components → components}/table-filter/src/tool/resizeSensor.js +0 -0
  453. /package/es/{packages/components → components}/table-filter/src/tool/time-domain.js +0 -0
  454. /package/es/{packages/components → components}/table-filter/src/tool/transformData.js +0 -0
  455. /package/es/{packages/components → components}/table-filter/src/tool/utils.js +0 -0
  456. /package/es/{packages/components → components}/table-filter/src/types/enums.js +0 -0
  457. /package/es/{packages/components → components}/table-filter/src/types/index.js +0 -0
  458. /package/es/{packages/components → components}/table-filter/src/types/tool.js +0 -0
  459. /package/es/{packages/components → components}/time-line/index.js +0 -0
  460. /package/es/{packages/components → components}/vod-chunk-upload/index.js +0 -0
  461. /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-computed.js +0 -0
  462. /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-data.js +0 -0
  463. /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-computed.js +0 -0
  464. /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-data.js +0 -0
  465. /package/es/{packages/components → components}/vod-chunk-upload/src/vod-chunk-upload/index.js +0 -0
  466. /package/es/{packages/components → components}/vod-chunk-upload/src/vod-upload-modal.js +0 -0
  467. /package/es/{packages/shared → shared}/assets/img/failure.png.js +0 -0
  468. /package/es/{packages/shared → shared}/assets/img/no-permission.png.js +0 -0
  469. /package/es/{packages/shared → shared}/assets/img/nodata.png.js +0 -0
  470. /package/es/{packages/shared → shared}/assets/img/notfound.png.js +0 -0
  471. /package/es/{packages/shared → shared}/assets/img/qr.png.js +0 -0
  472. /package/es/{packages/shared → shared}/assets/img/success.png.js +0 -0
  473. /package/es/{packages/shared → shared}/assets/img/video.png.js +0 -0
  474. /package/es/{packages/shared → shared}/assets/img/video_default_cover.png.js +0 -0
  475. /package/es/{packages/shared → shared}/assets/img/xb_big.png.js +0 -0
  476. /package/es/{packages/shared → shared}/assets/img/xb_small.png.js +0 -0
  477. /package/es/{packages/shared → shared}/components/SelectPage/index.js +0 -0
  478. /package/es/{packages/shared → shared}/components/SlotRender/SlotRender.js +0 -0
  479. /package/es/{packages/shared → shared}/components/SlotRender/index.js +0 -0
  480. /package/es/{packages/shared → shared}/components/SvgIcon/index.js +0 -0
  481. /package/es/{packages/shared → shared}/components/TextOverTooltip/index.js +0 -0
  482. /package/es/{packages/shared → shared}/components/VueDraggable/index.js +0 -0
  483. /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentBuilderHelper.js +0 -0
  484. /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentStructure.js +0 -0
  485. /package/es/{packages/shared → shared}/components/VueDraggable/src/core/renderHelper.js +0 -0
  486. /package/es/{packages/shared → shared}/components/VueDraggable/src/core/sortableEvents.js +0 -0
  487. /package/es/{packages/shared → shared}/components/VueDraggable/src/util/console.js +0 -0
  488. /package/es/{packages/shared → shared}/components/VueDraggable/src/util/htmlHelper.js +0 -0
  489. /package/es/{packages/shared → shared}/components/VueDraggable/src/util/string.js +0 -0
  490. /package/es/{packages/shared → shared}/components/VueDraggable/src/util/tags.js +0 -0
  491. /package/es/{packages/shared → shared}/components/VueDraggable/src/vuedraggable.js +0 -0
  492. /package/es/{packages/shared → shared}/components/no-data/index.js +0 -0
  493. /package/es/{packages/shared → shared}/components/player-vod/player.js +0 -0
  494. /package/es/{packages/shared → shared}/components/player-vod/video-modal.js +0 -0
  495. /package/es/{packages/shared → shared}/global/variable.js +0 -0
  496. /package/es/{packages/shared → shared}/index.js +0 -0
  497. /package/es/{packages/shared → shared}/types/index.js +0 -0
  498. /package/es/{packages/shared → shared}/utils/anime.js +0 -0
  499. /package/es/{packages/shared → shared}/utils/colorLog.js +0 -0
  500. /package/es/{packages/shared → shared}/utils/index.js +0 -0
  501. /package/es/{packages/shared → shared}/utils/loadViewer.js +0 -0
  502. /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelBailHook.js +0 -0
  503. /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelHook.js +0 -0
  504. /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesBailHook.js +0 -0
  505. /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesHook.js +0 -0
  506. /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesLoopHook.js +0 -0
  507. /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesWaterfallHook.js +0 -0
  508. /package/es/{packages/shared → shared}/utils/tapable/Hook.js +0 -0
  509. /package/es/{packages/shared → shared}/utils/tapable/HookCodeFactory.js +0 -0
  510. /package/es/{packages/shared → shared}/utils/tapable/SyncBailHook.js +0 -0
  511. /package/es/{packages/shared → shared}/utils/tapable/SyncHook.js +0 -0
  512. /package/es/{packages/shared → shared}/utils/tapable/SyncLoopHook.js +0 -0
  513. /package/es/{packages/shared → shared}/utils/tapable/SyncWaterfallHook.js +0 -0
  514. /package/es/{packages/shared → shared}/utils/utilExpand.js +0 -0
  515. /package/es/{packages/shared → shared}/utils/vexutils.js +0 -0
@@ -0,0 +1 @@
1
+ import{defineComponent as e,useAttrs as l,ref as t,computed as a,watch as i,openBlock as n,createElementBlock as o,createElementVNode as s,normalizeClass as u,unref as c,createCommentVNode as r,Fragment as d,renderList as v,toDisplayString as p,createBlock as f,withCtx as m,createVNode as h,createTextVNode as y,renderSlot as g,withDirectives as b,normalizeStyle as k,withModifiers as A,withKeys as E,vModelText as T,vShow as S,isRef as C}from"vue";import{TEAMS as O,DAYUNITS as D,EVALUATEList1 as L,AGEOPTIONS as R,DATETEAM0 as U,DATETEAM2 as _,DATETEAM3 as w}from"../const/dataOptions.js";import{useMessage as N,NTooltip as V,NTag as B,NIcon as x,NInput as I,NInputNumber as j,NRadioGroup as Y,NRadioButton as H,NDatePicker as P,NSelect as q,NCheckboxGroup as M,NCheckbox as Q,NRadio as F,NModal as W,NCard as $,NButton as G,NForm as z,NFormItem as J,NGrid as K,NGridItem as X}from"naive-ui";import{ChevronUp as Z,ChevronDown as ee,CloseOutline as le,AddOutline as te}from"@vicons/ionicons5";import ae from"../hooks/useMixins.js";import ie from"../hooks/useTableSearchCon.js";import ne from"../hooks/useWordBookutils.js";import oe from"../hooks/useRenderWidget.js";import se from"axios";import ue from"moment";import"moment/locale/zh-cn";import{cloneDeep as ce}from"lodash-es";import re from"../../../../shared/components/SvgIcon/SvgIcon.vue.js";import de from"../components/range-age/index.vue.js";import ve from"../components/multi-select/multi-select.vue.js";import pe from"../components/c-tree-select/tree-select.vue.js";import fe from"../components/render-widget/index.vue.js";import me from"../directive/resize.js";import{handleLabelColor as he}from"../../../../shared/utils/vexutils.js";import ye from"../../../../_virtual/plugin-vue_export-helper.js";import ge from"xe-utils";const be={key:0,class:"module-title"},ke={class:"quick-row"},Ae={class:"age-container"},Ee={class:"label-attr-container"},Te={class:"edit-label"},Se={class:"label-content"},Ce={key:0,class:"label-unfold-btn"},Oe=["onClick"],De=s("span",null,"收起",-1),Le=s("span",null,"展开",-1),Re={class:"tag-evaluate"},Ue={class:"ant-calendar-picker",style:{width:"300px"}},_e=["onUpdate:modelValue","onKeyup","title","placeholder"],we=s("span",{class:"ant-calendar-range-picker-separator"}," ~  ",-1),Ne=["onUpdate:modelValue","title","onKeyup","placeholder"],Ve=["onClick"],Be=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],xe={key:3},Ie=["onClick"],je={class:"check-date"},Ye={class:"age-wrap"},He=s("p",null,"年龄",-1),Pe=["onClick"],qe={class:"module-title"},Me={class:"quick-row"},Qe={key:0},Fe={class:"edit-label"},We={class:"edit-content"},$e={class:"label-content"},Ge={class:"tag-evaluate"},ze={class:"ant-calendar-picker",style:{width:"300px"}},Je=["onUpdate:modelValue","onKeyup","title","placeholder"],Ke=s("span",{class:"ant-calendar-range-picker-separator"}," ~  ",-1),Xe=["onUpdate:modelValue","title","onKeyup","placeholder"],Ze=["onClick"],el=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],ll=s("span",{class:"ant-calendar-picker-icon"},null,-1),tl={key:3},al=["onClick"],il={class:"check-date"},nl={class:"svg-wrap"},ol=["onDblclick","onClick"],sl={key:0,class:"s-content"};var ul=ye(e({__name:"QuickSearch",props:{visible:{type:Boolean},searchFieldList:{type:Array,default:()=>[]},searchFieldLimit:{type:Object,default:()=>({})},quickSearchConfig:{type:Array,default:()=>[]},source:{type:String,default:"editTable"},quickSearchListObj:{type:Object,default:()=>({})},originConditionList:{type:Array,default:()=>[]},isOrgAdmin:{type:Boolean,default:!1},lastQuickSearchData:{type:Array,default:()=>[]},show:{type:Boolean},getFilterData:{type:Function},filterApiConfig:{type:Object}},emits:["filterCountChange","onSave","closeModal","updateTableCondiTion","clearQuickSearchConfig"],setup(e,{expose:ye,emit:ul}){const cl=e,rl={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}};se.create({});const dl=l(),vl=N(),{handleGetConfigApi:pl}=ae(),{validConObj:fl,getSearchDefValueByLimit:ml,formatSearchLimit:hl}=ie(),{wordBookutils:yl}=ne(),{isRender:gl,getDefValByRenderWidget:bl,initRenderWidgetCfg:kl,getRenderSearchConObj:Al,getDefValByRenderConObj:El,isExistDefValByRenderWidget:Tl,resetRenderWidgetValue:Sl}=oe(),Cl=t(new Map),Ol=t(null),Dl=t({classname:""});let Ll=t(cl.visible),Rl=t(!1),Ul=t([]),_l=t([]),wl=t([]),Nl=t({}),Vl=t(),Bl=t(""),xl=t(O),Il=t([]),jl=t(""),Yl=t(D),Hl=t(!1),Pl=t("700px"),ql=t("60vh"),Ml=t(L);t(R),t(8);let Ql=t([]),Fl=t(!1),Wl=t(""),$l=t(!1),Gl=t(U),zl=t(_),Jl=t(w),Kl=a((()=>function(e){var l;return"PERCENTAGE"===(null==(l=e.settingObj)?void 0:l.attr)||!1})),Xl=a((()=>function(e){return`${e.advanceColWidth||200}px`})),Zl=a((()=>-1!=wl.value.findIndex((e=>e.fieldList&&e.fieldList.length)))),et=a((()=>!!Ql.value.length&&Ql.value.some((e=>e.isAdd)))),lt=a((()=>(e,l="name")=>e.alias||e[l]));function tt(...e){return ge.filterOption(...e)}function at(...e){return he(...e)}function it(e){if(!e.length)return Ul.value.forEach(((e,l)=>{if(gl(e))return void(Ul.value[l].value=bl(e));let t=null==e?void 0:e.advanceOptionSetting;"0"==String(t)?Ul.value[l].value=void 0:e.CONVERT&&Array.isArray(e.CONVERT)&&(Ul.value[l].CONVERT=[])})),!1;Ul.value.forEach(((l,t)=>{var a;let i=null==l?void 0:l.advanceOptionSetting,n="0"==String(i),o=e.find((e=>e.field_key===l.columnName));if(o){if(gl(l))return void(Ul.value[t].value=El(o,l));let e=null==o?void 0:o.value;if(Array.isArray(e)&&l.CONVERT&&Array.isArray(l.CONVERT)){let i=(null==(a=e.map)?void 0:a.call(e,(e=>JSON.stringify(e))))||o.value;if(i=i.filter(Boolean),Ul.value[t].CONVERT=i,n&&l.labelList){let e=i[0]?l.labelList.findIndex((e=>e.value==i[0])):"";Ul.value[t].value=e}}else Ul.value[t].value=e}else Ul.value[t].CONVERT=n?"":[]}))}function nt(e){Array.isArray(e)&&e.forEach((e=>{var l,t,a,i,n,o,s,u,c,r,d,v,p;if(kl(e))return;const f=(null==(l=null==e?void 0:e.settingObj)?void 0:l.isPreciseSearch)||"";if(e.setting){e.setting="string"==typeof e.setting?JSON.parse(e.setting):e.setting;let l=null==e?void 0:e.advanceOptionSetting,u="0"==String(l),c=null==(a=null==(t=null==e?void 0:e.setting)?void 0:t.wordbook)?void 0:a.id;if(ge.anyNotEmpty(null==(i=e.setting)?void 0:i.wordbook)&&c){let l="tree"===(null==(o=null==(n=null==e?void 0:e.setting)?void 0:n.wordbook)?void 0:o.showType)?"treeSelect":"SelectMuiWordBook",t=[];return u&&(t=void 0),e.con="QUOTE",e.dataSource=[],e.QUOTE=[],e.value=t,e.com="SelectMui",e.comType=l,void(e.searchPageConfig={keyword:void 0,isRequest:!1,page:1,total:1,hasNextPage:!1})}if((null==(s=null==e?void 0:e.setting)?void 0:s.showSetting)&&(null==e?void 0:e.setting.showSetting.length)>0){e.con="CONVERT";let l=e.setting.showSetting,t=function(e){let{defaultValue:l,defaultValueTitle:t}=(null==e?void 0:e.dictionarieObj)||{},a=null;l&&t&&(a={change_text:t,filter:[{con:"EQ",field_key:e.columnName,value:l}]});return a}(e);if(t&&l.unshift(t),l.forEach((e=>{e.label=e.change_text,e.value=JSON.stringify(e.filter)})),u){e.com="SelectMui",e.comType="SelectMui";const l=e.setting.showSetting.map((e=>(e.labelName=e.change_text,e)));e.labelList=l}return e.setting.showSetting=l,void(e.CONVERT=u?"":[])}}if("LABEL"===(null==(u=e.setting)?void 0:u.attr))e.con="CL",e.LABELAttr=!0,e.labelSelectList=[],e.inputVal="",async function(e,l){let t={},a=await pl(e,"requestedLabel",{},cl.filterApiConfig);a.forEach((e=>{e.isSelect=!1,t[e.typeName]?t[e.typeName].itemList.push({...e}):t[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId,isUnfold:!1,isShowBtn:!1}})),l.labelObj=t,l.labelList=a}(e.setting.labelType,e);else if("EVALUATE"===(null==(c=e.setting)?void 0:c.attr))e.con="CL",e.selecteds=[],e.EVALUATEAttr=!0;else if("AGE"===(null==(r=e.setting)?void 0:r.attr)&&"NUMBER"!=e.fieldType){let l=e.setting.format||"YYYY-MM-DD";l=l.toUpperCase(),e.con="IN",e.ageObj={},e.format=l,e.AGEAttr=!0}else if("PASSWORD"===(null==(d=e.setting)?void 0:d.attr))e.comAttr="PASSWORD",e.PASSWORDTYPE=!0;else if("NUMBER"==e.fieldType)e.con="EQ",e.EQ="",e.NUMBERFiled=!0,e.lessValue="",e.bigValue="","PERCENTAGE"==(null==(v=e.setting)?void 0:v.attr)&&(e.inputUnit="%");else if(null==(p=null==e?void 0:e.fieldType)?void 0:p.includes("DATE"))if(e.settingObj&&"BIRTHDAY"==e.settingObj.attr)e.con="BIRTHDAY",e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct();else{const l=ml(e,cl.searchFieldLimit);let t=Array.isArray(l),a=null==e?void 0:e.advanceOptionSetting,i="1"==String(a);e.con="DATE",e.showDate=i||t,e.marginx=i||t?"mr":"ml",e.DATE={con:t?"IN":null,start_val:t?l[0]:null,end_val:t?l[1]:null};let n=[];switch(a){case"0":n=[];break;case"2":n=(null==zl?void 0:zl.value)||Gl.value;break;case"3":n=(null==Jl?void 0:Jl.value)||Gl.value}e.dateTeam=n}else if("TEXT"==e.fieldType){let l=1==f?"EQ":"CL";e.con=l,e.isPreciseSearch=1==f}else"JSONB"==e.fieldType&&(e.con="EQ",e.EQ="")}))}function ot(e){e.showDate=!e.showDate,e.showDate?e.marginx="mr":e.marginx="ml"}function st(e,l){let{id:t,filterKeys:a,wordbookType:i}=e;$l.value=!0;let n={wordbookId:t,fieldKeys:Array.isArray(a)?JSON.stringify(a):a,wordbookType:i||"WORDBOOK",asyncCount:1,...l};return pl(n,"requestGetWordbookData",{fields:e},cl.filterApiConfig).then((e=>($l.value=!1,"object"==typeof e.data&&(e.data.reqParams=n),e))).catch((()=>{$l.value=!1}))}function ut(e,l,t){e.hasFieldList=!1;const{rows:a,hasFieldList:i,searchPageConfig:n}=yl.handleWordbookData(e,l,t);e.hasFieldList=i,e.dataSource=a,e.searchPageConfig=Object.assign(e.searchPageConfig,n)}function ct(){}function rt(e){return Array.isArray(e.value)?e.value.length:1}function dt(e,l){var t,a,i,n,o,s,u;if(("SelectMui"!=l.comType||"0"!==String(l.advanceOptionSetting))&&e){let e={};(null==(a=null==(t=l.setting)?void 0:t.wordbook)?void 0:a.params)&&(null==(o=null==(n=null==(i=l.setting)?void 0:i.wordbook)?void 0:n.params)||o.forEach((l=>{e[l.p_name]=l.p_value}))),l.settingObj.wordbook&&(e.autograph=l.settingObj.wordbook.autograph),Vl.value=null==(s=l.setting)?void 0:s.wordbook,Bl.value=l.settingObj.wordbook&&l.settingObj.wordbook.autograph,Nl.value=l,st(null==(u=l.setting)?void 0:u.wordbook,e).then((({data:t})=>{ut(l,t,e)}))}}function vt(e,l,t={}){var a,i,n,o,s;if("SelectMui"==l.comType&&"0"===String(l.advanceOptionSetting))return;let u={keyword:e,autograph:Bl.value},c={};((null==(i=null==(a=null==l?void 0:l.setting)?void 0:a.wordbook)?void 0:i.params)||void 0)&&(null==(s=null==(o=null==(n=l.setting)?void 0:n.wordbook)?void 0:o.params)||s.forEach((e=>{c[e.p_name]=e.p_value})));let r={...u,...c,...t};st(Vl.value,r).then((({data:e})=>{ut(Nl.value,e,r)}))}function pt(){let e=mt(Ul.value)||[],l=[];return wl.value.forEach((e=>{let t=mt(e.fieldList);t&&t.length&&l.push({field_key:e.primaryField,valueField:e.relationField,con:"QUOTE_IN",tableId:e.tableId,parameterConversionId:e.parameterConversionId,converFun:e.converFun,preConObj:e.preConObj,relationOrgId:e.relationOrgId,preSqlExpression:e.preSqlExpression,quote_con:{conObj:mt(e.fieldList),sqlExpression:""}})})),e.push(...l),e||[]}function ft(){Pl.value="700px",ql.value="60vh",Hl.value=!1}function mt(e){var l,t,a,i,n,o;if(!Array.isArray(e))return[];let s=[];for(let u=0;u<e.length;u++){let c=e[u];const r=Al(c);if(r){s.push(r);continue}let d="",v="",p=null==c?void 0:c.advanceOptionSetting,f="0"===String(p);if(c.EQ||c.CL)d=c.EQ||c.CL,"PERCENTAGE"===(null==(l=c.settingObj)?void 0:l.attr)&&(d=Number(d)/100),c.EVALUATEAttr&&(d=c.selecteds.join("|#|"));else if("SelectMui"==c.comType&&f&&c.labelList){let e=c.value,l=null==c?void 0:c.labelList[e];d="CONVERT"==c.con?(null==l?void 0:l.filter)?[null==l?void 0:l.filter]:void 0:(null==l?void 0:l.labelName)?[null==l?void 0:l.labelName]:void 0}else if("QUOTE"==c.con&&ge.anyNotEmpty(c.value))if("treeSelect"==c.comType){let e=c.value;"string"==typeof e?([e]=e.split("<&=&>"),d=e):Array.isArray(e)&&(e=e.map((e=>{let[l]="string"==typeof e?e.split("<&=&>"):[];return l})),d=e.join("|#|"))}else d=f?c.value:c.value.join("|#|");else if(ge.anyNotEmpty(c.CONVERT)&&Array.isArray(c.CONVERT))d=c.CONVERT.map((e=>e&&ge.isJSON(e)?JSON.parse(e):e));else if(c.DATE&&!c.AGEAttr)(c.DATE.start_val||c.DATE.end_val)&&(c.DATE.con="IN"),c.tempCon=c.DATE.con,c.start_val=c.DATE.start_val||null,c.end_val=c.DATE.end_val||null;else if(c.BIRTHDAY){let e=!1;if(((null==(a=null==(t=c.BIRTHDAY)?void 0:t.limit_date)?void 0:a.length)>0||c.BIRTHDAY.start_val||c.BIRTHDAY.end_val)&&(c.BIRTHDAY.con="IN"),c.tempCon=c.BIRTHDAY.con,e=!(!c.BIRTHDAY.start_val&&!c.BIRTHDAY.end_val),c.BIRTHDAY.start_val){if(!ge.validateBirthday(c.BIRTHDAY.start_val,c.title,c.BIRTHDAY.unit))return}if(c.BIRTHDAY.end_val){if(!ge.validateBirthday(c.BIRTHDAY.end_val,c.title,c.BIRTHDAY.unit))return}if(+c.BIRTHDAY.start_val>+c.BIRTHDAY.end_val)return void vl.warning(`${c.title}请输入有效范围`);v=jl.value||"",c.unit=e&&c.BIRTHDAY.unit||"",c.start_val=c.BIRTHDAY.start_val||null,c.end_val=c.BIRTHDAY.end_val||null}if(c.LABELAttr)if(Object.keys(c.labelObj||{}).length>0&&Array.isArray(c.labelSelectList)){let e=[];c.labelSelectList.forEach((l=>{e.push(l.labelName)})),d=e.join("|#|")}else d=c.inputVal;else if(c.EVALUATEAttr)d=c.selecteds.join("|#|");else if(c.AGEAttr)d="";else if(c.NUMBERFiled&&(c.lessValue||c.bigValue)){let e=null!=(i=c.lessValue)?i:"",l=null!=(n=c.bigValue)?n:"";"PERCENTAGE"===(null==(o=c.setting)?void 0:o.attr)&&(e=(e||0===e)&&Number(e)/100||"",l=(l||0===l)&&Number(l)/100||""),d=`${e}~${l}`}d&&ge.isString(d)&&(d=d.trim());let m={field_key:c.columnName,con:c.DATE||c.BIRTHDAY?c.tempCon:c.con,value:d,limit_date:v||"",start_val:c.start_val||null,end_val:c.end_val||null,unit:c.unit||"",id:c.id};s.push(m)}let u=xl.value.map((e=>e.con));return s.filter((e=>e.value||e.limit_date||e.start_val||e.end_val||u.includes(e.con)))}function ht(e){return e&&e<ue().startOf("year")||e>ue().endOf("year")}function yt(e,l){l[0]?jl.value=l.join("~"):jl.value=""}function gt(){var e;null==(e=Ol.value)||e.validate((e=>{var l;if(e)return;let t=pt();t.length||(t=[]);let a=null==(l=Ql.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await pl(e,"requestSaveTableCondiTion",{},cl.filterApiConfig))return;Rl.value=!1,null==(l=Ol.value)||l.restoreValidation(),Dl.value.classname="",Ql.value=[],ul("updateTableCondiTion"),Tt(),ft(),ul("closeModal")}catch(e){console.log(e)}}({tableId:dl.tableId||"",setting:JSON.stringify({displayCategory:a,name:Dl.value.classname,conObj:t}),conditionList:JSON.stringify(cl.originConditionList)})}))}function bt(e){var l;const t=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{t&&t.focus()})),Fl.value=!0}function kt(){Fl.value=!1,Wl.value&&(Ql.value.forEach((e=>e.selected=!1)),Ql.value.push({disabled:!0,value:Wl.value,selected:!0,isAdd:!0}),Wl.value="")}function At(e,l){!function(e,l){let{conditionList:t=[]}=cl.quickSearchListObj||{};if(!t||t&&0===(null==t?void 0:t.length))return void Ql.value.splice(e,1);let a=t.filter((e=>e.displayCategory===l.value));if(!a||!a.length)return void Ql.value.splice(e,1);vl.error("该分类下有已有数据,请删除该分类下的筛选集后重试!")}(e,l)}function Et(){Rl.value=!1}function Tt(){St(Ul.value),wl.value.forEach((e=>{St(e.fieldList)})),"editTable"!==cl.source?null==dl||dl.clearQuickSearchConfig():ul("clearQuickSearchConfig")}function St(e){Array.isArray(e)&&e.forEach((e=>{if(Sl(e))return;let l=null==e?void 0:e.advanceOptionSetting,t="0"===String(l);var a;e.EQ||e.CL?(e.EQ="",e.CL=""):"QUOTE"==e.con&&ge.anyNotEmpty(e.value)?(e.QUOTE=[],e.value=[]):"SelectMui"==e.com&&"CONVERT"==e.con&&t?(e.CONVERT=[],e.value=void 0):ge.anyNotEmpty(e.CONVERT)?e.CONVERT=[]:e.DATE?(e.showDate="1"==String(l),e.marginx="ml",e.DATE={con:null,start_val:null,end_val:null}):e.BIRTHDAY?(e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct()):e.LABELAttr?(a=e).labelSelectList&&(a.labelSelectList.length=0,a.inputVal="",Object.entries(a.labelObj||{}).forEach((e=>{let[,l]=e;l.itemList.forEach((e=>{e.isSelect=!1}))}))):e.EVALUATEAttr?e.selecteds=[]:e.AGEAttr?function(e){e.start_val=null,e.end_val=null;let l=Cl.value.get(`${e.columnName}_AGEAttr`);l&&(Array.isArray(l)&&(l=l[0]||!1),null==l||l.reset())}(e):e.NUMBERFiled&&wt(e)}))}function Ct(){return jl.value="",{con:null,limit_date:[],start_val:null,end_val:null,unit:"YEAR",units:Yl.value.filter((e=>1===e.units))}}function Ot(e,l){e&&(e.con==l?e.con=null:("IN"===e.con&&(e.start_val=null,e.end_val=null),e.con=l))}function Dt(e){var l;return(null==(l=null==e?void 0:e.color)?void 0:l.split("-")[1])||"yellow"}function Lt(e,l,t){let a=t.labelSelectList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;a.push(l)}else{let e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}l.isSelect=e,t.labelSelectList=a}function Rt(e,l,t){if(e)t.selecteds.push(l.value);else{let e=t.selecteds.findIndex((e=>e===l.value));t.selecteds.splice(e,1)}}function Ut(e){e&&Cl.value.set(e.dataName,e)}function _t(e){if(e.lessValue&&e.bigValue){const l=e.lessValue,t=e.bigValue;t<l&&(e.lessValue=t,e.bigValue=l)}else;}function wt(e){e.lessValue="",e.bigValue=""}function Nt(e,l,t){var a,i;let n=!1;if("start"===t){const t=null==(a=null==l?void 0:l.DATE)?void 0:a.end_val;n=t&&e>ue(t).valueOf()}else if("end"===t){const t=null==(i=null==l?void 0:l.DATE)?void 0:i.start_val;n=t&&e<=ue(t).valueOf()}let o=String(null==l?void 0:l.advanceOptionSetting);return["2","3"].includes(o)?"2"===o?e>=ue().endOf("day")||n:"3"===o&&e&&e<ue().startOf("day")||n:n}return i((()=>cl.visible),(e=>{Ll.value=e,it(cl.quickSearchConfig)})),i((()=>cl.searchFieldList),(e=>{e&&e.length>0&&(_l.value=dl.relationTableList?dl.relationTableList:[],function(){Ul.value=[],wl.value=[],Il.value=xl.value.filter((e=>"THIS_YEAR"!=e.con&&"NEXT_YEAR"!=e.con&&"LAST_YEAR"!=e.con));let e=ce(cl.searchFieldList).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[],l=ce(_l.value);wl.value=l.map((e=>({fieldList:e.fieldList.fieldList.filter((e=>1==e.isShowSearch&&1!=e.filterExplicit)),tableName:e.tableName,primaryField:e.primaryField,parameterConversionId:e.parameterConversionId,tableId:e.tableId,relationField:e.relationField,converFun:e.converFun,relationOrgId:e.relationOrgId,preConObj:e.preConObj,preSqlExpression:e.preSqlExpression}))),Ul.value=e||[],nt(Ul.value),wl.value.forEach((e=>{nt(e.fieldList)}))}())}),{immediate:!0,deep:!0}),i((()=>cl.quickSearchConfig),(e=>{it(e)}),{deep:!0}),i((()=>cl.quickSearchListObj),(e=>{e&&Object.keys(e).length?function(){let e=[],{displayCategoryList:l=[]}=cl.quickSearchListObj;l&&l.length?(l.forEach((l=>{"未分类"!==l&&e.push({disabled:!0,selected:!1,value:l})})),Ql.value=e):Ql.value=[]}():Ql.value=[]}),{immediate:!0,deep:!0}),i((()=>Ul),(()=>{const e=pt()||[];ul("filterCountChange",e.length)}),{deep:!0}),i((()=>cl.show),(e=>{e&&cl.lastQuickSearchData.length>0&&(Ul.value=ce(cl.lastQuickSearchData))}),{deep:!0}),ye({openSaveToCalss:function(){let e=pt();if(console.log("conObj>>>>>",e),e)if(e.length>0){if(!fl(e,cl.searchFieldList,cl.searchFieldLimit))return;Rl.value=!0}else vl.warning("请设置搜索条件")},clearData:Tt,onSave:function(){let e=function(){let e=[...pt()||[]];return cl.quickSearchConfig.forEach((l=>{e.find((e=>l.field_key===e.field_key))||Ul.value.find((e=>e.columnName===l.field_key))||e.push(l)})),e||[]}();return ft(),!!fl(e,cl.searchFieldList,cl.searchFieldLimit)&&(ul("onSave",e),Ul.value)}}),(l,t)=>(n(),o("div",null,[s("div",{class:u(["quick-search-block",{"quick-search-table":"editTable"===e.source}])},["editTable"===e.source&&c(Zl)?(n(),o("p",be,"高级筛选")):r("v-if",!0),(n(!0),o(d,null,v(c(Ul),(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr||t._isBlock}]),key:t.sid},[s("div",ke,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+"  ",1),e.searchFieldLimit[t.columnName]&&e.searchFieldLimit[t.columnName].tips?(n(),f(c(V),{key:0},{trigger:m((()=>[h(c(re),{"icon-class":"xitongtubiaodaohangtubiaowenti"})])),default:m((()=>[y(" "+p(e.searchFieldLimit[t.columnName].tips),1)])),_:2},1024)):r("v-if",!0)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[r(" 直接渲染组件 "),t.isRender?(n(),f(fe,{key:0,cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e},null,8,["cfg","modelValue","onUpdate:modelValue"])):t.AGEAttr?(n(),o(d,{key:1},[r(" age "),r(" TODO: 清除,跨表 "),s("div",Ae,[h(de,{ref_for:!0,ref:Ut,dataName:`${t.columnName}_AGEAttr`,format:t.format,onChange:e=>function(e,l){let t=e.star_val,a=e.end_val;l.start_val=isNaN(t)?null:t,l.end_val=isNaN(a)?null:a}(e,t)},null,8,["dataName","format","onChange"])])],2112)):t.LABELAttr?(n(),o(d,{key:2},[r(" age "),r(" label "),s("div",Ee,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Te,p(l)+":",1),s("div",{class:u(["edit-content quickSearch_label-container",{"label-container-height":!e.isUnfold&&e.itemList&&e.isShowBtn}])},[r(' <div class="label-content" v-resize="el => onResize(el, v)"> '),b((n(),o("div",Se,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{type:"success",checked:e.isSelect,checkable:"",key:l,style:k(at(e)),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"topLeft"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","style","onUpdate:checked"])))),128))])),[[c(me),l=>function(e,l){let t=e.offsetHeight||0;t&&(t>80?l.isShowBtn=!0:(l.isShowBtn=!1,l.isUnfold=!1))}(l,e)]])],2),e.itemList&&e.isShowBtn?(n(),o("div",Ce,[r(" {{ v.isUnfold }} "),s("span",{onClick:A((l=>function(e){e.isUnfold=!e.isUnfold}(e)),["stop"])},[e.isUnfold?(n(),o(d,{key:0},[De,h(c(x),{component:c(Z),size:"16"},null,8,["component"])],64)):(n(),o(d,{key:1},[Le,h(c(x),{component:c(ee),size:"16"},null,8,["component"])],64))],8,Oe)])):r("v-if",!0)])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e,clearable:""},null,8,["value","onUpdate:value"]))])],2112)):t.EVALUATEAttr?(n(),o(d,{key:3},[r(" label "),r(" EVALUATE "),s("div",Re,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:4},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",Ue,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,_e),[[T,t.lessValue]]),we,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Ne),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},Be,8,Ve)):r("v-if",!0)],2)])],2112)):(n(),o(d,{key:5},[r(" NUMBERFiled "),r(" other "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:{"`width":"${getEleWidth(item)}`"},value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["CL-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:"",placeholder:t.placeholder},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["style","value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["EQ-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con&&t.DATE?(n(),o("div",xe,[h(c(Y),{value:t.DATE.con,"onUpdate:value":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(t.dateTeam,(e=>b((n(),f(c(H),{hideSplitor:t.showDate,onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["hideSplitor","onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["value","onUpdate:value"]),b(s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"选择时间",10,Ie),[[S,"1"!=t.advanceOptionSetting]]),b(s("div",je,[h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"开始时间","is-date-disabled":e=>Nt(e,t,"start"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"]),y("   "),h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"结束时间","is-date-disabled":e=>Nt(e,t,"end"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"])],512),[[S,t.showDate]])])):r("v-if",!0),r(" BIRTHDAY "),"BIRTHDAY"==t.con&&t.BIRTHDAY?(n(),o("div",{key:4,class:u({"birthday-item":t.showDate})},[t.showDate?(n(),o(d,{key:1},[s("div",null,[h(c(P),{value:t.BIRTHDAY.limit_date,"onUpdate:value":[e=>t.BIRTHDAY.limit_date=e,yt],type:"daterange",disabled:ht,format:"MM-dd"},null,8,["value","onUpdate:value"])]),s("div",Ye,[He,h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.start_val,"onUpdate:value":e=>t.BIRTHDAY.start_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.end_val,"onUpdate:value":e=>t.BIRTHDAY.end_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(q),{value:t.BIRTHDAY.unit,"onUpdate:value":e=>t.BIRTHDAY.unit=e,"default-value":"YEAR",filterable:"",filter:tt,clearable:"",options:t.BIRTHDAY.units,"label-field":"name","value-field":"con"},null,8,["value","onUpdate:value","options"])])],64)):(n(),f(c(Y),{key:0,value:t.BIRTHDAY.con,"onUpdate:value":e=>t.BIRTHDAY.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(Il),(e=>(n(),f(c(H),{onClick:A((l=>function(e,l){e&&(jl.value="",Object.assign(e,Ct()),Ot(e,l))}(t.BIRTHDAY,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>function(e){e.showDate=!e.showDate}(t)},"切换",10,Pe)],2)):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:5},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:6},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128)),r(" 跨表 "),(n(!0),o(d,null,v(c(wl),((t,a)=>(n(),o(d,null,[t.fieldList&&t.fieldList.length?(n(),o("div",{key:a},[s("p",qe,p(null==t?void 0:t.tableName),1),(n(!0),o(d,null,v(t.fieldList,(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr}]),key:t.sid},[s("div",Me,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+"  ",1)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[t.LABELAttr?(n(),o("div",Qe,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Fe,p(l)+":",1),s("div",We,[s("div",$e,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{checked:e.isSelect,checkable:"",key:l,class:u(["label-tag-"+Dt(e)]),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"top-start"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","class","onUpdate:checked"])))),128)),r(" </a-checkable-tag> ")])])])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e},null,8,["value","onUpdate:value"]))])):t.EVALUATEAttr?(n(),o(d,{key:1},[r(" EVALUATE "),s("div",Ge,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:2},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",ze,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Je),[[T,t.lessValue]]),Ke,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Xe),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},el,8,Ze)):r("v-if",!0),ll],2)])],2112)):(n(),o(d,{key:3},[r(" NUMBERFiled "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:""},null,8,["style","value","onUpdate:value"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},null,8,["style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con?(n(),o("div",tl,[h(c(Y),{modelValue:t.DATE.con,"onUpdate:modelValue":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(xl),(e=>b((n(),f(c(H),{onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["modelValue","onUpdate:modelValue"]),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"开始时间",10,al),b(s("div",il,[h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"起始日期",style:{width:"120px","min-width":"195px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"]),y("   "),h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"截止日期",style:{width:"120px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"])],512),[[S,t.showDate]])])):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:4},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:5},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128))])):r("v-if",!0)],64)))),256))],2),h(c(W),{show:c(Rl),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:gt,onNegativeClick:Et,class:"quickSearch-saveToClass-modal"},{default:m((()=>[h(c($),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":m((()=>[s("div",nl,[h(c(x),{component:c(le),size:"24",onClick:Et},null,8,["component"])])])),footer:m((()=>[h(c(G),{onClick:Et},{default:m((()=>[y("取消")])),_:1}),h(c(G),{type:"info",onClick:gt},{default:m((()=>[y("确认")])),_:1})])),default:m((()=>[h(c(z),{ref_key:"formRef",ref:Ol,"label-placement":"left",rules:rl,model:Dl.value},{default:m((()=>[h(c(J),{label:"筛选集名称",path:"classname"},{default:m((()=>[h(c(I),{value:Dl.value.classname,"onUpdate:value":t[0]||(t[0]=e=>Dl.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),h(c(K),{cols:24},{default:m((()=>[h(c(X),{span:5,style:{"text-align":"right",color:"rgba(0, 0, 0, 0.85)"}},{default:m((()=>[y("父类名称:")])),_:1}),h(c(X),{span:18},{default:m((()=>[(n(!0),o(d,null,v(c(Ql),((e,l)=>(n(),o("div",{class:u(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:t=>function(e,l){e.disabled&&(Ql.value.forEach(((e,t)=>{t!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(n(),o("div",sl,[s("span",null,p(e.value),1)])):(n(),f(c(I),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),h(c(x),{component:c(le),class:"anticon-close",size:"20",onClick:t=>At(l,e)},null,8,["component","onClick"])],42,ol)))),128)),c(et)?r("v-if",!0):(n(),o(d,{key:0},[b(h(c(G),{dashed:"",icon:"plus",class:"ant-btn",onClick:bt},{default:m((()=>[h(c(x),{component:c(te),size:"20"},null,8,["component"]),y("添加分类")])),_:1},512),[[S,!c(Fl)]]),b(h(c(I),{style:{width:"100px"},class:"edit-tag",value:c(Wl),"onUpdate:value":t[1]||(t[1]=e=>C(Wl)?Wl.value=e:Wl=e),valueModifiers:{trim:!0},onBlur:kt,maxLength:10},null,8,["value"]),[[S,c(Fl)]])],64))])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{ul as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,openBlock as t,createBlock as a,unref as l,withCtx as n,createElementBlock as i,Fragment as s,renderList as p,createVNode as r,createTextVNode as u,toDisplayString as m,createElementVNode as o,createCommentVNode as c}from"vue";import{NTimeline as f,NTimelineItem as y,NSpace as _,NButton as d}from"naive-ui";import v from"../../../_virtual/plugin-vue_export-helper.js";const x={class:"content"},T={class:"content-name"},g={key:0,class:"content-extra"};var k=v(e({__name:"TimeLine",props:{items:{type:Array,default:()=>[]}},setup:e=>(v,k)=>(t(),a(l(f),{class:"c-time-line"},{default:n((()=>[(t(!0),i(s,null,p(e.items,((e,f)=>(t(),a(l(y),{key:f,type:e.type},{default:n((()=>[(t(!0),i(s,null,p(e.subItem,((s,p)=>(t(),a(l(_),{key:p,vertical:"",align:"start"},{default:n((()=>[r(l(d),{strong:"",secondary:"",type:e.type},{default:n((()=>[u(m(s.title),1)])),_:2},1032,["type"]),o("div",x,[r(l(_),{justify:"space-between"},{default:n((()=>[o("span",T,m(s.name),1),o("span",null,m(s.time),1)])),_:2},1024),s.extraText?(t(),i("p",g,m(s.extraText),1)):c("v-if",!0),o("p",null,m(s.content),1)])])),_:2},1024)))),128))])),_:2},1032,["type"])))),128))])),_:1}))}),[["__file","TimeLine.vue"]]);export{k as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as l,reactive as t,onMounted as o,nextTick as i,onUnmounted as n,resolveComponent as a,openBlock as r,createElementBlock as s,createCommentVNode as c,createVNode as u,unref as d,withCtx as p,createElementVNode as f,Fragment as m,renderList as g,withDirectives as v,normalizeClass as h,toDisplayString as _,vShow as k,createTextVNode as y}from"vue";import L from"spark-md5";import C from"axios";import{useMessage as x,NIcon as z,NProgress as S,NButton as w}from"naive-ui";import{UploadProps as F,getUploadData as b,statusSet as I}from"./hooks/upload-data.js";import{UploadComputed as A}from"./hooks/upload-computed.js";import{FolderOutline as M,DocumentAttachOutline as q,Close as B}from"@vicons/ionicons5";import E from"../../../_virtual/plugin-vue_export-helper.js";const U={class:"c-chunk-upload-container"},$=f("p",null,"点击或将文件拖拽到这里上传",-1),D={class:"c-file-list-conatiner"},N={key:0,class:"file-list"},j={class:"c-f-item"},P={class:"c-f-item-icon"},R={class:"c-f-item-info"},T={class:"c-f-item-info-title"},G={class:"title"},J={class:"size"},K={class:"c-f-item-info-time"},O={class:"c-f-item-btn"},H={class:"upload-btn"},Q=f("span",null,"上传新文件",-1);var V=E(e({__name:"chunk-upload-new",props:{...F},emits:["getSumbitList","closeUpload"],setup(e,{expose:F,emit:E}){const V=e,{UploadState:W}=b();var X=C.create({});const Y=l(null),Z=l(null),ee=t(W),le=x(),{initState:te,uploadArguments:oe,autoStart:ie,btnAttrs:ne}=A(V,ee);te();const ae=e=>{let l=new FileReader;(new Date).getTime();let t=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,o=0;const i=1024e4;let n=Math.ceil(e.size/i),a=new L.ArrayBuffer;function r(){let n=o*i,a=n+i>=e.size?e.size:n+i;l.readAsArrayBuffer(t.call(e.file,n,a))}I(e,"md5"),e.pause(),r(),l.onload=l=>{if(a.append(l.target.result),o<n)o++,r();else{let l=a.end();se(l,e)}},l.onerror=function(){console.warn(`文件${e.name}读取出错,请检查该文件`),e.cancel()}},re=e=>{let l=(e=>{const l=(null==V?void 0:V.max_size)||"";if(!l)return!1;let t=e.size/1024<+l;return t||le.error(`附件大小超过了${(e=>{let l;return e?(l=+(+e).toFixed(2),l<1024?l+"KB":l<1048576?(l/1024).toFixed(2)+"MB":l<1073741824?(l/1048576).toFixed(2)+"GB":void 0):l})(l)}`),!t})(e);((e,l)=>{let t=!1;if(e){if(e.includes("*"))return!1;let o=l.getExtension();e.includes(o)||(le.error(`不支持${o}格式`),t=!0)}return t})(V.propsCategoryMap,e)||(()=>{var e,l;if(V.maxLength>0){let t=(null==(e=V.defaultList)?void 0:e.length)||0,o=(null==(l=ee.configList)?void 0:l.length)||0;if(V.maxLength<=t+o)return le.error(`最多只能上传${V.maxLength}个`),!0}return!1})()||l?e.ignored=!0:(e.file_upload_status="",I(e,"init"),e.crm_upload_config={...e},ee.configList.push(e),I(e,"ready"),ie.value&&(e.pause(),ae(e)))},se=async(e,l)=>{try{const t=await((e,l,t)=>{let o=ee.uploadConfig.checkFileMd5Exist;return new Promise(((i,n)=>{const a={md5:l,fileName:e,...oe.value};X.get(o,{params:a}).then((e=>{i(e.data)})).catch((e=>{I(t,"failed"),console.log("verifyUpload -> err",e)}))}))})(l.name,e,l);if("00000"==t.code){const{data:e}=t||{};if(e.presence)return I(l,"complete"),l.crm_chkuns_complete_status="complete",void(l.crm_uploade_resInfo={url:e.path,name:l.name,size:l.size})}l.uniqueIdentifier=e,I(l,"uploading"),l.resume()}catch(e){console.log(e,"chunk-upload-computeMD5Success")}},ce=()=>{},ue=(e,l,t)=>{let o=JSON.parse(t);o.success?(I(l,"merging"),((e,l)=>{new Promise(((t,o)=>{const i={...e,...oe.value};X.post(ee.uploadConfig.partFileMerge,i,{timeout:0}).then((({data:e})=>{if("00000"===e.code){if(I(l,"complete"),Y.value){let t=(null==e?void 0:e.data)||{};Y.value.fileList.forEach((e=>{e.uniqueIdentifier==l.uniqueIdentifier&&(e.crm_chkuns_complete_status="complete",e.crm_uploade_resInfo={url:t.path||t.url,name:l.name,size:l.size,...t})}))}t()}else le.error("上传失败"),t()})).catch((e=>{console.log("mergeRequest -> err",e),o()}))}))})({md5:l.uniqueIdentifier,fileName:l.name,fileChunkNum:l.chunks.length},l),o.needMerge&&I(l,"merging")):I(l,"failed")},de=()=>{var e,l;let t=(null==(l=null==(e=null==Z?void 0:Z.value)?void 0:e.$el)?void 0:l.querySelector("input"))||!1;t&&t.click()},pe=(e,l="text")=>((null==e?void 0:e.file_upload_status)||{})[l],fe=e=>["complete","failed"].includes(pe(e,"status")),me=(e,l)=>{I(l,"failed")},ge=(e,l)=>{if("complete"==l.crm_chkuns_complete_status)return 100;return parseInt(100*e+"",10)},ve=()=>{var e;0!=((null==(e=ee.configList)?void 0:e.length)||0)?i((()=>{ee.configList.forEach((e=>{(e.file_upload_status||{}).status&&(I(e,"uploading"),ae(e))}))})):le.info("请选择文件")},he=()=>{var e,l;console.log("cancelcancelcancel"),null==(l=null==(e=Y.value)?void 0:e.uploader)||l.cancel(),ee.configList=[],E("closeUpload",!1)};return(()=>{try{console.log(V.getChunkUploadConfig),V.getChunkUploadConfig().then((e=>{console.log(e),ee.uploadConfig={...e},ee.headers={Authorization:"bearer "+ee.uploadConfig.token},(()=>{for(const e in ee.headers)X.defaults.headers.common[e]=ee.headers[e];X.defaults.withCredentials=ee.withCredentials})()}))}catch(e){console.log(e)}})(),o((()=>{i((()=>{}))})),n((()=>{})),F({cancel:he,confirm:()=>{console.log("ininini");const{configList:e}=ee;0!==((null==e?void 0:e.length)||0)?e.filter((e=>!["complete","failed"].includes(e.file_upload_status.status))).length>0?le.info("请上传文件或者等待文件上传完成!"):((()=>{var e;let l=(null==(e=null==ee?void 0:ee.configList)?void 0:e.length)||0,t=[];l>0&&ee.configList.forEach((e=>{"complete"==e.crm_chkuns_complete_status&&t.push({size:e.size,...e.crm_uploade_resInfo})})),E("getSumbitList",t)})(),he()):le.info("请选择文件上传")}}),(e,l)=>{const t=a("uploader-unsupport"),o=a("uploader-drop"),i=a("uploader-file"),n=a("uploader-list"),L=a("uploader-btn"),C=a("uploader");return r(),s("div",U,[c(" 上传 "),u(C,{ref_key:"uploaderDom",ref:Y,options:ee.options,autoStart:d(ie),onFileAdded:re,onFileSuccess:ue,onFileProgress:ce,onFileError:me,class:"uploader-app"},{default:p((()=>[u(t),u(o,null,{default:p((()=>[f("div",{class:"c-drap-container dragger-btn",onClick:de},[u(d(z),{component:d(M)},null,8,["component"]),$])])),_:1}),u(n,null,{default:p((e=>[f("div",D,[e?(r(),s("ul",N,[(r(!0),s(m,null,g(e.fileList,(e=>(r(),s("li",{key:e.id},[v(u(i,{class:h("file_"+e.id),ref_for:!0,ref:"files",file:e,list:!0},{default:p((l=>[f("div",{class:h(["c-file-container",{"c-file-boder-bottom":fe(e)}])},[f("div",j,[f("div",P,[u(d(z),{component:d(q),style:{color:"#5585f5"}},null,8,["component"])]),f("div",R,[f("div",T,[f("span",G,_(e.name),1),f("span",J,"("+_(l.formatedSize)+")",1)]),f("div",K,[f("span",null,_(l.formatedTimeRemaining),1),f("span",null,_(pe(e,"text")),1)])]),f("div",O,[u(d(z),{component:d(B),onClick:l=>(e=>{e.cancel?e.cancel():e.remove&&e.remove();let l=e.id;ee.configList=ee.configList.filter((e=>e.id!==l))})(e)},null,8,["component","onClick"])])]),u(d(S),{percentage:ge(ee.progress,e),type:"line","show-indicator":!1},null,8,["percentage"])],2)])),_:2},1032,["class","file"]),[[k,!e.ignored]])])))),128))])):c("v-if",!0)])])),_:1}),f("div",H,[v(u(L,{attrs:d(ne),ref_key:"uploadBtnDom",ref:Z},{default:p((()=>[Q])),_:1},8,["attrs"]),[[k,!1]]),u(d(w),{type:"primary",class:"mgl-10",onClick:ve},{default:p((()=>[y("开始上传")])),_:1})])])),_:1},8,["options","autoStart"])])}}}),[["__file","chunk-upload-new.vue"]]);export{V as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,reactive as o,computed as l,onMounted as i,resolveComponent as s,openBlock as t,createElementBlock as a,withDirectives as r,normalizeClass as n,unref as d,createElementVNode as u,Fragment as p,vShow as m,createCommentVNode as c,createVNode as v,withCtx as f,normalizeStyle as g,toDisplayString as h,createTextVNode as y,withModifiers as k,createBlock as b}from"vue";import C from"xe-utils";import"moment";import{getVodData as U}from"../hooks/vod-data.js";import{VodComputed as L}from"../hooks/vod-computed.js";import V from"../../../../shared/components/player-vod/video-modal.js";import _ from"../vod-upload-modal.js";import{NIcon as D,NButton as O}from"naive-ui";import{PlayCircleSharp as S,PlayCircleOutline as w,RemoveCircleSharp as x}from"@vicons/ionicons5";import j from"../../../../shared/assets/img/video_default_cover.png.js";import F from"../../../../shared/assets/img/video.png.js";import z from"../../../../shared/assets/img/success.png.js";import N from"../../../../_virtual/plugin-vue_export-helper.js";const A={class:"c-upload"},M={class:"chunk-btn-content"},J={class:"c-uploader-btn"},B=["src"],P=u("div",{class:"uploader-text"},[u("p",null,"点击上传"),u("span",{class:"guage-text"},"上传视频(不超过50M)")],-1),E=["src"],T=u("div",{class:"uploader-text"},[u("p",null,"上传视频")],-1),R={class:"vod-wrap c-uploader-preview-wrap"},G={key:0,class:"vod-def-bg vod-uploading"},H={class:"vod-def-bg vod-done"},K=["src"],$=["src"],q={class:"c-icon-wrap"},I={class:"vod-def-bg vod-error"},Q=["src"],W={class:"tooltip-wrap error-wrap"},X=["onClick"];var Y=N(e({__name:"vod-chunk-upload",props:{formData:{type:Object,default:()=>({})},defList:[Array,String],source:String,limitNum:{default:1},defFileList:{default:""},isLock:Boolean,isDetail:{type:Boolean,default:!1},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({})}},emits:["vodFileList"],setup(e,{emit:N}){const Y=e,{VodState:Z}=U(),ee=o(Z),oe={},{isShowBtn:le,maskHeight:ie,showPercent:se,allow_format:te,defaultValue:ae,isDisabled:re,max_size:ne,maxlength:de}=L(Y,ee,{mainForm:oe});console.log(le.value,"----isShowBtn---",Y.formData.title),l((()=>ue()));const ue=()=>{const{formData:e}=Y;let o=[];if(o="guage"===Y.source?Y.defFileList:null==oe?void 0:oe.handleSysParams(oe.defaultValue[e.name]||e.default_val),o=JSON.parse(JSON.stringify(o)),!o)return[];let l=[];return Array.isArray(o)&&(l=[...o]),C.isJSON(o)&&(l=JSON.parse(o)),Array.isArray(l)?(l.forEach((e=>{e.thumbUrl=e.vodCoverUrl||void 0,e.uid=(-Math.random()).toString(),e.status="done"})),ee.fileList=l,console.log(ee.fileList,"----list---list"),pe(l),l):[]},pe=e=>{if(!Array.isArray(e))return"";const{formData:o,source:l}=Y;let i=[];e.forEach((e=>{if("done"===e.status&&(e.response&&"00000"==e.response.code||e.url)){const{data:o={}}=e.response||{};e.url||o.videoUrl;let l=e.vodCoverUrl||o.vodCoverUrl;i.push({name:e.name,size:e.size,url:e.url||o.videoUrl,vodCoverUrl:l,uid:e.id||e.uid||(-Math.random()).toString()})}})),console.log(i,"---resList---",Y.formData.title);let s=JSON.stringify(i);"guage"!==l?oe.baseForm.setFieldsValue({[o.val_key]:s}):N("vodFileList",s,Y.formData)},me=(e,o)=>{let l,i;if(e.type&&(i=e.type),e.url||e.videoUrl){if(l=e.url||e.videoUrl,!i){let e=l.split(".");i=`video/${e[e.length-1]}`}}else l=URL.createObjectURL(e.originFileObj);ee.playerOptions={sources:[{type:i,src:l}]},ee.videoVisible=!0},ce=()=>{ee.videoVisible=!1},ve=()=>{re.value||(ee.chunkUploadVisible=!0)},fe=e=>{let o=[];e.forEach((e=>{let l=e.videoCoverPic||void 0;o.push({name:e.videoName||e.name,url:e.videoUrl||e.url,size:e.size,vodCoverUrl:l,status:"done",uid:(-Math.random()).toString()})})),ee.fileList.push(...o),pe(ee.fileList)},ge=()=>{pe(ee.fileList)};return i((()=>{ue()})),(o,l)=>{const i=s("draggable");return t(),a("div",A,[e.isDetail||Y.isLock?c("v-if",!0):r((t(),a("div",{key:0,class:n(["c-chunk-uploader-btn",{"disable-upload":d(re)}]),onClick:ve},[u("div",M,[u("div",J,["guage"==Y.source?(t(),a(p,{key:0},[u("img",{src:d(F),class:"guage-img"},null,8,B),P],64)):(t(),a(p,{key:1},[u("img",{src:d(F),class:"guage-img"},null,8,E),T],64))])])],2)),[[m,d(le)]]),v(i,{modelValue:ee.fileList,"onUpdate:modelValue":l[0]||(l[0]=e=>ee.fileList=e),animation:"150",itemKey:"uid",disabled:d(re).value,options:ee.draggableOptions,onUpdate:ge,class:"drag-content"},{item:f((({element:o,index:l})=>{return[u("div",R,[c(" 上传中 "),"uploading"===o.status?(t(),a("div",G,[c(" TODO: 封面图补充 "),u("div",{class:"uploading-mask",style:g({height:d(ie)(o)})},[u("span",null,h(d(se)(o.percent))+"%",1)],4)])):"done"===o.status?(t(),a(p,{key:1},[c(" 上传完成 "),u("div",H,[u("img",{src:(i=o,i.thumbUrl?i.thumbUrl:j),class:"vod-cover-img"},null,8,K),u("div",{class:n(["tooltip-wrap",{"is-new":o.isNew}])},[u("img",{src:d(z),class:"upload-img"},null,8,$),y(" 上传成功 ")],2),c(" 播放图标 "),u("div",q,[v(d(D),{component:d(S),class:"icon-play theme_filled",onClick:k((e=>me(o)),["prevent","stop"])},null,8,["component","onClick"]),v(d(D),{component:d(w),class:"icon-play theme_outlined",onClick:k((e=>me(o)),["prevent","stop"])},null,8,["component","onClick"])])])],64)):"error"===o.status?(t(),a(p,{key:2},[c(" 上传失败 "),u("div",I,[u("img",{src:o.thumbUrl,class:"vod-cover-img"},null,8,Q),u("div",W,[u("span",null,h(o.message?o.message:"上传失败,继续上传?"),1),v(d(O),{size:"small",onClick:k((e=>{}),["prevent","stop"])},{default:f((()=>[y("确定")])),_:2},1032,["onClick"])])])],64)):c("v-if",!0),!["done","error"].includes(o.status)||d(re)||e.isDetail?c("v-if",!0):(t(),a("div",{key:3,onClick:k((e=>{return o=l,ee.fileList.splice(o,1),void pe(ee.fileList);var o}),["stop"]),class:"uploader-preview-delete"},[v(d(D),{class:"pre-delete",component:d(x)},null,8,["component"])],8,X))])];var i})),_:1},8,["modelValue","disabled","options"]),ee.videoVisible?(t(),b(d(V),{key:1,visible:ee.videoVisible,formData:Y.formData,playerOptions:ee.playerOptions,onCloseVideoModal:ce},null,8,["visible","formData","playerOptions"])):c("v-if",!0),v(d(_),{modelValue:ee.chunkUploadVisible,"onUpdate:modelValue":l[1]||(l[1]=e=>ee.chunkUploadVisible=e),modalTitle:Y.formData.name,max_size:d(ne),maxLength:d(de),propsCategoryMap:d(te),defaultList:ee.fileList,getChunkUploadConfig:e.getChunkUploadConfig,onGetSumbitList:fe},null,8,["modelValue","modalTitle","max_size","maxLength","propsCategoryMap","defaultList","getChunkUploadConfig"])])}}}),[["__file","vod-chunk-upload.vue"]]);export{Y as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,resolveComponent as a,openBlock as n,createElementBlock as o,createVNode as t,unref as l,withModifiers as s,withCtx as r,createTextVNode as c}from"vue";import{NButton as i}from"naive-ui";import{ChevronBackOutline as g,ChevronForwardOutline as p}from"@vicons/ionicons5";import d from"../../../_virtual/plugin-vue_export-helper.js";var f=d(e({__name:"SelectPage",props:{searchPageConfig:{type:Object,default:()=>({page:1,total:0,hasNextPage:!1})},handleSearchChangePage:{type:Function,default:()=>{}}},setup(e){const d=e;return(e,f)=>{const h=a("n-icon");return n(),o("div",{class:"form-select-btn",onMousedown:f[2]||(f[2]=e=>e.preventDefault())},[t(l(i),{disabled:d.searchPageConfig.page<=1,type:"dashed",block:"",onClick:f[0]||(f[0]=s((e=>d.handleSearchChangePage("prev")),["self","stop"]))},{default:r((()=>[t(h,{component:l(g)},null,8,["component"]),c(" 上一页 ")])),_:1},8,["disabled"]),t(l(i),{disabled:1==+d.searchPageConfig.asyncCount?!d.searchPageConfig.hasNextPage:d.searchPageConfig.page>=d.searchPageConfig.total,type:"dashed",block:"",onClick:f[1]||(f[1]=s((e=>d.handleSearchChangePage("next")),["self","stop"]))},{default:r((()=>[c(" 下一页 "),t(h,{component:l(p)},null,8,["component"])])),_:1},8,["disabled"])],32)}}}),[["__file","SelectPage.vue"]]);export{f as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as l,openBlock as s,createElementBlock as t,mergeProps as a,unref as i,toDisplayString as n,createCommentVNode as r,createElementVNode as o}from"vue";import u from"../../../_virtual/plugin-vue_export-helper.js";const c={key:0},v=["xlink:href"];var f=u(e({__name:"SvgIcon",props:{iconClass:{default:""},title:{default:""},className:null},setup(e){const u=e,f=l((()=>`#icon-${u.iconClass}`)),p=l((()=>u.className?"svg-icon "+u.className:"svg-icon"));return(l,u)=>(s(),t("svg",a({class:i(p),"aria-hidden":"true"},l.$attrs),[e.title?(s(),t("title",c,n(e.title),1)):r("v-if",!0),o("use",{"xlink:href":i(f)},null,8,v)],16))}}),[["__file","SvgIcon.vue"]]);export{f as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as t,computed as l,openBlock as o,createElementBlock as i,createVNode as a,unref as r,withCtx as n,createElementVNode as s,normalizeClass as u,renderSlot as f,toDisplayString as p,createTextVNode as m}from"vue";import{NTooltip as c}from"naive-ui";import v from"xe-utils";import"moment";import d from"../../../_virtual/plugin-vue_export-helper.js";const _={class:"text-over-tooltip-components"};var x=d(e({__name:"TextOverTooltip",props:{content:null,className:null,refName:null,effect:{default:"dark"},placement:{default:"top"},tooltipTitle:{default:""},isAlias:{type:Boolean}},setup(e){const d=e;let x=t(!1);const N=l((()=>{let e=d.tooltipTitle||d.content||"";return v.isNumber(e)?e.toString():e})),T=t(null),h=()=>{x.value=!1};return(t,l)=>(o(),i("div",_,[a(r(c),{effect:e.effect,show:r(x),placement:e.placement},{trigger:n((()=>[s("div",{class:u(["ellipsis",e.className]),onMouseover:l[0]||(l[0]=t=>(e=>{if(d.isAlias)return void(x.value=!0);let t=T.value.parentNode.offsetWidth,l=T.value.offsetWidth;x.value=l>t})(e.refName)),onMouseout:h},[s("i",{ref:e=>{e&&(T.value=e)}},[f(t.$slots,"default"),s("i",null,p(e.content),1)],512)],34)])),default:n((()=>[m(" "+p(r(N)),1)])),_:3},8,["effect","show","placement"])]))}}),[["__file","TextOverTooltip.vue"]]);export{x as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as a,computed as t,openBlock as e,createElementBlock as s,unref as o,createCommentVNode as r,createElementVNode as n,toDisplayString as i}from"vue";import p from"../../assets/img/nodata.png.js";import m from"../../assets/img/no-permission.png.js";import l from"../../assets/img/failure.png.js";import u from"../../assets/img/notfound.png.js";import f from"../../../_virtual/plugin-vue_export-helper.js";const g={class:"no-data-tip NoData-page"},c=["src"],d={key:1};var v=f(a({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(a){const f=a,v=t((()=>{let a=null;switch(f.noDataImg){case"no-permission":a=m;break;case"failure":a=l;break;case"nodata":a=p;break;default:a=u}return a})),D=t((()=>{let a="";switch(f.noDataImg){case"no-permission":a="请联系管理员";break;case"failure":a="请稍后再试"}return a}));return(t,p)=>(e(),s("div",g,[a.showImg?(e(),s("img",{key:0,src:o(v),alt:""},null,8,c)):r("v-if",!0),n("p",null,i(a.noDataTip),1),o(D)?(e(),s("span",d,i(o(D)),1)):r("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{v as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.40",
3
+ "version": "3.1.41-release.0",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "9e95f5bed02e37e4ad12a7805a331776b563f05b"
64
+ "gitHead": "446b6102ae781ff5308f8f3c75e2f951ea0cfce9"
65
65
  }
@@ -1 +0,0 @@
1
- import{batchEnd as n,batchStart as o,batchScopeEnd as t,untrackEnd as i,untrackStart as r,batchScopeStart as c}from"./reaction.js";import{createBoundaryAnnotation as f}from"./internals.js";var e=f((function(){o(),r()}),(function(){i(),n()}));e.scope=f((function(){c(),r()}),(function(){i(),t()}));export{e as action};
@@ -1 +0,0 @@
1
- import{ProxyRaw as e,RawProxy as t}from"../environment.js";import{createAnnotation as r}from"../internals.js";import{buildDataTree as a}from"../tree.js";import{bindTargetKeyWithCurrentReaction as n,runReactionsFromTargetKey as o}from"../reaction.js";var u=r((function(r){var u=r.target,i=r.key,l=r.value,v={value:u?u[i]:l},m={set:function(e){var t=v.value;v.value=e,t!==e&&o({target:v,key:i,type:"set",oldValue:t,value:e})},get:function(){return n({target:v,key:i,type:"get"}),v.value}};return e.set(m,v),t.set(v,m),a(u,i,v),u?(Object.defineProperty(u,i,{value:m,enumerable:!0,configurable:!1,writable:!1}),u):m}));export{u as box};
@@ -1 +0,0 @@
1
- import{ProxyRaw as e,RawProxy as t,ReactionStack as r}from"../environment.js";import{createAnnotation as n}from"../internals.js";import{buildDataTree as o}from"../tree.js";import{isFn as i}from"../checkers.js";import{hasRunningReaction as u,bindComputedReactions as a,isUntracking as c,bindTargetKeyWithCurrentReaction as f,batchStart as l,batchEnd as p,releaseBindingReactions as v,runReactionsFromTargetKey as s}from"../reaction.js";var y=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,d=new WeakMap;function g(e,t){if(e)return y(e,t)||g(m(e),t)}function j(e,t,r){if(!e)return r?i(r)?{get:r}:r:{};var n=function(e,t){var r=e.constructor;if(r===Object||r===Array)return g(e,t);var n=d.get(r)||{},o=n[t];if(o)return o;var i=g(e,t);return d.set(r,n),n[t]=i,i}(e,t);return n||{}}var _=n((function(n){var i=n.target,y=n.key,m=n.value,d={},g={},_=i||d,O=i?y:"value",b=j(i,O,m);function k(){var e;d.value=null===(e=b.get)||void 0===e?void 0:e.call(_)}function P(){if(-1===r.indexOf(P)){v(P);try{r.push(P),k()}finally{r.pop()}}}function h(){return u()&&a(P),c()?k():P._dirty&&(P(),P._dirty=!1),f({target:_,key:O,type:"get"}),d.value}function x(e){var t;try{l(),null===(t=b.set)||void 0===t||t.call(_,e)}finally{p()}}return P._name="ComputedReaction",P._scheduler=function(){P._dirty=!0,s({target:_,key:O,value:d.value,type:"set"})},P._isComputed=!0,P._dirty=!0,P._context=_,P._property=O,i?(Object.defineProperty(i,y,{get:h,set:x,enumerable:!0}),i):(Object.defineProperty(g,"value",{set:x,get:h}),o(i,y,d),e.set(g,d),t.set(d,g),g)}));export{_ as computed};
@@ -1 +0,0 @@
1
- import{createAnnotation as e,createObservable as t}from"../internals.js";import{bindTargetKeyWithCurrentReaction as r,runReactionsFromTargetKey as a}from"../reaction.js";var u=e((function(e){var u=e.target,n=e.key,l=e.value,o={value:t(u,n,u?u[n]:l)};return u?(Object.defineProperty(u,n,{set:function(e){var r=o.value;e=t(u,n,e),o.value=e,r!==e&&a({target:u,key:n,type:"set",oldValue:r,value:e})},get:function(){return r({target:u,key:n,type:"get"}),o.value},enumerable:!0,configurable:!1}),u):o.value}));export{u as observable};
@@ -1 +0,0 @@
1
- import{ProxyRaw as e,RawProxy as t}from"../environment.js";import{createAnnotation as r}from"../internals.js";import{buildDataTree as a}from"../tree.js";import{bindTargetKeyWithCurrentReaction as n,runReactionsFromTargetKey as o}from"../reaction.js";var u=r((function(r){var u=r.target,i=r.key,l=r.value,v={value:u?u[i]:l},m={},s=u||v,f=u?i:"value";function p(){return n({target:s,key:f,type:"get"}),v.value}function y(e){var t=v.value;v.value=e,t!==e&&o({target:s,key:f,type:"set",oldValue:t,value:e})}return u?(Object.defineProperty(u,i,{get:p,set:y,enumerable:!0}),u):(Object.defineProperty(m,"value",{set:y,get:p}),a(u,i,v),e.set(m,v),t.set(v,m),m)}));export{u as ref};
@@ -1 +0,0 @@
1
- import{createAnnotation as e,createObservable as t}from"../internals.js";import{bindTargetKeyWithCurrentReaction as r,runReactionsFromTargetKey as a}from"../reaction.js";var u=e((function(e){var u=e.target,n=e.key,l=e.value,o={value:t(u,n,u?u[n]:l,!0)};return u?(Object.defineProperty(u,n,{set:function(e){var r=o.value;e=t(u,n,e,!0),o.value=e,r!==e&&a({target:u,key:n,type:"set",oldValue:r,value:e})},get:function(){return r({target:u,key:n,type:"get"}),o.value},enumerable:!0,configurable:!1}),u):o.value}));export{u as shallow};
@@ -1 +0,0 @@
1
- var t=function(){function t(t){void 0===t&&(t=[]),this.forEachIndex=0,this.value=t}return t.prototype.add=function(t){this.has(t)||this.value.push(t)},t.prototype.has=function(t){return this.value.indexOf(t)>-1},t.prototype.delete=function(t){var e=this.value.indexOf(t);e>-1&&(this.value.splice(e,1),e<=this.forEachIndex&&(this.forEachIndex-=1))},t.prototype.forEach=function(t){if(0!==this.value.length)for(this.forEachIndex=0;this.forEachIndex<this.value.length;this.forEachIndex++)t(this.value[this.forEachIndex])},t.prototype.batchDelete=function(t){if(0!==this.value.length)for(this.forEachIndex=0;this.forEachIndex<this.value.length;this.forEachIndex++){var e=this.value[this.forEachIndex];this.value.splice(this.forEachIndex,1),this.forEachIndex--,t(e)}},t.prototype.clear=function(){this.value.length=0},t}();export{t as ArraySet};
@@ -1 +0,0 @@
1
- import"./array.js";import"./environment.js";
@@ -1 +0,0 @@
1
- import{batchEnd as o,batchStart as r,batchScopeEnd as e,batchScopeStart as n}from"./reaction.js";import{BatchCount as t,BatchEndpoints as i}from"./environment.js";import{createBoundaryAnnotation as m}from"./internals.js";import{isFn as p}from"./checkers.js";var s=m(r,o);s.scope=m(n,e),s.endpoint=function(o){p(o)&&(0===t.value?o():i.add(o))};export{s as batch};
@@ -1 +0,0 @@
1
- var n=Object.prototype.toString,t=function(n){return n&&n instanceof Map},r=function(n){return n&&n instanceof Set},e=function(n){return n&&n instanceof WeakMap},o=function(n){return n&&n instanceof WeakSet},u=function(n){return"function"==typeof n},c=Array.isArray,i=function(t){return"[object Object]"===n.call(t)},f=function(n){return null!=n},a=function(n){return t(n)||e(n)||r(n)||o(n)},p=function(n){return i(n)||c(n)};export{c as isArr,a as isCollectionType,u as isFn,t as isMap,p as isNormalType,i as isPlainObj,r as isSet,f as isValid,e as isWeakMap,o as isWeakSet};
@@ -1 +0,0 @@
1
- import{ArraySet as e}from"./array.js";var a=new WeakMap,n=new WeakMap,w=new WeakMap,p=new WeakMap,r=new WeakMap,k=[],l={value:0},M={value:0},o={value:!1},v=new e,W=new e,b=new e,m=Symbol("MakeObservableSymbol"),u=new e;export{l as BatchCount,b as BatchEndpoints,o as BatchScope,m as MakeObservableSymbol,u as ObserverListeners,v as PendingReactions,W as PendingScopeReactions,a as ProxyRaw,p as RawNode,n as RawProxy,r as RawReactionsMap,w as RawShallowProxy,k as ReactionStack,M as UntrackCount};
@@ -1 +0,0 @@
1
- import{isValid as o,isArr as t,isPlainObj as e,isFn as r,isMap as n,isWeakMap as i,isSet as m,isWeakSet as c}from"./checkers.js";import{ProxyRaw as s}from"./environment.js";import"./tree.js";var S=Symbol("RAW_TYPE"),f=Symbol("OBSERVABLE_TYPE"),j=function(o){return s.has(o)},p=function(s){return!!o(s)&&(!!t(s)||(e(s)?!s[S]&&(!!s[f]||(!("$$typeof"in s)||!("_owner"in s))&&(!s._isAMomentObject&&(!s._isJSONSchemaObject&&(!r(s.toJS)&&!r(s.toJSON))))):!!(n(s)||i(s)||m(s)||c(s))))};export{j as isObservable,p as isSupportObservable};
@@ -1 +0,0 @@
1
- import{bindTargetKeyWithCurrentReaction as e,runReactionsFromTargetKey as t}from"./reaction.js";import{ProxyRaw as r,RawProxy as a}from"./environment.js";import{isObservable as n,isSupportObservable as o}from"./externals.js";import{createObservable as l}from"./internals.js";var i,f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var a,n,o=r.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(a=o.next()).done;)l.push(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return l},y=function(e,t,r){if(r||2===arguments.length)for(var a,n=0,o=t.length;n<o;n++)!a&&n in t||(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))},c=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter((function(e){return"symbol"==typeof e}))),p=Object.prototype.hasOwnProperty;function u(e,t,r){var i=a.get(r);return i||(!n(r)&&o(r)?l(e,t,r):r)}function g(e,t,r,a){var n=r.next;return r.next=function(){var o=n.call(r),l=o.done,i=o.value;return l||(a?i[1]=u(e,t,i[1]):i=u(e,t,i)),{done:l,value:i}},r}var s=((i={has:function(t){var a=r.get(this),n=Reflect.getPrototypeOf(this);return e({target:a,key:t,type:"has"}),n.has.apply(a,arguments)},get:function(t){var a=r.get(this),n=Reflect.getPrototypeOf(this);return e({target:a,key:t,type:"get"}),u(a,t,n.get.apply(a,arguments))},add:function(e){var a=r.get(this),n=Reflect.getPrototypeOf(this),o=n.has.call(a,e),l=n.add.apply(a,arguments);return o||t({target:a,key:e,value:e,type:"add"}),l},set:function(e,a){var n=r.get(this),o=Reflect.getPrototypeOf(this),l=o.has.call(n,e),i=o.get.call(n,e),f=o.set.apply(n,arguments);return l?a!==i&&t({target:n,key:e,value:a,oldValue:i,type:"set"}):t({target:n,key:e,value:a,type:"add"}),f},delete:function(e){var a=r.get(this),n=Reflect.getPrototypeOf(this),o=n.has.call(a,e),l=n.get?n.get.call(a,e):void 0,i=n.delete.apply(a,arguments);return o&&t({target:a,key:e,oldValue:l,type:"delete"}),i},clear:function(){var e=r.get(this),a=Reflect.getPrototypeOf(this),n=0!==e.size,o=e instanceof Map?new Map(e):new Set(e),l=a.clear.apply(e,arguments);return n&&t({target:e,oldTarget:o,type:"clear"}),l},forEach:function(t){for(var a,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var l=r.get(this),i=Reflect.getPrototypeOf(this);e({target:l,type:"iterate"});var c=function(e,r){for(var a=[],n=2;n<arguments.length;n++)a[n-2]=arguments[n];return t.apply(void 0,y([u(l,r,e),r],f(a),!1))};return(a=i.forEach).call.apply(a,y([l,c],f(n),!1))},keys:function(){var t=r.get(this),a=Reflect.getPrototypeOf(this);return e({target:t,type:"iterate"}),a.keys.apply(t,arguments)},values:function(){var t=r.get(this),a=Reflect.getPrototypeOf(this);e({target:t,type:"iterate"});var n=a.values.apply(t,arguments);return g(t,"",n,!1)},entries:function(){var t=r.get(this),a=Reflect.getPrototypeOf(this);e({target:t,type:"iterate"});var n=a.entries.apply(t,arguments);return g(t,"",n,!0)}})[Symbol.iterator]=function(){var t=r.get(this),a=Reflect.getPrototypeOf(this);e({target:t,type:"iterate"});var n=a[Symbol.iterator].apply(t,arguments);return g(t,"",n,t instanceof Map)},Object.defineProperty(i,"size",{get:function(){var t=r.get(this),a=Reflect.getPrototypeOf(this);return e({target:t,type:"iterate"}),Reflect.get(a,"size",t)},enumerable:!1,configurable:!0}),i),v={get:function(e,t,r){return e=p.call(s,t)?s:e,Reflect.get(e,t,r)}},h={get:function(t,r,i){if(r){var f=t[r];if("symbol"==typeof r&&c.has(r))return f;e({target:t,key:r,receiver:i,type:"get"});var y=a.get(f);if(y)return y;if(!n(f)&&o(f)){var p=Reflect.getOwnPropertyDescriptor(t,r);if(!p||!1!==p.writable||!1!==p.configurable)return l(t,r,f)}return f}},has:function(t,r){var a=Reflect.has(t,r);return e({target:t,key:r,type:"has"}),a},ownKeys:function(t){var r=Reflect.ownKeys(t);return e({target:t,type:"iterate"}),r},set:function(e,r,a,n){var o=p.call(e,r),i=l(e,r,a),f=e[r];return e[r]=i,o?a!==f&&t({target:e,key:r,value:i,oldValue:f,receiver:n,type:"set"}):t({target:e,key:r,value:i,oldValue:f,receiver:n,type:"add"}),!0},deleteProperty:function(e,r){var a=e[r];return delete e[r],t({target:e,key:r,oldValue:a,type:"delete"}),!0}};export{h as baseHandlers,v as collectionHandlers};
@@ -1 +0,0 @@
1
- import{isNormalType as r,isCollectionType as t,isFn as n}from"./checkers.js";import{MakeObservableSymbol as e,ProxyRaw as u,RawShallowProxy as o,RawProxy as f}from"./environment.js";import{baseHandlers as i,collectionHandlers as a}from"./handlers.js";import{getDataNode as c,buildDataTree as s}from"./tree.js";import{isSupportObservable as v}from"./externals.js";var m=function(r,t){var n=new Proxy(r,i);return u.set(n,r),t?o.set(r,n):f.set(r,n),n},p=function(r,t){var n=new Proxy(r,a);return u.set(n,r),t?o.set(r,n):f.set(r,n),n},y=function(n,e,f,i){if("object"!=typeof f)return f;var a=u.get(f);if(a){var y=c(a);return y.target||(y.target=n),y.key=e,f}if(!v(f))return f;if(n){var g=u.get(n)||n;if(o.get(g))return f}return s(n,e,f),i?function(n){return r(n)?m(n,!0):t(n)?p(n,!0):n}(f):r(f)?m(f):t(f)?p(f):f},g=function(r){var t=function(t){return r({value:t})};return n(r)&&(t[e]=r),t},l=function(r,t){function e(e){var u;try{r(),n(e)&&(u=e())}finally{t()}return u}return e.bound=j(e),e},j=function(r){return function(t,n){return function(){for(var e=[],u=0;u<arguments.length;u++)e[u]=arguments[u];return r((function(){return t.apply(n,e)}))}}},b=function(r,t){var n=l(r,t),u=g((function(r){var t=r.target,e=r.key;return t[e]=n.bound(t[e],t),t}));return n[e]=u,n.bound[e]=u,n};export{g as createAnnotation,j as createBindFunction,b as createBoundaryAnnotation,l as createBoundaryFunction,y as createObservable};
@@ -1 +0,0 @@
1
- import{observable as o}from"./annotations/observable.js";import{box as n}from"./annotations/box.js";import{ref as t}from"./annotations/ref.js";import{shallow as r}from"./annotations/shallow.js";import{computed as s}from"./annotations/computed.js";import{MakeObservableSymbol as m}from"./environment.js";import{createObservable as a}from"./internals.js";function e(o){return a(null,null,o)}e.box=n,e.ref=t,e.deep=o,e.shallow=r,e.computed=s,e[m]=o;export{e as observable};
@@ -1 +0,0 @@
1
- import{isFn as e}from"./checkers.js";import{ArraySet as t}from"./array.js";import{RawReactionsMap as n,ReactionStack as r,BatchCount as a,PendingReactions as u,BatchEndpoints as c,PendingScopeReactions as o,ObserverListeners as i,BatchScope as l,UntrackCount as f}from"./environment.js";var v=Symbol("iteration key"),d=function(t,r){var a=function(e,t){var r=n.get(e),a=[];if(r){var u=r.get(t);u&&u.forEach((function(e){-1===a.indexOf(e)&&a.push(e)}))}return a}(t,r),c=f.value;f.value=0;for(var i=0,l=a.length;i<l;i++){var v=a[i];v._isComputed?v._scheduler(v):j()?o.add(v):k()?u.add(v):e(v._scheduler)?v._scheduler(v):v()}f.value=c},h=function(e){var a=e.key,u=e.type,c=e.target;"iterate"===u&&(a=v);var o,i,l,f=r[r.length-1];D()||f&&(o=f,i=function(e,r,a){var u=n.get(e);if(u){var c=u.get(r);return c?c.add(a):u.set(r,new t([a])),u}var o=new Map([[r,new t([a])]]);return n.set(e,o),o}(c,a,f),(l=o._reactionsSet)?l.add(i):o._reactionsSet=new t([i]))},s=function(n){if(e(n)){var a=r[r.length-1];if(a){var u=a._computesSet;u?u.add(n):a._computesSet=new t([n])}}},_=function(e){var t=e.key,n=e.type,r=e.target,a=e.oldTarget;if(p(),function(e){i.forEach((function(t){return t(e)}))}(e),"clear"===n?a.forEach((function(e,t){d(r,t)})):d(r,t),"add"===n||"delete"===n||"clear"===n){var u=Array.isArray(r)?"length":v;d(r,u)}y()},g=function(){return r.length>0},m=function(e){var t;null===(t=e._reactionsSet)||void 0===t||t.forEach((function(t){t.forEach((function(t){t.delete(e)}))})),u.delete(e),o.delete(e),delete e._reactionsSet},p=function(){a.value++},y=function(){if(a.value--,0===a.value){var e=f.value;f.value=0,x(),A(),f.value=e}},S=function(){l.value=!0},w=function(){var t=f.value;l.value=!1,f.value=0,o.batchDelete((function(t){e(t._scheduler)?t._scheduler(t):t()})),f.value=t},E=function(){f.value++},b=function(){f.value--},k=function(){return a.value>0},j=function(){return l.value},D=function(){return f.value>0},x=function(){u.batchDelete((function(t){e(t._scheduler)?t._scheduler(t):t()}))},A=function(){c.batchDelete((function(e){e()}))};export{y as batchEnd,w as batchScopeEnd,S as batchScopeStart,p as batchStart,s as bindComputedReactions,h as bindTargetKeyWithCurrentReaction,A as executeBatchEndpoints,x as executePendingReactions,g as hasRunningReaction,k as isBatching,j as isScopeBatching,D as isUntracking,m as releaseBindingReactions,_ as runReactionsFromTargetKey,b as untrackEnd,E as untrackStart};
@@ -1 +0,0 @@
1
- import{ProxyRaw as t,RawNode as e}from"./environment.js";var r=function(){function e(t,e,r){this.target=t,this.key=e,this.value=r}return Object.defineProperty(e.prototype,"path",{get:function(){return this.parent?this.parent.path.concat(this.key):this.key?[this.key]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetRaw",{get:function(){return t.get(this.target)||this.target},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){if(this.target)return n(this.targetRaw)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(t){return this.key?t.targetRaw===this.targetRaw&&t.key===this.key:t.value===this.value},e.prototype.contains=function(t){if(t===this)return!0;for(var e=t.parent;e;){if(this.isEqual(e))return!0;e=e.parent}return!1},e}(),n=function(t){return e.get(t)},i=function(t,r){e.set(t,r)},a=function(e,a,o){var u=t.get(o)||o,s=n(u);if(s)return s;i(u,new r(e,a,o))};export{r as DataNode,a as buildDataTree,n as getDataNode,i as setDataNode};
@@ -1 +0,0 @@
1
- import{createBoundaryFunction as r}from"./internals.js";import{untrackEnd as o,untrackStart as t}from"./reaction.js";var i=r(t,o);export{i as untracked};
@@ -1 +0,0 @@
1
- import e from"./BigTable.vue2.js";import r from"../../../../_virtual/plugin-vue_export-helper.js";var i=r(e,[["__file","BigTable.vue"]]);export{i as default};
@@ -1 +0,0 @@
1
- import{defineComponent as a,computed as e,openBlock as t,createElementBlock as s,unref as r,createCommentVNode as o,createElementVNode as n,toDisplayString as i}from"vue";import p from"../../../../shared/assets/img/nodata.png.js";import m from"../../../../shared/assets/img/no-permission.png.js";import l from"../../../../shared/assets/img/failure.png.js";import u from"../../../../shared/assets/img/notfound.png.js";import f from"../../../../../_virtual/plugin-vue_export-helper.js";const g={class:"no-data-tip NoData-page"},d=["src"],c={key:1};var h=f(a({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(a){const f=a,h=e((()=>{let a=null;switch(f.noDataImg){case"no-permission":a=m;break;case"failure":a=l;break;case"nodata":a=p;break;default:a=u}return a})),v=e((()=>{let a="";switch(f.noDataImg){case"no-permission":a="请联系管理员";break;case"failure":a="请稍后再试"}return a}));return(e,p)=>(t(),s("div",g,[a.showImg?(t(),s("img",{key:0,src:r(h),alt:""},null,8,d)):o("v-if",!0),n("p",null,i(a.noDataTip),1),r(v)?(t(),s("span",c,i(r(v)),1)):o("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{h as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as o,watch as r,onDeactivated as a,openBlock as t,createBlock as l,unref as u,withCtx as n,createVNode as i,withModifiers as p}from"vue";import s from"../../../../../shared/components/SlotRender/SlotRender.js";import{cloneDeep as v,isObject as c,isArray as d}from"lodash-es";import{NPopover as f,NInput as m}from"naive-ui";import{useSeparateMap as w}from"../../hooks/useSeparateRow.js";import h from"../separate.vue.js";import x from"../../../../../../_virtual/plugin-vue_export-helper.js";var y=x(e({__name:"edit-separate",props:{col:{type:Object,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0}},emits:["formChange"],setup(e,{emit:x}){const y=e,g=o(),_=o(!1);function b(e){_.value=e}r(_,(function(e){e?async function(e){var o;if(!e)return;j.value=v(e.row[y.col.field]),await new Promise((e=>setTimeout(e))),null==(o=g.value)||o.syncPosition()}(k(y.row)):R(k(y.row))}));const j=o(),{getRowData:k}=w();async function R(e){if(!e)return;const o=e.row[y.col.field];(c(j.value)||d(j.value)||o!==j.value)&&x("formChange",{value:j.value,row:y.row,column:y.col,index:e.index})}const S={border:"1px solid #f5f5f5",padding:"4px 0 4px 4px",background:"white","border-radius":"4px"};return a((()=>{R(k(y.row))})),(o,r)=>(t(),l(u(f),{ref_key:"popoverRef",ref:g,trigger:"manual",show:_.value,"onUpdate:show":r[3]||(r[3]=e=>_.value=e),"show-arrow":!1},{trigger:n((()=>[i(h,{onClick:r[0]||(r[0]=p((e=>_.value=!_.value),["stop"])),style:S,col:e.col,row:e.row},null,8,["col","row"])])),default:n((()=>[e.col.separateSlot?(t(),l(u(s),{key:0,renderer:e.col.separateSlot,value:j.value,"onUpdate:value":r[1]||(r[1]=e=>j.value=e),"onUpdate:show":b,col:e.col,row:e.row},null,8,["renderer","value","col","row"])):(t(),l(u(m),{key:1,value:j.value,"onUpdate:value":r[2]||(r[2]=e=>j.value=e),type:"textarea"},null,8,["value"]))])),_:1},8,["show"]))}}),[["__file","edit-separate.vue"]]);export{y as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,openBlock as u,createBlock as r,unref as i,withKeys as a,withCtx as n,createVNode as o,createTextVNode as l}from"vue";import{NInput as p,NButton as v}from"naive-ui";import f from"../../../../../_virtual/plugin-vue_export-helper.js";var m=f(e({__name:"input-button",emits:["trigger"],setup(e,{emit:f}){const m=t("");function s(){f("trigger",m.value)}return(e,t)=>(u(),r(i(p),{value:m.value,"onUpdate:value":t[0]||(t[0]=e=>m.value=e),placeholder:"字段搜索",class:"check-seach-input",onKeyup:a(s,["enter"])},{suffix:n((()=>[o(i(v),{text:"",onClick:s},{default:n((()=>[l("搜索")])),_:1})])),_:1},8,["value","onKeyup"]))}}),[["__file","input-button.vue"]]);export{m as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,computed as a,openBlock as r,createElementBlock as t,createTextVNode as p,toDisplayString as s,unref as o,createElementVNode as l}from"vue";import{useSeparateMap as u}from"../hooks/useSeparateRow.js";import i from"../../../../../_virtual/plugin-vue_export-helper.js";const c={class:"big-table__separate"},_=l("span",{class:"big-table__separatePlaceholder"},s(" "),-1);var n=i(e({__name:"separate",props:{col:{type:Object,required:!0},row:{type:Object,required:!0}},setup(e){const l=e,{separateDataMap:i}=u(),n=a((()=>{const e=i.value.get(l.row);return e?e.separateData[l.col.field]:""}));return(e,a)=>(r(),t("div",c,[p(s(o(n))+" ",1),_]))}}),[["__file","separate.vue"]]);export{n as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,reactive as n,onMounted as o,openBlock as r,createElementBlock as i,createCommentVNode as s,createElementVNode as l}from"vue";import"bpmn-js/dist/assets/diagram-js.css";import"bpmn-js/dist/assets/bpmn-font/css/bpmn.css";import"bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css";import"bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";import{attr as a}from"tiny-svg";import{useMessage as p}from"naive-ui";import d from"axios";import c from"moment";import m from"bpmn-js/lib/Viewer";import u from"./custom/customOtherModule/zoomScroll.js";import v from"bpmn-js/lib/features/modeling";import b from"diagram-js/lib/navigation/movecanvas";import f from"./custom/customOtherModule/customViewerRenderer.js";import y from"../../../../_virtual/plugin-vue_export-helper.js";const g={class:"containers"};var h=y(e({__name:"BpmnWorkflow",props:{flowType:{type:String,default:"workflow"},processId:String,instanceId:String,token:String,getBpmnXml:{type:Function},getInstanceHistory:{type:Function},getNodeApprovaler:{type:Function}},setup(e){const y=e;p();const h=t(null),w=n({nodeMenu:[],currentCanvasXml:null,eventType:["element.click","element.hover","element.out"]});d.create({withCredentials:!0,timeout:5e3,headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"bearer "+y.token},baseURL:"/"}),o((()=>{console.log("生成bpmnModeler,展示画布"),x(y.processId,y.instanceId)}));const x=async(e,t)=>{"function"==typeof y.getBpmnXml&&(w.currentCanvasXml=await y.getBpmnXml(e),k(e,t))},k=async(e,t)=>{w.bpmnModeler&&w.bpmnModeler.destroy(),w.bpmnModeler=new m({container:h.value,additionalModules:[v,b,u,f,{bendpoints:["value",{}]}]});try{const{err:n}=await w.bpmnModeler.importXML(w.currentCanvasXml);if(n&&n.length)return console.error(n);w.bpmnModeler.get("canvas").zoom("fit-viewport","auto"),I(),j(e,t)}catch(e){console.error(`[Process Designer Warn]: ${(null==e?void 0:e.message)||e}`)}},I=()=>{let e=w.bpmnModeler.get("eventBus"),t=w.bpmnModeler.get("overlays"),n=w.bpmnModeler.get("selection");w.eventType.forEach((o=>{e.on(o,(e=>{let{element:r}=e;if(r.parent){if(!e||"bpmn:Process"===r.type)return!1;switch(o){case"element.hover":(async(e,t)=>{var n;let o="",{id:r,type:i}=e;if(!["label","bpmn:SequenceFlow"].includes(e.type)){const t=w.bpmnModeler.get("selection");t.select(null),t.select(e,!0)}if("bpmn:UserTask"==i){let e=w.nodeMenu.find((e=>e.key==r));(null==(n=null==e?void 0:e.auditor)?void 0:n.length)&&(o=`审核人:${e.auditor.map((e=>e.name)).join("、")}`,t.add(r,"tip",{position:{top:0,right:-12},html:`<div style="position: absolute;\n top: calc(50% - 5px);\n left: -10px;\n width: 0px;\n height: 0px;\n border:5px solid rgba(0, 0, 0, 0.75);\n border-top: 5px solid transparent;\n border-left: 5px solid transparent;\n border-bottom: 5px solid transparent;">\n </div>\n <div class="diagram-note"\n style="background-color: rgba(0, 0, 0, 0.75);\n color: #fff;\n font-size: 14px;\n text-align:left;\n width: 200px;\n max-height: 71px;\n padding: 5px;\n border-radius: 4px;\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;">\n ${o}\n </div>`}))}})(r,t);break;case"element.out":n.select(null),t.clear()}}}))}))},M=(e,t)=>{const n=w.bpmnModeler.get("modeling");e.renderPathColor=t,n.setColor(e,{stroke:t})},j=async(e,t)=>{if("function"!=typeof y.getInstanceHistory)return;const n=w.bpmnModeler.get("elementRegistry");let o=n.filter((e=>!["label","bpmn:Process","bpmn:SequenceFlow"].includes(e.type))),r=await y.getInstanceHistory(e,t),i={},s=[],l=[];var p,d,m;r.historyActivity.map((e=>{-1!=e.activityId.indexOf("#multiInstanceBody")&&(s.push(e.activityId.replace("#multiInstanceBody","")),l.push(e))})),(p=r.historyActivity,d="activityId",m={},p.reduce((function(e,t){return!m[t[d]]&&(m[t[d]]=e.push(t)),e}),[])).filter((e=>![...new Set(s)].includes(e.activityId)&&"StartEvent_1"!=e.activityId&&!e.activityId.startsWith("Event_"))).map((e=>{let t=e.activityId.replace("#multiInstanceBody",""),n=e,o=l.filter((t=>e.activityId==t.activityId));(null==o?void 0:o.length)&&(n=o.reduce(((e,t)=>c(e.endTime).isBefore(t.endTime)?t:e))),i[t]=n.activityState}));let u=[];await Promise.all(o.map((async t=>{var o;if(Object.keys(i).includes(t.id)){let r=n.getGraphics(t.id).childNodes[2];a(r,{rx:10,ry:10,strokeWidth:3,strokeDasharray:0});let s=n.get(t.id);4==i[t.id]&&M(s,"#5aa36a"),2==i[t.id]&&M(s,"#d14141");let l={};if("bpmn:UserTask"==t.type){if("function"!=typeof y.getNodeApprovaler)return;l=await y.getNodeApprovaler(e,t.id),u.push({key:t.id,value:null==(o=null==t?void 0:t.businessObject)?void 0:o.name,auditor:null==l?void 0:l.auditor})}}}))),w.nodeMenu=u};return(e,t)=>(r(),i("div",g,[s(" 流程画布部分 "),l("div",{class:"canvas",ref_key:"canva",ref:h},null,512)]))}}),[["__file","BpmnWorkflow.vue"]]);export{h as default};
@@ -1 +0,0 @@
1
- import t from"./ButtonPrint.vue2.js";import r from"../../../../_virtual/plugin-vue_export-helper.js";var e=r(t,[["__file","ButtonPrint.vue"]]);export{e as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,openBlock as o,createBlock as l,unref as n,withCtx as r,createVNode as i,createElementVNode as a,createTextVNode as u}from"vue";import{useMessage as s,NForm as p,NFormItem as d,NSpace as f,NUpload as m,NUploadDragger as c,NIcon as v,NText as h,NP as w}from"naive-ui";import{Archive as _}from"@vicons/ionicons5";import g from"axios";import x from"../../../../../_virtual/plugin-vue_export-helper.js";const $={style:{"margin-bottom":"12px"}};var S=x(e({__name:"EditFormat",props:{formatId:null,token:null},setup(e,{expose:x}){const S=e,E=`${window.location.protocol}//${window.location.host}/bi-api`,C=`${E}/reprot/print/open/client/saveIReportFormat`,j=`${E}/reprot/print/open/client/getIReportFiles`,y=`${E}/reprot/print/open/client/delIReportFiles`,I=g.create({}),b=s(),F=t([]);var z;function R(e){return new Promise(((t,o)=>{var l;I.get(`${y}?formatId=${null==(l=S.formatId)?void 0:l.split("_")[1]}&authorizationKey=${S.token}&fileName=${e.file.name}`).then((({data:e})=>{"SUCCESS"!==(null==e?void 0:e.result)?(b.error((null==e?void 0:e.resultMsg)||"删除文件失败,请重试!"),o()):(b.success("删除文件成功!"),t("SUCCESS"))}))}))}return I.get(`${j}?formatId=${null==(z=S.formatId)?void 0:z.split("_")[1]}&authorizationKey=${S.token}`).then((({data:e})=>{(e.list||[]).forEach((e=>{F.value.push({id:Date.now().toString(),name:e,status:"finished"})}))})),x({submit:function(e){return new Promise(((t,o)=>{if(!function(){if(F.value.length<2)return!1;let e=!1,t=!1;const o=/\.([^.]+)$/;return F.value.forEach((l=>{var n;const r=(null==(n=l.file)?void 0:n.name)||l.name||"",i=o.exec(r)?RegExp.$1.toLowerCase():"";i&&".jrxml".includes(i)&&(e=!0),i&&".jasper".includes(i)&&(t=!0)})),!(!e||!t)}())return void b.warning("请至少上传一个jrxml文件和一个jasper文件!");if(0===F.value.filter((e=>e.file)).length)return void b.warning("本次无新文件增加,请先添加新文件!");const l=new FormData;Object.keys(e).forEach((t=>{l.append(t,e[t])})),F.value.forEach((e=>{e.file&&l.append("files",e.file)})),I.post(C,l,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((({data:e})=>{"SUCCESS"!==(null==e?void 0:e.result)?(b.error((null==e?void 0:e.resultMsg)||"上传文件失败,请重试!"),o()):t("SUCCESS")}))}))}}),(e,t)=>(o(),l(n(p),{"label-placement":"left","label-width":75},{default:r((()=>[i(n(d),{label:"格式文件:",path:"file"},{default:r((()=>[i(n(f),{vertical:""},{default:r((()=>[i(n(m),{multiple:"","directory-dnd":"","file-list":F.value,"onUpdate:file-list":t[0]||(t[0]=e=>F.value=e),onRemove:R},{default:r((()=>[i(n(c),null,{default:r((()=>[a("div",$,[i(n(v),{size:"36",depth:3,component:n(_)},null,8,["component"])]),i(n(h),{style:{"font-size":"12px"}},{default:r((()=>[u("点击或者拖动文件到该区域来上传")])),_:1}),i(n(w),{depth:"3",style:{margin:"5px 0 0 0","font-size":"13px"}},{default:r((()=>[u("至少包含一个jxml文件和一个jasper文件")])),_:1})])),_:1})])),_:1},8,["file-list"])])),_:1})])),_:1})])),_:1}))}}),[["__file","EditFormat.vue"]]);export{S as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,reactive as a,watch as l,openBlock as o,createBlock as i,unref as u,normalizeStyle as r,withCtx as s,createElementVNode as n,mergeProps as d,createVNode as p,createTextVNode as c}from"vue";import{useMessage as m,NModal as v,NForm as f,NFormItem as y,NInput as w,NButton as _}from"naive-ui";import g from"./EditFormat.vue.js";import"../utils/print.js";import{isIReport as h}from"../utils/browserPrint.js";import I from"../../../../../_virtual/plugin-vue_export-helper.js";const k={class:"content"};var V=I(e({__name:"IdentityVerification",props:{verifyUser:{type:Function,default:()=>Promise.resolve()},identityVerificationTitle:{default:"打印服务身份校验"},modelValue:{type:Boolean},formatId:null,templateId:null},emits:["update:modelValue","success","close"],setup(e,{emit:I}){const V=e,x=m(),b={account:"",password:""},C=t(null),j=t(!1),U=t("");let S=a({...b});const F={account:{required:!0,message:"请输入账号"},password:{required:!0,message:"请输入密码"}},P="416px",q=t(null),E=()=>{I("update:modelValue",!1),I("close")},N=t(!1),R=()=>{var e;null==(e=q.value)||e.validate((e=>{if(e)return console.log(e),!1;(async()=>{var e,t;try{N.value=!0;const{data:a={}}=await V.verifyUser(S)||{};if("SUCCESS"!==a.result)return x.error(a.resultMsg||"身份校验失败,请重试!"),!1;h(V.formatId||"")?(j.value=!0,U.value=null==(e=a.map)?void 0:e.token):I("success",null==(t=a.map)?void 0:t.token)}finally{N.value=!1}})()}))},T=async()=>{var e,t;try{N.value=!0;if(!await(null==(t=C.value)?void 0:t.submit({authorizationKey:U.value,id:null==(e=V.formatId)?void 0:e.split("_")[1],templateId:V.templateId,datasourceName:null,dataSourceId:null})))return!1;I("success",U.value)}finally{N.value=!1}};return l((()=>V.modelValue),(e=>{e||Object.assign(S,b)})),(t,a)=>(o(),i(u(v),{preset:"dialog",title:j.value?"编辑":e.identityVerificationTitle,class:"standard-modal standard-modal-white authentication-modal c-button-print-modal",show:e.modelValue,"close-on-esc":!1,"show-icon":!1,style:r({width:P,overflowY:"auto"}),"positive-text":j.value?"确认":"","negative-text":j.value?"取消":"",onClose:E,onNegativeClick:E,onPositiveClick:T},{default:s((()=>[n("div",k,[j.value?(o(),i(g,d({key:0,ref_key:"editFormRef",ref:C},t.$attrs,{formatId:e.formatId,token:U.value}),null,16,["formatId","token"])):(o(),i(u(f),{key:1,class:"login-form-button-print",ref_key:"formRef",ref:q,model:u(S),rules:F},{default:s((()=>[p(u(y),{path:"account"},{default:s((()=>[p(u(w),{value:u(S).account,"onUpdate:value":a[0]||(a[0]=e=>u(S).account=e),placeholder:"请输入账号"},null,8,["value"])])),_:1}),p(u(y),{path:"password"},{default:s((()=>[p(u(w),{type:"password","input-props":{autocomplete:"on",name:"password"},value:u(S).password,"onUpdate:value":a[1]||(a[1]=e=>u(S).password=e),placeholder:"请输入密码"},null,8,["value"])])),_:1}),p(u(y),null,{default:s((()=>[p(u(_),{loading:N.value,type:"primary",class:"login-form-button",onClick:R},{default:s((()=>[c("登录")])),_:1},8,["loading"])])),_:1})])),_:1},8,["model"]))])])),_:1},8,["title","show","style","positive-text","negative-text"]))}}),[["__file","IdentityVerification.vue"]]);export{V as default};
@@ -1 +0,0 @@
1
- import e from"./Preview.vue2.js";import r from"../../../../../_virtual/plugin-vue_export-helper.js";var i=r(e,[["__file","Preview.vue"]]);export{i as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,computed as t,ref as r,onMounted as o,openBlock as s,createElementBlock as n,Fragment as p,createElementVNode as a,createBlock as i,mergeProps as u,unref as l,createCommentVNode as c}from"vue";import{fabric as m}from"./utils/index.js";import f from"./components/PopupTip.vue.js";import h from"./components/PopupMenu.js";import v from"./hooks/useTemperatureChart.js";import d from"./hooks/useBirthProcessChart.js";import k from"../../../../_virtual/plugin-vue_export-helper.js";var C=k(e({__name:"FabricChart",props:{type:{type:String,default:"temperature"},data:{type:Object,required:!0},addRenderItem:{type:Function}},emits:["change","add","remove","select"],setup(e,{expose:k,emit:C}){const w=e,y=t((()=>"temperature"===w.type)),g=r(null),j=r(),{propItems:P,redrawPoints:_,select:I,pointTipProps:b,pointMenuProps:M,clickMenu:x}=function(){const e=[j,w,C,g];return y.value?v(...e):d(...e)}();return o((()=>{j.value=new m.Canvas(g.value,{width:P.canvasWidth,height:P.canvasHeight,backgroundColor:"#fff",selection:!1,containerClass:"c-fabric-chart",fireRightClick:!0})})),k({redrawPoints:_,select:I,canvas:j}),(e,t)=>(s(),n(p,null,[a("canvas",{ref_key:"canvasRef",ref:g},null,512),j.value?(s(),i(f,u({key:0,propItems:l(P)},l(b)),null,16,["propItems"])):c("v-if",!0),j.value?(s(),i(l(h),u({key:1,propItems:l(P)},l(M),{show:l(M).show,"onUpdate:show":t[0]||(t[0]=e=>l(M).show=e),onClickMenu:l(x)}),null,16,["propItems","show","onClickMenu"])):c("v-if",!0)],64))}}),[["__file","FabricChart.vue"]]);export{C as default};
@@ -1 +0,0 @@
1
- import{defineComponent as p,openBlock as t,createBlock as e,Teleport as l,withDirectives as o,createElementVNode as r,normalizeStyle as u,unref as i,createElementBlock as s,Fragment as a,renderList as f,toDisplayString as n,vShow as c}from"vue";import m from"./useStyle.js";import _ from"../../../../../_virtual/plugin-vue_export-helper.js";var h=_(p({__name:"PopupTip",props:{show:{type:Boolean,default:!1},point:null,list:{default:()=>[]},propItems:null},setup(p){const _=m(p);return(m,h)=>(t(),e(l,{to:".c-fabric-chart"},[o(r("ul",{class:"c-fabric-chart-popup-tip",style:u(i(_))},[(t(!0),s(a,null,f(p.list,(p=>(t(),s("li",{key:p},n(p),1)))),128))],4),[[c,p.show]])]))}}),[["__file","PopupTip.vue"]]);export{h as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as l,reactive as t,watch as i,onMounted as s,openBlock as d,createElementBlock as a,normalizeStyle as o,createVNode as c,unref as n,withCtx as h,createElementVNode as r,normalizeClass as u,createCommentVNode as p,createBlock as f,createTextVNode as w,toDisplayString as k,withDirectives as y,vShow as v,renderSlot as b}from"vue";import{NSpin as g,NCheckbox as m,NTooltip as U,NSelect as x,NInput as S,NInputNumber as E,NPopconfirm as _,NButton as W}from"naive-ui";import F from"../../../shared/components/VueDraggable/src/vuedraggable.js";import O from"../../../../_virtual/plugin-vue_export-helper.js";const q={class:"fields-set-content"},C={class:"fields-table"},N=r("span",{class:"width-show",style:{width:"4%"}},null,-1),P=r("span",{class:"width-large"},"所有字段",-1),j={class:"width-show"},R={key:0,class:"width-show"},I={key:1,class:"width-show"},L={class:"width-show"},T={class:"width-show"},D=r("span",{class:"width-showed"},"固定",-1),z=r("span",{class:"width-word"},"自定义标题",-1),B=r("span",{class:"width-showed"},"列宽",-1),G=["onClick"],H={class:"width-show drag-icon-wrap"},J=r("span",{class:"iconfont icon-a-menzhenyishengzhanxitongtubiaotuozhuai",style:{color:"#000"}},null,-1),V=r("span",null,"拖拽调整顺序",-1),$=r("span",{style:{width:"14px","margin-right":"6px"}},null,-1),A={class:"width-show"},K={key:0,class:"width-show"},M={key:1,class:"width-show"},Q={class:"width-show"},X={class:"width-show"},Y={class:"width-showed"},Z={class:"width-word"},ee={class:"width-showed"},le={key:0,class:"check-options"},te={class:"btn-operate"};var ie=O(e({__name:"FieldSet",props:{fields:{type:Array,default:function(){return[]}},footerFlag:{type:Boolean,default:!0},type:{type:String,default:"old"},isEdit:{type:Boolean,default:!1}},emits:["onSave","onClose","reset"],setup(e,{expose:O,emit:ie}){const se=e,de={sid:"id",columnName:"name",isShow:"show",isSort:"sort",isFixed:"fixedWay",colWidth:"columnWidth"},ae=[{label:"不固定",value:"NONE"},{label:"左固定",value:"LEFT"},{label:"右固定",value:"RIGHT"}],oe=l(null);function ce(){const e=se.fields?JSON.parse(JSON.stringify(se.fields)):[];return Object.keys(de).forEach((l=>{e.forEach((e=>{"old"==se.type&&Reflect.has(e,l)&&("isFixed"==l?e.fixedWay=1==e[l]?"LEFT":2==e[l]?"RIGHT":"NONE":["isShow","isSort"].includes(l)&&"boolean"!=typeof l?e[de[l]]=1==e[l]:e[de[l]]=e[l],Reflect.deleteProperty(e,l)),e.columnWidth=+e.columnWidth||null,Reflect.has(e,"alias")||(e.alias=""),Reflect.has(e,"bold")||(e.bold=!1)}))})),e}const ne=t({spinning:!1,isCustomSearch:!0,clickItem:{},fields:[],widthShow:"9%",widthLarge:"19%"}),he=e=>ne.fields.some((l=>Object.prototype.hasOwnProperty.call(l,e))),re=()=>{if("old"==se.type){let e=[];return ne.fields.length>0&&ne.fields.forEach(((l,t)=>{e.push({id:l.id,field:l.name,visible:l.show,sequence:t,sortable:l.sort,title:l.alias,fixed:l.fixedWay,minWidth:l.columnWidth,bold:l.bold,...se.isEdit?{required:l.required,editable:l.editable}:{}})})),e}return ne.fields},ue=()=>{ie("onSave",{tableFields:re()})},pe=()=>{ie("onClose")};function fe(){ne.fields=ce(),ie("reset")}const we=e=>!!ne.fields.length&&ne.fields.every((l=>!(Object.prototype.hasOwnProperty.call(l,e)&&!ye(l,e))||l[e])),ke=(e,l)=>{const t=e,i=ne.fields.map((e=>(Object.prototype.hasOwnProperty.call(e,l)&&!ye(e,l)&&(e[l]=t),e)));ne.fields=i};function ye(e,l){return["editable","required"].includes(l)&&e[`${l}Disable`]}return i((()=>se.fields),(e=>{(null==e?void 0:e.length)>0&&(ne.fields=ce())}),{immediate:!0,deep:!0}),s((()=>{var e;null==(e=oe.value)||e.style.setProperty("margin","auto"),se.isEdit&&(ne.widthShow="8%",ne.widthLarge="13%")})),O({getTableFields:re}),(l,t)=>(d(),a("div",{ref_key:"settingView",ref:oe,class:"c-field-set",style:o({"--width-show":ne.widthShow,"--width-large":ne.widthLarge})},[c(n(g),{show:ne.spinning,tip:"...",style:{width:"100%",height:"100%"}},{default:h((()=>[r("div",q,[r("div",C,[r("div",{class:u(["setting-title",{"seting-title-api":!ne.isCustomSearch}])},[N,p(" 字段名称 "),P,p(" 显示 "),r("span",j,[he("show")?(d(),f(n(m),{key:0,checked:we("show"),"onUpdate:checked":t[0]||(t[0]=e=>ke(e,"show"))},null,8,["checked"])):p("v-if",!0),w(" 显示 ")]),p(" 可编辑 "),e.isEdit?(d(),a("span",R,[he("editable")?(d(),f(n(m),{key:0,checked:we("editable"),"onUpdate:checked":t[1]||(t[1]=e=>ke(e,"editable"))},null,8,["checked"])):p("v-if",!0),w(" 编辑 ")])):p("v-if",!0),p(" 是否必填 "),e.isEdit?(d(),a("span",I,[he("required")?(d(),f(n(m),{key:0,checked:we("required"),"onUpdate:checked":t[2]||(t[2]=e=>ke(e,"required"))},null,8,["checked"])):p("v-if",!0),w(" 必填 ")])):p("v-if",!0),p(" 排序 "),r("span",L,[he("sort")?(d(),f(n(m),{key:0,checked:we("sort"),"onUpdate:checked":t[3]||(t[3]=e=>ke(e,"sort"))},null,8,["checked"])):p("v-if",!0),w(" 排序 ")]),r("span",T,[c(n(m),{checked:we("bold"),"onUpdate:checked":t[4]||(t[4]=e=>ke(e,"bold"))},null,8,["checked"]),w(" 加粗 ")]),p(" 固定 "),D,p(" 自定义标题 "),z,p(" 列宽 "),B],2),r("div",{ref:"setShow",class:u(["set-show",{"set-show-api":!ne.isCustomSearch}])},[c(n(F),{list:ne.fields,animation:"150","item-key":"id",tag:"ul"},{item:h((({element:l})=>{return[l.hide?p("v-if",!0):(d(),a("li",{key:0,class:"left-style",style:o((t=l,{background:ne.clickItem.id===t.id?"#f2f2f2":void 0})),onClick:e=>{return t=l,void(ne.clickItem=t);var t}},[r("span",H,[c(n(U),{trigger:"hover"},{trigger:h((()=>[J])),default:h((()=>[V])),_:1})]),p(" 字段名称 "),r("span",{class:u(["width-large title-item",{blue:l.extraField}])},[$,r("span",null,k(l.title),1)],2),p(" 显示 "),r("span",A,[y(c(n(m),{checked:l.show,"onUpdate:checked":e=>l.show=e},null,8,["checked","onUpdate:checked"]),[[v,"0001"!=l.id]])]),p(" 是否可编辑 "),e.isEdit?(d(),a("span",K,[y(c(n(m),{disabled:l.editableDisable,checked:l.editable,"onUpdate:checked":e=>l.editable=e},null,8,["disabled","checked","onUpdate:checked"]),[[v,"0001"!=l.id]])])):p("v-if",!0),p(" 是否必填 "),e.isEdit?(d(),a("span",M,[y(c(n(m),{disabled:l.requiredDisable,checked:l.required,"onUpdate:checked":e=>l.required=e},null,8,["disabled","checked","onUpdate:checked"]),[[v,"0001"!=l.id]])])):p("v-if",!0),p(" 排序 "),r("span",Q,[y(c(n(m),{checked:l.sort,"onUpdate:checked":e=>l.sort=e,disabled:1==l.notParticipatingSort},null,8,["checked","onUpdate:checked","disabled"]),[[v,"0001"!=l.id]])]),p(" 加粗 "),r("span",X,[y(c(n(m),{checked:l.bold,"onUpdate:checked":e=>l.bold=e},null,8,["checked","onUpdate:checked"]),[[v,"0001"!=l.id]])]),p(" 固定 "),r("span",Y,[c(n(x),{value:l.fixedWay,"onUpdate:value":e=>l.fixedWay=e,options:ae,style:{width:"90%",display:"flex"}},null,8,["value","onUpdate:value"])]),p(" 自定义标题 "),r("span",Z,[y(c(n(S),{value:l.alias,"onUpdate:value":e=>l.alias=e,style:{width:"90%"},clearable:""},null,8,["value","onUpdate:value"]),[[v,"0001"!=l.id]])]),p(" 列宽 "),r("span",ee,[c(n(E),{value:l.columnWidth,"onUpdate:value":e=>l.columnWidth=e,style:{width:"120px"},clearable:""},null,8,["value","onUpdate:value"])])],12,G))];var t})),_:1},8,["list"])],2)]),se.footerFlag?(d(),a("div",le,[r("div",te,[b(l.$slots,"footer",{},(()=>[c(n(_),{onPositiveClick:fe},{trigger:h((()=>[c(n(W),{style:{"margin-right":"8px"}},{default:h((()=>[w("恢复默认设置")])),_:1})])),default:h((()=>[w(" 确认要恢复系统默认设置吗? ")])),_:1}),c(n(W),{style:{"margin-right":"8px"},onClick:pe},{default:h((()=>[w("取消")])),_:1}),c(n(W),{type:"primary",onClick:ue},{default:h((()=>[w("保存")])),_:1})]))])])):p("v-if",!0)])])),_:3},8,["show"])],4))}}),[["__file","FieldSet.vue"]]);export{ie as default};
@@ -1 +0,0 @@
1
- import{defineComponent as o,ref as e,provide as t,toRaw as r,openBlock as i,createElementBlock as a,normalizeStyle as n,unref as s,createElementVNode as m,createVNode as l,mergeProps as f,withCtx as u,createTextVNode as c}from"vue";import{uuidGenerator as p}from"../../../shared/utils/index.js";import{cloneDeep as d,isFunction as g}from"lodash-es";import v from"../../../shared/components/VueDraggable/src/vuedraggable.js";import _ from"./components/FormConfigCreator.vue.js";import h from"./components/FormConfigDragDisplay.vue.js";import C from"./components/FormConfigEdit.vue.js";import x from"./components/FormConfigMaterialItem.js";import{useDataNormalize as j}from"./hooks/useDataNormalize.js";import{InjectionFieldList as y,InjectionMaterialList as F,InjectionActiveFieldItem as V,FORM_CONFIG_GROUP as D}from"./constants/index.js";import"@vicons/ionicons5";import"naive-ui";import k from"../../../../_virtual/plugin-vue_export-helper.js";import"./utils/index.js";import{useSortableConfig as H}from"./hooks/useSortalbeConfig.js";const b=["id"],E={class:"form-config__material"},L=m("header",{class:"form-config__materialHeader"},"物料区",-1),S={class:"form-config__displayWrapper"},I={class:"form-config__displayHeader"},N={class:"form-config__config"},R=m("header",{class:"form-config__configHeader"},"配置区",-1),U={class:"form-config__configContent"};var w=k(o({__name:"FormConfig",props:{maxHeight:{type:String},textFormatter:{type:Function}},setup(o,{expose:k}){const w=o,z=p(),{getCommonConfig:A}=H(),B=e([]);t(y,B);const M=e([]);function T(o){B.value.some((e=>e.key===o.key))||B.value.push(o)}t(F,M);const W=(o,e)=>g(w.textFormatter)?w.textFormatter(o,e):e,q=e();t(V,q);const G=e(),{transform:J,inverseTransform:K}=j();return k({loadData({fieldList:o}){let e=[],t=[];o.forEach((o=>function(o){"LINE_BAR"===o.type&&(o.children=[]);!1===o.show?t.push(o):e.push(o)}(d(r(o))))),B.value=J(e),M.value=t},validate(){var o;return null==(o=G.value)?void 0:o.validate()},getData:()=>({fieldList:K(d(r(B.value))),materialList:K(d(r(M.value)))})}),(e,t)=>(i(),a("section",{class:"form-config",style:n({"--max-height":o.maxHeight}),id:s(z)},[m("section",E,[L,l(s(v),f(s(A)(),{class:"form-config__materialContent",modelValue:M.value,"onUpdate:modelValue":t[0]||(t[0]=o=>M.value=o)}),{item:u((({element:o})=>[l(s(x),{"field-item":o},null,8,["field-item"])])),_:1},16,["modelValue"])]),m("section",S,[m("header",I,[c(" 布局区 "),l(_,{onSubmit:T})]),l(h,{class:"form-config__displayContent",group:s(D),"text-formatter":W,modelValue:B.value,"onUpdate:modelValue":t[1]||(t[1]=o=>B.value=o)},null,8,["group","modelValue"])]),m("section",N,[R,m("section",U,[l(C,{ref_key:"formConfigEditRef",ref:G,uuid:s(z)},null,8,["uuid"])])])],12,b))}}),[["__file","FormConfig.vue"]]);export{w as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as i,openBlock as t,createBlock as l,unref as o,withCtx as a,createVNode as r,createTextVNode as n}from"vue";import{pick as s}from"lodash-es";import{NButtonGroup as u,NPopconfirm as m,NButton as f}from"naive-ui";import{EditAbleField as d}from"../constants/index.js";import{useConfigurationField as _}from"../hooks/useConfigurationField.js";import"../../../index.js";import p from"../../../../../_virtual/plugin-vue_export-helper.js";import L from"../../../form-render/index.js";var c=p(e({__name:"FormConfigCreator",emits:{submit:e=>e},setup(e,{emit:p}){const c=_().generateFieldListByKeys(null,[d.NAME,d.LAYOUT_WIDTH_ENUM,d.NOTES,d.DEFAULT_EXPAND,d.FOLD]),h=i(),E=i(),w={defaultExpand:!0,fold:!0,layoutWidthEnum:"ALL_LINE"};async function v(e,i){if(!i)return;await i.validate();const t=i.getFormValues();p("submit",{layoutWidthEnum:"ALL_LINE",...t,type:e,key:t.name,__new:!0})}return(e,i)=>(t(),l(o(u),{size:"small"},{default:a((()=>[r(o(m),{width:"200px","show-icon":!1,"show-arrow":!1,onPositiveClick:i[0]||(i[0]=e=>v("NEWLINE",E.value))},{trigger:a((()=>[r(o(f),null,{default:a((()=>[n("新建分行符")])),_:1})])),default:a((()=>[r(o(L),{column:12,ref_key:"lineBreakFormRef",ref:E,"initial-data":o(s)(w,["layoutWidthEnum"]),size:"small","label-width":"auto","label-placement":"left",fieldList:o(c).slice(0,2)},null,8,["initial-data","fieldList"])])),_:1}),r(o(m),{width:"300px","show-icon":!1,"show-arrow":!1,onPositiveClick:i[1]||(i[1]=e=>v("LINE_BAR",h.value))},{trigger:a((()=>[r(o(f),null,{default:a((()=>[n("新建分线栏")])),_:1})])),default:a((()=>[r(o(L),{column:12,ref_key:"linebarFormRef",ref:h,"initial-data":w,size:"small","label-width":"auto","label-placement":"left",fieldList:o(c)},null,8,["fieldList"])])),_:1})])),_:1}))}}),[["__file","FormConfigCreator.vue"]]);export{c as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,openBlock as t,createBlock as r,unref as o,mergeProps as m,withCtx as i,createElementVNode as s,normalizeStyle as a,resolveDynamicComponent as l}from"vue";import n from"../../../../shared/components/VueDraggable/src/vuedraggable.js";import{usePresetRenderer as p}from"../hooks/usePresetRenderer.js";import{useSortableConfig as u}from"../hooks/useSortalbeConfig.js";import"lodash-es";import{layoutWidthEnum2Column as f}from"../utils/index.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const g=["data-type"];var y=d(e({__name:"FormConfigDragDisplay",props:{fieldItem:{type:Object},textFormatter:{type:Function,required:!0}},setup(e){function d(e){return{"--item-column":e?f(e.layoutWidthEnum):24}}const{getRenderer:y}=p(),{getCommonConfig:c}=u();return(p,u)=>(t(),r(o(n),m(o(c)(e.fieldItem),{style:d(e.fieldItem)}),{item:i((({element:m})=>[s("div",{class:"form-config__displayContentItem","data-type":m.type,style:a(d(m))},[(t(),r(l(o(y)(m)),{"field-item":m,textFormatter:e.textFormatter},null,8,["field-item","textFormatter"]))],12,g)])),_:1},16,["style"]))}}),[["__file","FormConfigDragDisplay.vue"]]);export{y as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,computed as i,ref as o,inject as l,watch as a,toRaw as t,openBlock as r,createElementBlock as n,Fragment as u,createBlock as s,unref as v,createVNode as d,nextTick as m}from"vue";import{cloneDeep as p}from"lodash-es";import{InjectionActiveFieldItem as f}from"../constants/index.js";import"../../../../shared/components/VueDraggable/src/vuedraggable.js";import"../utils/index.js";import c from"../../../../../_virtual/plugin-vue_export-helper.js";import"@vicons/ionicons5";import{NModal as g}from"naive-ui";import"../../../../shared/utils/index.js";import{useConfigurationField as h}from"../hooks/useConfigurationField.js";import"../../../index.js";import x from"../../../form-render/index.js";var _=c(e({__name:"FormConfigEdit",props:{uuid:{type:String,required:!0}},setup(e,{expose:c}){const _=e,j=i((()=>`#${_.uuid} .form-config__config`)),y=o(0),F=o(),b=l(f),k=o([]),w=o({}),{generateFieldListByFieldItem:C}=h(),E=o(!1);async function P(){var e;b.value=R,await m(),null==(e=F.value)||e.validate()}let R=null;function q({fieldKey:e,value:i}){b.value&&(b.value[e]=i)}return a(b,(async(e,i)=>{var o;if(e){if(i&&e!==R)try{await(null==(o=F.value)?void 0:o.validate())}catch(e){return E.value=!0}R=e,w.value={editable:!0,...p(t(e))},k.value=C(e).map((e=>({...e,componentProps:{to:j.value}}))),y.value++}}),{immediate:!0}),c({validate(){var e;return null==(e=F.value)?void 0:e.validate()}}),(e,i)=>(r(),n(u,null,[(r(),s(v(x),{key:y.value,column:12,ref_key:"formRenderRef",ref:F,size:"small",onFormChange:q,"field-list":k.value,"initial-data":w.value},null,8,["field-list","initial-data"])),d(v(g),{show:E.value,"onUpdate:show":i[0]||(i[0]=e=>E.value=e),preset:"dialog",to:v(j),"close-on-esc":!1,"mask-closable":!1,closable:!1,title:"存在填写错误的字段","positive-text":"继续编辑",onPositiveClick:P},null,8,["show","to"])],64))}}),[["__file","FormConfigEdit.vue"]]);export{_ as default};
@@ -1 +0,0 @@
1
- import{defineComponent as o,inject as e,openBlock as t,createBlock as r,unref as n,withModifiers as i,withCtx as l,createVNode as s}from"vue";import{CloseCircle as m}from"@vicons/ionicons5";import{isArray as p}from"lodash-es";import{NButton as u,NIcon as c}from"naive-ui";import{InjectionFieldList as a,InjectionMaterialList as f}from"../../constants/index.js";import _ from"../../../../../../_virtual/plugin-vue_export-helper.js";var v=_(o({__name:"CloseButton",props:{fieldItem:{type:Object,required:!0}},setup(o){const _=o,v=e(a),d=e(f),x=()=>{!function o(e){return p(e)&&e.some(((e,t,r)=>e!==_.fieldItem?o(e.children):(!e.__new&&d.value.push(e),r.splice(t,1))))}(v.value)};return(o,e)=>(t(),r(n(u),{text:"",class:"form-config__renderer--closeButton","text-color":"#a5a5a5",onClick:i(x,["stop"])},{icon:l((()=>[s(n(c),{component:n(m)},null,8,["component"])])),_:1},8,["onClick"]))}}),[["__file","CloseButton.vue"]]);export{v as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,inject as o,computed as r,openBlock as t,createElementBlock as i,createElementVNode as l,mergeProps as m,unref as n,withModifiers as d,createTextVNode as f,toDisplayString as s,createVNode as p}from"vue";import c from"../FormConfigDragDisplay.vue.js";import u from"./CloseButton.vue.js";import{InjectionActiveFieldItem as a}from"../../constants/index.js";import{bindHover as _}from"../../utils/index.js";import v from"../../../../../../_virtual/plugin-vue_export-helper.js";const x={class:"form-config__renderer--complex form-config__renderer"},g=["onClick"];var I=v(e({__name:"ComplexNode",props:{fieldItem:{type:Object,required:!0},textFormatter:{type:Function,required:!0}},setup(e){const v=e,I=o(a);function j(){I.value=v.fieldItem}const C=r((()=>[{"is-active":I.value===v.fieldItem},"form-config__renderer--complexHeader"]));return(o,r)=>(t(),i("section",x,[l("header",m(n(_)(e.fieldItem),{class:n(C),onClick:d(j,["stop"])}),[f(s(v.fieldItem.name)+" ",1),p(u,{"field-item":e.fieldItem},null,8,["field-item"])],16,g),p(c,m(o.$props,{modelValue:e.fieldItem.children,"onUpdate:modelValue":r[0]||(r[0]=o=>e.fieldItem.children=o),class:"form-config__renderer--complex--grid"}),null,16,["modelValue"])]))}}),[["__file","ComplexNode.vue"]]);export{I as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,inject as t,computed as i,openBlock as r,createBlock as o,unref as d,mergeProps as l,withModifiers as f,withCtx as a,createVNode as m,normalizeClass as n,createTextVNode as s,toDisplayString as u}from"vue";import{NButton as p,NEllipsis as c}from"naive-ui";import _ from"./CloseButton.vue.js";import{InjectionActiveFieldItem as I,WidgetTextMap as v}from"../../constants/index.js";import{bindHover as y}from"../../utils/index.js";import x from"../../../../../../_virtual/plugin-vue_export-helper.js";var j=x(e({__name:"DefaultNode",props:{fieldItem:{type:Object,required:!0},textFormatter:{type:Function,required:!0}},setup(e){const x=e,j=t(I);function g(){j.value=x.fieldItem}const q=i((()=>[{"is-active":j.value===x.fieldItem},"form-config__renderer"])),h=i((()=>["form-config__renderer--default",{"is-required":x.fieldItem.required}])),C=i((()=>!1===x.fieldItem.editable));function F(){const e=v.get(x.fieldItem.type);return x.textFormatter(x.fieldItem,`${x.fieldItem.name}${e?`(${e})`:""}`)}return(t,i)=>(r(),o(d(p),l({secondary:!d(C),dashed:d(C)},d(y)(e.fieldItem),{onClick:f(g,["stop"]),class:d(q),"data-type":e.fieldItem.type}),{default:a((()=>[m(d(c),{class:n(d(h))},{default:a((()=>[s(u(F()),1)])),_:1},8,["class"]),m(_,{"field-item":e.fieldItem},null,8,["field-item"])])),_:1},16,["secondary","dashed","onClick","class","data-type"]))}}),[["__file","DefaultNode.vue"]]);export{j as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as o,computed as t,onMounted as r,onUnmounted as s,openBlock as a,createBlock as i,unref as l,withCtx as n,createElementBlock as m,createVNode as p,isRef as u,Fragment as d,renderList as c,createCommentVNode as f,createElementVNode as h,normalizeStyle as y,withKeys as j,withModifiers as g,toDisplayString as v}from"vue";import{createForm as b,onFieldValueChange as k,onFieldReact as F,onFormMount as C}from"@formily/core";import{FormProvider as H,FormConsumer as S}from"@formily/vue";import{isNumber as x,cloneDeep as A}from"lodash-es";import{NForm as R,NTabs as _,NTabPane as L,NConfigProvider as O}from"naive-ui";import{useAutoHidden as w}from"./hooks/useAutoHidden.js";import{useComplexOptionsSpan as B}from"./hooks/useComplexOptions.js";import{useFormDomEvent as V,useFormExposeEvent as I}from"./hooks/useFormEvent.js";import{useFormRenderLifeCycle as N}from"./hooks/useFormRenderLifeCycle.js";import{useLowCodeReactions as D}from"./hooks/useLowCodeReactions.js";import{useNuiThemeOverrides as q}from"./hooks/useNuiThemeOverrides.js";import"./utils/index.js";import{useFieldListAdaptor as U}from"./hooks/useFieldListAdaptor.js";import"../../../shared/utils/index.js";import"../index.js";import{useFieldVisitor as W}from"./hooks/useFieldVisitor.js";import"../../../shared/utils/tapable/SyncHook.js";import"../../../shared/utils/tapable/SyncBailHook.js";import"../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../shared/utils/tapable/SyncLoopHook.js";import"../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import{validateMessageLocale as K}from"./hooks/useFormValidator.js";import"@vueuse/core";import"date-fns";import{useAnchor as M}from"./hooks/useAnchor.js";import{useFormContext as T}from"./hooks/useFormContext.js";import"./hooks/useFormRenderOptions.js";import E from"../../../../_virtual/plugin-vue_export-helper.js";import{createObjSchema as P}from"./utils/schema.js";const J={key:0,style:{height:"54px"}},z={style:{"white-space":"pre"}};var G=E(e({__name:"FormRender",props:{fieldList:{type:Array},initialData:{type:Object,default:()=>({})},fieldVisitor:{type:Object},column:{type:Number,default:24},maxHeight:{type:[Number,String],default:""},anchor:{type:Boolean,default:!1},parallelism:{type:Number,default:3},businessFormatter:{type:Function},schema:{type:Object},components:{type:Object,default:()=>({})},scope:{type:Object,default:()=>({})},annotation:{type:Object},consumer:{type:Boolean,default:!1},uuid:{type:String},lifeCycle:{type:Object},requestInstance:{type:Object},enterToNextWidget:{type:[Boolean,Function],default:!0},lowCodeReactions:{type:Array},linebarAutoHidden:{type:Boolean}},emits:["formChange","annotationChange","scroll"],setup(e,{expose:E,emit:G}){const Q=e,{nuiThemeOverrides:X}=q();K();const Y=o(),Z=t((()=>x(Q.maxHeight)?Q.maxHeight+"px":Q.maxHeight)),{SchemaField:$,businessCollector:ee,formItemDepsCollector:oe,changeContextCollector:te,formUUID:re}=T(Q,G),{anchorBarRef:se,currentAnchor:ae,generateAnchorList:ie,updateAnchorList:le,anchorIdList:ne,onScroll:me}=M(Q,G,Y,oe);N(Q).callLifeCycle("onSetup");const{trigger:pe}=w(),ue=b({initialValues:Q.initialData,effects(e){k("*",(o=>{const t=o.props.name.toString();ee.trigger(e,t),oe.trigger(t),G("formChange",{fieldInstance:o,fieldKey:t,fieldName:o.title,value:o.value,context:te.getContext(t,o.value)}),de(t,o.value)})),Q.linebarAutoHidden&&(F("*",pe),C((e=>e.query("*").forEach(pe)))),Q.anchor&&(F("*",le),C(ie))}}),{lowCodeReactionsHandler:de,triggerAllReactionsHandler:ce}=D(t((()=>Q.lowCodeReactions)),ue);r(ce);const{schemaAdaptor:fe}=U(ee);let he=Q.fieldList||[];const ye=t((()=>Q.schema?Q.schema:Q.fieldList?(he=W().traverse(A(Q.fieldList),Q.fieldVisitor),P(fe(he))):P({}))),{onKeydown:je}=V({formModel:ue,formRenderRef:Y,props:Q}),{clearSpan:ge}=B();s((()=>ge(re)));const ve=I({formModel:ue,formRenderRef:Y,formItemDepsCollector:oe,getFieldList:()=>he,formUUID:re});return E({formModel:ue,validate:(e="*")=>ve.validate(e),getFormValues:(e=!0,o=!0)=>ve.getFormValues(e,o),setFormValues:(e,o=!0)=>ve.setFormValues(e,o),setFieldState(e,o){ve.setFieldState(e,o)},resetFields(e="*"){ve.resetFields(e)},queryWidget:async e=>ve.queryWidget(e),async reload(){console.error("reload function is abstract,it should be overwrite!")}}),(o,t)=>(a(),i(l(R),{class:"form-render","require-mark-placement":"left"},{default:n((()=>[e.anchor?(a(),m("section",J,[p(l(_),{value:l(ae),"onUpdate:value":t[0]||(t[0]=e=>u(ae)?ae.value=e:null),type:"line",ref_key:"anchorBarRef",ref:se},{default:n((()=>[(a(!0),m(d,null,c(l(ne),(e=>(a(),i(l(L),{name:e.name,tab:e.title,key:e.name},null,8,["name","tab"])))),128))])),_:1},8,["value"])])):f("v-if",!0),p(l(O),{"theme-overrides":l(X)},{default:n((()=>[h("section",{class:"form-render__wrapper",style:y({"--column":e.column,"--form-height":l(Z)}),ref_key:"formRenderRef",ref:Y,onScroll:t[1]||(t[1]=(...e)=>l(me)&&l(me)(...e)),onKeydownCapture:t[2]||(t[2]=j(g(((...e)=>l(je)&&l(je)(...e)),["prevent"]),["enter"]))},[p(l(H),{form:l(ue)},{default:n((()=>[p(l($),{schema:l(ye)},null,8,["schema"]),e.consumer?(a(),i(l(S),{key:0},{default:n((({form:e})=>[h("div",z,v(JSON.stringify(e.values,null,2)),1)])),_:1})):f("v-if",!0)])),_:1},8,["form"])],36)])),_:1},8,["theme-overrides"])])),_:1}))}}),[["__file","FormRender.vue"]]);export{G as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as r,computed as t,openBlock as o,createBlock as a,nextTick as l}from"vue";import u from"./FormRender.vue.js";import d from"../../../../_virtual/plugin-vue_export-helper.js";var i=d(e({__name:"FormRenderWrapper",setup(e,{expose:d}){const i=r(),m=r(0);return d({...["validate","getFormValues","setFormValues","setFieldState","resetFieldState","resetFields","queryWidget"].reduce(((e,r)=>(e[r]=(...e)=>{var t;return null==(t=i.value)?void 0:t[r](...e)},e)),{}),formModel:t((()=>{var e;return null==(e=i.value)?void 0:e.formModel})),reload:async function(){m.value++,await l()}}),(e,r)=>(o(),a(u,{key:m.value,ref_key:"formRenderRef",ref:i}))}}),[["__file","FormRenderWrapper.vue"]]);export{i as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as r,computed as o,inject as a,openBlock as l,createElementBlock as s,createElementVNode as t,normalizeClass as i,unref as n,createTextVNode as d,toDisplayString as m,createBlock as u,createCommentVNode as f,Fragment as p,createVNode as v,withCtx as _,renderSlot as c}from"vue";import"../../../../index.js";import b from"../../tooltipMessage.vue.js";import{InjectionFormItemDepsCollector as k,FormItemLineBarDepKeyPrepend as h}from"../../../constants/index.js";import{ChevronDown as y,ChevronUp as g}from"@vicons/ionicons5";import{NCollapseTransition as j}from"naive-ui";import w from"../../../../../../../_virtual/plugin-vue_export-helper.js";import{useFormField as x}from"../../../hooks/useFormField.js";const F={class:"form-render__linebar","anchor-target":""},C={class:"form-render__linebarHeaderTitle"};var H=w(e({__name:"FormCollapse",props:{show:{type:Boolean,default:!0},title:{type:String,default:""},remark:String,disabled:{type:Boolean,default:!1}},setup(e){const w=e,H=r(w.show);function B(){w.disabled||(H.value=!H.value)}const S=o((()=>["form-render__linebarHeader",{"form-render__linebarHeader--disabled":!!w.disabled}])),{fieldKey:D}=x();return a(k).setDeps(D.value,h+D.value,((e=!0)=>{H.value=e})),(r,o)=>(l(),s("section",F,[t("header",{class:i(n(S)),onClick:B},[t("div",C,[d(m(e.title)+" ",1),e.remark?(l(),u(b,{key:0,message:e.remark},null,8,["message"])):f("v-if",!0)]),e.disabled?f("v-if",!0):(l(),s(p,{key:0},[H.value?(l(),u(n(y),{key:0})):(l(),u(n(g),{key:1}))],64))],2),v(n(j),{class:"form-render__linebarItem",show:H.value},{default:_((()=>[c(r.$slots,"default")])),_:3},8,["show"])]))}}),[["__file","FormCollapse.vue"]]);export{H as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,computed as o,inject as a,watch as r,createVNode as l,nextTick as n}from"vue";import{isEqual as i,isArray as s}from"lodash-es";import"../../../index.js";import{useCommonInjection as u}from"../../hooks/useCommonInjection.js";import{InjectionAsyncQueue as m,InjectionFormUUID as c}from"../../constants/index.js";import"../../../../../shared/utils/index.js";import"../../utils/index.js";import{useFormField as p}from"../../hooks/useFormField.js";import"@vueuse/core";import"../../../../../shared/utils/tapable/SyncHook.js";import"../../../../../shared/utils/tapable/SyncBailHook.js";import"../../../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../../../shared/utils/tapable/SyncLoopHook.js";import"../../../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import"../../hooks/useFormValidator.js";import"@formily/core";import"date-fns";import"../../../../../../node_modules/@formily/reactive/esm/batch.js";import"../../../../../../node_modules/@formily/reactive/esm/action.js";import"../../../../../../node_modules/@formily/reactive/esm/untracked.js";import"../../../../../../node_modules/@formily/reactive/esm/observable.js";import"../../../../../../node_modules/@formily/reactive/esm/tree.js";import"../../../../../../node_modules/@formily/reactive/esm/environment.js";import"../../../../../../node_modules/@formily/reactive/esm/handlers.js";import"../../../../../../node_modules/@formily/reactive/esm/autorun.js";import"../../../../../../node_modules/@formily/reactive/esm/array.js";import{connect as d,mapProps as v}from"@formily/vue";import"@vue/shared";import"./index.js";import"../../hooks/useFormRenderOptions.js";import{NCascader as f}from"naive-ui";import{createVisitedSetter as y,assignUpdateValue as h,traverseDependKey as j}from"../../utils/schema.js";const b=d(e({name:"FormCascader",props:{options:{type:Array,default:()=>[]},depth:{type:[Number,String]},urlConfig:{type:Object},requestCache:{type:Boolean,default:!0},onFocus:{type:Function},filterable:{type:Boolean,default:!1},onChange:{},value:{}},emits:["update:value"],setup(e,{slots:d,emit:v}){const h=t(),{field:b,title:k}=p(),C=o((()=>{var t,o;return null!=(o=null==(t=e.urlConfig)?void 0:t.nameKey)?o:"text"})),g=o((()=>{var t,o;return null!=(o=null==(t=e.urlConfig)?void 0:t.valueKey)?o:"value"})),A=o((()=>{try{const t=Array.isArray(e.value)?e.value:JSON.parse(e.value||"");return Array.isArray(t)&&t.length?t.map((e=>e[C.value])).join(" / "):null}catch(e){return null}}));function S(e,t,o){v("update:value",o.map((function(e){return{...e,label:e[C.value],children:void 0,parent:void 0}})))}const F=a(m);async function _(t){e.filterable?await async function(){if(!e.urlConfig||h.value&&e.requestCache)return;const t=await F.addAsync({...e.urlConfig,params:{lvlnr:"1"},key:k.value,cache:e.requestCache});function o(e,t){const a={[C.value]:e[C.value],[g.value]:e[g.value],depth:t+1,isLeaf:!0};return s(e.children)&&(a.children=e.children.map((e=>o(e,t+1))),a.isLeaf=!e.children.length),a}h.value=t.map((e=>o(e,0)))}():await async function(t){if(r(e,t))return;const o=await F.addAsync(l(u(t),s(e),k.value,t));if(!o.length&&t)return t.isLeaf=!0,S(0,0,n(t)),void(B.value=!1);const a=o.map((e=>i(e,u(t))));function r(e,t){return!s(e)||!t&&h.value&&e.requestCache||u(t)>=u(e)-1}function l(t,o,a,r){const l={lvlnr:t+1+""};return r&&o.dependKey&&j(o.dependKey,((e,t)=>{l[t]=r[e]})),{params:l,...o,key:a,cache:e.requestCache}}function n(e){let t=e;const o=[e];for(;t.parent;)o.unshift(t.parent),t=t.parent;return o}function i(o,a){return{[C.value]:o[C.value],[g.value]:o[g.value],depth:a+1,parent:t,isLeaf:a+2>=u(e)}}function s(e){return e.urlConfig}function u(e){var t;return null!=(t=null==e?void 0:e.depth)?t:-1}t?t.children=a:h.value=a}(t),await H()}const w=`form-render__cascade--menu-${a(c)}`;async function H(){await n();const e=document.querySelector(`.${w} .v-vl`);e&&e.dispatchEvent(new CustomEvent("scroll"))}const{injectValueValidate:x,injectValueWatchFromEmpty:L,injectValueBindKey:q}=u();L((()=>e.value),_),x((()=>e.value)),r((()=>e.urlConfig),(async(e,t)=>{i(e,t)||(h.value=null,await _())}));const B=t(!1);function K(e){B.value=!!e,e&&_()}const V=o((()=>h.value||e.options||[])),E=o((()=>!e.filterable)),O=q(A);return()=>l(f,{key:O.value,remote:E.value,filterable:e.filterable,"menu-props":{class:w,onClick:H},checkStrategy:"child",show:!!B.value,"onUpdate:show":K,value:A.value,"onUpdate:value":S,labelField:C.value,valueField:g.value,options:V.value,onLoad:_,onFocus:y(b)},d)}}),v({dataSource:"options"},h));export{b as SEARCH_CASCADER};
@@ -1 +0,0 @@
1
- import{defineComponent as e,computed as o,inject as t,createVNode as r}from"vue";import{useDebounceFn as s}from"@vueuse/core";import{cloneDeep as a,isString as i}from"lodash-es";import{useCommonInjection as l,useSelectOptionProps as m}from"../../hooks/useCommonInjection.js";import{InjectionChangeContextCollector as n}from"../../constants/index.js";import"../../../../../shared/utils/index.js";import"../../../index.js";import"../../utils/index.js";import{useFormField as p}from"../../hooks/useFormField.js";import"../../../../../shared/utils/tapable/SyncHook.js";import"../../../../../shared/utils/tapable/SyncBailHook.js";import"../../../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../../../shared/utils/tapable/SyncLoopHook.js";import"../../../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import"../../hooks/useFormValidator.js";import"@formily/core";import"date-fns";import"../../../../../../node_modules/@formily/reactive/esm/batch.js";import"../../../../../../node_modules/@formily/reactive/esm/action.js";import"../../../../../../node_modules/@formily/reactive/esm/untracked.js";import"../../../../../../node_modules/@formily/reactive/esm/observable.js";import"../../../../../../node_modules/@formily/reactive/esm/tree.js";import"../../../../../../node_modules/@formily/reactive/esm/environment.js";import"../../../../../../node_modules/@formily/reactive/esm/handlers.js";import"../../../../../../node_modules/@formily/reactive/esm/autorun.js";import"../../../../../../node_modules/@formily/reactive/esm/array.js";import{connect as u,mapProps as d}from"@formily/vue";import"@vue/shared";import"./index.js";import{useUrlConfigOptions as c,useAutographOptions as y,useRecommendOptions as f,searchContentMatcher as v}from"../../hooks/useFormRenderOptions.js";import{NSelect as j}from"naive-ui";import{createVisitedSetter as h,assignUpdateValue as b,assignClearBindVisited as k}from"../../utils/schema.js";const S=u(e({name:"FormSelect",props:{value:{type:[String,Array]},lazyRequest:{type:Boolean,default:!0},requestCache:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},onChange:{},urlConfig:{type:Object},autograph:{type:String},wordbook:{type:Object},recommend:{type:Boolean,default:!1},commonList:{type:Array},recentList:{type:Array},getRecommendInfo:{type:Function},recommendNum:{type:Number,default:10},recommendCache:{type:Boolean,default:!1}},emits:["update:value","postRecommend"],setup(e,{slots:u,emit:d}){const b=o({get:()=>e.value,async set(e){d("update:value",e),g(e)}}),{labelKey:k,valueKey:S,fetchData:A,options:F}=e.urlConfig?c(e,b):y(e,b),{getRecommend:H,postRecommend:g,sortedOptions:_}=f(e,F,d,k,S),{field:x,fieldKey:B}=p();t(n).setContext(B.value,(e=>{return{currentOption:a((o=e,_.value.find((e=>e[S.value]===o))))};var o}));let C="";const R=s((async(e="")=>{C=e,A(e),H(e)}),400),{injectValueValidate:L,injectValueWatchFromEmpty:O,injectValueBindKey:V}=l();O(b,R),L(b);const K=V(b),{menuProps:P,nodeProps:W}=m();function q(e){const o=e[k.value];if(!o||!i(o))return"";const t=v(C,o);return t?r("section",null,[t.map(((e,o)=>0!==o&&e?r("span",{style:{color:o%2==0?"var(--n-option-text-color-active)":""}},[e]):null))]):o}return()=>r(j,{key:K.value,remote:!0,filterable:!0,value:b.value,"onUpdate:value":e=>b.value=e,"menu-props":P,"node-props":W,labelField:k.value,valueField:S.value,options:_.value,onSearch:R,"onUpdate:show":e=>e&&R(),onFocus:h(x),renderLabel:q},u)}}),d({dataSource:"options"},b,k));export{S as SELECT};
@@ -1 +0,0 @@
1
- import{defineComponent as e,computed as o,openBlock as r,createBlock as i,unref as s,withCtx as t,createVNode as l,createElementVNode as n,createElementBlock as p,Fragment as a,renderList as m,toDisplayString as u}from"vue";import{HelpCircleOutline as g}from"@vicons/ionicons5";import{isString as f}from"lodash-es";import{NTooltip as v}from"naive-ui";import c from"../../../../../_virtual/plugin-vue_export-helper.js";const _={style:{display:"inline-flex","flex-direction":"column"}};var d=c(e({__name:"tooltipMessage",props:{message:String},setup(e){const c=e,d=o((()=>f(c.message)?c.message.split("<br>"):[]));return(e,o)=>(r(),i(s(v),{trigger:"hover"},{trigger:t((()=>[l(s(g))])),default:t((()=>[n("section",_,[(r(!0),p(a,null,m(s(d),(e=>(r(),p("span",{key:e},u(e),1)))),128))])])),_:1}))}}),[["__file","tooltipMessage.vue"]]);export{d as default};
@@ -1 +0,0 @@
1
- import{doAnimation as e}from"../../../../shared/utils/anime.js";import"../../../../../node_modules/@formily/reactive/esm/batch.js";import"../../../../../node_modules/@formily/reactive/esm/action.js";import{untracked as o}from"../../../../../node_modules/@formily/reactive/esm/untracked.js";import"../../../../../node_modules/@formily/reactive/esm/observable.js";import"../../../../../node_modules/@formily/reactive/esm/tree.js";import"../../../../../node_modules/@formily/reactive/esm/environment.js";import"../../../../../node_modules/@formily/reactive/esm/handlers.js";import"../../../../../node_modules/@formily/reactive/esm/autorun.js";import"../../../../../node_modules/@formily/reactive/esm/array.js";import{useDebounceFn as r,watchOnce as t}from"@vueuse/core";import{ref as i,nextTick as l,computed as n}from"vue";import{FormItemLineBarDepKeyPrepend as s}from"../constants/index.js";import"../utils/index.js";import{createLinebarId as a}from"../utils/schema.js";function m(m,u,c,v){const f=i(),d=i(""),p=i([]),y=r((async function(e){var o;p.value=Object.values(e.fields).reduce(((e,o)=>("LINEBAR"===o.componentType&&"visible"===o.selfDisplay&&e.push({title:o.title,name:o.address.toString()}),e)),[]),await l(),null==(o=f.value)||o.syncBarPosition()}),100);let j=!1;async function h(o){j=!0;try{if(!c.value)return;v.trigger(s+o,!0),await l();const r=c.value.querySelector(`#${a(o)}`);if(!r)return;await new Promise((o=>{e(c.value.scrollTop,r.offsetTop,300,(e=>{var o;null==(o=c.value)||o.scrollTo({top:e})}),"easeInSine",(()=>setTimeout(o,300)))}))}finally{j=!1}}const T=r((function(e){var o;if(j||!c.value)return;const{scrollTop:r,clientHeight:t}=c.value,i=p.value.find(((e,o,i)=>{const l=i[o+1];if(!l)return!0;const n=c.value.querySelector(`#${a(l.name)}`);return n?n.offsetTop>r+t/2:void 0}))||p.value[p.value.length-1];d.value=null!=(o=null==i?void 0:i.name)?o:"",u("scroll",e)}),300);t(p,(e=>{var o,r;d.value=null!=(r=null==(o=e[0])?void 0:o.name)?r:""}));return{currentAnchor:n({get:()=>d.value,async set(e){d.value=e,await new Promise((e=>setTimeout(e,100))),await h(e)}}),onScroll:T,anchorIdList:p,generateAnchorList:y,updateAnchorList:function(e){"LINEBAR"===e.componentType&&e.selfDisplay&&o((()=>y(e.form)))},scrollTo:h,anchorBarRef:f}}export{m as useAnchor};
@@ -1 +0,0 @@
1
- import"../../../../../node_modules/@formily/reactive/esm/batch.js";import"../../../../../node_modules/@formily/reactive/esm/action.js";import{untracked as e}from"../../../../../node_modules/@formily/reactive/esm/untracked.js";import"../../../../../node_modules/@formily/reactive/esm/observable.js";import"../../../../../node_modules/@formily/reactive/esm/tree.js";import"../../../../../node_modules/@formily/reactive/esm/environment.js";import"../../../../../node_modules/@formily/reactive/esm/handlers.js";import"../../../../../node_modules/@formily/reactive/esm/autorun.js";import"../../../../../node_modules/@formily/reactive/esm/array.js";import{nextTick as r}from"vue";function o(){return{trigger:async function(o){const i=o.selfDisplay;e((async()=>{if("LINEBAR"===o.componentType)await r(),s(o);else{const e=o.parent;if(!e||"LINEBAR"!==e.componentType)return;"visible"===i?e.setDisplay("visible"):s(e)}}))}}}async function s(e){if("hidden"===e.selfDisplay)return;const r=function(e){const r=e.address.toString();return Reflect.get(e.form.query(r+".*"),"addresses").filter((o=>{const s=e.form.fields[o];return s&&s.address.parent().toString()===r}))}(e).some((r=>{const o=e.form.fields[r];return o&&"visible"===o.selfDisplay}));e.setDisplay(r?"visible":"hidden")}export{o as useAutoHidden};
@@ -1 +0,0 @@
1
- import{defineComponent as e,provide as t,computed as a,ref as o,watch as l,resolveComponent as s,openBlock as n,createElementBlock as i,unref as r,createBlock as u,resolveDynamicComponent as d,createVNode as f,mergeProps as c,createSlots as p,renderList as m,withCtx as v,createCommentVNode as b,renderSlot as g}from"vue";import{uuidGenerator as x}from"../../../shared/utils/index.js";import{useDebounceFn as h}from"@vueuse/core";import{promiseTimeout as k}from"@vueuse/shared";import{isFunction as y}from"lodash-es";import{VxeTableEventNameList as C,InjectionIhoTableEmits as j,InjectionIhoTableAnnotation as D,InjectionIhoTableUUID as _,InjectionIhoTableInstance as $,InjectionIhoTableConfig as H,InjectionIhoTableFieldList as A,InjectionIhoTableHandler as L}from"./constants/index.js";import{createTableHooks as T,applyTableConfigHooks as w,applyTableFieldHooks as R,createTableEventHandlers as E,createDomInsertComponent as F,createDataTransfer as I}from"./hooks/tapHooks/index.js";import{provideIhoTableEventListener as O}from"./hooks/tapHooks/useEventHooks.js";import{eventName2EventListener as N}from"./utils/index.js";import S from"../../../../_virtual/plugin-vue_export-helper.js";const q=["id"];var z=S(e({__name:"IhoTable",props:{tableConfig:{type:Object,default:()=>({})},fieldList:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},annotation:{type:Object}},emits:["formChange","settingClick","formClick","keyboard",...C],setup(e,{expose:C,emit:S}){var z,B;const G=e,J=O(),K=function(e,...t){S(e,...t);const a=r(U)[N(e)];y(a)&&a(...t),J.trigger(e,...t)};t(j,K),t(D,a((()=>G.annotation)));const M=x();t(_,M);const P=o();t($,P);const Q=T(),U=o({uuid:null!=(B=null==(z=G.tableConfig)?void 0:z.uuid)?B:M});t(H,U);const V=h(W,10);function W(){U.value=w(Q,G.tableConfig),U.value.uuid=M}const X=o([]);t(A,X);const Y=h(Z,10);function Z(){X.value=R(Q,G.fieldList,U.value,{$table:P,emits:K})}const ee=I(Q,U,P),te=o([]),ae=h(oe,10);async function oe(){var e;te.value=await ee(G.tableData),null==(e=P.value)||e.recalculate(!0)}const le={updateTableDataRef:ae,updateConfigRef:V,updateFieldListRef:Y};t(L,le);const se=E({hooks:Q,config:U,$table:P,context:le,emits:K}),ne=a((()=>({...U.value,...se})));l((()=>G.tableConfig),(()=>{V(),Y(),ae()}),{deep:!0}),l((()=>G.fieldList),(()=>{Y(),ae()}),{deep:!0}),l([()=>G.tableData,()=>{var e;return null==(e=G.tableData)?void 0:e.length}],(async()=>{var e,t;(null==(e=U.value.treeConfig)?void 0:e.expandAll)&&(await k(11),null==(t=P.value)||t.setAllTreeExpand(!0))})),l((()=>[...G.tableData]),ae),W(),Z(),oe();const{header:ie,footer:re}=F(Q);return C({$table:P,async loadData(e){var t;null==(t=P.value)||t.loadData(await ee(e))},setFilterState:(e,t)=>({fieldName:e,value:t}),...Q.exposeHooks.expose.call({},U,{$table:P,emits:K})}),Q.setupHooks.setup.call(U,X),(e,t)=>{const a=s("vxe-grid");return n(),i("section",{class:"iho-table",id:r(M)},[(n(),u(d(r(ie)))),f(a,c({ref_key:"$table",ref:P},r(ne),{columns:X.value,data:te.value}),p({_:2},[m(e.$slots,((t,a)=>({name:a,fn:v((()=>[b(" 实际上所有的vxe-grid插槽都支持 "),g(e.$slots,a)]))})))]),1040,["columns","data"]),(n(),u(d(r(re))))],8,q)}}}),[["__file","IhoTable.vue"]]);export{z as default};