adverich-kun-ui 0.1.43 → 0.1.44
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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { computed as r, createElementBlock as a, openBlock as o, normalizeStyle as c, normalizeClass as i } from "vue";
|
|
2
|
+
const s = {
|
|
3
|
+
__name: "KunDivider",
|
|
4
|
+
props: {
|
|
5
|
+
vertical: Boolean,
|
|
6
|
+
inset: Boolean,
|
|
7
|
+
dashed: Boolean,
|
|
8
|
+
length: [String, Number],
|
|
9
|
+
color: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: ""
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(e) {
|
|
15
|
+
const t = e, n = r(() => {
|
|
16
|
+
const l = t.length != null ? typeof t.length == "number" ? `${t.length}px` : t.length : void 0;
|
|
17
|
+
return t.vertical ? { height: l } : { width: l };
|
|
18
|
+
});
|
|
19
|
+
return (l, u) => (o(), a("div", {
|
|
20
|
+
role: "separator",
|
|
21
|
+
class: i([
|
|
22
|
+
"shrink-0",
|
|
23
|
+
e.vertical ? "w-px h-full" : "h-px w-full",
|
|
24
|
+
e.dashed ? "border border-dashed border-current bg-transparent" : "bg-current",
|
|
25
|
+
e.inset ? e.vertical ? "ml-4" : "mx-4" : "",
|
|
26
|
+
e.color
|
|
27
|
+
]),
|
|
28
|
+
style: c(n.value)
|
|
29
|
+
}, null, 6));
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
s as default
|
|
34
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import m from "./components/KunAlert/src/components/KunAlert.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import i from "./components/KunAppbar/src/components/KunAppbar.vue.js";
|
|
4
|
+
import t from "./components/KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
|
|
5
5
|
import a from "./components/KunAutocomplete/src/components/KunAutocomplete.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import u from "./components/KunBtn/src/components/KunBtn.vue.js";
|
|
7
|
+
import p from "./components/KunBudge/src/components/KunBudge.vue.js";
|
|
8
8
|
import f from "./components/KunCard/src/components/KunCard.vue.js";
|
|
9
9
|
import s from "./components/KunCardText/src/components/KunCardText.vue.js";
|
|
10
10
|
import K from "./components/KunCurrency/src/components/KunCurrency.vue.js";
|
|
11
|
-
import c from "./components/
|
|
12
|
-
import e from "./components/
|
|
13
|
-
import _ from "./components/
|
|
14
|
-
import l from "./components/
|
|
15
|
-
import $ from "./components/
|
|
11
|
+
import c from "./components/KunDivider/src/components/KunDivider.vue.js";
|
|
12
|
+
import e from "./components/KunIcon/src/components/KunIcon.vue.js";
|
|
13
|
+
import _ from "./components/KunList/src/components/KunList.vue.js";
|
|
14
|
+
import l from "./components/KunSpacer/src/components/KunSpacer.vue.js";
|
|
15
|
+
import $ from "./components/KunSwitch/src/components/KunSwitch.vue.js";
|
|
16
|
+
import d from "./components/KunTextField/src/components/KunTextField.vue.js";
|
|
16
17
|
import A from "./components/KunToolbar/src/components/KunToolbar.vue.js";
|
|
17
18
|
const r = {
|
|
18
19
|
KunAlert: m,
|
|
19
|
-
KunAppbar:
|
|
20
|
-
KunAppbarTitle:
|
|
20
|
+
KunAppbar: i,
|
|
21
|
+
KunAppbarTitle: t,
|
|
21
22
|
KunAutocomplete: a,
|
|
22
|
-
KunBtn:
|
|
23
|
-
KunBudge:
|
|
23
|
+
KunBtn: u,
|
|
24
|
+
KunBudge: p,
|
|
24
25
|
KunCard: f,
|
|
25
26
|
KunCardText: s,
|
|
26
27
|
KunCurrency: K,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
KunDivider: c,
|
|
29
|
+
KunIcon: e,
|
|
30
|
+
KunList: _,
|
|
31
|
+
KunSpacer: l,
|
|
32
|
+
KunSwitch: $,
|
|
33
|
+
KunTextField: d,
|
|
32
34
|
KunToolbar: A
|
|
33
35
|
};
|
|
34
36
|
function q(o) {
|
|
@@ -37,19 +39,20 @@ function q(o) {
|
|
|
37
39
|
}
|
|
38
40
|
export {
|
|
39
41
|
m as KunAlert,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
i as KunAppbar,
|
|
43
|
+
t as KunAppbarTitle,
|
|
42
44
|
a as KunAutocomplete,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
u as KunBtn,
|
|
46
|
+
p as KunBudge,
|
|
45
47
|
f as KunCard,
|
|
46
48
|
s as KunCardText,
|
|
47
49
|
K as KunCurrency,
|
|
48
|
-
c as
|
|
49
|
-
e as
|
|
50
|
-
_ as
|
|
51
|
-
l as
|
|
52
|
-
$ as
|
|
50
|
+
c as KunDivider,
|
|
51
|
+
e as KunIcon,
|
|
52
|
+
_ as KunList,
|
|
53
|
+
l as KunSpacer,
|
|
54
|
+
$ as KunSwitch,
|
|
55
|
+
d as KunTextField,
|
|
53
56
|
A as KunToolbar,
|
|
54
57
|
q as install
|
|
55
58
|
};
|