@hg2/dataview-core 2.0.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 (498) hide show
  1. package/dist/ColorList-36f5fb1f.js +195 -0
  2. package/dist/ColorList-36f5fb1f.js.map +1 -0
  3. package/dist/StylesSetting-e13e1698.js +348 -0
  4. package/dist/StylesSetting-e13e1698.js.map +1 -0
  5. package/dist/api/axios.d.ts +2 -0
  6. package/dist/api/http.d.ts +15 -0
  7. package/dist/api/mock/graph.json.d.ts +102 -0
  8. package/dist/api/mock/heatMapData.json.d.ts +202 -0
  9. package/dist/api/mock/index.d.ts +22 -0
  10. package/dist/api/mock/map.json.d.ts +12 -0
  11. package/dist/api/mock/sankey.json.d.ts +89 -0
  12. package/dist/api/mock/scatter.json.d.ts +59 -0
  13. package/dist/api/mock/test.mock.d.ts +226 -0
  14. package/dist/api/mock/treemap.json.d.ts +53 -0
  15. package/dist/api/mock/vchart/bar.json.d.ts +19 -0
  16. package/dist/api/mock/vchart.mock.d.ts +15 -0
  17. package/dist/components/GoAppProvider/index.d.ts +2 -0
  18. package/dist/components/GoAppProvider/index.vue.d.ts +9 -0
  19. package/dist/components/GoIconify/index.d.ts +2 -0
  20. package/dist/components/GoIconify/index.vue.d.ts +46 -0
  21. package/dist/components/GoLangSelect/index.d.ts +2 -0
  22. package/dist/components/GoLangSelect/index.vue.d.ts +2 -0
  23. package/dist/components/GoLoading/LoadingSkeleton.vue.d.ts +2 -0
  24. package/dist/components/GoLoading/index.d.ts +4 -0
  25. package/dist/components/GoLoading/index.vue.d.ts +2 -0
  26. package/dist/components/GoSkeleton/index.d.ts +2 -0
  27. package/dist/components/GoSkeleton/index.vue.d.ts +23 -0
  28. package/dist/components/GoSystemInfo/index.d.ts +2 -0
  29. package/dist/components/GoSystemInfo/index.vue.d.ts +12 -0
  30. package/dist/components/GoSystemSet/index.d.ts +12 -0
  31. package/dist/components/GoSystemSet/index.vue.d.ts +12 -0
  32. package/dist/components/GoThemeSelect/index.d.ts +2 -0
  33. package/dist/components/GoThemeSelect/index.vue.d.ts +2 -0
  34. package/dist/components/I18n/index.d.ts +2 -0
  35. package/dist/components/I18n/index.vue.d.ts +2 -0
  36. package/dist/components/Pages/ChartGlobImage/index.d.ts +2 -0
  37. package/dist/components/Pages/ChartGlobImage/index.vue.d.ts +14 -0
  38. package/dist/components/Pages/ChartItemSetting/CollapseItem.vue.d.ts +32 -0
  39. package/dist/components/Pages/ChartItemSetting/GlobalSettingPosition.vue.d.ts +19 -0
  40. package/dist/components/Pages/ChartItemSetting/NameSetting.vue.d.ts +14 -0
  41. package/dist/components/Pages/ChartItemSetting/PositionSetting.vue.d.ts +38 -0
  42. package/dist/components/Pages/ChartItemSetting/SettingItem.vue.d.ts +27 -0
  43. package/dist/components/Pages/ChartItemSetting/SettingItemBox.vue.d.ts +43 -0
  44. package/dist/components/Pages/ChartItemSetting/SizeSetting.vue.d.ts +39 -0
  45. package/dist/components/Pages/ChartItemSetting/StylesSetting.vue.d.ts +60 -0
  46. package/dist/components/Pages/ChartItemSetting/index.d.ts +9 -0
  47. package/dist/components/Pages/Flipper/index.d.ts +3 -0
  48. package/dist/components/Pages/Flipper/index.vue.d.ts +88 -0
  49. package/dist/components/Pages/MonacoEditor/index.d.ts +3 -0
  50. package/dist/components/Pages/MonacoEditor/index.hook.d.ts +8 -0
  51. package/dist/components/Pages/MonacoEditor/index.vue.d.ts +68 -0
  52. package/dist/components/Pages/ThemeColorSelect/components/ColorList.vue.d.ts +18 -0
  53. package/dist/components/Pages/ThemeColorSelect/index.d.ts +2 -0
  54. package/dist/components/Pages/ThemeColorSelect/index.vue.d.ts +4 -0
  55. package/dist/components/Plugins/DialogContent/index.d.ts +2 -0
  56. package/dist/components/Plugins/DialogContent/index.vue.d.ts +2 -0
  57. package/dist/components/Plugins/LoadingContent/index.d.ts +2 -0
  58. package/dist/components/Plugins/LoadingContent/index.vue.d.ts +2 -0
  59. package/dist/components/Plugins/MessageContent/index.d.ts +2 -0
  60. package/dist/components/Plugins/MessageContent/index.vue.d.ts +2 -0
  61. package/dist/components/Tips/MacOsControlBtn/index.d.ts +2 -0
  62. package/dist/components/Tips/MacOsControlBtn/index.vue.d.ts +59 -0
  63. package/dist/config-135cbd37.js +78 -0
  64. package/dist/config-135cbd37.js.map +1 -0
  65. package/dist/config-2f4d03cf.js +50 -0
  66. package/dist/config-2f4d03cf.js.map +1 -0
  67. package/dist/config-2feff12a.js +51 -0
  68. package/dist/config-2feff12a.js.map +1 -0
  69. package/dist/config-34a249a9.js +50 -0
  70. package/dist/config-34a249a9.js.map +1 -0
  71. package/dist/config-54932c86.js +61 -0
  72. package/dist/config-54932c86.js.map +1 -0
  73. package/dist/config-63dc5f82.js +62 -0
  74. package/dist/config-63dc5f82.js.map +1 -0
  75. package/dist/config-6ff94944.js +58 -0
  76. package/dist/config-6ff94944.js.map +1 -0
  77. package/dist/config-70c69137.js +51 -0
  78. package/dist/config-70c69137.js.map +1 -0
  79. package/dist/config-72cb7427.js +53 -0
  80. package/dist/config-72cb7427.js.map +1 -0
  81. package/dist/config-99706c47.js +58 -0
  82. package/dist/config-99706c47.js.map +1 -0
  83. package/dist/config-a6eb66af.js +51 -0
  84. package/dist/config-a6eb66af.js.map +1 -0
  85. package/dist/config-ac8d451f.js +127 -0
  86. package/dist/config-ac8d451f.js.map +1 -0
  87. package/dist/config-b11b8271.js +53 -0
  88. package/dist/config-b11b8271.js.map +1 -0
  89. package/dist/config-bda687c7.js +52 -0
  90. package/dist/config-bda687c7.js.map +1 -0
  91. package/dist/config-fe590ea6.js +57 -0
  92. package/dist/config-fe590ea6.js.map +1 -0
  93. package/dist/engines/index.d.ts +2 -0
  94. package/dist/engines/registry.d.ts +24 -0
  95. package/dist/enums/editPageEnum.d.ts +55 -0
  96. package/dist/enums/eventEnum.d.ts +32 -0
  97. package/dist/enums/fileTypeEnum.d.ts +7 -0
  98. package/dist/enums/httpEnum.d.ts +96 -0
  99. package/dist/enums/pageEnum.d.ts +0 -0
  100. package/dist/enums/pluginEnum.d.ts +6 -0
  101. package/dist/enums/storageEnum.d.ts +8 -0
  102. package/dist/enums/styleEnum.d.ts +14 -0
  103. package/dist/hooks/index.d.ts +8 -0
  104. package/dist/hooks/useChartDataFetch.hook.d.ts +13 -0
  105. package/dist/hooks/useChartDataPondFetch.hook.d.ts +12 -0
  106. package/dist/hooks/useChartInteract.hook.d.ts +8 -0
  107. package/dist/hooks/useCode.hook.d.ts +2 -0
  108. package/dist/hooks/useLang.hook.d.ts +372 -0
  109. package/dist/hooks/useLifeHandler.hook.d.ts +9 -0
  110. package/dist/hooks/usePreviewScale.hook.d.ts +32 -0
  111. package/dist/hooks/useTheme.hook.d.ts +18 -0
  112. package/dist/i18n/en/index.d.ts +21 -0
  113. package/dist/i18n/index.d.ts +48 -0
  114. package/dist/i18n/zh/index.d.ts +21 -0
  115. package/dist/index-10b2feb6.js +204 -0
  116. package/dist/index-10b2feb6.js.map +1 -0
  117. package/dist/index-148f6c33.js +1183 -0
  118. package/dist/index-148f6c33.js.map +1 -0
  119. package/dist/index-237a6823.js +26562 -0
  120. package/dist/index-237a6823.js.map +1 -0
  121. package/dist/index-3307e922.js +156 -0
  122. package/dist/index-3307e922.js.map +1 -0
  123. package/dist/index-33aae9d2.js +319 -0
  124. package/dist/index-33aae9d2.js.map +1 -0
  125. package/dist/index-556d7d7c.js +228 -0
  126. package/dist/index-556d7d7c.js.map +1 -0
  127. package/dist/index-617f36ae.js +156 -0
  128. package/dist/index-617f36ae.js.map +1 -0
  129. package/dist/index-62e07d83.js +54 -0
  130. package/dist/index-62e07d83.js.map +1 -0
  131. package/dist/index-66f7ab2a.js +590 -0
  132. package/dist/index-66f7ab2a.js.map +1 -0
  133. package/dist/index-6701793b.js +1811 -0
  134. package/dist/index-6701793b.js.map +1 -0
  135. package/dist/index-8d8dc1d2.js +132 -0
  136. package/dist/index-8d8dc1d2.js.map +1 -0
  137. package/dist/index-985f409d.js +461 -0
  138. package/dist/index-985f409d.js.map +1 -0
  139. package/dist/index-b2e0e39b.js +215 -0
  140. package/dist/index-b2e0e39b.js.map +1 -0
  141. package/dist/index-b58bfc89.js +419 -0
  142. package/dist/index-b58bfc89.js.map +1 -0
  143. package/dist/index-b5b7a570.js +103 -0
  144. package/dist/index-b5b7a570.js.map +1 -0
  145. package/dist/index-be12782c.js +1013 -0
  146. package/dist/index-be12782c.js.map +1 -0
  147. package/dist/index-be75d4d8.js +101 -0
  148. package/dist/index-be75d4d8.js.map +1 -0
  149. package/dist/index-c7145ef3.js +137 -0
  150. package/dist/index-c7145ef3.js.map +1 -0
  151. package/dist/index-ca8cd72a.js +74 -0
  152. package/dist/index-ca8cd72a.js.map +1 -0
  153. package/dist/index-cfca17b8.js +138 -0
  154. package/dist/index-cfca17b8.js.map +1 -0
  155. package/dist/index-d3c1c990.js +257 -0
  156. package/dist/index-d3c1c990.js.map +1 -0
  157. package/dist/index-ea4311bb.js +414 -0
  158. package/dist/index-ea4311bb.js.map +1 -0
  159. package/dist/index-ed584e70.js +729 -0
  160. package/dist/index-ed584e70.js.map +1 -0
  161. package/dist/index-f0c7797f.js +385 -0
  162. package/dist/index-f0c7797f.js.map +1 -0
  163. package/dist/index-f43eed8d.js +307 -0
  164. package/dist/index-f43eed8d.js.map +1 -0
  165. package/dist/index.d.ts +5 -0
  166. package/dist/index.js +57 -0
  167. package/dist/index.js.map +1 -0
  168. package/dist/layout/components/LayoutFooter/index.d.ts +2 -0
  169. package/dist/layout/components/LayoutFooter/index.vue.d.ts +9 -0
  170. package/dist/layout/components/LayoutHeader/index.d.ts +2 -0
  171. package/dist/layout/components/LayoutHeader/index.vue.d.ts +12 -0
  172. package/dist/layout/components/LayoutHeaderPro/index.d.ts +2 -0
  173. package/dist/layout/components/LayoutHeaderPro/index.vue.d.ts +12 -0
  174. package/dist/layout/components/LayoutMain/index.d.ts +2 -0
  175. package/dist/layout/components/LayoutMain/index.vue.d.ts +2 -0
  176. package/dist/layout/components/LayoutTransitionMain/index.d.ts +2 -0
  177. package/dist/layout/components/LayoutTransitionMain/index.vue.d.ts +2 -0
  178. package/dist/lib/GoViewEditor.vue.d.ts +48 -0
  179. package/dist/lib/GoViewPreview.vue.d.ts +25 -0
  180. package/dist/lib/index.d.ts +28 -0
  181. package/dist/lib/skills/index.d.ts +2 -0
  182. package/dist/lib/skills/registry.d.ts +2 -0
  183. package/dist/lib/skills/types.d.ts +72 -0
  184. package/dist/logo-9c1d9d16.js +5 -0
  185. package/dist/logo-9c1d9d16.js.map +1 -0
  186. package/dist/noData-63b54dc3.js +5 -0
  187. package/dist/noData-63b54dc3.js.map +1 -0
  188. package/dist/packages/components/Decorates/Borders/Border01/config.d.ts +16 -0
  189. package/dist/packages/components/Decorates/Borders/Border01/index.d.ts +2 -0
  190. package/dist/packages/components/Decorates/Borders/Border02/config.d.ts +14 -0
  191. package/dist/packages/components/Decorates/Borders/Border02/index.d.ts +2 -0
  192. package/dist/packages/components/Decorates/Borders/Border03/config.d.ts +14 -0
  193. package/dist/packages/components/Decorates/Borders/Border03/index.d.ts +2 -0
  194. package/dist/packages/components/Decorates/Borders/Border04/config.d.ts +24 -0
  195. package/dist/packages/components/Decorates/Borders/Border04/index.d.ts +2 -0
  196. package/dist/packages/components/Decorates/Borders/Border05/config.d.ts +14 -0
  197. package/dist/packages/components/Decorates/Borders/Border05/index.d.ts +2 -0
  198. package/dist/packages/components/Decorates/Borders/Border06/config.d.ts +14 -0
  199. package/dist/packages/components/Decorates/Borders/Border06/index.d.ts +2 -0
  200. package/dist/packages/components/Decorates/Borders/Border07/config.d.ts +14 -0
  201. package/dist/packages/components/Decorates/Borders/Border07/index.d.ts +2 -0
  202. package/dist/packages/components/Decorates/Borders/Border08/config.d.ts +18 -0
  203. package/dist/packages/components/Decorates/Borders/Border08/index.d.ts +2 -0
  204. package/dist/packages/components/Decorates/Borders/Border09/config.d.ts +14 -0
  205. package/dist/packages/components/Decorates/Borders/Border09/index.d.ts +2 -0
  206. package/dist/packages/components/Decorates/Borders/Border10/config.d.ts +14 -0
  207. package/dist/packages/components/Decorates/Borders/Border10/index.d.ts +2 -0
  208. package/dist/packages/components/Decorates/Borders/Border11/config.d.ts +14 -0
  209. package/dist/packages/components/Decorates/Borders/Border11/index.d.ts +2 -0
  210. package/dist/packages/components/Decorates/Borders/Border12/config.d.ts +14 -0
  211. package/dist/packages/components/Decorates/Borders/Border12/index.d.ts +2 -0
  212. package/dist/packages/components/Decorates/Borders/Border13/config.d.ts +14 -0
  213. package/dist/packages/components/Decorates/Borders/Border13/index.d.ts +2 -0
  214. package/dist/packages/components/Decorates/Borders/index.d.ts +2 -0
  215. package/dist/packages/components/Decorates/Decorates/Decorates01/config.d.ts +18 -0
  216. package/dist/packages/components/Decorates/Decorates/Decorates01/index.d.ts +2 -0
  217. package/dist/packages/components/Decorates/Decorates/Decorates02/config.d.ts +16 -0
  218. package/dist/packages/components/Decorates/Decorates/Decorates02/index.d.ts +2 -0
  219. package/dist/packages/components/Decorates/Decorates/Decorates03/config.d.ts +27 -0
  220. package/dist/packages/components/Decorates/Decorates/Decorates03/index.d.ts +2 -0
  221. package/dist/packages/components/Decorates/Decorates/Decorates04/config.d.ts +14 -0
  222. package/dist/packages/components/Decorates/Decorates/Decorates04/index.d.ts +2 -0
  223. package/dist/packages/components/Decorates/Decorates/Decorates05/config.d.ts +14 -0
  224. package/dist/packages/components/Decorates/Decorates/Decorates05/index.d.ts +2 -0
  225. package/dist/packages/components/Decorates/Decorates/Decorates06/config.d.ts +27 -0
  226. package/dist/packages/components/Decorates/Decorates/Decorates06/index.d.ts +2 -0
  227. package/dist/packages/components/Decorates/Decorates/index.d.ts +2 -0
  228. package/dist/packages/components/Decorates/FlowChart/FlowChartLine/config.d.ts +22 -0
  229. package/dist/packages/components/Decorates/FlowChart/FlowChartLine/index.d.ts +2 -0
  230. package/dist/packages/components/Decorates/FlowChart/index.d.ts +2 -0
  231. package/dist/packages/components/Decorates/Mores/CirclePoint/config.d.ts +29 -0
  232. package/dist/packages/components/Decorates/Mores/CirclePoint/index.d.ts +2 -0
  233. package/dist/packages/components/Decorates/Mores/Clock/config.d.ts +18 -0
  234. package/dist/packages/components/Decorates/Mores/Clock/index.d.ts +2 -0
  235. package/dist/packages/components/Decorates/Mores/CountDown/config.d.ts +35 -0
  236. package/dist/packages/components/Decorates/Mores/CountDown/index.d.ts +2 -0
  237. package/dist/packages/components/Decorates/Mores/FlipperNumber/config.d.ts +31 -0
  238. package/dist/packages/components/Decorates/Mores/FlipperNumber/index.d.ts +2 -0
  239. package/dist/packages/components/Decorates/Mores/FullScreen/config.d.ts +25 -0
  240. package/dist/packages/components/Decorates/Mores/FullScreen/index.d.ts +2 -0
  241. package/dist/packages/components/Decorates/Mores/Number/config.d.ts +32 -0
  242. package/dist/packages/components/Decorates/Mores/Number/index.d.ts +2 -0
  243. package/dist/packages/components/Decorates/Mores/PipelineH/config.d.ts +27 -0
  244. package/dist/packages/components/Decorates/Mores/PipelineH/index.d.ts +2 -0
  245. package/dist/packages/components/Decorates/Mores/PipelineV/config.d.ts +27 -0
  246. package/dist/packages/components/Decorates/Mores/PipelineV/index.d.ts +2 -0
  247. package/dist/packages/components/Decorates/Mores/TimeCommon/config.d.ts +47 -0
  248. package/dist/packages/components/Decorates/Mores/TimeCommon/index.d.ts +2 -0
  249. package/dist/packages/components/Decorates/Mores/index.d.ts +2 -0
  250. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/Utils/arc.d.ts +11 -0
  251. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/Utils/common.d.ts +34 -0
  252. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/interfaces/IEvents.d.ts +3 -0
  253. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/interfaces/IWord.d.ts +6 -0
  254. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Assets.d.ts +13 -0
  255. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Basic.d.ts +22 -0
  256. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Earth.d.ts +98 -0
  257. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Resources.d.ts +16 -0
  258. package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Word.d.ts +25 -0
  259. package/dist/packages/components/Decorates/Three/ThreeEarth01/config.d.ts +43 -0
  260. package/dist/packages/components/Decorates/Three/ThreeEarth01/data.json.d.ts +87 -0
  261. package/dist/packages/components/Decorates/Three/ThreeEarth01/index.d.ts +2 -0
  262. package/dist/packages/components/Decorates/Three/index.d.ts +2 -0
  263. package/dist/packages/components/Decorates/index.d.ts +15 -0
  264. package/dist/packages/components/Icons/Common/index.d.ts +21 -0
  265. package/dist/packages/components/Icons/Default/Icon/config.d.ts +27 -0
  266. package/dist/packages/components/Icons/Default/Icon/index.d.ts +2 -0
  267. package/dist/packages/components/Icons/MaterialLine/index.d.ts +21 -0
  268. package/dist/packages/components/Icons/Weather/index.d.ts +21 -0
  269. package/dist/packages/components/Icons/index.d.ts +13 -0
  270. package/dist/packages/components/Informations/Mores/CardCustom/config.d.ts +42 -0
  271. package/dist/packages/components/Informations/Mores/CardCustom/index.d.ts +2 -0
  272. package/dist/packages/components/Informations/Mores/Iframe/config.d.ts +23 -0
  273. package/dist/packages/components/Informations/Mores/Iframe/index.d.ts +2 -0
  274. package/dist/packages/components/Informations/Mores/Image/config.d.ts +16 -0
  275. package/dist/packages/components/Informations/Mores/Image/index.d.ts +2 -0
  276. package/dist/packages/components/Informations/Mores/ImageCarousel/config.d.ts +36 -0
  277. package/dist/packages/components/Informations/Mores/ImageCarousel/index.d.ts +2 -0
  278. package/dist/packages/components/Informations/Mores/MissingComponent/config.d.ts +20 -0
  279. package/dist/packages/components/Informations/Mores/MissingComponent/index.d.ts +2 -0
  280. package/dist/packages/components/Informations/Mores/Video/config.d.ts +20 -0
  281. package/dist/packages/components/Informations/Mores/Video/index.d.ts +2 -0
  282. package/dist/packages/components/Informations/Mores/index.d.ts +2 -0
  283. package/dist/packages/components/Informations/index.d.ts +1 -0
  284. package/dist/packages/components/Photos/Private/index.d.ts +23 -0
  285. package/dist/packages/components/Photos/Share/index.d.ts +21 -0
  286. package/dist/packages/components/Photos/index.d.ts +9 -0
  287. package/dist/packages/index.d.ts +252 -0
  288. package/dist/packages/public/chart.d.ts +8 -0
  289. package/dist/packages/public/index.d.ts +2 -0
  290. package/dist/packages/public/publicConfig.d.ts +80 -0
  291. package/dist/packages/registry.d.ts +34 -0
  292. package/dist/plugins/customComponents.d.ts +6 -0
  293. package/dist/plugins/directives.d.ts +6 -0
  294. package/dist/plugins/icon.d.ts +110 -0
  295. package/dist/plugins/index.d.ts +4 -0
  296. package/dist/plugins/initFunction.d.ts +4 -0
  297. package/dist/plugins/naive.d.ts +2 -0
  298. package/dist/pondIndex.vue_vue_type_style_index_0_scoped_3ac883be_lang-8afe2387.js +2371 -0
  299. package/dist/pondIndex.vue_vue_type_style_index_0_scoped_3ac883be_lang-8afe2387.js.map +1 -0
  300. package/dist/published/chartItemSetting.d.ts +1 -0
  301. package/dist/published/chartThemes.d.ts +1 -0
  302. package/dist/published/designSetting.d.ts +1 -0
  303. package/dist/published/eventEnums.d.ts +1 -0
  304. package/dist/published/hooks.d.ts +1 -0
  305. package/dist/published/informationTypes.d.ts +1 -0
  306. package/dist/published/plugins.d.ts +1 -0
  307. package/dist/published/public.d.ts +1 -0
  308. package/dist/published/scaleHook.d.ts +1 -0
  309. package/dist/published/store.d.ts +1 -0
  310. package/dist/published/types.d.ts +1 -0
  311. package/dist/published/utils.d.ts +1 -0
  312. package/dist/published/vchartAxisTheme.d.ts +2 -0
  313. package/dist/published/vchartThemes.d.ts +1 -0
  314. package/dist/runtime.d.ts +10 -0
  315. package/dist/settings/animations/index.d.ts +7 -0
  316. package/dist/settings/chartThemes/global.theme.json.d.ts +113 -0
  317. package/dist/settings/chartThemes/index.d.ts +194 -0
  318. package/dist/settings/chartThemes/themes/chalk.json.d.ts +15 -0
  319. package/dist/settings/chartThemes/themes/customed.json.d.ts +16 -0
  320. package/dist/settings/chartThemes/themes/dark.json.d.ts +16 -0
  321. package/dist/settings/chartThemes/themes/essos.json.d.ts +13 -0
  322. package/dist/settings/chartThemes/themes/macarons.json.d.ts +27 -0
  323. package/dist/settings/chartThemes/themes/purple-passion.json.d.ts +13 -0
  324. package/dist/settings/chartThemes/themes/roma.json.d.ts +27 -0
  325. package/dist/settings/chartThemes/themes/shine.json.d.ts +15 -0
  326. package/dist/settings/chartThemes/themes/vintage.json.d.ts +17 -0
  327. package/dist/settings/chartThemes/themes/walden.json.d.ts +13 -0
  328. package/dist/settings/chartThemes/themes/westeros.json.d.ts +13 -0
  329. package/dist/settings/chartThemes/themes/wonderland.json.d.ts +13 -0
  330. package/dist/settings/designColor.json.d.ts +3680 -0
  331. package/dist/settings/designColorRecommend.json.d.ts +33 -0
  332. package/dist/settings/designSetting.d.ts +32 -0
  333. package/dist/settings/pathConst.d.ts +3 -0
  334. package/dist/settings/systemSetting.d.ts +10 -0
  335. package/dist/settings/vchartThemes/index.d.ts +138 -0
  336. package/dist/store/index.d.ts +12 -0
  337. package/dist/store/modules/chartEditStore/chartEditStore.d.ts +213 -0
  338. package/dist/store/modules/chartHistoryStore/chartHistoryDefine.d.ts +20 -0
  339. package/dist/store/modules/chartHistoryStore/chartHistoryStore.d.ts +77 -0
  340. package/dist/store/modules/chartLayoutStore/chartLayoutStore.d.ts +36 -0
  341. package/dist/store/modules/designStore/designStore.d.ts +18 -0
  342. package/dist/store/modules/langStore/langStore.d.ts +5 -0
  343. package/dist/store/modules/packagesStore/packagesStore.d.ts +6 -0
  344. package/dist/store/modules/settingStore/settingStore.d.ts +31 -0
  345. package/dist/style.css +7 -0
  346. package/dist/types/global.d.ts +31 -0
  347. package/dist/types/shims-vue.d.ts +5 -0
  348. package/dist/useSyncUpdate.hook-f291c525.js +43 -0
  349. package/dist/useSyncUpdate.hook-f291c525.js.map +1 -0
  350. package/dist/useTargetData.hook-832cc980.js +13 -0
  351. package/dist/useTargetData.hook-832cc980.js.map +1 -0
  352. package/dist/utils/components.d.ts +12 -0
  353. package/dist/utils/crypto.d.ts +12 -0
  354. package/dist/utils/file.d.ts +19 -0
  355. package/dist/utils/index.d.ts +9 -0
  356. package/dist/utils/plugin.d.ts +29 -0
  357. package/dist/utils/router.d.ts +20 -0
  358. package/dist/utils/storage.d.ts +35 -0
  359. package/dist/utils/style.d.ts +141 -0
  360. package/dist/utils/type.d.ts +8 -0
  361. package/dist/utils/utils.d.ts +127 -0
  362. package/dist/views/chart/ContentBox/index.d.ts +2 -0
  363. package/dist/views/chart/ContentBox/index.vue.d.ts +87 -0
  364. package/dist/views/chart/ContentCharts/components/ChartsItemBox/index.d.ts +2 -0
  365. package/dist/views/chart/ContentCharts/components/ChartsItemBox/index.vue.d.ts +22 -0
  366. package/dist/views/chart/ContentCharts/components/ChartsOptionContent/index.d.ts +2 -0
  367. package/dist/views/chart/ContentCharts/components/ChartsOptionContent/index.vue.d.ts +14 -0
  368. package/dist/views/chart/ContentCharts/components/ChartsSearch/index.d.ts +2 -0
  369. package/dist/views/chart/ContentCharts/components/ChartsSearch/index.vue.d.ts +14 -0
  370. package/dist/views/chart/ContentCharts/hooks/useAside.hook.d.ts +17 -0
  371. package/dist/views/chart/ContentCharts/hooks/useLayout.hook.d.ts +5 -0
  372. package/dist/views/chart/ContentCharts/index.d.ts +2 -0
  373. package/dist/views/chart/ContentCharts/index.vue.d.ts +2 -0
  374. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/ChartThemeColor/index.vue.d.ts +2 -0
  375. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColor/index.vue.d.ts +14 -0
  376. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.d.ts +2 -0
  377. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.vue.d.ts +16 -0
  378. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/barOptions.d.ts +2 -0
  379. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.d.ts +2 -0
  380. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.vue.d.ts +16 -0
  381. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/lineOptions.d.ts +2 -0
  382. package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/VChartThemeColor/index.vue.d.ts +2 -0
  383. package/dist/views/chart/ContentConfigurations/components/CanvasPage/index.d.ts +2 -0
  384. package/dist/views/chart/ContentConfigurations/components/CanvasPage/index.vue.d.ts +2 -0
  385. package/dist/views/chart/ContentConfigurations/components/ChartAnimation/index.vue.d.ts +2 -0
  386. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataAjax/index.d.ts +2 -0
  387. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataAjax/index.vue.d.ts +2 -0
  388. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMatchingAndShow/index.d.ts +2 -0
  389. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMatchingAndShow/index.vue.d.ts +22 -0
  390. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMonacoEditor/index.d.ts +2 -0
  391. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMonacoEditor/index.vue.d.ts +2 -0
  392. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/displayTable.vue.d.ts +8 -0
  393. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/index.d.ts +2 -0
  394. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/index.vue.d.ts +10 -0
  395. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondControl/index.d.ts +2 -0
  396. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondControl/index.vue.d.ts +14 -0
  397. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondList/index.d.ts +2 -0
  398. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondList/index.vue.d.ts +8 -0
  399. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/index.d.ts +2 -0
  400. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/index.vue.d.ts +2 -0
  401. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalConfig/index.d.ts +2 -0
  402. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalConfig/index.vue.d.ts +2 -0
  403. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.d.ts +2 -0
  404. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.vue.d.ts +14 -0
  405. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeader/index.d.ts +2 -0
  406. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeader/index.vue.d.ts +8 -0
  407. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeaderTable/index.d.ts +2 -0
  408. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeaderTable/index.vue.d.ts +33 -0
  409. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestTargetConfig/index.d.ts +2 -0
  410. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestTargetConfig/index.vue.d.ts +8 -0
  411. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/index.d.ts +3 -0
  412. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/index.vue.d.ts +20 -0
  413. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue.d.ts +20 -0
  414. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataStatic/index.d.ts +2 -0
  415. package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataStatic/index.vue.d.ts +2 -0
  416. package/dist/views/chart/ContentConfigurations/components/ChartData/hooks/useFile.hooks.d.ts +9 -0
  417. package/dist/views/chart/ContentConfigurations/components/ChartData/index.d.ts +104 -0
  418. package/dist/views/chart/ContentConfigurations/components/ChartData/index.vue.d.ts +2 -0
  419. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/importTemplate.d.ts +4 -0
  420. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/index.d.ts +2 -0
  421. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/index.vue.d.ts +2 -0
  422. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventBaseHandle/index.d.ts +2 -0
  423. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventBaseHandle/index.vue.d.ts +2 -0
  424. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventInteraction/index.d.ts +2 -0
  425. package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventInteraction/index.vue.d.ts +2 -0
  426. package/dist/views/chart/ContentConfigurations/components/ChartEvent/index.vue.d.ts +2 -0
  427. package/dist/views/chart/ContentConfigurations/components/ChartSetting/index.vue.d.ts +2 -0
  428. package/dist/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.d.ts +56 -0
  429. package/dist/views/chart/ContentConfigurations/index.d.ts +2 -0
  430. package/dist/views/chart/ContentConfigurations/index.vue.d.ts +2 -0
  431. package/dist/views/chart/ContentEdit/components/EditAlignLine/index.d.ts +2 -0
  432. package/dist/views/chart/ContentEdit/components/EditAlignLine/index.vue.d.ts +2 -0
  433. package/dist/views/chart/ContentEdit/components/EditBottom/index.d.ts +2 -0
  434. package/dist/views/chart/ContentEdit/components/EditBottom/index.vue.d.ts +4 -0
  435. package/dist/views/chart/ContentEdit/components/EditGroup/index.d.ts +2 -0
  436. package/dist/views/chart/ContentEdit/components/EditGroup/index.vue.d.ts +22 -0
  437. package/dist/views/chart/ContentEdit/components/EditHistory/index.d.ts +2 -0
  438. package/dist/views/chart/ContentEdit/components/EditHistory/index.vue.d.ts +2 -0
  439. package/dist/views/chart/ContentEdit/components/EditRange/index.d.ts +2 -0
  440. package/dist/views/chart/ContentEdit/components/EditRange/index.vue.d.ts +9 -0
  441. package/dist/views/chart/ContentEdit/components/EditRule/index.d.ts +2 -0
  442. package/dist/views/chart/ContentEdit/components/EditRule/index.vue.d.ts +13 -0
  443. package/dist/views/chart/ContentEdit/components/EditSelect/index.d.ts +2 -0
  444. package/dist/views/chart/ContentEdit/components/EditSelect/index.vue.d.ts +2 -0
  445. package/dist/views/chart/ContentEdit/components/EditShapeBox/index.d.ts +2 -0
  446. package/dist/views/chart/ContentEdit/components/EditShapeBox/index.vue.d.ts +31 -0
  447. package/dist/views/chart/ContentEdit/components/EditShortcutKey/ShortcutKeyModal.vue.d.ts +12 -0
  448. package/dist/views/chart/ContentEdit/components/EditShortcutKey/index.d.ts +2 -0
  449. package/dist/views/chart/ContentEdit/components/EditShortcutKey/index.vue.d.ts +2 -0
  450. package/dist/views/chart/ContentEdit/components/EditTools/hooks/useFile.hooks.d.ts +8 -0
  451. package/dist/views/chart/ContentEdit/components/EditTools/hooks/useSyncUpdate.hook.d.ts +3 -0
  452. package/dist/views/chart/ContentEdit/components/EditTools/index.d.ts +12 -0
  453. package/dist/views/chart/ContentEdit/components/EditTools/index.vue.d.ts +2 -0
  454. package/dist/views/chart/ContentEdit/components/EditTools/utils/index.d.ts +1 -0
  455. package/dist/views/chart/ContentEdit/components/EditWatermark/index.d.ts +2 -0
  456. package/dist/views/chart/ContentEdit/components/EditWatermark/index.vue.d.ts +2 -0
  457. package/dist/views/chart/ContentEdit/hooks/useDrag.hook.d.ts +12 -0
  458. package/dist/views/chart/ContentEdit/hooks/useLayout.hook.d.ts +1 -0
  459. package/dist/views/chart/ContentEdit/hooks/useStyle.hook.d.ts +16 -0
  460. package/dist/views/chart/ContentEdit/index.d.ts +2 -0
  461. package/dist/views/chart/ContentEdit/index.vue.d.ts +2 -0
  462. package/dist/views/chart/ContentHeader/headerLeftBtn/index.d.ts +2 -0
  463. package/dist/views/chart/ContentHeader/headerLeftBtn/index.vue.d.ts +2 -0
  464. package/dist/views/chart/ContentHeader/headerRightBtn/index.d.ts +2 -0
  465. package/dist/views/chart/ContentHeader/headerRightBtn/index.vue.d.ts +4 -0
  466. package/dist/views/chart/ContentHeader/headerTitle/index.d.ts +2 -0
  467. package/dist/views/chart/ContentHeader/headerTitle/index.vue.d.ts +4 -0
  468. package/dist/views/chart/ContentLayers/components/LayersGroupListItem/index.d.ts +2 -0
  469. package/dist/views/chart/ContentLayers/components/LayersGroupListItem/index.vue.d.ts +25 -0
  470. package/dist/views/chart/ContentLayers/components/LayersListItem/index.d.ts +2 -0
  471. package/dist/views/chart/ContentLayers/components/LayersListItem/index.vue.d.ts +34 -0
  472. package/dist/views/chart/ContentLayers/components/LayersStatus/index.d.ts +2 -0
  473. package/dist/views/chart/ContentLayers/components/LayersStatus/index.vue.d.ts +40 -0
  474. package/dist/views/chart/ContentLayers/enums.d.ts +0 -0
  475. package/dist/views/chart/ContentLayers/index.d.ts +2 -0
  476. package/dist/views/chart/ContentLayers/index.vue.d.ts +2 -0
  477. package/dist/views/chart/ContentLoad/index.d.ts +2 -0
  478. package/dist/views/chart/ContentLoad/index.vue.d.ts +2 -0
  479. package/dist/views/chart/hooks/useContextMenu.hook.d.ts +10 -0
  480. package/dist/views/chart/hooks/useKeyboard.hook.d.ts +38 -0
  481. package/dist/views/chart/hooks/useScale.hook.d.ts +24 -0
  482. package/dist/views/chart/hooks/useSync.hook.d.ts +4 -0
  483. package/dist/views/chart/index.vue.d.ts +13 -0
  484. package/dist/views/preview/components/PreviewRenderGroup/index.d.ts +2 -0
  485. package/dist/views/preview/components/PreviewRenderGroup/index.vue.d.ts +38 -0
  486. package/dist/views/preview/components/PreviewRenderList/index.d.ts +2 -0
  487. package/dist/views/preview/components/PreviewRenderList/index.vue.d.ts +2 -0
  488. package/dist/views/preview/hooks/useComInstall.hook.d.ts +4 -0
  489. package/dist/views/preview/hooks/useScale.hook.d.ts +16 -0
  490. package/dist/views/preview/hooks/useStore.hook.d.ts +2 -0
  491. package/dist/views/preview/index.d.ts +4 -0
  492. package/dist/views/preview/suspenseIndex.vue.d.ts +5 -0
  493. package/dist/views/preview/utils/drag.d.ts +1 -0
  494. package/dist/views/preview/utils/index.d.ts +4 -0
  495. package/dist/views/preview/utils/keyboard.d.ts +1 -0
  496. package/dist/views/preview/utils/storage.d.ts +5 -0
  497. package/dist/views/preview/utils/style.d.ts +25 -0
  498. package/package.json +136 -0
