Skip to content

Commit d473d1a

Browse files
fix(deps): Fix npm audit
Signed-off-by: GitHub <[email protected]>
1 parent d915b76 commit d473d1a

27 files changed

+598
-596
lines changed

css/_plugin-vue_export-helper-0YtJbfGl.chunk.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/files_downloadlimit-admin.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/* extracted by css-entry-points-plugin */
2-
@import './admin-zUKZ5XJ6.chunk.css';
3-
@import './index-hZPKu-D6-PNlveTVF.chunk.css';
2+
@import './admin-BRsxvd3P.chunk.css';
3+
@import './_plugin-vue_export-helper-0YtJbfGl.chunk.css';

css/files_downloadlimit-main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/* extracted by css-entry-points-plugin */
22
@import './main-B-rC9FPb.chunk.css';
3-
@import './index-hZPKu-D6-PNlveTVF.chunk.css';
3+
@import './_plugin-vue_export-helper-0YtJbfGl.chunk.css';

js/_plugin-vue_export-helper-bi_Zh_8n.chunk.mjs

Lines changed: 16 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
SPDX-License-Identifier: AGPL-3.0-or-later
2+
SPDX-License-Identifier: GPL-3.0-or-later
3+
SPDX-License-Identifier: MIT
4+
SPDX-FileCopyrightText: @nextcloud/dialogs developers
5+
SPDX-FileCopyrightText: David Myers <[email protected]>
6+
SPDX-FileCopyrightText: Eduardo San Martin Morote
7+
SPDX-FileCopyrightText: Evan You
8+
SPDX-FileCopyrightText: Guillaume Chau <[email protected]>
9+
SPDX-FileCopyrightText: Matt Zabriskie
10+
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
11+
SPDX-FileCopyrightText: Varun A P
12+
SPDX-FileCopyrightText: atomiks
13+
14+
This file is generated from multiple sources. Included packages:
15+
- @floating-ui/core
16+
- version: 1.7.3
17+
- license: MIT
18+
- @floating-ui/dom
19+
- version: 1.1.1
20+
- license: MIT
21+
- @floating-ui/utils
22+
- version: 0.2.10
23+
- license: MIT
24+
- @nextcloud/axios
25+
- version: 2.5.2
26+
- license: GPL-3.0-or-later
27+
- @nextcloud/dialogs
28+
- version: 7.2.0
29+
- license: AGPL-3.0-or-later
30+
- @nextcloud/l10n
31+
- version: 3.4.1
32+
- license: GPL-3.0-or-later
33+
- @nextcloud/router
34+
- version: 3.1.0
35+
- license: GPL-3.0-or-later
36+
- @nextcloud/vue
37+
- version: 9.3.3
38+
- license: AGPL-3.0-or-later
39+
- @vitejs/plugin-vue
40+
- version: 6.0.1
41+
- license: MIT
42+
- @vue/reactivity
43+
- version: 3.5.26
44+
- license: MIT
45+
- @vue/runtime-core
46+
- version: 3.5.26
47+
- license: MIT
48+
- @vue/runtime-dom
49+
- version: 3.5.26
50+
- license: MIT
51+
- @vue/shared
52+
- version: 3.5.26
53+
- license: MIT
54+
- axios
55+
- version: 1.13.0
56+
- license: MIT
57+
- floating-vue
58+
- version: 5.2.2
59+
- license: MIT
60+
- toastify-js
61+
- version: 1.12.0
62+
- license: MIT
63+
- vite-plugin-node-polyfills
64+
- version: 0.24.0
65+
- license: MIT
66+
- vue-router
67+
- version: 4.6.4
68+
- license: MIT

