@jspreadsheet/cloudify
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -1,4 +0,1 @@ | ||
(function(e,c){"object"===typeof exports&&"undefined"!==typeof module?module.exports=c():"function"===typeof define&&define.amd?define(c):e.cloudify=c()})(this,function(){return function(e,c){if(c&&c.guid){var l=function(){var d=document.createElement("div");f.appendChild(d);c&&(cloud(c),c.license&&jspreadsheet.setLicense(c.license),jspreadsheet.setExtensions({formula,bar}));cloud({onbeforecreate:function(a){a.tabs=!0;a.toolbar=!0;for(let b=0;b<a.worksheets.length;b++)a.worksheets[b].tableOverflow= | ||
!0,a.worksheets[b].textOverflow=!0,a.worksheets[b].freezeRowControl=!0,a.worksheets[b].freezeColumnControl=!0,a.worksheets[b].resize="both",a.worksheets[b].columns||(a.worksheets[b].columns=[]);return a}});jspreadsheet.setExtensions({cloud});jspreadsheet(d,{root:f,cloud:c.guid})},g=[],f=e.attachShadow({mode:"open"}),h=function(d){let a=g.shift();if(a){let b=document.createElement("link");b.rel="stylesheet";b.type="text/css";b.href=a;d.appendChild(b);h(f)}},k=function(){let d=g.shift();if(d){let a= | ||
document.createElement("script");a.src=d;a.onload=function(){k()};f.appendChild(a)}else l()};g=["https://fonts.googleapis.com/css?family=Material+Icons","https://fonts.googleapis.com/css?family=Material+Icons","https://cdn.jsdelivr.net/npm/jsuites/dist/jsuites.min.css","https://cdn.jsdelivr.net/npm/@jspreadsheet/bar/dist/style.min.css","https://cdn.jsdelivr.net/npm/jspreadsheet/dist/jspreadsheet.min.css"];h(e);g=["https://cdn.jsdelivr.net/npm/jsuites/dist/jsuites.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/bar/dist/index.min.js", | ||
"https://cdn.jsdelivr.net/npm/@jspreadsheet/formula-pro/dist/index.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/cloud/dist/index.min.js","https://cdn.jsdelivr.net/npm/jspreadsheet/dist/index.min.js"];k()}else console.error("GUID is mandatory")}}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.cloudify=t()}(this,function(){let e=function(e){e.tabs=!0,e.toolbar=!0;for(let t=0;t<e.worksheets.length;t++)e.worksheets[t].tableOverflow=!0,e.worksheets[t].textOverflow=!0,e.worksheets[t].freezeRowControl=!0,e.worksheets[t].freezeColumnControl=!0,e.worksheets[t].resize="both",e.worksheets[t].columns||(e.worksheets[t].columns=[]);return e};return function(t,s){if(!(s&&s.guid)){console.error("GUID is mandatory");return}let n=function(){let t=document.createElement("div");r.appendChild(t),s&&(client({...s,path:"",onbeforecreate:e}),s.license&&jspreadsheet.setLicense(s.license),jspreadsheet.setExtensions({client,formula,bar,charts}),jspreadsheet(t,{root:r,guid:s.guid}))},i=function(e){return new Promise((t,s)=>{if(-1!==e.indexOf(".css")||-1!==e.indexOf("/css")){let n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,n.onload=t,n.onerror=s,r.appendChild(n)}else{let i=document.createElement("script");i.src=e,i.onload=t,i.onerror=s,r.appendChild(i)}})},r=t.attachShadow({mode:"open"}),d=["https://cdn.jsdelivr.net/npm/jsuites/dist/jsuites.min.css","https://cdn.jsdelivr.net/npm/jspreadsheet/dist/jspreadsheet.min.css","https://cdn.jsdelivr.net/npm/@jspreadsheet/bar/dist/style.min.css","https://cdn.jsdelivr.net/npm/@jspreadsheet/charts/dist/style.min.css","https://cdn.jsdelivr.net/npm/@lemonadejs/studio/dist/style.min.css","https://cdn.jsdelivr.net/npm/lemonadejs/dist/lemonade.min.js","https://cdn.jsdelivr.net/npm/@lemonadejs/studio/dist/index.min.js","https://cdn.jsdelivr.net/npm/jsuites/dist/jsuites.min.js","https://cdn.jsdelivr.net/npm/jspreadsheet/dist/index.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/client/dist/index.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/bar/dist/index.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/charts/dist/index.min.js","https://cdn.jsdelivr.net/npm/@jspreadsheet/formula-pro/dist/index.min.js","https://cdn.jsdelivr.net/npm/jszip@3.6.0/dist/jszip.min.js","https://cdn.jsdelivr.net/npm/socket.io-client@4.7.5/dist/socket.io.min.js",],o=async()=>{try{for(let e=0;e<d.length;e++)await i(d[e]);n()}catch(t){throw console.error("Error loading resources:",t),t}},l,p;l="https://fonts.googleapis.com/css?family=Material+Icons",(p=document.createElement("link")).rel="stylesheet",p.href=l,document.head.appendChild(p),(p=document.createElement("link")).rel="stylesheet",p.href=l,r.appendChild(p),o()}}); |
@@ -31,3 +31,3 @@ { | ||
"main": "dist/index.js", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"bugs": "https://github.com/jspreadsheet/pro/issues", | ||
@@ -34,0 +34,0 @@ "homepage": "https://github.com/jspreadsheet/pro", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3791
0