win-chart 1.0.3 → 1.2.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 (445) hide show
  1. package/README.md +15 -0
  2. package/esm/api/README.md +15 -0
  3. package/esm/api/index.js +6 -0
  4. package/esm/api/index.js.map +1 -0
  5. package/esm/api/layout/index.js +53 -0
  6. package/esm/api/layout/index.js.map +1 -0
  7. package/esm/api/request.d.ts +25 -0
  8. package/esm/api/request.js +89 -0
  9. package/esm/api/request.js.map +1 -0
  10. package/esm/api/url-map/index.js +7 -0
  11. package/esm/api/user/index.js +33 -0
  12. package/esm/api/user/index.js.map +1 -0
  13. package/esm/components/FilterContext.d.ts +4 -0
  14. package/esm/components/FilterContext.js +7 -0
  15. package/esm/components/FilterContext.js.map +1 -0
  16. package/esm/components/GlobalStyle.d.ts +2 -0
  17. package/esm/components/GlobalStyle.js +26 -0
  18. package/esm/components/GlobalStyle.js.map +1 -0
  19. package/esm/components/HalfScreenBrowser.d.ts +1 -0
  20. package/esm/components/HalfScreenBrowser.js +96 -0
  21. package/esm/components/HalfScreenBrowser.js.map +1 -0
  22. package/esm/components/ImgBox.d.ts +8 -0
  23. package/esm/components/ImgBox.js +15 -0
  24. package/esm/components/ImgBox.js.map +1 -0
  25. package/esm/components/JumpBtn.d.ts +11 -0
  26. package/esm/components/JumpBtn.js +40 -0
  27. package/esm/components/JumpBtn.js.map +1 -0
  28. package/esm/components/MCardWrapper.d.ts +4 -0
  29. package/esm/components/MCardWrapper.js +36 -0
  30. package/esm/components/MCardWrapper.js.map +1 -0
  31. package/esm/components/NoContent/index.d.ts +10 -0
  32. package/esm/components/NoContent/index.js +68 -0
  33. package/esm/components/NoContent/index.js.map +1 -0
  34. package/esm/components/ResponsiveReactGridLayout.d.ts +4 -0
  35. package/esm/components/ResponsiveReactGridLayout.js +15 -0
  36. package/esm/components/ResponsiveReactGridLayout.js.map +1 -0
  37. package/esm/components/SliderDecoration.d.ts +3 -0
  38. package/esm/components/SliderDecoration.js +51 -0
  39. package/esm/components/SliderDecoration.js.map +1 -0
  40. package/esm/components/VisionUserConfigContext.d.ts +1 -0
  41. package/esm/components/VisionUserConfigContext.js +4 -0
  42. package/esm/components/VisionUserConfigContext.js.map +1 -0
  43. package/esm/components/WinMenu/README.md +11 -0
  44. package/esm/components/WinMenu/WinHeader.d.ts +3 -0
  45. package/esm/components/WinMenu/WinHeader.js +15 -0
  46. package/esm/components/WinMenu/WinHeader.js.map +1 -0
  47. package/esm/components/WinMenu/components/ExtraBox.d.ts +7 -0
  48. package/esm/components/WinMenu/components/ExtraBox.js +57 -0
  49. package/esm/components/WinMenu/components/ExtraBox.js.map +1 -0
  50. package/esm/components/WinMenu/components/FullMenuBox.d.ts +2 -0
  51. package/esm/components/WinMenu/components/FullMenuBox.js +67 -0
  52. package/esm/components/WinMenu/components/FullMenuBox.js.map +1 -0
  53. package/esm/components/WinMenu/components/FullMenuContainer.d.ts +2 -0
  54. package/esm/components/WinMenu/components/FullMenuContainer.js +41 -0
  55. package/esm/components/WinMenu/components/FullMenuContainer.js.map +1 -0
  56. package/esm/components/WinMenu/components/FullMenuItem.d.ts +7 -0
  57. package/esm/components/WinMenu/components/FullMenuItem.js +75 -0
  58. package/esm/components/WinMenu/components/FullMenuItem.js.map +1 -0
  59. package/esm/components/WinMenu/components/LangSwitch.d.ts +1 -0
  60. package/esm/components/WinMenu/components/LangSwitch.js +86 -0
  61. package/esm/components/WinMenu/components/LangSwitch.js.map +1 -0
  62. package/esm/components/WinMenu/components/LogoBox.d.ts +4 -0
  63. package/esm/components/WinMenu/components/LogoBox.js +42 -0
  64. package/esm/components/WinMenu/components/LogoBox.js.map +1 -0
  65. package/esm/components/WinMenu/components/PinDialog.d.ts +9 -0
  66. package/esm/components/WinMenu/components/PinDialog.js +56 -0
  67. package/esm/components/WinMenu/components/PinDialog.js.map +1 -0
  68. package/esm/components/WinMenu/components/PinnedMenuBox.d.ts +11 -0
  69. package/esm/components/WinMenu/components/PinnedMenuBox.js +188 -0
  70. package/esm/components/WinMenu/components/PinnedMenuBox.js.map +1 -0
  71. package/esm/components/WinMenu/components/UserBox.d.ts +2 -0
  72. package/esm/components/WinMenu/components/UserBox.js +87 -0
  73. package/esm/components/WinMenu/components/UserBox.js.map +1 -0
  74. package/esm/components/WinMenu/hooks/useUserInfo.d.ts +2 -0
  75. package/esm/components/WinMenu/hooks/useUserInfo.js +52 -0
  76. package/esm/components/WinMenu/hooks/useUserInfo.js.map +1 -0
  77. package/esm/components/WinMenu/hooks/useUserMenu.d.ts +8 -0
  78. package/esm/components/WinMenu/hooks/useUserMenu.js +73 -0
  79. package/esm/components/WinMenu/hooks/useUserMenu.js.map +1 -0
  80. package/esm/components/WinMenu/index.d.ts +7 -0
  81. package/esm/components/WinMenu/index.js +151 -0
  82. package/esm/components/WinMenu/index.js.map +1 -0
  83. package/esm/components/WinMenu/services/WinService.d.ts +24 -0
  84. package/esm/components/WinMenu/services/WinService.js +155 -0
  85. package/esm/components/WinMenu/services/WinService.js.map +1 -0
  86. package/esm/components/WinMenu/services/request.d.ts +2 -0
  87. package/esm/components/WinMenu/services/request.js +60 -0
  88. package/esm/components/WinMenu/services/request.js.map +1 -0
  89. package/esm/components/WinMenu/utils/const.d.ts +36 -0
  90. package/esm/components/WinMenu/utils/const.js +52 -0
  91. package/esm/components/WinMenu/utils/enum.d.ts +17 -0
  92. package/esm/components/WinMenu/utils/enum.js +14 -0
  93. package/esm/components/WinMenu/utils/interface.d.ts +54 -0
  94. package/esm/components/WinMenu/utils/interface.js +3 -0
  95. package/esm/components/WinMenu/utils/map.d.ts +14 -0
  96. package/esm/components/WinMenu/utils/map.js +37 -0
  97. package/esm/components/WinMenu/utils/map.js.map +1 -0
  98. package/esm/components/WinMenu/utils/tool.d.ts +70 -0
  99. package/esm/components/WinMenu/utils/tool.js +154 -0
  100. package/esm/components/WinMenu/utils/tool.js.map +1 -0
  101. package/esm/components/WinMenu/utils/type.d.ts +1 -0
  102. package/esm/components/WinMenu/utils/type.js +1 -0
  103. package/esm/components/hover-view.d.ts +11 -0
  104. package/esm/components/hover-view.js +27 -0
  105. package/esm/components/hover-view.js.map +1 -0
  106. package/esm/components/icon.d.ts +11 -0
  107. package/esm/components/icon.js +36 -0
  108. package/esm/components/icon.js.map +1 -0
  109. package/esm/components/indicator-remark.d.ts +6 -0
  110. package/esm/components/indicator-remark.js +20 -0
  111. package/esm/components/indicator-remark.js.map +1 -0
  112. package/esm/components/none-content.d.ts +11 -0
  113. package/esm/components/none-content.js +70 -0
  114. package/esm/components/none-content.js.map +1 -0
  115. package/esm/components/panel-tab.d.ts +15 -0
  116. package/esm/components/panel-tab.js +160 -0
  117. package/esm/components/panel-tab.js.map +1 -0
  118. package/esm/components/panel-title-tab.d.ts +12 -0
  119. package/esm/components/panel-title-tab.js +40 -0
  120. package/esm/components/panel-title-tab.js.map +1 -0
  121. package/esm/components/win-card/components/ChartContent.d.ts +8 -0
  122. package/esm/components/win-card/components/ChartContent.js +36 -0
  123. package/esm/components/win-card/components/ChartContent.js.map +1 -0
  124. package/esm/components/win-card/components/Indicator.d.ts +2 -0
  125. package/esm/components/win-card/components/Indicator.js +40 -0
  126. package/esm/components/win-card/components/Indicator.js.map +1 -0
  127. package/esm/components/win-card/components/IndicatorArea.d.ts +2 -0
  128. package/esm/components/win-card/components/IndicatorArea.js +57 -0
  129. package/esm/components/win-card/components/IndicatorArea.js.map +1 -0
  130. package/esm/components/win-card/components/IndicatorInfo.d.ts +14 -0
  131. package/esm/components/win-card/components/IndicatorInfo.js +67 -0
  132. package/esm/components/win-card/components/IndicatorInfo.js.map +1 -0
  133. package/esm/components/win-card/components/MatterContent.d.ts +5 -0
  134. package/esm/components/win-card/components/MatterContent.js +124 -0
  135. package/esm/components/win-card/components/MatterContent.js.map +1 -0
  136. package/esm/components/win-card/components/MatterList.d.ts +7 -0
  137. package/esm/components/win-card/components/MatterList.js +115 -0
  138. package/esm/components/win-card/components/MatterList.js.map +1 -0
  139. package/esm/components/win-card/components/NoticeContent.d.ts +6 -0
  140. package/esm/components/win-card/components/NoticeContent.js +75 -0
  141. package/esm/components/win-card/components/NoticeContent.js.map +1 -0
  142. package/esm/components/win-card/components/NoticeList.d.ts +7 -0
  143. package/esm/components/win-card/components/NoticeList.js +55 -0
  144. package/esm/components/win-card/components/NoticeList.js.map +1 -0
  145. package/esm/components/win-card/components/SelectDecoration.d.ts +4 -0
  146. package/esm/components/win-card/components/SelectDecoration.js +43 -0
  147. package/esm/components/win-card/components/SelectDecoration.js.map +1 -0
  148. package/esm/components/win-card/components/WinRankContent.d.ts +1 -0
  149. package/esm/components/win-card/components/WinRankContent.js +99 -0
  150. package/esm/components/win-card/components/WinRankContent.js.map +1 -0
  151. package/esm/components/win-card/index.d.ts +9 -0
  152. package/esm/components/win-card/index.js +263 -0
  153. package/esm/components/win-card/index.js.map +1 -0
  154. package/esm/components/win-card/utils/interface.d.ts +11 -0
  155. package/esm/components/win-card/utils/interface.js +1 -0
  156. package/esm/components/win-card/utils/tool.d.ts +1 -0
  157. package/esm/components/win-card/utils/tool.js +14 -0
  158. package/esm/components/win-card/utils/tool.js.map +1 -0
  159. package/esm/components/win-card-mobile/components/ChartContent.d.ts +8 -0
  160. package/esm/components/win-card-mobile/components/ChartContent.js +36 -0
  161. package/esm/components/win-card-mobile/components/ChartContent.js.map +1 -0
  162. package/esm/components/win-card-mobile/components/DualLineBar.d.ts +2 -0
  163. package/esm/components/win-card-mobile/components/DualLineBar.js +41 -0
  164. package/esm/components/win-card-mobile/components/DualLineBar.js.map +1 -0
  165. package/esm/components/win-card-mobile/components/Indicator.d.ts +2 -0
  166. package/esm/components/win-card-mobile/components/Indicator.js +40 -0
  167. package/esm/components/win-card-mobile/components/Indicator.js.map +1 -0
  168. package/esm/components/win-card-mobile/components/IndicatorArea.d.ts +2 -0
  169. package/esm/components/win-card-mobile/components/IndicatorArea.js +59 -0
  170. package/esm/components/win-card-mobile/components/IndicatorArea.js.map +1 -0
  171. package/esm/components/win-card-mobile/components/IndicatorInfo.d.ts +13 -0
  172. package/esm/components/win-card-mobile/components/IndicatorInfo.js +72 -0
  173. package/esm/components/win-card-mobile/components/IndicatorInfo.js.map +1 -0
  174. package/esm/components/win-card-mobile/components/SelectDecoration.d.ts +9 -0
  175. package/esm/components/win-card-mobile/components/SelectDecoration.js +33 -0
  176. package/esm/components/win-card-mobile/components/SelectDecoration.js.map +1 -0
  177. package/esm/components/win-card-mobile/index.d.ts +7 -0
  178. package/esm/components/win-card-mobile/index.js +215 -0
  179. package/esm/components/win-card-mobile/index.js.map +1 -0
  180. package/esm/components/win-card-mobile/utils/interface.d.ts +10 -0
  181. package/esm/components/win-card-mobile/utils/interface.js +1 -0
  182. package/esm/components/win-card-mobile/utils/tool.d.ts +1 -0
  183. package/esm/components/win-card-mobile/utils/tool.js +8 -0
  184. package/esm/components/win-chart/components/chart-wrapper.d.ts +2 -0
  185. package/esm/components/win-chart/components/chart-wrapper.js +14 -0
  186. package/esm/components/win-chart/components/chart-wrapper.js.map +1 -0
  187. package/esm/components/win-chart/index.d.ts +4 -0
  188. package/esm/components/win-chart/index.js +60 -0
  189. package/esm/components/win-chart/index.js.map +1 -0
  190. package/esm/components/win-chart/theme/win-dark.json +372 -0
  191. package/esm/components/win-chart/theme/win-light.json +372 -0
  192. package/esm/components/win-chart/utils/const.d.ts +8 -0
  193. package/esm/components/win-chart/utils/const.js +34 -0
  194. package/esm/components/win-chart/utils/getAreaSpec.d.ts +14 -0
  195. package/esm/components/win-chart/utils/getAreaSpec.js +149 -0
  196. package/esm/components/win-chart/utils/getAreaSpec.js.map +1 -0
  197. package/esm/components/win-chart/utils/getBarSpec.d.ts +8 -0
  198. package/esm/components/win-chart/utils/getBarSpec.js +66 -0
  199. package/esm/components/win-chart/utils/getBarSpec.js.map +1 -0
  200. package/esm/components/win-chart/utils/getChartOptions.d.ts +7 -0
  201. package/esm/components/win-chart/utils/getChartOptions.js +45 -0
  202. package/esm/components/win-chart/utils/getChartOptions.js.map +1 -0
  203. package/esm/components/win-chart/utils/getColumnSpec.d.ts +14 -0
  204. package/esm/components/win-chart/utils/getColumnSpec.js +119 -0
  205. package/esm/components/win-chart/utils/getColumnSpec.js.map +1 -0
  206. package/esm/components/win-chart/utils/getDualSpec.d.ts +7 -0
  207. package/esm/components/win-chart/utils/getDualSpec.js +93 -0
  208. package/esm/components/win-chart/utils/getDualSpec.js.map +1 -0
  209. package/esm/components/win-chart/utils/getFunnelSpec.d.ts +8 -0
  210. package/esm/components/win-chart/utils/getFunnelSpec.js +66 -0
  211. package/esm/components/win-chart/utils/getFunnelSpec.js.map +1 -0
  212. package/esm/components/win-chart/utils/getLineSpec.d.ts +8 -0
  213. package/esm/components/win-chart/utils/getLineSpec.js +52 -0
  214. package/esm/components/win-chart/utils/getLineSpec.js.map +1 -0
  215. package/esm/components/win-chart/utils/getPieSpec.d.ts +13 -0
  216. package/esm/components/win-chart/utils/getPieSpec.js +126 -0
  217. package/esm/components/win-chart/utils/getPieSpec.js.map +1 -0
  218. package/esm/components/win-chart/utils/getRadarSpec.d.ts +7 -0
  219. package/esm/components/win-chart/utils/getRadarSpec.js +88 -0
  220. package/esm/components/win-chart/utils/getRadarSpec.js.map +1 -0
  221. package/esm/components/win-chart/utils/tool.d.ts +57 -0
  222. package/esm/components/win-chart/utils/tool.js +146 -0
  223. package/esm/components/win-chart/utils/tool.js.map +1 -0
  224. package/esm/components/win-chart/utils/type.d.ts +82 -0
  225. package/esm/components/win-chart/utils/type.js +36 -0
  226. package/esm/components/win-icon/index.d.ts +8 -0
  227. package/esm/components/win-icon/index.js +79 -0
  228. package/esm/components/win-icon/index.js.map +1 -0
  229. package/esm/components/win-wrappers/card-wrapper.d.ts +17 -0
  230. package/esm/components/win-wrappers/card-wrapper.js +170 -0
  231. package/esm/components/win-wrappers/card-wrapper.js.map +1 -0
  232. package/esm/components/win-wrappers/dot-wrapper.d.ts +4 -0
  233. package/esm/components/win-wrappers/dot-wrapper.js +29 -0
  234. package/esm/components/win-wrappers/dot-wrapper.js.map +1 -0
  235. package/esm/components/win-wrappers/iframe-wrapper.d.ts +2 -0
  236. package/esm/components/win-wrappers/iframe-wrapper.js +14 -0
  237. package/esm/components/win-wrappers/iframe-wrapper.js.map +1 -0
  238. package/esm/components/win-wrappers/request-wrapper.d.ts +41 -0
  239. package/esm/components/win-wrappers/request-wrapper.js +170 -0
  240. package/esm/components/win-wrappers/request-wrapper.js.map +1 -0
  241. package/esm/hooks/useCardOptionList.d.ts +2 -0
  242. package/esm/hooks/useCardOptionList.js +58 -0
  243. package/esm/hooks/useCardOptionList.js.map +1 -0
  244. package/esm/hooks/useCostFiltersDicList.d.ts +2 -0
  245. package/esm/hooks/useCostFiltersDicList.js +61 -0
  246. package/esm/hooks/useCostFiltersDicList.js.map +1 -0
  247. package/esm/hooks/useFbiUrl.d.ts +1 -0
  248. package/esm/hooks/useFbiUrl.js +58 -0
  249. package/esm/hooks/useFbiUrl.js.map +1 -0
  250. package/esm/hooks/useHalfScreenState.d.ts +19 -0
  251. package/esm/hooks/useHalfScreenState.js +52 -0
  252. package/esm/hooks/useHalfScreenState.js.map +1 -0
  253. package/esm/hooks/useHasIntersected.d.ts +8 -0
  254. package/esm/hooks/useHasIntersected.js +33 -0
  255. package/esm/hooks/useHasIntersected.js.map +1 -0
  256. package/esm/hooks/useIndicatorCardInfo.d.ts +2 -0
  257. package/esm/hooks/useIndicatorCardInfo.js +61 -0
  258. package/esm/hooks/useIndicatorCardInfo.js.map +1 -0
  259. package/esm/hooks/useIndicatorCardQueryList.d.ts +2 -0
  260. package/esm/hooks/useIndicatorCardQueryList.js +59 -0
  261. package/esm/hooks/useIndicatorCardQueryList.js.map +1 -0
  262. package/esm/hooks/useIndicatorClassifyList.d.ts +2 -0
  263. package/esm/hooks/useIndicatorClassifyList.js +57 -0
  264. package/esm/hooks/useIndicatorClassifyList.js.map +1 -0
  265. package/esm/hooks/useIndicatorDetailsDateList.d.ts +2 -0
  266. package/esm/hooks/useIndicatorDetailsDateList.js +59 -0
  267. package/esm/hooks/useIndicatorDetailsDateList.js.map +1 -0
  268. package/esm/hooks/useIndicatorDetailsInfo.d.ts +5 -0
  269. package/esm/hooks/useIndicatorDetailsInfo.js +102 -0
  270. package/esm/hooks/useIndicatorDetailsInfo.js.map +1 -0
  271. package/esm/hooks/useIndicatorDetailsTrend.d.ts +2 -0
  272. package/esm/hooks/useIndicatorDetailsTrend.js +60 -0
  273. package/esm/hooks/useIndicatorDetailsTrend.js.map +1 -0
  274. package/esm/hooks/useIndicatorDicList.d.ts +2 -0
  275. package/esm/hooks/useIndicatorDicList.js +59 -0
  276. package/esm/hooks/useIndicatorDicList.js.map +1 -0
  277. package/esm/hooks/useIndicatorLabelList.d.ts +2 -0
  278. package/esm/hooks/useIndicatorLabelList.js +51 -0
  279. package/esm/hooks/useIndicatorLabelList.js.map +1 -0
  280. package/esm/hooks/useIndicatorList.d.ts +2 -0
  281. package/esm/hooks/useIndicatorList.js +53 -0
  282. package/esm/hooks/useIndicatorList.js.map +1 -0
  283. package/esm/hooks/useIndicatorRangeList.d.ts +2 -0
  284. package/esm/hooks/useIndicatorRangeList.js +51 -0
  285. package/esm/hooks/useIndicatorRangeList.js.map +1 -0
  286. package/esm/hooks/useIndicatorTypeList.d.ts +2 -0
  287. package/esm/hooks/useIndicatorTypeList.js +51 -0
  288. package/esm/hooks/useIndicatorTypeList.js.map +1 -0
  289. package/esm/hooks/useIndicatorUnitList.d.ts +2 -0
  290. package/esm/hooks/useIndicatorUnitList.js +50 -0
  291. package/esm/hooks/useIndicatorUnitList.js.map +1 -0
  292. package/esm/hooks/useListenQuery.d.ts +1 -0
  293. package/esm/hooks/useListenQuery.js +24 -0
  294. package/esm/hooks/useListenQuery.js.map +1 -0
  295. package/esm/hooks/useMobile.d.ts +13 -0
  296. package/esm/hooks/useMobile.js +51 -0
  297. package/esm/hooks/useMobile.js.map +1 -0
  298. package/esm/hooks/useNotice.d.ts +3 -0
  299. package/esm/hooks/useNotice.js +109 -0
  300. package/esm/hooks/useNotice.js.map +1 -0
  301. package/esm/hooks/useOrgLevelList.d.ts +2 -0
  302. package/esm/hooks/useOrgLevelList.js +58 -0
  303. package/esm/hooks/useOrgLevelList.js.map +1 -0
  304. package/esm/hooks/usePageSelection.d.ts +7 -0
  305. package/esm/hooks/usePageSelection.js +99 -0
  306. package/esm/hooks/usePageSelection.js.map +1 -0
  307. package/esm/hooks/usePageState.d.ts +12 -0
  308. package/esm/hooks/usePageState.js +20 -0
  309. package/esm/hooks/usePageState.js.map +1 -0
  310. package/esm/hooks/usePendingList.d.ts +2 -0
  311. package/esm/hooks/usePendingList.js +75 -0
  312. package/esm/hooks/usePendingList.js.map +1 -0
  313. package/esm/hooks/usePortalPageInfo.d.ts +11 -0
  314. package/esm/hooks/usePortalPageInfo.js +71 -0
  315. package/esm/hooks/usePortalPageInfo.js.map +1 -0
  316. package/esm/hooks/useRefreshByLocationChange.d.ts +1 -0
  317. package/esm/hooks/useRefreshByLocationChange.js +18 -0
  318. package/esm/hooks/useRefreshByLocationChange.js.map +1 -0
  319. package/esm/hooks/useReportIndicatorList.d.ts +2 -0
  320. package/esm/hooks/useReportIndicatorList.js +50 -0
  321. package/esm/hooks/useReportIndicatorList.js.map +1 -0
  322. package/esm/hooks/useReportInfo.d.ts +3 -0
  323. package/esm/hooks/useReportInfo.js +109 -0
  324. package/esm/hooks/useReportInfo.js.map +1 -0
  325. package/esm/hooks/useReportPersonList.d.ts +2 -0
  326. package/esm/hooks/useReportPersonList.js +50 -0
  327. package/esm/hooks/useReportPersonList.js.map +1 -0
  328. package/esm/hooks/useScriptLoader.d.ts +1 -0
  329. package/esm/hooks/useScriptLoader.js +26 -0
  330. package/esm/hooks/useScriptLoader.js.map +1 -0
  331. package/esm/hooks/useUnreadMsgList.d.ts +5 -0
  332. package/esm/hooks/useUnreadMsgList.js +56 -0
  333. package/esm/hooks/useUnreadMsgList.js.map +1 -0
  334. package/esm/hooks/useUserAvatar.d.ts +2 -0
  335. package/esm/hooks/useUserAvatar.js +59 -0
  336. package/esm/hooks/useUserAvatar.js.map +1 -0
  337. package/esm/hooks/useVReportInfo.d.ts +3 -0
  338. package/esm/hooks/useVReportInfo.js +113 -0
  339. package/esm/hooks/useVReportInfo.js.map +1 -0
  340. package/esm/hooks/useVisionUserConfig.d.ts +5 -0
  341. package/esm/hooks/useVisionUserConfig.js +57 -0
  342. package/esm/hooks/useVisionUserConfig.js.map +1 -0
  343. package/esm/hooks/useWorkbenchOptions.d.ts +6 -0
  344. package/esm/hooks/useWorkbenchOptions.js +116 -0
  345. package/esm/hooks/useWorkbenchOptions.js.map +1 -0
  346. package/esm/index.d.ts +3 -0
  347. package/esm/index.js +5 -0
  348. package/esm/index.js.map +1 -0
  349. package/esm/index.module.css +4 -0
  350. package/esm/services/CardService.d.ts +33 -0
  351. package/esm/services/CardService.js +183 -0
  352. package/esm/services/CardService.js.map +1 -0
  353. package/esm/services/CommonService.d.ts +8 -0
  354. package/esm/services/CommonService.js +44 -0
  355. package/esm/services/CommonService.js.map +1 -0
  356. package/esm/services/CostService.d.ts +14 -0
  357. package/esm/services/CostService.js +117 -0
  358. package/esm/services/CostService.js.map +1 -0
  359. package/esm/services/DialogService.d.ts +24 -0
  360. package/esm/services/DialogService.js +150 -0
  361. package/esm/services/DialogService.js.map +1 -0
  362. package/esm/services/IndicatorService.d.ts +138 -0
  363. package/esm/services/IndicatorService.js +732 -0
  364. package/esm/services/IndicatorService.js.map +1 -0
  365. package/esm/services/PageService.d.ts +58 -0
  366. package/esm/services/PageService.js +337 -0
  367. package/esm/services/PageService.js.map +1 -0
  368. package/esm/services/ReportService.d.ts +120 -0
  369. package/esm/services/ReportService.js +610 -0
  370. package/esm/services/ReportService.js.map +1 -0
  371. package/esm/services/WorkbenchService.d.ts +129 -0
  372. package/esm/services/WorkbenchService.js +718 -0
  373. package/esm/services/WorkbenchService.js.map +1 -0
  374. package/esm/styles/README.md +12 -0
  375. package/esm/styles/index.scss +9 -0
  376. package/esm/styles/mixins/index.scss +25 -0
  377. package/esm/styles/next-cover.scss +4 -0
  378. package/esm/styles/normalize.scss +27 -0
  379. package/esm/styles/utilities/index.scss +5 -0
  380. package/esm/styles/vars/index.scss +17 -0
  381. package/esm/types/enum-workbench.d.ts +26 -0
  382. package/esm/types/enum-workbench.js +20 -0
  383. package/esm/types/enum.d.ts +128 -0
  384. package/esm/types/enum.js +98 -0
  385. package/esm/types/index.d.ts +15 -0
  386. package/esm/types/index.js +10 -0
  387. package/esm/types/index.js.map +1 -0
  388. package/esm/types/indicator.d.ts +252 -0
  389. package/esm/types/indicator.js +1 -0
  390. package/esm/types/interface.d.ts +260 -0
  391. package/esm/types/interface.js +1 -0
  392. package/esm/types/portal.d.ts +180 -0
  393. package/esm/types/portal.js +1 -0
  394. package/esm/types/report.d.ts +25 -0
  395. package/esm/types/report.js +1 -0
  396. package/esm/types/type.d.ts +9 -0
  397. package/esm/types/type.js +1 -0
  398. package/esm/types/user.d.ts +26 -0
  399. package/esm/types/user.js +1 -0
  400. package/esm/typings.d.ts +1 -0
  401. package/esm/utils/README.md +4 -0
  402. package/esm/utils/arms.js +46 -0
  403. package/esm/utils/arr.d.ts +35 -0
  404. package/esm/utils/arr.js +125 -0
  405. package/esm/utils/arr.js.map +1 -0
  406. package/esm/utils/const-workbench.d.ts +8 -0
  407. package/esm/utils/const-workbench.js +6 -0
  408. package/esm/utils/const.d.ts +14 -0
  409. package/esm/utils/const.js +11 -0
  410. package/esm/utils/index.d.ts +17 -0
  411. package/esm/utils/index.js +18 -0
  412. package/esm/utils/index.js.map +1 -0
  413. package/esm/utils/init.d.ts +5 -0
  414. package/esm/utils/init.js +7 -0
  415. package/esm/utils/init.js.map +1 -0
  416. package/esm/utils/map-workbench.d.ts +22 -0
  417. package/esm/utils/map-workbench.js +74 -0
  418. package/esm/utils/map-workbench.js.map +1 -0
  419. package/esm/utils/map.d.ts +84 -0
  420. package/esm/utils/map.js +509 -0
  421. package/esm/utils/map.js.map +1 -0
  422. package/esm/utils/number.d.ts +44 -0
  423. package/esm/utils/number.js +92 -0
  424. package/esm/utils/number.js.map +1 -0
  425. package/esm/utils/page.d.ts +33 -0
  426. package/esm/utils/page.js +68 -0
  427. package/esm/utils/page.js.map +1 -0
  428. package/esm/utils/str.d.ts +12 -0
  429. package/esm/utils/str.js +21 -0
  430. package/esm/utils/tools.d.ts +7 -0
  431. package/esm/utils/tools.js +35 -0
  432. package/esm/utils/tools.js.map +1 -0
  433. package/esm/utils/tree.d.ts +49 -0
  434. package/esm/utils/tree.js +153 -0
  435. package/esm/utils/tree.js.map +1 -0
  436. package/esm/utils/url.d.ts +20 -0
  437. package/esm/utils/url.js +40 -0
  438. package/esm/utils/url.js.map +1 -0
  439. package/esm/utils/util.d.ts +38 -0
  440. package/esm/utils/util.js +89 -0
  441. package/esm/utils/util.js.map +1 -0
  442. package/esm/utils/workbench.d.ts +6 -0
  443. package/esm/utils/workbench.js +31 -0
  444. package/package.json +60 -37
  445. package/build/js/index.js +0 -1
