ibiz-template-plugin.es.js 959 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
var i = Object.defineProperty;
var n = (r, t, e) => t in r ? i(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
var o = (r, t, e) => (n(r, typeof t != "symbol" ? t + "" : t, e), e);
import { ControlType as s, ViewType as a } from "@ibiz-template/model";
import { PluginStaticResource as l } from "@ibiz-template/runtime";
const m = new l(import.meta.url);
class c {
  constructor() {
    o(this, "component", "ChartControl");
  }
}
class p {
  constructor() {
    o(this, "component", "ChartView");
  }
}
const d = {
  mateUrl: import.meta.url,
  install(r) {
    m.loadStyle(["/style.css"]), r.component(
      "ChartControl",
22
      () => import("./chart-control-f9171bdf.js")
23 24
    ), ibiz.register.control.register(s.CHART, new c()), r.component(
      "ChartView",
25
      () => import("./chart-view-2e05f0a8.js")
26 27 28 29 30 31 32 33 34
    ), ibiz.register.view.register(
      a.DE_CHART_VIEW,
      new p()
    );
  }
};
export {
  d as default
};