morghulis 2.0.10 → 2.0.12
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/index.css +1 -0
- package/dist/morghulis.js +12 -17
- package/dist/morghulis.umd.cjs +2 -1
- package/package.json +1 -1
- package/dist/morghulis.css +0 -1
package/dist/index.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.my{color:#7e22ce}
|
package/dist/morghulis.js
CHANGED
@@ -1,27 +1,22 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
const
|
1
|
+
import { defineComponent as r, ref as c, createElementBlock as m, openBlock as l, Fragment as p, createElementVNode as t, toDisplayString as o } from "vue";
|
2
|
+
const a = { class: "my" }, i = { class: "card" }, y = /* @__PURE__ */ r({
|
3
3
|
__name: "MyComp",
|
4
4
|
props: {
|
5
5
|
msg: { type: String }
|
6
6
|
},
|
7
|
-
setup(
|
8
|
-
const e =
|
9
|
-
return (
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
setup(s) {
|
8
|
+
const e = c(0);
|
9
|
+
return (u, n) => (l(), m(p, null, [
|
10
|
+
t("h1", a, o(s.msg), 1),
|
11
|
+
t("div", i, [
|
12
|
+
t("button", {
|
13
13
|
type: "button",
|
14
|
-
onClick:
|
15
|
-
}, "count is " +
|
14
|
+
onClick: n[0] || (n[0] = (_) => e.value++)
|
15
|
+
}, "count is " + o(e.value), 1)
|
16
16
|
])
|
17
17
|
], 64));
|
18
18
|
}
|
19
|
-
})
|
20
|
-
const n = t.__vccOpts || t;
|
21
|
-
for (const [o, c] of e)
|
22
|
-
n[o] = c;
|
23
|
-
return n;
|
24
|
-
}, f = /* @__PURE__ */ v(d, [["__scopeId", "data-v-b291c868"]]);
|
19
|
+
});
|
25
20
|
export {
|
26
|
-
|
21
|
+
y as MyComp
|
27
22
|
};
|
package/dist/morghulis.umd.cjs
CHANGED
@@ -1 +1,2 @@
|
|
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";
|
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";var n=document.createElement("style");n.textContent=`.my{color:#7e22ce}
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(n);const s={class:"my"},c={class:"card"},r=e.defineComponent({__name:"MyComp",props:{msg:{type:String}},setup(d){const o=e.ref(0);return(l,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",s,e.toDisplayString(d.msg),1),e.createElementVNode("div",c,[e.createElementVNode("button",{type:"button",onClick:i[0]||(i[0]=m=>o.value++)},"count is "+e.toDisplayString(o.value),1)])],64))}});t.MyComp=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
package/dist/morghulis.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.my[data-v-b291c868]{color:#7e22ce}
|