cnhis-design-vue 3.1.44-release.5 → 3.1.45-beta.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 (360) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +0 -6
  3. package/es/components/base-search/src/index.vue.d.ts +0 -6
  4. package/es/components/base-search/src/index.vue.js +1 -1
  5. package/es/components/big-table/src/BigTable.vue.js +1 -1
  6. package/es/components/big-table/src/components/NoData.vue.js +1 -1
  7. package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -1
  8. package/es/components/big-table/src/components/input-button.vue.js +1 -1
  9. package/es/components/big-table/src/components/separate.vue.js +1 -1
  10. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  11. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
  12. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  13. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  14. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  15. package/es/components/button-print/src/ButtonPrint.vue.js +1 -1
  16. package/es/components/button-print/src/components/EditFormat.vue.js +1 -1
  17. package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -1
  18. package/es/components/button-print/src/components/Preview.vue.js +1 -1
  19. package/es/components/classification/index.d.ts +553 -75
  20. package/es/components/classification/src/components/search-filter/index.vue.d.ts +551 -61
  21. package/es/components/classification/src/components/search-filter/index.vue.js +1 -1
  22. package/es/components/classification/src/components/set-classification/index.vue.d.ts +553 -75
  23. package/es/components/classification/src/components/set-classification/index.vue.js +1 -1
  24. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  25. package/es/components/classification/src/components/table-modal/index.vue.js +1 -1
  26. package/es/components/classification/src/const/index.d.ts +2 -2
  27. package/es/components/classification/src/index.vue.d.ts +553 -75
  28. package/es/components/classification/src/index.vue.js +1 -1
  29. package/es/components/classification/style/index.css +1 -1
  30. package/es/components/date-picker/src/DatePicker.vue.js +1 -1
  31. package/es/components/fabric-chart/index.d.ts +5 -41
  32. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -41
  33. package/es/components/fabric-chart/src/FabricChart.vue.js +1 -1
  34. package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/{useBirthProcess.d.ts → birthProcess/useBirthProcess.d.ts} +2 -2
  36. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -0
  37. package/es/components/fabric-chart/src/hooks/{useBirthProcessChart.d.ts → birthProcess/useBirthProcessChart.d.ts} +3 -3
  38. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -0
  39. package/es/components/fabric-chart/src/hooks/index.d.ts +5 -7
  40. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  41. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +6 -0
  42. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -0
  43. package/es/components/fabric-chart/src/hooks/temperature/index.d.ts +6 -0
  44. package/es/components/fabric-chart/src/hooks/temperature/index.js +1 -0
  45. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +4 -0
  46. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
  47. package/es/components/fabric-chart/src/hooks/{useCenter.d.ts → temperature/useCenter.d.ts} +3 -3
  48. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -0
  49. package/es/components/fabric-chart/src/hooks/{useLeft.d.ts → temperature/useLeft.d.ts} +3 -3
  50. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -0
  51. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +4 -0
  52. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -0
  53. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +4 -0
  54. package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -0
  55. package/es/components/fabric-chart/src/hooks/{useShadow.d.ts → temperature/useShadow.d.ts} +1 -1
  56. package/es/components/fabric-chart/src/hooks/temperature/useShadow.js +1 -0
  57. package/es/components/fabric-chart/src/hooks/{useTemperatureChart.d.ts → temperature/useTemperatureChart.d.ts} +3 -3
  58. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -0
  59. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +4 -0
  60. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
  61. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -1
  62. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  63. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  64. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  65. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  66. package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
  67. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  68. package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
  69. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  70. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  71. package/es/components/fabric-chart/src/interface.d.ts +3 -3
  72. package/es/components/fabric-chart/src/utils/index.js +1 -1
  73. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  74. package/es/components/form-config/index.d.ts +0 -2
  75. package/es/components/form-config/src/FormConfig.vue.d.ts +0 -2
  76. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  77. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +0 -1
  78. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  79. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  80. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  81. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  82. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  83. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  84. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  85. package/es/components/form-render/index.d.ts +0 -1
  86. package/es/components/form-render/src/FormRender.vue.d.ts +0 -1
  87. package/es/components/form-render/src/FormRender.vue.js +1 -1
  88. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +0 -1
  89. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  90. package/es/components/form-render/src/components/renderer/combination.js +1 -1
  91. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
  92. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
  93. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  94. package/es/components/form-render/src/components/renderer/input.d.ts +4 -4
  95. package/es/components/form-render/src/components/renderer/input.js +1 -1
  96. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
  97. package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
  98. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  99. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -1
  100. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  101. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  102. package/es/components/form-render/src/components/renderer/select.js +1 -1
  103. package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -1
  104. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  105. package/es/components/form-render/src/types/index.d.ts +2 -0
  106. package/es/components/guide/src/renderer.js +1 -1
  107. package/es/components/iho-select-label/src/LabelFormContent.vue.js +1 -1
  108. package/es/components/iho-select-label/src/SelectLabel.vue.js +1 -1
  109. package/es/components/iho-select-label/src/components/label-classify.vue.js +1 -1
  110. package/es/components/iho-table/index.d.ts +2 -0
  111. package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -0
  112. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  113. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  114. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
  115. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.js +1 -1
  116. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
  117. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
  118. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
  119. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  120. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  121. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +3 -4
  122. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
  123. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  124. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  125. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  126. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -1
  127. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  128. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  129. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  130. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  131. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
  132. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
  133. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  134. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
  135. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  136. package/es/components/iho-table/src/types/index.d.ts +1 -0
  137. package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
  138. package/es/components/iho-table/src/utils/index.js +1 -1
  139. package/es/components/iho-table/style/index.css +1 -1
  140. package/es/components/index.css +1 -1
  141. package/es/components/index.d.ts +2 -1
  142. package/es/components/index.js +1 -1
  143. package/es/components/info-header/index.d.ts +8 -2
  144. package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -2
  145. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  146. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -1
  147. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -1
  148. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
  149. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  150. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +0 -1
  151. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  152. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -1
  153. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  154. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  155. package/es/components/keyboard/src/components/InputNumber.vue.js +1 -1
  156. package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -1
  157. package/es/components/map/src/Map.vue.js +1 -1
  158. package/es/components/picture-clipper/index.d.ts +59 -0
  159. package/es/components/picture-clipper/index.js +1 -0
  160. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +59 -0
  161. package/es/components/picture-clipper/src/PictureClipper.vue.js +1 -0
  162. package/es/components/picture-clipper/style/index.css +1 -0
  163. package/es/components/quick-search/index.d.ts +0 -6
  164. package/es/components/quick-search/src/index.vue.d.ts +0 -6
  165. package/es/components/quick-search/src/index.vue.js +1 -1
  166. package/es/components/quick-search/style/index.css +1 -1
  167. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -1
  168. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -1
  169. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -1
  170. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -1
  171. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  172. package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -1
  173. package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
  174. package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -1
  175. package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -1
  176. package/es/components/scale-view/src/components/NoData.vue.js +1 -1
  177. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
  178. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
  179. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
  180. package/es/components/search-cascader/src/SearchCascader.vue.js +1 -1
  181. package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
  182. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
  183. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
  184. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  185. package/es/components/select-label/src/SelectLabel.vue.js +1 -1
  186. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  187. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  188. package/es/components/select-person/src/SearchMultiple.vue.js +1 -1
  189. package/es/components/select-person/src/SelectPerson.vue.js +1 -1
  190. package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -1
  191. package/es/components/shortcut-setter/index.d.ts +0 -1
  192. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +0 -1
  193. package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -1
  194. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -1
  195. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  196. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +551 -48
  197. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  198. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +134 -0
  199. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.js +1 -0
  200. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +140 -0
  201. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.js +1 -0
  202. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +28 -0
  203. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.js +1 -0
  204. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.d.ts +28 -0
  205. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.js +1 -0
  206. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +54 -0
  207. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.js +1 -0
  208. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +61 -0
  209. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.js +1 -0
  210. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +68 -0
  211. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.js +1 -0
  212. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +47 -0
  213. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.js +1 -0
  214. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +551 -0
  215. package/es/components/table-filter/src/components/classify-filter/components/index.js +1 -0
  216. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +551 -48
  217. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  218. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -1
  219. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -1
  220. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.js +1 -1
  221. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.js +1 -1
  222. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.js +1 -1
  223. package/es/components/table-filter/src/components/render-widget/components/{Label.vue.d.ts → LabelInner.vue.d.ts} +1 -9
  224. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.js +1 -0
  225. package/es/components/table-filter/src/components/render-widget/components/{SelectLabel.vue.d.ts → LabelOut.vue.d.ts} +1 -9
  226. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.js +1 -0
  227. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +1 -9
  228. package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
  229. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +713 -8
  230. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  231. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +0 -6
  232. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  233. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -27
  234. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  235. package/es/components/table-filter/src/constants/index.d.ts +3 -0
  236. package/es/components/table-filter/src/constants/index.js +1 -0
  237. package/es/components/table-filter/src/tool/baseOptions.d.ts +4 -0
  238. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  239. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  240. package/es/components/table-filter/src/tool/transformData.js +1 -1
  241. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  242. package/es/components/table-filter/src/types/enums.js +1 -1
  243. package/es/components/time-line/src/TimeLine.vue.js +1 -1
  244. package/es/components/time-picker/src/TimePicker.vue.js +1 -1
  245. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -1
  246. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  247. package/es/env.d.ts +25 -25
  248. package/es/shared/components/SelectPage/SelectPage.vue.js +1 -1
  249. package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -1
  250. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
  251. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  252. package/es/shared/components/no-data/NoData.vue.js +1 -1
  253. package/es/shared/package.json.js +1 -1
  254. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  255. package/es/shared/utils/fabricjs/index.js +1 -0
  256. package/es/shared/utils/tapable/index.d.ts +139 -0
  257. package/package.json +2 -2
  258. package/es/components/base-search/src/index.vue2.js +0 -1
  259. package/es/components/big-table/src/components/NoData.vue2.js +0 -1
  260. package/es/components/big-table/src/components/edit-form/edit-separate.vue2.js +0 -1
  261. package/es/components/big-table/src/components/input-button.vue2.js +0 -1
  262. package/es/components/big-table/src/components/separate.vue2.js +0 -1
  263. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue2.js +0 -1
  264. package/es/components/button-print/src/components/EditFormat.vue2.js +0 -1
  265. package/es/components/button-print/src/components/IdentityVerification.vue2.js +0 -1
  266. package/es/components/classification/src/components/search-filter/index.vue2.js +0 -1
  267. package/es/components/classification/src/components/set-classification/index.vue2.js +0 -1
  268. package/es/components/classification/src/components/table-modal/index.vue2.js +0 -1
  269. package/es/components/classification/src/index.vue2.js +0 -1
  270. package/es/components/date-picker/src/DatePicker.vue2.js +0 -1
  271. package/es/components/fabric-chart/src/FabricChart.vue2.js +0 -1
  272. package/es/components/fabric-chart/src/components/PopupTip.vue2.js +0 -1
  273. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +0 -1
  274. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +0 -1
  275. package/es/components/fabric-chart/src/hooks/useBottom.d.ts +0 -4
  276. package/es/components/fabric-chart/src/hooks/useBottom.js +0 -1
  277. package/es/components/fabric-chart/src/hooks/useCenter.js +0 -1
  278. package/es/components/fabric-chart/src/hooks/useLeft.js +0 -1
  279. package/es/components/fabric-chart/src/hooks/useOther.d.ts +0 -4
  280. package/es/components/fabric-chart/src/hooks/useOther.js +0 -1
  281. package/es/components/fabric-chart/src/hooks/useRight.d.ts +0 -4
  282. package/es/components/fabric-chart/src/hooks/useRight.js +0 -1
  283. package/es/components/fabric-chart/src/hooks/useShadow.js +0 -1
  284. package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +0 -1
  285. package/es/components/fabric-chart/src/hooks/useTop.d.ts +0 -4
  286. package/es/components/fabric-chart/src/hooks/useTop.js +0 -1
  287. package/es/components/fabric-chart/src/utils/utils.js +0 -1
  288. package/es/components/field-set/src/FieldSet.vue2.js +0 -1
  289. package/es/components/form-config/src/FormConfig.vue2.js +0 -1
  290. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +0 -1
  291. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +0 -1
  292. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +0 -1
  293. package/es/components/form-config/src/components/renderer/CloseButton.vue2.js +0 -1
  294. package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +0 -1
  295. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +0 -1
  296. package/es/components/form-render/src/FormRender.vue2.js +0 -1
  297. package/es/components/form-render/src/FormRenderWrapper.vue2.js +0 -1
  298. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +0 -1
  299. package/es/components/form-render/src/components/tooltipMessage.vue2.js +0 -1
  300. package/es/components/iho-select-label/src/LabelFormContent.vue2.js +0 -1
  301. package/es/components/iho-select-label/src/SelectLabel.vue2.js +0 -1
  302. package/es/components/iho-select-label/src/components/label-classify.vue2.js +0 -1
  303. package/es/components/iho-table/src/IhoTable.vue2.js +0 -1
  304. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +0 -1
  305. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +0 -1
  306. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +0 -1
  307. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue2.js +0 -1
  308. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +0 -1
  309. package/es/components/info-header/src/InfoHeader.vue2.js +0 -1
  310. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +0 -1
  311. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +0 -1
  312. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue2.js +0 -1
  313. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +0 -1
  314. package/es/components/info-header/src/components/infoDescription/index.vue2.js +0 -1
  315. package/es/components/info-header/src/components/patientInfo/index.vue2.js +0 -1
  316. package/es/components/keyboard/src/Keyboard.vue2.js +0 -1
  317. package/es/components/keyboard/src/components/InputNumber.vue2.js +0 -1
  318. package/es/components/keyboard/src/components/NumberPanel.vue2.js +0 -1
  319. package/es/components/map/src/Map.vue2.js +0 -1
  320. package/es/components/quick-search/src/index.vue2.js +0 -1
  321. package/es/components/recommend-search/src/RecommendSearch.vue2.js +0 -1
  322. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +0 -1
  323. package/es/components/recommend-search/src/components/RecommendMenu.vue2.js +0 -1
  324. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +0 -1
  325. package/es/components/scale-view/src/ScaleView.vue2.js +0 -1
  326. package/es/components/scale-view/src/components/AnswerParse.vue2.js +0 -1
  327. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +0 -1
  328. package/es/components/scale-view/src/components/EvaluatePage.vue2.js +0 -1
  329. package/es/components/scale-view/src/components/NoData.vue2.js +0 -1
  330. package/es/components/search-cascader/src/SearchCascader.vue2.js +0 -1
  331. package/es/components/select-label/src/LabelFormContent.vue2.js +0 -1
  332. package/es/components/select-label/src/components/label-classify.vue2.js +0 -1
  333. package/es/components/shortcut-provider/src/ShortcutProvider.vue2.js +0 -1
  334. package/es/components/shortcut-setter/src/ShortcutSetter.vue2.js +0 -1
  335. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue2.js +0 -1
  336. package/es/components/steps-wheel/src/StepsWheel.vue2.js +0 -1
  337. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +0 -1
  338. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +0 -1
  339. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue2.js +0 -1
  340. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
  341. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +0 -1
  342. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +0 -1
  343. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +0 -1
  344. package/es/components/table-filter/src/components/render-widget/components/Label.vue.js +0 -1
  345. package/es/components/table-filter/src/components/render-widget/components/Label.vue2.js +0 -1
  346. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +0 -1
  347. package/es/components/table-filter/src/components/render-widget/components/SelectLabel.vue.js +0 -1
  348. package/es/components/table-filter/src/components/render-widget/components/SelectLabel.vue2.js +0 -1
  349. package/es/components/time-line/src/TimeLine.vue2.js +0 -1
  350. package/es/components/time-picker/src/TimePicker.vue2.js +0 -1
  351. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +0 -1
  352. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +0 -1
  353. package/es/shared/components/SelectPage/SelectPage.vue2.js +0 -1
  354. package/es/shared/components/SvgIcon/SvgIcon.vue2.js +0 -1
  355. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue2.js +0 -1
  356. package/es/shared/components/no-data/NoData.vue2.js +0 -1
  357. /package/es/_virtual/{_plugin-vue_export-helper.js → plugin-vue_export-helper.js} +0 -0
  358. /package/es/components/fabric-chart/src/{hooks/constant.d.ts → constants/index.d.ts} +0 -0
  359. /package/es/components/fabric-chart/src/{hooks/constant.js → constants/index.js} +0 -0
  360. /package/es/components/fabric-chart/src/utils/{utils.d.ts → index.d.ts} +0 -0
