@uipath/apollo-wind 0.9.1 → 0.10.0-pr219.61d64eb
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.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 +48 -0
- package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
- package/dist/components/custom/chat-prompt-suggestions.js +14 -0
- package/dist/components/custom/chat-steps-view.cjs +307 -0
- package/dist/components/custom/chat-steps-view.d.ts +38 -0
- package/dist/components/custom/chat-steps-view.js +273 -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 +101 -0
- package/dist/components/custom/flow-properties-bar.d.ts +21 -0
- package/dist/components/custom/flow-properties-bar.js +67 -0
- package/dist/components/custom/flow-properties-expanded.cjs +324 -0
- package/dist/components/custom/flow-properties-expanded.d.ts +19 -0
- package/dist/components/custom/flow-properties-expanded.js +290 -0
- package/dist/components/custom/flow-properties-simple.cjs +357 -0
- package/dist/components/custom/flow-properties-simple.d.ts +62 -0
- package/dist/components/custom/flow-properties-simple.js +323 -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 +415 -0
- package/dist/components/custom/global-header.d.ts +38 -0
- package/dist/components/custom/global-header.js +381 -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/panel-delegate.cjs +280 -0
- package/dist/components/custom/panel-delegate.d.ts +34 -0
- package/dist/components/custom/panel-delegate.js +246 -0
- package/dist/components/custom/panel-flow.cjs +260 -0
- package/dist/components/custom/panel-flow.d.ts +38 -0
- package/dist/components/custom/panel-flow.js +223 -0
- package/dist/components/custom/panel-maestro.cjs +73 -0
- package/dist/components/custom/panel-maestro.d.ts +30 -0
- package/dist/components/custom/panel-maestro.js +39 -0
- package/dist/components/custom/toolbar-canvas.cjs +121 -0
- package/dist/components/custom/toolbar-canvas.d.ts +15 -0
- package/dist/components/custom/toolbar-canvas.js +87 -0
- package/dist/components/custom/toolbar-view.cjs +119 -0
- package/dist/components/custom/toolbar-view.d.ts +14 -0
- package/dist/components/custom/toolbar-view.js +85 -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/ui/button.cjs +3 -3
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/chart.cjs +218 -0
- package/dist/components/ui/chart.d.ts +40 -0
- package/dist/components/ui/chart.js +169 -0
- package/dist/components/ui/data-table.cjs +14 -2
- package/dist/components/ui/data-table.d.ts +4 -1
- package/dist/components/ui/data-table.js +15 -3
- 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 +82 -42
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +82 -42
- package/dist/components/ui/index.cjs +289 -149
- package/dist/components/ui/index.d.ts +2 -3
- package/dist/components/ui/index.js +2 -3
- package/dist/components/ui/tree-view.cjs +1101 -0
- package/dist/components/ui/tree-view.d.ts +95 -0
- package/dist/components/ui/tree-view.js +1067 -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 +18 -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 +125 -219
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -4
- package/dist/src/foundation/Future/themes.css +371 -0
- package/dist/styles.css +1704 -582
- package/dist/tailwind.css +4 -0
- package/dist/templates/Admin/settings-admin.d.ts +5 -0
- package/dist/templates/Admin/template-admin.d.ts +105 -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 +52 -0
- package/dist/templates/Maestro/template-maestro.d.ts +52 -0
- package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
- package/package.json +10 -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,76 @@
|
|
|
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
|
+
FlowNode: ()=>FlowNode
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
31
|
+
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
|
+
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
33
|
+
function FlowNode({ className, title = 'Node title', icon, children, selected = false }) {
|
|
34
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
35
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-[360px] w-[360px] flex-col overflow-hidden rounded-2xl bg-surface-overlay px-4 pb-4 pt-2.5', selected && 'ring-1 ring-ring', className),
|
|
36
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
37
|
+
className: "flex flex-1 flex-col gap-[15px]",
|
|
38
|
+
children: [
|
|
39
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
40
|
+
className: "flex items-center justify-between",
|
|
41
|
+
children: [
|
|
42
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
43
|
+
className: "flex items-center gap-2.5",
|
|
44
|
+
children: [
|
|
45
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
46
|
+
className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface",
|
|
47
|
+
children: icon ?? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
|
|
48
|
+
className: "h-5 w-5 text-foreground-muted"
|
|
49
|
+
})
|
|
50
|
+
}),
|
|
51
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
52
|
+
className: "text-sm font-medium text-foreground",
|
|
53
|
+
children: title
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
}),
|
|
57
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
|
|
58
|
+
className: "h-4 w-4 text-foreground-muted"
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
}),
|
|
62
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
63
|
+
className: "flex-1 rounded-lg bg-surface-raised",
|
|
64
|
+
children: children
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
exports.FlowNode = __webpack_exports__.FlowNode;
|
|
71
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
72
|
+
"FlowNode"
|
|
73
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
74
|
+
Object.defineProperty(exports, '__esModule', {
|
|
75
|
+
value: true
|
|
76
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FlowNodeProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
/** Node title */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Icon to display in the node header */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** Node content (rendered below the header) */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
/** Whether the node is selected */
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A canvas node card for the Flow template.
|
|
15
|
+
*
|
|
16
|
+
* Displays a dark card with a header (icon + title + chevron) and a
|
|
17
|
+
* content area. Default size is 360×360px but can be overridden via
|
|
18
|
+
* className.
|
|
19
|
+
*/
|
|
20
|
+
export declare function FlowNode({ className, title, icon, children, selected, }: FlowNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Bot, ChevronDown } from "lucide-react";
|
|
4
|
+
import { cn } from "../../lib/index.js";
|
|
5
|
+
function FlowNode({ className, title = 'Node title', icon, children, selected = false }) {
|
|
6
|
+
return /*#__PURE__*/ jsx("div", {
|
|
7
|
+
className: cn('flex h-[360px] w-[360px] flex-col overflow-hidden rounded-2xl bg-surface-overlay px-4 pb-4 pt-2.5', selected && 'ring-1 ring-ring', className),
|
|
8
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
9
|
+
className: "flex flex-1 flex-col gap-[15px]",
|
|
10
|
+
children: [
|
|
11
|
+
/*#__PURE__*/ jsxs("div", {
|
|
12
|
+
className: "flex items-center justify-between",
|
|
13
|
+
children: [
|
|
14
|
+
/*#__PURE__*/ jsxs("div", {
|
|
15
|
+
className: "flex items-center gap-2.5",
|
|
16
|
+
children: [
|
|
17
|
+
/*#__PURE__*/ jsx("div", {
|
|
18
|
+
className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface",
|
|
19
|
+
children: icon ?? /*#__PURE__*/ jsx(Bot, {
|
|
20
|
+
className: "h-5 w-5 text-foreground-muted"
|
|
21
|
+
})
|
|
22
|
+
}),
|
|
23
|
+
/*#__PURE__*/ jsx("span", {
|
|
24
|
+
className: "text-sm font-medium text-foreground",
|
|
25
|
+
children: title
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
}),
|
|
29
|
+
/*#__PURE__*/ jsx(ChevronDown, {
|
|
30
|
+
className: "h-4 w-4 text-foreground-muted"
|
|
31
|
+
})
|
|
32
|
+
]
|
|
33
|
+
}),
|
|
34
|
+
/*#__PURE__*/ jsx("div", {
|
|
35
|
+
className: "flex-1 rounded-lg bg-surface-raised",
|
|
36
|
+
children: children
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
export { FlowNode };
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
PropertiesBar: ()=>PropertiesBar
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
31
|
+
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
32
|
+
function PropertiesBar({ className, flowName = 'Invoice processing', flowType = 'Workflow', activeTab = 'properties', onTabChange, onExpand }) {
|
|
33
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
34
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-16 items-center justify-between rounded-2xl bg-surface-raised px-4', className),
|
|
35
|
+
children: [
|
|
36
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
37
|
+
className: "flex items-center gap-4",
|
|
38
|
+
children: [
|
|
39
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
40
|
+
className: "flex h-10 w-10 items-center justify-center rounded-xl bg-brand-subtle",
|
|
41
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Workflow, {
|
|
42
|
+
className: "h-6 w-6 text-brand-foreground"
|
|
43
|
+
})
|
|
44
|
+
}),
|
|
45
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
46
|
+
className: "flex flex-col",
|
|
47
|
+
children: [
|
|
48
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
49
|
+
className: "text-base font-semibold leading-5 tracking-[-0.4px] text-foreground",
|
|
50
|
+
children: flowName
|
|
51
|
+
}),
|
|
52
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
53
|
+
className: "text-sm font-normal leading-5 tracking-[-0.35px] text-foreground-subtle",
|
|
54
|
+
children: flowType
|
|
55
|
+
})
|
|
56
|
+
]
|
|
57
|
+
})
|
|
58
|
+
]
|
|
59
|
+
}),
|
|
60
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
61
|
+
className: "flex h-10 items-center rounded-xl bg-surface-overlay border border-border-deep p-1",
|
|
62
|
+
children: [
|
|
63
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
64
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-8 items-center gap-2 rounded-[10px] px-4 py-2 text-sm font-medium leading-5 text-foreground-subtle transition-colors hover:text-foreground-hover', 'properties' === activeTab && 'text-foreground-subtle'),
|
|
65
|
+
onClick: ()=>{
|
|
66
|
+
onTabChange?.('properties');
|
|
67
|
+
onExpand?.();
|
|
68
|
+
},
|
|
69
|
+
children: [
|
|
70
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.TableProperties, {
|
|
71
|
+
className: "h-5 w-5"
|
|
72
|
+
}),
|
|
73
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
74
|
+
children: "Properties"
|
|
75
|
+
})
|
|
76
|
+
]
|
|
77
|
+
}),
|
|
78
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
79
|
+
className: (0, index_cjs_namespaceObject.cn)('flex h-7 items-center gap-2 rounded-xl px-4 py-2 text-sm font-medium leading-5 text-foreground-subtle transition-colors', 'variables' === activeTab && 'text-foreground-subtle'),
|
|
80
|
+
onClick: ()=>onTabChange?.('variables'),
|
|
81
|
+
children: [
|
|
82
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Variable, {
|
|
83
|
+
className: "h-5 w-5"
|
|
84
|
+
}),
|
|
85
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
86
|
+
children: "Variables"
|
|
87
|
+
})
|
|
88
|
+
]
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
})
|
|
92
|
+
]
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
exports.PropertiesBar = __webpack_exports__.PropertiesBar;
|
|
96
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
97
|
+
"PropertiesBar"
|
|
98
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
99
|
+
Object.defineProperty(exports, '__esModule', {
|
|
100
|
+
value: true
|
|
101
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PropertiesBarProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
/** Flow name shown in the bar */
|
|
4
|
+
flowName?: string;
|
|
5
|
+
/** Flow type label (e.g. "Workflow") */
|
|
6
|
+
flowType?: string;
|
|
7
|
+
/** Active tab: 'properties' | 'variables' */
|
|
8
|
+
activeTab?: 'properties' | 'variables';
|
|
9
|
+
/** Callback when tab changes */
|
|
10
|
+
onTabChange?: (tab: 'properties' | 'variables') => void;
|
|
11
|
+
/** Callback when the properties tab is clicked to expand the panel */
|
|
12
|
+
onExpand?: () => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Collapsed properties bar for the Flow template.
|
|
16
|
+
*
|
|
17
|
+
* Anchored to the top-right of the canvas. Shows flow name/type on the left
|
|
18
|
+
* and Properties/Variables tab buttons on the right. A future update will
|
|
19
|
+
* introduce the expanded state.
|
|
20
|
+
*/
|
|
21
|
+
export declare function PropertiesBar({ className, flowName, flowType, activeTab, onTabChange, onExpand, }: PropertiesBarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { TableProperties, Variable, Workflow } from "lucide-react";
|
|
3
|
+
import { cn } from "../../lib/index.js";
|
|
4
|
+
function PropertiesBar({ className, flowName = 'Invoice processing', flowType = 'Workflow', activeTab = 'properties', onTabChange, onExpand }) {
|
|
5
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
6
|
+
className: cn('flex h-16 items-center justify-between rounded-2xl bg-surface-raised px-4', className),
|
|
7
|
+
children: [
|
|
8
|
+
/*#__PURE__*/ jsxs("div", {
|
|
9
|
+
className: "flex items-center gap-4",
|
|
10
|
+
children: [
|
|
11
|
+
/*#__PURE__*/ jsx("div", {
|
|
12
|
+
className: "flex h-10 w-10 items-center justify-center rounded-xl bg-brand-subtle",
|
|
13
|
+
children: /*#__PURE__*/ jsx(Workflow, {
|
|
14
|
+
className: "h-6 w-6 text-brand-foreground"
|
|
15
|
+
})
|
|
16
|
+
}),
|
|
17
|
+
/*#__PURE__*/ jsxs("div", {
|
|
18
|
+
className: "flex flex-col",
|
|
19
|
+
children: [
|
|
20
|
+
/*#__PURE__*/ jsx("span", {
|
|
21
|
+
className: "text-base font-semibold leading-5 tracking-[-0.4px] text-foreground",
|
|
22
|
+
children: flowName
|
|
23
|
+
}),
|
|
24
|
+
/*#__PURE__*/ jsx("span", {
|
|
25
|
+
className: "text-sm font-normal leading-5 tracking-[-0.35px] text-foreground-subtle",
|
|
26
|
+
children: flowType
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
}),
|
|
32
|
+
/*#__PURE__*/ jsxs("div", {
|
|
33
|
+
className: "flex h-10 items-center rounded-xl bg-surface-overlay border border-border-deep p-1",
|
|
34
|
+
children: [
|
|
35
|
+
/*#__PURE__*/ jsxs("button", {
|
|
36
|
+
className: cn('flex h-8 items-center gap-2 rounded-[10px] px-4 py-2 text-sm font-medium leading-5 text-foreground-subtle transition-colors hover:text-foreground-hover', 'properties' === activeTab && 'text-foreground-subtle'),
|
|
37
|
+
onClick: ()=>{
|
|
38
|
+
onTabChange?.('properties');
|
|
39
|
+
onExpand?.();
|
|
40
|
+
},
|
|
41
|
+
children: [
|
|
42
|
+
/*#__PURE__*/ jsx(TableProperties, {
|
|
43
|
+
className: "h-5 w-5"
|
|
44
|
+
}),
|
|
45
|
+
/*#__PURE__*/ jsx("span", {
|
|
46
|
+
children: "Properties"
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
}),
|
|
50
|
+
/*#__PURE__*/ jsxs("button", {
|
|
51
|
+
className: cn('flex h-7 items-center gap-2 rounded-xl px-4 py-2 text-sm font-medium leading-5 text-foreground-subtle transition-colors', 'variables' === activeTab && 'text-foreground-subtle'),
|
|
52
|
+
onClick: ()=>onTabChange?.('variables'),
|
|
53
|
+
children: [
|
|
54
|
+
/*#__PURE__*/ jsx(Variable, {
|
|
55
|
+
className: "h-5 w-5"
|
|
56
|
+
}),
|
|
57
|
+
/*#__PURE__*/ jsx("span", {
|
|
58
|
+
children: "Variables"
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
export { PropertiesBar };
|
|
@@ -0,0 +1,324 @@
|
|
|
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
|
+
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'),
|
|
37
|
+
onClick: onClick,
|
|
38
|
+
children: label
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function SectionHeader({ title }) {
|
|
42
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
43
|
+
className: "flex items-center gap-1 px-2 py-1",
|
|
44
|
+
children: [
|
|
45
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
46
|
+
className: "flex h-8 w-8 items-center justify-center rounded-xl",
|
|
47
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.GripVertical, {
|
|
48
|
+
className: "h-5 w-5 text-foreground-subtle"
|
|
49
|
+
})
|
|
50
|
+
}),
|
|
51
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
52
|
+
className: "text-sm font-semibold leading-5 text-foreground",
|
|
53
|
+
children: title
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function CodeViewer({ lines, className }) {
|
|
59
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
60
|
+
className: (0, index_cjs_namespaceObject.cn)('flex flex-1 gap-6 overflow-auto px-5 py-4 text-sm leading-6', className),
|
|
61
|
+
style: {
|
|
62
|
+
fontFamily: typography_cjs_namespaceObject.fontFamily.monospace
|
|
63
|
+
},
|
|
64
|
+
children: [
|
|
65
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
66
|
+
className: "flex flex-col text-right text-foreground-subtle select-none",
|
|
67
|
+
children: lines.map((_, i)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
68
|
+
children: i + 1
|
|
69
|
+
}, i))
|
|
70
|
+
}),
|
|
71
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
72
|
+
className: "flex flex-col whitespace-pre text-foreground-muted",
|
|
73
|
+
children: lines.map((line, i)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
74
|
+
children: line
|
|
75
|
+
}, i))
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
const codeLines = [
|
|
81
|
+
' // AI Agent validates invoice data',
|
|
82
|
+
'// Checks for anomalies and fraud patterns',
|
|
83
|
+
'// Cross-references vendor database'
|
|
84
|
+
];
|
|
85
|
+
const inputJsonLines = [
|
|
86
|
+
'{',
|
|
87
|
+
' "extracted": {',
|
|
88
|
+
' "vendor": "Acme Corp",',
|
|
89
|
+
' "amount": 1250,',
|
|
90
|
+
' "date": "2024-01-15",',
|
|
91
|
+
' "items": [',
|
|
92
|
+
' {',
|
|
93
|
+
' "description": "Professional Services",',
|
|
94
|
+
' "amount": 1250',
|
|
95
|
+
' }',
|
|
96
|
+
' ]',
|
|
97
|
+
' },',
|
|
98
|
+
' "invoiceId": "INV-2024-001",',
|
|
99
|
+
' "timestamp": "2026-01-28T19:51:41.085Z"'
|
|
100
|
+
];
|
|
101
|
+
const outputJsonLines = [
|
|
102
|
+
'{',
|
|
103
|
+
' "isValid": true,',
|
|
104
|
+
' "confidence": 0.96',
|
|
105
|
+
'}'
|
|
106
|
+
];
|
|
107
|
+
function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType = 'AI Agent', activeTab = 'properties', onClose }) {
|
|
108
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
109
|
+
className: (0, index_cjs_namespaceObject.cn)('flex w-[930px] shrink-0 flex-col rounded-2xl bg-surface-raised', className),
|
|
110
|
+
children: [
|
|
111
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
112
|
+
className: "flex items-center justify-between border-b border-border p-4",
|
|
113
|
+
children: [
|
|
114
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
115
|
+
className: "flex items-center gap-4",
|
|
116
|
+
children: [
|
|
117
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
118
|
+
className: "flex h-10 w-10 items-center justify-center rounded-xl bg-brand-subtle",
|
|
119
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
|
|
120
|
+
className: "h-6 w-6 text-brand-foreground"
|
|
121
|
+
})
|
|
122
|
+
}),
|
|
123
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
124
|
+
className: "flex flex-col",
|
|
125
|
+
children: [
|
|
126
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
127
|
+
className: "text-base font-semibold leading-5 tracking-[-0.4px] text-foreground",
|
|
128
|
+
children: nodeName
|
|
129
|
+
}),
|
|
130
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
131
|
+
className: "text-sm font-normal leading-5 tracking-[-0.35px] text-foreground-subtle",
|
|
132
|
+
children: nodeType
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
})
|
|
136
|
+
]
|
|
137
|
+
}),
|
|
138
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
139
|
+
className: "flex items-center gap-2",
|
|
140
|
+
children: [
|
|
141
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
142
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
143
|
+
children: [
|
|
144
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
145
|
+
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'),
|
|
146
|
+
children: [
|
|
147
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.TableProperties, {
|
|
148
|
+
className: "h-5 w-5"
|
|
149
|
+
}),
|
|
150
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
151
|
+
children: "Properties"
|
|
152
|
+
})
|
|
153
|
+
]
|
|
154
|
+
}),
|
|
155
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
|
|
156
|
+
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'),
|
|
157
|
+
children: [
|
|
158
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Variable, {
|
|
159
|
+
className: "h-5 w-5"
|
|
160
|
+
}),
|
|
161
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
162
|
+
children: "Variables"
|
|
163
|
+
})
|
|
164
|
+
]
|
|
165
|
+
})
|
|
166
|
+
]
|
|
167
|
+
}),
|
|
168
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
169
|
+
size: "icon",
|
|
170
|
+
variant: "ghost",
|
|
171
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
172
|
+
onClick: onClose,
|
|
173
|
+
"aria-label": "Close properties",
|
|
174
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {})
|
|
175
|
+
})
|
|
176
|
+
]
|
|
177
|
+
})
|
|
178
|
+
]
|
|
179
|
+
}),
|
|
180
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
181
|
+
className: "flex items-center justify-between border-b border-border px-4 py-2",
|
|
182
|
+
children: [
|
|
183
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
184
|
+
className: "flex items-center gap-2",
|
|
185
|
+
children: [
|
|
186
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
187
|
+
size: "icon",
|
|
188
|
+
variant: "ghost",
|
|
189
|
+
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
190
|
+
"aria-label": "Toggle panel dock",
|
|
191
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.PanelRightOpen, {})
|
|
192
|
+
}),
|
|
193
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
194
|
+
className: "flex h-10 items-center rounded-xl border border-border-deep bg-surface-overlay p-1",
|
|
195
|
+
role: "group",
|
|
196
|
+
"aria-label": "Layout toggle",
|
|
197
|
+
children: [
|
|
198
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
199
|
+
type: "button",
|
|
200
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] text-foreground-muted transition-colors hover:text-foreground",
|
|
201
|
+
"aria-label": "Columns layout",
|
|
202
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Columns2, {
|
|
203
|
+
className: "h-5 w-5"
|
|
204
|
+
})
|
|
205
|
+
}),
|
|
206
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
207
|
+
type: "button",
|
|
208
|
+
className: "flex h-8 w-8 items-center justify-center rounded-[10px] border border-border bg-surface text-foreground",
|
|
209
|
+
"aria-label": "Rows layout",
|
|
210
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Rows2, {
|
|
211
|
+
className: "h-5 w-5"
|
|
212
|
+
})
|
|
213
|
+
})
|
|
214
|
+
]
|
|
215
|
+
})
|
|
216
|
+
]
|
|
217
|
+
}),
|
|
218
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(button_cjs_namespaceObject.Button, {
|
|
219
|
+
className: "bg-brand text-foreground-on-accent hover:bg-brand/90 font-semibold",
|
|
220
|
+
children: [
|
|
221
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Play, {
|
|
222
|
+
className: "h-4 w-4"
|
|
223
|
+
}),
|
|
224
|
+
"Run node"
|
|
225
|
+
]
|
|
226
|
+
})
|
|
227
|
+
]
|
|
228
|
+
}),
|
|
229
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
230
|
+
className: "flex flex-1 flex-col overflow-hidden border-b border-border",
|
|
231
|
+
children: [
|
|
232
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
233
|
+
title: "Code"
|
|
234
|
+
}),
|
|
235
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
236
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
237
|
+
children: [
|
|
238
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
239
|
+
label: "Parameters"
|
|
240
|
+
}),
|
|
241
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
242
|
+
label: "Script",
|
|
243
|
+
active: true
|
|
244
|
+
}),
|
|
245
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
246
|
+
label: "Errors"
|
|
247
|
+
})
|
|
248
|
+
]
|
|
249
|
+
}),
|
|
250
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
251
|
+
lines: codeLines
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
}),
|
|
255
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
256
|
+
className: "flex flex-1 overflow-hidden",
|
|
257
|
+
children: [
|
|
258
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
259
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
260
|
+
children: [
|
|
261
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
262
|
+
title: "Input"
|
|
263
|
+
}),
|
|
264
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
265
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
266
|
+
children: [
|
|
267
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
268
|
+
label: "JSON",
|
|
269
|
+
active: true
|
|
270
|
+
}),
|
|
271
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
272
|
+
label: "Table"
|
|
273
|
+
}),
|
|
274
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
275
|
+
label: "List"
|
|
276
|
+
})
|
|
277
|
+
]
|
|
278
|
+
}),
|
|
279
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
280
|
+
lines: inputJsonLines
|
|
281
|
+
})
|
|
282
|
+
]
|
|
283
|
+
}),
|
|
284
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
285
|
+
className: "w-px bg-border-subtle"
|
|
286
|
+
}),
|
|
287
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
288
|
+
className: "flex flex-1 flex-col overflow-hidden",
|
|
289
|
+
children: [
|
|
290
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SectionHeader, {
|
|
291
|
+
title: "Output"
|
|
292
|
+
}),
|
|
293
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
294
|
+
className: "flex items-center gap-1 px-2 pb-2",
|
|
295
|
+
children: [
|
|
296
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
297
|
+
label: "JSON",
|
|
298
|
+
active: true
|
|
299
|
+
}),
|
|
300
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
301
|
+
label: "Table"
|
|
302
|
+
}),
|
|
303
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MiniTab, {
|
|
304
|
+
label: "List"
|
|
305
|
+
})
|
|
306
|
+
]
|
|
307
|
+
}),
|
|
308
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CodeViewer, {
|
|
309
|
+
lines: outputJsonLines
|
|
310
|
+
})
|
|
311
|
+
]
|
|
312
|
+
})
|
|
313
|
+
]
|
|
314
|
+
})
|
|
315
|
+
]
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
exports.PropertiesExpanded = __webpack_exports__.PropertiesExpanded;
|
|
319
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
320
|
+
"PropertiesExpanded"
|
|
321
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
322
|
+
Object.defineProperty(exports, '__esModule', {
|
|
323
|
+
value: true
|
|
324
|
+
});
|