@industry-theme/repository-composition-panels 0.6.34 → 0.6.36
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/{BufferResource-mzBIhgw1.js → BufferResource-BHugtrUq.js} +2 -2
- package/dist/{BufferResource-mzBIhgw1.js.map → BufferResource-BHugtrUq.js.map} +1 -1
- package/dist/{CanvasRenderer-D4giVlw_.js → CanvasRenderer-BeZJzGFi.js} +3 -3
- package/dist/{CanvasRenderer-D4giVlw_.js.map → CanvasRenderer-BeZJzGFi.js.map} +1 -1
- package/dist/{Filter-CS3DdPah.js → Filter-CbPXiTaM.js} +2 -2
- package/dist/{Filter-CS3DdPah.js.map → Filter-CbPXiTaM.js.map} +1 -1
- package/dist/{RenderTargetSystem-g5tJchpY.js → RenderTargetSystem-BCexJ9u1.js} +3 -3
- package/dist/{RenderTargetSystem-g5tJchpY.js.map → RenderTargetSystem-BCexJ9u1.js.map} +1 -1
- package/dist/{WebGLRenderer-CQCm4mBz.js → WebGLRenderer-Cszek_ZT.js} +4 -4
- package/dist/{WebGLRenderer-CQCm4mBz.js.map → WebGLRenderer-Cszek_ZT.js.map} +1 -1
- package/dist/{WebGPURenderer-HXlJ-pks.js → WebGPURenderer-D6jGDElp.js} +4 -4
- package/dist/{WebGPURenderer-HXlJ-pks.js.map → WebGPURenderer-D6jGDElp.js.map} +1 -1
- package/dist/{browserAll-C4GwI3ax.js → browserAll-BwpFM4g8.js} +3 -3
- package/dist/{browserAll-C4GwI3ax.js.map → browserAll-BwpFM4g8.js.map} +1 -1
- package/dist/{index-IWPV2XCJ.js → index-CLAlMbIl.js} +437 -319
- package/dist/{index-IWPV2XCJ.js.map → index-CLAlMbIl.js.map} +1 -1
- package/dist/{init-2QlpqDhj.js → init-MqTkSpnV.js} +3 -3
- package/dist/{init-2QlpqDhj.js.map → init-MqTkSpnV.js.map} +1 -1
- package/dist/panels/PackageCompositionPanel.d.ts +2 -0
- package/dist/panels/PackageCompositionPanel.d.ts.map +1 -1
- package/dist/panels/components/PackageDetailCard.d.ts.map +1 -1
- package/dist/panels/components/PackageSummaryCard.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/licenseColors.d.ts +13 -0
- package/dist/utils/licenseColors.d.ts.map +1 -0
- package/dist/webworkerAll-BJPXeWPD.js +3 -0
- package/dist/webworkerAll-BJPXeWPD.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-vHNhL1AY.js +0 -3
- package/dist/webworkerAll-vHNhL1AY.js.map +0 -1
|
@@ -134,7 +134,7 @@ const createLucideIcon$1 = (iconName, iconNode) => {
|
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
136
|
*/
|
|
137
|
-
const __iconNode$
|
|
137
|
+
const __iconNode$qm = [
|
|
138
138
|
[
|
|
139
139
|
"path",
|
|
140
140
|
{
|
|
@@ -143,25 +143,25 @@ const __iconNode$qk = [
|
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
];
|
|
146
|
-
const Activity$1 = createLucideIcon$1("activity", __iconNode$
|
|
146
|
+
const Activity$1 = createLucideIcon$1("activity", __iconNode$qm);
|
|
147
147
|
/**
|
|
148
148
|
* @license lucide-react v0.552.0 - ISC
|
|
149
149
|
*
|
|
150
150
|
* This source code is licensed under the ISC license.
|
|
151
151
|
* See the LICENSE file in the root directory of this source tree.
|
|
152
152
|
*/
|
|
153
|
-
const __iconNode$
|
|
153
|
+
const __iconNode$ql = [
|
|
154
154
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
155
155
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
156
156
|
];
|
|
157
|
-
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$
|
|
157
|
+
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$ql);
|
|
158
158
|
/**
|
|
159
159
|
* @license lucide-react v0.552.0 - ISC
|
|
160
160
|
*
|
|
161
161
|
* This source code is licensed under the ISC license.
|
|
162
162
|
* See the LICENSE file in the root directory of this source tree.
|
|
163
163
|
*/
|
|
164
|
-
const __iconNode$
|
|
164
|
+
const __iconNode$qk = [
|
|
165
165
|
[
|
|
166
166
|
"path",
|
|
167
167
|
{
|
|
@@ -172,100 +172,100 @@ const __iconNode$qi = [
|
|
|
172
172
|
["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
|
|
173
173
|
["path", { d: "M12 22V12", key: "d0xqtd" }]
|
|
174
174
|
];
|
|
175
|
-
const Box$1 = createLucideIcon$1("box", __iconNode$
|
|
175
|
+
const Box$1 = createLucideIcon$1("box", __iconNode$qk);
|
|
176
176
|
/**
|
|
177
177
|
* @license lucide-react v0.552.0 - ISC
|
|
178
178
|
*
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
181
|
*/
|
|
182
|
-
const __iconNode$
|
|
183
|
-
const Check$1 = createLucideIcon$1("check", __iconNode$
|
|
182
|
+
const __iconNode$qj = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
183
|
+
const Check$1 = createLucideIcon$1("check", __iconNode$qj);
|
|
184
184
|
/**
|
|
185
185
|
* @license lucide-react v0.552.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
189
|
*/
|
|
190
|
-
const __iconNode$
|
|
191
|
-
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$
|
|
190
|
+
const __iconNode$qi = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
191
|
+
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$qi);
|
|
192
192
|
/**
|
|
193
193
|
* @license lucide-react v0.552.0 - ISC
|
|
194
194
|
*
|
|
195
195
|
* This source code is licensed under the ISC license.
|
|
196
196
|
* See the LICENSE file in the root directory of this source tree.
|
|
197
197
|
*/
|
|
198
|
-
const __iconNode$
|
|
199
|
-
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$
|
|
198
|
+
const __iconNode$qh = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
199
|
+
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$qh);
|
|
200
200
|
/**
|
|
201
201
|
* @license lucide-react v0.552.0 - ISC
|
|
202
202
|
*
|
|
203
203
|
* This source code is licensed under the ISC license.
|
|
204
204
|
* See the LICENSE file in the root directory of this source tree.
|
|
205
205
|
*/
|
|
206
|
-
const __iconNode$
|
|
207
|
-
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$
|
|
206
|
+
const __iconNode$qg = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
207
|
+
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$qg);
|
|
208
208
|
/**
|
|
209
209
|
* @license lucide-react v0.552.0 - ISC
|
|
210
210
|
*
|
|
211
211
|
* This source code is licensed under the ISC license.
|
|
212
212
|
* See the LICENSE file in the root directory of this source tree.
|
|
213
213
|
*/
|
|
214
|
-
const __iconNode$
|
|
215
|
-
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$
|
|
214
|
+
const __iconNode$qf = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
215
|
+
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$qf);
|
|
216
216
|
/**
|
|
217
217
|
* @license lucide-react v0.552.0 - ISC
|
|
218
218
|
*
|
|
219
219
|
* This source code is licensed under the ISC license.
|
|
220
220
|
* See the LICENSE file in the root directory of this source tree.
|
|
221
221
|
*/
|
|
222
|
-
const __iconNode$
|
|
222
|
+
const __iconNode$qe = [
|
|
223
223
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
224
224
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
225
225
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
226
226
|
];
|
|
227
|
-
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$
|
|
227
|
+
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$qe);
|
|
228
228
|
/**
|
|
229
229
|
* @license lucide-react v0.552.0 - ISC
|
|
230
230
|
*
|
|
231
231
|
* This source code is licensed under the ISC license.
|
|
232
232
|
* See the LICENSE file in the root directory of this source tree.
|
|
233
233
|
*/
|
|
234
|
-
const __iconNode$
|
|
234
|
+
const __iconNode$qd = [
|
|
235
235
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
236
236
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
237
237
|
];
|
|
238
|
-
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$
|
|
238
|
+
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$qd);
|
|
239
239
|
/**
|
|
240
240
|
* @license lucide-react v0.552.0 - ISC
|
|
241
241
|
*
|
|
242
242
|
* This source code is licensed under the ISC license.
|
|
243
243
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
244
|
*/
|
|
245
|
-
const __iconNode$
|
|
245
|
+
const __iconNode$qc = [
|
|
246
246
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
247
247
|
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
248
248
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
249
249
|
];
|
|
250
|
-
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$
|
|
250
|
+
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$qc);
|
|
251
251
|
/**
|
|
252
252
|
* @license lucide-react v0.552.0 - ISC
|
|
253
253
|
*
|
|
254
254
|
* This source code is licensed under the ISC license.
|
|
255
255
|
* See the LICENSE file in the root directory of this source tree.
|
|
256
256
|
*/
|
|
257
|
-
const __iconNode$
|
|
257
|
+
const __iconNode$qb = [
|
|
258
258
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
259
259
|
["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" }]
|
|
260
260
|
];
|
|
261
|
-
const Copy$1 = createLucideIcon$1("copy", __iconNode$
|
|
261
|
+
const Copy$1 = createLucideIcon$1("copy", __iconNode$qb);
|
|
262
262
|
/**
|
|
263
263
|
* @license lucide-react v0.552.0 - ISC
|
|
264
264
|
*
|
|
265
265
|
* This source code is licensed under the ISC license.
|
|
266
266
|
* See the LICENSE file in the root directory of this source tree.
|
|
267
267
|
*/
|
|
268
|
-
const __iconNode$
|
|
268
|
+
const __iconNode$qa = [
|
|
269
269
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
270
270
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
271
271
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -275,26 +275,26 @@ const __iconNode$q8 = [
|
|
|
275
275
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
276
276
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
277
277
|
];
|
|
278
|
-
const Expand$1 = createLucideIcon$1("expand", __iconNode$
|
|
278
|
+
const Expand$1 = createLucideIcon$1("expand", __iconNode$qa);
|
|
279
279
|
/**
|
|
280
280
|
* @license lucide-react v0.552.0 - ISC
|
|
281
281
|
*
|
|
282
282
|
* This source code is licensed under the ISC license.
|
|
283
283
|
* See the LICENSE file in the root directory of this source tree.
|
|
284
284
|
*/
|
|
285
|
-
const __iconNode$
|
|
285
|
+
const __iconNode$q9 = [
|
|
286
286
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
287
287
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
288
288
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
289
289
|
];
|
|
290
|
-
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$
|
|
290
|
+
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$q9);
|
|
291
291
|
/**
|
|
292
292
|
* @license lucide-react v0.552.0 - ISC
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the ISC license.
|
|
295
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
296
|
*/
|
|
297
|
-
const __iconNode$
|
|
297
|
+
const __iconNode$q8 = [
|
|
298
298
|
[
|
|
299
299
|
"path",
|
|
300
300
|
{
|
|
@@ -306,14 +306,14 @@ const __iconNode$q6 = [
|
|
|
306
306
|
["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
|
|
307
307
|
["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }]
|
|
308
308
|
];
|
|
309
|
-
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$
|
|
309
|
+
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$q8);
|
|
310
310
|
/**
|
|
311
311
|
* @license lucide-react v0.552.0 - ISC
|
|
312
312
|
*
|
|
313
313
|
* This source code is licensed under the ISC license.
|
|
314
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
315
315
|
*/
|
|
316
|
-
const __iconNode$
|
|
316
|
+
const __iconNode$q7 = [
|
|
317
317
|
[
|
|
318
318
|
"path",
|
|
319
319
|
{
|
|
@@ -324,14 +324,14 @@ const __iconNode$q5 = [
|
|
|
324
324
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
325
325
|
["path", { d: "m10 18 3-3-3-3", key: "18f6ys" }]
|
|
326
326
|
];
|
|
327
|
-
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$
|
|
327
|
+
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$q7);
|
|
328
328
|
/**
|
|
329
329
|
* @license lucide-react v0.552.0 - ISC
|
|
330
330
|
*
|
|
331
331
|
* This source code is licensed under the ISC license.
|
|
332
332
|
* See the LICENSE file in the root directory of this source tree.
|
|
333
333
|
*/
|
|
334
|
-
const __iconNode$
|
|
334
|
+
const __iconNode$q6 = [
|
|
335
335
|
[
|
|
336
336
|
"path",
|
|
337
337
|
{
|
|
@@ -344,14 +344,14 @@ const __iconNode$q4 = [
|
|
|
344
344
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
345
345
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
346
346
|
];
|
|
347
|
-
const FileText$1 = createLucideIcon$1("file-text", __iconNode$
|
|
347
|
+
const FileText$1 = createLucideIcon$1("file-text", __iconNode$q6);
|
|
348
348
|
/**
|
|
349
349
|
* @license lucide-react v0.552.0 - ISC
|
|
350
350
|
*
|
|
351
351
|
* This source code is licensed under the ISC license.
|
|
352
352
|
* See the LICENSE file in the root directory of this source tree.
|
|
353
353
|
*/
|
|
354
|
-
const __iconNode$
|
|
354
|
+
const __iconNode$q5 = [
|
|
355
355
|
[
|
|
356
356
|
"path",
|
|
357
357
|
{
|
|
@@ -360,14 +360,14 @@ const __iconNode$q3 = [
|
|
|
360
360
|
}
|
|
361
361
|
]
|
|
362
362
|
];
|
|
363
|
-
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$
|
|
363
|
+
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$q5);
|
|
364
364
|
/**
|
|
365
365
|
* @license lucide-react v0.552.0 - ISC
|
|
366
366
|
*
|
|
367
367
|
* This source code is licensed under the ISC license.
|
|
368
368
|
* See the LICENSE file in the root directory of this source tree.
|
|
369
369
|
*/
|
|
370
|
-
const __iconNode$
|
|
370
|
+
const __iconNode$q4 = [
|
|
371
371
|
[
|
|
372
372
|
"path",
|
|
373
373
|
{
|
|
@@ -376,27 +376,39 @@ const __iconNode$q2 = [
|
|
|
376
376
|
}
|
|
377
377
|
]
|
|
378
378
|
];
|
|
379
|
-
const Folder$1 = createLucideIcon$1("folder", __iconNode$
|
|
379
|
+
const Folder$1 = createLucideIcon$1("folder", __iconNode$q4);
|
|
380
380
|
/**
|
|
381
381
|
* @license lucide-react v0.552.0 - ISC
|
|
382
382
|
*
|
|
383
383
|
* This source code is licensed under the ISC license.
|
|
384
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
385
385
|
*/
|
|
386
|
-
const __iconNode$
|
|
386
|
+
const __iconNode$q3 = [
|
|
387
387
|
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
388
388
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
389
389
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
390
390
|
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
391
391
|
];
|
|
392
|
-
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$
|
|
392
|
+
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$q3);
|
|
393
393
|
/**
|
|
394
394
|
* @license lucide-react v0.552.0 - ISC
|
|
395
395
|
*
|
|
396
396
|
* This source code is licensed under the ISC license.
|
|
397
397
|
* See the LICENSE file in the root directory of this source tree.
|
|
398
398
|
*/
|
|
399
|
-
const __iconNode$
|
|
399
|
+
const __iconNode$q2 = [
|
|
400
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
401
|
+
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
402
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
403
|
+
];
|
|
404
|
+
const Globe$1 = createLucideIcon$1("globe", __iconNode$q2);
|
|
405
|
+
/**
|
|
406
|
+
* @license lucide-react v0.552.0 - ISC
|
|
407
|
+
*
|
|
408
|
+
* This source code is licensed under the ISC license.
|
|
409
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
410
|
+
*/
|
|
411
|
+
const __iconNode$q1 = [
|
|
400
412
|
[
|
|
401
413
|
"path",
|
|
402
414
|
{
|
|
@@ -419,28 +431,39 @@ const __iconNode$q0 = [
|
|
|
419
431
|
}
|
|
420
432
|
]
|
|
421
433
|
];
|
|
422
|
-
const Layers$1 = createLucideIcon$1("layers", __iconNode$
|
|
434
|
+
const Layers$1 = createLucideIcon$1("layers", __iconNode$q1);
|
|
423
435
|
/**
|
|
424
436
|
* @license lucide-react v0.552.0 - ISC
|
|
425
437
|
*
|
|
426
438
|
* This source code is licensed under the ISC license.
|
|
427
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
428
440
|
*/
|
|
429
|
-
const __iconNode$
|
|
441
|
+
const __iconNode$q0 = [
|
|
430
442
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
431
443
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
432
444
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
433
445
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
434
446
|
];
|
|
435
|
-
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$
|
|
447
|
+
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$q0);
|
|
436
448
|
/**
|
|
437
449
|
* @license lucide-react v0.552.0 - ISC
|
|
438
450
|
*
|
|
439
451
|
* This source code is licensed under the ISC license.
|
|
440
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
441
453
|
*/
|
|
442
|
-
const __iconNode$
|
|
443
|
-
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$
|
|
454
|
+
const __iconNode$p$ = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
455
|
+
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$p$);
|
|
456
|
+
/**
|
|
457
|
+
* @license lucide-react v0.552.0 - ISC
|
|
458
|
+
*
|
|
459
|
+
* This source code is licensed under the ISC license.
|
|
460
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
461
|
+
*/
|
|
462
|
+
const __iconNode$p_ = [
|
|
463
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
464
|
+
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
465
|
+
];
|
|
466
|
+
const Lock$1 = createLucideIcon$1("lock", __iconNode$p_);
|
|
444
467
|
/**
|
|
445
468
|
* @license lucide-react v0.552.0 - ISC
|
|
446
469
|
*
|
|
@@ -2724,6 +2747,64 @@ function parseEnvFile(content2, fileType) {
|
|
|
2724
2747
|
format: "dotenv"
|
|
2725
2748
|
};
|
|
2726
2749
|
}
|
|
2750
|
+
const permissiveLicenses = /* @__PURE__ */ new Set([
|
|
2751
|
+
"MIT",
|
|
2752
|
+
"Apache-2.0",
|
|
2753
|
+
"BSD-2-Clause",
|
|
2754
|
+
"BSD-3-Clause",
|
|
2755
|
+
"ISC",
|
|
2756
|
+
"Unlicense",
|
|
2757
|
+
"CC0-1.0",
|
|
2758
|
+
"0BSD",
|
|
2759
|
+
"WTFPL"
|
|
2760
|
+
]);
|
|
2761
|
+
const weakCopyleftLicenses = /* @__PURE__ */ new Set([
|
|
2762
|
+
"LGPL-2.0",
|
|
2763
|
+
"LGPL-2.1",
|
|
2764
|
+
"LGPL-3.0",
|
|
2765
|
+
"MPL-2.0",
|
|
2766
|
+
"EPL-1.0",
|
|
2767
|
+
"EPL-2.0",
|
|
2768
|
+
"OSL-3.0"
|
|
2769
|
+
]);
|
|
2770
|
+
const strongCopyleftLicenses = /* @__PURE__ */ new Set([
|
|
2771
|
+
"GPL-2.0",
|
|
2772
|
+
"GPL-3.0",
|
|
2773
|
+
"AGPL-3.0",
|
|
2774
|
+
"GPL-2.0-only",
|
|
2775
|
+
"GPL-3.0-only",
|
|
2776
|
+
"AGPL-3.0-only"
|
|
2777
|
+
]);
|
|
2778
|
+
function getLicensePermissiveness(license) {
|
|
2779
|
+
if (!license) return "unknown";
|
|
2780
|
+
const normalized = license.trim();
|
|
2781
|
+
if (permissiveLicenses.has(normalized)) return "permissive";
|
|
2782
|
+
if (weakCopyleftLicenses.has(normalized)) return "weakCopyleft";
|
|
2783
|
+
if (strongCopyleftLicenses.has(normalized)) return "strongCopyleft";
|
|
2784
|
+
const upper = normalized.toUpperCase();
|
|
2785
|
+
if (upper.includes("MIT") || upper.includes("APACHE") || upper.includes("BSD"))
|
|
2786
|
+
return "permissive";
|
|
2787
|
+
if (upper.includes("LGPL") || upper.includes("MPL")) return "weakCopyleft";
|
|
2788
|
+
if (upper.includes("GPL") || upper.includes("AGPL")) return "strongCopyleft";
|
|
2789
|
+
return "unknown";
|
|
2790
|
+
}
|
|
2791
|
+
function getLicenseColor(license) {
|
|
2792
|
+
const permissiveness = getLicensePermissiveness(license);
|
|
2793
|
+
switch (permissiveness) {
|
|
2794
|
+
case "permissive":
|
|
2795
|
+
return "#10b981";
|
|
2796
|
+
// green
|
|
2797
|
+
case "weakCopyleft":
|
|
2798
|
+
return "#f59e0b";
|
|
2799
|
+
// amber/orange
|
|
2800
|
+
case "strongCopyleft":
|
|
2801
|
+
return "#ef4444";
|
|
2802
|
+
// red
|
|
2803
|
+
case "unknown":
|
|
2804
|
+
default:
|
|
2805
|
+
return "#6b7280";
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2727
2808
|
const dependencyTypeOrder = {
|
|
2728
2809
|
peer: 0,
|
|
2729
2810
|
production: 1,
|
|
@@ -2942,19 +3023,45 @@ const PackageDetailCard = ({
|
|
|
2942
3023
|
}
|
|
2943
3024
|
),
|
|
2944
3025
|
/* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
2945
|
-
/* @__PURE__ */
|
|
3026
|
+
/* @__PURE__ */ jsxs(
|
|
2946
3027
|
"div",
|
|
2947
3028
|
{
|
|
2948
3029
|
style: {
|
|
3030
|
+
display: "flex",
|
|
3031
|
+
alignItems: "center",
|
|
3032
|
+
gap: "6px",
|
|
2949
3033
|
fontSize: theme2.fontSizes[2],
|
|
2950
3034
|
fontWeight: theme2.fontWeights.semibold,
|
|
2951
3035
|
fontFamily: theme2.fonts.body,
|
|
2952
3036
|
color: theme2.colors.text,
|
|
2953
|
-
overflow: "hidden"
|
|
2954
|
-
textOverflow: "ellipsis",
|
|
2955
|
-
whiteSpace: "nowrap"
|
|
3037
|
+
overflow: "hidden"
|
|
2956
3038
|
},
|
|
2957
|
-
children:
|
|
3039
|
+
children: [
|
|
3040
|
+
/* @__PURE__ */ jsx(
|
|
3041
|
+
"span",
|
|
3042
|
+
{
|
|
3043
|
+
style: {
|
|
3044
|
+
overflow: "hidden",
|
|
3045
|
+
textOverflow: "ellipsis",
|
|
3046
|
+
whiteSpace: "nowrap"
|
|
3047
|
+
},
|
|
3048
|
+
children: pkg.packageData.name
|
|
3049
|
+
}
|
|
3050
|
+
),
|
|
3051
|
+
pkg.packageData.isPrivate && /* @__PURE__ */ jsx(
|
|
3052
|
+
"span",
|
|
3053
|
+
{
|
|
3054
|
+
title: "Private package - not published to npm",
|
|
3055
|
+
style: {
|
|
3056
|
+
display: "flex",
|
|
3057
|
+
alignItems: "center",
|
|
3058
|
+
flexShrink: 0,
|
|
3059
|
+
color: theme2.colors.textSecondary
|
|
3060
|
+
},
|
|
3061
|
+
children: /* @__PURE__ */ jsx(Lock$1, { size: 14 })
|
|
3062
|
+
}
|
|
3063
|
+
)
|
|
3064
|
+
]
|
|
2958
3065
|
}
|
|
2959
3066
|
),
|
|
2960
3067
|
/* @__PURE__ */ jsxs(
|
|
@@ -2967,7 +3074,17 @@ const PackageDetailCard = ({
|
|
|
2967
3074
|
},
|
|
2968
3075
|
children: [
|
|
2969
3076
|
pkg.packageData.path || "root",
|
|
2970
|
-
pkg.packageData.version && ` - v${pkg.packageData.version}
|
|
3077
|
+
pkg.packageData.version && ` - v${pkg.packageData.version}`,
|
|
3078
|
+
pkg.packageData.license && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3079
|
+
" - ",
|
|
3080
|
+
/* @__PURE__ */ jsx(
|
|
3081
|
+
"span",
|
|
3082
|
+
{
|
|
3083
|
+
style: { color: getLicenseColor(pkg.packageData.license) },
|
|
3084
|
+
children: pkg.packageData.license
|
|
3085
|
+
}
|
|
3086
|
+
)
|
|
3087
|
+
] })
|
|
2971
3088
|
]
|
|
2972
3089
|
}
|
|
2973
3090
|
)
|
|
@@ -3001,7 +3118,7 @@ const PackageDetailCard = ({
|
|
|
3001
3118
|
]
|
|
3002
3119
|
}
|
|
3003
3120
|
),
|
|
3004
|
-
(pkg.packageData.description || pkg.packageData.
|
|
3121
|
+
(pkg.packageData.description || pkg.packageData.author) && /* @__PURE__ */ jsxs(
|
|
3005
3122
|
"div",
|
|
3006
3123
|
{
|
|
3007
3124
|
style: {
|
|
@@ -3024,45 +3141,17 @@ const PackageDetailCard = ({
|
|
|
3024
3141
|
children: pkg.packageData.description
|
|
3025
3142
|
}
|
|
3026
3143
|
),
|
|
3027
|
-
/* @__PURE__ */ jsxs(
|
|
3028
|
-
"
|
|
3144
|
+
(pkg.packageData.author || ((_b = pkg.packageData.authors) == null ? void 0 : _b[0])) && /* @__PURE__ */ jsxs(
|
|
3145
|
+
"span",
|
|
3029
3146
|
{
|
|
3030
3147
|
style: {
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
alignItems: "center"
|
|
3148
|
+
fontSize: theme2.fontSizes[0],
|
|
3149
|
+
fontFamily: theme2.fonts.body,
|
|
3150
|
+
color: theme2.colors.textSecondary
|
|
3035
3151
|
},
|
|
3036
3152
|
children: [
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
{
|
|
3040
|
-
style: {
|
|
3041
|
-
padding: "2px 8px",
|
|
3042
|
-
backgroundColor: theme2.colors.textSecondary + "15",
|
|
3043
|
-
color: theme2.colors.textSecondary,
|
|
3044
|
-
borderRadius: "4px",
|
|
3045
|
-
fontSize: theme2.fontSizes[0],
|
|
3046
|
-
fontWeight: theme2.fontWeights.medium,
|
|
3047
|
-
fontFamily: theme2.fonts.body
|
|
3048
|
-
},
|
|
3049
|
-
children: pkg.packageData.license
|
|
3050
|
-
}
|
|
3051
|
-
),
|
|
3052
|
-
(pkg.packageData.author || ((_b = pkg.packageData.authors) == null ? void 0 : _b[0])) && /* @__PURE__ */ jsxs(
|
|
3053
|
-
"span",
|
|
3054
|
-
{
|
|
3055
|
-
style: {
|
|
3056
|
-
fontSize: theme2.fontSizes[0],
|
|
3057
|
-
fontFamily: theme2.fonts.body,
|
|
3058
|
-
color: theme2.colors.textSecondary
|
|
3059
|
-
},
|
|
3060
|
-
children: [
|
|
3061
|
-
"by ",
|
|
3062
|
-
pkg.packageData.author || ((_c = pkg.packageData.authors) == null ? void 0 : _c[0])
|
|
3063
|
-
]
|
|
3064
|
-
}
|
|
3065
|
-
)
|
|
3153
|
+
"by ",
|
|
3154
|
+
pkg.packageData.author || ((_c = pkg.packageData.authors) == null ? void 0 : _c[0])
|
|
3066
3155
|
]
|
|
3067
3156
|
}
|
|
3068
3157
|
)
|
|
@@ -3546,18 +3635,44 @@ const PackageDetailCard = ({
|
|
|
3546
3635
|
}
|
|
3547
3636
|
),
|
|
3548
3637
|
/* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
3549
|
-
/* @__PURE__ */
|
|
3638
|
+
/* @__PURE__ */ jsxs(
|
|
3550
3639
|
"div",
|
|
3551
3640
|
{
|
|
3552
3641
|
style: {
|
|
3642
|
+
display: "flex",
|
|
3643
|
+
alignItems: "center",
|
|
3644
|
+
gap: "6px",
|
|
3553
3645
|
fontSize: theme2.fontSizes[2],
|
|
3554
3646
|
fontWeight: theme2.fontWeights.semibold,
|
|
3555
3647
|
fontFamily: theme2.fonts.body,
|
|
3556
|
-
overflow: "hidden"
|
|
3557
|
-
textOverflow: "ellipsis",
|
|
3558
|
-
whiteSpace: "nowrap"
|
|
3648
|
+
overflow: "hidden"
|
|
3559
3649
|
},
|
|
3560
|
-
children:
|
|
3650
|
+
children: [
|
|
3651
|
+
/* @__PURE__ */ jsx(
|
|
3652
|
+
"span",
|
|
3653
|
+
{
|
|
3654
|
+
style: {
|
|
3655
|
+
overflow: "hidden",
|
|
3656
|
+
textOverflow: "ellipsis",
|
|
3657
|
+
whiteSpace: "nowrap"
|
|
3658
|
+
},
|
|
3659
|
+
children: pkg.packageData.name
|
|
3660
|
+
}
|
|
3661
|
+
),
|
|
3662
|
+
pkg.packageData.isPrivate && /* @__PURE__ */ jsx(
|
|
3663
|
+
"span",
|
|
3664
|
+
{
|
|
3665
|
+
title: "Private package - not published to npm",
|
|
3666
|
+
style: {
|
|
3667
|
+
display: "flex",
|
|
3668
|
+
alignItems: "center",
|
|
3669
|
+
flexShrink: 0,
|
|
3670
|
+
color: theme2.colors.textSecondary
|
|
3671
|
+
},
|
|
3672
|
+
children: /* @__PURE__ */ jsx(Lock$1, { size: 14 })
|
|
3673
|
+
}
|
|
3674
|
+
)
|
|
3675
|
+
]
|
|
3561
3676
|
}
|
|
3562
3677
|
),
|
|
3563
3678
|
/* @__PURE__ */ jsxs(
|
|
@@ -3570,7 +3685,17 @@ const PackageDetailCard = ({
|
|
|
3570
3685
|
},
|
|
3571
3686
|
children: [
|
|
3572
3687
|
pkg.packageData.path || "root",
|
|
3573
|
-
pkg.packageData.version && ` - v${pkg.packageData.version}
|
|
3688
|
+
pkg.packageData.version && ` - v${pkg.packageData.version}`,
|
|
3689
|
+
pkg.packageData.license && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3690
|
+
" - ",
|
|
3691
|
+
/* @__PURE__ */ jsx(
|
|
3692
|
+
"span",
|
|
3693
|
+
{
|
|
3694
|
+
style: { color: getLicenseColor(pkg.packageData.license) },
|
|
3695
|
+
children: pkg.packageData.license
|
|
3696
|
+
}
|
|
3697
|
+
)
|
|
3698
|
+
] })
|
|
3574
3699
|
]
|
|
3575
3700
|
}
|
|
3576
3701
|
)
|
|
@@ -4126,19 +4251,45 @@ const PackageSummaryCard = ({
|
|
|
4126
4251
|
}
|
|
4127
4252
|
),
|
|
4128
4253
|
/* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
4129
|
-
/* @__PURE__ */
|
|
4254
|
+
/* @__PURE__ */ jsxs(
|
|
4130
4255
|
"div",
|
|
4131
4256
|
{
|
|
4132
4257
|
style: {
|
|
4258
|
+
display: "flex",
|
|
4259
|
+
alignItems: "center",
|
|
4260
|
+
gap: "6px",
|
|
4133
4261
|
fontSize: theme2.fontSizes[3],
|
|
4134
4262
|
fontWeight: theme2.fontWeights.semibold,
|
|
4135
4263
|
fontFamily: theme2.fonts.body,
|
|
4136
4264
|
color: theme2.colors.text,
|
|
4137
|
-
overflow: "hidden"
|
|
4138
|
-
textOverflow: "ellipsis",
|
|
4139
|
-
whiteSpace: "nowrap"
|
|
4265
|
+
overflow: "hidden"
|
|
4140
4266
|
},
|
|
4141
|
-
children:
|
|
4267
|
+
children: [
|
|
4268
|
+
/* @__PURE__ */ jsx(
|
|
4269
|
+
"span",
|
|
4270
|
+
{
|
|
4271
|
+
style: {
|
|
4272
|
+
overflow: "hidden",
|
|
4273
|
+
textOverflow: "ellipsis",
|
|
4274
|
+
whiteSpace: "nowrap"
|
|
4275
|
+
},
|
|
4276
|
+
children: pkg.packageData.name
|
|
4277
|
+
}
|
|
4278
|
+
),
|
|
4279
|
+
pkg.packageData.isPrivate && /* @__PURE__ */ jsx(
|
|
4280
|
+
"span",
|
|
4281
|
+
{
|
|
4282
|
+
title: "Private package - not published to npm",
|
|
4283
|
+
style: {
|
|
4284
|
+
display: "flex",
|
|
4285
|
+
alignItems: "center",
|
|
4286
|
+
flexShrink: 0,
|
|
4287
|
+
color: theme2.colors.textSecondary
|
|
4288
|
+
},
|
|
4289
|
+
children: /* @__PURE__ */ jsx(Lock$1, { size: 14 })
|
|
4290
|
+
}
|
|
4291
|
+
)
|
|
4292
|
+
]
|
|
4142
4293
|
}
|
|
4143
4294
|
),
|
|
4144
4295
|
/* @__PURE__ */ jsx(
|
|
@@ -4185,57 +4336,20 @@ const PackageSummaryCard = ({
|
|
|
4185
4336
|
),
|
|
4186
4337
|
/* @__PURE__ */ jsx(ChevronRight$1, { size: 16, color: theme2.colors.textSecondary })
|
|
4187
4338
|
] }),
|
|
4188
|
-
|
|
4339
|
+
pkg.packageData.description && /* @__PURE__ */ jsx(
|
|
4189
4340
|
"div",
|
|
4190
4341
|
{
|
|
4191
4342
|
style: {
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4343
|
+
fontSize: theme2.fontSizes[1],
|
|
4344
|
+
fontFamily: theme2.fonts.body,
|
|
4345
|
+
color: theme2.colors.textSecondary,
|
|
4346
|
+
lineHeight: 1.4,
|
|
4347
|
+
overflow: "hidden",
|
|
4348
|
+
display: "-webkit-box",
|
|
4349
|
+
WebkitLineClamp: 2,
|
|
4350
|
+
WebkitBoxOrient: "vertical"
|
|
4195
4351
|
},
|
|
4196
|
-
children:
|
|
4197
|
-
pkg.packageData.description && /* @__PURE__ */ jsx(
|
|
4198
|
-
"div",
|
|
4199
|
-
{
|
|
4200
|
-
style: {
|
|
4201
|
-
fontSize: theme2.fontSizes[1],
|
|
4202
|
-
fontFamily: theme2.fonts.body,
|
|
4203
|
-
color: theme2.colors.textSecondary,
|
|
4204
|
-
lineHeight: 1.4,
|
|
4205
|
-
overflow: "hidden",
|
|
4206
|
-
display: "-webkit-box",
|
|
4207
|
-
WebkitLineClamp: 2,
|
|
4208
|
-
WebkitBoxOrient: "vertical"
|
|
4209
|
-
},
|
|
4210
|
-
children: pkg.packageData.description
|
|
4211
|
-
}
|
|
4212
|
-
),
|
|
4213
|
-
pkg.packageData.license && /* @__PURE__ */ jsx(
|
|
4214
|
-
"div",
|
|
4215
|
-
{
|
|
4216
|
-
style: {
|
|
4217
|
-
display: "flex",
|
|
4218
|
-
alignItems: "center",
|
|
4219
|
-
gap: "4px",
|
|
4220
|
-
fontSize: theme2.fontSizes[1]
|
|
4221
|
-
},
|
|
4222
|
-
children: /* @__PURE__ */ jsx(
|
|
4223
|
-
"span",
|
|
4224
|
-
{
|
|
4225
|
-
style: {
|
|
4226
|
-
padding: "1px 6px",
|
|
4227
|
-
backgroundColor: theme2.colors.textSecondary + "15",
|
|
4228
|
-
color: theme2.colors.textSecondary,
|
|
4229
|
-
borderRadius: "3px",
|
|
4230
|
-
fontWeight: theme2.fontWeights.medium,
|
|
4231
|
-
fontFamily: theme2.fonts.body
|
|
4232
|
-
},
|
|
4233
|
-
children: pkg.packageData.license
|
|
4234
|
-
}
|
|
4235
|
-
)
|
|
4236
|
-
}
|
|
4237
|
-
)
|
|
4238
|
-
]
|
|
4352
|
+
children: pkg.packageData.description
|
|
4239
4353
|
}
|
|
4240
4354
|
),
|
|
4241
4355
|
/* @__PURE__ */ jsxs(
|
|
@@ -4253,6 +4367,7 @@ const PackageSummaryCard = ({
|
|
|
4253
4367
|
"v",
|
|
4254
4368
|
pkg.packageData.version
|
|
4255
4369
|
] }),
|
|
4370
|
+
pkg.packageData.license && /* @__PURE__ */ jsx("span", { style: { color: getLicenseColor(pkg.packageData.license) }, children: pkg.packageData.license }),
|
|
4256
4371
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
4257
4372
|
/* @__PURE__ */ jsx(Package$1, { size: 12 }),
|
|
4258
4373
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -4270,6 +4385,7 @@ const PackageSummaryCard = ({
|
|
|
4270
4385
|
const PackageCompositionPanelContent = ({
|
|
4271
4386
|
packages,
|
|
4272
4387
|
isLoading = false,
|
|
4388
|
+
isGitHubPublic,
|
|
4273
4389
|
onCommandClick,
|
|
4274
4390
|
onConfigClick,
|
|
4275
4391
|
onPackageClick,
|
|
@@ -4312,186 +4428,185 @@ const PackageCompositionPanelContent = ({
|
|
|
4312
4428
|
if (packages.length === 0) {
|
|
4313
4429
|
return /* @__PURE__ */ jsx(EmptyDependencies, {});
|
|
4314
4430
|
}
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
PackageDetailCard,
|
|
4318
|
-
{
|
|
4319
|
-
pkg: packages[0],
|
|
4320
|
-
isExpanded: true,
|
|
4321
|
-
onToggle: () => {
|
|
4322
|
-
},
|
|
4323
|
-
onCommandClick,
|
|
4324
|
-
onConfigClick,
|
|
4325
|
-
onPackageClick,
|
|
4326
|
-
standalone: true,
|
|
4327
|
-
readFile
|
|
4328
|
-
}
|
|
4329
|
-
);
|
|
4330
|
-
}
|
|
4331
|
-
return /* @__PURE__ */ jsx(
|
|
4431
|
+
const isSinglePackage = packages.length === 1;
|
|
4432
|
+
return /* @__PURE__ */ jsxs(
|
|
4332
4433
|
"div",
|
|
4333
4434
|
{
|
|
4334
4435
|
style: {
|
|
4335
4436
|
display: "flex",
|
|
4336
4437
|
flexDirection: "column",
|
|
4337
4438
|
height: "100%",
|
|
4338
|
-
overflow: "hidden"
|
|
4339
|
-
position: "relative"
|
|
4439
|
+
overflow: "hidden"
|
|
4340
4440
|
},
|
|
4341
|
-
children:
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4441
|
+
children: [
|
|
4442
|
+
/* @__PURE__ */ jsxs(
|
|
4443
|
+
"div",
|
|
4444
|
+
{
|
|
4445
|
+
style: {
|
|
4446
|
+
height: "40px",
|
|
4447
|
+
padding: "0 16px",
|
|
4448
|
+
backgroundColor: theme2.colors.backgroundSecondary,
|
|
4449
|
+
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
4450
|
+
display: "flex",
|
|
4451
|
+
alignItems: "center",
|
|
4452
|
+
gap: "8px",
|
|
4453
|
+
flexShrink: 0
|
|
4454
|
+
},
|
|
4455
|
+
children: [
|
|
4456
|
+
isGitHubPublic === false ? /* @__PURE__ */ jsx(Lock$1, { size: 16, color: theme2.colors.textSecondary }) : isGitHubPublic === true ? /* @__PURE__ */ jsx(Globe$1, { size: 16, color: theme2.colors.textSecondary }) : /* @__PURE__ */ jsx(FileCode$1, { size: 16, color: theme2.colors.primary }),
|
|
4457
|
+
/* @__PURE__ */ jsx(
|
|
4458
|
+
"span",
|
|
4459
|
+
{
|
|
4460
|
+
style: {
|
|
4461
|
+
fontSize: theme2.fontSizes[1],
|
|
4462
|
+
fontFamily: theme2.fonts.body,
|
|
4463
|
+
color: theme2.colors.textSecondary,
|
|
4464
|
+
flex: 1
|
|
4465
|
+
},
|
|
4466
|
+
title: isGitHubPublic === false ? "This repository is private on GitHub" : isGitHubPublic === true ? "This repository is public on GitHub" : void 0,
|
|
4467
|
+
children: isGitHubPublic === false ? "Private Repo" : isGitHubPublic === true ? "Public Repo" : `${packages.length} packages`
|
|
4468
|
+
}
|
|
4469
|
+
),
|
|
4470
|
+
packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
4471
|
+
"button",
|
|
4472
|
+
{
|
|
4473
|
+
onClick: () => {
|
|
4474
|
+
events == null ? void 0 : events.emit({
|
|
4475
|
+
type: "dependency-graph:open",
|
|
4476
|
+
source: "PackageCompositionPanel",
|
|
4477
|
+
timestamp: Date.now(),
|
|
4478
|
+
payload: { packages }
|
|
4479
|
+
});
|
|
4480
|
+
},
|
|
4481
|
+
style: {
|
|
4482
|
+
display: "flex",
|
|
4483
|
+
alignItems: "center",
|
|
4484
|
+
gap: "4px",
|
|
4485
|
+
padding: "4px 8px",
|
|
4486
|
+
backgroundColor: theme2.colors.backgroundTertiary,
|
|
4487
|
+
border: `1px solid ${theme2.colors.border}`,
|
|
4488
|
+
borderRadius: "4px",
|
|
4489
|
+
color: theme2.colors.text,
|
|
4490
|
+
fontSize: theme2.fontSizes[0],
|
|
4491
|
+
fontFamily: theme2.fonts.body,
|
|
4492
|
+
cursor: "pointer",
|
|
4493
|
+
transition: "all 0.15s ease"
|
|
4494
|
+
},
|
|
4495
|
+
onMouseEnter: (e2) => {
|
|
4496
|
+
e2.currentTarget.style.borderColor = theme2.colors.primary;
|
|
4497
|
+
e2.currentTarget.style.backgroundColor = theme2.colors.primary + "15";
|
|
4498
|
+
},
|
|
4499
|
+
onMouseLeave: (e2) => {
|
|
4500
|
+
e2.currentTarget.style.borderColor = theme2.colors.border;
|
|
4501
|
+
e2.currentTarget.style.backgroundColor = theme2.colors.backgroundTertiary;
|
|
4502
|
+
},
|
|
4503
|
+
title: "Open dependency graph in new tab",
|
|
4504
|
+
children: [
|
|
4505
|
+
/* @__PURE__ */ jsx(GitBranch$1, { size: 12 }),
|
|
4506
|
+
"View Graph"
|
|
4507
|
+
]
|
|
4508
|
+
}
|
|
4509
|
+
)
|
|
4510
|
+
]
|
|
4511
|
+
}
|
|
4512
|
+
),
|
|
4513
|
+
/* @__PURE__ */ jsx(
|
|
4514
|
+
"div",
|
|
4515
|
+
{
|
|
4516
|
+
style: {
|
|
4517
|
+
flex: 1,
|
|
4518
|
+
overflow: "hidden",
|
|
4519
|
+
position: "relative"
|
|
4520
|
+
},
|
|
4521
|
+
children: isSinglePackage ? (
|
|
4522
|
+
// Single package: show detail directly
|
|
4523
|
+
/* @__PURE__ */ jsx(
|
|
4524
|
+
PackageDetailCard,
|
|
4525
|
+
{
|
|
4526
|
+
pkg: packages[0],
|
|
4527
|
+
isExpanded: true,
|
|
4528
|
+
onToggle: () => {
|
|
4529
|
+
},
|
|
4530
|
+
onCommandClick,
|
|
4531
|
+
onConfigClick,
|
|
4532
|
+
onPackageClick,
|
|
4533
|
+
standalone: true,
|
|
4534
|
+
readFile
|
|
4535
|
+
}
|
|
4536
|
+
)
|
|
4537
|
+
) : (
|
|
4538
|
+
// Multi-package: sliding panels
|
|
4539
|
+
/* @__PURE__ */ jsxs(
|
|
4540
|
+
"div",
|
|
4541
|
+
{
|
|
4542
|
+
style: {
|
|
4543
|
+
display: "flex",
|
|
4544
|
+
width: "200%",
|
|
4545
|
+
height: "100%",
|
|
4546
|
+
transform: selectedPackage ? "translateX(-50%)" : "translateX(0)",
|
|
4547
|
+
transition: "transform 0.25s ease-in-out"
|
|
4548
|
+
},
|
|
4549
|
+
children: [
|
|
4550
|
+
/* @__PURE__ */ jsx(
|
|
4551
|
+
"div",
|
|
4552
|
+
{
|
|
4553
|
+
style: {
|
|
4554
|
+
width: "50%",
|
|
4555
|
+
height: "100%",
|
|
4556
|
+
overflow: "auto",
|
|
4557
|
+
display: "flex",
|
|
4558
|
+
flexDirection: "column"
|
|
4559
|
+
},
|
|
4560
|
+
children: sortedPackages.map((pkg) => /* @__PURE__ */ jsx(
|
|
4561
|
+
PackageSummaryCard,
|
|
4394
4562
|
{
|
|
4563
|
+
pkg,
|
|
4564
|
+
allPackages: packages,
|
|
4395
4565
|
onClick: () => {
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
source: "PackageCompositionPanel",
|
|
4399
|
-
timestamp: Date.now(),
|
|
4400
|
-
payload: { packages }
|
|
4401
|
-
});
|
|
4566
|
+
setSelectedPackageId(pkg.id);
|
|
4567
|
+
onPackageSelect == null ? void 0 : onPackageSelect(pkg);
|
|
4402
4568
|
},
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
e2.currentTarget.style.backgroundColor = theme2.colors.backgroundTertiary;
|
|
4569
|
+
onHover: onPackageHover
|
|
4570
|
+
},
|
|
4571
|
+
pkg.id
|
|
4572
|
+
))
|
|
4573
|
+
}
|
|
4574
|
+
),
|
|
4575
|
+
/* @__PURE__ */ jsx(
|
|
4576
|
+
"div",
|
|
4577
|
+
{
|
|
4578
|
+
style: {
|
|
4579
|
+
width: "50%",
|
|
4580
|
+
height: "100%",
|
|
4581
|
+
overflow: "hidden"
|
|
4582
|
+
},
|
|
4583
|
+
children: selectedPackage && /* @__PURE__ */ jsx(
|
|
4584
|
+
PackageDetailCard,
|
|
4585
|
+
{
|
|
4586
|
+
pkg: selectedPackage,
|
|
4587
|
+
isExpanded: true,
|
|
4588
|
+
onToggle: () => {
|
|
4424
4589
|
},
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4590
|
+
onCommandClick,
|
|
4591
|
+
onConfigClick,
|
|
4592
|
+
onPackageClick,
|
|
4593
|
+
standalone: true,
|
|
4594
|
+
readFile,
|
|
4595
|
+
onClose: () => {
|
|
4596
|
+
setSelectedPackageId(null);
|
|
4597
|
+
onPackageSelect == null ? void 0 : onPackageSelect(null);
|
|
4598
|
+
}
|
|
4430
4599
|
}
|
|
4431
4600
|
)
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
{
|
|
4438
|
-
style: {
|
|
4439
|
-
flex: 1,
|
|
4440
|
-
overflow: "auto",
|
|
4441
|
-
display: "flex",
|
|
4442
|
-
flexDirection: "column"
|
|
4443
|
-
},
|
|
4444
|
-
children: sortedPackages.map((pkg) => /* @__PURE__ */ jsx(
|
|
4445
|
-
PackageSummaryCard,
|
|
4446
|
-
{
|
|
4447
|
-
pkg,
|
|
4448
|
-
allPackages: packages,
|
|
4449
|
-
onClick: () => {
|
|
4450
|
-
setSelectedPackageId(pkg.id);
|
|
4451
|
-
onPackageSelect == null ? void 0 : onPackageSelect(pkg);
|
|
4452
|
-
},
|
|
4453
|
-
onHover: onPackageHover
|
|
4454
|
-
},
|
|
4455
|
-
pkg.id
|
|
4456
|
-
))
|
|
4457
|
-
}
|
|
4458
|
-
)
|
|
4459
|
-
]
|
|
4460
|
-
}
|
|
4461
|
-
),
|
|
4462
|
-
/* @__PURE__ */ jsx(
|
|
4463
|
-
"div",
|
|
4464
|
-
{
|
|
4465
|
-
style: {
|
|
4466
|
-
width: "50%",
|
|
4467
|
-
height: "100%",
|
|
4468
|
-
display: "flex",
|
|
4469
|
-
flexDirection: "column",
|
|
4470
|
-
overflow: "hidden"
|
|
4471
|
-
},
|
|
4472
|
-
children: /* @__PURE__ */ jsx("div", { style: { flex: 1, overflow: "hidden" }, children: selectedPackage && /* @__PURE__ */ jsx(
|
|
4473
|
-
PackageDetailCard,
|
|
4474
|
-
{
|
|
4475
|
-
pkg: selectedPackage,
|
|
4476
|
-
isExpanded: true,
|
|
4477
|
-
onToggle: () => {
|
|
4478
|
-
},
|
|
4479
|
-
onCommandClick,
|
|
4480
|
-
onConfigClick,
|
|
4481
|
-
onPackageClick,
|
|
4482
|
-
standalone: true,
|
|
4483
|
-
readFile,
|
|
4484
|
-
onClose: () => {
|
|
4485
|
-
setSelectedPackageId(null);
|
|
4486
|
-
onPackageSelect == null ? void 0 : onPackageSelect(null);
|
|
4487
|
-
}
|
|
4488
|
-
}
|
|
4489
|
-
) })
|
|
4490
|
-
}
|
|
4601
|
+
}
|
|
4602
|
+
)
|
|
4603
|
+
]
|
|
4604
|
+
}
|
|
4605
|
+
)
|
|
4491
4606
|
)
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4607
|
+
}
|
|
4608
|
+
)
|
|
4609
|
+
]
|
|
4495
4610
|
}
|
|
4496
4611
|
);
|
|
4497
4612
|
};
|
|
@@ -4564,10 +4679,12 @@ const PackageCompositionPanelPreview = () => {
|
|
|
4564
4679
|
);
|
|
4565
4680
|
};
|
|
4566
4681
|
const PackageCompositionPanel = ({ context: context2, actions, events }) => {
|
|
4567
|
-
var _a;
|
|
4682
|
+
var _a, _b, _c;
|
|
4568
4683
|
const packagesSlice = context2.packages;
|
|
4684
|
+
const repositorySlice = context2.repository;
|
|
4569
4685
|
const packages = ((_a = packagesSlice == null ? void 0 : packagesSlice.data) == null ? void 0 : _a.packages) ?? [];
|
|
4570
4686
|
const isLoading = (packagesSlice == null ? void 0 : packagesSlice.loading) || false;
|
|
4687
|
+
const isGitHubPublic = (_c = (_b = repositorySlice == null ? void 0 : repositorySlice.data) == null ? void 0 : _b.github) == null ? void 0 : _c.isPublic;
|
|
4571
4688
|
const handlePackageHover = (pkg) => {
|
|
4572
4689
|
events == null ? void 0 : events.emit({
|
|
4573
4690
|
type: "package:hover",
|
|
@@ -4595,6 +4712,7 @@ const PackageCompositionPanel = ({ context: context2, actions, events }) => {
|
|
|
4595
4712
|
{
|
|
4596
4713
|
packages,
|
|
4597
4714
|
isLoading,
|
|
4715
|
+
isGitHubPublic,
|
|
4598
4716
|
onPackageHover: handlePackageHover,
|
|
4599
4717
|
onPackageSelect: handlePackageSelect,
|
|
4600
4718
|
events,
|
|
@@ -105901,7 +106019,7 @@ const browserExt = {
|
|
|
105901
106019
|
},
|
|
105902
106020
|
test: () => true,
|
|
105903
106021
|
load: async () => {
|
|
105904
|
-
await import("./browserAll-
|
|
106022
|
+
await import("./browserAll-BwpFM4g8.js");
|
|
105905
106023
|
}
|
|
105906
106024
|
};
|
|
105907
106025
|
const webworkerExt = {
|
|
@@ -105912,7 +106030,7 @@ const webworkerExt = {
|
|
|
105912
106030
|
},
|
|
105913
106031
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
105914
106032
|
load: async () => {
|
|
105915
|
-
await import("./webworkerAll-
|
|
106033
|
+
await import("./webworkerAll-BJPXeWPD.js");
|
|
105916
106034
|
}
|
|
105917
106035
|
};
|
|
105918
106036
|
class ObservablePoint {
|
|
@@ -118155,19 +118273,19 @@ async function autoDetectRenderer(options) {
|
|
|
118155
118273
|
for (let i2 = 0; i2 < preferredOrder.length; i2++) {
|
|
118156
118274
|
const rendererType = preferredOrder[i2];
|
|
118157
118275
|
if (rendererType === "webgpu" && await isWebGPUSupported()) {
|
|
118158
|
-
const { WebGPURenderer } = await import("./WebGPURenderer-
|
|
118276
|
+
const { WebGPURenderer } = await import("./WebGPURenderer-D6jGDElp.js");
|
|
118159
118277
|
RendererClass = WebGPURenderer;
|
|
118160
118278
|
finalOptions = { ...options, ...options.webgpu };
|
|
118161
118279
|
break;
|
|
118162
118280
|
} else if (rendererType === "webgl" && isWebGLSupported(
|
|
118163
118281
|
options.failIfMajorPerformanceCaveat ?? AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat
|
|
118164
118282
|
)) {
|
|
118165
|
-
const { WebGLRenderer } = await import("./WebGLRenderer-
|
|
118283
|
+
const { WebGLRenderer } = await import("./WebGLRenderer-Cszek_ZT.js");
|
|
118166
118284
|
RendererClass = WebGLRenderer;
|
|
118167
118285
|
finalOptions = { ...options, ...options.webgl };
|
|
118168
118286
|
break;
|
|
118169
118287
|
} else if (rendererType === "canvas") {
|
|
118170
|
-
const { CanvasRenderer } = await import("./CanvasRenderer-
|
|
118288
|
+
const { CanvasRenderer } = await import("./CanvasRenderer-BeZJzGFi.js");
|
|
118171
118289
|
RendererClass = CanvasRenderer;
|
|
118172
118290
|
finalOptions = { ...options, ...options.canvasOptions };
|
|
118173
118291
|
break;
|
|
@@ -138222,4 +138340,4 @@ export {
|
|
|
138222
138340
|
UPDATE_PRIORITY as y,
|
|
138223
138341
|
removeItems as z
|
|
138224
138342
|
};
|
|
138225
|
-
//# sourceMappingURL=index-
|
|
138343
|
+
//# sourceMappingURL=index-CLAlMbIl.js.map
|