houwenjian 1.0.15 → 1.0.16
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/houwenjian.es.js +9 -9
- package/dist/houwenjian.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/index.css +1 -1
- package/src/test.vue +1 -1
package/dist/houwenjian.es.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ref as _, openBlock as
|
|
2
|
-
const
|
|
1
|
+
import { ref as _, openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as d } from "vue";
|
|
2
|
+
const i = (e, n) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [t, l] of n)
|
|
5
5
|
s[t] = l;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, a = { class: "buttons" }, p = {
|
|
8
8
|
__name: "test",
|
|
9
9
|
setup(e) {
|
|
10
10
|
const n = _("hello world");
|
|
11
|
-
return (s, t) => (
|
|
11
|
+
return (s, t) => (r(), c("div", null, [
|
|
12
12
|
t[0] || (t[0] = o("h2", null, "npm module test", -1)),
|
|
13
|
-
t[1] || (t[1] = o("h2",
|
|
13
|
+
t[1] || (t[1] = o("h2", { class: "main" }, "作者 侯文建", -1)),
|
|
14
14
|
o("div", null, [
|
|
15
|
-
o("button",
|
|
15
|
+
o("button", a, d(n.value), 1)
|
|
16
16
|
])
|
|
17
17
|
]));
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, u = /* @__PURE__ */ i(p, [["__scopeId", "data-v-22d3f775"]]), f = {
|
|
20
20
|
install(e) {
|
|
21
|
-
e.component("RichEditor",
|
|
21
|
+
e.component("RichEditor", u);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
u as RichEditor,
|
|
26
26
|
f as default
|
|
27
27
|
};
|
package/dist/houwenjian.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.houwenjian={},t.Vue))})(this,function(t,e){"use strict";const
|
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.houwenjian={},t.Vue))})(this,function(t,e){"use strict";const u="",a="",l=(o,s)=>{const i=o.__vccOpts||o;for(const[n,_]of s)i[n]=_;return i},c={class:"buttons"},d=l({__name:"test",setup(o){const s=e.ref("hello world");return(i,n)=>(e.openBlock(),e.createElementBlock("div",null,[n[0]||(n[0]=e.createElementVNode("h2",null,"npm module test",-1)),n[1]||(n[1]=e.createElementVNode("h2",{class:"main"},"作者 侯文建",-1)),e.createElementVNode("div",null,[e.createElementVNode("button",c,e.toDisplayString(s.value),1)])]))}},[["__scopeId","data-v-22d3f775"]]),r={install(o){o.component("RichEditor",d)}};t.RichEditor=d,t.default=r,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.main{color:#
|
|
1
|
+
.main{color:#a449ff,}.buttons[data-v-22d3f775]{color:red}
|
package/package.json
CHANGED
package/src/index.css
CHANGED