{"version":3,"file":"SimpleAccessURLInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/SimpleAccessURLInput.vue"],"sourcesContent":["<script setup>\n\nimport { FormKit } from '@formkit/vue';\n\nconst props = defineProps({\n    context: Object\n})\n\nlet URLValue\n\nconst saveUrl = async () => {\n\n    if (this.URLValue.includes('http://') || this.URLValue.includes('https://')) {\n        await this.context.node.input({ '@id': this.URLValue})\n    }\n    else await this.context.node.input({ '@id': 'https://' + this.URLValue })\n\n}\n</script>\n<template>\n    <div class=\"formkitProperty w-100\">\n        <FormKit id=\"aUrlLink\" v-model=\"URLValue\" class=\"selectInputField formkit-inner\" type=\"url\" name=\"@id\"\n            :help=\"props.context.help\" :placeholder=\"props.context.attrs.placeholder\"\n            :validation=\"props.context.attrs.validationType\" @input=\"saveUrl\" />\n    </div>\n</template>\n<style></style>"],"names":["props","__props","URLValue","saveUrl","_openBlock","_createElementBlock","_hoisted_1","_createVNode","_unref","FormKit","$event"],"mappings":";;;;;;;;AAIA,UAAMA,IAAQC;AAId,QAAIC;AAEJ,UAAMC,IAAU,YAAY;AAExB,MAAI,KAAK,SAAS,SAAS,SAAS,KAAK,KAAK,SAAS,SAAS,UAAU,IACtE,MAAM,KAAK,QAAQ,KAAK,MAAM,EAAE,OAAO,KAAK,SAAQ,CAAC,IAEpD,MAAM,KAAK,QAAQ,KAAK,MAAM,EAAE,OAAO,aAAa,KAAK,UAAU;AAAA,IAE5E;sBAGIC,EAAA,GAAAC,EAIM,OAJNC,GAIM;AAAA,MAHFC,EAEwEC,EAAAC,CAAA,GAAA;AAAA,QAF/D,IAAG;AAAA,oBAAoBD,EAAQN,CAAA;AAAA,6DAARA,EAAQ,QAAAQ,IAAAR,IAAAQ;AAAA,QAAE,OAAM;AAAA,QAAiC,MAAK;AAAA,QAAM,MAAK;AAAA,QAC5F,MAAMV,EAAM,QAAQ;AAAA,QAAO,aAAaA,EAAM,QAAQ,MAAM;AAAA,QAC5D,YAAYA,EAAM,QAAQ,MAAM;AAAA,QAAiB,SAAOG;AAAA;;;;"}