@@ -0,0 +1,590 @@
1
+ import { defineComponent as ne, useCssVars as pe, ref as Q, reactive as Y, watch as ae, computed as Z, resolveComponent as p, openBlock as m, createElementBlock as C, createVNode as n, withCtx as c, createElementVNode as s, createTextVNode as $, Fragment as D, renderList as A, normalizeClass as ee, toDisplayString as oe, normalizeStyle as M, withDirectives as _e, withModifiers as me, unref as h, vShow as ve, createCommentVNode as te, nextTick as E, createBlock as N } from "vue";
2
+ import V from "lodash/cloneDeep";
3
+ import { n as fe } from "./noData-63b54dc3.js";
4
+ import { G as Ce, aT as ge, aU as he, aV as ke, p as ce, aW as xe, aX as be, _ as re, aR as se, m as ye, q as S, v as P } from "./index-237a6823.js";
5
+ import "crypto-js";
6
+ import "lodash/isObject";
7
+ import "vue3-lazyload";
8
+ import "vue3-sketch-ruler";
9
+ import "element-plus";
10
+ import "screenfull";
11
+ import "lodash/throttle";
12
+ import "html2canvas";
13
+ import "pinia";
14
+ import "vue-i18n";
15
+ import "vue-demi";
16
+ import "lodash/debounce";
17
+ import "lodash/merge";
18
+ import "lodash/pick";
19
+ import "highlight.js/lib/core";
20
+ import "highlight.js/lib/languages/json";
21
+ import "highlight.js/lib/languages/typescript";
22
+ import "axios";
23
+ import "lodash";
24
+ import "element-plus/es/locale/lang/zh-cn";
25
+ import "element-plus/es/locale/lang/en";
26
+ import "three";
27
+ import "three/examples/jsm/controls/OrbitControls";
28
+ import "gsap";
29
+ import "vue3-sketch-ruler/lib/style.css";
30
+ const Ie = {
31
+ key: 0,
32
+ class: "create-color-setting"
33
+ }, we = { class: "name-row name-row-top" }, Ee = { class: "input-group" }, Te = { class: "color-list-box go-mt-3" }, He = ["onClick"], $e = { class: "picker-index" }, Ve = { class: "color-value" }, Oe = { class: "delete-box" }, Re = { class: "expend-color-box" }, Se = { class: "color-space" }, De = ["onClick"], Ae = { class: "color-space" }, Me = ["onClick"], Ue = /* @__PURE__ */ ne({
34
+ __name: "index",
35
+ props: {
36
+ selectColor: Object
37
+ },
38
+ emits: ["updateColor"],
39
+ setup(z, { emit: F }) {
40
+ pe((l) => ({
41
+ "3dc0b401": r.color
42
+ }));
43
+ const U = z, w = F, { AddIcon: j, TrashIcon: q } = ce.ionicons5, G = Ce(() => import("./index-b2e0e39b.js")), a = Q(), r = Y({
44
+ // -1 表示无选中元素
45
+ index: -1,
46
+ color: ""
47
+ });
48
+ ae(
49
+ () => {
50
+ var l;
51
+ return (l = U.selectColor) == null ? void 0 : l.id;
52
+ },
53
+ () => {
54
+ var l;
55
+ a.value = V(U.selectColor), r.index = 0, r.color = (l = a.value) == null ? void 0 : l.color[0];
56
+ },
57
+ {
58
+ immediate: !0,
59
+ deep: !1
60
+ }
61
+ );
62
+ const T = Z(() => v(r.color)), v = (l) => {
63
+ if (!l)
64
+ return {
65
+ default: [],
66
+ fade: []
67
+ };
68
+ const e = 36, o = [], t = [], u = [];
69
+ for (let i = 0; i < e; i++)
70
+ t.unshift(ge(l, 1 / 100 * (i + 1))), o.push(he(l, 3.5 / 100 * (i + 1)));
71
+ return o.forEach((i, b) => {
72
+ u.unshift(ke(i, 1 / 100 * (b + 1)));
73
+ }), {
74
+ default: [
75
+ ...t.reverse().splice(0, parseInt(`${e / 2}`) - 9),
76
+ ...o.splice(0, parseInt(`${e / 2}`))
77
+ ],
78
+ fade: u.reverse().splice(0, 27)
79
+ };
80
+ }, d = (l) => ({
81
+ backgroundColor: l
82
+ }), f = (l) => ({
83
+ color: k(l)
84
+ }), k = (l) => {
85
+ if (!l || l[0] !== "#")
86
+ return "#ffffff";
87
+ const e = l.slice(1);
88
+ let o = 255, t = 255, u = 255;
89
+ return (e.length === 3 || e.length === 4) && (o = parseInt(e[0] + e[0], 16), t = parseInt(e[1] + e[1], 16), u = parseInt(e[2] + e[2], 16)), (e.length === 6 || e.length === 8) && (o = parseInt(e.slice(0, 2), 16), t = parseInt(e.slice(2, 4), 16), u = parseInt(e.slice(4, 6), 16)), (o * 299 + t * 587 + u * 114) / 1e3 > 160 ? "#111827" : "#ffffff";
90
+ }, W = (l, e) => {
91
+ r.color = l, r.index = e;
92
+ }, H = (l, e) => {
93
+ l && (r.color = l), e !== void 0 && (r.index = e), E(() => {
94
+ w("updateColor", a.value);
95
+ });
96
+ }, O = (l, e) => {
97
+ const o = e ? xe(l) : be(l);
98
+ a.value && (a.value.color[r.index] = o), r.color = o, E(() => {
99
+ w("updateColor", a.value);
100
+ });
101
+ }, X = () => {
102
+ var o, t, u, i, b;
103
+ const l = ((t = a.value) == null ? void 0 : t.color[((o = a.value) == null ? void 0 : o.color.length) - 1]) || "#2c2c31";
104
+ (u = a.value) == null || u.color.push(l);
105
+ const e = (((i = a.value) == null ? void 0 : i.color.length) || 1) - 1;
106
+ r.index = e, r.color = (b = a.value) == null ? void 0 : b.color[e], E(() => {
107
+ w("updateColor", a.value);
108
+ });
109
+ }, J = (l) => {
110
+ var e, o;
111
+ if ((e = a.value) == null || e.color.splice(l, 1), !!((o = a.value) != null && o.color.length)) {
112
+ if (l === r.index || r.index >= a.value.color.length) {
113
+ const t = Math.max(0, l - 1);
114
+ H(a.value.color[t], t);
115
+ return;
116
+ }
117
+ E(() => {
118
+ w("updateColor", a.value);
119
+ });
120
+ }
121
+ }, L = () => {
122
+ E(() => {
123
+ w("updateColor", a.value);
124
+ });
125
+ };
126
+ return (l, e) => {
127
+ const o = p("el-input"), t = p("el-tag"), u = p("el-color-picker"), i = p("el-icon"), b = p("el-tooltip"), R = p("el-scrollbar"), y = p("el-card"), B = p("el-divider");
128
+ return a.value ? (m(), C("div", Ie, [
129
+ n(y, {
130
+ class: "panel-card",
131
+ shadow: "never",
132
+ role: "dialog",
133
+ "aria-modal": "true"
134
+ }, {
135
+ default: c(() => [
136
+ s("div", we, [
137
+ s("div", Ee, [
138
+ e[1] || (e[1] = s("span", { class: "input-group-label" }, "名称", -1)),
139
+ n(o, {
140
+ class: "create-color-name",
141
+ modelValue: a.value.name,
142
+ "onUpdate:modelValue": e[0] || (e[0] = (g) => a.value.name = g),
143
+ modelModifiers: { trim: !0 },
144
+ maxlength: "8",
145
+ "show-word-limit": "",
146
+ clearable: "",
147
+ onChange: L
148
+ }, null, 8, ["modelValue"])
149
+ ]),
150
+ n(t, {
151
+ effect: "dark",
152
+ type: "warning",
153
+ round: ""
154
+ }, {
155
+ default: c(() => e[2] || (e[2] = [
156
+ $("底部图表仅展示 7 条数据")
157
+ ])),
158
+ _: 1,
159
+ __: [2]
160
+ })
161
+ ]),
162
+ e[4] || (e[4] = s("div", { class: "section-title" }, "主题颜色", -1)),
163
+ n(R, { "max-height": "240px" }, {
164
+ default: c(() => [
165
+ s("div", Te, [
166
+ (m(!0), C(D, null, A(a.value.color, (g, _) => (m(), C("div", {
167
+ class: "color-list-item",
168
+ key: _
169
+ }, [
170
+ s("div", {
171
+ class: ee(["picker-box", { select: _ === r.index }]),
172
+ onClick: (x) => W(g, _)
173
+ }, [
174
+ s("div", $e, "#" + oe(_ + 1), 1),
175
+ n(u, {
176
+ modelValue: a.value.color[_],
177
+ "onUpdate:modelValue": (x) => a.value.color[_] = x,
178
+ "show-alpha": "",
179
+ "color-format": "hex",
180
+ teleported: !0,
181
+ "popper-class": "create-color-picker-popper",
182
+ onChange: (x) => H(x, _)
183
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
184
+ s("div", {
185
+ class: "color-meta",
186
+ style: M(f(a.value.color[_]))
187
+ }, [
188
+ s("span", Ve, oe(a.value.color[_]), 1)
189
+ ], 4)
190
+ ], 10, He),
191
+ _e(s("div", Oe, [
192
+ n(b, {
193
+ content: "删除颜色",
194
+ placement: "top"
195
+ }, {
196
+ default: c(() => [
197
+ n(i, {
198
+ class: "delete-icon",
199
+ size: 16,
200
+ onClick: me((x) => J(_), ["stop"])
201
+ }, {
202
+ default: c(() => [
203
+ n(h(q))
204
+ ]),
205
+ _: 2
206
+ }, 1032, ["onClick"])
207
+ ]),
208
+ _: 2
209
+ }, 1024)
210
+ ], 512), [
211
+ [ve, _ > 5]
212
+ ])
213
+ ]))), 128)),
214
+ s("button", {
215
+ class: "add-color-card",
216
+ type: "button",
217
+ onClick: X
218
+ }, [
219
+ n(i, { size: 18 }, {
220
+ default: c(() => [
221
+ n(h(j))
222
+ ]),
223
+ _: 1
224
+ }),
225
+ e[3] || (e[3] = s("span", null, "添加颜色", -1))
226
+ ])
227
+ ])
228
+ ]),
229
+ _: 1
230
+ })
231
+ ]),
232
+ _: 1,
233
+ __: [4]
234
+ }),
235
+ s("div", Re, [
236
+ n(y, {
237
+ class: "panel-card go-mt-3 expend-color",
238
+ shadow: "never",
239
+ role: "dialog",
240
+ "aria-modal": "true"
241
+ }, {
242
+ default: c(() => [
243
+ e[6] || (e[6] = s("div", { class: "expand-header" }, [
244
+ s("div", { class: "section-title no-margin" }, "默认扩展色")
245
+ ], -1)),
246
+ n(B),
247
+ s("div", Se, [
248
+ (m(!0), C(D, null, A(T.value.default, (g, _) => (m(), C("div", {
249
+ class: "color-computed-item",
250
+ key: _,
251
+ onClick: (x) => O(g, !1)
252
+ }, [
253
+ e[5] || (e[5] = s("div", { class: "color-picker-checkboard" }, null, -1)),
254
+ s("div", {
255
+ style: M(d(g))
256
+ }, null, 4)
257
+ ], 8, De))), 128))
258
+ ])
259
+ ]),
260
+ _: 1,
261
+ __: [6]
262
+ }),
263
+ n(y, {
264
+ class: "panel-card go-mt-3 expend-color",
265
+ shadow: "never",
266
+ role: "dialog",
267
+ "aria-modal": "true"
268
+ }, {
269
+ default: c(() => [
270
+ e[8] || (e[8] = s("div", { class: "expand-header" }, [
271
+ s("div", { class: "section-title no-margin" }, "透明扩展色")
272
+ ], -1)),
273
+ n(B),
274
+ s("div", Ae, [
275
+ (m(!0), C(D, null, A(T.value.fade, (g, _) => (m(), C("div", {
276
+ class: "color-computed-item",
277
+ key: _,
278
+ onClick: (x) => O(g, !0)
279
+ }, [
280
+ e[7] || (e[7] = s("div", { class: "color-picker-checkboard" }, null, -1)),
281
+ s("div", {
282
+ style: M(d(g))
283
+ }, null, 4)
284
+ ], 8, Me))), 128))
285
+ ])
286
+ ]),
287
+ _: 1,
288
+ __: [8]
289
+ })
290
+ ]),
291
+ n(h(G), {
292
+ class: "chart-preview",
293
+ color: h(V)(a.value.color).splice(0, 7)
294
+ }, null, 8, ["color"])
295
+ ])) : te("", !0);
296
+ };
297
+ }
298
+ });
299
+ const Le = /* @__PURE__ */ re(Ue, [["__scopeId", "data-v-e786c20a"]]), Be = { class: "create-content" }, Ne = { class: "create-color-setting-box" }, Pe = {
300
+ key: 1,
301
+ class: "no-data go-flex-center"
302
+ }, ze = ["src"], Fe = { class: "color-list-box" }, je = { class: "color-list" }, qe = { class: "button-space" }, Ge = { class: "go-flex-items-center" }, We = { class: "dialog-footer" }, Xe = /* @__PURE__ */ ne({
303
+ __name: "index",
304
+ props: {
305
+ modelShow: Boolean
306
+ },
307
+ emits: ["update:modelShow", "editSaveHandle"],
308
+ setup(z, { emit: F }) {
309
+ const U = z, w = F, { DuplicateOutlineIcon: j, TrashIcon: q, ArrowDownIcon: G } = ce.ionicons5, a = {
310
+ id: se(),
311
+ name: "未命名",
312
+ color: ["#6ae5bb", "#69e3de", "#5ac5ee", "#5ac4ee", "#4498ec", "#3c7ddf"]
313
+ }, r = ye(), T = Q(!1);
314
+ let v = Y(r.getEditCanvasConfig.chartCustomThemeColorInfo || []);
315
+ const d = Q(void 0), f = Y({
316
+ selectInfo: v[0]
317
+ });
318
+ ae(
319
+ () => U.modelShow,
320
+ (o) => {
321
+ T.value = o, o && v.length && (f.selectInfo = v[0]);
322
+ }
323
+ );
324
+ const k = Z(() => {
325
+ var o;
326
+ return (o = f == null ? void 0 : f.selectInfo) == null ? void 0 : o.id;
327
+ }), W = Z(() => r.getEditCanvasConfig.chartThemeColor), H = (o) => {
328
+ o.id !== k.value && (d.value !== void 0 ? S({
329
+ message: "当前有变动未保存,是否直接放弃修改?",
330
+ onPositiveCallback: () => {
331
+ d.value = void 0, f.selectInfo = o;
332
+ }
333
+ }) : f.selectInfo = o);
334
+ }, O = () => {
335
+ const o = () => {
336
+ const t = { ...V(a), id: se() };
337
+ f.selectInfo = t, v.push(t), H(t), d.value = t, L(!1);
338
+ };
339
+ d.value !== void 0 ? S({
340
+ message: "当前有变动未保存,是否直接放弃修改?",
341
+ onPositiveCallback: () => {
342
+ d.value = void 0, o();
343
+ }
344
+ }) : o();
345
+ }, X = (o) => {
346
+ const t = () => {
347
+ v.splice(o, 1), r.setEditCanvasConfig(P.CHART_CUSTOM_THEME_COLOR_INFO, V(v)), E(() => {
348
+ v.length ? H(v[o - 1 > -1 ? o - 1 : o]) : f.selectInfo = void 0;
349
+ });
350
+ };
351
+ d.value !== void 0 ? S({
352
+ message: "当前有变动未保存,是否直接放弃修改?",
353
+ onPositiveCallback: () => {
354
+ d.value = void 0, t();
355
+ }
356
+ }) : S({
357
+ message: "是否删除此颜色?",
358
+ onPositiveCallback: () => {
359
+ t();
360
+ }
361
+ });
362
+ }, J = (o) => {
363
+ d.value = o;
364
+ }, L = (o = !0) => {
365
+ if (!d.value)
366
+ return;
367
+ const t = v.findIndex((u) => {
368
+ var i;
369
+ return u.id === ((i = d.value) == null ? void 0 : i.id);
370
+ });
371
+ if (t !== -1) {
372
+ o && window.$message.success("数据应用成功!");
373
+ const u = V({ ...d.value, name: d.value.name || "未定义" });
374
+ v.splice(t, 1, u), d.value = void 0;
375
+ const i = r.getEditCanvasConfig.chartThemeColor;
376
+ r.setEditCanvasConfig(P.CHART_THEME_COLOR, "dark"), E(() => {
377
+ r.setEditCanvasConfig(P.CHART_CUSTOM_THEME_COLOR_INFO, V(v)), r.setEditCanvasConfig(P.CHART_THEME_COLOR, i);
378
+ });
379
+ } else
380
+ window.$message.error("数据应用失败!");
381
+ }, l = () => {
382
+ const o = () => {
383
+ d.value = void 0, f.selectInfo = void 0, w("update:modelShow", !1);
384
+ };
385
+ d.value !== void 0 ? S({
386
+ message: "当前有变动未保存,是否直接放弃修改?",
387
+ onPositiveCallback: () => {
388
+ o();
389
+ }
390
+ }) : o();
391
+ }, e = (o) => `linear-gradient(to right, ${o.color[0]} 0%, ${o.color[5]} 100%)`;
392
+ return (o, t) => {
393
+ const u = p("el-text"), i = p("el-timeline-item"), b = p("el-timeline"), R = p("el-icon"), y = p("el-button"), B = p("el-badge"), g = p("el-divider"), _ = p("el-link"), x = p("el-card"), ie = p("el-tooltip"), de = p("el-dialog");
394
+ return m(), N(de, {
395
+ class: "go-chart-create-color",
396
+ modelValue: T.value,
397
+ "onUpdate:modelValue": t[0] || (t[0] = (I) => T.value = I),
398
+ "close-on-click-modal": !1,
399
+ "close-on-press-escape": !1,
400
+ width: "900px",
401
+ "show-close": !1,
402
+ top: "6vh"
403
+ }, {
404
+ footer: c(() => [
405
+ s("div", We, [
406
+ n(y, { onClick: l }, {
407
+ default: c(() => t[6] || (t[6] = [
408
+ $("操作完成")
409
+ ])),
410
+ _: 1,
411
+ __: [6]
412
+ })
413
+ ])
414
+ ]),
415
+ default: c(() => [
416
+ s("div", Be, [
417
+ s("div", Ne, [
418
+ k.value ? (m(), N(h(Le), {
419
+ key: 0,
420
+ selectColor: f.selectInfo,
421
+ onUpdateColor: J
422
+ }, null, 8, ["selectColor"])) : (m(), C("div", Pe, [
423
+ s("img", {
424
+ src: h(fe),
425
+ alt: "暂无数据"
426
+ }, null, 8, ze),
427
+ n(u, { type: "info" }, {
428
+ default: c(() => t[1] || (t[1] = [
429
+ $("暂未选择自定义颜色")
430
+ ])),
431
+ _: 1,
432
+ __: [1]
433
+ })
434
+ ]))
435
+ ]),
436
+ s("div", Fe, [
437
+ n(b, {
438
+ class: "pond-item-timeline",
439
+ style: { width: "20px" }
440
+ }, {
441
+ default: c(() => [
442
+ n(i, { type: "primary" }),
443
+ n(i, { type: "success" })
444
+ ]),
445
+ _: 1
446
+ }),
447
+ s("div", je, [
448
+ s("div", qe, [
449
+ n(y, {
450
+ class: ee(["create-btn", { "is-full": !k.value }]),
451
+ type: "primary",
452
+ plain: !!k.value,
453
+ onClick: O
454
+ }, {
455
+ default: c(() => [
456
+ n(R, null, {
457
+ default: c(() => [
458
+ n(h(j))
459
+ ]),
460
+ _: 1
461
+ }),
462
+ t[2] || (t[2] = s("span", null, " 创建 ", -1))
463
+ ]),
464
+ _: 1,
465
+ __: [2]
466
+ }, 8, ["class", "plain"]),
467
+ k.value ? (m(), N(B, {
468
+ key: 0,
469
+ "is-dot": d.value !== void 0,
470
+ hidden: d.value === void 0
471
+ }, {
472
+ default: c(() => [
473
+ n(y, {
474
+ class: "create-btn",
475
+ type: "info",
476
+ plain: "",
477
+ onClick: L
478
+ }, {
479
+ default: c(() => [
480
+ n(R, null, {
481
+ default: c(() => [
482
+ n(h(G))
483
+ ]),
484
+ _: 1
485
+ }),
486
+ t[3] || (t[3] = s("span", null, " 应用数据 ", -1))
487
+ ]),
488
+ _: 1,
489
+ __: [3]
490
+ })
491
+ ]),
492
+ _: 1
493
+ }, 8, ["is-dot", "hidden"])) : te("", !0)
494
+ ]),
495
+ n(g, { style: { margin: "10px 0" } }),
496
+ k.value ? te("", !0) : (m(), N(u, {
497
+ key: 0,
498
+ class: "not-data-text",
499
+ type: "info"
500
+ }, {
501
+ default: c(() => [
502
+ t[5] || (t[5] = $(" 暂无自定义颜色, ")),
503
+ n(_, {
504
+ type: "primary",
505
+ onClick: O
506
+ }, {
507
+ default: c(() => t[4] || (t[4] = [
508
+ $("立即创建")
509
+ ])),
510
+ _: 1,
511
+ __: [4]
512
+ })
513
+ ]),
514
+ _: 1,
515
+ __: [5]
516
+ })),
517
+ (m(!0), C(D, null, A(h(v), (I, le) => (m(), C("div", {
518
+ class: "color-card-box",
519
+ key: le
520
+ }, [
521
+ n(x, {
522
+ class: ee(["color-card", { selected: I.id === k.value }]),
523
+ shadow: "hover",
524
+ onClick: (K) => H(I)
525
+ }, {
526
+ default: c(() => [
527
+ s("div", Ge, [
528
+ n(u, {
529
+ class: "color-name",
530
+ truncated: ""
531
+ }, {
532
+ default: c(() => [
533
+ $(oe(I.name), 1)
534
+ ]),
535
+ _: 2
536
+ }, 1024),
537
+ (m(!0), C(D, null, A(I.color, (K, ue) => (m(), C("span", {
538
+ class: "theme-color-item",
539
+ key: ue,
540
+ style: M({ backgroundColor: K })
541
+ }, null, 4))), 128))
542
+ ]),
543
+ s("div", {
544
+ class: "theme-bottom",
545
+ style: M({ backgroundImage: e(I) })
546
+ }, null, 4)
547
+ ]),
548
+ _: 2
549
+ }, 1032, ["class", "onClick"]),
550
+ n(ie, {
551
+ content: "删除自定义颜色",
552
+ placement: "top"
553
+ }, {
554
+ default: c(() => [
555
+ n(y, {
556
+ text: "",
557
+ disabled: I.id === W.value,
558
+ onClick: (K) => X(le)
559
+ }, {
560
+ default: c(() => [
561
+ n(R, {
562
+ class: "go-ml-1 go-cursor-pointer",
563
+ size: 16
564
+ }, {
565
+ default: c(() => [
566
+ n(h(q))
567
+ ]),
568
+ _: 1
569
+ })
570
+ ]),
571
+ _: 2
572
+ }, 1032, ["disabled", "onClick"])
573
+ ]),
574
+ _: 2
575
+ }, 1024)
576
+ ]))), 128))
577
+ ])
578
+ ])
579
+ ])
580
+ ]),
581
+ _: 1
582
+ }, 8, ["modelValue"]);
583
+ };
584
+ }
585
+ });
586
+ const wo = /* @__PURE__ */ re(Xe, [["__scopeId", "data-v-ec07eabb"]]);
587
+ export {
588
+ wo as default
589
+ };
590
+ //# sourceMappingURL=index-66f7ab2a.js.map