{"version":3,"file":"helpBlock.obs.js","sources":["../../../Framework/Controls/helpBlock.obs"],"sourcesContent":["<!-- Copyright by the Spark Development Network; Licensed under the Rock Community License -->\r\n<template>\r\n <a href=\"javascript:void(0);\"\r\n ref=\"helpElement\"\r\n class=\"help\"\r\n tabindex=\"-1\"\r\n data-toggle=\"tooltip\"\r\n data-placement=\"auto\"\r\n data-container=\"body\"\r\n data-html=\"true\"\r\n title=\"\"\r\n :data-original-title=\"props.text\">\r\n <i class=\"fa fa-info-circle\"></i>\r\n </a>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { onMounted, PropType, ref } from \"vue\";\r\n\r\n const props = defineProps({\r\n text: {\r\n type: String as PropType<string>,\r\n required: true\r\n }\r\n });\r\n\r\n const helpElement = ref<HTMLElement>();\r\n\r\n onMounted(() => {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const jquery = <any>window[<any>\"$\"];\r\n // jquery does not exist when running unit tests.\r\n jquery?.(helpElement.value).tooltip();\r\n });\r\n</script>\r\n"],"names":["helpElement","ref","onMounted","jquery","window","value","tooltip"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0BI,IAAMA,WAAW,GAAGC,GAAG,EAAe,CAAA;MAEtCC,IAAAA,SAAS,CAAC,MAAM;MAEZ,MAAA,IAAMC,MAAM,GAAQC,MAAM,CAAM,GAAG,CAAC,CAAA;YAEpCD,MAAM,KAAA,IAAA,IAANA,MAAM,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAANA,MAAM,CAAGH,WAAW,CAACK,KAAK,CAAC,CAACC,OAAO,EAAE,CAAA;MACzC,KAAC,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}