feather-k-demo-utils 0.0.33 → 0.0.34
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,97 @@
|
|
|
1
|
+
import { defineComponent as u, openBlock as r, createElementBlock as c, toDisplayString as g, createCommentVNode as i, createElementVNode as f, useSlots as d, computed as l, normalizeClass as m, renderSlot as _ } from "vue";
|
|
2
|
+
const h = { key: 0 }, p = { key: 1 }, D = { key: 2 }, x = /* @__PURE__ */ u({
|
|
3
|
+
__name: "DemoStats",
|
|
4
|
+
props: {
|
|
5
|
+
publishDate: {},
|
|
6
|
+
version: {}
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const s = () => {
|
|
10
|
+
const o = document.querySelector(".demo-stats");
|
|
11
|
+
o && o.classList.toggle("active");
|
|
12
|
+
};
|
|
13
|
+
return (o, n) => t.publishDate || t.version ? (r(), c("div", {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "demo-stats tb-v8_2_0 active",
|
|
16
|
+
tabindex: "0",
|
|
17
|
+
role: "region",
|
|
18
|
+
"aria-label": "Demo Stats",
|
|
19
|
+
onClick: s
|
|
20
|
+
}, [
|
|
21
|
+
t.version ? (r(), c("div", h, "using @featherk/styles@" + g(t.version), 1)) : i("", !0),
|
|
22
|
+
t.publishDate ? (r(), c("div", p, "Published: " + g(t.publishDate), 1)) : (r(), c("div", D, [...n[0] || (n[0] = [
|
|
23
|
+
f("a", {
|
|
24
|
+
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
25
|
+
target: "_blank",
|
|
26
|
+
rel: "noopener noreferrer",
|
|
27
|
+
style: { "pointer-events": "auto !important" }
|
|
28
|
+
}, " Setup Publish Date ", -1)
|
|
29
|
+
])]))
|
|
30
|
+
])) : i("", !0);
|
|
31
|
+
}
|
|
32
|
+
}), k = /* @__PURE__ */ u({
|
|
33
|
+
__name: "DemoDebug",
|
|
34
|
+
setup(t) {
|
|
35
|
+
const s = d(), o = l(() => !!s.default && s.default({}).some((e) => e.children)), n = () => {
|
|
36
|
+
const e = document.querySelector(".demo-debug");
|
|
37
|
+
e && e.classList.toggle("active");
|
|
38
|
+
}, a = l(() => ({
|
|
39
|
+
"demo-debug": !0,
|
|
40
|
+
"tb-v8_2_0": !0,
|
|
41
|
+
hidden: !o.value
|
|
42
|
+
}));
|
|
43
|
+
return (e, b) => (r(), c("div", {
|
|
44
|
+
class: m(a.value),
|
|
45
|
+
onClick: n,
|
|
46
|
+
tabindex: "0"
|
|
47
|
+
}, [
|
|
48
|
+
_(e.$slots, "default", {}, void 0, !0)
|
|
49
|
+
], 2));
|
|
50
|
+
}
|
|
51
|
+
}), v = (t, s) => {
|
|
52
|
+
const o = t.__vccOpts || t;
|
|
53
|
+
for (const [n, a] of s)
|
|
54
|
+
o[n] = a;
|
|
55
|
+
return o;
|
|
56
|
+
}, E = /* @__PURE__ */ v(k, [["__scopeId", "data-v-2100f511"]]), y = /* @__PURE__ */ u({
|
|
57
|
+
__name: "DemoSettings",
|
|
58
|
+
setup(t) {
|
|
59
|
+
const s = d(), o = l(() => !!s.default && s.default({}).some((e) => e.children)), n = () => {
|
|
60
|
+
const e = document.querySelector(".demo-settings");
|
|
61
|
+
e && e.classList.toggle("active");
|
|
62
|
+
}, a = l(() => ({
|
|
63
|
+
"demo-settings": !0,
|
|
64
|
+
"tb-v8_2_0": !0,
|
|
65
|
+
hidden: !o.value
|
|
66
|
+
// active: true,
|
|
67
|
+
}));
|
|
68
|
+
return (e, b) => (r(), c("div", {
|
|
69
|
+
class: m(a.value),
|
|
70
|
+
onClick: n,
|
|
71
|
+
tabindex: "0"
|
|
72
|
+
}, [
|
|
73
|
+
_(e.$slots, "default", {}, void 0, !0)
|
|
74
|
+
], 2));
|
|
75
|
+
}
|
|
76
|
+
}), $ = /* @__PURE__ */ v(y, [["__scopeId", "data-v-f54144a9"]]), S = /* @__PURE__ */ u({
|
|
77
|
+
__name: "DemoNotes",
|
|
78
|
+
setup(t) {
|
|
79
|
+
const s = d(), o = l(() => !!s.default && s.default({}).some((a) => a.children)), n = l(() => ({
|
|
80
|
+
"demo-notes": !0,
|
|
81
|
+
"tb-v8_2_0": !0
|
|
82
|
+
}));
|
|
83
|
+
return (a, e) => o.value ? (r(), c("div", {
|
|
84
|
+
key: 0,
|
|
85
|
+
class: m(n.value),
|
|
86
|
+
tabindex: "0"
|
|
87
|
+
}, [
|
|
88
|
+
_(a.$slots, "default", {}, void 0, !0)
|
|
89
|
+
], 2)) : i("", !0);
|
|
90
|
+
}
|
|
91
|
+
}), N = /* @__PURE__ */ v(S, [["__scopeId", "data-v-ecefbdda"]]);
|
|
92
|
+
export {
|
|
93
|
+
E as D,
|
|
94
|
+
x as _,
|
|
95
|
+
N as a,
|
|
96
|
+
$ as b
|
|
97
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as s, a, b as t, _ as D } from "../DemoNotes-CwNtBwwj.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DemoDebug,
|
|
4
4
|
a as DemoNotes,
|
|
5
5
|
t as DemoSettings,
|
|
6
|
-
|
|
6
|
+
D as DemoStats
|
|
7
7
|
};
|
package/lib/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as a, a as t, f as o, g as r, b as S } from "./cdnVersion-DGJCb4AH.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D, a as E, b as F, _ } from "./DemoNotes-CwNtBwwj.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
D as DemoDebug,
|
|
5
|
+
E as DemoNotes,
|
|
6
6
|
F as DemoSettings,
|
|
7
7
|
_ as DemoStats,
|
|
8
8
|
a as FEATHERK_STYLES_CDN_URL,
|
package/lib/utils/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as a, a as t, f as o, g as r, b as S } from "../cdnVersion-DGJCb4AH.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D, a as E, b as F, _ } from "../DemoNotes-CwNtBwwj.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
D as DemoDebug,
|
|
5
|
+
E as DemoNotes,
|
|
6
6
|
F as DemoSettings,
|
|
7
7
|
_ as DemoStats,
|
|
8
8
|
a as FEATHERK_STYLES_CDN_URL,
|
package/package.json
CHANGED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as r, createElementBlock as l, toDisplayString as g, createCommentVNode as i, createElementVNode as b, useSlots as d, computed as u, normalizeClass as m, renderSlot as _ } from "vue";
|
|
2
|
-
const h = { key: 0 }, f = { key: 1 }, p = { key: 2 }, D = /* @__PURE__ */ c({
|
|
3
|
-
__name: "DemoStats",
|
|
4
|
-
props: {
|
|
5
|
-
publishDate: {},
|
|
6
|
-
version: {}
|
|
7
|
-
},
|
|
8
|
-
setup(s) {
|
|
9
|
-
const t = () => {
|
|
10
|
-
const n = document.querySelector(".demo-stats");
|
|
11
|
-
n && n.classList.toggle("active");
|
|
12
|
-
};
|
|
13
|
-
return (n, o) => s.publishDate || s.version ? (r(), l("div", {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "demo-stats tb-v8_2_0 active",
|
|
16
|
-
tabindex: "0",
|
|
17
|
-
role: "region",
|
|
18
|
-
"aria-label": "Demo Stats",
|
|
19
|
-
onClick: t
|
|
20
|
-
}, [
|
|
21
|
-
s.version ? (r(), l("div", h, "using @featherk/styles@" + g(s.version), 1)) : i("", !0),
|
|
22
|
-
s.publishDate ? (r(), l("div", f, "Published: " + g(s.publishDate), 1)) : (r(), l("div", p, [...o[0] || (o[0] = [
|
|
23
|
-
b("a", {
|
|
24
|
-
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
25
|
-
target: "_blank",
|
|
26
|
-
rel: "noopener noreferrer",
|
|
27
|
-
style: { "pointer-events": "auto !important" }
|
|
28
|
-
}, " Setup Publish Date ", -1)
|
|
29
|
-
])]))
|
|
30
|
-
])) : i("", !0);
|
|
31
|
-
}
|
|
32
|
-
}), y = /* @__PURE__ */ c({
|
|
33
|
-
__name: "DemoDebug",
|
|
34
|
-
setup(s) {
|
|
35
|
-
const t = d(), n = u(() => !!t.default && t.default({}).some((e) => e.children)), o = () => {
|
|
36
|
-
const e = document.querySelector(".demo-debug");
|
|
37
|
-
e && e.classList.toggle("active");
|
|
38
|
-
}, a = u(() => ({
|
|
39
|
-
"demo-debug": !0,
|
|
40
|
-
"tb-v8_2_0": !0,
|
|
41
|
-
hidden: !n.value
|
|
42
|
-
}));
|
|
43
|
-
return (e, v) => (r(), l("div", {
|
|
44
|
-
class: m(a.value),
|
|
45
|
-
onClick: o,
|
|
46
|
-
tabindex: "0"
|
|
47
|
-
}, [
|
|
48
|
-
_(e.$slots, "default")
|
|
49
|
-
], 2));
|
|
50
|
-
}
|
|
51
|
-
}), S = /* @__PURE__ */ c({
|
|
52
|
-
__name: "DemoSettings",
|
|
53
|
-
setup(s) {
|
|
54
|
-
const t = d(), n = u(() => !!t.default && t.default({}).some((e) => e.children)), o = () => {
|
|
55
|
-
const e = document.querySelector(".demo-settings");
|
|
56
|
-
e && e.classList.toggle("active");
|
|
57
|
-
}, a = u(() => ({
|
|
58
|
-
"demo-settings": !0,
|
|
59
|
-
"tb-v8_2_0": !0,
|
|
60
|
-
hidden: !n.value
|
|
61
|
-
// active: true,
|
|
62
|
-
}));
|
|
63
|
-
return (e, v) => (r(), l("div", {
|
|
64
|
-
class: m(a.value),
|
|
65
|
-
onClick: o,
|
|
66
|
-
tabindex: "0"
|
|
67
|
-
}, [
|
|
68
|
-
_(e.$slots, "default")
|
|
69
|
-
], 2));
|
|
70
|
-
}
|
|
71
|
-
}), C = /* @__PURE__ */ c({
|
|
72
|
-
__name: "DemoNotes",
|
|
73
|
-
setup(s) {
|
|
74
|
-
const t = d(), n = u(() => !!t.default && t.default({}).some((a) => a.children)), o = u(() => ({
|
|
75
|
-
"demo-notes": !0,
|
|
76
|
-
"tb-v8_2_0": !0
|
|
77
|
-
}));
|
|
78
|
-
return (a, e) => n.value ? (r(), l("div", {
|
|
79
|
-
key: 0,
|
|
80
|
-
class: m(o.value),
|
|
81
|
-
tabindex: "0"
|
|
82
|
-
}, [
|
|
83
|
-
_(a.$slots, "default")
|
|
84
|
-
], 2)) : i("", !0);
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export {
|
|
88
|
-
y as _,
|
|
89
|
-
C as a,
|
|
90
|
-
S as b,
|
|
91
|
-
D as c
|
|
92
|
-
};
|