sun-form-v3 1.0.3 → 1.0.5

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-91a0b474]{border:1px solid red}
1
+ button[data-v-3f4e4944]{border:1px solid red}
@@ -1,45 +1,41 @@
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" }, {
8
- __name: "index",
9
- setup(e) {
10
- return (n, t) => (c(), s("button", null, "你好你好孙岩"));
1
+ import { openBlock as s, createElementBlock as c } from "vue";
2
+ const p = (t, e) => {
3
+ const n = t.__vccOpts || t;
4
+ for (const [o, r] of e)
5
+ n[o] = r;
6
+ return n;
7
+ }, u = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
8
+ __name: "syButton",
9
+ setup(t) {
10
+ return (e, n) => (s(), c("button", null, "你好你好孙岩"));
11
11
  }
12
- }), p = /* @__PURE__ */ a(r, [["__scopeId", "data-v-91a0b474"]]), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ }), a = /* @__PURE__ */ p(u, [["__scopeId", "data-v-3f4e4944"]]), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
13
  __proto__: null,
14
- default: p
15
- }, Symbol.toStringTag, { value: "Module" })), u = {
14
+ default: a
15
+ }, Symbol.toStringTag, { value: "Module" })), m = {
16
16
  type: "text",
17
17
  placeholder: "请输入内容"
18
18
  }, i = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
19
- __name: "index",
20
- setup(e) {
21
- return (n, t) => (c(), s("input", u));
19
+ __name: "syInput",
20
+ setup(t) {
21
+ return (e, n) => (s(), c("input", m));
22
22
  }
23
- }), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ }), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
24
  __proto__: null,
25
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);
26
+ }, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.assign({ "./components/syButton/syButton.vue": l, "./components/syInput/syInput.vue": f }), _ = Object.fromEntries(
27
+ Object.entries(b).map(([t, e]) => {
28
+ var o;
29
+ return [(o = t.split("/").pop()) == null ? void 0 : o.split(".")[0], e.default];
30
+ })
31
+ ), y = (t) => {
32
+ Object.entries(_).forEach(([e, n]) => {
33
+ t.component(e, n);
39
34
  });
40
- }, g = {
41
- install: b
35
+ }, O = {
36
+ install: y,
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 u=Object.freeze(Object.defineProperty({__proto__:null,default:((t,n)=>{const o=t.__vccOpts||t;for(const[c,p]of n)o[c]=p;return o})(Object.assign({name:"syButton"},{__name:"syButton",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("button",null,"你好你好孙岩"))}}),[["__scopeId","data-v-3f4e4944"]])},Symbol.toStringTag,{value:"Module"})),r={type:"text",placeholder:"请输入内容"},_=Object.fromEntries(Object.entries(Object.assign({"./components/syButton/syButton.vue":u,"./components/syInput/syInput.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syInput"},{__name:"syInput",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.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"