js.documents 14.4.31 → 14.4.33

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 (165) hide show
  1. package/dist/{blr-types-CMN0QKUE.d.cts → blr-types-deHhtYjv.d.cts} +2 -1
  2. package/dist/{blr-types-CMN0QKUE.d.ts → blr-types-deHhtYjv.d.ts} +2 -1
  3. package/dist/{clock-C7SUuYN0.d.cts → clock-Cewekmhw.d.cts} +1 -1
  4. package/dist/{clock-C7SUuYN0.d.ts → clock-Cewekmhw.d.ts} +1 -1
  5. package/dist/codecs/registry.d.cts +2 -2
  6. package/dist/codecs/registry.d.ts +2 -2
  7. package/dist/convert/composition.cjs +65 -65
  8. package/dist/convert/composition.d.cts +2 -2
  9. package/dist/convert/composition.d.ts +2 -2
  10. package/dist/convert/composition.js +65 -65
  11. package/dist/convert/convert.d.cts +1 -1
  12. package/dist/convert/convert.d.ts +1 -1
  13. package/dist/convert/local.cjs +7 -3
  14. package/dist/convert/local.js +7 -3
  15. package/dist/convert/port.d.cts +2 -2
  16. package/dist/convert/port.d.ts +2 -2
  17. package/dist/edit/doc/editor.d.cts +5 -5
  18. package/dist/edit/doc/editor.d.ts +5 -5
  19. package/dist/edit/docx/content.d.cts +1 -1
  20. package/dist/edit/docx/content.d.ts +1 -1
  21. package/dist/edit/docx/editor.d.cts +10 -10
  22. package/dist/edit/docx/editor.d.ts +10 -10
  23. package/dist/edit/docx/table.cjs +1 -1
  24. package/dist/edit/docx/table.js +1 -1
  25. package/dist/edit/markdown/editor.d.cts +6 -6
  26. package/dist/edit/markdown/editor.d.ts +6 -6
  27. package/dist/edit/odg/content.d.cts +1 -1
  28. package/dist/edit/odg/content.d.ts +1 -1
  29. package/dist/edit/odg/editor.d.cts +1 -1
  30. package/dist/edit/odg/editor.d.ts +1 -1
  31. package/dist/edit/odg/page.d.cts +1 -1
  32. package/dist/edit/odg/page.d.ts +1 -1
  33. package/dist/edit/odg/vector.cjs +5 -0
  34. package/dist/edit/odg/vector.d.cts +2 -2
  35. package/dist/edit/odg/vector.d.ts +2 -2
  36. package/dist/edit/odg/vector.js +5 -1
  37. package/dist/edit/odp/content.d.cts +1 -1
  38. package/dist/edit/odp/content.d.ts +1 -1
  39. package/dist/edit/odp/editor.d.cts +1 -1
  40. package/dist/edit/odp/editor.d.ts +1 -1
  41. package/dist/edit/odp/slide.d.cts +1 -1
  42. package/dist/edit/odp/slide.d.ts +1 -1
  43. package/dist/edit/ods/content.d.cts +1 -1
  44. package/dist/edit/ods/content.d.ts +1 -1
  45. package/dist/edit/ods/editor.d.cts +1 -1
  46. package/dist/edit/ods/editor.d.ts +1 -1
  47. package/dist/edit/odt/automatic-styles.cjs +1 -1
  48. package/dist/edit/odt/automatic-styles.js +1 -1
  49. package/dist/edit/odt/content.cjs +32 -32
  50. package/dist/edit/odt/content.d.cts +1 -1
  51. package/dist/edit/odt/content.d.ts +1 -1
  52. package/dist/edit/odt/content.js +32 -32
  53. package/dist/edit/odt/editor.d.cts +12 -12
  54. package/dist/edit/odt/editor.d.ts +12 -12
  55. package/dist/edit/odt/table.cjs +1 -1
  56. package/dist/edit/odt/table.js +1 -1
  57. package/dist/edit/pdf/editor.d.cts +1 -1
  58. package/dist/edit/pdf/editor.d.ts +1 -1
  59. package/dist/edit/pdf/item.cjs +5 -0
  60. package/dist/edit/pdf/item.d.cts +2 -2
  61. package/dist/edit/pdf/item.d.ts +2 -2
  62. package/dist/edit/pdf/item.js +5 -1
  63. package/dist/edit/pdf/page.d.cts +1 -1
  64. package/dist/edit/pdf/page.d.ts +1 -1
  65. package/dist/edit/ppt/editor.d.cts +1 -1
  66. package/dist/edit/ppt/editor.d.ts +1 -1
  67. package/dist/edit/pptx/content.d.cts +1 -1
  68. package/dist/edit/pptx/content.d.ts +1 -1
  69. package/dist/edit/pptx/editor.d.cts +1 -1
  70. package/dist/edit/pptx/editor.d.ts +1 -1
  71. package/dist/edit/xls/editor.d.cts +1 -1
  72. package/dist/edit/xls/editor.d.ts +1 -1
  73. package/dist/evaluate-BbOsgdmN.d.cts +15 -0
  74. package/dist/evaluate-C7fmk69X.d.ts +15 -0
  75. package/dist/firebird/backup.d.cts +1 -1
  76. package/dist/firebird/backup.d.ts +1 -1
  77. package/dist/firebird/blr-types.cjs +5 -0
  78. package/dist/firebird/blr-types.d.cts +2 -2
  79. package/dist/firebird/blr-types.d.ts +2 -2
  80. package/dist/firebird/blr-types.js +5 -1
  81. package/dist/firebird/schema.d.cts +1 -1
  82. package/dist/firebird/schema.d.ts +1 -1
  83. package/dist/hsqldb/binary-script.d.cts +1 -1
  84. package/dist/hsqldb/binary-script.d.ts +1 -1
  85. package/dist/hsqldb/cache.d.cts +1 -1
  86. package/dist/hsqldb/cache.d.ts +1 -1
  87. package/dist/hsqldb/script.cjs +5 -0
  88. package/dist/hsqldb/script.d.cts +2 -2
  89. package/dist/hsqldb/script.d.ts +2 -2
  90. package/dist/hsqldb/script.js +5 -1
  91. package/dist/index.d.cts +7 -7
  92. package/dist/index.d.ts +7 -7
  93. package/dist/{item-SUC4uKDO.d.cts → item-B5d6CCqq.d.cts} +2 -1
  94. package/dist/{item-SUC4uKDO.d.ts → item-B5d6CCqq.d.ts} +2 -1
  95. package/dist/latex/lower.cjs +2 -2
  96. package/dist/latex/lower.js +2 -2
  97. package/dist/layout/lattice.cjs +1 -1
  98. package/dist/layout/lattice.js +1 -1
  99. package/dist/layout/reconstruct.cjs +3 -3
  100. package/dist/layout/reconstruct.js +3 -3
  101. package/dist/markdown/render.cjs +5 -0
  102. package/dist/markdown/render.d.cts +2 -1
  103. package/dist/markdown/render.d.ts +2 -1
  104. package/dist/markdown/render.js +5 -1
  105. package/dist/model/embedded-drawing.cjs +5 -0
  106. package/dist/model/embedded-drawing.d.cts +2 -1
  107. package/dist/model/embedded-drawing.d.ts +2 -1
  108. package/dist/model/embedded-drawing.js +5 -1
  109. package/dist/model/metadata.d.cts +1 -1
  110. package/dist/model/metadata.d.ts +1 -1
  111. package/dist/odb/csv.d.cts +1 -1
  112. package/dist/odb/csv.d.ts +1 -1
  113. package/dist/odb/formula/evaluate.cjs +5 -0
  114. package/dist/odb/formula/evaluate.d.cts +3 -2
  115. package/dist/odb/formula/evaluate.d.ts +3 -2
  116. package/dist/odb/formula/evaluate.js +5 -1
  117. package/dist/odb/formula/parser.d.cts +1 -1
  118. package/dist/odb/formula/parser.d.ts +1 -1
  119. package/dist/odb/read.d.cts +1 -1
  120. package/dist/odb/read.d.ts +1 -1
  121. package/dist/odb/report/render.cjs +5 -0
  122. package/dist/odb/report/render.d.cts +3 -2
  123. package/dist/odb/report/render.d.ts +3 -2
  124. package/dist/odb/report/render.js +5 -1
  125. package/dist/odb/report/source.d.cts +1 -1
  126. package/dist/odb/report/source.d.ts +1 -1
  127. package/dist/odb/spreadsheet.d.cts +1 -1
  128. package/dist/odb/spreadsheet.d.ts +1 -1
  129. package/dist/odb/sql/evaluate.cjs +21 -1
  130. package/dist/odb/sql/evaluate.d.cts +2 -2
  131. package/dist/odb/sql/evaluate.d.ts +2 -2
  132. package/dist/odb/sql/evaluate.js +18 -2
  133. package/dist/odb/sql/parser.cjs +12 -7
  134. package/dist/odb/sql/parser.d.cts +2 -2
  135. package/dist/odb/sql/parser.d.ts +2 -2
  136. package/dist/odb/sql/parser.js +12 -8
  137. package/dist/odb/values.cjs +5 -0
  138. package/dist/odb/values.d.cts +2 -2
  139. package/dist/odb/values.d.ts +2 -2
  140. package/dist/odb/values.js +5 -1
  141. package/dist/{parser-Oq6zLQsu.d.cts → parser-BTA1wXPd.d.cts} +2 -1
  142. package/dist/{parser-CfMvvMT1.d.ts → parser-CoIi0l9I.d.ts} +2 -1
  143. package/dist/ports/clock.d.cts +1 -1
  144. package/dist/ports/clock.d.ts +1 -1
  145. package/dist/ppt/write.cjs +5 -0
  146. package/dist/ppt/write.d.cts +2 -1
  147. package/dist/ppt/write.d.ts +2 -1
  148. package/dist/ppt/write.js +5 -1
  149. package/dist/{script-DsGGIzGU.d.cts → script-pkZ2Kor4.d.cts} +2 -1
  150. package/dist/{script-DsGGIzGU.d.ts → script-pkZ2Kor4.d.ts} +2 -1
  151. package/dist/svg/transform.cjs +5 -0
  152. package/dist/svg/transform.d.cts +2 -1
  153. package/dist/svg/transform.d.ts +2 -1
  154. package/dist/svg/transform.js +5 -1
  155. package/dist/svg/write.cjs +5 -0
  156. package/dist/svg/write.d.cts +2 -1
  157. package/dist/svg/write.d.ts +2 -1
  158. package/dist/svg/write.js +5 -1
  159. package/dist/{values-BBN9E8dV.d.cts → values-DcupkLKg.d.cts} +2 -1
  160. package/dist/{values-BBN9E8dV.d.ts → values-DcupkLKg.d.ts} +2 -1
  161. package/dist/{vector-DDP7hgvm.d.cts → vector-DWSXN_G2.d.cts} +2 -1
  162. package/dist/{vector-DDP7hgvm.d.ts → vector-DWSXN_G2.d.ts} +2 -1
  163. package/package.json +13 -13
  164. package/dist/evaluate-BnRKjJ1G.d.ts +0 -11
  165. package/dist/evaluate-CYYLwKtR.d.cts +0 -11
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { MarkdownParagraph, ParagraphInit } from "./paragraph.js";
3
3
  import { MarkdownList, MarkdownListInit } from "./list.js";