js/_plugin-vue_export-helper-bi_Zh_8n.chunk.mjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
SPDX-License-Identifier: AGPL-3.0-or-later
2+
SPDX-License-Identifier: GPL-3.0-or-later
3+
SPDX-License-Identifier: MIT
4+
SPDX-FileCopyrightText: @nextcloud/dialogs developers
5+
SPDX-FileCopyrightText: David Myers <[email protected]>
6+
SPDX-FileCopyrightText: Eduardo San Martin Morote
7+
SPDX-FileCopyrightText: Evan You
8+
SPDX-FileCopyrightText: Guillaume Chau <[email protected]>
9+
SPDX-FileCopyrightText: Matt Zabriskie
10+
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
11+
SPDX-FileCopyrightText: Varun A P
12+
SPDX-FileCopyrightText: atomiks
13+
14+
This file is generated from multiple sources. Included packages:
15+
- @floating-ui/core
16+
- version: 1.7.3
17+
- license: MIT
18+
- @floating-ui/dom
19+
- version: 1.1.1
20+
- license: MIT
21+
- @floating-ui/utils
22+
- version: 0.2.10
23+
- license: MIT
24+
- @nextcloud/axios
25+
- version: 2.5.2
26+
- license: GPL-3.0-or-later
27+
- @nextcloud/dialogs
28+
- version: 7.2.0
29+
- license: AGPL-3.0-or-later
30+
- @nextcloud/l10n
31+
- version: 3.4.1
32+
- license: GPL-3.0-or-later
33+
- @nextcloud/router
34+
- version: 3.1.0
35+
- license: GPL-3.0-or-later
36+
- @nextcloud/vue
37+
- version: 9.3.3
38+
- license: AGPL-3.0-or-later
39+
- @vitejs/plugin-vue
40+
- version: 6.0.1
41+
- license: MIT
42+
- @vue/reactivity
43+
- version: 3.5.26
44+
- license: MIT
45+
- @vue/runtime-core
46+
- version: 3.5.26
47+
- license: MIT
48+
- @vue/runtime-dom
49+
- version: 3.5.26
50+
- license: MIT
51+
- @vue/shared
52+
- version: 3.5.26
53+
- license: MIT
54+
- axios
55+
- version: 1.13.0
56+
- license: MIT
57+
- floating-vue
58+
- version: 5.2.2
59+
- license: MIT
60+
- toastify-js
61+
- version: 1.12.0
62+
- license: MIT
63+
- vite-plugin-node-polyfills
64+
- version: 0.24.0
65+
- license: MIT
66+
- vue-router
67+
- version: 4.6.4
68+
- license: MIT

