@delon/chart 12.4.0 → 13.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/bar/bar.component.d.ts +4 -1
  2. package/bar/bar.d.ts +1 -0
  3. package/bar/bar.module.d.ts +8 -0
  4. package/bar/package.json +5 -6
  5. package/card/card.component.d.ts +7 -4
  6. package/card/card.d.ts +1 -0
  7. package/card/card.module.d.ts +9 -0
  8. package/card/package.json +5 -6
  9. package/card/style/index.less +11 -0
  10. package/chart-echarts/delon-chart-chart-echarts.d.ts +1 -0
  11. package/chart-echarts/echarts.component.d.ts +3 -0
  12. package/chart-echarts/echarts.module.d.ts +7 -0
  13. package/chart-echarts/echarts.service.d.ts +3 -0
  14. package/chart-echarts/package.json +5 -6
  15. package/chart.d.ts +1 -0
  16. package/core/delon-chart-core.d.ts +1 -0
  17. package/core/g2.base.component.d.ts +4 -1
  18. package/core/g2.servicce.d.ts +3 -0
  19. package/core/package.json +5 -6
  20. package/custom/custom.component.d.ts +4 -1
  21. package/custom/custom.module.d.ts +7 -0
  22. package/custom/delon-chart-custom.d.ts +5 -0
  23. package/custom/package.json +6 -7
  24. package/esm2020/bar/bar.component.mjs +143 -0
  25. package/{esm2015/bar/bar.js → esm2020/bar/bar.mjs} +0 -0
  26. package/esm2020/bar/bar.module.mjs +21 -0
  27. package/{esm2015/bar/public_api.js → esm2020/bar/public_api.mjs} +0 -0
  28. package/esm2020/card/card.component.mjs +55 -0
  29. package/{esm2015/card/card.js → esm2020/card/card.mjs} +0 -0
  30. package/esm2020/card/card.module.mjs +22 -0
  31. package/{esm2015/card/public_api.js → esm2020/card/public_api.mjs} +0 -0
  32. package/{esm2015/chart-echarts/delon-chart-chart-echarts.js → esm2020/chart-echarts/delon-chart-chart-echarts.mjs} +0 -0
  33. package/esm2020/chart-echarts/echarts.component.mjs +162 -0
  34. package/esm2020/chart-echarts/echarts.module.mjs +20 -0
  35. package/esm2020/chart-echarts/echarts.service.mjs +60 -0
  36. package/{esm2015/chart-echarts/echarts.types.js → esm2020/chart-echarts/echarts.types.mjs} +0 -0
  37. package/{esm2015/chart-echarts/public_api.js → esm2020/chart-echarts/public_api.mjs} +0 -0
  38. package/{esm2015/chart.js → esm2020/chart.mjs} +0 -0
  39. package/{esm2015/core/delon-chart-core.js → esm2020/core/delon-chart-core.mjs} +0 -0
  40. package/esm2020/core/g2.base.component.mjs +109 -0
  41. package/esm2020/core/g2.servicce.mjs +54 -0
  42. package/{esm2015/core/public_api.js → esm2020/core/public_api.mjs} +0 -0
  43. package/{esm2015/core/types/interaction.js → esm2020/core/types/interaction.mjs} +0 -0
  44. package/{esm2015/core/types/time.js → esm2020/core/types/time.mjs} +0 -0
  45. package/esm2020/core/utils.mjs +21 -0
  46. package/esm2020/custom/custom.component.mjs +70 -0
  47. package/esm2020/custom/custom.module.mjs +20 -0
  48. package/esm2020/custom/delon-chart-custom.mjs +5 -0
  49. package/{esm2015/custom/public_api.js → esm2020/custom/public_api.mjs} +0 -0
  50. package/{esm2015/mini-progress/mini-progress.js → esm2020/gauge/delon-chart-gauge.mjs} +1 -1
  51. package/esm2020/gauge/gauge.component.mjs +169 -0
  52. package/esm2020/gauge/gauge.module.mjs +20 -0
  53. package/{esm2015/gauge/public_api.js → esm2020/gauge/public_api.mjs} +0 -0
  54. package/esm2020/mini-area/delon-chart-mini-area.mjs +5 -0
  55. package/esm2020/mini-area/mini-area.component.mjs +133 -0
  56. package/esm2020/mini-area/mini-area.module.mjs +19 -0
  57. package/{esm2015/mini-area/public_api.js → esm2020/mini-area/public_api.mjs} +0 -0
  58. package/esm2020/mini-bar/delon-chart-mini-bar.mjs +5 -0
  59. package/esm2020/mini-bar/mini-bar.component.mjs +100 -0
  60. package/esm2020/mini-bar/mini-bar.module.mjs +19 -0
  61. package/{esm2015/mini-bar/public_api.js → esm2020/mini-bar/public_api.mjs} +0 -0
  62. package/{esm2015/gauge/gauge.js → esm2020/mini-progress/delon-chart-mini-progress.mjs} +1 -1
  63. package/esm2020/mini-progress/mini-progress.component.mjs +46 -0
  64. package/esm2020/mini-progress/mini-progress.module.mjs +21 -0
  65. package/{esm2015/mini-progress/public_api.js → esm2020/mini-progress/public_api.mjs} +0 -0
  66. package/{esm2015/pie/pie.js → esm2020/number-info/delon-chart-number-info.mjs} +1 -1
  67. package/esm2020/number-info/number-info.component.mjs +45 -0
  68. package/esm2020/number-info/number-info.module.mjs +21 -0
  69. package/{esm2015/number-info/public_api.js → esm2020/number-info/public_api.mjs} +0 -0
  70. package/{esm2015/number-info/number-info.js → esm2020/pie/delon-chart-pie.mjs} +1 -1
  71. package/esm2020/pie/pie.component.mjs +215 -0
  72. package/esm2020/pie/pie.module.mjs +22 -0
  73. package/{esm2015/pie/public_api.js → esm2020/pie/public_api.mjs} +0 -0
  74. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  75. package/esm2020/radar/delon-chart-radar.mjs +5 -0
  76. package/{esm2015/radar/public_api.js → esm2020/radar/public_api.mjs} +0 -0
  77. package/esm2020/radar/radar.component.mjs +148 -0
  78. package/esm2020/radar/radar.module.mjs +22 -0
  79. package/esm2020/single-bar/delon-chart-single-bar.mjs +5 -0
  80. package/{esm2015/single-bar/public_api.js → esm2020/single-bar/public_api.mjs} +0 -0
  81. package/esm2020/single-bar/single-bar.component.mjs +126 -0
  82. package/esm2020/single-bar/single-bar.module.mjs +19 -0
  83. package/esm2020/tag-cloud/delon-chart-tag-cloud.mjs +5 -0
  84. package/{esm2015/tag-cloud/public_api.js → esm2020/tag-cloud/public_api.mjs} +0 -0
  85. package/esm2020/tag-cloud/tag-cloud.component.mjs +161 -0
  86. package/esm2020/tag-cloud/tag-cloud.module.mjs +20 -0
  87. package/esm2020/timeline/delon-chart-timeline.mjs +5 -0
  88. package/{esm2015/timeline/public_api.js → esm2020/timeline/public_api.mjs} +0 -0
  89. package/esm2020/timeline/timeline.component.mjs +204 -0
  90. package/esm2020/timeline/timeline.module.mjs +21 -0
  91. package/esm2020/trend/delon-chart-trend.mjs +5 -0
  92. package/{esm2015/trend/public_api.js → esm2020/trend/public_api.mjs} +0 -0
  93. package/esm2020/trend/trend.component.mjs +52 -0
  94. package/esm2020/trend/trend.module.mjs +20 -0
  95. package/esm2020/water-wave/delon-chart-water-wave.mjs +5 -0
  96. package/{esm2015/water-wave/public_api.js → esm2020/water-wave/public_api.mjs} +0 -0
  97. package/esm2020/water-wave/water-wave.component.mjs +221 -0
  98. package/esm2020/water-wave/water-wave.module.mjs +20 -0
  99. package/fesm2015/{bar.js → bar.mjs} +57 -34
  100. package/fesm2015/bar.mjs.map +1 -0
  101. package/fesm2015/card.mjs +81 -0
  102. package/fesm2015/card.mjs.map +1 -0
  103. package/fesm2015/{chart.js → chart.mjs} +1 -1
  104. package/fesm2015/chart.mjs.map +1 -0
  105. package/fesm2015/{delon-chart-chart-echarts.js → delon-chart-chart-echarts.mjs} +62 -53
  106. package/fesm2015/delon-chart-chart-echarts.mjs.map +1 -0
  107. package/fesm2015/{delon-chart-core.js → delon-chart-core.mjs} +23 -29
  108. package/fesm2015/delon-chart-core.mjs.map +1 -0
  109. package/fesm2015/delon-chart-custom.mjs +94 -0
  110. package/fesm2015/delon-chart-custom.mjs.map +1 -0
  111. package/fesm2015/{gauge.js → delon-chart-gauge.mjs} +46 -31
  112. package/fesm2015/delon-chart-gauge.mjs.map +1 -0
  113. package/fesm2015/delon-chart-mini-area.mjs +156 -0
  114. package/fesm2015/delon-chart-mini-area.mjs.map +1 -0
  115. package/fesm2015/delon-chart-mini-bar.mjs +123 -0
  116. package/fesm2015/delon-chart-mini-bar.mjs.map +1 -0
  117. package/fesm2015/delon-chart-mini-progress.mjs +71 -0
  118. package/fesm2015/delon-chart-mini-progress.mjs.map +1 -0
  119. package/fesm2015/delon-chart-number-info.mjs +70 -0
  120. package/fesm2015/delon-chart-number-info.mjs.map +1 -0
  121. package/fesm2015/delon-chart-pie.mjs +241 -0
  122. package/fesm2015/delon-chart-pie.mjs.map +1 -0
  123. package/fesm2015/{radar.js → delon-chart-radar.mjs} +43 -33
  124. package/fesm2015/delon-chart-radar.mjs.map +1 -0
  125. package/fesm2015/delon-chart-single-bar.mjs +147 -0
  126. package/fesm2015/delon-chart-single-bar.mjs.map +1 -0
  127. package/fesm2015/{tag-cloud.js → delon-chart-tag-cloud.mjs} +39 -26
  128. package/fesm2015/delon-chart-tag-cloud.mjs.map +1 -0
  129. package/fesm2015/{timeline.js → delon-chart-timeline.mjs} +64 -36
  130. package/fesm2015/delon-chart-timeline.mjs.map +1 -0
  131. package/fesm2015/delon-chart-trend.mjs +76 -0
  132. package/fesm2015/delon-chart-trend.mjs.map +1 -0
  133. package/fesm2015/{water-wave.js → delon-chart-water-wave.mjs} +38 -37
  134. package/fesm2015/delon-chart-water-wave.mjs.map +1 -0
  135. package/fesm2020/bar.mjs +168 -0
  136. package/fesm2020/bar.mjs.map +1 -0
  137. package/fesm2020/card.mjs +81 -0
  138. package/fesm2020/card.mjs.map +1 -0
  139. package/fesm2020/chart.mjs +7 -0
  140. package/fesm2020/chart.mjs.map +1 -0
  141. package/fesm2020/delon-chart-chart-echarts.mjs +242 -0
  142. package/fesm2020/delon-chart-chart-echarts.mjs.map +1 -0
  143. package/fesm2020/delon-chart-core.mjs +187 -0
  144. package/fesm2020/delon-chart-core.mjs.map +1 -0
  145. package/fesm2020/delon-chart-custom.mjs +94 -0
  146. package/fesm2020/delon-chart-custom.mjs.map +1 -0
  147. package/fesm2020/delon-chart-gauge.mjs +193 -0
  148. package/fesm2020/delon-chart-gauge.mjs.map +1 -0
  149. package/fesm2020/delon-chart-mini-area.mjs +156 -0
  150. package/fesm2020/delon-chart-mini-area.mjs.map +1 -0
  151. package/fesm2020/delon-chart-mini-bar.mjs +123 -0
  152. package/fesm2020/delon-chart-mini-bar.mjs.map +1 -0
  153. package/fesm2020/delon-chart-mini-progress.mjs +71 -0
  154. package/fesm2020/delon-chart-mini-progress.mjs.map +1 -0
  155. package/fesm2020/delon-chart-number-info.mjs +70 -0
  156. package/fesm2020/delon-chart-number-info.mjs.map +1 -0
  157. package/fesm2020/delon-chart-pie.mjs +241 -0
  158. package/fesm2020/delon-chart-pie.mjs.map +1 -0
  159. package/fesm2020/delon-chart-radar.mjs +174 -0
  160. package/fesm2020/delon-chart-radar.mjs.map +1 -0
  161. package/fesm2020/delon-chart-single-bar.mjs +149 -0
  162. package/fesm2020/delon-chart-single-bar.mjs.map +1 -0
  163. package/fesm2020/delon-chart-tag-cloud.mjs +185 -0
  164. package/fesm2020/delon-chart-tag-cloud.mjs.map +1 -0
  165. package/fesm2020/delon-chart-timeline.mjs +229 -0
  166. package/fesm2020/delon-chart-timeline.mjs.map +1 -0
  167. package/fesm2020/delon-chart-trend.mjs +76 -0
  168. package/fesm2020/delon-chart-trend.mjs.map +1 -0
  169. package/fesm2020/delon-chart-water-wave.mjs +245 -0
  170. package/fesm2020/delon-chart-water-wave.mjs.map +1 -0
  171. package/{mini-bar/mini-bar.d.ts → gauge/delon-chart-gauge.d.ts} +1 -0
  172. package/gauge/gauge.component.d.ts +8 -5
  173. package/gauge/gauge.module.d.ts +7 -0
  174. package/gauge/package.json +6 -7
  175. package/mini-area/delon-chart-mini-area.d.ts +5 -0
  176. package/mini-area/mini-area.component.d.ts +3 -0
  177. package/mini-area/mini-area.module.d.ts +6 -0
  178. package/mini-area/package.json +6 -7
  179. package/mini-bar/delon-chart-mini-bar.d.ts +5 -0
  180. package/mini-bar/mini-bar.component.d.ts +3 -0
  181. package/mini-bar/mini-bar.module.d.ts +6 -0
  182. package/mini-bar/package.json +6 -7
  183. package/mini-progress/delon-chart-mini-progress.d.ts +5 -0
  184. package/mini-progress/mini-progress.component.d.ts +6 -3
  185. package/mini-progress/mini-progress.module.d.ts +8 -0
  186. package/mini-progress/package.json +6 -7
  187. package/mini-progress/style/index.less +5 -0
  188. package/number-info/delon-chart-number-info.d.ts +5 -0
  189. package/number-info/number-info.component.d.ts +9 -6
  190. package/number-info/number-info.module.d.ts +8 -0
  191. package/number-info/package.json +6 -7
  192. package/number-info/style/index.less +12 -0
  193. package/package.json +160 -12
  194. package/{custom/g2Custom.d.ts → pie/delon-chart-pie.d.ts} +1 -0
  195. package/pie/package.json +6 -7
  196. package/pie/pie.component.d.ts +8 -5
  197. package/pie/pie.module.d.ts +9 -0
  198. package/pie/style/index.less +14 -0
  199. package/{gauge/gauge.d.ts → radar/delon-chart-radar.d.ts} +1 -0
  200. package/radar/package.json +6 -7
  201. package/radar/radar.component.d.ts +4 -1
  202. package/radar/radar.module.d.ts +9 -0
  203. package/radar/style/index.less +6 -0
  204. package/single-bar/delon-chart-single-bar.d.ts +5 -0
  205. package/single-bar/package.json +6 -7
  206. package/single-bar/single-bar.component.d.ts +4 -1
  207. package/single-bar/single-bar.module.d.ts +6 -0
  208. package/tag-cloud/delon-chart-tag-cloud.d.ts +5 -0
  209. package/tag-cloud/package.json +6 -7
  210. package/tag-cloud/tag-cloud.component.d.ts +3 -0
  211. package/tag-cloud/tag-cloud.module.d.ts +7 -0
  212. package/timeline/delon-chart-timeline.d.ts +5 -0
  213. package/timeline/package.json +6 -7
  214. package/timeline/timeline.component.d.ts +5 -2
  215. package/timeline/timeline.module.d.ts +8 -0
  216. package/{mini-area/mini-area.d.ts → trend/delon-chart-trend.d.ts} +1 -0
  217. package/trend/package.json +6 -7
  218. package/trend/style/index.less +6 -0
  219. package/trend/trend.component.d.ts +4 -1
  220. package/trend/trend.module.d.ts +7 -0
  221. package/water-wave/delon-chart-water-wave.d.ts +5 -0
  222. package/water-wave/package.json +6 -7
  223. package/water-wave/style/index.less +4 -0
  224. package/water-wave/water-wave.component.d.ts +5 -2
  225. package/water-wave/water-wave.module.d.ts +7 -0
  226. package/bar/bar.metadata.json +0 -1
  227. package/bundles/bar.umd.js +0 -471
  228. package/bundles/bar.umd.js.map +0 -1
  229. package/bundles/card.umd.js +0 -408
  230. package/bundles/card.umd.js.map +0 -1
  231. package/bundles/chart.umd.js +0 -19
  232. package/bundles/chart.umd.js.map +0 -1
  233. package/bundles/delon-chart-chart-echarts.umd.js +0 -617
  234. package/bundles/delon-chart-chart-echarts.umd.js.map +0 -1
  235. package/bundles/delon-chart-core.umd.js +0 -550
  236. package/bundles/delon-chart-core.umd.js.map +0 -1
  237. package/bundles/g2Custom.umd.js +0 -407
  238. package/bundles/g2Custom.umd.js.map +0 -1
  239. package/bundles/gauge.umd.js +0 -511
  240. package/bundles/gauge.umd.js.map +0 -1
  241. package/bundles/mini-area.umd.js +0 -471
  242. package/bundles/mini-area.umd.js.map +0 -1
  243. package/bundles/mini-bar.umd.js +0 -444
  244. package/bundles/mini-bar.umd.js.map +0 -1
  245. package/bundles/mini-progress.umd.js +0 -401
  246. package/bundles/mini-progress.umd.js.map +0 -1
  247. package/bundles/number-info.umd.js +0 -392
  248. package/bundles/number-info.umd.js.map +0 -1
  249. package/bundles/pie.umd.js +0 -567
  250. package/bundles/pie.umd.js.map +0 -1
  251. package/bundles/radar.umd.js +0 -497
  252. package/bundles/radar.umd.js.map +0 -1
  253. package/bundles/single-bar.umd.js +0 -464
  254. package/bundles/single-bar.umd.js.map +0 -1
  255. package/bundles/tag-cloud.umd.js +0 -495
  256. package/bundles/tag-cloud.umd.js.map +0 -1
  257. package/bundles/timeline.umd.js +0 -524
  258. package/bundles/timeline.umd.js.map +0 -1
  259. package/bundles/trend.umd.js +0 -391
  260. package/bundles/trend.umd.js.map +0 -1
  261. package/bundles/water-wave.umd.js +0 -587
  262. package/bundles/water-wave.umd.js.map +0 -1
  263. package/card/card.metadata.json +0 -1
  264. package/chart-echarts/delon-chart-chart-echarts.metadata.json +0 -1
  265. package/chart.metadata.json +0 -1
  266. package/core/delon-chart-core.metadata.json +0 -1
  267. package/custom/g2Custom.metadata.json +0 -1
  268. package/esm2015/bar/bar.component.js +0 -124
  269. package/esm2015/bar/bar.module.js +0 -16
  270. package/esm2015/card/card.component.js +0 -52
  271. package/esm2015/card/card.module.js +0 -17
  272. package/esm2015/chart-echarts/echarts.component.js +0 -152
  273. package/esm2015/chart-echarts/echarts.module.js +0 -15
  274. package/esm2015/chart-echarts/echarts.service.js +0 -64
  275. package/esm2015/core/g2.base.component.js +0 -110
  276. package/esm2015/core/g2.servicce.js +0 -58
  277. package/esm2015/core/utils.js +0 -15
  278. package/esm2015/custom/custom.component.js +0 -58
  279. package/esm2015/custom/custom.module.js +0 -15
  280. package/esm2015/custom/g2Custom.js +0 -5
  281. package/esm2015/gauge/gauge.component.js +0 -158
  282. package/esm2015/gauge/gauge.module.js +0 -15
  283. package/esm2015/mini-area/mini-area.component.js +0 -117
  284. package/esm2015/mini-area/mini-area.js +0 -5
  285. package/esm2015/mini-area/mini-area.module.js +0 -14
  286. package/esm2015/mini-bar/mini-bar.component.js +0 -90
  287. package/esm2015/mini-bar/mini-bar.js +0 -5
  288. package/esm2015/mini-bar/mini-bar.module.js +0 -14
  289. package/esm2015/mini-progress/mini-progress.component.js +0 -50
  290. package/esm2015/mini-progress/mini-progress.module.js +0 -16
  291. package/esm2015/number-info/number-info.component.js +0 -40
  292. package/esm2015/number-info/number-info.module.js +0 -16
  293. package/esm2015/pie/pie.component.js +0 -197
  294. package/esm2015/pie/pie.module.js +0 -17
  295. package/esm2015/radar/radar.component.js +0 -142
  296. package/esm2015/radar/radar.js +0 -5
  297. package/esm2015/radar/radar.module.js +0 -17
  298. package/esm2015/single-bar/single-bar.component.js +0 -111
  299. package/esm2015/single-bar/single-bar.js +0 -5
  300. package/esm2015/single-bar/single-bar.module.js +0 -14
  301. package/esm2015/tag-cloud/tag-cloud.component.js +0 -142
  302. package/esm2015/tag-cloud/tag-cloud.js +0 -5
  303. package/esm2015/tag-cloud/tag-cloud.module.js +0 -15
  304. package/esm2015/timeline/timeline.component.js +0 -178
  305. package/esm2015/timeline/timeline.js +0 -5
  306. package/esm2015/timeline/timeline.module.js +0 -16
  307. package/esm2015/trend/trend.component.js +0 -42
  308. package/esm2015/trend/trend.js +0 -5
  309. package/esm2015/trend/trend.module.js +0 -15
  310. package/esm2015/water-wave/water-wave.component.js +0 -224
  311. package/esm2015/water-wave/water-wave.js +0 -5
  312. package/esm2015/water-wave/water-wave.module.js +0 -15
  313. package/fesm2015/bar.js.map +0 -1
  314. package/fesm2015/card.js +0 -74
  315. package/fesm2015/card.js.map +0 -1
  316. package/fesm2015/chart.js.map +0 -1
  317. package/fesm2015/delon-chart-chart-echarts.js.map +0 -1
  318. package/fesm2015/delon-chart-core.js.map +0 -1
  319. package/fesm2015/g2Custom.js +0 -78
  320. package/fesm2015/g2Custom.js.map +0 -1
  321. package/fesm2015/gauge.js.map +0 -1
  322. package/fesm2015/mini-area.js +0 -136
  323. package/fesm2015/mini-area.js.map +0 -1
  324. package/fesm2015/mini-bar.js +0 -109
  325. package/fesm2015/mini-bar.js.map +0 -1
  326. package/fesm2015/mini-progress.js +0 -70
  327. package/fesm2015/mini-progress.js.map +0 -1
  328. package/fesm2015/number-info.js +0 -61
  329. package/fesm2015/number-info.js.map +0 -1
  330. package/fesm2015/pie.js +0 -219
  331. package/fesm2015/pie.js.map +0 -1
  332. package/fesm2015/radar.js.map +0 -1
  333. package/fesm2015/single-bar.js +0 -130
  334. package/fesm2015/single-bar.js.map +0 -1
  335. package/fesm2015/tag-cloud.js.map +0 -1
  336. package/fesm2015/timeline.js.map +0 -1
  337. package/fesm2015/trend.js +0 -62
  338. package/fesm2015/trend.js.map +0 -1
  339. package/fesm2015/water-wave.js.map +0 -1
  340. package/gauge/gauge.metadata.json +0 -1
  341. package/mini-area/mini-area.metadata.json +0 -1
  342. package/mini-bar/mini-bar.metadata.json +0 -1
  343. package/mini-progress/mini-progress.d.ts +0 -4
  344. package/mini-progress/mini-progress.metadata.json +0 -1
  345. package/number-info/number-info.d.ts +0 -4
  346. package/number-info/number-info.metadata.json +0 -1
  347. package/pie/pie.d.ts +0 -4
  348. package/pie/pie.metadata.json +0 -1
  349. package/radar/radar.d.ts +0 -4
  350. package/radar/radar.metadata.json +0 -1
  351. package/single-bar/single-bar.d.ts +0 -4
  352. package/single-bar/single-bar.metadata.json +0 -1
  353. package/tag-cloud/tag-cloud.d.ts +0 -4
  354. package/tag-cloud/tag-cloud.metadata.json +0 -1
  355. package/timeline/timeline.d.ts +0 -4
  356. package/timeline/timeline.metadata.json +0 -1
  357. package/trend/trend.d.ts +0 -4
  358. package/trend/trend.metadata.json +0 -1
  359. package/water-wave/water-wave.d.ts +0 -4
  360. package/water-wave/water-wave.metadata.json +0 -1
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@delon/chart/number-info" />
5
+ export * from './public_api';
@@ -1,21 +1,24 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { NumberInput } from '@delon/util/decorator';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class NumberInfoComponent {
4
5
  static ngAcceptInputType_gap: NumberInput;
5
6
  /** 标题 */
6
- title: string | TemplateRef<void>;
7
+ title?: string | TemplateRef<void> | null;
7
8
  /** 子标题 */
8
- subTitle: string | TemplateRef<void>;
9
+ subTitle?: string | TemplateRef<void> | null;
9
10
  /** 总量 */
10
- total: string | number | TemplateRef<void>;
11
+ total?: string | number | TemplateRef<void> | null;
11
12
  /** 总量后缀 */
12
- subTotal: string | number | TemplateRef<void>;
13
+ subTotal?: string | number | TemplateRef<void> | null;
13
14
  /** 子总量 */
14
- suffix: string;
15
+ suffix?: string | null;
15
16
  /** 增加状态 */
16
- status: 'up' | 'down';
17
+ status?: 'up' | 'down';
17
18
  /** 状态样式 */
18
19
  theme: 'light' | 'default';
19
20
  /** 设置数字和描述直接的间距(像素) */
20
21
  gap: number;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInfoComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInfoComponent, "number-info", ["numberInfo"], { "title": "title"; "subTitle": "subTitle"; "total": "total"; "subTotal": "subTotal"; "suffix": "suffix"; "status": "status"; "theme": "theme"; "gap": "gap"; }, {}, never, never>;
21
24
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./number-info.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/icon";
5
+ import * as i4 from "ng-zorro-antd/core/outlet";
1
6
  export declare class NumberInfoModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInfoModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NumberInfoModule, [typeof i1.NumberInfoComponent], [typeof i2.CommonModule, typeof i3.NzIconModule, typeof i4.NzOutletModule], [typeof i1.NumberInfoComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NumberInfoModule>;
2
10
  }
@@ -1,11 +1,10 @@
1
1
  {
2
- "main": "../bundles/number-info.umd.js",
3
- "module": "../fesm2015/number-info.js",
4
- "es2015": "../fesm2015/number-info.js",
5
- "esm2015": "../esm2015/number-info/number-info.js",
6
- "fesm2015": "../fesm2015/number-info.js",
7
- "typings": "number-info.d.ts",
8
- "metadata": "number-info.metadata.json",
2
+ "module": "../fesm2015/delon-chart-number-info.mjs",
3
+ "es2020": "../fesm2020/delon-chart-number-info.mjs",
4
+ "esm2020": "../esm2020/number-info/delon-chart-number-info.mjs",
5
+ "fesm2020": "../fesm2020/delon-chart-number-info.mjs",
6
+ "fesm2015": "../fesm2015/delon-chart-number-info.mjs",
7
+ "typings": "delon-chart-number-info.d.ts",
9
8
  "sideEffects": false,
10
9
  "name": "@delon/chart/number-info"
11
10
  }
@@ -3,11 +3,13 @@
3
3
 
4
4
  @{number-info-prefix} {
5
5
  display: inline-block;
6
+
6
7
  &__title {
7
8
  margin-bottom: 16px;
8
9
  color: @text-color;
9
10
  font-size: @font-size-lg;
10
11
  transition: all 0.3s;
12
+
11
13
  &-sub {
12
14
  height: 22px;
13
15
  overflow: hidden;
@@ -19,6 +21,7 @@
19
21
  word-break: break-all;
20
22
  }
21
23
  }
24
+
22
25
  &__value {
23
26
  margin-top: 4px;
24
27
  overflow: hidden;
@@ -26,12 +29,14 @@
26
29
  white-space: nowrap;
27
30
  text-overflow: ellipsis;
28
31
  word-break: break-all;
32
+
29
33
  &-suffix {
30
34
  margin-left: 4px;
31
35
  color: @text-color;
32
36
  font-size: 16px;
33
37
  font-style: normal;
34
38
  }
39
+
35
40
  &-text {
36
41
  display: inline-block;
37
42
  height: 32px;
@@ -39,33 +44,40 @@
39
44
  font-size: 24px;
40
45
  line-height: 32px;
41
46
  }
47
+
42
48
  &-sub {
43
49
  margin-left: 32px;
44
50
  color: @text-color-secondary;
45
51
  font-size: @font-size-lg;
46
52
  vertical-align: top;
53
+
47
54
  .anticon {
48
55
  margin-left: 4px;
49
56
  font-size: 12px;
50
57
  transform: scale(0.82);
51
58
  }
59
+
52
60
  .anticon-caret-up {
53
61
  color: @red-6;
54
62
  }
63
+
55
64
  .anticon-caret-down {
56
65
  color: @green-6;
57
66
  }
58
67
  }
59
68
  }
69
+
60
70
  &__light {
61
71
  @{number-info-prefix}__value-text {
62
72
  color: @text-color;
63
73
  }
64
74
  }
75
+
65
76
  &:not(:first-child) {
66
77
  position: relative;
67
78
  margin-left: 32px;
68
79
  padding-left: 32px;
80
+
69
81
  &::after {
70
82
  position: absolute;
71
83
  top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/chart",
3
- "version": "12.4.0",
3
+ "version": "13.0.0-beta.2",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,18 +26,166 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@antv/data-set": "^0.11.8",
29
- "@antv/g2": "^4.1.24",
30
- "echarts": "^5.1.2",
31
- "@delon/util": "^12.4.0",
32
- "@delon/theme": "^12.4.0",
33
- "tslib": "^2.2.0"
29
+ "@antv/g2": "^4.1.35",
30
+ "echarts": "^5.2.2",
31
+ "@delon/util": "^13.0.0-beta.2",
32
+ "@delon/theme": "^13.0.0-beta.2",
33
+ "tslib": "^2.3.0"
34
34
  },
35
- "main": "bundles/chart.umd.js",
36
- "module": "fesm2015/chart.js",
37
- "es2015": "fesm2015/chart.js",
38
- "esm2015": "esm2015/chart.js",
39
- "fesm2015": "fesm2015/chart.js",
35
+ "module": "fesm2015/chart.mjs",
36
+ "es2020": "fesm2020/chart.mjs",
37
+ "esm2020": "esm2020/chart.mjs",
38
+ "fesm2020": "fesm2020/chart.mjs",
39
+ "fesm2015": "fesm2015/chart.mjs",
40
40
  "typings": "chart.d.ts",
41
- "metadata": "chart.metadata.json",
41
+ "exports": {
42
+ "./package.json": {
43
+ "default": "./package.json"
44
+ },
45
+ ".": {
46
+ "types": "./chart.d.ts",
47
+ "esm2020": "./esm2020/chart.mjs",
48
+ "es2020": "./fesm2020/chart.mjs",
49
+ "es2015": "./fesm2015/chart.mjs",
50
+ "node": "./fesm2015/chart.mjs",
51
+ "default": "./fesm2020/chart.mjs"
52
+ },
53
+ "./bar": {
54
+ "types": "./bar/bar.d.ts",
55
+ "esm2020": "./esm2020/bar/bar.mjs",
56
+ "es2020": "./fesm2020/bar.mjs",
57
+ "es2015": "./fesm2015/bar.mjs",
58
+ "node": "./fesm2015/bar.mjs",
59
+ "default": "./fesm2020/bar.mjs"
60
+ },
61
+ "./card": {
62
+ "types": "./card/card.d.ts",
63
+ "esm2020": "./esm2020/card/card.mjs",
64
+ "es2020": "./fesm2020/card.mjs",
65
+ "es2015": "./fesm2015/card.mjs",
66
+ "node": "./fesm2015/card.mjs",
67
+ "default": "./fesm2020/card.mjs"
68
+ },
69
+ "./chart-echarts": {
70
+ "types": "./chart-echarts/delon-chart-chart-echarts.d.ts",
71
+ "esm2020": "./esm2020/chart-echarts/delon-chart-chart-echarts.mjs",
72
+ "es2020": "./fesm2020/delon-chart-chart-echarts.mjs",
73
+ "es2015": "./fesm2015/delon-chart-chart-echarts.mjs",
74
+ "node": "./fesm2015/delon-chart-chart-echarts.mjs",
75
+ "default": "./fesm2020/delon-chart-chart-echarts.mjs"
76
+ },
77
+ "./core": {
78
+ "types": "./core/delon-chart-core.d.ts",
79
+ "esm2020": "./esm2020/core/delon-chart-core.mjs",
80
+ "es2020": "./fesm2020/delon-chart-core.mjs",
81
+ "es2015": "./fesm2015/delon-chart-core.mjs",
82
+ "node": "./fesm2015/delon-chart-core.mjs",
83
+ "default": "./fesm2020/delon-chart-core.mjs"
84
+ },
85
+ "./custom": {
86
+ "types": "./custom/delon-chart-custom.d.ts",
87
+ "esm2020": "./esm2020/custom/delon-chart-custom.mjs",
88
+ "es2020": "./fesm2020/delon-chart-custom.mjs",
89
+ "es2015": "./fesm2015/delon-chart-custom.mjs",
90
+ "node": "./fesm2015/delon-chart-custom.mjs",
91
+ "default": "./fesm2020/delon-chart-custom.mjs"
92
+ },
93
+ "./gauge": {
94
+ "types": "./gauge/delon-chart-gauge.d.ts",
95
+ "esm2020": "./esm2020/gauge/delon-chart-gauge.mjs",
96
+ "es2020": "./fesm2020/delon-chart-gauge.mjs",
97
+ "es2015": "./fesm2015/delon-chart-gauge.mjs",
98
+ "node": "./fesm2015/delon-chart-gauge.mjs",
99
+ "default": "./fesm2020/delon-chart-gauge.mjs"
100
+ },
101
+ "./mini-area": {
102
+ "types": "./mini-area/delon-chart-mini-area.d.ts",
103
+ "esm2020": "./esm2020/mini-area/delon-chart-mini-area.mjs",
104
+ "es2020": "./fesm2020/delon-chart-mini-area.mjs",
105
+ "es2015": "./fesm2015/delon-chart-mini-area.mjs",
106
+ "node": "./fesm2015/delon-chart-mini-area.mjs",
107
+ "default": "./fesm2020/delon-chart-mini-area.mjs"
108
+ },
109
+ "./mini-bar": {
110
+ "types": "./mini-bar/delon-chart-mini-bar.d.ts",
111
+ "esm2020": "./esm2020/mini-bar/delon-chart-mini-bar.mjs",
112
+ "es2020": "./fesm2020/delon-chart-mini-bar.mjs",
113
+ "es2015": "./fesm2015/delon-chart-mini-bar.mjs",
114
+ "node": "./fesm2015/delon-chart-mini-bar.mjs",
115
+ "default": "./fesm2020/delon-chart-mini-bar.mjs"
116
+ },
117
+ "./mini-progress": {
118
+ "types": "./mini-progress/delon-chart-mini-progress.d.ts",
119
+ "esm2020": "./esm2020/mini-progress/delon-chart-mini-progress.mjs",
120
+ "es2020": "./fesm2020/delon-chart-mini-progress.mjs",
121
+ "es2015": "./fesm2015/delon-chart-mini-progress.mjs",
122
+ "node": "./fesm2015/delon-chart-mini-progress.mjs",
123
+ "default": "./fesm2020/delon-chart-mini-progress.mjs"
124
+ },
125
+ "./number-info": {
126
+ "types": "./number-info/delon-chart-number-info.d.ts",
127
+ "esm2020": "./esm2020/number-info/delon-chart-number-info.mjs",
128
+ "es2020": "./fesm2020/delon-chart-number-info.mjs",
129
+ "es2015": "./fesm2015/delon-chart-number-info.mjs",
130
+ "node": "./fesm2015/delon-chart-number-info.mjs",
131
+ "default": "./fesm2020/delon-chart-number-info.mjs"
132
+ },
133
+ "./pie": {
134
+ "types": "./pie/delon-chart-pie.d.ts",
135
+ "esm2020": "./esm2020/pie/delon-chart-pie.mjs",
136
+ "es2020": "./fesm2020/delon-chart-pie.mjs",
137
+ "es2015": "./fesm2015/delon-chart-pie.mjs",
138
+ "node": "./fesm2015/delon-chart-pie.mjs",
139
+ "default": "./fesm2020/delon-chart-pie.mjs"
140
+ },
141
+ "./radar": {
142
+ "types": "./radar/delon-chart-radar.d.ts",
143
+ "esm2020": "./esm2020/radar/delon-chart-radar.mjs",
144
+ "es2020": "./fesm2020/delon-chart-radar.mjs",
145
+ "es2015": "./fesm2015/delon-chart-radar.mjs",
146
+ "node": "./fesm2015/delon-chart-radar.mjs",
147
+ "default": "./fesm2020/delon-chart-radar.mjs"
148
+ },
149
+ "./single-bar": {
150
+ "types": "./single-bar/delon-chart-single-bar.d.ts",
151
+ "esm2020": "./esm2020/single-bar/delon-chart-single-bar.mjs",
152
+ "es2020": "./fesm2020/delon-chart-single-bar.mjs",
153
+ "es2015": "./fesm2015/delon-chart-single-bar.mjs",
154
+ "node": "./fesm2015/delon-chart-single-bar.mjs",
155
+ "default": "./fesm2020/delon-chart-single-bar.mjs"
156
+ },
157
+ "./tag-cloud": {
158
+ "types": "./tag-cloud/delon-chart-tag-cloud.d.ts",
159
+ "esm2020": "./esm2020/tag-cloud/delon-chart-tag-cloud.mjs",
160
+ "es2020": "./fesm2020/delon-chart-tag-cloud.mjs",
161
+ "es2015": "./fesm2015/delon-chart-tag-cloud.mjs",
162
+ "node": "./fesm2015/delon-chart-tag-cloud.mjs",
163
+ "default": "./fesm2020/delon-chart-tag-cloud.mjs"
164
+ },
165
+ "./timeline": {
166
+ "types": "./timeline/delon-chart-timeline.d.ts",
167
+ "esm2020": "./esm2020/timeline/delon-chart-timeline.mjs",
168
+ "es2020": "./fesm2020/delon-chart-timeline.mjs",
169
+ "es2015": "./fesm2015/delon-chart-timeline.mjs",
170
+ "node": "./fesm2015/delon-chart-timeline.mjs",
171
+ "default": "./fesm2020/delon-chart-timeline.mjs"
172
+ },
173
+ "./trend": {
174
+ "types": "./trend/delon-chart-trend.d.ts",
175
+ "esm2020": "./esm2020/trend/delon-chart-trend.mjs",
176
+ "es2020": "./fesm2020/delon-chart-trend.mjs",
177
+ "es2015": "./fesm2015/delon-chart-trend.mjs",
178
+ "node": "./fesm2015/delon-chart-trend.mjs",
179
+ "default": "./fesm2020/delon-chart-trend.mjs"
180
+ },
181
+ "./water-wave": {
182
+ "types": "./water-wave/delon-chart-water-wave.d.ts",
183
+ "esm2020": "./esm2020/water-wave/delon-chart-water-wave.mjs",
184
+ "es2020": "./fesm2020/delon-chart-water-wave.mjs",
185
+ "es2015": "./fesm2015/delon-chart-water-wave.mjs",
186
+ "node": "./fesm2015/delon-chart-water-wave.mjs",
187
+ "default": "./fesm2020/delon-chart-water-wave.mjs"
188
+ }
189
+ },
42
190
  "sideEffects": false
43
191
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@delon/chart/pie" />
4
5
  export * from './public_api';
package/pie/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
- "main": "../bundles/pie.umd.js",
3
- "module": "../fesm2015/pie.js",
4
- "es2015": "../fesm2015/pie.js",
5
- "esm2015": "../esm2015/pie/pie.js",
6
- "fesm2015": "../fesm2015/pie.js",
7
- "typings": "pie.d.ts",
8
- "metadata": "pie.metadata.json",
2
+ "module": "../fesm2015/delon-chart-pie.mjs",
3
+ "es2020": "../fesm2020/delon-chart-pie.mjs",
4
+ "esm2020": "../esm2020/pie/delon-chart-pie.mjs",
5
+ "fesm2020": "../fesm2020/delon-chart-pie.mjs",
6
+ "fesm2015": "../fesm2015/delon-chart-pie.mjs",
7
+ "typings": "delon-chart-pie.d.ts",
9
8
  "sideEffects": false,
10
9
  "name": "@delon/chart/pie"
11
10
  }
@@ -3,6 +3,7 @@ import type { Event } from '@antv/g2';
3
3
  import { G2BaseComponent, G2InteractionType } from '@delon/chart/core';
4
4
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
5
5
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
+ import * as i0 from "@angular/core";
6
7
  export interface G2PieData {
7
8
  x: NzSafeAny;
8
9
  y: number;
@@ -36,20 +37,20 @@ export declare class G2PieComponent extends G2BaseComponent {
36
37
  isPercent: boolean;
37
38
  animate: boolean;
38
39
  color: string;
39
- subTitle: string | TemplateRef<void>;
40
- total: string | number | TemplateRef<void>;
40
+ subTitle?: string | TemplateRef<void> | null;
41
+ total?: string | number | TemplateRef<void> | null;
41
42
  height: number;
42
43
  hasLegend: boolean;
43
44
  inner: number;
44
45
  padding: number | number[] | 'auto';
45
- percent: number;
46
+ percent?: number;
46
47
  tooltip: boolean;
47
48
  lineWidth: number;
48
49
  blockMaxWidth: number;
49
50
  select: boolean;
50
- valueFormat: (y: number) => string;
51
+ valueFormat?: (y: number) => string;
51
52
  data: G2PieData[];
52
- colors: string[];
53
+ colors?: string[];
53
54
  interaction: G2InteractionType;
54
55
  ratio: G2PieRatio;
55
56
  readonly clickItem: EventEmitter<G2PieClickItem>;
@@ -60,4 +61,6 @@ export declare class G2PieComponent extends G2BaseComponent {
60
61
  private genLegend;
61
62
  _click(i: number): void;
62
63
  onChanges(): void;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<G2PieComponent, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<G2PieComponent, "g2-pie", ["g2Pie"], { "animate": "animate"; "color": "color"; "subTitle": "subTitle"; "total": "total"; "height": "height"; "hasLegend": "hasLegend"; "inner": "inner"; "padding": "padding"; "percent": "percent"; "tooltip": "tooltip"; "lineWidth": "lineWidth"; "blockMaxWidth": "blockMaxWidth"; "select": "select"; "valueFormat": "valueFormat"; "data": "data"; "colors": "colors"; "interaction": "interaction"; "ratio": "ratio"; }, { "clickItem": "clickItem"; }, never, never>;
63
66
  }
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pie.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/divider";
5
+ import * as i4 from "ng-zorro-antd/core/outlet";
6
+ import * as i5 from "ng-zorro-antd/skeleton";
1
7
  export declare class G2PieModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<G2PieModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<G2PieModule, [typeof i1.G2PieComponent], [typeof i2.CommonModule, typeof i3.NzDividerModule, typeof i4.NzOutletModule, typeof i5.NzSkeletonModule], [typeof i1.G2PieComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<G2PieModule>;
2
11
  }
@@ -4,9 +4,11 @@
4
4
  @{g2-pie-prefix} {
5
5
  position: relative;
6
6
  display: block;
7
+
7
8
  &__chart {
8
9
  position: relative;
9
10
  }
11
+
10
12
  &__legend {
11
13
  position: absolute;
12
14
  top: 50%;
@@ -16,18 +18,22 @@
16
18
  padding: 0;
17
19
  list-style: none;
18
20
  transform: translateY(-50%);
21
+
19
22
  &-item {
20
23
  height: 22px;
21
24
  margin-bottom: 16px;
22
25
  line-height: 22px;
23
26
  cursor: pointer;
27
+
24
28
  &:last-child {
25
29
  margin-bottom: 0;
26
30
  }
27
31
  }
32
+
28
33
  &-title {
29
34
  color: @text-color;
30
35
  }
36
+
31
37
  &-dot {
32
38
  position: relative;
33
39
  top: -1px;
@@ -37,18 +43,22 @@
37
43
  margin-right: 8px;
38
44
  border-radius: 8px;
39
45
  }
46
+
40
47
  &-percent {
41
48
  color: @text-color-secondary;
42
49
  }
50
+
43
51
  &-value {
44
52
  position: absolute;
45
53
  right: 0;
46
54
  }
55
+
47
56
  &-has {
48
57
  @{g2-pie-prefix}__chart {
49
58
  width: ~'calc(100% - 240px)';
50
59
  }
51
60
  }
61
+
52
62
  &-block {
53
63
  @{g2-pie-prefix}__chart {
54
64
  width: 100%;
@@ -61,6 +71,7 @@
61
71
  }
62
72
  }
63
73
  }
74
+
64
75
  &__total {
65
76
  position: absolute;
66
77
  top: 50%;
@@ -68,6 +79,7 @@
68
79
  height: 62px;
69
80
  text-align: center;
70
81
  transform: translate(-50%, -50%);
82
+
71
83
  &-title {
72
84
  height: 22px;
73
85
  margin-bottom: 8px;
@@ -76,6 +88,7 @@
76
88
  font-size: 14px;
77
89
  line-height: 22px;
78
90
  }
91
+
79
92
  &-stat {
80
93
  display: block;
81
94
  height: 32px;
@@ -85,6 +98,7 @@
85
98
  white-space: nowrap;
86
99
  }
87
100
  }
101
+
88
102
  &__mini {
89
103
  @{g2-pie-prefix}__total {
90
104
  &-title {
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@delon/chart/radar" />
4
5
  export * from './public_api';
@@ -1,11 +1,10 @@
1
1
  {
2
- "main": "../bundles/radar.umd.js",
3
- "module": "../fesm2015/radar.js",
4
- "es2015": "../fesm2015/radar.js",
5
- "esm2015": "../esm2015/radar/radar.js",
6
- "fesm2015": "../fesm2015/radar.js",
7
- "typings": "radar.d.ts",
8
- "metadata": "radar.metadata.json",
2
+ "module": "../fesm2015/delon-chart-radar.mjs",
3
+ "es2020": "../fesm2020/delon-chart-radar.mjs",
4
+ "esm2020": "../esm2020/radar/delon-chart-radar.mjs",
5
+ "fesm2020": "../fesm2020/delon-chart-radar.mjs",
6
+ "fesm2015": "../fesm2015/delon-chart-radar.mjs",
7
+ "typings": "delon-chart-radar.d.ts",
9
8
  "sideEffects": false,
10
9
  "name": "@delon/chart/radar"
11
10
  }
@@ -3,6 +3,7 @@ import type { Event } from '@antv/g2';
3
3
  import { G2BaseComponent } from '@delon/chart/core';
4
4
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
5
5
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
+ import * as i0 from "@angular/core";
6
7
  export interface G2RadarData {
7
8
  name: string;
8
9
  label: string;
@@ -18,7 +19,7 @@ export declare class G2RadarComponent extends G2BaseComponent {
18
19
  static ngAcceptInputType_hasLegend: BooleanInput;
19
20
  static ngAcceptInputType_tickCount: NumberInput;
20
21
  legendData: NzSafeAny[];
21
- title: string | TemplateRef<void>;
22
+ title?: string | TemplateRef<void> | null;
22
23
  height: number;
23
24
  padding: number | number[] | 'auto';
24
25
  hasLegend: boolean;
@@ -32,4 +33,6 @@ export declare class G2RadarComponent extends G2BaseComponent {
32
33
  private genLegend;
33
34
  _click(i: number): void;
34
35
  onChanges(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<G2RadarComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<G2RadarComponent, "g2-radar", ["g2Radar"], { "title": "title"; "height": "height"; "padding": "padding"; "hasLegend": "hasLegend"; "tickCount": "tickCount"; "data": "data"; "colors": "colors"; }, { "clickItem": "clickItem"; }, never, never>;
35
38
  }
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/grid";
5
+ import * as i4 from "ng-zorro-antd/core/outlet";
6
+ import * as i5 from "ng-zorro-antd/skeleton";
1
7
  export declare class G2RadarModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<G2RadarModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<G2RadarModule, [typeof i1.G2RadarComponent], [typeof i2.CommonModule, typeof i3.NzGridModule, typeof i4.NzOutletModule, typeof i5.NzSkeletonModule], [typeof i1.G2RadarComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<G2RadarModule>;
2
11
  }
@@ -3,14 +3,17 @@
3
3
 
4
4
  @{g2-radar-prefix} {
5
5
  display: block;
6
+
6
7
  &__legend {
7
8
  margin-top: 16px;
9
+
8
10
  &-item {
9
11
  position: relative;
10
12
  color: @text-color-secondary;
11
13
  line-height: 22px;
12
14
  text-align: center;
13
15
  cursor: pointer;
16
+
14
17
  &::after {
15
18
  position: absolute;
16
19
  top: 8px;
@@ -20,10 +23,12 @@
20
23
  background-color: @border-color-split;
21
24
  content: '';
22
25
  }
26
+
23
27
  &:last-child::after {
24
28
  display: none;
25
29
  }
26
30
  }
31
+
27
32
  &-title {
28
33
  margin-top: 4px;
29
34
  margin-bottom: 0;
@@ -32,6 +37,7 @@
32
37
  font-size: 24px;
33
38
  line-height: 32px;
34
39
  }
40
+
35
41
  &-dot {
36
42
  position: relative;
37
43
  top: -1px;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@delon/chart/single-bar" />
5
+ export * from './public_api';
@@ -1,11 +1,10 @@
1
1
  {
2
- "main": "../bundles/single-bar.umd.js",
3
- "module": "../fesm2015/single-bar.js",
4
- "es2015": "../fesm2015/single-bar.js",
5
- "esm2015": "../esm2015/single-bar/single-bar.js",
6
- "fesm2015": "../fesm2015/single-bar.js",
7
- "typings": "single-bar.d.ts",
8
- "metadata": "single-bar.metadata.json",
2
+ "module": "../fesm2015/delon-chart-single-bar.mjs",
3
+ "es2020": "../fesm2020/delon-chart-single-bar.mjs",
4
+ "esm2020": "../esm2020/single-bar/delon-chart-single-bar.mjs",
5
+ "fesm2020": "../fesm2020/delon-chart-single-bar.mjs",
6
+ "fesm2015": "../fesm2015/delon-chart-single-bar.mjs",
7
+ "typings": "delon-chart-single-bar.d.ts",
9
8
  "sideEffects": false,
10
9
  "name": "@delon/chart/single-bar"
11
10
  }
@@ -2,6 +2,7 @@ import { SimpleChanges } from '@angular/core';
2
2
  import { G2BaseComponent } from '@delon/chart/core';
3
3
  import { BooleanInput, NumberInput } from '@delon/util/decorator';
4
4
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class G2SingleBarComponent extends G2BaseComponent {
6
7
  static ngAcceptInputType_height: NumberInput;
7
8
  static ngAcceptInputType_barSize: NumberInput;
@@ -17,7 +18,7 @@ export declare class G2SingleBarComponent extends G2BaseComponent {
17
18
  max: number;
18
19
  value: number;
19
20
  line: boolean;
20
- format: (value: number, item: NzSafeAny, index: number) => string;
21
+ format?: (value: number, item: NzSafeAny, index: number) => string;
21
22
  padding: number | number[] | 'auto';
22
23
  textStyle: {
23
24
  [key: string]: NzSafeAny;
@@ -25,4 +26,6 @@ export declare class G2SingleBarComponent extends G2BaseComponent {
25
26
  install(): void;
26
27
  onlyChangeData: (changes: SimpleChanges) => boolean;
27
28
  changeData(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<G2SingleBarComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<G2SingleBarComponent, "g2-single-bar", ["g2SingleBar"], { "plusColor": "plusColor"; "minusColor": "minusColor"; "height": "height"; "barSize": "barSize"; "min": "min"; "max": "max"; "value": "value"; "line": "line"; "format": "format"; "padding": "padding"; "textStyle": "textStyle"; }, {}, never, never>;
28
31
  }