morghulis 1.0.2 → 1.0.3
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 +5 -0
- package/dist/VueComponentNpmExample.vue.d.ts +10 -0
- package/dist/main.d.ts +2 -0
- package/dist/morghulis.css +1 -0
- package/dist/morghulis.js +27 -0
- package/dist/morghulis.umd.cjs +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +27 -7
- package/favicon.ico +0 -0
- package/morghulis.js +0 -52
- package/morghulis.umd.cjs +0 -1
package/README.md
ADDED
@@ -0,0 +1,5 @@
|
|
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).
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
|
+
msg: {
|
3
|
+
type: StringConstructor;
|
4
|
+
};
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
6
|
+
msg: {
|
7
|
+
type: StringConstructor;
|
8
|
+
};
|
9
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
10
|
+
export default _default;
|
package/dist/main.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
h1[data-v-6d3de3da]{color:#7e22ce}
|
@@ -0,0 +1,27 @@
|
|
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({
|
3
|
+
__name: "VueComponentNpmExample",
|
4
|
+
props: {
|
5
|
+
msg: { type: String }
|
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));
|
18
|
+
}
|
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"]]);
|
25
|
+
export {
|
26
|
+
f as VueComponentNpmExample
|
27
|
+
};
|
@@ -0,0 +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"})});
|
package/dist/vite.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
CHANGED
@@ -1,12 +1,32 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "1.0.
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "1.0.3",
|
4
|
+
"type": "module",
|
5
|
+
"files": ["dist"],
|
6
|
+
"main": "./dist/morghulis.umd.cjs",
|
7
|
+
"module": "./dist/morghulis.js",
|
8
|
+
"types": "./dist/main.d.ts",
|
9
|
+
"exports": {
|
10
|
+
".": {
|
11
|
+
"import": "./dist/morghulis.js",
|
12
|
+
"require": "./dist/morghulis.umd.js"
|
13
|
+
},
|
14
|
+
"./dist/style.css": "./dist/style.css"
|
15
|
+
},
|
6
16
|
"scripts": {
|
7
|
-
"
|
17
|
+
"dev": "vite",
|
18
|
+
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
19
|
+
"preview": "vite preview"
|
20
|
+
},
|
21
|
+
"dependencies": {
|
22
|
+
"vue": "^3.5.13"
|
8
23
|
},
|
9
|
-
"
|
10
|
-
|
11
|
-
|
24
|
+
"devDependencies": {
|
25
|
+
"@types/node": "^22.10.2",
|
26
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
27
|
+
"@vue/tsconfig": "^0.7.0",
|
28
|
+
"typescript": "~5.6.2",
|
29
|
+
"vite": "^6.0.5",
|
30
|
+
"vue-tsc": "^2.2.0"
|
31
|
+
}
|
12
32
|
}
|
package/favicon.ico
DELETED
Binary file
|
package/morghulis.js
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
const c = (t, n) => {
|
2
|
-
const e = t.__vccOpts || t;
|
3
|
-
for (const [o, s] of n)
|
4
|
-
e[o] = s;
|
5
|
-
return e;
|
6
|
-
}, r = {
|
7
|
-
props: {},
|
8
|
-
data() {
|
9
|
-
return {};
|
10
|
-
},
|
11
|
-
watch: {},
|
12
|
-
mounted() {
|
13
|
-
this.init();
|
14
|
-
},
|
15
|
-
computed: {},
|
16
|
-
components: {},
|
17
|
-
methods: {
|
18
|
-
init() {
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
22
|
-
function p(t, n, e, o, s, a) {
|
23
|
-
return " MyTest1.vue ";
|
24
|
-
}
|
25
|
-
const i = /* @__PURE__ */ c(r, [["render", p]]), _ = {
|
26
|
-
name: "BaseTable",
|
27
|
-
props: {},
|
28
|
-
data() {
|
29
|
-
return {};
|
30
|
-
},
|
31
|
-
watch: {},
|
32
|
-
mounted() {
|
33
|
-
this.init();
|
34
|
-
},
|
35
|
-
computed: {},
|
36
|
-
components: {},
|
37
|
-
methods: {
|
38
|
-
init() {
|
39
|
-
}
|
40
|
-
}
|
41
|
-
};
|
42
|
-
function u(t, n, e, o, s, a) {
|
43
|
-
return " BaseTable,lyp ";
|
44
|
-
}
|
45
|
-
const d = /* @__PURE__ */ c(_, [["render", u]]), m = {
|
46
|
-
install(t) {
|
47
|
-
t.component("MyTest", i), t.component("BaseTable", d);
|
48
|
-
}
|
49
|
-
};
|
50
|
-
export {
|
51
|
-
m as default
|
52
|
-
};
|
package/morghulis.umd.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(function(t,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self,t.morghulis=n())})(this,function(){"use strict";const t=(e,s)=>{const o=e.__vccOpts||e;for(const[c,i]of s)o[c]=i;return o},n={props:{},data(){return{}},watch:{},mounted(){this.init()},computed:{},components:{},methods:{init(){}}};function r(e,s,o,c,i,f){return" MyTest1.vue "}const p=t(n,[["render",r]]),u={name:"BaseTable",props:{},data(){return{}},watch:{},mounted(){this.init()},computed:{},components:{},methods:{init(){}}};function a(e,s,o,c,i,f){return" BaseTable,lyp "}const d=t(u,[["render",a]]);return{install(e){e.component("MyTest",p),e.component("BaseTable",d)}}});
|