@buildocsdev/sdk 1.1.58 → 1.1.60

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.
Files changed (37) hide show
  1. package/dist/{buildocslib.esm-3YCKLIZU.js → buildocslib.esm-KHP2KSIY.js} +1 -1
  2. package/dist/chunk-7RKPIXVG.js +1 -1
  3. package/dist/{chunk-NW34CD5C.js → chunk-7V25SP3L.js} +1 -1
  4. package/dist/{chunk-FTJXRFLR.js → chunk-C3S4PZ7O.js} +1 -1
  5. package/dist/chunk-EX7TRSJS.js +1 -0
  6. package/dist/{chunk-RYPE5BKG.js → chunk-HZKUVHLR.js} +1 -1
  7. package/dist/{chunk-ZV6IRE52.js → chunk-KPQZZJ4T.js} +1 -1
  8. package/dist/{chunk-D32ONDPD.js → chunk-NRNOBPKI.js} +3 -3
  9. package/dist/{chunk-WHDLCSVJ.js → chunk-UER7MBQO.js} +1 -1
  10. package/dist/{chunk-WPUZPO7K.js → chunk-UJAKGPC4.js} +1 -1
  11. package/dist/{chunk-C64U36LV.js → chunk-WMVYPZRJ.js} +2 -2
  12. package/dist/{chunk-IZKTNYAE.js → chunk-XX7GDJZT.js} +1 -1
  13. package/dist/{datatable-U7HNLJAU.js → datatable-NT53TD4B.js} +1 -1
  14. package/dist/{fileviewer-73OY3DUG.js → fileviewer-6BPN4EBK.js} +1 -1
  15. package/dist/form.js +1 -1
  16. package/dist/formeditor-YGOP4XQT.js +1 -0
  17. package/dist/formeditor.js +1 -1
  18. package/dist/{imageviewer-JP7IPEYU.js → imageviewer-5O55O6ZD.js} +1 -1
  19. package/dist/{index.esm-RHBDGDEB.js → index.esm-5NIJQKZA.js} +1 -1
  20. package/dist/{index.esm-7IE2PKWI.js → index.esm-SXT7TAYA.js} +1 -1
  21. package/dist/{index.esm-F26DXTQC.js → index.esm-Y2DKWYER.js} +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/loadingcomponent-ADG2FQVJ.js +1 -0
  24. package/dist/{mdaviewer-XZQYBUBO.js → mdaviewer-6SZKQ764.js} +1 -1
  25. package/dist/metafile-esm.json +1 -1
  26. package/dist/{nopreviewer-VOR5ALH5.js → nopreviewer-I57LI6GQ.js} +1 -1
  27. package/dist/{pdfviewer-7AOPMT32.js → pdfviewer-GUIBRUHA.js} +1 -1
  28. package/dist/tabulator-UNVIG7PO.js +20 -0
  29. package/dist/{videopreviewer-VSZT5ZED.js → videopreviewer-6ICW57BN.js} +1 -1
  30. package/dist/{xlsxviewer-UIHZH2TH.js → xlsxviewer-G2ZMHYM3.js} +1 -1
  31. package/package.json +5 -6
  32. package/dist/chunk-5TBO732O.js +0 -1
  33. package/dist/formeditor-G4VYCI67.js +0 -1
  34. package/dist/loadingcomponent-NJVJLQVC.js +0 -1
  35. package/dist/tabulator-QD3OEHKN.js +0 -18
  36. /package/dist/{formeditor-FMZEG56B.css → formeditor-6ZNXETAG.css} +0 -0
  37. /package/dist/{tabulator-TN7JIT3J.css → tabulator-FITWTS6D.css} +0 -0
