@pagelines/sdk 1.0.511 → 1.0.512
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/AgentProvider.vue_vue_type_script_setup_true_lang.js +371 -394
- package/dist/AgentProvider.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js +1104 -1076
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/agent/AgentController.d.ts +1 -0
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +8 -4
- package/dist/clients/ChatClient.d.ts +3 -0
- package/dist/contract/build.d.ts +3 -2
- package/dist/demo/index.d.ts +4 -2
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/dist/sdkClient.d.ts +28 -14
- package/dist/sdkClient.js +187 -171
- package/dist/sdkClient.js.map +1 -1
- package/dist/widget/composables/useWidgetState.d.ts +12 -6
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var xt = Object.defineProperty;
|
|
2
2
|
var o = (e, a) => xt(e, "name", { value: a, configurable: !0 });
|
|
3
|
-
import { defineComponent as W, openBlock as m, createBlock as
|
|
3
|
+
import { defineComponent as W, openBlock as m, createBlock as L, TransitionGroup as Xe, withCtx as F, renderSlot as me, ref as X, computed as A, watch as ze, createElementBlock as f, createElementVNode as b, toDisplayString as R, createCommentVNode as S, createVNode as I, withKeys as vt, createTextVNode as ge, resolveDynamicComponent as pt, normalizeClass as $, Fragment as J, renderList as Se, unref as B, onMounted as Je, Transition as Ne, withModifiers as Ae, normalizeStyle as Qe, shallowRef as kt, onUnmounted as yt, mergeProps as wt } from "vue";
|
|
4
4
|
import { S as oe } from "./socialPlatforms.js";
|
|
5
|
-
import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as
|
|
5
|
+
import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as Ge, p as At, g as ye, a as we, A as $t, _ as St } from "./AgentWrap.vue_vue_type_script_setup_true_lang.js";
|
|
6
6
|
import { getColorSchemeOklch as Mt } from "@pagelines/core";
|
|
7
7
|
const tt = [
|
|
8
8
|
{
|
|
@@ -32,11 +32,11 @@ const tt = [
|
|
|
32
32
|
mode: { default: "block" }
|
|
33
33
|
},
|
|
34
34
|
setup(e) {
|
|
35
|
-
return (a, t) => (m(),
|
|
35
|
+
return (a, t) => (m(), L(Xe, {
|
|
36
36
|
name: e.disabled ? "" : "nlist"
|
|
37
37
|
}, {
|
|
38
38
|
default: F(() => [
|
|
39
|
-
|
|
39
|
+
me(a.$slots, "default")
|
|
40
40
|
]),
|
|
41
41
|
_: 3
|
|
42
42
|
}, 8, ["name"]));
|
|
@@ -50,13 +50,13 @@ const tt = [
|
|
|
50
50
|
}, Rt = {
|
|
51
51
|
key: "code-field",
|
|
52
52
|
class: "w-full"
|
|
53
|
-
},
|
|
53
|
+
}, Le = /* @__PURE__ */ W({
|
|
54
54
|
__name: "ElAuthGate",
|
|
55
55
|
props: {
|
|
56
56
|
sdk: {}
|
|
57
57
|
},
|
|
58
58
|
setup(e) {
|
|
59
|
-
const a = X({ email: "", code: "" }), t = X("email"), r = X(!1),
|
|
59
|
+
const a = X({ email: "", code: "" }), t = X("email"), r = X(!1), i = {
|
|
60
60
|
email: {
|
|
61
61
|
title: "Enter Your Email",
|
|
62
62
|
button: { label: "Continue", disabled: /* @__PURE__ */ o(() => !a.value.email || r.value, "disabled") },
|
|
@@ -85,31 +85,31 @@ const tt = [
|
|
|
85
85
|
}
|
|
86
86
|
}, "action")
|
|
87
87
|
}
|
|
88
|
-
}, l = A(() =>
|
|
88
|
+
}, l = A(() => i[t.value]);
|
|
89
89
|
return ze(() => e.sdk.activeUser.value, (s) => {
|
|
90
90
|
s && t.value === "code" && console.log("[ElAuthGate] Authentication successful", { email: s.email });
|
|
91
|
-
}), (s,
|
|
91
|
+
}), (s, d) => (m(), f("div", {
|
|
92
92
|
"data-test": "auth-form",
|
|
93
93
|
"data-test-mode": t.value,
|
|
94
94
|
class: "flex flex-col items-center justify-center h-full p-6"
|
|
95
95
|
}, [
|
|
96
|
-
|
|
96
|
+
b("div", Tt, [
|
|
97
97
|
e.sdk.error.value ? (m(), f("p", Et, R(e.sdk.error.value), 1)) : S("", !0),
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
b("h3", Ot, R(l.value.title), 1),
|
|
99
|
+
b("div", jt, [
|
|
100
100
|
I(Vt, null, {
|
|
101
101
|
default: F(() => [
|
|
102
102
|
t.value === "email" ? (m(), f("div", Bt, [
|
|
103
103
|
I(Ct, {
|
|
104
104
|
modelValue: a.value.email,
|
|
105
|
-
"onUpdate:modelValue":
|
|
105
|
+
"onUpdate:modelValue": d[0] || (d[0] = (n) => a.value.email = n),
|
|
106
106
|
"data-test": "auth-email-input",
|
|
107
|
-
onKeyup:
|
|
107
|
+
onKeyup: vt(l.value.action, ["enter"])
|
|
108
108
|
}, null, 8, ["modelValue", "onKeyup"])
|
|
109
109
|
])) : (m(), f("div", Rt, [
|
|
110
110
|
I(zt, {
|
|
111
111
|
modelValue: a.value.code,
|
|
112
|
-
"onUpdate:modelValue":
|
|
112
|
+
"onUpdate:modelValue": d[1] || (d[1] = (n) => a.value.code = n),
|
|
113
113
|
length: 6,
|
|
114
114
|
"focus-first": !0,
|
|
115
115
|
"data-test": "auth-code-input",
|
|
@@ -130,14 +130,14 @@ const tt = [
|
|
|
130
130
|
onClick: l.value.action
|
|
131
131
|
}, {
|
|
132
132
|
default: F(() => [
|
|
133
|
-
|
|
133
|
+
ge(R(l.value.button.label), 1)
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["loading", "disabled", "onClick"]),
|
|
137
137
|
t.value === "code" ? (m(), f("button", {
|
|
138
138
|
key: 0,
|
|
139
139
|
class: "w-full text-xs text-white/50 hover:text-white/70 transition-colors py-2",
|
|
140
|
-
onClick:
|
|
140
|
+
onClick: d[2] || (d[2] = (n) => t.value = "email")
|
|
141
141
|
}, " Change Email ")) : S("", !0)
|
|
142
142
|
]))
|
|
143
143
|
]),
|
|
@@ -154,14 +154,14 @@ const tt = [
|
|
|
154
154
|
for (let r = 0; r < a.length; r++)
|
|
155
155
|
t[e.length + r] = a[r];
|
|
156
156
|
return t;
|
|
157
|
-
}, "concatArrays"),
|
|
157
|
+
}, "concatArrays"), Nt = /* @__PURE__ */ o((e, a) => ({
|
|
158
158
|
classGroupId: e,
|
|
159
159
|
validator: a
|
|
160
160
|
}), "createClassValidatorObject"), rt = /* @__PURE__ */ o((e = /* @__PURE__ */ new Map(), a = null, t) => ({
|
|
161
161
|
nextPart: e,
|
|
162
162
|
validators: a,
|
|
163
163
|
classGroupId: t
|
|
164
|
-
}), "createClassPartObject"), he = "-", Ue = [],
|
|
164
|
+
}), "createClassPartObject"), he = "-", Ue = [], Gt = "arbitrary..", Lt = /* @__PURE__ */ o((e) => {
|
|
165
165
|
const a = Ft(e), {
|
|
166
166
|
conflictingClassGroups: t,
|
|
167
167
|
conflictingClassGroupModifiers: r
|
|
@@ -170,13 +170,13 @@ const tt = [
|
|
|
170
170
|
getClassGroupId: /* @__PURE__ */ o((s) => {
|
|
171
171
|
if (s.startsWith("[") && s.endsWith("]"))
|
|
172
172
|
return Ut(s);
|
|
173
|
-
const
|
|
174
|
-
return ot(
|
|
173
|
+
const d = s.split(he), n = d[0] === "" && d.length > 1 ? 1 : 0;
|
|
174
|
+
return ot(d, n, a);
|
|
175
175
|
}, "getClassGroupId"),
|
|
176
|
-
getConflictingClassGroupIds: /* @__PURE__ */ o((s,
|
|
177
|
-
if (
|
|
178
|
-
const n = r[s],
|
|
179
|
-
return n ?
|
|
176
|
+
getConflictingClassGroupIds: /* @__PURE__ */ o((s, d) => {
|
|
177
|
+
if (d) {
|
|
178
|
+
const n = r[s], p = t[s];
|
|
179
|
+
return n ? p ? Pt(p, n) : n : p || Ue;
|
|
180
180
|
}
|
|
181
181
|
return t[s] || Ue;
|
|
182
182
|
}, "getConflictingClassGroupIds")
|
|
@@ -184,23 +184,23 @@ const tt = [
|
|
|
184
184
|
}, "createClassGroupUtils"), ot = /* @__PURE__ */ o((e, a, t) => {
|
|
185
185
|
if (e.length - a === 0)
|
|
186
186
|
return t.classGroupId;
|
|
187
|
-
const
|
|
187
|
+
const i = e[a], l = t.nextPart.get(i);
|
|
188
188
|
if (l) {
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
189
|
+
const p = ot(e, a + 1, l);
|
|
190
|
+
if (p) return p;
|
|
191
191
|
}
|
|
192
192
|
const s = t.validators;
|
|
193
193
|
if (s === null)
|
|
194
194
|
return;
|
|
195
|
-
const
|
|
196
|
-
for (let
|
|
197
|
-
const
|
|
198
|
-
if (
|
|
199
|
-
return
|
|
195
|
+
const d = a === 0 ? e.join(he) : e.slice(a).join(he), n = s.length;
|
|
196
|
+
for (let p = 0; p < n; p++) {
|
|
197
|
+
const x = s[p];
|
|
198
|
+
if (x.validator(d))
|
|
199
|
+
return x.classGroupId;
|
|
200
200
|
}
|
|
201
201
|
}, "getGroupRecursive"), Ut = /* @__PURE__ */ o((e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
202
202
|
const a = e.slice(1, -1), t = a.indexOf(":"), r = a.slice(0, t);
|
|
203
|
-
return r ?
|
|
203
|
+
return r ? Gt + r : void 0;
|
|
204
204
|
})(), "getGroupIdForArbitraryProperty"), Ft = /* @__PURE__ */ o((e) => {
|
|
205
205
|
const {
|
|
206
206
|
theme: a,
|
|
@@ -210,13 +210,13 @@ const tt = [
|
|
|
210
210
|
}, "createClassMap"), Wt = /* @__PURE__ */ o((e, a) => {
|
|
211
211
|
const t = rt();
|
|
212
212
|
for (const r in e) {
|
|
213
|
-
const
|
|
214
|
-
Me(
|
|
213
|
+
const i = e[r];
|
|
214
|
+
Me(i, t, r, a);
|
|
215
215
|
}
|
|
216
216
|
return t;
|
|
217
217
|
}, "processClassGroups"), Me = /* @__PURE__ */ o((e, a, t, r) => {
|
|
218
|
-
const
|
|
219
|
-
for (let l = 0; l <
|
|
218
|
+
const i = e.length;
|
|
219
|
+
for (let l = 0; l < i; l++) {
|
|
220
220
|
const s = e[l];
|
|
221
221
|
qt(s, a, t, r);
|
|
222
222
|
}
|
|
@@ -238,20 +238,20 @@ const tt = [
|
|
|
238
238
|
Me(e(r), a, t, r);
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
|
-
a.validators === null && (a.validators = []), a.validators.push(
|
|
241
|
+
a.validators === null && (a.validators = []), a.validators.push(Nt(t, e));
|
|
242
242
|
}, "processFunctionDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
|
|
243
|
-
const
|
|
243
|
+
const i = Object.entries(e), l = i.length;
|
|
244
244
|
for (let s = 0; s < l; s++) {
|
|
245
|
-
const [
|
|
246
|
-
Me(n, at(a,
|
|
245
|
+
const [d, n] = i[s];
|
|
246
|
+
Me(n, at(a, d), t, r);
|
|
247
247
|
}
|
|
248
248
|
}, "processObjectDefinition"), at = /* @__PURE__ */ o((e, a) => {
|
|
249
249
|
let t = e;
|
|
250
|
-
const r = a.split(he),
|
|
251
|
-
for (let l = 0; l <
|
|
250
|
+
const r = a.split(he), i = r.length;
|
|
251
|
+
for (let l = 0; l < i; l++) {
|
|
252
252
|
const s = r[l];
|
|
253
|
-
let
|
|
254
|
-
|
|
253
|
+
let d = t.nextPart.get(s);
|
|
254
|
+
d || (d = rt(), t.nextPart.set(s, d)), t = d;
|
|
255
255
|
}
|
|
256
256
|
return t;
|
|
257
257
|
}, "getPart"), Kt = /* @__PURE__ */ o((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"), Xt = /* @__PURE__ */ o((e) => {
|
|
@@ -263,7 +263,7 @@ const tt = [
|
|
|
263
263
|
}, "set")
|
|
264
264
|
};
|
|
265
265
|
let a = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
266
|
-
const
|
|
266
|
+
const i = /* @__PURE__ */ o((l, s) => {
|
|
267
267
|
t[l] = s, a++, a > e && (a = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
268
268
|
}, "update");
|
|
269
269
|
return {
|
|
@@ -272,42 +272,42 @@ const tt = [
|
|
|
272
272
|
if (s !== void 0)
|
|
273
273
|
return s;
|
|
274
274
|
if ((s = r[l]) !== void 0)
|
|
275
|
-
return
|
|
275
|
+
return i(l, s), s;
|
|
276
276
|
},
|
|
277
277
|
set(l, s) {
|
|
278
|
-
l in t ? t[l] = s :
|
|
278
|
+
l in t ? t[l] = s : i(l, s);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
}, "createLruCache"), $e = "!", Fe = ":", Jt = [], We = /* @__PURE__ */ o((e, a, t, r,
|
|
281
|
+
}, "createLruCache"), $e = "!", Fe = ":", Jt = [], We = /* @__PURE__ */ o((e, a, t, r, i) => ({
|
|
282
282
|
modifiers: e,
|
|
283
283
|
hasImportantModifier: a,
|
|
284
284
|
baseClassName: t,
|
|
285
285
|
maybePostfixModifierPosition: r,
|
|
286
|
-
isExternal:
|
|
286
|
+
isExternal: i
|
|
287
287
|
}), "createResultObject"), Qt = /* @__PURE__ */ o((e) => {
|
|
288
288
|
const {
|
|
289
289
|
prefix: a,
|
|
290
290
|
experimentalParseClassName: t
|
|
291
291
|
} = e;
|
|
292
|
-
let r = /* @__PURE__ */ o((
|
|
292
|
+
let r = /* @__PURE__ */ o((i) => {
|
|
293
293
|
const l = [];
|
|
294
|
-
let s = 0,
|
|
295
|
-
const
|
|
296
|
-
for (let
|
|
297
|
-
const T =
|
|
298
|
-
if (s === 0 &&
|
|
294
|
+
let s = 0, d = 0, n = 0, p;
|
|
295
|
+
const x = i.length;
|
|
296
|
+
for (let N = 0; N < x; N++) {
|
|
297
|
+
const T = i[N];
|
|
298
|
+
if (s === 0 && d === 0) {
|
|
299
299
|
if (T === Fe) {
|
|
300
|
-
l.push(
|
|
300
|
+
l.push(i.slice(n, N)), n = N + 1;
|
|
301
301
|
continue;
|
|
302
302
|
}
|
|
303
303
|
if (T === "/") {
|
|
304
|
-
|
|
304
|
+
p = N;
|
|
305
305
|
continue;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
T === "[" ? s++ : T === "]" ? s-- : T === "(" ?
|
|
308
|
+
T === "[" ? s++ : T === "]" ? s-- : T === "(" ? d++ : T === ")" && d--;
|
|
309
309
|
}
|
|
310
|
-
const w = l.length === 0 ?
|
|
310
|
+
const w = l.length === 0 ? i : i.slice(n);
|
|
311
311
|
let y = w, E = !1;
|
|
312
312
|
w.endsWith($e) ? (y = w.slice(0, -1), E = !0) : (
|
|
313
313
|
/**
|
|
@@ -316,18 +316,18 @@ const tt = [
|
|
|
316
316
|
*/
|
|
317
317
|
w.startsWith($e) && (y = w.slice(1), E = !0)
|
|
318
318
|
);
|
|
319
|
-
const P =
|
|
319
|
+
const P = p && p > n ? p - n : void 0;
|
|
320
320
|
return We(l, E, y, P);
|
|
321
321
|
}, "parseClassName");
|
|
322
322
|
if (a) {
|
|
323
|
-
const
|
|
324
|
-
r = /* @__PURE__ */ o((s) => s.startsWith(
|
|
323
|
+
const i = a + Fe, l = r;
|
|
324
|
+
r = /* @__PURE__ */ o((s) => s.startsWith(i) ? l(s.slice(i.length)) : We(Jt, !1, s, void 0, !0), "parseClassName");
|
|
325
325
|
}
|
|
326
326
|
if (t) {
|
|
327
|
-
const
|
|
327
|
+
const i = r;
|
|
328
328
|
r = /* @__PURE__ */ o((l) => t({
|
|
329
329
|
className: l,
|
|
330
|
-
parseClassName:
|
|
330
|
+
parseClassName: i
|
|
331
331
|
}), "parseClassName");
|
|
332
332
|
}
|
|
333
333
|
return r;
|
|
@@ -337,67 +337,67 @@ const tt = [
|
|
|
337
337
|
a.set(t, 1e6 + r);
|
|
338
338
|
}), (t) => {
|
|
339
339
|
const r = [];
|
|
340
|
-
let
|
|
340
|
+
let i = [];
|
|
341
341
|
for (let l = 0; l < t.length; l++) {
|
|
342
|
-
const s = t[l],
|
|
343
|
-
|
|
342
|
+
const s = t[l], d = s[0] === "[", n = a.has(s);
|
|
343
|
+
d || n ? (i.length > 0 && (i.sort(), r.push(...i), i = []), r.push(s)) : i.push(s);
|
|
344
344
|
}
|
|
345
|
-
return
|
|
345
|
+
return i.length > 0 && (i.sort(), r.push(...i)), r;
|
|
346
346
|
};
|
|
347
347
|
}, "createSortModifiers"), _t = /* @__PURE__ */ o((e) => ({
|
|
348
348
|
cache: Xt(e.cacheSize),
|
|
349
349
|
parseClassName: Qt(e),
|
|
350
350
|
sortModifiers: Zt(e),
|
|
351
|
-
...
|
|
351
|
+
...Lt(e)
|
|
352
352
|
}), "createConfigUtils"), er = /\s+/, tr = /* @__PURE__ */ o((e, a) => {
|
|
353
353
|
const {
|
|
354
354
|
parseClassName: t,
|
|
355
355
|
getClassGroupId: r,
|
|
356
|
-
getConflictingClassGroupIds:
|
|
356
|
+
getConflictingClassGroupIds: i,
|
|
357
357
|
sortModifiers: l
|
|
358
|
-
} = a, s = [],
|
|
358
|
+
} = a, s = [], d = e.trim().split(er);
|
|
359
359
|
let n = "";
|
|
360
|
-
for (let
|
|
361
|
-
const
|
|
360
|
+
for (let p = d.length - 1; p >= 0; p -= 1) {
|
|
361
|
+
const x = d[p], {
|
|
362
362
|
isExternal: w,
|
|
363
363
|
modifiers: y,
|
|
364
364
|
hasImportantModifier: E,
|
|
365
365
|
baseClassName: P,
|
|
366
|
-
maybePostfixModifierPosition:
|
|
367
|
-
} = t(
|
|
366
|
+
maybePostfixModifierPosition: N
|
|
367
|
+
} = t(x);
|
|
368
368
|
if (w) {
|
|
369
|
-
n =
|
|
369
|
+
n = x + (n.length > 0 ? " " + n : n);
|
|
370
370
|
continue;
|
|
371
371
|
}
|
|
372
|
-
let T = !!
|
|
372
|
+
let T = !!N, q = r(T ? P.substring(0, N) : P);
|
|
373
373
|
if (!q) {
|
|
374
374
|
if (!T) {
|
|
375
|
-
n =
|
|
375
|
+
n = x + (n.length > 0 ? " " + n : n);
|
|
376
376
|
continue;
|
|
377
377
|
}
|
|
378
378
|
if (q = r(P), !q) {
|
|
379
|
-
n =
|
|
379
|
+
n = x + (n.length > 0 ? " " + n : n);
|
|
380
380
|
continue;
|
|
381
381
|
}
|
|
382
382
|
T = !1;
|
|
383
383
|
}
|
|
384
|
-
const te = y.length === 0 ? "" : y.length === 1 ? y[0] : l(y).join(":"), C = E ? te + $e : te,
|
|
385
|
-
if (s.indexOf(
|
|
384
|
+
const te = y.length === 0 ? "" : y.length === 1 ? y[0] : l(y).join(":"), C = E ? te + $e : te, v = C + q;
|
|
385
|
+
if (s.indexOf(v) > -1)
|
|
386
386
|
continue;
|
|
387
|
-
s.push(
|
|
388
|
-
const z =
|
|
387
|
+
s.push(v);
|
|
388
|
+
const z = i(q, T);
|
|
389
389
|
for (let D = 0; D < z.length; ++D) {
|
|
390
390
|
const ae = z[D];
|
|
391
391
|
s.push(C + ae);
|
|
392
392
|
}
|
|
393
|
-
n =
|
|
393
|
+
n = x + (n.length > 0 ? " " + n : n);
|
|
394
394
|
}
|
|
395
395
|
return n;
|
|
396
396
|
}, "mergeClassList"), rr = /* @__PURE__ */ o((...e) => {
|
|
397
|
-
let a = 0, t, r,
|
|
397
|
+
let a = 0, t, r, i = "";
|
|
398
398
|
for (; a < e.length; )
|
|
399
|
-
(t = e[a++]) && (r = st(t)) && (
|
|
400
|
-
return
|
|
399
|
+
(t = e[a++]) && (r = st(t)) && (i && (i += " "), i += r);
|
|
400
|
+
return i;
|
|
401
401
|
}, "twJoin"), st = /* @__PURE__ */ o((e) => {
|
|
402
402
|
if (typeof e == "string")
|
|
403
403
|
return e;
|
|
@@ -406,16 +406,16 @@ const tt = [
|
|
|
406
406
|
e[r] && (a = st(e[r])) && (t && (t += " "), t += a);
|
|
407
407
|
return t;
|
|
408
408
|
}, "toValue"), or = /* @__PURE__ */ o((e, ...a) => {
|
|
409
|
-
let t, r,
|
|
409
|
+
let t, r, i, l;
|
|
410
410
|
const s = /* @__PURE__ */ o((n) => {
|
|
411
|
-
const
|
|
412
|
-
return t = _t(
|
|
413
|
-
}, "initTailwindMerge"),
|
|
414
|
-
const
|
|
415
|
-
if (
|
|
416
|
-
return
|
|
417
|
-
const
|
|
418
|
-
return
|
|
411
|
+
const p = a.reduce((x, w) => w(x), e());
|
|
412
|
+
return t = _t(p), r = t.cache.get, i = t.cache.set, l = d, d(n);
|
|
413
|
+
}, "initTailwindMerge"), d = /* @__PURE__ */ o((n) => {
|
|
414
|
+
const p = r(n);
|
|
415
|
+
if (p)
|
|
416
|
+
return p;
|
|
417
|
+
const x = tr(n, t);
|
|
418
|
+
return i(n, x), x;
|
|
419
419
|
}, "tailwindMerge");
|
|
420
420
|
return l = s, (...n) => l(rr(...n));
|
|
421
421
|
}, "createTailwindMerge"), ar = [], M = /* @__PURE__ */ o((e) => {
|
|
@@ -426,14 +426,14 @@ const tt = [
|
|
|
426
426
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
427
427
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
428
428
|
lr.test(e) && !ir.test(e)
|
|
429
|
-
), "isLengthOnly"), Ve = /* @__PURE__ */ o(() => !1, "isNever"), br = /* @__PURE__ */ o((e) => dr.test(e), "isShadow"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isImage"), gr = /* @__PURE__ */ o((e) => !
|
|
429
|
+
), "isLengthOnly"), Ve = /* @__PURE__ */ o(() => !1, "isNever"), br = /* @__PURE__ */ o((e) => dr.test(e), "isShadow"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isImage"), gr = /* @__PURE__ */ o((e) => !c(e) && !u(e), "isAnyNonArbitrary"), hr = /* @__PURE__ */ o((e) => Q(e, ut, Ve), "isArbitrarySize"), c = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), _ = /* @__PURE__ */ o((e) => Q(e, bt, ur), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => Q(e, Cr, k), "isArbitraryNumber"), fr = /* @__PURE__ */ o((e) => Q(e, gt, it), "isArbitraryWeight"), xr = /* @__PURE__ */ o((e) => Q(e, mt, Ve), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => Q(e, dt, Ve), "isArbitraryPosition"), vr = /* @__PURE__ */ o((e) => Q(e, ct, mr), "isArbitraryImage"), ue = /* @__PURE__ */ o((e) => Q(e, ht, br), "isArbitraryShadow"), u = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => ee(e, bt), "isArbitraryVariableLength"), pr = /* @__PURE__ */ o((e) => ee(e, mt), "isArbitraryVariableFamilyName"), Ye = /* @__PURE__ */ o((e) => ee(e, dt), "isArbitraryVariablePosition"), kr = /* @__PURE__ */ o((e) => ee(e, ut), "isArbitraryVariableSize"), yr = /* @__PURE__ */ o((e) => ee(e, ct), "isArbitraryVariableImage"), be = /* @__PURE__ */ o((e) => ee(e, ht, !0), "isArbitraryVariableShadow"), wr = /* @__PURE__ */ o((e) => ee(e, gt, !0), "isArbitraryVariableWeight"), Q = /* @__PURE__ */ o((e, a, t) => {
|
|
430
430
|
const r = nt.exec(e);
|
|
431
431
|
return r ? r[1] ? a(r[1]) : t(r[2]) : !1;
|
|
432
432
|
}, "getIsArbitraryValue"), ee = /* @__PURE__ */ o((e, a, t = !1) => {
|
|
433
433
|
const r = lt.exec(e);
|
|
434
434
|
return r ? r[1] ? a(r[1]) : t : !1;
|
|
435
435
|
}, "getIsArbitraryVariable"), dt = /* @__PURE__ */ o((e) => e === "position" || e === "percentage", "isLabelPosition"), ct = /* @__PURE__ */ o((e) => e === "image" || e === "url", "isLabelImage"), ut = /* @__PURE__ */ o((e) => e === "length" || e === "size" || e === "bg-size", "isLabelSize"), bt = /* @__PURE__ */ o((e) => e === "length", "isLabelLength"), Cr = /* @__PURE__ */ o((e) => e === "number", "isLabelNumber"), mt = /* @__PURE__ */ o((e) => e === "family-name", "isLabelFamilyName"), gt = /* @__PURE__ */ o((e) => e === "number" || e === "weight", "isLabelWeight"), ht = /* @__PURE__ */ o((e) => e === "shadow", "isLabelShadow"), zr = /* @__PURE__ */ o(() => {
|
|
436
|
-
const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"),
|
|
436
|
+
const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), i = M("tracking"), l = M("leading"), s = M("breakpoint"), d = M("container"), n = M("spacing"), p = M("radius"), x = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), E = M("drop-shadow"), P = M("blur"), N = M("perspective"), T = M("aspect"), q = M("ease"), te = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), v = /* @__PURE__ */ o(() => [
|
|
437
437
|
"center",
|
|
438
438
|
"top",
|
|
439
439
|
"bottom",
|
|
@@ -451,30 +451,30 @@ const tt = [
|
|
|
451
451
|
"bottom-left",
|
|
452
452
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
453
453
|
"left-bottom"
|
|
454
|
-
], "scalePosition"), z = /* @__PURE__ */ o(() => [...
|
|
455
|
-
span: ["full", K,
|
|
456
|
-
}, K,
|
|
457
|
-
position: [
|
|
454
|
+
], "scalePosition"), z = /* @__PURE__ */ o(() => [...v(), u, c], "scalePositionWithArbitrary"), D = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ae = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [u, c, n], "scaleUnambiguousSpacing"), G = /* @__PURE__ */ o(() => [H, "full", "auto", ...g()], "scaleInset"), Ie = /* @__PURE__ */ o(() => [K, "none", "subgrid", u, c], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
|
|
455
|
+
span: ["full", K, u, c]
|
|
456
|
+
}, K, u, c], "scaleGridColRowStartAndEnd"), ne = /* @__PURE__ */ o(() => [K, "auto", u, c], "scaleGridColRowStartOrEnd"), Ee = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", u, c], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), re = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), U = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), Z = /* @__PURE__ */ o(() => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), xe = /* @__PURE__ */ o(() => [H, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), ve = /* @__PURE__ */ o(() => [H, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), h = /* @__PURE__ */ o(() => [e, u, c], "scaleColor"), Oe = /* @__PURE__ */ o(() => [...v(), Ye, De, {
|
|
457
|
+
position: [u, c]
|
|
458
458
|
}], "scaleBgPosition"), je = /* @__PURE__ */ o(() => ["no-repeat", {
|
|
459
459
|
repeat: ["", "x", "y", "space", "round"]
|
|
460
460
|
}], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain", kr, hr, {
|
|
461
|
-
size: [
|
|
462
|
-
}], "scaleBgSize"),
|
|
461
|
+
size: [u, c]
|
|
462
|
+
}], "scaleBgSize"), pe = /* @__PURE__ */ o(() => [Ce, se, _], "scaleGradientStopPosition"), O = /* @__PURE__ */ o(() => [
|
|
463
463
|
// Deprecated since Tailwind CSS v4.0.0
|
|
464
464
|
"",
|
|
465
465
|
"none",
|
|
466
466
|
"full",
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
], "scaleRadius"), j = /* @__PURE__ */ o(() => ["", k, se, _], "scaleBorderWidth"),
|
|
467
|
+
p,
|
|
468
|
+
u,
|
|
469
|
+
c
|
|
470
|
+
], "scaleRadius"), j = /* @__PURE__ */ o(() => ["", k, se, _], "scaleBorderWidth"), le = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Re = /* @__PURE__ */ o(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), V = /* @__PURE__ */ o(() => [k, Ce, Ye, De], "scaleMaskImagePosition"), Pe = /* @__PURE__ */ o(() => [
|
|
471
471
|
// Deprecated since Tailwind CSS v4.0.0
|
|
472
472
|
"",
|
|
473
473
|
"none",
|
|
474
474
|
P,
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
], "scaleBlur"),
|
|
475
|
+
u,
|
|
476
|
+
c
|
|
477
|
+
], "scaleBlur"), ie = /* @__PURE__ */ o(() => ["none", k, u, c], "scaleRotate"), de = /* @__PURE__ */ o(() => ["none", k, u, c], "scaleScale"), ke = /* @__PURE__ */ o(() => [k, u, c], "scaleSkew"), ce = /* @__PURE__ */ o(() => [H, "full", ...g()], "scaleTranslate");
|
|
478
478
|
return {
|
|
479
479
|
cacheSize: 500,
|
|
480
480
|
theme: {
|
|
@@ -507,7 +507,7 @@ const tt = [
|
|
|
507
507
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
508
508
|
*/
|
|
509
509
|
aspect: [{
|
|
510
|
-
aspect: ["auto", "square", H,
|
|
510
|
+
aspect: ["auto", "square", H, c, u, T]
|
|
511
511
|
}],
|
|
512
512
|
/**
|
|
513
513
|
* Container
|
|
@@ -520,7 +520,7 @@ const tt = [
|
|
|
520
520
|
* @see https://tailwindcss.com/docs/columns
|
|
521
521
|
*/
|
|
522
522
|
columns: [{
|
|
523
|
-
columns: [k,
|
|
523
|
+
columns: [k, c, u, d]
|
|
524
524
|
}],
|
|
525
525
|
/**
|
|
526
526
|
* Break After
|
|
@@ -652,21 +652,21 @@ const tt = [
|
|
|
652
652
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
653
653
|
*/
|
|
654
654
|
inset: [{
|
|
655
|
-
inset:
|
|
655
|
+
inset: G()
|
|
656
656
|
}],
|
|
657
657
|
/**
|
|
658
658
|
* Inset Inline
|
|
659
659
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
660
660
|
*/
|
|
661
661
|
"inset-x": [{
|
|
662
|
-
"inset-x":
|
|
662
|
+
"inset-x": G()
|
|
663
663
|
}],
|
|
664
664
|
/**
|
|
665
665
|
* Inset Block
|
|
666
666
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
667
667
|
*/
|
|
668
668
|
"inset-y": [{
|
|
669
|
-
"inset-y":
|
|
669
|
+
"inset-y": G()
|
|
670
670
|
}],
|
|
671
671
|
/**
|
|
672
672
|
* Inset Inline Start
|
|
@@ -674,12 +674,12 @@ const tt = [
|
|
|
674
674
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
675
675
|
*/
|
|
676
676
|
start: [{
|
|
677
|
-
"inset-s":
|
|
677
|
+
"inset-s": G(),
|
|
678
678
|
/**
|
|
679
679
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
680
680
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
681
681
|
*/
|
|
682
|
-
start:
|
|
682
|
+
start: G()
|
|
683
683
|
}],
|
|
684
684
|
/**
|
|
685
685
|
* Inset Inline End
|
|
@@ -687,54 +687,54 @@ const tt = [
|
|
|
687
687
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
688
688
|
*/
|
|
689
689
|
end: [{
|
|
690
|
-
"inset-e":
|
|
690
|
+
"inset-e": G(),
|
|
691
691
|
/**
|
|
692
692
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
693
693
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
694
694
|
*/
|
|
695
|
-
end:
|
|
695
|
+
end: G()
|
|
696
696
|
}],
|
|
697
697
|
/**
|
|
698
698
|
* Inset Block Start
|
|
699
699
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
700
700
|
*/
|
|
701
701
|
"inset-bs": [{
|
|
702
|
-
"inset-bs":
|
|
702
|
+
"inset-bs": G()
|
|
703
703
|
}],
|
|
704
704
|
/**
|
|
705
705
|
* Inset Block End
|
|
706
706
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
707
707
|
*/
|
|
708
708
|
"inset-be": [{
|
|
709
|
-
"inset-be":
|
|
709
|
+
"inset-be": G()
|
|
710
710
|
}],
|
|
711
711
|
/**
|
|
712
712
|
* Top
|
|
713
713
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
714
714
|
*/
|
|
715
715
|
top: [{
|
|
716
|
-
top:
|
|
716
|
+
top: G()
|
|
717
717
|
}],
|
|
718
718
|
/**
|
|
719
719
|
* Right
|
|
720
720
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
721
721
|
*/
|
|
722
722
|
right: [{
|
|
723
|
-
right:
|
|
723
|
+
right: G()
|
|
724
724
|
}],
|
|
725
725
|
/**
|
|
726
726
|
* Bottom
|
|
727
727
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
728
728
|
*/
|
|
729
729
|
bottom: [{
|
|
730
|
-
bottom:
|
|
730
|
+
bottom: G()
|
|
731
731
|
}],
|
|
732
732
|
/**
|
|
733
733
|
* Left
|
|
734
734
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
735
735
|
*/
|
|
736
736
|
left: [{
|
|
737
|
-
left:
|
|
737
|
+
left: G()
|
|
738
738
|
}],
|
|
739
739
|
/**
|
|
740
740
|
* Visibility
|
|
@@ -746,7 +746,7 @@ const tt = [
|
|
|
746
746
|
* @see https://tailwindcss.com/docs/z-index
|
|
747
747
|
*/
|
|
748
748
|
z: [{
|
|
749
|
-
z: [K, "auto",
|
|
749
|
+
z: [K, "auto", u, c]
|
|
750
750
|
}],
|
|
751
751
|
// ------------------------
|
|
752
752
|
// --- Flexbox and Grid ---
|
|
@@ -756,7 +756,7 @@ const tt = [
|
|
|
756
756
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
757
757
|
*/
|
|
758
758
|
basis: [{
|
|
759
|
-
basis: [H, "full", "auto",
|
|
759
|
+
basis: [H, "full", "auto", d, ...g()]
|
|
760
760
|
}],
|
|
761
761
|
/**
|
|
762
762
|
* Flex Direction
|
|
@@ -777,28 +777,28 @@ const tt = [
|
|
|
777
777
|
* @see https://tailwindcss.com/docs/flex
|
|
778
778
|
*/
|
|
779
779
|
flex: [{
|
|
780
|
-
flex: [k, H, "auto", "initial", "none",
|
|
780
|
+
flex: [k, H, "auto", "initial", "none", c]
|
|
781
781
|
}],
|
|
782
782
|
/**
|
|
783
783
|
* Flex Grow
|
|
784
784
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
785
785
|
*/
|
|
786
786
|
grow: [{
|
|
787
|
-
grow: ["", k,
|
|
787
|
+
grow: ["", k, u, c]
|
|
788
788
|
}],
|
|
789
789
|
/**
|
|
790
790
|
* Flex Shrink
|
|
791
791
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
792
792
|
*/
|
|
793
793
|
shrink: [{
|
|
794
|
-
shrink: ["", k,
|
|
794
|
+
shrink: ["", k, u, c]
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Order
|
|
798
798
|
* @see https://tailwindcss.com/docs/order
|
|
799
799
|
*/
|
|
800
800
|
order: [{
|
|
801
|
-
order: [K, "first", "last", "none",
|
|
801
|
+
order: [K, "first", "last", "none", u, c]
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Grid Template Columns
|
|
@@ -819,14 +819,14 @@ const tt = [
|
|
|
819
819
|
* @see https://tailwindcss.com/docs/grid-column
|
|
820
820
|
*/
|
|
821
821
|
"col-start": [{
|
|
822
|
-
"col-start":
|
|
822
|
+
"col-start": ne()
|
|
823
823
|
}],
|
|
824
824
|
/**
|
|
825
825
|
* Grid Column End
|
|
826
826
|
* @see https://tailwindcss.com/docs/grid-column
|
|
827
827
|
*/
|
|
828
828
|
"col-end": [{
|
|
829
|
-
"col-end":
|
|
829
|
+
"col-end": ne()
|
|
830
830
|
}],
|
|
831
831
|
/**
|
|
832
832
|
* Grid Template Rows
|
|
@@ -847,14 +847,14 @@ const tt = [
|
|
|
847
847
|
* @see https://tailwindcss.com/docs/grid-row
|
|
848
848
|
*/
|
|
849
849
|
"row-start": [{
|
|
850
|
-
"row-start":
|
|
850
|
+
"row-start": ne()
|
|
851
851
|
}],
|
|
852
852
|
/**
|
|
853
853
|
* Grid Row End
|
|
854
854
|
* @see https://tailwindcss.com/docs/grid-row
|
|
855
855
|
*/
|
|
856
856
|
"row-end": [{
|
|
857
|
-
"row-end":
|
|
857
|
+
"row-end": ne()
|
|
858
858
|
}],
|
|
859
859
|
/**
|
|
860
860
|
* Grid Auto Flow
|
|
@@ -1180,28 +1180,28 @@ const tt = [
|
|
|
1180
1180
|
* @see https://tailwindcss.com/docs/height
|
|
1181
1181
|
*/
|
|
1182
1182
|
"block-size": [{
|
|
1183
|
-
block: ["auto", ...
|
|
1183
|
+
block: ["auto", ...ve()]
|
|
1184
1184
|
}],
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Min-Block Size
|
|
1187
1187
|
* @see https://tailwindcss.com/docs/min-height
|
|
1188
1188
|
*/
|
|
1189
1189
|
"min-block-size": [{
|
|
1190
|
-
"min-block": ["auto", ...
|
|
1190
|
+
"min-block": ["auto", ...ve()]
|
|
1191
1191
|
}],
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Max-Block Size
|
|
1194
1194
|
* @see https://tailwindcss.com/docs/max-height
|
|
1195
1195
|
*/
|
|
1196
1196
|
"max-block-size": [{
|
|
1197
|
-
"max-block": ["none", ...
|
|
1197
|
+
"max-block": ["none", ...ve()]
|
|
1198
1198
|
}],
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Width
|
|
1201
1201
|
* @see https://tailwindcss.com/docs/width
|
|
1202
1202
|
*/
|
|
1203
1203
|
w: [{
|
|
1204
|
-
w: [
|
|
1204
|
+
w: [d, "screen", ...Z()]
|
|
1205
1205
|
}],
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Min-Width
|
|
@@ -1209,7 +1209,7 @@ const tt = [
|
|
|
1209
1209
|
*/
|
|
1210
1210
|
"min-w": [{
|
|
1211
1211
|
"min-w": [
|
|
1212
|
-
|
|
1212
|
+
d,
|
|
1213
1213
|
"screen",
|
|
1214
1214
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1215
1215
|
"none",
|
|
@@ -1222,7 +1222,7 @@ const tt = [
|
|
|
1222
1222
|
*/
|
|
1223
1223
|
"max-w": [{
|
|
1224
1224
|
"max-w": [
|
|
1225
|
-
|
|
1225
|
+
d,
|
|
1226
1226
|
"screen",
|
|
1227
1227
|
"none",
|
|
1228
1228
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1287,21 +1287,21 @@ const tt = [
|
|
|
1287
1287
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1288
1288
|
*/
|
|
1289
1289
|
"font-stretch": [{
|
|
1290
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce,
|
|
1290
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, c]
|
|
1291
1291
|
}],
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Font Family
|
|
1294
1294
|
* @see https://tailwindcss.com/docs/font-family
|
|
1295
1295
|
*/
|
|
1296
1296
|
"font-family": [{
|
|
1297
|
-
font: [
|
|
1297
|
+
font: [pr, xr, a]
|
|
1298
1298
|
}],
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Font Feature Settings
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1302
1302
|
*/
|
|
1303
1303
|
"font-features": [{
|
|
1304
|
-
"font-features": [
|
|
1304
|
+
"font-features": [c]
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Font Variant Numeric
|
|
@@ -1338,14 +1338,14 @@ const tt = [
|
|
|
1338
1338
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1339
1339
|
*/
|
|
1340
1340
|
tracking: [{
|
|
1341
|
-
tracking: [
|
|
1341
|
+
tracking: [i, u, c]
|
|
1342
1342
|
}],
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Line Clamp
|
|
1345
1345
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1346
1346
|
*/
|
|
1347
1347
|
"line-clamp": [{
|
|
1348
|
-
"line-clamp": [k, "none",
|
|
1348
|
+
"line-clamp": [k, "none", u, qe]
|
|
1349
1349
|
}],
|
|
1350
1350
|
/**
|
|
1351
1351
|
* Line Height
|
|
@@ -1363,7 +1363,7 @@ const tt = [
|
|
|
1363
1363
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1364
1364
|
*/
|
|
1365
1365
|
"list-image": [{
|
|
1366
|
-
"list-image": ["none",
|
|
1366
|
+
"list-image": ["none", u, c]
|
|
1367
1367
|
}],
|
|
1368
1368
|
/**
|
|
1369
1369
|
* List Style Position
|
|
@@ -1377,7 +1377,7 @@ const tt = [
|
|
|
1377
1377
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1378
1378
|
*/
|
|
1379
1379
|
"list-style-type": [{
|
|
1380
|
-
list: ["disc", "decimal", "none",
|
|
1380
|
+
list: ["disc", "decimal", "none", u, c]
|
|
1381
1381
|
}],
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Text Alignment
|
|
@@ -1411,14 +1411,14 @@ const tt = [
|
|
|
1411
1411
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1412
1412
|
*/
|
|
1413
1413
|
"text-decoration-style": [{
|
|
1414
|
-
decoration: [...
|
|
1414
|
+
decoration: [...le(), "wavy"]
|
|
1415
1415
|
}],
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Text Decoration Thickness
|
|
1418
1418
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1419
1419
|
*/
|
|
1420
1420
|
"text-decoration-thickness": [{
|
|
1421
|
-
decoration: [k, "from-font", "auto",
|
|
1421
|
+
decoration: [k, "from-font", "auto", u, _]
|
|
1422
1422
|
}],
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Text Decoration Color
|
|
@@ -1432,7 +1432,7 @@ const tt = [
|
|
|
1432
1432
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1433
1433
|
*/
|
|
1434
1434
|
"underline-offset": [{
|
|
1435
|
-
"underline-offset": [k, "auto",
|
|
1435
|
+
"underline-offset": [k, "auto", u, c]
|
|
1436
1436
|
}],
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Text Transform
|
|
@@ -1463,7 +1463,7 @@ const tt = [
|
|
|
1463
1463
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1464
1464
|
*/
|
|
1465
1465
|
"vertical-align": [{
|
|
1466
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1466
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", u, c]
|
|
1467
1467
|
}],
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Whitespace
|
|
@@ -1498,7 +1498,7 @@ const tt = [
|
|
|
1498
1498
|
* @see https://tailwindcss.com/docs/content
|
|
1499
1499
|
*/
|
|
1500
1500
|
content: [{
|
|
1501
|
-
content: ["none",
|
|
1501
|
+
content: ["none", u, c]
|
|
1502
1502
|
}],
|
|
1503
1503
|
// -------------------
|
|
1504
1504
|
// --- Backgrounds ---
|
|
@@ -1553,10 +1553,10 @@ const tt = [
|
|
|
1553
1553
|
bg: ["none", {
|
|
1554
1554
|
linear: [{
|
|
1555
1555
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1556
|
-
}, K,
|
|
1557
|
-
radial: ["",
|
|
1558
|
-
conic: [K,
|
|
1559
|
-
}, yr,
|
|
1556
|
+
}, K, u, c],
|
|
1557
|
+
radial: ["", u, c],
|
|
1558
|
+
conic: [K, u, c]
|
|
1559
|
+
}, yr, vr]
|
|
1560
1560
|
}],
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Background Color
|
|
@@ -1570,21 +1570,21 @@ const tt = [
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1571
1571
|
*/
|
|
1572
1572
|
"gradient-from-pos": [{
|
|
1573
|
-
from:
|
|
1573
|
+
from: pe()
|
|
1574
1574
|
}],
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Gradient Color Stops Via Position
|
|
1577
1577
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1578
1578
|
*/
|
|
1579
1579
|
"gradient-via-pos": [{
|
|
1580
|
-
via:
|
|
1580
|
+
via: pe()
|
|
1581
1581
|
}],
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Gradient Color Stops To Position
|
|
1584
1584
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1585
1585
|
*/
|
|
1586
1586
|
"gradient-to-pos": [{
|
|
1587
|
-
to:
|
|
1587
|
+
to: pe()
|
|
1588
1588
|
}],
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Gradient Color Stops From
|
|
@@ -1821,14 +1821,14 @@ const tt = [
|
|
|
1821
1821
|
* @see https://tailwindcss.com/docs/border-style
|
|
1822
1822
|
*/
|
|
1823
1823
|
"border-style": [{
|
|
1824
|
-
border: [...
|
|
1824
|
+
border: [...le(), "hidden", "none"]
|
|
1825
1825
|
}],
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Divide Style
|
|
1828
1828
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1829
1829
|
*/
|
|
1830
1830
|
"divide-style": [{
|
|
1831
|
-
divide: [...
|
|
1831
|
+
divide: [...le(), "hidden", "none"]
|
|
1832
1832
|
}],
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Border Color
|
|
@@ -1919,14 +1919,14 @@ const tt = [
|
|
|
1919
1919
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1920
1920
|
*/
|
|
1921
1921
|
"outline-style": [{
|
|
1922
|
-
outline: [...
|
|
1922
|
+
outline: [...le(), "none", "hidden"]
|
|
1923
1923
|
}],
|
|
1924
1924
|
/**
|
|
1925
1925
|
* Outline Offset
|
|
1926
1926
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1927
1927
|
*/
|
|
1928
1928
|
"outline-offset": [{
|
|
1929
|
-
"outline-offset": [k,
|
|
1929
|
+
"outline-offset": [k, u, c]
|
|
1930
1930
|
}],
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Outline Width
|
|
@@ -1954,9 +1954,9 @@ const tt = [
|
|
|
1954
1954
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1955
1955
|
"",
|
|
1956
1956
|
"none",
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1957
|
+
x,
|
|
1958
|
+
be,
|
|
1959
|
+
ue
|
|
1960
1960
|
]
|
|
1961
1961
|
}],
|
|
1962
1962
|
/**
|
|
@@ -1971,7 +1971,7 @@ const tt = [
|
|
|
1971
1971
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1972
1972
|
*/
|
|
1973
1973
|
"inset-shadow": [{
|
|
1974
|
-
"inset-shadow": ["none", w,
|
|
1974
|
+
"inset-shadow": ["none", w, be, ue]
|
|
1975
1975
|
}],
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Inset Box Shadow Color
|
|
@@ -2038,7 +2038,7 @@ const tt = [
|
|
|
2038
2038
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2039
2039
|
*/
|
|
2040
2040
|
"text-shadow": [{
|
|
2041
|
-
"text-shadow": ["none", y,
|
|
2041
|
+
"text-shadow": ["none", y, be, ue]
|
|
2042
2042
|
}],
|
|
2043
2043
|
/**
|
|
2044
2044
|
* Text Shadow Color
|
|
@@ -2052,7 +2052,7 @@ const tt = [
|
|
|
2052
2052
|
* @see https://tailwindcss.com/docs/opacity
|
|
2053
2053
|
*/
|
|
2054
2054
|
opacity: [{
|
|
2055
|
-
opacity: [k,
|
|
2055
|
+
opacity: [k, u, c]
|
|
2056
2056
|
}],
|
|
2057
2057
|
/**
|
|
2058
2058
|
* Mix Blend Mode
|
|
@@ -2174,7 +2174,7 @@ const tt = [
|
|
|
2174
2174
|
"mask-y-to": h()
|
|
2175
2175
|
}],
|
|
2176
2176
|
"mask-image-radial": [{
|
|
2177
|
-
"mask-radial": [
|
|
2177
|
+
"mask-radial": [u, c]
|
|
2178
2178
|
}],
|
|
2179
2179
|
"mask-image-radial-from-pos": [{
|
|
2180
2180
|
"mask-radial-from": V()
|
|
@@ -2198,7 +2198,7 @@ const tt = [
|
|
|
2198
2198
|
}]
|
|
2199
2199
|
}],
|
|
2200
2200
|
"mask-image-radial-pos": [{
|
|
2201
|
-
"mask-radial-at":
|
|
2201
|
+
"mask-radial-at": v()
|
|
2202
2202
|
}],
|
|
2203
2203
|
"mask-image-conic-pos": [{
|
|
2204
2204
|
"mask-conic": [k]
|
|
@@ -2262,7 +2262,7 @@ const tt = [
|
|
|
2262
2262
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2263
2263
|
*/
|
|
2264
2264
|
"mask-image": [{
|
|
2265
|
-
mask: ["none",
|
|
2265
|
+
mask: ["none", u, c]
|
|
2266
2266
|
}],
|
|
2267
2267
|
// ---------------
|
|
2268
2268
|
// --- Filters ---
|
|
@@ -2276,8 +2276,8 @@ const tt = [
|
|
|
2276
2276
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2277
2277
|
"",
|
|
2278
2278
|
"none",
|
|
2279
|
-
|
|
2280
|
-
|
|
2279
|
+
u,
|
|
2280
|
+
c
|
|
2281
2281
|
]
|
|
2282
2282
|
}],
|
|
2283
2283
|
/**
|
|
@@ -2292,14 +2292,14 @@ const tt = [
|
|
|
2292
2292
|
* @see https://tailwindcss.com/docs/brightness
|
|
2293
2293
|
*/
|
|
2294
2294
|
brightness: [{
|
|
2295
|
-
brightness: [k,
|
|
2295
|
+
brightness: [k, u, c]
|
|
2296
2296
|
}],
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Contrast
|
|
2299
2299
|
* @see https://tailwindcss.com/docs/contrast
|
|
2300
2300
|
*/
|
|
2301
2301
|
contrast: [{
|
|
2302
|
-
contrast: [k,
|
|
2302
|
+
contrast: [k, u, c]
|
|
2303
2303
|
}],
|
|
2304
2304
|
/**
|
|
2305
2305
|
* Drop Shadow
|
|
@@ -2311,8 +2311,8 @@ const tt = [
|
|
|
2311
2311
|
"",
|
|
2312
2312
|
"none",
|
|
2313
2313
|
E,
|
|
2314
|
-
|
|
2315
|
-
|
|
2314
|
+
be,
|
|
2315
|
+
ue
|
|
2316
2316
|
]
|
|
2317
2317
|
}],
|
|
2318
2318
|
/**
|
|
@@ -2327,35 +2327,35 @@ const tt = [
|
|
|
2327
2327
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2328
2328
|
*/
|
|
2329
2329
|
grayscale: [{
|
|
2330
|
-
grayscale: ["", k,
|
|
2330
|
+
grayscale: ["", k, u, c]
|
|
2331
2331
|
}],
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Hue Rotate
|
|
2334
2334
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2335
2335
|
*/
|
|
2336
2336
|
"hue-rotate": [{
|
|
2337
|
-
"hue-rotate": [k,
|
|
2337
|
+
"hue-rotate": [k, u, c]
|
|
2338
2338
|
}],
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Invert
|
|
2341
2341
|
* @see https://tailwindcss.com/docs/invert
|
|
2342
2342
|
*/
|
|
2343
2343
|
invert: [{
|
|
2344
|
-
invert: ["", k,
|
|
2344
|
+
invert: ["", k, u, c]
|
|
2345
2345
|
}],
|
|
2346
2346
|
/**
|
|
2347
2347
|
* Saturate
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/saturate
|
|
2349
2349
|
*/
|
|
2350
2350
|
saturate: [{
|
|
2351
|
-
saturate: [k,
|
|
2351
|
+
saturate: [k, u, c]
|
|
2352
2352
|
}],
|
|
2353
2353
|
/**
|
|
2354
2354
|
* Sepia
|
|
2355
2355
|
* @see https://tailwindcss.com/docs/sepia
|
|
2356
2356
|
*/
|
|
2357
2357
|
sepia: [{
|
|
2358
|
-
sepia: ["", k,
|
|
2358
|
+
sepia: ["", k, u, c]
|
|
2359
2359
|
}],
|
|
2360
2360
|
/**
|
|
2361
2361
|
* Backdrop Filter
|
|
@@ -2366,8 +2366,8 @@ const tt = [
|
|
|
2366
2366
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2367
2367
|
"",
|
|
2368
2368
|
"none",
|
|
2369
|
-
|
|
2370
|
-
|
|
2369
|
+
u,
|
|
2370
|
+
c
|
|
2371
2371
|
]
|
|
2372
2372
|
}],
|
|
2373
2373
|
/**
|
|
@@ -2382,56 +2382,56 @@ const tt = [
|
|
|
2382
2382
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2383
2383
|
*/
|
|
2384
2384
|
"backdrop-brightness": [{
|
|
2385
|
-
"backdrop-brightness": [k,
|
|
2385
|
+
"backdrop-brightness": [k, u, c]
|
|
2386
2386
|
}],
|
|
2387
2387
|
/**
|
|
2388
2388
|
* Backdrop Contrast
|
|
2389
2389
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2390
2390
|
*/
|
|
2391
2391
|
"backdrop-contrast": [{
|
|
2392
|
-
"backdrop-contrast": [k,
|
|
2392
|
+
"backdrop-contrast": [k, u, c]
|
|
2393
2393
|
}],
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Backdrop Grayscale
|
|
2396
2396
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2397
2397
|
*/
|
|
2398
2398
|
"backdrop-grayscale": [{
|
|
2399
|
-
"backdrop-grayscale": ["", k,
|
|
2399
|
+
"backdrop-grayscale": ["", k, u, c]
|
|
2400
2400
|
}],
|
|
2401
2401
|
/**
|
|
2402
2402
|
* Backdrop Hue Rotate
|
|
2403
2403
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2404
2404
|
*/
|
|
2405
2405
|
"backdrop-hue-rotate": [{
|
|
2406
|
-
"backdrop-hue-rotate": [k,
|
|
2406
|
+
"backdrop-hue-rotate": [k, u, c]
|
|
2407
2407
|
}],
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Backdrop Invert
|
|
2410
2410
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2411
2411
|
*/
|
|
2412
2412
|
"backdrop-invert": [{
|
|
2413
|
-
"backdrop-invert": ["", k,
|
|
2413
|
+
"backdrop-invert": ["", k, u, c]
|
|
2414
2414
|
}],
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Backdrop Opacity
|
|
2417
2417
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2418
2418
|
*/
|
|
2419
2419
|
"backdrop-opacity": [{
|
|
2420
|
-
"backdrop-opacity": [k,
|
|
2420
|
+
"backdrop-opacity": [k, u, c]
|
|
2421
2421
|
}],
|
|
2422
2422
|
/**
|
|
2423
2423
|
* Backdrop Saturate
|
|
2424
2424
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2425
2425
|
*/
|
|
2426
2426
|
"backdrop-saturate": [{
|
|
2427
|
-
"backdrop-saturate": [k,
|
|
2427
|
+
"backdrop-saturate": [k, u, c]
|
|
2428
2428
|
}],
|
|
2429
2429
|
/**
|
|
2430
2430
|
* Backdrop Sepia
|
|
2431
2431
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2432
2432
|
*/
|
|
2433
2433
|
"backdrop-sepia": [{
|
|
2434
|
-
"backdrop-sepia": ["", k,
|
|
2434
|
+
"backdrop-sepia": ["", k, u, c]
|
|
2435
2435
|
}],
|
|
2436
2436
|
// --------------
|
|
2437
2437
|
// --- Tables ---
|
|
@@ -2486,7 +2486,7 @@ const tt = [
|
|
|
2486
2486
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2487
2487
|
*/
|
|
2488
2488
|
transition: [{
|
|
2489
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2489
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", u, c]
|
|
2490
2490
|
}],
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Transition Behavior
|
|
@@ -2500,28 +2500,28 @@ const tt = [
|
|
|
2500
2500
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2501
2501
|
*/
|
|
2502
2502
|
duration: [{
|
|
2503
|
-
duration: [k, "initial",
|
|
2503
|
+
duration: [k, "initial", u, c]
|
|
2504
2504
|
}],
|
|
2505
2505
|
/**
|
|
2506
2506
|
* Transition Timing Function
|
|
2507
2507
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2508
2508
|
*/
|
|
2509
2509
|
ease: [{
|
|
2510
|
-
ease: ["linear", "initial", q,
|
|
2510
|
+
ease: ["linear", "initial", q, u, c]
|
|
2511
2511
|
}],
|
|
2512
2512
|
/**
|
|
2513
2513
|
* Transition Delay
|
|
2514
2514
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2515
2515
|
*/
|
|
2516
2516
|
delay: [{
|
|
2517
|
-
delay: [k,
|
|
2517
|
+
delay: [k, u, c]
|
|
2518
2518
|
}],
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Animation
|
|
2521
2521
|
* @see https://tailwindcss.com/docs/animation
|
|
2522
2522
|
*/
|
|
2523
2523
|
animate: [{
|
|
2524
|
-
animate: ["none", te,
|
|
2524
|
+
animate: ["none", te, u, c]
|
|
2525
2525
|
}],
|
|
2526
2526
|
// ------------------
|
|
2527
2527
|
// --- Transforms ---
|
|
@@ -2538,7 +2538,7 @@ const tt = [
|
|
|
2538
2538
|
* @see https://tailwindcss.com/docs/perspective
|
|
2539
2539
|
*/
|
|
2540
2540
|
perspective: [{
|
|
2541
|
-
perspective: [
|
|
2541
|
+
perspective: [N, u, c]
|
|
2542
2542
|
}],
|
|
2543
2543
|
/**
|
|
2544
2544
|
* Perspective Origin
|
|
@@ -2552,56 +2552,56 @@ const tt = [
|
|
|
2552
2552
|
* @see https://tailwindcss.com/docs/rotate
|
|
2553
2553
|
*/
|
|
2554
2554
|
rotate: [{
|
|
2555
|
-
rotate:
|
|
2555
|
+
rotate: ie()
|
|
2556
2556
|
}],
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Rotate X
|
|
2559
2559
|
* @see https://tailwindcss.com/docs/rotate
|
|
2560
2560
|
*/
|
|
2561
2561
|
"rotate-x": [{
|
|
2562
|
-
"rotate-x":
|
|
2562
|
+
"rotate-x": ie()
|
|
2563
2563
|
}],
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Rotate Y
|
|
2566
2566
|
* @see https://tailwindcss.com/docs/rotate
|
|
2567
2567
|
*/
|
|
2568
2568
|
"rotate-y": [{
|
|
2569
|
-
"rotate-y":
|
|
2569
|
+
"rotate-y": ie()
|
|
2570
2570
|
}],
|
|
2571
2571
|
/**
|
|
2572
2572
|
* Rotate Z
|
|
2573
2573
|
* @see https://tailwindcss.com/docs/rotate
|
|
2574
2574
|
*/
|
|
2575
2575
|
"rotate-z": [{
|
|
2576
|
-
"rotate-z":
|
|
2576
|
+
"rotate-z": ie()
|
|
2577
2577
|
}],
|
|
2578
2578
|
/**
|
|
2579
2579
|
* Scale
|
|
2580
2580
|
* @see https://tailwindcss.com/docs/scale
|
|
2581
2581
|
*/
|
|
2582
2582
|
scale: [{
|
|
2583
|
-
scale:
|
|
2583
|
+
scale: de()
|
|
2584
2584
|
}],
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Scale X
|
|
2587
2587
|
* @see https://tailwindcss.com/docs/scale
|
|
2588
2588
|
*/
|
|
2589
2589
|
"scale-x": [{
|
|
2590
|
-
"scale-x":
|
|
2590
|
+
"scale-x": de()
|
|
2591
2591
|
}],
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Scale Y
|
|
2594
2594
|
* @see https://tailwindcss.com/docs/scale
|
|
2595
2595
|
*/
|
|
2596
2596
|
"scale-y": [{
|
|
2597
|
-
"scale-y":
|
|
2597
|
+
"scale-y": de()
|
|
2598
2598
|
}],
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Scale Z
|
|
2601
2601
|
* @see https://tailwindcss.com/docs/scale
|
|
2602
2602
|
*/
|
|
2603
2603
|
"scale-z": [{
|
|
2604
|
-
"scale-z":
|
|
2604
|
+
"scale-z": de()
|
|
2605
2605
|
}],
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Scale 3D
|
|
@@ -2634,7 +2634,7 @@ const tt = [
|
|
|
2634
2634
|
* @see https://tailwindcss.com/docs/transform
|
|
2635
2635
|
*/
|
|
2636
2636
|
transform: [{
|
|
2637
|
-
transform: [
|
|
2637
|
+
transform: [u, c, "", "none", "gpu", "cpu"]
|
|
2638
2638
|
}],
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Transform Origin
|
|
@@ -2655,28 +2655,28 @@ const tt = [
|
|
|
2655
2655
|
* @see https://tailwindcss.com/docs/translate
|
|
2656
2656
|
*/
|
|
2657
2657
|
translate: [{
|
|
2658
|
-
translate:
|
|
2658
|
+
translate: ce()
|
|
2659
2659
|
}],
|
|
2660
2660
|
/**
|
|
2661
2661
|
* Translate X
|
|
2662
2662
|
* @see https://tailwindcss.com/docs/translate
|
|
2663
2663
|
*/
|
|
2664
2664
|
"translate-x": [{
|
|
2665
|
-
"translate-x":
|
|
2665
|
+
"translate-x": ce()
|
|
2666
2666
|
}],
|
|
2667
2667
|
/**
|
|
2668
2668
|
* Translate Y
|
|
2669
2669
|
* @see https://tailwindcss.com/docs/translate
|
|
2670
2670
|
*/
|
|
2671
2671
|
"translate-y": [{
|
|
2672
|
-
"translate-y":
|
|
2672
|
+
"translate-y": ce()
|
|
2673
2673
|
}],
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Translate Z
|
|
2676
2676
|
* @see https://tailwindcss.com/docs/translate
|
|
2677
2677
|
*/
|
|
2678
2678
|
"translate-z": [{
|
|
2679
|
-
"translate-z":
|
|
2679
|
+
"translate-z": ce()
|
|
2680
2680
|
}],
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Translate None
|
|
@@ -2719,7 +2719,7 @@ const tt = [
|
|
|
2719
2719
|
* @see https://tailwindcss.com/docs/cursor
|
|
2720
2720
|
*/
|
|
2721
2721
|
cursor: [{
|
|
2722
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2722
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", u, c]
|
|
2723
2723
|
}],
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Field Sizing
|
|
@@ -2969,7 +2969,7 @@ const tt = [
|
|
|
2969
2969
|
* @see https://tailwindcss.com/docs/will-change
|
|
2970
2970
|
*/
|
|
2971
2971
|
"will-change": [{
|
|
2972
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2972
|
+
"will-change": ["auto", "scroll", "contents", "transform", u, c]
|
|
2973
2973
|
}],
|
|
2974
2974
|
// -----------
|
|
2975
2975
|
// --- SVG ---
|
|
@@ -3366,7 +3366,7 @@ const tt = [
|
|
|
3366
3366
|
class: { default: "" }
|
|
3367
3367
|
},
|
|
3368
3368
|
setup(e) {
|
|
3369
|
-
const a = A(() => typeof e.icon == "string" ? e.icon : e.icon?.className), t = A(() => typeof e.iconAfter == "string" ? e.iconAfter : e.iconAfter?.className), r = A(() => e.href ? "a" : e.tag),
|
|
3369
|
+
const a = A(() => typeof e.icon == "string" ? e.icon : e.icon?.className), t = A(() => typeof e.iconAfter == "string" ? e.iconAfter : e.iconAfter?.className), r = A(() => e.href ? "a" : e.tag), i = A(() => ({
|
|
3370
3370
|
xxs: "size-2.5",
|
|
3371
3371
|
xs: "size-3",
|
|
3372
3372
|
sm: "size-3.5",
|
|
@@ -3377,22 +3377,22 @@ const tt = [
|
|
|
3377
3377
|
const n = He[e.theme]?.[e.design] || He.default[e.design];
|
|
3378
3378
|
return n || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), n || { base: "", border: "", hover: "", icon: "" };
|
|
3379
3379
|
}), s = A(() => {
|
|
3380
|
-
const n = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer",
|
|
3380
|
+
const n = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", p = {
|
|
3381
3381
|
xxs: "px-2 py-0.5 text-[10px]",
|
|
3382
3382
|
xs: "px-3 py-1 text-[11px]",
|
|
3383
3383
|
sm: "px-3 py-1.5 text-xs",
|
|
3384
3384
|
md: "px-4 py-2 text-sm",
|
|
3385
3385
|
lg: "px-8 py-3.5 text-[15px]",
|
|
3386
3386
|
xl: "px-10 py-4 text-base"
|
|
3387
|
-
},
|
|
3387
|
+
}, x = e.design === "link" ? "!px-1" : "", w = {
|
|
3388
3388
|
md: "rounded-md",
|
|
3389
3389
|
lg: "rounded-lg",
|
|
3390
3390
|
"2xl": "rounded-2xl",
|
|
3391
3391
|
full: "rounded-full"
|
|
3392
3392
|
}, y = l.value, E = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", P = [
|
|
3393
3393
|
n,
|
|
3394
|
-
|
|
3395
|
-
|
|
3394
|
+
p[e.size],
|
|
3395
|
+
x,
|
|
3396
3396
|
w[e.rounding],
|
|
3397
3397
|
y.base,
|
|
3398
3398
|
`border ${y.border}`,
|
|
@@ -3400,10 +3400,10 @@ const tt = [
|
|
|
3400
3400
|
E
|
|
3401
3401
|
].filter(Boolean).join(" ");
|
|
3402
3402
|
return Ar(P, e.class);
|
|
3403
|
-
}),
|
|
3403
|
+
}), d = A(() => ({
|
|
3404
3404
|
design: l.value.icon || ""
|
|
3405
3405
|
}));
|
|
3406
|
-
return (n,
|
|
3406
|
+
return (n, p) => (m(), L(pt(r.value), {
|
|
3407
3407
|
href: e.disabled ? void 0 : e.href,
|
|
3408
3408
|
disabled: e.disabled || void 0,
|
|
3409
3409
|
"aria-disabled": e.disabled || void 0,
|
|
@@ -3412,20 +3412,20 @@ const tt = [
|
|
|
3412
3412
|
default: F(() => [
|
|
3413
3413
|
e.loading ? (m(), f("div", $r, [
|
|
3414
3414
|
I(_e, {
|
|
3415
|
-
class: $(
|
|
3415
|
+
class: $(i.value)
|
|
3416
3416
|
}, null, 8, ["class"])
|
|
3417
3417
|
])) : S("", !0),
|
|
3418
|
-
|
|
3418
|
+
b("span", {
|
|
3419
3419
|
class: $(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
|
|
3420
3420
|
}, [
|
|
3421
3421
|
a.value ? (m(), f("span", {
|
|
3422
3422
|
key: 0,
|
|
3423
|
-
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value,
|
|
3423
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value, d.value.design]])
|
|
3424
3424
|
}, null, 2)) : S("", !0),
|
|
3425
|
-
|
|
3425
|
+
me(n.$slots, "default"),
|
|
3426
3426
|
t.value ? (m(), f("span", {
|
|
3427
3427
|
key: 1,
|
|
3428
|
-
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value,
|
|
3428
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, d.value.design]])
|
|
3429
3429
|
}, null, 2)) : S("", !0)
|
|
3430
3430
|
], 2)
|
|
3431
3431
|
]),
|
|
@@ -3456,20 +3456,20 @@ const tt = [
|
|
|
3456
3456
|
agent: e.agent,
|
|
3457
3457
|
"is-online": e.isOnline
|
|
3458
3458
|
}, null, 8, ["agent", "is-online"]),
|
|
3459
|
-
|
|
3459
|
+
b("div", Mr, [
|
|
3460
3460
|
e.agent.summary.value ? (m(), f("div", Vr, [
|
|
3461
|
-
t[0] || (t[0] =
|
|
3462
|
-
|
|
3461
|
+
t[0] || (t[0] = b("h3", { class: "font-medium text-white/50" }, " About ", -1)),
|
|
3462
|
+
b("div", {
|
|
3463
3463
|
class: "text-white/70 leading-relaxed",
|
|
3464
3464
|
innerHTML: e.agent.summary.value
|
|
3465
3465
|
}, null, 8, Ir)
|
|
3466
3466
|
])) : S("", !0),
|
|
3467
3467
|
e.agent.entityType.value === "company" ? (m(), f("div", Tr, [
|
|
3468
|
-
t[1] || (t[1] =
|
|
3469
|
-
|
|
3468
|
+
t[1] || (t[1] = b("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
|
|
3469
|
+
b("p", Er, " This is a company agent representing " + R(e.agent.name.value) + ". ", 1)
|
|
3470
3470
|
])) : S("", !0),
|
|
3471
3471
|
e.agent.email.value ? (m(), f("div", Or, [
|
|
3472
|
-
t[3] || (t[3] =
|
|
3472
|
+
t[3] || (t[3] = b("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
|
|
3473
3473
|
I(Ke, {
|
|
3474
3474
|
design: "ghost",
|
|
3475
3475
|
theme: "default",
|
|
@@ -3480,15 +3480,15 @@ const tt = [
|
|
|
3480
3480
|
target: "_blank"
|
|
3481
3481
|
}, {
|
|
3482
3482
|
default: F(() => [...t[2] || (t[2] = [
|
|
3483
|
-
|
|
3483
|
+
ge(" Email ", -1)
|
|
3484
3484
|
])]),
|
|
3485
3485
|
_: 1
|
|
3486
3486
|
}, 8, ["href"])
|
|
3487
3487
|
])) : S("", !0),
|
|
3488
3488
|
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", jr, [
|
|
3489
|
-
t[4] || (t[4] =
|
|
3490
|
-
|
|
3491
|
-
(m(!0), f(J, null, Se(e.agent.accounts.value, (r) => (m(),
|
|
3489
|
+
t[4] || (t[4] = b("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
|
|
3490
|
+
b("div", Br, [
|
|
3491
|
+
(m(!0), f(J, null, Se(e.agent.accounts.value, (r) => (m(), L(Ke, {
|
|
3492
3492
|
key: `${r.platform}-${r.handle}`,
|
|
3493
3493
|
design: "ghost",
|
|
3494
3494
|
theme: "default",
|
|
@@ -3499,7 +3499,7 @@ const tt = [
|
|
|
3499
3499
|
target: "_blank"
|
|
3500
3500
|
}, {
|
|
3501
3501
|
default: F(() => [
|
|
3502
|
-
|
|
3502
|
+
ge(R(B(oe)[r.platform].label), 1)
|
|
3503
3503
|
]),
|
|
3504
3504
|
_: 2
|
|
3505
3505
|
}, 1032, ["icon", "href"]))), 128))
|
|
@@ -3508,7 +3508,7 @@ const tt = [
|
|
|
3508
3508
|
])
|
|
3509
3509
|
]));
|
|
3510
3510
|
}
|
|
3511
|
-
}), Pr = { class: "flex flex-col items-center text-center gap-4" },
|
|
3511
|
+
}), Pr = { class: "flex flex-col items-center text-center gap-4" }, Nr = { class: "relative flex-shrink-0" }, Gr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Lr = ["src", "alt"], Ur = { class: "absolute top-1.5 right-1.5" }, Fr = {
|
|
3512
3512
|
key: 1,
|
|
3513
3513
|
class: "size-4 bg-theme-400 rounded-full ring-2 ring-white"
|
|
3514
3514
|
}, Wr = { class: "min-w-0" }, qr = { class: "text-3xl font-light text-white mb-2 truncate" }, Dr = { class: "text-base font-light text-white/60 line-clamp-1" }, Yr = /* @__PURE__ */ W({
|
|
@@ -3519,29 +3519,29 @@ const tt = [
|
|
|
3519
3519
|
},
|
|
3520
3520
|
setup(e) {
|
|
3521
3521
|
return (a, t) => (m(), f("div", Pr, [
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3522
|
+
b("div", Nr, [
|
|
3523
|
+
b("div", Gr, [
|
|
3524
|
+
b("img", {
|
|
3525
3525
|
src: e.agent.avatarUrl.value,
|
|
3526
3526
|
alt: e.agent.displayName.value,
|
|
3527
3527
|
class: "w-full h-full object-cover",
|
|
3528
3528
|
onError: t[0] || (t[0] = //@ts-ignore
|
|
3529
|
-
(...r) => B(
|
|
3530
|
-
}, null, 40,
|
|
3529
|
+
(...r) => B(Ge) && B(Ge)(...r))
|
|
3530
|
+
}, null, 40, Lr)
|
|
3531
3531
|
]),
|
|
3532
|
-
|
|
3532
|
+
b("div", Ur, [
|
|
3533
3533
|
e.isOnline ? (m(), f(J, { key: 0 }, [
|
|
3534
|
-
t[1] || (t[1] =
|
|
3534
|
+
t[1] || (t[1] = b("div", {
|
|
3535
3535
|
class: "size-4 bg-green-500 rounded-full ring-2 ring-white absolute animate-ping",
|
|
3536
3536
|
style: { "animation-duration": "3s" }
|
|
3537
3537
|
}, null, -1)),
|
|
3538
|
-
t[2] || (t[2] =
|
|
3538
|
+
t[2] || (t[2] = b("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" }, null, -1))
|
|
3539
3539
|
], 64)) : (m(), f("div", Fr))
|
|
3540
3540
|
])
|
|
3541
3541
|
]),
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3542
|
+
b("div", Wr, [
|
|
3543
|
+
b("h1", qr, R(e.agent.displayName.value), 1),
|
|
3544
|
+
b("p", Dr, R(e.agent.title.value), 1)
|
|
3545
3545
|
])
|
|
3546
3546
|
]));
|
|
3547
3547
|
}
|
|
@@ -3557,15 +3557,15 @@ const tt = [
|
|
|
3557
3557
|
}, 100);
|
|
3558
3558
|
}), (t, r) => (m(), f("a", {
|
|
3559
3559
|
class: "close block cursor-pointer w-[60px] h-[60px] rounded-full transition-all duration-1000 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-110 active:scale-90 hover:rotate-90",
|
|
3560
|
-
onClick: r[0] || (r[0] = (
|
|
3560
|
+
onClick: r[0] || (r[0] = (i) => t.$emit("click", i))
|
|
3561
3561
|
}, [
|
|
3562
|
-
r[1] || (r[1] =
|
|
3563
|
-
|
|
3564
|
-
|
|
3562
|
+
r[1] || (r[1] = b("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
|
|
3563
|
+
b("span", Hr, [
|
|
3564
|
+
b("span", {
|
|
3565
3565
|
class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
|
|
3566
3566
|
style: { "background-color": "currentColor", "transition-delay": "0.15s" }
|
|
3567
3567
|
}, null, 2),
|
|
3568
|
-
|
|
3568
|
+
b("span", {
|
|
3569
3569
|
class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
|
|
3570
3570
|
style: { "background-color": "currentColor", "transition-delay": "0.45s" }
|
|
3571
3571
|
}, null, 2)
|
|
@@ -3594,15 +3594,15 @@ const tt = [
|
|
|
3594
3594
|
},
|
|
3595
3595
|
emits: ["update:modelValue"],
|
|
3596
3596
|
setup(e, { emit: a }) {
|
|
3597
|
-
const t = e, r = a,
|
|
3597
|
+
const t = e, r = a, i = t.position || "left", l = t.widthClasses || "w-[80%] max-w-[300px]", s = A({
|
|
3598
3598
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3599
|
-
set: /* @__PURE__ */ o((
|
|
3600
|
-
}),
|
|
3601
|
-
function n(
|
|
3602
|
-
|
|
3599
|
+
set: /* @__PURE__ */ o((x) => r("update:modelValue", x), "set")
|
|
3600
|
+
}), d = A(() => t.items.filter((x) => !x.isHidden));
|
|
3601
|
+
function n(x) {
|
|
3602
|
+
x.isDisabled || (x.onClick ? x.onClick({ item: x, event: new MouseEvent("click") }) : x.href && (x.href.includes("http") ? window.open(x.href, x.target || "_self")?.focus() : window.location.href = x.href), s.value = !1);
|
|
3603
3603
|
}
|
|
3604
3604
|
o(n, "handleItemClick");
|
|
3605
|
-
const
|
|
3605
|
+
const p = A(() => i === "left" ? {
|
|
3606
3606
|
enter: "-translate-x-full",
|
|
3607
3607
|
leave: "-translate-x-full",
|
|
3608
3608
|
position: "justify-start",
|
|
@@ -3613,8 +3613,8 @@ const tt = [
|
|
|
3613
3613
|
position: "justify-end",
|
|
3614
3614
|
closeButton: "-left-16"
|
|
3615
3615
|
});
|
|
3616
|
-
return (
|
|
3617
|
-
I(
|
|
3616
|
+
return (x, w) => (m(), f(J, null, [
|
|
3617
|
+
I(Ne, {
|
|
3618
3618
|
"enter-active-class": "transition-opacity duration-300 ease-out",
|
|
3619
3619
|
"leave-active-class": "transition-opacity duration-200 ease-in",
|
|
3620
3620
|
"enter-from-class": "opacity-0",
|
|
@@ -3631,48 +3631,48 @@ const tt = [
|
|
|
3631
3631
|
]),
|
|
3632
3632
|
_: 1
|
|
3633
3633
|
}),
|
|
3634
|
-
I(
|
|
3634
|
+
I(Ne, {
|
|
3635
3635
|
"enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3636
3636
|
"leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3637
|
-
"enter-from-class":
|
|
3637
|
+
"enter-from-class": p.value.enter,
|
|
3638
3638
|
"enter-to-class": "translate-x-0",
|
|
3639
3639
|
"leave-from-class": "translate-x-0",
|
|
3640
|
-
"leave-to-class":
|
|
3640
|
+
"leave-to-class": p.value.leave
|
|
3641
3641
|
}, {
|
|
3642
3642
|
default: F(() => [
|
|
3643
3643
|
s.value ? (m(), f("div", {
|
|
3644
3644
|
key: 0,
|
|
3645
|
-
class: $(["absolute inset-0 z-50 flex",
|
|
3645
|
+
class: $(["absolute inset-0 z-50 flex", p.value.position]),
|
|
3646
3646
|
onClick: w[3] || (w[3] = (y) => s.value = !1)
|
|
3647
3647
|
}, [
|
|
3648
|
-
|
|
3648
|
+
b("div", {
|
|
3649
3649
|
class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", B(l)]),
|
|
3650
3650
|
onClick: w[2] || (w[2] = Ae(() => {
|
|
3651
3651
|
}, ["stop"]))
|
|
3652
3652
|
}, [
|
|
3653
3653
|
I(Kr, {
|
|
3654
|
-
class: $(["absolute top-4 z-10 text-white",
|
|
3654
|
+
class: $(["absolute top-4 z-10 text-white", p.value.closeButton]),
|
|
3655
3655
|
onClick: w[1] || (w[1] = (y) => s.value = !1)
|
|
3656
3656
|
}, null, 8, ["class"]),
|
|
3657
3657
|
e.title ? (m(), f("div", Xr, [
|
|
3658
|
-
|
|
3658
|
+
b("h3", Jr, R(e.title), 1)
|
|
3659
3659
|
])) : S("", !0),
|
|
3660
|
-
|
|
3661
|
-
|
|
3660
|
+
x.$slots.header ? (m(), f("div", Qr, [
|
|
3661
|
+
me(x.$slots, "header")
|
|
3662
3662
|
])) : S("", !0),
|
|
3663
|
-
|
|
3664
|
-
class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !
|
|
3663
|
+
b("div", {
|
|
3664
|
+
class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !x.$slots.header, "pt-4": e.title || x.$slots.header }])
|
|
3665
3665
|
}, [
|
|
3666
3666
|
I(Xe, {
|
|
3667
3667
|
"enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3668
3668
|
"leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3669
|
-
"enter-from-class": B(
|
|
3669
|
+
"enter-from-class": B(i) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
|
|
3670
3670
|
"enter-to-class": "translate-x-0 opacity-100",
|
|
3671
3671
|
"leave-from-class": "translate-x-0 opacity-100",
|
|
3672
|
-
"leave-to-class": B(
|
|
3672
|
+
"leave-to-class": B(i) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
|
|
3673
3673
|
}, {
|
|
3674
3674
|
default: F(() => [
|
|
3675
|
-
(m(!0), f(J, null, Se(
|
|
3675
|
+
(m(!0), f(J, null, Se(d.value, (y, E) => (m(), f("button", {
|
|
3676
3676
|
key: y.key || y.label || E,
|
|
3677
3677
|
style: Qe({ transitionDelay: `${E * 40}ms` }),
|
|
3678
3678
|
class: $(["cursor-pointer w-full text-left p-3 rounded-xl transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group", [
|
|
@@ -3682,7 +3682,7 @@ const tt = [
|
|
|
3682
3682
|
disabled: y.isDisabled,
|
|
3683
3683
|
onClick: /* @__PURE__ */ o((P) => n(y), "onClick")
|
|
3684
3684
|
}, [
|
|
3685
|
-
|
|
3685
|
+
b("div", _r, [
|
|
3686
3686
|
y.icon?.src ? (m(), f("i", {
|
|
3687
3687
|
key: 0,
|
|
3688
3688
|
class: $(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
|
|
@@ -3690,8 +3690,8 @@ const tt = [
|
|
|
3690
3690
|
y.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
|
|
3691
3691
|
]])
|
|
3692
3692
|
}, null, 2)) : S("", !0),
|
|
3693
|
-
|
|
3694
|
-
|
|
3693
|
+
b("div", eo, [
|
|
3694
|
+
b("div", {
|
|
3695
3695
|
class: $(["font-medium text-sm", y.isActive ? "text-primary-300" : "text-white"])
|
|
3696
3696
|
}, R(y.label), 3),
|
|
3697
3697
|
y.subLabel ? (m(), f("div", to, R(y.subLabel), 1)) : S("", !0)
|
|
@@ -3702,19 +3702,8 @@ const tt = [
|
|
|
3702
3702
|
_: 1
|
|
3703
3703
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
3704
3704
|
], 2),
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
w[4] || (w[4] = i("div", { class: "text-center" }, [
|
|
3708
|
-
i("p", { class: "text-[10px] text-white/40 font-sans" }, [
|
|
3709
|
-
ne(" AI Agent by "),
|
|
3710
|
-
i("a", {
|
|
3711
|
-
href: "https://www.pagelines.com",
|
|
3712
|
-
target: "_blank",
|
|
3713
|
-
class: "text-white/60 hover:text-white/80 transition-colors"
|
|
3714
|
-
}, "PageLines")
|
|
3715
|
-
])
|
|
3716
|
-
], -1))
|
|
3717
|
-
])
|
|
3705
|
+
b("div", ro, [
|
|
3706
|
+
me(x.$slots, "footer")
|
|
3718
3707
|
])
|
|
3719
3708
|
], 2)
|
|
3720
3709
|
], 2)) : S("", !0)
|
|
@@ -3732,21 +3721,21 @@ const tt = [
|
|
|
3732
3721
|
},
|
|
3733
3722
|
emits: ["update:modelValue"],
|
|
3734
3723
|
setup(e, { emit: a }) {
|
|
3735
|
-
const t = e, r = a,
|
|
3724
|
+
const t = e, r = a, i = A({
|
|
3736
3725
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3737
|
-
set: /* @__PURE__ */ o((
|
|
3738
|
-
}), l = A(() => t.chatController?.agentMode?.value ?? "self"), s = A(() => tt.map((
|
|
3739
|
-
key:
|
|
3740
|
-
icon: { src:
|
|
3741
|
-
label:
|
|
3742
|
-
isActive: l.value ===
|
|
3726
|
+
set: /* @__PURE__ */ o((d) => r("update:modelValue", d), "set")
|
|
3727
|
+
}), l = A(() => t.chatController?.agentMode?.value ?? "self"), s = A(() => tt.map((d) => ({
|
|
3728
|
+
key: d.mode,
|
|
3729
|
+
icon: { src: d.icon },
|
|
3730
|
+
label: d.label,
|
|
3731
|
+
isActive: l.value === d.mode,
|
|
3743
3732
|
onClick: /* @__PURE__ */ o(() => {
|
|
3744
|
-
t.chatController?.setMode(
|
|
3733
|
+
t.chatController?.setMode(d.mode);
|
|
3745
3734
|
}, "onClick")
|
|
3746
3735
|
})));
|
|
3747
|
-
return (
|
|
3748
|
-
modelValue:
|
|
3749
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3736
|
+
return (d, n) => (m(), L(ft, {
|
|
3737
|
+
modelValue: i.value,
|
|
3738
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => i.value = p),
|
|
3750
3739
|
items: s.value,
|
|
3751
3740
|
position: "right",
|
|
3752
3741
|
title: "Mode",
|
|
@@ -3764,7 +3753,7 @@ const tt = [
|
|
|
3764
3753
|
},
|
|
3765
3754
|
emits: ["update:modelValue"],
|
|
3766
3755
|
setup(e, { emit: a }) {
|
|
3767
|
-
const t = e, r = a,
|
|
3756
|
+
const t = e, r = a, i = A({
|
|
3768
3757
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3769
3758
|
set: /* @__PURE__ */ o((s) => r("update:modelValue", s), "set")
|
|
3770
3759
|
}), l = A(() => {
|
|
@@ -3774,8 +3763,8 @@ const tt = [
|
|
|
3774
3763
|
icon: { src: "i-tabler-share" },
|
|
3775
3764
|
label: "Share this assistant",
|
|
3776
3765
|
onClick: /* @__PURE__ */ o(() => {
|
|
3777
|
-
const
|
|
3778
|
-
navigator.clipboard.writeText(
|
|
3766
|
+
const d = `${window.location.origin}/@${t.agent.handle.value || t.agent.agentId.value}`;
|
|
3767
|
+
navigator.clipboard.writeText(d).catch((n) => {
|
|
3779
3768
|
console.error("ElAgentSidebar: clipboard.writeText rejected", n);
|
|
3780
3769
|
});
|
|
3781
3770
|
}, "onClick")
|
|
@@ -3806,9 +3795,9 @@ const tt = [
|
|
|
3806
3795
|
}, "onClick")
|
|
3807
3796
|
}), s;
|
|
3808
3797
|
});
|
|
3809
|
-
return (s,
|
|
3810
|
-
modelValue:
|
|
3811
|
-
"onUpdate:modelValue":
|
|
3798
|
+
return (s, d) => (m(), L(ft, {
|
|
3799
|
+
modelValue: i.value,
|
|
3800
|
+
"onUpdate:modelValue": d[0] || (d[0] = (n) => i.value = n),
|
|
3812
3801
|
items: l.value,
|
|
3813
3802
|
position: "left",
|
|
3814
3803
|
title: e.title || "Menu"
|
|
@@ -3832,7 +3821,7 @@ const tt = [
|
|
|
3832
3821
|
}, fo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, xo = {
|
|
3833
3822
|
key: 0,
|
|
3834
3823
|
class: "h-full pb-12 flex-1 flex flex-col relative z-20 min-h-0 px-4 @[480px]/agent:px-6 max-w-md mx-auto w-full"
|
|
3835
|
-
},
|
|
3824
|
+
}, vo = { class: "flex-1 basis-0 flex flex-col justify-start pt-8 gap-7" }, po = {
|
|
3836
3825
|
key: 0,
|
|
3837
3826
|
class: "flex items-center justify-center gap-3"
|
|
3838
3827
|
}, ko = ["href"], yo = {
|
|
@@ -3865,7 +3854,7 @@ const tt = [
|
|
|
3865
3854
|
},
|
|
3866
3855
|
emits: ["close", "error"],
|
|
3867
3856
|
setup(e, { emit: a }) {
|
|
3868
|
-
const t = a, r = kt(),
|
|
3857
|
+
const t = a, r = kt(), i = X(!1), l = X(!1), s = X(), d = X(), n = A(() => r.value?.agentMode?.value ?? "self"), p = A(() => r.value?.textState.value.isConnected ?? !1), x = A(() => e.sdk.activeUser.value !== void 0), w = A(() => tt.find((C) => C.mode === n.value));
|
|
3869
3858
|
function y() {
|
|
3870
3859
|
r.value && r.value.destroy();
|
|
3871
3860
|
try {
|
|
@@ -3881,28 +3870,28 @@ const tt = [
|
|
|
3881
3870
|
}
|
|
3882
3871
|
o(y, "createChatController");
|
|
3883
3872
|
function E(C) {
|
|
3884
|
-
if (!
|
|
3873
|
+
if (!d.value)
|
|
3885
3874
|
return;
|
|
3886
|
-
const
|
|
3887
|
-
Object.entries(
|
|
3888
|
-
|
|
3875
|
+
const v = Mt(C);
|
|
3876
|
+
Object.entries(v).forEach(([z, D]) => {
|
|
3877
|
+
d.value.style.setProperty(`--primary-${z}`, D);
|
|
3889
3878
|
});
|
|
3890
3879
|
}
|
|
3891
3880
|
o(E, "applyTheme"), Je(() => {
|
|
3892
3881
|
try {
|
|
3893
3882
|
y(), E(e.theme), e.chatOnly && r.value && r.value.setMode("chat");
|
|
3894
3883
|
} catch (C) {
|
|
3895
|
-
const
|
|
3896
|
-
s.value =
|
|
3884
|
+
const v = C instanceof Error ? C.message : "Couldn't initialize your assistant";
|
|
3885
|
+
s.value = v, t("error", v);
|
|
3897
3886
|
}
|
|
3898
3887
|
}), yt(() => {
|
|
3899
3888
|
r.value && r.value.destroy();
|
|
3900
3889
|
}), ze(() => e.theme, (C) => {
|
|
3901
3890
|
E(C);
|
|
3902
|
-
}), ze(() => e.sdk.activeUser.value, (C,
|
|
3903
|
-
|
|
3891
|
+
}), ze(() => e.sdk.activeUser.value, (C, v) => {
|
|
3892
|
+
v && !C && r.value && r.value.setMode("self");
|
|
3904
3893
|
});
|
|
3905
|
-
const P = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")),
|
|
3894
|
+
const P = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), N = A(() => {
|
|
3906
3895
|
const C = [P.value ? "backdrop-blur-sm" : ""];
|
|
3907
3896
|
return P.value && n.value === "self" ? C.push("from-black/80 via-black/60 to-black/80") : n.value === "self" ? C.push("from-black/70 via-black/50 to-black/80") : C.push("from-black/90 via-black/90 to-black/100"), C.join(" ");
|
|
3908
3897
|
}), T = {
|
|
@@ -3915,9 +3904,9 @@ const tt = [
|
|
|
3915
3904
|
template: e.buttonText || "Talk to {name}",
|
|
3916
3905
|
agent: e.agent.toConfig()
|
|
3917
3906
|
})), te = A(() => T[e.buttonIcon || "phone"] || T.phone);
|
|
3918
|
-
return (C,
|
|
3907
|
+
return (C, v) => (m(), f("div", {
|
|
3919
3908
|
ref_key: "rootElement",
|
|
3920
|
-
ref:
|
|
3909
|
+
ref: d,
|
|
3921
3910
|
key: B(ye)(e.agent.toConfig()),
|
|
3922
3911
|
class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
|
|
3923
3912
|
"data-test": "agent-chat"
|
|
@@ -3930,68 +3919,68 @@ const tt = [
|
|
|
3930
3919
|
style: Qe({ backgroundImage: `url(${B(ye)(e.agent.toConfig())})` }),
|
|
3931
3920
|
"data-quality": e.agent.avatar.value?.quality || "none"
|
|
3932
3921
|
}, [
|
|
3933
|
-
|
|
3934
|
-
class: $(["absolute inset-0 bg-gradient-to-br z-0",
|
|
3922
|
+
b("div", {
|
|
3923
|
+
class: $(["absolute inset-0 bg-gradient-to-br z-0", N.value])
|
|
3935
3924
|
}, null, 2),
|
|
3936
|
-
|
|
3925
|
+
b("div", {
|
|
3937
3926
|
class: $(["relative z-10 flex flex-col h-full transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)] will-change-transform", e.isActive ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"])
|
|
3938
3927
|
}, [
|
|
3939
|
-
|
|
3928
|
+
b("div", {
|
|
3940
3929
|
class: $(["relative z-30 p-2", n.value !== "self" ? "backdrop-blur-lg" : ""])
|
|
3941
3930
|
}, [
|
|
3942
3931
|
e.chatOnly ? (m(), f("div", lo, [
|
|
3943
|
-
|
|
3944
|
-
|
|
3932
|
+
b("div", io, [
|
|
3933
|
+
b("img", {
|
|
3945
3934
|
src: B(ye)(e.agent.toConfig()),
|
|
3946
3935
|
alt: e.agent.displayName.value,
|
|
3947
3936
|
class: "size-8 rounded-full object-cover"
|
|
3948
3937
|
}, null, 8, co),
|
|
3949
|
-
|
|
3938
|
+
b("span", uo, R(e.agent.displayName.value), 1)
|
|
3950
3939
|
]),
|
|
3951
3940
|
e.hasClose ? (m(), f("div", bo, [
|
|
3952
|
-
|
|
3941
|
+
b("button", {
|
|
3953
3942
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
3954
|
-
onClick:
|
|
3955
|
-
}, [...
|
|
3956
|
-
|
|
3943
|
+
onClick: v[0] || (v[0] = Ae((z) => t("close", "button"), ["stop"]))
|
|
3944
|
+
}, [...v[7] || (v[7] = [
|
|
3945
|
+
b("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
3957
3946
|
])])
|
|
3958
3947
|
])) : S("", !0)
|
|
3959
3948
|
])) : (m(), f("div", {
|
|
3960
3949
|
key: 1,
|
|
3961
3950
|
class: $(["flex items-center", e.hasClose ? "" : "justify-between"])
|
|
3962
3951
|
}, [
|
|
3963
|
-
|
|
3952
|
+
b("div", {
|
|
3964
3953
|
class: $(e.hasClose ? "flex-1 basis-0" : "")
|
|
3965
3954
|
}, [
|
|
3966
|
-
|
|
3955
|
+
b("button", {
|
|
3967
3956
|
class: "cursor-pointer p-2 flex items-center gap-2 rounded-2xl text-white/70 hover:bg-white/10 transition-all duration-300 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-105 active:scale-95",
|
|
3968
|
-
onClick:
|
|
3969
|
-
}, [...
|
|
3970
|
-
|
|
3957
|
+
onClick: v[1] || (v[1] = (z) => i.value = !0)
|
|
3958
|
+
}, [...v[8] || (v[8] = [
|
|
3959
|
+
b("i", { class: "i-tabler-menu size-7" }, null, -1)
|
|
3971
3960
|
])])
|
|
3972
3961
|
], 2),
|
|
3973
|
-
|
|
3962
|
+
b("button", {
|
|
3974
3963
|
class: $(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": l.value }]),
|
|
3975
|
-
onClick:
|
|
3964
|
+
onClick: v[2] || (v[2] = (z) => l.value = !0)
|
|
3976
3965
|
}, [
|
|
3977
|
-
|
|
3966
|
+
b("i", {
|
|
3978
3967
|
class: $([w.value?.icon, "size-4 opacity-60"])
|
|
3979
3968
|
}, null, 2),
|
|
3980
|
-
|
|
3981
|
-
|
|
3969
|
+
b("span", mo, R(w.value?.label), 1),
|
|
3970
|
+
v[9] || (v[9] = b("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
|
|
3982
3971
|
], 2),
|
|
3983
3972
|
e.hasClose ? (m(), f("div", go, [
|
|
3984
|
-
|
|
3973
|
+
b("button", {
|
|
3985
3974
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
3986
|
-
onClick:
|
|
3987
|
-
}, [...
|
|
3988
|
-
|
|
3975
|
+
onClick: v[3] || (v[3] = Ae((z) => t("close", "button"), ["stop"]))
|
|
3976
|
+
}, [...v[10] || (v[10] = [
|
|
3977
|
+
b("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
3989
3978
|
])])
|
|
3990
3979
|
])) : S("", !0)
|
|
3991
3980
|
], 2))
|
|
3992
3981
|
], 2),
|
|
3993
3982
|
e.chatOnly ? (m(), f("div", ho, [
|
|
3994
|
-
|
|
3983
|
+
b("div", fo, [
|
|
3995
3984
|
I(we, {
|
|
3996
3985
|
"chat-controller": r.value,
|
|
3997
3986
|
agent: e.agent
|
|
@@ -3999,48 +3988,48 @@ const tt = [
|
|
|
3999
3988
|
])
|
|
4000
3989
|
])) : (m(), f(J, { key: 1 }, [
|
|
4001
3990
|
n.value === "self" ? (m(), f("div", xo, [
|
|
4002
|
-
|
|
3991
|
+
v[11] || (v[11] = b("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
|
|
4003
3992
|
I(Yr, {
|
|
4004
3993
|
agent: e.agent,
|
|
4005
|
-
"is-online":
|
|
3994
|
+
"is-online": p.value
|
|
4006
3995
|
}, null, 8, ["agent", "is-online"]),
|
|
4007
|
-
|
|
3996
|
+
b("div", vo, [
|
|
4008
3997
|
I(Ze, {
|
|
4009
3998
|
theme: "primary",
|
|
4010
3999
|
size: "lg",
|
|
4011
4000
|
class: "w-full",
|
|
4012
4001
|
icon: te.value,
|
|
4013
4002
|
"data-test": "voice-button",
|
|
4014
|
-
onClick:
|
|
4003
|
+
onClick: v[4] || (v[4] = (z) => r.value?.setMode("talk"))
|
|
4015
4004
|
}, {
|
|
4016
4005
|
default: F(() => [
|
|
4017
|
-
|
|
4006
|
+
ge(R(q.value), 1)
|
|
4018
4007
|
]),
|
|
4019
4008
|
_: 1
|
|
4020
4009
|
}, 8, ["icon"]),
|
|
4021
|
-
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div",
|
|
4010
|
+
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", po, [
|
|
4022
4011
|
(m(!0), f(J, null, Se((e.agent.accounts.value || []).filter((z) => B(oe)[z.platform]), (z) => (m(), f("a", {
|
|
4023
4012
|
key: `${z.platform}-${z.handle}`,
|
|
4024
4013
|
href: B(oe)[z.platform].getUrl(z.handle),
|
|
4025
4014
|
target: "_blank",
|
|
4026
4015
|
class: "size-12 rounded-full text-white/60 hover:text-white hover:bg-white/5 border border-white/0 hover:border-white/10 flex items-center justify-center transition-all duration-200 hover:scale-105"
|
|
4027
4016
|
}, [
|
|
4028
|
-
|
|
4017
|
+
b("i", {
|
|
4029
4018
|
class: $([B(oe)[z.platform].icon, "size-5"])
|
|
4030
4019
|
}, null, 2)
|
|
4031
4020
|
], 8, ko))), 128))
|
|
4032
4021
|
])) : S("", !0)
|
|
4033
4022
|
])
|
|
4034
4023
|
])) : n.value === "talk" ? (m(), f("div", yo, [
|
|
4035
|
-
e.requireAuth && !
|
|
4024
|
+
e.requireAuth && !x.value ? (m(), L(Le, {
|
|
4036
4025
|
key: 0,
|
|
4037
4026
|
sdk: e.sdk
|
|
4038
4027
|
}, null, 8, ["sdk"])) : (m(), f(J, { key: 1 }, [
|
|
4039
|
-
|
|
4040
|
-
|
|
4028
|
+
b("div", null, [
|
|
4029
|
+
b("div", wo, [
|
|
4041
4030
|
I(et, {
|
|
4042
4031
|
agent: e.agent,
|
|
4043
|
-
"is-online":
|
|
4032
|
+
"is-online": p.value
|
|
4044
4033
|
}, null, 8, ["agent", "is-online"])
|
|
4045
4034
|
])
|
|
4046
4035
|
]),
|
|
@@ -4050,61 +4039,49 @@ const tt = [
|
|
|
4050
4039
|
}, null, 8, ["chat-controller", "agent"])
|
|
4051
4040
|
], 64))
|
|
4052
4041
|
])) : (m(), f("div", Co, [
|
|
4053
|
-
|
|
4042
|
+
b("div", zo, [
|
|
4054
4043
|
n.value === "chat" ? (m(), f(J, { key: 0 }, [
|
|
4055
|
-
e.requireAuth && !
|
|
4044
|
+
e.requireAuth && !x.value ? (m(), L(Le, {
|
|
4056
4045
|
key: 0,
|
|
4057
4046
|
sdk: e.sdk
|
|
4058
|
-
}, null, 8, ["sdk"])) : (m(),
|
|
4047
|
+
}, null, 8, ["sdk"])) : (m(), L(we, {
|
|
4059
4048
|
key: 1,
|
|
4060
4049
|
"chat-controller": r.value,
|
|
4061
4050
|
agent: e.agent
|
|
4062
4051
|
}, null, 8, ["chat-controller", "agent"]))
|
|
4063
|
-
], 64)) : n.value === "info" ? (m(),
|
|
4052
|
+
], 64)) : n.value === "info" ? (m(), L(Rr, {
|
|
4064
4053
|
key: 1,
|
|
4065
4054
|
agent: e.agent,
|
|
4066
|
-
"is-online":
|
|
4055
|
+
"is-online": p.value
|
|
4067
4056
|
}, null, 8, ["agent", "is-online"])) : S("", !0)
|
|
4068
4057
|
])
|
|
4069
4058
|
]))
|
|
4070
|
-
], 64))
|
|
4071
|
-
i("div", {
|
|
4072
|
-
class: $(["relative z-20 text-center py-5 px-6", n.value === "info" ? "hidden" : ""])
|
|
4073
|
-
}, [...x[12] || (x[12] = [
|
|
4074
|
-
i("a", {
|
|
4075
|
-
href: "https://www.pagelines.com",
|
|
4076
|
-
class: "flex items-center justify-center gap-1.5 text-[10px] font-sans font-normal text-white/50 hover:text-white/70 transition-colors"
|
|
4077
|
-
}, [
|
|
4078
|
-
i("span", { class: "" }, "AI Agent™"),
|
|
4079
|
-
i("span", { class: "text-white/20" }, "by"),
|
|
4080
|
-
i("span", null, "PageLines")
|
|
4081
|
-
], -1)
|
|
4082
|
-
])], 2)
|
|
4059
|
+
], 64))
|
|
4083
4060
|
], 2)
|
|
4084
4061
|
], 12, no)) : s.value ? (m(), f("div", Ao, [
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4062
|
+
b("div", $o, [
|
|
4063
|
+
v[12] || (v[12] = b("div", { class: "flex justify-center" }, [
|
|
4064
|
+
b("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
|
|
4065
|
+
b("i", { class: "i-tabler-alert-circle size-6 text-red-400" })
|
|
4089
4066
|
])
|
|
4090
4067
|
], -1)),
|
|
4091
|
-
|
|
4092
|
-
|
|
4068
|
+
v[13] || (v[13] = b("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
|
|
4069
|
+
b("p", So, R(s.value), 1)
|
|
4093
4070
|
])
|
|
4094
4071
|
])) : (m(), f("div", Mo, " Couldn't load your assistant. Please try again later. ")),
|
|
4095
|
-
e.chatOnly ? S("", !0) : (m(),
|
|
4072
|
+
e.chatOnly ? S("", !0) : (m(), L(ao, {
|
|
4096
4073
|
key: 4,
|
|
4097
|
-
modelValue:
|
|
4098
|
-
"onUpdate:modelValue":
|
|
4074
|
+
modelValue: i.value,
|
|
4075
|
+
"onUpdate:modelValue": v[5] || (v[5] = (z) => i.value = z),
|
|
4099
4076
|
agent: e.agent,
|
|
4100
4077
|
sdk: e.sdk,
|
|
4101
4078
|
title: e.agent.displayName.value,
|
|
4102
4079
|
"data-test": "agent-sidebar"
|
|
4103
4080
|
}, null, 8, ["modelValue", "agent", "sdk", "title"])),
|
|
4104
|
-
e.chatOnly ? S("", !0) : (m(),
|
|
4081
|
+
e.chatOnly ? S("", !0) : (m(), L(oo, {
|
|
4105
4082
|
key: 5,
|
|
4106
4083
|
modelValue: l.value,
|
|
4107
|
-
"onUpdate:modelValue":
|
|
4084
|
+
"onUpdate:modelValue": v[6] || (v[6] = (z) => l.value = z),
|
|
4108
4085
|
"chat-controller": r.value,
|
|
4109
4086
|
"data-test": "agent-mode-sidebar"
|
|
4110
4087
|
}, null, 8, ["modelValue", "chat-controller"]))
|
|
@@ -4127,7 +4104,7 @@ const tt = [
|
|
|
4127
4104
|
emits: ["close", "error"],
|
|
4128
4105
|
setup(e, { emit: a }) {
|
|
4129
4106
|
const t = e, r = a;
|
|
4130
|
-
return (
|
|
4107
|
+
return (i, l) => (m(), L(St, wt(t, { class: "agent-provider size-full relative" }), {
|
|
4131
4108
|
default: F((s) => [
|
|
4132
4109
|
I(Vo, {
|
|
4133
4110
|
sdk: s.sdk,
|
|
@@ -4140,8 +4117,8 @@ const tt = [
|
|
|
4140
4117
|
"chat-only": t.chatOnly,
|
|
4141
4118
|
"is-active": !0,
|
|
4142
4119
|
class: "size-full",
|
|
4143
|
-
onClose: l[0] || (l[0] = (
|
|
4144
|
-
onError: l[1] || (l[1] = (
|
|
4120
|
+
onClose: l[0] || (l[0] = (d) => r("close", d)),
|
|
4121
|
+
onError: l[1] || (l[1] = (d) => r("error", d))
|
|
4145
4122
|
}, null, 8, ["sdk", "agent", "context", "first-message", "button-text", "button-icon", "has-close", "chat-only"])
|
|
4146
4123
|
]),
|
|
4147
4124
|
_: 1
|