@realsee/dnalogel
Version:
28 lines (27 loc) • 751 B
JavaScript
var n = Object.defineProperty;
var v = (t, r, o) => r in t ? n(t, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[r] = o;
var e = (t, r, o) => (v(t, typeof r != "symbol" ? r + "" : r, o), o);
import { BaseUtil as m } from "./BaseUtil.js";
import { WorkUtil as a } from "./WorkUtil.js";
class p extends m {
constructor(o) {
super(o);
e(this, "workUtil", new a(this.five));
}
get version() {
return this.five.constructor.version;
}
get majorVersion() {
return Number(this.version.split(".")[0]);
}
moveToPano(o, i) {
const s = this.majorVersion === 5 ? o : {
workCode: this.workUtil.workCode,
panoIndex: o
};
return this.five.moveToPano(s, i);
}
}
export {
p as FiveUtil
};