Lines Matching refs:drive

10063 …DE_GOOGLE&&b.spinner.spin(document.body,mxResources.get("authorizing"))?b.drive.checkToken(mxUtils…
10071 …entMode||10<=document.documentMode)&&window.setTimeout(function(){null==b.drive&&(m.style.padding=…
10080 …tion(){c()})});g.appendChild(f)},b.mode==App.MODE_GOOGLE&&null!=b.drive){var q=b.drive.getUsersLis…
10082drive.setUser(q[c]);b.drive.authorize(f,function(){b.setMode(App.MODE_GOOGLE);b.hideDialog();b.sho…
10163 …s.get("filename"))+":");I=".drawio";b.mode==App.MODE_GOOGLE&&null!=b.drive?I=b.drive.extension:b.m…
10182 …astIndexOf(".")&&0>l){var c=null!=c?c:D.value,m="";c==App.MODE_GOOGLE?m=b.drive.extension:c==App.M…
10220drive&&f(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googlePlus"),function(){b.spinner.sp…
10221 if(null==b.linkPicker){var c=b.drive.createLinkPicker();b.linkPicker=c.setCallback(function(b){Link…
10252 …length-1&&(W=ba)}Y.appendChild(ka);g.appendChild(Y)}else null==v||null==b.drive&&v.constructor==wi…
10291 …,"0");f.setAttribute("align","absmiddle");f.style.marginRight="10px";e==b.drive?(n=mxResources.get…
10343 …gramIsNotPublic"),mxResources.get("share"),mxUtils.bind(this,function(){b.drive.showPermissions(g.…
10392 …,"0");f.setAttribute("align","absmiddle");f.style.marginRight="10px";e==b.drive?(n=mxResources.get…
10790 this.drive&&null!=this.drive.user?" ("+this.drive.user.displayName+", "+this.drive.user.email+")":"…
10792 …Resources.get("addAccount"));f.value=c.length;e.appendChild(f)}var c=this.drive.getUsersList(),f=d…
10793 …f=e.value,d=c.length!=f;d&&this.drive.setUser(c[f]);this.drive.authorize(d,mxUtils.bind(this,funct…
10842 …addListener(k,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(p.…
10846 …mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(m.…
11524 …t(n.replace(/\'/g,"\\'"));C=b?"/drives/"+b+"/root/search(q='"+n+"')":"/me/drive/root/search(q='"+n…
11525 b:"/me/drive")+(c?"/items/"+c:"/root")+"/children"}q||(C+=(0<C.indexOf("?")?"&":"?")+"select=id,nam…
11585drive=new DriveClient(this);this.drive.addListener("userChanged",mxUtils.bind(this,function(){this…
11595 …nstructor==DriveFile&&null!=b.desc&&null!=this.drive&&(e.label+=(null!=this.drive.user?"-user_"+th…
11597 …yCheck()}))}};App.prototype.isDriveDomain=function(){return"0"!=urlParams.drive&&("test.draw.io"==…
11609 App.prototype.checkLicense=function(){var b=this.drive.getUser(),e=null!=b?b.email:null;if(!this.is…
11629drive?JSON.parse(decodeURIComponent(urlParams.state)):null}catch(b){}this.editor.graph.setEnabled(…
11630 "G"+urlParams.fileId,window.location.search=this.getSearch(["fileId"])):null==this.drive?(this.mode…
11646 …:(null==window.location.hash||1>=window.location.hash.length)&&null!=this.drive&&null!=this.stateA…
11662 …s.mode,b==App.MODE_GOOGLE)null!=this.drive&&"undefined"!=typeof google&&"undefined"!=typeof google…
11667 …AB||b==App.MODE_TRELLO||b==App.MODE_NOTION){var e=b==App.MODE_GOOGLE?this.drive:b==App.MODE_ONEDRI…
11672 …pickFolder(c,mxUtils.bind(this,function(d){c==App.MODE_GOOGLE&&null!=this.drive&&this.spinner.spin…
11673 this.drive.insertFile(b,f,d,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);t…
11686 App.prototype.getPeerForMode=function(b){return b==App.MODE_GOOGLE?this.drive:b==App.MODE_GITHUB?th…
11687 …plash():null!=b&&this.handleError(b)});try{c==App.MODE_GOOGLE&&null!=this.drive?(null==n&&null!=th…
11688 this.drive.insertFile(b,e,n,mxUtils.bind(this,function(b){m();this.fileCreated(b,d,k,g,l)}),p)):c==…
11699 …is.drive&&"function"!==typeof window.DriveClient)return!1;this.hideDialog();var b=mxUtils.bind(thi…
11702 …Params["template-filename"]):null)}else if(g=null,"G"==b.charAt(0)?g=this.drive:"D"==b.charAt(0)?g…
11711 …(b)},l)}catch(A){l()}else{var x=null;"G"==m?null!=this.drive&&null!=this.drive.user&&(x=this.drive
11730 …d?d:!0;var k=this.spinner.pause();d&&b==App.MODE_GOOGLE&&null!=this.drive?this.drive.pickFolder(mx…
11732 …r(b)})):g==App.MODE_GOOGLE?null!=this.drive&&this.spinner.spin(document.body,mxResources.get("savi…
11765 App.prototype.updateUserElement=function(){if(null!=this.drive&&null!=this.drive.getUser()||null!=t…
11769 if(null!=this.drive){var e=this.drive.getUsersList();if(0<e.length){var k=mxUtils.bind(this,functio…
11772 …tion(c){k(mxUtils.bind(this,function(){this.stateArg=null;this.drive.setUser(b);this.drive.authori…
11773 …nd(this,function(){k(mxUtils.bind(this,function(){this.stateArg=null;this.drive.logout();this.setM…
11774 …,function(){var b=this.drive.createAuthWin();b.blur();window.focus();k(mxUtils.bind(this,function(…
11785 …emoveChild(this.userPanel)})));var b=null;null!=this.drive&&null!=this.drive.getUser()?b=this.driv…
11788 …type.getCurrentUser=function(){var b=null;null!=this.drive&&null!=this.drive.getUser()?b=this.driv…
11795drive.listFiles(null,g,f?!0:!1,function(c){for(var d=[],f=0;f<c.items.length;f++)d.push(e(c.items[…
11871 …){c.handleError(b,null!=b?mxResources.get("errorLoadingFile"):null)},b==c.drive)},!0)}var k=mxUtil…
11874 …ned"!=typeof google.picker&&(null!=c.drive?b.addItem(mxResources.get("googleDrive")+"...",null,fun…
11894 …"),null,function(){c.resetRecent()},d)}));this.put("openFrom",new Menu(function(b,d){null!=c.drive?
11899 …){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=c.drive?b.addItem(mxResour…
11903 …){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=c.drive?b.addItem(mxResour…
11915 …)-7);c.drive.listFiles(null,g,f?!0:!1,function(c){for(var e=[],f=0;f<c.items.length;f++)e.push(b(c…
11916 e(d)},f)},function(b,d,e){c.drive.getFile(b.id,function(b){d(b.data)},e)},null,function(b){b({Test:…