%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/9088.fd40fe878e436843ad16.js |
/*! For license information please see 9088.fd40fe878e436843ad16.js.LICENSE.txt */ (self.webpackChunkncpasswords=self.webpackChunkncpasswords||[]).push([[9088,1221],{37759:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});const l={}},67060:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});const l={}},4082:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var l=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cash-multiple-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:"M5,6H23V18H5V6M14,9A3,3 0 0,1 17,12A3,3 0 0,1 14,15A3,3 0 0,1 11,12A3,3 0 0,1 14,9M9,8A2,2 0 0,1 7,10V14A2,2 0 0,1 9,16H19A2,2 0 0,1 21,14V10A2,2 0 0,1 19,8H9M1,10H3V20H19V22H1V10Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])};l._withStripped=!0;const s={name:"CashMultipleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},n=(0,i(14486).A)(s,l,[],!1,null,null,null).exports},62206:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>n});var l=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon delete-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:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])};l._withStripped=!0;const s={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},n=(0,i(14486).A)(s,l,[],!1,null,null,null).exports},9134:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var l=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon timer-sand-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:"M6,2H18V8H18V8L14,12L18,16V16H18V22H6V16H6V16L10,12L6,8V8H6V2M16,16.5L12,12.5L8,16.5V20H16V16.5M12,11.5L16,7.5V4H8V7.5L12,11.5M10,6H14V6.75L12,8.75L10,6.75V6Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])};l._withStripped=!0;const s={name:"TimerSandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},n=(0,i(14486).A)(s,l,[],!1,null,null,null).exports},62972:(t,e,i)=>{var l=i(37759);l.__esModule&&(l=l.default),"string"==typeof l&&(l=[[t.id,l,""]]),l.locals&&(t.exports=l.locals),(0,i(70534).A)("6b274c64",l,!1,{})},65419:(t,e,i)=>{var l=i(67060);l.__esModule&&(l=l.default),"string"==typeof l&&(l=[[t.id,l,""]]),l.locals&&(t.exports=l.locals),(0,i(70534).A)("d699fbc4",l,!1,{})},57505:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>u}),i(62972);var l=i(66649),s=i(84396),n=i(35497),a=i(3490);const r={name:"NcActionButton",components:{CheckIcon:l.C,ChevronRightIcon:s.C},mixins:[n.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:t=>["button","checkbox","radio","reset","submit"].includes(t)},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 t={};return this.isInSemanticMenu?(t.role="menuitem","radio"===this.type?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):("checkbox"===this.type||"button"===this.nativeType&&null!==this.modelValue)&&(t.role="menuitemcheckbox",t["aria-checked"]=null===this.modelValue?"mixed":this.modelValue?"true":"false")):null!==this.modelValue&&"button"===this.nativeType&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(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 o=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({class:["action-button button-vue",{"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(".concat(t.icon,")"):null},attrs:{"aria-hidden":"true"}})]})),t.name?e("span",{staticClass:"action-button__longtext-wrapper"},[e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):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.isMenu?e("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):!0===t.isChecked?e("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):!1===t.isChecked?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},c=[];const u=(0,a.n)(r,o,c,!1,null,"51d9ee64",null,null).exports},42530:(t,e,i)=>{"use strict";i.d(e,{A:()=>l.N});var l=i(55823)},52439:(t,e,i)=>{"use strict";i.d(e,{A:()=>l.N});var l=i(72908)},16879:(t,e,i)=>{"use strict";i.d(e,{A:()=>d}),i(65419);var l=i(74095),s=i(26862),n=i(29895),a=i(66649),r=i(3490);const o={name:"NcInputField",components:{NcButton:l.default,AlertCircle:n.A,Check:a.C},inheritAttrs:!1,props:{value:{type:[String,Number],required:!0},type:{type:String,default:"text",validator:t=>["text","password","email","tel","url","search","number"].includes(t)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","trailing-button-click"],computed:{computedId(){return this.$attrs.id&&""!==this.$attrs.id?this.$attrs.id:this.inputName},inputName:()=>"input"+(0,s.G)(),hasLeadingIcon(){return this.$slots.default},hasTrailingIcon(){return this.success},hasPlaceholder(){return""!==this.placeholder&&void 0!==this.placeholder},computedPlaceholder(){return this.hasPlaceholder?this.placeholder:this.label},isValidLabel(){const t=this.label||this.labelOutside;return t||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),t},ariaDescribedby(){const t=[];return this.helperText.length>0&&t.push("".concat(this.inputName,"-helper-text")),this.$attrs["aria-describedby"]&&t.push(this.$attrs["aria-describedby"]),t.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(t){this.$emit("update:value","number"===this.type&&"number"==typeof this.value?parseFloat(t.target.value,10):t.target.value)},handleTrailingButtonClick(t){this.$emit("trailing-button-click",t)}}};var c=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-field",class:{"input-field--disabled":t.disabled}},[e("div",{staticClass:"input-field__main-wrapper"},[e("input",t._g(t._b({ref:"input",staticClass:"input-field__input",class:[t.inputClass,{"input-field__input--trailing-icon":t.showTrailingButton||t.hasTrailingIcon,"input-field__input--leading-icon":t.hasLeadingIcon,"input-field__input--label-outside":t.labelOutside,"input-field__input--success":t.success,"input-field__input--error":t.error,"input-field__input--pill":t.pill}],attrs:{id:t.computedId,type:t.type,disabled:t.disabled,placeholder:t.computedPlaceholder,"aria-describedby":t.ariaDescribedby,"aria-live":"polite"},domProps:{value:t.value.toString()},on:{input:t.handleInput}},"input",t.$attrs,!1),t.$listeners)),!t.labelOutside&&t.isValidLabel?e("label",{staticClass:"input-field__label",class:[{"input-field__label--trailing-icon":t.showTrailingButton||t.hasTrailingIcon,"input-field__label--leading-icon":t.hasLeadingIcon}],attrs:{for:t.computedId}},[t._v(" "+t._s(t.label)+" ")]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.hasLeadingIcon,expression:"hasLeadingIcon"}],staticClass:"input-field__icon input-field__icon--leading"},[t._t("default")],2),t.showTrailingButton?e("NcButton",{staticClass:"input-field__trailing-button",class:[{"input-field__trailing-button--pill":t.pill}],attrs:{type:"tertiary-no-background","aria-label":t.trailingButtonLabel,disabled:t.disabled},on:{click:t.handleTrailingButtonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("trailing-button-icon")]},proxy:!0}],null,!0)}):t.success||t.error?e("div",{staticClass:"input-field__icon input-field__icon--trailing"},[t.success?e("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):t.error?e("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):t._e()],1):t._e()],1),t.helperText.length>0?e("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":t.error,"input-field__helper-text-message--success":t.success},attrs:{id:"".concat(t.inputName,"-helper-text")}},[t.success?e("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t.error?e("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t._e(),t._v(" "+t._s(t.helperText)+" ")],1):t._e()])},u=[];const d=(0,r.n)(o,c,u,!1,null,"b312d183",null,null).exports},82182:(t,e,i)=>{"use strict";i.d(e,{A:()=>l.N});var l=i(59567)},23610:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var l=i(3490);const s={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(t){var e,i,l;return this.vnodes||(null==(e=this.$slots)?void 0:e.default)||(null==(l=null==(i=this.$scopedSlots)?void 0:i.default)?void 0:l.call(i))}},n=(0,l.n)(s,null,null,!1,null,null,null,null).exports},29895:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var l=i(3490);const s={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-outline-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:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},a=[];const r=(0,l.n)(s,n,a,!1,null,null,null,null).exports},66649:(t,e,i)=>{"use strict";i.d(e,{C:()=>r});var l=i(3490);const s={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-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,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},a=[];const r=(0,l.n)(s,n,a,!1,null,null,null,null).exports},21796:(t,e,i)=>{"use strict";i.d(e,{C:()=>r});var l=i(3490);const s={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon chevron-down-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,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},a=[];const r=(0,l.n)(s,n,a,!1,null,null,null,null).exports},84396:(t,e,i)=>{"use strict";i.d(e,{C:()=>r});var l=i(3490);const s={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n=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,"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()])])])},a=[];const r=(0,l.n)(s,n,a,!1,null,null,null,null).exports},14634:(t,e,i)=>{"use strict";i.d(e,{C:()=>r});var l=i(3490);const s={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var n=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon close-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:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},a=[];const r=(0,l.n)(s,n,a,!1,null,null,null,null).exports},59567:(t,e,i)=>{"use strict";i.d(e,{N:()=>g});var l=i(16879),s=i(14634),n=i(66816),a=i(3490),r=i(71543);const o={name:"UndoVariantIcon",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 undo-variant-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:"M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},u=[];const d=(0,a.n)(o,c,u,!1,null,null,null,null).exports;(0,r.r)(r.d,r.c);const p=new Set(Object.keys(l.A.props)),h={name:"NcTextField",components:{NcInputField:l.A,Close:s.C,ArrowRight:n.A,Undo:d},inheritAttrs:!1,props:{" ":{},...l.A.props,trailingButtonLabel:{type:String,default:""},trailingButtonIcon:{type:String,default:"close",validator:t=>["close","arrowRight","undo"].includes(t)}},emits:["update:value"],computed:{propsAndAttrsToForward(){const t={undo:(0,r.a)("Undo changes"),close:(0,r.a)("Clear text"),arrowRight:(0,r.a)("Save changes")};return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter((([t])=>p.has(t)))),trailingButtonLabel:this.trailingButtonLabel||t[this.trailingButtonIcon]}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(t){this.$emit("update:value",t.target.value)}}};var f=function(){var t=this,e=t._self._c;return e("NcInputField",t._g(t._b({ref:"inputField",on:{input:t.handleInput},scopedSlots:t._u(["search"!==t.type?{key:"trailing-button-icon",fn:function(){return["close"===t.trailingButtonIcon?e("Close",{attrs:{size:20}}):"arrowRight"===t.trailingButtonIcon?e("ArrowRight",{attrs:{size:20}}):"undo"===t.trailingButtonIcon?e("Undo",{attrs:{size:20}}):t._e()]},proxy:!0}:null],null,!0)},"NcInputField",t.propsAndAttrsToForward,!1),t.$listeners),[t._t("default")],2)},_=[];const g=(0,a.n)(h,f,_,!1,null,null,null,null).exports},93860:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});const l={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():""}}}},35497:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});const l={mixins:[i(93860).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{return!1}}},methods:{onClick(t){if(this.$emit("click",t),this.closeAfterClick){const t=function(t,e){let i=t.$parent;for(;i;){if("NcActions"===i.$options.name)return i;i=i.$parent}}(this);t&&t.closeMenu&&t.closeMenu(!1)}}}}}}]);