svgedit-pl 7.3.5 → 7.3.7
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.
- package/dist/editor/Editor.js +2 -2
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/extensions/ext-connector/ext-connector.js +1 -1
- package/dist/editor/extensions/ext-connector/ext-connector.js.map +1 -1
- package/dist/editor/extensions/ext-eyedropper/ext-eyedropper.js +1 -1
- package/dist/editor/extensions/ext-eyedropper/ext-eyedropper.js.map +1 -1
- package/dist/editor/extensions/ext-grid/ext-grid.js +1 -1
- package/dist/editor/extensions/ext-grid/ext-grid.js.map +1 -1
- package/dist/editor/extensions/ext-helloworld/ext-helloworld.js +1 -1
- package/dist/editor/extensions/ext-helloworld/ext-helloworld.js.map +1 -1
- package/dist/editor/extensions/ext-layer_view/ext-layer_view.js +1 -1
- package/dist/editor/extensions/ext-layer_view/ext-layer_view.js.map +1 -1
- package/dist/editor/extensions/ext-opensave/ext-opensave.js +1 -1
- package/dist/editor/extensions/ext-opensave/ext-opensave.js.map +1 -1
- package/dist/editor/extensions/ext-panning/ext-panning.js +1 -1
- package/dist/editor/extensions/ext-panning/ext-panning.js.map +1 -1
- package/dist/editor/extensions/ext-polystar/ext-polystar.js +1 -1
- package/dist/editor/extensions/ext-polystar/ext-polystar.js.map +1 -1
- package/dist/editor/extensions/ext-shapes/ext-shapes.js +1 -1
- package/dist/editor/extensions/ext-shapes/ext-shapes.js.map +1 -1
- package/dist/editor/extensions/ext-storage/ext-storage.js +1 -1
- package/dist/editor/extensions/ext-storage/ext-storage.js.map +1 -1
- package/dist/editor/iife-Editor.js +2 -2
- package/dist/editor/iife-Editor.js.map +1 -1
- package/dist/editor/xdomain-Editor.js +2 -2
- package/dist/editor/xdomain-Editor.js.map +1 -1
- package/docs/jsdoc/BottomPanel.html +1 -1
- package/docs/jsdoc/ConfigObj.js.html +1 -1
- package/docs/jsdoc/Dropdown.html +1 -1
- package/docs/jsdoc/Editor.js.html +54 -55
- package/docs/jsdoc/EditorStartup.html +5 -5
- package/docs/jsdoc/EditorStartup.js.html +12 -11
- package/docs/jsdoc/ElixMenuButton.html +1 -1
- package/docs/jsdoc/ElixNumberSpinBox.html +1 -1
- package/docs/jsdoc/ExplorerButton.html +1 -1
- package/docs/jsdoc/FlyingButton.html +1 -1
- package/docs/jsdoc/LayersPanel.html +1 -1
- package/docs/jsdoc/LeftPanel.html +1 -1
- package/docs/jsdoc/MainMenu.html +1 -1
- package/docs/jsdoc/MainMenu.js.html +1 -1
- package/docs/jsdoc/NumberSpinBox.html +1 -1
- package/docs/jsdoc/PaintBox.html +1 -1
- package/docs/jsdoc/PlainNumberSpinBox.html +1 -1
- package/docs/jsdoc/Rulers.html +1 -1
- package/docs/jsdoc/Rulers.js.html +1 -1
- package/docs/jsdoc/SEInput.html +1 -1
- package/docs/jsdoc/SEPalette.html +1 -1
- package/docs/jsdoc/SESpinInput.html +1 -1
- package/docs/jsdoc/SeCMenuDialog.html +1 -1
- package/docs/jsdoc/SeCMenuLayerDialog.html +1 -1
- package/docs/jsdoc/SeColorPicker.html +1 -1
- package/docs/jsdoc/SeEditPrefsDialog.html +1 -1
- package/docs/jsdoc/SeExportDialog.html +1 -1
- package/docs/jsdoc/SeImgPropDialog.html +1 -1
- package/docs/jsdoc/SeList.html +1 -1
- package/docs/jsdoc/SeMenu.html +1 -1
- package/docs/jsdoc/SeMenuItem.html +1 -1
- package/docs/jsdoc/SePlainAlertDialog.html +1 -1
- package/docs/jsdoc/SePlainBorderButton.html +1 -1
- package/docs/jsdoc/SePromptDialog.html +1 -1
- package/docs/jsdoc/SeStorageDialog.html +1 -1
- package/docs/jsdoc/SeSvgSourceEditorDialog.html +1 -1
- package/docs/jsdoc/SeText.html +1 -1
- package/docs/jsdoc/ToolButton.html +1 -1
- package/docs/jsdoc/TopPanel.html +1 -1
- package/docs/jsdoc/components_PaintBox.js.html +1 -1
- package/docs/jsdoc/components_jgraduate_ColorValuePicker.js.html +1 -1
- package/docs/jsdoc/components_jgraduate_Slider.js.html +1 -1
- package/docs/jsdoc/components_jgraduate_jQuery.jGraduate.js.html +1 -1
- package/docs/jsdoc/components_jgraduate_jQuery.jPicker.js.html +1 -1
- package/docs/jsdoc/components_seButton.js.html +1 -1
- package/docs/jsdoc/components_seColorPicker.js.html +1 -1
- package/docs/jsdoc/components_seDropdown.js.html +1 -1
- package/docs/jsdoc/components_seExplorerButton.js.html +1 -1
- package/docs/jsdoc/components_seFlyingButton.js.html +1 -1
- package/docs/jsdoc/components_seInput.js.html +1 -1
- package/docs/jsdoc/components_seList.js.html +1 -1
- package/docs/jsdoc/components_seListItem.js.html +1 -1
- package/docs/jsdoc/components_seMenu.js.html +1 -1
- package/docs/jsdoc/components_seMenuItem.js.html +1 -1
- package/docs/jsdoc/components_sePalette.js.html +1 -1
- package/docs/jsdoc/components_sePlainBorderButton.js.html +1 -1
- package/docs/jsdoc/components_sePlainMenuButton.js.html +1 -1
- package/docs/jsdoc/components_seSelect.js.html +1 -1
- package/docs/jsdoc/components_seSpinInput.js.html +1 -1
- package/docs/jsdoc/components_seText.js.html +1 -1
- package/docs/jsdoc/components_seZoom.js.html +1 -1
- package/docs/jsdoc/configObj.html +1 -1
- package/docs/jsdoc/contextmenu.js.html +1 -1
- package/docs/jsdoc/dialogs_SePlainAlertDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_cmenuDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_cmenuLayersDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_editorPreferencesDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_exportDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_imagePropertiesDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_se-elix_define_NumberSpinBox.js.html +1 -1
- package/docs/jsdoc/dialogs_se-elix_src_base_NumberSpinBox.js.html +1 -1
- package/docs/jsdoc/dialogs_se-elix_src_plain_PlainNumberSpinBox.js.html +1 -1
- package/docs/jsdoc/dialogs_sePromptDialog.js.html +1 -1
- package/docs/jsdoc/dialogs_svgSourceDialog.js.html +1 -1
- package/docs/jsdoc/extensions_ext-connector_ext-connector.js.html +1 -1
- package/docs/jsdoc/extensions_ext-eyedropper_ext-eyedropper.js.html +1 -1
- package/docs/jsdoc/extensions_ext-grid_ext-grid.js.html +1 -1
- package/docs/jsdoc/extensions_ext-helloworld_ext-helloworld.js.html +1 -1
- package/docs/jsdoc/extensions_ext-layer_view_ext-layer_view.js.html +1 -1
- package/docs/jsdoc/extensions_ext-markers_ext-markers.js.html +1 -1
- package/docs/jsdoc/extensions_ext-opensave_ext-opensave.js.html +5 -5
- package/docs/jsdoc/extensions_ext-overview_window_ext-overview_window.js.html +1 -1
- package/docs/jsdoc/extensions_ext-panning_ext-panning.js.html +6 -6
- package/docs/jsdoc/extensions_ext-polystar_ext-polystar.js.html +1 -1
- package/docs/jsdoc/extensions_ext-shapes_ext-shapes.js.html +1 -1
- package/docs/jsdoc/extensions_ext-storage_ext-storage.js.html +7 -4
- package/docs/jsdoc/extensions_ext-storage_storageDialog.js.html +1 -1
- package/docs/jsdoc/external-JamilihArray.html +1 -1
- package/docs/jsdoc/external-Math.html +1 -1
- package/docs/jsdoc/external-Window.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.$.fn.jPicker.defaults.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.exports.jPickerMethod.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.images.html +1 -1
- package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.window.html +1 -1
- package/docs/jsdoc/external-jQuery.html +1 -1
- package/docs/jsdoc/external-jQuery.jGraduate.Paint.html +1 -1
- package/docs/jsdoc/external-jQuery.jGraduate.html +1 -1
- package/docs/jsdoc/external-jQuery.jPicker.Color.html +1 -1
- package/docs/jsdoc/external-jQuery.jPicker.ColorMethods.html +1 -1
- package/docs/jsdoc/external-jQuery.jPicker.html +1 -1
- package/docs/jsdoc/global.html +1 -1
- package/docs/jsdoc/index.html +1 -1
- package/docs/jsdoc/locale.js.html +1 -1
- package/docs/jsdoc/module-SVGEditor-Editor.html +30 -30
- package/docs/jsdoc/module-SVGEditor.Config.html +1 -1
- package/docs/jsdoc/module-SVGEditor.Prefs.html +1 -1
- package/docs/jsdoc/module-SVGEditor.html +3 -3
- package/docs/jsdoc/module-SVGthis.CustomHandler.html +1 -1
- package/docs/jsdoc/module-contextmenu.html +1 -1
- package/docs/jsdoc/module-jGraduate.html +1 -1
- package/docs/jsdoc/module-jPicker.html +1 -1
- package/docs/jsdoc/module-jPicker.module.exports.html +1 -1
- package/docs/jsdoc/module-locale.LocaleEditorInit.html +1 -1
- package/docs/jsdoc/module-locale.html +1 -1
- package/docs/jsdoc/module.exports.html +1 -1
- package/docs/jsdoc/module.exports_module.exports.html +1 -1
- package/docs/jsdoc/panels_BottomPanel.js.html +1 -1
- package/docs/jsdoc/panels_LayersPanel.js.html +1 -1
- package/docs/jsdoc/panels_LeftPanel.js.html +1 -1
- package/docs/jsdoc/panels_TopPanel.js.html +1 -1
- package/docs/jsdoc/tutorial-CanvasAPI.html +1 -1
- package/docs/jsdoc/tutorial-ConfigOptions.html +1 -1
- package/docs/jsdoc/tutorial-Editor.html +1 -1
- package/docs/jsdoc/tutorial-EditorAPI.html +1 -1
- package/docs/jsdoc/tutorial-Events.html +1 -1
- package/docs/jsdoc/tutorial-ExtensionDocs.html +1 -1
- package/docs/jsdoc/tutorial-FrequentlyAskedQuestions.html +1 -1
- package/docs/jsdoc/tutorial-LocaleDocs.html +1 -1
- package/docs/jsdoc/typedefs.js.html +1 -1
- package/package.json +1 -1
- package/src/editor/Editor.js +53 -54
- package/src/editor/EditorStartup.js +11 -10
- package/src/editor/extensions/ext-connector/locale/pl.js +12 -0
- package/src/editor/extensions/ext-eyedropper/locale/pl.js +9 -0
- package/src/editor/extensions/ext-grid/locale/pl.js +8 -0
- package/src/editor/extensions/ext-helloworld/locale/pl.js +9 -0
- package/src/editor/extensions/ext-layer_view/locale/pl.js +9 -0
- package/src/editor/extensions/ext-markers/locale/pl.js +46 -0
- package/src/editor/extensions/ext-opensave/ext-opensave.js +4 -4
- package/src/editor/extensions/ext-opensave/locale/pl.js +8 -0
- package/src/editor/extensions/ext-panning/ext-panning.js +5 -5
- package/src/editor/extensions/ext-panning/locale/pl.js +8 -0
- package/src/editor/extensions/ext-polystar/locale/pl.js +30 -0
- package/src/editor/extensions/ext-shapes/locale/pl.js +24 -0
- package/src/editor/extensions/ext-storage/ext-storage.js +6 -3
- package/src/editor/extensions/ext-storage/locale/pl.js +12 -0
- package/src/editor/panels/TopPanel.html +1 -1
|
@@ -185,7 +185,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
185
185
|
<br class="clear">
|
|
186
186
|
|
|
187
187
|
<footer>
|
|
188
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
188
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
189
189
|
</footer>
|
|
190
190
|
|
|
191
191
|
<script> prettyPrint(); </script>
|
|
@@ -401,7 +401,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
401
401
|
<br class="clear">
|
|
402
402
|
|
|
403
403
|
<footer>
|
|
404
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
404
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
405
405
|
</footer>
|
|
406
406
|
|
|
407
407
|
<script> prettyPrint(); </script>
|
|
@@ -53,7 +53,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
53
53
|
<br class="clear">
|
|
54
54
|
|
|
55
55
|
<footer>
|
|
56
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
56
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
57
57
|
</footer>
|
|
58
58
|
|
|
59
59
|
<script> prettyPrint(); </script>
|
|
@@ -297,7 +297,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
297
297
|
<br class="clear">
|
|
298
298
|
|
|
299
299
|
<footer>
|
|
300
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
300
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
301
301
|
</footer>
|
|
302
302
|
|
|
303
303
|
<script> prettyPrint(); </script>
|
|
@@ -55,7 +55,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
55
55
|
<br class="clear">
|
|
56
56
|
|
|
57
57
|
<footer>
|
|
58
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
58
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
59
59
|
</footer>
|
|
60
60
|
|
|
61
61
|
<script> prettyPrint(); </script>
|
|
@@ -139,7 +139,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
139
139
|
<br class="clear">
|
|
140
140
|
|
|
141
141
|
<footer>
|
|
142
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
142
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
143
143
|
</footer>
|
|
144
144
|
|
|
145
145
|
<script> prettyPrint(); </script>
|
|
@@ -264,7 +264,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
264
264
|
<br class="clear">
|
|
265
265
|
|
|
266
266
|
<footer>
|
|
267
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
267
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
268
268
|
</footer>
|
|
269
269
|
|
|
270
270
|
<script> prettyPrint(); </script>
|
|
@@ -779,7 +779,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
779
779
|
<br class="clear">
|
|
780
780
|
|
|
781
781
|
<footer>
|
|
782
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
782
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
783
783
|
</footer>
|
|
784
784
|
|
|
785
785
|
<script> prettyPrint(); </script>
|
|
@@ -237,7 +237,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
237
237
|
<br class="clear">
|
|
238
238
|
|
|
239
239
|
<footer>
|
|
240
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
240
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
241
241
|
</footer>
|
|
242
242
|
|
|
243
243
|
<script> prettyPrint(); </script>
|
|
@@ -224,7 +224,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
224
224
|
<br class="clear">
|
|
225
225
|
|
|
226
226
|
<footer>
|
|
227
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
227
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
228
228
|
</footer>
|
|
229
229
|
|
|
230
230
|
<script> prettyPrint(); </script>
|
|
@@ -128,7 +128,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
128
128
|
<br class="clear">
|
|
129
129
|
|
|
130
130
|
<footer>
|
|
131
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
131
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
132
132
|
</footer>
|
|
133
133
|
|
|
134
134
|
<script> prettyPrint(); </script>
|
|
@@ -131,7 +131,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
131
131
|
<br class="clear">
|
|
132
132
|
|
|
133
133
|
<footer>
|
|
134
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
134
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
135
135
|
</footer>
|
|
136
136
|
|
|
137
137
|
<script> prettyPrint(); </script>
|
|
@@ -375,7 +375,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
375
375
|
<br class="clear">
|
|
376
376
|
|
|
377
377
|
<footer>
|
|
378
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
378
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
379
379
|
</footer>
|
|
380
380
|
|
|
381
381
|
<script> prettyPrint(); </script>
|
|
@@ -62,7 +62,7 @@ const loadExtensionTranslation = async function (svgEditor) {
|
|
|
62
62
|
|
|
63
63
|
export default {
|
|
64
64
|
name,
|
|
65
|
-
async init
|
|
65
|
+
async init(_S) {
|
|
66
66
|
const svgEditor = this
|
|
67
67
|
const { svgCanvas } = svgEditor
|
|
68
68
|
const { $id, $click } = svgCanvas
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
164
164
|
svgEditor.zoomImage()
|
|
165
165
|
svgEditor.layersPanel.populateLayers()
|
|
166
166
|
svgEditor.topPanel.updateContextPanel()
|
|
167
|
-
svgEditor.topPanel.updateTitle('
|
|
167
|
+
svgEditor.topPanel.updateTitle('bez_tytulu.svg')
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/**
|
|
@@ -250,7 +250,7 @@ export default {
|
|
|
250
250
|
if (type === 'save' && handle !== null) {
|
|
251
251
|
const throwIfExistingHandleNotGood = false
|
|
252
252
|
handle = await fileSave(blob, {
|
|
253
|
-
fileName: '
|
|
253
|
+
fileName: 'bez_tytulu.svg',
|
|
254
254
|
extensions: ['.svg']
|
|
255
255
|
}, handle, throwIfExistingHandleNotGood)
|
|
256
256
|
} else {
|
|
@@ -275,7 +275,7 @@ export default {
|
|
|
275
275
|
return {
|
|
276
276
|
name: svgEditor.i18next.t(`${name}:name`),
|
|
277
277
|
// The callback should be used to load the DOM with the appropriate UI items
|
|
278
|
-
callback
|
|
278
|
+
callback() {
|
|
279
279
|
const buttonTemplate = `
|
|
280
280
|
<se-menu-item id="tool_clear" label="opensave.new_doc" shortcut="N" src="new.svg"></se-menu-item>`
|
|
281
281
|
svgCanvas.insertChildAtIndex($id('main_button'), buttonTemplate, 0)
|
|
@@ -319,7 +319,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
319
319
|
<br class="clear">
|
|
320
320
|
|
|
321
321
|
<footer>
|
|
322
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
322
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
323
323
|
</footer>
|
|
324
324
|
|
|
325
325
|
<script> prettyPrint(); </script>
|
|
@@ -202,7 +202,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
202
202
|
<br class="clear">
|
|
203
203
|
|
|
204
204
|
<footer>
|
|
205
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
205
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
206
206
|
</footer>
|
|
207
207
|
|
|
208
208
|
<script> prettyPrint(); </script>
|
|
@@ -54,7 +54,7 @@ const loadExtensionTranslation = async function (svgEditor) {
|
|
|
54
54
|
|
|
55
55
|
export default {
|
|
56
56
|
name,
|
|
57
|
-
async init
|
|
57
|
+
async init() {
|
|
58
58
|
const svgEditor = this
|
|
59
59
|
await loadExtensionTranslation(svgEditor)
|
|
60
60
|
const {
|
|
@@ -66,8 +66,8 @@ export default {
|
|
|
66
66
|
}
|
|
67
67
|
return {
|
|
68
68
|
name: svgEditor.i18next.t(`${name}:name`),
|
|
69
|
-
callback
|
|
70
|
-
const btitle =
|
|
69
|
+
callback() {
|
|
70
|
+
const btitle = `Przesuwanie [Spacja / kółko myszki + przeciąganie]`
|
|
71
71
|
// Add the button and its handler(s)
|
|
72
72
|
const buttonTemplate = document.createElement('template')
|
|
73
73
|
buttonTemplate.innerHTML = `
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
}
|
|
81
81
|
})
|
|
82
82
|
},
|
|
83
|
-
mouseDown
|
|
83
|
+
mouseDown() {
|
|
84
84
|
if (svgCanvas.getMode() === 'ext-panning') {
|
|
85
85
|
svgEditor.setPanning(true)
|
|
86
86
|
return {
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
}
|
|
90
90
|
return undefined
|
|
91
91
|
},
|
|
92
|
-
mouseUp
|
|
92
|
+
mouseUp() {
|
|
93
93
|
if (svgCanvas.getMode() === 'ext-panning') {
|
|
94
94
|
svgEditor.setPanning(false)
|
|
95
95
|
return {
|
|
@@ -122,7 +122,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
122
122
|
<br class="clear">
|
|
123
123
|
|
|
124
124
|
<footer>
|
|
125
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
125
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
126
126
|
</footer>
|
|
127
127
|
|
|
128
128
|
<script> prettyPrint(); </script>
|
|
@@ -498,7 +498,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
498
498
|
<br class="clear">
|
|
499
499
|
|
|
500
500
|
<footer>
|
|
501
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
501
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
502
502
|
</footer>
|
|
503
503
|
|
|
504
504
|
<script> prettyPrint(); </script>
|
|
@@ -208,7 +208,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
208
208
|
<br class="clear">
|
|
209
209
|
|
|
210
210
|
<footer>
|
|
211
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
211
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
212
212
|
</footer>
|
|
213
213
|
|
|
214
214
|
<script> prettyPrint(); </script>
|
|
@@ -89,7 +89,7 @@ const replaceStoragePrompt = val => {
|
|
|
89
89
|
|
|
90
90
|
export default {
|
|
91
91
|
name: 'storage',
|
|
92
|
-
init
|
|
92
|
+
init() {
|
|
93
93
|
const svgEditor = this
|
|
94
94
|
const { svgCanvas, storage } = svgEditor
|
|
95
95
|
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
124
124
|
const cached = storage.getItem(key)
|
|
125
125
|
if (cached) {
|
|
126
126
|
svgEditor.loadFromString(cached)
|
|
127
|
-
const name = storage.getItem(`title-${key}`) ?? '
|
|
127
|
+
const name = storage.getItem(`title-${key}`) ?? 'bez_tytulu.svg'
|
|
128
128
|
svgEditor.topPanel.updateTitle(name)
|
|
129
129
|
svgEditor.layersPanel.populateLayers()
|
|
130
130
|
}
|
|
@@ -208,6 +208,7 @@ export default {
|
|
|
208
208
|
* @returns {void}
|
|
209
209
|
*/
|
|
210
210
|
const setupBeforeUnloadListener = () => {
|
|
211
|
+
return;
|
|
211
212
|
window.addEventListener('beforeunload', function () {
|
|
212
213
|
// Don't save anything unless the user opted in to storage
|
|
213
214
|
if (
|
|
@@ -250,7 +251,9 @@ export default {
|
|
|
250
251
|
let loaded = false
|
|
251
252
|
return {
|
|
252
253
|
name: 'storage',
|
|
253
|
-
callback
|
|
254
|
+
callback() {
|
|
255
|
+
// Prevent from showing storage dialog
|
|
256
|
+
return;
|
|
254
257
|
const storagePrompt = new URL(top.location).searchParams.get(
|
|
255
258
|
'storagePrompt'
|
|
256
259
|
)
|
|
@@ -316,7 +319,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
316
319
|
<br class="clear">
|
|
317
320
|
|
|
318
321
|
<footer>
|
|
319
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
322
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
320
323
|
</footer>
|
|
321
324
|
|
|
322
325
|
<script> prettyPrint(); </script>
|
|
@@ -194,7 +194,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
194
194
|
<br class="clear">
|
|
195
195
|
|
|
196
196
|
<footer>
|
|
197
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
197
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
198
198
|
</footer>
|
|
199
199
|
|
|
200
200
|
<script> prettyPrint(); </script>
|
|
@@ -257,7 +257,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
257
257
|
<br class="clear">
|
|
258
258
|
|
|
259
259
|
<footer>
|
|
260
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
260
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
261
261
|
</footer>
|
|
262
262
|
|
|
263
263
|
<script> prettyPrint(); </script>
|
|
@@ -921,7 +921,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
921
921
|
<br class="clear">
|
|
922
922
|
|
|
923
923
|
<footer>
|
|
924
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
924
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
925
925
|
</footer>
|
|
926
926
|
|
|
927
927
|
<script> prettyPrint(); </script>
|
|
@@ -125,7 +125,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
125
125
|
<br class="clear">
|
|
126
126
|
|
|
127
127
|
<footer>
|
|
128
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
128
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
129
129
|
</footer>
|
|
130
130
|
|
|
131
131
|
<script> prettyPrint(); </script>
|
|
@@ -1823,7 +1823,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
1823
1823
|
<br class="clear">
|
|
1824
1824
|
|
|
1825
1825
|
<footer>
|
|
1826
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
1826
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1827
1827
|
</footer>
|
|
1828
1828
|
|
|
1829
1829
|
<script> prettyPrint(); </script>
|
|
@@ -373,7 +373,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
373
373
|
<br class="clear">
|
|
374
374
|
|
|
375
375
|
<footer>
|
|
376
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
376
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
377
377
|
</footer>
|
|
378
378
|
|
|
379
379
|
<script> prettyPrint(); </script>
|
|
@@ -2632,7 +2632,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
2632
2632
|
<br class="clear">
|
|
2633
2633
|
|
|
2634
2634
|
<footer>
|
|
2635
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
2635
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
2636
2636
|
</footer>
|
|
2637
2637
|
|
|
2638
2638
|
<script> prettyPrint(); </script>
|
|
@@ -296,7 +296,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
296
296
|
<br class="clear">
|
|
297
297
|
|
|
298
298
|
<footer>
|
|
299
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
299
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
300
300
|
</footer>
|
|
301
301
|
|
|
302
302
|
<script> prettyPrint(); </script>
|
|
@@ -205,7 +205,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
205
205
|
<br class="clear">
|
|
206
206
|
|
|
207
207
|
<footer>
|
|
208
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
208
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
209
209
|
</footer>
|
|
210
210
|
|
|
211
211
|
<script> prettyPrint(); </script>
|
|
@@ -205,7 +205,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
205
205
|
<br class="clear">
|
|
206
206
|
|
|
207
207
|
<footer>
|
|
208
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
208
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
209
209
|
</footer>
|
|
210
210
|
|
|
211
211
|
<script> prettyPrint(); </script>
|
|
@@ -141,7 +141,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
141
141
|
<br class="clear">
|
|
142
142
|
|
|
143
143
|
<footer>
|
|
144
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
144
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
145
145
|
</footer>
|
|
146
146
|
|
|
147
147
|
<script> prettyPrint(); </script>
|
|
@@ -169,7 +169,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
169
169
|
<br class="clear">
|
|
170
170
|
|
|
171
171
|
<footer>
|
|
172
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
172
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
173
173
|
</footer>
|
|
174
174
|
|
|
175
175
|
<script> prettyPrint(); </script>
|
|
@@ -135,7 +135,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
135
135
|
<br class="clear">
|
|
136
136
|
|
|
137
137
|
<footer>
|
|
138
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
138
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
139
139
|
</footer>
|
|
140
140
|
|
|
141
141
|
<script> prettyPrint(); </script>
|
|
@@ -1058,7 +1058,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
1058
1058
|
<br class="clear">
|
|
1059
1059
|
|
|
1060
1060
|
<footer>
|
|
1061
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
1061
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1062
1062
|
</footer>
|
|
1063
1063
|
|
|
1064
1064
|
<script> prettyPrint(); </script>
|
|
@@ -1189,7 +1189,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
1189
1189
|
<br class="clear">
|
|
1190
1190
|
|
|
1191
1191
|
<footer>
|
|
1192
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
1192
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1193
1193
|
</footer>
|
|
1194
1194
|
|
|
1195
1195
|
<script> prettyPrint(); </script>
|
|
@@ -218,7 +218,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
218
218
|
<br class="clear">
|
|
219
219
|
|
|
220
220
|
<footer>
|
|
221
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
221
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
222
222
|
</footer>
|
|
223
223
|
|
|
224
224
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/global.html
CHANGED
|
@@ -33877,7 +33877,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
33877
33877
|
<br class="clear">
|
|
33878
33878
|
|
|
33879
33879
|
<footer>
|
|
33880
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
33880
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
33881
33881
|
</footer>
|
|
33882
33882
|
|
|
33883
33883
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/index.html
CHANGED
|
@@ -1286,7 +1286,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
1286
1286
|
<br class="clear">
|
|
1287
1287
|
|
|
1288
1288
|
<footer>
|
|
1289
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
1289
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1290
1290
|
</footer>
|
|
1291
1291
|
|
|
1292
1292
|
<script> prettyPrint(); </script>
|
|
@@ -131,7 +131,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
131
131
|
<br class="clear">
|
|
132
132
|
|
|
133
133
|
<footer>
|
|
134
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025
|
|
134
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Fri Jan 10 2025 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
135
135
|
</footer>
|
|
136
136
|
|
|
137
137
|
<script> prettyPrint(); </script>
|