@a3s-lab/office 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/dist/{0~2133.js → 0~3320.js} +1252 -830
- package/dist/{0~4042.js → 0~3534.js} +510 -4
- package/dist/0~document-editor.js +4065 -3775
- package/dist/0~work-docx-export.js +417 -669
- package/dist/0~work-docx-import.js +56 -9
- package/dist/0~work-office-diagnostics.js +26 -8
- package/dist/4174.js +18815 -18200
- package/dist/internal/features/work/editors/document-command-catalog.d.ts +9 -0
- package/dist/internal/features/work/editors/document-content-control-dialog.d.ts +10 -0
- package/dist/internal/features/work/editors/document-toolbar.d.ts +2 -1
- package/dist/internal/features/work/editors/use-document-insert-commands.d.ts +1 -0
- package/dist/internal/features/work/work-document-content-control.d.ts +59 -0
- package/dist/internal/features/work/work-document-field-node.d.ts +2 -2
- package/dist/internal/features/work/work-document-fields.d.ts +36 -2
- package/dist/internal/features/work/work-docx-bookmark-import.d.ts +1 -1
- package/dist/internal/features/work/work-docx-content-control-export.d.ts +24 -0
- package/dist/internal/features/work/work-docx-content-control-import.d.ts +28 -0
- package/dist/internal/features/work/work-docx-field-import.d.ts +5 -1
- package/dist/internal/features/work/work-docx-import.d.ts +4 -2
- package/dist/styles.css +125 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -309,6 +309,34 @@ and [CLI reference](./docs/latest/en/cli-reference.md).
|
|
|
309
309
|
|
|
310
310
|
## Current release
|
|
311
311
|
|
|
312
|
+
Version `0.48.0` adds bounded native Writer content controls without
|
|
313
|
+
introducing a second document model or a remote service:
|
|
314
|
+
|
|
315
|
+
- The Insert ribbon and responsive dialog author inline plain-text or rich-text
|
|
316
|
+
controls with aliases, program tags, multiline text, border/tag/hidden
|
|
317
|
+
appearance, and an optional theme color. Each accepted change is one typed
|
|
318
|
+
update and one Undo step, and the control exposes an accessible textbox name.
|
|
319
|
+
- Content and shell locks are enforced at the transaction boundary, including
|
|
320
|
+
direct editor transactions. Locked content cannot be changed accidentally;
|
|
321
|
+
typed unlock/delete commands remain explicit and auditable.
|
|
322
|
+
- Direct paragraph DOCX `w:sdt` controls round-trip through strict and
|
|
323
|
+
transitional WordprocessingML with collision-free native IDs, rich run
|
|
324
|
+
formatting, lock/multiline metadata, and Word 2012 appearance/color. Active
|
|
325
|
+
bindings, placeholders, repeating regions, form controls, nested or
|
|
326
|
+
relationship-bound structures remain safe editable text with compatibility
|
|
327
|
+
diagnostics instead of an inexact editable promise.
|
|
328
|
+
|
|
329
|
+
Version `0.47.0` adds a bounded common-field workflow for Writer without
|
|
330
|
+
introducing a second document model or a remote service:
|
|
331
|
+
|
|
332
|
+
- The Insert ribbon exposes live word and character counts. PAGE, NUMPAGES,
|
|
333
|
+
SECTION, SECTIONPAGES, DATE, and TIME continue to refresh from the measured
|
|
334
|
+
page model, while generated field results stay out of document statistics.
|
|
335
|
+
- The Cross-reference dialog can insert a bookmark-backed `PAGEREF` with a
|
|
336
|
+
stable target identity. Supported native DOCX switches round-trip as fields;
|
|
337
|
+
unsupported, malformed, nested, or missing-target instructions remain cached
|
|
338
|
+
text with explicit compatibility diagnostics.
|
|
339
|
+
|
|
312
340
|
Version `0.46.0` adds native, bounded Writer text boxes without introducing a
|
|
313
341
|
second document model or a remote service:
|
|
314
342
|
|