@delon/chart 12.3.0 → 13.0.0-beta.1
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.
- package/bar/bar.component.d.ts +4 -1
- package/bar/bar.d.ts +1 -0
- package/bar/bar.module.d.ts +8 -0
- package/bar/package.json +5 -6
- package/card/card.component.d.ts +7 -4
- package/card/card.d.ts +1 -0
- package/card/card.module.d.ts +9 -0
- package/card/package.json +5 -6
- package/card/style/index.less +11 -0
- package/chart-echarts/delon-chart-chart-echarts.d.ts +1 -0
- package/chart-echarts/echarts.component.d.ts +3 -0
- package/chart-echarts/echarts.module.d.ts +7 -0
- package/chart-echarts/echarts.service.d.ts +3 -0
- package/chart-echarts/package.json +5 -6
- package/chart.d.ts +1 -0
- package/core/delon-chart-core.d.ts +1 -0
- package/core/g2.base.component.d.ts +4 -1
- package/core/g2.servicce.d.ts +3 -0
- package/core/package.json +5 -6
- package/custom/custom.component.d.ts +4 -1
- package/custom/custom.module.d.ts +7 -0
- package/custom/delon-chart-custom.d.ts +5 -0
- package/custom/package.json +6 -7
- package/esm2020/bar/bar.component.mjs +143 -0
- package/{esm2015/bar/bar.js → esm2020/bar/bar.mjs} +0 -0
- package/esm2020/bar/bar.module.mjs +21 -0
- package/{esm2015/bar/public_api.js → esm2020/bar/public_api.mjs} +0 -0
- package/esm2020/card/card.component.mjs +55 -0
- package/{esm2015/card/card.js → esm2020/card/card.mjs} +0 -0
- package/esm2020/card/card.module.mjs +22 -0
- package/{esm2015/card/public_api.js → esm2020/card/public_api.mjs} +0 -0
- package/{esm2015/chart-echarts/delon-chart-chart-echarts.js → esm2020/chart-echarts/delon-chart-chart-echarts.mjs} +0 -0
- package/esm2020/chart-echarts/echarts.component.mjs +162 -0
- package/esm2020/chart-echarts/echarts.module.mjs +20 -0
- package/esm2020/chart-echarts/echarts.service.mjs +60 -0
- package/{esm2015/chart-echarts/echarts.types.js → esm2020/chart-echarts/echarts.types.mjs} +0 -0
- package/{esm2015/chart-echarts/public_api.js → esm2020/chart-echarts/public_api.mjs} +0 -0
- package/{esm2015/chart.js → esm2020/chart.mjs} +0 -0
- package/{esm2015/core/delon-chart-core.js → esm2020/core/delon-chart-core.mjs} +0 -0
- package/esm2020/core/g2.base.component.mjs +109 -0
- package/esm2020/core/g2.servicce.mjs +54 -0
- package/{esm2015/core/public_api.js → esm2020/core/public_api.mjs} +0 -0
- package/{esm2015/core/types/interaction.js → esm2020/core/types/interaction.mjs} +0 -0
- package/{esm2015/core/types/time.js → esm2020/core/types/time.mjs} +0 -0
- package/esm2020/core/utils.mjs +21 -0
- package/esm2020/custom/custom.component.mjs +70 -0
- package/esm2020/custom/custom.module.mjs +20 -0
- package/esm2020/custom/delon-chart-custom.mjs +5 -0
- package/{esm2015/custom/public_api.js → esm2020/custom/public_api.mjs} +0 -0
- package/{esm2015/mini-progress/mini-progress.js → esm2020/gauge/delon-chart-gauge.mjs} +1 -1
- package/esm2020/gauge/gauge.component.mjs +169 -0
- package/esm2020/gauge/gauge.module.mjs +20 -0
- package/{esm2015/gauge/public_api.js → esm2020/gauge/public_api.mjs} +0 -0
- package/esm2020/mini-area/delon-chart-mini-area.mjs +5 -0
- package/esm2020/mini-area/mini-area.component.mjs +133 -0
- package/esm2020/mini-area/mini-area.module.mjs +19 -0
- package/{esm2015/mini-area/public_api.js → esm2020/mini-area/public_api.mjs} +0 -0
- package/esm2020/mini-bar/delon-chart-mini-bar.mjs +5 -0
- package/esm2020/mini-bar/mini-bar.component.mjs +100 -0
- package/esm2020/mini-bar/mini-bar.module.mjs +19 -0
- package/{esm2015/mini-bar/public_api.js → esm2020/mini-bar/public_api.mjs} +0 -0
- package/{esm2015/gauge/gauge.js → esm2020/mini-progress/delon-chart-mini-progress.mjs} +1 -1
- package/esm2020/mini-progress/mini-progress.component.mjs +46 -0
- package/esm2020/mini-progress/mini-progress.module.mjs +21 -0
- package/{esm2015/mini-progress/public_api.js → esm2020/mini-progress/public_api.mjs} +0 -0
- package/{esm2015/pie/pie.js → esm2020/number-info/delon-chart-number-info.mjs} +1 -1
- package/esm2020/number-info/number-info.component.mjs +45 -0
- package/esm2020/number-info/number-info.module.mjs +21 -0
- package/{esm2015/number-info/public_api.js → esm2020/number-info/public_api.mjs} +0 -0
- package/{esm2015/number-info/number-info.js → esm2020/pie/delon-chart-pie.mjs} +1 -1
- package/esm2020/pie/pie.component.mjs +215 -0
- package/esm2020/pie/pie.module.mjs +22 -0
- package/{esm2015/pie/public_api.js → esm2020/pie/public_api.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/esm2020/radar/delon-chart-radar.mjs +5 -0
- package/{esm2015/radar/public_api.js → esm2020/radar/public_api.mjs} +0 -0
- package/esm2020/radar/radar.component.mjs +148 -0
- package/esm2020/radar/radar.module.mjs +22 -0
- package/esm2020/single-bar/delon-chart-single-bar.mjs +5 -0
- package/{esm2015/single-bar/public_api.js → esm2020/single-bar/public_api.mjs} +0 -0
- package/esm2020/single-bar/single-bar.component.mjs +126 -0
- package/esm2020/single-bar/single-bar.module.mjs +19 -0
- package/esm2020/tag-cloud/delon-chart-tag-cloud.mjs +5 -0
- package/{esm2015/tag-cloud/public_api.js → esm2020/tag-cloud/public_api.mjs} +0 -0
- package/esm2020/tag-cloud/tag-cloud.component.mjs +161 -0
- package/esm2020/tag-cloud/tag-cloud.module.mjs +20 -0
- package/esm2020/timeline/delon-chart-timeline.mjs +5 -0
- package/{esm2015/timeline/public_api.js → esm2020/timeline/public_api.mjs} +0 -0
- package/esm2020/timeline/timeline.component.mjs +204 -0
- package/esm2020/timeline/timeline.module.mjs +21 -0
- package/esm2020/trend/delon-chart-trend.mjs +5 -0
- package/{esm2015/trend/public_api.js → esm2020/trend/public_api.mjs} +0 -0
- package/esm2020/trend/trend.component.mjs +52 -0
- package/esm2020/trend/trend.module.mjs +20 -0
- package/esm2020/water-wave/delon-chart-water-wave.mjs +5 -0
- package/{esm2015/water-wave/public_api.js → esm2020/water-wave/public_api.mjs} +0 -0
- package/esm2020/water-wave/water-wave.component.mjs +221 -0
- package/esm2020/water-wave/water-wave.module.mjs +20 -0
- package/fesm2015/{bar.js → bar.mjs} +57 -34
- package/fesm2015/bar.mjs.map +1 -0
- package/fesm2015/card.mjs +81 -0
- package/fesm2015/card.mjs.map +1 -0
- package/fesm2015/{chart.js → chart.mjs} +1 -1
- package/fesm2015/chart.mjs.map +1 -0
- package/fesm2015/{delon-chart-chart-echarts.js → delon-chart-chart-echarts.mjs} +62 -53
- package/fesm2015/delon-chart-chart-echarts.mjs.map +1 -0
- package/fesm2015/{delon-chart-core.js → delon-chart-core.mjs} +23 -29
- package/fesm2015/delon-chart-core.mjs.map +1 -0
- package/fesm2015/delon-chart-custom.mjs +94 -0
- package/fesm2015/delon-chart-custom.mjs.map +1 -0
- package/fesm2015/{gauge.js → delon-chart-gauge.mjs} +46 -31
- package/fesm2015/delon-chart-gauge.mjs.map +1 -0
- package/fesm2015/delon-chart-mini-area.mjs +156 -0
- package/fesm2015/delon-chart-mini-area.mjs.map +1 -0
- package/fesm2015/delon-chart-mini-bar.mjs +123 -0
- package/fesm2015/delon-chart-mini-bar.mjs.map +1 -0
- package/fesm2015/delon-chart-mini-progress.mjs +71 -0
- package/fesm2015/delon-chart-mini-progress.mjs.map +1 -0
- package/fesm2015/delon-chart-number-info.mjs +70 -0
- package/fesm2015/delon-chart-number-info.mjs.map +1 -0
- package/fesm2015/delon-chart-pie.mjs +241 -0
- package/fesm2015/delon-chart-pie.mjs.map +1 -0
- package/fesm2015/{radar.js → delon-chart-radar.mjs} +43 -33
- package/fesm2015/delon-chart-radar.mjs.map +1 -0
- package/fesm2015/delon-chart-single-bar.mjs +147 -0
- package/fesm2015/delon-chart-single-bar.mjs.map +1 -0
- package/fesm2015/{tag-cloud.js → delon-chart-tag-cloud.mjs} +39 -26
- package/fesm2015/delon-chart-tag-cloud.mjs.map +1 -0
- package/fesm2015/{timeline.js → delon-chart-timeline.mjs} +64 -36
- package/fesm2015/delon-chart-timeline.mjs.map +1 -0
- package/fesm2015/delon-chart-trend.mjs +76 -0
- package/fesm2015/delon-chart-trend.mjs.map +1 -0
- package/fesm2015/{water-wave.js → delon-chart-water-wave.mjs} +38 -37
- package/fesm2015/delon-chart-water-wave.mjs.map +1 -0
- package/fesm2020/bar.mjs +168 -0
- package/fesm2020/bar.mjs.map +1 -0
- package/fesm2020/card.mjs +81 -0
- package/fesm2020/card.mjs.map +1 -0
- package/fesm2020/chart.mjs +7 -0
- package/fesm2020/chart.mjs.map +1 -0
- package/fesm2020/delon-chart-chart-echarts.mjs +242 -0
- package/fesm2020/delon-chart-chart-echarts.mjs.map +1 -0
- package/fesm2020/delon-chart-core.mjs +187 -0
- package/fesm2020/delon-chart-core.mjs.map +1 -0
- package/fesm2020/delon-chart-custom.mjs +94 -0
- package/fesm2020/delon-chart-custom.mjs.map +1 -0
- package/fesm2020/delon-chart-gauge.mjs +193 -0
- package/fesm2020/delon-chart-gauge.mjs.map +1 -0
- package/fesm2020/delon-chart-mini-area.mjs +156 -0
- package/fesm2020/delon-chart-mini-area.mjs.map +1 -0
- package/fesm2020/delon-chart-mini-bar.mjs +123 -0
- package/fesm2020/delon-chart-mini-bar.mjs.map +1 -0
- package/fesm2020/delon-chart-mini-progress.mjs +71 -0
- package/fesm2020/delon-chart-mini-progress.mjs.map +1 -0
- package/fesm2020/delon-chart-number-info.mjs +70 -0
- package/fesm2020/delon-chart-number-info.mjs.map +1 -0
- package/fesm2020/delon-chart-pie.mjs +241 -0
- package/fesm2020/delon-chart-pie.mjs.map +1 -0
- package/fesm2020/delon-chart-radar.mjs +174 -0
- package/fesm2020/delon-chart-radar.mjs.map +1 -0
- package/fesm2020/delon-chart-single-bar.mjs +149 -0
- package/fesm2020/delon-chart-single-bar.mjs.map +1 -0
- package/fesm2020/delon-chart-tag-cloud.mjs +185 -0
- package/fesm2020/delon-chart-tag-cloud.mjs.map +1 -0
- package/fesm2020/delon-chart-timeline.mjs +229 -0
- package/fesm2020/delon-chart-timeline.mjs.map +1 -0
- package/fesm2020/delon-chart-trend.mjs +76 -0
- package/fesm2020/delon-chart-trend.mjs.map +1 -0
- package/fesm2020/delon-chart-water-wave.mjs +245 -0
- package/fesm2020/delon-chart-water-wave.mjs.map +1 -0
- package/{mini-bar/mini-bar.d.ts → gauge/delon-chart-gauge.d.ts} +1 -0
- package/gauge/gauge.component.d.ts +8 -5
- package/gauge/gauge.module.d.ts +7 -0
- package/gauge/package.json +6 -7
- package/mini-area/delon-chart-mini-area.d.ts +5 -0
- package/mini-area/mini-area.component.d.ts +3 -1
- package/mini-area/mini-area.module.d.ts +6 -0
- package/mini-area/package.json +6 -7
- package/mini-bar/delon-chart-mini-bar.d.ts +5 -0
- package/mini-bar/mini-bar.component.d.ts +3 -0
- package/mini-bar/mini-bar.module.d.ts +6 -0
- package/mini-bar/package.json +6 -7
- package/mini-progress/delon-chart-mini-progress.d.ts +5 -0
- package/mini-progress/mini-progress.component.d.ts +6 -3
- package/mini-progress/mini-progress.module.d.ts +8 -0
- package/mini-progress/package.json +6 -7
- package/mini-progress/style/index.less +5 -0
- package/number-info/delon-chart-number-info.d.ts +5 -0
- package/number-info/number-info.component.d.ts +9 -6
- package/number-info/number-info.module.d.ts +8 -0
- package/number-info/package.json +6 -7
- package/number-info/style/index.less +12 -0
- package/package.json +160 -12
- package/{custom/g2Custom.d.ts → pie/delon-chart-pie.d.ts} +1 -0
- package/pie/package.json +6 -7
- package/pie/pie.component.d.ts +8 -5
- package/pie/pie.module.d.ts +9 -0
- package/pie/style/index.less +14 -0
- package/{gauge/gauge.d.ts → radar/delon-chart-radar.d.ts} +1 -0
- package/radar/package.json +6 -7
- package/radar/radar.component.d.ts +4 -1
- package/radar/radar.module.d.ts +9 -0
- package/radar/style/index.less +6 -0
- package/single-bar/delon-chart-single-bar.d.ts +5 -0
- package/single-bar/package.json +6 -7
- package/single-bar/single-bar.component.d.ts +4 -1
- package/single-bar/single-bar.module.d.ts +6 -0
- package/tag-cloud/delon-chart-tag-cloud.d.ts +5 -0
- package/tag-cloud/package.json +6 -7
- package/tag-cloud/tag-cloud.component.d.ts +3 -0
- package/tag-cloud/tag-cloud.module.d.ts +7 -0
- package/timeline/delon-chart-timeline.d.ts +5 -0
- package/timeline/package.json +6 -7
- package/timeline/timeline.component.d.ts +5 -2
- package/timeline/timeline.module.d.ts +8 -0
- package/{mini-area/mini-area.d.ts → trend/delon-chart-trend.d.ts} +1 -0
- package/trend/package.json +6 -7
- package/trend/style/index.less +6 -0
- package/trend/trend.component.d.ts +4 -1
- package/trend/trend.module.d.ts +7 -0
- package/water-wave/delon-chart-water-wave.d.ts +5 -0
- package/water-wave/package.json +6 -7
- package/water-wave/style/index.less +4 -0
- package/water-wave/water-wave.component.d.ts +5 -2
- package/water-wave/water-wave.module.d.ts +7 -0
- package/bar/bar.metadata.json +0 -1
- package/bundles/bar.umd.js +0 -471
- package/bundles/bar.umd.js.map +0 -1
- package/bundles/card.umd.js +0 -408
- package/bundles/card.umd.js.map +0 -1
- package/bundles/chart.umd.js +0 -19
- package/bundles/chart.umd.js.map +0 -1
- package/bundles/delon-chart-chart-echarts.umd.js +0 -617
- package/bundles/delon-chart-chart-echarts.umd.js.map +0 -1
- package/bundles/delon-chart-core.umd.js +0 -550
- package/bundles/delon-chart-core.umd.js.map +0 -1
- package/bundles/g2Custom.umd.js +0 -407
- package/bundles/g2Custom.umd.js.map +0 -1
- package/bundles/gauge.umd.js +0 -511
- package/bundles/gauge.umd.js.map +0 -1
- package/bundles/mini-area.umd.js +0 -474
- package/bundles/mini-area.umd.js.map +0 -1
- package/bundles/mini-bar.umd.js +0 -444
- package/bundles/mini-bar.umd.js.map +0 -1
- package/bundles/mini-progress.umd.js +0 -401
- package/bundles/mini-progress.umd.js.map +0 -1
- package/bundles/number-info.umd.js +0 -392
- package/bundles/number-info.umd.js.map +0 -1
- package/bundles/pie.umd.js +0 -567
- package/bundles/pie.umd.js.map +0 -1
- package/bundles/radar.umd.js +0 -497
- package/bundles/radar.umd.js.map +0 -1
- package/bundles/single-bar.umd.js +0 -464
- package/bundles/single-bar.umd.js.map +0 -1
- package/bundles/tag-cloud.umd.js +0 -495
- package/bundles/tag-cloud.umd.js.map +0 -1
- package/bundles/timeline.umd.js +0 -524
- package/bundles/timeline.umd.js.map +0 -1
- package/bundles/trend.umd.js +0 -391
- package/bundles/trend.umd.js.map +0 -1
- package/bundles/water-wave.umd.js +0 -587
- package/bundles/water-wave.umd.js.map +0 -1
- package/card/card.metadata.json +0 -1
- package/chart-echarts/delon-chart-chart-echarts.metadata.json +0 -1
- package/chart.metadata.json +0 -1
- package/core/delon-chart-core.metadata.json +0 -1
- package/custom/g2Custom.metadata.json +0 -1
- package/esm2015/bar/bar.component.js +0 -124
- package/esm2015/bar/bar.module.js +0 -16
- package/esm2015/card/card.component.js +0 -52
- package/esm2015/card/card.module.js +0 -17
- package/esm2015/chart-echarts/echarts.component.js +0 -152
- package/esm2015/chart-echarts/echarts.module.js +0 -15
- package/esm2015/chart-echarts/echarts.service.js +0 -64
- package/esm2015/core/g2.base.component.js +0 -110
- package/esm2015/core/g2.servicce.js +0 -58
- package/esm2015/core/utils.js +0 -15
- package/esm2015/custom/custom.component.js +0 -58
- package/esm2015/custom/custom.module.js +0 -15
- package/esm2015/custom/g2Custom.js +0 -5
- package/esm2015/gauge/gauge.component.js +0 -158
- package/esm2015/gauge/gauge.module.js +0 -15
- package/esm2015/mini-area/mini-area.component.js +0 -120
- package/esm2015/mini-area/mini-area.js +0 -5
- package/esm2015/mini-area/mini-area.module.js +0 -14
- package/esm2015/mini-bar/mini-bar.component.js +0 -90
- package/esm2015/mini-bar/mini-bar.js +0 -5
- package/esm2015/mini-bar/mini-bar.module.js +0 -14
- package/esm2015/mini-progress/mini-progress.component.js +0 -50
- package/esm2015/mini-progress/mini-progress.module.js +0 -16
- package/esm2015/number-info/number-info.component.js +0 -40
- package/esm2015/number-info/number-info.module.js +0 -16
- package/esm2015/pie/pie.component.js +0 -197
- package/esm2015/pie/pie.module.js +0 -17
- package/esm2015/radar/radar.component.js +0 -142
- package/esm2015/radar/radar.js +0 -5
- package/esm2015/radar/radar.module.js +0 -17
- package/esm2015/single-bar/single-bar.component.js +0 -111
- package/esm2015/single-bar/single-bar.js +0 -5
- package/esm2015/single-bar/single-bar.module.js +0 -14
- package/esm2015/tag-cloud/tag-cloud.component.js +0 -142
- package/esm2015/tag-cloud/tag-cloud.js +0 -5
- package/esm2015/tag-cloud/tag-cloud.module.js +0 -15
- package/esm2015/timeline/timeline.component.js +0 -178
- package/esm2015/timeline/timeline.js +0 -5
- package/esm2015/timeline/timeline.module.js +0 -16
- package/esm2015/trend/trend.component.js +0 -42
- package/esm2015/trend/trend.js +0 -5
- package/esm2015/trend/trend.module.js +0 -15
- package/esm2015/water-wave/water-wave.component.js +0 -224
- package/esm2015/water-wave/water-wave.js +0 -5
- package/esm2015/water-wave/water-wave.module.js +0 -15
- package/fesm2015/bar.js.map +0 -1
- package/fesm2015/card.js +0 -74
- package/fesm2015/card.js.map +0 -1
- package/fesm2015/chart.js.map +0 -1
- package/fesm2015/delon-chart-chart-echarts.js.map +0 -1
- package/fesm2015/delon-chart-core.js.map +0 -1
- package/fesm2015/g2Custom.js +0 -78
- package/fesm2015/g2Custom.js.map +0 -1
- package/fesm2015/gauge.js.map +0 -1
- package/fesm2015/mini-area.js +0 -139
- package/fesm2015/mini-area.js.map +0 -1
- package/fesm2015/mini-bar.js +0 -109
- package/fesm2015/mini-bar.js.map +0 -1
- package/fesm2015/mini-progress.js +0 -70
- package/fesm2015/mini-progress.js.map +0 -1
- package/fesm2015/number-info.js +0 -61
- package/fesm2015/number-info.js.map +0 -1
- package/fesm2015/pie.js +0 -219
- package/fesm2015/pie.js.map +0 -1
- package/fesm2015/radar.js.map +0 -1
- package/fesm2015/single-bar.js +0 -130
- package/fesm2015/single-bar.js.map +0 -1
- package/fesm2015/tag-cloud.js.map +0 -1
- package/fesm2015/timeline.js.map +0 -1
- package/fesm2015/trend.js +0 -62
- package/fesm2015/trend.js.map +0 -1
- package/fesm2015/water-wave.js.map +0 -1
- package/gauge/gauge.metadata.json +0 -1
- package/mini-area/mini-area.metadata.json +0 -1
- package/mini-bar/mini-bar.metadata.json +0 -1
- package/mini-progress/mini-progress.d.ts +0 -4
- package/mini-progress/mini-progress.metadata.json +0 -1
- package/number-info/number-info.d.ts +0 -4
- package/number-info/number-info.metadata.json +0 -1
- package/pie/pie.d.ts +0 -4
- package/pie/pie.metadata.json +0 -1
- package/radar/radar.d.ts +0 -4
- package/radar/radar.metadata.json +0 -1
- package/single-bar/single-bar.d.ts +0 -4
- package/single-bar/single-bar.metadata.json +0 -1
- package/tag-cloud/tag-cloud.d.ts +0 -4
- package/tag-cloud/tag-cloud.metadata.json +0 -1
- package/timeline/timeline.d.ts +0 -4
- package/timeline/timeline.metadata.json +0 -1
- package/trend/trend.d.ts +0 -4
- package/trend/trend.metadata.json +0 -1
- package/water-wave/water-wave.d.ts +0 -4
- package/water-wave/water-wave.metadata.json +0 -1
|
@@ -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
|
|
7
|
+
title?: string | TemplateRef<void> | null;
|
|
7
8
|
/** 子标题 */
|
|
8
|
-
subTitle
|
|
9
|
+
subTitle?: string | TemplateRef<void> | null;
|
|
9
10
|
/** 总量 */
|
|
10
|
-
total
|
|
11
|
+
total?: string | number | TemplateRef<void> | null;
|
|
11
12
|
/** 总量后缀 */
|
|
12
|
-
subTotal
|
|
13
|
+
subTotal?: string | number | TemplateRef<void> | null;
|
|
13
14
|
/** 子总量 */
|
|
14
|
-
suffix
|
|
15
|
+
suffix?: string | null;
|
|
15
16
|
/** 增加状态 */
|
|
16
|
-
status
|
|
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
|
}
|
package/number-info/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/number-info.
|
|
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": "
|
|
3
|
+
"version": "13.0.0-beta.1",
|
|
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.
|
|
30
|
-
"echarts": "^5.
|
|
31
|
-
"@delon/util": "^
|
|
32
|
-
"@delon/theme": "^
|
|
33
|
-
"tslib": "^2.
|
|
29
|
+
"@antv/g2": "^4.1.35",
|
|
30
|
+
"echarts": "^5.2.2",
|
|
31
|
+
"@delon/util": "^13.0.0-beta.1",
|
|
32
|
+
"@delon/theme": "^13.0.0-beta.1",
|
|
33
|
+
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"fesm2015": "fesm2015/chart.
|
|
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
|
-
"
|
|
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
|
}
|
package/pie/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/pie.
|
|
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
|
}
|
package/pie/pie.component.d.ts
CHANGED
|
@@ -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
|
|
40
|
-
total
|
|
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
|
|
46
|
+
percent?: number;
|
|
46
47
|
tooltip: boolean;
|
|
47
48
|
lineWidth: number;
|
|
48
49
|
blockMaxWidth: number;
|
|
49
50
|
select: boolean;
|
|
50
|
-
valueFormat
|
|
51
|
+
valueFormat?: (y: number) => string;
|
|
51
52
|
data: G2PieData[];
|
|
52
|
-
colors
|
|
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
|
}
|
package/pie/pie.module.d.ts
CHANGED
|
@@ -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
|
}
|
package/pie/style/index.less
CHANGED
|
@@ -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 {
|
package/radar/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/radar.
|
|
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
|
|
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
|
}
|
package/radar/radar.module.d.ts
CHANGED
|
@@ -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
|
}
|
package/radar/style/index.less
CHANGED
|
@@ -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;
|
package/single-bar/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/single-bar.
|
|
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
|
|
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
|
}
|