@yudaocode/univer-pdfs 1.6.217 → 1.6.219
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 +8 -8
- package/lib/cjs/facade/index.js +2 -1
- package/lib/cjs/facade/index.js.map +1 -1
- package/lib/cjs/index.js +4071 -857
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/jsx/index.js +1688 -418
- package/lib/cjs/jsx/index.js.map +1 -1
- package/lib/es/{chunk-EMSHTYYU.js → chunk-PQUNQAVL.js} +2072 -289
- package/lib/es/chunk-PQUNQAVL.js.map +1 -0
- package/lib/es/facade/index.js +2 -1
- package/lib/es/facade/index.js.map +1 -1
- package/lib/es/index.js +1588 -114
- package/lib/es/index.js.map +1 -1
- package/lib/es/jsx/index.js +1 -1
- package/lib/types/index.d.ts +303 -4
- package/lib/types/jsx/index.d.ts +2 -2
- package/lib/types/jsx/jsx-dev-runtime.d.ts +1 -1
- package/lib/types/jsx/jsx-runtime.d.ts +1 -1
- package/lib/types/{jsx-dev-runtime-Dm72R_Vm.d.ts → jsx-dev-runtime-B1jMa7VW.d.ts} +87 -4
- package/package.json +1 -1
- package/lib/es/chunk-EMSHTYYU.js.map +0 -1
package/lib/es/facade/index.js
CHANGED
|
@@ -2987,7 +2987,8 @@ var FPdf = class {
|
|
|
2987
2987
|
* Returns the configured PDF `/Outlines` bookmarks tree.
|
|
2988
2988
|
*/
|
|
2989
2989
|
getBookmarks() {
|
|
2990
|
-
|
|
2990
|
+
const snap = this.save();
|
|
2991
|
+
return Tools3.deepClone(snap.bookmarks ?? snap.metadata?.bookmarks ?? []);
|
|
2991
2992
|
}
|
|
2992
2993
|
/**
|
|
2993
2994
|
* Configures or clears legal/archive Bates numbering (`metadata.batesConfig`, Undo/Redo-safe).
|