From a11f9e221be2733218e8d3a6f10f309f4d913027 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:11:14 +0000 Subject: [PATCH 1/4] chore(deps): update dependency dompurify to v3.3.2 [security] --- package-lock.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3a9d7b6b0..53048f726 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7240,10 +7240,13 @@ } }, "node_modules/dompurify": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.0.tgz", - "integrity": "sha512-r+f6MYR1gGN1eJv0TVQbhA7if/U7P87cdPl3HN5rikqaBSBxLiCb/b9O+2eG0cxz0ghyU+mU1QkbsOwERMYlWQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.2.tgz", + "integrity": "sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ==", "license": "(MPL-2.0 OR Apache-2.0)", + "engines": { + "node": ">=20" + }, "optionalDependencies": { "@types/trusted-types": "^2.0.7" } From 76ee0f7d0efd9d2c31db0f899b5a8993bb600fc1 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 15 Mar 2026 18:09:14 +0000 Subject: [PATCH 2/4] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- ....mjs => NcActionButton-Vhy-i23t.chunk.mjs} | 4 +- ...NcActionButton-Vhy-i23t.chunk.mjs.license} | 0 ... => NcActionButton-Vhy-i23t.chunk.mjs.map} | 2 +- ...tionButton-Vhy-i23t.chunk.mjs.map.license} | 0 ...nk.mjs => NcActionLink-Cb2QvI7F.chunk.mjs} | 4 +- ...> NcActionLink-Cb2QvI7F.chunk.mjs.license} | 0 ...ap => NcActionLink-Cb2QvI7F.chunk.mjs.map} | 2 +- ...ActionLink-Cb2QvI7F.chunk.mjs.map.license} | 0 ...pwG.chunk.mjs => index-ERc6tpPj.chunk.mjs} | 4 +- ...cense => index-ERc6tpPj.chunk.mjs.license} | 0 ...k.mjs.map => index-ERc6tpPj.chunk.mjs.map} | 2 +- ...e => index-ERc6tpPj.chunk.mjs.map.license} | 0 js/previewUtils-BWqM5-N0.chunk.mjs.map | 1 - ...nk.mjs => previewUtils-CSHkBc9c.chunk.mjs} | 54 +++++++++---------- ...> previewUtils-CSHkBc9c.chunk.mjs.license} | 2 +- js/previewUtils-CSHkBc9c.chunk.mjs.map | 1 + ...eviewUtils-CSHkBc9c.chunk.mjs.map.license} | 2 +- js/viewer-init.mjs | 6 +-- js/viewer-main.mjs | 6 +-- 19 files changed, 45 insertions(+), 45 deletions(-) rename js/{NcActionButton-C031NBgu.chunk.mjs => NcActionButton-Vhy-i23t.chunk.mjs} (94%) rename js/{NcActionButton-C031NBgu.chunk.mjs.license => NcActionButton-Vhy-i23t.chunk.mjs.license} (100%) rename js/{NcActionButton-C031NBgu.chunk.mjs.map => NcActionButton-Vhy-i23t.chunk.mjs.map} (99%) rename js/{NcActionButton-C031NBgu.chunk.mjs.map.license => NcActionButton-Vhy-i23t.chunk.mjs.map.license} (100%) rename js/{NcActionLink-C0XLXW7A.chunk.mjs => NcActionLink-Cb2QvI7F.chunk.mjs} (92%) rename js/{NcActionLink-C0XLXW7A.chunk.mjs.license => NcActionLink-Cb2QvI7F.chunk.mjs.license} (100%) rename js/{NcActionLink-C0XLXW7A.chunk.mjs.map => NcActionLink-Cb2QvI7F.chunk.mjs.map} (98%) rename js/{NcActionLink-C0XLXW7A.chunk.mjs.map.license => NcActionLink-Cb2QvI7F.chunk.mjs.map.license} (100%) rename js/{index-C3hE5pwG.chunk.mjs => index-ERc6tpPj.chunk.mjs} (99%) rename js/{index-C3hE5pwG.chunk.mjs.license => index-ERc6tpPj.chunk.mjs.license} (100%) rename js/{index-C3hE5pwG.chunk.mjs.map => index-ERc6tpPj.chunk.mjs.map} (99%) rename js/{index-C3hE5pwG.chunk.mjs.map.license => index-ERc6tpPj.chunk.mjs.map.license} (100%) delete mode 100644 js/previewUtils-BWqM5-N0.chunk.mjs.map rename js/{previewUtils-BWqM5-N0.chunk.mjs => previewUtils-CSHkBc9c.chunk.mjs} (89%) rename js/{previewUtils-BWqM5-N0.chunk.mjs.license => previewUtils-CSHkBc9c.chunk.mjs.license} (99%) create mode 100644 js/previewUtils-CSHkBc9c.chunk.mjs.map rename js/{previewUtils-BWqM5-N0.chunk.mjs.map.license => previewUtils-CSHkBc9c.chunk.mjs.map.license} (99%) diff --git a/js/NcActionButton-C031NBgu.chunk.mjs b/js/NcActionButton-Vhy-i23t.chunk.mjs similarity index 94% rename from js/NcActionButton-C031NBgu.chunk.mjs rename to js/NcActionButton-Vhy-i23t.chunk.mjs index ed8878b46..1a0a94a52 100644 --- a/js/NcActionButton-C031NBgu.chunk.mjs +++ b/js/NcActionButton-Vhy-i23t.chunk.mjs @@ -1,2 +1,2 @@ -import{n as i,ab as s,be as a,bf as n}from"./previewUtils-BWqM5-N0.chunk.mjs";import{A as o}from"./actionText-fFcUPi2g-gjw6zxAU.chunk.mjs";const l={name:"NcActionButton",components:{NcIconSvgWrapper:s},mixins:[o],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:n,mdiChevronRight:a}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var c=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e("span",{staticClass:"action-button__longtext-wrapper"},[t.name?e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]):t._e(),t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(" "+t._s(t.text)+" ")]),t.description?e("span",{staticClass:"action-button__description",domProps:{textContent:t._s(t.description)}}):t._e()]),t.isMenu?e("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:t.mdiChevronRight}}):t.isChecked?e("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:t.mdiCheck}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},u=[],r=i(l,c,u,!1,null,"102cfc0a");const h=r.exports;export{h as default}; -//# sourceMappingURL=NcActionButton-C031NBgu.chunk.mjs.map +import{n as i,ab as s,be as a,bf as n}from"./previewUtils-CSHkBc9c.chunk.mjs";import{A as o}from"./actionText-fFcUPi2g-gjw6zxAU.chunk.mjs";const l={name:"NcActionButton",components:{NcIconSvgWrapper:s},mixins:[o],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:n,mdiChevronRight:a}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var c=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e("span",{staticClass:"action-button__longtext-wrapper"},[t.name?e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]):t._e(),t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(" "+t._s(t.text)+" ")]),t.description?e("span",{staticClass:"action-button__description",domProps:{textContent:t._s(t.description)}}):t._e()]),t.isMenu?e("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:t.mdiChevronRight}}):t.isChecked?e("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:t.mdiCheck}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},u=[],r=i(l,c,u,!1,null,"102cfc0a");const h=r.exports;export{h as default}; +//# sourceMappingURL=NcActionButton-Vhy-i23t.chunk.mjs.map diff --git a/js/NcActionButton-C031NBgu.chunk.mjs.license b/js/NcActionButton-Vhy-i23t.chunk.mjs.license similarity index 100% rename from js/NcActionButton-C031NBgu.chunk.mjs.license rename to js/NcActionButton-Vhy-i23t.chunk.mjs.license diff --git a/js/NcActionButton-C031NBgu.chunk.mjs.map b/js/NcActionButton-Vhy-i23t.chunk.mjs.map similarity index 99% rename from js/NcActionButton-C031NBgu.chunk.mjs.map rename to js/NcActionButton-Vhy-i23t.chunk.mjs.map index 696e69c52..7190dee10 100644 --- a/js/NcActionButton-C031NBgu.chunk.mjs.map +++ b/js/NcActionButton-Vhy-i23t.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"NcActionButton-C031NBgu.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcActionButton-CpGK6gSX.mjs"],"sourcesContent":["import '../assets/NcActionButton-D8Lyueq3.css';\nimport { m as mdiChevronRight, a as mdiCheck } from \"./mdi-C1L0jZ1V.mjs\";\nimport { A as ActionTextMixin } from \"./actionText-fFcUPi2g.mjs\";\nimport { N as NcIconSvgWrapper } from \"./NcIconSvgWrapper-Cb-cPj1R.mjs\";\nimport { n as normalizeComponent } from \"./_plugin-vue2_normalizer-DU4iP6Vu.mjs\";\nconst _sfc_main = {\n name: \"NcActionButton\",\n components: {\n NcIconSvgWrapper\n },\n mixins: [ActionTextMixin],\n inject: {\n isInSemanticMenu: {\n from: \"NcActions:isSemanticMenu\",\n default: false\n }\n },\n props: {\n /**\n * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n * otherwise root element will inherit incorrect aria-hidden.\n */\n ariaHidden: {\n type: Boolean,\n default: null\n },\n /**\n * disabled state of the action button\n */\n disabled: {\n type: Boolean,\n default: false\n },\n /**\n * If this is a menu, a chevron icon will\n * be added at the end of the line\n */\n isMenu: {\n type: Boolean,\n default: false\n },\n /**\n * The button's behavior, by default the button acts like a normal button with optional toggle button behavior if `modelValue` is `true` or `false`.\n * But you can also set to checkbox button behavior with tri-state or radio button like behavior.\n * This extends the native HTML button type attribute.\n */\n type: {\n type: String,\n default: \"button\",\n validator: (behavior) => [\"button\", \"checkbox\", \"radio\", \"reset\", \"submit\"].includes(behavior)\n },\n /**\n * The buttons state if `type` is 'checkbox' or 'radio' (meaning if it is pressed / selected).\n * For checkbox and toggle button behavior - boolean value.\n * For radio button behavior - could be a boolean checked or a string with the value of the button.\n * Note: Unlike native radio buttons, NcActionButton are not grouped by name, so you need to connect them by bind correct modelValue.\n *\n * **This is not availabe for `type='submit'` or `type='reset'`**\n *\n * If using `type='checkbox'` a `model-value` of `true` means checked, `false` means unchecked and `null` means indeterminate (tri-state)\n * For `type='radio'` `null` is equal to `false`\n */\n modelValue: {\n type: [Boolean, String],\n default: null\n },\n /**\n * The value used for the `modelValue` when this component is used with radio behavior\n * Similar to the `value` attribute of ``\n */\n value: {\n type: String,\n default: null\n },\n /**\n * Small underlying text content of the entry\n */\n description: {\n type: String,\n default: \"\"\n }\n },\n setup() {\n return {\n mdiCheck,\n mdiChevronRight\n };\n },\n computed: {\n /**\n * determines if the action is focusable\n *\n * @return {boolean} is the action focusable ?\n */\n isFocusable() {\n return !this.disabled;\n },\n /**\n * The current \"checked\" or \"pressed\" state for the model behavior\n */\n isChecked() {\n if (this.type === \"radio\" && typeof this.modelValue !== \"boolean\") {\n return this.modelValue === this.value;\n }\n return this.modelValue;\n },\n /**\n * The native HTML type to set on the button\n */\n nativeType() {\n if (this.type === \"submit\" || this.type === \"reset\") {\n return this.type;\n }\n return \"button\";\n },\n /**\n * HTML attributes to bind to the