pxengine 0.1.2 → 0.1.4

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.js CHANGED
@@ -1,3 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
1
7
  // src/components/ui/button.tsx
2
8
  import * as React from "react";
3
9
  import { Slot } from "@radix-ui/react-slot";
@@ -94,7 +100,231 @@ Label.displayName = LabelPrimitive.Root.displayName;
94
100
  // src/components/ui/checkbox.tsx
95
101
  import * as React4 from "react";
96
102
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
97
- import { Check } from "lucide-react";
103
+
104
+ // node_modules/lucide-react/dist/esm/createLucideIcon.js
105
+ import { forwardRef as forwardRef5, createElement as createElement2 } from "react";
106
+
107
+ // node_modules/lucide-react/dist/esm/shared/src/utils.js
108
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
109
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
110
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
111
+ }).join(" ").trim();
112
+
113
+ // node_modules/lucide-react/dist/esm/Icon.js
114
+ import { forwardRef as forwardRef4, createElement } from "react";
115
+
116
+ // node_modules/lucide-react/dist/esm/defaultAttributes.js
117
+ var defaultAttributes = {
118
+ xmlns: "http://www.w3.org/2000/svg",
119
+ width: 24,
120
+ height: 24,
121
+ viewBox: "0 0 24 24",
122
+ fill: "none",
123
+ stroke: "currentColor",
124
+ strokeWidth: 2,
125
+ strokeLinecap: "round",
126
+ strokeLinejoin: "round"
127
+ };
128
+
129
+ // node_modules/lucide-react/dist/esm/Icon.js
130
+ var Icon = forwardRef4(
131
+ ({
132
+ color = "currentColor",
133
+ size = 24,
134
+ strokeWidth = 2,
135
+ absoluteStrokeWidth,
136
+ className = "",
137
+ children,
138
+ iconNode,
139
+ ...rest
140
+ }, ref) => {
141
+ return createElement(
142
+ "svg",
143
+ {
144
+ ref,
145
+ ...defaultAttributes,
146
+ width: size,
147
+ height: size,
148
+ stroke: color,
149
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
150
+ className: mergeClasses("lucide", className),
151
+ ...rest
152
+ },
153
+ [
154
+ ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
155
+ ...Array.isArray(children) ? children : [children]
156
+ ]
157
+ );
158
+ }
159
+ );
160
+
161
+ // node_modules/lucide-react/dist/esm/createLucideIcon.js
162
+ var createLucideIcon = (iconName, iconNode) => {
163
+ const Component = forwardRef5(
164
+ ({ className, ...props }, ref) => createElement2(Icon, {
165
+ ref,
166
+ iconNode,
167
+ className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
168
+ ...props
169
+ })
170
+ );
171
+ Component.displayName = `${iconName}`;
172
+ return Component;
173
+ };
174
+
175
+ // node_modules/lucide-react/dist/esm/icons/arrow-left.js
176
+ var __iconNode = [
177
+ ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
178
+ ["path", { d: "M19 12H5", key: "x3x0zl" }]
179
+ ];
180
+ var ArrowLeft = createLucideIcon("ArrowLeft", __iconNode);
181
+
182
+ // node_modules/lucide-react/dist/esm/icons/arrow-right.js
183
+ var __iconNode2 = [
184
+ ["path", { d: "M5 12h14", key: "1ays0h" }],
185
+ ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
186
+ ];
187
+ var ArrowRight = createLucideIcon("ArrowRight", __iconNode2);
188
+
189
+ // node_modules/lucide-react/dist/esm/icons/check.js
190
+ var __iconNode3 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
191
+ var Check = createLucideIcon("Check", __iconNode3);
192
+
193
+ // node_modules/lucide-react/dist/esm/icons/chevron-down.js
194
+ var __iconNode4 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
195
+ var ChevronDown = createLucideIcon("ChevronDown", __iconNode4);
196
+
197
+ // node_modules/lucide-react/dist/esm/icons/chevron-left.js
198
+ var __iconNode5 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
199
+ var ChevronLeft = createLucideIcon("ChevronLeft", __iconNode5);
200
+
201
+ // node_modules/lucide-react/dist/esm/icons/chevron-right.js
202
+ var __iconNode6 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
203
+ var ChevronRight = createLucideIcon("ChevronRight", __iconNode6);
204
+
205
+ // node_modules/lucide-react/dist/esm/icons/chevron-up.js
206
+ var __iconNode7 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
207
+ var ChevronUp = createLucideIcon("ChevronUp", __iconNode7);
208
+
209
+ // node_modules/lucide-react/dist/esm/icons/circle-alert.js
210
+ var __iconNode8 = [
211
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
212
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
213
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
214
+ ];
215
+ var CircleAlert = createLucideIcon("CircleAlert", __iconNode8);
216
+
217
+ // node_modules/lucide-react/dist/esm/icons/circle-check.js
218
+ var __iconNode9 = [
219
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
220
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
221
+ ];
222
+ var CircleCheck = createLucideIcon("CircleCheck", __iconNode9);
223
+
224
+ // node_modules/lucide-react/dist/esm/icons/circle.js
225
+ var __iconNode10 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
226
+ var Circle = createLucideIcon("Circle", __iconNode10);
227
+
228
+ // node_modules/lucide-react/dist/esm/icons/copy.js
229
+ var __iconNode11 = [
230
+ ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
231
+ ["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" }]
232
+ ];
233
+ var Copy = createLucideIcon("Copy", __iconNode11);
234
+
235
+ // node_modules/lucide-react/dist/esm/icons/dot.js
236
+ var __iconNode12 = [["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]];
237
+ var Dot = createLucideIcon("Dot", __iconNode12);
238
+
239
+ // node_modules/lucide-react/dist/esm/icons/ellipsis.js
240
+ var __iconNode13 = [
241
+ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
242
+ ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
243
+ ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
244
+ ];
245
+ var Ellipsis = createLucideIcon("Ellipsis", __iconNode13);
246
+
247
+ // node_modules/lucide-react/dist/esm/icons/info.js
248
+ var __iconNode14 = [
249
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
250
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
251
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
252
+ ];
253
+ var Info = createLucideIcon("Info", __iconNode14);
254
+
255
+ // node_modules/lucide-react/dist/esm/icons/loader-circle.js
256
+ var __iconNode15 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
257
+ var LoaderCircle = createLucideIcon("LoaderCircle", __iconNode15);
258
+
259
+ // node_modules/lucide-react/dist/esm/icons/pause.js
260
+ var __iconNode16 = [
261
+ ["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
262
+ ["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
263
+ ];
264
+ var Pause = createLucideIcon("Pause", __iconNode16);
265
+
266
+ // node_modules/lucide-react/dist/esm/icons/pencil.js
267
+ var __iconNode17 = [
268
+ [
269
+ "path",
270
+ {
271
+ 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",
272
+ key: "1a8usu"
273
+ }
274
+ ],
275
+ ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
276
+ ];
277
+ var Pencil = createLucideIcon("Pencil", __iconNode17);
278
+
279
+ // node_modules/lucide-react/dist/esm/icons/play.js
280
+ var __iconNode18 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]];
281
+ var Play = createLucideIcon("Play", __iconNode18);
282
+
283
+ // node_modules/lucide-react/dist/esm/icons/search.js
284
+ var __iconNode19 = [
285
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
286
+ ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
287
+ ];
288
+ var Search = createLucideIcon("Search", __iconNode19);
289
+
290
+ // node_modules/lucide-react/dist/esm/icons/sparkles.js
291
+ var __iconNode20 = [
292
+ [
293
+ "path",
294
+ {
295
+ 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",
296
+ key: "4pj2yx"
297
+ }
298
+ ],
299
+ ["path", { d: "M20 3v4", key: "1olli1" }],
300
+ ["path", { d: "M22 5h-4", key: "1gvqau" }],
301
+ ["path", { d: "M4 17v2", key: "vumght" }],
302
+ ["path", { d: "M5 18H3", key: "zchphs" }]
303
+ ];
304
+ var Sparkles = createLucideIcon("Sparkles", __iconNode20);
305
+
306
+ // node_modules/lucide-react/dist/esm/icons/triangle-alert.js
307
+ var __iconNode21 = [
308
+ [
309
+ "path",
310
+ {
311
+ 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",
312
+ key: "wmoenq"
313
+ }
314
+ ],
315
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
316
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
317
+ ];
318
+ var TriangleAlert = createLucideIcon("TriangleAlert", __iconNode21);
319
+
320
+ // node_modules/lucide-react/dist/esm/icons/x.js
321
+ var __iconNode22 = [
322
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
323
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
324
+ ];
325
+ var X = createLucideIcon("X", __iconNode22);
326
+
327
+ // src/components/ui/checkbox.tsx
98
328
  import { jsx as jsx4 } from "react/jsx-runtime";
99
329
  var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
100
330
  CheckboxPrimitive.Root,
@@ -119,7 +349,6 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
119
349
  // src/components/ui/radio-group.tsx
120
350
  import * as React5 from "react";
121
351
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
122
- import { Circle } from "lucide-react";
123
352
  import { jsx as jsx5 } from "react/jsx-runtime";
124
353
  var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
125
354
  return /* @__PURE__ */ jsx5(
@@ -215,7 +444,6 @@ Textarea.displayName = "Textarea";
215
444
  // src/components/ui/select.tsx
216
445
  import * as React9 from "react";
217
446
  import * as SelectPrimitive from "@radix-ui/react-select";
218
- import { Check as Check2, ChevronDown, ChevronUp } from "lucide-react";
219
447
  import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
220
448
  var Select = SelectPrimitive.Root;
221
449
  var SelectGroup = SelectPrimitive.Group;
@@ -309,7 +537,7 @@ var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /
309
537
  ),
310
538
  ...props,
311
539
  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(Check2, { className: "h-4 w-4" }) }) }),
