ooxml.js 5.0.2 → 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.
Files changed (138) hide show
  1. package/README.md +44 -35
  2. package/dist/{build-XSm3I8LT.d.cts → build--uPsivid.d.cts} +1 -1
  3. package/dist/{build-q0qMH_ML.d.ts → build-BOI7rIog.d.ts} +1 -1
  4. package/dist/{build-D-ldsmtA.d.cts → build-BY9Mn-4K.d.cts} +1 -1
  5. package/dist/{build-Z1KRkSEB.d.ts → build-DgBE0bmv.d.ts} +1 -1
  6. package/dist/codec-BBM1RYx7.d.cts +90 -0
  7. package/dist/codec-Cva8QD7-.d.ts +90 -0
  8. package/dist/codec.d.cts +1 -1
  9. package/dist/codec.d.ts +1 -1
  10. package/dist/{color-fFIKAs-Y.d.cts → color-DLoZOrg3.d.cts} +1 -1
  11. package/dist/{color-fFIKAs-Y.d.ts → color-DLoZOrg3.d.ts} +1 -1
  12. package/dist/{compact-f0TfhicN.d.ts → compact-CmOeA2dl.d.ts} +2 -2
  13. package/dist/{compact-B1qg9oex.d.cts → compact-DMCbYORW.d.cts} +2 -2
  14. package/dist/compact.d.cts +1 -1
  15. package/dist/compact.d.ts +1 -1
  16. package/dist/{content-C79O3esU.d.cts → content-BiYr86lr.d.cts} +1 -1
  17. package/dist/{content-MEmp_Rlx.d.ts → content-D1pmxaUb.d.ts} +1 -1
  18. package/dist/document-tree-B17XbBOR.d.ts +11 -0
  19. package/dist/document-tree-CjI-Z4Tp.d.cts +11 -0
  20. package/dist/{fragment-B1og_8uA.d.cts → fragment-9dNg-m46.d.cts} +1 -1
  21. package/dist/{fragment-B1ZV7T5Z.d.ts → fragment-ClgCV_if.d.ts} +1 -1
  22. package/dist/image/sniff.d.cts +1 -1
  23. package/dist/image/sniff.d.ts +1 -1
  24. package/dist/index.cjs +57 -57
  25. package/dist/index.d.cts +22 -22
  26. package/dist/index.d.ts +22 -22
  27. package/dist/index.js +4 -4
  28. package/dist/{metadata-o_WH9V_I.d.ts → metadata-Bjfa88HQ.d.ts} +1 -1
  29. package/dist/{metadata-D6o-kLpg.d.cts → metadata-C74-XCrx.d.cts} +1 -1
  30. package/dist/model/node.d.cts +1 -1
  31. package/dist/model/node.d.ts +1 -1
  32. package/dist/model/package.d.cts +1 -1
  33. package/dist/model/package.d.ts +1 -1
  34. package/dist/{node-CkBWRjNR.d.cts → node-B6JX5CRX.d.cts} +1 -1
  35. package/dist/{node-CkBWRjNR.d.ts → node-B6JX5CRX.d.ts} +1 -1
  36. package/dist/{numbering-D0YfuiOO.d.ts → numbering-CUMTFxfk.d.ts} +1 -1
  37. package/dist/{numbering-C53LT-Jx.d.cts → numbering-vpq3iLPm.d.cts} +1 -1
  38. package/dist/{package-L24lkba-.d.cts → package-DMk9fuTI.d.cts} +1 -1
  39. package/dist/package-io/read.d.cts +1 -1
  40. package/dist/package-io/read.d.ts +1 -1
  41. package/dist/package-io/write.d.cts +1 -1
  42. package/dist/package-io/write.d.ts +1 -1
  43. package/dist/{package-BUojjTXf.d.ts → package-otZYrxiO.d.ts} +1 -1
  44. package/dist/{parse-A8_8sdpX.d.ts → parse-BLukZ2z0.d.ts} +1 -1
  45. package/dist/{parse-CP5FLZqv.d.cts → parse-DcVtB3jT.d.cts} +1 -1
  46. package/dist/{read-ZWJPDvG-.d.ts → read-B5kexLpc.d.ts} +1 -1
  47. package/dist/{read-DPR6ihXO.js → read-BZ_jycSX.js} +3 -1
  48. package/dist/{read-CevviAf2.d.ts → read-BlcKA9Cg.d.ts} +1 -1
  49. package/dist/{read-BoV9SZy4.d.cts → read-C1h_Q4kx.d.cts} +1 -1
  50. package/dist/{read-Cj23Gllx.cjs → read-CXksZHJW.cjs} +3 -1
  51. package/dist/{read-A9CC5Toq.d.cts → read-D6kQeo-T.d.cts} +1 -1
  52. package/dist/{read-DA55zDgD.d.ts → read-D_kXw2N2.d.ts} +1 -1
  53. package/dist/{read-VbRhmjOh.d.cts → read-uKN0paUP.d.cts} +1 -1
  54. package/dist/{sniff-DjpnUZRp.d.cts → sniff-DGOBHA0O.d.cts} +1 -1
  55. package/dist/{sniff-DjpnUZRp.d.ts → sniff-DGOBHA0O.d.ts} +1 -1
  56. package/dist/typed/{document-package.cjs → document-tree.cjs} +9 -9
  57. package/dist/typed/{document-package.d.ts → document-tree.d.cts} +1 -1
  58. package/dist/typed/{document-package.d.cts → document-tree.d.ts} +1 -1
  59. package/dist/typed/{document-package.js → document-tree.js} +10 -10
  60. package/dist/typed/docx/constructs.d.cts +3 -3
  61. package/dist/typed/docx/constructs.d.ts +3 -3
  62. package/dist/typed/docx/numbering.d.cts +1 -1
  63. package/dist/typed/docx/numbering.d.ts +1 -1
  64. package/dist/typed/docx/read.cjs +1 -1
  65. package/dist/typed/docx/read.d.cts +1 -1
  66. package/dist/typed/docx/read.d.ts +1 -1
  67. package/dist/typed/docx/read.js +1 -1
  68. package/dist/typed/docx/styles.d.cts +1 -1
  69. package/dist/typed/docx/styles.d.ts +1 -1
  70. package/dist/typed/docx/write.d.cts +1 -1
  71. package/dist/typed/docx/write.d.ts +1 -1
  72. package/dist/typed/embedded.cjs +1 -1
  73. package/dist/typed/embedded.d.cts +2 -2
  74. package/dist/typed/embedded.d.ts +2 -2
  75. package/dist/typed/embedded.js +1 -1
  76. package/dist/typed/pptx/chart.d.cts +1 -1
  77. package/dist/typed/pptx/chart.d.ts +1 -1
  78. package/dist/typed/pptx/diagram.d.cts +1 -1
  79. package/dist/typed/pptx/diagram.d.ts +1 -1
  80. package/dist/typed/pptx/inherit.d.cts +2 -2
  81. package/dist/typed/pptx/inherit.d.ts +2 -2
  82. package/dist/typed/pptx/read.cjs +1 -1
  83. package/dist/typed/pptx/read.d.cts +1 -1
  84. package/dist/typed/pptx/read.d.ts +1 -1
  85. package/dist/typed/pptx/read.js +1 -1
  86. package/dist/typed/shared/color.d.cts +1 -1
  87. package/dist/typed/shared/color.d.ts +1 -1
  88. package/dist/typed/shared/drawingml.d.cts +1 -1
  89. package/dist/typed/shared/drawingml.d.ts +1 -1
  90. package/dist/typed/shared/metadata.d.cts +1 -1
  91. package/dist/typed/shared/metadata.d.ts +1 -1
  92. package/dist/typed/util.d.cts +1 -1
  93. package/dist/typed/util.d.ts +1 -1
  94. package/dist/typed/xlsx/build.d.cts +1 -1
  95. package/dist/typed/xlsx/build.d.ts +1 -1
  96. package/dist/typed/xlsx/comments.d.cts +1 -1
  97. package/dist/typed/xlsx/comments.d.ts +1 -1
  98. package/dist/typed/xlsx/content.d.cts +1 -1
  99. package/dist/typed/xlsx/content.d.ts +1 -1
  100. package/dist/typed/xlsx/defined-names.d.cts +1 -1
  101. package/dist/typed/xlsx/defined-names.d.ts +1 -1
  102. package/dist/typed/xlsx/definitions.d.cts +1 -1
  103. package/dist/typed/xlsx/definitions.d.ts +1 -1
  104. package/dist/typed/xlsx/drawings.d.cts +2 -2
  105. package/dist/typed/xlsx/drawings.d.ts +2 -2
  106. package/dist/typed/xlsx/number-format.d.cts +14 -14
  107. package/dist/typed/xlsx/number-format.d.ts +14 -14
  108. package/dist/typed/xlsx/print-settings.d.cts +1 -1
  109. package/dist/typed/xlsx/print-settings.d.ts +1 -1
  110. package/dist/typed/xlsx/serial.d.cts +1 -1
  111. package/dist/typed/xlsx/serial.d.ts +1 -1
  112. package/dist/typed/xlsx/shared-strings.d.cts +1 -1
  113. package/dist/typed/xlsx/shared-strings.d.ts +1 -1
  114. package/dist/typed/xlsx/styles.d.cts +5 -5
  115. package/dist/typed/xlsx/styles.d.ts +5 -5
  116. package/dist/typed/xlsx.d.cts +1 -1
  117. package/dist/typed/xlsx.d.ts +1 -1
  118. package/dist/util/base64.cjs +4 -4
  119. package/dist/util/base64.js +4 -4
  120. package/dist/{util-DFe4UbvU.d.ts → util-DKrYuajM.d.ts} +2 -2
  121. package/dist/{util-M3JJlDhF.d.cts → util-xRsVgH-g.d.cts} +2 -2
  122. package/dist/{write-Dn_CL8qb.d.cts → write-BGTpp3RS.d.cts} +3 -3
  123. package/dist/{write-6JmxvaK5.d.cts → write-Ba1IxfDT.d.cts} +1 -1
  124. package/dist/{write-CT-EgVT7.d.ts → write-C4902scQ.d.ts} +1 -1
  125. package/dist/{write-inqdKHR3.d.ts → write-Cnfu3zdB.d.ts} +3 -3
  126. package/dist/{xlsx-DacFqZeF.d.ts → xlsx-B3JGnx0l.d.ts} +1 -1
  127. package/dist/{xlsx-CpX5nzGV.d.cts → xlsx-DCgJ8IbV.d.cts} +1 -1
  128. package/dist/xml/build.d.cts +1 -1
  129. package/dist/xml/build.d.ts +1 -1
  130. package/dist/xml/fragment.d.cts +1 -1
  131. package/dist/xml/fragment.d.ts +1 -1
  132. package/dist/xml/parse.d.cts +1 -1
  133. package/dist/xml/parse.d.ts +1 -1
  134. package/package.json +3 -11
  135. package/dist/codec-ChjAoVUL.d.cts +0 -90
  136. package/dist/codec-Daj8L7UQ.d.ts +0 -90
  137. package/dist/document-package-BqYJqSDu.d.ts +0 -11
  138. package/dist/document-package-Dcd0KSvQ.d.cts +0 -11