@@ -0,0 +1,128 @@
1
+ /**
2
+ * 页面操作类型
3
+ */
4
+ export declare enum OperateType {
5
+ /**
6
+ * 默认
7
+ */
8
+ NONE = "none",
9
+ /**
10
+ * 添加
11
+ */
12
+ ADD = "add",
13
+ /**
14
+ * 复制
15
+ */
16
+ COPY = "copy",
17
+ /**
18
+ * 编辑
19
+ */
20
+ EDIT = "edit",
21
+ /**
22
+ * 查看
23
+ */
24
+ VIEW = "view",
25
+ /**
26
+ * 删除
27
+ */
28
+ DELETE = "delete",
29
+ /**
30
+ * 反馈
31
+ */
32
+ FEEDBACK = "feedback",
33
+ /**
34
+ * 追评
35
+ */
36
+ REVIEW = "review",
37
+ /**
38
+ * 批量导入
39
+ */
40
+ BATCH_ADD = "batch_add",
41
+ /**
42
+ * 批量操作
43
+ */
44
+ BATCH_OPERATE = "batch_operate",
45
+ /**
46
+ * 授权
47
+ */
48
+ AUTHORIZED = "authorized"
49
+ }
50
+ export declare enum WinCardChartType {
51
+ /**
52
+ * 指标卡片
53
+ */
54
+ INDICATOR = "INDICATOR",
55
+ /**
56
+ * 指标加面积图
57
+ */
58
+ INDICATOR_AREA = "INDICATOR_AREA",
59
+ /**
60
+ * 指标加面积图
61
+ */
62
+ AREA_CHART = "AREA_CHART",
63
+ /**
64
+ * 折线图卡片
65
+ */
66
+ LINE_CHART = "LINE_CHART",
67
+ /**
68
+ * 柱状图
69
+ */
70
+ COLUMN_CHART = "COLUMN_CHART",
71
+ /**
72
+ * 堆叠柱状图
73
+ */
74
+ STACK_COLUMN_CHART = "STACK_COLUMN_CHART",
75
+ /**
76
+ * 条形图
77
+ */
78
+ BAR_CHART = "BAR_CHART",
79
+ /**
80
+ * 双轴图
81
+ */
82
+ DUAL_LINE_BAR_CHART = "DUAL_LINE_COLUMN_CHART",
83
+ /**
84
+ * 漏斗图
85
+ */
86
+ FUNNEL_CHART = "FUNNEL_CHART",
87
+ /**
88
+ * 饼图
89
+ */
90
+ PIE_CHART = "PIE_CHART",
91
+ /**
92
+ * 饼图(以指标项展示)
93
+ */
94
+ PIE_CHART_RESERVE = "PIE_CHART_RESERVE",
95
+ /**
96
+ * 环图
97
+ */
98
+ CYCLE_CHART = "CYCLE_CHART",
99
+ /**
100
+ * 雷达图
101
+ */
102
+ RADAR_CHART = "RADAR_CHART",
103
+ /**
104
+ * 雷达图(以指标项展示)
105
+ */
106
+ RADAR_CHART_RESERVE = "RADAR_CHART_RESERVE",
107
+ /**
108
+ * 自定义卡片
109
+ */
110
+ CUSTOM_CARD = "CUSTOM_CARD"
111
+ }
112
+ /**
113
+ * 事项类别
114
+ */
115
+ export declare enum MatterType {
116
+ /**
117
+ * 待办
118
+ */
119
+ PENDING = "PENDING",
120
+ /**
121
+ * 我发出的
122
+ */
123
+ CREATE = "CREATE",
124
+ /**
125
+ * 已办事项
126
+ */
127
+ COMPLETE = "COMPLETE"
128
+ }
@@ -0,0 +1,98 @@
1
+ /**
2
+ * 页面操作类型
3
+ */ export var OperateType;
4
+ (function(OperateType) {
5
+ OperateType[/**
6
+ * 默认
7
+ */ "NONE"] = "none";
8
+ OperateType[/**
9
+ * 添加
10
+ */ "ADD"] = "add";
11
+ OperateType[/**
12
+ * 复制
13
+ */ "COPY"] = "copy";
14
+ OperateType[/**
15
+ * 编辑
16
+ */ "EDIT"] = "edit";
17
+ OperateType[/**
18
+ * 查看
19
+ */ "VIEW"] = "view";
20
+ OperateType[/**
21
+ * 删除
22
+ */ "DELETE"] = "delete";
23
+ OperateType[/**
24
+ * 反馈
25
+ */ "FEEDBACK"] = "feedback";
26
+ OperateType[/**
27
+ * 追评
28
+ */ "REVIEW"] = "review";
29
+ OperateType[/**
30
+ * 批量导入
31
+ */ "BATCH_ADD"] = "batch_add";
32
+ OperateType[/**
33
+ * 批量操作
34
+ */ "BATCH_OPERATE"] = "batch_operate";
35
+ OperateType[/**
36
+ * 授权
37
+ */ "AUTHORIZED"] = "authorized";
38
+ })(OperateType || (OperateType = {}));
39
+ export var WinCardChartType;
40
+ (function(WinCardChartType) {
41
+ WinCardChartType[/**
42
+ * 指标卡片
43
+ */ "INDICATOR"] = "INDICATOR";
44
+ WinCardChartType[/**
45
+ * 指标加面积图
46
+ */ "INDICATOR_AREA"] = "INDICATOR_AREA";
47
+ WinCardChartType[/**
48
+ * 指标加面积图
49
+ */ "AREA_CHART"] = "AREA_CHART";
50
+ WinCardChartType[/**
51
+ * 折线图卡片
52
+ */ "LINE_CHART"] = "LINE_CHART";
53
+ WinCardChartType[/**
54
+ * 柱状图
55
+ */ "COLUMN_CHART"] = "COLUMN_CHART";
56
+ WinCardChartType[/**
57
+ * 堆叠柱状图
58
+ */ "STACK_COLUMN_CHART"] = "STACK_COLUMN_CHART";
59
+ WinCardChartType[/**
60
+ * 条形图
61
+ */ "BAR_CHART"] = "BAR_CHART";
62
+ WinCardChartType[/**
63
+ * 双轴图
64
+ */ "DUAL_LINE_BAR_CHART"] = "DUAL_LINE_COLUMN_CHART";
65
+ WinCardChartType[/**
66
+ * 漏斗图
67
+ */ "FUNNEL_CHART"] = "FUNNEL_CHART";
68
+ WinCardChartType[/**
69
+ * 饼图
70
+ */ "PIE_CHART"] = "PIE_CHART";
71
+ WinCardChartType[/**
72
+ * 饼图(以指标项展示)
73
+ */ "PIE_CHART_RESERVE"] = "PIE_CHART_RESERVE";
74
+ WinCardChartType[/**
75
+ * 环图
76
+ */ "CYCLE_CHART"] = "CYCLE_CHART";
77
+ WinCardChartType[/**
78
+ * 雷达图
79
+ */ "RADAR_CHART"] = "RADAR_CHART";
80
+ WinCardChartType[/**
81
+ * 雷达图(以指标项展示)
82
+ */ "RADAR_CHART_RESERVE"] = "RADAR_CHART_RESERVE";
83
+ WinCardChartType[/**
84
+ * 自定义卡片
85
+ */ "CUSTOM_CARD"] = "CUSTOM_CARD";
86
+ })(WinCardChartType || (WinCardChartType = {}));
87
+ export var MatterType;
88
+ (function(MatterType) {
89
+ MatterType[/**
90
+ * 待办
91
+ */ "PENDING"] = "PENDING";
92
+ MatterType[/**
93
+ * 我发出的
94
+ */ "CREATE"] = "CREATE";
95
+ MatterType[/**
96
+ * 已办事项
97
+ */ "COMPLETE"] = "COMPLETE";
98
+ })(MatterType || (MatterType = {}));
@@ -0,0 +1,15 @@
1
+ import { CSSProperties } from 'react';
2
+ export type Fn = (...args: unknown[]) => unknown;
3
+ export * from './user';
4
+ export * from './portal';
5
+ export * from './indicator';
6
+ export * from './interface';
7
+ export * from './enum';
8
+ export * from './type';
9
+ export * from './report';
10
+ export * from './enum-workbench';
11
+ export interface IStyleProps {
12
+ style?: CSSProperties;
13
+ className?: string;
14
+ id?: string;
15
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./user";
2
+ export * from "./portal";
3
+ export * from "./indicator";
4
+ export * from "./interface";
5
+ export * from "./enum";
6
+ export * from "./type";
7
+ export * from "./report";
8
+ export * from "./enum-workbench";
9
+
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":["export * from \"./user\";\nexport * from \"./portal\";\nexport * from \"./indicator\";\nexport * from \"./interface\";\nexport * from \"./enum\";\nexport * from \"./type\";\nexport * from \"./report\";\nexport * from \"./enum-workbench\";\n"],"names":[],"mappings":"AAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;"}
@@ -0,0 +1,252 @@
1
+ import { ICharInfo } from 'src/components/win-chart';
2
+ import { WinCardChartType } from './enum';
3
+ import { IListItem } from './interface';
4
+ import { WinCardStatus } from './type';
5
+ export type IndicatorLabel = 'OKR' | 'CORE' | 'ORDINARY';
6
+ interface IIndicatorConfig {
7
+ id: number;
8
+ /**
9
+ * 单位
10
+ */
11
+ unit: string;
12
+ /**
13
+ * 指标所在侧 0 左 1 右
14
+ */
15
+ yAxis: number;
16
+ /**
17
+ * 指标别名
18
+ */
19
+ alias?: string;
20
+ /**
21
+ * 是否堆叠
22
+ */
23
+ isStack?: boolean;
24
+ extra?: {
25
+ /**
26
+ * 默认 0 日期 0 目标 1
27
+ */
28
+ subTitle: number;
29
+ };
30
+ }
31
+ export type IndicatorCardSize = 'min' | 'medium' | 'max';
32
+ export interface IIndicatorCardConfig {
33
+ subscribed?: boolean;
34
+ name: string;
35
+ id: number;
36
+ type: string;
37
+ dataAccCode: string;
38
+ /**
39
+ * 业务分类
40
+ */
41
+ bizCode: string;
42
+ /**
43
+ * 卡片类型
44
+ */
45
+ chartType: WinCardChartType;
46
+ /**
47
+ * 占多少个网格
48
+ */
49
+ colWidth: number;
50
+ colHeight: number;
51
+ description: string;
52
+ detailUrl: string;
53
+ status: WinCardStatus;
54
+ /**
55
+ * 排序
56
+ */
57
+ rankOrder: number;
58
+ commonConfig: {
59
+ orgLevel: string;
60
+ labelField: string;
61
+ limit: number;
62
+ color?: string[];
63
+ yStart?: number[];
64
+ xAxisLabelRotate?: number;
65
+ xAxisLabelLength?: number;
66
+ sort?: 'asc' | 'desc';
67
+ };
68
+ indicatorConfig: IIndicatorConfig[];
69
+ sizeMap: {
70
+ min: [1, 2];
71
+ medium: [1, 4];
72
+ max: [2, 4];
73
+ };
74
+ size: IndicatorCardSize;
75
+ }
76
+ interface IIndicatorListInfo extends ICharInfo {
77
+ indicatorId: number;
78
+ }
79
+ export interface IIndicatorDataInfo {
80
+ indicator?: {
81
+ instanceId: number;
82
+ date: string;
83
+ value: string;
84
+ expected: string;
85
+ };
86
+ list0?: IIndicatorListInfo[];
87
+ list1?: IIndicatorListInfo[];
88
+ }
89
+ export interface IIndicatorInfo {
90
+ /**
91
+ * 指标 ID
92
+ */
93
+ indicatorId: number;
94
+ /**
95
+ * 指标 Code
96
+ */
97
+ indicatorCode: string;
98
+ /**
99
+ * 指标名称
100
+ */
101
+ indicatorName: string;
102
+ /**
103
+ * 指标标签
104
+ */
105
+ indicatorLabel: 'OKR' | 'CORE' | 'ORDINARY';
106
+ indicatorType: string;
107
+ /**
108
+ * 指标内部筛选默认名称
109
+ */
110
+ selectLabel: string;
111
+ /**
112
+ * 内部下拉选项值
113
+ */
114
+ valueCode: string;
115
+ /**
116
+ * 值
117
+ */
118
+ value: number;
119
+ /**
120
+ * 统计时间
121
+ */
122
+ date: string;
123
+ /**
124
+ * 目标值
125
+ */
126
+ expectValue: number;
127
+ /**
128
+ * 目标达成率
129
+ */
130
+ ratio: number;
131
+ /**
132
+ * 是否订阅
133
+ */
134
+ followed: boolean;
135
+ /**
136
+ * 模版 有目标值 1 无目标值 2
137
+ */
138
+ cardTemplate: '1' | '2';
139
+ /**
140
+ * 指标实例说明
141
+ */
142
+ desc: string;
143
+ /**
144
+ * 单位
145
+ */
146
+ unit?: string;
147
+ /**
148
+ * 数据字典名称
149
+ */
150
+ name: string;
151
+ /**
152
+ * 展示名称(分层)
153
+ */
154
+ label: string;
155
+ /**
156
+ * 偏差值
157
+ */
158
+ diffValue: number;
159
+ /**
160
+ * 同比
161
+ */
162
+ yearCompare: number;
163
+ /**
164
+ * 周期环比
165
+ */
166
+ chain: number;
167
+ /**
168
+ * 日环比
169
+ */
170
+ dod: number;
171
+ /**
172
+ * 是否可以下钻
173
+ */
174
+ downShow: boolean;
175
+ downId: number;
176
+ downName: string;
177
+ downType: string;
178
+ uniqueCode: string;
179
+ }
180
+ export interface IBizTotal {
181
+ label: string;
182
+ area?: number;
183
+ income: number;
184
+ cost: number;
185
+ }
186
+ export interface IShowData {
187
+ code: string;
188
+ type: string;
189
+ value1: IIndicatorInfo[];
190
+ value2: IIndicatorInfo[];
191
+ }
192
+ export interface IRiskInfo {
193
+ riskId: string;
194
+ riskLevel: string;
195
+ riskLevelDesc: string;
196
+ riskDescription: string;
197
+ statusDesc: string;
198
+ parkName: string;
199
+ name: string;
200
+ time: string;
201
+ statusCode: string;
202
+ }
203
+ export interface IRegionInfo {
204
+ region: string;
205
+ operatingProjectArea: string;
206
+ operatingProjectCnt: string;
207
+ progressProjectArea: string;
208
+ progressProjectCnt: string;
209
+ }
210
+ export interface IIndicatorTableDataQuery {
211
+ level?: string;
212
+ name?: string;
213
+ subId?: number;
214
+ type?: string;
215
+ }
216
+ /**
217
+ * 指标中心详情而信息
218
+ */
219
+ export interface IIndicatorDetailsInfo {
220
+ style: 1 | 2;
221
+ name: string;
222
+ desc: string;
223
+ listValue: IIndicatorInfo[];
224
+ timeValue: IListItem<number>[];
225
+ dimension: string;
226
+ targetShow: boolean;
227
+ downId?: number;
228
+ unit: string;
229
+ }
230
+ export interface IIndicatorInfoQuery {
231
+ subId?: number | string;
232
+ name?: string;
233
+ type?: string;
234
+ indicatorDate?: string;
235
+ originId?: number | string;
236
+ }
237
+ export interface IIndicatorChangeInfo {
238
+ code: string;
239
+ name: string;
240
+ value: string;
241
+ unit: string;
242
+ diff: string;
243
+ children: IIndicatorChangeInfo[];
244
+ key: string;
245
+ url?: string;
246
+ }
247
+ export interface IIndicatorMsgChangeInfo {
248
+ lastVisitDay: string;
249
+ msg: string;
250
+ indicators: IIndicatorChangeInfo[];
251
+ }
252
+ export {};
@@ -0,0 +1 @@
1
+ export { };