From 48c1acc1f195532f75879e0b122310e341f7093a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 26 Aug 2026 07:08:05 +0200 Subject: [PATCH 1/3] chore(CI): Adjust testing matrix for Nextcloud 35 on stable35 Signed-off-by: Joas Schilling --- composer.json | 2 +- composer.lock | 344 ++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 337 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index e548590ab..e3abe356e 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,6 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8", - "nextcloud/ocp": "dev-master" + "nextcloud/ocp": "dev-stable35" } } diff --git a/composer.lock b/composer.lock index 38c946edf..e2720d0fd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6c08c5e11e81358f755909851dea9576", + "content-hash": "c7fae95fe9a4de2dfff726bb959efed6", "packages": [], "packages-dev": [ { @@ -66,16 +66,16 @@ }, { "name": "nextcloud/ocp", - "version": "dev-master", + "version": "dev-stable35", "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "fb0d64c633ec7775d541c77fd56f2e43b0c26fbf" + "reference": "75e04c37b52633c6601b63af3a33a71e0f48967e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/fb0d64c633ec7775d541c77fd56f2e43b0c26fbf", - "reference": "fb0d64c633ec7775d541c77fd56f2e43b0c26fbf", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/75e04c37b52633c6601b63af3a33a71e0f48967e", + "reference": "75e04c37b52633c6601b63af3a33a71e0f48967e", "shasum": "" }, "require": { @@ -84,9 +84,12 @@ "psr/container": "^2.0.2", "psr/event-dispatcher": "^1.0", "psr/http-client": "^1.0.3", - "psr/log": "^3.0.2" + "psr/log": "^3.0.2", + "symfony/polyfill-intl-normalizer": "^1.38", + "symfony/polyfill-php84": "^1.38", + "symfony/polyfill-php85": "^1.41", + "symfony/polyfill-php86": "^1.41" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { @@ -112,7 +115,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2026-07-17T01:42:16+00:00" + "time": "2026-08-24T17:09:03+00:00" }, { "name": "psr/clock", @@ -419,6 +422,331 @@ "source": "https://github.com/php-fig/log/tree/3.0.2" }, "time": "2024-09-11T13:17:53+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.42.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "aa20edea75bd9c48cfecc8360922e5a6e5c44502" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/aa20edea75bd9c48cfecc8360922e5a6e5c44502", + "reference": "aa20edea75bd9c48cfecc8360922e5a6e5c44502", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.42.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-08-07T06:33:24+00:00" + }, + { + "name": "symfony/polyfill-php84", + "version": "v1.38.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php84.git", + "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa", + "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php84\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php84/tree/v1.38.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-05-26T12:51:13+00:00" + }, + { + "name": "symfony/polyfill-php85", + "version": "v1.41.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php85.git", + "reference": "255fab485aaa1006ed411040c42aecd7b5302d7a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/255fab485aaa1006ed411040c42aecd7b5302d7a", + "reference": "255fab485aaa1006ed411040c42aecd7b5302d7a", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php85\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php85/tree/v1.41.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-07-01T12:47:55+00:00" + }, + { + "name": "symfony/polyfill-php86", + "version": "v1.41.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php86.git", + "reference": "6bc356ed3d8dbfeea8f0de235e34d670704e880e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php86/zipball/6bc356ed3d8dbfeea8f0de235e34d670704e880e", + "reference": "6bc356ed3d8dbfeea8f0de235e34d670704e880e", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php86\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.6+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php86/tree/v1.41.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-07-02T13:42:24+00:00" } ], "aliases": [], From 4dd4a9761764410e735b45c90252f9a623c0dc88 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 26 Aug 2026 07:08:05 +0200 Subject: [PATCH 2/3] chore(branchoff): Set version on stable35 to a stable one Signed-off-by: Joas Schilling --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 2b1356b1b..3cf496b08 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -9,7 +9,7 @@ Viewer Simple file viewer with slideshow for media - 8.0.0-dev.0 + 8.0.0 agpl John Molakvoæ Viewer From bc9fad0dbe23a2fcef78130ce176c7f726b363a9 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Wed, 26 Aug 2026 11:30:10 +0000 Subject: [PATCH 3/3] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- ...n-B73-WtOY.chunk.mjs => NcActionButton-D9u0Okea.chunk.mjs} | 4 ++-- ....mjs.license => NcActionButton-D9u0Okea.chunk.mjs.license} | 0 ...OY.chunk.mjs.map => NcActionButton-D9u0Okea.chunk.mjs.map} | 2 +- ....license => NcActionButton-D9u0Okea.chunk.mjs.map.license} | 0 ...ink-D20xxPCn.chunk.mjs => NcActionLink-DDQUkWaO.chunk.mjs} | 4 ++-- ...nk.mjs.license => NcActionLink-DDQUkWaO.chunk.mjs.license} | 0 ...xPCn.chunk.mjs.map => NcActionLink-DDQUkWaO.chunk.mjs.map} | 2 +- ...ap.license => NcActionLink-DDQUkWaO.chunk.mjs.map.license} | 0 ...chunk.mjs => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs} | 4 ++-- ...e => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.license} | 0 ...s.map => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.map} | 2 +- ... NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.map.license} | 0 js/{NcModal-DMQg8Dro.chunk.mjs => NcModal-pD5lgsS7.chunk.mjs} | 4 ++-- ...o.chunk.mjs.license => NcModal-pD5lgsS7.chunk.mjs.license} | 0 ...-DMQg8Dro.chunk.mjs.map => NcModal-pD5lgsS7.chunk.mjs.map} | 2 +- ...mjs.map.license => NcModal-pD5lgsS7.chunk.mjs.map.license} | 0 js/_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs | 2 -- js/_plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs | 2 ++ ...lugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.license} | 0 ...> _plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.map} | 2 +- ...n-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.map.license} | 0 js/viewer-init.mjs | 2 +- js/viewer-init.mjs.map | 2 +- js/viewer-main.mjs | 4 ++-- 24 files changed, 19 insertions(+), 19 deletions(-) rename js/{NcActionButton-B73-WtOY.chunk.mjs => NcActionButton-D9u0Okea.chunk.mjs} (92%) rename js/{NcActionButton-B73-WtOY.chunk.mjs.license => NcActionButton-D9u0Okea.chunk.mjs.license} (100%) rename js/{NcActionButton-B73-WtOY.chunk.mjs.map => NcActionButton-D9u0Okea.chunk.mjs.map} (99%) rename js/{NcActionButton-B73-WtOY.chunk.mjs.map.license => NcActionButton-D9u0Okea.chunk.mjs.map.license} (100%) rename js/{NcActionLink-D20xxPCn.chunk.mjs => NcActionLink-DDQUkWaO.chunk.mjs} (92%) rename js/{NcActionLink-D20xxPCn.chunk.mjs.license => NcActionLink-DDQUkWaO.chunk.mjs.license} (100%) rename js/{NcActionLink-D20xxPCn.chunk.mjs.map => NcActionLink-DDQUkWaO.chunk.mjs.map} (98%) rename js/{NcActionLink-D20xxPCn.chunk.mjs.map.license => NcActionLink-DDQUkWaO.chunk.mjs.map.license} (100%) rename js/{NcIconSvgWrapper-Bui9PhAS-DxNXUZ0w.chunk.mjs => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs} (91%) rename js/{NcIconSvgWrapper-Bui9PhAS-DxNXUZ0w.chunk.mjs.license => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.license} (100%) rename js/{NcIconSvgWrapper-Bui9PhAS-DxNXUZ0w.chunk.mjs.map => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.map} (99%) rename js/{NcIconSvgWrapper-Bui9PhAS-DxNXUZ0w.chunk.mjs.map.license => NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs.map.license} (100%) rename js/{NcModal-DMQg8Dro.chunk.mjs => NcModal-pD5lgsS7.chunk.mjs} (99%) rename js/{NcModal-DMQg8Dro.chunk.mjs.license => NcModal-pD5lgsS7.chunk.mjs.license} (100%) rename js/{NcModal-DMQg8Dro.chunk.mjs.map => NcModal-pD5lgsS7.chunk.mjs.map} (99%) rename js/{NcModal-DMQg8Dro.chunk.mjs.map.license => NcModal-pD5lgsS7.chunk.mjs.map.license} (100%) delete mode 100644 js/_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs create mode 100644 js/_plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs rename js/{_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs.license => _plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.license} (100%) rename js/{_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs.map => _plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.map} (96%) rename js/{_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs.map.license => _plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs.map.license} (100%) diff --git a/js/NcActionButton-B73-WtOY.chunk.mjs b/js/NcActionButton-D9u0Okea.chunk.mjs similarity index 92% rename from js/NcActionButton-B73-WtOY.chunk.mjs rename to js/NcActionButton-D9u0Okea.chunk.mjs index 757d5bfda..a3909d48a 100644 --- a/js/NcActionButton-B73-WtOY.chunk.mjs +++ b/js/NcActionButton-D9u0Okea.chunk.mjs @@ -1,2 +1,2 @@ -import{N as i,m as s,b as a}from"./NcIconSvgWrapper-Bui9PhAS-DxNXUZ0w.chunk.mjs";import{A as n}from"./actionText-BMig9Egt-DrBqWVOB.chunk.mjs";import{n as o}from"./_plugin-vue2_normalizer-DU4iP6Vu-CHYf0Z4t.chunk.mjs";import"./previewUtils-DOqZ_eeK.chunk.mjs";const l={name:"NcActionButton",components:{NcIconSvgWrapper:i},mixins:[n],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:a,mdiChevronRight:s}},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({staticClass:"action-button button-vue",class:{"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=o(l,c,u,!1,null,"ab2ff78b");const b=r.exports;export{b as default}; -//# sourceMappingURL=NcActionButton-B73-WtOY.chunk.mjs.map +import{N as i,m as s,b as a}from"./NcIconSvgWrapper-Bui9PhAS-DrBrMYFU.chunk.mjs";import{A as n}from"./actionText-BMig9Egt-DrBqWVOB.chunk.mjs";import{n as o}from"./_plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs";import"./previewUtils-DOqZ_eeK.chunk.mjs";const l={name:"NcActionButton",components:{NcIconSvgWrapper:i},mixins:[n],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:a,mdiChevronRight:s}},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({staticClass:"action-button button-vue",class:{"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=o(l,c,u,!1,null,"ab2ff78b");const b=r.exports;export{b as default}; +//# sourceMappingURL=NcActionButton-D9u0Okea.chunk.mjs.map diff --git a/js/NcActionButton-B73-WtOY.chunk.mjs.license b/js/NcActionButton-D9u0Okea.chunk.mjs.license similarity index 100% rename from js/NcActionButton-B73-WtOY.chunk.mjs.license rename to js/NcActionButton-D9u0Okea.chunk.mjs.license diff --git a/js/NcActionButton-B73-WtOY.chunk.mjs.map b/js/NcActionButton-D9u0Okea.chunk.mjs.map similarity index 99% rename from js/NcActionButton-B73-WtOY.chunk.mjs.map rename to js/NcActionButton-D9u0Okea.chunk.mjs.map index 9962e1364..74aeb98a9 100644 --- a/js/NcActionButton-B73-WtOY.chunk.mjs.map +++ b/js/NcActionButton-D9u0Okea.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"file":"NcActionButton-B73-WtOY.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcActionButton-D7uypboC.mjs"],"sourcesContent":["import '../assets/NcActionButton-CwGeOQFe.css';\nimport { m as mdiChevronRight, a as mdiCheck } from \"./mdi-DkJglNiS.mjs\";\nimport { N as NcIconSvgWrapper } from \"./NcIconSvgWrapper-Bui9PhAS.mjs\";\nimport { A as ActionTextMixin } from \"./actionText-BMig9Egt.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 // eslint-disable-next-line vue/no-boolean-default\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