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.js
CHANGED
|
@@ -94,7 +94,231 @@ Label.displayName = LabelPrimitive.Root.displayName;
|
|
|
94
94
|
// src/components/ui/checkbox.tsx
|
|
95
95
|
import * as React4 from "react";
|
|
96
96
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
97
|
-
|
|
97
|
+
|
|
98
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
99
|
+
import { forwardRef as forwardRef5, createElement as createElement2 } from "react";
|
|
100
|
+
|
|
101
|
+
// node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
102
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
103
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
104
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
105
|
+
}).join(" ").trim();
|
|
106
|
+
|
|
107
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
108
|
+
import { forwardRef as forwardRef4, createElement } from "react";
|
|
109
|
+
|
|
110
|
+
// node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
111
|
+
var defaultAttributes = {
|
|
112
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
113
|
+
width: 24,
|
|
114
|
+
height: 24,
|
|
115
|
+
viewBox: "0 0 24 24",
|
|
116
|
+
fill: "none",
|
|
117
|
+
stroke: "currentColor",
|
|
118
|
+
strokeWidth: 2,
|
|
119
|
+
strokeLinecap: "round",
|
|
120
|
+
strokeLinejoin: "round"
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
124
|
+
var Icon = forwardRef4(
|
|
125
|
+
({
|
|
126
|
+
color = "currentColor",
|
|
127
|
+
size = 24,
|
|
128
|
+
strokeWidth = 2,
|
|
129
|
+
absoluteStrokeWidth,
|
|
130
|
+
className = "",
|
|
131
|
+
children,
|
|
132
|
+
iconNode,
|
|
133
|
+
...rest
|
|
134
|
+
}, ref) => {
|
|
135
|
+
return createElement(
|
|
136
|
+
"svg",
|
|
137
|
+
{
|
|
138
|
+
ref,
|
|
139
|
+
...defaultAttributes,
|
|
140
|
+
width: size,
|
|
141
|
+
height: size,
|
|
142
|
+
stroke: color,
|
|
143
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
144
|
+
className: mergeClasses("lucide", className),
|
|
145
|
+
...rest
|
|
146
|
+
},
|
|
147
|
+
[
|
|
148
|
+
...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
|
|
149
|
+
...Array.isArray(children) ? children : [children]
|
|
150
|
+
]
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
|
|
155
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
156
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
157
|
+
const Component = forwardRef5(
|
|
158
|
+
({ className, ...props }, ref) => createElement2(Icon, {
|
|
159
|
+
ref,
|
|
160
|
+
iconNode,
|
|
161
|
+
className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
|
|
162
|
+
...props
|
|
163
|
+
})
|
|
164
|
+
);
|
|
165
|
+
Component.displayName = `${iconName}`;
|
|
166
|
+
return Component;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-left.js
|
|
170
|
+
var __iconNode = [
|
|
171
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
172
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
173
|
+
];
|
|
174
|
+
var ArrowLeft = createLucideIcon("ArrowLeft", __iconNode);
|
|
175
|
+
|
|
176
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
177
|
+
var __iconNode2 = [
|
|
178
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
179
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
180
|
+
];
|
|
181
|
+
var ArrowRight = createLucideIcon("ArrowRight", __iconNode2);
|
|
182
|
+
|
|
183
|
+
// node_modules/lucide-react/dist/esm/icons/check.js
|
|
184
|
+
var __iconNode3 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
185
|
+
var Check = createLucideIcon("Check", __iconNode3);
|
|
186
|
+
|
|
187
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
188
|
+
var __iconNode4 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
189
|
+
var ChevronDown = createLucideIcon("ChevronDown", __iconNode4);
|
|
190
|
+
|
|
191
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
192
|
+
var __iconNode5 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
193
|
+
var ChevronLeft = createLucideIcon("ChevronLeft", __iconNode5);
|
|
194
|
+
|
|
195
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
196
|
+
var __iconNode6 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
197
|
+
var ChevronRight = createLucideIcon("ChevronRight", __iconNode6);
|
|
198
|
+
|
|
199
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
200
|
+
var __iconNode7 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
201
|
+
var ChevronUp = createLucideIcon("ChevronUp", __iconNode7);
|
|
202
|
+
|
|
203
|
+
// node_modules/lucide-react/dist/esm/icons/circle-alert.js
|
|
204
|
+
var __iconNode8 = [
|
|
205
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
206
|
+
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
207
|
+
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
208
|
+
];
|
|
209
|
+
var CircleAlert = createLucideIcon("CircleAlert", __iconNode8);
|
|
210
|
+
|
|
211
|
+
// node_modules/lucide-react/dist/esm/icons/circle-check.js
|
|
212
|
+
var __iconNode9 = [
|
|
213
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
214
|
+
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
215
|
+
];
|
|
216
|
+
var CircleCheck = createLucideIcon("CircleCheck", __iconNode9);
|
|
217
|
+
|
|
218
|
+
// node_modules/lucide-react/dist/esm/icons/circle.js
|
|
219
|
+
var __iconNode10 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
220
|
+
var Circle = createLucideIcon("Circle", __iconNode10);
|
|
221
|
+
|
|
222
|
+
// node_modules/lucide-react/dist/esm/icons/copy.js
|
|
223
|
+
var __iconNode11 = [
|
|
224
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
225
|
+
["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" }]
|
|
226
|
+
];
|
|
227
|
+
var Copy = createLucideIcon("Copy", __iconNode11);
|
|
228
|
+
|
|
229
|
+
// node_modules/lucide-react/dist/esm/icons/dot.js
|
|
230
|
+
var __iconNode12 = [["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]];
|
|
231
|
+
var Dot = createLucideIcon("Dot", __iconNode12);
|
|
232
|
+
|
|
233
|
+
// node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
234
|
+
var __iconNode13 = [
|
|
235
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
236
|
+
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
237
|
+
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
238
|
+
];
|
|
239
|
+
var Ellipsis = createLucideIcon("Ellipsis", __iconNode13);
|
|
240
|
+
|
|
241
|
+
// node_modules/lucide-react/dist/esm/icons/info.js
|
|
242
|
+
var __iconNode14 = [
|
|
243
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
244
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
245
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
246
|
+
];
|
|
247
|
+
var Info = createLucideIcon("Info", __iconNode14);
|
|
248
|
+
|
|
249
|
+
// node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
250
|
+
var __iconNode15 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
251
|
+
var LoaderCircle = createLucideIcon("LoaderCircle", __iconNode15);
|
|
252
|
+
|
|
253
|
+
// node_modules/lucide-react/dist/esm/icons/pause.js
|
|
254
|
+
var __iconNode16 = [
|
|
255
|
+
["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
|
|
256
|
+
["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
|
|
257
|
+
];
|
|
258
|
+
var Pause = createLucideIcon("Pause", __iconNode16);
|
|
259
|
+
|
|
260
|
+
// node_modules/lucide-react/dist/esm/icons/pencil.js
|
|
261
|
+
var __iconNode17 = [
|
|
262
|
+
[
|
|
263
|
+
"path",
|
|
264
|
+
{
|
|
265
|
+
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",
|
|
266
|
+
key: "1a8usu"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
270
|
+
];
|
|
271
|
+
var Pencil = createLucideIcon("Pencil", __iconNode17);
|
|
272
|
+
|
|
273
|
+
// node_modules/lucide-react/dist/esm/icons/play.js
|
|
274
|
+
var __iconNode18 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]];
|
|
275
|
+
var Play = createLucideIcon("Play", __iconNode18);
|
|
276
|
+
|
|
277
|
+
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
278
|
+
var __iconNode19 = [
|
|
279
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
280
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
281
|
+
];
|
|
282
|
+
var Search = createLucideIcon("Search", __iconNode19);
|
|
283
|
+
|
|
284
|
+
// node_modules/lucide-react/dist/esm/icons/sparkles.js
|
|
285
|
+
var __iconNode20 = [
|
|
286
|
+
[
|
|
287
|
+
"path",
|
|
288
|
+
{
|
|
289
|
+
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",
|
|
290
|
+
key: "4pj2yx"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
294
|
+
["path", { d: "M22 5h-4", key: "1gvqau" }],
|
|
295
|
+
["path", { d: "M4 17v2", key: "vumght" }],
|
|
296
|
+
["path", { d: "M5 18H3", key: "zchphs" }]
|
|
297
|
+
];
|
|
298
|
+
var Sparkles = createLucideIcon("Sparkles", __iconNode20);
|
|
299
|
+
|
|
300
|
+
// node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
301
|
+
var __iconNode21 = [
|
|
302
|
+
[
|
|
303
|
+
"path",
|
|
304
|
+
{
|
|
305
|
+
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",
|
|
306
|
+
key: "wmoenq"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
310
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
311
|
+
];
|
|
312
|
+
var TriangleAlert = createLucideIcon("TriangleAlert", __iconNode21);
|
|
313
|
+
|
|
314
|
+
// node_modules/lucide-react/dist/esm/icons/x.js
|
|
315
|
+
var __iconNode22 = [
|
|
316
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
317
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
318
|
+
];
|
|
319
|
+
var X = createLucideIcon("X", __iconNode22);
|
|
320
|
+
|
|
321
|
+
// src/components/ui/checkbox.tsx
|
|
98
322
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
99
323
|
var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
|
|
100
324
|
CheckboxPrimitive.Root,
|
|
@@ -119,7 +343,6 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
|
119
343
|
// src/components/ui/radio-group.tsx
|
|
120
344
|
import * as React5 from "react";
|
|
121
345
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
122
|
-
import { Circle } from "lucide-react";
|
|
123
346
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
124
347
|
var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
125
348
|
return /* @__PURE__ */ jsx5(
|
|
@@ -215,7 +438,6 @@ Textarea.displayName = "Textarea";
|
|
|
215
438
|
// src/components/ui/select.tsx
|
|
216
439
|
import * as React9 from "react";
|
|
217
440
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
218
|
-
import { Check as Check2, ChevronDown, ChevronUp } from "lucide-react";
|
|
219
441
|
import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
220
442
|
var Select = SelectPrimitive.Root;
|
|
221
443
|
var SelectGroup = SelectPrimitive.Group;
|
|
@@ -309,7 +531,7 @@ var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
309
531
|
),
|
|
310
532
|
...props,
|
|
311
533
|
children: [
|
|
312
|
-
/* @__PURE__ */ jsx9("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx9(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(
|
|
534
|
+
/* @__PURE__ */ jsx9("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx9(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(Check, { className: "h-4 w-4" }) }) }),
|
|
313
535
|
/* @__PURE__ */ jsx9(SelectPrimitive.ItemText, { children })
|
|
314
536
|
]
|
|
315
537
|
}
|
|
@@ -328,7 +550,6 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
328
550
|
// src/components/ui/input-otp.tsx
|
|
329
551
|
import * as React10 from "react";
|
|
330
552
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
331
|
-
import { Dot } from "lucide-react";
|
|
332
553
|
import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
333
554
|
var InputOTP = React10.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx10(
|
|
334
555
|
OTPInput,
|
|
@@ -590,7 +811,6 @@ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
|
590
811
|
var AspectRatio = AspectRatioPrimitive.Root;
|
|
591
812
|
|
|
592
813
|
// src/components/ui/resizable.tsx
|
|
593
|
-
import { GripVertical } from "lucide-react";
|
|
594
814
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
595
815
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
596
816
|
var ResizablePanelGroup = ({
|
|
@@ -653,7 +873,6 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
653
873
|
// src/components/ui/accordion.tsx
|
|
654
874
|
import * as React16 from "react";
|
|
655
875
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
656
|
-
import { ChevronDown as ChevronDown2 } from "lucide-react";
|
|
657
876
|
import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
658
877
|
var Accordion = AccordionPrimitive.Root;
|
|
659
878
|
var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
@@ -676,7 +895,7 @@ var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, re
|
|
|
676
895
|
...props,
|
|
677
896
|
children: [
|
|
678
897
|
children,
|
|
679
|
-
/* @__PURE__ */ jsx17(
|
|
898
|
+
/* @__PURE__ */ jsx17(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
680
899
|
]
|
|
681
900
|
}
|
|
682
901
|
) }));
|
|
@@ -701,7 +920,6 @@ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
|
701
920
|
// src/components/ui/dialog.tsx
|
|
702
921
|
import * as React17 from "react";
|
|
703
922
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
704
|
-
import { X } from "lucide-react";
|
|
705
923
|
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
706
924
|
var Dialog = DialogPrimitive.Root;
|
|
707
925
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
@@ -795,7 +1013,6 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
795
1013
|
import * as React18 from "react";
|
|
796
1014
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
797
1015
|
import { cva as cva3 } from "class-variance-authority";
|
|
798
|
-
import { X as X2 } from "lucide-react";
|
|
799
1016
|
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
800
1017
|
var Sheet = SheetPrimitive.Root;
|
|
801
1018
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
@@ -840,7 +1057,7 @@ var SheetContent = React18.forwardRef(({ side = "right", className, children, ..
|
|
|
840
1057
|
children: [
|
|
841
1058
|
children,
|
|
842
1059
|
/* @__PURE__ */ jsxs7(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: [
|
|
843
|
-
/* @__PURE__ */ jsx19(
|
|
1060
|
+
/* @__PURE__ */ jsx19(X, { className: "h-4 w-4" }),
|
|
844
1061
|
/* @__PURE__ */ jsx19("span", { className: "sr-only", children: "Close" })
|
|
845
1062
|
] })
|
|
846
1063
|
]
|
|
@@ -1154,7 +1371,6 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
1154
1371
|
// src/components/ui/dropdown-menu.tsx
|
|
1155
1372
|
import * as React24 from "react";
|
|
1156
1373
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1157
|
-
import { Check as Check3, ChevronRight, Circle as Circle2 } from "lucide-react";
|
|
1158
1374
|
import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1159
1375
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
1160
1376
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
@@ -1226,7 +1442,7 @@ var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checke
|
|
|
1226
1442
|
checked,
|
|
1227
1443
|
...props,
|
|
1228
1444
|
children: [
|
|
1229
|
-
/* @__PURE__ */ jsx25("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(
|
|
1445
|
+
/* @__PURE__ */ jsx25("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(Check, { className: "h-4 w-4" }) }) }),
|
|
1230
1446
|
children
|
|
1231
1447
|
]
|
|
1232
1448
|
}
|
|
@@ -1242,7 +1458,7 @@ var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props
|
|
|
1242
1458
|
),
|
|
1243
1459
|
...props,
|
|
1244
1460
|
children: [
|
|
1245
|
-
/* @__PURE__ */ jsx25("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(
|
|
1461
|
+
/* @__PURE__ */ jsx25("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1246
1462
|
children
|
|
1247
1463
|
]
|
|
1248
1464
|
}
|
|
@@ -1287,7 +1503,6 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
|
1287
1503
|
// src/components/ui/context-menu.tsx
|
|
1288
1504
|
import * as React25 from "react";
|
|
1289
1505
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
1290
|
-
import { Check as Check4, ChevronRight as ChevronRight2, Circle as Circle3 } from "lucide-react";
|
|
1291
1506
|
import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1292
1507
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
1293
1508
|
var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
@@ -1303,7 +1518,7 @@ var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ..
|
|
|
1303
1518
|
...props,
|
|
1304
1519
|
children: [
|
|
1305
1520
|
children,
|
|
1306
|
-
/* @__PURE__ */ jsx26(
|
|
1521
|
+
/* @__PURE__ */ jsx26(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1307
1522
|
]
|
|
1308
1523
|
}
|
|
1309
1524
|
));
|
|
@@ -1356,7 +1571,7 @@ var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked
|
|
|
1356
1571
|
checked,
|
|
1357
1572
|
...props,
|
|
1358
1573
|
children: [
|
|
1359
|
-
/* @__PURE__ */ jsx26("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx26(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx26(
|
|
1574
|
+
/* @__PURE__ */ jsx26("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx26(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx26(Check, { className: "h-4 w-4" }) }) }),
|
|
1360
1575
|
children
|
|
1361
1576
|
]
|
|
1362
1577
|
}
|
|
@@ -1372,7 +1587,7 @@ var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }
|
|
|
1372
1587
|
),
|
|
1373
1588
|
...props,
|
|
1374
1589
|
children: [
|
|
1375
|
-
/* @__PURE__ */ jsx26("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx26(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx26(
|
|
1590
|
+
/* @__PURE__ */ jsx26("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx26(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx26(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1376
1591
|
children
|
|
1377
1592
|
]
|
|
1378
1593
|
}
|
|
@@ -1420,7 +1635,6 @@ ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
|
1420
1635
|
// src/components/ui/menubar.tsx
|
|
1421
1636
|
import * as React26 from "react";
|
|
1422
1637
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
1423
|
-
import { Check as Check5, ChevronRight as ChevronRight3, Circle as Circle4 } from "lucide-react";
|
|
1424
1638
|
import { jsx as jsx27, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1425
1639
|
var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
|
|
1426
1640
|
MenubarPrimitive.Root,
|
|
@@ -1458,7 +1672,7 @@ var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...pro
|
|
|
1458
1672
|
...props,
|
|
1459
1673
|
children: [
|
|
1460
1674
|
children,
|
|
1461
|
-
/* @__PURE__ */ jsx27(
|
|
1675
|
+
/* @__PURE__ */ jsx27(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1462
1676
|
]
|
|
1463
1677
|
}
|
|
1464
1678
|
));
|
|
@@ -1516,7 +1730,7 @@ var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ..
|
|
|
1516
1730
|
checked,
|
|
1517
1731
|
...props,
|
|
1518
1732
|
children: [
|
|
1519
|
-
/* @__PURE__ */ jsx27("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(
|
|
1733
|
+
/* @__PURE__ */ jsx27("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(Check, { className: "h-4 w-4" }) }) }),
|
|
1520
1734
|
children
|
|
1521
1735
|
]
|
|
1522
1736
|
}
|
|
@@ -1532,7 +1746,7 @@ var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, re
|
|
|
1532
1746
|
),
|
|
1533
1747
|
...props,
|
|
1534
1748
|
children: [
|
|
1535
|
-
/* @__PURE__ */ jsx27("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(
|
|
1749
|
+
/* @__PURE__ */ jsx27("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx27(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx27(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1536
1750
|
children
|
|
1537
1751
|
]
|
|
1538
1752
|
}
|
|
@@ -1581,7 +1795,6 @@ MenubarShortcut.displayname = "MenubarShortcut";
|
|
|
1581
1795
|
import * as React27 from "react";
|
|
1582
1796
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
1583
1797
|
import { cva as cva4 } from "class-variance-authority";
|
|
1584
|
-
import { ChevronDown as ChevronDown3 } from "lucide-react";
|
|
1585
1798
|
import { jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1586
1799
|
var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(
|
|
1587
1800
|
NavigationMenuPrimitive.Root,
|
|
@@ -1625,7 +1838,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
|
|
|
1625
1838
|
children,
|
|
1626
1839
|
" ",
|
|
1627
1840
|
/* @__PURE__ */ jsx28(
|
|
1628
|
-
|
|
1841
|
+
ChevronDown,
|
|
1629
1842
|
{
|
|
1630
1843
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
|
|
1631
1844
|
"aria-hidden": "true"
|
|
@@ -1677,7 +1890,6 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
|
|
|
1677
1890
|
// src/components/ui/breadcrumb.tsx
|
|
1678
1891
|
import * as React28 from "react";
|
|
1679
1892
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
1680
|
-
import { ChevronRight as ChevronRight4, MoreHorizontal } from "lucide-react";
|
|
1681
1893
|
import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1682
1894
|
var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx29("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
1683
1895
|
Breadcrumb.displayName = "Breadcrumb";
|
|
@@ -1737,7 +1949,7 @@ var BreadcrumbSeparator = ({
|
|
|
1737
1949
|
"aria-hidden": "true",
|
|
1738
1950
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
|
|
1739
1951
|
...props,
|
|
1740
|
-
children: children ?? /* @__PURE__ */ jsx29(
|
|
1952
|
+
children: children ?? /* @__PURE__ */ jsx29(ChevronRight, {})
|
|
1741
1953
|
}
|
|
1742
1954
|
);
|
|
1743
1955
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
@@ -1752,7 +1964,7 @@ var BreadcrumbEllipsis = ({
|
|
|
1752
1964
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
1753
1965
|
...props,
|
|
1754
1966
|
children: [
|
|
1755
|
-
/* @__PURE__ */ jsx29(
|
|
1967
|
+
/* @__PURE__ */ jsx29(Ellipsis, { className: "h-4 w-4" }),
|
|
1756
1968
|
/* @__PURE__ */ jsx29("span", { className: "sr-only", children: "More" })
|
|
1757
1969
|
]
|
|
1758
1970
|
}
|
|
@@ -1761,7 +1973,6 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
|
1761
1973
|
|
|
1762
1974
|
// src/components/ui/pagination.tsx
|
|
1763
1975
|
import * as React29 from "react";
|
|
1764
|
-
import { ChevronLeft, ChevronRight as ChevronRight5, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
|
|
1765
1976
|
import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1766
1977
|
var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx30(
|
|
1767
1978
|
"nav",
|
|
@@ -1833,7 +2044,7 @@ var PaginationNext = ({
|
|
|
1833
2044
|
...props,
|
|
1834
2045
|
children: [
|
|
1835
2046
|
/* @__PURE__ */ jsx30("span", { children: "Next" }),
|
|
1836
|
-
/* @__PURE__ */ jsx30(
|
|
2047
|
+
/* @__PURE__ */ jsx30(ChevronRight, { className: "h-4 w-4" })
|
|
1837
2048
|
]
|
|
1838
2049
|
}
|
|
1839
2050
|
);
|
|
@@ -1848,7 +2059,7 @@ var PaginationEllipsis = ({
|
|
|
1848
2059
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
1849
2060
|
...props,
|
|
1850
2061
|
children: [
|
|
1851
|
-
/* @__PURE__ */ jsx30(
|
|
2062
|
+
/* @__PURE__ */ jsx30(Ellipsis, { className: "h-4 w-4" }),
|
|
1852
2063
|
/* @__PURE__ */ jsx30("span", { className: "sr-only", children: "More pages" })
|
|
1853
2064
|
]
|
|
1854
2065
|
}
|
|
@@ -1858,7 +2069,6 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
|
1858
2069
|
// src/components/ui/command.tsx
|
|
1859
2070
|
import * as React30 from "react";
|
|
1860
2071
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1861
|
-
import { Search } from "lucide-react";
|
|
1862
2072
|
import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1863
2073
|
var Command = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
1864
2074
|
CommandPrimitive,
|
|
@@ -2185,11 +2395,6 @@ function Skeleton({
|
|
|
2185
2395
|
|
|
2186
2396
|
// src/components/ui/calendar.tsx
|
|
2187
2397
|
import * as React35 from "react";
|
|
2188
|
-
import {
|
|
2189
|
-
ChevronDownIcon,
|
|
2190
|
-
ChevronLeftIcon,
|
|
2191
|
-
ChevronRightIcon
|
|
2192
|
-
} from "lucide-react";
|
|
2193
2398
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
2194
2399
|
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2195
2400
|
function Calendar({
|
|
@@ -2314,18 +2519,18 @@ function Calendar({
|
|
|
2314
2519
|
},
|
|
2315
2520
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
2316
2521
|
if (orientation === "left") {
|
|
2317
|
-
return /* @__PURE__ */ jsx38(
|
|
2522
|
+
return /* @__PURE__ */ jsx38(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
2318
2523
|
}
|
|
2319
2524
|
if (orientation === "right") {
|
|
2320
2525
|
return /* @__PURE__ */ jsx38(
|
|
2321
|
-
|
|
2526
|
+
ChevronRight,
|
|
2322
2527
|
{
|
|
2323
2528
|
className: cn("size-4", className2),
|
|
2324
2529
|
...props2
|
|
2325
2530
|
}
|
|
2326
2531
|
);
|
|
2327
2532
|
}
|
|
2328
|
-
return /* @__PURE__ */ jsx38(
|
|
2533
|
+
return /* @__PURE__ */ jsx38(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
2329
2534
|
},
|
|
2330
2535
|
DayButton: CalendarDayButton,
|
|
2331
2536
|
WeekNumber: ({ children, ...props2 }) => {
|
|
@@ -2372,7 +2577,6 @@ function CalendarDayButton({
|
|
|
2372
2577
|
// src/components/ui/carousel.tsx
|
|
2373
2578
|
import * as React36 from "react";
|
|
2374
2579
|
import useEmblaCarousel from "embla-carousel-react";
|
|
2375
|
-
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
2376
2580
|
import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2377
2581
|
var CarouselContext = React36.createContext(null);
|
|
2378
2582
|
function useCarousel() {
|
|
@@ -2557,11 +2761,10 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
|
|
|
2557
2761
|
CarouselNext.displayName = "CarouselNext";
|
|
2558
2762
|
|
|
2559
2763
|
// src/components/ui/spinner.tsx
|
|
2560
|
-
import { Loader2Icon } from "lucide-react";
|
|
2561
2764
|
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2562
2765
|
function Spinner({ className, ...props }) {
|
|
2563
2766
|
return /* @__PURE__ */ jsx40(
|
|
2564
|
-
|
|
2767
|
+
LoaderCircle,
|
|
2565
2768
|
{
|
|
2566
2769
|
role: "status",
|
|
2567
2770
|
"aria-label": "Loading",
|
|
@@ -2593,7 +2796,6 @@ var TextAtom = ({
|
|
|
2593
2796
|
};
|
|
2594
2797
|
|
|
2595
2798
|
// src/atoms/ButtonAtom.tsx
|
|
2596
|
-
import { Loader2 } from "lucide-react";
|
|
2597
2799
|
import { Fragment, jsx as jsx42, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2598
2800
|
var ButtonAtom = ({
|
|
2599
2801
|
label,
|
|
@@ -2627,7 +2829,7 @@ var ButtonAtom = ({
|
|
|
2627
2829
|
onClick: handleClick,
|
|
2628
2830
|
className: cn("rounded-full font-semibold", customClass, className),
|
|
2629
2831
|
children: isLoading ? /* @__PURE__ */ jsxs18(Fragment, { children: [
|
|
2630
|
-
/* @__PURE__ */ jsx42(
|
|
2832
|
+
/* @__PURE__ */ jsx42(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
2631
2833
|
label
|
|
2632
2834
|
] }) : label
|
|
2633
2835
|
}
|
|
@@ -2919,7 +3121,6 @@ var SkeletonAtom = ({
|
|
|
2919
3121
|
};
|
|
2920
3122
|
|
|
2921
3123
|
// src/atoms/AlertAtom.tsx
|
|
2922
|
-
import { AlertCircle, CheckCircle2, Info, AlertTriangle } from "lucide-react";
|
|
2923
3124
|
import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2924
3125
|
var AlertAtom = ({
|
|
2925
3126
|
title,
|
|
@@ -2929,12 +3130,12 @@ var AlertAtom = ({
|
|
|
2929
3130
|
}) => {
|
|
2930
3131
|
const IconMap = {
|
|
2931
3132
|
default: Info,
|
|
2932
|
-
destructive:
|
|
2933
|
-
warning:
|
|
3133
|
+
destructive: CircleAlert,
|
|
3134
|
+
warning: TriangleAlert,
|
|
2934
3135
|
info: Info,
|
|
2935
|
-
success:
|
|
3136
|
+
success: CircleCheck
|
|
2936
3137
|
};
|
|
2937
|
-
const
|
|
3138
|
+
const Icon3 = IconMap[variant] || Info;
|
|
2938
3139
|
const variantMap = {
|
|
2939
3140
|
warning: "border-amber-200 bg-amber-50 text-amber-900 [&>svg]:text-amber-600",
|
|
2940
3141
|
info: "border-blue-200 bg-blue-50 text-blue-900 [&>svg]:text-blue-600",
|
|
@@ -2948,7 +3149,7 @@ var AlertAtom = ({
|
|
|
2948
3149
|
variant: shadcnVariant,
|
|
2949
3150
|
className: cn("rounded-2xl", customClass, className),
|
|
2950
3151
|
children: [
|
|
2951
|
-
/* @__PURE__ */ jsx52(
|
|
3152
|
+
/* @__PURE__ */ jsx52(Icon3, { className: "h-4 w-4" }),
|
|
2952
3153
|
/* @__PURE__ */ jsx52(AlertTitle, { className: "font-bold", children: title }),
|
|
2953
3154
|
description && /* @__PURE__ */ jsx52(AlertDescription, { children: description })
|
|
2954
3155
|
]
|
|
@@ -3224,7 +3425,6 @@ var BreadcrumbAtom = ({
|
|
|
3224
3425
|
};
|
|
3225
3426
|
|
|
3226
3427
|
// src/atoms/SpinnerAtom.tsx
|
|
3227
|
-
import { Loader2 as Loader22 } from "lucide-react";
|
|
3228
3428
|
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
3229
3429
|
var SpinnerAtom = ({
|
|
3230
3430
|
size = "md",
|
|
@@ -3237,7 +3437,7 @@ var SpinnerAtom = ({
|
|
|
3237
3437
|
xl: "h-12 w-12"
|
|
3238
3438
|
};
|
|
3239
3439
|
return /* @__PURE__ */ jsx65(
|
|
3240
|
-
|
|
3440
|
+
LoaderCircle,
|
|
3241
3441
|
{
|
|
3242
3442
|
className: cn(
|
|
3243
3443
|
"animate-spin text-purple500",
|
|
@@ -3316,7 +3516,6 @@ var CommandAtom = ({
|
|
|
3316
3516
|
|
|
3317
3517
|
// src/molecules/generic/EditableField/EditableField.tsx
|
|
3318
3518
|
import React52, { useState as useState2, useEffect as useEffect3, useRef as useRef2 } from "react";
|
|
3319
|
-
import { Check as Check6, X as X3, Pencil, Loader2 as Loader23 } from "lucide-react";
|
|
3320
3519
|
import { jsx as jsx69, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3321
3520
|
var EditableField = React52.memo(
|
|
3322
3521
|
({
|
|
@@ -3467,7 +3666,7 @@ var EditableField = React52.memo(
|
|
|
3467
3666
|
className: "h-8 w-8 text-destructive border-destructive/20 hover:bg-destructive/10",
|
|
3468
3667
|
onClick: onCancel,
|
|
3469
3668
|
disabled: isSaving,
|
|
3470
|
-
children: /* @__PURE__ */ jsx69(
|
|
3669
|
+
children: /* @__PURE__ */ jsx69(X, { className: "h-4 w-4" })
|
|
3471
3670
|
}
|
|
3472
3671
|
),
|
|
3473
3672
|
/* @__PURE__ */ jsx69(
|
|
@@ -3477,7 +3676,7 @@ var EditableField = React52.memo(
|
|
|
3477
3676
|
className: "h-8 w-8 bg-purple500 hover:bg-purple600 text-white",
|
|
3478
3677
|
onClick: handleSave,
|
|
3479
3678
|
disabled: isSaving,
|
|
3480
|
-
children: isSaving ? /* @__PURE__ */ jsx69(
|
|
3679
|
+
children: isSaving ? /* @__PURE__ */ jsx69(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx69(Check, { className: "h-4 w-4" })
|
|
3481
3680
|
}
|
|
3482
3681
|
)
|
|
3483
3682
|
] })
|
|
@@ -3502,7 +3701,6 @@ EditableField.displayName = "EditableField";
|
|
|
3502
3701
|
|
|
3503
3702
|
// src/molecules/generic/ActionButton/ActionButton.tsx
|
|
3504
3703
|
import React53, { useState as useState3, useEffect as useEffect4 } from "react";
|
|
3505
|
-
import { Pause, Play, ArrowRight as ArrowRight2, Loader2 as Loader24 } from "lucide-react";
|
|
3506
3704
|
import { Fragment as Fragment2, jsx as jsx70, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3507
3705
|
var ActionButton = React53.memo(
|
|
3508
3706
|
({
|
|
@@ -3557,13 +3755,13 @@ var ActionButton = React53.memo(
|
|
|
3557
3755
|
isLoading && "opacity-80"
|
|
3558
3756
|
),
|
|
3559
3757
|
children: [
|
|
3560
|
-
/* @__PURE__ */ jsx70("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ jsx70(
|
|
3758
|
+
/* @__PURE__ */ jsx70("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ jsx70(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsxs38(Fragment2, { children: [
|
|
3561
3759
|
/* @__PURE__ */ jsx70("span", { children: label }),
|
|
3562
3760
|
showCountdown && countdownProp && countdownProp > 0 && !isLoading && /* @__PURE__ */ jsxs38("span", { className: "opacity-70 text-xs bg-white/20 px-1.5 py-0.5 rounded-md tabular-nums min-w-[24px]", children: [
|
|
3563
3761
|
timeLeft,
|
|
3564
3762
|
"s"
|
|
3565
3763
|
] }),
|
|
3566
|
-
/* @__PURE__ */ jsx70(
|
|
3764
|
+
/* @__PURE__ */ jsx70(ArrowRight, { className: "h-4 w-4 group-hover:translate-x-1 transition-transform" })
|
|
3567
3765
|
] }) }),
|
|
3568
3766
|
!isPaused && countdownProp && countdownProp > 0 && /* @__PURE__ */ jsx70(
|
|
3569
3767
|
"div",
|
|
@@ -3594,7 +3792,6 @@ ActionButton.displayName = "ActionButton";
|
|
|
3594
3792
|
|
|
3595
3793
|
// src/molecules/generic/FormCard/FormCard.tsx
|
|
3596
3794
|
import React54 from "react";
|
|
3597
|
-
import { Copy } from "lucide-react";
|
|
3598
3795
|
import { jsx as jsx71, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
3599
3796
|
var FormCard = React54.memo(
|
|
3600
3797
|
({
|
|
@@ -3693,7 +3890,6 @@ FormCard.displayName = "FormCard";
|
|
|
3693
3890
|
|
|
3694
3891
|
// src/molecules/creator-discovery/CampaignSeedCard/CampaignSeedCard.tsx
|
|
3695
3892
|
import React55 from "react";
|
|
3696
|
-
import { CheckCircle2 as CheckCircle22 } from "lucide-react";
|
|
3697
3893
|
import { jsx as jsx72, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3698
3894
|
var CAMPAIGN_SEED_FIELDS = [
|
|
3699
3895
|
{
|
|
@@ -3778,7 +3974,7 @@ var CampaignSeedCard = React55.memo(
|
|
|
3778
3974
|
fields: CAMPAIGN_SEED_FIELDS,
|
|
3779
3975
|
className,
|
|
3780
3976
|
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ jsxs40("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
3781
|
-
/* @__PURE__ */ jsx72(
|
|
3977
|
+
/* @__PURE__ */ jsx72(CircleCheck, { className: "h-4 w-4" }),
|
|
3782
3978
|
/* @__PURE__ */ jsx72("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
3783
3979
|
] }) : formCardProps.footer
|
|
3784
3980
|
}
|
|
@@ -3792,7 +3988,6 @@ import React56 from "react";
|
|
|
3792
3988
|
|
|
3793
3989
|
// src/molecules/creator-discovery/SearchSpecCard/CustomFieldRenderers.tsx
|
|
3794
3990
|
import { useState as useState4, useRef as useRef3, useEffect as useEffect5 } from "react";
|
|
3795
|
-
import { ChevronDown as ChevronDown4, Check as Check7 } from "lucide-react";
|
|
3796
3991
|
|
|
3797
3992
|
// src/lib/countries.ts
|
|
3798
3993
|
var countries = [
|
|
@@ -4027,7 +4222,7 @@ var CountrySelectEdit = ({
|
|
|
4027
4222
|
children: [
|
|
4028
4223
|
/* @__PURE__ */ jsx73("span", { className: "text-gray-700", children: inputValue.length > 0 ? `${inputValue.length} ${inputValue.length === 1 ? "country" : "countries"} selected` : "Select countries..." }),
|
|
4029
4224
|
/* @__PURE__ */ jsx73(
|
|
4030
|
-
|
|
4225
|
+
ChevronDown,
|
|
4031
4226
|
{
|
|
4032
4227
|
className: cn(
|
|
4033
4228
|
"h-4 w-4 text-gray-400 transition-transform",
|
|
@@ -4077,7 +4272,7 @@ var CountrySelectEdit = ({
|
|
|
4077
4272
|
/* @__PURE__ */ jsx73("span", { className: "text-sm text-gray-700", children: country.name }),
|
|
4078
4273
|
/* @__PURE__ */ jsx73("span", { className: "text-xs text-gray-400 font-mono", children: country.code })
|
|
4079
4274
|
] }),
|
|
4080
|
-
inputValue.includes(country.code) && /* @__PURE__ */ jsx73(
|
|
4275
|
+
inputValue.includes(country.code) && /* @__PURE__ */ jsx73(Check, { className: "h-4 w-4 text-purple500" })
|
|
4081
4276
|
]
|
|
4082
4277
|
},
|
|
4083
4278
|
country.code
|
|
@@ -4097,7 +4292,7 @@ var CountrySelectEdit = ({
|
|
|
4097
4292
|
onClick: () => onChange(inputValue.filter((c) => c !== countryCode)),
|
|
4098
4293
|
className: "hover:bg-purple200 rounded-full p-0.5 transition-colors",
|
|
4099
4294
|
children: [
|
|
4100
|
-
/* @__PURE__ */ jsx73(
|
|
4295
|
+
/* @__PURE__ */ jsx73(ChevronDown, { className: "h-3 w-3 rotate-45" }),
|
|
4101
4296
|
" "
|
|
4102
4297
|
]
|
|
4103
4298
|
}
|
|
@@ -4264,7 +4459,6 @@ var KeywordBundlesDisplay = ({ value }) => {
|
|
|
4264
4459
|
};
|
|
4265
4460
|
|
|
4266
4461
|
// src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
|
|
4267
|
-
import { CheckCircle2 as CheckCircle23 } from "lucide-react";
|
|
4268
4462
|
import { jsx as jsx74, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
4269
4463
|
var SEARCH_SPEC_FIELDS = [
|
|
4270
4464
|
{
|
|
@@ -4334,7 +4528,7 @@ var SearchSpecCard = React56.memo(
|
|
|
4334
4528
|
fields: SEARCH_SPEC_FIELDS,
|
|
4335
4529
|
className,
|
|
4336
4530
|
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ jsxs42("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
4337
|
-
/* @__PURE__ */ jsx74(
|
|
4531
|
+
/* @__PURE__ */ jsx74(CircleCheck, { className: "h-4 w-4" }),
|
|
4338
4532
|
/* @__PURE__ */ jsx74("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
4339
4533
|
] }) : formCardProps.footer
|
|
4340
4534
|
}
|
|
@@ -4345,7 +4539,6 @@ SearchSpecCard.displayName = "SearchSpecCard";
|
|
|
4345
4539
|
|
|
4346
4540
|
// src/molecules/creator-discovery/MCQCard/MCQCard.tsx
|
|
4347
4541
|
import React57 from "react";
|
|
4348
|
-
import { CheckCircle2 as CheckCircle24, Sparkles } from "lucide-react";
|
|
4349
4542
|
import { jsx as jsx75, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
4350
4543
|
var MCQCard = React57.memo(
|
|
4351
4544
|
({
|
|
@@ -4453,7 +4646,7 @@ var MCQCard = React57.memo(
|
|
|
4453
4646
|
disabled: !selectedOption && !recommended
|
|
4454
4647
|
}
|
|
4455
4648
|
) }) : /* @__PURE__ */ jsxs43("div", { className: "w-full flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold", children: [
|
|
4456
|
-
/* @__PURE__ */ jsx75(
|
|
4649
|
+
/* @__PURE__ */ jsx75(CircleCheck, { className: "h-4 w-4" }),
|
|
4457
4650
|
/* @__PURE__ */ jsx75("span", { children: selectionStatus === "agent" ? "Suggested by Agent, Approved by You" : "Selected by You" })
|
|
4458
4651
|
] }) })
|
|
4459
4652
|
]
|
|
@@ -4927,3 +5120,39 @@ export {
|
|
|
4927
5120
|
TooltipTrigger,
|
|
4928
5121
|
cn
|
|
4929
5122
|
};
|
|
5123
|
+
/*! Bundled license information:
|
|
5124
|
+
|
|
5125
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
5126
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
5127
|
+
lucide-react/dist/esm/Icon.js:
|
|
5128
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
5129
|
+
lucide-react/dist/esm/icons/arrow-left.js:
|
|
5130
|
+
lucide-react/dist/esm/icons/arrow-right.js:
|
|
5131
|
+
lucide-react/dist/esm/icons/check.js:
|
|
5132
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
5133
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
|
5134
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
|
5135
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
|
5136
|
+
lucide-react/dist/esm/icons/circle-alert.js:
|
|
5137
|
+
lucide-react/dist/esm/icons/circle-check.js:
|
|
5138
|
+
lucide-react/dist/esm/icons/circle.js:
|
|
5139
|
+
lucide-react/dist/esm/icons/copy.js:
|
|
5140
|
+
lucide-react/dist/esm/icons/dot.js:
|
|
5141
|
+
lucide-react/dist/esm/icons/ellipsis.js:
|
|
5142
|
+
lucide-react/dist/esm/icons/info.js:
|
|
5143
|
+
lucide-react/dist/esm/icons/loader-circle.js:
|
|
5144
|
+
lucide-react/dist/esm/icons/pause.js:
|
|
5145
|
+
lucide-react/dist/esm/icons/pencil.js:
|
|
5146
|
+
lucide-react/dist/esm/icons/play.js:
|
|
5147
|
+
lucide-react/dist/esm/icons/search.js:
|
|
5148
|
+
lucide-react/dist/esm/icons/sparkles.js:
|
|
5149
|
+
lucide-react/dist/esm/icons/triangle-alert.js:
|
|
5150
|
+
lucide-react/dist/esm/icons/x.js:
|
|
5151
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
5152
|
+
(**
|
|
5153
|
+
* @license lucide-react v0.475.0 - ISC
|
|
5154
|
+
*
|
|
5155
|
+
* This source code is licensed under the ISC license.
|
|
5156
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
5157
|
+
*)
|
|
5158
|
+
*/
|