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,260 @@
1
+ import { CSSProperties } from 'react';
2
+ import { OperateType } from './enum';
3
+ import { IIndicatorCardConfig } from './indicator';
4
+ import { ICardGroupInfo, IMatterPendingInfo, INoticeInfo } from './portal';
5
+ export interface IStyleProps {
6
+ style?: CSSProperties;
7
+ className?: string;
8
+ id?: string;
9
+ }
10
+ export interface IListItemDataSourceMap {
11
+ [p: string]: IListItem[];
12
+ }
13
+ /**
14
+ * 列表选项
15
+ */
16
+ export interface IListItem<T = string> {
17
+ label: string;
18
+ value: T;
19
+ children?: IListItem<T>[];
20
+ }
21
+ export interface IResponse<T = any> {
22
+ data: T;
23
+ errorCode: string;
24
+ errorMsg: string;
25
+ msg?: string;
26
+ success: boolean;
27
+ }
28
+ /**
29
+ * 图表选项
30
+ */
31
+ export interface IChartListItem {
32
+ label: string;
33
+ fullLabel?: string;
34
+ value: number;
35
+ type: string;
36
+ }
37
+ /**
38
+ * 记录项
39
+ */
40
+ export interface IParkRecordItem {
41
+ /**
42
+ * 记录ID
43
+ */
44
+ id: number;
45
+ /**
46
+ * 园区编码
47
+ */
48
+ parkCode: string;
49
+ /**
50
+ * 园区名称
51
+ */
52
+ parkName: string;
53
+ /**
54
+ * 创建时间
55
+ */
56
+ gmtCreate: number;
57
+ /**
58
+ * 修改时间
59
+ */
60
+ gmtModified: number;
61
+ }
62
+ /**
63
+ * 操作记录项
64
+ */
65
+ export interface IOperateRecordInfo {
66
+ /**
67
+ * 时间
68
+ */
69
+ gmtCreate: number;
70
+ /**
71
+ * 操作
72
+ */
73
+ operation: string;
74
+ /**
75
+ * 备注
76
+ */
77
+ remark: string;
78
+ /**
79
+ * 操作人
80
+ */
81
+ operatorName: string;
82
+ }
83
+ /**
84
+ * 文件信息项
85
+ */
86
+ export interface IFileInfoListItem {
87
+ /**
88
+ * 附件类型(1-图片,2-视频,3-其他)
89
+ */
90
+ fileType: 1 | 2 | 3;
91
+ ossKey: string;
92
+ ossUrl: string;
93
+ name: string;
94
+ }
95
+ /**
96
+ * 本地文件信息
97
+ */
98
+ export interface IFileInfoListLocalItem {
99
+ /**
100
+ * 附件类型(1-图片,2-视频,3-其他)
101
+ */
102
+ fileType: 1 | 2 | 3;
103
+ ossKey: string;
104
+ ossUrl: string;
105
+ name: string;
106
+ imgURL: string;
107
+ response: {
108
+ ossKey: string;
109
+ };
110
+ }
111
+ /**
112
+ * 键值对
113
+ */
114
+ export type IKeyValueItem = Record<string, any>;
115
+ export interface ICnQuery {
116
+ currentPage?: number;
117
+ pageSize?: number;
118
+ }
119
+ export interface ICnPaging {
120
+ currentPage: number;
121
+ pageSize: number;
122
+ totalCount: number;
123
+ }
124
+ export interface ICnTableData<T = any> {
125
+ paging: ICnPaging;
126
+ tableData: T[];
127
+ }
128
+ export interface IBizQuery {
129
+ bizType: string;
130
+ bizIds: string[];
131
+ }
132
+ interface IFileData {
133
+ key: string;
134
+ name?: string;
135
+ url?: string;
136
+ }
137
+ export interface IUploadFileInfo {
138
+ status: string | 'done';
139
+ name: string;
140
+ size: number;
141
+ type: string;
142
+ key: string;
143
+ response?: {
144
+ data: IFileData;
145
+ };
146
+ url?: string;
147
+ }
148
+ export interface IOperateState {
149
+ type: OperateType;
150
+ id?: number;
151
+ }
152
+ export interface INextPageMenuInfo {
153
+ menuTitle: string;
154
+ menuUrl: string;
155
+ path: string;
156
+ }
157
+ export interface IShowInfo {
158
+ title: string;
159
+ content?: string | number;
160
+ img?: string;
161
+ time?: string | number;
162
+ url?: string;
163
+ buttonName?: string;
164
+ }
165
+ export interface IMatterInfo {
166
+ applyTime: string;
167
+ title: string;
168
+ url: string;
169
+ applicantName: string;
170
+ handlerName: string;
171
+ status: string;
172
+ }
173
+ export interface ISearchCondition {
174
+ dataAccVal: string;
175
+ }
176
+ export interface IRecommendInfo {
177
+ word: string;
178
+ }
179
+ export interface ISearchResListInfo {
180
+ bizId: string;
181
+ title: string;
182
+ content: string;
183
+ url: string;
184
+ ext?: {
185
+ code: string;
186
+ dataAccVal: string;
187
+ type: string;
188
+ };
189
+ }
190
+ export interface ISearchResInfo {
191
+ count: number;
192
+ type: string;
193
+ list: ISearchResListInfo[];
194
+ }
195
+ export interface IHazardInfo {
196
+ parkName: string;
197
+ parkCode: string;
198
+ riskDescribe: string;
199
+ riskNumber: number;
200
+ progress: number;
201
+ }
202
+ export interface ISearchByTypeCondition {
203
+ keyWord?: string;
204
+ type: string;
205
+ page: number;
206
+ pageSize: number;
207
+ }
208
+ export interface ICardInfo {
209
+ size: 'medium' | 'min' | 'max';
210
+ id: number;
211
+ x?: number;
212
+ y?: number;
213
+ }
214
+ export interface IPortalPageInfo {
215
+ id: number;
216
+ name: string;
217
+ code: string;
218
+ pageType: string;
219
+ status: string;
220
+ digitalSpaceUrl: string;
221
+ comment: null;
222
+ cardList: ICardInfo[];
223
+ content: string;
224
+ configMap: {
225
+ [p: string]: IIndicatorCardConfig;
226
+ };
227
+ groupDTOList: ICardGroupInfo[];
228
+ }
229
+ export interface IVisionUserConfig {
230
+ [p: string]: string;
231
+ }
232
+ export interface IZNoticeInfo {
233
+ title: string;
234
+ bizId: string;
235
+ releaseDate: number;
236
+ }
237
+ export interface IOssSign {
238
+ accessId: string;
239
+ ossAccessKeyId: string;
240
+ policy: string;
241
+ host: string;
242
+ expire: string;
243
+ key: string;
244
+ signature: string;
245
+ securityToken: string;
246
+ }
247
+ export interface IOssUploadData extends Pick<IOssSign, 'signature' | 'policy' | 'ossAccessKeyId' | 'host' | 'securityToken'> {
248
+ file: File;
249
+ key: string;
250
+ }
251
+ export interface IWorkbenchOptions {
252
+ roleList: IListItem[];
253
+ pendingList: IMatterPendingInfo[];
254
+ noticeList: INoticeInfo[];
255
+ LEVEL_2?: IListItem[];
256
+ LEVEL_3?: IListItem[];
257
+ LEVEL_4?: IListItem[];
258
+ LEVEL_5?: IListItem[];
259
+ }
260
+ export {};
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,180 @@
1
+ import { IIndicatorCardConfig } from './indicator';
2
+ import { ICardInfo, IListItem } from './interface';
3
+ import { WinCardStatus } from './type';
4
+ /**
5
+ * portal 页未读消息
6
+ */
7
+ export interface IUnreadMsg {
8
+ id: number;
9
+ /**
10
+ * 标题
11
+ */
12
+ title: string;
13
+ /**
14
+ * 消息
15
+ */
16
+ content: string;
17
+ /**
18
+ * 跳转链接
19
+ */
20
+ url: string;
21
+ /**
22
+ * 消息中包含的指标实例ID
23
+ */
24
+ instanceIds: string;
25
+ /**
26
+ * 消息状态:0 未读 / 1 已读,此处都是0
27
+ */
28
+ messageStatus: number;
29
+ bizType1: string;
30
+ bizType2: string;
31
+ bizTypeDesc1: string;
32
+ bizTypeDesc2: string;
33
+ sendTime: string;
34
+ }
35
+ export interface IApprovalInfo {
36
+ title: string;
37
+ name: string;
38
+ time: string;
39
+ }
40
+ export interface IWidgetSearch {
41
+ needSubscribeInfo: boolean;
42
+ subscribePageCode: string;
43
+ subscribePageType?: string;
44
+ status?: WinCardStatus;
45
+ bizCode?: string;
46
+ typeGroup?: string;
47
+ fuzzyLike?: string;
48
+ filterMySubscription?: boolean;
49
+ colWidthList?: number[];
50
+ }
51
+ export interface IMatterPendingInfo {
52
+ desc: string;
53
+ count: string;
54
+ url: string;
55
+ }
56
+ /**
57
+ * 公告、头条详情
58
+ */
59
+ export interface INoticeInfo {
60
+ id: number;
61
+ gmtCreate: string;
62
+ gmtModified: string;
63
+ noticeTitle: string;
64
+ noticeContent: string;
65
+ noticeImage: string;
66
+ noticeImageUrl: string;
67
+ noticeStatus: number;
68
+ pv: number;
69
+ startTime: string;
70
+ endTime: string;
71
+ releaseTime: string;
72
+ remark: string;
73
+ creator: number;
74
+ creatorName: string;
75
+ operator: number;
76
+ operatorName: string;
77
+ seen: boolean;
78
+ noticeBannerUrl: string;
79
+ }
80
+ /**
81
+ * 排行榜
82
+ */
83
+ export interface IRankInfo {
84
+ title: string;
85
+ list?: IListItem[];
86
+ }
87
+ /**
88
+ * 小 V 简报信息
89
+ */
90
+ export interface IVReportInfo {
91
+ date: string;
92
+ year: number;
93
+ week: number;
94
+ /**
95
+ * 访问量
96
+ */
97
+ pvCount: string;
98
+ /**
99
+ * 访问变化率
100
+ */
101
+ pvRate: string;
102
+ /**
103
+ * 审批流程数
104
+ */
105
+ processCount: string;
106
+ /**
107
+ * 审批平均耗时
108
+ */
109
+ processAvgSpent: string;
110
+ /**
111
+ * 指标数量
112
+ */
113
+ authCount: string;
114
+ /**
115
+ * 指标订阅率
116
+ */
117
+ subRate: string;
118
+ }
119
+ export interface IDialogMsgInfo {
120
+ id: number;
121
+ avatar?: string;
122
+ gmtCreate?: string;
123
+ gmtModified?: string;
124
+ /**
125
+ * 消息类型,text-文本消息、text_retry-文本消息带重试按钮、text_general-文本消息带通用按钮 text_multiply-指标变动提醒消息
126
+ */
127
+ type?: 'text' | 'text_retry' | 'text_general' | 'text_multiply';
128
+ title?: string;
129
+ content?: string;
130
+ url?: string;
131
+ /**
132
+ * 状态,0-未读/1-已读/2-已点赞
133
+ */
134
+ status?: number;
135
+ /**
136
+ * 发送人,0-小V
137
+ */
138
+ sender?: string;
139
+ /**
140
+ * 接收人,0-小V
141
+ */
142
+ recipient?: string;
143
+ sendTime?: string;
144
+ readTime?: string;
145
+ }
146
+ export interface IMsgCountInfo {
147
+ messageCount?: number;
148
+ unreadCount?: number;
149
+ }
150
+ export interface IRelationPropertyInfo {
151
+ cardId: string;
152
+ cardName: string;
153
+ propertyName: string;
154
+ }
155
+ export interface ISelectionInfo {
156
+ name: string;
157
+ type: 'STRUCTURED_DROPDOWN' | 'TIME_SELECTION';
158
+ typeDesc: string;
159
+ structuredAttribute: string;
160
+ defaultValue: string;
161
+ values: IListItem[];
162
+ }
163
+ export type SelectionInfo = Partial<ISelectionInfo>;
164
+ export interface IConfigMap {
165
+ [p: string]: IIndicatorCardConfig;
166
+ }
167
+ export interface ICardGroupInfo {
168
+ code?: string;
169
+ pageType?: string;
170
+ groupCode?: string;
171
+ groupName?: string;
172
+ selections?: SelectionInfo[];
173
+ cardList?: ICardInfo[];
174
+ configMap?: IConfigMap;
175
+ }
176
+ export interface IStructedPropertyInfo {
177
+ structedPropertyCode?: string;
178
+ structedPropertyName?: string;
179
+ downValues?: IListItem[];
180
+ }
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,25 @@
1
+ import { IIndicatorInfo } from './indicator';
2
+ export type ReportTemplateType = 'WEEKLY' | 'DAILY' | 'OTHER';
3
+ export interface IReportTplInfo {
4
+ templateId: number;
5
+ templateName: string;
6
+ description: string;
7
+ templateType: ReportTemplateType;
8
+ viewRange: 'PUBLIC' | 'PERSONAL';
9
+ templateTypeDesc: string;
10
+ version: number;
11
+ view: boolean;
12
+ content: string;
13
+ personList: {
14
+ workNo: string;
15
+ name: string;
16
+ }[];
17
+ indicatorList: IIndicatorInfo[];
18
+ }
19
+ export interface IReportContentInfo {
20
+ templateId: number;
21
+ title: string;
22
+ content: string;
23
+ indicatorResult: IIndicatorInfo[];
24
+ version: number;
25
+ }
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,9 @@
1
+ export type IndicatorUnit = '元' | '万元' | '百万' | '亿元' | '平米' | '万方';
2
+ /**
3
+ * 卡片大类
4
+ */
5
+ export type WinCardType = 'Indicator' | 'IndicatorChart' | 'Chart' | 'Custom';
6
+ /**
7
+ * 页面状态
8
+ */
9
+ export type WinCardStatus = 'ONLINE' | 'OFFLINE';
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,26 @@
1
+ export interface User {
2
+ userName?: string;
3
+ }
4
+ type MenuInfo = {
5
+ menuCode: string;
6
+ menuTitle: string;
7
+ funcAccessCode?: string;
8
+ menuType?: string;
9
+ menuUrl?: string;
10
+ parentMenuCode?: string;
11
+ parentMenuTitle?: string;
12
+ hasChild?: boolean;
13
+ nodeSequence?: number;
14
+ menuIcon?: string;
15
+ description?: string;
16
+ children?: IMenuInfo[];
17
+ };
18
+ export type IMenuInfo = {
19
+ [p in keyof MenuInfo]: MenuInfo[p] | null;
20
+ };
21
+ export interface IUserAvatarInfo {
22
+ href?: string;
23
+ url?: string;
24
+ nickName?: string;
25
+ }
26
+ export {};
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ /// <reference types="@ice/pkg/types" />
@@ -0,0 +1,4 @@
1
+ # utils
2
+
3
+ - 此文件夹放置项目统一的 utils
4
+ - 使用的时候直接 `import { xxx } from 'src/utils';` 即可
@@ -0,0 +1,46 @@
1
+ // /**
2
+ // * 接入 arms 监控
3
+ // * arms 接入指南 https://yuque.antfin-inc.com/c-one/cli/arms
4
+ // */
5
+ // import { initTrace } from '@alife/cone-arms';
6
+ // import { getCnEnv } from '@alife/cn-env';
7
+ // const env = getCnEnv();
8
+ // // eslint-disable-next-line no-console
9
+ // // 初始化 arms
10
+ // const trace = initTrace({
11
+ // // 必填, arms 平台上申请的的 pid
12
+ // pid: 'cn_cone_next_3796',
13
+ // env, // 可选 prod | pre | daily | string
14
+ // // uid: '', // 请按业务场景实现 uid 的获取逻辑, 来确保 pv 统计的准确性
15
+ // // 多语言对应的 cookie key, 默认会从 cookie 的 lang/_lang/x-hng/hng/langs 等位置读取多语言
16
+ // // langKey: '',
17
+ // // pv 采集插件的配置
18
+ // pvPluginOptions: { autoPV: true, enableHistory: true },
19
+ // // 性能监控插件的配置
20
+ // // perfPluginOptions: {},
21
+ // // api 采集插件的配置
22
+ // // apiPluginOptions: {},
23
+ // // TraceSdk 更多参数请参考 IConfig
24
+ // // https://g.alipay.com/browse/@ali/trace-core@latest/types/types/core.type.ts
25
+ // // requiredFields: [],
26
+ // });
27
+ // /**
28
+ // * 如何新增自定义监控
29
+ // * - 去 [项目设置] - [监控管理] - [添加一个自定义监控]
30
+ // * - 然后将 [监控代码] 配置到 monitorCodeMap
31
+ // * - 参考项目里面其他调用 logCustomMonitor 的例子
32
+ // */
33
+ // const monitorCodeMap = {
34
+ // hello: 'monitor-code-hello',
35
+ // };
36
+ // /**
37
+ // * 上报自定义监控项 https://yuque.antfin-inc.com/ali_arms/lav0sg/vg17om#PMINJ
38
+ // * options 可以上报其他自定义字段, 比如说 { c1: '' }
39
+ // */
40
+ // function logCustomMonitor(code: any, options: any) {
41
+ // trace.logCustom({
42
+ // ...options,
43
+ // p1: code, // 此处填写控制台创建自定义监控项生成的code
44
+ // });
45
+ // }
46
+ // export { trace, monitorCodeMap, logCustomMonitor };
@@ -0,0 +1,35 @@
1
+ import { IDialogMsgInfo } from '@/types';
2
+ /**
3
+ * 判断是否为一个有效数组(有值,并且长度大于 0)
4
+ * @param data
5
+ * @returns
6
+ */
7
+ export declare const checkEntityArr: (data: unknown) => boolean;
8
+ /**
9
+ * 数组求和
10
+ * @param list
11
+ */
12
+ export declare const arraySum: (list?: number[]) => number;
13
+ /**
14
+ * 数组去重
15
+ * @param list
16
+ * @returns
17
+ */
18
+ export declare const arrayDeduplication: (list: any) => any[];
19
+ interface WithId {
20
+ id: number;
21
+ }
22
+ /**
23
+ * 合并数组
24
+ * @param array1
25
+ * @param array2
26
+ * @returns
27
+ */
28
+ export declare function mergeAndDeduplicateArrays<T extends WithId>(array1: T[], array2: T[]): T[];
29
+ export interface ITimeMarker {
30
+ id: string;
31
+ type: 'time-marker';
32
+ content: string;
33
+ }
34
+ export declare function insertTimeMarkers(dialogs: IDialogMsgInfo[]): (IDialogMsgInfo | ITimeMarker)[];
35
+ export {};