@industry-theme/principal-view-panels 0.1.5 → 0.1.6
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 +1559 -406
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +2 -2
package/dist/panels.bundle.js
CHANGED
|
@@ -13,32 +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 require$$0, { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
17
16
|
import React2, { createContext, useContext, forwardRef, createElement, useRef, useState, useCallback, useEffect, useMemo } from "react";
|
|
17
|
+
import require$$0 from "react/jsx-runtime";
|
|
18
18
|
import require$$2 from "react-dom";
|
|
19
|
-
var ThemeContext;
|
|
20
|
-
var getThemeContext = () => {
|
|
21
|
-
if (typeof window !== "undefined") {
|
|
22
|
-
const globalWindow = window;
|
|
23
|
-
if (!globalWindow.__principlemd_theme_context__) {
|
|
24
|
-
globalWindow.__principlemd_theme_context__ = createContext(void 0);
|
|
25
|
-
}
|
|
26
|
-
return globalWindow.__principlemd_theme_context__;
|
|
27
|
-
} else {
|
|
28
|
-
if (!ThemeContext) {
|
|
29
|
-
ThemeContext = createContext(void 0);
|
|
30
|
-
}
|
|
31
|
-
return ThemeContext;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
var ThemeContextSingleton = getThemeContext();
|
|
35
|
-
var useTheme = () => {
|
|
36
|
-
const context = useContext(ThemeContextSingleton);
|
|
37
|
-
if (!context) {
|
|
38
|
-
throw new Error("useTheme must be used within a ThemeProvider");
|
|
39
|
-
}
|
|
40
|
-
return context;
|
|
41
|
-
};
|
|
42
19
|
function getAugmentedNamespace(n) {
|
|
43
20
|
if (Object.prototype.hasOwnProperty.call(n, "__esModule")) return n;
|
|
44
21
|
var f = n.default;
|
|
@@ -63,6 +40,59 @@ function getAugmentedNamespace(n) {
|
|
|
63
40
|
});
|
|
64
41
|
return a2;
|
|
65
42
|
}
|
|
43
|
+
var jsxDevRuntime = { exports: {} };
|
|
44
|
+
var reactJsxDevRuntime_production = {};
|
|
45
|
+
/**
|
|
46
|
+
* @license React
|
|
47
|
+
* react-jsx-dev-runtime.production.js
|
|
48
|
+
*
|
|
49
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the MIT license found in the
|
|
52
|
+
* LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/
|
|
54
|
+
var hasRequiredReactJsxDevRuntime_production;
|
|
55
|
+
function requireReactJsxDevRuntime_production() {
|
|
56
|
+
if (hasRequiredReactJsxDevRuntime_production) return reactJsxDevRuntime_production;
|
|
57
|
+
hasRequiredReactJsxDevRuntime_production = 1;
|
|
58
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
59
|
+
reactJsxDevRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
60
|
+
reactJsxDevRuntime_production.jsxDEV = void 0;
|
|
61
|
+
return reactJsxDevRuntime_production;
|
|
62
|
+
}
|
|
63
|
+
var hasRequiredJsxDevRuntime;
|
|
64
|
+
function requireJsxDevRuntime() {
|
|
65
|
+
if (hasRequiredJsxDevRuntime) return jsxDevRuntime.exports;
|
|
66
|
+
hasRequiredJsxDevRuntime = 1;
|
|
67
|
+
{
|
|
68
|
+
jsxDevRuntime.exports = requireReactJsxDevRuntime_production();
|
|
69
|
+
}
|
|
70
|
+
return jsxDevRuntime.exports;
|
|
71
|
+
}
|
|
72
|
+
var jsxDevRuntimeExports = requireJsxDevRuntime();
|
|
73
|
+
var ThemeContext;
|
|
74
|
+
var getThemeContext = () => {
|
|
75
|
+
if (typeof window !== "undefined") {
|
|
76
|
+
const globalWindow = window;
|
|
77
|
+
if (!globalWindow.__principlemd_theme_context__) {
|
|
78
|
+
globalWindow.__principlemd_theme_context__ = createContext(void 0);
|
|
79
|
+
}
|
|
80
|
+
return globalWindow.__principlemd_theme_context__;
|
|
81
|
+
} else {
|
|
82
|
+
if (!ThemeContext) {
|
|
83
|
+
ThemeContext = createContext(void 0);
|
|
84
|
+
}
|
|
85
|
+
return ThemeContext;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
var ThemeContextSingleton = getThemeContext();
|
|
89
|
+
var useTheme = () => {
|
|
90
|
+
const context = useContext(ThemeContextSingleton);
|
|
91
|
+
if (!context) {
|
|
92
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
93
|
+
}
|
|
94
|
+
return context;
|
|
95
|
+
};
|
|
66
96
|
var dist$1 = {};
|
|
67
97
|
var GraphRenderer = {};
|
|
68
98
|
var umd$1 = { exports: {} };
|
|
@@ -47233,7 +47263,7 @@ function requireCustomNode() {
|
|
|
47233
47263
|
}
|
|
47234
47264
|
return offsetStyle;
|
|
47235
47265
|
};
|
|
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: {
|
|
47266
|
+
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
47267
|
fontSize: "10px",
|
|
47238
47268
|
backgroundColor: color,
|
|
47239
47269
|
color: "white",
|
|
@@ -47264,7 +47294,7 @@ function requireCustomNode() {
|
|
|
47264
47294
|
fontSize: "10px",
|
|
47265
47295
|
color: "#D0021B",
|
|
47266
47296
|
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: `
|
|
47297
|
+
}, 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
47298
|
/* Processing pulse - continuous breathing effect */
|
|
47269
47299
|
.node-pulse {
|
|
47270
47300
|
animation: node-pulse ease-in-out infinite;
|
|
@@ -47368,8 +47398,9 @@ function requireCustomEdge() {
|
|
|
47368
47398
|
const CustomEdge$1 = ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, markerEnd, selected }) => {
|
|
47369
47399
|
var _a, _b, _c, _d, _e2;
|
|
47370
47400
|
const edgeProps = data;
|
|
47371
|
-
const { typeDefinition, hasViolations, data: edgeData, animationType, animationDuration = 1e3, animationDirection = "forward" } = edgeProps || {};
|
|
47401
|
+
const { typeDefinition, hasViolations, data: edgeData, edgeType, animationType, animationDuration = 1e3, animationDirection = "forward" } = edgeProps || {};
|
|
47372
47402
|
const [particlePosition, setParticlePosition] = (0, react_1.useState)(0);
|
|
47403
|
+
const [isHovered, setIsHovered] = (0, react_1.useState)(false);
|
|
47373
47404
|
const pathRef = (0, react_1.useRef)(null);
|
|
47374
47405
|
(0, react_1.useEffect)(() => {
|
|
47375
47406
|
if (animationType !== "particle")
|
|
@@ -47446,7 +47477,7 @@ function requireCustomEdge() {
|
|
|
47446
47477
|
return { x: point.x, y: point.y };
|
|
47447
47478
|
};
|
|
47448
47479
|
const particlePos = animationType === "particle" ? getParticleTransform() : null;
|
|
47449
|
-
return (0, jsx_runtime_1.jsxs)(
|
|
47480
|
+
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
47481
|
stroke: color,
|
|
47451
47482
|
strokeWidth: selected ? width + 2 : width,
|
|
47452
47483
|
strokeDasharray: getStrokeStyle(),
|
|
@@ -47474,7 +47505,20 @@ function requireCustomEdge() {
|
|
|
47474
47505
|
fontWeight: 500,
|
|
47475
47506
|
border: `1px solid ${color}`,
|
|
47476
47507
|
pointerEvents: "all"
|
|
47477
|
-
}, className: "nodrag nopan", children: labelText }) }), (0, jsx_runtime_1.jsx)("
|
|
47508
|
+
}, className: "nodrag nopan", children: labelText }) }), isHovered && (0, jsx_runtime_1.jsx)(react_2.EdgeLabelRenderer, { children: (0, jsx_runtime_1.jsx)("div", { style: {
|
|
47509
|
+
position: "absolute",
|
|
47510
|
+
transform: `translate(-50%, -100%) translate(${labelX}px,${labelY - 12}px)`,
|
|
47511
|
+
backgroundColor: "rgba(0, 0, 0, 0.85)",
|
|
47512
|
+
color: "white",
|
|
47513
|
+
padding: "4px 8px",
|
|
47514
|
+
borderRadius: "4px",
|
|
47515
|
+
fontSize: "11px",
|
|
47516
|
+
fontWeight: 500,
|
|
47517
|
+
whiteSpace: "nowrap",
|
|
47518
|
+
pointerEvents: "none",
|
|
47519
|
+
zIndex: 1e3,
|
|
47520
|
+
boxShadow: "0 2px 8px rgba(0,0,0,0.2)"
|
|
47521
|
+
}, children: edgeType || "edge" }) }), (0, jsx_runtime_1.jsx)("style", { children: `
|
|
47478
47522
|
/* Flow animation - forward direction */
|
|
47479
47523
|
.edge-flow-forward {
|
|
47480
47524
|
animation: flow-forward linear infinite;
|
|
@@ -47583,9 +47627,17 @@ function requireGraphConverter() {
|
|
|
47583
47627
|
};
|
|
47584
47628
|
});
|
|
47585
47629
|
}
|
|
47630
|
+
function sideToSourceHandle(side) {
|
|
47631
|
+
if (!side)
|
|
47632
|
+
return void 0;
|
|
47633
|
+
return `${side}-out`;
|
|
47634
|
+
}
|
|
47635
|
+
function sideToTargetHandle(side) {
|
|
47636
|
+
return side;
|
|
47637
|
+
}
|
|
47586
47638
|
function convertToXYFlowEdges(edges, configuration, violations = []) {
|
|
47587
47639
|
return edges.map((edge) => {
|
|
47588
|
-
var _a;
|
|
47640
|
+
var _a, _b, _c;
|
|
47589
47641
|
const typeDefinition = configuration.edgeTypes[edge.type];
|
|
47590
47642
|
if (!typeDefinition) {
|
|
47591
47643
|
console.warn(`Edge type "${edge.type}" not found in configuration for edge "${edge.id}"`);
|
|
@@ -47595,7 +47647,11 @@ function requireGraphConverter() {
|
|
|
47595
47647
|
return ((_a2 = v.context) == null ? void 0 : _a2.edgeId) === edge.id;
|
|
47596
47648
|
});
|
|
47597
47649
|
const edgeWithHandles = edge;
|
|
47598
|
-
const
|
|
47650
|
+
const fromSide = (_a = edge.data) == null ? void 0 : _a.fromSide;
|
|
47651
|
+
const toSide = (_b = edge.data) == null ? void 0 : _b.toSide;
|
|
47652
|
+
const sourceHandle = edgeWithHandles.sourceHandle || sideToSourceHandle(fromSide);
|
|
47653
|
+
const targetHandle = edgeWithHandles.targetHandle || sideToTargetHandle(toSide);
|
|
47654
|
+
const edgeColor = (_c = edge.data) == null ? void 0 : _c.color;
|
|
47599
47655
|
const markerEnd = (typeDefinition == null ? void 0 : typeDefinition.directed) !== false ? {
|
|
47600
47656
|
type: react_1.MarkerType.ArrowClosed,
|
|
47601
47657
|
color: edgeColor || (typeDefinition == null ? void 0 : typeDefinition.color) || "#888",
|
|
@@ -47606,15 +47662,16 @@ function requireGraphConverter() {
|
|
|
47606
47662
|
id: edge.id,
|
|
47607
47663
|
source: edge.from,
|
|
47608
47664
|
target: edge.to,
|
|
47609
|
-
sourceHandle
|
|
47610
|
-
targetHandle
|
|
47665
|
+
sourceHandle,
|
|
47666
|
+
targetHandle,
|
|
47611
47667
|
type: "custom",
|
|
47612
47668
|
animated: (typeDefinition == null ? void 0 : typeDefinition.style) === "animated",
|
|
47613
47669
|
markerEnd,
|
|
47614
47670
|
data: {
|
|
47615
47671
|
typeDefinition,
|
|
47616
47672
|
hasViolations,
|
|
47617
|
-
data: edge.data
|
|
47673
|
+
data: edge.data,
|
|
47674
|
+
edgeType: edge.type
|
|
47618
47675
|
}
|
|
47619
47676
|
};
|
|
47620
47677
|
});
|
|
@@ -53145,7 +53202,7 @@ function applySugiyamaLayout(canvas, options = {}) {
|
|
|
53145
53202
|
}
|
|
53146
53203
|
}
|
|
53147
53204
|
const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
53148
|
-
return /* @__PURE__ */
|
|
53205
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53149
53206
|
display: "flex",
|
|
53150
53207
|
flexDirection: "column",
|
|
53151
53208
|
alignItems: "center",
|
|
@@ -53157,10 +53214,22 @@ const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
|
53157
53214
|
fontFamily: theme.fonts.body,
|
|
53158
53215
|
textAlign: "center"
|
|
53159
53216
|
}, children: [
|
|
53160
|
-
/* @__PURE__ */
|
|
53161
|
-
|
|
53162
|
-
|
|
53163
|
-
|
|
53217
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(CircleAlert, { size: 48 }, void 0, false, {
|
|
53218
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53219
|
+
lineNumber: 29,
|
|
53220
|
+
columnNumber: 7
|
|
53221
|
+
}, void 0),
|
|
53222
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h3", { style: { marginTop: theme.space[3], marginBottom: theme.space[2] }, children: "Configuration Error" }, void 0, false, {
|
|
53223
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53224
|
+
lineNumber: 30,
|
|
53225
|
+
columnNumber: 7
|
|
53226
|
+
}, void 0),
|
|
53227
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("p", { style: { color: theme.colors.textMuted, marginTop: theme.space[2], maxWidth: "400px" }, children: error }, void 0, false, {
|
|
53228
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53229
|
+
lineNumber: 33,
|
|
53230
|
+
columnNumber: 7
|
|
53231
|
+
}, void 0),
|
|
53232
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53164
53233
|
"button",
|
|
53165
53234
|
{
|
|
53166
53235
|
onClick: onRetry,
|
|
@@ -53176,12 +53245,24 @@ const ErrorStateContent = ({ theme, error, onRetry }) => {
|
|
|
53176
53245
|
fontSize: theme.fontSizes[2]
|
|
53177
53246
|
},
|
|
53178
53247
|
children: "Retry"
|
|
53179
|
-
}
|
|
53248
|
+
},
|
|
53249
|
+
void 0,
|
|
53250
|
+
false,
|
|
53251
|
+
{
|
|
53252
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53253
|
+
lineNumber: 36,
|
|
53254
|
+
columnNumber: 7
|
|
53255
|
+
},
|
|
53256
|
+
void 0
|
|
53180
53257
|
)
|
|
53181
|
-
] }
|
|
53258
|
+
] }, void 0, true, {
|
|
53259
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/ErrorStateContent.tsx",
|
|
53260
|
+
lineNumber: 17,
|
|
53261
|
+
columnNumber: 5
|
|
53262
|
+
}, void 0);
|
|
53182
53263
|
};
|
|
53183
53264
|
const EmptyStateContent = ({ theme }) => {
|
|
53184
|
-
return /* @__PURE__ */
|
|
53265
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53185
53266
|
display: "flex",
|
|
53186
53267
|
flexDirection: "column",
|
|
53187
53268
|
alignItems: "center",
|
|
@@ -53194,7 +53275,7 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53194
53275
|
fontFamily: theme.fonts.body,
|
|
53195
53276
|
textAlign: "center",
|
|
53196
53277
|
boxSizing: "border-box"
|
|
53197
|
-
}, children: /* @__PURE__ */
|
|
53278
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53198
53279
|
maxWidth: "800px",
|
|
53199
53280
|
width: "100%",
|
|
53200
53281
|
paddingTop: theme.space[4],
|
|
@@ -53203,22 +53284,34 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53203
53284
|
flexDirection: "column",
|
|
53204
53285
|
alignItems: "center"
|
|
53205
53286
|
}, children: [
|
|
53206
|
-
/* @__PURE__ */
|
|
53207
|
-
|
|
53287
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(FileText, { size: 48, color: theme.colors.primary, style: { marginBottom: theme.space[3] } }, void 0, false, {
|
|
53288
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53289
|
+
lineNumber: 39,
|
|
53290
|
+
columnNumber: 9
|
|
53291
|
+
}, void 0),
|
|
53292
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h2", { style: {
|
|
53208
53293
|
margin: 0,
|
|
53209
53294
|
marginBottom: theme.space[3],
|
|
53210
53295
|
fontSize: theme.fontSizes[4],
|
|
53211
53296
|
fontWeight: theme.fontWeights.bold,
|
|
53212
53297
|
color: theme.colors.text
|
|
53213
|
-
}, children: "Principal View Graph Panel" }
|
|
53214
|
-
|
|
53298
|
+
}, children: "Principal View Graph Panel" }, void 0, false, {
|
|
53299
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53300
|
+
lineNumber: 41,
|
|
53301
|
+
columnNumber: 9
|
|
53302
|
+
}, void 0),
|
|
53303
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("p", { style: {
|
|
53215
53304
|
margin: 0,
|
|
53216
53305
|
marginBottom: theme.space[2],
|
|
53217
53306
|
fontSize: theme.fontSizes[2],
|
|
53218
53307
|
color: theme.colors.textSecondary,
|
|
53219
53308
|
lineHeight: 1.6
|
|
53220
|
-
}, children: "This panel visualizes your project's component architecture and validation flows using a declarative YAML configuration file." }
|
|
53221
|
-
|
|
53309
|
+
}, children: "This panel visualizes your project's component architecture and validation flows using a declarative YAML configuration file." }, void 0, false, {
|
|
53310
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53311
|
+
lineNumber: 51,
|
|
53312
|
+
columnNumber: 9
|
|
53313
|
+
}, void 0),
|
|
53314
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53222
53315
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53223
53316
|
borderRadius: theme.radii[2],
|
|
53224
53317
|
padding: theme.space[3],
|
|
@@ -53228,15 +53321,19 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53228
53321
|
maxWidth: "600px",
|
|
53229
53322
|
border: `1px solid ${theme.colors.border}`
|
|
53230
53323
|
}, children: [
|
|
53231
|
-
/* @__PURE__ */
|
|
53324
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h3", { style: {
|
|
53232
53325
|
margin: 0,
|
|
53233
53326
|
marginBottom: theme.space[2],
|
|
53234
53327
|
fontSize: theme.fontSizes[2],
|
|
53235
53328
|
fontWeight: theme.fontWeights.medium,
|
|
53236
53329
|
color: theme.colors.text,
|
|
53237
53330
|
textAlign: "left"
|
|
53238
|
-
}, children: "What you'll see:" }
|
|
53239
|
-
|
|
53331
|
+
}, children: "What you'll see:" }, void 0, false, {
|
|
53332
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53333
|
+
lineNumber: 72,
|
|
53334
|
+
columnNumber: 11
|
|
53335
|
+
}, void 0),
|
|
53336
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("ul", { style: {
|
|
53240
53337
|
margin: 0,
|
|
53241
53338
|
padding: 0,
|
|
53242
53339
|
listStyle: "none",
|
|
@@ -53244,42 +53341,102 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53244
53341
|
color: theme.colors.textSecondary,
|
|
53245
53342
|
fontSize: theme.fontSizes[1]
|
|
53246
53343
|
}, children: [
|
|
53247
|
-
/* @__PURE__ */
|
|
53248
|
-
/* @__PURE__ */
|
|
53249
|
-
|
|
53250
|
-
|
|
53251
|
-
|
|
53252
|
-
|
|
53253
|
-
/* @__PURE__ */
|
|
53254
|
-
|
|
53255
|
-
|
|
53256
|
-
|
|
53257
|
-
|
|
53258
|
-
] }
|
|
53259
|
-
|
|
53260
|
-
|
|
53261
|
-
|
|
53262
|
-
|
|
53263
|
-
|
|
53264
|
-
|
|
53265
|
-
|
|
53344
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53345
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53346
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53347
|
+
lineNumber: 92,
|
|
53348
|
+
columnNumber: 15
|
|
53349
|
+
}, void 0),
|
|
53350
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Interactive graph of your components and their relationships" }, void 0, false, {
|
|
53351
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53352
|
+
lineNumber: 93,
|
|
53353
|
+
columnNumber: 15
|
|
53354
|
+
}, void 0)
|
|
53355
|
+
] }, void 0, true, {
|
|
53356
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53357
|
+
lineNumber: 91,
|
|
53358
|
+
columnNumber: 13
|
|
53359
|
+
}, void 0),
|
|
53360
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53361
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53362
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53363
|
+
lineNumber: 96,
|
|
53364
|
+
columnNumber: 15
|
|
53365
|
+
}, void 0),
|
|
53366
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Path-based validation rules and dependencies" }, void 0, false, {
|
|
53367
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53368
|
+
lineNumber: 97,
|
|
53369
|
+
columnNumber: 15
|
|
53370
|
+
}, void 0)
|
|
53371
|
+
] }, void 0, true, {
|
|
53372
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53373
|
+
lineNumber: 95,
|
|
53374
|
+
columnNumber: 13
|
|
53375
|
+
}, void 0),
|
|
53376
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53377
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53378
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53379
|
+
lineNumber: 100,
|
|
53380
|
+
columnNumber: 15
|
|
53381
|
+
}, void 0),
|
|
53382
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Visual feedback on component structure and integration points" }, void 0, false, {
|
|
53383
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53384
|
+
lineNumber: 101,
|
|
53385
|
+
columnNumber: 15
|
|
53386
|
+
}, void 0)
|
|
53387
|
+
] }, void 0, true, {
|
|
53388
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53389
|
+
lineNumber: 99,
|
|
53390
|
+
columnNumber: 13
|
|
53391
|
+
}, void 0),
|
|
53392
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("li", { style: { marginBottom: theme.space[1], display: "flex", alignItems: "flex-start" }, children: [
|
|
53393
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.success, marginRight: theme.space[2], flexShrink: 0 }, children: "✓" }, void 0, false, {
|
|
53394
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53395
|
+
lineNumber: 104,
|
|
53396
|
+
columnNumber: 15
|
|
53397
|
+
}, void 0),
|
|
53398
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Customizable layouts and themes" }, void 0, false, {
|
|
53399
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53400
|
+
lineNumber: 105,
|
|
53401
|
+
columnNumber: 15
|
|
53402
|
+
}, void 0)
|
|
53403
|
+
] }, void 0, true, {
|
|
53404
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53405
|
+
lineNumber: 103,
|
|
53406
|
+
columnNumber: 13
|
|
53407
|
+
}, void 0)
|
|
53408
|
+
] }, void 0, true, {
|
|
53409
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53410
|
+
lineNumber: 83,
|
|
53411
|
+
columnNumber: 11
|
|
53412
|
+
}, void 0)
|
|
53413
|
+
] }, void 0, true, {
|
|
53414
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53415
|
+
lineNumber: 62,
|
|
53416
|
+
columnNumber: 9
|
|
53417
|
+
}, void 0),
|
|
53418
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53266
53419
|
display: "flex",
|
|
53267
53420
|
flexDirection: "column",
|
|
53268
53421
|
gap: theme.space[3],
|
|
53269
53422
|
marginTop: theme.space[4]
|
|
53270
53423
|
}, children: [
|
|
53271
|
-
/* @__PURE__ */
|
|
53424
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h3", { style: {
|
|
53272
53425
|
margin: 0,
|
|
53273
53426
|
fontSize: theme.fontSizes[2],
|
|
53274
53427
|
fontWeight: theme.fontWeights.medium,
|
|
53275
53428
|
color: theme.colors.text
|
|
53276
|
-
}, children: "Get Started" }
|
|
53277
|
-
|
|
53429
|
+
}, children: "Get Started" }, void 0, false, {
|
|
53430
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53431
|
+
lineNumber: 116,
|
|
53432
|
+
columnNumber: 11
|
|
53433
|
+
}, void 0),
|
|
53434
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53278
53435
|
display: "flex",
|
|
53279
53436
|
flexDirection: "column",
|
|
53280
53437
|
gap: theme.space[2]
|
|
53281
53438
|
}, children: [
|
|
53282
|
-
/* @__PURE__ */
|
|
53439
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53283
53440
|
"a",
|
|
53284
53441
|
{
|
|
53285
53442
|
href: "https://github.com/principal-ai/principal-view-core-library/blob/main/docs/CONFIGURATION_REFERENCE.md",
|
|
@@ -53307,23 +53464,51 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53307
53464
|
e.currentTarget.style.backgroundColor = theme.colors.backgroundSecondary;
|
|
53308
53465
|
},
|
|
53309
53466
|
children: [
|
|
53310
|
-
/* @__PURE__ */
|
|
53311
|
-
|
|
53312
|
-
|
|
53467
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(BookOpen, { size: 20, color: theme.colors.primary, style: { flexShrink: 0 } }, void 0, false, {
|
|
53468
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53469
|
+
lineNumber: 156,
|
|
53470
|
+
columnNumber: 15
|
|
53471
|
+
}, void 0),
|
|
53472
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1 }, children: [
|
|
53473
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53313
53474
|
fontSize: theme.fontSizes[2],
|
|
53314
53475
|
fontWeight: theme.fontWeights.medium,
|
|
53315
53476
|
marginBottom: theme.space[1]
|
|
53316
|
-
}, children: "Configuration Reference" }
|
|
53317
|
-
|
|
53477
|
+
}, children: "Configuration Reference" }, void 0, false, {
|
|
53478
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53479
|
+
lineNumber: 158,
|
|
53480
|
+
columnNumber: 17
|
|
53481
|
+
}, void 0),
|
|
53482
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53318
53483
|
fontSize: theme.fontSizes[0],
|
|
53319
53484
|
color: theme.colors.textSecondary
|
|
53320
|
-
}, children: "Learn how to create .principal-views/ configurations with path-based validation" }
|
|
53321
|
-
|
|
53322
|
-
|
|
53485
|
+
}, children: "Learn how to create .principal-views/ configurations with path-based validation" }, void 0, false, {
|
|
53486
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53487
|
+
lineNumber: 165,
|
|
53488
|
+
columnNumber: 17
|
|
53489
|
+
}, void 0)
|
|
53490
|
+
] }, void 0, true, {
|
|
53491
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53492
|
+
lineNumber: 157,
|
|
53493
|
+
columnNumber: 15
|
|
53494
|
+
}, void 0),
|
|
53495
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExternalLink, { size: 16, color: theme.colors.textMuted, style: { flexShrink: 0 } }, void 0, false, {
|
|
53496
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53497
|
+
lineNumber: 172,
|
|
53498
|
+
columnNumber: 15
|
|
53499
|
+
}, void 0)
|
|
53323
53500
|
]
|
|
53324
|
-
}
|
|
53501
|
+
},
|
|
53502
|
+
void 0,
|
|
53503
|
+
true,
|
|
53504
|
+
{
|
|
53505
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53506
|
+
lineNumber: 130,
|
|
53507
|
+
columnNumber: 13
|
|
53508
|
+
},
|
|
53509
|
+
void 0
|
|
53325
53510
|
),
|
|
53326
|
-
/* @__PURE__ */
|
|
53511
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53327
53512
|
"a",
|
|
53328
53513
|
{
|
|
53329
53514
|
href: "https://www.npmjs.com/package/@principal-ai/principal-view-core",
|
|
@@ -53351,24 +53536,56 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53351
53536
|
e.currentTarget.style.backgroundColor = theme.colors.backgroundSecondary;
|
|
53352
53537
|
},
|
|
53353
53538
|
children: [
|
|
53354
|
-
/* @__PURE__ */
|
|
53355
|
-
|
|
53356
|
-
|
|
53539
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(FileText, { size: 20, color: theme.colors.primary, style: { flexShrink: 0 } }, void 0, false, {
|
|
53540
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53541
|
+
lineNumber: 201,
|
|
53542
|
+
columnNumber: 15
|
|
53543
|
+
}, void 0),
|
|
53544
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1 }, children: [
|
|
53545
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53357
53546
|
fontSize: theme.fontSizes[2],
|
|
53358
53547
|
fontWeight: theme.fontWeights.medium,
|
|
53359
53548
|
marginBottom: theme.space[1]
|
|
53360
|
-
}, children: "NPM Package Documentation" }
|
|
53361
|
-
|
|
53549
|
+
}, children: "NPM Package Documentation" }, void 0, false, {
|
|
53550
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53551
|
+
lineNumber: 203,
|
|
53552
|
+
columnNumber: 17
|
|
53553
|
+
}, void 0),
|
|
53554
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53362
53555
|
fontSize: theme.fontSizes[0],
|
|
53363
53556
|
color: theme.colors.textSecondary
|
|
53364
|
-
}, children: "View @principal-ai/principal-view-core on npm" }
|
|
53365
|
-
|
|
53366
|
-
|
|
53557
|
+
}, children: "View @principal-ai/principal-view-core on npm" }, void 0, false, {
|
|
53558
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53559
|
+
lineNumber: 210,
|
|
53560
|
+
columnNumber: 17
|
|
53561
|
+
}, void 0)
|
|
53562
|
+
] }, void 0, true, {
|
|
53563
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53564
|
+
lineNumber: 202,
|
|
53565
|
+
columnNumber: 15
|
|
53566
|
+
}, void 0),
|
|
53567
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExternalLink, { size: 16, color: theme.colors.textMuted, style: { flexShrink: 0 } }, void 0, false, {
|
|
53568
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53569
|
+
lineNumber: 217,
|
|
53570
|
+
columnNumber: 15
|
|
53571
|
+
}, void 0)
|
|
53367
53572
|
]
|
|
53368
|
-
}
|
|
53573
|
+
},
|
|
53574
|
+
void 0,
|
|
53575
|
+
true,
|
|
53576
|
+
{
|
|
53577
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53578
|
+
lineNumber: 175,
|
|
53579
|
+
columnNumber: 13
|
|
53580
|
+
},
|
|
53581
|
+
void 0
|
|
53369
53582
|
)
|
|
53370
|
-
] }
|
|
53371
|
-
|
|
53583
|
+
] }, void 0, true, {
|
|
53584
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53585
|
+
lineNumber: 125,
|
|
53586
|
+
columnNumber: 11
|
|
53587
|
+
}, void 0),
|
|
53588
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("p", { style: {
|
|
53372
53589
|
margin: 0,
|
|
53373
53590
|
fontSize: theme.fontSizes[1],
|
|
53374
53591
|
color: theme.colors.textMuted,
|
|
@@ -53376,17 +53593,37 @@ const EmptyStateContent = ({ theme }) => {
|
|
|
53376
53593
|
textAlign: "center"
|
|
53377
53594
|
}, children: [
|
|
53378
53595
|
"Once you add a ",
|
|
53379
|
-
/* @__PURE__ */
|
|
53596
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("code", { style: {
|
|
53380
53597
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53381
53598
|
padding: `2px ${theme.space[1]}`,
|
|
53382
53599
|
borderRadius: theme.radii[0],
|
|
53383
53600
|
fontFamily: theme.fonts.monospace,
|
|
53384
53601
|
fontSize: theme.fontSizes[0]
|
|
53385
|
-
}, children: ".principal-views/" }
|
|
53602
|
+
}, children: ".principal-views/" }, void 0, false, {
|
|
53603
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53604
|
+
lineNumber: 228,
|
|
53605
|
+
columnNumber: 28
|
|
53606
|
+
}, void 0),
|
|
53386
53607
|
" folder with YAML configuration files to your project root, the panel will automatically visualize your configurations."
|
|
53387
|
-
] }
|
|
53388
|
-
|
|
53389
|
-
|
|
53608
|
+
] }, void 0, true, {
|
|
53609
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53610
|
+
lineNumber: 221,
|
|
53611
|
+
columnNumber: 11
|
|
53612
|
+
}, void 0)
|
|
53613
|
+
] }, void 0, true, {
|
|
53614
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53615
|
+
lineNumber: 110,
|
|
53616
|
+
columnNumber: 9
|
|
53617
|
+
}, void 0)
|
|
53618
|
+
] }, void 0, true, {
|
|
53619
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53620
|
+
lineNumber: 30,
|
|
53621
|
+
columnNumber: 7
|
|
53622
|
+
}, void 0) }, void 0, false, {
|
|
53623
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/principal-view/EmptyStateContent.tsx",
|
|
53624
|
+
lineNumber: 16,
|
|
53625
|
+
columnNumber: 5
|
|
53626
|
+
}, void 0);
|
|
53390
53627
|
};
|
|
53391
53628
|
const DEFAULT_LAYOUT_CONFIG = {
|
|
53392
53629
|
direction: "TB",
|
|
@@ -53644,7 +53881,7 @@ const PrincipalViewGraphPanel = ({
|
|
|
53644
53881
|
return unsubscribe;
|
|
53645
53882
|
}, []);
|
|
53646
53883
|
if (state.loading) {
|
|
53647
|
-
return /* @__PURE__ */
|
|
53884
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53648
53885
|
display: "flex",
|
|
53649
53886
|
alignItems: "center",
|
|
53650
53887
|
justifyContent: "center",
|
|
@@ -53652,39 +53889,63 @@ const PrincipalViewGraphPanel = ({
|
|
|
53652
53889
|
color: theme.colors.textMuted,
|
|
53653
53890
|
fontFamily: theme.fonts.body
|
|
53654
53891
|
}, children: [
|
|
53655
|
-
/* @__PURE__ */
|
|
53656
|
-
|
|
53657
|
-
|
|
53892
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Loader, { size: 24, style: { animation: "spin 1s linear infinite" } }, void 0, false, {
|
|
53893
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53894
|
+
lineNumber: 399,
|
|
53895
|
+
columnNumber: 9
|
|
53896
|
+
}, void 0),
|
|
53897
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { marginLeft: theme.space[2] }, children: "Loading configuration..." }, void 0, false, {
|
|
53898
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53899
|
+
lineNumber: 400,
|
|
53900
|
+
columnNumber: 9
|
|
53901
|
+
}, void 0)
|
|
53902
|
+
] }, void 0, true, {
|
|
53903
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53904
|
+
lineNumber: 391,
|
|
53905
|
+
columnNumber: 7
|
|
53906
|
+
}, void 0);
|
|
53658
53907
|
}
|
|
53659
53908
|
if (state.error) {
|
|
53660
|
-
return /* @__PURE__ */
|
|
53909
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ErrorStateContent, { theme, error: state.error, onRetry: () => loadConfiguration() }, void 0, false, {
|
|
53910
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53911
|
+
lineNumber: 406,
|
|
53912
|
+
columnNumber: 12
|
|
53913
|
+
}, void 0);
|
|
53661
53914
|
}
|
|
53662
53915
|
if (!state.canvas) {
|
|
53663
|
-
return /* @__PURE__ */
|
|
53916
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(EmptyStateContent, { theme }, void 0, false, {
|
|
53917
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53918
|
+
lineNumber: 410,
|
|
53919
|
+
columnNumber: 12
|
|
53920
|
+
}, void 0);
|
|
53664
53921
|
}
|
|
53665
|
-
return /* @__PURE__ */
|
|
53922
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53666
53923
|
height: "100%",
|
|
53667
53924
|
width: "100%",
|
|
53668
53925
|
display: "flex",
|
|
53669
53926
|
flexDirection: "column",
|
|
53670
53927
|
fontFamily: theme.fonts.body
|
|
53671
53928
|
}, children: [
|
|
53672
|
-
/* @__PURE__ */
|
|
53929
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53673
53930
|
padding: "16px 20px",
|
|
53674
53931
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
53675
53932
|
backgroundColor: theme.colors.background,
|
|
53676
53933
|
flexShrink: 0
|
|
53677
53934
|
}, children: [
|
|
53678
|
-
/* @__PURE__ */
|
|
53679
|
-
/* @__PURE__ */
|
|
53680
|
-
/* @__PURE__ */
|
|
53935
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: theme.space[3] }, children: [
|
|
53936
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[3] }, children: [
|
|
53937
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h2", { style: {
|
|
53681
53938
|
margin: 0,
|
|
53682
53939
|
fontSize: theme.fontSizes[3],
|
|
53683
53940
|
fontWeight: theme.fontWeights.medium,
|
|
53684
53941
|
color: theme.colors.text
|
|
53685
|
-
}, children: ((_a = state.canvas.pv) == null ? void 0 : _a.name) || "Untitled" }
|
|
53686
|
-
|
|
53687
|
-
|
|
53942
|
+
}, children: ((_a = state.canvas.pv) == null ? void 0 : _a.name) || "Untitled" }, void 0, false, {
|
|
53943
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53944
|
+
lineNumber: 431,
|
|
53945
|
+
columnNumber: 13
|
|
53946
|
+
}, void 0),
|
|
53947
|
+
state.availableConfigs.length > 1 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { position: "relative" }, children: [
|
|
53948
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53688
53949
|
"select",
|
|
53689
53950
|
{
|
|
53690
53951
|
value: state.selectedConfigId || "",
|
|
@@ -53705,10 +53966,22 @@ const PrincipalViewGraphPanel = ({
|
|
|
53705
53966
|
transition: "all 0.2s"
|
|
53706
53967
|
},
|
|
53707
53968
|
title: state.hasUnsavedChanges ? "Save or discard changes before switching configs" : void 0,
|
|
53708
|
-
children: state.availableConfigs.map((config) => /* @__PURE__ */
|
|
53709
|
-
|
|
53969
|
+
children: state.availableConfigs.map((config) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("option", { value: config.id, children: config.name }, config.id, false, {
|
|
53970
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53971
|
+
lineNumber: 464,
|
|
53972
|
+
columnNumber: 21
|
|
53973
|
+
}, void 0))
|
|
53974
|
+
},
|
|
53975
|
+
void 0,
|
|
53976
|
+
false,
|
|
53977
|
+
{
|
|
53978
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
53979
|
+
lineNumber: 443,
|
|
53980
|
+
columnNumber: 17
|
|
53981
|
+
},
|
|
53982
|
+
void 0
|
|
53710
53983
|
),
|
|
53711
|
-
/* @__PURE__ */
|
|
53984
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53712
53985
|
ChevronDown,
|
|
53713
53986
|
{
|
|
53714
53987
|
size: 14,
|
|
@@ -53720,12 +53993,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53720
53993
|
pointerEvents: "none",
|
|
53721
53994
|
color: theme.colors.textMuted
|
|
53722
53995
|
}
|
|
53723
|
-
}
|
|
53996
|
+
},
|
|
53997
|
+
void 0,
|
|
53998
|
+
false,
|
|
53999
|
+
{
|
|
54000
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54001
|
+
lineNumber: 467,
|
|
54002
|
+
columnNumber: 17
|
|
54003
|
+
},
|
|
54004
|
+
void 0
|
|
53724
54005
|
)
|
|
53725
|
-
] }
|
|
53726
|
-
|
|
53727
|
-
|
|
53728
|
-
|
|
54006
|
+
] }, void 0, true, {
|
|
54007
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54008
|
+
lineNumber: 442,
|
|
54009
|
+
columnNumber: 15
|
|
54010
|
+
}, void 0)
|
|
54011
|
+
] }, void 0, true, {
|
|
54012
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54013
|
+
lineNumber: 430,
|
|
54014
|
+
columnNumber: 11
|
|
54015
|
+
}, void 0),
|
|
54016
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[3] }, children: [
|
|
54017
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53729
54018
|
"button",
|
|
53730
54019
|
{
|
|
53731
54020
|
onClick: toggleLayoutConfig,
|
|
@@ -53746,12 +54035,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53746
54035
|
transition: "all 0.2s"
|
|
53747
54036
|
},
|
|
53748
54037
|
children: [
|
|
53749
|
-
/* @__PURE__ */
|
|
53750
|
-
|
|
54038
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(LayoutGrid, { size: 14 }, void 0, false, {
|
|
54039
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54040
|
+
lineNumber: 503,
|
|
54041
|
+
columnNumber: 15
|
|
54042
|
+
}, void 0),
|
|
54043
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Auto Layout" }, void 0, false, {
|
|
54044
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54045
|
+
lineNumber: 504,
|
|
54046
|
+
columnNumber: 15
|
|
54047
|
+
}, void 0)
|
|
53751
54048
|
]
|
|
53752
|
-
}
|
|
54049
|
+
},
|
|
54050
|
+
void 0,
|
|
54051
|
+
true,
|
|
54052
|
+
{
|
|
54053
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54054
|
+
lineNumber: 484,
|
|
54055
|
+
columnNumber: 13
|
|
54056
|
+
},
|
|
54057
|
+
void 0
|
|
53753
54058
|
),
|
|
53754
|
-
/* @__PURE__ */
|
|
54059
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53755
54060
|
"button",
|
|
53756
54061
|
{
|
|
53757
54062
|
onClick: toggleEditMode,
|
|
@@ -53771,26 +54076,62 @@ const PrincipalViewGraphPanel = ({
|
|
|
53771
54076
|
transition: "all 0.2s"
|
|
53772
54077
|
},
|
|
53773
54078
|
children: [
|
|
53774
|
-
state.isEditMode ? /* @__PURE__ */
|
|
53775
|
-
|
|
54079
|
+
state.isEditMode ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(LockOpen, { size: 14 }, void 0, false, {
|
|
54080
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54081
|
+
lineNumber: 526,
|
|
54082
|
+
columnNumber: 35
|
|
54083
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Lock, { size: 14 }, void 0, false, {
|
|
54084
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54085
|
+
lineNumber: 526,
|
|
54086
|
+
columnNumber: 58
|
|
54087
|
+
}, void 0),
|
|
54088
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: state.isEditMode ? "Editing" : "Edit" }, void 0, false, {
|
|
54089
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54090
|
+
lineNumber: 527,
|
|
54091
|
+
columnNumber: 15
|
|
54092
|
+
}, void 0)
|
|
53776
54093
|
]
|
|
53777
|
-
}
|
|
54094
|
+
},
|
|
54095
|
+
void 0,
|
|
54096
|
+
true,
|
|
54097
|
+
{
|
|
54098
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54099
|
+
lineNumber: 508,
|
|
54100
|
+
columnNumber: 13
|
|
54101
|
+
},
|
|
54102
|
+
void 0
|
|
53778
54103
|
)
|
|
53779
|
-
] }
|
|
53780
|
-
|
|
53781
|
-
|
|
54104
|
+
] }, void 0, true, {
|
|
54105
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54106
|
+
lineNumber: 482,
|
|
54107
|
+
columnNumber: 11
|
|
54108
|
+
}, void 0)
|
|
54109
|
+
] }, void 0, true, {
|
|
54110
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54111
|
+
lineNumber: 429,
|
|
54112
|
+
columnNumber: 9
|
|
54113
|
+
}, void 0),
|
|
54114
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53782
54115
|
display: "flex",
|
|
53783
54116
|
alignItems: "center",
|
|
53784
54117
|
gap: theme.space[2],
|
|
53785
54118
|
marginTop: theme.space[2]
|
|
53786
|
-
}, children: state.isEditMode && state.hasUnsavedChanges ? /* @__PURE__ */
|
|
53787
|
-
/* @__PURE__ */
|
|
54119
|
+
}, children: state.isEditMode && state.hasUnsavedChanges ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
54120
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
53788
54121
|
fontSize: theme.fontSizes[1],
|
|
53789
54122
|
color: theme.colors.warning || "#f59e0b",
|
|
53790
54123
|
fontStyle: "italic"
|
|
53791
|
-
}, children: "Unsaved changes" }
|
|
53792
|
-
|
|
53793
|
-
|
|
54124
|
+
}, children: "Unsaved changes" }, void 0, false, {
|
|
54125
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54126
|
+
lineNumber: 542,
|
|
54127
|
+
columnNumber: 15
|
|
54128
|
+
}, void 0),
|
|
54129
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1 } }, void 0, false, {
|
|
54130
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54131
|
+
lineNumber: 551,
|
|
54132
|
+
columnNumber: 15
|
|
54133
|
+
}, void 0),
|
|
54134
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53794
54135
|
"button",
|
|
53795
54136
|
{
|
|
53796
54137
|
onClick: saveAllChanges,
|
|
@@ -53811,12 +54152,32 @@ const PrincipalViewGraphPanel = ({
|
|
|
53811
54152
|
transition: "all 0.2s"
|
|
53812
54153
|
},
|
|
53813
54154
|
children: [
|
|
53814
|
-
state.isSaving ? /* @__PURE__ */
|
|
53815
|
-
|
|
54155
|
+
state.isSaving ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Loader, { size: 14, style: { animation: "spin 1s linear infinite" } }, void 0, false, {
|
|
54156
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54157
|
+
lineNumber: 574,
|
|
54158
|
+
columnNumber: 19
|
|
54159
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Save, { size: 14 }, void 0, false, {
|
|
54160
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54161
|
+
lineNumber: 576,
|
|
54162
|
+
columnNumber: 19
|
|
54163
|
+
}, void 0),
|
|
54164
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Save" }, void 0, false, {
|
|
54165
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54166
|
+
lineNumber: 578,
|
|
54167
|
+
columnNumber: 17
|
|
54168
|
+
}, void 0)
|
|
53816
54169
|
]
|
|
53817
|
-
}
|
|
54170
|
+
},
|
|
54171
|
+
void 0,
|
|
54172
|
+
true,
|
|
54173
|
+
{
|
|
54174
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54175
|
+
lineNumber: 554,
|
|
54176
|
+
columnNumber: 15
|
|
54177
|
+
},
|
|
54178
|
+
void 0
|
|
53818
54179
|
),
|
|
53819
|
-
/* @__PURE__ */
|
|
54180
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53820
54181
|
"button",
|
|
53821
54182
|
{
|
|
53822
54183
|
onClick: discardChanges,
|
|
@@ -53837,23 +54198,71 @@ const PrincipalViewGraphPanel = ({
|
|
|
53837
54198
|
transition: "all 0.2s"
|
|
53838
54199
|
},
|
|
53839
54200
|
children: [
|
|
53840
|
-
/* @__PURE__ */
|
|
53841
|
-
|
|
54201
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(X$1, { size: 14 }, void 0, false, {
|
|
54202
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54203
|
+
lineNumber: 601,
|
|
54204
|
+
columnNumber: 17
|
|
54205
|
+
}, void 0),
|
|
54206
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Discard" }, void 0, false, {
|
|
54207
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54208
|
+
lineNumber: 602,
|
|
54209
|
+
columnNumber: 17
|
|
54210
|
+
}, void 0)
|
|
53842
54211
|
]
|
|
53843
|
-
}
|
|
54212
|
+
},
|
|
54213
|
+
void 0,
|
|
54214
|
+
true,
|
|
54215
|
+
{
|
|
54216
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54217
|
+
lineNumber: 582,
|
|
54218
|
+
columnNumber: 15
|
|
54219
|
+
},
|
|
54220
|
+
void 0
|
|
53844
54221
|
)
|
|
53845
|
-
] }
|
|
53846
|
-
|
|
54222
|
+
] }, void 0, true, {
|
|
54223
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54224
|
+
lineNumber: 540,
|
|
54225
|
+
columnNumber: 13
|
|
54226
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
54227
|
+
((_b = state.canvas.pv) == null ? void 0 : _b.version) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: [
|
|
53847
54228
|
"v",
|
|
53848
54229
|
state.canvas.pv.version
|
|
53849
|
-
] }
|
|
53850
|
-
|
|
53851
|
-
|
|
53852
|
-
|
|
53853
|
-
|
|
53854
|
-
|
|
53855
|
-
|
|
53856
|
-
|
|
54230
|
+
] }, void 0, true, {
|
|
54231
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54232
|
+
lineNumber: 608,
|
|
54233
|
+
columnNumber: 17
|
|
54234
|
+
}, void 0),
|
|
54235
|
+
((_c = state.canvas.pv) == null ? void 0 : _c.description) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
54236
|
+
((_d = state.canvas.pv) == null ? void 0 : _d.version) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.textMuted }, children: "•" }, void 0, false, {
|
|
54237
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54238
|
+
lineNumber: 614,
|
|
54239
|
+
columnNumber: 48
|
|
54240
|
+
}, void 0),
|
|
54241
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: state.canvas.pv.description }, void 0, false, {
|
|
54242
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54243
|
+
lineNumber: 615,
|
|
54244
|
+
columnNumber: 19
|
|
54245
|
+
}, void 0)
|
|
54246
|
+
] }, void 0, true, {
|
|
54247
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54248
|
+
lineNumber: 613,
|
|
54249
|
+
columnNumber: 17
|
|
54250
|
+
}, void 0)
|
|
54251
|
+
] }, void 0, true, {
|
|
54252
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54253
|
+
lineNumber: 606,
|
|
54254
|
+
columnNumber: 13
|
|
54255
|
+
}, void 0) }, void 0, false, {
|
|
54256
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54257
|
+
lineNumber: 533,
|
|
54258
|
+
columnNumber: 9
|
|
54259
|
+
}, void 0)
|
|
54260
|
+
] }, void 0, true, {
|
|
54261
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54262
|
+
lineNumber: 422,
|
|
54263
|
+
columnNumber: 7
|
|
54264
|
+
}, void 0),
|
|
54265
|
+
state.showLayoutConfig && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
53857
54266
|
padding: `${theme.space[3]}px 20px`,
|
|
53858
54267
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
53859
54268
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
@@ -53862,13 +54271,17 @@ const PrincipalViewGraphPanel = ({
|
|
|
53862
54271
|
gap: theme.space[4],
|
|
53863
54272
|
flexWrap: "wrap"
|
|
53864
54273
|
}, children: [
|
|
53865
|
-
/* @__PURE__ */
|
|
53866
|
-
/* @__PURE__ */
|
|
54274
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54275
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { style: {
|
|
53867
54276
|
fontSize: theme.fontSizes[1],
|
|
53868
54277
|
color: theme.colors.textMuted,
|
|
53869
54278
|
fontWeight: theme.fontWeights.medium
|
|
53870
|
-
}, children: "Direction" }
|
|
53871
|
-
|
|
54279
|
+
}, children: "Direction" }, void 0, false, {
|
|
54280
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54281
|
+
lineNumber: 638,
|
|
54282
|
+
columnNumber: 13
|
|
54283
|
+
}, void 0),
|
|
54284
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", gap: theme.space[1] }, children: ["TB", "BT", "LR", "RL"].map((dir) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53872
54285
|
"button",
|
|
53873
54286
|
{
|
|
53874
54287
|
onClick: () => updateLayoutConfig({ direction: dir }),
|
|
@@ -53891,16 +54304,35 @@ const PrincipalViewGraphPanel = ({
|
|
|
53891
54304
|
},
|
|
53892
54305
|
children: dir
|
|
53893
54306
|
},
|
|
53894
|
-
dir
|
|
53895
|
-
|
|
53896
|
-
|
|
53897
|
-
|
|
53898
|
-
|
|
54307
|
+
dir,
|
|
54308
|
+
false,
|
|
54309
|
+
{
|
|
54310
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54311
|
+
lineNumber: 647,
|
|
54312
|
+
columnNumber: 17
|
|
54313
|
+
},
|
|
54314
|
+
void 0
|
|
54315
|
+
)) }, void 0, false, {
|
|
54316
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54317
|
+
lineNumber: 645,
|
|
54318
|
+
columnNumber: 13
|
|
54319
|
+
}, void 0)
|
|
54320
|
+
] }, void 0, true, {
|
|
54321
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54322
|
+
lineNumber: 637,
|
|
54323
|
+
columnNumber: 11
|
|
54324
|
+
}, void 0),
|
|
54325
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54326
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { style: {
|
|
53899
54327
|
fontSize: theme.fontSizes[1],
|
|
53900
54328
|
color: theme.colors.textMuted,
|
|
53901
54329
|
fontWeight: theme.fontWeights.medium
|
|
53902
|
-
}, children: "H-Spacing" }
|
|
53903
|
-
|
|
54330
|
+
}, children: "H-Spacing" }, void 0, false, {
|
|
54331
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54332
|
+
lineNumber: 676,
|
|
54333
|
+
columnNumber: 13
|
|
54334
|
+
}, void 0),
|
|
54335
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53904
54336
|
"input",
|
|
53905
54337
|
{
|
|
53906
54338
|
type: "range",
|
|
@@ -53910,22 +54342,42 @@ const PrincipalViewGraphPanel = ({
|
|
|
53910
54342
|
value: state.layoutConfig.nodeSpacingX,
|
|
53911
54343
|
onChange: (e) => updateLayoutConfig({ nodeSpacingX: Number(e.target.value) }),
|
|
53912
54344
|
style: { width: 80, cursor: "pointer" }
|
|
53913
|
-
}
|
|
54345
|
+
},
|
|
54346
|
+
void 0,
|
|
54347
|
+
false,
|
|
54348
|
+
{
|
|
54349
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54350
|
+
lineNumber: 683,
|
|
54351
|
+
columnNumber: 13
|
|
54352
|
+
},
|
|
54353
|
+
void 0
|
|
53914
54354
|
),
|
|
53915
|
-
/* @__PURE__ */
|
|
54355
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
53916
54356
|
fontSize: theme.fontSizes[0],
|
|
53917
54357
|
color: theme.colors.textMuted,
|
|
53918
54358
|
fontFamily: theme.fonts.monospace,
|
|
53919
54359
|
minWidth: 32
|
|
53920
|
-
}, children: state.layoutConfig.nodeSpacingX }
|
|
53921
|
-
|
|
53922
|
-
|
|
53923
|
-
|
|
54360
|
+
}, children: state.layoutConfig.nodeSpacingX }, void 0, false, {
|
|
54361
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54362
|
+
lineNumber: 692,
|
|
54363
|
+
columnNumber: 13
|
|
54364
|
+
}, void 0)
|
|
54365
|
+
] }, void 0, true, {
|
|
54366
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54367
|
+
lineNumber: 675,
|
|
54368
|
+
columnNumber: 11
|
|
54369
|
+
}, void 0),
|
|
54370
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", alignItems: "center", gap: theme.space[2] }, children: [
|
|
54371
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { style: {
|
|
53924
54372
|
fontSize: theme.fontSizes[1],
|
|
53925
54373
|
color: theme.colors.textMuted,
|
|
53926
54374
|
fontWeight: theme.fontWeights.medium
|
|
53927
|
-
}, children: "V-Spacing" }
|
|
53928
|
-
|
|
54375
|
+
}, children: "V-Spacing" }, void 0, false, {
|
|
54376
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54377
|
+
lineNumber: 704,
|
|
54378
|
+
columnNumber: 13
|
|
54379
|
+
}, void 0),
|
|
54380
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53929
54381
|
"input",
|
|
53930
54382
|
{
|
|
53931
54383
|
type: "range",
|
|
@@ -53935,17 +54387,37 @@ const PrincipalViewGraphPanel = ({
|
|
|
53935
54387
|
value: state.layoutConfig.nodeSpacingY,
|
|
53936
54388
|
onChange: (e) => updateLayoutConfig({ nodeSpacingY: Number(e.target.value) }),
|
|
53937
54389
|
style: { width: 80, cursor: "pointer" }
|
|
53938
|
-
}
|
|
54390
|
+
},
|
|
54391
|
+
void 0,
|
|
54392
|
+
false,
|
|
54393
|
+
{
|
|
54394
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54395
|
+
lineNumber: 711,
|
|
54396
|
+
columnNumber: 13
|
|
54397
|
+
},
|
|
54398
|
+
void 0
|
|
53939
54399
|
),
|
|
53940
|
-
/* @__PURE__ */
|
|
54400
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
53941
54401
|
fontSize: theme.fontSizes[0],
|
|
53942
54402
|
color: theme.colors.textMuted,
|
|
53943
54403
|
fontFamily: theme.fonts.monospace,
|
|
53944
54404
|
minWidth: 32
|
|
53945
|
-
}, children: state.layoutConfig.nodeSpacingY }
|
|
53946
|
-
|
|
53947
|
-
|
|
53948
|
-
|
|
54405
|
+
}, children: state.layoutConfig.nodeSpacingY }, void 0, false, {
|
|
54406
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54407
|
+
lineNumber: 720,
|
|
54408
|
+
columnNumber: 13
|
|
54409
|
+
}, void 0)
|
|
54410
|
+
] }, void 0, true, {
|
|
54411
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54412
|
+
lineNumber: 703,
|
|
54413
|
+
columnNumber: 11
|
|
54414
|
+
}, void 0),
|
|
54415
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1 } }, void 0, false, {
|
|
54416
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54417
|
+
lineNumber: 731,
|
|
54418
|
+
columnNumber: 11
|
|
54419
|
+
}, void 0),
|
|
54420
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53949
54421
|
"button",
|
|
53950
54422
|
{
|
|
53951
54423
|
onClick: applyAutoLayout,
|
|
@@ -53964,12 +54436,28 @@ const PrincipalViewGraphPanel = ({
|
|
|
53964
54436
|
transition: "all 0.15s"
|
|
53965
54437
|
},
|
|
53966
54438
|
children: [
|
|
53967
|
-
/* @__PURE__ */
|
|
53968
|
-
|
|
54439
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(LayoutGrid, { size: 14 }, void 0, false, {
|
|
54440
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54441
|
+
lineNumber: 751,
|
|
54442
|
+
columnNumber: 13
|
|
54443
|
+
}, void 0),
|
|
54444
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Apply Layout" }, void 0, false, {
|
|
54445
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54446
|
+
lineNumber: 752,
|
|
54447
|
+
columnNumber: 13
|
|
54448
|
+
}, void 0)
|
|
53969
54449
|
]
|
|
53970
|
-
}
|
|
54450
|
+
},
|
|
54451
|
+
void 0,
|
|
54452
|
+
true,
|
|
54453
|
+
{
|
|
54454
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54455
|
+
lineNumber: 734,
|
|
54456
|
+
columnNumber: 11
|
|
54457
|
+
},
|
|
54458
|
+
void 0
|
|
53971
54459
|
),
|
|
53972
|
-
/* @__PURE__ */
|
|
54460
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53973
54461
|
"button",
|
|
53974
54462
|
{
|
|
53975
54463
|
onClick: toggleLayoutConfig,
|
|
@@ -53987,11 +54475,27 @@ const PrincipalViewGraphPanel = ({
|
|
|
53987
54475
|
cursor: "pointer",
|
|
53988
54476
|
transition: "all 0.15s"
|
|
53989
54477
|
},
|
|
53990
|
-
children: /* @__PURE__ */
|
|
53991
|
-
|
|
54478
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(X$1, { size: 16 }, void 0, false, {
|
|
54479
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54480
|
+
lineNumber: 773,
|
|
54481
|
+
columnNumber: 13
|
|
54482
|
+
}, void 0)
|
|
54483
|
+
},
|
|
54484
|
+
void 0,
|
|
54485
|
+
false,
|
|
54486
|
+
{
|
|
54487
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54488
|
+
lineNumber: 756,
|
|
54489
|
+
columnNumber: 11
|
|
54490
|
+
},
|
|
54491
|
+
void 0
|
|
53992
54492
|
)
|
|
53993
|
-
] }
|
|
53994
|
-
|
|
54493
|
+
] }, void 0, true, {
|
|
54494
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54495
|
+
lineNumber: 627,
|
|
54496
|
+
columnNumber: 9
|
|
54497
|
+
}, void 0),
|
|
54498
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1, position: "relative" }, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
53995
54499
|
distExports.GraphRenderer,
|
|
53996
54500
|
{
|
|
53997
54501
|
ref: graphRef,
|
|
@@ -54003,9 +54507,24 @@ const PrincipalViewGraphPanel = ({
|
|
|
54003
54507
|
editable: state.isEditMode,
|
|
54004
54508
|
onPendingChangesChange: handlePendingChangesChange
|
|
54005
54509
|
},
|
|
54006
|
-
`graph-${state.layoutVersion}
|
|
54007
|
-
|
|
54008
|
-
|
|
54510
|
+
`graph-${state.layoutVersion}`,
|
|
54511
|
+
false,
|
|
54512
|
+
{
|
|
54513
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54514
|
+
lineNumber: 780,
|
|
54515
|
+
columnNumber: 9
|
|
54516
|
+
},
|
|
54517
|
+
void 0
|
|
54518
|
+
) }, void 0, false, {
|
|
54519
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54520
|
+
lineNumber: 779,
|
|
54521
|
+
columnNumber: 7
|
|
54522
|
+
}, void 0)
|
|
54523
|
+
] }, void 0, true, {
|
|
54524
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/PrincipalViewGraphPanel.tsx",
|
|
54525
|
+
lineNumber: 414,
|
|
54526
|
+
columnNumber: 5
|
|
54527
|
+
}, void 0);
|
|
54009
54528
|
};
|
|
54010
54529
|
function applyChangesToCanvas(canvas, changes) {
|
|
54011
54530
|
var _a, _b;
|
|
@@ -54474,7 +54993,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54474
54993
|
);
|
|
54475
54994
|
}, [state.library, state.libraryFilter]);
|
|
54476
54995
|
if (state.loading) {
|
|
54477
|
-
return /* @__PURE__ */
|
|
54996
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54478
54997
|
height: "100%",
|
|
54479
54998
|
width: "100%",
|
|
54480
54999
|
display: "flex",
|
|
@@ -54483,73 +55002,109 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54483
55002
|
fontFamily: theme.fonts.body,
|
|
54484
55003
|
overflow: "hidden"
|
|
54485
55004
|
}, children: [
|
|
54486
|
-
/* @__PURE__ */
|
|
55005
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("style", { children: `
|
|
54487
55006
|
@keyframes shimmer {
|
|
54488
55007
|
0% { background-position: -200% 0; }
|
|
54489
55008
|
100% { background-position: 200% 0; }
|
|
54490
55009
|
}
|
|
54491
|
-
` }
|
|
54492
|
-
|
|
55010
|
+
` }, void 0, false, {
|
|
55011
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55012
|
+
lineNumber: 389,
|
|
55013
|
+
columnNumber: 9
|
|
55014
|
+
}, void 0),
|
|
55015
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54493
55016
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
54494
55017
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54495
55018
|
display: "flex",
|
|
54496
55019
|
alignItems: "center",
|
|
54497
55020
|
justifyContent: "space-between"
|
|
54498
55021
|
}, children: [
|
|
54499
|
-
/* @__PURE__ */
|
|
55022
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54500
55023
|
width: "80px",
|
|
54501
55024
|
height: "20px",
|
|
54502
55025
|
borderRadius: theme.radii[1],
|
|
54503
55026
|
background: `linear-gradient(90deg, ${theme.colors.backgroundSecondary} 25%, ${theme.colors.border} 50%, ${theme.colors.backgroundSecondary} 75%)`,
|
|
54504
55027
|
backgroundSize: "200% 100%",
|
|
54505
55028
|
animation: "shimmer 1.5s infinite"
|
|
54506
|
-
} }
|
|
54507
|
-
|
|
55029
|
+
} }, void 0, false, {
|
|
55030
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55031
|
+
lineNumber: 404,
|
|
55032
|
+
columnNumber: 11
|
|
55033
|
+
}, void 0),
|
|
55034
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54508
55035
|
width: "28px",
|
|
54509
55036
|
height: "28px",
|
|
54510
55037
|
borderRadius: theme.radii[1],
|
|
54511
55038
|
background: `linear-gradient(90deg, ${theme.colors.backgroundSecondary} 25%, ${theme.colors.border} 50%, ${theme.colors.backgroundSecondary} 75%)`,
|
|
54512
55039
|
backgroundSize: "200% 100%",
|
|
54513
55040
|
animation: "shimmer 1.5s infinite"
|
|
54514
|
-
} }
|
|
54515
|
-
|
|
54516
|
-
|
|
55041
|
+
} }, void 0, false, {
|
|
55042
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55043
|
+
lineNumber: 412,
|
|
55044
|
+
columnNumber: 11
|
|
55045
|
+
}, void 0)
|
|
55046
|
+
] }, void 0, true, {
|
|
55047
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55048
|
+
lineNumber: 397,
|
|
55049
|
+
columnNumber: 9
|
|
55050
|
+
}, void 0),
|
|
55051
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54517
55052
|
display: "flex",
|
|
54518
55053
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54519
55054
|
backgroundColor: theme.colors.backgroundSecondary
|
|
54520
55055
|
}, children: [
|
|
54521
|
-
/* @__PURE__ */
|
|
55056
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54522
55057
|
flex: 1,
|
|
54523
55058
|
padding: `${theme.space[2]}px ${theme.space[3]}px`,
|
|
54524
55059
|
display: "flex",
|
|
54525
55060
|
alignItems: "center",
|
|
54526
55061
|
justifyContent: "center",
|
|
54527
55062
|
gap: theme.space[2]
|
|
54528
|
-
}, children: /* @__PURE__ */
|
|
55063
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54529
55064
|
width: "60px",
|
|
54530
55065
|
height: "16px",
|
|
54531
55066
|
borderRadius: theme.radii[1],
|
|
54532
55067
|
background: `linear-gradient(90deg, ${theme.colors.background} 25%, ${theme.colors.border} 50%, ${theme.colors.background} 75%)`,
|
|
54533
55068
|
backgroundSize: "200% 100%",
|
|
54534
55069
|
animation: "shimmer 1.5s infinite"
|
|
54535
|
-
} }
|
|
54536
|
-
|
|
55070
|
+
} }, void 0, false, {
|
|
55071
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55072
|
+
lineNumber: 436,
|
|
55073
|
+
columnNumber: 13
|
|
55074
|
+
}, void 0) }, void 0, false, {
|
|
55075
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55076
|
+
lineNumber: 428,
|
|
55077
|
+
columnNumber: 11
|
|
55078
|
+
}, void 0),
|
|
55079
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54537
55080
|
flex: 1,
|
|
54538
55081
|
padding: `${theme.space[2]}px ${theme.space[3]}px`,
|
|
54539
55082
|
display: "flex",
|
|
54540
55083
|
alignItems: "center",
|
|
54541
55084
|
justifyContent: "center",
|
|
54542
55085
|
gap: theme.space[2]
|
|
54543
|
-
}, children: /* @__PURE__ */
|
|
55086
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54544
55087
|
width: "60px",
|
|
54545
55088
|
height: "16px",
|
|
54546
55089
|
borderRadius: theme.radii[1],
|
|
54547
55090
|
background: `linear-gradient(90deg, ${theme.colors.background} 25%, ${theme.colors.border} 50%, ${theme.colors.background} 75%)`,
|
|
54548
55091
|
backgroundSize: "200% 100%",
|
|
54549
55092
|
animation: "shimmer 1.5s infinite"
|
|
54550
|
-
} }
|
|
54551
|
-
|
|
54552
|
-
|
|
55093
|
+
} }, void 0, false, {
|
|
55094
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55095
|
+
lineNumber: 453,
|
|
55096
|
+
columnNumber: 13
|
|
55097
|
+
}, void 0) }, void 0, false, {
|
|
55098
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55099
|
+
lineNumber: 445,
|
|
55100
|
+
columnNumber: 11
|
|
55101
|
+
}, void 0)
|
|
55102
|
+
] }, void 0, true, {
|
|
55103
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55104
|
+
lineNumber: 423,
|
|
55105
|
+
columnNumber: 9
|
|
55106
|
+
}, void 0),
|
|
55107
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54553
55108
|
"div",
|
|
54554
55109
|
{
|
|
54555
55110
|
style: {
|
|
@@ -54563,7 +55118,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54563
55118
|
border: `1px solid ${theme.colors.border}`
|
|
54564
55119
|
},
|
|
54565
55120
|
children: [
|
|
54566
|
-
/* @__PURE__ */
|
|
55121
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54567
55122
|
width: "16px",
|
|
54568
55123
|
height: "16px",
|
|
54569
55124
|
borderRadius: theme.radii[1],
|
|
@@ -54571,8 +55126,12 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54571
55126
|
backgroundSize: "200% 100%",
|
|
54572
55127
|
animation: "shimmer 1.5s infinite",
|
|
54573
55128
|
animationDelay: `${i * 0.1}s`
|
|
54574
|
-
} }
|
|
54575
|
-
|
|
55129
|
+
} }, void 0, false, {
|
|
55130
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55131
|
+
lineNumber: 480,
|
|
55132
|
+
columnNumber: 15
|
|
55133
|
+
}, void 0),
|
|
55134
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54576
55135
|
flex: 1,
|
|
54577
55136
|
height: "16px",
|
|
54578
55137
|
borderRadius: theme.radii[1],
|
|
@@ -54580,15 +55139,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54580
55139
|
backgroundSize: "200% 100%",
|
|
54581
55140
|
animation: "shimmer 1.5s infinite",
|
|
54582
55141
|
animationDelay: `${i * 0.1}s`
|
|
54583
|
-
} }
|
|
55142
|
+
} }, void 0, false, {
|
|
55143
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55144
|
+
lineNumber: 489,
|
|
55145
|
+
columnNumber: 15
|
|
55146
|
+
}, void 0)
|
|
54584
55147
|
]
|
|
54585
55148
|
},
|
|
54586
|
-
i
|
|
54587
|
-
|
|
54588
|
-
|
|
55149
|
+
i,
|
|
55150
|
+
true,
|
|
55151
|
+
{
|
|
55152
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55153
|
+
lineNumber: 467,
|
|
55154
|
+
columnNumber: 13
|
|
55155
|
+
},
|
|
55156
|
+
void 0
|
|
55157
|
+
)) }, void 0, false, {
|
|
55158
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55159
|
+
lineNumber: 465,
|
|
55160
|
+
columnNumber: 9
|
|
55161
|
+
}, void 0)
|
|
55162
|
+
] }, void 0, true, {
|
|
55163
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55164
|
+
lineNumber: 380,
|
|
55165
|
+
columnNumber: 7
|
|
55166
|
+
}, void 0);
|
|
54589
55167
|
}
|
|
54590
55168
|
if (state.error) {
|
|
54591
|
-
return /* @__PURE__ */
|
|
55169
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54592
55170
|
display: "flex",
|
|
54593
55171
|
flexDirection: "column",
|
|
54594
55172
|
alignItems: "center",
|
|
@@ -54600,8 +55178,12 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54600
55178
|
fontFamily: theme.fonts.body,
|
|
54601
55179
|
textAlign: "center"
|
|
54602
55180
|
}, children: [
|
|
54603
|
-
/* @__PURE__ */
|
|
54604
|
-
|
|
55181
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.error || "#ef4444", marginBottom: theme.space[2] }, children: state.error }, void 0, false, {
|
|
55182
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55183
|
+
lineNumber: 519,
|
|
55184
|
+
columnNumber: 9
|
|
55185
|
+
}, void 0),
|
|
55186
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54605
55187
|
"button",
|
|
54606
55188
|
{
|
|
54607
55189
|
onClick: () => loadData(),
|
|
@@ -54619,17 +55201,33 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54619
55201
|
fontSize: theme.fontSizes[1]
|
|
54620
55202
|
},
|
|
54621
55203
|
children: [
|
|
54622
|
-
/* @__PURE__ */
|
|
55204
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(RefreshCw, { size: 14 }, void 0, false, {
|
|
55205
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55206
|
+
lineNumber: 538,
|
|
55207
|
+
columnNumber: 11
|
|
55208
|
+
}, void 0),
|
|
54623
55209
|
"Retry"
|
|
54624
55210
|
]
|
|
54625
|
-
}
|
|
55211
|
+
},
|
|
55212
|
+
void 0,
|
|
55213
|
+
true,
|
|
55214
|
+
{
|
|
55215
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55216
|
+
lineNumber: 522,
|
|
55217
|
+
columnNumber: 9
|
|
55218
|
+
},
|
|
55219
|
+
void 0
|
|
54626
55220
|
)
|
|
54627
|
-
] }
|
|
55221
|
+
] }, void 0, true, {
|
|
55222
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55223
|
+
lineNumber: 507,
|
|
55224
|
+
columnNumber: 7
|
|
55225
|
+
}, void 0);
|
|
54628
55226
|
}
|
|
54629
55227
|
const hasContent = state.configs.length > 0 || state.library;
|
|
54630
55228
|
if (!hasContent) {
|
|
54631
55229
|
const npmPackageUrl = "https://www.npmjs.com/package/@principal-ai/principal-view-cli";
|
|
54632
|
-
return /* @__PURE__ */
|
|
55230
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54633
55231
|
display: "flex",
|
|
54634
55232
|
flexDirection: "column",
|
|
54635
55233
|
alignItems: "center",
|
|
@@ -54641,18 +55239,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54641
55239
|
fontFamily: theme.fonts.body,
|
|
54642
55240
|
textAlign: "center"
|
|
54643
55241
|
}, children: [
|
|
54644
|
-
/* @__PURE__ */
|
|
54645
|
-
|
|
54646
|
-
|
|
54647
|
-
|
|
55242
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Network, { size: 56, style: { marginBottom: theme.space[3], opacity: 0.3 } }, void 0, false, {
|
|
55243
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55244
|
+
lineNumber: 563,
|
|
55245
|
+
columnNumber: 9
|
|
55246
|
+
}, void 0),
|
|
55247
|
+
/* @__PURE__ */ jsxDevRuntimeExports.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, {
|
|
55248
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55249
|
+
lineNumber: 564,
|
|
55250
|
+
columnNumber: 9
|
|
55251
|
+
}, void 0),
|
|
55252
|
+
/* @__PURE__ */ jsxDevRuntimeExports.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, {
|
|
55253
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55254
|
+
lineNumber: 567,
|
|
55255
|
+
columnNumber: 9
|
|
55256
|
+
}, void 0),
|
|
55257
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54648
55258
|
display: "flex",
|
|
54649
55259
|
flexDirection: "column",
|
|
54650
55260
|
gap: theme.space[2],
|
|
54651
55261
|
width: "90%",
|
|
54652
55262
|
maxWidth: "400px"
|
|
54653
55263
|
}, children: [
|
|
54654
|
-
/* @__PURE__ */
|
|
54655
|
-
|
|
55264
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: "Run this command to get started:" }, void 0, false, {
|
|
55265
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55266
|
+
lineNumber: 579,
|
|
55267
|
+
columnNumber: 11
|
|
55268
|
+
}, void 0),
|
|
55269
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54656
55270
|
"button",
|
|
54657
55271
|
{
|
|
54658
55272
|
onClick: handleCopyCommand,
|
|
@@ -54673,13 +55287,37 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54673
55287
|
transition: "all 0.15s"
|
|
54674
55288
|
},
|
|
54675
55289
|
children: [
|
|
54676
|
-
/* @__PURE__ */
|
|
54677
|
-
|
|
55290
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("code", { style: { flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: cliCommand }, void 0, false, {
|
|
55291
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55292
|
+
lineNumber: 601,
|
|
55293
|
+
columnNumber: 13
|
|
55294
|
+
}, void 0),
|
|
55295
|
+
copied ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Check, { size: 16, style: { color: theme.colors.success || "#22c55e", flexShrink: 0 } }, void 0, false, {
|
|
55296
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55297
|
+
lineNumber: 605,
|
|
55298
|
+
columnNumber: 15
|
|
55299
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Copy, { size: 16, style: { color: theme.colors.textMuted, flexShrink: 0 } }, void 0, false, {
|
|
55300
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55301
|
+
lineNumber: 607,
|
|
55302
|
+
columnNumber: 15
|
|
55303
|
+
}, void 0)
|
|
54678
55304
|
]
|
|
54679
|
-
}
|
|
55305
|
+
},
|
|
55306
|
+
void 0,
|
|
55307
|
+
true,
|
|
55308
|
+
{
|
|
55309
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55310
|
+
lineNumber: 582,
|
|
55311
|
+
columnNumber: 11
|
|
55312
|
+
},
|
|
55313
|
+
void 0
|
|
54680
55314
|
),
|
|
54681
|
-
/* @__PURE__ */
|
|
54682
|
-
|
|
55315
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: cliCommandDescription }, void 0, false, {
|
|
55316
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55317
|
+
lineNumber: 610,
|
|
55318
|
+
columnNumber: 11
|
|
55319
|
+
}, void 0),
|
|
55320
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54683
55321
|
"a",
|
|
54684
55322
|
{
|
|
54685
55323
|
href: npmPackageUrl,
|
|
@@ -54698,12 +55336,32 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54698
55336
|
},
|
|
54699
55337
|
children: [
|
|
54700
55338
|
"Learn more on npm",
|
|
54701
|
-
/* @__PURE__ */
|
|
55339
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExternalLink, { size: 14 }, void 0, false, {
|
|
55340
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55341
|
+
lineNumber: 632,
|
|
55342
|
+
columnNumber: 13
|
|
55343
|
+
}, void 0)
|
|
54702
55344
|
]
|
|
54703
|
-
}
|
|
55345
|
+
},
|
|
55346
|
+
void 0,
|
|
55347
|
+
true,
|
|
55348
|
+
{
|
|
55349
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55350
|
+
lineNumber: 615,
|
|
55351
|
+
columnNumber: 11
|
|
55352
|
+
},
|
|
55353
|
+
void 0
|
|
54704
55354
|
)
|
|
54705
|
-
] }
|
|
54706
|
-
|
|
55355
|
+
] }, void 0, true, {
|
|
55356
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55357
|
+
lineNumber: 572,
|
|
55358
|
+
columnNumber: 9
|
|
55359
|
+
}, void 0)
|
|
55360
|
+
] }, void 0, true, {
|
|
55361
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55362
|
+
lineNumber: 551,
|
|
55363
|
+
columnNumber: 7
|
|
55364
|
+
}, void 0);
|
|
54707
55365
|
}
|
|
54708
55366
|
const getTabStyle = (tabId, isActive) => ({
|
|
54709
55367
|
flex: 1,
|
|
@@ -54722,7 +55380,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54722
55380
|
fontWeight: isActive ? theme.fontWeights.medium : theme.fontWeights.body,
|
|
54723
55381
|
transition: "all 0.15s"
|
|
54724
55382
|
});
|
|
54725
|
-
return /* @__PURE__ */
|
|
55383
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54726
55384
|
height: "100%",
|
|
54727
55385
|
width: "100%",
|
|
54728
55386
|
display: "flex",
|
|
@@ -54732,7 +55390,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54732
55390
|
overflow: "hidden",
|
|
54733
55391
|
position: "relative"
|
|
54734
55392
|
}, children: [
|
|
54735
|
-
/* @__PURE__ */
|
|
55393
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54736
55394
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
54737
55395
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54738
55396
|
backgroundColor: theme.colors.background,
|
|
@@ -54741,14 +55399,18 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54741
55399
|
justifyContent: "space-between",
|
|
54742
55400
|
flexShrink: 0
|
|
54743
55401
|
}, children: [
|
|
54744
|
-
/* @__PURE__ */
|
|
55402
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h2", { style: {
|
|
54745
55403
|
margin: 0,
|
|
54746
55404
|
fontSize: theme.fontSizes[3],
|
|
54747
55405
|
fontWeight: theme.fontWeights.medium,
|
|
54748
55406
|
color: theme.colors.text
|
|
54749
|
-
}, children: "Browser" }
|
|
54750
|
-
|
|
54751
|
-
|
|
55407
|
+
}, children: "Browser" }, void 0, false, {
|
|
55408
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55409
|
+
lineNumber: 679,
|
|
55410
|
+
columnNumber: 9
|
|
55411
|
+
}, void 0),
|
|
55412
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", gap: theme.space[1] }, children: [
|
|
55413
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54752
55414
|
"button",
|
|
54753
55415
|
{
|
|
54754
55416
|
onClick: () => setShowSetupInfo(true),
|
|
@@ -54766,10 +55428,22 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54766
55428
|
transition: "color 0.2s"
|
|
54767
55429
|
},
|
|
54768
55430
|
title: "Setup instructions",
|
|
54769
|
-
children: /* @__PURE__ */
|
|
54770
|
-
|
|
55431
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(CircleQuestionMark, { size: 16 }, void 0, false, {
|
|
55432
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55433
|
+
lineNumber: 705,
|
|
55434
|
+
columnNumber: 13
|
|
55435
|
+
}, void 0)
|
|
55436
|
+
},
|
|
55437
|
+
void 0,
|
|
55438
|
+
false,
|
|
55439
|
+
{
|
|
55440
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55441
|
+
lineNumber: 688,
|
|
55442
|
+
columnNumber: 11
|
|
55443
|
+
},
|
|
55444
|
+
void 0
|
|
54771
55445
|
),
|
|
54772
|
-
/* @__PURE__ */
|
|
55446
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54773
55447
|
"button",
|
|
54774
55448
|
{
|
|
54775
55449
|
onClick: () => loadData(),
|
|
@@ -54787,57 +55461,121 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54787
55461
|
transition: "color 0.2s"
|
|
54788
55462
|
},
|
|
54789
55463
|
title: "Refresh",
|
|
54790
|
-
children: /* @__PURE__ */
|
|
54791
|
-
|
|
55464
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(RefreshCw, { size: 16 }, void 0, false, {
|
|
55465
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55466
|
+
lineNumber: 724,
|
|
55467
|
+
columnNumber: 13
|
|
55468
|
+
}, void 0)
|
|
55469
|
+
},
|
|
55470
|
+
void 0,
|
|
55471
|
+
false,
|
|
55472
|
+
{
|
|
55473
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55474
|
+
lineNumber: 707,
|
|
55475
|
+
columnNumber: 11
|
|
55476
|
+
},
|
|
55477
|
+
void 0
|
|
54792
55478
|
)
|
|
54793
|
-
] }
|
|
54794
|
-
|
|
54795
|
-
|
|
55479
|
+
] }, void 0, true, {
|
|
55480
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55481
|
+
lineNumber: 687,
|
|
55482
|
+
columnNumber: 9
|
|
55483
|
+
}, void 0)
|
|
55484
|
+
] }, void 0, true, {
|
|
55485
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55486
|
+
lineNumber: 670,
|
|
55487
|
+
columnNumber: 7
|
|
55488
|
+
}, void 0),
|
|
55489
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54796
55490
|
display: "flex",
|
|
54797
55491
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
54798
55492
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
54799
55493
|
flexShrink: 0
|
|
54800
55494
|
}, children: [
|
|
54801
|
-
/* @__PURE__ */
|
|
55495
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54802
55496
|
"button",
|
|
54803
55497
|
{
|
|
54804
55498
|
onClick: () => handleTabChange("canvas"),
|
|
54805
55499
|
style: getTabStyle("canvas", state.activeTab === "canvas"),
|
|
54806
55500
|
children: [
|
|
54807
|
-
/* @__PURE__ */
|
|
54808
|
-
|
|
54809
|
-
|
|
55501
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(FileBraces, { size: 16 }, void 0, false, {
|
|
55502
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55503
|
+
lineNumber: 740,
|
|
55504
|
+
columnNumber: 11
|
|
55505
|
+
}, void 0),
|
|
55506
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Canvas" }, void 0, false, {
|
|
55507
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55508
|
+
lineNumber: 741,
|
|
55509
|
+
columnNumber: 11
|
|
55510
|
+
}, void 0),
|
|
55511
|
+
state.configs.length > 0 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
54810
55512
|
fontSize: theme.fontSizes[0],
|
|
54811
55513
|
color: state.activeTab === "canvas" ? theme.colors.primary : theme.colors.textMuted,
|
|
54812
55514
|
backgroundColor: state.activeTab === "canvas" ? `${theme.colors.primary}20` : theme.colors.background,
|
|
54813
55515
|
padding: `0 ${theme.space[1]}`,
|
|
54814
55516
|
borderRadius: theme.radii[1]
|
|
54815
|
-
}, children: state.configs.length }
|
|
55517
|
+
}, children: state.configs.length }, void 0, false, {
|
|
55518
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55519
|
+
lineNumber: 743,
|
|
55520
|
+
columnNumber: 13
|
|
55521
|
+
}, void 0)
|
|
54816
55522
|
]
|
|
54817
|
-
}
|
|
55523
|
+
},
|
|
55524
|
+
void 0,
|
|
55525
|
+
true,
|
|
55526
|
+
{
|
|
55527
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55528
|
+
lineNumber: 736,
|
|
55529
|
+
columnNumber: 9
|
|
55530
|
+
},
|
|
55531
|
+
void 0
|
|
54818
55532
|
),
|
|
54819
|
-
/* @__PURE__ */
|
|
55533
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54820
55534
|
"button",
|
|
54821
55535
|
{
|
|
54822
55536
|
onClick: () => handleTabChange("library"),
|
|
54823
55537
|
style: getTabStyle("library", state.activeTab === "library"),
|
|
54824
55538
|
disabled: !state.library,
|
|
54825
55539
|
children: [
|
|
54826
|
-
/* @__PURE__ */
|
|
54827
|
-
|
|
55540
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Library, { size: 16 }, void 0, false, {
|
|
55541
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55542
|
+
lineNumber: 759,
|
|
55543
|
+
columnNumber: 11
|
|
55544
|
+
}, void 0),
|
|
55545
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "Library" }, void 0, false, {
|
|
55546
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55547
|
+
lineNumber: 760,
|
|
55548
|
+
columnNumber: 11
|
|
55549
|
+
}, void 0)
|
|
54828
55550
|
]
|
|
54829
|
-
}
|
|
55551
|
+
},
|
|
55552
|
+
void 0,
|
|
55553
|
+
true,
|
|
55554
|
+
{
|
|
55555
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55556
|
+
lineNumber: 754,
|
|
55557
|
+
columnNumber: 9
|
|
55558
|
+
},
|
|
55559
|
+
void 0
|
|
54830
55560
|
)
|
|
54831
|
-
] }
|
|
54832
|
-
|
|
55561
|
+
] }, void 0, true, {
|
|
55562
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55563
|
+
lineNumber: 730,
|
|
55564
|
+
columnNumber: 7
|
|
55565
|
+
}, void 0),
|
|
55566
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54833
55567
|
flex: 1,
|
|
54834
55568
|
overflow: "auto"
|
|
54835
55569
|
}, children: [
|
|
54836
|
-
state.activeTab === "canvas" && /* @__PURE__ */
|
|
55570
|
+
state.activeTab === "canvas" && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: state.configs.length === 0 ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54837
55571
|
textAlign: "center",
|
|
54838
55572
|
padding: theme.space[4],
|
|
54839
55573
|
color: theme.colors.textMuted
|
|
54840
|
-
}, children: "No canvas files found" }
|
|
55574
|
+
}, children: "No canvas files found" }, void 0, false, {
|
|
55575
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55576
|
+
lineNumber: 773,
|
|
55577
|
+
columnNumber: 15
|
|
55578
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { display: "flex", flexDirection: "column", gap: theme.space[2] }, children: state.configs.map((config) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54841
55579
|
"button",
|
|
54842
55580
|
{
|
|
54843
55581
|
onClick: () => handleConfigSelect(config),
|
|
@@ -54858,19 +55596,46 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54858
55596
|
transition: "all 0.15s"
|
|
54859
55597
|
},
|
|
54860
55598
|
children: [
|
|
54861
|
-
/* @__PURE__ */
|
|
54862
|
-
|
|
54863
|
-
|
|
55599
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(FileBraces, { size: 16, style: { color: theme.colors.primary, flexShrink: 0 } }, void 0, false, {
|
|
55600
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55601
|
+
lineNumber: 807,
|
|
55602
|
+
columnNumber: 21
|
|
55603
|
+
}, void 0),
|
|
55604
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { flex: 1 }, children: config.displayName }, void 0, false, {
|
|
55605
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55606
|
+
lineNumber: 808,
|
|
55607
|
+
columnNumber: 21
|
|
55608
|
+
}, void 0),
|
|
55609
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ArrowRight, { size: 14, style: { color: theme.colors.textMuted, opacity: 0.5 } }, void 0, false, {
|
|
55610
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55611
|
+
lineNumber: 809,
|
|
55612
|
+
columnNumber: 21
|
|
55613
|
+
}, void 0)
|
|
54864
55614
|
]
|
|
54865
55615
|
},
|
|
54866
|
-
config.id
|
|
54867
|
-
|
|
54868
|
-
|
|
54869
|
-
|
|
55616
|
+
config.id,
|
|
55617
|
+
true,
|
|
55618
|
+
{
|
|
55619
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55620
|
+
lineNumber: 783,
|
|
55621
|
+
columnNumber: 19
|
|
55622
|
+
},
|
|
55623
|
+
void 0
|
|
55624
|
+
)) }, void 0, false, {
|
|
55625
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55626
|
+
lineNumber: 781,
|
|
55627
|
+
columnNumber: 15
|
|
55628
|
+
}, void 0) }, void 0, false, {
|
|
55629
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55630
|
+
lineNumber: 771,
|
|
55631
|
+
columnNumber: 11
|
|
55632
|
+
}, void 0),
|
|
55633
|
+
state.activeTab === "library" && state.library && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { padding: `${theme.space[3]}px ${theme.space[3]}px` }, children: [
|
|
55634
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54870
55635
|
position: "relative",
|
|
54871
55636
|
marginBottom: theme.space[3]
|
|
54872
55637
|
}, children: [
|
|
54873
|
-
/* @__PURE__ */
|
|
55638
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54874
55639
|
Search,
|
|
54875
55640
|
{
|
|
54876
55641
|
size: 16,
|
|
@@ -54882,9 +55647,17 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54882
55647
|
color: theme.colors.textMuted,
|
|
54883
55648
|
pointerEvents: "none"
|
|
54884
55649
|
}
|
|
54885
|
-
}
|
|
55650
|
+
},
|
|
55651
|
+
void 0,
|
|
55652
|
+
false,
|
|
55653
|
+
{
|
|
55654
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55655
|
+
lineNumber: 825,
|
|
55656
|
+
columnNumber: 15
|
|
55657
|
+
},
|
|
55658
|
+
void 0
|
|
54886
55659
|
),
|
|
54887
|
-
/* @__PURE__ */
|
|
55660
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54888
55661
|
"input",
|
|
54889
55662
|
{
|
|
54890
55663
|
type: "text",
|
|
@@ -54904,24 +55677,44 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54904
55677
|
outline: "none",
|
|
54905
55678
|
boxSizing: "border-box"
|
|
54906
55679
|
}
|
|
54907
|
-
}
|
|
55680
|
+
},
|
|
55681
|
+
void 0,
|
|
55682
|
+
false,
|
|
55683
|
+
{
|
|
55684
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55685
|
+
lineNumber: 836,
|
|
55686
|
+
columnNumber: 15
|
|
55687
|
+
},
|
|
55688
|
+
void 0
|
|
54908
55689
|
)
|
|
54909
|
-
] }
|
|
54910
|
-
|
|
54911
|
-
|
|
55690
|
+
] }, void 0, true, {
|
|
55691
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55692
|
+
lineNumber: 821,
|
|
55693
|
+
columnNumber: 13
|
|
55694
|
+
}, void 0),
|
|
55695
|
+
nodeComponents.length > 0 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { marginBottom: theme.space[3] }, children: [
|
|
55696
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54912
55697
|
marginBottom: theme.space[2]
|
|
54913
|
-
}, children: /* @__PURE__ */
|
|
55698
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
54914
55699
|
fontSize: theme.fontSizes[1],
|
|
54915
55700
|
fontWeight: theme.fontWeights.medium,
|
|
54916
55701
|
color: theme.colors.text
|
|
54917
|
-
}, children: "Node Components" }
|
|
54918
|
-
|
|
55702
|
+
}, children: "Node Components" }, void 0, false, {
|
|
55703
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55704
|
+
lineNumber: 863,
|
|
55705
|
+
columnNumber: 19
|
|
55706
|
+
}, void 0) }, void 0, false, {
|
|
55707
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55708
|
+
lineNumber: 860,
|
|
55709
|
+
columnNumber: 17
|
|
55710
|
+
}, void 0),
|
|
55711
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54919
55712
|
display: "flex",
|
|
54920
55713
|
flexDirection: "column",
|
|
54921
55714
|
gap: theme.space[2]
|
|
54922
55715
|
}, children: nodeComponents.map(([key, node]) => {
|
|
54923
55716
|
const ShapeIcon = getShapeIcon(node.shape);
|
|
54924
|
-
return /* @__PURE__ */
|
|
55717
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54925
55718
|
"div",
|
|
54926
55719
|
{
|
|
54927
55720
|
style: {
|
|
@@ -54934,45 +55727,88 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54934
55727
|
border: `1px solid ${theme.colors.border}`
|
|
54935
55728
|
},
|
|
54936
55729
|
children: [
|
|
54937
|
-
/* @__PURE__ */
|
|
55730
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54938
55731
|
ShapeIcon,
|
|
54939
55732
|
{
|
|
54940
55733
|
size: 16,
|
|
54941
55734
|
style: { color: node.color || theme.colors.textMuted, flexShrink: 0 }
|
|
54942
|
-
}
|
|
55735
|
+
},
|
|
55736
|
+
void 0,
|
|
55737
|
+
false,
|
|
55738
|
+
{
|
|
55739
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55740
|
+
lineNumber: 892,
|
|
55741
|
+
columnNumber: 25
|
|
55742
|
+
},
|
|
55743
|
+
void 0
|
|
54943
55744
|
),
|
|
54944
|
-
/* @__PURE__ */
|
|
54945
|
-
/* @__PURE__ */
|
|
55745
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
55746
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54946
55747
|
fontSize: theme.fontSizes[1],
|
|
54947
55748
|
color: theme.colors.text
|
|
54948
|
-
}, children: key }
|
|
54949
|
-
|
|
55749
|
+
}, children: key }, void 0, false, {
|
|
55750
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55751
|
+
lineNumber: 897,
|
|
55752
|
+
columnNumber: 27
|
|
55753
|
+
}, void 0),
|
|
55754
|
+
node.description && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54950
55755
|
fontSize: theme.fontSizes[0],
|
|
54951
55756
|
color: theme.colors.textMuted,
|
|
54952
55757
|
whiteSpace: "nowrap",
|
|
54953
55758
|
overflow: "hidden",
|
|
54954
55759
|
textOverflow: "ellipsis"
|
|
54955
|
-
}, children: node.description }
|
|
54956
|
-
|
|
55760
|
+
}, children: node.description }, void 0, false, {
|
|
55761
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55762
|
+
lineNumber: 904,
|
|
55763
|
+
columnNumber: 29
|
|
55764
|
+
}, void 0)
|
|
55765
|
+
] }, void 0, true, {
|
|
55766
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55767
|
+
lineNumber: 896,
|
|
55768
|
+
columnNumber: 25
|
|
55769
|
+
}, void 0)
|
|
54957
55770
|
]
|
|
54958
55771
|
},
|
|
54959
|
-
key
|
|
55772
|
+
key,
|
|
55773
|
+
true,
|
|
55774
|
+
{
|
|
55775
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55776
|
+
lineNumber: 880,
|
|
55777
|
+
columnNumber: 23
|
|
55778
|
+
},
|
|
55779
|
+
void 0
|
|
54960
55780
|
);
|
|
54961
|
-
}) }
|
|
54962
|
-
|
|
54963
|
-
|
|
54964
|
-
|
|
55781
|
+
}) }, void 0, false, {
|
|
55782
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55783
|
+
lineNumber: 872,
|
|
55784
|
+
columnNumber: 17
|
|
55785
|
+
}, void 0)
|
|
55786
|
+
] }, void 0, true, {
|
|
55787
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55788
|
+
lineNumber: 859,
|
|
55789
|
+
columnNumber: 15
|
|
55790
|
+
}, void 0),
|
|
55791
|
+
edgeComponents.length > 0 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { children: [
|
|
55792
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54965
55793
|
marginBottom: theme.space[2]
|
|
54966
|
-
}, children: /* @__PURE__ */
|
|
55794
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
54967
55795
|
fontSize: theme.fontSizes[1],
|
|
54968
55796
|
fontWeight: theme.fontWeights.medium,
|
|
54969
55797
|
color: theme.colors.text
|
|
54970
|
-
}, children: "Edge Components" }
|
|
54971
|
-
|
|
55798
|
+
}, children: "Edge Components" }, void 0, false, {
|
|
55799
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55800
|
+
lineNumber: 928,
|
|
55801
|
+
columnNumber: 19
|
|
55802
|
+
}, void 0) }, void 0, false, {
|
|
55803
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55804
|
+
lineNumber: 925,
|
|
55805
|
+
columnNumber: 17
|
|
55806
|
+
}, void 0),
|
|
55807
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54972
55808
|
display: "flex",
|
|
54973
55809
|
flexDirection: "column",
|
|
54974
55810
|
gap: theme.space[2]
|
|
54975
|
-
}, children: edgeComponents.map(([key, edge]) => /* @__PURE__ */
|
|
55811
|
+
}, children: edgeComponents.map(([key, edge]) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
54976
55812
|
"div",
|
|
54977
55813
|
{
|
|
54978
55814
|
style: {
|
|
@@ -54985,14 +55821,18 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
54985
55821
|
border: `1px solid ${theme.colors.border}`
|
|
54986
55822
|
},
|
|
54987
55823
|
children: [
|
|
54988
|
-
/* @__PURE__ */
|
|
55824
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54989
55825
|
width: "20px",
|
|
54990
55826
|
height: "2px",
|
|
54991
55827
|
backgroundColor: edge.color || theme.colors.textMuted,
|
|
54992
55828
|
flexShrink: 0
|
|
54993
|
-
} }
|
|
54994
|
-
|
|
54995
|
-
|
|
55829
|
+
} }, void 0, false, {
|
|
55830
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55831
|
+
lineNumber: 955,
|
|
55832
|
+
columnNumber: 23
|
|
55833
|
+
}, void 0),
|
|
55834
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
55835
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
54996
55836
|
display: "flex",
|
|
54997
55837
|
alignItems: "center",
|
|
54998
55838
|
gap: theme.space[1],
|
|
@@ -55000,33 +55840,88 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55000
55840
|
color: theme.colors.text
|
|
55001
55841
|
}, children: [
|
|
55002
55842
|
key,
|
|
55003
|
-
edge.directed && /* @__PURE__ */
|
|
55004
|
-
|
|
55005
|
-
|
|
55843
|
+
edge.directed && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ArrowRight, { size: 12, style: { color: theme.colors.textMuted } }, void 0, false, {
|
|
55844
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55845
|
+
lineNumber: 971,
|
|
55846
|
+
columnNumber: 29
|
|
55847
|
+
}, void 0)
|
|
55848
|
+
] }, void 0, true, {
|
|
55849
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55850
|
+
lineNumber: 962,
|
|
55851
|
+
columnNumber: 25
|
|
55852
|
+
}, void 0),
|
|
55853
|
+
edge.description && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55006
55854
|
fontSize: theme.fontSizes[0],
|
|
55007
55855
|
color: theme.colors.textMuted,
|
|
55008
55856
|
whiteSpace: "nowrap",
|
|
55009
55857
|
overflow: "hidden",
|
|
55010
55858
|
textOverflow: "ellipsis"
|
|
55011
|
-
}, children: edge.description }
|
|
55012
|
-
|
|
55859
|
+
}, children: edge.description }, void 0, false, {
|
|
55860
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55861
|
+
lineNumber: 975,
|
|
55862
|
+
columnNumber: 27
|
|
55863
|
+
}, void 0)
|
|
55864
|
+
] }, void 0, true, {
|
|
55865
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55866
|
+
lineNumber: 961,
|
|
55867
|
+
columnNumber: 23
|
|
55868
|
+
}, void 0)
|
|
55013
55869
|
]
|
|
55014
55870
|
},
|
|
55015
|
-
key
|
|
55016
|
-
|
|
55017
|
-
|
|
55018
|
-
|
|
55019
|
-
|
|
55871
|
+
key,
|
|
55872
|
+
true,
|
|
55873
|
+
{
|
|
55874
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55875
|
+
lineNumber: 943,
|
|
55876
|
+
columnNumber: 21
|
|
55877
|
+
},
|
|
55878
|
+
void 0
|
|
55879
|
+
)) }, void 0, false, {
|
|
55880
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55881
|
+
lineNumber: 937,
|
|
55882
|
+
columnNumber: 17
|
|
55883
|
+
}, void 0)
|
|
55884
|
+
] }, void 0, true, {
|
|
55885
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55886
|
+
lineNumber: 924,
|
|
55887
|
+
columnNumber: 15
|
|
55888
|
+
}, void 0)
|
|
55889
|
+
] }, void 0, true, {
|
|
55890
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55891
|
+
lineNumber: 819,
|
|
55892
|
+
columnNumber: 11
|
|
55893
|
+
}, void 0),
|
|
55894
|
+
state.activeTab === "library" && !state.library && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55020
55895
|
textAlign: "center",
|
|
55021
55896
|
padding: theme.space[4],
|
|
55022
55897
|
color: theme.colors.textMuted
|
|
55023
55898
|
}, children: [
|
|
55024
|
-
/* @__PURE__ */
|
|
55025
|
-
|
|
55026
|
-
|
|
55027
|
-
|
|
55028
|
-
|
|
55029
|
-
|
|
55899
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Library, { size: 32, style: { marginBottom: theme.space[2], opacity: 0.5 } }, void 0, false, {
|
|
55900
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55901
|
+
lineNumber: 1001,
|
|
55902
|
+
columnNumber: 13
|
|
55903
|
+
}, void 0),
|
|
55904
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { children: "No component library found" }, void 0, false, {
|
|
55905
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55906
|
+
lineNumber: 1002,
|
|
55907
|
+
columnNumber: 13
|
|
55908
|
+
}, void 0),
|
|
55909
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { fontSize: theme.fontSizes[0], marginTop: theme.space[1] }, children: "Add library.yaml to the .principal-views/ folder" }, void 0, false, {
|
|
55910
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55911
|
+
lineNumber: 1003,
|
|
55912
|
+
columnNumber: 13
|
|
55913
|
+
}, void 0)
|
|
55914
|
+
] }, void 0, true, {
|
|
55915
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55916
|
+
lineNumber: 996,
|
|
55917
|
+
columnNumber: 11
|
|
55918
|
+
}, void 0)
|
|
55919
|
+
] }, void 0, true, {
|
|
55920
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55921
|
+
lineNumber: 765,
|
|
55922
|
+
columnNumber: 7
|
|
55923
|
+
}, void 0),
|
|
55924
|
+
showSetupInfo && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55030
55925
|
position: "absolute",
|
|
55031
55926
|
top: 0,
|
|
55032
55927
|
left: 0,
|
|
@@ -55037,7 +55932,7 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55037
55932
|
flexDirection: "column",
|
|
55038
55933
|
zIndex: 10
|
|
55039
55934
|
}, children: [
|
|
55040
|
-
/* @__PURE__ */
|
|
55935
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55041
55936
|
padding: `${theme.space[3]}px ${theme.space[3]}px`,
|
|
55042
55937
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
55043
55938
|
display: "flex",
|
|
@@ -55045,13 +55940,17 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55045
55940
|
justifyContent: "space-between",
|
|
55046
55941
|
flexShrink: 0
|
|
55047
55942
|
}, children: [
|
|
55048
|
-
/* @__PURE__ */
|
|
55943
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h2", { style: {
|
|
55049
55944
|
margin: 0,
|
|
55050
55945
|
fontSize: theme.fontSizes[3],
|
|
55051
55946
|
fontWeight: theme.fontWeights.medium,
|
|
55052
55947
|
color: theme.colors.text
|
|
55053
|
-
}, children: "Setup" }
|
|
55054
|
-
|
|
55948
|
+
}, children: "Setup" }, void 0, false, {
|
|
55949
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55950
|
+
lineNumber: 1032,
|
|
55951
|
+
columnNumber: 13
|
|
55952
|
+
}, void 0),
|
|
55953
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55055
55954
|
"button",
|
|
55056
55955
|
{
|
|
55057
55956
|
onClick: () => setShowSetupInfo(false),
|
|
@@ -55069,11 +55968,27 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55069
55968
|
transition: "color 0.2s"
|
|
55070
55969
|
},
|
|
55071
55970
|
title: "Close",
|
|
55072
|
-
children: /* @__PURE__ */
|
|
55073
|
-
|
|
55971
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(X$1, { size: 16 }, void 0, false, {
|
|
55972
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55973
|
+
lineNumber: 1057,
|
|
55974
|
+
columnNumber: 15
|
|
55975
|
+
}, void 0)
|
|
55976
|
+
},
|
|
55977
|
+
void 0,
|
|
55978
|
+
false,
|
|
55979
|
+
{
|
|
55980
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55981
|
+
lineNumber: 1040,
|
|
55982
|
+
columnNumber: 13
|
|
55983
|
+
},
|
|
55984
|
+
void 0
|
|
55074
55985
|
)
|
|
55075
|
-
] }
|
|
55076
|
-
|
|
55986
|
+
] }, void 0, true, {
|
|
55987
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
55988
|
+
lineNumber: 1024,
|
|
55989
|
+
columnNumber: 11
|
|
55990
|
+
}, void 0),
|
|
55991
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55077
55992
|
flex: 1,
|
|
55078
55993
|
display: "flex",
|
|
55079
55994
|
flexDirection: "column",
|
|
@@ -55084,18 +55999,34 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55084
55999
|
textAlign: "center",
|
|
55085
56000
|
overflow: "auto"
|
|
55086
56001
|
}, children: [
|
|
55087
|
-
/* @__PURE__ */
|
|
55088
|
-
|
|
55089
|
-
|
|
55090
|
-
|
|
56002
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Network, { size: 56, style: { marginBottom: theme.space[3], opacity: 0.3 } }, void 0, false, {
|
|
56003
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56004
|
+
lineNumber: 1073,
|
|
56005
|
+
columnNumber: 13
|
|
56006
|
+
}, void 0),
|
|
56007
|
+
/* @__PURE__ */ jsxDevRuntimeExports.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, {
|
|
56008
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56009
|
+
lineNumber: 1074,
|
|
56010
|
+
columnNumber: 13
|
|
56011
|
+
}, void 0),
|
|
56012
|
+
/* @__PURE__ */ jsxDevRuntimeExports.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, {
|
|
56013
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56014
|
+
lineNumber: 1077,
|
|
56015
|
+
columnNumber: 13
|
|
56016
|
+
}, void 0),
|
|
56017
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55091
56018
|
display: "flex",
|
|
55092
56019
|
flexDirection: "column",
|
|
55093
56020
|
gap: theme.space[2],
|
|
55094
56021
|
width: "90%",
|
|
55095
56022
|
maxWidth: "400px"
|
|
55096
56023
|
}, children: [
|
|
55097
|
-
/* @__PURE__ */
|
|
55098
|
-
|
|
56024
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: "Run this command to get started:" }, void 0, false, {
|
|
56025
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56026
|
+
lineNumber: 1089,
|
|
56027
|
+
columnNumber: 15
|
|
56028
|
+
}, void 0),
|
|
56029
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55099
56030
|
"button",
|
|
55100
56031
|
{
|
|
55101
56032
|
onClick: handleCopyCommand,
|
|
@@ -55116,13 +56047,37 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55116
56047
|
transition: "all 0.15s"
|
|
55117
56048
|
},
|
|
55118
56049
|
children: [
|
|
55119
|
-
/* @__PURE__ */
|
|
55120
|
-
|
|
56050
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("code", { style: { flex: 1, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: cliCommand }, void 0, false, {
|
|
56051
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56052
|
+
lineNumber: 1111,
|
|
56053
|
+
columnNumber: 17
|
|
56054
|
+
}, void 0),
|
|
56055
|
+
copied ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Check, { size: 16, style: { color: theme.colors.success || "#22c55e", flexShrink: 0 } }, void 0, false, {
|
|
56056
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56057
|
+
lineNumber: 1115,
|
|
56058
|
+
columnNumber: 19
|
|
56059
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Copy, { size: 16, style: { color: theme.colors.textMuted, flexShrink: 0 } }, void 0, false, {
|
|
56060
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56061
|
+
lineNumber: 1117,
|
|
56062
|
+
columnNumber: 19
|
|
56063
|
+
}, void 0)
|
|
55121
56064
|
]
|
|
55122
|
-
}
|
|
56065
|
+
},
|
|
56066
|
+
void 0,
|
|
56067
|
+
true,
|
|
56068
|
+
{
|
|
56069
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56070
|
+
lineNumber: 1092,
|
|
56071
|
+
columnNumber: 15
|
|
56072
|
+
},
|
|
56073
|
+
void 0
|
|
55123
56074
|
),
|
|
55124
|
-
/* @__PURE__ */
|
|
55125
|
-
|
|
56075
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { fontSize: theme.fontSizes[1], color: theme.colors.textMuted }, children: cliCommandDescription }, void 0, false, {
|
|
56076
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56077
|
+
lineNumber: 1120,
|
|
56078
|
+
columnNumber: 15
|
|
56079
|
+
}, void 0),
|
|
56080
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55126
56081
|
"a",
|
|
55127
56082
|
{
|
|
55128
56083
|
href: "https://www.npmjs.com/package/@principal-ai/principal-view-cli",
|
|
@@ -55141,14 +56096,42 @@ const ConfigLibraryBrowserPanel = ({
|
|
|
55141
56096
|
},
|
|
55142
56097
|
children: [
|
|
55143
56098
|
"Learn more on npm",
|
|
55144
|
-
/* @__PURE__ */
|
|
56099
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExternalLink, { size: 14 }, void 0, false, {
|
|
56100
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56101
|
+
lineNumber: 1142,
|
|
56102
|
+
columnNumber: 17
|
|
56103
|
+
}, void 0)
|
|
55145
56104
|
]
|
|
55146
|
-
}
|
|
56105
|
+
},
|
|
56106
|
+
void 0,
|
|
56107
|
+
true,
|
|
56108
|
+
{
|
|
56109
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56110
|
+
lineNumber: 1125,
|
|
56111
|
+
columnNumber: 15
|
|
56112
|
+
},
|
|
56113
|
+
void 0
|
|
55147
56114
|
)
|
|
55148
|
-
] }
|
|
55149
|
-
|
|
55150
|
-
|
|
55151
|
-
|
|
56115
|
+
] }, void 0, true, {
|
|
56116
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56117
|
+
lineNumber: 1082,
|
|
56118
|
+
columnNumber: 13
|
|
56119
|
+
}, void 0)
|
|
56120
|
+
] }, void 0, true, {
|
|
56121
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56122
|
+
lineNumber: 1062,
|
|
56123
|
+
columnNumber: 11
|
|
56124
|
+
}, void 0)
|
|
56125
|
+
] }, void 0, true, {
|
|
56126
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56127
|
+
lineNumber: 1012,
|
|
56128
|
+
columnNumber: 9
|
|
56129
|
+
}, void 0)
|
|
56130
|
+
] }, void 0, true, {
|
|
56131
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/ConfigLibraryBrowserPanel.tsx",
|
|
56132
|
+
lineNumber: 659,
|
|
56133
|
+
columnNumber: 5
|
|
56134
|
+
}, void 0);
|
|
55152
56135
|
};
|
|
55153
56136
|
ConfigLibraryBrowserPanel.displayName = "ConfigLibraryBrowserPanel";
|
|
55154
56137
|
const focusNodeTool = {
|
|
@@ -55437,7 +56420,7 @@ const EventControllerPanel = ({
|
|
|
55437
56420
|
return theme.colors.textMuted;
|
|
55438
56421
|
}
|
|
55439
56422
|
};
|
|
55440
|
-
return /* @__PURE__ */
|
|
56423
|
+
return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55441
56424
|
height: "100%",
|
|
55442
56425
|
width: "100%",
|
|
55443
56426
|
backgroundColor: theme.colors.background,
|
|
@@ -55451,32 +56434,44 @@ const EventControllerPanel = ({
|
|
|
55451
56434
|
overflow: "hidden",
|
|
55452
56435
|
boxSizing: "border-box"
|
|
55453
56436
|
}, children: [
|
|
55454
|
-
/* @__PURE__ */
|
|
56437
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55455
56438
|
display: "flex",
|
|
55456
56439
|
justifyContent: "space-between",
|
|
55457
56440
|
alignItems: "center",
|
|
55458
56441
|
borderBottom: `1px solid ${theme.colors.border}`,
|
|
55459
56442
|
paddingBottom: theme.space[3]
|
|
55460
56443
|
}, children: [
|
|
55461
|
-
/* @__PURE__ */
|
|
56444
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("h3", { style: {
|
|
55462
56445
|
margin: 0,
|
|
55463
56446
|
fontSize: theme.fontSizes[2],
|
|
55464
56447
|
fontWeight: theme.fontWeights.medium,
|
|
55465
56448
|
color: theme.colors.text
|
|
55466
|
-
}, children: "Event Controller" }
|
|
55467
|
-
|
|
56449
|
+
}, children: "Event Controller" }, void 0, false, {
|
|
56450
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56451
|
+
lineNumber: 301,
|
|
56452
|
+
columnNumber: 9
|
|
56453
|
+
}, void 0),
|
|
56454
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.textMuted, fontSize: theme.fontSizes[1] }, children: [
|
|
55468
56455
|
events.length,
|
|
55469
56456
|
" events"
|
|
55470
|
-
] }
|
|
55471
|
-
|
|
55472
|
-
|
|
56457
|
+
] }, void 0, true, {
|
|
56458
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56459
|
+
lineNumber: 309,
|
|
56460
|
+
columnNumber: 9
|
|
56461
|
+
}, void 0)
|
|
56462
|
+
] }, void 0, true, {
|
|
56463
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56464
|
+
lineNumber: 294,
|
|
56465
|
+
columnNumber: 7
|
|
56466
|
+
}, void 0),
|
|
56467
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55473
56468
|
display: "flex",
|
|
55474
56469
|
justifyContent: "center",
|
|
55475
56470
|
alignItems: "center",
|
|
55476
56471
|
gap: theme.space[2],
|
|
55477
56472
|
padding: `${theme.space[2]} 0`
|
|
55478
56473
|
}, children: [
|
|
55479
|
-
/* @__PURE__ */
|
|
56474
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55480
56475
|
"button",
|
|
55481
56476
|
{
|
|
55482
56477
|
onClick: stepPrevious,
|
|
@@ -55496,10 +56491,22 @@ const EventControllerPanel = ({
|
|
|
55496
56491
|
transition: "all 0.2s"
|
|
55497
56492
|
},
|
|
55498
56493
|
title: "Step Back",
|
|
55499
|
-
children: /* @__PURE__ */
|
|
55500
|
-
|
|
56494
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(SkipBack, { size: 16 }, void 0, false, {
|
|
56495
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56496
|
+
lineNumber: 342,
|
|
56497
|
+
columnNumber: 11
|
|
56498
|
+
}, void 0)
|
|
56499
|
+
},
|
|
56500
|
+
void 0,
|
|
56501
|
+
false,
|
|
56502
|
+
{
|
|
56503
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56504
|
+
lineNumber: 323,
|
|
56505
|
+
columnNumber: 9
|
|
56506
|
+
},
|
|
56507
|
+
void 0
|
|
55501
56508
|
),
|
|
55502
|
-
/* @__PURE__ */
|
|
56509
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55503
56510
|
"button",
|
|
55504
56511
|
{
|
|
55505
56512
|
onClick: handleStop,
|
|
@@ -55517,10 +56524,22 @@ const EventControllerPanel = ({
|
|
|
55517
56524
|
transition: "all 0.2s"
|
|
55518
56525
|
},
|
|
55519
56526
|
title: "Stop",
|
|
55520
|
-
children: /* @__PURE__ */
|
|
55521
|
-
|
|
56527
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Square, { size: 16 }, void 0, false, {
|
|
56528
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56529
|
+
lineNumber: 363,
|
|
56530
|
+
columnNumber: 11
|
|
56531
|
+
}, void 0)
|
|
56532
|
+
},
|
|
56533
|
+
void 0,
|
|
56534
|
+
false,
|
|
56535
|
+
{
|
|
56536
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56537
|
+
lineNumber: 346,
|
|
56538
|
+
columnNumber: 9
|
|
56539
|
+
},
|
|
56540
|
+
void 0
|
|
55522
56541
|
),
|
|
55523
|
-
/* @__PURE__ */
|
|
56542
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55524
56543
|
"button",
|
|
55525
56544
|
{
|
|
55526
56545
|
onClick: status === "playing" ? handlePause : handlePlay,
|
|
@@ -55540,10 +56559,26 @@ const EventControllerPanel = ({
|
|
|
55540
56559
|
transition: "all 0.2s"
|
|
55541
56560
|
},
|
|
55542
56561
|
title: status === "playing" ? "Pause" : "Play",
|
|
55543
|
-
children: status === "playing" ? /* @__PURE__ */
|
|
55544
|
-
|
|
56562
|
+
children: status === "playing" ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Pause, { size: 20 }, void 0, false, {
|
|
56563
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56564
|
+
lineNumber: 390,
|
|
56565
|
+
columnNumber: 35
|
|
56566
|
+
}, void 0) : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Play, { size: 20 }, void 0, false, {
|
|
56567
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56568
|
+
lineNumber: 390,
|
|
56569
|
+
columnNumber: 57
|
|
56570
|
+
}, void 0)
|
|
56571
|
+
},
|
|
56572
|
+
void 0,
|
|
56573
|
+
false,
|
|
56574
|
+
{
|
|
56575
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56576
|
+
lineNumber: 367,
|
|
56577
|
+
columnNumber: 9
|
|
56578
|
+
},
|
|
56579
|
+
void 0
|
|
55545
56580
|
),
|
|
55546
|
-
/* @__PURE__ */
|
|
56581
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55547
56582
|
"button",
|
|
55548
56583
|
{
|
|
55549
56584
|
onClick: stepNext,
|
|
@@ -55563,10 +56598,22 @@ const EventControllerPanel = ({
|
|
|
55563
56598
|
transition: "all 0.2s"
|
|
55564
56599
|
},
|
|
55565
56600
|
title: "Step Forward",
|
|
55566
|
-
children: /* @__PURE__ */
|
|
55567
|
-
|
|
56601
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(SkipForward, { size: 16 }, void 0, false, {
|
|
56602
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56603
|
+
lineNumber: 413,
|
|
56604
|
+
columnNumber: 11
|
|
56605
|
+
}, void 0)
|
|
56606
|
+
},
|
|
56607
|
+
void 0,
|
|
56608
|
+
false,
|
|
56609
|
+
{
|
|
56610
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56611
|
+
lineNumber: 394,
|
|
56612
|
+
columnNumber: 9
|
|
56613
|
+
},
|
|
56614
|
+
void 0
|
|
55568
56615
|
),
|
|
55569
|
-
/* @__PURE__ */
|
|
56616
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55570
56617
|
"button",
|
|
55571
56618
|
{
|
|
55572
56619
|
onClick: handleStop,
|
|
@@ -55584,29 +56631,57 @@ const EventControllerPanel = ({
|
|
|
55584
56631
|
transition: "all 0.2s"
|
|
55585
56632
|
},
|
|
55586
56633
|
title: "Reset",
|
|
55587
|
-
children: /* @__PURE__ */
|
|
55588
|
-
|
|
56634
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(RotateCcw, { size: 16 }, void 0, false, {
|
|
56635
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56636
|
+
lineNumber: 434,
|
|
56637
|
+
columnNumber: 11
|
|
56638
|
+
}, void 0)
|
|
56639
|
+
},
|
|
56640
|
+
void 0,
|
|
56641
|
+
false,
|
|
56642
|
+
{
|
|
56643
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56644
|
+
lineNumber: 417,
|
|
56645
|
+
columnNumber: 9
|
|
56646
|
+
},
|
|
56647
|
+
void 0
|
|
55589
56648
|
)
|
|
55590
|
-
] }
|
|
55591
|
-
|
|
55592
|
-
|
|
56649
|
+
] }, void 0, true, {
|
|
56650
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56651
|
+
lineNumber: 315,
|
|
56652
|
+
columnNumber: 7
|
|
56653
|
+
}, void 0),
|
|
56654
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { padding: `0 ${theme.space[1]}` }, children: [
|
|
56655
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55593
56656
|
display: "flex",
|
|
55594
56657
|
justifyContent: "space-between",
|
|
55595
56658
|
marginBottom: theme.space[1],
|
|
55596
56659
|
fontSize: theme.fontSizes[0],
|
|
55597
56660
|
color: theme.colors.textMuted
|
|
55598
56661
|
}, children: [
|
|
55599
|
-
/* @__PURE__ */
|
|
56662
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: [
|
|
55600
56663
|
currentIndex + 1,
|
|
55601
56664
|
" / ",
|
|
55602
56665
|
events.length
|
|
55603
|
-
] }
|
|
55604
|
-
|
|
56666
|
+
] }, void 0, true, {
|
|
56667
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56668
|
+
lineNumber: 447,
|
|
56669
|
+
columnNumber: 11
|
|
56670
|
+
}, void 0),
|
|
56671
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: [
|
|
55605
56672
|
speed,
|
|
55606
56673
|
"x"
|
|
55607
|
-
] }
|
|
55608
|
-
|
|
55609
|
-
|
|
56674
|
+
] }, void 0, true, {
|
|
56675
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56676
|
+
lineNumber: 448,
|
|
56677
|
+
columnNumber: 11
|
|
56678
|
+
}, void 0)
|
|
56679
|
+
] }, void 0, true, {
|
|
56680
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56681
|
+
lineNumber: 440,
|
|
56682
|
+
columnNumber: 9
|
|
56683
|
+
}, void 0),
|
|
56684
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55610
56685
|
"input",
|
|
55611
56686
|
{
|
|
55612
56687
|
type: "range",
|
|
@@ -55620,14 +56695,26 @@ const EventControllerPanel = ({
|
|
|
55620
56695
|
cursor: "pointer",
|
|
55621
56696
|
accentColor: theme.colors.primary
|
|
55622
56697
|
}
|
|
55623
|
-
}
|
|
56698
|
+
},
|
|
56699
|
+
void 0,
|
|
56700
|
+
false,
|
|
56701
|
+
{
|
|
56702
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56703
|
+
lineNumber: 450,
|
|
56704
|
+
columnNumber: 9
|
|
56705
|
+
},
|
|
56706
|
+
void 0
|
|
55624
56707
|
)
|
|
55625
|
-
] }
|
|
55626
|
-
|
|
56708
|
+
] }, void 0, true, {
|
|
56709
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56710
|
+
lineNumber: 439,
|
|
56711
|
+
columnNumber: 7
|
|
56712
|
+
}, void 0),
|
|
56713
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55627
56714
|
display: "flex",
|
|
55628
56715
|
justifyContent: "center",
|
|
55629
56716
|
gap: theme.space[1]
|
|
55630
|
-
}, children: SPEED_OPTIONS.map((s) => /* @__PURE__ */
|
|
56717
|
+
}, children: SPEED_OPTIONS.map((s) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55631
56718
|
"button",
|
|
55632
56719
|
{
|
|
55633
56720
|
onClick: () => setSpeed(s),
|
|
@@ -55647,9 +56734,20 @@ const EventControllerPanel = ({
|
|
|
55647
56734
|
"x"
|
|
55648
56735
|
]
|
|
55649
56736
|
},
|
|
55650
|
-
s
|
|
55651
|
-
|
|
55652
|
-
|
|
56737
|
+
s,
|
|
56738
|
+
true,
|
|
56739
|
+
{
|
|
56740
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56741
|
+
lineNumber: 472,
|
|
56742
|
+
columnNumber: 11
|
|
56743
|
+
},
|
|
56744
|
+
void 0
|
|
56745
|
+
)) }, void 0, false, {
|
|
56746
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56747
|
+
lineNumber: 466,
|
|
56748
|
+
columnNumber: 7
|
|
56749
|
+
}, void 0),
|
|
56750
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55653
56751
|
display: "flex",
|
|
55654
56752
|
alignItems: "center",
|
|
55655
56753
|
gap: theme.space[2],
|
|
@@ -55658,24 +56756,40 @@ const EventControllerPanel = ({
|
|
|
55658
56756
|
borderRadius: theme.radii[1],
|
|
55659
56757
|
border: `1px solid ${theme.colors.border}`
|
|
55660
56758
|
}, children: [
|
|
55661
|
-
/* @__PURE__ */
|
|
56759
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55662
56760
|
width: "8px",
|
|
55663
56761
|
height: "8px",
|
|
55664
56762
|
borderRadius: "50%",
|
|
55665
56763
|
backgroundColor: getStatusColor()
|
|
55666
|
-
} }
|
|
55667
|
-
|
|
56764
|
+
} }, void 0, false, {
|
|
56765
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56766
|
+
lineNumber: 502,
|
|
56767
|
+
columnNumber: 9
|
|
56768
|
+
}, void 0),
|
|
56769
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
55668
56770
|
textTransform: "capitalize",
|
|
55669
56771
|
fontSize: theme.fontSizes[1],
|
|
55670
56772
|
color: theme.colors.text
|
|
55671
|
-
}, children: status }
|
|
55672
|
-
|
|
56773
|
+
}, children: status }, void 0, false, {
|
|
56774
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56775
|
+
lineNumber: 508,
|
|
56776
|
+
columnNumber: 9
|
|
56777
|
+
}, void 0),
|
|
56778
|
+
status === "playing" && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: { color: theme.colors.textMuted, fontSize: theme.fontSizes[0] }, children: [
|
|
55673
56779
|
"@ ",
|
|
55674
56780
|
speed,
|
|
55675
56781
|
"x speed"
|
|
55676
|
-
] }
|
|
55677
|
-
|
|
55678
|
-
|
|
56782
|
+
] }, void 0, true, {
|
|
56783
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56784
|
+
lineNumber: 516,
|
|
56785
|
+
columnNumber: 11
|
|
56786
|
+
}, void 0)
|
|
56787
|
+
] }, void 0, true, {
|
|
56788
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56789
|
+
lineNumber: 493,
|
|
56790
|
+
columnNumber: 7
|
|
56791
|
+
}, void 0),
|
|
56792
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55679
56793
|
flex: 1,
|
|
55680
56794
|
overflow: "auto",
|
|
55681
56795
|
backgroundColor: theme.colors.backgroundSecondary,
|
|
@@ -55683,12 +56797,16 @@ const EventControllerPanel = ({
|
|
|
55683
56797
|
border: `1px solid ${theme.colors.border}`,
|
|
55684
56798
|
minHeight: 0
|
|
55685
56799
|
// Allow shrinking in flex container
|
|
55686
|
-
}, children: /* @__PURE__ */
|
|
56800
|
+
}, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: { padding: theme.space[2] }, children: events.length === 0 ? /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55687
56801
|
color: theme.colors.textMuted,
|
|
55688
56802
|
textAlign: "center",
|
|
55689
56803
|
padding: theme.space[5],
|
|
55690
56804
|
fontSize: theme.fontSizes[1]
|
|
55691
|
-
}, children: "No events loaded" }
|
|
56805
|
+
}, children: "No events loaded" }, void 0, false, {
|
|
56806
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56807
|
+
lineNumber: 533,
|
|
56808
|
+
columnNumber: 13
|
|
56809
|
+
}, void 0) : events.map((event, index2) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
55692
56810
|
"div",
|
|
55693
56811
|
{
|
|
55694
56812
|
onClick: () => handleSeek(index2),
|
|
@@ -55702,34 +56820,69 @@ const EventControllerPanel = ({
|
|
|
55702
56820
|
transition: "background-color 0.15s"
|
|
55703
56821
|
},
|
|
55704
56822
|
children: [
|
|
55705
|
-
/* @__PURE__ */
|
|
56823
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55706
56824
|
display: "flex",
|
|
55707
56825
|
justifyContent: "space-between",
|
|
55708
56826
|
alignItems: "center"
|
|
55709
56827
|
}, children: [
|
|
55710
|
-
/* @__PURE__ */
|
|
56828
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
55711
56829
|
fontFamily: theme.fonts.monospace,
|
|
55712
56830
|
fontSize: theme.fontSizes[0],
|
|
55713
56831
|
color: index2 === currentIndex ? "white" : index2 <= currentIndex ? theme.colors.primary : theme.colors.textMuted
|
|
55714
|
-
}, children: getEventTypeDisplay(event) }
|
|
55715
|
-
|
|
56832
|
+
}, children: getEventTypeDisplay(event) }, void 0, false, {
|
|
56833
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56834
|
+
lineNumber: 567,
|
|
56835
|
+
columnNumber: 19
|
|
56836
|
+
}, void 0),
|
|
56837
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { style: {
|
|
55716
56838
|
fontSize: theme.fontSizes[0],
|
|
55717
56839
|
color: index2 === currentIndex ? "rgba(255,255,255,0.7)" : theme.colors.textMuted
|
|
55718
56840
|
}, children: [
|
|
55719
56841
|
"#",
|
|
55720
56842
|
index2 + 1
|
|
55721
|
-
] }
|
|
55722
|
-
|
|
55723
|
-
|
|
56843
|
+
] }, void 0, true, {
|
|
56844
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56845
|
+
lineNumber: 578,
|
|
56846
|
+
columnNumber: 19
|
|
56847
|
+
}, void 0)
|
|
56848
|
+
] }, void 0, true, {
|
|
56849
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56850
|
+
lineNumber: 562,
|
|
56851
|
+
columnNumber: 17
|
|
56852
|
+
}, void 0),
|
|
56853
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { style: {
|
|
55724
56854
|
fontSize: theme.fontSizes[0],
|
|
55725
56855
|
color: index2 === currentIndex ? "rgba(255,255,255,0.8)" : index2 <= currentIndex ? theme.colors.textSecondary : theme.colors.textMuted,
|
|
55726
56856
|
marginTop: theme.space[1]
|
|
55727
|
-
}, children: getEventTargetDisplay(event) }
|
|
56857
|
+
}, children: getEventTargetDisplay(event) }, void 0, false, {
|
|
56858
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56859
|
+
lineNumber: 585,
|
|
56860
|
+
columnNumber: 17
|
|
56861
|
+
}, void 0)
|
|
55728
56862
|
]
|
|
55729
56863
|
},
|
|
55730
|
-
event.id
|
|
55731
|
-
|
|
55732
|
-
|
|
56864
|
+
event.id,
|
|
56865
|
+
true,
|
|
56866
|
+
{
|
|
56867
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56868
|
+
lineNumber: 543,
|
|
56869
|
+
columnNumber: 15
|
|
56870
|
+
},
|
|
56871
|
+
void 0
|
|
56872
|
+
)) }, void 0, false, {
|
|
56873
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56874
|
+
lineNumber: 531,
|
|
56875
|
+
columnNumber: 9
|
|
56876
|
+
}, void 0) }, void 0, false, {
|
|
56877
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56878
|
+
lineNumber: 523,
|
|
56879
|
+
columnNumber: 7
|
|
56880
|
+
}, void 0)
|
|
56881
|
+
] }, void 0, true, {
|
|
56882
|
+
fileName: "/Users/griever/Developer/visual-validation/industry-themed-principal-view-panels/src/panels/EventControllerPanel.tsx",
|
|
56883
|
+
lineNumber: 279,
|
|
56884
|
+
columnNumber: 5
|
|
56885
|
+
}, void 0);
|
|
55733
56886
|
};
|
|
55734
56887
|
EventControllerPanel.displayName = "EventControllerPanel";
|
|
55735
56888
|
const panels = [
|