@industry-theme/repository-composition-panels 0.7.21 → 0.7.23
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/{browserAll-UdUdeWjS.js → browserAll-6MT3m5a1.js} +3 -3
- package/dist/{browserAll-UdUdeWjS.js.map → browserAll-6MT3m5a1.js.map} +1 -1
- package/dist/{index-c5OYiccd.js → index-Ckze1Emy.js} +553 -345
- package/dist/{index-c5OYiccd.js.map → index-Ckze1Emy.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/{init-Dg06NYWH.js → init-Drxfx9_O.js} +2 -2
- package/dist/{init-Dg06NYWH.js.map → init-Drxfx9_O.js.map} +1 -1
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts +7 -3
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +2 -2
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/cardThemes.d.ts +25 -0
- package/dist/panels/overworld-map/components/cardThemes.d.ts.map +1 -0
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts +10 -2
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts.map +1 -1
- package/dist/panels/overworld-map/index.d.ts +1 -1
- package/dist/panels/overworld-map/index.d.ts.map +1 -1
- package/dist/panels.bundle.js +6 -5
- package/dist/webworkerAll-XH8wWWkO.js +3 -0
- package/dist/webworkerAll-XH8wWWkO.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-BU-TUlj4.js +0 -3
- package/dist/webworkerAll-BU-TUlj4.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { SearchPanel, SearchPanelContent, SearchPanelPreview, } from './panels/S
|
|
|
24
24
|
export type { SearchPanelProps } from './panels/SearchPanel';
|
|
25
25
|
export { DependencyGraphPanel, DependencyGraphPanelContent, DependencyGraphPanelPreview, dependencyTreeToCanvas, applyForceLayout, applySugiyamaLayout, } from './panels/dependency-graph';
|
|
26
26
|
export type { DependencyGraphPanelProps, DependencyCanvasOptions, ForceLayoutOptions, SugiyamaLayoutOptions, } from './panels/dependency-graph';
|
|
27
|
-
export { OverworldMapPanelContent, nodesToOverworldMap, nodesToUnifiedOverworldMap, nodesToOverworldMapCollection, gridToScreen, screenToGrid, MAX_NODES_PER_MAP, RepoSprite, RepoCard, RepoCardStatic, renderSpriteToDataUrl, renderSpriteToDataUrlCached, clearSpriteCache, getSpriteCacheSize, } from './panels/overworld-map';
|
|
27
|
+
export { OverworldMapPanelContent, nodesToOverworldMap, nodesToUnifiedOverworldMap, nodesToOverworldMapCollection, gridToScreen, screenToGrid, MAX_NODES_PER_MAP, RepoSprite, RepoCard, RepoCardStatic, renderSpriteToDataUrl, renderSpriteToDataUrlCached, clearSpriteCache, getSpriteCacheSize, destroySharedApp, } from './panels/overworld-map';
|
|
28
28
|
export type { OverworldMapPanelProps, OverworldMap, OverworldMapCollection, MapRegion, LocationNode, PathConnection, GenericNode, GenericMapperOptions, RepoSpriteProps, RepoSpriteVariant, RepoSpritePackage, RepoCardProps, RepoCardStaticProps, SpriteRenderOptions, } from './panels/overworld-map';
|
|
29
29
|
export { TelemetryCoveragePanel, TelemetryCoveragePanelContent, TelemetryCoveragePanelPreview, } from './panels/TelemetryCoveragePanel';
|
|
30
30
|
export type { TelemetryCoveragePanelProps, PackageTelemetryCoverage, } from './panels/TelemetryCoveragePanel';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAElE;;;;;;;GAOG;AAEH,eAAO,MAAM,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,GAAG,EAAE,GAAG,CAAC,CAuJ3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CAAiC,CAAC;AACzC,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAGrC,YAAY,EACV,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,sCAAsC,CAAC;AAG9C,YAAY,EACV,SAAS,EACT,wBAAwB,EACxB,aAAa,EACb,QAAQ,EACR,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as extensions, F as FilterSystem, a as FilterPipe } from "./index-
|
|
1
|
+
import { e as extensions, F as FilterSystem, a as FilterPipe } from "./index-Ckze1Emy.js";
|
|
2
2
|
extensions.add(FilterSystem);
|
|
3
3
|
extensions.add(FilterPipe);
|
|
4
|
-
//# sourceMappingURL=init-
|
|
4
|
+
//# sourceMappingURL=init-Drxfx9_O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-
|
|
1
|
+
{"version":3,"file":"init-Drxfx9_O.js","sources":["../node_modules/pixi.js/lib/filters/init.mjs"],"sourcesContent":["import { extensions } from '../extensions/Extensions.mjs';\nimport { FilterPipe } from './FilterPipe.mjs';\nimport { FilterSystem } from './FilterSystem.mjs';\n\n\"use strict\";\nextensions.add(FilterSystem);\nextensions.add(FilterPipe);\n//# sourceMappingURL=init.mjs.map\n"],"names":[],"mappings":";AAKA,WAAW,IAAI,YAAY;AAC3B,WAAW,IAAI,UAAU;","x_google_ignoreList":[0]}
|
|
@@ -4,13 +4,18 @@
|
|
|
4
4
|
* Renders the repository sprite as a static PNG image instead of a live
|
|
5
5
|
* WebGL canvas. Use this for contexts where multiple cards are displayed
|
|
6
6
|
* (carousels, grids) to avoid WebGL context limits.
|
|
7
|
+
*
|
|
8
|
+
* Uses the same card styling as RepoSprite's card variant for consistency.
|
|
7
9
|
*/
|
|
8
10
|
import React from 'react';
|
|
9
11
|
import type { AlexandriaEntryWithMetrics } from '../../CollectionMapPanel';
|
|
10
|
-
import type
|
|
12
|
+
import { type CardTheme } from './cardThemes';
|
|
13
|
+
import type { RepoSpritePackage } from './RepoSprite';
|
|
11
14
|
export interface RepoCardStaticProps {
|
|
12
15
|
/** The Alexandria repository entry with metrics */
|
|
13
16
|
repository: AlexandriaEntryWithMetrics;
|
|
17
|
+
/** Packages for monorepo display */
|
|
18
|
+
packages?: RepoSpritePackage[];
|
|
14
19
|
/** Card color theme */
|
|
15
20
|
cardTheme?: CardTheme;
|
|
16
21
|
/** Width of the card */
|
|
@@ -19,11 +24,10 @@ export interface RepoCardStaticProps {
|
|
|
19
24
|
height?: number;
|
|
20
25
|
/** Size of the sprite area */
|
|
21
26
|
spriteSize?: number;
|
|
22
|
-
/** Show metadata below sprite */
|
|
23
|
-
showMetadata?: boolean;
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
29
|
* RepoCardStatic renders a repository as a static image card
|
|
30
|
+
* with the same styling as RepoSprite's card variant
|
|
27
31
|
*/
|
|
28
32
|
export declare const RepoCardStatic: React.FC<RepoCardStaticProps>;
|
|
29
33
|
export default RepoCardStatic;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepoCardStatic.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/RepoCardStatic.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"RepoCardStatic.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/RepoCardStatic.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAE3E,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAqEtD,MAAM,WAAW,mBAAmB;IAClC,mDAAmD;IACnD,UAAU,EAAE,0BAA0B,CAAC;IAEvC,oCAAoC;IACpC,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAE/B,uBAAuB;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+VxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* Uses the same rendering logic as the overworld map for visual consistency
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
+
import { type CardTheme } from './cardThemes';
|
|
7
|
+
export type { CardTheme };
|
|
6
8
|
/** Display variant for the sprite */
|
|
7
9
|
export type RepoSpriteVariant = 'default' | 'card';
|
|
8
10
|
/** Package definition for monorepos */
|
|
@@ -11,8 +13,6 @@ export interface RepoSpritePackage {
|
|
|
11
13
|
color?: number | string;
|
|
12
14
|
size?: number;
|
|
13
15
|
}
|
|
14
|
-
/** Card color theme */
|
|
15
|
-
export type CardTheme = 'blue' | 'red' | 'green' | 'purple' | 'gold' | 'dark';
|
|
16
16
|
export interface RepoSpriteProps {
|
|
17
17
|
/** Size multiplier (1.0 - 4.0) */
|
|
18
18
|
size?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepoSprite.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/RepoSprite.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RepoSprite.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/RepoSprite.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAyBjD,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,YAAY,EAAE,SAAS,EAAE,CAAC;AAM1B,qCAAqC;AACrC,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnD,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8GAA8G;IAC9G,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sDAAsD;IACtD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,0DAA0D;IAC1D,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAqED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgiBhD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared card theme definitions
|
|
3
|
+
*
|
|
4
|
+
* Used by both RepoSprite (live WebGL) and RepoCardStatic (static PNG)
|
|
5
|
+
* to ensure visual consistency.
|
|
6
|
+
*/
|
|
7
|
+
/** Card color theme */
|
|
8
|
+
export type CardTheme = 'blue' | 'red' | 'green' | 'purple' | 'gold' | 'dark';
|
|
9
|
+
/** Color scheme for card themes */
|
|
10
|
+
export interface CardThemeColors {
|
|
11
|
+
cardBg: string;
|
|
12
|
+
cardBorder: string;
|
|
13
|
+
cardHighlight: string;
|
|
14
|
+
windowGradient: [string, string];
|
|
15
|
+
panelGradient: [string, string];
|
|
16
|
+
panelBorder: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const cardThemes: Record<CardTheme, CardThemeColors>;
|
|
19
|
+
/** License border colors - matches licenseSignSprites visual language */
|
|
20
|
+
export declare const licenseBorderColors: Record<string, string>;
|
|
21
|
+
/**
|
|
22
|
+
* Format number for display (e.g., 1.2k, 45.3k)
|
|
23
|
+
*/
|
|
24
|
+
export declare function formatCount(count: number): string;
|
|
25
|
+
//# sourceMappingURL=cardThemes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardThemes.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/cardThemes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,uBAAuB;AACvB,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9E,mCAAmC;AACnC,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,eAAe,CAiDzD,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAYtD,CAAC;AAEF;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIjD"}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Renders RepoSprite configurations to PNG data URLs for use in contexts
|
|
5
5
|
* where multiple WebGL contexts would be problematic (e.g., carousels).
|
|
6
|
+
*
|
|
7
|
+
* Uses a single shared PixiJS Application and a render queue to avoid
|
|
8
|
+
* WebGL context limits.
|
|
6
9
|
*/
|
|
7
10
|
import type { RepoSpritePackage } from './RepoSprite';
|
|
8
11
|
export interface SpriteRenderOptions {
|
|
@@ -32,8 +35,8 @@ export interface SpriteRenderOptions {
|
|
|
32
35
|
/**
|
|
33
36
|
* Render a sprite configuration to a PNG data URL
|
|
34
37
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
38
|
+
* Uses a shared PixiJS application and queues renders to avoid
|
|
39
|
+
* WebGL context limits.
|
|
37
40
|
*/
|
|
38
41
|
export declare function renderSpriteToDataUrl(options: SpriteRenderOptions): Promise<string>;
|
|
39
42
|
/**
|
|
@@ -50,4 +53,9 @@ export declare function clearSpriteCache(): void;
|
|
|
50
53
|
* Get the current cache size
|
|
51
54
|
*/
|
|
52
55
|
export declare function getSpriteCacheSize(): number;
|
|
56
|
+
/**
|
|
57
|
+
* Destroy the shared PixiJS application
|
|
58
|
+
* Call this when you're done with sprite rendering to free resources
|
|
59
|
+
*/
|
|
60
|
+
export declare function destroySharedApp(): void;
|
|
53
61
|
//# sourceMappingURL=spriteRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spriteRenderer.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/spriteRenderer.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"spriteRenderer.d.ts","sourceRoot":"","sources":["../../../../src/panels/overworld-map/components/spriteRenderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAqBtD,MAAM,WAAW,mBAAmB;IAClC,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAqTD;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,MAAM,CAAC,CAKjB;AAsBD;;;;GAIG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,MAAM,CAAC,CAYjB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC"}
|
|
@@ -14,6 +14,6 @@ export { RepoCard } from './components/RepoCard';
|
|
|
14
14
|
export type { RepoCardProps } from './components/RepoCard';
|
|
15
15
|
export { RepoCardStatic } from './components/RepoCardStatic';
|
|
16
16
|
export type { RepoCardStaticProps } from './components/RepoCardStatic';
|
|
17
|
-
export { renderSpriteToDataUrl, renderSpriteToDataUrlCached, clearSpriteCache, getSpriteCacheSize, } from './components/spriteRenderer';
|
|
17
|
+
export { renderSpriteToDataUrl, renderSpriteToDataUrlCached, clearSpriteCache, getSpriteCacheSize, destroySharedApp, } from './components/spriteRenderer';
|
|
18
18
|
export type { SpriteRenderOptions } from './components/spriteRenderer';
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/overworld-map/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,YAAY,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AS,CAAC;AAGjB,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAGtE,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAGzE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N, Q, D, l, m, G, f, g, M, O, P, h, i, x, y, R, S, j, k, T, K, L, q, r, H, n, J, I, v, s, u, t, o, d, p, z, B, w } from "./index-Ckze1Emy.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
N as CollectionMapPanel,
|
|
4
|
+
Q as CollectionMapPanelContent,
|
|
5
5
|
D as DependencyGraphPanel,
|
|
6
6
|
l as DependencyGraphPanelContent,
|
|
7
7
|
m as DependencyGraphPanelPreview,
|
|
@@ -20,12 +20,13 @@ export {
|
|
|
20
20
|
j as SearchPanelContent,
|
|
21
21
|
k as SearchPanelPreview,
|
|
22
22
|
T as TelemetryCoveragePanel,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
K as TelemetryCoveragePanelContent,
|
|
24
|
+
L as TelemetryCoveragePanelPreview,
|
|
25
25
|
q as applyForceLayout,
|
|
26
26
|
r as applySugiyamaLayout,
|
|
27
27
|
H as clearSpriteCache,
|
|
28
28
|
n as dependencyTreeToCanvas,
|
|
29
|
+
J as destroySharedApp,
|
|
29
30
|
I as getSpriteCacheSize,
|
|
30
31
|
v as gridToScreen,
|
|
31
32
|
s as nodesToOverworldMap,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webworkerAll-XH8wWWkO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webworkerAll-BU-TUlj4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|