package/dist/index.cjs CHANGED
@@ -15,12 +15,12 @@ const require_typed_util = require("./typed/util.cjs");
15
15
  const require_typed_shared_color = require("./typed/shared/color.cjs");
16
16
  const require_typed_shared_metadata = require("./typed/shared/metadata.cjs");
17
17
  const require_image_sniff = require("./image/sniff.cjs");
18
- const require_read = require("./read-Cj23Gllx.cjs");
18
+ const require_read = require("./read-CXksZHJW.cjs");
19
19
  const require_typed_xlsx_content = require("./typed/xlsx/content.cjs");
20
20
  const require_typed_docx_numbering = require("./typed/docx/numbering.cjs");
21
21
  const require_typed_xlsx_build = require("./typed/xlsx/build.cjs");
22
22
  const require_typed_docx_write = require("./typed/docx/write.cjs");
23
- const require_typed_document_package = require("./typed/document-package.cjs");
23
+ const require_typed_document_tree = require("./typed/document-tree.cjs");
24
24
  const require_typed_xlsx = require("./typed/xlsx.cjs");
25
25
  let document_schema_js = require("document-schema.js");
26
26
  Object.defineProperty(exports, "AlignmentSchema", {
@@ -265,10 +265,10 @@ Object.defineProperty(exports, "DivisionDescriptorSchema", {
265
265
  }
266
266
  });
267
267
  exports.DocumentMetadataSchema = require_typed_shared_metadata.DocumentMetadataSchema;
268
- Object.defineProperty(exports, "DocumentPackageSchema", {
268
+ Object.defineProperty(exports, "DocumentTreeSchema", {
269
269
  enumerable: true,
270
270
  get: function() {
271
- return document_schema_js.DocumentPackageSchema;
271
+ return document_schema_js.DocumentTreeSchema;
272
272
  }
273
273
  });
274
274
  exports.DocxDocumentSchema = require_read.DocxDocumentSchema;
@@ -330,30 +330,6 @@ Object.defineProperty(exports, "PAGE_SIZE_LETTER", {
330
330
  return document_schema_js.PAGE_SIZE_LETTER;
331
331
  }
332
332
  });
333
- Object.defineProperty(exports, "PackageBlockLeafSchema", {
334
- enumerable: true,
335
- get: function() {
336
- return document_schema_js.PackageBlockLeafSchema;
337
- }
338
- });
339
- Object.defineProperty(exports, "PackageGroupSchema", {
340
- enumerable: true,
341
- get: function() {
342
- return document_schema_js.PackageGroupSchema;
343
- }
344
- });
345
- Object.defineProperty(exports, "PackageLeafSchema", {
346
- enumerable: true,
347
- get: function() {
348
- return document_schema_js.PackageLeafSchema;
349
- }
350
- });
351
- Object.defineProperty(exports, "PackageNodeSchema", {
352
- enumerable: true,
353
- get: function() {
354
- return document_schema_js.PackageNodeSchema;
355
- }
356
- });
357
333
  exports.PackageSchema = require_model_package.PackageSchema;
358
334
  Object.defineProperty(exports, "PageSizeSchema", {
359
335
  enumerable: true,
@@ -448,6 +424,30 @@ Object.defineProperty(exports, "StylesTableSchema", {
448
424
  return document_schema_js.StylesTableSchema;
449
425
  }
450
426
  });
427
+ Object.defineProperty(exports, "TreeBlockLeafSchema", {
428
+ enumerable: true,
429
+ get: function() {
430
+ return document_schema_js.TreeBlockLeafSchema;
431
+ }
432
+ });
433
+ Object.defineProperty(exports, "TreeGroupSchema", {
434
+ enumerable: true,
435
+ get: function() {
436
+ return document_schema_js.TreeGroupSchema;
437
+ }
438
+ });
439
+ Object.defineProperty(exports, "TreeLeafSchema", {
440
+ enumerable: true,
441
+ get: function() {
442
+ return document_schema_js.TreeLeafSchema;
443
+ }
444
+ });
445
+ Object.defineProperty(exports, "TreeNodeSchema", {
446
+ enumerable: true,
447
+ get: function() {
448
+ return document_schema_js.TreeNodeSchema;
449
+ }
450
+ });
451
451
  exports.XlsxCellSchema = require_typed_xlsx.XlsxCellSchema;
452
452
  exports.XlsxSheetSchema = require_typed_xlsx.XlsxSheetSchema;
453
453
  exports.XlsxWorkbookSchema = require_typed_xlsx.XlsxWorkbookSchema;
@@ -472,17 +472,17 @@ Object.defineProperty(exports, "applyRunStyleProperties", {
472
472
  return document_schema_js.applyRunStyleProperties;
473
473
  }
474
474
  });
475
- Object.defineProperty(exports, "assemblePackage", {
475
+ Object.defineProperty(exports, "assembleTree", {
476
476
  enumerable: true,
477
477
  get: function() {
478
- return document_schema_js.assemblePackage;
478
+ return document_schema_js.assembleTree;
479
479
  }
480
480
  });
481
481
  exports.attr = require_typed_util.attr;
482
482
  exports.base64ToBytes = require_util_base64.base64ToBytes;
483
- exports.buildDocxPackage = require_typed_document_package.buildDocxPackage;
483
+ exports.buildDocxPackage = require_typed_document_tree.buildDocxPackage;
484
484
  exports.buildDocxPackageFromContent = require_typed_docx_write.buildDocxPackageFromContent;
485
- exports.buildXlsxPackage = require_typed_document_package.buildXlsxPackage;
485
+ exports.buildXlsxPackage = require_typed_document_tree.buildXlsxPackage;
486
486
  exports.buildXlsxPackageFromContent = require_typed_xlsx_build.buildXlsxPackageFromContent;
487
487
  exports.buildXml = require_xml_build.buildXml;
488
488
  exports.bytesToBase64 = require_util_base64.bytesToBase64;
@@ -521,10 +521,10 @@ Object.defineProperty(exports, "findConstructMarkerImbalance", {
521
521
  return document_schema_js.findConstructMarkerImbalance;
522
522
  }
523
523
  });
524
- Object.defineProperty(exports, "flattenPackage", {
524
+ Object.defineProperty(exports, "flattenTree", {
525
525
  enumerable: true,
526
526
  get: function() {
527
- return document_schema_js.flattenPackage;
527
+ return document_schema_js.flattenTree;
528
528
  }
529
529
  });
530
530
  exports.fromCompact = require_compact.fromCompact;
@@ -565,64 +565,64 @@ Object.defineProperty(exports, "isListGroupNode", {
565
565
  return document_schema_js.isListGroupNode;
566
566
  }
567
567
  });
568
- Object.defineProperty(exports, "isPackageBlockLeaf", {
568
+ Object.defineProperty(exports, "isSectionConstructGroupNode", {
569
569
  enumerable: true,
570
570
  get: function() {
571
- return document_schema_js.isPackageBlockLeaf;
571
+ return document_schema_js.isSectionConstructGroupNode;
572
572
  }
573
573
  });
574
- Object.defineProperty(exports, "isPackageGroup", {
574
+ Object.defineProperty(exports, "isSectionGroupNode", {
575
575
  enumerable: true,
576
576
  get: function() {
577
- return document_schema_js.isPackageGroup;
577
+ return document_schema_js.isSectionGroupNode;
578
578
  }
579
579
  });
580
- Object.defineProperty(exports, "isPackageLeaf", {
580
+ Object.defineProperty(exports, "isShapeConstructGroupNode", {
581
581
  enumerable: true,
582
582
  get: function() {
583
- return document_schema_js.isPackageLeaf;
583
+ return document_schema_js.isShapeConstructGroupNode;
584
584
  }
585
585
  });
586
- Object.defineProperty(exports, "isPackageNode", {
586
+ Object.defineProperty(exports, "isShapeGroupNode", {
587
587
  enumerable: true,
588
588
  get: function() {
589
- return document_schema_js.isPackageNode;
589
+ return document_schema_js.isShapeGroupNode;
590
590
  }
591
591
  });
592
- Object.defineProperty(exports, "isSectionConstructGroupNode", {
592
+ Object.defineProperty(exports, "isSheetGroupNode", {
593
593
  enumerable: true,
594
594
  get: function() {
595
- return document_schema_js.isSectionConstructGroupNode;
595
+ return document_schema_js.isSheetGroupNode;
596
596
  }
597
597
  });
598
- Object.defineProperty(exports, "isSectionGroupNode", {
598
+ Object.defineProperty(exports, "isSlideGroupNode", {
599
599
  enumerable: true,
600
600
  get: function() {
601
- return document_schema_js.isSectionGroupNode;
601
+ return document_schema_js.isSlideGroupNode;
602
602
  }
603
603
  });
604
- Object.defineProperty(exports, "isShapeConstructGroupNode", {
604
+ Object.defineProperty(exports, "isTreeBlockLeaf", {
605
605
  enumerable: true,
606
606
  get: function() {
607
- return document_schema_js.isShapeConstructGroupNode;
607
+ return document_schema_js.isTreeBlockLeaf;
608
608
  }
609
609
  });
610
- Object.defineProperty(exports, "isShapeGroupNode", {
610
+ Object.defineProperty(exports, "isTreeGroup", {
611
611
  enumerable: true,
612
612
  get: function() {
613
- return document_schema_js.isShapeGroupNode;
613
+ return document_schema_js.isTreeGroup;
614
614
  }
615
615
  });
616
- Object.defineProperty(exports, "isSheetGroupNode", {
616
+ Object.defineProperty(exports, "isTreeLeaf", {
617
617
  enumerable: true,
618
618
  get: function() {
619
- return document_schema_js.isSheetGroupNode;
619
+ return document_schema_js.isTreeLeaf;
620
620
  }
621
621
  });
622
- Object.defineProperty(exports, "isSlideGroupNode", {
622
+ Object.defineProperty(exports, "isTreeNode", {
623
623
  enumerable: true,
624
624
  get: function() {
625
- return document_schema_js.isSlideGroupNode;
625
+ return document_schema_js.isTreeNode;
626
626
  }
627
627
  });
628
628
  exports.isXmlNode = require_model_node.isXmlNode;
@@ -635,12 +635,12 @@ Object.defineProperty(exports, "overlayStyleEntries", {
635
635
  exports.packageCodec = require_codec.packageCodec;
636
636
  exports.parsePackage = require_package_io_read.parsePackage;
637
637
  exports.parseXml = require_xml_parse.parseXml;
638
- exports.readDocx = require_typed_document_package.readDocx;
638
+ exports.readDocx = require_typed_document_tree.readDocx;
639
639
  exports.readDocxContent = require_read.readDocxContent;
640
640
  exports.readNumberingDefinitions = require_typed_docx_numbering.readNumberingDefinitions;
641
- exports.readPptx = require_typed_document_package.readPptx;
641
+ exports.readPptx = require_typed_document_tree.readPptx;
642
642
  exports.readPptxContent = require_read.readPptxContent;
643
- exports.readXlsx = require_typed_document_package.readXlsx;
643
+ exports.readXlsx = require_typed_document_tree.readXlsx;
644
644
  exports.readXlsxContent = require_typed_xlsx_content.readXlsxContent;
645
645
  exports.readXlsxWorkbook = require_typed_xlsx.readXlsxWorkbook;
646
646
  exports.resolveRelationships = require_typed_util.resolveRelationships;
package/dist/index.d.cts CHANGED
@@ -1,25 +1,25 @@
1
- import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-CkBWRjNR.cjs";
2
- import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-L24lkba-.cjs";
3
- import { n as parsePackage } from "./read-VbRhmjOh.cjs";
4
- import { t as serializePackage } from "./write-6JmxvaK5.cjs";
5
- import { t as parseXml } from "./parse-CP5FLZqv.cjs";
6
- import { t as buildXml } from "./build-XSm3I8LT.cjs";
7
- import { n as txt, t as el } from "./fragment-B1og_8uA.cjs";
1
+ import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-B6JX5CRX.cjs";
2
+ import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-DMk9fuTI.cjs";
3
+ import { n as parsePackage } from "./read-uKN0paUP.cjs";
4
+ import { t as serializePackage } from "./write-Ba1IxfDT.cjs";
5
+ import { t as parseXml } from "./parse-DcVtB3jT.cjs";
6
+ import { t as buildXml } from "./build--uPsivid.cjs";
7
+ import { n as txt, t as el } from "./fragment-9dNg-m46.cjs";
8
8
  import { t as encodeXmlText } from "./entities-6DuTszqf.cjs";
9
9
  import { n as zipPackage, t as unzipPackage } from "./zip-Ckbv-mtV.cjs";
10
10
  import { n as bytesToBase64, t as base64ToBytes } from "./base64--HuymRl_.cjs";
11
- import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "./util-M3JJlDhF.cjs";
12
- import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-B1qg9oex.cjs";
13
- import { n as applyColorTransforms, t as ColorTransform } from "./color-fFIKAs-Y.cjs";
14
- import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-D6o-kLpg.cjs";
15
- import { n as sniffImageFormat, t as ImageFormat } from "./sniff-DjpnUZRp.cjs";
16
- import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-Dn_CL8qb.cjs";
17
- import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-package-Dcd0KSvQ.cjs";
18
- import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-A9CC5Toq.cjs";
19
- import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-C53LT-Jx.cjs";
20
- import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-BoV9SZy4.cjs";
21
- import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-CpX5nzGV.cjs";
22
- import { t as readXlsxContent } from "./content-C79O3esU.cjs";
23
- import { t as buildXlsxPackageFromContent } from "./build-D-ldsmtA.cjs";
24
- import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as PackageChildren, A as ContentConstructStart, An as SlideDescriptor, At as DrawPageChild, B as ContentImageBlock, Bn as StylesTableSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as ShapeDescriptor, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as SheetDescriptor, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as SheetChild, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as StyleParagraphProperties, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as StyleParagraphPropertiesSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenPackage, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as StyleRunProperties, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as SlideGroupSchema, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as StyleEntry, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as SheetGroupNode, Ot as DocumentPackage, P as ContentControlLock, Pn as StyleEntrySchema, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PackageBlockLeafSchema, R as ContentDocument, Rn as StyleRunPropertiesSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as ShapeConstructGroupSchema, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as ShapeGroupSchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assemblePackage, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PackageBlockLeaf, _ as ConstructDescriptorSchema, _n as SectionDescriptor, _t as ContentSlideSchema, a as Alignment, an as PackageNodeSchema, ar as isSectionConstructGroupNode, at as ContentSheetImage, b as ContentBlock, bn as ShapeChild, bt as ContentTable, c as AnchorDescriptorSchema, cn as ProvenanceChange, cr as isShapeGroupNode, ct as ContentSheetPrintRangeSchema, d as Box, dn as ProvenanceDescriptorSchema, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as PackageGroup, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as SLIDE_SIZE_STANDARD, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as SectionConstructGroupSchema, gt as ContentSlide, h as ColorSchema, hn as SectionConstructGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as PackageNode, ir as isPackageNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as SlideGroupNode, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as SheetGroupSchema, kt as DocumentPackageSchema, l as AnchorType, ln as ProvenanceChangeSchema, lr as isSheetGroupNode, lt as ContentSheetPrintSettings, m as Color, mn as SectionChild, mt as ContentSheetRowSchema, n as encodePackage, nn as PackageLeaf, nr as isPackageGroup, nt as ContentSheetCellSchema, o as AlignmentSchema, on as PageSize, or as isSectionGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as SLIDE_SIZE_WIDESCREEN, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as PackageLeafSchema, rr as isPackageLeaf, rt as ContentSheetColumn, s as AnchorDescriptor, sn as PageSizeSchema, sr as isShapeConstructGroupNode, st as ContentSheetPrintRange, t as decodePackage, tn as PackageGroupSchema, tr as isPackageBlockLeaf, tt as ContentSheetCell, u as AnchorTypeSchema, un as ProvenanceDescriptor, ur as isSlideGroupNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SectionGroupNode, vt as ContentStrokeStyle, w as ContentCellBorders, wn as ShapeGroupNode, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as ShapeConstructGroupNode, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SectionGroupSchema, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as StylesTable, zt as LinkDescriptor } from "./codec-ChjAoVUL.cjs";
25
- export { type Alignment, AlignmentSchema, type AnchorDescriptor, AnchorDescriptorSchema, type AnchorType, AnchorTypeSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, type BuildDocxContentOptions, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ConstructDescriptor, ConstructDescriptorSchema, type ConstructMarkerImbalance, ConstructMarkerImbalanceError, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentConstructEnd, ContentConstructEndSchema, type ContentConstructStart, ContentConstructStartSchema, type ContentControlDescriptor, ContentControlDescriptorSchema, type ContentControlLock, ContentControlLockSchema, type ContentControlType, ContentControlTypeSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DivisionDescriptor, DivisionDescriptorSchema, type DocumentMetadata, DocumentMetadataSchema, type DocumentPackage, DocumentPackageSchema, type DocxContent, type DocxDocument, DocxDocumentSchema, type DrawPageChild, type DrawPageDescriptor, type DrawPageGroupNode, DrawPageGroupSchema, type EmbeddedPresentationSerialiser, type FieldDescriptor, FieldDescriptorSchema, type Footnote, FootnoteSchema, type HeaderFooterPart, HeaderFooterPartSchema, type HeadingGroupNode, HeadingGroupSchema, type HeadingParagraph, type ImageFormat, type LinkDescriptor, LinkDescriptorSchema, type LinkTarget, LinkTargetSchema, type ListChild, type ListGroupNode, ListGroupSchema, type ListParagraph, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, type PackageBlockLeaf, PackageBlockLeafSchema, type PackageChildren, type PackageGroup, PackageGroupSchema, type PackageLeaf, PackageLeafSchema, type PackageNode, PackageNodeSchema, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type ProvenanceChange, ProvenanceChangeSchema, type ProvenanceDescriptor, ProvenanceDescriptorSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SectionChild, type SectionConstructGroupNode, SectionConstructGroupSchema, type SectionDescriptor, type SectionGroupNode, SectionGroupSchema, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type ShapeChild, type ShapeConstructGroupNode, ShapeConstructGroupSchema, type ShapeDescriptor, type ShapeGroupNode, ShapeGroupSchema, type SheetChild, type SheetDescriptor, type SheetGroupNode, SheetGroupSchema, type SlideDescriptor, type SlideGroupNode, SlideGroupSchema, type StyleEntry, StyleEntrySchema, type StyleParagraphProperties, StyleParagraphPropertiesSchema, type StyleRunProperties, StyleRunPropertiesSchema, type StylesTable, StylesTableSchema, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assemblePackage, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenPackage, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
11
+ import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "./util-xRsVgH-g.cjs";
12
+ import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-DMCbYORW.cjs";
13
+ import { n as applyColorTransforms, t as ColorTransform } from "./color-DLoZOrg3.cjs";
14
+ import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-C74-XCrx.cjs";
15
+ import { n as sniffImageFormat, t as ImageFormat } from "./sniff-DGOBHA0O.cjs";
16
+ import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-BGTpp3RS.cjs";
17
+ import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-tree-CjI-Z4Tp.cjs";
18
+ import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-D6kQeo-T.cjs";
19
+ import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-vpq3iLPm.cjs";
20
+ import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-C1h_Q4kx.cjs";
21
+ import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-DCgJ8IbV.cjs";
22
+ import { t as readXlsxContent } from "./content-BiYr86lr.cjs";
23
+ import { t as buildXlsxPackageFromContent } from "./build-BY9Mn-4K.cjs";
24
+ import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as ProvenanceChange, A as ContentConstructStart, An as StylesTable, At as DrawPageChild, B as ContentImageBlock, Bn as TreeNodeSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as SlideGroupSchema, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as StyleParagraphPropertiesSchema, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as StyleParagraphProperties, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as TreeGroup, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as TreeGroupSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenTree, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as TreeLeaf, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as TreeBlockLeaf, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as TreeBlockLeafSchema, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as StyleRunProperties, Ot as DocumentTree, P as ContentControlLock, Pn as TreeChildren, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PageSizeSchema, R as ContentDocument, Rn as TreeLeafSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as SlideGroupNode, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as StyleEntrySchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assembleTree, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PageSize, _ as ConstructDescriptorSchema, _n as SheetChild, _t as ContentSlideSchema, a as Alignment, an as SectionChild, ar as isSheetGroupNode, at as ContentSheetImage, b as ContentBlock, bn as SheetGroupSchema, bt as ContentTable, c as AnchorDescriptorSchema, cn as SectionDescriptor, cr as isTreeGroup, ct as ContentSheetPrintRangeSchema, d as Box, dn as ShapeChild, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as ProvenanceChangeSchema, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as ShapeConstructGroupNode, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as ShapeGroupSchema, gt as ContentSlide, h as ColorSchema, hn as ShapeGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as SLIDE_SIZE_WIDESCREEN, ir as isShapeGroupNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as StylesTableSchema, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as StyleRunPropertiesSchema, kt as DocumentTreeSchema, l as AnchorType, ln as SectionGroupNode, lr as isTreeLeaf, lt as ContentSheetPrintSettings, m as Color, mn as ShapeDescriptor, mt as ContentSheetRowSchema, n as encodePackage, nn as ProvenanceDescriptorSchema, nr as isSectionGroupNode, nt as ContentSheetCellSchema, o as AlignmentSchema, on as SectionConstructGroupNode, or as isSlideGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as ShapeConstructGroupSchema, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as SLIDE_SIZE_STANDARD, rr as isShapeConstructGroupNode, rt as ContentSheetColumn, s as AnchorDescriptor, sn as SectionConstructGroupSchema, sr as isTreeBlockLeaf, st as ContentSheetPrintRange, t as decodePackage, tn as ProvenanceDescriptor, tr as isSectionConstructGroupNode, tt as ContentSheetCell, u as AnchorTypeSchema, un as SectionGroupSchema, ur as isTreeNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SheetDescriptor, vt as ContentStrokeStyle, w as ContentCellBorders, wn as StyleEntry, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as SlideDescriptor, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SheetGroupNode, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as TreeNode, zt as LinkDescriptor } from "./codec-BBM1RYx7.cjs";
25
+ export { type Alignment, AlignmentSchema, type AnchorDescriptor, AnchorDescriptorSchema, type AnchorType, AnchorTypeSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, type BuildDocxContentOptions, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ConstructDescriptor, ConstructDescriptorSchema, type ConstructMarkerImbalance, ConstructMarkerImbalanceError, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentConstructEnd, ContentConstructEndSchema, type ContentConstructStart, ContentConstructStartSchema, type ContentControlDescriptor, ContentControlDescriptorSchema, type ContentControlLock, ContentControlLockSchema, type ContentControlType, ContentControlTypeSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DivisionDescriptor, DivisionDescriptorSchema, type DocumentMetadata, DocumentMetadataSchema, type DocumentTree, DocumentTreeSchema, type DocxContent, type DocxDocument, DocxDocumentSchema, type DrawPageChild, type DrawPageDescriptor, type DrawPageGroupNode, DrawPageGroupSchema, type EmbeddedPresentationSerialiser, type FieldDescriptor, FieldDescriptorSchema, type Footnote, FootnoteSchema, type HeaderFooterPart, HeaderFooterPartSchema, type HeadingGroupNode, HeadingGroupSchema, type HeadingParagraph, type ImageFormat, type LinkDescriptor, LinkDescriptorSchema, type LinkTarget, LinkTargetSchema, type ListChild, type ListGroupNode, ListGroupSchema, type ListParagraph, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type ProvenanceChange, ProvenanceChangeSchema, type ProvenanceDescriptor, ProvenanceDescriptorSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SectionChild, type SectionConstructGroupNode, SectionConstructGroupSchema, type SectionDescriptor, type SectionGroupNode, SectionGroupSchema, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type ShapeChild, type ShapeConstructGroupNode, ShapeConstructGroupSchema, type ShapeDescriptor, type ShapeGroupNode, ShapeGroupSchema, type SheetChild, type SheetDescriptor, type SheetGroupNode, SheetGroupSchema, type SlideDescriptor, type SlideGroupNode, SlideGroupSchema, type StyleEntry, StyleEntrySchema, type StyleParagraphProperties, StyleParagraphPropertiesSchema, type StyleRunProperties, StyleRunPropertiesSchema, type StylesTable, StylesTableSchema, type TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, type TreeGroup, TreeGroupSchema, type TreeLeaf, TreeLeafSchema, type TreeNode, TreeNodeSchema, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenTree, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
package/dist/index.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-CkBWRjNR.js";
2
- import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-BUojjTXf.js";
3
- import { n as parsePackage } from "./read-CevviAf2.js";
4
- import { t as serializePackage } from "./write-CT-EgVT7.js";
5
- import { t as parseXml } from "./parse-A8_8sdpX.js";
6
- import { t as buildXml } from "./build-Z1KRkSEB.js";
7
- import { n as txt, t as el } from "./fragment-B1ZV7T5Z.js";
1
+ import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-B6JX5CRX.js";
2
+ import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-otZYrxiO.js";
3
+ import { n as parsePackage } from "./read-BlcKA9Cg.js";
4
+ import { t as serializePackage } from "./write-C4902scQ.js";
5
+ import { t as parseXml } from "./parse-BLukZ2z0.js";
6
+ import { t as buildXml } from "./build-DgBE0bmv.js";
7
+ import { n as txt, t as el } from "./fragment-ClgCV_if.js";
8
8
  import { t as encodeXmlText } from "./entities-6DuTszqf.js";
9
9
  import { n as zipPackage, t as unzipPackage } from "./zip-Ckbv-mtV.js";
10
10
  import { n as bytesToBase64, t as base64ToBytes } from "./base64--HuymRl_.js";
11
- import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "./util-DFe4UbvU.js";
12
- import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-f0TfhicN.js";
13
- import { n as applyColorTransforms, t as ColorTransform } from "./color-fFIKAs-Y.js";
14
- import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-o_WH9V_I.js";
15
- import { n as sniffImageFormat, t as ImageFormat } from "./sniff-DjpnUZRp.js";
16
- import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-inqdKHR3.js";
17
- import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-package-BqYJqSDu.js";
18
- import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-DA55zDgD.js";
19
- import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-D0YfuiOO.js";
20
- import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-ZWJPDvG-.js";
21
- import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-DacFqZeF.js";
22
- import { t as readXlsxContent } from "./content-MEmp_Rlx.js";
23
- import { t as buildXlsxPackageFromContent } from "./build-q0qMH_ML.js";
24
- import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as PackageChildren, A as ContentConstructStart, An as SlideDescriptor, At as DrawPageChild, B as ContentImageBlock, Bn as StylesTableSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as ShapeDescriptor, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as SheetDescriptor, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as SheetChild, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as StyleParagraphProperties, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as StyleParagraphPropertiesSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenPackage, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as StyleRunProperties, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as SlideGroupSchema, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as StyleEntry, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as SheetGroupNode, Ot as DocumentPackage, P as ContentControlLock, Pn as StyleEntrySchema, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PackageBlockLeafSchema, R as ContentDocument, Rn as StyleRunPropertiesSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as ShapeConstructGroupSchema, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as ShapeGroupSchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assemblePackage, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PackageBlockLeaf, _ as ConstructDescriptorSchema, _n as SectionDescriptor, _t as ContentSlideSchema, a as Alignment, an as PackageNodeSchema, ar as isSectionConstructGroupNode, at as ContentSheetImage, b as ContentBlock, bn as ShapeChild, bt as ContentTable, c as AnchorDescriptorSchema, cn as ProvenanceChange, cr as isShapeGroupNode, ct as ContentSheetPrintRangeSchema, d as Box, dn as ProvenanceDescriptorSchema, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as PackageGroup, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as SLIDE_SIZE_STANDARD, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as SectionConstructGroupSchema, gt as ContentSlide, h as ColorSchema, hn as SectionConstructGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as PackageNode, ir as isPackageNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as SlideGroupNode, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as SheetGroupSchema, kt as DocumentPackageSchema, l as AnchorType, ln as ProvenanceChangeSchema, lr as isSheetGroupNode, lt as ContentSheetPrintSettings, m as Color, mn as SectionChild, mt as ContentSheetRowSchema, n as encodePackage, nn as PackageLeaf, nr as isPackageGroup, nt as ContentSheetCellSchema, o as AlignmentSchema, on as PageSize, or as isSectionGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as SLIDE_SIZE_WIDESCREEN, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as PackageLeafSchema, rr as isPackageLeaf, rt as ContentSheetColumn, s as AnchorDescriptor, sn as PageSizeSchema, sr as isShapeConstructGroupNode, st as ContentSheetPrintRange, t as decodePackage, tn as PackageGroupSchema, tr as isPackageBlockLeaf, tt as ContentSheetCell, u as AnchorTypeSchema, un as ProvenanceDescriptor, ur as isSlideGroupNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SectionGroupNode, vt as ContentStrokeStyle, w as ContentCellBorders, wn as ShapeGroupNode, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as ShapeConstructGroupNode, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SectionGroupSchema, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as StylesTable, zt as LinkDescriptor } from "./codec-Daj8L7UQ.js";
25
- export { type Alignment, AlignmentSchema, type AnchorDescriptor, AnchorDescriptorSchema, type AnchorType, AnchorTypeSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, type BuildDocxContentOptions, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ConstructDescriptor, ConstructDescriptorSchema, type ConstructMarkerImbalance, ConstructMarkerImbalanceError, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentConstructEnd, ContentConstructEndSchema, type ContentConstructStart, ContentConstructStartSchema, type ContentControlDescriptor, ContentControlDescriptorSchema, type ContentControlLock, ContentControlLockSchema, type ContentControlType, ContentControlTypeSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DivisionDescriptor, DivisionDescriptorSchema, type DocumentMetadata, DocumentMetadataSchema, type DocumentPackage, DocumentPackageSchema, type DocxContent, type DocxDocument, DocxDocumentSchema, type DrawPageChild, type DrawPageDescriptor, type DrawPageGroupNode, DrawPageGroupSchema, type EmbeddedPresentationSerialiser, type FieldDescriptor, FieldDescriptorSchema, type Footnote, FootnoteSchema, type HeaderFooterPart, HeaderFooterPartSchema, type HeadingGroupNode, HeadingGroupSchema, type HeadingParagraph, type ImageFormat, type LinkDescriptor, LinkDescriptorSchema, type LinkTarget, LinkTargetSchema, type ListChild, type ListGroupNode, ListGroupSchema, type ListParagraph, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, type PackageBlockLeaf, PackageBlockLeafSchema, type PackageChildren, type PackageGroup, PackageGroupSchema, type PackageLeaf, PackageLeafSchema, type PackageNode, PackageNodeSchema, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type ProvenanceChange, ProvenanceChangeSchema, type ProvenanceDescriptor, ProvenanceDescriptorSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SectionChild, type SectionConstructGroupNode, SectionConstructGroupSchema, type SectionDescriptor, type SectionGroupNode, SectionGroupSchema, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type ShapeChild, type ShapeConstructGroupNode, ShapeConstructGroupSchema, type ShapeDescriptor, type ShapeGroupNode, ShapeGroupSchema, type SheetChild, type SheetDescriptor, type SheetGroupNode, SheetGroupSchema, type SlideDescriptor, type SlideGroupNode, SlideGroupSchema, type StyleEntry, StyleEntrySchema, type StyleParagraphProperties, StyleParagraphPropertiesSchema, type StyleRunProperties, StyleRunPropertiesSchema, type StylesTable, StylesTableSchema, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assemblePackage, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenPackage, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
11
+ import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "./util-DKrYuajM.js";
12
+ import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-CmOeA2dl.js";
13
+ import { n as applyColorTransforms, t as ColorTransform } from "./color-DLoZOrg3.js";
14
+ import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-Bjfa88HQ.js";
15
+ import { n as sniffImageFormat, t as ImageFormat } from "./sniff-DGOBHA0O.js";
16
+ import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-Cnfu3zdB.js";
17
+ import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-tree-B17XbBOR.js";
18
+ import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-D_kXw2N2.js";
19
+ import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-CUMTFxfk.js";
20
+ import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-B5kexLpc.js";
21
+ import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-B3JGnx0l.js";
22
+ import { t as readXlsxContent } from "./content-D1pmxaUb.js";
23
+ import { t as buildXlsxPackageFromContent } from "./build-BOI7rIog.js";
24
+ import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as ProvenanceChange, A as ContentConstructStart, An as StylesTable, At as DrawPageChild, B as ContentImageBlock, Bn as TreeNodeSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as SlideGroupSchema, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as StyleParagraphPropertiesSchema, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as StyleParagraphProperties, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as TreeGroup, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as TreeGroupSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenTree, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as TreeLeaf, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as TreeBlockLeaf, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as TreeBlockLeafSchema, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as StyleRunProperties, Ot as DocumentTree, P as ContentControlLock, Pn as TreeChildren, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PageSizeSchema, R as ContentDocument, Rn as TreeLeafSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as SlideGroupNode, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as StyleEntrySchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assembleTree, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PageSize, _ as ConstructDescriptorSchema, _n as SheetChild, _t as ContentSlideSchema, a as Alignment, an as SectionChild, ar as isSheetGroupNode, at as ContentSheetImage, b as ContentBlock, bn as SheetGroupSchema, bt as ContentTable, c as AnchorDescriptorSchema, cn as SectionDescriptor, cr as isTreeGroup, ct as ContentSheetPrintRangeSchema, d as Box, dn as ShapeChild, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as ProvenanceChangeSchema, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as ShapeConstructGroupNode, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as ShapeGroupSchema, gt as ContentSlide, h as ColorSchema, hn as ShapeGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as SLIDE_SIZE_WIDESCREEN, ir as isShapeGroupNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as StylesTableSchema, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as StyleRunPropertiesSchema, kt as DocumentTreeSchema, l as AnchorType, ln as SectionGroupNode, lr as isTreeLeaf, lt as ContentSheetPrintSettings, m as Color, mn as ShapeDescriptor, mt as ContentSheetRowSchema, n as encodePackage, nn as ProvenanceDescriptorSchema, nr as isSectionGroupNode, nt as ContentSheetCellSchema, o as AlignmentSchema, on as SectionConstructGroupNode, or as isSlideGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as ShapeConstructGroupSchema, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as SLIDE_SIZE_STANDARD, rr as isShapeConstructGroupNode, rt as ContentSheetColumn, s as AnchorDescriptor, sn as SectionConstructGroupSchema, sr as isTreeBlockLeaf, st as ContentSheetPrintRange, t as decodePackage, tn as ProvenanceDescriptor, tr as isSectionConstructGroupNode, tt as ContentSheetCell, u as AnchorTypeSchema, un as SectionGroupSchema, ur as isTreeNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SheetDescriptor, vt as ContentStrokeStyle, w as ContentCellBorders, wn as StyleEntry, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as SlideDescriptor, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SheetGroupNode, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as TreeNode, zt as LinkDescriptor } from "./codec-Cva8QD7-.js";
25
+ export { type Alignment, AlignmentSchema, type AnchorDescriptor, AnchorDescriptorSchema, type AnchorType, AnchorTypeSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, type BuildDocxContentOptions, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ConstructDescriptor, ConstructDescriptorSchema, type ConstructMarkerImbalance, ConstructMarkerImbalanceError, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentConstructEnd, ContentConstructEndSchema, type ContentConstructStart, ContentConstructStartSchema, type ContentControlDescriptor, ContentControlDescriptorSchema, type ContentControlLock, ContentControlLockSchema, type ContentControlType, ContentControlTypeSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DivisionDescriptor, DivisionDescriptorSchema, type DocumentMetadata, DocumentMetadataSchema, type DocumentTree, DocumentTreeSchema, type DocxContent, type DocxDocument, DocxDocumentSchema, type DrawPageChild, type DrawPageDescriptor, type DrawPageGroupNode, DrawPageGroupSchema, type EmbeddedPresentationSerialiser, type FieldDescriptor, FieldDescriptorSchema, type Footnote, FootnoteSchema, type HeaderFooterPart, HeaderFooterPartSchema, type HeadingGroupNode, HeadingGroupSchema, type HeadingParagraph, type ImageFormat, type LinkDescriptor, LinkDescriptorSchema, type LinkTarget, LinkTargetSchema, type ListChild, type ListGroupNode, ListGroupSchema, type ListParagraph, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type ProvenanceChange, ProvenanceChangeSchema, type ProvenanceDescriptor, ProvenanceDescriptorSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SectionChild, type SectionConstructGroupNode, SectionConstructGroupSchema, type SectionDescriptor, type SectionGroupNode, SectionGroupSchema, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type ShapeChild, type ShapeConstructGroupNode, ShapeConstructGroupSchema, type ShapeDescriptor, type ShapeGroupNode, ShapeGroupSchema, type SheetChild, type SheetDescriptor, type SheetGroupNode, SheetGroupSchema, type SlideDescriptor, type SlideGroupNode, SlideGroupSchema, type StyleEntry, StyleEntrySchema, type StyleParagraphProperties, StyleParagraphPropertiesSchema, type StyleRunProperties, StyleRunPropertiesSchema, type StylesTable, StylesTableSchema, type TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, type TreeGroup, TreeGroupSchema, type TreeLeaf, TreeLeafSchema, type TreeNode, TreeNodeSchema, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenTree, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
package/dist/index.js CHANGED
@@ -14,12 +14,12 @@ import { attr, childrenWithTag, decodeEntities, elementsWithTag, resolveRelation
14
14
  import { applyColorTransforms } from "./typed/shared/color.js";
15
15
  import { DocumentMetadataSchema } from "./typed/shared/metadata.js";
16
16
  import { sniffImageFormat } from "./image/sniff.js";
17
- import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, l as PptxDocumentSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema, u as readPptxContent } from "./read-DPR6ihXO.js";
17
+ import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, l as PptxDocumentSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema, u as readPptxContent } from "./read-BZ_jycSX.js";
18
18
  import { readXlsxContent } from "./typed/xlsx/content.js";
19
19
  import { NumberingDefinitionSchema, NumberingLevelSchema, readNumberingDefinitions } from "./typed/docx/numbering.js";
20
20
  import { buildXlsxPackageFromContent } from "./typed/xlsx/build.js";
21
21
  import { buildDocxPackageFromContent } from "./typed/docx/write.js";
22
- import { buildDocxPackage, buildXlsxPackage, readDocx, readPptx, readXlsx } from "./typed/document-package.js";
22
+ import { buildDocxPackage, buildXlsxPackage, readDocx, readPptx, readXlsx } from "./typed/document-tree.js";
23
23
  import { DefinedNameSchema, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, readXlsxWorkbook } from "./typed/xlsx.js";
24
- import { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, BoxSchema, COLOR_BLACK, ColorSchema, ConstructDescriptorSchema, ConstructMarkerImbalanceError, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DivisionDescriptorSchema, DocumentPackageSchema, DrawPageGroupSchema, FieldDescriptorSchema, HeadingGroupSchema, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageBlockLeafSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PageSizeSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SectionConstructGroupSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeGroupSchema, SheetGroupSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, assemblePackage, colorToRgbHex, decompose, factorStyles, findConstructMarkerImbalance, flattenPackage, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, resolveStyleChain, rgbHexToColor } from "document-schema.js";
25
- export { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, AttributeSchema, BinaryPartSchema, BoxSchema, COLOR_BLACK, ColorSchema, CommentSchema, CompactPackageSchema, CompactPartSchema, CompactXmlNodeSchema, ConstructDescriptorSchema, ConstructMarkerImbalanceError, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DefinedNameSchema, DivisionDescriptorSchema, DocumentMetadataSchema, DocumentPackageSchema, DocxDocumentSchema, DrawPageGroupSchema, FieldDescriptorSchema, FootnoteSchema, HeaderFooterPartSchema, HeadingGroupSchema, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, MarginsSchema, NumberingDefinitionSchema, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageBlockLeafSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PackageSchema, PageSizeSchema, PartSchema, PptxDocumentSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SectionConstructGroupSchema, SectionGroupSchema, SectionHeaderFooterReferencesSchema, ShapeConstructGroupSchema, ShapeGroupSchema, SheetGroupSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, XmlCdataSchema, XmlCommentSchema, XmlDeclarationSchema, XmlElementSchema, XmlNodeSchema, XmlPartSchema, XmlPiSchema, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assemblePackage, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenPackage, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageBlockLeaf, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
24
+ import { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, BoxSchema, COLOR_BLACK, ColorSchema, ConstructDescriptorSchema, ConstructMarkerImbalanceError, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DivisionDescriptorSchema, DocumentTreeSchema, DrawPageGroupSchema, FieldDescriptorSchema, HeadingGroupSchema, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SectionConstructGroupSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeGroupSchema, SheetGroupSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, TreeBlockLeafSchema, TreeGroupSchema, TreeLeafSchema, TreeNodeSchema, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, colorToRgbHex, decompose, factorStyles, findConstructMarkerImbalance, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, resolveStyleChain, rgbHexToColor } from "document-schema.js";
25
+ export { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, AttributeSchema, BinaryPartSchema, BoxSchema, COLOR_BLACK, ColorSchema, CommentSchema, CompactPackageSchema, CompactPartSchema, CompactXmlNodeSchema, ConstructDescriptorSchema, ConstructMarkerImbalanceError, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentConstructEndSchema, ContentConstructStartSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DefinedNameSchema, DivisionDescriptorSchema, DocumentMetadataSchema, DocumentTreeSchema, DocxDocumentSchema, DrawPageGroupSchema, FieldDescriptorSchema, FootnoteSchema, HeaderFooterPartSchema, HeadingGroupSchema, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, MarginsSchema, NumberingDefinitionSchema, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageSchema, PageSizeSchema, PartSchema, PptxDocumentSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SectionConstructGroupSchema, SectionGroupSchema, SectionHeaderFooterReferencesSchema, ShapeConstructGroupSchema, ShapeGroupSchema, SheetGroupSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, TreeBlockLeafSchema, TreeGroupSchema, TreeLeafSchema, TreeNodeSchema, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, XmlCdataSchema, XmlCommentSchema, XmlDeclarationSchema, XmlElementSchema, XmlNodeSchema, XmlPartSchema, XmlPiSchema, XmlTextSchema, applyColorTransforms, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenTree, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-BUojjTXf.js";
1
+ import { r as Package } from "./package-otZYrxiO.js";
2
2
  import { z } from "zod";
3
3
  //#region src/typed/shared/metadata.d.ts
4
4
  declare const DocumentMetadataSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-L24lkba-.cjs";
1
+ import { r as Package } from "./package-DMk9fuTI.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/typed/shared/metadata.d.ts
4
4
  declare const DocumentMetadataSchema: z.ZodObject<{
@@ -1,2 +1,2 @@
1
- import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-CkBWRjNR.cjs";
1
+ import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-B6JX5CRX.cjs";
2
2
  export { Attribute, AttributeSchema, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, isXmlNode };
@@ -1,2 +1,2 @@
1
- import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-CkBWRjNR.js";
1
+ import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-B6JX5CRX.js";
2
2
  export { Attribute, AttributeSchema, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, isXmlNode };
@@ -1,2 +1,2 @@
1
- import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-L24lkba-.cjs";
1
+ import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-DMk9fuTI.cjs";
2
2
  export { BinaryPart, BinaryPartSchema, Package, PackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -1,2 +1,2 @@
1
- import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-BUojjTXf.js";
1
+ import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-otZYrxiO.js";
2
2
  export { BinaryPart, BinaryPartSchema, Package, PackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -35,7 +35,7 @@ declare const XmlPiSchema: z.ZodObject<{
35
35
  }, z.core.$strip>;
36
36
  type XmlPi = z.infer<typeof XmlPiSchema>;
37
37
  interface XmlElement {
38
- type: 'element';
38
+ type: "element";
39
39
  tag: string;
40
40
  attributes: Attribute[];
41
41
  children: XmlNode[];
@@ -35,7 +35,7 @@ declare const XmlPiSchema: z.ZodObject<{
35
35
  }, z.core.$strip>;
36
36
  type XmlPi = z.infer<typeof XmlPiSchema>;
37
37
  interface XmlElement {
38
- type: 'element';
38
+ type: "element";
39
39
  tag: string;
40
40
  attributes: Attribute[];
41
41
  children: XmlNode[];
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-BUojjTXf.js";
1
+ import { r as Package } from "./package-otZYrxiO.js";
2
2
  import { z } from "zod";
3
3
  //#region src/typed/docx/numbering.d.ts
4
4
  declare const NumberingLevelSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-L24lkba-.cjs";
1
+ import { r as Package } from "./package-DMk9fuTI.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/typed/docx/numbering.d.ts
4
4
  declare const NumberingLevelSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.cjs";
1
+ import { d as XmlNode } from "./node-B6JX5CRX.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/model/package.d.ts
4
4
  declare const XmlPartSchema: z.ZodObject<{
@@ -1,2 +1,2 @@
1
- import { n as parsePackage, t as packageFromEntries } from "../read-VbRhmjOh.cjs";
1
+ import { n as parsePackage, t as packageFromEntries } from "../read-uKN0paUP.cjs";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { n as parsePackage, t as packageFromEntries } from "../read-CevviAf2.js";
1
+ import { n as parsePackage, t as packageFromEntries } from "../read-BlcKA9Cg.js";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { t as serializePackage } from "../write-6JmxvaK5.cjs";
1
+ import { t as serializePackage } from "../write-Ba1IxfDT.cjs";
2
2
  export { serializePackage };
@@ -1,2 +1,2 @@
1
- import { t as serializePackage } from "../write-CT-EgVT7.js";
1
+ import { t as serializePackage } from "../write-C4902scQ.js";
2
2
  export { serializePackage };
@@ -1,4 +1,4 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.js";
1
+ import { d as XmlNode } from "./node-B6JX5CRX.js";
2
2
  import { z } from "zod";
3
3
  //#region src/model/package.d.ts
4
4
  declare const XmlPartSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.js";
1
+ import { d as XmlNode } from "./node-B6JX5CRX.js";
2
2
  //#region src/xml/parse.d.ts
3
3
  declare function parseXml(xml: string): XmlNode[];
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.cjs";
1
+ import { d as XmlNode } from "./node-B6JX5CRX.cjs";
2
2
  //#region src/xml/parse.d.ts
3
3
  declare function parseXml(xml: string): XmlNode[];
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-BUojjTXf.js";
1
+ import { r as Package } from "./package-otZYrxiO.js";
2
2
  import { z } from "zod";
3
3
  import { ContentBlock } from "document-schema.js";
4
4
  //#region src/typed/pptx/read.d.ts
@@ -1321,7 +1321,9 @@ function readSections(body, ctx) {
1321
1321
  sections.push(sliceSection(PAGE_SIZE_LETTER, DEFAULT_MARGINS, void 0, from, state.blocks.length));
1322
1322
  headerFooters.push({});
1323
1323
  }
1324
- sections.forEach((section, sectionIndex) => assignSourcePaths(section.blocks, `sections[${sectionIndex}]`));
1324
+ sections.forEach((section, sectionIndex) => {
1325
+ assignSourcePaths(section.blocks, `sections[${sectionIndex}]`);
1326
+ });
1325
1327
  return {
1326
1328
  sections,
1327
1329
  headerFooters