svgedit-pl 7.3.11 → 7.3.12
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/extensions/ext-storage/ext-storage.js +1 -1
- package/dist/editor/extensions/ext-storage/ext-storage.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 +1 -1
- package/docs/jsdoc/EditorStartup.html +1 -1
- package/docs/jsdoc/EditorStartup.js.html +1 -1
- 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 +1 -1
- package/docs/jsdoc/extensions_ext-overview_window_ext-overview_window.js.html +1 -1
- package/docs/jsdoc/extensions_ext-panning_ext-panning.js.html +1 -1
- 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 +1 -2
- 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 +1 -1
- package/docs/jsdoc/module-SVGEditor.Config.html +1 -1
- package/docs/jsdoc/module-SVGEditor.Prefs.html +1 -1
- package/docs/jsdoc/module-SVGEditor.html +1 -1
- 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/extensions/ext-storage/ext-storage.js +0 -1
|
@@ -19,5 +19,5 @@ const e=document.createElement("template");e.innerHTML='<style>\n #dialog_con
|
|
|
19
19
|
* @todo We might provide control of storage settings through the UI besides the
|
|
20
20
|
* initial (or URL-forced) dialog. *
|
|
21
21
|
*/
|
|
22
|
-
const removeStoragePrefCookie=()=>{expireCookie("svgeditstore")},expireCookie=e=>{document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"},replaceStoragePrompt=e=>{e=e?"storagePrompt="+e:"";const t=top.location;t.href.includes("storagePrompt=")?t.href=t.href.replace(/([&?])storagePrompt=[^&]*(&?)/,(function(t,o,n){return(e?o:"")+e+(!e&&n?o:n||"")})):t.href+=(t.href.includes("?")?"&":"?")+e};var t={name:"storage",init(){const e=this,{svgCanvas:t,storage:o}=e,{noStorageOnLoad:n,forceStorage:r,canvasName:s}=e.configObj.curConfig;if(o&&(r||!n&&/(?:^|;\s*)svgeditstore=prefsAndContent/.test(document.cookie))){const t="svgedit-"+s,n=o.getItem(t);if(n){e.loadFromString(n);const r=o.getItem(`title-${t}`)??"bez_tytulu.svg";e.topPanel.updateTitle(r),e.layersPanel.populateLayers()}}const i=document.createElement("se-storage-dialog");i.setAttribute("id","se-storage-dialog"),e.$container.append(i),i.init(e.i18next),i.addEventListener("change",(t=>{if(i.setAttribute("dialog","close"),"ok"===t?.detail?.trigger){if("noPrefsOrContent"!==t?.detail?.select){const e=new URL(top.location).searchParams.get("storagePrompt");if(document.cookie="svgeditstore="+encodeURIComponent(t.detail.select)+"; expires=Fri, 31 Dec 9999 23:59:59 GMT","true"===e&&t?.detail?.checkbox)return void replaceStoragePrompt()}else if(removeStoragePrefCookie(),e.configObj.curConfig.emptyStorageOnDecline&&t?.detail?.checkbox&&(setSvgContentStorage(""),Object.keys(e.curPrefs).forEach((t=>{t="svg-edit-"+t,e.storage&&e.storage.removeItem(t),expireCookie(t)}))),t?.detail?.select&&t?.detail?.checkbox)return void replaceStoragePrompt("false")}else"cancel"===t?.detail?.trigger&&removeStoragePrefCookie();setupBeforeUnloadListener(),e.storagePromptState="closed",e.updateCanvas(!0)}));const setSvgContentStorage=t=>{const n=`svgedit-${e.configObj.curConfig.canvasName}`;t?(o.setItem(n,t),o.setItem(`title-${n}`,e.title)):(o.removeItem(n),o.removeItem(`${n}-title`))},setupBeforeUnloadListener=()=>{window.addEventListener("beforeunload",(function(){if(!/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(document.cookie))return;/(?:^|;\s*)svgeditstore=prefsAndContent/.test(document.cookie)&&setSvgContentStorage(t.getSvgString()),e.setConfig({no_save_warning:!0});const{curPrefs:n}=e.configObj;Object.entries(n).forEach((e=>{let[t,n]=e;t="svg-edit-"+t,void 0!==n&&(o?o.setItem(t,n):window.widget?window.widget.setPreferenceForKey(n,t):(n=encodeURIComponent(n),document.cookie=encodeURIComponent(t)+"="+n+"; expires=Fri, 31 Dec 9999 23:59:59 GMT"))}))}))};let a=!1;return{name:"storage",callback(){const t=new URL(top.location).searchParams.get("storagePrompt");if(!a)if(a=!0,r||"true"!==t&&("false"===t||/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(document.cookie)))n&&!r||setupBeforeUnloadListener();else{e.storagePromptState="waiting";
|
|
22
|
+
const removeStoragePrefCookie=()=>{expireCookie("svgeditstore")},expireCookie=e=>{document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"},replaceStoragePrompt=e=>{e=e?"storagePrompt="+e:"";const t=top.location;t.href.includes("storagePrompt=")?t.href=t.href.replace(/([&?])storagePrompt=[^&]*(&?)/,(function(t,o,n){return(e?o:"")+e+(!e&&n?o:n||"")})):t.href+=(t.href.includes("?")?"&":"?")+e};var t={name:"storage",init(){const e=this,{svgCanvas:t,storage:o}=e,{noStorageOnLoad:n,forceStorage:r,canvasName:s}=e.configObj.curConfig;if(o&&(r||!n&&/(?:^|;\s*)svgeditstore=prefsAndContent/.test(document.cookie))){const t="svgedit-"+s,n=o.getItem(t);if(n){e.loadFromString(n);const r=o.getItem(`title-${t}`)??"bez_tytulu.svg";e.topPanel.updateTitle(r),e.layersPanel.populateLayers()}}const i=document.createElement("se-storage-dialog");i.setAttribute("id","se-storage-dialog"),e.$container.append(i),i.init(e.i18next),i.addEventListener("change",(t=>{if(i.setAttribute("dialog","close"),"ok"===t?.detail?.trigger){if("noPrefsOrContent"!==t?.detail?.select){const e=new URL(top.location).searchParams.get("storagePrompt");if(document.cookie="svgeditstore="+encodeURIComponent(t.detail.select)+"; expires=Fri, 31 Dec 9999 23:59:59 GMT","true"===e&&t?.detail?.checkbox)return void replaceStoragePrompt()}else if(removeStoragePrefCookie(),e.configObj.curConfig.emptyStorageOnDecline&&t?.detail?.checkbox&&(setSvgContentStorage(""),Object.keys(e.curPrefs).forEach((t=>{t="svg-edit-"+t,e.storage&&e.storage.removeItem(t),expireCookie(t)}))),t?.detail?.select&&t?.detail?.checkbox)return void replaceStoragePrompt("false")}else"cancel"===t?.detail?.trigger&&removeStoragePrefCookie();setupBeforeUnloadListener(),e.storagePromptState="closed",e.updateCanvas(!0)}));const setSvgContentStorage=t=>{const n=`svgedit-${e.configObj.curConfig.canvasName}`;t?(o.setItem(n,t),o.setItem(`title-${n}`,e.title)):(o.removeItem(n),o.removeItem(`${n}-title`))},setupBeforeUnloadListener=()=>{window.addEventListener("beforeunload",(function(){if(!/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(document.cookie))return;/(?:^|;\s*)svgeditstore=prefsAndContent/.test(document.cookie)&&setSvgContentStorage(t.getSvgString()),e.setConfig({no_save_warning:!0});const{curPrefs:n}=e.configObj;Object.entries(n).forEach((e=>{let[t,n]=e;t="svg-edit-"+t,void 0!==n&&(o?o.setItem(t,n):window.widget?window.widget.setPreferenceForKey(n,t):(n=encodeURIComponent(n),document.cookie=encodeURIComponent(t)+"="+n+"; expires=Fri, 31 Dec 9999 23:59:59 GMT"))}))}))};let a=!1;return{name:"storage",callback(){const t=new URL(top.location).searchParams.get("storagePrompt");if(!a)if(a=!0,r||"true"!==t&&("false"===t||/(?:^|;\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(document.cookie)))n&&!r||setupBeforeUnloadListener();else{e.storagePromptState="waiting";document.getElementById("se-storage-dialog").dispatchEvent(new CustomEvent("change",{detail:{trigger:"ok",select:"prefsOnly",checkbox:!0}}))}}}}};export{t as default};
|
|
23
23
|
//# sourceMappingURL=ext-storage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ext-storage.js","sources":["../../../../src/editor/extensions/ext-storage/storageDialog.js","../../../../src/editor/extensions/ext-storage/ext-storage.js"],"sourcesContent":["/* globals svgEditor */\nimport storageDialogHTML from './storageDialog.html'\n\nconst template = document.createElement('template')\ntemplate.innerHTML = storageDialogHTML\n/**\n * @class SeStorageDialog\n */\nexport class SeStorageDialog extends HTMLElement {\n /**\n * @function constructor\n */\n constructor() {\n super()\n // create the shadowDom and insert the template\n this._shadowRoot = this.attachShadow({ mode: 'open' })\n this._shadowRoot.append(template.content.cloneNode(true))\n this.$dialog = this._shadowRoot.querySelector('#dialog_box')\n this.$storage = this._shadowRoot.querySelector('#js-storage')\n this.$okBtn = this._shadowRoot.querySelector('#storage_ok')\n this.$cancelBtn = this._shadowRoot.querySelector('#storage_cancel')\n this.$storageInput = this._shadowRoot.querySelector('#se-storage-pref')\n this.$rememberInput = this._shadowRoot.querySelector('#se-remember')\n }\n\n /**\n * @function init\n * @param {any} name\n * @returns {void}\n */\n init(i18next) {\n this.setAttribute('common-ok', i18next.t('common.ok'))\n this.setAttribute('common-cancel', i18next.t('common.cancel'))\n this.setAttribute('notify-editor_pref_msg', i18next.t('notification.editorPreferencesMsg'))\n this.setAttribute('properties-prefs_and_content', i18next.t('properties.prefs_and_content'))\n this.setAttribute('properties-prefs_only', i18next.t('properties.prefs_only'))\n this.setAttribute('properties-no_prefs_or_content', i18next.t('properties.no_prefs_or_content'))\n this.setAttribute('tools-remember_this_choice', i18next.t('tools.remember_this_choice'))\n this.setAttribute('tools-remember_this_choice_title', i18next.t('tools.remember_this_choice_title'))\n }\n\n /**\n * @function observedAttributes\n * @returns {any} observed\n */\n static get observedAttributes() {\n return ['dialog', 'storage', 'common-ok', 'common-cancel', 'notify-editor_pref_msg', 'properties-prefs_and_content', 'tools-remember_this_choice', 'tools-remember_this_choice_title', 'properties-prefs_only', 'properties-no_prefs_or_content']\n }\n\n /**\n * @function attributeChangedCallback\n * @param {string} name\n * @param {string} oldValue\n * @param {string} newValue\n * @returns {void}\n */\n attributeChangedCallback(name, oldValue, newValue) {\n let node\n switch (name) {\n case 'dialog':\n if (newValue === 'open') {\n this.$dialog.open()\n } else {\n this.$dialog.close()\n }\n break\n case 'storage':\n if (newValue === 'true') {\n this.$storageInput.options[0].disabled = false\n } else {\n this.$storageInput.options[0].disabled = true\n }\n break\n case 'common-ok':\n this.$okBtn.textContent = newValue\n break\n case 'common-cancel':\n this.$cancelBtn.textContent = newValue\n break\n case 'notify-editor_pref_msg':\n node = this._shadowRoot.querySelector('#notificationNote')\n node.textContent = newValue\n break\n case 'properties-prefs_and_content':\n node = this._shadowRoot.querySelector('#prefsAndContent')\n node.textContent = newValue\n break\n case 'properties-prefs_only':\n node = this._shadowRoot.querySelector('#prefsOnly')\n node.textContent = newValue\n break\n case 'properties-no_prefs_or_content':\n node = this._shadowRoot.querySelector('#noPrefsOrContent')\n node.textContent = newValue\n break\n case 'tools-remember_this_choice':\n node = this._shadowRoot.querySelector('#se-remember-title')\n node.prepend(newValue)\n break\n case 'tools-remember_this_choice_title':\n node = this._shadowRoot.querySelector('#se-remember-title')\n node.setAttribute('title', newValue)\n break\n default:\n // super.attributeChangedCallback(name, oldValue, newValue);\n break\n }\n }\n\n /**\n * @function get\n * @returns {any}\n */\n get dialog() {\n return this.getAttribute('dialog')\n }\n\n /**\n * @function set\n * @returns {void}\n */\n set dialog(value) {\n this.setAttribute('dialog', value)\n }\n\n /**\n * @function connectedCallback\n * @returns {void}\n */\n connectedCallback() {\n const onSubmitHandler = (e, action) => {\n const triggerEvent = new CustomEvent('change',\n {\n detail: {\n trigger: action,\n select: this.$storageInput.value,\n checkbox: this.$rememberInput.checked\n }\n })\n this.dispatchEvent(triggerEvent)\n }\n svgEditor.$click(this.$okBtn, (evt) => onSubmitHandler(evt, 'ok'))\n svgEditor.$click(this.$cancelBtn, (evt) => onSubmitHandler(evt, 'cancel'))\n }\n}\n\n// Register\ncustomElements.define('se-storage-dialog', SeStorageDialog)\n","/**\n * @file ext-storage.js\n *\n * This extension allows automatic saving of the SVG canvas contents upon\n * page unload (which can later be automatically retrieved upon future\n * editor loads).\n *\n * The functionality was originally part of the SVG Editor, but moved to a\n * separate extension to make the setting behavior optional, and adapted\n * to inform the user of its setting of local data.\n *\n * @license MIT\n *\n * @copyright 2010 Brett Zamir\n * @todo Revisit on whether to use `svgEditor.pref` over directly setting\n * `curConfig` in all extensions for a more public API (not only for `extPath`\n * and `imagePath`, but other currently used config in the extensions)\n * @todo We might provide control of storage settings through the UI besides the\n * initial (or URL-forced) dialog. *\n */\nimport './storageDialog.js'\n\n/**\n * Expire the storage cookie.\n * @returns {void}\n */\nconst removeStoragePrefCookie = () => {\n expireCookie('svgeditstore')\n}\n/**\n * Set the cookie to expire.\n * @param {string} cookie\n * @returns {void}\n */\nconst expireCookie = cookie => {\n document.cookie =\n encodeURIComponent(cookie) + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT'\n}\n\n/**\n * Replace `storagePrompt` parameter within URL.\n * @param {string} val\n * @returns {void}\n * @todo Replace the string manipulation with `searchParams.set`\n */\nconst replaceStoragePrompt = val => {\n val = val ? 'storagePrompt=' + val : ''\n const loc = top.location // Allow this to work with the embedded editor as well\n if (loc.href.includes('storagePrompt=')) {\n loc.href = loc.href.replace(/([&?])storagePrompt=[^&]*(&?)/, function (\n n0,\n n1,\n amp\n ) {\n return (val ? n1 : '') + val + (!val && amp ? n1 : amp || '')\n })\n } else {\n loc.href += (loc.href.includes('?') ? '&' : '?') + val\n }\n}\n\nexport default {\n name: 'storage',\n init() {\n const svgEditor = this\n const { svgCanvas, storage } = svgEditor\n\n // We could empty any already-set data for users when they decline storage,\n // but it would be a risk for users who wanted to store but accidentally\n // said \"no\"; instead, we'll let those who already set it, delete it themselves;\n // to change, set the \"emptyStorageOnDecline\" config setting to true\n // in svgedit-config-iife.js/svgedit-config-es.js.\n const {\n // When the code in svg-editor.js prevents local storage on load per\n // user request, we also prevent storing on unload here so as to\n // avoid third-party sites making XSRF requests or providing links\n // which would cause the user's local storage not to load and then\n // upon page unload (such as the user closing the window), the storage\n // would thereby be set with an empty value, erasing any of the\n // user's prior work. To change this behavior so that no use of storage\n // or adding of new storage takes place regardless of settings, set\n // the \"noStorageOnLoad\" config setting to true in svgedit-config-*.js.\n noStorageOnLoad,\n forceStorage,\n canvasName\n } = svgEditor.configObj.curConfig\n\n // LOAD STORAGE CONTENT IF ANY\n if (\n storage && // Cookies do not have enough available memory to hold large documents\n (forceStorage ||\n (!noStorageOnLoad &&\n /(?:^|;\\s*)svgeditstore=prefsAndContent/.test(document.cookie)))\n ) {\n const key = 'svgedit-' + canvasName\n const cached = storage.getItem(key)\n if (cached) {\n svgEditor.loadFromString(cached)\n const name = storage.getItem(`title-${key}`) ?? 'bez_tytulu.svg'\n svgEditor.topPanel.updateTitle(name)\n svgEditor.layersPanel.populateLayers()\n }\n }\n\n // storageDialog added to DOM\n const storageBox = document.createElement('se-storage-dialog')\n storageBox.setAttribute('id', 'se-storage-dialog')\n svgEditor.$container.append(storageBox)\n storageBox.init(svgEditor.i18next)\n\n // manage the change in the storageDialog\n\n storageBox.addEventListener('change', e => {\n storageBox.setAttribute('dialog', 'close')\n if (e?.detail?.trigger === 'ok') {\n if (e?.detail?.select !== 'noPrefsOrContent') {\n const storagePrompt = new URL(top.location).searchParams.get(\n 'storagePrompt'\n )\n document.cookie =\n 'svgeditstore=' +\n encodeURIComponent(e.detail.select) +\n '; expires=Fri, 31 Dec 9999 23:59:59 GMT'\n if (storagePrompt === 'true' && e?.detail?.checkbox) {\n replaceStoragePrompt()\n return\n }\n } else {\n removeStoragePrefCookie()\n if (\n svgEditor.configObj.curConfig.emptyStorageOnDecline &&\n e?.detail?.checkbox\n ) {\n setSvgContentStorage('')\n Object.keys(svgEditor.curPrefs).forEach(name => {\n name = 'svg-edit-' + name\n if (svgEditor.storage) {\n svgEditor.storage.removeItem(name)\n }\n expireCookie(name)\n })\n }\n if (e?.detail?.select && e?.detail?.checkbox) {\n replaceStoragePrompt('false')\n return\n }\n }\n } else if (e?.detail?.trigger === 'cancel') {\n removeStoragePrefCookie()\n }\n setupBeforeUnloadListener()\n svgEditor.storagePromptState = 'closed'\n svgEditor.updateCanvas(true)\n })\n\n /**\n * Sets SVG content as a string with \"svgedit-\" and the current\n * canvas name as namespace.\n * @param {string} svgString\n * @returns {void}\n */\n const setSvgContentStorage = svgString => {\n const name = `svgedit-${svgEditor.configObj.curConfig.canvasName}`\n if (!svgString) {\n storage.removeItem(name)\n storage.removeItem(`${name}-title`)\n } else {\n storage.setItem(name, svgString)\n storage.setItem(`title-${name}`, svgEditor.title)\n }\n }\n\n /**\n * Listen for unloading: If and only if opted in by the user, set the content\n * document and preferences into storage:\n * 1. Prevent save warnings (since we're automatically saving unsaved\n * content into storage)\n * 2. Use localStorage to set SVG contents (potentially too large to allow in cookies)\n * 3. Use localStorage (where available) or cookies to set preferences.\n * @returns {void}\n */\n const setupBeforeUnloadListener = () => {\n window.addEventListener('beforeunload', function () {\n // Don't save anything unless the user opted in to storage\n if (\n !/(?:^|;\\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(\n document.cookie\n )\n ) {\n return\n }\n if (/(?:^|;\\s*)svgeditstore=prefsAndContent/.test(document.cookie)) {\n setSvgContentStorage(svgCanvas.getSvgString())\n }\n\n svgEditor.setConfig({ no_save_warning: true }) // No need for explicit saving at all once storage is on\n\n const { curPrefs } = svgEditor.configObj\n\n Object.entries(curPrefs).forEach(([key, val]) => {\n const store = val !== undefined\n key = 'svg-edit-' + key\n if (!store) {\n return\n }\n if (storage) {\n storage.setItem(key, val)\n } else if (window.widget) {\n window.widget.setPreferenceForKey(val, key)\n } else {\n val = encodeURIComponent(val)\n document.cookie =\n encodeURIComponent(key) +\n '=' +\n val +\n '; expires=Fri, 31 Dec 9999 23:59:59 GMT'\n }\n })\n })\n }\n\n let loaded = false\n return {\n name: 'storage',\n callback() {\n const storagePrompt = new URL(top.location).searchParams.get(\n 'storagePrompt'\n )\n // No need to run this one-time dialog again just because the user\n // changes the language\n if (loaded) {\n return\n }\n loaded = true\n\n // Note that the following can load even if \"noStorageOnLoad\" is\n // set to false; to avoid any chance of storage, avoid this\n // extension! (and to avoid using any prior storage, set the\n // config option \"noStorageOnLoad\" to true).\n if (\n !forceStorage &&\n // If the URL has been explicitly set to always prompt the\n // user (e.g., so one can be pointed to a URL where one\n // can alter one's settings, say to prevent future storage)...\n (storagePrompt === 'true' ||\n // ...or...if the URL at least doesn't explicitly prevent a\n // storage prompt (as we use for users who\n // don't want to set cookies at all but who don't want\n // continual prompts about it)...\n (storagePrompt !== 'false' &&\n // ...and this user hasn't previously indicated a desire for storage\n !/(?:^|;\\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(\n document.cookie\n )))\n // ...then show the storage prompt.\n ) {\n const options = Boolean(storage)\n // Open select-with-checkbox dialog\n // From svg-editor.js\n svgEditor.storagePromptState = 'waiting'\n const $storageDialog = document.getElementById('se-storage-dialog');\n\n const forceSavePreferencesLocally = true;\n\n if (forceSavePreferencesLocally) {\n console.log('will dispatch', $storageDialog)\n $storageDialog.dispatchEvent(\n new CustomEvent(\n 'change',\n {\n detail: {\n \"trigger\": \"ok\",\n \"select\": \"prefsOnly\",\n \"checkbox\": true\n }\n }\n )\n )\n } else {\n $storageDialog.setAttribute('dialog', 'open');\n $storageDialog.setAttribute('storage', options);\n }\n } else if (!noStorageOnLoad || forceStorage) {\n setupBeforeUnloadListener()\n }\n }\n }\n }\n}\n"],"names":["template","document","createElement","innerHTML","SeStorageDialog","HTMLElement","constructor","super","this","_shadowRoot","attachShadow","mode","append","content","cloneNode","$dialog","querySelector","$storage","$okBtn","$cancelBtn","$storageInput","$rememberInput","init","i18next","setAttribute","t","observedAttributes","attributeChangedCallback","name","oldValue","newValue","node","open","close","options","disabled","textContent","prepend","dialog","getAttribute","value","connectedCallback","onSubmitHandler","e","action","triggerEvent","CustomEvent","detail","trigger","select","checkbox","checked","dispatchEvent","svgEditor","$click","evt","customElements","define","removeStoragePrefCookie","expireCookie","cookie","encodeURIComponent","replaceStoragePrompt","val","loc","top","location","href","includes","replace","n0","n1","amp","extStorage","svgCanvas","storage","noStorageOnLoad","forceStorage","canvasName","configObj","curConfig","test","key","cached","getItem","loadFromString","topPanel","updateTitle","layersPanel","populateLayers","storageBox","$container","addEventListener","storagePrompt","URL","searchParams","get","emptyStorageOnDecline","setSvgContentStorage","Object","keys","curPrefs","forEach","removeItem","setupBeforeUnloadListener","storagePromptState","updateCanvas","svgString","setItem","title","window","getSvgString","setConfig","no_save_warning","entries","_ref","undefined","widget","setPreferenceForKey","loaded","callback","$storageDialog","getElementById","console","log"],"mappings":"AAGA,MAAMA,EAAWC,SAASC,cAAc,YACxCF,EAASG,43DAIF,MAAMC,wBAAwBC,YAInCC,WAAAA,GACEC,QAEAC,KAAKC,YAAcD,KAAKE,aAAa,CAAEC,KAAM,SAC7CH,KAAKC,YAAYG,OAAOZ,EAASa,QAAQC,WAAU,IACnDN,KAAKO,QAAUP,KAAKC,YAAYO,cAAc,eAC9CR,KAAKS,SAAWT,KAAKC,YAAYO,cAAc,eAC/CR,KAAKU,OAASV,KAAKC,YAAYO,cAAc,eAC7CR,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3,"file":"ext-storage.js","sources":["../../../../src/editor/extensions/ext-storage/storageDialog.js","../../../../src/editor/extensions/ext-storage/ext-storage.js"],"sourcesContent":["/* globals svgEditor */\nimport storageDialogHTML from './storageDialog.html'\n\nconst template = document.createElement('template')\ntemplate.innerHTML = storageDialogHTML\n/**\n * @class SeStorageDialog\n */\nexport class SeStorageDialog extends HTMLElement {\n /**\n * @function constructor\n */\n constructor() {\n super()\n // create the shadowDom and insert the template\n this._shadowRoot = this.attachShadow({ mode: 'open' })\n this._shadowRoot.append(template.content.cloneNode(true))\n this.$dialog = this._shadowRoot.querySelector('#dialog_box')\n this.$storage = this._shadowRoot.querySelector('#js-storage')\n this.$okBtn = this._shadowRoot.querySelector('#storage_ok')\n this.$cancelBtn = this._shadowRoot.querySelector('#storage_cancel')\n this.$storageInput = this._shadowRoot.querySelector('#se-storage-pref')\n this.$rememberInput = this._shadowRoot.querySelector('#se-remember')\n }\n\n /**\n * @function init\n * @param {any} name\n * @returns {void}\n */\n init(i18next) {\n this.setAttribute('common-ok', i18next.t('common.ok'))\n this.setAttribute('common-cancel', i18next.t('common.cancel'))\n this.setAttribute('notify-editor_pref_msg', i18next.t('notification.editorPreferencesMsg'))\n this.setAttribute('properties-prefs_and_content', i18next.t('properties.prefs_and_content'))\n this.setAttribute('properties-prefs_only', i18next.t('properties.prefs_only'))\n this.setAttribute('properties-no_prefs_or_content', i18next.t('properties.no_prefs_or_content'))\n this.setAttribute('tools-remember_this_choice', i18next.t('tools.remember_this_choice'))\n this.setAttribute('tools-remember_this_choice_title', i18next.t('tools.remember_this_choice_title'))\n }\n\n /**\n * @function observedAttributes\n * @returns {any} observed\n */\n static get observedAttributes() {\n return ['dialog', 'storage', 'common-ok', 'common-cancel', 'notify-editor_pref_msg', 'properties-prefs_and_content', 'tools-remember_this_choice', 'tools-remember_this_choice_title', 'properties-prefs_only', 'properties-no_prefs_or_content']\n }\n\n /**\n * @function attributeChangedCallback\n * @param {string} name\n * @param {string} oldValue\n * @param {string} newValue\n * @returns {void}\n */\n attributeChangedCallback(name, oldValue, newValue) {\n let node\n switch (name) {\n case 'dialog':\n if (newValue === 'open') {\n this.$dialog.open()\n } else {\n this.$dialog.close()\n }\n break\n case 'storage':\n if (newValue === 'true') {\n this.$storageInput.options[0].disabled = false\n } else {\n this.$storageInput.options[0].disabled = true\n }\n break\n case 'common-ok':\n this.$okBtn.textContent = newValue\n break\n case 'common-cancel':\n this.$cancelBtn.textContent = newValue\n break\n case 'notify-editor_pref_msg':\n node = this._shadowRoot.querySelector('#notificationNote')\n node.textContent = newValue\n break\n case 'properties-prefs_and_content':\n node = this._shadowRoot.querySelector('#prefsAndContent')\n node.textContent = newValue\n break\n case 'properties-prefs_only':\n node = this._shadowRoot.querySelector('#prefsOnly')\n node.textContent = newValue\n break\n case 'properties-no_prefs_or_content':\n node = this._shadowRoot.querySelector('#noPrefsOrContent')\n node.textContent = newValue\n break\n case 'tools-remember_this_choice':\n node = this._shadowRoot.querySelector('#se-remember-title')\n node.prepend(newValue)\n break\n case 'tools-remember_this_choice_title':\n node = this._shadowRoot.querySelector('#se-remember-title')\n node.setAttribute('title', newValue)\n break\n default:\n // super.attributeChangedCallback(name, oldValue, newValue);\n break\n }\n }\n\n /**\n * @function get\n * @returns {any}\n */\n get dialog() {\n return this.getAttribute('dialog')\n }\n\n /**\n * @function set\n * @returns {void}\n */\n set dialog(value) {\n this.setAttribute('dialog', value)\n }\n\n /**\n * @function connectedCallback\n * @returns {void}\n */\n connectedCallback() {\n const onSubmitHandler = (e, action) => {\n const triggerEvent = new CustomEvent('change',\n {\n detail: {\n trigger: action,\n select: this.$storageInput.value,\n checkbox: this.$rememberInput.checked\n }\n })\n this.dispatchEvent(triggerEvent)\n }\n svgEditor.$click(this.$okBtn, (evt) => onSubmitHandler(evt, 'ok'))\n svgEditor.$click(this.$cancelBtn, (evt) => onSubmitHandler(evt, 'cancel'))\n }\n}\n\n// Register\ncustomElements.define('se-storage-dialog', SeStorageDialog)\n","/**\n * @file ext-storage.js\n *\n * This extension allows automatic saving of the SVG canvas contents upon\n * page unload (which can later be automatically retrieved upon future\n * editor loads).\n *\n * The functionality was originally part of the SVG Editor, but moved to a\n * separate extension to make the setting behavior optional, and adapted\n * to inform the user of its setting of local data.\n *\n * @license MIT\n *\n * @copyright 2010 Brett Zamir\n * @todo Revisit on whether to use `svgEditor.pref` over directly setting\n * `curConfig` in all extensions for a more public API (not only for `extPath`\n * and `imagePath`, but other currently used config in the extensions)\n * @todo We might provide control of storage settings through the UI besides the\n * initial (or URL-forced) dialog. *\n */\nimport './storageDialog.js'\n\n/**\n * Expire the storage cookie.\n * @returns {void}\n */\nconst removeStoragePrefCookie = () => {\n expireCookie('svgeditstore')\n}\n/**\n * Set the cookie to expire.\n * @param {string} cookie\n * @returns {void}\n */\nconst expireCookie = cookie => {\n document.cookie =\n encodeURIComponent(cookie) + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT'\n}\n\n/**\n * Replace `storagePrompt` parameter within URL.\n * @param {string} val\n * @returns {void}\n * @todo Replace the string manipulation with `searchParams.set`\n */\nconst replaceStoragePrompt = val => {\n val = val ? 'storagePrompt=' + val : ''\n const loc = top.location // Allow this to work with the embedded editor as well\n if (loc.href.includes('storagePrompt=')) {\n loc.href = loc.href.replace(/([&?])storagePrompt=[^&]*(&?)/, function (\n n0,\n n1,\n amp\n ) {\n return (val ? n1 : '') + val + (!val && amp ? n1 : amp || '')\n })\n } else {\n loc.href += (loc.href.includes('?') ? '&' : '?') + val\n }\n}\n\nexport default {\n name: 'storage',\n init() {\n const svgEditor = this\n const { svgCanvas, storage } = svgEditor\n\n // We could empty any already-set data for users when they decline storage,\n // but it would be a risk for users who wanted to store but accidentally\n // said \"no\"; instead, we'll let those who already set it, delete it themselves;\n // to change, set the \"emptyStorageOnDecline\" config setting to true\n // in svgedit-config-iife.js/svgedit-config-es.js.\n const {\n // When the code in svg-editor.js prevents local storage on load per\n // user request, we also prevent storing on unload here so as to\n // avoid third-party sites making XSRF requests or providing links\n // which would cause the user's local storage not to load and then\n // upon page unload (such as the user closing the window), the storage\n // would thereby be set with an empty value, erasing any of the\n // user's prior work. To change this behavior so that no use of storage\n // or adding of new storage takes place regardless of settings, set\n // the \"noStorageOnLoad\" config setting to true in svgedit-config-*.js.\n noStorageOnLoad,\n forceStorage,\n canvasName\n } = svgEditor.configObj.curConfig\n\n // LOAD STORAGE CONTENT IF ANY\n if (\n storage && // Cookies do not have enough available memory to hold large documents\n (forceStorage ||\n (!noStorageOnLoad &&\n /(?:^|;\\s*)svgeditstore=prefsAndContent/.test(document.cookie)))\n ) {\n const key = 'svgedit-' + canvasName\n const cached = storage.getItem(key)\n if (cached) {\n svgEditor.loadFromString(cached)\n const name = storage.getItem(`title-${key}`) ?? 'bez_tytulu.svg'\n svgEditor.topPanel.updateTitle(name)\n svgEditor.layersPanel.populateLayers()\n }\n }\n\n // storageDialog added to DOM\n const storageBox = document.createElement('se-storage-dialog')\n storageBox.setAttribute('id', 'se-storage-dialog')\n svgEditor.$container.append(storageBox)\n storageBox.init(svgEditor.i18next)\n\n // manage the change in the storageDialog\n\n storageBox.addEventListener('change', e => {\n storageBox.setAttribute('dialog', 'close')\n if (e?.detail?.trigger === 'ok') {\n if (e?.detail?.select !== 'noPrefsOrContent') {\n const storagePrompt = new URL(top.location).searchParams.get(\n 'storagePrompt'\n )\n document.cookie =\n 'svgeditstore=' +\n encodeURIComponent(e.detail.select) +\n '; expires=Fri, 31 Dec 9999 23:59:59 GMT'\n if (storagePrompt === 'true' && e?.detail?.checkbox) {\n replaceStoragePrompt()\n return\n }\n } else {\n removeStoragePrefCookie()\n if (\n svgEditor.configObj.curConfig.emptyStorageOnDecline &&\n e?.detail?.checkbox\n ) {\n setSvgContentStorage('')\n Object.keys(svgEditor.curPrefs).forEach(name => {\n name = 'svg-edit-' + name\n if (svgEditor.storage) {\n svgEditor.storage.removeItem(name)\n }\n expireCookie(name)\n })\n }\n if (e?.detail?.select && e?.detail?.checkbox) {\n replaceStoragePrompt('false')\n return\n }\n }\n } else if (e?.detail?.trigger === 'cancel') {\n removeStoragePrefCookie()\n }\n setupBeforeUnloadListener()\n svgEditor.storagePromptState = 'closed'\n svgEditor.updateCanvas(true)\n })\n\n /**\n * Sets SVG content as a string with \"svgedit-\" and the current\n * canvas name as namespace.\n * @param {string} svgString\n * @returns {void}\n */\n const setSvgContentStorage = svgString => {\n const name = `svgedit-${svgEditor.configObj.curConfig.canvasName}`\n if (!svgString) {\n storage.removeItem(name)\n storage.removeItem(`${name}-title`)\n } else {\n storage.setItem(name, svgString)\n storage.setItem(`title-${name}`, svgEditor.title)\n }\n }\n\n /**\n * Listen for unloading: If and only if opted in by the user, set the content\n * document and preferences into storage:\n * 1. Prevent save warnings (since we're automatically saving unsaved\n * content into storage)\n * 2. Use localStorage to set SVG contents (potentially too large to allow in cookies)\n * 3. Use localStorage (where available) or cookies to set preferences.\n * @returns {void}\n */\n const setupBeforeUnloadListener = () => {\n window.addEventListener('beforeunload', function () {\n // Don't save anything unless the user opted in to storage\n if (\n !/(?:^|;\\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(\n document.cookie\n )\n ) {\n return\n }\n if (/(?:^|;\\s*)svgeditstore=prefsAndContent/.test(document.cookie)) {\n setSvgContentStorage(svgCanvas.getSvgString())\n }\n\n svgEditor.setConfig({ no_save_warning: true }) // No need for explicit saving at all once storage is on\n\n const { curPrefs } = svgEditor.configObj\n\n Object.entries(curPrefs).forEach(([key, val]) => {\n const store = val !== undefined\n key = 'svg-edit-' + key\n if (!store) {\n return\n }\n if (storage) {\n storage.setItem(key, val)\n } else if (window.widget) {\n window.widget.setPreferenceForKey(val, key)\n } else {\n val = encodeURIComponent(val)\n document.cookie =\n encodeURIComponent(key) +\n '=' +\n val +\n '; expires=Fri, 31 Dec 9999 23:59:59 GMT'\n }\n })\n })\n }\n\n let loaded = false\n return {\n name: 'storage',\n callback() {\n const storagePrompt = new URL(top.location).searchParams.get(\n 'storagePrompt'\n )\n // No need to run this one-time dialog again just because the user\n // changes the language\n if (loaded) {\n return\n }\n loaded = true\n\n // Note that the following can load even if \"noStorageOnLoad\" is\n // set to false; to avoid any chance of storage, avoid this\n // extension! (and to avoid using any prior storage, set the\n // config option \"noStorageOnLoad\" to true).\n if (\n !forceStorage &&\n // If the URL has been explicitly set to always prompt the\n // user (e.g., so one can be pointed to a URL where one\n // can alter one's settings, say to prevent future storage)...\n (storagePrompt === 'true' ||\n // ...or...if the URL at least doesn't explicitly prevent a\n // storage prompt (as we use for users who\n // don't want to set cookies at all but who don't want\n // continual prompts about it)...\n (storagePrompt !== 'false' &&\n // ...and this user hasn't previously indicated a desire for storage\n !/(?:^|;\\s*)svgeditstore=(?:prefsAndContent|prefsOnly)/.test(\n document.cookie\n )))\n // ...then show the storage prompt.\n ) {\n const options = Boolean(storage)\n // Open select-with-checkbox dialog\n // From svg-editor.js\n svgEditor.storagePromptState = 'waiting'\n const $storageDialog = document.getElementById('se-storage-dialog');\n\n const forceSavePreferencesLocally = true;\n\n if (forceSavePreferencesLocally) {\n $storageDialog.dispatchEvent(\n new CustomEvent(\n 'change',\n {\n detail: {\n \"trigger\": \"ok\",\n \"select\": \"prefsOnly\",\n \"checkbox\": true\n }\n }\n )\n )\n } else {\n $storageDialog.setAttribute('dialog', 'open');\n $storageDialog.setAttribute('storage', options);\n }\n } else if (!noStorageOnLoad || forceStorage) {\n setupBeforeUnloadListener()\n }\n }\n }\n }\n}\n"],"names":["template","document","createElement","innerHTML","SeStorageDialog","HTMLElement","constructor","super","this","_shadowRoot","attachShadow","mode","append","content","cloneNode","$dialog","querySelector","$storage","$okBtn","$cancelBtn","$storageInput","$rememberInput","init","i18next","setAttribute","t","observedAttributes","attributeChangedCallback","name","oldValue","newValue","node","open","close","options","disabled","textContent","prepend","dialog","getAttribute","value","connectedCallback","onSubmitHandler","e","action","triggerEvent","CustomEvent","detail","trigger","select","checkbox","checked","dispatchEvent","svgEditor","$click","evt","customElements","define","removeStoragePrefCookie","expireCookie","cookie","encodeURIComponent","replaceStoragePrompt","val","loc","top","location","href","includes","replace","n0","n1","amp","extStorage","svgCanvas","storage","noStorageOnLoad","forceStorage","canvasName","configObj","curConfig","test","key","cached","getItem","loadFromString","topPanel","updateTitle","layersPanel","populateLayers","storageBox","$container","addEventListener","storagePrompt","URL","searchParams","get","emptyStorageOnDecline","setSvgContentStorage","Object","keys","curPrefs","forEach","removeItem","setupBeforeUnloadListener","storagePromptState","updateCanvas","svgString","setItem","title","window","getSvgString","setConfig","no_save_warning","entries","_ref","undefined","widget","setPreferenceForKey","loaded","callback","getElementById"],"mappings":"AAGA,MAAMA,EAAWC,SAASC,cAAc,YACxCF,EAASG,43DAIF,MAAMC,wBAAwBC,YAInCC,WAAAA,GACEC,QAEAC,KAAKC,YAAcD,KAAKE,aAAa,CAAEC,KAAM,SAC7CH,KAAKC,YAAYG,OAAOZ,EAASa,QAAQC,WAAU,IACnDN,KAAKO,QAAUP,KAAKC,YAAYO,cAAc,eAC9CR,KAAKS,SAAWT,KAAKC,YAAYO,cAAc,eAC/CR,KAAKU,OAASV,KAAKC,YAAYO,cAAc,eAC7CR,KAAKW,WAAaX,KAAKC,YAAYO,cAAc,mBACjDR,KAAKY,cAAgBZ,KAAKC,YAAYO,cAAc,oBACpDR,KAAKa,eAAiBb,KAAKC,YAAYO,cAAc,eACvD,CAOAM,IAAAA,CAAKC,GACHf,KAAKgB,aAAa,YAAaD,EAAQE,EAAE,cACzCjB,KAAKgB,aAAa,gBAAiBD,EAAQE,EAAE,kBAC7CjB,KAAKgB,aAAa,yBAA0BD,EAAQE,EAAE,sCACtDjB,KAAKgB,aAAa,+BAAgCD,EAAQE,EAAE,iCAC5DjB,KAAKgB,aAAa,wBAAyBD,EAAQE,EAAE,0BACrDjB,KAAKgB,aAAa,iCAAkCD,EAAQE,EAAE,mCAC9DjB,KAAKgB,aAAa,6BAA8BD,EAAQE,EAAE,+BAC1DjB,KAAKgB,aAAa,mCAAoCD,EAAQE,EAAE,oCAClE,CAMA,6BAAWC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,IAKVY,EACFA,EAAQiC,QAAQ1B,EAAKnB,GACZ+C,OAAOO,OAChBP,OAAOO,OAAOC,oBAAoBvD,EAAKmB,IAEvCnB,EAAMF,mBAAmBE,GACzB9D,SAAS2D,OACPC,mBAAmBqB,GACnB,IACAnB,EACA,2CACJ,GAEJ,GAAE,EAGJ,IAAIwD,GAAS,EACb,MAAO,CACL3F,KAAM,UACN4F,QAAAA,GACE,MAAM3B,EAAgB,IAAIC,IAAI7B,IAAIC,UAAU6B,aAAaC,IACvD,iBAIF,IAAIuB,EASJ,GANAA,GAAS,EAON1C,GAIkB,SAAlBgB,IAKoB,UAAlBA,GAEE,uDAAuDZ,KACtDhF,SAAS2D,SA6BLgB,IAAmBC,GAC7B2B,gCA3BA,CAIAnD,EAAUoD,mBAAqB,UACRxG,SAASwH,eAAe,qBAK9BrE,cACb,IAAIN,YACF,SACA,CACEC,OAAQ,CACNC,QAAW,KACXC,OAAU,YACVC,UAAY,KASxB,CAGF,EAEJ"}
|
|
@@ -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 Wed Jan 15 2025
|
|
1136
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1137
1137
|
</footer>
|
|
1138
1138
|
|
|
1139
1139
|
<script> prettyPrint(); </script>
|
|
@@ -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 Wed Jan 15 2025
|
|
538
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
539
539
|
</footer>
|
|
540
540
|
|
|
541
541
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/Dropdown.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
1465
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 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 Wed Jan 15 2025
|
|
714
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
840
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
1401
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
1711
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1712
1712
|
</footer>
|
|
1713
1713
|
|
|
1714
1714
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/MainMenu.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
1116
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
1117
1117
|
</footer>
|
|
1118
1118
|
|
|
1119
1119
|
<script> prettyPrint(); </script>
|
|
@@ -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 Wed Jan 15 2025
|
|
334
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 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 Wed Jan 15 2025
|
|
408
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
409
409
|
</footer>
|
|
410
410
|
|
|
411
411
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/PaintBox.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
791
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
165
165
|
</footer>
|
|
166
166
|
|
|
167
167
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/Rulers.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
448
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
269
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
270
270
|
</footer>
|
|
271
271
|
|
|
272
272
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/SEInput.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
256
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
516
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
165
165
|
</footer>
|
|
166
166
|
|
|
167
167
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/SeList.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
291
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
292
292
|
</footer>
|
|
293
293
|
|
|
294
294
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/SeMenu.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
291
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
169
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
165
165
|
</footer>
|
|
166
166
|
|
|
167
167
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/SeText.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
164
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
165
165
|
</footer>
|
|
166
166
|
|
|
167
167
|
<script> prettyPrint(); </script>
|
package/docs/jsdoc/TopPanel.html
CHANGED
|
@@ -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 Wed Jan 15 2025
|
|
5053
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:55 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 Wed Jan 15 2025
|
|
197
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 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 Wed Jan 15 2025
|
|
430
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
431
431
|
</footer>
|
|
432
432
|
|
|
433
433
|
<script> prettyPrint(); </script>
|
|
@@ -383,7 +383,7 @@ value as a string.</a></li><li><a href="global.html#get">get</a></li><li><a href
|
|
|
383
383
|
<br class="clear">
|
|
384
384
|
|
|
385
385
|
<footer>
|
|
386
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025
|
|
386
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Wed Jan 15 2025 13:14:54 GMT+0100 (czas środkowoeuropejski standardowy)
|
|
387
387
|
</footer>
|
|
388
388
|
|
|
389
389
|
<script> prettyPrint(); </script>
|