diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-18 11:18:32 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-18 21:00:44 +0200 |
commit | 6f6e906fd514d092579ab008b5a1098895c377f9 (patch) | |
tree | 36ed4d8f6f10c8a34f6c513f3a5b37c83667d2de /dist/settings-apps.js | |
parent | aa31002b03229932c532f05045c9f8852245ffe1 (diff) | |
download | nextcloud-server-6f6e906fd514d092579ab008b5a1098895c377f9.tar.gz nextcloud-server-6f6e906fd514d092579ab008b5a1098895c377f9.zip |
🤖 Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'dist/settings-apps.js')
-rw-r--r-- | dist/settings-apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/settings-apps.js b/dist/settings-apps.js index 964d5ac46e6..430d2205faf 100644 --- a/dist/settings-apps.js +++ b/dist/settings-apps.js @@ -1,2 +1,2 @@ -!function(){"use strict";var t,e={49983:function(t,e,n){var i=n(4820),r=n(79753);window.OC.Settings=window.OC.Settings||{},window.OC.Settings.Apps=window.OC.Settings.Apps||{rebuildNavigation:function(){return i.default.get((0,r.generateOcsUrl)("core/navigation",2)+"/apps?format=json").then((function(t){var e=t.data;if(200===e.ocs.meta.statuscode){var n={},i=e.ocs.data,r=document.querySelector("#navigation #apps ul");i.forEach((function(t){r.querySelector('li[data-id="'+t.id+'"]')||(n[t.id]=!0)})),r.querySelectorAll("li[data-id]").forEach((function(t,e){var n=t.dataset.id;(!i[e]||i[e]&&i[e].id!==n)&&(t.remove(),document.querySelector("#appmenu li[data-id=".concat(n,"]")).remove())}));var a={};i.forEach((function(t){if(null===r.querySelector('li[data-id="'.concat(t.id,'"]'))){var e=document.createElement("li");e.dataset.id=t.id;var i='<svg width="20" height="20" viewBox="0 0 20 20" alt="">\n\t\t\t\t\t <defs>\n\t\t\t\t\t <filter id="invertMenuMore-'.concat(t.id,'"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter>\n\t\t\t\t\t <mask id="hole">\n\t\t\t\t\t <rect width="100%" height="100%" fill="white"></rect>\n\t\t\t\t\t\t<circle r="4.5" cx="17" cy="3" fill="black"></circle>\n\t\t\t\t\t </mask>\n\t\t\t\t\t </defs>\n\t\t\t\t\t <image x="0" y="0" width="16" height="16" filter="url(#invertMenuMore-').concat(t.id,')" preserveAspectRatio="xMinYMin meet" xlink:href="').concat(t.icon,'" class="app-icon" />\n\t\t\t\t\t</svg>'),o=document.createElement("template");o.innerHTML=i;var c=document.createElement("a");c.setAttribute("href",t.href);var d=document.createElement("span");d.appendChild(document.createTextNode(t.name));var l=document.createElement("div");l.setAttribute("class","unread-counter"),l.style.display="none",n[t.id]&&c.classList.add("animated"),c.prepend(o.content.firstChild,l,d),e.append(c);var u=document.querySelector("#navigation li[data-id=".concat(a.id,"]"));u?u.insertAdjacentElement("afterend",e):document.querySelector("#navigation #apps ul").prepend(e)}if(null===document.getElementById("appmenu").querySelector('li[data-id="'.concat(t.id,'"]'))){var s,f=document.createElement("li");f.dataset.id=t.id,s=OCA.Theming&&OCA.Theming.inverted?'<svg width="20" height="20" viewBox="0 0 20 20" alt="">\n\t\t\t\t\t\t <defs>\n\t\t\t\t\t\t <filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter>\n\t\t\t\t\t\t </defs>\n\t\t\t\t\t\t <image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="'.concat(t.icon,'" class="app-icon" />\n\t\t\t\t\t\t</svg>'):'<svg width="20" height="20" viewBox="0 0 20 20" alt="">\n\t\t\t\t\t\t <image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet" xlink:href="'.concat(t.icon,'" class="app-icon" />\n\t\t\t\t\t\t</svg>');var p=document.createElement("template");p.innerHTML=s;var m=document.createElement("a");m.setAttribute("href",t.href);var v=document.createElement("span");v.appendChild(document.createTextNode(t.name));var h=document.createElement("div");h.setAttribute("class","icon-loading-dark"),h.style.display="none",n[t.id]&&m.classList.add("animated"),m.prepend(h,v,p.content.firstChild),f.append(m);var g=document.querySelector("#appmenu li[data-id="+a.id+"]");g?g.insertAdjacentElement("afterend",f):document.queryElementById("appmenu").prepend(f)}a=t})),window.dispatchEvent(new Event("resize"))}}))}}}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var a=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.m=e,i.amdD=function(){throw new Error("define cannot be used indirect")},i.amdO={},t=[],i.O=function(e,n,r,a){if(!n){var o=1/0;for(u=0;u<t.length;u++){n=t[u][0],r=t[u][1],a=t[u][2];for(var c=!0,d=0;d<n.length;d++)(!1&a||o>=a)&&Object.keys(i.O).every((function(t){return i.O[t](n[d])}))?n.splice(d--,1):(c=!1,a<o&&(o=a));if(c){t.splice(u--,1);var l=r();void 0!==l&&(e=l)}}return e}a=a||0;for(var u=t.length;u>0&&t[u-1][2]>a;u--)t[u]=t[u-1];t[u]=[n,r,a]},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},i.j=1647,function(){i.b=document.baseURI||self.location.href;var t={1647:0};i.O.j=function(e){return 0===t[e]};var e=function(e,n){var r,a,o=n[0],c=n[1],d=n[2],l=0;if(o.some((function(e){return 0!==t[e]}))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(d)var u=d(i)}for(e&&e(n);l<o.length;l++)a=o[l],i.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return i.O(u)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),i.nc=void 0;var r=i.O(void 0,[7874],(function(){return i(49983)}));r=i.O(r)}(); -//# sourceMappingURL=settings-apps.js.map?v=1372ca632edeca3c473f
\ No newline at end of file +!function(){"use strict";var n,e={49983:function(n,e,t){var r=t(4820),o=t(79753),i=t(74854);window.OC.Settings=window.OC.Settings||{},window.OC.Settings.Apps=window.OC.Settings.Apps||{rebuildNavigation:function(){return r.default.get((0,o.generateOcsUrl)("core/navigation",2)+"/apps?format=json").then((function(n){var e=n.data;200===e.ocs.meta.statuscode&&((0,i.j8)("nextcloud:app-menu.refresh",{apps:e.ocs.data}),window.dispatchEvent(new Event("resize")))}))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=e,r.amdD=function(){throw new Error("define cannot be used indirect")},r.amdO={},n=[],r.O=function(e,t,o,i){if(!t){var u=1/0;for(d=0;d<n.length;d++){t=n[d][0],o=n[d][1],i=n[d][2];for(var a=!0,c=0;c<t.length;c++)(!1&i||u>=i)&&Object.keys(r.O).every((function(n){return r.O[n](t[c])}))?t.splice(c--,1):(a=!1,i<u&&(u=i));if(a){n.splice(d--,1);var f=o();void 0!==f&&(e=f)}}return e}i=i||0;for(var d=n.length;d>0&&n[d-1][2]>i;d--)n[d]=n[d-1];n[d]=[t,o,i]},r.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(e,{a:e}),e},r.d=function(n,e){for(var t in e)r.o(e,t)&&!r.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n},r.j=1647,function(){r.b=document.baseURI||self.location.href;var n={1647:0};r.O.j=function(e){return 0===n[e]};var e=function(e,t){var o,i,u=t[0],a=t[1],c=t[2],f=0;if(u.some((function(e){return 0!==n[e]}))){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(c)var d=c(r)}for(e&&e(t);f<u.length;f++)i=u[f],r.o(n,i)&&n[i]&&n[i][0](),n[i]=0;return r.O(d)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t))}(),r.nc=void 0;var o=r.O(void 0,[7874],(function(){return r(49983)}));o=r.O(o)}(); +//# sourceMappingURL=settings-apps.js.map?v=4959cb4cc0b7d3052d0a
\ No newline at end of file |