morghulis 1.0.3 → 1.0.4

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/README.md CHANGED
@@ -1,5 +1,3 @@
1
- # Vue 3 + TypeScript + Vite
2
-
3
- This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
-
5
- Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
1
+ npm run build
2
+ nrm use npm
3
+ npm publish
@@ -1 +1 @@
1
- h1[data-v-6d3de3da]{color:#7e22ce}
1
+ h1[data-v-c279f9ca]{color:#7e22ce}
package/dist/morghulis.js CHANGED
@@ -1,27 +1,38 @@
1
- import { defineComponent as s, ref as a, openBlock as l, createElementBlock as m, Fragment as u, createElementVNode as r, toDisplayString as p } from "vue";
2
- const _ = { class: "card" }, d = /* @__PURE__ */ s({
1
+ import { defineComponent as l, ref as _, resolveComponent as c, openBlock as u, createBlock as m, withCtx as p, createTextVNode as s, createVNode as d, toDisplayString as f } from "vue";
2
+ const i = /* @__PURE__ */ l({
3
3
  __name: "VueComponentNpmExample",
4
4
  props: {
5
5
  msg: { type: String }
6
6
  },
7
- setup(t) {
8
- const e = a(0);
9
- return (o, n) => (l(), m(u, null, [
10
- r("h1", null, p(t.msg), 1),
11
- r("div", _, [
12
- r("button", {
13
- type: "button",
14
- onClick: n[0] || (n[0] = (c) => e.value++)
15
- }, "count is " + p(e.value), 1)
16
- ])
17
- ], 64));
7
+ setup(o) {
8
+ const t = _(0);
9
+ return (n, e) => {
10
+ const r = c("el-button"), a = c("el-card");
11
+ return u(), m(a, null, {
12
+ header: p(() => e[1] || (e[1] = [
13
+ s("header")
14
+ ])),
15
+ default: p(() => [
16
+ d(r, {
17
+ type: "success",
18
+ onClick: e[0] || (e[0] = (x) => t.value++)
19
+ }, {
20
+ default: p(() => [
21
+ s("count is " + f(t.value), 1)
22
+ ]),
23
+ _: 1
24
+ })
25
+ ]),
26
+ _: 1
27
+ });
28
+ };
18
29
  }
19
- }), i = (t, e) => {
20
- const o = t.__vccOpts || t;
21
- for (const [n, c] of e)
22
- o[n] = c;
23
- return o;
24
- }, f = /* @__PURE__ */ i(d, [["__scopeId", "data-v-6d3de3da"]]);
30
+ }), v = (o, t) => {
31
+ const n = o.__vccOpts || o;
32
+ for (const [e, r] of t)
33
+ n[e] = r;
34
+ return n;
35
+ }, g = /* @__PURE__ */ v(i, [["__scopeId", "data-v-c279f9ca"]]);
25
36
  export {
26
- f as VueComponentNpmExample
37
+ g as VueComponentNpmExample
27
38
  };
@@ -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.morghulis={},t.Vue))})(this,function(t,e){"use strict";const r={class:"card"},c=((n,o)=>{const p=n.__vccOpts||n;for(const[s,i]of o)p[s]=i;return p})(e.defineComponent({__name:"VueComponentNpmExample",props:{msg:{type:String}},setup(n){const o=e.ref(0);return(p,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",null,e.toDisplayString(n.msg),1),e.createElementVNode("div",r,[e.createElementVNode("button",{type:"button",onClick:s[0]||(s[0]=i=>o.value++)},"count is "+e.toDisplayString(o.value),1)])],64))}}),[["__scopeId","data-v-6d3de3da"]]);t.VueComponentNpmExample=c,Object.defineProperty(t,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.morghulis={},t.Vue))})(this,function(t,e){"use strict";const c=((p,n)=>{const s=p.__vccOpts||p;for(const[o,r]of n)s[o]=r;return s})(e.defineComponent({__name:"VueComponentNpmExample",props:{msg:{type:String}},setup(p){const n=e.ref(0);return(s,o)=>{const r=e.resolveComponent("el-button"),i=e.resolveComponent("el-card");return e.openBlock(),e.createBlock(i,null,{header:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode("header")])),default:e.withCtx(()=>[e.createVNode(r,{type:"success",onClick:o[0]||(o[0]=f=>n.value++)},{default:e.withCtx(()=>[e.createTextVNode("count is "+e.toDisplayString(n.value),1)]),_:1})]),_:1})}}}),[["__scopeId","data-v-c279f9ca"]]);t.VueComponentNpmExample=c,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
- "files": ["dist"],
5
+ "files": [
6
+ "dist"
7
+ ],
6
8
  "main": "./dist/morghulis.umd.cjs",
7
9
  "module": "./dist/morghulis.js",
8
10
  "types": "./dist/main.d.ts",
@@ -19,6 +21,7 @@
19
21
  "preview": "vite preview"
20
22
  },
21
23
  "dependencies": {
24
+ "element-plus": "^2.9.1",
22
25
  "vue": "^3.5.13"
23
26
  },
24
27
  "devDependencies": {