morghulis 2.0.22 → 2.0.23

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,26 +1,26 @@
1
- import { defineComponent as c, ref as l, createElementBlock as m, openBlock as r, Fragment as a, createElementVNode as n, toDisplayString as s } from "vue";
2
- const i = { class: "my" }, p = { class: "card" }, u = /* @__PURE__ */ c({
1
+ import { defineComponent as c, ref as l, createElementBlock as r, openBlock as m, Fragment as a, createElementVNode as e, toDisplayString as s } from "vue";
2
+ const p = { class: "my" }, i = { class: "card" }, u = /* @__PURE__ */ c({
3
3
  __name: "MyComp",
4
4
  props: {
5
5
  msg: { type: String }
6
6
  },
7
7
  setup(t) {
8
- const e = l(0);
9
- return (_, o) => (r(), m(a, null, [
10
- n("h1", i, s(t.msg), 1),
11
- n("div", p, [
12
- n("button", {
8
+ const o = l(0);
9
+ return (_, n) => (m(), r(a, null, [
10
+ e("h1", p, s(t.msg), 1),
11
+ e("div", i, [
12
+ e("button", {
13
13
  type: "button",
14
- onClick: o[0] || (o[0] = (y) => e.value++)
15
- }, "count is " + s(e.value), 1)
14
+ onClick: n[0] || (n[0] = (d) => o.value++)
15
+ }, "count is " + s(o.value), 1)
16
16
  ])
17
17
  ], 64));
18
18
  }
19
- });
20
- function d(t) {
21
- t.component("MyComp", u);
22
- }
23
- const g = { install: d };
19
+ }), g = {
20
+ install(t) {
21
+ t.component("MyComp", u);
22
+ }
23
+ };
24
24
  export {
25
25
  u as MyComp,
26
26
  g as default
@@ -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 l={class:"my"},c={class:"card"},o=e.defineComponent({__name:"MyComp",props:{msg:{type:String}},setup(n){const i=e.ref(0);return(u,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",l,e.toDisplayString(n.msg),1),e.createElementVNode("div",c,[e.createElementVNode("button",{type:"button",onClick:s[0]||(s[0]=p=>i.value++)},"count is "+e.toDisplayString(i.value),1)])],64))}});function d(n){n.component("MyComp",o)}const r={install:d};t.MyComp=o,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.Morghulis={},t.Vue))})(this,function(t,e){"use strict";const l={class:"my"},r={class:"card"},o=e.defineComponent({__name:"MyComp",props:{msg:{type:String}},setup(n){const i=e.ref(0);return(d,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",l,e.toDisplayString(n.msg),1),e.createElementVNode("div",r,[e.createElementVNode("button",{type:"button",onClick:s[0]||(s[0]=u=>i.value++)},"count is "+e.toDisplayString(i.value),1)])],64))}}),c={install(n){n.component("MyComp",o)}};t.MyComp=o,t.default=c,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,8 +1,7 @@
1
1
  import MyComp from './MyComp.vue';
2
2
  import { App } from "vue";
3
- declare function install(app: App): void;
4
- export { MyComp };
5
- declare const _default: {
6
- install: typeof install;
3
+ declare const Morghulis: {
4
+ install(app: App): void;
7
5
  };
8
- export default _default;
6
+ export { MyComp };
7
+ export default Morghulis;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"