yuang-framework-ui-pc 1.0.15 → 1.0.16

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.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- button[data-v-6a1b9529]{width:100px;height:50px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;cursor:pointer}
1
+ button[data-v-f8cde844]{width:100px;height:50px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;cursor:pointer}
@@ -1,64 +1,66 @@
1
- import { defineComponent as d, getCurrentInstance as i, openBlock as l, createElementBlock as m, createElementVNode as y, resolveComponent as u, createBlock as x, withCtx as e, createVNode as o, createTextVNode as c } from "vue";
2
- const g = /* @__PURE__ */ d({
3
- __name: "index",
1
+ import { defineComponent as d, getCurrentInstance as m, openBlock as l, createElementBlock as i, createElementVNode as y, resolveComponent as _, createBlock as g, withCtx as t, createVNode as o, createTextVNode as c } from "vue";
2
+ const x = {
3
+ name: "YuButton"
4
+ }, k = /* @__PURE__ */ d({
5
+ ...x,
4
6
  setup(a) {
5
- const { proxy: t } = i(), r = () => {
6
- t.$message.success("我是测试按钮");
7
+ const { proxy: e } = m(), s = () => {
8
+ e.$message.success("我是测试按钮");
7
9
  };
8
- return (s, _) => (l(), m("div", null, [
9
- y("button", { onClick: r }, "我是测试按钮")
10
+ return (r, u) => (l(), i("div", null, [
11
+ y("button", { onClick: s }, "我是测试按钮")
10
12
  ]));
11
13
  }
12
- }), p = (a, t) => {
13
- const r = a.__vccOpts || a;
14
- for (const [s, _] of t)
15
- r[s] = _;
16
- return r;
17
- }, k = /* @__PURE__ */ p(g, [["__scopeId", "data-v-6a1b9529"]]), w = {
14
+ }), p = (a, e) => {
15
+ const s = a.__vccOpts || a;
16
+ for (const [r, u] of e)
17
+ s[r] = u;
18
+ return s;
19
+ }, w = /* @__PURE__ */ p(k, [["__scopeId", "data-v-f8cde844"]]), B = {
18
20
  name: "YuRow"
19
21
  };
20
- function $(a, t, r, s, _, B) {
21
- const n = u("el-button"), f = u("el-row");
22
- return l(), x(f, { class: "mb-4" }, {
23
- default: e(() => [
22
+ function $(a, e, s, r, u, b) {
23
+ const n = _("el-button"), f = _("el-row");
24
+ return l(), g(f, { class: "mb-4" }, {
25
+ default: t(() => [
24
26
  o(n, null, {
25
- default: e(() => [
27
+ default: t(() => [
26
28
  c("Default")
27
29
  ]),
28
30
  _: 1
29
31
  }),
30
32
  o(n, { type: "primary" }, {
31
- default: e(() => [
33
+ default: t(() => [
32
34
  c("Primary")
33
35
  ]),
34
36
  _: 1
35
37
  }),
36
38
  o(n, { type: "success" }, {
37
- default: e(() => [
39
+ default: t(() => [
38
40
  c("Success")
39
41
  ]),
40
42
  _: 1
41
43
  }),
42
44
  o(n, { type: "info" }, {
43
- default: e(() => [
45
+ default: t(() => [
44
46
  c("Info")
45
47
  ]),
46
48
  _: 1
47
49
  }),
48
50
  o(n, { type: "warning" }, {
49
- default: e(() => [
51
+ default: t(() => [
50
52
  c("Warning")
51
53
  ]),
52
54
  _: 1
53
55
  }),
54
56
  o(n, { type: "danger" }, {
55
- default: e(() => [
57
+ default: t(() => [
56
58
  c("Danger")
57
59
  ]),
58
60
  _: 1
59
61
  }),
60
62
  o(n, null, {
61
- default: e(() => [
63
+ default: t(() => [
62
64
  c("中文")
63
65
  ]),
64
66
  _: 1
@@ -67,11 +69,11 @@ function $(a, t, r, s, _, B) {
67
69
  _: 1
68
70
  });
69
71
  }
70
- const b = /* @__PURE__ */ p(w, [["render", $]]), v = [k, b], h = function(a) {
71
- v.forEach((t) => {
72
- a.component(t.name, t);
72
+ const v = /* @__PURE__ */ p(B, [["render", $]]), C = [w, v], Y = function(a) {
73
+ C.forEach((e) => {
74
+ a.component(e.name, e);
73
75
  });
74
76
  };
75
77
  export {
76
- h as default
78
+ Y as default
77
79
  };
@@ -1 +1 @@
1
- (function(e,c){typeof exports=="object"&&typeof module<"u"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(e=typeof globalThis<"u"?globalThis:e||self,e["yuang-framework-ui-pc"]=c(e.Vue))})(this,function(e){"use strict";const c=e.defineComponent({__name:"index",setup(o){const{proxy:t}=e.getCurrentInstance(),r=()=>{t.$message.success("我是测试按钮")};return(a,s)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("button",{onClick:r},"我是测试按钮")]))}}),d=(o,t)=>{const r=o.__vccOpts||o;for(const[a,s]of t)r[a]=s;return r},i=d(c,[["__scopeId","data-v-6a1b9529"]]),l={name:"YuRow"};function _(o,t,r,a,s,u){const n=e.resolveComponent("el-button"),p=e.resolveComponent("el-row");return e.openBlock(),e.createBlock(p,{class:"mb-4"},{default:e.withCtx(()=>[e.createVNode(n,null,{default:e.withCtx(()=>[e.createTextVNode("Default")]),_:1}),e.createVNode(n,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode("Primary")]),_:1}),e.createVNode(n,{type:"success"},{default:e.withCtx(()=>[e.createTextVNode("Success")]),_:1}),e.createVNode(n,{type:"info"},{default:e.withCtx(()=>[e.createTextVNode("Info")]),_:1}),e.createVNode(n,{type:"warning"},{default:e.withCtx(()=>[e.createTextVNode("Warning")]),_:1}),e.createVNode(n,{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode("Danger")]),_:1}),e.createVNode(n,null,{default:e.withCtx(()=>[e.createTextVNode("中文")]),_:1})]),_:1})}const f=[i,d(l,[["render",_]])];return function(o){f.forEach(t=>{o.component(t.name,t)})}});
1
+ (function(t,c){typeof exports=="object"&&typeof module<"u"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(t=typeof globalThis<"u"?globalThis:t||self,t["yuang-framework-ui-pc"]=c(t.Vue))})(this,function(t){"use strict";const c={name:"YuButton"},i=t.defineComponent({...c,setup(o){const{proxy:e}=t.getCurrentInstance(),r=()=>{e.$message.success("我是测试按钮")};return(a,s)=>(t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("button",{onClick:r},"我是测试按钮")]))}}),d=(o,e)=>{const r=o.__vccOpts||o;for(const[a,s]of e)r[a]=s;return r},l=d(i,[["__scopeId","data-v-f8cde844"]]),_={name:"YuRow"};function f(o,e,r,a,s,V){const n=t.resolveComponent("el-button"),m=t.resolveComponent("el-row");return t.openBlock(),t.createBlock(m,{class:"mb-4"},{default:t.withCtx(()=>[t.createVNode(n,null,{default:t.withCtx(()=>[t.createTextVNode("Default")]),_:1}),t.createVNode(n,{type:"primary"},{default:t.withCtx(()=>[t.createTextVNode("Primary")]),_:1}),t.createVNode(n,{type:"success"},{default:t.withCtx(()=>[t.createTextVNode("Success")]),_:1}),t.createVNode(n,{type:"info"},{default:t.withCtx(()=>[t.createTextVNode("Info")]),_:1}),t.createVNode(n,{type:"warning"},{default:t.withCtx(()=>[t.createTextVNode("Warning")]),_:1}),t.createVNode(n,{type:"danger"},{default:t.withCtx(()=>[t.createTextVNode("Danger")]),_:1}),t.createVNode(n,null,{default:t.withCtx(()=>[t.createTextVNode("中文")]),_:1})]),_:1})}const p=[l,d(_,[["render",f]])];return function(o){p.forEach(e=>{o.component(e.name,e)})}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -3,7 +3,13 @@
3
3
  <button @click="clickButton">我是测试按钮</button>
4
4
  </div>
5
5
  </template>
6
- <script lang="ts" setup name="YuButton">
6
+
7
+ <script lang="ts">
8
+ export default {
9
+ name: "YuButton",
10
+ };
11
+ </script>
12
+ <script lang="ts" setup>
7
13
  import {getCurrentInstance} from 'vue';
8
14
 
9
15
  const {proxy} = getCurrentInstance() as any;
@@ -1,10 +1,12 @@
1
1
  <template>
2
2
 
3
3
  <yu-button></yu-button>
4
+ <yu-row></yu-row>
4
5
  </template>
5
6
  <script setup lang="ts">
6
7
 
7
8
  import YuButton from '@/packages/YuButton/index.vue';
9
+ import YuRow from '@/packages/YuRow/index.vue';
8
10
 
9
11
  </script>
10
12