gantt-task-react-v 1.7.2 → 1.7.3
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/dist/gantt-task-react.es.js +151 -6
- package/dist/gantt-task-react.umd.js +151 -6
- package/dist/style.css +16 -7
- package/package.json +1 -1
|
@@ -11556,17 +11556,19 @@ const GanttTodayInner = ({
|
|
|
11556
11556
|
] });
|
|
11557
11557
|
};
|
|
11558
11558
|
const GanttToday = memo(GanttTodayInner);
|
|
11559
|
-
const calendarBottomText = "
|
|
11560
|
-
const calendarTopTick = "
|
|
11561
|
-
const calendarTopText = "
|
|
11562
|
-
const calendarHeader = "
|
|
11563
|
-
const
|
|
11564
|
-
const
|
|
11559
|
+
const calendarBottomText = "_calendarBottomText_1mt8w_1";
|
|
11560
|
+
const calendarTopTick = "_calendarTopTick_1mt8w_31";
|
|
11561
|
+
const calendarTopText = "_calendarTopText_1mt8w_41";
|
|
11562
|
+
const calendarHeader = "_calendarHeader_1mt8w_67";
|
|
11563
|
+
const calendarBottomSeparator = "_calendarBottomSeparator_1mt8w_81";
|
|
11564
|
+
const calendar = "_calendar_1mt8w_1";
|
|
11565
|
+
const calendarDragging$1 = "_calendarDragging_1mt8w_103";
|
|
11565
11566
|
const styles$c = {
|
|
11566
11567
|
calendarBottomText,
|
|
11567
11568
|
calendarTopTick,
|
|
11568
11569
|
calendarTopText,
|
|
11569
11570
|
calendarHeader,
|
|
11571
|
+
calendarBottomSeparator,
|
|
11570
11572
|
calendar,
|
|
11571
11573
|
calendarDragging: calendarDragging$1
|
|
11572
11574
|
};
|
|
@@ -11773,6 +11775,19 @@ const Calendar = ({
|
|
|
11773
11775
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11774
11776
|
const date = getDate(i);
|
|
11775
11777
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11778
|
+
bottomValues2.push(
|
|
11779
|
+
/* @__PURE__ */ jsx(
|
|
11780
|
+
"line",
|
|
11781
|
+
{
|
|
11782
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11783
|
+
y1: 0,
|
|
11784
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11785
|
+
y2: headerHeight,
|
|
11786
|
+
className: styles$c.calendarBottomSeparator
|
|
11787
|
+
},
|
|
11788
|
+
`year-sep-${i}`
|
|
11789
|
+
)
|
|
11790
|
+
);
|
|
11776
11791
|
bottomValues2.push(
|
|
11777
11792
|
renderBottomText(
|
|
11778
11793
|
columnWidth * i + columnWidth * 0.5,
|
|
@@ -11806,9 +11821,35 @@ const Calendar = ({
|
|
|
11806
11821
|
const topValues2 = [];
|
|
11807
11822
|
const bottomValues2 = [];
|
|
11808
11823
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11824
|
+
bottomValues2.push(
|
|
11825
|
+
/* @__PURE__ */ jsx(
|
|
11826
|
+
"line",
|
|
11827
|
+
{
|
|
11828
|
+
x1: 0,
|
|
11829
|
+
y1: topDefaultHeight,
|
|
11830
|
+
x2: fullSvgWidth,
|
|
11831
|
+
y2: topDefaultHeight,
|
|
11832
|
+
className: styles$c.calendarBottomSeparator
|
|
11833
|
+
},
|
|
11834
|
+
"month-top-border"
|
|
11835
|
+
)
|
|
11836
|
+
);
|
|
11809
11837
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11810
11838
|
const date = getDate(i);
|
|
11811
11839
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11840
|
+
bottomValues2.push(
|
|
11841
|
+
/* @__PURE__ */ jsx(
|
|
11842
|
+
"line",
|
|
11843
|
+
{
|
|
11844
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11845
|
+
y1: topDefaultHeight,
|
|
11846
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11847
|
+
y2: headerHeight,
|
|
11848
|
+
className: styles$c.calendarBottomSeparator
|
|
11849
|
+
},
|
|
11850
|
+
`month-sep-${i}`
|
|
11851
|
+
)
|
|
11852
|
+
);
|
|
11812
11853
|
bottomValues2.push(
|
|
11813
11854
|
renderBottomText(
|
|
11814
11855
|
additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
|
|
@@ -11850,6 +11891,19 @@ const Calendar = ({
|
|
|
11850
11891
|
const bottomValues2 = [];
|
|
11851
11892
|
let weeksCount = 1;
|
|
11852
11893
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11894
|
+
bottomValues2.push(
|
|
11895
|
+
/* @__PURE__ */ jsx(
|
|
11896
|
+
"line",
|
|
11897
|
+
{
|
|
11898
|
+
x1: 0,
|
|
11899
|
+
y1: topDefaultHeight,
|
|
11900
|
+
x2: fullSvgWidth,
|
|
11901
|
+
y2: topDefaultHeight,
|
|
11902
|
+
className: styles$c.calendarBottomSeparator
|
|
11903
|
+
},
|
|
11904
|
+
"week-top-border"
|
|
11905
|
+
)
|
|
11906
|
+
);
|
|
11853
11907
|
for (let i = endColumnIndex; i >= startColumnIndex; i--) {
|
|
11854
11908
|
const date = getDate(i);
|
|
11855
11909
|
const month = date.getMonth();
|
|
@@ -11859,6 +11913,19 @@ const Calendar = ({
|
|
|
11859
11913
|
topValue = renderTopHeaderByDate(date);
|
|
11860
11914
|
}
|
|
11861
11915
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11916
|
+
bottomValues2.push(
|
|
11917
|
+
/* @__PURE__ */ jsx(
|
|
11918
|
+
"line",
|
|
11919
|
+
{
|
|
11920
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11921
|
+
y1: topDefaultHeight,
|
|
11922
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11923
|
+
y2: headerHeight,
|
|
11924
|
+
className: styles$c.calendarBottomSeparator
|
|
11925
|
+
},
|
|
11926
|
+
`week-sep-${i}`
|
|
11927
|
+
)
|
|
11928
|
+
);
|
|
11862
11929
|
bottomValues2.push(
|
|
11863
11930
|
renderBottomText(
|
|
11864
11931
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
|
@@ -11894,11 +11961,37 @@ const Calendar = ({
|
|
|
11894
11961
|
const bottomValues2 = [];
|
|
11895
11962
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11896
11963
|
const renderedMonths = /* @__PURE__ */ new Set();
|
|
11964
|
+
bottomValues2.push(
|
|
11965
|
+
/* @__PURE__ */ jsx(
|
|
11966
|
+
"line",
|
|
11967
|
+
{
|
|
11968
|
+
x1: 0,
|
|
11969
|
+
y1: topDefaultHeight,
|
|
11970
|
+
x2: fullSvgWidth,
|
|
11971
|
+
y2: topDefaultHeight,
|
|
11972
|
+
className: styles$c.calendarBottomSeparator
|
|
11973
|
+
},
|
|
11974
|
+
"day-top-border"
|
|
11975
|
+
)
|
|
11976
|
+
);
|
|
11897
11977
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11898
11978
|
const date = getDate(i);
|
|
11899
11979
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11900
11980
|
const month = date.getMonth();
|
|
11901
11981
|
const fullYear = date.getFullYear();
|
|
11982
|
+
bottomValues2.push(
|
|
11983
|
+
/* @__PURE__ */ jsx(
|
|
11984
|
+
"line",
|
|
11985
|
+
{
|
|
11986
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11987
|
+
y1: topDefaultHeight,
|
|
11988
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11989
|
+
y2: headerHeight,
|
|
11990
|
+
className: styles$c.calendarBottomSeparator
|
|
11991
|
+
},
|
|
11992
|
+
`day-sep-${i}`
|
|
11993
|
+
)
|
|
11994
|
+
);
|
|
11902
11995
|
bottomValues2.push(
|
|
11903
11996
|
renderBottomText(
|
|
11904
11997
|
additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
|
|
@@ -11938,9 +12031,35 @@ const Calendar = ({
|
|
|
11938
12031
|
const bottomValues2 = [];
|
|
11939
12032
|
const ticks = dateSetup.viewMode === ViewMode.HalfDay ? 2 : 4;
|
|
11940
12033
|
const topDefaultHeight = headerHeight * 0.5;
|
|
12034
|
+
bottomValues2.push(
|
|
12035
|
+
/* @__PURE__ */ jsx(
|
|
12036
|
+
"line",
|
|
12037
|
+
{
|
|
12038
|
+
x1: 0,
|
|
12039
|
+
y1: topDefaultHeight,
|
|
12040
|
+
x2: fullSvgWidth,
|
|
12041
|
+
y2: topDefaultHeight,
|
|
12042
|
+
className: styles$c.calendarBottomSeparator
|
|
12043
|
+
},
|
|
12044
|
+
"partday-top-border"
|
|
12045
|
+
)
|
|
12046
|
+
);
|
|
11941
12047
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11942
12048
|
const date = getDate(i);
|
|
11943
12049
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
12050
|
+
bottomValues2.push(
|
|
12051
|
+
/* @__PURE__ */ jsx(
|
|
12052
|
+
"line",
|
|
12053
|
+
{
|
|
12054
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
12055
|
+
y1: topDefaultHeight,
|
|
12056
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
12057
|
+
y2: headerHeight,
|
|
12058
|
+
className: styles$c.calendarBottomSeparator
|
|
12059
|
+
},
|
|
12060
|
+
`partday-sep-${i}`
|
|
12061
|
+
)
|
|
12062
|
+
);
|
|
11944
12063
|
bottomValues2.push(
|
|
11945
12064
|
renderBottomText(
|
|
11946
12065
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
|
@@ -11978,9 +12097,35 @@ const Calendar = ({
|
|
|
11978
12097
|
const bottomValues2 = [];
|
|
11979
12098
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11980
12099
|
const renderedDates = /* @__PURE__ */ new Set();
|
|
12100
|
+
bottomValues2.push(
|
|
12101
|
+
/* @__PURE__ */ jsx(
|
|
12102
|
+
"line",
|
|
12103
|
+
{
|
|
12104
|
+
x1: 0,
|
|
12105
|
+
y1: topDefaultHeight,
|
|
12106
|
+
x2: fullSvgWidth,
|
|
12107
|
+
y2: topDefaultHeight,
|
|
12108
|
+
className: styles$c.calendarBottomSeparator
|
|
12109
|
+
},
|
|
12110
|
+
"hour-top-border"
|
|
12111
|
+
)
|
|
12112
|
+
);
|
|
11981
12113
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11982
12114
|
const date = getDate(i);
|
|
11983
12115
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
12116
|
+
bottomValues2.push(
|
|
12117
|
+
/* @__PURE__ */ jsx(
|
|
12118
|
+
"line",
|
|
12119
|
+
{
|
|
12120
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
12121
|
+
y1: topDefaultHeight,
|
|
12122
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
12123
|
+
y2: headerHeight,
|
|
12124
|
+
className: styles$c.calendarBottomSeparator
|
|
12125
|
+
},
|
|
12126
|
+
`hour-sep-${i}`
|
|
12127
|
+
)
|
|
12128
|
+
);
|
|
11984
12129
|
bottomValues2.push(
|
|
11985
12130
|
renderBottomText(
|
|
11986
12131
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
|
@@ -11573,17 +11573,19 @@
|
|
|
11573
11573
|
] });
|
|
11574
11574
|
};
|
|
11575
11575
|
const GanttToday = React.memo(GanttTodayInner);
|
|
11576
|
-
const calendarBottomText = "
|
|
11577
|
-
const calendarTopTick = "
|
|
11578
|
-
const calendarTopText = "
|
|
11579
|
-
const calendarHeader = "
|
|
11580
|
-
const
|
|
11581
|
-
const
|
|
11576
|
+
const calendarBottomText = "_calendarBottomText_1mt8w_1";
|
|
11577
|
+
const calendarTopTick = "_calendarTopTick_1mt8w_31";
|
|
11578
|
+
const calendarTopText = "_calendarTopText_1mt8w_41";
|
|
11579
|
+
const calendarHeader = "_calendarHeader_1mt8w_67";
|
|
11580
|
+
const calendarBottomSeparator = "_calendarBottomSeparator_1mt8w_81";
|
|
11581
|
+
const calendar = "_calendar_1mt8w_1";
|
|
11582
|
+
const calendarDragging$1 = "_calendarDragging_1mt8w_103";
|
|
11582
11583
|
const styles$c = {
|
|
11583
11584
|
calendarBottomText,
|
|
11584
11585
|
calendarTopTick,
|
|
11585
11586
|
calendarTopText,
|
|
11586
11587
|
calendarHeader,
|
|
11588
|
+
calendarBottomSeparator,
|
|
11587
11589
|
calendar,
|
|
11588
11590
|
calendarDragging: calendarDragging$1
|
|
11589
11591
|
};
|
|
@@ -11790,6 +11792,19 @@
|
|
|
11790
11792
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11791
11793
|
const date = getDate(i);
|
|
11792
11794
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11795
|
+
bottomValues2.push(
|
|
11796
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11797
|
+
"line",
|
|
11798
|
+
{
|
|
11799
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11800
|
+
y1: 0,
|
|
11801
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11802
|
+
y2: headerHeight,
|
|
11803
|
+
className: styles$c.calendarBottomSeparator
|
|
11804
|
+
},
|
|
11805
|
+
`year-sep-${i}`
|
|
11806
|
+
)
|
|
11807
|
+
);
|
|
11793
11808
|
bottomValues2.push(
|
|
11794
11809
|
renderBottomText(
|
|
11795
11810
|
columnWidth * i + columnWidth * 0.5,
|
|
@@ -11823,9 +11838,35 @@
|
|
|
11823
11838
|
const topValues2 = [];
|
|
11824
11839
|
const bottomValues2 = [];
|
|
11825
11840
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11841
|
+
bottomValues2.push(
|
|
11842
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11843
|
+
"line",
|
|
11844
|
+
{
|
|
11845
|
+
x1: 0,
|
|
11846
|
+
y1: topDefaultHeight,
|
|
11847
|
+
x2: fullSvgWidth,
|
|
11848
|
+
y2: topDefaultHeight,
|
|
11849
|
+
className: styles$c.calendarBottomSeparator
|
|
11850
|
+
},
|
|
11851
|
+
"month-top-border"
|
|
11852
|
+
)
|
|
11853
|
+
);
|
|
11826
11854
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11827
11855
|
const date = getDate(i);
|
|
11828
11856
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11857
|
+
bottomValues2.push(
|
|
11858
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11859
|
+
"line",
|
|
11860
|
+
{
|
|
11861
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11862
|
+
y1: topDefaultHeight,
|
|
11863
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11864
|
+
y2: headerHeight,
|
|
11865
|
+
className: styles$c.calendarBottomSeparator
|
|
11866
|
+
},
|
|
11867
|
+
`month-sep-${i}`
|
|
11868
|
+
)
|
|
11869
|
+
);
|
|
11829
11870
|
bottomValues2.push(
|
|
11830
11871
|
renderBottomText(
|
|
11831
11872
|
additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
|
|
@@ -11867,6 +11908,19 @@
|
|
|
11867
11908
|
const bottomValues2 = [];
|
|
11868
11909
|
let weeksCount = 1;
|
|
11869
11910
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11911
|
+
bottomValues2.push(
|
|
11912
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11913
|
+
"line",
|
|
11914
|
+
{
|
|
11915
|
+
x1: 0,
|
|
11916
|
+
y1: topDefaultHeight,
|
|
11917
|
+
x2: fullSvgWidth,
|
|
11918
|
+
y2: topDefaultHeight,
|
|
11919
|
+
className: styles$c.calendarBottomSeparator
|
|
11920
|
+
},
|
|
11921
|
+
"week-top-border"
|
|
11922
|
+
)
|
|
11923
|
+
);
|
|
11870
11924
|
for (let i = endColumnIndex; i >= startColumnIndex; i--) {
|
|
11871
11925
|
const date = getDate(i);
|
|
11872
11926
|
const month = date.getMonth();
|
|
@@ -11876,6 +11930,19 @@
|
|
|
11876
11930
|
topValue = renderTopHeaderByDate(date);
|
|
11877
11931
|
}
|
|
11878
11932
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11933
|
+
bottomValues2.push(
|
|
11934
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11935
|
+
"line",
|
|
11936
|
+
{
|
|
11937
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
11938
|
+
y1: topDefaultHeight,
|
|
11939
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
11940
|
+
y2: headerHeight,
|
|
11941
|
+
className: styles$c.calendarBottomSeparator
|
|
11942
|
+
},
|
|
11943
|
+
`week-sep-${i}`
|
|
11944
|
+
)
|
|
11945
|
+
);
|
|
11879
11946
|
bottomValues2.push(
|
|
11880
11947
|
renderBottomText(
|
|
11881
11948
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
|
@@ -11911,11 +11978,37 @@
|
|
|
11911
11978
|
const bottomValues2 = [];
|
|
11912
11979
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11913
11980
|
const renderedMonths = /* @__PURE__ */ new Set();
|
|
11981
|
+
bottomValues2.push(
|
|
11982
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11983
|
+
"line",
|
|
11984
|
+
{
|
|
11985
|
+
x1: 0,
|
|
11986
|
+
y1: topDefaultHeight,
|
|
11987
|
+
x2: fullSvgWidth,
|
|
11988
|
+
y2: topDefaultHeight,
|
|
11989
|
+
className: styles$c.calendarBottomSeparator
|
|
11990
|
+
},
|
|
11991
|
+
"day-top-border"
|
|
11992
|
+
)
|
|
11993
|
+
);
|
|
11914
11994
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11915
11995
|
const date = getDate(i);
|
|
11916
11996
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
11917
11997
|
const month = date.getMonth();
|
|
11918
11998
|
const fullYear = date.getFullYear();
|
|
11999
|
+
bottomValues2.push(
|
|
12000
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12001
|
+
"line",
|
|
12002
|
+
{
|
|
12003
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
12004
|
+
y1: topDefaultHeight,
|
|
12005
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
12006
|
+
y2: headerHeight,
|
|
12007
|
+
className: styles$c.calendarBottomSeparator
|
|
12008
|
+
},
|
|
12009
|
+
`day-sep-${i}`
|
|
12010
|
+
)
|
|
12011
|
+
);
|
|
11919
12012
|
bottomValues2.push(
|
|
11920
12013
|
renderBottomText(
|
|
11921
12014
|
additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
|
|
@@ -11955,9 +12048,35 @@
|
|
|
11955
12048
|
const bottomValues2 = [];
|
|
11956
12049
|
const ticks = dateSetup.viewMode === ViewMode.HalfDay ? 2 : 4;
|
|
11957
12050
|
const topDefaultHeight = headerHeight * 0.5;
|
|
12051
|
+
bottomValues2.push(
|
|
12052
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12053
|
+
"line",
|
|
12054
|
+
{
|
|
12055
|
+
x1: 0,
|
|
12056
|
+
y1: topDefaultHeight,
|
|
12057
|
+
x2: fullSvgWidth,
|
|
12058
|
+
y2: topDefaultHeight,
|
|
12059
|
+
className: styles$c.calendarBottomSeparator
|
|
12060
|
+
},
|
|
12061
|
+
"partday-top-border"
|
|
12062
|
+
)
|
|
12063
|
+
);
|
|
11958
12064
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11959
12065
|
const date = getDate(i);
|
|
11960
12066
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
12067
|
+
bottomValues2.push(
|
|
12068
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12069
|
+
"line",
|
|
12070
|
+
{
|
|
12071
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
12072
|
+
y1: topDefaultHeight,
|
|
12073
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
12074
|
+
y2: headerHeight,
|
|
12075
|
+
className: styles$c.calendarBottomSeparator
|
|
12076
|
+
},
|
|
12077
|
+
`partday-sep-${i}`
|
|
12078
|
+
)
|
|
12079
|
+
);
|
|
11961
12080
|
bottomValues2.push(
|
|
11962
12081
|
renderBottomText(
|
|
11963
12082
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
|
@@ -11995,9 +12114,35 @@
|
|
|
11995
12114
|
const bottomValues2 = [];
|
|
11996
12115
|
const topDefaultHeight = headerHeight * 0.5;
|
|
11997
12116
|
const renderedDates = /* @__PURE__ */ new Set();
|
|
12117
|
+
bottomValues2.push(
|
|
12118
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12119
|
+
"line",
|
|
12120
|
+
{
|
|
12121
|
+
x1: 0,
|
|
12122
|
+
y1: topDefaultHeight,
|
|
12123
|
+
x2: fullSvgWidth,
|
|
12124
|
+
y2: topDefaultHeight,
|
|
12125
|
+
className: styles$c.calendarBottomSeparator
|
|
12126
|
+
},
|
|
12127
|
+
"hour-top-border"
|
|
12128
|
+
)
|
|
12129
|
+
);
|
|
11998
12130
|
for (let i = startColumnIndex; i <= endColumnIndex; i++) {
|
|
11999
12131
|
const date = getDate(i);
|
|
12000
12132
|
const bottomValue = renderBottomHeaderByDate(date, i);
|
|
12133
|
+
bottomValues2.push(
|
|
12134
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12135
|
+
"line",
|
|
12136
|
+
{
|
|
12137
|
+
x1: additionalLeftSpace + columnWidth * i,
|
|
12138
|
+
y1: topDefaultHeight,
|
|
12139
|
+
x2: additionalLeftSpace + columnWidth * i,
|
|
12140
|
+
y2: headerHeight,
|
|
12141
|
+
className: styles$c.calendarBottomSeparator
|
|
12142
|
+
},
|
|
12143
|
+
`hour-sep-${i}`
|
|
12144
|
+
)
|
|
12145
|
+
);
|
|
12001
12146
|
bottomValues2.push(
|
|
12002
12147
|
renderBottomText(
|
|
12003
12148
|
additionalLeftSpace + columnWidth * (i + +rtl),
|
package/dist/style.css
CHANGED
|
@@ -534,10 +534,13 @@
|
|
|
534
534
|
._ganttTodayCircle_1oyhk_9 {
|
|
535
535
|
|
|
536
536
|
}
|
|
537
|
-
.
|
|
537
|
+
._calendarBottomText_1mt8w_1 {
|
|
538
538
|
text-anchor: middle;
|
|
539
539
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
540
|
-
fill: var(
|
|
540
|
+
fill: var(
|
|
541
|
+
--gantt-calendar-bottom-text-color,
|
|
542
|
+
var(--gantt-secondary-text-color)
|
|
543
|
+
);
|
|
541
544
|
-webkit-touch-callout: none;
|
|
542
545
|
-webkit-user-select: none;
|
|
543
546
|
-moz-user-select: none;
|
|
@@ -546,12 +549,12 @@
|
|
|
546
549
|
pointer-events: none;
|
|
547
550
|
}
|
|
548
551
|
|
|
549
|
-
.
|
|
552
|
+
._calendarTopTick_1mt8w_31 {
|
|
550
553
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
551
554
|
stroke: var(--gantt-calendar-top-divider-color, var(--gantt-divider-color));
|
|
552
555
|
}
|
|
553
556
|
|
|
554
|
-
.
|
|
557
|
+
._calendarTopText_1mt8w_41 {
|
|
555
558
|
text-anchor: middle;
|
|
556
559
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
557
560
|
fill: var(--gantt-calendar-top-text-color, var(--gantt-primary-text-color));
|
|
@@ -564,19 +567,25 @@
|
|
|
564
567
|
font-weight: bold;
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
.
|
|
570
|
+
._calendarHeader_1mt8w_67 {
|
|
568
571
|
fill: transparent;
|
|
569
572
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
570
573
|
stroke: var(--gantt-calendar-stroke-color);
|
|
571
574
|
stroke-width: 1.4;
|
|
572
575
|
}
|
|
573
576
|
|
|
574
|
-
.
|
|
577
|
+
._calendarBottomSeparator_1mt8w_81 {
|
|
578
|
+
/*noinspection CssUnresolvedCustomProperty*/
|
|
579
|
+
stroke: var(--gantt-calendar-stroke-color, #e0e0e0);
|
|
580
|
+
stroke-width: 1;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
._calendar_1mt8w_1 {
|
|
575
584
|
cursor: auto;
|
|
576
585
|
user-select: none;
|
|
577
586
|
}
|
|
578
587
|
|
|
579
|
-
.
|
|
588
|
+
._calendarDragging_1mt8w_103 {
|
|
580
589
|
cursor: ew-resize;
|
|
581
590
|
}
|
|
582
591
|
._arrow_clickable_3u3q2_1 {
|
package/package.json
CHANGED