540
+ /* @__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
541
  /* @__PURE__ */ jsx9(SelectPrimitive.ItemText, { children })
314
542
  ]
315
543
  }
@@ -328,7 +556,6 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
328
556
  // src/components/ui/input-otp.tsx
329
557
  import * as React10 from "react";
330
558
  import { OTPInput, OTPInputContext } from "input-otp";
331
- import { Dot } from "lucide-react";
332
559
  import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
333
560
  var InputOTP = React10.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx10(
334
561
  OTPInput,
@@ -590,7 +817,6 @@ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
590
817
  var AspectRatio = AspectRatioPrimitive.Root;
591
818
 
592
819
  // src/components/ui/resizable.tsx
593
- import { GripVertical } from "lucide-react";
594
820
  import * as ResizablePrimitive from "react-resizable-panels";
595
821
  import { jsx as jsx15 } from "react/jsx-runtime";
596
822
  var ResizablePanelGroup = ({
@@ -653,7 +879,6 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
653
879
  // src/components/ui/accordion.tsx
654
880
  import * as React16 from "react";
655
881
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
656
- import { ChevronDown as ChevronDown2 } from "lucide-react";
657
882
  import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
658
883
  var Accordion = AccordionPrimitive.Root;
659
884
  var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
@@ -676,7 +901,7 @@ var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, re
676
901
  ...props,
677
902
  children: [
678
903
  children,
679
- /* @__PURE__ */ jsx17(ChevronDown2, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
904
+ /* @__PURE__ */ jsx17(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
680
905
  ]
681
906
  }
682
907
  ) }));
@@ -701,7 +926,6 @@ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
701
926
  // src/components/ui/dialog.tsx
702
927
  import * as React17 from "react";
703
928
  import * as DialogPrimitive from "@radix-ui/react-dialog";
704
- import { X } from "lucide-react";
705
929
  import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
706
930
  var Dialog = DialogPrimitive.Root;
707
931
  var DialogTrigger = DialogPrimitive.Trigger;
@@ -795,7 +1019,6 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
795
1019
  import * as React18 from "react";
796
1020
  import * as SheetPrimitive from "@radix-ui/react-dialog";
797
1021
  import { cva as cva3 } from "class-variance-authority";
798
- import { X as X2 } from "lucide-react";
799
1022
  import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
800
1023
  var Sheet = SheetPrimitive.Root;
801
1024
  var SheetTrigger = SheetPrimitive.Trigger;
@@ -840,7 +1063,7 @@ var SheetContent = React18.forwardRef(({ side = "right", className, children, ..
840
1063
  children: [
841
1064
  children,
842
1065
  /* @__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(X2, { className: "h-4 w-4" }),
1066
+ /* @__PURE__ */ jsx19(X, { className: "h-4 w-4" }),
844
1067
  /* @__PURE__ */ jsx19("span", { className: "sr-only", children: "Close" })
845
1068
  ] })
846
1069
  ]
@@ -1154,7 +1377,6 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
1154
1377
  // src/components/ui/dropdown-menu.tsx
1155
1378
  import * as React24 from "react";
