@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.
Files changed (187) hide show
  1. package/dist/components/custom/canvas-studio.cjs +133 -0
  2. package/dist/components/custom/canvas-studio.d.ts +99 -0
  3. package/dist/components/custom/canvas-studio.js +93 -0
  4. package/dist/components/custom/canvas.cjs +44 -0
  5. package/dist/components/custom/canvas.d.ts +14 -0
  6. package/dist/components/custom/canvas.js +10 -0
  7. package/dist/components/custom/chat-composer.cjs +105 -0
  8. package/dist/components/custom/chat-composer.d.ts +15 -0
  9. package/dist/components/custom/chat-composer.js +71 -0
  10. package/dist/components/custom/chat-first-experience.cjs +87 -0
  11. package/dist/components/custom/chat-first-experience.d.ts +24 -0
  12. package/dist/components/custom/chat-first-experience.js +53 -0
  13. package/dist/components/custom/chat-prompt-suggestions.cjs +49 -0
  14. package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
  15. package/dist/components/custom/chat-prompt-suggestions.js +15 -0
  16. package/dist/components/custom/chat-steps-view.cjs +308 -0
  17. package/dist/components/custom/chat-steps-view.d.ts +38 -0
  18. package/dist/components/custom/chat-steps-view.js +274 -0
  19. package/dist/components/custom/flow-node.cjs +76 -0
  20. package/dist/components/custom/flow-node.d.ts +20 -0
  21. package/dist/components/custom/flow-node.js +42 -0
  22. package/dist/components/custom/flow-properties-bar.cjs +103 -0
  23. package/dist/components/custom/flow-properties-bar.d.ts +21 -0
  24. package/dist/components/custom/flow-properties-bar.js +69 -0
  25. package/dist/components/custom/flow-properties-expanded.cjs +328 -0
  26. package/dist/components/custom/flow-properties-expanded.d.ts +21 -0
  27. package/dist/components/custom/flow-properties-expanded.js +294 -0
  28. package/dist/components/custom/flow-properties-simple.cjs +364 -0
  29. package/dist/components/custom/flow-properties-simple.d.ts +62 -0
  30. package/dist/components/custom/flow-properties-simple.js +330 -0
  31. package/dist/components/custom/flow-properties.cjs +56 -0
  32. package/dist/components/custom/flow-properties.d.ts +28 -0
  33. package/dist/components/custom/flow-properties.js +22 -0
  34. package/dist/components/custom/global-header.cjs +422 -0
  35. package/dist/components/custom/global-header.d.ts +38 -0
  36. package/dist/components/custom/global-header.js +388 -0
  37. package/dist/components/custom/grid-maestro.cjs +62 -0
  38. package/dist/components/custom/grid-maestro.d.ts +19 -0
  39. package/dist/components/custom/grid-maestro.js +22 -0
  40. package/dist/components/custom/page-header.cjs +92 -0
  41. package/dist/components/custom/page-header.d.ts +43 -0
  42. package/dist/components/custom/page-header.js +58 -0
  43. package/dist/components/custom/panel-delegate.cjs +285 -0
  44. package/dist/components/custom/panel-delegate.d.ts +34 -0
  45. package/dist/components/custom/panel-delegate.js +251 -0
  46. package/dist/components/custom/panel-flow.cjs +262 -0
  47. package/dist/components/custom/panel-flow.d.ts +38 -0
  48. package/dist/components/custom/panel-flow.js +225 -0
  49. package/dist/components/custom/panel-maestro.cjs +74 -0
  50. package/dist/components/custom/panel-maestro.d.ts +30 -0
  51. package/dist/components/custom/panel-maestro.js +40 -0
  52. package/dist/components/custom/panel-studio.cjs +122 -0
  53. package/dist/components/custom/panel-studio.d.ts +48 -0
  54. package/dist/components/custom/panel-studio.js +85 -0
  55. package/dist/components/custom/toolbar-canvas.cjs +124 -0
  56. package/dist/components/custom/toolbar-canvas.d.ts +15 -0
  57. package/dist/components/custom/toolbar-canvas.js +90 -0
  58. package/dist/components/custom/toolbar-view.cjs +121 -0
  59. package/dist/components/custom/toolbar-view.d.ts +14 -0
  60. package/dist/components/custom/toolbar-view.js +87 -0
  61. package/dist/components/custom/viewport-guard.cjs +92 -0
  62. package/dist/components/custom/viewport-guard.d.ts +23 -0
  63. package/dist/components/custom/viewport-guard.js +55 -0
  64. package/dist/components/forms/field-renderer.cjs +3 -1
  65. package/dist/components/forms/field-renderer.js +3 -1
  66. package/dist/components/forms/form-designer.cjs +13 -2
  67. package/dist/components/forms/form-designer.js +13 -2
  68. package/dist/components/forms/rules-engine.d.ts +1 -1
  69. package/dist/components/ui/breadcrumb.cjs +1 -2
  70. package/dist/components/ui/breadcrumb.js +1 -2
  71. package/dist/components/ui/button-group.cjs +5 -3
  72. package/dist/components/ui/button-group.d.ts +2 -2
  73. package/dist/components/ui/button-group.js +5 -3
  74. package/dist/components/ui/button.cjs +3 -3
  75. package/dist/components/ui/button.js +3 -3
  76. package/dist/components/ui/chart.cjs +223 -0
  77. package/dist/components/ui/chart.d.ts +40 -0
  78. package/dist/components/ui/chart.js +174 -0
  79. package/dist/components/ui/code-block.cjs +234 -0
  80. package/dist/components/ui/code-block.d.ts +48 -0
  81. package/dist/components/ui/code-block.js +200 -0
  82. package/dist/components/ui/data-table.cjs +22 -4
  83. package/dist/components/ui/data-table.d.ts +5 -2
  84. package/dist/components/ui/data-table.js +23 -5
  85. package/dist/components/ui/editable-cell.cjs +3 -10
  86. package/dist/components/ui/editable-cell.js +3 -10
  87. package/dist/components/ui/empty-state.cjs +17 -6
  88. package/dist/components/ui/empty-state.d.ts +7 -0
  89. package/dist/components/ui/empty-state.js +17 -6
  90. package/dist/components/ui/file-upload.cjs +8 -0
  91. package/dist/components/ui/file-upload.js +8 -0
  92. package/dist/components/ui/index.cjs +287 -147
  93. package/dist/components/ui/index.d.ts +2 -3
  94. package/dist/components/ui/index.js +2 -3
  95. package/dist/components/ui/multi-select.cjs +3 -10
  96. package/dist/components/ui/multi-select.js +3 -10
  97. package/dist/components/ui/pagination.cjs +0 -1
  98. package/dist/components/ui/pagination.js +0 -1
  99. package/dist/components/ui/resizable.d.ts +1 -1
  100. package/dist/components/ui/tree-view.cjs +1117 -0
  101. package/dist/components/ui/tree-view.d.ts +95 -0
  102. package/dist/components/ui/tree-view.js +1083 -0
  103. package/dist/foundation/Future/colors.cjs +92 -0
  104. package/dist/foundation/Future/colors.d.ts +132 -0
  105. package/dist/foundation/Future/colors.js +43 -0
  106. package/dist/foundation/Future/radius.cjs +46 -0
  107. package/dist/foundation/Future/radius.d.ts +33 -0
  108. package/dist/foundation/Future/radius.js +12 -0
  109. package/dist/foundation/Future/responsive.cjs +49 -0
  110. package/dist/foundation/Future/responsive.d.ts +40 -0
  111. package/dist/foundation/Future/responsive.js +12 -0
  112. package/dist/foundation/Future/shadows.cjs +48 -0
  113. package/dist/foundation/Future/shadows.d.ts +29 -0
  114. package/dist/foundation/Future/shadows.js +11 -0
  115. package/dist/foundation/Future/spacing.cjs +71 -0
  116. package/dist/foundation/Future/spacing.d.ts +80 -0
  117. package/dist/foundation/Future/spacing.js +31 -0
  118. package/dist/foundation/Future/strokes.cjs +59 -0
  119. package/dist/foundation/Future/strokes.d.ts +49 -0
  120. package/dist/foundation/Future/strokes.js +19 -0
  121. package/dist/foundation/Future/types.cjs +18 -0
  122. package/dist/foundation/Future/types.d.ts +25 -0
  123. package/dist/foundation/Future/types.js +0 -0
  124. package/dist/foundation/Future/typography.cjs +79 -0
  125. package/dist/foundation/Future/typography.d.ts +86 -0
  126. package/dist/foundation/Future/typography.js +33 -0
  127. package/dist/index.cjs +131 -221
  128. package/dist/index.d.ts +4 -3
  129. package/dist/index.js +3 -4
  130. package/dist/src/foundation/Future/themes.css +279 -0
  131. package/dist/styles.css +1941 -605
  132. package/dist/tailwind.css +874 -87
  133. package/dist/templates/Admin/settings-admin.d.ts +5 -0
  134. package/dist/templates/Admin/template-admin.d.ts +86 -0
  135. package/dist/templates/Delegate/template-delegate.d.ts +26 -0
  136. package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
  137. package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
  138. package/dist/templates/Flow/template-flow.d.ts +57 -0
  139. package/dist/templates/Maestro/template-maestro.d.ts +52 -0
  140. package/dist/templates/Studio/template-studio.d.ts +102 -0
  141. package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
  142. package/package.json +12 -1
  143. package/dist/components/ui/menubar.cjs +0 -210
  144. package/dist/components/ui/menubar.d.ts +0 -28
  145. package/dist/components/ui/menubar.js +0 -131
  146. package/dist/components/ui/navigation-menu.cjs +0 -122
  147. package/dist/components/ui/navigation-menu.d.ts +0 -12
  148. package/dist/components/ui/navigation-menu.js +0 -64
  149. package/dist/examples/admin-layout-example.cjs +0 -490
  150. package/dist/examples/admin-layout-example.d.ts +0 -92
  151. package/dist/examples/admin-layout-example.js +0 -411
  152. package/dist/examples/app-shell-example.cjs +0 -452
  153. package/dist/examples/app-shell-example.d.ts +0 -52
  154. package/dist/examples/app-shell-example.js +0 -418
  155. package/dist/examples/dashboard-example.cjs +0 -590
  156. package/dist/examples/dashboard-example.d.ts +0 -11
  157. package/dist/examples/dashboard-example.js +0 -556
  158. package/dist/examples/data-management-example.cjs +0 -584
  159. package/dist/examples/data-management-example.d.ts +0 -1
  160. package/dist/examples/data-management-example.js +0 -550
  161. package/dist/examples/flow-editor-layout-example.cjs +0 -309
  162. package/dist/examples/flow-editor-layout-example.d.ts +0 -22
  163. package/dist/examples/flow-editor-layout-example.js +0 -269
  164. package/dist/examples/flow-start-example.cjs +0 -467
  165. package/dist/examples/flow-start-example.d.ts +0 -30
  166. package/dist/examples/flow-start-example.js +0 -433
  167. package/dist/examples/form-builder-example.cjs +0 -674
  168. package/dist/examples/form-builder-example.js +0 -640
  169. package/dist/examples/new-project-example.cjs +0 -550
  170. package/dist/examples/new-project-example.d.ts +0 -30
  171. package/dist/examples/new-project-example.js +0 -516
  172. package/dist/examples/settings-example.cjs +0 -864
  173. package/dist/examples/settings-example.d.ts +0 -1
  174. package/dist/examples/settings-example.js +0 -830
  175. package/dist/examples/vscode-example.cjs +0 -340
  176. package/dist/examples/vscode-example.d.ts +0 -80
  177. package/dist/examples/vscode-example.js +0 -270
  178. package/dist/templates/admin-layout-example.d.ts +0 -92
  179. package/dist/templates/app-shell-example.d.ts +0 -52
  180. package/dist/templates/dashboard-example.d.ts +0 -11
  181. package/dist/templates/data-management-example.d.ts +0 -1
  182. package/dist/templates/flow-editor-layout-example.d.ts +0 -22
  183. package/dist/templates/flow-start-example.d.ts +0 -30
  184. package/dist/templates/form-builder-example.d.ts +0 -1
  185. package/dist/templates/new-project-example.d.ts +0 -30
  186. package/dist/templates/settings-example.d.ts +0 -1
  187. /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
