@pagelines/sdk 1.0.385 → 1.0.387
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-5V_TRBPP.js → AgentProvider.vue_vue_type_script_setup_true_lang.js} +889 -1027
- package/dist/AgentProvider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/{AgentWidgetInline-DOoug3lh.js → AgentWidgetInline.js} +3 -3
- package/dist/AgentWidgetInline.js.map +1 -0
- package/dist/{AgentWidgetModal-C-dDlu8w.js → AgentWidgetModal.js} +4 -4
- package/dist/AgentWidgetModal.js.map +1 -0
- package/dist/AgentWidgetOnboard.js +5 -0
- package/dist/AgentWidgetOnboard.js.map +1 -0
- package/dist/{AgentWrap.vue_vue_type_script_setup_true_lang-CHgCPDEe.js → AgentWrap.vue_vue_type_script_setup_true_lang.js} +878 -737
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/{FModal.vue_vue_type_script_setup_true_lang-DI6cyWhd.js → FModal.vue_vue_type_script_setup_true_lang.js} +1 -1
- package/dist/FModal.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/agent/ui/ElAuthPanel.vue.d.ts +6 -0
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +180 -0
- package/dist/agent/ui/ElProvisioningStatus.vue.d.ts +13 -0
- package/dist/agent.js +5 -5
- package/dist/clients/AgentClient.d.ts +24 -0
- package/dist/clients/ChatClient.d.ts +22 -0
- package/dist/demo/index.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +766 -0
- package/dist/index.js.map +1 -0
- package/dist/sdk.js +9 -8
- package/dist/sdkClient.d.ts +9 -3
- package/dist/sdkClient.js +721 -0
- package/dist/sdkClient.js.map +1 -0
- package/dist/{socialPlatforms-Ck-b3SnQ.js → socialPlatforms.js} +1 -1
- package/dist/socialPlatforms.js.map +1 -0
- package/dist/test/agent-client.test.d.ts +4 -0
- package/dist/test/chat-authenticated.test.d.ts +1 -0
- package/dist/test/derive-mode.test.d.ts +1 -0
- package/dist/widget/PLWidget.d.ts +1 -1
- package/dist/widget/composables/useWidgetState.d.ts +6 -3
- package/dist/widget/index.d.ts +1 -0
- package/dist/widget/ui/AgentWidgetOnboard.vue.d.ts +7 -0
- package/dist/widget.js +4 -3
- package/package.json +1 -1
- package/dist/AgentProvider.vue_vue_type_script_setup_true_lang-5V_TRBPP.js.map +0 -1
- package/dist/AgentWidgetInline-DOoug3lh.js.map +0 -1
- package/dist/AgentWidgetModal-C-dDlu8w.js.map +0 -1
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-CHgCPDEe.js.map +0 -1
- package/dist/FModal.vue_vue_type_script_setup_true_lang-DI6cyWhd.js.map +0 -1
- package/dist/index-C9cSPVgs.js +0 -379
- package/dist/index-C9cSPVgs.js.map +0 -1
- package/dist/sdkClient-6j3pmwVP.js +0 -625
- package/dist/sdkClient-6j3pmwVP.js.map +0 -1
- package/dist/socialPlatforms-Ck-b3SnQ.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { S as oe } from "./socialPlatforms
|
|
5
|
-
import { b as
|
|
6
|
-
import { getColorSchemeOklch as
|
|
7
|
-
const
|
|
1
|
+
var xt = Object.defineProperty;
|
|
2
|
+
var o = (e, a) => xt(e, "name", { value: a, configurable: !0 });
|
|
3
|
+
import { defineComponent as W, openBlock as m, createBlock as G, TransitionGroup as Xe, withCtx as U, renderSlot as ge, ref as X, computed as A, watch as ze, createElementBlock as f, createElementVNode as i, toDisplayString as R, createCommentVNode as S, createVNode as I, withKeys as pt, createTextVNode as ne, resolveDynamicComponent as vt, normalizeClass as $, Fragment as J, renderList as Se, unref as B, onMounted as Je, Transition as Le, withModifiers as Ae, normalizeStyle as Qe, shallowRef as kt, onUnmounted as yt, mergeProps as wt } from "vue";
|
|
4
|
+
import { S as oe } from "./socialPlatforms.js";
|
|
5
|
+
import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as Ne, 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
|
+
import { getColorSchemeOklch as Mt } from "@pagelines/core";
|
|
7
|
+
const tt = [
|
|
8
8
|
{
|
|
9
9
|
mode: "self",
|
|
10
10
|
label: "Overview",
|
|
@@ -25,553 +25,415 @@ const et = [
|
|
|
25
25
|
label: "About",
|
|
26
26
|
icon: "i-tabler-user-circle"
|
|
27
27
|
}
|
|
28
|
-
],
|
|
28
|
+
], Vt = /* @__PURE__ */ W({
|
|
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) => (
|
|
35
|
+
return (a, t) => (m(), G(Xe, {
|
|
36
36
|
name: e.disabled ? "" : "nlist"
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
39
|
-
|
|
38
|
+
default: U(() => [
|
|
39
|
+
ge(a.$slots, "default")
|
|
40
40
|
]),
|
|
41
41
|
_: 3
|
|
42
42
|
}, 8, ["name"]));
|
|
43
43
|
}
|
|
44
|
-
}), It = {
|
|
45
|
-
key: 0,
|
|
46
|
-
class: "absolute inset-0 flex items-center justify-center"
|
|
47
|
-
}, tt = /* @__PURE__ */ N({
|
|
48
|
-
__name: "ElAgentButton",
|
|
49
|
-
props: {
|
|
50
|
-
theme: { default: "primary" },
|
|
51
|
-
size: { default: "lg" },
|
|
52
|
-
loading: { type: Boolean, default: !1 },
|
|
53
|
-
icon: {},
|
|
54
|
-
iconAfter: {}
|
|
55
|
-
},
|
|
56
|
-
setup(e) {
|
|
57
|
-
const a = $(() => ({
|
|
58
|
-
primary: "bg-primary-600 border-primary-400 hover:border-primary-300 hover:bg-primary-500",
|
|
59
|
-
green: "bg-green-600 border-green-400 hover:border-green-300 hover:bg-green-500",
|
|
60
|
-
red: "bg-red-600 border-red-400 hover:border-red-300 hover:bg-red-500",
|
|
61
|
-
default: "bg-white/10 border-white/20 hover:border-white/40 hover:bg-white/20"
|
|
62
|
-
})[e.theme]), t = $(() => ({
|
|
63
|
-
sm: "px-4 py-2 text-sm",
|
|
64
|
-
md: "px-6 py-3 text-base",
|
|
65
|
-
lg: "px-8 py-4 text-base"
|
|
66
|
-
})[e.size]), o = $(() => ({
|
|
67
|
-
sm: "size-4",
|
|
68
|
-
md: "size-4",
|
|
69
|
-
lg: "size-5"
|
|
70
|
-
})[e.size]);
|
|
71
|
-
return (l, n) => (u(), h("button", {
|
|
72
|
-
class: A(["relative inline-flex items-center justify-center gap-2 font-medium rounded-full backdrop-blur-sm border-2 text-white transition-all duration-200 focus:outline-none active:opacity-80 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer", [a.value, t.value]])
|
|
73
|
-
}, [
|
|
74
|
-
e.loading ? (u(), h("div", It, [...n[0] || (n[0] = [
|
|
75
|
-
d("i", { class: "i-svg-spinners-90-ring-with-bg size-5" }, null, -1)
|
|
76
|
-
])])) : M("", !0),
|
|
77
|
-
d("span", {
|
|
78
|
-
class: A(["flex items-center gap-2 transition-opacity duration-200", e.loading ? "opacity-0" : "opacity-100"])
|
|
79
|
-
}, [
|
|
80
|
-
e.icon ? (u(), h("i", {
|
|
81
|
-
key: 0,
|
|
82
|
-
class: A([e.icon, o.value])
|
|
83
|
-
}, null, 2)) : M("", !0),
|
|
84
|
-
ne(l.$slots, "default"),
|
|
85
|
-
e.iconAfter ? (u(), h("i", {
|
|
86
|
-
key: 1,
|
|
87
|
-
class: A([e.iconAfter, o.value])
|
|
88
|
-
}, null, 2)) : M("", !0)
|
|
89
|
-
], 2)
|
|
90
|
-
], 2));
|
|
91
|
-
}
|
|
92
|
-
}), Tt = ["value"], Et = /* @__PURE__ */ N({
|
|
93
|
-
__name: "AgentInputEmail",
|
|
94
|
-
props: {
|
|
95
|
-
modelValue: { default: "" }
|
|
96
|
-
},
|
|
97
|
-
emits: ["update:modelValue"],
|
|
98
|
-
setup(e, { emit: a }) {
|
|
99
|
-
const t = a;
|
|
100
|
-
return (o, l) => (u(), h("input", {
|
|
101
|
-
type: "email",
|
|
102
|
-
autocomplete: "email",
|
|
103
|
-
placeholder: "Enter Your Email",
|
|
104
|
-
value: e.modelValue,
|
|
105
|
-
class: "w-full px-6 py-3 text-theme-900 placeholder-theme-500 bg-white border border-white rounded-full focus:outline-none transition-all",
|
|
106
|
-
style: { "font-size": "16px" },
|
|
107
|
-
onInput: l[0] || (l[0] = (n) => t("update:modelValue", n.target.value))
|
|
108
|
-
}, null, 40, Tt));
|
|
109
|
-
}
|
|
110
|
-
}), jt = { class: "flex gap-1.5 justify-center" }, Ot = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], Bt = /* @__PURE__ */ N({
|
|
111
|
-
__name: "AgentInputOneTimeCode",
|
|
112
|
-
props: {
|
|
113
|
-
modelValue: {},
|
|
114
|
-
length: {},
|
|
115
|
-
focusFirst: { type: Boolean }
|
|
116
|
-
},
|
|
117
|
-
emits: ["update:modelValue", "autoSubmit"],
|
|
118
|
-
setup(e, { emit: a }) {
|
|
119
|
-
const t = e, o = a, l = W([]), n = W(Array.from({ length: t.length }).fill("")), s = W(!1);
|
|
120
|
-
Ve(() => {
|
|
121
|
-
t.modelValue && (n.value = t.modelValue.split("").slice(0, t.length)), t.focusFirst && !("ontouchstart" in window) && l.value[0]?.focus();
|
|
122
|
-
}), le(() => t.modelValue, (g) => {
|
|
123
|
-
n.value = g ? g.split("").slice(0, t.length) : Array.from({ length: t.length }).fill("");
|
|
124
|
-
}), le(n, () => {
|
|
125
|
-
const g = n.value.filter(Boolean).join("");
|
|
126
|
-
o("update:modelValue", g), g.length === t.length && o("autoSubmit", g);
|
|
127
|
-
}, { deep: !0 });
|
|
128
|
-
function c(g, v) {
|
|
129
|
-
v.preventDefault(), s.value = !0;
|
|
130
|
-
const z = (v.clipboardData?.getData("text") || "").replace(/\D/g, "");
|
|
131
|
-
if (z.length === t.length)
|
|
132
|
-
n.value = z.split(""), setTimeout(() => {
|
|
133
|
-
l.value[t.length - 1]?.focus(), s.value = !1;
|
|
134
|
-
}, 10);
|
|
135
|
-
else {
|
|
136
|
-
const C = [...n.value];
|
|
137
|
-
z.split("").slice(0, t.length - g).forEach((T, U) => {
|
|
138
|
-
C[g + U] = T;
|
|
139
|
-
}), n.value = C;
|
|
140
|
-
const O = Math.min(g + z.length, t.length - 1);
|
|
141
|
-
setTimeout(() => {
|
|
142
|
-
l.value[O]?.focus(), s.value = !1;
|
|
143
|
-
}, 10);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
r(c, "onPaste");
|
|
147
|
-
function i(g, v) {
|
|
148
|
-
const z = v.target.value.slice(-1).replace(/\D/g, "");
|
|
149
|
-
n.value[g] = z, z && g < t.length - 1 && l.value[g + 1]?.focus();
|
|
150
|
-
}
|
|
151
|
-
r(i, "onInput");
|
|
152
|
-
function y(g, v) {
|
|
153
|
-
v.key === "Backspace" ? (v.preventDefault(), n.value[g] = "", g > 0 && l.value[g - 1]?.focus()) : v.key === "ArrowLeft" && g > 0 ? l.value[g - 1]?.focus() : v.key === "ArrowRight" && g < t.length - 1 && l.value[g + 1]?.focus();
|
|
154
|
-
}
|
|
155
|
-
r(y, "onKeydown");
|
|
156
|
-
function x(g) {
|
|
157
|
-
if (l.value[g]?.select(), !s.value && n.value[g])
|
|
158
|
-
for (let v = g; v < t.length; v++)
|
|
159
|
-
n.value[v] = "";
|
|
160
|
-
}
|
|
161
|
-
return r(x, "onFocus"), (g, v) => (u(), h("div", jt, [
|
|
162
|
-
(u(!0), h(H, null, pe(e.length, (z) => vt((u(), h("input", {
|
|
163
|
-
key: z,
|
|
164
|
-
ref_for: !0,
|
|
165
|
-
ref: /* @__PURE__ */ r((C) => l.value[z - 1] = C, "ref"),
|
|
166
|
-
"onUpdate:modelValue": /* @__PURE__ */ r((C) => n.value[z - 1] = C, "onUpdate:modelValue"),
|
|
167
|
-
type: "text",
|
|
168
|
-
inputmode: "numeric",
|
|
169
|
-
autocomplete: "one-time-code",
|
|
170
|
-
class: "size-11 text-center font-mono text-theme-900 bg-white border border-white rounded-lg focus:outline-none transition-all",
|
|
171
|
-
style: { "font-size": "16px" },
|
|
172
|
-
maxlength: "1",
|
|
173
|
-
onInput: /* @__PURE__ */ r((C) => i(z - 1, C), "onInput"),
|
|
174
|
-
onKeydown: /* @__PURE__ */ r((C) => y(z - 1, C), "onKeydown"),
|
|
175
|
-
onPaste: /* @__PURE__ */ r((C) => c(z - 1, C), "onPaste"),
|
|
176
|
-
onFocus: /* @__PURE__ */ r((C) => x(z - 1), "onFocus")
|
|
177
|
-
}, null, 40, Ot)), [
|
|
178
|
-
[xt, n.value[z - 1]]
|
|
179
|
-
])), 128))
|
|
180
|
-
]));
|
|
181
|
-
}
|
|
182
|
-
}), Pt = ["data-test-mode"], Rt = { class: "w-full max-w-xs space-y-12" }, Lt = {
|
|
44
|
+
}), It = ["data-test-mode"], Tt = { class: "w-full max-w-xs space-y-12" }, Ot = {
|
|
183
45
|
key: 0,
|
|
184
46
|
class: "text-xs text-theme-400 text-center"
|
|
185
|
-
},
|
|
47
|
+
}, Et = { class: "text-base font-light text-white text-center" }, jt = { class: "space-y-6 relative" }, Bt = {
|
|
186
48
|
key: "email-field",
|
|
187
49
|
class: "w-full"
|
|
188
|
-
},
|
|
50
|
+
}, Rt = {
|
|
189
51
|
key: "code-field",
|
|
190
52
|
class: "w-full"
|
|
191
|
-
},
|
|
53
|
+
}, Ge = /* @__PURE__ */ W({
|
|
192
54
|
__name: "ElAuthGate",
|
|
193
55
|
props: {
|
|
194
56
|
sdk: {}
|
|
195
57
|
},
|
|
196
58
|
setup(e) {
|
|
197
|
-
const a =
|
|
59
|
+
const a = X({ email: "", code: "" }), t = X("email"), r = X(!1), d = {
|
|
198
60
|
email: {
|
|
199
61
|
title: "Enter Your Email",
|
|
200
|
-
button: { label: "Continue", disabled: /* @__PURE__ */
|
|
201
|
-
action: /* @__PURE__ */
|
|
202
|
-
if (!
|
|
203
|
-
|
|
62
|
+
button: { label: "Continue", disabled: /* @__PURE__ */ o(() => !a.value.email || r.value, "disabled") },
|
|
63
|
+
action: /* @__PURE__ */ o(async () => {
|
|
64
|
+
if (!r.value) {
|
|
65
|
+
r.value = !0;
|
|
204
66
|
try {
|
|
205
67
|
await e.sdk.requestAuthCode({ email: a.value.email }) && (t.value = "code");
|
|
206
68
|
} finally {
|
|
207
|
-
|
|
69
|
+
r.value = !1;
|
|
208
70
|
}
|
|
209
71
|
}
|
|
210
72
|
}, "action")
|
|
211
73
|
},
|
|
212
74
|
code: {
|
|
213
75
|
title: "Enter Verification Code",
|
|
214
|
-
button: { label: "Verify", disabled: /* @__PURE__ */
|
|
215
|
-
action: /* @__PURE__ */
|
|
216
|
-
if (!
|
|
217
|
-
|
|
76
|
+
button: { label: "Verify", disabled: /* @__PURE__ */ o(() => a.value.code.length !== 6 || r.value, "disabled") },
|
|
77
|
+
action: /* @__PURE__ */ o(async () => {
|
|
78
|
+
if (!r.value) {
|
|
79
|
+
r.value = !0;
|
|
218
80
|
try {
|
|
219
81
|
await e.sdk.loginWithCode({ email: a.value.email, code: a.value.code });
|
|
220
82
|
} finally {
|
|
221
|
-
|
|
83
|
+
r.value = !1;
|
|
222
84
|
}
|
|
223
85
|
}
|
|
224
86
|
}, "action")
|
|
225
87
|
}
|
|
226
|
-
},
|
|
227
|
-
return
|
|
88
|
+
}, l = A(() => d[t.value]);
|
|
89
|
+
return ze(() => e.sdk.activeUser.value, (s) => {
|
|
228
90
|
s && t.value === "code" && console.log("[ElAuthGate] Authentication successful", { email: s.email });
|
|
229
|
-
}), (s, c) => (
|
|
91
|
+
}), (s, c) => (m(), f("div", {
|
|
230
92
|
"data-test": "auth-form",
|
|
231
93
|
"data-test-mode": t.value,
|
|
232
94
|
class: "flex flex-col items-center justify-center h-full p-6"
|
|
233
95
|
}, [
|
|
234
|
-
|
|
235
|
-
e.sdk.error.value ? (
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
default:
|
|
240
|
-
t.value === "email" ? (
|
|
241
|
-
|
|
96
|
+
i("div", Tt, [
|
|
97
|
+
e.sdk.error.value ? (m(), f("p", Ot, R(e.sdk.error.value), 1)) : S("", !0),
|
|
98
|
+
i("h3", Et, R(l.value.title), 1),
|
|
99
|
+
i("div", jt, [
|
|
100
|
+
I(Vt, null, {
|
|
101
|
+
default: U(() => [
|
|
102
|
+
t.value === "email" ? (m(), f("div", Bt, [
|
|
103
|
+
I(Ct, {
|
|
242
104
|
modelValue: a.value.email,
|
|
243
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
105
|
+
"onUpdate:modelValue": c[0] || (c[0] = (n) => a.value.email = n),
|
|
244
106
|
"data-test": "auth-email-input",
|
|
245
|
-
onKeyup:
|
|
107
|
+
onKeyup: pt(l.value.action, ["enter"])
|
|
246
108
|
}, null, 8, ["modelValue", "onKeyup"])
|
|
247
|
-
])) : (
|
|
248
|
-
|
|
109
|
+
])) : (m(), f("div", Rt, [
|
|
110
|
+
I(zt, {
|
|
249
111
|
modelValue: a.value.code,
|
|
250
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
112
|
+
"onUpdate:modelValue": c[1] || (c[1] = (n) => a.value.code = n),
|
|
251
113
|
length: 6,
|
|
252
114
|
"focus-first": !0,
|
|
253
115
|
"data-test": "auth-code-input",
|
|
254
|
-
onAutoSubmit:
|
|
116
|
+
onAutoSubmit: l.value.action
|
|
255
117
|
}, null, 8, ["modelValue", "onAutoSubmit"])
|
|
256
118
|
])),
|
|
257
|
-
(
|
|
258
|
-
key:
|
|
119
|
+
(m(), f("div", {
|
|
120
|
+
key: l.value.button.label,
|
|
259
121
|
class: "space-y-4 w-full"
|
|
260
122
|
}, [
|
|
261
|
-
|
|
123
|
+
I(Ze, {
|
|
262
124
|
theme: "primary",
|
|
263
125
|
size: "md",
|
|
264
126
|
class: "w-full",
|
|
265
127
|
"data-test": "auth-submit",
|
|
266
128
|
loading: e.sdk.loading.value,
|
|
267
|
-
disabled:
|
|
268
|
-
onClick:
|
|
129
|
+
disabled: l.value.button.disabled() || e.sdk.loading.value,
|
|
130
|
+
onClick: l.value.action
|
|
269
131
|
}, {
|
|
270
|
-
default:
|
|
271
|
-
|
|
132
|
+
default: U(() => [
|
|
133
|
+
ne(R(l.value.button.label), 1)
|
|
272
134
|
]),
|
|
273
135
|
_: 1
|
|
274
136
|
}, 8, ["loading", "disabled", "onClick"]),
|
|
275
|
-
t.value === "code" ? (
|
|
137
|
+
t.value === "code" ? (m(), f("button", {
|
|
276
138
|
key: 0,
|
|
277
139
|
class: "w-full text-xs text-white/50 hover:text-white/70 transition-colors py-2",
|
|
278
|
-
onClick: c[2] || (c[2] = (
|
|
279
|
-
}, " Change Email ")) :
|
|
140
|
+
onClick: c[2] || (c[2] = (n) => t.value = "email")
|
|
141
|
+
}, " Change Email ")) : S("", !0)
|
|
280
142
|
]))
|
|
281
143
|
]),
|
|
282
144
|
_: 1
|
|
283
145
|
})
|
|
284
146
|
])
|
|
285
147
|
])
|
|
286
|
-
], 8,
|
|
148
|
+
], 8, It));
|
|
287
149
|
}
|
|
288
|
-
}),
|
|
150
|
+
}), Pt = /* @__PURE__ */ o((e, a) => {
|
|
289
151
|
const t = new Array(e.length + a.length);
|
|
290
|
-
for (let
|
|
291
|
-
t[
|
|
292
|
-
for (let
|
|
293
|
-
t[e.length +
|
|
152
|
+
for (let r = 0; r < e.length; r++)
|
|
153
|
+
t[r] = e[r];
|
|
154
|
+
for (let r = 0; r < a.length; r++)
|
|
155
|
+
t[e.length + r] = a[r];
|
|
294
156
|
return t;
|
|
295
|
-
}, "concatArrays"),
|
|
157
|
+
}, "concatArrays"), Lt = /* @__PURE__ */ o((e, a) => ({
|
|
296
158
|
classGroupId: e,
|
|
297
159
|
validator: a
|
|
298
|
-
}), "createClassValidatorObject"), rt = /* @__PURE__ */
|
|
160
|
+
}), "createClassValidatorObject"), rt = /* @__PURE__ */ o((e = /* @__PURE__ */ new Map(), a = null, t) => ({
|
|
299
161
|
nextPart: e,
|
|
300
162
|
validators: a,
|
|
301
163
|
classGroupId: t
|
|
302
|
-
}), "createClassPartObject"),
|
|
303
|
-
const a =
|
|
164
|
+
}), "createClassPartObject"), he = "-", Fe = [], Nt = "arbitrary..", Gt = /* @__PURE__ */ o((e) => {
|
|
165
|
+
const a = Ut(e), {
|
|
304
166
|
conflictingClassGroups: t,
|
|
305
|
-
conflictingClassGroupModifiers:
|
|
167
|
+
conflictingClassGroupModifiers: r
|
|
306
168
|
} = e;
|
|
307
169
|
return {
|
|
308
|
-
getClassGroupId: /* @__PURE__ */
|
|
170
|
+
getClassGroupId: /* @__PURE__ */ o((s) => {
|
|
309
171
|
if (s.startsWith("[") && s.endsWith("]"))
|
|
310
|
-
return
|
|
311
|
-
const c = s.split(
|
|
312
|
-
return ot(c,
|
|
172
|
+
return Ft(s);
|
|
173
|
+
const c = s.split(he), n = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
174
|
+
return ot(c, n, a);
|
|
313
175
|
}, "getClassGroupId"),
|
|
314
|
-
getConflictingClassGroupIds: /* @__PURE__ */
|
|
176
|
+
getConflictingClassGroupIds: /* @__PURE__ */ o((s, c) => {
|
|
315
177
|
if (c) {
|
|
316
|
-
const
|
|
317
|
-
return
|
|
178
|
+
const n = r[s], v = t[s];
|
|
179
|
+
return n ? v ? Pt(v, n) : n : v || Fe;
|
|
318
180
|
}
|
|
319
|
-
return t[s] ||
|
|
181
|
+
return t[s] || Fe;
|
|
320
182
|
}, "getConflictingClassGroupIds")
|
|
321
183
|
};
|
|
322
|
-
}, "createClassGroupUtils"), ot = /* @__PURE__ */
|
|
184
|
+
}, "createClassGroupUtils"), ot = /* @__PURE__ */ o((e, a, t) => {
|
|
323
185
|
if (e.length - a === 0)
|
|
324
186
|
return t.classGroupId;
|
|
325
|
-
const
|
|
326
|
-
if (
|
|
327
|
-
const
|
|
328
|
-
if (
|
|
187
|
+
const d = e[a], l = t.nextPart.get(d);
|
|
188
|
+
if (l) {
|
|
189
|
+
const v = ot(e, a + 1, l);
|
|
190
|
+
if (v) return v;
|
|
329
191
|
}
|
|
330
192
|
const s = t.validators;
|
|
331
193
|
if (s === null)
|
|
332
194
|
return;
|
|
333
|
-
const c = a === 0 ? e.join(
|
|
334
|
-
for (let
|
|
335
|
-
const
|
|
336
|
-
if (
|
|
337
|
-
return
|
|
195
|
+
const c = a === 0 ? e.join(he) : e.slice(a).join(he), n = s.length;
|
|
196
|
+
for (let v = 0; v < n; v++) {
|
|
197
|
+
const p = s[v];
|
|
198
|
+
if (p.validator(c))
|
|
199
|
+
return p.classGroupId;
|
|
338
200
|
}
|
|
339
|
-
}, "getGroupRecursive"),
|
|
340
|
-
const a = e.slice(1, -1), t = a.indexOf(":"),
|
|
341
|
-
return
|
|
342
|
-
})(), "getGroupIdForArbitraryProperty"),
|
|
201
|
+
}, "getGroupRecursive"), Ft = /* @__PURE__ */ o((e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
202
|
+
const a = e.slice(1, -1), t = a.indexOf(":"), r = a.slice(0, t);
|
|
203
|
+
return r ? Nt + r : void 0;
|
|
204
|
+
})(), "getGroupIdForArbitraryProperty"), Ut = /* @__PURE__ */ o((e) => {
|
|
343
205
|
const {
|
|
344
206
|
theme: a,
|
|
345
207
|
classGroups: t
|
|
346
208
|
} = e;
|
|
347
|
-
return
|
|
348
|
-
}, "createClassMap"),
|
|
209
|
+
return Wt(t, a);
|
|
210
|
+
}, "createClassMap"), Wt = /* @__PURE__ */ o((e, a) => {
|
|
349
211
|
const t = rt();
|
|
350
|
-
for (const
|
|
351
|
-
const
|
|
352
|
-
Me(
|
|
212
|
+
for (const r in e) {
|
|
213
|
+
const d = e[r];
|
|
214
|
+
Me(d, t, r, a);
|
|
353
215
|
}
|
|
354
216
|
return t;
|
|
355
|
-
}, "processClassGroups"), Me = /* @__PURE__ */
|
|
356
|
-
const
|
|
357
|
-
for (let
|
|
358
|
-
const s = e[
|
|
359
|
-
|
|
217
|
+
}, "processClassGroups"), Me = /* @__PURE__ */ o((e, a, t, r) => {
|
|
218
|
+
const d = e.length;
|
|
219
|
+
for (let l = 0; l < d; l++) {
|
|
220
|
+
const s = e[l];
|
|
221
|
+
qt(s, a, t, r);
|
|
360
222
|
}
|
|
361
|
-
}, "processClassesRecursively"),
|
|
223
|
+
}, "processClassesRecursively"), qt = /* @__PURE__ */ o((e, a, t, r) => {
|
|
362
224
|
if (typeof e == "string") {
|
|
363
|
-
|
|
225
|
+
Dt(e, a, t);
|
|
364
226
|
return;
|
|
365
227
|
}
|
|
366
228
|
if (typeof e == "function") {
|
|
367
|
-
|
|
229
|
+
Yt(e, a, t, r);
|
|
368
230
|
return;
|
|
369
231
|
}
|
|
370
|
-
|
|
371
|
-
}, "processClassDefinition"),
|
|
372
|
-
const
|
|
373
|
-
|
|
374
|
-
}, "processStringDefinition"),
|
|
375
|
-
if (
|
|
376
|
-
Me(e(
|
|
232
|
+
Ht(e, a, t, r);
|
|
233
|
+
}, "processClassDefinition"), Dt = /* @__PURE__ */ o((e, a, t) => {
|
|
234
|
+
const r = e === "" ? a : at(a, e);
|
|
235
|
+
r.classGroupId = t;
|
|
236
|
+
}, "processStringDefinition"), Yt = /* @__PURE__ */ o((e, a, t, r) => {
|
|
237
|
+
if (Kt(e)) {
|
|
238
|
+
Me(e(r), a, t, r);
|
|
377
239
|
return;
|
|
378
240
|
}
|
|
379
|
-
a.validators === null && (a.validators = []), a.validators.push(
|
|
380
|
-
}, "processFunctionDefinition"),
|
|
381
|
-
const
|
|
382
|
-
for (let s = 0; s <
|
|
383
|
-
const [c,
|
|
384
|
-
Me(
|
|
241
|
+
a.validators === null && (a.validators = []), a.validators.push(Lt(t, e));
|
|
242
|
+
}, "processFunctionDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
|
|
243
|
+
const d = Object.entries(e), l = d.length;
|
|
244
|
+
for (let s = 0; s < l; s++) {
|
|
245
|
+
const [c, n] = d[s];
|
|
246
|
+
Me(n, at(a, c), t, r);
|
|
385
247
|
}
|
|
386
|
-
}, "processObjectDefinition"), at = /* @__PURE__ */
|
|
248
|
+
}, "processObjectDefinition"), at = /* @__PURE__ */ o((e, a) => {
|
|
387
249
|
let t = e;
|
|
388
|
-
const
|
|
389
|
-
for (let
|
|
390
|
-
const s =
|
|
250
|
+
const r = a.split(he), d = r.length;
|
|
251
|
+
for (let l = 0; l < d; l++) {
|
|
252
|
+
const s = r[l];
|
|
391
253
|
let c = t.nextPart.get(s);
|
|
392
254
|
c || (c = rt(), t.nextPart.set(s, c)), t = c;
|
|
393
255
|
}
|
|
394
256
|
return t;
|
|
395
|
-
}, "getPart"),
|
|
257
|
+
}, "getPart"), Kt = /* @__PURE__ */ o((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"), Xt = /* @__PURE__ */ o((e) => {
|
|
396
258
|
if (e < 1)
|
|
397
259
|
return {
|
|
398
|
-
get: /* @__PURE__ */
|
|
260
|
+
get: /* @__PURE__ */ o(() => {
|
|
399
261
|
}, "get"),
|
|
400
|
-
set: /* @__PURE__ */
|
|
262
|
+
set: /* @__PURE__ */ o(() => {
|
|
401
263
|
}, "set")
|
|
402
264
|
};
|
|
403
|
-
let a = 0, t = /* @__PURE__ */ Object.create(null),
|
|
404
|
-
const
|
|
405
|
-
t[
|
|
265
|
+
let a = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
266
|
+
const d = /* @__PURE__ */ o((l, s) => {
|
|
267
|
+
t[l] = s, a++, a > e && (a = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
406
268
|
}, "update");
|
|
407
269
|
return {
|
|
408
|
-
get(
|
|
409
|
-
let s = t[
|
|
270
|
+
get(l) {
|
|
271
|
+
let s = t[l];
|
|
410
272
|
if (s !== void 0)
|
|
411
273
|
return s;
|
|
412
|
-
if ((s =
|
|
413
|
-
return l
|
|
274
|
+
if ((s = r[l]) !== void 0)
|
|
275
|
+
return d(l, s), s;
|
|
414
276
|
},
|
|
415
|
-
set(
|
|
416
|
-
|
|
277
|
+
set(l, s) {
|
|
278
|
+
l in t ? t[l] = s : d(l, s);
|
|
417
279
|
}
|
|
418
280
|
};
|
|
419
|
-
}, "createLruCache"),
|
|
281
|
+
}, "createLruCache"), $e = "!", Ue = ":", Jt = [], We = /* @__PURE__ */ o((e, a, t, r, d) => ({
|
|
420
282
|
modifiers: e,
|
|
421
283
|
hasImportantModifier: a,
|
|
422
284
|
baseClassName: t,
|
|
423
|
-
maybePostfixModifierPosition:
|
|
424
|
-
isExternal:
|
|
425
|
-
}), "createResultObject"),
|
|
285
|
+
maybePostfixModifierPosition: r,
|
|
286
|
+
isExternal: d
|
|
287
|
+
}), "createResultObject"), Qt = /* @__PURE__ */ o((e) => {
|
|
426
288
|
const {
|
|
427
289
|
prefix: a,
|
|
428
290
|
experimentalParseClassName: t
|
|
429
291
|
} = e;
|
|
430
|
-
let
|
|
431
|
-
const
|
|
432
|
-
let s = 0, c = 0,
|
|
433
|
-
const
|
|
434
|
-
for (let
|
|
435
|
-
const T =
|
|
292
|
+
let r = /* @__PURE__ */ o((d) => {
|
|
293
|
+
const l = [];
|
|
294
|
+
let s = 0, c = 0, n = 0, v;
|
|
295
|
+
const p = d.length;
|
|
296
|
+
for (let L = 0; L < p; L++) {
|
|
297
|
+
const T = d[L];
|
|
436
298
|
if (s === 0 && c === 0) {
|
|
437
|
-
if (T ===
|
|
438
|
-
|
|
299
|
+
if (T === Ue) {
|
|
300
|
+
l.push(d.slice(n, L)), n = L + 1;
|
|
439
301
|
continue;
|
|
440
302
|
}
|
|
441
303
|
if (T === "/") {
|
|
442
|
-
|
|
304
|
+
v = L;
|
|
443
305
|
continue;
|
|
444
306
|
}
|
|
445
307
|
}
|
|
446
308
|
T === "[" ? s++ : T === "]" ? s-- : T === "(" ? c++ : T === ")" && c--;
|
|
447
309
|
}
|
|
448
|
-
const
|
|
449
|
-
let
|
|
450
|
-
|
|
310
|
+
const w = l.length === 0 ? d : d.slice(n);
|
|
311
|
+
let y = w, O = !1;
|
|
312
|
+
w.endsWith($e) ? (y = w.slice(0, -1), O = !0) : (
|
|
451
313
|
/**
|
|
452
314
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
453
315
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
454
316
|
*/
|
|
455
|
-
|
|
317
|
+
w.startsWith($e) && (y = w.slice(1), O = !0)
|
|
456
318
|
);
|
|
457
|
-
const
|
|
458
|
-
return We(
|
|
319
|
+
const P = v && v > n ? v - n : void 0;
|
|
320
|
+
return We(l, O, y, P);
|
|
459
321
|
}, "parseClassName");
|
|
460
322
|
if (a) {
|
|
461
|
-
const
|
|
462
|
-
|
|
323
|
+
const d = a + Ue, l = r;
|
|
324
|
+
r = /* @__PURE__ */ o((s) => s.startsWith(d) ? l(s.slice(d.length)) : We(Jt, !1, s, void 0, !0), "parseClassName");
|
|
463
325
|
}
|
|
464
326
|
if (t) {
|
|
465
|
-
const
|
|
466
|
-
|
|
467
|
-
className:
|
|
468
|
-
parseClassName:
|
|
327
|
+
const d = r;
|
|
328
|
+
r = /* @__PURE__ */ o((l) => t({
|
|
329
|
+
className: l,
|
|
330
|
+
parseClassName: d
|
|
469
331
|
}), "parseClassName");
|
|
470
332
|
}
|
|
471
|
-
return
|
|
472
|
-
}, "createParseClassName"),
|
|
333
|
+
return r;
|
|
334
|
+
}, "createParseClassName"), Zt = /* @__PURE__ */ o((e) => {
|
|
473
335
|
const a = /* @__PURE__ */ new Map();
|
|
474
|
-
return e.orderSensitiveModifiers.forEach((t,
|
|
475
|
-
a.set(t, 1e6 +
|
|
336
|
+
return e.orderSensitiveModifiers.forEach((t, r) => {
|
|
337
|
+
a.set(t, 1e6 + r);
|
|
476
338
|
}), (t) => {
|
|
477
|
-
const
|
|
478
|
-
let
|
|
479
|
-
for (let
|
|
480
|
-
const s = t[
|
|
481
|
-
c ||
|
|
339
|
+
const r = [];
|
|
340
|
+
let d = [];
|
|
341
|
+
for (let l = 0; l < t.length; l++) {
|
|
342
|
+
const s = t[l], c = s[0] === "[", n = a.has(s);
|
|
343
|
+
c || n ? (d.length > 0 && (d.sort(), r.push(...d), d = []), r.push(s)) : d.push(s);
|
|
482
344
|
}
|
|
483
|
-
return
|
|
345
|
+
return d.length > 0 && (d.sort(), r.push(...d)), r;
|
|
484
346
|
};
|
|
485
|
-
}, "createSortModifiers"),
|
|
486
|
-
cache:
|
|
487
|
-
parseClassName:
|
|
488
|
-
sortModifiers:
|
|
489
|
-
...
|
|
490
|
-
}), "createConfigUtils"),
|
|
347
|
+
}, "createSortModifiers"), _t = /* @__PURE__ */ o((e) => ({
|
|
348
|
+
cache: Xt(e.cacheSize),
|
|
349
|
+
parseClassName: Qt(e),
|
|
350
|
+
sortModifiers: Zt(e),
|
|
351
|
+
...Gt(e)
|
|
352
|
+
}), "createConfigUtils"), er = /\s+/, tr = /* @__PURE__ */ o((e, a) => {
|
|
491
353
|
const {
|
|
492
354
|
parseClassName: t,
|
|
493
|
-
getClassGroupId:
|
|
494
|
-
getConflictingClassGroupIds:
|
|
495
|
-
sortModifiers:
|
|
496
|
-
} = a, s = [], c = e.trim().split(
|
|
497
|
-
let
|
|
498
|
-
for (let
|
|
499
|
-
const
|
|
500
|
-
isExternal:
|
|
501
|
-
modifiers:
|
|
502
|
-
hasImportantModifier:
|
|
503
|
-
baseClassName:
|
|
504
|
-
maybePostfixModifierPosition:
|
|
505
|
-
} = t(
|
|
506
|
-
if (
|
|
507
|
-
|
|
355
|
+
getClassGroupId: r,
|
|
356
|
+
getConflictingClassGroupIds: d,
|
|
357
|
+
sortModifiers: l
|
|
358
|
+
} = a, s = [], c = e.trim().split(er);
|
|
359
|
+
let n = "";
|
|
360
|
+
for (let v = c.length - 1; v >= 0; v -= 1) {
|
|
361
|
+
const p = c[v], {
|
|
362
|
+
isExternal: w,
|
|
363
|
+
modifiers: y,
|
|
364
|
+
hasImportantModifier: O,
|
|
365
|
+
baseClassName: P,
|
|
366
|
+
maybePostfixModifierPosition: L
|
|
367
|
+
} = t(p);
|
|
368
|
+
if (w) {
|
|
369
|
+
n = p + (n.length > 0 ? " " + n : n);
|
|
508
370
|
continue;
|
|
509
371
|
}
|
|
510
|
-
let T = !!
|
|
511
|
-
if (!
|
|
372
|
+
let T = !!L, q = r(T ? P.substring(0, L) : P);
|
|
373
|
+
if (!q) {
|
|
512
374
|
if (!T) {
|
|
513
|
-
|
|
375
|
+
n = p + (n.length > 0 ? " " + n : n);
|
|
514
376
|
continue;
|
|
515
377
|
}
|
|
516
|
-
if (
|
|
517
|
-
|
|
378
|
+
if (q = r(P), !q) {
|
|
379
|
+
n = p + (n.length > 0 ? " " + n : n);
|
|
518
380
|
continue;
|
|
519
381
|
}
|
|
520
382
|
T = !1;
|
|
521
383
|
}
|
|
522
|
-
const te =
|
|
523
|
-
if (s.indexOf(
|
|
384
|
+
const te = y.length === 0 ? "" : y.length === 1 ? y[0] : l(y).join(":"), C = O ? te + $e : te, x = C + q;
|
|
385
|
+
if (s.indexOf(x) > -1)
|
|
524
386
|
continue;
|
|
525
|
-
s.push(
|
|
526
|
-
const
|
|
527
|
-
for (let
|
|
528
|
-
const ae =
|
|
529
|
-
s.push(
|
|
387
|
+
s.push(x);
|
|
388
|
+
const z = d(q, T);
|
|
389
|
+
for (let D = 0; D < z.length; ++D) {
|
|
390
|
+
const ae = z[D];
|
|
391
|
+
s.push(C + ae);
|
|
530
392
|
}
|
|
531
|
-
|
|
393
|
+
n = p + (n.length > 0 ? " " + n : n);
|
|
532
394
|
}
|
|
533
|
-
return
|
|
534
|
-
}, "mergeClassList"),
|
|
535
|
-
let a = 0, t,
|
|
395
|
+
return n;
|
|
396
|
+
}, "mergeClassList"), rr = /* @__PURE__ */ o((...e) => {
|
|
397
|
+
let a = 0, t, r, d = "";
|
|
536
398
|
for (; a < e.length; )
|
|
537
|
-
(t = e[a++]) && (
|
|
538
|
-
return
|
|
539
|
-
}, "twJoin"), st = /* @__PURE__ */
|
|
399
|
+
(t = e[a++]) && (r = st(t)) && (d && (d += " "), d += r);
|
|
400
|
+
return d;
|
|
401
|
+
}, "twJoin"), st = /* @__PURE__ */ o((e) => {
|
|
540
402
|
if (typeof e == "string")
|
|
541
403
|
return e;
|
|
542
404
|
let a, t = "";
|
|
543
|
-
for (let
|
|
544
|
-
e[
|
|
405
|
+
for (let r = 0; r < e.length; r++)
|
|
406
|
+
e[r] && (a = st(e[r])) && (t && (t += " "), t += a);
|
|
545
407
|
return t;
|
|
546
|
-
}, "toValue"),
|
|
547
|
-
let t,
|
|
548
|
-
const s = /* @__PURE__ */
|
|
549
|
-
const
|
|
550
|
-
return t =
|
|
551
|
-
}, "initTailwindMerge"), c = /* @__PURE__ */
|
|
552
|
-
const
|
|
553
|
-
if (
|
|
554
|
-
return
|
|
555
|
-
const
|
|
556
|
-
return
|
|
408
|
+
}, "toValue"), or = /* @__PURE__ */ o((e, ...a) => {
|
|
409
|
+
let t, r, d, l;
|
|
410
|
+
const s = /* @__PURE__ */ o((n) => {
|
|
411
|
+
const v = a.reduce((p, w) => w(p), e());
|
|
412
|
+
return t = _t(v), r = t.cache.get, d = t.cache.set, l = c, c(n);
|
|
413
|
+
}, "initTailwindMerge"), c = /* @__PURE__ */ o((n) => {
|
|
414
|
+
const v = r(n);
|
|
415
|
+
if (v)
|
|
416
|
+
return v;
|
|
417
|
+
const p = tr(n, t);
|
|
418
|
+
return d(n, p), p;
|
|
557
419
|
}, "tailwindMerge");
|
|
558
|
-
return
|
|
559
|
-
}, "createTailwindMerge"),
|
|
560
|
-
const a = /* @__PURE__ */
|
|
420
|
+
return l = s, (...n) => l(rr(...n));
|
|
421
|
+
}, "createTailwindMerge"), ar = [], M = /* @__PURE__ */ o((e) => {
|
|
422
|
+
const a = /* @__PURE__ */ o((t) => t[e] || ar, "themeGetter");
|
|
561
423
|
return a.isThemeGetter = !0, a;
|
|
562
|
-
}, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
424
|
+
}, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, sr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, nr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, cr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = /* @__PURE__ */ o((e) => sr.test(e), "isFraction"), k = /* @__PURE__ */ o((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), K = /* @__PURE__ */ o((e) => !!e && Number.isInteger(Number(e)), "isInteger"), Ce = /* @__PURE__ */ o((e) => e.endsWith("%") && k(e.slice(0, -1)), "isPercent"), Y = /* @__PURE__ */ o((e) => nr.test(e), "isTshirtSize"), it = /* @__PURE__ */ o(() => !0, "isAny"), ur = /* @__PURE__ */ o((e) => (
|
|
563
425
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
564
426
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
565
427
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
566
|
-
|
|
567
|
-
), "isLengthOnly"),
|
|
568
|
-
const
|
|
569
|
-
return
|
|
570
|
-
}, "getIsArbitraryValue"), ee = /* @__PURE__ */
|
|
571
|
-
const
|
|
572
|
-
return
|
|
573
|
-
}, "getIsArbitraryVariable"), dt = /* @__PURE__ */
|
|
574
|
-
const e =
|
|
428
|
+
lr.test(e) && !ir.test(e)
|
|
429
|
+
), "isLengthOnly"), Ve = /* @__PURE__ */ o(() => !1, "isNever"), br = /* @__PURE__ */ o((e) => dr.test(e), "isShadow"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isImage"), gr = /* @__PURE__ */ o((e) => !u(e) && !b(e), "isAnyNonArbitrary"), hr = /* @__PURE__ */ o((e) => Q(e, ut, Ve), "isArbitrarySize"), u = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), _ = /* @__PURE__ */ o((e) => Q(e, bt, ur), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => Q(e, Cr, k), "isArbitraryNumber"), fr = /* @__PURE__ */ o((e) => Q(e, gt, it), "isArbitraryWeight"), xr = /* @__PURE__ */ o((e) => Q(e, mt, Ve), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => Q(e, dt, Ve), "isArbitraryPosition"), pr = /* @__PURE__ */ o((e) => Q(e, ct, mr), "isArbitraryImage"), be = /* @__PURE__ */ o((e) => Q(e, ht, br), "isArbitraryShadow"), b = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => ee(e, bt), "isArbitraryVariableLength"), vr = /* @__PURE__ */ o((e) => ee(e, mt), "isArbitraryVariableFamilyName"), Ye = /* @__PURE__ */ o((e) => ee(e, dt), "isArbitraryVariablePosition"), kr = /* @__PURE__ */ o((e) => ee(e, ut), "isArbitraryVariableSize"), yr = /* @__PURE__ */ o((e) => ee(e, ct), "isArbitraryVariableImage"), me = /* @__PURE__ */ o((e) => ee(e, ht, !0), "isArbitraryVariableShadow"), wr = /* @__PURE__ */ o((e) => ee(e, gt, !0), "isArbitraryVariableWeight"), Q = /* @__PURE__ */ o((e, a, t) => {
|
|
430
|
+
const r = nt.exec(e);
|
|
431
|
+
return r ? r[1] ? a(r[1]) : t(r[2]) : !1;
|
|
432
|
+
}, "getIsArbitraryValue"), ee = /* @__PURE__ */ o((e, a, t = !1) => {
|
|
433
|
+
const r = lt.exec(e);
|
|
434
|
+
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"), Cr = /* @__PURE__ */ o((e) => e === "number", "isLabelNumber"), mt = /* @__PURE__ */ o((e) => e === "family-name", "isLabelFamilyName"), gt = /* @__PURE__ */ o((e) => e === "number" || e === "weight", "isLabelWeight"), ht = /* @__PURE__ */ o((e) => e === "shadow", "isLabelShadow"), zr = /* @__PURE__ */ o(() => {
|
|
436
|
+
const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), d = M("tracking"), l = M("leading"), s = M("breakpoint"), c = M("container"), n = M("spacing"), v = M("radius"), p = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), O = M("drop-shadow"), P = M("blur"), L = M("perspective"), T = M("aspect"), q = M("ease"), te = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), x = /* @__PURE__ */ o(() => [
|
|
575
437
|
"center",
|
|
576
438
|
"top",
|
|
577
439
|
"bottom",
|
|
@@ -589,51 +451,51 @@ const et = [
|
|
|
589
451
|
"bottom-left",
|
|
590
452
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
591
453
|
"left-bottom"
|
|
592
|
-
], "scalePosition"),
|
|
593
|
-
span: ["full",
|
|
594
|
-
},
|
|
595
|
-
position: [b,
|
|
596
|
-
}], "scaleBgPosition"),
|
|
454
|
+
], "scalePosition"), z = /* @__PURE__ */ o(() => [...x(), b, u], "scalePositionWithArbitrary"), D = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ae = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [b, u, n], "scaleUnambiguousSpacing"), N = /* @__PURE__ */ o(() => [H, "full", "auto", ...g()], "scaleInset"), Ie = /* @__PURE__ */ o(() => [K, "none", "subgrid", b, u], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
|
|
455
|
+
span: ["full", K, b, u]
|
|
456
|
+
}, K, b, u], "scaleGridColRowStartAndEnd"), le = /* @__PURE__ */ o(() => [K, "auto", b, u], "scaleGridColRowStartOrEnd"), Oe = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", b, u], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), re = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), F = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), Z = /* @__PURE__ */ o(() => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), xe = /* @__PURE__ */ o(() => [H, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), pe = /* @__PURE__ */ o(() => [H, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), h = /* @__PURE__ */ o(() => [e, b, u], "scaleColor"), Ee = /* @__PURE__ */ o(() => [...x(), Ye, De, {
|
|
457
|
+
position: [b, u]
|
|
458
|
+
}], "scaleBgPosition"), je = /* @__PURE__ */ o(() => ["no-repeat", {
|
|
597
459
|
repeat: ["", "x", "y", "space", "round"]
|
|
598
|
-
}], "scaleBgRepeat"),
|
|
599
|
-
size: [b,
|
|
600
|
-
}], "scaleBgSize"),
|
|
460
|
+
}], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain", kr, hr, {
|
|
461
|
+
size: [b, u]
|
|
462
|
+
}], "scaleBgSize"), ve = /* @__PURE__ */ o(() => [Ce, se, _], "scaleGradientStopPosition"), E = /* @__PURE__ */ o(() => [
|
|
601
463
|
// Deprecated since Tailwind CSS v4.0.0
|
|
602
464
|
"",
|
|
603
465
|
"none",
|
|
604
466
|
"full",
|
|
605
|
-
|
|
467
|
+
v,
|
|
606
468
|
b,
|
|
607
|
-
|
|
608
|
-
], "scaleRadius"),
|
|
469
|
+
u
|
|
470
|
+
], "scaleRadius"), j = /* @__PURE__ */ o(() => ["", k, se, _], "scaleBorderWidth"), ie = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Re = /* @__PURE__ */ o(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), V = /* @__PURE__ */ o(() => [k, Ce, Ye, De], "scaleMaskImagePosition"), Pe = /* @__PURE__ */ o(() => [
|
|
609
471
|
// Deprecated since Tailwind CSS v4.0.0
|
|
610
472
|
"",
|
|
611
473
|
"none",
|
|
612
|
-
|
|
474
|
+
P,
|
|
613
475
|
b,
|
|
614
|
-
|
|
615
|
-
], "scaleBlur"),
|
|
476
|
+
u
|
|
477
|
+
], "scaleBlur"), de = /* @__PURE__ */ o(() => ["none", k, b, u], "scaleRotate"), ce = /* @__PURE__ */ o(() => ["none", k, b, u], "scaleScale"), ke = /* @__PURE__ */ o(() => [k, b, u], "scaleSkew"), ue = /* @__PURE__ */ o(() => [H, "full", ...g()], "scaleTranslate");
|
|
616
478
|
return {
|
|
617
479
|
cacheSize: 500,
|
|
618
480
|
theme: {
|
|
619
481
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
620
482
|
aspect: ["video"],
|
|
621
|
-
blur: [
|
|
622
|
-
breakpoint: [
|
|
483
|
+
blur: [Y],
|
|
484
|
+
breakpoint: [Y],
|
|
623
485
|
color: [it],
|
|
624
|
-
container: [
|
|
625
|
-
"drop-shadow": [
|
|
486
|
+
container: [Y],
|
|
487
|
+
"drop-shadow": [Y],
|
|
626
488
|
ease: ["in", "out", "in-out"],
|
|
627
|
-
font: [
|
|
489
|
+
font: [gr],
|
|
628
490
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
629
|
-
"inset-shadow": [
|
|
491
|
+
"inset-shadow": [Y],
|
|
630
492
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
631
493
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
632
|
-
radius: [
|
|
633
|
-
shadow: [
|
|
634
|
-
spacing: ["px",
|
|
635
|
-
text: [
|
|
636
|
-
"text-shadow": [
|
|
494
|
+
radius: [Y],
|
|
495
|
+
shadow: [Y],
|
|
496
|
+
spacing: ["px", k],
|
|
497
|
+
text: [Y],
|
|
498
|
+
"text-shadow": [Y],
|
|
637
499
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
638
500
|
},
|
|
639
501
|
classGroups: {
|
|
@@ -645,7 +507,7 @@ const et = [
|
|
|
645
507
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
646
508
|
*/
|
|
647
509
|
aspect: [{
|
|
648
|
-
aspect: ["auto", "square",
|
|
510
|
+
aspect: ["auto", "square", H, u, b, T]
|
|
649
511
|
}],
|
|
650
512
|
/**
|
|
651
513
|
* Container
|
|
@@ -658,21 +520,21 @@ const et = [
|
|
|
658
520
|
* @see https://tailwindcss.com/docs/columns
|
|
659
521
|
*/
|
|
660
522
|
columns: [{
|
|
661
|
-
columns: [
|
|
523
|
+
columns: [k, u, b, c]
|
|
662
524
|
}],
|
|
663
525
|
/**
|
|
664
526
|
* Break After
|
|
665
527
|
* @see https://tailwindcss.com/docs/break-after
|
|
666
528
|
*/
|
|
667
529
|
"break-after": [{
|
|
668
|
-
"break-after":
|
|
530
|
+
"break-after": C()
|
|
669
531
|
}],
|
|
670
532
|
/**
|
|
671
533
|
* Break Before
|
|
672
534
|
* @see https://tailwindcss.com/docs/break-before
|
|
673
535
|
*/
|
|
674
536
|
"break-before": [{
|
|
675
|
-
"break-before":
|
|
537
|
+
"break-before": C()
|
|
676
538
|
}],
|
|
677
539
|
/**
|
|
678
540
|
* Break Inside
|
|
@@ -736,28 +598,28 @@ const et = [
|
|
|
736
598
|
* @see https://tailwindcss.com/docs/object-position
|
|
737
599
|
*/
|
|
738
600
|
"object-position": [{
|
|
739
|
-
object:
|
|
601
|
+
object: z()
|
|
740
602
|
}],
|
|
741
603
|
/**
|
|
742
604
|
* Overflow
|
|
743
605
|
* @see https://tailwindcss.com/docs/overflow
|
|
744
606
|
*/
|
|
745
607
|
overflow: [{
|
|
746
|
-
overflow:
|
|
608
|
+
overflow: D()
|
|
747
609
|
}],
|
|
748
610
|
/**
|
|
749
611
|
* Overflow X
|
|
750
612
|
* @see https://tailwindcss.com/docs/overflow
|
|
751
613
|
*/
|
|
752
614
|
"overflow-x": [{
|
|
753
|
-
"overflow-x":
|
|
615
|
+
"overflow-x": D()
|
|
754
616
|
}],
|
|
755
617
|
/**
|
|
756
618
|
* Overflow Y
|
|
757
619
|
* @see https://tailwindcss.com/docs/overflow
|
|
758
620
|
*/
|
|
759
621
|
"overflow-y": [{
|
|
760
|
-
"overflow-y":
|
|
622
|
+
"overflow-y": D()
|
|
761
623
|
}],
|
|
762
624
|
/**
|
|
763
625
|
* Overscroll Behavior
|
|
@@ -790,21 +652,21 @@ const et = [
|
|
|
790
652
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
791
653
|
*/
|
|
792
654
|
inset: [{
|
|
793
|
-
inset:
|
|
655
|
+
inset: N()
|
|
794
656
|
}],
|
|
795
657
|
/**
|
|
796
658
|
* Inset Inline
|
|
797
659
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
798
660
|
*/
|
|
799
661
|
"inset-x": [{
|
|
800
|
-
"inset-x":
|
|
662
|
+
"inset-x": N()
|
|
801
663
|
}],
|
|
802
664
|
/**
|
|
803
665
|
* Inset Block
|
|
804
666
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
805
667
|
*/
|
|
806
668
|
"inset-y": [{
|
|
807
|
-
"inset-y":
|
|
669
|
+
"inset-y": N()
|
|
808
670
|
}],
|
|
809
671
|
/**
|
|
810
672
|
* Inset Inline Start
|
|
@@ -812,12 +674,12 @@ const et = [
|
|
|
812
674
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
813
675
|
*/
|
|
814
676
|
start: [{
|
|
815
|
-
"inset-s":
|
|
677
|
+
"inset-s": N(),
|
|
816
678
|
/**
|
|
817
679
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
818
680
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
819
681
|
*/
|
|
820
|
-
start:
|
|
682
|
+
start: N()
|
|
821
683
|
}],
|
|
822
684
|
/**
|
|
823
685
|
* Inset Inline End
|
|
@@ -825,54 +687,54 @@ const et = [
|
|
|
825
687
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
826
688
|
*/
|
|
827
689
|
end: [{
|
|
828
|
-
"inset-e":
|
|
690
|
+
"inset-e": N(),
|
|
829
691
|
/**
|
|
830
692
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
831
693
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
832
694
|
*/
|
|
833
|
-
end:
|
|
695
|
+
end: N()
|
|
834
696
|
}],
|
|
835
697
|
/**
|
|
836
698
|
* Inset Block Start
|
|
837
699
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
838
700
|
*/
|
|
839
701
|
"inset-bs": [{
|
|
840
|
-
"inset-bs":
|
|
702
|
+
"inset-bs": N()
|
|
841
703
|
}],
|
|
842
704
|
/**
|
|
843
705
|
* Inset Block End
|
|
844
706
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
845
707
|
*/
|
|
846
708
|
"inset-be": [{
|
|
847
|
-
"inset-be":
|
|
709
|
+
"inset-be": N()
|
|
848
710
|
}],
|
|
849
711
|
/**
|
|
850
712
|
* Top
|
|
851
713
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
852
714
|
*/
|
|
853
715
|
top: [{
|
|
854
|
-
top:
|
|
716
|
+
top: N()
|
|
855
717
|
}],
|
|
856
718
|
/**
|
|
857
719
|
* Right
|
|
858
720
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
859
721
|
*/
|
|
860
722
|
right: [{
|
|
861
|
-
right:
|
|
723
|
+
right: N()
|
|
862
724
|
}],
|
|
863
725
|
/**
|
|
864
726
|
* Bottom
|
|
865
727
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
866
728
|
*/
|
|
867
729
|
bottom: [{
|
|
868
|
-
bottom:
|
|
730
|
+
bottom: N()
|
|
869
731
|
}],
|
|
870
732
|
/**
|
|
871
733
|
* Left
|
|
872
734
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
873
735
|
*/
|
|
874
736
|
left: [{
|
|
875
|
-
left:
|
|
737
|
+
left: N()
|
|
876
738
|
}],
|
|
877
739
|
/**
|
|
878
740
|
* Visibility
|
|
@@ -884,7 +746,7 @@ const et = [
|
|
|
884
746
|
* @see https://tailwindcss.com/docs/z-index
|
|
885
747
|
*/
|
|
886
748
|
z: [{
|
|
887
|
-
z: [
|
|
749
|
+
z: [K, "auto", b, u]
|
|
888
750
|
}],
|
|
889
751
|
// ------------------------
|
|
890
752
|
// --- Flexbox and Grid ---
|
|
@@ -894,7 +756,7 @@ const et = [
|
|
|
894
756
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
895
757
|
*/
|
|
896
758
|
basis: [{
|
|
897
|
-
basis: [
|
|
759
|
+
basis: [H, "full", "auto", c, ...g()]
|
|
898
760
|
}],
|
|
899
761
|
/**
|
|
900
762
|
* Flex Direction
|
|
@@ -915,84 +777,84 @@ const et = [
|
|
|
915
777
|
* @see https://tailwindcss.com/docs/flex
|
|
916
778
|
*/
|
|
917
779
|
flex: [{
|
|
918
|
-
flex: [
|
|
780
|
+
flex: [k, H, "auto", "initial", "none", u]
|
|
919
781
|
}],
|
|
920
782
|
/**
|
|
921
783
|
* Flex Grow
|
|
922
784
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
923
785
|
*/
|
|
924
786
|
grow: [{
|
|
925
|
-
grow: ["",
|
|
787
|
+
grow: ["", k, b, u]
|
|
926
788
|
}],
|
|
927
789
|
/**
|
|
928
790
|
* Flex Shrink
|
|
929
791
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
930
792
|
*/
|
|
931
793
|
shrink: [{
|
|
932
|
-
shrink: ["",
|
|
794
|
+
shrink: ["", k, b, u]
|
|
933
795
|
}],
|
|
934
796
|
/**
|
|
935
797
|
* Order
|
|
936
798
|
* @see https://tailwindcss.com/docs/order
|
|
937
799
|
*/
|
|
938
800
|
order: [{
|
|
939
|
-
order: [
|
|
801
|
+
order: [K, "first", "last", "none", b, u]
|
|
940
802
|
}],
|
|
941
803
|
/**
|
|
942
804
|
* Grid Template Columns
|
|
943
805
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
944
806
|
*/
|
|
945
807
|
"grid-cols": [{
|
|
946
|
-
"grid-cols":
|
|
808
|
+
"grid-cols": Ie()
|
|
947
809
|
}],
|
|
948
810
|
/**
|
|
949
811
|
* Grid Column Start / End
|
|
950
812
|
* @see https://tailwindcss.com/docs/grid-column
|
|
951
813
|
*/
|
|
952
814
|
"col-start-end": [{
|
|
953
|
-
col:
|
|
815
|
+
col: Te()
|
|
954
816
|
}],
|
|
955
817
|
/**
|
|
956
818
|
* Grid Column Start
|
|
957
819
|
* @see https://tailwindcss.com/docs/grid-column
|
|
958
820
|
*/
|
|
959
821
|
"col-start": [{
|
|
960
|
-
"col-start":
|
|
822
|
+
"col-start": le()
|
|
961
823
|
}],
|
|
962
824
|
/**
|
|
963
825
|
* Grid Column End
|
|
964
826
|
* @see https://tailwindcss.com/docs/grid-column
|
|
965
827
|
*/
|
|
966
828
|
"col-end": [{
|
|
967
|
-
"col-end":
|
|
829
|
+
"col-end": le()
|
|
968
830
|
}],
|
|
969
831
|
/**
|
|
970
832
|
* Grid Template Rows
|
|
971
833
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
972
834
|
*/
|
|
973
835
|
"grid-rows": [{
|
|
974
|
-
"grid-rows":
|
|
836
|
+
"grid-rows": Ie()
|
|
975
837
|
}],
|
|
976
838
|
/**
|
|
977
839
|
* Grid Row Start / End
|
|
978
840
|
* @see https://tailwindcss.com/docs/grid-row
|
|
979
841
|
*/
|
|
980
842
|
"row-start-end": [{
|
|
981
|
-
row:
|
|
843
|
+
row: Te()
|
|
982
844
|
}],
|
|
983
845
|
/**
|
|
984
846
|
* Grid Row Start
|
|
985
847
|
* @see https://tailwindcss.com/docs/grid-row
|
|
986
848
|
*/
|
|
987
849
|
"row-start": [{
|
|
988
|
-
"row-start":
|
|
850
|
+
"row-start": le()
|
|
989
851
|
}],
|
|
990
852
|
/**
|
|
991
853
|
* Grid Row End
|
|
992
854
|
* @see https://tailwindcss.com/docs/grid-row
|
|
993
855
|
*/
|
|
994
856
|
"row-end": [{
|
|
995
|
-
"row-end":
|
|
857
|
+
"row-end": le()
|
|
996
858
|
}],
|
|
997
859
|
/**
|
|
998
860
|
* Grid Auto Flow
|
|
@@ -1006,42 +868,42 @@ const et = [
|
|
|
1006
868
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1007
869
|
*/
|
|
1008
870
|
"auto-cols": [{
|
|
1009
|
-
"auto-cols":
|
|
871
|
+
"auto-cols": Oe()
|
|
1010
872
|
}],
|
|
1011
873
|
/**
|
|
1012
874
|
* Grid Auto Rows
|
|
1013
875
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1014
876
|
*/
|
|
1015
877
|
"auto-rows": [{
|
|
1016
|
-
"auto-rows":
|
|
878
|
+
"auto-rows": Oe()
|
|
1017
879
|
}],
|
|
1018
880
|
/**
|
|
1019
881
|
* Gap
|
|
1020
882
|
* @see https://tailwindcss.com/docs/gap
|
|
1021
883
|
*/
|
|
1022
884
|
gap: [{
|
|
1023
|
-
gap:
|
|
885
|
+
gap: g()
|
|
1024
886
|
}],
|
|
1025
887
|
/**
|
|
1026
888
|
* Gap X
|
|
1027
889
|
* @see https://tailwindcss.com/docs/gap
|
|
1028
890
|
*/
|
|
1029
891
|
"gap-x": [{
|
|
1030
|
-
"gap-x":
|
|
892
|
+
"gap-x": g()
|
|
1031
893
|
}],
|
|
1032
894
|
/**
|
|
1033
895
|
* Gap Y
|
|
1034
896
|
* @see https://tailwindcss.com/docs/gap
|
|
1035
897
|
*/
|
|
1036
898
|
"gap-y": [{
|
|
1037
|
-
"gap-y":
|
|
899
|
+
"gap-y": g()
|
|
1038
900
|
}],
|
|
1039
901
|
/**
|
|
1040
902
|
* Justify Content
|
|
1041
903
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1042
904
|
*/
|
|
1043
905
|
"justify-content": [{
|
|
1044
|
-
justify: [...
|
|
906
|
+
justify: [...fe(), "normal"]
|
|
1045
907
|
}],
|
|
1046
908
|
/**
|
|
1047
909
|
* Justify Items
|
|
@@ -1062,7 +924,7 @@ const et = [
|
|
|
1062
924
|
* @see https://tailwindcss.com/docs/align-content
|
|
1063
925
|
*/
|
|
1064
926
|
"align-content": [{
|
|
1065
|
-
content: ["normal", ...
|
|
927
|
+
content: ["normal", ...fe()]
|
|
1066
928
|
}],
|
|
1067
929
|
/**
|
|
1068
930
|
* Align Items
|
|
@@ -1087,7 +949,7 @@ const et = [
|
|
|
1087
949
|
* @see https://tailwindcss.com/docs/place-content
|
|
1088
950
|
*/
|
|
1089
951
|
"place-content": [{
|
|
1090
|
-
"place-content":
|
|
952
|
+
"place-content": fe()
|
|
1091
953
|
}],
|
|
1092
954
|
/**
|
|
1093
955
|
* Place Items
|
|
@@ -1109,161 +971,161 @@ const et = [
|
|
|
1109
971
|
* @see https://tailwindcss.com/docs/padding
|
|
1110
972
|
*/
|
|
1111
973
|
p: [{
|
|
1112
|
-
p:
|
|
974
|
+
p: g()
|
|
1113
975
|
}],
|
|
1114
976
|
/**
|
|
1115
977
|
* Padding Inline
|
|
1116
978
|
* @see https://tailwindcss.com/docs/padding
|
|
1117
979
|
*/
|
|
1118
980
|
px: [{
|
|
1119
|
-
px:
|
|
981
|
+
px: g()
|
|
1120
982
|
}],
|
|
1121
983
|
/**
|
|
1122
984
|
* Padding Block
|
|
1123
985
|
* @see https://tailwindcss.com/docs/padding
|
|
1124
986
|
*/
|
|
1125
987
|
py: [{
|
|
1126
|
-
py:
|
|
988
|
+
py: g()
|
|
1127
989
|
}],
|
|
1128
990
|
/**
|
|
1129
991
|
* Padding Inline Start
|
|
1130
992
|
* @see https://tailwindcss.com/docs/padding
|
|
1131
993
|
*/
|
|
1132
994
|
ps: [{
|
|
1133
|
-
ps:
|
|
995
|
+
ps: g()
|
|
1134
996
|
}],
|
|
1135
997
|
/**
|
|
1136
998
|
* Padding Inline End
|
|
1137
999
|
* @see https://tailwindcss.com/docs/padding
|
|
1138
1000
|
*/
|
|
1139
1001
|
pe: [{
|
|
1140
|
-
pe:
|
|
1002
|
+
pe: g()
|
|
1141
1003
|
}],
|
|
1142
1004
|
/**
|
|
1143
1005
|
* Padding Block Start
|
|
1144
1006
|
* @see https://tailwindcss.com/docs/padding
|
|
1145
1007
|
*/
|
|
1146
1008
|
pbs: [{
|
|
1147
|
-
pbs:
|
|
1009
|
+
pbs: g()
|
|
1148
1010
|
}],
|
|
1149
1011
|
/**
|
|
1150
1012
|
* Padding Block End
|
|
1151
1013
|
* @see https://tailwindcss.com/docs/padding
|
|
1152
1014
|
*/
|
|
1153
1015
|
pbe: [{
|
|
1154
|
-
pbe:
|
|
1016
|
+
pbe: g()
|
|
1155
1017
|
}],
|
|
1156
1018
|
/**
|
|
1157
1019
|
* Padding Top
|
|
1158
1020
|
* @see https://tailwindcss.com/docs/padding
|
|
1159
1021
|
*/
|
|
1160
1022
|
pt: [{
|
|
1161
|
-
pt:
|
|
1023
|
+
pt: g()
|
|
1162
1024
|
}],
|
|
1163
1025
|
/**
|
|
1164
1026
|
* Padding Right
|
|
1165
1027
|
* @see https://tailwindcss.com/docs/padding
|
|
1166
1028
|
*/
|
|
1167
1029
|
pr: [{
|
|
1168
|
-
pr:
|
|
1030
|
+
pr: g()
|
|
1169
1031
|
}],
|
|
1170
1032
|
/**
|
|
1171
1033
|
* Padding Bottom
|
|
1172
1034
|
* @see https://tailwindcss.com/docs/padding
|
|
1173
1035
|
*/
|
|
1174
1036
|
pb: [{
|
|
1175
|
-
pb:
|
|
1037
|
+
pb: g()
|
|
1176
1038
|
}],
|
|
1177
1039
|
/**
|
|
1178
1040
|
* Padding Left
|
|
1179
1041
|
* @see https://tailwindcss.com/docs/padding
|
|
1180
1042
|
*/
|
|
1181
1043
|
pl: [{
|
|
1182
|
-
pl:
|
|
1044
|
+
pl: g()
|
|
1183
1045
|
}],
|
|
1184
1046
|
/**
|
|
1185
1047
|
* Margin
|
|
1186
1048
|
* @see https://tailwindcss.com/docs/margin
|
|
1187
1049
|
*/
|
|
1188
1050
|
m: [{
|
|
1189
|
-
m:
|
|
1051
|
+
m: F()
|
|
1190
1052
|
}],
|
|
1191
1053
|
/**
|
|
1192
1054
|
* Margin Inline
|
|
1193
1055
|
* @see https://tailwindcss.com/docs/margin
|
|
1194
1056
|
*/
|
|
1195
1057
|
mx: [{
|
|
1196
|
-
mx:
|
|
1058
|
+
mx: F()
|
|
1197
1059
|
}],
|
|
1198
1060
|
/**
|
|
1199
1061
|
* Margin Block
|
|
1200
1062
|
* @see https://tailwindcss.com/docs/margin
|
|
1201
1063
|
*/
|
|
1202
1064
|
my: [{
|
|
1203
|
-
my:
|
|
1065
|
+
my: F()
|
|
1204
1066
|
}],
|
|
1205
1067
|
/**
|
|
1206
1068
|
* Margin Inline Start
|
|
1207
1069
|
* @see https://tailwindcss.com/docs/margin
|
|
1208
1070
|
*/
|
|
1209
1071
|
ms: [{
|
|
1210
|
-
ms:
|
|
1072
|
+
ms: F()
|
|
1211
1073
|
}],
|
|
1212
1074
|
/**
|
|
1213
1075
|
* Margin Inline End
|
|
1214
1076
|
* @see https://tailwindcss.com/docs/margin
|
|
1215
1077
|
*/
|
|
1216
1078
|
me: [{
|
|
1217
|
-
me:
|
|
1079
|
+
me: F()
|
|
1218
1080
|
}],
|
|
1219
1081
|
/**
|
|
1220
1082
|
* Margin Block Start
|
|
1221
1083
|
* @see https://tailwindcss.com/docs/margin
|
|
1222
1084
|
*/
|
|
1223
1085
|
mbs: [{
|
|
1224
|
-
mbs:
|
|
1086
|
+
mbs: F()
|
|
1225
1087
|
}],
|
|
1226
1088
|
/**
|
|
1227
1089
|
* Margin Block End
|
|
1228
1090
|
* @see https://tailwindcss.com/docs/margin
|
|
1229
1091
|
*/
|
|
1230
1092
|
mbe: [{
|
|
1231
|
-
mbe:
|
|
1093
|
+
mbe: F()
|
|
1232
1094
|
}],
|
|
1233
1095
|
/**
|
|
1234
1096
|
* Margin Top
|
|
1235
1097
|
* @see https://tailwindcss.com/docs/margin
|
|
1236
1098
|
*/
|
|
1237
1099
|
mt: [{
|
|
1238
|
-
mt:
|
|
1100
|
+
mt: F()
|
|
1239
1101
|
}],
|
|
1240
1102
|
/**
|
|
1241
1103
|
* Margin Right
|
|
1242
1104
|
* @see https://tailwindcss.com/docs/margin
|
|
1243
1105
|
*/
|
|
1244
1106
|
mr: [{
|
|
1245
|
-
mr:
|
|
1107
|
+
mr: F()
|
|
1246
1108
|
}],
|
|
1247
1109
|
/**
|
|
1248
1110
|
* Margin Bottom
|
|
1249
1111
|
* @see https://tailwindcss.com/docs/margin
|
|
1250
1112
|
*/
|
|
1251
1113
|
mb: [{
|
|
1252
|
-
mb:
|
|
1114
|
+
mb: F()
|
|
1253
1115
|
}],
|
|
1254
1116
|
/**
|
|
1255
1117
|
* Margin Left
|
|
1256
1118
|
* @see https://tailwindcss.com/docs/margin
|
|
1257
1119
|
*/
|
|
1258
1120
|
ml: [{
|
|
1259
|
-
ml:
|
|
1121
|
+
ml: F()
|
|
1260
1122
|
}],
|
|
1261
1123
|
/**
|
|
1262
1124
|
* Space Between X
|
|
1263
1125
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1264
1126
|
*/
|
|
1265
1127
|
"space-x": [{
|
|
1266
|
-
"space-x":
|
|
1128
|
+
"space-x": g()
|
|
1267
1129
|
}],
|
|
1268
1130
|
/**
|
|
1269
1131
|
* Space Between X Reverse
|
|
@@ -1275,7 +1137,7 @@ const et = [
|
|
|
1275
1137
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1276
1138
|
*/
|
|
1277
1139
|
"space-y": [{
|
|
1278
|
-
"space-y":
|
|
1140
|
+
"space-y": g()
|
|
1279
1141
|
}],
|
|
1280
1142
|
/**
|
|
1281
1143
|
* Space Between Y Reverse
|
|
@@ -1318,21 +1180,21 @@ const et = [
|
|
|
1318
1180
|
* @see https://tailwindcss.com/docs/height
|
|
1319
1181
|
*/
|
|
1320
1182
|
"block-size": [{
|
|
1321
|
-
block: ["auto", ...
|
|
1183
|
+
block: ["auto", ...pe()]
|
|
1322
1184
|
}],
|
|
1323
1185
|
/**
|
|
1324
1186
|
* Min-Block Size
|
|
1325
1187
|
* @see https://tailwindcss.com/docs/min-height
|
|
1326
1188
|
*/
|
|
1327
1189
|
"min-block-size": [{
|
|
1328
|
-
"min-block": ["auto", ...
|
|
1190
|
+
"min-block": ["auto", ...pe()]
|
|
1329
1191
|
}],
|
|
1330
1192
|
/**
|
|
1331
1193
|
* Max-Block Size
|
|
1332
1194
|
* @see https://tailwindcss.com/docs/max-height
|
|
1333
1195
|
*/
|
|
1334
1196
|
"max-block-size": [{
|
|
1335
|
-
"max-block": ["none", ...
|
|
1197
|
+
"max-block": ["none", ...pe()]
|
|
1336
1198
|
}],
|
|
1337
1199
|
/**
|
|
1338
1200
|
* Width
|
|
@@ -1418,28 +1280,28 @@ const et = [
|
|
|
1418
1280
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1419
1281
|
*/
|
|
1420
1282
|
"font-weight": [{
|
|
1421
|
-
font: [
|
|
1283
|
+
font: [r, wr, fr]
|
|
1422
1284
|
}],
|
|
1423
1285
|
/**
|
|
1424
1286
|
* Font Stretch
|
|
1425
1287
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1426
1288
|
*/
|
|
1427
1289
|
"font-stretch": [{
|
|
1428
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1290
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, u]
|
|
1429
1291
|
}],
|
|
1430
1292
|
/**
|
|
1431
1293
|
* Font Family
|
|
1432
1294
|
* @see https://tailwindcss.com/docs/font-family
|
|
1433
1295
|
*/
|
|
1434
1296
|
"font-family": [{
|
|
1435
|
-
font: [
|
|
1297
|
+
font: [vr, xr, a]
|
|
1436
1298
|
}],
|
|
1437
1299
|
/**
|
|
1438
1300
|
* Font Feature Settings
|
|
1439
1301
|
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1440
1302
|
*/
|
|
1441
1303
|
"font-features": [{
|
|
1442
|
-
"font-features": [
|
|
1304
|
+
"font-features": [u]
|
|
1443
1305
|
}],
|
|
1444
1306
|
/**
|
|
1445
1307
|
* Font Variant Numeric
|
|
@@ -1476,14 +1338,14 @@ const et = [
|
|
|
1476
1338
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1477
1339
|
*/
|
|
1478
1340
|
tracking: [{
|
|
1479
|
-
tracking: [
|
|
1341
|
+
tracking: [d, b, u]
|
|
1480
1342
|
}],
|
|
1481
1343
|
/**
|
|
1482
1344
|
* Line Clamp
|
|
1483
1345
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1484
1346
|
*/
|
|
1485
1347
|
"line-clamp": [{
|
|
1486
|
-
"line-clamp": [
|
|
1348
|
+
"line-clamp": [k, "none", b, qe]
|
|
1487
1349
|
}],
|
|
1488
1350
|
/**
|
|
1489
1351
|
* Line Height
|
|
@@ -1492,8 +1354,8 @@ const et = [
|
|
|
1492
1354
|
leading: [{
|
|
1493
1355
|
leading: [
|
|
1494
1356
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1495
|
-
|
|
1496
|
-
...
|
|
1357
|
+
l,
|
|
1358
|
+
...g()
|
|
1497
1359
|
]
|
|
1498
1360
|
}],
|
|
1499
1361
|
/**
|
|
@@ -1501,7 +1363,7 @@ const et = [
|
|
|
1501
1363
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1502
1364
|
*/
|
|
1503
1365
|
"list-image": [{
|
|
1504
|
-
"list-image": ["none", b,
|
|
1366
|
+
"list-image": ["none", b, u]
|
|
1505
1367
|
}],
|
|
1506
1368
|
/**
|
|
1507
1369
|
* List Style Position
|
|
@@ -1515,7 +1377,7 @@ const et = [
|
|
|
1515
1377
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1516
1378
|
*/
|
|
1517
1379
|
"list-style-type": [{
|
|
1518
|
-
list: ["disc", "decimal", "none", b,
|
|
1380
|
+
list: ["disc", "decimal", "none", b, u]
|
|
1519
1381
|
}],
|
|
1520
1382
|
/**
|
|
1521
1383
|
* Text Alignment
|
|
@@ -1530,14 +1392,14 @@ const et = [
|
|
|
1530
1392
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1531
1393
|
*/
|
|
1532
1394
|
"placeholder-color": [{
|
|
1533
|
-
placeholder:
|
|
1395
|
+
placeholder: h()
|
|
1534
1396
|
}],
|
|
1535
1397
|
/**
|
|
1536
1398
|
* Text Color
|
|
1537
1399
|
* @see https://tailwindcss.com/docs/text-color
|
|
1538
1400
|
*/
|
|
1539
1401
|
"text-color": [{
|
|
1540
|
-
text:
|
|
1402
|
+
text: h()
|
|
1541
1403
|
}],
|
|
1542
1404
|
/**
|
|
1543
1405
|
* Text Decoration
|
|
@@ -1549,28 +1411,28 @@ const et = [
|
|
|
1549
1411
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1550
1412
|
*/
|
|
1551
1413
|
"text-decoration-style": [{
|
|
1552
|
-
decoration: [...
|
|
1414
|
+
decoration: [...ie(), "wavy"]
|
|
1553
1415
|
}],
|
|
1554
1416
|
/**
|
|
1555
1417
|
* Text Decoration Thickness
|
|
1556
1418
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1557
1419
|
*/
|
|
1558
1420
|
"text-decoration-thickness": [{
|
|
1559
|
-
decoration: [
|
|
1421
|
+
decoration: [k, "from-font", "auto", b, _]
|
|
1560
1422
|
}],
|
|
1561
1423
|
/**
|
|
1562
1424
|
* Text Decoration Color
|
|
1563
1425
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1564
1426
|
*/
|
|
1565
1427
|
"text-decoration-color": [{
|
|
1566
|
-
decoration:
|
|
1428
|
+
decoration: h()
|
|
1567
1429
|
}],
|
|
1568
1430
|
/**
|
|
1569
1431
|
* Text Underline Offset
|
|
1570
1432
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1571
1433
|
*/
|
|
1572
1434
|
"underline-offset": [{
|
|
1573
|
-
"underline-offset": [
|
|
1435
|
+
"underline-offset": [k, "auto", b, u]
|
|
1574
1436
|
}],
|
|
1575
1437
|
/**
|
|
1576
1438
|
* Text Transform
|
|
@@ -1594,14 +1456,14 @@ const et = [
|
|
|
1594
1456
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1595
1457
|
*/
|
|
1596
1458
|
indent: [{
|
|
1597
|
-
indent:
|
|
1459
|
+
indent: g()
|
|
1598
1460
|
}],
|
|
1599
1461
|
/**
|
|
1600
1462
|
* Vertical Alignment
|
|
1601
1463
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1602
1464
|
*/
|
|
1603
1465
|
"vertical-align": [{
|
|
1604
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b,
|
|
1466
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, u]
|
|
1605
1467
|
}],
|
|
1606
1468
|
/**
|
|
1607
1469
|
* Whitespace
|
|
@@ -1636,7 +1498,7 @@ const et = [
|
|
|
1636
1498
|
* @see https://tailwindcss.com/docs/content
|
|
1637
1499
|
*/
|
|
1638
1500
|
content: [{
|
|
1639
|
-
content: ["none", b,
|
|
1501
|
+
content: ["none", b, u]
|
|
1640
1502
|
}],
|
|
1641
1503
|
// -------------------
|
|
1642
1504
|
// --- Backgrounds ---
|
|
@@ -1667,21 +1529,21 @@ const et = [
|
|
|
1667
1529
|
* @see https://tailwindcss.com/docs/background-position
|
|
1668
1530
|
*/
|
|
1669
1531
|
"bg-position": [{
|
|
1670
|
-
bg:
|
|
1532
|
+
bg: Ee()
|
|
1671
1533
|
}],
|
|
1672
1534
|
/**
|
|
1673
1535
|
* Background Repeat
|
|
1674
1536
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1675
1537
|
*/
|
|
1676
1538
|
"bg-repeat": [{
|
|
1677
|
-
bg:
|
|
1539
|
+
bg: je()
|
|
1678
1540
|
}],
|
|
1679
1541
|
/**
|
|
1680
1542
|
* Background Size
|
|
1681
1543
|
* @see https://tailwindcss.com/docs/background-size
|
|
1682
1544
|
*/
|
|
1683
1545
|
"bg-size": [{
|
|
1684
|
-
bg:
|
|
1546
|
+
bg: Be()
|
|
1685
1547
|
}],
|
|
1686
1548
|
/**
|
|
1687
1549
|
* Background Image
|
|
@@ -1691,59 +1553,59 @@ const et = [
|
|
|
1691
1553
|
bg: ["none", {
|
|
1692
1554
|
linear: [{
|
|
1693
1555
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1694
|
-
},
|
|
1695
|
-
radial: ["", b,
|
|
1696
|
-
conic: [
|
|
1697
|
-
},
|
|
1556
|
+
}, K, b, u],
|
|
1557
|
+
radial: ["", b, u],
|
|
1558
|
+
conic: [K, b, u]
|
|
1559
|
+
}, yr, pr]
|
|
1698
1560
|
}],
|
|
1699
1561
|
/**
|
|
1700
1562
|
* Background Color
|
|
1701
1563
|
* @see https://tailwindcss.com/docs/background-color
|
|
1702
1564
|
*/
|
|
1703
1565
|
"bg-color": [{
|
|
1704
|
-
bg:
|
|
1566
|
+
bg: h()
|
|
1705
1567
|
}],
|
|
1706
1568
|
/**
|
|
1707
1569
|
* Gradient Color Stops From Position
|
|
1708
1570
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1709
1571
|
*/
|
|
1710
1572
|
"gradient-from-pos": [{
|
|
1711
|
-
from:
|
|
1573
|
+
from: ve()
|
|
1712
1574
|
}],
|
|
1713
1575
|
/**
|
|
1714
1576
|
* Gradient Color Stops Via Position
|
|
1715
1577
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1716
1578
|
*/
|
|
1717
1579
|
"gradient-via-pos": [{
|
|
1718
|
-
via:
|
|
1580
|
+
via: ve()
|
|
1719
1581
|
}],
|
|
1720
1582
|
/**
|
|
1721
1583
|
* Gradient Color Stops To Position
|
|
1722
1584
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1723
1585
|
*/
|
|
1724
1586
|
"gradient-to-pos": [{
|
|
1725
|
-
to:
|
|
1587
|
+
to: ve()
|
|
1726
1588
|
}],
|
|
1727
1589
|
/**
|
|
1728
1590
|
* Gradient Color Stops From
|
|
1729
1591
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1730
1592
|
*/
|
|
1731
1593
|
"gradient-from": [{
|
|
1732
|
-
from:
|
|
1594
|
+
from: h()
|
|
1733
1595
|
}],
|
|
1734
1596
|
/**
|
|
1735
1597
|
* Gradient Color Stops Via
|
|
1736
1598
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1737
1599
|
*/
|
|
1738
1600
|
"gradient-via": [{
|
|
1739
|
-
via:
|
|
1601
|
+
via: h()
|
|
1740
1602
|
}],
|
|
1741
1603
|
/**
|
|
1742
1604
|
* Gradient Color Stops To
|
|
1743
1605
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1744
1606
|
*/
|
|
1745
1607
|
"gradient-to": [{
|
|
1746
|
-
to:
|
|
1608
|
+
to: h()
|
|
1747
1609
|
}],
|
|
1748
1610
|
// ---------------
|
|
1749
1611
|
// --- Borders ---
|
|
@@ -1753,189 +1615,189 @@ const et = [
|
|
|
1753
1615
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1754
1616
|
*/
|
|
1755
1617
|
rounded: [{
|
|
1756
|
-
rounded:
|
|
1618
|
+
rounded: E()
|
|
1757
1619
|
}],
|
|
1758
1620
|
/**
|
|
1759
1621
|
* Border Radius Start
|
|
1760
1622
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1761
1623
|
*/
|
|
1762
1624
|
"rounded-s": [{
|
|
1763
|
-
"rounded-s":
|
|
1625
|
+
"rounded-s": E()
|
|
1764
1626
|
}],
|
|
1765
1627
|
/**
|
|
1766
1628
|
* Border Radius End
|
|
1767
1629
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1768
1630
|
*/
|
|
1769
1631
|
"rounded-e": [{
|
|
1770
|
-
"rounded-e":
|
|
1632
|
+
"rounded-e": E()
|
|
1771
1633
|
}],
|
|
1772
1634
|
/**
|
|
1773
1635
|
* Border Radius Top
|
|
1774
1636
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1775
1637
|
*/
|
|
1776
1638
|
"rounded-t": [{
|
|
1777
|
-
"rounded-t":
|
|
1639
|
+
"rounded-t": E()
|
|
1778
1640
|
}],
|
|
1779
1641
|
/**
|
|
1780
1642
|
* Border Radius Right
|
|
1781
1643
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1782
1644
|
*/
|
|
1783
1645
|
"rounded-r": [{
|
|
1784
|
-
"rounded-r":
|
|
1646
|
+
"rounded-r": E()
|
|
1785
1647
|
}],
|
|
1786
1648
|
/**
|
|
1787
1649
|
* Border Radius Bottom
|
|
1788
1650
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1789
1651
|
*/
|
|
1790
1652
|
"rounded-b": [{
|
|
1791
|
-
"rounded-b":
|
|
1653
|
+
"rounded-b": E()
|
|
1792
1654
|
}],
|
|
1793
1655
|
/**
|
|
1794
1656
|
* Border Radius Left
|
|
1795
1657
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1796
1658
|
*/
|
|
1797
1659
|
"rounded-l": [{
|
|
1798
|
-
"rounded-l":
|
|
1660
|
+
"rounded-l": E()
|
|
1799
1661
|
}],
|
|
1800
1662
|
/**
|
|
1801
1663
|
* Border Radius Start Start
|
|
1802
1664
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1803
1665
|
*/
|
|
1804
1666
|
"rounded-ss": [{
|
|
1805
|
-
"rounded-ss":
|
|
1667
|
+
"rounded-ss": E()
|
|
1806
1668
|
}],
|
|
1807
1669
|
/**
|
|
1808
1670
|
* Border Radius Start End
|
|
1809
1671
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1810
1672
|
*/
|
|
1811
1673
|
"rounded-se": [{
|
|
1812
|
-
"rounded-se":
|
|
1674
|
+
"rounded-se": E()
|
|
1813
1675
|
}],
|
|
1814
1676
|
/**
|
|
1815
1677
|
* Border Radius End End
|
|
1816
1678
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1817
1679
|
*/
|
|
1818
1680
|
"rounded-ee": [{
|
|
1819
|
-
"rounded-ee":
|
|
1681
|
+
"rounded-ee": E()
|
|
1820
1682
|
}],
|
|
1821
1683
|
/**
|
|
1822
1684
|
* Border Radius End Start
|
|
1823
1685
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1824
1686
|
*/
|
|
1825
1687
|
"rounded-es": [{
|
|
1826
|
-
"rounded-es":
|
|
1688
|
+
"rounded-es": E()
|
|
1827
1689
|
}],
|
|
1828
1690
|
/**
|
|
1829
1691
|
* Border Radius Top Left
|
|
1830
1692
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1831
1693
|
*/
|
|
1832
1694
|
"rounded-tl": [{
|
|
1833
|
-
"rounded-tl":
|
|
1695
|
+
"rounded-tl": E()
|
|
1834
1696
|
}],
|
|
1835
1697
|
/**
|
|
1836
1698
|
* Border Radius Top Right
|
|
1837
1699
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1838
1700
|
*/
|
|
1839
1701
|
"rounded-tr": [{
|
|
1840
|
-
"rounded-tr":
|
|
1702
|
+
"rounded-tr": E()
|
|
1841
1703
|
}],
|
|
1842
1704
|
/**
|
|
1843
1705
|
* Border Radius Bottom Right
|
|
1844
1706
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1845
1707
|
*/
|
|
1846
1708
|
"rounded-br": [{
|
|
1847
|
-
"rounded-br":
|
|
1709
|
+
"rounded-br": E()
|
|
1848
1710
|
}],
|
|
1849
1711
|
/**
|
|
1850
1712
|
* Border Radius Bottom Left
|
|
1851
1713
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1852
1714
|
*/
|
|
1853
1715
|
"rounded-bl": [{
|
|
1854
|
-
"rounded-bl":
|
|
1716
|
+
"rounded-bl": E()
|
|
1855
1717
|
}],
|
|
1856
1718
|
/**
|
|
1857
1719
|
* Border Width
|
|
1858
1720
|
* @see https://tailwindcss.com/docs/border-width
|
|
1859
1721
|
*/
|
|
1860
1722
|
"border-w": [{
|
|
1861
|
-
border:
|
|
1723
|
+
border: j()
|
|
1862
1724
|
}],
|
|
1863
1725
|
/**
|
|
1864
1726
|
* Border Width Inline
|
|
1865
1727
|
* @see https://tailwindcss.com/docs/border-width
|
|
1866
1728
|
*/
|
|
1867
1729
|
"border-w-x": [{
|
|
1868
|
-
"border-x":
|
|
1730
|
+
"border-x": j()
|
|
1869
1731
|
}],
|
|
1870
1732
|
/**
|
|
1871
1733
|
* Border Width Block
|
|
1872
1734
|
* @see https://tailwindcss.com/docs/border-width
|
|
1873
1735
|
*/
|
|
1874
1736
|
"border-w-y": [{
|
|
1875
|
-
"border-y":
|
|
1737
|
+
"border-y": j()
|
|
1876
1738
|
}],
|
|
1877
1739
|
/**
|
|
1878
1740
|
* Border Width Inline Start
|
|
1879
1741
|
* @see https://tailwindcss.com/docs/border-width
|
|
1880
1742
|
*/
|
|
1881
1743
|
"border-w-s": [{
|
|
1882
|
-
"border-s":
|
|
1744
|
+
"border-s": j()
|
|
1883
1745
|
}],
|
|
1884
1746
|
/**
|
|
1885
1747
|
* Border Width Inline End
|
|
1886
1748
|
* @see https://tailwindcss.com/docs/border-width
|
|
1887
1749
|
*/
|
|
1888
1750
|
"border-w-e": [{
|
|
1889
|
-
"border-e":
|
|
1751
|
+
"border-e": j()
|
|
1890
1752
|
}],
|
|
1891
1753
|
/**
|
|
1892
1754
|
* Border Width Block Start
|
|
1893
1755
|
* @see https://tailwindcss.com/docs/border-width
|
|
1894
1756
|
*/
|
|
1895
1757
|
"border-w-bs": [{
|
|
1896
|
-
"border-bs":
|
|
1758
|
+
"border-bs": j()
|
|
1897
1759
|
}],
|
|
1898
1760
|
/**
|
|
1899
1761
|
* Border Width Block End
|
|
1900
1762
|
* @see https://tailwindcss.com/docs/border-width
|
|
1901
1763
|
*/
|
|
1902
1764
|
"border-w-be": [{
|
|
1903
|
-
"border-be":
|
|
1765
|
+
"border-be": j()
|
|
1904
1766
|
}],
|
|
1905
1767
|
/**
|
|
1906
1768
|
* Border Width Top
|
|
1907
1769
|
* @see https://tailwindcss.com/docs/border-width
|
|
1908
1770
|
*/
|
|
1909
1771
|
"border-w-t": [{
|
|
1910
|
-
"border-t":
|
|
1772
|
+
"border-t": j()
|
|
1911
1773
|
}],
|
|
1912
1774
|
/**
|
|
1913
1775
|
* Border Width Right
|
|
1914
1776
|
* @see https://tailwindcss.com/docs/border-width
|
|
1915
1777
|
*/
|
|
1916
1778
|
"border-w-r": [{
|
|
1917
|
-
"border-r":
|
|
1779
|
+
"border-r": j()
|
|
1918
1780
|
}],
|
|
1919
1781
|
/**
|
|
1920
1782
|
* Border Width Bottom
|
|
1921
1783
|
* @see https://tailwindcss.com/docs/border-width
|
|
1922
1784
|
*/
|
|
1923
1785
|
"border-w-b": [{
|
|
1924
|
-
"border-b":
|
|
1786
|
+
"border-b": j()
|
|
1925
1787
|
}],
|
|
1926
1788
|
/**
|
|
1927
1789
|
* Border Width Left
|
|
1928
1790
|
* @see https://tailwindcss.com/docs/border-width
|
|
1929
1791
|
*/
|
|
1930
1792
|
"border-w-l": [{
|
|
1931
|
-
"border-l":
|
|
1793
|
+
"border-l": j()
|
|
1932
1794
|
}],
|
|
1933
1795
|
/**
|
|
1934
1796
|
* Divide Width X
|
|
1935
1797
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1936
1798
|
*/
|
|
1937
1799
|
"divide-x": [{
|
|
1938
|
-
"divide-x":
|
|
1800
|
+
"divide-x": j()
|
|
1939
1801
|
}],
|
|
1940
1802
|
/**
|
|
1941
1803
|
* Divide Width X Reverse
|
|
@@ -1947,7 +1809,7 @@ const et = [
|
|
|
1947
1809
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1948
1810
|
*/
|
|
1949
1811
|
"divide-y": [{
|
|
1950
|
-
"divide-y":
|
|
1812
|
+
"divide-y": j()
|
|
1951
1813
|
}],
|
|
1952
1814
|
/**
|
|
1953
1815
|
* Divide Width Y Reverse
|
|
@@ -1959,126 +1821,126 @@ const et = [
|
|
|
1959
1821
|
* @see https://tailwindcss.com/docs/border-style
|
|
1960
1822
|
*/
|
|
1961
1823
|
"border-style": [{
|
|
1962
|
-
border: [...
|
|
1824
|
+
border: [...ie(), "hidden", "none"]
|
|
1963
1825
|
}],
|
|
1964
1826
|
/**
|
|
1965
1827
|
* Divide Style
|
|
1966
1828
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1967
1829
|
*/
|
|
1968
1830
|
"divide-style": [{
|
|
1969
|
-
divide: [...
|
|
1831
|
+
divide: [...ie(), "hidden", "none"]
|
|
1970
1832
|
}],
|
|
1971
1833
|
/**
|
|
1972
1834
|
* Border Color
|
|
1973
1835
|
* @see https://tailwindcss.com/docs/border-color
|
|
1974
1836
|
*/
|
|
1975
1837
|
"border-color": [{
|
|
1976
|
-
border:
|
|
1838
|
+
border: h()
|
|
1977
1839
|
}],
|
|
1978
1840
|
/**
|
|
1979
1841
|
* Border Color Inline
|
|
1980
1842
|
* @see https://tailwindcss.com/docs/border-color
|
|
1981
1843
|
*/
|
|
1982
1844
|
"border-color-x": [{
|
|
1983
|
-
"border-x":
|
|
1845
|
+
"border-x": h()
|
|
1984
1846
|
}],
|
|
1985
1847
|
/**
|
|
1986
1848
|
* Border Color Block
|
|
1987
1849
|
* @see https://tailwindcss.com/docs/border-color
|
|
1988
1850
|
*/
|
|
1989
1851
|
"border-color-y": [{
|
|
1990
|
-
"border-y":
|
|
1852
|
+
"border-y": h()
|
|
1991
1853
|
}],
|
|
1992
1854
|
/**
|
|
1993
1855
|
* Border Color Inline Start
|
|
1994
1856
|
* @see https://tailwindcss.com/docs/border-color
|
|
1995
1857
|
*/
|
|
1996
1858
|
"border-color-s": [{
|
|
1997
|
-
"border-s":
|
|
1859
|
+
"border-s": h()
|
|
1998
1860
|
}],
|
|
1999
1861
|
/**
|
|
2000
1862
|
* Border Color Inline End
|
|
2001
1863
|
* @see https://tailwindcss.com/docs/border-color
|
|
2002
1864
|
*/
|
|
2003
1865
|
"border-color-e": [{
|
|
2004
|
-
"border-e":
|
|
1866
|
+
"border-e": h()
|
|
2005
1867
|
}],
|
|
2006
1868
|
/**
|
|
2007
1869
|
* Border Color Block Start
|
|
2008
1870
|
* @see https://tailwindcss.com/docs/border-color
|
|
2009
1871
|
*/
|
|
2010
1872
|
"border-color-bs": [{
|
|
2011
|
-
"border-bs":
|
|
1873
|
+
"border-bs": h()
|
|
2012
1874
|
}],
|
|
2013
1875
|
/**
|
|
2014
1876
|
* Border Color Block End
|
|
2015
1877
|
* @see https://tailwindcss.com/docs/border-color
|
|
2016
1878
|
*/
|
|
2017
1879
|
"border-color-be": [{
|
|
2018
|
-
"border-be":
|
|
1880
|
+
"border-be": h()
|
|
2019
1881
|
}],
|
|
2020
1882
|
/**
|
|
2021
1883
|
* Border Color Top
|
|
2022
1884
|
* @see https://tailwindcss.com/docs/border-color
|
|
2023
1885
|
*/
|
|
2024
1886
|
"border-color-t": [{
|
|
2025
|
-
"border-t":
|
|
1887
|
+
"border-t": h()
|
|
2026
1888
|
}],
|
|
2027
1889
|
/**
|
|
2028
1890
|
* Border Color Right
|
|
2029
1891
|
* @see https://tailwindcss.com/docs/border-color
|
|
2030
1892
|
*/
|
|
2031
1893
|
"border-color-r": [{
|
|
2032
|
-
"border-r":
|
|
1894
|
+
"border-r": h()
|
|
2033
1895
|
}],
|
|
2034
1896
|
/**
|
|
2035
1897
|
* Border Color Bottom
|
|
2036
1898
|
* @see https://tailwindcss.com/docs/border-color
|
|
2037
1899
|
*/
|
|
2038
1900
|
"border-color-b": [{
|
|
2039
|
-
"border-b":
|
|
1901
|
+
"border-b": h()
|
|
2040
1902
|
}],
|
|
2041
1903
|
/**
|
|
2042
1904
|
* Border Color Left
|
|
2043
1905
|
* @see https://tailwindcss.com/docs/border-color
|
|
2044
1906
|
*/
|
|
2045
1907
|
"border-color-l": [{
|
|
2046
|
-
"border-l":
|
|
1908
|
+
"border-l": h()
|
|
2047
1909
|
}],
|
|
2048
1910
|
/**
|
|
2049
1911
|
* Divide Color
|
|
2050
1912
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2051
1913
|
*/
|
|
2052
1914
|
"divide-color": [{
|
|
2053
|
-
divide:
|
|
1915
|
+
divide: h()
|
|
2054
1916
|
}],
|
|
2055
1917
|
/**
|
|
2056
1918
|
* Outline Style
|
|
2057
1919
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2058
1920
|
*/
|
|
2059
1921
|
"outline-style": [{
|
|
2060
|
-
outline: [...
|
|
1922
|
+
outline: [...ie(), "none", "hidden"]
|
|
2061
1923
|
}],
|
|
2062
1924
|
/**
|
|
2063
1925
|
* Outline Offset
|
|
2064
1926
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2065
1927
|
*/
|
|
2066
1928
|
"outline-offset": [{
|
|
2067
|
-
"outline-offset": [
|
|
1929
|
+
"outline-offset": [k, b, u]
|
|
2068
1930
|
}],
|
|
2069
1931
|
/**
|
|
2070
1932
|
* Outline Width
|
|
2071
1933
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2072
1934
|
*/
|
|
2073
1935
|
"outline-w": [{
|
|
2074
|
-
outline: ["",
|
|
1936
|
+
outline: ["", k, se, _]
|
|
2075
1937
|
}],
|
|
2076
1938
|
/**
|
|
2077
1939
|
* Outline Color
|
|
2078
1940
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2079
1941
|
*/
|
|
2080
1942
|
"outline-color": [{
|
|
2081
|
-
outline:
|
|
1943
|
+
outline: h()
|
|
2082
1944
|
}],
|
|
2083
1945
|
// ---------------
|
|
2084
1946
|
// --- Effects ---
|
|
@@ -2092,9 +1954,9 @@ const et = [
|
|
|
2092
1954
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2093
1955
|
"",
|
|
2094
1956
|
"none",
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
1957
|
+
p,
|
|
1958
|
+
me,
|
|
1959
|
+
be
|
|
2098
1960
|
]
|
|
2099
1961
|
}],
|
|
2100
1962
|
/**
|
|
@@ -2102,28 +1964,28 @@ const et = [
|
|
|
2102
1964
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2103
1965
|
*/
|
|
2104
1966
|
"shadow-color": [{
|
|
2105
|
-
shadow:
|
|
1967
|
+
shadow: h()
|
|
2106
1968
|
}],
|
|
2107
1969
|
/**
|
|
2108
1970
|
* Inset Box Shadow
|
|
2109
1971
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2110
1972
|
*/
|
|
2111
1973
|
"inset-shadow": [{
|
|
2112
|
-
"inset-shadow": ["none",
|
|
1974
|
+
"inset-shadow": ["none", w, me, be]
|
|
2113
1975
|
}],
|
|
2114
1976
|
/**
|
|
2115
1977
|
* Inset Box Shadow Color
|
|
2116
1978
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2117
1979
|
*/
|
|
2118
1980
|
"inset-shadow-color": [{
|
|
2119
|
-
"inset-shadow":
|
|
1981
|
+
"inset-shadow": h()
|
|
2120
1982
|
}],
|
|
2121
1983
|
/**
|
|
2122
1984
|
* Ring Width
|
|
2123
1985
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2124
1986
|
*/
|
|
2125
1987
|
"ring-w": [{
|
|
2126
|
-
ring:
|
|
1988
|
+
ring: j()
|
|
2127
1989
|
}],
|
|
2128
1990
|
/**
|
|
2129
1991
|
* Ring Width Inset
|
|
@@ -2137,7 +1999,7 @@ const et = [
|
|
|
2137
1999
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2138
2000
|
*/
|
|
2139
2001
|
"ring-color": [{
|
|
2140
|
-
ring:
|
|
2002
|
+
ring: h()
|
|
2141
2003
|
}],
|
|
2142
2004
|
/**
|
|
2143
2005
|
* Ring Offset Width
|
|
@@ -2146,7 +2008,7 @@ const et = [
|
|
|
2146
2008
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2147
2009
|
*/
|
|
2148
2010
|
"ring-offset-w": [{
|
|
2149
|
-
"ring-offset": [
|
|
2011
|
+
"ring-offset": [k, _]
|
|
2150
2012
|
}],
|
|
2151
2013
|
/**
|
|
2152
2014
|
* Ring Offset Color
|
|
@@ -2155,42 +2017,42 @@ const et = [
|
|
|
2155
2017
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2156
2018
|
*/
|
|
2157
2019
|
"ring-offset-color": [{
|
|
2158
|
-
"ring-offset":
|
|
2020
|
+
"ring-offset": h()
|
|
2159
2021
|
}],
|
|
2160
2022
|
/**
|
|
2161
2023
|
* Inset Ring Width
|
|
2162
2024
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2163
2025
|
*/
|
|
2164
2026
|
"inset-ring-w": [{
|
|
2165
|
-
"inset-ring":
|
|
2027
|
+
"inset-ring": j()
|
|
2166
2028
|
}],
|
|
2167
2029
|
/**
|
|
2168
2030
|
* Inset Ring Color
|
|
2169
2031
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2170
2032
|
*/
|
|
2171
2033
|
"inset-ring-color": [{
|
|
2172
|
-
"inset-ring":
|
|
2034
|
+
"inset-ring": h()
|
|
2173
2035
|
}],
|
|
2174
2036
|
/**
|
|
2175
2037
|
* Text Shadow
|
|
2176
2038
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2177
2039
|
*/
|
|
2178
2040
|
"text-shadow": [{
|
|
2179
|
-
"text-shadow": ["none",
|
|
2041
|
+
"text-shadow": ["none", y, me, be]
|
|
2180
2042
|
}],
|
|
2181
2043
|
/**
|
|
2182
2044
|
* Text Shadow Color
|
|
2183
2045
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2184
2046
|
*/
|
|
2185
2047
|
"text-shadow-color": [{
|
|
2186
|
-
"text-shadow":
|
|
2048
|
+
"text-shadow": h()
|
|
2187
2049
|
}],
|
|
2188
2050
|
/**
|
|
2189
2051
|
* Opacity
|
|
2190
2052
|
* @see https://tailwindcss.com/docs/opacity
|
|
2191
2053
|
*/
|
|
2192
2054
|
opacity: [{
|
|
2193
|
-
opacity: [
|
|
2055
|
+
opacity: [k, b, u]
|
|
2194
2056
|
}],
|
|
2195
2057
|
/**
|
|
2196
2058
|
* Mix Blend Mode
|
|
@@ -2225,106 +2087,106 @@ const et = [
|
|
|
2225
2087
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2226
2088
|
*/
|
|
2227
2089
|
"mask-image-linear-pos": [{
|
|
2228
|
-
"mask-linear": [
|
|
2090
|
+
"mask-linear": [k]
|
|
2229
2091
|
}],
|
|
2230
2092
|
"mask-image-linear-from-pos": [{
|
|
2231
|
-
"mask-linear-from":
|
|
2093
|
+
"mask-linear-from": V()
|
|
2232
2094
|
}],
|
|
2233
2095
|
"mask-image-linear-to-pos": [{
|
|
2234
|
-
"mask-linear-to":
|
|
2096
|
+
"mask-linear-to": V()
|
|
2235
2097
|
}],
|
|
2236
2098
|
"mask-image-linear-from-color": [{
|
|
2237
|
-
"mask-linear-from":
|
|
2099
|
+
"mask-linear-from": h()
|
|
2238
2100
|
}],
|
|
2239
2101
|
"mask-image-linear-to-color": [{
|
|
2240
|
-
"mask-linear-to":
|
|
2102
|
+
"mask-linear-to": h()
|
|
2241
2103
|
}],
|
|
2242
2104
|
"mask-image-t-from-pos": [{
|
|
2243
|
-
"mask-t-from":
|
|
2105
|
+
"mask-t-from": V()
|
|
2244
2106
|
}],
|
|
2245
2107
|
"mask-image-t-to-pos": [{
|
|
2246
|
-
"mask-t-to":
|
|
2108
|
+
"mask-t-to": V()
|
|
2247
2109
|
}],
|
|
2248
2110
|
"mask-image-t-from-color": [{
|
|
2249
|
-
"mask-t-from":
|
|
2111
|
+
"mask-t-from": h()
|
|
2250
2112
|
}],
|
|
2251
2113
|
"mask-image-t-to-color": [{
|
|
2252
|
-
"mask-t-to":
|
|
2114
|
+
"mask-t-to": h()
|
|
2253
2115
|
}],
|
|
2254
2116
|
"mask-image-r-from-pos": [{
|
|
2255
|
-
"mask-r-from":
|
|
2117
|
+
"mask-r-from": V()
|
|
2256
2118
|
}],
|
|
2257
2119
|
"mask-image-r-to-pos": [{
|
|
2258
|
-
"mask-r-to":
|
|
2120
|
+
"mask-r-to": V()
|
|
2259
2121
|
}],
|
|
2260
2122
|
"mask-image-r-from-color": [{
|
|
2261
|
-
"mask-r-from":
|
|
2123
|
+
"mask-r-from": h()
|
|
2262
2124
|
}],
|
|
2263
2125
|
"mask-image-r-to-color": [{
|
|
2264
|
-
"mask-r-to":
|
|
2126
|
+
"mask-r-to": h()
|
|
2265
2127
|
}],
|
|
2266
2128
|
"mask-image-b-from-pos": [{
|
|
2267
|
-
"mask-b-from":
|
|
2129
|
+
"mask-b-from": V()
|
|
2268
2130
|
}],
|
|
2269
2131
|
"mask-image-b-to-pos": [{
|
|
2270
|
-
"mask-b-to":
|
|
2132
|
+
"mask-b-to": V()
|
|
2271
2133
|
}],
|
|
2272
2134
|
"mask-image-b-from-color": [{
|
|
2273
|
-
"mask-b-from":
|
|
2135
|
+
"mask-b-from": h()
|
|
2274
2136
|
}],
|
|
2275
2137
|
"mask-image-b-to-color": [{
|
|
2276
|
-
"mask-b-to":
|
|
2138
|
+
"mask-b-to": h()
|
|
2277
2139
|
}],
|
|
2278
2140
|
"mask-image-l-from-pos": [{
|
|
2279
|
-
"mask-l-from":
|
|
2141
|
+
"mask-l-from": V()
|
|
2280
2142
|
}],
|
|
2281
2143
|
"mask-image-l-to-pos": [{
|
|
2282
|
-
"mask-l-to":
|
|
2144
|
+
"mask-l-to": V()
|
|
2283
2145
|
}],
|
|
2284
2146
|
"mask-image-l-from-color": [{
|
|
2285
|
-
"mask-l-from":
|
|
2147
|
+
"mask-l-from": h()
|
|
2286
2148
|
}],
|
|
2287
2149
|
"mask-image-l-to-color": [{
|
|
2288
|
-
"mask-l-to":
|
|
2150
|
+
"mask-l-to": h()
|
|
2289
2151
|
}],
|
|
2290
2152
|
"mask-image-x-from-pos": [{
|
|
2291
|
-
"mask-x-from":
|
|
2153
|
+
"mask-x-from": V()
|
|
2292
2154
|
}],
|
|
2293
2155
|
"mask-image-x-to-pos": [{
|
|
2294
|
-
"mask-x-to":
|
|
2156
|
+
"mask-x-to": V()
|
|
2295
2157
|
}],
|
|
2296
2158
|
"mask-image-x-from-color": [{
|
|
2297
|
-
"mask-x-from":
|
|
2159
|
+
"mask-x-from": h()
|
|
2298
2160
|
}],
|
|
2299
2161
|
"mask-image-x-to-color": [{
|
|
2300
|
-
"mask-x-to":
|
|
2162
|
+
"mask-x-to": h()
|
|
2301
2163
|
}],
|
|
2302
2164
|
"mask-image-y-from-pos": [{
|
|
2303
|
-
"mask-y-from":
|
|
2165
|
+
"mask-y-from": V()
|
|
2304
2166
|
}],
|
|
2305
2167
|
"mask-image-y-to-pos": [{
|
|
2306
|
-
"mask-y-to":
|
|
2168
|
+
"mask-y-to": V()
|
|
2307
2169
|
}],
|
|
2308
2170
|
"mask-image-y-from-color": [{
|
|
2309
|
-
"mask-y-from":
|
|
2171
|
+
"mask-y-from": h()
|
|
2310
2172
|
}],
|
|
2311
2173
|
"mask-image-y-to-color": [{
|
|
2312
|
-
"mask-y-to":
|
|
2174
|
+
"mask-y-to": h()
|
|
2313
2175
|
}],
|
|
2314
2176
|
"mask-image-radial": [{
|
|
2315
|
-
"mask-radial": [b,
|
|
2177
|
+
"mask-radial": [b, u]
|
|
2316
2178
|
}],
|
|
2317
2179
|
"mask-image-radial-from-pos": [{
|
|
2318
|
-
"mask-radial-from":
|
|
2180
|
+
"mask-radial-from": V()
|
|
2319
2181
|
}],
|
|
2320
2182
|
"mask-image-radial-to-pos": [{
|
|
2321
|
-
"mask-radial-to":
|
|
2183
|
+
"mask-radial-to": V()
|
|
2322
2184
|
}],
|
|
2323
2185
|
"mask-image-radial-from-color": [{
|
|
2324
|
-
"mask-radial-from":
|
|
2186
|
+
"mask-radial-from": h()
|
|
2325
2187
|
}],
|
|
2326
2188
|
"mask-image-radial-to-color": [{
|
|
2327
|
-
"mask-radial-to":
|
|
2189
|
+
"mask-radial-to": h()
|
|
2328
2190
|
}],
|
|
2329
2191
|
"mask-image-radial-shape": [{
|
|
2330
2192
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2336,22 +2198,22 @@ const et = [
|
|
|
2336
2198
|
}]
|
|
2337
2199
|
}],
|
|
2338
2200
|
"mask-image-radial-pos": [{
|
|
2339
|
-
"mask-radial-at":
|
|
2201
|
+
"mask-radial-at": x()
|
|
2340
2202
|
}],
|
|
2341
2203
|
"mask-image-conic-pos": [{
|
|
2342
|
-
"mask-conic": [
|
|
2204
|
+
"mask-conic": [k]
|
|
2343
2205
|
}],
|
|
2344
2206
|
"mask-image-conic-from-pos": [{
|
|
2345
|
-
"mask-conic-from":
|
|
2207
|
+
"mask-conic-from": V()
|
|
2346
2208
|
}],
|
|
2347
2209
|
"mask-image-conic-to-pos": [{
|
|
2348
|
-
"mask-conic-to":
|
|
2210
|
+
"mask-conic-to": V()
|
|
2349
2211
|
}],
|
|
2350
2212
|
"mask-image-conic-from-color": [{
|
|
2351
|
-
"mask-conic-from":
|
|
2213
|
+
"mask-conic-from": h()
|
|
2352
2214
|
}],
|
|
2353
2215
|
"mask-image-conic-to-color": [{
|
|
2354
|
-
"mask-conic-to":
|
|
2216
|
+
"mask-conic-to": h()
|
|
2355
2217
|
}],
|
|
2356
2218
|
/**
|
|
2357
2219
|
* Mask Mode
|
|
@@ -2372,21 +2234,21 @@ const et = [
|
|
|
2372
2234
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2373
2235
|
*/
|
|
2374
2236
|
"mask-position": [{
|
|
2375
|
-
mask:
|
|
2237
|
+
mask: Ee()
|
|
2376
2238
|
}],
|
|
2377
2239
|
/**
|
|
2378
2240
|
* Mask Repeat
|
|
2379
2241
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2380
2242
|
*/
|
|
2381
2243
|
"mask-repeat": [{
|
|
2382
|
-
mask:
|
|
2244
|
+
mask: je()
|
|
2383
2245
|
}],
|
|
2384
2246
|
/**
|
|
2385
2247
|
* Mask Size
|
|
2386
2248
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2387
2249
|
*/
|
|
2388
2250
|
"mask-size": [{
|
|
2389
|
-
mask:
|
|
2251
|
+
mask: Be()
|
|
2390
2252
|
}],
|
|
2391
2253
|
/**
|
|
2392
2254
|
* Mask Type
|
|
@@ -2400,7 +2262,7 @@ const et = [
|
|
|
2400
2262
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2401
2263
|
*/
|
|
2402
2264
|
"mask-image": [{
|
|
2403
|
-
mask: ["none", b,
|
|
2265
|
+
mask: ["none", b, u]
|
|
2404
2266
|
}],
|
|
2405
2267
|
// ---------------
|
|
2406
2268
|
// --- Filters ---
|
|
@@ -2415,7 +2277,7 @@ const et = [
|
|
|
2415
2277
|
"",
|
|
2416
2278
|
"none",
|
|
2417
2279
|
b,
|
|
2418
|
-
|
|
2280
|
+
u
|
|
2419
2281
|
]
|
|
2420
2282
|
}],
|
|
2421
2283
|
/**
|
|
@@ -2423,21 +2285,21 @@ const et = [
|
|
|
2423
2285
|
* @see https://tailwindcss.com/docs/blur
|
|
2424
2286
|
*/
|
|
2425
2287
|
blur: [{
|
|
2426
|
-
blur:
|
|
2288
|
+
blur: Pe()
|
|
2427
2289
|
}],
|
|
2428
2290
|
/**
|
|
2429
2291
|
* Brightness
|
|
2430
2292
|
* @see https://tailwindcss.com/docs/brightness
|
|
2431
2293
|
*/
|
|
2432
2294
|
brightness: [{
|
|
2433
|
-
brightness: [
|
|
2295
|
+
brightness: [k, b, u]
|
|
2434
2296
|
}],
|
|
2435
2297
|
/**
|
|
2436
2298
|
* Contrast
|
|
2437
2299
|
* @see https://tailwindcss.com/docs/contrast
|
|
2438
2300
|
*/
|
|
2439
2301
|
contrast: [{
|
|
2440
|
-
contrast: [
|
|
2302
|
+
contrast: [k, b, u]
|
|
2441
2303
|
}],
|
|
2442
2304
|
/**
|
|
2443
2305
|
* Drop Shadow
|
|
@@ -2448,9 +2310,9 @@ const et = [
|
|
|
2448
2310
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2449
2311
|
"",
|
|
2450
2312
|
"none",
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2313
|
+
O,
|
|
2314
|
+
me,
|
|
2315
|
+
be
|
|
2454
2316
|
]
|
|
2455
2317
|
}],
|
|
2456
2318
|
/**
|
|
@@ -2458,42 +2320,42 @@ const et = [
|
|
|
2458
2320
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2459
2321
|
*/
|
|
2460
2322
|
"drop-shadow-color": [{
|
|
2461
|
-
"drop-shadow":
|
|
2323
|
+
"drop-shadow": h()
|
|
2462
2324
|
}],
|
|
2463
2325
|
/**
|
|
2464
2326
|
* Grayscale
|
|
2465
2327
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2466
2328
|
*/
|
|
2467
2329
|
grayscale: [{
|
|
2468
|
-
grayscale: ["",
|
|
2330
|
+
grayscale: ["", k, b, u]
|
|
2469
2331
|
}],
|
|
2470
2332
|
/**
|
|
2471
2333
|
* Hue Rotate
|
|
2472
2334
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2473
2335
|
*/
|
|
2474
2336
|
"hue-rotate": [{
|
|
2475
|
-
"hue-rotate": [
|
|
2337
|
+
"hue-rotate": [k, b, u]
|
|
2476
2338
|
}],
|
|
2477
2339
|
/**
|
|
2478
2340
|
* Invert
|
|
2479
2341
|
* @see https://tailwindcss.com/docs/invert
|
|
2480
2342
|
*/
|
|
2481
2343
|
invert: [{
|
|
2482
|
-
invert: ["",
|
|
2344
|
+
invert: ["", k, b, u]
|
|
2483
2345
|
}],
|
|
2484
2346
|
/**
|
|
2485
2347
|
* Saturate
|
|
2486
2348
|
* @see https://tailwindcss.com/docs/saturate
|
|
2487
2349
|
*/
|
|
2488
2350
|
saturate: [{
|
|
2489
|
-
saturate: [
|
|
2351
|
+
saturate: [k, b, u]
|
|
2490
2352
|
}],
|
|
2491
2353
|
/**
|
|
2492
2354
|
* Sepia
|
|
2493
2355
|
* @see https://tailwindcss.com/docs/sepia
|
|
2494
2356
|
*/
|
|
2495
2357
|
sepia: [{
|
|
2496
|
-
sepia: ["",
|
|
2358
|
+
sepia: ["", k, b, u]
|
|
2497
2359
|
}],
|
|
2498
2360
|
/**
|
|
2499
2361
|
* Backdrop Filter
|
|
@@ -2505,7 +2367,7 @@ const et = [
|
|
|
2505
2367
|
"",
|
|
2506
2368
|
"none",
|
|
2507
2369
|
b,
|
|
2508
|
-
|
|
2370
|
+
u
|
|
2509
2371
|
]
|
|
2510
2372
|
}],
|
|
2511
2373
|
/**
|
|
@@ -2513,63 +2375,63 @@ const et = [
|
|
|
2513
2375
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2514
2376
|
*/
|
|
2515
2377
|
"backdrop-blur": [{
|
|
2516
|
-
"backdrop-blur":
|
|
2378
|
+
"backdrop-blur": Pe()
|
|
2517
2379
|
}],
|
|
2518
2380
|
/**
|
|
2519
2381
|
* Backdrop Brightness
|
|
2520
2382
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2521
2383
|
*/
|
|
2522
2384
|
"backdrop-brightness": [{
|
|
2523
|
-
"backdrop-brightness": [
|
|
2385
|
+
"backdrop-brightness": [k, b, u]
|
|
2524
2386
|
}],
|
|
2525
2387
|
/**
|
|
2526
2388
|
* Backdrop Contrast
|
|
2527
2389
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2528
2390
|
*/
|
|
2529
2391
|
"backdrop-contrast": [{
|
|
2530
|
-
"backdrop-contrast": [
|
|
2392
|
+
"backdrop-contrast": [k, b, u]
|
|
2531
2393
|
}],
|
|
2532
2394
|
/**
|
|
2533
2395
|
* Backdrop Grayscale
|
|
2534
2396
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2535
2397
|
*/
|
|
2536
2398
|
"backdrop-grayscale": [{
|
|
2537
|
-
"backdrop-grayscale": ["",
|
|
2399
|
+
"backdrop-grayscale": ["", k, b, u]
|
|
2538
2400
|
}],
|
|
2539
2401
|
/**
|
|
2540
2402
|
* Backdrop Hue Rotate
|
|
2541
2403
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2542
2404
|
*/
|
|
2543
2405
|
"backdrop-hue-rotate": [{
|
|
2544
|
-
"backdrop-hue-rotate": [
|
|
2406
|
+
"backdrop-hue-rotate": [k, b, u]
|
|
2545
2407
|
}],
|
|
2546
2408
|
/**
|
|
2547
2409
|
* Backdrop Invert
|
|
2548
2410
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2549
2411
|
*/
|
|
2550
2412
|
"backdrop-invert": [{
|
|
2551
|
-
"backdrop-invert": ["",
|
|
2413
|
+
"backdrop-invert": ["", k, b, u]
|
|
2552
2414
|
}],
|
|
2553
2415
|
/**
|
|
2554
2416
|
* Backdrop Opacity
|
|
2555
2417
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2556
2418
|
*/
|
|
2557
2419
|
"backdrop-opacity": [{
|
|
2558
|
-
"backdrop-opacity": [
|
|
2420
|
+
"backdrop-opacity": [k, b, u]
|
|
2559
2421
|
}],
|
|
2560
2422
|
/**
|
|
2561
2423
|
* Backdrop Saturate
|
|
2562
2424
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2563
2425
|
*/
|
|
2564
2426
|
"backdrop-saturate": [{
|
|
2565
|
-
"backdrop-saturate": [
|
|
2427
|
+
"backdrop-saturate": [k, b, u]
|
|
2566
2428
|
}],
|
|
2567
2429
|
/**
|
|
2568
2430
|
* Backdrop Sepia
|
|
2569
2431
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2570
2432
|
*/
|
|
2571
2433
|
"backdrop-sepia": [{
|
|
2572
|
-
"backdrop-sepia": ["",
|
|
2434
|
+
"backdrop-sepia": ["", k, b, u]
|
|
2573
2435
|
}],
|
|
2574
2436
|
// --------------
|
|
2575
2437
|
// --- Tables ---
|
|
@@ -2586,21 +2448,21 @@ const et = [
|
|
|
2586
2448
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2587
2449
|
*/
|
|
2588
2450
|
"border-spacing": [{
|
|
2589
|
-
"border-spacing":
|
|
2451
|
+
"border-spacing": g()
|
|
2590
2452
|
}],
|
|
2591
2453
|
/**
|
|
2592
2454
|
* Border Spacing X
|
|
2593
2455
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2594
2456
|
*/
|
|
2595
2457
|
"border-spacing-x": [{
|
|
2596
|
-
"border-spacing-x":
|
|
2458
|
+
"border-spacing-x": g()
|
|
2597
2459
|
}],
|
|
2598
2460
|
/**
|
|
2599
2461
|
* Border Spacing Y
|
|
2600
2462
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2601
2463
|
*/
|
|
2602
2464
|
"border-spacing-y": [{
|
|
2603
|
-
"border-spacing-y":
|
|
2465
|
+
"border-spacing-y": g()
|
|
2604
2466
|
}],
|
|
2605
2467
|
/**
|
|
2606
2468
|
* Table Layout
|
|
@@ -2624,7 +2486,7 @@ const et = [
|
|
|
2624
2486
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2625
2487
|
*/
|
|
2626
2488
|
transition: [{
|
|
2627
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b,
|
|
2489
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, u]
|
|
2628
2490
|
}],
|
|
2629
2491
|
/**
|
|
2630
2492
|
* Transition Behavior
|
|
@@ -2638,28 +2500,28 @@ const et = [
|
|
|
2638
2500
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2639
2501
|
*/
|
|
2640
2502
|
duration: [{
|
|
2641
|
-
duration: [
|
|
2503
|
+
duration: [k, "initial", b, u]
|
|
2642
2504
|
}],
|
|
2643
2505
|
/**
|
|
2644
2506
|
* Transition Timing Function
|
|
2645
2507
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2646
2508
|
*/
|
|
2647
2509
|
ease: [{
|
|
2648
|
-
ease: ["linear", "initial",
|
|
2510
|
+
ease: ["linear", "initial", q, b, u]
|
|
2649
2511
|
}],
|
|
2650
2512
|
/**
|
|
2651
2513
|
* Transition Delay
|
|
2652
2514
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2653
2515
|
*/
|
|
2654
2516
|
delay: [{
|
|
2655
|
-
delay: [
|
|
2517
|
+
delay: [k, b, u]
|
|
2656
2518
|
}],
|
|
2657
2519
|
/**
|
|
2658
2520
|
* Animation
|
|
2659
2521
|
* @see https://tailwindcss.com/docs/animation
|
|
2660
2522
|
*/
|
|
2661
2523
|
animate: [{
|
|
2662
|
-
animate: ["none", te, b,
|
|
2524
|
+
animate: ["none", te, b, u]
|
|
2663
2525
|
}],
|
|
2664
2526
|
// ------------------
|
|
2665
2527
|
// --- Transforms ---
|
|
@@ -2676,70 +2538,70 @@ const et = [
|
|
|
2676
2538
|
* @see https://tailwindcss.com/docs/perspective
|
|
2677
2539
|
*/
|
|
2678
2540
|
perspective: [{
|
|
2679
|
-
perspective: [
|
|
2541
|
+
perspective: [L, b, u]
|
|
2680
2542
|
}],
|
|
2681
2543
|
/**
|
|
2682
2544
|
* Perspective Origin
|
|
2683
2545
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2684
2546
|
*/
|
|
2685
2547
|
"perspective-origin": [{
|
|
2686
|
-
"perspective-origin":
|
|
2548
|
+
"perspective-origin": z()
|
|
2687
2549
|
}],
|
|
2688
2550
|
/**
|
|
2689
2551
|
* Rotate
|
|
2690
2552
|
* @see https://tailwindcss.com/docs/rotate
|
|
2691
2553
|
*/
|
|
2692
2554
|
rotate: [{
|
|
2693
|
-
rotate:
|
|
2555
|
+
rotate: de()
|
|
2694
2556
|
}],
|
|
2695
2557
|
/**
|
|
2696
2558
|
* Rotate X
|
|
2697
2559
|
* @see https://tailwindcss.com/docs/rotate
|
|
2698
2560
|
*/
|
|
2699
2561
|
"rotate-x": [{
|
|
2700
|
-
"rotate-x":
|
|
2562
|
+
"rotate-x": de()
|
|
2701
2563
|
}],
|
|
2702
2564
|
/**
|
|
2703
2565
|
* Rotate Y
|
|
2704
2566
|
* @see https://tailwindcss.com/docs/rotate
|
|
2705
2567
|
*/
|
|
2706
2568
|
"rotate-y": [{
|
|
2707
|
-
"rotate-y":
|
|
2569
|
+
"rotate-y": de()
|
|
2708
2570
|
}],
|
|
2709
2571
|
/**
|
|
2710
2572
|
* Rotate Z
|
|
2711
2573
|
* @see https://tailwindcss.com/docs/rotate
|
|
2712
2574
|
*/
|
|
2713
2575
|
"rotate-z": [{
|
|
2714
|
-
"rotate-z":
|
|
2576
|
+
"rotate-z": de()
|
|
2715
2577
|
}],
|
|
2716
2578
|
/**
|
|
2717
2579
|
* Scale
|
|
2718
2580
|
* @see https://tailwindcss.com/docs/scale
|
|
2719
2581
|
*/
|
|
2720
2582
|
scale: [{
|
|
2721
|
-
scale:
|
|
2583
|
+
scale: ce()
|
|
2722
2584
|
}],
|
|
2723
2585
|
/**
|
|
2724
2586
|
* Scale X
|
|
2725
2587
|
* @see https://tailwindcss.com/docs/scale
|
|
2726
2588
|
*/
|
|
2727
2589
|
"scale-x": [{
|
|
2728
|
-
"scale-x":
|
|
2590
|
+
"scale-x": ce()
|
|
2729
2591
|
}],
|
|
2730
2592
|
/**
|
|
2731
2593
|
* Scale Y
|
|
2732
2594
|
* @see https://tailwindcss.com/docs/scale
|
|
2733
2595
|
*/
|
|
2734
2596
|
"scale-y": [{
|
|
2735
|
-
"scale-y":
|
|
2597
|
+
"scale-y": ce()
|
|
2736
2598
|
}],
|
|
2737
2599
|
/**
|
|
2738
2600
|
* Scale Z
|
|
2739
2601
|
* @see https://tailwindcss.com/docs/scale
|
|
2740
2602
|
*/
|
|
2741
2603
|
"scale-z": [{
|
|
2742
|
-
"scale-z":
|
|
2604
|
+
"scale-z": ce()
|
|
2743
2605
|
}],
|
|
2744
2606
|
/**
|
|
2745
2607
|
* Scale 3D
|
|
@@ -2751,35 +2613,35 @@ const et = [
|
|
|
2751
2613
|
* @see https://tailwindcss.com/docs/skew
|
|
2752
2614
|
*/
|
|
2753
2615
|
skew: [{
|
|
2754
|
-
skew:
|
|
2616
|
+
skew: ke()
|
|
2755
2617
|
}],
|
|
2756
2618
|
/**
|
|
2757
2619
|
* Skew X
|
|
2758
2620
|
* @see https://tailwindcss.com/docs/skew
|
|
2759
2621
|
*/
|
|
2760
2622
|
"skew-x": [{
|
|
2761
|
-
"skew-x":
|
|
2623
|
+
"skew-x": ke()
|
|
2762
2624
|
}],
|
|
2763
2625
|
/**
|
|
2764
2626
|
* Skew Y
|
|
2765
2627
|
* @see https://tailwindcss.com/docs/skew
|
|
2766
2628
|
*/
|
|
2767
2629
|
"skew-y": [{
|
|
2768
|
-
"skew-y":
|
|
2630
|
+
"skew-y": ke()
|
|
2769
2631
|
}],
|
|
2770
2632
|
/**
|
|
2771
2633
|
* Transform
|
|
2772
2634
|
* @see https://tailwindcss.com/docs/transform
|
|
2773
2635
|
*/
|
|
2774
2636
|
transform: [{
|
|
2775
|
-
transform: [b,
|
|
2637
|
+
transform: [b, u, "", "none", "gpu", "cpu"]
|
|
2776
2638
|
}],
|
|
2777
2639
|
/**
|
|
2778
2640
|
* Transform Origin
|
|
2779
2641
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2780
2642
|
*/
|
|
2781
2643
|
"transform-origin": [{
|
|
2782
|
-
origin:
|
|
2644
|
+
origin: z()
|
|
2783
2645
|
}],
|
|
2784
2646
|
/**
|
|
2785
2647
|
* Transform Style
|
|
@@ -2793,28 +2655,28 @@ const et = [
|
|
|
2793
2655
|
* @see https://tailwindcss.com/docs/translate
|
|
2794
2656
|
*/
|
|
2795
2657
|
translate: [{
|
|
2796
|
-
translate:
|
|
2658
|
+
translate: ue()
|
|
2797
2659
|
}],
|
|
2798
2660
|
/**
|
|
2799
2661
|
* Translate X
|
|
2800
2662
|
* @see https://tailwindcss.com/docs/translate
|
|
2801
2663
|
*/
|
|
2802
2664
|
"translate-x": [{
|
|
2803
|
-
"translate-x":
|
|
2665
|
+
"translate-x": ue()
|
|
2804
2666
|
}],
|
|
2805
2667
|
/**
|
|
2806
2668
|
* Translate Y
|
|
2807
2669
|
* @see https://tailwindcss.com/docs/translate
|
|
2808
2670
|
*/
|
|
2809
2671
|
"translate-y": [{
|
|
2810
|
-
"translate-y":
|
|
2672
|
+
"translate-y": ue()
|
|
2811
2673
|
}],
|
|
2812
2674
|
/**
|
|
2813
2675
|
* Translate Z
|
|
2814
2676
|
* @see https://tailwindcss.com/docs/translate
|
|
2815
2677
|
*/
|
|
2816
2678
|
"translate-z": [{
|
|
2817
|
-
"translate-z":
|
|
2679
|
+
"translate-z": ue()
|
|
2818
2680
|
}],
|
|
2819
2681
|
/**
|
|
2820
2682
|
* Translate None
|
|
@@ -2829,7 +2691,7 @@ const et = [
|
|
|
2829
2691
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2830
2692
|
*/
|
|
2831
2693
|
accent: [{
|
|
2832
|
-
accent:
|
|
2694
|
+
accent: h()
|
|
2833
2695
|
}],
|
|
2834
2696
|
/**
|
|
2835
2697
|
* Appearance
|
|
@@ -2843,7 +2705,7 @@ const et = [
|
|
|
2843
2705
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2844
2706
|
*/
|
|
2845
2707
|
"caret-color": [{
|
|
2846
|
-
caret:
|
|
2708
|
+
caret: h()
|
|
2847
2709
|
}],
|
|
2848
2710
|
/**
|
|
2849
2711
|
* Color Scheme
|
|
@@ -2857,7 +2719,7 @@ const et = [
|
|
|
2857
2719
|
* @see https://tailwindcss.com/docs/cursor
|
|
2858
2720
|
*/
|
|
2859
2721
|
cursor: [{
|
|
2860
|
-
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", b,
|
|
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", b, u]
|
|
2861
2723
|
}],
|
|
2862
2724
|
/**
|
|
2863
2725
|
* Field Sizing
|
|
@@ -2892,154 +2754,154 @@ const et = [
|
|
|
2892
2754
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2893
2755
|
*/
|
|
2894
2756
|
"scroll-m": [{
|
|
2895
|
-
"scroll-m":
|
|
2757
|
+
"scroll-m": g()
|
|
2896
2758
|
}],
|
|
2897
2759
|
/**
|
|
2898
2760
|
* Scroll Margin Inline
|
|
2899
2761
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2900
2762
|
*/
|
|
2901
2763
|
"scroll-mx": [{
|
|
2902
|
-
"scroll-mx":
|
|
2764
|
+
"scroll-mx": g()
|
|
2903
2765
|
}],
|
|
2904
2766
|
/**
|
|
2905
2767
|
* Scroll Margin Block
|
|
2906
2768
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2907
2769
|
*/
|
|
2908
2770
|
"scroll-my": [{
|
|
2909
|
-
"scroll-my":
|
|
2771
|
+
"scroll-my": g()
|
|
2910
2772
|
}],
|
|
2911
2773
|
/**
|
|
2912
2774
|
* Scroll Margin Inline Start
|
|
2913
2775
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2914
2776
|
*/
|
|
2915
2777
|
"scroll-ms": [{
|
|
2916
|
-
"scroll-ms":
|
|
2778
|
+
"scroll-ms": g()
|
|
2917
2779
|
}],
|
|
2918
2780
|
/**
|
|
2919
2781
|
* Scroll Margin Inline End
|
|
2920
2782
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2921
2783
|
*/
|
|
2922
2784
|
"scroll-me": [{
|
|
2923
|
-
"scroll-me":
|
|
2785
|
+
"scroll-me": g()
|
|
2924
2786
|
}],
|
|
2925
2787
|
/**
|
|
2926
2788
|
* Scroll Margin Block Start
|
|
2927
2789
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2928
2790
|
*/
|
|
2929
2791
|
"scroll-mbs": [{
|
|
2930
|
-
"scroll-mbs":
|
|
2792
|
+
"scroll-mbs": g()
|
|
2931
2793
|
}],
|
|
2932
2794
|
/**
|
|
2933
2795
|
* Scroll Margin Block End
|
|
2934
2796
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2935
2797
|
*/
|
|
2936
2798
|
"scroll-mbe": [{
|
|
2937
|
-
"scroll-mbe":
|
|
2799
|
+
"scroll-mbe": g()
|
|
2938
2800
|
}],
|
|
2939
2801
|
/**
|
|
2940
2802
|
* Scroll Margin Top
|
|
2941
2803
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2942
2804
|
*/
|
|
2943
2805
|
"scroll-mt": [{
|
|
2944
|
-
"scroll-mt":
|
|
2806
|
+
"scroll-mt": g()
|
|
2945
2807
|
}],
|
|
2946
2808
|
/**
|
|
2947
2809
|
* Scroll Margin Right
|
|
2948
2810
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2949
2811
|
*/
|
|
2950
2812
|
"scroll-mr": [{
|
|
2951
|
-
"scroll-mr":
|
|
2813
|
+
"scroll-mr": g()
|
|
2952
2814
|
}],
|
|
2953
2815
|
/**
|
|
2954
2816
|
* Scroll Margin Bottom
|
|
2955
2817
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2956
2818
|
*/
|
|
2957
2819
|
"scroll-mb": [{
|
|
2958
|
-
"scroll-mb":
|
|
2820
|
+
"scroll-mb": g()
|
|
2959
2821
|
}],
|
|
2960
2822
|
/**
|
|
2961
2823
|
* Scroll Margin Left
|
|
2962
2824
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2963
2825
|
*/
|
|
2964
2826
|
"scroll-ml": [{
|
|
2965
|
-
"scroll-ml":
|
|
2827
|
+
"scroll-ml": g()
|
|
2966
2828
|
}],
|
|
2967
2829
|
/**
|
|
2968
2830
|
* Scroll Padding
|
|
2969
2831
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2970
2832
|
*/
|
|
2971
2833
|
"scroll-p": [{
|
|
2972
|
-
"scroll-p":
|
|
2834
|
+
"scroll-p": g()
|
|
2973
2835
|
}],
|
|
2974
2836
|
/**
|
|
2975
2837
|
* Scroll Padding Inline
|
|
2976
2838
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2977
2839
|
*/
|
|
2978
2840
|
"scroll-px": [{
|
|
2979
|
-
"scroll-px":
|
|
2841
|
+
"scroll-px": g()
|
|
2980
2842
|
}],
|
|
2981
2843
|
/**
|
|
2982
2844
|
* Scroll Padding Block
|
|
2983
2845
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2984
2846
|
*/
|
|
2985
2847
|
"scroll-py": [{
|
|
2986
|
-
"scroll-py":
|
|
2848
|
+
"scroll-py": g()
|
|
2987
2849
|
}],
|
|
2988
2850
|
/**
|
|
2989
2851
|
* Scroll Padding Inline Start
|
|
2990
2852
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2991
2853
|
*/
|
|
2992
2854
|
"scroll-ps": [{
|
|
2993
|
-
"scroll-ps":
|
|
2855
|
+
"scroll-ps": g()
|
|
2994
2856
|
}],
|
|
2995
2857
|
/**
|
|
2996
2858
|
* Scroll Padding Inline End
|
|
2997
2859
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2998
2860
|
*/
|
|
2999
2861
|
"scroll-pe": [{
|
|
3000
|
-
"scroll-pe":
|
|
2862
|
+
"scroll-pe": g()
|
|
3001
2863
|
}],
|
|
3002
2864
|
/**
|
|
3003
2865
|
* Scroll Padding Block Start
|
|
3004
2866
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3005
2867
|
*/
|
|
3006
2868
|
"scroll-pbs": [{
|
|
3007
|
-
"scroll-pbs":
|
|
2869
|
+
"scroll-pbs": g()
|
|
3008
2870
|
}],
|
|
3009
2871
|
/**
|
|
3010
2872
|
* Scroll Padding Block End
|
|
3011
2873
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3012
2874
|
*/
|
|
3013
2875
|
"scroll-pbe": [{
|
|
3014
|
-
"scroll-pbe":
|
|
2876
|
+
"scroll-pbe": g()
|
|
3015
2877
|
}],
|
|
3016
2878
|
/**
|
|
3017
2879
|
* Scroll Padding Top
|
|
3018
2880
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3019
2881
|
*/
|
|
3020
2882
|
"scroll-pt": [{
|
|
3021
|
-
"scroll-pt":
|
|
2883
|
+
"scroll-pt": g()
|
|
3022
2884
|
}],
|
|
3023
2885
|
/**
|
|
3024
2886
|
* Scroll Padding Right
|
|
3025
2887
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3026
2888
|
*/
|
|
3027
2889
|
"scroll-pr": [{
|
|
3028
|
-
"scroll-pr":
|
|
2890
|
+
"scroll-pr": g()
|
|
3029
2891
|
}],
|
|
3030
2892
|
/**
|
|
3031
2893
|
* Scroll Padding Bottom
|
|
3032
2894
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3033
2895
|
*/
|
|
3034
2896
|
"scroll-pb": [{
|
|
3035
|
-
"scroll-pb":
|
|
2897
|
+
"scroll-pb": g()
|
|
3036
2898
|
}],
|
|
3037
2899
|
/**
|
|
3038
2900
|
* Scroll Padding Left
|
|
3039
2901
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3040
2902
|
*/
|
|
3041
2903
|
"scroll-pl": [{
|
|
3042
|
-
"scroll-pl":
|
|
2904
|
+
"scroll-pl": g()
|
|
3043
2905
|
}],
|
|
3044
2906
|
/**
|
|
3045
2907
|
* Scroll Snap Align
|
|
@@ -3107,7 +2969,7 @@ const et = [
|
|
|
3107
2969
|
* @see https://tailwindcss.com/docs/will-change
|
|
3108
2970
|
*/
|
|
3109
2971
|
"will-change": [{
|
|
3110
|
-
"will-change": ["auto", "scroll", "contents", "transform", b,
|
|
2972
|
+
"will-change": ["auto", "scroll", "contents", "transform", b, u]
|
|
3111
2973
|
}],
|
|
3112
2974
|
// -----------
|
|
3113
2975
|
// --- SVG ---
|
|
@@ -3117,21 +2979,21 @@ const et = [
|
|
|
3117
2979
|
* @see https://tailwindcss.com/docs/fill
|
|
3118
2980
|
*/
|
|
3119
2981
|
fill: [{
|
|
3120
|
-
fill: ["none", ...
|
|
2982
|
+
fill: ["none", ...h()]
|
|
3121
2983
|
}],
|
|
3122
2984
|
/**
|
|
3123
2985
|
* Stroke Width
|
|
3124
2986
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3125
2987
|
*/
|
|
3126
2988
|
"stroke-w": [{
|
|
3127
|
-
stroke: [
|
|
2989
|
+
stroke: [k, se, _, qe]
|
|
3128
2990
|
}],
|
|
3129
2991
|
/**
|
|
3130
2992
|
* Stroke
|
|
3131
2993
|
* @see https://tailwindcss.com/docs/stroke
|
|
3132
2994
|
*/
|
|
3133
2995
|
stroke: [{
|
|
3134
|
-
stroke: ["none", ...
|
|
2996
|
+
stroke: ["none", ...h()]
|
|
3135
2997
|
}],
|
|
3136
2998
|
// ---------------------
|
|
3137
2999
|
// --- Accessibility ---
|
|
@@ -3199,7 +3061,7 @@ const et = [
|
|
|
3199
3061
|
},
|
|
3200
3062
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3201
3063
|
};
|
|
3202
|
-
}, "getDefaultConfig"),
|
|
3064
|
+
}, "getDefaultConfig"), Ar = /* @__PURE__ */ or(zr), He = {
|
|
3203
3065
|
default: {
|
|
3204
3066
|
solid: {
|
|
3205
3067
|
base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
|
|
@@ -3485,10 +3347,10 @@ const et = [
|
|
|
3485
3347
|
icon: "text-red-600 dark:text-red-400"
|
|
3486
3348
|
}
|
|
3487
3349
|
}
|
|
3488
|
-
},
|
|
3350
|
+
}, $r = {
|
|
3489
3351
|
key: 0,
|
|
3490
3352
|
class: "absolute inset-0 flex items-center justify-center"
|
|
3491
|
-
},
|
|
3353
|
+
}, Ke = /* @__PURE__ */ W({
|
|
3492
3354
|
__name: "FButton",
|
|
3493
3355
|
props: {
|
|
3494
3356
|
theme: { default: "default" },
|
|
@@ -3504,111 +3366,111 @@ const et = [
|
|
|
3504
3366
|
class: { default: "" }
|
|
3505
3367
|
},
|
|
3506
3368
|
setup(e) {
|
|
3507
|
-
const a =
|
|
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), d = A(() => ({
|
|
3508
3370
|
xxs: "size-2.5",
|
|
3509
3371
|
xs: "size-3",
|
|
3510
3372
|
sm: "size-3.5",
|
|
3511
3373
|
md: "size-4",
|
|
3512
3374
|
lg: "size-5",
|
|
3513
3375
|
xl: "size-6"
|
|
3514
|
-
})[e.size]),
|
|
3515
|
-
const
|
|
3516
|
-
return
|
|
3517
|
-
}), s =
|
|
3518
|
-
const
|
|
3376
|
+
})[e.size]), l = A(() => {
|
|
3377
|
+
const n = He[e.theme]?.[e.design] || He.default[e.design];
|
|
3378
|
+
return n || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), n || { base: "", border: "", hover: "", icon: "" };
|
|
3379
|
+
}), s = A(() => {
|
|
3380
|
+
const n = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", v = {
|
|
3519
3381
|
xxs: "px-2 py-0.5 text-[10px]",
|
|
3520
3382
|
xs: "px-3 py-1 text-[11px]",
|
|
3521
3383
|
sm: "px-3 py-1.5 text-xs",
|
|
3522
3384
|
md: "px-4 py-2 text-sm",
|
|
3523
3385
|
lg: "px-6 py-3 text-base",
|
|
3524
3386
|
xl: "px-8 py-4 text-base"
|
|
3525
|
-
},
|
|
3387
|
+
}, p = e.design === "link" ? "!px-1" : "", w = {
|
|
3526
3388
|
md: "rounded-md",
|
|
3527
3389
|
lg: "rounded-lg",
|
|
3528
3390
|
"2xl": "rounded-2xl",
|
|
3529
3391
|
full: "rounded-full"
|
|
3530
|
-
},
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
`border ${
|
|
3537
|
-
e.disabled ? "" :
|
|
3538
|
-
|
|
3392
|
+
}, y = l.value, O = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", P = [
|
|
3393
|
+
n,
|
|
3394
|
+
v[e.size],
|
|
3395
|
+
p,
|
|
3396
|
+
w[e.rounding],
|
|
3397
|
+
y.base,
|
|
3398
|
+
`border ${y.border}`,
|
|
3399
|
+
e.disabled ? "" : y.hover,
|
|
3400
|
+
O
|
|
3539
3401
|
].filter(Boolean).join(" ");
|
|
3540
|
-
return
|
|
3541
|
-
}), c =
|
|
3542
|
-
design:
|
|
3402
|
+
return Ar(P, e.class);
|
|
3403
|
+
}), c = A(() => ({
|
|
3404
|
+
design: l.value.icon || ""
|
|
3543
3405
|
}));
|
|
3544
|
-
return (
|
|
3406
|
+
return (n, v) => (m(), G(vt(r.value), {
|
|
3545
3407
|
href: e.disabled ? void 0 : e.href,
|
|
3546
3408
|
disabled: e.disabled || void 0,
|
|
3547
3409
|
"aria-disabled": e.disabled || void 0,
|
|
3548
|
-
class:
|
|
3410
|
+
class: $(s.value)
|
|
3549
3411
|
}, {
|
|
3550
|
-
default:
|
|
3551
|
-
e.loading ? (
|
|
3552
|
-
|
|
3553
|
-
class:
|
|
3412
|
+
default: U(() => [
|
|
3413
|
+
e.loading ? (m(), f("div", $r, [
|
|
3414
|
+
I(_e, {
|
|
3415
|
+
class: $(d.value)
|
|
3554
3416
|
}, null, 8, ["class"])
|
|
3555
|
-
])) :
|
|
3556
|
-
|
|
3557
|
-
class:
|
|
3417
|
+
])) : S("", !0),
|
|
3418
|
+
i("span", {
|
|
3419
|
+
class: $(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
|
|
3558
3420
|
}, [
|
|
3559
|
-
a.value ? (
|
|
3421
|
+
a.value ? (m(), f("span", {
|
|
3560
3422
|
key: 0,
|
|
3561
|
-
class:
|
|
3562
|
-
}, null, 2)) :
|
|
3563
|
-
|
|
3564
|
-
t.value ? (
|
|
3423
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value, c.value.design]])
|
|
3424
|
+
}, null, 2)) : S("", !0),
|
|
3425
|
+
ge(n.$slots, "default"),
|
|
3426
|
+
t.value ? (m(), f("span", {
|
|
3565
3427
|
key: 1,
|
|
3566
|
-
class:
|
|
3567
|
-
}, null, 2)) :
|
|
3428
|
+
class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, c.value.design]])
|
|
3429
|
+
}, null, 2)) : S("", !0)
|
|
3568
3430
|
], 2)
|
|
3569
3431
|
]),
|
|
3570
3432
|
_: 3
|
|
3571
3433
|
}, 8, ["href", "disabled", "aria-disabled", "class"]));
|
|
3572
3434
|
}
|
|
3573
|
-
}),
|
|
3435
|
+
}), Sr = { 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" }, Mr = { class: "flex-1 space-y-6 pb-12" }, Vr = {
|
|
3574
3436
|
key: 0,
|
|
3575
3437
|
class: "text-sm bg-white/10 backdrop-blur-sm rounded-2xl p-4 border border-white/20 space-y-3"
|
|
3576
|
-
},
|
|
3438
|
+
}, Ir = ["innerHTML"], Tr = {
|
|
3577
3439
|
key: 1,
|
|
3578
3440
|
class: "bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10"
|
|
3579
|
-
},
|
|
3441
|
+
}, Or = { class: "text-sm text-white/70 leading-relaxed" }, Er = {
|
|
3580
3442
|
key: 2,
|
|
3581
3443
|
class: "space-y-3"
|
|
3582
|
-
},
|
|
3444
|
+
}, jr = {
|
|
3583
3445
|
key: 3,
|
|
3584
3446
|
class: "space-y-3"
|
|
3585
|
-
},
|
|
3447
|
+
}, Br = { class: "grid grid-cols-2 gap-3" }, Rr = /* @__PURE__ */ W({
|
|
3586
3448
|
__name: "ElAgentAbout",
|
|
3587
3449
|
props: {
|
|
3588
3450
|
agent: {},
|
|
3589
3451
|
isOnline: { type: Boolean, default: !1 }
|
|
3590
3452
|
},
|
|
3591
3453
|
setup(e) {
|
|
3592
|
-
return (a, t) => (
|
|
3593
|
-
|
|
3454
|
+
return (a, t) => (m(), f("div", Sr, [
|
|
3455
|
+
I(et, {
|
|
3594
3456
|
agent: e.agent,
|
|
3595
3457
|
"is-online": e.isOnline
|
|
3596
3458
|
}, null, 8, ["agent", "is-online"]),
|
|
3597
|
-
|
|
3598
|
-
e.agent.summary.value ? (
|
|
3599
|
-
t[0] || (t[0] =
|
|
3600
|
-
|
|
3459
|
+
i("div", Mr, [
|
|
3460
|
+
e.agent.summary.value ? (m(), f("div", Vr, [
|
|
3461
|
+
t[0] || (t[0] = i("h3", { class: "font-medium text-white/50" }, " About ", -1)),
|
|
3462
|
+
i("div", {
|
|
3601
3463
|
class: "text-white/70 leading-relaxed",
|
|
3602
3464
|
innerHTML: e.agent.summary.value
|
|
3603
|
-
}, null, 8,
|
|
3604
|
-
])) :
|
|
3605
|
-
e.agent.entityType.value === "company" ? (
|
|
3606
|
-
t[1] || (t[1] =
|
|
3607
|
-
|
|
3608
|
-
])) :
|
|
3609
|
-
e.agent.email.value ? (
|
|
3610
|
-
t[3] || (t[3] =
|
|
3611
|
-
|
|
3465
|
+
}, null, 8, Ir)
|
|
3466
|
+
])) : S("", !0),
|
|
3467
|
+
e.agent.entityType.value === "company" ? (m(), f("div", Tr, [
|
|
3468
|
+
t[1] || (t[1] = i("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
|
|
3469
|
+
i("p", Or, " This is a company agent representing " + R(e.agent.name.value) + ". ", 1)
|
|
3470
|
+
])) : S("", !0),
|
|
3471
|
+
e.agent.email.value ? (m(), f("div", Er, [
|
|
3472
|
+
t[3] || (t[3] = i("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
|
|
3473
|
+
I(Ke, {
|
|
3612
3474
|
design: "ghost",
|
|
3613
3475
|
theme: "default",
|
|
3614
3476
|
size: "sm",
|
|
@@ -3617,109 +3479,109 @@ const et = [
|
|
|
3617
3479
|
href: `mailto:${e.agent.email.value}`,
|
|
3618
3480
|
target: "_blank"
|
|
3619
3481
|
}, {
|
|
3620
|
-
default:
|
|
3621
|
-
|
|
3482
|
+
default: U(() => [...t[2] || (t[2] = [
|
|
3483
|
+
ne(" Email ", -1)
|
|
3622
3484
|
])]),
|
|
3623
3485
|
_: 1
|
|
3624
3486
|
}, 8, ["href"])
|
|
3625
|
-
])) :
|
|
3626
|
-
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (
|
|
3627
|
-
t[4] || (t[4] =
|
|
3628
|
-
|
|
3629
|
-
(
|
|
3630
|
-
key: `${
|
|
3487
|
+
])) : S("", !0),
|
|
3488
|
+
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", jr, [
|
|
3489
|
+
t[4] || (t[4] = i("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
|
|
3490
|
+
i("div", Br, [
|
|
3491
|
+
(m(!0), f(J, null, Se(e.agent.accounts.value, (r) => (m(), G(Ke, {
|
|
3492
|
+
key: `${r.platform}-${r.handle}`,
|
|
3631
3493
|
design: "ghost",
|
|
3632
3494
|
theme: "default",
|
|
3633
3495
|
size: "md",
|
|
3634
3496
|
class: "bg-white/10 hover:bg-white/20 border border-white/20 text-white/80",
|
|
3635
|
-
icon:
|
|
3636
|
-
href:
|
|
3497
|
+
icon: B(oe)[r.platform].icon,
|
|
3498
|
+
href: B(oe)[r.platform].getUrl(r.handle),
|
|
3637
3499
|
target: "_blank"
|
|
3638
3500
|
}, {
|
|
3639
|
-
default:
|
|
3640
|
-
|
|
3501
|
+
default: U(() => [
|
|
3502
|
+
ne(R(B(oe)[r.platform].label), 1)
|
|
3641
3503
|
]),
|
|
3642
3504
|
_: 2
|
|
3643
3505
|
}, 1032, ["icon", "href"]))), 128))
|
|
3644
3506
|
])
|
|
3645
|
-
])) :
|
|
3507
|
+
])) : S("", !0)
|
|
3646
3508
|
])
|
|
3647
3509
|
]));
|
|
3648
3510
|
}
|
|
3649
|
-
}),
|
|
3511
|
+
}), Pr = { class: "flex flex-col items-center text-center gap-4" }, Lr = { class: "relative flex-shrink-0" }, Nr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Gr = ["src", "alt"], Fr = { class: "absolute top-1.5 right-1.5" }, Ur = {
|
|
3650
3512
|
key: 1,
|
|
3651
3513
|
class: "size-4 bg-theme-400 rounded-full ring-2 ring-white"
|
|
3652
|
-
},
|
|
3514
|
+
}, Wr = { class: "min-w-0" }, qr = { class: "text-3xl font-light text-white mb-2 truncate" }, Dr = { class: "text-base font-light text-white/60 line-clamp-1" }, Yr = /* @__PURE__ */ W({
|
|
3653
3515
|
__name: "ElAgentHeader",
|
|
3654
3516
|
props: {
|
|
3655
3517
|
agent: {},
|
|
3656
3518
|
isOnline: { type: Boolean, default: !1 }
|
|
3657
3519
|
},
|
|
3658
3520
|
setup(e) {
|
|
3659
|
-
return (a, t) => (
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3521
|
+
return (a, t) => (m(), f("div", Pr, [
|
|
3522
|
+
i("div", Lr, [
|
|
3523
|
+
i("div", Nr, [
|
|
3524
|
+
i("img", {
|
|
3663
3525
|
src: e.agent.avatarUrl.value,
|
|
3664
3526
|
alt: e.agent.displayName.value,
|
|
3665
3527
|
class: "w-full h-full object-cover",
|
|
3666
3528
|
onError: t[0] || (t[0] = //@ts-ignore
|
|
3667
|
-
(...
|
|
3668
|
-
}, null, 40,
|
|
3529
|
+
(...r) => B(Ne) && B(Ne)(...r))
|
|
3530
|
+
}, null, 40, Gr)
|
|
3669
3531
|
]),
|
|
3670
|
-
|
|
3671
|
-
e.isOnline ? (
|
|
3672
|
-
t[1] || (t[1] =
|
|
3532
|
+
i("div", Fr, [
|
|
3533
|
+
e.isOnline ? (m(), f(J, { key: 0 }, [
|
|
3534
|
+
t[1] || (t[1] = i("div", {
|
|
3673
3535
|
class: "size-4 bg-green-500 rounded-full ring-2 ring-white absolute animate-ping",
|
|
3674
3536
|
style: { "animation-duration": "3s" }
|
|
3675
3537
|
}, null, -1)),
|
|
3676
|
-
t[2] || (t[2] =
|
|
3677
|
-
], 64)) : (
|
|
3538
|
+
t[2] || (t[2] = i("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" }, null, -1))
|
|
3539
|
+
], 64)) : (m(), f("div", Ur))
|
|
3678
3540
|
])
|
|
3679
3541
|
]),
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3542
|
+
i("div", Wr, [
|
|
3543
|
+
i("h1", qr, R(e.agent.displayName.value), 1),
|
|
3544
|
+
i("p", Dr, R(e.agent.title.value), 1)
|
|
3683
3545
|
])
|
|
3684
3546
|
]));
|
|
3685
3547
|
}
|
|
3686
|
-
}),
|
|
3548
|
+
}), Hr = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Kr = /* @__PURE__ */ W({
|
|
3687
3549
|
name: "SelfSidebarClose",
|
|
3688
3550
|
__name: "AgentSidebarClose",
|
|
3689
3551
|
emits: ["click"],
|
|
3690
3552
|
setup(e) {
|
|
3691
|
-
const a =
|
|
3692
|
-
return
|
|
3553
|
+
const a = X(!1);
|
|
3554
|
+
return Je(() => {
|
|
3693
3555
|
setTimeout(() => {
|
|
3694
3556
|
a.value = !0;
|
|
3695
3557
|
}, 100);
|
|
3696
|
-
}), (t,
|
|
3558
|
+
}), (t, r) => (m(), f("a", {
|
|
3697
3559
|
class: "close block cursor-pointer w-[60px] h-[60px] rounded-full transition-all duration-1000 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-110 active:scale-90 hover:rotate-90",
|
|
3698
|
-
onClick:
|
|
3560
|
+
onClick: r[0] || (r[0] = (d) => t.$emit("click", d))
|
|
3699
3561
|
}, [
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
class:
|
|
3562
|
+
r[1] || (r[1] = i("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
|
|
3563
|
+
i("span", Hr, [
|
|
3564
|
+
i("span", {
|
|
3565
|
+
class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
|
|
3704
3566
|
style: { "background-color": "currentColor", "transition-delay": "0.15s" }
|
|
3705
3567
|
}, null, 2),
|
|
3706
|
-
|
|
3707
|
-
class:
|
|
3568
|
+
i("span", {
|
|
3569
|
+
class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
|
|
3708
3570
|
style: { "background-color": "currentColor", "transition-delay": "0.45s" }
|
|
3709
3571
|
}, null, 2)
|
|
3710
3572
|
])
|
|
3711
3573
|
]));
|
|
3712
3574
|
}
|
|
3713
|
-
}),
|
|
3575
|
+
}), Xr = {
|
|
3714
3576
|
key: 0,
|
|
3715
3577
|
class: "px-9 pt-12 pb-4"
|
|
3716
|
-
},
|
|
3578
|
+
}, Jr = { class: "text-base font-medium text-theme-400" }, Qr = {
|
|
3717
3579
|
key: 1,
|
|
3718
3580
|
class: "px-4 pb-8 border-b border-white/10"
|
|
3719
|
-
},
|
|
3581
|
+
}, Zr = ["disabled", "onClick"], _r = { class: "flex items-center gap-3" }, eo = { class: "flex-1" }, to = {
|
|
3720
3582
|
key: 0,
|
|
3721
3583
|
class: "text-xs text-white/50 mt-0.5"
|
|
3722
|
-
},
|
|
3584
|
+
}, ro = { class: "p-6" }, ft = /* @__PURE__ */ W({
|
|
3723
3585
|
name: "ElSidebar",
|
|
3724
3586
|
inheritAttrs: !1,
|
|
3725
3587
|
__name: "ElSidebar",
|
|
@@ -3732,15 +3594,15 @@ const et = [
|
|
|
3732
3594
|
},
|
|
3733
3595
|
emits: ["update:modelValue"],
|
|
3734
3596
|
setup(e, { emit: a }) {
|
|
3735
|
-
const t = e,
|
|
3736
|
-
get: /* @__PURE__ */
|
|
3737
|
-
set: /* @__PURE__ */
|
|
3738
|
-
}), c =
|
|
3739
|
-
function
|
|
3740
|
-
|
|
3597
|
+
const t = e, r = a, d = t.position || "left", l = t.widthClasses || "w-[80%] max-w-[300px]", s = A({
|
|
3598
|
+
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3599
|
+
set: /* @__PURE__ */ o((p) => r("update:modelValue", p), "set")
|
|
3600
|
+
}), c = A(() => t.items.filter((p) => !p.isHidden));
|
|
3601
|
+
function n(p) {
|
|
3602
|
+
p.isDisabled || (p.onClick ? p.onClick({ item: p, event: new MouseEvent("click") }) : p.href && (p.href.includes("http") ? window.open(p.href, p.target || "_self")?.focus() : window.location.href = p.href), s.value = !1);
|
|
3741
3603
|
}
|
|
3742
|
-
|
|
3743
|
-
const
|
|
3604
|
+
o(n, "handleItemClick");
|
|
3605
|
+
const v = A(() => d === "left" ? {
|
|
3744
3606
|
enter: "-translate-x-full",
|
|
3745
3607
|
leave: "-translate-x-full",
|
|
3746
3608
|
position: "justify-start",
|
|
@@ -3751,8 +3613,8 @@ const et = [
|
|
|
3751
3613
|
position: "justify-end",
|
|
3752
3614
|
closeButton: "-left-16"
|
|
3753
3615
|
});
|
|
3754
|
-
return (
|
|
3755
|
-
|
|
3616
|
+
return (p, w) => (m(), f(J, null, [
|
|
3617
|
+
I(Le, {
|
|
3756
3618
|
"enter-active-class": "transition-opacity duration-300 ease-out",
|
|
3757
3619
|
"leave-active-class": "transition-opacity duration-200 ease-in",
|
|
3758
3620
|
"enter-from-class": "opacity-0",
|
|
@@ -3760,92 +3622,92 @@ const et = [
|
|
|
3760
3622
|
"leave-from-class": "opacity-100",
|
|
3761
3623
|
"leave-to-class": "opacity-0"
|
|
3762
3624
|
}, {
|
|
3763
|
-
default:
|
|
3764
|
-
s.value ? (
|
|
3625
|
+
default: U(() => [
|
|
3626
|
+
s.value ? (m(), f("div", {
|
|
3765
3627
|
key: 0,
|
|
3766
3628
|
class: "absolute inset-0 z-40 bg-black/50 backdrop-blur-sm",
|
|
3767
|
-
onClick:
|
|
3768
|
-
})) :
|
|
3629
|
+
onClick: w[0] || (w[0] = (y) => s.value = !1)
|
|
3630
|
+
})) : S("", !0)
|
|
3769
3631
|
]),
|
|
3770
3632
|
_: 1
|
|
3771
3633
|
}),
|
|
3772
|
-
|
|
3634
|
+
I(Le, {
|
|
3773
3635
|
"enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3774
3636
|
"leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3775
|
-
"enter-from-class":
|
|
3637
|
+
"enter-from-class": v.value.enter,
|
|
3776
3638
|
"enter-to-class": "translate-x-0",
|
|
3777
3639
|
"leave-from-class": "translate-x-0",
|
|
3778
|
-
"leave-to-class":
|
|
3640
|
+
"leave-to-class": v.value.leave
|
|
3779
3641
|
}, {
|
|
3780
|
-
default:
|
|
3781
|
-
s.value ? (
|
|
3642
|
+
default: U(() => [
|
|
3643
|
+
s.value ? (m(), f("div", {
|
|
3782
3644
|
key: 0,
|
|
3783
|
-
class:
|
|
3784
|
-
onClick:
|
|
3645
|
+
class: $(["absolute inset-0 z-50 flex", v.value.position]),
|
|
3646
|
+
onClick: w[3] || (w[3] = (y) => s.value = !1)
|
|
3785
3647
|
}, [
|
|
3786
|
-
|
|
3787
|
-
class:
|
|
3788
|
-
onClick:
|
|
3648
|
+
i("div", {
|
|
3649
|
+
class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", B(l)]),
|
|
3650
|
+
onClick: w[2] || (w[2] = Ae(() => {
|
|
3789
3651
|
}, ["stop"]))
|
|
3790
3652
|
}, [
|
|
3791
|
-
|
|
3792
|
-
class:
|
|
3793
|
-
onClick:
|
|
3653
|
+
I(Kr, {
|
|
3654
|
+
class: $(["absolute top-4 z-10 text-white", v.value.closeButton]),
|
|
3655
|
+
onClick: w[1] || (w[1] = (y) => s.value = !1)
|
|
3794
3656
|
}, null, 8, ["class"]),
|
|
3795
|
-
e.title ? (
|
|
3796
|
-
|
|
3797
|
-
])) :
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
])) :
|
|
3801
|
-
|
|
3802
|
-
class:
|
|
3657
|
+
e.title ? (m(), f("div", Xr, [
|
|
3658
|
+
i("h3", Jr, R(e.title), 1)
|
|
3659
|
+
])) : S("", !0),
|
|
3660
|
+
p.$slots.header ? (m(), f("div", Qr, [
|
|
3661
|
+
ge(p.$slots, "header")
|
|
3662
|
+
])) : S("", !0),
|
|
3663
|
+
i("div", {
|
|
3664
|
+
class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !p.$slots.header, "pt-4": e.title || p.$slots.header }])
|
|
3803
3665
|
}, [
|
|
3804
|
-
|
|
3666
|
+
I(Xe, {
|
|
3805
3667
|
"enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3806
3668
|
"leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
3807
|
-
"enter-from-class":
|
|
3669
|
+
"enter-from-class": B(d) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
|
|
3808
3670
|
"enter-to-class": "translate-x-0 opacity-100",
|
|
3809
3671
|
"leave-from-class": "translate-x-0 opacity-100",
|
|
3810
|
-
"leave-to-class":
|
|
3672
|
+
"leave-to-class": B(d) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
|
|
3811
3673
|
}, {
|
|
3812
|
-
default:
|
|
3813
|
-
(
|
|
3814
|
-
key:
|
|
3815
|
-
style: Qe({ transitionDelay: `${
|
|
3816
|
-
class:
|
|
3817
|
-
|
|
3818
|
-
|
|
3674
|
+
default: U(() => [
|
|
3675
|
+
(m(!0), f(J, null, Se(c.value, (y, O) => (m(), f("button", {
|
|
3676
|
+
key: y.key || y.label || O,
|
|
3677
|
+
style: Qe({ transitionDelay: `${O * 40}ms` }),
|
|
3678
|
+
class: $(["cursor-pointer w-full text-left p-3 rounded-xl transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group", [
|
|
3679
|
+
y.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
|
|
3680
|
+
y.isDisabled && "opacity-50 cursor-not-allowed"
|
|
3819
3681
|
]]),
|
|
3820
|
-
disabled:
|
|
3821
|
-
onClick: /* @__PURE__ */
|
|
3682
|
+
disabled: y.isDisabled,
|
|
3683
|
+
onClick: /* @__PURE__ */ o((P) => n(y), "onClick")
|
|
3822
3684
|
}, [
|
|
3823
|
-
|
|
3824
|
-
|
|
3685
|
+
i("div", _r, [
|
|
3686
|
+
y.icon?.src ? (m(), f("i", {
|
|
3825
3687
|
key: 0,
|
|
3826
|
-
class:
|
|
3827
|
-
|
|
3828
|
-
|
|
3688
|
+
class: $(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
|
|
3689
|
+
y.icon.src,
|
|
3690
|
+
y.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
|
|
3829
3691
|
]])
|
|
3830
|
-
}, null, 2)) :
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
class:
|
|
3834
|
-
},
|
|
3835
|
-
|
|
3692
|
+
}, null, 2)) : S("", !0),
|
|
3693
|
+
i("div", eo, [
|
|
3694
|
+
i("div", {
|
|
3695
|
+
class: $(["font-medium text-sm", y.isActive ? "text-primary-300" : "text-white"])
|
|
3696
|
+
}, R(y.label), 3),
|
|
3697
|
+
y.subLabel ? (m(), f("div", to, R(y.subLabel), 1)) : S("", !0)
|
|
3836
3698
|
])
|
|
3837
3699
|
])
|
|
3838
|
-
], 14,
|
|
3700
|
+
], 14, Zr))), 128))
|
|
3839
3701
|
]),
|
|
3840
3702
|
_: 1
|
|
3841
3703
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
3842
3704
|
], 2),
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3705
|
+
i("div", ro, [
|
|
3706
|
+
ge(p.$slots, "footer", {}, () => [
|
|
3707
|
+
w[4] || (w[4] = i("div", { class: "text-center" }, [
|
|
3708
|
+
i("p", { class: "text-[10px] text-white/40 font-sans" }, [
|
|
3709
|
+
ne(" AI Agent by "),
|
|
3710
|
+
i("a", {
|
|
3849
3711
|
href: "https://www.pagelines.com",
|
|
3850
3712
|
target: "_blank",
|
|
3851
3713
|
class: "text-white/60 hover:text-white/80 transition-colors"
|
|
@@ -3855,13 +3717,13 @@ const et = [
|
|
|
3855
3717
|
])
|
|
3856
3718
|
])
|
|
3857
3719
|
], 2)
|
|
3858
|
-
], 2)) :
|
|
3720
|
+
], 2)) : S("", !0)
|
|
3859
3721
|
]),
|
|
3860
3722
|
_: 3
|
|
3861
3723
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
3862
3724
|
], 64));
|
|
3863
3725
|
}
|
|
3864
|
-
}),
|
|
3726
|
+
}), oo = /* @__PURE__ */ W({
|
|
3865
3727
|
name: "AgentModeSidebar",
|
|
3866
3728
|
__name: "ElAgentModeSidebar",
|
|
3867
3729
|
props: {
|
|
@@ -3870,28 +3732,28 @@ const et = [
|
|
|
3870
3732
|
},
|
|
3871
3733
|
emits: ["update:modelValue"],
|
|
3872
3734
|
setup(e, { emit: a }) {
|
|
3873
|
-
const t = e,
|
|
3874
|
-
get: /* @__PURE__ */
|
|
3875
|
-
set: /* @__PURE__ */
|
|
3876
|
-
}),
|
|
3735
|
+
const t = e, r = a, d = A({
|
|
3736
|
+
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3737
|
+
set: /* @__PURE__ */ o((c) => r("update:modelValue", c), "set")
|
|
3738
|
+
}), l = A(() => t.chatController?.agentMode?.value ?? "self"), s = A(() => tt.map((c) => ({
|
|
3877
3739
|
key: c.mode,
|
|
3878
3740
|
icon: { src: c.icon },
|
|
3879
3741
|
label: c.label,
|
|
3880
|
-
isActive:
|
|
3881
|
-
onClick: /* @__PURE__ */
|
|
3742
|
+
isActive: l.value === c.mode,
|
|
3743
|
+
onClick: /* @__PURE__ */ o(() => {
|
|
3882
3744
|
t.chatController?.setMode(c.mode);
|
|
3883
3745
|
}, "onClick")
|
|
3884
3746
|
})));
|
|
3885
|
-
return (c,
|
|
3886
|
-
modelValue:
|
|
3887
|
-
"onUpdate:modelValue":
|
|
3747
|
+
return (c, n) => (m(), G(ft, {
|
|
3748
|
+
modelValue: d.value,
|
|
3749
|
+
"onUpdate:modelValue": n[0] || (n[0] = (v) => d.value = v),
|
|
3888
3750
|
items: s.value,
|
|
3889
3751
|
position: "right",
|
|
3890
3752
|
title: "Mode",
|
|
3891
3753
|
"width-classes": "w-[80%] max-w-[255px]"
|
|
3892
3754
|
}, null, 8, ["modelValue", "items"]));
|
|
3893
3755
|
}
|
|
3894
|
-
}),
|
|
3756
|
+
}), ao = /* @__PURE__ */ W({
|
|
3895
3757
|
name: "AgentSidebar",
|
|
3896
3758
|
__name: "ElAgentSidebar",
|
|
3897
3759
|
props: {
|
|
@@ -3902,16 +3764,16 @@ const et = [
|
|
|
3902
3764
|
},
|
|
3903
3765
|
emits: ["update:modelValue"],
|
|
3904
3766
|
setup(e, { emit: a }) {
|
|
3905
|
-
const t = e,
|
|
3906
|
-
get: /* @__PURE__ */
|
|
3907
|
-
set: /* @__PURE__ */
|
|
3908
|
-
}),
|
|
3767
|
+
const t = e, r = a, d = A({
|
|
3768
|
+
get: /* @__PURE__ */ o(() => t.modelValue, "get"),
|
|
3769
|
+
set: /* @__PURE__ */ o((s) => r("update:modelValue", s), "set")
|
|
3770
|
+
}), l = A(() => {
|
|
3909
3771
|
const s = [
|
|
3910
3772
|
{
|
|
3911
3773
|
key: "share",
|
|
3912
3774
|
icon: { src: "i-tabler-share" },
|
|
3913
3775
|
label: "Share This Digital Agent",
|
|
3914
|
-
onClick: /* @__PURE__ */
|
|
3776
|
+
onClick: /* @__PURE__ */ o(() => {
|
|
3915
3777
|
const c = `${window.location.origin}/@${t.agent.handle.value || t.agent.agentId.value}`;
|
|
3916
3778
|
navigator.clipboard.writeText(c);
|
|
3917
3779
|
}, "onClick")
|
|
@@ -3920,7 +3782,7 @@ const et = [
|
|
|
3920
3782
|
key: "profile",
|
|
3921
3783
|
icon: { src: "i-tabler-user" },
|
|
3922
3784
|
label: "Visit Full Profile",
|
|
3923
|
-
onClick: /* @__PURE__ */
|
|
3785
|
+
onClick: /* @__PURE__ */ o(() => {
|
|
3924
3786
|
window.open(`/@${t.agent.handle.value || t.agent.agentId.value}`, "_blank");
|
|
3925
3787
|
}, "onClick")
|
|
3926
3788
|
},
|
|
@@ -3928,7 +3790,7 @@ const et = [
|
|
|
3928
3790
|
key: "create",
|
|
3929
3791
|
icon: { src: "i-tabler-sparkles" },
|
|
3930
3792
|
label: "Create Your Own",
|
|
3931
|
-
onClick: /* @__PURE__ */
|
|
3793
|
+
onClick: /* @__PURE__ */ o(() => {
|
|
3932
3794
|
window.open("/auth", "_blank");
|
|
3933
3795
|
}, "onClick")
|
|
3934
3796
|
}
|
|
@@ -3937,53 +3799,53 @@ const et = [
|
|
|
3937
3799
|
key: "logout",
|
|
3938
3800
|
icon: { src: "i-tabler-logout" },
|
|
3939
3801
|
label: "Logout",
|
|
3940
|
-
onClick: /* @__PURE__ */
|
|
3802
|
+
onClick: /* @__PURE__ */ o(async () => {
|
|
3941
3803
|
await t.sdk.logout();
|
|
3942
3804
|
}, "onClick")
|
|
3943
3805
|
}), s;
|
|
3944
3806
|
});
|
|
3945
|
-
return (s, c) => (
|
|
3946
|
-
modelValue:
|
|
3947
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
3948
|
-
items:
|
|
3807
|
+
return (s, c) => (m(), G(ft, {
|
|
3808
|
+
modelValue: d.value,
|
|
3809
|
+
"onUpdate:modelValue": c[0] || (c[0] = (n) => d.value = n),
|
|
3810
|
+
items: l.value,
|
|
3949
3811
|
position: "left",
|
|
3950
3812
|
title: e.title || "Menu"
|
|
3951
3813
|
}, null, 8, ["modelValue", "items", "title"]));
|
|
3952
3814
|
}
|
|
3953
|
-
}),
|
|
3815
|
+
}), so = {
|
|
3954
3816
|
key: 0,
|
|
3955
3817
|
class: "absolute inset-0 flex items-center justify-center bg-gradient-to-br from-theme-800 to-theme-950 rounded-3xl z-10"
|
|
3956
|
-
},
|
|
3818
|
+
}, no = ["data-quality"], lo = {
|
|
3957
3819
|
key: 0,
|
|
3958
3820
|
class: "flex items-center"
|
|
3959
|
-
},
|
|
3821
|
+
}, io = { class: "flex-1 flex items-center gap-3 pl-2" }, co = ["src", "alt"], uo = { class: "text-white/90 text-sm font-medium" }, bo = {
|
|
3960
3822
|
key: 0,
|
|
3961
3823
|
class: "flex justify-end"
|
|
3962
|
-
},
|
|
3824
|
+
}, mo = { class: "text-sm" }, go = {
|
|
3963
3825
|
key: 0,
|
|
3964
3826
|
class: "flex-1 basis-0 flex justify-end"
|
|
3965
|
-
},
|
|
3827
|
+
}, ho = {
|
|
3966
3828
|
key: 0,
|
|
3967
3829
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4"
|
|
3968
|
-
},
|
|
3830
|
+
}, fo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, xo = {
|
|
3969
3831
|
key: 0,
|
|
3970
3832
|
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"
|
|
3971
|
-
},
|
|
3833
|
+
}, po = { class: "flex-1 basis-0 flex flex-col justify-start pt-8 gap-7" }, vo = {
|
|
3972
3834
|
key: 0,
|
|
3973
3835
|
class: "flex items-center justify-center gap-3"
|
|
3974
|
-
},
|
|
3836
|
+
}, ko = ["href"], yo = {
|
|
3975
3837
|
key: 1,
|
|
3976
3838
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full gap-4 px-4"
|
|
3977
|
-
},
|
|
3839
|
+
}, wo = { class: "max-w-md mx-auto" }, Co = {
|
|
3978
3840
|
key: 2,
|
|
3979
3841
|
class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4 @[480px]/agent:px-6"
|
|
3980
|
-
},
|
|
3842
|
+
}, zo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, Ao = {
|
|
3981
3843
|
key: 2,
|
|
3982
3844
|
class: "bg-gradient-to-br from-theme-800 to-theme-950 text-white flex items-center justify-center h-full p-8"
|
|
3983
|
-
},
|
|
3845
|
+
}, $o = { class: "text-center max-w-md space-y-4" }, So = { class: "text-sm text-white/70 leading-relaxed" }, Mo = {
|
|
3984
3846
|
key: 3,
|
|
3985
3847
|
class: "bg-white/10 backdrop-blur-sm text-white/70 flex items-center justify-center h-full"
|
|
3986
|
-
},
|
|
3848
|
+
}, Vo = /* @__PURE__ */ W({
|
|
3987
3849
|
__name: "AgentChat",
|
|
3988
3850
|
props: {
|
|
3989
3851
|
sdk: {},
|
|
@@ -4001,252 +3863,252 @@ const et = [
|
|
|
4001
3863
|
},
|
|
4002
3864
|
emits: ["close", "error"],
|
|
4003
3865
|
setup(e, { emit: a }) {
|
|
4004
|
-
const t = a,
|
|
4005
|
-
function
|
|
4006
|
-
|
|
3866
|
+
const t = a, r = kt(), d = X(!1), l = X(!1), s = X(), c = X(), n = A(() => r.value?.agentMode?.value ?? "self"), v = A(() => r.value?.textState.value.isConnected ?? !1), p = A(() => e.sdk.activeUser.value !== void 0), w = A(() => tt.find((C) => C.mode === n.value));
|
|
3867
|
+
function y() {
|
|
3868
|
+
r.value && r.value.destroy();
|
|
4007
3869
|
try {
|
|
4008
|
-
|
|
3870
|
+
r.value = new $t({
|
|
4009
3871
|
sdk: e.sdk,
|
|
4010
3872
|
agent: e.agent,
|
|
4011
3873
|
context: e.context,
|
|
4012
3874
|
firstMessage: e.firstMessage
|
|
4013
3875
|
});
|
|
4014
|
-
} catch (
|
|
4015
|
-
throw console.error("AgentChatController creation failed:",
|
|
3876
|
+
} catch (C) {
|
|
3877
|
+
throw console.error("AgentChatController creation failed:", C), C;
|
|
4016
3878
|
}
|
|
4017
3879
|
}
|
|
4018
|
-
|
|
4019
|
-
function
|
|
3880
|
+
o(y, "createChatController");
|
|
3881
|
+
function O(C) {
|
|
4020
3882
|
if (!c.value)
|
|
4021
3883
|
return;
|
|
4022
|
-
const
|
|
4023
|
-
Object.entries(
|
|
4024
|
-
c.value.style.setProperty(`--primary-${
|
|
3884
|
+
const x = Mt(C);
|
|
3885
|
+
Object.entries(x).forEach(([z, D]) => {
|
|
3886
|
+
c.value.style.setProperty(`--primary-${z}`, D);
|
|
4025
3887
|
});
|
|
4026
3888
|
}
|
|
4027
|
-
|
|
3889
|
+
o(O, "applyTheme"), Je(() => {
|
|
4028
3890
|
try {
|
|
4029
|
-
|
|
4030
|
-
} catch (
|
|
4031
|
-
const
|
|
4032
|
-
s.value =
|
|
3891
|
+
y(), O(e.theme), e.chatOnly && r.value && r.value.setMode("chat");
|
|
3892
|
+
} catch (C) {
|
|
3893
|
+
const x = C instanceof Error ? C.message : "Failed to initialize digital agent";
|
|
3894
|
+
s.value = x, t("error", x);
|
|
4033
3895
|
}
|
|
4034
|
-
}),
|
|
4035
|
-
|
|
4036
|
-
}),
|
|
4037
|
-
|
|
4038
|
-
}),
|
|
4039
|
-
|
|
3896
|
+
}), yt(() => {
|
|
3897
|
+
r.value && r.value.destroy();
|
|
3898
|
+
}), ze(() => e.theme, (C) => {
|
|
3899
|
+
O(C);
|
|
3900
|
+
}), ze(() => e.sdk.activeUser.value, (C, x) => {
|
|
3901
|
+
x && !C && r.value && r.value.setMode("self");
|
|
4040
3902
|
});
|
|
4041
|
-
const
|
|
4042
|
-
const
|
|
4043
|
-
return
|
|
3903
|
+
const P = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), L = A(() => {
|
|
3904
|
+
const C = [P.value ? "backdrop-blur-sm" : ""];
|
|
3905
|
+
return P.value && n.value === "self" ? C.push("from-black/80 via-black/60 to-black/80") : n.value === "self" ? C.push("from-black/70 via-black/50 to-black/80") : C.push("from-black/90 via-black/90 to-black/100"), C.join(" ");
|
|
4044
3906
|
}), T = {
|
|
4045
3907
|
phone: "i-heroicons-phone",
|
|
4046
3908
|
calendar: "i-heroicons-calendar",
|
|
4047
3909
|
question: "i-heroicons-question-mark-circle",
|
|
4048
3910
|
message: "i-heroicons-chat-bubble-left-right",
|
|
4049
3911
|
sparkles: "i-heroicons-sparkles"
|
|
4050
|
-
},
|
|
3912
|
+
}, q = A(() => At({
|
|
4051
3913
|
template: e.buttonText || "Talk to {name}",
|
|
4052
3914
|
agent: e.agent.toConfig()
|
|
4053
|
-
})), te =
|
|
4054
|
-
return (
|
|
3915
|
+
})), te = A(() => T[e.buttonIcon || "phone"] || T.phone);
|
|
3916
|
+
return (C, x) => (m(), f("div", {
|
|
4055
3917
|
ref_key: "rootElement",
|
|
4056
3918
|
ref: c,
|
|
4057
|
-
key:
|
|
3919
|
+
key: B(ye)(e.agent.toConfig()),
|
|
4058
3920
|
class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
|
|
4059
3921
|
"data-test": "agent-chat"
|
|
4060
3922
|
}, [
|
|
4061
|
-
e.loading ? (
|
|
4062
|
-
|
|
4063
|
-
])) : e.agent && !s.value ? (
|
|
3923
|
+
e.loading ? (m(), f("div", so, [
|
|
3924
|
+
I(_e, { class: "text-white size-8" })
|
|
3925
|
+
])) : e.agent && !s.value ? (m(), f("div", {
|
|
4064
3926
|
key: 1,
|
|
4065
3927
|
class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
|
|
4066
|
-
style: Qe({ backgroundImage: `url(${
|
|
3928
|
+
style: Qe({ backgroundImage: `url(${B(ye)(e.agent.toConfig())})` }),
|
|
4067
3929
|
"data-quality": e.agent.avatar.value?.quality || "none"
|
|
4068
3930
|
}, [
|
|
4069
|
-
|
|
4070
|
-
class:
|
|
3931
|
+
i("div", {
|
|
3932
|
+
class: $(["absolute inset-0 bg-gradient-to-br z-0", L.value])
|
|
4071
3933
|
}, null, 2),
|
|
4072
|
-
|
|
4073
|
-
class:
|
|
3934
|
+
i("div", {
|
|
3935
|
+
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"])
|
|
4074
3936
|
}, [
|
|
4075
|
-
|
|
4076
|
-
class:
|
|
3937
|
+
i("div", {
|
|
3938
|
+
class: $(["relative z-30 p-2", n.value !== "self" ? "backdrop-blur-lg" : ""])
|
|
4077
3939
|
}, [
|
|
4078
|
-
e.chatOnly ? (
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
src:
|
|
3940
|
+
e.chatOnly ? (m(), f("div", lo, [
|
|
3941
|
+
i("div", io, [
|
|
3942
|
+
i("img", {
|
|
3943
|
+
src: B(ye)(e.agent.toConfig()),
|
|
4082
3944
|
alt: e.agent.displayName.value,
|
|
4083
3945
|
class: "size-8 rounded-full object-cover"
|
|
4084
|
-
}, null, 8,
|
|
4085
|
-
|
|
3946
|
+
}, null, 8, co),
|
|
3947
|
+
i("span", uo, R(e.agent.displayName.value), 1)
|
|
4086
3948
|
]),
|
|
4087
|
-
e.hasClose ? (
|
|
4088
|
-
|
|
3949
|
+
e.hasClose ? (m(), f("div", bo, [
|
|
3950
|
+
i("button", {
|
|
4089
3951
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
4090
|
-
onClick:
|
|
4091
|
-
}, [...
|
|
4092
|
-
|
|
3952
|
+
onClick: x[0] || (x[0] = Ae((z) => t("close", "button"), ["stop"]))
|
|
3953
|
+
}, [...x[7] || (x[7] = [
|
|
3954
|
+
i("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
4093
3955
|
])])
|
|
4094
|
-
])) :
|
|
4095
|
-
])) : (
|
|
3956
|
+
])) : S("", !0)
|
|
3957
|
+
])) : (m(), f("div", {
|
|
4096
3958
|
key: 1,
|
|
4097
|
-
class:
|
|
3959
|
+
class: $(["flex items-center", e.hasClose ? "" : "justify-between"])
|
|
4098
3960
|
}, [
|
|
4099
|
-
|
|
4100
|
-
class:
|
|
3961
|
+
i("div", {
|
|
3962
|
+
class: $(e.hasClose ? "flex-1 basis-0" : "")
|
|
4101
3963
|
}, [
|
|
4102
|
-
|
|
3964
|
+
i("button", {
|
|
4103
3965
|
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",
|
|
4104
|
-
onClick:
|
|
4105
|
-
}, [...
|
|
4106
|
-
|
|
3966
|
+
onClick: x[1] || (x[1] = (z) => d.value = !0)
|
|
3967
|
+
}, [...x[8] || (x[8] = [
|
|
3968
|
+
i("i", { class: "i-tabler-menu size-7" }, null, -1)
|
|
4107
3969
|
])])
|
|
4108
3970
|
], 2),
|
|
4109
|
-
|
|
4110
|
-
class:
|
|
4111
|
-
onClick:
|
|
3971
|
+
i("button", {
|
|
3972
|
+
class: $(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": l.value }]),
|
|
3973
|
+
onClick: x[2] || (x[2] = (z) => l.value = !0)
|
|
4112
3974
|
}, [
|
|
4113
|
-
|
|
4114
|
-
class:
|
|
3975
|
+
i("i", {
|
|
3976
|
+
class: $([w.value?.icon, "size-4 opacity-60"])
|
|
4115
3977
|
}, null, 2),
|
|
4116
|
-
|
|
4117
|
-
|
|
3978
|
+
i("span", mo, R(w.value?.label), 1),
|
|
3979
|
+
x[9] || (x[9] = i("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
|
|
4118
3980
|
], 2),
|
|
4119
|
-
e.hasClose ? (
|
|
4120
|
-
|
|
3981
|
+
e.hasClose ? (m(), f("div", go, [
|
|
3982
|
+
i("button", {
|
|
4121
3983
|
class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
|
|
4122
|
-
onClick:
|
|
4123
|
-
}, [...
|
|
4124
|
-
|
|
3984
|
+
onClick: x[3] || (x[3] = Ae((z) => t("close", "button"), ["stop"]))
|
|
3985
|
+
}, [...x[10] || (x[10] = [
|
|
3986
|
+
i("i", { class: "size-6 i-tabler-x" }, null, -1)
|
|
4125
3987
|
])])
|
|
4126
|
-
])) :
|
|
3988
|
+
])) : S("", !0)
|
|
4127
3989
|
], 2))
|
|
4128
3990
|
], 2),
|
|
4129
|
-
e.chatOnly ? (
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
"chat-controller":
|
|
3991
|
+
e.chatOnly ? (m(), f("div", ho, [
|
|
3992
|
+
i("div", fo, [
|
|
3993
|
+
I(we, {
|
|
3994
|
+
"chat-controller": r.value,
|
|
4133
3995
|
agent: e.agent
|
|
4134
3996
|
}, null, 8, ["chat-controller", "agent"])
|
|
4135
3997
|
])
|
|
4136
|
-
])) : (
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
3998
|
+
])) : (m(), f(J, { key: 1 }, [
|
|
3999
|
+
n.value === "self" ? (m(), f("div", xo, [
|
|
4000
|
+
x[11] || (x[11] = i("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
|
|
4001
|
+
I(Yr, {
|
|
4140
4002
|
agent: e.agent,
|
|
4141
|
-
"is-online":
|
|
4003
|
+
"is-online": v.value
|
|
4142
4004
|
}, null, 8, ["agent", "is-online"]),
|
|
4143
|
-
|
|
4144
|
-
|
|
4005
|
+
i("div", po, [
|
|
4006
|
+
I(Ze, {
|
|
4145
4007
|
theme: "primary",
|
|
4146
4008
|
size: "lg",
|
|
4147
4009
|
class: "w-full",
|
|
4148
4010
|
icon: te.value,
|
|
4149
4011
|
"data-test": "voice-button",
|
|
4150
|
-
onClick:
|
|
4012
|
+
onClick: x[4] || (x[4] = (z) => r.value?.setMode("talk"))
|
|
4151
4013
|
}, {
|
|
4152
|
-
default:
|
|
4153
|
-
|
|
4014
|
+
default: U(() => [
|
|
4015
|
+
ne(R(q.value), 1)
|
|
4154
4016
|
]),
|
|
4155
4017
|
_: 1
|
|
4156
4018
|
}, 8, ["icon"]),
|
|
4157
|
-
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (
|
|
4158
|
-
(
|
|
4159
|
-
key: `${
|
|
4160
|
-
href:
|
|
4019
|
+
e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", vo, [
|
|
4020
|
+
(m(!0), f(J, null, Se((e.agent.accounts.value || []).filter((z) => B(oe)[z.platform]), (z) => (m(), f("a", {
|
|
4021
|
+
key: `${z.platform}-${z.handle}`,
|
|
4022
|
+
href: B(oe)[z.platform].getUrl(z.handle),
|
|
4161
4023
|
target: "_blank",
|
|
4162
4024
|
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"
|
|
4163
4025
|
}, [
|
|
4164
|
-
|
|
4165
|
-
class:
|
|
4026
|
+
i("i", {
|
|
4027
|
+
class: $([B(oe)[z.platform].icon, "size-5"])
|
|
4166
4028
|
}, null, 2)
|
|
4167
|
-
], 8,
|
|
4168
|
-
])) :
|
|
4029
|
+
], 8, ko))), 128))
|
|
4030
|
+
])) : S("", !0)
|
|
4169
4031
|
])
|
|
4170
|
-
])) :
|
|
4171
|
-
e.requireAuth && !
|
|
4032
|
+
])) : n.value === "talk" ? (m(), f("div", yo, [
|
|
4033
|
+
e.requireAuth && !p.value ? (m(), G(Ge, {
|
|
4172
4034
|
key: 0,
|
|
4173
4035
|
sdk: e.sdk
|
|
4174
|
-
}, null, 8, ["sdk"])) : (
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4036
|
+
}, null, 8, ["sdk"])) : (m(), f(J, { key: 1 }, [
|
|
4037
|
+
i("div", null, [
|
|
4038
|
+
i("div", wo, [
|
|
4039
|
+
I(et, {
|
|
4178
4040
|
agent: e.agent,
|
|
4179
|
-
"is-online":
|
|
4041
|
+
"is-online": v.value
|
|
4180
4042
|
}, null, 8, ["agent", "is-online"])
|
|
4181
4043
|
])
|
|
4182
4044
|
]),
|
|
4183
|
-
|
|
4184
|
-
"chat-controller":
|
|
4045
|
+
I(we, {
|
|
4046
|
+
"chat-controller": r.value,
|
|
4185
4047
|
agent: e.agent
|
|
4186
4048
|
}, null, 8, ["chat-controller", "agent"])
|
|
4187
4049
|
], 64))
|
|
4188
|
-
])) : (
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
e.requireAuth && !
|
|
4050
|
+
])) : (m(), f("div", Co, [
|
|
4051
|
+
i("div", zo, [
|
|
4052
|
+
n.value === "chat" ? (m(), f(J, { key: 0 }, [
|
|
4053
|
+
e.requireAuth && !p.value ? (m(), G(Ge, {
|
|
4192
4054
|
key: 0,
|
|
4193
4055
|
sdk: e.sdk
|
|
4194
|
-
}, null, 8, ["sdk"])) : (
|
|
4056
|
+
}, null, 8, ["sdk"])) : (m(), G(we, {
|
|
4195
4057
|
key: 1,
|
|
4196
|
-
"chat-controller":
|
|
4058
|
+
"chat-controller": r.value,
|
|
4197
4059
|
agent: e.agent
|
|
4198
4060
|
}, null, 8, ["chat-controller", "agent"]))
|
|
4199
|
-
], 64)) :
|
|
4061
|
+
], 64)) : n.value === "info" ? (m(), G(Rr, {
|
|
4200
4062
|
key: 1,
|
|
4201
4063
|
agent: e.agent,
|
|
4202
|
-
"is-online":
|
|
4203
|
-
}, null, 8, ["agent", "is-online"])) :
|
|
4064
|
+
"is-online": v.value
|
|
4065
|
+
}, null, 8, ["agent", "is-online"])) : S("", !0)
|
|
4204
4066
|
])
|
|
4205
4067
|
]))
|
|
4206
4068
|
], 64)),
|
|
4207
|
-
|
|
4208
|
-
class:
|
|
4209
|
-
}, [...
|
|
4210
|
-
|
|
4069
|
+
i("div", {
|
|
4070
|
+
class: $(["relative z-20 text-center py-5 px-6", n.value === "info" ? "hidden" : ""])
|
|
4071
|
+
}, [...x[12] || (x[12] = [
|
|
4072
|
+
i("a", {
|
|
4211
4073
|
href: "https://www.pagelines.com",
|
|
4212
4074
|
class: "flex items-center justify-center gap-1.5 text-[10px] font-sans font-normal text-white/50 hover:text-white/70 transition-colors"
|
|
4213
4075
|
}, [
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4076
|
+
i("span", { class: "" }, "AI Agent™"),
|
|
4077
|
+
i("span", { class: "text-white/20" }, "by"),
|
|
4078
|
+
i("span", null, "PageLines")
|
|
4217
4079
|
], -1)
|
|
4218
4080
|
])], 2)
|
|
4219
4081
|
], 2)
|
|
4220
|
-
], 12,
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4082
|
+
], 12, no)) : s.value ? (m(), f("div", Ao, [
|
|
4083
|
+
i("div", $o, [
|
|
4084
|
+
x[13] || (x[13] = i("div", { class: "flex justify-center" }, [
|
|
4085
|
+
i("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
|
|
4086
|
+
i("i", { class: "i-tabler-alert-circle size-6 text-red-400" })
|
|
4225
4087
|
])
|
|
4226
4088
|
], -1)),
|
|
4227
|
-
|
|
4228
|
-
|
|
4089
|
+
x[14] || (x[14] = i("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
|
|
4090
|
+
i("p", So, R(s.value), 1)
|
|
4229
4091
|
])
|
|
4230
|
-
])) : (
|
|
4231
|
-
e.chatOnly ?
|
|
4092
|
+
])) : (m(), f("div", Mo, " There was an error loading the digital agent. Please try again later. ")),
|
|
4093
|
+
e.chatOnly ? S("", !0) : (m(), G(ao, {
|
|
4232
4094
|
key: 4,
|
|
4233
|
-
modelValue:
|
|
4234
|
-
"onUpdate:modelValue":
|
|
4095
|
+
modelValue: d.value,
|
|
4096
|
+
"onUpdate:modelValue": x[5] || (x[5] = (z) => d.value = z),
|
|
4235
4097
|
agent: e.agent,
|
|
4236
4098
|
sdk: e.sdk,
|
|
4237
4099
|
title: e.agent.displayName.value,
|
|
4238
4100
|
"data-test": "agent-sidebar"
|
|
4239
4101
|
}, null, 8, ["modelValue", "agent", "sdk", "title"])),
|
|
4240
|
-
e.chatOnly ?
|
|
4102
|
+
e.chatOnly ? S("", !0) : (m(), G(oo, {
|
|
4241
4103
|
key: 5,
|
|
4242
|
-
modelValue:
|
|
4243
|
-
"onUpdate:modelValue":
|
|
4244
|
-
"chat-controller":
|
|
4104
|
+
modelValue: l.value,
|
|
4105
|
+
"onUpdate:modelValue": x[6] || (x[6] = (z) => l.value = z),
|
|
4106
|
+
"chat-controller": r.value,
|
|
4245
4107
|
"data-test": "agent-mode-sidebar"
|
|
4246
4108
|
}, null, 8, ["modelValue", "chat-controller"]))
|
|
4247
4109
|
]));
|
|
4248
4110
|
}
|
|
4249
|
-
}),
|
|
4111
|
+
}), Bo = /* @__PURE__ */ W({
|
|
4250
4112
|
__name: "AgentProvider",
|
|
4251
4113
|
props: {
|
|
4252
4114
|
sdk: {},
|
|
@@ -4262,10 +4124,10 @@ const et = [
|
|
|
4262
4124
|
},
|
|
4263
4125
|
emits: ["close", "error"],
|
|
4264
4126
|
setup(e, { emit: a }) {
|
|
4265
|
-
const t = e,
|
|
4266
|
-
return (
|
|
4267
|
-
default:
|
|
4268
|
-
|
|
4127
|
+
const t = e, r = a;
|
|
4128
|
+
return (d, l) => (m(), G(St, wt(t, { class: "agent-provider size-full relative" }), {
|
|
4129
|
+
default: U((s) => [
|
|
4130
|
+
I(Vo, {
|
|
4269
4131
|
sdk: s.sdk,
|
|
4270
4132
|
agent: s.agent,
|
|
4271
4133
|
context: s.context,
|
|
@@ -4276,8 +4138,8 @@ const et = [
|
|
|
4276
4138
|
"chat-only": t.chatOnly,
|
|
4277
4139
|
"is-active": !0,
|
|
4278
4140
|
class: "size-full",
|
|
4279
|
-
onClose:
|
|
4280
|
-
onError:
|
|
4141
|
+
onClose: l[0] || (l[0] = (c) => r("close", c)),
|
|
4142
|
+
onError: l[1] || (l[1] = (c) => r("error", c))
|
|
4281
4143
|
}, null, 8, ["sdk", "agent", "context", "first-message", "button-text", "button-icon", "has-close", "chat-only"])
|
|
4282
4144
|
]),
|
|
4283
4145
|
_: 1
|
|
@@ -4285,8 +4147,8 @@ const et = [
|
|
|
4285
4147
|
}
|
|
4286
4148
|
});
|
|
4287
4149
|
export {
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4150
|
+
tt as A,
|
|
4151
|
+
Bo as _,
|
|
4152
|
+
Vo as a
|
|
4291
4153
|
};
|
|
4292
|
-
//# sourceMappingURL=AgentProvider.vue_vue_type_script_setup_true_lang
|
|
4154
|
+
//# sourceMappingURL=AgentProvider.vue_vue_type_script_setup_true_lang.js.map
|