@k-table/sheet-core 1.0.16 → 1.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/dist/chunk-2Z7KMZEW.js +1 -1
- package/dist/chunk-FRYFH3X6.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/migrate/index.cjs +1 -1
- package/dist/migrate/index.js +1 -1
- package/dist/sheet-template-model.cjs +1 -1
- package/dist/sheet-template-model.js +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1437,6 +1437,8 @@ interface LayoutLinesResult {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
/** shrinkToFit 字号下限(pt)。1pt 几乎能缩尽,避免触底后折行把行撑开。 */
|
|
1439
1439
|
declare const MIN_SHRINK_FONT_PT = 1;
|
|
1440
|
+
/** 行盒 = 字高 px × 此值。预览 CSS line-height 必须用同一个数。 */
|
|
1441
|
+
declare const SHRINK_LINE_HEIGHT = 1.2;
|
|
1440
1442
|
/**
|
|
1441
1443
|
* 换行 / shrink 测量用字重斜体。须与渲染侧一致,否则加粗会低估宽度。
|
|
1442
1444
|
* 字重用 CSS `bold`(与 sheet-report `fontWeight: "bold"` 对齐)。
|
|
@@ -1458,7 +1460,10 @@ interface TextMeasurer {
|
|
|
1458
1460
|
}
|
|
1459
1461
|
/** 软换行(measurer 版,纯逻辑,无 DOM 依赖)。 */
|
|
1460
1462
|
declare function wrapTextToWidthM(measurer: TextMeasurer, font: string, text: string, maxWidth: number): string[];
|
|
1461
|
-
/**
|
|
1463
|
+
/**
|
|
1464
|
+
* shrinkToFit(measurer 版):先按 wrapText 折行,仍超格再缩字;仅 shrink 只压宽不自动折。
|
|
1465
|
+
* cellInnerWidth / cellInnerHeight 是文字盒本身(已扣边框和内边距),这里不再留空隙。
|
|
1466
|
+
*/
|
|
1462
1467
|
declare function layoutLinesForCellM(measurer: TextMeasurer, text: string, cellInnerWidth: number, cellInnerHeight: number, baseFontSizePt: number, wrapText: boolean, shrinkToFit: boolean, fontFamily?: string, fontStyle?: LayoutFontStyleOpts): LayoutLinesResult;
|
|
1463
1468
|
|
|
1464
1469
|
/** CSS px/inch,与画布及 Excel 导出换算一致 */
|
|
@@ -2073,4 +2078,4 @@ declare function computeWorkbookIncremental(input: IncrementalInput): ComputeRes
|
|
|
2073
2078
|
*/
|
|
2074
2079
|
declare const SHEET_CORE_PACKAGE: "@k-table/sheet-core";
|
|
2075
2080
|
|
|
2076
|
-
export { type A1RangeRef, type A1Ref, type A1SingleRef, AggregateEmptyAs, type ApplyHeaderFooterOptions, type AssetEmbedDef, type AssetKind, type AstNode, BUILTIN_PARAM_CATALOG_CODES, type BinOp, type BorderApplySpec, BorderPattern, type BorderPreset, BorderWidth, type BuiltinParamCatalogCode, CHROME_GUTTER_COL_WIDTH_PX, CHROME_GUTTER_ROW_HEIGHT_PX, CSS_PX_PER_INCH, type CellBindingKind, type CellBindingMeta, CellData, type CellFormulaBindingMeta, type CellLayoutHint, type CellRoundingMeta, type ChartDataSource, type ChartEmbedDef, type ComboInstanceDataV3, type ComboSharedContext, type CompileResult, type ComputeFieldLhs, type ComputeInput, type ComputeIssue, type ComputePass, type ComputeResult, type ComputeSystemParamsProvider, DEFAULT_FONT_SIZE_PT, DEFAULT_IMPORT_OPTIONS, DESIGN_FIELD_SHORTHAND_SKILLS, DICT_CATALOG_META_KEY, DICT_OVERLAYS_BY_USER_KEY, DepGraph, type DesignFieldMetaFromShorthand, type DictSnapshotEntry, type DictSnapshotsMap, EXCEL_COL_DIGIT_WIDTH_PX, EXCEL_COL_PADDING_PX, EXCEL_DEFAULT_COL_WIDTH_CHAR, EXCEL_DEFAULT_ROW_HEIGHT_PT, type EmbedAnchorCell, type EmbedAnchorRect, type EmbedBase, type EmbedBoxPt, type EmbedInstanceState, type EmbedPrintContext, type EvalContext, type ExcelImportBorderSide, type ExcelImportCell, type ExcelImportCellStyle, type ExcelImportIntermediateV1, type ExcelImportMerge, type ExcelImportOptions, type ExcelImportRichRun, type ExcelImportStats, FORMULA_RUN_WHEN_LABELS, FUNCTIONS, type FieldDataCtx, type FieldDefRegisterMode, type FieldEvalContext, type FieldInputWhen, type FieldLhs, type FieldPullRuleDef, type FieldRegistryIndex, type FieldRoundingTarget, type FieldRunContextOptions, type FillExtension, type FitGridToPageOptions, type FnImpl, type FormulaAny, type FormulaArray, FormulaCatalogEntry, FormulaCatalogTarget, type FormulaError, type FormulaInputTarget, type FormulaRunWhen, type FormulaStdLibOptions, type FormulaValue, type FormulaValueKind, type GridLayoutMode, type HeaderFooterStrip, type HydrateFieldDataOptions, INSTANCE_DATA_SCHEMA_V2, INSTANCE_DATA_SCHEMA_V3, type IncrementalInput, type InstanceDataRoot, type InstanceDictOverlaysByUser, type InstanceFieldPackV2, type InstanceFieldPackV2Ext, type InstanceSubTablePack, type InstanceSubTablesData, KtTemplateRoot, LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS, type LayoutFontStyleOpts, type LayoutLinesResult, type LogicalState, MAX_FONT_SIZE_PT, MIN_FONT_SIZE_PT, MIN_SHRINK_FONT_PT, MM_PER_INCH, type MasterCell, MergeIndex, MergeRect, type NodeId, PageSettings, type PaginateReportRowsArgs, type ParsedFieldPath, Parser, type PasteCellPatch, type PrintPageSlot, type PullContext, type PullContextSource, ROUNDING_LAYER_ORDER, ROUNDING_WHEN_LABELS, ROUND_MODE_LETTER_MAP, RUNTIME_COMPUTED_SYSTEM_PARAM_CODES, RUNTIME_ONLY_SYSTEM_PARAM_CODES, type Rect, type RefreshPolicy, type RenderContext, type ReportFieldData, type ReportHeaderFooterStrips, type ReportPaginationResult, type ReportPhysicalPage, type ReportRowSegment, type RescaleOptions, type RescaleSheetResult, type RescaleTargetSize, type RoundingLayer, type RoundingLayerScope, type RoundingOverrideEntry, type RoundingOverrideMap, type RoundingTriggerFlags, type RoundingWhenPreset, type RuntimeOnlySystemParamCode, SHEET_COLOR_ROW_STANDARD, SHEET_COLOR_ROW_THEME, SHEET_CORE_PACKAGE, SHEET_ENGINE_CONFIG, SHEET_FONT_OPTIONS, SUBTABLE_SLOT_BINDING_SKILLS, type SelectionRect, Sheet, type SheetDataRegion, SheetItem, type SignatureSlotState, type SignatureSlotStatus, type SignatureWorkflowReport, type SjsBinOp, SjsCycleError, SjsError, type SjsFn, type SjsNode, type SjsObject, type SjsProgram, type SjsStmt, type SjsValue, type SpliceDiagnostic, type SpliceDiagnosticFix, type SpliceDiagnosticLevel, type SpliceDiagnosticsReport, type SpliceDiagnosticsSignals, type SpliceMisalignSignal, type SpliceUnboundSlotSignal, type SubTableRegionConfig, type SystemParamBranding, type SystemParamId, type SystemParamMap, TEMPLATE_DICT_CATALOG_VERSION, TEMPLATE_WORKBOOK_JSON_VERSION, type TemplateDictCatalog, type TemplateDictDef, type TemplateDictItem, type TemplateDictKind, TemplateFieldDef, TemplateFieldRegistry, type TemplateSheetItem, TemplateSubFieldDef, type TemplateWorkbookState, type TextMeasurer, type Token, type TokenType, type UpsertFieldDefInput, V_NULL, Workbook, type WorkbookEmbedDef, WorkbookMeta, WorkbookNamedRange, type WorkbookPrintPlan, WorkbookScripts, activeSubRowIndices, applyBorderPresetToSheet, applyFieldRoundingForStore, applyNumericRounding, applyReportHeaderFooterTemplate, applyRounding, applyRoundingForInstancePlain, applySignatureResultsToEmbedStates, buildActiveSubRowCounts, buildFieldRunContext, buildFormulaStdLib, buildHeaderFooterTemplateWorkbook, buildPastePatches, buildRoundingLayers, buildSignatureWorkflow, buildSpliceDiagnostics, catalogEntryNodeId, catalogEntryRunWhen, cellKey, cellMetaCompoundKey, clampFontSizePt, clampZoom, cloneFieldRegistry, coerceBool, coerceNum, coerceStr, colIndexToLetters, collectReferencedRoots, columnIndexToLetters, columnLettersToIndex, comboDataFromRoot, compileFormulaAssignment, computeFillPreviewSelection, computeFitScale, computeWorkbook, computeWorkbookIncremental, countActiveSubRows, createDefaultPage, createEmptySheet, createEmptyWorkbook, cssOneCmToCssPx, cssPxToCm, cssPxToFontSizePt, cssPxToPt, defaultPageSettings, describeDictKind, describeRoundingWhenPreset, detectFillExtension, detectGridLayoutMode, emptyFieldPackV2, emptyFieldRegistry, enrichParamsForFieldRuntime, evaluate, excelColWidthToPx, excelRowHeightPtToPx, expandFieldTokens, expandReportSlotPages, expandSystemParamTemplate, extensionStripRect, extractBaseFieldDefsFromWorkbookEnvelope, extractFormulaDeps, extractHeaderFooterStrips, extractRowInputFields, fieldPackFromRoot, fieldPartitionKey, fillSparseDemoCells, fitSheetDataGridToPage, fontSizePtToCssPx, forEachArrayValue, formatA1, formatA1Range, formatA1Single, formatFieldTypeShorthand, formatNumericByMeta, formatSelectionA1, getColWidth, getFieldRegistryFromMeta, getRoundingForCommit, getRoundingForComputeMeta, getRoundingMetaFromCellMetaEntry, getRowHeight, gridColumnIndexToLetters, gridNodeId, guessSheetFontIdFromCssFontFamily, hasEmbedsToPaint, hydrateSheetFieldData, hydrateWorkbookFieldData, indexFieldRegistry, injectBaseFieldRegistryIntoWorkbookEnvelope, isComboInstanceDataV3, isErr, isFieldRegistryRecord, isInstanceFieldPackV2, isKnownSystemParamId, isLegacyInstanceDataV1, isRuntimeComputedSystemParam, isSubColumnPresent, isSubFieldRichPersist, jsPdfFormat, jsPdfOrientation, layoutFontCss, layoutLinesForCellM, lettersToColIndex, lhsToRoundingTarget, listKnownSystemParamIdsForTemplate, listTemplateSystemParamTokenEntries, lockFillAxis, mainFieldNodeId, marginsCmToMm, marginsCmToPt, matrixToTsv, mergeBakedFieldRegistry, mergeBaseFieldPartition, mergeInstanceDataJsonWithLogicalState, mergeInstanceDataJsonWithSubTables, mergeRoundingOverrideLayers, mergeSubFieldCellFromAccValue, mergeSystemAndUserParams, mmToCssPx, nextPendingSignature, normSelectionRect, normalizeFieldDef, normalizeFieldKey, normalizeFieldRegistry, normalizeFormulaRunWhen, normalizePageSettings, normalizeRect, normalizeRoundingTriggers, normalizeSheetToCompactGrid, normalizeSubFieldDef, normalizeSubFieldSlotForFormula, normalizeSystemParamId, pageAtRuleCss, paginateReportRows, paperSizeMm, paperSizeMmFromPage, paperSizeMmRaw, parseA1, parseA1Cell, parseA1OrRangeToSelection, parseA1Ref, parseA1Single, parseCellKey, parseCellMetaCompoundKey, parseFieldPath, parseFieldRegistryFromCapabilities, parseFieldTypeSpec, parseFormula, parseGridRcAddress, parseInstanceDataRoot, parseInstanceSubTables, parseInternalR1C1Ref, parseLogicalState, parseRoundingJson, parseSjsExpr, parseSjsProgram, parseWorkbookJson, physicalPaperSizeMmFromPage, pickLogicalStateFromRoot, presetToTriggers, printableSizeCssPx, printableSizeMm, ptToCssPx, pxToExcelColWidth, pxToExcelRowHeightPt, readSelectionAsTsv, rectContains, rectsOverlap, rescaleReportSheet, rescaleReportWorkbook, resolveBaseFieldDefsFromBaseSource, resolveFieldDefRegisterMode, resolveInputDeps, resolveRoundingForTarget, resolveRoundingFromFieldPath, resolveSheetLogicalPage, resolveSubRowStatKey, roundFinite, roundToInterval, roundToSignificant, roundingForCompute, runSjs, runSjsExpr, runWhenToStorage, scaleWidthsProportional, scriptNodeId, selectionIsUnmergedRectangle, serializeFieldPackV2, serializeWorkbook, setFieldRegistryOnMeta, sheetDataColWidthPx, sheetDataGridHeightPx, sheetDataGridWidthPx, sheetDataRegion, sheetDataRowHeightPx, sheetFontFamilyCss, sheetFontFamilyExcelName, sheetPrintFitScale, shouldComputeFieldByInput, shouldRunFieldFormula, shouldRunScriptBlock, signatureResultsFromEmbedStates, signatureSpecsFromEmbeds, sjsTokenize, sliceRectangles, splitBindingAndTypeSuffix, stripFieldPrefix, stripRuntimeComputedUserParams, subFieldNodeId, subFieldPersistValueFromCell, targetRectFromExtension, targetToOverrideKey, templateContainsSystemParamTokens, toA1, tokenize, triggersToPreset, tryParseNumericString, tsvToMatrix, vBool, vErr, vNum, vStr, wrapTextToWidthM };
|
|
2081
|
+
export { type A1RangeRef, type A1Ref, type A1SingleRef, AggregateEmptyAs, type ApplyHeaderFooterOptions, type AssetEmbedDef, type AssetKind, type AstNode, BUILTIN_PARAM_CATALOG_CODES, type BinOp, type BorderApplySpec, BorderPattern, type BorderPreset, BorderWidth, type BuiltinParamCatalogCode, CHROME_GUTTER_COL_WIDTH_PX, CHROME_GUTTER_ROW_HEIGHT_PX, CSS_PX_PER_INCH, type CellBindingKind, type CellBindingMeta, CellData, type CellFormulaBindingMeta, type CellLayoutHint, type CellRoundingMeta, type ChartDataSource, type ChartEmbedDef, type ComboInstanceDataV3, type ComboSharedContext, type CompileResult, type ComputeFieldLhs, type ComputeInput, type ComputeIssue, type ComputePass, type ComputeResult, type ComputeSystemParamsProvider, DEFAULT_FONT_SIZE_PT, DEFAULT_IMPORT_OPTIONS, DESIGN_FIELD_SHORTHAND_SKILLS, DICT_CATALOG_META_KEY, DICT_OVERLAYS_BY_USER_KEY, DepGraph, type DesignFieldMetaFromShorthand, type DictSnapshotEntry, type DictSnapshotsMap, EXCEL_COL_DIGIT_WIDTH_PX, EXCEL_COL_PADDING_PX, EXCEL_DEFAULT_COL_WIDTH_CHAR, EXCEL_DEFAULT_ROW_HEIGHT_PT, type EmbedAnchorCell, type EmbedAnchorRect, type EmbedBase, type EmbedBoxPt, type EmbedInstanceState, type EmbedPrintContext, type EvalContext, type ExcelImportBorderSide, type ExcelImportCell, type ExcelImportCellStyle, type ExcelImportIntermediateV1, type ExcelImportMerge, type ExcelImportOptions, type ExcelImportRichRun, type ExcelImportStats, FORMULA_RUN_WHEN_LABELS, FUNCTIONS, type FieldDataCtx, type FieldDefRegisterMode, type FieldEvalContext, type FieldInputWhen, type FieldLhs, type FieldPullRuleDef, type FieldRegistryIndex, type FieldRoundingTarget, type FieldRunContextOptions, type FillExtension, type FitGridToPageOptions, type FnImpl, type FormulaAny, type FormulaArray, FormulaCatalogEntry, FormulaCatalogTarget, type FormulaError, type FormulaInputTarget, type FormulaRunWhen, type FormulaStdLibOptions, type FormulaValue, type FormulaValueKind, type GridLayoutMode, type HeaderFooterStrip, type HydrateFieldDataOptions, INSTANCE_DATA_SCHEMA_V2, INSTANCE_DATA_SCHEMA_V3, type IncrementalInput, type InstanceDataRoot, type InstanceDictOverlaysByUser, type InstanceFieldPackV2, type InstanceFieldPackV2Ext, type InstanceSubTablePack, type InstanceSubTablesData, KtTemplateRoot, LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS, type LayoutFontStyleOpts, type LayoutLinesResult, type LogicalState, MAX_FONT_SIZE_PT, MIN_FONT_SIZE_PT, MIN_SHRINK_FONT_PT, MM_PER_INCH, type MasterCell, MergeIndex, MergeRect, type NodeId, PageSettings, type PaginateReportRowsArgs, type ParsedFieldPath, Parser, type PasteCellPatch, type PrintPageSlot, type PullContext, type PullContextSource, ROUNDING_LAYER_ORDER, ROUNDING_WHEN_LABELS, ROUND_MODE_LETTER_MAP, RUNTIME_COMPUTED_SYSTEM_PARAM_CODES, RUNTIME_ONLY_SYSTEM_PARAM_CODES, type Rect, type RefreshPolicy, type RenderContext, type ReportFieldData, type ReportHeaderFooterStrips, type ReportPaginationResult, type ReportPhysicalPage, type ReportRowSegment, type RescaleOptions, type RescaleSheetResult, type RescaleTargetSize, type RoundingLayer, type RoundingLayerScope, type RoundingOverrideEntry, type RoundingOverrideMap, type RoundingTriggerFlags, type RoundingWhenPreset, type RuntimeOnlySystemParamCode, SHEET_COLOR_ROW_STANDARD, SHEET_COLOR_ROW_THEME, SHEET_CORE_PACKAGE, SHEET_ENGINE_CONFIG, SHEET_FONT_OPTIONS, SHRINK_LINE_HEIGHT, SUBTABLE_SLOT_BINDING_SKILLS, type SelectionRect, Sheet, type SheetDataRegion, SheetItem, type SignatureSlotState, type SignatureSlotStatus, type SignatureWorkflowReport, type SjsBinOp, SjsCycleError, SjsError, type SjsFn, type SjsNode, type SjsObject, type SjsProgram, type SjsStmt, type SjsValue, type SpliceDiagnostic, type SpliceDiagnosticFix, type SpliceDiagnosticLevel, type SpliceDiagnosticsReport, type SpliceDiagnosticsSignals, type SpliceMisalignSignal, type SpliceUnboundSlotSignal, type SubTableRegionConfig, type SystemParamBranding, type SystemParamId, type SystemParamMap, TEMPLATE_DICT_CATALOG_VERSION, TEMPLATE_WORKBOOK_JSON_VERSION, type TemplateDictCatalog, type TemplateDictDef, type TemplateDictItem, type TemplateDictKind, TemplateFieldDef, TemplateFieldRegistry, type TemplateSheetItem, TemplateSubFieldDef, type TemplateWorkbookState, type TextMeasurer, type Token, type TokenType, type UpsertFieldDefInput, V_NULL, Workbook, type WorkbookEmbedDef, WorkbookMeta, WorkbookNamedRange, type WorkbookPrintPlan, WorkbookScripts, activeSubRowIndices, applyBorderPresetToSheet, applyFieldRoundingForStore, applyNumericRounding, applyReportHeaderFooterTemplate, applyRounding, applyRoundingForInstancePlain, applySignatureResultsToEmbedStates, buildActiveSubRowCounts, buildFieldRunContext, buildFormulaStdLib, buildHeaderFooterTemplateWorkbook, buildPastePatches, buildRoundingLayers, buildSignatureWorkflow, buildSpliceDiagnostics, catalogEntryNodeId, catalogEntryRunWhen, cellKey, cellMetaCompoundKey, clampFontSizePt, clampZoom, cloneFieldRegistry, coerceBool, coerceNum, coerceStr, colIndexToLetters, collectReferencedRoots, columnIndexToLetters, columnLettersToIndex, comboDataFromRoot, compileFormulaAssignment, computeFillPreviewSelection, computeFitScale, computeWorkbook, computeWorkbookIncremental, countActiveSubRows, createDefaultPage, createEmptySheet, createEmptyWorkbook, cssOneCmToCssPx, cssPxToCm, cssPxToFontSizePt, cssPxToPt, defaultPageSettings, describeDictKind, describeRoundingWhenPreset, detectFillExtension, detectGridLayoutMode, emptyFieldPackV2, emptyFieldRegistry, enrichParamsForFieldRuntime, evaluate, excelColWidthToPx, excelRowHeightPtToPx, expandFieldTokens, expandReportSlotPages, expandSystemParamTemplate, extensionStripRect, extractBaseFieldDefsFromWorkbookEnvelope, extractFormulaDeps, extractHeaderFooterStrips, extractRowInputFields, fieldPackFromRoot, fieldPartitionKey, fillSparseDemoCells, fitSheetDataGridToPage, fontSizePtToCssPx, forEachArrayValue, formatA1, formatA1Range, formatA1Single, formatFieldTypeShorthand, formatNumericByMeta, formatSelectionA1, getColWidth, getFieldRegistryFromMeta, getRoundingForCommit, getRoundingForComputeMeta, getRoundingMetaFromCellMetaEntry, getRowHeight, gridColumnIndexToLetters, gridNodeId, guessSheetFontIdFromCssFontFamily, hasEmbedsToPaint, hydrateSheetFieldData, hydrateWorkbookFieldData, indexFieldRegistry, injectBaseFieldRegistryIntoWorkbookEnvelope, isComboInstanceDataV3, isErr, isFieldRegistryRecord, isInstanceFieldPackV2, isKnownSystemParamId, isLegacyInstanceDataV1, isRuntimeComputedSystemParam, isSubColumnPresent, isSubFieldRichPersist, jsPdfFormat, jsPdfOrientation, layoutFontCss, layoutLinesForCellM, lettersToColIndex, lhsToRoundingTarget, listKnownSystemParamIdsForTemplate, listTemplateSystemParamTokenEntries, lockFillAxis, mainFieldNodeId, marginsCmToMm, marginsCmToPt, matrixToTsv, mergeBakedFieldRegistry, mergeBaseFieldPartition, mergeInstanceDataJsonWithLogicalState, mergeInstanceDataJsonWithSubTables, mergeRoundingOverrideLayers, mergeSubFieldCellFromAccValue, mergeSystemAndUserParams, mmToCssPx, nextPendingSignature, normSelectionRect, normalizeFieldDef, normalizeFieldKey, normalizeFieldRegistry, normalizeFormulaRunWhen, normalizePageSettings, normalizeRect, normalizeRoundingTriggers, normalizeSheetToCompactGrid, normalizeSubFieldDef, normalizeSubFieldSlotForFormula, normalizeSystemParamId, pageAtRuleCss, paginateReportRows, paperSizeMm, paperSizeMmFromPage, paperSizeMmRaw, parseA1, parseA1Cell, parseA1OrRangeToSelection, parseA1Ref, parseA1Single, parseCellKey, parseCellMetaCompoundKey, parseFieldPath, parseFieldRegistryFromCapabilities, parseFieldTypeSpec, parseFormula, parseGridRcAddress, parseInstanceDataRoot, parseInstanceSubTables, parseInternalR1C1Ref, parseLogicalState, parseRoundingJson, parseSjsExpr, parseSjsProgram, parseWorkbookJson, physicalPaperSizeMmFromPage, pickLogicalStateFromRoot, presetToTriggers, printableSizeCssPx, printableSizeMm, ptToCssPx, pxToExcelColWidth, pxToExcelRowHeightPt, readSelectionAsTsv, rectContains, rectsOverlap, rescaleReportSheet, rescaleReportWorkbook, resolveBaseFieldDefsFromBaseSource, resolveFieldDefRegisterMode, resolveInputDeps, resolveRoundingForTarget, resolveRoundingFromFieldPath, resolveSheetLogicalPage, resolveSubRowStatKey, roundFinite, roundToInterval, roundToSignificant, roundingForCompute, runSjs, runSjsExpr, runWhenToStorage, scaleWidthsProportional, scriptNodeId, selectionIsUnmergedRectangle, serializeFieldPackV2, serializeWorkbook, setFieldRegistryOnMeta, sheetDataColWidthPx, sheetDataGridHeightPx, sheetDataGridWidthPx, sheetDataRegion, sheetDataRowHeightPx, sheetFontFamilyCss, sheetFontFamilyExcelName, sheetPrintFitScale, shouldComputeFieldByInput, shouldRunFieldFormula, shouldRunScriptBlock, signatureResultsFromEmbedStates, signatureSpecsFromEmbeds, sjsTokenize, sliceRectangles, splitBindingAndTypeSuffix, stripFieldPrefix, stripRuntimeComputedUserParams, subFieldNodeId, subFieldPersistValueFromCell, targetRectFromExtension, targetToOverrideKey, templateContainsSystemParamTokens, toA1, tokenize, triggersToPreset, tryParseNumericString, tsvToMatrix, vBool, vErr, vNum, vStr, wrapTextToWidthM };
|
package/dist/index.d.ts
CHANGED
|
@@ -1437,6 +1437,8 @@ interface LayoutLinesResult {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
/** shrinkToFit 字号下限(pt)。1pt 几乎能缩尽,避免触底后折行把行撑开。 */
|
|
1439
1439
|
declare const MIN_SHRINK_FONT_PT = 1;
|
|
1440
|
+
/** 行盒 = 字高 px × 此值。预览 CSS line-height 必须用同一个数。 */
|
|
1441
|
+
declare const SHRINK_LINE_HEIGHT = 1.2;
|
|
1440
1442
|
/**
|
|
1441
1443
|
* 换行 / shrink 测量用字重斜体。须与渲染侧一致,否则加粗会低估宽度。
|
|
1442
1444
|
* 字重用 CSS `bold`(与 sheet-report `fontWeight: "bold"` 对齐)。
|
|
@@ -1458,7 +1460,10 @@ interface TextMeasurer {
|
|
|
1458
1460
|
}
|
|
1459
1461
|
/** 软换行(measurer 版,纯逻辑,无 DOM 依赖)。 */
|
|
1460
1462
|
declare function wrapTextToWidthM(measurer: TextMeasurer, font: string, text: string, maxWidth: number): string[];
|
|
1461
|
-
/**
|
|
1463
|
+
/**
|
|
1464
|
+
* shrinkToFit(measurer 版):先按 wrapText 折行,仍超格再缩字;仅 shrink 只压宽不自动折。
|
|
1465
|
+
* cellInnerWidth / cellInnerHeight 是文字盒本身(已扣边框和内边距),这里不再留空隙。
|
|
1466
|
+
*/
|
|
1462
1467
|
declare function layoutLinesForCellM(measurer: TextMeasurer, text: string, cellInnerWidth: number, cellInnerHeight: number, baseFontSizePt: number, wrapText: boolean, shrinkToFit: boolean, fontFamily?: string, fontStyle?: LayoutFontStyleOpts): LayoutLinesResult;
|
|
1463
1468
|
|
|
1464
1469
|
/** CSS px/inch,与画布及 Excel 导出换算一致 */
|
|
@@ -2073,4 +2078,4 @@ declare function computeWorkbookIncremental(input: IncrementalInput): ComputeRes
|
|
|
2073
2078
|
*/
|
|
2074
2079
|
declare const SHEET_CORE_PACKAGE: "@k-table/sheet-core";
|
|
2075
2080
|
|
|
2076
|
-
export { type A1RangeRef, type A1Ref, type A1SingleRef, AggregateEmptyAs, type ApplyHeaderFooterOptions, type AssetEmbedDef, type AssetKind, type AstNode, BUILTIN_PARAM_CATALOG_CODES, type BinOp, type BorderApplySpec, BorderPattern, type BorderPreset, BorderWidth, type BuiltinParamCatalogCode, CHROME_GUTTER_COL_WIDTH_PX, CHROME_GUTTER_ROW_HEIGHT_PX, CSS_PX_PER_INCH, type CellBindingKind, type CellBindingMeta, CellData, type CellFormulaBindingMeta, type CellLayoutHint, type CellRoundingMeta, type ChartDataSource, type ChartEmbedDef, type ComboInstanceDataV3, type ComboSharedContext, type CompileResult, type ComputeFieldLhs, type ComputeInput, type ComputeIssue, type ComputePass, type ComputeResult, type ComputeSystemParamsProvider, DEFAULT_FONT_SIZE_PT, DEFAULT_IMPORT_OPTIONS, DESIGN_FIELD_SHORTHAND_SKILLS, DICT_CATALOG_META_KEY, DICT_OVERLAYS_BY_USER_KEY, DepGraph, type DesignFieldMetaFromShorthand, type DictSnapshotEntry, type DictSnapshotsMap, EXCEL_COL_DIGIT_WIDTH_PX, EXCEL_COL_PADDING_PX, EXCEL_DEFAULT_COL_WIDTH_CHAR, EXCEL_DEFAULT_ROW_HEIGHT_PT, type EmbedAnchorCell, type EmbedAnchorRect, type EmbedBase, type EmbedBoxPt, type EmbedInstanceState, type EmbedPrintContext, type EvalContext, type ExcelImportBorderSide, type ExcelImportCell, type ExcelImportCellStyle, type ExcelImportIntermediateV1, type ExcelImportMerge, type ExcelImportOptions, type ExcelImportRichRun, type ExcelImportStats, FORMULA_RUN_WHEN_LABELS, FUNCTIONS, type FieldDataCtx, type FieldDefRegisterMode, type FieldEvalContext, type FieldInputWhen, type FieldLhs, type FieldPullRuleDef, type FieldRegistryIndex, type FieldRoundingTarget, type FieldRunContextOptions, type FillExtension, type FitGridToPageOptions, type FnImpl, type FormulaAny, type FormulaArray, FormulaCatalogEntry, FormulaCatalogTarget, type FormulaError, type FormulaInputTarget, type FormulaRunWhen, type FormulaStdLibOptions, type FormulaValue, type FormulaValueKind, type GridLayoutMode, type HeaderFooterStrip, type HydrateFieldDataOptions, INSTANCE_DATA_SCHEMA_V2, INSTANCE_DATA_SCHEMA_V3, type IncrementalInput, type InstanceDataRoot, type InstanceDictOverlaysByUser, type InstanceFieldPackV2, type InstanceFieldPackV2Ext, type InstanceSubTablePack, type InstanceSubTablesData, KtTemplateRoot, LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS, type LayoutFontStyleOpts, type LayoutLinesResult, type LogicalState, MAX_FONT_SIZE_PT, MIN_FONT_SIZE_PT, MIN_SHRINK_FONT_PT, MM_PER_INCH, type MasterCell, MergeIndex, MergeRect, type NodeId, PageSettings, type PaginateReportRowsArgs, type ParsedFieldPath, Parser, type PasteCellPatch, type PrintPageSlot, type PullContext, type PullContextSource, ROUNDING_LAYER_ORDER, ROUNDING_WHEN_LABELS, ROUND_MODE_LETTER_MAP, RUNTIME_COMPUTED_SYSTEM_PARAM_CODES, RUNTIME_ONLY_SYSTEM_PARAM_CODES, type Rect, type RefreshPolicy, type RenderContext, type ReportFieldData, type ReportHeaderFooterStrips, type ReportPaginationResult, type ReportPhysicalPage, type ReportRowSegment, type RescaleOptions, type RescaleSheetResult, type RescaleTargetSize, type RoundingLayer, type RoundingLayerScope, type RoundingOverrideEntry, type RoundingOverrideMap, type RoundingTriggerFlags, type RoundingWhenPreset, type RuntimeOnlySystemParamCode, SHEET_COLOR_ROW_STANDARD, SHEET_COLOR_ROW_THEME, SHEET_CORE_PACKAGE, SHEET_ENGINE_CONFIG, SHEET_FONT_OPTIONS, SUBTABLE_SLOT_BINDING_SKILLS, type SelectionRect, Sheet, type SheetDataRegion, SheetItem, type SignatureSlotState, type SignatureSlotStatus, type SignatureWorkflowReport, type SjsBinOp, SjsCycleError, SjsError, type SjsFn, type SjsNode, type SjsObject, type SjsProgram, type SjsStmt, type SjsValue, type SpliceDiagnostic, type SpliceDiagnosticFix, type SpliceDiagnosticLevel, type SpliceDiagnosticsReport, type SpliceDiagnosticsSignals, type SpliceMisalignSignal, type SpliceUnboundSlotSignal, type SubTableRegionConfig, type SystemParamBranding, type SystemParamId, type SystemParamMap, TEMPLATE_DICT_CATALOG_VERSION, TEMPLATE_WORKBOOK_JSON_VERSION, type TemplateDictCatalog, type TemplateDictDef, type TemplateDictItem, type TemplateDictKind, TemplateFieldDef, TemplateFieldRegistry, type TemplateSheetItem, TemplateSubFieldDef, type TemplateWorkbookState, type TextMeasurer, type Token, type TokenType, type UpsertFieldDefInput, V_NULL, Workbook, type WorkbookEmbedDef, WorkbookMeta, WorkbookNamedRange, type WorkbookPrintPlan, WorkbookScripts, activeSubRowIndices, applyBorderPresetToSheet, applyFieldRoundingForStore, applyNumericRounding, applyReportHeaderFooterTemplate, applyRounding, applyRoundingForInstancePlain, applySignatureResultsToEmbedStates, buildActiveSubRowCounts, buildFieldRunContext, buildFormulaStdLib, buildHeaderFooterTemplateWorkbook, buildPastePatches, buildRoundingLayers, buildSignatureWorkflow, buildSpliceDiagnostics, catalogEntryNodeId, catalogEntryRunWhen, cellKey, cellMetaCompoundKey, clampFontSizePt, clampZoom, cloneFieldRegistry, coerceBool, coerceNum, coerceStr, colIndexToLetters, collectReferencedRoots, columnIndexToLetters, columnLettersToIndex, comboDataFromRoot, compileFormulaAssignment, computeFillPreviewSelection, computeFitScale, computeWorkbook, computeWorkbookIncremental, countActiveSubRows, createDefaultPage, createEmptySheet, createEmptyWorkbook, cssOneCmToCssPx, cssPxToCm, cssPxToFontSizePt, cssPxToPt, defaultPageSettings, describeDictKind, describeRoundingWhenPreset, detectFillExtension, detectGridLayoutMode, emptyFieldPackV2, emptyFieldRegistry, enrichParamsForFieldRuntime, evaluate, excelColWidthToPx, excelRowHeightPtToPx, expandFieldTokens, expandReportSlotPages, expandSystemParamTemplate, extensionStripRect, extractBaseFieldDefsFromWorkbookEnvelope, extractFormulaDeps, extractHeaderFooterStrips, extractRowInputFields, fieldPackFromRoot, fieldPartitionKey, fillSparseDemoCells, fitSheetDataGridToPage, fontSizePtToCssPx, forEachArrayValue, formatA1, formatA1Range, formatA1Single, formatFieldTypeShorthand, formatNumericByMeta, formatSelectionA1, getColWidth, getFieldRegistryFromMeta, getRoundingForCommit, getRoundingForComputeMeta, getRoundingMetaFromCellMetaEntry, getRowHeight, gridColumnIndexToLetters, gridNodeId, guessSheetFontIdFromCssFontFamily, hasEmbedsToPaint, hydrateSheetFieldData, hydrateWorkbookFieldData, indexFieldRegistry, injectBaseFieldRegistryIntoWorkbookEnvelope, isComboInstanceDataV3, isErr, isFieldRegistryRecord, isInstanceFieldPackV2, isKnownSystemParamId, isLegacyInstanceDataV1, isRuntimeComputedSystemParam, isSubColumnPresent, isSubFieldRichPersist, jsPdfFormat, jsPdfOrientation, layoutFontCss, layoutLinesForCellM, lettersToColIndex, lhsToRoundingTarget, listKnownSystemParamIdsForTemplate, listTemplateSystemParamTokenEntries, lockFillAxis, mainFieldNodeId, marginsCmToMm, marginsCmToPt, matrixToTsv, mergeBakedFieldRegistry, mergeBaseFieldPartition, mergeInstanceDataJsonWithLogicalState, mergeInstanceDataJsonWithSubTables, mergeRoundingOverrideLayers, mergeSubFieldCellFromAccValue, mergeSystemAndUserParams, mmToCssPx, nextPendingSignature, normSelectionRect, normalizeFieldDef, normalizeFieldKey, normalizeFieldRegistry, normalizeFormulaRunWhen, normalizePageSettings, normalizeRect, normalizeRoundingTriggers, normalizeSheetToCompactGrid, normalizeSubFieldDef, normalizeSubFieldSlotForFormula, normalizeSystemParamId, pageAtRuleCss, paginateReportRows, paperSizeMm, paperSizeMmFromPage, paperSizeMmRaw, parseA1, parseA1Cell, parseA1OrRangeToSelection, parseA1Ref, parseA1Single, parseCellKey, parseCellMetaCompoundKey, parseFieldPath, parseFieldRegistryFromCapabilities, parseFieldTypeSpec, parseFormula, parseGridRcAddress, parseInstanceDataRoot, parseInstanceSubTables, parseInternalR1C1Ref, parseLogicalState, parseRoundingJson, parseSjsExpr, parseSjsProgram, parseWorkbookJson, physicalPaperSizeMmFromPage, pickLogicalStateFromRoot, presetToTriggers, printableSizeCssPx, printableSizeMm, ptToCssPx, pxToExcelColWidth, pxToExcelRowHeightPt, readSelectionAsTsv, rectContains, rectsOverlap, rescaleReportSheet, rescaleReportWorkbook, resolveBaseFieldDefsFromBaseSource, resolveFieldDefRegisterMode, resolveInputDeps, resolveRoundingForTarget, resolveRoundingFromFieldPath, resolveSheetLogicalPage, resolveSubRowStatKey, roundFinite, roundToInterval, roundToSignificant, roundingForCompute, runSjs, runSjsExpr, runWhenToStorage, scaleWidthsProportional, scriptNodeId, selectionIsUnmergedRectangle, serializeFieldPackV2, serializeWorkbook, setFieldRegistryOnMeta, sheetDataColWidthPx, sheetDataGridHeightPx, sheetDataGridWidthPx, sheetDataRegion, sheetDataRowHeightPx, sheetFontFamilyCss, sheetFontFamilyExcelName, sheetPrintFitScale, shouldComputeFieldByInput, shouldRunFieldFormula, shouldRunScriptBlock, signatureResultsFromEmbedStates, signatureSpecsFromEmbeds, sjsTokenize, sliceRectangles, splitBindingAndTypeSuffix, stripFieldPrefix, stripRuntimeComputedUserParams, subFieldNodeId, subFieldPersistValueFromCell, targetRectFromExtension, targetToOverrideKey, templateContainsSystemParamTokens, toA1, tokenize, triggersToPreset, tryParseNumericString, tsvToMatrix, vBool, vErr, vNum, vStr, wrapTextToWidthM };
|
|
2081
|
+
export { type A1RangeRef, type A1Ref, type A1SingleRef, AggregateEmptyAs, type ApplyHeaderFooterOptions, type AssetEmbedDef, type AssetKind, type AstNode, BUILTIN_PARAM_CATALOG_CODES, type BinOp, type BorderApplySpec, BorderPattern, type BorderPreset, BorderWidth, type BuiltinParamCatalogCode, CHROME_GUTTER_COL_WIDTH_PX, CHROME_GUTTER_ROW_HEIGHT_PX, CSS_PX_PER_INCH, type CellBindingKind, type CellBindingMeta, CellData, type CellFormulaBindingMeta, type CellLayoutHint, type CellRoundingMeta, type ChartDataSource, type ChartEmbedDef, type ComboInstanceDataV3, type ComboSharedContext, type CompileResult, type ComputeFieldLhs, type ComputeInput, type ComputeIssue, type ComputePass, type ComputeResult, type ComputeSystemParamsProvider, DEFAULT_FONT_SIZE_PT, DEFAULT_IMPORT_OPTIONS, DESIGN_FIELD_SHORTHAND_SKILLS, DICT_CATALOG_META_KEY, DICT_OVERLAYS_BY_USER_KEY, DepGraph, type DesignFieldMetaFromShorthand, type DictSnapshotEntry, type DictSnapshotsMap, EXCEL_COL_DIGIT_WIDTH_PX, EXCEL_COL_PADDING_PX, EXCEL_DEFAULT_COL_WIDTH_CHAR, EXCEL_DEFAULT_ROW_HEIGHT_PT, type EmbedAnchorCell, type EmbedAnchorRect, type EmbedBase, type EmbedBoxPt, type EmbedInstanceState, type EmbedPrintContext, type EvalContext, type ExcelImportBorderSide, type ExcelImportCell, type ExcelImportCellStyle, type ExcelImportIntermediateV1, type ExcelImportMerge, type ExcelImportOptions, type ExcelImportRichRun, type ExcelImportStats, FORMULA_RUN_WHEN_LABELS, FUNCTIONS, type FieldDataCtx, type FieldDefRegisterMode, type FieldEvalContext, type FieldInputWhen, type FieldLhs, type FieldPullRuleDef, type FieldRegistryIndex, type FieldRoundingTarget, type FieldRunContextOptions, type FillExtension, type FitGridToPageOptions, type FnImpl, type FormulaAny, type FormulaArray, FormulaCatalogEntry, FormulaCatalogTarget, type FormulaError, type FormulaInputTarget, type FormulaRunWhen, type FormulaStdLibOptions, type FormulaValue, type FormulaValueKind, type GridLayoutMode, type HeaderFooterStrip, type HydrateFieldDataOptions, INSTANCE_DATA_SCHEMA_V2, INSTANCE_DATA_SCHEMA_V3, type IncrementalInput, type InstanceDataRoot, type InstanceDictOverlaysByUser, type InstanceFieldPackV2, type InstanceFieldPackV2Ext, type InstanceSubTablePack, type InstanceSubTablesData, KtTemplateRoot, LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS, type LayoutFontStyleOpts, type LayoutLinesResult, type LogicalState, MAX_FONT_SIZE_PT, MIN_FONT_SIZE_PT, MIN_SHRINK_FONT_PT, MM_PER_INCH, type MasterCell, MergeIndex, MergeRect, type NodeId, PageSettings, type PaginateReportRowsArgs, type ParsedFieldPath, Parser, type PasteCellPatch, type PrintPageSlot, type PullContext, type PullContextSource, ROUNDING_LAYER_ORDER, ROUNDING_WHEN_LABELS, ROUND_MODE_LETTER_MAP, RUNTIME_COMPUTED_SYSTEM_PARAM_CODES, RUNTIME_ONLY_SYSTEM_PARAM_CODES, type Rect, type RefreshPolicy, type RenderContext, type ReportFieldData, type ReportHeaderFooterStrips, type ReportPaginationResult, type ReportPhysicalPage, type ReportRowSegment, type RescaleOptions, type RescaleSheetResult, type RescaleTargetSize, type RoundingLayer, type RoundingLayerScope, type RoundingOverrideEntry, type RoundingOverrideMap, type RoundingTriggerFlags, type RoundingWhenPreset, type RuntimeOnlySystemParamCode, SHEET_COLOR_ROW_STANDARD, SHEET_COLOR_ROW_THEME, SHEET_CORE_PACKAGE, SHEET_ENGINE_CONFIG, SHEET_FONT_OPTIONS, SHRINK_LINE_HEIGHT, SUBTABLE_SLOT_BINDING_SKILLS, type SelectionRect, Sheet, type SheetDataRegion, SheetItem, type SignatureSlotState, type SignatureSlotStatus, type SignatureWorkflowReport, type SjsBinOp, SjsCycleError, SjsError, type SjsFn, type SjsNode, type SjsObject, type SjsProgram, type SjsStmt, type SjsValue, type SpliceDiagnostic, type SpliceDiagnosticFix, type SpliceDiagnosticLevel, type SpliceDiagnosticsReport, type SpliceDiagnosticsSignals, type SpliceMisalignSignal, type SpliceUnboundSlotSignal, type SubTableRegionConfig, type SystemParamBranding, type SystemParamId, type SystemParamMap, TEMPLATE_DICT_CATALOG_VERSION, TEMPLATE_WORKBOOK_JSON_VERSION, type TemplateDictCatalog, type TemplateDictDef, type TemplateDictItem, type TemplateDictKind, TemplateFieldDef, TemplateFieldRegistry, type TemplateSheetItem, TemplateSubFieldDef, type TemplateWorkbookState, type TextMeasurer, type Token, type TokenType, type UpsertFieldDefInput, V_NULL, Workbook, type WorkbookEmbedDef, WorkbookMeta, WorkbookNamedRange, type WorkbookPrintPlan, WorkbookScripts, activeSubRowIndices, applyBorderPresetToSheet, applyFieldRoundingForStore, applyNumericRounding, applyReportHeaderFooterTemplate, applyRounding, applyRoundingForInstancePlain, applySignatureResultsToEmbedStates, buildActiveSubRowCounts, buildFieldRunContext, buildFormulaStdLib, buildHeaderFooterTemplateWorkbook, buildPastePatches, buildRoundingLayers, buildSignatureWorkflow, buildSpliceDiagnostics, catalogEntryNodeId, catalogEntryRunWhen, cellKey, cellMetaCompoundKey, clampFontSizePt, clampZoom, cloneFieldRegistry, coerceBool, coerceNum, coerceStr, colIndexToLetters, collectReferencedRoots, columnIndexToLetters, columnLettersToIndex, comboDataFromRoot, compileFormulaAssignment, computeFillPreviewSelection, computeFitScale, computeWorkbook, computeWorkbookIncremental, countActiveSubRows, createDefaultPage, createEmptySheet, createEmptyWorkbook, cssOneCmToCssPx, cssPxToCm, cssPxToFontSizePt, cssPxToPt, defaultPageSettings, describeDictKind, describeRoundingWhenPreset, detectFillExtension, detectGridLayoutMode, emptyFieldPackV2, emptyFieldRegistry, enrichParamsForFieldRuntime, evaluate, excelColWidthToPx, excelRowHeightPtToPx, expandFieldTokens, expandReportSlotPages, expandSystemParamTemplate, extensionStripRect, extractBaseFieldDefsFromWorkbookEnvelope, extractFormulaDeps, extractHeaderFooterStrips, extractRowInputFields, fieldPackFromRoot, fieldPartitionKey, fillSparseDemoCells, fitSheetDataGridToPage, fontSizePtToCssPx, forEachArrayValue, formatA1, formatA1Range, formatA1Single, formatFieldTypeShorthand, formatNumericByMeta, formatSelectionA1, getColWidth, getFieldRegistryFromMeta, getRoundingForCommit, getRoundingForComputeMeta, getRoundingMetaFromCellMetaEntry, getRowHeight, gridColumnIndexToLetters, gridNodeId, guessSheetFontIdFromCssFontFamily, hasEmbedsToPaint, hydrateSheetFieldData, hydrateWorkbookFieldData, indexFieldRegistry, injectBaseFieldRegistryIntoWorkbookEnvelope, isComboInstanceDataV3, isErr, isFieldRegistryRecord, isInstanceFieldPackV2, isKnownSystemParamId, isLegacyInstanceDataV1, isRuntimeComputedSystemParam, isSubColumnPresent, isSubFieldRichPersist, jsPdfFormat, jsPdfOrientation, layoutFontCss, layoutLinesForCellM, lettersToColIndex, lhsToRoundingTarget, listKnownSystemParamIdsForTemplate, listTemplateSystemParamTokenEntries, lockFillAxis, mainFieldNodeId, marginsCmToMm, marginsCmToPt, matrixToTsv, mergeBakedFieldRegistry, mergeBaseFieldPartition, mergeInstanceDataJsonWithLogicalState, mergeInstanceDataJsonWithSubTables, mergeRoundingOverrideLayers, mergeSubFieldCellFromAccValue, mergeSystemAndUserParams, mmToCssPx, nextPendingSignature, normSelectionRect, normalizeFieldDef, normalizeFieldKey, normalizeFieldRegistry, normalizeFormulaRunWhen, normalizePageSettings, normalizeRect, normalizeRoundingTriggers, normalizeSheetToCompactGrid, normalizeSubFieldDef, normalizeSubFieldSlotForFormula, normalizeSystemParamId, pageAtRuleCss, paginateReportRows, paperSizeMm, paperSizeMmFromPage, paperSizeMmRaw, parseA1, parseA1Cell, parseA1OrRangeToSelection, parseA1Ref, parseA1Single, parseCellKey, parseCellMetaCompoundKey, parseFieldPath, parseFieldRegistryFromCapabilities, parseFieldTypeSpec, parseFormula, parseGridRcAddress, parseInstanceDataRoot, parseInstanceSubTables, parseInternalR1C1Ref, parseLogicalState, parseRoundingJson, parseSjsExpr, parseSjsProgram, parseWorkbookJson, physicalPaperSizeMmFromPage, pickLogicalStateFromRoot, presetToTriggers, printableSizeCssPx, printableSizeMm, ptToCssPx, pxToExcelColWidth, pxToExcelRowHeightPt, readSelectionAsTsv, rectContains, rectsOverlap, rescaleReportSheet, rescaleReportWorkbook, resolveBaseFieldDefsFromBaseSource, resolveFieldDefRegisterMode, resolveInputDeps, resolveRoundingForTarget, resolveRoundingFromFieldPath, resolveSheetLogicalPage, resolveSubRowStatKey, roundFinite, roundToInterval, roundToSignificant, roundingForCompute, runSjs, runSjsExpr, runWhenToStorage, scaleWidthsProportional, scriptNodeId, selectionIsUnmergedRectangle, serializeFieldPackV2, serializeWorkbook, setFieldRegistryOnMeta, sheetDataColWidthPx, sheetDataGridHeightPx, sheetDataGridWidthPx, sheetDataRegion, sheetDataRowHeightPx, sheetFontFamilyCss, sheetFontFamilyExcelName, sheetPrintFitScale, shouldComputeFieldByInput, shouldRunFieldFormula, shouldRunScriptBlock, signatureResultsFromEmbedStates, signatureSpecsFromEmbeds, sjsTokenize, sliceRectangles, splitBindingAndTypeSuffix, stripFieldPrefix, stripRuntimeComputedUserParams, subFieldNodeId, subFieldPersistValueFromCell, targetRectFromExtension, targetToOverrideKey, templateContainsSystemParamTokens, toA1, tokenize, triggersToPreset, tryParseNumericString, tsvToMatrix, vBool, vErr, vNum, vStr, wrapTextToWidthM };
|