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 ADDED
@@ -0,0 +1 @@
1
+ .my{color:#7e22ce}
package/dist/morghulis.js CHANGED
@@ -1,27 +1,22 @@
1
- import { defineComponent as p, ref as a, createElementBlock as _, openBlock as l, Fragment as m, createElementVNode as s, toDisplayString as r } from "vue";
2
- const i = { class: "my" }, u = { class: "card" }, d = /* @__PURE__ */ p({
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(t) {
8
- const e = a(0);
9
- return (n, o) => (l(), _(m, null, [
10
- s("h1", i, r(t.msg), 1),
11
- s("div", u, [
12
- s("button", {
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: o[0] || (o[0] = (c) => e.value++)
15
- }, "count is " + r(e.value), 1)
14
+ onClick: n[0] || (n[0] = (_) => e.value++)
15
+ }, "count is " + o(e.value), 1)
16
16
  ])
17
17
  ], 64));
18
18
  }
19
- }), v = (t, e) => {
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
- f as MyComp
21
+ y as MyComp
27
22
  };
@@ -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";const r={class:"my"},p={class:"card"},d=((n,o)=>{const c=n.__vccOpts||n;for(const[s,i]of o)c[s]=i;return c})(e.defineComponent({__name:"MyComp",props:{msg:{type:String}},setup(n){const o=e.ref(0);return(c,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",r,e.toDisplayString(n.msg),1),e.createElementVNode("div",p,[e.createElementVNode("button",{type:"button",onClick:s[0]||(s[0]=i=>o.value++)},"count is "+e.toDisplayString(o.value),1)])],64))}}),[["__scopeId","data-v-b291c868"]]);t.MyComp=d,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";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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "type": "module",
5
5
  "files": ["dist"],
6
6
  "main": "./dist/morghulis.umd.cjs",
@@ -1 +0,0 @@
1
- .my[data-v-b291c868]{color:#7e22ce}