@aku11i/phantom 6.2.0-0 → 6.3.0-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.
@@ -0,0 +1,41 @@
1
+ //#region ../../node_modules/.pnpm/hookable@6.1.0/node_modules/hookable/dist/index.mjs
2
+ function callHooks(hooks, args, startIndex, task) {
3
+ for (let i = startIndex; i < hooks.length; i += 1) try {
4
+ const result = task ? task.run(() => hooks[i](...args)) : hooks[i](...args);
5
+ if (result instanceof Promise) return result.then(() => callHooks(hooks, args, i + 1, task));
6
+ } catch (error) {
7
+ return Promise.reject(error);
8
+ }
9
+ }
10
+ var HookableCore = class {
11
+ _hooks;
12
+ constructor() {
13
+ this._hooks = {};
14
+ }
15
+ hook(name, fn) {
16
+ if (!name || typeof fn !== "function") return () => {};
17
+ this._hooks[name] = this._hooks[name] || [];
18
+ this._hooks[name].push(fn);
19
+ return () => {
20
+ if (fn) {
21
+ this.removeHook(name, fn);
22
+ fn = void 0;
23
+ }
24
+ };
25
+ }
26
+ removeHook(name, function_) {
27
+ const hooks = this._hooks[name];
28
+ if (hooks) {
29
+ const index = hooks.indexOf(function_);
30
+ if (index !== -1) hooks.splice(index, 1);
31
+ if (hooks.length === 0) this._hooks[name] = void 0;
32
+ }
33
+ }
34
+ callHook(name, ...args) {
35
+ const hooks = this._hooks[name];
36
+ if (!hooks || hooks.length === 0) return;
37
+ return callHooks(hooks, args, 0);
38
+ }
39
+ };
40
+ //#endregion
41
+ export { HookableCore as t };
@@ -0,0 +1,351 @@
1
+ import { r as __toESM } from "../_runtime.mjs";
2
+ import { d as require_react } from "./@tanstack/react-router+[...].mjs";
3
+ //#region ../../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.5/node_modules/lucide-react/dist/esm/shared/src/utils.js
4
+ var import_react = /* @__PURE__ */ __toESM(require_react());
5
+ /**
6
+ * @license lucide-react v0.523.0 - ISC
7
+ *
8
+ * This source code is licensed under the ISC license.
9
+ * See the LICENSE file in the root directory of this source tree.
10
+ */
11
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
12
+ var toCamelCase = (string) => string.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase());
13
+ var toPascalCase = (string) => {
14
+ const camelCase = toCamelCase(string);
15
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
16
+ };
17
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
18
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
19
+ }).join(" ").trim();
20
+ var hasA11yProp = (props) => {
21
+ for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
22
+ };
23
+ //#endregion
24
+ //#region ../../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.5/node_modules/lucide-react/dist/esm/defaultAttributes.js
25
+ /**
26
+ * @license lucide-react v0.523.0 - ISC
27
+ *
28
+ * This source code is licensed under the ISC license.
29
+ * See the LICENSE file in the root directory of this source tree.
30
+ */
31
+ var defaultAttributes = {
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ width: 24,
34
+ height: 24,
35
+ viewBox: "0 0 24 24",
36
+ fill: "none",
37
+ stroke: "currentColor",
38
+ strokeWidth: 2,
39
+ strokeLinecap: "round",
40
+ strokeLinejoin: "round"
41
+ };
42
+ //#endregion
43
+ //#region ../../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.5/node_modules/lucide-react/dist/esm/Icon.js
44
+ /**
45
+ * @license lucide-react v0.523.0 - ISC
46
+ *
47
+ * This source code is licensed under the ISC license.
48
+ * See the LICENSE file in the root directory of this source tree.
49
+ */
50
+ var Icon = (0, import_react.forwardRef)(({ color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => (0, import_react.createElement)("svg", {
51
+ ref,
52
+ ...defaultAttributes,
53
+ width: size,
54
+ height: size,
55
+ stroke: color,
56
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
57
+ className: mergeClasses("lucide", className),
58
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
59
+ ...rest
60
+ }, [...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)), ...Array.isArray(children) ? children : [children]]));
61
+ //#endregion
62
+ //#region ../../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.5/node_modules/lucide-react/dist/esm/createLucideIcon.js
63
+ /**
64
+ * @license lucide-react v0.523.0 - ISC
65
+ *
66
+ * This source code is licensed under the ISC license.
67
+ * See the LICENSE file in the root directory of this source tree.
68
+ */
69
+ var createLucideIcon = (iconName, iconNode) => {
70
+ const Component = (0, import_react.forwardRef)(({ className, ...props }, ref) => (0, import_react.createElement)(Icon, {
71
+ ref,
72
+ iconNode,
73
+ className: mergeClasses(`lucide-${toKebabCase(toPascalCase(iconName))}`, `lucide-${iconName}`, className),
74
+ ...props
75
+ }));
76
+ Component.displayName = toPascalCase(iconName);
77
+ return Component;
78
+ };
79
+ var Bot = createLucideIcon("bot", [
80
+ ["path", {
81
+ d: "M12 8V4H8",
82
+ key: "hb8ula"
83
+ }],
84
+ ["rect", {
85
+ width: "16",
86
+ height: "12",
87
+ x: "4",
88
+ y: "8",
89
+ rx: "2",
90
+ key: "enze0r"
91
+ }],
92
+ ["path", {
93
+ d: "M2 14h2",
94
+ key: "vft8re"
95
+ }],
96
+ ["path", {
97
+ d: "M20 14h2",
98
+ key: "4cs60a"
99
+ }],
100
+ ["path", {
101
+ d: "M15 13v2",
102
+ key: "1xurst"
103
+ }],
104
+ ["path", {
105
+ d: "M9 13v2",
106
+ key: "rq6x2g"
107
+ }]
108
+ ]);
109
+ var Brain = createLucideIcon("brain", [
110
+ ["path", {
111
+ d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",
112
+ key: "l5xja"
113
+ }],
114
+ ["path", {
115
+ d: "M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",
116
+ key: "ep3f8r"
117
+ }],
118
+ ["path", {
119
+ d: "M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",
120
+ key: "1p4c4q"
121
+ }],
122
+ ["path", {
123
+ d: "M17.599 6.5a3 3 0 0 0 .399-1.375",
124
+ key: "tmeiqw"
125
+ }],
126
+ ["path", {
127
+ d: "M6.003 5.125A3 3 0 0 0 6.401 6.5",
128
+ key: "105sqy"
129
+ }],
130
+ ["path", {
131
+ d: "M3.477 10.896a4 4 0 0 1 .585-.396",
132
+ key: "ql3yin"
133
+ }],
134
+ ["path", {
135
+ d: "M19.938 10.5a4 4 0 0 1 .585.396",
136
+ key: "1qfode"
137
+ }],
138
+ ["path", {
139
+ d: "M6 18a4 4 0 0 1-1.967-.516",
140
+ key: "2e4loj"
141
+ }],
142
+ ["path", {
143
+ d: "M19.967 17.484A4 4 0 0 1 18 18",
144
+ key: "159ez6"
145
+ }]
146
+ ]);
147
+ var Check = createLucideIcon("check", [["path", {
148
+ d: "M20 6 9 17l-5-5",
149
+ key: "1gmf2c"
150
+ }]]);
151
+ var ChevronRight = createLucideIcon("chevron-right", [["path", {
152
+ d: "m9 18 6-6-6-6",
153
+ key: "mthhwq"
154
+ }]]);
155
+ var ChevronsUpDown = createLucideIcon("chevrons-up-down", [["path", {
156
+ d: "m7 15 5 5 5-5",
157
+ key: "1hf1tw"
158
+ }], ["path", {
159
+ d: "m7 9 5-5 5 5",
160
+ key: "sgt6xg"
161
+ }]]);
162
+ var Clock3 = createLucideIcon("clock-3", [["circle", {
163
+ cx: "12",
164
+ cy: "12",
165
+ r: "10",
166
+ key: "1mglay"
167
+ }], ["polyline", {
168
+ points: "12 6 12 12 16.5 12",
169
+ key: "1aq6pp"
170
+ }]]);
171
+ var FileText = createLucideIcon("file-text", [
172
+ ["path", {
173
+ d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
174
+ key: "1rqfz7"
175
+ }],
176
+ ["path", {
177
+ d: "M14 2v4a2 2 0 0 0 2 2h4",
178
+ key: "tnqrlb"
179
+ }],
180
+ ["path", {
181
+ d: "M10 9H8",
182
+ key: "b1mrlr"
183
+ }],
184
+ ["path", {
185
+ d: "M16 13H8",
186
+ key: "t4e002"
187
+ }],
188
+ ["path", {
189
+ d: "M16 17H8",
190
+ key: "z1uh3a"
191
+ }]
192
+ ]);
193
+ var FolderGit2 = createLucideIcon("folder-git-2", [
194
+ ["path", {
195
+ d: "M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",
196
+ key: "1w6njk"
197
+ }],
198
+ ["circle", {
199
+ cx: "13",
200
+ cy: "12",
201
+ r: "2",
202
+ key: "1j92g6"
203
+ }],
204
+ ["path", {
205
+ d: "M18 19c-2.8 0-5-2.2-5-5v8",
206
+ key: "pkpw2h"
207
+ }],
208
+ ["circle", {
209
+ cx: "20",
210
+ cy: "19",
211
+ r: "2",
212
+ key: "1obnsp"
213
+ }]
214
+ ]);
215
+ var GitBranch = createLucideIcon("git-branch", [
216
+ ["line", {
217
+ x1: "6",
218
+ x2: "6",
219
+ y1: "3",
220
+ y2: "15",
221
+ key: "17qcm7"
222
+ }],
223
+ ["circle", {
224
+ cx: "18",
225
+ cy: "6",
226
+ r: "3",
227
+ key: "1h7g24"
228
+ }],
229
+ ["circle", {
230
+ cx: "6",
231
+ cy: "18",
232
+ r: "3",
233
+ key: "fqmcym"
234
+ }],
235
+ ["path", {
236
+ d: "M18 9a9 9 0 0 1-9 9",
237
+ key: "n2h4wq"
238
+ }]
239
+ ]);
240
+ var Inbox = createLucideIcon("inbox", [["polyline", {
241
+ points: "22 12 16 12 14 15 10 15 8 12 2 12",
242
+ key: "o97t9d"
243
+ }], ["path", {
244
+ d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
245
+ key: "oot6mr"
246
+ }]]);
247
+ var MessageSquarePlus = createLucideIcon("message-square-plus", [
248
+ ["path", {
249
+ d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",
250
+ key: "1lielz"
251
+ }],
252
+ ["path", {
253
+ d: "M12 7v6",
254
+ key: "lw1j43"
255
+ }],
256
+ ["path", {
257
+ d: "M9 10h6",
258
+ key: "9gxzsh"
259
+ }]
260
+ ]);
261
+ var MessageSquare = createLucideIcon("message-square", [["path", {
262
+ d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",
263
+ key: "1lielz"
264
+ }]]);
265
+ var PanelLeft = createLucideIcon("panel-left", [["rect", {
266
+ width: "18",
267
+ height: "18",
268
+ x: "3",
269
+ y: "3",
270
+ rx: "2",
271
+ key: "afitv7"
272
+ }], ["path", {
273
+ d: "M9 3v18",
274
+ key: "fh3hqa"
275
+ }]]);
276
+ var Plus = createLucideIcon("plus", [["path", {
277
+ d: "M5 12h14",
278
+ key: "1ays0h"
279
+ }], ["path", {
280
+ d: "M12 5v14",
281
+ key: "s699le"
282
+ }]]);
283
+ var Search = createLucideIcon("search", [["path", {
284
+ d: "m21 21-4.34-4.34",
285
+ key: "14j7rj"
286
+ }], ["circle", {
287
+ cx: "11",
288
+ cy: "11",
289
+ r: "8",
290
+ key: "4ej97u"
291
+ }]]);
292
+ var Send = createLucideIcon("send", [["path", {
293
+ d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
294
+ key: "1ffxy3"
295
+ }], ["path", {
296
+ d: "m21.854 2.147-10.94 10.939",
297
+ key: "12cjpa"
298
+ }]]);
299
+ var Sparkles = createLucideIcon("sparkles", [
300
+ ["path", {
301
+ d: "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",
302
+ key: "4pj2yx"
303
+ }],
304
+ ["path", {
305
+ d: "M20 3v4",
306
+ key: "1olli1"
307
+ }],
308
+ ["path", {
309
+ d: "M22 5h-4",
310
+ key: "1gvqau"
311
+ }],
312
+ ["path", {
313
+ d: "M4 17v2",
314
+ key: "vumght"
315
+ }],
316
+ ["path", {
317
+ d: "M5 18H3",
318
+ key: "zchphs"
319
+ }]
320
+ ]);
321
+ var Square = createLucideIcon("square", [["rect", {
322
+ width: "18",
323
+ height: "18",
324
+ x: "3",
325
+ y: "3",
326
+ rx: "2",
327
+ key: "afitv7"
328
+ }]]);
329
+ var TriangleAlert = createLucideIcon("triangle-alert", [
330
+ ["path", {
331
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
332
+ key: "wmoenq"
333
+ }],
334
+ ["path", {
335
+ d: "M12 9v4",
336
+ key: "juzpu7"
337
+ }],
338
+ ["path", {
339
+ d: "M12 17h.01",
340
+ key: "p32p05"
341
+ }]
342
+ ]);
343
+ var X = createLucideIcon("x", [["path", {
344
+ d: "M18 6 6 18",
345
+ key: "1bl5f8"
346
+ }], ["path", {
347
+ d: "m6 6 12 12",
348
+ key: "d8bk6v"
349
+ }]]);
350
+ //#endregion
351
+ export { ChevronRight as _, Send as a, Bot as b, PanelLeft as c, Inbox as d, GitBranch as f, ChevronsUpDown as g, Clock3 as h, Sparkles as i, MessageSquare as l, FileText as m, TriangleAlert as n, Search as o, FolderGit2 as p, Square as r, Plus as s, X as t, MessageSquarePlus as u, Check as v, Brain as y };