@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b
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/forms/field-renderer.cjs +120 -69
- package/dist/components/forms/field-renderer.js +120 -69
- package/dist/components/forms/form-designer.cjs +2352 -1488
- package/dist/components/forms/form-designer.js +2353 -1489
- package/dist/components/forms/form-examples.cjs +10 -10
- package/dist/components/forms/form-examples.js +10 -10
- package/dist/components/forms/form-state-viewer.cjs +988 -433
- package/dist/components/forms/form-state-viewer.js +988 -433
- package/dist/components/forms/metadata-form.cjs +446 -170
- package/dist/components/forms/metadata-form.js +446 -170
- package/dist/components/forms/schema-viewer.cjs +173 -80
- package/dist/components/forms/schema-viewer.js +173 -80
- package/dist/components/ui/accordion.cjs +131 -27
- package/dist/components/ui/accordion.js +131 -27
- package/dist/components/ui/alert-dialog.cjs +273 -45
- package/dist/components/ui/alert-dialog.js +273 -45
- package/dist/components/ui/alert.cjs +106 -17
- package/dist/components/ui/alert.js +106 -17
- package/dist/components/ui/avatar.cjs +100 -15
- package/dist/components/ui/avatar.js +100 -15
- package/dist/components/ui/badge.cjs +36 -6
- package/dist/components/ui/badge.js +36 -6
- package/dist/components/ui/breadcrumb.cjs +258 -52
- package/dist/components/ui/breadcrumb.js +258 -52
- package/dist/components/ui/button-group.cjs +119 -19
- package/dist/components/ui/button-group.js +119 -19
- package/dist/components/ui/button.cjs +48 -8
- package/dist/components/ui/button.js +48 -8
- package/dist/components/ui/calendar.cjs +88 -30
- package/dist/components/ui/calendar.js +88 -30
- package/dist/components/ui/card.cjs +199 -30
- package/dist/components/ui/card.js +199 -30
- package/dist/components/ui/checkbox.cjs +42 -8
- package/dist/components/ui/checkbox.js +42 -8
- package/dist/components/ui/combobox.cjs +150 -53
- package/dist/components/ui/combobox.js +150 -53
- package/dist/components/ui/command.cjs +291 -53
- package/dist/components/ui/command.js +291 -53
- package/dist/components/ui/context-menu.cjs +370 -72
- package/dist/components/ui/context-menu.js +370 -72
- package/dist/components/ui/data-table.cjs +76 -39
- package/dist/components/ui/data-table.js +76 -39
- package/dist/components/ui/date-picker.cjs +179 -68
- package/dist/components/ui/date-picker.js +179 -68
- package/dist/components/ui/datetime-picker.cjs +225 -104
- package/dist/components/ui/datetime-picker.js +225 -104
- package/dist/components/ui/dialog.cjs +290 -78
- package/dist/components/ui/dialog.js +290 -78
- package/dist/components/ui/drawer.cjs +220 -39
- package/dist/components/ui/drawer.js +220 -39
- package/dist/components/ui/dropdown-menu.cjs +376 -73
- package/dist/components/ui/dropdown-menu.js +376 -73
- package/dist/components/ui/editable-cell.cjs +106 -42
- package/dist/components/ui/editable-cell.js +106 -42
- package/dist/components/ui/empty-state.cjs +106 -33
- package/dist/components/ui/empty-state.js +106 -33
- package/dist/components/ui/file-upload.cjs +405 -187
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +405 -187
- package/dist/components/ui/hover-card.cjs +46 -7
- package/dist/components/ui/hover-card.js +46 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/input.cjs +39 -6
- package/dist/components/ui/input.js +39 -6
- package/dist/components/ui/label.cjs +34 -5
- package/dist/components/ui/label.js +34 -5
- package/dist/components/ui/layout/column.cjs +209 -41
- package/dist/components/ui/layout/column.js +209 -41
- package/dist/components/ui/layout/grid.cjs +275 -60
- package/dist/components/ui/layout/grid.js +275 -60
- package/dist/components/ui/layout/row.cjs +209 -41
- package/dist/components/ui/layout/row.js +209 -41
- package/dist/components/ui/menubar.cjs +540 -106
- package/dist/components/ui/menubar.js +540 -106
- package/dist/components/ui/multi-select.cjs +289 -135
- package/dist/components/ui/multi-select.js +289 -135
- package/dist/components/ui/navigation-menu.cjs +244 -47
- package/dist/components/ui/navigation-menu.js +244 -47
- package/dist/components/ui/pagination.cjs +301 -65
- package/dist/components/ui/pagination.js +301 -65
- package/dist/components/ui/popover.cjs +48 -9
- package/dist/components/ui/popover.js +48 -9
- package/dist/components/ui/progress.cjs +48 -8
- package/dist/components/ui/progress.js +48 -8
- package/dist/components/ui/radio-group.cjs +74 -12
- package/dist/components/ui/radio-group.js +74 -12
- package/dist/components/ui/resizable.cjs +75 -10
- package/dist/components/ui/resizable.js +75 -10
- package/dist/components/ui/scroll-area.cjs +113 -21
- package/dist/components/ui/scroll-area.js +113 -21
- package/dist/components/ui/search.cjs +280 -98
- package/dist/components/ui/search.js +280 -98
- package/dist/components/ui/select.cjs +334 -68
- package/dist/components/ui/select.js +334 -68
- package/dist/components/ui/separator.cjs +48 -7
- package/dist/components/ui/separator.js +48 -7
- package/dist/components/ui/sheet.cjs +236 -50
- package/dist/components/ui/sheet.js +236 -50
- package/dist/components/ui/skeleton.cjs +31 -5
- package/dist/components/ui/skeleton.js +31 -5
- package/dist/components/ui/slider.cjs +71 -21
- package/dist/components/ui/slider.js +71 -21
- package/dist/components/ui/sonner.cjs +43 -15
- package/dist/components/ui/sonner.js +43 -15
- package/dist/components/ui/spinner.cjs +83 -21
- package/dist/components/ui/spinner.js +83 -21
- package/dist/components/ui/stats-card.cjs +169 -60
- package/dist/components/ui/stats-card.js +169 -60
- package/dist/components/ui/stepper.cjs +126 -57
- package/dist/components/ui/stepper.js +126 -57
- package/dist/components/ui/switch.cjs +42 -8
- package/dist/components/ui/switch.js +42 -8
- package/dist/components/ui/table.cjs +267 -42
- package/dist/components/ui/table.js +267 -42
- package/dist/components/ui/tabs.cjs +100 -15
- package/dist/components/ui/tabs.js +100 -15
- package/dist/components/ui/textarea.cjs +34 -5
- package/dist/components/ui/textarea.js +34 -5
- package/dist/components/ui/toggle-group.cjs +112 -19
- package/dist/components/ui/toggle-group.js +112 -19
- package/dist/components/ui/toggle.cjs +43 -6
- package/dist/components/ui/toggle.js +43 -6
- package/dist/components/ui/tooltip.cjs +40 -6
- package/dist/components/ui/tooltip.js +40 -6
- package/dist/examples/admin-layout-example.cjs +879 -347
- package/dist/examples/admin-layout-example.js +879 -347
- package/dist/examples/app-shell-example.cjs +14 -14
- package/dist/examples/app-shell-example.js +14 -14
- package/dist/examples/dashboard-example.cjs +495 -334
- package/dist/examples/dashboard-example.js +495 -334
- package/dist/examples/data-management-example.cjs +501 -303
- package/dist/examples/data-management-example.js +502 -304
- package/dist/examples/flow-editor-layout-example.cjs +435 -231
- package/dist/examples/flow-editor-layout-example.js +436 -232
- package/dist/examples/flow-start-example.cjs +508 -251
- package/dist/examples/flow-start-example.js +509 -252
- package/dist/examples/form-builder-example.cjs +1006 -602
- package/dist/examples/form-builder-example.js +1007 -603
- package/dist/examples/new-project-example.cjs +806 -474
- package/dist/examples/new-project-example.js +807 -475
- package/dist/examples/settings-example.cjs +792 -704
- package/dist/examples/settings-example.js +792 -704
- package/dist/examples/vscode-example.cjs +731 -236
- package/dist/examples/vscode-example.js +731 -236
- package/package.json +4 -1
|
@@ -27,6 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
DashboardExample: ()=>DashboardExample
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
30
31
|
const external_react_namespaceObject = require("react");
|
|
31
32
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
33
|
const avatar_cjs_namespaceObject = require("../components/ui/avatar.cjs");
|
|
@@ -212,44 +213,460 @@ const columns = [
|
|
|
212
213
|
})
|
|
213
214
|
}
|
|
214
215
|
];
|
|
215
|
-
function DashboardExample(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
const
|
|
216
|
+
function DashboardExample(t0) {
|
|
217
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(39);
|
|
218
|
+
const { className, title: t1, description: t2, user: t3 } = t0;
|
|
219
|
+
const title = void 0 === t1 ? "Dashboard" : t1;
|
|
220
|
+
const description = void 0 === t2 ? "Welcome back! Here's an overview of your business." : t2;
|
|
221
|
+
const user = void 0 === t3 ? {
|
|
222
|
+
name: "John Doe",
|
|
223
|
+
email: "john@example.com"
|
|
224
|
+
} : t3;
|
|
225
|
+
const [activeTab, setActiveTab] = external_react_namespaceObject.useState("overview");
|
|
226
|
+
let t4;
|
|
227
|
+
if ($[0] !== className) {
|
|
228
|
+
t4 = (0, external_lib_index_cjs_namespaceObject.cn)("min-h-screen bg-background", className);
|
|
229
|
+
$[0] = className;
|
|
230
|
+
$[1] = t4;
|
|
231
|
+
} else t4 = $[1];
|
|
232
|
+
let t5;
|
|
233
|
+
if ($[2] !== title) {
|
|
234
|
+
t5 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h1", {
|
|
235
|
+
className: "text-2xl font-bold",
|
|
236
|
+
children: title
|
|
237
|
+
});
|
|
238
|
+
$[2] = title;
|
|
239
|
+
$[3] = t5;
|
|
240
|
+
} else t5 = $[3];
|
|
241
|
+
let t6;
|
|
242
|
+
if ($[4] !== description) {
|
|
243
|
+
t6 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
|
|
244
|
+
className: "text-sm text-muted-foreground",
|
|
245
|
+
children: description
|
|
246
|
+
});
|
|
247
|
+
$[4] = description;
|
|
248
|
+
$[5] = t6;
|
|
249
|
+
} else t6 = $[5];
|
|
250
|
+
let t7;
|
|
251
|
+
if ($[6] !== t5 || $[7] !== t6) {
|
|
252
|
+
t7 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
253
|
+
children: [
|
|
254
|
+
t5,
|
|
255
|
+
t6
|
|
256
|
+
]
|
|
257
|
+
});
|
|
258
|
+
$[6] = t5;
|
|
259
|
+
$[7] = t6;
|
|
260
|
+
$[8] = t7;
|
|
261
|
+
} else t7 = $[8];
|
|
262
|
+
let t8;
|
|
263
|
+
let t9;
|
|
264
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
265
|
+
t8 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
266
|
+
variant: "outline",
|
|
267
|
+
size: "sm",
|
|
268
|
+
children: "Download Report"
|
|
269
|
+
});
|
|
270
|
+
t9 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(separator_cjs_namespaceObject.Separator, {
|
|
271
|
+
orientation: "vertical",
|
|
272
|
+
className: "h-8"
|
|
273
|
+
});
|
|
274
|
+
$[9] = t8;
|
|
275
|
+
$[10] = t9;
|
|
276
|
+
} else {
|
|
277
|
+
t8 = $[9];
|
|
278
|
+
t9 = $[10];
|
|
279
|
+
}
|
|
280
|
+
const T0 = avatar_cjs_namespaceObject.AvatarFallback;
|
|
281
|
+
const t10 = user.name.split(" ").map(_temp).join("").toUpperCase();
|
|
282
|
+
let t11;
|
|
283
|
+
if ($[11] !== T0 || $[12] !== t10) {
|
|
284
|
+
t11 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(T0, {
|
|
285
|
+
children: t10
|
|
286
|
+
});
|
|
287
|
+
$[11] = T0;
|
|
288
|
+
$[12] = t10;
|
|
289
|
+
$[13] = t11;
|
|
290
|
+
} else t11 = $[13];
|
|
291
|
+
let t12;
|
|
292
|
+
if ($[14] !== user.name) {
|
|
293
|
+
t12 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
294
|
+
className: "font-medium",
|
|
295
|
+
children: user.name
|
|
296
|
+
});
|
|
297
|
+
$[14] = user.name;
|
|
298
|
+
$[15] = t12;
|
|
299
|
+
} else t12 = $[15];
|
|
300
|
+
let t13;
|
|
301
|
+
if ($[16] !== user.email) {
|
|
302
|
+
t13 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
303
|
+
className: "text-xs text-muted-foreground",
|
|
304
|
+
children: user.email
|
|
305
|
+
});
|
|
306
|
+
$[16] = user.email;
|
|
307
|
+
$[17] = t13;
|
|
308
|
+
} else t13 = $[17];
|
|
309
|
+
let t14;
|
|
310
|
+
if ($[18] !== t12 || $[19] !== t13) {
|
|
311
|
+
t14 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
312
|
+
gap: 0,
|
|
313
|
+
className: "hidden text-sm md:flex",
|
|
314
|
+
children: [
|
|
315
|
+
t12,
|
|
316
|
+
t13
|
|
317
|
+
]
|
|
318
|
+
});
|
|
319
|
+
$[18] = t12;
|
|
320
|
+
$[19] = t13;
|
|
321
|
+
$[20] = t14;
|
|
322
|
+
} else t14 = $[20];
|
|
323
|
+
let t15;
|
|
324
|
+
if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
|
|
325
|
+
t15 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(tabs_cjs_namespaceObject.TabsList, {
|
|
326
|
+
children: [
|
|
327
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsTrigger, {
|
|
328
|
+
value: "overview",
|
|
329
|
+
children: "Overview"
|
|
330
|
+
}),
|
|
331
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsTrigger, {
|
|
332
|
+
value: "analytics",
|
|
333
|
+
children: "Analytics"
|
|
334
|
+
}),
|
|
335
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsTrigger, {
|
|
336
|
+
value: "reports",
|
|
337
|
+
children: "Reports"
|
|
338
|
+
})
|
|
339
|
+
]
|
|
340
|
+
});
|
|
341
|
+
$[21] = t15;
|
|
342
|
+
} else t15 = $[21];
|
|
343
|
+
let t16;
|
|
344
|
+
if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
|
|
345
|
+
t16 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
346
|
+
title: "Total Revenue",
|
|
347
|
+
value: "$45,231.89",
|
|
348
|
+
description: "+20.1% from last month",
|
|
349
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.DollarSign, {
|
|
350
|
+
className: "h-4 w-4 text-muted-foreground"
|
|
351
|
+
})
|
|
352
|
+
});
|
|
353
|
+
$[22] = t16;
|
|
354
|
+
} else t16 = $[22];
|
|
355
|
+
let t17;
|
|
356
|
+
if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
357
|
+
t17 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
358
|
+
title: "Subscriptions",
|
|
359
|
+
value: "+2,350",
|
|
360
|
+
description: "+180.1% from last month",
|
|
361
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Users, {
|
|
362
|
+
className: "h-4 w-4 text-muted-foreground"
|
|
363
|
+
})
|
|
364
|
+
});
|
|
365
|
+
$[23] = t17;
|
|
366
|
+
} else t17 = $[23];
|
|
367
|
+
let t18;
|
|
368
|
+
if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
369
|
+
t18 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
370
|
+
title: "Sales",
|
|
371
|
+
value: "+12,234",
|
|
372
|
+
description: "+19% from last month",
|
|
373
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CreditCard, {
|
|
374
|
+
className: "h-4 w-4 text-muted-foreground"
|
|
375
|
+
})
|
|
376
|
+
});
|
|
377
|
+
$[24] = t18;
|
|
378
|
+
} else t18 = $[24];
|
|
379
|
+
let t19;
|
|
380
|
+
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
381
|
+
t19 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Grid, {
|
|
382
|
+
gap: 4,
|
|
383
|
+
cols: 4,
|
|
384
|
+
className: "md:grid-cols-2 lg:grid-cols-4",
|
|
385
|
+
children: [
|
|
386
|
+
t16,
|
|
387
|
+
t17,
|
|
388
|
+
t18,
|
|
389
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
390
|
+
title: "Active Now",
|
|
391
|
+
value: "+573",
|
|
392
|
+
description: "+201 since last hour",
|
|
393
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Activity, {
|
|
394
|
+
className: "h-4 w-4 text-muted-foreground"
|
|
395
|
+
})
|
|
396
|
+
})
|
|
397
|
+
]
|
|
398
|
+
});
|
|
399
|
+
$[25] = t19;
|
|
400
|
+
} else t19 = $[25];
|
|
401
|
+
let t20;
|
|
402
|
+
if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
|
|
403
|
+
t20 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
404
|
+
children: [
|
|
405
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
406
|
+
children: "Recent Transactions"
|
|
407
|
+
}),
|
|
408
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
409
|
+
children: "Latest customer transactions"
|
|
410
|
+
})
|
|
411
|
+
]
|
|
412
|
+
});
|
|
413
|
+
$[26] = t20;
|
|
414
|
+
} else t20 = $[26];
|
|
415
|
+
let t21;
|
|
416
|
+
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
417
|
+
t21 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
418
|
+
className: "lg:col-span-4",
|
|
419
|
+
children: [
|
|
420
|
+
t20,
|
|
421
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
422
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(data_table_cjs_namespaceObject.DataTable, {
|
|
423
|
+
columns: columns,
|
|
424
|
+
data: transactions,
|
|
425
|
+
searchKey: "customer",
|
|
426
|
+
searchPlaceholder: "Search customers...",
|
|
427
|
+
compact: true,
|
|
428
|
+
showColumnToggle: false
|
|
429
|
+
})
|
|
430
|
+
})
|
|
431
|
+
]
|
|
432
|
+
});
|
|
433
|
+
$[27] = t21;
|
|
434
|
+
} else t21 = $[27];
|
|
435
|
+
let t22;
|
|
436
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
437
|
+
t22 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
438
|
+
children: [
|
|
439
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
440
|
+
children: "Recent Activity"
|
|
441
|
+
}),
|
|
442
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
443
|
+
children: "Latest updates from your team"
|
|
444
|
+
})
|
|
445
|
+
]
|
|
446
|
+
});
|
|
447
|
+
$[28] = t22;
|
|
448
|
+
} else t22 = $[28];
|
|
449
|
+
let t23;
|
|
450
|
+
if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
|
|
451
|
+
t23 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Grid, {
|
|
452
|
+
gap: 4,
|
|
453
|
+
cols: 7,
|
|
454
|
+
className: "lg:grid-cols-7",
|
|
455
|
+
children: [
|
|
456
|
+
t21,
|
|
457
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
458
|
+
className: "lg:col-span-3",
|
|
459
|
+
children: [
|
|
460
|
+
t22,
|
|
461
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
462
|
+
className: "space-y-4",
|
|
463
|
+
children: recentActivity.map(_temp3)
|
|
464
|
+
})
|
|
465
|
+
]
|
|
466
|
+
})
|
|
467
|
+
]
|
|
468
|
+
});
|
|
469
|
+
$[29] = t23;
|
|
470
|
+
} else t23 = $[29];
|
|
471
|
+
let t24;
|
|
472
|
+
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
473
|
+
t24 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
474
|
+
children: [
|
|
475
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
476
|
+
children: "Monthly Goals"
|
|
477
|
+
}),
|
|
478
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
479
|
+
children: "Track your progress towards monthly targets"
|
|
480
|
+
})
|
|
481
|
+
]
|
|
482
|
+
});
|
|
483
|
+
$[30] = t24;
|
|
484
|
+
} else t24 = $[30];
|
|
485
|
+
let t25;
|
|
486
|
+
if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
|
|
487
|
+
t25 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
488
|
+
gap: 2,
|
|
489
|
+
children: [
|
|
490
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
491
|
+
justify: "between",
|
|
492
|
+
align: "center",
|
|
493
|
+
className: "text-sm",
|
|
494
|
+
children: [
|
|
495
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
496
|
+
children: "Revenue Target"
|
|
497
|
+
}),
|
|
498
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
499
|
+
className: "font-medium",
|
|
500
|
+
children: "$45,231 / $50,000"
|
|
501
|
+
})
|
|
502
|
+
]
|
|
503
|
+
}),
|
|
504
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
505
|
+
value: 90
|
|
506
|
+
})
|
|
507
|
+
]
|
|
508
|
+
});
|
|
509
|
+
$[31] = t25;
|
|
510
|
+
} else t25 = $[31];
|
|
511
|
+
let t26;
|
|
512
|
+
if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
|
|
513
|
+
t26 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
514
|
+
gap: 2,
|
|
515
|
+
children: [
|
|
516
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
517
|
+
justify: "between",
|
|
518
|
+
align: "center",
|
|
519
|
+
className: "text-sm",
|
|
520
|
+
children: [
|
|
521
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
522
|
+
children: "New Customers"
|
|
523
|
+
}),
|
|
524
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
525
|
+
className: "font-medium",
|
|
526
|
+
children: "2,350 / 3,000"
|
|
527
|
+
})
|
|
528
|
+
]
|
|
529
|
+
}),
|
|
530
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
531
|
+
value: 78
|
|
532
|
+
})
|
|
533
|
+
]
|
|
534
|
+
});
|
|
535
|
+
$[32] = t26;
|
|
536
|
+
} else t26 = $[32];
|
|
537
|
+
let t27;
|
|
538
|
+
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
539
|
+
t27 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(tabs_cjs_namespaceObject.TabsContent, {
|
|
540
|
+
value: "overview",
|
|
541
|
+
className: "space-y-6",
|
|
542
|
+
children: [
|
|
543
|
+
t19,
|
|
544
|
+
t23,
|
|
545
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
546
|
+
children: [
|
|
547
|
+
t24,
|
|
548
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
|
|
549
|
+
className: "space-y-4",
|
|
550
|
+
children: [
|
|
551
|
+
t25,
|
|
552
|
+
t26,
|
|
553
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
554
|
+
gap: 2,
|
|
555
|
+
children: [
|
|
556
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
557
|
+
justify: "between",
|
|
558
|
+
align: "center",
|
|
559
|
+
className: "text-sm",
|
|
560
|
+
children: [
|
|
561
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
562
|
+
children: "Support Tickets Resolved"
|
|
563
|
+
}),
|
|
564
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
565
|
+
className: "font-medium",
|
|
566
|
+
children: "145 / 150"
|
|
567
|
+
})
|
|
568
|
+
]
|
|
569
|
+
}),
|
|
570
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
571
|
+
value: 97
|
|
572
|
+
})
|
|
573
|
+
]
|
|
574
|
+
})
|
|
575
|
+
]
|
|
576
|
+
})
|
|
577
|
+
]
|
|
578
|
+
})
|
|
579
|
+
]
|
|
580
|
+
});
|
|
581
|
+
$[33] = t27;
|
|
582
|
+
} else t27 = $[33];
|
|
583
|
+
let t28;
|
|
584
|
+
if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
585
|
+
t28 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
586
|
+
value: "analytics",
|
|
587
|
+
className: "space-y-6",
|
|
588
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
589
|
+
children: [
|
|
590
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
591
|
+
children: [
|
|
592
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
593
|
+
children: "Analytics"
|
|
594
|
+
}),
|
|
595
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
596
|
+
children: "Detailed analytics coming soon"
|
|
597
|
+
})
|
|
598
|
+
]
|
|
599
|
+
}),
|
|
600
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
601
|
+
className: "h-[400px] flex items-center justify-center text-muted-foreground",
|
|
602
|
+
children: "Analytics charts and graphs would go here"
|
|
603
|
+
})
|
|
604
|
+
]
|
|
605
|
+
})
|
|
606
|
+
});
|
|
607
|
+
$[34] = t28;
|
|
608
|
+
} else t28 = $[34];
|
|
609
|
+
let t29;
|
|
610
|
+
if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
|
|
611
|
+
t29 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
612
|
+
value: "reports",
|
|
613
|
+
className: "space-y-6",
|
|
614
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
615
|
+
children: [
|
|
616
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
617
|
+
children: [
|
|
618
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
619
|
+
children: "Reports"
|
|
620
|
+
}),
|
|
621
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
622
|
+
children: "Generate and download reports"
|
|
623
|
+
})
|
|
624
|
+
]
|
|
625
|
+
}),
|
|
626
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
627
|
+
className: "h-[400px] flex items-center justify-center text-muted-foreground",
|
|
628
|
+
children: "Report generation interface would go here"
|
|
629
|
+
})
|
|
630
|
+
]
|
|
631
|
+
})
|
|
632
|
+
});
|
|
633
|
+
$[35] = t29;
|
|
634
|
+
} else t29 = $[35];
|
|
635
|
+
let t30;
|
|
636
|
+
if ($[36] !== activeTab || $[37] !== setActiveTab) {
|
|
637
|
+
t30 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("main", {
|
|
638
|
+
className: "container mx-auto p-4 md:p-6",
|
|
639
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(tabs_cjs_namespaceObject.Tabs, {
|
|
640
|
+
value: activeTab,
|
|
641
|
+
onValueChange: setActiveTab,
|
|
642
|
+
className: "space-y-6",
|
|
643
|
+
children: [
|
|
644
|
+
t15,
|
|
645
|
+
t27,
|
|
646
|
+
t28,
|
|
647
|
+
t29
|
|
648
|
+
]
|
|
649
|
+
})
|
|
650
|
+
});
|
|
651
|
+
$[36] = activeTab;
|
|
652
|
+
$[37] = setActiveTab;
|
|
653
|
+
$[38] = t30;
|
|
654
|
+
} else t30 = $[38];
|
|
220
655
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
221
|
-
className:
|
|
656
|
+
className: t4,
|
|
222
657
|
children: [
|
|
223
658
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("header", {
|
|
224
659
|
className: "border-b",
|
|
225
660
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
226
661
|
className: "container mx-auto flex h-16 items-center justify-between px-4",
|
|
227
662
|
children: [
|
|
228
|
-
|
|
229
|
-
children: [
|
|
230
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h1", {
|
|
231
|
-
className: "text-2xl font-bold",
|
|
232
|
-
children: title
|
|
233
|
-
}),
|
|
234
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
|
|
235
|
-
className: "text-sm text-muted-foreground",
|
|
236
|
-
children: description
|
|
237
|
-
})
|
|
238
|
-
]
|
|
239
|
-
}),
|
|
663
|
+
t7,
|
|
240
664
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
241
665
|
gap: 4,
|
|
242
666
|
align: "center",
|
|
243
667
|
children: [
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
size: "sm",
|
|
247
|
-
children: "Download Report"
|
|
248
|
-
}),
|
|
249
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(separator_cjs_namespaceObject.Separator, {
|
|
250
|
-
orientation: "vertical",
|
|
251
|
-
className: "h-8"
|
|
252
|
-
}),
|
|
668
|
+
t8,
|
|
669
|
+
t9,
|
|
253
670
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
254
671
|
gap: 2,
|
|
255
672
|
align: "center",
|
|
@@ -261,25 +678,10 @@ function DashboardExample({ className, title = 'Dashboard', description = "Welco
|
|
|
261
678
|
src: user.avatar,
|
|
262
679
|
alt: user.name
|
|
263
680
|
}),
|
|
264
|
-
|
|
265
|
-
children: user.name.split(' ').map((n)=>n[0]).join('').toUpperCase()
|
|
266
|
-
})
|
|
681
|
+
t11
|
|
267
682
|
]
|
|
268
683
|
}),
|
|
269
|
-
|
|
270
|
-
gap: 0,
|
|
271
|
-
className: "hidden text-sm md:flex",
|
|
272
|
-
children: [
|
|
273
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
274
|
-
className: "font-medium",
|
|
275
|
-
children: user.name
|
|
276
|
-
}),
|
|
277
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
278
|
-
className: "text-xs text-muted-foreground",
|
|
279
|
-
children: user.email
|
|
280
|
-
})
|
|
281
|
-
]
|
|
282
|
-
})
|
|
684
|
+
t14
|
|
283
685
|
]
|
|
284
686
|
})
|
|
285
687
|
]
|
|
@@ -287,299 +689,58 @@ function DashboardExample({ className, title = 'Dashboard', description = "Welco
|
|
|
287
689
|
]
|
|
288
690
|
})
|
|
289
691
|
}),
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
description: "+20.1% from last month",
|
|
326
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.DollarSign, {
|
|
327
|
-
className: "h-4 w-4 text-muted-foreground"
|
|
328
|
-
})
|
|
329
|
-
}),
|
|
330
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
331
|
-
title: "Subscriptions",
|
|
332
|
-
value: "+2,350",
|
|
333
|
-
description: "+180.1% from last month",
|
|
334
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Users, {
|
|
335
|
-
className: "h-4 w-4 text-muted-foreground"
|
|
336
|
-
})
|
|
337
|
-
}),
|
|
338
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
339
|
-
title: "Sales",
|
|
340
|
-
value: "+12,234",
|
|
341
|
-
description: "+19% from last month",
|
|
342
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.CreditCard, {
|
|
343
|
-
className: "h-4 w-4 text-muted-foreground"
|
|
344
|
-
})
|
|
345
|
-
}),
|
|
346
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(stats_card_cjs_namespaceObject.StatsCard, {
|
|
347
|
-
title: "Active Now",
|
|
348
|
-
value: "+573",
|
|
349
|
-
description: "+201 since last hour",
|
|
350
|
-
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Activity, {
|
|
351
|
-
className: "h-4 w-4 text-muted-foreground"
|
|
352
|
-
})
|
|
353
|
-
})
|
|
354
|
-
]
|
|
355
|
-
}),
|
|
356
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Grid, {
|
|
357
|
-
gap: 4,
|
|
358
|
-
cols: 7,
|
|
359
|
-
className: "lg:grid-cols-7",
|
|
360
|
-
children: [
|
|
361
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
362
|
-
className: "lg:col-span-4",
|
|
363
|
-
children: [
|
|
364
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
365
|
-
children: [
|
|
366
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
367
|
-
children: "Recent Transactions"
|
|
368
|
-
}),
|
|
369
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
370
|
-
children: "Latest customer transactions"
|
|
371
|
-
})
|
|
372
|
-
]
|
|
373
|
-
}),
|
|
374
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
375
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(data_table_cjs_namespaceObject.DataTable, {
|
|
376
|
-
columns: columns,
|
|
377
|
-
data: transactions,
|
|
378
|
-
searchKey: "customer",
|
|
379
|
-
searchPlaceholder: "Search customers...",
|
|
380
|
-
compact: true,
|
|
381
|
-
showColumnToggle: false
|
|
382
|
-
})
|
|
383
|
-
})
|
|
384
|
-
]
|
|
385
|
-
}),
|
|
386
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
387
|
-
className: "lg:col-span-3",
|
|
388
|
-
children: [
|
|
389
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
390
|
-
children: [
|
|
391
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
392
|
-
children: "Recent Activity"
|
|
393
|
-
}),
|
|
394
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
395
|
-
children: "Latest updates from your team"
|
|
396
|
-
})
|
|
397
|
-
]
|
|
398
|
-
}),
|
|
399
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
400
|
-
className: "space-y-4",
|
|
401
|
-
children: recentActivity.map((activity)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
402
|
-
gap: 3,
|
|
403
|
-
align: "start",
|
|
404
|
-
children: [
|
|
405
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(avatar_cjs_namespaceObject.Avatar, {
|
|
406
|
-
className: "h-8 w-8",
|
|
407
|
-
children: [
|
|
408
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarImage, {
|
|
409
|
-
src: activity.avatar
|
|
410
|
-
}),
|
|
411
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarFallback, {
|
|
412
|
-
children: activity.user.split(' ').map((n)=>n[0]).join('')
|
|
413
|
-
})
|
|
414
|
-
]
|
|
415
|
-
}),
|
|
416
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
417
|
-
gap: 1,
|
|
418
|
-
flex: 1,
|
|
419
|
-
children: [
|
|
420
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("p", {
|
|
421
|
-
className: "text-sm",
|
|
422
|
-
children: [
|
|
423
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
424
|
-
className: "font-medium",
|
|
425
|
-
children: activity.user
|
|
426
|
-
}),
|
|
427
|
-
' ',
|
|
428
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
429
|
-
className: "text-muted-foreground",
|
|
430
|
-
children: activity.action
|
|
431
|
-
})
|
|
432
|
-
]
|
|
433
|
-
}),
|
|
434
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
|
|
435
|
-
className: "text-xs text-muted-foreground",
|
|
436
|
-
children: activity.time
|
|
437
|
-
})
|
|
438
|
-
]
|
|
439
|
-
})
|
|
440
|
-
]
|
|
441
|
-
}, activity.id))
|
|
442
|
-
})
|
|
443
|
-
]
|
|
444
|
-
})
|
|
445
|
-
]
|
|
446
|
-
}),
|
|
447
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
448
|
-
children: [
|
|
449
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
450
|
-
children: [
|
|
451
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
452
|
-
children: "Monthly Goals"
|
|
453
|
-
}),
|
|
454
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
455
|
-
children: "Track your progress towards monthly targets"
|
|
456
|
-
})
|
|
457
|
-
]
|
|
458
|
-
}),
|
|
459
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardContent, {
|
|
460
|
-
className: "space-y-4",
|
|
461
|
-
children: [
|
|
462
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
463
|
-
gap: 2,
|
|
464
|
-
children: [
|
|
465
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
466
|
-
justify: "between",
|
|
467
|
-
align: "center",
|
|
468
|
-
className: "text-sm",
|
|
469
|
-
children: [
|
|
470
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
471
|
-
children: "Revenue Target"
|
|
472
|
-
}),
|
|
473
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
474
|
-
className: "font-medium",
|
|
475
|
-
children: "$45,231 / $50,000"
|
|
476
|
-
})
|
|
477
|
-
]
|
|
478
|
-
}),
|
|
479
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
480
|
-
value: 90
|
|
481
|
-
})
|
|
482
|
-
]
|
|
483
|
-
}),
|
|
484
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
485
|
-
gap: 2,
|
|
486
|
-
children: [
|
|
487
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
488
|
-
justify: "between",
|
|
489
|
-
align: "center",
|
|
490
|
-
className: "text-sm",
|
|
491
|
-
children: [
|
|
492
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
493
|
-
children: "New Customers"
|
|
494
|
-
}),
|
|
495
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
496
|
-
className: "font-medium",
|
|
497
|
-
children: "2,350 / 3,000"
|
|
498
|
-
})
|
|
499
|
-
]
|
|
500
|
-
}),
|
|
501
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
502
|
-
value: 78
|
|
503
|
-
})
|
|
504
|
-
]
|
|
505
|
-
}),
|
|
506
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
507
|
-
gap: 2,
|
|
508
|
-
children: [
|
|
509
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
510
|
-
justify: "between",
|
|
511
|
-
align: "center",
|
|
512
|
-
className: "text-sm",
|
|
513
|
-
children: [
|
|
514
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
515
|
-
children: "Support Tickets Resolved"
|
|
516
|
-
}),
|
|
517
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
518
|
-
className: "font-medium",
|
|
519
|
-
children: "145 / 150"
|
|
520
|
-
})
|
|
521
|
-
]
|
|
522
|
-
}),
|
|
523
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(progress_cjs_namespaceObject.Progress, {
|
|
524
|
-
value: 97
|
|
525
|
-
})
|
|
526
|
-
]
|
|
527
|
-
})
|
|
528
|
-
]
|
|
529
|
-
})
|
|
530
|
-
]
|
|
531
|
-
})
|
|
532
|
-
]
|
|
533
|
-
}),
|
|
534
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
535
|
-
value: "analytics",
|
|
536
|
-
className: "space-y-6",
|
|
537
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
538
|
-
children: [
|
|
539
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
540
|
-
children: [
|
|
541
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
542
|
-
children: "Analytics"
|
|
543
|
-
}),
|
|
544
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
545
|
-
children: "Detailed analytics coming soon"
|
|
546
|
-
})
|
|
547
|
-
]
|
|
548
|
-
}),
|
|
549
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
550
|
-
className: "h-[400px] flex items-center justify-center text-muted-foreground",
|
|
551
|
-
children: "Analytics charts and graphs would go here"
|
|
552
|
-
})
|
|
553
|
-
]
|
|
554
|
-
})
|
|
555
|
-
}),
|
|
556
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
557
|
-
value: "reports",
|
|
558
|
-
className: "space-y-6",
|
|
559
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.Card, {
|
|
560
|
-
children: [
|
|
561
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(card_cjs_namespaceObject.CardHeader, {
|
|
562
|
-
children: [
|
|
563
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardTitle, {
|
|
564
|
-
children: "Reports"
|
|
565
|
-
}),
|
|
566
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardDescription, {
|
|
567
|
-
children: "Generate and download reports"
|
|
568
|
-
})
|
|
569
|
-
]
|
|
570
|
-
}),
|
|
571
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(card_cjs_namespaceObject.CardContent, {
|
|
572
|
-
className: "h-[400px] flex items-center justify-center text-muted-foreground",
|
|
573
|
-
children: "Report generation interface would go here"
|
|
574
|
-
})
|
|
575
|
-
]
|
|
692
|
+
t30
|
|
693
|
+
]
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
function _temp3(activity) {
|
|
697
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
|
|
698
|
+
gap: 3,
|
|
699
|
+
align: "start",
|
|
700
|
+
children: [
|
|
701
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(avatar_cjs_namespaceObject.Avatar, {
|
|
702
|
+
className: "h-8 w-8",
|
|
703
|
+
children: [
|
|
704
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarImage, {
|
|
705
|
+
src: activity.avatar
|
|
706
|
+
}),
|
|
707
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(avatar_cjs_namespaceObject.AvatarFallback, {
|
|
708
|
+
children: activity.user.split(" ").map(_temp2).join("")
|
|
709
|
+
})
|
|
710
|
+
]
|
|
711
|
+
}),
|
|
712
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
|
|
713
|
+
gap: 1,
|
|
714
|
+
flex: 1,
|
|
715
|
+
children: [
|
|
716
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("p", {
|
|
717
|
+
className: "text-sm",
|
|
718
|
+
children: [
|
|
719
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
720
|
+
className: "font-medium",
|
|
721
|
+
children: activity.user
|
|
722
|
+
}),
|
|
723
|
+
" ",
|
|
724
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
725
|
+
className: "text-muted-foreground",
|
|
726
|
+
children: activity.action
|
|
576
727
|
})
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
728
|
+
]
|
|
729
|
+
}),
|
|
730
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
|
|
731
|
+
className: "text-xs text-muted-foreground",
|
|
732
|
+
children: activity.time
|
|
733
|
+
})
|
|
734
|
+
]
|
|
580
735
|
})
|
|
581
736
|
]
|
|
582
|
-
});
|
|
737
|
+
}, activity.id);
|
|
738
|
+
}
|
|
739
|
+
function _temp2(n_0) {
|
|
740
|
+
return n_0[0];
|
|
741
|
+
}
|
|
742
|
+
function _temp(n) {
|
|
743
|
+
return n[0];
|
|
583
744
|
}
|
|
584
745
|
exports.DashboardExample = __webpack_exports__.DashboardExample;
|
|
585
746
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|