1156
1379
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1157
- import { Check as Check3, ChevronRight, Circle as Circle2 } from "lucide-react";
1158
1380
  import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
1159
1381
  var DropdownMenu = DropdownMenuPrimitive.Root;
1160
1382
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
@@ -1226,7 +1448,7 @@ var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checke
1226
1448
  checked,
1227
1449
  ...props,
1228
1450
  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(Check3, { className: "h-4 w-4" }) }) }),
1451
+ /* @__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
1452
  children
1231
1453
  ]
1232
1454
  }
@@ -1242,7 +1464,7 @@ var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props
1242
1464
  ),
1243
1465
  ...props,
1244
1466
  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(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
1467
+ /* @__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
1468
  children
1247
1469
  ]
1248
1470
  }
@@ -1287,7 +1509,6 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1287
1509
  // src/components/ui/context-menu.tsx
1288
1510
  import * as React25 from "react";
1289
1511
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1290
- import { Check as Check4, ChevronRight as ChevronRight2, Circle as Circle3 } from "lucide-react";
1291
1512
  import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
1292
1513
  var ContextMenu = ContextMenuPrimitive.Root;
1293
1514
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
@@ -1303,7 +1524,7 @@ var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ..
1303
1524
  ...props,
1304
1525
  children: [
1305
1526
  children,
1306
- /* @__PURE__ */ jsx26(ChevronRight2, { className: "ml-auto h-4 w-4" })
1527
+ /* @__PURE__ */ jsx26(ChevronRight, { className: "ml-auto h-4 w-4" })
1307
1528
  ]
1308
1529
  }
1309
1530
  ));
@@ -1356,7 +1577,7 @@ var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked
1356
1577
  checked,
1357
1578
  ...props,
1358
1579
  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(Check4, { className: "h-4 w-4" }) }) }),
1580
+ /* @__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
1581
  children
1361
1582
  ]
1362
1583
  }
@@ -1372,7 +1593,7 @@ var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }
1372
1593
  ),
1373
1594
  ...props,
1374
1595
  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(Circle3, { className: "h-2 w-2 fill-current" }) }) }),
1596
+ /* @__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
1597
  children
1377
1598
  ]
1378
1599
  }
@@ -1420,7 +1641,6 @@ ContextMenuShortcut.displayName = "ContextMenuShortcut";
1420
1641
  // src/components/ui/menubar.tsx
1421
1642
  import * as React26 from "react";
1422
1643
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
1423
- import { Check as Check5, ChevronRight as ChevronRight3, Circle as Circle4 } from "lucide-react";
1424
1644
  import { jsx as jsx27, jsxs as jsxs12 } from "react/jsx-runtime";
1425
1645
  var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1426
1646
  MenubarPrimitive.Root,
@@ -1458,7 +1678,7 @@ var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...pro
1458
1678
  ...props,
1459
1679
  children: [
1460
1680
  children,
1461
- /* @__PURE__ */ jsx27(ChevronRight3, { className: "ml-auto h-4 w-4" })
1681
+ /* @__PURE__ */ jsx27(ChevronRight, { className: "ml-auto h-4 w-4" })
1462
1682
  ]
1463
1683
  }
1464
1684
  ));
@@ -1516,7 +1736,7 @@ var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ..
1516
1736
  checked,
1517
1737
  ...props,
1518
1738
  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(Check5, { className: "h-4 w-4" }) }) }),
