Skip to content
Open

Dev #324

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
0548544
update dist
jiaming743 May 6, 2020
65f5b52
fix id errors
1995hjh May 15, 2020
f0432e4
update uuid
1995hjh May 16, 2020
71a9be2
Use uuid to produce unique id
jiaming743 May 25, 2020
e938b66
update dist and lib
jiaming743 May 25, 2020
c82b979
update change log
jiaming743 May 25, 2020
dde29fa
update version to 2.8.4
jiaming743 May 25, 2020
5399179
update dist and lib
jiaming743 May 25, 2020
4a7fdf0
Merge branch 'pr/83'
jiaming743 May 25, 2020
7dd7bae
merge branch pr/83
jiaming743 May 25, 2020
eea32d7
merge branch pr/83
jiaming743 May 25, 2020
934e3f3
Merge branch 'master' of https://github.com/DataV-Team/Datav
jiaming743 May 25, 2020
ea058a9
feature / 新增轮播表的鼠标悬停配置 hoverPause
knightgao Jun 9, 2020
1d0f369
optmization
jiaming743 Jun 10, 2020
4f6fc24
update change log
jiaming743 Jun 10, 2020
330815d
update version to 2.9.0
jiaming743 Jun 10, 2020
3d3de76
update dist and lib
jiaming743 Jun 10, 2020
e7c237c
ativeRingChart: optimize method calcRowsData
Jun 12, 2020
5f3fdfc
add number formatter
jiaming743 Jun 16, 2020
b173994
Merge branch 'pr/101'
jiaming743 Jun 16, 2020
beaef5c
optmization
jiaming743 Jun 16, 2020
e270fad
update change log
jiaming743 Jun 16, 2020
3f5148c
update version to 2.9.1
jiaming743 Jun 16, 2020
f581aee
update changelog
jiaming743 Jun 16, 2020
a287568
update dist and lib
jiaming743 Jun 16, 2020
7491b34
bug fixes: reset animationIndex when config upate
jiaming743 Jun 16, 2020
1ea106f
update change log
jiaming743 Jun 16, 2020
86da84a
update version to 2.9.2
jiaming743 Jun 16, 2020
9b84417
update dist and lib
jiaming743 Jun 16, 2020
026d913
Optimize uuid
jiaming743 Jul 2, 2020
2b06940
update change log
jiaming743 Jul 2, 2020
abba9ad
update version to 2.9.3
jiaming743 Jul 2, 2020
9318431
update dist and lib
jiaming743 Jul 2, 2020
feada8a
Optimize key value
jiaming743 Jul 3, 2020
c32d396
update change log
jiaming743 Jul 3, 2020
6139b5d
update version to 2.9.4
jiaming743 Jul 3, 2020
e0bd760
update dist and lib
jiaming743 Jul 3, 2020
58d27bc
update version to 2.9.5
jiaming743 Aug 5, 2020
60247e5
update change log
jiaming743 Aug 5, 2020
32b9757
Optmization: Reduce redundant node rendering
jiaming743 Aug 5, 2020
536ded2
update dist and lib
jiaming743 Aug 5, 2020
c3211c3
Merge branch 'master' of https://github.com/DataV-Team/Datav
jiaming743 Aug 5, 2020
16013c0
update dist
jiaming743 Aug 5, 2020
be97afe
fix: Carousel is abnormal when carousel is page
jiaming743 Aug 5, 2020
dd512c0
update change log
jiaming743 Aug 5, 2020
731d89f
update version to 2.9.6
jiaming743 Aug 5, 2020
1e76c1c
update dist and lib
jiaming743 Aug 5, 2020
051cb8f
:bug:fix在dv-border-box-8下的dv-decoration定位问题
KaneLeung Aug 17, 2020
c5ff0cd
update version to 2.9.7
jiaming743 Aug 19, 2020
1c7e03b
update change log
jiaming743 Aug 19, 2020
e67b4d5
Optimize the update effect of updateRows.
jiaming743 Aug 19, 2020
1082be1
update dist and lib
jiaming743 Aug 19, 2020
687ccfa
uodate change log
jiaming743 Aug 19, 2020
6630bc1
update change log
jiaming743 Aug 20, 2020
30a3433
update version to 2.9.8
jiaming743 Aug 20, 2020
751eb2f
srollRankingBoard: Add value formatter
jiaming743 Aug 20, 2020
918653c
Canonical class name
jiaming743 Aug 25, 2020
d889978
Merge branch 'pr/126'
jiaming743 Aug 25, 2020
1db9bd4
Canonical class name
jiaming743 Aug 25, 2020
c8fb359
Add exception prompt
jiaming743 Aug 25, 2020
58e538b
update change log
jiaming743 Aug 25, 2020
3b4d6fa
update version to 2.9.9
jiaming743 Aug 25, 2020
654c461
update dist and lib
jiaming743 Aug 25, 2020
baeafe2
add Decoration 12
jiaming743 Sep 9, 2020
840fd8e
add unit config
jiaming743 Sep 9, 2020
40f22d3
add dur config
jiaming743 Sep 9, 2020
2854164
prettier
jiaming743 Sep 9, 2020
fdd1117
update change log
jiaming743 Sep 9, 2020
ebf1354
update dist and lib
jiaming743 Sep 9, 2020
f1fc0b3
update version to 2.10.0
jiaming743 Sep 9, 2020
8204ba8
删除冗余的renderer判断
bfrontend Nov 16, 2021
417ade7
Merge pull request #235 from webxmsj/fix-delredundant
xixileng Jul 6, 2023
3d10e93
fix: 修改setAppScale方法,获取宽高比最小的一个值做transform变换
ZHDLFFY Jun 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 87 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
# 2.10.0-alpha (2020-09-09)

