@industry-theme/repository-composition-panels 0.7.16 → 0.7.17
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-XNN46GKF.js → browserAll-BWR83R0-.js} +3 -3
- package/dist/{browserAll-XNN46GKF.js.map → browserAll-BWR83R0-.js.map} +1 -1
- package/dist/{index-Bt-XsLNt.js → index-BsDrFty7.js} +70 -18
- package/dist/{index-Bt-XsLNt.js.map → index-BsDrFty7.js.map} +1 -1
- package/dist/{init-Ccb5WXmw.js → init-BViSvzO2.js} +2 -2
- package/dist/{init-Ccb5WXmw.js.map → init-BViSvzO2.js.map} +1 -1
- package/dist/panels/overworld-map/components/IsometricRenderer.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +4 -0
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-DkB5mV_6.js +3 -0
- package/dist/webworkerAll-DkB5mV_6.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-Ez5pUZRt.js +0 -3
- package/dist/webworkerAll-Ez5pUZRt.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-
|
|
2
|
-
import "./init-
|
|
1
|
+
import { e as extensions, A as AccessibilitySystem, C as Container, b as accessibilityTarget, E as EventSystem, c as FederatedContainer } from "./index-BsDrFty7.js";
|
|
2
|
+
import "./init-BViSvzO2.js";
|
|
3
3
|
extensions.add(AccessibilitySystem);
|
|
4
4
|
extensions.mixin(Container, accessibilityTarget);
|
|
5
5
|
extensions.add(EventSystem);
|
|
6
6
|
extensions.mixin(Container, FederatedContainer);
|
|
7
|
-
//# sourceMappingURL=browserAll-
|
|
7
|
+
//# sourceMappingURL=browserAll-BWR83R0-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAll-
|
|
1
|
+
{"version":3,"file":"browserAll-BWR83R0-.js","sources":["../node_modules/pixi.js/lib/accessibility/init.mjs","../node_modules/pixi.js/lib/events/init.mjs"],"sourcesContent":["import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { AccessibilitySystem } from './AccessibilitySystem.mjs';\nimport { accessibilityTarget } from './accessibilityTarget.mjs';\n\n\"use strict\";\nextensions.add(AccessibilitySystem);\nextensions.mixin(Container, accessibilityTarget);\n//# sourceMappingURL=init.mjs.map\n","import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { EventSystem } from './EventSystem.mjs';\nimport { FederatedContainer } from './FederatedEventTarget.mjs';\n\n\"use strict\";\nextensions.add(EventSystem);\nextensions.mixin(Container, FederatedContainer);\n//# sourceMappingURL=init.mjs.map\n"],"names":[],"mappings":";;AAMA,WAAW,IAAI,mBAAmB;AAClC,WAAW,MAAM,WAAW,mBAAmB;ACD/C,WAAW,IAAI,WAAW;AAC1B,WAAW,MAAM,WAAW,kBAAkB;","x_google_ignoreList":[0,1]}
|
|
@@ -106207,7 +106207,7 @@ const browserExt = {
|
|
|
106207
106207
|
},
|
|
106208
106208
|
test: () => true,
|
|
106209
106209
|
load: async () => {
|
|
106210
|
-
await import("./browserAll-
|
|
106210
|
+
await import("./browserAll-BWR83R0-.js");
|
|
106211
106211
|
}
|
|
106212
106212
|
};
|
|
106213
106213
|
const webworkerExt = {
|
|
@@ -106218,7 +106218,7 @@ const webworkerExt = {
|
|
|
106218
106218
|
},
|
|
106219
106219
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106220
106220
|
load: async () => {
|
|
106221
|
-
await import("./webworkerAll-
|
|
106221
|
+
await import("./webworkerAll-DkB5mV_6.js");
|
|
106222
106222
|
}
|
|
106223
106223
|
};
|
|
106224
106224
|
class ObservablePoint {
|
|
@@ -148126,7 +148126,7 @@ function generateMITFlowerArch(config) {
|
|
|
148126
148126
|
fontFamily: "Arial",
|
|
148127
148127
|
fontWeight: "bold"
|
|
148128
148128
|
},
|
|
148129
|
-
resolution:
|
|
148129
|
+
resolution: 16
|
|
148130
148130
|
});
|
|
148131
148131
|
mitText.anchor.set(0.5, 0.5);
|
|
148132
148132
|
mitText.y = flagTop + flagHeight * 0.5;
|
|
@@ -148161,7 +148161,7 @@ function generateMITFlowerArch(config) {
|
|
|
148161
148161
|
fontFamily: "Arial",
|
|
148162
148162
|
fontWeight: "600"
|
|
148163
148163
|
},
|
|
148164
|
-
resolution:
|
|
148164
|
+
resolution: 16
|
|
148165
148165
|
});
|
|
148166
148166
|
nameText.anchor.set(0.5, 0.5);
|
|
148167
148167
|
nameText.y = signBoardY + signHeight / 2;
|
|
@@ -148341,7 +148341,7 @@ function generateApacheSign(config) {
|
|
|
148341
148341
|
fontFamily: "Arial",
|
|
148342
148342
|
fontWeight: "600"
|
|
148343
148343
|
},
|
|
148344
|
-
resolution:
|
|
148344
|
+
resolution: 16
|
|
148345
148345
|
});
|
|
148346
148346
|
nameText.anchor.set(0.5, 0.5);
|
|
148347
148347
|
nameText.y = signBoardY + signBoardHeight / 2;
|
|
@@ -148474,7 +148474,7 @@ function generateGPLSign(config) {
|
|
|
148474
148474
|
fontFamily: "Arial",
|
|
148475
148475
|
fontWeight: "bold"
|
|
148476
148476
|
},
|
|
148477
|
-
resolution:
|
|
148477
|
+
resolution: 16
|
|
148478
148478
|
});
|
|
148479
148479
|
gplText.anchor.set(0.5, 0.5);
|
|
148480
148480
|
gplText.y = flagTop + flagHeight * 0.5;
|
|
@@ -148518,7 +148518,7 @@ function generateGPLSign(config) {
|
|
|
148518
148518
|
fontFamily: "Arial",
|
|
148519
148519
|
fontWeight: "600"
|
|
148520
148520
|
},
|
|
148521
|
-
resolution:
|
|
148521
|
+
resolution: 16
|
|
148522
148522
|
});
|
|
148523
148523
|
nameText.anchor.set(0.5, 0.5);
|
|
148524
148524
|
nameText.y = signBoardY + signBoardHeight / 2;
|
|
@@ -149065,7 +149065,7 @@ class IsometricRenderer {
|
|
|
149065
149065
|
fontFamily: "Arial",
|
|
149066
149066
|
fontWeight: "500"
|
|
149067
149067
|
},
|
|
149068
|
-
resolution:
|
|
149068
|
+
resolution: 16
|
|
149069
149069
|
});
|
|
149070
149070
|
hoverLabel.anchor.set(0.5, 0);
|
|
149071
149071
|
hoverLabel.visible = false;
|
|
@@ -149156,11 +149156,20 @@ class IsometricRenderer {
|
|
|
149156
149156
|
fontWeight: "bold",
|
|
149157
149157
|
stroke: { color: 0, width: 2 }
|
|
149158
149158
|
},
|
|
149159
|
-
resolution:
|
|
149159
|
+
resolution: 16
|
|
149160
149160
|
});
|
|
149161
149161
|
countText.x = decorationX - dim.w * 1.5 * sizeMultiplier / 2;
|
|
149162
149162
|
countText.y = decorationY + 4;
|
|
149163
149163
|
countText.anchor.set(0.5, 0);
|
|
149164
|
+
countText.visible = false;
|
|
149165
|
+
decoration.eventMode = "static";
|
|
149166
|
+
decoration.cursor = "pointer";
|
|
149167
|
+
decoration.on("pointerover", () => {
|
|
149168
|
+
countText.visible = true;
|
|
149169
|
+
});
|
|
149170
|
+
decoration.on("pointerout", () => {
|
|
149171
|
+
countText.visible = false;
|
|
149172
|
+
});
|
|
149164
149173
|
container.addChild(countText);
|
|
149165
149174
|
}
|
|
149166
149175
|
}
|
|
@@ -149208,11 +149217,20 @@ class IsometricRenderer {
|
|
|
149208
149217
|
fontWeight: "bold",
|
|
149209
149218
|
stroke: { color: 0, width: 2 }
|
|
149210
149219
|
},
|
|
149211
|
-
resolution:
|
|
149220
|
+
resolution: 16
|
|
149212
149221
|
});
|
|
149213
149222
|
countText.x = decorationX + dim.w * 1.5 * sizeMultiplier / 2;
|
|
149214
149223
|
countText.y = decorationY + 4;
|
|
149215
149224
|
countText.anchor.set(0.5, 0);
|
|
149225
|
+
countText.visible = false;
|
|
149226
|
+
decoration.eventMode = "static";
|
|
149227
|
+
decoration.cursor = "pointer";
|
|
149228
|
+
decoration.on("pointerover", () => {
|
|
149229
|
+
countText.visible = true;
|
|
149230
|
+
});
|
|
149231
|
+
decoration.on("pointerout", () => {
|
|
149232
|
+
countText.visible = false;
|
|
149233
|
+
});
|
|
149216
149234
|
container.addChild(countText);
|
|
149217
149235
|
}
|
|
149218
149236
|
}
|
|
@@ -149268,7 +149286,7 @@ class IsometricRenderer {
|
|
|
149268
149286
|
fontWeight: "500",
|
|
149269
149287
|
fontStyle: "italic"
|
|
149270
149288
|
},
|
|
149271
|
-
resolution:
|
|
149289
|
+
resolution: 16
|
|
149272
149290
|
});
|
|
149273
149291
|
label.x = screenX;
|
|
149274
149292
|
label.y = screenY + footprintHeight * 0.6 + 12;
|
|
@@ -149433,8 +149451,8 @@ class IsometricRenderer {
|
|
|
149433
149451
|
fontFamily: "Arial",
|
|
149434
149452
|
fontWeight: "500"
|
|
149435
149453
|
},
|
|
149436
|
-
resolution:
|
|
149437
|
-
// Render at
|
|
149454
|
+
resolution: 16
|
|
149455
|
+
// Render at 16x for crisp text when zoomed out
|
|
149438
149456
|
});
|
|
149439
149457
|
label.x = screenX;
|
|
149440
149458
|
label.y = screenY + sprite.height * 0.15 + 8;
|
|
@@ -149537,11 +149555,20 @@ class IsometricRenderer {
|
|
|
149537
149555
|
fontWeight: "bold",
|
|
149538
149556
|
stroke: { color: 0, width: 2 }
|
|
149539
149557
|
},
|
|
149540
|
-
resolution:
|
|
149558
|
+
resolution: 16
|
|
149541
149559
|
});
|
|
149542
149560
|
countText.x = -(dim.w * starScale) / 2;
|
|
149543
149561
|
countText.y = 4;
|
|
149544
149562
|
countText.anchor.set(0.5, 0);
|
|
149563
|
+
countText.visible = false;
|
|
149564
|
+
decoration.eventMode = "static";
|
|
149565
|
+
decoration.cursor = "pointer";
|
|
149566
|
+
decoration.on("pointerover", () => {
|
|
149567
|
+
countText.visible = true;
|
|
149568
|
+
});
|
|
149569
|
+
decoration.on("pointerout", () => {
|
|
149570
|
+
countText.visible = false;
|
|
149571
|
+
});
|
|
149545
149572
|
starDecoration.addChild(countText);
|
|
149546
149573
|
starDecoration.x = screenX - footprint.width / 2;
|
|
149547
149574
|
starDecoration.y = screenY;
|
|
@@ -149592,11 +149619,20 @@ class IsometricRenderer {
|
|
|
149592
149619
|
fontWeight: "bold",
|
|
149593
149620
|
stroke: { color: 0, width: 2 }
|
|
149594
149621
|
},
|
|
149595
|
-
resolution:
|
|
149622
|
+
resolution: 16
|
|
149596
149623
|
});
|
|
149597
149624
|
countText.x = dim.w * collabScale / 2;
|
|
149598
149625
|
countText.y = 4;
|
|
149599
149626
|
countText.anchor.set(0.5, 0);
|
|
149627
|
+
countText.visible = false;
|
|
149628
|
+
decoration.eventMode = "static";
|
|
149629
|
+
decoration.cursor = "pointer";
|
|
149630
|
+
decoration.on("pointerover", () => {
|
|
149631
|
+
countText.visible = true;
|
|
149632
|
+
});
|
|
149633
|
+
decoration.on("pointerout", () => {
|
|
149634
|
+
countText.visible = false;
|
|
149635
|
+
});
|
|
149600
149636
|
collaboratorDecoration.addChild(countText);
|
|
149601
149637
|
collaboratorDecoration.x = screenX + footprint.width / 2;
|
|
149602
149638
|
collaboratorDecoration.y = screenY;
|
|
@@ -153921,7 +153957,9 @@ const RepoSprite = ({
|
|
|
153921
153957
|
backgroundColor,
|
|
153922
153958
|
showBoundary = true,
|
|
153923
153959
|
boundaryColor = 16776960,
|
|
153924
|
-
debug = false
|
|
153960
|
+
debug = false,
|
|
153961
|
+
onPackageHover,
|
|
153962
|
+
onPackageHoverEnd
|
|
153925
153963
|
}) => {
|
|
153926
153964
|
const { theme: theme2 } = useTheme();
|
|
153927
153965
|
const containerRef = useRef(null);
|
|
@@ -153992,6 +154030,18 @@ const RepoSprite = ({
|
|
|
153992
154030
|
});
|
|
153993
154031
|
buildingGraphics.x = pos.x;
|
|
153994
154032
|
buildingGraphics.y = pos.y;
|
|
154033
|
+
buildingGraphics.eventMode = "static";
|
|
154034
|
+
buildingGraphics.cursor = "pointer";
|
|
154035
|
+
const originalTint = buildingGraphics.tint;
|
|
154036
|
+
const packageName = pkg.name;
|
|
154037
|
+
buildingGraphics.on("pointerover", () => {
|
|
154038
|
+
buildingGraphics.tint = 8965375;
|
|
154039
|
+
onPackageHover == null ? void 0 : onPackageHover(packageName);
|
|
154040
|
+
});
|
|
154041
|
+
buildingGraphics.on("pointerout", () => {
|
|
154042
|
+
buildingGraphics.tint = originalTint;
|
|
154043
|
+
onPackageHoverEnd == null ? void 0 : onPackageHoverEnd(packageName);
|
|
154044
|
+
});
|
|
153995
154045
|
mainContainer.addChild(buildingGraphics);
|
|
153996
154046
|
}
|
|
153997
154047
|
} else {
|
|
@@ -154089,7 +154139,9 @@ const RepoSprite = ({
|
|
|
154089
154139
|
backgroundColor,
|
|
154090
154140
|
showBoundary,
|
|
154091
154141
|
boundaryColor,
|
|
154092
|
-
debug
|
|
154142
|
+
debug,
|
|
154143
|
+
onPackageHover,
|
|
154144
|
+
onPackageHoverEnd
|
|
154093
154145
|
]);
|
|
154094
154146
|
if (variant === "card") {
|
|
154095
154147
|
return /* @__PURE__ */ jsxs(
|
|
@@ -154453,4 +154505,4 @@ export {
|
|
|
154453
154505
|
TelemetryCoveragePanelPreview as y,
|
|
154454
154506
|
CollectionMapPanel as z
|
|
154455
154507
|
};
|
|
154456
|
-
//# sourceMappingURL=index-
|
|
154508
|
+
//# sourceMappingURL=index-BsDrFty7.js.map
|