mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-23 21:10:33 +03:00
Can include a z-index in a bar's ganttBarConfig
This commit is contained in:
Generated
+5
@@ -3194,6 +3194,11 @@
|
|||||||
"minimist": "^1.2.5"
|
"minimist": "^1.2.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"moment": {
|
||||||
|
"version": "2.27.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.27.0.tgz",
|
||||||
|
"integrity": "sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ=="
|
||||||
|
},
|
||||||
"ms": {
|
"ms": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-ganttastic",
|
"name": "vue-ganttastic",
|
||||||
"version": "0.9.18",
|
"version": "0.9.19",
|
||||||
"description": "A simple and customizable Gantt chart component for Vue.js",
|
"description": "A simple and customizable Gantt chart component for Vue.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -33,5 +33,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"moment": "^2.26.0"
|
"moment": "^2.26.0"
|
||||||
},
|
},
|
||||||
"dependencies": {}
|
"dependencies": {
|
||||||
|
"moment": "^2.27.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -124,8 +124,8 @@ export default {
|
|||||||
...(this.barConfig || {}),
|
...(this.barConfig || {}),
|
||||||
left: `${xStart}px`,
|
left: `${xStart}px`,
|
||||||
width: `${xEnd - xStart}px`,
|
width: `${xEnd - xStart}px`,
|
||||||
height: `${this.ganttChartProps.rowHeight-6}px`,
|
height: `${this.ganttChartProps.rowHeight - 6}px`,
|
||||||
zIndex: this.isDragging ? 2 : 1
|
zIndex: this.barConfig.zIndex || (this.isDragging ? 2 : 1)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -134,7 +134,7 @@ export default {
|
|||||||
myStart: "2020-03-02 01:00",
|
myStart: "2020-03-02 01:00",
|
||||||
myEnd: "2020-03-02 07:00",
|
myEnd: "2020-03-02 07:00",
|
||||||
label: "Bar",
|
label: "Bar",
|
||||||
ganttBarConfig: {color:"white", backgroundColor: "#5effad", pushOnOverlap: false}
|
ganttBarConfig: {color:"white", backgroundColor: "#5effad", pushOnOverlap: false, zIndex: 3}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
myStart: "2020-03-03 14:00",
|
myStart: "2020-03-03 14:00",
|
||||||
|
|||||||
Reference in New Issue
Block a user