@things-factory/operato-ecs 7.0.16 → 7.0.17
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.
- package/assets/javascript/wellstek-gantt.js +1409 -1458
- package/dist-client/pages/resource-gantt/EQUIPMENT_MST_202407102224.d.ts +730 -0
- package/dist-client/pages/resource-gantt/EQUIPMENT_MST_202407102224.js +3857 -0
- package/dist-client/pages/resource-gantt/EQUIPMENT_MST_202407102224.js.map +1 -0
- package/dist-client/pages/resource-gantt/LINE_MST_202407102228.d.ts +361 -0
- package/dist-client/pages/resource-gantt/LINE_MST_202407102228.js +1002 -0
- package/dist-client/pages/resource-gantt/LINE_MST_202407102228.js.map +1 -0
- package/dist-client/pages/resource-gantt/OPERATION_MST_202407102227.d.ts +651 -0
- package/dist-client/pages/resource-gantt/OPERATION_MST_202407102227.js +1941 -0
- package/dist-client/pages/resource-gantt/OPERATION_MST_202407102227.js.map +1 -0
- package/dist-client/pages/resource-gantt/PRODUCT_MST_202407102234.d.ts +157 -0
- package/dist-client/pages/resource-gantt/PRODUCT_MST_202407102234.js +35237 -0
- package/dist-client/pages/resource-gantt/PRODUCT_MST_202407102234.js.map +1 -0
- package/dist-client/pages/resource-gantt/SIM_PRODUCTION_ORDERS_202407102236.d.ts +127 -0
- package/dist-client/pages/resource-gantt/SIM_PRODUCTION_ORDERS_202407102236.js +8603 -0
- package/dist-client/pages/resource-gantt/SIM_PRODUCTION_ORDERS_202407102236.js.map +1 -0
- package/dist-client/pages/resource-gantt/SIM_SCHEDULE_RESULT_202407102236.d.ts +14 -0
- package/dist-client/pages/resource-gantt/SIM_SCHEDULE_RESULT_202407102236.js +3923 -0
- package/dist-client/pages/resource-gantt/SIM_SCHEDULE_RESULT_202407102236.js.map +1 -0
- package/dist-client/pages/resource-gantt/resource-gantt.js +16 -4
- package/dist-client/pages/resource-gantt/resource-gantt.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
@@ -350,6 +350,12 @@
|
|
350
350
|
text.data = /** @type {string} */ (data);
|
351
351
|
}
|
352
352
|
|
353
|
+
/**
|
354
|
+
* @returns {void} */
|
355
|
+
function set_input_value(input, value) {
|
356
|
+
input.value = value == null ? '' : value;
|
357
|
+
}
|
358
|
+
|
353
359
|
/**
|
354
360
|
* @returns {void} */
|
355
361
|
function set_style(node, key, value, important) {
|
@@ -359,6 +365,26 @@
|
|
359
365
|
node.style.setProperty(key, value, important ? 'important' : '');
|
360
366
|
}
|
361
367
|
}
|
368
|
+
|
369
|
+
/**
|
370
|
+
* @returns {void} */
|
371
|
+
function select_option(select, value, mounting) {
|
372
|
+
for (let i = 0; i < select.options.length; i += 1) {
|
373
|
+
const option = select.options[i];
|
374
|
+
if (option.__value === value) {
|
375
|
+
option.selected = true;
|
376
|
+
return;
|
377
|
+
}
|
378
|
+
}
|
379
|
+
if (!mounting || value !== undefined) {
|
380
|
+
select.selectedIndex = -1; // no option should be selected
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
function select_value(select) {
|
385
|
+
const selected_option = select.querySelector(':checked');
|
386
|
+
return selected_option && selected_option.__value;
|
387
|
+
}
|
362
388
|
// unfortunately this can't be a constant as that wouldn't be tree-shakeable
|
363
389
|
// so we cache the result instead
|
364
390
|
|
@@ -10433,17 +10459,17 @@
|
|
10433
10459
|
/* src/entities/Task.svelte generated by Svelte v4.2.17 */
|
10434
10460
|
|
10435
10461
|
function add_css$e(target) {
|
10436
|
-
append_styles(target, "svelte-
|
10462
|
+
append_styles(target, "svelte-1ofg5dl", ".sg-label-bottom.svelte-1ofg5dl.svelte-1ofg5dl{position:absolute;top:calc(100% + 10px);color:#888}.debug.svelte-1ofg5dl.svelte-1ofg5dl{position:absolute;top:-10px;right:0;font-size:8px;color:black}.sg-task.svelte-1ofg5dl.svelte-1ofg5dl{position:absolute;border-radius:2px;white-space:nowrap;overflow:hidden;transition:background-color 0.2s,\n opacity 0.2s;pointer-events:all;touch-action:none}.sg-task-background.svelte-1ofg5dl.svelte-1ofg5dl{position:absolute;height:100%;top:0}.sg-task-content.svelte-1ofg5dl.svelte-1ofg5dl{position:absolute;height:100%;top:0;padding-left:14px;font-size:14px;display:flex;align-items:center;justify-content:flex-start;user-select:none}.sg-task.animating.svelte-1ofg5dl.svelte-1ofg5dl:not(.moving){transition:left 0.2s,\n top 0.2s,\n transform 0.2s,\n background-color 0.2s,\n width 0.2s,\n height 0.2s}.sg-task--sticky.svelte-1ofg5dl.svelte-1ofg5dl:not(.moving){transition:left 0.2s,\n top 0.2s,\n transform 0.2s,\n background-color 0.2s,\n width 0.2s,\n height 0.2s}.sg-task--sticky.svelte-1ofg5dl>.sg-task-content.svelte-1ofg5dl{position:sticky;left:0;max-width:100px}.sg-task.moving.svelte-1ofg5dl.svelte-1ofg5dl{z-index:10000;opacity:0.5}.sg-task.resize-enabled.svelte-1ofg5dl.svelte-1ofg5dl:hover::before{content:'';width:4px;height:50%;top:25%;position:absolute;border-style:solid;border-color:rgba(255, 255, 255, 0.5);cursor:ew-resize;margin-left:3px;left:0;border-width:0 1px;z-index:1}.sg-task.resize-enabled.svelte-1ofg5dl.svelte-1ofg5dl:hover::after{content:'';width:4px;height:50%;top:25%;position:absolute;border-style:solid;border-color:rgba(255, 255, 255, 0.5);cursor:ew-resize;margin-right:3px;right:0;border-width:0 1px;z-index:1}.sg-task-reflected.svelte-1ofg5dl.svelte-1ofg5dl{opacity:0.5}.sg-task-instant.svelte-1ofg5dl.svelte-1ofg5dl{width:2px !important;margin-left:-1px}.sg-task-background.svelte-1ofg5dl.svelte-1ofg5dl{background:rgba(0, 0, 0, 0.2)}.sg-task{color:white;background:rgb(116, 191, 255)}.sg-task:hover{background:rgb(98, 161, 216)}.sg-task.selected{background:rgb(69, 112, 150)}.sg-milestone.svelte-1ofg5dl.svelte-1ofg5dl{width:20px !important;min-width:40px;margin-left:-20px}.sg-task.sg-milestone.svelte-1ofg5dl.svelte-1ofg5dl{background:transparent}.sg-milestone.svelte-1ofg5dl .sg-milestone__diamond.svelte-1ofg5dl{position:relative}.sg-milestone.svelte-1ofg5dl .sg-milestone__diamond.svelte-1ofg5dl:before{position:absolute;top:0;left:50%;content:' ';height:28px;width:28px;transform-origin:0 0;transform:rotate(45deg)}.sg-milestone__diamond:before{background:rgb(116, 191, 255)}.sg-task-error.svelte-1ofg5dl.svelte-1ofg5dl{background:#e57373 !important}.svooltip{z-index:9999999 !important}");
|
10437
10463
|
}
|
10438
10464
|
|
10439
|
-
// (
|
10440
|
-
function create_if_block_5$
|
10465
|
+
// (321:2) {#if model.type === 'milestone'}
|
10466
|
+
function create_if_block_5$1(ctx) {
|
10441
10467
|
let div;
|
10442
10468
|
|
10443
10469
|
return {
|
10444
10470
|
c() {
|
10445
10471
|
div = element("div");
|
10446
|
-
attr(div, "class", "sg-milestone__diamond svelte-
|
10472
|
+
attr(div, "class", "sg-milestone__diamond svelte-1ofg5dl");
|
10447
10473
|
},
|
10448
10474
|
m(target, anchor) {
|
10449
10475
|
insert(target, div, anchor);
|
@@ -10456,14 +10482,14 @@
|
|
10456
10482
|
};
|
10457
10483
|
}
|
10458
10484
|
|
10459
|
-
// (
|
10460
|
-
function create_if_block_4$
|
10485
|
+
// (324:2) {#if model.amountDone}
|
10486
|
+
function create_if_block_4$1(ctx) {
|
10461
10487
|
let div;
|
10462
10488
|
|
10463
10489
|
return {
|
10464
10490
|
c() {
|
10465
10491
|
div = element("div");
|
10466
|
-
attr(div, "class", "sg-task-background svelte-
|
10492
|
+
attr(div, "class", "sg-task-background svelte-1ofg5dl");
|
10467
10493
|
set_style(div, "width", /*model*/ ctx[0].amountDone + "%");
|
10468
10494
|
},
|
10469
10495
|
m(target, anchor) {
|
@@ -10482,8 +10508,8 @@
|
|
10482
10508
|
};
|
10483
10509
|
}
|
10484
10510
|
|
10485
|
-
// (
|
10486
|
-
function create_else_block$
|
10511
|
+
// (332:4) {:else}
|
10512
|
+
function create_else_block$5(ctx) {
|
10487
10513
|
let t_value = /*model*/ ctx[0].label + "";
|
10488
10514
|
let t;
|
10489
10515
|
|
@@ -10505,8 +10531,8 @@
|
|
10505
10531
|
};
|
10506
10532
|
}
|
10507
10533
|
|
10508
|
-
// (
|
10509
|
-
function create_if_block_3$
|
10534
|
+
// (330:26)
|
10535
|
+
function create_if_block_3$1(ctx) {
|
10510
10536
|
let html_tag;
|
10511
10537
|
let raw_value = /*taskContent*/ ctx[14](/*model*/ ctx[0]) + "";
|
10512
10538
|
let html_anchor;
|
@@ -10533,8 +10559,8 @@
|
|
10533
10559
|
};
|
10534
10560
|
}
|
10535
10561
|
|
10536
|
-
// (
|
10537
|
-
function create_if_block_2$
|
10562
|
+
// (328:4) {#if model.html}
|
10563
|
+
function create_if_block_2$2(ctx) {
|
10538
10564
|
let html_tag;
|
10539
10565
|
let raw_value = /*model*/ ctx[0].html + "";
|
10540
10566
|
let html_anchor;
|
@@ -10561,7 +10587,7 @@
|
|
10561
10587
|
};
|
10562
10588
|
}
|
10563
10589
|
|
10564
|
-
// (
|
10590
|
+
// (335:4) {#if model.showButton}
|
10565
10591
|
function create_if_block_1$4(ctx) {
|
10566
10592
|
let span;
|
10567
10593
|
let raw_value = /*model*/ ctx[0].buttonHtml + "";
|
@@ -10572,7 +10598,7 @@
|
|
10572
10598
|
return {
|
10573
10599
|
c() {
|
10574
10600
|
span = element("span");
|
10575
|
-
attr(span, "class", span_class_value = "sg-task-button " + /*model*/ ctx[0].buttonClasses + " svelte-
|
10601
|
+
attr(span, "class", span_class_value = "sg-task-button " + /*model*/ ctx[0].buttonClasses + " svelte-1ofg5dl");
|
10576
10602
|
attr(span, "role", "button");
|
10577
10603
|
attr(span, "tabindex", "0");
|
10578
10604
|
},
|
@@ -10587,7 +10613,7 @@
|
|
10587
10613
|
},
|
10588
10614
|
p(ctx, dirty) {
|
10589
10615
|
if (dirty[0] & /*model*/ 1 && raw_value !== (raw_value = /*model*/ ctx[0].buttonHtml + "")) span.innerHTML = raw_value;
|
10590
|
-
if (dirty[0] & /*model*/ 1 && span_class_value !== (span_class_value = "sg-task-button " + /*model*/ ctx[0].buttonClasses + " svelte-
|
10616
|
+
if (dirty[0] & /*model*/ 1 && span_class_value !== (span_class_value = "sg-task-button " + /*model*/ ctx[0].buttonClasses + " svelte-1ofg5dl")) {
|
10591
10617
|
attr(span, "class", span_class_value);
|
10592
10618
|
}
|
10593
10619
|
},
|
@@ -10602,8 +10628,8 @@
|
|
10602
10628
|
};
|
10603
10629
|
}
|
10604
10630
|
|
10605
|
-
// (
|
10606
|
-
function create_if_block$
|
10631
|
+
// (348:2) {#if model.labelBottom}
|
10632
|
+
function create_if_block$9(ctx) {
|
10607
10633
|
let span;
|
10608
10634
|
let t_value = /*model*/ ctx[0].labelBottom + "";
|
10609
10635
|
let t;
|
@@ -10612,7 +10638,7 @@
|
|
10612
10638
|
c() {
|
10613
10639
|
span = element("span");
|
10614
10640
|
t = text(t_value);
|
10615
|
-
attr(span, "class", "sg-label-bottom svelte-
|
10641
|
+
attr(span, "class", "sg-label-bottom svelte-1ofg5dl");
|
10616
10642
|
},
|
10617
10643
|
m(target, anchor) {
|
10618
10644
|
insert(target, span, anchor);
|
@@ -10641,19 +10667,19 @@
|
|
10641
10667
|
let taskElement_action;
|
10642
10668
|
let mounted;
|
10643
10669
|
let dispose;
|
10644
|
-
let if_block0 = /*model*/ ctx[0].type === 'milestone' && create_if_block_5$
|
10645
|
-
let if_block1 = /*model*/ ctx[0].amountDone && create_if_block_4$
|
10670
|
+
let if_block0 = /*model*/ ctx[0].type === 'milestone' && create_if_block_5$1();
|
10671
|
+
let if_block1 = /*model*/ ctx[0].amountDone && create_if_block_4$1(ctx);
|
10646
10672
|
|
10647
10673
|
function select_block_type(ctx, dirty) {
|
10648
|
-
if (/*model*/ ctx[0].html) return create_if_block_2$
|
10649
|
-
if (/*taskContent*/ ctx[14]) return create_if_block_3$
|
10650
|
-
return create_else_block$
|
10674
|
+
if (/*model*/ ctx[0].html) return create_if_block_2$2;
|
10675
|
+
if (/*taskContent*/ ctx[14]) return create_if_block_3$1;
|
10676
|
+
return create_else_block$5;
|
10651
10677
|
}
|
10652
10678
|
|
10653
10679
|
let current_block_type = select_block_type(ctx);
|
10654
10680
|
let if_block2 = current_block_type(ctx);
|
10655
10681
|
let if_block3 = /*model*/ ctx[0].showButton && create_if_block_1$4(ctx);
|
10656
|
-
let if_block4 = /*model*/ ctx[0].labelBottom && create_if_block$
|
10682
|
+
let if_block4 = /*model*/ ctx[0].labelBottom && create_if_block$9(ctx);
|
10657
10683
|
|
10658
10684
|
return {
|
10659
10685
|
c() {
|
@@ -10668,9 +10694,9 @@
|
|
10668
10694
|
if (if_block3) if_block3.c();
|
10669
10695
|
t3 = space();
|
10670
10696
|
if (if_block4) if_block4.c();
|
10671
|
-
attr(div0, "class", "sg-task-content svelte-
|
10697
|
+
attr(div0, "class", "sg-task-content svelte-1ofg5dl");
|
10672
10698
|
attr(div1, "data-task-id", div1_data_task_id_value = /*model*/ ctx[0].id);
|
10673
|
-
attr(div1, "class", div1_class_value = "sg-task " + /*classes*/ ctx[5] + " " + (/*model*/ ctx[0].isError && 'sg-task-error') + " svelte-
|
10699
|
+
attr(div1, "class", div1_class_value = "sg-task " + /*classes*/ ctx[5] + " " + (/*model*/ ctx[0].isError && 'sg-task-error') + " svelte-1ofg5dl");
|
10674
10700
|
set_style(div1, "width", /*_position*/ ctx[2].width + "px");
|
10675
10701
|
set_style(div1, "height", /*_height*/ ctx[7] + "px");
|
10676
10702
|
set_style(div1, "left", /*_position*/ ctx[2].x + "px");
|
@@ -10718,7 +10744,7 @@
|
|
10718
10744
|
p(ctx, dirty) {
|
10719
10745
|
if (/*model*/ ctx[0].type === 'milestone') {
|
10720
10746
|
if (if_block0) ; else {
|
10721
|
-
if_block0 = create_if_block_5$
|
10747
|
+
if_block0 = create_if_block_5$1();
|
10722
10748
|
if_block0.c();
|
10723
10749
|
if_block0.m(div1, t0);
|
10724
10750
|
}
|
@@ -10731,7 +10757,7 @@
|
|
10731
10757
|
if (if_block1) {
|
10732
10758
|
if_block1.p(ctx, dirty);
|
10733
10759
|
} else {
|
10734
|
-
if_block1 = create_if_block_4$
|
10760
|
+
if_block1 = create_if_block_4$1(ctx);
|
10735
10761
|
if_block1.c();
|
10736
10762
|
if_block1.m(div1, t1);
|
10737
10763
|
}
|
@@ -10769,7 +10795,7 @@
|
|
10769
10795
|
if (if_block4) {
|
10770
10796
|
if_block4.p(ctx, dirty);
|
10771
10797
|
} else {
|
10772
|
-
if_block4 = create_if_block$
|
10798
|
+
if_block4 = create_if_block$9(ctx);
|
10773
10799
|
if_block4.c();
|
10774
10800
|
if_block4.m(div1, null);
|
10775
10801
|
}
|
@@ -10782,7 +10808,7 @@
|
|
10782
10808
|
attr(div1, "data-task-id", div1_data_task_id_value);
|
10783
10809
|
}
|
10784
10810
|
|
10785
|
-
if (dirty[0] & /*classes, model*/ 33 && div1_class_value !== (div1_class_value = "sg-task " + /*classes*/ ctx[5] + " " + (/*model*/ ctx[0].isError && 'sg-task-error') + " svelte-
|
10811
|
+
if (dirty[0] & /*classes, model*/ 33 && div1_class_value !== (div1_class_value = "sg-task " + /*classes*/ ctx[5] + " " + (/*model*/ ctx[0].isError && 'sg-task-error') + " svelte-1ofg5dl")) {
|
10786
10812
|
attr(div1, "class", div1_class_value);
|
10787
10813
|
}
|
10788
10814
|
|
@@ -11126,9 +11152,29 @@
|
|
11126
11152
|
|
11127
11153
|
return `
|
11128
11154
|
<div>${model.data.U_PROJNAME}</div>
|
11129
|
-
<div>${model.data.
|
11155
|
+
<div>${model.data.U_ZONE1} ${model.data.U_ZONE2}</div>
|
11130
11156
|
<div>${model.data.DocEntry}</div>
|
11131
11157
|
<div>${model.data.EQUIPMENT_CODE}</div>
|
11158
|
+
<div>${model.data.PRODUCT_CODE}</div>
|
11159
|
+
|
11160
|
+
<table class="sg-tooltip-table" border="0" cellspacing="0" cellpadding="0">
|
11161
|
+
<tr>
|
11162
|
+
<td>가로 : </td>
|
11163
|
+
<td style="padding-left: 5px;">${model.data.U_WIDTH}</td>
|
11164
|
+
</tr>
|
11165
|
+
<tr>
|
11166
|
+
<td>세로 : </td>
|
11167
|
+
<td style="padding-left: 5px;">${model.data.U_HEIGHT}</td>
|
11168
|
+
</tr>
|
11169
|
+
<tr>
|
11170
|
+
<td>두께 : </td>
|
11171
|
+
<td style="padding-left: 5px;">${model.data.U_THICK}</td>
|
11172
|
+
</tr>
|
11173
|
+
<tr>
|
11174
|
+
<td>무게 : </td>
|
11175
|
+
<td style="padding-left: 5px;">${model.data.U_WEIGHT}</td>
|
11176
|
+
</tr>
|
11177
|
+
</table>
|
11132
11178
|
`;
|
11133
11179
|
}
|
11134
11180
|
|
@@ -11338,7 +11384,7 @@
|
|
11338
11384
|
}
|
11339
11385
|
|
11340
11386
|
// (14:2) {#if row.model.contentHtml}
|
11341
|
-
function create_if_block$
|
11387
|
+
function create_if_block$8(ctx) {
|
11342
11388
|
let html_tag;
|
11343
11389
|
let raw_value = /*row*/ ctx[0].model.contentHtml + "";
|
11344
11390
|
let html_anchor;
|
@@ -11369,7 +11415,7 @@
|
|
11369
11415
|
let div;
|
11370
11416
|
let div_class_value;
|
11371
11417
|
let div_data_row_id_value;
|
11372
|
-
let if_block = /*row*/ ctx[0].model.contentHtml && create_if_block$
|
11418
|
+
let if_block = /*row*/ ctx[0].model.contentHtml && create_if_block$8(ctx);
|
11373
11419
|
|
11374
11420
|
return {
|
11375
11421
|
c() {
|
@@ -11390,7 +11436,7 @@
|
|
11390
11436
|
if (if_block) {
|
11391
11437
|
if_block.p(ctx, dirty);
|
11392
11438
|
} else {
|
11393
|
-
if_block = create_if_block$
|
11439
|
+
if_block = create_if_block$8(ctx);
|
11394
11440
|
if_block.c();
|
11395
11441
|
if_block.m(div, null);
|
11396
11442
|
}
|
@@ -11474,7 +11520,7 @@
|
|
11474
11520
|
}
|
11475
11521
|
|
11476
11522
|
// (25:2) {#if model.label}
|
11477
|
-
function create_if_block$
|
11523
|
+
function create_if_block$7(ctx) {
|
11478
11524
|
let div;
|
11479
11525
|
let t_value = /*model*/ ctx[0].label + "";
|
11480
11526
|
let t;
|
@@ -11503,7 +11549,7 @@
|
|
11503
11549
|
function create_fragment$d(ctx) {
|
11504
11550
|
let div;
|
11505
11551
|
let div_class_value;
|
11506
|
-
let if_block = /*model*/ ctx[0].label && create_if_block$
|
11552
|
+
let if_block = /*model*/ ctx[0].label && create_if_block$7(ctx);
|
11507
11553
|
|
11508
11554
|
return {
|
11509
11555
|
c() {
|
@@ -11523,7 +11569,7 @@
|
|
11523
11569
|
if (if_block) {
|
11524
11570
|
if_block.p(ctx, dirty);
|
11525
11571
|
} else {
|
11526
|
-
if_block = create_if_block$
|
11572
|
+
if_block = create_if_block$7(ctx);
|
11527
11573
|
if_block.c();
|
11528
11574
|
if_block.m(div, null);
|
11529
11575
|
}
|
@@ -12145,22 +12191,28 @@
|
|
12145
12191
|
|
12146
12192
|
function get_each_context$6(ctx, list, i) {
|
12147
12193
|
const child_ctx = ctx.slice();
|
12148
|
-
child_ctx[
|
12194
|
+
child_ctx[14] = list[i];
|
12149
12195
|
return child_ctx;
|
12150
12196
|
}
|
12151
12197
|
|
12152
|
-
// (
|
12198
|
+
// (41:2) {#each header.columns as _header}
|
12153
12199
|
function create_each_block$6(ctx) {
|
12154
12200
|
let div1;
|
12155
12201
|
let div0;
|
12156
|
-
|
12202
|
+
|
12203
|
+
let t0_value = (!/*isNoLabel*/ ctx[1]
|
12204
|
+
? /*header*/ ctx[0].unit === 'hour'
|
12205
|
+
? /*_header*/ ctx[14].label.replace(':00', '') + 'h'
|
12206
|
+
: /*_header*/ ctx[14].label
|
12207
|
+
: '') + "";
|
12208
|
+
|
12157
12209
|
let t0;
|
12158
12210
|
let t1;
|
12159
12211
|
let mounted;
|
12160
12212
|
let dispose;
|
12161
12213
|
|
12162
12214
|
function click_handler() {
|
12163
|
-
return /*click_handler*/ ctx[
|
12215
|
+
return /*click_handler*/ ctx[11](/*_header*/ ctx[14]);
|
12164
12216
|
}
|
12165
12217
|
|
12166
12218
|
return {
|
@@ -12173,8 +12225,8 @@
|
|
12173
12225
|
attr(div1, "class", "column-header-cell svelte-vfarxf");
|
12174
12226
|
attr(div1, "role", "button");
|
12175
12227
|
attr(div1, "tabindex", "0");
|
12176
|
-
set_style(div1, "left", /*_header*/ ctx[
|
12177
|
-
set_style(div1, "width", /*_header*/ ctx[
|
12228
|
+
set_style(div1, "left", /*_header*/ ctx[14].left + "px");
|
12229
|
+
set_style(div1, "width", /*_header*/ ctx[14].width + "px");
|
12178
12230
|
toggle_class(div1, "sticky", /*header*/ ctx[0].sticky);
|
12179
12231
|
},
|
12180
12232
|
m(target, anchor) {
|
@@ -12190,14 +12242,19 @@
|
|
12190
12242
|
},
|
12191
12243
|
p(new_ctx, dirty) {
|
12192
12244
|
ctx = new_ctx;
|
12193
|
-
|
12245
|
+
|
12246
|
+
if (dirty & /*isNoLabel, header*/ 3 && t0_value !== (t0_value = (!/*isNoLabel*/ ctx[1]
|
12247
|
+
? /*header*/ ctx[0].unit === 'hour'
|
12248
|
+
? /*_header*/ ctx[14].label.replace(':00', '') + 'h'
|
12249
|
+
: /*_header*/ ctx[14].label
|
12250
|
+
: '') + "")) set_data(t0, t0_value);
|
12194
12251
|
|
12195
12252
|
if (dirty & /*header*/ 1) {
|
12196
|
-
set_style(div1, "left", /*_header*/ ctx[
|
12253
|
+
set_style(div1, "left", /*_header*/ ctx[14].left + "px");
|
12197
12254
|
}
|
12198
12255
|
|
12199
12256
|
if (dirty & /*header*/ 1) {
|
12200
|
-
set_style(div1, "width", /*_header*/ ctx[
|
12257
|
+
set_style(div1, "width", /*_header*/ ctx[14].width + "px");
|
12201
12258
|
}
|
12202
12259
|
|
12203
12260
|
if (dirty & /*header*/ 1) {
|
@@ -12244,7 +12301,7 @@
|
|
12244
12301
|
}
|
12245
12302
|
},
|
12246
12303
|
p(ctx, [dirty]) {
|
12247
|
-
if (dirty & /*header, onHeaderClick*/
|
12304
|
+
if (dirty & /*header, onHeaderClick, isNoLabel*/ 35) {
|
12248
12305
|
each_value = ensure_array_like(/*header*/ ctx[0].columns);
|
12249
12306
|
let i;
|
12250
12307
|
|
@@ -12285,13 +12342,14 @@
|
|
12285
12342
|
let $from;
|
12286
12343
|
const dispatch = createEventDispatcher();
|
12287
12344
|
const { from, to, width } = getContext('dimensions');
|
12288
|
-
component_subscribe($$self, from, value => $$invalidate(
|
12289
|
-
component_subscribe($$self, to, value => $$invalidate(
|
12290
|
-
component_subscribe($$self, width, value => $$invalidate(
|
12345
|
+
component_subscribe($$self, from, value => $$invalidate(10, $from = value));
|
12346
|
+
component_subscribe($$self, to, value => $$invalidate(9, $to = value));
|
12347
|
+
component_subscribe($$self, width, value => $$invalidate(8, $width = value));
|
12291
12348
|
const { dateAdapter } = getContext('options');
|
12292
12349
|
let { header } = $$props;
|
12293
12350
|
let { ganttBodyColumns } = $$props;
|
12294
12351
|
let { ganttBodyUnit } = $$props;
|
12352
|
+
let { isNoLabel } = $$props;
|
12295
12353
|
|
12296
12354
|
function onHeaderClick(_header) {
|
12297
12355
|
dispatch('dateSelected', {
|
@@ -12305,12 +12363,13 @@
|
|
12305
12363
|
|
12306
12364
|
$$self.$$set = $$props => {
|
12307
12365
|
if ('header' in $$props) $$invalidate(0, header = $$props.header);
|
12308
|
-
if ('ganttBodyColumns' in $$props) $$invalidate(
|
12309
|
-
if ('ganttBodyUnit' in $$props) $$invalidate(
|
12366
|
+
if ('ganttBodyColumns' in $$props) $$invalidate(6, ganttBodyColumns = $$props.ganttBodyColumns);
|
12367
|
+
if ('ganttBodyUnit' in $$props) $$invalidate(7, ganttBodyUnit = $$props.ganttBodyUnit);
|
12368
|
+
if ('isNoLabel' in $$props) $$invalidate(1, isNoLabel = $$props.isNoLabel);
|
12310
12369
|
};
|
12311
12370
|
|
12312
12371
|
$$self.$$.update = () => {
|
12313
|
-
if ($$self.$$.dirty & /*header, ganttBodyUnit, ganttBodyColumns, $from, $to, $width*/
|
12372
|
+
if ($$self.$$.dirty & /*header, ganttBodyUnit, ganttBodyColumns, $from, $to, $width*/ 1985) {
|
12314
12373
|
{
|
12315
12374
|
if (header.unit === ganttBodyUnit) {
|
12316
12375
|
$$invalidate(
|
@@ -12349,6 +12408,7 @@
|
|
12349
12408
|
|
12350
12409
|
return [
|
12351
12410
|
header,
|
12411
|
+
isNoLabel,
|
12352
12412
|
from,
|
12353
12413
|
to,
|
12354
12414
|
width,
|
@@ -12374,8 +12434,9 @@
|
|
12374
12434
|
safe_not_equal,
|
12375
12435
|
{
|
12376
12436
|
header: 0,
|
12377
|
-
ganttBodyColumns:
|
12378
|
-
ganttBodyUnit:
|
12437
|
+
ganttBodyColumns: 6,
|
12438
|
+
ganttBodyUnit: 7,
|
12439
|
+
isNoLabel: 1
|
12379
12440
|
},
|
12380
12441
|
add_css$9
|
12381
12442
|
);
|
@@ -12391,7 +12452,7 @@
|
|
12391
12452
|
}
|
12392
12453
|
|
12393
12454
|
get ganttBodyColumns() {
|
12394
|
-
return this.$$.ctx[
|
12455
|
+
return this.$$.ctx[6];
|
12395
12456
|
}
|
12396
12457
|
|
12397
12458
|
set ganttBodyColumns(ganttBodyColumns) {
|
@@ -12400,71 +12461,131 @@
|
|
12400
12461
|
}
|
12401
12462
|
|
12402
12463
|
get ganttBodyUnit() {
|
12403
|
-
return this.$$.ctx[
|
12464
|
+
return this.$$.ctx[7];
|
12404
12465
|
}
|
12405
12466
|
|
12406
12467
|
set ganttBodyUnit(ganttBodyUnit) {
|
12407
12468
|
this.$$set({ ganttBodyUnit });
|
12408
12469
|
flush();
|
12409
12470
|
}
|
12471
|
+
|
12472
|
+
get isNoLabel() {
|
12473
|
+
return this.$$.ctx[1];
|
12474
|
+
}
|
12475
|
+
|
12476
|
+
set isNoLabel(isNoLabel) {
|
12477
|
+
this.$$set({ isNoLabel });
|
12478
|
+
flush();
|
12479
|
+
}
|
12410
12480
|
}
|
12411
12481
|
|
12412
|
-
create_custom_element(ColumnHeaderRow, {"header":{},"ganttBodyColumns":{},"ganttBodyUnit":{}}, [], [], true);
|
12482
|
+
create_custom_element(ColumnHeaderRow, {"header":{},"ganttBodyColumns":{},"ganttBodyUnit":{},"isNoLabel":{}}, [], [], true);
|
12413
12483
|
|
12414
12484
|
/* src/column/ColumnHeader.svelte generated by Svelte v4.2.17 */
|
12415
12485
|
|
12486
|
+
function get_each_context_1$2(ctx, list, i) {
|
12487
|
+
const child_ctx = ctx.slice();
|
12488
|
+
child_ctx[7] = list[i];
|
12489
|
+
return child_ctx;
|
12490
|
+
}
|
12491
|
+
|
12416
12492
|
function get_each_context$5(ctx, list, i) {
|
12417
12493
|
const child_ctx = ctx.slice();
|
12418
|
-
child_ctx[
|
12494
|
+
child_ctx[7] = list[i];
|
12419
12495
|
return child_ctx;
|
12420
12496
|
}
|
12421
12497
|
|
12422
|
-
// (
|
12423
|
-
function
|
12424
|
-
let
|
12498
|
+
// (11:0) {:else}
|
12499
|
+
function create_else_block$4(ctx) {
|
12500
|
+
let each_1_anchor;
|
12425
12501
|
let current;
|
12502
|
+
let each_value_1 = ensure_array_like(/*headers*/ ctx[0].filter(func));
|
12503
|
+
let each_blocks = [];
|
12426
12504
|
|
12427
|
-
|
12428
|
-
|
12429
|
-
|
12430
|
-
ganttBodyColumns: /*ganttBodyColumns*/ ctx[1],
|
12431
|
-
ganttBodyUnit: /*ganttBodyUnit*/ ctx[2]
|
12432
|
-
}
|
12433
|
-
});
|
12505
|
+
for (let i = 0; i < each_value_1.length; i += 1) {
|
12506
|
+
each_blocks[i] = create_each_block_1$2(get_each_context_1$2(ctx, each_value_1, i));
|
12507
|
+
}
|
12434
12508
|
|
12435
|
-
|
12509
|
+
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
12510
|
+
each_blocks[i] = null;
|
12511
|
+
});
|
12436
12512
|
|
12437
12513
|
return {
|
12438
12514
|
c() {
|
12439
|
-
|
12515
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
12516
|
+
each_blocks[i].c();
|
12517
|
+
}
|
12518
|
+
|
12519
|
+
each_1_anchor = empty();
|
12440
12520
|
},
|
12441
12521
|
m(target, anchor) {
|
12442
|
-
|
12522
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
12523
|
+
if (each_blocks[i]) {
|
12524
|
+
each_blocks[i].m(target, anchor);
|
12525
|
+
}
|
12526
|
+
}
|
12527
|
+
|
12528
|
+
insert(target, each_1_anchor, anchor);
|
12443
12529
|
current = true;
|
12444
12530
|
},
|
12445
12531
|
p(ctx, dirty) {
|
12446
|
-
|
12447
|
-
|
12448
|
-
|
12449
|
-
|
12450
|
-
|
12532
|
+
if (dirty & /*headers, ganttBodyColumns, ganttBodyUnit*/ 7) {
|
12533
|
+
each_value_1 = ensure_array_like(/*headers*/ ctx[0].filter(func));
|
12534
|
+
let i;
|
12535
|
+
|
12536
|
+
for (i = 0; i < each_value_1.length; i += 1) {
|
12537
|
+
const child_ctx = get_each_context_1$2(ctx, each_value_1, i);
|
12538
|
+
|
12539
|
+
if (each_blocks[i]) {
|
12540
|
+
each_blocks[i].p(child_ctx, dirty);
|
12541
|
+
transition_in(each_blocks[i], 1);
|
12542
|
+
} else {
|
12543
|
+
each_blocks[i] = create_each_block_1$2(child_ctx);
|
12544
|
+
each_blocks[i].c();
|
12545
|
+
transition_in(each_blocks[i], 1);
|
12546
|
+
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
12547
|
+
}
|
12548
|
+
}
|
12549
|
+
|
12550
|
+
group_outros();
|
12551
|
+
|
12552
|
+
for (i = each_value_1.length; i < each_blocks.length; i += 1) {
|
12553
|
+
out(i);
|
12554
|
+
}
|
12555
|
+
|
12556
|
+
check_outros();
|
12557
|
+
}
|
12451
12558
|
},
|
12452
12559
|
i(local) {
|
12453
12560
|
if (current) return;
|
12454
|
-
|
12561
|
+
|
12562
|
+
for (let i = 0; i < each_value_1.length; i += 1) {
|
12563
|
+
transition_in(each_blocks[i]);
|
12564
|
+
}
|
12565
|
+
|
12455
12566
|
current = true;
|
12456
12567
|
},
|
12457
12568
|
o(local) {
|
12458
|
-
|
12569
|
+
each_blocks = each_blocks.filter(Boolean);
|
12570
|
+
|
12571
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
12572
|
+
transition_out(each_blocks[i]);
|
12573
|
+
}
|
12574
|
+
|
12459
12575
|
current = false;
|
12460
12576
|
},
|
12461
12577
|
d(detaching) {
|
12462
|
-
|
12578
|
+
if (detaching) {
|
12579
|
+
detach(each_1_anchor);
|
12580
|
+
}
|
12581
|
+
|
12582
|
+
destroy_each(each_blocks, detaching);
|
12463
12583
|
}
|
12464
12584
|
};
|
12465
12585
|
}
|
12466
12586
|
|
12467
|
-
|
12587
|
+
// (7:0) {#if isDateSelected}
|
12588
|
+
function create_if_block$6(ctx) {
|
12468
12589
|
let each_1_anchor;
|
12469
12590
|
let current;
|
12470
12591
|
let each_value = ensure_array_like(/*headers*/ ctx[0]);
|
@@ -12496,7 +12617,7 @@
|
|
12496
12617
|
insert(target, each_1_anchor, anchor);
|
12497
12618
|
current = true;
|
12498
12619
|
},
|
12499
|
-
p(ctx,
|
12620
|
+
p(ctx, dirty) {
|
12500
12621
|
if (dirty & /*headers, ganttBodyColumns, ganttBodyUnit*/ 7) {
|
12501
12622
|
each_value = ensure_array_like(/*headers*/ ctx[0]);
|
12502
12623
|
let i;
|
@@ -12552,64 +12673,287 @@
|
|
12552
12673
|
};
|
12553
12674
|
}
|
12554
12675
|
|
12555
|
-
|
12556
|
-
|
12557
|
-
let
|
12558
|
-
let
|
12676
|
+
// (12:0) {#each headers.filter(item => item.unit === 'day') as header}
|
12677
|
+
function create_each_block_1$2(ctx) {
|
12678
|
+
let columnheaderrow0;
|
12679
|
+
let t;
|
12680
|
+
let columnheaderrow1;
|
12681
|
+
let current;
|
12559
12682
|
|
12560
|
-
|
12561
|
-
|
12562
|
-
|
12683
|
+
columnheaderrow0 = new ColumnHeaderRow({
|
12684
|
+
props: {
|
12685
|
+
header: /*header*/ ctx[7],
|
12686
|
+
ganttBodyColumns: /*ganttBodyColumns*/ ctx[1],
|
12687
|
+
ganttBodyUnit: /*ganttBodyUnit*/ ctx[2],
|
12688
|
+
isNoLabel: false
|
12689
|
+
}
|
12690
|
+
});
|
12563
12691
|
|
12564
|
-
|
12565
|
-
|
12566
|
-
|
12567
|
-
|
12568
|
-
|
12692
|
+
columnheaderrow0.$on("dateSelected", /*dateSelected_handler_1*/ ctx[5]);
|
12693
|
+
|
12694
|
+
columnheaderrow1 = new ColumnHeaderRow({
|
12695
|
+
props: {
|
12696
|
+
header: /*header*/ ctx[7],
|
12697
|
+
ganttBodyColumns: /*ganttBodyColumns*/ ctx[1],
|
12698
|
+
ganttBodyUnit: /*ganttBodyUnit*/ ctx[2],
|
12699
|
+
isNoLabel: true
|
12700
|
+
}
|
12701
|
+
});
|
12702
|
+
|
12703
|
+
columnheaderrow1.$on("dateSelected", /*dateSelected_handler_2*/ ctx[6]);
|
12704
|
+
|
12705
|
+
return {
|
12706
|
+
c() {
|
12707
|
+
create_component(columnheaderrow0.$$.fragment);
|
12708
|
+
t = space();
|
12709
|
+
create_component(columnheaderrow1.$$.fragment);
|
12710
|
+
},
|
12711
|
+
m(target, anchor) {
|
12712
|
+
mount_component(columnheaderrow0, target, anchor);
|
12713
|
+
insert(target, t, anchor);
|
12714
|
+
mount_component(columnheaderrow1, target, anchor);
|
12715
|
+
current = true;
|
12716
|
+
},
|
12717
|
+
p(ctx, dirty) {
|
12718
|
+
const columnheaderrow0_changes = {};
|
12719
|
+
if (dirty & /*headers*/ 1) columnheaderrow0_changes.header = /*header*/ ctx[7];
|
12720
|
+
if (dirty & /*ganttBodyColumns*/ 2) columnheaderrow0_changes.ganttBodyColumns = /*ganttBodyColumns*/ ctx[1];
|
12721
|
+
if (dirty & /*ganttBodyUnit*/ 4) columnheaderrow0_changes.ganttBodyUnit = /*ganttBodyUnit*/ ctx[2];
|
12722
|
+
columnheaderrow0.$set(columnheaderrow0_changes);
|
12723
|
+
const columnheaderrow1_changes = {};
|
12724
|
+
if (dirty & /*headers*/ 1) columnheaderrow1_changes.header = /*header*/ ctx[7];
|
12725
|
+
if (dirty & /*ganttBodyColumns*/ 2) columnheaderrow1_changes.ganttBodyColumns = /*ganttBodyColumns*/ ctx[1];
|
12726
|
+
if (dirty & /*ganttBodyUnit*/ 4) columnheaderrow1_changes.ganttBodyUnit = /*ganttBodyUnit*/ ctx[2];
|
12727
|
+
columnheaderrow1.$set(columnheaderrow1_changes);
|
12728
|
+
},
|
12729
|
+
i(local) {
|
12730
|
+
if (current) return;
|
12731
|
+
transition_in(columnheaderrow0.$$.fragment, local);
|
12732
|
+
transition_in(columnheaderrow1.$$.fragment, local);
|
12733
|
+
current = true;
|
12734
|
+
},
|
12735
|
+
o(local) {
|
12736
|
+
transition_out(columnheaderrow0.$$.fragment, local);
|
12737
|
+
transition_out(columnheaderrow1.$$.fragment, local);
|
12738
|
+
current = false;
|
12739
|
+
},
|
12740
|
+
d(detaching) {
|
12741
|
+
if (detaching) {
|
12742
|
+
detach(t);
|
12743
|
+
}
|
12569
12744
|
|
12570
|
-
|
12745
|
+
destroy_component(columnheaderrow0, detaching);
|
12746
|
+
destroy_component(columnheaderrow1, detaching);
|
12747
|
+
}
|
12748
|
+
};
|
12571
12749
|
}
|
12572
12750
|
|
12573
|
-
|
12574
|
-
|
12575
|
-
|
12751
|
+
// (8:0) {#each headers as header}
|
12752
|
+
function create_each_block$5(ctx) {
|
12753
|
+
let columnheaderrow;
|
12754
|
+
let current;
|
12576
12755
|
|
12577
|
-
|
12578
|
-
|
12579
|
-
|
12580
|
-
|
12756
|
+
columnheaderrow = new ColumnHeaderRow({
|
12757
|
+
props: {
|
12758
|
+
header: /*header*/ ctx[7],
|
12759
|
+
ganttBodyColumns: /*ganttBodyColumns*/ ctx[1],
|
12760
|
+
ganttBodyUnit: /*ganttBodyUnit*/ ctx[2],
|
12761
|
+
isNoLabel: false
|
12762
|
+
}
|
12581
12763
|
});
|
12582
|
-
}
|
12583
12764
|
|
12584
|
-
|
12585
|
-
return this.$$.ctx[0];
|
12586
|
-
}
|
12765
|
+
columnheaderrow.$on("dateSelected", /*dateSelected_handler*/ ctx[4]);
|
12587
12766
|
|
12588
|
-
|
12589
|
-
|
12590
|
-
|
12591
|
-
|
12767
|
+
return {
|
12768
|
+
c() {
|
12769
|
+
create_component(columnheaderrow.$$.fragment);
|
12770
|
+
},
|
12771
|
+
m(target, anchor) {
|
12772
|
+
mount_component(columnheaderrow, target, anchor);
|
12773
|
+
current = true;
|
12774
|
+
},
|
12775
|
+
p(ctx, dirty) {
|
12776
|
+
const columnheaderrow_changes = {};
|
12777
|
+
if (dirty & /*headers*/ 1) columnheaderrow_changes.header = /*header*/ ctx[7];
|
12778
|
+
if (dirty & /*ganttBodyColumns*/ 2) columnheaderrow_changes.ganttBodyColumns = /*ganttBodyColumns*/ ctx[1];
|
12779
|
+
if (dirty & /*ganttBodyUnit*/ 4) columnheaderrow_changes.ganttBodyUnit = /*ganttBodyUnit*/ ctx[2];
|
12780
|
+
columnheaderrow.$set(columnheaderrow_changes);
|
12781
|
+
},
|
12782
|
+
i(local) {
|
12783
|
+
if (current) return;
|
12784
|
+
transition_in(columnheaderrow.$$.fragment, local);
|
12785
|
+
current = true;
|
12786
|
+
},
|
12787
|
+
o(local) {
|
12788
|
+
transition_out(columnheaderrow.$$.fragment, local);
|
12789
|
+
current = false;
|
12790
|
+
},
|
12791
|
+
d(detaching) {
|
12792
|
+
destroy_component(columnheaderrow, detaching);
|
12793
|
+
}
|
12794
|
+
};
|
12795
|
+
}
|
12592
12796
|
|
12593
|
-
|
12594
|
-
|
12595
|
-
|
12797
|
+
function create_fragment$9(ctx) {
|
12798
|
+
let current_block_type_index;
|
12799
|
+
let if_block;
|
12800
|
+
let if_block_anchor;
|
12801
|
+
let current;
|
12802
|
+
const if_block_creators = [create_if_block$6, create_else_block$4];
|
12803
|
+
const if_blocks = [];
|
12596
12804
|
|
12597
|
-
|
12598
|
-
|
12599
|
-
|
12805
|
+
function select_block_type(ctx, dirty) {
|
12806
|
+
if (/*isDateSelected*/ ctx[3]) return 0;
|
12807
|
+
return 1;
|
12600
12808
|
}
|
12601
12809
|
|
12602
|
-
|
12603
|
-
|
12604
|
-
}
|
12810
|
+
current_block_type_index = select_block_type(ctx);
|
12811
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
12605
12812
|
|
12606
|
-
|
12607
|
-
|
12608
|
-
|
12609
|
-
|
12610
|
-
|
12813
|
+
return {
|
12814
|
+
c() {
|
12815
|
+
if_block.c();
|
12816
|
+
if_block_anchor = empty();
|
12817
|
+
},
|
12818
|
+
m(target, anchor) {
|
12819
|
+
if_blocks[current_block_type_index].m(target, anchor);
|
12820
|
+
insert(target, if_block_anchor, anchor);
|
12821
|
+
current = true;
|
12822
|
+
},
|
12823
|
+
p(ctx, [dirty]) {
|
12824
|
+
let previous_block_index = current_block_type_index;
|
12825
|
+
current_block_type_index = select_block_type(ctx);
|
12611
12826
|
|
12612
|
-
|
12827
|
+
if (current_block_type_index === previous_block_index) {
|
12828
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
12829
|
+
} else {
|
12830
|
+
group_outros();
|
12831
|
+
|
12832
|
+
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
12833
|
+
if_blocks[previous_block_index] = null;
|
12834
|
+
});
|
12835
|
+
|
12836
|
+
check_outros();
|
12837
|
+
if_block = if_blocks[current_block_type_index];
|
12838
|
+
|
12839
|
+
if (!if_block) {
|
12840
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
12841
|
+
if_block.c();
|
12842
|
+
} else {
|
12843
|
+
if_block.p(ctx, dirty);
|
12844
|
+
}
|
12845
|
+
|
12846
|
+
transition_in(if_block, 1);
|
12847
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
12848
|
+
}
|
12849
|
+
},
|
12850
|
+
i(local) {
|
12851
|
+
if (current) return;
|
12852
|
+
transition_in(if_block);
|
12853
|
+
current = true;
|
12854
|
+
},
|
12855
|
+
o(local) {
|
12856
|
+
transition_out(if_block);
|
12857
|
+
current = false;
|
12858
|
+
},
|
12859
|
+
d(detaching) {
|
12860
|
+
if (detaching) {
|
12861
|
+
detach(if_block_anchor);
|
12862
|
+
}
|
12863
|
+
|
12864
|
+
if_blocks[current_block_type_index].d(detaching);
|
12865
|
+
}
|
12866
|
+
};
|
12867
|
+
}
|
12868
|
+
|
12869
|
+
const func = item => item.unit === 'day';
|
12870
|
+
|
12871
|
+
function instance$9($$self, $$props, $$invalidate) {
|
12872
|
+
let { headers } = $$props;
|
12873
|
+
let { ganttBodyColumns } = $$props;
|
12874
|
+
let { ganttBodyUnit } = $$props;
|
12875
|
+
let { isDateSelected } = $$props;
|
12876
|
+
|
12877
|
+
function dateSelected_handler(event) {
|
12878
|
+
bubble.call(this, $$self, event);
|
12879
|
+
}
|
12880
|
+
|
12881
|
+
function dateSelected_handler_1(event) {
|
12882
|
+
bubble.call(this, $$self, event);
|
12883
|
+
}
|
12884
|
+
|
12885
|
+
function dateSelected_handler_2(event) {
|
12886
|
+
bubble.call(this, $$self, event);
|
12887
|
+
}
|
12888
|
+
|
12889
|
+
$$self.$$set = $$props => {
|
12890
|
+
if ('headers' in $$props) $$invalidate(0, headers = $$props.headers);
|
12891
|
+
if ('ganttBodyColumns' in $$props) $$invalidate(1, ganttBodyColumns = $$props.ganttBodyColumns);
|
12892
|
+
if ('ganttBodyUnit' in $$props) $$invalidate(2, ganttBodyUnit = $$props.ganttBodyUnit);
|
12893
|
+
if ('isDateSelected' in $$props) $$invalidate(3, isDateSelected = $$props.isDateSelected);
|
12894
|
+
};
|
12895
|
+
|
12896
|
+
return [
|
12897
|
+
headers,
|
12898
|
+
ganttBodyColumns,
|
12899
|
+
ganttBodyUnit,
|
12900
|
+
isDateSelected,
|
12901
|
+
dateSelected_handler,
|
12902
|
+
dateSelected_handler_1,
|
12903
|
+
dateSelected_handler_2
|
12904
|
+
];
|
12905
|
+
}
|
12906
|
+
|
12907
|
+
class ColumnHeader extends SvelteComponent {
|
12908
|
+
constructor(options) {
|
12909
|
+
super();
|
12910
|
+
|
12911
|
+
init(this, options, instance$9, create_fragment$9, safe_not_equal, {
|
12912
|
+
headers: 0,
|
12913
|
+
ganttBodyColumns: 1,
|
12914
|
+
ganttBodyUnit: 2,
|
12915
|
+
isDateSelected: 3
|
12916
|
+
});
|
12917
|
+
}
|
12918
|
+
|
12919
|
+
get headers() {
|
12920
|
+
return this.$$.ctx[0];
|
12921
|
+
}
|
12922
|
+
|
12923
|
+
set headers(headers) {
|
12924
|
+
this.$$set({ headers });
|
12925
|
+
flush();
|
12926
|
+
}
|
12927
|
+
|
12928
|
+
get ganttBodyColumns() {
|
12929
|
+
return this.$$.ctx[1];
|
12930
|
+
}
|
12931
|
+
|
12932
|
+
set ganttBodyColumns(ganttBodyColumns) {
|
12933
|
+
this.$$set({ ganttBodyColumns });
|
12934
|
+
flush();
|
12935
|
+
}
|
12936
|
+
|
12937
|
+
get ganttBodyUnit() {
|
12938
|
+
return this.$$.ctx[2];
|
12939
|
+
}
|
12940
|
+
|
12941
|
+
set ganttBodyUnit(ganttBodyUnit) {
|
12942
|
+
this.$$set({ ganttBodyUnit });
|
12943
|
+
flush();
|
12944
|
+
}
|
12945
|
+
|
12946
|
+
get isDateSelected() {
|
12947
|
+
return this.$$.ctx[3];
|
12948
|
+
}
|
12949
|
+
|
12950
|
+
set isDateSelected(isDateSelected) {
|
12951
|
+
this.$$set({ isDateSelected });
|
12952
|
+
flush();
|
12953
|
+
}
|
12954
|
+
}
|
12955
|
+
|
12956
|
+
create_custom_element(ColumnHeader, {"headers":{},"ganttBodyColumns":{},"ganttBodyUnit":{},"isDateSelected":{}}, [], [], true);
|
12613
12957
|
|
12614
12958
|
function createBackground(columns, opts) {
|
12615
12959
|
try {
|
@@ -13943,8 +14287,8 @@
|
|
13943
14287
|
let if_block0 = /*row*/ ctx[1].model.iconClass && create_if_block_7(ctx);
|
13944
14288
|
|
13945
14289
|
function select_block_type_2(ctx, dirty) {
|
13946
|
-
if (/*row*/ ctx[1].model.headerHtml) return create_if_block_4
|
13947
|
-
if (/*header*/ ctx[0].renderer) return create_if_block_5
|
14290
|
+
if (/*row*/ ctx[1].model.headerHtml) return create_if_block_4;
|
14291
|
+
if (/*header*/ ctx[0].renderer) return create_if_block_5;
|
13948
14292
|
if (/*header*/ ctx[0].type === 'resourceInfo') return create_if_block_6;
|
13949
14293
|
return create_else_block_2;
|
13950
14294
|
}
|
@@ -14151,7 +14495,7 @@
|
|
14151
14495
|
}
|
14152
14496
|
|
14153
14497
|
// (53:32)
|
14154
|
-
function create_if_block_5
|
14498
|
+
function create_if_block_5(ctx) {
|
14155
14499
|
let html_tag;
|
14156
14500
|
let raw_value = /*header*/ ctx[0].renderer(/*row*/ ctx[1]) + "";
|
14157
14501
|
let html_anchor;
|
@@ -14179,7 +14523,7 @@
|
|
14179
14523
|
}
|
14180
14524
|
|
14181
14525
|
// (51:6) {#if row.model.headerHtml}
|
14182
|
-
function create_if_block_4
|
14526
|
+
function create_if_block_4(ctx) {
|
14183
14527
|
let html_tag;
|
14184
14528
|
let raw_value = /*row*/ ctx[1].model.headerHtml + "";
|
14185
14529
|
let html_anchor;
|
@@ -14207,7 +14551,7 @@
|
|
14207
14551
|
}
|
14208
14552
|
|
14209
14553
|
// (30:8) {#if row.model.iconClass}
|
14210
|
-
function create_if_block_3
|
14554
|
+
function create_if_block_3(ctx) {
|
14211
14555
|
let div;
|
14212
14556
|
let i;
|
14213
14557
|
let i_class_value;
|
@@ -14260,7 +14604,7 @@
|
|
14260
14604
|
}
|
14261
14605
|
|
14262
14606
|
// (38:34)
|
14263
|
-
function create_if_block_2$
|
14607
|
+
function create_if_block_2$1(ctx) {
|
14264
14608
|
let html_tag;
|
14265
14609
|
let raw_value = /*header*/ ctx[0].renderer(/*row*/ ctx[1]) + "";
|
14266
14610
|
let html_anchor;
|
@@ -14319,11 +14663,11 @@
|
|
14319
14663
|
function create_default_slot$1(ctx) {
|
14320
14664
|
let t;
|
14321
14665
|
let if_block1_anchor;
|
14322
|
-
let if_block0 = /*row*/ ctx[1].model.iconClass && create_if_block_3
|
14666
|
+
let if_block0 = /*row*/ ctx[1].model.iconClass && create_if_block_3(ctx);
|
14323
14667
|
|
14324
14668
|
function select_block_type_1(ctx, dirty) {
|
14325
14669
|
if (/*row*/ ctx[1].model.headerHtml) return create_if_block_1$2;
|
14326
|
-
if (/*header*/ ctx[0].renderer) return create_if_block_2$
|
14670
|
+
if (/*header*/ ctx[0].renderer) return create_if_block_2$1;
|
14327
14671
|
return create_else_block$1;
|
14328
14672
|
}
|
14329
14673
|
|
@@ -14348,7 +14692,7 @@
|
|
14348
14692
|
if (if_block0) {
|
14349
14693
|
if_block0.p(ctx, dirty);
|
14350
14694
|
} else {
|
14351
|
-
if_block0 = create_if_block_3
|
14695
|
+
if_block0 = create_if_block_3(ctx);
|
14352
14696
|
if_block0.c();
|
14353
14697
|
if_block0.m(t.parentNode, t);
|
14354
14698
|
}
|
@@ -14577,33 +14921,27 @@
|
|
14577
14921
|
/* src/modules/table/Table.svelte generated by Svelte v4.2.17 */
|
14578
14922
|
|
14579
14923
|
function add_css$3(target) {
|
14580
|
-
append_styles(target, "svelte-
|
14924
|
+
append_styles(target, "svelte-5z38yf", ".sg-table.svelte-5z38yf{overflow-x:auto;display:flex;flex-direction:column}.sg-table-scroller.svelte-5z38yf{width:100%;border-bottom:1px solid #efefef;overflow-y:hidden}.sg-table-header.svelte-5z38yf{display:flex;align-items:stretch;overflow:hidden;border-bottom:#efefef 1px solid;background-color:#fbfbfb;flex-direction:column}.sg-table-body.svelte-5z38yf{display:flex;flex:1 1 0;width:100%;overflow-y:hidden}.sg-table-header-cell.svelte-5z38yf{font-size:14px;font-weight:400;position:relative;width:100%}.sg-table-cell{white-space:nowrap;overflow:hidden;display:flex;align-items:center;flex-shrink:0;padding:0 0.5em;height:100%}.sg-table-cell:last-child{flex-grow:1}.sg-creator-select.svelte-5z38yf{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;padding:.6em 1.4em .5em .8em;margin:0;min-width:100%;border:1px solid #aaa;border-radius:.5em;box-shadow:0 1px 0 1px rgba(0,0,0,.04)}");
|
14581
14925
|
}
|
14582
14926
|
|
14583
14927
|
function get_each_context$2(ctx, list, i) {
|
14584
14928
|
const child_ctx = ctx.slice();
|
14585
|
-
child_ctx[
|
14929
|
+
child_ctx[35] = list[i];
|
14586
14930
|
return child_ctx;
|
14587
14931
|
}
|
14588
14932
|
|
14589
14933
|
function get_each_context_1$1(ctx, list, i) {
|
14590
14934
|
const child_ctx = ctx.slice();
|
14591
|
-
child_ctx[
|
14592
|
-
return child_ctx;
|
14593
|
-
}
|
14594
|
-
|
14595
|
-
function get_each_context_2$1(ctx, list, i) {
|
14596
|
-
const child_ctx = ctx.slice();
|
14597
|
-
child_ctx[37] = list[i];
|
14935
|
+
child_ctx[35] = list[i];
|
14598
14936
|
return child_ctx;
|
14599
14937
|
}
|
14600
14938
|
|
14601
|
-
// (
|
14939
|
+
// (95:4) {#if tableHeader}
|
14602
14940
|
function create_if_block$2(ctx) {
|
14603
14941
|
let if_block_anchor;
|
14604
14942
|
|
14605
14943
|
function select_block_type(ctx, dirty) {
|
14606
|
-
if (/*tableHeader*/ ctx[
|
14944
|
+
if (/*tableHeader*/ ctx[6].isFilter) return create_if_block_1$1;
|
14607
14945
|
return create_else_block;
|
14608
14946
|
}
|
14609
14947
|
|
@@ -14642,24 +14980,24 @@
|
|
14642
14980
|
};
|
14643
14981
|
}
|
14644
14982
|
|
14645
|
-
// (
|
14983
|
+
// (108:6) {:else}
|
14646
14984
|
function create_else_block(ctx) {
|
14647
14985
|
let div;
|
14648
|
-
let t_value = /*tableHeader*/ ctx[
|
14986
|
+
let t_value = /*tableHeader*/ ctx[6].title + "";
|
14649
14987
|
let t;
|
14650
14988
|
|
14651
14989
|
return {
|
14652
14990
|
c() {
|
14653
14991
|
div = element("div");
|
14654
14992
|
t = text(t_value);
|
14655
|
-
attr(div, "class", "sg-table-header-cell sg-table-cell svelte-
|
14993
|
+
attr(div, "class", "sg-table-header-cell sg-table-cell svelte-5z38yf");
|
14656
14994
|
},
|
14657
14995
|
m(target, anchor) {
|
14658
14996
|
insert(target, div, anchor);
|
14659
14997
|
append(div, t);
|
14660
14998
|
},
|
14661
14999
|
p(ctx, dirty) {
|
14662
|
-
if (dirty[0] & /*tableHeader*/
|
15000
|
+
if (dirty[0] & /*tableHeader*/ 64 && t_value !== (t_value = /*tableHeader*/ ctx[6].title + "")) set_data(t, t_value);
|
14663
15001
|
},
|
14664
15002
|
d(detaching) {
|
14665
15003
|
if (detaching) {
|
@@ -14669,174 +15007,74 @@
|
|
14669
15007
|
};
|
14670
15008
|
}
|
14671
15009
|
|
14672
|
-
// (
|
15010
|
+
// (96:6) {#if tableHeader.isFilter}
|
14673
15011
|
function create_if_block_1$1(ctx) {
|
14674
|
-
let
|
14675
|
-
let
|
14676
|
-
let
|
14677
|
-
let t0;
|
14678
|
-
let t1;
|
14679
|
-
let span1;
|
14680
|
-
let t2;
|
14681
|
-
let div1;
|
14682
|
-
let show_if_1 = Object.entries(/*prodMap01*/ ctx[6]).length > 0;
|
14683
|
-
let t3;
|
14684
|
-
let show_if = Object.entries(/*prodMap02*/ ctx[7]).length > 0;
|
15012
|
+
let div;
|
15013
|
+
let select;
|
15014
|
+
let option;
|
14685
15015
|
let mounted;
|
14686
15016
|
let dispose;
|
14687
|
-
let
|
14688
|
-
let if_block1 = show_if && create_if_block_2$1(ctx);
|
14689
|
-
|
14690
|
-
return {
|
14691
|
-
c() {
|
14692
|
-
div0 = element("div");
|
14693
|
-
span0 = element("span");
|
14694
|
-
t0 = text(t0_value);
|
14695
|
-
t1 = space();
|
14696
|
-
span1 = element("span");
|
14697
|
-
span1.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"></path></svg>`;
|
14698
|
-
t2 = space();
|
14699
|
-
div1 = element("div");
|
14700
|
-
if (if_block0) if_block0.c();
|
14701
|
-
t3 = space();
|
14702
|
-
if (if_block1) if_block1.c();
|
14703
|
-
attr(span1, "class", "sg-select-arrow svelte-1202h8i");
|
14704
|
-
attr(div0, "role", "presentation");
|
14705
|
-
attr(div0, "class", "sg-table-header-cell sg-table-cell sg-select svelte-1202h8i");
|
14706
|
-
attr(div1, "class", "sg-select-items svelte-1202h8i");
|
14707
|
-
set_style(div1, "top", /*$headerHeight*/ ctx[10] + "px");
|
14708
|
-
set_style(div1, "width", /*tableWidth*/ ctx[0] + 100 + "px");
|
14709
|
-
set_style(div1, "overflow-x", "hidden");
|
14710
|
-
toggle_class(div1, "open", /*isSelectOpen*/ ctx[9]);
|
14711
|
-
},
|
14712
|
-
m(target, anchor) {
|
14713
|
-
insert(target, div0, anchor);
|
14714
|
-
append(div0, span0);
|
14715
|
-
append(span0, t0);
|
14716
|
-
append(div0, t1);
|
14717
|
-
append(div0, span1);
|
14718
|
-
insert(target, t2, anchor);
|
14719
|
-
insert(target, div1, anchor);
|
14720
|
-
if (if_block0) if_block0.m(div1, null);
|
14721
|
-
append(div1, t3);
|
14722
|
-
if (if_block1) if_block1.m(div1, null);
|
14723
|
-
|
14724
|
-
if (!mounted) {
|
14725
|
-
dispose = listen(div0, "click", /*onSelectToggle*/ ctx[19]);
|
14726
|
-
mounted = true;
|
14727
|
-
}
|
14728
|
-
},
|
14729
|
-
p(ctx, dirty) {
|
14730
|
-
if (dirty[0] & /*tableHeader*/ 32 && t0_value !== (t0_value = /*tableHeader*/ ctx[5].title + "")) set_data(t0, t0_value);
|
14731
|
-
if (dirty[0] & /*prodMap01*/ 64) show_if_1 = Object.entries(/*prodMap01*/ ctx[6]).length > 0;
|
14732
|
-
|
14733
|
-
if (show_if_1) {
|
14734
|
-
if (if_block0) {
|
14735
|
-
if_block0.p(ctx, dirty);
|
14736
|
-
} else {
|
14737
|
-
if_block0 = create_if_block_4(ctx);
|
14738
|
-
if_block0.c();
|
14739
|
-
if_block0.m(div1, t3);
|
14740
|
-
}
|
14741
|
-
} else if (if_block0) {
|
14742
|
-
if_block0.d(1);
|
14743
|
-
if_block0 = null;
|
14744
|
-
}
|
14745
|
-
|
14746
|
-
if (dirty[0] & /*prodMap02*/ 128) show_if = Object.entries(/*prodMap02*/ ctx[7]).length > 0;
|
14747
|
-
|
14748
|
-
if (show_if) {
|
14749
|
-
if (if_block1) {
|
14750
|
-
if_block1.p(ctx, dirty);
|
14751
|
-
} else {
|
14752
|
-
if_block1 = create_if_block_2$1(ctx);
|
14753
|
-
if_block1.c();
|
14754
|
-
if_block1.m(div1, null);
|
14755
|
-
}
|
14756
|
-
} else if (if_block1) {
|
14757
|
-
if_block1.d(1);
|
14758
|
-
if_block1 = null;
|
14759
|
-
}
|
14760
|
-
|
14761
|
-
if (dirty[0] & /*$headerHeight*/ 1024) {
|
14762
|
-
set_style(div1, "top", /*$headerHeight*/ ctx[10] + "px");
|
14763
|
-
}
|
14764
|
-
|
14765
|
-
if (dirty[0] & /*tableWidth*/ 1) {
|
14766
|
-
set_style(div1, "width", /*tableWidth*/ ctx[0] + 100 + "px");
|
14767
|
-
}
|
14768
|
-
|
14769
|
-
if (dirty[0] & /*isSelectOpen*/ 512) {
|
14770
|
-
toggle_class(div1, "open", /*isSelectOpen*/ ctx[9]);
|
14771
|
-
}
|
14772
|
-
},
|
14773
|
-
d(detaching) {
|
14774
|
-
if (detaching) {
|
14775
|
-
detach(div0);
|
14776
|
-
detach(t2);
|
14777
|
-
detach(div1);
|
14778
|
-
}
|
14779
|
-
|
14780
|
-
if (if_block0) if_block0.d();
|
14781
|
-
if (if_block1) if_block1.d();
|
14782
|
-
mounted = false;
|
14783
|
-
dispose();
|
14784
|
-
}
|
14785
|
-
};
|
14786
|
-
}
|
14787
|
-
|
14788
|
-
// (112:8) {#if Object.entries(prodMap01).length > 0}
|
14789
|
-
function create_if_block_4(ctx) {
|
14790
|
-
let label;
|
14791
|
-
let t1;
|
14792
|
-
let each_1_anchor;
|
14793
|
-
let each_value_2 = ensure_array_like(Object.values(/*prodMap01*/ ctx[6]));
|
15017
|
+
let each_value_1 = ensure_array_like(/*allCreators*/ ctx[7]);
|
14794
15018
|
let each_blocks = [];
|
14795
15019
|
|
14796
|
-
for (let i = 0; i <
|
14797
|
-
each_blocks[i] =
|
15020
|
+
for (let i = 0; i < each_value_1.length; i += 1) {
|
15021
|
+
each_blocks[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i));
|
14798
15022
|
}
|
14799
15023
|
|
14800
15024
|
return {
|
14801
15025
|
c() {
|
14802
|
-
|
14803
|
-
|
14804
|
-
|
15026
|
+
div = element("div");
|
15027
|
+
select = element("select");
|
15028
|
+
option = element("option");
|
15029
|
+
option.textContent = "전체";
|
14805
15030
|
|
14806
15031
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
14807
15032
|
each_blocks[i].c();
|
14808
15033
|
}
|
14809
15034
|
|
14810
|
-
|
14811
|
-
|
14812
|
-
attr(
|
15035
|
+
option.__value = "all";
|
15036
|
+
set_input_value(option, option.__value);
|
15037
|
+
attr(select, "class", "sg-creator-select svelte-5z38yf");
|
15038
|
+
if (/*selectedCreator*/ ctx[0] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[21].call(select));
|
15039
|
+
attr(div, "role", "presentation");
|
15040
|
+
attr(div, "class", "sg-table-header-cell sg-table-cell svelte-5z38yf");
|
14813
15041
|
},
|
14814
15042
|
m(target, anchor) {
|
14815
|
-
insert(target,
|
14816
|
-
|
15043
|
+
insert(target, div, anchor);
|
15044
|
+
append(div, select);
|
15045
|
+
append(select, option);
|
14817
15046
|
|
14818
15047
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
14819
15048
|
if (each_blocks[i]) {
|
14820
|
-
each_blocks[i].m(
|
15049
|
+
each_blocks[i].m(select, null);
|
14821
15050
|
}
|
14822
15051
|
}
|
14823
15052
|
|
14824
|
-
|
15053
|
+
select_option(select, /*selectedCreator*/ ctx[0], true);
|
15054
|
+
|
15055
|
+
if (!mounted) {
|
15056
|
+
dispose = [
|
15057
|
+
listen(select, "change", /*select_change_handler*/ ctx[21]),
|
15058
|
+
listen(select, "change", /*onCheckBoxChange*/ ctx[18])
|
15059
|
+
];
|
15060
|
+
|
15061
|
+
mounted = true;
|
15062
|
+
}
|
14825
15063
|
},
|
14826
15064
|
p(ctx, dirty) {
|
14827
|
-
if (dirty[0] & /*
|
14828
|
-
|
15065
|
+
if (dirty[0] & /*allCreators*/ 128) {
|
15066
|
+
each_value_1 = ensure_array_like(/*allCreators*/ ctx[7]);
|
14829
15067
|
let i;
|
14830
15068
|
|
14831
|
-
for (i = 0; i <
|
14832
|
-
const child_ctx =
|
15069
|
+
for (i = 0; i < each_value_1.length; i += 1) {
|
15070
|
+
const child_ctx = get_each_context_1$1(ctx, each_value_1, i);
|
14833
15071
|
|
14834
15072
|
if (each_blocks[i]) {
|
14835
15073
|
each_blocks[i].p(child_ctx, dirty);
|
14836
15074
|
} else {
|
14837
|
-
each_blocks[i] =
|
15075
|
+
each_blocks[i] = create_each_block_1$1(child_ctx);
|
14838
15076
|
each_blocks[i].c();
|
14839
|
-
each_blocks[i].m(
|
15077
|
+
each_blocks[i].m(select, null);
|
14840
15078
|
}
|
14841
15079
|
}
|
14842
15080
|
|
@@ -14844,321 +15082,73 @@
|
|
14844
15082
|
each_blocks[i].d(1);
|
14845
15083
|
}
|
14846
15084
|
|
14847
|
-
each_blocks.length =
|
15085
|
+
each_blocks.length = each_value_1.length;
|
15086
|
+
}
|
15087
|
+
|
15088
|
+
if (dirty[0] & /*selectedCreator, allCreators*/ 129) {
|
15089
|
+
select_option(select, /*selectedCreator*/ ctx[0]);
|
14848
15090
|
}
|
14849
15091
|
},
|
14850
15092
|
d(detaching) {
|
14851
15093
|
if (detaching) {
|
14852
|
-
detach(
|
14853
|
-
detach(t1);
|
14854
|
-
detach(each_1_anchor);
|
15094
|
+
detach(div);
|
14855
15095
|
}
|
14856
15096
|
|
14857
15097
|
destroy_each(each_blocks, detaching);
|
15098
|
+
mounted = false;
|
15099
|
+
run_all(dispose);
|
14858
15100
|
}
|
14859
15101
|
};
|
14860
15102
|
}
|
14861
15103
|
|
14862
|
-
// (
|
14863
|
-
function
|
14864
|
-
let
|
14865
|
-
let
|
14866
|
-
let
|
14867
|
-
let
|
14868
|
-
let t1_value = /*row*/ ctx[37].PRODUCT_NAME + "";
|
14869
|
-
let t1;
|
14870
|
-
let t2;
|
14871
|
-
let span;
|
14872
|
-
let t3;
|
14873
|
-
let mounted;
|
14874
|
-
let dispose;
|
14875
|
-
|
14876
|
-
function change_handler(...args) {
|
14877
|
-
return /*change_handler*/ ctx[22](/*row*/ ctx[37], ...args);
|
14878
|
-
}
|
15104
|
+
// (103:10) {#each allCreators as row}
|
15105
|
+
function create_each_block_1$1(ctx) {
|
15106
|
+
let option;
|
15107
|
+
let t_value = /*row*/ ctx[35] + "";
|
15108
|
+
let t;
|
15109
|
+
let option_value_value;
|
14879
15110
|
|
14880
15111
|
return {
|
14881
15112
|
c() {
|
14882
|
-
|
14883
|
-
|
14884
|
-
|
14885
|
-
|
14886
|
-
t2 = space();
|
14887
|
-
span = element("span");
|
14888
|
-
t3 = space();
|
14889
|
-
attr(input, "type", "checkbox");
|
14890
|
-
input.checked = input_checked_value = !/*row*/ ctx[37].hidden;
|
14891
|
-
attr(input, "class", "svelte-1202h8i");
|
14892
|
-
attr(span, "class", "checkmark svelte-1202h8i");
|
14893
|
-
set_style(label, "left", "1em");
|
14894
|
-
attr(label, "class", "svelte-1202h8i");
|
15113
|
+
option = element("option");
|
15114
|
+
t = text(t_value);
|
15115
|
+
option.__value = option_value_value = /*row*/ ctx[35];
|
15116
|
+
set_input_value(option, option.__value);
|
14895
15117
|
},
|
14896
15118
|
m(target, anchor) {
|
14897
|
-
insert(target,
|
14898
|
-
append(
|
14899
|
-
append(label, t0);
|
14900
|
-
append(label, t1);
|
14901
|
-
append(label, t2);
|
14902
|
-
append(label, span);
|
14903
|
-
append(label, t3);
|
14904
|
-
|
14905
|
-
if (!mounted) {
|
14906
|
-
dispose = listen(input, "change", change_handler);
|
14907
|
-
mounted = true;
|
14908
|
-
}
|
15119
|
+
insert(target, option, anchor);
|
15120
|
+
append(option, t);
|
14909
15121
|
},
|
14910
|
-
p(
|
14911
|
-
|
15122
|
+
p(ctx, dirty) {
|
15123
|
+
if (dirty[0] & /*allCreators*/ 128 && t_value !== (t_value = /*row*/ ctx[35] + "")) set_data(t, t_value);
|
14912
15124
|
|
14913
|
-
if (dirty[0] & /*
|
14914
|
-
|
15125
|
+
if (dirty[0] & /*allCreators*/ 128 && option_value_value !== (option_value_value = /*row*/ ctx[35])) {
|
15126
|
+
option.__value = option_value_value;
|
15127
|
+
set_input_value(option, option.__value);
|
14915
15128
|
}
|
14916
|
-
|
14917
|
-
if (dirty[0] & /*prodMap01*/ 64 && t1_value !== (t1_value = /*row*/ ctx[37].PRODUCT_NAME + "")) set_data(t1, t1_value);
|
14918
15129
|
},
|
14919
15130
|
d(detaching) {
|
14920
15131
|
if (detaching) {
|
14921
|
-
detach(
|
15132
|
+
detach(option);
|
14922
15133
|
}
|
14923
|
-
|
14924
|
-
mounted = false;
|
14925
|
-
dispose();
|
14926
15134
|
}
|
14927
15135
|
};
|
14928
15136
|
}
|
14929
15137
|
|
14930
|
-
// (
|
14931
|
-
function create_each_block_2$1(ctx) {
|
14932
|
-
let if_block_anchor;
|
14933
|
-
let if_block = !/*row*/ ctx[37].hidden && create_if_block_5(ctx);
|
14934
|
-
|
14935
|
-
return {
|
14936
|
-
c() {
|
14937
|
-
if (if_block) if_block.c();
|
14938
|
-
if_block_anchor = empty();
|
14939
|
-
},
|
14940
|
-
m(target, anchor) {
|
14941
|
-
if (if_block) if_block.m(target, anchor);
|
14942
|
-
insert(target, if_block_anchor, anchor);
|
14943
|
-
},
|
14944
|
-
p(ctx, dirty) {
|
14945
|
-
if (!/*row*/ ctx[37].hidden) {
|
14946
|
-
if (if_block) {
|
14947
|
-
if_block.p(ctx, dirty);
|
14948
|
-
} else {
|
14949
|
-
if_block = create_if_block_5(ctx);
|
14950
|
-
if_block.c();
|
14951
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
14952
|
-
}
|
14953
|
-
} else if (if_block) {
|
14954
|
-
if_block.d(1);
|
14955
|
-
if_block = null;
|
14956
|
-
}
|
14957
|
-
},
|
14958
|
-
d(detaching) {
|
14959
|
-
if (detaching) {
|
14960
|
-
detach(if_block_anchor);
|
14961
|
-
}
|
14962
|
-
|
14963
|
-
if (if_block) if_block.d(detaching);
|
14964
|
-
}
|
14965
|
-
};
|
14966
|
-
}
|
14967
|
-
|
14968
|
-
// (132:8) {#if Object.entries(prodMap02).length > 0}
|
14969
|
-
function create_if_block_2$1(ctx) {
|
14970
|
-
let label;
|
14971
|
-
let t1;
|
14972
|
-
let each_1_anchor;
|
14973
|
-
let each_value_1 = ensure_array_like(Object.values(/*prodMap02*/ ctx[7]));
|
14974
|
-
let each_blocks = [];
|
14975
|
-
|
14976
|
-
for (let i = 0; i < each_value_1.length; i += 1) {
|
14977
|
-
each_blocks[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i));
|
14978
|
-
}
|
14979
|
-
|
14980
|
-
return {
|
14981
|
-
c() {
|
14982
|
-
label = element("label");
|
14983
|
-
label.textContent = "2 공장";
|
14984
|
-
t1 = space();
|
14985
|
-
|
14986
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
14987
|
-
each_blocks[i].c();
|
14988
|
-
}
|
14989
|
-
|
14990
|
-
each_1_anchor = empty();
|
14991
|
-
set_style(label, "padding-left", "25px");
|
14992
|
-
attr(label, "class", "svelte-1202h8i");
|
14993
|
-
},
|
14994
|
-
m(target, anchor) {
|
14995
|
-
insert(target, label, anchor);
|
14996
|
-
insert(target, t1, anchor);
|
14997
|
-
|
14998
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
14999
|
-
if (each_blocks[i]) {
|
15000
|
-
each_blocks[i].m(target, anchor);
|
15001
|
-
}
|
15002
|
-
}
|
15003
|
-
|
15004
|
-
insert(target, each_1_anchor, anchor);
|
15005
|
-
},
|
15006
|
-
p(ctx, dirty) {
|
15007
|
-
if (dirty[0] & /*prodMap02, onCheckBoxChange*/ 1048704) {
|
15008
|
-
each_value_1 = ensure_array_like(Object.values(/*prodMap02*/ ctx[7]));
|
15009
|
-
let i;
|
15010
|
-
|
15011
|
-
for (i = 0; i < each_value_1.length; i += 1) {
|
15012
|
-
const child_ctx = get_each_context_1$1(ctx, each_value_1, i);
|
15013
|
-
|
15014
|
-
if (each_blocks[i]) {
|
15015
|
-
each_blocks[i].p(child_ctx, dirty);
|
15016
|
-
} else {
|
15017
|
-
each_blocks[i] = create_each_block_1$1(child_ctx);
|
15018
|
-
each_blocks[i].c();
|
15019
|
-
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
15020
|
-
}
|
15021
|
-
}
|
15022
|
-
|
15023
|
-
for (; i < each_blocks.length; i += 1) {
|
15024
|
-
each_blocks[i].d(1);
|
15025
|
-
}
|
15026
|
-
|
15027
|
-
each_blocks.length = each_value_1.length;
|
15028
|
-
}
|
15029
|
-
},
|
15030
|
-
d(detaching) {
|
15031
|
-
if (detaching) {
|
15032
|
-
detach(label);
|
15033
|
-
detach(t1);
|
15034
|
-
detach(each_1_anchor);
|
15035
|
-
}
|
15036
|
-
|
15037
|
-
destroy_each(each_blocks, detaching);
|
15038
|
-
}
|
15039
|
-
};
|
15040
|
-
}
|
15041
|
-
|
15042
|
-
// (135:10) {#if !row.hidden}
|
15043
|
-
function create_if_block_3(ctx) {
|
15044
|
-
let label;
|
15045
|
-
let input;
|
15046
|
-
let input_checked_value;
|
15047
|
-
let t0;
|
15048
|
-
let t1_value = /*row*/ ctx[37].PRODUCT_NAME + "";
|
15049
|
-
let t1;
|
15050
|
-
let t2;
|
15051
|
-
let span;
|
15052
|
-
let t3;
|
15053
|
-
let mounted;
|
15054
|
-
let dispose;
|
15055
|
-
|
15056
|
-
function change_handler_1(...args) {
|
15057
|
-
return /*change_handler_1*/ ctx[23](/*row*/ ctx[37], ...args);
|
15058
|
-
}
|
15059
|
-
|
15060
|
-
return {
|
15061
|
-
c() {
|
15062
|
-
label = element("label");
|
15063
|
-
input = element("input");
|
15064
|
-
t0 = space();
|
15065
|
-
t1 = text(t1_value);
|
15066
|
-
t2 = space();
|
15067
|
-
span = element("span");
|
15068
|
-
t3 = space();
|
15069
|
-
attr(input, "type", "checkbox");
|
15070
|
-
input.checked = input_checked_value = !/*row*/ ctx[37].hidden;
|
15071
|
-
attr(input, "class", "svelte-1202h8i");
|
15072
|
-
attr(span, "class", "checkmark svelte-1202h8i");
|
15073
|
-
set_style(label, "left", "1em");
|
15074
|
-
attr(label, "class", "svelte-1202h8i");
|
15075
|
-
},
|
15076
|
-
m(target, anchor) {
|
15077
|
-
insert(target, label, anchor);
|
15078
|
-
append(label, input);
|
15079
|
-
append(label, t0);
|
15080
|
-
append(label, t1);
|
15081
|
-
append(label, t2);
|
15082
|
-
append(label, span);
|
15083
|
-
append(label, t3);
|
15084
|
-
|
15085
|
-
if (!mounted) {
|
15086
|
-
dispose = listen(input, "change", change_handler_1);
|
15087
|
-
mounted = true;
|
15088
|
-
}
|
15089
|
-
},
|
15090
|
-
p(new_ctx, dirty) {
|
15091
|
-
ctx = new_ctx;
|
15092
|
-
|
15093
|
-
if (dirty[0] & /*prodMap02*/ 128 && input_checked_value !== (input_checked_value = !/*row*/ ctx[37].hidden)) {
|
15094
|
-
input.checked = input_checked_value;
|
15095
|
-
}
|
15096
|
-
|
15097
|
-
if (dirty[0] & /*prodMap02*/ 128 && t1_value !== (t1_value = /*row*/ ctx[37].PRODUCT_NAME + "")) set_data(t1, t1_value);
|
15098
|
-
},
|
15099
|
-
d(detaching) {
|
15100
|
-
if (detaching) {
|
15101
|
-
detach(label);
|
15102
|
-
}
|
15103
|
-
|
15104
|
-
mounted = false;
|
15105
|
-
dispose();
|
15106
|
-
}
|
15107
|
-
};
|
15108
|
-
}
|
15109
|
-
|
15110
|
-
// (134:10) {#each Object.values(prodMap02) as row}
|
15111
|
-
function create_each_block_1$1(ctx) {
|
15112
|
-
let if_block_anchor;
|
15113
|
-
let if_block = !/*row*/ ctx[37].hidden && create_if_block_3(ctx);
|
15114
|
-
|
15115
|
-
return {
|
15116
|
-
c() {
|
15117
|
-
if (if_block) if_block.c();
|
15118
|
-
if_block_anchor = empty();
|
15119
|
-
},
|
15120
|
-
m(target, anchor) {
|
15121
|
-
if (if_block) if_block.m(target, anchor);
|
15122
|
-
insert(target, if_block_anchor, anchor);
|
15123
|
-
},
|
15124
|
-
p(ctx, dirty) {
|
15125
|
-
if (!/*row*/ ctx[37].hidden) {
|
15126
|
-
if (if_block) {
|
15127
|
-
if_block.p(ctx, dirty);
|
15128
|
-
} else {
|
15129
|
-
if_block = create_if_block_3(ctx);
|
15130
|
-
if_block.c();
|
15131
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
15132
|
-
}
|
15133
|
-
} else if (if_block) {
|
15134
|
-
if_block.d(1);
|
15135
|
-
if_block = null;
|
15136
|
-
}
|
15137
|
-
},
|
15138
|
-
d(detaching) {
|
15139
|
-
if (detaching) {
|
15140
|
-
detach(if_block_anchor);
|
15141
|
-
}
|
15142
|
-
|
15143
|
-
if (if_block) if_block.d(detaching);
|
15144
|
-
}
|
15145
|
-
};
|
15146
|
-
}
|
15147
|
-
|
15148
|
-
// (166:8) {#each visibleRows as row}
|
15138
|
+
// (122:8) {#each visibleRows as row}
|
15149
15139
|
function create_each_block$2(ctx) {
|
15150
15140
|
let tablerow;
|
15151
15141
|
let current;
|
15152
15142
|
|
15153
15143
|
tablerow = new TableRow({
|
15154
15144
|
props: {
|
15155
|
-
row: /*row*/ ctx[
|
15156
|
-
header: /*tableHeader*/ ctx[
|
15145
|
+
row: /*row*/ ctx[35],
|
15146
|
+
header: /*tableHeader*/ ctx[6]
|
15157
15147
|
}
|
15158
15148
|
});
|
15159
15149
|
|
15160
|
-
tablerow.$on("rowExpanded", /*onRowExpanded*/ ctx[
|
15161
|
-
tablerow.$on("rowCollapsed", /*onRowCollapsed*/ ctx[
|
15150
|
+
tablerow.$on("rowExpanded", /*onRowExpanded*/ ctx[16]);
|
15151
|
+
tablerow.$on("rowCollapsed", /*onRowCollapsed*/ ctx[17]);
|
15162
15152
|
|
15163
15153
|
return {
|
15164
15154
|
c() {
|
@@ -15170,8 +15160,8 @@
|
|
15170
15160
|
},
|
15171
15161
|
p(ctx, dirty) {
|
15172
15162
|
const tablerow_changes = {};
|
15173
|
-
if (dirty[0] & /*visibleRows*/
|
15174
|
-
if (dirty[0] & /*tableHeader*/
|
15163
|
+
if (dirty[0] & /*visibleRows*/ 32) tablerow_changes.row = /*row*/ ctx[35];
|
15164
|
+
if (dirty[0] & /*tableHeader*/ 64) tablerow_changes.header = /*tableHeader*/ ctx[6];
|
15175
15165
|
tablerow.$set(tablerow_changes);
|
15176
15166
|
},
|
15177
15167
|
i(local) {
|
@@ -15199,8 +15189,8 @@
|
|
15199
15189
|
let current;
|
15200
15190
|
let mounted;
|
15201
15191
|
let dispose;
|
15202
|
-
let if_block = /*tableHeader*/ ctx[
|
15203
|
-
let each_value = ensure_array_like(/*visibleRows*/ ctx[
|
15192
|
+
let if_block = /*tableHeader*/ ctx[6] && create_if_block$2(ctx);
|
15193
|
+
let each_value = ensure_array_like(/*visibleRows*/ ctx[5]);
|
15204
15194
|
let each_blocks = [];
|
15205
15195
|
|
15206
15196
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -15225,22 +15215,22 @@
|
|
15225
15215
|
each_blocks[i].c();
|
15226
15216
|
}
|
15227
15217
|
|
15228
|
-
attr(div0, "class", "sg-table-header svelte-
|
15229
|
-
set_style(div0, "height", /*$headerHeight*/ ctx[
|
15230
|
-
attr(div1, "class", "sg-table-rows svelte-
|
15231
|
-
set_style(div1, "padding-top", /*paddingTop*/ ctx[
|
15232
|
-
set_style(div1, "padding-bottom", /*paddingBottom*/ ctx[
|
15233
|
-
set_style(div1, "height", /*rowContainerHeight*/ ctx[
|
15234
|
-
attr(div2, "class", "sg-table-scroller svelte-
|
15235
|
-
attr(div3, "class", "sg-table-body svelte-
|
15236
|
-
attr(div4, "class", "sg-table sg-view svelte-
|
15237
|
-
set_style(div4, "width", /*tableWidth*/ ctx[
|
15218
|
+
attr(div0, "class", "sg-table-header svelte-5z38yf");
|
15219
|
+
set_style(div0, "height", /*$headerHeight*/ ctx[9] + "px");
|
15220
|
+
attr(div1, "class", "sg-table-rows svelte-5z38yf");
|
15221
|
+
set_style(div1, "padding-top", /*paddingTop*/ ctx[2] + "px");
|
15222
|
+
set_style(div1, "padding-bottom", /*paddingBottom*/ ctx[3] + "px");
|
15223
|
+
set_style(div1, "height", /*rowContainerHeight*/ ctx[4] + "px");
|
15224
|
+
attr(div2, "class", "sg-table-scroller svelte-5z38yf");
|
15225
|
+
attr(div3, "class", "sg-table-body svelte-5z38yf");
|
15226
|
+
attr(div4, "class", "sg-table sg-view svelte-5z38yf");
|
15227
|
+
set_style(div4, "width", /*tableWidth*/ ctx[1] + "px");
|
15238
15228
|
},
|
15239
15229
|
m(target, anchor) {
|
15240
15230
|
insert(target, div4, anchor);
|
15241
15231
|
append(div4, div0);
|
15242
15232
|
if (if_block) if_block.m(div0, null);
|
15243
|
-
/*div0_binding*/ ctx[
|
15233
|
+
/*div0_binding*/ ctx[22](div0);
|
15244
15234
|
append(div4, t);
|
15245
15235
|
append(div4, div3);
|
15246
15236
|
append(div3, div2);
|
@@ -15255,12 +15245,12 @@
|
|
15255
15245
|
current = true;
|
15256
15246
|
|
15257
15247
|
if (!mounted) {
|
15258
|
-
dispose = action_destroyer(/*scrollListener*/ ctx[
|
15248
|
+
dispose = action_destroyer(/*scrollListener*/ ctx[15].call(null, div2));
|
15259
15249
|
mounted = true;
|
15260
15250
|
}
|
15261
15251
|
},
|
15262
15252
|
p(ctx, dirty) {
|
15263
|
-
if (/*tableHeader*/ ctx[
|
15253
|
+
if (/*tableHeader*/ ctx[6]) {
|
15264
15254
|
if (if_block) {
|
15265
15255
|
if_block.p(ctx, dirty);
|
15266
15256
|
} else {
|
@@ -15273,12 +15263,12 @@
|
|
15273
15263
|
if_block = null;
|
15274
15264
|
}
|
15275
15265
|
|
15276
|
-
if (!current || dirty[0] & /*$headerHeight*/
|
15277
|
-
set_style(div0, "height", /*$headerHeight*/ ctx[
|
15266
|
+
if (!current || dirty[0] & /*$headerHeight*/ 512) {
|
15267
|
+
set_style(div0, "height", /*$headerHeight*/ ctx[9] + "px");
|
15278
15268
|
}
|
15279
15269
|
|
15280
|
-
if (dirty[0] & /*visibleRows, tableHeader, onRowExpanded, onRowCollapsed*/
|
15281
|
-
each_value = ensure_array_like(/*visibleRows*/ ctx[
|
15270
|
+
if (dirty[0] & /*visibleRows, tableHeader, onRowExpanded, onRowCollapsed*/ 196704) {
|
15271
|
+
each_value = ensure_array_like(/*visibleRows*/ ctx[5]);
|
15282
15272
|
let i;
|
15283
15273
|
|
15284
15274
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -15304,20 +15294,20 @@
|
|
15304
15294
|
check_outros();
|
15305
15295
|
}
|
15306
15296
|
|
15307
|
-
if (!current || dirty[0] & /*paddingTop*/
|
15308
|
-
set_style(div1, "padding-top", /*paddingTop*/ ctx[
|
15297
|
+
if (!current || dirty[0] & /*paddingTop*/ 4) {
|
15298
|
+
set_style(div1, "padding-top", /*paddingTop*/ ctx[2] + "px");
|
15309
15299
|
}
|
15310
15300
|
|
15311
|
-
if (!current || dirty[0] & /*paddingBottom*/
|
15312
|
-
set_style(div1, "padding-bottom", /*paddingBottom*/ ctx[
|
15301
|
+
if (!current || dirty[0] & /*paddingBottom*/ 8) {
|
15302
|
+
set_style(div1, "padding-bottom", /*paddingBottom*/ ctx[3] + "px");
|
15313
15303
|
}
|
15314
15304
|
|
15315
|
-
if (!current || dirty[0] & /*rowContainerHeight*/
|
15316
|
-
set_style(div1, "height", /*rowContainerHeight*/ ctx[
|
15305
|
+
if (!current || dirty[0] & /*rowContainerHeight*/ 16) {
|
15306
|
+
set_style(div1, "height", /*rowContainerHeight*/ ctx[4] + "px");
|
15317
15307
|
}
|
15318
15308
|
|
15319
|
-
if (!current || dirty[0] & /*tableWidth*/
|
15320
|
-
set_style(div4, "width", /*tableWidth*/ ctx[
|
15309
|
+
if (!current || dirty[0] & /*tableWidth*/ 2) {
|
15310
|
+
set_style(div4, "width", /*tableWidth*/ ctx[1] + "px");
|
15321
15311
|
}
|
15322
15312
|
},
|
15323
15313
|
i(local) {
|
@@ -15344,7 +15334,7 @@
|
|
15344
15334
|
}
|
15345
15335
|
|
15346
15336
|
if (if_block) if_block.d();
|
15347
|
-
/*div0_binding*/ ctx[
|
15337
|
+
/*div0_binding*/ ctx[22](null);
|
15348
15338
|
destroy_each(each_blocks, detaching);
|
15349
15339
|
mounted = false;
|
15350
15340
|
dispose();
|
@@ -15385,17 +15375,18 @@
|
|
15385
15375
|
let { rowContainerHeight } = $$props;
|
15386
15376
|
let { visibleRows } = $$props;
|
15387
15377
|
let { tableHeader } = $$props;
|
15388
|
-
let { prodMap01 = {} } = $$props;
|
15389
|
-
let { prodMap02 = {} } = $$props;
|
15390
15378
|
let { rand } = $$props;
|
15379
|
+
let { selectedCreator } = $$props;
|
15380
|
+
let { setSelectedCreator } = $$props;
|
15381
|
+
let { allCreators } = $$props;
|
15391
15382
|
const { from, to, width, visibleWidth, headerHeight } = getContext('dimensions');
|
15392
|
-
component_subscribe($$self, headerHeight, value => $$invalidate(
|
15383
|
+
component_subscribe($$self, headerHeight, value => $$invalidate(9, $headerHeight = value));
|
15393
15384
|
const { rowPadding, rowHeight } = getContext('options');
|
15394
|
-
component_subscribe($$self, rowPadding, value => $$invalidate(
|
15395
|
-
component_subscribe($$self, rowHeight, value => $$invalidate(
|
15385
|
+
component_subscribe($$self, rowPadding, value => $$invalidate(23, $rowPadding = value));
|
15386
|
+
component_subscribe($$self, rowHeight, value => $$invalidate(26, $rowHeight = value));
|
15396
15387
|
const { rowStore, taskStore, allRows } = getContext('dataStore');
|
15397
|
-
component_subscribe($$self, rowStore, value => $$invalidate(
|
15398
|
-
component_subscribe($$self, taskStore, value => $$invalidate(
|
15388
|
+
component_subscribe($$self, rowStore, value => $$invalidate(25, $rowStore = value));
|
15389
|
+
component_subscribe($$self, taskStore, value => $$invalidate(24, $taskStore = value));
|
15399
15390
|
const { scrollables } = getContext('gantt');
|
15400
15391
|
|
15401
15392
|
onMount(() => {
|
@@ -15464,24 +15455,16 @@
|
|
15464
15455
|
});
|
15465
15456
|
}
|
15466
15457
|
|
15467
|
-
|
15468
|
-
|
15469
|
-
function onSelectToggle() {
|
15470
|
-
$$invalidate(9, isSelectOpen = !isSelectOpen);
|
15471
|
-
}
|
15472
|
-
|
15473
|
-
function onCheckBoxChange(row, checked) {
|
15474
|
-
row.hidden = !checked;
|
15458
|
+
function onCheckBoxChange(evt) {
|
15459
|
+
setSelectedCreator(evt.target.value);
|
15475
15460
|
rand();
|
15476
15461
|
}
|
15477
15462
|
|
15478
|
-
|
15479
|
-
|
15480
|
-
|
15481
|
-
|
15482
|
-
|
15483
|
-
onCheckBoxChange(row, event.target.checked);
|
15484
|
-
};
|
15463
|
+
function select_change_handler() {
|
15464
|
+
selectedCreator = select_value(this);
|
15465
|
+
$$invalidate(0, selectedCreator);
|
15466
|
+
$$invalidate(7, allCreators);
|
15467
|
+
}
|
15485
15468
|
|
15486
15469
|
function div0_binding($$value) {
|
15487
15470
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
@@ -15491,28 +15474,28 @@
|
|
15491
15474
|
}
|
15492
15475
|
|
15493
15476
|
$$self.$$set = $$props => {
|
15494
|
-
if ('tableWidth' in $$props) $$invalidate(
|
15495
|
-
if ('paddingTop' in $$props) $$invalidate(
|
15496
|
-
if ('paddingBottom' in $$props) $$invalidate(
|
15497
|
-
if ('rowContainerHeight' in $$props) $$invalidate(
|
15498
|
-
if ('visibleRows' in $$props) $$invalidate(
|
15499
|
-
if ('tableHeader' in $$props) $$invalidate(
|
15500
|
-
if ('
|
15501
|
-
if ('
|
15502
|
-
if ('
|
15477
|
+
if ('tableWidth' in $$props) $$invalidate(1, tableWidth = $$props.tableWidth);
|
15478
|
+
if ('paddingTop' in $$props) $$invalidate(2, paddingTop = $$props.paddingTop);
|
15479
|
+
if ('paddingBottom' in $$props) $$invalidate(3, paddingBottom = $$props.paddingBottom);
|
15480
|
+
if ('rowContainerHeight' in $$props) $$invalidate(4, rowContainerHeight = $$props.rowContainerHeight);
|
15481
|
+
if ('visibleRows' in $$props) $$invalidate(5, visibleRows = $$props.visibleRows);
|
15482
|
+
if ('tableHeader' in $$props) $$invalidate(6, tableHeader = $$props.tableHeader);
|
15483
|
+
if ('rand' in $$props) $$invalidate(19, rand = $$props.rand);
|
15484
|
+
if ('selectedCreator' in $$props) $$invalidate(0, selectedCreator = $$props.selectedCreator);
|
15485
|
+
if ('setSelectedCreator' in $$props) $$invalidate(20, setSelectedCreator = $$props.setSelectedCreator);
|
15486
|
+
if ('allCreators' in $$props) $$invalidate(7, allCreators = $$props.allCreators);
|
15503
15487
|
};
|
15504
15488
|
|
15505
15489
|
return [
|
15490
|
+
selectedCreator,
|
15506
15491
|
tableWidth,
|
15507
15492
|
paddingTop,
|
15508
15493
|
paddingBottom,
|
15509
15494
|
rowContainerHeight,
|
15510
15495
|
visibleRows,
|
15511
15496
|
tableHeader,
|
15512
|
-
|
15513
|
-
prodMap02,
|
15497
|
+
allCreators,
|
15514
15498
|
headerContainer,
|
15515
|
-
isSelectOpen,
|
15516
15499
|
$headerHeight,
|
15517
15500
|
headerHeight,
|
15518
15501
|
rowPadding,
|
@@ -15522,11 +15505,10 @@
|
|
15522
15505
|
scrollListener,
|
15523
15506
|
onRowExpanded,
|
15524
15507
|
onRowCollapsed,
|
15525
|
-
onSelectToggle,
|
15526
15508
|
onCheckBoxChange,
|
15527
15509
|
rand,
|
15528
|
-
|
15529
|
-
|
15510
|
+
setSelectedCreator,
|
15511
|
+
select_change_handler,
|
15530
15512
|
div0_binding
|
15531
15513
|
];
|
15532
15514
|
}
|
@@ -15542,15 +15524,16 @@
|
|
15542
15524
|
create_fragment$3,
|
15543
15525
|
safe_not_equal,
|
15544
15526
|
{
|
15545
|
-
tableWidth:
|
15546
|
-
paddingTop:
|
15547
|
-
paddingBottom:
|
15548
|
-
rowContainerHeight:
|
15549
|
-
visibleRows:
|
15550
|
-
tableHeader:
|
15551
|
-
|
15552
|
-
|
15553
|
-
|
15527
|
+
tableWidth: 1,
|
15528
|
+
paddingTop: 2,
|
15529
|
+
paddingBottom: 3,
|
15530
|
+
rowContainerHeight: 4,
|
15531
|
+
visibleRows: 5,
|
15532
|
+
tableHeader: 6,
|
15533
|
+
rand: 19,
|
15534
|
+
selectedCreator: 0,
|
15535
|
+
setSelectedCreator: 20,
|
15536
|
+
allCreators: 7
|
15554
15537
|
},
|
15555
15538
|
add_css$3,
|
15556
15539
|
[-1, -1]
|
@@ -15558,7 +15541,7 @@
|
|
15558
15541
|
}
|
15559
15542
|
|
15560
15543
|
get tableWidth() {
|
15561
|
-
return this.$$.ctx[
|
15544
|
+
return this.$$.ctx[1];
|
15562
15545
|
}
|
15563
15546
|
|
15564
15547
|
set tableWidth(tableWidth) {
|
@@ -15567,7 +15550,7 @@
|
|
15567
15550
|
}
|
15568
15551
|
|
15569
15552
|
get paddingTop() {
|
15570
|
-
return this.$$.ctx[
|
15553
|
+
return this.$$.ctx[2];
|
15571
15554
|
}
|
15572
15555
|
|
15573
15556
|
set paddingTop(paddingTop) {
|
@@ -15576,7 +15559,7 @@
|
|
15576
15559
|
}
|
15577
15560
|
|
15578
15561
|
get paddingBottom() {
|
15579
|
-
return this.$$.ctx[
|
15562
|
+
return this.$$.ctx[3];
|
15580
15563
|
}
|
15581
15564
|
|
15582
15565
|
set paddingBottom(paddingBottom) {
|
@@ -15585,7 +15568,7 @@
|
|
15585
15568
|
}
|
15586
15569
|
|
15587
15570
|
get rowContainerHeight() {
|
15588
|
-
return this.$$.ctx[
|
15571
|
+
return this.$$.ctx[4];
|
15589
15572
|
}
|
15590
15573
|
|
15591
15574
|
set rowContainerHeight(rowContainerHeight) {
|
@@ -15594,7 +15577,7 @@
|
|
15594
15577
|
}
|
15595
15578
|
|
15596
15579
|
get visibleRows() {
|
15597
|
-
return this.$$.ctx[
|
15580
|
+
return this.$$.ctx[5];
|
15598
15581
|
}
|
15599
15582
|
|
15600
15583
|
set visibleRows(visibleRows) {
|
@@ -15603,7 +15586,7 @@
|
|
15603
15586
|
}
|
15604
15587
|
|
15605
15588
|
get tableHeader() {
|
15606
|
-
return this.$$.ctx[
|
15589
|
+
return this.$$.ctx[6];
|
15607
15590
|
}
|
15608
15591
|
|
15609
15592
|
set tableHeader(tableHeader) {
|
@@ -15611,35 +15594,44 @@
|
|
15611
15594
|
flush();
|
15612
15595
|
}
|
15613
15596
|
|
15614
|
-
get
|
15615
|
-
return this.$$.ctx[
|
15597
|
+
get rand() {
|
15598
|
+
return this.$$.ctx[19];
|
15599
|
+
}
|
15600
|
+
|
15601
|
+
set rand(rand) {
|
15602
|
+
this.$$set({ rand });
|
15603
|
+
flush();
|
15604
|
+
}
|
15605
|
+
|
15606
|
+
get selectedCreator() {
|
15607
|
+
return this.$$.ctx[0];
|
15616
15608
|
}
|
15617
15609
|
|
15618
|
-
set
|
15619
|
-
this.$$set({
|
15610
|
+
set selectedCreator(selectedCreator) {
|
15611
|
+
this.$$set({ selectedCreator });
|
15620
15612
|
flush();
|
15621
15613
|
}
|
15622
15614
|
|
15623
|
-
get
|
15624
|
-
return this.$$.ctx[
|
15615
|
+
get setSelectedCreator() {
|
15616
|
+
return this.$$.ctx[20];
|
15625
15617
|
}
|
15626
15618
|
|
15627
|
-
set
|
15628
|
-
this.$$set({
|
15619
|
+
set setSelectedCreator(setSelectedCreator) {
|
15620
|
+
this.$$set({ setSelectedCreator });
|
15629
15621
|
flush();
|
15630
15622
|
}
|
15631
15623
|
|
15632
|
-
get
|
15633
|
-
return this.$$.ctx[
|
15624
|
+
get allCreators() {
|
15625
|
+
return this.$$.ctx[7];
|
15634
15626
|
}
|
15635
15627
|
|
15636
|
-
set
|
15637
|
-
this.$$set({
|
15628
|
+
set allCreators(allCreators) {
|
15629
|
+
this.$$set({ allCreators });
|
15638
15630
|
flush();
|
15639
15631
|
}
|
15640
15632
|
}
|
15641
15633
|
|
15642
|
-
create_custom_element(Table, {"tableWidth":{},"paddingTop":{},"paddingBottom":{},"rowContainerHeight":{},"visibleRows":{},"tableHeader":{},"
|
15634
|
+
create_custom_element(Table, {"tableWidth":{},"paddingTop":{},"paddingBottom":{},"rowContainerHeight":{},"visibleRows":{},"tableHeader":{},"rand":{},"selectedCreator":{},"setSelectedCreator":{},"allCreators":{}}, [], [], true);
|
15643
15635
|
|
15644
15636
|
const WellstekGanttTable = Table;
|
15645
15637
|
|
@@ -16213,46 +16205,46 @@
|
|
16213
16205
|
/* src/WellstekGantt.svelte generated by Svelte v4.2.17 */
|
16214
16206
|
|
16215
16207
|
function add_css(target) {
|
16216
|
-
append_styles(target, "svelte-
|
16208
|
+
append_styles(target, "svelte-1yr6t3v", ".sg-disable-transition.svelte-1yr6t3v .sg-task,.sg-disable-transition.svelte-1yr6t3v .sg-milestone{transition:transform 0s,\n background-color 0.2s,\n width 0s !important}.sg-view:not(:first-child){margin-left:5px}.right-scrollbar-visible{padding-right:17px}.sg-timeline.svelte-1yr6t3v{flex:1 1 0%;display:flex;flex-direction:column;overflow-x:auto}.sg-gantt.svelte-1yr6t3v{display:flex;width:100%;height:calc(100% - 70px);position:relative;border-top:1px solid #efefef}.sg-foreground.svelte-1yr6t3v{box-sizing:border-box;overflow:hidden;top:0;left:0;position:absolute;width:100%;height:100%;z-index:1;pointer-events:none}.sg-rows.svelte-1yr6t3v{width:100%;box-sizing:border-box;overflow:hidden}.sg-timeline-body.svelte-1yr6t3v{overflow:auto;flex:1 1 auto}.sg-header-scroller.svelte-1yr6t3v{border-right:1px solid #efefef;overflow:hidden;position:relative}.content.svelte-1yr6t3v{position:relative}*{box-sizing:border-box}.sg-control-layer.svelte-1yr6t3v{margin:10px;padding:10px;border:1px solid #c9c9c9;border-radius:5px;display:flex;flex-direction:row;justify-content:space-between}.sg-control-layer-left.svelte-1yr6t3v{display:flex;flex-direction:row;gap:10px;align-items:center}.sg-factory-select.svelte-1yr6t3v{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;padding:.6em 1.4em .5em .8em;margin:0;min-width:100px;border:1px solid #aaa;border-radius:.5em;box-shadow:0 1px 0 1px rgba(0,0,0,.04)}");
|
16217
16209
|
}
|
16218
16210
|
|
16219
16211
|
function get_each_context(ctx, list, i) {
|
16220
16212
|
const child_ctx = ctx.slice();
|
16221
|
-
child_ctx[
|
16213
|
+
child_ctx[168] = list[i];
|
16222
16214
|
return child_ctx;
|
16223
16215
|
}
|
16224
16216
|
|
16225
16217
|
function get_each_context_1(ctx, list, i) {
|
16226
16218
|
const child_ctx = ctx.slice();
|
16227
|
-
child_ctx[
|
16219
|
+
child_ctx[171] = list[i];
|
16228
16220
|
return child_ctx;
|
16229
16221
|
}
|
16230
16222
|
|
16231
16223
|
function get_each_context_2(ctx, list, i) {
|
16232
16224
|
const child_ctx = ctx.slice();
|
16233
|
-
child_ctx[
|
16225
|
+
child_ctx[174] = list[i];
|
16234
16226
|
return child_ctx;
|
16235
16227
|
}
|
16236
16228
|
|
16237
16229
|
function get_each_context_3(ctx, list, i) {
|
16238
16230
|
const child_ctx = ctx.slice();
|
16239
|
-
child_ctx[
|
16231
|
+
child_ctx[177] = list[i];
|
16240
16232
|
return child_ctx;
|
16241
16233
|
}
|
16242
16234
|
|
16243
16235
|
function get_each_context_4(ctx, list, i) {
|
16244
16236
|
const child_ctx = ctx.slice();
|
16245
|
-
child_ctx[
|
16237
|
+
child_ctx[174] = list[i];
|
16246
16238
|
return child_ctx;
|
16247
16239
|
}
|
16248
16240
|
|
16249
16241
|
function get_each_context_5(ctx, list, i) {
|
16250
16242
|
const child_ctx = ctx.slice();
|
16251
|
-
child_ctx[
|
16243
|
+
child_ctx[168] = list[i];
|
16252
16244
|
return child_ctx;
|
16253
16245
|
}
|
16254
16246
|
|
16255
|
-
// (
|
16247
|
+
// (1004:4) {#each ganttTableModules as module}
|
16256
16248
|
function create_each_block_5(ctx) {
|
16257
16249
|
let switch_instance;
|
16258
16250
|
let t;
|
@@ -16261,21 +16253,26 @@
|
|
16261
16253
|
|
16262
16254
|
const switch_instance_spread_levels = [
|
16263
16255
|
{
|
16264
|
-
rowContainerHeight: /*rowContainerHeight*/ ctx[
|
16265
|
-
},
|
16266
|
-
{ paddingTop: /*paddingTop*/ ctx[
|
16267
|
-
{ paddingBottom: /*paddingBottom*/ ctx[
|
16268
|
-
{ tableWidth: /*tableWidth*/ ctx[
|
16269
|
-
/*$$restProps*/ ctx[
|
16270
|
-
{ visibleRows: /*visibleRows*/ ctx[
|
16271
|
-
{ allRows: /*allRows*/ ctx[
|
16272
|
-
{ tableHeader: /*tableHeader*/ ctx[
|
16273
|
-
{
|
16274
|
-
{
|
16275
|
-
{
|
16256
|
+
rowContainerHeight: /*rowContainerHeight*/ ctx[15]
|
16257
|
+
},
|
16258
|
+
{ paddingTop: /*paddingTop*/ ctx[27] },
|
16259
|
+
{ paddingBottom: /*paddingBottom*/ ctx[28] },
|
16260
|
+
{ tableWidth: /*tableWidth*/ ctx[5] },
|
16261
|
+
/*$$restProps*/ ctx[68],
|
16262
|
+
{ visibleRows: /*visibleRows*/ ctx[16] },
|
16263
|
+
{ allRows: /*allRows*/ ctx[50] },
|
16264
|
+
{ tableHeader: /*tableHeader*/ ctx[9] },
|
16265
|
+
{ rand: /*rand*/ ctx[37] },
|
16266
|
+
{ allCreators: /*allCreators*/ ctx[2] },
|
16267
|
+
{
|
16268
|
+
selectedCreator: /*selectedCreator*/ ctx[0]
|
16269
|
+
},
|
16270
|
+
{
|
16271
|
+
setSelectedCreator: /*setSelectedCreator*/ ctx[36]
|
16272
|
+
}
|
16276
16273
|
];
|
16277
16274
|
|
16278
|
-
var switch_value = /*module*/ ctx[
|
16275
|
+
var switch_value = /*module*/ ctx[168];
|
16279
16276
|
|
16280
16277
|
function switch_props(ctx, dirty) {
|
16281
16278
|
let switch_instance_props = {};
|
@@ -16284,21 +16281,26 @@
|
|
16284
16281
|
switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]);
|
16285
16282
|
}
|
16286
16283
|
|
16287
|
-
if (dirty !== undefined && dirty[0] & /*rowContainerHeight, paddingTop, paddingBottom, tableWidth, visibleRows, tableHeader,
|
16284
|
+
if (dirty !== undefined && dirty[0] & /*rowContainerHeight, paddingTop, paddingBottom, tableWidth, visibleRows, tableHeader, allCreators, selectedCreator*/ 402752037 | dirty[1] & /*allRows, rand, setSelectedCreator*/ 524384 | dirty[2] & /*$$restProps*/ 64) {
|
16288
16285
|
switch_instance_props = assign(switch_instance_props, get_spread_update(switch_instance_spread_levels, [
|
16289
|
-
dirty[0] & /*rowContainerHeight*/
|
16290
|
-
rowContainerHeight: /*rowContainerHeight*/ ctx[
|
16286
|
+
dirty[0] & /*rowContainerHeight*/ 32768 && {
|
16287
|
+
rowContainerHeight: /*rowContainerHeight*/ ctx[15]
|
16288
|
+
},
|
16289
|
+
dirty[0] & /*paddingTop*/ 134217728 && { paddingTop: /*paddingTop*/ ctx[27] },
|
16290
|
+
dirty[0] & /*paddingBottom*/ 268435456 && { paddingBottom: /*paddingBottom*/ ctx[28] },
|
16291
|
+
dirty[0] & /*tableWidth*/ 32 && { tableWidth: /*tableWidth*/ ctx[5] },
|
16292
|
+
dirty[2] & /*$$restProps*/ 64 && get_spread_object(/*$$restProps*/ ctx[68]),
|
16293
|
+
dirty[0] & /*visibleRows*/ 65536 && { visibleRows: /*visibleRows*/ ctx[16] },
|
16294
|
+
dirty[1] & /*allRows*/ 524288 && { allRows: /*allRows*/ ctx[50] },
|
16295
|
+
dirty[0] & /*tableHeader*/ 512 && { tableHeader: /*tableHeader*/ ctx[9] },
|
16296
|
+
dirty[1] & /*rand*/ 64 && { rand: /*rand*/ ctx[37] },
|
16297
|
+
dirty[0] & /*allCreators*/ 4 && { allCreators: /*allCreators*/ ctx[2] },
|
16298
|
+
dirty[0] & /*selectedCreator*/ 1 && {
|
16299
|
+
selectedCreator: /*selectedCreator*/ ctx[0]
|
16291
16300
|
},
|
16292
|
-
dirty[
|
16293
|
-
|
16294
|
-
|
16295
|
-
dirty[2] & /*$$restProps*/ 8 && get_spread_object(/*$$restProps*/ ctx[65]),
|
16296
|
-
dirty[0] & /*visibleRows*/ 8192 && { visibleRows: /*visibleRows*/ ctx[13] },
|
16297
|
-
dirty[1] & /*allRows*/ 131072 && { allRows: /*allRows*/ ctx[48] },
|
16298
|
-
dirty[0] & /*tableHeader*/ 64 && { tableHeader: /*tableHeader*/ ctx[6] },
|
16299
|
-
dirty[0] & /*prodMap01*/ 1048576 && { prodMap01: /*prodMap01*/ ctx[20] },
|
16300
|
-
dirty[0] & /*prodMap02*/ 2097152 && { prodMap02: /*prodMap02*/ ctx[21] },
|
16301
|
-
dirty[1] & /*rand*/ 16 && { rand: /*rand*/ ctx[35] }
|
16301
|
+
dirty[1] & /*setSelectedCreator*/ 32 && {
|
16302
|
+
setSelectedCreator: /*setSelectedCreator*/ ctx[36]
|
16303
|
+
}
|
16302
16304
|
]));
|
16303
16305
|
}
|
16304
16306
|
|
@@ -16312,12 +16314,12 @@
|
|
16312
16314
|
|
16313
16315
|
resizer = new Resizer({
|
16314
16316
|
props: {
|
16315
|
-
x: /*tableWidth*/ ctx[
|
16316
|
-
container: /*ganttElement*/ ctx[
|
16317
|
+
x: /*tableWidth*/ ctx[5],
|
16318
|
+
container: /*ganttElement*/ ctx[19]
|
16317
16319
|
}
|
16318
16320
|
});
|
16319
16321
|
|
16320
|
-
resizer.$on("resize", /*onResize*/ ctx[
|
16322
|
+
resizer.$on("resize", /*onResize*/ ctx[59]);
|
16321
16323
|
|
16322
16324
|
return {
|
16323
16325
|
c() {
|
@@ -16332,7 +16334,7 @@
|
|
16332
16334
|
current = true;
|
16333
16335
|
},
|
16334
16336
|
p(ctx, dirty) {
|
16335
|
-
if (dirty[0] & /*ganttTableModules*/
|
16337
|
+
if (dirty[0] & /*ganttTableModules*/ 128 && switch_value !== (switch_value = /*module*/ ctx[168])) {
|
16336
16338
|
if (switch_instance) {
|
16337
16339
|
group_outros();
|
16338
16340
|
const old_component = switch_instance;
|
@@ -16354,21 +16356,26 @@
|
|
16354
16356
|
switch_instance = null;
|
16355
16357
|
}
|
16356
16358
|
} else if (switch_value) {
|
16357
|
-
const switch_instance_changes = (dirty[0] & /*rowContainerHeight, paddingTop, paddingBottom, tableWidth, visibleRows, tableHeader,
|
16359
|
+
const switch_instance_changes = (dirty[0] & /*rowContainerHeight, paddingTop, paddingBottom, tableWidth, visibleRows, tableHeader, allCreators, selectedCreator*/ 402752037 | dirty[1] & /*allRows, rand, setSelectedCreator*/ 524384 | dirty[2] & /*$$restProps*/ 64)
|
16358
16360
|
? get_spread_update(switch_instance_spread_levels, [
|
16359
|
-
dirty[0] & /*rowContainerHeight*/
|
16360
|
-
rowContainerHeight: /*rowContainerHeight*/ ctx[
|
16361
|
+
dirty[0] & /*rowContainerHeight*/ 32768 && {
|
16362
|
+
rowContainerHeight: /*rowContainerHeight*/ ctx[15]
|
16363
|
+
},
|
16364
|
+
dirty[0] & /*paddingTop*/ 134217728 && { paddingTop: /*paddingTop*/ ctx[27] },
|
16365
|
+
dirty[0] & /*paddingBottom*/ 268435456 && { paddingBottom: /*paddingBottom*/ ctx[28] },
|
16366
|
+
dirty[0] & /*tableWidth*/ 32 && { tableWidth: /*tableWidth*/ ctx[5] },
|
16367
|
+
dirty[2] & /*$$restProps*/ 64 && get_spread_object(/*$$restProps*/ ctx[68]),
|
16368
|
+
dirty[0] & /*visibleRows*/ 65536 && { visibleRows: /*visibleRows*/ ctx[16] },
|
16369
|
+
dirty[1] & /*allRows*/ 524288 && { allRows: /*allRows*/ ctx[50] },
|
16370
|
+
dirty[0] & /*tableHeader*/ 512 && { tableHeader: /*tableHeader*/ ctx[9] },
|
16371
|
+
dirty[1] & /*rand*/ 64 && { rand: /*rand*/ ctx[37] },
|
16372
|
+
dirty[0] & /*allCreators*/ 4 && { allCreators: /*allCreators*/ ctx[2] },
|
16373
|
+
dirty[0] & /*selectedCreator*/ 1 && {
|
16374
|
+
selectedCreator: /*selectedCreator*/ ctx[0]
|
16361
16375
|
},
|
16362
|
-
dirty[
|
16363
|
-
|
16364
|
-
|
16365
|
-
dirty[2] & /*$$restProps*/ 8 && get_spread_object(/*$$restProps*/ ctx[65]),
|
16366
|
-
dirty[0] & /*visibleRows*/ 8192 && { visibleRows: /*visibleRows*/ ctx[13] },
|
16367
|
-
dirty[1] & /*allRows*/ 131072 && { allRows: /*allRows*/ ctx[48] },
|
16368
|
-
dirty[0] & /*tableHeader*/ 64 && { tableHeader: /*tableHeader*/ ctx[6] },
|
16369
|
-
dirty[0] & /*prodMap01*/ 1048576 && { prodMap01: /*prodMap01*/ ctx[20] },
|
16370
|
-
dirty[0] & /*prodMap02*/ 2097152 && { prodMap02: /*prodMap02*/ ctx[21] },
|
16371
|
-
dirty[1] & /*rand*/ 16 && { rand: /*rand*/ ctx[35] }
|
16376
|
+
dirty[1] & /*setSelectedCreator*/ 32 && {
|
16377
|
+
setSelectedCreator: /*setSelectedCreator*/ ctx[36]
|
16378
|
+
}
|
16372
16379
|
])
|
16373
16380
|
: {};
|
16374
16381
|
|
@@ -16376,8 +16383,8 @@
|
|
16376
16383
|
}
|
16377
16384
|
|
16378
16385
|
const resizer_changes = {};
|
16379
|
-
if (dirty[0] & /*tableWidth*/
|
16380
|
-
if (dirty[0] & /*ganttElement*/
|
16386
|
+
if (dirty[0] & /*tableWidth*/ 32) resizer_changes.x = /*tableWidth*/ ctx[5];
|
16387
|
+
if (dirty[0] & /*ganttElement*/ 524288) resizer_changes.container = /*ganttElement*/ ctx[19];
|
16381
16388
|
resizer.$set(resizer_changes);
|
16382
16389
|
},
|
16383
16390
|
i(local) {
|
@@ -16402,12 +16409,12 @@
|
|
16402
16409
|
};
|
16403
16410
|
}
|
16404
16411
|
|
16405
|
-
// (
|
16412
|
+
// (1036:12) {#each $allTimeRanges as timeRange (timeRange.model.id)}
|
16406
16413
|
function create_each_block_4(key_1, ctx) {
|
16407
16414
|
let first;
|
16408
16415
|
let timerangeheader;
|
16409
16416
|
let current;
|
16410
|
-
const timerangeheader_spread_levels = [/*timeRange*/ ctx[
|
16417
|
+
const timerangeheader_spread_levels = [/*timeRange*/ ctx[174]];
|
16411
16418
|
let timerangeheader_props = {};
|
16412
16419
|
|
16413
16420
|
for (let i = 0; i < timerangeheader_spread_levels.length; i += 1) {
|
@@ -16432,8 +16439,8 @@
|
|
16432
16439
|
p(new_ctx, dirty) {
|
16433
16440
|
ctx = new_ctx;
|
16434
16441
|
|
16435
|
-
const timerangeheader_changes = (dirty[1] & /*$allTimeRanges*/
|
16436
|
-
? get_spread_update(timerangeheader_spread_levels, [get_spread_object(/*timeRange*/ ctx[
|
16442
|
+
const timerangeheader_changes = (dirty[1] & /*$allTimeRanges*/ 2)
|
16443
|
+
? get_spread_update(timerangeheader_spread_levels, [get_spread_object(/*timeRange*/ ctx[174])])
|
16437
16444
|
: {};
|
16438
16445
|
|
16439
16446
|
timerangeheader.$set(timerangeheader_changes);
|
@@ -16457,12 +16464,12 @@
|
|
16457
16464
|
};
|
16458
16465
|
}
|
16459
16466
|
|
16460
|
-
// (
|
16467
|
+
// (1062:14) {#each visibleRows as row (row.model.id)}
|
16461
16468
|
function create_each_block_3(key_1, ctx) {
|
16462
16469
|
let first;
|
16463
16470
|
let row_1;
|
16464
16471
|
let current;
|
16465
|
-
row_1 = new Row({ props: { row: /*row*/ ctx[
|
16472
|
+
row_1 = new Row({ props: { row: /*row*/ ctx[177] } });
|
16466
16473
|
|
16467
16474
|
return {
|
16468
16475
|
key: key_1,
|
@@ -16480,7 +16487,7 @@
|
|
16480
16487
|
p(new_ctx, dirty) {
|
16481
16488
|
ctx = new_ctx;
|
16482
16489
|
const row_1_changes = {};
|
16483
|
-
if (dirty[0] & /*visibleRows*/
|
16490
|
+
if (dirty[0] & /*visibleRows*/ 65536) row_1_changes.row = /*row*/ ctx[177];
|
16484
16491
|
row_1.$set(row_1_changes);
|
16485
16492
|
},
|
16486
16493
|
i(local) {
|
@@ -16502,12 +16509,12 @@
|
|
16502
16509
|
};
|
16503
16510
|
}
|
16504
16511
|
|
16505
|
-
// (
|
16512
|
+
// (1069:12) {#each $allTimeRanges as timeRange (timeRange.model.id)}
|
16506
16513
|
function create_each_block_2(key_1, ctx) {
|
16507
16514
|
let first;
|
16508
16515
|
let timerange;
|
16509
16516
|
let current;
|
16510
|
-
const timerange_spread_levels = [/*timeRange*/ ctx[
|
16517
|
+
const timerange_spread_levels = [/*timeRange*/ ctx[174]];
|
16511
16518
|
let timerange_props = {};
|
16512
16519
|
|
16513
16520
|
for (let i = 0; i < timerange_spread_levels.length; i += 1) {
|
@@ -16532,8 +16539,8 @@
|
|
16532
16539
|
p(new_ctx, dirty) {
|
16533
16540
|
ctx = new_ctx;
|
16534
16541
|
|
16535
|
-
const timerange_changes = (dirty[1] & /*$allTimeRanges*/
|
16536
|
-
? get_spread_update(timerange_spread_levels, [get_spread_object(/*timeRange*/ ctx[
|
16542
|
+
const timerange_changes = (dirty[1] & /*$allTimeRanges*/ 2)
|
16543
|
+
? get_spread_update(timerange_spread_levels, [get_spread_object(/*timeRange*/ ctx[174])])
|
16537
16544
|
: {};
|
16538
16545
|
|
16539
16546
|
timerange.$set(timerange_changes);
|
@@ -16557,11 +16564,11 @@
|
|
16557
16564
|
};
|
16558
16565
|
}
|
16559
16566
|
|
16560
|
-
// (
|
16567
|
+
// (1072:12) {#if visibleTasks}
|
16561
16568
|
function create_if_block(ctx) {
|
16562
16569
|
let if_block_anchor;
|
16563
16570
|
let current;
|
16564
|
-
let if_block = /*visibleTasks*/ ctx[
|
16571
|
+
let if_block = /*visibleTasks*/ ctx[29].length && create_if_block_1(ctx);
|
16565
16572
|
|
16566
16573
|
return {
|
16567
16574
|
c() {
|
@@ -16574,11 +16581,11 @@
|
|
16574
16581
|
current = true;
|
16575
16582
|
},
|
16576
16583
|
p(ctx, dirty) {
|
16577
|
-
if (/*visibleTasks*/ ctx[
|
16584
|
+
if (/*visibleTasks*/ ctx[29].length) {
|
16578
16585
|
if (if_block) {
|
16579
16586
|
if_block.p(ctx, dirty);
|
16580
16587
|
|
16581
|
-
if (dirty[0] & /*visibleTasks*/
|
16588
|
+
if (dirty[0] & /*visibleTasks*/ 536870912) {
|
16582
16589
|
transition_in(if_block, 1);
|
16583
16590
|
}
|
16584
16591
|
} else {
|
@@ -16616,13 +16623,13 @@
|
|
16616
16623
|
};
|
16617
16624
|
}
|
16618
16625
|
|
16619
|
-
// (
|
16626
|
+
// (1073:14) {#if visibleTasks.length}
|
16620
16627
|
function create_if_block_1(ctx) {
|
16621
16628
|
let each_blocks = [];
|
16622
16629
|
let each_1_lookup = new Map();
|
16623
16630
|
let each_1_anchor;
|
16624
16631
|
let current;
|
16625
|
-
let each_value_1 = ensure_array_like(/*visibleTasks*/ ctx[
|
16632
|
+
let each_value_1 = ensure_array_like(/*visibleTasks*/ ctx[29]);
|
16626
16633
|
const get_key = ctx => uuidv4();
|
16627
16634
|
|
16628
16635
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
@@ -16650,8 +16657,8 @@
|
|
16650
16657
|
current = true;
|
16651
16658
|
},
|
16652
16659
|
p(ctx, dirty) {
|
16653
|
-
if (dirty[0] & /*visibleTasks*/
|
16654
|
-
each_value_1 = ensure_array_like(/*visibleTasks*/ ctx[
|
16660
|
+
if (dirty[0] & /*visibleTasks*/ 536870912) {
|
16661
|
+
each_value_1 = ensure_array_like(/*visibleTasks*/ ctx[29]);
|
16655
16662
|
group_outros();
|
16656
16663
|
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, each_1_anchor.parentNode, outro_and_destroy_block, create_each_block_1, each_1_anchor, get_each_context_1);
|
16657
16664
|
check_outros();
|
@@ -16685,18 +16692,18 @@
|
|
16685
16692
|
};
|
16686
16693
|
}
|
16687
16694
|
|
16688
|
-
// (
|
16695
|
+
// (1075:18) {#if task}
|
16689
16696
|
function create_if_block_2(ctx) {
|
16690
16697
|
let task_1;
|
16691
16698
|
let current;
|
16692
16699
|
|
16693
16700
|
const task_1_spread_levels = [
|
16694
|
-
{ model: /*task*/ ctx[
|
16695
|
-
{ left: /*task*/ ctx[
|
16696
|
-
{ width: /*task*/ ctx[
|
16697
|
-
{ height: /*task*/ ctx[
|
16698
|
-
{ top: /*task*/ ctx[
|
16699
|
-
/*task*/ ctx[
|
16701
|
+
{ model: /*task*/ ctx[171].model },
|
16702
|
+
{ left: /*task*/ ctx[171].left },
|
16703
|
+
{ width: /*task*/ ctx[171].width },
|
16704
|
+
{ height: /*task*/ ctx[171].height },
|
16705
|
+
{ top: /*task*/ ctx[171].top },
|
16706
|
+
/*task*/ ctx[171]
|
16700
16707
|
];
|
16701
16708
|
|
16702
16709
|
let task_1_props = {};
|
@@ -16716,14 +16723,14 @@
|
|
16716
16723
|
current = true;
|
16717
16724
|
},
|
16718
16725
|
p(ctx, dirty) {
|
16719
|
-
const task_1_changes = (dirty[0] & /*visibleTasks*/
|
16726
|
+
const task_1_changes = (dirty[0] & /*visibleTasks*/ 536870912)
|
16720
16727
|
? get_spread_update(task_1_spread_levels, [
|
16721
|
-
{ model: /*task*/ ctx[
|
16722
|
-
{ left: /*task*/ ctx[
|
16723
|
-
{ width: /*task*/ ctx[
|
16724
|
-
{ height: /*task*/ ctx[
|
16725
|
-
{ top: /*task*/ ctx[
|
16726
|
-
get_spread_object(/*task*/ ctx[
|
16728
|
+
{ model: /*task*/ ctx[171].model },
|
16729
|
+
{ left: /*task*/ ctx[171].left },
|
16730
|
+
{ width: /*task*/ ctx[171].width },
|
16731
|
+
{ height: /*task*/ ctx[171].height },
|
16732
|
+
{ top: /*task*/ ctx[171].top },
|
16733
|
+
get_spread_object(/*task*/ ctx[171])
|
16727
16734
|
])
|
16728
16735
|
: {};
|
16729
16736
|
|
@@ -16744,12 +16751,12 @@
|
|
16744
16751
|
};
|
16745
16752
|
}
|
16746
16753
|
|
16747
|
-
// (
|
16754
|
+
// (1074:16) {#each visibleTasks as task (uuidv4())}
|
16748
16755
|
function create_each_block_1(key_1, ctx) {
|
16749
16756
|
let first;
|
16750
16757
|
let if_block_anchor;
|
16751
16758
|
let current;
|
16752
|
-
let if_block = /*task*/ ctx[
|
16759
|
+
let if_block = /*task*/ ctx[171] && create_if_block_2(ctx);
|
16753
16760
|
|
16754
16761
|
return {
|
16755
16762
|
key: key_1,
|
@@ -16769,11 +16776,11 @@
|
|
16769
16776
|
p(new_ctx, dirty) {
|
16770
16777
|
ctx = new_ctx;
|
16771
16778
|
|
16772
|
-
if (/*task*/ ctx[
|
16779
|
+
if (/*task*/ ctx[171]) {
|
16773
16780
|
if (if_block) {
|
16774
16781
|
if_block.p(ctx, dirty);
|
16775
16782
|
|
16776
|
-
if (dirty[0] & /*visibleTasks*/
|
16783
|
+
if (dirty[0] & /*visibleTasks*/ 536870912) {
|
16777
16784
|
transition_in(if_block, 1);
|
16778
16785
|
}
|
16779
16786
|
} else {
|
@@ -16812,20 +16819,20 @@
|
|
16812
16819
|
};
|
16813
16820
|
}
|
16814
16821
|
|
16815
|
-
// (
|
16822
|
+
// (1089:10) {#each ganttBodyModules as module}
|
16816
16823
|
function create_each_block(ctx) {
|
16817
16824
|
let switch_instance;
|
16818
16825
|
let switch_instance_anchor;
|
16819
16826
|
let current;
|
16820
16827
|
|
16821
16828
|
const switch_instance_spread_levels = [
|
16822
|
-
{ paddingTop: /*paddingTop*/ ctx[
|
16823
|
-
{ paddingBottom: /*paddingBottom*/ ctx[
|
16824
|
-
{ visibleRows: /*visibleRows*/ ctx[
|
16825
|
-
/*$$restProps*/ ctx[
|
16829
|
+
{ paddingTop: /*paddingTop*/ ctx[27] },
|
16830
|
+
{ paddingBottom: /*paddingBottom*/ ctx[28] },
|
16831
|
+
{ visibleRows: /*visibleRows*/ ctx[16] },
|
16832
|
+
/*$$restProps*/ ctx[68]
|
16826
16833
|
];
|
16827
16834
|
|
16828
|
-
var switch_value = /*module*/ ctx[
|
16835
|
+
var switch_value = /*module*/ ctx[168];
|
16829
16836
|
|
16830
16837
|
function switch_props(ctx, dirty) {
|
16831
16838
|
let switch_instance_props = {};
|
@@ -16834,12 +16841,12 @@
|
|
16834
16841
|
switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]);
|
16835
16842
|
}
|
16836
16843
|
|
16837
|
-
if (dirty !== undefined && dirty[0] & /*paddingTop, paddingBottom, visibleRows*/
|
16844
|
+
if (dirty !== undefined && dirty[0] & /*paddingTop, paddingBottom, visibleRows*/ 402718720 | dirty[2] & /*$$restProps*/ 64) {
|
16838
16845
|
switch_instance_props = assign(switch_instance_props, get_spread_update(switch_instance_spread_levels, [
|
16839
|
-
dirty[0] & /*paddingTop*/
|
16840
|
-
dirty[0] & /*paddingBottom*/
|
16841
|
-
dirty[0] & /*visibleRows*/
|
16842
|
-
dirty[2] & /*$$restProps*/
|
16846
|
+
dirty[0] & /*paddingTop*/ 134217728 && { paddingTop: /*paddingTop*/ ctx[27] },
|
16847
|
+
dirty[0] & /*paddingBottom*/ 268435456 && { paddingBottom: /*paddingBottom*/ ctx[28] },
|
16848
|
+
dirty[0] & /*visibleRows*/ 65536 && { visibleRows: /*visibleRows*/ ctx[16] },
|
16849
|
+
dirty[2] & /*$$restProps*/ 64 && get_spread_object(/*$$restProps*/ ctx[68])
|
16843
16850
|
]));
|
16844
16851
|
}
|
16845
16852
|
|
@@ -16862,7 +16869,7 @@
|
|
16862
16869
|
current = true;
|
16863
16870
|
},
|
16864
16871
|
p(ctx, dirty) {
|
16865
|
-
if (dirty[0] & /*ganttBodyModules*/
|
16872
|
+
if (dirty[0] & /*ganttBodyModules*/ 256 && switch_value !== (switch_value = /*module*/ ctx[168])) {
|
16866
16873
|
if (switch_instance) {
|
16867
16874
|
group_outros();
|
16868
16875
|
const old_component = switch_instance;
|
@@ -16884,12 +16891,12 @@
|
|
16884
16891
|
switch_instance = null;
|
16885
16892
|
}
|
16886
16893
|
} else if (switch_value) {
|
16887
|
-
const switch_instance_changes = (dirty[0] & /*paddingTop, paddingBottom, visibleRows*/
|
16894
|
+
const switch_instance_changes = (dirty[0] & /*paddingTop, paddingBottom, visibleRows*/ 402718720 | dirty[2] & /*$$restProps*/ 64)
|
16888
16895
|
? get_spread_update(switch_instance_spread_levels, [
|
16889
|
-
dirty[0] & /*paddingTop*/
|
16890
|
-
dirty[0] & /*paddingBottom*/
|
16891
|
-
dirty[0] & /*visibleRows*/
|
16892
|
-
dirty[2] & /*$$restProps*/
|
16896
|
+
dirty[0] & /*paddingTop*/ 134217728 && { paddingTop: /*paddingTop*/ ctx[27] },
|
16897
|
+
dirty[0] & /*paddingBottom*/ 268435456 && { paddingBottom: /*paddingBottom*/ ctx[28] },
|
16898
|
+
dirty[0] & /*visibleRows*/ 65536 && { visibleRows: /*visibleRows*/ ctx[16] },
|
16899
|
+
dirty[2] & /*$$restProps*/ 64 && get_spread_object(/*$$restProps*/ ctx[68])
|
16893
16900
|
])
|
16894
16901
|
: {};
|
16895
16902
|
|
@@ -16915,58 +16922,63 @@
|
|
16915
16922
|
};
|
16916
16923
|
}
|
16917
16924
|
|
16918
|
-
// (
|
16925
|
+
// (955:0) <DragContextProvider bind:this={draggingContext}>
|
16919
16926
|
function create_default_slot(ctx) {
|
16920
|
-
let
|
16921
|
-
let
|
16927
|
+
let div5;
|
16928
|
+
let div3;
|
16922
16929
|
let div0;
|
16930
|
+
let select;
|
16931
|
+
let option0;
|
16932
|
+
let option1;
|
16933
|
+
let t2;
|
16934
|
+
let div1;
|
16923
16935
|
let input0;
|
16924
16936
|
let input0_checked_value;
|
16925
|
-
let
|
16937
|
+
let t3;
|
16926
16938
|
let label0;
|
16927
|
-
let
|
16928
|
-
let
|
16939
|
+
let t5;
|
16940
|
+
let div2;
|
16929
16941
|
let input1;
|
16930
16942
|
let input1_checked_value;
|
16931
|
-
let
|
16943
|
+
let t6;
|
16932
16944
|
let label1;
|
16933
|
-
let
|
16934
|
-
let
|
16945
|
+
let t8;
|
16946
|
+
let div4;
|
16935
16947
|
let button;
|
16936
|
-
let
|
16948
|
+
let t10;
|
16949
|
+
let div15;
|
16950
|
+
let t11;
|
16937
16951
|
let div14;
|
16938
|
-
let
|
16939
|
-
let div13;
|
16952
|
+
let div8;
|
16940
16953
|
let div7;
|
16941
16954
|
let div6;
|
16942
|
-
let div5;
|
16943
16955
|
let columnheader;
|
16944
|
-
let
|
16956
|
+
let t12;
|
16945
16957
|
let each_blocks_3 = [];
|
16946
16958
|
let each1_lookup = new Map();
|
16947
|
-
let
|
16948
|
-
let
|
16959
|
+
let div8_resize_listener;
|
16960
|
+
let t13;
|
16961
|
+
let div13;
|
16949
16962
|
let div12;
|
16950
|
-
let div11;
|
16951
16963
|
let columns_1;
|
16952
|
-
let
|
16964
|
+
let t14;
|
16965
|
+
let div10;
|
16953
16966
|
let div9;
|
16954
|
-
let div8;
|
16955
16967
|
let each_blocks_2 = [];
|
16956
16968
|
let each2_lookup = new Map();
|
16957
|
-
let
|
16958
|
-
let
|
16969
|
+
let t15;
|
16970
|
+
let div11;
|
16959
16971
|
let each_blocks_1 = [];
|
16960
16972
|
let each3_lookup = new Map();
|
16961
|
-
let
|
16962
|
-
let
|
16963
|
-
let
|
16973
|
+
let t16;
|
16974
|
+
let t17;
|
16975
|
+
let div13_resize_listener;
|
16964
16976
|
let createTasks_action;
|
16965
|
-
let
|
16977
|
+
let div15_class_value;
|
16966
16978
|
let current;
|
16967
16979
|
let mounted;
|
16968
16980
|
let dispose;
|
16969
|
-
let each_value_5 = ensure_array_like(/*ganttTableModules*/ ctx[
|
16981
|
+
let each_value_5 = ensure_array_like(/*ganttTableModules*/ ctx[7]);
|
16970
16982
|
let each_blocks_4 = [];
|
16971
16983
|
|
16972
16984
|
for (let i = 0; i < each_value_5.length; i += 1) {
|
@@ -16979,15 +16991,16 @@
|
|
16979
16991
|
|
16980
16992
|
columnheader = new ColumnHeader({
|
16981
16993
|
props: {
|
16982
|
-
headers: /*headers*/ ctx[
|
16983
|
-
ganttBodyColumns: /*columns*/ ctx[
|
16984
|
-
ganttBodyUnit: /*columnUnit*/ ctx[
|
16994
|
+
headers: /*headers*/ ctx[4],
|
16995
|
+
ganttBodyColumns: /*columns*/ ctx[24],
|
16996
|
+
ganttBodyUnit: /*columnUnit*/ ctx[1],
|
16997
|
+
isDateSelected: /*isDateSelected*/ ctx[3]
|
16985
16998
|
}
|
16986
16999
|
});
|
16987
17000
|
|
16988
|
-
columnheader.$on("dateSelected", /*onDateSelected*/ ctx[
|
16989
|
-
let each_value_4 = ensure_array_like(/*$allTimeRanges*/ ctx[
|
16990
|
-
const get_key = ctx => /*timeRange*/ ctx[
|
17001
|
+
columnheader.$on("dateSelected", /*onDateSelected*/ ctx[61]);
|
17002
|
+
let each_value_4 = ensure_array_like(/*$allTimeRanges*/ ctx[32]);
|
17003
|
+
const get_key = ctx => /*timeRange*/ ctx[174].model.id;
|
16991
17004
|
|
16992
17005
|
for (let i = 0; i < each_value_4.length; i += 1) {
|
16993
17006
|
let child_ctx = get_each_context_4(ctx, each_value_4, i);
|
@@ -16997,15 +17010,15 @@
|
|
16997
17010
|
|
16998
17011
|
columns_1 = new Columns({
|
16999
17012
|
props: {
|
17000
|
-
columns: /*columns*/ ctx[
|
17001
|
-
columnStrokeColor: /*columnStrokeColor*/ ctx[
|
17002
|
-
columnStrokeWidth: /*columnStrokeWidth*/ ctx[
|
17003
|
-
useCanvasColumns: /*useCanvasColumns*/ ctx[
|
17013
|
+
columns: /*columns*/ ctx[24],
|
17014
|
+
columnStrokeColor: /*columnStrokeColor*/ ctx[11],
|
17015
|
+
columnStrokeWidth: /*columnStrokeWidth*/ ctx[12],
|
17016
|
+
useCanvasColumns: /*useCanvasColumns*/ ctx[10]
|
17004
17017
|
}
|
17005
17018
|
});
|
17006
17019
|
|
17007
|
-
let each_value_3 = ensure_array_like(/*visibleRows*/ ctx[
|
17008
|
-
const get_key_1 = ctx => /*row*/ ctx[
|
17020
|
+
let each_value_3 = ensure_array_like(/*visibleRows*/ ctx[16]);
|
17021
|
+
const get_key_1 = ctx => /*row*/ ctx[177].model.id;
|
17009
17022
|
|
17010
17023
|
for (let i = 0; i < each_value_3.length; i += 1) {
|
17011
17024
|
let child_ctx = get_each_context_3(ctx, each_value_3, i);
|
@@ -17013,8 +17026,8 @@
|
|
17013
17026
|
each2_lookup.set(key, each_blocks_2[i] = create_each_block_3(key, child_ctx));
|
17014
17027
|
}
|
17015
17028
|
|
17016
|
-
let each_value_2 = ensure_array_like(/*$allTimeRanges*/ ctx[
|
17017
|
-
const get_key_2 = ctx => /*timeRange*/ ctx[
|
17029
|
+
let each_value_2 = ensure_array_like(/*$allTimeRanges*/ ctx[32]);
|
17030
|
+
const get_key_2 = ctx => /*timeRange*/ ctx[174].model.id;
|
17018
17031
|
|
17019
17032
|
for (let i = 0; i < each_value_2.length; i += 1) {
|
17020
17033
|
let child_ctx = get_each_context_2(ctx, each_value_2, i);
|
@@ -17022,8 +17035,8 @@
|
|
17022
17035
|
each3_lookup.set(key, each_blocks_1[i] = create_each_block_2(key, child_ctx));
|
17023
17036
|
}
|
17024
17037
|
|
17025
|
-
let if_block = /*visibleTasks*/ ctx[
|
17026
|
-
let each_value = ensure_array_like(/*ganttBodyModules*/ ctx[
|
17038
|
+
let if_block = /*visibleTasks*/ ctx[29] && create_if_block(ctx);
|
17039
|
+
let each_value = ensure_array_like(/*ganttBodyModules*/ ctx[8]);
|
17027
17040
|
let each_blocks = [];
|
17028
17041
|
|
17029
17042
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -17036,217 +17049,235 @@
|
|
17036
17049
|
|
17037
17050
|
return {
|
17038
17051
|
c() {
|
17039
|
-
|
17040
|
-
|
17052
|
+
div5 = element("div");
|
17053
|
+
div3 = element("div");
|
17041
17054
|
div0 = element("div");
|
17055
|
+
select = element("select");
|
17056
|
+
option0 = element("option");
|
17057
|
+
option0.textContent = "1공장";
|
17058
|
+
option1 = element("option");
|
17059
|
+
option1.textContent = "2공장";
|
17060
|
+
t2 = space();
|
17061
|
+
div1 = element("div");
|
17042
17062
|
input0 = element("input");
|
17043
|
-
|
17063
|
+
t3 = space();
|
17044
17064
|
label0 = element("label");
|
17045
17065
|
label0.textContent = "설비기준으로 보기";
|
17046
|
-
|
17047
|
-
|
17066
|
+
t5 = space();
|
17067
|
+
div2 = element("div");
|
17048
17068
|
input1 = element("input");
|
17049
|
-
|
17069
|
+
t6 = space();
|
17050
17070
|
label1 = element("label");
|
17051
17071
|
label1.textContent = "생산의뢰기준으로 보기";
|
17052
|
-
|
17053
|
-
|
17072
|
+
t8 = space();
|
17073
|
+
div4 = element("div");
|
17054
17074
|
button = element("button");
|
17055
17075
|
button.textContent = "전체보기";
|
17056
|
-
|
17057
|
-
|
17076
|
+
t10 = space();
|
17077
|
+
div15 = element("div");
|
17058
17078
|
|
17059
17079
|
for (let i = 0; i < each_blocks_4.length; i += 1) {
|
17060
17080
|
each_blocks_4[i].c();
|
17061
17081
|
}
|
17062
17082
|
|
17063
|
-
|
17064
|
-
|
17083
|
+
t11 = space();
|
17084
|
+
div14 = element("div");
|
17085
|
+
div8 = element("div");
|
17065
17086
|
div7 = element("div");
|
17066
17087
|
div6 = element("div");
|
17067
|
-
div5 = element("div");
|
17068
17088
|
create_component(columnheader.$$.fragment);
|
17069
|
-
|
17089
|
+
t12 = space();
|
17070
17090
|
|
17071
17091
|
for (let i = 0; i < each_blocks_3.length; i += 1) {
|
17072
17092
|
each_blocks_3[i].c();
|
17073
17093
|
}
|
17074
17094
|
|
17075
|
-
|
17095
|
+
t13 = space();
|
17096
|
+
div13 = element("div");
|
17076
17097
|
div12 = element("div");
|
17077
|
-
div11 = element("div");
|
17078
17098
|
create_component(columns_1.$$.fragment);
|
17079
|
-
|
17099
|
+
t14 = space();
|
17100
|
+
div10 = element("div");
|
17080
17101
|
div9 = element("div");
|
17081
|
-
div8 = element("div");
|
17082
17102
|
|
17083
17103
|
for (let i = 0; i < each_blocks_2.length; i += 1) {
|
17084
17104
|
each_blocks_2[i].c();
|
17085
17105
|
}
|
17086
17106
|
|
17087
|
-
|
17088
|
-
|
17107
|
+
t15 = space();
|
17108
|
+
div11 = element("div");
|
17089
17109
|
|
17090
17110
|
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
17091
17111
|
each_blocks_1[i].c();
|
17092
17112
|
}
|
17093
17113
|
|
17094
|
-
|
17114
|
+
t16 = space();
|
17095
17115
|
if (if_block) if_block.c();
|
17096
|
-
|
17116
|
+
t17 = space();
|
17097
17117
|
|
17098
17118
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
17099
17119
|
each_blocks[i].c();
|
17100
17120
|
}
|
17101
17121
|
|
17122
|
+
option0.__value = "1";
|
17123
|
+
set_input_value(option0, option0.__value);
|
17124
|
+
option1.__value = "2";
|
17125
|
+
set_input_value(option1, option1.__value);
|
17126
|
+
attr(select, "class", "sg-factory-select svelte-1yr6t3v");
|
17102
17127
|
attr(input0, "name", "wellstek-gantt-radio");
|
17103
17128
|
attr(input0, "id", "wellstek-gantt-radio1");
|
17104
17129
|
attr(input0, "type", "radio");
|
17105
17130
|
input0.value = "equipment";
|
17106
|
-
input0.checked = input0_checked_value = !!(/*dataType*/ ctx[
|
17131
|
+
input0.checked = input0_checked_value = !!(/*dataType*/ ctx[14] === 'equipment');
|
17107
17132
|
attr(label0, "for", "wellstek-gantt-radio1");
|
17108
17133
|
attr(input1, "name", "wellstek-gantt-radio");
|
17109
17134
|
attr(input1, "id", "wellstek-gantt-radio2");
|
17110
17135
|
attr(input1, "type", "radio");
|
17111
17136
|
input1.value = "product";
|
17112
|
-
input1.checked = input1_checked_value = !!(/*dataType*/ ctx[
|
17137
|
+
input1.checked = input1_checked_value = !!(/*dataType*/ ctx[14] === 'product');
|
17113
17138
|
attr(label1, "for", "wellstek-gantt-radio2");
|
17114
|
-
attr(
|
17139
|
+
attr(div3, "class", "sg-control-layer-left svelte-1yr6t3v");
|
17115
17140
|
attr(button, "class", "sg-task-all-button");
|
17116
|
-
attr(
|
17117
|
-
attr(
|
17118
|
-
set_style(
|
17119
|
-
attr(
|
17120
|
-
attr(
|
17121
|
-
add_render_callback(() => /*
|
17122
|
-
toggle_class(
|
17123
|
-
set_style(
|
17124
|
-
attr(
|
17125
|
-
set_style(
|
17126
|
-
attr(
|
17127
|
-
attr(
|
17128
|
-
set_style(
|
17129
|
-
attr(
|
17130
|
-
add_render_callback(() => /*
|
17131
|
-
toggle_class(
|
17132
|
-
attr(
|
17133
|
-
attr(
|
17134
|
-
toggle_class(
|
17141
|
+
attr(div5, "class", "sg-control-layer svelte-1yr6t3v");
|
17142
|
+
attr(div6, "class", "header-container");
|
17143
|
+
set_style(div6, "width", /*$_width*/ ctx[18] + "px");
|
17144
|
+
attr(div7, "class", "sg-header-scroller svelte-1yr6t3v");
|
17145
|
+
attr(div8, "class", "sg-header");
|
17146
|
+
add_render_callback(() => /*div8_elementresize_handler*/ ctx[137].call(div8));
|
17147
|
+
toggle_class(div8, "right-scrollbar-visible", /*rightScrollbarVisible*/ ctx[26]);
|
17148
|
+
set_style(div9, "transform", "translateY(" + /*paddingTop*/ ctx[27] + "px)");
|
17149
|
+
attr(div10, "class", "sg-rows svelte-1yr6t3v");
|
17150
|
+
set_style(div10, "height", /*rowContainerHeight*/ ctx[15] + "px");
|
17151
|
+
attr(div11, "class", "sg-foreground svelte-1yr6t3v");
|
17152
|
+
attr(div12, "class", "content svelte-1yr6t3v");
|
17153
|
+
set_style(div12, "width", /*$_width*/ ctx[18] + "px");
|
17154
|
+
attr(div13, "class", "sg-timeline-body svelte-1yr6t3v");
|
17155
|
+
add_render_callback(() => /*div13_elementresize_handler*/ ctx[140].call(div13));
|
17156
|
+
toggle_class(div13, "zooming", /*zooming*/ ctx[25]);
|
17157
|
+
attr(div14, "class", "sg-timeline sg-view svelte-1yr6t3v");
|
17158
|
+
attr(div15, "class", div15_class_value = "sg-gantt " + /*classes*/ ctx[6] + " svelte-1yr6t3v");
|
17159
|
+
toggle_class(div15, "sg-disable-transition", /*disableTransition*/ ctx[23]);
|
17135
17160
|
},
|
17136
17161
|
m(target, anchor) {
|
17137
|
-
insert(target,
|
17138
|
-
append(
|
17139
|
-
append(
|
17140
|
-
append(div0,
|
17141
|
-
append(
|
17142
|
-
append(
|
17143
|
-
append(
|
17144
|
-
append(
|
17145
|
-
append(div1,
|
17162
|
+
insert(target, div5, anchor);
|
17163
|
+
append(div5, div3);
|
17164
|
+
append(div3, div0);
|
17165
|
+
append(div0, select);
|
17166
|
+
append(select, option0);
|
17167
|
+
append(select, option1);
|
17168
|
+
append(div3, t2);
|
17169
|
+
append(div3, div1);
|
17170
|
+
append(div1, input0);
|
17146
17171
|
append(div1, t3);
|
17147
|
-
append(div1,
|
17148
|
-
append(
|
17149
|
-
append(
|
17150
|
-
append(
|
17151
|
-
|
17152
|
-
|
17172
|
+
append(div1, label0);
|
17173
|
+
append(div3, t5);
|
17174
|
+
append(div3, div2);
|
17175
|
+
append(div2, input1);
|
17176
|
+
append(div2, t6);
|
17177
|
+
append(div2, label1);
|
17178
|
+
append(div5, t8);
|
17179
|
+
append(div5, div4);
|
17180
|
+
append(div4, button);
|
17181
|
+
insert(target, t10, anchor);
|
17182
|
+
insert(target, div15, anchor);
|
17153
17183
|
|
17154
17184
|
for (let i = 0; i < each_blocks_4.length; i += 1) {
|
17155
17185
|
if (each_blocks_4[i]) {
|
17156
|
-
each_blocks_4[i].m(
|
17186
|
+
each_blocks_4[i].m(div15, null);
|
17157
17187
|
}
|
17158
17188
|
}
|
17159
17189
|
|
17160
|
-
append(
|
17161
|
-
append(
|
17162
|
-
append(
|
17190
|
+
append(div15, t11);
|
17191
|
+
append(div15, div14);
|
17192
|
+
append(div14, div8);
|
17193
|
+
append(div8, div7);
|
17163
17194
|
append(div7, div6);
|
17164
|
-
|
17165
|
-
|
17166
|
-
append(div5, t9);
|
17195
|
+
mount_component(columnheader, div6, null);
|
17196
|
+
append(div6, t12);
|
17167
17197
|
|
17168
17198
|
for (let i = 0; i < each_blocks_3.length; i += 1) {
|
17169
17199
|
if (each_blocks_3[i]) {
|
17170
|
-
each_blocks_3[i].m(
|
17200
|
+
each_blocks_3[i].m(div6, null);
|
17171
17201
|
}
|
17172
17202
|
}
|
17173
17203
|
|
17174
|
-
/*
|
17175
|
-
|
17176
|
-
append(
|
17204
|
+
/*div8_binding*/ ctx[136](div8);
|
17205
|
+
div8_resize_listener = add_iframe_resize_listener(div8, /*div8_elementresize_handler*/ ctx[137].bind(div8));
|
17206
|
+
append(div14, t13);
|
17207
|
+
append(div14, div13);
|
17177
17208
|
append(div13, div12);
|
17178
|
-
|
17179
|
-
|
17180
|
-
append(
|
17181
|
-
append(
|
17182
|
-
append(div9, div8);
|
17209
|
+
mount_component(columns_1, div12, null);
|
17210
|
+
append(div12, t14);
|
17211
|
+
append(div12, div10);
|
17212
|
+
append(div10, div9);
|
17183
17213
|
|
17184
17214
|
for (let i = 0; i < each_blocks_2.length; i += 1) {
|
17185
17215
|
if (each_blocks_2[i]) {
|
17186
|
-
each_blocks_2[i].m(
|
17216
|
+
each_blocks_2[i].m(div9, null);
|
17187
17217
|
}
|
17188
17218
|
}
|
17189
17219
|
|
17190
|
-
/*
|
17191
|
-
append(
|
17192
|
-
append(
|
17220
|
+
/*div10_binding*/ ctx[138](div10);
|
17221
|
+
append(div12, t15);
|
17222
|
+
append(div12, div11);
|
17193
17223
|
|
17194
17224
|
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
17195
17225
|
if (each_blocks_1[i]) {
|
17196
|
-
each_blocks_1[i].m(
|
17226
|
+
each_blocks_1[i].m(div11, null);
|
17197
17227
|
}
|
17198
17228
|
}
|
17199
17229
|
|
17200
|
-
append(
|
17201
|
-
if (if_block) if_block.m(
|
17202
|
-
append(
|
17230
|
+
append(div11, t16);
|
17231
|
+
if (if_block) if_block.m(div11, null);
|
17232
|
+
append(div12, t17);
|
17203
17233
|
|
17204
17234
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
17205
17235
|
if (each_blocks[i]) {
|
17206
|
-
each_blocks[i].m(
|
17236
|
+
each_blocks[i].m(div12, null);
|
17207
17237
|
}
|
17208
17238
|
}
|
17209
17239
|
|
17210
|
-
/*
|
17211
|
-
|
17212
|
-
/*
|
17240
|
+
/*div13_binding*/ ctx[139](div13);
|
17241
|
+
div13_resize_listener = add_iframe_resize_listener(div13, /*div13_elementresize_handler*/ ctx[140].bind(div13));
|
17242
|
+
/*div15_binding*/ ctx[141](div15);
|
17213
17243
|
current = true;
|
17214
17244
|
|
17215
17245
|
if (!mounted) {
|
17216
17246
|
dispose = [
|
17217
|
-
listen(
|
17218
|
-
listen(
|
17219
|
-
listen(
|
17220
|
-
|
17221
|
-
action_destroyer(/*
|
17222
|
-
|
17223
|
-
|
17224
|
-
|
17225
|
-
|
17226
|
-
|
17227
|
-
|
17247
|
+
listen(select, "change", /*onFactoryChange*/ ctx[67]),
|
17248
|
+
listen(input0, "change", /*onDataTypeChange*/ ctx[66]),
|
17249
|
+
listen(input1, "change", /*onDataTypeChange*/ ctx[66]),
|
17250
|
+
listen(button, "click", /*onClickAll*/ ctx[65]),
|
17251
|
+
action_destroyer(/*horizontalScrollListener*/ ctx[58].call(null, div7)),
|
17252
|
+
action_destroyer(/*scrollable*/ ctx[57].call(null, div13)),
|
17253
|
+
listen(div13, "wheel", /*onwheel*/ ctx[60]),
|
17254
|
+
action_destroyer(createTasks_action = /*createTasks*/ ctx[64].call(null, div13, {
|
17255
|
+
container: /*rowContainer*/ ctx[22],
|
17256
|
+
enabled: /*enableCreateTask*/ ctx[13],
|
17257
|
+
onMove: /*onCreateTaskMove*/ ctx[62],
|
17258
|
+
onEnd: /*onCreateTaskEnd*/ ctx[63]
|
17228
17259
|
})),
|
17229
|
-
listen(
|
17230
|
-
listen(
|
17231
|
-
listen(
|
17232
|
-
listen(
|
17233
|
-
listen(
|
17260
|
+
listen(div15, "pointerdown", stop_propagation(/*onEvent*/ ctx[56])),
|
17261
|
+
listen(div15, "click", stop_propagation(/*onEvent*/ ctx[56])),
|
17262
|
+
listen(div15, "dblclick", /*onEvent*/ ctx[56]),
|
17263
|
+
listen(div15, "pointerover", /*onEvent*/ ctx[56]),
|
17264
|
+
listen(div15, "pointerleave", /*onEvent*/ ctx[56])
|
17234
17265
|
];
|
17235
17266
|
|
17236
17267
|
mounted = true;
|
17237
17268
|
}
|
17238
17269
|
},
|
17239
17270
|
p(ctx, dirty) {
|
17240
|
-
if (!current || dirty[0] & /*dataType*/
|
17271
|
+
if (!current || dirty[0] & /*dataType*/ 16384 && input0_checked_value !== (input0_checked_value = !!(/*dataType*/ ctx[14] === 'equipment'))) {
|
17241
17272
|
input0.checked = input0_checked_value;
|
17242
17273
|
}
|
17243
17274
|
|
17244
|
-
if (!current || dirty[0] & /*dataType*/
|
17275
|
+
if (!current || dirty[0] & /*dataType*/ 16384 && input1_checked_value !== (input1_checked_value = !!(/*dataType*/ ctx[14] === 'product'))) {
|
17245
17276
|
input1.checked = input1_checked_value;
|
17246
17277
|
}
|
17247
17278
|
|
17248
|
-
if (dirty[0] & /*tableWidth, ganttElement, ganttTableModules, rowContainerHeight, paddingTop, paddingBottom, visibleRows, tableHeader,
|
17249
|
-
each_value_5 = ensure_array_like(/*ganttTableModules*/ ctx[
|
17279
|
+
if (dirty[0] & /*tableWidth, ganttElement, ganttTableModules, rowContainerHeight, paddingTop, paddingBottom, visibleRows, tableHeader, allCreators, selectedCreator*/ 403276453 | dirty[1] & /*onResize, allRows, rand, setSelectedCreator*/ 268959840 | dirty[2] & /*$$restProps*/ 64) {
|
17280
|
+
each_value_5 = ensure_array_like(/*ganttTableModules*/ ctx[7]);
|
17250
17281
|
let i;
|
17251
17282
|
|
17252
17283
|
for (i = 0; i < each_value_5.length; i += 1) {
|
@@ -17259,7 +17290,7 @@
|
|
17259
17290
|
each_blocks_4[i] = create_each_block_5(child_ctx);
|
17260
17291
|
each_blocks_4[i].c();
|
17261
17292
|
transition_in(each_blocks_4[i], 1);
|
17262
|
-
each_blocks_4[i].m(
|
17293
|
+
each_blocks_4[i].m(div15, t11);
|
17263
17294
|
}
|
17264
17295
|
}
|
17265
17296
|
|
@@ -17273,67 +17304,68 @@
|
|
17273
17304
|
}
|
17274
17305
|
|
17275
17306
|
const columnheader_changes = {};
|
17276
|
-
if (dirty[0] & /*headers*/
|
17277
|
-
if (dirty[0] & /*columns*/
|
17278
|
-
if (dirty[0] & /*columnUnit*/
|
17307
|
+
if (dirty[0] & /*headers*/ 16) columnheader_changes.headers = /*headers*/ ctx[4];
|
17308
|
+
if (dirty[0] & /*columns*/ 16777216) columnheader_changes.ganttBodyColumns = /*columns*/ ctx[24];
|
17309
|
+
if (dirty[0] & /*columnUnit*/ 2) columnheader_changes.ganttBodyUnit = /*columnUnit*/ ctx[1];
|
17310
|
+
if (dirty[0] & /*isDateSelected*/ 8) columnheader_changes.isDateSelected = /*isDateSelected*/ ctx[3];
|
17279
17311
|
columnheader.$set(columnheader_changes);
|
17280
17312
|
|
17281
|
-
if (dirty[1] & /*$allTimeRanges*/
|
17282
|
-
each_value_4 = ensure_array_like(/*$allTimeRanges*/ ctx[
|
17313
|
+
if (dirty[1] & /*$allTimeRanges*/ 2) {
|
17314
|
+
each_value_4 = ensure_array_like(/*$allTimeRanges*/ ctx[32]);
|
17283
17315
|
group_outros();
|
17284
|
-
each_blocks_3 = update_keyed_each(each_blocks_3, dirty, get_key, 1, ctx, each_value_4, each1_lookup,
|
17316
|
+
each_blocks_3 = update_keyed_each(each_blocks_3, dirty, get_key, 1, ctx, each_value_4, each1_lookup, div6, outro_and_destroy_block, create_each_block_4, null, get_each_context_4);
|
17285
17317
|
check_outros();
|
17286
17318
|
}
|
17287
17319
|
|
17288
|
-
if (!current || dirty[0] & /*$_width*/
|
17289
|
-
set_style(
|
17320
|
+
if (!current || dirty[0] & /*$_width*/ 262144) {
|
17321
|
+
set_style(div6, "width", /*$_width*/ ctx[18] + "px");
|
17290
17322
|
}
|
17291
17323
|
|
17292
|
-
if (!current || dirty[0] & /*rightScrollbarVisible*/
|
17293
|
-
toggle_class(
|
17324
|
+
if (!current || dirty[0] & /*rightScrollbarVisible*/ 67108864) {
|
17325
|
+
toggle_class(div8, "right-scrollbar-visible", /*rightScrollbarVisible*/ ctx[26]);
|
17294
17326
|
}
|
17295
17327
|
|
17296
17328
|
const columns_1_changes = {};
|
17297
|
-
if (dirty[0] & /*columns*/
|
17298
|
-
if (dirty[0] & /*columnStrokeColor*/
|
17299
|
-
if (dirty[0] & /*columnStrokeWidth*/
|
17300
|
-
if (dirty[0] & /*useCanvasColumns*/
|
17329
|
+
if (dirty[0] & /*columns*/ 16777216) columns_1_changes.columns = /*columns*/ ctx[24];
|
17330
|
+
if (dirty[0] & /*columnStrokeColor*/ 2048) columns_1_changes.columnStrokeColor = /*columnStrokeColor*/ ctx[11];
|
17331
|
+
if (dirty[0] & /*columnStrokeWidth*/ 4096) columns_1_changes.columnStrokeWidth = /*columnStrokeWidth*/ ctx[12];
|
17332
|
+
if (dirty[0] & /*useCanvasColumns*/ 1024) columns_1_changes.useCanvasColumns = /*useCanvasColumns*/ ctx[10];
|
17301
17333
|
columns_1.$set(columns_1_changes);
|
17302
17334
|
|
17303
|
-
if (dirty[0] & /*visibleRows*/
|
17304
|
-
each_value_3 = ensure_array_like(/*visibleRows*/ ctx[
|
17335
|
+
if (dirty[0] & /*visibleRows*/ 65536) {
|
17336
|
+
each_value_3 = ensure_array_like(/*visibleRows*/ ctx[16]);
|
17305
17337
|
group_outros();
|
17306
|
-
each_blocks_2 = update_keyed_each(each_blocks_2, dirty, get_key_1, 1, ctx, each_value_3, each2_lookup,
|
17338
|
+
each_blocks_2 = update_keyed_each(each_blocks_2, dirty, get_key_1, 1, ctx, each_value_3, each2_lookup, div9, outro_and_destroy_block, create_each_block_3, null, get_each_context_3);
|
17307
17339
|
check_outros();
|
17308
17340
|
}
|
17309
17341
|
|
17310
|
-
if (!current || dirty[0] & /*paddingTop*/
|
17311
|
-
set_style(
|
17342
|
+
if (!current || dirty[0] & /*paddingTop*/ 134217728) {
|
17343
|
+
set_style(div9, "transform", "translateY(" + /*paddingTop*/ ctx[27] + "px)");
|
17312
17344
|
}
|
17313
17345
|
|
17314
|
-
if (!current || dirty[0] & /*rowContainerHeight*/
|
17315
|
-
set_style(
|
17346
|
+
if (!current || dirty[0] & /*rowContainerHeight*/ 32768) {
|
17347
|
+
set_style(div10, "height", /*rowContainerHeight*/ ctx[15] + "px");
|
17316
17348
|
}
|
17317
17349
|
|
17318
|
-
if (dirty[1] & /*$allTimeRanges*/
|
17319
|
-
each_value_2 = ensure_array_like(/*$allTimeRanges*/ ctx[
|
17350
|
+
if (dirty[1] & /*$allTimeRanges*/ 2) {
|
17351
|
+
each_value_2 = ensure_array_like(/*$allTimeRanges*/ ctx[32]);
|
17320
17352
|
group_outros();
|
17321
|
-
each_blocks_1 = update_keyed_each(each_blocks_1, dirty, get_key_2, 1, ctx, each_value_2, each3_lookup,
|
17353
|
+
each_blocks_1 = update_keyed_each(each_blocks_1, dirty, get_key_2, 1, ctx, each_value_2, each3_lookup, div11, outro_and_destroy_block, create_each_block_2, t16, get_each_context_2);
|
17322
17354
|
check_outros();
|
17323
17355
|
}
|
17324
17356
|
|
17325
|
-
if (/*visibleTasks*/ ctx[
|
17357
|
+
if (/*visibleTasks*/ ctx[29]) {
|
17326
17358
|
if (if_block) {
|
17327
17359
|
if_block.p(ctx, dirty);
|
17328
17360
|
|
17329
|
-
if (dirty[0] & /*visibleTasks*/
|
17361
|
+
if (dirty[0] & /*visibleTasks*/ 536870912) {
|
17330
17362
|
transition_in(if_block, 1);
|
17331
17363
|
}
|
17332
17364
|
} else {
|
17333
17365
|
if_block = create_if_block(ctx);
|
17334
17366
|
if_block.c();
|
17335
17367
|
transition_in(if_block, 1);
|
17336
|
-
if_block.m(
|
17368
|
+
if_block.m(div11, null);
|
17337
17369
|
}
|
17338
17370
|
} else if (if_block) {
|
17339
17371
|
group_outros();
|
@@ -17345,8 +17377,8 @@
|
|
17345
17377
|
check_outros();
|
17346
17378
|
}
|
17347
17379
|
|
17348
|
-
if (dirty[0] & /*ganttBodyModules, paddingTop, paddingBottom, visibleRows*/
|
17349
|
-
each_value = ensure_array_like(/*ganttBodyModules*/ ctx[
|
17380
|
+
if (dirty[0] & /*ganttBodyModules, paddingTop, paddingBottom, visibleRows*/ 402718976 | dirty[2] & /*$$restProps*/ 64) {
|
17381
|
+
each_value = ensure_array_like(/*ganttBodyModules*/ ctx[8]);
|
17350
17382
|
let i;
|
17351
17383
|
|
17352
17384
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -17359,7 +17391,7 @@
|
|
17359
17391
|
each_blocks[i] = create_each_block(child_ctx);
|
17360
17392
|
each_blocks[i].c();
|
17361
17393
|
transition_in(each_blocks[i], 1);
|
17362
|
-
each_blocks[i].m(
|
17394
|
+
each_blocks[i].m(div12, null);
|
17363
17395
|
}
|
17364
17396
|
}
|
17365
17397
|
|
@@ -17372,27 +17404,27 @@
|
|
17372
17404
|
check_outros();
|
17373
17405
|
}
|
17374
17406
|
|
17375
|
-
if (!current || dirty[0] & /*$_width*/
|
17376
|
-
set_style(
|
17407
|
+
if (!current || dirty[0] & /*$_width*/ 262144) {
|
17408
|
+
set_style(div12, "width", /*$_width*/ ctx[18] + "px");
|
17377
17409
|
}
|
17378
17410
|
|
17379
|
-
if (createTasks_action && is_function(createTasks_action.update) && dirty[0] & /*rowContainer, enableCreateTask*/
|
17380
|
-
container: /*rowContainer*/ ctx[
|
17381
|
-
enabled: /*enableCreateTask*/ ctx[
|
17382
|
-
onMove: /*onCreateTaskMove*/ ctx[
|
17383
|
-
onEnd: /*onCreateTaskEnd*/ ctx[
|
17411
|
+
if (createTasks_action && is_function(createTasks_action.update) && dirty[0] & /*rowContainer, enableCreateTask*/ 4202496) createTasks_action.update.call(null, {
|
17412
|
+
container: /*rowContainer*/ ctx[22],
|
17413
|
+
enabled: /*enableCreateTask*/ ctx[13],
|
17414
|
+
onMove: /*onCreateTaskMove*/ ctx[62],
|
17415
|
+
onEnd: /*onCreateTaskEnd*/ ctx[63]
|
17384
17416
|
});
|
17385
17417
|
|
17386
|
-
if (!current || dirty[0] & /*zooming*/
|
17387
|
-
toggle_class(
|
17418
|
+
if (!current || dirty[0] & /*zooming*/ 33554432) {
|
17419
|
+
toggle_class(div13, "zooming", /*zooming*/ ctx[25]);
|
17388
17420
|
}
|
17389
17421
|
|
17390
|
-
if (!current || dirty[0] & /*classes*/
|
17391
|
-
attr(
|
17422
|
+
if (!current || dirty[0] & /*classes*/ 64 && div15_class_value !== (div15_class_value = "sg-gantt " + /*classes*/ ctx[6] + " svelte-1yr6t3v")) {
|
17423
|
+
attr(div15, "class", div15_class_value);
|
17392
17424
|
}
|
17393
17425
|
|
17394
|
-
if (!current || dirty[0] & /*classes, disableTransition*/
|
17395
|
-
toggle_class(
|
17426
|
+
if (!current || dirty[0] & /*classes, disableTransition*/ 8388672) {
|
17427
|
+
toggle_class(div15, "sg-disable-transition", /*disableTransition*/ ctx[23]);
|
17396
17428
|
}
|
17397
17429
|
},
|
17398
17430
|
i(local) {
|
@@ -17460,9 +17492,9 @@
|
|
17460
17492
|
},
|
17461
17493
|
d(detaching) {
|
17462
17494
|
if (detaching) {
|
17463
|
-
detach(
|
17464
|
-
detach(
|
17465
|
-
detach(
|
17495
|
+
detach(div5);
|
17496
|
+
detach(t10);
|
17497
|
+
detach(div15);
|
17466
17498
|
}
|
17467
17499
|
|
17468
17500
|
destroy_each(each_blocks_4, detaching);
|
@@ -17472,15 +17504,15 @@
|
|
17472
17504
|
each_blocks_3[i].d();
|
17473
17505
|
}
|
17474
17506
|
|
17475
|
-
/*
|
17476
|
-
|
17507
|
+
/*div8_binding*/ ctx[136](null);
|
17508
|
+
div8_resize_listener();
|
17477
17509
|
destroy_component(columns_1);
|
17478
17510
|
|
17479
17511
|
for (let i = 0; i < each_blocks_2.length; i += 1) {
|
17480
17512
|
each_blocks_2[i].d();
|
17481
17513
|
}
|
17482
17514
|
|
17483
|
-
/*
|
17515
|
+
/*div10_binding*/ ctx[138](null);
|
17484
17516
|
|
17485
17517
|
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
17486
17518
|
each_blocks_1[i].d();
|
@@ -17488,9 +17520,9 @@
|
|
17488
17520
|
|
17489
17521
|
if (if_block) if_block.d();
|
17490
17522
|
destroy_each(each_blocks, detaching);
|
17491
|
-
/*
|
17492
|
-
|
17493
|
-
/*
|
17523
|
+
/*div13_binding*/ ctx[139](null);
|
17524
|
+
div13_resize_listener();
|
17525
|
+
/*div15_binding*/ ctx[141](null);
|
17494
17526
|
mounted = false;
|
17495
17527
|
run_all(dispose);
|
17496
17528
|
}
|
@@ -17507,7 +17539,7 @@
|
|
17507
17539
|
};
|
17508
17540
|
|
17509
17541
|
dragcontextprovider = new DragContextProvider({ props: dragcontextprovider_props });
|
17510
|
-
/*dragcontextprovider_binding*/ ctx[
|
17542
|
+
/*dragcontextprovider_binding*/ ctx[142](dragcontextprovider);
|
17511
17543
|
|
17512
17544
|
return {
|
17513
17545
|
c() {
|
@@ -17520,7 +17552,7 @@
|
|
17520
17552
|
p(ctx, dirty) {
|
17521
17553
|
const dragcontextprovider_changes = {};
|
17522
17554
|
|
17523
|
-
if (dirty[0] & /*classes, ganttElement, disableTransition, mainContainer, $visibleHeight, rowContainer, enableCreateTask, zooming, $_width, ganttBodyModules, paddingTop, paddingBottom, visibleRows, visibleTasks, rowContainerHeight, columns, columnStrokeColor, columnStrokeWidth, useCanvasColumns, mainHeaderContainer,
|
17555
|
+
if (dirty[0] & /*classes, ganttElement, disableTransition, mainContainer, $visibleHeight, rowContainer, enableCreateTask, zooming, $_width, ganttBodyModules, paddingTop, paddingBottom, visibleRows, visibleTasks, rowContainerHeight, columns, columnStrokeColor, columnStrokeWidth, useCanvasColumns, mainHeaderContainer, rightScrollbarVisible, headers, columnUnit, isDateSelected, ganttTableModules, tableWidth, tableHeader, allCreators, selectedCreator, dataType*/ 1073741823 | dirty[1] & /*$visibleWidth, $allTimeRanges, $headerHeight*/ 7 | dirty[2] & /*$$restProps*/ 64 | dirty[5] & /*$$scope*/ 536870912) {
|
17524
17556
|
dragcontextprovider_changes.$$scope = { dirty, ctx };
|
17525
17557
|
}
|
17526
17558
|
|
@@ -17536,7 +17568,7 @@
|
|
17536
17568
|
current = false;
|
17537
17569
|
},
|
17538
17570
|
d(detaching) {
|
17539
|
-
/*dragcontextprovider_binding*/ ctx[
|
17571
|
+
/*dragcontextprovider_binding*/ ctx[142](null);
|
17540
17572
|
destroy_component(dragcontextprovider, detaching);
|
17541
17573
|
}
|
17542
17574
|
};
|
@@ -17564,7 +17596,7 @@
|
|
17564
17596
|
|
17565
17597
|
function instance($$self, $$props, $$invalidate) {
|
17566
17598
|
const omit_props_names = [
|
17567
|
-
"rows","tasks","timeRanges","data","from","to","rowPadding","rowHeight","minWidth","fitWidth","classes","headers","zoomLevels","taskContent","tableWidth","resizeHandleWidth","onTaskButtonClick","dateAdapter","magnetUnit","magnetOffset","columnUnit","columnOffset","ganttTableModules","ganttBodyModules","reflectOnParentRows","reflectOnChildRows","tableHeader","useCanvasColumns","columnStrokeColor","columnStrokeWidth","highlightedDurations","highlightColor","taskElementHook","layout","columnService","api","taskFactory","rowFactory","dndManager","timeRangeFactory","utils","refreshTimeRanges","refreshTasks","getRowContainer","selectTask","unselectTasks","scrollToRow","scrollToTask","updateTask","updateTasks","removeTask","removeTasks","updateRow","updateRows","getRow","getTask","getTasks","enableCreateTask","onCreateTask","onCreatedTask"
|
17599
|
+
"rows","tasks","timeRanges","data","from","to","selectedCreator","allCreators","isDateSelected","rowPadding","rowHeight","minWidth","fitWidth","classes","headers","zoomLevels","taskContent","tableWidth","resizeHandleWidth","onTaskButtonClick","dateAdapter","magnetUnit","magnetOffset","columnUnit","columnOffset","ganttTableModules","ganttBodyModules","reflectOnParentRows","reflectOnChildRows","tableHeader","useCanvasColumns","columnStrokeColor","columnStrokeWidth","highlightedDurations","highlightColor","taskElementHook","layout","columnService","api","taskFactory","rowFactory","dndManager","timeRangeFactory","utils","refreshTimeRanges","refreshTasks","getRowContainer","selectTask","unselectTasks","scrollToRow","scrollToTask","updateTask","updateTasks","removeTask","removeTasks","updateRow","updateRows","getRow","getTask","getTasks","enableCreateTask","onCreateTask","onCreatedTask"
|
17568
17600
|
];
|
17569
17601
|
|
17570
17602
|
let $$restProps = compute_rest_props($$props, omit_props_names);
|
@@ -17601,77 +17633,44 @@
|
|
17601
17633
|
let { from = Date.now() } = $$props;
|
17602
17634
|
let { to = Date.now() } = $$props;
|
17603
17635
|
let dataType = 'equipment';
|
17604
|
-
let
|
17605
|
-
let
|
17636
|
+
let selectedFactory = '1';
|
17637
|
+
let { selectedCreator = 'all' } = $$props;
|
17638
|
+
let { allCreators = [] } = $$props;
|
17639
|
+
let { isDateSelected = false } = $$props;
|
17606
17640
|
assertSet({ from, to });
|
17607
17641
|
const _from = writable(toDateNum(from));
|
17608
|
-
component_subscribe($$self, _from, value => $$invalidate(
|
17642
|
+
component_subscribe($$self, _from, value => $$invalidate(132, $_from = value));
|
17609
17643
|
const _to = writable(toDateNum(to));
|
17610
|
-
component_subscribe($$self, _to, value => $$invalidate(
|
17644
|
+
component_subscribe($$self, _to, value => $$invalidate(134, $_to = value));
|
17611
17645
|
|
17612
17646
|
function generate() {
|
17613
|
-
if (!data) {
|
17614
|
-
return;
|
17615
|
-
}
|
17616
|
-
|
17617
17647
|
const _rows1 = [];
|
17618
17648
|
const _tasks1 = [];
|
17619
|
-
const _rows2 = [];
|
17620
|
-
const _tasks2 = [];
|
17621
17649
|
let fromDate = moment();
|
17622
17650
|
let toDate = moment();
|
17623
17651
|
|
17624
|
-
data.
|
17625
|
-
|
17626
|
-
return;
|
17627
|
-
}
|
17652
|
+
data.scheduleData.forEach(schedule => {
|
17653
|
+
const doc = data.productionData.find(doc => doc.DocEntry === schedule.DocEntry);
|
17628
17654
|
|
17629
|
-
if (
|
17630
|
-
$$invalidate(
|
17631
|
-
20,
|
17632
|
-
prodMap01[schedule.PRODUCT_CODE] = {
|
17633
|
-
...data.V_PRODUCT_MST.find(prod => prod.PRODUCT_CODE === schedule.PRODUCT_CODE)
|
17634
|
-
},
|
17635
|
-
prodMap01
|
17636
|
-
);
|
17637
|
-
|
17638
|
-
$$invalidate(20, prodMap01[schedule.PRODUCT_CODE].hidden = false, prodMap01);
|
17639
|
-
}
|
17640
|
-
});
|
17641
|
-
|
17642
|
-
data.Final_Sample_Production_Data.forEach(schedule => {
|
17643
|
-
if (schedule.LINE_CODE.toString().at(0) !== '2') {
|
17655
|
+
if (selectedCreator !== 'all' && selectedCreator !== doc.Creator) {
|
17644
17656
|
return;
|
17645
17657
|
}
|
17646
17658
|
|
17647
|
-
if (
|
17648
|
-
$$invalidate(
|
17649
|
-
21,
|
17650
|
-
prodMap02[schedule.PRODUCT_CODE] = {
|
17651
|
-
...data.V_PRODUCT_MST.find(prod => prod.PRODUCT_CODE === schedule.PRODUCT_CODE)
|
17652
|
-
},
|
17653
|
-
prodMap02
|
17654
|
-
);
|
17655
|
-
|
17656
|
-
$$invalidate(21, prodMap02[schedule.PRODUCT_CODE].hidden = false, prodMap02);
|
17657
|
-
}
|
17658
|
-
});
|
17659
|
-
|
17660
|
-
data.Final_Sample_Production_Data.forEach(schedule => {
|
17661
|
-
if (schedule.LINE_CODE.toString().at(0) !== '1') {
|
17659
|
+
if (schedule.LINE_CODE.toString().at(0) !== selectedFactory) {
|
17662
17660
|
return;
|
17663
17661
|
}
|
17664
17662
|
|
17665
17663
|
const row = _rows1.find(row => row.id === schedule.LINE_CODE);
|
17666
|
-
const dueDate =
|
17664
|
+
const dueDate = moment(doc.U_DUEDATE);
|
17667
17665
|
const _to = stringToDate(schedule.RUN_END_DT);
|
17668
17666
|
const isError = dueDate.valueOf() < _to.valueOf();
|
17669
17667
|
|
17670
17668
|
if (dataType === 'equipment') {
|
17671
17669
|
const child = {
|
17672
17670
|
id: `row_${schedule.LINE_CODE}_${schedule.EQUIPMENT_CODE}`,
|
17673
|
-
label: schedule.EQUIPMENT_CODE,
|
17674
|
-
isError
|
17671
|
+
label: data.equipData.find(equip => schedule.EQUIPMENT_CODE === equip.EQUIPMENT_CODE).EQUIPMENT_NAME,
|
17672
|
+
isError,
|
17673
|
+
docEntry: doc.DocEntry
|
17675
17674
|
};
|
17676
17675
|
|
17677
17676
|
if (row) {
|
@@ -17687,139 +17686,49 @@
|
|
17687
17686
|
} else {
|
17688
17687
|
_rows1.push({
|
17689
17688
|
id: schedule.LINE_CODE,
|
17690
|
-
label: data.
|
17689
|
+
label: data.lineData.find(line => line.LINE_CODE === schedule.LINE_CODE).LINE_NAME,
|
17691
17690
|
expanded: true,
|
17692
17691
|
children: [child]
|
17693
17692
|
});
|
17694
17693
|
}
|
17695
17694
|
} else {
|
17696
|
-
const
|
17697
|
-
const _child = _rows1.find(_child => _child.id === `row_1_${schedule.DocEntry}`);
|
17695
|
+
const _child = _rows1.find(_child => _child.id === doc.Creator);
|
17698
17696
|
|
17699
17697
|
if (!_child) {
|
17700
17698
|
const child = {
|
17701
|
-
id: `
|
17702
|
-
label: `${doc.U_PROJNAME} (${doc.
|
17703
|
-
isError
|
17699
|
+
id: `row_${schedule.LINE_CODE}_${schedule.DocEntry}_${doc.Creator}`,
|
17700
|
+
label: `${doc.U_PROJNAME} (${doc.U_ZONE1}) (${doc.DocEntry})`,
|
17701
|
+
isError,
|
17702
|
+
docEntry: doc.DocEntry
|
17704
17703
|
};
|
17705
17704
|
|
17706
|
-
_rows1.push(
|
17707
|
-
|
17708
|
-
|
17709
|
-
_child.isError = isError;
|
17710
|
-
}
|
17711
|
-
}
|
17712
|
-
}
|
17713
|
-
});
|
17714
|
-
|
17715
|
-
data.Final_Sample_Production_Data.forEach(schedule => {
|
17716
|
-
if (schedule.LINE_CODE.toString().at(0) !== '1') {
|
17717
|
-
return;
|
17718
|
-
}
|
17719
|
-
|
17720
|
-
const _from = stringToDate(schedule.RUN_START_DT);
|
17721
|
-
const _to = stringToDate(schedule.RUN_END_DT);
|
17722
|
-
|
17723
|
-
if (_from.toDate().getTime() <= fromDate.toDate().getTime()) {
|
17724
|
-
fromDate = _from;
|
17725
|
-
}
|
17726
|
-
|
17727
|
-
if (_to.toDate().getTime() >= toDate.toDate().getTime()) {
|
17728
|
-
toDate = _to;
|
17729
|
-
}
|
17730
|
-
|
17731
|
-
if (prodMap01[schedule.PRODUCT_CODE].hidden) {
|
17732
|
-
return;
|
17733
|
-
}
|
17734
|
-
|
17735
|
-
const dueDate = stringToDate(data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry).U_DUEDATE);
|
17736
|
-
const isError = dueDate.valueOf() < _to.valueOf();
|
17737
|
-
const doc = data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry);
|
17738
|
-
|
17739
|
-
if (dataType === 'equipment') {
|
17740
|
-
_tasks1.push({
|
17741
|
-
id: `task_${schedule.LINE_CODE}_${schedule.SCHEDULE_SEQ}_${schedule.EQUIPMENT_CODE}`,
|
17742
|
-
resourceId: `row_${schedule.LINE_CODE}_${schedule.EQUIPMENT_CODE}`,
|
17743
|
-
label: `${doc.U_PROJNAME} (${doc.U_ZONE}) (${doc.DocEntry})`,
|
17744
|
-
from: _from.valueOf(),
|
17745
|
-
to: _to.valueOf(),
|
17746
|
-
enableDragging: false,
|
17747
|
-
enableResize: false,
|
17748
|
-
isError,
|
17749
|
-
data: { ...schedule, ...doc }
|
17750
|
-
});
|
17751
|
-
} else {
|
17752
|
-
_tasks1.push({
|
17753
|
-
id: `task_${schedule.LINE_CODE}_${schedule.SCHEDULE_SEQ}_${schedule.DocEntry}`,
|
17754
|
-
resourceId: `row_1_${schedule.DocEntry}`,
|
17755
|
-
label: schedule.EQUIPMENT_CODE,
|
17756
|
-
from: _from.valueOf(),
|
17757
|
-
to: _to.valueOf(),
|
17758
|
-
enableDragging: false,
|
17759
|
-
enableResize: false,
|
17760
|
-
isError,
|
17761
|
-
data: { ...schedule, ...doc }
|
17762
|
-
});
|
17763
|
-
}
|
17764
|
-
});
|
17765
|
-
|
17766
|
-
data.Final_Sample_Production_Data.forEach(schedule => {
|
17767
|
-
if (schedule.LINE_CODE.toString().at(0) !== '2') {
|
17768
|
-
return;
|
17769
|
-
}
|
17770
|
-
|
17771
|
-
const row = _rows2.find(row => row.id === schedule.LINE_CODE);
|
17772
|
-
const dueDate = stringToDate(data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry).U_DUEDATE);
|
17773
|
-
const _to = stringToDate(schedule.RUN_END_DT);
|
17774
|
-
const isError = dueDate.valueOf() < _to.valueOf();
|
17775
|
-
|
17776
|
-
if (dataType === 'equipment') {
|
17777
|
-
const child = {
|
17778
|
-
id: `row_${schedule.LINE_CODE}_${schedule.EQUIPMENT_CODE}`,
|
17779
|
-
label: schedule.EQUIPMENT_CODE,
|
17780
|
-
isError
|
17781
|
-
};
|
17782
|
-
|
17783
|
-
if (row) {
|
17784
|
-
const _child = row.children.find(_child => _child.id === child.id);
|
17785
|
-
|
17786
|
-
if (!_child) {
|
17787
|
-
row.children.push(child);
|
17788
|
-
} else {
|
17789
|
-
if (isError) {
|
17790
|
-
_child.isError = isError;
|
17791
|
-
}
|
17792
|
-
}
|
17793
|
-
} else {
|
17794
|
-
_rows2.push({
|
17795
|
-
id: schedule.LINE_CODE,
|
17796
|
-
label: data.V_LINE_MST.find(line => line.LINE_CODE === schedule.LINE_CODE).LINE_NAME,
|
17705
|
+
_rows1.push({
|
17706
|
+
id: doc.Creator,
|
17707
|
+
label: doc.Creator,
|
17797
17708
|
expanded: true,
|
17798
17709
|
children: [child]
|
17799
17710
|
});
|
17800
|
-
}
|
17801
|
-
} else {
|
17802
|
-
const doc = data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry);
|
17803
|
-
const _child = _rows2.find(_child => _child.id === `row_2_${schedule.DocEntry}`);
|
17804
|
-
|
17805
|
-
if (!_child) {
|
17711
|
+
} else {
|
17806
17712
|
const child = {
|
17807
|
-
id: `
|
17808
|
-
label: `${doc.U_PROJNAME} (${doc.
|
17809
|
-
isError
|
17713
|
+
id: `row_${schedule.LINE_CODE}_${schedule.DocEntry}_${doc.Creator}`,
|
17714
|
+
label: `${doc.U_PROJNAME} (${doc.U_ZONE1}) (${doc.DocEntry})`,
|
17715
|
+
isError,
|
17716
|
+
docEntry: doc.DocEntry
|
17810
17717
|
};
|
17811
17718
|
|
17812
|
-
|
17813
|
-
} else {
|
17814
|
-
if (isError) {
|
17815
|
-
_child.isError = isError;
|
17816
|
-
}
|
17719
|
+
_child.children.push(child);
|
17817
17720
|
}
|
17818
17721
|
}
|
17819
17722
|
});
|
17820
17723
|
|
17821
|
-
data.
|
17822
|
-
|
17724
|
+
data.scheduleData.forEach(schedule => {
|
17725
|
+
const doc = data.productionData.find(doc => doc.DocEntry === schedule.DocEntry);
|
17726
|
+
|
17727
|
+
if (selectedCreator !== 'all' && selectedCreator !== doc.Creator) {
|
17728
|
+
return;
|
17729
|
+
}
|
17730
|
+
|
17731
|
+
if (schedule.LINE_CODE.toString().at(0) !== selectedFactory) {
|
17823
17732
|
return;
|
17824
17733
|
}
|
17825
17734
|
|
@@ -17834,21 +17743,14 @@
|
|
17834
17743
|
toDate = _to;
|
17835
17744
|
}
|
17836
17745
|
|
17837
|
-
|
17838
|
-
return;
|
17839
|
-
}
|
17840
|
-
|
17841
|
-
const dueDate = stringToDate(data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry).U_DUEDATE);
|
17746
|
+
const dueDate = moment(doc.U_DUEDATE);
|
17842
17747
|
const isError = dueDate.valueOf() < _to.valueOf();
|
17843
|
-
const doc = data.V_ZPP101H.find(doc => doc.DocEntry === schedule.DocEntry);
|
17844
17748
|
|
17845
17749
|
if (dataType === 'equipment') {
|
17846
|
-
|
17847
|
-
|
17848
|
-
_tasks2.push({
|
17750
|
+
_tasks1.push({
|
17849
17751
|
id: `task_${schedule.LINE_CODE}_${schedule.SCHEDULE_SEQ}_${schedule.EQUIPMENT_CODE}`,
|
17850
17752
|
resourceId: `row_${schedule.LINE_CODE}_${schedule.EQUIPMENT_CODE}`,
|
17851
|
-
label: `${doc.U_PROJNAME} (${doc.
|
17753
|
+
label: `${doc.U_PROJNAME} (${doc.U_ZONE1}) (${doc.DocEntry})`,
|
17852
17754
|
from: _from.valueOf(),
|
17853
17755
|
to: _to.valueOf(),
|
17854
17756
|
enableDragging: false,
|
@@ -17857,10 +17759,10 @@
|
|
17857
17759
|
data: { ...schedule, ...doc }
|
17858
17760
|
});
|
17859
17761
|
} else {
|
17860
|
-
|
17762
|
+
_tasks1.push({
|
17861
17763
|
id: `task_${schedule.LINE_CODE}_${schedule.SCHEDULE_SEQ}_${schedule.DocEntry}`,
|
17862
|
-
resourceId: `
|
17863
|
-
label: schedule.EQUIPMENT_CODE,
|
17764
|
+
resourceId: `row_${schedule.LINE_CODE}_${schedule.DocEntry}_${doc.Creator}`,
|
17765
|
+
label: data.equipData.find(equip => schedule.EQUIPMENT_CODE === equip.EQUIPMENT_CODE).EQUIPMENT_NAME,
|
17864
17766
|
from: _from.valueOf(),
|
17865
17767
|
to: _to.valueOf(),
|
17866
17768
|
enableDragging: false,
|
@@ -17874,44 +17776,26 @@
|
|
17874
17776
|
fromDate.hours(0).minutes(0).milliseconds(0);
|
17875
17777
|
toDate.hours(23).minutes(59).milliseconds(59);
|
17876
17778
|
|
17877
|
-
|
17878
|
-
|
17879
|
-
|
17880
|
-
|
17881
|
-
|
17882
|
-
|
17883
|
-
|
17884
|
-
|
17885
|
-
|
17886
|
-
if (
|
17887
|
-
|
17888
|
-
|
17889
|
-
}
|
17890
|
-
|
17891
|
-
let rows1 = [];
|
17892
|
-
let rows2 = [];
|
17893
|
-
|
17894
|
-
if (_rows1.length > 0) {
|
17895
|
-
rows1.push({
|
17896
|
-
id: 'factory_1',
|
17897
|
-
label: '1공장',
|
17898
|
-
expanded: true,
|
17899
|
-
children: _rows1
|
17900
|
-
});
|
17901
|
-
}
|
17779
|
+
_rows1.forEach(r => {
|
17780
|
+
r.children.sort((a, b) => {
|
17781
|
+
const doc1 = data.productionData.find(doc => doc.DocEntry === a.docEntry);
|
17782
|
+
const dueDate1 = moment(doc1.U_DUEDATE);
|
17783
|
+
const doc2 = data.productionData.find(doc => doc.DocEntry === b.docEntry);
|
17784
|
+
const dueDate2 = moment(doc2.U_DUEDATE);
|
17785
|
+
|
17786
|
+
if (dueDate1.valueOf() > dueDate2.valueOf()) {
|
17787
|
+
return 1;
|
17788
|
+
} else if (dueDate1.valueOf() > dueDate2.valueOf()) {
|
17789
|
+
return 0;
|
17790
|
+
}
|
17902
17791
|
|
17903
|
-
|
17904
|
-
rows2.push({
|
17905
|
-
id: 'factory_2',
|
17906
|
-
label: '2공장',
|
17907
|
-
expanded: true,
|
17908
|
-
children: _rows2
|
17792
|
+
return -1;
|
17909
17793
|
});
|
17910
|
-
}
|
17794
|
+
});
|
17911
17795
|
|
17912
17796
|
return {
|
17913
|
-
rows: [...
|
17914
|
-
tasks: [..._tasks1
|
17797
|
+
rows: [..._rows1],
|
17798
|
+
tasks: [..._tasks1],
|
17915
17799
|
fromDate,
|
17916
17800
|
toDate
|
17917
17801
|
};
|
@@ -17930,20 +17814,24 @@
|
|
17930
17814
|
|
17931
17815
|
assertSet({ rows });
|
17932
17816
|
|
17817
|
+
let setSelectedCreator = value => {
|
17818
|
+
$$invalidate(0, selectedCreator = value);
|
17819
|
+
};
|
17820
|
+
|
17933
17821
|
let rand = () => {
|
17934
17822
|
if (rowStore && taskStore) {
|
17935
|
-
$$invalidate(
|
17936
|
-
$$invalidate(
|
17823
|
+
$$invalidate(16, visibleRows = []);
|
17824
|
+
$$invalidate(29, visibleTasks = []);
|
17937
17825
|
rowStore.deleteAll(rows.map(item => item.id));
|
17938
17826
|
taskStore.deleteAll(tasks.map(item => item.id));
|
17939
17827
|
const ganttData = generate();
|
17940
|
-
$$invalidate(
|
17941
|
-
$$invalidate(
|
17942
|
-
$$invalidate(
|
17943
|
-
$$invalidate(
|
17828
|
+
$$invalidate(69, rows = ganttData.rows);
|
17829
|
+
$$invalidate(70, tasks = ganttData.tasks);
|
17830
|
+
$$invalidate(71, from = ganttData.fromDate.valueOf());
|
17831
|
+
$$invalidate(72, to = ganttData.toDate.valueOf());
|
17944
17832
|
set_store_value(_from, $_from = from, $_from);
|
17945
17833
|
set_store_value(_to, $_to = to, $_to);
|
17946
|
-
$$invalidate(
|
17834
|
+
$$invalidate(73, columnOffset = originalColumnOffset);
|
17947
17835
|
initRows(ganttData.rows);
|
17948
17836
|
initTasks(ganttData.tasks);
|
17949
17837
|
}
|
@@ -17952,15 +17840,15 @@
|
|
17952
17840
|
let { rowPadding = 6 } = $$props;
|
17953
17841
|
let { rowHeight = 52 } = $$props;
|
17954
17842
|
const _rowHeight = writable(rowHeight);
|
17955
|
-
component_subscribe($$self, _rowHeight, value => $$invalidate(
|
17843
|
+
component_subscribe($$self, _rowHeight, value => $$invalidate(151, $_rowHeight = value));
|
17956
17844
|
const _rowPadding = writable(rowPadding);
|
17957
|
-
component_subscribe($$self, _rowPadding, value => $$invalidate(
|
17845
|
+
component_subscribe($$self, _rowPadding, value => $$invalidate(135, $_rowPadding = value));
|
17958
17846
|
let { minWidth = 800 } = $$props;
|
17959
17847
|
let { fitWidth = false } = $$props;
|
17960
17848
|
const _minWidth = writable(minWidth);
|
17961
|
-
component_subscribe($$self, _minWidth, value => $$invalidate(
|
17849
|
+
component_subscribe($$self, _minWidth, value => $$invalidate(147, $_minWidth = value));
|
17962
17850
|
const _fitWidth = writable(fitWidth);
|
17963
|
-
component_subscribe($$self, _fitWidth, value => $$invalidate(
|
17851
|
+
component_subscribe($$self, _fitWidth, value => $$invalidate(146, $_fitWidth = value));
|
17964
17852
|
let { classes = [] } = $$props;
|
17965
17853
|
let { headers = [{ unit: 'day', format: 'MMMM Do' }, { unit: 'hour', format: 'H:mm' }] } = $$props;
|
17966
17854
|
|
@@ -17992,7 +17880,7 @@
|
|
17992
17880
|
|
17993
17881
|
function setMagnetDuration(unit, offset) {
|
17994
17882
|
if (unit && offset) {
|
17995
|
-
$$invalidate(
|
17883
|
+
$$invalidate(120, magnetDuration = getDuration(unit, offset));
|
17996
17884
|
}
|
17997
17885
|
}
|
17998
17886
|
|
@@ -18014,29 +17902,29 @@
|
|
18014
17902
|
let { taskElementHook = null } = $$props;
|
18015
17903
|
let { layout: layout$1 = 'overlap' } = $$props;
|
18016
17904
|
const _layout = writable(layout$1);
|
18017
|
-
component_subscribe($$self, _layout, value => $$invalidate(
|
17905
|
+
component_subscribe($$self, _layout, value => $$invalidate(150, $_layout = value));
|
18018
17906
|
const visibleWidth = writable(null);
|
18019
|
-
component_subscribe($$self, visibleWidth, value => $$invalidate(
|
17907
|
+
component_subscribe($$self, visibleWidth, value => $$invalidate(33, $visibleWidth = value));
|
18020
17908
|
const visibleHeight = writable(null);
|
18021
|
-
component_subscribe($$self, visibleHeight, value => $$invalidate(
|
17909
|
+
component_subscribe($$self, visibleHeight, value => $$invalidate(17, $visibleHeight = value));
|
18022
17910
|
const headerHeight = writable(null);
|
18023
|
-
component_subscribe($$self, headerHeight, value => $$invalidate(
|
17911
|
+
component_subscribe($$self, headerHeight, value => $$invalidate(31, $headerHeight = value));
|
18024
17912
|
|
18025
17913
|
const _width = derived([visibleWidth, _minWidth, _fitWidth], ([visible, min, stretch]) => {
|
18026
17914
|
return stretch && visible > min ? visible : min;
|
18027
17915
|
});
|
18028
17916
|
|
18029
|
-
component_subscribe($$self, _width, value => $$invalidate(
|
17917
|
+
component_subscribe($$self, _width, value => $$invalidate(18, $_width = value));
|
18030
17918
|
const dataStore = createDataStore();
|
18031
17919
|
setContext('dataStore', dataStore);
|
18032
17920
|
const { rowStore, taskStore, timeRangeStore, allTasks, allRows, allTimeRanges, rowTaskCache, draggingTaskCache } = dataStore;
|
18033
|
-
component_subscribe($$self, rowStore, value => $$invalidate(
|
18034
|
-
component_subscribe($$self, taskStore, value => $$invalidate(
|
18035
|
-
component_subscribe($$self, allTasks, value => $$invalidate(
|
18036
|
-
component_subscribe($$self, allRows, value => $$invalidate(
|
18037
|
-
component_subscribe($$self, allTimeRanges, value => $$invalidate(
|
18038
|
-
component_subscribe($$self, rowTaskCache, value => $$invalidate(
|
18039
|
-
component_subscribe($$self, draggingTaskCache, value => $$invalidate(
|
17921
|
+
component_subscribe($$self, rowStore, value => $$invalidate(131, $rowStore = value));
|
17922
|
+
component_subscribe($$self, taskStore, value => $$invalidate(129, $taskStore = value));
|
17923
|
+
component_subscribe($$self, allTasks, value => $$invalidate(133, $allTasks = value));
|
17924
|
+
component_subscribe($$self, allRows, value => $$invalidate(128, $allRows = value));
|
17925
|
+
component_subscribe($$self, allTimeRanges, value => $$invalidate(32, $allTimeRanges = value));
|
17926
|
+
component_subscribe($$self, rowTaskCache, value => $$invalidate(130, $rowTaskCache = value));
|
17927
|
+
component_subscribe($$self, draggingTaskCache, value => $$invalidate(127, $draggingTaskCache = value));
|
18040
17928
|
|
18041
17929
|
const columnService = {
|
18042
17930
|
getColumnByDate(date) {
|
@@ -18070,10 +17958,10 @@
|
|
18070
17958
|
let disableTransition = false;
|
18071
17959
|
|
18072
17960
|
async function tickWithoutCSSTransition() {
|
18073
|
-
$$invalidate(
|
17961
|
+
$$invalidate(23, disableTransition = true);
|
18074
17962
|
await tick();
|
18075
17963
|
ganttElement.offsetHeight;
|
18076
|
-
$$invalidate(
|
17964
|
+
$$invalidate(23, disableTransition = false);
|
18077
17965
|
}
|
18078
17966
|
|
18079
17967
|
let columns;
|
@@ -18127,9 +18015,9 @@
|
|
18127
18015
|
});
|
18128
18016
|
|
18129
18017
|
const hoveredRow = writable(null);
|
18130
|
-
component_subscribe($$self, hoveredRow, value => $$invalidate(
|
18018
|
+
component_subscribe($$self, hoveredRow, value => $$invalidate(148, $hoveredRow = value));
|
18131
18019
|
const selectedRow = writable(null);
|
18132
|
-
component_subscribe($$self, selectedRow, value => $$invalidate(
|
18020
|
+
component_subscribe($$self, selectedRow, value => $$invalidate(149, $selectedRow = value));
|
18133
18021
|
const ganttContext = { scrollables, hoveredRow, selectedRow };
|
18134
18022
|
setContext('gantt', ganttContext);
|
18135
18023
|
|
@@ -18152,7 +18040,7 @@
|
|
18152
18040
|
api.registerEvent('timeranges', 'clicked');
|
18153
18041
|
api.registerEvent('timeranges', 'resized');
|
18154
18042
|
api.registerEvent('timeranges', 'changed');
|
18155
|
-
$$invalidate(
|
18043
|
+
$$invalidate(118, mounted = true);
|
18156
18044
|
});
|
18157
18045
|
|
18158
18046
|
const { onDelegatedEvent, offDelegatedEvent, onEvent } = createDelegatedEventDispatcher();
|
@@ -18217,7 +18105,7 @@
|
|
18217
18105
|
}
|
18218
18106
|
});
|
18219
18107
|
|
18220
|
-
$$invalidate(
|
18108
|
+
$$invalidate(121, __scrollTop = scrollTop);
|
18221
18109
|
};
|
18222
18110
|
|
18223
18111
|
node.addEventListener('scroll', onscroll);
|
@@ -18234,7 +18122,7 @@
|
|
18234
18122
|
}
|
18235
18123
|
|
18236
18124
|
function onResize(event) {
|
18237
|
-
$$invalidate(
|
18125
|
+
$$invalidate(5, tableWidth = event.detail.left);
|
18238
18126
|
}
|
18239
18127
|
|
18240
18128
|
let zoomLevel = 0;
|
@@ -18265,29 +18153,30 @@
|
|
18265
18153
|
const before = node.scrollLeft + mousepos.x;
|
18266
18154
|
const after = before * scale;
|
18267
18155
|
const scrollLeft = after - mousepos.x + node.clientWidth / 2;
|
18268
|
-
$$invalidate(
|
18269
|
-
$$invalidate(
|
18156
|
+
$$invalidate(1, columnUnit = options.columnUnit);
|
18157
|
+
$$invalidate(73, columnOffset = options.columnOffset);
|
18270
18158
|
set_store_value(_minWidth, $_minWidth = options.minWidth, $_minWidth);
|
18271
|
-
if (options.headers) $$invalidate(
|
18159
|
+
if (options.headers) $$invalidate(4, headers = options.headers);
|
18272
18160
|
if (options.fitWidth) set_store_value(_fitWidth, $_fitWidth = options.fitWidth, $_fitWidth);
|
18273
18161
|
api['gantt'].raise.viewChanged();
|
18274
|
-
$$invalidate(
|
18162
|
+
$$invalidate(25, zooming = true);
|
18275
18163
|
await tick();
|
18276
18164
|
node.scrollLeft = scrollLeft;
|
18277
|
-
$$invalidate(
|
18165
|
+
$$invalidate(25, zooming = false);
|
18278
18166
|
}
|
18279
18167
|
}
|
18280
18168
|
}
|
18281
18169
|
|
18282
18170
|
function onDateSelected(event) {
|
18171
|
+
$$invalidate(3, isDateSelected = event.type ? true : false);
|
18283
18172
|
set_store_value(_from, $_from = event.detail.from, $_from);
|
18284
18173
|
set_store_value(_to, $_to = event.detail.to, $_to);
|
18285
18174
|
const unit = event.detail.unit;
|
18286
18175
|
|
18287
18176
|
if (unit === 'day') {
|
18288
|
-
$$invalidate(
|
18177
|
+
$$invalidate(73, columnOffset = 1);
|
18289
18178
|
} else {
|
18290
|
-
$$invalidate(
|
18179
|
+
$$invalidate(73, columnOffset = originalColumnOffset);
|
18291
18180
|
}
|
18292
18181
|
|
18293
18182
|
api['gantt'].raise.dateSelected({ from: $_from, to: $_to });
|
@@ -18299,7 +18188,7 @@
|
|
18299
18188
|
}
|
18300
18189
|
|
18301
18190
|
async function initTasks(taskData) {
|
18302
|
-
$$invalidate(
|
18191
|
+
$$invalidate(74, taskFactory.rowEntities = $rowStore.entities, taskFactory);
|
18303
18192
|
const tasks = [];
|
18304
18193
|
const draggingTasks = {};
|
18305
18194
|
|
@@ -18537,175 +18426,201 @@
|
|
18537
18426
|
|
18538
18427
|
function onDataTypeChange(event) {
|
18539
18428
|
const value = event.currentTarget.value;
|
18540
|
-
$$invalidate(
|
18429
|
+
$$invalidate(14, dataType = value);
|
18430
|
+
$$invalidate(3, isDateSelected = false);
|
18431
|
+
}
|
18432
|
+
|
18433
|
+
function onFactoryChange(evt) {
|
18434
|
+
$$invalidate(119, selectedFactory = evt.target.value);
|
18541
18435
|
}
|
18542
18436
|
|
18543
|
-
function
|
18437
|
+
function div8_binding($$value) {
|
18544
18438
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
18545
18439
|
mainHeaderContainer = $$value;
|
18546
|
-
$$invalidate(
|
18440
|
+
$$invalidate(20, mainHeaderContainer);
|
18547
18441
|
});
|
18548
18442
|
}
|
18549
18443
|
|
18550
|
-
function
|
18444
|
+
function div8_elementresize_handler() {
|
18551
18445
|
$headerHeight = this.clientHeight;
|
18552
18446
|
headerHeight.set($headerHeight);
|
18553
18447
|
}
|
18554
18448
|
|
18555
|
-
function
|
18449
|
+
function div10_binding($$value) {
|
18556
18450
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
18557
18451
|
rowContainer = $$value;
|
18558
|
-
$$invalidate(
|
18452
|
+
$$invalidate(22, rowContainer);
|
18559
18453
|
});
|
18560
18454
|
}
|
18561
18455
|
|
18562
|
-
function
|
18456
|
+
function div13_binding($$value) {
|
18563
18457
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
18564
18458
|
mainContainer = $$value;
|
18565
|
-
$$invalidate(
|
18459
|
+
$$invalidate(21, mainContainer);
|
18566
18460
|
});
|
18567
18461
|
}
|
18568
18462
|
|
18569
|
-
function
|
18463
|
+
function div13_elementresize_handler() {
|
18570
18464
|
$visibleHeight = this.clientHeight;
|
18571
18465
|
visibleHeight.set($visibleHeight);
|
18572
18466
|
$visibleWidth = this.clientWidth;
|
18573
18467
|
visibleWidth.set($visibleWidth);
|
18574
18468
|
}
|
18575
18469
|
|
18576
|
-
function
|
18470
|
+
function div15_binding($$value) {
|
18577
18471
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
18578
18472
|
ganttElement = $$value;
|
18579
|
-
$$invalidate(
|
18473
|
+
$$invalidate(19, ganttElement);
|
18580
18474
|
});
|
18581
18475
|
}
|
18582
18476
|
|
18583
18477
|
function dragcontextprovider_binding($$value) {
|
18584
18478
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
18585
18479
|
draggingContext = $$value;
|
18586
|
-
$$invalidate(
|
18480
|
+
$$invalidate(30, draggingContext);
|
18587
18481
|
});
|
18588
18482
|
}
|
18589
18483
|
|
18590
18484
|
$$self.$$set = $$new_props => {
|
18591
18485
|
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props));
|
18592
|
-
$$invalidate(
|
18593
|
-
if ('rows' in $$new_props) $$invalidate(
|
18594
|
-
if ('tasks' in $$new_props) $$invalidate(
|
18595
|
-
if ('timeRanges' in $$new_props) $$invalidate(
|
18596
|
-
if ('data' in $$new_props) $$invalidate(
|
18597
|
-
if ('from' in $$new_props) $$invalidate(
|
18598
|
-
if ('to' in $$new_props) $$invalidate(
|
18599
|
-
if ('
|
18600
|
-
if ('
|
18601
|
-
if ('
|
18602
|
-
if ('
|
18603
|
-
if ('
|
18604
|
-
if ('
|
18605
|
-
if ('
|
18606
|
-
if ('
|
18607
|
-
if ('
|
18608
|
-
if ('
|
18609
|
-
if ('
|
18610
|
-
if ('
|
18611
|
-
if ('
|
18612
|
-
if ('
|
18613
|
-
if ('
|
18614
|
-
if ('
|
18615
|
-
if ('
|
18616
|
-
if ('
|
18617
|
-
if ('
|
18618
|
-
if ('
|
18619
|
-
if ('
|
18620
|
-
if ('
|
18621
|
-
if ('
|
18622
|
-
if ('
|
18623
|
-
if ('
|
18624
|
-
if ('
|
18625
|
-
if ('
|
18626
|
-
if ('
|
18627
|
-
if ('
|
18628
|
-
if ('
|
18629
|
-
if ('
|
18486
|
+
$$invalidate(68, $$restProps = compute_rest_props($$props, omit_props_names));
|
18487
|
+
if ('rows' in $$new_props) $$invalidate(69, rows = $$new_props.rows);
|
18488
|
+
if ('tasks' in $$new_props) $$invalidate(70, tasks = $$new_props.tasks);
|
18489
|
+
if ('timeRanges' in $$new_props) $$invalidate(77, timeRanges = $$new_props.timeRanges);
|
18490
|
+
if ('data' in $$new_props) $$invalidate(78, data = $$new_props.data);
|
18491
|
+
if ('from' in $$new_props) $$invalidate(71, from = $$new_props.from);
|
18492
|
+
if ('to' in $$new_props) $$invalidate(72, to = $$new_props.to);
|
18493
|
+
if ('selectedCreator' in $$new_props) $$invalidate(0, selectedCreator = $$new_props.selectedCreator);
|
18494
|
+
if ('allCreators' in $$new_props) $$invalidate(2, allCreators = $$new_props.allCreators);
|
18495
|
+
if ('isDateSelected' in $$new_props) $$invalidate(3, isDateSelected = $$new_props.isDateSelected);
|
18496
|
+
if ('rowPadding' in $$new_props) $$invalidate(79, rowPadding = $$new_props.rowPadding);
|
18497
|
+
if ('rowHeight' in $$new_props) $$invalidate(80, rowHeight = $$new_props.rowHeight);
|
18498
|
+
if ('minWidth' in $$new_props) $$invalidate(81, minWidth = $$new_props.minWidth);
|
18499
|
+
if ('fitWidth' in $$new_props) $$invalidate(82, fitWidth = $$new_props.fitWidth);
|
18500
|
+
if ('classes' in $$new_props) $$invalidate(6, classes = $$new_props.classes);
|
18501
|
+
if ('headers' in $$new_props) $$invalidate(4, headers = $$new_props.headers);
|
18502
|
+
if ('zoomLevels' in $$new_props) $$invalidate(83, zoomLevels = $$new_props.zoomLevels);
|
18503
|
+
if ('taskContent' in $$new_props) $$invalidate(84, taskContent = $$new_props.taskContent);
|
18504
|
+
if ('tableWidth' in $$new_props) $$invalidate(5, tableWidth = $$new_props.tableWidth);
|
18505
|
+
if ('resizeHandleWidth' in $$new_props) $$invalidate(85, resizeHandleWidth = $$new_props.resizeHandleWidth);
|
18506
|
+
if ('onTaskButtonClick' in $$new_props) $$invalidate(86, onTaskButtonClick = $$new_props.onTaskButtonClick);
|
18507
|
+
if ('dateAdapter' in $$new_props) $$invalidate(87, dateAdapter = $$new_props.dateAdapter);
|
18508
|
+
if ('magnetUnit' in $$new_props) $$invalidate(88, magnetUnit = $$new_props.magnetUnit);
|
18509
|
+
if ('magnetOffset' in $$new_props) $$invalidate(89, magnetOffset = $$new_props.magnetOffset);
|
18510
|
+
if ('columnUnit' in $$new_props) $$invalidate(1, columnUnit = $$new_props.columnUnit);
|
18511
|
+
if ('columnOffset' in $$new_props) $$invalidate(73, columnOffset = $$new_props.columnOffset);
|
18512
|
+
if ('ganttTableModules' in $$new_props) $$invalidate(7, ganttTableModules = $$new_props.ganttTableModules);
|
18513
|
+
if ('ganttBodyModules' in $$new_props) $$invalidate(8, ganttBodyModules = $$new_props.ganttBodyModules);
|
18514
|
+
if ('reflectOnParentRows' in $$new_props) $$invalidate(90, reflectOnParentRows = $$new_props.reflectOnParentRows);
|
18515
|
+
if ('reflectOnChildRows' in $$new_props) $$invalidate(91, reflectOnChildRows = $$new_props.reflectOnChildRows);
|
18516
|
+
if ('tableHeader' in $$new_props) $$invalidate(9, tableHeader = $$new_props.tableHeader);
|
18517
|
+
if ('useCanvasColumns' in $$new_props) $$invalidate(10, useCanvasColumns = $$new_props.useCanvasColumns);
|
18518
|
+
if ('columnStrokeColor' in $$new_props) $$invalidate(11, columnStrokeColor = $$new_props.columnStrokeColor);
|
18519
|
+
if ('columnStrokeWidth' in $$new_props) $$invalidate(12, columnStrokeWidth = $$new_props.columnStrokeWidth);
|
18520
|
+
if ('highlightedDurations' in $$new_props) $$invalidate(92, highlightedDurations = $$new_props.highlightedDurations);
|
18521
|
+
if ('highlightColor' in $$new_props) $$invalidate(93, highlightColor = $$new_props.highlightColor);
|
18522
|
+
if ('taskElementHook' in $$new_props) $$invalidate(94, taskElementHook = $$new_props.taskElementHook);
|
18523
|
+
if ('layout' in $$new_props) $$invalidate(95, layout$1 = $$new_props.layout);
|
18524
|
+
if ('enableCreateTask' in $$new_props) $$invalidate(13, enableCreateTask = $$new_props.enableCreateTask);
|
18525
|
+
if ('onCreateTask' in $$new_props) $$invalidate(116, onCreateTask = $$new_props.onCreateTask);
|
18526
|
+
if ('onCreatedTask' in $$new_props) $$invalidate(117, onCreatedTask = $$new_props.onCreatedTask);
|
18630
18527
|
};
|
18631
18528
|
|
18632
18529
|
$$self.$$.update = () => {
|
18633
|
-
if ($$self.$$.dirty[
|
18634
|
-
if (data &&
|
18530
|
+
if ($$self.$$.dirty[2] & /*data*/ 65536 | $$self.$$.dirty[3] & /*selectedFactory*/ 67108864) {
|
18531
|
+
if (data && selectedFactory) {
|
18532
|
+
$$invalidate(0, selectedCreator = 'all');
|
18533
|
+
const _selectedCreators = [];
|
18534
|
+
|
18535
|
+
data.scheduleData.forEach(schedule => {
|
18536
|
+
if (schedule.LINE_CODE.toString().at(0) !== selectedFactory) {
|
18537
|
+
return;
|
18538
|
+
}
|
18539
|
+
|
18540
|
+
const doc = data.productionData.find(doc => doc.DocEntry === schedule.DocEntry);
|
18541
|
+
_selectedCreators.push(doc.Creator);
|
18542
|
+
});
|
18543
|
+
|
18544
|
+
$$invalidate(2, allCreators = [...new Set(_selectedCreators)]);
|
18545
|
+
}
|
18546
|
+
}
|
18547
|
+
|
18548
|
+
if ($$self.$$.dirty[0] & /*dataType, selectedCreator*/ 16385 | $$self.$$.dirty[2] & /*data, rows, tasks, from, to*/ 67456 | $$self.$$.dirty[3] & /*mounted, selectedFactory*/ 100663296) {
|
18549
|
+
if (data && dataType && mounted && rand && selectedFactory && selectedCreator) {
|
18635
18550
|
if (rowStore && taskStore) {
|
18636
|
-
$$invalidate(
|
18637
|
-
$$invalidate(
|
18551
|
+
$$invalidate(16, visibleRows = []);
|
18552
|
+
$$invalidate(29, visibleTasks = []);
|
18638
18553
|
rowStore.deleteAll(rows.map(item => item.id));
|
18639
18554
|
taskStore.deleteAll(tasks.map(item => item.id));
|
18640
18555
|
const ganttData = generate();
|
18641
|
-
$$invalidate(
|
18642
|
-
$$invalidate(
|
18643
|
-
$$invalidate(
|
18644
|
-
$$invalidate(
|
18556
|
+
$$invalidate(69, rows = ganttData.rows);
|
18557
|
+
$$invalidate(70, tasks = ganttData.tasks);
|
18558
|
+
$$invalidate(71, from = ganttData.fromDate.valueOf());
|
18559
|
+
$$invalidate(72, to = ganttData.toDate.valueOf());
|
18645
18560
|
set_store_value(_from, $_from = from, $_from);
|
18646
18561
|
set_store_value(_to, $_to = to, $_to);
|
18647
|
-
$$invalidate(
|
18562
|
+
$$invalidate(73, columnOffset = originalColumnOffset);
|
18648
18563
|
initRows(ganttData.rows);
|
18649
18564
|
initTasks(ganttData.tasks);
|
18650
18565
|
}
|
18651
18566
|
}
|
18652
18567
|
}
|
18653
18568
|
|
18654
|
-
if ($$self.$$.dirty[2] & /*from*/
|
18569
|
+
if ($$self.$$.dirty[2] & /*from*/ 512) {
|
18655
18570
|
set_store_value(_from, $_from = toDateNum(from), $_from);
|
18656
18571
|
}
|
18657
18572
|
|
18658
|
-
if ($$self.$$.dirty[2] & /*to*/
|
18573
|
+
if ($$self.$$.dirty[2] & /*to*/ 1024) {
|
18659
18574
|
set_store_value(_to, $_to = toDateNum(to), $_to);
|
18660
18575
|
}
|
18661
18576
|
|
18662
|
-
if ($$self.$$.dirty[2] & /*rows*/
|
18577
|
+
if ($$self.$$.dirty[2] & /*rows*/ 128 | $$self.$$.dirty[3] & /*mounted*/ 33554432) {
|
18663
18578
|
if (mounted) initRows(rows);
|
18664
18579
|
}
|
18665
18580
|
|
18666
|
-
if ($$self.$$.dirty[2] & /*tasks*/
|
18581
|
+
if ($$self.$$.dirty[2] & /*tasks*/ 256 | $$self.$$.dirty[3] & /*mounted*/ 33554432) {
|
18667
18582
|
if (mounted) initTasks(tasks);
|
18668
18583
|
}
|
18669
18584
|
|
18670
|
-
if ($$self.$$.dirty[2] & /*timeRanges*/
|
18585
|
+
if ($$self.$$.dirty[2] & /*timeRanges*/ 32768 | $$self.$$.dirty[3] & /*mounted*/ 33554432) {
|
18671
18586
|
if (mounted) initTimeRanges(timeRanges);
|
18672
18587
|
}
|
18673
18588
|
|
18674
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18589
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144) {
|
18675
18590
|
set_store_value(_rowHeight, $_rowHeight = rowHeight, $_rowHeight);
|
18676
18591
|
}
|
18677
18592
|
|
18678
|
-
if ($$self.$$.dirty[2] & /*rowPadding*/
|
18593
|
+
if ($$self.$$.dirty[2] & /*rowPadding*/ 131072) {
|
18679
18594
|
set_store_value(_rowPadding, $_rowPadding = rowPadding, $_rowPadding);
|
18680
18595
|
}
|
18681
18596
|
|
18682
|
-
if ($$self.$$.dirty[2] & /*minWidth, fitWidth*/
|
18597
|
+
if ($$self.$$.dirty[2] & /*minWidth, fitWidth*/ 1572864) {
|
18683
18598
|
{
|
18684
18599
|
set_store_value(_minWidth, $_minWidth = minWidth, $_minWidth);
|
18685
18600
|
set_store_value(_fitWidth, $_fitWidth = fitWidth, $_fitWidth);
|
18686
18601
|
}
|
18687
18602
|
}
|
18688
18603
|
|
18689
|
-
if ($$self.$$.dirty[2] & /*magnetUnit, magnetOffset*/
|
18604
|
+
if ($$self.$$.dirty[2] & /*magnetUnit, magnetOffset*/ 201326592) {
|
18690
18605
|
setMagnetDuration(magnetUnit, magnetOffset);
|
18691
18606
|
}
|
18692
18607
|
|
18693
|
-
if ($$self.$$.dirty[
|
18608
|
+
if ($$self.$$.dirty[3] & /*layout*/ 4) {
|
18694
18609
|
set_store_value(_layout, $_layout = layout$1, $_layout);
|
18695
18610
|
}
|
18696
18611
|
|
18697
|
-
if ($$self.$$.dirty[0] & /*columnUnit, $_width*/
|
18612
|
+
if ($$self.$$.dirty[0] & /*columnUnit, $_width*/ 262146 | $$self.$$.dirty[2] & /*columnOffset*/ 2048 | $$self.$$.dirty[4] & /*$_from, $_to*/ 1280) {
|
18698
18613
|
{
|
18699
|
-
$$invalidate(
|
18614
|
+
$$invalidate(24, columns = getColumnsV2($_from, $_to, columnUnit, columnOffset));
|
18700
18615
|
tickWithoutCSSTransition();
|
18701
18616
|
refreshTimeRanges();
|
18702
18617
|
refreshTasks();
|
18703
18618
|
}
|
18704
18619
|
}
|
18705
18620
|
|
18706
|
-
if ($$self.$$.dirty[2] & /*reflectOnChildRows, reflectOnParentRows*/
|
18621
|
+
if ($$self.$$.dirty[2] & /*reflectOnChildRows, reflectOnParentRows*/ 805306368 | $$self.$$.dirty[3] & /*_reflectedTasksCache*/ 536870912 | $$self.$$.dirty[4] & /*$_rowPadding, $allTasks, $rowStore*/ 2688) {
|
18707
18622
|
{
|
18708
|
-
$$invalidate(
|
18623
|
+
$$invalidate(122, _reflectedTasksCache = {});
|
18709
18624
|
const opts = { rowPadding: $_rowPadding };
|
18710
18625
|
|
18711
18626
|
for (const task of $allTasks) {
|
@@ -18720,7 +18635,7 @@
|
|
18720
18635
|
const reflectedTask = reflectTask(task, r, opts);
|
18721
18636
|
|
18722
18637
|
if (!_reflectedTasksCache[r.model.id]) {
|
18723
|
-
$$invalidate(
|
18638
|
+
$$invalidate(122, _reflectedTasksCache[r.model.id] = [], _reflectedTasksCache);
|
18724
18639
|
}
|
18725
18640
|
|
18726
18641
|
_reflectedTasksCache[r.model.id].push(reflectedTask);
|
@@ -18732,7 +18647,7 @@
|
|
18732
18647
|
const reflectedTask = reflectTask(task, r, opts);
|
18733
18648
|
|
18734
18649
|
if (!_reflectedTasksCache[r.model.id]) {
|
18735
|
-
$$invalidate(
|
18650
|
+
$$invalidate(122, _reflectedTasksCache[r.model.id] = [], _reflectedTasksCache);
|
18736
18651
|
}
|
18737
18652
|
|
18738
18653
|
_reflectedTasksCache[r.model.id].push(reflectedTask);
|
@@ -18742,66 +18657,66 @@
|
|
18742
18657
|
}
|
18743
18658
|
}
|
18744
18659
|
|
18745
|
-
if ($$self.$$.dirty[4] & /*$_rowPadding, $rowStore*/
|
18660
|
+
if ($$self.$$.dirty[4] & /*$_rowPadding, $rowStore*/ 2176) {
|
18746
18661
|
{
|
18747
|
-
$$invalidate(
|
18748
|
-
$$invalidate(
|
18662
|
+
$$invalidate(74, taskFactory.rowPadding = $_rowPadding, taskFactory);
|
18663
|
+
$$invalidate(74, taskFactory.rowEntities = $rowStore.entities, taskFactory);
|
18749
18664
|
}
|
18750
18665
|
}
|
18751
18666
|
|
18752
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18753
|
-
$$invalidate(
|
18667
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144) {
|
18668
|
+
$$invalidate(75, rowFactory.rowHeight = rowHeight, rowFactory);
|
18754
18669
|
}
|
18755
18670
|
|
18756
|
-
if ($$self.$$.dirty[0] & /*$_width*/
|
18671
|
+
if ($$self.$$.dirty[0] & /*$_width*/ 262144 | $$self.$$.dirty[2] & /*magnetOffset, magnetUnit, dateAdapter*/ 234881024 | $$self.$$.dirty[3] & /*magnetDuration*/ 134217728 | $$self.$$.dirty[4] & /*$_from, $_to*/ 1280) {
|
18757
18672
|
{
|
18758
|
-
$$invalidate(
|
18759
|
-
$$invalidate(
|
18760
|
-
$$invalidate(
|
18761
|
-
$$invalidate(
|
18762
|
-
$$invalidate(
|
18763
|
-
$$invalidate(
|
18764
|
-
$$invalidate(
|
18673
|
+
$$invalidate(76, utils.from = $_from, utils);
|
18674
|
+
$$invalidate(76, utils.to = $_to, utils);
|
18675
|
+
$$invalidate(76, utils.width = $_width, utils);
|
18676
|
+
$$invalidate(76, utils.magnetOffset = magnetOffset, utils);
|
18677
|
+
$$invalidate(76, utils.magnetUnit = magnetUnit, utils);
|
18678
|
+
$$invalidate(76, utils.magnetDuration = magnetDuration, utils);
|
18679
|
+
$$invalidate(76, utils.dateAdapter = dateAdapter, utils);
|
18765
18680
|
}
|
18766
18681
|
}
|
18767
18682
|
|
18768
|
-
if ($$self.$$.dirty[4] & /*$allRows*/
|
18683
|
+
if ($$self.$$.dirty[4] & /*$allRows*/ 16) {
|
18769
18684
|
{
|
18770
|
-
$$invalidate(
|
18685
|
+
$$invalidate(123, filteredRows = $allRows.filter(row => {
|
18771
18686
|
return !row.hidden;
|
18772
18687
|
}));
|
18773
18688
|
}
|
18774
18689
|
}
|
18775
18690
|
|
18776
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18777
|
-
$$invalidate(
|
18691
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144 | $$self.$$.dirty[3] & /*filteredRows*/ 1073741824) {
|
18692
|
+
$$invalidate(15, rowContainerHeight = filteredRows.length * rowHeight);
|
18778
18693
|
}
|
18779
18694
|
|
18780
|
-
if ($$self.$$.dirty[0] & /*rowContainerHeight, $visibleHeight*/
|
18781
|
-
$$invalidate(
|
18695
|
+
if ($$self.$$.dirty[0] & /*rowContainerHeight, $visibleHeight*/ 163840) {
|
18696
|
+
$$invalidate(26, rightScrollbarVisible = rowContainerHeight > $visibleHeight);
|
18782
18697
|
}
|
18783
18698
|
|
18784
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18785
|
-
$$invalidate(
|
18699
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144 | $$self.$$.dirty[3] & /*__scrollTop*/ 268435456) {
|
18700
|
+
$$invalidate(124, startIndex = Math.floor(__scrollTop / rowHeight));
|
18786
18701
|
}
|
18787
18702
|
|
18788
|
-
if ($$self.$$.dirty[0] & /*$visibleHeight*/
|
18789
|
-
$$invalidate(
|
18703
|
+
if ($$self.$$.dirty[0] & /*$visibleHeight*/ 131072 | $$self.$$.dirty[2] & /*rowHeight*/ 262144 | $$self.$$.dirty[3] & /*filteredRows*/ 1073741824 | $$self.$$.dirty[4] & /*startIndex*/ 1) {
|
18704
|
+
$$invalidate(125, endIndex = Math.min(startIndex + Math.ceil($visibleHeight / rowHeight), filteredRows.length - 1));
|
18790
18705
|
}
|
18791
18706
|
|
18792
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18793
|
-
$$invalidate(
|
18707
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144 | $$self.$$.dirty[4] & /*startIndex*/ 1) {
|
18708
|
+
$$invalidate(27, paddingTop = startIndex * rowHeight);
|
18794
18709
|
}
|
18795
18710
|
|
18796
|
-
if ($$self.$$.dirty[2] & /*rowHeight*/
|
18797
|
-
$$invalidate(
|
18711
|
+
if ($$self.$$.dirty[2] & /*rowHeight*/ 262144 | $$self.$$.dirty[3] & /*filteredRows*/ 1073741824 | $$self.$$.dirty[4] & /*endIndex*/ 2) {
|
18712
|
+
$$invalidate(28, paddingBottom = (filteredRows.length - endIndex - 1) * rowHeight);
|
18798
18713
|
}
|
18799
18714
|
|
18800
|
-
if ($$self.$$.dirty[3] & /*filteredRows
|
18801
|
-
$$invalidate(
|
18715
|
+
if ($$self.$$.dirty[3] & /*filteredRows*/ 1073741824 | $$self.$$.dirty[4] & /*startIndex, endIndex*/ 3) {
|
18716
|
+
$$invalidate(16, visibleRows = filteredRows.slice(startIndex, endIndex + 1));
|
18802
18717
|
}
|
18803
18718
|
|
18804
|
-
if ($$self.$$.dirty[0] & /*visibleRows*/
|
18719
|
+
if ($$self.$$.dirty[0] & /*visibleRows*/ 65536 | $$self.$$.dirty[3] & /*_reflectedTasksCache*/ 536870912 | $$self.$$.dirty[4] & /*previousOrder, $rowTaskCache, $taskStore, $_from, $allRows, $draggingTaskCache*/ 380) {
|
18805
18720
|
{
|
18806
18721
|
const tasks = [];
|
18807
18722
|
const rendered = {};
|
@@ -18888,12 +18803,12 @@
|
|
18888
18803
|
ordered = false;
|
18889
18804
|
}
|
18890
18805
|
|
18891
|
-
$$invalidate(
|
18892
|
-
$$invalidate(
|
18806
|
+
$$invalidate(126, previousOrder = order);
|
18807
|
+
$$invalidate(29, visibleTasks = ordered ? tasksOrdered : tasks);
|
18893
18808
|
}
|
18894
18809
|
}
|
18895
18810
|
|
18896
|
-
if ($$self.$$.dirty[2] & /*
|
18811
|
+
if ($$self.$$.dirty[2] & /*rowHeight, rowPadding*/ 393216 | $$self.$$.dirty[3] & /*layout*/ 4 | $$self.$$.dirty[4] & /*$rowStore, $rowTaskCache, $taskStore*/ 224) {
|
18897
18812
|
{
|
18898
18813
|
if (layout$1 === 'pack') {
|
18899
18814
|
for (const rowId of $rowStore.ids) {
|
@@ -18912,10 +18827,15 @@
|
|
18912
18827
|
}
|
18913
18828
|
};
|
18914
18829
|
|
18915
|
-
$$invalidate(
|
18830
|
+
$$invalidate(14, dataType = 'equipment');
|
18831
|
+
$$invalidate(119, selectedFactory = '1');
|
18832
|
+
$$invalidate(3, isDateSelected = false);
|
18916
18833
|
|
18917
18834
|
return [
|
18835
|
+
selectedCreator,
|
18918
18836
|
columnUnit,
|
18837
|
+
allCreators,
|
18838
|
+
isDateSelected,
|
18919
18839
|
headers,
|
18920
18840
|
tableWidth,
|
18921
18841
|
classes,
|
@@ -18935,8 +18855,6 @@
|
|
18935
18855
|
mainHeaderContainer,
|
18936
18856
|
mainContainer,
|
18937
18857
|
rowContainer,
|
18938
|
-
prodMap01,
|
18939
|
-
prodMap02,
|
18940
18858
|
disableTransition,
|
18941
18859
|
columns,
|
18942
18860
|
zooming,
|
@@ -18950,6 +18868,7 @@
|
|
18950
18868
|
$visibleWidth,
|
18951
18869
|
_from,
|
18952
18870
|
_to,
|
18871
|
+
setSelectedCreator,
|
18953
18872
|
rand,
|
18954
18873
|
_rowHeight,
|
18955
18874
|
_rowPadding,
|
@@ -18980,6 +18899,7 @@
|
|
18980
18899
|
createTasks,
|
18981
18900
|
onClickAll,
|
18982
18901
|
onDataTypeChange,
|
18902
|
+
onFactoryChange,
|
18983
18903
|
$$restProps,
|
18984
18904
|
rows,
|
18985
18905
|
tasks,
|
@@ -19031,6 +18951,7 @@
|
|
19031
18951
|
onCreateTask,
|
19032
18952
|
onCreatedTask,
|
19033
18953
|
mounted,
|
18954
|
+
selectedFactory,
|
19034
18955
|
magnetDuration,
|
19035
18956
|
__scrollTop,
|
19036
18957
|
_reflectedTasksCache,
|
@@ -19047,12 +18968,12 @@
|
|
19047
18968
|
$allTasks,
|
19048
18969
|
$_to,
|
19049
18970
|
$_rowPadding,
|
19050
|
-
|
19051
|
-
|
19052
|
-
|
19053
|
-
|
19054
|
-
|
19055
|
-
|
18971
|
+
div8_binding,
|
18972
|
+
div8_elementresize_handler,
|
18973
|
+
div10_binding,
|
18974
|
+
div13_binding,
|
18975
|
+
div13_elementresize_handler,
|
18976
|
+
div15_binding,
|
19056
18977
|
dragcontextprovider_binding
|
19057
18978
|
];
|
19058
18979
|
}
|
@@ -19068,66 +18989,69 @@
|
|
19068
18989
|
create_fragment,
|
19069
18990
|
safe_not_equal,
|
19070
18991
|
{
|
19071
|
-
rows:
|
19072
|
-
tasks:
|
19073
|
-
timeRanges:
|
19074
|
-
data:
|
19075
|
-
from:
|
19076
|
-
to:
|
19077
|
-
|
19078
|
-
|
19079
|
-
|
19080
|
-
|
19081
|
-
|
19082
|
-
|
19083
|
-
|
19084
|
-
|
19085
|
-
|
19086
|
-
|
19087
|
-
|
19088
|
-
|
19089
|
-
|
19090
|
-
|
19091
|
-
|
19092
|
-
|
19093
|
-
|
19094
|
-
|
19095
|
-
|
19096
|
-
|
19097
|
-
|
19098
|
-
|
19099
|
-
|
19100
|
-
|
19101
|
-
|
19102
|
-
|
19103
|
-
|
19104
|
-
|
19105
|
-
|
19106
|
-
|
19107
|
-
|
19108
|
-
|
19109
|
-
|
19110
|
-
|
19111
|
-
|
19112
|
-
|
19113
|
-
|
19114
|
-
|
19115
|
-
|
19116
|
-
|
19117
|
-
|
19118
|
-
|
19119
|
-
|
19120
|
-
|
19121
|
-
|
19122
|
-
|
19123
|
-
|
19124
|
-
|
19125
|
-
|
19126
|
-
|
19127
|
-
|
19128
|
-
|
19129
|
-
|
19130
|
-
|
18992
|
+
rows: 69,
|
18993
|
+
tasks: 70,
|
18994
|
+
timeRanges: 77,
|
18995
|
+
data: 78,
|
18996
|
+
from: 71,
|
18997
|
+
to: 72,
|
18998
|
+
selectedCreator: 0,
|
18999
|
+
allCreators: 2,
|
19000
|
+
isDateSelected: 3,
|
19001
|
+
rowPadding: 79,
|
19002
|
+
rowHeight: 80,
|
19003
|
+
minWidth: 81,
|
19004
|
+
fitWidth: 82,
|
19005
|
+
classes: 6,
|
19006
|
+
headers: 4,
|
19007
|
+
zoomLevels: 83,
|
19008
|
+
taskContent: 84,
|
19009
|
+
tableWidth: 5,
|
19010
|
+
resizeHandleWidth: 85,
|
19011
|
+
onTaskButtonClick: 86,
|
19012
|
+
dateAdapter: 87,
|
19013
|
+
magnetUnit: 88,
|
19014
|
+
magnetOffset: 89,
|
19015
|
+
columnUnit: 1,
|
19016
|
+
columnOffset: 73,
|
19017
|
+
ganttTableModules: 7,
|
19018
|
+
ganttBodyModules: 8,
|
19019
|
+
reflectOnParentRows: 90,
|
19020
|
+
reflectOnChildRows: 91,
|
19021
|
+
tableHeader: 9,
|
19022
|
+
useCanvasColumns: 10,
|
19023
|
+
columnStrokeColor: 11,
|
19024
|
+
columnStrokeWidth: 12,
|
19025
|
+
highlightedDurations: 92,
|
19026
|
+
highlightColor: 93,
|
19027
|
+
taskElementHook: 94,
|
19028
|
+
layout: 95,
|
19029
|
+
columnService: 96,
|
19030
|
+
api: 97,
|
19031
|
+
taskFactory: 74,
|
19032
|
+
rowFactory: 75,
|
19033
|
+
dndManager: 98,
|
19034
|
+
timeRangeFactory: 99,
|
19035
|
+
utils: 76,
|
19036
|
+
refreshTimeRanges: 100,
|
19037
|
+
refreshTasks: 101,
|
19038
|
+
getRowContainer: 102,
|
19039
|
+
selectTask: 103,
|
19040
|
+
unselectTasks: 104,
|
19041
|
+
scrollToRow: 105,
|
19042
|
+
scrollToTask: 106,
|
19043
|
+
updateTask: 107,
|
19044
|
+
updateTasks: 108,
|
19045
|
+
removeTask: 109,
|
19046
|
+
removeTasks: 110,
|
19047
|
+
updateRow: 111,
|
19048
|
+
updateRows: 112,
|
19049
|
+
getRow: 113,
|
19050
|
+
getTask: 114,
|
19051
|
+
getTasks: 115,
|
19052
|
+
enableCreateTask: 13,
|
19053
|
+
onCreateTask: 116,
|
19054
|
+
onCreatedTask: 117
|
19131
19055
|
},
|
19132
19056
|
add_css,
|
19133
19057
|
[-1, -1, -1, -1, -1, -1]
|
@@ -19135,7 +19059,7 @@
|
|
19135
19059
|
}
|
19136
19060
|
|
19137
19061
|
get rows() {
|
19138
|
-
return this.$$.ctx[
|
19062
|
+
return this.$$.ctx[69];
|
19139
19063
|
}
|
19140
19064
|
|
19141
19065
|
set rows(rows) {
|
@@ -19144,7 +19068,7 @@
|
|
19144
19068
|
}
|
19145
19069
|
|
19146
19070
|
get tasks() {
|
19147
|
-
return this.$$.ctx[
|
19071
|
+
return this.$$.ctx[70];
|
19148
19072
|
}
|
19149
19073
|
|
19150
19074
|
set tasks(tasks) {
|
@@ -19153,7 +19077,7 @@
|
|
19153
19077
|
}
|
19154
19078
|
|
19155
19079
|
get timeRanges() {
|
19156
|
-
return this.$$.ctx[
|
19080
|
+
return this.$$.ctx[77];
|
19157
19081
|
}
|
19158
19082
|
|
19159
19083
|
set timeRanges(timeRanges) {
|
@@ -19162,7 +19086,7 @@
|
|
19162
19086
|
}
|
19163
19087
|
|
19164
19088
|
get data() {
|
19165
|
-
return this.$$.ctx[
|
19089
|
+
return this.$$.ctx[78];
|
19166
19090
|
}
|
19167
19091
|
|
19168
19092
|
set data(data) {
|
@@ -19171,7 +19095,7 @@
|
|
19171
19095
|
}
|
19172
19096
|
|
19173
19097
|
get from() {
|
19174
|
-
return this.$$.ctx[
|
19098
|
+
return this.$$.ctx[71];
|
19175
19099
|
}
|
19176
19100
|
|
19177
19101
|
set from(from) {
|
@@ -19180,7 +19104,7 @@
|
|
19180
19104
|
}
|
19181
19105
|
|
19182
19106
|
get to() {
|
19183
|
-
return this.$$.ctx[
|
19107
|
+
return this.$$.ctx[72];
|
19184
19108
|
}
|
19185
19109
|
|
19186
19110
|
set to(to) {
|
@@ -19188,8 +19112,35 @@
|
|
19188
19112
|
flush();
|
19189
19113
|
}
|
19190
19114
|
|
19115
|
+
get selectedCreator() {
|
19116
|
+
return this.$$.ctx[0];
|
19117
|
+
}
|
19118
|
+
|
19119
|
+
set selectedCreator(selectedCreator) {
|
19120
|
+
this.$$set({ selectedCreator });
|
19121
|
+
flush();
|
19122
|
+
}
|
19123
|
+
|
19124
|
+
get allCreators() {
|
19125
|
+
return this.$$.ctx[2];
|
19126
|
+
}
|
19127
|
+
|
19128
|
+
set allCreators(allCreators) {
|
19129
|
+
this.$$set({ allCreators });
|
19130
|
+
flush();
|
19131
|
+
}
|
19132
|
+
|
19133
|
+
get isDateSelected() {
|
19134
|
+
return this.$$.ctx[3];
|
19135
|
+
}
|
19136
|
+
|
19137
|
+
set isDateSelected(isDateSelected) {
|
19138
|
+
this.$$set({ isDateSelected });
|
19139
|
+
flush();
|
19140
|
+
}
|
19141
|
+
|
19191
19142
|
get rowPadding() {
|
19192
|
-
return this.$$.ctx[
|
19143
|
+
return this.$$.ctx[79];
|
19193
19144
|
}
|
19194
19145
|
|
19195
19146
|
set rowPadding(rowPadding) {
|
@@ -19198,7 +19149,7 @@
|
|
19198
19149
|
}
|
19199
19150
|
|
19200
19151
|
get rowHeight() {
|
19201
|
-
return this.$$.ctx[
|
19152
|
+
return this.$$.ctx[80];
|
19202
19153
|
}
|
19203
19154
|
|
19204
19155
|
set rowHeight(rowHeight) {
|
@@ -19207,7 +19158,7 @@
|
|
19207
19158
|
}
|
19208
19159
|
|
19209
19160
|
get minWidth() {
|
19210
|
-
return this.$$.ctx[
|
19161
|
+
return this.$$.ctx[81];
|
19211
19162
|
}
|
19212
19163
|
|
19213
19164
|
set minWidth(minWidth) {
|
@@ -19216,7 +19167,7 @@
|
|
19216
19167
|
}
|
19217
19168
|
|
19218
19169
|
get fitWidth() {
|
19219
|
-
return this.$$.ctx[
|
19170
|
+
return this.$$.ctx[82];
|
19220
19171
|
}
|
19221
19172
|
|
19222
19173
|
set fitWidth(fitWidth) {
|
@@ -19225,7 +19176,7 @@
|
|
19225
19176
|
}
|
19226
19177
|
|
19227
19178
|
get classes() {
|
19228
|
-
return this.$$.ctx[
|
19179
|
+
return this.$$.ctx[6];
|
19229
19180
|
}
|
19230
19181
|
|
19231
19182
|
set classes(classes) {
|
@@ -19234,7 +19185,7 @@
|
|
19234
19185
|
}
|
19235
19186
|
|
19236
19187
|
get headers() {
|
19237
|
-
return this.$$.ctx[
|
19188
|
+
return this.$$.ctx[4];
|
19238
19189
|
}
|
19239
19190
|
|
19240
19191
|
set headers(headers) {
|
@@ -19243,7 +19194,7 @@
|
|
19243
19194
|
}
|
19244
19195
|
|
19245
19196
|
get zoomLevels() {
|
19246
|
-
return this.$$.ctx[
|
19197
|
+
return this.$$.ctx[83];
|
19247
19198
|
}
|
19248
19199
|
|
19249
19200
|
set zoomLevels(zoomLevels) {
|
@@ -19252,7 +19203,7 @@
|
|
19252
19203
|
}
|
19253
19204
|
|
19254
19205
|
get taskContent() {
|
19255
|
-
return this.$$.ctx[
|
19206
|
+
return this.$$.ctx[84];
|
19256
19207
|
}
|
19257
19208
|
|
19258
19209
|
set taskContent(taskContent) {
|
@@ -19261,7 +19212,7 @@
|
|
19261
19212
|
}
|
19262
19213
|
|
19263
19214
|
get tableWidth() {
|
19264
|
-
return this.$$.ctx[
|
19215
|
+
return this.$$.ctx[5];
|
19265
19216
|
}
|
19266
19217
|
|
19267
19218
|
set tableWidth(tableWidth) {
|
@@ -19270,7 +19221,7 @@
|
|
19270
19221
|
}
|
19271
19222
|
|
19272
19223
|
get resizeHandleWidth() {
|
19273
|
-
return this.$$.ctx[
|
19224
|
+
return this.$$.ctx[85];
|
19274
19225
|
}
|
19275
19226
|
|
19276
19227
|
set resizeHandleWidth(resizeHandleWidth) {
|
@@ -19279,7 +19230,7 @@
|
|
19279
19230
|
}
|
19280
19231
|
|
19281
19232
|
get onTaskButtonClick() {
|
19282
|
-
return this.$$.ctx[
|
19233
|
+
return this.$$.ctx[86];
|
19283
19234
|
}
|
19284
19235
|
|
19285
19236
|
set onTaskButtonClick(onTaskButtonClick) {
|
@@ -19288,7 +19239,7 @@
|
|
19288
19239
|
}
|
19289
19240
|
|
19290
19241
|
get dateAdapter() {
|
19291
|
-
return this.$$.ctx[
|
19242
|
+
return this.$$.ctx[87];
|
19292
19243
|
}
|
19293
19244
|
|
19294
19245
|
set dateAdapter(dateAdapter) {
|
@@ -19297,7 +19248,7 @@
|
|
19297
19248
|
}
|
19298
19249
|
|
19299
19250
|
get magnetUnit() {
|
19300
|
-
return this.$$.ctx[
|
19251
|
+
return this.$$.ctx[88];
|
19301
19252
|
}
|
19302
19253
|
|
19303
19254
|
set magnetUnit(magnetUnit) {
|
@@ -19306,7 +19257,7 @@
|
|
19306
19257
|
}
|
19307
19258
|
|
19308
19259
|
get magnetOffset() {
|
19309
|
-
return this.$$.ctx[
|
19260
|
+
return this.$$.ctx[89];
|
19310
19261
|
}
|
19311
19262
|
|
19312
19263
|
set magnetOffset(magnetOffset) {
|
@@ -19315,7 +19266,7 @@
|
|
19315
19266
|
}
|
19316
19267
|
|
19317
19268
|
get columnUnit() {
|
19318
|
-
return this.$$.ctx[
|
19269
|
+
return this.$$.ctx[1];
|
19319
19270
|
}
|
19320
19271
|
|
19321
19272
|
set columnUnit(columnUnit) {
|
@@ -19324,7 +19275,7 @@
|
|
19324
19275
|
}
|
19325
19276
|
|
19326
19277
|
get columnOffset() {
|
19327
|
-
return this.$$.ctx[
|
19278
|
+
return this.$$.ctx[73];
|
19328
19279
|
}
|
19329
19280
|
|
19330
19281
|
set columnOffset(columnOffset) {
|
@@ -19333,7 +19284,7 @@
|
|
19333
19284
|
}
|
19334
19285
|
|
19335
19286
|
get ganttTableModules() {
|
19336
|
-
return this.$$.ctx[
|
19287
|
+
return this.$$.ctx[7];
|
19337
19288
|
}
|
19338
19289
|
|
19339
19290
|
set ganttTableModules(ganttTableModules) {
|
@@ -19342,7 +19293,7 @@
|
|
19342
19293
|
}
|
19343
19294
|
|
19344
19295
|
get ganttBodyModules() {
|
19345
|
-
return this.$$.ctx[
|
19296
|
+
return this.$$.ctx[8];
|
19346
19297
|
}
|
19347
19298
|
|
19348
19299
|
set ganttBodyModules(ganttBodyModules) {
|
@@ -19351,7 +19302,7 @@
|
|
19351
19302
|
}
|
19352
19303
|
|
19353
19304
|
get reflectOnParentRows() {
|
19354
|
-
return this.$$.ctx[
|
19305
|
+
return this.$$.ctx[90];
|
19355
19306
|
}
|
19356
19307
|
|
19357
19308
|
set reflectOnParentRows(reflectOnParentRows) {
|
@@ -19360,7 +19311,7 @@
|
|
19360
19311
|
}
|
19361
19312
|
|
19362
19313
|
get reflectOnChildRows() {
|
19363
|
-
return this.$$.ctx[
|
19314
|
+
return this.$$.ctx[91];
|
19364
19315
|
}
|
19365
19316
|
|
19366
19317
|
set reflectOnChildRows(reflectOnChildRows) {
|
@@ -19369,7 +19320,7 @@
|
|
19369
19320
|
}
|
19370
19321
|
|
19371
19322
|
get tableHeader() {
|
19372
|
-
return this.$$.ctx[
|
19323
|
+
return this.$$.ctx[9];
|
19373
19324
|
}
|
19374
19325
|
|
19375
19326
|
set tableHeader(tableHeader) {
|
@@ -19378,7 +19329,7 @@
|
|
19378
19329
|
}
|
19379
19330
|
|
19380
19331
|
get useCanvasColumns() {
|
19381
|
-
return this.$$.ctx[
|
19332
|
+
return this.$$.ctx[10];
|
19382
19333
|
}
|
19383
19334
|
|
19384
19335
|
set useCanvasColumns(useCanvasColumns) {
|
@@ -19387,7 +19338,7 @@
|
|
19387
19338
|
}
|
19388
19339
|
|
19389
19340
|
get columnStrokeColor() {
|
19390
|
-
return this.$$.ctx[
|
19341
|
+
return this.$$.ctx[11];
|
19391
19342
|
}
|
19392
19343
|
|
19393
19344
|
set columnStrokeColor(columnStrokeColor) {
|
@@ -19396,7 +19347,7 @@
|
|
19396
19347
|
}
|
19397
19348
|
|
19398
19349
|
get columnStrokeWidth() {
|
19399
|
-
return this.$$.ctx[
|
19350
|
+
return this.$$.ctx[12];
|
19400
19351
|
}
|
19401
19352
|
|
19402
19353
|
set columnStrokeWidth(columnStrokeWidth) {
|
@@ -19405,7 +19356,7 @@
|
|
19405
19356
|
}
|
19406
19357
|
|
19407
19358
|
get highlightedDurations() {
|
19408
|
-
return this.$$.ctx[
|
19359
|
+
return this.$$.ctx[92];
|
19409
19360
|
}
|
19410
19361
|
|
19411
19362
|
set highlightedDurations(highlightedDurations) {
|
@@ -19414,7 +19365,7 @@
|
|
19414
19365
|
}
|
19415
19366
|
|
19416
19367
|
get highlightColor() {
|
19417
|
-
return this.$$.ctx[
|
19368
|
+
return this.$$.ctx[93];
|
19418
19369
|
}
|
19419
19370
|
|
19420
19371
|
set highlightColor(highlightColor) {
|
@@ -19423,7 +19374,7 @@
|
|
19423
19374
|
}
|
19424
19375
|
|
19425
19376
|
get taskElementHook() {
|
19426
|
-
return this.$$.ctx[
|
19377
|
+
return this.$$.ctx[94];
|
19427
19378
|
}
|
19428
19379
|
|
19429
19380
|
set taskElementHook(taskElementHook) {
|
@@ -19432,7 +19383,7 @@
|
|
19432
19383
|
}
|
19433
19384
|
|
19434
19385
|
get layout() {
|
19435
|
-
return this.$$.ctx[
|
19386
|
+
return this.$$.ctx[95];
|
19436
19387
|
}
|
19437
19388
|
|
19438
19389
|
set layout(layout) {
|
@@ -19441,99 +19392,99 @@
|
|
19441
19392
|
}
|
19442
19393
|
|
19443
19394
|
get columnService() {
|
19444
|
-
return this.$$.ctx[
|
19395
|
+
return this.$$.ctx[96];
|
19445
19396
|
}
|
19446
19397
|
|
19447
19398
|
get api() {
|
19448
|
-
return this.$$.ctx[
|
19399
|
+
return this.$$.ctx[97];
|
19449
19400
|
}
|
19450
19401
|
|
19451
19402
|
get taskFactory() {
|
19452
|
-
return this.$$.ctx[
|
19403
|
+
return this.$$.ctx[74];
|
19453
19404
|
}
|
19454
19405
|
|
19455
19406
|
get rowFactory() {
|
19456
|
-
return this.$$.ctx[
|
19407
|
+
return this.$$.ctx[75];
|
19457
19408
|
}
|
19458
19409
|
|
19459
19410
|
get dndManager() {
|
19460
|
-
return this.$$.ctx[
|
19411
|
+
return this.$$.ctx[98];
|
19461
19412
|
}
|
19462
19413
|
|
19463
19414
|
get timeRangeFactory() {
|
19464
|
-
return this.$$.ctx[
|
19415
|
+
return this.$$.ctx[99];
|
19465
19416
|
}
|
19466
19417
|
|
19467
19418
|
get utils() {
|
19468
|
-
return this.$$.ctx[
|
19419
|
+
return this.$$.ctx[76];
|
19469
19420
|
}
|
19470
19421
|
|
19471
19422
|
get refreshTimeRanges() {
|
19472
|
-
return this.$$.ctx[
|
19423
|
+
return this.$$.ctx[100];
|
19473
19424
|
}
|
19474
19425
|
|
19475
19426
|
get refreshTasks() {
|
19476
|
-
return this.$$.ctx[
|
19427
|
+
return this.$$.ctx[101];
|
19477
19428
|
}
|
19478
19429
|
|
19479
19430
|
get getRowContainer() {
|
19480
|
-
return this.$$.ctx[
|
19431
|
+
return this.$$.ctx[102];
|
19481
19432
|
}
|
19482
19433
|
|
19483
19434
|
get selectTask() {
|
19484
|
-
return this.$$.ctx[
|
19435
|
+
return this.$$.ctx[103];
|
19485
19436
|
}
|
19486
19437
|
|
19487
19438
|
get unselectTasks() {
|
19488
|
-
return this.$$.ctx[
|
19439
|
+
return this.$$.ctx[104];
|
19489
19440
|
}
|
19490
19441
|
|
19491
19442
|
get scrollToRow() {
|
19492
|
-
return this.$$.ctx[
|
19443
|
+
return this.$$.ctx[105];
|
19493
19444
|
}
|
19494
19445
|
|
19495
19446
|
get scrollToTask() {
|
19496
|
-
return this.$$.ctx[
|
19447
|
+
return this.$$.ctx[106];
|
19497
19448
|
}
|
19498
19449
|
|
19499
19450
|
get updateTask() {
|
19500
|
-
return this.$$.ctx[
|
19451
|
+
return this.$$.ctx[107];
|
19501
19452
|
}
|
19502
19453
|
|
19503
19454
|
get updateTasks() {
|
19504
|
-
return this.$$.ctx[
|
19455
|
+
return this.$$.ctx[108];
|
19505
19456
|
}
|
19506
19457
|
|
19507
19458
|
get removeTask() {
|
19508
|
-
return this.$$.ctx[
|
19459
|
+
return this.$$.ctx[109];
|
19509
19460
|
}
|
19510
19461
|
|
19511
19462
|
get removeTasks() {
|
19512
|
-
return this.$$.ctx[
|
19463
|
+
return this.$$.ctx[110];
|
19513
19464
|
}
|
19514
19465
|
|
19515
19466
|
get updateRow() {
|
19516
|
-
return this.$$.ctx[
|
19467
|
+
return this.$$.ctx[111];
|
19517
19468
|
}
|
19518
19469
|
|
19519
19470
|
get updateRows() {
|
19520
|
-
return this.$$.ctx[
|
19471
|
+
return this.$$.ctx[112];
|
19521
19472
|
}
|
19522
19473
|
|
19523
19474
|
get getRow() {
|
19524
|
-
return this.$$.ctx[
|
19475
|
+
return this.$$.ctx[113];
|
19525
19476
|
}
|
19526
19477
|
|
19527
19478
|
get getTask() {
|
19528
|
-
return this.$$.ctx[
|
19479
|
+
return this.$$.ctx[114];
|
19529
19480
|
}
|
19530
19481
|
|
19531
19482
|
get getTasks() {
|
19532
|
-
return this.$$.ctx[
|
19483
|
+
return this.$$.ctx[115];
|
19533
19484
|
}
|
19534
19485
|
|
19535
19486
|
get enableCreateTask() {
|
19536
|
-
return this.$$.ctx[
|
19487
|
+
return this.$$.ctx[13];
|
19537
19488
|
}
|
19538
19489
|
|
19539
19490
|
set enableCreateTask(enableCreateTask) {
|
@@ -19542,7 +19493,7 @@
|
|
19542
19493
|
}
|
19543
19494
|
|
19544
19495
|
get onCreateTask() {
|
19545
|
-
return this.$$.ctx[
|
19496
|
+
return this.$$.ctx[116];
|
19546
19497
|
}
|
19547
19498
|
|
19548
19499
|
set onCreateTask(onCreateTask) {
|
@@ -19551,7 +19502,7 @@
|
|
19551
19502
|
}
|
19552
19503
|
|
19553
19504
|
get onCreatedTask() {
|
19554
|
-
return this.$$.ctx[
|
19505
|
+
return this.$$.ctx[117];
|
19555
19506
|
}
|
19556
19507
|
|
19557
19508
|
set onCreatedTask(onCreatedTask) {
|
@@ -19562,7 +19513,7 @@
|
|
19562
19513
|
|
19563
19514
|
customElements.define("wellstek-gantt", create_custom_element(
|
19564
19515
|
WellstekGantt$1,
|
19565
|
-
{"rows":{},"tasks":{},"timeRanges":{},"data":{},"from":{},"to":{},"rowPadding":{},"rowHeight":{},"minWidth":{},"fitWidth":{"type":"Boolean"},"classes":{},"headers":{},"zoomLevels":{},"taskContent":{},"tableWidth":{},"resizeHandleWidth":{},"onTaskButtonClick":{},"dateAdapter":{},"magnetUnit":{},"magnetOffset":{},"columnUnit":{},"columnOffset":{},"ganttTableModules":{},"ganttBodyModules":{},"reflectOnParentRows":{"type":"Boolean"},"reflectOnChildRows":{"type":"Boolean"},"tableHeader":{},"useCanvasColumns":{"type":"Boolean"},"columnStrokeColor":{},"columnStrokeWidth":{},"highlightedDurations":{},"highlightColor":{},"taskElementHook":{},"layout":{},"enableCreateTask":{"type":"Boolean"},"onCreateTask":{},"onCreatedTask":{}},
|
19516
|
+
{"rows":{},"tasks":{},"timeRanges":{},"data":{},"from":{},"to":{},"selectedCreator":{},"allCreators":{},"isDateSelected":{"type":"Boolean"},"rowPadding":{},"rowHeight":{},"minWidth":{},"fitWidth":{"type":"Boolean"},"classes":{},"headers":{},"zoomLevels":{},"taskContent":{},"tableWidth":{},"resizeHandleWidth":{},"onTaskButtonClick":{},"dateAdapter":{},"magnetUnit":{},"magnetOffset":{},"columnUnit":{},"columnOffset":{},"ganttTableModules":{},"ganttBodyModules":{},"reflectOnParentRows":{"type":"Boolean"},"reflectOnChildRows":{"type":"Boolean"},"tableHeader":{},"useCanvasColumns":{"type":"Boolean"},"columnStrokeColor":{},"columnStrokeWidth":{},"highlightedDurations":{},"highlightColor":{},"taskElementHook":{},"layout":{},"enableCreateTask":{"type":"Boolean"},"onCreateTask":{},"onCreatedTask":{}},
|
19566
19517
|
[],
|
19567
19518
|
[
|
19568
19519
|
"columnService","api","taskFactory","rowFactory","dndManager","timeRangeFactory","utils","refreshTimeRanges","refreshTasks","getRowContainer","selectTask","unselectTasks","scrollToRow","scrollToTask","updateTask","updateTasks","removeTask","removeTasks","updateRow","updateRows","getRow","getTask","getTasks"
|