js/files_downloadlimit-admin.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import{l as c,v as w,s as f,d as g,p as x,E as L,q as S,w as y,x as o,G as D,o as v,y as s,i as d,A as n,z as T,t as F,C as m,h as N,H as V}from"./index-hZPKu-D6-Bm8qo_pT.chunk.mjs";import{d as h,t as l,l as C}from"./logger-DsWSbSNC.chunk.mjs";async function r(i){try{return await c.put(w("/apps/files_downloadlimit/api/v1/limit"),{limit:i}),!0}catch(t){h.error("Failed to set default download limit",{error:t}),f(l("files_downloadlimit","Failed to set default download limit"))}return!1}async function k(){try{return await c.delete(w("/apps/files_downloadlimit/api/v1/limit")),!0}catch(i){h.error("Failed to remove default download limit",{error:i}),f(l("files_downloadlimit","Failed to remove default download limit"))}return!1}const u=C("files_downloadlimit","default-download-limit",-1),A=g({name:"AdminSettings",components:{NcCheckboxRadioSwitch:S,NcSettingsSection:L,NcTextField:x},data(){return{limit:Math.max(u,10),enableDefaultLimit:u!==-1,showLoading:!1,showSuccess:!1}},computed:{helperText(){return typeof this.limit=="number"&&this.limit<=0?l("files_downloadlimit","The minimum limit is 1"):""}},watch:{async limit(i){await r(i)&&(this.showSuccess=!0,window.setTimeout(()=>{this.showSuccess=!1},1e3))},async enableDefaultLimit(i,t){this.showLoading=!0;let e;i?e=await r(10):e=await k(),e||(this.enableDefaultLimit=t),this.showLoading=!1}},methods:{t:l}}),R={class:"settings__placeholder"};function U(i,t,e,z,E,G){const p=o("NcCheckboxRadioSwitch"),_=o("NcTextField"),b=o("NcSettingsSection");return v(),D(b,{name:i.t("files_downloadlimit","Download limit"),description:i.t("files_downloadlimit","Configure the default download limit for external shares.")},{default:s(()=>[d(p,{modelValue:i.enableDefaultLimit,"onUpdate:modelValue":t[0]||(t[0]=a=>i.enableDefaultLimit=a),loading:i.showLoading,type:"switch"},{default:s(()=>[T(F(i.t("files_downloadlimit","Default download limit for external shares")),1)]),_:1},8,["modelValue","loading"]),n(d(_,{modelValue:i.limit,"onUpdate:modelValue":t[1]||(t[1]=a=>i.limit=a),class:"settings__field",disabled:!i.enableDefaultLimit||i.showLoading,label:i.t("files_downloadlimit","Set default download limit"),type:"number",min:"1","helper-text":i.helperText,error:!!i.helperText,success:i.showSuccess},null,8,["modelValue","disabled","label","helper-text","error","success"]),[[m,i.enableDefaultLimit]]),n(N("div",R,null,512),[[m,!i.enableDefaultLimit]])]),_:1},8,["name","description"])}const q=y(A,[["render",U],["__scopeId","data-v-e84629db"]]);V(q).mount("#admin-download-limit");
1+
import{G as T,H as F,_ as y,d as L,I as H,h as a,o as l,i as u,k as c,r as z,A as S,t as s,u as h,j as m,J as U,p as x,q as C,w as v,s as I,v as M,x as $,y as r,K as R,z as w,C as p,D as _,L as j}from"./_plugin-vue_export-helper-bi_Zh_8n.chunk.mjs";import{d as k,t as o,l as q}from"./logger-BdqqYjbj.chunk.mjs";const B={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},E=["aria-hidden","aria-label"],G=["fill","width","height"],J={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},K={key:0};function Z(e,t,i,f,D,A){return l(),a("span",U(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon help-circle-icon",role:"img",onClick:t[0]||(t[0]=n=>e.$emit("click",n))}),[(l(),a("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[u("path",J,[i.title?(l(),a("title",K,s(i.title),1)):c("",!0)])],8,G))],16,E)}const O=y(B,[["render",Z]]);T(F);const P={class:"settings-section"},Q={class:"settings-section__name"},W=["aria-label","href","title"],X={key:0,class:"settings-section__desc"},Y=L({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(e){const t=H("External documentation");return(i,f)=>(l(),a("div",P,[u("h2",Q,[S(s(i.name)+" ",1),i.docUrl?(l(),a("a",{key:0,"aria-label":h(t),class:"settings-section__info",href:i.docUrl,rel:"noreferrer nofollow",target:"_blank",title:h(t)},[m(O,{size:20})],8,W)):c("",!0)]),i.description?(l(),a("p",X,s(i.description),1)):c("",!0),z(i.$slots,"default",{},void 0,!0)]))}}),ee=y(Y,[["__scopeId","data-v-9cedb949"]]);async function g(e){try{return await x.put(C("/apps/files_downloadlimit/api/v1/limit"),{limit:e}),!0}catch(t){k.error("Failed to set default download limit",{error:t}),v(o("files_downloadlimit","Failed to set default download limit"))}return!1}async function ie(){try{return await x.delete(C("/apps/files_downloadlimit/api/v1/limit")),!0}catch(e){k.error("Failed to remove default download limit",{error:e}),v(o("files_downloadlimit","Failed to remove default download limit"))}return!1}const b=q("files_downloadlimit","default-download-limit",-1),te=L({name:"AdminSettings",components:{NcCheckboxRadioSwitch:M,NcSettingsSection:ee,NcTextField:I},data(){return{limit:Math.max(b,10),enableDefaultLimit:b!==-1,showLoading:!1,showSuccess:!1}},computed:{helperText(){return typeof this.limit=="number"&&this.limit<=0?o("files_downloadlimit","The minimum limit is 1"):""}},watch:{async limit(e){await g(e)&&(this.showSuccess=!0,window.setTimeout(()=>{this.showSuccess=!1},1e3))},async enableDefaultLimit(e,t){this.showLoading=!0;let i;e?i=await g(10):i=await ie(),i||(this.enableDefaultLimit=t),this.showLoading=!1}},methods:{t:o}}),le={class:"settings__placeholder"};function ae(e,t,i,f,D,A){const n=r("NcCheckboxRadioSwitch"),N=r("NcTextField"),V=r("NcSettingsSection");return l(),R(V,{name:e.t("files_downloadlimit","Download limit"),description:e.t("files_downloadlimit","Configure the default download limit for external shares.")},{default:w(()=>[m(n,{modelValue:e.enableDefaultLimit,"onUpdate:modelValue":t[0]||(t[0]=d=>e.enableDefaultLimit=d),loading:e.showLoading,type:"switch"},{default:w(()=>[S(s(e.t("files_downloadlimit","Default download limit for external shares")),1)]),_:1},8,["modelValue","loading"]),p(m(N,{modelValue:e.limit,"onUpdate:modelValue":t[1]||(t[1]=d=>e.limit=d),class:"settings__field",disabled:!e.enableDefaultLimit||e.showLoading,label:e.t("files_downloadlimit","Set default download limit"),type:"number",min:"1","helper-text":e.helperText,error:!!e.helperText,success:e.showSuccess},null,8,["modelValue","disabled","label","helper-text","error","success"]),[[_,e.enableDefaultLimit]]),p(u("div",le,null,512),[[_,!e.enableDefaultLimit]])]),_:1},8,["name","description"])}const se=$(te,[["render",ae],["__scopeId","data-v-e84629db"]]);j(se).mount("#admin-download-limit");
22
//# sourceMappingURL=files_downloadlimit-admin.mjs.map

js/files_downloadlimit-admin.mjs.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later
22
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
33

44
This file is generated from multiple sources. Included packages:
5+
- @nextcloud/vue
6+
- version: 9.3.3
7+
- license: AGPL-3.0-or-later
58
- files_downloadlimit
69
- version: 5.1.0-dev.0
710
- license: AGPL-3.0-or-later

js/files_downloadlimit-admin.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)