ik-next-ui 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,10 @@
1
- import { defineComponent as f, provide as t, computed as n, renderSlot as u } from "vue";
2
- const a = (e, o) => (e.install = (l) => {
3
- for (const r of [e, ...Object.values({})])
4
- l.component(r.name, r);
5
- }, e), p = /* @__PURE__ */ f({
1
+ import { defineComponent as f, provide as n, computed as r, renderSlot as d } from "vue";
2
+ const p = (e, l) => (e.install = (o) => {
3
+ for (const t of [e, ...Object.values({})])
4
+ o.component(t.name, t);
5
+ }, e), c = "0.0.1", s = {
6
+ version: c
7
+ }, a = /* @__PURE__ */ f({
6
8
  __name: "ProviderConfig",
7
9
  props: {
8
10
  // onlyoffice配置
@@ -32,11 +34,15 @@ const a = (e, o) => (e.install = (l) => {
32
34
  }
33
35
  },
34
36
  setup(e) {
35
- const o = e;
36
- return t("onlyofficeConfig", n(() => o.onlyofficeConfig)), t("token", n(() => o.token)), t("userInfo", n(() => o.userInfo)), t("loadUrl", n(() => o.loadUrl)), t("uploadUrl", n(() => o.uploadUrl)), (l, r) => u(l.$slots, "default");
37
+ const l = s.version, o = e;
38
+ return n("onlyofficeConfig", r(() => o.onlyofficeConfig)), n("token", r(() => o.token)), n("userInfo", r(() => o.userInfo)), n("loadUrl", r(() => o.loadUrl)), n("uploadUrl", r(() => o.uploadUrl)), console.log(
39
+ "%c ik-next-ui %c v" + l + " ",
40
+ "background: #35495e; color: #fff; padding: 4px; border-radius: 3px 0 0 3px;",
41
+ "background: #41b883; color: #fff; padding: 4px; border-radius: 0 3px 3px 0;"
42
+ ), (t, i) => d(t.$slots, "default");
37
43
  }
38
- }), s = a(p);
44
+ }), g = p(a);
39
45
  export {
40
- s as IkProviderConfig,
41
- s as default
46
+ g as IkProviderConfig,
47
+ g as default
42
48
  };