wordinweb 0.3.8 → 0.3.9

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.
@@ -937,8 +937,10 @@ interface Revision {
937
937
  id: string;
938
938
  kind: "ins" | "del" | "moveTo" | "moveFrom" | "format";
939
939
  author: string;
940
- /** ISO timestamp from w:date, verbatim. */
940
+ /** w:date, verbatim: Word writes local time there (see word-date.ts). */
941
941
  date?: string;
942
+ /** True UTC time from the w16du:dateUtc attribute, when present. */
943
+ dateUtc?: string;
942
944
  /** The balloon's text: "Inserted", "Deleted", "Moved from", "Moved to",
943
945
  * "Inserted row", "Deleted row", "Formatted: Font: Bold", ... */
944
946
  label: string;
@@ -1212,8 +1214,10 @@ interface DocComment {
1212
1214
  id: string;
1213
1215
  author: string;
1214
1216
  initials?: string;
1215
- /** ISO timestamp from w:date, verbatim. */
1217
+ /** w:date, verbatim: Word writes local time there (see word-date.ts). */
1216
1218
  date?: string;
1219
+ /** True UTC time from commentsExtensible.xml (w16cex:dateUtc), when present. */
1220
+ dateUtc?: string;
1217
1221
  /** Plain text of the comment body (paragraphs joined with newlines). */
1218
1222
  text: string;
1219
1223
  /** w14:paraId of the comment's last body paragraph (threading key). */
@@ -1626,6 +1630,8 @@ declare class DocxDocument$1 {
1626
1630
  /** Retained commentsExtended.xml tree (comment threading), when present. */
1627
1631
  private commentsExtPart;
1628
1632
  private commentsExtRoot;
1633
+ /** True UTC comment times from commentsExtensible.xml, by the comment's last w14:paraId. */
1634
+ private readonly commentDateUtc;
1629
1635
  private commentsExtDirty;
1630
1636
  /** Conditional table formats per table style id, keyed by the Styles object
1631
1637
  * so re-parsing styles.xml (edits) naturally invalidates the cache. */
@@ -1 +1 @@
1
- export { c as DocxDocument, d as layoutDocumentAsync, r as renderToDom } from './docx-only-D3pk2pRD.js';
1
+ export { c as DocxDocument, d as layoutDocumentAsync, r as renderToDom } from './docx-only-jIZisiQh.js';
package/dist/docx-only.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  DocxDocument,
3
3
  layoutDocumentAsync,
4
4
  renderToDom
5
- } from "./chunk-LBXLKYTZ.js";
5
+ } from "./chunk-CXXISL5X.js";
6
6
  import "./chunk-7D4SUZUM.js";
7
7
  export {
8
8
  DocxDocument,
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { R as RunProps, D as DocxDocument, X as XmlElement, a as Run, S as StableIds, C as ChartData, b as SmartArtData, M as MergeRecord, E as EncodedCaret } from './docx-only-D3pk2pRD.js';
2
+ import { R as RunProps, D as DocxDocument, X as XmlElement, a as Run, S as StableIds, C as ChartData, b as SmartArtData, M as MergeRecord, E as EncodedCaret } from './docx-only-jIZisiQh.js';
3
3
 
4
4
  /** The legacy named presets, or any DrawingML ST_ShapeType name the preset
5
5
  * geometry table knows (isValidShapePreset). */
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
- export { D as DocxDocument, E as EncodedCaret, M as MergeRecord, l as layoutDocument, p as printPages, r as renderToDom } from './docx-only-D3pk2pRD.js';
3
- export { A as AgentDocumentViewBinding, h as COLLAB_IMAGE_EXTS, i as CompareResult, j as CompareWithFileOptions, k as CoverPageContent, l as DocxToolbar, n as DocxToolbarProps, o as DocxView, D as DocxViewApi, p as DocxViewProps, q as DrawingTool, H as HostShortcutSection, r as INSERT_COMMANDS, t as ImageInsertResult, u as InsertCommandSpec, v as LineNumberingPatch, N as NUMBERING_PRESETS, w as NumberingPresetId, x as PageLayoutPatch, y as ParagraphAlignment, z as RASTER_IMAGE_ACCEPT, B as RunFormatPatch, E as ScreenshotInsertResult, F as SelectionFormat, G as ShapePreset, T as ToolbarFeature, J as ToolbarMenuSelect, K as ToolbarMenuSelectOption, O as ToolbarMenuSelectProps, c as ToolbarMode, Q as WireRange, V as compareWithFile, X as comparedName, Y as downloadDocx, Z as pickAndCompare, _ as pickDocx, $ as renderForPrint, a0 as useAgentDocumentSession } from './index-CEqxQ0p-.js';
2
+ export { D as DocxDocument, E as EncodedCaret, M as MergeRecord, l as layoutDocument, p as printPages, r as renderToDom } from './docx-only-jIZisiQh.js';
3
+ export { A as AgentDocumentViewBinding, h as COLLAB_IMAGE_EXTS, i as CompareResult, j as CompareWithFileOptions, k as CoverPageContent, l as DocxToolbar, n as DocxToolbarProps, o as DocxView, D as DocxViewApi, p as DocxViewProps, q as DrawingTool, H as HostShortcutSection, r as INSERT_COMMANDS, t as ImageInsertResult, u as InsertCommandSpec, v as LineNumberingPatch, N as NUMBERING_PRESETS, w as NumberingPresetId, x as PageLayoutPatch, y as ParagraphAlignment, z as RASTER_IMAGE_ACCEPT, B as RunFormatPatch, E as ScreenshotInsertResult, F as SelectionFormat, G as ShapePreset, T as ToolbarFeature, J as ToolbarMenuSelect, K as ToolbarMenuSelectOption, O as ToolbarMenuSelectProps, c as ToolbarMode, Q as WireRange, V as compareWithFile, X as comparedName, Y as downloadDocx, Z as pickAndCompare, _ as pickDocx, $ as renderForPrint, a0 as useAgentDocumentSession } from './index-Dh3XJOZr.js';
package/dist/index.js CHANGED
@@ -14,12 +14,12 @@ import {
14
14
  pickDocx,
15
15
  renderForPrint,
16
16
  useAgentDocumentSession
17
- } from "./chunk-H54TYQLD.js";
17
+ } from "./chunk-HHIEEVBV.js";
18
18
  import {
19
19
  layoutDocument,
20
20
  printPages,
21
21
  renderToDom
22
- } from "./chunk-LBXLKYTZ.js";
22
+ } from "./chunk-CXXISL5X.js";
23
23
  import "./chunk-7D4SUZUM.js";
24
24
  export {
25
25
  COLLAB_IMAGE_EXTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wordinweb",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "React component for high-fidelity DOCX viewing and editing",
5
5
  "license": "MIT",
6
6
  "repository": {