@uipath/apollo-react 3.70.2 → 3.70.3-pr482.0700da2
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/canvas/components/AddNodePanel/AddNodePreview.cjs +9 -9
- package/dist/canvas/components/AddNodePanel/AddNodePreview.d.ts.map +1 -1
- package/dist/canvas/components/AddNodePanel/AddNodePreview.js +9 -9
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.cjs +40 -39
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.js +41 -40
- package/dist/canvas/components/AgentCanvas/components/TimelinePlayer.cjs +13 -9
- package/dist/canvas/components/AgentCanvas/components/TimelinePlayer.js +14 -10
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.cjs +5 -5
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.js +5 -5
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.cjs +22 -26
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.js +22 -26
- package/dist/canvas/components/BaseCanvas/CanvasProviders.cjs +15 -7
- package/dist/canvas/components/BaseCanvas/CanvasProviders.d.ts.map +1 -1
- package/dist/canvas/components/BaseCanvas/CanvasProviders.js +15 -7
- package/dist/canvas/components/BaseNode/BaseNode.cjs +5 -6
- package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.js +6 -7
- package/dist/canvas/components/BaseNode/BaseNode.styles.cjs +12 -7
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.styles.js +12 -7
- package/dist/canvas/components/BaseNode/NodeLabel.cjs +2 -2
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.js +2 -2
- package/dist/canvas/components/BlankCanvasNode/BlankCanvasNode.cjs +6 -6
- package/dist/canvas/components/BlankCanvasNode/BlankCanvasNode.js +4 -4
- package/dist/canvas/components/ButtonHandle/ButtonHandle.cjs +9 -11
- package/dist/canvas/components/ButtonHandle/ButtonHandle.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/ButtonHandle.js +9 -11
- package/dist/canvas/components/ButtonHandle/SmartHandle.cjs +6 -9
- package/dist/canvas/components/ButtonHandle/SmartHandle.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/SmartHandle.js +6 -9
- package/dist/canvas/components/CanvasPositionControls.cjs +33 -34
- package/dist/canvas/components/CanvasPositionControls.d.ts.map +1 -1
- package/dist/canvas/components/CanvasPositionControls.js +33 -24
- package/dist/canvas/components/CanvasTooltip.cjs +138 -0
- package/dist/canvas/components/CanvasTooltip.d.ts +14 -0
- package/dist/canvas/components/CanvasTooltip.d.ts.map +1 -0
- package/dist/canvas/components/CanvasTooltip.js +91 -0
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.cjs +41 -48
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.d.ts.map +1 -1
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.js +42 -49
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.cjs +35 -32
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.d.ts.map +1 -1
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.js +35 -32
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.cjs +12 -9
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.d.ts.map +1 -1
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.js +12 -9
- package/dist/canvas/components/GroupNode/GroupNode.cjs +10 -12
- package/dist/canvas/components/GroupNode/GroupNode.d.ts.map +1 -1
- package/dist/canvas/components/GroupNode/GroupNode.js +10 -12
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.cjs +11 -8
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.d.ts.map +1 -1
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.js +9 -6
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.cjs +79 -66
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.d.ts.map +1 -1
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.js +77 -64
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.cjs +14 -82
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.d.ts +1 -2
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.d.ts.map +1 -1
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.js +16 -84
- package/dist/canvas/components/NodeInspector.cjs +64 -68
- package/dist/canvas/components/NodeInspector.d.ts.map +1 -1
- package/dist/canvas/components/NodeInspector.js +64 -68
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.cjs +9 -5
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.d.ts.map +1 -1
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.js +9 -5
- package/dist/canvas/components/StageNode/AdhocTask.cjs +1 -9
- package/dist/canvas/components/StageNode/AdhocTask.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/AdhocTask.js +2 -10
- package/dist/canvas/components/StageNode/DraggableTask.cjs +5 -13
- package/dist/canvas/components/StageNode/DraggableTask.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/DraggableTask.js +4 -12
- package/dist/canvas/components/StageNode/StageNode.cjs +42 -41
- package/dist/canvas/components/StageNode/StageNode.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.js +43 -42
- package/dist/canvas/components/StageNode/StageNode.stories.utils.cjs +13 -1
- package/dist/canvas/components/StageNode/StageNode.stories.utils.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.stories.utils.js +13 -1
- package/dist/canvas/components/StageNode/TaskContent.cjs +36 -35
- package/dist/canvas/components/StageNode/TaskContent.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskContent.js +37 -36
- package/dist/canvas/components/StageNode/TaskMenu.cjs +19 -99
- package/dist/canvas/components/StageNode/TaskMenu.d.ts +0 -2
- package/dist/canvas/components/StageNode/TaskMenu.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskMenu.js +21 -91
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.cjs +17 -17
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.d.ts.map +1 -1
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.js +12 -12
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.cjs +2 -2
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.js +3 -3
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.cjs +16 -14
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.d.ts.map +1 -1
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.js +13 -11
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.cjs +6 -6
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.d.ts.map +1 -1
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.js +6 -6
- package/dist/canvas/components/Toolbox/Header.cjs +11 -10
- package/dist/canvas/components/Toolbox/Header.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/Header.js +11 -10
- package/dist/canvas/components/Toolbox/ListView.cjs +22 -34
- package/dist/canvas/components/Toolbox/ListView.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/ListView.js +23 -35
- package/dist/canvas/components/Toolbox/SearchBox.cjs +7 -7
- package/dist/canvas/components/Toolbox/SearchBox.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/SearchBox.js +7 -7
- package/dist/canvas/components/TriggerNode/TriggerNode.cjs +5 -10
- package/dist/canvas/components/TriggerNode/TriggerNode.d.ts.map +1 -1
- package/dist/canvas/components/TriggerNode/TriggerNode.js +5 -10
- package/dist/canvas/components/shared/CanvasDropdownMenu.cjs +80 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.d.ts +13 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.d.ts.map +1 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.js +46 -0
- package/dist/canvas/constants.cjs +4 -0
- package/dist/canvas/constants.d.ts +1 -0
- package/dist/canvas/constants.d.ts.map +1 -1
- package/dist/canvas/constants.js +2 -1
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.cjs +12 -23
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.js +9 -20
- package/dist/canvas/index.cjs +39 -35
- package/dist/canvas/index.d.ts +1 -0
- package/dist/canvas/index.d.ts.map +1 -1
- package/dist/canvas/index.js +1 -0
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.cjs +13 -11
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.js +13 -11
- package/dist/canvas/storybook-utils/decorators.cjs +7 -1
- package/dist/canvas/storybook-utils/decorators.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/decorators.js +7 -1
- package/dist/canvas/styles/tailwind.canvas.css +2 -0
- package/dist/canvas/utils/adornment-resolver.cjs +11 -12
- package/dist/canvas/utils/adornment-resolver.d.ts.map +1 -1
- package/dist/canvas/utils/adornment-resolver.js +12 -13
- package/dist/canvas/utils/icon-registry.cjs +6 -2
- package/dist/canvas/utils/icon-registry.d.ts +3 -2
- package/dist/canvas/utils/icon-registry.d.ts.map +1 -1
- package/dist/canvas/utils/icon-registry.js +3 -2
- package/package.json +4 -2
|
@@ -27,10 +27,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
NodeInspector: ()=>NodeInspector
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
const apollo_core_namespaceObject = require("@uipath/apollo-core");
|
|
31
30
|
const index_cjs_namespaceObject = require("../layouts/index.cjs");
|
|
32
31
|
const react_cjs_namespaceObject = require("../xyflow/react.cjs");
|
|
33
|
-
const external_material_index_cjs_namespaceObject = require("../../material/index.cjs");
|
|
34
32
|
const external_FloatingCanvasPanel_index_cjs_namespaceObject = require("./FloatingCanvasPanel/index.cjs");
|
|
35
33
|
function safeStringify(obj, indent = 2) {
|
|
36
34
|
const seen = new WeakSet();
|
|
@@ -59,12 +57,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
59
57
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
60
58
|
gap: 4,
|
|
61
59
|
children: [
|
|
62
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
63
|
-
|
|
60
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
61
|
+
className: "text-sm font-mono",
|
|
64
62
|
children: "ID:"
|
|
65
63
|
}),
|
|
66
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
67
|
-
|
|
64
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
65
|
+
className: "text-sm font-mono font-bold",
|
|
68
66
|
children: id
|
|
69
67
|
})
|
|
70
68
|
]
|
|
@@ -72,12 +70,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
72
70
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
73
71
|
gap: 4,
|
|
74
72
|
children: [
|
|
75
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
76
|
-
|
|
73
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
74
|
+
className: "text-sm font-mono",
|
|
77
75
|
children: "Type:"
|
|
78
76
|
}),
|
|
79
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
80
|
-
|
|
77
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
78
|
+
className: "text-sm font-mono font-bold",
|
|
81
79
|
children: type || 'default'
|
|
82
80
|
})
|
|
83
81
|
]
|
|
@@ -85,12 +83,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
85
83
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
86
84
|
gap: 4,
|
|
87
85
|
children: [
|
|
88
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
89
|
-
|
|
86
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
87
|
+
className: "text-sm font-mono",
|
|
90
88
|
children: "Selected:"
|
|
91
89
|
}),
|
|
92
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
93
|
-
|
|
90
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
91
|
+
className: "text-sm font-mono font-bold",
|
|
94
92
|
children: selected ? 'Yes' : 'No'
|
|
95
93
|
})
|
|
96
94
|
]
|
|
@@ -98,12 +96,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
98
96
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
99
97
|
gap: 4,
|
|
100
98
|
children: [
|
|
101
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
102
|
-
|
|
99
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
100
|
+
className: "text-sm font-mono",
|
|
103
101
|
children: "Position:"
|
|
104
102
|
}),
|
|
105
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
106
|
-
|
|
103
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
104
|
+
className: "text-sm font-mono font-bold",
|
|
107
105
|
children: [
|
|
108
106
|
"(",
|
|
109
107
|
position.x.toFixed(0),
|
|
@@ -117,12 +115,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
117
115
|
void 0 !== width && void 0 !== height && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
118
116
|
gap: 4,
|
|
119
117
|
children: [
|
|
120
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
121
|
-
|
|
118
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
119
|
+
className: "text-sm font-mono",
|
|
122
120
|
children: "Size:"
|
|
123
121
|
}),
|
|
124
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
125
|
-
|
|
122
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
123
|
+
className: "text-sm font-mono font-bold",
|
|
126
124
|
children: [
|
|
127
125
|
width.toFixed(0),
|
|
128
126
|
" \xd7 ",
|
|
@@ -134,9 +132,8 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
134
132
|
data && Object.keys(data).length > 0 && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
135
133
|
gap: 4,
|
|
136
134
|
children: [
|
|
137
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
138
|
-
|
|
139
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
135
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
136
|
+
className: "text-sm font-mono text-foreground-muted",
|
|
140
137
|
children: "Data:"
|
|
141
138
|
}),
|
|
142
139
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", {
|
|
@@ -168,12 +165,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
168
165
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
169
166
|
gap: 4,
|
|
170
167
|
children: [
|
|
171
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
172
|
-
|
|
168
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
169
|
+
className: "text-sm font-mono",
|
|
173
170
|
children: "ID:"
|
|
174
171
|
}),
|
|
175
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
176
|
-
|
|
172
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
173
|
+
className: "text-sm font-mono font-bold",
|
|
177
174
|
children: id
|
|
178
175
|
})
|
|
179
176
|
]
|
|
@@ -181,12 +178,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
181
178
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
182
179
|
gap: 4,
|
|
183
180
|
children: [
|
|
184
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
185
|
-
|
|
181
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
182
|
+
className: "text-sm font-mono",
|
|
186
183
|
children: "Type:"
|
|
187
184
|
}),
|
|
188
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
189
|
-
|
|
185
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
186
|
+
className: "text-sm font-mono font-bold",
|
|
190
187
|
children: type || 'default'
|
|
191
188
|
})
|
|
192
189
|
]
|
|
@@ -194,12 +191,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
194
191
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
195
192
|
gap: 4,
|
|
196
193
|
children: [
|
|
197
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
198
|
-
|
|
194
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
195
|
+
className: "text-sm font-mono",
|
|
199
196
|
children: "Selected:"
|
|
200
197
|
}),
|
|
201
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
202
|
-
|
|
198
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
199
|
+
className: "text-sm font-mono font-bold",
|
|
203
200
|
children: selected ? 'Yes' : 'No'
|
|
204
201
|
})
|
|
205
202
|
]
|
|
@@ -207,12 +204,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
207
204
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
208
205
|
gap: 4,
|
|
209
206
|
children: [
|
|
210
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
211
|
-
|
|
207
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
208
|
+
className: "text-sm font-mono",
|
|
212
209
|
children: "Source:"
|
|
213
210
|
}),
|
|
214
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
215
|
-
|
|
211
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
212
|
+
className: "text-sm font-mono font-bold",
|
|
216
213
|
children: source
|
|
217
214
|
})
|
|
218
215
|
]
|
|
@@ -220,12 +217,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
220
217
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
221
218
|
gap: 4,
|
|
222
219
|
children: [
|
|
223
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
224
|
-
|
|
220
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
221
|
+
className: "text-sm font-mono",
|
|
225
222
|
children: "Target:"
|
|
226
223
|
}),
|
|
227
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
228
|
-
|
|
224
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
225
|
+
className: "text-sm font-mono font-bold",
|
|
229
226
|
children: target
|
|
230
227
|
})
|
|
231
228
|
]
|
|
@@ -233,12 +230,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
233
230
|
sourceHandle && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
234
231
|
gap: 4,
|
|
235
232
|
children: [
|
|
236
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
237
|
-
|
|
233
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
234
|
+
className: "text-sm font-mono",
|
|
238
235
|
children: "Source Handle:"
|
|
239
236
|
}),
|
|
240
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
241
|
-
|
|
237
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
238
|
+
className: "text-sm font-mono font-bold",
|
|
242
239
|
children: sourceHandle
|
|
243
240
|
})
|
|
244
241
|
]
|
|
@@ -246,12 +243,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
246
243
|
targetHandle && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
247
244
|
gap: 4,
|
|
248
245
|
children: [
|
|
249
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
250
|
-
|
|
246
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
247
|
+
className: "text-sm font-mono",
|
|
251
248
|
children: "Target Handle:"
|
|
252
249
|
}),
|
|
253
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
254
|
-
|
|
250
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
251
|
+
className: "text-sm font-mono font-bold",
|
|
255
252
|
children: targetHandle
|
|
256
253
|
})
|
|
257
254
|
]
|
|
@@ -259,12 +256,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
259
256
|
void 0 !== animated && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
260
257
|
gap: 4,
|
|
261
258
|
children: [
|
|
262
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
263
|
-
|
|
259
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
260
|
+
className: "text-sm font-mono",
|
|
264
261
|
children: "Animated:"
|
|
265
262
|
}),
|
|
266
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
267
|
-
|
|
263
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
264
|
+
className: "text-sm font-mono font-bold",
|
|
268
265
|
children: animated ? 'Yes' : 'No'
|
|
269
266
|
})
|
|
270
267
|
]
|
|
@@ -272,12 +269,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
272
269
|
label && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
273
270
|
gap: 4,
|
|
274
271
|
children: [
|
|
275
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
276
|
-
|
|
272
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
273
|
+
className: "text-sm font-mono",
|
|
277
274
|
children: "Label:"
|
|
278
275
|
}),
|
|
279
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
280
|
-
|
|
276
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
277
|
+
className: "text-sm font-mono font-bold",
|
|
281
278
|
children: 'string' == typeof label ? label : '[React Element]'
|
|
282
279
|
})
|
|
283
280
|
]
|
|
@@ -285,12 +282,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
285
282
|
(markerStart || markerEnd) && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
286
283
|
gap: 4,
|
|
287
284
|
children: [
|
|
288
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
289
|
-
|
|
285
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
286
|
+
className: "text-sm font-mono",
|
|
290
287
|
children: "Markers:"
|
|
291
288
|
}),
|
|
292
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
293
|
-
|
|
289
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
290
|
+
className: "text-sm font-mono font-bold",
|
|
294
291
|
children: markerStart && markerEnd ? 'Both ends' : markerStart ? 'Start only' : 'End only'
|
|
295
292
|
})
|
|
296
293
|
]
|
|
@@ -298,9 +295,8 @@ function EdgeInfoContent({ edge }) {
|
|
|
298
295
|
data && Object.keys(data).length > 0 && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
299
296
|
gap: 4,
|
|
300
297
|
children: [
|
|
301
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
302
|
-
|
|
303
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
298
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
299
|
+
className: "text-sm font-mono text-foreground-muted",
|
|
304
300
|
children: "Data:"
|
|
305
301
|
}),
|
|
306
302
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeInspector.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/NodeInspector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NodeInspector.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/NodeInspector.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,IAAI,EACT,KAAK,IAAI,EAKV,MAAM,0CAA0C,CAAC;AAqOlD,MAAM,MAAM,kBAAkB,GAAG;IAI/B,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAIrC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAIrC,eAAe,CAAC,EAAE,OAAO,CAAC;IAI1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAIrB,YAAY,CAAC,EAAE,OAAO,CAAC;IAIvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,UAAU,EACV,eAAuB,EACvB,OAAO,EACP,YAAmB,EACnB,YAAmB,GACpB,GAAE,kBAAuB,kDAwFzB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { FontVariantToken } from "@uipath/apollo-core";
|
|
3
2
|
import { Column, Row } from "../layouts/index.js";
|
|
4
3
|
import { useEdges, useNodes, useReactFlow } from "../xyflow/react.js";
|
|
5
|
-
import { ApTypography } from "../../material/index.js";
|
|
6
4
|
import { FloatingCanvasPanel } from "./FloatingCanvasPanel/index.js";
|
|
7
5
|
function safeStringify(obj, indent = 2) {
|
|
8
6
|
const seen = new WeakSet();
|
|
@@ -31,12 +29,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
31
29
|
/*#__PURE__*/ jsxs(Row, {
|
|
32
30
|
gap: 4,
|
|
33
31
|
children: [
|
|
34
|
-
/*#__PURE__*/ jsx(
|
|
35
|
-
|
|
32
|
+
/*#__PURE__*/ jsx("span", {
|
|
33
|
+
className: "text-sm font-mono",
|
|
36
34
|
children: "ID:"
|
|
37
35
|
}),
|
|
38
|
-
/*#__PURE__*/ jsx(
|
|
39
|
-
|
|
36
|
+
/*#__PURE__*/ jsx("span", {
|
|
37
|
+
className: "text-sm font-mono font-bold",
|
|
40
38
|
children: id
|
|
41
39
|
})
|
|
42
40
|
]
|
|
@@ -44,12 +42,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
44
42
|
/*#__PURE__*/ jsxs(Row, {
|
|
45
43
|
gap: 4,
|
|
46
44
|
children: [
|
|
47
|
-
/*#__PURE__*/ jsx(
|
|
48
|
-
|
|
45
|
+
/*#__PURE__*/ jsx("span", {
|
|
46
|
+
className: "text-sm font-mono",
|
|
49
47
|
children: "Type:"
|
|
50
48
|
}),
|
|
51
|
-
/*#__PURE__*/ jsx(
|
|
52
|
-
|
|
49
|
+
/*#__PURE__*/ jsx("span", {
|
|
50
|
+
className: "text-sm font-mono font-bold",
|
|
53
51
|
children: type || 'default'
|
|
54
52
|
})
|
|
55
53
|
]
|
|
@@ -57,12 +55,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
57
55
|
/*#__PURE__*/ jsxs(Row, {
|
|
58
56
|
gap: 4,
|
|
59
57
|
children: [
|
|
60
|
-
/*#__PURE__*/ jsx(
|
|
61
|
-
|
|
58
|
+
/*#__PURE__*/ jsx("span", {
|
|
59
|
+
className: "text-sm font-mono",
|
|
62
60
|
children: "Selected:"
|
|
63
61
|
}),
|
|
64
|
-
/*#__PURE__*/ jsx(
|
|
65
|
-
|
|
62
|
+
/*#__PURE__*/ jsx("span", {
|
|
63
|
+
className: "text-sm font-mono font-bold",
|
|
66
64
|
children: selected ? 'Yes' : 'No'
|
|
67
65
|
})
|
|
68
66
|
]
|
|
@@ -70,12 +68,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
70
68
|
/*#__PURE__*/ jsxs(Row, {
|
|
71
69
|
gap: 4,
|
|
72
70
|
children: [
|
|
73
|
-
/*#__PURE__*/ jsx(
|
|
74
|
-
|
|
71
|
+
/*#__PURE__*/ jsx("span", {
|
|
72
|
+
className: "text-sm font-mono",
|
|
75
73
|
children: "Position:"
|
|
76
74
|
}),
|
|
77
|
-
/*#__PURE__*/ jsxs(
|
|
78
|
-
|
|
75
|
+
/*#__PURE__*/ jsxs("span", {
|
|
76
|
+
className: "text-sm font-mono font-bold",
|
|
79
77
|
children: [
|
|
80
78
|
"(",
|
|
81
79
|
position.x.toFixed(0),
|
|
@@ -89,12 +87,12 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
89
87
|
void 0 !== width && void 0 !== height && /*#__PURE__*/ jsxs(Row, {
|
|
90
88
|
gap: 4,
|
|
91
89
|
children: [
|
|
92
|
-
/*#__PURE__*/ jsx(
|
|
93
|
-
|
|
90
|
+
/*#__PURE__*/ jsx("span", {
|
|
91
|
+
className: "text-sm font-mono",
|
|
94
92
|
children: "Size:"
|
|
95
93
|
}),
|
|
96
|
-
/*#__PURE__*/ jsxs(
|
|
97
|
-
|
|
94
|
+
/*#__PURE__*/ jsxs("span", {
|
|
95
|
+
className: "text-sm font-mono font-bold",
|
|
98
96
|
children: [
|
|
99
97
|
width.toFixed(0),
|
|
100
98
|
" \xd7 ",
|
|
@@ -106,9 +104,8 @@ function NodeInfoContent({ node, position, absPosition: _absPosition, width, hei
|
|
|
106
104
|
data && Object.keys(data).length > 0 && /*#__PURE__*/ jsxs(Column, {
|
|
107
105
|
gap: 4,
|
|
108
106
|
children: [
|
|
109
|
-
/*#__PURE__*/ jsx(
|
|
110
|
-
|
|
111
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
107
|
+
/*#__PURE__*/ jsx("span", {
|
|
108
|
+
className: "text-sm font-mono text-foreground-muted",
|
|
112
109
|
children: "Data:"
|
|
113
110
|
}),
|
|
114
111
|
/*#__PURE__*/ jsx("pre", {
|
|
@@ -140,12 +137,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
140
137
|
/*#__PURE__*/ jsxs(Row, {
|
|
141
138
|
gap: 4,
|
|
142
139
|
children: [
|
|
143
|
-
/*#__PURE__*/ jsx(
|
|
144
|
-
|
|
140
|
+
/*#__PURE__*/ jsx("span", {
|
|
141
|
+
className: "text-sm font-mono",
|
|
145
142
|
children: "ID:"
|
|
146
143
|
}),
|
|
147
|
-
/*#__PURE__*/ jsx(
|
|
148
|
-
|
|
144
|
+
/*#__PURE__*/ jsx("span", {
|
|
145
|
+
className: "text-sm font-mono font-bold",
|
|
149
146
|
children: id
|
|
150
147
|
})
|
|
151
148
|
]
|
|
@@ -153,12 +150,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
153
150
|
/*#__PURE__*/ jsxs(Row, {
|
|
154
151
|
gap: 4,
|
|
155
152
|
children: [
|
|
156
|
-
/*#__PURE__*/ jsx(
|
|
157
|
-
|
|
153
|
+
/*#__PURE__*/ jsx("span", {
|
|
154
|
+
className: "text-sm font-mono",
|
|
158
155
|
children: "Type:"
|
|
159
156
|
}),
|
|
160
|
-
/*#__PURE__*/ jsx(
|
|
161
|
-
|
|
157
|
+
/*#__PURE__*/ jsx("span", {
|
|
158
|
+
className: "text-sm font-mono font-bold",
|
|
162
159
|
children: type || 'default'
|
|
163
160
|
})
|
|
164
161
|
]
|
|
@@ -166,12 +163,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
166
163
|
/*#__PURE__*/ jsxs(Row, {
|
|
167
164
|
gap: 4,
|
|
168
165
|
children: [
|
|
169
|
-
/*#__PURE__*/ jsx(
|
|
170
|
-
|
|
166
|
+
/*#__PURE__*/ jsx("span", {
|
|
167
|
+
className: "text-sm font-mono",
|
|
171
168
|
children: "Selected:"
|
|
172
169
|
}),
|
|
173
|
-
/*#__PURE__*/ jsx(
|
|
174
|
-
|
|
170
|
+
/*#__PURE__*/ jsx("span", {
|
|
171
|
+
className: "text-sm font-mono font-bold",
|
|
175
172
|
children: selected ? 'Yes' : 'No'
|
|
176
173
|
})
|
|
177
174
|
]
|
|
@@ -179,12 +176,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
179
176
|
/*#__PURE__*/ jsxs(Row, {
|
|
180
177
|
gap: 4,
|
|
181
178
|
children: [
|
|
182
|
-
/*#__PURE__*/ jsx(
|
|
183
|
-
|
|
179
|
+
/*#__PURE__*/ jsx("span", {
|
|
180
|
+
className: "text-sm font-mono",
|
|
184
181
|
children: "Source:"
|
|
185
182
|
}),
|
|
186
|
-
/*#__PURE__*/ jsx(
|
|
187
|
-
|
|
183
|
+
/*#__PURE__*/ jsx("span", {
|
|
184
|
+
className: "text-sm font-mono font-bold",
|
|
188
185
|
children: source
|
|
189
186
|
})
|
|
190
187
|
]
|
|
@@ -192,12 +189,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
192
189
|
/*#__PURE__*/ jsxs(Row, {
|
|
193
190
|
gap: 4,
|
|
194
191
|
children: [
|
|
195
|
-
/*#__PURE__*/ jsx(
|
|
196
|
-
|
|
192
|
+
/*#__PURE__*/ jsx("span", {
|
|
193
|
+
className: "text-sm font-mono",
|
|
197
194
|
children: "Target:"
|
|
198
195
|
}),
|
|
199
|
-
/*#__PURE__*/ jsx(
|
|
200
|
-
|
|
196
|
+
/*#__PURE__*/ jsx("span", {
|
|
197
|
+
className: "text-sm font-mono font-bold",
|
|
201
198
|
children: target
|
|
202
199
|
})
|
|
203
200
|
]
|
|
@@ -205,12 +202,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
205
202
|
sourceHandle && /*#__PURE__*/ jsxs(Row, {
|
|
206
203
|
gap: 4,
|
|
207
204
|
children: [
|
|
208
|
-
/*#__PURE__*/ jsx(
|
|
209
|
-
|
|
205
|
+
/*#__PURE__*/ jsx("span", {
|
|
206
|
+
className: "text-sm font-mono",
|
|
210
207
|
children: "Source Handle:"
|
|
211
208
|
}),
|
|
212
|
-
/*#__PURE__*/ jsx(
|
|
213
|
-
|
|
209
|
+
/*#__PURE__*/ jsx("span", {
|
|
210
|
+
className: "text-sm font-mono font-bold",
|
|
214
211
|
children: sourceHandle
|
|
215
212
|
})
|
|
216
213
|
]
|
|
@@ -218,12 +215,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
218
215
|
targetHandle && /*#__PURE__*/ jsxs(Row, {
|
|
219
216
|
gap: 4,
|
|
220
217
|
children: [
|
|
221
|
-
/*#__PURE__*/ jsx(
|
|
222
|
-
|
|
218
|
+
/*#__PURE__*/ jsx("span", {
|
|
219
|
+
className: "text-sm font-mono",
|
|
223
220
|
children: "Target Handle:"
|
|
224
221
|
}),
|
|
225
|
-
/*#__PURE__*/ jsx(
|
|
226
|
-
|
|
222
|
+
/*#__PURE__*/ jsx("span", {
|
|
223
|
+
className: "text-sm font-mono font-bold",
|
|
227
224
|
children: targetHandle
|
|
228
225
|
})
|
|
229
226
|
]
|
|
@@ -231,12 +228,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
231
228
|
void 0 !== animated && /*#__PURE__*/ jsxs(Row, {
|
|
232
229
|
gap: 4,
|
|
233
230
|
children: [
|
|
234
|
-
/*#__PURE__*/ jsx(
|
|
235
|
-
|
|
231
|
+
/*#__PURE__*/ jsx("span", {
|
|
232
|
+
className: "text-sm font-mono",
|
|
236
233
|
children: "Animated:"
|
|
237
234
|
}),
|
|
238
|
-
/*#__PURE__*/ jsx(
|
|
239
|
-
|
|
235
|
+
/*#__PURE__*/ jsx("span", {
|
|
236
|
+
className: "text-sm font-mono font-bold",
|
|
240
237
|
children: animated ? 'Yes' : 'No'
|
|
241
238
|
})
|
|
242
239
|
]
|
|
@@ -244,12 +241,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
244
241
|
label && /*#__PURE__*/ jsxs(Row, {
|
|
245
242
|
gap: 4,
|
|
246
243
|
children: [
|
|
247
|
-
/*#__PURE__*/ jsx(
|
|
248
|
-
|
|
244
|
+
/*#__PURE__*/ jsx("span", {
|
|
245
|
+
className: "text-sm font-mono",
|
|
249
246
|
children: "Label:"
|
|
250
247
|
}),
|
|
251
|
-
/*#__PURE__*/ jsx(
|
|
252
|
-
|
|
248
|
+
/*#__PURE__*/ jsx("span", {
|
|
249
|
+
className: "text-sm font-mono font-bold",
|
|
253
250
|
children: 'string' == typeof label ? label : '[React Element]'
|
|
254
251
|
})
|
|
255
252
|
]
|
|
@@ -257,12 +254,12 @@ function EdgeInfoContent({ edge }) {
|
|
|
257
254
|
(markerStart || markerEnd) && /*#__PURE__*/ jsxs(Row, {
|
|
258
255
|
gap: 4,
|
|
259
256
|
children: [
|
|
260
|
-
/*#__PURE__*/ jsx(
|
|
261
|
-
|
|
257
|
+
/*#__PURE__*/ jsx("span", {
|
|
258
|
+
className: "text-sm font-mono",
|
|
262
259
|
children: "Markers:"
|
|
263
260
|
}),
|
|
264
|
-
/*#__PURE__*/ jsx(
|
|
265
|
-
|
|
261
|
+
/*#__PURE__*/ jsx("span", {
|
|
262
|
+
className: "text-sm font-mono font-bold",
|
|
266
263
|
children: markerStart && markerEnd ? 'Both ends' : markerStart ? 'Start only' : 'End only'
|
|
267
264
|
})
|
|
268
265
|
]
|
|
@@ -270,9 +267,8 @@ function EdgeInfoContent({ edge }) {
|
|
|
270
267
|
data && Object.keys(data).length > 0 && /*#__PURE__*/ jsxs(Column, {
|
|
271
268
|
gap: 4,
|
|
272
269
|
children: [
|
|
273
|
-
/*#__PURE__*/ jsx(
|
|
274
|
-
|
|
275
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
270
|
+
/*#__PURE__*/ jsx("span", {
|
|
271
|
+
className: "text-sm font-mono text-foreground-muted",
|
|
276
272
|
children: "Data:"
|
|
277
273
|
}),
|
|
278
274
|
/*#__PURE__*/ jsx("pre", {
|
|
@@ -29,8 +29,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
const index_cjs_namespaceObject = require("../../layouts/index.cjs");
|
|
31
31
|
const react_cjs_namespaceObject = require("../../xyflow/react.cjs");
|
|
32
|
-
const
|
|
32
|
+
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
33
33
|
const external_react_namespaceObject = require("react");
|
|
34
|
+
const icon_registry_cjs_namespaceObject = require("../../utils/icon-registry.cjs");
|
|
34
35
|
const external_FloatingCanvasPanel_index_cjs_namespaceObject = require("../FloatingCanvasPanel/index.cjs");
|
|
35
36
|
const external_fields_index_cjs_namespaceObject = require("./fields/index.cjs");
|
|
36
37
|
const external_hooks_index_cjs_namespaceObject = require("./hooks/index.cjs");
|
|
@@ -131,12 +132,15 @@ const NodePropertiesPanel_NodePropertiesPanel = /*#__PURE__*/ (0, external_react
|
|
|
131
132
|
}, section.id);
|
|
132
133
|
};
|
|
133
134
|
if (!selectedNode || !schema || !internalNode) return null;
|
|
134
|
-
const headerActions = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
135
|
-
|
|
135
|
+
const headerActions = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.Button, {
|
|
136
|
+
variant: "ghost",
|
|
137
|
+
size: "icon",
|
|
138
|
+
className: "h-6 w-6",
|
|
136
139
|
onClick: handleTogglePin,
|
|
137
140
|
title: isPinned ? 'Unpin panel' : 'Pin panel',
|
|
138
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
139
|
-
|
|
141
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
142
|
+
icon: isPinned ? 'shrink' : 'expand',
|
|
143
|
+
size: 16
|
|
140
144
|
})
|
|
141
145
|
});
|
|
142
146
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_FloatingCanvasPanel_index_cjs_namespaceObject.FloatingCanvasPanel, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePropertiesPanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodePropertiesPanel/NodePropertiesPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NodePropertiesPanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/NodePropertiesPanel/NodePropertiesPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAGV,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AAoCrC,eAAO,MAAM,mBAAmB,gEA8H9B,CAAC"}
|