4
4
  import { MarkdownTable, TableInit } from "./table.js";
@@ -6,11 +6,11 @@ import { ContentDocument, Margins, PageSize } from "document-schema.js";
6
6
  import { ReadMarkdownOptions, WriteMarkdownOptions } from "markdown-codec";
7
7
  //#region src/edit/markdown/editor.d.ts
8
8
  interface MarkdownBody {
9
- paragraphs(): MarkdownParagraph[];
10
- appendParagraph(init?: ParagraphInit): MarkdownParagraph;
11
- tables(): MarkdownTable[];
12
- appendTable(init: TableInit): MarkdownTable;
13
- startList(init: MarkdownListInit): MarkdownList;
9
+ paragraphs: () => MarkdownParagraph[];
10
+ appendParagraph: (init?: ParagraphInit) => MarkdownParagraph;
11
+ tables: () => MarkdownTable[];
12
+ appendTable: (init: TableInit) => MarkdownTable;
13
+ startList: (init: MarkdownListInit) => MarkdownList;
14
14
  }
15
15
  interface CreateMarkdownEditorOptions {
16
16
  readonly clock?: ClockPort;
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/odg/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/odg/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { OdgPage } from "./page.cjs";
3
3
  import { LayoutMetadata, PageSize } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { OdgPage } from "./page.js";
3
3
  import { LayoutMetadata, PageSize } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -1,6 +1,6 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.cjs";
2
2
  import { t as OdpShape } from "../../shape-Kmmxib5z.cjs";
3
- import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-DDP7hgvm.cjs";
3
+ import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-DWSXN_G2.cjs";
4
4
  import { Box, ContentVector } from "document-schema.js";
5
5
  import { Package, XmlElement, XmlNode } from "odf.js";
6
6
  //#region src/edit/odg/page.d.ts
@@ -1,6 +1,6 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.js";
2
2
  import { t as OdpShape } from "../../shape-ZAfNsCC5.js";
3
- import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-DDP7hgvm.js";
3
+ import { a as OdgLineVector, l as PathVectorInit, n as LineVectorInit, o as OdgPathVector, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit } from "../../vector-DWSXN_G2.js";
4
4
  import { Box, ContentVector } from "document-schema.js";
5
5
  import { Package, XmlElement, XmlNode } from "odf.js";
6
6
  //#region src/edit/odg/page.d.ts
@@ -238,6 +238,7 @@ function appendVectorTo(container, pkg, vector, options) {
238
238
  case "rect":
239
239
  case "ellipse": return new OdgBoxVector(container, element, pkg);
240
240
  }
241
+ return assertNeverVectorKind(vector);
241
242
  }
