@m2s2/vue-lib 2.0.0 → 2.1.0
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/dist/index.cjs +1 -1
- package/dist/index.mjs +29 -26
- package/dist/index10.cjs +1 -1
- package/dist/index10.mjs +8 -16
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +15 -19
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +20 -27
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +28 -262
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +263 -13
- package/dist/index2.cjs +1 -1
- package/dist/index2.mjs +250 -11
- package/dist/index20.cjs +1 -1
- package/dist/index20.mjs +13 -38
- package/dist/index22.cjs +1 -1
- package/dist/index22.mjs +35 -49
- package/dist/index24.cjs +1 -1
- package/dist/index24.mjs +47 -78
- package/dist/index26.cjs +1 -1
- package/dist/index26.mjs +78 -101
- package/dist/index28.cjs +1 -1
- package/dist/index28.mjs +101 -63
- package/dist/index30.cjs +1 -1
- package/dist/index30.mjs +52 -65
- package/dist/index32.cjs +1 -1
- package/dist/index32.mjs +85 -3
- package/dist/index34.cjs +1 -1
- package/dist/index34.mjs +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.mjs +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.mjs +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.mjs +2 -2
- package/dist/index38.cjs +1 -1
- package/dist/index38.mjs +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.mjs +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.mjs +11 -19
- package/dist/index40.cjs +1 -1
- package/dist/index40.mjs +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.mjs +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.mjs +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.mjs +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.mjs +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.mjs +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.mjs +3 -51
- package/dist/index48.cjs +1 -1
- package/dist/index48.mjs +3 -2
- package/dist/index49.cjs +1 -0
- package/dist/index49.mjs +5 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.mjs +53 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.mjs +4 -0
- package/dist/index6.cjs +1 -1
- package/dist/index6.mjs +21 -15
- package/dist/index8.cjs +1 -1
- package/dist/index8.mjs +15 -10
- package/dist/vue-lib/src/components/Chat/Chat.vue.d.ts +22 -0
- package/dist/vue-lib/src/components/Chat/Chat.vue.d.ts.map +1 -0
- package/dist/vue-lib/src/index.d.ts +1 -0
- package/dist/vue-lib/src/index.d.ts.map +1 -1
- package/dist/vue-lib.css +1 -1
- package/package.json +5 -5
- package/dist/index33.cjs +0 -1
- package/dist/index33.mjs +0 -5
package/dist/index18.mjs
CHANGED
|
@@ -1,19 +1,269 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
|
|
1
|
+
import { defineComponent as z, ref as h, onMounted as N, onUnmounted as W, openBlock as n, createElementBlock as o, Fragment as i, createElementVNode as u, normalizeClass as E, toDisplayString as c, renderList as k, mergeProps as w, withModifiers as D, createTextVNode as p, createCommentVNode as s, renderSlot as M } from "vue";
|
|
2
|
+
const V = ["href"], A = ["src", "alt"], P = {
|
|
3
|
+
key: 1,
|
|
4
|
+
class: "navbar-brand-text"
|
|
5
|
+
}, U = {
|
|
6
|
+
class: "navbar-desktop",
|
|
7
|
+
"aria-label": "Main navigation"
|
|
8
|
+
}, F = ["href"], O = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "navbar-dropdown-wrap"
|
|
11
|
+
}, Y = ["aria-expanded", "onClick"], q = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "navbar-dropdown-content"
|
|
14
|
+
}, R = ["href"], T = ["src", "alt"], j = ["onClick"], G = ["src", "alt"], H = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "navbar-dropdown-wrap"
|
|
17
|
+
}, J = ["aria-expanded"], K = ["src"], Q = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "navbar-account-icon",
|
|
20
|
+
viewBox: "0 0 24 24",
|
|
21
|
+
fill: "currentColor",
|
|
22
|
+
"aria-hidden": "true"
|
|
23
|
+
}, X = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "navbar-dropdown-content"
|
|
26
|
+
}, Z = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "navbar-dropdown-user"
|
|
29
|
+
}, ee = ["href"], ne = ["src", "alt"], oe = ["onClick"], re = ["src", "alt"], ae = ["aria-label", "aria-expanded"], te = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "navbar-mobile-menu",
|
|
32
|
+
"aria-label": "Mobile navigation"
|
|
33
|
+
}, le = ["href"], se = ["href"], ie = ["onClick"], ce = ["href"], de = ["onClick"], fe = /* @__PURE__ */ z({
|
|
34
|
+
__name: "Navbar",
|
|
4
35
|
props: {
|
|
5
|
-
|
|
6
|
-
|
|
36
|
+
config: {},
|
|
37
|
+
loggedIn: { type: Boolean, default: !1 }
|
|
7
38
|
},
|
|
8
|
-
setup(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
39
|
+
setup(t) {
|
|
40
|
+
const $ = t, x = h(!1), y = h(!1), d = h(!1), f = h(null), m = h(0);
|
|
41
|
+
function v(l) {
|
|
42
|
+
return !l.requiresAuth || $.loggedIn;
|
|
43
|
+
}
|
|
44
|
+
function _(l) {
|
|
45
|
+
return "href" in l;
|
|
46
|
+
}
|
|
47
|
+
function C(l) {
|
|
48
|
+
return "onClick" in l;
|
|
49
|
+
}
|
|
50
|
+
function S(l) {
|
|
51
|
+
f.value = f.value === l ? null : l;
|
|
52
|
+
}
|
|
53
|
+
function b() {
|
|
54
|
+
f.value = null;
|
|
55
|
+
}
|
|
56
|
+
function B() {
|
|
57
|
+
const l = window.scrollY, a = l - m.value;
|
|
58
|
+
x.value = l > 80, l < 80 ? y.value = !1 : a > 4 ? y.value = !0 : a < -4 && (y.value = !1), m.value = l;
|
|
59
|
+
}
|
|
60
|
+
function I() {
|
|
61
|
+
window.innerWidth > 991 && (d.value = !1);
|
|
62
|
+
}
|
|
63
|
+
function L(l) {
|
|
64
|
+
l.target.closest(".navbar-dropdown-wrap") || b();
|
|
65
|
+
}
|
|
66
|
+
return N(() => {
|
|
67
|
+
window.addEventListener("scroll", B, { passive: !0 }), window.addEventListener("resize", I), document.addEventListener("click", L);
|
|
68
|
+
}), W(() => {
|
|
69
|
+
window.removeEventListener("scroll", B), window.removeEventListener("resize", I), document.removeEventListener("click", L);
|
|
70
|
+
}), (l, a) => (n(), o(i, null, [
|
|
71
|
+
u("header", {
|
|
72
|
+
class: E(["navbar", {
|
|
73
|
+
"navbar--scrolled": x.value,
|
|
74
|
+
"navbar--hidden": y.value,
|
|
75
|
+
"navbar--fixed": t.config.isFixed
|
|
76
|
+
}])
|
|
77
|
+
}, [
|
|
78
|
+
u("a", {
|
|
79
|
+
class: "navbar-brand",
|
|
80
|
+
href: t.config.brandPath
|
|
81
|
+
}, [
|
|
82
|
+
t.config.brandLogo ? (n(), o("img", {
|
|
83
|
+
key: 0,
|
|
84
|
+
src: t.config.brandLogo,
|
|
85
|
+
alt: t.config.brand,
|
|
86
|
+
class: "navbar-brand-logo"
|
|
87
|
+
}, null, 8, A)) : (n(), o("span", P, c(t.config.brand), 1))
|
|
88
|
+
], 8, V),
|
|
89
|
+
a[7] || (a[7] = u("span", { class: "navbar-spacer" }, null, -1)),
|
|
90
|
+
u("nav", U, [
|
|
91
|
+
(n(!0), o(i, null, k(t.config.buttons, (e) => {
|
|
92
|
+
var g;
|
|
93
|
+
return n(), o(i, {
|
|
94
|
+
key: e.id
|
|
95
|
+
}, [
|
|
96
|
+
v(e) ? (n(), o(i, { key: 0 }, [
|
|
97
|
+
e.isDropdown ? (n(), o("div", O, [
|
|
98
|
+
u("button", {
|
|
99
|
+
class: "navbar-nav-btn navbar-nav-btn--dropdown",
|
|
100
|
+
"aria-expanded": f.value === e.id,
|
|
101
|
+
onClick: D((r) => S(e.id), ["stop"])
|
|
102
|
+
}, [
|
|
103
|
+
p(c(e.title) + " ", 1),
|
|
104
|
+
a[5] || (a[5] = u("span", {
|
|
105
|
+
class: "navbar-chevron",
|
|
106
|
+
"aria-hidden": "true"
|
|
107
|
+
}, "▾", -1))
|
|
108
|
+
], 8, Y),
|
|
109
|
+
f.value === e.id ? (n(), o("div", q, [
|
|
110
|
+
(n(!0), o(i, null, k(e.dropdownItems, (r) => (n(), o(i, {
|
|
111
|
+
key: r.id
|
|
112
|
+
}, [
|
|
113
|
+
_(r) ? (n(), o("a", w({
|
|
114
|
+
key: 0,
|
|
115
|
+
class: "navbar-dropdown-item",
|
|
116
|
+
href: r.href
|
|
117
|
+
}, { ref_for: !0 }, r.href.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {}, { onClick: b }), [
|
|
118
|
+
r.imgSrc ? (n(), o("img", {
|
|
119
|
+
key: 0,
|
|
120
|
+
src: r.imgSrc,
|
|
121
|
+
alt: r.text,
|
|
122
|
+
class: "navbar-dropdown-img"
|
|
123
|
+
}, null, 8, T)) : s("", !0),
|
|
124
|
+
p(" " + c(r.text), 1)
|
|
125
|
+
], 16, R)) : C(r) ? (n(), o("button", {
|
|
126
|
+
key: 1,
|
|
127
|
+
class: "navbar-dropdown-item",
|
|
128
|
+
onClick: () => {
|
|
129
|
+
r.onClick(), b();
|
|
130
|
+
}
|
|
131
|
+
}, [
|
|
132
|
+
r.imgSrc ? (n(), o("img", {
|
|
133
|
+
key: 0,
|
|
134
|
+
src: r.imgSrc,
|
|
135
|
+
alt: r.text,
|
|
136
|
+
class: "navbar-dropdown-img"
|
|
137
|
+
}, null, 8, G)) : s("", !0),
|
|
138
|
+
p(" " + c(r.text), 1)
|
|
139
|
+
], 8, j)) : s("", !0)
|
|
140
|
+
], 64))), 128))
|
|
141
|
+
])) : s("", !0)
|
|
142
|
+
])) : (n(), o("a", w({
|
|
143
|
+
key: 0,
|
|
144
|
+
class: "navbar-nav-btn",
|
|
145
|
+
href: e.href
|
|
146
|
+
}, { ref_for: !0 }, (g = e.href) != null && g.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {}), c(e.title), 17, F))
|
|
147
|
+
], 64)) : s("", !0)
|
|
148
|
+
], 64);
|
|
149
|
+
}), 128))
|
|
150
|
+
]),
|
|
151
|
+
t.config.loginButton ? (n(), o("div", H, [
|
|
152
|
+
u("button", {
|
|
153
|
+
class: "navbar-icon-btn",
|
|
154
|
+
"aria-label": "Account menu",
|
|
155
|
+
"aria-expanded": f.value === "__account__",
|
|
156
|
+
onClick: a[0] || (a[0] = D((e) => S("__account__"), ["stop"]))
|
|
157
|
+
}, [
|
|
158
|
+
t.config.loginButton.profileImageUrl ? (n(), o("img", {
|
|
159
|
+
key: 0,
|
|
160
|
+
src: t.config.loginButton.profileImageUrl,
|
|
161
|
+
alt: "Profile",
|
|
162
|
+
class: "navbar-avatar"
|
|
163
|
+
}, null, 8, K)) : (n(), o("svg", Q, [...a[6] || (a[6] = [
|
|
164
|
+
u("path", { d: "M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z" }, null, -1)
|
|
165
|
+
])]))
|
|
166
|
+
], 8, J),
|
|
167
|
+
f.value === "__account__" ? (n(), o("div", X, [
|
|
168
|
+
t.config.loginButton.userName && t.loggedIn ? (n(), o("div", Z, c(t.config.loginButton.userName), 1)) : s("", !0),
|
|
169
|
+
(n(!0), o(i, null, k(t.config.loginButton.dropdownItems, (e) => (n(), o(i, {
|
|
170
|
+
key: e.id
|
|
171
|
+
}, [
|
|
172
|
+
_(e) && v(e) ? (n(), o("a", w({
|
|
173
|
+
key: 0,
|
|
174
|
+
class: "navbar-dropdown-item",
|
|
175
|
+
href: e.href
|
|
176
|
+
}, { ref_for: !0 }, e.href.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {}, { onClick: b }), [
|
|
177
|
+
e.imgSrc ? (n(), o("img", {
|
|
178
|
+
key: 0,
|
|
179
|
+
src: e.imgSrc,
|
|
180
|
+
alt: e.text,
|
|
181
|
+
class: "navbar-dropdown-img"
|
|
182
|
+
}, null, 8, ne)) : s("", !0),
|
|
183
|
+
p(" " + c(e.text), 1)
|
|
184
|
+
], 16, ee)) : C(e) && v(e) ? (n(), o("button", {
|
|
185
|
+
key: 1,
|
|
186
|
+
class: "navbar-dropdown-item",
|
|
187
|
+
onClick: () => {
|
|
188
|
+
e.onClick(), b();
|
|
189
|
+
}
|
|
190
|
+
}, [
|
|
191
|
+
e.imgSrc ? (n(), o("img", {
|
|
192
|
+
key: 0,
|
|
193
|
+
src: e.imgSrc,
|
|
194
|
+
alt: e.text,
|
|
195
|
+
class: "navbar-dropdown-img"
|
|
196
|
+
}, null, 8, re)) : s("", !0),
|
|
197
|
+
p(" " + c(e.text), 1)
|
|
198
|
+
], 8, oe)) : s("", !0)
|
|
199
|
+
], 64))), 128))
|
|
200
|
+
])) : s("", !0)
|
|
201
|
+
])) : s("", !0),
|
|
202
|
+
M(l.$slots, "default"),
|
|
203
|
+
u("button", {
|
|
204
|
+
class: "navbar-mobile-btn",
|
|
205
|
+
"aria-label": d.value ? "Close navigation menu" : "Open navigation menu",
|
|
206
|
+
"aria-expanded": d.value,
|
|
207
|
+
onClick: a[1] || (a[1] = (e) => d.value = !d.value)
|
|
208
|
+
}, [
|
|
209
|
+
u("span", {
|
|
210
|
+
class: E(["navbar-hamburger", { "navbar-hamburger--open": d.value }])
|
|
211
|
+
}, null, 2)
|
|
212
|
+
], 8, ae)
|
|
213
|
+
], 2),
|
|
214
|
+
d.value ? (n(), o("nav", te, [
|
|
215
|
+
(n(!0), o(i, null, k(t.config.buttons, (e) => {
|
|
216
|
+
var g;
|
|
217
|
+
return n(), o(i, {
|
|
218
|
+
key: e.id
|
|
219
|
+
}, [
|
|
220
|
+
v(e) ? (n(), o(i, { key: 0 }, [
|
|
221
|
+
e.isDropdown ? (n(!0), o(i, { key: 1 }, k(e.dropdownItems, (r) => (n(), o(i, {
|
|
222
|
+
key: r.id
|
|
223
|
+
}, [
|
|
224
|
+
_(r) && v(r) ? (n(), o("a", w({
|
|
225
|
+
key: 0,
|
|
226
|
+
class: "navbar-mobile-link",
|
|
227
|
+
href: r.href
|
|
228
|
+
}, { ref_for: !0 }, r.href.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {}, {
|
|
229
|
+
onClick: a[3] || (a[3] = (ue) => d.value = !1)
|
|
230
|
+
}), c(r.text), 17, se)) : C(r) && v(r) ? (n(), o("button", {
|
|
231
|
+
key: 1,
|
|
232
|
+
class: "navbar-mobile-link",
|
|
233
|
+
onClick: () => {
|
|
234
|
+
r.onClick(), d.value = !1;
|
|
235
|
+
}
|
|
236
|
+
}, c(r.text), 9, ie)) : s("", !0)
|
|
237
|
+
], 64))), 128)) : (n(), o("a", w({
|
|
238
|
+
key: 0,
|
|
239
|
+
class: "navbar-mobile-link",
|
|
240
|
+
href: e.href
|
|
241
|
+
}, { ref_for: !0 }, (g = e.href) != null && g.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {}, {
|
|
242
|
+
onClick: a[2] || (a[2] = (r) => d.value = !1)
|
|
243
|
+
}), c(e.title), 17, le))
|
|
244
|
+
], 64)) : s("", !0)
|
|
245
|
+
], 64);
|
|
246
|
+
}), 128)),
|
|
247
|
+
t.config.loginButton ? (n(!0), o(i, { key: 0 }, k(t.config.loginButton.dropdownItems, (e) => (n(), o(i, {
|
|
248
|
+
key: e.id
|
|
249
|
+
}, [
|
|
250
|
+
_(e) && v(e) ? (n(), o("a", {
|
|
251
|
+
key: 0,
|
|
252
|
+
class: "navbar-mobile-link",
|
|
253
|
+
href: e.href,
|
|
254
|
+
onClick: a[4] || (a[4] = (g) => d.value = !1)
|
|
255
|
+
}, c(e.text), 9, ce)) : C(e) && v(e) ? (n(), o("button", {
|
|
256
|
+
key: 1,
|
|
257
|
+
class: "navbar-mobile-link",
|
|
258
|
+
onClick: () => {
|
|
259
|
+
e.onClick(), d.value = !1;
|
|
260
|
+
}
|
|
261
|
+
}, c(e.text), 9, de)) : s("", !0)
|
|
262
|
+
], 64))), 128)) : s("", !0)
|
|
263
|
+
])) : s("", !0)
|
|
264
|
+
], 64));
|
|
15
265
|
}
|
|
16
266
|
});
|
|
17
267
|
export {
|
|
18
|
-
|
|
268
|
+
fe as default
|
|
19
269
|
};
|
package/dist/index2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),p={class:"m2s2-chat"},B=["aria-label"],E={key:0,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true"},y={key:1,width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},V=["aria-label"],f={class:"chat-header"},N=["src"],w={class:"chat-header__text"},_={class:"chat-header__title"},C={key:0,class:"chat-header__subtitle"},b={key:0,class:"chat-empty"},x={key:0,class:"chat-avatar chat-avatar--assistant"},A=["src"],M={key:1,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},U={class:"chat-message__text"},S={key:1,class:"chat-avatar chat-avatar--user"},D=["src"],L={key:1,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},z={key:1,class:"chat-message chat-message--assistant"},j={class:"chat-avatar chat-avatar--assistant"},H=["src"],T={key:1,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},q={key:0,class:"chat-cta"},F=["href"],K={class:"chat-input-row"},R=["placeholder","disabled"],$=["disabled"],O={key:0,class:"chat-error"},G=e.defineComponent({__name:"Chat",props:{sendMessage:{},title:{default:"Architecture Advisor"},subtitle:{default:"Ask anything about software architecture, cloud design, or engineering decisions."},placeholder:{default:"Ask a question..."},maxMessages:{default:6},ctaLabel:{default:"Start a Conversation"},ctaUrl:{default:"/contact"},userAvatarUrl:{},assistantAvatarUrl:{}},setup(a){const u=a,r=e.ref(!1),n=e.ref([]),s=e.ref("idle"),c=e.ref(""),i=e.ref(null),m=e.computed(()=>n.value.filter(l=>l.role==="user").length),d=e.computed(()=>m.value>=u.maxMessages);async function h(){await e.nextTick(),i.value&&(i.value.scrollTop=i.value.scrollHeight)}async function k(){const l=c.value.trim();if(!l||s.value==="sending"||d.value)return;c.value="";const t=[...n.value,{role:"user",content:l}];n.value=t,s.value="sending",await h();try{const o=await u.sendMessage(t);n.value=[...n.value,{role:"assistant",content:o}],s.value="idle",await h()}catch{s.value="error"}}function v(l){l.key==="Enter"&&!l.shiftKey&&(l.preventDefault(),k())}return(l,t)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("button",{class:"chat-toggle","aria-label":r.value?"Close chat":"Open chat",onClick:t[0]||(t[0]=o=>r.value=!r.value)},[r.value?(e.openBlock(),e.createElementBlock("svg",E,[...t[2]||(t[2]=[e.createElementVNode("path",{d:"M15 5L5 15M5 5l10 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",y,[...t[3]||(t[3]=[e.createElementVNode("path",{d:"M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))],8,B),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"chat-panel",role:"dialog","aria-label":a.title},[e.createElementVNode("div",f,[a.assistantAvatarUrl?(e.openBlock(),e.createElementBlock("img",{key:0,class:"chat-header__avatar",src:a.assistantAvatarUrl,alt:"","aria-hidden":"true"},null,8,N)):e.createCommentVNode("",!0),e.createElementVNode("div",w,[e.createElementVNode("p",_,e.toDisplayString(a.title),1),n.value.length===0?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",{class:"chat-messages",ref_key:"listEl",ref:i},[n.value.length===0?(e.openBlock(),e.createElementBlock("p",b,"Send a message to get started.")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(o,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:e.normalizeClass(["chat-message",`chat-message--${o.role}`])},[o.role==="assistant"?(e.openBlock(),e.createElementBlock("span",x,[a.assistantAvatarUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.assistantAvatarUrl,alt:"","aria-hidden":"true"},null,8,A)):(e.openBlock(),e.createElementBlock("svg",M,[...t[4]||(t[4]=[e.createElementVNode("path",{d:"M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))])):e.createCommentVNode("",!0),e.createElementVNode("p",U,e.toDisplayString(o.content),1),o.role==="user"?(e.openBlock(),e.createElementBlock("span",S,[a.userAvatarUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.userAvatarUrl,alt:"","aria-hidden":"true"},null,8,D)):(e.openBlock(),e.createElementBlock("svg",L,[...t[5]||(t[5]=[e.createElementVNode("circle",{cx:"12",cy:"8",r:"4",stroke:"currentColor","stroke-width":"2"},null,-1),e.createElementVNode("path",{d:"M4 20c0-4 3.6-7 8-7s8 3 8 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])]))])):e.createCommentVNode("",!0)],2))),128)),s.value==="sending"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("span",j,[a.assistantAvatarUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.assistantAvatarUrl,alt:"","aria-hidden":"true"},null,8,H)):(e.openBlock(),e.createElementBlock("svg",T,[...t[6]||(t[6]=[e.createElementVNode("path",{d:"M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))]),t[7]||(t[7]=e.createElementVNode("span",{class:"chat-typing"},[e.createElementVNode("span"),e.createElementVNode("span"),e.createElementVNode("span")],-1))])):e.createCommentVNode("",!0)],512),d.value?(e.openBlock(),e.createElementBlock("div",q,[t[8]||(t[8]=e.createElementVNode("p",{class:"chat-cta__text"},"Ready to go deeper? Let's talk through your specific situation.",-1)),e.createElementVNode("a",{class:"chat-cta__btn",href:a.ctaUrl},e.toDisplayString(a.ctaLabel),9,F)])):e.createCommentVNode("",!0),d.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",K,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":t[1]||(t[1]=o=>c.value=o),class:"chat-input",rows:1,placeholder:a.placeholder,disabled:s.value==="sending",onKeydown:v},null,40,R),[[e.vModelText,c.value]]),e.createElementVNode("button",{class:"chat-send",disabled:!c.value.trim()||s.value==="sending","aria-label":"Send",onClick:k},[...t[9]||(t[9]=[e.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e.createElementVNode("path",{d:"M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,$)]),s.value==="error"?(e.openBlock(),e.createElementBlock("p",O,"Something went wrong — please try again.")):e.createCommentVNode("",!0)],64))],8,V)):e.createCommentVNode("",!0)]))}});module.exports=G;
|
package/dist/index2.mjs
CHANGED
|
@@ -1,19 +1,258 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as C, ref as h, computed as w, openBlock as a, createElementBlock as s, createElementVNode as t, createCommentVNode as n, toDisplayString as k, Fragment as _, renderList as A, normalizeClass as M, withDirectives as U, vModelText as B, nextTick as L } from "vue";
|
|
2
|
+
const S = { class: "m2s2-chat" }, V = ["aria-label"], z = {
|
|
3
3
|
key: 0,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
width: "20",
|
|
5
|
+
height: "20",
|
|
6
|
+
viewBox: "0 0 20 20",
|
|
7
|
+
fill: "none",
|
|
8
|
+
"aria-hidden": "true"
|
|
9
|
+
}, E = {
|
|
10
|
+
key: 1,
|
|
11
|
+
width: "22",
|
|
12
|
+
height: "22",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
"aria-hidden": "true"
|
|
16
|
+
}, j = ["aria-label"], H = { class: "chat-header" }, T = ["src"], D = { class: "chat-header__text" }, K = { class: "chat-header__title" }, N = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "chat-header__subtitle"
|
|
19
|
+
}, R = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "chat-empty"
|
|
22
|
+
}, $ = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "chat-avatar chat-avatar--assistant"
|
|
25
|
+
}, q = ["src"], F = {
|
|
26
|
+
key: 1,
|
|
27
|
+
width: "14",
|
|
28
|
+
height: "14",
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
fill: "none",
|
|
31
|
+
"aria-hidden": "true"
|
|
32
|
+
}, O = { class: "chat-message__text" }, G = {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: "chat-avatar chat-avatar--user"
|
|
35
|
+
}, I = ["src"], J = {
|
|
36
|
+
key: 1,
|
|
37
|
+
width: "14",
|
|
38
|
+
height: "14",
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: "none",
|
|
41
|
+
"aria-hidden": "true"
|
|
42
|
+
}, P = {
|
|
43
|
+
key: 1,
|
|
44
|
+
class: "chat-message chat-message--assistant"
|
|
45
|
+
}, Q = { class: "chat-avatar chat-avatar--assistant" }, W = ["src"], X = {
|
|
46
|
+
key: 1,
|
|
47
|
+
width: "14",
|
|
48
|
+
height: "14",
|
|
49
|
+
viewBox: "0 0 24 24",
|
|
50
|
+
fill: "none",
|
|
51
|
+
"aria-hidden": "true"
|
|
52
|
+
}, Y = {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "chat-cta"
|
|
55
|
+
}, Z = ["href"], tt = { class: "chat-input-row" }, et = ["placeholder", "disabled"], at = ["disabled"], st = {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "chat-error"
|
|
58
|
+
}, nt = /* @__PURE__ */ C({
|
|
59
|
+
__name: "Chat",
|
|
7
60
|
props: {
|
|
8
|
-
|
|
61
|
+
sendMessage: {},
|
|
62
|
+
title: { default: "Architecture Advisor" },
|
|
63
|
+
subtitle: { default: "Ask anything about software architecture, cloud design, or engineering decisions." },
|
|
64
|
+
placeholder: { default: "Ask a question..." },
|
|
65
|
+
maxMessages: { default: 6 },
|
|
66
|
+
ctaLabel: { default: "Start a Conversation" },
|
|
67
|
+
ctaUrl: { default: "/contact" },
|
|
68
|
+
userAvatarUrl: {},
|
|
69
|
+
assistantAvatarUrl: {}
|
|
9
70
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
71
|
+
setup(l) {
|
|
72
|
+
const y = l, c = h(!1), o = h([]), d = h("idle"), u = h(""), v = h(null), p = w(() => o.value.filter((r) => r.role === "user").length), g = w(() => p.value >= y.maxMessages);
|
|
73
|
+
async function f() {
|
|
74
|
+
await L(), v.value && (v.value.scrollTop = v.value.scrollHeight);
|
|
75
|
+
}
|
|
76
|
+
async function m() {
|
|
77
|
+
const r = u.value.trim();
|
|
78
|
+
if (!r || d.value === "sending" || g.value) return;
|
|
79
|
+
u.value = "";
|
|
80
|
+
const e = [...o.value, { role: "user", content: r }];
|
|
81
|
+
o.value = e, d.value = "sending", await f();
|
|
82
|
+
try {
|
|
83
|
+
const i = await y.sendMessage(e);
|
|
84
|
+
o.value = [...o.value, { role: "assistant", content: i }], d.value = "idle", await f();
|
|
85
|
+
} catch {
|
|
86
|
+
d.value = "error";
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function b(r) {
|
|
90
|
+
r.key === "Enter" && !r.shiftKey && (r.preventDefault(), m());
|
|
91
|
+
}
|
|
92
|
+
return (r, e) => (a(), s("div", S, [
|
|
93
|
+
t("button", {
|
|
94
|
+
class: "chat-toggle",
|
|
95
|
+
"aria-label": c.value ? "Close chat" : "Open chat",
|
|
96
|
+
onClick: e[0] || (e[0] = (i) => c.value = !c.value)
|
|
97
|
+
}, [
|
|
98
|
+
c.value ? (a(), s("svg", z, [...e[2] || (e[2] = [
|
|
99
|
+
t("path", {
|
|
100
|
+
d: "M15 5L5 15M5 5l10 10",
|
|
101
|
+
stroke: "currentColor",
|
|
102
|
+
"stroke-width": "2",
|
|
103
|
+
"stroke-linecap": "round"
|
|
104
|
+
}, null, -1)
|
|
105
|
+
])])) : (a(), s("svg", E, [...e[3] || (e[3] = [
|
|
106
|
+
t("path", {
|
|
107
|
+
d: "M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",
|
|
108
|
+
stroke: "currentColor",
|
|
109
|
+
"stroke-width": "2",
|
|
110
|
+
"stroke-linecap": "round",
|
|
111
|
+
"stroke-linejoin": "round"
|
|
112
|
+
}, null, -1)
|
|
113
|
+
])]))
|
|
114
|
+
], 8, V),
|
|
115
|
+
c.value ? (a(), s("div", {
|
|
116
|
+
key: 0,
|
|
117
|
+
class: "chat-panel",
|
|
118
|
+
role: "dialog",
|
|
119
|
+
"aria-label": l.title
|
|
120
|
+
}, [
|
|
121
|
+
t("div", H, [
|
|
122
|
+
l.assistantAvatarUrl ? (a(), s("img", {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: "chat-header__avatar",
|
|
125
|
+
src: l.assistantAvatarUrl,
|
|
126
|
+
alt: "",
|
|
127
|
+
"aria-hidden": "true"
|
|
128
|
+
}, null, 8, T)) : n("", !0),
|
|
129
|
+
t("div", D, [
|
|
130
|
+
t("p", K, k(l.title), 1),
|
|
131
|
+
o.value.length === 0 ? (a(), s("p", N, k(l.subtitle), 1)) : n("", !0)
|
|
132
|
+
])
|
|
133
|
+
]),
|
|
134
|
+
t("div", {
|
|
135
|
+
class: "chat-messages",
|
|
136
|
+
ref_key: "listEl",
|
|
137
|
+
ref: v
|
|
138
|
+
}, [
|
|
139
|
+
o.value.length === 0 ? (a(), s("p", R, "Send a message to get started.")) : n("", !0),
|
|
140
|
+
(a(!0), s(_, null, A(o.value, (i, x) => (a(), s("div", {
|
|
141
|
+
key: x,
|
|
142
|
+
class: M(["chat-message", `chat-message--${i.role}`])
|
|
143
|
+
}, [
|
|
144
|
+
i.role === "assistant" ? (a(), s("span", $, [
|
|
145
|
+
l.assistantAvatarUrl ? (a(), s("img", {
|
|
146
|
+
key: 0,
|
|
147
|
+
src: l.assistantAvatarUrl,
|
|
148
|
+
alt: "",
|
|
149
|
+
"aria-hidden": "true"
|
|
150
|
+
}, null, 8, q)) : (a(), s("svg", F, [...e[4] || (e[4] = [
|
|
151
|
+
t("path", {
|
|
152
|
+
d: "M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",
|
|
153
|
+
stroke: "currentColor",
|
|
154
|
+
"stroke-width": "2",
|
|
155
|
+
"stroke-linecap": "round",
|
|
156
|
+
"stroke-linejoin": "round"
|
|
157
|
+
}, null, -1)
|
|
158
|
+
])]))
|
|
159
|
+
])) : n("", !0),
|
|
160
|
+
t("p", O, k(i.content), 1),
|
|
161
|
+
i.role === "user" ? (a(), s("span", G, [
|
|
162
|
+
l.userAvatarUrl ? (a(), s("img", {
|
|
163
|
+
key: 0,
|
|
164
|
+
src: l.userAvatarUrl,
|
|
165
|
+
alt: "",
|
|
166
|
+
"aria-hidden": "true"
|
|
167
|
+
}, null, 8, I)) : (a(), s("svg", J, [...e[5] || (e[5] = [
|
|
168
|
+
t("circle", {
|
|
169
|
+
cx: "12",
|
|
170
|
+
cy: "8",
|
|
171
|
+
r: "4",
|
|
172
|
+
stroke: "currentColor",
|
|
173
|
+
"stroke-width": "2"
|
|
174
|
+
}, null, -1),
|
|
175
|
+
t("path", {
|
|
176
|
+
d: "M4 20c0-4 3.6-7 8-7s8 3 8 7",
|
|
177
|
+
stroke: "currentColor",
|
|
178
|
+
"stroke-width": "2",
|
|
179
|
+
"stroke-linecap": "round"
|
|
180
|
+
}, null, -1)
|
|
181
|
+
])]))
|
|
182
|
+
])) : n("", !0)
|
|
183
|
+
], 2))), 128)),
|
|
184
|
+
d.value === "sending" ? (a(), s("div", P, [
|
|
185
|
+
t("span", Q, [
|
|
186
|
+
l.assistantAvatarUrl ? (a(), s("img", {
|
|
187
|
+
key: 0,
|
|
188
|
+
src: l.assistantAvatarUrl,
|
|
189
|
+
alt: "",
|
|
190
|
+
"aria-hidden": "true"
|
|
191
|
+
}, null, 8, W)) : (a(), s("svg", X, [...e[6] || (e[6] = [
|
|
192
|
+
t("path", {
|
|
193
|
+
d: "M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z",
|
|
194
|
+
stroke: "currentColor",
|
|
195
|
+
"stroke-width": "2",
|
|
196
|
+
"stroke-linecap": "round",
|
|
197
|
+
"stroke-linejoin": "round"
|
|
198
|
+
}, null, -1)
|
|
199
|
+
])]))
|
|
200
|
+
]),
|
|
201
|
+
e[7] || (e[7] = t("span", { class: "chat-typing" }, [
|
|
202
|
+
t("span"),
|
|
203
|
+
t("span"),
|
|
204
|
+
t("span")
|
|
205
|
+
], -1))
|
|
206
|
+
])) : n("", !0)
|
|
207
|
+
], 512),
|
|
208
|
+
g.value ? (a(), s("div", Y, [
|
|
209
|
+
e[8] || (e[8] = t("p", { class: "chat-cta__text" }, "Ready to go deeper? Let's talk through your specific situation.", -1)),
|
|
210
|
+
t("a", {
|
|
211
|
+
class: "chat-cta__btn",
|
|
212
|
+
href: l.ctaUrl
|
|
213
|
+
}, k(l.ctaLabel), 9, Z)
|
|
214
|
+
])) : n("", !0),
|
|
215
|
+
g.value ? n("", !0) : (a(), s(_, { key: 1 }, [
|
|
216
|
+
t("div", tt, [
|
|
217
|
+
U(t("textarea", {
|
|
218
|
+
"onUpdate:modelValue": e[1] || (e[1] = (i) => u.value = i),
|
|
219
|
+
class: "chat-input",
|
|
220
|
+
rows: 1,
|
|
221
|
+
placeholder: l.placeholder,
|
|
222
|
+
disabled: d.value === "sending",
|
|
223
|
+
onKeydown: b
|
|
224
|
+
}, null, 40, et), [
|
|
225
|
+
[B, u.value]
|
|
226
|
+
]),
|
|
227
|
+
t("button", {
|
|
228
|
+
class: "chat-send",
|
|
229
|
+
disabled: !u.value.trim() || d.value === "sending",
|
|
230
|
+
"aria-label": "Send",
|
|
231
|
+
onClick: m
|
|
232
|
+
}, [...e[9] || (e[9] = [
|
|
233
|
+
t("svg", {
|
|
234
|
+
width: "18",
|
|
235
|
+
height: "18",
|
|
236
|
+
viewBox: "0 0 24 24",
|
|
237
|
+
fill: "none",
|
|
238
|
+
"aria-hidden": "true"
|
|
239
|
+
}, [
|
|
240
|
+
t("path", {
|
|
241
|
+
d: "M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z",
|
|
242
|
+
stroke: "currentColor",
|
|
243
|
+
"stroke-width": "2",
|
|
244
|
+
"stroke-linecap": "round",
|
|
245
|
+
"stroke-linejoin": "round"
|
|
246
|
+
})
|
|
247
|
+
], -1)
|
|
248
|
+
])], 8, at)
|
|
249
|
+
]),
|
|
250
|
+
d.value === "error" ? (a(), s("p", st, "Something went wrong — please try again.")) : n("", !0)
|
|
251
|
+
], 64))
|
|
252
|
+
], 8, j)) : n("", !0)
|
|
14
253
|
]));
|
|
15
254
|
}
|
|
16
255
|
});
|
|
17
256
|
export {
|
|
18
|
-
|
|
257
|
+
nt as default
|
|
19
258
|
};
|
package/dist/index20.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),r=["data-variant"],n=e.defineComponent({__name:"BaseCard",props:{featured:{type:Boolean,default:!1},variant:{default:"default"}},setup(a){return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["m2s2-card",{featured:a.featured}]),"data-variant":a.variant},[e.renderSlot(t.$slots,"default")],10,r))}});module.exports=n;
|
package/dist/index20.mjs
CHANGED
|
@@ -1,44 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const g = { class: "fc-header" }, h = ["innerHTML"], k = { class: "fc-title" }, y = { class: "fc-body" }, _ = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "fc-list"
|
|
7
|
-
}, C = {
|
|
8
|
-
key: 1,
|
|
9
|
-
class: "fc-note"
|
|
10
|
-
}, F = /* @__PURE__ */ f({
|
|
11
|
-
__name: "FeatureCard",
|
|
1
|
+
import { defineComponent as t, openBlock as r, createElementBlock as n, normalizeClass as d, renderSlot as o } from "vue";
|
|
2
|
+
const l = ["data-variant"], u = /* @__PURE__ */ t({
|
|
3
|
+
__name: "BaseCard",
|
|
12
4
|
props: {
|
|
13
|
-
|
|
5
|
+
featured: { type: Boolean, default: !1 },
|
|
6
|
+
variant: { default: "default" }
|
|
14
7
|
},
|
|
15
|
-
setup(
|
|
16
|
-
return (
|
|
17
|
-
featured:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
o("div", g, [
|
|
23
|
-
e.config.icon ? (t(), n("span", {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "fc-icon",
|
|
26
|
-
"aria-hidden": "true",
|
|
27
|
-
innerHTML: e.config.icon
|
|
28
|
-
}, null, 8, h)) : i("", !0),
|
|
29
|
-
o("h2", k, c(e.config.title), 1)
|
|
30
|
-
]),
|
|
31
|
-
o("p", y, c(e.config.body), 1),
|
|
32
|
-
(a = e.config.items) != null && a.length ? (t(), n("ul", _, [
|
|
33
|
-
(t(!0), n(d, null, u(e.config.items, (s) => (t(), n("li", { key: s }, c(s), 1))), 128))
|
|
34
|
-
])) : i("", !0),
|
|
35
|
-
e.config.note ? (t(), n("p", C, c(e.config.note), 1)) : i("", !0)
|
|
36
|
-
];
|
|
37
|
-
}),
|
|
38
|
-
_: 1
|
|
39
|
-
}, 8, ["featured"]));
|
|
8
|
+
setup(a) {
|
|
9
|
+
return (e, s) => (r(), n("div", {
|
|
10
|
+
class: d(["m2s2-card", { featured: a.featured }]),
|
|
11
|
+
"data-variant": a.variant
|
|
12
|
+
}, [
|
|
13
|
+
o(e.$slots, "default")
|
|
14
|
+
], 10, l));
|
|
40
15
|
}
|
|
41
16
|
});
|
|
42
17
|
export {
|
|
43
|
-
|
|
18
|
+
u as default
|
|
44
19
|
};
|
package/dist/index22.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),o=require("./index20.cjs");;/* empty css */const i={class:"fc-header"},l=["innerHTML"],r={class:"fc-title"},a={class:"fc-body"},s={key:0,class:"fc-list"},d={key:1,class:"fc-note"},u=e.defineComponent({__name:"FeatureCard",props:{config:{}},setup(t){return(f,m)=>(e.openBlock(),e.createBlock(o,{featured:t.config.featured??!1},{default:e.withCtx(()=>{var n;return[e.createElementVNode("div",i,[t.config.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:"fc-icon","aria-hidden":"true",innerHTML:t.config.icon},null,8,l)):e.createCommentVNode("",!0),e.createElementVNode("h2",r,e.toDisplayString(t.config.title),1)]),e.createElementVNode("p",a,e.toDisplayString(t.config.body),1),(n=t.config.items)!=null&&n.length?(e.openBlock(),e.createElementBlock("ul",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.items,c=>(e.openBlock(),e.createElementBlock("li",{key:c},e.toDisplayString(c),1))),128))])):e.createCommentVNode("",!0),t.config.note?(e.openBlock(),e.createElementBlock("p",d,e.toDisplayString(t.config.note),1)):e.createCommentVNode("",!0)]}),_:1},8,["featured"]))}});module.exports=u;
|