@@ -1 +1 @@
1
- import {b}from'./chunk-LBMVBVXW.js';import'./chunk-5TBO732O.js';import a from'react';import {jsx,jsxs}from'react/jsx-runtime';var s=a.lazy(()=>new Function('return import("react-player/lazy")')().then(e=>({default:e.default})).catch(()=>({default:(()=>null)}))),l=({preSignedUrl:e,fileExtension:o})=>{let{viewPort:r}=b();return jsx("div",{style:{display:"flex",height:"95vh",minWidth:300},children:jsxs("div",{style:{display:"flex",justifyContent:"center",height:"95vh",flexGrow:1},children:[o==="mp4"&&jsx(a.Suspense,{fallback:null,children:jsx(s,{url:e,controls:true,width:r.isMobileDevice?"100%":"50%",height:"auto",muted:true,playing:true},e)}),o!=="mp4"&&jsxs("video",{controls:true,children:[jsx("source",{src:e,type:"video/mpeg"}),"Your browser does not support the video tag."]})]})})},u=l;export{u as default};
1
+ import {b}from'./chunk-LBMVBVXW.js';import'./chunk-EX7TRSJS.js';import a from'react';import {jsx,jsxs}from'react/jsx-runtime';var s=a.lazy(()=>new Function('return import("react-player/lazy")')().then(e=>({default:e.default})).catch(()=>({default:(()=>null)}))),l=({preSignedUrl:e,fileExtension:o})=>{let{viewPort:r}=b();return jsx("div",{style:{display:"flex",height:"95vh",minWidth:300},children:jsxs("div",{style:{display:"flex",justifyContent:"center",height:"95vh",flexGrow:1},children:[o==="mp4"&&jsx(a.Suspense,{fallback:null,children:jsx(s,{url:e,controls:true,width:r.isMobileDevice?"100%":"50%",height:"auto",muted:true,playing:true},e)}),o!=="mp4"&&jsxs("video",{controls:true,children:[jsx("source",{src:e,type:"video/mpeg"}),"Your browser does not support the video tag."]})]})})},u=l;export{u as default};
@@ -1 +1 @@
1
- import {a}from'./chunk-7RKPIXVG.js';import'./chunk-5TBO732O.js';import {useRef,useState,useEffect}from'react';import {jsx}from'react/jsx-runtime';var u=({fileInbase64:i})=>{let c=useRef(null),{events:w}=a(c),[v,l]=useState("");return useEffect(()=>{i&&(async()=>{let f=await import('xlsx'),o=window.atob(i),d=new Uint8Array(o.length);for(let e=0;e<o.length;e++)d[e]=o.charCodeAt(e);let t=f.read(d,{type:"array"}),n=t.SheetNames[0],a=t.Sheets[n],s=f.utils.sheet_to_html(a).replace(/\s+/g," ").replace(/>\s+</g,"><");l(s);})();},[i]),jsx("div",{ref:c,...w,style:{overflow:"auto",whiteSpace:"normal",display:"flex",width:"100%",height:"100vh",cursor:"grab"},children:jsx("div",{id:"officedoc-previewer",children:jsx("div",{className:"document-container",dangerouslySetInnerHTML:{__html:v}})})})},D=u;export{D as default};
1
+ import {a}from'./chunk-7RKPIXVG.js';import'./chunk-EX7TRSJS.js';import {useRef,useState,useEffect}from'react';import {jsx}from'react/jsx-runtime';var u=({fileInbase64:i})=>{let c=useRef(null),{events:w}=a(c),[v,l]=useState("");return useEffect(()=>{i&&(async()=>{let f=await import('xlsx'),o=window.atob(i),d=new Uint8Array(o.length);for(let e=0;e<o.length;e++)d[e]=o.charCodeAt(e);let t=f.read(d,{type:"array"}),n=t.SheetNames[0],a=t.Sheets[n],s=f.utils.sheet_to_html(a).replace(/\s+/g," ").replace(/>\s+</g,"><");l(s);})();},[i]),jsx("div",{ref:c,...w,style:{overflow:"auto",whiteSpace:"normal",display:"flex",width:"100%",height:"100vh",cursor:"grab"},children:jsx("div",{id:"officedoc-previewer",children:jsx("div",{className:"document-container",dangerouslySetInnerHTML:{__html:v}})})})},D=u;export{D as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildocsdev/sdk",
3
- "version": "1.1.58",
3
+ "version": "1.1.60",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -135,7 +135,7 @@
135
135
  "@reduxjs/toolkit": "^1.8.3 || ^2.0.0",
136
136
  "axios": ">=0.27.2",
137
137
  "bootstrap": "^5.3.8",
138
- "i18next-http-backend": "^2.1.0",
138
+ "i18next-http-backend": "^2.1.0 || ^3.0.0",
139
139
  "react": ">=18 <19",
140
140
  "react-color": "^2.19.3",
141
141
  "react-dnd": "^16.0.1",
@@ -148,7 +148,7 @@
148
148
  "react-pdf": "^10.3.0",
149
149
  "react-toastify": "^9.0.0",
150
150
  "react-player": "^2.16.0",
151
- "react-redux": "^8.0.2",
151
+ "react-redux": "^8.0.2 || ^9.0.0",
152
152
  "react-router-dom": "^6.4.1",
153
153
  "xlsx": "^0.18.5"
154
154
  },
