svgedit-pl 7.3.7 → 7.3.11

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.
Files changed (144) hide show
  1. package/dist/editor/Editor.js +1 -1
  2. package/dist/editor/Editor.js.map +1 -1
  3. package/dist/editor/extensions/ext-storage/ext-storage.js +1 -1
  4. package/dist/editor/extensions/ext-storage/ext-storage.js.map +1 -1
  5. package/dist/editor/iife-Editor.js +1 -1
  6. package/dist/editor/iife-Editor.js.map +1 -1
  7. package/dist/editor/xdomain-Editor.js +1 -1
  8. package/dist/editor/xdomain-Editor.js.map +1 -1
  9. package/docs/jsdoc/BottomPanel.html +1 -1
  10. package/docs/jsdoc/ConfigObj.js.html +11 -11
  11. package/docs/jsdoc/Dropdown.html +1 -1
  12. package/docs/jsdoc/Editor.js.html +1 -1
  13. package/docs/jsdoc/EditorStartup.html +1 -1
  14. package/docs/jsdoc/EditorStartup.js.html +1 -1
  15. package/docs/jsdoc/ElixMenuButton.html +1 -1
  16. package/docs/jsdoc/ElixNumberSpinBox.html +1 -1
  17. package/docs/jsdoc/ExplorerButton.html +1 -1
  18. package/docs/jsdoc/FlyingButton.html +1 -1
  19. package/docs/jsdoc/LayersPanel.html +1 -1
  20. package/docs/jsdoc/LeftPanel.html +1 -1
  21. package/docs/jsdoc/MainMenu.html +1 -1
  22. package/docs/jsdoc/MainMenu.js.html +12 -12
  23. package/docs/jsdoc/NumberSpinBox.html +1 -1
  24. package/docs/jsdoc/PaintBox.html +1 -1
  25. package/docs/jsdoc/PlainNumberSpinBox.html +1 -1
  26. package/docs/jsdoc/Rulers.html +1 -1
  27. package/docs/jsdoc/Rulers.js.html +1 -1
  28. package/docs/jsdoc/SEInput.html +1 -1
  29. package/docs/jsdoc/SEPalette.html +1 -1
  30. package/docs/jsdoc/SESpinInput.html +1 -1
  31. package/docs/jsdoc/SeCMenuDialog.html +1 -1
  32. package/docs/jsdoc/SeCMenuLayerDialog.html +1 -1
  33. package/docs/jsdoc/SeColorPicker.html +1 -1
  34. package/docs/jsdoc/SeEditPrefsDialog.html +1 -1
  35. package/docs/jsdoc/SeExportDialog.html +1 -1
  36. package/docs/jsdoc/SeImgPropDialog.html +1 -1
  37. package/docs/jsdoc/SeList.html +1 -1
  38. package/docs/jsdoc/SeMenu.html +1 -1
  39. package/docs/jsdoc/SeMenuItem.html +1 -1
  40. package/docs/jsdoc/SePlainAlertDialog.html +1 -1
  41. package/docs/jsdoc/SePlainBorderButton.html +1 -1
  42. package/docs/jsdoc/SePromptDialog.html +1 -1
  43. package/docs/jsdoc/SeStorageDialog.html +1 -1
  44. package/docs/jsdoc/SeSvgSourceEditorDialog.html +1 -1
  45. package/docs/jsdoc/SeText.html +1 -1
  46. package/docs/jsdoc/ToolButton.html +1 -1
  47. package/docs/jsdoc/TopPanel.html +1 -1
  48. package/docs/jsdoc/components_PaintBox.js.html +1 -1
  49. package/docs/jsdoc/components_jgraduate_ColorValuePicker.js.html +1 -1
  50. package/docs/jsdoc/components_jgraduate_Slider.js.html +1 -1
  51. package/docs/jsdoc/components_jgraduate_jQuery.jGraduate.js.html +1 -1
  52. package/docs/jsdoc/components_jgraduate_jQuery.jPicker.js.html +1 -1
  53. package/docs/jsdoc/components_seButton.js.html +1 -1
  54. package/docs/jsdoc/components_seColorPicker.js.html +1 -1
  55. package/docs/jsdoc/components_seDropdown.js.html +1 -1
  56. package/docs/jsdoc/components_seExplorerButton.js.html +1 -1
  57. package/docs/jsdoc/components_seFlyingButton.js.html +1 -1
  58. package/docs/jsdoc/components_seInput.js.html +1 -1
  59. package/docs/jsdoc/components_seList.js.html +1 -1
  60. package/docs/jsdoc/components_seListItem.js.html +1 -1
  61. package/docs/jsdoc/components_seMenu.js.html +1 -1
  62. package/docs/jsdoc/components_seMenuItem.js.html +1 -1
  63. package/docs/jsdoc/components_sePalette.js.html +1 -1
  64. package/docs/jsdoc/components_sePlainBorderButton.js.html +1 -1
  65. package/docs/jsdoc/components_sePlainMenuButton.js.html +1 -1
  66. package/docs/jsdoc/components_seSelect.js.html +1 -1
  67. package/docs/jsdoc/components_seSpinInput.js.html +1 -1
  68. package/docs/jsdoc/components_seText.js.html +1 -1
  69. package/docs/jsdoc/components_seZoom.js.html +1 -1
  70. package/docs/jsdoc/configObj.html +1 -1
  71. package/docs/jsdoc/contextmenu.js.html +1 -1
  72. package/docs/jsdoc/dialogs_SePlainAlertDialog.js.html +1 -1
  73. package/docs/jsdoc/dialogs_cmenuDialog.js.html +1 -1
  74. package/docs/jsdoc/dialogs_cmenuLayersDialog.js.html +1 -1
  75. package/docs/jsdoc/dialogs_editorPreferencesDialog.js.html +1 -1
  76. package/docs/jsdoc/dialogs_exportDialog.js.html +1 -1
  77. package/docs/jsdoc/dialogs_imagePropertiesDialog.js.html +1 -1
  78. package/docs/jsdoc/dialogs_se-elix_define_NumberSpinBox.js.html +1 -1
  79. package/docs/jsdoc/dialogs_se-elix_src_base_NumberSpinBox.js.html +1 -1
  80. package/docs/jsdoc/dialogs_se-elix_src_plain_PlainNumberSpinBox.js.html +1 -1
  81. package/docs/jsdoc/dialogs_sePromptDialog.js.html +1 -1
  82. package/docs/jsdoc/dialogs_svgSourceDialog.js.html +1 -1
  83. package/docs/jsdoc/extensions_ext-connector_ext-connector.js.html +1 -1
  84. package/docs/jsdoc/extensions_ext-eyedropper_ext-eyedropper.js.html +1 -1
  85. package/docs/jsdoc/extensions_ext-grid_ext-grid.js.html +1 -1
  86. package/docs/jsdoc/extensions_ext-helloworld_ext-helloworld.js.html +1 -1
  87. package/docs/jsdoc/extensions_ext-layer_view_ext-layer_view.js.html +1 -1
  88. package/docs/jsdoc/extensions_ext-markers_ext-markers.js.html +1 -1
  89. package/docs/jsdoc/extensions_ext-opensave_ext-opensave.js.html +1 -1
  90. package/docs/jsdoc/extensions_ext-overview_window_ext-overview_window.js.html +1 -1
  91. package/docs/jsdoc/extensions_ext-panning_ext-panning.js.html +1 -1
  92. package/docs/jsdoc/extensions_ext-polystar_ext-polystar.js.html +1 -1
  93. package/docs/jsdoc/extensions_ext-shapes_ext-shapes.js.html +1 -1
  94. package/docs/jsdoc/extensions_ext-storage_ext-storage.js.html +23 -7
  95. package/docs/jsdoc/extensions_ext-storage_storageDialog.js.html +8 -8
  96. package/docs/jsdoc/external-JamilihArray.html +1 -1
  97. package/docs/jsdoc/external-Math.html +1 -1
  98. package/docs/jsdoc/external-Window.html +1 -1
  99. package/docs/jsdoc/external-jQuery.fn.$.fn.jPicker.defaults.html +1 -1
  100. package/docs/jsdoc/external-jQuery.fn.exports.jPickerMethod.html +1 -1
  101. package/docs/jsdoc/external-jQuery.fn.html +1 -1
  102. package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.html +1 -1
  103. package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.images.html +1 -1
  104. package/docs/jsdoc/external-jQuery.fn.jGraduateDefaults.window.html +1 -1
  105. package/docs/jsdoc/external-jQuery.html +1 -1
  106. package/docs/jsdoc/external-jQuery.jGraduate.Paint.html +1 -1
  107. package/docs/jsdoc/external-jQuery.jGraduate.html +1 -1
  108. package/docs/jsdoc/external-jQuery.jPicker.Color.html +1 -1
  109. package/docs/jsdoc/external-jQuery.jPicker.ColorMethods.html +1 -1
  110. package/docs/jsdoc/external-jQuery.jPicker.html +1 -1
  111. package/docs/jsdoc/global.html +1 -1
  112. package/docs/jsdoc/index.html +1 -1
  113. package/docs/jsdoc/locale.js.html +1 -1
  114. package/docs/jsdoc/module-SVGEditor-Editor.html +1 -1
  115. package/docs/jsdoc/module-SVGEditor.Config.html +1 -1
  116. package/docs/jsdoc/module-SVGEditor.Prefs.html +1 -1
  117. package/docs/jsdoc/module-SVGEditor.html +1 -1
  118. package/docs/jsdoc/module-SVGthis.CustomHandler.html +1 -1
  119. package/docs/jsdoc/module-contextmenu.html +1 -1
  120. package/docs/jsdoc/module-jGraduate.html +1 -1
  121. package/docs/jsdoc/module-jPicker.html +1 -1
  122. package/docs/jsdoc/module-jPicker.module.exports.html +1 -1
  123. package/docs/jsdoc/module-locale.LocaleEditorInit.html +1 -1
  124. package/docs/jsdoc/module-locale.html +1 -1
  125. package/docs/jsdoc/module.exports.html +1 -1
  126. package/docs/jsdoc/module.exports_module.exports.html +1 -1
  127. package/docs/jsdoc/panels_BottomPanel.js.html +1 -1
  128. package/docs/jsdoc/panels_LayersPanel.js.html +1 -1
  129. package/docs/jsdoc/panels_LeftPanel.js.html +1 -1
  130. package/docs/jsdoc/panels_TopPanel.js.html +1 -1
  131. package/docs/jsdoc/tutorial-CanvasAPI.html +1 -1
  132. package/docs/jsdoc/tutorial-ConfigOptions.html +1 -1
  133. package/docs/jsdoc/tutorial-Editor.html +1 -1
  134. package/docs/jsdoc/tutorial-EditorAPI.html +1 -1
  135. package/docs/jsdoc/tutorial-Events.html +1 -1
  136. package/docs/jsdoc/tutorial-ExtensionDocs.html +1 -1
  137. package/docs/jsdoc/tutorial-FrequentlyAskedQuestions.html +1 -1
  138. package/docs/jsdoc/tutorial-LocaleDocs.html +1 -1
  139. package/docs/jsdoc/typedefs.js.html +1 -1
  140. package/package.json +1 -1
  141. package/src/editor/ConfigObj.js +10 -10
  142. package/src/editor/MainMenu.js +11 -11
  143. package/src/editor/extensions/ext-storage/ext-storage.js +22 -6
  144. package/src/editor/extensions/ext-storage/storageDialog.js +7 -7
