"use strict";(self.webpackChunkbookmarks=self.webpackChunkbookmarks||[]).push([["src_components_CustomPickerElement_vue"],{97791:(e,t,s)=>{s.d(t,{default:()=>i});var c=s(57867),o=s(91458),r=s(99498);const a={name:"CustomPickerElement",components:{NcSearch:c.oM},mounted(){setTimeout((()=>{this.$refs.picker?.focus()}),300)},methods:{cancelSearch(){this.$emit("cancel")},async submitLink(e){const t=await o.Ay.get((0,r.generateUrl)("/apps/bookmarks/bookmark/"+e.slice(e.lastIndexOf("/")+1)));this.$emit("submit",t.data.item.url)}}};const i=(0,s(14486).A)(a,(function(){var e=this,t=e._self._c;return t("div",{staticStyle:{width:"100%"}},[t("NcSearch",{ref:"picker",attrs:{provider:{search_providers_ids:["bookmarks"],title:e.t("bookmarks","Bookmarks")}},on:{cancel:e.cancelSearch,submit:e.submitLink}})],1)}),[],!1,null,null,null).exports}}]);
//# sourceMappingURL=bookmarks-src_components_CustomPickerElement_vue.js.map?v=5225af1da51e6c078245