@worktile/gantt 19.0.8-next.2 → 19.0.8-next.4
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/fesm2022/worktile-gantt.mjs +41 -20
- package/fesm2022/worktile-gantt.mjs.map +1 -1
- package/gantt.component.scss +4 -0
- package/package.json +1 -1
- package/views/day.d.ts +1 -0
- package/views/view.d.ts +7 -0
package/gantt.component.scss
CHANGED
package/package.json
CHANGED
package/views/day.d.ts
CHANGED
package/views/view.d.ts
CHANGED
|
@@ -87,4 +87,11 @@ export declare abstract class GanttView {
|
|
|
87
87
|
getDateByXPoint(x: number): GanttDate;
|
|
88
88
|
getDateRangeWidth(start: GanttDate, end: GanttDate): number;
|
|
89
89
|
getMinRangeWidthByPrecisionUnit(date: GanttDate): number;
|
|
90
|
+
/**
|
|
91
|
+
* 根据起始日期和宽度计算结束日期
|
|
92
|
+
* @param start 起始日期
|
|
93
|
+
* @param width 视觉宽度
|
|
94
|
+
* @returns 结束日期
|
|
95
|
+
*/
|
|
96
|
+
getEndDateByWidth(start: GanttDate, width: number): GanttDate;
|
|
90
97
|
}
|