diff --git a/js/firstrunwizard-about.mjs b/js/firstrunwizard-about.mjs index 407542cf0..04f6dd04b 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 4250de0f7..6b0fef640 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 1765301d7..9cf1ad627 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 c46336241..f17e0f35d 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 diff --git a/package-lock.json b/package-lock.json index 1f76051ef..65af0a40e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@nextcloud/stylelint-config": "^2.4.0", "@nextcloud/vite-config": "^1.2.2", "sass": "^1.71.1", - "vite": "^5.1.4" + "vite": "^5.1.6" }, "engines": { "node": "^20.0.0", @@ -7669,6 +7669,19 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -15193,9 +15206,9 @@ } }, "node_modules/vite": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.1.4.tgz", - "integrity": "sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.1.6.tgz", + "integrity": "sha512-yYIAZs9nVfRJ/AiOLCA91zzhjsHUgMjB+EigzFb6W2XTLO8JixBCKCjvhKZaye+NKYHCrkv3Oh50dH9EdLU2RA==", "dev": true, "dependencies": { "esbuild": "^0.19.3", diff --git a/package.json b/package.json index e715827ca..65c0f92fc 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,6 @@ "@nextcloud/stylelint-config": "^2.4.0", "@nextcloud/vite-config": "^1.2.2", "sass": "^1.71.1", - "vite": "^5.1.4" + "vite": "^5.1.6" } }