sun-form-v3 1.0.1 → 1.0.3

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