@@ -1 +1 @@
1
- export{default as CheckboxGroup}from"./CheckboxGroup.vue.js";export{default as InputNumberGroup}from"./InputNumberGroup.vue.js";export{default as Date}from"./Date.vue.js";export{default as DateRangeInner}from"./DateRangeInner.vue.js";export{default as DateRangeOut}from"./DateRangeOut.vue.js";export{default as Label}from"./Label.vue.js";export{default as SelectLabel}from"./SelectLabel.vue.js";
1
+ import{defineAsyncComponent as e}from"vue";const t=e((()=>import("./CheckboxGroup.vue.js"))),r=e((()=>import("./InputNumberGroup.vue.js"))),o=e((()=>import("./Date.vue.js"))),u=e((()=>import("./DateRangeInner.vue.js"))),p=e((()=>import("./DateRangeOut.vue.js"))),m=e((()=>import("./LabelInner.vue.js"))),i=e((()=>import("./LabelOut.vue.js"))),s=e((()=>import("./Select.vue.js")));export{t as CheckboxGroup,o as Date,u as DateRangeInner,p as DateRangeOut,r as InputNumberGroup,m as LabelInner,i as LabelOut,s as Select};
@@ -6,9 +6,6 @@ declare const _default: import("vue").DefineComponent<{
6
6
  modelValue: {
7
7
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
8
  };
9
- filterApiConfig: {
10
- type: ObjectConstructor;
11
- };
12
9
  }, any, {
13
10
  initialProps: {};
14
11
  }, {
@@ -32,9 +29,6 @@ declare const _default: import("vue").DefineComponent<{
32
29
  modelValue: {
33
30
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
34
31
  };
35
- filterApiConfig: {
36
- type: ObjectConstructor;
37
- };
38
32
  }>> & {
39
33
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
40
34
  onOutFilterChange?: ((...args: any[]) => any) | undefined;
@@ -1 +1 @@
1
- import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"../../types/enums.js";import{WidgetCfgMaps as n}from"./widgetCfgMaps.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";const a=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var l=r(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]},filterApiConfig:{type:Object}},emits:["update:modelValue","outFilterChange","changeInit"],computed:{valueCp(){return this.cfg.value}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t,widgetCfg:n,filterExplicit:r}=e;if(a.includes(t))return;const l=i.SELECT!==t&&i.SELECTLABEL!==t||!n.multiple?"100%":"200px";return{width:0===r?"100%":e.advanceColWidth?`${e.advanceColWidth}px`:l}},initComponentProps(e){const{_frontId:t,widgetType:i,alias:r,title:a,placeholder:l,widgetCfg:o,filterExplicit:s}=e,{props:p,handlerProps:h}=n.get(i);let d={...p};h&&(d=h(d,{...o,title:r||a,_frontId:t,filterExplicit:s})),l&&(d.placeholder=l),this.initialProps=d,d.value&&(this.valueCp=d.value)},generateWidget(e){const{widgetType:i}=e;if(!n.has(i))return null;const{value:r}=e,{component:a,style:l,eventsBySearch:o=[]}=n.get(i),s={...this.initialProps,value:r,componentCfg:e,filterApiConfig:this.filterApiConfig},p=o.reduce(((e,t)=>{const{name:i,handler:n}=t;let r=this.search;return n&&(r=e=>{n(e,this.search,s)}),{...e,[`on${i}`]:r}}),{});return t(a,{...l,...s,style:this.getEleWidth(e),value:this.valueCp,"onUpdate:value":e=>this.handleUpdate(e),onChangeInitState:(...e)=>this.handleChangeInitState(...e),...p})},handleUpdate(e){this.$emit("update:modelValue",e)},handleChangeInitState(e,t){this.$emit("changeInit",e,t)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{l as default};
1
+ import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"../../types/enums.js";import{WidgetCfgMaps as n}from"./widgetCfgMaps.js";import a from"../../../../../_virtual/plugin-vue_export-helper.js";const r=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var l=a(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]}},emits:["update:modelValue","outFilterChange","changeInit"],computed:{valueCp(){return this.cfg.value}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t,widgetCfg:n,filterExplicit:a}=e;if(r.includes(t))return;const l=i.SELECT!==t&&i.SELECTLABEL!==t||!n.multiple?"100%":"200px";return{width:0===a?"100%":e.advanceColWidth?`${e.advanceColWidth}px`:l}},initComponentProps(e){const{_frontId:t,widgetType:i,alias:a,title:r,placeholder:l,widgetCfg:s,filterExplicit:o}=e,{props:p,handlerProps:h}=n.get(i);let d={...p};h&&(d=h(d,{...s,title:a||r,_frontId:t,filterExplicit:o})),l&&(d.placeholder=l),this.initialProps=d,d.value&&(this.valueCp=d.value)},generateWidget(e){const{widgetType:i}=e;if(!n.has(i))return null;const{value:a}=e,{component:r,style:l,eventsBySearch:s=[]}=n.get(i),o={...this.initialProps,value:a,componentCfg:e},p=s.reduce(((e,t)=>{const{name:i,handler:n}=t;let a=this.search;return n&&(a=e=>{n(e,this.search,o)}),{...e,[`on${i}`]:a}}),{});return t(r,{...l,...o,style:this.getEleWidth(e),value:this.valueCp,"onUpdate:value":e=>this.handleUpdate(e),onChangeInitState:(...e)=>this.handleChangeInitState(...e),...p})},handleUpdate(e){this.$emit("update:modelValue",e)},handleChangeInitState(e,t){this.$emit("changeInit",e,t)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{l as default};
@@ -21,17 +21,11 @@ export declare const WidgetCfgMaps: Map<string, {
21
21
  value: {
22
22
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
23
23
  };
24
- filterApiConfig: {
25
- type: ObjectConstructor;
26
- };
27
24
  }, {
28
25
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
29
26
  value: {
30
27
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
31
28
  };
32
- filterApiConfig: {
33
- type: ObjectConstructor;
34
- };
35
29
  }>> & {
36
30
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
37
31
  onChangeInitState?: ((...args: any[]) => any) | undefined;
@@ -44,6 +38,7 @@ export declare const WidgetCfgMaps: Map<string, {
44
38
  selectOptions: import("vue").Ref<any[]>;
45
39
  isRemote: import("vue").Ref<boolean>;
46
40
  isLoading: import("vue").Ref<boolean>;
41
+ filterApiConfig: import("../../../..").AnyObject;
47
42
  valueCp: import("vue").WritableComputedRef<unknown>;
48
43
  searchOptions: (keyword: string) => Promise<any>;
49
44
  _handleSearch: (query: string) => Promise<void>;
@@ -61,9 +56,6 @@ export declare const WidgetCfgMaps: Map<string, {
61
56
  value: {
62
57
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
63
58
  };
64
- filterApiConfig: {
65
- type: ObjectConstructor;
66
- };
67
59
  }>> & {
68
60
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
69
61
  onChangeInitState?: ((...args: any[]) => any) | undefined;
@@ -646,9 +638,6 @@ export declare const WidgetCfgMaps: Map<string, {
646
638
  type: StringConstructor;
647
639
  default: string;
648
640
  };
649
- filterApiConfig: {
650
- type: ObjectConstructor;
651
- };
652
641
  }, {
653
642
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
654
643
  baseActiveColor: string;
@@ -660,15 +649,13 @@ export declare const WidgetCfgMaps: Map<string, {
660
649
  type: StringConstructor;
661
650
  default: string;
662
651
  };
663
- filterApiConfig: {
664
- type: ObjectConstructor;
665
- };
666
652
  }>> & {
667
653
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
668
654
  }>>;
669
655
  emit: (event: "update:value", ...args: any[]) => void;
670
656
  selectedList: import("vue").Ref<string[]>;
671
657
  tagList: import("vue").Ref<never[]>;
658
+ filterApiConfig: import("../../../..").AnyObject;
672
659
  categoryList: import("vue").ComputedRef<import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
673
660
  onResize: (el: HTMLElement, categoryItem: import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
674
661
  handleLabelUpfold: (categoryItem: import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
@@ -697,9 +684,6 @@ export declare const WidgetCfgMaps: Map<string, {
697
684
  type: StringConstructor;
698
685
  default: string;
699
686
  };
700
- filterApiConfig: {
701
- type: ObjectConstructor;
702
- };
703
687
  }>> & {
704
688
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
705
689
  }, {
@@ -726,9 +710,6 @@ export declare const WidgetCfgMaps: Map<string, {
726
710
  type: StringConstructor;
727
711
  default: string;
728
712
  };
729
- filterApiConfig: {
730
- type: ObjectConstructor;
731
- };
732
713
  }, {
733
714
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
734
715
  $attrs: {
@@ -742,14 +723,12 @@ export declare const WidgetCfgMaps: Map<string, {
742
723
  type: StringConstructor;
743
724
  default: string;
744
725
  };
745
- filterApiConfig: {
746
- type: ObjectConstructor;
747
- };
748
726
  }>> & {
749
727
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
750
728
  }>>;
751
729
  emit: (event: "update:value", ...args: any[]) => void;
752
730
  tagList: import("vue").Ref<never[]>;
731
+ filterApiConfig: import("../../../..").AnyObject;
753
732
  valueCp: import("vue").WritableComputedRef<string[]>;
754
733
  optionList: import("vue").ComputedRef<import("naive-ui").SelectOption[]>;
755
734
  initTagList: () => Promise<void>;
@@ -762,9 +741,6 @@ export declare const WidgetCfgMaps: Map<string, {
762
741
  type: StringConstructor;
763
742
  default: string;
764
743
  };
765
- filterApiConfig: {
766
- type: ObjectConstructor;
767
- };
768
744
  }>> & {
769
745
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
770
746
  }, {
@@ -1 +1 @@
1
- import{WidgetTypeEnums as e}from"../../types/enums.js";import{DatePresetValEnums as t,DateRangeOutDefEnums as l}from"./enums.js";import{NInputNumber as r,NInput as a}from"naive-ui";import o from"./components/CheckboxGroup.vue.js";import n from"./components/InputNumberGroup.vue.js";import p from"./components/Date.vue.js";import s from"./components/DateRangeInner.vue.js";import i from"./components/DateRangeOut.vue.js";import m from"./components/Label.vue.js";import u from"./components/SelectLabel.vue.js";import c from"./components/Select.vue.js";import{presetValToTimestamp as d,presetValToDateRangestr as y}from"./helpers/presetValToTimestamp.js";const f=e=>null==e?null:e,h=new Map([[e.INPUT_NUMBER,{component:r,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,t){"Enter"===e.key&&t()}}],handlerProps:(e,{title:t}={})=>({...e,placeholder:`输入${t}`}),setDefaultValue:f}],[e.INPUTNUMBER_RANGE,{component:n,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,t){"Enter"===e.key&&t()}}],handlerProps:(e,{title:t,filterExplicit:l}={})=>({...e,startPlaceholder:1===l?`起始${t}`:"最小值",endPlaceholder:1===l?`截止${t}`:"最大值"}),setDefaultValue:f}],[e.INPUT,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,t){"Enter"===e.key&&t()}}],handlerProps:(e,{title:t}={})=>({...e,placeholder:`搜索${t}`}),setDefaultValue:f}],[e.SELECT,{component:c,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,t,l){const{multiple:r}=l;r&&t()}}],handlerProps(e,t={}){const{valueList:l,multiple:r,title:a,manualMapping:o,dynamicOptionInfo:n,defaultValue:p,defValueUnit:s,_frontId:i,isInit:m}=t,u={...e,placeholder:`请选择${a}`,manualMapping:o,dynamicOptionInfo:n,valueList:l,defValue:p,defValueUnit:s,_frontId:i,isInit:m};return r&&(u.multiple=!0),u},setDefaultValue:f}],[e.DATE,{component:p,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,t={}){const{title:l}=t;return{...e,placeholder:`请选择${l}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?d(l,"YYYY-MM-DD"):e}],[e.DATE_RANGE_INNER,{component:s,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,t={}){const{title:l,filterExplicit:r}=t;return{...e,filterExplicit:r,startPlaceholder:`起始${l}`,endPlaceholder:`截止${l}`}},setDefaultValue:f}],[e.DATE_RANGE_OUT,{component:i,props:{type:"daterange",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,t={}){const{title:l,filterExplicit:r}=t;return{...e,filterExplicit:r,startPlaceholder:`起始${l}`,endPlaceholder:`截止${l}`}},setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?y(t,"YYYY-MM-DD"):e}],[e.DATE_TIME,{component:p,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,t={}){const{title:l}=t;return{...e,placeholder:`请选择${l}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?d(l,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATETIME_RANGE_INNER,{component:s,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,t={}){const{title:l,filterExplicit:r}=t;return{...e,filterExplicit:r,startPlaceholder:`起始${l}`,endPlaceholder:`截止${l}`}},setDefaultValue:f}],[e.DATETIME_RANGE_OUT,{component:i,props:{type:"datetimerange",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,t={}){const{title:l,filterExplicit:r}=t;return{...e,filterExplicit:r,startPlaceholder:`起始${l}`,endPlaceholder:`截止${l}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?y(l,"YYYY-MM-DD HH:mm:ss"):e}],[e.CHECKBOX_GROUP,{component:o,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:t,multiple:l}={}){const r={...e,multiple:l};return Array.isArray(t)&&(r.options=t.map((({value:e,label:t})=>({value:e,label:t})))),r},setDefaultValue:f}],[e.LABEL,{component:m,props:{},handlerProps:e=>({...e}),setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}],[e.SELECTLABEL,{component:u,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},handlerProps(e,t={}){const{multiple:l,title:r}=t,a={...e,placeholder:`请选择${r}`};return l&&(a.multiple=!0),a},setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}]]);export{h as WidgetCfgMaps};
1
+ import{WidgetTypeEnums as e}from"../../types/enums.js";import{DatePresetValEnums as l,DateRangeOutDefEnums as t}from"./enums.js";import{NInputNumber as a,NInput as r}from"naive-ui";import{InputNumberGroup as n,Select as o,Date as p,DateRangeInner as s,DateRangeOut as i,CheckboxGroup as u,LabelInner as c,LabelOut as d}from"./components/index.js";import{presetValToTimestamp as m,presetValToDateRangestr as y}from"./helpers/presetValToTimestamp.js";const h=e=>null==e?null:e,f=new Map([[e.INPUT_NUMBER,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`输入${l}`}),setDefaultValue:h}],[e.INPUTNUMBER_RANGE,{component:n,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l,filterExplicit:t}={})=>({...e,startPlaceholder:1===t?`起始${l}`:"最小值",endPlaceholder:1===t?`截止${l}`:"最大值"}),setDefaultValue:h}],[e.INPUT,{component:r,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`搜索${l}`}),setDefaultValue:h}],[e.SELECT,{component:o,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:a}=t;a&&l()}}],handlerProps(e,l={}){const{valueList:t,multiple:a,title:r,manualMapping:n,dynamicOptionInfo:o,defaultValue:p,defValueUnit:s,_frontId:i,isInit:u}=l,c={...e,placeholder:`请选择${r}`,manualMapping:n,dynamicOptionInfo:o,valueList:t,defValue:p,defValueUnit:s,_frontId:i,isInit:u};return a&&(c.multiple=!0),c},setDefaultValue:h}],[e.DATE,{component:p,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?m(t,"YYYY-MM-DD"):e}],[e.DATE_RANGE_INNER,{component:s,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:a}=l;return{...e,filterExplicit:a,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:h}],[e.DATE_RANGE_OUT,{component:i,props:{type:"daterange",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:a}=l;return{...e,filterExplicit:a,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?y(l,"YYYY-MM-DD"):e}],[e.DATE_TIME,{component:p,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?m(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATETIME_RANGE_INNER,{component:s,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:a}=l;return{...e,filterExplicit:a,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:h}],[e.DATETIME_RANGE_OUT,{component:i,props:{type:"datetimerange",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:a}=l;return{...e,filterExplicit:a,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?y(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.CHECKBOX_GROUP,{component:u,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:l,multiple:t}={}){const a={...e,multiple:t};return Array.isArray(l)&&(a.options=l.map((({value:e,label:l})=>({value:e,label:l})))),a},setDefaultValue:h}],[e.LABEL,{component:c,props:{},handlerProps:e=>({...e}),setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}],[e.SELECTLABEL,{component:d,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},handlerProps(e,l={}){const{multiple:t,title:a}=l,r={...e,placeholder:`请选择${a}`};return t&&(r.multiple=!0),r},setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}]]);export{f as WidgetCfgMaps};
@@ -0,0 +1,3 @@
1
+ import { AnyObject } from '../../../../../es/shared/types';
2
+ import { InjectionKey } from 'vue';
3
+ export declare const InjectionFilterApiConfig: InjectionKey<AnyObject>;
@@ -0,0 +1 @@
1
+ const o=Symbol("InjectionFilterApiConfig");export{o as InjectionFilterApiConfig};
@@ -6,3 +6,7 @@ export declare const widgetValOptions: {
6
6
  }[];
7
7
  };
8
8
  };
9
+ export declare const widgetDateRangeOptions: {
10
+ label: string;
11
+ value: string;
12
+ }[];
@@ -1 +1 @@
1
- import{DataTypeEnums as l,WidgetTypeEnums as e,WidgetValEnums as a}from"../types/enums.js";const T={[l.API]:{[e.DATE]:[{label:"今天",value:a.TODAY},{label:"明天",value:a.TOMORROW},{label:"昨天",value:a.YESTERDAY},{label:"本周初",value:a.WEEK_START},{label:"本周末",value:a.WEEK_END},{label:"本月初",value:a.MONTH_START},{label:"本月末",value:a.MONTH_END}],[e.DATE_TIME]:[{label:"当前时间",value:a.NOW},{label:"今天初",value:a.TODAY_START},{label:"今天末",value:a.TODAY_END},{label:"昨天初",value:a.YESTERDAY_START},{label:"昨天末",value:a.YESTERDAY_END},{label:"明天初",value:a.TOMORROW_START},{label:"明天末",value:a.TOMORROW_END},{label:"本周初",value:a.WEEK_START},{label:"本周末",value:a.WEEK_END},{label:"本月初",value:a.MONTH_START},{label:"本月末",value:a.MONTH_END}]}};export{T as widgetValOptions};
1
+ import{DataTypeEnums as l,WidgetTypeEnums as e,WidgetValEnums as a}from"../types/enums.js";import{DateRangeOutDefEnums as T}from"../components/render-widget/enums.js";const E={[l.API]:{[e.DATE]:[{label:"今天",value:a.TODAY},{label:"明天",value:a.TOMORROW},{label:"昨天",value:a.YESTERDAY},{label:"本周初",value:a.WEEK_START},{label:"本周末",value:a.WEEK_END},{label:"本月初",value:a.MONTH_START},{label:"本月末",value:a.MONTH_END}],[e.DATE_TIME]:[{label:"当前时间",value:a.NOW},{label:"今天初",value:a.TODAY_START},{label:"今天末",value:a.TODAY_END},{label:"昨天初",value:a.YESTERDAY_START},{label:"昨天末",value:a.YESTERDAY_END},{label:"明天初",value:a.TOMORROW_START},{label:"明天末",value:a.TOMORROW_END},{label:"本周初",value:a.WEEK_START},{label:"本周末",value:a.WEEK_END},{label:"本月初",value:a.MONTH_START},{label:"本月末",value:a.MONTH_END}]}},u=[{label:"今天",value:T.TODAY},{label:"明天",value:T.TOMORROW},{label:"昨天",value:T.YESTERDAY},{label:"本周",value:T.THIS_WEEK},{label:"下周",value:T.NEXT_WEEK},{label:"上周",value:T.LAST_WEEK},{label:"本月",value:T.THIS_MONTH},{label:"上月",value:T.LAST_MONTH},{label:"下月",value:T.NEXT_MONTH},{label:"本季度",value:T.THIS_QUARTER},{label:"上季度",value:T.LAST_QUARTER},{label:"下季度",value:T.NEXT_QUARTER},{label:"本年",value:T.THIS_YEAR},{label:"上年",value:T.LAST_YEAR},{label:"下年",value:T.NEXT_YEAR},{label:"近一周",value:T.PAST_WEEK},{label:"近一个月",value:T.PAST_MONTH},{label:"近半年",value:T.PAST_HALF_YEAR}];export{u as widgetDateRangeOptions,E as widgetValOptions};
@@ -24,6 +24,7 @@ export declare const transformDataToFront: (dataType: string, rawData?: any[]) =
24
24
  mapping: any;
25
25
  };
26
26
  remark: any;
27
+ optionInfo: any;
27
28
  _rawData: any;
28
29
  }[];
29
30
  export declare const transformDataToEnd: (data: IFilterConditionType[]) => ({
@@ -1 +1 @@
1
- import{DataTypeEnums as l,WidgetTypeEnums as e,WidgetOptionEnums as t}from"../types/enums.js";const i=l=>null==l||null==l,a=(i,a=[])=>i===l.API?a.map((l=>{var a,n,u,p,o,r,d,v,y,m,s;const f=null!=(n=null==(a=l.optionInfo)?void 0:a.list)?n:[];return{dataType:i,p_name:l.name,p_type:l.dataType,title:l.title,customTitle:l.customTitle,type:l.type,optionSetting:l.optionType,openAdvancedFilter:l.isShowSearch,filterOutDisplay:l.filterExplicit,filterOutRequired:l.explicitRequired,width:l.width,defValCfg:{value:l.type===e.SELECT&&l.optionType===t.MULTIPLE?null!=(p=null==(u=l.defaultValue)?void 0:u.valueList)?p:[]:null!=(d=null==(r=null==(o=l.defaultValue)?void 0:o.valueList)?void 0:r[0])?d:null,presetVal:l.type===e.SELECT&&l.optionType===t.MULTIPLE?(null==(v=l.defaultValue)?void 0:v.unit)?[null==(y=l.defaultValue)?void 0:y.unit]:[]:null!=(s=null==(m=l.defaultValue)?void 0:m.unit)?s:null},mappingConfig:{mappingMethod:null,mapping:f.map((({name:l,value:e})=>({label:l,value:e})))},remark:l.remark,_rawData:l}})):[],n=e=>e.map((e=>{var t;const{title:i,customTitle:a,openAdvancedFilter:n,filterOutDisplay:u,filterOutRequired:p,width:o,optionSetting:r,defValCfg:d,mappingConfig:v,remark:y,_rawData:m}=e,{value:s,presetVal:f}=d,{mapping:c}=v;if(e.dataType===l.API){const{p_name:l,p_type:d,type:v}=e;return{...m,name:l,title:i,customTitle:a,type:v,dataType:d,isShowSearch:n,filterExplicit:u,explicitRequired:p,width:o,optionType:r,defaultValue:{valueList:Array.isArray(s)?s:s?[s]:[],unit:Array.isArray(f)?f[0]:f},optionInfo:{manualMapping:null==(t=null==m?void 0:m.optionInfo)?void 0:t.manualMapping,list:c.map((({label:l,value:e})=>({name:l,value:e})))},remark:y}}return null})).filter((l=>!!l)),u=(l,i)=>l.map((l=>{var a,n;const u=((l,e)=>e.find((e=>e.p_name===l)))(l.field_key,i);let p=l.value;p&&!Array.isArray(p)&&(p=[p]);const o=(null==u?void 0:u.type)===e.SELECT&&(null==u?void 0:u.optionSetting)===t.MULTIPLE?null!=p?p:[]:null!=(a=null==p?void 0:p[0])?a:null;return{key:l.field_key,condition:l.con,value:o,presetVal:null!=(n=l.unit)?n:null}})),p=l=>l.map((l=>({field_key:l.key,con:l.condition,value:Array.isArray(l.value)?l.value:l.value?[l.value]:[],unit:l.presetVal})));export{i as isNil,u as transformConditions,n as transformDataToEnd,a as transformDataToFront,p as transformRawConditions};
1
+ import{DataTypeEnums as l,WidgetTypeEnums as e,WidgetOptionEnums as t}from"../types/enums.js";const i=l=>null==l||null==l,n=(i,n=[])=>i===l.API?n.map((l=>{var n,a,u,p,o,r,d,y,v,E,m,f;const s=null!=(a=null==(n=l.optionInfo)?void 0:n.list)?a:[];let T=l.type;return l.type===e.LABEL&&(T=e.SELECTLABEL),l.type===e.SELECT&&!1===(null==(u=null==l?void 0:l.optionInfo)?void 0:u.manualMapping)&&(T=e.SELECTDYNAMIC),l.rangeFilter&&(l.type===e.INPUT_NUMBER&&(T=e.INPUTNUMBER_RANGE),l.type===e.DATE&&(T=e.DATE_RANGE_INNER),l.type===e.DATE_TIME&&(T=e.DATETIME_RANGE_INNER)),{dataType:i,p_name:l.name,p_type:l.dataType,title:l.title,customTitle:l.customTitle,type:T,optionSetting:l.optionType,openAdvancedFilter:l.isShowSearch,filterOutDisplay:l.filterExplicit,filterOutRequired:l.explicitRequired,width:l.width,defValCfg:{value:l.type===e.SELECT&&l.optionType===t.MULTIPLE?null!=(o=null==(p=l.defaultValue)?void 0:p.valueList)?o:[]:null!=(y=null==(d=null==(r=l.defaultValue)?void 0:r.valueList)?void 0:d[0])?y:null,presetVal:l.type===e.SELECT&&l.optionType===t.MULTIPLE?(null==(v=l.defaultValue)?void 0:v.unit)?[null==(E=l.defaultValue)?void 0:E.unit]:[]:null!=(f=null==(m=l.defaultValue)?void 0:m.unit)?f:null},mappingConfig:{mappingMethod:null,mapping:s.map((({name:l,value:e})=>({label:l,value:e})))},remark:l.remark,optionInfo:l.optionInfo,_rawData:l}})):[],a=e=>e.map((e=>{var t;const{title:i,customTitle:n,openAdvancedFilter:a,filterOutDisplay:u,filterOutRequired:p,width:o,optionSetting:r,defValCfg:d,mappingConfig:y,remark:v,_rawData:E}=e,{value:m,presetVal:f}=d,{mapping:s}=y;if(e.dataType===l.API){const{p_name:l,p_type:d,type:y}=e;return{...E,name:l,title:i,customTitle:n,type:y,dataType:d,isShowSearch:a,filterExplicit:u,explicitRequired:p,width:o,optionType:r,defaultValue:{valueList:Array.isArray(m)?m:m?[m]:[],unit:Array.isArray(f)?f[0]:f},optionInfo:{manualMapping:null==(t=null==E?void 0:E.optionInfo)?void 0:t.manualMapping,list:s.map((({label:l,value:e})=>({name:l,value:e})))},remark:v}}return null})).filter((l=>!!l)),u=(l,i)=>l.map((l=>{var n,a;const u=((l,e)=>e.find((e=>e.p_name===l)))(l.field_key,i);let p=l.value;p&&!Array.isArray(p)&&(p=[p]);const o=(null==u?void 0:u.type)!==e.SELECT&&(null==u?void 0:u.type)!==e.SELECTDYNAMIC||(null==u?void 0:u.optionSetting)!==t.MULTIPLE?null!=(n=null==p?void 0:p[0])?n:null:null!=p?p:[];return{key:l.field_key,condition:l.con,value:o,presetVal:null!=(a=l.unit)?a:null}})),p=l=>l.map((l=>({field_key:l.key,con:l.condition,value:Array.isArray(l.value)?l.value:l.value?[l.value]:[],unit:l.presetVal})));export{i as isNil,u as transformConditions,a as transformDataToEnd,n as transformDataToFront,p as transformRawConditions};
@@ -28,6 +28,7 @@ export declare const WidgetTypeEnums: {
28
28
  DATETIME_RANGE_INNER: string;
29
29
  LABEL: string;
30
30
  SELECTLABEL: string;
31
+ SELECTDYNAMIC: string;
31
32
  };
32
33
  export declare const WidgetOptionEnums: {
33
34
  RADIO: string;
@@ -1 +1 @@
1
- const E={TEXT:"TEXT",NUMBER:"NUMBER",DATE:"DATE",DATE_TIME:"DATETIME",TIME:"TIME",BOOLEAN:"BOOLEAN"},T={SQL:"SQL",API:"API"},A={MANUAL:"manual",DICT:"dict"},_={INPUT_NUMBER:"NUMBER",INPUT:"TEXT",SELECT:"SELECT",DATE:"DATE",DATE_TIME:"DATETIME",CHECKBOX_GROUP:"CHECKBOX_GROUP",INPUTNUMBER_RANGE:"INPUTNUMBER_RANGE",DATE_RANGE_OUT:"DATE_RANGE_OUT",DATE_RANGE_INNER:"DATE_RANGE_INNER",DATETIME_RANGE_OUT:"DATETIME_RANGE_OUT",DATETIME_RANGE_INNER:"DATETIME_RANGE_INNER",LABEL:"LABEL",SELECTLABEL:"SELECTLABEL"},R={RADIO:"SELECT_SINGLE",MULTIPLE:"SELECT_MULTIPLE",ALL:"DATETIME_WHOLE",SELECT_TIME:"DATETIME_SELECT",PAST_TIME:"DATETIME_PAST",FUTURE_TIME:"DATETIME_FUTURE"},N={CUSTOM:"CUSTOM",FIRST_VAL:"FIRST",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",THIS_WEEK:"THIS_WEEK",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",NEXT_WEEK:"NEXT_WEEK",LAST_WEEK:"LAST_WEEK",THIS_MONTH:"THIS_MONTH",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END",NEXT_MONTH:"NEXT_MONTH",LAST_MONTH:"LAST_MONTH",THIS_QUARTER:"THIS_QUARTER",NEXT_QUARTER:"NEXT_QUARTER",LAST_QUARTER:"LAST_QUARTER",THIS_YEAR:"THIS_YEAR",NEXT_YEAR:"NEXT_YEAR",LAST_YEAR:"LAST_YEAR"},S={NULL:"NULL",EQUAL:"EQ"};export{S as ConditionEnums,T as DataTypeEnums,E as FieldTypeEnums,A as MappingMethodEnums,R as WidgetOptionEnums,_ as WidgetTypeEnums,N as WidgetValEnums};
1
+ const E={TEXT:"TEXT",NUMBER:"NUMBER",DATE:"DATE",DATE_TIME:"DATETIME",TIME:"TIME",BOOLEAN:"BOOLEAN"},T={SQL:"SQL",API:"API"},A={MANUAL:"manual",DICT:"dict"},_={INPUT_NUMBER:"NUMBER",INPUT:"TEXT",SELECT:"SELECT",DATE:"DATE",DATE_TIME:"DATETIME",CHECKBOX_GROUP:"CHECKBOX_GROUP",INPUTNUMBER_RANGE:"INPUTNUMBER_RANGE",DATE_RANGE_OUT:"DATE_RANGE_OUT",DATE_RANGE_INNER:"DATE_RANGE_INNER",DATETIME_RANGE_OUT:"DATETIME_RANGE_OUT",DATETIME_RANGE_INNER:"DATETIME_RANGE_INNER",LABEL:"LABEL",SELECTLABEL:"SELECTLABEL",SELECTDYNAMIC:"SELECTDYNAMIC"},R={RADIO:"SELECT_SINGLE",MULTIPLE:"SELECT_MULTIPLE",ALL:"DATETIME_WHOLE",SELECT_TIME:"DATETIME_SELECT",PAST_TIME:"DATETIME_PAST",FUTURE_TIME:"DATETIME_FUTURE"},N={CUSTOM:"CUSTOM",FIRST_VAL:"FIRST",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",THIS_WEEK:"THIS_WEEK",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",NEXT_WEEK:"NEXT_WEEK",LAST_WEEK:"LAST_WEEK",THIS_MONTH:"THIS_MONTH",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END",NEXT_MONTH:"NEXT_MONTH",LAST_MONTH:"LAST_MONTH",THIS_QUARTER:"THIS_QUARTER",NEXT_QUARTER:"NEXT_QUARTER",LAST_QUARTER:"LAST_QUARTER",THIS_YEAR:"THIS_YEAR",NEXT_YEAR:"NEXT_YEAR",LAST_YEAR:"LAST_YEAR"},S={NULL:"NULL",EQUAL:"EQ"};export{S as ConditionEnums,T as DataTypeEnums,E as FieldTypeEnums,A as MappingMethodEnums,R as WidgetOptionEnums,_ as WidgetTypeEnums,N as WidgetValEnums};
@@ -1 +1 @@
1
- import e from"./TimeLine.vue2.js";import i from"../../../_virtual/_plugin-vue_export-helper.js";var r=i(e,[["__file","TimeLine.vue"]]);export{r as default};
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};
@@ -1 +1 @@
1
- import e from"./TimePicker.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","TimePicker.vue"]]);export{i as default};
1
+ import{defineComponent as e,useAttrs as r,ref as t,computed as o,openBlock as s,createBlock as i,unref as m,mergeProps as u,createSlots as f,renderList as a,withCtx as l,renderSlot as p}from"vue";import{NTimePicker as n}from"naive-ui";import"../../../shared/utils/index.js";import"lodash-es";import{useDateTime as c}from"../../../shared/hooks/useDateTime.js";import _ from"../../../_virtual/plugin-vue_export-helper.js";var k=_(e({__name:"TimePicker",setup(e,{expose:_}){const k=r(),v=t(null),d=o((()=>Reflect.get(k,"format")?k.format:"HH:mm:ss")),{focus:h,blur:x}=c(v,d,k);return _({$timePicker:v,focus:h,blur:x}),(e,r)=>(s(),i(m(n),u({ref_key:"timePickerRef",ref:v},e.$attrs),f({_:2},[a(e.$slots,((r,t)=>({name:t,fn:l((()=>[p(e.$slots,t)]))})))]),1040))}}),[["__file","TimePicker.vue"]]);export{k as default};
@@ -1 +1 @@
1
- import e from"./chunk-upload-new.vue2.js";import u from"../../../_virtual/_plugin-vue_export-helper.js";var r=u(e,[["__file","chunk-upload-new.vue"]]);export{r as default};
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};
@@ -1 +1 @@
1
- import o from"./vod-chunk-upload.vue2.js";import u from"../../../../_virtual/_plugin-vue_export-helper.js";var e=u(o,[["__file","vod-chunk-upload.vue"]]);export{e as default};
1
+ import{defineComponent as e,reactive as o,computed as l,onMounted as s,openBlock as i,createElementBlock as t,withDirectives as a,normalizeClass as r,unref as n,createElementVNode as d,Fragment as u,vShow as p,createCommentVNode as m,createVNode as c,withCtx as v,normalizeStyle as f,toDisplayString as g,createTextVNode as h,withModifiers as k,createBlock as y}from"vue";import"xe-utils";import"moment";import b from"../../../../shared/utils/vexutilsExpand.js";import{getVodData as C}from"../hooks/vod-data.js";import{VodComputed as U}from"../hooks/vod-computed.js";import L from"../../../../shared/components/player-vod/video-modal.js";import V from"../vod-upload-modal.js";import{NIcon as _,NButton as D}from"naive-ui";import{PlayCircleSharp as x,PlayCircleOutline as O,RemoveCircleSharp as w}from"@vicons/ionicons5";import S from"../../../../shared/assets/img/video_default_cover.png.js";import j from"../../../../shared/assets/img/video.png.js";import F from"../../../../shared/assets/img/success.png.js";import z from"../../../../shared/components/VueDraggable/src/vuedraggable.js";import N from"../../../../_virtual/plugin-vue_export-helper.js";const M={class:"c-upload"},A={class:"chunk-btn-content"},J={class:"c-uploader-btn"},B=["src"],E=d("div",{class:"uploader-text"},[d("p",null,"点击上传"),d("span",{class:"guage-text"},"上传视频(不超过50M)")],-1),P=["src"],T=d("div",{class:"uploader-text"},[d("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:()=>({})},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}=C(),ee=o(Z),oe={},{isShowBtn:le,maskHeight:se,showPercent:ie,allow_format:te,defaultValue:ae,isDisabled:re,max_size:ne,maxlength:de}=U(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]),b.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 s=[];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;s.push({name:e.name,size:e.size,url:e.url||o.videoUrl,vodCoverUrl:l,uid:e.id||e.uid||(-Math.random()).toString()})}})),console.log(s,"---resList---",Y.formData.title);let i=JSON.stringify(s);"guage"!==l?oe.baseForm.setFieldsValue({[o.val_key]:i}):N("vodFileList",i,Y.formData)},me=(e,o)=>{let l,s;if(e.type&&(s=e.type),e.url||e.videoUrl){if(l=e.url||e.videoUrl,!s){let e=l.split(".");s=`video/${e[e.length-1]}`}}else l=URL.createObjectURL(e.originFileObj);ee.playerOptions={sources:[{type:s,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 s((()=>{ue()})),(o,l)=>(i(),t("div",M,[e.isDetail||Y.isLock?m("v-if",!0):a((i(),t("div",{key:0,class:r(["c-chunk-uploader-btn",{"disable-upload":n(re)}]),onClick:ve},[d("div",A,[d("div",J,["guage"==Y.source?(i(),t(u,{key:0},[d("img",{src:n(j),class:"guage-img"},null,8,B),E],64)):(i(),t(u,{key:1},[d("img",{src:n(j),class:"guage-img"},null,8,P),T],64))])])],2)),[[p,n(le)]]),c(n(z),{modelValue:ee.fileList,"onUpdate:modelValue":l[0]||(l[0]=e=>ee.fileList=e),animation:"150",itemKey:"uid",disabled:n(re).value,options:ee.draggableOptions,onUpdate:ge,class:"drag-content"},{item:v((({element:o,index:l})=>{return[d("div",R,[m(" 上传中 "),"uploading"===o.status?(i(),t("div",G,[m(" TODO: 封面图补充 "),d("div",{class:"uploading-mask",style:f({height:n(se)(o)})},[d("span",null,g(n(ie)(o.percent))+"%",1)],4)])):"done"===o.status?(i(),t(u,{key:1},[m(" 上传完成 "),d("div",H,[d("img",{src:(s=o,s.thumbUrl?s.thumbUrl:S),class:"vod-cover-img"},null,8,K),d("div",{class:r(["tooltip-wrap",{"is-new":o.isNew}])},[d("img",{src:n(F),class:"upload-img"},null,8,$),h(" 上传成功 ")],2),m(" 播放图标 "),d("div",q,[c(n(_),{component:n(x),class:"icon-play theme_filled",onClick:k((e=>me(o)),["prevent","stop"])},null,8,["component","onClick"]),c(n(_),{component:n(O),class:"icon-play theme_outlined",onClick:k((e=>me(o)),["prevent","stop"])},null,8,["component","onClick"])])])],2112)):"error"===o.status?(i(),t(u,{key:2},[m(" 上传失败 "),d("div",I,[d("img",{src:o.thumbUrl,class:"vod-cover-img"},null,8,Q),d("div",W,[d("span",null,g(o.message?o.message:"上传失败,继续上传?"),1),c(n(D),{size:"small",onClick:k((e=>{}),["prevent","stop"])},{default:v((()=>[h("确定")])),_:2},1032,["onClick"])])])],2112)):m("v-if",!0),!["done","error"].includes(o.status)||n(re)||e.isDetail?m("v-if",!0):(i(),t("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"},[c(n(_),{class:"pre-delete",component:n(w)},null,8,["component"])],8,X))])];var s})),_:1},8,["modelValue","disabled","options"]),ee.videoVisible?(i(),y(n(L),{key:1,visible:ee.videoVisible,formData:Y.formData,playerOptions:ee.playerOptions,onCloseVideoModal:ce},null,8,["visible","formData","playerOptions"])):m("v-if",!0),c(n(V),{modelValue:ee.chunkUploadVisible,"onUpdate:modelValue":l[1]||(l[1]=e=>ee.chunkUploadVisible=e),modalTitle:Y.formData.name,max_size:n(ne),maxLength:n(de),propsCategoryMap:n(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};
package/es/env.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- declare module '*.vue' {
13
- // @ts-ignore
14
- import type { App, defineComponent } from 'vue';
15
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
- // // const component: DefineComponent<{}, {}, any>
17
- const component: ReturnType<typeof defineComponent> & {
18
- install(app: App): void;
19
- };
20
- // @ts-ignore
21
- export default component;
22
- }
23
-
24
- declare module '*.js';
25
-
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ declare module '*.vue' {
13
+ // @ts-ignore
14
+ import type { App, defineComponent } from 'vue';
15
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
+ // // const component: DefineComponent<{}, {}, any>
17
+ const component: ReturnType<typeof defineComponent> & {
18
+ install(app: App): void;
19
+ };
20
+ // @ts-ignore
21
+ export default component;
22
+ }
23
+
24
+ declare module '*.js';
25
+
@@ -1 +1 @@
1
- import e from"./SelectPage.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectPage.vue"]]);export{t as default};
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};
@@ -1 +1 @@
1
- import e from"./SvgIcon.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","SvgIcon.vue"]]);export{o as default};
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};
@@ -1 +1 @@
1
- import e from"./TextOverTooltip.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","TextOverTooltip.vue"]]);export{o as default};
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 s,createElementVNode as u,normalizeClass as n,renderSlot as p,toDisplayString as f,createTextVNode as m}from"vue";import{NTooltip as v}from"naive-ui";import"xe-utils";import"moment";import c from"../../utils/vexutilsExpand.js";import d from"../../../_virtual/plugin-vue_export-helper.js";const x={class:"text-over-tooltip-components"};var _=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 _=t(!1);const N=l((()=>{let e=d.tooltipTitle||d.content||"";return c.isNumber(e)?e.toString():e})),T=t(null),h=()=>{_.value=!1};return(t,l)=>(o(),i("div",x,[a(r(v),{effect:e.effect,show:r(_),placement:e.placement},{trigger:s((()=>[u("div",{class:n(["ellipsis",e.className]),onMouseover:l[0]||(l[0]=t=>(e=>{if(d.isAlias)return void(_.value=!0);let t=T.value.parentNode.offsetWidth,l=T.value.offsetWidth;_.value=l>t})(e.refName)),onMouseout:h},[u("i",{ref:e=>{e&&(T.value=e)}},[p(t.$slots,"default"),u("i",null,f(e.content),1)],512)],34)])),default:s((()=>[m(" "+f(r(N)),1)])),_:3},8,["effect","show","placement"])]))}}),[["__file","TextOverTooltip.vue"]]);export{_ as default};
@@ -0,0 +1,86 @@
1
+ declare const draggableComponent: import('vue').DefineComponent<
2
+ {
3
+ list: {
4
+ type: ArrayConstructor;
5
+ required: boolean;
6
+ default: any;
7
+ };
8
+ modelValue: {
9
+ type: ArrayConstructor;
10
+ required: boolean;
11
+ default: any;
12
+ };
13
+ itemKey: {
14
+ type: (FunctionConstructor | StringConstructor)[];
15
+ required: boolean;
16
+ };
17
+ clone: {
18
+ type: FunctionConstructor;
19
+ default: (original: any) => any;
20
+ };
21
+ tag: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ move: {
26
+ type: FunctionConstructor;
27
+ default: any;
28
+ };
29
+ componentData: {
30
+ type: ObjectConstructor;
31
+ required: boolean;
32
+ default: any;
33
+ };
34
+ },
35
+ unknown,
36
+ {
37
+ error: boolean;
38
+ },
39
+ {
40
+ realList(): any;
41
+ getKey(): any;
42
+ },
43
+ {
44
+ getUnderlyingVm(domElement: any): any;
45
+ getUnderlyingPotencialDraggableComponent(htmElement: any): any;
46
+ emitChanges(evt: any): void;
47
+ alterList(onList: any): void;
48
+ spliceList(): void;
49
+ updatePosition(oldIndex: any, newIndex: any): void;
50
+ getRelatedContextFromMoveEvent({ to, related }: { to: any; related: any }): any;
51
+ getVmIndexFromDomIndex(domIndex: any): any;
52
+ onDragStart(evt: any): void;
53
+ onDragAdd(evt: any): void;
54
+ onDragRemove(evt: any): void;
55
+ onDragUpdate(evt: any): void;
56
+ computeFutureIndex(relatedContext: any, evt: any): any;
57
+ onDragMove(evt: any, originalEvent: any): any;
58
+ onDragEnd(): void;
59
+ },
60
+ import('vue').ComponentOptionsMixin,
61
+ import('vue').ComponentOptionsMixin,
62
+ any[],
63
+ any,
64
+ import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
65
+ Readonly<
66
+ {
67
+ move: Function;
68
+ tag: string;
69
+ clone: Function;
70
+ list: unknown[];
71
+ modelValue: unknown[];
72
+ componentData: Record<string, any>;
73
+ } & {
74
+ itemKey?: string | Function;
75
+ }
76
+ >,
77
+ {
78
+ move: Function;
79
+ tag: string;
80
+ clone: Function;
81
+ list: unknown[];
82
+ modelValue: unknown[];
83
+ componentData: Record<string, any>;
84
+ }
85
+ >;
86
+ export default draggableComponent;
@@ -1 +1 @@
1
- import e from"./NoData.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var a=r(e,[["__file","NoData.vue"]]);export{a as default};
1
+ import{defineComponent as t,computed as e,openBlock as o,createElementBlock as a,unref as r,createCommentVNode as i,createElementVNode as s,toDisplayString as n}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 f from"../../assets/img/notfound.png.js";import g from"../../../_virtual/plugin-vue_export-helper.js";const u=["src"];var c=g(t({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(t){const g=t,c={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",fontSize:"22px",color:"#333"},d={width:"260px",maxWidth:"70%"},x={marginTop:"12px",marginBottom:"0",fontSize:"16px",color:"rgb(0 0 0 / 80%)"},y={marginTop:"6px",fontSize:"14px",color:"rgb(0 0 0 / 40%)"},h=e((()=>{let t=null;switch(g.noDataImg){case"no-permission":t=m;break;case"failure":t=l;break;case"nodata":t=p;break;default:t=f}return t})),v=e((()=>{let t="";switch(g.noDataImg){case"no-permission":t="请联系管理员";break;case"failure":t="请稍后再试"}return t}));return(e,p)=>(o(),a("div",{style:c},[t.showImg?(o(),a("img",{key:0,style:d,src:r(h),alt:""},null,8,u)):i("v-if",!0),s("p",{style:x},n(t.noDataTip),1),r(v)?(o(),a("span",{key:1,style:y},n(r(v)),1)):i("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{c as default};
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.1.44-release.5",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.44-release.5",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
1
+ var e="@cnhis-design-vue/shared",i="3.1.45-beta.0",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.45-beta.0",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};