{"version":3,"file":"MentionComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n  <node-view-wrapper\n    class=\"d-d-inline-block\"\n  >\n    <dt-link\n      kind=\"mention\"\n    >\n      {{ text }}\n    </dt-link>\n  </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-3';\n\nimport { DtLink } from '@/components/link';\n\nexport default {\n  compatConfig: { MODE: 3 },\n  name: 'MentionComponent',\n  components: {\n    NodeViewWrapper,\n    DtLink,\n  },\n\n  props: nodeViewProps,\n\n  computed: {\n    text () {\n      return '@' + this.$props.node.attrs.name;\n    },\n  },\n};\n</script>\n"],"names":["NodeViewWrapper","DtLink","nodeViewProps","_createBlock","_withCtx","_createVNode","_createTextVNode","_toDisplayString"],"mappings":";;;;;;AAkBA,MAAK,YAAU;AAAA,EACb,cAAc,EAAE,MAAM,EAAG;AAAA,EACzB,MAAM;AAAA,EACN,YAAY;AAAA,IACV,iBAAAA,KAAe;AAAA,IACf,QAAAC,KAAM;AAAA,EACP;AAAA,EAED,OAAOC,KAAa;AAAA,EAEpB,UAAU;AAAA,IACR,OAAQ;AACN,aAAO,MAAM,KAAK,OAAO,KAAK,MAAM;AAAA,IACrC;AAAA,EACF;AACH;;;;0BA/BEC,IAQoB,YAAA,8BAAA,EAPlB,OAAM,sBAAkB;AAAA,IAH5B,SAAAC,IAAA,QAKI,MAIU;AAAA,MAJVC,IAAAA,YAIU,oBAAA,EAHR,MAAK,UAAS,GAAA;AAAA,QANpB,SAAAD,IAAA,QAQM,MAAU;AAAA,UARhBE,IAAAA,gBAAAC,IAAAA,gBAQS,SAAI,IAAA,GAAA,CAAA;AAAA;QARb,GAAA;AAAA;;IAAA,GAAA;AAAA;;;;"}