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