diff --git a/js/viewer-components.js b/js/viewer-components.js new file mode 100644 index 000000000..1f64bb615 --- /dev/null +++ b/js/viewer-components.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkviewer=self.webpackChunkviewer||[]).push([["components"],{1932:(n,t,e)=>{e.d(t,{A:()=>l});var a=e(1354),i=e.n(a),o=e(6314),r=e.n(o)()(i());r.push([n.id,"/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-dba65098] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-dba65098] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-dba65098] {\n pointer-events: none;\n opacity: 0.5;\n}\n.action--disabled[data-v-dba65098]:hover, .action--disabled[data-v-dba65098]:focus {\n cursor: default;\n opacity: 0.5;\n}\n.action--disabled *[data-v-dba65098] {\n opacity: 1 !important;\n}\n.action-button[data-v-dba65098] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-button > span[data-v-dba65098] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-button__icon[data-v-dba65098] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-button[data-v-dba65098] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-button[data-v-dba65098] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-button__longtext-wrapper[data-v-dba65098], .action-button__longtext[data-v-dba65098] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-button__longtext[data-v-dba65098] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-button__name[data-v-dba65098] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-button__menu-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}\n.action-button__pressed-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}","",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcActionButton-D90PTEA5.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;EAGE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,YAAY;AACd;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,+DAA+D;EAC/D,sBAAsB;EACtB,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,mBAAmB;EACnB,mCAAmC;EACnC,0CAA0C;AAC5C;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;EACV,4EAA4E;EAC5E,qBAAqB;EACrB,4BAA4B;AAC9B;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,4DAA4D;EAC5D,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,eAAe;EACf,gCAAgC;AAClC;AACA;EACE,iBAAiB;EACjB,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE",sourcesContent:["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-dba65098] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-dba65098] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-dba65098] {\n pointer-events: none;\n opacity: 0.5;\n}\n.action--disabled[data-v-dba65098]:hover, .action--disabled[data-v-dba65098]:focus {\n cursor: default;\n opacity: 0.5;\n}\n.action--disabled *[data-v-dba65098] {\n opacity: 1 !important;\n}\n.action-button[data-v-dba65098] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-button > span[data-v-dba65098] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-button__icon[data-v-dba65098] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-button[data-v-dba65098] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-button[data-v-dba65098] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-button__longtext-wrapper[data-v-dba65098], .action-button__longtext[data-v-dba65098] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-button__longtext[data-v-dba65098] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-button__name[data-v-dba65098] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-button__menu-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}\n.action-button__pressed-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}"],sourceRoot:""}]);const l=r},9448:(n,t,e)=>{e.d(t,{A:()=>l});var a=e(1354),i=e.n(a),o=e(6314),r=e.n(o)()(i());r.push([n.id,"/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-30c015f0] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-30c015f0] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action-link[data-v-30c015f0] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-link > span[data-v-30c015f0] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-link__icon[data-v-30c015f0] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-link[data-v-30c015f0] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-link[data-v-30c015f0] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-link__longtext-wrapper[data-v-30c015f0], .action-link__longtext[data-v-30c015f0] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-link__longtext[data-v-30c015f0] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-link__name[data-v-30c015f0] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-link__menu-icon[data-v-30c015f0] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}","",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcActionLink-Db_ZlqWs.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;EAGE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,+DAA+D;EAC/D,sBAAsB;EACtB,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,mBAAmB;EACnB,mCAAmC;EACnC,0CAA0C;AAC5C;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;EACV,4EAA4E;EAC5E,qBAAqB;EACrB,4BAA4B;AAC9B;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,4DAA4D;EAC5D,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,eAAe;EACf,gCAAgC;AAClC;AACA;EACE,iBAAiB;EACjB,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE",sourcesContent:["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-30c015f0] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-30c015f0] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action-link[data-v-30c015f0] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-link > span[data-v-30c015f0] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-link__icon[data-v-30c015f0] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-link[data-v-30c015f0] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-link[data-v-30c015f0] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-link__longtext-wrapper[data-v-30c015f0], .action-link__longtext[data-v-30c015f0] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-link__longtext[data-v-30c015f0] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-link__name[data-v-30c015f0] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-link__menu-icon[data-v-30c015f0] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}"],sourceRoot:""}]);const l=r},9257:(n,t,e)=>{e.r(t),e.d(t,{default:()=>k});var a=e(5072),i=e.n(a),o=e(7825),r=e.n(o),l=e(7659),c=e.n(l),A=e(5056),s=e.n(A),d=e(540),u=e.n(d),p=e(1113),C=e.n(p),b=e(1932),g={};g.styleTagTransform=C(),g.setAttributes=s(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=u();i()(b.A,g);b.A&&b.A.locals&&b.A.locals;var h=e(5580),f=e(7556),m=e(5340),v=e(1431);const B={name:"NcActionButton",components:{CheckIcon:h.C,ChevronRightIcon:f.C},mixins:[m.A],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:n=>["button","checkbox","radio","reset","submit"].includes(n)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null}},computed:{isFocusable(){return!this.disabled},isChecked(){return"radio"===this.type&&"boolean"!=typeof this.modelValue?this.modelValue===this.value:this.modelValue},nativeType(){return"submit"===this.type||"reset"===this.type?this.type:"button"},buttonAttributes(){const n={};return this.isInSemanticMenu?(n.role="menuitem","radio"===this.type?(n.role="menuitemradio",n["aria-checked"]=this.isChecked?"true":"false"):("checkbox"===this.type||"button"===this.nativeType&&null!==this.modelValue)&&(n.role="menuitemcheckbox",n["aria-checked"]=null===this.modelValue?"mixed":this.modelValue?"true":"false")):null!==this.modelValue&&"button"===this.nativeType&&(n["aria-pressed"]=this.modelValue?"true":"false"),n}},methods:{handleClick(n){this.onClick(n),null===this.modelValue&&"button"===this.type||("radio"===this.type&&"boolean"!=typeof this.modelValue?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked))}}};var E=function(){var n=this,t=n._self._c;return t("li",{staticClass:"action",class:{"action--disabled":n.disabled},attrs:{role:n.isInSemanticMenu&&"presentation"}},[t("button",n._b({class:["action-button button-vue",{"action-button--active":n.isChecked,focusable:n.isFocusable}],attrs:{"aria-label":n.ariaLabel,disabled:n.disabled,title:n.title,type:n.nativeType},on:{click:n.handleClick}},"button",n.buttonAttributes,!1),[n._t("icon",(function(){return[t("span",{staticClass:"action-button__icon",class:[n.isIconUrl?"action-button__icon--url":n.icon],style:{backgroundImage:n.isIconUrl?"url(".concat(n.icon,")"):null},attrs:{"aria-hidden":"true"}})]})),n.name?t("span",{staticClass:"action-button__longtext-wrapper"},[t("strong",{staticClass:"action-button__name"},[n._v(" "+n._s(n.name)+" ")]),t("br"),t("span",{staticClass:"action-button__longtext",domProps:{textContent:n._s(n.text)}})]):n.isLongText?t("span",{staticClass:"action-button__longtext",domProps:{textContent:n._s(n.text)}}):t("span",{staticClass:"action-button__text"},[n._v(n._s(n.text))]),n.isMenu?t("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):!0===n.isChecked?t("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):!1===n.isChecked?t("span",{staticClass:"action-button__pressed-icon material-design-icon"}):n._e(),n._e()],2)])},x=[];const k=(0,v.n)(B,E,x,!1,null,"dba65098").exports},3267:(n,t,e)=>{e.r(t),e.d(t,{default:()=>E});var a=e(5072),i=e.n(a),o=e(7825),r=e.n(o),l=e(7659),c=e.n(l),A=e(5056),s=e.n(A),d=e(540),u=e.n(d),p=e(1113),C=e.n(p),b=e(9448),g={};g.styleTagTransform=C(),g.setAttributes=s(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=u();i()(b.A,g);b.A&&b.A.locals&&b.A.locals;var h=e(5340),f=e(1431);const m={name:"NcActionLink",mixins:[h.A],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{href:{type:String,default:"#",required:!0,validator:n=>{try{return new URL(n)}catch(t){return n.startsWith("#")||n.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:n=>n&&(!n.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(n)>-1)},title:{type:String,default:null},ariaHidden:{type:Boolean,default:null}}};var v=function(){var n=this,t=n._self._c;return t("li",{staticClass:"action",attrs:{role:n.isInSemanticMenu&&"presentation"}},[t("a",{staticClass:"action-link focusable",attrs:{download:n.download,href:n.href,"aria-label":n.ariaLabel,target:n.target,title:n.title,rel:"nofollow noreferrer noopener",role:n.isInSemanticMenu&&"menuitem"},on:{click:n.onClick}},[n._t("icon",(function(){return[t("span",{staticClass:"action-link__icon",class:[n.isIconUrl?"action-link__icon--url":n.icon],style:{backgroundImage:n.isIconUrl?"url(".concat(n.icon,")"):null},attrs:{"aria-hidden":"true"}})]})),n.name?t("span",{staticClass:"action-link__longtext-wrapper"},[t("strong",{staticClass:"action-link__name"},[n._v(" "+n._s(n.name)+" ")]),t("br"),t("span",{staticClass:"action-link__longtext",domProps:{textContent:n._s(n.text)}})]):n.isLongText?t("span",{staticClass:"action-link__longtext",domProps:{textContent:n._s(n.text)}}):t("span",{staticClass:"action-link__text"},[n._v(n._s(n.text))]),n._e()],2)])},B=[];const E=(0,f.n)(m,v,B,!1,null,"30c015f0").exports},5580:(n,t,e)=>{e.d(t,{C:()=>l});var a=e(1431);const i={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o=function(){var n=this,t=n._self._c;return t("span",n._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":!n.title||null,"aria-label":n.title,role:"img"},on:{click:function(t){return n.$emit("click",t)}}},"span",n.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:n.fillColor,width:n.size,height:n.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[n.title?t("title",[n._v(n._s(n.title))]):n._e()])])])},r=[];const l=(0,a.n)(i,o,r,!1,null,null).exports},6086:(n,t,e)=>{e.d(t,{A:()=>a});const a={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},5340:(n,t,e)=>{e.d(t,{A:()=>i});var a=e(6086);const i={mixins:[a.A],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch(n){return!1}}},methods:{onClick(n){if(this.$emit("click",n),this.closeAfterClick){const n=function(n,t){let e=n.$parent;for(;e;){if(e.$options.name===t)return e;e=e.$parent}}(this,"NcActions");n&&n.closeMenu&&n.closeMenu(!1)}}}}}}]); +//# sourceMappingURL=viewer-components.js.map?v=97e5666cfc2f844a2568 \ No newline at end of file diff --git a/js/viewer-components.js.map b/js/viewer-components.js.map new file mode 100644 index 000000000..59c81c655 --- /dev/null +++ b/js/viewer-components.js.map @@ -0,0 +1 @@ +{"version":3,"file":"viewer-components.js?v=97e5666cfc2f844a2568","mappings":"0JAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,6/FA0GrC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,mFAAmF,MAAQ,GAAG,SAAW,u7BAAu7B,eAAiB,CAAC,8/FAA8/F,WAAa,MAE5lI,S,mEC9GIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,ikFA2FrC,GAAG,CAAC,Q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AoB,CACxB,YAAAC,GACExD,KAAKgC,KAAOhC,KAAKyD,SACnB,EACA,IAAAC,GACE,MAAO,CAGL1B,KAAMhC,KAAKyD,UAEf,EACA3D,SAAU,CACR,UAAAmC,GACE,OAAOjC,KAAKgC,MAAQhC,KAAKgC,KAAK2B,OAAOC,OAAS,EAChD,GAEFtD,QAAS,CACP,OAAAmD,GACE,OAAOzD,KAAK6D,OAAO5E,QAAUe,KAAK6D,OAAO5E,QAAQ,GAAG+C,KAAK2B,OAAS,EACpE,G,gDClBJ,MASMG,EAAkB,CACtBlF,OAAQ,CAAC,EAAAC,GACTK,MAAO,CAILuC,KAAM,CACJrC,KAAMI,OACNP,QAAS,IAKXV,KAAM,CACJa,KAAMI,OACNP,QAAS,IAKXoC,MAAO,CACLjC,KAAMI,OACNP,QAAS,IAKX8E,gBAAiB,CACf3E,KAAMC,QACNJ,SAAS,GAKXmC,UAAW,CACThC,KAAMI,OACNP,QAAS,MAOXE,WAAY,CACVC,KAAMC,QACNJ,QAAS,OAGb+D,MAAO,CACL,SAEFlD,SAAU,CAKR,SAAA0B,GACE,IACE,QAAS,IAAIiB,IAAIzC,KAAKyB,KAAMzB,KAAKyB,KAAKkB,WAAW,KAAOqB,OAAOC,SAASC,YAAS,EACnF,CAAE,MAAOxB,GACP,OAAO,CACT,CACF,GAEFpC,QAAS,CACP,OAAAG,CAAQD,GAEN,GADAR,KAAKU,MAAM,QAASF,GAChBR,KAAK+D,gBAAiB,CACxB,MAAMI,EA7EI,SAASC,EAAS7F,GAClC,IAAI4F,EAASC,EAAQC,QACrB,KAAOF,GAAQ,CACb,GAAIA,EAAOG,SAAS/F,OAASA,EAC3B,OAAO4F,EAETA,EAASA,EAAOE,OAClB,CACF,CAqEuBE,CAAUvE,KAAM,aAC3BmE,GAAUA,EAAOK,WACnBL,EAAOK,WAAU,EAErB,CACF,G","sources":["webpack:///viewer/node_modules/@nextcloud/vue/dist/assets/NcActionButton-D90PTEA5.css","webpack:///viewer/node_modules/@nextcloud/vue/dist/assets/NcActionLink-Db_ZlqWs.css","webpack://viewer/./node_modules/@nextcloud/vue/dist/assets/NcActionButton-D90PTEA5.css?866c","webpack:///viewer/node_modules/@nextcloud/vue/dist/Components/NcActionButton.mjs","webpack://viewer/./node_modules/@nextcloud/vue/dist/assets/NcActionLink-Db_ZlqWs.css?1a88","webpack:///viewer/node_modules/@nextcloud/vue/dist/Components/NcActionLink.mjs","webpack:///viewer/node_modules/@nextcloud/vue/dist/chunks/Check-XHAzUBkX.mjs","webpack:///viewer/node_modules/@nextcloud/vue/dist/chunks/actionGlobal-DqVa7c7G.mjs","webpack:///viewer/node_modules/@nextcloud/vue/dist/chunks/actionText-fFcUPi2g.mjs"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-dba65098] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-dba65098] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action--disabled[data-v-dba65098] {\n pointer-events: none;\n opacity: 0.5;\n}\n.action--disabled[data-v-dba65098]:hover, .action--disabled[data-v-dba65098]:focus {\n cursor: default;\n opacity: 0.5;\n}\n.action--disabled *[data-v-dba65098] {\n opacity: 1 !important;\n}\n.action-button[data-v-dba65098] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-button > span[data-v-dba65098] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-button__icon[data-v-dba65098] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-button[data-v-dba65098] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-button[data-v-dba65098] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-button__longtext-wrapper[data-v-dba65098], .action-button__longtext[data-v-dba65098] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-button__longtext[data-v-dba65098] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-button__name[data-v-dba65098] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-button__menu-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}\n.action-button__pressed-icon[data-v-dba65098] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@nextcloud/vue/dist/assets/NcActionButton-D90PTEA5.css\"],\"names\":[],\"mappings\":\"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;EAGE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,oBAAoB;EACpB,YAAY;AACd;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,qBAAqB;AACvB;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,+DAA+D;EAC/D,sBAAsB;EACtB,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,mBAAmB;EACnB,mCAAmC;EACnC,0CAA0C;AAC5C;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;EACV,4EAA4E;EAC5E,qBAAqB;EACrB,4BAA4B;AAC9B;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,4DAA4D;EAC5D,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,eAAe;EACf,gCAAgC;AAClC;AACA;EACE,iBAAiB;EACjB,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE\",\"sourcesContent\":[\"/**\\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\n/**\\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\n/*\\n* Ensure proper alignment of the vue material icons\\n*/\\n.material-design-icon[data-v-dba65098] {\\n display: flex;\\n align-self: center;\\n justify-self: center;\\n align-items: center;\\n justify-content: center;\\n}\\n/**\\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\nli.action.active[data-v-dba65098] {\\n background-color: var(--color-background-hover);\\n border-radius: 6px;\\n padding: 0;\\n}\\n.action--disabled[data-v-dba65098] {\\n pointer-events: none;\\n opacity: 0.5;\\n}\\n.action--disabled[data-v-dba65098]:hover, .action--disabled[data-v-dba65098]:focus {\\n cursor: default;\\n opacity: 0.5;\\n}\\n.action--disabled *[data-v-dba65098] {\\n opacity: 1 !important;\\n}\\n.action-button[data-v-dba65098] {\\n display: flex;\\n align-items: flex-start;\\n width: 100%;\\n height: auto;\\n margin: 0;\\n padding: 0;\\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\\n box-sizing: border-box;\\n cursor: pointer;\\n white-space: nowrap;\\n color: var(--color-main-text);\\n border: 0;\\n border-radius: 0;\\n background-color: transparent;\\n box-shadow: none;\\n font-weight: normal;\\n font-size: var(--default-font-size);\\n line-height: var(--default-clickable-area);\\n}\\n.action-button > span[data-v-dba65098] {\\n cursor: pointer;\\n white-space: nowrap;\\n}\\n.action-button__icon[data-v-dba65098] {\\n width: var(--default-clickable-area);\\n height: var(--default-clickable-area);\\n opacity: 1;\\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\\n background-size: 16px;\\n background-repeat: no-repeat;\\n}\\n.action-button[data-v-dba65098] .material-design-icon {\\n width: var(--default-clickable-area);\\n height: var(--default-clickable-area);\\n opacity: 1;\\n}\\n.action-button[data-v-dba65098] .material-design-icon .material-design-icon__svg {\\n vertical-align: middle;\\n}\\n.action-button__longtext-wrapper[data-v-dba65098], .action-button__longtext[data-v-dba65098] {\\n max-width: 220px;\\n line-height: 1.6em;\\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\\n cursor: pointer;\\n text-align: left;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n.action-button__longtext[data-v-dba65098] {\\n cursor: pointer;\\n white-space: pre-wrap !important;\\n}\\n.action-button__name[data-v-dba65098] {\\n font-weight: bold;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n white-space: nowrap;\\n max-width: 100%;\\n display: inline-block;\\n}\\n.action-button__menu-icon[data-v-dba65098] {\\n margin-left: auto;\\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\\n}\\n.action-button__pressed-icon[data-v-dba65098] {\\n margin-left: auto;\\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-30c015f0] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nli.action.active[data-v-30c015f0] {\n background-color: var(--color-background-hover);\n border-radius: 6px;\n padding: 0;\n}\n.action-link[data-v-30c015f0] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\n box-sizing: border-box;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n font-size: var(--default-font-size);\n line-height: var(--default-clickable-area);\n}\n.action-link > span[data-v-30c015f0] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-link__icon[data-v-30c015f0] {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\n background-size: 16px;\n background-repeat: no-repeat;\n}\n.action-link[data-v-30c015f0] .material-design-icon {\n width: var(--default-clickable-area);\n height: var(--default-clickable-area);\n opacity: 1;\n}\n.action-link[data-v-30c015f0] .material-design-icon .material-design-icon__svg {\n vertical-align: middle;\n}\n.action-link__longtext-wrapper[data-v-30c015f0], .action-link__longtext[data-v-30c015f0] {\n max-width: 220px;\n line-height: 1.6em;\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\n cursor: pointer;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.action-link__longtext[data-v-30c015f0] {\n cursor: pointer;\n white-space: pre-wrap !important;\n}\n.action-link__name[data-v-30c015f0] {\n font-weight: bold;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n display: inline-block;\n}\n.action-link__menu-icon[data-v-30c015f0] {\n margin-left: auto;\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./node_modules/@nextcloud/vue/dist/assets/NcActionLink-Db_ZlqWs.css\"],\"names\":[],\"mappings\":\"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;;;EAGE;AACF;EACE,+CAA+C;EAC/C,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,aAAa;EACb,uBAAuB;EACvB,WAAW;EACX,YAAY;EACZ,SAAS;EACT,UAAU;EACV,+DAA+D;EAC/D,sBAAsB;EACtB,eAAe;EACf,mBAAmB;EACnB,6BAA6B;EAC7B,SAAS;EACT,gBAAgB;EAChB,6BAA6B;EAC7B,gBAAgB;EAChB,mBAAmB;EACnB,mCAAmC;EACnC,0CAA0C;AAC5C;AACA;EACE,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;EACV,4EAA4E;EAC5E,qBAAqB;EACrB,4BAA4B;AAC9B;AACA;EACE,oCAAoC;EACpC,qCAAqC;EACrC,UAAU;AACZ;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,4DAA4D;EAC5D,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,eAAe;EACf,gCAAgC;AAClC;AACA;EACE,iBAAiB;EACjB,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;EACnB,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,iBAAiB;EACjB,mEAAmE;AACrE\",\"sourcesContent\":[\"/**\\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\n/**\\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\n/*\\n* Ensure proper alignment of the vue material icons\\n*/\\n.material-design-icon[data-v-30c015f0] {\\n display: flex;\\n align-self: center;\\n justify-self: center;\\n align-items: center;\\n justify-content: center;\\n}\\n/**\\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\\n * SPDX-License-Identifier: AGPL-3.0-or-later\\n */\\nli.action.active[data-v-30c015f0] {\\n background-color: var(--color-background-hover);\\n border-radius: 6px;\\n padding: 0;\\n}\\n.action-link[data-v-30c015f0] {\\n display: flex;\\n align-items: flex-start;\\n width: 100%;\\n height: auto;\\n margin: 0;\\n padding: 0;\\n padding-right: calc((var(--default-clickable-area) - 16px) / 2);\\n box-sizing: border-box;\\n cursor: pointer;\\n white-space: nowrap;\\n color: var(--color-main-text);\\n border: 0;\\n border-radius: 0;\\n background-color: transparent;\\n box-shadow: none;\\n font-weight: normal;\\n font-size: var(--default-font-size);\\n line-height: var(--default-clickable-area);\\n}\\n.action-link > span[data-v-30c015f0] {\\n cursor: pointer;\\n white-space: nowrap;\\n}\\n.action-link__icon[data-v-30c015f0] {\\n width: var(--default-clickable-area);\\n height: var(--default-clickable-area);\\n opacity: 1;\\n background-position: calc((var(--default-clickable-area) - 16px) / 2) center;\\n background-size: 16px;\\n background-repeat: no-repeat;\\n}\\n.action-link[data-v-30c015f0] .material-design-icon {\\n width: var(--default-clickable-area);\\n height: var(--default-clickable-area);\\n opacity: 1;\\n}\\n.action-link[data-v-30c015f0] .material-design-icon .material-design-icon__svg {\\n vertical-align: middle;\\n}\\n.action-link__longtext-wrapper[data-v-30c015f0], .action-link__longtext[data-v-30c015f0] {\\n max-width: 220px;\\n line-height: 1.6em;\\n padding: calc((var(--default-clickable-area) - 1.6em) / 2) 0;\\n cursor: pointer;\\n text-align: left;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n.action-link__longtext[data-v-30c015f0] {\\n cursor: pointer;\\n white-space: pre-wrap !important;\\n}\\n.action-link__name[data-v-30c015f0] {\\n font-weight: bold;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n white-space: nowrap;\\n max-width: 100%;\\n display: inline-block;\\n}\\n.action-link__menu-icon[data-v-30c015f0] {\\n margin-left: auto;\\n margin-right: calc((var(--default-clickable-area) - 16px) / 2 * -1);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../css-loader/dist/cjs.js!./NcActionButton-D90PTEA5.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../css-loader/dist/cjs.js!./NcActionButton-D90PTEA5.css\";\n export default content && content.locals ? content.locals : undefined;\n","import '../assets/NcActionButton-D90PTEA5.css';\nimport { C as Check } from \"../chunks/Check-XHAzUBkX.mjs\";\nimport { C as ChevronRight } from \"../chunks/ChevronRight-C3eVhc5a.mjs\";\nimport { A as ActionTextMixin } from \"../chunks/actionText-fFcUPi2g.mjs\";\nimport { n as normalizeComponent } from \"../chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs\";\nconst _sfc_main = {\n name: \"NcActionButton\",\n components: {\n CheckIcon: Check,\n ChevronRightIcon: ChevronRight\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 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