Home
last modified time | relevance | path

Searched refs:EditorUi (Results 1 – 25 of 29) sorted by relevance

12

/plugin/diagramsnet/lib/js/diagramly/
DDiffSync.js8 EditorUi.DIFF_INSERT = 'i';
13 EditorUi.DIFF_REMOVE = 'r';
18 EditorUi.DIFF_UPDATE = 'u';
23 EditorUi.prototype.codec = new mxCodec(); class
28 EditorUi.prototype.viewStateProperties = {background: true, backgroundImage: true, shadowVisible: t…
34 EditorUi.prototype.cellProperties = {id: true, value: true, xmlValue: true, vertex: true, edge: tru…
42 EditorUi.prototype.patchPages = function(pages, diff, markPages, resolver, updateEdgeParents)
51 if (resolver != null && resolver[EditorUi.DIFF_UPDATE] != null)
53 for (var id in resolver[EditorUi.DIFF_UPDATE])
55 resolverLookup[id] = resolver[EditorUi.DIFF_UPDATE][id];
[all …]
DEditorUi.js10 EditorUi.VERSION = '@DRAWIO-VERSION@';
15 EditorUi.compactUi = uiTheme != 'atlas';
28 EditorUi.enableLogging = urlParams['stealth'] != '1' && urlParams['lockdown'] != '1' &&
36 EditorUi.drawHost = window.DRAWIO_BASE_URL;
41 EditorUi.lightboxHost = window.DRAWIO_LIGHTBOX_URL;
46 EditorUi.lastErrorMessage = null;
51 EditorUi.ignoredAnonymizedChars = '\n\t`~!@#$%^&*()_+{}|:"<>?-=[]\;\'.\/,\n\t';
56 EditorUi.templateFile = TEMPLATE_PATH + '/index.xml';
61 EditorUi.cacheUrl = (urlParams['dev'] == '1') ? '/cache' : window.REALTIME_URL;
63 if (EditorUi.cacheUrl == null && typeof DrawioFile !== 'undefined')
[all …]
DPages.js273 EditorUi.prototype.tabContainerHeight = 38; class
278 EditorUi.prototype.getSelectedPageIndex = function()
286 EditorUi.prototype.getPageIndex = function(page)
309 EditorUi.prototype.getPageById = function(id)
328 EditorUi.prototype.createImageForPageLink = function(src, sourcePage, sourceGraph)
355 EditorUi.prototype.getImageForPage = function(page, sourcePage, sourceGraph)
398 EditorUi.prototype.initPages = function()
543 EditorUi.prototype.restoreViewState = function(page, viewState, selection)
898 EditorUi.prototype.updatePageRoot = function(page, checked)
954 EditorUi.prototype.selectPage = function(page, quiet, viewState)
[all …]
DDrawioFileSync.js70 EditorUi.logError('Error: Pusher Limit', null, this.file.getId());
93 mxUtils.post(EditorUi.cacheUrl, this.getIdParameters() +
122 EditorUi.debug('Sync.message', [this], msg, data.length, 'bytes');
272EditorUi.debug('Sync.start', [this, 'v' + DrawioFileSync.PROTOCOL], 'rev', this.file.getCurrentRev…
645 EditorUi.debug('Sync.optimisticSync', [this], 'retryCount', retryCount);
927 mxUtils.get(EditorUi.cacheUrl + '?id=' + encodeURIComponent(this.channelId) +
1100 EditorUi.debug('Sync.merge', [this],
1190 EditorUi.logError('Error in merge', null,
1216 mxUtils.post(EditorUi.cacheUrl, this.getIdParameters() +
1267 mxUtils.get(EditorUi.cacheUrl + '?id=' + encodeURIComponent(this.channelId) +
[all …]
DMinimal.js4 EditorUi.initMinimalTheme = function()
283 EditorUi.prototype.closableScratchpad = false; class
284 EditorUi.prototype.toolbarHeight = (urlParams['sketch'] == '1') ? 1 : 46;
285 EditorUi.prototype.footerHeight = 0;
292 EditorUi.prototype.setDarkMode = function(value)
325 EditorUi.prototype.doSetDarkMode = function(value)
524 var editorUiUpdateTabContainer = EditorUi.prototype.updateTabContainer;
526 EditorUi.prototype.updateTabContainer = function()
543 var editorUiUpdateActionStates = EditorUi.prototype.updateActionStates;
545 EditorUi.prototype.updateActionStates = function()
[all …]
DElectronApp.js294 var editorUiInit = EditorUi.prototype.init;
295 EditorUi.prototype.init = function() class
842 var origFileLoaded = EditorUi.prototype.fileLoaded;
844 EditorUi.prototype.fileLoaded = function(file)
1010 var origOpenFiles = EditorUi.prototype.openFiles;
1013 EditorUi.prototype.openFiles = function(files, temp)
1569 if (EditorUi.enableDrafts)
1584 if (EditorUi.enableDrafts)
1818 EditorUi.prototype.writeImageToClipboard = function(dataUrl, w, h, error)
1837 var editorUiUpdateActionStates = EditorUi.prototype.updateActionStates;
[all …]
DDrawioFile.js320 EditorUi.debug('File.mergeFile', [this],
396 EditorUi.logError('Error in mergeFile', null,
531 EditorUi.logError('Checksum Error in ' + functionName + ' ' + this.getId(),
539 EditorUi.logEvent({category: 'CHECKSUM-ERROR-SYNC-FILE-' + this.getHash(),
582 EditorUi.sendReport(title + ' ' + new Date().toISOString() + ':' +
1451 EditorUi.debug('draft saved', this.draftId, draft);
1470 EditorUi.debug('draft deleted', '.draft_' + this.draftId);
1539 if (EditorUi.enableDrafts && (this.getMode() == null || EditorUi.isElectronApp))
2029 EditorUi.debug('DrawioFile.fileSaving', [this]);
2047 EditorUi.debug('DrawioFile.sendFileChanges', [this]);
[all …]
DApp.js16 EditorUi.call(this, editor, container, (lightbox != null) ? lightbox :
21 if (!mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp)
50 EditorUi.logEvent(evt);
62 EditorUi.logEvent({category: ((this.editor.autosave) ? 'ON' : 'OFF') +
602 EditorUi.logError('Global: ' + ((message != null) ? message : ''),
697 if (('ArrayBuffer' in window) && !mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp &&
860 EditorUi.debug('Setting configuration', JSON.stringify(value));
998 EditorUi.debug('App.start', [ui, (new Date().getTime() - t0.getTime()) + 'ms']);
1002 EditorUi.debug('Export:', EXPORT_URL);
1007 …if (urlParams['dev'] == '1' || EditorUi.isElectronApp) //TODO check if we can remove these scripts…
[all …]
DMenus.js407 if (!EditorUi.isElectronApp && (editorUi.isOffline() || editorUi.printPdfExport))
531 var isDrawioWeb = !mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp &&
536 if (EditorUi.isElectronApp || isDrawioWeb)
861 …editorUi.actions.put('about', new Action(mxResources.get('about') + ' ' + EditorUi.VERSION + '...'…
863 if (editorUi.isOffline() || mxClient.IS_CHROMEAPP || EditorUi.isElectronApp)
865 editorUi.alert(editorUi.editor.appName + ' ' + EditorUi.VERSION);
875 if (EditorUi.isElectronApp)
893 if (mxClient.IS_SVG && !mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp)
917 if (EditorUi.isElectronApp)
1054 if (!EditorUi.isElectronApp)
[all …]
DDriveClient.js1304 EditorUi.logEvent({category: 'ERROR-SAVE-FILE-' + file.getHash() + '-rev_' +
1328 EditorUi.logError(e.message, null, null, e);
1495 EditorUi.logError('Critical: Error saving to Google Drive ' + file.desc.id,
1531 EditorUi.logEvent({category: file.convertedFrom + '-CONVERT-FILE-' + file.getHash(),
1661 EditorUi.debug('DriveClient: Stale Etag Detected',
1672 EditorUi.logEvent({category: 'STALE-ETAG-SAVE-FILE-' + file.getHash(),
1694 EditorUi.debug('DriveClient: Remote Etag Changed',
1773 EditorUi.debug('DriveClient: Preflight Etag Update',
DTrees.js10 EditorUi.prototype.altShiftActions[68] = 'selectDescendants'; // Alt+Shift+D class
134 var editorUiInit = EditorUi.prototype.init;
136 EditorUi.prototype.init = function()
146 EditorUi.prototype.addTrees = function()
DGraphViewer.js1850 EditorUi.lightboxHost : 'https://test.draw.io') +
1907 EditorUi.prototype.updateActionStates = function() {}; class
1908 EditorUi.prototype.addBeforeUnloadListener = function() {};
1909 EditorUi.prototype.addChromelessClickHandler = function() {};
1916 var ui = new EditorUi(new Editor(true), document.createElement('div'), true);
DEditor.js1708 EditorUi.parsePng(binary, mxUtils.bind(this, function(pos, type, length)
1828 EditorUi.templateFile = config.templateFile;
1978 EditorUi.debug('Invalid zoomFactor: value must be float > 1');
1993 EditorUi.debug('Invalid gridSteps: value must be int > 0');
2009 EditorUi.debug('Invalid pageFormat: value must be {width: int, height: int}');
2025 EditorUi.prototype.emptyLibraryXml = config.emptyLibraryXml; class
2030 EditorUi.prototype.emptyDiagramXml = config.emptyDiagramXml;
2035 EditorUi.prototype.hsplitPosition = config.sidebarWidth;
2053 EditorUi.debug('Invalid sidebarTitleSize: value must be int > 0');
2065 EditorUi.debug('Invalid fontCss: value must be string');
[all …]
DDialogs.js300 if (mxClient.IS_CHROMEAPP || EditorUi.isElectronApp)
380 if (!mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp)
495 if (!mxClient.IS_CHROMEAPP && !EditorUi.isElectronApp)
1985 EditorUi.defaultMermaidConfig}, null, 2));
2378 if (EditorUi.enablePlantUml && Graph.fileSupport &&
2536 templateFile = (templateFile != null) ? templateFile : EditorUi.templateFile;
5450 '&version=' + encodeURIComponent(EditorUi.VERSION) +
11569 if (!mxClient.IS_CHROMEAPP && (!editorUi.isOffline() || EditorUi.isElectronApp))
/plugin/diagramsnet/lib/js/grapheditor/
DEditorUi.js7 EditorUi = function(editor, container, lightbox) class
1040 mxUtils.extend(EditorUi, mxEventSource);
1045 EditorUi.compactUi = true;
1050 EditorUi.prototype.splitSize = (mxClient.IS_TOUCH || mxClient.IS_POINTER) ? 12 : 8;
1055 EditorUi.prototype.menubarHeight = 30;
1060 EditorUi.prototype.formatEnabled = true;
1065 EditorUi.prototype.formatWidth = 240;
1070 EditorUi.prototype.toolbarHeight = 38;
1075 EditorUi.prototype.footerHeight = 28;
1080 EditorUi.prototype.sidebarFooterHeight = 34;
[all …]
DToolbar.js69 if (EditorUi.compactUi)
92 if (EditorUi.compactUi)
184 img.style.top = (!EditorUi.compactUi ? 8 : 6) + 'px';
212 if (EditorUi.compactUi)
240 left = (EditorUi.compactUi) ? left : atlasLeft;
255 if (EditorUi.compactUi)
318 if (EditorUi.compactUi)
335 if (EditorUi.compactUi)
352 if (EditorUi.compactUi)
444 if (EditorUi.compactUi)
[all …]
DDialogs.js2026 var tbarHeight = (!EditorUi.compactUi) ? '30px' : '26px';
2067 ldiv.style.padding = (!EditorUi.compactUi) ? '1px' : '4px 0px 3px 0px';
DMenus.js1838 EditorUi.prototype.createMenus = function() class
/plugin/diagramsnet/lib/js/
Dopen.js117 var str = window.parent.EditorUi.prototype.timeSince(new Date(fileInfo.lastModified));
128 …window.parent.mxUtils.write(sizeTd, window.parent.EditorUi.prototype.formatFileSize(fileInfo.size)…
Dexport.js109 EditorUi.prototype.createUi = function(){}; class
110 EditorUi.prototype.addTrees = function(){};
111 EditorUi.prototype.updateActionStates = function(){};
112 var editorUi = new EditorUi();
Dviewer.min.js2134 …leCell(b)||this.graph.isTableRow(b)))b=f;f=d.getParent(f)}return b}})();EditorUi=function(b,c,e){m… class
2161 …init();k.standalone||this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;Edi…
2162 EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWi…
2163 EditorUi.prototype.init=function(){var b=this.editor.graph;if(!b.standalone){"0"!=urlParams["shape-…
2166 EditorUi.prototype.installShapePicker=function(){var b=this.editor.graph,c=this;b.addListener(mxEve…
2172 EditorUi.prototype.centerShapePicker=function(b,c,e,k,g){if(g==mxConstants.DIRECTION_EAST||g==mxCon…
2173 EditorUi.prototype.showShapePicker=function(b,c,e,k,g,p){b=this.createShapePicker(b,c,e,k,g,mxUtils…
2174 EditorUi.prototype.createShapePicker=function(b,c,e,k,g,p,t,d){var f=null;if(null!=t&&0<t.length){v…
2178 EditorUi.prototype.getCellsForShapePicker=function(b,c){var e=mxUtils.bind(this,function(b,c,e,t){r…
2181 EditorUi.prototype.hideShapePicker=function(b){null!=this.shapePicker&&(this.shapePicker.parentNode…
[all …]
Dapp.min.js2168 …leCell(a)||this.graph.isTableRow(a)))a=c;c=b.getParent(c)}return a}})();EditorUi=function(a,b,d){m… class
2195 …init();e.standalone||this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;Edi…
2196 EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWi…
2197 EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-…
2200 EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEve…
2206 EditorUi.prototype.centerShapePicker=function(a,b,d,e,c){if(c==mxConstants.DIRECTION_EAST||c==mxCon…
2207 EditorUi.prototype.showShapePicker=function(a,b,d,e,c,f){a=this.createShapePicker(a,b,d,e,c,mxUtils…
2208 EditorUi.prototype.createShapePicker=function(a,b,d,e,c,f,k,h){var g=null;if(null!=k&&0<k.length){v…
2212 EditorUi.prototype.getCellsForShapePicker=function(a,b){var d=mxUtils.bind(this,function(a,b,d,k){r…
2215 EditorUi.prototype.hideShapePicker=function(a){null!=this.shapePicker&&(this.shapePicker.parentNode…
[all …]
Dviewer-static.min.js2134 …leCell(b)||this.graph.isTableRow(b)))b=f;f=d.getParent(f)}return b}})();EditorUi=function(b,c,e){m… class
2161 …init();k.standalone||this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;Edi…
2162 EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWi…
2163 EditorUi.prototype.init=function(){var b=this.editor.graph;if(!b.standalone){"0"!=urlParams["shape-…
2166 EditorUi.prototype.installShapePicker=function(){var b=this.editor.graph,c=this;b.addListener(mxEve…
2172 EditorUi.prototype.centerShapePicker=function(b,c,e,k,g){if(g==mxConstants.DIRECTION_EAST||g==mxCon…
2173 EditorUi.prototype.showShapePicker=function(b,c,e,k,g,p){b=this.createShapePicker(b,c,e,k,g,mxUtils…
2174 EditorUi.prototype.createShapePicker=function(b,c,e,k,g,p,t,d){var f=null;if(null!=t&&0<t.length){v…
2178 EditorUi.prototype.getCellsForShapePicker=function(b,c){var e=mxUtils.bind(this,function(b,c,e,t){r…
2181 EditorUi.prototype.hideShapePicker=function(b){null!=this.shapePicker&&(this.shapePicker.parentNode…
[all …]
/plugin/diagramsnet/lib/js/onedrive/
DmxODPicker.js349 submit(EditorUi.prototype.createImageDataUri(canvas, null, 'png'));
/plugin/diagramsnet/lib/plugins/
DcConf-1-4-8.js148 EditorUi.prototype.insertPage = function(page, index) class

12