1739
+ /* @__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
1740
  children
1521
1741
  ]
1522
1742
  }
@@ -1532,7 +1752,7 @@ var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, re
1532
1752
  ),
1533
1753
  ...props,
1534
1754
  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(Circle4, { className: "h-2 w-2 fill-current" }) }) }),
1755
+ /* @__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
1756
  children
1537
1757
  ]
1538
1758
  }
@@ -1581,7 +1801,6 @@ MenubarShortcut.displayname = "MenubarShortcut";
1581
1801
  import * as React27 from "react";
1582
1802
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
1583
1803
  import { cva as cva4 } from "class-variance-authority";
1584
- import { ChevronDown as ChevronDown3 } from "lucide-react";
1585
1804
  import { jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
1586
1805
  var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(
1587
1806
  NavigationMenuPrimitive.Root,
@@ -1625,7 +1844,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
1625
1844
  children,
1626
1845
  " ",
1627
1846
  /* @__PURE__ */ jsx28(
1628
- ChevronDown3,
1847
+ ChevronDown,
1629
1848
  {
1630
1849
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
1631
1850
  "aria-hidden": "true"
@@ -1677,7 +1896,6 @@ NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayN
1677
1896
  // src/components/ui/breadcrumb.tsx
1678
1897
  import * as React28 from "react";
1679
1898
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1680
- import { ChevronRight as ChevronRight4, MoreHorizontal } from "lucide-react";
1681
1899
  import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
1682
1900
  var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx29("nav", { ref, "aria-label": "breadcrumb", ...props }));
1683
1901
  Breadcrumb.displayName = "Breadcrumb";
@@ -1737,7 +1955,7 @@ var BreadcrumbSeparator = ({
1737
1955
  "aria-hidden": "true",
1738
1956
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
1739
1957
  ...props,
1740
- children: children ?? /* @__PURE__ */ jsx29(ChevronRight4, {})
1958
+ children: children ?? /* @__PURE__ */ jsx29(ChevronRight, {})
1741
1959
  }
1742
1960
  );
1743
1961
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
@@ -1752,7 +1970,7 @@ var BreadcrumbEllipsis = ({
1752
1970
  className: cn("flex h-9 w-9 items-center justify-center", className),
1753
1971
  ...props,
1754
1972
  children: [
1755
- /* @__PURE__ */ jsx29(MoreHorizontal, { className: "h-4 w-4" }),
1973
+ /* @__PURE__ */ jsx29(Ellipsis, { className: "h-4 w-4" }),
1756
1974
  /* @__PURE__ */ jsx29("span", { className: "sr-only", children: "More" })
1757
1975
  ]
1758
1976
  }
@@ -1761,7 +1979,6 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
1761
1979
 
1762
1980
  // src/components/ui/pagination.tsx
1763
1981
  import * as React29 from "react";
1764
- import { ChevronLeft, ChevronRight as ChevronRight5, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
1765
1982
  import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
1766
1983
  var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx30(
1767
1984
  "nav",
@@ -1833,7 +2050,7 @@ var PaginationNext = ({
1833
2050
  ...props,
1834
2051
  children: [
1835
2052
  /* @__PURE__ */ jsx30("span", { children: "Next" }),
1836
- /* @__PURE__ */ jsx30(ChevronRight5, { className: "h-4 w-4" })
2053
+ /* @__PURE__ */ jsx30(ChevronRight, { className: "h-4 w-4" })
1837
2054
  ]
1838
2055
  }
1839
2056
  );
@@ -1848,7 +2065,7 @@ var PaginationEllipsis = ({
1848
2065
  className: cn("flex h-9 w-9 items-center justify-center", className),
1849
2066
  ...props,
1850
2067
  children: [
1851
- /* @__PURE__ */ jsx30(MoreHorizontal2, { className: "h-4 w-4" }),
2068
+ /* @__PURE__ */ jsx30(Ellipsis, { className: "h-4 w-4" }),
1852
2069
  /* @__PURE__ */ jsx30("span", { className: "sr-only", children: "More pages" })
1853
2070
  ]
1854
2071
  }
@@ -1858,7 +2075,6 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
1858
2075
  // src/components/ui/command.tsx
1859
2076
  import * as React30 from "react";
1860
2077
  import { Command as CommandPrimitive } from "cmdk";
1861
- import { Search } from "lucide-react";
1862
2078
  import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
1863
2079
  var Command = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
1864
2080
  CommandPrimitive,
@@ -2185,11 +2401,6 @@ function Skeleton({
2185
2401
 
2186
2402
  // src/components/ui/calendar.tsx
2187
2403
  import * as React35 from "react";
2188
- import {
2189
- ChevronDownIcon,
2190
- ChevronLeftIcon,
2191
- ChevronRightIcon
2192
- } from "lucide-react";
2193
2404
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
2194
2405
  import { jsx as jsx38 } from "react/jsx-runtime";
2195
2406
  function Calendar({
@@ -2314,18 +2525,18 @@ function Calendar({
2314
2525
  },
2315
2526
  Chevron: ({ className: className2, orientation, ...props2 }) => {
2316
2527
  if (orientation === "left") {
2317
- return /* @__PURE__ */ jsx38(ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
2528
+ return /* @__PURE__ */ jsx38(ChevronLeft, { className: cn("size-4", className2), ...props2 });
2318
2529
  }
2319
2530
  if (orientation === "right") {
2320
2531
  return /* @__PURE__ */ jsx38(
2321
- ChevronRightIcon,
2532
+ ChevronRight,
2322
2533
  {
2323
2534
  className: cn("size-4", className2),
2324
2535
  ...props2
2325
2536
  }
2326
2537
  );
2327
2538
  }
2328
- return /* @__PURE__ */ jsx38(ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
2539
+ return /* @__PURE__ */ jsx38(ChevronDown, { className: cn("size-4", className2), ...props2 });
2329
2540
  },
2330
2541
  DayButton: CalendarDayButton,
2331
2542
  WeekNumber: ({ children, ...props2 }) => {
@@ -2372,7 +2583,6 @@ function CalendarDayButton({
2372
2583
  // src/components/ui/carousel.tsx
2373
2584
  import * as React36 from "react";
2374
2585
  import useEmblaCarousel from "embla-carousel-react";
2375
- import { ArrowLeft, ArrowRight } from "lucide-react";
2376
2586
  import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
2377
2587
  var CarouselContext = React36.createContext(null);
2378
2588
  function useCarousel() {
@@ -2557,11 +2767,10 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
2557
2767
  CarouselNext.displayName = "CarouselNext";
2558
2768
 
2559
2769
  // src/components/ui/spinner.tsx
2560
- import { Loader2Icon } from "lucide-react";
2561
2770
  import { jsx as jsx40 } from "react/jsx-runtime";
2562
2771
  function Spinner({ className, ...props }) {
2563
2772
  return /* @__PURE__ */ jsx40(
2564
- Loader2Icon,
2773
+ LoaderCircle,
2565
2774
  {
2566
2775
  role: "status",
2567
2776
  "aria-label": "Loading",
@@ -2571,6 +2780,42 @@ function Spinner({ className, ...props }) {
2571
2780
  );
2572
2781
  }
2573
2782
 
2783
+ // src/render/PXEngineRenderer.tsx
2784
+ import React58 from "react";
2785
+
2786
+ // src/atoms/index.ts
2787
+ var atoms_exports = {};
2788
+ __export(atoms_exports, {
2789
+ AccordionAtom: () => AccordionAtom,
2790
+ AlertAtom: () => AlertAtom,
2791
+ AlertDialogAtom: () => AlertDialogAtom,
2792
+ AspectRatioAtom: () => AspectRatioAtom,
2793
+ AvatarAtom: () => AvatarAtom,
2794
+ BadgeAtom: () => BadgeAtom,
2795
+ BreadcrumbAtom: () => BreadcrumbAtom,
2796
+ ButtonAtom: () => ButtonAtom,
2797
+ CalendarAtom: () => CalendarAtom,
2798
+ CardAtom: () => CardAtom,
2799
+ CarouselAtom: () => CarouselAtom,
2800
+ CollapsibleAtom: () => CollapsibleAtom,
2801
+ CommandAtom: () => CommandAtom,
2802
+ DialogAtom: () => DialogAtom,
2803
+ InputAtom: () => InputAtom,
2804
+ LayoutAtom: () => LayoutAtom,
2805
+ PaginationAtom: () => PaginationAtom,
2806
+ PopoverAtom: () => PopoverAtom,
2807
+ ProgressAtom: () => ProgressAtom,
2808
+ ScrollAreaAtom: () => ScrollAreaAtom,
2809
+ SeparatorAtom: () => SeparatorAtom,
2810
+ SheetAtom: () => SheetAtom,
2811
+ SkeletonAtom: () => SkeletonAtom,
2812
+ SpinnerAtom: () => SpinnerAtom,
2813
+ TableAtom: () => TableAtom,
2814
+ TabsAtom: () => TabsAtom,
2815
+ TextAtom: () => TextAtom,
2816
+ TooltipAtom: () => TooltipAtom
2817
+ });
2818
+
2574
2819
  // src/atoms/TextAtom.tsx
2575
2820
  import { jsx as jsx41 } from "react/jsx-runtime";
2576
2821
  var TextAtom = ({
@@ -2593,7 +2838,6 @@ var TextAtom = ({
2593
2838
  };
2594
2839
 
2595
2840
  // src/atoms/ButtonAtom.tsx
2596
- import { Loader2 } from "lucide-react";
2597
2841
  import { Fragment, jsx as jsx42, jsxs as jsxs18 } from "react/jsx-runtime";
2598
2842
  var ButtonAtom = ({
2599
2843
  label,
@@ -2627,7 +2871,7 @@ var ButtonAtom = ({
2627
2871
  onClick: handleClick,
2628
2872
  className: cn("rounded-full font-semibold", customClass, className),
2629
2873
  children: isLoading ? /* @__PURE__ */ jsxs18(Fragment, { children: [
2630
- /* @__PURE__ */ jsx42(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }),
2874
+ /* @__PURE__ */ jsx42(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }),
2631
2875
  label
2632
2876
  ] }) : label
2633
2877
  }
@@ -2919,7 +3163,6 @@ var SkeletonAtom = ({
2919
3163
  };
2920
3164
 
2921
3165
  // src/atoms/AlertAtom.tsx
2922
- import { AlertCircle, CheckCircle2, Info, AlertTriangle } from "lucide-react";
2923
3166
  import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
2924
3167
  var AlertAtom = ({
2925
3168
  title,
@@ -2929,12 +3172,12 @@ var AlertAtom = ({
2929
3172
  }) => {
2930
3173
  const IconMap = {
2931
3174
  default: Info,
2932
- destructive: AlertCircle,
2933
- warning: AlertTriangle,
3175
+ destructive: CircleAlert,
3176
+ warning: TriangleAlert,
2934
3177
  info: Info,
2935
- success: CheckCircle2
3178
+ success: CircleCheck
2936
3179
  };
2937
- const Icon2 = IconMap[variant] || Info;
3180
+ const Icon3 = IconMap[variant] || Info;
2938
3181
  const variantMap = {
2939
3182
  warning: "border-amber-200 bg-amber-50 text-amber-900 [&>svg]:text-amber-600",
2940
3183
  info: "border-blue-200 bg-blue-50 text-blue-900 [&>svg]:text-blue-600",
@@ -2948,7 +3191,7 @@ var AlertAtom = ({
2948
3191
  variant: shadcnVariant,
2949
3192
  className: cn("rounded-2xl", customClass, className),
2950
3193
  children: [
2951
- /* @__PURE__ */ jsx52(Icon2, { className: "h-4 w-4" }),
3194
+ /* @__PURE__ */ jsx52(Icon3, { className: "h-4 w-4" }),
2952
3195
  /* @__PURE__ */ jsx52(AlertTitle, { className: "font-bold", children: title }),
2953
3196
  description && /* @__PURE__ */ jsx52(AlertDescription, { children: description })
2954
3197
  ]
@@ -3224,7 +3467,6 @@ var BreadcrumbAtom = ({
3224
3467
  };
3225
3468
 
3226
3469
  // src/atoms/SpinnerAtom.tsx
3227
- import { Loader2 as Loader22 } from "lucide-react";
3228
3470
  import { jsx as jsx65 } from "react/jsx-runtime";
3229
3471
  var SpinnerAtom = ({
3230
3472
  size = "md",
@@ -3237,7 +3479,7 @@ var SpinnerAtom = ({
3237
3479
  xl: "h-12 w-12"
3238
3480
  };
3239
3481
  return /* @__PURE__ */ jsx65(
3240
- Loader22,
3482
+ LoaderCircle,
3241
3483
  {
3242
3484
  className: cn(
3243
3485
  "animate-spin text-purple500",
@@ -3314,9 +3556,25 @@ var CommandAtom = ({
3314
3556
  );
3315
3557
  };
3316
3558
 
3559
+ // src/molecules/index.ts
3560
+ var molecules_exports = {};
3561
+ __export(molecules_exports, {
3562
+ ActionButton: () => ActionButton,
3563
+ CAMPAIGN_SEED_FIELDS: () => CAMPAIGN_SEED_FIELDS,
3564
+ CampaignSeedCard: () => CampaignSeedCard,
3565
+ CountrySelectDisplay: () => CountrySelectDisplay,
3566
+ CountrySelectEdit: () => CountrySelectEdit,
3567
+ EditableField: () => EditableField,
3568
+ FormCard: () => FormCard,
3569
+ KeywordBundlesDisplay: () => KeywordBundlesDisplay,
3570
+ KeywordBundlesEdit: () => KeywordBundlesEdit,
3571
+ MCQCard: () => MCQCard,
3572
+ SEARCH_SPEC_FIELDS: () => SEARCH_SPEC_FIELDS,
3573
+ SearchSpecCard: () => SearchSpecCard
3574
+ });
3575
+
3317
3576
  // src/molecules/generic/EditableField/EditableField.tsx
3318
3577
  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
3578
  import { jsx as jsx69, jsxs as jsxs37 } from "react/jsx-runtime";
3321
3579
  var EditableField = React52.memo(
3322
3580
  ({
@@ -3467,7 +3725,7 @@ var EditableField = React52.memo(
3467
3725
  className: "h-8 w-8 text-destructive border-destructive/20 hover:bg-destructive/10",
3468
3726
  onClick: onCancel,
3469
3727
  disabled: isSaving,
3470
- children: /* @__PURE__ */ jsx69(X3, { className: "h-4 w-4" })
3728
+ children: /* @__PURE__ */ jsx69(X, { className: "h-4 w-4" })
3471
3729
  }
3472
3730
  ),
3473
3731
  /* @__PURE__ */ jsx69(
@@ -3477,7 +3735,7 @@ var EditableField = React52.memo(
3477
3735
  className: "h-8 w-8 bg-purple500 hover:bg-purple600 text-white",
3478
3736
  onClick: handleSave,
3479
3737
  disabled: isSaving,
3480
- children: isSaving ? /* @__PURE__ */ jsx69(Loader23, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx69(Check6, { className: "h-4 w-4" })
3738
+ children: isSaving ? /* @__PURE__ */ jsx69(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx69(Check, { className: "h-4 w-4" })
3481
3739
  }
3482
3740
  )
3483
3741
  ] })
@@ -3502,7 +3760,6 @@ EditableField.displayName = "EditableField";
3502
3760
 
3503
3761
  // src/molecules/generic/ActionButton/ActionButton.tsx
3504
3762
  import React53, { useState as useState3, useEffect as useEffect4 } from "react";
3505
- import { Pause, Play, ArrowRight as ArrowRight2, Loader2 as Loader24 } from "lucide-react";
3506
3763
  import { Fragment as Fragment2, jsx as jsx70, jsxs as jsxs38 } from "react/jsx-runtime";
3507
3764
  var ActionButton = React53.memo(
3508
3765
  ({
@@ -3557,13 +3814,13 @@ var ActionButton = React53.memo(
3557
3814
  isLoading && "opacity-80"
3558
3815
  ),
3559
3816
  children: [
3560
- /* @__PURE__ */ jsx70("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ jsx70(Loader24, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsxs38(Fragment2, { children: [
3817
+ /* @__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
3818
  /* @__PURE__ */ jsx70("span", { children: label }),
3562
3819
  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
3820
  timeLeft,
3564
3821
  "s"
3565
3822
  ] }),
3566
- /* @__PURE__ */ jsx70(ArrowRight2, { className: "h-4 w-4 group-hover:translate-x-1 transition-transform" })
3823
+ /* @__PURE__ */ jsx70(ArrowRight, { className: "h-4 w-4 group-hover:translate-x-1 transition-transform" })
3567
3824
  ] }) }),
3568
3825
  !isPaused && countdownProp && countdownProp > 0 && /* @__PURE__ */ jsx70(
3569
3826
  "div",
@@ -3594,7 +3851,6 @@ ActionButton.displayName = "ActionButton";
3594
3851
 
3595
3852
  // src/molecules/generic/FormCard/FormCard.tsx
3596
3853
  import React54 from "react";
3597
- import { Copy } from "lucide-react";
3598
3854
  import { jsx as jsx71, jsxs as jsxs39 } from "react/jsx-runtime";
3599
3855
  var FormCard = React54.memo(
3600
3856
  ({
@@ -3693,7 +3949,6 @@ FormCard.displayName = "FormCard";
3693
3949
 
3694
3950
  // src/molecules/creator-discovery/CampaignSeedCard/CampaignSeedCard.tsx
3695
3951
  import React55 from "react";
3696
- import { CheckCircle2 as CheckCircle22 } from "lucide-react";
3697
3952
  import { jsx as jsx72, jsxs as jsxs40 } from "react/jsx-runtime";
3698
3953
  var CAMPAIGN_SEED_FIELDS = [
3699
3954
  {
@@ -3778,7 +4033,7 @@ var CampaignSeedCard = React55.memo(
3778
4033
  fields: CAMPAIGN_SEED_FIELDS,
3779
4034
  className,
3780
4035
  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(CheckCircle22, { className: "h-4 w-4" }),
4036
+ /* @__PURE__ */ jsx72(CircleCheck, { className: "h-4 w-4" }),
3782
4037
  /* @__PURE__ */ jsx72("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
3783
4038
  ] }) : formCardProps.footer
3784
4039
  }
@@ -3792,7 +4047,6 @@ import React56 from "react";
3792
4047
 
3793
4048
  // src/molecules/creator-discovery/SearchSpecCard/CustomFieldRenderers.tsx
3794
4049
  import { useState as useState4, useRef as useRef3, useEffect as useEffect5 } from "react";
3795
- import { ChevronDown as ChevronDown4, Check as Check7 } from "lucide-react";
3796
4050
 
3797
4051
  // src/lib/countries.ts
3798
4052
  var countries = [
@@ -4027,7 +4281,7 @@ var CountrySelectEdit = ({
4027
4281
  children: [
4028
4282
  /* @__PURE__ */ jsx73("span", { className: "text-gray-700", children: inputValue.length > 0 ? `${inputValue.length} ${inputValue.length === 1 ? "country" : "countries"} selected` : "Select countries..." }),
4029
4283
  /* @__PURE__ */ jsx73(
4030
- ChevronDown4,
4284
+ ChevronDown,
4031
4285
  {
4032
4286
  className: cn(
4033
4287
  "h-4 w-4 text-gray-400 transition-transform",
@@ -4077,7 +4331,7 @@ var CountrySelectEdit = ({
4077
4331
  /* @__PURE__ */ jsx73("span", { className: "text-sm text-gray-700", children: country.name }),
4078
4332
  /* @__PURE__ */ jsx73("span", { className: "text-xs text-gray-400 font-mono", children: country.code })
4079
4333
  ] }),
4080
- inputValue.includes(country.code) && /* @__PURE__ */ jsx73(Check7, { className: "h-4 w-4 text-purple500" })
4334
+ inputValue.includes(country.code) && /* @__PURE__ */ jsx73(Check, { className: "h-4 w-4 text-purple500" })
4081
4335
  ]
4082
4336
  },
4083
4337
  country.code
@@ -4097,7 +4351,7 @@ var CountrySelectEdit = ({
4097
4351
  onClick: () => onChange(inputValue.filter((c) => c !== countryCode)),
4098
4352
  className: "hover:bg-purple200 rounded-full p-0.5 transition-colors",
4099
4353
  children: [
4100
- /* @__PURE__ */ jsx73(ChevronDown4, { className: "h-3 w-3 rotate-45" }),
4354
+ /* @__PURE__ */ jsx73(ChevronDown, { className: "h-3 w-3 rotate-45" }),
4101
4355
  " "
4102
4356
  ]
4103
4357
  }
@@ -4264,7 +4518,6 @@ var KeywordBundlesDisplay = ({ value }) => {
4264
4518
  };
4265
4519
 
4266
4520
  // src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
4267
- import { CheckCircle2 as CheckCircle23 } from "lucide-react";
4268
4521
  import { jsx as jsx74, jsxs as jsxs42 } from "react/jsx-runtime";
4269
4522
  var SEARCH_SPEC_FIELDS = [
4270
4523
  {
@@ -4334,7 +4587,7 @@ var SearchSpecCard = React56.memo(
4334
4587
  fields: SEARCH_SPEC_FIELDS,
4335
4588
  className,
4336
4589
  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(CheckCircle23, { className: "h-4 w-4" }),
4590
+ /* @__PURE__ */ jsx74(CircleCheck, { className: "h-4 w-4" }),
4338
4591
  /* @__PURE__ */ jsx74("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
4339
4592
  ] }) : formCardProps.footer
4340
4593
  }
@@ -4345,7 +4598,6 @@ SearchSpecCard.displayName = "SearchSpecCard";
4345
4598
 
4346
4599
  // src/molecules/creator-discovery/MCQCard/MCQCard.tsx
4347
4600
  import React57 from "react";
4348
- import { CheckCircle2 as CheckCircle24, Sparkles } from "lucide-react";
4349
4601
  import { jsx as jsx75, jsxs as jsxs43 } from "react/jsx-runtime";
4350
4602
  var MCQCard = React57.memo(
4351
4603
  ({
@@ -4453,7 +4705,7 @@ var MCQCard = React57.memo(
4453
4705
  disabled: !selectedOption && !recommended
4454
4706
  }
4455
4707
  ) }) : /* @__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(CheckCircle24, { className: "h-4 w-4" }),
4708
+ /* @__PURE__ */ jsx75(CircleCheck, { className: "h-4 w-4" }),
4457
4709
  /* @__PURE__ */ jsx75("span", { children: selectionStatus === "agent" ? "Suggested by Agent, Approved by You" : "Selected by You" })
4458
4710
  ] }) })
4459
4711
  ]
@@ -4464,248 +4716,51 @@ var MCQCard = React57.memo(
4464
4716
  MCQCard.displayName = "MCQCard";
4465
4717
 
4466
4718
  // src/render/PXEngineRenderer.tsx
4467
- import { Fragment as Fragment3, jsx as jsx76 } from "react/jsx-runtime";
4719
+ import { jsx as jsx76, jsxs as jsxs44 } from "react/jsx-runtime";
4468
4720
  var PXEngineRenderer = ({
4469
4721
  schema,
4470
4722
  onAction
4471
4723
  }) => {
4472
- const root = "root" in schema ? schema.root : schema;
4473
- const renderAtom = (atom, renderComponent2) => {
4474
- const { type, id } = atom;
4475
- switch (type) {
4476
- case "layout":
4477
- return /* @__PURE__ */ jsx76(
4478
- LayoutAtom,
4479
- {
4480
- ...atom,
4481
- renderComponent: renderComponent2
4482
- },
4483
- id
4484
- );
4485
- case "card":
4486
- return /* @__PURE__ */ jsx76(
4487
- CardAtom,
4488
- {
4489
- ...atom,
4490
- renderComponent: renderComponent2
4491
- },
4492
- id
4493
- );
4494
- case "text":
4495
- return /* @__PURE__ */ jsx76(TextAtom, { ...atom }, id);
4496
- case "button":
4497
- return /* @__PURE__ */ jsx76(ButtonAtom, { ...atom, onAction }, id);
4498
- case "input":
4499
- return /* @__PURE__ */ jsx76(InputAtom, { ...atom }, id);
4500
- case "badge":
4501
- return /* @__PURE__ */ jsx76(BadgeAtom, { ...atom }, id);
4502
- case "avatar":
4503
- return /* @__PURE__ */ jsx76(AvatarAtom, { ...atom }, id);
4504
- case "progress":
4505
- return /* @__PURE__ */ jsx76(ProgressAtom, { ...atom }, id);
4506
- case "skeleton":
4507
- return /* @__PURE__ */ jsx76(SkeletonAtom, { ...atom }, id);
4508
- case "alert":
4509
- return /* @__PURE__ */ jsx76(AlertAtom, { ...atom }, id);
4510
- case "separator":
4511
- return /* @__PURE__ */ jsx76(SeparatorAtom, { ...atom }, id);
4512
- case "table":
4513
- return /* @__PURE__ */ jsx76(TableAtom, { ...atom }, id);
4514
- case "tabs":
4515
- return /* @__PURE__ */ jsx76(
4516
- TabsAtom,
4517
- {
4518
- ...atom,
4519
- renderComponent: renderComponent2
4520
- },
4521
- id
4522
- );
4523
- case "accordion":
4524
- return /* @__PURE__ */ jsx76(
4525
- AccordionAtom,
4526
- {
4527
- ...atom,
4528
- renderComponent: renderComponent2
4529
- },
4530
- id
4531
- );
4532
- case "scroll-area":
4533
- return /* @__PURE__ */ jsx76(
4534
- ScrollAreaAtom,
4535
- {
4536
- ...atom,
4537
- renderComponent: renderComponent2
4538
- },
4539
- id
4540
- );
4541
- case "carousel":
4542
- return /* @__PURE__ */ jsx76(
4543
- CarouselAtom,
4544
- {
4545
- ...atom,
4546
- renderComponent: renderComponent2
4547
- },
4548
- id
4549
- );
4550
- case "aspect-ratio":
4551
- return /* @__PURE__ */ jsx76(
4552
- AspectRatioAtom,
4553
- {
4554
- ...atom,
4555
- renderComponent: renderComponent2
4556
- },
4557
- id
4558
- );
4559
- case "collapsible":
4560
- return /* @__PURE__ */ jsx76(
4561
- CollapsibleAtom,
4562
- {
4563
- ...atom,
4564
- renderComponent: renderComponent2
4565
- },
4566
- id
4567
- );
4568
- case "tooltip":
4569
- return /* @__PURE__ */ jsx76(
4570
- TooltipAtom,
4571
- {
4572
- ...atom,
4573
- renderComponent: renderComponent2
4574
- },
4575
- id
4576
- );
4577
- case "popover":
4578
- return /* @__PURE__ */ jsx76(
4579
- PopoverAtom,
4580
- {
4581
- ...atom,
4582
- renderComponent: renderComponent2
4583
- },
4584
- id
4585
- );
4586
- case "dialog":
4587
- return /* @__PURE__ */ jsx76(
4588
- DialogAtom,
4589
- {
4590
- ...atom,
4591
- renderComponent: renderComponent2
4592
- },
4593
- id
4594
- );
4595
- case "sheet":
4596
- return /* @__PURE__ */ jsx76(
4597
- SheetAtom,
4598
- {
4599
- ...atom,
4600
- renderComponent: renderComponent2
4601
- },
4602
- id
4603
- );
4604
- case "alert-dialog":
4605
- return /* @__PURE__ */ jsx76(
4606
- AlertDialogAtom,
4607
- {
4608
- ...atom,
4609
- onAction,
4610
- renderComponent: renderComponent2
4611
- },
4612
- id
4613
- );
4614
- case "breadcrumb":
4615
- return /* @__PURE__ */ jsx76(BreadcrumbAtom, { ...atom }, id);
4616
- case "spinner":
4617
- return /* @__PURE__ */ jsx76(SpinnerAtom, { ...atom }, id);
4618
- case "calendar":
4619
- return /* @__PURE__ */ jsx76(CalendarAtom, { ...atom }, id);
4620
- case "pagination":
4621
- return /* @__PURE__ */ jsx76(PaginationAtom, { ...atom }, id);
4622
- case "command":
4623
- return /* @__PURE__ */ jsx76(CommandAtom, { ...atom }, id);
4624
- default:
4625
- return null;
4626
- }
4627
- };
4628
- const renderMolecule = (molecule) => {
4629
- const { type, id } = molecule;
4630
- switch (type) {
4631
- case "campaign-seed":
4632
- return /* @__PURE__ */ jsx76(
4633
- CampaignSeedCard,
4634
- {
4635
- ...molecule,
4636
- onProceed: () => onAction?.(molecule.proceedAction || "proceed")
4637
- },
4638
- id
4639
- );
4640
- case "search-spec":
4641
- return /* @__PURE__ */ jsx76(
4642
- SearchSpecCard,
4643
- {
4644
- ...molecule,
4645
- onProceed: () => onAction?.(molecule.proceedAction || "proceed")
4646
- },
4647
- id
4648
- );
4649
- case "mcq":
4650
- return /* @__PURE__ */ jsx76(
4651
- MCQCard,
4652
- {
4653
- ...molecule,
4654
- onProceed: () => onAction?.(molecule.proceedAction || "proceed")
4655
- },
4656
- id
4657
- );
4658
- case "action-button":
4659
- return /* @__PURE__ */ jsx76(
4660
- ActionButton,
4661
- {
4662
- ...molecule,
4663
- onProceed: () => onAction?.(molecule.action || "proceed")
4664
- },
4665
- id
4666
- );
4667
- default:
4668
- return null;
4724
+ if (!schema) return null;
4725
+ const root = schema.root || schema;
4726
+ const renderRecursive = (component) => {
4727
+ if (typeof component === "string" || typeof component === "number") {
4728
+ return component;
4669
4729
  }
4670
- };
4671
- const renderComponent = (component) => {
4672
- const { type } = component;
4673
- const isAtom = [
4674
- "layout",
4675
- "card",
4676
- "text",
4677
- "button",
4678
- "input",
4679
- "badge",
4680
- "avatar",
4681
- "progress",
4682
- "skeleton",
4683
- "alert",
4684
- "separator",
4685
- "table",
4686
- "tabs",
4687
- "accordion",
4688
- "scroll-area",
4689
- "carousel",
4690
- "aspect-ratio",
4691
- "collapsible",
4692
- "tooltip",
4693
- "popover",
4694
- "dialog",
4695
- "sheet",
4696
- "alert-dialog",
4697
- "breadcrumb",
4698
- "spinner",
4699
- "calendar",
4700
- "pagination",
4701
- "command"
4702
- ].includes(type);
4703
- if (isAtom) {
4704
- return renderAtom(component, renderComponent);
4730
+ if (!component) return null;
4731
+ const { type, name, props = {}, children = [], id } = component;
4732
+ const componentName = name || type;
4733
+ if (!componentName) return null;
4734
+ const normalizedName = componentName.charAt(0).toUpperCase() + componentName.slice(1);
4735
+ const atomName = normalizedName.endsWith("Atom") ? normalizedName : `${normalizedName}Atom`;
4736
+ const TargetComponent = atoms_exports[atomName] || atoms_exports[normalizedName] || atoms_exports[componentName] || molecules_exports[normalizedName] || molecules_exports[componentName];
4737
+ if (!TargetComponent) {
4738
+ console.warn(`[PXEngineRenderer] Component not found: ${componentName}`);
4739
+ return /* @__PURE__ */ jsxs44(
4740
+ "div",
4741
+ {
4742
+ className: "p-2 border border-dashed border-red-500/50 text-red-500 text-[10px] rounded",
4743
+ children: [
4744
+ "Unknown: ",
4745
+ componentName
4746
+ ]
4747
+ },
4748
+ id
4749
+ );
4705
4750
  }
4706
- return renderMolecule(component);
4751
+ return /* @__PURE__ */ jsx76(
4752
+ TargetComponent,
4753
+ {
4754
+ ...props,
4755
+ onAction,
4756
+ renderComponent: renderRecursive,
4757
+ children: Array.isArray(children) ? children : void 0,
4758
+ children: Array.isArray(children) ? children.map((child, idx) => /* @__PURE__ */ jsx76(React58.Fragment, { children: renderRecursive(child) }, idx)) : typeof children === "string" ? children : null
4759
+ },
4760
+ id || Math.random().toString(36).substr(2, 9)
4761
+ );
4707
4762
  };
4708
- return /* @__PURE__ */ jsx76(Fragment3, { children: renderComponent(root) });
4763
+ return /* @__PURE__ */ jsx76("div", { className: "px-engine-root", children: renderRecursive(root) });
4709
4764
  };
4710
4765
  export {
4711
4766
  Accordion,
@@ -4927,3 +4982,39 @@ export {
4927
4982
  TooltipTrigger,
4928
4983
  cn
4929
4984
  };
4985
+ /*! Bundled license information:
4986
+
4987
+ lucide-react/dist/esm/shared/src/utils.js:
4988
+ lucide-react/dist/esm/defaultAttributes.js:
4989
+ lucide-react/dist/esm/Icon.js:
4990
+ lucide-react/dist/esm/createLucideIcon.js:
4991
+ lucide-react/dist/esm/icons/arrow-left.js:
4992
+ lucide-react/dist/esm/icons/arrow-right.js:
4993
+ lucide-react/dist/esm/icons/check.js:
4994
+ lucide-react/dist/esm/icons/chevron-down.js:
4995
+ lucide-react/dist/esm/icons/chevron-left.js:
4996
+ lucide-react/dist/esm/icons/chevron-right.js:
4997
+ lucide-react/dist/esm/icons/chevron-up.js:
4998
+ lucide-react/dist/esm/icons/circle-alert.js:
4999
+ lucide-react/dist/esm/icons/circle-check.js:
5000
+ lucide-react/dist/esm/icons/circle.js:
5001
+ lucide-react/dist/esm/icons/copy.js:
5002
+ lucide-react/dist/esm/icons/dot.js:
5003
+ lucide-react/dist/esm/icons/ellipsis.js:
5004
+ lucide-react/dist/esm/icons/info.js:
5005
+ lucide-react/dist/esm/icons/loader-circle.js:
5006
+ lucide-react/dist/esm/icons/pause.js:
5007
+ lucide-react/dist/esm/icons/pencil.js:
5008
+ lucide-react/dist/esm/icons/play.js:
5009
+ lucide-react/dist/esm/icons/search.js:
5010
+ lucide-react/dist/esm/icons/sparkles.js:
5011
+ lucide-react/dist/esm/icons/triangle-alert.js:
5012
+ lucide-react/dist/esm/icons/x.js:
5013
+ lucide-react/dist/esm/lucide-react.js:
5014
+ (**
5015
+ * @license lucide-react v0.475.0 - ISC
5016
+ *
5017
+ * This source code is licensed under the ISC license.
5018
+ * See the LICENSE file in the root directory of this source tree.
5019
+ *)
5020
+ */