@industry-theme/repository-composition-panels 0.7.9 → 0.7.11
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-tJVgbc59.js → BufferResource-6gem3CqS.js} +2 -2
- package/dist/{BufferResource-tJVgbc59.js.map → BufferResource-6gem3CqS.js.map} +1 -1
- package/dist/{CanvasRenderer-BMQBT798.js → CanvasRenderer-edr9w5k5.js} +3 -3
- package/dist/{CanvasRenderer-BMQBT798.js.map → CanvasRenderer-edr9w5k5.js.map} +1 -1
- package/dist/{Filter-VlmwRktd.js → Filter-BNywBw6o.js} +2 -2
- package/dist/{Filter-VlmwRktd.js.map → Filter-BNywBw6o.js.map} +1 -1
- package/dist/{RenderTargetSystem-kszI6iwx.js → RenderTargetSystem-BFtAvhWW.js} +3 -3
- package/dist/{RenderTargetSystem-kszI6iwx.js.map → RenderTargetSystem-BFtAvhWW.js.map} +1 -1
- package/dist/{WebGLRenderer-CLI9KBvb.js → WebGLRenderer-DqXfwQ5Z.js} +4 -4
- package/dist/{WebGLRenderer-CLI9KBvb.js.map → WebGLRenderer-DqXfwQ5Z.js.map} +1 -1
- package/dist/{WebGPURenderer-Bk9GZQ23.js → WebGPURenderer-BPeDIyIX.js} +4 -4
- package/dist/{WebGPURenderer-Bk9GZQ23.js.map → WebGPURenderer-BPeDIyIX.js.map} +1 -1
- package/dist/{browserAll-TetdT1fR.js → browserAll-DRQiwl3u.js} +3 -3
- package/dist/{browserAll-TetdT1fR.js.map → browserAll-DRQiwl3u.js.map} +1 -1
- package/dist/{index-B_w7mlVu.js → index-C8q6hFov.js} +50 -65
- package/dist/{index-B_w7mlVu.js.map → index-C8q6hFov.js.map} +1 -1
- package/dist/{init-BoYf1Yr_.js → init-CAjF2nwX.js} +3 -3
- package/dist/{init-BoYf1Yr_.js.map → init-CAjF2nwX.js.map} +1 -1
- package/dist/panels/GitChangesPanel.d.ts.map +1 -1
- package/dist/panels/overworld-map/OverworldMapPanel.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/IsometricRenderer.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-Crkzljpi.js +3 -0
- package/dist/webworkerAll-Crkzljpi.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-Cwo87khm.js +0 -3
- package/dist/webworkerAll-Cwo87khm.js.map +0 -1
|
@@ -834,32 +834,21 @@ const GitChangesPanelContent = ({
|
|
|
834
834
|
status: "??"
|
|
835
835
|
}))
|
|
836
836
|
];
|
|
837
|
-
const filteredStatusData = searchTerm ? statusData.filter(
|
|
838
|
-
(item) => item.filePath.toLowerCase().includes(searchTerm.toLowerCase())
|
|
839
|
-
) : statusData;
|
|
840
837
|
let filteredTree = fileTree;
|
|
841
838
|
if (searchTerm && fileTree.allFiles) {
|
|
842
|
-
const
|
|
843
|
-
const
|
|
839
|
+
const searchLower = searchTerm.toLowerCase();
|
|
840
|
+
const matchingFiles = fileTree.allFiles.filter(
|
|
841
|
+
(file) => file.path.toLowerCase().includes(searchLower)
|
|
842
|
+
);
|
|
844
843
|
const matchingPaths = /* @__PURE__ */ new Set();
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
for (let i2 = 1; i2 < parts.length; i2++) {
|
|
851
|
-
const parentPath = `${rootPath2}/${parts.slice(0, i2).join("/")}`;
|
|
852
|
-
matchingPaths.add(parentPath);
|
|
853
|
-
}
|
|
854
|
-
} else {
|
|
855
|
-
matchingPaths.add(item.filePath);
|
|
856
|
-
const parts = item.filePath.split("/");
|
|
857
|
-
for (let i2 = 1; i2 < parts.length; i2++) {
|
|
858
|
-
matchingPaths.add(parts.slice(0, i2).join("/"));
|
|
859
|
-
}
|
|
844
|
+
matchingFiles.forEach((file) => {
|
|
845
|
+
matchingPaths.add(file.path);
|
|
846
|
+
const parts = file.path.split("/");
|
|
847
|
+
for (let i2 = 1; i2 < parts.length; i2++) {
|
|
848
|
+
matchingPaths.add(parts.slice(0, i2).join("/"));
|
|
860
849
|
}
|
|
861
850
|
});
|
|
862
|
-
matchingPaths.add(
|
|
851
|
+
matchingPaths.add(fileTree.root.path);
|
|
863
852
|
const filteredAllFiles = fileTree.allFiles.filter(
|
|
864
853
|
(file) => matchingPaths.has(file.path)
|
|
865
854
|
);
|
|
@@ -892,7 +881,7 @@ const GitChangesPanelContent = ({
|
|
|
892
881
|
}
|
|
893
882
|
};
|
|
894
883
|
}
|
|
895
|
-
return { tree: filteredTree, statusData
|
|
884
|
+
return { tree: filteredTree, statusData };
|
|
896
885
|
}, [isLoading, fileTree, gitStatus, searchTerm]);
|
|
897
886
|
const renderContent = () => {
|
|
898
887
|
if (isLoading) {
|
|
@@ -953,42 +942,25 @@ const GitChangesPanelContent = ({
|
|
|
953
942
|
};
|
|
954
943
|
return /* @__PURE__ */ jsxs("div", { style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
955
944
|
/* @__PURE__ */ jsx(
|
|
956
|
-
"
|
|
945
|
+
"input",
|
|
957
946
|
{
|
|
947
|
+
type: "text",
|
|
948
|
+
placeholder: "Filter files...",
|
|
949
|
+
value: searchTerm,
|
|
950
|
+
onChange: (e2) => setSearchTerm(e2.target.value),
|
|
958
951
|
style: {
|
|
959
|
-
|
|
952
|
+
width: "100%",
|
|
953
|
+
padding: "0 16px",
|
|
954
|
+
fontSize: theme2.fontSizes[1],
|
|
955
|
+
fontFamily: theme2.fonts.body,
|
|
956
|
+
color: theme2.colors.text,
|
|
957
|
+
backgroundColor: theme2.colors.backgroundSecondary,
|
|
958
|
+
border: "none",
|
|
960
959
|
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}
|
|
965
|
-
children: /* @__PURE__ */ jsx(
|
|
966
|
-
"input",
|
|
967
|
-
{
|
|
968
|
-
type: "text",
|
|
969
|
-
placeholder: "Filter files...",
|
|
970
|
-
value: searchTerm,
|
|
971
|
-
onChange: (e2) => setSearchTerm(e2.target.value),
|
|
972
|
-
style: {
|
|
973
|
-
width: "100%",
|
|
974
|
-
padding: "4px 10px",
|
|
975
|
-
fontSize: theme2.fontSizes[1],
|
|
976
|
-
fontFamily: theme2.fonts.body,
|
|
977
|
-
color: theme2.colors.text,
|
|
978
|
-
backgroundColor: theme2.colors.backgroundSecondary,
|
|
979
|
-
border: `1px solid ${theme2.colors.border}`,
|
|
980
|
-
borderRadius: "4px",
|
|
981
|
-
outline: "none",
|
|
982
|
-
boxSizing: "border-box"
|
|
983
|
-
},
|
|
984
|
-
onFocus: (e2) => {
|
|
985
|
-
e2.target.style.borderColor = theme2.colors.primary;
|
|
986
|
-
},
|
|
987
|
-
onBlur: (e2) => {
|
|
988
|
-
e2.target.style.borderColor = theme2.colors.border;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
)
|
|
960
|
+
outline: "none",
|
|
961
|
+
boxSizing: "border-box",
|
|
962
|
+
height: "40px"
|
|
963
|
+
}
|
|
992
964
|
}
|
|
993
965
|
),
|
|
994
966
|
/* @__PURE__ */ jsx("div", { style: { flex: 1, overflow: "auto" }, children: renderContent() }),
|
|
@@ -106235,7 +106207,7 @@ const browserExt = {
|
|
|
106235
106207
|
},
|
|
106236
106208
|
test: () => true,
|
|
106237
106209
|
load: async () => {
|
|
106238
|
-
await import("./browserAll-
|
|
106210
|
+
await import("./browserAll-DRQiwl3u.js");
|
|
106239
106211
|
}
|
|
106240
106212
|
};
|
|
106241
106213
|
const webworkerExt = {
|
|
@@ -106246,7 +106218,7 @@ const webworkerExt = {
|
|
|
106246
106218
|
},
|
|
106247
106219
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106248
106220
|
load: async () => {
|
|
106249
|
-
await import("./webworkerAll-
|
|
106221
|
+
await import("./webworkerAll-Crkzljpi.js");
|
|
106250
106222
|
}
|
|
106251
106223
|
};
|
|
106252
106224
|
class ObservablePoint {
|
|
@@ -118489,19 +118461,19 @@ async function autoDetectRenderer(options) {
|
|
|
118489
118461
|
for (let i2 = 0; i2 < preferredOrder.length; i2++) {
|
|
118490
118462
|
const rendererType = preferredOrder[i2];
|
|
118491
118463
|
if (rendererType === "webgpu" && await isWebGPUSupported()) {
|
|
118492
|
-
const { WebGPURenderer } = await import("./WebGPURenderer-
|
|
118464
|
+
const { WebGPURenderer } = await import("./WebGPURenderer-BPeDIyIX.js");
|
|
118493
118465
|
RendererClass = WebGPURenderer;
|
|
118494
118466
|
finalOptions = { ...options, ...options.webgpu };
|
|
118495
118467
|
break;
|
|
118496
118468
|
} else if (rendererType === "webgl" && isWebGLSupported(
|
|
118497
118469
|
options.failIfMajorPerformanceCaveat ?? AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat
|
|
118498
118470
|
)) {
|
|
118499
|
-
const { WebGLRenderer } = await import("./WebGLRenderer-
|
|
118471
|
+
const { WebGLRenderer } = await import("./WebGLRenderer-DqXfwQ5Z.js");
|
|
118500
118472
|
RendererClass = WebGLRenderer;
|
|
118501
118473
|
finalOptions = { ...options, ...options.webgl };
|
|
118502
118474
|
break;
|
|
118503
118475
|
} else if (rendererType === "canvas") {
|
|
118504
|
-
const { CanvasRenderer } = await import("./CanvasRenderer-
|
|
118476
|
+
const { CanvasRenderer } = await import("./CanvasRenderer-edr9w5k5.js");
|
|
118505
118477
|
RendererClass = CanvasRenderer;
|
|
118506
118478
|
finalOptions = { ...options, ...options.canvasOptions };
|
|
118507
118479
|
break;
|
|
@@ -134121,7 +134093,10 @@ class IsometricRenderer {
|
|
|
134121
134093
|
trophy: { w: 8, h: 10 },
|
|
134122
134094
|
statue: { w: 10, h: 15 }
|
|
134123
134095
|
};
|
|
134124
|
-
const dim = decorationDimensions[tier.decorationType] || {
|
|
134096
|
+
const dim = decorationDimensions[tier.decorationType] || {
|
|
134097
|
+
w: 8,
|
|
134098
|
+
h: 12
|
|
134099
|
+
};
|
|
134125
134100
|
decoration.pivot.set(dim.w, dim.h);
|
|
134126
134101
|
const decorationX = -footprintWidth / 2;
|
|
134127
134102
|
const decorationY = 0;
|
|
@@ -134170,7 +134145,10 @@ class IsometricRenderer {
|
|
|
134170
134145
|
gazebo: { w: 14, h: 14 },
|
|
134171
134146
|
bandstand: { w: 16, h: 16 }
|
|
134172
134147
|
};
|
|
134173
|
-
const dim = decorationDimensions[tier.decorationType] || {
|
|
134148
|
+
const dim = decorationDimensions[tier.decorationType] || {
|
|
134149
|
+
w: 12,
|
|
134150
|
+
h: 12
|
|
134151
|
+
};
|
|
134174
134152
|
decoration.pivot.set(0, dim.h);
|
|
134175
134153
|
const decorationX = footprintWidth / 2;
|
|
134176
134154
|
const decorationY = 0;
|
|
@@ -134499,7 +134477,10 @@ class IsometricRenderer {
|
|
|
134499
134477
|
trophy: { w: 8, h: 10 },
|
|
134500
134478
|
statue: { w: 10, h: 15 }
|
|
134501
134479
|
};
|
|
134502
|
-
const dim = decorationDimensions[tier.decorationType] || {
|
|
134480
|
+
const dim = decorationDimensions[tier.decorationType] || {
|
|
134481
|
+
w: 8,
|
|
134482
|
+
h: 12
|
|
134483
|
+
};
|
|
134503
134484
|
decoration.pivot.set(dim.w, dim.h);
|
|
134504
134485
|
decoration.scale.set(1.5 * sizeMultiplier);
|
|
134505
134486
|
starDecoration.addChild(decoration);
|
|
@@ -134550,7 +134531,10 @@ class IsometricRenderer {
|
|
|
134550
134531
|
gazebo: { w: 14, h: 14 },
|
|
134551
134532
|
bandstand: { w: 16, h: 16 }
|
|
134552
134533
|
};
|
|
134553
|
-
const dim = decorationDimensions[tier.decorationType] || {
|
|
134534
|
+
const dim = decorationDimensions[tier.decorationType] || {
|
|
134535
|
+
w: 12,
|
|
134536
|
+
h: 12
|
|
134537
|
+
};
|
|
134554
134538
|
decoration.pivot.set(0, dim.h);
|
|
134555
134539
|
decoration.scale.set(1.5 * sizeMultiplier);
|
|
134556
134540
|
collaboratorDecoration.addChild(decoration);
|
|
@@ -136018,6 +136002,7 @@ const OverworldMapPanelContent = ({
|
|
|
136018
136002
|
previousCollectionKeyRef.current = stableCollectionKey;
|
|
136019
136003
|
if (isCollectionChange) {
|
|
136020
136004
|
isInitializedRef.current = false;
|
|
136005
|
+
hasInitializedCamera.current = false;
|
|
136021
136006
|
}
|
|
136022
136007
|
if (isRegionOnlyUpdate && viewportRef.current && rendererRef.current) {
|
|
136023
136008
|
const renderer = rendererRef.current;
|
|
@@ -138943,4 +138928,4 @@ export {
|
|
|
138943
138928
|
UPDATE_PRIORITY as y,
|
|
138944
138929
|
removeItems as z
|
|
138945
138930
|
};
|
|
138946
|
-
//# sourceMappingURL=index-
|
|
138931
|
+
//# sourceMappingURL=index-C8q6hFov.js.map
|