@@ -1,556 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { useState } from "react";
3
- import { Activity, CreditCard, DollarSign, MoreHorizontal, Users } from "lucide-react";
4
- import { Avatar, AvatarFallback, AvatarImage } from "../components/ui/avatar.js";
5
- import { Badge } from "../components/ui/badge.js";
6
- import { Button } from "../components/ui/button.js";
7
- import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "../components/ui/card.js";
8
- import { DataTable, DataTableColumnHeader, DataTableSelectColumn } from "../components/ui/data-table.js";
9
- import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../components/ui/dropdown-menu.js";
10
- import { Column, Grid, Row } from "../components/ui/layout/index.js";
11
- import { Progress } from "../components/ui/progress.js";
12
- import { Separator } from "../components/ui/separator.js";
13
- import { StatsCard } from "../components/ui/stats-card.js";
14
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs.js";
15
- import { cn } from "../lib/index.js";
16
- const transactions = [
17
- {
18
- id: '1',
19
- customer: 'Olivia Martin',
20
- email: 'olivia@example.com',
21
- amount: 1999.0,
22
- status: 'completed',
23
- date: '2024-01-15'
24
- },
25
- {
26
- id: '2',
27
- customer: 'Jackson Lee',
28
- email: 'jackson@example.com',
29
- amount: 39.0,
30
- status: 'completed',
31
- date: '2024-01-14'
32
- },
33
- {
34
- id: '3',
35
- customer: 'Isabella Nguyen',
36
- email: 'isabella@example.com',
37
- amount: 299.0,
38
- status: 'pending',
39
- date: '2024-01-14'
40
- },
41
- {
42
- id: '4',
43
- customer: 'William Kim',
44
- email: 'will@example.com',
45
- amount: 99.0,
46
- status: 'completed',
47
- date: '2024-01-13'
48
- },
49
- {
50
- id: '5',
51
- customer: 'Sofia Davis',
52
- email: 'sofia@example.com',
53
- amount: 450.0,
54
- status: 'failed',
55
- date: '2024-01-12'
56
- }
57
- ];
58
- const recentActivity = [
59
- {
60
- id: '1',
61
- user: 'Olivia Martin',
62
- action: 'Completed purchase of $1,999.00',
63
- time: '2 min ago'
64
- },
65
- {
66
- id: '2',
67
- user: 'Jackson Lee',
68
- action: 'Created new account',
69
- time: '1 hour ago'
70
- },
71
- {
72
- id: '3',
73
- user: 'Isabella Nguyen',
74
- action: 'Submitted support ticket #1234',
75
- time: '3 hours ago'
76
- },
77
- {
78
- id: '4',
79
- user: 'William Kim',
80
- action: 'Updated billing information',
81
- time: '5 hours ago'
82
- }
83
- ];
84
- const columns = [
85
- DataTableSelectColumn(),
86
- {
87
- accessorKey: 'customer',
88
- header: ({ column })=>/*#__PURE__*/ jsx(DataTableColumnHeader, {
89
- column: column,
90
- title: "Customer"
91
- }),
92
- cell: ({ row })=>/*#__PURE__*/ jsxs(Row, {
93
- gap: 2,
94
- align: "center",
95
- children: [
96
- /*#__PURE__*/ jsx(Avatar, {
97
- className: "h-8 w-8",
98
- children: /*#__PURE__*/ jsx(AvatarFallback, {
99
- children: row.original.customer.split(' ').map((n)=>n[0]).join('')
100
- })
101
- }),
102
- /*#__PURE__*/ jsxs(Column, {
103
- gap: 0,
104
- children: [
105
- /*#__PURE__*/ jsx("div", {
106
- className: "font-medium",
107
- children: row.original.customer
108
- }),
109
- /*#__PURE__*/ jsx("div", {
110
- className: "text-xs text-muted-foreground",
111
- children: row.original.email
112
- })
113
- ]
114
- })
115
- ]
116
- })
117
- },
118
- {
119
- accessorKey: 'amount',
120
- header: ({ column })=>/*#__PURE__*/ jsx(DataTableColumnHeader, {
121
- column: column,
122
- title: "Amount"
123
- }),
124
- cell: ({ row })=>{
125
- const amount = parseFloat(row.getValue('amount'));
126
- const formatted = new Intl.NumberFormat('en-US', {
127
- style: 'currency',
128
- currency: 'USD'
129
- }).format(amount);
130
- return /*#__PURE__*/ jsx("div", {
131
- className: "font-medium",
132
- children: formatted
133
- });
134
- }
135
- },
136
- {
137
- accessorKey: 'status',
138
- header: ({ column })=>/*#__PURE__*/ jsx(DataTableColumnHeader, {
139
- column: column,
140
- title: "Status"
141
- }),
142
- cell: ({ row })=>{
143
- const status = row.getValue('status');
144
- return /*#__PURE__*/ jsx(Badge, {
145
- variant: 'completed' === status ? 'default' : 'pending' === status ? 'secondary' : 'destructive',
146
- children: status
147
- });
148
- }
149
- },
150
- {
151
- accessorKey: 'date',
152
- header: ({ column })=>/*#__PURE__*/ jsx(DataTableColumnHeader, {
153
- column: column,
154
- title: "Date"
155
- })
156
- },
157
- {
158
- id: 'actions',
159
- cell: ()=>/*#__PURE__*/ jsxs(DropdownMenu, {
160
- children: [
161
- /*#__PURE__*/ jsx(DropdownMenuTrigger, {
162
- asChild: true,
163
- children: /*#__PURE__*/ jsx(Button, {
164
- variant: "ghost",
165
- size: "icon",
166
- className: "h-8 w-8",
167
- children: /*#__PURE__*/ jsx(MoreHorizontal, {
168
- className: "h-4 w-4"
169
- })
170
- })
171
- }),
172
- /*#__PURE__*/ jsxs(DropdownMenuContent, {
173
- align: "end",
174
- children: [
175
- /*#__PURE__*/ jsx(DropdownMenuItem, {
176
- children: "View details"
177
- }),
178
- /*#__PURE__*/ jsx(DropdownMenuItem, {
179
- children: "Download receipt"
180
- })
181
- ]
182
- })
183
- ]
184
- })
185
- }
186
- ];
187
- function DashboardExample({ className, title = 'Dashboard', description = "Welcome back! Here's an overview of your business.", user = {
188
- name: 'John Doe',
189
- email: 'john@example.com'
190
- } }) {
191
- const [activeTab, setActiveTab] = useState('overview');
192
- return /*#__PURE__*/ jsxs("div", {
193
- className: cn('min-h-screen bg-background', className),
194
- children: [
195
- /*#__PURE__*/ jsx("header", {
196
- className: "border-b",
197
- children: /*#__PURE__*/ jsxs("div", {
198
- className: "container mx-auto flex h-16 items-center justify-between px-4",
199
- children: [
200
- /*#__PURE__*/ jsxs("div", {
201
- children: [
202
- /*#__PURE__*/ jsx("h1", {
203
- className: "text-2xl font-bold",
204
- children: title
205
- }),
206
- /*#__PURE__*/ jsx("p", {
207
- className: "text-sm text-muted-foreground",
208
- children: description
209
- })
210
- ]
211
- }),
212
- /*#__PURE__*/ jsxs(Row, {
213
- gap: 4,
214
- align: "center",
215
- children: [
216
- /*#__PURE__*/ jsx(Button, {
217
- variant: "outline",
218
- size: "sm",
219
- children: "Download Report"
220
- }),
221
- /*#__PURE__*/ jsx(Separator, {
222
- orientation: "vertical",
223
- className: "h-8"
224
- }),
225
- /*#__PURE__*/ jsxs(Row, {
226
- gap: 2,
227
- align: "center",
228
- children: [
229
- /*#__PURE__*/ jsxs(Avatar, {
230
- className: "h-8 w-8",
231
- children: [
232
- /*#__PURE__*/ jsx(AvatarImage, {
233
- src: user.avatar,
234
- alt: user.name
235
- }),
236
- /*#__PURE__*/ jsx(AvatarFallback, {
237
- children: user.name.split(' ').map((n)=>n[0]).join('').toUpperCase()
238
- })
239
- ]
240
- }),
241
- /*#__PURE__*/ jsxs(Column, {
242
- gap: 0,
243
- className: "hidden text-sm md:flex",
244
- children: [
245
- /*#__PURE__*/ jsx("span", {
246
- className: "font-medium",
247
- children: user.name
248
- }),
249
- /*#__PURE__*/ jsx("span", {
250
- className: "text-xs text-muted-foreground",
251
- children: user.email
252
- })
253
- ]
254
- })
255
- ]
256
- })
257
- ]
258
- })
259
- ]
260
- })
261
- }),
262
- /*#__PURE__*/ jsx("main", {
263
- className: "container mx-auto p-4 md:p-6",
264
- children: /*#__PURE__*/ jsxs(Tabs, {
265
- value: activeTab,
266
- onValueChange: setActiveTab,
267
- className: "space-y-6",
268
- children: [
269
- /*#__PURE__*/ jsxs(TabsList, {
270
- children: [
271
- /*#__PURE__*/ jsx(TabsTrigger, {
272
- value: "overview",
273
- children: "Overview"
274
- }),
275
- /*#__PURE__*/ jsx(TabsTrigger, {
276
- value: "analytics",
277
- children: "Analytics"
278
- }),
279
- /*#__PURE__*/ jsx(TabsTrigger, {
280
- value: "reports",
281
- children: "Reports"
282
- })
283
- ]
284
- }),
285
- /*#__PURE__*/ jsxs(TabsContent, {
286
- value: "overview",
287
- className: "space-y-6",
288
- children: [
289
- /*#__PURE__*/ jsxs(Grid, {
290
- gap: 4,
291
- cols: 4,
292
- className: "md:grid-cols-2 lg:grid-cols-4",
293
- children: [
294
- /*#__PURE__*/ jsx(StatsCard, {
295
- title: "Total Revenue",
296
- value: "$45,231.89",
297
- description: "+20.1% from last month",
298
- icon: /*#__PURE__*/ jsx(DollarSign, {
299
- className: "h-4 w-4 text-muted-foreground"
300
- })
301
- }),
302
- /*#__PURE__*/ jsx(StatsCard, {
303
- title: "Subscriptions",
304
- value: "+2,350",
305
- description: "+180.1% from last month",
306
- icon: /*#__PURE__*/ jsx(Users, {
307
- className: "h-4 w-4 text-muted-foreground"
308
- })
309
- }),
310
- /*#__PURE__*/ jsx(StatsCard, {
311
- title: "Sales",
312
- value: "+12,234",
313
- description: "+19% from last month",
314
- icon: /*#__PURE__*/ jsx(CreditCard, {
315
- className: "h-4 w-4 text-muted-foreground"
316
- })
317
- }),
318
- /*#__PURE__*/ jsx(StatsCard, {
319
- title: "Active Now",
320
- value: "+573",
321
- description: "+201 since last hour",
322
- icon: /*#__PURE__*/ jsx(Activity, {
323
- className: "h-4 w-4 text-muted-foreground"
324
- })
325
- })
326
- ]
327
- }),
328
- /*#__PURE__*/ jsxs(Grid, {
329
- gap: 4,
330
- cols: 7,
331
- className: "lg:grid-cols-7",
332
- children: [
333
- /*#__PURE__*/ jsxs(Card, {
334
- className: "lg:col-span-4",
335
- children: [
336
- /*#__PURE__*/ jsxs(CardHeader, {
337
- children: [
338
- /*#__PURE__*/ jsx(CardTitle, {
339
- children: "Recent Transactions"
340
- }),
341
- /*#__PURE__*/ jsx(CardDescription, {
342
- children: "Latest customer transactions"
343
- })
344
- ]
345
- }),
346
- /*#__PURE__*/ jsx(CardContent, {
347
- children: /*#__PURE__*/ jsx(DataTable, {
348
- columns: columns,
349
- data: transactions,
350
- searchKey: "customer",
351
- searchPlaceholder: "Search customers...",
352
- compact: true,
353
- showColumnToggle: false
354
- })
355
- })
356
- ]
357
- }),
358
- /*#__PURE__*/ jsxs(Card, {
359
- className: "lg:col-span-3",
360
- children: [
361
- /*#__PURE__*/ jsxs(CardHeader, {
362
- children: [
363
- /*#__PURE__*/ jsx(CardTitle, {
364
- children: "Recent Activity"
365
- }),
366
- /*#__PURE__*/ jsx(CardDescription, {
367
- children: "Latest updates from your team"
368
- })
369
- ]
370
- }),
371
- /*#__PURE__*/ jsx(CardContent, {
372
- className: "space-y-4",
373
- children: recentActivity.map((activity)=>/*#__PURE__*/ jsxs(Row, {
374
- gap: 3,
375
- align: "start",
376
- children: [
377
- /*#__PURE__*/ jsxs(Avatar, {
378
- className: "h-8 w-8",
379
- children: [
380
- /*#__PURE__*/ jsx(AvatarImage, {
381
- src: activity.avatar
382
- }),
383
- /*#__PURE__*/ jsx(AvatarFallback, {
384
- children: activity.user.split(' ').map((n)=>n[0]).join('')
385
- })
386
- ]
387
- }),
388
- /*#__PURE__*/ jsxs(Column, {
389
- gap: 1,
390
- flex: 1,
391
- children: [
392
- /*#__PURE__*/ jsxs("p", {
393
- className: "text-sm",
394
- children: [
395
- /*#__PURE__*/ jsx("span", {
396
- className: "font-medium",
397
- children: activity.user
398
- }),
399
- ' ',
400
- /*#__PURE__*/ jsx("span", {
401
- className: "text-muted-foreground",
402
- children: activity.action
403
- })
404
- ]
405
- }),
406
- /*#__PURE__*/ jsx("p", {
407
- className: "text-xs text-muted-foreground",
408
- children: activity.time
409
- })
410
- ]
411
- })
412
- ]
413
- }, activity.id))
414
- })
415
- ]
416
- })
417
- ]
418
- }),
419
- /*#__PURE__*/ jsxs(Card, {
420
- children: [
421
- /*#__PURE__*/ jsxs(CardHeader, {
422
- children: [
423
- /*#__PURE__*/ jsx(CardTitle, {
424
- children: "Monthly Goals"
425
- }),
426
- /*#__PURE__*/ jsx(CardDescription, {
427
- children: "Track your progress towards monthly targets"
428
- })
429
- ]
430
- }),
431
- /*#__PURE__*/ jsxs(CardContent, {
432
- className: "space-y-4",
433
- children: [
434
- /*#__PURE__*/ jsxs(Column, {
435
- gap: 2,
436
- children: [
437
- /*#__PURE__*/ jsxs(Row, {
438
- justify: "between",
439
- align: "center",
440
- className: "text-sm",
441
- children: [
442
- /*#__PURE__*/ jsx("span", {
443
- children: "Revenue Target"
444
- }),
445
- /*#__PURE__*/ jsx("span", {
446
- className: "font-medium",
447
- children: "$45,231 / $50,000"
448
- })
449
- ]
450
- }),
451
- /*#__PURE__*/ jsx(Progress, {
452
- value: 90
453
- })
454
- ]
455
- }),
456
- /*#__PURE__*/ jsxs(Column, {
457
- gap: 2,
458
- children: [
459
- /*#__PURE__*/ jsxs(Row, {
460
- justify: "between",
461
- align: "center",
462
- className: "text-sm",
463
- children: [
464
- /*#__PURE__*/ jsx("span", {
465
- children: "New Customers"
466
- }),
467
- /*#__PURE__*/ jsx("span", {
468
- className: "font-medium",
469
- children: "2,350 / 3,000"
470
- })
471
- ]
472
- }),
473
- /*#__PURE__*/ jsx(Progress, {
474
- value: 78
475
- })
476
- ]
477
- }),
478
- /*#__PURE__*/ jsxs(Column, {
479
- gap: 2,
480
- children: [
481
- /*#__PURE__*/ jsxs(Row, {
482
- justify: "between",
483
- align: "center",
484
- className: "text-sm",
485
- children: [
486
- /*#__PURE__*/ jsx("span", {
487
- children: "Support Tickets Resolved"
488
- }),
489
- /*#__PURE__*/ jsx("span", {
490
- className: "font-medium",
491
- children: "145 / 150"
492
- })
493
- ]
494
- }),
495
- /*#__PURE__*/ jsx(Progress, {
496
- value: 97
497
- })
498
- ]
499
- })
500
- ]
501
- })
502
- ]
503
- })
504
- ]
505
- }),
506
- /*#__PURE__*/ jsx(TabsContent, {
507
- value: "analytics",
508
- className: "space-y-6",
509
- children: /*#__PURE__*/ jsxs(Card, {
510
- children: [
511
- /*#__PURE__*/ jsxs(CardHeader, {
512
- children: [
513
- /*#__PURE__*/ jsx(CardTitle, {
514
- children: "Analytics"
515
- }),
516
- /*#__PURE__*/ jsx(CardDescription, {
517
- children: "Detailed analytics coming soon"
518
- })
519
- ]
520
- }),
521
- /*#__PURE__*/ jsx(CardContent, {
522
- className: "h-[400px] flex items-center justify-center text-muted-foreground",
523
- children: "Analytics charts and graphs would go here"
524
- })
525
- ]
526
- })
527
- }),
528
- /*#__PURE__*/ jsx(TabsContent, {
529
- value: "reports",
530
- className: "space-y-6",
531
- children: /*#__PURE__*/ jsxs(Card, {
532
- children: [
533
- /*#__PURE__*/ jsxs(CardHeader, {
534
- children: [
535
- /*#__PURE__*/ jsx(CardTitle, {
536
- children: "Reports"
537
- }),
538
- /*#__PURE__*/ jsx(CardDescription, {
539
- children: "Generate and download reports"
540
- })
541
- ]
542
- }),
543
- /*#__PURE__*/ jsx(CardContent, {
544
- className: "h-[400px] flex items-center justify-center text-muted-foreground",
545
- children: "Report generation interface would go here"
546
- })
547
- ]
548
- })
549
- })
550
- ]
551
- })
552
- })
553
- ]
554
- });
555
- }
556
- export { DashboardExample };