(self.webpackChunkncpasswords=self.webpackChunkncpasswords||[]).push([[3721],{11820:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n.N});var n=r(28018)},22538:(t,e,r)=>{var n=r(86689);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,r(70534).A)("612cdf44",n,!1,{})},28018:(t,e,r)=>{"use strict";r.d(e,{N:()=>h}),r(22538);var n=r(4278),i=r(86241),a=r(74095),o=r(51431);const s={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var l=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},c=[];const u=(0,o.n)(s,l,c,!1,null,null).exports,d={name:"NcBreadcrumb",components:{NcActions:n.N,ChevronRight:u,NcButton:a.default},inheritAttrs:!1,props:{name:{type:String,required:!0},title:{type:String,default:null},to:{type:[String,Object],default:void 0},exact:{type:Boolean,default:!1},href:{type:String,default:void 0},icon:{type:String,default:""},forceIconText:{type:Boolean,default:!1},disableDrop:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},open:{type:Boolean,default:!1}},emits:["update:open","dropped"],data:()=>({hovering:!1,crumbId:`crumb-id-${(0,i.G)()}`}),computed:{linkAttributes(){return this.to?{to:this.to,exact:this.exact,...this.$attrs}:this.href?{href:this.href,...this.$attrs}:this.$attrs}},methods:{onOpenChange(t){this.$emit("update:open",t)},dropped(t){return this.disableDrop||(this.$emit("dropped",t,this.to||this.href),this.$parent.$emit("dropped",t,this.to||this.href),this.hovering=!1),!1},dragEnter(t){this.disableDrop||(this.hovering=!0)},dragLeave(t){this.disableDrop||t.target.contains(t.relatedTarget)||this.$refs.crumb.contains(t.relatedTarget)||(this.hovering=!1)}}};var p=function(){var t=this,e=t._self._c;return e("li",t._b({ref:"crumb",staticClass:"vue-crumb",class:{"vue-crumb--hovered":t.hovering},attrs:{draggable:"false"},on:{dragstart:function(t){return t.preventDefault(),(()=>{}).apply(null,arguments)},drop:function(e){return e.preventDefault(),t.dropped.apply(null,arguments)},dragover:function(t){return t.preventDefault(),(()=>{}).apply(null,arguments)},dragenter:t.dragEnter,dragleave:t.dragLeave}},"li",t._d({},[t.crumbId,""])),[(t.name||t.icon||t.$slots.icon)&&!t.$slots.default?e("NcButton",t._g(t._b({attrs:{"aria-label":t.icon?t.name:void 0,title:t.title,variant:"tertiary"},scopedSlots:t._u([t.$slots.icon||t.icon?{key:"icon",fn:function(){return[t._t("icon",function(){return[e("span",{staticClass:"icon",class:t.icon})]})]},proxy:!0}:null,!t.$slots.icon&&!t.icon||t.forceIconText?{key:"default",fn:function(){return[t._v(" "+t._s(t.name)+" ")]},proxy:!0}:null],null,!0)},"NcButton",t.linkAttributes,!1),t.$listeners)):t._e(),t.$slots.default?e("NcActions",{ref:"actions",attrs:{"force-menu":t.forceMenu,open:t.open,"menu-name":t.name,title:t.title,"force-name":!0,container:`.vue-crumb[${t.crumbId}]`,variant:"tertiary"},on:{"update:open":t.onOpenChange},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("menu-icon")]},proxy:!0}],null,!0)},[t._t("default")],2):t._e(),e("ChevronRight",{staticClass:"vue-crumb__separator",attrs:{size:20}})],1)},f=[];const h=(0,o.n)(d,p,f,!1,null,"c55f5445").exports},86689:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});const n={}}}]);