sun-form-v3 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,45 +1,41 @@
1
1
  import { openBlock as c, createElementBlock as s } from "vue";
2
- const a = (e, n) => {
3
- const t = e.__vccOpts || e;
4
- for (const [o, _] of n)
5
- t[o] = _;
6
- return t;
7
- }, r = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
2
+ const a = (e, t) => {
3
+ const n = e.__vccOpts || e;
4
+ for (const [o, r] of t)
5
+ n[o] = r;
6
+ return n;
7
+ }, p = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
8
8
  __name: "index",
9
9
  setup(e) {
10
- return (n, t) => (c(), s("button", null, "你好你好孙岩"));
10
+ return (t, n) => (c(), s("button", null, "你好你好孙岩"));
11
11
  }
12
- }), p = /* @__PURE__ */ a(r, [["__scopeId", "data-v-91a0b474"]]), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ }), l = /* @__PURE__ */ a(p, [["__scopeId", "data-v-91a0b474"]]), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
13
  __proto__: null,
14
- default: p
15
- }, Symbol.toStringTag, { value: "Module" })), u = {
14
+ default: l
15
+ }, Symbol.toStringTag, { value: "Module" })), i = {
16
16
  type: "text",
17
17
  placeholder: "请输入内容"
18
- }, i = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
18
+ }, m = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
19
19
  __name: "index",
20
20
  setup(e) {
21
- return (n, t) => (c(), s("input", u));
21
+ return (t, n) => (c(), s("input", i));
22
22
  }
23
- }), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ }), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
24
  __proto__: null,
25
- default: i
26
- }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({
27
- "./components/syButton/index.vue": l,
28
- "./components/syInput/index.vue": m
29
- }), f = Object.entries(d).map(([e, n]) => {
30
- var o;
31
- const t = (o = e.split("/").pop()) == null ? void 0 : o.split(".")[0];
32
- return n.default, {
33
- name: t,
34
- component: n.default
35
- };
36
- }), b = function(e, n) {
37
- f.forEach((t) => {
38
- e.component(t.name, t);
25
+ default: m
26
+ }, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.assign({ "./components/syButton/index.vue": u, "./components/syInput/index.vue": d }), _ = Object.fromEntries(
27
+ Object.entries(b).map(([e, t]) => {
28
+ var o;
29
+ return [(o = e.split("/").pop()) == null ? void 0 : o.split(".")[0], t.default];
30
+ })
31
+ ), f = (e) => {
32
+ Object.entries(_).forEach(([t, n]) => {
33
+ e.component(t, n);
39
34
  });
40
- }, g = {
41
- install: b
35
+ }, O = {
36
+ install: f,
37
+ ..._
42
38
  };
43
39
  export {
44
- g as default
40
+ O as default
45
41
  };
@@ -1 +1 @@
1
- (function(e,s){typeof exports=="object"&&typeof module<"u"?module.exports=s(require("vue")):typeof define=="function"&&define.amd?define(["vue"],s):(e=typeof globalThis<"u"?globalThis:e||self,e["sun-form-v3"]=s(e.Vue))})(this,function(e){"use strict";const _=Object.freeze(Object.defineProperty({__proto__:null,default:((n,o)=>{const t=n.__vccOpts||n;for(const[c,r]of o)t[c]=r;return t})(Object.assign({name:"syButton"},{__name:"index",setup(n){return(o,t)=>(e.openBlock(),e.createElementBlock("button",null,"你好你好孙岩"))}}),[["__scopeId","data-v-91a0b474"]])},Symbol.toStringTag,{value:"Module"})),i={type:"text",placeholder:"请输入内容"},u=Object.entries(Object.assign({"./components/syButton/index.vue":_,"./components/syInput/index.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syInput"},{__name:"index",setup(n){return(o,t)=>(e.openBlock(),e.createElementBlock("input",i))}})},Symbol.toStringTag,{value:"Module"}))})).map(([n,o])=>{var c;const t=(c=n.split("/").pop())==null?void 0:c.split(".")[0];return o.default,{name:t,component:o.default}});return{install:function(n,o){u.forEach(t=>{n.component(t.name,t)})}}});
1
+ (function(e,s){typeof exports=="object"&&typeof module<"u"?module.exports=s(require("vue")):typeof define=="function"&&define.amd?define(["vue"],s):(e=typeof globalThis<"u"?globalThis:e||self,e["sun-form-v3"]=s(e.Vue))})(this,function(e){"use strict";const i=Object.freeze(Object.defineProperty({__proto__:null,default:((t,n)=>{const o=t.__vccOpts||t;for(const[c,u]of n)o[c]=u;return o})(Object.assign({name:"syButton"},{__name:"index",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("button",null,"你好你好孙岩"))}}),[["__scopeId","data-v-91a0b474"]])},Symbol.toStringTag,{value:"Module"})),r={type:"text",placeholder:"请输入内容"},_=Object.fromEntries(Object.entries(Object.assign({"./components/syButton/index.vue":i,"./components/syInput/index.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syInput"},{__name:"index",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("input",r))}})},Symbol.toStringTag,{value:"Module"}))})).map(([t,n])=>{var c;return[(c=t.split("/").pop())==null?void 0:c.split(".")[0],n.default]}));return{install:t=>{Object.entries(_).forEach(([n,o])=>{t.component(n,o)})},..._}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sun-form-v3",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"