yuang-framework-ui-pc 1.0.17 → 1.0.19

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-8942a8c4]{width:100px;height:50px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;cursor:pointer}
1
+ button[data-v-d865be7e]{width:100px;height:50px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;cursor:pointer}
@@ -1,5 +1,5 @@
1
- import { defineComponent as d, getCurrentInstance as m, openBlock as l, createElementBlock as i, createElementVNode as y, resolveComponent as _, createBlock as x, withCtx as e, createVNode as o, createTextVNode as c } from "vue";
2
- const g = /* @__PURE__ */ d({
1
+ import { defineComponent as f, getCurrentInstance as m, openBlock as l, createElementBlock as i, createElementVNode as y, resolveComponent as _, createBlock as x, withCtx as e, createVNode as o, createTextVNode as c } from "vue";
2
+ const g = /* @__PURE__ */ f({
3
3
  name: "YuButton",
4
4
  __name: "index",
5
5
  setup(a) {
@@ -15,12 +15,12 @@ const g = /* @__PURE__ */ d({
15
15
  for (const [s, u] of t)
16
16
  r[s] = u;
17
17
  return r;
18
- }, k = /* @__PURE__ */ p(g, [["__scopeId", "data-v-8942a8c4"]]), w = {
18
+ }, k = /* @__PURE__ */ p(g, [["__scopeId", "data-v-d865be7e"]]), w = {
19
19
  name: "YuRow"
20
20
  };
21
- function B(a, t, r, s, u, C) {
22
- const n = _("el-button"), f = _("el-row");
23
- return l(), x(f, { class: "mb-4" }, {
21
+ function B(a, t, r, s, u, v) {
22
+ const n = _("el-button"), d = _("el-row");
23
+ return l(), x(d, { class: "mb-4" }, {
24
24
  default: e(() => [
25
25
  o(n, null, {
26
26
  default: e(() => [
@@ -68,8 +68,8 @@ function B(a, t, r, s, u, C) {
68
68
  _: 1
69
69
  });
70
70
  }
71
- const $ = /* @__PURE__ */ p(w, [["render", B]]), v = [k, $], h = function(a) {
72
- v.forEach((t) => {
71
+ const $ = /* @__PURE__ */ p(w, [["render", B]]), b = [k, $], h = function(a) {
72
+ b.forEach((t) => {
73
73
  a.component(t.name, t);
74
74
  });
75
75
  };
@@ -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:"YuButton",__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-8942a8c4"]]),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(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:"YuButton",__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-d865be7e"]]),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)})}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -6,8 +6,8 @@ const router = createRouter({
6
6
  history: createWebHistory(import.meta.env.BASE_URL),
7
7
  routes: [
8
8
  {
9
- path: '/packages/yu-button/index',
10
- component: () => import('@/views/packages/yu-button/index.vue'),
9
+ path: '/components/yu-button/index',
10
+ component: () => import('@/views/components/yu-button/index.vue'),
11
11
  meta: {
12
12
  title: ''
13
13
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * shims-vue.d.ts文件是一种声明文件,用来告诉TypeScript如何处理.vue文件,填补TypeScript对.vue文件类型识别缺失的文件,为Vue.js的单文件组件提供类型定义支持。
3
- * 否则会报错:Vue: Could not find a declaration file for module @/packages/YuButton/index.
3
+ * 否则会报错:Vue: Could not find a declaration file for module @/components/YuButton/index.
4
4
  */
5
5
  /* eslint-disable */
6
6
  declare module '*.vue' {
@@ -5,8 +5,8 @@
5
5
  </template>
6
6
  <script setup lang="ts">
7
7
 
8
- import YuButton from '@/packages/YuButton/index.vue';
9
- import YuRow from '@/packages/YuRow/index.vue';
8
+ import YuButton from '@/components/YuButton/index.vue';
9
+ import YuRow from '@/components/YuRow/index.vue';
10
10
 
11
11
  </script>
12
12
 
File without changes
File without changes
File without changes