Skip to content

Commit 2fbbc51

Browse files
committed
rebuild
1 parent 72214d8 commit 2fbbc51

5 files changed

Lines changed: 45 additions & 19 deletions

File tree

dist/v-gantt-chart.common.js

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3918,8 +3918,8 @@ if (typeof window !== 'undefined') {
39183918
// Indicate to webpack that this file can be concatenated
39193919
/* harmony default export */ var setPublicPath = (null);
39203920

3921-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=665eaa46&
3922-
var ganttvue_type_template_id_665eaa46_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gantt-chart",on:{"&wheel":function($event){return _vm.wheelHandle($event)},"&touchstart":function($event){return _vm.touchStartHandle($event)},"&touchmove":function($event){return _vm.touchMoveHandle($event)},"&touchend":function($event){return _vm.touchEndHandle($event)}}},[_c('div',{staticClass:"gantt-container",style:({
3921+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=aba8616c&
3922+
var ganttvue_type_template_id_aba8616c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gantt-chart",on:{"&wheel":function($event){return _vm.wheelHandle($event)},"&touchstart":function($event){return _vm.touchStartHandle($event)},"&touchmove":function($event){return _vm.touchMoveHandle($event)},"&touchend":function($event){return _vm.touchEndHandle($event)}}},[_c('div',{staticClass:"gantt-container",style:({
39233923
height: ("calc(100% - " + _vm.scrollXBarHeight + "px)"),
39243924
width: ("calc(100% - " + _vm.scrollYBarWidth + "px)")
39253925
})},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.hideHeader),expression:"!hideHeader"}],staticClass:"gantt-header",style:({ width: ("calc(100% + " + _vm.scrollYBarWidth + "px)") })},[_c('div',{staticClass:"gantt-header-title",style:({
@@ -3958,7 +3958,7 @@ return [_vm._t("block",null,{"data":data,"getPositonOffset":getPositonOffset,"ge
39583958
var staticRenderFns = []
39593959

39603960

3961-
// CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=665eaa46&
3961+
// CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=aba8616c&
39623962

39633963
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
39643964
var es_array_concat = __webpack_require__("99af");
@@ -5730,6 +5730,8 @@ var blocks_component = normalizeComponent(
57305730
},
57315731
methods: {
57325732
scrollToTimehandle: function scrollToTimehandle(newV) {
5733+
var _this2 = this;
5734+
57335735
if (!newV) {
57345736
return;
57355737
}
@@ -5744,9 +5746,13 @@ var blocks_component = normalizeComponent(
57445746
}
57455747

57465748
var offset = this.getPositonOffset(newV);
5747-
this.$nextTick(this.manualScroll(offset));
5749+
this.$nextTick(function () {
5750+
_this2.manualScroll(offset);
5751+
});
57485752
},
57495753
scrollToPositionHandle: function scrollToPositionHandle(newV) {
5754+
var _this3 = this;
5755+
57505756
if (!newV) {
57515757
return;
57525758
}
@@ -5755,11 +5761,15 @@ var blocks_component = normalizeComponent(
57555761
var y = Number.parseFloat(newV.y);
57565762

57575763
if (!Number.isNaN(x) && x !== this.scrollLeft) {
5758-
this.$nextTick(this.manualScroll(x));
5764+
this.$nextTick(function () {
5765+
_this3.manualScroll(x);
5766+
});
57595767
}
57605768

57615769
if (!Number.isNaN(y) && y !== this.scrollTop) {
5762-
this.$nextTick(this.manualScroll(undefined, y));
5770+
this.$nextTick(function () {
5771+
_this3.manualScroll(undefined, y);
5772+
});
57635773
}
57645774
},
57655775
scrollToPostionHandle: function scrollToPostionHandle(newV) {
@@ -5911,7 +5921,7 @@ var ganttvue_type_style_index_0_lang_scss_ = __webpack_require__("c3ab");
59115921

59125922
var gantt_component = normalizeComponent(
59135923
src_ganttvue_type_script_lang_js_,
5914-
ganttvue_type_template_id_665eaa46_render,
5924+
ganttvue_type_template_id_aba8616c_render,
59155925
staticRenderFns,
59165926
false,
59175927
null,

dist/v-gantt-chart.umd.js

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3927,8 +3927,8 @@ if (typeof window !== 'undefined') {
39273927
// Indicate to webpack that this file can be concatenated
39283928
/* harmony default export */ var setPublicPath = (null);
39293929

3930-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=665eaa46&
3931-
var ganttvue_type_template_id_665eaa46_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gantt-chart",on:{"&wheel":function($event){return _vm.wheelHandle($event)},"&touchstart":function($event){return _vm.touchStartHandle($event)},"&touchmove":function($event){return _vm.touchMoveHandle($event)},"&touchend":function($event){return _vm.touchEndHandle($event)}}},[_c('div',{staticClass:"gantt-container",style:({
3930+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=aba8616c&
3931+
var ganttvue_type_template_id_aba8616c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gantt-chart",on:{"&wheel":function($event){return _vm.wheelHandle($event)},"&touchstart":function($event){return _vm.touchStartHandle($event)},"&touchmove":function($event){return _vm.touchMoveHandle($event)},"&touchend":function($event){return _vm.touchEndHandle($event)}}},[_c('div',{staticClass:"gantt-container",style:({
39323932
height: ("calc(100% - " + _vm.scrollXBarHeight + "px)"),
39333933
width: ("calc(100% - " + _vm.scrollYBarWidth + "px)")
39343934
})},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.hideHeader),expression:"!hideHeader"}],staticClass:"gantt-header",style:({ width: ("calc(100% + " + _vm.scrollYBarWidth + "px)") })},[_c('div',{staticClass:"gantt-header-title",style:({
@@ -3967,7 +3967,7 @@ return [_vm._t("block",null,{"data":data,"getPositonOffset":getPositonOffset,"ge
39673967
var staticRenderFns = []
39683968

39693969

3970-
// CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=665eaa46&
3970+
// CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=aba8616c&
39713971

39723972
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
39733973
var es_array_concat = __webpack_require__("99af");
@@ -5739,6 +5739,8 @@ var blocks_component = normalizeComponent(
57395739
},
57405740
methods: {
57415741
scrollToTimehandle: function scrollToTimehandle(newV) {
5742+
var _this2 = this;
5743+
57425744
if (!newV) {
57435745
return;
57445746
}
@@ -5753,9 +5755,13 @@ var blocks_component = normalizeComponent(
57535755
}
57545756

57555757
var offset = this.getPositonOffset(newV);
5756-
this.$nextTick(this.manualScroll(offset));
5758+
this.$nextTick(function () {
5759+
_this2.manualScroll(offset);
5760+
});
57575761
},
57585762
scrollToPositionHandle: function scrollToPositionHandle(newV) {
5763+
var _this3 = this;
5764+
57595765
if (!newV) {
57605766
return;
57615767
}
@@ -5764,11 +5770,15 @@ var blocks_component = normalizeComponent(
57645770
var y = Number.parseFloat(newV.y);
57655771

57665772
if (!Number.isNaN(x) && x !== this.scrollLeft) {
5767-
this.$nextTick(this.manualScroll(x));
5773+
this.$nextTick(function () {
5774+
_this3.manualScroll(x);
5775+
});
57685776
}
57695777

57705778
if (!Number.isNaN(y) && y !== this.scrollTop) {
5771-
this.$nextTick(this.manualScroll(undefined, y));
5779+
this.$nextTick(function () {
5780+
_this3.manualScroll(undefined, y);
5781+
});
57725782
}
57735783
},
57745784
scrollToPostionHandle: function scrollToPostionHandle(newV) {
@@ -5920,7 +5930,7 @@ var ganttvue_type_style_index_0_lang_scss_ = __webpack_require__("c3ab");
59205930

59215931
var gantt_component = normalizeComponent(
59225932
src_ganttvue_type_script_lang_js_,
5923-
ganttvue_type_template_id_665eaa46_render,
5933+
ganttvue_type_template_id_aba8616c_render,
59245934
staticRenderFns,
59255935
false,
59265936
null,

dist/v-gantt-chart.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v-gantt-chart",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"description": "display gantt-like vaule,like use this to order bus schedule.",
55
"main": "dist/v-gantt-chart.umd.min.js",
66
"files": [

src/gantt.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,9 @@ export default {
490490
return;
491491
}
492492
const offset = this.getPositonOffset(newV);
493-
this.$nextTick(_ => {this.manualScroll(offset)});
493+
this.$nextTick(() => {
494+
this.manualScroll(offset);
495+
});
494496
},
495497
scrollToPositionHandle(newV) {
496498
if (!newV) {
@@ -499,10 +501,14 @@ export default {
499501
const x = Number.parseFloat(newV.x);
500502
const y = Number.parseFloat(newV.y);
501503
if (!Number.isNaN(x) && x !== this.scrollLeft) {
502-
this.$nextTick(_ => {this.manualScroll(x)});
504+
this.$nextTick(() => {
505+
this.manualScroll(x);
506+
});
503507
}
504508
if (!Number.isNaN(y) && y !== this.scrollTop) {
505-
this.$nextTick(_ => {this.manualScroll(undefined, y)});
509+
this.$nextTick(() => {
510+
this.manualScroll(undefined, y);
511+
});
506512
}
507513
},
508514
scrollToPostionHandle(newV) {

0 commit comments

Comments
 (0)