@@ -212,7 +212,7 @@
212
212
  "@types/three": "^0.160.0",
213
213
  "@types/webpack-bundle-analyzer": "^4.7.0",
214
214
  "autoprefixer": "^10.4.21",
215
- "axios": "^0.27.2",
215
+ "axios": "^1.9.0",
216
216
  "babel-plugin-named-exports-order": "^0.0.2",
217
217
  "baseline-browser-mapping": "^1.0.0",
218
218
  "bim-fragment": "^1.2.6",
@@ -226,7 +226,7 @@
226
226
  "dayjs-plugin-utc": "^0.1.2",
227
227
  "esbuild-sass-plugin": "^3.3.1",
228
228
  "i18next": "^25.8.4",
229
- "i18next-http-backend": "^2.1.0",
229
+ "i18next-http-backend": "^3.0.5",
230
230
  "immutability-helper": "^3.1.1",
231
231
  "jest": "^29.7.0",
232
232
  "jest-environment-jsdom": "^29.7.0",
@@ -271,7 +271,6 @@
271
271
  "terser-webpack-plugin": "^5.3.10",
272
272
  "ts-jest": "^29.2.5",
273
273
  "ts-loader": "^9.4.2",
274
- "tsdx": "^0.14.1",
275
274
  "tslib": "^2.4.1",
276
275
  "tsup": "^8.5.0",
277
276
  "typescript": "^6.0.0",
@@ -1 +0,0 @@
1
- var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports),n=(b,a)=>{for(var c in a)e(b,c,{get:a[c],enumerable:true});},l=(b,a,c,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&e(b,d,{get:()=>a[d],enumerable:!(f=h(a,d))||f.enumerable});return b};var o=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?e(c,"default",{value:b,enumerable:true}):c,b));export{m as a,n as b,o as c};
@@ -1 +0,0 @@
1
- export{a as Formeditor,b as widgetInitialStyle}from'./chunk-D32ONDPD.js';import'./chunk-ZV6IRE52.js';import'./chunk-WHDLCSVJ.js';import'./chunk-NW34CD5C.js';import'./chunk-WPUZPO7K.js';import'./chunk-VUS3THHW.js';import'./chunk-RYPE5BKG.js';import'./chunk-AY7MKCIL.js';import'./chunk-FTJXRFLR.js';import'./chunk-U4T4ACDE.js';import'./chunk-LBMVBVXW.js';import'./chunk-C64U36LV.js';import'./chunk-IZKTNYAE.js';import'./chunk-SDIZEEZP.js';import'./chunk-5TBO732O.js';
@@ -1 +0,0 @@
1
- export{a as default}from'./chunk-SDIZEEZP.js';import'./chunk-5TBO732O.js';