@pagelines/sdk 1.0.516 → 1.0.517
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 +706 -635
- 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 +985 -1023
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/agent/AgentController.d.ts +0 -10
- package/dist/agent/schema.d.ts +3 -3
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +26 -12
- package/dist/api.d.ts +2 -18
- package/dist/clients/ChatClient.d.ts +5 -3
- package/dist/clients/types.d.ts +1 -5
- package/dist/contract/test/conversation-wire-shapes.unit.test.d.ts +14 -0
- package/dist/demo/index.d.ts +13 -6
- package/dist/index.js +291 -289
- package/dist/index.js.map +1 -1
- package/dist/sdkClient.d.ts +33 -40
- package/dist/sdkClient.js +357 -324
- package/dist/sdkClient.js.map +1 -1
- package/dist/widget/PLWidget.d.ts +1 -0
- package/dist/widget/composables/useWidgetState.d.ts +39 -18
- package/package.json +6 -7
- package/dist/types/SDKAppType.stub.d.ts +0 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var o = (e, a) =>
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { S as
|
|
5
|
-
import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as
|
|
1
|
+
var pt = Object.defineProperty;
|
|
2
|
+
var o = (e, a) => pt(e, "name", { value: a, configurable: !0 });
|
|
3
|
+
import { defineComponent as q, openBlock as m, createBlock as N, TransitionGroup as Qe, withCtx as F, renderSlot as me, ref as J, computed as A, watch as ze, createElementBlock as p, createElementVNode as b, toDisplayString as P, createCommentVNode as S, createVNode as T, withKeys as xt, createTextVNode as ge, resolveDynamicComponent as vt, normalizeClass as $, Fragment as Z, renderList as Se, unref as R, onMounted as Xe, Transition as Pe, withModifiers as Ae, normalizeStyle as Je, shallowRef as kt, onUnmounted as yt, mergeProps as wt } from "vue";
|
|
4
|
+
import { S as ae } from "./socialPlatforms.js";
|
|
5
|
+
import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as Le, 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
|
{
|
|
@@ -25,14 +25,14 @@ const tt = [
|
|
|
25
25
|
label: "About",
|
|
26
26
|
icon: "i-tabler-user-circle"
|
|
27
27
|
}
|
|
28
|
-
],
|
|
28
|
+
], It = /* @__PURE__ */ q({
|
|
29
29
|
__name: "EffectTransitionList",
|
|
30
30
|
props: {
|
|
31
31
|
disabled: { type: Boolean, default: !1 },
|
|
32
32
|
mode: { default: "block" }
|
|
33
33
|
},
|
|
34
34
|
setup(e) {
|
|
35
|
-
return (a, t) => (m(),
|
|
35
|
+
return (a, t) => (m(), N(Qe, {
|
|
36
36
|
name: e.disabled ? "" : "nlist"
|
|
37
37
|
}, {
|
|
38
38
|
default: F(() => [
|
|
@@ -41,22 +41,22 @@ const tt = [
|
|
|
41
41
|
_: 3
|
|
42
42
|
}, 8, ["name"]));
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), Vt = ["data-test-mode"], Tt = { class: "w-full max-w-xs space-y-12" }, Et = {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "text-xs text-theme-400 text-center"
|
|
47
47
|
}, Ot = { class: "text-base font-light text-white text-center" }, jt = { class: "space-y-6 relative" }, Bt = {
|
|
48
48
|
key: "email-field",
|
|
49
49
|
class: "w-full"
|
|
50
|
-
},
|
|
50
|
+
}, Gt = {
|
|
51
51
|
key: "code-field",
|
|
52
52
|
class: "w-full"
|
|
53
|
-
},
|
|
53
|
+
}, Ne = /* @__PURE__ */ q({
|
|
54
54
|
__name: "ElAuthGate",
|
|
55
55
|
props: {
|
|
56
56
|
sdk: {}
|
|
57
57
|
},
|
|
58
58
|
setup(e) {
|
|
59
|
-
const a =
|
|
59
|
+
const a = J({ email: "", code: "" }), t = J("email"), r = J(!1), l = {
|
|
60
60
|
email: {
|
|
61
61
|
title: "Enter Your Email",
|
|
62
62
|
button: { label: "Continue", disabled: /* @__PURE__ */ o(() => !a.value.email || r.value, "disabled") },
|
|
@@ -85,59 +85,59 @@ const tt = [
|
|
|
85
85
|
}
|
|
86
86
|
}, "action")
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, n = A(() => l[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, i) => (m(), p("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
|
-
e.sdk.error.value ? (m(),
|
|
98
|
-
b("h3", Ot,
|
|
97
|
+
e.sdk.error.value ? (m(), p("p", Et, P(e.sdk.error.value), 1)) : S("", !0),
|
|
98
|
+
b("h3", Ot, P(n.value.title), 1),
|
|
99
99
|
b("div", jt, [
|
|
100
|
-
|
|
100
|
+
T(It, null, {
|
|
101
101
|
default: F(() => [
|
|
102
|
-
t.value === "email" ? (m(),
|
|
103
|
-
|
|
102
|
+
t.value === "email" ? (m(), p("div", Bt, [
|
|
103
|
+
T(Ct, {
|
|
104
104
|
modelValue: a.value.email,
|
|
105
|
-
"onUpdate:modelValue":
|
|
105
|
+
"onUpdate:modelValue": i[0] || (i[0] = (u) => a.value.email = u),
|
|
106
106
|
"data-test": "auth-email-input",
|
|
107
|
-
onKeyup:
|
|
107
|
+
onKeyup: xt(n.value.action, ["enter"])
|
|
108
108
|
}, null, 8, ["modelValue", "onKeyup"])
|
|
109
|
-
])) : (m(),
|
|
110
|
-
|
|
109
|
+
])) : (m(), p("div", Gt, [
|
|
110
|
+
T(zt, {
|
|
111
111
|
modelValue: a.value.code,
|
|
112
|
-
"onUpdate:modelValue":
|
|
112
|
+
"onUpdate:modelValue": i[1] || (i[1] = (u) => a.value.code = u),
|
|
113
113
|
length: 6,
|
|
114
114
|
"focus-first": !0,
|
|
115
115
|
"data-test": "auth-code-input",
|
|
116
|
-
onAutoSubmit:
|
|
116
|
+
onAutoSubmit: n.value.action
|
|
117
117
|
}, null, 8, ["modelValue", "onAutoSubmit"])
|
|
118
118
|
])),
|
|
119
|
-
(m(),
|
|
120
|
-
key:
|
|
119
|
+
(m(), p("div", {
|
|
120
|
+
key: n.value.button.label,
|
|
121
121
|
class: "space-y-4 w-full"
|
|
122
122
|
}, [
|
|
123
|
-
|
|
123
|
+
T(Ze, {
|
|
124
124
|
theme: "primary",
|
|
125
125
|
size: "md",
|
|
126
126
|
class: "w-full",
|
|
127
127
|
"data-test": "auth-submit",
|
|
128
128
|
loading: e.sdk.loading.value,
|
|
129
|
-
disabled:
|
|
130
|
-
onClick:
|
|
129
|
+
disabled: n.value.button.disabled() || e.sdk.loading.value,
|
|
130
|
+
onClick: n.value.action
|
|
131
131
|
}, {
|
|
132
132
|
default: F(() => [
|
|
133
|
-
ge(
|
|
133
|
+
ge(P(n.value.button.label), 1)
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["loading", "disabled", "onClick"]),
|
|
137
|
-
t.value === "code" ? (m(),
|
|
137
|
+
t.value === "code" ? (m(), p("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: i[2] || (i[2] = (u) => t.value = "email")
|
|
141
141
|
}, " Change Email ")) : S("", !0)
|
|
142
142
|
]))
|
|
143
143
|
]),
|
|
@@ -145,24 +145,24 @@ const tt = [
|
|
|
145
145
|
})
|
|
146
146
|
])
|
|
147
147
|
])
|
|
148
|
-
], 8,
|
|
148
|
+
], 8, Vt));
|
|
149
149
|
}
|
|
150
|
-
}),
|
|
150
|
+
}), Rt = /* @__PURE__ */ o((e, a) => {
|
|
151
151
|
const t = new Array(e.length + a.length);
|
|
152
152
|
for (let r = 0; r < e.length; r++)
|
|
153
153
|
t[r] = e[r];
|
|
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"), Pt = /* @__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 = [],
|
|
165
|
-
const a =
|
|
164
|
+
}), "createClassPartObject"), he = "-", Ue = [], Lt = "arbitrary..", Nt = /* @__PURE__ */ o((e) => {
|
|
165
|
+
const a = Wt(e), {
|
|
166
166
|
conflictingClassGroups: t,
|
|
167
167
|
conflictingClassGroupModifiers: r
|
|
168
168
|
} = e;
|
|
@@ -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 i = s.split(he), u = i[0] === "" && i.length > 1 ? 1 : 0;
|
|
174
|
+
return ot(i, u, a);
|
|
175
175
|
}, "getClassGroupId"),
|
|
176
|
-
getConflictingClassGroupIds: /* @__PURE__ */ o((s,
|
|
177
|
-
if (
|
|
178
|
-
const
|
|
179
|
-
return
|
|
176
|
+
getConflictingClassGroupIds: /* @__PURE__ */ o((s, i) => {
|
|
177
|
+
if (i) {
|
|
178
|
+
const u = r[s], h = t[s];
|
|
179
|
+
return u ? h ? Rt(h, u) : u : h || Ue;
|
|
180
180
|
}
|
|
181
181
|
return t[s] || Ue;
|
|
182
182
|
}, "getConflictingClassGroupIds")
|
|
@@ -184,40 +184,40 @@ 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
|
|
188
|
-
if (
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
187
|
+
const l = e[a], n = t.nextPart.get(l);
|
|
188
|
+
if (n) {
|
|
189
|
+
const h = ot(e, a + 1, n);
|
|
190
|
+
if (h) return h;
|
|
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 i = a === 0 ? e.join(he) : e.slice(a).join(he), u = s.length;
|
|
196
|
+
for (let h = 0; h < u; h++) {
|
|
197
|
+
const v = s[h];
|
|
198
|
+
if (v.validator(i))
|
|
199
|
+
return v.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 ?
|
|
204
|
-
})(), "getGroupIdForArbitraryProperty"),
|
|
203
|
+
return r ? Lt + r : void 0;
|
|
204
|
+
})(), "getGroupIdForArbitraryProperty"), Wt = /* @__PURE__ */ o((e) => {
|
|
205
205
|
const {
|
|
206
206
|
theme: a,
|
|
207
207
|
classGroups: t
|
|
208
208
|
} = e;
|
|
209
|
-
return
|
|
210
|
-
}, "createClassMap"),
|
|
209
|
+
return Ft(t, a);
|
|
210
|
+
}, "createClassMap"), Ft = /* @__PURE__ */ o((e, a) => {
|
|
211
211
|
const t = rt();
|
|
212
212
|
for (const r in e) {
|
|
213
|
-
const
|
|
214
|
-
Me(
|
|
213
|
+
const l = e[r];
|
|
214
|
+
Me(l, t, r, a);
|
|
215
215
|
}
|
|
216
216
|
return t;
|
|
217
217
|
}, "processClassGroups"), Me = /* @__PURE__ */ o((e, a, t, r) => {
|
|
218
|
-
const
|
|
219
|
-
for (let
|
|
220
|
-
const s = e[
|
|
218
|
+
const l = e.length;
|
|
219
|
+
for (let n = 0; n < l; n++) {
|
|
220
|
+
const s = e[n];
|
|
221
221
|
qt(s, a, t, r);
|
|
222
222
|
}
|
|
223
223
|
}, "processClassesRecursively"), qt = /* @__PURE__ */ o((e, a, t, r) => {
|
|
@@ -238,23 +238,23 @@ 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(Pt(t, e));
|
|
242
242
|
}, "processFunctionDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
|
|
243
|
-
const
|
|
244
|
-
for (let s = 0; s <
|
|
245
|
-
const [
|
|
246
|
-
Me(
|
|
243
|
+
const l = Object.entries(e), n = l.length;
|
|
244
|
+
for (let s = 0; s < n; s++) {
|
|
245
|
+
const [i, u] = l[s];
|
|
246
|
+
Me(u, at(a, i), 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
|
|
252
|
-
const s = r[
|
|
253
|
-
let
|
|
254
|
-
|
|
250
|
+
const r = a.split(he), l = r.length;
|
|
251
|
+
for (let n = 0; n < l; n++) {
|
|
252
|
+
const s = r[n];
|
|
253
|
+
let i = t.nextPart.get(s);
|
|
254
|
+
i || (i = rt(), t.nextPart.set(s, i)), t = i;
|
|
255
255
|
}
|
|
256
256
|
return t;
|
|
257
|
-
}, "getPart"), Kt = /* @__PURE__ */ o((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"),
|
|
257
|
+
}, "getPart"), Kt = /* @__PURE__ */ o((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"), Qt = /* @__PURE__ */ o((e) => {
|
|
258
258
|
if (e < 1)
|
|
259
259
|
return {
|
|
260
260
|
get: /* @__PURE__ */ o(() => {
|
|
@@ -263,71 +263,71 @@ const tt = [
|
|
|
263
263
|
}, "set")
|
|
264
264
|
};
|
|
265
265
|
let a = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
266
|
-
const
|
|
267
|
-
t[
|
|
266
|
+
const l = /* @__PURE__ */ o((n, s) => {
|
|
267
|
+
t[n] = s, a++, a > e && (a = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
268
268
|
}, "update");
|
|
269
269
|
return {
|
|
270
|
-
get(
|
|
271
|
-
let s = t[
|
|
270
|
+
get(n) {
|
|
271
|
+
let s = t[n];
|
|
272
272
|
if (s !== void 0)
|
|
273
273
|
return s;
|
|
274
|
-
if ((s = r[
|
|
275
|
-
return
|
|
274
|
+
if ((s = r[n]) !== void 0)
|
|
275
|
+
return l(n, s), s;
|
|
276
276
|
},
|
|
277
|
-
set(
|
|
278
|
-
|
|
277
|
+
set(n, s) {
|
|
278
|
+
n in t ? t[n] = s : l(n, s);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
}, "createLruCache"), $e = "!",
|
|
281
|
+
}, "createLruCache"), $e = "!", We = ":", Xt = [], Fe = /* @__PURE__ */ o((e, a, t, r, l) => ({
|
|
282
282
|
modifiers: e,
|
|
283
283
|
hasImportantModifier: a,
|
|
284
284
|
baseClassName: t,
|
|
285
285
|
maybePostfixModifierPosition: r,
|
|
286
|
-
isExternal:
|
|
287
|
-
}), "createResultObject"),
|
|
286
|
+
isExternal: l
|
|
287
|
+
}), "createResultObject"), Jt = /* @__PURE__ */ o((e) => {
|
|
288
288
|
const {
|
|
289
289
|
prefix: a,
|
|
290
290
|
experimentalParseClassName: t
|
|
291
291
|
} = e;
|
|
292
|
-
let r = /* @__PURE__ */ o((
|
|
293
|
-
const
|
|
294
|
-
let s = 0,
|
|
295
|
-
const
|
|
296
|
-
for (let
|
|
297
|
-
const
|
|
298
|
-
if (s === 0 &&
|
|
299
|
-
if (
|
|
300
|
-
|
|
292
|
+
let r = /* @__PURE__ */ o((l) => {
|
|
293
|
+
const n = [];
|
|
294
|
+
let s = 0, i = 0, u = 0, h;
|
|
295
|
+
const v = l.length;
|
|
296
|
+
for (let E = 0; E < v; E++) {
|
|
297
|
+
const G = l[E];
|
|
298
|
+
if (s === 0 && i === 0) {
|
|
299
|
+
if (G === We) {
|
|
300
|
+
n.push(l.slice(u, E)), u = E + 1;
|
|
301
301
|
continue;
|
|
302
302
|
}
|
|
303
|
-
if (
|
|
304
|
-
|
|
303
|
+
if (G === "/") {
|
|
304
|
+
h = E;
|
|
305
305
|
continue;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
G === "[" ? s++ : G === "]" ? s-- : G === "(" ? i++ : G === ")" && i--;
|
|
309
309
|
}
|
|
310
|
-
const w =
|
|
311
|
-
let y = w,
|
|
312
|
-
w.endsWith($e) ? (y = w.slice(0, -1),
|
|
310
|
+
const w = n.length === 0 ? l : l.slice(u);
|
|
311
|
+
let y = w, I = !1;
|
|
312
|
+
w.endsWith($e) ? (y = w.slice(0, -1), I = !0) : (
|
|
313
313
|
/**
|
|
314
314
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
315
315
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
316
316
|
*/
|
|
317
|
-
w.startsWith($e) && (y = w.slice(1),
|
|
317
|
+
w.startsWith($e) && (y = w.slice(1), I = !0)
|
|
318
318
|
);
|
|
319
|
-
const
|
|
320
|
-
return
|
|
319
|
+
const U = h && h > u ? h - u : void 0;
|
|
320
|
+
return Fe(n, I, y, U);
|
|
321
321
|
}, "parseClassName");
|
|
322
322
|
if (a) {
|
|
323
|
-
const
|
|
324
|
-
r = /* @__PURE__ */ o((s) => s.startsWith(
|
|
323
|
+
const l = a + We, n = r;
|
|
324
|
+
r = /* @__PURE__ */ o((s) => s.startsWith(l) ? n(s.slice(l.length)) : Fe(Xt, !1, s, void 0, !0), "parseClassName");
|
|
325
325
|
}
|
|
326
326
|
if (t) {
|
|
327
|
-
const
|
|
328
|
-
r = /* @__PURE__ */ o((
|
|
329
|
-
className:
|
|
330
|
-
parseClassName:
|
|
327
|
+
const l = r;
|
|
328
|
+
r = /* @__PURE__ */ o((n) => t({
|
|
329
|
+
className: n,
|
|
330
|
+
parseClassName: l
|
|
331
331
|
}), "parseClassName");
|
|
332
332
|
}
|
|
333
333
|
return r;
|
|
@@ -337,67 +337,82 @@ const tt = [
|
|
|
337
337
|
a.set(t, 1e6 + r);
|
|
338
338
|
}), (t) => {
|
|
339
339
|
const r = [];
|
|
340
|
-
let
|
|
341
|
-
for (let
|
|
342
|
-
const s = t[
|
|
343
|
-
|
|
340
|
+
let l = [];
|
|
341
|
+
for (let n = 0; n < t.length; n++) {
|
|
342
|
+
const s = t[n], i = s[0] === "[", u = a.has(s);
|
|
343
|
+
i || u ? (l.length > 0 && (l.sort(), r.push(...l), l = []), r.push(s)) : l.push(s);
|
|
344
344
|
}
|
|
345
|
-
return
|
|
345
|
+
return l.length > 0 && (l.sort(), r.push(...l)), r;
|
|
346
346
|
};
|
|
347
347
|
}, "createSortModifiers"), _t = /* @__PURE__ */ o((e) => ({
|
|
348
|
-
cache:
|
|
349
|
-
parseClassName:
|
|
348
|
+
cache: Qt(e.cacheSize),
|
|
349
|
+
parseClassName: Jt(e),
|
|
350
350
|
sortModifiers: Zt(e),
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
postfixLookupClassGroupIds: er(e),
|
|
352
|
+
...Nt(e)
|
|
353
|
+
}), "createConfigUtils"), er = /* @__PURE__ */ o((e) => {
|
|
354
|
+
const a = /* @__PURE__ */ Object.create(null), t = e.postfixLookupClassGroups;
|
|
355
|
+
if (t)
|
|
356
|
+
for (let r = 0; r < t.length; r++)
|
|
357
|
+
a[t[r]] = !0;
|
|
358
|
+
return a;
|
|
359
|
+
}, "createPostfixLookupClassGroupIds"), tr = /\s+/, rr = /* @__PURE__ */ o((e, a) => {
|
|
353
360
|
const {
|
|
354
361
|
parseClassName: t,
|
|
355
362
|
getClassGroupId: r,
|
|
356
|
-
getConflictingClassGroupIds:
|
|
357
|
-
sortModifiers:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
363
|
+
getConflictingClassGroupIds: l,
|
|
364
|
+
sortModifiers: n,
|
|
365
|
+
postfixLookupClassGroupIds: s
|
|
366
|
+
} = a, i = [], u = e.trim().split(tr);
|
|
367
|
+
let h = "";
|
|
368
|
+
for (let v = u.length - 1; v >= 0; v -= 1) {
|
|
369
|
+
const w = u[v], {
|
|
370
|
+
isExternal: y,
|
|
371
|
+
modifiers: I,
|
|
372
|
+
hasImportantModifier: U,
|
|
373
|
+
baseClassName: E,
|
|
374
|
+
maybePostfixModifierPosition: G
|
|
375
|
+
} = t(w);
|
|
376
|
+
if (y) {
|
|
377
|
+
h = w + (h.length > 0 ? " " + h : h);
|
|
370
378
|
continue;
|
|
371
379
|
}
|
|
372
|
-
let
|
|
373
|
-
if (
|
|
374
|
-
|
|
375
|
-
|
|
380
|
+
let Y = !!G, O;
|
|
381
|
+
if (Y) {
|
|
382
|
+
const H = E.substring(0, G);
|
|
383
|
+
O = r(H);
|
|
384
|
+
const g = O && s[O] ? r(E) : void 0;
|
|
385
|
+
g && g !== O && (O = g, Y = !1);
|
|
386
|
+
} else
|
|
387
|
+
O = r(E);
|
|
388
|
+
if (!O) {
|
|
389
|
+
if (!Y) {
|
|
390
|
+
h = w + (h.length > 0 ? " " + h : h);
|
|
376
391
|
continue;
|
|
377
392
|
}
|
|
378
|
-
if (
|
|
379
|
-
|
|
393
|
+
if (O = r(E), !O) {
|
|
394
|
+
h = w + (h.length > 0 ? " " + h : h);
|
|
380
395
|
continue;
|
|
381
396
|
}
|
|
382
|
-
|
|
397
|
+
Y = !1;
|
|
383
398
|
}
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
399
|
+
const C = I.length === 0 ? "" : I.length === 1 ? I[0] : n(I).join(":"), x = U ? C + $e : C, z = x + O;
|
|
400
|
+
if (i.indexOf(z) > -1)
|
|
386
401
|
continue;
|
|
387
|
-
|
|
388
|
-
const
|
|
389
|
-
for (let
|
|
390
|
-
const
|
|
391
|
-
|
|
402
|
+
i.push(z);
|
|
403
|
+
const Q = l(O, Y);
|
|
404
|
+
for (let H = 0; H < Q.length; ++H) {
|
|
405
|
+
const g = Q[H];
|
|
406
|
+
i.push(x + g);
|
|
392
407
|
}
|
|
393
|
-
|
|
408
|
+
h = w + (h.length > 0 ? " " + h : h);
|
|
394
409
|
}
|
|
395
|
-
return
|
|
396
|
-
}, "mergeClassList"),
|
|
397
|
-
let a = 0, t, r,
|
|
410
|
+
return h;
|
|
411
|
+
}, "mergeClassList"), or = /* @__PURE__ */ o((...e) => {
|
|
412
|
+
let a = 0, t, r, l = "";
|
|
398
413
|
for (; a < e.length; )
|
|
399
|
-
(t = e[a++]) && (r = st(t)) && (
|
|
400
|
-
return
|
|
414
|
+
(t = e[a++]) && (r = st(t)) && (l && (l += " "), l += r);
|
|
415
|
+
return l;
|
|
401
416
|
}, "twJoin"), st = /* @__PURE__ */ o((e) => {
|
|
402
417
|
if (typeof e == "string")
|
|
403
418
|
return e;
|
|
@@ -405,35 +420,35 @@ const tt = [
|
|
|
405
420
|
for (let r = 0; r < e.length; r++)
|
|
406
421
|
e[r] && (a = st(e[r])) && (t && (t += " "), t += a);
|
|
407
422
|
return t;
|
|
408
|
-
}, "toValue"),
|
|
409
|
-
let t, r,
|
|
410
|
-
const s = /* @__PURE__ */ o((
|
|
411
|
-
const
|
|
412
|
-
return t = _t(
|
|
413
|
-
}, "initTailwindMerge"),
|
|
414
|
-
const
|
|
415
|
-
if (
|
|
416
|
-
return
|
|
417
|
-
const
|
|
418
|
-
return
|
|
423
|
+
}, "toValue"), ar = /* @__PURE__ */ o((e, ...a) => {
|
|
424
|
+
let t, r, l, n;
|
|
425
|
+
const s = /* @__PURE__ */ o((u) => {
|
|
426
|
+
const h = a.reduce((v, w) => w(v), e());
|
|
427
|
+
return t = _t(h), r = t.cache.get, l = t.cache.set, n = i, i(u);
|
|
428
|
+
}, "initTailwindMerge"), i = /* @__PURE__ */ o((u) => {
|
|
429
|
+
const h = r(u);
|
|
430
|
+
if (h)
|
|
431
|
+
return h;
|
|
432
|
+
const v = rr(u, t);
|
|
433
|
+
return l(u, v), v;
|
|
419
434
|
}, "tailwindMerge");
|
|
420
|
-
return
|
|
421
|
-
}, "createTailwindMerge"),
|
|
422
|
-
const a = /* @__PURE__ */ o((t) => t[e] ||
|
|
435
|
+
return n = s, (...u) => n(or(...u));
|
|
436
|
+
}, "createTailwindMerge"), sr = [], M = /* @__PURE__ */ o((e) => {
|
|
437
|
+
const a = /* @__PURE__ */ o((t) => t[e] || sr, "themeGetter");
|
|
423
438
|
return a.isThemeGetter = !0, a;
|
|
424
|
-
}, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
439
|
+
}, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, nr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, lr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ir = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, dr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, cr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = /* @__PURE__ */ o((e) => nr.test(e), "isFraction"), k = /* @__PURE__ */ o((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), D = /* @__PURE__ */ o((e) => !!e && Number.isInteger(Number(e)), "isInteger"), Ce = /* @__PURE__ */ o((e) => e.endsWith("%") && k(e.slice(0, -1)), "isPercent"), K = /* @__PURE__ */ o((e) => lr.test(e), "isTshirtSize"), it = /* @__PURE__ */ o(() => !0, "isAny"), br = /* @__PURE__ */ o((e) => (
|
|
425
440
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
426
441
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
427
442
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
428
|
-
|
|
429
|
-
), "isLengthOnly"),
|
|
443
|
+
ir.test(e) && !dr.test(e)
|
|
444
|
+
), "isLengthOnly"), Ie = /* @__PURE__ */ o(() => !1, "isNever"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isShadow"), gr = /* @__PURE__ */ o((e) => ur.test(e), "isImage"), hr = /* @__PURE__ */ o((e) => !d(e) && !c(e), "isAnyNonArbitrary"), fr = /* @__PURE__ */ o((e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), "isNamedContainerQuery"), pr = /* @__PURE__ */ o((e) => _(e, ut, Ie), "isArbitrarySize"), d = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), te = /* @__PURE__ */ o((e) => _(e, bt, br), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => _(e, Ar, k), "isArbitraryNumber"), xr = /* @__PURE__ */ o((e) => _(e, gt, it), "isArbitraryWeight"), vr = /* @__PURE__ */ o((e) => _(e, mt, Ie), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => _(e, dt, Ie), "isArbitraryPosition"), kr = /* @__PURE__ */ o((e) => _(e, ct, gr), "isArbitraryImage"), ue = /* @__PURE__ */ o((e) => _(e, ht, mr), "isArbitraryShadow"), c = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => re(e, bt), "isArbitraryVariableLength"), yr = /* @__PURE__ */ o((e) => re(e, mt), "isArbitraryVariableFamilyName"), Ye = /* @__PURE__ */ o((e) => re(e, dt), "isArbitraryVariablePosition"), wr = /* @__PURE__ */ o((e) => re(e, ut), "isArbitraryVariableSize"), Cr = /* @__PURE__ */ o((e) => re(e, ct), "isArbitraryVariableImage"), be = /* @__PURE__ */ o((e) => re(e, ht, !0), "isArbitraryVariableShadow"), zr = /* @__PURE__ */ o((e) => re(e, gt, !0), "isArbitraryVariableWeight"), _ = /* @__PURE__ */ o((e, a, t) => {
|
|
430
445
|
const r = nt.exec(e);
|
|
431
446
|
return r ? r[1] ? a(r[1]) : t(r[2]) : !1;
|
|
432
|
-
}, "getIsArbitraryValue"),
|
|
447
|
+
}, "getIsArbitraryValue"), re = /* @__PURE__ */ o((e, a, t = !1) => {
|
|
433
448
|
const r = lt.exec(e);
|
|
434
449
|
return r ? r[1] ? a(r[1]) : t : !1;
|
|
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"),
|
|
436
|
-
const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"),
|
|
450
|
+
}, "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"), Ar = /* @__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"), $r = /* @__PURE__ */ o(() => {
|
|
451
|
+
const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), l = M("tracking"), n = M("leading"), s = M("breakpoint"), i = M("container"), u = M("spacing"), h = M("radius"), v = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), I = M("drop-shadow"), U = M("blur"), E = M("perspective"), G = M("aspect"), Y = M("ease"), O = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), x = /* @__PURE__ */ o(() => [
|
|
437
452
|
"center",
|
|
438
453
|
"top",
|
|
439
454
|
"bottom",
|
|
@@ -451,51 +466,51 @@ const tt = [
|
|
|
451
466
|
"bottom-left",
|
|
452
467
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
453
468
|
"left-bottom"
|
|
454
|
-
], "scalePosition"), z = /* @__PURE__ */ o(() => [...
|
|
455
|
-
span: ["full",
|
|
456
|
-
},
|
|
457
|
-
position: [
|
|
469
|
+
], "scalePosition"), z = /* @__PURE__ */ o(() => [...x(), c, d], "scalePositionWithArbitrary"), Q = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), H = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [c, d, u], "scaleUnambiguousSpacing"), L = /* @__PURE__ */ o(() => [X, "full", "auto", ...g()], "scaleInset"), Ve = /* @__PURE__ */ o(() => [D, "none", "subgrid", c, d], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
|
|
470
|
+
span: ["full", D, c, d]
|
|
471
|
+
}, D, c, d], "scaleGridColRowStartAndEnd"), ne = /* @__PURE__ */ o(() => [D, "auto", c, d], "scaleGridColRowStartOrEnd"), Ee = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", c, d], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), oe = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), W = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), ee = /* @__PURE__ */ o(() => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), pe = /* @__PURE__ */ o(() => [X, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), xe = /* @__PURE__ */ o(() => [X, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), f = /* @__PURE__ */ o(() => [e, c, d], "scaleColor"), Oe = /* @__PURE__ */ o(() => [...x(), Ye, De, {
|
|
472
|
+
position: [c, d]
|
|
458
473
|
}], "scaleBgPosition"), je = /* @__PURE__ */ o(() => ["no-repeat", {
|
|
459
474
|
repeat: ["", "x", "y", "space", "round"]
|
|
460
|
-
}], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain",
|
|
461
|
-
size: [
|
|
462
|
-
}], "scaleBgSize"),
|
|
475
|
+
}], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain", wr, pr, {
|
|
476
|
+
size: [c, d]
|
|
477
|
+
}], "scaleBgSize"), ve = /* @__PURE__ */ o(() => [Ce, se, te], "scaleGradientStopPosition"), j = /* @__PURE__ */ o(() => [
|
|
463
478
|
// Deprecated since Tailwind CSS v4.0.0
|
|
464
479
|
"",
|
|
465
480
|
"none",
|
|
466
481
|
"full",
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
], "scaleRadius"),
|
|
482
|
+
h,
|
|
483
|
+
c,
|
|
484
|
+
d
|
|
485
|
+
], "scaleRadius"), B = /* @__PURE__ */ o(() => ["", k, se, te], "scaleBorderWidth"), le = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Ge = /* @__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"), Re = /* @__PURE__ */ o(() => [
|
|
471
486
|
// Deprecated since Tailwind CSS v4.0.0
|
|
472
487
|
"",
|
|
473
488
|
"none",
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
], "scaleBlur"), ie = /* @__PURE__ */ o(() => ["none", k,
|
|
489
|
+
U,
|
|
490
|
+
c,
|
|
491
|
+
d
|
|
492
|
+
], "scaleBlur"), ie = /* @__PURE__ */ o(() => ["none", k, c, d], "scaleRotate"), de = /* @__PURE__ */ o(() => ["none", k, c, d], "scaleScale"), ke = /* @__PURE__ */ o(() => [k, c, d], "scaleSkew"), ce = /* @__PURE__ */ o(() => [X, "full", ...g()], "scaleTranslate");
|
|
478
493
|
return {
|
|
479
494
|
cacheSize: 500,
|
|
480
495
|
theme: {
|
|
481
496
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
482
497
|
aspect: ["video"],
|
|
483
|
-
blur: [
|
|
484
|
-
breakpoint: [
|
|
498
|
+
blur: [K],
|
|
499
|
+
breakpoint: [K],
|
|
485
500
|
color: [it],
|
|
486
|
-
container: [
|
|
487
|
-
"drop-shadow": [
|
|
501
|
+
container: [K],
|
|
502
|
+
"drop-shadow": [K],
|
|
488
503
|
ease: ["in", "out", "in-out"],
|
|
489
|
-
font: [
|
|
504
|
+
font: [hr],
|
|
490
505
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
491
|
-
"inset-shadow": [
|
|
506
|
+
"inset-shadow": [K],
|
|
492
507
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
493
508
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
494
|
-
radius: [
|
|
495
|
-
shadow: [
|
|
509
|
+
radius: [K],
|
|
510
|
+
shadow: [K],
|
|
496
511
|
spacing: ["px", k],
|
|
497
|
-
text: [
|
|
498
|
-
"text-shadow": [
|
|
512
|
+
text: [K],
|
|
513
|
+
"text-shadow": [K],
|
|
499
514
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
500
515
|
},
|
|
501
516
|
classGroups: {
|
|
@@ -507,7 +522,7 @@ const tt = [
|
|
|
507
522
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
508
523
|
*/
|
|
509
524
|
aspect: [{
|
|
510
|
-
aspect: ["auto", "square",
|
|
525
|
+
aspect: ["auto", "square", X, d, c, G]
|
|
511
526
|
}],
|
|
512
527
|
/**
|
|
513
528
|
* Container
|
|
@@ -515,12 +530,24 @@ const tt = [
|
|
|
515
530
|
* @deprecated since Tailwind CSS v4.0.0
|
|
516
531
|
*/
|
|
517
532
|
container: ["container"],
|
|
533
|
+
/**
|
|
534
|
+
* Container Type
|
|
535
|
+
* @see https://tailwindcss.com/docs/responsive-design#container-queries
|
|
536
|
+
*/
|
|
537
|
+
"container-type": [{
|
|
538
|
+
"@container": ["", "normal", "size", c, d]
|
|
539
|
+
}],
|
|
540
|
+
/**
|
|
541
|
+
* Container Name
|
|
542
|
+
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
543
|
+
*/
|
|
544
|
+
"container-named": [fr],
|
|
518
545
|
/**
|
|
519
546
|
* Columns
|
|
520
547
|
* @see https://tailwindcss.com/docs/columns
|
|
521
548
|
*/
|
|
522
549
|
columns: [{
|
|
523
|
-
columns: [k,
|
|
550
|
+
columns: [k, d, c, i]
|
|
524
551
|
}],
|
|
525
552
|
/**
|
|
526
553
|
* Break After
|
|
@@ -605,42 +632,42 @@ const tt = [
|
|
|
605
632
|
* @see https://tailwindcss.com/docs/overflow
|
|
606
633
|
*/
|
|
607
634
|
overflow: [{
|
|
608
|
-
overflow:
|
|
635
|
+
overflow: Q()
|
|
609
636
|
}],
|
|
610
637
|
/**
|
|
611
638
|
* Overflow X
|
|
612
639
|
* @see https://tailwindcss.com/docs/overflow
|
|
613
640
|
*/
|
|
614
641
|
"overflow-x": [{
|
|
615
|
-
"overflow-x":
|
|
642
|
+
"overflow-x": Q()
|
|
616
643
|
}],
|
|
617
644
|
/**
|
|
618
645
|
* Overflow Y
|
|
619
646
|
* @see https://tailwindcss.com/docs/overflow
|
|
620
647
|
*/
|
|
621
648
|
"overflow-y": [{
|
|
622
|
-
"overflow-y":
|
|
649
|
+
"overflow-y": Q()
|
|
623
650
|
}],
|
|
624
651
|
/**
|
|
625
652
|
* Overscroll Behavior
|
|
626
653
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
627
654
|
*/
|
|
628
655
|
overscroll: [{
|
|
629
|
-
overscroll:
|
|
656
|
+
overscroll: H()
|
|
630
657
|
}],
|
|
631
658
|
/**
|
|
632
659
|
* Overscroll Behavior X
|
|
633
660
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
634
661
|
*/
|
|
635
662
|
"overscroll-x": [{
|
|
636
|
-
"overscroll-x":
|
|
663
|
+
"overscroll-x": H()
|
|
637
664
|
}],
|
|
638
665
|
/**
|
|
639
666
|
* Overscroll Behavior Y
|
|
640
667
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
641
668
|
*/
|
|
642
669
|
"overscroll-y": [{
|
|
643
|
-
"overscroll-y":
|
|
670
|
+
"overscroll-y": H()
|
|
644
671
|
}],
|
|
645
672
|
/**
|
|
646
673
|
* Position
|
|
@@ -652,21 +679,21 @@ const tt = [
|
|
|
652
679
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
653
680
|
*/
|
|
654
681
|
inset: [{
|
|
655
|
-
inset:
|
|
682
|
+
inset: L()
|
|
656
683
|
}],
|
|
657
684
|
/**
|
|
658
685
|
* Inset Inline
|
|
659
686
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
660
687
|
*/
|
|
661
688
|
"inset-x": [{
|
|
662
|
-
"inset-x":
|
|
689
|
+
"inset-x": L()
|
|
663
690
|
}],
|
|
664
691
|
/**
|
|
665
692
|
* Inset Block
|
|
666
693
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
667
694
|
*/
|
|
668
695
|
"inset-y": [{
|
|
669
|
-
"inset-y":
|
|
696
|
+
"inset-y": L()
|
|
670
697
|
}],
|
|
671
698
|
/**
|
|
672
699
|
* Inset Inline Start
|
|
@@ -674,12 +701,12 @@ const tt = [
|
|
|
674
701
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
675
702
|
*/
|
|
676
703
|
start: [{
|
|
677
|
-
"inset-s":
|
|
704
|
+
"inset-s": L(),
|
|
678
705
|
/**
|
|
679
706
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
680
707
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
681
708
|
*/
|
|
682
|
-
start:
|
|
709
|
+
start: L()
|
|
683
710
|
}],
|
|
684
711
|
/**
|
|
685
712
|
* Inset Inline End
|
|
@@ -687,54 +714,54 @@ const tt = [
|
|
|
687
714
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
688
715
|
*/
|
|
689
716
|
end: [{
|
|
690
|
-
"inset-e":
|
|
717
|
+
"inset-e": L(),
|
|
691
718
|
/**
|
|
692
719
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
693
720
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
694
721
|
*/
|
|
695
|
-
end:
|
|
722
|
+
end: L()
|
|
696
723
|
}],
|
|
697
724
|
/**
|
|
698
725
|
* Inset Block Start
|
|
699
726
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
700
727
|
*/
|
|
701
728
|
"inset-bs": [{
|
|
702
|
-
"inset-bs":
|
|
729
|
+
"inset-bs": L()
|
|
703
730
|
}],
|
|
704
731
|
/**
|
|
705
732
|
* Inset Block End
|
|
706
733
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
707
734
|
*/
|
|
708
735
|
"inset-be": [{
|
|
709
|
-
"inset-be":
|
|
736
|
+
"inset-be": L()
|
|
710
737
|
}],
|
|
711
738
|
/**
|
|
712
739
|
* Top
|
|
713
740
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
714
741
|
*/
|
|
715
742
|
top: [{
|
|
716
|
-
top:
|
|
743
|
+
top: L()
|
|
717
744
|
}],
|
|
718
745
|
/**
|
|
719
746
|
* Right
|
|
720
747
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
721
748
|
*/
|
|
722
749
|
right: [{
|
|
723
|
-
right:
|
|
750
|
+
right: L()
|
|
724
751
|
}],
|
|
725
752
|
/**
|
|
726
753
|
* Bottom
|
|
727
754
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
728
755
|
*/
|
|
729
756
|
bottom: [{
|
|
730
|
-
bottom:
|
|
757
|
+
bottom: L()
|
|
731
758
|
}],
|
|
732
759
|
/**
|
|
733
760
|
* Left
|
|
734
761
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
735
762
|
*/
|
|
736
763
|
left: [{
|
|
737
|
-
left:
|
|
764
|
+
left: L()
|
|
738
765
|
}],
|
|
739
766
|
/**
|
|
740
767
|
* Visibility
|
|
@@ -746,7 +773,7 @@ const tt = [
|
|
|
746
773
|
* @see https://tailwindcss.com/docs/z-index
|
|
747
774
|
*/
|
|
748
775
|
z: [{
|
|
749
|
-
z: [
|
|
776
|
+
z: [D, "auto", c, d]
|
|
750
777
|
}],
|
|
751
778
|
// ------------------------
|
|
752
779
|
// --- Flexbox and Grid ---
|
|
@@ -756,7 +783,7 @@ const tt = [
|
|
|
756
783
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
757
784
|
*/
|
|
758
785
|
basis: [{
|
|
759
|
-
basis: [
|
|
786
|
+
basis: [X, "full", "auto", i, ...g()]
|
|
760
787
|
}],
|
|
761
788
|
/**
|
|
762
789
|
* Flex Direction
|
|
@@ -777,35 +804,35 @@ const tt = [
|
|
|
777
804
|
* @see https://tailwindcss.com/docs/flex
|
|
778
805
|
*/
|
|
779
806
|
flex: [{
|
|
780
|
-
flex: [k,
|
|
807
|
+
flex: [k, X, "auto", "initial", "none", d]
|
|
781
808
|
}],
|
|
782
809
|
/**
|
|
783
810
|
* Flex Grow
|
|
784
811
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
785
812
|
*/
|
|
786
813
|
grow: [{
|
|
787
|
-
grow: ["", k,
|
|
814
|
+
grow: ["", k, c, d]
|
|
788
815
|
}],
|
|
789
816
|
/**
|
|
790
817
|
* Flex Shrink
|
|
791
818
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
792
819
|
*/
|
|
793
820
|
shrink: [{
|
|
794
|
-
shrink: ["", k,
|
|
821
|
+
shrink: ["", k, c, d]
|
|
795
822
|
}],
|
|
796
823
|
/**
|
|
797
824
|
* Order
|
|
798
825
|
* @see https://tailwindcss.com/docs/order
|
|
799
826
|
*/
|
|
800
827
|
order: [{
|
|
801
|
-
order: [
|
|
828
|
+
order: [D, "first", "last", "none", c, d]
|
|
802
829
|
}],
|
|
803
830
|
/**
|
|
804
831
|
* Grid Template Columns
|
|
805
832
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
806
833
|
*/
|
|
807
834
|
"grid-cols": [{
|
|
808
|
-
"grid-cols":
|
|
835
|
+
"grid-cols": Ve()
|
|
809
836
|
}],
|
|
810
837
|
/**
|
|
811
838
|
* Grid Column Start / End
|
|
@@ -833,7 +860,7 @@ const tt = [
|
|
|
833
860
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
834
861
|
*/
|
|
835
862
|
"grid-rows": [{
|
|
836
|
-
"grid-rows":
|
|
863
|
+
"grid-rows": Ve()
|
|
837
864
|
}],
|
|
838
865
|
/**
|
|
839
866
|
* Grid Row Start / End
|
|
@@ -910,14 +937,14 @@ const tt = [
|
|
|
910
937
|
* @see https://tailwindcss.com/docs/justify-items
|
|
911
938
|
*/
|
|
912
939
|
"justify-items": [{
|
|
913
|
-
"justify-items": [...
|
|
940
|
+
"justify-items": [...oe(), "normal"]
|
|
914
941
|
}],
|
|
915
942
|
/**
|
|
916
943
|
* Justify Self
|
|
917
944
|
* @see https://tailwindcss.com/docs/justify-self
|
|
918
945
|
*/
|
|
919
946
|
"justify-self": [{
|
|
920
|
-
"justify-self": ["auto", ...
|
|
947
|
+
"justify-self": ["auto", ...oe()]
|
|
921
948
|
}],
|
|
922
949
|
/**
|
|
923
950
|
* Align Content
|
|
@@ -931,7 +958,7 @@ const tt = [
|
|
|
931
958
|
* @see https://tailwindcss.com/docs/align-items
|
|
932
959
|
*/
|
|
933
960
|
"align-items": [{
|
|
934
|
-
items: [...
|
|
961
|
+
items: [...oe(), {
|
|
935
962
|
baseline: ["", "last"]
|
|
936
963
|
}]
|
|
937
964
|
}],
|
|
@@ -940,7 +967,7 @@ const tt = [
|
|
|
940
967
|
* @see https://tailwindcss.com/docs/align-self
|
|
941
968
|
*/
|
|
942
969
|
"align-self": [{
|
|
943
|
-
self: ["auto", ...
|
|
970
|
+
self: ["auto", ...oe(), {
|
|
944
971
|
baseline: ["", "last"]
|
|
945
972
|
}]
|
|
946
973
|
}],
|
|
@@ -956,14 +983,14 @@ const tt = [
|
|
|
956
983
|
* @see https://tailwindcss.com/docs/place-items
|
|
957
984
|
*/
|
|
958
985
|
"place-items": [{
|
|
959
|
-
"place-items": [...
|
|
986
|
+
"place-items": [...oe(), "baseline"]
|
|
960
987
|
}],
|
|
961
988
|
/**
|
|
962
989
|
* Place Self
|
|
963
990
|
* @see https://tailwindcss.com/docs/place-self
|
|
964
991
|
*/
|
|
965
992
|
"place-self": [{
|
|
966
|
-
"place-self": ["auto", ...
|
|
993
|
+
"place-self": ["auto", ...oe()]
|
|
967
994
|
}],
|
|
968
995
|
// Spacing
|
|
969
996
|
/**
|
|
@@ -1048,77 +1075,77 @@ const tt = [
|
|
|
1048
1075
|
* @see https://tailwindcss.com/docs/margin
|
|
1049
1076
|
*/
|
|
1050
1077
|
m: [{
|
|
1051
|
-
m:
|
|
1078
|
+
m: W()
|
|
1052
1079
|
}],
|
|
1053
1080
|
/**
|
|
1054
1081
|
* Margin Inline
|
|
1055
1082
|
* @see https://tailwindcss.com/docs/margin
|
|
1056
1083
|
*/
|
|
1057
1084
|
mx: [{
|
|
1058
|
-
mx:
|
|
1085
|
+
mx: W()
|
|
1059
1086
|
}],
|
|
1060
1087
|
/**
|
|
1061
1088
|
* Margin Block
|
|
1062
1089
|
* @see https://tailwindcss.com/docs/margin
|
|
1063
1090
|
*/
|
|
1064
1091
|
my: [{
|
|
1065
|
-
my:
|
|
1092
|
+
my: W()
|
|
1066
1093
|
}],
|
|
1067
1094
|
/**
|
|
1068
1095
|
* Margin Inline Start
|
|
1069
1096
|
* @see https://tailwindcss.com/docs/margin
|
|
1070
1097
|
*/
|
|
1071
1098
|
ms: [{
|
|
1072
|
-
ms:
|
|
1099
|
+
ms: W()
|
|
1073
1100
|
}],
|
|
1074
1101
|
/**
|
|
1075
1102
|
* Margin Inline End
|
|
1076
1103
|
* @see https://tailwindcss.com/docs/margin
|
|
1077
1104
|
*/
|
|
1078
1105
|
me: [{
|
|
1079
|
-
me:
|
|
1106
|
+
me: W()
|
|
1080
1107
|
}],
|
|
1081
1108
|
/**
|
|
1082
1109
|
* Margin Block Start
|
|
1083
1110
|
* @see https://tailwindcss.com/docs/margin
|
|
1084
1111
|
*/
|
|
1085
1112
|
mbs: [{
|
|
1086
|
-
mbs:
|
|
1113
|
+
mbs: W()
|
|
1087
1114
|
}],
|
|
1088
1115
|
/**
|
|
1089
1116
|
* Margin Block End
|
|
1090
1117
|
* @see https://tailwindcss.com/docs/margin
|
|
1091
1118
|
*/
|
|
1092
1119
|
mbe: [{
|
|
1093
|
-
mbe:
|
|
1120
|
+
mbe: W()
|
|
1094
1121
|
}],
|
|
1095
1122
|
/**
|
|
1096
1123
|
* Margin Top
|
|
1097
1124
|
* @see https://tailwindcss.com/docs/margin
|
|
1098
1125
|
*/
|
|
1099
1126
|
mt: [{
|
|
1100
|
-
mt:
|
|
1127
|
+
mt: W()
|
|
1101
1128
|
}],
|
|
1102
1129
|
/**
|
|
1103
1130
|
* Margin Right
|
|
1104
1131
|
* @see https://tailwindcss.com/docs/margin
|
|
1105
1132
|
*/
|
|
1106
1133
|
mr: [{
|
|
1107
|
-
mr:
|
|
1134
|
+
mr: W()
|
|
1108
1135
|
}],
|
|
1109
1136
|
/**
|
|
1110
1137
|
* Margin Bottom
|
|
1111
1138
|
* @see https://tailwindcss.com/docs/margin
|
|
1112
1139
|
*/
|
|
1113
1140
|
mb: [{
|
|
1114
|
-
mb:
|
|
1141
|
+
mb: W()
|
|
1115
1142
|
}],
|
|
1116
1143
|
/**
|
|
1117
1144
|
* Margin Left
|
|
1118
1145
|
* @see https://tailwindcss.com/docs/margin
|
|
1119
1146
|
*/
|
|
1120
1147
|
ml: [{
|
|
1121
|
-
ml:
|
|
1148
|
+
ml: W()
|
|
1122
1149
|
}],
|
|
1123
1150
|
/**
|
|
1124
1151
|
* Space Between X
|
|
@@ -1152,56 +1179,56 @@ const tt = [
|
|
|
1152
1179
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1153
1180
|
*/
|
|
1154
1181
|
size: [{
|
|
1155
|
-
size:
|
|
1182
|
+
size: ee()
|
|
1156
1183
|
}],
|
|
1157
1184
|
/**
|
|
1158
1185
|
* Inline Size
|
|
1159
1186
|
* @see https://tailwindcss.com/docs/width
|
|
1160
1187
|
*/
|
|
1161
1188
|
"inline-size": [{
|
|
1162
|
-
inline: ["auto", ...
|
|
1189
|
+
inline: ["auto", ...pe()]
|
|
1163
1190
|
}],
|
|
1164
1191
|
/**
|
|
1165
1192
|
* Min-Inline Size
|
|
1166
1193
|
* @see https://tailwindcss.com/docs/min-width
|
|
1167
1194
|
*/
|
|
1168
1195
|
"min-inline-size": [{
|
|
1169
|
-
"min-inline": ["auto", ...
|
|
1196
|
+
"min-inline": ["auto", ...pe()]
|
|
1170
1197
|
}],
|
|
1171
1198
|
/**
|
|
1172
1199
|
* Max-Inline Size
|
|
1173
1200
|
* @see https://tailwindcss.com/docs/max-width
|
|
1174
1201
|
*/
|
|
1175
1202
|
"max-inline-size": [{
|
|
1176
|
-
"max-inline": ["none", ...
|
|
1203
|
+
"max-inline": ["none", ...pe()]
|
|
1177
1204
|
}],
|
|
1178
1205
|
/**
|
|
1179
1206
|
* Block Size
|
|
1180
1207
|
* @see https://tailwindcss.com/docs/height
|
|
1181
1208
|
*/
|
|
1182
1209
|
"block-size": [{
|
|
1183
|
-
block: ["auto", ...
|
|
1210
|
+
block: ["auto", ...xe()]
|
|
1184
1211
|
}],
|
|
1185
1212
|
/**
|
|
1186
1213
|
* Min-Block Size
|
|
1187
1214
|
* @see https://tailwindcss.com/docs/min-height
|
|
1188
1215
|
*/
|
|
1189
1216
|
"min-block-size": [{
|
|
1190
|
-
"min-block": ["auto", ...
|
|
1217
|
+
"min-block": ["auto", ...xe()]
|
|
1191
1218
|
}],
|
|
1192
1219
|
/**
|
|
1193
1220
|
* Max-Block Size
|
|
1194
1221
|
* @see https://tailwindcss.com/docs/max-height
|
|
1195
1222
|
*/
|
|
1196
1223
|
"max-block-size": [{
|
|
1197
|
-
"max-block": ["none", ...
|
|
1224
|
+
"max-block": ["none", ...xe()]
|
|
1198
1225
|
}],
|
|
1199
1226
|
/**
|
|
1200
1227
|
* Width
|
|
1201
1228
|
* @see https://tailwindcss.com/docs/width
|
|
1202
1229
|
*/
|
|
1203
1230
|
w: [{
|
|
1204
|
-
w: [
|
|
1231
|
+
w: [i, "screen", ...ee()]
|
|
1205
1232
|
}],
|
|
1206
1233
|
/**
|
|
1207
1234
|
* Min-Width
|
|
@@ -1209,11 +1236,11 @@ const tt = [
|
|
|
1209
1236
|
*/
|
|
1210
1237
|
"min-w": [{
|
|
1211
1238
|
"min-w": [
|
|
1212
|
-
|
|
1239
|
+
i,
|
|
1213
1240
|
"screen",
|
|
1214
1241
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1215
1242
|
"none",
|
|
1216
|
-
...
|
|
1243
|
+
...ee()
|
|
1217
1244
|
]
|
|
1218
1245
|
}],
|
|
1219
1246
|
/**
|
|
@@ -1222,7 +1249,7 @@ const tt = [
|
|
|
1222
1249
|
*/
|
|
1223
1250
|
"max-w": [{
|
|
1224
1251
|
"max-w": [
|
|
1225
|
-
|
|
1252
|
+
i,
|
|
1226
1253
|
"screen",
|
|
1227
1254
|
"none",
|
|
1228
1255
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1231,7 +1258,7 @@ const tt = [
|
|
|
1231
1258
|
{
|
|
1232
1259
|
screen: [s]
|
|
1233
1260
|
},
|
|
1234
|
-
...
|
|
1261
|
+
...ee()
|
|
1235
1262
|
]
|
|
1236
1263
|
}],
|
|
1237
1264
|
/**
|
|
@@ -1239,21 +1266,21 @@ const tt = [
|
|
|
1239
1266
|
* @see https://tailwindcss.com/docs/height
|
|
1240
1267
|
*/
|
|
1241
1268
|
h: [{
|
|
1242
|
-
h: ["screen", "lh", ...
|
|
1269
|
+
h: ["screen", "lh", ...ee()]
|
|
1243
1270
|
}],
|
|
1244
1271
|
/**
|
|
1245
1272
|
* Min-Height
|
|
1246
1273
|
* @see https://tailwindcss.com/docs/min-height
|
|
1247
1274
|
*/
|
|
1248
1275
|
"min-h": [{
|
|
1249
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1276
|
+
"min-h": ["screen", "lh", "none", ...ee()]
|
|
1250
1277
|
}],
|
|
1251
1278
|
/**
|
|
1252
1279
|
* Max-Height
|
|
1253
1280
|
* @see https://tailwindcss.com/docs/max-height
|
|
1254
1281
|
*/
|
|
1255
1282
|
"max-h": [{
|
|
1256
|
-
"max-h": ["screen", "lh", ...
|
|
1283
|
+
"max-h": ["screen", "lh", ...ee()]
|
|
1257
1284
|
}],
|
|
1258
1285
|
// ------------------
|
|
1259
1286
|
// --- Typography ---
|
|
@@ -1263,7 +1290,7 @@ const tt = [
|
|
|
1263
1290
|
* @see https://tailwindcss.com/docs/font-size
|
|
1264
1291
|
*/
|
|
1265
1292
|
"font-size": [{
|
|
1266
|
-
text: ["base", t, se,
|
|
1293
|
+
text: ["base", t, se, te]
|
|
1267
1294
|
}],
|
|
1268
1295
|
/**
|
|
1269
1296
|
* Font Smoothing
|
|
@@ -1280,28 +1307,28 @@ const tt = [
|
|
|
1280
1307
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1281
1308
|
*/
|
|
1282
1309
|
"font-weight": [{
|
|
1283
|
-
font: [r,
|
|
1310
|
+
font: [r, zr, xr]
|
|
1284
1311
|
}],
|
|
1285
1312
|
/**
|
|
1286
1313
|
* Font Stretch
|
|
1287
1314
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1288
1315
|
*/
|
|
1289
1316
|
"font-stretch": [{
|
|
1290
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce,
|
|
1317
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, d]
|
|
1291
1318
|
}],
|
|
1292
1319
|
/**
|
|
1293
1320
|
* Font Family
|
|
1294
1321
|
* @see https://tailwindcss.com/docs/font-family
|
|
1295
1322
|
*/
|
|
1296
1323
|
"font-family": [{
|
|
1297
|
-
font: [
|
|
1324
|
+
font: [yr, vr, a]
|
|
1298
1325
|
}],
|
|
1299
1326
|
/**
|
|
1300
1327
|
* Font Feature Settings
|
|
1301
1328
|
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1302
1329
|
*/
|
|
1303
1330
|
"font-features": [{
|
|
1304
|
-
"font-features": [
|
|
1331
|
+
"font-features": [d]
|
|
1305
1332
|
}],
|
|
1306
1333
|
/**
|
|
1307
1334
|
* Font Variant Numeric
|
|
@@ -1338,14 +1365,14 @@ const tt = [
|
|
|
1338
1365
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1339
1366
|
*/
|
|
1340
1367
|
tracking: [{
|
|
1341
|
-
tracking: [
|
|
1368
|
+
tracking: [l, c, d]
|
|
1342
1369
|
}],
|
|
1343
1370
|
/**
|
|
1344
1371
|
* Line Clamp
|
|
1345
1372
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1346
1373
|
*/
|
|
1347
1374
|
"line-clamp": [{
|
|
1348
|
-
"line-clamp": [k, "none",
|
|
1375
|
+
"line-clamp": [k, "none", c, qe]
|
|
1349
1376
|
}],
|
|
1350
1377
|
/**
|
|
1351
1378
|
* Line Height
|
|
@@ -1354,7 +1381,7 @@ const tt = [
|
|
|
1354
1381
|
leading: [{
|
|
1355
1382
|
leading: [
|
|
1356
1383
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1357
|
-
|
|
1384
|
+
n,
|
|
1358
1385
|
...g()
|
|
1359
1386
|
]
|
|
1360
1387
|
}],
|
|
@@ -1363,7 +1390,7 @@ const tt = [
|
|
|
1363
1390
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1364
1391
|
*/
|
|
1365
1392
|
"list-image": [{
|
|
1366
|
-
"list-image": ["none",
|
|
1393
|
+
"list-image": ["none", c, d]
|
|
1367
1394
|
}],
|
|
1368
1395
|
/**
|
|
1369
1396
|
* List Style Position
|
|
@@ -1377,7 +1404,7 @@ const tt = [
|
|
|
1377
1404
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1378
1405
|
*/
|
|
1379
1406
|
"list-style-type": [{
|
|
1380
|
-
list: ["disc", "decimal", "none",
|
|
1407
|
+
list: ["disc", "decimal", "none", c, d]
|
|
1381
1408
|
}],
|
|
1382
1409
|
/**
|
|
1383
1410
|
* Text Alignment
|
|
@@ -1392,14 +1419,14 @@ const tt = [
|
|
|
1392
1419
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1393
1420
|
*/
|
|
1394
1421
|
"placeholder-color": [{
|
|
1395
|
-
placeholder:
|
|
1422
|
+
placeholder: f()
|
|
1396
1423
|
}],
|
|
1397
1424
|
/**
|
|
1398
1425
|
* Text Color
|
|
1399
1426
|
* @see https://tailwindcss.com/docs/text-color
|
|
1400
1427
|
*/
|
|
1401
1428
|
"text-color": [{
|
|
1402
|
-
text:
|
|
1429
|
+
text: f()
|
|
1403
1430
|
}],
|
|
1404
1431
|
/**
|
|
1405
1432
|
* Text Decoration
|
|
@@ -1418,21 +1445,21 @@ const tt = [
|
|
|
1418
1445
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1419
1446
|
*/
|
|
1420
1447
|
"text-decoration-thickness": [{
|
|
1421
|
-
decoration: [k, "from-font", "auto",
|
|
1448
|
+
decoration: [k, "from-font", "auto", c, te]
|
|
1422
1449
|
}],
|
|
1423
1450
|
/**
|
|
1424
1451
|
* Text Decoration Color
|
|
1425
1452
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1426
1453
|
*/
|
|
1427
1454
|
"text-decoration-color": [{
|
|
1428
|
-
decoration:
|
|
1455
|
+
decoration: f()
|
|
1429
1456
|
}],
|
|
1430
1457
|
/**
|
|
1431
1458
|
* Text Underline Offset
|
|
1432
1459
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1433
1460
|
*/
|
|
1434
1461
|
"underline-offset": [{
|
|
1435
|
-
"underline-offset": [k, "auto",
|
|
1462
|
+
"underline-offset": [k, "auto", c, d]
|
|
1436
1463
|
}],
|
|
1437
1464
|
/**
|
|
1438
1465
|
* Text Transform
|
|
@@ -1458,12 +1485,19 @@ const tt = [
|
|
|
1458
1485
|
indent: [{
|
|
1459
1486
|
indent: g()
|
|
1460
1487
|
}],
|
|
1488
|
+
/**
|
|
1489
|
+
* Tab Size
|
|
1490
|
+
* @see https://tailwindcss.com/docs/tab-size
|
|
1491
|
+
*/
|
|
1492
|
+
"tab-size": [{
|
|
1493
|
+
tab: [D, c, d]
|
|
1494
|
+
}],
|
|
1461
1495
|
/**
|
|
1462
1496
|
* Vertical Alignment
|
|
1463
1497
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1464
1498
|
*/
|
|
1465
1499
|
"vertical-align": [{
|
|
1466
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1500
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, d]
|
|
1467
1501
|
}],
|
|
1468
1502
|
/**
|
|
1469
1503
|
* Whitespace
|
|
@@ -1498,7 +1532,7 @@ const tt = [
|
|
|
1498
1532
|
* @see https://tailwindcss.com/docs/content
|
|
1499
1533
|
*/
|
|
1500
1534
|
content: [{
|
|
1501
|
-
content: ["none",
|
|
1535
|
+
content: ["none", c, d]
|
|
1502
1536
|
}],
|
|
1503
1537
|
// -------------------
|
|
1504
1538
|
// --- Backgrounds ---
|
|
@@ -1553,59 +1587,59 @@ const tt = [
|
|
|
1553
1587
|
bg: ["none", {
|
|
1554
1588
|
linear: [{
|
|
1555
1589
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1556
|
-
},
|
|
1557
|
-
radial: ["",
|
|
1558
|
-
conic: [
|
|
1559
|
-
},
|
|
1590
|
+
}, D, c, d],
|
|
1591
|
+
radial: ["", c, d],
|
|
1592
|
+
conic: [D, c, d]
|
|
1593
|
+
}, Cr, kr]
|
|
1560
1594
|
}],
|
|
1561
1595
|
/**
|
|
1562
1596
|
* Background Color
|
|
1563
1597
|
* @see https://tailwindcss.com/docs/background-color
|
|
1564
1598
|
*/
|
|
1565
1599
|
"bg-color": [{
|
|
1566
|
-
bg:
|
|
1600
|
+
bg: f()
|
|
1567
1601
|
}],
|
|
1568
1602
|
/**
|
|
1569
1603
|
* Gradient Color Stops From Position
|
|
1570
1604
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1571
1605
|
*/
|
|
1572
1606
|
"gradient-from-pos": [{
|
|
1573
|
-
from:
|
|
1607
|
+
from: ve()
|
|
1574
1608
|
}],
|
|
1575
1609
|
/**
|
|
1576
1610
|
* Gradient Color Stops Via Position
|
|
1577
1611
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1578
1612
|
*/
|
|
1579
1613
|
"gradient-via-pos": [{
|
|
1580
|
-
via:
|
|
1614
|
+
via: ve()
|
|
1581
1615
|
}],
|
|
1582
1616
|
/**
|
|
1583
1617
|
* Gradient Color Stops To Position
|
|
1584
1618
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1585
1619
|
*/
|
|
1586
1620
|
"gradient-to-pos": [{
|
|
1587
|
-
to:
|
|
1621
|
+
to: ve()
|
|
1588
1622
|
}],
|
|
1589
1623
|
/**
|
|
1590
1624
|
* Gradient Color Stops From
|
|
1591
1625
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1592
1626
|
*/
|
|
1593
1627
|
"gradient-from": [{
|
|
1594
|
-
from:
|
|
1628
|
+
from: f()
|
|
1595
1629
|
}],
|
|
1596
1630
|
/**
|
|
1597
1631
|
* Gradient Color Stops Via
|
|
1598
1632
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1599
1633
|
*/
|
|
1600
1634
|
"gradient-via": [{
|
|
1601
|
-
via:
|
|
1635
|
+
via: f()
|
|
1602
1636
|
}],
|
|
1603
1637
|
/**
|
|
1604
1638
|
* Gradient Color Stops To
|
|
1605
1639
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1606
1640
|
*/
|
|
1607
1641
|
"gradient-to": [{
|
|
1608
|
-
to:
|
|
1642
|
+
to: f()
|
|
1609
1643
|
}],
|
|
1610
1644
|
// ---------------
|
|
1611
1645
|
// --- Borders ---
|
|
@@ -1615,189 +1649,189 @@ const tt = [
|
|
|
1615
1649
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1616
1650
|
*/
|
|
1617
1651
|
rounded: [{
|
|
1618
|
-
rounded:
|
|
1652
|
+
rounded: j()
|
|
1619
1653
|
}],
|
|
1620
1654
|
/**
|
|
1621
1655
|
* Border Radius Start
|
|
1622
1656
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1623
1657
|
*/
|
|
1624
1658
|
"rounded-s": [{
|
|
1625
|
-
"rounded-s":
|
|
1659
|
+
"rounded-s": j()
|
|
1626
1660
|
}],
|
|
1627
1661
|
/**
|
|
1628
1662
|
* Border Radius End
|
|
1629
1663
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1630
1664
|
*/
|
|
1631
1665
|
"rounded-e": [{
|
|
1632
|
-
"rounded-e":
|
|
1666
|
+
"rounded-e": j()
|
|
1633
1667
|
}],
|
|
1634
1668
|
/**
|
|
1635
1669
|
* Border Radius Top
|
|
1636
1670
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1637
1671
|
*/
|
|
1638
1672
|
"rounded-t": [{
|
|
1639
|
-
"rounded-t":
|
|
1673
|
+
"rounded-t": j()
|
|
1640
1674
|
}],
|
|
1641
1675
|
/**
|
|
1642
1676
|
* Border Radius Right
|
|
1643
1677
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1644
1678
|
*/
|
|
1645
1679
|
"rounded-r": [{
|
|
1646
|
-
"rounded-r":
|
|
1680
|
+
"rounded-r": j()
|
|
1647
1681
|
}],
|
|
1648
1682
|
/**
|
|
1649
1683
|
* Border Radius Bottom
|
|
1650
1684
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1651
1685
|
*/
|
|
1652
1686
|
"rounded-b": [{
|
|
1653
|
-
"rounded-b":
|
|
1687
|
+
"rounded-b": j()
|
|
1654
1688
|
}],
|
|
1655
1689
|
/**
|
|
1656
1690
|
* Border Radius Left
|
|
1657
1691
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1658
1692
|
*/
|
|
1659
1693
|
"rounded-l": [{
|
|
1660
|
-
"rounded-l":
|
|
1694
|
+
"rounded-l": j()
|
|
1661
1695
|
}],
|
|
1662
1696
|
/**
|
|
1663
1697
|
* Border Radius Start Start
|
|
1664
1698
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1665
1699
|
*/
|
|
1666
1700
|
"rounded-ss": [{
|
|
1667
|
-
"rounded-ss":
|
|
1701
|
+
"rounded-ss": j()
|
|
1668
1702
|
}],
|
|
1669
1703
|
/**
|
|
1670
1704
|
* Border Radius Start End
|
|
1671
1705
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1672
1706
|
*/
|
|
1673
1707
|
"rounded-se": [{
|
|
1674
|
-
"rounded-se":
|
|
1708
|
+
"rounded-se": j()
|
|
1675
1709
|
}],
|
|
1676
1710
|
/**
|
|
1677
1711
|
* Border Radius End End
|
|
1678
1712
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1679
1713
|
*/
|
|
1680
1714
|
"rounded-ee": [{
|
|
1681
|
-
"rounded-ee":
|
|
1715
|
+
"rounded-ee": j()
|
|
1682
1716
|
}],
|
|
1683
1717
|
/**
|
|
1684
1718
|
* Border Radius End Start
|
|
1685
1719
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1686
1720
|
*/
|
|
1687
1721
|
"rounded-es": [{
|
|
1688
|
-
"rounded-es":
|
|
1722
|
+
"rounded-es": j()
|
|
1689
1723
|
}],
|
|
1690
1724
|
/**
|
|
1691
1725
|
* Border Radius Top Left
|
|
1692
1726
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1693
1727
|
*/
|
|
1694
1728
|
"rounded-tl": [{
|
|
1695
|
-
"rounded-tl":
|
|
1729
|
+
"rounded-tl": j()
|
|
1696
1730
|
}],
|
|
1697
1731
|
/**
|
|
1698
1732
|
* Border Radius Top Right
|
|
1699
1733
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1700
1734
|
*/
|
|
1701
1735
|
"rounded-tr": [{
|
|
1702
|
-
"rounded-tr":
|
|
1736
|
+
"rounded-tr": j()
|
|
1703
1737
|
}],
|
|
1704
1738
|
/**
|
|
1705
1739
|
* Border Radius Bottom Right
|
|
1706
1740
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1707
1741
|
*/
|
|
1708
1742
|
"rounded-br": [{
|
|
1709
|
-
"rounded-br":
|
|
1743
|
+
"rounded-br": j()
|
|
1710
1744
|
}],
|
|
1711
1745
|
/**
|
|
1712
1746
|
* Border Radius Bottom Left
|
|
1713
1747
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1714
1748
|
*/
|
|
1715
1749
|
"rounded-bl": [{
|
|
1716
|
-
"rounded-bl":
|
|
1750
|
+
"rounded-bl": j()
|
|
1717
1751
|
}],
|
|
1718
1752
|
/**
|
|
1719
1753
|
* Border Width
|
|
1720
1754
|
* @see https://tailwindcss.com/docs/border-width
|
|
1721
1755
|
*/
|
|
1722
1756
|
"border-w": [{
|
|
1723
|
-
border:
|
|
1757
|
+
border: B()
|
|
1724
1758
|
}],
|
|
1725
1759
|
/**
|
|
1726
1760
|
* Border Width Inline
|
|
1727
1761
|
* @see https://tailwindcss.com/docs/border-width
|
|
1728
1762
|
*/
|
|
1729
1763
|
"border-w-x": [{
|
|
1730
|
-
"border-x":
|
|
1764
|
+
"border-x": B()
|
|
1731
1765
|
}],
|
|
1732
1766
|
/**
|
|
1733
1767
|
* Border Width Block
|
|
1734
1768
|
* @see https://tailwindcss.com/docs/border-width
|
|
1735
1769
|
*/
|
|
1736
1770
|
"border-w-y": [{
|
|
1737
|
-
"border-y":
|
|
1771
|
+
"border-y": B()
|
|
1738
1772
|
}],
|
|
1739
1773
|
/**
|
|
1740
1774
|
* Border Width Inline Start
|
|
1741
1775
|
* @see https://tailwindcss.com/docs/border-width
|
|
1742
1776
|
*/
|
|
1743
1777
|
"border-w-s": [{
|
|
1744
|
-
"border-s":
|
|
1778
|
+
"border-s": B()
|
|
1745
1779
|
}],
|
|
1746
1780
|
/**
|
|
1747
1781
|
* Border Width Inline End
|
|
1748
1782
|
* @see https://tailwindcss.com/docs/border-width
|
|
1749
1783
|
*/
|
|
1750
1784
|
"border-w-e": [{
|
|
1751
|
-
"border-e":
|
|
1785
|
+
"border-e": B()
|
|
1752
1786
|
}],
|
|
1753
1787
|
/**
|
|
1754
1788
|
* Border Width Block Start
|
|
1755
1789
|
* @see https://tailwindcss.com/docs/border-width
|
|
1756
1790
|
*/
|
|
1757
1791
|
"border-w-bs": [{
|
|
1758
|
-
"border-bs":
|
|
1792
|
+
"border-bs": B()
|
|
1759
1793
|
}],
|
|
1760
1794
|
/**
|
|
1761
1795
|
* Border Width Block End
|
|
1762
1796
|
* @see https://tailwindcss.com/docs/border-width
|
|
1763
1797
|
*/
|
|
1764
1798
|
"border-w-be": [{
|
|
1765
|
-
"border-be":
|
|
1799
|
+
"border-be": B()
|
|
1766
1800
|
}],
|
|
1767
1801
|
/**
|
|
1768
1802
|
* Border Width Top
|
|
1769
1803
|
* @see https://tailwindcss.com/docs/border-width
|
|
1770
1804
|
*/
|
|
1771
1805
|
"border-w-t": [{
|
|
1772
|
-
"border-t":
|
|
1806
|
+
"border-t": B()
|
|
1773
1807
|
}],
|
|
1774
1808
|
/**
|
|
1775
1809
|
* Border Width Right
|
|
1776
1810
|
* @see https://tailwindcss.com/docs/border-width
|
|
1777
1811
|
*/
|
|
1778
1812
|
"border-w-r": [{
|
|
1779
|
-
"border-r":
|
|
1813
|
+
"border-r": B()
|
|
1780
1814
|
}],
|
|
1781
1815
|
/**
|
|
1782
1816
|
* Border Width Bottom
|
|
1783
1817
|
* @see https://tailwindcss.com/docs/border-width
|
|
1784
1818
|
*/
|
|
1785
1819
|
"border-w-b": [{
|
|
1786
|
-
"border-b":
|
|
1820
|
+
"border-b": B()
|
|
1787
1821
|
}],
|
|
1788
1822
|
/**
|
|
1789
1823
|
* Border Width Left
|
|
1790
1824
|
* @see https://tailwindcss.com/docs/border-width
|
|
1791
1825
|
*/
|
|
1792
1826
|
"border-w-l": [{
|
|
1793
|
-
"border-l":
|
|
1827
|
+
"border-l": B()
|
|
1794
1828
|
}],
|
|
1795
1829
|
/**
|
|
1796
1830
|
* Divide Width X
|
|
1797
1831
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1798
1832
|
*/
|
|
1799
1833
|
"divide-x": [{
|
|
1800
|
-
"divide-x":
|
|
1834
|
+
"divide-x": B()
|
|
1801
1835
|
}],
|
|
1802
1836
|
/**
|
|
1803
1837
|
* Divide Width X Reverse
|
|
@@ -1809,7 +1843,7 @@ const tt = [
|
|
|
1809
1843
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1810
1844
|
*/
|
|
1811
1845
|
"divide-y": [{
|
|
1812
|
-
"divide-y":
|
|
1846
|
+
"divide-y": B()
|
|
1813
1847
|
}],
|
|
1814
1848
|
/**
|
|
1815
1849
|
* Divide Width Y Reverse
|
|
@@ -1835,84 +1869,84 @@ const tt = [
|
|
|
1835
1869
|
* @see https://tailwindcss.com/docs/border-color
|
|
1836
1870
|
*/
|
|
1837
1871
|
"border-color": [{
|
|
1838
|
-
border:
|
|
1872
|
+
border: f()
|
|
1839
1873
|
}],
|
|
1840
1874
|
/**
|
|
1841
1875
|
* Border Color Inline
|
|
1842
1876
|
* @see https://tailwindcss.com/docs/border-color
|
|
1843
1877
|
*/
|
|
1844
1878
|
"border-color-x": [{
|
|
1845
|
-
"border-x":
|
|
1879
|
+
"border-x": f()
|
|
1846
1880
|
}],
|
|
1847
1881
|
/**
|
|
1848
1882
|
* Border Color Block
|
|
1849
1883
|
* @see https://tailwindcss.com/docs/border-color
|
|
1850
1884
|
*/
|
|
1851
1885
|
"border-color-y": [{
|
|
1852
|
-
"border-y":
|
|
1886
|
+
"border-y": f()
|
|
1853
1887
|
}],
|
|
1854
1888
|
/**
|
|
1855
1889
|
* Border Color Inline Start
|
|
1856
1890
|
* @see https://tailwindcss.com/docs/border-color
|
|
1857
1891
|
*/
|
|
1858
1892
|
"border-color-s": [{
|
|
1859
|
-
"border-s":
|
|
1893
|
+
"border-s": f()
|
|
1860
1894
|
}],
|
|
1861
1895
|
/**
|
|
1862
1896
|
* Border Color Inline End
|
|
1863
1897
|
* @see https://tailwindcss.com/docs/border-color
|
|
1864
1898
|
*/
|
|
1865
1899
|
"border-color-e": [{
|
|
1866
|
-
"border-e":
|
|
1900
|
+
"border-e": f()
|
|
1867
1901
|
}],
|
|
1868
1902
|
/**
|
|
1869
1903
|
* Border Color Block Start
|
|
1870
1904
|
* @see https://tailwindcss.com/docs/border-color
|
|
1871
1905
|
*/
|
|
1872
1906
|
"border-color-bs": [{
|
|
1873
|
-
"border-bs":
|
|
1907
|
+
"border-bs": f()
|
|
1874
1908
|
}],
|
|
1875
1909
|
/**
|
|
1876
1910
|
* Border Color Block End
|
|
1877
1911
|
* @see https://tailwindcss.com/docs/border-color
|
|
1878
1912
|
*/
|
|
1879
1913
|
"border-color-be": [{
|
|
1880
|
-
"border-be":
|
|
1914
|
+
"border-be": f()
|
|
1881
1915
|
}],
|
|
1882
1916
|
/**
|
|
1883
1917
|
* Border Color Top
|
|
1884
1918
|
* @see https://tailwindcss.com/docs/border-color
|
|
1885
1919
|
*/
|
|
1886
1920
|
"border-color-t": [{
|
|
1887
|
-
"border-t":
|
|
1921
|
+
"border-t": f()
|
|
1888
1922
|
}],
|
|
1889
1923
|
/**
|
|
1890
1924
|
* Border Color Right
|
|
1891
1925
|
* @see https://tailwindcss.com/docs/border-color
|
|
1892
1926
|
*/
|
|
1893
1927
|
"border-color-r": [{
|
|
1894
|
-
"border-r":
|
|
1928
|
+
"border-r": f()
|
|
1895
1929
|
}],
|
|
1896
1930
|
/**
|
|
1897
1931
|
* Border Color Bottom
|
|
1898
1932
|
* @see https://tailwindcss.com/docs/border-color
|
|
1899
1933
|
*/
|
|
1900
1934
|
"border-color-b": [{
|
|
1901
|
-
"border-b":
|
|
1935
|
+
"border-b": f()
|
|
1902
1936
|
}],
|
|
1903
1937
|
/**
|
|
1904
1938
|
* Border Color Left
|
|
1905
1939
|
* @see https://tailwindcss.com/docs/border-color
|
|
1906
1940
|
*/
|
|
1907
1941
|
"border-color-l": [{
|
|
1908
|
-
"border-l":
|
|
1942
|
+
"border-l": f()
|
|
1909
1943
|
}],
|
|
1910
1944
|
/**
|
|
1911
1945
|
* Divide Color
|
|
1912
1946
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1913
1947
|
*/
|
|
1914
1948
|
"divide-color": [{
|
|
1915
|
-
divide:
|
|
1949
|
+
divide: f()
|
|
1916
1950
|
}],
|
|
1917
1951
|
/**
|
|
1918
1952
|
* Outline Style
|
|
@@ -1926,21 +1960,21 @@ const tt = [
|
|
|
1926
1960
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1927
1961
|
*/
|
|
1928
1962
|
"outline-offset": [{
|
|
1929
|
-
"outline-offset": [k,
|
|
1963
|
+
"outline-offset": [k, c, d]
|
|
1930
1964
|
}],
|
|
1931
1965
|
/**
|
|
1932
1966
|
* Outline Width
|
|
1933
1967
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1934
1968
|
*/
|
|
1935
1969
|
"outline-w": [{
|
|
1936
|
-
outline: ["", k, se,
|
|
1970
|
+
outline: ["", k, se, te]
|
|
1937
1971
|
}],
|
|
1938
1972
|
/**
|
|
1939
1973
|
* Outline Color
|
|
1940
1974
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1941
1975
|
*/
|
|
1942
1976
|
"outline-color": [{
|
|
1943
|
-
outline:
|
|
1977
|
+
outline: f()
|
|
1944
1978
|
}],
|
|
1945
1979
|
// ---------------
|
|
1946
1980
|
// --- Effects ---
|
|
@@ -1954,7 +1988,7 @@ const tt = [
|
|
|
1954
1988
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1955
1989
|
"",
|
|
1956
1990
|
"none",
|
|
1957
|
-
|
|
1991
|
+
v,
|
|
1958
1992
|
be,
|
|
1959
1993
|
ue
|
|
1960
1994
|
]
|
|
@@ -1964,7 +1998,7 @@ const tt = [
|
|
|
1964
1998
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1965
1999
|
*/
|
|
1966
2000
|
"shadow-color": [{
|
|
1967
|
-
shadow:
|
|
2001
|
+
shadow: f()
|
|
1968
2002
|
}],
|
|
1969
2003
|
/**
|
|
1970
2004
|
* Inset Box Shadow
|
|
@@ -1978,14 +2012,14 @@ const tt = [
|
|
|
1978
2012
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1979
2013
|
*/
|
|
1980
2014
|
"inset-shadow-color": [{
|
|
1981
|
-
"inset-shadow":
|
|
2015
|
+
"inset-shadow": f()
|
|
1982
2016
|
}],
|
|
1983
2017
|
/**
|
|
1984
2018
|
* Ring Width
|
|
1985
2019
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1986
2020
|
*/
|
|
1987
2021
|
"ring-w": [{
|
|
1988
|
-
ring:
|
|
2022
|
+
ring: B()
|
|
1989
2023
|
}],
|
|
1990
2024
|
/**
|
|
1991
2025
|
* Ring Width Inset
|
|
@@ -1999,7 +2033,7 @@ const tt = [
|
|
|
1999
2033
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2000
2034
|
*/
|
|
2001
2035
|
"ring-color": [{
|
|
2002
|
-
ring:
|
|
2036
|
+
ring: f()
|
|
2003
2037
|
}],
|
|
2004
2038
|
/**
|
|
2005
2039
|
* Ring Offset Width
|
|
@@ -2008,7 +2042,7 @@ const tt = [
|
|
|
2008
2042
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2009
2043
|
*/
|
|
2010
2044
|
"ring-offset-w": [{
|
|
2011
|
-
"ring-offset": [k,
|
|
2045
|
+
"ring-offset": [k, te]
|
|
2012
2046
|
}],
|
|
2013
2047
|
/**
|
|
2014
2048
|
* Ring Offset Color
|
|
@@ -2017,21 +2051,21 @@ const tt = [
|
|
|
2017
2051
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2018
2052
|
*/
|
|
2019
2053
|
"ring-offset-color": [{
|
|
2020
|
-
"ring-offset":
|
|
2054
|
+
"ring-offset": f()
|
|
2021
2055
|
}],
|
|
2022
2056
|
/**
|
|
2023
2057
|
* Inset Ring Width
|
|
2024
2058
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2025
2059
|
*/
|
|
2026
2060
|
"inset-ring-w": [{
|
|
2027
|
-
"inset-ring":
|
|
2061
|
+
"inset-ring": B()
|
|
2028
2062
|
}],
|
|
2029
2063
|
/**
|
|
2030
2064
|
* Inset Ring Color
|
|
2031
2065
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2032
2066
|
*/
|
|
2033
2067
|
"inset-ring-color": [{
|
|
2034
|
-
"inset-ring":
|
|
2068
|
+
"inset-ring": f()
|
|
2035
2069
|
}],
|
|
2036
2070
|
/**
|
|
2037
2071
|
* Text Shadow
|
|
@@ -2045,28 +2079,28 @@ const tt = [
|
|
|
2045
2079
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2046
2080
|
*/
|
|
2047
2081
|
"text-shadow-color": [{
|
|
2048
|
-
"text-shadow":
|
|
2082
|
+
"text-shadow": f()
|
|
2049
2083
|
}],
|
|
2050
2084
|
/**
|
|
2051
2085
|
* Opacity
|
|
2052
2086
|
* @see https://tailwindcss.com/docs/opacity
|
|
2053
2087
|
*/
|
|
2054
2088
|
opacity: [{
|
|
2055
|
-
opacity: [k,
|
|
2089
|
+
opacity: [k, c, d]
|
|
2056
2090
|
}],
|
|
2057
2091
|
/**
|
|
2058
2092
|
* Mix Blend Mode
|
|
2059
2093
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2060
2094
|
*/
|
|
2061
2095
|
"mix-blend": [{
|
|
2062
|
-
"mix-blend": [...
|
|
2096
|
+
"mix-blend": [...Ge(), "plus-darker", "plus-lighter"]
|
|
2063
2097
|
}],
|
|
2064
2098
|
/**
|
|
2065
2099
|
* Background Blend Mode
|
|
2066
2100
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2067
2101
|
*/
|
|
2068
2102
|
"bg-blend": [{
|
|
2069
|
-
"bg-blend":
|
|
2103
|
+
"bg-blend": Ge()
|
|
2070
2104
|
}],
|
|
2071
2105
|
/**
|
|
2072
2106
|
* Mask Clip
|
|
@@ -2096,10 +2130,10 @@ const tt = [
|
|
|
2096
2130
|
"mask-linear-to": V()
|
|
2097
2131
|
}],
|
|
2098
2132
|
"mask-image-linear-from-color": [{
|
|
2099
|
-
"mask-linear-from":
|
|
2133
|
+
"mask-linear-from": f()
|
|
2100
2134
|
}],
|
|
2101
2135
|
"mask-image-linear-to-color": [{
|
|
2102
|
-
"mask-linear-to":
|
|
2136
|
+
"mask-linear-to": f()
|
|
2103
2137
|
}],
|
|
2104
2138
|
"mask-image-t-from-pos": [{
|
|
2105
2139
|
"mask-t-from": V()
|
|
@@ -2108,10 +2142,10 @@ const tt = [
|
|
|
2108
2142
|
"mask-t-to": V()
|
|
2109
2143
|
}],
|
|
2110
2144
|
"mask-image-t-from-color": [{
|
|
2111
|
-
"mask-t-from":
|
|
2145
|
+
"mask-t-from": f()
|
|
2112
2146
|
}],
|
|
2113
2147
|
"mask-image-t-to-color": [{
|
|
2114
|
-
"mask-t-to":
|
|
2148
|
+
"mask-t-to": f()
|
|
2115
2149
|
}],
|
|
2116
2150
|
"mask-image-r-from-pos": [{
|
|
2117
2151
|
"mask-r-from": V()
|
|
@@ -2120,10 +2154,10 @@ const tt = [
|
|
|
2120
2154
|
"mask-r-to": V()
|
|
2121
2155
|
}],
|
|
2122
2156
|
"mask-image-r-from-color": [{
|
|
2123
|
-
"mask-r-from":
|
|
2157
|
+
"mask-r-from": f()
|
|
2124
2158
|
}],
|
|
2125
2159
|
"mask-image-r-to-color": [{
|
|
2126
|
-
"mask-r-to":
|
|
2160
|
+
"mask-r-to": f()
|
|
2127
2161
|
}],
|
|
2128
2162
|
"mask-image-b-from-pos": [{
|
|
2129
2163
|
"mask-b-from": V()
|
|
@@ -2132,10 +2166,10 @@ const tt = [
|
|
|
2132
2166
|
"mask-b-to": V()
|
|
2133
2167
|
}],
|
|
2134
2168
|
"mask-image-b-from-color": [{
|
|
2135
|
-
"mask-b-from":
|
|
2169
|
+
"mask-b-from": f()
|
|
2136
2170
|
}],
|
|
2137
2171
|
"mask-image-b-to-color": [{
|
|
2138
|
-
"mask-b-to":
|
|
2172
|
+
"mask-b-to": f()
|
|
2139
2173
|
}],
|
|
2140
2174
|
"mask-image-l-from-pos": [{
|
|
2141
2175
|
"mask-l-from": V()
|
|
@@ -2144,10 +2178,10 @@ const tt = [
|
|
|
2144
2178
|
"mask-l-to": V()
|
|
2145
2179
|
}],
|
|
2146
2180
|
"mask-image-l-from-color": [{
|
|
2147
|
-
"mask-l-from":
|
|
2181
|
+
"mask-l-from": f()
|
|
2148
2182
|
}],
|
|
2149
2183
|
"mask-image-l-to-color": [{
|
|
2150
|
-
"mask-l-to":
|
|
2184
|
+
"mask-l-to": f()
|
|
2151
2185
|
}],
|
|
2152
2186
|
"mask-image-x-from-pos": [{
|
|
2153
2187
|
"mask-x-from": V()
|
|
@@ -2156,10 +2190,10 @@ const tt = [
|
|
|
2156
2190
|
"mask-x-to": V()
|
|
2157
2191
|
}],
|
|
2158
2192
|
"mask-image-x-from-color": [{
|
|
2159
|
-
"mask-x-from":
|
|
2193
|
+
"mask-x-from": f()
|
|
2160
2194
|
}],
|
|
2161
2195
|
"mask-image-x-to-color": [{
|
|
2162
|
-
"mask-x-to":
|
|
2196
|
+
"mask-x-to": f()
|
|
2163
2197
|
}],
|
|
2164
2198
|
"mask-image-y-from-pos": [{
|
|
2165
2199
|
"mask-y-from": V()
|
|
@@ -2168,13 +2202,13 @@ const tt = [
|
|
|
2168
2202
|
"mask-y-to": V()
|
|
2169
2203
|
}],
|
|
2170
2204
|
"mask-image-y-from-color": [{
|
|
2171
|
-
"mask-y-from":
|
|
2205
|
+
"mask-y-from": f()
|
|
2172
2206
|
}],
|
|
2173
2207
|
"mask-image-y-to-color": [{
|
|
2174
|
-
"mask-y-to":
|
|
2208
|
+
"mask-y-to": f()
|
|
2175
2209
|
}],
|
|
2176
2210
|
"mask-image-radial": [{
|
|
2177
|
-
"mask-radial": [
|
|
2211
|
+
"mask-radial": [c, d]
|
|
2178
2212
|
}],
|
|
2179
2213
|
"mask-image-radial-from-pos": [{
|
|
2180
2214
|
"mask-radial-from": V()
|
|
@@ -2183,10 +2217,10 @@ const tt = [
|
|
|
2183
2217
|
"mask-radial-to": V()
|
|
2184
2218
|
}],
|
|
2185
2219
|
"mask-image-radial-from-color": [{
|
|
2186
|
-
"mask-radial-from":
|
|
2220
|
+
"mask-radial-from": f()
|
|
2187
2221
|
}],
|
|
2188
2222
|
"mask-image-radial-to-color": [{
|
|
2189
|
-
"mask-radial-to":
|
|
2223
|
+
"mask-radial-to": f()
|
|
2190
2224
|
}],
|
|
2191
2225
|
"mask-image-radial-shape": [{
|
|
2192
2226
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2198,7 +2232,7 @@ const tt = [
|
|
|
2198
2232
|
}]
|
|
2199
2233
|
}],
|
|
2200
2234
|
"mask-image-radial-pos": [{
|
|
2201
|
-
"mask-radial-at":
|
|
2235
|
+
"mask-radial-at": x()
|
|
2202
2236
|
}],
|
|
2203
2237
|
"mask-image-conic-pos": [{
|
|
2204
2238
|
"mask-conic": [k]
|
|
@@ -2210,10 +2244,10 @@ const tt = [
|
|
|
2210
2244
|
"mask-conic-to": V()
|
|
2211
2245
|
}],
|
|
2212
2246
|
"mask-image-conic-from-color": [{
|
|
2213
|
-
"mask-conic-from":
|
|
2247
|
+
"mask-conic-from": f()
|
|
2214
2248
|
}],
|
|
2215
2249
|
"mask-image-conic-to-color": [{
|
|
2216
|
-
"mask-conic-to":
|
|
2250
|
+
"mask-conic-to": f()
|
|
2217
2251
|
}],
|
|
2218
2252
|
/**
|
|
2219
2253
|
* Mask Mode
|
|
@@ -2262,7 +2296,7 @@ const tt = [
|
|
|
2262
2296
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2263
2297
|
*/
|
|
2264
2298
|
"mask-image": [{
|
|
2265
|
-
mask: ["none",
|
|
2299
|
+
mask: ["none", c, d]
|
|
2266
2300
|
}],
|
|
2267
2301
|
// ---------------
|
|
2268
2302
|
// --- Filters ---
|
|
@@ -2276,8 +2310,8 @@ const tt = [
|
|
|
2276
2310
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2277
2311
|
"",
|
|
2278
2312
|
"none",
|
|
2279
|
-
|
|
2280
|
-
|
|
2313
|
+
c,
|
|
2314
|
+
d
|
|
2281
2315
|
]
|
|
2282
2316
|
}],
|
|
2283
2317
|
/**
|
|
@@ -2285,21 +2319,21 @@ const tt = [
|
|
|
2285
2319
|
* @see https://tailwindcss.com/docs/blur
|
|
2286
2320
|
*/
|
|
2287
2321
|
blur: [{
|
|
2288
|
-
blur:
|
|
2322
|
+
blur: Re()
|
|
2289
2323
|
}],
|
|
2290
2324
|
/**
|
|
2291
2325
|
* Brightness
|
|
2292
2326
|
* @see https://tailwindcss.com/docs/brightness
|
|
2293
2327
|
*/
|
|
2294
2328
|
brightness: [{
|
|
2295
|
-
brightness: [k,
|
|
2329
|
+
brightness: [k, c, d]
|
|
2296
2330
|
}],
|
|
2297
2331
|
/**
|
|
2298
2332
|
* Contrast
|
|
2299
2333
|
* @see https://tailwindcss.com/docs/contrast
|
|
2300
2334
|
*/
|
|
2301
2335
|
contrast: [{
|
|
2302
|
-
contrast: [k,
|
|
2336
|
+
contrast: [k, c, d]
|
|
2303
2337
|
}],
|
|
2304
2338
|
/**
|
|
2305
2339
|
* Drop Shadow
|
|
@@ -2310,7 +2344,7 @@ const tt = [
|
|
|
2310
2344
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2311
2345
|
"",
|
|
2312
2346
|
"none",
|
|
2313
|
-
|
|
2347
|
+
I,
|
|
2314
2348
|
be,
|
|
2315
2349
|
ue
|
|
2316
2350
|
]
|
|
@@ -2320,42 +2354,42 @@ const tt = [
|
|
|
2320
2354
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2321
2355
|
*/
|
|
2322
2356
|
"drop-shadow-color": [{
|
|
2323
|
-
"drop-shadow":
|
|
2357
|
+
"drop-shadow": f()
|
|
2324
2358
|
}],
|
|
2325
2359
|
/**
|
|
2326
2360
|
* Grayscale
|
|
2327
2361
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2328
2362
|
*/
|
|
2329
2363
|
grayscale: [{
|
|
2330
|
-
grayscale: ["", k,
|
|
2364
|
+
grayscale: ["", k, c, d]
|
|
2331
2365
|
}],
|
|
2332
2366
|
/**
|
|
2333
2367
|
* Hue Rotate
|
|
2334
2368
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2335
2369
|
*/
|
|
2336
2370
|
"hue-rotate": [{
|
|
2337
|
-
"hue-rotate": [k,
|
|
2371
|
+
"hue-rotate": [k, c, d]
|
|
2338
2372
|
}],
|
|
2339
2373
|
/**
|
|
2340
2374
|
* Invert
|
|
2341
2375
|
* @see https://tailwindcss.com/docs/invert
|
|
2342
2376
|
*/
|
|
2343
2377
|
invert: [{
|
|
2344
|
-
invert: ["", k,
|
|
2378
|
+
invert: ["", k, c, d]
|
|
2345
2379
|
}],
|
|
2346
2380
|
/**
|
|
2347
2381
|
* Saturate
|
|
2348
2382
|
* @see https://tailwindcss.com/docs/saturate
|
|
2349
2383
|
*/
|
|
2350
2384
|
saturate: [{
|
|
2351
|
-
saturate: [k,
|
|
2385
|
+
saturate: [k, c, d]
|
|
2352
2386
|
}],
|
|
2353
2387
|
/**
|
|
2354
2388
|
* Sepia
|
|
2355
2389
|
* @see https://tailwindcss.com/docs/sepia
|
|
2356
2390
|
*/
|
|
2357
2391
|
sepia: [{
|
|
2358
|
-
sepia: ["", k,
|
|
2392
|
+
sepia: ["", k, c, d]
|
|
2359
2393
|
}],
|
|
2360
2394
|
/**
|
|
2361
2395
|
* Backdrop Filter
|
|
@@ -2366,8 +2400,8 @@ const tt = [
|
|
|
2366
2400
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2367
2401
|
"",
|
|
2368
2402
|
"none",
|
|
2369
|
-
|
|
2370
|
-
|
|
2403
|
+
c,
|
|
2404
|
+
d
|
|
2371
2405
|
]
|
|
2372
2406
|
}],
|
|
2373
2407
|
/**
|
|
@@ -2375,63 +2409,63 @@ const tt = [
|
|
|
2375
2409
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2376
2410
|
*/
|
|
2377
2411
|
"backdrop-blur": [{
|
|
2378
|
-
"backdrop-blur":
|
|
2412
|
+
"backdrop-blur": Re()
|
|
2379
2413
|
}],
|
|
2380
2414
|
/**
|
|
2381
2415
|
* Backdrop Brightness
|
|
2382
2416
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2383
2417
|
*/
|
|
2384
2418
|
"backdrop-brightness": [{
|
|
2385
|
-
"backdrop-brightness": [k,
|
|
2419
|
+
"backdrop-brightness": [k, c, d]
|
|
2386
2420
|
}],
|
|
2387
2421
|
/**
|
|
2388
2422
|
* Backdrop Contrast
|
|
2389
2423
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2390
2424
|
*/
|
|
2391
2425
|
"backdrop-contrast": [{
|
|
2392
|
-
"backdrop-contrast": [k,
|
|
2426
|
+
"backdrop-contrast": [k, c, d]
|
|
2393
2427
|
}],
|
|
2394
2428
|
/**
|
|
2395
2429
|
* Backdrop Grayscale
|
|
2396
2430
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2397
2431
|
*/
|
|
2398
2432
|
"backdrop-grayscale": [{
|
|
2399
|
-
"backdrop-grayscale": ["", k,
|
|
2433
|
+
"backdrop-grayscale": ["", k, c, d]
|
|
2400
2434
|
}],
|
|
2401
2435
|
/**
|
|
2402
2436
|
* Backdrop Hue Rotate
|
|
2403
2437
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2404
2438
|
*/
|
|
2405
2439
|
"backdrop-hue-rotate": [{
|
|
2406
|
-
"backdrop-hue-rotate": [k,
|
|
2440
|
+
"backdrop-hue-rotate": [k, c, d]
|
|
2407
2441
|
}],
|
|
2408
2442
|
/**
|
|
2409
2443
|
* Backdrop Invert
|
|
2410
2444
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2411
2445
|
*/
|
|
2412
2446
|
"backdrop-invert": [{
|
|
2413
|
-
"backdrop-invert": ["", k,
|
|
2447
|
+
"backdrop-invert": ["", k, c, d]
|
|
2414
2448
|
}],
|
|
2415
2449
|
/**
|
|
2416
2450
|
* Backdrop Opacity
|
|
2417
2451
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2418
2452
|
*/
|
|
2419
2453
|
"backdrop-opacity": [{
|
|
2420
|
-
"backdrop-opacity": [k,
|
|
2454
|
+
"backdrop-opacity": [k, c, d]
|
|
2421
2455
|
}],
|
|
2422
2456
|
/**
|
|
2423
2457
|
* Backdrop Saturate
|
|
2424
2458
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2425
2459
|
*/
|
|
2426
2460
|
"backdrop-saturate": [{
|
|
2427
|
-
"backdrop-saturate": [k,
|
|
2461
|
+
"backdrop-saturate": [k, c, d]
|
|
2428
2462
|
}],
|
|
2429
2463
|
/**
|
|
2430
2464
|
* Backdrop Sepia
|
|
2431
2465
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2432
2466
|
*/
|
|
2433
2467
|
"backdrop-sepia": [{
|
|
2434
|
-
"backdrop-sepia": ["", k,
|
|
2468
|
+
"backdrop-sepia": ["", k, c, d]
|
|
2435
2469
|
}],
|
|
2436
2470
|
// --------------
|
|
2437
2471
|
// --- Tables ---
|
|
@@ -2486,7 +2520,7 @@ const tt = [
|
|
|
2486
2520
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2487
2521
|
*/
|
|
2488
2522
|
transition: [{
|
|
2489
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2523
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, d]
|
|
2490
2524
|
}],
|
|
2491
2525
|
/**
|
|
2492
2526
|
* Transition Behavior
|
|
@@ -2500,28 +2534,28 @@ const tt = [
|
|
|
2500
2534
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2501
2535
|
*/
|
|
2502
2536
|
duration: [{
|
|
2503
|
-
duration: [k, "initial",
|
|
2537
|
+
duration: [k, "initial", c, d]
|
|
2504
2538
|
}],
|
|
2505
2539
|
/**
|
|
2506
2540
|
* Transition Timing Function
|
|
2507
2541
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2508
2542
|
*/
|
|
2509
2543
|
ease: [{
|
|
2510
|
-
ease: ["linear", "initial",
|
|
2544
|
+
ease: ["linear", "initial", Y, c, d]
|
|
2511
2545
|
}],
|
|
2512
2546
|
/**
|
|
2513
2547
|
* Transition Delay
|
|
2514
2548
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2515
2549
|
*/
|
|
2516
2550
|
delay: [{
|
|
2517
|
-
delay: [k,
|
|
2551
|
+
delay: [k, c, d]
|
|
2518
2552
|
}],
|
|
2519
2553
|
/**
|
|
2520
2554
|
* Animation
|
|
2521
2555
|
* @see https://tailwindcss.com/docs/animation
|
|
2522
2556
|
*/
|
|
2523
2557
|
animate: [{
|
|
2524
|
-
animate: ["none",
|
|
2558
|
+
animate: ["none", O, c, d]
|
|
2525
2559
|
}],
|
|
2526
2560
|
// ------------------
|
|
2527
2561
|
// --- Transforms ---
|
|
@@ -2538,7 +2572,7 @@ const tt = [
|
|
|
2538
2572
|
* @see https://tailwindcss.com/docs/perspective
|
|
2539
2573
|
*/
|
|
2540
2574
|
perspective: [{
|
|
2541
|
-
perspective: [
|
|
2575
|
+
perspective: [E, c, d]
|
|
2542
2576
|
}],
|
|
2543
2577
|
/**
|
|
2544
2578
|
* Perspective Origin
|
|
@@ -2634,7 +2668,7 @@ const tt = [
|
|
|
2634
2668
|
* @see https://tailwindcss.com/docs/transform
|
|
2635
2669
|
*/
|
|
2636
2670
|
transform: [{
|
|
2637
|
-
transform: [
|
|
2671
|
+
transform: [c, d, "", "none", "gpu", "cpu"]
|
|
2638
2672
|
}],
|
|
2639
2673
|
/**
|
|
2640
2674
|
* Transform Origin
|
|
@@ -2683,6 +2717,13 @@ const tt = [
|
|
|
2683
2717
|
* @see https://tailwindcss.com/docs/translate
|
|
2684
2718
|
*/
|
|
2685
2719
|
"translate-none": ["translate-none"],
|
|
2720
|
+
/**
|
|
2721
|
+
* Zoom
|
|
2722
|
+
* @see https://tailwindcss.com/docs/zoom
|
|
2723
|
+
*/
|
|
2724
|
+
zoom: [{
|
|
2725
|
+
zoom: [D, c, d]
|
|
2726
|
+
}],
|
|
2686
2727
|
// ---------------------
|
|
2687
2728
|
// --- Interactivity ---
|
|
2688
2729
|
// ---------------------
|
|
@@ -2691,7 +2732,7 @@ const tt = [
|
|
|
2691
2732
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2692
2733
|
*/
|
|
2693
2734
|
accent: [{
|
|
2694
|
-
accent:
|
|
2735
|
+
accent: f()
|
|
2695
2736
|
}],
|
|
2696
2737
|
/**
|
|
2697
2738
|
* Appearance
|
|
@@ -2705,7 +2746,7 @@ const tt = [
|
|
|
2705
2746
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2706
2747
|
*/
|
|
2707
2748
|
"caret-color": [{
|
|
2708
|
-
caret:
|
|
2749
|
+
caret: f()
|
|
2709
2750
|
}],
|
|
2710
2751
|
/**
|
|
2711
2752
|
* Color Scheme
|
|
@@ -2719,7 +2760,7 @@ const tt = [
|
|
|
2719
2760
|
* @see https://tailwindcss.com/docs/cursor
|
|
2720
2761
|
*/
|
|
2721
2762
|
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",
|
|
2763
|
+
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", c, d]
|
|
2723
2764
|
}],
|
|
2724
2765
|
/**
|
|
2725
2766
|
* Field Sizing
|
|
@@ -2749,6 +2790,34 @@ const tt = [
|
|
|
2749
2790
|
"scroll-behavior": [{
|
|
2750
2791
|
scroll: ["auto", "smooth"]
|
|
2751
2792
|
}],
|
|
2793
|
+
/**
|
|
2794
|
+
* Scrollbar Thumb Color
|
|
2795
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2796
|
+
*/
|
|
2797
|
+
"scrollbar-thumb-color": [{
|
|
2798
|
+
"scrollbar-thumb": f()
|
|
2799
|
+
}],
|
|
2800
|
+
/**
|
|
2801
|
+
* Scrollbar Track Color
|
|
2802
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2803
|
+
*/
|
|
2804
|
+
"scrollbar-track-color": [{
|
|
2805
|
+
"scrollbar-track": f()
|
|
2806
|
+
}],
|
|
2807
|
+
/**
|
|
2808
|
+
* Scrollbar Gutter
|
|
2809
|
+
* @see https://tailwindcss.com/docs/scrollbar-gutter
|
|
2810
|
+
*/
|
|
2811
|
+
"scrollbar-gutter": [{
|
|
2812
|
+
"scrollbar-gutter": ["auto", "stable", "both"]
|
|
2813
|
+
}],
|
|
2814
|
+
/**
|
|
2815
|
+
* Scrollbar Width
|
|
2816
|
+
* @see https://tailwindcss.com/docs/scrollbar-width
|
|
2817
|
+
*/
|
|
2818
|
+
"scrollbar-w": [{
|
|
2819
|
+
scrollbar: ["auto", "thin", "none"]
|
|
2820
|
+
}],
|
|
2752
2821
|
/**
|
|
2753
2822
|
* Scroll Margin
|
|
2754
2823
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
@@ -2969,7 +3038,7 @@ const tt = [
|
|
|
2969
3038
|
* @see https://tailwindcss.com/docs/will-change
|
|
2970
3039
|
*/
|
|
2971
3040
|
"will-change": [{
|
|
2972
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3041
|
+
"will-change": ["auto", "scroll", "contents", "transform", c, d]
|
|
2973
3042
|
}],
|
|
2974
3043
|
// -----------
|
|
2975
3044
|
// --- SVG ---
|
|
@@ -2979,21 +3048,21 @@ const tt = [
|
|
|
2979
3048
|
* @see https://tailwindcss.com/docs/fill
|
|
2980
3049
|
*/
|
|
2981
3050
|
fill: [{
|
|
2982
|
-
fill: ["none", ...
|
|
3051
|
+
fill: ["none", ...f()]
|
|
2983
3052
|
}],
|
|
2984
3053
|
/**
|
|
2985
3054
|
* Stroke Width
|
|
2986
3055
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2987
3056
|
*/
|
|
2988
3057
|
"stroke-w": [{
|
|
2989
|
-
stroke: [k, se,
|
|
3058
|
+
stroke: [k, se, te, qe]
|
|
2990
3059
|
}],
|
|
2991
3060
|
/**
|
|
2992
3061
|
* Stroke
|
|
2993
3062
|
* @see https://tailwindcss.com/docs/stroke
|
|
2994
3063
|
*/
|
|
2995
3064
|
stroke: [{
|
|
2996
|
-
stroke: ["none", ...
|
|
3065
|
+
stroke: ["none", ...f()]
|
|
2997
3066
|
}],
|
|
2998
3067
|
// ---------------------
|
|
2999
3068
|
// --- Accessibility ---
|
|
@@ -3007,6 +3076,7 @@ const tt = [
|
|
|
3007
3076
|
}]
|
|
3008
3077
|
},
|
|
3009
3078
|
conflictingClassGroups: {
|
|
3079
|
+
"container-named": ["container-type"],
|
|
3010
3080
|
overflow: ["overflow-x", "overflow-y"],
|
|
3011
3081
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3012
3082
|
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
@@ -3059,9 +3129,10 @@ const tt = [
|
|
|
3059
3129
|
conflictingClassGroupModifiers: {
|
|
3060
3130
|
"font-size": ["leading"]
|
|
3061
3131
|
},
|
|
3132
|
+
postfixLookupClassGroups: ["container-type"],
|
|
3062
3133
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3063
3134
|
};
|
|
3064
|
-
}, "getDefaultConfig"),
|
|
3135
|
+
}, "getDefaultConfig"), Sr = /* @__PURE__ */ ar($r), He = {
|
|
3065
3136
|
default: {
|
|
3066
3137
|
solid: {
|
|
3067
3138
|
base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
|
|
@@ -3347,10 +3418,10 @@ const tt = [
|
|
|
3347
3418
|
icon: "text-red-600 dark:text-red-400"
|
|
3348
3419
|
}
|
|
3349
3420
|
}
|
|
3350
|
-
},
|
|
3421
|
+
}, Mr = {
|
|
3351
3422
|
key: 0,
|
|
3352
3423
|
class: "absolute inset-0 flex items-center justify-center"
|
|
3353
|
-
}, Ke = /* @__PURE__ */
|
|
3424
|
+
}, Ke = /* @__PURE__ */ q({
|
|
3354
3425
|
__name: "FButton",
|
|
3355
3426
|
props: {
|
|
3356
3427
|
theme: { default: "default" },
|
|
@@ -3366,111 +3437,111 @@ const tt = [
|
|
|
3366
3437
|
class: { default: "" }
|
|
3367
3438
|
},
|
|
3368
3439
|
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),
|
|
3440
|
+
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), l = A(() => ({
|
|
3370
3441
|
xxs: "size-2.5",
|
|
3371
3442
|
xs: "size-3",
|
|
3372
3443
|
sm: "size-3.5",
|
|
3373
3444
|
md: "size-4",
|
|
3374
3445
|
lg: "size-5",
|
|
3375
3446
|
xl: "size-6"
|
|
3376
|
-
})[e.size]),
|
|
3377
|
-
const
|
|
3378
|
-
return
|
|
3447
|
+
})[e.size]), n = A(() => {
|
|
3448
|
+
const u = He[e.theme]?.[e.design] || He.default[e.design];
|
|
3449
|
+
return u || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), u || { base: "", border: "", hover: "", icon: "" };
|
|
3379
3450
|
}), s = A(() => {
|
|
3380
|
-
const
|
|
3451
|
+
const u = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", h = {
|
|
3381
3452
|
xxs: "px-2 py-0.5 text-[10px]",
|
|
3382
3453
|
xs: "px-3 py-1 text-[11px]",
|
|
3383
3454
|
sm: "px-3 py-1.5 text-xs",
|
|
3384
3455
|
md: "px-4 py-2 text-sm",
|
|
3385
3456
|
lg: "px-8 py-3.5 text-[15px]",
|
|
3386
3457
|
xl: "px-10 py-4 text-base"
|
|
3387
|
-
},
|
|
3458
|
+
}, v = e.design === "link" ? "!px-1" : "", w = {
|
|
3388
3459
|
md: "rounded-md",
|
|
3389
3460
|
lg: "rounded-lg",
|
|
3390
3461
|
"2xl": "rounded-2xl",
|
|
3391
3462
|
full: "rounded-full"
|
|
3392
|
-
}, y =
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3463
|
+
}, y = n.value, I = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", U = [
|
|
3464
|
+
u,
|
|
3465
|
+
h[e.size],
|
|
3466
|
+
v,
|
|
3396
3467
|
w[e.rounding],
|
|
3397
3468
|
y.base,
|
|
3398
3469
|
`border ${y.border}`,
|
|
3399
3470
|
e.disabled ? "" : y.hover,
|
|
3400
|
-
|
|
3471
|
+
I
|
|
3401
3472
|
].filter(Boolean).join(" ");
|
|
3402
|
-
return
|
|
3403
|
-
}),
|
|
3404
|
-
design:
|
|
3473
|
+
return Sr(U, e.class);
|
|
3474
|
+
}), i = A(() => ({
|
|
3475
|
+
design: n.value.icon || ""
|
|
3405
3476
|
}));
|
|
3406
|
-
return (
|
|
3477
|
+
return (u, h) => (m(), N(vt(r.value), {
|
|
3407
3478
|
href: e.disabled ? void 0 : e.href,
|
|
3408
3479
|
disabled: e.disabled || void 0,
|
|
3409
3480
|
"aria-disabled": e.disabled || void 0,
|
|
3410
3481
|
class: $(s.value)
|
|
3411
3482
|
}, {
|
|
3412
3483
|
default: F(() => [
|
|
3413
|
-
e.loading ? (m(),
|
|
3414
|
-
|
|
3415
|
-
class: $(
|
|
3484
|
+
e.loading ? (m(), p("div", Mr, [
|
|
3485
|
+
T(_e, {
|
|
3486
|
+
class: $(l.value)
|
|
3416
3487
|
}, null, 8, ["class"])
|
|
3417
3488
|
])) : S("", !0),
|
|
3418
3489
|
b("span", {
|
|
3419
3490
|
class: $(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
|
|
3420
3491
|
}, [
|
|
3421
|
-
a.value ? (m(),
|
|
3492
|
+
a.value ? (m(), p("span", {
|
|
3422
3493
|
key: 0,
|
|
3423
|
-
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value,
|
|
3494
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value, i.value.design]])
|
|
3424
3495
|
}, null, 2)) : S("", !0),
|
|
3425
|
-
me(
|
|
3426
|
-
t.value ? (m(),
|
|
3496
|
+
me(u.$slots, "default"),
|
|
3497
|
+
t.value ? (m(), p("span", {
|
|
3427
3498
|
key: 1,
|
|
3428
|
-
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value,
|
|
3499
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, i.value.design]])
|
|
3429
3500
|
}, null, 2)) : S("", !0)
|
|
3430
3501
|
], 2)
|
|
3431
3502
|
]),
|
|
3432
3503
|
_: 3
|
|
3433
3504
|
}, 8, ["href", "disabled", "aria-disabled", "class"]));
|
|
3434
3505
|
}
|
|
3435
|
-
}),
|
|
3506
|
+
}), Ir = { class: "flex-1 flex flex-col min-h-0 py-6 space-y-6 h-full overflow-scroll [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden relative" }, Vr = { class: "flex-1 space-y-6 pb-12" }, Tr = {
|
|
3436
3507
|
key: 0,
|
|
3437
3508
|
class: "text-sm bg-white/10 backdrop-blur-sm rounded-2xl p-4 border border-white/20 space-y-3"
|
|
3438
|
-
},
|
|
3509
|
+
}, Er = ["innerHTML"], Or = {
|
|
3439
3510
|
key: 1,
|
|
3440
3511
|
class: "bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10"
|
|
3441
|
-
},
|
|
3512
|
+
}, jr = { class: "text-sm text-white/70 leading-relaxed" }, Br = {
|
|
3442
3513
|
key: 2,
|
|
3443
3514
|
class: "space-y-3"
|
|
3444
|
-
},
|
|
3515
|
+
}, Gr = {
|
|
3445
3516
|
key: 3,
|
|
3446
3517
|
class: "space-y-3"
|
|
3447
|
-
},
|
|
3518
|
+
}, Rr = { class: "grid grid-cols-2 gap-3" }, Pr = /* @__PURE__ */ q({
|
|
3448
3519
|
__name: "ElAgentAbout",
|
|
3449
3520
|
props: {
|
|
3450
3521
|
agent: {},
|
|
3451
3522
|
isOnline: { type: Boolean, default: !1 }
|
|
3452
3523
|
},
|
|
3453
3524
|
setup(e) {
|
|
3454
|
-
return (a, t) => (m(),
|
|
3455
|
-
|
|
3525
|
+
return (a, t) => (m(), p("div", Ir, [
|
|
3526
|
+
T(et, {
|
|
3456
3527
|
agent: e.agent,
|
|
3457
3528
|
"is-online": e.isOnline
|
|
3458
3529
|
}, null, 8, ["agent", "is-online"]),
|
|
3459
|
-
b("div",
|
|
3460
|
-
e.agent.summary.value ? (m(),
|
|
3530
|
+
b("div", Vr, [
|
|
3531
|
+
e.agent.summary.value ? (m(), p("div", Tr, [
|
|
3461
3532
|
t[0] || (t[0] = b("h3", { class: "font-medium text-white/50" }, " About ", -1)),
|
|
3462
3533
|
b("div", {
|
|
3463
3534
|
class: "text-white/70 leading-relaxed",
|
|
3464
3535
|
innerHTML: e.agent.summary.value
|
|
3465
|
-
}, null, 8,
|
|
3536
|
+
}, null, 8, Er)
|
|
3466
3537
|
])) : S("", !0),
|
|
3467
|
-
e.agent.entityType.value === "company" ? (m(),
|
|
3538
|
+
e.agent.entityType.value === "company" ? (m(), p("div", Or, [
|
|
3468
3539
|
t[1] || (t[1] = b("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
|
|
3469
|
-
b("p",
|
|
3540
|
+
b("p", jr, " This is a company agent representing " + P(e.agent.name.value) + ". ", 1)
|
|
3470
3541
|
])) : S("", !0),
|
|
3471
|
-
e.agent.email.value ? (m(),
|
|
3542
|
+
e.agent.email.value ? (m(), p("div", Br, [
|
|
3472
3543
|
t[3] || (t[3] = b("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
|
|
3473
|
-
|
|
3544
|
+
T(Ke, {
|
|
3474
3545
|
design: "ghost",
|
|
3475
3546
|
theme: "default",
|
|
3476
3547
|
size: "sm",
|
|
@@ -3485,21 +3556,21 @@ const tt = [
|
|
|
3485
3556
|
_: 1
|
|
3486
3557
|
}, 8, ["href"])
|
|
3487
3558
|
])) : S("", !0),
|
|
3488
|
-
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(),
|
|
3559
|
+
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), p("div", Gr, [
|
|
3489
3560
|
t[4] || (t[4] = b("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
|
|
3490
|
-
b("div",
|
|
3491
|
-
(m(!0),
|
|
3561
|
+
b("div", Rr, [
|
|
3562
|
+
(m(!0), p(Z, null, Se(e.agent.accounts.value, (r) => (m(), N(Ke, {
|
|
3492
3563
|
key: `${r.platform}-${r.handle}`,
|
|
3493
3564
|
design: "ghost",
|
|
3494
3565
|
theme: "default",
|
|
3495
3566
|
size: "md",
|
|
3496
3567
|
class: "bg-white/10 hover:bg-white/20 border border-white/20 text-white/80",
|
|
3497
|
-
icon:
|
|
3498
|
-
href:
|
|
3568
|
+
icon: R(ae)[r.platform].icon,
|
|
3569
|
+
href: R(ae)[r.platform].getUrl(r.handle),
|
|
3499
3570
|
target: "_blank"
|
|
3500
3571
|
}, {
|
|
3501
3572
|
default: F(() => [
|
|
3502
|
-
ge(R(
|
|
3573
|
+
ge(P(R(ae)[r.platform].label), 1)
|
|
3503
3574
|
]),
|
|
3504
3575
|
_: 2
|
|
3505
3576
|
}, 1032, ["icon", "href"]))), 128))
|
|
@@ -3508,59 +3579,59 @@ const tt = [
|
|
|
3508
3579
|
])
|
|
3509
3580
|
]));
|
|
3510
3581
|
}
|
|
3511
|
-
}),
|
|
3582
|
+
}), Lr = { class: "flex flex-col items-center text-center gap-4" }, Nr = { class: "relative flex-shrink-0" }, Ur = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Wr = ["src", "alt"], Fr = { class: "absolute top-1.5 right-1.5" }, qr = {
|
|
3512
3583
|
key: 1,
|
|
3513
3584
|
class: "size-4 bg-theme-400 rounded-full ring-2 ring-white"
|
|
3514
|
-
},
|
|
3585
|
+
}, Dr = { class: "min-w-0" }, Yr = { class: "text-3xl font-light text-white mb-2 truncate" }, Hr = { class: "text-base font-light text-white/60 line-clamp-1" }, Kr = /* @__PURE__ */ q({
|
|
3515
3586
|
__name: "ElAgentHeader",
|
|
3516
3587
|
props: {
|
|
3517
3588
|
agent: {},
|
|
3518
3589
|
isOnline: { type: Boolean, default: !1 }
|
|
3519
3590
|
},
|
|
3520
3591
|
setup(e) {
|
|
3521
|
-
return (a, t) => (m(),
|
|
3592
|
+
return (a, t) => (m(), p("div", Lr, [
|
|
3522
3593
|
b("div", Nr, [
|
|
3523
|
-
b("div",
|
|
3594
|
+
b("div", Ur, [
|
|
3524
3595
|
b("img", {
|
|
3525
3596
|
src: e.agent.avatarUrl.value,
|
|
3526
3597
|
alt: e.agent.displayName.value,
|
|
3527
3598
|
class: "w-full h-full object-cover",
|
|
3528
3599
|
onError: t[0] || (t[0] = //@ts-ignore
|
|
3529
|
-
(...r) =>
|
|
3530
|
-
}, null, 40,
|
|
3600
|
+
(...r) => R(Le) && R(Le)(...r))
|
|
3601
|
+
}, null, 40, Wr)
|
|
3531
3602
|
]),
|
|
3532
|
-
b("div",
|
|
3533
|
-
e.isOnline ? (m(),
|
|
3603
|
+
b("div", Fr, [
|
|
3604
|
+
e.isOnline ? (m(), p(Z, { key: 0 }, [
|
|
3534
3605
|
t[1] || (t[1] = b("div", {
|
|
3535
3606
|
class: "size-4 bg-green-500 rounded-full ring-2 ring-white absolute animate-ping",
|
|
3536
3607
|
style: { "animation-duration": "3s" }
|
|
3537
3608
|
}, null, -1)),
|
|
3538
3609
|
t[2] || (t[2] = b("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" }, null, -1))
|
|
3539
|
-
], 64)) : (m(),
|
|
3610
|
+
], 64)) : (m(), p("div", qr))
|
|
3540
3611
|
])
|
|
3541
3612
|
]),
|
|
3542
|
-
b("div",
|
|
3543
|
-
b("h1",
|
|
3544
|
-
b("p",
|
|
3613
|
+
b("div", Dr, [
|
|
3614
|
+
b("h1", Yr, P(e.agent.displayName.value), 1),
|
|
3615
|
+
b("p", Hr, P(e.agent.title.value), 1)
|
|
3545
3616
|
])
|
|
3546
3617
|
]));
|
|
3547
3618
|
}
|
|
3548
|
-
}),
|
|
3619
|
+
}), Qr = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Xr = /* @__PURE__ */ q({
|
|
3549
3620
|
name: "SelfSidebarClose",
|
|
3550
3621
|
__name: "AgentSidebarClose",
|
|
3551
3622
|
emits: ["click"],
|
|
3552
3623
|
setup(e) {
|
|
3553
|
-
const a =
|
|
3554
|
-
return
|
|
3624
|
+
const a = J(!1);
|
|
3625
|
+
return Xe(() => {
|
|
3555
3626
|
setTimeout(() => {
|
|
3556
3627
|
a.value = !0;
|
|
3557
3628
|
}, 100);
|
|
3558
|
-
}), (t, r) => (m(),
|
|
3629
|
+
}), (t, r) => (m(), p("a", {
|
|
3559
3630
|
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] = (
|
|
3631
|
+
onClick: r[0] || (r[0] = (l) => t.$emit("click", l))
|
|
3561
3632
|
}, [
|
|
3562
3633
|
r[1] || (r[1] = b("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
|
|
3563
|
-
b("span",
|
|
3634
|
+
b("span", Qr, [
|
|
3564
3635
|
b("span", {
|
|
3565
3636
|
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
3637
|
style: { "background-color": "currentColor", "transition-delay": "0.15s" }
|
|
@@ -3572,16 +3643,16 @@ const tt = [
|
|
|
3572
3643
|
])
|
|
3573
3644
|
]));
|
|
3574
3645
|
}
|
|
3575
|
-
}),
|
|
3646
|
+
}), Jr = {
|
|
3576
3647
|
key: 0,
|
|
3577
3648
|
class: "px-9 pt-12 pb-4"
|
|
3578
|
-
},
|
|
3649
|
+
}, Zr = { class: "text-base font-medium text-theme-400" }, _r = {
|
|
3579
3650
|
key: 1,
|
|
3580
3651
|
class: "px-4 pb-8 border-b border-white/10"
|
|
3581
|
-
},
|
|
3652
|
+
}, eo = ["disabled", "onClick"], to = { class: "flex items-center gap-3" }, ro = { class: "flex-1" }, oo = {
|
|
3582
3653
|
key: 0,
|
|
3583
3654
|
class: "text-xs text-white/50 mt-0.5"
|
|
3584
|
-
},
|
|
3655
|
+
}, ao = { class: "p-6" }, ft = /* @__PURE__ */ q({
|
|
3585
3656
|
name: "ElSidebar",
|
|
3586
3657
|
inheritAttrs: !1,
|
|
3587
3658
|
__name: "ElSidebar",
|
|
@@ -3594,15 +3665,15 @@ const tt = [
|
|
|
3594
3665
|
},
|
|
3595
3666
|
emits: ["update:modelValue"],
|
|
3596
3667
|
setup(e, { emit: a }) {
|
|
3597
|
-
const t = e, r = a,
|
|
3668
|
+
const t = e, r = a, l = t.position || "left", n = t.widthClasses || "w-[80%] max-w-[300px]", s = A({
|
|
3598
3669
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3599
|
-
set: /* @__PURE__ */ o((
|
|
3600
|
-
}),
|
|
3601
|
-
function
|
|
3602
|
-
|
|
3670
|
+
set: /* @__PURE__ */ o((v) => r("update:modelValue", v), "set")
|
|
3671
|
+
}), i = A(() => t.items.filter((v) => !v.isHidden));
|
|
3672
|
+
function u(v) {
|
|
3673
|
+
v.isDisabled || (v.onClick ? v.onClick({ item: v, event: new MouseEvent("click") }) : v.href && (v.href.includes("http") ? window.open(v.href, v.target || "_self")?.focus() : window.location.href = v.href), s.value = !1);
|
|
3603
3674
|
}
|
|
3604
|
-
o(
|
|
3605
|
-
const
|
|
3675
|
+
o(u, "handleItemClick");
|
|
3676
|
+
const h = A(() => l === "left" ? {
|
|
3606
3677
|
enter: "-translate-x-full",
|
|
3607
3678
|
leave: "-translate-x-full",
|
|
3608
3679
|
position: "justify-start",
|
|
@@ -3613,8 +3684,8 @@ const tt = [
|
|
|
3613
3684
|
position: "justify-end",
|
|
3614
3685
|
closeButton: "-left-16"
|
|
3615
3686
|
});
|
|
3616
|
-
return (
|
|
3617
|
-
|
|
3687
|
+
return (v, w) => (m(), p(Z, null, [
|
|
3688
|
+
T(Pe, {
|
|
3618
3689
|
"enter-active-class": "transition-opacity duration-300 ease-out",
|
|
3619
3690
|
"leave-active-class": "transition-opacity duration-200 ease-in",
|
|
3620
3691
|
"enter-from-class": "opacity-0",
|
|
@@ -3623,7 +3694,7 @@ const tt = [
|
|
|
3623
3694
|
"leave-to-class": "opacity-0"
|
|
3624
3695
|
}, {
|
|
3625
3696
|
default: F(() => [
|
|
3626
|
-
s.value ? (m(),
|
|
3697
|
+
s.value ? (m(), p("div", {
|
|
3627
3698
|
key: 0,
|
|
3628
3699
|
class: "absolute inset-0 z-40 bg-black/50 backdrop-blur-sm",
|
|
3629
3700
|
onClick: w[0] || (w[0] = (y) => s.value = !1)
|
|
@@ -3631,79 +3702,79 @@ const tt = [
|
|
|
3631
3702
|
]),
|
|
3632
3703
|
_: 1
|
|
3633
3704
|
}),
|
|
3634
|
-
|
|
3705
|
+
T(Pe, {
|
|
3635
3706
|
"enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3636
3707
|
"leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3637
|
-
"enter-from-class":
|
|
3708
|
+
"enter-from-class": h.value.enter,
|
|
3638
3709
|
"enter-to-class": "translate-x-0",
|
|
3639
3710
|
"leave-from-class": "translate-x-0",
|
|
3640
|
-
"leave-to-class":
|
|
3711
|
+
"leave-to-class": h.value.leave
|
|
3641
3712
|
}, {
|
|
3642
3713
|
default: F(() => [
|
|
3643
|
-
s.value ? (m(),
|
|
3714
|
+
s.value ? (m(), p("div", {
|
|
3644
3715
|
key: 0,
|
|
3645
|
-
class: $(["absolute inset-0 z-50 flex",
|
|
3716
|
+
class: $(["absolute inset-0 z-50 flex", h.value.position]),
|
|
3646
3717
|
onClick: w[3] || (w[3] = (y) => s.value = !1)
|
|
3647
3718
|
}, [
|
|
3648
3719
|
b("div", {
|
|
3649
|
-
class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center",
|
|
3720
|
+
class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", R(n)]),
|
|
3650
3721
|
onClick: w[2] || (w[2] = Ae(() => {
|
|
3651
3722
|
}, ["stop"]))
|
|
3652
3723
|
}, [
|
|
3653
|
-
|
|
3654
|
-
class: $(["absolute top-4 z-10 text-white",
|
|
3724
|
+
T(Xr, {
|
|
3725
|
+
class: $(["absolute top-4 z-10 text-white", h.value.closeButton]),
|
|
3655
3726
|
onClick: w[1] || (w[1] = (y) => s.value = !1)
|
|
3656
3727
|
}, null, 8, ["class"]),
|
|
3657
|
-
e.title ? (m(),
|
|
3658
|
-
b("h3",
|
|
3728
|
+
e.title ? (m(), p("div", Jr, [
|
|
3729
|
+
b("h3", Zr, P(e.title), 1)
|
|
3659
3730
|
])) : S("", !0),
|
|
3660
|
-
|
|
3661
|
-
me(
|
|
3731
|
+
v.$slots.header ? (m(), p("div", _r, [
|
|
3732
|
+
me(v.$slots, "header")
|
|
3662
3733
|
])) : S("", !0),
|
|
3663
3734
|
b("div", {
|
|
3664
|
-
class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !
|
|
3735
|
+
class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !v.$slots.header, "pt-4": e.title || v.$slots.header }])
|
|
3665
3736
|
}, [
|
|
3666
|
-
|
|
3737
|
+
T(Qe, {
|
|
3667
3738
|
"enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3668
3739
|
"leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3669
|
-
"enter-from-class":
|
|
3740
|
+
"enter-from-class": R(l) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
|
|
3670
3741
|
"enter-to-class": "translate-x-0 opacity-100",
|
|
3671
3742
|
"leave-from-class": "translate-x-0 opacity-100",
|
|
3672
|
-
"leave-to-class":
|
|
3743
|
+
"leave-to-class": R(l) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
|
|
3673
3744
|
}, {
|
|
3674
3745
|
default: F(() => [
|
|
3675
|
-
(m(!0),
|
|
3676
|
-
key: y.key || y.label ||
|
|
3677
|
-
style:
|
|
3746
|
+
(m(!0), p(Z, null, Se(i.value, (y, I) => (m(), p("button", {
|
|
3747
|
+
key: y.key || y.label || I,
|
|
3748
|
+
style: Je({ transitionDelay: `${I * 40}ms` }),
|
|
3678
3749
|
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", [
|
|
3679
3750
|
y.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
|
|
3680
3751
|
y.isDisabled && "opacity-50 cursor-not-allowed"
|
|
3681
3752
|
]]),
|
|
3682
3753
|
disabled: y.isDisabled,
|
|
3683
|
-
onClick: /* @__PURE__ */ o((
|
|
3754
|
+
onClick: /* @__PURE__ */ o((U) => u(y), "onClick")
|
|
3684
3755
|
}, [
|
|
3685
|
-
b("div",
|
|
3686
|
-
y.icon?.src ? (m(),
|
|
3756
|
+
b("div", to, [
|
|
3757
|
+
y.icon?.src ? (m(), p("i", {
|
|
3687
3758
|
key: 0,
|
|
3688
3759
|
class: $(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
|
|
3689
3760
|
y.icon.src,
|
|
3690
3761
|
y.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
|
|
3691
3762
|
]])
|
|
3692
3763
|
}, null, 2)) : S("", !0),
|
|
3693
|
-
b("div",
|
|
3764
|
+
b("div", ro, [
|
|
3694
3765
|
b("div", {
|
|
3695
3766
|
class: $(["font-medium text-sm", y.isActive ? "text-primary-300" : "text-white"])
|
|
3696
|
-
},
|
|
3697
|
-
y.subLabel ? (m(),
|
|
3767
|
+
}, P(y.label), 3),
|
|
3768
|
+
y.subLabel ? (m(), p("div", oo, P(y.subLabel), 1)) : S("", !0)
|
|
3698
3769
|
])
|
|
3699
3770
|
])
|
|
3700
|
-
], 14,
|
|
3771
|
+
], 14, eo))), 128))
|
|
3701
3772
|
]),
|
|
3702
3773
|
_: 1
|
|
3703
3774
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
3704
3775
|
], 2),
|
|
3705
|
-
b("div",
|
|
3706
|
-
me(
|
|
3776
|
+
b("div", ao, [
|
|
3777
|
+
me(v.$slots, "footer")
|
|
3707
3778
|
])
|
|
3708
3779
|
], 2)
|
|
3709
3780
|
], 2)) : S("", !0)
|
|
@@ -3712,7 +3783,7 @@ const tt = [
|
|
|
3712
3783
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
3713
3784
|
], 64));
|
|
3714
3785
|
}
|
|
3715
|
-
}),
|
|
3786
|
+
}), so = /* @__PURE__ */ q({
|
|
3716
3787
|
name: "AgentModeSidebar",
|
|
3717
3788
|
__name: "ElAgentModeSidebar",
|
|
3718
3789
|
props: {
|
|
@@ -3721,28 +3792,28 @@ const tt = [
|
|
|
3721
3792
|
},
|
|
3722
3793
|
emits: ["update:modelValue"],
|
|
3723
3794
|
setup(e, { emit: a }) {
|
|
3724
|
-
const t = e, r = a,
|
|
3795
|
+
const t = e, r = a, l = A({
|
|
3725
3796
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3726
|
-
set: /* @__PURE__ */ o((
|
|
3727
|
-
}),
|
|
3728
|
-
key:
|
|
3729
|
-
icon: { src:
|
|
3730
|
-
label:
|
|
3731
|
-
isActive:
|
|
3797
|
+
set: /* @__PURE__ */ o((i) => r("update:modelValue", i), "set")
|
|
3798
|
+
}), n = A(() => t.chatController?.agentMode?.value ?? "self"), s = A(() => tt.map((i) => ({
|
|
3799
|
+
key: i.mode,
|
|
3800
|
+
icon: { src: i.icon },
|
|
3801
|
+
label: i.label,
|
|
3802
|
+
isActive: n.value === i.mode,
|
|
3732
3803
|
onClick: /* @__PURE__ */ o(() => {
|
|
3733
|
-
t.chatController?.setMode(
|
|
3804
|
+
t.chatController?.setMode(i.mode);
|
|
3734
3805
|
}, "onClick")
|
|
3735
3806
|
})));
|
|
3736
|
-
return (
|
|
3737
|
-
modelValue:
|
|
3738
|
-
"onUpdate:modelValue":
|
|
3807
|
+
return (i, u) => (m(), N(ft, {
|
|
3808
|
+
modelValue: l.value,
|
|
3809
|
+
"onUpdate:modelValue": u[0] || (u[0] = (h) => l.value = h),
|
|
3739
3810
|
items: s.value,
|
|
3740
3811
|
position: "right",
|
|
3741
3812
|
title: "Mode",
|
|
3742
3813
|
"width-classes": "w-[80%] max-w-[255px]"
|
|
3743
3814
|
}, null, 8, ["modelValue", "items"]));
|
|
3744
3815
|
}
|
|
3745
|
-
}),
|
|
3816
|
+
}), no = /* @__PURE__ */ q({
|
|
3746
3817
|
name: "AgentSidebar",
|
|
3747
3818
|
__name: "ElAgentSidebar",
|
|
3748
3819
|
props: {
|
|
@@ -3753,19 +3824,19 @@ const tt = [
|
|
|
3753
3824
|
},
|
|
3754
3825
|
emits: ["update:modelValue"],
|
|
3755
3826
|
setup(e, { emit: a }) {
|
|
3756
|
-
const t = e, r = a,
|
|
3827
|
+
const t = e, r = a, l = A({
|
|
3757
3828
|
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3758
3829
|
set: /* @__PURE__ */ o((s) => r("update:modelValue", s), "set")
|
|
3759
|
-
}),
|
|
3830
|
+
}), n = A(() => {
|
|
3760
3831
|
const s = [
|
|
3761
3832
|
{
|
|
3762
3833
|
key: "share",
|
|
3763
3834
|
icon: { src: "i-tabler-share" },
|
|
3764
3835
|
label: "Share this assistant",
|
|
3765
3836
|
onClick: /* @__PURE__ */ o(() => {
|
|
3766
|
-
const
|
|
3767
|
-
navigator.clipboard.writeText(
|
|
3768
|
-
console.error("ElAgentSidebar: clipboard.writeText rejected",
|
|
3837
|
+
const i = `${window.location.origin}/@${t.agent.handle.value || t.agent.agentId.value}`;
|
|
3838
|
+
navigator.clipboard.writeText(i).catch((u) => {
|
|
3839
|
+
console.error("ElAgentSidebar: clipboard.writeText rejected", u);
|
|
3769
3840
|
});
|
|
3770
3841
|
}, "onClick")
|
|
3771
3842
|
},
|
|
@@ -3795,48 +3866,48 @@ const tt = [
|
|
|
3795
3866
|
}, "onClick")
|
|
3796
3867
|
}), s;
|
|
3797
3868
|
});
|
|
3798
|
-
return (s,
|
|
3799
|
-
modelValue:
|
|
3800
|
-
"onUpdate:modelValue":
|
|
3801
|
-
items:
|
|
3869
|
+
return (s, i) => (m(), N(ft, {
|
|
3870
|
+
modelValue: l.value,
|
|
3871
|
+
"onUpdate:modelValue": i[0] || (i[0] = (u) => l.value = u),
|
|
3872
|
+
items: n.value,
|
|
3802
3873
|
position: "left",
|
|
3803
3874
|
title: e.title || "Menu"
|
|
3804
3875
|
}, null, 8, ["modelValue", "items", "title"]));
|
|
3805
3876
|
}
|
|
3806
|
-
}),
|
|
3877
|
+
}), lo = {
|
|
3807
3878
|
key: 0,
|
|
3808
3879
|
class: "absolute inset-0 flex items-center justify-center bg-gradient-to-br from-theme-800 to-theme-950 rounded-3xl z-10"
|
|
3809
|
-
},
|
|
3880
|
+
}, io = ["data-quality"], co = {
|
|
3810
3881
|
key: 0,
|
|
3811
3882
|
class: "flex items-center"
|
|
3812
|
-
},
|
|
3883
|
+
}, uo = { class: "flex-1 flex items-center gap-3 pl-2" }, bo = ["src", "alt"], mo = { class: "text-white/90 text-sm font-medium" }, go = {
|
|
3813
3884
|
key: 0,
|
|
3814
3885
|
class: "flex justify-end"
|
|
3815
|
-
},
|
|
3886
|
+
}, ho = { class: "text-sm" }, fo = {
|
|
3816
3887
|
key: 0,
|
|
3817
3888
|
class: "flex-1 basis-0 flex justify-end"
|
|
3818
|
-
},
|
|
3889
|
+
}, po = {
|
|
3819
3890
|
key: 0,
|
|
3820
3891
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4"
|
|
3821
|
-
},
|
|
3892
|
+
}, xo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, vo = {
|
|
3822
3893
|
key: 0,
|
|
3823
3894
|
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"
|
|
3824
|
-
},
|
|
3895
|
+
}, ko = { class: "flex-1 basis-0 flex flex-col justify-start pt-8 gap-7" }, yo = {
|
|
3825
3896
|
key: 0,
|
|
3826
3897
|
class: "flex items-center justify-center gap-3"
|
|
3827
|
-
},
|
|
3898
|
+
}, wo = ["href"], Co = {
|
|
3828
3899
|
key: 1,
|
|
3829
3900
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full gap-4 px-4"
|
|
3830
|
-
},
|
|
3901
|
+
}, zo = { class: "max-w-md mx-auto" }, Ao = {
|
|
3831
3902
|
key: 2,
|
|
3832
3903
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4 @[480px]/agent:px-6"
|
|
3833
|
-
},
|
|
3904
|
+
}, $o = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, So = {
|
|
3834
3905
|
key: 2,
|
|
3835
3906
|
class: "bg-gradient-to-br from-theme-800 to-theme-950 text-white flex items-center justify-center h-full p-8"
|
|
3836
|
-
},
|
|
3907
|
+
}, Mo = { class: "text-center max-w-md space-y-4" }, Io = { class: "text-sm text-white/70 leading-relaxed" }, Vo = {
|
|
3837
3908
|
key: 3,
|
|
3838
3909
|
class: "bg-white/10 backdrop-blur-sm text-white/70 flex items-center justify-center h-full"
|
|
3839
|
-
},
|
|
3910
|
+
}, To = /* @__PURE__ */ q({
|
|
3840
3911
|
__name: "AgentChat",
|
|
3841
3912
|
props: {
|
|
3842
3913
|
sdk: {},
|
|
@@ -3854,7 +3925,7 @@ const tt = [
|
|
|
3854
3925
|
},
|
|
3855
3926
|
emits: ["close", "error"],
|
|
3856
3927
|
setup(e, { emit: a }) {
|
|
3857
|
-
const t = a, r = kt(),
|
|
3928
|
+
const t = a, r = kt(), l = J(!1), n = J(!1), s = J(), i = J(), u = A(() => r.value?.agentMode?.value ?? "self"), h = A(() => r.value?.textState.value.isConnected ?? !1), v = A(() => e.sdk.activeUser.value !== void 0), w = A(() => tt.find((C) => C.mode === u.value));
|
|
3858
3929
|
function y() {
|
|
3859
3930
|
r.value && r.value.destroy();
|
|
3860
3931
|
try {
|
|
@@ -3869,83 +3940,83 @@ const tt = [
|
|
|
3869
3940
|
}
|
|
3870
3941
|
}
|
|
3871
3942
|
o(y, "createChatController");
|
|
3872
|
-
function
|
|
3873
|
-
if (!
|
|
3943
|
+
function I(C) {
|
|
3944
|
+
if (!i.value)
|
|
3874
3945
|
return;
|
|
3875
|
-
const
|
|
3876
|
-
Object.entries(
|
|
3877
|
-
|
|
3946
|
+
const x = Mt(C);
|
|
3947
|
+
Object.entries(x).forEach(([z, Q]) => {
|
|
3948
|
+
i.value.style.setProperty(`--primary-${z}`, Q);
|
|
3878
3949
|
});
|
|
3879
3950
|
}
|
|
3880
|
-
o(
|
|
3951
|
+
o(I, "applyTheme"), Xe(() => {
|
|
3881
3952
|
try {
|
|
3882
|
-
y(),
|
|
3953
|
+
y(), I(e.theme), e.chatOnly && r.value && r.value.setMode("chat");
|
|
3883
3954
|
} catch (C) {
|
|
3884
|
-
const
|
|
3885
|
-
s.value =
|
|
3955
|
+
const x = C instanceof Error ? C.message : "Couldn't initialize your assistant";
|
|
3956
|
+
s.value = x, t("error", x);
|
|
3886
3957
|
}
|
|
3887
3958
|
}), yt(() => {
|
|
3888
3959
|
r.value && r.value.destroy();
|
|
3889
3960
|
}), ze(() => e.theme, (C) => {
|
|
3890
|
-
|
|
3891
|
-
}), ze(() => e.sdk.activeUser.value, (C,
|
|
3892
|
-
|
|
3961
|
+
I(C);
|
|
3962
|
+
}), ze(() => e.sdk.activeUser.value, (C, x) => {
|
|
3963
|
+
x && !C && r.value && r.value.setMode("self");
|
|
3893
3964
|
});
|
|
3894
|
-
const
|
|
3895
|
-
const C = [
|
|
3896
|
-
return
|
|
3897
|
-
}),
|
|
3965
|
+
const U = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), E = A(() => {
|
|
3966
|
+
const C = [U.value ? "backdrop-blur-sm" : ""];
|
|
3967
|
+
return U.value && u.value === "self" ? C.push("from-black/80 via-black/60 to-black/80") : u.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(" ");
|
|
3968
|
+
}), G = {
|
|
3898
3969
|
phone: "i-heroicons-phone",
|
|
3899
3970
|
calendar: "i-heroicons-calendar",
|
|
3900
3971
|
question: "i-heroicons-question-mark-circle",
|
|
3901
3972
|
message: "i-heroicons-chat-bubble-left-right",
|
|
3902
3973
|
sparkles: "i-heroicons-sparkles"
|
|
3903
|
-
},
|
|
3974
|
+
}, Y = A(() => At({
|
|
3904
3975
|
template: e.buttonText || "Talk to {name}",
|
|
3905
3976
|
agent: e.agent.toConfig()
|
|
3906
|
-
})),
|
|
3907
|
-
return (C,
|
|
3977
|
+
})), O = A(() => G[e.buttonIcon || "phone"] || G.phone);
|
|
3978
|
+
return (C, x) => (m(), p("div", {
|
|
3908
3979
|
ref_key: "rootElement",
|
|
3909
|
-
ref:
|
|
3910
|
-
key:
|
|
3980
|
+
ref: i,
|
|
3981
|
+
key: R(ye)(e.agent.toConfig()),
|
|
3911
3982
|
class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
|
|
3912
3983
|
"data-test": "agent-chat"
|
|
3913
3984
|
}, [
|
|
3914
|
-
e.loading ? (m(),
|
|
3915
|
-
|
|
3916
|
-
])) : e.agent && !s.value ? (m(),
|
|
3985
|
+
e.loading ? (m(), p("div", lo, [
|
|
3986
|
+
T(_e, { class: "text-white size-8" })
|
|
3987
|
+
])) : e.agent && !s.value ? (m(), p("div", {
|
|
3917
3988
|
key: 1,
|
|
3918
3989
|
class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
|
|
3919
|
-
style:
|
|
3990
|
+
style: Je({ backgroundImage: `url(${R(ye)(e.agent.toConfig())})` }),
|
|
3920
3991
|
"data-quality": e.agent.avatar.value?.quality || "none"
|
|
3921
3992
|
}, [
|
|
3922
3993
|
b("div", {
|
|
3923
|
-
class: $(["absolute inset-0 bg-gradient-to-br z-0",
|
|
3994
|
+
class: $(["absolute inset-0 bg-gradient-to-br z-0", E.value])
|
|
3924
3995
|
}, null, 2),
|
|
3925
3996
|
b("div", {
|
|
3926
3997
|
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"])
|
|
3927
3998
|
}, [
|
|
3928
3999
|
b("div", {
|
|
3929
|
-
class: $(["relative z-30 p-2",
|
|
4000
|
+
class: $(["relative z-30 p-2", u.value !== "self" ? "backdrop-blur-lg" : ""])
|
|
3930
4001
|
}, [
|
|
3931
|
-
e.chatOnly ? (m(),
|
|
3932
|
-
b("div",
|
|
4002
|
+
e.chatOnly ? (m(), p("div", co, [
|
|
4003
|
+
b("div", uo, [
|
|
3933
4004
|
b("img", {
|
|
3934
|
-
src:
|
|
4005
|
+
src: R(ye)(e.agent.toConfig()),
|
|
3935
4006
|
alt: e.agent.displayName.value,
|
|
3936
4007
|
class: "size-8 rounded-full object-cover"
|
|
3937
|
-
}, null, 8,
|
|
3938
|
-
b("span",
|
|
4008
|
+
}, null, 8, bo),
|
|
4009
|
+
b("span", mo, P(e.agent.displayName.value), 1)
|
|
3939
4010
|
]),
|
|
3940
|
-
e.hasClose ? (m(),
|
|
4011
|
+
e.hasClose ? (m(), p("div", go, [
|
|
3941
4012
|
b("button", {
|
|
3942
4013
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
3943
|
-
onClick:
|
|
3944
|
-
}, [...
|
|
4014
|
+
onClick: x[0] || (x[0] = Ae((z) => t("close", "button"), ["stop"]))
|
|
4015
|
+
}, [...x[7] || (x[7] = [
|
|
3945
4016
|
b("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
3946
4017
|
])])
|
|
3947
4018
|
])) : S("", !0)
|
|
3948
|
-
])) : (m(),
|
|
4019
|
+
])) : (m(), p("div", {
|
|
3949
4020
|
key: 1,
|
|
3950
4021
|
class: $(["flex items-center", e.hasClose ? "" : "justify-between"])
|
|
3951
4022
|
}, [
|
|
@@ -3954,140 +4025,140 @@ const tt = [
|
|
|
3954
4025
|
}, [
|
|
3955
4026
|
b("button", {
|
|
3956
4027
|
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",
|
|
3957
|
-
onClick:
|
|
3958
|
-
}, [...
|
|
4028
|
+
onClick: x[1] || (x[1] = (z) => l.value = !0)
|
|
4029
|
+
}, [...x[8] || (x[8] = [
|
|
3959
4030
|
b("i", { class: "i-tabler-menu size-7" }, null, -1)
|
|
3960
4031
|
])])
|
|
3961
4032
|
], 2),
|
|
3962
4033
|
b("button", {
|
|
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":
|
|
3964
|
-
onClick:
|
|
4034
|
+
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": n.value }]),
|
|
4035
|
+
onClick: x[2] || (x[2] = (z) => n.value = !0)
|
|
3965
4036
|
}, [
|
|
3966
4037
|
b("i", {
|
|
3967
4038
|
class: $([w.value?.icon, "size-4 opacity-60"])
|
|
3968
4039
|
}, null, 2),
|
|
3969
|
-
b("span",
|
|
3970
|
-
|
|
4040
|
+
b("span", ho, P(w.value?.label), 1),
|
|
4041
|
+
x[9] || (x[9] = b("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
|
|
3971
4042
|
], 2),
|
|
3972
|
-
e.hasClose ? (m(),
|
|
4043
|
+
e.hasClose ? (m(), p("div", fo, [
|
|
3973
4044
|
b("button", {
|
|
3974
4045
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
3975
|
-
onClick:
|
|
3976
|
-
}, [...
|
|
4046
|
+
onClick: x[3] || (x[3] = Ae((z) => t("close", "button"), ["stop"]))
|
|
4047
|
+
}, [...x[10] || (x[10] = [
|
|
3977
4048
|
b("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
3978
4049
|
])])
|
|
3979
4050
|
])) : S("", !0)
|
|
3980
4051
|
], 2))
|
|
3981
4052
|
], 2),
|
|
3982
|
-
e.chatOnly ? (m(),
|
|
3983
|
-
b("div",
|
|
3984
|
-
|
|
4053
|
+
e.chatOnly ? (m(), p("div", po, [
|
|
4054
|
+
b("div", xo, [
|
|
4055
|
+
T(we, {
|
|
3985
4056
|
"chat-controller": r.value,
|
|
3986
4057
|
agent: e.agent
|
|
3987
4058
|
}, null, 8, ["chat-controller", "agent"])
|
|
3988
4059
|
])
|
|
3989
|
-
])) : (m(),
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
4060
|
+
])) : (m(), p(Z, { key: 1 }, [
|
|
4061
|
+
u.value === "self" ? (m(), p("div", vo, [
|
|
4062
|
+
x[11] || (x[11] = b("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
|
|
4063
|
+
T(Kr, {
|
|
3993
4064
|
agent: e.agent,
|
|
3994
|
-
"is-online":
|
|
4065
|
+
"is-online": h.value
|
|
3995
4066
|
}, null, 8, ["agent", "is-online"]),
|
|
3996
|
-
b("div",
|
|
3997
|
-
|
|
4067
|
+
b("div", ko, [
|
|
4068
|
+
T(Ze, {
|
|
3998
4069
|
theme: "primary",
|
|
3999
4070
|
size: "lg",
|
|
4000
4071
|
class: "w-full",
|
|
4001
|
-
icon:
|
|
4072
|
+
icon: O.value,
|
|
4002
4073
|
"data-test": "voice-button",
|
|
4003
|
-
onClick:
|
|
4074
|
+
onClick: x[4] || (x[4] = (z) => r.value?.setMode("talk"))
|
|
4004
4075
|
}, {
|
|
4005
4076
|
default: F(() => [
|
|
4006
|
-
ge(
|
|
4077
|
+
ge(P(Y.value), 1)
|
|
4007
4078
|
]),
|
|
4008
4079
|
_: 1
|
|
4009
4080
|
}, 8, ["icon"]),
|
|
4010
|
-
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(),
|
|
4011
|
-
(m(!0),
|
|
4081
|
+
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), p("div", yo, [
|
|
4082
|
+
(m(!0), p(Z, null, Se((e.agent.accounts.value || []).filter((z) => R(ae)[z.platform]), (z) => (m(), p("a", {
|
|
4012
4083
|
key: `${z.platform}-${z.handle}`,
|
|
4013
|
-
href:
|
|
4084
|
+
href: R(ae)[z.platform].getUrl(z.handle),
|
|
4014
4085
|
target: "_blank",
|
|
4015
4086
|
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"
|
|
4016
4087
|
}, [
|
|
4017
4088
|
b("i", {
|
|
4018
|
-
class: $([
|
|
4089
|
+
class: $([R(ae)[z.platform].icon, "size-5"])
|
|
4019
4090
|
}, null, 2)
|
|
4020
|
-
], 8,
|
|
4091
|
+
], 8, wo))), 128))
|
|
4021
4092
|
])) : S("", !0)
|
|
4022
4093
|
])
|
|
4023
|
-
])) :
|
|
4024
|
-
e.requireAuth && !
|
|
4094
|
+
])) : u.value === "talk" ? (m(), p("div", Co, [
|
|
4095
|
+
e.requireAuth && !v.value ? (m(), N(Ne, {
|
|
4025
4096
|
key: 0,
|
|
4026
4097
|
sdk: e.sdk
|
|
4027
|
-
}, null, 8, ["sdk"])) : (m(),
|
|
4098
|
+
}, null, 8, ["sdk"])) : (m(), p(Z, { key: 1 }, [
|
|
4028
4099
|
b("div", null, [
|
|
4029
|
-
b("div",
|
|
4030
|
-
|
|
4100
|
+
b("div", zo, [
|
|
4101
|
+
T(et, {
|
|
4031
4102
|
agent: e.agent,
|
|
4032
|
-
"is-online":
|
|
4103
|
+
"is-online": h.value
|
|
4033
4104
|
}, null, 8, ["agent", "is-online"])
|
|
4034
4105
|
])
|
|
4035
4106
|
]),
|
|
4036
|
-
|
|
4107
|
+
T(we, {
|
|
4037
4108
|
"chat-controller": r.value,
|
|
4038
4109
|
agent: e.agent
|
|
4039
4110
|
}, null, 8, ["chat-controller", "agent"])
|
|
4040
4111
|
], 64))
|
|
4041
|
-
])) : (m(),
|
|
4042
|
-
b("div",
|
|
4043
|
-
|
|
4044
|
-
e.requireAuth && !
|
|
4112
|
+
])) : (m(), p("div", Ao, [
|
|
4113
|
+
b("div", $o, [
|
|
4114
|
+
u.value === "chat" ? (m(), p(Z, { key: 0 }, [
|
|
4115
|
+
e.requireAuth && !v.value ? (m(), N(Ne, {
|
|
4045
4116
|
key: 0,
|
|
4046
4117
|
sdk: e.sdk
|
|
4047
|
-
}, null, 8, ["sdk"])) : (m(),
|
|
4118
|
+
}, null, 8, ["sdk"])) : (m(), N(we, {
|
|
4048
4119
|
key: 1,
|
|
4049
4120
|
"chat-controller": r.value,
|
|
4050
4121
|
agent: e.agent
|
|
4051
4122
|
}, null, 8, ["chat-controller", "agent"]))
|
|
4052
|
-
], 64)) :
|
|
4123
|
+
], 64)) : u.value === "info" ? (m(), N(Pr, {
|
|
4053
4124
|
key: 1,
|
|
4054
4125
|
agent: e.agent,
|
|
4055
|
-
"is-online":
|
|
4126
|
+
"is-online": h.value
|
|
4056
4127
|
}, null, 8, ["agent", "is-online"])) : S("", !0)
|
|
4057
4128
|
])
|
|
4058
4129
|
]))
|
|
4059
4130
|
], 64))
|
|
4060
4131
|
], 2)
|
|
4061
|
-
], 12,
|
|
4062
|
-
b("div",
|
|
4063
|
-
|
|
4132
|
+
], 12, io)) : s.value ? (m(), p("div", So, [
|
|
4133
|
+
b("div", Mo, [
|
|
4134
|
+
x[12] || (x[12] = b("div", { class: "flex justify-center" }, [
|
|
4064
4135
|
b("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
|
|
4065
4136
|
b("i", { class: "i-tabler-alert-circle size-6 text-red-400" })
|
|
4066
4137
|
])
|
|
4067
4138
|
], -1)),
|
|
4068
|
-
|
|
4069
|
-
b("p",
|
|
4139
|
+
x[13] || (x[13] = b("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
|
|
4140
|
+
b("p", Io, P(s.value), 1)
|
|
4070
4141
|
])
|
|
4071
|
-
])) : (m(),
|
|
4072
|
-
e.chatOnly ? S("", !0) : (m(),
|
|
4142
|
+
])) : (m(), p("div", Vo, " Couldn't load your assistant. Please try again later. ")),
|
|
4143
|
+
e.chatOnly ? S("", !0) : (m(), N(no, {
|
|
4073
4144
|
key: 4,
|
|
4074
|
-
modelValue:
|
|
4075
|
-
"onUpdate:modelValue":
|
|
4145
|
+
modelValue: l.value,
|
|
4146
|
+
"onUpdate:modelValue": x[5] || (x[5] = (z) => l.value = z),
|
|
4076
4147
|
agent: e.agent,
|
|
4077
4148
|
sdk: e.sdk,
|
|
4078
4149
|
title: e.agent.displayName.value,
|
|
4079
4150
|
"data-test": "agent-sidebar"
|
|
4080
4151
|
}, null, 8, ["modelValue", "agent", "sdk", "title"])),
|
|
4081
|
-
e.chatOnly ? S("", !0) : (m(),
|
|
4152
|
+
e.chatOnly ? S("", !0) : (m(), N(so, {
|
|
4082
4153
|
key: 5,
|
|
4083
|
-
modelValue:
|
|
4084
|
-
"onUpdate:modelValue":
|
|
4154
|
+
modelValue: n.value,
|
|
4155
|
+
"onUpdate:modelValue": x[6] || (x[6] = (z) => n.value = z),
|
|
4085
4156
|
"chat-controller": r.value,
|
|
4086
4157
|
"data-test": "agent-mode-sidebar"
|
|
4087
4158
|
}, null, 8, ["modelValue", "chat-controller"]))
|
|
4088
4159
|
]));
|
|
4089
4160
|
}
|
|
4090
|
-
}),
|
|
4161
|
+
}), Ro = /* @__PURE__ */ q({
|
|
4091
4162
|
__name: "AgentProvider",
|
|
4092
4163
|
props: {
|
|
4093
4164
|
sdk: {},
|
|
@@ -4104,9 +4175,9 @@ const tt = [
|
|
|
4104
4175
|
emits: ["close", "error"],
|
|
4105
4176
|
setup(e, { emit: a }) {
|
|
4106
4177
|
const t = e, r = a;
|
|
4107
|
-
return (
|
|
4178
|
+
return (l, n) => (m(), N(St, wt(t, { class: "agent-provider size-full relative" }), {
|
|
4108
4179
|
default: F((s) => [
|
|
4109
|
-
|
|
4180
|
+
T(To, {
|
|
4110
4181
|
sdk: s.sdk,
|
|
4111
4182
|
agent: s.agent,
|
|
4112
4183
|
context: s.context,
|
|
@@ -4117,8 +4188,8 @@ const tt = [
|
|
|
4117
4188
|
"chat-only": t.chatOnly,
|
|
4118
4189
|
"is-active": !0,
|
|
4119
4190
|
class: "size-full",
|
|
4120
|
-
onClose:
|
|
4121
|
-
onError:
|
|
4191
|
+
onClose: n[0] || (n[0] = (i) => r("close", i)),
|
|
4192
|
+
onError: n[1] || (n[1] = (i) => r("error", i))
|
|
4122
4193
|
}, null, 8, ["sdk", "agent", "context", "first-message", "button-text", "button-icon", "has-close", "chat-only"])
|
|
4123
4194
|
]),
|
|
4124
4195
|
_: 1
|
|
@@ -4127,7 +4198,7 @@ const tt = [
|
|
|
4127
4198
|
});
|
|
4128
4199
|
export {
|
|
4129
4200
|
tt as A,
|
|
4130
|
-
|
|
4131
|
-
|
|
4201
|
+
Ro as _,
|
|
4202
|
+
To as a
|
|
4132
4203
|
};
|
|
4133
4204
|
//# sourceMappingURL=AgentProvider.vue_vue_type_script_setup_true_lang.js.map
|