gant-board 1.0.56 → 1.0.58
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.
|
@@ -1237,6 +1237,22 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
1237
1237
|
});
|
|
1238
1238
|
|
|
1239
1239
|
|
|
1240
|
+
/***/ }),
|
|
1241
|
+
|
|
1242
|
+
/***/ "3ee7":
|
|
1243
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1244
|
+
|
|
1245
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1246
|
+
|
|
1247
|
+
// load the styles
|
|
1248
|
+
var content = __webpack_require__("90a4");
|
|
1249
|
+
if(content.__esModule) content = content.default;
|
|
1250
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1251
|
+
if(content.locals) module.exports = content.locals;
|
|
1252
|
+
// add the styles to the DOM
|
|
1253
|
+
var add = __webpack_require__("499e").default
|
|
1254
|
+
var update = add("53ee047c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1255
|
+
|
|
1240
1256
|
/***/ }),
|
|
1241
1257
|
|
|
1242
1258
|
/***/ "3f8c":
|
|
@@ -3340,6 +3356,20 @@ exports.push([module.i, ".events-container[data-v-3ce344b5]{background:#f7f7f7;h
|
|
|
3340
3356
|
module.exports = exports;
|
|
3341
3357
|
|
|
3342
3358
|
|
|
3359
|
+
/***/ }),
|
|
3360
|
+
|
|
3361
|
+
/***/ "90a4":
|
|
3362
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3363
|
+
|
|
3364
|
+
// Imports
|
|
3365
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
3366
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
3367
|
+
// Module
|
|
3368
|
+
exports.push([module.i, ".events-container[data-v-7fa26d32]{height:200px;height:100%;position:relative}.event .event_drag[data-v-7fa26d32]{min-width:10px}.event_title[data-v-7fa26d32]{flex-grow:1;text-align:start;min-width:0;font-size:12px}.event[data-v-7fa26d32]:hover{box-shadow:0 1px 4px rgba(0,0,0,.16)}.hide[data-v-7fa26d32]{min-width:55px!important}.hide_segment[data-v-7fa26d32]{--translate-x:0px!important}.noselect[data-v-7fa26d32]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.by-scroll-container[data-v-7fa26d32]::-webkit-scrollbar-track{background-color:#fff}.by-scroll-container[data-v-7fa26d32]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.by-scroll-container[data-v-7fa26d32]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#999}", ""]);
|
|
3369
|
+
// Exports
|
|
3370
|
+
module.exports = exports;
|
|
3371
|
+
|
|
3372
|
+
|
|
3343
3373
|
/***/ }),
|
|
3344
3374
|
|
|
3345
3375
|
/***/ "90e3":
|
|
@@ -4494,6 +4524,17 @@ module.exports = function (argument) {
|
|
|
4494
4524
|
};
|
|
4495
4525
|
|
|
4496
4526
|
|
|
4527
|
+
/***/ }),
|
|
4528
|
+
|
|
4529
|
+
/***/ "a1c9":
|
|
4530
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4531
|
+
|
|
4532
|
+
"use strict";
|
|
4533
|
+
/* 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_7fa26d32_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3ee7");
|
|
4534
|
+
/* 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_7fa26d32_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_7fa26d32_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
4535
|
+
/* unused harmony reexport * */
|
|
4536
|
+
|
|
4537
|
+
|
|
4497
4538
|
/***/ }),
|
|
4498
4539
|
|
|
4499
4540
|
/***/ "a434":
|
|
@@ -5352,17 +5393,6 @@ module.exports = {
|
|
|
5352
5393
|
};
|
|
5353
5394
|
|
|
5354
5395
|
|
|
5355
|
-
/***/ }),
|
|
5356
|
-
|
|
5357
|
-
/***/ "b967":
|
|
5358
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5359
|
-
|
|
5360
|
-
"use strict";
|
|
5361
|
-
/* 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_1f27e363_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c379");
|
|
5362
|
-
/* 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_1f27e363_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_1f27e363_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
5363
|
-
/* unused harmony reexport * */
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
5396
|
/***/ }),
|
|
5367
5397
|
|
|
5368
5398
|
/***/ "bb2f":
|
|
@@ -5441,22 +5471,6 @@ var update = add("ecc984a8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
5441
5471
|
|
|
5442
5472
|
/***/ }),
|
|
5443
5473
|
|
|
5444
|
-
/***/ "c379":
|
|
5445
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5446
|
-
|
|
5447
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
5448
|
-
|
|
5449
|
-
// load the styles
|
|
5450
|
-
var content = __webpack_require__("f184");
|
|
5451
|
-
if(content.__esModule) content = content.default;
|
|
5452
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
5453
|
-
if(content.locals) module.exports = content.locals;
|
|
5454
|
-
// add the styles to the DOM
|
|
5455
|
-
var add = __webpack_require__("499e").default
|
|
5456
|
-
var update = add("0e82a774", content, true, {"sourceMap":false,"shadowMode":false});
|
|
5457
|
-
|
|
5458
|
-
/***/ }),
|
|
5459
|
-
|
|
5460
5474
|
/***/ "c430":
|
|
5461
5475
|
/***/ (function(module, exports) {
|
|
5462
5476
|
|
|
@@ -6859,20 +6873,6 @@ var meta = module.exports = {
|
|
|
6859
6873
|
hiddenKeys[METADATA] = true;
|
|
6860
6874
|
|
|
6861
6875
|
|
|
6862
|
-
/***/ }),
|
|
6863
|
-
|
|
6864
|
-
/***/ "f184":
|
|
6865
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6866
|
-
|
|
6867
|
-
// Imports
|
|
6868
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6869
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6870
|
-
// Module
|
|
6871
|
-
exports.push([module.i, ".events-container[data-v-1f27e363]{height:200px;height:100%;position:relative}.event .event_drag[data-v-1f27e363]{min-width:10px}.event_title[data-v-1f27e363]{flex-grow:1;text-align:start;min-width:0;font-size:12px}.event[data-v-1f27e363]:hover{box-shadow:0 1px 4px rgba(0,0,0,.16)}.hide[data-v-1f27e363]{min-width:55px!important}.hide_segment[data-v-1f27e363]{--translate-x:0px!important}.noselect[data-v-1f27e363]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.by-scroll-container[data-v-1f27e363]::-webkit-scrollbar-track{background-color:#fff}.by-scroll-container[data-v-1f27e363]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.by-scroll-container[data-v-1f27e363]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#999}", ""]);
|
|
6872
|
-
// Exports
|
|
6873
|
-
module.exports = exports;
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
6876
|
/***/ }),
|
|
6877
6877
|
|
|
6878
6878
|
/***/ "f36a":
|
|
@@ -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=7fa26d32&scoped=true&
|
|
6975
|
+
var gant_boardvue_type_template_id_7fa26d32_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=7fa26d32&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");
|
|
@@ -8250,6 +8250,8 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8250
8250
|
//
|
|
8251
8251
|
//
|
|
8252
8252
|
//
|
|
8253
|
+
//
|
|
8254
|
+
//
|
|
8253
8255
|
|
|
8254
8256
|
|
|
8255
8257
|
|
|
@@ -8422,117 +8424,132 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8422
8424
|
render: function render() {
|
|
8423
8425
|
var _this = this;
|
|
8424
8426
|
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
return
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
index: this.render_segments.length,
|
|
8443
|
-
top: 0,
|
|
8444
|
-
height: 0,
|
|
8445
|
-
values: [],
|
|
8446
|
-
raw: []
|
|
8447
|
-
});
|
|
8448
|
-
}
|
|
8449
|
-
} catch (err) {
|
|
8450
|
-
_iterator4.e(err);
|
|
8451
|
-
} finally {
|
|
8452
|
-
_iterator4.f();
|
|
8453
|
-
}
|
|
8454
|
-
|
|
8455
|
-
var _iterator5 = _createForOfIteratorHelper(ordered),
|
|
8456
|
-
_step5;
|
|
8457
|
-
|
|
8458
|
-
try {
|
|
8459
|
-
var _loop = function _loop() {
|
|
8460
|
-
t = _step5.value;
|
|
8461
|
-
|
|
8462
|
-
var groupKey = _this.team_members.find(function (x) {
|
|
8463
|
-
return x.team_id == t.team_id && x.team_type == t.team_type;
|
|
8464
|
-
});
|
|
8465
|
-
|
|
8466
|
-
group = _this.render_segments.find(function (x) {
|
|
8467
|
-
return x.key == groupKey;
|
|
8468
|
-
});
|
|
8469
|
-
|
|
8470
|
-
if (group == null) {
|
|
8471
|
-
group = {
|
|
8472
|
-
key: groupKey,
|
|
8473
|
-
index: _this.render_segments.length,
|
|
8474
|
-
top: 0,
|
|
8475
|
-
height: 0,
|
|
8476
|
-
values: [],
|
|
8477
|
-
raw: []
|
|
8478
|
-
};
|
|
8479
|
-
|
|
8480
|
-
_this.render_segments.push(group);
|
|
8481
|
-
}
|
|
8482
|
-
|
|
8483
|
-
group.raw.push(t);
|
|
8484
|
-
};
|
|
8485
|
-
|
|
8486
|
-
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
8487
|
-
var t;
|
|
8488
|
-
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
|
+
}
|
|
8489
8444
|
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
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
|
+
}
|
|
8497
8470
|
|
|
8498
|
-
|
|
8499
|
-
|
|
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
|
+
}
|
|
8500
8509
|
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
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();
|
|
8518
8541
|
}
|
|
8519
8542
|
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8543
|
+
case 11:
|
|
8544
|
+
_this.set_segments_height();
|
|
8545
|
+
|
|
8546
|
+
case 12:
|
|
8547
|
+
case "end":
|
|
8548
|
+
return _context.stop();
|
|
8526
8549
|
}
|
|
8527
8550
|
}
|
|
8528
|
-
}
|
|
8529
|
-
|
|
8530
|
-
} finally {
|
|
8531
|
-
_iterator6.f();
|
|
8532
|
-
}
|
|
8533
|
-
}
|
|
8534
|
-
|
|
8535
|
-
this.set_segments_height();
|
|
8551
|
+
}, _callee);
|
|
8552
|
+
}))();
|
|
8536
8553
|
},
|
|
8537
8554
|
build_event: function build_event(group, event) {
|
|
8538
8555
|
var _this2 = this;
|
|
@@ -8968,13 +8985,13 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
8968
8985
|
this.options.from_start = dayjs_min_default()(this.from_start);
|
|
8969
8986
|
this.options.to_start = dayjs_min_default()(this.to_start);
|
|
8970
8987
|
this.render();
|
|
8971
|
-
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
8988
|
+
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
8972
8989
|
var grid_view_ref;
|
|
8973
|
-
return regeneratorRuntime.wrap(function
|
|
8990
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
8974
8991
|
while (1) {
|
|
8975
|
-
switch (
|
|
8992
|
+
switch (_context2.prev = _context2.next) {
|
|
8976
8993
|
case 0:
|
|
8977
|
-
|
|
8994
|
+
_context2.next = 2;
|
|
8978
8995
|
return new Promise(function (r) {
|
|
8979
8996
|
return setTimeout(r, 500);
|
|
8980
8997
|
});
|
|
@@ -9011,17 +9028,17 @@ var grid_drag_element_component = normalizeComponent(
|
|
|
9011
9028
|
|
|
9012
9029
|
case 4:
|
|
9013
9030
|
case "end":
|
|
9014
|
-
return
|
|
9031
|
+
return _context2.stop();
|
|
9015
9032
|
}
|
|
9016
9033
|
}
|
|
9017
|
-
},
|
|
9034
|
+
}, _callee2);
|
|
9018
9035
|
})));
|
|
9019
9036
|
}
|
|
9020
9037
|
});
|
|
9021
9038
|
// CONCATENATED MODULE: ./src/components/gant-board.vue?vue&type=script&lang=js&
|
|
9022
9039
|
/* harmony default export */ var components_gant_boardvue_type_script_lang_js_ = (gant_boardvue_type_script_lang_js_);
|
|
9023
|
-
// EXTERNAL MODULE: ./src/components/gant-board.vue?vue&type=style&index=0&id=
|
|
9024
|
-
var
|
|
9040
|
+
// EXTERNAL MODULE: ./src/components/gant-board.vue?vue&type=style&index=0&id=7fa26d32&scoped=true&lang=css&
|
|
9041
|
+
var gant_boardvue_type_style_index_0_id_7fa26d32_scoped_true_lang_css_ = __webpack_require__("a1c9");
|
|
9025
9042
|
|
|
9026
9043
|
// CONCATENATED MODULE: ./src/components/gant-board.vue
|
|
9027
9044
|
|
|
@@ -9034,11 +9051,11 @@ var gant_boardvue_type_style_index_0_id_1f27e363_scoped_true_lang_css_ = __webpa
|
|
|
9034
9051
|
|
|
9035
9052
|
var gant_board_component = normalizeComponent(
|
|
9036
9053
|
components_gant_boardvue_type_script_lang_js_,
|
|
9037
|
-
|
|
9054
|
+
gant_boardvue_type_template_id_7fa26d32_scoped_true_render,
|
|
9038
9055
|
staticRenderFns,
|
|
9039
9056
|
false,
|
|
9040
9057
|
null,
|
|
9041
|
-
"
|
|
9058
|
+
"7fa26d32",
|
|
9042
9059
|
null
|
|
9043
9060
|
|
|
9044
9061
|
)
|