chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2024-05-02 10:17:01 +00:00 коммит произвёл Andy Scherzinger
Родитель 534986dd7e
Коммит e63ab8aa1e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 6CADC7E3523C308B
20 изменённых файлов: 23 добавлений и 23 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,3 @@
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-v-395262ee] .empty-content__icon span{background-size:64px;width:64px;height:64px}.activity__actions[data-v-395262ee]{display:flex;flex-direction:column;width:100%}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-v-bab8cf5b] .empty-content__icon span{background-size:64px;width:64px;height:64px}.activity__actions[data-v-bab8cf5b]{display:flex;flex-direction:column;width:100%}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as r,g as c,c as l,b as u,e as f}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import{d as v,r as p,o as d,g,f as y,t as o}from"./index-dHB94yC7.mjs";import{A as m,a as h,b as _}from"./Activity-CiBscCC0.mjs";import{g as b,a as A,b as I}from"./api-D5L3rAZA.mjs";import{l as S}from"./logger-CcLDq3iB.mjs";import{l as w}from"./activity-sidebar.mjs";import"./_commonjsHelpers-BdswosdL.mjs";const x=v({__name:"ActivitySidebarPlugin",props:{plugin:null,fileInfo:null},emits:["reload-activities"],setup(t,{emit:i}){const a=t,n=p();return d(()=>{var s;return a.plugin.mount(n.value,{context:(s=g())==null?void 0:s.proxy,fileInfo:a.fileInfo,reload:()=>i("reload-activities")})}),y(()=>a.plugin.unmount()),{__sfc:!0,props:a,emit:i,attachTarget:n}}});var N=function(){var t=this,i=t._self._c;return t._self._setupProxy,i("div",{ref:"attachTarget"})},P=[],C=r(x,N,P,!1,null,null,null,null);const k=C.exports,E={name:"ActivityTab",components:{Activity:m,NcEmptyContent:h,NcIconSvgWrapper:c,NcLoadingIcon:l,ActivitySidebarPlugin:k},data(){return{error:"",loading:!0,fileInfo:null,activities:[],lightningBoltSVG:w,sidebarPlugins:[]}},mounted(){this.sidebarPlugins=b()},methods:{async update(t){this.fileInfo=t,this.resetState(),await this.getActivities()},async getActivities(){try{this.loading=!0;const t=await this.processActivities(await this.loadRealActivities()),i=await A({fileInfo:this.fileInfo});this.activities=[...t,...i].sort((a,n)=>n.timestamp-a.timestamp)}catch(t){this.error=o("activity","Unable to load the activity list"),console.error("Error loading the activity list",t)}finally{this.loading=!1}},resetState(){this.loading=!0,this.error="",this.activities=[]},async loadRealActivities(){try{const{data:t}=await u.get(f("apps/activity/api/v2/activity/filter"),{params:{format:"json",object_type:"files",object_id:this.fileInfo.id}});return t.ocs.data}catch(t){if(t.response!==void 0&&t.response.status===304)return[];throw e}},processActivities(t){t=t.map(a=>new _(a)),S.debug("Processed ".concat(t.length," activity(ies)"),{activities:t,fileInfo:this.fileInfo});const i=I();return t.filter(a=>!i||i.every(n=>n(a)))},t:o}};var j=function(){var t=this,i=t._self._c;return i("div",{class:{"icon-loading":t.loading}},[t.error?i("NcEmptyContent",{attrs:{name:t.error},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcIconSvgWrapper",{attrs:{svg:t.lightningBoltSVG}})]},proxy:!0}],null,!1,63559581)}):[t.sidebarPlugins.length>0?i("div",{staticClass:"activity__actions"},t._l(t.sidebarPlugins,function(a,n){return i("ActivitySidebarPlugin",{key:n,attrs:{plugin:a,"file-info":t.fileInfo},on:{"reload-activities":function(s){return t.getActivities()}}})}),1):t._e(),t.loading?i("NcEmptyContent",{attrs:{name:t.t("activity","Loading activities")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcLoadingIcon")]},proxy:!0}],null,!1,3085876643)}):t.activities.length===0?i("NcEmptyContent",{attrs:{name:t.t("activity","No activity yet")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("span",{staticClass:"icon-activity"})]},proxy:!0}])}):i("ul",t._l(t.activities,function(a){return i("Activity",{key:a.id,attrs:{activity:a,"show-previews":!1},on:{reload:function(n){return t.getActivities()}}})}),1)]],2)},L=[],T=r(E,j,L,!1,null,"395262ee",null,null);const U=T.exports;export{U as default};
import{n as r,g as c,c as l,b as u,e as f}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import{d as v,r as p,o as d,g,f as y,t as o}from"./index-dHB94yC7.mjs";import{A as m,a as h,b as _}from"./Activity-DCShb2d2.mjs";import{g as b,a as A,b as I}from"./api-D5L3rAZA.mjs";import{l as S}from"./logger-CcLDq3iB.mjs";import{l as w}from"./activity-sidebar.mjs";import"./_commonjsHelpers-BdswosdL.mjs";const x=v({__name:"ActivitySidebarPlugin",props:{plugin:null,fileInfo:null},emits:["reload-activities"],setup(t,{emit:i}){const n=t,a=p();return d(()=>{var s;return n.plugin.mount(a.value,{context:(s=g())==null?void 0:s.proxy,fileInfo:n.fileInfo,reload:()=>i("reload-activities")})}),y(()=>n.plugin.unmount()),{__sfc:!0,props:n,emit:i,attachTarget:a}}});var N=function(){var t=this,i=t._self._c;return t._self._setupProxy,i("div",{ref:"attachTarget"})},P=[],C=r(x,N,P,!1,null,null,null,null);const k=C.exports,E={name:"ActivityTab",components:{Activity:m,NcEmptyContent:h,NcIconSvgWrapper:c,NcLoadingIcon:l,ActivitySidebarPlugin:k},data(){return{error:"",loading:!0,fileInfo:null,activities:[],lightningBoltSVG:w,sidebarPlugins:[]}},mounted(){this.sidebarPlugins=b()},methods:{async update(t){this.fileInfo=t,this.resetState(),await this.getActivities()},async getActivities(){try{this.loading=!0;const t=await this.processActivities(await this.loadRealActivities()),i=await A({fileInfo:this.fileInfo});this.activities=[...t,...i].sort((n,a)=>a.timestamp-n.timestamp)}catch(t){this.error=o("activity","Unable to load the activity list"),console.error("Error loading the activity list",t)}finally{this.loading=!1}},resetState(){this.loading=!0,this.error="",this.activities=[]},async loadRealActivities(){try{const{data:t}=await u.get(f("apps/activity/api/v2/activity/filter"),{params:{format:"json",object_type:"files",object_id:this.fileInfo.id}});return t.ocs.data}catch(t){if(t.response!==void 0&&t.response.status===304)return[];throw e}},processActivities(t){t=t.map(n=>new _(n)),S.debug("Processed ".concat(t.length," activity(ies)"),{activities:t,fileInfo:this.fileInfo});const i=I();return t.filter(n=>!i||i.every(a=>a(n)))},t:o}};var j=function(){var t=this,i=t._self._c;return i("div",{class:{"icon-loading":t.loading}},[t.error?i("NcEmptyContent",{attrs:{name:t.error},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcIconSvgWrapper",{attrs:{svg:t.lightningBoltSVG}})]},proxy:!0}],null,!1,63559581)}):[t.sidebarPlugins.length>0?i("div",{staticClass:"activity__actions"},t._l(t.sidebarPlugins,function(n,a){return i("ActivitySidebarPlugin",{key:a,attrs:{plugin:n,"file-info":t.fileInfo},on:{"reload-activities":function(s){return t.getActivities()}}})}),1):t._e(),t.loading?i("NcEmptyContent",{attrs:{name:t.t("activity","Loading activities")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("NcLoadingIcon")]},proxy:!0}],null,!1,3085876643)}):t.activities.length===0?i("NcEmptyContent",{attrs:{name:t.t("activity","No activity yet")},scopedSlots:t._u([{key:"icon",fn:function(){return[i("span",{staticClass:"icon-activity"})]},proxy:!0}])}):i("ul",t._l(t.activities,function(n){return i("Activity",{key:n.id,attrs:{activity:n,"show-previews":!1},on:{reload:function(a){return t.getActivities()}}})}),1)]],2)},L=[],T=r(E,j,L,!1,null,"bab8cf5b",null,null);const U=T.exports;export{U as default};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as n,t as m,a as d}from"./index-dHB94yC7.mjs";import{v as o,m as s,a as c,A as p,V as u,s as a}from"./settings-store-CqF20E71.mjs";import{s as g,n as l}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";import"./NcNoteCard-B_Q1mnCM-20YDozNM.mjs";import"./logger-CcLDq3iB.mjs";const v={name:"AdminSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var h=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Notification")}},[e("NcCheckboxRadioSwitch",{attrs:{type:"checkbox",checked:i.emailEnabled},on:{"update:checked":function(r){return i.toggleEmailEnabled({emailEnabled:r})}}},[i._v(" "+i._s(i.t("activity","Enable notification emails"))+" ")])],1)},f=[],y=l(v,h,f,!1,null,null,null,null);const E=y.exports,b={name:"DefaultActivitySettings",components:{ActivityGrid:p,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"})},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var S=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Default settings"),description:i.t("activity","Configure the default notification settings for new accounts.")}},[e("ActivityGrid")],1)},w=[],A=l(b,S,w,!1,null,null,null,null);const N=A.exports;n.prototype.t=m,n.prototype.n=d,n.use(u),new n({el:"#activity-admin-settings",store:a,name:"ActivityPersonalSettings",render:i=>i(E)}),new n({el:"#activity-default-settings",store:a,name:"ActivityDefaultSettings",render:i=>i(N)});
import{V as n,t as m,a as d}from"./index-dHB94yC7.mjs";import{v as o,m as s,a as c,A as p,V as u,s as a}from"./settings-store-DahPyaqW.mjs";import{s as g,n as l}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";import"./NcNoteCard-B_Q1mnCM-20YDozNM.mjs";import"./logger-CcLDq3iB.mjs";const v={name:"AdminSettings",components:{NcCheckboxRadioSwitch:g,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var h=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Notification")}},[e("NcCheckboxRadioSwitch",{attrs:{type:"checkbox",checked:i.emailEnabled},on:{"update:checked":function(r){return i.toggleEmailEnabled({emailEnabled:r})}}},[i._v(" "+i._s(i.t("activity","Enable notification emails"))+" ")])],1)},f=[],y=l(v,h,f,!1,null,null,null,null);const E=y.exports,b={name:"DefaultActivitySettings",components:{ActivityGrid:p,NcSettingsSection:o},computed:{...s({emailEnabled:"emailEnabled"})},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings/admin"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var S=function(){var i=this,e=i._self._c;return e("NcSettingsSection",{attrs:{name:i.t("activity","Default settings"),description:i.t("activity","Configure the default notification settings for new accounts.")}},[e("ActivityGrid")],1)},w=[],A=l(b,S,w,!1,null,null,null,null);const N=A.exports;n.prototype.t=m,n.prototype.n=d,n.use(u),new n({el:"#activity-admin-settings",store:a,name:"ActivityPersonalSettings",render:i=>i(E)}),new n({el:"#activity-default-settings",store:a,name:"ActivityDefaultSettings",render:i=>i(N)});

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
{"version":3,"file":"activity-api.mjs","sources":["../src/api.ts"],"sourcesContent":["import { registerGlobalAPI } from './utils/api.js'\n\nregisterGlobalAPI()\n"],"names":["registerGlobalAPI"],"mappings":";6GAEAA,EAAkB"}
{"version":3,"file":"activity-api.mjs","sources":["../src/api.ts"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n \nimport { registerGlobalAPI } from './utils/api.js'\n\nregisterGlobalAPI()\n"],"names":["registerGlobalAPI"],"mappings":";6GAOAA,EAAkB"}

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,3 @@
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".activity-frequency__label[data-v-a7897cd2]{margin-top:24px;display:inline-block}.notification-frequency__select[data-v-a7897cd2]{margin-left:calc(var(--default-grid-baseline) * 2)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".activity-frequency__label[data-v-778e414b]{margin-top:24px;display:inline-block}.notification-frequency__select[data-v-778e414b]{margin-left:calc(var(--default-grid-baseline) * 2)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as a,t as m,a as u}from"./index-dHB94yC7.mjs";import{m as s,a as c,v as r,A as y,V as E,s as l}from"./settings-store-CqF20E71.mjs";import{n as o,s as v}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";import"./NcNoteCard-B_Q1mnCM-20YDozNM.mjs";import"./logger-CcLDq3iB.mjs";const _={EmailFrequency:{EMAIL_SEND_HOURLY:0,EMAIL_SEND_DAILY:1,EMAIL_SEND_WEEKLY:2,EMAIL_SEND_ASAP:3}},d={name:"EmailSettings",data(){return{EmailFrequency:_.EmailFrequency}},computed:{...s(["emailEnabled","isEmailSet","settingBatchtime"])},methods:{...c(["setSettingBatchtime"])}};var g=function(){var e=this,i=e._self._c;return e.emailEnabled?i("div",[e.isEmailSet?e._e():i("p",[i("strong",[e._v(e._s(e.t("activity","You need to set up your email address before you can receive notification emails.")))])]),i("p",[i("label",{staticClass:"activity-frequency__label",attrs:{for:"activity_setting_batchtime"}},[e._v(" "+e._s(e.t("activity","Send activity emails"))+" ")]),i("select",{staticClass:"notification-frequency__select",attrs:{id:"activity_setting_batchtime",name:"activity_setting_batchtime"},on:{change:function(n){return e.setSettingBatchtime({settingBatchtime:n.target.value})}}},[i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_ASAP,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_ASAP}},[e._v(" "+e._s(e.t("activity","As soon as possible"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_HOURLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_HOURLY}},[e._v(" "+e._s(e.t("activity","Hourly"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_DAILY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_DAILY}},[e._v(" "+e._s(e.t("activity","Daily"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_WEEKLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_WEEKLY}},[e._v(" "+e._s(e.t("activity","Weekly"))+" ")])])])]):e._e()},p=[],S=o(d,g,p,!1,null,"a7897cd2",null,null);const h=S.exports,A={name:"UserSettings",components:{NcSettingsSection:r,EmailSettings:h,ActivityGrid:y},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var D=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Activity"),description:e.settingDescription}},[i("ActivityGrid"),i("EmailSettings")],1)},b=[],f=o(A,D,b,!1,null,null,null,null);const L=f.exports,N={name:"DailySummary",components:{NcCheckboxRadioSwitch:v,NcSettingsSection:r},computed:{...s(["activityDigestEnabled"])},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleActivityDigestEnabled"])}};var I=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Daily activity summary")}},[i("NcCheckboxRadioSwitch",{attrs:{"data-cy-checkbox":"",checked:e.activityDigestEnabled},on:{"update:checked":function(n){return e.toggleActivityDigestEnabled({activityDigestEnabled:n})}}},[e._v(" "+e._s(e.t("activity","Send daily activity summary in the morning"))+" ")])],1)},q=[],M=o(N,I,q,!1,null,null,null,null);const F=M.exports;a.prototype.t=m,a.prototype.n=u,a.use(E),new a({el:"#activity-user-settings",store:l,name:"ActivityPersonalSettings",render:e=>e(L)}),new a({el:"#activity-digest-user-settings",name:"ActivityDigestPersonalSettings",store:l,render:e=>e(F)});
import{V as n,t as m,a as u}from"./index-dHB94yC7.mjs";import{m as s,a as c,v as r,A as y,V as E,s as l}from"./settings-store-DahPyaqW.mjs";import{n as o,s as v}from"./NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";import"./NcNoteCard-B_Q1mnCM-20YDozNM.mjs";import"./logger-CcLDq3iB.mjs";const _={EmailFrequency:{EMAIL_SEND_HOURLY:0,EMAIL_SEND_DAILY:1,EMAIL_SEND_WEEKLY:2,EMAIL_SEND_ASAP:3}},d={name:"EmailSettings",data(){return{EmailFrequency:_.EmailFrequency}},computed:{...s(["emailEnabled","isEmailSet","settingBatchtime"])},methods:{...c(["setSettingBatchtime"])}};var g=function(){var e=this,i=e._self._c;return e.emailEnabled?i("div",[e.isEmailSet?e._e():i("p",[i("strong",[e._v(e._s(e.t("activity","You need to set up your email address before you can receive notification emails.")))])]),i("p",[i("label",{staticClass:"activity-frequency__label",attrs:{for:"activity_setting_batchtime"}},[e._v(" "+e._s(e.t("activity","Send activity emails"))+" ")]),i("select",{staticClass:"notification-frequency__select",attrs:{id:"activity_setting_batchtime",name:"activity_setting_batchtime"},on:{change:function(a){return e.setSettingBatchtime({settingBatchtime:a.target.value})}}},[i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_ASAP,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_ASAP}},[e._v(" "+e._s(e.t("activity","As soon as possible"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_HOURLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_HOURLY}},[e._v(" "+e._s(e.t("activity","Hourly"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_DAILY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_DAILY}},[e._v(" "+e._s(e.t("activity","Daily"))+" ")]),i("option",{domProps:{value:e.EmailFrequency.EMAIL_SEND_WEEKLY,selected:e.settingBatchtime===e.EmailFrequency.EMAIL_SEND_WEEKLY}},[e._v(" "+e._s(e.t("activity","Weekly"))+" ")])])])]):e._e()},p=[],S=o(d,g,p,!1,null,"778e414b",null,null);const h=S.exports,A={name:"UserSettings",components:{NcSettingsSection:r,EmailSettings:h,ActivityGrid:y},computed:{...s({emailEnabled:"emailEnabled"}),settingDescription(){return this.emailEnabled?t("activity","Choose for which activities you want to get an email or push notification."):t("activity","Choose for which activities you want to get a push notification.")}},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleEmailEnabled"])}};var D=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Activity"),description:e.settingDescription}},[i("ActivityGrid"),i("EmailSettings")],1)},b=[],f=o(A,D,b,!1,null,null,null,null);const L=f.exports,N={name:"DailySummary",components:{NcCheckboxRadioSwitch:v,NcSettingsSection:r},computed:{...s(["activityDigestEnabled"])},mounted(){this.setEndpoint({endpoint:"/apps/activity/settings"})},methods:{...c(["setEndpoint","toggleActivityDigestEnabled"])}};var I=function(){var e=this,i=e._self._c;return i("NcSettingsSection",{attrs:{name:e.t("activity","Daily activity summary")}},[i("NcCheckboxRadioSwitch",{attrs:{"data-cy-checkbox":"",checked:e.activityDigestEnabled},on:{"update:checked":function(a){return e.toggleActivityDigestEnabled({activityDigestEnabled:a})}}},[e._v(" "+e._s(e.t("activity","Send daily activity summary in the morning"))+" ")])],1)},q=[],M=o(N,I,q,!1,null,null,null,null);const F=M.exports;n.prototype.t=m,n.prototype.n=u,n.use(E),new n({el:"#activity-user-settings",store:l,name:"ActivityPersonalSettings",render:e=>e(L)}),new n({el:"#activity-digest-user-settings",name:"ActivityDigestPersonalSettings",store:l,render:e=>e(F)});

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,8 +1,8 @@
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = [OC.filePath('activity', '', 'js/ActivityTab-BUj_Yntt.mjs'),OC.filePath('activity', '', 'js/NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs'),OC.filePath('activity', '', 'js/index-dHB94yC7.mjs'),OC.filePath('activity', '', 'js/_commonjsHelpers-BdswosdL.mjs'),OC.filePath('activity', '', 'js/logger-CcLDq3iB.mjs'),OC.filePath('activity', '', 'js/Activity-CiBscCC0.mjs'),OC.filePath('activity', '', 'js/api-D5L3rAZA.mjs')]
__vite__mapDeps.viteFileDeps = [OC.filePath('activity', '', 'js/ActivityTab-Bi_NaeSw.mjs'),OC.filePath('activity', '', 'js/NcCheckboxRadioSwitch-BOl1O2zi-CAT_fgk7.mjs'),OC.filePath('activity', '', 'js/index-dHB94yC7.mjs'),OC.filePath('activity', '', 'js/_commonjsHelpers-BdswosdL.mjs'),OC.filePath('activity', '', 'js/logger-CcLDq3iB.mjs'),OC.filePath('activity', '', 'js/Activity-DCShb2d2.mjs'),OC.filePath('activity', '', 'js/api-D5L3rAZA.mjs')]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as m,t as v,a as g}from"./index-dHB94yC7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";const E="modulepreload",b=function(e,l){return e[0]==="."?new URL(e,l).href:e},h={},y=function(e,l,c){let u=Promise.resolve();if(l&&l.length>0){const s=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),f=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));u=Promise.all(l.map(r=>{if(r=b(r,c),r in h)return;h[r]=!0;const a=r.endsWith(".css"),w=a?'[rel="stylesheet"]':"";if(c)for(let d=s.length-1;d>=0;d--){const p=s[d];if(p.href===r&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(r,'"]').concat(w)))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":E,a||(o.as="script",o.crossOrigin=""),o.href=r,f&&o.setAttribute("nonce",f),document.head.appendChild(o),a)return new Promise((d,p)=>{o.addEventListener("load",d),o.addEventListener("error",()=>p(new Error("Unable to preload CSS for ".concat(r))))})}))}return u.then(()=>e()).catch(s=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=s,window.dispatchEvent(t),!t.defaultPrevented)throw s})},_='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-lightning-bolt" viewBox="0 0 24 24"><path d="M11 15H6L13 1V9H18L11 23V15Z" /></svg>';m.prototype.t=v,m.prototype.n=g;let n=null,i=null;const A=new OCA.Files.Sidebar.Tab({id:"activity",name:v("activity","Activity"),iconSvg:_,async mount(e,l,c){if(n===null){const{default:u}=await y(()=>import("./ActivityTab-BUj_Yntt.mjs"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);n=n!=null?n:m.extend(u)}i&&i.$destroy(),i=new n({parent:c}),i.update(l),i.$mount(e)},update(e){i.update(e)},destroy(){i.$destroy(),i=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(A);const{default:e}=await y(()=>import("./ActivityTab-BUj_Yntt.mjs"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);n=n!=null?n:m.extend(e)}});export{_ as l};
import{V as m,t as v,a as g}from"./index-dHB94yC7.mjs";import"./_commonjsHelpers-BdswosdL.mjs";const E="modulepreload",b=function(e,l){return e[0]==="."?new URL(e,l).href:e},h={},y=function(e,l,c){let u=Promise.resolve();if(l&&l.length>0){const s=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),f=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));u=Promise.all(l.map(r=>{if(r=b(r,c),r in h)return;h[r]=!0;const a=r.endsWith(".css"),w=a?'[rel="stylesheet"]':"";if(c)for(let d=s.length-1;d>=0;d--){const p=s[d];if(p.href===r&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(r,'"]').concat(w)))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":E,a||(o.as="script",o.crossOrigin=""),o.href=r,f&&o.setAttribute("nonce",f),document.head.appendChild(o),a)return new Promise((d,p)=>{o.addEventListener("load",d),o.addEventListener("error",()=>p(new Error("Unable to preload CSS for ".concat(r))))})}))}return u.then(()=>e()).catch(s=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=s,window.dispatchEvent(t),!t.defaultPrevented)throw s})},_='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-lightning-bolt" viewBox="0 0 24 24"><path d="M11 15H6L13 1V9H18L11 23V15Z" /></svg>';m.prototype.t=v,m.prototype.n=g;let n=null,i=null;const A=new OCA.Files.Sidebar.Tab({id:"activity",name:v("activity","Activity"),iconSvg:_,async mount(e,l,c){if(n===null){const{default:u}=await y(()=>import("./ActivityTab-Bi_NaeSw.mjs"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);n=n!=null?n:m.extend(u)}i&&i.$destroy(),i=new n({parent:c}),i.update(l),i.$mount(e)},update(e){i.update(e)},destroy(){i.$destroy(),i=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(A);const{default:e}=await y(()=>import("./ActivityTab-Bi_NaeSw.mjs"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);n=n!=null?n:m.extend(e)}});export{_ as l};

Просмотреть файл

@ -1 +1 @@
{"version":3,"mappings":";;;;;;;kpCAAeA,EAAA,sIC2BfC,EAAI,UAAU,EAAIC,EAClBD,EAAI,UAAU,EAAIE,EAGlB,IAAIC,EAAkB,KAClBC,EAAsB,KAC1B,MAAMC,EAAc,IAAI,IAAI,MAAM,QAAQ,IAAI,CAC7C,GAAI,WACJ,KAAMJ,EAAE,WAAY,UAAU,EAC9B,QAASK,EAET,MAAM,MAAMC,EAAIC,EAAUC,EAAS,CAElC,GAAIN,IAAoB,KAAM,CAC7B,KAAM,CAAE,QAASO,CAAa,EAAG,MAAMC,EAAA,WAAO,4BAAyB,EAAC,kDACxER,EAAkBA,UAAmBH,EAAI,OAAOU,CAAW,CAC3D,CAEGN,GACHA,EAAoB,SAAU,EAE/BA,EAAsB,IAAID,EAAgB,CAEzC,OAAQM,CACX,CAAG,EAEDL,EAAoB,OAAOI,CAAQ,EACnCJ,EAAoB,OAAOG,CAAE,CAC7B,EACD,OAAOC,EAAU,CAChBJ,EAAoB,OAAOI,CAAQ,CACnC,EACD,SAAU,CACTJ,EAAoB,SAAU,EAC9BA,EAAsB,IACtB,CACF,CAAC,EAED,OAAO,iBAAiB,mBAAoB,gBAAiB,CAC5D,GAAI,IAAI,OAAS,IAAI,MAAM,QAAS,CACnC,IAAI,MAAM,QAAQ,YAAYC,CAAW,EACzC,KAAM,CAAE,QAASK,CAAa,EAAG,MAAMC,EAAA,WAAO,4BAAyB,EAAC,kDACxER,EAAkBA,UAAmBH,EAAI,OAAOU,CAAW,CAC3D,CACF,CAAC","names":["lightningBoltSVG","Vue","t","n","ActivityTabView","ActivityTabInstance","activityTab","LightningBolt","el","fileInfo","context","ActivityTab","__vitePreload"],"ignoreList":[0],"sources":["../node_modules/@mdi/svg/svg/lightning-bolt.svg?raw","../src/sidebar.js"],"sourcesContent":["export default \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" id=\\\"mdi-lightning-bolt\\\" viewBox=\\\"0 0 24 24\\\"><path d=\\\"M11 15H6L13 1V9H18L11 23V15Z\\\" /></svg>\"","/**\n * @copyright Copyright (c) 2021 Louis Chemineau <louis@chmn.me>\n *\n * @author Louis Chemineau <louis@chmn.me>\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 <http://www.gnu.org/licenses/>.\n *\n */\nimport Vue from 'vue'\nimport { translate as t, translatePlural as n } from '@nextcloud/l10n'\n\n// eslint-disable-next-line import/no-unresolved\nimport LightningBolt from '@mdi/svg/svg/lightning-bolt.svg?raw'\n\nVue.prototype.t = t\nVue.prototype.n = n\n\n// Init Activity tab component\nlet ActivityTabView = null\nlet ActivityTabInstance = null\nconst activityTab = new OCA.Files.Sidebar.Tab({\n\tid: 'activity',\n\tname: t('activity', 'Activity'),\n\ticonSvg: LightningBolt,\n\n\tasync mount(el, fileInfo, context) {\n\t\t// only load if needed\n\t\tif (ActivityTabView === null) {\n\t\t\tconst { default: ActivityTab } = await import('./views/ActivityTab.vue')\n\t\t\tActivityTabView = ActivityTabView ?? Vue.extend(ActivityTab)\n\t\t}\n\t\t// destroy previous instance if available\n\t\tif (ActivityTabInstance) {\n\t\t\tActivityTabInstance.$destroy()\n\t\t}\n\t\tActivityTabInstance = new ActivityTabView({\n\t\t\t// Better integration with vue parent component\n\t\t\tparent: context,\n\t\t})\n\t\t// No need to await this, we will show a loading indicator instead\n\t\tActivityTabInstance.update(fileInfo)\n\t\tActivityTabInstance.$mount(el)\n\t},\n\tupdate(fileInfo) {\n\t\tActivityTabInstance.update(fileInfo)\n\t},\n\tdestroy() {\n\t\tActivityTabInstance.$destroy()\n\t\tActivityTabInstance = null\n\t},\n})\n\nwindow.addEventListener('DOMContentLoaded', async function() {\n\tif (OCA.Files && OCA.Files.Sidebar) {\n\t\tOCA.Files.Sidebar.registerTab(activityTab)\n\t\tconst { default: ActivityTab } = await import('./views/ActivityTab.vue')\n\t\tActivityTabView = ActivityTabView ?? Vue.extend(ActivityTab)\n\t}\n})\n"],"file":"js/activity-sidebar.mjs"}
{"version":3,"mappings":";;;;;;;kpCAAeA,EAAA,sICUfC,EAAI,UAAU,EAAIC,EAClBD,EAAI,UAAU,EAAIE,EAGlB,IAAIC,EAAkB,KAClBC,EAAsB,KAC1B,MAAMC,EAAc,IAAI,IAAI,MAAM,QAAQ,IAAI,CAC7C,GAAI,WACJ,KAAMJ,EAAE,WAAY,UAAU,EAC9B,QAASK,EAET,MAAM,MAAMC,EAAIC,EAAUC,EAAS,CAElC,GAAIN,IAAoB,KAAM,CAC7B,KAAM,CAAE,QAASO,CAAa,EAAG,MAAMC,EAAA,WAAO,4BAAyB,EAAC,kDACxER,EAAkBA,UAAmBH,EAAI,OAAOU,CAAW,CAC3D,CAEGN,GACHA,EAAoB,SAAU,EAE/BA,EAAsB,IAAID,EAAgB,CAEzC,OAAQM,CACX,CAAG,EAEDL,EAAoB,OAAOI,CAAQ,EACnCJ,EAAoB,OAAOG,CAAE,CAC7B,EACD,OAAOC,EAAU,CAChBJ,EAAoB,OAAOI,CAAQ,CACnC,EACD,SAAU,CACTJ,EAAoB,SAAU,EAC9BA,EAAsB,IACtB,CACF,CAAC,EAED,OAAO,iBAAiB,mBAAoB,gBAAiB,CAC5D,GAAI,IAAI,OAAS,IAAI,MAAM,QAAS,CACnC,IAAI,MAAM,QAAQ,YAAYC,CAAW,EACzC,KAAM,CAAE,QAASK,CAAa,EAAG,MAAMC,EAAA,WAAO,4BAAyB,EAAC,kDACxER,EAAkBA,UAAmBH,EAAI,OAAOU,CAAW,CAC3D,CACF,CAAC","names":["lightningBoltSVG","Vue","t","n","ActivityTabView","ActivityTabInstance","activityTab","LightningBolt","el","fileInfo","context","ActivityTab","__vitePreload"],"ignoreList":[0],"sources":["../node_modules/@mdi/svg/svg/lightning-bolt.svg?raw","../src/sidebar.js"],"sourcesContent":["export default \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" id=\\\"mdi-lightning-bolt\\\" viewBox=\\\"0 0 24 24\\\"><path d=\\\"M11 15H6L13 1V9H18L11 23V15Z\\\" /></svg>\"","/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport Vue from 'vue'\nimport { translate as t, translatePlural as n } from '@nextcloud/l10n'\n\n// eslint-disable-next-line import/no-unresolved\nimport LightningBolt from '@mdi/svg/svg/lightning-bolt.svg?raw'\n\nVue.prototype.t = t\nVue.prototype.n = n\n\n// Init Activity tab component\nlet ActivityTabView = null\nlet ActivityTabInstance = null\nconst activityTab = new OCA.Files.Sidebar.Tab({\n\tid: 'activity',\n\tname: t('activity', 'Activity'),\n\ticonSvg: LightningBolt,\n\n\tasync mount(el, fileInfo, context) {\n\t\t// only load if needed\n\t\tif (ActivityTabView === null) {\n\t\t\tconst { default: ActivityTab } = await import('./views/ActivityTab.vue')\n\t\t\tActivityTabView = ActivityTabView ?? Vue.extend(ActivityTab)\n\t\t}\n\t\t// destroy previous instance if available\n\t\tif (ActivityTabInstance) {\n\t\t\tActivityTabInstance.$destroy()\n\t\t}\n\t\tActivityTabInstance = new ActivityTabView({\n\t\t\t// Better integration with vue parent component\n\t\t\tparent: context,\n\t\t})\n\t\t// No need to await this, we will show a loading indicator instead\n\t\tActivityTabInstance.update(fileInfo)\n\t\tActivityTabInstance.$mount(el)\n\t},\n\tupdate(fileInfo) {\n\t\tActivityTabInstance.update(fileInfo)\n\t},\n\tdestroy() {\n\t\tActivityTabInstance.$destroy()\n\t\tActivityTabInstance = null\n\t},\n})\n\nwindow.addEventListener('DOMContentLoaded', async function() {\n\tif (OCA.Files && OCA.Files.Sidebar) {\n\t\tOCA.Files.Sidebar.registerTab(activityTab)\n\t\tconst { default: ActivityTab } = await import('./views/ActivityTab.vue')\n\t\tActivityTabView = ActivityTabView ?? Vue.extend(ActivityTab)\n\t}\n})\n"],"file":"js/activity-sidebar.mjs"}

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны