@uipath/apollo-wind 0.10.0 → 0.11.0
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/components/custom/canvas-studio.cjs +133 -0
- package/dist/components/custom/canvas-studio.d.ts +99 -0
- package/dist/components/custom/canvas-studio.js +93 -0
- package/dist/components/custom/canvas.cjs +44 -0
- package/dist/components/custom/canvas.d.ts +14 -0
- package/dist/components/custom/canvas.js +10 -0
- package/dist/components/custom/chat-composer.cjs +105 -0
- package/dist/components/custom/chat-composer.d.ts +15 -0
- package/dist/components/custom/chat-composer.js +71 -0
- package/dist/components/custom/chat-first-experience.cjs +87 -0
- package/dist/components/custom/chat-first-experience.d.ts +24 -0
- package/dist/components/custom/chat-first-experience.js +53 -0
- package/dist/components/custom/chat-prompt-suggestions.cjs +49 -0
- package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
- package/dist/components/custom/chat-prompt-suggestions.js +15 -0
- package/dist/components/custom/chat-steps-view.cjs +308 -0
- package/dist/components/custom/chat-steps-view.d.ts +38 -0
- package/dist/components/custom/chat-steps-view.js +274 -0
- package/dist/components/custom/flow-node.cjs +76 -0
- package/dist/components/custom/flow-node.d.ts +20 -0
- package/dist/components/custom/flow-node.js +42 -0
- package/dist/components/custom/flow-properties-bar.cjs +103 -0
- package/dist/components/custom/flow-properties-bar.d.ts +21 -0
- package/dist/components/custom/flow-properties-bar.js +69 -0
- package/dist/components/custom/flow-properties-expanded.cjs +328 -0
- package/dist/components/custom/flow-properties-expanded.d.ts +21 -0
- package/dist/components/custom/flow-properties-expanded.js +294 -0
- package/dist/components/custom/flow-properties-simple.cjs +364 -0
- package/dist/components/custom/flow-properties-simple.d.ts +62 -0
- package/dist/components/custom/flow-properties-simple.js +330 -0
- package/dist/components/custom/flow-properties.cjs +56 -0
- package/dist/components/custom/flow-properties.d.ts +28 -0
- package/dist/components/custom/flow-properties.js +22 -0
- package/dist/components/custom/global-header.cjs +422 -0
- package/dist/components/custom/global-header.d.ts +38 -0
- package/dist/components/custom/global-header.js +388 -0
- package/dist/components/custom/grid-maestro.cjs +62 -0
- package/dist/components/custom/grid-maestro.d.ts +19 -0
- package/dist/components/custom/grid-maestro.js +22 -0
- package/dist/components/custom/page-header.cjs +92 -0
- package/dist/components/custom/page-header.d.ts +43 -0
- package/dist/components/custom/page-header.js +58 -0
- package/dist/components/custom/panel-delegate.cjs +285 -0
- package/dist/components/custom/panel-delegate.d.ts +34 -0
- package/dist/components/custom/panel-delegate.js +251 -0
- package/dist/components/custom/panel-flow.cjs +262 -0
- package/dist/components/custom/panel-flow.d.ts +38 -0
- package/dist/components/custom/panel-flow.js +225 -0
- package/dist/components/custom/panel-maestro.cjs +74 -0
- package/dist/components/custom/panel-maestro.d.ts +30 -0
- package/dist/components/custom/panel-maestro.js +40 -0
- package/dist/components/custom/panel-studio.cjs +122 -0
- package/dist/components/custom/panel-studio.d.ts +48 -0
- package/dist/components/custom/panel-studio.js +85 -0
- package/dist/components/custom/toolbar-canvas.cjs +124 -0
- package/dist/components/custom/toolbar-canvas.d.ts +15 -0
- package/dist/components/custom/toolbar-canvas.js +90 -0
- package/dist/components/custom/toolbar-view.cjs +121 -0
- package/dist/components/custom/toolbar-view.d.ts +14 -0
- package/dist/components/custom/toolbar-view.js +87 -0
- package/dist/components/custom/viewport-guard.cjs +92 -0
- package/dist/components/custom/viewport-guard.d.ts +23 -0
- package/dist/components/custom/viewport-guard.js +55 -0
- package/dist/components/forms/field-renderer.cjs +3 -1
- package/dist/components/forms/field-renderer.js +3 -1
- package/dist/components/forms/form-designer.cjs +13 -2
- package/dist/components/forms/form-designer.js +13 -2
- package/dist/components/forms/rules-engine.d.ts +1 -1
- package/dist/components/ui/breadcrumb.cjs +1 -2
- package/dist/components/ui/breadcrumb.js +1 -2
- package/dist/components/ui/button-group.cjs +5 -3
- package/dist/components/ui/button-group.d.ts +2 -2
- package/dist/components/ui/button-group.js +5 -3
- package/dist/components/ui/button.cjs +3 -3
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/chart.cjs +223 -0
- package/dist/components/ui/chart.d.ts +40 -0
- package/dist/components/ui/chart.js +174 -0
- package/dist/components/ui/code-block.cjs +234 -0
- package/dist/components/ui/code-block.d.ts +48 -0
- package/dist/components/ui/code-block.js +200 -0
- package/dist/components/ui/data-table.cjs +22 -4
- package/dist/components/ui/data-table.d.ts +5 -2
- package/dist/components/ui/data-table.js +23 -5
- package/dist/components/ui/editable-cell.cjs +3 -10
- package/dist/components/ui/editable-cell.js +3 -10
- package/dist/components/ui/empty-state.cjs +17 -6
- package/dist/components/ui/empty-state.d.ts +7 -0
- package/dist/components/ui/empty-state.js +17 -6
- package/dist/components/ui/file-upload.cjs +8 -0
- package/dist/components/ui/file-upload.js +8 -0
- package/dist/components/ui/index.cjs +287 -147
- package/dist/components/ui/index.d.ts +2 -3
- package/dist/components/ui/index.js +2 -3
- package/dist/components/ui/multi-select.cjs +3 -10
- package/dist/components/ui/multi-select.js +3 -10
- package/dist/components/ui/pagination.cjs +0 -1
- package/dist/components/ui/pagination.js +0 -1
- package/dist/components/ui/resizable.d.ts +1 -1
- package/dist/components/ui/tree-view.cjs +1117 -0
- package/dist/components/ui/tree-view.d.ts +95 -0
- package/dist/components/ui/tree-view.js +1083 -0
- package/dist/foundation/Future/colors.cjs +92 -0
- package/dist/foundation/Future/colors.d.ts +132 -0
- package/dist/foundation/Future/colors.js +43 -0
- package/dist/foundation/Future/radius.cjs +46 -0
- package/dist/foundation/Future/radius.d.ts +33 -0
- package/dist/foundation/Future/radius.js +12 -0
- package/dist/foundation/Future/responsive.cjs +49 -0
- package/dist/foundation/Future/responsive.d.ts +40 -0
- package/dist/foundation/Future/responsive.js +12 -0
- package/dist/foundation/Future/shadows.cjs +48 -0
- package/dist/foundation/Future/shadows.d.ts +29 -0
- package/dist/foundation/Future/shadows.js +11 -0
- package/dist/foundation/Future/spacing.cjs +71 -0
- package/dist/foundation/Future/spacing.d.ts +80 -0
- package/dist/foundation/Future/spacing.js +31 -0
- package/dist/foundation/Future/strokes.cjs +59 -0
- package/dist/foundation/Future/strokes.d.ts +49 -0
- package/dist/foundation/Future/strokes.js +19 -0
- package/dist/foundation/Future/types.cjs +18 -0
- package/dist/foundation/Future/types.d.ts +25 -0
- package/dist/foundation/Future/types.js +0 -0
- package/dist/foundation/Future/typography.cjs +79 -0
- package/dist/foundation/Future/typography.d.ts +86 -0
- package/dist/foundation/Future/typography.js +33 -0
- package/dist/index.cjs +131 -221
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -4
- package/dist/src/foundation/Future/themes.css +279 -0
- package/dist/styles.css +1941 -605
- package/dist/tailwind.css +874 -87
- package/dist/templates/Admin/settings-admin.d.ts +5 -0
- package/dist/templates/Admin/template-admin.d.ts +86 -0
- package/dist/templates/Delegate/template-delegate.d.ts +26 -0
- package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
- package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
- package/dist/templates/Flow/template-flow.d.ts +57 -0
- package/dist/templates/Maestro/template-maestro.d.ts +52 -0
- package/dist/templates/Studio/template-studio.d.ts +102 -0
- package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
- package/package.json +12 -1
- package/dist/components/ui/menubar.cjs +0 -210
- package/dist/components/ui/menubar.d.ts +0 -28
- package/dist/components/ui/menubar.js +0 -131
- package/dist/components/ui/navigation-menu.cjs +0 -122
- package/dist/components/ui/navigation-menu.d.ts +0 -12
- package/dist/components/ui/navigation-menu.js +0 -64
- package/dist/examples/admin-layout-example.cjs +0 -490
- package/dist/examples/admin-layout-example.d.ts +0 -92
- package/dist/examples/admin-layout-example.js +0 -411
- package/dist/examples/app-shell-example.cjs +0 -452
- package/dist/examples/app-shell-example.d.ts +0 -52
- package/dist/examples/app-shell-example.js +0 -418
- package/dist/examples/dashboard-example.cjs +0 -590
- package/dist/examples/dashboard-example.d.ts +0 -11
- package/dist/examples/dashboard-example.js +0 -556
- package/dist/examples/data-management-example.cjs +0 -584
- package/dist/examples/data-management-example.d.ts +0 -1
- package/dist/examples/data-management-example.js +0 -550
- package/dist/examples/flow-editor-layout-example.cjs +0 -309
- package/dist/examples/flow-editor-layout-example.d.ts +0 -22
- package/dist/examples/flow-editor-layout-example.js +0 -269
- package/dist/examples/flow-start-example.cjs +0 -467
- package/dist/examples/flow-start-example.d.ts +0 -30
- package/dist/examples/flow-start-example.js +0 -433
- package/dist/examples/form-builder-example.cjs +0 -674
- package/dist/examples/form-builder-example.js +0 -640
- package/dist/examples/new-project-example.cjs +0 -550
- package/dist/examples/new-project-example.d.ts +0 -30
- package/dist/examples/new-project-example.js +0 -516
- package/dist/examples/settings-example.cjs +0 -864
- package/dist/examples/settings-example.d.ts +0 -1
- package/dist/examples/settings-example.js +0 -830
- package/dist/examples/vscode-example.cjs +0 -340
- package/dist/examples/vscode-example.d.ts +0 -80
- package/dist/examples/vscode-example.js +0 -270
- package/dist/templates/admin-layout-example.d.ts +0 -92
- package/dist/templates/app-shell-example.d.ts +0 -52
- package/dist/templates/dashboard-example.d.ts +0 -11
- package/dist/templates/data-management-example.d.ts +0 -1
- package/dist/templates/flow-editor-layout-example.d.ts +0 -22
- package/dist/templates/flow-start-example.d.ts +0 -30
- package/dist/templates/form-builder-example.d.ts +0 -1
- package/dist/templates/new-project-example.d.ts +0 -30
- package/dist/templates/settings-example.d.ts +0 -1
- /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
PropertiesExpanded: ()=>PropertiesExpanded
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
31
|
+
const typography_cjs_namespaceObject = require("../../foundation/Future/typography.cjs");
|
|
32
|
+
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
33
|
+
const button_cjs_namespaceObject = require("../ui/button.cjs");
|
|
34
|
+
function MiniTab({ label, active, onClick }) {
|
|
35
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
36
|
+
type: "button",
|
|
37
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-6 items-center rounded-lg px-2 text-xs font-medium leading-5', active ? 'bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
38
|
+
onClick: onClick,
|
|
39
|
+
children: label
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function SectionHeader({ title }) {
|
|
43
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
44
|
+
className: "flex items-center gap-1 px-2 py-1",
|
|
45
|
+
children: [
|
|
46
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
47
|
+
className: "flex h-8 w-8 items-center justify-center rounded-xl",
|
|
48
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.GripVertical, {
|
|
49
|
+
className: "h-5 w-5 text-foreground-subtle"
|
|
50
|
+
})
|
|
51
|
+
}),
|
|
52
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
53
|
+
className: "text-sm font-semibold leading-5 text-foreground",
|
|
54
|
+
children: title
|
|
55
|
+
})
|
|
56
|
+
]
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function CodeViewer({ lines, className }) {
|
|
60
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
61
|
+
className: (0, index_cjs_namespaceObject.cn)('flex flex-1 gap-6 overflow-auto px-5 py-4 text-sm leading-6', className),
|
|
62
|
+
style: {
|
|
63
|
+
fontFamily: typography_cjs_namespaceObject.fontFamily.monospace
|
|
64
|
+
},
|
|
65
|
+
children: [
|
|
66
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
67
|
+
className: "flex flex-col text-right text-foreground-subtle select-none",
|
|
68
|
+
children: lines.map((_, i)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
69
|
+
children: i + 1
|
|
70
|
+
}, i))
|
|
71
|
+
}),
|
|
72
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
73
|
+
className: "flex flex-col whitespace-pre text-foreground-muted",
|
|
74
|
+
children: lines.map((line, i)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
75
|
+
children: line
|
|
76
|
+
}, i))
|
|
77
|
+
})
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
const codeLines = [
|
|
82
|
+
' // AI Agent validates invoice data',
|
|
83
|
+
'// Checks for anomalies and fraud patterns',
|
|
84
|
+
'// Cross-references vendor database'
|
|
85
|
+
];
|
|
86
|
+
const inputJsonLines = [
|
|
87
|
+
'{',
|
|
88
|
+
' "extracted": {',
|
|
89
|
+
' "vendor": "Acme Corp",',
|
|
90
|
+
' "amount": 1250,',
|
|
91
|
+
' "date": "2024-01-15",',
|
|
92
|
+
' "items": [',
|
|
93
|
+
' {',
|
|
94
|
+
' "description": "Professional Services",',
|
|
95
|
+
' "amount": 1250',
|
|
96
|
+
' }',
|
|
97
|
+
' ]',
|
|
98
|
+
' },',
|
|
99
|
+
' "invoiceId": "INV-2024-001",',
|
|
100
|
+
' "timestamp": "2026-01-28T19:51:41.085Z"'
|
|
101
|
+
];
|
|
102
|
+
const outputJsonLines = [
|
|
103
|
+
'{',
|
|
104
|
+
' "isValid": true,',
|
|
105
|
+
' "confidence": 0.96',
|
|
106
|
+
'}'
|
|
107
|
+
];
|
|
108
|
+
function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType = 'AI Agent', activeTab = 'properties', onTabChange, onClose }) {
|
|
109
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
110
|
+
className: (0, index_cjs_namespaceObject.cn)('flex w-[930px] shrink-0 flex-col rounded-2xl bg-surface-raised', className),
|
|
111
|
+
children: [
|
|
112
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
113
|
+
className: "flex items-center justify-between border-b border-border p-4",
|
|
114
|
+
children: [
|
|
115
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
116
|
+
className: "flex items-center gap-4",
|
|
117
|
+
children: [
|
|
118
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
119
|
+
className: "flex h-10 w-10 items-center justify-center rounded-xl bg-brand-subtle",
|
|
120
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
|
|
121
|
+
className: "h-6 w-6 text-brand-foreground"
|
|
122
|
+
})
|
|
123
|
+
}),
|
|
124
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
125
|
+
className: "flex flex-col",
|
|
126
|
+
children: [
|
|
127
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
128
|
+
className: "text-base font-semibold leading-5 tracking-[-0.4px] text-foreground",
|
|
129
|
+
children: nodeName
|
|
130
|
+
}),
|
|
131
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
132
|
+
className: "text-sm font-normal leading-5 tracking-[-0.35px] text-foreground-subtle",
|
|
133
|
+
children: nodeType
|
|
134
|
+
})
|
|
135
|
+
]
|
|
136
|
+
})
|
|
137
|
+
]
|
|
138
|
+
}),
|
|
139
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
140
|
+
className: "flex items-center gap-2",
|
|
141
|
+
children: [
|
|
142
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
143
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
144
|
+
children: [
|
|
145
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
146
|
+
type: "button",
|
|
147
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-8 items-center gap-2 rounded-[10px] px-3 py-2 text-sm font-medium leading-5 transition-colors', 'properties' === activeTab ? 'border border-border bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
148
|
+
onClick: ()=>onTabChange?.('properties'),
|
|
149
|
+
children: [
|
|
150
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.TableProperties, {
|
|
151
|
+
className: "h-5 w-5"
|
|
152
|
+
}),
|
|
153
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
154
|
+
children: "Properties"
|
|
155
|
+
})
|
|
156
|
+
]
|
|
157
|
+
}),
|
|
158
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
159
|
+
type: "button",
|
|
160
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-8 items-center gap-2 rounded-[10px] px-3 py-2 text-sm font-medium leading-5 transition-colors', 'variables' === activeTab ? 'border border-border bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
161
|
+
onClick: ()=>onTabChange?.('variables'),
|
|
162
|
+
children: [
|
|
163
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Variable, {
|
|
164
|
+
className: "h-5 w-5"
|
|
165
|
+
}),
|
|
166
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
167
|
+
children: "Variables"
|
|
168
|
+
})
|
|
169
|
+
]
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
}),
|
|
173
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
174
|
+
size: "icon",
|
|
175
|
+
variant: "ghost",
|
|
176
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
177
|
+
onClick: onClose,
|
|
178
|
+
"aria-label": "Close properties",
|
|
179
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {})
|
|
180
|
+
})
|
|
181
|
+
]
|
|
182
|
+
})
|
|
183
|
+
]
|
|
184
|
+
}),
|
|
185
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
186
|
+
className: "flex items-center justify-between border-b border-border px-4 py-2",
|
|
187
|
+
children: [
|
|
188
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
189
|
+
className: "flex items-center gap-2",
|
|
190
|
+
children: [
|
|
191
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
192
|
+
size: "icon",
|
|
193
|
+
variant: "ghost",
|
|
194
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
195
|
+
"aria-label": "Toggle panel dock",
|
|
196
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.PanelRightOpen, {})
|
|
197
|
+
}),
|
|
198
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("fieldset", {
|
|
199
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
200
|
+
"aria-label": "Layout toggle",
|
|
201
|
+
children: [
|
|
202
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
203
|
+
type: "button",
|
|
204
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] text-foreground-muted transition-colors hover:text-foreground",
|
|
205
|
+
"aria-label": "Columns layout",
|
|
206
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Columns2, {
|
|
207
|
+
className: "h-5 w-5"
|
|
208
|
+
})
|
|
209
|
+
}),
|
|
210
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
211
|
+
type: "button",
|
|
212
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] border border-border bg-surface text-foreground",
|
|
213
|
+
"aria-label": "Rows layout",
|
|
214
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Rows2, {
|
|
215
|
+
className: "h-5 w-5"
|
|
216
|
+
})
|
|
217
|
+
})
|
|
218
|
+
]
|
|
219
|
+
})
|
|
220
|
+
]
|
|
221
|
+
}),
|
|
222
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(button_cjs_namespaceObject.Button, {
|
|
223
|
+
className: "bg-brand text-foreground-on-accent hover:bg-brand/90 font-semibold",
|
|
224
|
+
children: [
|
|
225
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Play, {
|
|
226
|
+
className: "h-4 w-4"
|
|
227
|
+
}),
|
|
228
|
+
"Run node"
|
|
229
|
+
]
|
|
230
|
+
})
|
|
231
|
+
]
|
|
232
|
+
}),
|
|
233
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
234
|
+
className: "flex flex-1 flex-col overflow-hidden border-b border-border",
|
|
235
|
+
children: [
|
|
236
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
237
|
+
title: "Code"
|
|
238
|
+
}),
|
|
239
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
240
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
241
|
+
children: [
|
|
242
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
243
|
+
label: "Parameters"
|
|
244
|
+
}),
|
|
245
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
246
|
+
label: "Script",
|
|
247
|
+
active: true
|
|
248
|
+
}),
|
|
249
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
250
|
+
label: "Errors"
|
|
251
|
+
})
|
|
252
|
+
]
|
|
253
|
+
}),
|
|
254
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
255
|
+
lines: codeLines
|
|
256
|
+
})
|
|
257
|
+
]
|
|
258
|
+
}),
|
|
259
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
260
|
+
className: "flex flex-1 overflow-hidden",
|
|
261
|
+
children: [
|
|
262
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
263
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
264
|
+
children: [
|
|
265
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
266
|
+
title: "Input"
|
|
267
|
+
}),
|
|
268
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
269
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
270
|
+
children: [
|
|
271
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
272
|
+
label: "JSON",
|
|
273
|
+
active: true
|
|
274
|
+
}),
|
|
275
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
276
|
+
label: "Table"
|
|
277
|
+
}),
|
|
278
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
279
|
+
label: "List"
|
|
280
|
+
})
|
|
281
|
+
]
|
|
282
|
+
}),
|
|
283
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
284
|
+
lines: inputJsonLines
|
|
285
|
+
})
|
|
286
|
+
]
|
|
287
|
+
}),
|
|
288
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
289
|
+
className: "w-px bg-border-subtle"
|
|
290
|
+
}),
|
|
291
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
292
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
293
|
+
children: [
|
|
294
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
295
|
+
title: "Output"
|
|
296
|
+
}),
|
|
297
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
298
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
299
|
+
children: [
|
|
300
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
301
|
+
label: "JSON",
|
|
302
|
+
active: true
|
|
303
|
+
}),
|
|
304
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
305
|
+
label: "Table"
|
|
306
|
+
}),
|
|
307
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
308
|
+
label: "List"
|
|
309
|
+
})
|
|
310
|
+
]
|
|
311
|
+
}),
|
|
312
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
313
|
+
lines: outputJsonLines
|
|
314
|
+
})
|
|
315
|
+
]
|
|
316
|
+
})
|
|
317
|
+
]
|
|
318
|
+
})
|
|
319
|
+
]
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
exports.PropertiesExpanded = __webpack_exports__.PropertiesExpanded;
|
|
323
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
324
|
+
"PropertiesExpanded"
|
|
325
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
326
|
+
Object.defineProperty(exports, '__esModule', {
|
|
327
|
+
value: true
|
|
328
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PropertiesExpandedProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
/** Node name shown in the header */
|
|
4
|
+
nodeName?: string;
|
|
5
|
+
/** Node type label (e.g. "AI Agent") */
|
|
6
|
+
nodeType?: string;
|
|
7
|
+
/** Active top tab: 'properties' | 'variables' */
|
|
8
|
+
activeTab?: 'properties' | 'variables';
|
|
9
|
+
/** Callback when top tab is changed */
|
|
10
|
+
onTabChange?: (tab: 'properties' | 'variables') => void;
|
|
11
|
+
/** Callback when close button is clicked */
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Expanded properties panel for the Flow template.
|
|
16
|
+
*
|
|
17
|
+
* Shows full node details including header, toolbar, code section,
|
|
18
|
+
* and input/output split view. Sits on the right side of the canvas.
|
|
19
|
+
* Functionality will be built out in a future update.
|
|
20
|
+
*/
|
|
21
|
+
export declare function PropertiesExpanded({ className, nodeName, nodeType, activeTab, onTabChange, onClose, }: PropertiesExpandedProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Bot, Columns2, GripVertical, PanelRightOpen, Play, Rows2, TableProperties, Variable, X } from "lucide-react";
|
|
3
|
+
import { fontFamily } from "../../foundation/Future/typography.js";
|
|
4
|
+
import { cn } from "../../lib/index.js";
|
|
5
|
+
import { Button } from "../ui/button.js";
|
|
6
|
+
function MiniTab({ label, active, onClick }) {
|
|
7
|
+
return /*#__PURE__*/ jsx("button", {
|
|
8
|
+
type: "button",
|
|
9
|
+
className: cn('flex h-6 items-center rounded-lg px-2 text-xs font-medium leading-5', active ? 'bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
10
|
+
onClick: onClick,
|
|
11
|
+
children: label
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function SectionHeader({ title }) {
|
|
15
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
16
|
+
className: "flex items-center gap-1 px-2 py-1",
|
|
17
|
+
children: [
|
|
18
|
+
/*#__PURE__*/ jsx("div", {
|
|
19
|
+
className: "flex h-8 w-8 items-center justify-center rounded-xl",
|
|
20
|
+
children: /*#__PURE__*/ jsx(GripVertical, {
|
|
21
|
+
className: "h-5 w-5 text-foreground-subtle"
|
|
22
|
+
})
|
|
23
|
+
}),
|
|
24
|
+
/*#__PURE__*/ jsx("span", {
|
|
25
|
+
className: "text-sm font-semibold leading-5 text-foreground",
|
|
26
|
+
children: title
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function CodeViewer({ lines, className }) {
|
|
32
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
33
|
+
className: cn('flex flex-1 gap-6 overflow-auto px-5 py-4 text-sm leading-6', className),
|
|
34
|
+
style: {
|
|
35
|
+
fontFamily: fontFamily.monospace
|
|
36
|
+
},
|
|
37
|
+
children: [
|
|
38
|
+
/*#__PURE__*/ jsx("div", {
|
|
39
|
+
className: "flex flex-col text-right text-foreground-subtle select-none",
|
|
40
|
+
children: lines.map((_, i)=>/*#__PURE__*/ jsx("span", {
|
|
41
|
+
children: i + 1
|
|
42
|
+
}, i))
|
|
43
|
+
}),
|
|
44
|
+
/*#__PURE__*/ jsx("div", {
|
|
45
|
+
className: "flex flex-col whitespace-pre text-foreground-muted",
|
|
46
|
+
children: lines.map((line, i)=>/*#__PURE__*/ jsx("span", {
|
|
47
|
+
children: line
|
|
48
|
+
}, i))
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
const codeLines = [
|
|
54
|
+
' // AI Agent validates invoice data',
|
|
55
|
+
'// Checks for anomalies and fraud patterns',
|
|
56
|
+
'// Cross-references vendor database'
|
|
57
|
+
];
|
|
58
|
+
const inputJsonLines = [
|
|
59
|
+
'{',
|
|
60
|
+
' "extracted": {',
|
|
61
|
+
' "vendor": "Acme Corp",',
|
|
62
|
+
' "amount": 1250,',
|
|
63
|
+
' "date": "2024-01-15",',
|
|
64
|
+
' "items": [',
|
|
65
|
+
' {',
|
|
66
|
+
' "description": "Professional Services",',
|
|
67
|
+
' "amount": 1250',
|
|
68
|
+
' }',
|
|
69
|
+
' ]',
|
|
70
|
+
' },',
|
|
71
|
+
' "invoiceId": "INV-2024-001",',
|
|
72
|
+
' "timestamp": "2026-01-28T19:51:41.085Z"'
|
|
73
|
+
];
|
|
74
|
+
const outputJsonLines = [
|
|
75
|
+
'{',
|
|
76
|
+
' "isValid": true,',
|
|
77
|
+
' "confidence": 0.96',
|
|
78
|
+
'}'
|
|
79
|
+
];
|
|
80
|
+
function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType = 'AI Agent', activeTab = 'properties', onTabChange, onClose }) {
|
|
81
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
82
|
+
className: cn('flex w-[930px] shrink-0 flex-col rounded-2xl bg-surface-raised', className),
|
|
83
|
+
children: [
|
|
84
|
+
/*#__PURE__*/ jsxs("div", {
|
|
85
|
+
className: "flex items-center justify-between border-b border-border p-4",
|
|
86
|
+
children: [
|
|
87
|
+
/*#__PURE__*/ jsxs("div", {
|
|
88
|
+
className: "flex items-center gap-4",
|
|
89
|
+
children: [
|
|
90
|
+
/*#__PURE__*/ jsx("div", {
|
|
91
|
+
className: "flex h-10 w-10 items-center justify-center rounded-xl bg-brand-subtle",
|
|
92
|
+
children: /*#__PURE__*/ jsx(Bot, {
|
|
93
|
+
className: "h-6 w-6 text-brand-foreground"
|
|
94
|
+
})
|
|
95
|
+
}),
|
|
96
|
+
/*#__PURE__*/ jsxs("div", {
|
|
97
|
+
className: "flex flex-col",
|
|
98
|
+
children: [
|
|
99
|
+
/*#__PURE__*/ jsx("span", {
|
|
100
|
+
className: "text-base font-semibold leading-5 tracking-[-0.4px] text-foreground",
|
|
101
|
+
children: nodeName
|
|
102
|
+
}),
|
|
103
|
+
/*#__PURE__*/ jsx("span", {
|
|
104
|
+
className: "text-sm font-normal leading-5 tracking-[-0.35px] text-foreground-subtle",
|
|
105
|
+
children: nodeType
|
|
106
|
+
})
|
|
107
|
+
]
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
}),
|
|
111
|
+
/*#__PURE__*/ jsxs("div", {
|
|
112
|
+
className: "flex items-center gap-2",
|
|
113
|
+
children: [
|
|
114
|
+
/*#__PURE__*/ jsxs("div", {
|
|
115
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
116
|
+
children: [
|
|
117
|
+
/*#__PURE__*/ jsxs("button", {
|
|
118
|
+
type: "button",
|
|
119
|
+
className: cn('flex h-8 items-center gap-2 rounded-[10px] px-3 py-2 text-sm font-medium leading-5 transition-colors', 'properties' === activeTab ? 'border border-border bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
120
|
+
onClick: ()=>onTabChange?.('properties'),
|
|
121
|
+
children: [
|
|
122
|
+
/*#__PURE__*/ jsx(TableProperties, {
|
|
123
|
+
className: "h-5 w-5"
|
|
124
|
+
}),
|
|
125
|
+
/*#__PURE__*/ jsx("span", {
|
|
126
|
+
children: "Properties"
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
}),
|
|
130
|
+
/*#__PURE__*/ jsxs("button", {
|
|
131
|
+
type: "button",
|
|
132
|
+
className: cn('flex h-8 items-center gap-2 rounded-[10px] px-3 py-2 text-sm font-medium leading-5 transition-colors', 'variables' === activeTab ? 'border border-border bg-surface text-foreground' : 'text-foreground-subtle'),
|
|
133
|
+
onClick: ()=>onTabChange?.('variables'),
|
|
134
|
+
children: [
|
|
135
|
+
/*#__PURE__*/ jsx(Variable, {
|
|
136
|
+
className: "h-5 w-5"
|
|
137
|
+
}),
|
|
138
|
+
/*#__PURE__*/ jsx("span", {
|
|
139
|
+
children: "Variables"
|
|
140
|
+
})
|
|
141
|
+
]
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
}),
|
|
145
|
+
/*#__PURE__*/ jsx(Button, {
|
|
146
|
+
size: "icon",
|
|
147
|
+
variant: "ghost",
|
|
148
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
149
|
+
onClick: onClose,
|
|
150
|
+
"aria-label": "Close properties",
|
|
151
|
+
children: /*#__PURE__*/ jsx(X, {})
|
|
152
|
+
})
|
|
153
|
+
]
|
|
154
|
+
})
|
|
155
|
+
]
|
|
156
|
+
}),
|
|
157
|
+
/*#__PURE__*/ jsxs("div", {
|
|
158
|
+
className: "flex items-center justify-between border-b border-border px-4 py-2",
|
|
159
|
+
children: [
|
|
160
|
+
/*#__PURE__*/ jsxs("div", {
|
|
161
|
+
className: "flex items-center gap-2",
|
|
162
|
+
children: [
|
|
163
|
+
/*#__PURE__*/ jsx(Button, {
|
|
164
|
+
size: "icon",
|
|
165
|
+
variant: "ghost",
|
|
166
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
167
|
+
"aria-label": "Toggle panel dock",
|
|
168
|
+
children: /*#__PURE__*/ jsx(PanelRightOpen, {})
|
|
169
|
+
}),
|
|
170
|
+
/*#__PURE__*/ jsxs("fieldset", {
|
|
171
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
172
|
+
"aria-label": "Layout toggle",
|
|
173
|
+
children: [
|
|
174
|
+
/*#__PURE__*/ jsx("button", {
|
|
175
|
+
type: "button",
|
|
176
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] text-foreground-muted transition-colors hover:text-foreground",
|
|
177
|
+
"aria-label": "Columns layout",
|
|
178
|
+
children: /*#__PURE__*/ jsx(Columns2, {
|
|
179
|
+
className: "h-5 w-5"
|
|
180
|
+
})
|
|
181
|
+
}),
|
|
182
|
+
/*#__PURE__*/ jsx("button", {
|
|
183
|
+
type: "button",
|
|
184
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] border border-border bg-surface text-foreground",
|
|
185
|
+
"aria-label": "Rows layout",
|
|
186
|
+
children: /*#__PURE__*/ jsx(Rows2, {
|
|
187
|
+
className: "h-5 w-5"
|
|
188
|
+
})
|
|
189
|
+
})
|
|
190
|
+
]
|
|
191
|
+
})
|
|
192
|
+
]
|
|
193
|
+
}),
|
|
194
|
+
/*#__PURE__*/ jsxs(Button, {
|
|
195
|
+
className: "bg-brand text-foreground-on-accent hover:bg-brand/90 font-semibold",
|
|
196
|
+
children: [
|
|
197
|
+
/*#__PURE__*/ jsx(Play, {
|
|
198
|
+
className: "h-4 w-4"
|
|
199
|
+
}),
|
|
200
|
+
"Run node"
|
|
201
|
+
]
|
|
202
|
+
})
|
|
203
|
+
]
|
|
204
|
+
}),
|
|
205
|
+
/*#__PURE__*/ jsxs("div", {
|
|
206
|
+
className: "flex flex-1 flex-col overflow-hidden border-b border-border",
|
|
207
|
+
children: [
|
|
208
|
+
/*#__PURE__*/ jsx(SectionHeader, {
|
|
209
|
+
title: "Code"
|
|
210
|
+
}),
|
|
211
|
+
/*#__PURE__*/ jsxs("div", {
|
|
212
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
213
|
+
children: [
|
|
214
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
215
|
+
label: "Parameters"
|
|
216
|
+
}),
|
|
217
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
218
|
+
label: "Script",
|
|
219
|
+
active: true
|
|
220
|
+
}),
|
|
221
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
222
|
+
label: "Errors"
|
|
223
|
+
})
|
|
224
|
+
]
|
|
225
|
+
}),
|
|
226
|
+
/*#__PURE__*/ jsx(CodeViewer, {
|
|
227
|
+
lines: codeLines
|
|
228
|
+
})
|
|
229
|
+
]
|
|
230
|
+
}),
|
|
231
|
+
/*#__PURE__*/ jsxs("div", {
|
|
232
|
+
className: "flex flex-1 overflow-hidden",
|
|
233
|
+
children: [
|
|
234
|
+
/*#__PURE__*/ jsxs("div", {
|
|
235
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
236
|
+
children: [
|
|
237
|
+
/*#__PURE__*/ jsx(SectionHeader, {
|
|
238
|
+
title: "Input"
|
|
239
|
+
}),
|
|
240
|
+
/*#__PURE__*/ jsxs("div", {
|
|
241
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
242
|
+
children: [
|
|
243
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
244
|
+
label: "JSON",
|
|
245
|
+
active: true
|
|
246
|
+
}),
|
|
247
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
248
|
+
label: "Table"
|
|
249
|
+
}),
|
|
250
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
251
|
+
label: "List"
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
}),
|
|
255
|
+
/*#__PURE__*/ jsx(CodeViewer, {
|
|
256
|
+
lines: inputJsonLines
|
|
257
|
+
})
|
|
258
|
+
]
|
|
259
|
+
}),
|
|
260
|
+
/*#__PURE__*/ jsx("div", {
|
|
261
|
+
className: "w-px bg-border-subtle"
|
|
262
|
+
}),
|
|
263
|
+
/*#__PURE__*/ jsxs("div", {
|
|
264
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
265
|
+
children: [
|
|
266
|
+
/*#__PURE__*/ jsx(SectionHeader, {
|
|
267
|
+
title: "Output"
|
|
268
|
+
}),
|
|
269
|
+
/*#__PURE__*/ jsxs("div", {
|
|
270
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
271
|
+
children: [
|
|
272
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
273
|
+
label: "JSON",
|
|
274
|
+
active: true
|
|
275
|
+
}),
|
|
276
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
277
|
+
label: "Table"
|
|
278
|
+
}),
|
|
279
|
+
/*#__PURE__*/ jsx(MiniTab, {
|
|
280
|
+
label: "List"
|
|
281
|
+
})
|
|
282
|
+
]
|
|
283
|
+
}),
|
|
284
|
+
/*#__PURE__*/ jsx(CodeViewer, {
|
|
285
|
+
lines: outputJsonLines
|
|
286
|
+
})
|
|
287
|
+
]
|
|
288
|
+
})
|
|
289
|
+
]
|
|
290
|
+
})
|
|
291
|
+
]
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
export { PropertiesExpanded };
|