morghulis 2.0.32 → 2.0.35
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,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, computed as b, createElementBlock as s, openBlock as a, normalizeClass as r, createCommentVNode as
|
1
|
+
import { defineComponent as f, computed as b, createElementBlock as s, openBlock as a, normalizeClass as r, createCommentVNode as c, createElementVNode as i, renderSlot as g, createTextVNode as _, toDisplayString as k } from "vue";
|
2
2
|
const y = ["disabled"], B = {
|
3
3
|
key: 0,
|
4
4
|
class: "m-button__loading"
|
@@ -40,12 +40,12 @@ const y = ["disabled"], B = {
|
|
40
40
|
triggerClick: () => {
|
41
41
|
!t.disabled && !t.loading && l("click", new MouseEvent("click"));
|
42
42
|
}
|
43
|
-
}), (e,
|
43
|
+
}), (e, u) => (a(), s("button", {
|
44
44
|
class: r(m.value),
|
45
45
|
disabled: e.disabled,
|
46
46
|
onClick: p
|
47
47
|
}, [
|
48
|
-
e.loading ? (a(), s("span", B,
|
48
|
+
e.loading ? (a(), s("span", B, u[0] || (u[0] = [
|
49
49
|
i("svg", {
|
50
50
|
class: "m-button__loading-icon",
|
51
51
|
viewBox: "0 0 1024 1024",
|
@@ -62,17 +62,17 @@ const y = ["disabled"], B = {
|
|
62
62
|
fill: "currentColor"
|
63
63
|
})
|
64
64
|
], -1)
|
65
|
-
]))) :
|
65
|
+
]))) : c("", !0),
|
66
66
|
e.icon && !e.loading ? (a(), s("span", h, [
|
67
67
|
i("i", {
|
68
68
|
class: r(e.icon)
|
69
69
|
}, null, 2)
|
70
|
-
])) :
|
70
|
+
])) : c("", !0),
|
71
71
|
e.$slots.default || e.text ? (a(), s("span", C, [
|
72
72
|
g(e.$slots, "default", {}, () => [
|
73
73
|
_(k(e.text), 1)
|
74
74
|
], !0)
|
75
|
-
])) :
|
75
|
+
])) : c("", !0)
|
76
76
|
], 10, y));
|
77
77
|
}
|
78
78
|
}), w = (o, d) => {
|
@@ -80,12 +80,13 @@ const y = ["disabled"], B = {
|
|
80
80
|
for (const [t, l] of d)
|
81
81
|
n[t] = l;
|
82
82
|
return n;
|
83
|
-
}, M = /* @__PURE__ */ w(v, [["__scopeId", "data-v-191e53ce"]]),
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
}, M = /* @__PURE__ */ w(v, [["__scopeId", "data-v-191e53ce"]]), z = (o) => {
|
84
|
+
o.component("MButton", M);
|
85
|
+
}, x = {
|
86
|
+
install: z
|
87
87
|
};
|
88
88
|
export {
|
89
89
|
M as MButton,
|
90
|
-
|
90
|
+
x as default,
|
91
|
+
z as install
|
91
92
|
};
|
package/package.json
CHANGED
@@ -1,17 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.35",
|
4
4
|
"private": false,
|
5
5
|
"type": "module",
|
6
|
-
"main": "dist/
|
7
|
-
"module": "dist/
|
8
|
-
"types": "dist/
|
6
|
+
"main": "./dist/morghulis.js",
|
7
|
+
"module": "./dist/morghulis.js",
|
8
|
+
"types": "./dist/morghulis.d.ts",
|
9
|
+
"typings": "./dist/morghulis.d.ts",
|
9
10
|
"files": [
|
10
11
|
"dist"
|
11
12
|
],
|
13
|
+
"exports": {
|
14
|
+
".": {
|
15
|
+
"import": "./dist/morghulis.js",
|
16
|
+
"types": "./dist/morghulis.d.ts"
|
17
|
+
},
|
18
|
+
"./style": "./dist/morghulis.css"
|
19
|
+
},
|
12
20
|
"scripts": {
|
13
21
|
"dev": "vite",
|
14
|
-
"build": "
|
22
|
+
"build": "vite build",
|
15
23
|
"preview": "vite preview",
|
16
24
|
"type-check": "vue-tsc --build",
|
17
25
|
"prepublishOnly": "npm run build"
|
@@ -27,6 +35,7 @@
|
|
27
35
|
"npm-run-all2": "^7.0.2",
|
28
36
|
"typescript": "~5.8.0",
|
29
37
|
"vite": "^6.2.4",
|
38
|
+
"vite-plugin-dts": "^3.0.0",
|
30
39
|
"vite-plugin-vue-devtools": "^7.7.2",
|
31
40
|
"vue-tsc": "^2.2.8"
|
32
41
|
},
|
File without changes
|