@@ -1133,7 +1133,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
1133
1133
  <br class="clear">
1134
1134
 
1135
1135
  <footer>
1136
- 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)
1136
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
1137
1137
  </footer>
1138
1138
 
1139
1139
  <script> prettyPrint(); </script>
@@ -45,7 +45,7 @@ export default class ConfigObj {
45
45
  /**
46
46
  * @param {PlainObject} editor
47
47
  */
48
- constructor (editor) {
48
+ constructor(editor) {
49
49
  /**
50
50
  * Preferences.
51
51
  * @interface module:SVGEditor.Prefs
@@ -245,7 +245,7 @@ export default class ConfigObj {
245
245
  * @function setupCurPrefs
246
246
  * @returns {void}
247
247
  */
248
- setupCurPrefs () {
248
+ setupCurPrefs() {
249
249
  const curPrefs = { ...this.defaultPrefs, ...this.curPrefs } // Now safe to merge with priority for curPrefs in the event any are already set
250
250
  // Export updated prefs
251
251
  this.curPrefs = curPrefs
@@ -255,7 +255,7 @@ export default class ConfigObj {
255
255
  * Sets up current config based on defaults.
256
256
  * @returns {void}
257
257
  */
258
- setupCurConfig () {
258
+ setupCurConfig() {
259
259
  const curConfig = { ...this.defaultConfig, ...this.curConfig } // Now safe to merge with priority for curConfig in the event any are already set
260
260
 
261
261
  // Now deal with extensions and other array config
@@ -270,7 +270,7 @@ export default class ConfigObj {
270
270
  * @function loadFromURL Load config/data from URL if given
271
271
  * @returns {void}
272
272
  */
273
- loadFromURL () {
273
+ loadFromURL() {
274
274
  const self = this
275
275
  const { search, searchParams } = new URL(location)
276
276
  if (search) {
@@ -365,10 +365,10 @@ export default class ConfigObj {
365
365
  * that, it will then be subject to tampering
366
366
  * @returns {void}
367
367
  */
368
- loadContentAndPrefs () {
368
+ loadContentAndPrefs() {
369
369
  if (!this.curConfig.forceStorage &amp;&amp;
370
370
  (this.curConfig.noStorageOnLoad ||
371
- !(/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/).test(document.cookie)
371
+ !(/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/).test(document.cookie)
372
372
  )
373
373
  ) {
374
374
  return
@@ -416,7 +416,7 @@ export default class ConfigObj {
416
416
  * not be needed in `svgedit-config-iife.js`.
417
417
  * @returns {void}
418
418
  */
419
- setConfig (opts, cfgCfg = {}) {
419
+ setConfig(opts, cfgCfg = {}) {
420
420
  /**
421
421
  *
422
422
  * @param {module:SVGEditor.Config|module:SVGEditor.Prefs} cfgObj
@@ -456,7 +456,7 @@ export default class ConfigObj {
456
456
  return
457
457
  }
458
458
  this.curConfig[key] = this.curConfig[key].concat(val) // We will handle any dupes later
459
- // Only allow other configObj.curConfig if defined in configObj.defaultConfig
459
+ // Only allow other configObj.curConfig if defined in configObj.defaultConfig
460
460
  } else if ({}.hasOwnProperty.call(this.defaultConfig, key)) {
461
461
  if (cfgCfg.overwrite === false &amp;&amp; (
462
462
  this.curConfig.preventAllURLConfig ||
@@ -498,7 +498,7 @@ export default class ConfigObj {
498
498
  * button to auto-calculate background, but otherwise uses `svgEditor.configObj.pref()` to
499
499
  * be able to get default prefs or overridable settings
500
500
  */
501
- pref (key, val, mayBeEmpty) {
501
+ pref(key, val, mayBeEmpty) {
502
502
  if (mayBeEmpty || val) {
503
503
  this.curPrefs[key] = val
504
504
  return undefined
@@ -510,7 +510,7 @@ export default class ConfigObj {
510
510
  * @function load load Config
511
511
  * @returns {void}
512
512
  */
513
- load () {
513
+ load() {
514
514
  this.loadFromURL(this.editor)
515
515
  this.setupCurPrefs(this.editor)
516
516
  }
@@ -535,7 +535,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
535
535
  <br class="clear">
536
536
 
537
537
  <footer>
538
- 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)
538
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
539
539
  </footer>
540
540
 
541
541
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -1462,7 +1462,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
1462
1462
  <br class="clear">
1463
1463
 
1464
1464
  <footer>
1465
- 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)
1465
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
1466
1466
  </footer>
1467
1467
 
1468
1468
  <script> prettyPrint(); </script>
@@ -711,7 +711,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
711
711
  <br class="clear">
712
712
 
713
713
  <footer>
714
- 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)
714
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
715
715
  </footer>
716
716
 
717
717
  <script> prettyPrint(); </script>
@@ -837,7 +837,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
837
837
  <br class="clear">
838
838
 
839
839
  <footer>
840
- 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)
840
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
841
841
  </footer>
842
842
 
843
843
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -1398,7 +1398,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
1398
1398
  <br class="clear">
1399
1399
 
1400
1400
  <footer>
1401
- 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)
1401
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
1402
1402
  </footer>
1403
1403
 
1404
1404
  <script> prettyPrint(); </script>
@@ -1708,7 +1708,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
1708
1708
  <br class="clear">
1709
1709
 
1710
1710
  <footer>
1711
- 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)
1711
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
1712
1712
  </footer>
1713
1713
 
1714
1714
  <script> prettyPrint(); </script>
@@ -1113,7 +1113,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
1113
1113
  <br class="clear">
1114
1114
 
1115
1115
  <footer>
1116
- 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)
1116
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
1117
1117
  </footer>
1118
1118
 
1119
1119
  <script> prettyPrint(); </script>
@@ -40,7 +40,7 @@ class MainMenu {
40
40
  /**
41
41
  * @param {PlainObject} editor svgedit handler
42
42
  */
43
- constructor (editor) {
43
+ constructor(editor) {
44
44
  this.editor = editor
45
45
  /**
46
46
  * @type {Integer}
@@ -52,7 +52,7 @@ class MainMenu {
52
52
  *
53
53
  * @returns {void}
54
54
  */
55
- hideDocProperties () {
55
+ hideDocProperties() {
56
56
  const $imgDialog = $id('se-img-prop')
57
57
  $imgDialog.setAttribute('dialog', 'close')
58
58
  $imgDialog.setAttribute('save', this.editor.configObj.pref('img_save'))
@@ -63,7 +63,7 @@ class MainMenu {
63
63
  *
64
64
  * @returns {void}
65
65
  */
66
- hidePreferences () {
66
+ hidePreferences() {
67
67
  const $editDialog = $id('se-edit-prefs')
68
68
  $editDialog.setAttribute('dialog', 'close')
69
69
  this.editor.configObj.preferences = false
@@ -73,7 +73,7 @@ class MainMenu {
73
73
  * @param {Event} e
74
74
  * @returns {boolean} Whether there were problems saving the document properties
75
75
  */
76
- saveDocProperties (e) {
76
+ saveDocProperties(e) {
77
77
  // set title
78
78
  const { title, w, h, save } = e.detail
79
79
  // set document title
@@ -104,7 +104,7 @@ class MainMenu {
104
104
  * @function module:SVGthis.savePreferences
105
105
  * @returns {Promise&lt;void>}
106
106
  */
107
- async savePreferences (e) {
107
+ async savePreferences(e) {
108
108
  const {
109
109
  lang,
110
110
  bgcolor,
@@ -121,7 +121,7 @@ class MainMenu {
121
121
  // set language
122
122
  if (lang &amp;&amp; lang !== this.editor.configObj.pref('lang')) {
123
123
  this.editor.configObj.pref('lang', lang)
124
- seAlert('Changing the language needs reload')
124
+ // seAlert('Changing the language needs reload')
125
125
  }
126
126
 
127
127
  // set grid setting
@@ -143,7 +143,7 @@ class MainMenu {
143
143
  * @param e
144
144
  * @returns {Promise&lt;void>} Resolves to `undefined`
145
145
  */
146
- async clickExport (e) {
146
+ async clickExport(e) {
147
147
  if (e?.detail?.trigger !== 'ok' || e?.detail?.imgType === undefined) {
148
148
  return
149
149
  }
@@ -185,7 +185,7 @@ class MainMenu {
185
185
  *
186
186
  * @returns {void}
187
187
  */
188
- showDocProperties () {
188
+ showDocProperties() {
189
189
  if (this.editor.docprops) {
190
190
  return
191
191
  }
@@ -211,7 +211,7 @@ class MainMenu {
211
211
  *
212
212
  * @returns {void}
213
213
  */
214
- showPreferences () {
214
+ showPreferences() {
215
215
  if (this.editor.configObj.preferences) {
216
216
  return
217
217
  }
@@ -243,14 +243,14 @@ class MainMenu {
243
243
  *
244
244
  * @returns {void}
245
245
  */
246
- openHomePage () {
246
+ openHomePage() {
247
247
  window.open(homePage, '_blank')
248
248
  }
249
249
 
250
250
  /**
251
251
  * @type {module}
252
252
  */
253
- init () {
253
+ init() {
254
254
  // add Top panel
255
255
  const template = document.createElement('template')
256
256
  template.innerHTML = `
@@ -331,7 +331,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
331
331
  <br class="clear">
332
332
 
333
333
  <footer>
334
- 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)
334
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
335
335
  </footer>
336
336
 
337
337
  <script> prettyPrint(); </script>
@@ -405,7 +405,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
405
405
  <br class="clear">
406
406
 
407
407
  <footer>
408
- 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)
408
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
409
409
  </footer>
410
410
 
411
411
  <script> prettyPrint(); </script>
@@ -788,7 +788,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
788
788
  <br class="clear">
789
789
 
790
790
  <footer>
791
- 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)
791
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
792
792
  </footer>
793
793
 
794
794
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -445,7 +445,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
445
445
  <br class="clear">
446
446
 
447
447
  <footer>
448
- 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)
448
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
449
449
  </footer>
450
450
 
451
451
  <script> prettyPrint(); </script>
@@ -266,7 +266,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
266
266
  <br class="clear">
267
267
 
268
268
  <footer>
269
- 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)
269
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
270
270
  </footer>
271
271
 
272
272
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -253,7 +253,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
253
253
  <br class="clear">
254
254
 
255
255
  <footer>
256
- 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)
256
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
257
257
  </footer>
258
258
 
259
259
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -513,7 +513,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
513
513
  <br class="clear">
514
514
 
515
515
  <footer>
516
- 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)
516
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
517
517
  </footer>
518
518
 
519
519
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -288,7 +288,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
288
288
  <br class="clear">
289
289
 
290
290
  <footer>
291
- 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)
291
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
292
292
  </footer>
293
293
 
294
294
  <script> prettyPrint(); </script>
@@ -288,7 +288,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
288
288
  <br class="clear">
289
289
 
290
290
  <footer>
291
- 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)
291
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
292
292
  </footer>
293
293
 
294
294
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -166,7 +166,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
166
166
  <br class="clear">
167
167
 
168
168
  <footer>
169
- 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)
169
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
170
170
  </footer>
171
171
 
172
172
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- 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)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -5050,7 +5050,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
5050
5050
  <br class="clear">
5051
5051
 
5052
5052
  <footer>
5053
- 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)
5053
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:56 GMT+0100 (czas środkowoeuropejski standardowy)
5054
5054
  </footer>
5055
5055
 
5056
5056
  <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 13:25:29 GMT+0100 (czas środkowoeuropejski standardowy)
197
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
198
198
  </footer>
199
199
 
200
200
  <script> prettyPrint(); </script>
@@ -427,7 +427,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
427
427
  <br class="clear">
428
428
 
429
429
  <footer>
430
- 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)
430
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 12:33:55 GMT+0100 (czas środkowoeuropejski standardowy)
431
431
  </footer>
432
432
 
433
433
  <script> prettyPrint(); </script>