gant-board 1.0.57 → 1.0.59
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.
|
@@ -2855,22 +2855,6 @@ module.exports = function (NAME) {
|
|
|
2855
2855
|
};
|
|
2856
2856
|
|
|
2857
2857
|
|
|
2858
|
-
/***/ }),
|
|
2859
|
-
|
|
2860
|
-
/***/ "74ae":
|
|
2861
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2862
|
-
|
|
2863
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2864
|
-
|
|
2865
|
-
// load the styles
|
|
2866
|
-
var content = __webpack_require__("e9a6");
|
|
2867
|
-
if(content.__esModule) content = content.default;
|
|
2868
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2869
|
-
if(content.locals) module.exports = content.locals;
|
|
2870
|
-
// add the styles to the DOM
|
|
2871
|
-
var add = __webpack_require__("499e").default
|
|
2872
|
-
var update = add("46a0eef0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2873
|
-
|
|
2874
2858
|
/***/ }),
|
|
2875
2859
|
|
|
2876
2860
|
/***/ "7839":
|
|
@@ -4968,17 +4952,6 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
4968
4952
|
};
|
|
4969
4953
|
|
|
4970
4954
|
|
|
4971
|
-
/***/ }),
|
|
4972
|
-
|
|
4973
|
-
/***/ "a9a2":
|
|
4974
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4975
|
-
|
|
4976
|
-
"use strict";
|
|
4977
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_adbac98a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("74ae");
|
|
4978
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_adbac98a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_adbac98a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
4979
|
-
/* unused harmony reexport * */
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
4955
|
/***/ }),
|
|
4983
4956
|
|
|
4984
4957
|
/***/ "ac1f":
|
|
@@ -5982,6 +5955,22 @@ module.exports = function (V, P) {
|
|
|
5982
5955
|
};
|
|
5983
5956
|
|
|
5984
5957
|
|
|
5958
|
+
/***/ }),
|
|
5959
|
+
|
|
5960
|
+
/***/ "dccf":
|
|
5961
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5962
|
+
|
|
5963
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
5964
|
+
|
|
5965
|
+
// load the styles
|
|
5966
|
+
var content = __webpack_require__("f837");
|
|
5967
|
+
if(content.__esModule) content = content.default;
|
|
5968
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
5969
|
+
if(content.locals) module.exports = content.locals;
|
|
5970
|
+
// add the styles to the DOM
|
|
5971
|
+
var add = __webpack_require__("499e").default
|
|
5972
|
+
var update = add("17e3ac2d", content, true, {"sourceMap":false,"shadowMode":false});
|
|
5973
|
+
|
|
5985
5974
|
/***/ }),
|
|
5986
5975
|
|
|
5987
5976
|
/***/ "ddb0":
|
|
@@ -6683,6 +6672,17 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6683
6672
|
});
|
|
6684
6673
|
|
|
6685
6674
|
|
|
6675
|
+
/***/ }),
|
|
6676
|
+
|
|
6677
|
+
/***/ "e850":
|
|
6678
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6679
|
+
|
|
6680
|
+
"use strict";
|
|
6681
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_ebb8da5c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dccf");
|
|
6682
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_ebb8da5c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gant_board_vue_vue_type_style_index_0_id_ebb8da5c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
6683
|
+
/* unused harmony reexport * */
|
|
6684
|
+
|
|
6685
|
+
|
|
6686
6686
|
/***/ }),
|
|
6687
6687
|
|
|
6688
6688
|
/***/ "e893":
|
|
@@ -6736,20 +6736,6 @@ module.exports = function (it) {
|
|
|
6736
6736
|
};
|
|
6737
6737
|
|
|
6738
6738
|
|
|
6739
|
-
/***/ }),
|
|
6740
|
-
|
|
6741
|
-
/***/ "e9a6":
|
|
6742
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6743
|
-
|
|
6744
|
-
// Imports
|
|
6745
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6746
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6747
|
-
// Module
|
|
6748
|
-
exports.push([module.i, ".events-container[data-v-adbac98a]{height:200px;height:100%;position:relative}.event .event_drag[data-v-adbac98a]{min-width:10px}.event_title[data-v-adbac98a]{flex-grow:1;text-align:start;min-width:0;font-size:12px}.event[data-v-adbac98a]:hover{box-shadow:0 1px 4px rgba(0,0,0,.16)}.hide[data-v-adbac98a]{min-width:55px!important}.hide_segment[data-v-adbac98a]{--translate-x:0px!important}.noselect[data-v-adbac98a]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.by-scroll-container[data-v-adbac98a]::-webkit-scrollbar-track{background-color:#fff}.by-scroll-container[data-v-adbac98a]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.by-scroll-container[data-v-adbac98a]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#999}", ""]);
|
|
6749
|
-
// Exports
|
|
6750
|
-
module.exports = exports;
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
6739
|
/***/ }),
|
|
6754
6740
|
|
|
6755
6741
|
/***/ "f069":
|
|
@@ -6935,6 +6921,20 @@ module.exports = function (key) {
|
|
|
6935
6921
|
};
|
|
6936
6922
|
|
|
6937
6923
|
|
|
6924
|
+
/***/ }),
|
|
6925
|
+
|
|
6926
|
+
/***/ "f837":
|
|
6927
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6928
|
+
|
|
6929
|
+
// Imports
|
|
6930
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6931
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6932
|
+
// Module
|
|
6933
|
+
exports.push([module.i, ".events-container[data-v-ebb8da5c]{height:200px;height:100%;position:relative}.event .event_drag[data-v-ebb8da5c]{min-width:10px}.event_title[data-v-ebb8da5c]{flex-grow:1;text-align:start;min-width:0;font-size:12px}.event[data-v-ebb8da5c]:hover{box-shadow:0 1px 4px rgba(0,0,0,.16)}.hide[data-v-ebb8da5c]{min-width:55px!important}.hide_segment[data-v-ebb8da5c]{--translate-x:0px!important}.noselect[data-v-ebb8da5c]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.by-scroll-container[data-v-ebb8da5c]::-webkit-scrollbar-track{background-color:#fff}.by-scroll-container[data-v-ebb8da5c]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.by-scroll-container[data-v-ebb8da5c]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#999}", ""]);
|
|
6934
|
+
// Exports
|
|
6935
|
+
module.exports = exports;
|
|
6936
|
+
|
|
6937
|
+
|
|
6938
6938
|
/***/ }),
|
|
6939
6939
|
|
|
6940
6940
|
/***/ "fae3":
|
|
@@ -6971,12 +6971,12 @@ if (typeof window !== 'undefined') {
|
|
|
6971
6971
|
// Indicate to webpack that this file can be concatenated
|
|
6972
6972
|
/* harmony default export */ var setPublicPath = (null);
|
|
6973
6973
|
|
|
6974
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"97bd78b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gant-board.vue?vue&type=template&id=
|
|
6975
|
-
var
|
|
6974
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"97bd78b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gant-board.vue?vue&type=template&id=ebb8da5c&scoped=true&
|
|
6975
|
+
var gant_boardvue_type_template_id_ebb8da5c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options.from_start != null)?_c('div',{staticStyle:{"width":"100%","height":"100%","position":"relative","overflow":"hidden"}},[(_vm.options.from_start != null)?_c('div',{ref:"scroll_container_wrapper",staticClass:"by-scroll-container",staticStyle:{"width":"100%","display":"flex","position":"relative","overflow-x":"scroll","overflow-y":"scroll","height":"100%"}},[_c('grid-sidebar',{attrs:{"container_height":_vm.container_height,"segment_view":_vm.segment_view,"render_segments":_vm.render_segments},on:{"update:segment_view":function($event){_vm.segment_view = $event}}}),_c('div',{staticStyle:{"position":"relative","z-index":"1"},style:({ 'height': _vm.container_height + 'px' })},[_c('div'),_c('grid-header',{staticStyle:{"top":"0px","position":"sticky"},style:({ width: _vm.options.day_width * _vm.days_number + 'px' }),attrs:{"match_exact_color":_vm.match_exact_color,"background_colors":_vm.background_colors,"days_number":_vm.days_number,"options":_vm.options,"months":_vm.months}}),_c('div',{ref:"container_wrapper",staticClass:"events-container",staticStyle:{"position":"absolute","top":"40px"},style:({ width: _vm.options.day_width * _vm.days_number + 'px', 'height': _vm.container_height + 'px' }),on:{"mousemove":function($event){return _vm.moveEvent($event)},"mouseup":function($event){return _vm.endDrag($event)},"mousedown":function($event){$event.stopPropagation();return _vm.startDrag(null, $event, null)}}},[_vm._l((_vm.render_segments),function(segment){return _c('div',{key:segment.key.team_id + segment.key.team_type,staticStyle:{"position":"absolute","border-bottom":"1px solid #eeeeee","width":"100%"},style:({ 'background-color': segment.key.color, 'top': segment.top + 'px', 'height': segment.height + 'px' })},[_c('grid-view',{ref:'grid_view_'+segment.key.team_id + segment.key.team_type,refInFor:true,staticStyle:{"height":"100%","top":"0px","position":"absolute"},style:({ width: _vm.options.day_width * _vm.days_number + 'px' }),attrs:{"days_number":_vm.days_number,"options":_vm.options,"months":_vm.months,"segment":segment,"match_exact_color":_vm.match_exact_color,"background_colors":_vm.background_colors}}),_vm._l((segment.values),function(event){return _c('grid-event',{key:event.id,attrs:{"event":event},on:{"startDrag":function($event){$event.stopPropagation();return _vm.startDrag(segment, $event, event)},"startResize":function($event){return _vm.startResize($event, event, segment)},"open-activities":function($event){return _vm.$emit('open-activities', $event)},"open-tasks":function($event){return _vm.$emit('open-tasks', $event)},"open-activity":function($event){return _vm.$emit('open-activity', $event)},"open-task":function($event){return _vm.$emit('open-task', $event)}}})})],2)}),(_vm.drag_element != null && _vm.drag_element.moved)?_c('grid-drag-element',{attrs:{"drag_element":_vm.drag_element}}):_vm._e()],2)],1)],1):_vm._e()]):_vm._e()}
|
|
6976
6976
|
var staticRenderFns = []
|
|
6977
6977
|
|
|
6978
6978
|
|
|
6979
|
-
// CONCATENATED MODULE: ./src/components/gant-board.vue?vue&type=template&id=
|
|
6979
|
+
// CONCATENATED MODULE: ./src/components/gant-board.vue?vue&type=template&id=ebb8da5c&scoped=true&
|
|
6980
6980
|
|
|
6981
6981
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
6982
6982
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
@@ -8252,7 +8252,6 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8252
8252
|
//
|
|
8253
8253
|
//
|
|
8254
8254
|
//
|
|
8255
|
-
//
|
|
8256
8255
|
|
|
8257
8256
|
|
|
8258
8257
|
|
|
@@ -8425,117 +8424,132 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8425
8424
|
render: function render() {
|
|
8426
8425
|
var _this = this;
|
|
8427
8426
|
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
return
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
index: this.render_segments.length,
|
|
8446
|
-
top: 0,
|
|
8447
|
-
height: 0,
|
|
8448
|
-
values: [],
|
|
8449
|
-
raw: []
|
|
8450
|
-
});
|
|
8451
|
-
}
|
|
8452
|
-
} catch (err) {
|
|
8453
|
-
_iterator4.e(err);
|
|
8454
|
-
} finally {
|
|
8455
|
-
_iterator4.f();
|
|
8456
|
-
}
|
|
8457
|
-
|
|
8458
|
-
var _iterator5 = _createForOfIteratorHelper(ordered),
|
|
8459
|
-
_step5;
|
|
8460
|
-
|
|
8461
|
-
try {
|
|
8462
|
-
var _loop = function _loop() {
|
|
8463
|
-
t = _step5.value;
|
|
8464
|
-
|
|
8465
|
-
var groupKey = _this.team_members.find(function (x) {
|
|
8466
|
-
return x.team_id == t.team_id && x.team_type == t.team_type;
|
|
8467
|
-
});
|
|
8468
|
-
|
|
8469
|
-
group = _this.render_segments.find(function (x) {
|
|
8470
|
-
return x.key == groupKey;
|
|
8471
|
-
});
|
|
8472
|
-
|
|
8473
|
-
if (group == null) {
|
|
8474
|
-
group = {
|
|
8475
|
-
key: groupKey,
|
|
8476
|
-
index: _this.render_segments.length,
|
|
8477
|
-
top: 0,
|
|
8478
|
-
height: 0,
|
|
8479
|
-
values: [],
|
|
8480
|
-
raw: []
|
|
8481
|
-
};
|
|
8482
|
-
|
|
8483
|
-
_this.render_segments.push(group);
|
|
8484
|
-
}
|
|
8485
|
-
|
|
8486
|
-
group.raw.push(t);
|
|
8487
|
-
};
|
|
8488
|
-
|
|
8489
|
-
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
8490
|
-
var t;
|
|
8491
|
-
var group;
|
|
8427
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
8428
|
+
var ordered, _iterator4, _step4, s, _iterator5, _step5, _loop, t, group, _iterator6, _step6, seg, order_index, _iterator7, _step7, el;
|
|
8429
|
+
|
|
8430
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
8431
|
+
while (1) {
|
|
8432
|
+
switch (_context.prev = _context.next) {
|
|
8433
|
+
case 0:
|
|
8434
|
+
ordered = _this.elements.filter(function (x) {
|
|
8435
|
+
return x.start != null && x.end != null;
|
|
8436
|
+
}).sort(function (a, b) {
|
|
8437
|
+
return a.order - b.order;
|
|
8438
|
+
});
|
|
8439
|
+
|
|
8440
|
+
if (!(_this.group_by != null && _this.group_by == "u")) {
|
|
8441
|
+
_context.next = 11;
|
|
8442
|
+
break;
|
|
8443
|
+
}
|
|
8492
8444
|
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8445
|
+
_this.render_segments = [];
|
|
8446
|
+
_context.next = 5;
|
|
8447
|
+
return _this.$nextTick();
|
|
8448
|
+
|
|
8449
|
+
case 5:
|
|
8450
|
+
_iterator4 = _createForOfIteratorHelper(_this.team_members);
|
|
8451
|
+
|
|
8452
|
+
try {
|
|
8453
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
8454
|
+
s = _step4.value;
|
|
8455
|
+
|
|
8456
|
+
_this.render_segments.push({
|
|
8457
|
+
key: s,
|
|
8458
|
+
index: _this.render_segments.length,
|
|
8459
|
+
top: 0,
|
|
8460
|
+
height: 0,
|
|
8461
|
+
values: [],
|
|
8462
|
+
raw: []
|
|
8463
|
+
});
|
|
8464
|
+
}
|
|
8465
|
+
} catch (err) {
|
|
8466
|
+
_iterator4.e(err);
|
|
8467
|
+
} finally {
|
|
8468
|
+
_iterator4.f();
|
|
8469
|
+
}
|
|
8500
8470
|
|
|
8501
|
-
|
|
8502
|
-
|
|
8471
|
+
_iterator5 = _createForOfIteratorHelper(ordered);
|
|
8472
|
+
|
|
8473
|
+
try {
|
|
8474
|
+
_loop = function _loop() {
|
|
8475
|
+
t = _step5.value;
|
|
8476
|
+
|
|
8477
|
+
var groupKey = _this.team_members.find(function (x) {
|
|
8478
|
+
return x.team_id == t.team_id && x.team_type == t.team_type;
|
|
8479
|
+
});
|
|
8480
|
+
|
|
8481
|
+
group = _this.render_segments.find(function (x) {
|
|
8482
|
+
return x.key == groupKey;
|
|
8483
|
+
});
|
|
8484
|
+
|
|
8485
|
+
if (group == null) {
|
|
8486
|
+
group = {
|
|
8487
|
+
key: groupKey,
|
|
8488
|
+
index: _this.render_segments.length,
|
|
8489
|
+
top: 0,
|
|
8490
|
+
height: 0,
|
|
8491
|
+
values: [],
|
|
8492
|
+
raw: []
|
|
8493
|
+
};
|
|
8494
|
+
|
|
8495
|
+
_this.render_segments.push(group);
|
|
8496
|
+
}
|
|
8497
|
+
|
|
8498
|
+
group.raw.push(t);
|
|
8499
|
+
};
|
|
8500
|
+
|
|
8501
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
8502
|
+
_loop();
|
|
8503
|
+
}
|
|
8504
|
+
} catch (err) {
|
|
8505
|
+
_iterator5.e(err);
|
|
8506
|
+
} finally {
|
|
8507
|
+
_iterator5.f();
|
|
8508
|
+
}
|
|
8503
8509
|
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8510
|
+
_iterator6 = _createForOfIteratorHelper(_this.render_segments);
|
|
8511
|
+
|
|
8512
|
+
try {
|
|
8513
|
+
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
|
|
8514
|
+
seg = _step6.value;
|
|
8515
|
+
order_index = 0;
|
|
8516
|
+
_iterator7 = _createForOfIteratorHelper(seg.raw.sort(function (a, b) {
|
|
8517
|
+
return a.order - b.order;
|
|
8518
|
+
}));
|
|
8519
|
+
|
|
8520
|
+
try {
|
|
8521
|
+
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
8522
|
+
el = _step7.value;
|
|
8523
|
+
|
|
8524
|
+
if (el.order === undefined) {
|
|
8525
|
+
el.order = order_index;
|
|
8526
|
+
order_index++;
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
seg.values.push(_this.build_event(seg, el));
|
|
8530
|
+
}
|
|
8531
|
+
} catch (err) {
|
|
8532
|
+
_iterator7.e(err);
|
|
8533
|
+
} finally {
|
|
8534
|
+
_iterator7.f();
|
|
8535
|
+
}
|
|
8536
|
+
}
|
|
8537
|
+
} catch (err) {
|
|
8538
|
+
_iterator6.e(err);
|
|
8539
|
+
} finally {
|
|
8540
|
+
_iterator6.f();
|
|
8521
8541
|
}
|
|
8522
8542
|
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8543
|
+
case 11:
|
|
8544
|
+
_this.set_segments_height();
|
|
8545
|
+
|
|
8546
|
+
case 12:
|
|
8547
|
+
case "end":
|
|
8548
|
+
return _context.stop();
|
|
8529
8549
|
}
|
|
8530
8550
|
}
|
|
8531
|
-
}
|
|
8532
|
-
|
|
8533
|
-
} finally {
|
|
8534
|
-
_iterator6.f();
|
|
8535
|
-
}
|
|
8536
|
-
}
|
|
8537
|
-
|
|
8538
|
-
this.set_segments_height();
|
|
8551
|
+
}, _callee);
|
|
8552
|
+
}))();
|
|
8539
8553
|
},
|
|
8540
8554
|
build_event: function build_event(group, event) {
|
|
8541
8555
|
var _this2 = this;
|
|
@@ -8969,15 +8983,15 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8969
8983
|
|
|
8970
8984
|
dayjs_min_default.a.locale("it");
|
|
8971
8985
|
this.options.from_start = dayjs_min_default()(this.from_start);
|
|
8972
|
-
this.options.to_start = dayjs_min_default()(this.to_start);
|
|
8973
|
-
|
|
8974
|
-
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
8986
|
+
this.options.to_start = dayjs_min_default()(this.to_start); //this.render();
|
|
8987
|
+
|
|
8988
|
+
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
8975
8989
|
var grid_view_ref;
|
|
8976
|
-
return regeneratorRuntime.wrap(function
|
|
8990
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
8977
8991
|
while (1) {
|
|
8978
|
-
switch (
|
|
8992
|
+
switch (_context2.prev = _context2.next) {
|
|
8979
8993
|
case 0:
|
|
8980
|
-
|
|
8994
|
+
_context2.next = 2;
|
|
8981
8995
|
return new Promise(function (r) {
|
|
8982
8996
|
return setTimeout(r, 500);
|
|
8983
8997
|
});
|
|
@@ -9014,17 +9028,17 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
9014
9028
|
|
|
9015
9029
|
case 4:
|
|
9016
9030
|
case "end":
|
|
9017
|
-
return
|
|
9031
|
+
return _context2.stop();
|
|
9018
9032
|
}
|
|
9019
9033
|
}
|
|
9020
|
-
},
|
|
9034
|
+
}, _callee2);
|
|
9021
9035
|
})));
|
|
9022
9036
|
}
|
|
9023
9037
|
});
|
|
9024
9038
|
// CONCATENATED MODULE: ./src/components/gant-board.vue?vue&type=script&lang=js&
|
|
9025
9039
|
/* harmony default export */ var components_gant_boardvue_type_script_lang_js_ = (gant_boardvue_type_script_lang_js_);
|
|
9026
|
-
// EXTERNAL MODULE: ./src/components/gant-board.vue?vue&type=style&index=0&id=
|
|
9027
|
-
var
|
|
9040
|
+
// EXTERNAL MODULE: ./src/components/gant-board.vue?vue&type=style&index=0&id=ebb8da5c&scoped=true&lang=css&
|
|
9041
|
+
var gant_boardvue_type_style_index_0_id_ebb8da5c_scoped_true_lang_css_ = __webpack_require__("e850");
|
|
9028
9042
|
|
|
9029
9043
|
// CONCATENATED MODULE: ./src/components/gant-board.vue
|
|
9030
9044
|
|
|
@@ -9037,11 +9051,11 @@ var gant_boardvue_type_style_index_0_id_adbac98a_scoped_true_lang_css_ = __webpa
|
|
|
9037
9051
|
|
|
9038
9052
|
var gant_board_component = normalizeComponent(
|
|
9039
9053
|
components_gant_boardvue_type_script_lang_js_,
|
|
9040
|
-
|
|
9054
|
+
gant_boardvue_type_template_id_ebb8da5c_scoped_true_render,
|
|
9041
9055
|
staticRenderFns,
|
|
9042
9056
|
false,
|
|
9043
9057
|
null,
|
|
9044
|
-
"
|
|
9058
|
+
"ebb8da5c",
|
|
9045
9059
|
null
|
|
9046
9060
|
|
|
9047
9061
|
)
|