@opengis/bi
Version:
BI data visualization module
41 lines (40 loc) • 960 B
JavaScript
import { _ as o, c as s, m as i } from "./import-file-XFI3CaVb.js";
import { createElementBlock as r, openBlock as n, createCommentVNode as a } from "vue";
const c = {
name: "VsText",
mixins: [s],
data() {
return {
markedText: null,
uniqueID: null
};
},
async mounted() {
this.uniqueID = this.widget;
try {
await this.getData(), this.markedText = i(this.sourceData);
} catch (t) {
console.error(t);
}
},
methods: {
onChangedData() {
return null;
}
}
}, u = ["id"], d = ["innerHTML"];
function l(t, m, x, h, e, _) {
return n(), r("div", {
id: e.uniqueID,
class: "relative select-auto h-full rounded-xl text-[12px] box-border bg-white custom-scrollbar text-widget"
}, [
e.markedText ? (n(), r("div", {
key: 0,
innerHTML: e.markedText
}, null, 8, d)) : a("", !0)
], 8, u);
}
const k = /* @__PURE__ */ o(c, [["render", l]]);
export {
k as default
};