### New

- **decoration12:** New decoration(Radar scan).

### Optmization

- **decoration** add `dur` configuration.
- **activeRingChart** add `digitalFlopUnit` configuration.

# 2.9.9-alpha (2020-08-25)

### Optmization

- **borderBox:** Canonical class name.
- **autoResize(mixin):** Add exception prompt.

# 2.9.8-alpha (2020-08-20)

### Optmization

- **scrollRankingBoard:** Add value formatter.

# 2.9.7-alpha (2020-08-19)

### Optmization

- **scrollBoard:** Optimize the update effect of updateRows.

# 2.9.6-alpha (2020-08-05)

### Bug Fixes

- **scrollBoard:** Carousel is abnormal when carousel is page.
- **scrollRankingBoard:** Carousel is abnormal when carousel is page.

# 2.9.5-alpha (2020-08-05)

### Optmization

- **scrollBoard:** Reduce redundant node rendering.
- **scrollRankingBoard:** Reduce redundant node rendering.
- **scrollBoard:** Add api to update row data.

# 2.9.4-alpha (2020-07-03)

### Optmization

- **scrollBoard:** Optimize key value [(#8)](https://github.com/DataV-Team/DataV-React/issues/8).

# 2.9.3-alpha (2020-07-02)

### Perfect

- **uuid:** Optimization of `-` in uuid will cause abnormal svg animation [(#108)](https://github.com/DataV-Team/DataV/issues/108).

# 2.9.2-alpha (2020-06-16)

### Bug Fixes

- **scrollBoard:** reset animationIndex when config upate.

# 2.9.1-alpha (2020-06-16)

### Bug Fixes

- **scrollRankingBoard:** Calculation optimization of negative values [(#101)](https://github.com/DataV-Team/DataV/pull/101).

### Perfect

- **digitalFlop:** add number formatter.

# 2.9.0-alpha (2020-06-10)

### ScrollBoard

- **hoverPause:** add `hoverPause` configuration [(#96)](https://github.com/DataV-Team/DataV/pull/96).
- **mouseover:** add `mouseover` event [(#96)](https://github.com/DataV-Team/DataV/pull/96).

# 2.8.4-alpha (2020-05-25)

### Perfect

- **uuid:** Use uuid to produce unique id.

# 2.8.3-alpha (2020-05-06)

### Perfect
Expand Down Expand Up @@ -83,7 +169,7 @@

# 2.4.7-alpha (2019-10-24)

### perfect
### Perfect

- **charts:** Optimize memory leaks.
- **digitalFlop:** Optimize memory leaks.
Expand Down
1,482 changes: 1,004 additions & 478 deletions dist/datav.map.vue.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/datav.min.vue.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions lib/components/activeRingChart/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ export default {
* @type {Number}
*/
digitalFlopToFixed: 0,
/**
* @description Digital flop unit
* @type {String}
*/
digitalFlopUnit: '',
/**
* @description CRender animationCurve
* @type {String}
Expand Down Expand Up @@ -122,7 +127,8 @@ export default {
digitalFlopStyle,
digitalFlopToFixed,
data,
showOriginValue
showOriginValue,
digitalFlopUnit
} = mergedConfig

const value = data.map(({ value }) => value)
Expand All @@ -140,7 +146,7 @@ export default {
}

return {
content: showOriginValue ? '{nt}' : '{nt}%',
content: showOriginValue ? `{nt}${digitalFlopUnit}` : `{nt}${digitalFlopUnit || '%'}`,
number: [displayValue],
style: digitalFlopStyle,
toFixed: digitalFlopToFixed
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox10/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
height: 100%;
border-radius: 6px;
}
.dv-border-box-10 .border {
.dv-border-box-10 .dv-border-svg-container {
position: absolute;
display: block;
}
Expand Down
4 changes: 2 additions & 2 deletions lib/components/borderBox10/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-10" :ref="ref" :style="`box-shadow: inset 0 0 25px 3px ${mergedColor[0]}`">
<svg class="border" :width="width" :height="height">
<svg class="dv-border-svg-container" :width="width" :height="height">
<polygon :fill="backgroundColor" :points="`
4, 0 ${width - 4}, 0 ${width}, 4 ${width}, ${height - 4} ${width - 4}, ${height}
4, ${height} 0, ${height - 4} 0, 4
Expand All @@ -12,7 +12,7 @@
height="150px"
:key="item"
v-for="item in border"
:class="`${item} border`"
:class="`${item} dv-border-svg-container`"
>
<polygon
:fill="mergedColor[1]"
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox11/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
top: 0px;
left: 0px;
}
.dv-border-box-11 .dv-border-svg-container polyline {
.dv-border-box-11 .dv-border-svg-container > polyline {
fill: none;
stroke-width: 1;
}
Expand Down
5 changes: 3 additions & 2 deletions lib/components/borderBox11/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@

<script>
import autoResize from '../../../mixin/autoResize'
import { uuid } from '../../../util/index'

import { deepMerge } from '@jiaminghi/charts/lib/util/index'

Expand Down Expand Up @@ -245,10 +246,10 @@ export default {
}
},
data () {
const timestamp = Date.now()
const id = uuid()
return {
ref: 'border-box-11',
filterId: `border-box-11-filterId-${timestamp}`,
filterId: `border-box-11-filterId-${id}`,

defaultColor: ['#8aaafb', '#1f33a2'],

Expand Down
5 changes: 3 additions & 2 deletions lib/components/borderBox12/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@

<script>
import autoResize from '../../../mixin/autoResize'
import { uuid } from '../../../util/index'

import { deepMerge } from '@jiaminghi/charts/lib/util/index'

Expand All @@ -113,10 +114,10 @@ export default {
}
},
data () {
const timestamp = +new Date()
const id = uuid()
return {
ref: 'border-box-12',
filterId: `borderr-box-12-filterId-${timestamp}`,
filterId: `borderr-box-12-filterId-${id}`,

defaultColor: ['#2e6099', '#7ce7fd'],

Expand Down
1 change: 0 additions & 1 deletion lib/components/borderBox13/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default {
}
},
data () {
const timestamp = +new Date()
return {
ref: 'border-box-13',

Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox2/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
top: 0px;
left: 0px;
}
.dv-border-box-2 .dv-border-svg-container polyline {
.dv-border-box-2 .dv-border-svg-container > polyline {
fill: none;
stroke-width: 1;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox3/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
top: 0px;
left: 0px;
}
.dv-border-box-3 .dv-border-svg-container polyline {
.dv-border-box-3 .dv-border-svg-container > polyline {
fill: none;
}
.dv-border-box-3 .dv-bb3-line1 {
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox4/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
top: 0px;
left: 0px;
}
.dv-border-box-4 .dv-border-svg-container polyline {
.dv-border-box-4 .dv-border-svg-container > polyline {
fill: none;
}
.dv-border-box-4 .sw1 {
Expand Down
4 changes: 2 additions & 2 deletions lib/components/borderBox5/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
.dv-border-box-5 .dv-reverse {
transform: rotate(180deg);
}
.dv-border-box-5 .dv-svg-container {
.dv-border-box-5 .dv-border-svg-container {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.dv-border-box-5 .dv-svg-container polyline {
.dv-border-box-5 .dv-border-svg-container > polyline {
fill: none;
}
.dv-border-box-5 .dv-bb5-line-1,
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox5/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-5" :ref="ref">
<svg :class="`dv-svg-container ${reverse && 'dv-reverse'}`" :width="width" :height="height">
<svg :class="`dv-border-svg-container ${reverse && 'dv-reverse'}`" :width="width" :height="height">
<polygon :fill="backgroundColor" :points="`
10, 22 ${width - 22}, 22 ${width - 22}, ${height - 86} ${width - 84}, ${height - 24} 10, ${height - 24}
`" />
Expand Down
4 changes: 2 additions & 2 deletions lib/components/borderBox6/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
width: 100%;
height: 100%;
}
.dv-border-box-6 .dv-svg-container {
.dv-border-box-6 .dv-border-svg-container {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.dv-border-box-6 .dv-svg-container polyline {
.dv-border-box-6 .dv-border-svg-container > polyline {
fill: none;
stroke-width: 1;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox6/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-6" :ref="ref">
<svg class="dv-svg-container" :width="width" :height="height">
<svg class="dv-border-svg-container" :width="width" :height="height">
<polygon :fill="backgroundColor" :points="`
9, 7 ${width - 9}, 7 ${width - 9}, ${height - 7} 9, ${height - 7}
`" />
Expand Down
4 changes: 2 additions & 2 deletions lib/components/borderBox7/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
width: 100%;
height: 100%;
}
.dv-border-box-7 .dv-svg-container {
.dv-border-box-7 .dv-border-svg-container {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.dv-border-box-7 .dv-svg-container polyline {
.dv-border-box-7 .dv-border-svg-container > polyline {
fill: none;
stroke-linecap: round;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox7/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:style="`box-shadow: inset 0 0 40px ${mergedColor[0]}; border: 1px solid ${mergedColor[0]}; background-color: ${backgroundColor}`"
:ref="ref"
>
<svg class="dv-svg-container" :width="width" :height="height">
<svg class="dv-border-svg-container" :width="width" :height="height">
<polyline class="dv-bb7-line-width-2" :stroke="mergedColor[0]" :points="`0, 25 0, 0 25, 0`" />
<polyline class="dv-bb7-line-width-2" :stroke="mergedColor[0]" :points="`${width - 25}, 0 ${width}, 0 ${width}, 25`" />
<polyline class="dv-bb7-line-width-2" :stroke="mergedColor[0]" :points="`${width - 25}, ${height} ${width}, ${height} ${width}, ${height - 25}`" />
Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox8/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
width: 100%;
height: 100%;
}
.dv-border-box-8 svg {
.dv-border-box-8 .dv-border-svg-container {
position: absolute;
width: 100%;
height: 100%;
Expand Down
11 changes: 6 additions & 5 deletions lib/components/borderBox8/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-8" :ref="ref">
<svg class="dv-svg-container" :width="width" :height="height">
<svg class="dv-border-svg-container" :width="width" :height="height">
<defs>
<path
:id="path"
Expand Down Expand Up @@ -65,6 +65,7 @@

<script>
import autoResize from '../../../mixin/autoResize'
import { uuid } from '../../../util/index'

import { deepMerge } from '@jiaminghi/charts/lib/util/index'

Expand Down Expand Up @@ -92,12 +93,12 @@ export default {
}
},
data () {
const timestamp = Date.now()
const id = uuid()
return {
ref: 'border-box-8',
path: `border-box-8-path-${timestamp}`,
gradient: `border-box-8-gradient-${timestamp}`,
mask: `border-box-8-mask-${timestamp}`,
path: `border-box-8-path-${id}`,
gradient: `border-box-8-gradient-${id}`,
mask: `border-box-8-mask-${id}`,

defaultColor: ['#235fa7', '#4fd2dd'],

Expand Down
2 changes: 1 addition & 1 deletion lib/components/borderBox9/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
width: 100%;
height: 100%;
}
.dv-border-box-9 svg {
.dv-border-box-9 .dv-border-svg-container {
position: absolute;
width: 100%;
height: 100%;
Expand Down
Loading