@ehfuse/taskbox 0.5.215 → 0.5.217
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/charts/CumulativeFlowChart.d.ts +3 -1
- package/dist/charts/LeadTimeDistributionChart.d.ts +3 -1
- package/dist/charts/SprintBurndownChart.d.ts +3 -1
- package/dist/charts/chartTheme.d.ts +23 -0
- package/dist/index.esm.js +26 -26
- package/dist/index.esm.js.map +3 -3
- package/dist/index.js +26 -26
- package/dist/index.js.map +3 -3
- package/dist/print/index.d.ts +1 -1
- package/dist/print/printText.d.ts +5 -0
- package/package.json +1 -1
package/dist/print/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export { formatPrintDate, formatPrintStamp, toTaskPrintRow, type TaskPrintGroup, type TaskPrintHeader, type TaskPrintRow, } from "./taskPrintData";
|
|
10
10
|
export { CONT_BODY_TOP, FIRST_BODY_TOP, LANDSCAPE_HEIGHT, LANDSCAPE_WIDTH, MARGIN_X, PORTRAIT_HEIGHT, PORTRAIT_WIDTH, renderPrintHeader, wrapPrintPage, } from "./taskPrintFrame";
|
|
11
|
-
export { escapePrintXml, estimatePrintTextWidth, wrapPrintText } from "./printText";
|
|
11
|
+
export { clampPrintText, escapePrintXml, estimatePrintTextWidth, wrapPrintText } from "./printText";
|
|
12
12
|
export { buildTaskListPrintSvgPages } from "./buildTaskListPrintSvg";
|
|
13
13
|
export { buildTaskDetailPrintSvgPages, type TaskDetailPrintData } from "./buildTaskDetailPrintSvg";
|
|
14
14
|
export { buildTaskTimelinePrintSvgPages, toTimelinePrintRow, type TimelinePrintRow, } from "./buildTaskTimelinePrintSvg";
|
|
@@ -12,3 +12,8 @@ export declare function escapePrintXml(value: unknown): string;
|
|
|
12
12
|
export declare function estimatePrintTextWidth(value: unknown, fontSize: number): number;
|
|
13
13
|
/** 출력 문단을 글자 수 기준으로 줄바꿈한다(빈 값은 "-" 한 줄). */
|
|
14
14
|
export declare function wrapPrintText(value: unknown, maxCharsPerLine: number): string[];
|
|
15
|
+
/**
|
|
16
|
+
* 주어진 폭에 맞게 한 줄로 잘라 말줄임(…)한다 — 글자 수가 아니라 **추정 렌더 폭**으로 잰다.
|
|
17
|
+
* 한글은 영문의 약 2배 폭이라 글자 수로 자르면 한글 문장이 칸을 넘어 옆 열을 침범한다.
|
|
18
|
+
*/
|
|
19
|
+
export declare function clampPrintText(value: unknown, maxWidth: number, fontSize: number): string;
|
package/package.json
CHANGED