js.documents 6.0.0 → 6.1.0
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/README.md +283 -115
- package/dist/bin-dispatch.d.cts +2 -2
- package/dist/bin-dispatch.d.ts +2 -2
- package/dist/{blr-types-DVgO1DQ9.d.cts → blr-types-CMN0QKUE.d.cts} +1 -1
- package/dist/{blr-types-DVgO1DQ9.d.ts → blr-types-CMN0QKUE.d.ts} +1 -1
- package/dist/{capability-an5gSNsu.d.cts → capability-BZ3iNsWh.d.cts} +1 -1
- package/dist/{capability-DX0lCSiI.d.ts → capability-D-a4okp0.d.ts} +1 -1
- package/dist/{cell-typing-CEWlywIc.d.cts → cell-typing-BQ-xQ5X5.d.cts} +4 -4
- package/dist/{cell-typing-CEWlywIc.d.ts → cell-typing-BQ-xQ5X5.d.ts} +4 -4
- package/dist/codecs/read.d.cts +1 -1
- package/dist/codecs/read.d.ts +1 -1
- package/dist/convert/capability.d.cts +1 -1
- package/dist/convert/capability.d.ts +1 -1
- package/dist/convert/composition.d.cts +8 -8
- package/dist/convert/composition.d.ts +8 -8
- package/dist/convert/convert.d.cts +3 -3
- package/dist/convert/convert.d.ts +3 -3
- package/dist/convert/port.d.cts +1 -1
- package/dist/convert/port.d.ts +1 -1
- package/dist/convert/variant-bridges.d.cts +3 -3
- package/dist/convert/variant-bridges.d.ts +3 -3
- package/dist/csv/read.d.cts +1 -1
- package/dist/csv/read.d.ts +1 -1
- package/dist/csv/records.cjs +1 -1
- package/dist/csv/records.js +1 -1
- package/dist/csv/write.d.cts +2 -2
- package/dist/csv/write.d.ts +2 -2
- package/dist/{diagnostics-C5-bG09J.d.cts → diagnostics-DdO0xPGy.d.cts} +1 -1
- package/dist/{diagnostics-C5-bG09J.d.ts → diagnostics-DdO0xPGy.d.ts} +1 -1
- package/dist/edit/docx/content.d.cts +1 -1
- package/dist/edit/docx/content.d.ts +1 -1
- package/dist/edit/docx/image.d.cts +1 -1
- package/dist/edit/docx/image.d.ts +1 -1
- package/dist/edit/docx/paragraph.cjs +1 -1
- package/dist/edit/docx/paragraph.d.cts +6 -6
- package/dist/edit/docx/paragraph.d.ts +6 -6
- package/dist/edit/docx/paragraph.js +1 -1
- package/dist/edit/docx/props.d.cts +4 -4
- package/dist/edit/docx/props.d.ts +4 -4
- package/dist/edit/docx/table.d.cts +1 -1
- package/dist/edit/docx/table.d.ts +1 -1
- package/dist/edit/markdown/list.d.cts +1 -1
- package/dist/edit/markdown/list.d.ts +1 -1
- package/dist/edit/odg/page.d.cts +3 -3
- package/dist/edit/odg/page.d.ts +3 -3
- package/dist/edit/odg/vector.d.cts +1 -1
- package/dist/edit/odg/vector.d.ts +1 -1
- package/dist/edit/odp/image.d.cts +1 -1
- package/dist/edit/odp/image.d.ts +1 -1
- package/dist/edit/odp/shape.d.cts +1 -1
- package/dist/edit/odp/shape.d.ts +1 -1
- package/dist/edit/odp/slide.d.cts +4 -4
- package/dist/edit/odp/slide.d.ts +4 -4
- package/dist/edit/odt/content.d.cts +3 -3
- package/dist/edit/odt/content.d.ts +3 -3
- package/dist/edit/odt/editor.d.cts +3 -3
- package/dist/edit/odt/editor.d.ts +3 -3
- package/dist/edit/odt/image.d.cts +1 -1
- package/dist/edit/odt/image.d.ts +1 -1
- package/dist/edit/odt/list.d.cts +1 -1
- package/dist/edit/odt/list.d.ts +1 -1
- package/dist/edit/odt/paragraph.cjs +1 -1
- package/dist/edit/odt/paragraph.d.cts +1 -1
- package/dist/edit/odt/paragraph.d.ts +1 -1
- package/dist/edit/odt/paragraph.js +1 -1
- package/dist/edit/odt/table.d.cts +1 -1
- package/dist/edit/odt/table.d.ts +1 -1
- package/dist/edit/pdf/item.cjs +1 -1
- package/dist/edit/pdf/item.d.cts +1 -1
- package/dist/edit/pdf/item.d.ts +1 -1
- package/dist/edit/pdf/item.js +1 -1
- package/dist/edit/pdf/page.d.cts +1 -1
- package/dist/edit/pdf/page.d.ts +1 -1
- package/dist/edit/pdf/util.d.cts +1 -1
- package/dist/edit/pdf/util.d.ts +1 -1
- package/dist/edit/pptx/content.cjs +1 -1
- package/dist/edit/pptx/content.d.cts +1 -1
- package/dist/edit/pptx/content.d.ts +1 -1
- package/dist/edit/pptx/content.js +1 -1
- package/dist/edit/pptx/editor.cjs +1 -1
- package/dist/edit/pptx/editor.js +1 -1
- package/dist/edit/pptx/image.d.cts +1 -1
- package/dist/edit/pptx/image.d.ts +1 -1
- package/dist/edit/pptx/shape.d.cts +1 -1
- package/dist/edit/pptx/shape.d.ts +1 -1
- package/dist/edit/pptx/slide.d.cts +3 -3
- package/dist/edit/pptx/slide.d.ts +3 -3
- package/dist/edit/pptx/table.d.cts +1 -1
- package/dist/edit/pptx/table.d.ts +1 -1
- package/dist/{evaluate-BU5N1Jk1.d.ts → evaluate-Cu7iEnxX.d.ts} +1 -1
- package/dist/{evaluate-BhMXY6DM.d.cts → evaluate-Rl9P68se.d.cts} +1 -1
- package/dist/firebird/blr-types.d.cts +1 -1
- package/dist/firebird/blr-types.d.ts +1 -1
- package/dist/firebird/schema.d.cts +1 -1
- package/dist/firebird/schema.d.ts +1 -1
- package/dist/fonts/ooxml.d.cts +1 -1
- package/dist/fonts/ooxml.d.ts +1 -1
- package/dist/fonts/registry.d.cts +1 -1
- package/dist/fonts/registry.d.ts +1 -1
- package/dist/{formula-Cs0IexVi.d.cts → formula-BH1FBblm.d.cts} +1 -1
- package/dist/{formula-_8feXQH7.d.cts → formula-BpuJ3ae0.d.cts} +1 -1
- package/dist/{formula-DDSYieJg.d.ts → formula-Cb-LRoIE.d.ts} +1 -1
- package/dist/{formula-BKgIMfhi.d.ts → formula-DF4R1QEJ.d.ts} +1 -1
- package/dist/{image-DRqXQmEg.d.cts → image-BQ7F9xxz.d.cts} +1 -1
- package/dist/{image-DRqXQmEg.d.ts → image-BQ7F9xxz.d.ts} +1 -1
- package/dist/{image-CRgc_j2Q.d.cts → image-CwbCQ49u.d.ts} +2 -2
- package/dist/{image-Biwtr667.d.ts → image-DQxA-zGN.d.cts} +1 -1
- package/dist/{image-Biwtr667.d.cts → image-DQxA-zGN.d.ts} +1 -1
- package/dist/{image-3ql9_z1y.d.ts → image-DzqEWMDw.d.cts} +1 -1
- package/dist/{image-3ql9_z1y.d.cts → image-DzqEWMDw.d.ts} +1 -1
- package/dist/{image-CyYr22TE.d.ts → image-fah3VkZg.d.cts} +2 -2
- package/dist/index.d.cts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/{item-DhXpJNAQ.d.cts → item-SUC4uKDO.d.cts} +5 -5
- package/dist/{item-DhXpJNAQ.d.ts → item-SUC4uKDO.d.ts} +5 -5
- package/dist/latex/diagnostics.d.cts +1 -1
- package/dist/latex/diagnostics.d.ts +1 -1
- package/dist/latex/lint.cjs +4 -6
- package/dist/latex/lint.d.cts +1 -1
- package/dist/latex/lint.d.ts +1 -1
- package/dist/latex/lint.js +4 -6
- package/dist/latex/lower.cjs +1 -1
- package/dist/latex/lower.d.cts +1 -1
- package/dist/latex/lower.d.ts +1 -1
- package/dist/latex/lower.js +1 -1
- package/dist/latex/symbols.d.cts +1 -1
- package/dist/latex/symbols.d.ts +1 -1
- package/dist/latex/temml.d.cts +2 -2
- package/dist/latex/temml.d.ts +2 -2
- package/dist/layout/cell-typing.d.cts +1 -1
- package/dist/layout/cell-typing.d.ts +1 -1
- package/dist/layout/drawing.d.cts +1 -1
- package/dist/layout/drawing.d.ts +1 -1
- package/dist/layout/engine.d.cts +1 -1
- package/dist/layout/engine.d.ts +1 -1
- package/dist/layout/reconstruct.cjs +1 -1
- package/dist/layout/reconstruct.d.cts +1 -1
- package/dist/layout/reconstruct.d.ts +1 -1
- package/dist/layout/reconstruct.js +1 -1
- package/dist/layout/sheets.d.cts +1 -1
- package/dist/layout/sheets.d.ts +1 -1
- package/dist/layout/slides.d.cts +1 -1
- package/dist/layout/slides.d.ts +1 -1
- package/dist/layout/text-layout.d.cts +1 -1
- package/dist/layout/text-layout.d.ts +1 -1
- package/dist/{lexer-DGPWx_f2.d.cts → lexer-DgsW7jMA.d.cts} +9 -9
- package/dist/{lexer-DGPWx_f2.d.ts → lexer-DgsW7jMA.d.ts} +9 -9
- package/dist/{list-C55W_YCp.d.ts → list-B_Sy668f.d.ts} +1 -1
- package/dist/{list-lTB3eDLC.d.cts → list-BiTN6oop.d.cts} +1 -1
- package/dist/markdown/math.d.cts +1 -1
- package/dist/markdown/math.d.ts +1 -1
- package/dist/markdown/render.d.cts +1 -1
- package/dist/markdown/render.d.ts +1 -1
- package/dist/mathml/layout-types.d.cts +1 -1
- package/dist/mathml/layout-types.d.ts +1 -1
- package/dist/mathml/layout.d.cts +2 -2
- package/dist/mathml/layout.d.ts +2 -2
- package/dist/mathml/nodes.d.cts +1 -1
- package/dist/mathml/nodes.d.ts +1 -1
- package/dist/mathml/variant.d.cts +1 -1
- package/dist/mathml/variant.d.ts +1 -1
- package/dist/model/embedded-drawing.d.cts +1 -1
- package/dist/model/embedded-drawing.d.ts +1 -1
- package/dist/model/paint-order.d.cts +2 -2
- package/dist/model/paint-order.d.ts +2 -2
- package/dist/{nodes-pArN9ilm.d.cts → nodes-jrlUmrNs.d.cts} +3 -3
- package/dist/{nodes-pArN9ilm.d.ts → nodes-jrlUmrNs.d.ts} +3 -3
- package/dist/odb/formula/evaluate.d.cts +4 -4
- package/dist/odb/formula/evaluate.d.ts +4 -4
- package/dist/odb/formula/parser.d.cts +6 -6
- package/dist/odb/formula/parser.d.ts +6 -6
- package/dist/odb/read.d.cts +1 -1
- package/dist/odb/read.d.ts +1 -1
- package/dist/odb/report/render.d.cts +1 -1
- package/dist/odb/report/render.d.ts +1 -1
- package/dist/odb/report/source.d.cts +1 -1
- package/dist/odb/report/source.d.ts +1 -1
- package/dist/odb/sql/evaluate.d.cts +1 -1
- package/dist/odb/sql/evaluate.d.ts +1 -1
- package/dist/odb/sql/lexer.d.cts +1 -1
- package/dist/odb/sql/lexer.d.ts +1 -1
- package/dist/odb/sql/parser.d.cts +1 -1
- package/dist/odb/sql/parser.d.ts +1 -1
- package/dist/odb/values.d.cts +1 -1
- package/dist/odb/values.d.ts +1 -1
- package/dist/odf/vector/detect.cjs +1 -1
- package/dist/odf/vector/detect.js +1 -1
- package/dist/odf-package/media.d.cts +1 -1
- package/dist/odf-package/media.d.ts +1 -1
- package/dist/omml/read.d.cts +1 -1
- package/dist/omml/read.d.ts +1 -1
- package/dist/omml/shared.d.cts +1 -1
- package/dist/omml/shared.d.ts +1 -1
- package/dist/omml/write.d.cts +1 -1
- package/dist/omml/write.d.ts +1 -1
- package/dist/ooxml/docx/embedded-objects.cjs +10 -24
- package/dist/ooxml/docx/embedded-objects.d.cts +1 -1
- package/dist/ooxml/docx/embedded-objects.d.ts +1 -1
- package/dist/ooxml/docx/embedded-objects.js +10 -24
- package/dist/ooxml/docx/formula.d.cts +1 -1
- package/dist/ooxml/docx/formula.d.ts +1 -1
- package/dist/ooxml/docx/read.d.cts +1 -1
- package/dist/ooxml/docx/read.d.ts +1 -1
- package/dist/ooxml/pptx/formula.d.cts +1 -1
- package/dist/ooxml/pptx/formula.d.ts +1 -1
- package/dist/ooxml/pptx/read.d.cts +1 -1
- package/dist/ooxml/pptx/read.d.ts +1 -1
- package/dist/ooxml/pptx/vector.cjs +1 -1
- package/dist/ooxml/pptx/vector.js +1 -1
- package/dist/opc/media.d.cts +1 -1
- package/dist/opc/media.d.ts +1 -1
- package/dist/opc/rels.d.cts +1 -1
- package/dist/opc/rels.d.ts +1 -1
- package/dist/{paragraph-CoPeTuHR.d.cts → paragraph-BBmkECjw.d.cts} +1 -1
- package/dist/{paragraph--69uh-Ys.d.ts → paragraph-D_fDin5K.d.ts} +1 -1
- package/dist/{parser-DQSgYJzQ.d.ts → parser-D0IJI7LA.d.ts} +22 -22
- package/dist/{parser-B9vC1T6T.d.cts → parser-DYfiAasj.d.cts} +22 -22
- package/dist/{registry-BcBT-bnX.d.cts → registry-913jEe6-.d.ts} +3 -3
- package/dist/{registry-D1Pu5XxB.d.ts → registry-Bs4IHqVQ.d.cts} +3 -3
- package/dist/{shape-DyIjuKE9.d.ts → shape-BY5P8kDn.d.ts} +2 -2
- package/dist/{shape-CaG-RPiz.d.cts → shape-Ca-xsrde.d.cts} +2 -2
- package/dist/{shape-CLHm7U8Y.d.cts → shape-DqkYq1OL.d.cts} +2 -2
- package/dist/{shape-Dnz6-wmG.d.ts → shape-xpgICOEx.d.ts} +2 -2
- package/dist/{shared-DUOzjwcL.d.ts → shared-DHu5jDJf.d.ts} +2 -2
- package/dist/{shared-DLZ3IQUl.d.cts → shared-c0Lp3_iY.d.cts} +2 -2
- package/dist/svg/paint.d.cts +5 -5
- package/dist/svg/paint.d.ts +5 -5
- package/dist/svg/path.d.cts +2 -2
- package/dist/svg/path.d.ts +2 -2
- package/dist/svg/write.d.cts +2 -2
- package/dist/svg/write.d.ts +2 -2
- package/dist/{table-CTeOe_vm.d.ts → table-C3VWWdjr.d.ts} +1 -1
- package/dist/{table-DH0lJRVv.d.cts → table-C_KDsX5R.d.cts} +1 -1
- package/dist/{table-BxMiEZXd.d.ts → table-Ck0fyr8d.d.ts} +1 -1
- package/dist/{table-C_tSXnbt.d.cts → table-CpEmblWG.d.cts} +1 -1
- package/dist/{values-BetetbaH.d.cts → values-BBN9E8dV.d.cts} +5 -5
- package/dist/{values-BetetbaH.d.ts → values-BBN9E8dV.d.ts} +5 -5
- package/dist/{variant-BMrebjMw.d.cts → variant-uwYyRetr.d.cts} +1 -1
- package/dist/{variant-BMrebjMw.d.ts → variant-uwYyRetr.d.ts} +1 -1
- package/dist/{vector-D03KX8Ux.d.cts → vector-DDP7hgvm.d.cts} +2 -2
- package/dist/{vector-D03KX8Ux.d.ts → vector-DDP7hgvm.d.ts} +2 -2
- package/dist/{write-BQ6SK8r8.d.cts → write-DWupt1QI.d.cts} +2 -2
- package/dist/{write-THs7ipBq.d.ts → write-qKlz1R0J.d.ts} +2 -2
- package/dist/xml/odf-text.cjs +1 -1
- package/dist/xml/odf-text.js +1 -1
- package/package.json +7 -16
package/dist/index.d.cts
CHANGED
|
@@ -2,13 +2,13 @@ import { n as fixedClock, r as systemClock, t as ClockPort } from "./clock-C7SUu
|
|
|
2
2
|
import { ConversionOptions, ConversionRequest, ConversionResult, DOCUMENT_FORMATS, Diagnostic, DocumentConverter, DocumentFormat, DocumentFormatSchema, DocumentPayload } from "./convert/port.cjs";
|
|
3
3
|
import { csvMarkdownCodec, csvPdfCodec, docxPdfCodec, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, odgPdfCodec, odgSvgCodec, odpPdfCodec, odpPptxCodec, odsCsvCodec, odsPdfCodec, odsXlsxCodec, odtDocxCodec, odtPdfCodec, pptxPdfCodec, svgPdfCodec, xlsxCsvCodec, xlsxMarkdownCodec, xlsxPdfCodec } from "./convert/codec.cjs";
|
|
4
4
|
import { i as SvgDiagnosticSink, n as SvgDiagnostic, r as SvgDiagnosticCode, t as SVG_DIAGNOSTIC_CODES } from "./diagnostics-DVAXKgcf.cjs";
|
|
5
|
-
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "./cell-typing-
|
|
6
|
-
import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-
|
|
7
|
-
import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-
|
|
5
|
+
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "./cell-typing-BQ-xQ5X5.cjs";
|
|
6
|
+
import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-uwYyRetr.cjs";
|
|
7
|
+
import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-c0Lp3_iY.cjs";
|
|
8
8
|
import { CompositionHop, ConversionPlan, UnifiedConversionOptions, resolveCompositionPlan } from "./convert/composition.cjs";
|
|
9
9
|
import { convertDocument } from "./convert/composition-to-pdf.cjs";
|
|
10
10
|
import { n as HsqldbDecodeOptions, r as HsqldbRowFormatError } from "./rowformat-Cl2exlEh.cjs";
|
|
11
|
-
import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-
|
|
11
|
+
import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-Bs4IHqVQ.cjs";
|
|
12
12
|
import { CsvReadOptions, CsvWriteOptions, DocumentBridgeOptions, DocumentToPdfOptions, OdbConversionOptions, OdbReportToDocxOptions, OdbReportToOdtOptions, OdbToCsvOptions, OdmToPdfOptions, OdmUnresolvedSectionError, SvgReadOptions, SvgWriteOptions, csvToMarkdown, csvToOds, csvToPdf, csvToXlsx, docxToMarkdown, docxToOdt, docxToPdf, docxToPptx, markdownToCsv, markdownToDocx, markdownToOdt, markdownToPdf, markdownToXlsx, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbToCsv, odbToXlsx, odfToPdf, odgToPdf, odgToSvg, odmToPdf, odpToOdt, odpToPdf, odpToPptx, odsToCsv, odsToPdf, odsToXlsx, odtToDocx, odtToMarkdown, odtToOdp, odtToPdf, pptxToDocx, pptxToOdp, pptxToPdf, svgToOdg, svgToPdf, xlsxToCsv, xlsxToMarkdown, xlsxToOds, xlsxToPdf } from "./convert/convert.cjs";
|
|
13
13
|
import { UnsupportedFontSourceFormatError, extractSourceFontsForFormat } from "./convert/document-fonts.cjs";
|
|
14
14
|
import { buildDocumentBytes, layoutDocumentFromPackage } from "./convert/from-package.cjs";
|
|
@@ -19,8 +19,8 @@ import { CsvParseError } from "./csv/records.cjs";
|
|
|
19
19
|
import { CsvInvalidUtf8Error, decodeCsvText, encodeCsvText } from "./csv/text.cjs";
|
|
20
20
|
import { BuildCsvTextOptions, CsvSheetNotFoundError, CsvSheetNotSpecifiedError, CsvUnsupportedDocumentKindError, buildCsvText } from "./csv/write.cjs";
|
|
21
21
|
import { BuildDocxPackageOptions, buildDocxPackage } from "./edit/docx/content.cjs";
|
|
22
|
-
import { c as firstChildByLocalName, d as textContent, i as MathMlText, l as isMathMlElement, n as MathMlElement, o as elementChildren, r as MathMlNode, s as elementLocalName, t as MathMlAttribute, u as localName } from "./nodes-
|
|
23
|
-
import { n as buildOfficeMath, r as buildOfficeMathParagraph, t as OmmlWriteResult } from "./write-
|
|
22
|
+
import { c as firstChildByLocalName, d as textContent, i as MathMlText, l as isMathMlElement, n as MathMlElement, o as elementChildren, r as MathMlNode, s as elementLocalName, t as MathMlAttribute, u as localName } from "./nodes-jrlUmrNs.cjs";
|
|
23
|
+
import { n as buildOfficeMath, r as buildOfficeMathParagraph, t as OmmlWriteResult } from "./write-DWupt1QI.cjs";
|
|
24
24
|
import { t as DocxRun } from "./run-swnb_wQO.cjs";
|
|
25
25
|
import { DocxParagraph } from "./edit/docx/paragraph.cjs";
|
|
26
26
|
import { DocxTable, DocxTableCell, DocxTableRow, DocxVerticalMerge } from "./edit/docx/table.cjs";
|
|
@@ -33,15 +33,15 @@ import { MarkdownTable, MarkdownTableCell, MarkdownTableRow, TableInit } from ".
|
|
|
33
33
|
import { CreateMarkdownEditorOptions, MarkdownBody, MarkdownEditor, createMarkdownEditor, openMarkdown } from "./edit/markdown/editor.cjs";
|
|
34
34
|
import { BuildOdgPackageOptions, buildOdgPackage } from "./edit/odg/content.cjs";
|
|
35
35
|
import { n as RunInit$1, t as OdtRun } from "./run-mzBHuFWz.cjs";
|
|
36
|
-
import { n as ParagraphInit$1, t as OdtParagraph } from "./paragraph-
|
|
37
|
-
import { n as OdtListItem, t as OdtList } from "./list-
|
|
38
|
-
import { t as OdpShape } from "./shape-
|
|
39
|
-
import { a as OdgLineVector, c as OdgVectorKind, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "./vector-
|
|
36
|
+
import { n as ParagraphInit$1, t as OdtParagraph } from "./paragraph-BBmkECjw.cjs";
|
|
37
|
+
import { n as OdtListItem, t as OdtList } from "./list-BiTN6oop.cjs";
|
|
38
|
+
import { t as OdpShape } from "./shape-DqkYq1OL.cjs";
|
|
39
|
+
import { a as OdgLineVector, c as OdgVectorKind, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "./vector-DDP7hgvm.cjs";
|
|
40
40
|
import { OdgPage, PageImageInit, TextBoxInit } from "./edit/odg/page.cjs";
|
|
41
41
|
import { CreateOdgOptions, OdgEditor, createOdg, openOdg } from "./edit/odg/editor.cjs";
|
|
42
42
|
import { CreateEmptyOdgPackageOptions } from "./edit/odg/scaffold.cjs";
|
|
43
43
|
import { BuildOdpPackageOptions, buildOdpPackage } from "./edit/odp/content.cjs";
|
|
44
|
-
import { a as TableInit$1, i as OdtTableRow, n as OdtTable, r as OdtTableCell } from "./table-
|
|
44
|
+
import { a as TableInit$1, i as OdtTableRow, n as OdtTable, r as OdtTableCell } from "./table-CpEmblWG.cjs";
|
|
45
45
|
import { OdpSlide, SlideImageInit, SlideTableInit, TextBoxInit as TextBoxInit$1 } from "./edit/odp/slide.cjs";
|
|
46
46
|
import { CreateOdpOptions, OdpEditor, createOdp, openOdp } from "./edit/odp/editor.cjs";
|
|
47
47
|
import { CreateEmptyOdpPackageOptions } from "./edit/odp/scaffold.cjs";
|
|
@@ -53,18 +53,18 @@ import { CreateEmptyOdsPackageOptions } from "./edit/ods/scaffold.cjs";
|
|
|
53
53
|
import { BuildOdtPackageOptions, buildOdtPackage } from "./edit/odt/content.cjs";
|
|
54
54
|
import { CreateOdtOptions, OdtBody, OdtEditor, createOdt, openOdt } from "./edit/odt/editor.cjs";
|
|
55
55
|
import { CreateEmptyOdtPackageOptions } from "./edit/odt/scaffold.cjs";
|
|
56
|
-
import { a as PdfInternalLinkItem, c as PdfLineItem, d as PdfPathInit, f as PdfPathItem, g as PdfTextItem, h as PdfTextInit, i as PdfImageItem, l as PdfLinkInit, m as PdfRectItem, n as PdfEllipseItem, o as PdfItem, p as PdfRectInit, r as PdfImageInit, s as PdfLineInit, t as PdfEllipseInit, u as PdfLinkItem } from "./item-
|
|
56
|
+
import { a as PdfInternalLinkItem, c as PdfLineItem, d as PdfPathInit, f as PdfPathItem, g as PdfTextItem, h as PdfTextInit, i as PdfImageItem, l as PdfLinkInit, m as PdfRectItem, n as PdfEllipseItem, o as PdfItem, p as PdfRectInit, r as PdfImageInit, s as PdfLineInit, t as PdfEllipseInit, u as PdfLinkItem } from "./item-SUC4uKDO.cjs";
|
|
57
57
|
import { PageInit, PdfPage } from "./edit/pdf/page.cjs";
|
|
58
58
|
import { CreatePdfOptions, PdfEditor, createPdf, openPdf } from "./edit/pdf/editor.cjs";
|
|
59
59
|
import { BuildPptxPackageOptions, buildPptxPackage, embeddedPresentationSerialiser } from "./edit/pptx/content.cjs";
|
|
60
|
-
import { n as DrawingRunInit, r as PptxShape, t as DrawingParagraphInit } from "./shape-
|
|
61
|
-
import { i as PptxTableRow, n as PptxTableCell, r as PptxTableInit, t as PptxTable } from "./table-
|
|
60
|
+
import { n as DrawingRunInit, r as PptxShape, t as DrawingParagraphInit } from "./shape-Ca-xsrde.cjs";
|
|
61
|
+
import { i as PptxTableRow, n as PptxTableCell, r as PptxTableInit, t as PptxTable } from "./table-C_KDsX5R.cjs";
|
|
62
62
|
import { PptxSlide, SlideImageInit as SlideImageInit$1, SlideTableInit as SlideTableInit$1, TextBoxInit as TextBoxInit$2 } from "./edit/pptx/slide.cjs";
|
|
63
63
|
import { CreatePptxOptions, PptxEditor, createPptx, openPptx } from "./edit/pptx/editor.cjs";
|
|
64
64
|
import { CreateEmptyPptxPackageOptions } from "./edit/pptx/scaffold.cjs";
|
|
65
65
|
import { a as parseHsqldbScript, i as displayTextFor, n as HsqldbScriptParseError, r as HsqldbTable, t as HsqldbColumn } from "./script-DsGGIzGU.cjs";
|
|
66
66
|
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.cjs";
|
|
67
|
-
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-
|
|
67
|
+
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-CMN0QKUE.cjs";
|
|
68
68
|
import { FirebirdBackupParseError } from "./firebird/reader.cjs";
|
|
69
69
|
import { FirebirdSchemaParseError } from "./firebird/schema.cjs";
|
|
70
70
|
import { FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError } from "./firebird/data.cjs";
|
|
@@ -79,7 +79,7 @@ import { MathDiagnostic, MathDiagnosticKind, MathLayoutResult } from "./mathml/l
|
|
|
79
79
|
import { LayoutFormulaOptions, layoutFormula } from "./mathml/layout.cjs";
|
|
80
80
|
import { OperatorProperties, operatorProperties } from "./mathml/operators.cjs";
|
|
81
81
|
import { OmmlReadResult, collectOfficeMathElements, readOfficeMath } from "./omml/read.cjs";
|
|
82
|
-
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "./diagnostics-
|
|
82
|
+
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "./diagnostics-DdO0xPGy.cjs";
|
|
83
83
|
import { LatexFormulaOptions, LatexFormulaResult, LatexLoweringResult, LowerLatexOptions, latexToFormula, lowerLatex } from "./latex/lower.cjs";
|
|
84
84
|
import { lintMathCoherence } from "./latex/lint.cjs";
|
|
85
85
|
import { MarkdownMathLoweringOptions, lowerMarkdownMath } from "./markdown/math.cjs";
|
|
@@ -111,9 +111,9 @@ import { OdbNoEmbeddedDataSourceError, OdbUnsupportedFormat, OdbUnsupportedForma
|
|
|
111
111
|
import { odbTablesToSpreadsheetDocument } from "./odb/spreadsheet.cjs";
|
|
112
112
|
import { readOdbForms, readOdbReports } from "./odb/components.cjs";
|
|
113
113
|
import { OdbTableNotFoundError, OdbTableNotSpecifiedError } from "./odb/csv.cjs";
|
|
114
|
-
import { i as tokenizeSql, n as SqlPunctuation, r as SqlToken, t as SqlComparisonOperator } from "./lexer-
|
|
115
|
-
import { a as SqlNameRef, c as SqlPredicate, d as SqlSortDirection, f as parseSelect, i as SqlLiteral, l as SqlSelectItem, n as SqlAggregateFunction, o as SqlOperand, r as SqlColumnRef, s as SqlOrderByTerm, t as SqlAggregateArgument, u as SqlSelectStatement } from "./parser-
|
|
116
|
-
import { n as evaluateSelect, t as SqlResultSet } from "./evaluate-
|
|
114
|
+
import { i as tokenizeSql, n as SqlPunctuation, r as SqlToken, t as SqlComparisonOperator } from "./lexer-DgsW7jMA.cjs";
|
|
115
|
+
import { a as SqlNameRef, c as SqlPredicate, d as SqlSortDirection, f as parseSelect, i as SqlLiteral, l as SqlSelectItem, n as SqlAggregateFunction, o as SqlOperand, r as SqlColumnRef, s as SqlOrderByTerm, t as SqlAggregateArgument, u as SqlSelectStatement } from "./parser-DYfiAasj.cjs";
|
|
116
|
+
import { n as evaluateSelect, t as SqlResultSet } from "./evaluate-Rl9P68se.cjs";
|
|
117
117
|
import { HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError } from "./odb/sql/errors.cjs";
|
|
118
118
|
import { RptBandDefinition, RptBandInstance, RptBandKind, RptGroupDefinition, RptNamedFunctionDefinition, RptReportDefinition, RptReportRun, RptScope, evaluateRptBandOutsideData, runRptReport } from "./odb/formula/evaluate.cjs";
|
|
119
119
|
import { RptAggregateFunction, RptFormula, RptReference, parseRptFormula } from "./odb/formula/parser.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import { n as fixedClock, r as systemClock, t as ClockPort } from "./clock-C7SUu
|
|
|
2
2
|
import { ConversionOptions, ConversionRequest, ConversionResult, DOCUMENT_FORMATS, Diagnostic, DocumentConverter, DocumentFormat, DocumentFormatSchema, DocumentPayload } from "./convert/port.js";
|
|
3
3
|
import { csvMarkdownCodec, csvPdfCodec, docxPdfCodec, markdownDocxCodec, markdownOdtCodec, markdownPdfCodec, odgPdfCodec, odgSvgCodec, odpPdfCodec, odpPptxCodec, odsCsvCodec, odsPdfCodec, odsXlsxCodec, odtDocxCodec, odtPdfCodec, pptxPdfCodec, svgPdfCodec, xlsxCsvCodec, xlsxMarkdownCodec, xlsxPdfCodec } from "./convert/codec.js";
|
|
4
4
|
import { i as SvgDiagnosticSink, n as SvgDiagnostic, r as SvgDiagnosticCode, t as SVG_DIAGNOSTIC_CODES } from "./diagnostics-DVAXKgcf.js";
|
|
5
|
-
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "./cell-typing-
|
|
6
|
-
import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-
|
|
7
|
-
import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-
|
|
5
|
+
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "./cell-typing-BQ-xQ5X5.js";
|
|
6
|
+
import { i as mapMathVariant, n as applyMathVariant, r as isMathVariant, t as MathVariant } from "./variant-uwYyRetr.js";
|
|
7
|
+
import { n as OmmlDiagnosticKind, t as OmmlDiagnostic } from "./shared-DHu5jDJf.js";
|
|
8
8
|
import { CompositionHop, ConversionPlan, UnifiedConversionOptions, resolveCompositionPlan } from "./convert/composition.js";
|
|
9
9
|
import { convertDocument } from "./convert/composition-to-pdf.js";
|
|
10
10
|
import { n as HsqldbDecodeOptions, r as HsqldbRowFormatError } from "./rowformat-Cl2exlEh.js";
|
|
11
|
-
import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-
|
|
11
|
+
import { i as extractSourceFonts, n as FontSourcePackage, r as createDocumentFontRegistry, t as DocumentFontRegistryOptions } from "./registry-913jEe6-.js";
|
|
12
12
|
import { CsvReadOptions, CsvWriteOptions, DocumentBridgeOptions, DocumentToPdfOptions, OdbConversionOptions, OdbReportToDocxOptions, OdbReportToOdtOptions, OdbToCsvOptions, OdmToPdfOptions, OdmUnresolvedSectionError, SvgReadOptions, SvgWriteOptions, csvToMarkdown, csvToOds, csvToPdf, csvToXlsx, docxToMarkdown, docxToOdt, docxToPdf, docxToPptx, markdownToCsv, markdownToDocx, markdownToOdt, markdownToPdf, markdownToXlsx, odbReportToDocx, odbReportToOdt, odbReportToPdf, odbToCsv, odbToXlsx, odfToPdf, odgToPdf, odgToSvg, odmToPdf, odpToOdt, odpToPdf, odpToPptx, odsToCsv, odsToPdf, odsToXlsx, odtToDocx, odtToMarkdown, odtToOdp, odtToPdf, pptxToDocx, pptxToOdp, pptxToPdf, svgToOdg, svgToPdf, xlsxToCsv, xlsxToMarkdown, xlsxToOds, xlsxToPdf } from "./convert/convert.js";
|
|
13
13
|
import { UnsupportedFontSourceFormatError, extractSourceFontsForFormat } from "./convert/document-fonts.js";
|
|
14
14
|
import { buildDocumentBytes, layoutDocumentFromPackage } from "./convert/from-package.js";
|
|
@@ -19,8 +19,8 @@ import { CsvParseError } from "./csv/records.js";
|
|
|
19
19
|
import { CsvInvalidUtf8Error, decodeCsvText, encodeCsvText } from "./csv/text.js";
|
|
20
20
|
import { BuildCsvTextOptions, CsvSheetNotFoundError, CsvSheetNotSpecifiedError, CsvUnsupportedDocumentKindError, buildCsvText } from "./csv/write.js";
|
|
21
21
|
import { BuildDocxPackageOptions, buildDocxPackage } from "./edit/docx/content.js";
|
|
22
|
-
import { c as firstChildByLocalName, d as textContent, i as MathMlText, l as isMathMlElement, n as MathMlElement, o as elementChildren, r as MathMlNode, s as elementLocalName, t as MathMlAttribute, u as localName } from "./nodes-
|
|
23
|
-
import { n as buildOfficeMath, r as buildOfficeMathParagraph, t as OmmlWriteResult } from "./write-
|
|
22
|
+
import { c as firstChildByLocalName, d as textContent, i as MathMlText, l as isMathMlElement, n as MathMlElement, o as elementChildren, r as MathMlNode, s as elementLocalName, t as MathMlAttribute, u as localName } from "./nodes-jrlUmrNs.js";
|
|
23
|
+
import { n as buildOfficeMath, r as buildOfficeMathParagraph, t as OmmlWriteResult } from "./write-qKlz1R0J.js";
|
|
24
24
|
import { t as DocxRun } from "./run-Bv6gpAMj.js";
|
|
25
25
|
import { DocxParagraph } from "./edit/docx/paragraph.js";
|
|
26
26
|
import { DocxTable, DocxTableCell, DocxTableRow, DocxVerticalMerge } from "./edit/docx/table.js";
|
|
@@ -33,15 +33,15 @@ import { MarkdownTable, MarkdownTableCell, MarkdownTableRow, TableInit } from ".
|
|
|
33
33
|
import { CreateMarkdownEditorOptions, MarkdownBody, MarkdownEditor, createMarkdownEditor, openMarkdown } from "./edit/markdown/editor.js";
|
|
34
34
|
import { BuildOdgPackageOptions, buildOdgPackage } from "./edit/odg/content.js";
|
|
35
35
|
import { n as RunInit$1, t as OdtRun } from "./run-mzBHuFWz.js";
|
|
36
|
-
import { n as ParagraphInit$1, t as OdtParagraph } from "./paragraph
|
|
37
|
-
import { n as OdtListItem, t as OdtList } from "./list-
|
|
38
|
-
import { t as OdpShape } from "./shape-
|
|
39
|
-
import { a as OdgLineVector, c as OdgVectorKind, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "./vector-
|
|
36
|
+
import { n as ParagraphInit$1, t as OdtParagraph } from "./paragraph-D_fDin5K.js";
|
|
37
|
+
import { n as OdtListItem, t as OdtList } from "./list-B_Sy668f.js";
|
|
38
|
+
import { t as OdpShape } from "./shape-xpgICOEx.js";
|
|
39
|
+
import { a as OdgLineVector, c as OdgVectorKind, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "./vector-DDP7hgvm.js";
|
|
40
40
|
import { OdgPage, PageImageInit, TextBoxInit } from "./edit/odg/page.js";
|
|
41
41
|
import { CreateOdgOptions, OdgEditor, createOdg, openOdg } from "./edit/odg/editor.js";
|
|
42
42
|
import { CreateEmptyOdgPackageOptions } from "./edit/odg/scaffold.js";
|
|
43
43
|
import { BuildOdpPackageOptions, buildOdpPackage } from "./edit/odp/content.js";
|
|
44
|
-
import { a as TableInit$1, i as OdtTableRow, n as OdtTable, r as OdtTableCell } from "./table-
|
|
44
|
+
import { a as TableInit$1, i as OdtTableRow, n as OdtTable, r as OdtTableCell } from "./table-Ck0fyr8d.js";
|
|
45
45
|
import { OdpSlide, SlideImageInit, SlideTableInit, TextBoxInit as TextBoxInit$1 } from "./edit/odp/slide.js";
|
|
46
46
|
import { CreateOdpOptions, OdpEditor, createOdp, openOdp } from "./edit/odp/editor.js";
|
|
47
47
|
import { CreateEmptyOdpPackageOptions } from "./edit/odp/scaffold.js";
|
|
@@ -53,18 +53,18 @@ import { CreateEmptyOdsPackageOptions } from "./edit/ods/scaffold.js";
|
|
|
53
53
|
import { BuildOdtPackageOptions, buildOdtPackage } from "./edit/odt/content.js";
|
|
54
54
|
import { CreateOdtOptions, OdtBody, OdtEditor, createOdt, openOdt } from "./edit/odt/editor.js";
|
|
55
55
|
import { CreateEmptyOdtPackageOptions } from "./edit/odt/scaffold.js";
|
|
56
|
-
import { a as PdfInternalLinkItem, c as PdfLineItem, d as PdfPathInit, f as PdfPathItem, g as PdfTextItem, h as PdfTextInit, i as PdfImageItem, l as PdfLinkInit, m as PdfRectItem, n as PdfEllipseItem, o as PdfItem, p as PdfRectInit, r as PdfImageInit, s as PdfLineInit, t as PdfEllipseInit, u as PdfLinkItem } from "./item-
|
|
56
|
+
import { a as PdfInternalLinkItem, c as PdfLineItem, d as PdfPathInit, f as PdfPathItem, g as PdfTextItem, h as PdfTextInit, i as PdfImageItem, l as PdfLinkInit, m as PdfRectItem, n as PdfEllipseItem, o as PdfItem, p as PdfRectInit, r as PdfImageInit, s as PdfLineInit, t as PdfEllipseInit, u as PdfLinkItem } from "./item-SUC4uKDO.js";
|
|
57
57
|
import { PageInit, PdfPage } from "./edit/pdf/page.js";
|
|
58
58
|
import { CreatePdfOptions, PdfEditor, createPdf, openPdf } from "./edit/pdf/editor.js";
|
|
59
59
|
import { BuildPptxPackageOptions, buildPptxPackage, embeddedPresentationSerialiser } from "./edit/pptx/content.js";
|
|
60
|
-
import { n as DrawingRunInit, r as PptxShape, t as DrawingParagraphInit } from "./shape-
|
|
61
|
-
import { i as PptxTableRow, n as PptxTableCell, r as PptxTableInit, t as PptxTable } from "./table-
|
|
60
|
+
import { n as DrawingRunInit, r as PptxShape, t as DrawingParagraphInit } from "./shape-BY5P8kDn.js";
|
|
61
|
+
import { i as PptxTableRow, n as PptxTableCell, r as PptxTableInit, t as PptxTable } from "./table-C3VWWdjr.js";
|
|
62
62
|
import { PptxSlide, SlideImageInit as SlideImageInit$1, SlideTableInit as SlideTableInit$1, TextBoxInit as TextBoxInit$2 } from "./edit/pptx/slide.js";
|
|
63
63
|
import { CreatePptxOptions, PptxEditor, createPptx, openPptx } from "./edit/pptx/editor.js";
|
|
64
64
|
import { CreateEmptyPptxPackageOptions } from "./edit/pptx/scaffold.js";
|
|
65
65
|
import { a as parseHsqldbScript, i as displayTextFor, n as HsqldbScriptParseError, r as HsqldbTable, t as HsqldbColumn } from "./script-DsGGIzGU.js";
|
|
66
66
|
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.js";
|
|
67
|
-
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-
|
|
67
|
+
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-CMN0QKUE.js";
|
|
68
68
|
import { FirebirdBackupParseError } from "./firebird/reader.js";
|
|
69
69
|
import { FirebirdSchemaParseError } from "./firebird/schema.js";
|
|
70
70
|
import { FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError } from "./firebird/data.js";
|
|
@@ -79,7 +79,7 @@ import { MathDiagnostic, MathDiagnosticKind, MathLayoutResult } from "./mathml/l
|
|
|
79
79
|
import { LayoutFormulaOptions, layoutFormula } from "./mathml/layout.js";
|
|
80
80
|
import { OperatorProperties, operatorProperties } from "./mathml/operators.js";
|
|
81
81
|
import { OmmlReadResult, collectOfficeMathElements, readOfficeMath } from "./omml/read.js";
|
|
82
|
-
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "./diagnostics-
|
|
82
|
+
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "./diagnostics-DdO0xPGy.js";
|
|
83
83
|
import { LatexFormulaOptions, LatexFormulaResult, LatexLoweringResult, LowerLatexOptions, latexToFormula, lowerLatex } from "./latex/lower.js";
|
|
84
84
|
import { lintMathCoherence } from "./latex/lint.js";
|
|
85
85
|
import { MarkdownMathLoweringOptions, lowerMarkdownMath } from "./markdown/math.js";
|
|
@@ -111,9 +111,9 @@ import { OdbNoEmbeddedDataSourceError, OdbUnsupportedFormat, OdbUnsupportedForma
|
|
|
111
111
|
import { odbTablesToSpreadsheetDocument } from "./odb/spreadsheet.js";
|
|
112
112
|
import { readOdbForms, readOdbReports } from "./odb/components.js";
|
|
113
113
|
import { OdbTableNotFoundError, OdbTableNotSpecifiedError } from "./odb/csv.js";
|
|
114
|
-
import { i as tokenizeSql, n as SqlPunctuation, r as SqlToken, t as SqlComparisonOperator } from "./lexer-
|
|
115
|
-
import { a as SqlNameRef, c as SqlPredicate, d as SqlSortDirection, f as parseSelect, i as SqlLiteral, l as SqlSelectItem, n as SqlAggregateFunction, o as SqlOperand, r as SqlColumnRef, s as SqlOrderByTerm, t as SqlAggregateArgument, u as SqlSelectStatement } from "./parser-
|
|
116
|
-
import { n as evaluateSelect, t as SqlResultSet } from "./evaluate-
|
|
114
|
+
import { i as tokenizeSql, n as SqlPunctuation, r as SqlToken, t as SqlComparisonOperator } from "./lexer-DgsW7jMA.js";
|
|
115
|
+
import { a as SqlNameRef, c as SqlPredicate, d as SqlSortDirection, f as parseSelect, i as SqlLiteral, l as SqlSelectItem, n as SqlAggregateFunction, o as SqlOperand, r as SqlColumnRef, s as SqlOrderByTerm, t as SqlAggregateArgument, u as SqlSelectStatement } from "./parser-D0IJI7LA.js";
|
|
116
|
+
import { n as evaluateSelect, t as SqlResultSet } from "./evaluate-Cu7iEnxX.js";
|
|
117
117
|
import { HsqldbSqlEvaluationError, HsqldbSqlParseError, HsqldbSqlUnsupportedError } from "./odb/sql/errors.js";
|
|
118
118
|
import { RptBandDefinition, RptBandInstance, RptBandKind, RptGroupDefinition, RptNamedFunctionDefinition, RptReportDefinition, RptReportRun, RptScope, evaluateRptBandOutsideData, runRptReport } from "./odb/formula/evaluate.js";
|
|
119
119
|
import { RptAggregateFunction, RptFormula, RptReference, parseRptFormula } from "./odb/formula/parser.js";
|
|
@@ -143,7 +143,7 @@ declare class PdfLineItem extends PdfItemBase<LayoutLine> {
|
|
|
143
143
|
interface PdfPathInit {
|
|
144
144
|
readonly subpaths: readonly LayoutSubpath[];
|
|
145
145
|
readonly fill?: Color;
|
|
146
|
-
readonly fillRule?:
|
|
146
|
+
readonly fillRule?: "nonzero" | "evenodd";
|
|
147
147
|
readonly stroke?: {
|
|
148
148
|
readonly color: Color;
|
|
149
149
|
readonly widthPt: number;
|
|
@@ -158,8 +158,8 @@ declare class PdfPathItem extends PdfItemBase<LayoutPath> {
|
|
|
158
158
|
set subpaths(value: readonly LayoutSubpath[]);
|
|
159
159
|
get fill(): Color | undefined;
|
|
160
160
|
set fill(value: Color | undefined);
|
|
161
|
-
get fillRule():
|
|
162
|
-
set fillRule(value:
|
|
161
|
+
get fillRule(): "nonzero" | "evenodd" | undefined;
|
|
162
|
+
set fillRule(value: "nonzero" | "evenodd" | undefined);
|
|
163
163
|
get stroke(): {
|
|
164
164
|
readonly color: Color;
|
|
165
165
|
readonly widthPt: number;
|
|
@@ -178,7 +178,7 @@ interface PdfImageInit {
|
|
|
178
178
|
readonly heightPt: number;
|
|
179
179
|
readonly rotationDeg?: number;
|
|
180
180
|
readonly bytes: Uint8Array<ArrayBuffer>;
|
|
181
|
-
readonly format:
|
|
181
|
+
readonly format: "png" | "jpeg";
|
|
182
182
|
}
|
|
183
183
|
declare function buildImageItem(init: PdfImageInit, images: Record<string, LayoutImageAsset>): LayoutImage;
|
|
184
184
|
declare class PdfImageItem extends PdfItemBase<LayoutImage> {
|
|
@@ -196,7 +196,7 @@ declare class PdfImageItem extends PdfItemBase<LayoutImage> {
|
|
|
196
196
|
set heightPt(value: number);
|
|
197
197
|
get rotationDeg(): number | undefined;
|
|
198
198
|
set rotationDeg(value: number | undefined);
|
|
199
|
-
setImage(bytes: Uint8Array<ArrayBuffer>, format:
|
|
199
|
+
setImage(bytes: Uint8Array<ArrayBuffer>, format: "png" | "jpeg"): void;
|
|
200
200
|
}
|
|
201
201
|
interface PdfLinkInit {
|
|
202
202
|
readonly uri: string;
|
|
@@ -143,7 +143,7 @@ declare class PdfLineItem extends PdfItemBase<LayoutLine> {
|
|
|
143
143
|
interface PdfPathInit {
|
|
144
144
|
readonly subpaths: readonly LayoutSubpath[];
|
|
145
145
|
readonly fill?: Color;
|
|
146
|
-
readonly fillRule?:
|
|
146
|
+
readonly fillRule?: "nonzero" | "evenodd";
|
|
147
147
|
readonly stroke?: {
|
|
148
148
|
readonly color: Color;
|
|
149
149
|
readonly widthPt: number;
|
|
@@ -158,8 +158,8 @@ declare class PdfPathItem extends PdfItemBase<LayoutPath> {
|
|
|
158
158
|
set subpaths(value: readonly LayoutSubpath[]);
|
|
159
159
|
get fill(): Color | undefined;
|
|
160
160
|
set fill(value: Color | undefined);
|
|
161
|
-
get fillRule():
|
|
162
|
-
set fillRule(value:
|
|
161
|
+
get fillRule(): "nonzero" | "evenodd" | undefined;
|
|
162
|
+
set fillRule(value: "nonzero" | "evenodd" | undefined);
|
|
163
163
|
get stroke(): {
|
|
164
164
|
readonly color: Color;
|
|
165
165
|
readonly widthPt: number;
|
|
@@ -178,7 +178,7 @@ interface PdfImageInit {
|
|
|
178
178
|
readonly heightPt: number;
|
|
179
179
|
readonly rotationDeg?: number;
|
|
180
180
|
readonly bytes: Uint8Array<ArrayBuffer>;
|
|
181
|
-
readonly format:
|
|
181
|
+
readonly format: "png" | "jpeg";
|
|
182
182
|
}
|
|
183
183
|
declare function buildImageItem(init: PdfImageInit, images: Record<string, LayoutImageAsset>): LayoutImage;
|
|
184
184
|
declare class PdfImageItem extends PdfItemBase<LayoutImage> {
|
|
@@ -196,7 +196,7 @@ declare class PdfImageItem extends PdfItemBase<LayoutImage> {
|
|
|
196
196
|
set heightPt(value: number);
|
|
197
197
|
get rotationDeg(): number | undefined;
|
|
198
198
|
set rotationDeg(value: number | undefined);
|
|
199
|
-
setImage(bytes: Uint8Array<ArrayBuffer>, format:
|
|
199
|
+
setImage(bytes: Uint8Array<ArrayBuffer>, format: "png" | "jpeg"): void;
|
|
200
200
|
}
|
|
201
201
|
interface PdfLinkInit {
|
|
202
202
|
readonly uri: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "../diagnostics-
|
|
1
|
+
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "../diagnostics-DdO0xPGy.cjs";
|
|
2
2
|
export { LATEX_DIAGNOSTIC_CODES, LatexDiagnostic, LatexDiagnosticCode, LatexDiagnosticSink, MATH_LINT_CODES, MathLintCode, MathLintDiagnostic };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "../diagnostics-
|
|
1
|
+
import { a as MATH_LINT_CODES, i as LatexDiagnosticSink, n as LatexDiagnostic, o as MathLintCode, r as LatexDiagnosticCode, s as MathLintDiagnostic, t as LATEX_DIAGNOSTIC_CODES } from "../diagnostics-DdO0xPGy.js";
|
|
2
2
|
export { LATEX_DIAGNOSTIC_CODES, LatexDiagnostic, LatexDiagnosticCode, LatexDiagnosticSink, MATH_LINT_CODES, MathLintCode, MathLintDiagnostic };
|
package/dist/latex/lint.cjs
CHANGED
|
@@ -70,12 +70,10 @@ function lintMathCoherence(pkg) {
|
|
|
70
70
|
else if (content.kind === "wordprocessing") for (const [index, section] of content.sections.entries()) collectBlockFormulas(section.blocks, `sections[${String(index)}]`, found);
|
|
71
71
|
else if (content.kind === "presentation") for (const [slideIndex, slide] of content.slides.entries()) for (const [shapeIndex, shape] of slide.shapes.entries()) collectBlockFormulas(shape.blocks, `slides[${String(slideIndex)}].shapes[${String(shapeIndex)}]`, found);
|
|
72
72
|
else if (content.kind === "drawing") for (const [pageIndex, page] of content.pages.entries()) for (const [shapeIndex, shape] of page.shapes.entries()) collectBlockFormulas(shape.blocks, `pages[${String(pageIndex)}].shapes[${String(shapeIndex)}]`, found);
|
|
73
|
-
else
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
});
|
|
78
|
-
}
|
|
73
|
+
else for (const [sheetIndex, sheet] of content.sheets.entries()) for (const [objectIndex, object] of (sheet.embeddedObjects ?? []).entries()) if (object.objectKind === "formula" && object.document.kind === "formula") found.push({
|
|
74
|
+
formula: object.document.formula,
|
|
75
|
+
locate: `sheets[${String(sheetIndex)}].embeddedObjects[${String(objectIndex)}]`
|
|
76
|
+
});
|
|
79
77
|
for (const { formula, locate } of found) lintFormula(formula, locate, symbolEntries, warnings);
|
|
80
78
|
return warnings;
|
|
81
79
|
}
|
package/dist/latex/lint.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as MathLintDiagnostic } from "../diagnostics-
|
|
1
|
+
import { s as MathLintDiagnostic } from "../diagnostics-DdO0xPGy.cjs";
|
|
2
2
|
import { DocumentTree } from "document-schema.js";
|
|
3
3
|
//#region src/latex/lint.d.ts
|
|
4
4
|
declare function lintMathCoherence(pkg: DocumentTree): readonly MathLintDiagnostic[];
|
package/dist/latex/lint.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as MathLintDiagnostic } from "../diagnostics-
|
|
1
|
+
import { s as MathLintDiagnostic } from "../diagnostics-DdO0xPGy.js";
|
|
2
2
|
import { DocumentTree } from "document-schema.js";
|
|
3
3
|
//#region src/latex/lint.d.ts
|
|
4
4
|
declare function lintMathCoherence(pkg: DocumentTree): readonly MathLintDiagnostic[];
|
package/dist/latex/lint.js
CHANGED
|
@@ -69,12 +69,10 @@ function lintMathCoherence(pkg) {
|
|
|
69
69
|
else if (content.kind === "wordprocessing") for (const [index, section] of content.sections.entries()) collectBlockFormulas(section.blocks, `sections[${String(index)}]`, found);
|
|
70
70
|
else if (content.kind === "presentation") for (const [slideIndex, slide] of content.slides.entries()) for (const [shapeIndex, shape] of slide.shapes.entries()) collectBlockFormulas(shape.blocks, `slides[${String(slideIndex)}].shapes[${String(shapeIndex)}]`, found);
|
|
71
71
|
else if (content.kind === "drawing") for (const [pageIndex, page] of content.pages.entries()) for (const [shapeIndex, shape] of page.shapes.entries()) collectBlockFormulas(shape.blocks, `pages[${String(pageIndex)}].shapes[${String(shapeIndex)}]`, found);
|
|
72
|
-
else
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
});
|
|
77
|
-
}
|
|
72
|
+
else for (const [sheetIndex, sheet] of content.sheets.entries()) for (const [objectIndex, object] of (sheet.embeddedObjects ?? []).entries()) if (object.objectKind === "formula" && object.document.kind === "formula") found.push({
|
|
73
|
+
formula: object.document.formula,
|
|
74
|
+
locate: `sheets[${String(sheetIndex)}].embeddedObjects[${String(objectIndex)}]`
|
|
75
|
+
});
|
|
78
76
|
for (const { formula, locate } of found) lintFormula(formula, locate, symbolEntries, warnings);
|
|
79
77
|
return warnings;
|
|
80
78
|
}
|
package/dist/latex/lower.cjs
CHANGED
|
@@ -449,7 +449,7 @@ function simpleScriptGlyph(nodes) {
|
|
|
449
449
|
function readBinder(node, context) {
|
|
450
450
|
if (node.type !== "supsub") return { status: "not-a-binder" };
|
|
451
451
|
const base = require_latex_temml.isTemmlNode(node.base) ? node.base : void 0;
|
|
452
|
-
if (base?.type !== "op" || base
|
|
452
|
+
if (base?.type !== "op" || base.symbol !== true || typeof base.name !== "string") return { status: "not-a-binder" };
|
|
453
453
|
if (base.name !== "\\sum" && base.name !== "\\prod") return { status: "not-a-binder" };
|
|
454
454
|
const kind = base.name === "\\sum" ? "sum" : "prod";
|
|
455
455
|
const detail = spanOfNodes(context, [node]);
|
package/dist/latex/lower.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LatexDiagnosticSink, n as LatexDiagnostic } from "../diagnostics-
|
|
1
|
+
import { i as LatexDiagnosticSink, n as LatexDiagnostic } from "../diagnostics-DdO0xPGy.cjs";
|
|
2
2
|
import { ContentFormula, MathExpression, MathSymbolEntry } from "document-schema.js";
|
|
3
3
|
//#region src/latex/lower.d.ts
|
|
4
4
|
interface LowerLatexOptions {
|
package/dist/latex/lower.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LatexDiagnosticSink, n as LatexDiagnostic } from "../diagnostics-
|
|
1
|
+
import { i as LatexDiagnosticSink, n as LatexDiagnostic } from "../diagnostics-DdO0xPGy.js";
|
|
2
2
|
import { ContentFormula, MathExpression, MathSymbolEntry } from "document-schema.js";
|
|
3
3
|
//#region src/latex/lower.d.ts
|
|
4
4
|
interface LowerLatexOptions {
|
package/dist/latex/lower.js
CHANGED
|
@@ -448,7 +448,7 @@ function simpleScriptGlyph(nodes) {
|
|
|
448
448
|
function readBinder(node, context) {
|
|
449
449
|
if (node.type !== "supsub") return { status: "not-a-binder" };
|
|
450
450
|
const base = isTemmlNode(node.base) ? node.base : void 0;
|
|
451
|
-
if (base?.type !== "op" || base
|
|
451
|
+
if (base?.type !== "op" || base.symbol !== true || typeof base.name !== "string") return { status: "not-a-binder" };
|
|
452
452
|
if (base.name !== "\\sum" && base.name !== "\\prod") return { status: "not-a-binder" };
|
|
453
453
|
const kind = base.name === "\\sum" ? "sum" : "prod";
|
|
454
454
|
const detail = spanOfNodes(context, [node]);
|
package/dist/latex/symbols.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as LatexDiagnostic } from "../diagnostics-
|
|
1
|
+
import { n as LatexDiagnostic } from "../diagnostics-DdO0xPGy.cjs";
|
|
2
2
|
import { ContentDocument, MathSymbolEntry } from "document-schema.js";
|
|
3
3
|
//#region src/latex/symbols.d.ts
|
|
4
4
|
declare function glyphOfSymbolText(text: string): string | undefined;
|
package/dist/latex/symbols.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as LatexDiagnostic } from "../diagnostics-
|
|
1
|
+
import { n as LatexDiagnostic } from "../diagnostics-DdO0xPGy.js";
|
|
2
2
|
import { ContentDocument, MathSymbolEntry } from "document-schema.js";
|
|
3
3
|
//#region src/latex/symbols.d.ts
|
|
4
4
|
declare function glyphOfSymbolText(text: string): string | undefined;
|
package/dist/latex/temml.d.cts
CHANGED
|
@@ -13,11 +13,11 @@ interface TemmlSourceSpan {
|
|
|
13
13
|
declare function sourceSpanOf(node: TemmlNode): TemmlSourceSpan | undefined;
|
|
14
14
|
declare function sourceSlice(input: string, span: TemmlSourceSpan | undefined): string;
|
|
15
15
|
type LatexParseResult = {
|
|
16
|
-
readonly status:
|
|
16
|
+
readonly status: "parsed";
|
|
17
17
|
readonly nodes: readonly TemmlNode[];
|
|
18
18
|
readonly mathml: readonly MathMlNode[];
|
|
19
19
|
} | {
|
|
20
|
-
readonly status:
|
|
20
|
+
readonly status: "unparseable";
|
|
21
21
|
readonly message: string;
|
|
22
22
|
};
|
|
23
23
|
declare function parseLatex(latex: string): LatexParseResult;
|
package/dist/latex/temml.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ interface TemmlSourceSpan {
|
|
|
13
13
|
declare function sourceSpanOf(node: TemmlNode): TemmlSourceSpan | undefined;
|
|
14
14
|
declare function sourceSlice(input: string, span: TemmlSourceSpan | undefined): string;
|
|
15
15
|
type LatexParseResult = {
|
|
16
|
-
readonly status:
|
|
16
|
+
readonly status: "parsed";
|
|
17
17
|
readonly nodes: readonly TemmlNode[];
|
|
18
18
|
readonly mathml: readonly MathMlNode[];
|
|
19
19
|
} | {
|
|
20
|
-
readonly status:
|
|
20
|
+
readonly status: "unparseable";
|
|
21
21
|
readonly message: string;
|
|
22
22
|
};
|
|
23
23
|
declare function parseLatex(latex: string): LatexParseResult;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "../cell-typing-
|
|
1
|
+
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "../cell-typing-BQ-xQ5X5.cjs";
|
|
2
2
|
export { CellTypeDeclineReason, CellTypeInference, CellTypeInferenceResult, CellTypeInferenceSink, CellTypeRule, inferCellValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "../cell-typing-
|
|
1
|
+
import { a as CellTypeRule, i as CellTypeInferenceSink, n as CellTypeInference, o as inferCellValue, r as CellTypeInferenceResult, t as CellTypeDeclineReason } from "../cell-typing-BQ-xQ5X5.js";
|
|
2
2
|
export { CellTypeDeclineReason, CellTypeInference, CellTypeInferenceResult, CellTypeInferenceSink, CellTypeRule, inferCellValue };
|
|
@@ -9,7 +9,7 @@ interface DrawingLayoutOptions {
|
|
|
9
9
|
readonly measurer: TextMeasurer;
|
|
10
10
|
}
|
|
11
11
|
type DrawingContentDocument = Extract<ContentDocument, {
|
|
12
|
-
kind:
|
|
12
|
+
kind: "drawing";
|
|
13
13
|
}>;
|
|
14
14
|
declare function convertVector(vector: ContentVector, pageHeightPt: number, out: LayoutItem[]): void;
|
|
15
15
|
declare function convertDrawingToLayout(doc: DrawingContentDocument, options: DrawingLayoutOptions): DrawingLayoutResult;
|
package/dist/layout/drawing.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface DrawingLayoutOptions {
|
|
|
9
9
|
readonly measurer: TextMeasurer;
|
|
10
10
|
}
|
|
11
11
|
type DrawingContentDocument = Extract<ContentDocument, {
|
|
12
|
-
kind:
|
|
12
|
+
kind: "drawing";
|
|
13
13
|
}>;
|
|
14
14
|
declare function convertVector(vector: ContentVector, pageHeightPt: number, out: LayoutItem[]): void;
|
|
15
15
|
declare function convertDrawingToLayout(doc: DrawingContentDocument, options: DrawingLayoutOptions): DrawingLayoutResult;
|
package/dist/layout/engine.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ interface WordprocessingLayoutResult {
|
|
|
11
11
|
readonly pages: readonly PageSize[];
|
|
12
12
|
}
|
|
13
13
|
type WordprocessingContentDocument = Extract<ContentDocument, {
|
|
14
|
-
kind:
|
|
14
|
+
kind: "wordprocessing";
|
|
15
15
|
}>;
|
|
16
16
|
declare function convertWordprocessingToLayout(doc: WordprocessingContentDocument, options: EngineLayoutOptions): WordprocessingLayoutResult;
|
|
17
17
|
//#endregion
|
package/dist/layout/engine.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface WordprocessingLayoutResult {
|
|
|
11
11
|
readonly pages: readonly PageSize[];
|
|
12
12
|
}
|
|
13
13
|
type WordprocessingContentDocument = Extract<ContentDocument, {
|
|
14
|
-
kind:
|
|
14
|
+
kind: "wordprocessing";
|
|
15
15
|
}>;
|
|
16
16
|
declare function convertWordprocessingToLayout(doc: WordprocessingContentDocument, options: EngineLayoutOptions): WordprocessingLayoutResult;
|
|
17
17
|
//#endregion
|
|
@@ -160,7 +160,7 @@ function layerOf(item) {
|
|
|
160
160
|
return item.kind === "link" || item.kind === "internalLink" ? void 0 : item.layer;
|
|
161
161
|
}
|
|
162
162
|
function dropHiddenLayerContent(doc) {
|
|
163
|
-
const hidden = new Set((doc.layers ?? []).filter((layer) => layer.visible
|
|
163
|
+
const hidden = new Set((doc.layers ?? []).filter((layer) => !layer.visible).map((layer) => layer.name));
|
|
164
164
|
if (hidden.size === 0) return doc;
|
|
165
165
|
return {
|
|
166
166
|
...doc,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CellTypeInferenceSink } from "../cell-typing-
|
|
1
|
+
import { i as CellTypeInferenceSink } from "../cell-typing-BQ-xQ5X5.cjs";
|
|
2
2
|
import { ContentDocument } from "document-schema.js";
|
|
3
3
|
import { LayoutDocument } from "pdf-codec";
|
|
4
4
|
//#region src/layout/reconstruct.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CellTypeInferenceSink } from "../cell-typing-
|
|
1
|
+
import { i as CellTypeInferenceSink } from "../cell-typing-BQ-xQ5X5.js";
|
|
2
2
|
import { ContentDocument } from "document-schema.js";
|
|
3
3
|
import { LayoutDocument } from "pdf-codec";
|
|
4
4
|
//#region src/layout/reconstruct.d.ts
|
|
@@ -159,7 +159,7 @@ function layerOf(item) {
|
|
|
159
159
|
return item.kind === "link" || item.kind === "internalLink" ? void 0 : item.layer;
|
|
160
160
|
}
|
|
161
161
|
function dropHiddenLayerContent(doc) {
|
|
162
|
-
const hidden = new Set((doc.layers ?? []).filter((layer) => layer.visible
|
|
162
|
+
const hidden = new Set((doc.layers ?? []).filter((layer) => !layer.visible).map((layer) => layer.name));
|
|
163
163
|
if (hidden.size === 0) return doc;
|
|
164
164
|
return {
|
|
165
165
|
...doc,
|
package/dist/layout/sheets.d.cts
CHANGED
|
@@ -12,7 +12,7 @@ interface SpreadsheetLayoutResult {
|
|
|
12
12
|
readonly pages: readonly PageSize[];
|
|
13
13
|
}
|
|
14
14
|
type SpreadsheetContentDocument = Extract<ContentDocument, {
|
|
15
|
-
kind:
|
|
15
|
+
kind: "spreadsheet";
|
|
16
16
|
}>;
|
|
17
17
|
declare const NOMINAL_CELL_TEXT_SIZE_PT = 10;
|
|
18
18
|
declare function convertSpreadsheetToLayout(doc: SpreadsheetContentDocument, options: SheetsLayoutOptions): SpreadsheetLayoutResult;
|
package/dist/layout/sheets.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ interface SpreadsheetLayoutResult {
|
|
|
12
12
|
readonly pages: readonly PageSize[];
|
|
13
13
|
}
|
|
14
14
|
type SpreadsheetContentDocument = Extract<ContentDocument, {
|
|
15
|
-
kind:
|
|
15
|
+
kind: "spreadsheet";
|
|
16
16
|
}>;
|
|
17
17
|
declare const NOMINAL_CELL_TEXT_SIZE_PT = 10;
|
|
18
18
|
declare function convertSpreadsheetToLayout(doc: SpreadsheetContentDocument, options: SheetsLayoutOptions): SpreadsheetLayoutResult;
|
package/dist/layout/slides.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ interface PresentationLayoutResult {
|
|
|
11
11
|
readonly pages: readonly PageSize[];
|
|
12
12
|
}
|
|
13
13
|
type PresentationContentDocument = Extract<ContentDocument, {
|
|
14
|
-
kind:
|
|
14
|
+
kind: "presentation";
|
|
15
15
|
}>;
|
|
16
16
|
interface ShapeFormulaContext {
|
|
17
17
|
readonly pageIndex: number;
|
package/dist/layout/slides.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface PresentationLayoutResult {
|
|
|
11
11
|
readonly pages: readonly PageSize[];
|
|
12
12
|
}
|
|
13
13
|
type PresentationContentDocument = Extract<ContentDocument, {
|
|
14
|
-
kind:
|
|
14
|
+
kind: "presentation";
|
|
15
15
|
}>;
|
|
16
16
|
interface ShapeFormulaContext {
|
|
17
17
|
readonly pageIndex: number;
|
|
@@ -6,7 +6,7 @@ interface SourcedRun extends StyledRun {
|
|
|
6
6
|
interface SourcedFragment extends StyledFragment {
|
|
7
7
|
readonly runIndex?: number;
|
|
8
8
|
}
|
|
9
|
-
interface SourcedWrappedLine extends Omit<WrappedLine,
|
|
9
|
+
interface SourcedWrappedLine extends Omit<WrappedLine, "fragments"> {
|
|
10
10
|
readonly fragments: readonly (SourcedFragment & {
|
|
11
11
|
readonly xOffsetPt: number;
|
|
12
12
|
})[];
|
|
@@ -6,7 +6,7 @@ interface SourcedRun extends StyledRun {
|
|
|
6
6
|
interface SourcedFragment extends StyledFragment {
|
|
7
7
|
readonly runIndex?: number;
|
|
8
8
|
}
|
|
9
|
-
interface SourcedWrappedLine extends Omit<WrappedLine,
|
|
9
|
+
interface SourcedWrappedLine extends Omit<WrappedLine, "fragments"> {
|
|
10
10
|
readonly fragments: readonly (SourcedFragment & {
|
|
11
11
|
readonly xOffsetPt: number;
|
|
12
12
|
})[];
|