242
243
  function buildUnanchoredVectorElement(pkg, vector, textFlowAnchored) {
243
244
  if (vector.kind === "line") return buildLineElement(pkg, {
@@ -266,11 +267,15 @@ function buildUnanchoredVectorElement(pkg, vector, textFlowAnchored) {
266
267
  if (vector.rotationDeg !== void 0) require_edit_geometry.applyOdfGeometry(element, vector.frame, vector.rotationDeg);
267
268
  return element;
268
269
  }
270
+ function assertNeverVectorKind(value) {
271
+ throw new Error(`documents.js: unhandled vector ${JSON.stringify(value)}`);
272
+ }
269
273
  //#endregion
270
274
  exports.OdgBoxVector = OdgBoxVector;
271
275
  exports.OdgLineVector = OdgLineVector;
272
276
  exports.OdgPathVector = OdgPathVector;
273
277
  exports.appendVectorTo = appendVectorTo;
278
+ exports.assertNeverVectorKind = assertNeverVectorKind;
274
279
  exports.buildEllipseElement = buildEllipseElement;
275
280
  exports.buildLineElement = buildLineElement;
276
281
  exports.buildPathElement = buildPathElement;
@@ -1,2 +1,2 @@
1
- import { _ as wrapVectorElement, a as OdgLineVector, c as OdgVectorKind, d as appendVectorTo, f as buildEllipseElement, g as buildVectorElement, h as buildRectElement, i as OdgBoxVectorKind, l as PathVectorInit, m as buildPathElement, n as LineVectorInit, o as OdgPathVector, p as buildLineElement, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit, u as VectorElementOptions } from "../../vector-DDP7hgvm.cjs";
2
- export { BoxVectorInit, LineVectorInit, OdgBoxVector, OdgBoxVectorKind, OdgLineVector, OdgPathVector, OdgVector, OdgVectorKind, PathVectorInit, VectorElementOptions, appendVectorTo, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
1
+ import { _ as buildVectorElement, a as OdgLineVector, c as OdgVectorKind, d as appendVectorTo, f as assertNeverVectorKind, g as buildRectElement, h as buildPathElement, i as OdgBoxVectorKind, l as PathVectorInit, m as buildLineElement, n as LineVectorInit, o as OdgPathVector, p as buildEllipseElement, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit, u as VectorElementOptions, v as wrapVectorElement } from "../../vector-DWSXN_G2.cjs";
2
+ export { BoxVectorInit, LineVectorInit, OdgBoxVector, OdgBoxVectorKind, OdgLineVector, OdgPathVector, OdgVector, OdgVectorKind, PathVectorInit, VectorElementOptions, appendVectorTo, assertNeverVectorKind, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
@@ -1,2 +1,2 @@
1
- import { _ as wrapVectorElement, a as OdgLineVector, c as OdgVectorKind, d as appendVectorTo, f as buildEllipseElement, g as buildVectorElement, h as buildRectElement, i as OdgBoxVectorKind, l as PathVectorInit, m as buildPathElement, n as LineVectorInit, o as OdgPathVector, p as buildLineElement, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit, u as VectorElementOptions } from "../../vector-DDP7hgvm.js";
2
- export { BoxVectorInit, LineVectorInit, OdgBoxVector, OdgBoxVectorKind, OdgLineVector, OdgPathVector, OdgVector, OdgVectorKind, PathVectorInit, VectorElementOptions, appendVectorTo, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
1
+ import { _ as buildVectorElement, a as OdgLineVector, c as OdgVectorKind, d as appendVectorTo, f as assertNeverVectorKind, g as buildRectElement, h as buildPathElement, i as OdgBoxVectorKind, l as PathVectorInit, m as buildLineElement, n as LineVectorInit, o as OdgPathVector, p as buildEllipseElement, r as OdgBoxVector, s as OdgVector, t as BoxVectorInit, u as VectorElementOptions, v as wrapVectorElement } from "../../vector-DWSXN_G2.js";
2
+ export { BoxVectorInit, LineVectorInit, OdgBoxVector, OdgBoxVectorKind, OdgLineVector, OdgPathVector, OdgVector, OdgVectorKind, PathVectorInit, VectorElementOptions, appendVectorTo, assertNeverVectorKind, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
@@ -237,6 +237,7 @@ function appendVectorTo(container, pkg, vector, options) {
237
237
  case "rect":
238
238
  case "ellipse": return new OdgBoxVector(container, element, pkg);
239
239
  }
240
+ return assertNeverVectorKind(vector);
240
241
  }
241
242
  function buildUnanchoredVectorElement(pkg, vector, textFlowAnchored) {
242
243
  if (vector.kind === "line") return buildLineElement(pkg, {
@@ -265,5 +266,8 @@ function buildUnanchoredVectorElement(pkg, vector, textFlowAnchored) {
265
266
  if (vector.rotationDeg !== void 0) applyOdfGeometry(element, vector.frame, vector.rotationDeg);
266
267
  return element;
267
268
  }
269
+ function assertNeverVectorKind(value) {
270
+ throw new Error(`documents.js: unhandled vector ${JSON.stringify(value)}`);
271
+ }
268
272
  //#endregion
269
- export { OdgBoxVector, OdgLineVector, OdgPathVector, appendVectorTo, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
273
+ export { OdgBoxVector, OdgLineVector, OdgPathVector, appendVectorTo, assertNeverVectorKind, buildEllipseElement, buildLineElement, buildPathElement, buildRectElement, buildVectorElement, wrapVectorElement };
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/odp/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/odp/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { OdpSlide } from "./slide.cjs";
3
3
  import { LayoutMetadata, PageSize } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { OdpSlide } from "./slide.js";
3
3
  import { LayoutMetadata, PageSize } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -1,6 +1,6 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.cjs";
2
2
  import { t as OdpShape } from "../../shape-Kmmxib5z.cjs";
3
- import { s as OdgVector } from "../../vector-DDP7hgvm.cjs";
3
+ import { s as OdgVector } from "../../vector-DWSXN_G2.cjs";
4
4
  import { o as TableInit, r as OdtTable } from "../../table-DrE6jEWv.cjs";
5
5
  import { Box, ContentFormula, ContentVector } from "document-schema.js";
6
6
  import { Package, XmlElement, XmlNode } from "odf.js";
@@ -1,6 +1,6 @@
1
1
  import { t as ImageInit } from "../../image-D1z0T9Za.js";
2
2
  import { t as OdpShape } from "../../shape-ZAfNsCC5.js";
3
- import { s as OdgVector } from "../../vector-DDP7hgvm.js";
3
+ import { s as OdgVector } from "../../vector-DWSXN_G2.js";
4
4
  import { o as TableInit, r as OdtTable } from "../../table-B5htMG3g.js";
5
5
  import { Box, ContentFormula, ContentVector } from "document-schema.js";
6
6
  import { Package, XmlElement, XmlNode } from "odf.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/ods/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { ContentDocument } from "document-schema.js";
3
3
  import { Package } from "odf.js";
4
4
  //#region src/edit/ods/content.d.ts
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { OdsSheet } from "./sheet.cjs";
3
3
  import { LayoutMetadata } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { OdsSheet } from "./sheet.js";
3
3
  import { LayoutMetadata } from "document-schema.js";
4
4
  import { Package } from "odf.js";
@@ -25,7 +25,7 @@ function nextStyleName(automaticStyles, tag, prefix) {
25
25
  for (const child of automaticStyles.children) {
26
26
  if (child.type !== "element" || child.tag !== tag) continue;
27
27
  const name = (0, ooxml_js.attr)(child, "style:name");
28
- if (!name?.startsWith(prefix)) continue;
28
+ if (name?.startsWith(prefix) !== true) continue;
29
29
  const rest = name.slice(prefix.length);
30
30
  const n = Number.parseInt(rest, 10);
31
31
  if (!Number.isNaN(n) && String(n) === rest && n > max) max = n;
@@ -24,7 +24,7 @@ function nextStyleName(automaticStyles, tag, prefix) {
24
24
  for (const child of automaticStyles.children) {
25
25
  if (child.type !== "element" || child.tag !== tag) continue;
26
26
  const name = attr(child, "style:name");
27
- if (!name?.startsWith(prefix)) continue;
27
+ if (name?.startsWith(prefix) !== true) continue;
28
28
  const rest = name.slice(prefix.length);
29
29
  const n = Number.parseInt(rest, 10);
30
30
  if (!Number.isNaN(n) && String(n) === rest && n > max) max = n;
@@ -10,6 +10,38 @@ const require_edit_odt_editor = require("./editor.cjs");
10
10
  let document_schema_js = require("document-schema.js");
11
11
  let odf_js = require("odf.js");
12
12
  //#region src/edit/odt/content.ts
13
+ var ConstructMarkerState = class {
14
+ open = [];
15
+ openConstruct(body, marker) {
16
+ const detail = marker.descriptor;
17
+ if (detail.kind === "anchor" && detail.anchorType === "bookmark") {
18
+ this.open.push({
19
+ kind: "bookmark",
20
+ name: detail.name
21
+ });
22
+ body.appendBookmarkStart(detail.name);
23
+ return;
24
+ }
25
+ if (detail.kind === "division") {
26
+ this.open.push({ kind: "region" });
27
+ body.openDivisionRegion(detail);
28
+ return;
29
+ }
30
+ if (detail.kind === "contentControl" && detail.controlType === "index") {
31
+ if (body.openIndexRegion(detail)) {
32
+ this.open.push({ kind: "region" });
33
+ return;
34
+ }
35
+ }
36
+ this.open.push({ kind: "dropped" });
37
+ }
38
+ closeConstruct(body) {
39
+ const entry = this.open.pop();
40
+ if (entry === void 0) return;
41
+ if (entry.kind === "bookmark") body.appendBookmarkEnd(entry.name);
42
+ else if (entry.kind === "region") body.closeRegion();
43
+ }
44
+ };
13
45
  function buildOdtPackage(content, options) {
14
46
  if (content.kind !== "wordprocessing") throw new Error("buildOdtPackage requires a wordprocessing ContentDocument");
15
47
  const clock = options?.clock ?? require_ports_clock.systemClock;
@@ -190,38 +222,6 @@ function appendCellBlock(cell, block) {
190
222
  altText: block.altText
191
223
  });
192
224
  }
193
- var ConstructMarkerState = class {
194
- open = [];
195
- openConstruct(body, marker) {
196
- const detail = marker.descriptor;
197
- if (detail.kind === "anchor" && detail.anchorType === "bookmark") {
198
- this.open.push({
199
- kind: "bookmark",
200
- name: detail.name
201
- });
202
- body.appendBookmarkStart(detail.name);
203
- return;
204
- }
205
- if (detail.kind === "division") {
206
- this.open.push({ kind: "region" });
207
- body.openDivisionRegion(detail);
208
- return;
209
- }
210
- if (detail.kind === "contentControl" && detail.controlType === "index") {
211
- if (body.openIndexRegion(detail)) {
212
- this.open.push({ kind: "region" });
213
- return;
214
- }
215
- }
216
- this.open.push({ kind: "dropped" });
217
- }
218
- closeConstruct(body) {
219
- const entry = this.open.pop();
220
- if (entry === void 0) return;
221
- if (entry.kind === "bookmark") body.appendBookmarkEnd(entry.name);
222
- else if (entry.kind === "region") body.closeRegion();
223
- }
224
- };
225
225
  function appendBlock(body, block, markers) {
226
226
  if (block.kind === "paragraph") populateParagraph(body.appendParagraph(), block, { headings: "element" });
227
227
  else if (block.kind === "image") body.appendParagraph().insertImageAfter({
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { t as OdtParagraph } from "../../paragraph-CRaLSzWz.cjs";
3
3
  import { o as TableInit, r as OdtTable } from "../../table-DrE6jEWv.cjs";
4
4
  import { ContentDocument, ContentParagraph, ContentTable } from "document-schema.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { t as OdtParagraph } from "../../paragraph-D4f705GG.js";
3
3
  import { o as TableInit, r as OdtTable } from "../../table-B5htMG3g.js";
4
4
  import { ContentDocument, ContentParagraph, ContentTable } from "document-schema.js";
@@ -9,6 +9,38 @@ import { OdtEditor } from "./editor.js";
9
9
  import { resolveCellFillColor, tableCellColumnSpan, tableCellRowSpan, tableGridColumnCount, walkTableGrid } from "document-schema.js";
10
10
  import { base64ToBytes } from "odf.js";
11
11
  //#region src/edit/odt/content.ts
12
+ var ConstructMarkerState = class {
13
+ open = [];
14
+ openConstruct(body, marker) {
15
+ const detail = marker.descriptor;
16
+ if (detail.kind === "anchor" && detail.anchorType === "bookmark") {
17
+ this.open.push({
18
+ kind: "bookmark",
19
+ name: detail.name
20
+ });
21
+ body.appendBookmarkStart(detail.name);
22
+ return;
23
+ }
24
+ if (detail.kind === "division") {
25
+ this.open.push({ kind: "region" });
26
+ body.openDivisionRegion(detail);
27
+ return;
28
+ }
29
+ if (detail.kind === "contentControl" && detail.controlType === "index") {
30
+ if (body.openIndexRegion(detail)) {
31
+ this.open.push({ kind: "region" });
32
+ return;
33
+ }
34
+ }
35
+ this.open.push({ kind: "dropped" });
36
+ }
37
+ closeConstruct(body) {
38
+ const entry = this.open.pop();
39
+ if (entry === void 0) return;
40
+ if (entry.kind === "bookmark") body.appendBookmarkEnd(entry.name);
41
+ else if (entry.kind === "region") body.closeRegion();
42
+ }
43
+ };
12
44
  function buildOdtPackage(content, options) {
13
45
  if (content.kind !== "wordprocessing") throw new Error("buildOdtPackage requires a wordprocessing ContentDocument");
14
46
  const clock = options?.clock ?? systemClock;
@@ -189,38 +221,6 @@ function appendCellBlock(cell, block) {
189
221
  altText: block.altText
190
222
  });
191
223
  }
192
- var ConstructMarkerState = class {
193
- open = [];
194
- openConstruct(body, marker) {
195
- const detail = marker.descriptor;
196
- if (detail.kind === "anchor" && detail.anchorType === "bookmark") {
197
- this.open.push({
198
- kind: "bookmark",
199
- name: detail.name
200
- });
201
- body.appendBookmarkStart(detail.name);
202
- return;
203
- }
204
- if (detail.kind === "division") {
205
- this.open.push({ kind: "region" });
206
- body.openDivisionRegion(detail);
207
- return;
208
- }
209
- if (detail.kind === "contentControl" && detail.controlType === "index") {
210
- if (body.openIndexRegion(detail)) {
211
- this.open.push({ kind: "region" });
212
- return;
213
- }
214
- }
215
- this.open.push({ kind: "dropped" });
216
- }
217
- closeConstruct(body) {
218
- const entry = this.open.pop();
219
- if (entry === void 0) return;
220
- if (entry.kind === "bookmark") body.appendBookmarkEnd(entry.name);
221
- else if (entry.kind === "region") body.closeRegion();
222
- }
223
- };
224
224
  function appendBlock(body, block, markers) {
225
225
  if (block.kind === "paragraph") populateParagraph(body.appendParagraph(), block, { headings: "element" });
226
226
  else if (block.kind === "image") body.appendParagraph().insertImageAfter({
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-CRaLSzWz.cjs";
3
3
  import { t as OdtList } from "../../list-C_UPIZWM.cjs";
4
4
  import { o as TableInit, r as OdtTable } from "../../table-DrE6jEWv.cjs";
@@ -6,17 +6,17 @@ import { Box, ContentControlDescriptor, ContentFormula, ContentVector, DivisionD
6
6
  import { Package } from "odf.js";
7
7
  //#region src/edit/odt/editor.d.ts
8
8
  interface OdtBody {
9
- appendParagraph(init?: ParagraphInit): OdtParagraph;
10
- appendTable(init: TableInit): OdtTable;
11
- appendList(): OdtList;
12
- appendPageBreak(): void;
13
- appendFormula(formula: ContentFormula, frame: Box): OdtParagraph;
14
- appendVectors(vectors: readonly ContentVector[]): OdtParagraph;
15
- appendBookmarkStart(name: string): void;
16
- appendBookmarkEnd(name: string): void;
17
- openDivisionRegion(descriptor: DivisionDescriptor): void;
18
- openIndexRegion(descriptor: ContentControlDescriptor): boolean;
19
- closeRegion(): void;
9
+ appendParagraph: (init?: ParagraphInit) => OdtParagraph;
10
+ appendTable: (init: TableInit) => OdtTable;
11
+ appendList: () => OdtList;
12
+ appendPageBreak: () => void;
13
+ appendFormula: (formula: ContentFormula, frame: Box) => OdtParagraph;
14
+ appendVectors: (vectors: readonly ContentVector[]) => OdtParagraph;
15
+ appendBookmarkStart: (name: string) => void;
16
+ appendBookmarkEnd: (name: string) => void;
17
+ openDivisionRegion: (descriptor: DivisionDescriptor) => void;
18
+ openIndexRegion: (descriptor: ContentControlDescriptor) => boolean;
19
+ closeRegion: () => void;
20
20
  }
21
21
  declare class OdtEditor {
22
22
  readonly body: OdtBody;
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { n as ParagraphInit, t as OdtParagraph } from "../../paragraph-D4f705GG.js";
3
3
  import { t as OdtList } from "../../list-C2GWIe6E.js";
4
4
  import { o as TableInit, r as OdtTable } from "../../table-B5htMG3g.js";
@@ -6,17 +6,17 @@ import { Box, ContentControlDescriptor, ContentFormula, ContentVector, DivisionD
6
6
  import { Package } from "odf.js";
7
7
  //#region src/edit/odt/editor.d.ts
8
8
  interface OdtBody {
9
- appendParagraph(init?: ParagraphInit): OdtParagraph;
10
- appendTable(init: TableInit): OdtTable;
11
- appendList(): OdtList;
12
- appendPageBreak(): void;
13
- appendFormula(formula: ContentFormula, frame: Box): OdtParagraph;
14
- appendVectors(vectors: readonly ContentVector[]): OdtParagraph;
15
- appendBookmarkStart(name: string): void;
16
- appendBookmarkEnd(name: string): void;
17
- openDivisionRegion(descriptor: DivisionDescriptor): void;
18
- openIndexRegion(descriptor: ContentControlDescriptor): boolean;
19
- closeRegion(): void;
9
+ appendParagraph: (init?: ParagraphInit) => OdtParagraph;
10
+ appendTable: (init: TableInit) => OdtTable;
11
+ appendList: () => OdtList;
12
+ appendPageBreak: () => void;
13
+ appendFormula: (formula: ContentFormula, frame: Box) => OdtParagraph;
14
+ appendVectors: (vectors: readonly ContentVector[]) => OdtParagraph;
15
+ appendBookmarkStart: (name: string) => void;
16
+ appendBookmarkEnd: (name: string) => void;
17
+ openDivisionRegion: (descriptor: DivisionDescriptor) => void;
18
+ openIndexRegion: (descriptor: ContentControlDescriptor) => boolean;
19
+ closeRegion: () => void;
20
20
  }
21
21
  declare class OdtEditor {
22
22
  readonly body: OdtBody;
@@ -314,7 +314,7 @@ function regionContains(outer, inner) {
314
314
  }
315
315
  function anchorRegions(grid) {
316
316
  return grid.rows.flatMap((positions, row) => positions.flatMap((position, column) => {
317
- if (!position?.isAnchor) return [];
317
+ if (position?.isAnchor !== true) return [];
318
318
  const spans = {
319
319
  blocks: [],
320
320
  colSpan: position.cell.colSpan,
@@ -313,7 +313,7 @@ function regionContains(outer, inner) {
313
313
  }
314
314
  function anchorRegions(grid) {
315
315
  return grid.rows.flatMap((positions, row) => positions.flatMap((position, column) => {
316
- if (!position?.isAnchor) return [];
316
+ if (position?.isAnchor !== true) return [];
317
317
  const spans = {
318
318
  blocks: [],
319
319
  colSpan: position.cell.colSpan,
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { PageInit, PdfPage } from "./page.cjs";
3
3
  import { LayoutMetadata } from "document-schema.js";
4
4
  import { LayoutDocument, ReadPdfOptions, WritePdfOptions } from "pdf-codec";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { PageInit, PdfPage } from "./page.js";
3
3
  import { LayoutMetadata } from "document-schema.js";
4
4
  import { LayoutDocument, ReadPdfOptions, WritePdfOptions } from "pdf-codec";
@@ -504,6 +504,10 @@ function wrapItem(container, node, images) {
504
504
  case "path": return new PdfPathItem(container, node);
505
505
  case "link": return new PdfLinkItem(container, node);
506
506
  }
507
+ return assertNeverNodeKind(node);
508
+ }
509
+ function assertNeverNodeKind(value) {
510
+ throw new Error(`documents.js: unhandled node ${JSON.stringify(value)}`);
507
511
  }
508
512
  //#endregion
509
513
  exports.PdfEllipseItem = PdfEllipseItem;
@@ -514,6 +518,7 @@ exports.PdfLinkItem = PdfLinkItem;
514
518
  exports.PdfPathItem = PdfPathItem;
515
519
  exports.PdfRectItem = PdfRectItem;
516
520
  exports.PdfTextItem = PdfTextItem;
521
+ exports.assertNeverNodeKind = assertNeverNodeKind;
517
522
  exports.buildEllipseItem = buildEllipseItem;
518
523
  exports.buildImageItem = buildImageItem;
519
524
  exports.buildLineItem = buildLineItem;
@@ -1,2 +1,2 @@
1
- import { C as buildTextItem, S as buildRectItem, _ as buildEllipseItem, a as PdfInternalLinkItem, b as buildLinkItem, 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, v as buildImageItem, w as wrapItem, x as buildPathItem, y as buildLineItem } from "../../item-SUC4uKDO.cjs";
2
- export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfInternalLinkItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
1
+ import { C as buildRectItem, S as buildPathItem, T as wrapItem, _ as assertNeverNodeKind, a as PdfInternalLinkItem, b as buildLineItem, 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, v as buildEllipseItem, w as buildTextItem, x as buildLinkItem, y as buildImageItem } from "../../item-B5d6CCqq.cjs";
2
+ export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfInternalLinkItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, assertNeverNodeKind, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
@@ -1,2 +1,2 @@
1
- import { C as buildTextItem, S as buildRectItem, _ as buildEllipseItem, a as PdfInternalLinkItem, b as buildLinkItem, 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, v as buildImageItem, w as wrapItem, x as buildPathItem, y as buildLineItem } from "../../item-SUC4uKDO.js";
2
- export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfInternalLinkItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
1
+ import { C as buildRectItem, S as buildPathItem, T as wrapItem, _ as assertNeverNodeKind, a as PdfInternalLinkItem, b as buildLineItem, 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, v as buildEllipseItem, w as buildTextItem, x as buildLinkItem, y as buildImageItem } from "../../item-B5d6CCqq.js";
2
+ export { PdfEllipseInit, PdfEllipseItem, PdfImageInit, PdfImageItem, PdfInternalLinkItem, PdfItem, PdfLineInit, PdfLineItem, PdfLinkInit, PdfLinkItem, PdfPathInit, PdfPathItem, PdfRectInit, PdfRectItem, PdfTextInit, PdfTextItem, assertNeverNodeKind, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
@@ -503,6 +503,10 @@ function wrapItem(container, node, images) {
503
503
  case "path": return new PdfPathItem(container, node);
504
504
  case "link": return new PdfLinkItem(container, node);
505
505
  }
506
+ return assertNeverNodeKind(node);
507
+ }
508
+ function assertNeverNodeKind(value) {
509
+ throw new Error(`documents.js: unhandled node ${JSON.stringify(value)}`);
506
510
  }
507
511
  //#endregion
508
- export { PdfEllipseItem, PdfImageItem, PdfInternalLinkItem, PdfLineItem, PdfLinkItem, PdfPathItem, PdfRectItem, PdfTextItem, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
512
+ export { PdfEllipseItem, PdfImageItem, PdfInternalLinkItem, PdfLineItem, PdfLinkItem, PdfPathItem, PdfRectItem, PdfTextItem, assertNeverNodeKind, buildEllipseItem, buildImageItem, buildLineItem, buildLinkItem, buildPathItem, buildRectItem, buildTextItem, wrapItem };
@@ -1,4 +1,4 @@
1
- import { 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";
1
+ import { 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-B5d6CCqq.cjs";
2
2
  import { LayoutImageAsset, LayoutPage } from "pdf-codec";
3
3
  //#region src/edit/pdf/page.d.ts
4
4
  interface PageInit {
@@ -1,4 +1,4 @@
1
- import { 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";
1
+ import { 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-B5d6CCqq.js";
2
2
  import { LayoutImageAsset, LayoutPage } from "pdf-codec";
3
3
  //#region src/edit/pdf/page.d.ts
4
4
  interface PageInit {
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { MetadataOverrides } from "../../metadata/core-patch.cjs";
3
3
  import { PptSlide } from "./slide.cjs";
4
4
  import { ContentDocument, LayoutMetadata, PageSize } from "document-schema.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { MetadataOverrides } from "../../metadata/core-patch.js";
3
3
  import { PptSlide } from "./slide.js";
4
4
  import { ContentDocument, LayoutMetadata, PageSize } from "document-schema.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { t as OmmlDiagnosticSink } from "../../formula-BH1FBblm.cjs";
3
3
  import { o as PptxWriteDiagnosticSink } from "../../diagnostics-CGWySzd-.cjs";
4
4
  import { ContentDocument } from "document-schema.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { t as OmmlDiagnosticSink } from "../../formula-DF4R1QEJ.js";
3
3
  import { o as PptxWriteDiagnosticSink } from "../../diagnostics-CGWySzd-.js";
4
4
  import { EmbeddedPresentationSerialiser, Package } from "ooxml.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { PptxSlide } from "./slide.cjs";
3
3
  import { LayoutMetadata, PageSize } from "document-schema.js";
4
4
  import { Package } from "ooxml.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.js";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.js";
2
2
  import { PptxSlide } from "./slide.js";
3
3
  import { Package } from "ooxml.js";
4
4
  import { LayoutMetadata, PageSize } from "document-schema.js";
@@ -1,4 +1,4 @@
1
- import { t as ClockPort } from "../../clock-C7SUuYN0.cjs";
1
+ import { t as ClockPort } from "../../clock-Cewekmhw.cjs";
2
2
  import { MetadataOverrides } from "../../metadata/core-patch.cjs";
3
3
  import { XlsSheet } from "./sheet.cjs";
4
4
  import { ContentDocument, LayoutMetadata } from "document-schema.js";