Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
af38b0a
IONOS: feat: add always_show_viewer app config value
printminion-co Aug 27, 2024
f345c12
IONOS: feat: add config module to expose alwaysShowViewer
printminion-co Aug 27, 2024
b852c66
IONOS: feat: add default component stub
printminion-co Aug 27, 2024
df78a51
IONOS: feat: add default viewer
printminion-co Aug 28, 2024
e8813a7
IONOS: feat: enable default viewer
printminion-co Aug 28, 2024
e40d056
IONOS: feat: extract default mime type to config
printminion-co Sep 3, 2024
001cb5d
IONOS: feat: properly implement default component
fracado Sep 2, 2024
bd8be93
IONOS: feat(Viewer): extract modal title as own method
printminion-co Sep 3, 2024
c2cc17b
IONOS: feat(Viewer): hide file name in modal header when mime image s…
fracado Sep 2, 2024
de6d5f0
IONOS:fix(Viewer): remove directories from fileList
thlehmann-ionos Sep 11, 2024
db33c2d
IONOS:fix(Default): define proper text color
thlehmann-ionos Sep 12, 2024
0250e04
IONOS: fix(Images): hide loading spinner on failed image load
thlehmann-ionos Sep 12, 2024
d3d014e
IONOS: fix(Default): fix width for Safari
fracado Sep 16, 2024
d7aeb30
IONOS fix(Viewer): fix video load error
fracado Feb 14, 2025
4f9f8fd
IONOS fix(Viewer): fix file filter for directories
fracado Feb 17, 2025
87c8e1b
IONOS: feat(Viewer): remove collabora documents from preview
fracado Apr 25, 2025
2751e31
IONOS: refactor(Viewer): simplify folder check logic in viewer action
printminion-co Jun 23, 2025
9d28055
IONOS: fix(Default.vue): update title color variable for consistency
printminion-co Jun 25, 2025
d4c66d4
IONOS: feat(Viewer): ensure previous and next navigation works with d…
fracado Sep 2, 2024
b5c294d
IONOS: chore(assets): recompile viewer assets for NC33 delta
printminion-co Jul 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/viewer-init.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* extracted by css-entry-points-plugin */
@import './init-DdYDd94h.chunk.css';
@import './init-BOCeGa0Z.chunk.css';
@import './previewUtils-DsYu1D1k.chunk.css';
@import './NcIconSvgWrapper-Bui9PhAS-3xIBDiQU.chunk.css';
@import './NcActionButton-Dc3ra1Np.chunk.css';
Expand Down
2 changes: 1 addition & 1 deletion css/viewer-main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* extracted by css-entry-points-plugin */
@import './main-CRBdrojV.chunk.css';
@import './main-n63QkgA_.chunk.css';
@import './previewUtils-DsYu1D1k.chunk.css';
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import{N as i,m as s,b as a}from"./NcIconSvgWrapper-Bui9PhAS-B8bT60nz.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-Dqoyaeqv.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,"5b4c6c71");const b=r.exports;export{b as default};
//# sourceMappingURL=NcActionButton-lB2jlX-b.chunk.mjs.map
import{N as i,m as s,b as a}from"./NcIconSvgWrapper-Bui9PhAS-BmHHvszF.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-BAoIfi1D.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,"5b4c6c71");const b=r.exports;export{b as default};
//# sourceMappingURL=NcActionButton-CTBtzndk.chunk.mjs.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import{p as r,V as s,u as o}from"./previewUtils-Dqoyaeqv.chunk.mjs";import{n as L}from"./_plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs";var v="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",g="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",f="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",h="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",A="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",S="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z";const a={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:e=>typeof e=="number"||e==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const e=r.sanitize(this.svg),t=new DOMParser().parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(s.util.warn("SVG is not valid"),""):(t.documentElement.id&&t.documentElement.removeAttribute("id"),t.documentElement.outerHTML)}}},n=()=>{o((e,t)=>({dad67fa8:e.iconSize}))},i=a.setup;a.setup=i?(e,t)=>(n(),i(e,t)):n;const l=a;var p=function(){var e=this,t=e._self._c;return t("span",{staticClass:"icon-vue",class:{"icon-vue--directional":e.directional,"icon-vue--inline":e.inline},attrs:{"aria-hidden":e.name?void 0:"true","aria-label":e.name||void 0,role:"img"}},[e.cleanSvg?t("span",{domProps:{innerHTML:e._s(e.cleanSvg)}}):t("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:e.path}})])])},u=[],c=L(l,p,u,!1,null,"4625d649");const M=c.exports;export{M as N,f as a,g as b,S as c,A as d,v as e,h as m};
//# sourceMappingURL=NcIconSvgWrapper-Bui9PhAS-B8bT60nz.chunk.mjs.map
import{p as r,V as s,u as o}from"./previewUtils-BAoIfi1D.chunk.mjs";import{n as L}from"./_plugin-vue2_normalizer-DU4iP6Vu-UEw9p-J1.chunk.mjs";var v="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",g="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",f="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",h="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",A="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",S="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z";const a={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:e=>typeof e=="number"||e==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const e=r.sanitize(this.svg),t=new DOMParser().parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(s.util.warn("SVG is not valid"),""):(t.documentElement.id&&t.documentElement.removeAttribute("id"),t.documentElement.outerHTML)}}},n=()=>{o((e,t)=>({dad67fa8:e.iconSize}))},i=a.setup;a.setup=i?(e,t)=>(n(),i(e,t)):n;const l=a;var p=function(){var e=this,t=e._self._c;return t("span",{staticClass:"icon-vue",class:{"icon-vue--directional":e.directional,"icon-vue--inline":e.inline},attrs:{"aria-hidden":e.name?void 0:"true","aria-label":e.name||void 0,role:"img"}},[e.cleanSvg?t("span",{domProps:{innerHTML:e._s(e.cleanSvg)}}):t("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:e.path}})])])},u=[],c=L(l,p,u,!1,null,"4625d649");const M=c.exports;export{M as N,f as a,g as b,S as c,A as d,v as e,h as m};
//# sourceMappingURL=NcIconSvgWrapper-Bui9PhAS-BmHHvszF.chunk.mjs.map
Loading
Loading