@industry-theme/alexandria-panels 0.3.2 → 0.3.4
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/panels.bundle.js
CHANGED
|
@@ -143,7 +143,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
143
143
|
* This source code is licensed under the ISC license.
|
|
144
144
|
* See the LICENSE file in the root directory of this source tree.
|
|
145
145
|
*/
|
|
146
|
-
const __iconNode$
|
|
146
|
+
const __iconNode$x = [
|
|
147
147
|
["path", { d: "M10 12h4", key: "a56b0p" }],
|
|
148
148
|
["path", { d: "M10 8h4", key: "1sr2af" }],
|
|
149
149
|
["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
|
|
@@ -156,71 +156,71 @@ const __iconNode$w = [
|
|
|
156
156
|
],
|
|
157
157
|
["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
|
|
158
158
|
];
|
|
159
|
-
const Building2 = createLucideIcon("building-2", __iconNode$
|
|
159
|
+
const Building2 = createLucideIcon("building-2", __iconNode$x);
|
|
160
160
|
/**
|
|
161
161
|
* @license lucide-react v0.552.0 - ISC
|
|
162
162
|
*
|
|
163
163
|
* This source code is licensed under the ISC license.
|
|
164
164
|
* See the LICENSE file in the root directory of this source tree.
|
|
165
165
|
*/
|
|
166
|
-
const __iconNode$
|
|
166
|
+
const __iconNode$w = [
|
|
167
167
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
168
168
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
169
169
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
170
170
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
171
171
|
];
|
|
172
|
-
const Calendar = createLucideIcon("calendar", __iconNode$
|
|
172
|
+
const Calendar = createLucideIcon("calendar", __iconNode$w);
|
|
173
173
|
/**
|
|
174
174
|
* @license lucide-react v0.552.0 - ISC
|
|
175
175
|
*
|
|
176
176
|
* This source code is licensed under the ISC license.
|
|
177
177
|
* See the LICENSE file in the root directory of this source tree.
|
|
178
178
|
*/
|
|
179
|
-
const __iconNode$
|
|
180
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
179
|
+
const __iconNode$v = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
180
|
+
const Check = createLucideIcon("check", __iconNode$v);
|
|
181
181
|
/**
|
|
182
182
|
* @license lucide-react v0.552.0 - ISC
|
|
183
183
|
*
|
|
184
184
|
* This source code is licensed under the ISC license.
|
|
185
185
|
* See the LICENSE file in the root directory of this source tree.
|
|
186
186
|
*/
|
|
187
|
-
const __iconNode$
|
|
188
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
187
|
+
const __iconNode$u = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
188
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$u);
|
|
189
189
|
/**
|
|
190
190
|
* @license lucide-react v0.552.0 - ISC
|
|
191
191
|
*
|
|
192
192
|
* This source code is licensed under the ISC license.
|
|
193
193
|
* See the LICENSE file in the root directory of this source tree.
|
|
194
194
|
*/
|
|
195
|
-
const __iconNode$
|
|
196
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
195
|
+
const __iconNode$t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
196
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$t);
|
|
197
197
|
/**
|
|
198
198
|
* @license lucide-react v0.552.0 - ISC
|
|
199
199
|
*
|
|
200
200
|
* This source code is licensed under the ISC license.
|
|
201
201
|
* See the LICENSE file in the root directory of this source tree.
|
|
202
202
|
*/
|
|
203
|
-
const __iconNode$
|
|
203
|
+
const __iconNode$s = [
|
|
204
204
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
205
205
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
206
206
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
207
207
|
];
|
|
208
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
208
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$s);
|
|
209
209
|
/**
|
|
210
210
|
* @license lucide-react v0.552.0 - ISC
|
|
211
211
|
*
|
|
212
212
|
* This source code is licensed under the ISC license.
|
|
213
213
|
* See the LICENSE file in the root directory of this source tree.
|
|
214
214
|
*/
|
|
215
|
-
const __iconNode$
|
|
216
|
-
const Circle = createLucideIcon("circle", __iconNode$
|
|
215
|
+
const __iconNode$r = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
216
|
+
const Circle = createLucideIcon("circle", __iconNode$r);
|
|
217
217
|
/**
|
|
218
218
|
* @license lucide-react v0.552.0 - ISC
|
|
219
219
|
*
|
|
220
220
|
* This source code is licensed under the ISC license.
|
|
221
221
|
* See the LICENSE file in the root directory of this source tree.
|
|
222
222
|
*/
|
|
223
|
-
const __iconNode$
|
|
223
|
+
const __iconNode$q = [
|
|
224
224
|
["path", { d: "m2 2 20 20", key: "1ooewy" }],
|
|
225
225
|
["path", { d: "M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193", key: "yfwify" }],
|
|
226
226
|
[
|
|
@@ -228,59 +228,59 @@ const __iconNode$p = [
|
|
|
228
228
|
{ d: "M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07", key: "jlfiyv" }
|
|
229
229
|
]
|
|
230
230
|
];
|
|
231
|
-
const CloudOff = createLucideIcon("cloud-off", __iconNode$
|
|
231
|
+
const CloudOff = createLucideIcon("cloud-off", __iconNode$q);
|
|
232
232
|
/**
|
|
233
233
|
* @license lucide-react v0.552.0 - ISC
|
|
234
234
|
*
|
|
235
235
|
* This source code is licensed under the ISC license.
|
|
236
236
|
* See the LICENSE file in the root directory of this source tree.
|
|
237
237
|
*/
|
|
238
|
-
const __iconNode$
|
|
238
|
+
const __iconNode$p = [
|
|
239
239
|
["path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z", key: "p7xjir" }]
|
|
240
240
|
];
|
|
241
|
-
const Cloud = createLucideIcon("cloud", __iconNode$
|
|
241
|
+
const Cloud = createLucideIcon("cloud", __iconNode$p);
|
|
242
242
|
/**
|
|
243
243
|
* @license lucide-react v0.552.0 - ISC
|
|
244
244
|
*
|
|
245
245
|
* This source code is licensed under the ISC license.
|
|
246
246
|
* See the LICENSE file in the root directory of this source tree.
|
|
247
247
|
*/
|
|
248
|
-
const __iconNode$
|
|
248
|
+
const __iconNode$o = [
|
|
249
249
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
250
250
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
251
251
|
];
|
|
252
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
252
|
+
const Copy = createLucideIcon("copy", __iconNode$o);
|
|
253
253
|
/**
|
|
254
254
|
* @license lucide-react v0.552.0 - ISC
|
|
255
255
|
*
|
|
256
256
|
* This source code is licensed under the ISC license.
|
|
257
257
|
* See the LICENSE file in the root directory of this source tree.
|
|
258
258
|
*/
|
|
259
|
-
const __iconNode$
|
|
259
|
+
const __iconNode$n = [
|
|
260
260
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
261
261
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
262
262
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
263
263
|
];
|
|
264
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
264
|
+
const Download = createLucideIcon("download", __iconNode$n);
|
|
265
265
|
/**
|
|
266
266
|
* @license lucide-react v0.552.0 - ISC
|
|
267
267
|
*
|
|
268
268
|
* This source code is licensed under the ISC license.
|
|
269
269
|
* See the LICENSE file in the root directory of this source tree.
|
|
270
270
|
*/
|
|
271
|
-
const __iconNode$
|
|
271
|
+
const __iconNode$m = [
|
|
272
272
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
273
273
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
274
274
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
275
275
|
];
|
|
276
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
276
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$m);
|
|
277
277
|
/**
|
|
278
278
|
* @license lucide-react v0.552.0 - ISC
|
|
279
279
|
*
|
|
280
280
|
* This source code is licensed under the ISC license.
|
|
281
281
|
* See the LICENSE file in the root directory of this source tree.
|
|
282
282
|
*/
|
|
283
|
-
const __iconNode$
|
|
283
|
+
const __iconNode$l = [
|
|
284
284
|
[
|
|
285
285
|
"path",
|
|
286
286
|
{
|
|
@@ -292,14 +292,14 @@ const __iconNode$k = [
|
|
|
292
292
|
["path", { d: "M18 19c-2.8 0-5-2.2-5-5v8", key: "pkpw2h" }],
|
|
293
293
|
["circle", { cx: "20", cy: "19", r: "2", key: "1obnsp" }]
|
|
294
294
|
];
|
|
295
|
-
const FolderGit2 = createLucideIcon("folder-git-2", __iconNode$
|
|
295
|
+
const FolderGit2 = createLucideIcon("folder-git-2", __iconNode$l);
|
|
296
296
|
/**
|
|
297
297
|
* @license lucide-react v0.552.0 - ISC
|
|
298
298
|
*
|
|
299
299
|
* This source code is licensed under the ISC license.
|
|
300
300
|
* See the LICENSE file in the root directory of this source tree.
|
|
301
301
|
*/
|
|
302
|
-
const __iconNode$
|
|
302
|
+
const __iconNode$k = [
|
|
303
303
|
[
|
|
304
304
|
"path",
|
|
305
305
|
{
|
|
@@ -308,14 +308,14 @@ const __iconNode$j = [
|
|
|
308
308
|
}
|
|
309
309
|
]
|
|
310
310
|
];
|
|
311
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
311
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$k);
|
|
312
312
|
/**
|
|
313
313
|
* @license lucide-react v0.552.0 - ISC
|
|
314
314
|
*
|
|
315
315
|
* This source code is licensed under the ISC license.
|
|
316
316
|
* See the LICENSE file in the root directory of this source tree.
|
|
317
317
|
*/
|
|
318
|
-
const __iconNode$
|
|
318
|
+
const __iconNode$j = [
|
|
319
319
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
320
320
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
321
321
|
[
|
|
@@ -326,14 +326,14 @@ const __iconNode$i = [
|
|
|
326
326
|
}
|
|
327
327
|
]
|
|
328
328
|
];
|
|
329
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
329
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$j);
|
|
330
330
|
/**
|
|
331
331
|
* @license lucide-react v0.552.0 - ISC
|
|
332
332
|
*
|
|
333
333
|
* This source code is licensed under the ISC license.
|
|
334
334
|
* See the LICENSE file in the root directory of this source tree.
|
|
335
335
|
*/
|
|
336
|
-
const __iconNode$
|
|
336
|
+
const __iconNode$i = [
|
|
337
337
|
[
|
|
338
338
|
"path",
|
|
339
339
|
{
|
|
@@ -342,41 +342,41 @@ const __iconNode$h = [
|
|
|
342
342
|
}
|
|
343
343
|
]
|
|
344
344
|
];
|
|
345
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
345
|
+
const Folder = createLucideIcon("folder", __iconNode$i);
|
|
346
346
|
/**
|
|
347
347
|
* @license lucide-react v0.552.0 - ISC
|
|
348
348
|
*
|
|
349
349
|
* This source code is licensed under the ISC license.
|
|
350
350
|
* See the LICENSE file in the root directory of this source tree.
|
|
351
351
|
*/
|
|
352
|
-
const __iconNode$
|
|
352
|
+
const __iconNode$h = [
|
|
353
353
|
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
354
354
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
355
355
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
356
356
|
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
357
357
|
];
|
|
358
|
-
const GitBranch = createLucideIcon("git-branch", __iconNode$
|
|
358
|
+
const GitBranch = createLucideIcon("git-branch", __iconNode$h);
|
|
359
359
|
/**
|
|
360
360
|
* @license lucide-react v0.552.0 - ISC
|
|
361
361
|
*
|
|
362
362
|
* This source code is licensed under the ISC license.
|
|
363
363
|
* See the LICENSE file in the root directory of this source tree.
|
|
364
364
|
*/
|
|
365
|
-
const __iconNode$
|
|
365
|
+
const __iconNode$g = [
|
|
366
366
|
["circle", { cx: "12", cy: "18", r: "3", key: "1mpf1b" }],
|
|
367
367
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
368
368
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
369
369
|
["path", { d: "M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9", key: "1uq4wg" }],
|
|
370
370
|
["path", { d: "M12 12v3", key: "158kv8" }]
|
|
371
371
|
];
|
|
372
|
-
const GitFork = createLucideIcon("git-fork", __iconNode$
|
|
372
|
+
const GitFork = createLucideIcon("git-fork", __iconNode$g);
|
|
373
373
|
/**
|
|
374
374
|
* @license lucide-react v0.552.0 - ISC
|
|
375
375
|
*
|
|
376
376
|
* This source code is licensed under the ISC license.
|
|
377
377
|
* See the LICENSE file in the root directory of this source tree.
|
|
378
378
|
*/
|
|
379
|
-
const __iconNode$
|
|
379
|
+
const __iconNode$f = [
|
|
380
380
|
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
381
381
|
[
|
|
382
382
|
"path",
|
|
@@ -386,14 +386,14 @@ const __iconNode$e = [
|
|
|
386
386
|
}
|
|
387
387
|
]
|
|
388
388
|
];
|
|
389
|
-
const House = createLucideIcon("house", __iconNode$
|
|
389
|
+
const House = createLucideIcon("house", __iconNode$f);
|
|
390
390
|
/**
|
|
391
391
|
* @license lucide-react v0.552.0 - ISC
|
|
392
392
|
*
|
|
393
393
|
* This source code is licensed under the ISC license.
|
|
394
394
|
* See the LICENSE file in the root directory of this source tree.
|
|
395
395
|
*/
|
|
396
|
-
const __iconNode$
|
|
396
|
+
const __iconNode$e = [
|
|
397
397
|
["path", { d: "M3 5h.01", key: "18ugdj" }],
|
|
398
398
|
["path", { d: "M3 12h.01", key: "nlz23k" }],
|
|
399
399
|
["path", { d: "M3 19h.01", key: "noohij" }],
|
|
@@ -401,44 +401,44 @@ const __iconNode$d = [
|
|
|
401
401
|
["path", { d: "M8 12h13", key: "1za7za" }],
|
|
402
402
|
["path", { d: "M8 19h13", key: "m83p4d" }]
|
|
403
403
|
];
|
|
404
|
-
const List = createLucideIcon("list", __iconNode$
|
|
404
|
+
const List = createLucideIcon("list", __iconNode$e);
|
|
405
405
|
/**
|
|
406
406
|
* @license lucide-react v0.552.0 - ISC
|
|
407
407
|
*
|
|
408
408
|
* This source code is licensed under the ISC license.
|
|
409
409
|
* See the LICENSE file in the root directory of this source tree.
|
|
410
410
|
*/
|
|
411
|
-
const __iconNode$
|
|
412
|
-
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$
|
|
411
|
+
const __iconNode$d = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
412
|
+
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$d);
|
|
413
413
|
/**
|
|
414
414
|
* @license lucide-react v0.552.0 - ISC
|
|
415
415
|
*
|
|
416
416
|
* This source code is licensed under the ISC license.
|
|
417
417
|
* See the LICENSE file in the root directory of this source tree.
|
|
418
418
|
*/
|
|
419
|
-
const __iconNode$
|
|
419
|
+
const __iconNode$c = [
|
|
420
420
|
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
421
421
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
422
422
|
];
|
|
423
|
-
const Lock = createLucideIcon("lock", __iconNode$
|
|
423
|
+
const Lock = createLucideIcon("lock", __iconNode$c);
|
|
424
424
|
/**
|
|
425
425
|
* @license lucide-react v0.552.0 - ISC
|
|
426
426
|
*
|
|
427
427
|
* This source code is licensed under the ISC license.
|
|
428
428
|
* See the LICENSE file in the root directory of this source tree.
|
|
429
429
|
*/
|
|
430
|
-
const __iconNode$
|
|
430
|
+
const __iconNode$b = [
|
|
431
431
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
432
432
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
433
433
|
];
|
|
434
|
-
const Mail = createLucideIcon("mail", __iconNode$
|
|
434
|
+
const Mail = createLucideIcon("mail", __iconNode$b);
|
|
435
435
|
/**
|
|
436
436
|
* @license lucide-react v0.552.0 - ISC
|
|
437
437
|
*
|
|
438
438
|
* This source code is licensed under the ISC license.
|
|
439
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
440
440
|
*/
|
|
441
|
-
const __iconNode$
|
|
441
|
+
const __iconNode$a = [
|
|
442
442
|
[
|
|
443
443
|
"path",
|
|
444
444
|
{
|
|
@@ -448,60 +448,60 @@ const __iconNode$9 = [
|
|
|
448
448
|
],
|
|
449
449
|
["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
|
|
450
450
|
];
|
|
451
|
-
const MapPin = createLucideIcon("map-pin", __iconNode$
|
|
451
|
+
const MapPin = createLucideIcon("map-pin", __iconNode$a);
|
|
452
452
|
/**
|
|
453
453
|
* @license lucide-react v0.552.0 - ISC
|
|
454
454
|
*
|
|
455
455
|
* This source code is licensed under the ISC license.
|
|
456
456
|
* See the LICENSE file in the root directory of this source tree.
|
|
457
457
|
*/
|
|
458
|
-
const __iconNode$
|
|
458
|
+
const __iconNode$9 = [
|
|
459
459
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
460
460
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
461
461
|
];
|
|
462
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
462
|
+
const Plus = createLucideIcon("plus", __iconNode$9);
|
|
463
463
|
/**
|
|
464
464
|
* @license lucide-react v0.552.0 - ISC
|
|
465
465
|
*
|
|
466
466
|
* This source code is licensed under the ISC license.
|
|
467
467
|
* See the LICENSE file in the root directory of this source tree.
|
|
468
468
|
*/
|
|
469
|
-
const __iconNode$
|
|
469
|
+
const __iconNode$8 = [
|
|
470
470
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
471
471
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
472
472
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
473
473
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
474
474
|
];
|
|
475
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
475
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$8);
|
|
476
476
|
/**
|
|
477
477
|
* @license lucide-react v0.552.0 - ISC
|
|
478
478
|
*
|
|
479
479
|
* This source code is licensed under the ISC license.
|
|
480
480
|
* See the LICENSE file in the root directory of this source tree.
|
|
481
481
|
*/
|
|
482
|
-
const __iconNode$
|
|
482
|
+
const __iconNode$7 = [
|
|
483
483
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
484
484
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
485
485
|
];
|
|
486
|
-
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$
|
|
486
|
+
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$7);
|
|
487
487
|
/**
|
|
488
488
|
* @license lucide-react v0.552.0 - ISC
|
|
489
489
|
*
|
|
490
490
|
* This source code is licensed under the ISC license.
|
|
491
491
|
* See the LICENSE file in the root directory of this source tree.
|
|
492
492
|
*/
|
|
493
|
-
const __iconNode$
|
|
493
|
+
const __iconNode$6 = [
|
|
494
494
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
495
495
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
496
496
|
];
|
|
497
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
497
|
+
const Search = createLucideIcon("search", __iconNode$6);
|
|
498
498
|
/**
|
|
499
499
|
* @license lucide-react v0.552.0 - ISC
|
|
500
500
|
*
|
|
501
501
|
* This source code is licensed under the ISC license.
|
|
502
502
|
* See the LICENSE file in the root directory of this source tree.
|
|
503
503
|
*/
|
|
504
|
-
const __iconNode$
|
|
504
|
+
const __iconNode$5 = [
|
|
505
505
|
[
|
|
506
506
|
"path",
|
|
507
507
|
{
|
|
@@ -511,14 +511,14 @@ const __iconNode$4 = [
|
|
|
511
511
|
],
|
|
512
512
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
513
513
|
];
|
|
514
|
-
const Settings = createLucideIcon("settings", __iconNode$
|
|
514
|
+
const Settings = createLucideIcon("settings", __iconNode$5);
|
|
515
515
|
/**
|
|
516
516
|
* @license lucide-react v0.552.0 - ISC
|
|
517
517
|
*
|
|
518
518
|
* This source code is licensed under the ISC license.
|
|
519
519
|
* See the LICENSE file in the root directory of this source tree.
|
|
520
520
|
*/
|
|
521
|
-
const __iconNode$
|
|
521
|
+
const __iconNode$4 = [
|
|
522
522
|
[
|
|
523
523
|
"path",
|
|
524
524
|
{
|
|
@@ -527,32 +527,45 @@ const __iconNode$3 = [
|
|
|
527
527
|
}
|
|
528
528
|
]
|
|
529
529
|
];
|
|
530
|
-
const Star = createLucideIcon("star", __iconNode$
|
|
530
|
+
const Star = createLucideIcon("star", __iconNode$4);
|
|
531
531
|
/**
|
|
532
532
|
* @license lucide-react v0.552.0 - ISC
|
|
533
533
|
*
|
|
534
534
|
* This source code is licensed under the ISC license.
|
|
535
535
|
* See the LICENSE file in the root directory of this source tree.
|
|
536
536
|
*/
|
|
537
|
-
const __iconNode$
|
|
537
|
+
const __iconNode$3 = [
|
|
538
538
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
539
539
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
540
540
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
541
541
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
542
542
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
543
543
|
];
|
|
544
|
-
const Trash2 = createLucideIcon("trash-2", __iconNode$
|
|
544
|
+
const Trash2 = createLucideIcon("trash-2", __iconNode$3);
|
|
545
545
|
/**
|
|
546
546
|
* @license lucide-react v0.552.0 - ISC
|
|
547
547
|
*
|
|
548
548
|
* This source code is licensed under the ISC license.
|
|
549
549
|
* See the LICENSE file in the root directory of this source tree.
|
|
550
550
|
*/
|
|
551
|
-
const __iconNode$
|
|
551
|
+
const __iconNode$2 = [
|
|
552
552
|
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
553
553
|
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
554
554
|
];
|
|
555
|
-
const User = createLucideIcon("user", __iconNode$
|
|
555
|
+
const User = createLucideIcon("user", __iconNode$2);
|
|
556
|
+
/**
|
|
557
|
+
* @license lucide-react v0.552.0 - ISC
|
|
558
|
+
*
|
|
559
|
+
* This source code is licensed under the ISC license.
|
|
560
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
561
|
+
*/
|
|
562
|
+
const __iconNode$1 = [
|
|
563
|
+
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
564
|
+
["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
|
|
565
|
+
["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
|
|
566
|
+
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
567
|
+
];
|
|
568
|
+
const Users = createLucideIcon("users", __iconNode$1);
|
|
556
569
|
/**
|
|
557
570
|
* @license lucide-react v0.552.0 - ISC
|
|
558
571
|
*
|
|
@@ -8237,6 +8250,25 @@ const LANGUAGE_COLORS = {
|
|
|
8237
8250
|
const getLanguageColor$1 = (language) => {
|
|
8238
8251
|
return LANGUAGE_COLORS[language] || "#6e7681";
|
|
8239
8252
|
};
|
|
8253
|
+
const formatRelativeTime = (dateString) => {
|
|
8254
|
+
const date = new Date(dateString);
|
|
8255
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
8256
|
+
const diffMs = now2.getTime() - date.getTime();
|
|
8257
|
+
const diffSecs = Math.floor(diffMs / 1e3);
|
|
8258
|
+
const diffMins = Math.floor(diffSecs / 60);
|
|
8259
|
+
const diffHours = Math.floor(diffMins / 60);
|
|
8260
|
+
const diffDays = Math.floor(diffHours / 24);
|
|
8261
|
+
const diffWeeks = Math.floor(diffDays / 7);
|
|
8262
|
+
const diffMonths = Math.floor(diffDays / 30);
|
|
8263
|
+
const diffYears = Math.floor(diffDays / 365);
|
|
8264
|
+
if (diffYears > 0) return `${diffYears}y ago`;
|
|
8265
|
+
if (diffMonths > 0) return `${diffMonths}mo ago`;
|
|
8266
|
+
if (diffWeeks > 0) return `${diffWeeks}w ago`;
|
|
8267
|
+
if (diffDays > 0) return `${diffDays}d ago`;
|
|
8268
|
+
if (diffHours > 0) return `${diffHours}h ago`;
|
|
8269
|
+
if (diffMins > 0) return `${diffMins}m ago`;
|
|
8270
|
+
return "just now";
|
|
8271
|
+
};
|
|
8240
8272
|
const LocalProjectCard = ({
|
|
8241
8273
|
entry,
|
|
8242
8274
|
actionMode = "default",
|
|
@@ -8249,7 +8281,7 @@ const LocalProjectCard = ({
|
|
|
8249
8281
|
isInSelectedCollection = false,
|
|
8250
8282
|
selectedCollectionName
|
|
8251
8283
|
}) => {
|
|
8252
|
-
var _a, _b, _c, _d;
|
|
8284
|
+
var _a, _b, _c, _d, _e, _f;
|
|
8253
8285
|
const { theme } = useTheme();
|
|
8254
8286
|
const [isHovered, setIsHovered] = useState(false);
|
|
8255
8287
|
const [copiedPath, setCopiedPath] = useState(false);
|
|
@@ -8280,6 +8312,7 @@ const LocalProjectCard = ({
|
|
|
8280
8312
|
return path;
|
|
8281
8313
|
};
|
|
8282
8314
|
const displayPath = getDisplayPath(entry.path);
|
|
8315
|
+
const displaySubtitle = ((_b = entry.github) == null ? void 0 : _b.owner) || displayPath;
|
|
8283
8316
|
const handleCardClick = () => {
|
|
8284
8317
|
onSelect == null ? void 0 : onSelect(entry);
|
|
8285
8318
|
};
|
|
@@ -8333,7 +8366,7 @@ const LocalProjectCard = ({
|
|
|
8333
8366
|
fontSize: `${theme.fontSizes[2]}px`,
|
|
8334
8367
|
fontWeight: theme.fontWeights.semibold
|
|
8335
8368
|
},
|
|
8336
|
-
children: ((
|
|
8369
|
+
children: ((_c = entry.name[0]) == null ? void 0 : _c.toUpperCase()) || "?"
|
|
8337
8370
|
}
|
|
8338
8371
|
)
|
|
8339
8372
|
}
|
|
@@ -8361,7 +8394,7 @@ const LocalProjectCard = ({
|
|
|
8361
8394
|
/* @__PURE__ */ jsx(
|
|
8362
8395
|
"span",
|
|
8363
8396
|
{
|
|
8364
|
-
className: ((
|
|
8397
|
+
className: ((_d = entry.github) == null ? void 0 : _d.primaryLanguage) ? "project-name-underline" : void 0,
|
|
8365
8398
|
style: {
|
|
8366
8399
|
fontSize: `${theme.fontSizes[2]}px`,
|
|
8367
8400
|
fontWeight: theme.fontWeights.semibold,
|
|
@@ -8369,7 +8402,7 @@ const LocalProjectCard = ({
|
|
|
8369
8402
|
overflow: "hidden",
|
|
8370
8403
|
textOverflow: "ellipsis",
|
|
8371
8404
|
whiteSpace: "nowrap",
|
|
8372
|
-
"--underline-color": ((
|
|
8405
|
+
"--underline-color": ((_e = entry.github) == null ? void 0 : _e.primaryLanguage) ? getLanguageColor$1(entry.github.primaryLanguage) : theme.colors.textSecondary
|
|
8373
8406
|
},
|
|
8374
8407
|
children: entry.name
|
|
8375
8408
|
}
|
|
@@ -8438,7 +8471,7 @@ const LocalProjectCard = ({
|
|
|
8438
8471
|
gap: "6px",
|
|
8439
8472
|
cursor: disableCopyPaths ? "default" : "pointer"
|
|
8440
8473
|
},
|
|
8441
|
-
title: disableCopyPaths ?
|
|
8474
|
+
title: disableCopyPaths ? entry.path : copiedPath ? "Copied!" : `Click to copy: ${entry.path}`,
|
|
8442
8475
|
children: [
|
|
8443
8476
|
/* @__PURE__ */ jsx(
|
|
8444
8477
|
"span",
|
|
@@ -8454,7 +8487,20 @@ const LocalProjectCard = ({
|
|
|
8454
8487
|
minWidth: 0,
|
|
8455
8488
|
transition: "color 0.15s ease"
|
|
8456
8489
|
},
|
|
8457
|
-
children: copiedPath ? "✓ Copied!" :
|
|
8490
|
+
children: copiedPath ? "✓ Copied!" : displaySubtitle
|
|
8491
|
+
}
|
|
8492
|
+
),
|
|
8493
|
+
((_f = entry.github) == null ? void 0 : _f.lastCommit) && /* @__PURE__ */ jsx(
|
|
8494
|
+
"span",
|
|
8495
|
+
{
|
|
8496
|
+
style: {
|
|
8497
|
+
fontSize: `${theme.fontSizes[0]}px`,
|
|
8498
|
+
color: theme.colors.textSecondary,
|
|
8499
|
+
whiteSpace: "nowrap",
|
|
8500
|
+
flexShrink: 0
|
|
8501
|
+
},
|
|
8502
|
+
title: `Last commit: ${new Date(entry.github.lastCommit).toLocaleDateString()}`,
|
|
8503
|
+
children: formatRelativeTime(entry.github.lastCommit)
|
|
8458
8504
|
}
|
|
8459
8505
|
),
|
|
8460
8506
|
!disableCopyPaths && !copiedPath && /* @__PURE__ */ jsx(
|
|
@@ -8515,6 +8561,9 @@ const LocalProjectsPanelContent = ({
|
|
|
8515
8561
|
);
|
|
8516
8562
|
const [windowStates, setWindowStates] = useState(/* @__PURE__ */ new Map());
|
|
8517
8563
|
const [viewMode, setViewMode] = useState("list");
|
|
8564
|
+
const [groupByOwner, setGroupByOwner] = useState(false);
|
|
8565
|
+
const [collapsedSections, setCollapsedSections] = useState(/* @__PURE__ */ new Set());
|
|
8566
|
+
const [hasInitializedCollapsed, setHasInitializedCollapsed] = useState(false);
|
|
8518
8567
|
const handleToggleSearch = useCallback(() => {
|
|
8519
8568
|
if (defaultShowSearch) return;
|
|
8520
8569
|
setShowSearch((prev) => {
|
|
@@ -8527,6 +8576,20 @@ const LocalProjectsPanelContent = ({
|
|
|
8527
8576
|
const handleClearFilter = useCallback(() => {
|
|
8528
8577
|
setFilter("");
|
|
8529
8578
|
}, []);
|
|
8579
|
+
const handleToggleGrouping = useCallback(() => {
|
|
8580
|
+
setGroupByOwner((prev) => !prev);
|
|
8581
|
+
}, []);
|
|
8582
|
+
const toggleSection = useCallback((owner) => {
|
|
8583
|
+
setCollapsedSections((prev) => {
|
|
8584
|
+
const next = new Set(prev);
|
|
8585
|
+
if (next.has(owner)) {
|
|
8586
|
+
next.delete(owner);
|
|
8587
|
+
} else {
|
|
8588
|
+
next.add(owner);
|
|
8589
|
+
}
|
|
8590
|
+
return next;
|
|
8591
|
+
});
|
|
8592
|
+
}, []);
|
|
8530
8593
|
const panelActions = actions2;
|
|
8531
8594
|
const { alexandriaRepositories: repoSlice, selectedCollection } = context;
|
|
8532
8595
|
const repositories = useMemo(
|
|
@@ -8743,6 +8806,89 @@ const LocalProjectsPanelContent = ({
|
|
|
8743
8806
|
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
|
|
8744
8807
|
});
|
|
8745
8808
|
}, [allRepositories, normalizedFilter]);
|
|
8809
|
+
useEffect(() => {
|
|
8810
|
+
if (!groupByOwner) {
|
|
8811
|
+
setHasInitializedCollapsed(false);
|
|
8812
|
+
setCollapsedSections(/* @__PURE__ */ new Set());
|
|
8813
|
+
return;
|
|
8814
|
+
}
|
|
8815
|
+
if (hasInitializedCollapsed) return;
|
|
8816
|
+
const allOwners = /* @__PURE__ */ new Set();
|
|
8817
|
+
filteredAndSortedRepositories.forEach((entry) => {
|
|
8818
|
+
var _a2;
|
|
8819
|
+
const owner = ((_a2 = entry.github) == null ? void 0 : _a2.owner) || "Local Projects";
|
|
8820
|
+
allOwners.add(owner);
|
|
8821
|
+
});
|
|
8822
|
+
setCollapsedSections(allOwners);
|
|
8823
|
+
setHasInitializedCollapsed(true);
|
|
8824
|
+
}, [groupByOwner, filteredAndSortedRepositories, hasInitializedCollapsed]);
|
|
8825
|
+
const groupedRepositories = useMemo(() => {
|
|
8826
|
+
if (!groupByOwner) return null;
|
|
8827
|
+
const groups = /* @__PURE__ */ new Map();
|
|
8828
|
+
filteredAndSortedRepositories.forEach((entry) => {
|
|
8829
|
+
var _a2;
|
|
8830
|
+
const owner = ((_a2 = entry.github) == null ? void 0 : _a2.owner) || "Local Projects";
|
|
8831
|
+
if (!groups.has(owner)) {
|
|
8832
|
+
groups.set(owner, []);
|
|
8833
|
+
}
|
|
8834
|
+
groups.get(owner).push(entry);
|
|
8835
|
+
});
|
|
8836
|
+
return Array.from(groups.entries()).sort(([ownerA], [ownerB]) => {
|
|
8837
|
+
if (ownerA === "Local Projects") return 1;
|
|
8838
|
+
if (ownerB === "Local Projects") return -1;
|
|
8839
|
+
return ownerA.localeCompare(ownerB);
|
|
8840
|
+
});
|
|
8841
|
+
}, [filteredAndSortedRepositories, groupByOwner]);
|
|
8842
|
+
const renderSectionHeader = (owner, repoCount) => {
|
|
8843
|
+
const isCollapsed = collapsedSections.has(owner);
|
|
8844
|
+
const icon = owner === "Local Projects" ? /* @__PURE__ */ jsx(FolderGit2, { size: 20, color: theme.colors.text }) : /* @__PURE__ */ jsx(User, { size: 20, color: theme.colors.text });
|
|
8845
|
+
return /* @__PURE__ */ jsxs(
|
|
8846
|
+
"button",
|
|
8847
|
+
{
|
|
8848
|
+
type: "button",
|
|
8849
|
+
onClick: () => toggleSection(owner),
|
|
8850
|
+
style: {
|
|
8851
|
+
width: "100%",
|
|
8852
|
+
display: "flex",
|
|
8853
|
+
alignItems: "center",
|
|
8854
|
+
justifyContent: "space-between",
|
|
8855
|
+
padding: "16px 16px",
|
|
8856
|
+
backgroundColor: theme.colors.background,
|
|
8857
|
+
border: "none",
|
|
8858
|
+
borderRadius: "6px",
|
|
8859
|
+
cursor: "pointer",
|
|
8860
|
+
textAlign: "left",
|
|
8861
|
+
marginBottom: isCollapsed ? "0" : "12px"
|
|
8862
|
+
},
|
|
8863
|
+
onMouseEnter: (e) => {
|
|
8864
|
+
e.currentTarget.style.backgroundColor = theme.colors.backgroundTertiary;
|
|
8865
|
+
},
|
|
8866
|
+
onMouseLeave: (e) => {
|
|
8867
|
+
e.currentTarget.style.backgroundColor = theme.colors.background;
|
|
8868
|
+
},
|
|
8869
|
+
children: [
|
|
8870
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
8871
|
+
icon,
|
|
8872
|
+
/* @__PURE__ */ jsx("span", { style: {
|
|
8873
|
+
fontSize: `${theme.fontSizes[2]}px`,
|
|
8874
|
+
fontWeight: theme.fontWeights.semibold,
|
|
8875
|
+
fontFamily: theme.fonts.body,
|
|
8876
|
+
color: theme.colors.text
|
|
8877
|
+
}, children: owner })
|
|
8878
|
+
] }),
|
|
8879
|
+
/* @__PURE__ */ jsxs("span", { style: {
|
|
8880
|
+
fontSize: `${theme.fontSizes[1]}px`,
|
|
8881
|
+
fontFamily: theme.fonts.body,
|
|
8882
|
+
color: theme.colors.textSecondary
|
|
8883
|
+
}, children: [
|
|
8884
|
+
repoCount,
|
|
8885
|
+
" ",
|
|
8886
|
+
repoCount === 1 ? "repo" : "repos"
|
|
8887
|
+
] })
|
|
8888
|
+
]
|
|
8889
|
+
}
|
|
8890
|
+
);
|
|
8891
|
+
};
|
|
8746
8892
|
const baseContainerStyle = {
|
|
8747
8893
|
display: "flex",
|
|
8748
8894
|
flexDirection: "column",
|
|
@@ -8926,6 +9072,29 @@ const LocalProjectsPanelContent = ({
|
|
|
8926
9072
|
children: viewMode === "list" ? /* @__PURE__ */ jsx(GitFork, { size: 16 }) : /* @__PURE__ */ jsx(List, { size: 16 })
|
|
8927
9073
|
}
|
|
8928
9074
|
),
|
|
9075
|
+
/* @__PURE__ */ jsx(
|
|
9076
|
+
"button",
|
|
9077
|
+
{
|
|
9078
|
+
className: "header-action-button",
|
|
9079
|
+
onClick: handleToggleGrouping,
|
|
9080
|
+
title: groupByOwner ? "Show flat list" : "Group by owner",
|
|
9081
|
+
style: {
|
|
9082
|
+
padding: "0 12px",
|
|
9083
|
+
height: "40px",
|
|
9084
|
+
borderRadius: "0",
|
|
9085
|
+
border: "none",
|
|
9086
|
+
backgroundColor: groupByOwner ? theme.colors.backgroundSecondary : theme.colors.background,
|
|
9087
|
+
color: groupByOwner ? theme.colors.primary : theme.colors.textSecondary,
|
|
9088
|
+
cursor: "pointer",
|
|
9089
|
+
display: "flex",
|
|
9090
|
+
alignItems: "center",
|
|
9091
|
+
justifyContent: "center",
|
|
9092
|
+
flexShrink: 0,
|
|
9093
|
+
["--button-hover-bg"]: theme.colors.backgroundSecondary
|
|
9094
|
+
},
|
|
9095
|
+
children: /* @__PURE__ */ jsx(Users, { size: 16 })
|
|
9096
|
+
}
|
|
9097
|
+
),
|
|
8929
9098
|
/* @__PURE__ */ jsx(
|
|
8930
9099
|
"button",
|
|
8931
9100
|
{
|
|
@@ -9093,6 +9262,29 @@ const LocalProjectsPanelContent = ({
|
|
|
9093
9262
|
children: viewMode === "list" ? /* @__PURE__ */ jsx(GitFork, { size: 16 }) : /* @__PURE__ */ jsx(List, { size: 16 })
|
|
9094
9263
|
}
|
|
9095
9264
|
),
|
|
9265
|
+
/* @__PURE__ */ jsx(
|
|
9266
|
+
"button",
|
|
9267
|
+
{
|
|
9268
|
+
className: "header-action-button",
|
|
9269
|
+
onClick: handleToggleGrouping,
|
|
9270
|
+
title: groupByOwner ? "Show flat list" : "Group by owner",
|
|
9271
|
+
style: {
|
|
9272
|
+
padding: "0 12px",
|
|
9273
|
+
height: "40px",
|
|
9274
|
+
borderRadius: "0",
|
|
9275
|
+
border: "none",
|
|
9276
|
+
backgroundColor: groupByOwner ? theme.colors.backgroundSecondary : theme.colors.background,
|
|
9277
|
+
color: groupByOwner ? theme.colors.primary : theme.colors.textSecondary,
|
|
9278
|
+
cursor: "pointer",
|
|
9279
|
+
display: "flex",
|
|
9280
|
+
alignItems: "center",
|
|
9281
|
+
justifyContent: "center",
|
|
9282
|
+
flexShrink: 0,
|
|
9283
|
+
["--button-hover-bg"]: theme.colors.backgroundSecondary
|
|
9284
|
+
},
|
|
9285
|
+
children: /* @__PURE__ */ jsx(Users, { size: 16 })
|
|
9286
|
+
}
|
|
9287
|
+
),
|
|
9096
9288
|
/* @__PURE__ */ jsx(
|
|
9097
9289
|
"button",
|
|
9098
9290
|
{
|
|
@@ -9294,8 +9486,57 @@ const LocalProjectsPanelContent = ({
|
|
|
9294
9486
|
verticalPadding: "0px"
|
|
9295
9487
|
}
|
|
9296
9488
|
)
|
|
9489
|
+
) : groupByOwner && groupedRepositories ? (
|
|
9490
|
+
/* Grouped list view */
|
|
9491
|
+
/* @__PURE__ */ jsxs("div", { style: {
|
|
9492
|
+
display: "flex",
|
|
9493
|
+
flexDirection: "column",
|
|
9494
|
+
gap: "16px",
|
|
9495
|
+
padding: "16px"
|
|
9496
|
+
}, children: [
|
|
9497
|
+
groupedRepositories.map(([owner, repos]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
9498
|
+
renderSectionHeader(owner, repos.length),
|
|
9499
|
+
!collapsedSections.has(owner) && /* @__PURE__ */ jsx("div", { style: {
|
|
9500
|
+
display: "flex",
|
|
9501
|
+
flexDirection: "column",
|
|
9502
|
+
gap: "0"
|
|
9503
|
+
}, children: repos.map((entry) => {
|
|
9504
|
+
var _a2;
|
|
9505
|
+
const repositoryId = ((_a2 = entry.github) == null ? void 0 : _a2.owner) && entry.name ? `${entry.github.owner}/${entry.name}` : entry.name;
|
|
9506
|
+
const isInCollection = repositoriesInCollection.has(repositoryId);
|
|
9507
|
+
return /* @__PURE__ */ jsx(
|
|
9508
|
+
LocalProjectCard,
|
|
9509
|
+
{
|
|
9510
|
+
entry,
|
|
9511
|
+
actionMode: entry.isDiscovered ? "discovered" : "default",
|
|
9512
|
+
isSelected: (selectedEntry == null ? void 0 : selectedEntry.path) === entry.path,
|
|
9513
|
+
onSelect: handleSelectRepository,
|
|
9514
|
+
onOpen: handleOpenRepository,
|
|
9515
|
+
onRemove: entry.isDiscovered ? void 0 : handleRemoveRepository,
|
|
9516
|
+
onTrack: entry.isDiscovered ? handleTrackRepository : void 0,
|
|
9517
|
+
windowState: windowStates.get(entry.path) || "closed",
|
|
9518
|
+
disableCopyPaths,
|
|
9519
|
+
isInSelectedCollection: isInCollection,
|
|
9520
|
+
selectedCollectionName: selectedCollection == null ? void 0 : selectedCollection.name
|
|
9521
|
+
},
|
|
9522
|
+
entry.path
|
|
9523
|
+
);
|
|
9524
|
+
}) })
|
|
9525
|
+
] }, owner)),
|
|
9526
|
+
groupedRepositories.length === 0 && !loading && /* @__PURE__ */ jsx(
|
|
9527
|
+
"div",
|
|
9528
|
+
{
|
|
9529
|
+
style: {
|
|
9530
|
+
padding: "32px",
|
|
9531
|
+
textAlign: "center",
|
|
9532
|
+
color: theme.colors.textSecondary
|
|
9533
|
+
},
|
|
9534
|
+
children: /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: normalizedFilter ? "No local projects match your filter." : "No local projects found." })
|
|
9535
|
+
}
|
|
9536
|
+
)
|
|
9537
|
+
] })
|
|
9297
9538
|
) : (
|
|
9298
|
-
/*
|
|
9539
|
+
/* Flat list view */
|
|
9299
9540
|
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9300
9541
|
filteredAndSortedRepositories.map((entry) => {
|
|
9301
9542
|
var _a2;
|