diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-12 18:43:09 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-04-13 06:08:39 +0000 |
commit | 225d6e2dcf6ae330161ebd968afce48be55f5666 (patch) | |
tree | 914a4e84c651799b9e912f01cb67b743af699e3c /dist/sharebymail-vue-settings-admin-sharebymail.js | |
parent | f37b29eb2da66c66fd3752209c9e552948e35ca1 (diff) | |
download | nextcloud-server-225d6e2dcf6ae330161ebd968afce48be55f5666.tar.gz nextcloud-server-225d6e2dcf6ae330161ebd968afce48be55f5666.zip |
feat(files): better breakpoints and sidebar responsive design
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'dist/sharebymail-vue-settings-admin-sharebymail.js')
-rw-r--r-- | dist/sharebymail-vue-settings-admin-sharebymail.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/sharebymail-vue-settings-admin-sharebymail.js b/dist/sharebymail-vue-settings-admin-sharebymail.js index f35f6b90e3f..c2ad99b07d1 100644 --- a/dist/sharebymail-vue-settings-admin-sharebymail.js +++ b/dist/sharebymail-vue-settings-admin-sharebymail.js @@ -1,3 +1,3 @@ /*! For license information please see sharebymail-vue-settings-admin-sharebymail.js.LICENSE.txt */ -!function(){"use strict";var e,n={27113:function(e,n,r){var i=r(20144),o=r(45994),a=r(31352),s=(r(36144),r(20571)),u=r.n(s),c=r(13299),d=r.n(c),l=r(79954),f=r(64024),p=r(4820),h=r(79753),y=r(10128),v=(r(65509),r(25108));function m(e,n,t,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void t(e)}s.done?n(u):Promise.resolve(u).then(r,i)}function g(e){return function(){var n=this,t=arguments;return new Promise((function(r,i){var o=e.apply(n,t);function a(e){m(o,r,i,a,s,"next",e)}function s(e){m(o,r,i,a,s,"throw",e)}a(void 0)}))}}var b={name:"AdminSettings",components:{NcCheckboxRadioSwitch:u(),NcSettingsSection:d()},data:function(){return{sendPasswordMail:(0,l.j)("sharebymail","sendPasswordMail"),replyToInitiator:(0,l.j)("sharebymail","replyToInitiator")}},methods:{update:function(e,n){var r=this;return g(regeneratorRuntime.mark((function i(){var o,a,s,u,c,d;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,y.confirmPassword)();case 2:return o=(0,h.generateOcsUrl)("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),a=n?"yes":"no",i.prev=4,i.next=7,p.default.post(o,{value:a});case 7:c=i.sent,d=c.data,r.handleResponse({status:null===(s=d.ocs)||void 0===s||null===(u=s.meta)||void 0===u?void 0:u.status}),i.next=15;break;case 12:i.prev=12,i.t0=i.catch(4),r.handleResponse({errorMessage:t("sharebymail","Unable to update share by mail config"),error:i.t0});case 15:case"end":return i.stop()}}),i,null,[[4,12]])})))()},handleResponse:function(e){return g(regeneratorRuntime.mark((function n(){var t,r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.status,r=e.errorMessage,i=e.error,"ok"!==t&&((0,f.x2)(r),v.error(r,i));case 2:case"end":return n.stop()}}),n)})))()}}},I=(0,r(51900).Z)(b,(function(){var e=this,n=e._self._c;return n("NcSettingsSection",{attrs:{title:e.t("sharebymail","Share by mail"),description:e.t("sharebymail","Allows users to share a personalized link to a file or folder by putting in an email address.")}},[n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:e.sendPasswordMail},on:{"update:checked":[function(n){e.sendPasswordMail=n},function(n){return e.update("sendpasswordmail",e.sendPasswordMail)}]}},[e._v("\n\t\t"+e._s(e.t("sharebymail","Send password by mail"))+"\n\t")]),e._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:e.replyToInitiator},on:{"update:checked":[function(n){e.replyToInitiator=n},function(n){return e.update("replyToInitiator",e.replyToInitiator)}]}},[e._v("\n\t\t"+e._s(e.t("sharebymail","Reply to initiator"))+"\n\t")])],1)}),[],!1,null,null,null).exports;r.nc=btoa((0,o.IH)()),i.default.mixin({methods:{t:a.Iu}}),(new(i.default.extend(I))).$mount("#vue-admin-sharebymail")},81490:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},90888:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=n,e=[],i.O=function(n,t,r,o){if(!t){var a=1/0;for(d=0;d<e.length;d++){t=e[d][0],r=e[d][1],o=e[d][2];for(var s=!0,u=0;u<t.length;u++)(!1&o||a>=o)&&Object.keys(i.O).every((function(e){return i.O[e](t[u])}))?t.splice(u--,1):(s=!1,o<a&&(a=o));if(s){e.splice(d--,1);var c=r();void 0!==c&&(n=c)}}return n}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,r,o]},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},i.j=3173,function(){i.b=document.baseURI||self.location.href;var e={3173:0};i.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,o,a=t[0],s=t[1],u=t[2],c=0;if(a.some((function(n){return 0!==e[n]}))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);if(u)var d=u(i)}for(n&&n(t);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(d)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}(),i.nc=void 0;var o=i.O(void 0,[7874],(function(){return i(27113)}));o=i.O(o)}(); -//# sourceMappingURL=sharebymail-vue-settings-admin-sharebymail.js.map?v=f895b3ad255ef5f089b3
\ No newline at end of file +(()=>{"use strict";var e,a={27113:(e,a,i)=>{var o=i(20144),r=i(45994),n=i(31352),s=(i(36144),i(20571)),d=i.n(s),l=i(13299),c=i.n(l),u=i(79954),y=i(64024),p=i(4820),h=i(79753),g=i(10128),m=(i(65509),i(25108));const v={name:"AdminSettings",components:{NcCheckboxRadioSwitch:d(),NcSettingsSection:c()},data:()=>({sendPasswordMail:(0,u.j)("sharebymail","sendPasswordMail"),replyToInitiator:(0,u.j)("sharebymail","replyToInitiator")}),methods:{async update(e,a){await(0,g.confirmPassword)();const i=(0,h.generateOcsUrl)("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),o=a?"yes":"no";try{var r,n;const{data:e}=await p.default.post(i,{value:o});this.handleResponse({status:null===(r=e.ocs)||void 0===r||null===(n=r.meta)||void 0===n?void 0:n.status})}catch(e){this.handleResponse({errorMessage:t("sharebymail","Unable to update share by mail config"),error:e})}},async handleResponse(e){let{status:t,errorMessage:a,error:i}=e;"ok"!==t&&((0,y.x2)(a),m.error(a,i))}}},b=(0,i(51900).Z)(v,(function(){var e=this,t=e._self._c;return t("NcSettingsSection",{attrs:{title:e.t("sharebymail","Share by mail"),description:e.t("sharebymail","Allows users to share a personalized link to a file or folder by putting in an email address.")}},[t("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:e.sendPasswordMail},on:{"update:checked":[function(t){e.sendPasswordMail=t},function(t){return e.update("sendpasswordmail",e.sendPasswordMail)}]}},[e._v("\n\t\t"+e._s(e.t("sharebymail","Send password by mail"))+"\n\t")]),e._v(" "),t("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:e.replyToInitiator},on:{"update:checked":[function(t){e.replyToInitiator=t},function(t){return e.update("replyToInitiator",e.replyToInitiator)}]}},[e._v("\n\t\t"+e._s(e.t("sharebymail","Reply to initiator"))+"\n\t")])],1)}),[],!1,null,null,null).exports;i.nc=btoa((0,r.IH)()),o.default.mixin({methods:{t:n.Iu}}),(new(o.default.extend(b))).$mount("#vue-admin-sharebymail")},81490:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},90888:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return a[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=a,e=[],o.O=(t,a,i,r)=>{if(!a){var n=1/0;for(c=0;c<e.length;c++){a=e[c][0],i=e[c][1],r=e[c][2];for(var s=!0,d=0;d<a.length;d++)(!1&r||n>=r)&&Object.keys(o.O).every((e=>o.O[e](a[d])))?a.splice(d--,1):(s=!1,r<n&&(n=r));if(s){e.splice(c--,1);var l=i();void 0!==l&&(t=l)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[a,i,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=3173,(()=>{o.b=document.baseURI||self.location.href;var e={3173:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var i,r,n=a[0],s=a[1],d=a[2],l=0;if(n.some((t=>0!==e[t]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(d)var c=d(o)}for(t&&t(a);l<n.length;l++)r=n[l],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(c)},a=self.webpackChunknextcloud=self.webpackChunknextcloud||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),o.nc=void 0;var r=o.O(void 0,[7874],(()=>o(27113)));r=o.O(r)})(); +//# sourceMappingURL=sharebymail-vue-settings-admin-sharebymail.js.map?v=f64fc911f0c9ab4a7fd1
\ No newline at end of file |