cnhis-design-vue 3.1.44-beta.12 → 3.1.44-beta.14

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 (326) 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/base-search/src/index.vue2.js +1 -0
  6. package/es/components/big-table/src/BigTable.vue.js +1 -1
  7. package/es/components/big-table/src/components/NoData.vue.js +1 -1
  8. package/es/components/big-table/src/components/NoData.vue2.js +1 -0
  9. package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -1
  10. package/es/components/big-table/src/components/edit-form/edit-separate.vue2.js +1 -0
  11. package/es/components/big-table/src/components/input-button.vue.js +1 -1
  12. package/es/components/big-table/src/components/input-button.vue2.js +1 -0
  13. package/es/components/big-table/src/components/separate.vue.js +1 -1
  14. package/es/components/big-table/src/components/separate.vue2.js +1 -0
  15. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  16. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
  17. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue2.js +1 -0
  18. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  19. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  20. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  21. package/es/components/button-print/src/ButtonPrint.vue.js +1 -1
  22. package/es/components/button-print/src/components/EditFormat.vue.js +1 -1
  23. package/es/components/button-print/src/components/EditFormat.vue2.js +1 -0
  24. package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -1
  25. package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -0
  26. package/es/components/button-print/src/components/Preview.vue.js +1 -1
  27. package/es/components/classification/index.d.ts +553 -75
  28. package/es/components/classification/src/components/search-filter/index.vue.d.ts +551 -61
  29. package/es/components/classification/src/components/search-filter/index.vue.js +1 -1
  30. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -0
  31. package/es/components/classification/src/components/set-classification/index.vue.d.ts +553 -75
  32. package/es/components/classification/src/components/set-classification/index.vue.js +1 -1
  33. package/es/components/classification/src/components/set-classification/index.vue2.js +1 -0
  34. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  35. package/es/components/classification/src/components/table-modal/index.vue.js +1 -1
  36. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -0
  37. package/es/components/classification/src/const/index.d.ts +2 -2
  38. package/es/components/classification/src/index.vue.d.ts +553 -75
  39. package/es/components/classification/src/index.vue.js +1 -1
  40. package/es/components/classification/src/index.vue2.js +1 -0
  41. package/es/components/classification/style/index.css +1 -1
  42. package/es/components/date-picker/src/DatePicker.vue.js +1 -1
  43. package/es/components/date-picker/src/DatePicker.vue2.js +1 -0
  44. package/es/components/fabric-chart/src/FabricChart.vue.js +1 -1
  45. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
  46. package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -1
  47. package/es/components/fabric-chart/src/components/PopupTip.vue2.js +1 -0
  48. package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -1
  49. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  50. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +1 -1
  51. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/useBottom.d.ts +1 -1
  53. package/es/components/fabric-chart/src/hooks/useBottom.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/useCenter.d.ts +1 -1
  55. package/es/components/fabric-chart/src/hooks/useCenter.js +1 -1
  56. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -1
  57. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  58. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  59. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  60. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  61. package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
  62. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
  63. package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
  64. package/es/components/fabric-chart/src/hooks/useLeft.d.ts +1 -1
  65. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  66. package/es/components/fabric-chart/src/hooks/useOther.d.ts +1 -1
  67. package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
  68. package/es/components/fabric-chart/src/hooks/useRight.d.ts +1 -1
  69. package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
  70. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  71. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  72. package/es/components/fabric-chart/src/hooks/useShadow.d.ts +1 -1
  73. package/es/components/fabric-chart/src/hooks/useShadow.js +1 -1
  74. package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +1 -1
  75. package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
  76. package/es/components/fabric-chart/src/hooks/useTop.d.ts +1 -1
  77. package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
  78. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  79. package/es/components/fabric-chart/src/utils/index.js +1 -1
  80. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  81. package/es/components/field-set/src/FieldSet.vue2.js +1 -0
  82. package/es/components/form-config/index.d.ts +0 -2
  83. package/es/components/form-config/src/FormConfig.vue.d.ts +0 -2
  84. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  85. package/es/components/form-config/src/FormConfig.vue2.js +1 -0
  86. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +0 -1
  87. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  88. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -0
  89. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  90. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -0
  91. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  92. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  93. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -0
  94. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  95. package/es/components/form-config/src/components/renderer/CloseButton.vue2.js +1 -0
  96. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  97. package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -0
  98. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  99. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -0
  100. package/es/components/form-render/index.d.ts +0 -1
  101. package/es/components/form-render/src/FormRender.vue.d.ts +0 -1
  102. package/es/components/form-render/src/FormRender.vue.js +1 -1
  103. package/es/components/form-render/src/FormRender.vue2.js +1 -0
  104. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +0 -1
  105. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  106. package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -0
  107. package/es/components/form-render/src/components/renderer/combination.js +1 -1
  108. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  109. package/es/components/form-render/src/components/renderer/input.d.ts +4 -4
  110. package/es/components/form-render/src/components/renderer/input.js +1 -1
  111. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
  112. package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
  113. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  114. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -1
  115. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -0
  116. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  117. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  118. package/es/components/form-render/src/components/renderer/select.js +1 -1
  119. package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -1
  120. package/es/components/form-render/src/components/tooltipMessage.vue2.js +1 -0
  121. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  122. package/es/components/form-render/src/types/index.d.ts +2 -0
  123. package/es/components/guide/src/renderer.js +1 -1
  124. package/es/components/iho-select-label/src/LabelFormContent.vue.js +1 -1
  125. package/es/components/iho-select-label/src/LabelFormContent.vue2.js +1 -0
  126. package/es/components/iho-select-label/src/SelectLabel.vue.js +1 -1
  127. package/es/components/iho-select-label/src/SelectLabel.vue2.js +1 -0
  128. package/es/components/iho-select-label/src/components/label-classify.vue.js +1 -1
  129. package/es/components/iho-select-label/src/components/label-classify.vue2.js +1 -0
  130. package/es/components/iho-table/index.d.ts +2 -0
  131. package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -0
  132. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  133. package/es/components/iho-table/src/IhoTable.vue2.js +1 -0
  134. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  135. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.js +1 -1
  136. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +1 -0
  137. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
  138. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -0
  139. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  140. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -0
  141. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  142. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -1
  143. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue2.js +1 -0
  144. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  145. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  146. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -0
  147. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  148. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  149. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  150. package/es/components/iho-table/src/types/index.d.ts +1 -0
  151. package/es/components/iho-table/src/utils/index.js +1 -1
  152. package/es/components/iho-table/style/index.css +1 -1
  153. package/es/components/index.css +1 -1
  154. package/es/components/index.d.ts +2 -1
  155. package/es/components/index.js +1 -1
  156. package/es/components/info-header/index.d.ts +8 -2
  157. package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -2
  158. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  159. package/es/components/info-header/src/InfoHeader.vue2.js +1 -0
  160. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -1
  161. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +1 -0
  162. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -1
  163. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -0
  164. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
  165. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue2.js +1 -0
  166. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  167. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +1 -0
  168. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +0 -1
  169. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  170. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -0
  171. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -1
  172. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  173. package/es/components/info-header/src/components/patientInfo/index.vue2.js +1 -0
  174. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  175. package/es/components/keyboard/src/Keyboard.vue2.js +1 -0
  176. package/es/components/keyboard/src/components/InputNumber.vue.js +1 -1
  177. package/es/components/keyboard/src/components/InputNumber.vue2.js +1 -0
  178. package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -1
  179. package/es/components/keyboard/src/components/NumberPanel.vue2.js +1 -0
  180. package/es/components/map/src/Map.vue.js +1 -1
  181. package/es/components/map/src/Map.vue2.js +1 -0
  182. package/es/components/picture-clipper/index.d.ts +53 -0
  183. package/es/components/picture-clipper/index.js +1 -0
  184. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +53 -0
  185. package/es/components/picture-clipper/src/PictureClipper.vue.js +1 -0
  186. package/es/components/picture-clipper/src/PictureClipper.vue2.js +1 -0
  187. package/es/components/picture-clipper/style/index.css +1 -0
  188. package/es/components/quick-search/index.d.ts +0 -6
  189. package/es/components/quick-search/src/index.vue.d.ts +0 -6
  190. package/es/components/quick-search/src/index.vue.js +1 -1
  191. package/es/components/quick-search/src/index.vue2.js +1 -0
  192. package/es/components/quick-search/style/index.css +1 -1
  193. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -1
  194. package/es/components/recommend-search/src/RecommendSearch.vue2.js +1 -0
  195. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -1
  196. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +1 -0
  197. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -1
  198. package/es/components/recommend-search/src/components/RecommendMenu.vue2.js +1 -0
  199. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -1
  200. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +1 -0
  201. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  202. package/es/components/scale-view/src/ScaleView.vue2.js +1 -0
  203. package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -1
  204. package/es/components/scale-view/src/components/AnswerParse.vue2.js +1 -0
  205. package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
  206. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +1 -0
  207. package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -1
  208. package/es/components/scale-view/src/components/EvaluatePage.vue2.js +1 -0
  209. package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -1
  210. package/es/components/scale-view/src/components/NoData.vue.js +1 -1
  211. package/es/components/scale-view/src/components/NoData.vue2.js +1 -0
  212. package/es/components/search-cascader/src/SearchCascader.vue.js +1 -1
  213. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -0
  214. package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
  215. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  216. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -0
  217. package/es/components/select-label/src/SelectLabel.vue.js +1 -1
  218. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  219. package/es/components/select-label/src/components/label-classify.vue2.js +1 -0
  220. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  221. package/es/components/select-person/src/SearchMultiple.vue.js +1 -1
  222. package/es/components/select-person/src/SelectPerson.vue.js +1 -1
  223. package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -1
  224. package/es/components/shortcut-provider/src/ShortcutProvider.vue2.js +1 -0
  225. package/es/components/shortcut-setter/index.d.ts +0 -1
  226. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +0 -1
  227. package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -1
  228. package/es/components/shortcut-setter/src/ShortcutSetter.vue2.js +1 -0
  229. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -1
  230. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue2.js +1 -0
  231. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  232. package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -0
  233. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +551 -48
  234. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  235. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -0
  236. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +134 -0
  237. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.js +1 -0
  238. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -0
  239. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +140 -0
  240. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.js +1 -0
  241. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -0
  242. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +28 -0
  243. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.js +1 -0
  244. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +1 -0
  245. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.d.ts +28 -0
  246. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.js +1 -0
  247. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue2.js +1 -0
  248. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +54 -0
  249. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.js +1 -0
  250. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +1 -0
  251. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +61 -0
  252. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.js +1 -0
  253. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -0
  254. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +68 -0
  255. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.js +1 -0
  256. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -0
  257. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +47 -0
  258. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.js +1 -0
  259. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -0
  260. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +551 -0
  261. package/es/components/table-filter/src/components/classify-filter/components/index.js +1 -0
  262. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +551 -48
  263. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  264. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -0
  265. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -1
  266. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue2.js +1 -0
  267. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -1
  268. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
  269. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.js +1 -1
  270. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -0
  271. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.js +1 -1
  272. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -0
  273. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.js +1 -1
  274. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +1 -0
  275. package/es/components/table-filter/src/components/render-widget/components/{Label.vue.d.ts → LabelInner.vue.d.ts} +1 -9
  276. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.js +1 -0
  277. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -0
  278. package/es/components/table-filter/src/components/render-widget/components/{SelectLabel.vue.d.ts → LabelOut.vue.d.ts} +1 -9
  279. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.js +1 -0
  280. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -0
  281. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +1 -9
  282. package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
  283. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -0
  284. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +713 -8
  285. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  286. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +0 -6
  287. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  288. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -27
  289. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  290. package/es/components/table-filter/src/constants/index.d.ts +3 -0
  291. package/es/components/table-filter/src/constants/index.js +1 -0
  292. package/es/components/table-filter/src/directive/resize.js +1 -1
  293. package/es/components/table-filter/src/tool/baseOptions.d.ts +4 -0
  294. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  295. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  296. package/es/components/table-filter/src/tool/transformData.js +1 -1
  297. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  298. package/es/components/table-filter/src/types/enums.js +1 -1
  299. package/es/components/time-line/src/TimeLine.vue.js +1 -1
  300. package/es/components/time-line/src/TimeLine.vue2.js +1 -0
  301. package/es/components/time-picker/src/TimePicker.vue.js +1 -1
  302. package/es/components/time-picker/src/TimePicker.vue2.js +1 -0
  303. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -1
  304. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +1 -0
  305. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  306. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +1 -0
  307. package/es/env.d.ts +25 -25
  308. package/es/shared/components/SelectPage/SelectPage.vue.js +1 -1
  309. package/es/shared/components/SelectPage/SelectPage.vue2.js +1 -0
  310. package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -1
  311. package/es/shared/components/SvgIcon/SvgIcon.vue2.js +1 -0
  312. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
  313. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue2.js +1 -0
  314. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  315. package/es/shared/components/no-data/NoData.vue.js +1 -1
  316. package/es/shared/components/no-data/NoData.vue2.js +1 -0
  317. package/es/shared/package.json.js +1 -1
  318. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  319. package/es/shared/utils/fabricjs/index.js +1 -0
  320. package/es/shared/utils/tapable/index.d.ts +139 -0
  321. package/package.json +2 -2
  322. package/es/components/fabric-chart/src/utils/utils.js +0 -1
  323. package/es/components/table-filter/src/components/render-widget/components/Label.vue.js +0 -1
  324. package/es/components/table-filter/src/components/render-widget/components/SelectLabel.vue.js +0 -1
  325. /package/es/_virtual/{plugin-vue_export-helper.js → _plugin-vue_export-helper.js} +0 -0
  326. /package/es/components/fabric-chart/src/utils/{utils.d.ts → index.d.ts} +0 -0
@@ -0,0 +1,134 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ presetVal: {
11
+ type: StringConstructor;
12
+ default: null;
13
+ };
14
+ }, {
15
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
16
+ paramCfg: {
17
+ type: ObjectConstructor;
18
+ default: null;
19
+ };
20
+ modelValue: {
21
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
22
+ default: null;
23
+ };
24
+ presetVal: {
25
+ type: StringConstructor;
26
+ default: null;
27
+ };
28
+ }>> & {
29
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
31
+ }>>;
32
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
33
+ valueCp: import("vue").WritableComputedRef<any>;
34
+ presetValCp: import("vue").WritableComputedRef<string>;
35
+ dateType: any;
36
+ valueFormat: import("vue").ComputedRef<string>;
37
+ compType: import("vue").ComputedRef<any>;
38
+ mappingConfig: import("vue").ComputedRef<any>;
39
+ widgetOptions: import("vue").ComputedRef<{
40
+ label: string;
41
+ value: string;
42
+ }[]>;
43
+ CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
44
+ updateUnchangedValue: {
45
+ type: BooleanConstructor;
46
+ };
47
+ onConfirm: {
48
+ type: FunctionConstructor;
49
+ };
50
+ }, {
51
+ attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
55
+ updateUnchangedValue: {
56
+ type: BooleanConstructor;
57
+ };
58
+ onConfirm: {
59
+ type: FunctionConstructor;
60
+ };
61
+ }>> & {}>>;
62
+ datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
63
+ panelInstRef: import("vue").Ref<null>;
64
+ isDateTime: import("vue").ComputedRef<boolean>;
65
+ formatRef: import("vue").ComputedRef<string>;
66
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
67
+ focus: () => any;
68
+ blur: () => any;
69
+ onUpdateShow: (show: boolean) => void;
70
+ onConfirm: (...args: any[]) => void;
71
+ NDatePicker: any;
72
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
73
+ updateUnchangedValue: {
74
+ type: BooleanConstructor;
75
+ };
76
+ onConfirm: {
77
+ type: FunctionConstructor;
78
+ };
79
+ }>>, {
80
+ updateUnchangedValue: boolean;
81
+ }>>;
82
+ NSelect: any;
83
+ WidgetValEnums: {
84
+ CUSTOM: string;
85
+ FIRST_VAL: string;
86
+ NOW: string;
87
+ TODAY: string;
88
+ TODAY_START: string;
89
+ TODAY_END: string;
90
+ TOMORROW: string;
91
+ TOMORROW_START: string;
92
+ TOMORROW_END: string;
93
+ YESTERDAY: string;
94
+ YESTERDAY_START: string;
95
+ YESTERDAY_END: string;
96
+ THIS_WEEK: string;
97
+ WEEK_START: string;
98
+ WEEK_END: string;
99
+ NEXT_WEEK: string;
100
+ LAST_WEEK: string;
101
+ THIS_MONTH: string;
102
+ MONTH_START: string;
103
+ MONTH_END: string;
104
+ NEXT_MONTH: string;
105
+ LAST_MONTH: string;
106
+ THIS_QUARTER: string;
107
+ NEXT_QUARTER: string;
108
+ LAST_QUARTER: string;
109
+ THIS_YEAR: string;
110
+ NEXT_YEAR: string;
111
+ LAST_YEAR: string;
112
+ };
113
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
114
+ paramCfg: {
115
+ type: ObjectConstructor;
116
+ default: null;
117
+ };
118
+ modelValue: {
119
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
120
+ default: null;
121
+ };
122
+ presetVal: {
123
+ type: StringConstructor;
124
+ default: null;
125
+ };
126
+ }>> & {
127
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
128
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
129
+ }, {
130
+ modelValue: string | number | unknown[];
131
+ presetVal: string;
132
+ paramCfg: Record<string, any>;
133
+ }>;
134
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,openBlock as a,createElementBlock as l,Fragment as r,createVNode as u,unref as o,isRef as p,createBlock as m,createCommentVNode as s}from"vue";import n from"../../../../../date-picker/index.js";import{NSelect as d}from"naive-ui";import{WidgetTypeEnums as i,WidgetValEnums as v}from"../../../types/enums.js";import{generateDefOptionsInApi as f}from"../../../tool/generateDefOptions.js";var y=e({__name:"Date",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:y}){const c=e,g=t({set(e){y("update:modelValue",e)},get:()=>c.modelValue}),T=t({set(e){y("update:presetVal",e)},get:()=>c.presetVal}),C=t((()=>M.value.toLowerCase()||i.DATE.toLowerCase())),D=t((()=>{let e="";switch(M.value){case i.DATE:e="yyyy-MM-dd";break;case i.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),M=t((()=>c.paramCfg._rawData.type)),V=t((()=>{var e;return null==(e=c.paramCfg)?void 0:e.mappingConfig})),b=t((()=>{const e=f(M.value,V.value).slice(0);return M.value!==i.DATE&&M.value!==i.DATE_TIME||e.unshift({label:"自定义输入",value:v.CUSTOM}),e}));return(e,t)=>(a(),l(r,null,[u(o(d),{style:{width:"120px"},class:"form-item",to:"body",value:o(T),"onUpdate:value":t[0]||(t[0]=e=>p(T)?T.value=e:null),options:o(b)},null,8,["value","options"]),o(T)===o(v).CUSTOM?(a(),m(o(n),{key:0,class:"form-item",type:o(C),clearable:"",to:"body",valueFormat:o(D),"formatted-value":o(g),"onUpdate:formatted-value":t[1]||(t[1]=e=>p(g)?g.value=e:null)},null,8,["type","valueFormat","formatted-value"])):s("v-if",!0)],64))}});export{y as default};
@@ -0,0 +1,140 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ presetVal: {
11
+ type: StringConstructor;
12
+ default: null;
13
+ };
14
+ }, {
15
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
16
+ paramCfg: {
17
+ type: ObjectConstructor;
18
+ default: null;
19
+ };
20
+ modelValue: {
21
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
22
+ default: null;
23
+ };
24
+ presetVal: {
25
+ type: StringConstructor;
26
+ default: null;
27
+ };
28
+ }>> & {
29
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
31
+ }>>;
32
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
33
+ startDate: import("vue").Ref<any>;
34
+ endDate: import("vue").Ref<any>;
35
+ valueFormat: import("vue").ComputedRef<string>;
36
+ dateFormat: import("vue").ComputedRef<string>;
37
+ compType: import("vue").ComputedRef<any>;
38
+ startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
39
+ endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
40
+ dateType: any;
41
+ widgetOptions: import("vue").ComputedRef<{
42
+ label: string;
43
+ value: string;
44
+ }[]>;
45
+ presetValCp: import("vue").WritableComputedRef<string>;
46
+ handleChange: (val: any, type: 'start' | 'end') => void;
47
+ isStartDateDisabled: (ts: number) => boolean;
48
+ isEndDateDisabled: (ts: number) => boolean;
49
+ NSelect: any;
50
+ CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
51
+ updateUnchangedValue: {
52
+ type: BooleanConstructor;
53
+ };
54
+ onConfirm: {
55
+ type: FunctionConstructor;
56
+ };
57
+ }, {
58
+ attrs: {
59
+ [x: string]: unknown;
60
+ };
61
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
62
+ updateUnchangedValue: {
63
+ type: BooleanConstructor;
64
+ };
65
+ onConfirm: {
66
+ type: FunctionConstructor;
67
+ };
68
+ }>> & {}>>;
69
+ datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
70
+ panelInstRef: import("vue").Ref<null>;
71
+ isDateTime: import("vue").ComputedRef<boolean>;
72
+ formatRef: import("vue").ComputedRef<string>;
73
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
74
+ focus: () => any;
75
+ blur: () => any;
76
+ onUpdateShow: (show: boolean) => void;
77
+ onConfirm: (...args: any[]) => void;
78
+ NDatePicker: any;
79
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
+ updateUnchangedValue: {
81
+ type: BooleanConstructor;
82
+ };
83
+ onConfirm: {
84
+ type: FunctionConstructor;
85
+ };
86
+ }>>, {
87
+ updateUnchangedValue: boolean;
88
+ }>>;
89
+ WidgetValEnums: {
90
+ CUSTOM: string;
91
+ FIRST_VAL: string;
92
+ NOW: string;
93
+ TODAY: string;
94
+ TODAY_START: string;
95
+ TODAY_END: string;
96
+ TOMORROW: string;
97
+ TOMORROW_START: string;
98
+ TOMORROW_END: string;
99
+ YESTERDAY: string;
100
+ YESTERDAY_START: string;
101
+ YESTERDAY_END: string;
102
+ THIS_WEEK: string;
103
+ WEEK_START: string;
104
+ WEEK_END: string;
105
+ NEXT_WEEK: string;
106
+ LAST_WEEK: string;
107
+ THIS_MONTH: string;
108
+ MONTH_START: string;
109
+ MONTH_END: string;
110
+ NEXT_MONTH: string;
111
+ LAST_MONTH: string;
112
+ THIS_QUARTER: string;
113
+ NEXT_QUARTER: string;
114
+ LAST_QUARTER: string;
115
+ THIS_YEAR: string;
116
+ NEXT_YEAR: string;
117
+ LAST_YEAR: string;
118
+ };
119
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
120
+ paramCfg: {
121
+ type: ObjectConstructor;
122
+ default: null;
123
+ };
124
+ modelValue: {
125
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
126
+ default: null;
127
+ };
128
+ presetVal: {
129
+ type: StringConstructor;
130
+ default: null;
131
+ };
132
+ }>> & {
133
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
134
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
135
+ }, {
136
+ modelValue: string | number | unknown[];
137
+ presetVal: string;
138
+ paramCfg: Record<string, any>;
139
+ }>;
140
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./DateRange.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var a=r(e,[["__file","DateRange.vue"]]);export{a as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,Fragment as o,createVNode as s,unref as n,isRef as m,createCommentVNode as i}from"vue";import{NSelect as v}from"naive-ui";import d from"../../../../../date-picker/index.js";import p from"moment";import{cloneDeep as f,isString as c}from"lodash-es";import{WidgetTypeEnums as y,WidgetValEnums as b}from"../../../types/enums.js";import{widgetDateRangeOptions as D}from"../../../tool/baseOptions.js";const M={key:0,style:{display:"flex"}};var T=e({__name:"DateRange",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:T}){const h=e,E=a(),A=a(),V=l((()=>{let e="";switch(g.value){case y.DATE:e="yyyy-MM-dd";break;case y.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),Y=l((()=>{let e="";switch(g.value){case y.DATE:e="YYYY-MM-DD";break;case y.DATE_TIME:e="YYYY-MM-DD HH:mm:ss"}return e})),g=l((()=>h.paramCfg._rawData.type)),w=l((()=>g.value===y.DATE?"初始日期":"初始时间")),C=l((()=>g.value===y.DATE?"截止日期":"截止时间")),O=l((()=>g.value.toLowerCase()||y.DATE.toLowerCase())),k=l((()=>{const e=f(D);return e.unshift({label:"自定义输入",value:b.CUSTOM}),e})),x=l({set(e){T("update:presetVal",e)},get:()=>h.presetVal});function U(e,a){switch(a){case"start":E.value=e;break;case"end":A.value=e}const l=E.value?p(E.value).format(Y.value):null,t=A.value?p(A.value).format(Y.value):null;T("update:modelValue",l||t?`${null!=l?l:""} ~ ${null!=t?t:""}`:"")}function _(e){return!!A.value&&e>A.value}function j(e){return!!E.value&&e<E.value}return t((()=>h.modelValue),(e=>{if(e&&c(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(E.value=p(a.trim()).valueOf()),void(l.trim()&&(A.value=p(l.trim()).valueOf()))}E.value=A.value=null}),{immediate:!0}),(e,a)=>(u(),r(o,null,[s(n(v),{style:{width:"120px"},class:"form-item",to:"body",value:n(x),"onUpdate:value":a[0]||(a[0]=e=>m(x)?x.value=e:null),options:n(k)},null,8,["value","options"]),n(x)===n(b).CUSTOM?(u(),r("div",M,[s(n(d),{type:n(O),"default-time":"00:00:00",clearable:"",to:"body",valueFormat:n(V),placeholder:n(w),value:E.value,"is-date-disabled":_,"onUpdate:value":a[1]||(a[1]=e=>U(e,"start"))},null,8,["type","valueFormat","placeholder","value"]),s(n(d),{style:{"margin-left":"5px"},type:n(O),"default-time":"23:59:59",clearable:"",to:"body",valueFormat:n(V),placeholder:n(C),value:A.value,"is-date-disabled":j,"onUpdate:value":a[2]||(a[2]=e=>U(e,"end"))},null,8,["type","valueFormat","placeholder","value"])])):i("v-if",!0)],64))}});export{T as default};
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
4
+ default: null;
5
+ };
6
+ }, {
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ modelValue: {
9
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
10
+ default: null;
11
+ };
12
+ }>> & {
13
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ }>>;
15
+ emit: (event: "update:modelValue", ...args: any[]) => void;
16
+ valueCp: import("vue").WritableComputedRef<any>;
17
+ NInput: any;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ modelValue: {
20
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
21
+ default: null;
22
+ };
23
+ }>> & {
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ }, {
26
+ modelValue: string | number | unknown[];
27
+ }>;
28
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./InputFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","InputFilter.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as l,openBlock as a,createBlock as u,unref as t,isRef as r}from"vue";import{NInput as m}from"naive-ui";var o=e({__name:"InputFilter",props:{modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:o}){const n=e,p=l({set(e){o("update:modelValue",e)},get:()=>n.modelValue});return(e,l)=>(a(),u(t(m),{value:t(p),"onUpdate:value":l[0]||(l[0]=e=>r(p)?p.value=e:null),maxlength:"255",clearable:""},null,8,["value"]))}});export{o as default};
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
4
+ default: null;
5
+ };
6
+ }, {
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ modelValue: {
9
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
10
+ default: null;
11
+ };
12
+ }>> & {
13
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ }>>;
15
+ emit: (event: "update:modelValue", ...args: any[]) => void;
16
+ valueCp: import("vue").WritableComputedRef<any>;
17
+ NInputNumber: any;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ modelValue: {
20
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
21
+ default: null;
22
+ };
23
+ }>> & {
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ }, {
26
+ modelValue: string | number | unknown[];
27
+ }>;
28
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./InputNumber.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","InputNumber.vue"]]);export{u as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as u,openBlock as l,createBlock as a,unref as t,isRef as m}from"vue";import{NInputNumber as r}from"naive-ui";var o=e({__name:"InputNumber",props:{modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:o}){const p=e,n=u({set(e){o("update:modelValue",e)},get:()=>p.modelValue});return(e,u)=>(l(),a(t(r),{class:"form-item",value:t(n),"onUpdate:value":u[0]||(u[0]=e=>m(n)?n.value=e:null)},null,8,["value"]))}});export{o as default};
@@ -0,0 +1,54 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ }, {
11
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
+ paramCfg: {
13
+ type: ObjectConstructor;
14
+ default: null;
15
+ };
16
+ modelValue: {
17
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
18
+ default: null;
19
+ };
20
+ }>> & {
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }>>;
23
+ startNumber: import("vue").Ref<any>;
24
+ endNumber: import("vue").Ref<any>;
25
+ emit: (event: "update:modelValue", ...args: any[]) => void;
26
+ handleChange: (val: number | null, key: string) => void;
27
+ NInputGroup: import("vue").DefineComponent<{
28
+ [x: string]: never;
29
+ [x: number]: never;
30
+ [x: symbol]: never;
31
+ }, {
32
+ mergedClsPrefix: import("vue").ComputedRef<string>;
33
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ [x: string]: never;
35
+ [x: number]: never;
36
+ [x: symbol]: never;
37
+ }>>, {}>;
38
+ NInputNumber: any;
39
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ paramCfg: {
41
+ type: ObjectConstructor;
42
+ default: null;
43
+ };
44
+ modelValue: {
45
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
46
+ default: null;
47
+ };
48
+ }>> & {
49
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
+ }, {
51
+ modelValue: string | number | unknown[];
52
+ paramCfg: Record<string, any>;
53
+ }>;
54
+ export default _default;
@@ -0,0 +1 @@
1
+ import r from"./InputNumberGroup.vue2.js";import u from"../../../../../../_virtual/_plugin-vue_export-helper.js";var e=u(r,[["__file","InputNumberGroup.vue"]]);export{e as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as l,watch as u,openBlock as t,createBlock as a,unref as r,withCtx as m,createVNode as n,createElementVNode as i}from"vue";import{NInputGroup as d,NInputNumber as o}from"naive-ui";import{isString as s}from"lodash-es";const p=i("span",{class:"divider"}," ~ ",-1);var v=e({__name:"InputNumberGroup",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:i}){const v=e,c=l(),b=l();function f(e,l){var u,t;let a="";switch(l){case"startNumber":a=`${null!=e?e:""} ~ ${null!=(u=b.value)?u:""}`;break;case"endNumber":a=`${null!=(t=c.value)?t:""} ~ ${null!=e?e:""}`}const r=a.split(" ~ ").some((e=>e.trim()));i("update:modelValue",r?a:"")}return u((()=>v.modelValue),(e=>{if(c.value=b.value=null,e&&s(e)&&e.includes("~")){const[l,u]=e.split("~");return l.trim()&&(c.value=Number(l.trim())),void(u.trim()&&(b.value=Number(u.trim())))}}),{immediate:!0}),(e,l)=>(t(),a(r(d),{class:"render-widget-input-number-group"},{default:m((()=>[n(r(o),{style:{width:"106px"},placeholder:"最小值",value:c.value,"onUpdate:value":l[0]||(l[0]=e=>f(e,"startNumber"))},null,8,["value"]),p,n(r(o),{style:{width:"106px"},placeholder:"最大值",value:b.value,"onUpdate:value":l[1]||(l[1]=e=>f(e,"endNumber"))},null,8,["value"])])),_:1}))}});export{v as default};
@@ -0,0 +1,61 @@
1
+ import { SelectOption } from 'naive-ui';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ paramCfg: {
4
+ type: ObjectConstructor;
5
+ default: null;
6
+ };
7
+ modelValue: {
8
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
9
+ default: null;
10
+ };
11
+ }, {
12
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13
+ paramCfg: {
14
+ type: ObjectConstructor;
15
+ default: null;
16
+ };
17
+ modelValue: {
18
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
19
+ default: null;
20
+ };
21
+ }>> & {
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }>>;
24
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ emit: (event: "update:modelValue", ...args: any[]) => void;
29
+ selectOptions: import("vue").Ref<any[]>;
30
+ isLoading: import("vue").Ref<boolean>;
31
+ filterApiConfig: import("../../../../..").AnyObject;
32
+ valueCp: import("vue").WritableComputedRef<any>;
33
+ optionSetting: import("vue").ComputedRef<any>;
34
+ isMultiple: import("vue").ComputedRef<boolean>;
35
+ searchOptions: (keyword: string) => Promise<any>;
36
+ _handleSearch: (query: string) => Promise<void>;
37
+ handleSearch: (query: string) => Promise<void>;
38
+ handleInitData: () => Promise<void>;
39
+ renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>;
42
+ renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>;
45
+ NSelect: any;
46
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ paramCfg: {
48
+ type: ObjectConstructor;
49
+ default: null;
50
+ };
51
+ modelValue: {
52
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
53
+ default: null;
54
+ };
55
+ }>> & {
56
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
+ }, {
58
+ modelValue: string | number | unknown[];
59
+ paramCfg: Record<string, any>;
60
+ }>;
61
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./SelectDynamic.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectDynamic.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,useAttrs as a,ref as t,inject as o,computed as n,openBlock as l,createBlock as i,unref as r,isRef as s,h as u}from"vue";import{NSelect as p,NTag as c}from"naive-ui";import{WidgetOptionEnums as d}from"../../../types/enums.js";import{useDebounceFn as m}from"@vueuse/core";import f from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as y}from"../../../constants/index.js";var g=e({__name:"SelectDynamic",props:{paramCfg:{type:Object,default:null},modelValue:{type:[Array,String,Number],default:null}},emits:["update:modelValue"],setup(e,{emit:g}){const v=e,{handleGetConfigApi:b}=f(),h=a(),w=t([]),C=t(!1),I=o(y),S=n({set(e){g("update:modelValue",e)},get:()=>v.modelValue}),x=n((()=>{var e;return null==(e=v.paramCfg)?void 0:e.optionSetting})),j=n((()=>x.value===d.MULTIPLE));async function K(e){try{const{dynamicOptionInfo:a}=v.paramCfg.optionInfo;if(a){const{autograph:t,dataSourceId:o,dataSourceType:n,filterKeys:l,showKeys:i,valueKey:r}=a;let s={wordbookId:o,autograph:t,wordbookType:n,fieldKeys:l,page:1};l.length>0&&(s[l[0]]=e),C.value=!0;let u=await b(s,"requestDynamicSelect",{},I);if(u){const{fieldList:e=[],rows:a=[]}=u,t=a.map((e=>({...e,label:e[i[0]],value:e[r]})));return w.value=t,t}}}catch(e){console.log(e)}finally{C.value=!1}}const O=m((async e=>{await async function(e){const{manualMapping:a}=h;if(!a){const a=e.trim();await K(a)}}(e)}),300);async function k(){const{dynamicOptionInfo:e}=v.paramCfg.optionInfo;Object.keys(e).length>0&&I&&await K("")}function T(e){const{dynamicOptionInfo:a}=v.paramCfg.optionInfo,{showKeys:t=[]}=a;return a&&t.length>0?u("div",{class:"select-widget-dynamic-option"},t.map((a=>u("span",{class:"select-widget-dynamic-item"},e[a])))):u("div",e.label)}function V({option:e,handleClose:a}){return j.value?u(c,{style:{padding:"0 8px"},closable:!0,onClose:e=>{e.stopPropagation(),a()}},{default:()=>u("div",e.label)}):u("div",e.label)}return k(),(e,a)=>(l(),i(r(p),{to:"body",value:r(S),"onUpdate:value":a[0]||(a[0]=e=>s(S)?S.value=e:null),loading:C.value,options:w.value,remote:!0,"render-label":T,"render-tag":V,multiple:r(j),clearable:"",filterable:"",maxTagCount:"responsive",style:{width:"200px"},onSearch:r(O),onClear:k},null,8,["value","loading","options","multiple","onSearch"]))}});export{g as default};
@@ -0,0 +1,68 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ widgetType: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }, {
15
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
16
+ paramCfg: {
17
+ type: ObjectConstructor;
18
+ default: null;
19
+ };
20
+ modelValue: {
21
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
22
+ default: null;
23
+ };
24
+ widgetType: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ }>> & {
29
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
+ }>>;
31
+ emit: (event: "update:modelValue", ...args: any[]) => void;
32
+ valueCp: import("vue").WritableComputedRef<any>;
33
+ optionSetting: import("vue").ComputedRef<any>;
34
+ mappingConfig: import("vue").ComputedRef<any>;
35
+ widgetOptions: import("vue").ComputedRef<{
36
+ label: string;
37
+ value: string;
38
+ }[]>;
39
+ NSelect: any;
40
+ WidgetOptionEnums: {
41
+ RADIO: string;
42
+ MULTIPLE: string;
43
+ ALL: string;
44
+ SELECT_TIME: string;
45
+ PAST_TIME: string;
46
+ FUTURE_TIME: string;
47
+ };
48
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
+ paramCfg: {
50
+ type: ObjectConstructor;
51
+ default: null;
52
+ };
53
+ modelValue: {
54
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
55
+ default: null;
56
+ };
57
+ widgetType: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ }>> & {
62
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
63
+ }, {
64
+ modelValue: string | number | unknown[];
65
+ widgetType: string;
66
+ paramCfg: Record<string, any>;
67
+ }>;
68
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./SelectFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectFilter.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,openBlock as l,createBlock as a,unref as o,isRef as u}from"vue";import{NSelect as r}from"naive-ui";import{WidgetOptionEnums as p}from"../../../types/enums.js";import{generateDefOptionsInApi as i}from"../../../tool/generateDefOptions.js";var m=e({__name:"SelectFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},widgetType:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:m}){const n=e,d=t({set(e){m("update:modelValue",e)},get:()=>n.modelValue}),s=t((()=>{var e;return null==(e=n.paramCfg)?void 0:e.optionSetting})),f=t((()=>{var e;return null==(e=n.paramCfg)?void 0:e.mappingConfig})),g=t((()=>i(n.widgetType,f.value).slice(0)));return(e,t)=>(l(),a(o(r),{style:{width:"200px"},class:"form-item",value:o(d),"onUpdate:value":t[0]||(t[0]=e=>u(d)?d.value=e:null),to:"body",filterable:"",options:o(g),multiple:o(s)===o(p).MULTIPLE,maxTagCount:1},null,8,["value","options","multiple"]))}});export{m as default};
@@ -0,0 +1,47 @@
1
+ import { SelectOption } from 'naive-ui';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ paramCfg: {
4
+ type: ObjectConstructor;
5
+ default: null;
6
+ };
7
+ modelValue: {
8
+ type: StringConstructor;
9
+ default: null;
10
+ };
11
+ }, {
12
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
13
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14
+ paramCfg: {
15
+ type: ObjectConstructor;
16
+ default: null;
17
+ };
18
+ modelValue: {
19
+ type: StringConstructor;
20
+ default: null;
21
+ };
22
+ }>> & {
23
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
24
+ }>>;
25
+ emit: (event: "update:modelValue", ...args: any[]) => void;
26
+ tagList: import("vue").Ref<never[]>;
27
+ filterApiConfig: import("../../../../..").AnyObject;
28
+ valueCp: import("vue").WritableComputedRef<string[]>;
29
+ optionList: import("vue").ComputedRef<SelectOption[]>;
30
+ initTagList: () => Promise<void>;
31
+ NSelect: any;
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ paramCfg: {
34
+ type: ObjectConstructor;
35
+ default: null;
36
+ };
37
+ modelValue: {
38
+ type: StringConstructor;
39
+ default: null;
40
+ };
41
+ }>> & {
42
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
+ }, {
44
+ modelValue: string;
45
+ paramCfg: Record<string, any>;
46
+ }>;
47
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./SelectLabel.vue2.js";import l from"../../../../../../_virtual/_plugin-vue_export-helper.js";var r=l(e,[["__file","SelectLabel.vue"]]);export{r as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as l,inject as t,computed as a,openBlock as o,createBlock as u,unref as s,isRef as i}from"vue";import{NSelect as n}from"naive-ui";import r from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as p}from"../../../constants/index.js";var m=e({__name:"SelectLabel",props:{paramCfg:{type:Object,default:null},modelValue:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const f=e,{handleGetConfigApi:d}=r(),c=l([]),h=t(p),v=a({set(e){const l=e?e.join("|#|"):e;m("update:modelValue",l)},get:()=>f.modelValue?f.modelValue.split("|#|"):[]}),b=a((()=>{if(c.value&&c.value.length>0){let e=[],l=[];return c.value.forEach((t=>{t.labelList.forEach((t=>{e.includes(t.labelShowText)||(e.push(t.labelShowText),l.push({label:t.labelShowText,value:t.labelShowText}))}))})),l}return[]}));return(async()=>{try{const{defaultValue:e={}}=f.paramCfg._rawData,{classifyStr:l=""}=e;let t=await d({classifyStr:l},"requestListByClassify",{},h);if(t){const{data:e}=t,{list:l=[]}=e;c.value=l}}catch(e){console.log(e)}})(),(e,l)=>(o(),u(s(n),{to:"body",multiple:"",clearable:"",filterable:"",maxTagCount:"responsive",value:s(v),"onUpdate:value":l[0]||(l[0]=e=>i(v)?v.value=e:null),options:s(b),style:{width:"200px"}},null,8,["value","options"]))}});export{m as default};