diff --git a/js/firstrunwizard-about.mjs b/js/firstrunwizard-about.mjs index 407542cf..04f6dd04 100644 --- a/js/firstrunwizard-about.mjs +++ b/js/firstrunwizard-about.mjs @@ -1,8 +1,8 @@ -/*! third party licenses: js/vendor.LICENSE.txt */ -import{_ as i}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await i(()=>import("./main-cqE5Ba34.mjs"),__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)}); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [OC.filePath('firstrunwizard', '', 'js/main-cqE5Ba34.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } +/*! third party licenses: js/vendor.LICENSE.txt */ +import{_ as i}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await i(()=>import("./main-cqE5Ba34.mjs"),__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)}); diff --git a/js/firstrunwizard-about.mjs.map b/js/firstrunwizard-about.mjs.map index 4250de0f..6b0fef64 100644 --- a/js/firstrunwizard-about.mjs.map +++ b/js/firstrunwizard-about.mjs.map @@ -1 +1 @@ -{"version":3,"mappings":";0DA4BA,SAAS,iBAAiB,mBAAoB,UAAW,CACxD,MAAMA,EAAa,SAAS,cAAc,8BAA8B,EAElEC,EAAc,IAAM,CACN,SAAS,cAAc,8BAA8B,EAE7D,iBAAiB,QAAS,eAAeC,EAAO,OAC1DA,EAAM,gBAAiB,EACvBA,EAAM,eAAgB,EACtB,MAAMC,GAAcC,EAAA,SAAS,cAAc,yCAAyC,IAAhE,KAAAA,EAAqE,OACnF,CAAE,KAAAC,CAAM,EAAG,MAAKC,EAAA,IAAC,OAAO,qBAAW,EAAC,wCAC1CD,EAAKF,CAAW,EAChB,GAAG,UAAU,IAAM,EAAK,CAC3B,CAAG,CACD,EAEGH,EACHC,EAAa,EAEb,OAAO,cAAc,UAAU,yBAA0BA,CAAW,CAEtE,CAAC","names":["aboutEntry","addListener","event","focusReturn","_a","open","__vitePreload"],"sources":["../src/app-menu.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen \n *\n * @author Ferdinand Thiessen \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\n/**\n * Handle adding the first-run-wizard as an app menu entry\n */\ndocument.addEventListener('DOMContentLoaded', function() {\n\tconst aboutEntry = document.querySelector('#firstrunwizard_about button')\n\n\tconst addListener = () => {\n\t\tconst aboutEntry = document.querySelector('#firstrunwizard_about button')\n\n\t\taboutEntry.addEventListener('click', async function(event) {\n\t\t\tevent.stopPropagation()\n\t\t\tevent.preventDefault()\n\t\t\tconst focusReturn = document.querySelector('[aria-controls=\"header-menu-user-menu\"]') ?? undefined\n\t\t\tconst { open } = await import('./main.js')\n\t\t\topen(focusReturn)\n\t\t\tOC.hideMenus(() => false)\n\t\t})\n\t}\n\n\tif (aboutEntry) {\n\t\taddListener()\n\t} else {\n\t\twindow._nc_event_bus.subscribe('core:user-menu:mounted', addListener)\n\t}\n})\n"],"file":"js/firstrunwizard-about.mjs"} \ No newline at end of file +{"version":3,"mappings":";;;;;;;0DA4BA,SAAS,iBAAiB,mBAAoB,UAAW,CACxD,MAAMA,EAAa,SAAS,cAAc,8BAA8B,EAElEC,EAAc,IAAM,CACN,SAAS,cAAc,8BAA8B,EAE7D,iBAAiB,QAAS,eAAeC,EAAO,OAC1DA,EAAM,gBAAiB,EACvBA,EAAM,eAAgB,EACtB,MAAMC,GAAcC,EAAA,SAAS,cAAc,yCAAyC,IAAhE,KAAAA,EAAqE,OACnF,CAAE,KAAAC,CAAM,EAAG,MAAKC,EAAA,IAAC,OAAO,qBAAW,EAAC,wCAC1CD,EAAKF,CAAW,EAChB,GAAG,UAAU,IAAM,EAAK,CAC3B,CAAG,CACD,EAEGH,EACHC,EAAa,EAEb,OAAO,cAAc,UAAU,yBAA0BA,CAAW,CAEtE,CAAC","names":["aboutEntry","addListener","event","focusReturn","_a","open","__vitePreload"],"ignoreList":[],"sources":["../src/app-menu.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen \n *\n * @author Ferdinand Thiessen \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\n/**\n * Handle adding the first-run-wizard as an app menu entry\n */\ndocument.addEventListener('DOMContentLoaded', function() {\n\tconst aboutEntry = document.querySelector('#firstrunwizard_about button')\n\n\tconst addListener = () => {\n\t\tconst aboutEntry = document.querySelector('#firstrunwizard_about button')\n\n\t\taboutEntry.addEventListener('click', async function(event) {\n\t\t\tevent.stopPropagation()\n\t\t\tevent.preventDefault()\n\t\t\tconst focusReturn = document.querySelector('[aria-controls=\"header-menu-user-menu\"]') ?? undefined\n\t\t\tconst { open } = await import('./main.js')\n\t\t\topen(focusReturn)\n\t\t\tOC.hideMenus(() => false)\n\t\t})\n\t}\n\n\tif (aboutEntry) {\n\t\taddListener()\n\t} else {\n\t\twindow._nc_event_bus.subscribe('core:user-menu:mounted', addListener)\n\t}\n})\n"],"file":"js/firstrunwizard-about.mjs"} \ No newline at end of file diff --git a/js/firstrunwizard-activate.mjs b/js/firstrunwizard-activate.mjs index 1765301d..9cf1ad62 100644 --- a/js/firstrunwizard-activate.mjs +++ b/js/firstrunwizard-activate.mjs @@ -1,8 +1,8 @@ -/*! third party licenses: js/vendor.LICENSE.txt */ -import{_ as t}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-cqE5Ba34.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()}); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [OC.filePath('firstrunwizard', '', 'js/main-cqE5Ba34.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } +/*! third party licenses: js/vendor.LICENSE.txt */ +import{_ as t}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-cqE5Ba34.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()}); diff --git a/js/firstrunwizard-activate.mjs.map b/js/firstrunwizard-activate.mjs.map index c4633624..f17e0f35 100644 --- a/js/firstrunwizard-activate.mjs.map +++ b/js/firstrunwizard-activate.mjs.map @@ -1 +1 @@ -{"version":3,"mappings":";0DA8BA,SAAS,iBAAiB,mBAAoB,gBAAiB,EAC/C,MAAKA,EAAA,IAAC,OAAO,qBAAW,EAAC,yCACjC,KAAM,CACd,CAAC","names":["__vitePreload"],"sources":["../src/first-run.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen \n *\n * @author Ferdinand Thiessen \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\n/**\n * Handling opening the first-run-wizard the first time\n *\n * Dynamically load the first-run-wizard and open it when loaded\n */\ndocument.addEventListener('DOMContentLoaded', async function() {\n\tconst wizard = await import('./main.js')\n\twizard.open()\n})\n"],"file":"js/firstrunwizard-activate.mjs"} \ No newline at end of file +{"version":3,"mappings":";;;;;;;0DA8BA,SAAS,iBAAiB,mBAAoB,gBAAiB,EAC/C,MAAKA,EAAA,IAAC,OAAO,qBAAW,EAAC,yCACjC,KAAM,CACd,CAAC","names":["__vitePreload"],"ignoreList":[],"sources":["../src/first-run.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen \n *\n * @author Ferdinand Thiessen \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\n/**\n * Handling opening the first-run-wizard the first time\n *\n * Dynamically load the first-run-wizard and open it when loaded\n */\ndocument.addEventListener('DOMContentLoaded', async function() {\n\tconst wizard = await import('./main.js')\n\twizard.open()\n})\n"],"file":"js/firstrunwizard-activate.mjs"} \ No newline at end of file