@floegence/floe-webapp-core 0.50.6 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat/input/ChatInput.js +8 -8
- package/dist/components/ui/Button.js +16 -13
- package/dist/components/ui/Card.js +125 -119
- package/dist/components/ui/Checkbox.js +178 -132
- package/dist/components/ui/CommandPalette.js +10 -10
- package/dist/components/ui/Dialog.js +1 -1
- package/dist/components/ui/DirectoryInput.js +5 -5
- package/dist/components/ui/Dropdown.d.ts +2 -0
- package/dist/components/ui/Dropdown.js +119 -114
- package/dist/components/ui/FloatingWindow.js +211 -199
- package/dist/components/ui/HighlightBlock.js +8 -8
- package/dist/components/ui/Input.js +40 -40
- package/dist/components/ui/Pagination.js +90 -88
- package/dist/components/ui/ProcessingIndicator.js +1 -1
- package/dist/components/ui/Progress.js +99 -88
- package/dist/components/ui/QuoteBlock.js +9 -9
- package/dist/components/ui/Radio.js +151 -127
- package/dist/components/ui/SegmentedControl.js +26 -25
- package/dist/components/ui/Stepper.js +114 -112
- package/dist/components/ui/Switch.js +34 -33
- package/dist/components/ui/Tabs.js +153 -150
- package/dist/components/ui/Tag.js +24 -21
- package/dist/components/ui/Tooltip.js +10 -10
- package/dist/components/ui/floatingPresence.js +40 -30
- package/dist/components/workbench/WorkbenchHud.js +9 -9
- package/dist/components/workbench/WorkbenchLockButton.js +4 -4
- package/dist/components/workbench/WorkbenchWidget.js +46 -43
- package/dist/context/FloeConfigContext.d.ts +5 -1
- package/dist/context/FloeConfigContext.js +10 -9
- package/dist/context/ThemeContext.d.ts +3 -1
- package/dist/context/ThemeContext.js +78 -71
- package/dist/floe.css +1 -0
- package/dist/full.js +839 -836
- package/dist/index.js +150 -147
- package/dist/input-focus.css +0 -1
- package/dist/styles/themes/index.d.ts +3 -0
- package/dist/styles/themes/index.js +40 -31
- package/dist/styles/tokens.d.ts +36 -0
- package/dist/styles/tokens.js +12 -5
- package/dist/styles.css +1 -1
- package/dist/surface.css +467 -0
- package/dist/themes.d.ts +1 -1
- package/dist/ui.css +9 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createComponent as t, spread as M, mergeProps as I, insert as
|
|
2
|
-
import { splitProps as j, createMemo as q, Switch as H, Match as N, Show as
|
|
3
|
-
import { cn as
|
|
4
|
-
var K = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M9.78 4.22a.75.75 0 010 1.06L7.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L5.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd>'), O = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M6.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd>'), Q = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M8.78 4.22a.75.75 0 010 1.06L6.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L4.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd></path><path fill-rule=evenodd d="M12.78 4.22a.75.75 0 010 1.06L10.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L8.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd>'), U = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M3.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L5.94 8 3.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd></path><path fill-rule=evenodd d="M7.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L9.94 8 7.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd>'), V = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><circle cx=4 cy=8 r=1.5></circle><circle cx=8 cy=8 r=1.5></circle><circle cx=12 cy=8 r=1.5>'), W = /* @__PURE__ */ u("<button type=button>"), X = /* @__PURE__ */ u("<nav aria-label=Pagination><span>Page <!> of "), Y = /* @__PURE__ */ u("<nav aria-label=Pagination><span> / "), Z = /* @__PURE__ */ u("<span> items"), ee = /* @__PURE__ */ u('<div class="flex items-center gap-2"><span>Show</span><select>'), te = /* @__PURE__ */ u('<div class="flex items-center gap-2"><span>Go to</span><input type=number min=1>'), re = /* @__PURE__ */ u('<nav aria-label=Pagination><div class="flex items-center gap-1">'), ne = /* @__PURE__ */ u("<option>"), le = /* @__PURE__ */ u("<span>");
|
|
1
|
+
import { createComponent as t, spread as M, mergeProps as I, insert as s, effect as g, className as w, memo as J, setAttribute as x, template as u, delegateEvents as D } from "solid-js/web";
|
|
2
|
+
import { splitProps as j, createMemo as q, Switch as H, Match as N, Show as k, For as E } from "solid-js";
|
|
3
|
+
import { cn as p } from "../../utils/cn.js";
|
|
4
|
+
var K = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M9.78 4.22a.75.75 0 010 1.06L7.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L5.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd>'), O = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M6.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L8.94 8 6.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd>'), Q = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M8.78 4.22a.75.75 0 010 1.06L6.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L4.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd></path><path fill-rule=evenodd d="M12.78 4.22a.75.75 0 010 1.06L10.06 8l2.72 2.72a.75.75 0 11-1.06 1.06L8.47 8.53a.75.75 0 010-1.06l3.25-3.25a.75.75 0 011.06 0z"clip-rule=evenodd>'), U = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><path fill-rule=evenodd d="M3.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L5.94 8 3.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd></path><path fill-rule=evenodd d="M7.22 4.22a.75.75 0 011.06 0l3.25 3.25a.75.75 0 010 1.06l-3.25 3.25a.75.75 0 01-1.06-1.06L9.94 8 7.22 5.28a.75.75 0 010-1.06z"clip-rule=evenodd>'), V = /* @__PURE__ */ u('<svg viewBox="0 0 16 16"fill=currentColor><circle cx=4 cy=8 r=1.5></circle><circle cx=8 cy=8 r=1.5></circle><circle cx=12 cy=8 r=1.5>'), W = /* @__PURE__ */ u("<button type=button data-floe-surface-part=action>"), X = /* @__PURE__ */ u("<nav aria-label=Pagination><span>Page <!> of "), Y = /* @__PURE__ */ u("<nav aria-label=Pagination><span> / "), Z = /* @__PURE__ */ u("<span> items"), ee = /* @__PURE__ */ u('<div class="flex items-center gap-2"><span>Show</span><select data-floe-surface=inset>'), te = /* @__PURE__ */ u('<div class="flex items-center gap-2"><span>Go to</span><input data-floe-surface=inset type=number min=1>'), re = /* @__PURE__ */ u('<nav aria-label=Pagination><div class="flex items-center gap-1">'), ne = /* @__PURE__ */ u("<option>"), le = /* @__PURE__ */ u("<span>");
|
|
5
5
|
const ae = {
|
|
6
6
|
sm: {
|
|
7
7
|
button: "h-7 min-w-7 px-2 text-xs",
|
|
@@ -19,70 +19,72 @@ const ae = {
|
|
|
19
19
|
input: "h-9 w-18 text-sm"
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function A(c) {
|
|
23
23
|
return (() => {
|
|
24
24
|
var e = K();
|
|
25
|
-
return g(() =>
|
|
25
|
+
return g(() => x(e, "class", c.class)), e;
|
|
26
26
|
})();
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function R(c) {
|
|
29
29
|
return (() => {
|
|
30
30
|
var e = O();
|
|
31
|
-
return g(() =>
|
|
31
|
+
return g(() => x(e, "class", c.class)), e;
|
|
32
32
|
})();
|
|
33
33
|
}
|
|
34
34
|
function T(c) {
|
|
35
35
|
return (() => {
|
|
36
36
|
var e = Q();
|
|
37
|
-
return g(() =>
|
|
37
|
+
return g(() => x(e, "class", c.class)), e;
|
|
38
38
|
})();
|
|
39
39
|
}
|
|
40
40
|
function G(c) {
|
|
41
41
|
return (() => {
|
|
42
42
|
var e = U();
|
|
43
|
-
return g(() =>
|
|
43
|
+
return g(() => x(e, "class", c.class)), e;
|
|
44
44
|
})();
|
|
45
45
|
}
|
|
46
46
|
function ie(c) {
|
|
47
47
|
return (() => {
|
|
48
48
|
var e = V();
|
|
49
|
-
return g(() =>
|
|
49
|
+
return g(() => x(e, "class", c.class)), e;
|
|
50
50
|
})();
|
|
51
51
|
}
|
|
52
|
-
function se(c, e,
|
|
53
|
-
const P =
|
|
52
|
+
function se(c, e, m) {
|
|
53
|
+
const P = m * 2 + 5;
|
|
54
54
|
if (e <= P)
|
|
55
55
|
return Array.from({
|
|
56
56
|
length: e
|
|
57
|
-
}, (
|
|
58
|
-
const
|
|
57
|
+
}, (b, o) => o + 1);
|
|
58
|
+
const $ = Math.max(c - m, 1), S = Math.min(c + m, e), h = $ > 2, z = S < e - 1;
|
|
59
59
|
return !h && z ? [...Array.from({
|
|
60
|
-
length: 3 + 2 *
|
|
61
|
-
}, (o,
|
|
62
|
-
length: 3 + 2 *
|
|
63
|
-
}, (o,
|
|
64
|
-
length: S -
|
|
65
|
-
}, (
|
|
60
|
+
length: 3 + 2 * m
|
|
61
|
+
}, (o, y) => y + 1), "ellipsis", e] : h && !z ? [1, "ellipsis", ...Array.from({
|
|
62
|
+
length: 3 + 2 * m
|
|
63
|
+
}, (o, y) => e - (3 + 2 * m) + y + 1)] : [1, "ellipsis", ...Array.from({
|
|
64
|
+
length: S - $ + 1
|
|
65
|
+
}, (b, o) => $ + o), "ellipsis", e];
|
|
66
66
|
}
|
|
67
67
|
function ue(c) {
|
|
68
|
-
const [e,
|
|
68
|
+
const [e, m] = j(c, ["page", "totalPages", "onChange", "size", "variant", "siblingCount", "showFirstLast", "showPageSize", "pageSize", "pageSizes", "onPageSizeChange", "showJumpTo", "totalItems", "disabled", "class"]), P = () => e.size ?? "md", $ = () => e.variant ?? "default", S = () => e.siblingCount ?? 1, h = () => ae[P()], z = q(() => se(e.page, e.totalPages, S())), L = () => e.page > 1, b = () => e.page < e.totalPages, o = (r) => {
|
|
69
69
|
if (e.disabled) return;
|
|
70
70
|
const a = Math.max(1, Math.min(r, e.totalPages));
|
|
71
71
|
a !== e.page && e.onChange?.(a);
|
|
72
|
-
},
|
|
72
|
+
}, y = (r) => {
|
|
73
73
|
const a = r.target, n = parseInt(a.value, 10);
|
|
74
74
|
isNaN(n) || o(n), a.value = "";
|
|
75
|
-
},
|
|
75
|
+
}, f = (r) => {
|
|
76
76
|
const a = () => r.onClick?.();
|
|
77
77
|
return (() => {
|
|
78
78
|
var n = W();
|
|
79
|
-
return n.$$click = a,
|
|
80
|
-
var d = r.disabled || e.disabled,
|
|
81
|
-
return d !==
|
|
79
|
+
return n.$$click = a, s(n, () => r.children), g((i) => {
|
|
80
|
+
var d = r.isActive ? "inset" : "raised", l = r.isActive ? "page" : void 0, v = r.disabled || e.disabled, C = r.title, _ = p("inline-flex items-center justify-center rounded-md font-medium transition-colors duration-150 cursor-pointer", h().button, r.isActive ? "bg-primary text-primary-foreground" : "bg-background text-foreground hover:bg-muted border border-border", (r.disabled || e.disabled) && "opacity-50 cursor-not-allowed");
|
|
81
|
+
return d !== i.e && x(n, "data-floe-surface", i.e = d), l !== i.t && x(n, "aria-current", i.t = l), v !== i.a && (n.disabled = i.a = v), C !== i.o && x(n, "title", i.o = C), _ !== i.i && w(n, i.i = _), i;
|
|
82
82
|
}, {
|
|
83
83
|
e: void 0,
|
|
84
84
|
t: void 0,
|
|
85
|
-
a: void 0
|
|
85
|
+
a: void 0,
|
|
86
|
+
o: void 0,
|
|
87
|
+
i: void 0
|
|
86
88
|
}), n;
|
|
87
89
|
})();
|
|
88
90
|
};
|
|
@@ -90,56 +92,56 @@ function ue(c) {
|
|
|
90
92
|
get children() {
|
|
91
93
|
return [t(N, {
|
|
92
94
|
get when() {
|
|
93
|
-
return
|
|
95
|
+
return $() === "simple";
|
|
94
96
|
},
|
|
95
97
|
get children() {
|
|
96
|
-
var r = X(), a = r.firstChild, n = a.firstChild,
|
|
97
|
-
return
|
|
98
|
+
var r = X(), a = r.firstChild, n = a.firstChild, i = n.nextSibling;
|
|
99
|
+
return i.nextSibling, M(r, I({
|
|
98
100
|
get class() {
|
|
99
|
-
return
|
|
101
|
+
return p("flex items-center gap-2", e.class);
|
|
100
102
|
}
|
|
101
|
-
},
|
|
103
|
+
}, m), !1, !0), s(r, t(f, {
|
|
102
104
|
get disabled() {
|
|
103
|
-
return
|
|
105
|
+
return !L();
|
|
104
106
|
},
|
|
105
107
|
onClick: () => o(e.page - 1),
|
|
106
108
|
title: "Previous page",
|
|
107
109
|
get children() {
|
|
108
|
-
return t(
|
|
110
|
+
return t(A, {
|
|
109
111
|
class: "w-4 h-4"
|
|
110
112
|
});
|
|
111
113
|
}
|
|
112
|
-
}), a),
|
|
114
|
+
}), a), s(a, () => e.page, i), s(a, () => e.totalPages, null), s(r, t(f, {
|
|
113
115
|
get disabled() {
|
|
114
|
-
return !
|
|
116
|
+
return !b();
|
|
115
117
|
},
|
|
116
118
|
onClick: () => o(e.page + 1),
|
|
117
119
|
title: "Next page",
|
|
118
120
|
get children() {
|
|
119
|
-
return t(
|
|
121
|
+
return t(R, {
|
|
120
122
|
class: "w-4 h-4"
|
|
121
123
|
});
|
|
122
124
|
}
|
|
123
|
-
}), null), g(() =>
|
|
125
|
+
}), null), g(() => w(a, p("text-muted-foreground px-2", h().text))), r;
|
|
124
126
|
}
|
|
125
127
|
}), t(N, {
|
|
126
128
|
get when() {
|
|
127
|
-
return
|
|
129
|
+
return $() === "minimal";
|
|
128
130
|
},
|
|
129
131
|
get children() {
|
|
130
132
|
var r = Y(), a = r.firstChild, n = a.firstChild;
|
|
131
133
|
return M(r, I({
|
|
132
134
|
get class() {
|
|
133
|
-
return
|
|
135
|
+
return p("flex items-center gap-1", e.class);
|
|
134
136
|
}
|
|
135
|
-
},
|
|
137
|
+
}, m), !1, !0), s(r, t(k, {
|
|
136
138
|
get when() {
|
|
137
139
|
return e.showFirstLast;
|
|
138
140
|
},
|
|
139
141
|
get children() {
|
|
140
|
-
return t(
|
|
142
|
+
return t(f, {
|
|
141
143
|
get disabled() {
|
|
142
|
-
return
|
|
144
|
+
return !L();
|
|
143
145
|
},
|
|
144
146
|
onClick: () => o(1),
|
|
145
147
|
title: "First page",
|
|
@@ -150,36 +152,36 @@ function ue(c) {
|
|
|
150
152
|
}
|
|
151
153
|
});
|
|
152
154
|
}
|
|
153
|
-
}), a),
|
|
155
|
+
}), a), s(r, t(f, {
|
|
154
156
|
get disabled() {
|
|
155
|
-
return
|
|
157
|
+
return !L();
|
|
156
158
|
},
|
|
157
159
|
onClick: () => o(e.page - 1),
|
|
158
160
|
title: "Previous page",
|
|
159
161
|
get children() {
|
|
160
|
-
return t(
|
|
162
|
+
return t(A, {
|
|
161
163
|
class: "w-4 h-4"
|
|
162
164
|
});
|
|
163
165
|
}
|
|
164
|
-
}), a),
|
|
166
|
+
}), a), s(a, () => e.page, n), s(a, () => e.totalPages, null), s(r, t(f, {
|
|
165
167
|
get disabled() {
|
|
166
|
-
return !
|
|
168
|
+
return !b();
|
|
167
169
|
},
|
|
168
170
|
onClick: () => o(e.page + 1),
|
|
169
171
|
title: "Next page",
|
|
170
172
|
get children() {
|
|
171
|
-
return t(
|
|
173
|
+
return t(R, {
|
|
172
174
|
class: "w-4 h-4"
|
|
173
175
|
});
|
|
174
176
|
}
|
|
175
|
-
}), null),
|
|
177
|
+
}), null), s(r, t(k, {
|
|
176
178
|
get when() {
|
|
177
179
|
return e.showFirstLast;
|
|
178
180
|
},
|
|
179
181
|
get children() {
|
|
180
|
-
return t(
|
|
182
|
+
return t(f, {
|
|
181
183
|
get disabled() {
|
|
182
|
-
return !
|
|
184
|
+
return !b();
|
|
183
185
|
},
|
|
184
186
|
onClick: () => o(e.totalPages),
|
|
185
187
|
title: "Last page",
|
|
@@ -190,57 +192,57 @@ function ue(c) {
|
|
|
190
192
|
}
|
|
191
193
|
});
|
|
192
194
|
}
|
|
193
|
-
}), null), g(() =>
|
|
195
|
+
}), null), g(() => w(a, p("text-muted-foreground px-3 tabular-nums", h().text))), r;
|
|
194
196
|
}
|
|
195
197
|
}), t(N, {
|
|
196
198
|
get when() {
|
|
197
|
-
return
|
|
199
|
+
return $() === "default";
|
|
198
200
|
},
|
|
199
201
|
get children() {
|
|
200
202
|
var r = re(), a = r.firstChild;
|
|
201
203
|
return M(r, I({
|
|
202
204
|
get class() {
|
|
203
|
-
return
|
|
205
|
+
return p("flex items-center gap-4", e.class);
|
|
204
206
|
}
|
|
205
|
-
},
|
|
207
|
+
}, m), !1, !0), s(r, t(k, {
|
|
206
208
|
get when() {
|
|
207
209
|
return e.totalItems !== void 0;
|
|
208
210
|
},
|
|
209
211
|
get children() {
|
|
210
|
-
var n = Z(),
|
|
211
|
-
return
|
|
212
|
+
var n = Z(), i = n.firstChild;
|
|
213
|
+
return s(n, () => e.totalItems, i), g(() => w(n, p("text-muted-foreground", h().text))), n;
|
|
212
214
|
}
|
|
213
|
-
}), a),
|
|
215
|
+
}), a), s(r, t(k, {
|
|
214
216
|
get when() {
|
|
215
217
|
return J(() => !!e.showPageSize)() && e.pageSizes;
|
|
216
218
|
},
|
|
217
219
|
get children() {
|
|
218
|
-
var n = ee(),
|
|
219
|
-
return d.addEventListener("change", (l) => e.onPageSizeChange?.(parseInt(l.target.value, 10))),
|
|
220
|
+
var n = ee(), i = n.firstChild, d = i.nextSibling;
|
|
221
|
+
return d.addEventListener("change", (l) => e.onPageSizeChange?.(parseInt(l.target.value, 10))), s(d, t(E, {
|
|
220
222
|
get each() {
|
|
221
223
|
return e.pageSizes;
|
|
222
224
|
},
|
|
223
225
|
children: (l) => (() => {
|
|
224
|
-
var
|
|
225
|
-
return
|
|
226
|
+
var v = ne();
|
|
227
|
+
return v.value = l, s(v, l), v;
|
|
226
228
|
})()
|
|
227
229
|
})), g((l) => {
|
|
228
|
-
var
|
|
229
|
-
return
|
|
230
|
+
var v = p("text-muted-foreground", h().text), C = e.disabled, _ = p("rounded-md border border-border bg-background px-2 focus:outline-none", h().input, e.disabled && "opacity-50 cursor-not-allowed");
|
|
231
|
+
return v !== l.e && w(i, l.e = v), C !== l.t && (d.disabled = l.t = C), _ !== l.a && w(d, l.a = _), l;
|
|
230
232
|
}, {
|
|
231
233
|
e: void 0,
|
|
232
234
|
t: void 0,
|
|
233
235
|
a: void 0
|
|
234
236
|
}), g(() => d.value = e.pageSize), n;
|
|
235
237
|
}
|
|
236
|
-
}), a),
|
|
238
|
+
}), a), s(a, t(k, {
|
|
237
239
|
get when() {
|
|
238
240
|
return e.showFirstLast;
|
|
239
241
|
},
|
|
240
242
|
get children() {
|
|
241
|
-
return t(
|
|
243
|
+
return t(f, {
|
|
242
244
|
get disabled() {
|
|
243
|
-
return
|
|
245
|
+
return !L();
|
|
244
246
|
},
|
|
245
247
|
onClick: () => o(1),
|
|
246
248
|
title: "First page",
|
|
@@ -251,27 +253,27 @@ function ue(c) {
|
|
|
251
253
|
}
|
|
252
254
|
});
|
|
253
255
|
}
|
|
254
|
-
}), null),
|
|
256
|
+
}), null), s(a, t(f, {
|
|
255
257
|
get disabled() {
|
|
256
|
-
return
|
|
258
|
+
return !L();
|
|
257
259
|
},
|
|
258
260
|
onClick: () => o(e.page - 1),
|
|
259
261
|
title: "Previous page",
|
|
260
262
|
get children() {
|
|
261
|
-
return t(
|
|
263
|
+
return t(A, {
|
|
262
264
|
class: "w-4 h-4"
|
|
263
265
|
});
|
|
264
266
|
}
|
|
265
|
-
}), null),
|
|
267
|
+
}), null), s(a, t(E, {
|
|
266
268
|
get each() {
|
|
267
269
|
return z();
|
|
268
270
|
},
|
|
269
271
|
children: (n) => n === "ellipsis" ? (() => {
|
|
270
|
-
var
|
|
271
|
-
return i
|
|
272
|
+
var i = le();
|
|
273
|
+
return s(i, t(ie, {
|
|
272
274
|
class: "w-4 h-4"
|
|
273
|
-
})), g(() =>
|
|
274
|
-
})() : t(
|
|
275
|
+
})), g(() => w(i, p("px-2 text-muted-foreground", h().text))), i;
|
|
276
|
+
})() : t(f, {
|
|
275
277
|
page: n,
|
|
276
278
|
get isActive() {
|
|
277
279
|
return n === e.page;
|
|
@@ -279,25 +281,25 @@ function ue(c) {
|
|
|
279
281
|
onClick: () => o(n),
|
|
280
282
|
children: n
|
|
281
283
|
})
|
|
282
|
-
}), null),
|
|
284
|
+
}), null), s(a, t(f, {
|
|
283
285
|
get disabled() {
|
|
284
|
-
return !
|
|
286
|
+
return !b();
|
|
285
287
|
},
|
|
286
288
|
onClick: () => o(e.page + 1),
|
|
287
289
|
title: "Next page",
|
|
288
290
|
get children() {
|
|
289
|
-
return t(
|
|
291
|
+
return t(R, {
|
|
290
292
|
class: "w-4 h-4"
|
|
291
293
|
});
|
|
292
294
|
}
|
|
293
|
-
}), null),
|
|
295
|
+
}), null), s(a, t(k, {
|
|
294
296
|
get when() {
|
|
295
297
|
return e.showFirstLast;
|
|
296
298
|
},
|
|
297
299
|
get children() {
|
|
298
|
-
return t(
|
|
300
|
+
return t(f, {
|
|
299
301
|
get disabled() {
|
|
300
|
-
return !
|
|
302
|
+
return !b();
|
|
301
303
|
},
|
|
302
304
|
onClick: () => o(e.totalPages),
|
|
303
305
|
title: "Last page",
|
|
@@ -308,15 +310,15 @@ function ue(c) {
|
|
|
308
310
|
}
|
|
309
311
|
});
|
|
310
312
|
}
|
|
311
|
-
}), null),
|
|
313
|
+
}), null), s(r, t(k, {
|
|
312
314
|
get when() {
|
|
313
315
|
return e.showJumpTo;
|
|
314
316
|
},
|
|
315
317
|
get children() {
|
|
316
|
-
var n = te(),
|
|
317
|
-
return d.addEventListener("blur",
|
|
318
|
-
var
|
|
319
|
-
return
|
|
318
|
+
var n = te(), i = n.firstChild, d = i.nextSibling;
|
|
319
|
+
return d.addEventListener("blur", y), d.$$keydown = (l) => l.key === "Enter" && y(l), g((l) => {
|
|
320
|
+
var v = p("text-muted-foreground", h().text), C = e.totalPages, _ = String(e.page), F = e.disabled, B = p("rounded-md border border-border bg-background px-2 text-center", "focus:outline-none", "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none", h().input, e.disabled && "opacity-50 cursor-not-allowed");
|
|
321
|
+
return v !== l.e && w(i, l.e = v), C !== l.t && x(d, "max", l.t = C), _ !== l.a && x(d, "placeholder", l.a = _), F !== l.o && (d.disabled = l.o = F), B !== l.i && w(d, l.i = B), l;
|
|
320
322
|
}, {
|
|
321
323
|
e: void 0,
|
|
322
324
|
t: void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spread as J, mergeProps as K, insert as r, createComponent as t, template as u, setStyleProperty as B, setAttribute as d, memo as q, effect as N, className as T } from "solid-js/web";
|
|
2
2
|
import { splitProps as ee, createSignal as V, createEffect as E, onCleanup as F, Show as p, For as S, createUniqueId as z, createMemo as re } from "solid-js";
|
|
3
3
|
import { cn as D } from "../../utils/cn.js";
|
|
4
|
-
var Q = /* @__PURE__ */ u("<div>"), R = /* @__PURE__ */ u("<span>"), te = /* @__PURE__ */ u('<span class="ml-1.5 font-mono text-[10px] opacity-50">'), le = /* @__PURE__ */ u('<div class="inline-flex items-center gap-2.5"><div class="flex items-end gap-0.5 h-3"></div><span class="text-[11px] text-muted-foreground processing-text-shimmer">'), ie = /* @__PURE__ */ u('<div class="w-0.5 bg-primary rounded-full processing-bar">'), U = /* @__PURE__ */ u('<span class="text-[10px] font-mono text-muted-foreground">'), ne = /* @__PURE__ */ u('<div class="relative inline-flex"><div class="absolute -inset-[1px] rounded-full processing-gradient-border overflow-hidden"><div class="absolute inset-0 processing-gradient-spin"style="background:conic-gradient(from 0deg, var(--primary), transparent, var(--primary))"></div></div><div class="relative inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-background"><div class="relative w-4 h-4">'), ae = /* @__PURE__ */ u('<div class="absolute w-1.5 h-1.5 rounded-full bg-primary processing-orbit-dot">'), L = /* @__PURE__ */ u("<span class=font-mono>"), se = /* @__PURE__ */ u('<p class="text-[10px] text-muted-foreground mt-0.5 truncate">'), ce = /* @__PURE__ */ u('<div class="relative rounded-xl overflow-hidden"><div class="absolute inset-0 rounded-xl processing-card-border"></div><div class="relative m-[1px] rounded-[11px] bg-card/95 backdrop-blur-sm px-4 py-3"><div class="absolute inset-0 processing-shimmer-sweep"></div><div class="relative flex items-center gap-3"><div class="relative w-11 h-11"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 44 44"shape-rendering=geometricPrecision><defs><radialGradient cx=30% cy=30%><stop offset=0% style=stop-color:var(--primary);stop-opacity:0.35></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.04></stop></radialGradient></defs><circle cx=22 cy=22 r=16 class=processing-breathe></circle><circle cx=22 cy=22 r=16 fill=none stroke=var(--primary) stroke-opacity=0.12 stroke-width=1.5></circle><path d="M 22 6 A 16 16 0 0 1 38 22"fill=none stroke=var(--primary) stroke-width=2 stroke-linecap=round stroke-opacity=0.85 class=processing-arc-spin></path><path d="M 22 38 A 16 16 0 0 1 6 22"fill=none stroke=var(--primary) stroke-width=2 stroke-linecap=round stroke-opacity=0.35 class=processing-arc-spin></path></svg><div class="absolute inset-0 flex items-center justify-center"><svg class="w-4 h-4 text-primary processing-icon-morph"viewBox="0 0 24 24"fill=none><path d="M12 2L12 6M12 18L12 22M2 12L6 12M18 12L22 12"stroke=currentColor stroke-width=2 stroke-linecap=round></path><path d="M5.6 5.6L8.5 8.5M15.5 15.5L18.4 18.4M5.6 18.4L8.5 15.5M15.5 8.5L18.4 5.6"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-opacity=0.5></path></svg></div></div><div class="flex-1 min-w-0"><div class="flex items-center gap-2">'), oe = /* @__PURE__ */ u('<span class="text-[10px] text-muted-foreground/70 mt-0.5">'), de = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-8 h-8"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 32 32"><defs><linearGradient x1=0% y1=0% x2=100% y2=100%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1><animate attributeName=stop-opacity values=1;0.5;1 dur=2s repeatCount=indefinite></animate></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.3><animate attributeName=stop-opacity values=0.3;0.8;0.3 dur=2s repeatCount=indefinite></animate></stop></linearGradient></defs><circle cx=16 cy=16 r=14 fill=none stroke-width=1.5 stroke-dasharray="22 66"class=processing-ring-spin></circle><circle cx=16 cy=16 r=8 fill=var(--primary) fill-opacity=0.15 class=processing-morph-circle></circle><circle cx=16 cy=16 r=3 fill=var(--primary) class=processing-breathe></circle></svg></div><div class="flex flex-col"><div class="flex items-baseline gap-2">'), ue = /* @__PURE__ */ u('<div class="absolute w-1 h-1 rounded-full bg-primary processing-particle">'), I = /* @__PURE__ */ u('<span class="text-[10px] text-muted-foreground mt-0.5">'), fe = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><radialGradient cx=30% cy=30%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.6></stop></radialGradient></defs><circle cx=20 cy=20 r=18 fill=none stroke=var(--primary) stroke-width=2.5 stroke-linecap=round stroke-dasharray="28 85"class=processing-aurora-arc-1></circle><circle cx=20 cy=20 r=13 fill=none stroke=var(--primary) stroke-width=2.5 stroke-opacity=0.6 stroke-linecap=round stroke-dasharray="20 62"class=processing-aurora-arc-2></circle><circle cx=20 cy=20 r=8 fill=none stroke=var(--primary) stroke-width=2 stroke-opacity=0.3 stroke-linecap=round stroke-dasharray="12 38"class=processing-aurora-arc-3></circle><circle cx=20 cy=20 r=3 class=processing-aurora-center></circle></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), ge = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><filter><feGaussianBlur stdDeviation=1 result=blur></feGaussianBlur><feMerge><feMergeNode in=blur></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter></defs><g stroke=var(--primary) stroke-opacity=0.3 fill=none></g><g></g><g></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), ve = /* @__PURE__ */ u("<svg><line stroke-width=1></svg>", !1, !0, !1), pe = /* @__PURE__ */ u("<svg><circle r=1.5 fill=var(--primary) class=processing-neural-pulse><animateMotion dur=1.5s repeatCount=indefinite></svg>", !1, !0, !1), he = /* @__PURE__ */ u("<svg><circle fill=var(--primary)></svg>", !1, !0, !1), me = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-12 h-12"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 48 48"><defs><radialGradient><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.4></stop></radialGradient><filter><feGaussianBlur stdDeviation=0.5></feGaussianBlur></filter></defs><circle cx=24 cy=24 r=10 fill=none stroke=var(--primary) stroke-opacity=0.1 stroke-width=1></circle><circle cx=24 cy=24 r=16 fill=none stroke=var(--primary) stroke-opacity=0.08 stroke-width=1></circle><circle cx=24 cy=24 r=22 fill=none stroke=var(--primary) stroke-opacity=0.05 stroke-width=1></circle><circle cx=24 cy=24 r=5 class=processing-breathe></circle><circle cx=24 cy=24 r=3 fill=var(--primary)></circle><g><circle r=2 fill=var(--primary)><animateMotion dur=2s repeatCount=indefinite path="M24,14 A10,10 0 1,1 23.99,14"></animateMotion></circle><circle r=1.5 fill=var(--primary) fill-opacity=0.8><animateMotion dur=3s repeatCount=indefinite path="M24,8 A16,16 0 1,1 23.99,8"begin=0.5s></animateMotion></circle><circle r=1.5 fill=var(--primary) fill-opacity=0.6><animateMotion dur=3s repeatCount=indefinite path="M24,8 A16,16 0 1,1 23.99,8"begin=2s></animateMotion></circle><circle r=1 fill=var(--primary) fill-opacity=0.5><animateMotion dur=4s repeatCount=indefinite path="M24,2 A22,22 0 1,1 23.99,2"begin=1s></animateMotion></circle></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), xe = /* @__PURE__ */ u("<svg><line x1=24 y1=24 stroke=var(--primary) stroke-opacity=0.1 stroke-width=0.5 class=processing-ray></svg>", !1, !0, !1), ye = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), $e = /* @__PURE__ */ u("<svg><rect width=5 height=5 rx=1 fill=var(--primary) class=processing-quantum-dot-wave></svg>", !1, !0, !1), _e = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><circle cx=20 cy=20 r=16 fill=none stroke=var(--primary) stroke-width=1 stroke-opacity=0.15></circle><circle cx=20 cy=20 r=4 fill=var(--primary) class=processing-pulse-center></circle></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), we = /* @__PURE__ */ u("<svg><circle cx=20 cy=20 r=5 fill=none stroke=var(--primary) stroke-width=1.5 class=processing-pulse-ring></svg>", !1, !0, !1), be = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><filter><feGaussianBlur stdDeviation=1.5 result=blur></feGaussianBlur><feMerge><feMergeNode in=blur></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter><radialGradient cx=35% cy=35%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.6></stop></radialGradient></defs><g opacity=0.2></g><g><circle cx=20 cy=20 r=4></circle><circle cx=19 cy=19 r=1.2 fill=var(--primary) opacity=0.8></circle><circle cx=21 cy=20.5 r=1 fill=var(--primary) opacity=0.6></circle><circle cx=19.5 cy=21 r=0.8 fill=var(--primary) opacity=0.5></circle></g><g></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), ke = /* @__PURE__ */ u("<svg><ellipse cx=20 cy=20 fill=none stroke=var(--primary) stroke-width=0.5></svg>", !1, !0, !1), Ce = /* @__PURE__ */ u("<svg><circle r=2 fill=var(--primary) opacity=0.5></svg>", !1, !0, !1), Me = /* @__PURE__ */ u("<svg><circle r=2 fill=var(--primary) opacity=1></svg>", !1, !0, !1), Se = /* @__PURE__ */ u('<div class="w-0.5 bg-primary/60 rounded-full processing-waveform">'), X = /* @__PURE__ */ u('<div class="flex items-center gap-1">'), Ae = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-flow-dot">'), Ge = /* @__PURE__ */ u('<div class="flex items-center gap-0.5">'), Pe = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-neural-dot">'), Be = /* @__PURE__ */ u('<div class="relative w-4 h-4"><div class="absolute inset-0 flex items-center justify-center"><div class="w-1 h-1 rounded-full bg-primary">'), Ne = /* @__PURE__ */ u('<div class="absolute w-0.5 h-0.5 rounded-full bg-primary/70 processing-micro-orbit">'), qe = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-sequential-dot">');
|
|
4
|
+
var Q = /* @__PURE__ */ u("<div>"), R = /* @__PURE__ */ u("<span>"), te = /* @__PURE__ */ u('<span class="ml-1.5 font-mono text-[10px] opacity-50">'), le = /* @__PURE__ */ u('<div class="inline-flex items-center gap-2.5"><div class="flex items-end gap-0.5 h-3"></div><span class="text-[11px] text-muted-foreground processing-text-shimmer">'), ie = /* @__PURE__ */ u('<div class="w-0.5 bg-primary rounded-full processing-bar">'), U = /* @__PURE__ */ u('<span class="text-[10px] font-mono text-muted-foreground">'), ne = /* @__PURE__ */ u('<div class="relative inline-flex"><div class="absolute -inset-[1px] rounded-full processing-gradient-border overflow-hidden"><div class="absolute inset-0 processing-gradient-spin"style="background:conic-gradient(from 0deg, var(--primary), transparent, var(--primary))"></div></div><div data-floe-surface=raised data-floe-surface-part=status class="relative inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-background"><div class="relative w-4 h-4">'), ae = /* @__PURE__ */ u('<div class="absolute w-1.5 h-1.5 rounded-full bg-primary processing-orbit-dot">'), L = /* @__PURE__ */ u("<span class=font-mono>"), se = /* @__PURE__ */ u('<p class="text-[10px] text-muted-foreground mt-0.5 truncate">'), ce = /* @__PURE__ */ u('<div class="relative rounded-xl overflow-hidden"><div class="absolute inset-0 rounded-xl processing-card-border"></div><div data-floe-surface=floating data-floe-surface-part=status class="relative m-[1px] rounded-[11px] bg-card/95 backdrop-blur-sm px-4 py-3"><div class="absolute inset-0 processing-shimmer-sweep"></div><div class="relative flex items-center gap-3"><div class="relative w-11 h-11"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 44 44"shape-rendering=geometricPrecision><defs><radialGradient cx=30% cy=30%><stop offset=0% style=stop-color:var(--primary);stop-opacity:0.35></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.04></stop></radialGradient></defs><circle cx=22 cy=22 r=16 class=processing-breathe></circle><circle cx=22 cy=22 r=16 fill=none stroke=var(--primary) stroke-opacity=0.12 stroke-width=1.5></circle><path d="M 22 6 A 16 16 0 0 1 38 22"fill=none stroke=var(--primary) stroke-width=2 stroke-linecap=round stroke-opacity=0.85 class=processing-arc-spin></path><path d="M 22 38 A 16 16 0 0 1 6 22"fill=none stroke=var(--primary) stroke-width=2 stroke-linecap=round stroke-opacity=0.35 class=processing-arc-spin></path></svg><div class="absolute inset-0 flex items-center justify-center"><svg class="w-4 h-4 text-primary processing-icon-morph"viewBox="0 0 24 24"fill=none><path d="M12 2L12 6M12 18L12 22M2 12L6 12M18 12L22 12"stroke=currentColor stroke-width=2 stroke-linecap=round></path><path d="M5.6 5.6L8.5 8.5M15.5 15.5L18.4 18.4M5.6 18.4L8.5 15.5M15.5 8.5L18.4 5.6"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-opacity=0.5></path></svg></div></div><div class="flex-1 min-w-0"><div class="flex items-center gap-2">'), oe = /* @__PURE__ */ u('<span class="text-[10px] text-muted-foreground/70 mt-0.5">'), de = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-8 h-8"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 32 32"><defs><linearGradient x1=0% y1=0% x2=100% y2=100%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1><animate attributeName=stop-opacity values=1;0.5;1 dur=2s repeatCount=indefinite></animate></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.3><animate attributeName=stop-opacity values=0.3;0.8;0.3 dur=2s repeatCount=indefinite></animate></stop></linearGradient></defs><circle cx=16 cy=16 r=14 fill=none stroke-width=1.5 stroke-dasharray="22 66"class=processing-ring-spin></circle><circle cx=16 cy=16 r=8 fill=var(--primary) fill-opacity=0.15 class=processing-morph-circle></circle><circle cx=16 cy=16 r=3 fill=var(--primary) class=processing-breathe></circle></svg></div><div class="flex flex-col"><div class="flex items-baseline gap-2">'), ue = /* @__PURE__ */ u('<div class="absolute w-1 h-1 rounded-full bg-primary processing-particle">'), I = /* @__PURE__ */ u('<span class="text-[10px] text-muted-foreground mt-0.5">'), fe = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><radialGradient cx=30% cy=30%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.6></stop></radialGradient></defs><circle cx=20 cy=20 r=18 fill=none stroke=var(--primary) stroke-width=2.5 stroke-linecap=round stroke-dasharray="28 85"class=processing-aurora-arc-1></circle><circle cx=20 cy=20 r=13 fill=none stroke=var(--primary) stroke-width=2.5 stroke-opacity=0.6 stroke-linecap=round stroke-dasharray="20 62"class=processing-aurora-arc-2></circle><circle cx=20 cy=20 r=8 fill=none stroke=var(--primary) stroke-width=2 stroke-opacity=0.3 stroke-linecap=round stroke-dasharray="12 38"class=processing-aurora-arc-3></circle><circle cx=20 cy=20 r=3 class=processing-aurora-center></circle></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), ge = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><filter><feGaussianBlur stdDeviation=1 result=blur></feGaussianBlur><feMerge><feMergeNode in=blur></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter></defs><g stroke=var(--primary) stroke-opacity=0.3 fill=none></g><g></g><g></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), ve = /* @__PURE__ */ u("<svg><line stroke-width=1></svg>", !1, !0, !1), pe = /* @__PURE__ */ u("<svg><circle r=1.5 fill=var(--primary) class=processing-neural-pulse><animateMotion dur=1.5s repeatCount=indefinite></svg>", !1, !0, !1), he = /* @__PURE__ */ u("<svg><circle fill=var(--primary)></svg>", !1, !0, !1), me = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-12 h-12"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 48 48"><defs><radialGradient><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.4></stop></radialGradient><filter><feGaussianBlur stdDeviation=0.5></feGaussianBlur></filter></defs><circle cx=24 cy=24 r=10 fill=none stroke=var(--primary) stroke-opacity=0.1 stroke-width=1></circle><circle cx=24 cy=24 r=16 fill=none stroke=var(--primary) stroke-opacity=0.08 stroke-width=1></circle><circle cx=24 cy=24 r=22 fill=none stroke=var(--primary) stroke-opacity=0.05 stroke-width=1></circle><circle cx=24 cy=24 r=5 class=processing-breathe></circle><circle cx=24 cy=24 r=3 fill=var(--primary)></circle><g><circle r=2 fill=var(--primary)><animateMotion dur=2s repeatCount=indefinite path="M24,14 A10,10 0 1,1 23.99,14"></animateMotion></circle><circle r=1.5 fill=var(--primary) fill-opacity=0.8><animateMotion dur=3s repeatCount=indefinite path="M24,8 A16,16 0 1,1 23.99,8"begin=0.5s></animateMotion></circle><circle r=1.5 fill=var(--primary) fill-opacity=0.6><animateMotion dur=3s repeatCount=indefinite path="M24,8 A16,16 0 1,1 23.99,8"begin=2s></animateMotion></circle><circle r=1 fill=var(--primary) fill-opacity=0.5><animateMotion dur=4s repeatCount=indefinite path="M24,2 A22,22 0 1,1 23.99,2"begin=1s></animateMotion></circle></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), xe = /* @__PURE__ */ u("<svg><line x1=24 y1=24 stroke=var(--primary) stroke-opacity=0.1 stroke-width=0.5 class=processing-ray></svg>", !1, !0, !1), ye = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), $e = /* @__PURE__ */ u("<svg><rect width=5 height=5 rx=1 fill=var(--primary) class=processing-quantum-dot-wave></svg>", !1, !0, !1), _e = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><circle cx=20 cy=20 r=16 fill=none stroke=var(--primary) stroke-width=1 stroke-opacity=0.15></circle><circle cx=20 cy=20 r=4 fill=var(--primary) class=processing-pulse-center></circle></svg></div><div class="flex flex-col"><div class="flex items-center gap-2"><span class="text-xs font-medium text-foreground">'), we = /* @__PURE__ */ u("<svg><circle cx=20 cy=20 r=5 fill=none stroke=var(--primary) stroke-width=1.5 class=processing-pulse-ring></svg>", !1, !0, !1), be = /* @__PURE__ */ u('<div class="flex items-center gap-4"><div class="relative w-10 h-10"><svg class="absolute inset-0 w-full h-full"viewBox="0 0 40 40"><defs><filter><feGaussianBlur stdDeviation=1.5 result=blur></feGaussianBlur><feMerge><feMergeNode in=blur></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter><radialGradient cx=35% cy=35%><stop offset=0% style=stop-color:var(--primary);stop-opacity:1></stop><stop offset=100% style=stop-color:var(--primary);stop-opacity:0.6></stop></radialGradient></defs><g opacity=0.2></g><g><circle cx=20 cy=20 r=4></circle><circle cx=19 cy=19 r=1.2 fill=var(--primary) opacity=0.8></circle><circle cx=21 cy=20.5 r=1 fill=var(--primary) opacity=0.6></circle><circle cx=19.5 cy=21 r=0.8 fill=var(--primary) opacity=0.5></circle></g><g></g></svg></div><div class="flex flex-col"><div class="flex items-center gap-2">'), ke = /* @__PURE__ */ u("<svg><ellipse cx=20 cy=20 fill=none stroke=var(--primary) stroke-width=0.5></svg>", !1, !0, !1), Ce = /* @__PURE__ */ u("<svg><circle r=2 fill=var(--primary) opacity=0.5></svg>", !1, !0, !1), Me = /* @__PURE__ */ u("<svg><circle r=2 fill=var(--primary) opacity=1></svg>", !1, !0, !1), Se = /* @__PURE__ */ u('<div class="w-0.5 bg-primary/60 rounded-full processing-waveform">'), X = /* @__PURE__ */ u('<div class="flex items-center gap-1">'), Ae = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-flow-dot">'), Ge = /* @__PURE__ */ u('<div class="flex items-center gap-0.5">'), Pe = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-neural-dot">'), Be = /* @__PURE__ */ u('<div class="relative w-4 h-4"><div class="absolute inset-0 flex items-center justify-center"><div class="w-1 h-1 rounded-full bg-primary">'), Ne = /* @__PURE__ */ u('<div class="absolute w-0.5 h-0.5 rounded-full bg-primary/70 processing-micro-orbit">'), qe = /* @__PURE__ */ u('<div class="w-1 h-1 rounded-full bg-primary processing-sequential-dot">');
|
|
5
5
|
const W = {
|
|
6
6
|
thinking: "Thinking",
|
|
7
7
|
working: "Working",
|