pxengine 0.1.2 → 0.1.3
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/index.cjs +377 -144
- package/dist/index.js +298 -69
- package/dist/registry.json +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -347,7 +347,231 @@ Label.displayName = LabelPrimitive.Root.displayName;
|
|
|
347
347
|
// src/components/ui/checkbox.tsx
|
|
348
348
|
var React4 = __toESM(require("react"), 1);
|
|
349
349
|
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
|
|
350
|
-
|
|
350
|
+
|
|
351
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
352
|
+
var import_react2 = require("react");
|
|
353
|
+
|
|
354
|
+
// node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
355
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
356
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
357
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
358
|
+
}).join(" ").trim();
|
|
359
|
+
|
|
360
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
361
|
+
var import_react = require("react");
|
|
362
|
+
|
|
363
|
+
// node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
364
|
+
var defaultAttributes = {
|
|
365
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
366
|
+
width: 24,
|
|
367
|
+
height: 24,
|
|
368
|
+
viewBox: "0 0 24 24",
|
|
369
|
+
fill: "none",
|
|
370
|
+
stroke: "currentColor",
|
|
371
|
+
strokeWidth: 2,
|
|
372
|
+
strokeLinecap: "round",
|
|
373
|
+
strokeLinejoin: "round"
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
377
|
+
var Icon = (0, import_react.forwardRef)(
|
|
378
|
+
({
|
|
379
|
+
color = "currentColor",
|
|
380
|
+
size = 24,
|
|
381
|
+
strokeWidth = 2,
|
|
382
|
+
absoluteStrokeWidth,
|
|
383
|
+
className = "",
|
|
384
|
+
children,
|
|
385
|
+
iconNode,
|
|
386
|
+
...rest
|
|
387
|
+
}, ref) => {
|
|
388
|
+
return (0, import_react.createElement)(
|
|
389
|
+
"svg",
|
|
390
|
+
{
|
|
391
|
+
ref,
|
|
392
|
+
...defaultAttributes,
|
|
393
|
+
width: size,
|
|
394
|
+
height: size,
|
|
395
|
+
stroke: color,
|
|
396
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
397
|
+
className: mergeClasses("lucide", className),
|
|
398
|
+
...rest
|
|
399
|
+
},
|
|
400
|
+
[
|
|
401
|
+
...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)),
|
|
402
|
+
...Array.isArray(children) ? children : [children]
|
|
403
|
+
]
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
409
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
410
|
+
const Component = (0, import_react2.forwardRef)(
|
|
411
|
+
({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
|
|
412
|
+
ref,
|
|
413
|
+
iconNode,
|
|
414
|
+
className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
|
|
415
|
+
...props
|
|
416
|
+
})
|
|
417
|
+
);
|
|
418
|
+
Component.displayName = `${iconName}`;
|
|
419
|
+
return Component;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-left.js
|
|
423
|
+
var __iconNode = [
|
|
424
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
425
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
426
|
+
];
|
|
427
|
+
var ArrowLeft = createLucideIcon("ArrowLeft", __iconNode);
|
|
428
|
+
|
|
429
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
430
|
+
var __iconNode2 = [
|
|
431
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
432
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
433
|
+
];
|
|
434
|
+
var ArrowRight = createLucideIcon("ArrowRight", __iconNode2);
|
|
435
|
+
|
|
436
|
+
// node_modules/lucide-react/dist/esm/icons/check.js
|
|
437
|
+
var __iconNode3 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
438
|
+
var Check = createLucideIcon("Check", __iconNode3);
|
|
439
|
+
|
|
440
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
441
|
+
var __iconNode4 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
442
|
+
var ChevronDown = createLucideIcon("ChevronDown", __iconNode4);
|
|
443
|
+
|
|
444
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
445
|
+
var __iconNode5 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
446
|
+
var ChevronLeft = createLucideIcon("ChevronLeft", __iconNode5);
|
|
447
|
+
|
|
448
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
449
|
+
var __iconNode6 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
450
|
+
var ChevronRight = createLucideIcon("ChevronRight", __iconNode6);
|
|
451
|
+
|
|
452
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
453
|
+
var __iconNode7 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
454
|
+
var ChevronUp = createLucideIcon("ChevronUp", __iconNode7);
|
|
455
|
+
|
|
456
|
+
// node_modules/lucide-react/dist/esm/icons/circle-alert.js
|
|
457
|
+
var __iconNode8 = [
|
|
458
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
459
|
+
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
460
|
+
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
461
|
+
];
|
|
462
|
+
var CircleAlert = createLucideIcon("CircleAlert", __iconNode8);
|
|
463
|
+
|
|
464
|
+
// node_modules/lucide-react/dist/esm/icons/circle-check.js
|
|
465
|
+
var __iconNode9 = [
|
|
466
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
467
|
+
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
468
|
+
];
|
|
469
|
+
var CircleCheck = createLucideIcon("CircleCheck", __iconNode9);
|
|
470
|
+
|
|
471
|
+
// node_modules/lucide-react/dist/esm/icons/circle.js
|
|
472
|
+
var __iconNode10 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
473
|
+
var Circle = createLucideIcon("Circle", __iconNode10);
|
|
474
|
+
|
|
475
|
+
// node_modules/lucide-react/dist/esm/icons/copy.js
|
|
476
|
+
var __iconNode11 = [
|
|
477
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
478
|
+
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
479
|
+
];
|
|
480
|
+
var Copy = createLucideIcon("Copy", __iconNode11);
|
|
481
|
+
|
|
482
|
+
// node_modules/lucide-react/dist/esm/icons/dot.js
|
|
483
|
+
var __iconNode12 = [["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]];
|
|
484
|
+
var Dot = createLucideIcon("Dot", __iconNode12);
|
|
485
|
+
|
|
486
|
+
// node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
487
|
+
var __iconNode13 = [
|
|
488
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
489
|
+
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
490
|
+
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
491
|
+
];
|
|
492
|
+
var Ellipsis = createLucideIcon("Ellipsis", __iconNode13);
|
|
493
|
+
|
|
494
|
+
// node_modules/lucide-react/dist/esm/icons/info.js
|
|
495
|
+
var __iconNode14 = [
|
|
496
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
497
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
498
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
499
|
+
];
|
|
500
|
+
var Info = createLucideIcon("Info", __iconNode14);
|
|
501
|
+
|
|
502
|
+
// node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
503
|
+
var __iconNode15 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
504
|
+
var LoaderCircle = createLucideIcon("LoaderCircle", __iconNode15);
|
|
505
|
+
|
|
506
|
+
// node_modules/lucide-react/dist/esm/icons/pause.js
|
|
507
|
+
var __iconNode16 = [
|
|
508
|
+
["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
|
|
509
|
+
["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
|
|
510
|
+
];
|
|
511
|
+
var Pause = createLucideIcon("Pause", __iconNode16);
|
|
512
|
+
|
|
513
|
+
// node_modules/lucide-react/dist/esm/icons/pencil.js
|
|
514
|
+
var __iconNode17 = [
|
|
515
|
+
[
|
|
516
|
+
"path",
|
|
517
|
+
{
|
|
518
|
+
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
519
|
+
key: "1a8usu"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
523
|
+
];
|
|
524
|
+
var Pencil = createLucideIcon("Pencil", __iconNode17);
|
|
525
|
+
|
|
526
|
+
// node_modules/lucide-react/dist/esm/icons/play.js
|
|
527
|
+
var __iconNode18 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]];
|
|
528
|
+
var Play = createLucideIcon("Play", __iconNode18);
|
|
529
|
+
|
|
530
|
+
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
531
|
+
var __iconNode19 = [
|
|
532
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
533
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
534
|
+
];
|
|
535
|
+
var Search = createLucideIcon("Search", __iconNode19);
|
|
536
|
+
|
|
537
|
+
// node_modules/lucide-react/dist/esm/icons/sparkles.js
|
|
538
|
+
var __iconNode20 = [
|
|
539
|
+
[
|
|
540
|
+
"path",
|
|
541
|
+
{
|
|
542
|
+
d: "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",
|
|
543
|
+
key: "4pj2yx"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
547
|
+
["path", { d: "M22 5h-4", key: "1gvqau" }],
|
|
548
|
+
["path", { d: "M4 17v2", key: "vumght" }],
|
|
549
|
+
["path", { d: "M5 18H3", key: "zchphs" }]
|
|
550
|
+
];
|
|
551
|
+
var Sparkles = createLucideIcon("Sparkles", __iconNode20);
|
|
552
|
+
|
|
553
|
+
// node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
554
|
+
var __iconNode21 = [
|
|
555
|
+
[
|
|
556
|
+
"path",
|
|
557
|
+
{
|
|
558
|
+
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
559
|
+
key: "wmoenq"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
563
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
564
|
+
];
|
|
565
|
+
var TriangleAlert = createLucideIcon("TriangleAlert", __iconNode21);
|
|
566
|
+
|
|
567
|
+
// node_modules/lucide-react/dist/esm/icons/x.js
|
|
568
|
+
var __iconNode22 = [
|
|
569
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
570
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
571
|
+
];
|
|
572
|
+
var X = createLucideIcon("X", __iconNode22);
|
|
573
|
+
|
|
574
|
+
// src/components/ui/checkbox.tsx
|
|
351
575
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
352
576
|
var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
353
577
|
CheckboxPrimitive.Root,
|
|
@@ -362,7 +586,7 @@ var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
362
586
|
CheckboxPrimitive.Indicator,
|
|
363
587
|
{
|
|
364
588
|
className: cn("grid place-content-center text-current"),
|
|
365
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
589
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Check, { className: "h-4 w-4" })
|
|
366
590
|
}
|
|
367
591
|
)
|
|
368
592
|
}
|
|
@@ -372,7 +596,6 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
372
596
|
// src/components/ui/radio-group.tsx
|
|
373
597
|
var React5 = __toESM(require("react"), 1);
|
|
374
598
|
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
|
|
375
|
-
var import_lucide_react2 = require("lucide-react");
|
|
376
599
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
377
600
|
var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
378
601
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
@@ -395,7 +618,7 @@ var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
|
|
|
395
618
|
className
|
|
396
619
|
),
|
|
397
620
|
...props,
|
|
398
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
621
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
399
622
|
}
|
|
400
623
|
);
|
|
401
624
|
});
|
|
@@ -468,7 +691,6 @@ Textarea.displayName = "Textarea";
|
|
|
468
691
|
// src/components/ui/select.tsx
|
|
469
692
|
var React9 = __toESM(require("react"), 1);
|
|
470
693
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
471
|
-
var import_lucide_react3 = require("lucide-react");
|
|
472
694
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
473
695
|
var Select = SelectPrimitive.Root;
|
|
474
696
|
var SelectGroup = SelectPrimitive.Group;
|
|
@@ -484,7 +706,7 @@ var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) =
|
|
|
484
706
|
...props,
|
|
485
707
|
children: [
|
|
486
708
|
children,
|
|
487
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
709
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
488
710
|
]
|
|
489
711
|
}
|
|
490
712
|
));
|
|
@@ -498,7 +720,7 @@ var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /
|
|
|
498
720
|
className
|
|
499
721
|
),
|
|
500
722
|
...props,
|
|
501
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
723
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronUp, { className: "h-4 w-4" })
|
|
502
724
|
}
|
|
503
725
|
));
|
|
504
726
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
@@ -511,7 +733,7 @@ var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) =>
|
|
|
511
733
|
className
|
|
512
734
|
),
|
|
513
735
|
...props,
|
|
514
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
736
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronDown, { className: "h-4 w-4" })
|
|
515
737
|
}
|
|
516
738
|
));
|
|
517
739
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
@@ -562,7 +784,7 @@ var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
562
784
|
),
|
|
563
785
|
...props,
|
|
564
786
|
children: [
|
|
565
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
787
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
566
788
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.ItemText, { children })
|
|
567
789
|
]
|
|
568
790
|
}
|
|
@@ -581,7 +803,6 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
581
803
|
// src/components/ui/input-otp.tsx
|
|
582
804
|
var React10 = __toESM(require("react"), 1);
|
|
583
805
|
var import_input_otp = require("input-otp");
|
|
584
|
-
var import_lucide_react4 = require("lucide-react");
|
|
585
806
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
586
807
|
var InputOTP = React10.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
587
808
|
import_input_otp.OTPInput,
|
|
@@ -619,7 +840,7 @@ var InputOTPSlot = React10.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
619
840
|
);
|
|
620
841
|
});
|
|
621
842
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
622
|
-
var InputOTPSeparator = React10.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
843
|
+
var InputOTPSeparator = React10.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Dot, {}) }));
|
|
623
844
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
624
845
|
|
|
625
846
|
// src/components/ui/form.tsx
|
|
@@ -839,7 +1060,6 @@ var AspectRatioPrimitive = __toESM(require("@radix-ui/react-aspect-ratio"), 1);
|
|
|
839
1060
|
var AspectRatio = AspectRatioPrimitive.Root;
|
|
840
1061
|
|
|
841
1062
|
// src/components/ui/resizable.tsx
|
|
842
|
-
var import_lucide_react5 = require("lucide-react");
|
|
843
1063
|
var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
|
|
844
1064
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
845
1065
|
var ResizablePanelGroup = ({
|
|
@@ -902,7 +1122,6 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
902
1122
|
// src/components/ui/accordion.tsx
|
|
903
1123
|
var React16 = __toESM(require("react"), 1);
|
|
904
1124
|
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"), 1);
|
|
905
|
-
var import_lucide_react6 = require("lucide-react");
|
|
906
1125
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
907
1126
|
var Accordion = AccordionPrimitive.Root;
|
|
908
1127
|
var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
@@ -925,7 +1144,7 @@ var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, re
|
|
|
925
1144
|
...props,
|
|
926
1145
|
children: [
|
|
927
1146
|
children,
|
|
928
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1147
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
929
1148
|
]
|
|
930
1149
|
}
|
|
931
1150
|
) }));
|
|
@@ -950,7 +1169,6 @@ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
|
950
1169
|
// src/components/ui/dialog.tsx
|
|
951
1170
|
var React17 = __toESM(require("react"), 1);
|
|
952
1171
|
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
953
|
-
var import_lucide_react7 = require("lucide-react");
|
|
954
1172
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
955
1173
|
var Dialog = DialogPrimitive.Root;
|
|
956
1174
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
@@ -982,7 +1200,7 @@ var DialogContent = React17.forwardRef(({ className, children, ...props }, ref)
|
|
|
982
1200
|
children: [
|
|
983
1201
|
children,
|
|
984
1202
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
985
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(X, { className: "h-4 w-4" }),
|
|
986
1204
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Close" })
|
|
987
1205
|
] })
|
|
988
1206
|
]
|
|
@@ -1044,7 +1262,6 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
1044
1262
|
var React18 = __toESM(require("react"), 1);
|
|
1045
1263
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1046
1264
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
1047
|
-
var import_lucide_react8 = require("lucide-react");
|
|
1048
1265
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1049
1266
|
var Sheet = SheetPrimitive.Root;
|
|
1050
1267
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
@@ -1089,7 +1306,7 @@ var SheetContent = React18.forwardRef(({ side = "right", className, children, ..
|
|
|
1089
1306
|
children: [
|
|
1090
1307
|
children,
|
|
1091
1308
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
1092
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1309
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(X, { className: "h-4 w-4" }),
|
|
1093
1310
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Close" })
|
|
1094
1311
|
] })
|
|
1095
1312
|
]
|
|
@@ -1403,7 +1620,6 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
1403
1620
|
// src/components/ui/dropdown-menu.tsx
|
|
1404
1621
|
var React24 = __toESM(require("react"), 1);
|
|
1405
1622
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
|
1406
|
-
var import_lucide_react9 = require("lucide-react");
|
|
1407
1623
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1408
1624
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
1409
1625
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
@@ -1421,7 +1637,7 @@ var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, .
|
|
|
1421
1637
|
...props,
|
|
1422
1638
|
children: [
|
|
1423
1639
|
children,
|
|
1424
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ChevronRight, { className: "ml-auto" })
|
|
1425
1641
|
]
|
|
1426
1642
|
}
|
|
1427
1643
|
));
|
|
@@ -1475,7 +1691,7 @@ var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checke
|
|
|
1475
1691
|
checked,
|
|
1476
1692
|
...props,
|
|
1477
1693
|
children: [
|
|
1478
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1694
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1479
1695
|
children
|
|
1480
1696
|
]
|
|
1481
1697
|
}
|
|
@@ -1491,7 +1707,7 @@ var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props
|
|
|
1491
1707
|
),
|
|
1492
1708
|
...props,
|
|
1493
1709
|
children: [
|
|
1494
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1710
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1495
1711
|
children
|
|
1496
1712
|
]
|
|
1497
1713
|
}
|
|
@@ -1536,7 +1752,6 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
|
1536
1752
|
// src/components/ui/context-menu.tsx
|
|
1537
1753
|
var React25 = __toESM(require("react"), 1);
|
|
1538
1754
|
var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"), 1);
|
|
1539
|
-
var import_lucide_react10 = require("lucide-react");
|
|
1540
1755
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1541
1756
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
1542
1757
|
var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
@@ -1552,7 +1767,7 @@ var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ..
|
|
|
1552
1767
|
...props,
|
|
1553
1768
|
children: [
|
|
1554
1769
|
children,
|
|
1555
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1770
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1556
1771
|
]
|
|
1557
1772
|
}
|
|
1558
1773
|
));
|
|
@@ -1605,7 +1820,7 @@ var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked
|
|
|
1605
1820
|
checked,
|
|
1606
1821
|
...props,
|
|
1607
1822
|
children: [
|
|
1608
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1823
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1609
1824
|
children
|
|
1610
1825
|
]
|
|
1611
1826
|
}
|
|
@@ -1621,7 +1836,7 @@ var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }
|
|
|
1621
1836
|
),
|
|
1622
1837
|
...props,
|
|
1623
1838
|
children: [
|
|
1624
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1625
1840
|
children
|
|
1626
1841
|
]
|
|
1627
1842
|
}
|
|
@@ -1669,7 +1884,6 @@ ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
|
1669
1884
|
// src/components/ui/menubar.tsx
|
|
1670
1885
|
var React26 = __toESM(require("react"), 1);
|
|
1671
1886
|
var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
|
|
1672
|
-
var import_lucide_react11 = require("lucide-react");
|
|
1673
1887
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1674
1888
|
var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1675
1889
|
MenubarPrimitive.Root,
|
|
@@ -1707,7 +1921,7 @@ var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...pro
|
|
|
1707
1921
|
...props,
|
|
1708
1922
|
children: [
|
|
1709
1923
|
children,
|
|
1710
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1711
1925
|
]
|
|
1712
1926
|
}
|
|
1713
1927
|
));
|
|
@@ -1765,7 +1979,7 @@ var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ..
|
|
|
1765
1979
|
checked,
|
|
1766
1980
|
...props,
|
|
1767
1981
|
children: [
|
|
1768
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1982
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1769
1983
|
children
|
|
1770
1984
|
]
|
|
1771
1985
|
}
|
|
@@ -1781,7 +1995,7 @@ var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, re
|
|
|
1781
1995
|
),
|
|
1782
1996
|
...props,
|
|
1783
1997
|
children: [
|
|
1784
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1785
1999
|
children
|
|
1786
2000
|
]
|
|
1787
2001
|
}
|
|
@@ -1830,7 +2044,6 @@ MenubarShortcut.displayname = "MenubarShortcut";
|
|
|
1830
2044
|
var React27 = __toESM(require("react"), 1);
|
|
1831
2045
|
var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
|
|
1832
2046
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
1833
|
-
var import_lucide_react12 = require("lucide-react");
|
|
1834
2047
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1835
2048
|
var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1836
2049
|
NavigationMenuPrimitive.Root,
|
|
@@ -1874,7 +2087,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
|
|
|
1874
2087
|
children,
|
|
1875
2088
|
" ",
|
|
1876
2089
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1877
|
-
|
|
2090
|
+
ChevronDown,
|
|
1878
2091
|
{
|
|
1879
2092
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
|
|
1880
2093
|
"aria-hidden": "true"
|
|
@@ -1926,7 +2139,6 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
|
|
|
1926
2139
|
// src/components/ui/breadcrumb.tsx
|
|
1927
2140
|
var React28 = __toESM(require("react"), 1);
|
|
1928
2141
|
var import_react_slot3 = require("@radix-ui/react-slot");
|
|
1929
|
-
var import_lucide_react13 = require("lucide-react");
|
|
1930
2142
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1931
2143
|
var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
1932
2144
|
Breadcrumb.displayName = "Breadcrumb";
|
|
@@ -1986,7 +2198,7 @@ var BreadcrumbSeparator = ({
|
|
|
1986
2198
|
"aria-hidden": "true",
|
|
1987
2199
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
|
|
1988
2200
|
...props,
|
|
1989
|
-
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2201
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronRight, {})
|
|
1990
2202
|
}
|
|
1991
2203
|
);
|
|
1992
2204
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
@@ -2001,7 +2213,7 @@ var BreadcrumbEllipsis = ({
|
|
|
2001
2213
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
2002
2214
|
...props,
|
|
2003
2215
|
children: [
|
|
2004
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Ellipsis, { className: "h-4 w-4" }),
|
|
2005
2217
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: "More" })
|
|
2006
2218
|
]
|
|
2007
2219
|
}
|
|
@@ -2010,7 +2222,6 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
|
2010
2222
|
|
|
2011
2223
|
// src/components/ui/pagination.tsx
|
|
2012
2224
|
var React29 = __toESM(require("react"), 1);
|
|
2013
|
-
var import_lucide_react14 = require("lucide-react");
|
|
2014
2225
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2015
2226
|
var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2016
2227
|
"nav",
|
|
@@ -2064,7 +2275,7 @@ var PaginationPrevious = ({
|
|
|
2064
2275
|
className: cn("gap-1 pl-2.5", className),
|
|
2065
2276
|
...props,
|
|
2066
2277
|
children: [
|
|
2067
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronLeft, { className: "h-4 w-4" }),
|
|
2068
2279
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Previous" })
|
|
2069
2280
|
]
|
|
2070
2281
|
}
|
|
@@ -2082,7 +2293,7 @@ var PaginationNext = ({
|
|
|
2082
2293
|
...props,
|
|
2083
2294
|
children: [
|
|
2084
2295
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Next" }),
|
|
2085
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2296
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronRight, { className: "h-4 w-4" })
|
|
2086
2297
|
]
|
|
2087
2298
|
}
|
|
2088
2299
|
);
|
|
@@ -2097,7 +2308,7 @@ var PaginationEllipsis = ({
|
|
|
2097
2308
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
2098
2309
|
...props,
|
|
2099
2310
|
children: [
|
|
2100
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2311
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Ellipsis, { className: "h-4 w-4" }),
|
|
2101
2312
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "More pages" })
|
|
2102
2313
|
]
|
|
2103
2314
|
}
|
|
@@ -2107,7 +2318,6 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
|
2107
2318
|
// src/components/ui/command.tsx
|
|
2108
2319
|
var React30 = __toESM(require("react"), 1);
|
|
2109
2320
|
var import_cmdk = require("cmdk");
|
|
2110
|
-
var import_lucide_react15 = require("lucide-react");
|
|
2111
2321
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2112
2322
|
var Command = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2113
2323
|
import_cmdk.Command,
|
|
@@ -2125,7 +2335,7 @@ var CommandDialog = ({ children, ...props }) => {
|
|
|
2125
2335
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
|
|
2126
2336
|
};
|
|
2127
2337
|
var CommandInput = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2128
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2338
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2129
2339
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2130
2340
|
import_cmdk.Command.Input,
|
|
2131
2341
|
{
|
|
@@ -2434,7 +2644,6 @@ function Skeleton({
|
|
|
2434
2644
|
|
|
2435
2645
|
// src/components/ui/calendar.tsx
|
|
2436
2646
|
var React35 = __toESM(require("react"), 1);
|
|
2437
|
-
var import_lucide_react16 = require("lucide-react");
|
|
2438
2647
|
var import_react_day_picker = require("react-day-picker");
|
|
2439
2648
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2440
2649
|
function Calendar({
|
|
@@ -2559,18 +2768,18 @@ function Calendar({
|
|
|
2559
2768
|
},
|
|
2560
2769
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
2561
2770
|
if (orientation === "left") {
|
|
2562
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
2563
2772
|
}
|
|
2564
2773
|
if (orientation === "right") {
|
|
2565
2774
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2566
|
-
|
|
2775
|
+
ChevronRight,
|
|
2567
2776
|
{
|
|
2568
2777
|
className: cn("size-4", className2),
|
|
2569
2778
|
...props2
|
|
2570
2779
|
}
|
|
2571
2780
|
);
|
|
2572
2781
|
}
|
|
2573
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
2574
2783
|
},
|
|
2575
2784
|
DayButton: CalendarDayButton,
|
|
2576
2785
|
WeekNumber: ({ children, ...props2 }) => {
|
|
@@ -2617,7 +2826,6 @@ function CalendarDayButton({
|
|
|
2617
2826
|
// src/components/ui/carousel.tsx
|
|
2618
2827
|
var React36 = __toESM(require("react"), 1);
|
|
2619
2828
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
2620
|
-
var import_lucide_react17 = require("lucide-react");
|
|
2621
2829
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2622
2830
|
var CarouselContext = React36.createContext(null);
|
|
2623
2831
|
function useCarousel() {
|
|
@@ -2769,7 +2977,7 @@ var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", siz
|
|
|
2769
2977
|
onClick: scrollPrev,
|
|
2770
2978
|
...props,
|
|
2771
2979
|
children: [
|
|
2772
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2980
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ArrowLeft, { className: "h-4 w-4" }),
|
|
2773
2981
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "sr-only", children: "Previous slide" })
|
|
2774
2982
|
]
|
|
2775
2983
|
}
|
|
@@ -2793,7 +3001,7 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
|
|
|
2793
3001
|
onClick: scrollNext,
|
|
2794
3002
|
...props,
|
|
2795
3003
|
children: [
|
|
2796
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
3004
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ArrowRight, { className: "h-4 w-4" }),
|
|
2797
3005
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "sr-only", children: "Next slide" })
|
|
2798
3006
|
]
|
|
2799
3007
|
}
|
|
@@ -2802,11 +3010,10 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
|
|
|
2802
3010
|
CarouselNext.displayName = "CarouselNext";
|
|
2803
3011
|
|
|
2804
3012
|
// src/components/ui/spinner.tsx
|
|
2805
|
-
var import_lucide_react18 = require("lucide-react");
|
|
2806
3013
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
2807
3014
|
function Spinner({ className, ...props }) {
|
|
2808
3015
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2809
|
-
|
|
3016
|
+
LoaderCircle,
|
|
2810
3017
|
{
|
|
2811
3018
|
role: "status",
|
|
2812
3019
|
"aria-label": "Loading",
|
|
@@ -2838,7 +3045,6 @@ var TextAtom = ({
|
|
|
2838
3045
|
};
|
|
2839
3046
|
|
|
2840
3047
|
// src/atoms/ButtonAtom.tsx
|
|
2841
|
-
var import_lucide_react19 = require("lucide-react");
|
|
2842
3048
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2843
3049
|
var ButtonAtom = ({
|
|
2844
3050
|
label,
|
|
@@ -2872,7 +3078,7 @@ var ButtonAtom = ({
|
|
|
2872
3078
|
onClick: handleClick,
|
|
2873
3079
|
className: cn("rounded-full font-semibold", customClass, className),
|
|
2874
3080
|
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
2875
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3081
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
2876
3082
|
label
|
|
2877
3083
|
] }) : label
|
|
2878
3084
|
}
|
|
@@ -2880,7 +3086,7 @@ var ButtonAtom = ({
|
|
|
2880
3086
|
};
|
|
2881
3087
|
|
|
2882
3088
|
// src/atoms/LayoutAtom.tsx
|
|
2883
|
-
var
|
|
3089
|
+
var import_react3 = __toESM(require("react"), 1);
|
|
2884
3090
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2885
3091
|
var LayoutAtom = ({
|
|
2886
3092
|
direction,
|
|
@@ -2903,11 +3109,11 @@ var LayoutAtom = ({
|
|
|
2903
3109
|
gapMap[gap],
|
|
2904
3110
|
className
|
|
2905
3111
|
);
|
|
2906
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: classes, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: classes, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react3.default.Fragment, { children: renderComponent(child) }, child.id)) });
|
|
2907
3113
|
};
|
|
2908
3114
|
|
|
2909
3115
|
// src/atoms/CardAtom.tsx
|
|
2910
|
-
var
|
|
3116
|
+
var import_react4 = __toESM(require("react"), 1);
|
|
2911
3117
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2912
3118
|
var CardAtom = ({
|
|
2913
3119
|
title,
|
|
@@ -2929,8 +3135,8 @@ var CardAtom = ({
|
|
|
2929
3135
|
title && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardTitle, { className: "text-xl font-bold text-gray-900", children: title }),
|
|
2930
3136
|
description && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardDescription, { children: description })
|
|
2931
3137
|
] }),
|
|
2932
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardContent, { className: "space-y-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
2933
|
-
footer && footer.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardFooter, { className: "bg-gray-50/50 border-t border-gray-100 flex flex-wrap gap-2 pt-6", children: footer.map((footerChild) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardContent, { className: "space-y-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react4.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3139
|
+
footer && footer.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardFooter, { className: "bg-gray-50/50 border-t border-gray-100 flex flex-wrap gap-2 pt-6", children: footer.map((footerChild) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react4.default.Fragment, { children: renderComponent(footerChild) }, footerChild.id)) })
|
|
2934
3140
|
]
|
|
2935
3141
|
}
|
|
2936
3142
|
);
|
|
@@ -3089,7 +3295,7 @@ var AvatarAtom = ({
|
|
|
3089
3295
|
};
|
|
3090
3296
|
|
|
3091
3297
|
// src/atoms/TabsAtom.tsx
|
|
3092
|
-
var
|
|
3298
|
+
var import_react5 = __toESM(require("react"), 1);
|
|
3093
3299
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3094
3300
|
var TabsAtom = ({
|
|
3095
3301
|
defaultValue,
|
|
@@ -3107,12 +3313,12 @@ var TabsAtom = ({
|
|
|
3107
3313
|
},
|
|
3108
3314
|
tab.value
|
|
3109
3315
|
)) }),
|
|
3110
|
-
tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContent, { value: tab.value, className: "mt-4", children: tab.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3316
|
+
tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContent, { value: tab.value, className: "mt-4", children: tab.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react5.default.Fragment, { children: renderComponent(child) }, child.id)) }, tab.value))
|
|
3111
3317
|
] });
|
|
3112
3318
|
};
|
|
3113
3319
|
|
|
3114
3320
|
// src/atoms/AccordionAtom.tsx
|
|
3115
|
-
var
|
|
3321
|
+
var import_react6 = __toESM(require("react"), 1);
|
|
3116
3322
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3117
3323
|
var AccordionAtom = ({
|
|
3118
3324
|
items,
|
|
@@ -3126,7 +3332,7 @@ var AccordionAtom = ({
|
|
|
3126
3332
|
className: "border-gray-100",
|
|
3127
3333
|
children: [
|
|
3128
3334
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AccordionTrigger, { className: "text-sm font-semibold hover:no-underline hover:text-purple600 py-4", children: item.trigger }),
|
|
3129
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AccordionContent, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "pt-2 pb-4", children: item.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3335
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AccordionContent, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "pt-2 pb-4", children: item.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react6.default.Fragment, { children: renderComponent(child) }, child.id)) }) })
|
|
3130
3336
|
]
|
|
3131
3337
|
},
|
|
3132
3338
|
item.value
|
|
@@ -3164,7 +3370,6 @@ var SkeletonAtom = ({
|
|
|
3164
3370
|
};
|
|
3165
3371
|
|
|
3166
3372
|
// src/atoms/AlertAtom.tsx
|
|
3167
|
-
var import_lucide_react20 = require("lucide-react");
|
|
3168
3373
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3169
3374
|
var AlertAtom = ({
|
|
3170
3375
|
title,
|
|
@@ -3173,13 +3378,13 @@ var AlertAtom = ({
|
|
|
3173
3378
|
className
|
|
3174
3379
|
}) => {
|
|
3175
3380
|
const IconMap = {
|
|
3176
|
-
default:
|
|
3177
|
-
destructive:
|
|
3178
|
-
warning:
|
|
3179
|
-
info:
|
|
3180
|
-
success:
|
|
3381
|
+
default: Info,
|
|
3382
|
+
destructive: CircleAlert,
|
|
3383
|
+
warning: TriangleAlert,
|
|
3384
|
+
info: Info,
|
|
3385
|
+
success: CircleCheck
|
|
3181
3386
|
};
|
|
3182
|
-
const
|
|
3387
|
+
const Icon3 = IconMap[variant] || Info;
|
|
3183
3388
|
const variantMap = {
|
|
3184
3389
|
warning: "border-amber-200 bg-amber-50 text-amber-900 [&>svg]:text-amber-600",
|
|
3185
3390
|
info: "border-blue-200 bg-blue-50 text-blue-900 [&>svg]:text-blue-600",
|
|
@@ -3193,7 +3398,7 @@ var AlertAtom = ({
|
|
|
3193
3398
|
variant: shadcnVariant,
|
|
3194
3399
|
className: cn("rounded-2xl", customClass, className),
|
|
3195
3400
|
children: [
|
|
3196
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3401
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon3, { className: "h-4 w-4" }),
|
|
3197
3402
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertTitle, { className: "font-bold", children: title }),
|
|
3198
3403
|
description && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertDescription, { children: description })
|
|
3199
3404
|
]
|
|
@@ -3260,7 +3465,7 @@ var TableAtom = ({
|
|
|
3260
3465
|
};
|
|
3261
3466
|
|
|
3262
3467
|
// src/atoms/ScrollAreaAtom.tsx
|
|
3263
|
-
var
|
|
3468
|
+
var import_react7 = __toESM(require("react"), 1);
|
|
3264
3469
|
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
3265
3470
|
var ScrollAreaAtom = ({
|
|
3266
3471
|
maxHeight = "300px",
|
|
@@ -3274,7 +3479,7 @@ var ScrollAreaAtom = ({
|
|
|
3274
3479
|
className: cn("rounded-xl border", className),
|
|
3275
3480
|
style: { height: maxHeight },
|
|
3276
3481
|
children: [
|
|
3277
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "p-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
3482
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "p-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react7.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3278
3483
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ScrollBar, { orientation: "vertical" })
|
|
3279
3484
|
]
|
|
3280
3485
|
}
|
|
@@ -3282,7 +3487,7 @@ var ScrollAreaAtom = ({
|
|
|
3282
3487
|
};
|
|
3283
3488
|
|
|
3284
3489
|
// src/atoms/CarouselAtom.tsx
|
|
3285
|
-
var
|
|
3490
|
+
var import_react8 = __toESM(require("react"), 1);
|
|
3286
3491
|
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
3287
3492
|
var CarouselAtom = ({
|
|
3288
3493
|
items,
|
|
@@ -3290,14 +3495,14 @@ var CarouselAtom = ({
|
|
|
3290
3495
|
renderComponent
|
|
3291
3496
|
}) => {
|
|
3292
3497
|
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Carousel, { className: cn("w-full max-w-xs mx-auto", className), children: [
|
|
3293
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselContent, { children: items.map((slide, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselItem, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "p-1", children: slide.map((child) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselContent, { children: items.map((slide, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselItem, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "p-1", children: slide.map((child) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react8.default.Fragment, { children: renderComponent(child) }, child.id)) }) }, index)) }),
|
|
3294
3499
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselPrevious, {}),
|
|
3295
3500
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselNext, {})
|
|
3296
3501
|
] });
|
|
3297
3502
|
};
|
|
3298
3503
|
|
|
3299
3504
|
// src/atoms/AspectRatioAtom.tsx
|
|
3300
|
-
var
|
|
3505
|
+
var import_react9 = __toESM(require("react"), 1);
|
|
3301
3506
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
3302
3507
|
var AspectRatioAtom = ({
|
|
3303
3508
|
ratio = 16 / 9,
|
|
@@ -3305,11 +3510,11 @@ var AspectRatioAtom = ({
|
|
|
3305
3510
|
className,
|
|
3306
3511
|
renderComponent
|
|
3307
3512
|
}) => {
|
|
3308
|
-
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AspectRatio, { ratio, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
3513
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AspectRatio, { ratio, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react9.default.Fragment, { children: renderComponent(child) }, child.id)) }) });
|
|
3309
3514
|
};
|
|
3310
3515
|
|
|
3311
3516
|
// src/atoms/CollapsibleAtom.tsx
|
|
3312
|
-
var
|
|
3517
|
+
var import_react10 = __toESM(require("react"), 1);
|
|
3313
3518
|
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
3314
3519
|
var CollapsibleAtom = ({
|
|
3315
3520
|
trigger,
|
|
@@ -3324,15 +3529,15 @@ var CollapsibleAtom = ({
|
|
|
3324
3529
|
defaultOpen,
|
|
3325
3530
|
className: cn("w-full space-y-2", className),
|
|
3326
3531
|
children: [
|
|
3327
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex items-center justify-between space-x-4 px-4 py-2 bg-gray-50 rounded-lg cursor-pointer hover:bg-gray-100 transition-colors", children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3328
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleContent2, { className: "space-y-2", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
3532
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex items-center justify-between space-x-4 px-4 py-2 bg-gray-50 rounded-lg cursor-pointer hover:bg-gray-100 transition-colors", children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react10.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3533
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleContent2, { className: "space-y-2", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react10.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3329
3534
|
]
|
|
3330
3535
|
}
|
|
3331
3536
|
);
|
|
3332
3537
|
};
|
|
3333
3538
|
|
|
3334
3539
|
// src/atoms/TooltipAtom.tsx
|
|
3335
|
-
var
|
|
3540
|
+
var import_react11 = __toESM(require("react"), 1);
|
|
3336
3541
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
3337
3542
|
var TooltipAtom = ({
|
|
3338
3543
|
content,
|
|
@@ -3341,13 +3546,13 @@ var TooltipAtom = ({
|
|
|
3341
3546
|
renderComponent
|
|
3342
3547
|
}) => {
|
|
3343
3548
|
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Tooltip, { children: [
|
|
3344
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("inline-block", className), children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3549
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("inline-block", className), children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react11.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3345
3550
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipContent, { className: "bg-gray-900 text-white border-none rounded-lg shadow-xl px-3 py-1.5 text-xs", children: content })
|
|
3346
3551
|
] }) });
|
|
3347
3552
|
};
|
|
3348
3553
|
|
|
3349
3554
|
// src/atoms/PopoverAtom.tsx
|
|
3350
|
-
var
|
|
3555
|
+
var import_react12 = __toESM(require("react"), 1);
|
|
3351
3556
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
3352
3557
|
var PopoverAtom = ({
|
|
3353
3558
|
trigger,
|
|
@@ -3356,13 +3561,13 @@ var PopoverAtom = ({
|
|
|
3356
3561
|
renderComponent
|
|
3357
3562
|
}) => {
|
|
3358
3563
|
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Popover, { children: [
|
|
3359
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3360
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverContent, { className: "w-80 rounded-2xl shadow-2xl border-gray-100 p-4 bg-white/95 backdrop-blur-sm", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react12.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3565
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverContent, { className: "w-80 rounded-2xl shadow-2xl border-gray-100 p-4 bg-white/95 backdrop-blur-sm", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react12.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3361
3566
|
] });
|
|
3362
3567
|
};
|
|
3363
3568
|
|
|
3364
3569
|
// src/atoms/DialogAtom.tsx
|
|
3365
|
-
var
|
|
3570
|
+
var import_react13 = __toESM(require("react"), 1);
|
|
3366
3571
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3367
3572
|
var DialogAtom = ({
|
|
3368
3573
|
title,
|
|
@@ -3374,20 +3579,20 @@ var DialogAtom = ({
|
|
|
3374
3579
|
renderComponent
|
|
3375
3580
|
}) => {
|
|
3376
3581
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Dialog, { children: [
|
|
3377
|
-
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3582
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3378
3583
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(DialogContent, { className: "sm:max-w-[425px] rounded-3xl p-6 bg-white/95 backdrop-blur-md shadow-3xl border-gray-100", children: [
|
|
3379
3584
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(DialogHeader, { children: [
|
|
3380
3585
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogTitle, { className: "text-xl font-bold bg-gradient-to-r from-purple600 to-indigo-600 bg-clip-text text-transparent", children: title }),
|
|
3381
3586
|
description && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogDescription, { className: "text-gray-500 font-medium pt-1", children: description })
|
|
3382
3587
|
] }),
|
|
3383
|
-
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "py-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3384
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogFooter, { className: "pt-2", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3588
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "py-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3589
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogFooter, { className: "pt-2", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3385
3590
|
] })
|
|
3386
3591
|
] });
|
|
3387
3592
|
};
|
|
3388
3593
|
|
|
3389
3594
|
// src/atoms/SheetAtom.tsx
|
|
3390
|
-
var
|
|
3595
|
+
var import_react14 = __toESM(require("react"), 1);
|
|
3391
3596
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3392
3597
|
var SheetAtom = ({
|
|
3393
3598
|
side = "right",
|
|
@@ -3400,7 +3605,7 @@ var SheetAtom = ({
|
|
|
3400
3605
|
renderComponent
|
|
3401
3606
|
}) => {
|
|
3402
3607
|
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Sheet, { children: [
|
|
3403
|
-
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3608
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3404
3609
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3405
3610
|
SheetContent,
|
|
3406
3611
|
{
|
|
@@ -3411,8 +3616,8 @@ var SheetAtom = ({
|
|
|
3411
3616
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetTitle, { className: "text-xl font-bold text-gray-900", children: title }),
|
|
3412
3617
|
description && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetDescription, { className: "text-gray-500 font-medium", children: description })
|
|
3413
3618
|
] }),
|
|
3414
|
-
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "py-8", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3415
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetFooter, { className: "absolute bottom-6 left-6 right-6", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3619
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "py-8", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3620
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetFooter, { className: "absolute bottom-6 left-6 right-6", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3416
3621
|
]
|
|
3417
3622
|
}
|
|
3418
3623
|
)
|
|
@@ -3420,7 +3625,7 @@ var SheetAtom = ({
|
|
|
3420
3625
|
};
|
|
3421
3626
|
|
|
3422
3627
|
// src/atoms/AlertDialogAtom.tsx
|
|
3423
|
-
var
|
|
3628
|
+
var import_react15 = __toESM(require("react"), 1);
|
|
3424
3629
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3425
3630
|
var AlertDialogAtom = ({
|
|
3426
3631
|
title,
|
|
@@ -3434,7 +3639,7 @@ var AlertDialogAtom = ({
|
|
|
3434
3639
|
renderComponent
|
|
3435
3640
|
}) => {
|
|
3436
3641
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialog, { children: [
|
|
3437
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3642
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react15.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3438
3643
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialogContent, { className: "rounded-3xl p-6 bg-white shadow-3xl border-gray-100", children: [
|
|
3439
3644
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialogHeader, { children: [
|
|
3440
3645
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogTitle, { className: "text-lg font-bold text-gray-900", children: title }),
|
|
@@ -3456,20 +3661,19 @@ var AlertDialogAtom = ({
|
|
|
3456
3661
|
};
|
|
3457
3662
|
|
|
3458
3663
|
// src/atoms/BreadcrumbAtom.tsx
|
|
3459
|
-
var
|
|
3664
|
+
var import_react16 = __toESM(require("react"), 1);
|
|
3460
3665
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3461
3666
|
var BreadcrumbAtom = ({
|
|
3462
3667
|
items,
|
|
3463
3668
|
className
|
|
3464
3669
|
}) => {
|
|
3465
|
-
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbList, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
3670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbList, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react16.default.Fragment, { children: [
|
|
3466
3671
|
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbItem, { children: item.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbPage, { children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbLink, { href: item.href || "#", children: item.label }) }),
|
|
3467
3672
|
index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbSeparator, {})
|
|
3468
3673
|
] }, index)) }) });
|
|
3469
3674
|
};
|
|
3470
3675
|
|
|
3471
3676
|
// src/atoms/SpinnerAtom.tsx
|
|
3472
|
-
var import_lucide_react21 = require("lucide-react");
|
|
3473
3677
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3474
3678
|
var SpinnerAtom = ({
|
|
3475
3679
|
size = "md",
|
|
@@ -3482,7 +3686,7 @@ var SpinnerAtom = ({
|
|
|
3482
3686
|
xl: "h-12 w-12"
|
|
3483
3687
|
};
|
|
3484
3688
|
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3485
|
-
|
|
3689
|
+
LoaderCircle,
|
|
3486
3690
|
{
|
|
3487
3691
|
className: cn(
|
|
3488
3692
|
"animate-spin text-purple500",
|
|
@@ -3531,7 +3735,7 @@ var PaginationAtom = ({
|
|
|
3531
3735
|
};
|
|
3532
3736
|
|
|
3533
3737
|
// src/atoms/CommandAtom.tsx
|
|
3534
|
-
var
|
|
3738
|
+
var import_react17 = __toESM(require("react"), 1);
|
|
3535
3739
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3536
3740
|
var CommandAtom = ({
|
|
3537
3741
|
placeholder = "Search...",
|
|
@@ -3549,7 +3753,7 @@ var CommandAtom = ({
|
|
|
3549
3753
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandInput, { placeholder }),
|
|
3550
3754
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(CommandList, { children: [
|
|
3551
3755
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandEmpty, { children: "No results found." }),
|
|
3552
|
-
groups.map((group, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
3756
|
+
groups.map((group, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_react17.default.Fragment, { children: [
|
|
3553
3757
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandGroup, { heading: group.heading, children: group.items.map((item, j) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandItem, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: item.label }) }, j)) }),
|
|
3554
3758
|
i < groups.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandSeparator, {})
|
|
3555
3759
|
] }, i))
|
|
@@ -3560,10 +3764,9 @@ var CommandAtom = ({
|
|
|
3560
3764
|
};
|
|
3561
3765
|
|
|
3562
3766
|
// src/molecules/generic/EditableField/EditableField.tsx
|
|
3563
|
-
var
|
|
3564
|
-
var import_lucide_react22 = require("lucide-react");
|
|
3767
|
+
var import_react18 = __toESM(require("react"), 1);
|
|
3565
3768
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3566
|
-
var EditableField =
|
|
3769
|
+
var EditableField = import_react18.default.memo(
|
|
3567
3770
|
({
|
|
3568
3771
|
label,
|
|
3569
3772
|
value,
|
|
@@ -3579,12 +3782,12 @@ var EditableField = import_react16.default.memo(
|
|
|
3579
3782
|
renderDisplay,
|
|
3580
3783
|
renderEdit
|
|
3581
3784
|
}) => {
|
|
3582
|
-
const [localValue, setLocalValue] = (0,
|
|
3583
|
-
const inputRef = (0,
|
|
3584
|
-
(0,
|
|
3785
|
+
const [localValue, setLocalValue] = (0, import_react18.useState)(value);
|
|
3786
|
+
const inputRef = (0, import_react18.useRef)(null);
|
|
3787
|
+
(0, import_react18.useEffect)(() => {
|
|
3585
3788
|
setLocalValue(value);
|
|
3586
3789
|
}, [value, isEditingProp]);
|
|
3587
|
-
(0,
|
|
3790
|
+
(0, import_react18.useEffect)(() => {
|
|
3588
3791
|
if (isEditingProp) {
|
|
3589
3792
|
setTimeout(() => inputRef.current?.focus(), 0);
|
|
3590
3793
|
}
|
|
@@ -3712,7 +3915,7 @@ var EditableField = import_react16.default.memo(
|
|
|
3712
3915
|
className: "h-8 w-8 text-destructive border-destructive/20 hover:bg-destructive/10",
|
|
3713
3916
|
onClick: onCancel,
|
|
3714
3917
|
disabled: isSaving,
|
|
3715
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3918
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(X, { className: "h-4 w-4" })
|
|
3716
3919
|
}
|
|
3717
3920
|
),
|
|
3718
3921
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
@@ -3722,7 +3925,7 @@ var EditableField = import_react16.default.memo(
|
|
|
3722
3925
|
className: "h-8 w-8 bg-purple500 hover:bg-purple600 text-white",
|
|
3723
3926
|
onClick: handleSave,
|
|
3724
3927
|
disabled: isSaving,
|
|
3725
|
-
children: isSaving ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3928
|
+
children: isSaving ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Check, { className: "h-4 w-4" })
|
|
3726
3929
|
}
|
|
3727
3930
|
)
|
|
3728
3931
|
] })
|
|
@@ -3736,7 +3939,7 @@ var EditableField = import_react16.default.memo(
|
|
|
3736
3939
|
onClick: onEdit,
|
|
3737
3940
|
children: [
|
|
3738
3941
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "text-sm text-gray-900 font-medium truncate flex-1 leading-relaxed", children: formattedValue() }),
|
|
3739
|
-
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3942
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Pencil, { className: "h-3.5 w-3.5 text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity" })
|
|
3740
3943
|
]
|
|
3741
3944
|
}
|
|
3742
3945
|
)
|
|
@@ -3746,10 +3949,9 @@ var EditableField = import_react16.default.memo(
|
|
|
3746
3949
|
EditableField.displayName = "EditableField";
|
|
3747
3950
|
|
|
3748
3951
|
// src/molecules/generic/ActionButton/ActionButton.tsx
|
|
3749
|
-
var
|
|
3750
|
-
var import_lucide_react23 = require("lucide-react");
|
|
3952
|
+
var import_react19 = __toESM(require("react"), 1);
|
|
3751
3953
|
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3752
|
-
var ActionButton =
|
|
3954
|
+
var ActionButton = import_react19.default.memo(
|
|
3753
3955
|
({
|
|
3754
3956
|
label,
|
|
3755
3957
|
secondaryLabel,
|
|
@@ -3764,13 +3966,13 @@ var ActionButton = import_react17.default.memo(
|
|
|
3764
3966
|
className,
|
|
3765
3967
|
showCountdown = true
|
|
3766
3968
|
}) => {
|
|
3767
|
-
const [timeLeft, setTimeLeft] = (0,
|
|
3768
|
-
(0,
|
|
3969
|
+
const [timeLeft, setTimeLeft] = (0, import_react19.useState)(countdownProp || 0);
|
|
3970
|
+
(0, import_react19.useEffect)(() => {
|
|
3769
3971
|
if (countdownProp !== void 0) {
|
|
3770
3972
|
setTimeLeft(countdownProp);
|
|
3771
3973
|
}
|
|
3772
3974
|
}, [countdownProp]);
|
|
3773
|
-
(0,
|
|
3975
|
+
(0, import_react19.useEffect)(() => {
|
|
3774
3976
|
if (countdownProp === void 0 || countdownProp <= 0 || isPaused || isLoading || disabled) {
|
|
3775
3977
|
return;
|
|
3776
3978
|
}
|
|
@@ -3802,13 +4004,13 @@ var ActionButton = import_react17.default.memo(
|
|
|
3802
4004
|
isLoading && "opacity-80"
|
|
3803
4005
|
),
|
|
3804
4006
|
children: [
|
|
3805
|
-
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4007
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
|
|
3806
4008
|
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: label }),
|
|
3807
4009
|
showCountdown && countdownProp && countdownProp > 0 && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("span", { className: "opacity-70 text-xs bg-white/20 px-1.5 py-0.5 rounded-md tabular-nums min-w-[24px]", children: [
|
|
3808
4010
|
timeLeft,
|
|
3809
4011
|
"s"
|
|
3810
4012
|
] }),
|
|
3811
|
-
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4013
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ArrowRight, { className: "h-4 w-4 group-hover:translate-x-1 transition-transform" })
|
|
3812
4014
|
] }) }),
|
|
3813
4015
|
!isPaused && countdownProp && countdownProp > 0 && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3814
4016
|
"div",
|
|
@@ -3828,7 +4030,7 @@ var ActionButton = import_react17.default.memo(
|
|
|
3828
4030
|
onClick: onPause,
|
|
3829
4031
|
className: "h-10 w-10 rounded-full hover:bg-gray-100 text-gray-500",
|
|
3830
4032
|
title: isPaused ? "Resume auto-proceed" : "Pause auto-proceed",
|
|
3831
|
-
children: isPaused ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
4033
|
+
children: isPaused ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Play, { className: "h-4 w-4 fill-current" }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Pause, { className: "h-4 w-4 fill-current" })
|
|
3832
4034
|
}
|
|
3833
4035
|
),
|
|
3834
4036
|
secondaryLabel && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "text-sm text-gray-500 font-medium italic", children: secondaryLabel })
|
|
@@ -3838,10 +4040,9 @@ var ActionButton = import_react17.default.memo(
|
|
|
3838
4040
|
ActionButton.displayName = "ActionButton";
|
|
3839
4041
|
|
|
3840
4042
|
// src/molecules/generic/FormCard/FormCard.tsx
|
|
3841
|
-
var
|
|
3842
|
-
var import_lucide_react24 = require("lucide-react");
|
|
4043
|
+
var import_react20 = __toESM(require("react"), 1);
|
|
3843
4044
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3844
|
-
var FormCard =
|
|
4045
|
+
var FormCard = import_react20.default.memo(
|
|
3845
4046
|
({
|
|
3846
4047
|
title,
|
|
3847
4048
|
fields,
|
|
@@ -3883,7 +4084,7 @@ var FormCard = import_react18.default.memo(
|
|
|
3883
4084
|
onClick: handleCopyAll,
|
|
3884
4085
|
className: "p-1.5 rounded-md hover:bg-gray-100 text-gray-400 hover:text-gray-600 transition-colors",
|
|
3885
4086
|
title: "Copy all details",
|
|
3886
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
4087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Copy, { className: "h-4 w-4" })
|
|
3887
4088
|
}
|
|
3888
4089
|
)
|
|
3889
4090
|
] }),
|
|
@@ -3937,8 +4138,7 @@ var FormCard = import_react18.default.memo(
|
|
|
3937
4138
|
FormCard.displayName = "FormCard";
|
|
3938
4139
|
|
|
3939
4140
|
// src/molecules/creator-discovery/CampaignSeedCard/CampaignSeedCard.tsx
|
|
3940
|
-
var
|
|
3941
|
-
var import_lucide_react25 = require("lucide-react");
|
|
4141
|
+
var import_react21 = __toESM(require("react"), 1);
|
|
3942
4142
|
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3943
4143
|
var CAMPAIGN_SEED_FIELDS = [
|
|
3944
4144
|
{
|
|
@@ -4008,7 +4208,7 @@ var CAMPAIGN_SEED_FIELDS = [
|
|
|
4008
4208
|
rows: 4
|
|
4009
4209
|
}
|
|
4010
4210
|
];
|
|
4011
|
-
var CampaignSeedCard =
|
|
4211
|
+
var CampaignSeedCard = import_react21.default.memo(
|
|
4012
4212
|
({
|
|
4013
4213
|
selectionStatus,
|
|
4014
4214
|
isLatestMessage = true,
|
|
@@ -4023,7 +4223,7 @@ var CampaignSeedCard = import_react19.default.memo(
|
|
|
4023
4223
|
fields: CAMPAIGN_SEED_FIELDS,
|
|
4024
4224
|
className,
|
|
4025
4225
|
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
4026
|
-
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
4226
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4027
4227
|
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
4028
4228
|
] }) : formCardProps.footer
|
|
4029
4229
|
}
|
|
@@ -4033,11 +4233,10 @@ var CampaignSeedCard = import_react19.default.memo(
|
|
|
4033
4233
|
CampaignSeedCard.displayName = "CampaignSeedCard";
|
|
4034
4234
|
|
|
4035
4235
|
// src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
|
|
4036
|
-
var
|
|
4236
|
+
var import_react23 = __toESM(require("react"), 1);
|
|
4037
4237
|
|
|
4038
4238
|
// src/molecules/creator-discovery/SearchSpecCard/CustomFieldRenderers.tsx
|
|
4039
|
-
var
|
|
4040
|
-
var import_lucide_react26 = require("lucide-react");
|
|
4239
|
+
var import_react22 = require("react");
|
|
4041
4240
|
|
|
4042
4241
|
// src/lib/countries.ts
|
|
4043
4242
|
var countries = [
|
|
@@ -4249,10 +4448,10 @@ var CountrySelectEdit = ({
|
|
|
4249
4448
|
value,
|
|
4250
4449
|
onChange
|
|
4251
4450
|
}) => {
|
|
4252
|
-
const [isDropdownOpen, setIsDropdownOpen] = (0,
|
|
4253
|
-
const [searchTerm, setSearchTerm] = (0,
|
|
4254
|
-
const dropdownRef = (0,
|
|
4255
|
-
(0,
|
|
4451
|
+
const [isDropdownOpen, setIsDropdownOpen] = (0, import_react22.useState)(false);
|
|
4452
|
+
const [searchTerm, setSearchTerm] = (0, import_react22.useState)("");
|
|
4453
|
+
const dropdownRef = (0, import_react22.useRef)(null);
|
|
4454
|
+
(0, import_react22.useEffect)(() => {
|
|
4256
4455
|
const handleClickOutside = (event) => {
|
|
4257
4456
|
if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
|
|
4258
4457
|
setIsDropdownOpen(false);
|
|
@@ -4272,7 +4471,7 @@ var CountrySelectEdit = ({
|
|
|
4272
4471
|
children: [
|
|
4273
4472
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-gray-700", children: inputValue.length > 0 ? `${inputValue.length} ${inputValue.length === 1 ? "country" : "countries"} selected` : "Select countries..." }),
|
|
4274
4473
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4275
|
-
|
|
4474
|
+
ChevronDown,
|
|
4276
4475
|
{
|
|
4277
4476
|
className: cn(
|
|
4278
4477
|
"h-4 w-4 text-gray-400 transition-transform",
|
|
@@ -4322,7 +4521,7 @@ var CountrySelectEdit = ({
|
|
|
4322
4521
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-sm text-gray-700", children: country.name }),
|
|
4323
4522
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-xs text-gray-400 font-mono", children: country.code })
|
|
4324
4523
|
] }),
|
|
4325
|
-
inputValue.includes(country.code) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4524
|
+
inputValue.includes(country.code) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Check, { className: "h-4 w-4 text-purple500" })
|
|
4326
4525
|
]
|
|
4327
4526
|
},
|
|
4328
4527
|
country.code
|
|
@@ -4342,7 +4541,7 @@ var CountrySelectEdit = ({
|
|
|
4342
4541
|
onClick: () => onChange(inputValue.filter((c) => c !== countryCode)),
|
|
4343
4542
|
className: "hover:bg-purple200 rounded-full p-0.5 transition-colors",
|
|
4344
4543
|
children: [
|
|
4345
|
-
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4544
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ChevronDown, { className: "h-3 w-3 rotate-45" }),
|
|
4346
4545
|
" "
|
|
4347
4546
|
]
|
|
4348
4547
|
}
|
|
@@ -4509,7 +4708,6 @@ var KeywordBundlesDisplay = ({ value }) => {
|
|
|
4509
4708
|
};
|
|
4510
4709
|
|
|
4511
4710
|
// src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
|
|
4512
|
-
var import_lucide_react27 = require("lucide-react");
|
|
4513
4711
|
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
4514
4712
|
var SEARCH_SPEC_FIELDS = [
|
|
4515
4713
|
{
|
|
@@ -4564,7 +4762,7 @@ var SEARCH_SPEC_FIELDS = [
|
|
|
4564
4762
|
}
|
|
4565
4763
|
}
|
|
4566
4764
|
];
|
|
4567
|
-
var SearchSpecCard =
|
|
4765
|
+
var SearchSpecCard = import_react23.default.memo(
|
|
4568
4766
|
({
|
|
4569
4767
|
selectionStatus,
|
|
4570
4768
|
isLatestMessage = true,
|
|
@@ -4579,7 +4777,7 @@ var SearchSpecCard = import_react21.default.memo(
|
|
|
4579
4777
|
fields: SEARCH_SPEC_FIELDS,
|
|
4580
4778
|
className,
|
|
4581
4779
|
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
4582
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
4780
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4583
4781
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
4584
4782
|
] }) : formCardProps.footer
|
|
4585
4783
|
}
|
|
@@ -4589,10 +4787,9 @@ var SearchSpecCard = import_react21.default.memo(
|
|
|
4589
4787
|
SearchSpecCard.displayName = "SearchSpecCard";
|
|
4590
4788
|
|
|
4591
4789
|
// src/molecules/creator-discovery/MCQCard/MCQCard.tsx
|
|
4592
|
-
var
|
|
4593
|
-
var import_lucide_react28 = require("lucide-react");
|
|
4790
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
4594
4791
|
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
4595
|
-
var MCQCard =
|
|
4792
|
+
var MCQCard = import_react24.default.memo(
|
|
4596
4793
|
({
|
|
4597
4794
|
question,
|
|
4598
4795
|
options,
|
|
@@ -4667,7 +4864,7 @@ var MCQCard = import_react22.default.memo(
|
|
|
4667
4864
|
variant: "outline",
|
|
4668
4865
|
className: "bg-green-50 text-green-700 border-green-100 flex items-center gap-1 text-[10px] py-0 h-5",
|
|
4669
4866
|
children: [
|
|
4670
|
-
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4867
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Sparkles, { className: "h-3 w-3" }),
|
|
4671
4868
|
"Recommended"
|
|
4672
4869
|
]
|
|
4673
4870
|
}
|
|
@@ -4698,7 +4895,7 @@ var MCQCard = import_react22.default.memo(
|
|
|
4698
4895
|
disabled: !selectedOption && !recommended
|
|
4699
4896
|
}
|
|
4700
4897
|
) }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "w-full flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold", children: [
|
|
4701
|
-
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4898
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4702
4899
|
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: selectionStatus === "agent" ? "Suggested by Agent, Approved by You" : "Selected by You" })
|
|
4703
4900
|
] }) })
|
|
4704
4901
|
]
|
|
@@ -5173,3 +5370,39 @@ var PXEngineRenderer = ({
|
|
|
5173
5370
|
TooltipTrigger,
|
|
5174
5371
|
cn
|
|
5175
5372
|
});
|
|
5373
|
+
/*! Bundled license information:
|
|
5374
|
+
|
|
5375
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
5376
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
5377
|
+
lucide-react/dist/esm/Icon.js:
|
|
5378
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
5379
|
+
lucide-react/dist/esm/icons/arrow-left.js:
|
|
5380
|
+
lucide-react/dist/esm/icons/arrow-right.js:
|
|
5381
|
+
lucide-react/dist/esm/icons/check.js:
|
|
5382
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
5383
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
|
5384
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
|
5385
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
|
5386
|
+
lucide-react/dist/esm/icons/circle-alert.js:
|
|
5387
|
+
lucide-react/dist/esm/icons/circle-check.js:
|
|
5388
|
+
lucide-react/dist/esm/icons/circle.js:
|
|
5389
|
+
lucide-react/dist/esm/icons/copy.js:
|
|
5390
|
+
lucide-react/dist/esm/icons/dot.js:
|
|
5391
|
+
lucide-react/dist/esm/icons/ellipsis.js:
|
|
5392
|
+
lucide-react/dist/esm/icons/info.js:
|
|
5393
|
+
lucide-react/dist/esm/icons/loader-circle.js:
|
|
5394
|
+
lucide-react/dist/esm/icons/pause.js:
|
|
5395
|
+
lucide-react/dist/esm/icons/pencil.js:
|
|
5396
|
+
lucide-react/dist/esm/icons/play.js:
|
|
5397
|
+
lucide-react/dist/esm/icons/search.js:
|
|
5398
|
+
lucide-react/dist/esm/icons/sparkles.js:
|
|
5399
|
+
lucide-react/dist/esm/icons/triangle-alert.js:
|
|
5400
|
+
lucide-react/dist/esm/icons/x.js:
|
|
5401
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
5402
|
+
(**
|
|
5403
|
+
* @license lucide-react v0.475.0 - ISC
|
|
5404
|
+
*
|
|
5405
|
+
* This source code is licensed under the ISC license.
|
|
5406
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
5407
|
+
*)
|
|
5408
|
+
*/
|