ooxml-core 1.15.0 → 1.16.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/dist/PptxHandler-3A7VEXVK.cjs +13 -0
- package/dist/PptxHandler-7POULDRL.mjs +4 -0
- package/dist/{PptxHandler-R5BVKEBW.mjs → PptxHandler-M35YFCUC.mjs} +2 -2
- package/dist/PresentationBuilder-C7NPM7OQ.mjs +4 -0
- package/dist/{PresentationBuilder-4AF3PZHG.cjs → PresentationBuilder-XVRTITYR.cjs} +6 -5
- package/dist/{PresentationBuilder-W67DIJBV.mjs → PresentationBuilder-Y6DJK6H2.mjs} +2 -2
- package/dist/automation/index.cjs +935 -535
- package/dist/automation/index.mjs +935 -535
- package/dist/chunk-5W2QL4SB.cjs +244 -0
- package/dist/{chunk-ZWI7MTLF.cjs → chunk-AHRFBMLK.cjs} +2846 -1546
- package/dist/{chunk-NWAQEXBK.mjs → chunk-B37EVUMG.mjs} +1 -1
- package/dist/{chunk-HU36GIYM.mjs → chunk-C2Y6SZDN.mjs} +421 -129
- package/dist/chunk-CA7KCNL3.mjs +236 -0
- package/dist/{chunk-BSUIDT6K.cjs → chunk-DWRJ62KP.cjs} +1 -0
- package/dist/{chunk-OPBZBSJF.mjs → chunk-KOX5Y5E5.mjs} +1 -1
- package/dist/{chunk-JFMIPOPV.mjs → chunk-LM6VBPQJ.mjs} +416 -15
- package/dist/{chunk-PC4MTLG4.cjs → chunk-OA5V3JJC.cjs} +8 -8
- package/dist/{chunk-7ZIZFJXT.mjs → chunk-OKGQ2X7D.mjs} +1848 -548
- package/dist/{chunk-X7MGZQ6C.cjs → chunk-UGWY72WC.cjs} +396 -254
- package/dist/{chunk-EMZIHAOH.mjs → chunk-WBCV52YV.mjs} +1846 -565
- package/dist/{chunk-2EBMHIGJ.mjs → chunk-WEFFRYXN.mjs} +379 -242
- package/dist/{chunk-AXF2FC4D.mjs → chunk-WSRCLCMB.mjs} +1 -0
- package/dist/{chunk-LMMP67YN.mjs → chunk-XCJRUBGJ.mjs} +1 -1
- package/dist/pptx/automation/index.cjs +2662 -884
- package/dist/pptx/automation/index.d.ts +4 -4
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/chunks/{elements-Cadkqht8.d.ts → elements-iUzpAeqR.d.ts} +114 -25
- package/dist/pptx/chunks/elements-iUzpAeqR.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-CJI2EugA.d.ts → index-BWHNCVNC.d.ts} +1671 -1534
- package/dist/pptx/chunks/index-BWHNCVNC.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-CozqpSPL.d.ts → index-CiyTR6mm.d.ts} +99 -10
- package/dist/pptx/chunks/index-CiyTR6mm.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-C3L9xrqx.d.ts → text-operations-CfLVZ7DK.d.ts} +81 -3
- package/dist/pptx/chunks/text-operations-CfLVZ7DK.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +2652 -874
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +45 -1
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/collaboration-live-patch-target.cjs +4 -4
- package/dist/pptx/editor/render/collaboration-live-patch-target.mjs +2 -2
- package/dist/pptx/editor/render/collaboration-reconcile.cjs +7 -7
- package/dist/pptx/editor/render/collaboration-reconcile.mjs +2 -2
- package/dist/pptx/editor/render/collaboration-sync.cjs +14 -14
- package/dist/pptx/editor/render/collaboration-sync.d.ts.map +1 -1
- package/dist/pptx/editor/render/collaboration-sync.mjs +1 -1
- package/dist/pptx/editor/render/find-replace.cjs +15 -14
- package/dist/pptx/editor/render/find-replace.d.ts +2 -2
- package/dist/pptx/editor/render/find-replace.mjs +2 -1
- package/dist/pptx/editor/render/slide-operations.cjs +9 -8
- package/dist/pptx/editor/render/slide-operations.mjs +3 -2
- package/dist/pptx/editor/render/slide-size-rescale.cjs +3 -3
- package/dist/pptx/editor/render/slide-size-rescale.d.ts +1 -1
- package/dist/pptx/editor/render/slide-size-rescale.d.ts.map +1 -1
- package/dist/pptx/editor/render/slide-size-rescale.mjs +3 -3
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
- package/dist/pptx/index.cjs +3208 -1106
- package/dist/pptx/index.d.ts +5 -5
- package/dist/pptx/index.mjs +5 -5
- package/dist/teams/index.cjs +156 -65
- package/dist/teams/index.mjs +156 -65
- package/dist/xlsx/edit/pivots.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +867 -467
- package/dist/xlsx/index.mjs +867 -467
- package/dist/xlsx/load/index.cjs +345 -99
- package/dist/xlsx/load/index.mjs +345 -99
- package/dist/xlsx/model-pivots.d.ts +47 -0
- package/dist/xlsx/model-pivots.d.ts.map +1 -1
- package/dist/xlsx/pivot/captions-locales.d.ts +3 -0
- package/dist/xlsx/pivot/captions-locales.d.ts.map +1 -0
- package/dist/xlsx/pivot/captions-read.d.ts +14 -0
- package/dist/xlsx/pivot/captions-read.d.ts.map +1 -0
- package/dist/xlsx/pivot/captions.d.ts +26 -0
- package/dist/xlsx/pivot/captions.d.ts.map +1 -0
- package/dist/xlsx/pivot/columns.d.ts.map +1 -1
- package/dist/xlsx/pivot/data.d.ts +3 -2
- package/dist/xlsx/pivot/data.d.ts.map +1 -1
- package/dist/xlsx/pivot/item-labels.d.ts +12 -0
- package/dist/xlsx/pivot/item-labels.d.ts.map +1 -0
- package/dist/xlsx/pivot/item-names-read.d.ts +8 -0
- package/dist/xlsx/pivot/item-names-read.d.ts.map +1 -0
- package/dist/xlsx/pivot/measures.d.ts +2 -1
- package/dist/xlsx/pivot/measures.d.ts.map +1 -1
- package/dist/xlsx/pivot/nested.d.ts.map +1 -1
- package/dist/xlsx/pivot/page-filter-admission.d.ts.map +1 -1
- package/dist/xlsx/pivot/page-filter.d.ts +1 -1
- package/dist/xlsx/pivot/page-filter.d.ts.map +1 -1
- package/dist/xlsx/pivot/read.d.ts.map +1 -1
- package/dist/xlsx/pivot/table-xml.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
- package/dist/xlsx/ui/index.cjs +800 -621
- package/dist/xlsx/ui/index.mjs +800 -621
- package/package.json +1 -1
- package/dist/PptxHandler-OGLITB3F.cjs +0 -12
- package/dist/PptxHandler-UKAA5T5U.mjs +0 -3
- package/dist/PresentationBuilder-54QGEZ2F.mjs +0 -3
- package/dist/pptx/chunks/elements-Cadkqht8.d.ts.map +0 -1
- package/dist/pptx/chunks/index-CJI2EugA.d.ts.map +0 -1
- package/dist/pptx/chunks/index-CozqpSPL.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-C3L9xrqx.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDWRJ62KP_cjs = require('./chunk-DWRJ62KP.cjs');
|
|
4
4
|
var chunkRFL5HLP6_cjs = require('./chunk-RFL5HLP6.cjs');
|
|
5
5
|
var chunkD5CSDEDP_cjs = require('./chunk-D5CSDEDP.cjs');
|
|
6
6
|
var chunk3SSJL53G_cjs = require('./chunk-3SSJL53G.cjs');
|
|
@@ -65,8 +65,8 @@ function reconcileElementTextBody(ymap, rec, factories) {
|
|
|
65
65
|
function reconcileElementYMap(ymap, element, factories, assets) {
|
|
66
66
|
const rec = element;
|
|
67
67
|
const ownsText = chunkRFL5HLP6_cjs.hasCollaborationTextLease(ymap, element);
|
|
68
|
-
reconcileScalars(ymap, rec,
|
|
69
|
-
reconcileComplexFields(ymap, rec,
|
|
68
|
+
reconcileScalars(ymap, rec, chunkDWRJ62KP_cjs.SCALAR_ELEMENT_KEYS, ownsText ? "text" : void 0);
|
|
69
|
+
reconcileComplexFields(ymap, rec, chunkDWRJ62KP_cjs.COMPLEX_ELEMENT_FIELDS);
|
|
70
70
|
if (!ownsText) {
|
|
71
71
|
reconcileElementTextBody(ymap, rec, factories);
|
|
72
72
|
}
|
|
@@ -135,8 +135,8 @@ function reconcileYArrayById(arr, items, adapter) {
|
|
|
135
135
|
var isYArrayLike = (value) => typeof value === "object" && value !== null && typeof value.insert === "function" && typeof value.toArray === "function";
|
|
136
136
|
function reconcileSlideYMap(ymap, slide, factories, assets) {
|
|
137
137
|
const rec = slide;
|
|
138
|
-
reconcileScalars(ymap, rec,
|
|
139
|
-
reconcileComplexFields(ymap, rec,
|
|
138
|
+
reconcileScalars(ymap, rec, chunkDWRJ62KP_cjs.SCALAR_SLIDE_KEYS);
|
|
139
|
+
reconcileComplexFields(ymap, rec, chunkDWRJ62KP_cjs.COMPLEX_SLIDE_FIELDS);
|
|
140
140
|
let elements = ymap.get("elements");
|
|
141
141
|
if (!isYArrayLike(elements)) {
|
|
142
142
|
elements = factories.createArray();
|
|
@@ -146,7 +146,7 @@ function reconcileSlideYMap(ymap, slide, factories, assets) {
|
|
|
146
146
|
idOf: (el) => typeof el.id === "string" ? el.id : void 0,
|
|
147
147
|
create: (el) => {
|
|
148
148
|
const map = factories.createMap();
|
|
149
|
-
|
|
149
|
+
chunkDWRJ62KP_cjs.writeElementToYMap(el, map, factories, assets);
|
|
150
150
|
return map;
|
|
151
151
|
},
|
|
152
152
|
update: (map, el) => reconcileElementYMap(map, el, factories, assets)
|
|
@@ -155,12 +155,12 @@ function reconcileSlideYMap(ymap, slide, factories, assets) {
|
|
|
155
155
|
function reconcileSlidesInYDoc(slides, ydoc, factories, origin = LOCAL_SYNC_ORIGIN) {
|
|
156
156
|
const assets = chunkTVJL7QIG_cjs.getAssetsMap(ydoc);
|
|
157
157
|
ydoc.transact(() => {
|
|
158
|
-
const arr = ydoc.getArray(
|
|
158
|
+
const arr = ydoc.getArray(chunkDWRJ62KP_cjs.YDOC_SLIDES_KEY);
|
|
159
159
|
reconcileYArrayById(arr, slides, {
|
|
160
160
|
idOf: (slide) => typeof slide.id === "string" ? slide.id : void 0,
|
|
161
161
|
create: (slide) => {
|
|
162
162
|
const map = factories.createMap();
|
|
163
|
-
|
|
163
|
+
chunkDWRJ62KP_cjs.writeSlideToYMap(slide, map, factories, assets);
|
|
164
164
|
return map;
|
|
165
165
|
},
|
|
166
166
|
update: (map, slide) => reconcileSlideYMap(map, slide, factories, assets)
|