- Build: Update

master
Brett Zamir 2019-12-25 16:04:07 +08:00
parent f03cdc98a4
commit 8bd9466827
69 changed files with 271 additions and 89 deletions

54
dist/index-es.js vendored
View File

@ -28395,6 +28395,8 @@ function () {
tool_import: tools.import_doc, tool_import: tools.import_doc,
tool_open: tools.open_doc, tool_open: tools.open_doc,
tool_save: tools.save_doc, tool_save: tools.save_doc,
tool_editor_prefs: config.editor_prefs,
tool_editor_homepage: tools.editor_homepage,
svginfo_units_rulers: config.units_and_rulers, svginfo_units_rulers: config.units_and_rulers,
svginfo_rulers_onoff: config.show_rulers, svginfo_rulers_onoff: config.show_rulers,
svginfo_unit: config.base_unit, svginfo_unit: config.base_unit,
@ -28817,6 +28819,7 @@ if (!$.loadingStylesheets) {
} }
*/ */
var homePage = 'https://github.com/SVG-Edit/svgedit';
var stylesheet = 'svg-editor.css'; var stylesheet = 'svg-editor.css';
if (!$$b.loadingStylesheets.includes(stylesheet)) { if (!$$b.loadingStylesheets.includes(stylesheet)) {
@ -30247,17 +30250,20 @@ editor.init = function () {
warning: 'warning.png', warning: 'warning.png',
node_delete: 'node_delete.png', node_delete: 'node_delete.png',
node_clone: 'node_clone.png', node_clone: 'node_clone.png',
globe_link: 'globe_link.png' globe_link: 'globe_link.png',
config: 'config.png'
}, },
placement: { placement: {
'#logo': 'logo', '#logo': 'logo',
'#tool_clear div,#layer_new': 'new_image', '#tool_clear div,#layer_new': 'new_image',
'#tool_save div': 'save', '#tool_save div': 'save',
'#tool_export div': 'export', '#tool_export div': 'export',
'#tool_open div div': 'open', '#tool_open div': 'open',
'#tool_import div div': 'import', '#tool_import div': 'import',
'#tool_source': 'source', '#tool_source': 'source',
'#tool_docprops > div': 'docprops', '#tool_docprops > div': 'docprops',
'#tool_editor_prefs > div': 'config',
'#tool_editor_homepage > div': 'globe_link',
'#tool_wireframe': 'wireframe', '#tool_wireframe': 'wireframe',
'#tool_undo': 'undo', '#tool_undo': 'undo',
'#tool_redo': 'redo', '#tool_redo': 'redo',
@ -34156,6 +34162,15 @@ editor.init = function () {
*/ */
var openHomePage = function openHomePage() {
window.open(homePage, '_blank');
};
/**
*
* @returns {void}
*/
var hideSourceEditor = function hideSourceEditor() { var hideSourceEditor = function hideSourceEditor() {
$$b('#svg_source_editor').hide(); $$b('#svg_source_editor').hide();
editingsource = false; editingsource = false;
@ -35386,18 +35401,31 @@ editor.init = function () {
}, { }, {
sel: '#tool_docprops', sel: '#tool_docprops',
fn: showDocProperties, fn: showDocProperties,
evt: 'mouseup' evt: 'click'
}, { }, {
sel: '#tool_prefs_save', sel: '#tool_prefs_save',
fn: savePreferences, fn: savePreferences,
evt: 'click' evt: 'click'
}, { }, {
sel: '#tool_prefs_option', sel: '#tool_editor_prefs',
fn: showPreferences,
evt: 'click'
}, {
sel: '#tool_editor_homepage',
fn: openHomePage,
evt: 'click'
}, {
sel: '#tool_open',
fn: function fn() { fn: function fn() {
showPreferences(); window.dispatchEvent(new CustomEvent('openImage'));
return false;
}, },
evt: 'mouseup' evt: 'click'
}, {
sel: '#tool_import',
fn: function fn() {
window.dispatchEvent(new CustomEvent('importImage'));
},
evt: 'click'
}, { }, {
sel: '#tool_delete,#tool_delete_multi', sel: '#tool_delete,#tool_delete_multi',
fn: deleteSelected, fn: deleteSelected,
@ -36303,9 +36331,15 @@ editor.init = function () {
return _ref28.apply(this, arguments); return _ref28.apply(this, arguments);
}; };
}()); }());
$$b('#tool_open').show().prepend(open); $$b('#tool_open').show();
$$b(window).on('openImage', function () {
return open.click();
});
var imgImport = $$b('<input type="file">').change(importImage); var imgImport = $$b('<input type="file">').change(importImage);
$$b('#tool_import').show().prepend(imgImport); $$b('#tool_import').show();
$$b(window).on('importImage', function () {
return imgImport.click();
});
} }
updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) '; updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) ';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

54
dist/index-umd.js vendored
View File

