%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/js/Static/2622.ef6d386cb356e21f4937.js |
(self.webpackChunkncpasswords=self.webpackChunkncpasswords||[]).push([[2622],{30390:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},88428:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},39851:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},81775:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},17881:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const i={}},65995:(t,e,n)=>{var i=n(30390);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("b18fac80",i,!1,{})},25921:(t,e,n)=>{var i=n(88428);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("34faffc0",i,!1,{})},20990:(t,e,n)=>{var i=n(39851);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("2806e840",i,!1,{})},8278:(t,e,n)=>{var i=n(81775);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("64fa8360",i,!1,{})},66230:(t,e,n)=>{var i=n(17881);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(70534).A)("1ed23ab8",i,!1,{})},80522:(t,e,n)=>{"use strict";n.d(e,{A:()=>o}),n(20990);const i={name:"NcAppNavigationList"};var a=function(){return(0,this._self._c)("ul",{staticClass:"app-navigation-list"},[this._t("default")],2)},l=[];const o=(0,n(3490).n)(i,a,l,!1,null,"ac3baea0",null,null).exports},67477:(t,e,n)=>{"use strict";n.d(e,{C:()=>s});var i=n(3490);const a={name:"ChevronUpIcon",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-up-icon",attrs:{"aria-hidden":!t.title||null,"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:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},o=[];const s=(0,i.n)(a,l,o,!1,null,null,null,null).exports},55823:(t,e,n)=>{"use strict";n.d(e,{N:()=>x}),n(65995);var i=n(53429),a=n(19724),l=n(61338),o=n(2078),s=(n(8278),n(74095)),r=n(71543),c=n(3490);(0,r.r)(r.x);const p={name:"MenuIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var u=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-icon",attrs:{"aria-hidden":!t.title||null,"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:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},d=[];const g=(0,c.n)(p,u,d,!1,null,null,null,null).exports,f={name:"MenuOpenIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var v=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon menu-open-icon",attrs:{"aria-hidden":!t.title||null,"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:"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},h=[];const m=(0,c.n)(f,v,h,!1,null,null,null,null).exports,y={name:"NcAppNavigationToggle",components:{NcButton:s.default,MenuIcon:g,MenuOpenIcon:m},props:{open:{type:Boolean,required:!0}},emits:["update:open"],computed:{label(){return this.open?(0,r.a)("Close navigation"):(0,r.a)("Open navigation")}},methods:{toggleNavigation(){this.$emit("update:open",!this.open)}}};var _=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-toggle-wrapper"},[e("NcButton",{staticClass:"app-navigation-toggle",attrs:{type:"tertiary","aria-expanded":t.open?"true":"false","aria-label":t.label,title:t.label,"aria-controls":"app-navigation-vue"},on:{click:t.toggleNavigation},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("MenuOpenIcon",{attrs:{size:20}}):e("MenuIcon",{attrs:{size:20}})]},proxy:!0}])})],1)},C=[];const b=(0,c.n)(y,_,C,!1,null,"e1dc2b3e",null,null).exports;var N=n(80522),k=n(62893);const A={name:"NcAppNavigation",components:{NcAppNavigationList:N.A,NcAppNavigationToggle:b},inject:{setHasAppNavigation:{default:()=>()=>k.Ay.util.warn("NcAppNavigation is not mounted inside NcContent, this is probably an error."),from:"NcContent:setHasAppNavigation"}},props:{ariaLabel:{type:String,default:""},ariaLabelledby:{type:String,default:""}},setup:()=>({isMobile:(0,i.al)()}),data(){return{open:!this.isMobile,focusTrap:null}},watch:{isMobile(){this.open=!this.isMobile,this.toggleFocusTrap()},open(){this.toggleFocusTrap()}},mounted(){this.setHasAppNavigation(!0),(0,l.B1)("toggle-navigation",this.toggleNavigationByEventBus),(0,l.Ic)("navigation-toggled",{open:this.open}),this.focusTrap=(0,o.K)(this.$refs.appNavigationContainer,{allowOutsideClick:!0,fallbackFocus:this.$refs.appNavigationContainer,trapStack:(0,a.g)(),escapeDeactivates:!1}),this.toggleFocusTrap()},unmounted(){this.setHasAppNavigation(!1),(0,l.al)("toggle-navigation",this.toggleNavigationByEventBus),this.focusTrap.deactivate()},methods:{toggleNavigation(t){if(this.open===t)return void(0,l.Ic)("navigation-toggled",{open:this.open});this.open=typeof t>"u"?!this.open:t;const e=getComputedStyle(document.body),n=parseInt(e.getPropertyValue("--animation-quick"))||100;setTimeout((()=>{(0,l.Ic)("navigation-toggled",{open:this.open})}),1.5*n)},toggleNavigationByEventBus({open:t}){this.toggleNavigation(t)},toggleFocusTrap(){this.isMobile&&this.open?this.focusTrap.activate():this.focusTrap.deactivate()},handleEsc(){this.isMobile&&this.toggleNavigation(!1)}}};var B=function(){var t=this,e=t._self._c;return e("div",{ref:"appNavigationContainer",staticClass:"app-navigation",class:{"app-navigation--close":!t.open}},[e("nav",{staticClass:"app-navigation__content",attrs:{id:"app-navigation-vue","aria-hidden":t.open?"false":"true","aria-label":t.ariaLabel||void 0,"aria-labelledby":t.ariaLabelledby||void 0,inert:!t.open||void 0},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.handleEsc.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation__body",class:{"app-navigation__body--no-list":!t.$scopedSlots.list}},[t._t("default")],2),t.$scopedSlots.list?e("NcAppNavigationList",{staticClass:"app-navigation__list"},[t._t("list")],2):t._e(),t._t("footer")],2),e("NcAppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}})],1)},L=[];const x=(0,c.n)(A,B,L,!1,null,"42389274",null,null).exports},72908:(t,e,n)=>{"use strict";n.d(e,{N:()=>M}),n(25921);var i=n(92470),a=n(57505),l=n(18126),o=n(23610),s=n(74095),r=n(71543),c=n(21796),p=n(67477),u=n(3490),d=n(53429),g=n(39578),f=n(26862);(0,r.r)(r.H);const v={name:"NcAppNavigationIconCollapsible",components:{NcButton:s.default,ChevronDown:c.C,ChevronUp:p.C},props:{open:{type:Boolean,default:!0}},emits:["click"],computed:{labelButton(){return this.open?(0,r.a)("Collapse menu"):(0,r.a)("Open menu")}},methods:{onClick(t){this.$emit("click",t)}}};var h=function(){var t=this,e=t._self._c;return e("NcButton",{staticClass:"icon-collapse",class:{"icon-collapse--open":t.open},attrs:{type:"tertiary","aria-label":t.labelButton},on:{click:t.onClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t.open?e("ChevronUp",{attrs:{size:20}}):e("ChevronDown",{attrs:{size:20}})]},proxy:!0}])})},m=[];const y=(0,u.n)(v,h,m,!1,null,"07582bf6",null,null).exports;(0,r.r)(r.I,r.c);const _={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var C=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon pencil-icon",attrs:{"aria-hidden":!t.title||null,"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:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},b=[];const N=(0,u.n)(_,C,b,!1,null,null,null,null).exports,k={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var A=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon undo-icon",attrs:{"aria-hidden":!t.title||null,"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:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},B=[];const L=(0,u.n)(k,A,B,!1,null,null,null,null).exports,x={name:"NcAppNavigationItem",components:{NcActions:i.N,NcActionButton:a.default,NcAppNavigationIconCollapsible:y,NcInputConfirmCancel:g.N,NcLoadingIcon:l.A,NcVNodes:o.A,Pencil:N,Undo:L},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>"app-navigation-item-"+(0,f.G)(),validator:t=>""!==t.trim()},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup:()=>({isMobile:(0,d.al)()}),data(){return{editingValue:"",opened:this.open,editingActive:!1,hasChildren:!1,menuOpenLocalValue:!1,focused:!1,collapsible:!1}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return"AppNavigationItem"!==this.$parent.$options._componentTag},hasUtils(){return!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},editButtonAriaLabel(){return this.editLabel?this.editLabel:(0,r.a)("Edit item")},undoButtonAriaLabel:()=>(0,r.a)("Undo changes"),actionsBoundariesElement:()=>document.querySelector("#content-vue")||void 0},watch:{open(t){this.opened=t}},created(){this.updateSlotInfo()},beforeUpdate(){this.updateSlotInfo()},methods:{onMenuToggle(t){this.$emit("update:menuOpen",t),this.menuOpenLocalValue=t},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(t,e,n){this.$emit("click",t),!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&n&&(null==e||e(t),t.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick((()=>{this.$refs.editingInput.focusInput()}))},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},updateSlotInfo(){this.hasChildren=!!this.$slots.default,this.collapsible=this.allowCollapse&&!!this.$slots.default},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(t){this.$refs.actions&&(this.focused?(t.preventDefault(),this.$refs.actions.$refs.menuButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.menuButton.$el.blur())},isExternal:t=>t&&t.match(/[a-z]+:\/\//i)}};var S=function(){var t=this,e=t._self._c;return e("li",{staticClass:"app-navigation-entry-wrapper",class:{"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--collapsible":t.collapsible},attrs:{id:t.id}},[e(t.isRouterLink?"router-link":"NcVNodes",{tag:"component",attrs:{custom:!!t.isRouterLink,to:t.to,exact:t.isRouterLink?t.exact:null},scopedSlots:t._u([{key:"default",fn:function({href:n,navigate:i,isActive:a}){return[e("div",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--editing":t.editingActive,"app-navigation-entry--deleted":t.undo,active:a&&t.to||t.active}},[t.undo?t._e():e("a",{staticClass:"app-navigation-entry-link",attrs:{"aria-current":t.active||a&&t.to?"page":void 0,"aria-description":t.ariaDescription,"aria-expanded":t.hasChildren?t.opened.toString():void 0,href:t.href||n||"#",target:t.isExternal(t.href)?"_blank":void 0,title:t.title||t.name},on:{blur:t.handleBlur,click:function(e){return t.onClick(e,i,n)},focus:t.handleFocus,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.handleTab.apply(null,arguments)}}},[e("div",{staticClass:"app-navigation-entry-icon",class:{[t.icon]:t.icon}},[t.loading?e("NcLoadingIcon"):t._t("icon")],2),t.editingActive?t._e():e("span",{staticClass:"app-navigation-entry__name"},[t._v(" "+t._s(t.name)+" ")]),t.editingActive?e("div",{staticClass:"editingContainer"},[e("NcInputConfirmCancel",{ref:"editingInput",attrs:{placeholder:""!==t.editPlaceholder?t.editPlaceholder:t.name,primary:a&&t.to||t.active},on:{cancel:t.cancelEditing,confirm:t.handleEditingDone},model:{value:t.editingValue,callback:function(e){t.editingValue=e},expression:"editingValue"}})],1):t._e()]),t.undo?e("div",{staticClass:"app-navigation-entry__deleted"},[e("div",{staticClass:"app-navigation-entry__deleted-description"},[t._v(" "+t._s(t.name)+" ")])]):t._e(),t.hasUtils&&!t.editingActive?e("div",{staticClass:"app-navigation-entry__utils",class:{"app-navigation-entry__utils--display-actions":t.forceDisplayActions||t.menuOpenLocalValue||t.menuOpen}},[t.$slots.counter?e("div",{staticClass:"app-navigation-entry__counter-wrapper"},[t._t("counter")],2):t._e(),t.$slots.actions||t.editable&&!t.editingActive||t.undo?e("NcActions",{ref:"actions",staticClass:"app-navigation-entry__actions",attrs:{inline:t.inlineActions,container:"#app-navigation-vue","boundaries-element":t.actionsBoundariesElement,placement:t.menuPlacement,open:t.menuOpen,type:a&&t.to||t.active?"primary":null,"force-menu":t.forceMenu,"default-icon":t.menuIcon},on:{"update:open":t.onMenuToggle},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("menu-icon")]},proxy:!0}],null,!0)},[t.editable&&!t.editingActive?e("NcActionButton",{attrs:{"aria-label":t.editButtonAriaLabel},on:{click:t.handleEdit},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Pencil",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(t.editLabel)+" ")]):t._e(),t.undo?e("NcActionButton",{attrs:{"aria-label":t.undoButtonAriaLabel},on:{click:t.handleUndo},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Undo",{attrs:{size:20}})]},proxy:!0}],null,!0)}):t._e(),t._t("actions")],2):t._e()],1):t._e(),t.collapsible?e("NcAppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggleCollapse.apply(null,arguments)}}}):t._e(),t._t("extra")],2)]}}],null,!0)}),t.canHaveChildren&&t.hasChildren?e("ul",{staticClass:"app-navigation-entry__children"},[t._t("default")],2):t._e()],1)},$=[];const M=(0,u.n)(x,S,$,!1,null,"86815ca2",null,null).exports},39578:(t,e,n)=>{"use strict";n.d(e,{N:()=>u}),n(66230);var i=n(74095),a=n(71543),l=n(66816),o=n(14634),s=n(3490);(0,a.r)(a.m);const r={name:"NcInputConfirmCancel",components:{NcButton:i.default,ArrowRight:l.A,Close:o.C},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},value:{default:"",type:String}},emits:["input","confirm","cancel"],data:()=>({labelConfirm:(0,a.a)("Confirm changes"),labelCancel:(0,a.a)("Cancel changes")}),computed:{valueModel:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}};var c=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-navigation-input-confirm"},[e("form",{on:{submit:function(e){return e.preventDefault(),t.confirm.apply(null,arguments)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.stopPropagation(),e.preventDefault(),t.cancel.apply(null,arguments))},click:function(t){t.stopPropagation(),t.preventDefault()}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.valueModel,expression:"valueModel"}],ref:"input",staticClass:"app-navigation-input-confirm__input",attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.valueModel},on:{input:function(e){e.target.composing||(t.valueModel=e.target.value)}}}),e("NcButton",{attrs:{"native-type":"submit",type:"primary","aria-label":t.labelConfirm},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.confirm.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ArrowRight",{attrs:{size:20}})]},proxy:!0}])}),e("NcButton",{attrs:{"native-type":"reset",type:t.primary?"primary":"tertiary","aria-label":t.labelCancel},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.cancel.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("Close",{attrs:{size:20}})]},proxy:!0}])})],1)])},p=[];const u=(0,s.n)(r,c,p,!1,null,"dcf0becf",null,null).exports}}]);