@industry-theme/principal-view-panels 0.1.5 → 0.1.7
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 +1507 -383
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +2 -2
package/dist/panels.bundle.js
CHANGED
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
var __defProp = Object.defineProperty;
|
|
14
14
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
15
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
16
|
-
import
|
|
16
|
+
import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
|
|
17
17
|
import React2, { createContext, useContext, forwardRef, createElement, useRef, useState, useCallback, useEffect, useMemo } from "react";
|
|
18
|
+
import require$$0 from "react/jsx-runtime";
|
|
18
19
|
import require$$2 from "react-dom";
|
|
19
20
|
var ThemeContext;
|
|
20
21
|
var getThemeContext = () => {
|
|
@@ -47233,7 +47234,7 @@ function requireCustomNode() {
|
|
|
47233
47234
|
}
|
|
47234
47235
|
return offsetStyle;
|
|
47235
47236
|
};
|
|
47236
|
-
return (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Top, id: "top", style: getHandleStyle("top") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Left, id: "left", style: getHandleStyle("left") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Right, id: "right", style: getHandleStyle("right") }), isHexagon ? (0, jsx_runtime_1.jsx)("div", { style: hexagonBorderStyle, className: animationClass, children: (0, jsx_runtime_1.jsxs)("div", { style: hexagonInnerStyle, children: [icon && (0, jsx_runtime_1.jsx)("div", { style: { display: "flex", justifyContent: "center", alignItems: "center" }, children: (0, iconResolver_1.resolveIcon)(icon, 20) }), (0, jsx_runtime_1.jsx)("div", { style: { textAlign: "center", wordBreak: "break-word" }, children: displayName }), state && (0, jsx_runtime_1.jsx)("div", { style: {
|
|
47237
|
+
return (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Top, id: "top", style: getHandleStyle("top") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Bottom, id: "bottom", style: getHandleStyle("bottom") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Left, id: "left", style: getHandleStyle("left") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "target", position: react_1.Position.Right, id: "right", style: getHandleStyle("right") }), isHexagon ? (0, jsx_runtime_1.jsx)("div", { style: hexagonBorderStyle, className: animationClass, children: (0, jsx_runtime_1.jsxs)("div", { style: hexagonInnerStyle, children: [icon && (0, jsx_runtime_1.jsx)("div", { style: { display: "flex", justifyContent: "center", alignItems: "center" }, children: (0, iconResolver_1.resolveIcon)(icon, 20) }), (0, jsx_runtime_1.jsx)("div", { style: { textAlign: "center", wordBreak: "break-word" }, children: displayName }), state && (0, jsx_runtime_1.jsx)("div", { style: {
|
|
47237
47238
|
fontSize: "10px",
|
|
47238
47239
|
backgroundColor: color,
|
|
47239
47240
|
color: "white",
|
|
@@ -47264,7 +47265,7 @@ function requireCustomNode() {
|
|
|
47264
47265
|
fontSize: "10px",
|
|
47265
47266
|
color: "#D0021B",
|
|
47266
47267
|
fontWeight: "bold"
|
|
47267
|
-
}, children: "⚠️" })] }) }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Bottom, id: "bottom", style: getHandleStyle("bottom") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Left, id: "left-out", style: getHandleStyle("left") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Right, id: "right-out", style: getHandleStyle("right") }), (0, jsx_runtime_1.jsx)("style", { children: `
|
|
47268
|
+
}, children: "⚠️" })] }) }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Top, id: "top-out", style: getHandleStyle("top") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Bottom, id: "bottom-out", style: getHandleStyle("bottom") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Left, id: "left-out", style: getHandleStyle("left") }), (0, jsx_runtime_1.jsx)(react_1.Handle, { type: "source", position: react_1.Position.Right, id: "right-out", style: getHandleStyle("right") }), (0, jsx_runtime_1.jsx)("style", { children: `
|
|
47268
47269
|
/* Processing pulse - continuous breathing effect */
|
|
47269
47270
|
.node-pulse {
|
|
47270
47271
|
animation: node-pulse ease-in-out infinite;
|
|
@@ -47368,8 +47369,9 @@ function requireCustomEdge() {
|
|
|
47368
47369
|
const CustomEdge$1 = ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, markerEnd, selected }) => {
|
|
47369
47370
|
var _a, _b, _c, _d, _e2;
|
|
47370
47371
|
const edgeProps = data;
|
|
47371
|
-
const { typeDefinition, hasViolations, data: edgeData, animationType, animationDuration = 1e3, animationDirection = "forward" } = edgeProps || {};
|
|
47372
|
+
const { typeDefinition, hasViolations, data: edgeData, edgeType, animationType, animationDuration = 1e3, animationDirection = "forward" } = edgeProps || {};
|
|
47372
47373
|
const [particlePosition, setParticlePosition] = (0, react_1.useState)(0);
|
|
47374
|
+
const [isHovered, setIsHovered] = (0, react_1.useState)(false);
|
|
47373
47375
|
const pathRef = (0, react_1.useRef)(null);
|
|
47374
47376
|
(0, react_1.useEffect)(() => {
|
|
47375
47377
|
if (animationType !== "particle")
|
|
@@ -47446,7 +47448,7 @@ function requireCustomEdge() {
|
|
|
47446
47448
|
return { x: point.x, y: point.y };
|
|
47447
47449
|
};
|
|
47448
47450
|
const particlePos = animationType === "particle" ? getParticleTransform() : null;
|
|
47449
|
-
return (0, jsx_runtime_1.jsxs)(
|
|
47451
|
+
return (0, jsx_runtime_1.jsxs)("g", { onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), style: { cursor: "pointer" }, children: [(0, jsx_runtime_1.jsx)("path", { ref: pathRef, d: edgePath, fill: "none", stroke: "transparent", strokeWidth: 0, style: { pointerEvents: "none" } }), (0, jsx_runtime_1.jsx)("path", { d: edgePath, fill: "none", stroke: "transparent", strokeWidth: Math.max(width + 10, 20), style: { pointerEvents: "stroke" } }), (0, jsx_runtime_1.jsx)(react_2.BaseEdge, { id, path: edgePath, markerEnd, style: {
|
|
47450
47452
|
stroke: color,
|
|
47451
47453
|
strokeWidth: selected ? width + 2 : width,
|
|
47452
47454
|
strokeDasharray: getStrokeStyle(),
|
|
@@ -47474,7 +47476,20 @@ function requireCustomEdge() {
|
|
|
47474
47476
|
fontWeight: 500,
|
|
47475
47477
|
border: `1px solid ${color}`,
|
|
47476
47478
|
pointerEvents: "all"
|
|
47477
|
-
}, className: "nodrag nopan", children: labelText }) }), (0, jsx_runtime_1.jsx)("
|
|
47479
|
+
}, className: "nodrag nopan", children: labelText }) }), isHovered && (0, jsx_runtime_1.jsx)(react_2.EdgeLabelRenderer, { children: (0, jsx_runtime_1.jsx)("div", { style: {
|
|
47480
|
+
position: "absolute",
|
|
47481
|
+
transform: `translate(-50%, -100%) translate(${labelX}px,${labelY - 12}px)`,
|
|
47482
|
+
backgroundColor: "rgba(0, 0, 0, 0.85)",
|
|
47483
|
+
color: "white",
|
|
47484
|
+
padding: "4px 8px",
|
|
47485
|
+
borderRadius: "4px",
|
|
47486
|
+
fontSize: "11px",
|
|
47487
|
+
fontWeight: 500,
|
|
47488
|
+
whiteSpace: "nowrap",
|
|
47489
|
+
pointerEvents: "none",
|
|
47490
|
+
zIndex: 1e3,
|
|
47491
|
+
boxShadow: "0 2px 8px rgba(0,0,0,0.2)"
|
|
47492
|
+
}, children: edgeType || "edge" }) }), (0, jsx_runtime_1.jsx)("style", { children: `
|
|
47478
47493
|
/* Flow animation - forward direction */
|
|
47479
47494
|
.edge-flow-forward {
|
|
47480
47495
|
animation: flow-forward linear infinite;
|
|
@@ -47583,9 +47598,17 @@ function requireGraphConverter() {
|
|
|
47583
47598
|
};
|
|
47584
47599
|
});
|
|
47585
47600
|
}
|
|
47601
|
+
function sideToSourceHandle(side) {
|
|
47602
|
+
if (!side)
|
|
47603
|
+
return void 0;
|
|
47604
|
+
return `${side}-out`;
|
|
47605
|
+
}
|
|
47606
|
+
function sideToTargetHandle(side) {
|
|
47607
|
+
return side;
|
|
47608
|
+
}
|
|
47586
47609
|
function convertToXYFlowEdges(edges, configuration, violations = []) {
|
|
47587
47610
|
return edges.map((edge) => {
|
|
47588
|
-
var _a;
|
|
47611
|
+
var _a, _b, _c;
|
|
47589
47612
|
const typeDefinition = configuration.edgeTypes[edge.type];
|
|
47590
47613
|
if (!typeDefinition) {
|
|
47591
47614
|
console.warn(`Edge type "${edge.type}" not found in configuration for edge "${edge.id}"`);
|
|
@@ -47595,7 +47618,11 @@ function requireGraphConverter() {
|
|
|
47595
47618
|
return ((_a2 = v.context) == null ? void 0 : _a2.edgeId) === edge.id;
|
|
47596
47619
|
});
|
|
47597
47620
|
const edgeWithHandles = edge;
|
|
47598
|
-
const
|
|
47621
|
+
const fromSide = (_a = edge.data) == null ? void 0 : _a.fromSide;
|
|
47622
|
+
const toSide = (_b = edge.data) == null ? void 0 : _b.toSide;
|
|
47623
|
+
const sourceHandle = edgeWithHandles.sourceHandle || sideToSourceHandle(fromSide);
|
|
47624
|
+
const targetHandle = edgeWithHandles.targetHandle || sideToTargetHandle(toSide);
|
|
47625
|
+
const edgeColor = (_c = edge.data) == null ? void 0 : _c.color;
|
|
47599
47626
|
const markerEnd = (typeDefinition == null ? void 0 : typeDefinition.directed) !== false ? {
|
|
47600
47627
|
type: react_1.MarkerType.ArrowClosed,
|
|
47601
47628
|
color: edgeColor || (typeDefinition == null ? void 0 : typeDefinition.color) || "#888",
|
|
@@ -47606,15 +47633,16 @@ function requireGraphConverter() {
|
|
|
47606
47633
|
id: edge.id,
|
|
47607
47634
|
source: edge.from,
|
|
47608
47635
|
target: edge.to,
|
|
47609
|
-
sourceHandle
|
|
47610
|
-
targetHandle
|
|
47636
|
+
sourceHandle,
|
|
47637
|
+
targetHandle,
|
|
47611
47638
|
type: "custom",
|
|
47612
47639
|
animated: (typeDefinition == null ? void 0 : typeDefinition.style) === "animated",
|
|
47613
47640
|
markerEnd,
|
|
47614
47641
|
data: {
|
|
47615
47642
|
typeDefinition,
|
|
47616
47643
|
hasViolations,
|
|
47617
|
-
data: edge.data
|
|
47644
|
+
data: edge.data,
|
|
47645
|
+
edgeType: edge.type
|
|
47618
47646
|
}
|
|
47619
47647
|
};
|
|
47620
47648
|
});
|
|
@@ -53145,7 +53173,7 @@ function applySugiyamaLayout(canvas, options = {}) {
|
|
|
53145
53173
|
}
|
|
53146
53174
|
}
|
|
53147
53175
|
const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
53148
|
-
return /* @__PURE__ */
|
|
53176
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53149
53177
|
display: "flex",
|
|
53150
53178
|
flexDirection: "column",
|
|
53151
53179
|
alignItems: "center",
|
|
@@ -53157,10 +53185,22 @@ const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
|
53157
53185
|
fontFamily: theme.fonts.body,
|
|
53158
53186
|
textAlign: "center"
|
|
53159
53187
|
}, children: [
|
|
53160
|
-
/* @__PURE__ */
|
|
53161
|
-
|
|
53162
|
-
|
|
53163
|
-
|
|
53188
|
+
/* @__PURE__ */ jsxDEV(CircleAlert, { size: 48 }, void 0, false, {
|
|
53189
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53190
|
+
lineNumber: 29,
|
|
53191
|
+
columnNumber: 7
|
|
53192
|
+
}, void 0),
|
|
53193
|
+
/* @__PURE__ */ jsxDEV("h3", { style: { marginTop: theme.space[3], marginBottom: theme.space[2] }, children: "Configuration Error" }, void 0, false, {
|
|
53194
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53195
|
+
lineNumber: 30,
|
|
53196
|
+
columnNumber: 7
|
|
53197
|
+
}, void 0),
|
|
53198
|
+
/* @__PURE__ */ jsxDEV("p", { style: { color: theme.colors.textMuted, marginTop: theme.space[2], maxWidth: "400px" }, children: error }, void 0, false, {
|
|
53199
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53200
|
+
lineNumber: 33,
|
|
53201
|
+
columnNumber: 7
|
|
53202
|
+
}, void 0),
|
|
53203
|
+
/* @__PURE__ */ jsxDEV(
|
|
53164
53204
|
"button",
|
|
53165
53205
|
{
|
|
53166
53206
|
onClick: onRetry,
|
|
@@ -53176,12 +53216,24 @@ const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
|
53176
53216
|
fontSize: theme.fontSizes[2]
|
|
53177
53217
|
},
|
|
53178
53218
|
children: "Retry"
|
|
53179
|
-
}
|
|
53219
|
+
},
|
|
53220
|
+
void 0,
|
|
53221
|
+
false,
|
|
53222
|
+
{
|
|
53223
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53224
|
+
lineNumber: 36,
|
|
53225
|
+
columnNumber: 7
|
|
53226
|
+
},
|
|
53227
|
+
void 0
|
|
53180
53228
|
)
|
|
53181
|
-
] }
|
|
53229
|
+
] }, void 0, true, {
|
|
53230
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53231
|
+
lineNumber: 17,
|
|
53232
|
+
columnNumber: 5
|
|
53233
|
+
}, void 0);
|
|
53182
53234
|
};
|
|
53183
53235
|
const EmptyStateContent = ({ theme }) => {
|
|
53184
|
-
return /* @__PURE__ */
|
|
53236
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53185
53237
|
display: "flex",
|
|
53186
53238
|
flexDirection: "column",
|
|
53187
53239
|
alignItems: "center",
|
|
@@ -53194,7 +53246,7 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53194
53246
|
fontFamily: theme.fonts.body,
|
|
53195
53247
|
textAlign: "center",
|
|
53196
53248
|
boxSizing: "border-box"
|
|
53197
|
-
}, children: /* @__PURE__ */
|
|
53249
|
+
}, children: /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53198
53250
|
maxWidth: "800px",
|
|
53199
53251
|
width: "100%",
|
|
53200
53252
|
paddingTop: theme.space[4],
|
|
@@ -53203,22 +53255,34 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53203
53255
|
flexDirection: "column",
|
|
53204
53256
|
alignItems: "center"
|
|
53205
53257
|
}, children: [
|
|
53206
|
-
/* @__PURE__ */
|
|
53207
|
-
|
|
53258
|
+
/* @__PURE__ */ jsxDEV(FileText, { size: 48, color: theme.colors.primary, style: { marginBottom: theme.space[3] } }, void 0, false, {
|
|
53259
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53260
|
+
lineNumber: 39,
|
|
53261
|
+
columnNumber: 9
|
|
53262
|
+
}, void 0),
|
|
53263
|
+
/* @__PURE__ */ jsxDEV("h2", { style: {
|
|
53208
53264
|
margin: 0,
|
|
53209
53265
|
marginBottom: theme.space[3],
|
|
53210
53266
|
fontSize: theme.fontSizes[4],
|
|
53211
53267
|
fontWeight: theme.fontWeights.bold,
|
|
53212
53268
|
color: theme.colors.text
|
|
53213
|
-
}, children: "Principal View Graph Panel" }
|
|
53214
|
-
|
|
53269
|
+
}, children: "Principal View Graph Panel" }, void 0, false, {
|
|
53270
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53271
|
+
lineNumber: 41,
|
|
53272
|
+
columnNumber: 9
|
|
53273
|
+
}, void 0),
|
|
53274
|
+
/* @__PURE__ */ jsxDEV("p", { style: {
|
|
53215
53275
|
margin: 0,
|
|
53216
53276
|
marginBottom: theme.space[2],
|
|
53217
53277
|
fontSize: theme.fontSizes[2],
|
|
53218
53278
|
color: theme.colors.textSecondary,
|
|
53219
53279
|
lineHeight: 1.6
|
|
53220
|
-
}, children: "This panel visualizes your project's component architecture and validation flows using a declarative YAML configuration file." }
|
|
53221
|
-
|
|
53280
|
+
}, children: "This panel visualizes your project's component architecture and validation flows using a declarative YAML configuration file." }, void 0, false, {
|
|
53281
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53282
|
+
lineNumber: 51,
|
|
53283
|
+
columnNumber: 9
|
|
53284
|
+
}, void 0),
|
|
53285
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53222
53286
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53223
53287
|
borderRadius: theme.radii[2],
|
|
53224
53288
|
padding: theme.space[3],
|
|
@@ -53228,15 +53292,19 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53228
53292
|
maxWidth: "600px",
|
|
53229
53293
|
border: `1px solid ${theme.colors.border}`
|
|
53230
53294
|
}, children: [
|
|
53231
|
-
/* @__PURE__ */
|
|
53295
|
+
/* @__PURE__ */ jsxDEV("h3", { style: {
|
|
53232
53296
|
margin: 0,
|
|
53233
53297
|
marginBottom: theme.space[2],
|
|
53234
53298
|
fontSize: theme.fontSizes[2],
|
|
53235
53299
|
fontWeight: theme.fontWeights.medium,
|
|
53236
53300
|
color: theme.colors.text,
|
|
53237
53301
|
textAlign: "left"
|
|
53238
|
-
}, children: "What you'll see:" }
|
|
53239
|
-
|
|
53302
|
+
}, children: "What you'll see:" }, void 0, false, {
|
|
53303
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53304
|
+
lineNumber: 72,
|
|
53305
|
+
columnNumber: 11
|
|
53306
|
+
}, void 0),
|
|
53307
|
+
/* @__PURE__ */ jsxDEV("ul", { style: {
|
|
53240
53308
|
margin: 0,
|
|
53241
53309
|
padding: 0,
|
|
53242
53310
|
listStyle: "none",
|
|
@@ -53244,42 +53312,102 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53244
53312
|
color: theme.colors.textSecondary,
|
|
53245
53313
|
fontSize: theme.fontSizes[1]
|
|
53246
53314
|
}, children: [
|
|
53247
|
-
/* @__PURE__ */
|
|
53248
|
-
/* @__PURE__ */
|
|
53249
|
-
|
|
53250
|
-
|
|
53251
|
-
|
|
53252
|
-
|
|
53253
|
-
/* @__PURE__ */
|
|
53254
|
-
|
|
53255
|
-
|
|
53256
|
-
|
|
53257
|
-
|
|
53258
|
-
] }
|
|
53259
|
-
|
|
53260
|
-
|
|
53261
|
-
|
|
53262
|
-
|
|
53263
|
-
|
|
53264
|
-
|
|
53265
|
-
|
|
53315
|
+
/* @__PURE__ */ jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53316
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53317
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53318
|
+
lineNumber: 92,
|
|
53319
|
+
columnNumber: 15
|
|
53320
|
+
}, void 0),
|
|
53321
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Interactive graph of your components and their relationships" }, void 0, false, {
|
|
53322
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53323
|
+
lineNumber: 93,
|
|
53324
|
+
columnNumber: 15
|
|
53325
|
+
}, void 0)
|
|
53326
|
+
] }, void 0, true, {
|
|
53327
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53328
|
+
lineNumber: 91,
|
|
53329
|
+
columnNumber: 13
|
|
53330
|
+
}, void 0),
|
|
53331
|
+
/* @__PURE__ */ jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53332
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53333
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53334
|
+
lineNumber: 96,
|
|
53335
|
+
columnNumber: 15
|
|
53336
|
+
}, void 0),
|
|
53337
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Path-based validation rules and dependencies" }, void 0, false, {
|
|
53338
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53339
|
+
lineNumber: 97,
|
|
53340
|
+
columnNumber: 15
|
|
53341
|
+
}, void 0)
|
|
53342
|
+
] }, void 0, true, {
|
|
53343
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53344
|
+
lineNumber: 95,
|
|
53345
|
+
columnNumber: 13
|
|
53346
|
+
}, void 0),
|
|
53347
|
+
/* @__PURE__ */ jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53348
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53349
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53350
|
+
lineNumber: 100,
|
|
53351
|
+
columnNumber: 15
|
|
53352
|
+
}, void 0),
|
|
53353
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Visual feedback on component structure and integration points" }, void 0, false, {
|
|
53354
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53355
|
+
lineNumber: 101,
|
|
53356
|
+
columnNumber: 15
|
|
53357
|
+
}, void 0)
|
|
53358
|
+
] }, void 0, true, {
|
|
53359
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53360
|
+
lineNumber: 99,
|
|
53361
|
+
columnNumber: 13
|
|
53362
|
+
}, void 0),
|
|
53363
|
+
/* @__PURE__ */ jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53364
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53365
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53366
|
+
lineNumber: 104,
|
|
53367
|
+
columnNumber: 15
|
|
53368
|
+
}, void 0),
|
|
53369
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Customizable layouts and themes" }, void 0, false, {
|
|
53370
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53371
|
+
lineNumber: 105,
|
|
53372
|
+
columnNumber: 15
|
|
53373
|
+
}, void 0)
|
|
53374
|
+
] }, void 0, true, {
|
|
53375
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53376
|
+
lineNumber: 103,
|
|
53377
|
+
columnNumber: 13
|
|
53378
|
+
}, void 0)
|
|
53379
|
+
] }, void 0, true, {
|
|
53380
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53381
|
+
lineNumber: 83,
|
|
53382
|
+
columnNumber: 11
|
|
53383
|
+
}, void 0)
|
|
53384
|
+
] }, void 0, true, {
|
|
53385
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53386
|
+
lineNumber: 62,
|
|
53387
|
+
columnNumber: 9
|
|
53388
|
+
}, void 0),
|
|
53389
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53266
53390
|
display: "flex",
|
|
53267
53391
|
flexDirection: "column",
|
|
53268
53392
|
gap: theme.space[3],
|
|
53269
53393
|
marginTop: theme.space[4]
|
|
53270
53394
|
}, children: [
|
|
53271
|
-
/* @__PURE__ */
|
|
53395
|
+
/* @__PURE__ */ jsxDEV("h3", { style: {
|
|
53272
53396
|
margin: 0,
|
|
53273
53397
|
fontSize: theme.fontSizes[2],
|
|
53274
53398
|
fontWeight: theme.fontWeights.medium,
|
|
53275
53399
|
color: theme.colors.text
|
|
53276
|
-
}, children: "Get Started" }
|
|
53277
|
-
|
|
53400
|
+
}, children: "Get Started" }, void 0, false, {
|
|
53401
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53402
|
+
lineNumber: 116,
|
|
53403
|
+
columnNumber: 11
|
|
53404
|
+
}, void 0),
|
|
53405
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53278
53406
|
display: "flex",
|
|
53279
53407
|
flexDirection: "column",
|
|
53280
53408
|
gap: theme.space[2]
|
|
53281
53409
|
}, children: [
|
|
53282
|
-
/* @__PURE__ */
|
|
53410
|
+
/* @__PURE__ */ jsxDEV(
|
|
53283
53411
|
"a",
|
|
53284
53412
|
{
|
|
53285
53413
|
href: "https://github.com/principal-ai/principal-view-core-library/blob/main/docs/CONFIGURATION_REFERENCE.md",
|
|
@@ -53307,23 +53435,51 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53307
53435
|
e.currentTarget.style.backgroundColor = theme.colors.backgroundSecondary;
|
|
53308
53436
|
},
|
|
53309
53437
|
children: [
|
|
53310
|
-
/* @__PURE__ */
|
|
53311
|
-
|
|
53312
|
-
|
|
53438
|
+
/* @__PURE__ */ jsxDEV(BookOpen, { size: 20, color: theme.colors.primary, style: { flexShrink: 0 } }, void 0, false, {
|
|
53439
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53440
|
+
lineNumber: 156,
|
|
53441
|
+
columnNumber: 15
|
|
53442
|
+
}, void 0),
|
|
53443
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1 }, children: [
|
|
53444
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53313
53445
|
fontSize: theme.fontSizes[2],
|
|
53314
53446
|
fontWeight: theme.fontWeights.medium,
|
|
53315
53447
|
marginBottom: theme.space[1]
|
|
53316
|
-
}, children: "Configuration Reference" }
|
|
53317
|
-
|
|
53448
|
+
}, children: "Configuration Reference" }, void 0, false, {
|
|
53449
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53450
|
+
lineNumber: 158,
|
|
53451
|
+
columnNumber: 17
|
|
53452
|
+
}, void 0),
|
|
53453
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53318
53454
|
fontSize: theme.fontSizes[0],
|
|
53319
53455
|
color: theme.colors.textSecondary
|
|
53320
|
-
}, children: "Learn how to create .principal-views/ configurations with path-based validation" }
|
|
53321
|
-
|
|
53322
|
-
|
|
53456
|
+
}, children: "Learn how to create .principal-views/ configurations with path-based validation" }, void 0, false, {
|
|
53457
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53458
|
+
lineNumber: 165,
|
|
53459
|
+
columnNumber: 17
|
|
53460
|
+
}, void 0)
|
|
53461
|
+
] }, void 0, true, {
|
|
53462
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53463
|
+
lineNumber: 157,
|
|
53464
|
+
columnNumber: 15
|
|
53465
|
+
}, void 0),
|
|
53466
|
+
/* @__PURE__ */ jsxDEV(ExternalLink, { size: 16, color: theme.colors.textMuted, style: { flexShrink: 0 } }, void 0, false, {
|
|
53467
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53468
|
+
lineNumber: 172,
|
|
53469
|
+
columnNumber: 15
|
|
53470
|
+
}, void 0)
|
|
53323
53471
|
]
|
|
53324
|
-
}
|
|
53472
|
+
},
|
|
53473
|
+
void 0,
|
|
53474
|
+
true,
|
|
53475
|
+
{
|
|
53476
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53477
|
+
lineNumber: 130,
|
|
53478
|
+
columnNumber: 13
|
|
53479
|
+
},
|
|
53480
|
+
void 0
|
|
53325
53481
|
),
|
|
53326
|
-
/* @__PURE__ */
|
|
53482
|
+
/* @__PURE__ */ jsxDEV(
|
|
53327
53483
|
"a",
|
|
53328
53484
|
{
|
|
53329
53485
|
href: "https://www.npmjs.com/package/@principal-ai/principal-view-core",
|
|
@@ -53351,24 +53507,56 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53351
53507
|
e.currentTarget.style.backgroundColor = theme.colors.backgroundSecondary;
|
|
53352
53508
|
},
|
|
53353
53509
|
children: [
|
|
53354
|
-
/* @__PURE__ */
|
|
53355
|
-
|
|
53356
|
-
|
|
53510
|
+
/* @__PURE__ */ jsxDEV(FileText, { size: 20, color: theme.colors.primary, style: { flexShrink: 0 } }, void 0, false, {
|
|
53511
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53512
|
+
lineNumber: 201,
|
|
53513
|
+
columnNumber: 15
|
|
53514
|
+
}, void 0),
|
|
53515
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1 }, children: [
|
|
53516
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53357
53517
|
fontSize: theme.fontSizes[2],
|
|
53358
53518
|
fontWeight: theme.fontWeights.medium,
|
|
53359
53519
|
marginBottom: theme.space[1]
|
|
53360
|
-
}, children: "NPM Package Documentation" }
|
|
53361
|
-
|
|
53520
|
+
}, children: "NPM Package Documentation" }, void 0, false, {
|
|
53521
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53522
|
+
lineNumber: 203,
|
|
53523
|
+
columnNumber: 17
|
|
53524
|
+
}, void 0),
|
|
53525
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53362
53526
|
fontSize: theme.fontSizes[0],
|
|
53363
53527
|
color: theme.colors.textSecondary
|
|
53364
|
-
}, children: "View @principal-ai/principal-view-core on npm" }
|
|
53365
|
-
|
|
53366
|
-
|
|
53528
|
+
}, children: "View @principal-ai/principal-view-core on npm" }, void 0, false, {
|
|
53529
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53530
|
+
lineNumber: 210,
|
|
53531
|
+
columnNumber: 17
|
|
53532
|
+
}, void 0)
|
|
53533
|
+
] }, void 0, true, {
|
|
53534
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53535
|
+
lineNumber: 202,
|
|
53536
|
+
columnNumber: 15
|
|
53537
|
+
}, void 0),
|
|
53538
|
+
/* @__PURE__ */ jsxDEV(ExternalLink, { size: 16, color: theme.colors.textMuted, style: { flexShrink: 0 } }, void 0, false, {
|
|
53539
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53540
|
+
lineNumber: 217,
|
|
53541
|
+
columnNumber: 15
|
|
53542
|
+
}, void 0)
|
|
53367
53543
|
]
|
|
53368
|
-
}
|
|
53544
|
+
},
|
|
53545
|
+
void 0,
|
|
53546
|
+
true,
|
|
53547
|
+
{
|
|
53548
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53549
|
+
lineNumber: 175,
|
|
53550
|
+
columnNumber: 13
|
|
53551
|
+
},
|
|
53552
|
+
void 0
|
|
53369
53553
|
)
|
|
53370
|
-
] }
|
|
53371
|
-
|
|
53554
|
+
] }, void 0, true, {
|
|
53555
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53556
|
+
lineNumber: 125,
|
|
53557
|
+
columnNumber: 11
|
|
53558
|
+
}, void 0),
|
|
53559
|
+
/* @__PURE__ */ jsxDEV("p", { style: {
|
|
53372
53560
|
margin: 0,
|
|
53373
53561
|
fontSize: theme.fontSizes[1],
|
|
53374
53562
|
color: theme.colors.textMuted,
|
|
@@ -53376,17 +53564,37 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53376
53564
|
textAlign: "center"
|
|
53377
53565
|
}, children: [
|
|
53378
53566
|
"Once you add a ",
|
|
53379
|
-
/* @__PURE__ */
|
|
53567
|
+
/* @__PURE__ */ jsxDEV("code", { style: {
|
|
53380
53568
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53381
53569
|
padding: `2px ${theme.space[1]}`,
|
|
53382
53570
|
borderRadius: theme.radii[0],
|
|
53383
53571
|
fontFamily: theme.fonts.monospace,
|
|
53384
53572
|
fontSize: theme.fontSizes[0]
|
|
53385
|
-
}, children: ".principal-views/" }
|
|
53573
|
+
}, children: ".principal-views/" }, void 0, false, {
|
|
53574
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53575
|
+
lineNumber: 228,
|
|
53576
|
+
columnNumber: 28
|
|
53577
|
+
}, void 0),
|
|
53386
53578
|
" folder with YAML configuration files to your project root, the panel will automatically visualize your configurations."
|
|
53387
|
-
] }
|
|
53388
|
-
|
|
53389
|
-
|
|
53579
|
+
] }, void 0, true, {
|
|
53580
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53581
|
+
lineNumber: 221,
|
|
53582
|
+
columnNumber: 11
|
|
53583
|
+
}, void 0)
|
|
53584
|
+
] }, void 0, true, {
|
|
53585
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53586
|
+
lineNumber: 110,
|
|
53587
|
+
columnNumber: 9
|
|
53588
|
+
}, void 0)
|
|
53589
|
+
] }, void 0, true, {
|
|
53590
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53591
|
+
lineNumber: 30,
|
|
53592
|
+
columnNumber: 7
|
|
53593
|
+
}, void 0) }, void 0, false, {
|
|
53594
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53595
|
+
lineNumber: 16,
|
|
53596
|
+
columnNumber: 5
|
|
53597
|
+
}, void 0);
|
|
53390
53598
|
};
|
|
53391
53599
|
const DEFAULT_LAYOUT_CONFIG = {
|
|
53392
53600
|
direction: "TB",
|
|
@@ -53644,7 +53852,7 @@ const PrincipalViewGraphPanel = ({
|
|
|
53644
53852
|
return unsubscribe;
|
|
53645
53853
|
}, []);
|
|
53646
53854
|
if (state.loading) {
|
|
53647
|
-
return /* @__PURE__ */
|
|
53855
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53648
53856
|
display: "flex",
|
|
53649
53857
|
alignItems: "center",
|
|
53650
53858
|
justifyContent: "center",
|
|
@@ -53652,39 +53860,63 @@ const PrincipalViewGraphPanel = ({
|
|
|
53652
53860
|
color: theme.colors.textMuted,
|
|
53653
53861
|
fontFamily: theme.fonts.body
|
|
53654
53862
|
}, children: [
|
|
53655
|
-
/* @__PURE__ */
|
|
53656
|
-
|
|
53657
|
-
|
|
53863
|
+
/* @__PURE__ */ jsxDEV(Loader, { size: 24, style: { animation: "spin 1s linear infinite" } }, void 0, false, {
|
|
53864
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53865
|
+
lineNumber: 399,
|
|
53866
|
+
columnNumber: 9
|
|
53867
|
+
}, void 0),
|
|
53868
|
+
/* @__PURE__ */ jsxDEV("span", { style: { marginLeft: theme.space[2] }, children: "Loading configuration..." }, void 0, false, {
|
|
53869
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53870
|
+
lineNumber: 400,
|
|
53871
|
+
columnNumber: 9
|
|
53872
|
+
}, void 0)
|
|
53873
|
+
] }, void 0, true, {
|
|
53874
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53875
|
+
lineNumber: 391,
|
|
53876
|
+
columnNumber: 7
|
|
53877
|
+
}, void 0);
|
|
53658
53878
|
}
|
|
53659
53879
|
if (state.error) {
|
|
53660
|
-
return /* @__PURE__ */
|
|
53880
|
+
return /* @__PURE__ */ jsxDEV(ErrorStateContent, { theme, error: state.error, onRetry: () => loadConfiguration() }, void 0, false, {
|
|
53881
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53882
|
+
lineNumber: 406,
|
|
53883
|
+
columnNumber: 12
|
|
53884
|
+
}, void 0);
|
|
53661
53885
|
}
|
|
53662
53886
|
if (!state.canvas) {
|
|
53663
|
-
return /* @__PURE__ */
|
|
53887
|
+
return /* @__PURE__ */ jsxDEV(EmptyStateContent, { theme }, void 0, false, {
|
|
53888
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53889
|
+
lineNumber: 410,
|
|
53890
|
+
columnNumber: 12
|
|
53891
|
+
}, void 0);
|
|
53664
53892
|
}
|
|
53665
|
-
return /* @__PURE__ */
|
|
53893
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53666
53894
|
height: "100%",
|
|
53667
53895
|
width: "100%",
|
|
53668
53896
|
display: "flex",
|
|
53669
53897
|
flexDirection: "column",
|
|
53670
53898
|
fontFamily: theme.fonts.body
|
|
53671
53899
|
}, children: [
|
|
53672
|
-
/* @__PURE__ */
|
|
53900
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53673
53901
|
padding: "16px 20px",
|
|
53674
53902
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
53675
53903
|
backgroundColor: theme.colors.background,
|
|
53676
53904
|
flexShrink: 0
|
|
53677
53905
|
}, children: [
|
|
53678
|
-
/* @__PURE__ */
|
|
53679
|
-
/* @__PURE__ */
|
|
53680
|
-
/* @__PURE__ */
|
|
53906
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: theme.space[3] }, children: [
|
|
53907
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[3] }, children: [
|
|
53908
|
+
/* @__PURE__ */ jsxDEV("h2", { style: {
|
|
53681
53909
|
margin: 0,
|
|
53682
53910
|
fontSize: theme.fontSizes[3],
|
|
53683
53911
|
fontWeight: theme.fontWeights.medium,
|
|
53684
53912
|
color: theme.colors.text
|
|
53685
|
-
}, children: ((_a = state.canvas.pv) == null ? void 0 : _a.name) || "Untitled" }
|
|
53686
|
-
|
|
53687
|
-
|
|
53913
|
+
}, children: ((_a = state.canvas.pv) == null ? void 0 : _a.name) || "Untitled" }, void 0, false, {
|
|
53914
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53915
|
+
lineNumber: 431,
|
|
53916
|
+
columnNumber: 13
|
|
53917
|
+
}, void 0),
|
|
53918
|
+
state.availableConfigs.length > 1 && /* @__PURE__ */ jsxDEV("div", { style: { position: "relative" }, children: [
|
|
53919
|
+
/* @__PURE__ */ jsxDEV(
|
|
53688
53920
|
"select",
|
|
53689
53921
|
{
|
|
53690
53922
|
value: state.selectedConfigId || "",
|
|
@@ -53705,10 +53937,22 @@ const PrincipalViewGraphPanel = ({
|
|
|
53705
53937
|
transition: "all 0.2s"
|
|
53706
53938
|
},
|
|
53707
53939
|
title: state.hasUnsavedChanges ? "Save or discard changes before switching configs" : void 0,
|
|
53708
|
-
children: state.availableConfigs.map((config) => /* @__PURE__ */
|
|
53709
|
-
|
|
53940
|
+
children: state.availableConfigs.map((config) => /* @__PURE__ */ jsxDEV("option", { value: config.id, children: config.name }, config.id, false, {
|
|
53941
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53942
|
+
lineNumber: 464,
|
|
53943
|
+
columnNumber: 21
|
|
53944
|
+
}, void 0))
|
|
53945
|
+
},
|
|
53946
|
+
void 0,
|
|
53947
|
+
false,
|
|
53948
|
+
{
|
|
53949
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53950
|
+
lineNumber: 443,
|
|
53951
|
+
columnNumber: 17
|
|
53952
|
+
},
|
|
53953
|
+
void 0
|
|
53710
53954
|
),
|
|
53711
|
-
/* @__PURE__ */
|
|
53955
|
+
/* @__PURE__ */ jsxDEV(
|
|
53712
53956
|
ChevronDown,
|
|
53713
53957
|
{
|
|
53714
53958
|
size: 14,
|
|
@@ -53720,12 +53964,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53720
53964
|
pointerEvents: "none",
|
|
53721
53965
|
color: theme.colors.textMuted
|
|
53722
53966
|
}
|
|
53723
|
-
}
|
|
53967
|
+
},
|
|
53968
|
+
void 0,
|
|
53969
|
+
false,
|
|
53970
|
+
{
|
|
53971
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53972
|
+
lineNumber: 467,
|
|
53973
|
+
columnNumber: 17
|
|
53974
|
+
},
|
|
53975
|
+
void 0
|
|
53724
53976
|
)
|
|
53725
|
-
] }
|
|
53726
|
-
|
|
53727
|
-
|
|
53728
|
-
|
|
53977
|
+
] }, void 0, true, {
|
|
53978
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53979
|
+
lineNumber: 442,
|
|
53980
|
+
columnNumber: 15
|
|
53981
|
+
}, void 0)
|
|
53982
|
+
] }, void 0, true, {
|
|
53983
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53984
|
+
lineNumber: 430,
|
|
53985
|
+
columnNumber: 11
|
|
53986
|
+
}, void 0),
|
|
53987
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[3] }, children: [
|
|
53988
|
+
/* @__PURE__ */ jsxDEV(
|
|
53729
53989
|
"button",
|
|
53730
53990
|
{
|
|
53731
53991
|
onClick: toggleLayoutConfig,
|
|
@@ -53746,12 +54006,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53746
54006
|
transition: "all 0.2s"
|
|
53747
54007
|
},
|
|
53748
54008
|
children: [
|
|
53749
|
-
/* @__PURE__ */
|
|
53750
|
-
|
|
54009
|
+
/* @__PURE__ */ jsxDEV(LayoutGrid, { size: 14 }, void 0, false, {
|
|
54010
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54011
|
+
lineNumber: 503,
|
|
54012
|
+
columnNumber: 15
|
|
54013
|
+
}, void 0),
|
|
54014
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Auto Layout" }, void 0, false, {
|
|
54015
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54016
|
+
lineNumber: 504,
|
|
54017
|
+
columnNumber: 15
|
|
54018
|
+
}, void 0)
|
|
53751
54019
|
]
|
|
53752
|
-
}
|
|
54020
|
+
},
|
|
54021
|
+
void 0,
|
|
54022
|
+
true,
|
|
54023
|
+
{
|
|
54024
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54025
|
+
lineNumber: 484,
|
|
54026
|
+
columnNumber: 13
|
|
54027
|
+
},
|
|
54028
|
+
void 0
|
|
53753
54029
|
),
|
|
53754
|
-
/* @__PURE__ */
|
|
54030
|
+
/* @__PURE__ */ jsxDEV(
|
|
53755
54031
|
"button",
|
|
53756
54032
|
{
|
|
53757
54033
|
onClick: toggleEditMode,
|
|
@@ -53771,26 +54047,62 @@ const PrincipalViewGraphPanel = ({
|
|
|
53771
54047
|
transition: "all 0.2s"
|
|
53772
54048
|
},
|
|
53773
54049
|
children: [
|
|
53774
|
-
state.isEditMode ? /* @__PURE__ */
|
|
53775
|
-
|
|
54050
|
+
state.isEditMode ? /* @__PURE__ */ jsxDEV(LockOpen, { size: 14 }, void 0, false, {
|
|
54051
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54052
|
+
lineNumber: 526,
|
|
54053
|
+
columnNumber: 35
|
|
54054
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Lock, { size: 14 }, void 0, false, {
|
|
54055
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54056
|
+
lineNumber: 526,
|
|
54057
|
+
columnNumber: 58
|
|
54058
|
+
}, void 0),
|
|
54059
|
+
/* @__PURE__ */ jsxDEV("span", { children: state.isEditMode ? "Editing" : "Edit" }, void 0, false, {
|
|
54060
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54061
|
+
lineNumber: 527,
|
|
54062
|
+
columnNumber: 15
|
|
54063
|
+
}, void 0)
|
|
53776
54064
|
]
|
|
53777
|
-
}
|
|
54065
|
+
},
|
|
54066
|
+
void 0,
|
|
54067
|
+
true,
|
|
54068
|
+
{
|
|
54069
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54070
|
+
lineNumber: 508,
|
|
54071
|
+
columnNumber: 13
|
|
54072
|
+
},
|
|
54073
|
+
void 0
|
|
53778
54074
|
)
|
|
53779
|
-
] }
|
|
53780
|
-
|
|
53781
|
-
|
|
54075
|
+
] }, void 0, true, {
|
|
54076
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54077
|
+
lineNumber: 482,
|
|
54078
|
+
columnNumber: 11
|
|
54079
|
+
}, void 0)
|
|
54080
|
+
] }, void 0, true, {
|
|
54081
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54082
|
+
lineNumber: 429,
|
|
54083
|
+
columnNumber: 9
|
|
54084
|
+
}, void 0),
|
|
54085
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
53782
54086
|
display: "flex",
|
|
53783
54087
|
alignItems: "center",
|
|
53784
54088
|
gap: theme.space[2],
|
|
53785
54089
|
marginTop: theme.space[2]
|
|
53786
|
-
}, children: state.isEditMode && state.hasUnsavedChanges ? /* @__PURE__ */
|
|
53787
|
-
/* @__PURE__ */
|
|
54090
|
+
}, children: state.isEditMode && state.hasUnsavedChanges ? /* @__PURE__ */ jsxDEV(Fragment, { children: [
|
|
54091
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
53788
54092
|
fontSize: theme.fontSizes[1],
|
|
53789
54093
|
color: theme.colors.warning || "#f59e0b",
|
|
53790
54094
|
fontStyle: "italic"
|
|
53791
|
-
}, children: "Unsaved changes" }
|
|
53792
|
-
|
|
53793
|
-
|
|
54095
|
+
}, children: "Unsaved changes" }, void 0, false, {
|
|
54096
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54097
|
+
lineNumber: 542,
|
|
54098
|
+
columnNumber: 15
|
|
54099
|
+
}, void 0),
|
|
54100
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1 } }, void 0, false, {
|
|
54101
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54102
|
+
lineNumber: 551,
|
|
54103
|
+
columnNumber: 15
|
|
54104
|
+
}, void 0),
|
|
54105
|
+
/* @__PURE__ */ jsxDEV(
|
|
53794
54106
|
"button",
|
|
53795
54107
|
{
|
|
53796
54108
|
onClick: saveAllChanges,
|
|
@@ -53811,12 +54123,32 @@ const PrincipalViewGraphPanel = ({
|
|
|
53811
54123
|
transition: "all 0.2s"
|
|
53812
54124
|
},
|
|
53813
54125
|
children: [
|
|
53814
|
-
state.isSaving ? /* @__PURE__ */
|
|
53815
|
-
|
|
54126
|
+
state.isSaving ? /* @__PURE__ */ jsxDEV(Loader, { size: 14, style: { animation: "spin 1s linear infinite" } }, void 0, false, {
|
|
54127
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54128
|
+
lineNumber: 574,
|
|
54129
|
+
columnNumber: 19
|
|
54130
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Save, { size: 14 }, void 0, false, {
|
|
54131
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54132
|
+
lineNumber: 576,
|
|
54133
|
+
columnNumber: 19
|
|
54134
|
+
}, void 0),
|
|
54135
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Save" }, void 0, false, {
|
|
54136
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54137
|
+
lineNumber: 578,
|
|
54138
|
+
columnNumber: 17
|
|
54139
|
+
}, void 0)
|
|
53816
54140
|
]
|
|
53817
|
-
}
|
|
54141
|
+
},
|
|
54142
|
+
void 0,
|
|
54143
|
+
true,
|
|
54144
|
+
{
|
|
54145
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54146
|
+
lineNumber: 554,
|
|
54147
|
+
columnNumber: 15
|
|
54148
|
+
},
|
|
54149
|
+
void 0
|
|
53818
54150
|
),
|
|
53819
|
-
/* @__PURE__ */
|
|
54151
|
+
/* @__PURE__ */ jsxDEV(
|
|
53820
54152
|
"button",
|
|
53821
54153
|
{
|
|
53822
54154
|
onClick: discardChanges,
|
|
@@ -53837,23 +54169,71 @@ const PrincipalViewGraphPanel = ({
|
|
|
53837
54169
|
transition: "all 0.2s"
|
|
53838
54170
|
},
|
|
53839
54171
|
children: [
|
|
53840
|
-
/* @__PURE__ */
|
|
53841
|
-
|
|
54172
|
+
/* @__PURE__ */ jsxDEV(X$1, { size: 14 }, void 0, false, {
|
|
54173
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54174
|
+
lineNumber: 601,
|
|
54175
|
+
columnNumber: 17
|
|
54176
|
+
}, void 0),
|
|
54177
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Discard" }, void 0, false, {
|
|
54178
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54179
|
+
lineNumber: 602,
|
|
54180
|
+
columnNumber: 17
|
|
54181
|
+
}, void 0)
|
|
53842
54182
|
]
|
|
53843
|
-
}
|
|
54183
|
+
},
|
|
54184
|
+
void 0,
|
|
54185
|
+
true,
|
|
54186
|
+
{
|
|
54187
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54188
|
+
lineNumber: 582,
|
|
54189
|
+
columnNumber: 15
|
|
54190
|
+
},
|
|
54191
|
+
void 0
|
|
53844
54192
|
)
|
|
53845
|
-
] }
|
|
53846
|
-
|
|
54193
|
+
] }, void 0, true, {
|
|
54194
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54195
|
+
lineNumber: 540,
|
|
54196
|
+
columnNumber: 13
|
|
54197
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Fragment, { children: [
|
|
54198
|
+
((_b = state.canvas.pv) == null ? void 0 : _b.version) && /* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: [
|
|
53847
54199
|
"v",
|
|
53848
54200
|
state.canvas.pv.version
|
|
53849
|
-
] }
|
|
53850
|
-
|
|
53851
|
-
|
|
53852
|
-
|
|
53853
|
-
|
|
53854
|
-
|
|
53855
|
-
|
|
53856
|
-
|
|
54201
|
+
] }, void 0, true, {
|
|
54202
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54203
|
+
lineNumber: 608,
|
|
54204
|
+
columnNumber: 17
|
|
54205
|
+
}, void 0),
|
|
54206
|
+
((_c = state.canvas.pv) == null ? void 0 : _c.description) && /* @__PURE__ */ jsxDEV(Fragment, { children: [
|
|
54207
|
+
((_d = state.canvas.pv) == null ? void 0 : _d.version) && /* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.textMuted }, children: "•" }, void 0, false, {
|
|
54208
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54209
|
+
lineNumber: 614,
|
|
54210
|
+
columnNumber: 48
|
|
54211
|
+
}, void 0),
|
|
54212
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: state.canvas.pv.description }, void 0, false, {
|
|
54213
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54214
|
+
lineNumber: 615,
|
|
54215
|
+
columnNumber: 19
|
|
54216
|
+
}, void 0)
|
|
54217
|
+
] }, void 0, true, {
|
|
54218
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54219
|
+
lineNumber: 613,
|
|
54220
|
+
columnNumber: 17
|
|
54221
|
+
}, void 0)
|
|
54222
|
+
] }, void 0, true, {
|
|
54223
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54224
|
+
lineNumber: 606,
|
|
54225
|
+
columnNumber: 13
|
|
54226
|
+
}, void 0) }, void 0, false, {
|
|
54227
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54228
|
+
lineNumber: 533,
|
|
54229
|
+
columnNumber: 9
|
|
54230
|
+
}, void 0)
|
|
54231
|
+
] }, void 0, true, {
|
|
54232
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54233
|
+
lineNumber: 422,
|
|
54234
|
+
columnNumber: 7
|
|
54235
|
+
}, void 0),
|
|
54236
|
+
state.showLayoutConfig && /* @__PURE__ */ jsxDEV("div", { style: {
|
|
53857
54237
|
padding: `${theme.space[3]}px 20px`,
|
|
53858
54238
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53859
54239
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
@@ -53862,13 +54242,17 @@ const PrincipalViewGraphPanel = ({
|
|
|
53862
54242
|
gap: theme.space[4],
|
|
53863
54243
|
flexWrap: "wrap"
|
|
53864
54244
|
}, children: [
|
|
53865
|
-
/* @__PURE__ */
|
|
53866
|
-
/* @__PURE__ */
|
|
54245
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54246
|
+
/* @__PURE__ */ jsxDEV("label", { style: {
|
|
53867
54247
|
fontSize: theme.fontSizes[1],
|
|
53868
54248
|
color: theme.colors.textMuted,
|
|
53869
54249
|
fontWeight: theme.fontWeights.medium
|
|
53870
|
-
}, children: "Direction" }
|
|
53871
|
-
|
|
54250
|
+
}, children: "Direction" }, void 0, false, {
|
|
54251
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54252
|
+
lineNumber: 638,
|
|
54253
|
+
columnNumber: 13
|
|
54254
|
+
}, void 0),
|
|
54255
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", gap: theme.space[1] }, children: ["TB", "BT", "LR", "RL"].map((dir) => /* @__PURE__ */ jsxDEV(
|
|
53872
54256
|
"button",
|
|
53873
54257
|
{
|
|
53874
54258
|
onClick: () => updateLayoutConfig({ direction: dir }),
|
|
@@ -53891,16 +54275,35 @@ const PrincipalViewGraphPanel = ({
|
|
|
53891
54275
|
},
|
|
53892
54276
|
children: dir
|
|
53893
54277
|
},
|
|
53894
|
-
dir
|
|
53895
|
-
|
|
53896
|
-
|
|
53897
|
-
|
|
53898
|
-
|
|
54278
|
+
dir,
|
|
54279
|
+
false,
|
|
54280
|
+
{
|
|
54281
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54282
|
+
lineNumber: 647,
|
|
54283
|
+
columnNumber: 17
|
|
54284
|
+
},
|
|
54285
|
+
void 0
|
|
54286
|
+
)) }, void 0, false, {
|
|
54287
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54288
|
+
lineNumber: 645,
|
|
54289
|
+
columnNumber: 13
|
|
54290
|
+
}, void 0)
|
|
54291
|
+
] }, void 0, true, {
|
|
54292
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54293
|
+
lineNumber: 637,
|
|
54294
|
+
columnNumber: 11
|
|
54295
|
+
}, void 0),
|
|
54296
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54297
|
+
/* @__PURE__ */ jsxDEV("label", { style: {
|
|
53899
54298
|
fontSize: theme.fontSizes[1],
|
|
53900
54299
|
color: theme.colors.textMuted,
|
|
53901
54300
|
fontWeight: theme.fontWeights.medium
|
|
53902
|
-
}, children: "H-Spacing" }
|
|
53903
|
-
|
|
54301
|
+
}, children: "H-Spacing" }, void 0, false, {
|
|
54302
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54303
|
+
lineNumber: 676,
|
|
54304
|
+
columnNumber: 13
|
|
54305
|
+
}, void 0),
|
|
54306
|
+
/* @__PURE__ */ jsxDEV(
|
|
53904
54307
|
"input",
|
|
53905
54308
|
{
|
|
53906
54309
|
type: "range",
|
|
@@ -53910,22 +54313,42 @@ const PrincipalViewGraphPanel = ({
|
|
|
53910
54313
|
value: state.layoutConfig.nodeSpacingX,
|
|
53911
54314
|
onChange: (e) => updateLayoutConfig({ nodeSpacingX: Number(e.target.value) }),
|
|
53912
54315
|
style: { width: 80, cursor: "pointer" }
|
|
53913
|
-
}
|
|
54316
|
+
},
|
|
54317
|
+
void 0,
|
|
54318
|
+
false,
|
|
54319
|
+
{
|
|
54320
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54321
|
+
lineNumber: 683,
|
|
54322
|
+
columnNumber: 13
|
|
54323
|
+
},
|
|
54324
|
+
void 0
|
|
53914
54325
|
),
|
|
53915
|
-
/* @__PURE__ */
|
|
54326
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
53916
54327
|
fontSize: theme.fontSizes[0],
|
|
53917
54328
|
color: theme.colors.textMuted,
|
|
53918
54329
|
fontFamily: theme.fonts.monospace,
|
|
53919
54330
|
minWidth: 32
|
|
53920
|
-
}, children: state.layoutConfig.nodeSpacingX }
|
|
53921
|
-
|
|
53922
|
-
|
|
53923
|
-
|
|
54331
|
+
}, children: state.layoutConfig.nodeSpacingX }, void 0, false, {
|
|
54332
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54333
|
+
lineNumber: 692,
|
|
54334
|
+
columnNumber: 13
|
|
54335
|
+
}, void 0)
|
|
54336
|
+
] }, void 0, true, {
|
|
54337
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54338
|
+
lineNumber: 675,
|
|
54339
|
+
columnNumber: 11
|
|
54340
|
+
}, void 0),
|
|
54341
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54342
|
+
/* @__PURE__ */ jsxDEV("label", { style: {
|
|
53924
54343
|
fontSize: theme.fontSizes[1],
|
|
53925
54344
|
color: theme.colors.textMuted,
|
|
53926
54345
|
fontWeight: theme.fontWeights.medium
|
|
53927
|
-
}, children: "V-Spacing" }
|
|
53928
|
-
|
|
54346
|
+
}, children: "V-Spacing" }, void 0, false, {
|
|
54347
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54348
|
+
lineNumber: 704,
|
|
54349
|
+
columnNumber: 13
|
|
54350
|
+
}, void 0),
|
|
54351
|
+
/* @__PURE__ */ jsxDEV(
|
|
53929
54352
|
"input",
|
|
53930
54353
|
{
|
|
53931
54354
|
type: "range",
|
|
@@ -53935,17 +54358,37 @@ const PrincipalViewGraphPanel = ({
|
|
|
53935
54358
|
value: state.layoutConfig.nodeSpacingY,
|
|
53936
54359
|
onChange: (e) => updateLayoutConfig({ nodeSpacingY: Number(e.target.value) }),
|
|
53937
54360
|
style: { width: 80, cursor: "pointer" }
|
|
53938
|
-
}
|
|
54361
|
+
},
|
|
54362
|
+
void 0,
|
|
54363
|
+
false,
|
|
54364
|
+
{
|
|
54365
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54366
|
+
lineNumber: 711,
|
|
54367
|
+
columnNumber: 13
|
|
54368
|
+
},
|
|
54369
|
+
void 0
|
|
53939
54370
|
),
|
|
53940
|
-
/* @__PURE__ */
|
|
54371
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
53941
54372
|
fontSize: theme.fontSizes[0],
|
|
53942
54373
|
color: theme.colors.textMuted,
|
|
53943
54374
|
fontFamily: theme.fonts.monospace,
|
|
53944
54375
|
minWidth: 32
|
|
53945
|
-
}, children: state.layoutConfig.nodeSpacingY }
|
|
53946
|
-
|
|
53947
|
-
|
|
53948
|
-
|
|
54376
|
+
}, children: state.layoutConfig.nodeSpacingY }, void 0, false, {
|
|
54377
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54378
|
+
lineNumber: 720,
|
|
54379
|
+
columnNumber: 13
|
|
54380
|
+
}, void 0)
|
|
54381
|
+
] }, void 0, true, {
|
|
54382
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54383
|
+
lineNumber: 703,
|
|
54384
|
+
columnNumber: 11
|
|
54385
|
+
}, void 0),
|
|
54386
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1 } }, void 0, false, {
|
|
54387
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54388
|
+
lineNumber: 731,
|
|
54389
|
+
columnNumber: 11
|
|
54390
|
+
}, void 0),
|
|
54391
|
+
/* @__PURE__ */ jsxDEV(
|
|
53949
54392
|
"button",
|
|
53950
54393
|
{
|
|
53951
54394
|
onClick: applyAutoLayout,
|
|
@@ -53964,12 +54407,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53964
54407
|
transition: "all 0.15s"
|
|
53965
54408
|
},
|
|
53966
54409
|
children: [
|
|
53967
|
-
/* @__PURE__ */
|
|
53968
|
-
|
|
54410
|
+
/* @__PURE__ */ jsxDEV(LayoutGrid, { size: 14 }, void 0, false, {
|
|
54411
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54412
|
+
lineNumber: 751,
|
|
54413
|
+
columnNumber: 13
|
|
54414
|
+
}, void 0),
|
|
54415
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Apply Layout" }, void 0, false, {
|
|
54416
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54417
|
+
lineNumber: 752,
|
|
54418
|
+
columnNumber: 13
|
|
54419
|
+
}, void 0)
|
|
53969
54420
|
]
|
|
53970
|
-
}
|
|
54421
|
+
},
|
|
54422
|
+
void 0,
|
|
54423
|
+
true,
|
|
54424
|
+
{
|
|
54425
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54426
|
+
lineNumber: 734,
|
|
54427
|
+
columnNumber: 11
|
|
54428
|
+
},
|
|
54429
|
+
void 0
|
|
53971
54430
|
),
|
|
53972
|
-
/* @__PURE__ */
|
|
54431
|
+
/* @__PURE__ */ jsxDEV(
|
|
53973
54432
|
"button",
|
|
53974
54433
|
{
|
|
53975
54434
|
onClick: toggleLayoutConfig,
|
|
@@ -53987,11 +54446,27 @@ const PrincipalViewGraphPanel = ({
|
|
|
53987
54446
|
cursor: "pointer",
|
|
53988
54447
|
transition: "all 0.15s"
|
|
53989
54448
|
},
|
|
53990
|
-
children: /* @__PURE__ */
|
|
53991
|
-
|
|
54449
|
+
children: /* @__PURE__ */ jsxDEV(X$1, { size: 16 }, void 0, false, {
|
|
54450
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54451
|
+
lineNumber: 773,
|
|
54452
|
+
columnNumber: 13
|
|
54453
|
+
}, void 0)
|
|
54454
|
+
},
|
|
54455
|
+
void 0,
|
|
54456
|
+
false,
|
|
54457
|
+
{
|
|
54458
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54459
|
+
lineNumber: 756,
|
|
54460
|
+
columnNumber: 11
|
|
54461
|
+
},
|
|
54462
|
+
void 0
|
|
53992
54463
|
)
|
|
53993
|
-
] }
|
|
53994
|
-
|
|
54464
|
+
] }, void 0, true, {
|
|
54465
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54466
|
+
lineNumber: 627,
|
|
54467
|
+
columnNumber: 9
|
|
54468
|
+
}, void 0),
|
|
54469
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1, position: "relative" }, children: /* @__PURE__ */ jsxDEV(
|
|
53995
54470
|
distExports.GraphRenderer,
|
|
53996
54471
|
{
|
|
53997
54472
|
ref: graphRef,
|
|
@@ -54003,9 +54478,24 @@ const PrincipalViewGraphPanel = ({
|
|
|
54003
54478
|
editable: state.isEditMode,
|
|
54004
54479
|
onPendingChangesChange: handlePendingChangesChange
|
|
54005
54480
|
},
|
|
54006
|
-
`graph-${state.layoutVersion}
|
|
54007
|
-
|
|
54008
|
-
|
|
54481
|
+
`graph-${state.layoutVersion}`,
|
|
54482
|
+
false,
|
|
54483
|
+
{
|
|
54484
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54485
|
+
lineNumber: 780,
|
|
54486
|
+
columnNumber: 9
|
|
54487
|
+
},
|
|
54488
|
+
void 0
|
|
54489
|
+
) }, void 0, false, {
|
|
54490
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54491
|
+
lineNumber: 779,
|
|
54492
|
+
columnNumber: 7
|
|
54493
|
+
}, void 0)
|
|
54494
|
+
] }, void 0, true, {
|
|
54495
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54496
|
+
lineNumber: 414,
|
|
54497
|
+
columnNumber: 5
|
|
54498
|
+
}, void 0);
|
|
54009
54499
|
};
|
|
54010
54500
|
function applyChangesToCanvas(canvas, changes) {
|
|
54011
54501
|
var _a, _b;
|
|
@@ -54474,7 +54964,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54474
54964
|
);
|
|
54475
54965
|
}, [state.library, state.libraryFilter]);
|
|
54476
54966
|
if (state.loading) {
|
|
54477
|
-
return /* @__PURE__ */
|
|
54967
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54478
54968
|
height: "100%",
|
|
54479
54969
|
width: "100%",
|
|
54480
54970
|
display: "flex",
|
|
@@ -54483,73 +54973,109 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54483
54973
|
fontFamily: theme.fonts.body,
|
|
54484
54974
|
overflow: "hidden"
|
|
54485
54975
|
}, children: [
|
|
54486
|
-
/* @__PURE__ */
|
|
54976
|
+
/* @__PURE__ */ jsxDEV("style", { children: `
|
|
54487
54977
|
@keyframes shimmer {
|
|
54488
54978
|
0% { background-position: -200% 0; }
|
|
54489
54979
|
100% { background-position: 200% 0; }
|
|
54490
54980
|
}
|
|
54491
|
-
` }
|
|
54492
|
-
|
|
54981
|
+
` }, void 0, false, {
|
|
54982
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
54983
|
+
lineNumber: 389,
|
|
54984
|
+
columnNumber: 9
|
|
54985
|
+
}, void 0),
|
|
54986
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54493
54987
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
54494
54988
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54495
54989
|
display: "flex",
|
|
54496
54990
|
alignItems: "center",
|
|
54497
54991
|
justifyContent: "space-between"
|
|
54498
54992
|
}, children: [
|
|
54499
|
-
/* @__PURE__ */
|
|
54993
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54500
54994
|
width: "80px",
|
|
54501
54995
|
height: "20px",
|
|
54502
54996
|
borderRadius: theme.radii[1],
|
|
54503
54997
|
background: `linear-gradient(90deg, ${theme.colors.backgroundSecondary} 25%, ${theme.colors.border} 50%, ${theme.colors.backgroundSecondary} 75%)`,
|
|
54504
54998
|
backgroundSize: "200% 100%",
|
|
54505
54999
|
animation: "shimmer 1.5s infinite"
|
|
54506
|
-
} }
|
|
54507
|
-
|
|
55000
|
+
} }, void 0, false, {
|
|
55001
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55002
|
+
lineNumber: 404,
|
|
55003
|
+
columnNumber: 11
|
|
55004
|
+
}, void 0),
|
|
55005
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54508
55006
|
width: "28px",
|
|
54509
55007
|
height: "28px",
|
|
54510
55008
|
borderRadius: theme.radii[1],
|
|
54511
55009
|
background: `linear-gradient(90deg, ${theme.colors.backgroundSecondary} 25%, ${theme.colors.border} 50%, ${theme.colors.backgroundSecondary} 75%)`,
|
|
54512
55010
|
backgroundSize: "200% 100%",
|
|
54513
55011
|
animation: "shimmer 1.5s infinite"
|
|
54514
|
-
} }
|
|
54515
|
-
|
|
54516
|
-
|
|
55012
|
+
} }, void 0, false, {
|
|
55013
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55014
|
+
lineNumber: 412,
|
|
55015
|
+
columnNumber: 11
|
|
55016
|
+
}, void 0)
|
|
55017
|
+
] }, void 0, true, {
|
|
55018
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55019
|
+
lineNumber: 397,
|
|
55020
|
+
columnNumber: 9
|
|
55021
|
+
}, void 0),
|
|
55022
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54517
55023
|
display: "flex",
|
|
54518
55024
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54519
55025
|
backgroundColor: theme.colors.backgroundSecondary
|
|
54520
55026
|
}, children: [
|
|
54521
|
-
/* @__PURE__ */
|
|
55027
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54522
55028
|
flex: 1,
|
|
54523
55029
|
padding: `${theme.space[2]}px ${theme.space[3]}px`,
|
|
54524
55030
|
display: "flex",
|
|
54525
55031
|
alignItems: "center",
|
|
54526
55032
|
justifyContent: "center",
|
|
54527
55033
|
gap: theme.space[2]
|
|
54528
|
-
}, children: /* @__PURE__ */
|
|
55034
|
+
}, children: /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54529
55035
|
width: "60px",
|
|
54530
55036
|
height: "16px",
|
|
54531
55037
|
borderRadius: theme.radii[1],
|
|
54532
55038
|
background: `linear-gradient(90deg, ${theme.colors.background} 25%, ${theme.colors.border} 50%, ${theme.colors.background} 75%)`,
|
|
54533
55039
|
backgroundSize: "200% 100%",
|
|
54534
55040
|
animation: "shimmer 1.5s infinite"
|
|
54535
|
-
} }
|
|
54536
|
-
|
|
55041
|
+
} }, void 0, false, {
|
|
55042
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55043
|
+
lineNumber: 436,
|
|
55044
|
+
columnNumber: 13
|
|
55045
|
+
}, void 0) }, void 0, false, {
|
|
55046
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55047
|
+
lineNumber: 428,
|
|
55048
|
+
columnNumber: 11
|
|
55049
|
+
}, void 0),
|
|
55050
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54537
55051
|
flex: 1,
|
|
54538
55052
|
padding: `${theme.space[2]}px ${theme.space[3]}px`,
|
|
54539
55053
|
display: "flex",
|
|
54540
55054
|
alignItems: "center",
|
|
54541
55055
|
justifyContent: "center",
|
|
54542
55056
|
gap: theme.space[2]
|
|
54543
|
-
}, children: /* @__PURE__ */
|
|
55057
|
+
}, children: /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54544
55058
|
width: "60px",
|
|
54545
55059
|
height: "16px",
|
|
54546
55060
|
borderRadius: theme.radii[1],
|
|
54547
55061
|
background: `linear-gradient(90deg, ${theme.colors.background} 25%, ${theme.colors.border} 50%, ${theme.colors.background} 75%)`,
|
|
54548
55062
|
backgroundSize: "200% 100%",
|
|
54549
55063
|
animation: "shimmer 1.5s infinite"
|
|
54550
|
-
} }
|
|
54551
|
-
|
|
54552
|
-
|
|
55064
|
+
} }, void 0, false, {
|
|
55065
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55066
|
+
lineNumber: 453,
|
|
55067
|
+
columnNumber: 13
|
|
55068
|
+
}, void 0) }, void 0, false, {
|
|
55069
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55070
|
+
lineNumber: 445,
|
|
55071
|
+
columnNumber: 11
|
|
55072
|
+
}, void 0)
|
|
55073
|
+
] }, void 0, true, {
|
|
55074
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55075
|
+
lineNumber: 423,
|
|
55076
|
+
columnNumber: 9
|
|
55077
|
+
}, void 0),
|
|
55078
|
+
/* @__PURE__ */ jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxDEV(
|
|
54553
55079
|
"div",
|
|
54554
55080
|
{
|
|
54555
55081
|
style: {
|
|
@@ -54563,7 +55089,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54563
55089
|
border: `1px solid ${theme.colors.border}`
|
|
54564
55090
|
},
|
|
54565
55091
|
children: [
|
|
54566
|
-
/* @__PURE__ */
|
|
55092
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54567
55093
|
width: "16px",
|
|
54568
55094
|
height: "16px",
|
|
54569
55095
|
borderRadius: theme.radii[1],
|
|
@@ -54571,8 +55097,12 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54571
55097
|
backgroundSize: "200% 100%",
|
|
54572
55098
|
animation: "shimmer 1.5s infinite",
|
|
54573
55099
|
animationDelay: `${i * 0.1}s`
|
|
54574
|
-
} }
|
|
54575
|
-
|
|
55100
|
+
} }, void 0, false, {
|
|
55101
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55102
|
+
lineNumber: 480,
|
|
55103
|
+
columnNumber: 15
|
|
55104
|
+
}, void 0),
|
|
55105
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54576
55106
|
flex: 1,
|
|
54577
55107
|
height: "16px",
|
|
54578
55108
|
borderRadius: theme.radii[1],
|
|
@@ -54580,15 +55110,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54580
55110
|
backgroundSize: "200% 100%",
|
|
54581
55111
|
animation: "shimmer 1.5s infinite",
|
|
54582
55112
|
animationDelay: `${i * 0.1}s`
|
|
54583
|
-
} }
|
|
55113
|
+
} }, void 0, false, {
|
|
55114
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55115
|
+
lineNumber: 489,
|
|
55116
|
+
columnNumber: 15
|
|
55117
|
+
}, void 0)
|
|
54584
55118
|
]
|
|
54585
55119
|
},
|
|
54586
|
-
i
|
|
54587
|
-
|
|
54588
|
-
|
|
55120
|
+
i,
|
|
55121
|
+
true,
|
|
55122
|
+
{
|
|
55123
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55124
|
+
lineNumber: 467,
|
|
55125
|
+
columnNumber: 13
|
|
55126
|
+
},
|
|
55127
|
+
void 0
|
|
55128
|
+
)) }, void 0, false, {
|
|
55129
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55130
|
+
lineNumber: 465,
|
|
55131
|
+
columnNumber: 9
|
|
55132
|
+
}, void 0)
|
|
55133
|
+
] }, void 0, true, {
|
|
55134
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55135
|
+
lineNumber: 380,
|
|
55136
|
+
columnNumber: 7
|
|
55137
|
+
}, void 0);
|
|
54589
55138
|
}
|
|
54590
55139
|
if (state.error) {
|
|
54591
|
-
return /* @__PURE__ */
|
|
55140
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54592
55141
|
display: "flex",
|
|
54593
55142
|
flexDirection: "column",
|
|
54594
55143
|
alignItems: "center",
|
|
@@ -54600,8 +55149,12 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54600
55149
|
fontFamily: theme.fonts.body,
|
|
54601
55150
|
textAlign: "center"
|
|
54602
55151
|
}, children: [
|
|
54603
|
-
/* @__PURE__ */
|
|
54604
|
-
|
|
55152
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.error || "#ef4444", marginBottom: theme.space[2] }, children: state.error }, void 0, false, {
|
|
55153
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55154
|
+
lineNumber: 519,
|
|
55155
|
+
columnNumber: 9
|
|
55156
|
+
}, void 0),
|
|
55157
|
+
/* @__PURE__ */ jsxDEV(
|
|
54605
55158
|
"button",
|
|
54606
55159
|
{
|
|
54607
55160
|
onClick: () => loadData(),
|
|
@@ -54619,17 +55172,33 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54619
55172
|
fontSize: theme.fontSizes[1]
|
|
54620
55173
|
},
|
|
54621
55174
|
children: [
|
|
54622
|
-
/* @__PURE__ */
|
|
55175
|
+
/* @__PURE__ */ jsxDEV(RefreshCw, { size: 14 }, void 0, false, {
|
|
55176
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55177
|
+
lineNumber: 538,
|
|
55178
|
+
columnNumber: 11
|
|
55179
|
+
}, void 0),
|
|
54623
55180
|
"Retry"
|
|
54624
55181
|
]
|
|
54625
|
-
}
|
|
55182
|
+
},
|
|
55183
|
+
void 0,
|
|
55184
|
+
true,
|
|
55185
|
+
{
|
|
55186
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55187
|
+
lineNumber: 522,
|
|
55188
|
+
columnNumber: 9
|
|
55189
|
+
},
|
|
55190
|
+
void 0
|
|
54626
55191
|
)
|
|
54627
|
-
] }
|
|
55192
|
+
] }, void 0, true, {
|
|
55193
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55194
|
+
lineNumber: 507,
|
|
55195
|
+
columnNumber: 7
|
|
55196
|
+
}, void 0);
|
|
54628
55197
|
}
|
|
54629
55198
|
const hasContent = state.configs.length > 0 || state.library;
|
|
54630
55199
|
if (!hasContent) {
|
|
54631
55200
|
const npmPackageUrl = "https://www.npmjs.com/package/@principal-ai/principal-view-cli";
|
|
54632
|
-
return /* @__PURE__ */
|
|
55201
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54633
55202
|
display: "flex",
|
|
54634
55203
|
flexDirection: "column",
|
|
54635
55204
|
alignItems: "center",
|
|
@@ -54641,18 +55210,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54641
55210
|
fontFamily: theme.fonts.body,
|
|
54642
55211
|
textAlign: "center"
|
|
54643
55212
|
}, children: [
|
|
54644
|
-
/* @__PURE__ */
|
|
54645
|
-
|
|
54646
|
-
|
|
54647
|
-
|
|
55213
|
+
/* @__PURE__ */ jsxDEV(Network, { size: 56, style: { marginBottom: theme.space[3], opacity: 0.3 } }, void 0, false, {
|
|
55214
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55215
|
+
lineNumber: 563,
|
|
55216
|
+
columnNumber: 9
|
|
55217
|
+
}, void 0),
|
|
55218
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[3], fontWeight: theme.fontWeights.medium, marginBottom: theme.space[2], color: theme.colors.text }, children: "No configurations found" }, void 0, false, {
|
|
55219
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55220
|
+
lineNumber: 564,
|
|
55221
|
+
columnNumber: 9
|
|
55222
|
+
}, void 0),
|
|
55223
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[2], marginBottom: theme.space[3], maxWidth: "80%", lineHeight: 1.5 }, children: "Initialize Principal View to create architecture diagrams that connect to your codebase." }, void 0, false, {
|
|
55224
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55225
|
+
lineNumber: 567,
|
|
55226
|
+
columnNumber: 9
|
|
55227
|
+
}, void 0),
|
|
55228
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54648
55229
|
display: "flex",
|
|
54649
55230
|
flexDirection: "column",
|
|
54650
55231
|
gap: theme.space[2],
|
|
54651
55232
|
width: "90%",
|
|
54652
55233
|
maxWidth: "400px"
|
|
54653
55234
|
}, children: [
|
|
54654
|
-
/* @__PURE__ */
|
|
54655
|
-
|
|
55235
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: "Run this command to get started:" }, void 0, false, {
|
|
55236
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55237
|
+
lineNumber: 579,
|
|
55238
|
+
columnNumber: 11
|
|
55239
|
+
}, void 0),
|
|
55240
|
+
/* @__PURE__ */ jsxDEV(
|
|
54656
55241
|
"button",
|
|
54657
55242
|
{
|
|
54658
55243
|
onClick: handleCopyCommand,
|
|
@@ -54673,13 +55258,37 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54673
55258
|
transition: "all 0.15s"
|
|
54674
55259
|
},
|
|
54675
55260
|
children: [
|
|
54676
|
-
/* @__PURE__ */
|
|
54677
|
-
|
|
55261
|
+
/* @__PURE__ */ jsxDEV("code", { style: { flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: cliCommand }, void 0, false, {
|
|
55262
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55263
|
+
lineNumber: 601,
|
|
55264
|
+
columnNumber: 13
|
|
55265
|
+
}, void 0),
|
|
55266
|
+
copied ? /* @__PURE__ */ jsxDEV(Check, { size: 16, style: { color: theme.colors.success || "#22c55e", flexShrink: 0 } }, void 0, false, {
|
|
55267
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55268
|
+
lineNumber: 605,
|
|
55269
|
+
columnNumber: 15
|
|
55270
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Copy, { size: 16, style: { color: theme.colors.textMuted, flexShrink: 0 } }, void 0, false, {
|
|
55271
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55272
|
+
lineNumber: 607,
|
|
55273
|
+
columnNumber: 15
|
|
55274
|
+
}, void 0)
|
|
54678
55275
|
]
|
|
54679
|
-
}
|
|
55276
|
+
},
|
|
55277
|
+
void 0,
|
|
55278
|
+
true,
|
|
55279
|
+
{
|
|
55280
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55281
|
+
lineNumber: 582,
|
|
55282
|
+
columnNumber: 11
|
|
55283
|
+
},
|
|
55284
|
+
void 0
|
|
54680
55285
|
),
|
|
54681
|
-
/* @__PURE__ */
|
|
54682
|
-
|
|
55286
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: cliCommandDescription }, void 0, false, {
|
|
55287
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55288
|
+
lineNumber: 610,
|
|
55289
|
+
columnNumber: 11
|
|
55290
|
+
}, void 0),
|
|
55291
|
+
/* @__PURE__ */ jsxDEV(
|
|
54683
55292
|
"a",
|
|
54684
55293
|
{
|
|
54685
55294
|
href: npmPackageUrl,
|
|
@@ -54698,12 +55307,32 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54698
55307
|
},
|
|
54699
55308
|
children: [
|
|
54700
55309
|
"Learn more on npm",
|
|
54701
|
-
/* @__PURE__ */
|
|
55310
|
+
/* @__PURE__ */ jsxDEV(ExternalLink, { size: 14 }, void 0, false, {
|
|
55311
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55312
|
+
lineNumber: 632,
|
|
55313
|
+
columnNumber: 13
|
|
55314
|
+
}, void 0)
|
|
54702
55315
|
]
|
|
54703
|
-
}
|
|
55316
|
+
},
|
|
55317
|
+
void 0,
|
|
55318
|
+
true,
|
|
55319
|
+
{
|
|
55320
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55321
|
+
lineNumber: 615,
|
|
55322
|
+
columnNumber: 11
|
|
55323
|
+
},
|
|
55324
|
+
void 0
|
|
54704
55325
|
)
|
|
54705
|
-
] }
|
|
54706
|
-
|
|
55326
|
+
] }, void 0, true, {
|
|
55327
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55328
|
+
lineNumber: 572,
|
|
55329
|
+
columnNumber: 9
|
|
55330
|
+
}, void 0)
|
|
55331
|
+
] }, void 0, true, {
|
|
55332
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55333
|
+
lineNumber: 551,
|
|
55334
|
+
columnNumber: 7
|
|
55335
|
+
}, void 0);
|
|
54707
55336
|
}
|
|
54708
55337
|
const getTabStyle = (tabId, isActive) => ({
|
|
54709
55338
|
flex: 1,
|
|
@@ -54722,7 +55351,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54722
55351
|
fontWeight: isActive ? theme.fontWeights.medium : theme.fontWeights.body,
|
|
54723
55352
|
transition: "all 0.15s"
|
|
54724
55353
|
});
|
|
54725
|
-
return /* @__PURE__ */
|
|
55354
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54726
55355
|
height: "100%",
|
|
54727
55356
|
width: "100%",
|
|
54728
55357
|
display: "flex",
|
|
@@ -54732,7 +55361,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54732
55361
|
overflow: "hidden",
|
|
54733
55362
|
position: "relative"
|
|
54734
55363
|
}, children: [
|
|
54735
|
-
/* @__PURE__ */
|
|
55364
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54736
55365
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
54737
55366
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54738
55367
|
backgroundColor: theme.colors.background,
|
|
@@ -54741,14 +55370,18 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54741
55370
|
justifyContent: "space-between",
|
|
54742
55371
|
flexShrink: 0
|
|
54743
55372
|
}, children: [
|
|
54744
|
-
/* @__PURE__ */
|
|
55373
|
+
/* @__PURE__ */ jsxDEV("h2", { style: {
|
|
54745
55374
|
margin: 0,
|
|
54746
55375
|
fontSize: theme.fontSizes[3],
|
|
54747
55376
|
fontWeight: theme.fontWeights.medium,
|
|
54748
55377
|
color: theme.colors.text
|
|
54749
|
-
}, children: "Browser" }
|
|
54750
|
-
|
|
54751
|
-
|
|
55378
|
+
}, children: "Browser" }, void 0, false, {
|
|
55379
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55380
|
+
lineNumber: 679,
|
|
55381
|
+
columnNumber: 9
|
|
55382
|
+
}, void 0),
|
|
55383
|
+
/* @__PURE__ */ jsxDEV("div", { style: { display: "flex", gap: theme.space[1] }, children: [
|
|
55384
|
+
/* @__PURE__ */ jsxDEV(
|
|
54752
55385
|
"button",
|
|
54753
55386
|
{
|
|
54754
55387
|
onClick: () => setShowSetupInfo(true),
|
|
@@ -54766,10 +55399,22 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54766
55399
|
transition: "color 0.2s"
|
|
54767
55400
|
},
|
|
54768
55401
|
title: "Setup instructions",
|
|
54769
|
-
children: /* @__PURE__ */
|
|
54770
|
-
|
|
55402
|
+
children: /* @__PURE__ */ jsxDEV(CircleQuestionMark, { size: 16 }, void 0, false, {
|
|
55403
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55404
|
+
lineNumber: 705,
|
|
55405
|
+
columnNumber: 13
|
|
55406
|
+
}, void 0)
|
|
55407
|
+
},
|
|
55408
|
+
void 0,
|
|
55409
|
+
false,
|
|
55410
|
+
{
|
|
55411
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55412
|
+
lineNumber: 688,
|
|
55413
|
+
columnNumber: 11
|
|
55414
|
+
},
|
|
55415
|
+
void 0
|
|
54771
55416
|
),
|
|
54772
|
-
/* @__PURE__ */
|
|
55417
|
+
/* @__PURE__ */ jsxDEV(
|
|
54773
55418
|
"button",
|
|
54774
55419
|
{
|
|
54775
55420
|
onClick: () => loadData(),
|
|
@@ -54787,57 +55432,121 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54787
55432
|
transition: "color 0.2s"
|
|
54788
55433
|
},
|
|
54789
55434
|
title: "Refresh",
|
|
54790
|
-
children: /* @__PURE__ */
|
|
54791
|
-
|
|
55435
|
+
children: /* @__PURE__ */ jsxDEV(RefreshCw, { size: 16 }, void 0, false, {
|
|
55436
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55437
|
+
lineNumber: 724,
|
|
55438
|
+
columnNumber: 13
|
|
55439
|
+
}, void 0)
|
|
55440
|
+
},
|
|
55441
|
+
void 0,
|
|
55442
|
+
false,
|
|
55443
|
+
{
|
|
55444
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55445
|
+
lineNumber: 707,
|
|
55446
|
+
columnNumber: 11
|
|
55447
|
+
},
|
|
55448
|
+
void 0
|
|
54792
55449
|
)
|
|
54793
|
-
] }
|
|
54794
|
-
|
|
54795
|
-
|
|
55450
|
+
] }, void 0, true, {
|
|
55451
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55452
|
+
lineNumber: 687,
|
|
55453
|
+
columnNumber: 9
|
|
55454
|
+
}, void 0)
|
|
55455
|
+
] }, void 0, true, {
|
|
55456
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55457
|
+
lineNumber: 670,
|
|
55458
|
+
columnNumber: 7
|
|
55459
|
+
}, void 0),
|
|
55460
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54796
55461
|
display: "flex",
|
|
54797
55462
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54798
55463
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
54799
55464
|
flexShrink: 0
|
|
54800
55465
|
}, children: [
|
|
54801
|
-
/* @__PURE__ */
|
|
55466
|
+
/* @__PURE__ */ jsxDEV(
|
|
54802
55467
|
"button",
|
|
54803
55468
|
{
|
|
54804
55469
|
onClick: () => handleTabChange("canvas"),
|
|
54805
55470
|
style: getTabStyle("canvas", state.activeTab === "canvas"),
|
|
54806
55471
|
children: [
|
|
54807
|
-
/* @__PURE__ */
|
|
54808
|
-
|
|
54809
|
-
|
|
55472
|
+
/* @__PURE__ */ jsxDEV(FileBraces, { size: 16 }, void 0, false, {
|
|
55473
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55474
|
+
lineNumber: 740,
|
|
55475
|
+
columnNumber: 11
|
|
55476
|
+
}, void 0),
|
|
55477
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Canvas" }, void 0, false, {
|
|
55478
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55479
|
+
lineNumber: 741,
|
|
55480
|
+
columnNumber: 11
|
|
55481
|
+
}, void 0),
|
|
55482
|
+
state.configs.length > 0 && /* @__PURE__ */ jsxDEV("span", { style: {
|
|
54810
55483
|
fontSize: theme.fontSizes[0],
|
|
54811
55484
|
color: state.activeTab === "canvas" ? theme.colors.primary : theme.colors.textMuted,
|
|
54812
55485
|
backgroundColor: state.activeTab === "canvas" ? `${theme.colors.primary}20` : theme.colors.background,
|
|
54813
55486
|
padding: `0 ${theme.space[1]}`,
|
|
54814
55487
|
borderRadius: theme.radii[1]
|
|
54815
|
-
}, children: state.configs.length }
|
|
55488
|
+
}, children: state.configs.length }, void 0, false, {
|
|
55489
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55490
|
+
lineNumber: 743,
|
|
55491
|
+
columnNumber: 13
|
|
55492
|
+
}, void 0)
|
|
54816
55493
|
]
|
|
54817
|
-
}
|
|
55494
|
+
},
|
|
55495
|
+
void 0,
|
|
55496
|
+
true,
|
|
55497
|
+
{
|
|
55498
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55499
|
+
lineNumber: 736,
|
|
55500
|
+
columnNumber: 9
|
|
55501
|
+
},
|
|
55502
|
+
void 0
|
|
54818
55503
|
),
|
|
54819
|
-
/* @__PURE__ */
|
|
55504
|
+
/* @__PURE__ */ jsxDEV(
|
|
54820
55505
|
"button",
|
|
54821
55506
|
{
|
|
54822
55507
|
onClick: () => handleTabChange("library"),
|
|
54823
55508
|
style: getTabStyle("library", state.activeTab === "library"),
|
|
54824
55509
|
disabled: !state.library,
|
|
54825
55510
|
children: [
|
|
54826
|
-
/* @__PURE__ */
|
|
54827
|
-
|
|
55511
|
+
/* @__PURE__ */ jsxDEV(Library, { size: 16 }, void 0, false, {
|
|
55512
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55513
|
+
lineNumber: 759,
|
|
55514
|
+
columnNumber: 11
|
|
55515
|
+
}, void 0),
|
|
55516
|
+
/* @__PURE__ */ jsxDEV("span", { children: "Library" }, void 0, false, {
|
|
55517
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55518
|
+
lineNumber: 760,
|
|
55519
|
+
columnNumber: 11
|
|
55520
|
+
}, void 0)
|
|
54828
55521
|
]
|
|
54829
|
-
}
|
|
55522
|
+
},
|
|
55523
|
+
void 0,
|
|
55524
|
+
true,
|
|
55525
|
+
{
|
|
55526
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55527
|
+
lineNumber: 754,
|
|
55528
|
+
columnNumber: 9
|
|
55529
|
+
},
|
|
55530
|
+
void 0
|
|
54830
55531
|
)
|
|
54831
|
-
] }
|
|
54832
|
-
|
|
55532
|
+
] }, void 0, true, {
|
|
55533
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55534
|
+
lineNumber: 730,
|
|
55535
|
+
columnNumber: 7
|
|
55536
|
+
}, void 0),
|
|
55537
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54833
55538
|
flex: 1,
|
|
54834
55539
|
overflow: "auto"
|
|
54835
55540
|
}, children: [
|
|
54836
|
-
state.activeTab === "canvas" && /* @__PURE__ */
|
|
55541
|
+
state.activeTab === "canvas" && /* @__PURE__ */ jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: state.configs.length === 0 ? /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54837
55542
|
textAlign: "center",
|
|
54838
55543
|
padding: theme.space[4],
|
|
54839
55544
|
color: theme.colors.textMuted
|
|
54840
|
-
}, children: "No canvas files found" }
|
|
55545
|
+
}, children: "No canvas files found" }, void 0, false, {
|
|
55546
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55547
|
+
lineNumber: 773,
|
|
55548
|
+
columnNumber: 15
|
|
55549
|
+
}, void 0) : /* @__PURE__ */ jsxDEV("div", { style: { display: "flex", flexDirection: "column", gap: theme.space[2] }, children: state.configs.map((config) => /* @__PURE__ */ jsxDEV(
|
|
54841
55550
|
"button",
|
|
54842
55551
|
{
|
|
54843
55552
|
onClick: () => handleConfigSelect(config),
|
|
@@ -54858,19 +55567,46 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54858
55567
|
transition: "all 0.15s"
|
|
54859
55568
|
},
|
|
54860
55569
|
children: [
|
|
54861
|
-
/* @__PURE__ */
|
|
54862
|
-
|
|
54863
|
-
|
|
55570
|
+
/* @__PURE__ */ jsxDEV(FileBraces, { size: 16, style: { color: theme.colors.primary, flexShrink: 0 } }, void 0, false, {
|
|
55571
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55572
|
+
lineNumber: 807,
|
|
55573
|
+
columnNumber: 21
|
|
55574
|
+
}, void 0),
|
|
55575
|
+
/* @__PURE__ */ jsxDEV("span", { style: { flex: 1 }, children: config.displayName }, void 0, false, {
|
|
55576
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55577
|
+
lineNumber: 808,
|
|
55578
|
+
columnNumber: 21
|
|
55579
|
+
}, void 0),
|
|
55580
|
+
/* @__PURE__ */ jsxDEV(ArrowRight, { size: 14, style: { color: theme.colors.textMuted, opacity: 0.5 } }, void 0, false, {
|
|
55581
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55582
|
+
lineNumber: 809,
|
|
55583
|
+
columnNumber: 21
|
|
55584
|
+
}, void 0)
|
|
54864
55585
|
]
|
|
54865
55586
|
},
|
|
54866
|
-
config.id
|
|
54867
|
-
|
|
54868
|
-
|
|
54869
|
-
|
|
55587
|
+
config.id,
|
|
55588
|
+
true,
|
|
55589
|
+
{
|
|
55590
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55591
|
+
lineNumber: 783,
|
|
55592
|
+
columnNumber: 19
|
|
55593
|
+
},
|
|
55594
|
+
void 0
|
|
55595
|
+
)) }, void 0, false, {
|
|
55596
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55597
|
+
lineNumber: 781,
|
|
55598
|
+
columnNumber: 15
|
|
55599
|
+
}, void 0) }, void 0, false, {
|
|
55600
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55601
|
+
lineNumber: 771,
|
|
55602
|
+
columnNumber: 11
|
|
55603
|
+
}, void 0),
|
|
55604
|
+
state.activeTab === "library" && state.library && /* @__PURE__ */ jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: [
|
|
55605
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54870
55606
|
position: "relative",
|
|
54871
55607
|
marginBottom: theme.space[3]
|
|
54872
55608
|
}, children: [
|
|
54873
|
-
/* @__PURE__ */
|
|
55609
|
+
/* @__PURE__ */ jsxDEV(
|
|
54874
55610
|
Search,
|
|
54875
55611
|
{
|
|
54876
55612
|
size: 16,
|
|
@@ -54882,9 +55618,17 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54882
55618
|
color: theme.colors.textMuted,
|
|
54883
55619
|
pointerEvents: "none"
|
|
54884
55620
|
}
|
|
54885
|
-
}
|
|
55621
|
+
},
|
|
55622
|
+
void 0,
|
|
55623
|
+
false,
|
|
55624
|
+
{
|
|
55625
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55626
|
+
lineNumber: 825,
|
|
55627
|
+
columnNumber: 15
|
|
55628
|
+
},
|
|
55629
|
+
void 0
|
|
54886
55630
|
),
|
|
54887
|
-
/* @__PURE__ */
|
|
55631
|
+
/* @__PURE__ */ jsxDEV(
|
|
54888
55632
|
"input",
|
|
54889
55633
|
{
|
|
54890
55634
|
type: "text",
|
|
@@ -54904,24 +55648,44 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54904
55648
|
outline: "none",
|
|
54905
55649
|
boxSizing: "border-box"
|
|
54906
55650
|
}
|
|
54907
|
-
}
|
|
55651
|
+
},
|
|
55652
|
+
void 0,
|
|
55653
|
+
false,
|
|
55654
|
+
{
|
|
55655
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55656
|
+
lineNumber: 836,
|
|
55657
|
+
columnNumber: 15
|
|
55658
|
+
},
|
|
55659
|
+
void 0
|
|
54908
55660
|
)
|
|
54909
|
-
] }
|
|
54910
|
-
|
|
54911
|
-
|
|
55661
|
+
] }, void 0, true, {
|
|
55662
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55663
|
+
lineNumber: 821,
|
|
55664
|
+
columnNumber: 13
|
|
55665
|
+
}, void 0),
|
|
55666
|
+
nodeComponents.length > 0 && /* @__PURE__ */ jsxDEV("div", { style: { marginBottom: theme.space[3] }, children: [
|
|
55667
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54912
55668
|
marginBottom: theme.space[2]
|
|
54913
|
-
}, children: /* @__PURE__ */
|
|
55669
|
+
}, children: /* @__PURE__ */ jsxDEV("span", { style: {
|
|
54914
55670
|
fontSize: theme.fontSizes[1],
|
|
54915
55671
|
fontWeight: theme.fontWeights.medium,
|
|
54916
55672
|
color: theme.colors.text
|
|
54917
|
-
}, children: "Node Components" }
|
|
54918
|
-
|
|
55673
|
+
}, children: "Node Components" }, void 0, false, {
|
|
55674
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55675
|
+
lineNumber: 863,
|
|
55676
|
+
columnNumber: 19
|
|
55677
|
+
}, void 0) }, void 0, false, {
|
|
55678
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55679
|
+
lineNumber: 860,
|
|
55680
|
+
columnNumber: 17
|
|
55681
|
+
}, void 0),
|
|
55682
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54919
55683
|
display: "flex",
|
|
54920
55684
|
flexDirection: "column",
|
|
54921
55685
|
gap: theme.space[2]
|
|
54922
55686
|
}, children: nodeComponents.map(([key, node]) => {
|
|
54923
55687
|
const ShapeIcon = getShapeIcon(node.shape);
|
|
54924
|
-
return /* @__PURE__ */
|
|
55688
|
+
return /* @__PURE__ */ jsxDEV(
|
|
54925
55689
|
"div",
|
|
54926
55690
|
{
|
|
54927
55691
|
style: {
|
|
@@ -54934,45 +55698,88 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54934
55698
|
border: `1px solid ${theme.colors.border}`
|
|
54935
55699
|
},
|
|
54936
55700
|
children: [
|
|
54937
|
-
/* @__PURE__ */
|
|
55701
|
+
/* @__PURE__ */ jsxDEV(
|
|
54938
55702
|
ShapeIcon,
|
|
54939
55703
|
{
|
|
54940
55704
|
size: 16,
|
|
54941
55705
|
style: { color: node.color || theme.colors.textMuted, flexShrink: 0 }
|
|
54942
|
-
}
|
|
55706
|
+
},
|
|
55707
|
+
void 0,
|
|
55708
|
+
false,
|
|
55709
|
+
{
|
|
55710
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55711
|
+
lineNumber: 892,
|
|
55712
|
+
columnNumber: 25
|
|
55713
|
+
},
|
|
55714
|
+
void 0
|
|
54943
55715
|
),
|
|
54944
|
-
/* @__PURE__ */
|
|
54945
|
-
/* @__PURE__ */
|
|
55716
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
55717
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54946
55718
|
fontSize: theme.fontSizes[1],
|
|
54947
55719
|
color: theme.colors.text
|
|
54948
|
-
}, children: key }
|
|
54949
|
-
|
|
55720
|
+
}, children: key }, void 0, false, {
|
|
55721
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55722
|
+
lineNumber: 897,
|
|
55723
|
+
columnNumber: 27
|
|
55724
|
+
}, void 0),
|
|
55725
|
+
node.description && /* @__PURE__ */ jsxDEV("div", { style: {
|
|
54950
55726
|
fontSize: theme.fontSizes[0],
|
|
54951
55727
|
color: theme.colors.textMuted,
|
|
54952
55728
|
whiteSpace: "nowrap",
|
|
54953
55729
|
overflow: "hidden",
|
|
54954
55730
|
textOverflow: "ellipsis"
|
|
54955
|
-
}, children: node.description }
|
|
54956
|
-
|
|
55731
|
+
}, children: node.description }, void 0, false, {
|
|
55732
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55733
|
+
lineNumber: 904,
|
|
55734
|
+
columnNumber: 29
|
|
55735
|
+
}, void 0)
|
|
55736
|
+
] }, void 0, true, {
|
|
55737
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55738
|
+
lineNumber: 896,
|
|
55739
|
+
columnNumber: 25
|
|
55740
|
+
}, void 0)
|
|
54957
55741
|
]
|
|
54958
55742
|
},
|
|
54959
|
-
key
|
|
55743
|
+
key,
|
|
55744
|
+
true,
|
|
55745
|
+
{
|
|
55746
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55747
|
+
lineNumber: 880,
|
|
55748
|
+
columnNumber: 23
|
|
55749
|
+
},
|
|
55750
|
+
void 0
|
|
54960
55751
|
);
|
|
54961
|
-
}) }
|
|
54962
|
-
|
|
54963
|
-
|
|
54964
|
-
|
|
55752
|
+
}) }, void 0, false, {
|
|
55753
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55754
|
+
lineNumber: 872,
|
|
55755
|
+
columnNumber: 17
|
|
55756
|
+
}, void 0)
|
|
55757
|
+
] }, void 0, true, {
|
|
55758
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55759
|
+
lineNumber: 859,
|
|
55760
|
+
columnNumber: 15
|
|
55761
|
+
}, void 0),
|
|
55762
|
+
edgeComponents.length > 0 && /* @__PURE__ */ jsxDEV("div", { children: [
|
|
55763
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54965
55764
|
marginBottom: theme.space[2]
|
|
54966
|
-
}, children: /* @__PURE__ */
|
|
55765
|
+
}, children: /* @__PURE__ */ jsxDEV("span", { style: {
|
|
54967
55766
|
fontSize: theme.fontSizes[1],
|
|
54968
55767
|
fontWeight: theme.fontWeights.medium,
|
|
54969
55768
|
color: theme.colors.text
|
|
54970
|
-
}, children: "Edge Components" }
|
|
54971
|
-
|
|
55769
|
+
}, children: "Edge Components" }, void 0, false, {
|
|
55770
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55771
|
+
lineNumber: 928,
|
|
55772
|
+
columnNumber: 19
|
|
55773
|
+
}, void 0) }, void 0, false, {
|
|
55774
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55775
|
+
lineNumber: 925,
|
|
55776
|
+
columnNumber: 17
|
|
55777
|
+
}, void 0),
|
|
55778
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54972
55779
|
display: "flex",
|
|
54973
55780
|
flexDirection: "column",
|
|
54974
55781
|
gap: theme.space[2]
|
|
54975
|
-
}, children: edgeComponents.map(([key, edge]) => /* @__PURE__ */
|
|
55782
|
+
}, children: edgeComponents.map(([key, edge]) => /* @__PURE__ */ jsxDEV(
|
|
54976
55783
|
"div",
|
|
54977
55784
|
{
|
|
54978
55785
|
style: {
|
|
@@ -54985,14 +55792,18 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54985
55792
|
border: `1px solid ${theme.colors.border}`
|
|
54986
55793
|
},
|
|
54987
55794
|
children: [
|
|
54988
|
-
/* @__PURE__ */
|
|
55795
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54989
55796
|
width: "20px",
|
|
54990
55797
|
height: "2px",
|
|
54991
55798
|
backgroundColor: edge.color || theme.colors.textMuted,
|
|
54992
55799
|
flexShrink: 0
|
|
54993
|
-
} }
|
|
54994
|
-
|
|
54995
|
-
|
|
55800
|
+
} }, void 0, false, {
|
|
55801
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55802
|
+
lineNumber: 955,
|
|
55803
|
+
columnNumber: 23
|
|
55804
|
+
}, void 0),
|
|
55805
|
+
/* @__PURE__ */ jsxDEV("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
55806
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
54996
55807
|
display: "flex",
|
|
54997
55808
|
alignItems: "center",
|
|
54998
55809
|
gap: theme.space[1],
|
|
@@ -55000,33 +55811,88 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55000
55811
|
color: theme.colors.text
|
|
55001
55812
|
}, children: [
|
|
55002
55813
|
key,
|
|
55003
|
-
edge.directed && /* @__PURE__ */
|
|
55004
|
-
|
|
55005
|
-
|
|
55814
|
+
edge.directed && /* @__PURE__ */ jsxDEV(ArrowRight, { size: 12, style: { color: theme.colors.textMuted } }, void 0, false, {
|
|
55815
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55816
|
+
lineNumber: 971,
|
|
55817
|
+
columnNumber: 29
|
|
55818
|
+
}, void 0)
|
|
55819
|
+
] }, void 0, true, {
|
|
55820
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55821
|
+
lineNumber: 962,
|
|
55822
|
+
columnNumber: 25
|
|
55823
|
+
}, void 0),
|
|
55824
|
+
edge.description && /* @__PURE__ */ jsxDEV("div", { style: {
|
|
55006
55825
|
fontSize: theme.fontSizes[0],
|
|
55007
55826
|
color: theme.colors.textMuted,
|
|
55008
55827
|
whiteSpace: "nowrap",
|
|
55009
55828
|
overflow: "hidden",
|
|
55010
55829
|
textOverflow: "ellipsis"
|
|
55011
|
-
}, children: edge.description }
|
|
55012
|
-
|
|
55830
|
+
}, children: edge.description }, void 0, false, {
|
|
55831
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55832
|
+
lineNumber: 975,
|
|
55833
|
+
columnNumber: 27
|
|
55834
|
+
}, void 0)
|
|
55835
|
+
] }, void 0, true, {
|
|
55836
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55837
|
+
lineNumber: 961,
|
|
55838
|
+
columnNumber: 23
|
|
55839
|
+
}, void 0)
|
|
55013
55840
|
]
|
|
55014
55841
|
},
|
|
55015
|
-
key
|
|
55016
|
-
|
|
55017
|
-
|
|
55018
|
-
|
|
55019
|
-
|
|
55842
|
+
key,
|
|
55843
|
+
true,
|
|
55844
|
+
{
|
|
55845
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55846
|
+
lineNumber: 943,
|
|
55847
|
+
columnNumber: 21
|
|
55848
|
+
},
|
|
55849
|
+
void 0
|
|
55850
|
+
)) }, void 0, false, {
|
|
55851
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55852
|
+
lineNumber: 937,
|
|
55853
|
+
columnNumber: 17
|
|
55854
|
+
}, void 0)
|
|
55855
|
+
] }, void 0, true, {
|
|
55856
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55857
|
+
lineNumber: 924,
|
|
55858
|
+
columnNumber: 15
|
|
55859
|
+
}, void 0)
|
|
55860
|
+
] }, void 0, true, {
|
|
55861
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55862
|
+
lineNumber: 819,
|
|
55863
|
+
columnNumber: 11
|
|
55864
|
+
}, void 0),
|
|
55865
|
+
state.activeTab === "library" && !state.library && /* @__PURE__ */ jsxDEV("div", { style: {
|
|
55020
55866
|
textAlign: "center",
|
|
55021
55867
|
padding: theme.space[4],
|
|
55022
55868
|
color: theme.colors.textMuted
|
|
55023
55869
|
}, children: [
|
|
55024
|
-
/* @__PURE__ */
|
|
55025
|
-
|
|
55026
|
-
|
|
55027
|
-
|
|
55028
|
-
|
|
55029
|
-
|
|
55870
|
+
/* @__PURE__ */ jsxDEV(Library, { size: 32, style: { marginBottom: theme.space[2], opacity: 0.5 } }, void 0, false, {
|
|
55871
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55872
|
+
lineNumber: 1001,
|
|
55873
|
+
columnNumber: 13
|
|
55874
|
+
}, void 0),
|
|
55875
|
+
/* @__PURE__ */ jsxDEV("div", { children: "No component library found" }, void 0, false, {
|
|
55876
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55877
|
+
lineNumber: 1002,
|
|
55878
|
+
columnNumber: 13
|
|
55879
|
+
}, void 0),
|
|
55880
|
+
/* @__PURE__ */ jsxDEV("div", { style: { fontSize: theme.fontSizes[0], marginTop: theme.space[1] }, children: "Add library.yaml to the .principal-views/ folder" }, void 0, false, {
|
|
55881
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55882
|
+
lineNumber: 1003,
|
|
55883
|
+
columnNumber: 13
|
|
55884
|
+
}, void 0)
|
|
55885
|
+
] }, void 0, true, {
|
|
55886
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55887
|
+
lineNumber: 996,
|
|
55888
|
+
columnNumber: 11
|
|
55889
|
+
}, void 0)
|
|
55890
|
+
] }, void 0, true, {
|
|
55891
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55892
|
+
lineNumber: 765,
|
|
55893
|
+
columnNumber: 7
|
|
55894
|
+
}, void 0),
|
|
55895
|
+
showSetupInfo && /* @__PURE__ */ jsxDEV("div", { style: {
|
|
55030
55896
|
position: "absolute",
|
|
55031
55897
|
top: 0,
|
|
55032
55898
|
left: 0,
|
|
@@ -55037,7 +55903,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55037
55903
|
flexDirection: "column",
|
|
55038
55904
|
zIndex: 10
|
|
55039
55905
|
}, children: [
|
|
55040
|
-
/* @__PURE__ */
|
|
55906
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55041
55907
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
55042
55908
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
55043
55909
|
display: "flex",
|
|
@@ -55045,13 +55911,17 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55045
55911
|
justifyContent: "space-between",
|
|
55046
55912
|
flexShrink: 0
|
|
55047
55913
|
}, children: [
|
|
55048
|
-
/* @__PURE__ */
|
|
55914
|
+
/* @__PURE__ */ jsxDEV("h2", { style: {
|
|
55049
55915
|
margin: 0,
|
|
55050
55916
|
fontSize: theme.fontSizes[3],
|
|
55051
55917
|
fontWeight: theme.fontWeights.medium,
|
|
55052
55918
|
color: theme.colors.text
|
|
55053
|
-
}, children: "Setup" }
|
|
55054
|
-
|
|
55919
|
+
}, children: "Setup" }, void 0, false, {
|
|
55920
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55921
|
+
lineNumber: 1032,
|
|
55922
|
+
columnNumber: 13
|
|
55923
|
+
}, void 0),
|
|
55924
|
+
/* @__PURE__ */ jsxDEV(
|
|
55055
55925
|
"button",
|
|
55056
55926
|
{
|
|
55057
55927
|
onClick: () => setShowSetupInfo(false),
|
|
@@ -55069,11 +55939,27 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55069
55939
|
transition: "color 0.2s"
|
|
55070
55940
|
},
|
|
55071
55941
|
title: "Close",
|
|
55072
|
-
children: /* @__PURE__ */
|
|
55073
|
-
|
|
55942
|
+
children: /* @__PURE__ */ jsxDEV(X$1, { size: 16 }, void 0, false, {
|
|
55943
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55944
|
+
lineNumber: 1057,
|
|
55945
|
+
columnNumber: 15
|
|
55946
|
+
}, void 0)
|
|
55947
|
+
},
|
|
55948
|
+
void 0,
|
|
55949
|
+
false,
|
|
55950
|
+
{
|
|
55951
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55952
|
+
lineNumber: 1040,
|
|
55953
|
+
columnNumber: 13
|
|
55954
|
+
},
|
|
55955
|
+
void 0
|
|
55074
55956
|
)
|
|
55075
|
-
] }
|
|
55076
|
-
|
|
55957
|
+
] }, void 0, true, {
|
|
55958
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55959
|
+
lineNumber: 1024,
|
|
55960
|
+
columnNumber: 11
|
|
55961
|
+
}, void 0),
|
|
55962
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55077
55963
|
flex: 1,
|
|
55078
55964
|
display: "flex",
|
|
55079
55965
|
flexDirection: "column",
|
|
@@ -55084,18 +55970,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55084
55970
|
textAlign: "center",
|
|
55085
55971
|
overflow: "auto"
|
|
55086
55972
|
}, children: [
|
|
55087
|
-
/* @__PURE__ */
|
|
55088
|
-
|
|
55089
|
-
|
|
55090
|
-
|
|
55973
|
+
/* @__PURE__ */ jsxDEV(Network, { size: 56, style: { marginBottom: theme.space[3], opacity: 0.3 } }, void 0, false, {
|
|
55974
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55975
|
+
lineNumber: 1073,
|
|
55976
|
+
columnNumber: 13
|
|
55977
|
+
}, void 0),
|
|
55978
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[3], fontWeight: theme.fontWeights.medium, marginBottom: theme.space[2], color: theme.colors.text }, children: "Visual Validation Setup" }, void 0, false, {
|
|
55979
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55980
|
+
lineNumber: 1074,
|
|
55981
|
+
columnNumber: 13
|
|
55982
|
+
}, void 0),
|
|
55983
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[2], marginBottom: theme.space[3], maxWidth: "80%", lineHeight: 1.5 }, children: "Initialize Visual Validation to create architecture diagrams that connect to your codebase." }, void 0, false, {
|
|
55984
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55985
|
+
lineNumber: 1077,
|
|
55986
|
+
columnNumber: 13
|
|
55987
|
+
}, void 0),
|
|
55988
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55091
55989
|
display: "flex",
|
|
55092
55990
|
flexDirection: "column",
|
|
55093
55991
|
gap: theme.space[2],
|
|
55094
55992
|
width: "90%",
|
|
55095
55993
|
maxWidth: "400px"
|
|
55096
55994
|
}, children: [
|
|
55097
|
-
/* @__PURE__ */
|
|
55098
|
-
|
|
55995
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: "Run this command to get started:" }, void 0, false, {
|
|
55996
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55997
|
+
lineNumber: 1089,
|
|
55998
|
+
columnNumber: 15
|
|
55999
|
+
}, void 0),
|
|
56000
|
+
/* @__PURE__ */ jsxDEV(
|
|
55099
56001
|
"button",
|
|
55100
56002
|
{
|
|
55101
56003
|
onClick: handleCopyCommand,
|
|
@@ -55116,13 +56018,37 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55116
56018
|
transition: "all 0.15s"
|
|
55117
56019
|
},
|
|
55118
56020
|
children: [
|
|
55119
|
-
/* @__PURE__ */
|
|
55120
|
-
|
|
56021
|
+
/* @__PURE__ */ jsxDEV("code", { style: { flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: cliCommand }, void 0, false, {
|
|
56022
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56023
|
+
lineNumber: 1111,
|
|
56024
|
+
columnNumber: 17
|
|
56025
|
+
}, void 0),
|
|
56026
|
+
copied ? /* @__PURE__ */ jsxDEV(Check, { size: 16, style: { color: theme.colors.success || "#22c55e", flexShrink: 0 } }, void 0, false, {
|
|
56027
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56028
|
+
lineNumber: 1115,
|
|
56029
|
+
columnNumber: 19
|
|
56030
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Copy, { size: 16, style: { color: theme.colors.textMuted, flexShrink: 0 } }, void 0, false, {
|
|
56031
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56032
|
+
lineNumber: 1117,
|
|
56033
|
+
columnNumber: 19
|
|
56034
|
+
}, void 0)
|
|
55121
56035
|
]
|
|
55122
|
-
}
|
|
56036
|
+
},
|
|
56037
|
+
void 0,
|
|
56038
|
+
true,
|
|
56039
|
+
{
|
|
56040
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56041
|
+
lineNumber: 1092,
|
|
56042
|
+
columnNumber: 15
|
|
56043
|
+
},
|
|
56044
|
+
void 0
|
|
55123
56045
|
),
|
|
55124
|
-
/* @__PURE__ */
|
|
55125
|
-
|
|
56046
|
+
/* @__PURE__ */ jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: cliCommandDescription }, void 0, false, {
|
|
56047
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56048
|
+
lineNumber: 1120,
|
|
56049
|
+
columnNumber: 15
|
|
56050
|
+
}, void 0),
|
|
56051
|
+
/* @__PURE__ */ jsxDEV(
|
|
55126
56052
|
"a",
|
|
55127
56053
|
{
|
|
55128
56054
|
href: "https://www.npmjs.com/package/@principal-ai/principal-view-cli",
|
|
@@ -55141,14 +56067,42 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55141
56067
|
},
|
|
55142
56068
|
children: [
|
|
55143
56069
|
"Learn more on npm",
|
|
55144
|
-
/* @__PURE__ */
|
|
56070
|
+
/* @__PURE__ */ jsxDEV(ExternalLink, { size: 14 }, void 0, false, {
|
|
56071
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56072
|
+
lineNumber: 1142,
|
|
56073
|
+
columnNumber: 17
|
|
56074
|
+
}, void 0)
|
|
55145
56075
|
]
|
|
55146
|
-
}
|
|
56076
|
+
},
|
|
56077
|
+
void 0,
|
|
56078
|
+
true,
|
|
56079
|
+
{
|
|
56080
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56081
|
+
lineNumber: 1125,
|
|
56082
|
+
columnNumber: 15
|
|
56083
|
+
},
|
|
56084
|
+
void 0
|
|
55147
56085
|
)
|
|
55148
|
-
] }
|
|
55149
|
-
|
|
55150
|
-
|
|
55151
|
-
|
|
56086
|
+
] }, void 0, true, {
|
|
56087
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56088
|
+
lineNumber: 1082,
|
|
56089
|
+
columnNumber: 13
|
|
56090
|
+
}, void 0)
|
|
56091
|
+
] }, void 0, true, {
|
|
56092
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56093
|
+
lineNumber: 1062,
|
|
56094
|
+
columnNumber: 11
|
|
56095
|
+
}, void 0)
|
|
56096
|
+
] }, void 0, true, {
|
|
56097
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56098
|
+
lineNumber: 1012,
|
|
56099
|
+
columnNumber: 9
|
|
56100
|
+
}, void 0)
|
|
56101
|
+
] }, void 0, true, {
|
|
56102
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56103
|
+
lineNumber: 659,
|
|
56104
|
+
columnNumber: 5
|
|
56105
|
+
}, void 0);
|
|
55152
56106
|
};
|
|
55153
56107
|
ConfigLibraryBrowserPanel.displayName = "ConfigLibraryBrowserPanel";
|
|
55154
56108
|
const focusNodeTool = {
|
|
@@ -55437,7 +56391,7 @@ const EventControllerPanel = ({
|
|
|
55437
56391
|
return theme.colors.textMuted;
|
|
55438
56392
|
}
|
|
55439
56393
|
};
|
|
55440
|
-
return /* @__PURE__ */
|
|
56394
|
+
return /* @__PURE__ */ jsxDEV("div", { style: {
|
|
55441
56395
|
height: "100%",
|
|
55442
56396
|
width: "100%",
|
|
55443
56397
|
backgroundColor: theme.colors.background,
|
|
@@ -55451,32 +56405,44 @@ const EventControllerPanel = ({
|
|
|
55451
56405
|
overflow: "hidden",
|
|
55452
56406
|
boxSizing: "border-box"
|
|
55453
56407
|
}, children: [
|
|
55454
|
-
/* @__PURE__ */
|
|
56408
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55455
56409
|
display: "flex",
|
|
55456
56410
|
justifyContent: "space-between",
|
|
55457
56411
|
alignItems: "center",
|
|
55458
56412
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
55459
56413
|
paddingBottom: theme.space[3]
|
|
55460
56414
|
}, children: [
|
|
55461
|
-
/* @__PURE__ */
|
|
56415
|
+
/* @__PURE__ */ jsxDEV("h3", { style: {
|
|
55462
56416
|
margin: 0,
|
|
55463
56417
|
fontSize: theme.fontSizes[2],
|
|
55464
56418
|
fontWeight: theme.fontWeights.medium,
|
|
55465
56419
|
color: theme.colors.text
|
|
55466
|
-
}, children: "Event Controller" }
|
|
55467
|
-
|
|
56420
|
+
}, children: "Event Controller" }, void 0, false, {
|
|
56421
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56422
|
+
lineNumber: 301,
|
|
56423
|
+
columnNumber: 9
|
|
56424
|
+
}, void 0),
|
|
56425
|
+
/* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.textMuted, fontSize: theme.fontSizes[1] }, children: [
|
|
55468
56426
|
events.length,
|
|
55469
56427
|
" events"
|
|
55470
|
-
] }
|
|
55471
|
-
|
|
55472
|
-
|
|
56428
|
+
] }, void 0, true, {
|
|
56429
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56430
|
+
lineNumber: 309,
|
|
56431
|
+
columnNumber: 9
|
|
56432
|
+
}, void 0)
|
|
56433
|
+
] }, void 0, true, {
|
|
56434
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56435
|
+
lineNumber: 294,
|
|
56436
|
+
columnNumber: 7
|
|
56437
|
+
}, void 0),
|
|
56438
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55473
56439
|
display: "flex",
|
|
55474
56440
|
justifyContent: "center",
|
|
55475
56441
|
alignItems: "center",
|
|
55476
56442
|
gap: theme.space[2],
|
|
55477
56443
|
padding: `${theme.space[2]} 0`
|
|
55478
56444
|
}, children: [
|
|
55479
|
-
/* @__PURE__ */
|
|
56445
|
+
/* @__PURE__ */ jsxDEV(
|
|
55480
56446
|
"button",
|
|
55481
56447
|
{
|
|
55482
56448
|
onClick: stepPrevious,
|
|
@@ -55496,10 +56462,22 @@ const EventControllerPanel = ({
|
|
|
55496
56462
|
transition: "all 0.2s"
|
|
55497
56463
|
},
|
|
55498
56464
|
title: "Step Back",
|
|
55499
|
-
children: /* @__PURE__ */
|
|
55500
|
-
|
|
56465
|
+
children: /* @__PURE__ */ jsxDEV(SkipBack, { size: 16 }, void 0, false, {
|
|
56466
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56467
|
+
lineNumber: 342,
|
|
56468
|
+
columnNumber: 11
|
|
56469
|
+
}, void 0)
|
|
56470
|
+
},
|
|
56471
|
+
void 0,
|
|
56472
|
+
false,
|
|
56473
|
+
{
|
|
56474
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56475
|
+
lineNumber: 323,
|
|
56476
|
+
columnNumber: 9
|
|
56477
|
+
},
|
|
56478
|
+
void 0
|
|
55501
56479
|
),
|
|
55502
|
-
/* @__PURE__ */
|
|
56480
|
+
/* @__PURE__ */ jsxDEV(
|
|
55503
56481
|
"button",
|
|
55504
56482
|
{
|
|
55505
56483
|
onClick: handleStop,
|
|
@@ -55517,10 +56495,22 @@ const EventControllerPanel = ({
|
|
|
55517
56495
|
transition: "all 0.2s"
|
|
55518
56496
|
},
|
|
55519
56497
|
title: "Stop",
|
|
55520
|
-
children: /* @__PURE__ */
|
|
55521
|
-
|
|
56498
|
+
children: /* @__PURE__ */ jsxDEV(Square, { size: 16 }, void 0, false, {
|
|
56499
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56500
|
+
lineNumber: 363,
|
|
56501
|
+
columnNumber: 11
|
|
56502
|
+
}, void 0)
|
|
56503
|
+
},
|
|
56504
|
+
void 0,
|
|
56505
|
+
false,
|
|
56506
|
+
{
|
|
56507
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56508
|
+
lineNumber: 346,
|
|
56509
|
+
columnNumber: 9
|
|
56510
|
+
},
|
|
56511
|
+
void 0
|
|
55522
56512
|
),
|
|
55523
|
-
/* @__PURE__ */
|
|
56513
|
+
/* @__PURE__ */ jsxDEV(
|
|
55524
56514
|
"button",
|
|
55525
56515
|
{
|
|
55526
56516
|
onClick: status === "playing" ? handlePause : handlePlay,
|
|
@@ -55540,10 +56530,26 @@ const EventControllerPanel = ({
|
|
|
55540
56530
|
transition: "all 0.2s"
|
|
55541
56531
|
},
|
|
55542
56532
|
title: status === "playing" ? "Pause" : "Play",
|
|
55543
|
-
children: status === "playing" ? /* @__PURE__ */
|
|
55544
|
-
|
|
56533
|
+
children: status === "playing" ? /* @__PURE__ */ jsxDEV(Pause, { size: 20 }, void 0, false, {
|
|
56534
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56535
|
+
lineNumber: 390,
|
|
56536
|
+
columnNumber: 35
|
|
56537
|
+
}, void 0) : /* @__PURE__ */ jsxDEV(Play, { size: 20 }, void 0, false, {
|
|
56538
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56539
|
+
lineNumber: 390,
|
|
56540
|
+
columnNumber: 57
|
|
56541
|
+
}, void 0)
|
|
56542
|
+
},
|
|
56543
|
+
void 0,
|
|
56544
|
+
false,
|
|
56545
|
+
{
|
|
56546
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56547
|
+
lineNumber: 367,
|
|
56548
|
+
columnNumber: 9
|
|
56549
|
+
},
|
|
56550
|
+
void 0
|
|
55545
56551
|
),
|
|
55546
|
-
/* @__PURE__ */
|
|
56552
|
+
/* @__PURE__ */ jsxDEV(
|
|
55547
56553
|
"button",
|
|
55548
56554
|
{
|
|
55549
56555
|
onClick: stepNext,
|
|
@@ -55563,10 +56569,22 @@ const EventControllerPanel = ({
|
|
|
55563
56569
|
transition: "all 0.2s"
|
|
55564
56570
|
},
|
|
55565
56571
|
title: "Step Forward",
|
|
55566
|
-
children: /* @__PURE__ */
|
|
55567
|
-
|
|
56572
|
+
children: /* @__PURE__ */ jsxDEV(SkipForward, { size: 16 }, void 0, false, {
|
|
56573
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56574
|
+
lineNumber: 413,
|
|
56575
|
+
columnNumber: 11
|
|
56576
|
+
}, void 0)
|
|
56577
|
+
},
|
|
56578
|
+
void 0,
|
|
56579
|
+
false,
|
|
56580
|
+
{
|
|
56581
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56582
|
+
lineNumber: 394,
|
|
56583
|
+
columnNumber: 9
|
|
56584
|
+
},
|
|
56585
|
+
void 0
|
|
55568
56586
|
),
|
|
55569
|
-
/* @__PURE__ */
|
|
56587
|
+
/* @__PURE__ */ jsxDEV(
|
|
55570
56588
|
"button",
|
|
55571
56589
|
{
|
|
55572
56590
|
onClick: handleStop,
|
|
@@ -55584,29 +56602,57 @@ const EventControllerPanel = ({
|
|
|
55584
56602
|
transition: "all 0.2s"
|
|
55585
56603
|
},
|
|
55586
56604
|
title: "Reset",
|
|
55587
|
-
children: /* @__PURE__ */
|
|
55588
|
-
|
|
56605
|
+
children: /* @__PURE__ */ jsxDEV(RotateCcw, { size: 16 }, void 0, false, {
|
|
56606
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56607
|
+
lineNumber: 434,
|
|
56608
|
+
columnNumber: 11
|
|
56609
|
+
}, void 0)
|
|
56610
|
+
},
|
|
56611
|
+
void 0,
|
|
56612
|
+
false,
|
|
56613
|
+
{
|
|
56614
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56615
|
+
lineNumber: 417,
|
|
56616
|
+
columnNumber: 9
|
|
56617
|
+
},
|
|
56618
|
+
void 0
|
|
55589
56619
|
)
|
|
55590
|
-
] }
|
|
55591
|
-
|
|
55592
|
-
|
|
56620
|
+
] }, void 0, true, {
|
|
56621
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56622
|
+
lineNumber: 315,
|
|
56623
|
+
columnNumber: 7
|
|
56624
|
+
}, void 0),
|
|
56625
|
+
/* @__PURE__ */ jsxDEV("div", { style: { padding: `0 ${theme.space[1]}` }, children: [
|
|
56626
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55593
56627
|
display: "flex",
|
|
55594
56628
|
justifyContent: "space-between",
|
|
55595
56629
|
marginBottom: theme.space[1],
|
|
55596
56630
|
fontSize: theme.fontSizes[0],
|
|
55597
56631
|
color: theme.colors.textMuted
|
|
55598
56632
|
}, children: [
|
|
55599
|
-
/* @__PURE__ */
|
|
56633
|
+
/* @__PURE__ */ jsxDEV("span", { children: [
|
|
55600
56634
|
currentIndex + 1,
|
|
55601
56635
|
" / ",
|
|
55602
56636
|
events.length
|
|
55603
|
-
] }
|
|
55604
|
-
|
|
56637
|
+
] }, void 0, true, {
|
|
56638
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56639
|
+
lineNumber: 447,
|
|
56640
|
+
columnNumber: 11
|
|
56641
|
+
}, void 0),
|
|
56642
|
+
/* @__PURE__ */ jsxDEV("span", { children: [
|
|
55605
56643
|
speed,
|
|
55606
56644
|
"x"
|
|
55607
|
-
] }
|
|
55608
|
-
|
|
55609
|
-
|
|
56645
|
+
] }, void 0, true, {
|
|
56646
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56647
|
+
lineNumber: 448,
|
|
56648
|
+
columnNumber: 11
|
|
56649
|
+
}, void 0)
|
|
56650
|
+
] }, void 0, true, {
|
|
56651
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56652
|
+
lineNumber: 440,
|
|
56653
|
+
columnNumber: 9
|
|
56654
|
+
}, void 0),
|
|
56655
|
+
/* @__PURE__ */ jsxDEV(
|
|
55610
56656
|
"input",
|
|
55611
56657
|
{
|
|
55612
56658
|
type: "range",
|
|
@@ -55620,14 +56666,26 @@ const EventControllerPanel = ({
|
|
|
55620
56666
|
cursor: "pointer",
|
|
55621
56667
|
accentColor: theme.colors.primary
|
|
55622
56668
|
}
|
|
55623
|
-
}
|
|
56669
|
+
},
|
|
56670
|
+
void 0,
|
|
56671
|
+
false,
|
|
56672
|
+
{
|
|
56673
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56674
|
+
lineNumber: 450,
|
|
56675
|
+
columnNumber: 9
|
|
56676
|
+
},
|
|
56677
|
+
void 0
|
|
55624
56678
|
)
|
|
55625
|
-
] }
|
|
55626
|
-
|
|
56679
|
+
] }, void 0, true, {
|
|
56680
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56681
|
+
lineNumber: 439,
|
|
56682
|
+
columnNumber: 7
|
|
56683
|
+
}, void 0),
|
|
56684
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55627
56685
|
display: "flex",
|
|
55628
56686
|
justifyContent: "center",
|
|
55629
56687
|
gap: theme.space[1]
|
|
55630
|
-
}, children: SPEED_OPTIONS.map((s) => /* @__PURE__ */
|
|
56688
|
+
}, children: SPEED_OPTIONS.map((s) => /* @__PURE__ */ jsxDEV(
|
|
55631
56689
|
"button",
|
|
55632
56690
|
{
|
|
55633
56691
|
onClick: () => setSpeed(s),
|
|
@@ -55647,9 +56705,20 @@ const EventControllerPanel = ({
|
|
|
55647
56705
|
"x"
|
|
55648
56706
|
]
|
|
55649
56707
|
},
|
|
55650
|
-
s
|
|
55651
|
-
|
|
55652
|
-
|
|
56708
|
+
s,
|
|
56709
|
+
true,
|
|
56710
|
+
{
|
|
56711
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56712
|
+
lineNumber: 472,
|
|
56713
|
+
columnNumber: 11
|
|
56714
|
+
},
|
|
56715
|
+
void 0
|
|
56716
|
+
)) }, void 0, false, {
|
|
56717
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56718
|
+
lineNumber: 466,
|
|
56719
|
+
columnNumber: 7
|
|
56720
|
+
}, void 0),
|
|
56721
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55653
56722
|
display: "flex",
|
|
55654
56723
|
alignItems: "center",
|
|
55655
56724
|
gap: theme.space[2],
|
|
@@ -55658,24 +56727,40 @@ const EventControllerPanel = ({
|
|
|
55658
56727
|
borderRadius: theme.radii[1],
|
|
55659
56728
|
border: `1px solid ${theme.colors.border}`
|
|
55660
56729
|
}, children: [
|
|
55661
|
-
/* @__PURE__ */
|
|
56730
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55662
56731
|
width: "8px",
|
|
55663
56732
|
height: "8px",
|
|
55664
56733
|
borderRadius: "50%",
|
|
55665
56734
|
backgroundColor: getStatusColor()
|
|
55666
|
-
} }
|
|
55667
|
-
|
|
56735
|
+
} }, void 0, false, {
|
|
56736
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56737
|
+
lineNumber: 502,
|
|
56738
|
+
columnNumber: 9
|
|
56739
|
+
}, void 0),
|
|
56740
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
55668
56741
|
textTransform: "capitalize",
|
|
55669
56742
|
fontSize: theme.fontSizes[1],
|
|
55670
56743
|
color: theme.colors.text
|
|
55671
|
-
}, children: status }
|
|
55672
|
-
|
|
56744
|
+
}, children: status }, void 0, false, {
|
|
56745
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56746
|
+
lineNumber: 508,
|
|
56747
|
+
columnNumber: 9
|
|
56748
|
+
}, void 0),
|
|
56749
|
+
status === "playing" && /* @__PURE__ */ jsxDEV("span", { style: { color: theme.colors.textMuted, fontSize: theme.fontSizes[0] }, children: [
|
|
55673
56750
|
"@ ",
|
|
55674
56751
|
speed,
|
|
55675
56752
|
"x speed"
|
|
55676
|
-
] }
|
|
55677
|
-
|
|
55678
|
-
|
|
56753
|
+
] }, void 0, true, {
|
|
56754
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56755
|
+
lineNumber: 516,
|
|
56756
|
+
columnNumber: 11
|
|
56757
|
+
}, void 0)
|
|
56758
|
+
] }, void 0, true, {
|
|
56759
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56760
|
+
lineNumber: 493,
|
|
56761
|
+
columnNumber: 7
|
|
56762
|
+
}, void 0),
|
|
56763
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55679
56764
|
flex: 1,
|
|
55680
56765
|
overflow: "auto",
|
|
55681
56766
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
@@ -55683,12 +56768,16 @@ const EventControllerPanel = ({
|
|
|
55683
56768
|
border: `1px solid ${theme.colors.border}`,
|
|
55684
56769
|
minHeight: 0
|
|
55685
56770
|
// Allow shrinking in flex container
|
|
55686
|
-
}, children: /* @__PURE__ */
|
|
56771
|
+
}, children: /* @__PURE__ */ jsxDEV("div", { style: { padding: theme.space[2] }, children: events.length === 0 ? /* @__PURE__ */ jsxDEV("div", { style: {
|
|
55687
56772
|
color: theme.colors.textMuted,
|
|
55688
56773
|
textAlign: "center",
|
|
55689
56774
|
padding: theme.space[5],
|
|
55690
56775
|
fontSize: theme.fontSizes[1]
|
|
55691
|
-
}, children: "No events loaded" }
|
|
56776
|
+
}, children: "No events loaded" }, void 0, false, {
|
|
56777
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56778
|
+
lineNumber: 533,
|
|
56779
|
+
columnNumber: 13
|
|
56780
|
+
}, void 0) : events.map((event, index2) => /* @__PURE__ */ jsxDEV(
|
|
55692
56781
|
"div",
|
|
55693
56782
|
{
|
|
55694
56783
|
onClick: () => handleSeek(index2),
|
|
@@ -55702,34 +56791,69 @@ const EventControllerPanel = ({
|
|
|
55702
56791
|
transition: "background-color 0.15s"
|
|
55703
56792
|
},
|
|
55704
56793
|
children: [
|
|
55705
|
-
/* @__PURE__ */
|
|
56794
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55706
56795
|
display: "flex",
|
|
55707
56796
|
justifyContent: "space-between",
|
|
55708
56797
|
alignItems: "center"
|
|
55709
56798
|
}, children: [
|
|
55710
|
-
/* @__PURE__ */
|
|
56799
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
55711
56800
|
fontFamily: theme.fonts.monospace,
|
|
55712
56801
|
fontSize: theme.fontSizes[0],
|
|
55713
56802
|
color: index2 === currentIndex ? "white" : index2 <= currentIndex ? theme.colors.primary : theme.colors.textMuted
|
|
55714
|
-
}, children: getEventTypeDisplay(event) }
|
|
55715
|
-
|
|
56803
|
+
}, children: getEventTypeDisplay(event) }, void 0, false, {
|
|
56804
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56805
|
+
lineNumber: 567,
|
|
56806
|
+
columnNumber: 19
|
|
56807
|
+
}, void 0),
|
|
56808
|
+
/* @__PURE__ */ jsxDEV("span", { style: {
|
|
55716
56809
|
fontSize: theme.fontSizes[0],
|
|
55717
56810
|
color: index2 === currentIndex ? "rgba(255,255,255,0.7)" : theme.colors.textMuted
|
|
55718
56811
|
}, children: [
|
|
55719
56812
|
"#",
|
|
55720
56813
|
index2 + 1
|
|
55721
|
-
] }
|
|
55722
|
-
|
|
55723
|
-
|
|
56814
|
+
] }, void 0, true, {
|
|
56815
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56816
|
+
lineNumber: 578,
|
|
56817
|
+
columnNumber: 19
|
|
56818
|
+
}, void 0)
|
|
56819
|
+
] }, void 0, true, {
|
|
56820
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56821
|
+
lineNumber: 562,
|
|
56822
|
+
columnNumber: 17
|
|
56823
|
+
}, void 0),
|
|
56824
|
+
/* @__PURE__ */ jsxDEV("div", { style: {
|
|
55724
56825
|
fontSize: theme.fontSizes[0],
|
|
55725
56826
|
color: index2 === currentIndex ? "rgba(255,255,255,0.8)" : index2 <= currentIndex ? theme.colors.textSecondary : theme.colors.textMuted,
|
|
55726
56827
|
marginTop: theme.space[1]
|
|
55727
|
-
}, children: getEventTargetDisplay(event) }
|
|
56828
|
+
}, children: getEventTargetDisplay(event) }, void 0, false, {
|
|
56829
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56830
|
+
lineNumber: 585,
|
|
56831
|
+
columnNumber: 17
|
|
56832
|
+
}, void 0)
|
|
55728
56833
|
]
|
|
55729
56834
|
},
|
|
55730
|
-
event.id
|
|
55731
|
-
|
|
55732
|
-
|
|
56835
|
+
event.id,
|
|
56836
|
+
true,
|
|
56837
|
+
{
|
|
56838
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56839
|
+
lineNumber: 543,
|
|
56840
|
+
columnNumber: 15
|
|
56841
|
+
},
|
|
56842
|
+
void 0
|
|
56843
|
+
)) }, void 0, false, {
|
|
56844
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56845
|
+
lineNumber: 531,
|
|
56846
|
+
columnNumber: 9
|
|
56847
|
+
}, void 0) }, void 0, false, {
|
|
56848
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56849
|
+
lineNumber: 523,
|
|
56850
|
+
columnNumber: 7
|
|
56851
|
+
}, void 0)
|
|
56852
|
+
] }, void 0, true, {
|
|
56853
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56854
|
+
lineNumber: 279,
|
|
56855
|
+
columnNumber: 5
|
|
56856
|
+
}, void 0);
|
|
55733
56857
|
};
|
|
55734
56858
|
EventControllerPanel.displayName = "EventControllerPanel";
|
|
55735
56859
|
const panels = [
|