@silurus/ooxml 0.24.3 → 0.25.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 -26
- package/dist/autoResize-C6N7p_Or.cjs +1 -0
- package/dist/{autoResize-U2-IRmNE.js → autoResize-D-Yz7Izt.js} +25 -3
- package/dist/docx-DVe_bky9.cjs +1 -0
- package/dist/docx-x2SoqFCP.js +871 -0
- package/dist/docx.cjs +1 -1
- package/dist/docx.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/pptx-DMP47DvZ.cjs +1 -0
- package/dist/{pptx-nyHInjlO.js → pptx-Dr6cMPL2.js} +227 -244
- package/dist/pptx.cjs +1 -1
- package/dist/pptx.mjs +2 -2
- package/dist/types/docx.d.ts +32 -2
- package/dist/types/index.d.ts +40 -28
- package/dist/types/pptx.d.ts +25 -11
- package/dist/types/xlsx.d.ts +20 -10
- package/dist/{xlsx-BMED2kI6.js → xlsx-C_hFLsOb.js} +487 -504
- package/dist/{xlsx-BCjsF2z0.cjs → xlsx-hfpAt0PA.cjs} +3 -3
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.mjs +2 -2
- package/package.json +1 -1
- package/dist/autoResize-ggn4hzd8.cjs +0 -1
- package/dist/docx-C_zG3e0V.js +0 -853
- package/dist/docx-DKPVLT6O.cjs +0 -1
- package/dist/pptx-Ywwc_EMp.cjs +0 -1
package/dist/xlsx.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./autoResize-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./autoResize-C6N7p_Or.cjs`),t=require(`./xlsx-hfpAt0PA.cjs`);exports.XlsxViewer=t.n,exports.XlsxWorkbook=t.r,exports.autoResize=e.t;
|
package/dist/xlsx.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./autoResize-
|
|
2
|
-
import { n as t, r as n } from "./xlsx-
|
|
1
|
+
import { t as e } from "./autoResize-D-Yz7Izt.js";
|
|
2
|
+
import { n as t, r as n } from "./xlsx-C_hFLsOb.js";
|
|
3
3
|
export { t as XlsxViewer, n as XlsxWorkbook, e as autoResize };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e,t,n={}){let r=n.pauseWhenHidden??!0,i=null,a=0,o=0,s=null,c=!1,l=!1,u=()=>{if(!l&&!(r&&typeof document<`u`&&document.hidden)){if(s){c=!0;return}i===null&&(i=requestAnimationFrame(d))}},d=async()=>{if(i=null,l)return;let t=a,n=o;try{let r=e(t,n);s=r instanceof Promise?r:Promise.resolve(),await s}catch(e){console.error(`[autoResize] render failed:`,e)}finally{s=null,c&&!l&&(c=!1,u())}},f=new ResizeObserver(e=>{for(let t of e){let e=t.contentRect;a=e.width,o=e.height}u()});f.observe(t);let p=()=>{typeof document<`u`&&!document.hidden&&u()};return r&&typeof document<`u`&&document.addEventListener(`visibilitychange`,p),()=>{l=!0,f.disconnect(),i!==null&&(cancelAnimationFrame(i),i=null),r&&typeof document<`u`&&document.removeEventListener(`visibilitychange`,p)}}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|