diff options
author | Thomas Citharel <tcit@tcit.fr> | 2023-01-04 17:32:23 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-01-04 17:40:40 +0000 |
commit | ab6e7d33f82880174490b507378c7bf4bd2998e6 (patch) | |
tree | 8fa659b7e66925d326bed9da4600cf2956ef7dba /dist/sharebymail-vue-settings-admin-sharebymail.js | |
parent | e235c6438c5013bf81ee34d283b8aea43305400f (diff) | |
download | nextcloud-server-ab6e7d33f82880174490b507378c7bf4bd2998e6.tar.gz nextcloud-server-ab6e7d33f82880174490b507378c7bf4bd2998e6.zip |
Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.
https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
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 191a451394e..064bfba438c 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={31163:function(e,n,r){var o=r(20144),i=r(45994),a=r(9944),s=(r(36144),r(20571)),c=r.n(s),u=r(13299),d=r.n(u),l=r(79954),f=r(26932),p=r(4820),h=r(79753),y=r(10128);function v(e,n,t,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void t(e)}s.done?n(c):Promise.resolve(c).then(r,o)}function m(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}r(65509);var g={name:"AdminSettings",components:{NcCheckboxRadioSwitch:c(),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 m(regeneratorRuntime.mark((function o(){var i,a,s,c,u,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,y.confirmPassword)();case 2:return i=(0,h.generateOcsUrl)("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),a=n?"yes":"no",o.prev=4,o.next=7,p.default.post(i,{value:a});case 7:u=o.sent,d=u.data,r.handleResponse({status:null===(s=d.ocs)||void 0===s||null===(c=s.meta)||void 0===c?void 0:c.status}),o.next=15;break;case 12:o.prev=12,o.t0=o.catch(4),r.handleResponse({errorMessage:t("sharebymail","Unable to update share by mail config"),error:o.t0});case 15:case"end":return o.stop()}}),o,null,[[4,12]])})))()},handleResponse:function(e){return m(regeneratorRuntime.mark((function n(){var t,r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.status,r=e.errorMessage,o=e.error,"ok"!==t&&((0,f.x2)(r),console.error(r,o));case 2:case"end":return n.stop()}}),n)})))()}}},b=(0,r(51900).Z)(g,(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,i.IH)()),o.ZP.mixin({methods:{t:a.translate}}),(new(o.ZP.extend(b))).$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 o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.amdD=function(){throw new Error("define cannot be used indirect")},o.amdO={},e=[],o.O=function(n,t,r,i){if(!t){var a=1/0;for(d=0;d<e.length;d++){t=e[d][0],r=e[d][1],i=e[d][2];for(var s=!0,c=0;c<t.length;c++)(!1&i||a>=i)&&Object.keys(o.O).every((function(e){return o.O[e](t[c])}))?t.splice(c--,1):(s=!1,i<a&&(a=i));if(s){e.splice(d--,1);var u=r();void 0!==u&&(n=u)}}return n}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[t,r,i]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},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=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o.j=3173,function(){o.b=document.baseURI||self.location.href;var e={3173:0};o.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,i,a=t[0],s=t[1],c=t[2],u=0;if(a.some((function(n){return 0!==e[n]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(c)var d=c(o)}for(n&&n(t);u<a.length;u++)i=a[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(d)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}(),o.nc=void 0;var i=o.O(void 0,[7874],(function(){return o(31163)}));i=o.O(i)}(); -//# sourceMappingURL=sharebymail-vue-settings-admin-sharebymail.js.map?v=546f1533648ddb467e8f
\ No newline at end of file +!function(){"use strict";var e,n={31163:function(e,n,r){var o=r(20144),i=r(45994),a=r(9944),s=(r(36144),r(20571)),c=r.n(s),u=r(13299),l=r.n(u),d=r(79954),f=r(26932),p=r(4820),h=r(79753),y=r(10128);function v(e,n,t,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void t(e)}s.done?n(c):Promise.resolve(c).then(r,o)}function m(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}r(65509);var g={name:"AdminSettings",components:{NcCheckboxRadioSwitch:c(),NcSettingsSection:l()},data:function(){return{sendPasswordMail:(0,d.j)("sharebymail","sendPasswordMail"),replyToInitiator:(0,d.j)("sharebymail","replyToInitiator")}},methods:{update:function(e,n){var r=this;return m(regeneratorRuntime.mark((function o(){var i,a,s,c,u,l;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,y.confirmPassword)();case 2:return i=(0,h.generateOcsUrl)("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),a=n?"yes":"no",o.prev=4,o.next=7,p.default.post(i,{value:a});case 7:u=o.sent,l=u.data,r.handleResponse({status:null===(s=l.ocs)||void 0===s||null===(c=s.meta)||void 0===c?void 0:c.status}),o.next=15;break;case 12:o.prev=12,o.t0=o.catch(4),r.handleResponse({errorMessage:t("sharebymail","Unable to update share by mail config"),error:o.t0});case 15:case"end":return o.stop()}}),o,null,[[4,12]])})))()},handleResponse:function(e){return m(regeneratorRuntime.mark((function n(){var t,r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.status,r=e.errorMessage,o=e.error,"ok"!==t&&((0,f.x2)(r),console.error(r,o));case 2:case"end":return n.stop()}}),n)})))()}}},b=(0,r(51900).Z)(g,(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,i.IH)()),o.ZP.mixin({methods:{t:a.translate}}),(new(o.ZP.extend(b))).$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 o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,e=[],o.O=function(n,t,r,i){if(!t){var a=1/0;for(l=0;l<e.length;l++){t=e[l][0],r=e[l][1],i=e[l][2];for(var s=!0,c=0;c<t.length;c++)(!1&i||a>=i)&&Object.keys(o.O).every((function(e){return o.O[e](t[c])}))?t.splice(c--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var u=r();void 0!==u&&(n=u)}}return n}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[t,r,i]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},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=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o.j=3173,function(){o.b=document.baseURI||self.location.href;var e={3173:0};o.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,i,a=t[0],s=t[1],c=t[2],u=0;if(a.some((function(n){return 0!==e[n]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(c)var l=c(o)}for(n&&n(t);u<a.length;u++)i=a[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(l)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}(),o.nc=void 0;var i=o.O(void 0,[7874],(function(){return o(31163)}));i=o.O(i)}(); +//# sourceMappingURL=sharebymail-vue-settings-admin-sharebymail.js.map?v=b00186c052dc300c9ec9
\ No newline at end of file |