@syncfusion/ej2-gantt
Advanced tools
Comparing version 24.2.3 to 24.2.4
/*! | ||
* filename: index.d.ts | ||
* version : 24.2.3 | ||
* version : 24.2.4 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-gantt@*", | ||
"_id": "@syncfusion/ej2-gantt@24.1.47", | ||
"_id": "@syncfusion/ej2-gantt@24.2.3", | ||
"_inBundle": false, | ||
"_integrity": "sha512-aHFD/Y9k33Z6sCbDuptKxMmfGdbJej9yp4ABSvk20uPxEQxYRLMm8bcNJM7G6q/TMGLcAHqteBUBSRGO/pf2UQ==", | ||
"_integrity": "sha512-HoyReH09UNuKZybVo+r3qyujSMYtoBhR7BZlrEJjWe2cE3PNgXDiXHlVKRL+YhHwpoAq7j4pJ+L710k9LEAEzA==", | ||
"_location": "/@syncfusion/ej2-gantt", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-24.1.47.tgz", | ||
"_shasum": "83f0370855b39c1c307949bbf6759ae121de6166", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-24.2.3.tgz", | ||
"_shasum": "d038f7274fde23046fbe4ac726a913a69287029f", | ||
"_spec": "@syncfusion/ej2-gantt@*", | ||
@@ -43,13 +43,13 @@ "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"@syncfusion/ej2-data": "~24.2.3", | ||
"@syncfusion/ej2-dropdowns": "~24.2.3", | ||
"@syncfusion/ej2-grids": "~24.2.3", | ||
"@syncfusion/ej2-inputs": "~24.2.3", | ||
"@syncfusion/ej2-layouts": "~24.2.3", | ||
"@syncfusion/ej2-lists": "~24.2.3", | ||
"@syncfusion/ej2-navigations": "~24.2.3", | ||
"@syncfusion/ej2-notifications": "~24.2.3", | ||
"@syncfusion/ej2-dropdowns": "~24.2.4", | ||
"@syncfusion/ej2-grids": "~24.2.4", | ||
"@syncfusion/ej2-inputs": "~24.2.4", | ||
"@syncfusion/ej2-layouts": "~24.2.4", | ||
"@syncfusion/ej2-lists": "~24.2.4", | ||
"@syncfusion/ej2-navigations": "~24.2.4", | ||
"@syncfusion/ej2-notifications": "~24.2.4", | ||
"@syncfusion/ej2-popups": "~24.2.3", | ||
"@syncfusion/ej2-richtexteditor": "~24.2.3", | ||
"@syncfusion/ej2-richtexteditor": "~24.2.4", | ||
"@syncfusion/ej2-svg-base": "~24.2.3", | ||
"@syncfusion/ej2-treegrid": "~24.2.3" | ||
"@syncfusion/ej2-treegrid": "~24.2.4" | ||
}, | ||
@@ -79,4 +79,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "24.2.3", | ||
"version": "24.2.4", | ||
"sideEffects": false | ||
} |
@@ -194,2 +194,3 @@ import { Dialog } from '@syncfusion/ej2-popups'; | ||
private createDivElement; | ||
private createFormElement; | ||
private createInputElement; | ||
@@ -196,0 +197,0 @@ private renderTabItems; |
@@ -66,2 +66,8 @@ import { PdfTreeGrid } from '../pdf-treegrid'; | ||
var font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, this.style.fontStyle); | ||
if (this.row.isParentRow) { | ||
font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, PdfFontStyle.Bold); | ||
} | ||
else { | ||
font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, this.style.fontStyle); | ||
} | ||
if (this.row.treegrid.ganttStyle.font) { | ||
@@ -102,3 +108,9 @@ font = this.row.treegrid.ganttStyle.font; | ||
/* eslint-disable */ | ||
var font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, this.style.fontStyle); | ||
var font = null; | ||
if (this.row.isParentRow) { | ||
font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, PdfFontStyle.Bold); | ||
} | ||
else { | ||
font = new PdfStandardFont(this.row.treegrid.ganttStyle.fontFamily, this.style.fontSize, this.style.fontStyle); | ||
} | ||
if (this.row.treegrid.ganttStyle.font) { | ||
@@ -109,3 +121,8 @@ font = this.row.treegrid.ganttStyle.font; | ||
var slr = layouter.layout(currentValue, font, this.style.format, new SizeF(width, 0), false, new SizeF(0, 0)); | ||
height += slr.actualSize.height; | ||
if (currentValue.length > 80) { | ||
height += slr.actualSize.height + 20; | ||
} | ||
else { | ||
height += slr.actualSize.height; | ||
} | ||
height += (this.style.borders.top.width + this.style.borders.bottom.width) * 2; | ||
@@ -202,3 +219,3 @@ } | ||
/* eslint-disable-next-line */ | ||
graphics.drawString(temp, font, textPen, textBrush, (innerLayoutArea.x + leftAdjustment), this.isHeaderCell ? innerLayoutArea.y - 16 : innerLayoutArea.y, (innerLayoutArea.width - leftAdjustment - padding), (innerLayoutArea.height - padding), this.style.format); | ||
graphics.drawString(temp, font, textPen, textBrush, (innerLayoutArea.x + leftAdjustment), this.isHeaderCell ? innerLayoutArea.y - 16 : innerLayoutArea.y - 3, (innerLayoutArea.width - leftAdjustment - padding), (innerLayoutArea.height - padding), this.style.format); | ||
} | ||
@@ -205,0 +222,0 @@ else { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25418209
213797