{"version":3,"file":"helpBlock.obs.js","sources":["../../../Framework/Controls/helpBlock.obs"],"sourcesContent":["<!-- Copyright by the Spark Development Network; Licensed under the Rock Community License -->\n<template>\n    <a href=\"javascript:void(0);\"\n       ref=\"helpElement\"\n       class=\"help\"\n       tabindex=\"-1\"\n       data-toggle=\"tooltip\"\n       data-placement=\"auto\"\n       data-container=\"body\"\n       data-html=\"true\"\n       title=\"\"\n       :data-original-title=\"props.text\">\n        <i class=\"fa fa-info-circle\"></i>\n    </a>\n</template>\n\n<script setup lang=\"ts\">\n    import { onMounted, PropType, ref } from \"vue\";\n    import { tooltip } from \"@Obsidian/Utility/tooltip\";\n\n    const props = defineProps({\n        text: {\n            type: String as PropType<string>,\n            required: true\n        }\n    });\n\n    const helpElement = ref<HTMLElement>();\n\n    onMounted(() => {\n        tooltip(helpElement.value!);\n    });\n</script>\n"],"names":["props","__props","helpElement","ref","onMounted","tooltip","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAoBI,IAAMA,KAAK,GAAGC,OAKZ,CAAA;MAEF,IAAA,IAAMC,WAAW,GAAGC,GAAG,EAAe,CAAA;MAEtCC,IAAAA,SAAS,CAAC,MAAM;MACZC,MAAAA,OAAO,CAACH,WAAW,CAACI,KAAM,CAAC,CAAA;MAC/B,KAAC,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}