feather-k-demo-utils 0.0.45 → 0.0.46
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,130 @@
|
|
|
1
|
+
import { defineComponent as v, ref as g, computed as r, openBlock as l, createElementBlock as i, normalizeClass as p, createElementVNode as c, toDisplayString as h, createCommentVNode as b, useSlots as m, renderSlot as _, withModifiers as D } from "vue";
|
|
2
|
+
const k = ["aria-expanded"], y = { key: 0 }, x = { key: 1 }, S = { key: 2 }, N = /* @__PURE__ */ v({
|
|
3
|
+
__name: "DemoStats",
|
|
4
|
+
props: {
|
|
5
|
+
publishDate: {},
|
|
6
|
+
version: {},
|
|
7
|
+
active: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const e = g(t.active ?? !1), s = (n) => {
|
|
11
|
+
e.value = !e.value, n && n.stopPropagation();
|
|
12
|
+
}, o = r(() => ({
|
|
13
|
+
"demo-stats": !0,
|
|
14
|
+
"tb-v8_2_0": !0,
|
|
15
|
+
active: e.value
|
|
16
|
+
}));
|
|
17
|
+
return (n, u) => t.publishDate || t.version ? (l(), i("div", {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: p(o.value),
|
|
20
|
+
role: "region",
|
|
21
|
+
"aria-label": "Demo Stats",
|
|
22
|
+
"aria-expanded": e.value
|
|
23
|
+
}, [
|
|
24
|
+
c("button", {
|
|
25
|
+
class: "toggle-btn",
|
|
26
|
+
onClick: s,
|
|
27
|
+
"aria-label": "Toggle Stats",
|
|
28
|
+
type: "button",
|
|
29
|
+
tabindex: "0"
|
|
30
|
+
}, " 📊 "),
|
|
31
|
+
t.version ? (l(), i("div", y, "using @featherk/styles@" + h(t.version), 1)) : b("", !0),
|
|
32
|
+
t.publishDate ? (l(), i("div", x, "Published: " + h(t.publishDate), 1)) : (l(), i("div", S, [...u[0] || (u[0] = [
|
|
33
|
+
c("a", {
|
|
34
|
+
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
35
|
+
target: "_blank",
|
|
36
|
+
rel: "noopener noreferrer",
|
|
37
|
+
style: { "pointer-events": "auto !important" }
|
|
38
|
+
}, " Setup Publish Date ", -1)
|
|
39
|
+
])]))
|
|
40
|
+
], 10, k)) : b("", !0);
|
|
41
|
+
}
|
|
42
|
+
}), $ = ["aria-expanded"], C = ["inert"], P = /* @__PURE__ */ v({
|
|
43
|
+
__name: "DemoDebug",
|
|
44
|
+
props: {
|
|
45
|
+
active: { type: Boolean }
|
|
46
|
+
},
|
|
47
|
+
setup(t) {
|
|
48
|
+
const e = g(t.active ?? !1), s = m(), o = r(() => !!s.default && s.default({}).some((a) => a.children)), n = (a) => {
|
|
49
|
+
e.value = !e.value, a && a.stopPropagation();
|
|
50
|
+
}, u = r(() => ({
|
|
51
|
+
"demo-debug": !0,
|
|
52
|
+
"tb-v8_2_0": !0,
|
|
53
|
+
hidden: !o.value,
|
|
54
|
+
active: e.value
|
|
55
|
+
}));
|
|
56
|
+
return (a, f) => (l(), i("div", {
|
|
57
|
+
class: p(u.value),
|
|
58
|
+
role: "region",
|
|
59
|
+
"aria-label": "Demo Debug",
|
|
60
|
+
"aria-expanded": e.value
|
|
61
|
+
}, [
|
|
62
|
+
c("button", {
|
|
63
|
+
class: "toggle-btn",
|
|
64
|
+
onClick: n,
|
|
65
|
+
"aria-label": "Toggle Debug",
|
|
66
|
+
type: "button",
|
|
67
|
+
tabindex: "0"
|
|
68
|
+
}, " 🐞 "),
|
|
69
|
+
c("div", {
|
|
70
|
+
inert: !e.value
|
|
71
|
+
}, [
|
|
72
|
+
_(a.$slots, "default")
|
|
73
|
+
], 8, C)
|
|
74
|
+
], 10, $));
|
|
75
|
+
}
|
|
76
|
+
}), B = ["aria-expanded"], A = ["inert"], T = /* @__PURE__ */ v({
|
|
77
|
+
__name: "DemoSettings",
|
|
78
|
+
props: {
|
|
79
|
+
active: { type: Boolean }
|
|
80
|
+
},
|
|
81
|
+
setup(t) {
|
|
82
|
+
const e = g(t.active ?? !1), s = m(), o = r(() => !!s.default && s.default({}).some((a) => a.children)), n = () => {
|
|
83
|
+
e.value = !e.value;
|
|
84
|
+
}, u = r(() => ({
|
|
85
|
+
"demo-settings": !0,
|
|
86
|
+
"tb-v8_2_0": !0,
|
|
87
|
+
hidden: !o.value,
|
|
88
|
+
active: e.value
|
|
89
|
+
}));
|
|
90
|
+
return (a, f) => (l(), i("div", {
|
|
91
|
+
class: p(u.value),
|
|
92
|
+
role: "region",
|
|
93
|
+
"aria-label": "Demo Settings",
|
|
94
|
+
"aria-expanded": e.value
|
|
95
|
+
}, [
|
|
96
|
+
c("button", {
|
|
97
|
+
class: "toggle-btn",
|
|
98
|
+
onClick: D(n, ["stop"]),
|
|
99
|
+
"aria-label": "Toggle Demo Settings",
|
|
100
|
+
tabindex: "0"
|
|
101
|
+
}, " ⚙️ "),
|
|
102
|
+
c("div", {
|
|
103
|
+
inert: !e.value
|
|
104
|
+
}, [
|
|
105
|
+
_(a.$slots, "default")
|
|
106
|
+
], 8, A)
|
|
107
|
+
], 10, B));
|
|
108
|
+
}
|
|
109
|
+
}), M = /* @__PURE__ */ v({
|
|
110
|
+
__name: "DemoNotes",
|
|
111
|
+
setup(t) {
|
|
112
|
+
const d = m(), e = r(() => !!d.default && d.default({}).some((o) => o.children)), s = r(() => ({
|
|
113
|
+
"demo-notes": !0,
|
|
114
|
+
"tb-v8_2_0": !0
|
|
115
|
+
}));
|
|
116
|
+
return (o, n) => e.value ? (l(), i("div", {
|
|
117
|
+
key: 0,
|
|
118
|
+
class: p(s.value),
|
|
119
|
+
tabindex: "0"
|
|
120
|
+
}, [
|
|
121
|
+
_(o.$slots, "default")
|
|
122
|
+
], 2)) : b("", !0);
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
export {
|
|
126
|
+
P as _,
|
|
127
|
+
M as a,
|
|
128
|
+
T as b,
|
|
129
|
+
N as c
|
|
130
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as s, a, b as t, c as m } from "../DemoNotes.vue_vue_type_script_setup_true_lang-DcPiPbTJ.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DemoDebug,
|
|
4
4
|
a as DemoNotes,
|
|
5
5
|
t as DemoSettings,
|
|
6
|
-
|
|
6
|
+
m 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 { _ as E, a as D, b as F, c as _ } from "./DemoNotes.vue_vue_type_script_setup_true_lang-DcPiPbTJ.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
E as DemoDebug,
|
|
5
|
+
D 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 { _ as E, a as D, b as F, c as _ } from "../DemoNotes.vue_vue_type_script_setup_true_lang-DcPiPbTJ.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
E as DemoDebug,
|
|
5
|
+
D as DemoNotes,
|
|
6
6
|
F as DemoSettings,
|
|
7
7
|
_ as DemoStats,
|
|
8
8
|
a as FEATHERK_STYLES_CDN_URL,
|
package/package.json
CHANGED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as b, computed as c, openBlock as r, createElementBlock as i, normalizeClass as p, createElementVNode as d, toDisplayString as h, createCommentVNode as _, useSlots as g, renderSlot as m, withModifiers as k } from "vue";
|
|
2
|
-
const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ = /* @__PURE__ */ v({
|
|
3
|
-
__name: "DemoStats",
|
|
4
|
-
props: {
|
|
5
|
-
publishDate: {},
|
|
6
|
-
version: {},
|
|
7
|
-
active: { type: Boolean }
|
|
8
|
-
},
|
|
9
|
-
setup(t) {
|
|
10
|
-
const e = b(t.active ?? !1), a = (n) => {
|
|
11
|
-
e.value = !e.value, n && n.stopPropagation();
|
|
12
|
-
}, s = c(() => ({
|
|
13
|
-
"demo-stats": !0,
|
|
14
|
-
"tb-v8_2_0": !0,
|
|
15
|
-
active: e.value
|
|
16
|
-
}));
|
|
17
|
-
return (n, u) => t.publishDate || t.version ? (r(), i("div", {
|
|
18
|
-
key: 0,
|
|
19
|
-
class: p(s.value),
|
|
20
|
-
role: "region",
|
|
21
|
-
"aria-label": "Demo Stats",
|
|
22
|
-
"aria-expanded": e.value
|
|
23
|
-
}, [
|
|
24
|
-
d("button", {
|
|
25
|
-
class: "toggle-btn",
|
|
26
|
-
onClick: a,
|
|
27
|
-
"aria-label": "Toggle Stats",
|
|
28
|
-
type: "button",
|
|
29
|
-
tabindex: "0"
|
|
30
|
-
}, " 📊 "),
|
|
31
|
-
t.version ? (r(), i("div", x, "using @featherk/styles@" + h(t.version), 1)) : _("", !0),
|
|
32
|
-
t.publishDate ? (r(), i("div", S, "Published: " + h(t.publishDate), 1)) : (r(), i("div", C, [...u[0] || (u[0] = [
|
|
33
|
-
d("a", {
|
|
34
|
-
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
35
|
-
target: "_blank",
|
|
36
|
-
rel: "noopener noreferrer",
|
|
37
|
-
style: { "pointer-events": "auto !important" }
|
|
38
|
-
}, " Setup Publish Date ", -1)
|
|
39
|
-
])]))
|
|
40
|
-
], 10, y)) : _("", !0);
|
|
41
|
-
}
|
|
42
|
-
}), f = (t, l) => {
|
|
43
|
-
const e = t.__vccOpts || t;
|
|
44
|
-
for (const [a, s] of l)
|
|
45
|
-
e[a] = s;
|
|
46
|
-
return e;
|
|
47
|
-
}, I = /* @__PURE__ */ f($, [["__scopeId", "data-v-af654d7b"]]), B = ["aria-expanded"], A = /* @__PURE__ */ v({
|
|
48
|
-
__name: "DemoDebug",
|
|
49
|
-
props: {
|
|
50
|
-
active: { type: Boolean }
|
|
51
|
-
},
|
|
52
|
-
setup(t) {
|
|
53
|
-
const e = b(t.active ?? !1), a = g(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = (o) => {
|
|
54
|
-
e.value = !e.value, o && o.stopPropagation();
|
|
55
|
-
}, u = c(() => ({
|
|
56
|
-
"demo-debug": !0,
|
|
57
|
-
"tb-v8_2_0": !0,
|
|
58
|
-
hidden: !s.value,
|
|
59
|
-
active: e.value
|
|
60
|
-
}));
|
|
61
|
-
return (o, D) => (r(), i("div", {
|
|
62
|
-
class: p(u.value),
|
|
63
|
-
role: "region",
|
|
64
|
-
"aria-label": "Demo Debug",
|
|
65
|
-
"aria-expanded": e.value
|
|
66
|
-
}, [
|
|
67
|
-
d("button", {
|
|
68
|
-
class: "toggle-btn",
|
|
69
|
-
onClick: n,
|
|
70
|
-
"aria-label": "Toggle Debug",
|
|
71
|
-
type: "button",
|
|
72
|
-
tabindex: "0"
|
|
73
|
-
}, " 🐞 "),
|
|
74
|
-
m(o.$slots, "default", {}, void 0, !0)
|
|
75
|
-
], 10, B));
|
|
76
|
-
}
|
|
77
|
-
}), T = /* @__PURE__ */ f(A, [["__scopeId", "data-v-25eb8f20"]]), E = ["aria-expanded"], N = /* @__PURE__ */ v({
|
|
78
|
-
__name: "DemoSettings",
|
|
79
|
-
props: {
|
|
80
|
-
active: { type: Boolean }
|
|
81
|
-
},
|
|
82
|
-
setup(t) {
|
|
83
|
-
const e = b(t.active ?? !1), a = g(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = () => {
|
|
84
|
-
e.value = !e.value;
|
|
85
|
-
}, u = c(() => ({
|
|
86
|
-
"demo-settings": !0,
|
|
87
|
-
"tb-v8_2_0": !0,
|
|
88
|
-
hidden: !s.value,
|
|
89
|
-
active: e.value
|
|
90
|
-
}));
|
|
91
|
-
return (o, D) => (r(), i("div", {
|
|
92
|
-
class: p(u.value),
|
|
93
|
-
role: "region",
|
|
94
|
-
"aria-label": "Demo Settings",
|
|
95
|
-
"aria-expanded": e.value
|
|
96
|
-
}, [
|
|
97
|
-
d("button", {
|
|
98
|
-
class: "toggle-btn",
|
|
99
|
-
onClick: k(n, ["stop"]),
|
|
100
|
-
"aria-label": "Toggle Demo Settings",
|
|
101
|
-
tabindex: "0"
|
|
102
|
-
}, " ⚙️ "),
|
|
103
|
-
m(o.$slots, "default", {}, void 0, !0)
|
|
104
|
-
], 10, E));
|
|
105
|
-
}
|
|
106
|
-
}), M = /* @__PURE__ */ f(N, [["__scopeId", "data-v-12ecdff9"]]), V = /* @__PURE__ */ v({
|
|
107
|
-
__name: "DemoNotes",
|
|
108
|
-
setup(t) {
|
|
109
|
-
const l = g(), e = c(() => !!l.default && l.default({}).some((s) => s.children)), a = c(() => ({
|
|
110
|
-
"demo-notes": !0,
|
|
111
|
-
"tb-v8_2_0": !0
|
|
112
|
-
}));
|
|
113
|
-
return (s, n) => e.value ? (r(), i("div", {
|
|
114
|
-
key: 0,
|
|
115
|
-
class: p(a.value),
|
|
116
|
-
tabindex: "0"
|
|
117
|
-
}, [
|
|
118
|
-
m(s.$slots, "default")
|
|
119
|
-
], 2)) : _("", !0);
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
export {
|
|
123
|
-
T as D,
|
|
124
|
-
V as _,
|
|
125
|
-
M as a,
|
|
126
|
-
I as b
|
|
127
|
-
};
|