@ -28401,6 +28401,8 @@
tool_import: tools.import_doc, tool_import: tools.import_doc,
tool_open: tools.open_doc, tool_open: tools.open_doc,
tool_save: tools.save_doc, tool_save: tools.save_doc,
tool_editor_prefs: config.editor_prefs,
tool_editor_homepage: tools.editor_homepage,
svginfo_units_rulers: config.units_and_rulers, svginfo_units_rulers: config.units_and_rulers,
svginfo_rulers_onoff: config.show_rulers, svginfo_rulers_onoff: config.show_rulers,
svginfo_unit: config.base_unit, svginfo_unit: config.base_unit,
@ -28823,6 +28825,7 @@
} }
*/ */
var homePage = 'https://github.com/SVG-Edit/svgedit';
var stylesheet = 'svg-editor.css'; var stylesheet = 'svg-editor.css';
if (!$$b.loadingStylesheets.includes(stylesheet)) { if (!$$b.loadingStylesheets.includes(stylesheet)) {
@ -30253,17 +30256,20 @@
warning: 'warning.png', warning: 'warning.png',
node_delete: 'node_delete.png', node_delete: 'node_delete.png',
node_clone: 'node_clone.png', node_clone: 'node_clone.png',
globe_link: 'globe_link.png' globe_link: 'globe_link.png',
config: 'config.png'
}, },
placement: { placement: {
'#logo': 'logo', '#logo': 'logo',
'#tool_clear div,#layer_new': 'new_image', '#tool_clear div,#layer_new': 'new_image',
'#tool_save div': 'save', '#tool_save div': 'save',
'#tool_export div': 'export', '#tool_export div': 'export',
'#tool_open div div': 'open', '#tool_open div': 'open',
'#tool_import div div': 'import', '#tool_import div': 'import',
'#tool_source': 'source', '#tool_source': 'source',
'#tool_docprops > div': 'docprops', '#tool_docprops > div': 'docprops',
'#tool_editor_prefs > div': 'config',
'#tool_editor_homepage > div': 'globe_link',
'#tool_wireframe': 'wireframe', '#tool_wireframe': 'wireframe',
'#tool_undo': 'undo', '#tool_undo': 'undo',
'#tool_redo': 'redo', '#tool_redo': 'redo',
@ -34162,6 +34168,15 @@
*/ */
var openHomePage = function openHomePage() {
window.open(homePage, '_blank');
};
/**
*
* @returns {void}
*/
var hideSourceEditor = function hideSourceEditor() { var hideSourceEditor = function hideSourceEditor() {
$$b('#svg_source_editor').hide(); $$b('#svg_source_editor').hide();
editingsource = false; editingsource = false;
@ -35392,18 +35407,31 @@
}, { }, {
sel: '#tool_docprops', sel: '#tool_docprops',
fn: showDocProperties, fn: showDocProperties,
evt: 'mouseup' evt: 'click'
}, { }, {
sel: '#tool_prefs_save', sel: '#tool_prefs_save',
fn: savePreferences, fn: savePreferences,
evt: 'click' evt: 'click'
}, { }, {
sel: '#tool_prefs_option', sel: '#tool_editor_prefs',
fn: showPreferences,
evt: 'click'
}, {
sel: '#tool_editor_homepage',
fn: openHomePage,
evt: 'click'
}, {
sel: '#tool_open',
fn: function fn() { fn: function fn() {
showPreferences(); window.dispatchEvent(new CustomEvent('openImage'));
return false;
}, },
evt: 'mouseup' evt: 'click'
}, {
sel: '#tool_import',
fn: function fn() {
window.dispatchEvent(new CustomEvent('importImage'));
},
evt: 'click'
}, { }, {
sel: '#tool_delete,#tool_delete_multi', sel: '#tool_delete,#tool_delete_multi',
fn: deleteSelected, fn: deleteSelected,
@ -36309,9 +36337,15 @@
return _ref28.apply(this, arguments); return _ref28.apply(this, arguments);
}; };
}()); }());
$$b('#tool_open').show().prepend(open); $$b('#tool_open').show();
$$b(window).on('openImage', function () {
return open.click();
});
var imgImport = $$b('<input type="file">').change(importImage); var imgImport = $$b('<input type="file">').change(importImage);
$$b('#tool_import').show().prepend(imgImport); $$b('#tool_import').show();
$$b(window).on('importImage', function () {
return imgImport.click();
});
} }
updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) '; updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) ';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -129,6 +129,7 @@ var svgEditorLang_af = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elemente', ungroup: 'Ungroup Elemente',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Skuif na Bottom', move_bottom: 'Skuif na Bottom',
move_top: 'Skuif na bo', move_top: 'Skuif na bo',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ar = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'فك تجميع عناصر', ungroup: 'فك تجميع عناصر',
docprops: 'خصائص المستند', docprops: 'خصائص المستند',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'الانتقال إلى أسفل', move_bottom: 'الانتقال إلى أسفل',
move_top: 'الانتقال إلى أعلى', move_top: 'الانتقال إلى أعلى',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_az = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_be = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Элементы Разгруппировать', ungroup: 'Элементы Разгруппировать',
docprops: 'Уласцівасці дакумента', docprops: 'Уласцівасці дакумента',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Перамясціць уніз', move_bottom: 'Перамясціць уніз',
move_top: 'Перамясціць угару', move_top: 'Перамясціць угару',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_bg = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Разгрупирай Елементи', ungroup: 'Разгрупирай Елементи',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Премести надолу', move_bottom: 'Премести надолу',
move_top: 'Премести в началото', move_top: 'Премести в началото',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ca = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Desagrupar elements', ungroup: 'Desagrupar elements',
docprops: 'Propietats del document', docprops: 'Propietats del document',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Mou al final', move_bottom: 'Mou al final',
move_top: 'Mou al principi', move_top: 'Mou al principi',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_cs = (function () {
reorient_path: 'Změna orientace křivky', reorient_path: 'Změna orientace křivky',
ungroup: 'Zrušit seskupení', ungroup: 'Zrušit seskupení',
docprops: 'Vlastnosti dokumentu', docprops: 'Vlastnosti dokumentu',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Vrstvu úplně dospodu', move_bottom: 'Vrstvu úplně dospodu',
move_top: 'Vrstvu úplně nahoru', move_top: 'Vrstvu úplně nahoru',
node_clone: 'Vložit nový uzel', node_clone: 'Vložit nový uzel',

View File

@ -129,6 +129,7 @@ var svgEditorLang_cy = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Elfennau Ungroup', ungroup: 'Elfennau Ungroup',
docprops: 'Document Eiddo', docprops: 'Document Eiddo',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Symud i&#39;r Gwaelod', move_bottom: 'Symud i&#39;r Gwaelod',
move_top: 'Symud i&#39;r Top', move_top: 'Symud i&#39;r Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_da = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Opdel Elements', ungroup: 'Opdel Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Flyt til bund', move_bottom: 'Flyt til bund',
move_top: 'Flyt til toppen', move_top: 'Flyt til toppen',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_de = (function () {
reorient_path: 'Neuausrichtung des Pfades', reorient_path: 'Neuausrichtung des Pfades',
ungroup: 'Gruppierung aufheben', ungroup: 'Gruppierung aufheben',
docprops: 'Dokument-Eigenschaften', docprops: 'Dokument-Eigenschaften',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Die gewählten Objekte nach ganz unten verschieben', move_bottom: 'Die gewählten Objekte nach ganz unten verschieben',
move_top: 'Die gewählten Objekte nach ganz oben verschieben', move_top: 'Die gewählten Objekte nach ganz oben verschieben',
node_clone: 'Klone den Knoten', node_clone: 'Klone den Knoten',

View File

@ -129,6 +129,7 @@ var svgEditorLang_el = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Κατάργηση ομαδοποίησης Στοιχεία', ungroup: 'Κατάργηση ομαδοποίησης Στοιχεία',
docprops: 'Ιδιότητες εγγράφου', docprops: 'Ιδιότητες εγγράφου',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Μετακίνηση προς τα κάτω', move_bottom: 'Μετακίνηση προς τα κάτω',
move_top: 'Μετακίνηση στην αρχή', move_top: 'Μετακίνηση στην αρχή',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_en = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties [D]', docprops: 'Document Properties [D]',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Send to Back', move_bottom: 'Send to Back',
move_top: 'Bring to Front', move_top: 'Bring to Front',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_es = (function () {
reorient_path: 'Reorientar el trazado', reorient_path: 'Reorientar el trazado',
ungroup: 'Desagrupar objetos', ungroup: 'Desagrupar objetos',
docprops: 'Propiedades del documento', docprops: 'Propiedades del documento',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Mover abajo', move_bottom: 'Mover abajo',
move_top: 'Mover arriba', move_top: 'Mover arriba',
node_clone: 'Clonar nodo', node_clone: 'Clonar nodo',

View File

@ -129,6 +129,7 @@ var svgEditorLang_et = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Lõhu Elements', ungroup: 'Lõhu Elements',
docprops: 'Dokumendi omadused', docprops: 'Dokumendi omadused',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Liiguta alla', move_bottom: 'Liiguta alla',
move_top: 'Liiguta üles', move_top: 'Liiguta üles',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_fa = (function () {
reorient_path: '‫جهت دهی مجدد مسیر‬', reorient_path: '‫جهت دهی مجدد مسیر‬',
ungroup: '‫خارج کردن عناصر از گروه ', ungroup: '‫خارج کردن عناصر از گروه ',
docprops: '‫مشخصات سند ', docprops: '‫مشخصات سند ',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: '‫انتقال به پایین ترین ', move_bottom: '‫انتقال به پایین ترین ',
move_top: '‫انتقال به بالاترین ', move_top: '‫انتقال به بالاترین ',
node_clone: '‫ایجاد کپی از نقطه‬', node_clone: '‫ایجاد کپی از نقطه‬',

View File

@ -129,6 +129,7 @@ var svgEditorLang_fi = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Asiakirjan ominaisuudet', docprops: 'Asiakirjan ominaisuudet',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_fr = (function () {
reorient_path: 'Réorienter le chemin', reorient_path: 'Réorienter le chemin',
ungroup: 'Dégrouper les éléments', ungroup: 'Dégrouper les éléments',
docprops: 'Propriétés du document', docprops: 'Propriétés du document',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Déplacer vers le bas', move_bottom: 'Déplacer vers le bas',
move_top: 'Déplacer vers le haut', move_top: 'Déplacer vers le haut',
node_clone: 'Cloner le nœud', node_clone: 'Cloner le nœud',

View File

@ -129,6 +129,7 @@ var svgEditorLang_fy = (function () {
reorient_path: 'Paad opnij orientearje', reorient_path: 'Paad opnij orientearje',
ungroup: 'Groepering opheffe', ungroup: 'Groepering opheffe',
docprops: 'Dokuminteigenskippen', docprops: 'Dokuminteigenskippen',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Nei eftergrûn', move_bottom: 'Nei eftergrûn',
move_top: 'Nei foargrûn', move_top: 'Nei foargrûn',
node_clone: 'Knooppunt duplisearje', node_clone: 'Knooppunt duplisearje',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ga = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Eilimintí Díghrúpáil', ungroup: 'Eilimintí Díghrúpáil',
docprops: 'Doiciméad Airíonna', docprops: 'Doiciméad Airíonna',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Téigh go Bun', move_bottom: 'Téigh go Bun',
move_top: 'Téigh go Barr', move_top: 'Téigh go Barr',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_gl = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Elementos Desagrupadas', ungroup: 'Elementos Desagrupadas',
docprops: 'Propriedades do Documento', docprops: 'Propriedades do Documento',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move a Bottom', move_bottom: 'Move a Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_he = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'אלמנטים פרק קבוצה', ungroup: 'אלמנטים פרק קבוצה',
docprops: 'מאפייני מסמך', docprops: 'מאפייני מסמך',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'הזז למטה', move_bottom: 'הזז למטה',
move_top: 'עבור לראש הדף', move_top: 'עבור לראש הדף',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_hi = (function () {
reorient_path: 'पथ को नई दिशा दें', reorient_path: 'पथ को नई दिशा दें',
ungroup: 'अंश को समूह से अलग करें', ungroup: 'अंश को समूह से अलग करें',
docprops: 'दस्तावेज़ गुण', docprops: 'दस्तावेज़ गुण',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'नीचे ले जाएँ', move_bottom: 'नीचे ले जाएँ',
move_top: 'ऊपर ले जाएँ', move_top: 'ऊपर ले जाएँ',
node_clone: 'नोड क्लोन', node_clone: 'नोड क्लोन',

View File

@ -129,6 +129,7 @@ var svgEditorLang_hr = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Razgrupiranje Elementi', ungroup: 'Razgrupiranje Elementi',
docprops: 'Svojstva dokumenta', docprops: 'Svojstva dokumenta',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Pomakni na vrh', move_top: 'Pomakni na vrh',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_hu = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Szétbont elemei', ungroup: 'Szétbont elemei',
docprops: 'Dokumentum tulajdonságai', docprops: 'Dokumentum tulajdonságai',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Mozgatás lefelé', move_bottom: 'Mozgatás lefelé',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_hy = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_id = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elemen', ungroup: 'Ungroup Elemen',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Pindah ke Bawah', move_bottom: 'Pindah ke Bawah',
move_top: 'Pindahkan ke Atas', move_top: 'Pindahkan ke Atas',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_is = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Færa Bottom', move_bottom: 'Færa Bottom',
move_top: 'Fara efst á síðu', move_top: 'Fara efst á síðu',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_it = (function () {
reorient_path: 'Riallinea', reorient_path: 'Riallinea',
ungroup: 'Separa gli elementi', ungroup: 'Separa gli elementi',
docprops: 'Proprietà del documento', docprops: 'Proprietà del documento',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Sposta in fondo', move_bottom: 'Sposta in fondo',
move_top: 'Sposta in cima', move_top: 'Sposta in cima',
node_clone: 'Clona nodo', node_clone: 'Clona nodo',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ja = (function () {
reorient_path: '現在の角度を0度とする', reorient_path: '現在の角度を0度とする',
ungroup: 'グループ化を解除', ungroup: 'グループ化を解除',
docprops: '文書のプロパティ', docprops: '文書のプロパティ',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: '奥に移動', move_bottom: '奥に移動',
move_top: '手前に移動', move_top: '手前に移動',
node_clone: 'ノードを複製', node_clone: 'ノードを複製',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ko = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: '그룹 해제 요소', ungroup: '그룹 해제 요소',
docprops: '문서 속성', docprops: '문서 속성',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: '아래로 이동', move_bottom: '아래로 이동',
move_top: '상단으로 이동', move_top: '상단으로 이동',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_lt = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Išgrupuoti elementai', ungroup: 'Išgrupuoti elementai',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Perkelti į apačią', move_bottom: 'Perkelti į apačią',
move_top: 'Perkelti į viršų', move_top: 'Perkelti į viršų',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_lv = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Atgrupēt Elements', ungroup: 'Atgrupēt Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Pārvietot uz leju', move_bottom: 'Pārvietot uz leju',
move_top: 'Pārvietot uz augšu', move_top: 'Pārvietot uz augšu',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_mk = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Елементи', ungroup: 'Ungroup Елементи',
docprops: 'Својства на документот', docprops: 'Својства на документот',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to bottom', move_bottom: 'Move to bottom',
move_top: 'Поместување на почетокот', move_top: 'Поместување на почетокот',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ms = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elemen', ungroup: 'Ungroup Elemen',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Pindah ke Bawah', move_bottom: 'Pindah ke Bawah',
move_top: 'Pindah ke Atas', move_top: 'Pindah ke Atas',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_mt = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Dokument Properties', docprops: 'Dokument Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_nl = (function () {
reorient_path: 'Herorienteer pad', reorient_path: 'Herorienteer pad',
ungroup: 'Groepering opheffen', ungroup: 'Groepering opheffen',
docprops: 'Documenteigenschappen', docprops: 'Documenteigenschappen',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Naar achtergrond', move_bottom: 'Naar achtergrond',
move_top: 'Naar voorgrond', move_top: 'Naar voorgrond',
node_clone: 'Kloon knooppunt', node_clone: 'Kloon knooppunt',

View File

@ -129,6 +129,7 @@ var svgEditorLang_no = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Dele opp Elements', ungroup: 'Dele opp Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Flytt til toppen', move_top: 'Flytt til toppen',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -130,6 +130,7 @@ var svgEditorLang_pl = (function () {
reorient_path: 'Zresetuj obwiednię', reorient_path: 'Zresetuj obwiednię',
ungroup: 'Rozgrupuj elementy', ungroup: 'Rozgrupuj elementy',
docprops: 'Właściwości dokumentu', docprops: 'Właściwości dokumentu',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Przenieś pod spód', move_bottom: 'Przenieś pod spód',
move_top: 'Przenieś na wierzch', move_top: 'Przenieś na wierzch',
node_clone: 'Klonuj węzeł', node_clone: 'Klonuj węzeł',

View File

@ -129,6 +129,7 @@ var svgEditorLang_pt_BR = (function () {
reorient_path: 'Reorientar contorno', reorient_path: 'Reorientar contorno',
ungroup: 'Desagrupar Elementos', ungroup: 'Desagrupar Elementos',
docprops: 'Propriedades', docprops: 'Propriedades',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Mover para o fundo', move_bottom: 'Mover para o fundo',
move_top: 'Mover para o topo', move_top: 'Mover para o topo',
node_clone: 'Clonar Aresta', node_clone: 'Clonar Aresta',

View File

@ -129,6 +129,7 @@ var svgEditorLang_pt_PT = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Elementos Desagrupar', ungroup: 'Elementos Desagrupar',
docprops: 'Propriedades do Documento', docprops: 'Propriedades do Documento',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ro = (function () {
reorient_path: 'Reorientează Traiectoria', reorient_path: 'Reorientează Traiectoria',
ungroup: 'Anulare Grupare Elemente', ungroup: 'Anulare Grupare Elemente',
docprops: 'Proprietăţile Documentului', docprops: 'Proprietăţile Documentului',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Mutare în jos', move_bottom: 'Mutare în jos',
move_top: 'Mutare în sus', move_top: 'Mutare în sus',
node_clone: 'Clonează Punct', node_clone: 'Clonează Punct',

View File

@ -129,6 +129,7 @@ var svgEditorLang_ru = (function () {
reorient_path: 'Изменить ориентацию контура', reorient_path: 'Изменить ориентацию контура',
ungroup: 'Разгруппировать элементы', ungroup: 'Разгруппировать элементы',
docprops: 'Свойства документа', docprops: 'Свойства документа',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Опустить', move_bottom: 'Опустить',
move_top: 'Поднять', move_top: 'Поднять',
node_clone: 'Создать копию узла', node_clone: 'Создать копию узла',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sk = (function () {
reorient_path: 'Zmeniť orientáciu krivky', reorient_path: 'Zmeniť orientáciu krivky',
ungroup: 'Zrušiť skupinu', ungroup: 'Zrušiť skupinu',
docprops: 'Vlastnosti dokumentu', docprops: 'Vlastnosti dokumentu',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Presunúť spodok', move_bottom: 'Presunúť spodok',
move_top: 'Presunúť na vrch', move_top: 'Presunúť na vrch',
node_clone: 'Klonovať uzol', node_clone: 'Klonovať uzol',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sl = (function () {
reorient_path: 'Reorient pot', reorient_path: 'Reorient pot',
ungroup: 'Razdruži elemente', ungroup: 'Razdruži elemente',
docprops: 'Lastnosti dokumenta', docprops: 'Lastnosti dokumenta',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Premakni na dno', move_bottom: 'Premakni na dno',
move_top: 'Premakni na vrh', move_top: 'Premakni na vrh',
node_clone: 'Kloniraj oglišče', node_clone: 'Kloniraj oglišče',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sq = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Elemente Ungroup', ungroup: 'Elemente Ungroup',
docprops: 'Dokumenti Prona', docprops: 'Dokumenti Prona',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sr = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Разгрупирање Елементи', ungroup: 'Разгрупирање Елементи',
docprops: 'Особине документа', docprops: 'Особине документа',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Премести на доле', move_bottom: 'Премести на доле',
move_top: 'Премести на врх', move_top: 'Премести на врх',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sv = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Dela Elements', ungroup: 'Dela Elements',
docprops: 'Dokumentegenskaper', docprops: 'Dokumentegenskaper',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Flytta till början', move_top: 'Flytta till början',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_sw = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Kuhama Bottom', move_bottom: 'Kuhama Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_test = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Move to Bottom', move_bottom: 'Move to Bottom',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_th = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'องค์ประกอบ Ungroup', ungroup: 'องค์ประกอบ Ungroup',
docprops: 'คุณสมบัติของเอกสาร', docprops: 'คุณสมบัติของเอกสาร',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'ย้ายไปด้านล่าง', move_bottom: 'ย้ายไปด้านล่าง',
move_top: 'ย้ายไปด้านบน', move_top: 'ย้ายไปด้านบน',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_tl = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Sangkap', ungroup: 'Ungroup Sangkap',
docprops: 'Document Katangian', docprops: 'Document Katangian',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Ilipat sa Ibaba', move_bottom: 'Ilipat sa Ibaba',
move_top: 'Ilipat sa Tuktok', move_top: 'Ilipat sa Tuktok',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_tr = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Çöz Elemanları', ungroup: 'Çöz Elemanları',
docprops: 'Belge Özellikleri', docprops: 'Belge Özellikleri',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Altına gider', move_bottom: 'Altına gider',
move_top: 'Üste taşı', move_top: 'Üste taşı',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_uk = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Елементи розгрупувати', ungroup: 'Елементи розгрупувати',
docprops: 'Властивості документа', docprops: 'Властивості документа',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Перемістити вниз', move_bottom: 'Перемістити вниз',
move_top: 'Перемістити догори', move_top: 'Перемістити догори',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_vi = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: 'Document Properties', docprops: 'Document Properties',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'Chuyển đến đáy', move_bottom: 'Chuyển đến đáy',
move_top: 'Move to Top', move_top: 'Move to Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_yi = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'ונגראָופּ עלעמענץ', ungroup: 'ונגראָופּ עלעמענץ',
docprops: 'דאָקומענט פּראָפּערטיעס', docprops: 'דאָקומענט פּראָפּערטיעס',
editor_homepage: 'SVG-Edit Home Page',
move_bottom: 'מאַך צו באָטטאָם', move_bottom: 'מאַך צו באָטטאָם',
move_top: 'באַוועגן צו Top', move_top: 'באַוועגן צו Top',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_zh_CN = (function () {
reorient_path: '调整路径', reorient_path: '调整路径',
ungroup: '取消组合元素', ungroup: '取消组合元素',
docprops: '文档属性', docprops: '文档属性',
editor_homepage: 'SVG-Edit 主页',
move_bottom: '移至底部', move_bottom: '移至底部',
move_top: '移至顶部', move_top: '移至顶部',
node_clone: '复制节点', node_clone: '复制节点',
@ -168,7 +169,7 @@ var svgEditorLang_zh_CN = (function () {
doc_dims: '画布大小', doc_dims: '画布大小',
included_images: '包含图像', included_images: '包含图像',
image_opt_embed: '嵌入数据 (本地文件)', image_opt_embed: '嵌入数据 (本地文件)',
image_opt_ref: 'Use file reference', image_opt_ref: '使用文件引用',
editor_prefs: '编辑器首选项', editor_prefs: '编辑器首选项',
icon_size: '图标大小', icon_size: '图标大小',
language: '语言', language: '语言',

View File

@ -129,6 +129,7 @@ var svgEditorLang_zh_HK = (function () {
reorient_path: 'Reorient path', reorient_path: 'Reorient path',
ungroup: 'Ungroup Elements', ungroup: 'Ungroup Elements',
docprops: '文档属性', docprops: '文档属性',
editor_homepage: 'SVG-Edit 主页',
move_bottom: '移至底部', move_bottom: '移至底部',
move_top: '移动到顶部', move_top: '移动到顶部',
node_clone: 'Clone Node', node_clone: 'Clone Node',

View File

@ -129,6 +129,7 @@ var svgEditorLang_zh_TW = (function () {
reorient_path: '調整路徑', reorient_path: '調整路徑',
ungroup: '取消群組', ungroup: '取消群組',
docprops: '文件屬性', docprops: '文件屬性',
editor_homepage: 'SVG-Edit 主頁',
move_bottom: '移至底部', move_bottom: '移至底部',
move_top: '移動到頂部', move_top: '移動到頂部',
node_clone: '增加節點', node_clone: '增加節點',

View File

@ -109,15 +109,11 @@
New Image (N) New Image (N)
</li> </li>
<li id="tool_open" style="display:none;"> <li id="tool_open" style="display:none;">
<div id="fileinputs">
<div></div> <div></div>
</div>
Open SVG Open SVG
</li> </li>
<li id="tool_import" style="display:none;"> <li id="tool_import" style="display:none;">
<div id="fileinputs_import">
<div></div> <div></div>
</div>
Import Image Import Image
</li> </li>
<li id="tool_save"> <li id="tool_save">
@ -132,15 +128,15 @@
<div></div> <div></div>
Document Properties (D) Document Properties (D)
</li> </li>
<li id="tool_editor_prefs">
<div></div>
Editor Preferences
</li>
<li id="tool_editor_homepage">
<div></div>
SVG-Edit Home Page
</li>
</ul> </ul>
<p>
<a href="https://github.com/SVG-Edit/svgedit" target="_blank">
SVG-edit Home Page
</a>
</p>
<button id="tool_prefs_option">
Editor Options
</button>
</div> </div>
</div> </div>
<div id="tools_top" class="tools_panel"> <div id="tools_top" class="tools_panel">

View File

@ -109,15 +109,11 @@
New Image (N) New Image (N)
</li> </li>
<li id="tool_open" style="display:none;"> <li id="tool_open" style="display:none;">
<div id="fileinputs">
<div></div> <div></div>
</div>
Open SVG Open SVG
</li> </li>
<li id="tool_import" style="display:none;"> <li id="tool_import" style="display:none;">
<div id="fileinputs_import">
<div></div> <div></div>
</div>
Import Image Import Image
</li> </li>
<li id="tool_save"> <li id="tool_save">
@ -132,15 +128,15 @@
<div></div> <div></div>
Document Properties (D) Document Properties (D)
</li> </li>
<li id="tool_editor_prefs">
<div></div>
Editor Preferences
</li>
<li id="tool_editor_homepage">
<div></div>
SVG-Edit Home Page
</li>
</ul> </ul>
<p>
<a href="https://github.com/SVG-Edit/svgedit" target="_blank">
SVG-edit Home Page
</a>
</p>
<button id="tool_prefs_option">
Editor Options
</button>
</div> </div>
</div> </div>
<div id="tools_top" class="tools_panel"> <div id="tools_top" class="tools_panel">

View File

@ -109,15 +109,11 @@
New Image (N) New Image (N)
</li> </li>
<li id="tool_open" style="display:none;"> <li id="tool_open" style="display:none;">
<div id="fileinputs">
<div></div> <div></div>
</div>
Open SVG Open SVG
</li> </li>
<li id="tool_import" style="display:none;"> <li id="tool_import" style="display:none;">
<div id="fileinputs_import">
<div></div> <div></div>
</div>
Import Image Import Image
</li> </li>
<li id="tool_save"> <li id="tool_save">
@ -132,15 +128,15 @@
<div></div> <div></div>
Document Properties (D) Document Properties (D)
</li> </li>
<li id="tool_editor_prefs">
<div></div>
Editor Preferences
</li>
<li id="tool_editor_homepage">
<div></div>
SVG-Edit Home Page
</li>
</ul> </ul>
<p>
<a href="https://github.com/SVG-Edit/svgedit" target="_blank">
SVG-edit Home Page
</a>
</p>
<button id="tool_prefs_option">
Editor Options
</button>
</div> </div>
</div> </div>
<div id="tools_top" class="tools_panel"> <div id="tools_top" class="tools_panel">

View File

@ -28398,6 +28398,8 @@
tool_import: tools.import_doc, tool_import: tools.import_doc,
tool_open: tools.open_doc, tool_open: tools.open_doc,
tool_save: tools.save_doc, tool_save: tools.save_doc,
tool_editor_prefs: config.editor_prefs,
tool_editor_homepage: tools.editor_homepage,
svginfo_units_rulers: config.units_and_rulers, svginfo_units_rulers: config.units_and_rulers,
svginfo_rulers_onoff: config.show_rulers, svginfo_rulers_onoff: config.show_rulers,
svginfo_unit: config.base_unit, svginfo_unit: config.base_unit,
@ -28820,6 +28822,7 @@
} }
*/ */
var homePage = 'https://github.com/SVG-Edit/svgedit';
var stylesheet = 'svg-editor.css'; var stylesheet = 'svg-editor.css';
if (!$$b.loadingStylesheets.includes(stylesheet)) { if (!$$b.loadingStylesheets.includes(stylesheet)) {
@ -30250,17 +30253,20 @@
warning: 'warning.png', warning: 'warning.png',
node_delete: 'node_delete.png', node_delete: 'node_delete.png',
node_clone: 'node_clone.png', node_clone: 'node_clone.png',
globe_link: 'globe_link.png' globe_link: 'globe_link.png',
config: 'config.png'
}, },
placement: { placement: {
'#logo': 'logo', '#logo': 'logo',
'#tool_clear div,#layer_new': 'new_image', '#tool_clear div,#layer_new': 'new_image',
'#tool_save div': 'save', '#tool_save div': 'save',
'#tool_export div': 'export', '#tool_export div': 'export',
'#tool_open div div': 'open', '#tool_open div': 'open',
'#tool_import div div': 'import', '#tool_import div': 'import',
'#tool_source': 'source', '#tool_source': 'source',
'#tool_docprops > div': 'docprops', '#tool_docprops > div': 'docprops',
'#tool_editor_prefs > div': 'config',
'#tool_editor_homepage > div': 'globe_link',
'#tool_wireframe': 'wireframe', '#tool_wireframe': 'wireframe',
'#tool_undo': 'undo', '#tool_undo': 'undo',
'#tool_redo': 'redo', '#tool_redo': 'redo',
@ -34159,6 +34165,15 @@
*/ */
var openHomePage = function openHomePage() {
window.open(homePage, '_blank');
};
/**
*
* @returns {void}
*/
var hideSourceEditor = function hideSourceEditor() { var hideSourceEditor = function hideSourceEditor() {
$$b('#svg_source_editor').hide(); $$b('#svg_source_editor').hide();
editingsource = false; editingsource = false;
@ -35389,18 +35404,31 @@
}, { }, {
sel: '#tool_docprops', sel: '#tool_docprops',
fn: showDocProperties, fn: showDocProperties,
evt: 'mouseup' evt: 'click'
}, { }, {
sel: '#tool_prefs_save', sel: '#tool_prefs_save',
fn: savePreferences, fn: savePreferences,
evt: 'click' evt: 'click'
}, { }, {
sel: '#tool_prefs_option', sel: '#tool_editor_prefs',
fn: showPreferences,
evt: 'click'
}, {
sel: '#tool_editor_homepage',
fn: openHomePage,
evt: 'click'
}, {
sel: '#tool_open',
fn: function fn() { fn: function fn() {
showPreferences(); window.dispatchEvent(new CustomEvent('openImage'));
return false;
}, },
evt: 'mouseup' evt: 'click'
}, {
sel: '#tool_import',
fn: function fn() {
window.dispatchEvent(new CustomEvent('importImage'));
},
evt: 'click'
}, { }, {
sel: '#tool_delete,#tool_delete_multi', sel: '#tool_delete,#tool_delete_multi',
fn: deleteSelected, fn: deleteSelected,
@ -36306,9 +36334,15 @@
return _ref28.apply(this, arguments); return _ref28.apply(this, arguments);
}; };
}()); }());
$$b('#tool_open').show().prepend(open); $$b('#tool_open').show();
$$b(window).on('openImage', function () {
return open.click();
});
var imgImport = $$b('<input type="file">').change(importImage); var imgImport = $$b('<input type="file">').change(importImage);
$$b('#tool_import').show().prepend(imgImport); $$b('#tool_import').show();
$$b(window).on('importImage', function () {
return imgImport.click();
});
} }
updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) '; updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) ';

View File

@ -28398,6 +28398,8 @@
tool_import: tools.import_doc, tool_import: tools.import_doc,
tool_open: tools.open_doc, tool_open: tools.open_doc,
tool_save: tools.save_doc, tool_save: tools.save_doc,
tool_editor_prefs: config.editor_prefs,
tool_editor_homepage: tools.editor_homepage,
svginfo_units_rulers: config.units_and_rulers, svginfo_units_rulers: config.units_and_rulers,
svginfo_rulers_onoff: config.show_rulers, svginfo_rulers_onoff: config.show_rulers,
svginfo_unit: config.base_unit, svginfo_unit: config.base_unit,
@ -28820,6 +28822,7 @@
} }
*/ */
var homePage = 'https://github.com/SVG-Edit/svgedit';
var stylesheet = 'svg-editor.css'; var stylesheet = 'svg-editor.css';
if (!$$b.loadingStylesheets.includes(stylesheet)) { if (!$$b.loadingStylesheets.includes(stylesheet)) {
@ -30250,17 +30253,20 @@
warning: 'warning.png', warning: 'warning.png',
node_delete: 'node_delete.png', node_delete: 'node_delete.png',
node_clone: 'node_clone.png', node_clone: 'node_clone.png',
globe_link: 'globe_link.png' globe_link: 'globe_link.png',
config: 'config.png'
}, },
placement: { placement: {
'#logo': 'logo', '#logo': 'logo',
'#tool_clear div,#layer_new': 'new_image', '#tool_clear div,#layer_new': 'new_image',
'#tool_save div': 'save', '#tool_save div': 'save',
'#tool_export div': 'export', '#tool_export div': 'export',
'#tool_open div div': 'open', '#tool_open div': 'open',
'#tool_import div div': 'import', '#tool_import div': 'import',
'#tool_source': 'source', '#tool_source': 'source',
'#tool_docprops > div': 'docprops', '#tool_docprops > div': 'docprops',
'#tool_editor_prefs > div': 'config',
'#tool_editor_homepage > div': 'globe_link',
'#tool_wireframe': 'wireframe', '#tool_wireframe': 'wireframe',
'#tool_undo': 'undo', '#tool_undo': 'undo',
'#tool_redo': 'redo', '#tool_redo': 'redo',
@ -34159,6 +34165,15 @@
*/ */
var openHomePage = function openHomePage() {
window.open(homePage, '_blank');
};
/**
*
* @returns {void}
*/
var hideSourceEditor = function hideSourceEditor() { var hideSourceEditor = function hideSourceEditor() {
$$b('#svg_source_editor').hide(); $$b('#svg_source_editor').hide();
editingsource = false; editingsource = false;
@ -35389,18 +35404,31 @@
}, { }, {
sel: '#tool_docprops', sel: '#tool_docprops',
fn: showDocProperties, fn: showDocProperties,
evt: 'mouseup' evt: 'click'
}, { }, {
sel: '#tool_prefs_save', sel: '#tool_prefs_save',
fn: savePreferences, fn: savePreferences,
evt: 'click' evt: 'click'
}, { }, {
sel: '#tool_prefs_option', sel: '#tool_editor_prefs',
fn: showPreferences,
evt: 'click'
}, {
sel: '#tool_editor_homepage',
fn: openHomePage,
evt: 'click'
}, {
sel: '#tool_open',
fn: function fn() { fn: function fn() {
showPreferences(); window.dispatchEvent(new CustomEvent('openImage'));
return false;
}, },
evt: 'mouseup' evt: 'click'
}, {
sel: '#tool_import',
fn: function fn() {
window.dispatchEvent(new CustomEvent('importImage'));
},
evt: 'click'
}, { }, {
sel: '#tool_delete,#tool_delete_multi', sel: '#tool_delete,#tool_delete_multi',
fn: deleteSelected, fn: deleteSelected,
@ -36306,9 +36334,15 @@
return _ref28.apply(this, arguments); return _ref28.apply(this, arguments);
}; };
}()); }());
$$b('#tool_open').show().prepend(open); $$b('#tool_open').show();
$$b(window).on('openImage', function () {
return open.click();
});
var imgImport = $$b('<input type="file">').change(importImage); var imgImport = $$b('<input type="file">').change(importImage);
$$b('#tool_import').show().prepend(imgImport); $$b('#tool_import').show();
$$b(window).on('importImage', function () {
return imgImport.click();
});
} }
updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) '; updateCanvas(true); // const revnums = 'svg-editor.js ($Rev$) ';