orion-design 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,20 @@
1
1
  import "lodash-es";
2
- import { defineComponent as o, openBlock as n, createBlock as s, unref as u, withCtx as l, renderSlot as a, computed as i, createElementBlock as p, normalizeStyle as m, createVNode as c } from "vue";
3
- import { withInstall as f } from "../_util/vue/install.js";
4
- import { ElButton as _ } from "element-plus";
5
- import { S as d } from "../../index-BbsXWo7C.js";
6
- const g = /* @__PURE__ */ o({
2
+ import { defineComponent as l, openBlock as o, createBlock as u, unref as r, withCtx as s, renderSlot as i, computed as p, createElementBlock as m, normalizeStyle as c, createVNode as f } from "vue";
3
+ import { withInstall as d } from "../_util/vue/install.js";
4
+ import { ElButton as a } from "element-plus";
5
+ import { S as _ } from "../../index-BbsXWo7C.js";
6
+ const g = /* @__PURE__ */ l({
7
7
  name: "OButton",
8
8
  __name: "Button",
9
- setup(r) {
10
- return (t, e) => (n(), s(u(_), null, {
11
- default: l(() => [
12
- a(t.$slots, "default")
9
+ setup(n) {
10
+ return (t, e) => t.$slots.default ? (o(), u(r(a), { key: 0 }, {
11
+ default: s(() => [
12
+ i(t.$slots, "default")
13
13
  ]),
14
14
  _: 3
15
- }));
15
+ })) : (o(), u(r(a), { key: 1 }));
16
16
  }
17
- }), B = /* @__PURE__ */ o({
17
+ }), B = /* @__PURE__ */ l({
18
18
  name: "OButtongroup",
19
19
  inheritAttrs: !1,
20
20
  __name: "ButtonGroup",
@@ -22,25 +22,25 @@ const g = /* @__PURE__ */ o({
22
22
  gutter: { type: [Boolean, String] },
23
23
  align: { default: "right" }
24
24
  },
25
- setup(r) {
26
- const t = i(() => ({
27
- textAlign: r.align
25
+ setup(n) {
26
+ const t = p(() => ({
27
+ textAlign: n.align
28
28
  }));
29
- return (e, h) => (n(), p("div", {
30
- style: m(t.value)
29
+ return (e, h) => (o(), m("div", {
30
+ style: c(t.value)
31
31
  }, [
32
- c(u(d), { gutter: e.gutter }, {
33
- default: l(() => [
34
- a(e.$slots, "default")
32
+ f(r(_), { gutter: e.gutter }, {
33
+ default: s(() => [
34
+ i(e.$slots, "default")
35
35
  ]),
36
36
  _: 3
37
37
  }, 8, ["gutter"])
38
38
  ], 4));
39
39
  }
40
- }), v = f(g, {
40
+ }), w = d(g, {
41
41
  ButtonGroup: B
42
42
  });
43
43
  export {
44
- v as default
44
+ w as default
45
45
  };
46
46
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- declare const _default: "0.1.26";
1
+ declare const _default: "0.1.27";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "0.1.26";
1
+ const e = "0.1.27";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.26';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.27';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orion-design",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",