morghulis 1.0.2 → 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 ADDED
@@ -0,0 +1,3 @@
1
+ npm run build
2
+ nrm use npm
3
+ npm publish
@@ -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,2 @@
1
+ import VueComponentNpmExample from './VueComponentNpmExample.vue';
2
+ export { VueComponentNpmExample };
@@ -0,0 +1 @@
1
+ h1[data-v-c279f9ca]{color:#7e22ce}
@@ -0,0 +1,38 @@
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
+ __name: "VueComponentNpmExample",
4
+ props: {
5
+ msg: { type: String }
6
+ },
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
+ };
29
+ }
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"]]);
36
+ export {
37
+ g as VueComponentNpmExample
38
+ };
@@ -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 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/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,35 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "1.0.2",
4
- "description": "",
5
- "main": "morghulis.js",
3
+ "version": "1.0.4",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/morghulis.umd.cjs",
9
+ "module": "./dist/morghulis.js",
10
+ "types": "./dist/main.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/morghulis.js",
14
+ "require": "./dist/morghulis.umd.js"
15
+ },
16
+ "./dist/style.css": "./dist/style.css"
17
+ },
6
18
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
19
+ "dev": "vite",
20
+ "build": "vite build && vue-tsc --emitDeclarationOnly",
21
+ "preview": "vite preview"
22
+ },
23
+ "dependencies": {
24
+ "element-plus": "^2.9.1",
25
+ "vue": "^3.5.13"
8
26
  },
9
- "keywords": [],
10
- "author": "",
11
- "license": "ISC"
27
+ "devDependencies": {
28
+ "@types/node": "^22.10.2",
29
+ "@vitejs/plugin-vue": "^5.2.1",
30
+ "@vue/tsconfig": "^0.7.0",
31
+ "typescript": "~5.6.2",
32
+ "vite": "^6.0.5",
33
+ "vue-tsc": "^2.2.0"
34
+ }
12
35
  }
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)}}});