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