sun-form-v3 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/sun-form-v3.es.js +32 -18
- package/dist/sun-form-v3.umd.js +1 -1
- package/package.json +1 -1
package/dist/sun-form-v3.es.js
CHANGED
@@ -1,31 +1,45 @@
|
|
1
|
-
import { openBlock as
|
2
|
-
const a = (
|
3
|
-
const t =
|
4
|
-
for (const [
|
5
|
-
t[
|
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(
|
10
|
-
return (
|
9
|
+
setup(e) {
|
10
|
+
return (n, t) => (c(), s("button", null, "你好你好孙岩"));
|
11
11
|
}
|
12
|
-
}), p = /* @__PURE__ */ a(r, [["__scopeId", "data-v-91a0b474"]]),
|
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(
|
18
|
-
return (
|
20
|
+
setup(e) {
|
21
|
+
return (n, t) => (c(), s("input", u));
|
19
22
|
}
|
20
|
-
}),
|
21
|
-
|
22
|
-
|
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
|
-
},
|
25
|
-
install:
|
40
|
+
}, g = {
|
41
|
+
install: b
|
26
42
|
};
|
27
43
|
export {
|
28
|
-
|
29
|
-
p as syButton,
|
30
|
-
i as syInput
|
44
|
+
g as default
|
31
45
|
};
|
package/dist/sun-form-v3.umd.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(e,
|
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)})}}});
|