@algorithm-shift/design-system 1.2.22 → 1.2.24
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.css +230 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +76 -2
- package/dist/index.d.ts +76 -2
- package/dist/index.js +868 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +860 -223
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -5
package/dist/index.mjs
CHANGED
|
@@ -1,25 +1,63 @@
|
|
|
1
|
+
// src/components/Layout/Modal.tsx
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
var Modal = ({
|
|
4
|
+
children,
|
|
5
|
+
onClose,
|
|
6
|
+
label,
|
|
7
|
+
className,
|
|
8
|
+
style
|
|
9
|
+
}) => {
|
|
10
|
+
return /* @__PURE__ */ jsx("div", { className, style, children: /* @__PURE__ */ jsxs("div", { className: "min-h-80", children: [
|
|
11
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center p-4 border-b border-gray-300 bg-gray-100", children: [
|
|
12
|
+
/* @__PURE__ */ jsx("h4", { className: "text-[#000]", children: label || "Modal Title" }),
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"span",
|
|
15
|
+
{
|
|
16
|
+
className: "cursor-pointer text-[#000]",
|
|
17
|
+
role: "presentation",
|
|
18
|
+
onClick: onClose,
|
|
19
|
+
children: "X"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
] }),
|
|
23
|
+
/* @__PURE__ */ jsx("div", { className: "h-90 overflow-y-auto p-4 custom-scroll", children })
|
|
24
|
+
] }) });
|
|
25
|
+
};
|
|
26
|
+
var Modal_default = Modal;
|
|
27
|
+
|
|
1
28
|
// src/components/Layout/Flex.tsx
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
29
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
3
30
|
var Flex = ({
|
|
4
31
|
children,
|
|
5
32
|
className,
|
|
6
33
|
style
|
|
7
34
|
}) => {
|
|
8
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ jsx2("div", { className, style, children });
|
|
9
36
|
};
|
|
10
37
|
var Flex_default = Flex;
|
|
11
38
|
|
|
12
39
|
// src/components/Layout/Grid.tsx
|
|
13
|
-
import { jsx as
|
|
40
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
14
41
|
var Grid = ({
|
|
15
42
|
children,
|
|
16
43
|
className,
|
|
17
44
|
style
|
|
18
45
|
}) => {
|
|
19
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ jsx3("div", { className, style, children });
|
|
20
47
|
};
|
|
21
48
|
var Grid_default = Grid;
|
|
22
49
|
|
|
50
|
+
// src/components/Layout/Container.tsx
|
|
51
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
52
|
+
var Container = ({
|
|
53
|
+
children,
|
|
54
|
+
className,
|
|
55
|
+
style
|
|
56
|
+
}) => {
|
|
57
|
+
return /* @__PURE__ */ jsx4("div", { className, style, children });
|
|
58
|
+
};
|
|
59
|
+
var Container_default = Container;
|
|
60
|
+
|
|
23
61
|
// src/components/ui/button.tsx
|
|
24
62
|
import { Slot } from "@radix-ui/react-slot";
|
|
25
63
|
import { cva } from "class-variance-authority";
|
|
@@ -32,7 +70,7 @@ function cn(...inputs) {
|
|
|
32
70
|
}
|
|
33
71
|
|
|
34
72
|
// src/components/ui/button.tsx
|
|
35
|
-
import { jsx as
|
|
73
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
36
74
|
var buttonVariants = cva(
|
|
37
75
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
38
76
|
{
|
|
@@ -66,7 +104,7 @@ function Button({
|
|
|
66
104
|
...props
|
|
67
105
|
}) {
|
|
68
106
|
const Comp = asChild ? Slot : "button";
|
|
69
|
-
return /* @__PURE__ */
|
|
107
|
+
return /* @__PURE__ */ jsx5(
|
|
70
108
|
Comp,
|
|
71
109
|
{
|
|
72
110
|
"data-slot": "button",
|
|
@@ -77,7 +115,7 @@ function Button({
|
|
|
77
115
|
}
|
|
78
116
|
|
|
79
117
|
// src/components/Basic/Button/Button.tsx
|
|
80
|
-
import { jsx as
|
|
118
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
81
119
|
var ButtonComponent = ({
|
|
82
120
|
className,
|
|
83
121
|
style,
|
|
@@ -88,7 +126,7 @@ var ButtonComponent = ({
|
|
|
88
126
|
"bg-[#000000] text-white transition-colors disabled:opacity-50",
|
|
89
127
|
className
|
|
90
128
|
);
|
|
91
|
-
return /* @__PURE__ */
|
|
129
|
+
return /* @__PURE__ */ jsx6(
|
|
92
130
|
Button,
|
|
93
131
|
{
|
|
94
132
|
type: "button",
|
|
@@ -104,7 +142,7 @@ var Button_default = ButtonComponent;
|
|
|
104
142
|
var image_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAD25JREFUeJzt3XfwHGUdx/H3LyEJoQihJVITIEEQBUQHIQEBQaRMwApIyS8UQQREBQUZRaUXUQwwYoShSlWqQ5ci1ZE2YkIgEBIggNQEQgKk+Mf3t/7utt2ze7u35T6vmZ1M7vae57m7/fxu99nd5wERERERERERERERERERERERERERERERERERERERERERERERERERERERERGR7tJTdANiDAIOBDag3O2sm/eBS4Dnim6IxLsAWKKlkOVtYETrr6j+BhTdgBhfL7oBXWwYsH3RjSiDMgdkUNEN6HKDi25AGSxVdA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RERERERERERERERERkZJLMgT9AGAPbNjKWdj4riJVMRzYD1gDeI4chh89j/5rWV7GJoMUqYJVgVfp337PyaMS/1xz++RRiUgOJtK87c53fWGSy90H+/4/NMFrRYrkv7jWeTBt3TAlEkMBEYmhgIjE6Emwrr9b7HXgXd9j04EjgRdalLUWMAn4VIL6Pc/11TGjxXpr99WxQYo6ngWOAGa2WG9kXx2jU9Qxra+OWS3WGwX8PmUdz2CfVas61u2rY/0UdUzF3sfLDnVMAtZLUccU4HBgdov1RmPvY5Tv8WHAar7Hkmz7TlznonvQoay7EpSXto572qzDZR67f7RZx90OdTTODZlXHQ+3WcftDnU80mYdf3Oo47EE5WVuoWPFLjfEN/ZJp1lcBox4o8063nKo450263i9JHW812Ydr3Sgjla/5mCT9biU9bFDWUCyY5BrHde7OsOyolyT0TpVqKMun1Un3odrHVe5VppkP2wINrPtujHrTAMupnVClwL2BzZKUH+aOiaQbrrqqcAl2K9mnEF9daQ5lpqCzTrrUkcv6Y6lktQxERiToo6ngcuARS3WG4y9jzR1/Bu43LGOA4g/lpoOXAR8lKIdIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIrX3Py2wAaYahY2rAAAAAElFTkSuQmCC";
|
|
105
143
|
|
|
106
144
|
// src/components/Basic/Image/Image.tsx
|
|
107
|
-
import { jsx as
|
|
145
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
108
146
|
var ImageControl = ({
|
|
109
147
|
className,
|
|
110
148
|
style,
|
|
@@ -121,21 +159,21 @@ var ImageControl = ({
|
|
|
121
159
|
className
|
|
122
160
|
);
|
|
123
161
|
if (!imageUrl && !imageUrlExternal) {
|
|
124
|
-
return /* @__PURE__ */
|
|
162
|
+
return /* @__PURE__ */ jsx7("div", { className: imageClass, children: /* @__PURE__ */ jsx7("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
125
163
|
}
|
|
126
164
|
const url = imageUrlExternal || imageUrl;
|
|
127
|
-
return /* @__PURE__ */
|
|
165
|
+
return /* @__PURE__ */ jsx7("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
128
166
|
};
|
|
129
167
|
var Image_default = ImageControl;
|
|
130
168
|
|
|
131
169
|
// src/components/Basic/Shape/Shape.tsx
|
|
132
|
-
import { jsx as
|
|
170
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
133
171
|
var Shape = ({
|
|
134
172
|
children,
|
|
135
173
|
className,
|
|
136
174
|
style
|
|
137
175
|
}) => {
|
|
138
|
-
return /* @__PURE__ */
|
|
176
|
+
return /* @__PURE__ */ jsx8("div", { className, style, children });
|
|
139
177
|
};
|
|
140
178
|
var Shape_default = Shape;
|
|
141
179
|
|
|
@@ -169,9 +207,9 @@ var Typography_default = Typography;
|
|
|
169
207
|
import * as React2 from "react";
|
|
170
208
|
|
|
171
209
|
// src/components/ui/input.tsx
|
|
172
|
-
import { jsx as
|
|
210
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
173
211
|
function Input({ className, type, ...props }) {
|
|
174
|
-
return /* @__PURE__ */
|
|
212
|
+
return /* @__PURE__ */ jsx9(
|
|
175
213
|
"input",
|
|
176
214
|
{
|
|
177
215
|
type,
|
|
@@ -188,7 +226,7 @@ function Input({ className, type, ...props }) {
|
|
|
188
226
|
}
|
|
189
227
|
|
|
190
228
|
// src/components/Inputs/TextInput/TextInput.tsx
|
|
191
|
-
import { Fragment, jsx as
|
|
229
|
+
import { Fragment, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
192
230
|
var TextInput = ({ className, style, ...props }) => {
|
|
193
231
|
const placeholder = props.placeholder || "Placeholder text";
|
|
194
232
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -213,8 +251,8 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
213
251
|
setError(null);
|
|
214
252
|
}
|
|
215
253
|
};
|
|
216
|
-
return /* @__PURE__ */
|
|
217
|
-
/* @__PURE__ */
|
|
254
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
255
|
+
/* @__PURE__ */ jsx10(
|
|
218
256
|
Input,
|
|
219
257
|
{
|
|
220
258
|
type: "text",
|
|
@@ -231,7 +269,7 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
231
269
|
pattern: regexPattern || void 0
|
|
232
270
|
}
|
|
233
271
|
),
|
|
234
|
-
error && /* @__PURE__ */
|
|
272
|
+
error && /* @__PURE__ */ jsx10("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
235
273
|
] });
|
|
236
274
|
};
|
|
237
275
|
var TextInput_default = TextInput;
|
|
@@ -328,8 +366,21 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
328
366
|
return Component;
|
|
329
367
|
};
|
|
330
368
|
|
|
331
|
-
// node_modules/lucide-react/dist/esm/icons/
|
|
369
|
+
// node_modules/lucide-react/dist/esm/icons/bell.js
|
|
332
370
|
var __iconNode = [
|
|
371
|
+
["path", { d: "M10.268 21a2 2 0 0 0 3.464 0", key: "vwvbt9" }],
|
|
372
|
+
[
|
|
373
|
+
"path",
|
|
374
|
+
{
|
|
375
|
+
d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",
|
|
376
|
+
key: "11g9vi"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
];
|
|
380
|
+
var Bell = createLucideIcon("bell", __iconNode);
|
|
381
|
+
|
|
382
|
+
// node_modules/lucide-react/dist/esm/icons/calculator.js
|
|
383
|
+
var __iconNode2 = [
|
|
333
384
|
["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", key: "1nb95v" }],
|
|
334
385
|
["line", { x1: "8", x2: "16", y1: "6", y2: "6", key: "x4nwl0" }],
|
|
335
386
|
["line", { x1: "16", x2: "16", y1: "14", y2: "18", key: "wjye3r" }],
|
|
@@ -341,50 +392,66 @@ var __iconNode = [
|
|
|
341
392
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
342
393
|
["path", { d: "M8 18h.01", key: "lrp35t" }]
|
|
343
394
|
];
|
|
344
|
-
var Calculator = createLucideIcon("calculator",
|
|
395
|
+
var Calculator = createLucideIcon("calculator", __iconNode2);
|
|
345
396
|
|
|
346
397
|
// node_modules/lucide-react/dist/esm/icons/calendar.js
|
|
347
|
-
var
|
|
398
|
+
var __iconNode3 = [
|
|
348
399
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
349
400
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
350
401
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
351
402
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
352
403
|
];
|
|
353
|
-
var Calendar = createLucideIcon("calendar",
|
|
404
|
+
var Calendar = createLucideIcon("calendar", __iconNode3);
|
|
354
405
|
|
|
355
406
|
// node_modules/lucide-react/dist/esm/icons/check.js
|
|
356
|
-
var
|
|
357
|
-
var Check = createLucideIcon("check",
|
|
407
|
+
var __iconNode4 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
408
|
+
var Check = createLucideIcon("check", __iconNode4);
|
|
358
409
|
|
|
359
410
|
// node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
360
|
-
var
|
|
361
|
-
var ChevronDown = createLucideIcon("chevron-down",
|
|
411
|
+
var __iconNode5 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
412
|
+
var ChevronDown = createLucideIcon("chevron-down", __iconNode5);
|
|
362
413
|
|
|
363
414
|
// node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
364
|
-
var
|
|
365
|
-
var ChevronLeft = createLucideIcon("chevron-left",
|
|
415
|
+
var __iconNode6 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
416
|
+
var ChevronLeft = createLucideIcon("chevron-left", __iconNode6);
|
|
366
417
|
|
|
367
418
|
// node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
368
|
-
var
|
|
369
|
-
var ChevronRight = createLucideIcon("chevron-right",
|
|
419
|
+
var __iconNode7 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
420
|
+
var ChevronRight = createLucideIcon("chevron-right", __iconNode7);
|
|
370
421
|
|
|
371
422
|
// node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
372
|
-
var
|
|
373
|
-
var ChevronUp = createLucideIcon("chevron-up",
|
|
423
|
+
var __iconNode8 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
424
|
+
var ChevronUp = createLucideIcon("chevron-up", __iconNode8);
|
|
374
425
|
|
|
375
426
|
// node_modules/lucide-react/dist/esm/icons/circle.js
|
|
376
|
-
var
|
|
377
|
-
var Circle = createLucideIcon("circle",
|
|
427
|
+
var __iconNode9 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
428
|
+
var Circle = createLucideIcon("circle", __iconNode9);
|
|
429
|
+
|
|
430
|
+
// node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
431
|
+
var __iconNode10 = [
|
|
432
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
433
|
+
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
434
|
+
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
435
|
+
];
|
|
436
|
+
var Ellipsis = createLucideIcon("ellipsis", __iconNode10);
|
|
378
437
|
|
|
379
438
|
// node_modules/lucide-react/dist/esm/icons/mail.js
|
|
380
|
-
var
|
|
439
|
+
var __iconNode11 = [
|
|
381
440
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
382
441
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
383
442
|
];
|
|
384
|
-
var Mail = createLucideIcon("mail",
|
|
443
|
+
var Mail = createLucideIcon("mail", __iconNode11);
|
|
444
|
+
|
|
445
|
+
// node_modules/lucide-react/dist/esm/icons/menu.js
|
|
446
|
+
var __iconNode12 = [
|
|
447
|
+
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
448
|
+
["path", { d: "M4 18h16", key: "19g7jn" }],
|
|
449
|
+
["path", { d: "M4 6h16", key: "1o0s65" }]
|
|
450
|
+
];
|
|
451
|
+
var Menu = createLucideIcon("menu", __iconNode12);
|
|
385
452
|
|
|
386
453
|
// node_modules/lucide-react/dist/esm/icons/scan-eye.js
|
|
387
|
-
var
|
|
454
|
+
var __iconNode13 = [
|
|
388
455
|
["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
|
|
389
456
|
["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
|
|
390
457
|
["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
|
|
@@ -398,17 +465,17 @@ var __iconNode10 = [
|
|
|
398
465
|
}
|
|
399
466
|
]
|
|
400
467
|
];
|
|
401
|
-
var ScanEye = createLucideIcon("scan-eye",
|
|
468
|
+
var ScanEye = createLucideIcon("scan-eye", __iconNode13);
|
|
402
469
|
|
|
403
470
|
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
404
|
-
var
|
|
471
|
+
var __iconNode14 = [
|
|
405
472
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
406
473
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
407
474
|
];
|
|
408
|
-
var Search = createLucideIcon("search",
|
|
475
|
+
var Search = createLucideIcon("search", __iconNode14);
|
|
409
476
|
|
|
410
477
|
// src/components/Inputs/NumberInput/NumberInput.tsx
|
|
411
|
-
import { Fragment as Fragment2, jsx as
|
|
478
|
+
import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
412
479
|
var NumberInput = ({ className, style, ...props }) => {
|
|
413
480
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
414
481
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -433,10 +500,10 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
433
500
|
setError(null);
|
|
434
501
|
}
|
|
435
502
|
};
|
|
436
|
-
return /* @__PURE__ */
|
|
437
|
-
/* @__PURE__ */
|
|
438
|
-
/* @__PURE__ */
|
|
439
|
-
/* @__PURE__ */
|
|
503
|
+
return /* @__PURE__ */ jsxs3(Fragment2, { children: [
|
|
504
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex justify-start items-center relative", children: [
|
|
505
|
+
/* @__PURE__ */ jsx11(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
506
|
+
/* @__PURE__ */ jsx11(
|
|
440
507
|
Input,
|
|
441
508
|
{
|
|
442
509
|
type: "number",
|
|
@@ -455,14 +522,14 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
455
522
|
}
|
|
456
523
|
)
|
|
457
524
|
] }),
|
|
458
|
-
error && /* @__PURE__ */
|
|
525
|
+
error && /* @__PURE__ */ jsx11("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
459
526
|
] });
|
|
460
527
|
};
|
|
461
528
|
var NumberInput_default = NumberInput;
|
|
462
529
|
|
|
463
530
|
// src/components/Inputs/EmailInput/EmailInput.tsx
|
|
464
531
|
import * as React4 from "react";
|
|
465
|
-
import { Fragment as Fragment3, jsx as
|
|
532
|
+
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
466
533
|
var EmailInput = ({ className, style, ...props }) => {
|
|
467
534
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
468
535
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -487,10 +554,10 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
487
554
|
setError(null);
|
|
488
555
|
}
|
|
489
556
|
};
|
|
490
|
-
return /* @__PURE__ */
|
|
491
|
-
/* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
493
|
-
/* @__PURE__ */
|
|
557
|
+
return /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
558
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex justify-start items-center relative", children: [
|
|
559
|
+
/* @__PURE__ */ jsx12(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
560
|
+
/* @__PURE__ */ jsx12(
|
|
494
561
|
Input,
|
|
495
562
|
{
|
|
496
563
|
type: "email",
|
|
@@ -508,14 +575,14 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
508
575
|
}
|
|
509
576
|
)
|
|
510
577
|
] }),
|
|
511
|
-
error && /* @__PURE__ */
|
|
578
|
+
error && /* @__PURE__ */ jsx12("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
512
579
|
] });
|
|
513
580
|
};
|
|
514
581
|
var EmailInput_default = EmailInput;
|
|
515
582
|
|
|
516
583
|
// src/components/Inputs/PasswordInput/PasswordInput.tsx
|
|
517
584
|
import * as React5 from "react";
|
|
518
|
-
import { Fragment as Fragment4, jsx as
|
|
585
|
+
import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
519
586
|
var PasswordInput = ({ className, style, ...props }) => {
|
|
520
587
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
521
588
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -540,10 +607,10 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
540
607
|
setError(null);
|
|
541
608
|
}
|
|
542
609
|
};
|
|
543
|
-
return /* @__PURE__ */
|
|
544
|
-
/* @__PURE__ */
|
|
545
|
-
/* @__PURE__ */
|
|
546
|
-
/* @__PURE__ */
|
|
610
|
+
return /* @__PURE__ */ jsxs5(Fragment4, { children: [
|
|
611
|
+
/* @__PURE__ */ jsxs5("div", { className: "flex justify-start items-center relative", children: [
|
|
612
|
+
/* @__PURE__ */ jsx13(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
613
|
+
/* @__PURE__ */ jsx13(
|
|
547
614
|
Input,
|
|
548
615
|
{
|
|
549
616
|
type: "password",
|
|
@@ -562,7 +629,7 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
562
629
|
}
|
|
563
630
|
)
|
|
564
631
|
] }),
|
|
565
|
-
error && /* @__PURE__ */
|
|
632
|
+
error && /* @__PURE__ */ jsx13("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
566
633
|
] });
|
|
567
634
|
};
|
|
568
635
|
var PasswordInput_default = PasswordInput;
|
|
@@ -571,9 +638,9 @@ var PasswordInput_default = PasswordInput;
|
|
|
571
638
|
import * as React6 from "react";
|
|
572
639
|
|
|
573
640
|
// src/components/ui/textarea.tsx
|
|
574
|
-
import { jsx as
|
|
641
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
575
642
|
function Textarea({ className, ...props }) {
|
|
576
|
-
return /* @__PURE__ */
|
|
643
|
+
return /* @__PURE__ */ jsx14(
|
|
577
644
|
"textarea",
|
|
578
645
|
{
|
|
579
646
|
"data-slot": "textarea",
|
|
@@ -587,7 +654,7 @@ function Textarea({ className, ...props }) {
|
|
|
587
654
|
}
|
|
588
655
|
|
|
589
656
|
// src/components/Inputs/Textarea/Textarea.tsx
|
|
590
|
-
import { Fragment as Fragment5, jsx as
|
|
657
|
+
import { Fragment as Fragment5, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
591
658
|
var Textarea2 = ({ className, style, ...props }) => {
|
|
592
659
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
593
660
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -612,8 +679,8 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
612
679
|
setError(null);
|
|
613
680
|
}
|
|
614
681
|
};
|
|
615
|
-
return /* @__PURE__ */
|
|
616
|
-
/* @__PURE__ */
|
|
682
|
+
return /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
683
|
+
/* @__PURE__ */ jsx15(
|
|
617
684
|
Textarea,
|
|
618
685
|
{
|
|
619
686
|
id: "textarea-field",
|
|
@@ -629,14 +696,14 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
629
696
|
maxLength: noOfCharacters
|
|
630
697
|
}
|
|
631
698
|
),
|
|
632
|
-
error && /* @__PURE__ */
|
|
699
|
+
error && /* @__PURE__ */ jsx15("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
633
700
|
] });
|
|
634
701
|
};
|
|
635
702
|
var Textarea_default = Textarea2;
|
|
636
703
|
|
|
637
704
|
// src/components/Inputs/UrlInput/UrlInput.tsx
|
|
638
705
|
import * as React7 from "react";
|
|
639
|
-
import { Fragment as Fragment6, jsx as
|
|
706
|
+
import { Fragment as Fragment6, jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
640
707
|
var UrlInput = ({ className, style, ...props }) => {
|
|
641
708
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
642
709
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -661,10 +728,10 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
661
728
|
setError(null);
|
|
662
729
|
}
|
|
663
730
|
};
|
|
664
|
-
return /* @__PURE__ */
|
|
665
|
-
/* @__PURE__ */
|
|
666
|
-
/* @__PURE__ */
|
|
667
|
-
/* @__PURE__ */
|
|
731
|
+
return /* @__PURE__ */ jsxs7(Fragment6, { children: [
|
|
732
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex justify-start items-center relative", children: [
|
|
733
|
+
/* @__PURE__ */ jsx16("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[12px]", children: "https://" }),
|
|
734
|
+
/* @__PURE__ */ jsx16(
|
|
668
735
|
Input,
|
|
669
736
|
{
|
|
670
737
|
type: "url",
|
|
@@ -683,19 +750,19 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
683
750
|
}
|
|
684
751
|
)
|
|
685
752
|
] }),
|
|
686
|
-
error && /* @__PURE__ */
|
|
753
|
+
error && /* @__PURE__ */ jsx16("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
687
754
|
] });
|
|
688
755
|
};
|
|
689
756
|
var UrlInput_default = UrlInput;
|
|
690
757
|
|
|
691
758
|
// src/components/ui/checkbox.tsx
|
|
692
759
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
693
|
-
import { jsx as
|
|
760
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
694
761
|
function Checkbox({
|
|
695
762
|
className,
|
|
696
763
|
...props
|
|
697
764
|
}) {
|
|
698
|
-
return /* @__PURE__ */
|
|
765
|
+
return /* @__PURE__ */ jsx17(
|
|
699
766
|
CheckboxPrimitive.Root,
|
|
700
767
|
{
|
|
701
768
|
"data-slot": "checkbox",
|
|
@@ -704,12 +771,12 @@ function Checkbox({
|
|
|
704
771
|
className
|
|
705
772
|
),
|
|
706
773
|
...props,
|
|
707
|
-
children: /* @__PURE__ */
|
|
774
|
+
children: /* @__PURE__ */ jsx17(
|
|
708
775
|
CheckboxPrimitive.Indicator,
|
|
709
776
|
{
|
|
710
777
|
"data-slot": "checkbox-indicator",
|
|
711
778
|
className: "flex items-center justify-center text-current transition-none",
|
|
712
|
-
children: /* @__PURE__ */
|
|
779
|
+
children: /* @__PURE__ */ jsx17(Check, { className: "size-3.5" })
|
|
713
780
|
}
|
|
714
781
|
)
|
|
715
782
|
}
|
|
@@ -718,12 +785,12 @@ function Checkbox({
|
|
|
718
785
|
|
|
719
786
|
// src/components/ui/label.tsx
|
|
720
787
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
721
|
-
import { jsx as
|
|
788
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
722
789
|
function Label({
|
|
723
790
|
className,
|
|
724
791
|
...props
|
|
725
792
|
}) {
|
|
726
|
-
return /* @__PURE__ */
|
|
793
|
+
return /* @__PURE__ */ jsx18(
|
|
727
794
|
LabelPrimitive.Root,
|
|
728
795
|
{
|
|
729
796
|
"data-slot": "label",
|
|
@@ -737,24 +804,24 @@ function Label({
|
|
|
737
804
|
}
|
|
738
805
|
|
|
739
806
|
// src/components/Inputs/Checkbox/Checkbox.tsx
|
|
740
|
-
import { jsx as
|
|
807
|
+
import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
741
808
|
var CheckboxInput = ({ className, style, ...props }) => {
|
|
742
809
|
const text = props.text ? props.text : "Subscribe";
|
|
743
|
-
return /* @__PURE__ */
|
|
744
|
-
/* @__PURE__ */
|
|
745
|
-
/* @__PURE__ */
|
|
810
|
+
return /* @__PURE__ */ jsx19("div", { className, style, children: /* @__PURE__ */ jsxs8("div", { className: "flex items-center space-x-2", children: [
|
|
811
|
+
/* @__PURE__ */ jsx19(Checkbox, { id: "newsletter" }),
|
|
812
|
+
/* @__PURE__ */ jsx19(Label, { htmlFor: "newsletter", children: text })
|
|
746
813
|
] }) });
|
|
747
814
|
};
|
|
748
815
|
var Checkbox_default = CheckboxInput;
|
|
749
816
|
|
|
750
817
|
// src/components/ui/radio-group.tsx
|
|
751
818
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
752
|
-
import { jsx as
|
|
819
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
753
820
|
function RadioGroup({
|
|
754
821
|
className,
|
|
755
822
|
...props
|
|
756
823
|
}) {
|
|
757
|
-
return /* @__PURE__ */
|
|
824
|
+
return /* @__PURE__ */ jsx20(
|
|
758
825
|
RadioGroupPrimitive.Root,
|
|
759
826
|
{
|
|
760
827
|
"data-slot": "radio-group",
|
|
@@ -767,7 +834,7 @@ function RadioGroupItem({
|
|
|
767
834
|
className,
|
|
768
835
|
...props
|
|
769
836
|
}) {
|
|
770
|
-
return /* @__PURE__ */
|
|
837
|
+
return /* @__PURE__ */ jsx20(
|
|
771
838
|
RadioGroupPrimitive.Item,
|
|
772
839
|
{
|
|
773
840
|
"data-slot": "radio-group-item",
|
|
@@ -776,12 +843,12 @@ function RadioGroupItem({
|
|
|
776
843
|
className
|
|
777
844
|
),
|
|
778
845
|
...props,
|
|
779
|
-
children: /* @__PURE__ */
|
|
846
|
+
children: /* @__PURE__ */ jsx20(
|
|
780
847
|
RadioGroupPrimitive.Indicator,
|
|
781
848
|
{
|
|
782
849
|
"data-slot": "radio-group-indicator",
|
|
783
850
|
className: "relative flex items-center justify-center",
|
|
784
|
-
children: /* @__PURE__ */
|
|
851
|
+
children: /* @__PURE__ */ jsx20(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
785
852
|
}
|
|
786
853
|
)
|
|
787
854
|
}
|
|
@@ -789,31 +856,31 @@ function RadioGroupItem({
|
|
|
789
856
|
}
|
|
790
857
|
|
|
791
858
|
// src/components/Inputs/RadioInput/RadioInput.tsx
|
|
792
|
-
import { jsx as
|
|
859
|
+
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
793
860
|
var RadioInput = ({ className, style, ...props }) => {
|
|
794
861
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
795
862
|
const formatList = text.filter((i) => i.value && i.label).map((item) => ({
|
|
796
863
|
label: item.label,
|
|
797
864
|
value: item.value
|
|
798
865
|
}));
|
|
799
|
-
return /* @__PURE__ */
|
|
800
|
-
/* @__PURE__ */
|
|
801
|
-
/* @__PURE__ */
|
|
866
|
+
return /* @__PURE__ */ jsx21("div", { className, style, children: /* @__PURE__ */ jsx21(RadioGroup, { defaultValue: "option-1", children: formatList?.map((item, index) => /* @__PURE__ */ jsxs9("div", { className: "flex items-center space-x-2", children: [
|
|
867
|
+
/* @__PURE__ */ jsx21(RadioGroupItem, { value: item.value, id: `r${index}` }),
|
|
868
|
+
/* @__PURE__ */ jsx21(Label, { htmlFor: `r${index}`, children: item.label })
|
|
802
869
|
] }, index)) }) });
|
|
803
870
|
};
|
|
804
871
|
var RadioInput_default = RadioInput;
|
|
805
872
|
|
|
806
873
|
// src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
|
|
807
|
-
import { jsx as
|
|
874
|
+
import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
808
875
|
var MultiCheckbox = ({ className, style, ...props }) => {
|
|
809
876
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
810
877
|
const formatList = text.filter((i) => i.value && i.label).map((item) => ({
|
|
811
878
|
label: item.label,
|
|
812
879
|
value: item.value
|
|
813
880
|
}));
|
|
814
|
-
return /* @__PURE__ */
|
|
815
|
-
/* @__PURE__ */
|
|
816
|
-
/* @__PURE__ */
|
|
881
|
+
return /* @__PURE__ */ jsx22("div", { className, style, children: /* @__PURE__ */ jsx22("div", { className: "flex gap-3 flex-col", children: formatList?.map((item, index) => /* @__PURE__ */ jsxs10("div", { className: "flex items-center space-x-2", children: [
|
|
882
|
+
/* @__PURE__ */ jsx22(Checkbox, { id: `newsletter-${index}` }),
|
|
883
|
+
/* @__PURE__ */ jsx22(Label, { htmlFor: `newsletter-${index}`, children: item.label })
|
|
817
884
|
] }, index)) }) });
|
|
818
885
|
};
|
|
819
886
|
var MultiCheckbox_default = MultiCheckbox;
|
|
@@ -821,7 +888,7 @@ var MultiCheckbox_default = MultiCheckbox;
|
|
|
821
888
|
// src/components/Global/TinyMceEditor.tsx
|
|
822
889
|
import { useMemo, useRef } from "react";
|
|
823
890
|
import { Editor } from "@tinymce/tinymce-react";
|
|
824
|
-
import { jsx as
|
|
891
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
825
892
|
function MyEditor({
|
|
826
893
|
value,
|
|
827
894
|
onChange,
|
|
@@ -846,7 +913,7 @@ function MyEditor({
|
|
|
846
913
|
}
|
|
847
914
|
return toolbar;
|
|
848
915
|
}, [isDefault]);
|
|
849
|
-
return /* @__PURE__ */
|
|
916
|
+
return /* @__PURE__ */ jsx23(
|
|
850
917
|
Editor,
|
|
851
918
|
{
|
|
852
919
|
apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
|
|
@@ -890,9 +957,9 @@ function MyEditor({
|
|
|
890
957
|
}
|
|
891
958
|
|
|
892
959
|
// src/components/Inputs/RichText/RichText.tsx
|
|
893
|
-
import { jsx as
|
|
960
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
894
961
|
function RichText({ className, style }) {
|
|
895
|
-
return /* @__PURE__ */
|
|
962
|
+
return /* @__PURE__ */ jsx24("div", { className, style, children: /* @__PURE__ */ jsx24(MyEditor, { isDefault: true }) });
|
|
896
963
|
}
|
|
897
964
|
|
|
898
965
|
// src/components/Inputs/Dropdown/Dropdown.tsx
|
|
@@ -900,16 +967,16 @@ import * as React8 from "react";
|
|
|
900
967
|
|
|
901
968
|
// src/components/ui/select.tsx
|
|
902
969
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
903
|
-
import { jsx as
|
|
970
|
+
import { jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
904
971
|
function Select({
|
|
905
972
|
...props
|
|
906
973
|
}) {
|
|
907
|
-
return /* @__PURE__ */
|
|
974
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
908
975
|
}
|
|
909
976
|
function SelectValue({
|
|
910
977
|
...props
|
|
911
978
|
}) {
|
|
912
|
-
return /* @__PURE__ */
|
|
979
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
913
980
|
}
|
|
914
981
|
function SelectTrigger({
|
|
915
982
|
className,
|
|
@@ -917,7 +984,7 @@ function SelectTrigger({
|
|
|
917
984
|
children,
|
|
918
985
|
...props
|
|
919
986
|
}) {
|
|
920
|
-
return /* @__PURE__ */
|
|
987
|
+
return /* @__PURE__ */ jsxs11(
|
|
921
988
|
SelectPrimitive.Trigger,
|
|
922
989
|
{
|
|
923
990
|
"data-slot": "select-trigger",
|
|
@@ -929,7 +996,7 @@ function SelectTrigger({
|
|
|
929
996
|
...props,
|
|
930
997
|
children: [
|
|
931
998
|
children,
|
|
932
|
-
/* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ jsx25(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx25(ChevronDown, { className: "size-4 opacity-50" }) })
|
|
933
1000
|
]
|
|
934
1001
|
}
|
|
935
1002
|
);
|
|
@@ -940,7 +1007,7 @@ function SelectContent({
|
|
|
940
1007
|
position = "popper",
|
|
941
1008
|
...props
|
|
942
1009
|
}) {
|
|
943
|
-
return /* @__PURE__ */
|
|
1010
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs11(
|
|
944
1011
|
SelectPrimitive.Content,
|
|
945
1012
|
{
|
|
946
1013
|
"data-slot": "select-content",
|
|
@@ -952,8 +1019,8 @@ function SelectContent({
|
|
|
952
1019
|
position,
|
|
953
1020
|
...props,
|
|
954
1021
|
children: [
|
|
955
|
-
/* @__PURE__ */
|
|
956
|
-
/* @__PURE__ */
|
|
1022
|
+
/* @__PURE__ */ jsx25(SelectScrollUpButton, {}),
|
|
1023
|
+
/* @__PURE__ */ jsx25(
|
|
957
1024
|
SelectPrimitive.Viewport,
|
|
958
1025
|
{
|
|
959
1026
|
className: cn(
|
|
@@ -963,7 +1030,7 @@ function SelectContent({
|
|
|
963
1030
|
children
|
|
964
1031
|
}
|
|
965
1032
|
),
|
|
966
|
-
/* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ jsx25(SelectScrollDownButton, {})
|
|
967
1034
|
]
|
|
968
1035
|
}
|
|
969
1036
|
) });
|
|
@@ -973,7 +1040,7 @@ function SelectItem({
|
|
|
973
1040
|
children,
|
|
974
1041
|
...props
|
|
975
1042
|
}) {
|
|
976
|
-
return /* @__PURE__ */
|
|
1043
|
+
return /* @__PURE__ */ jsxs11(
|
|
977
1044
|
SelectPrimitive.Item,
|
|
978
1045
|
{
|
|
979
1046
|
"data-slot": "select-item",
|
|
@@ -983,8 +1050,8 @@ function SelectItem({
|
|
|
983
1050
|
),
|
|
984
1051
|
...props,
|
|
985
1052
|
children: [
|
|
986
|
-
/* @__PURE__ */
|
|
987
|
-
/* @__PURE__ */
|
|
1053
|
+
/* @__PURE__ */ jsx25("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(Check, { className: "size-4" }) }) }),
|
|
1054
|
+
/* @__PURE__ */ jsx25(SelectPrimitive.ItemText, { children })
|
|
988
1055
|
]
|
|
989
1056
|
}
|
|
990
1057
|
);
|
|
@@ -993,7 +1060,7 @@ function SelectScrollUpButton({
|
|
|
993
1060
|
className,
|
|
994
1061
|
...props
|
|
995
1062
|
}) {
|
|
996
|
-
return /* @__PURE__ */
|
|
1063
|
+
return /* @__PURE__ */ jsx25(
|
|
997
1064
|
SelectPrimitive.ScrollUpButton,
|
|
998
1065
|
{
|
|
999
1066
|
"data-slot": "select-scroll-up-button",
|
|
@@ -1002,7 +1069,7 @@ function SelectScrollUpButton({
|
|
|
1002
1069
|
className
|
|
1003
1070
|
),
|
|
1004
1071
|
...props,
|
|
1005
|
-
children: /* @__PURE__ */
|
|
1072
|
+
children: /* @__PURE__ */ jsx25(ChevronUp, { className: "size-4" })
|
|
1006
1073
|
}
|
|
1007
1074
|
);
|
|
1008
1075
|
}
|
|
@@ -1010,7 +1077,7 @@ function SelectScrollDownButton({
|
|
|
1010
1077
|
className,
|
|
1011
1078
|
...props
|
|
1012
1079
|
}) {
|
|
1013
|
-
return /* @__PURE__ */
|
|
1080
|
+
return /* @__PURE__ */ jsx25(
|
|
1014
1081
|
SelectPrimitive.ScrollDownButton,
|
|
1015
1082
|
{
|
|
1016
1083
|
"data-slot": "select-scroll-down-button",
|
|
@@ -1019,13 +1086,13 @@ function SelectScrollDownButton({
|
|
|
1019
1086
|
className
|
|
1020
1087
|
),
|
|
1021
1088
|
...props,
|
|
1022
|
-
children: /* @__PURE__ */
|
|
1089
|
+
children: /* @__PURE__ */ jsx25(ChevronDown, { className: "size-4" })
|
|
1023
1090
|
}
|
|
1024
1091
|
);
|
|
1025
1092
|
}
|
|
1026
1093
|
|
|
1027
1094
|
// src/components/Global/SelectDropdown.tsx
|
|
1028
|
-
import { jsx as
|
|
1095
|
+
import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1029
1096
|
function SelectDropdown({
|
|
1030
1097
|
options,
|
|
1031
1098
|
placeholder = "Select an option",
|
|
@@ -1037,23 +1104,23 @@ function SelectDropdown({
|
|
|
1037
1104
|
readOnly,
|
|
1038
1105
|
style
|
|
1039
1106
|
}) {
|
|
1040
|
-
return /* @__PURE__ */
|
|
1041
|
-
/* @__PURE__ */
|
|
1107
|
+
return /* @__PURE__ */ jsxs12(Select, { value, onValueChange: onChange, disabled, children: [
|
|
1108
|
+
/* @__PURE__ */ jsx26(
|
|
1042
1109
|
SelectTrigger,
|
|
1043
1110
|
{
|
|
1044
1111
|
id,
|
|
1045
1112
|
className,
|
|
1046
1113
|
style: style ?? {},
|
|
1047
1114
|
"aria-readonly": readOnly,
|
|
1048
|
-
children: /* @__PURE__ */
|
|
1115
|
+
children: /* @__PURE__ */ jsx26(SelectValue, { placeholder })
|
|
1049
1116
|
}
|
|
1050
1117
|
),
|
|
1051
|
-
/* @__PURE__ */
|
|
1118
|
+
/* @__PURE__ */ jsx26(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx26(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
1052
1119
|
] });
|
|
1053
1120
|
}
|
|
1054
1121
|
|
|
1055
1122
|
// src/components/Inputs/Dropdown/Dropdown.tsx
|
|
1056
|
-
import { Fragment as Fragment7, jsx as
|
|
1123
|
+
import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1057
1124
|
var Dropdown = ({ className, style, ...props }) => {
|
|
1058
1125
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Default"];
|
|
1059
1126
|
const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
|
|
@@ -1080,8 +1147,8 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
1080
1147
|
setError(null);
|
|
1081
1148
|
}
|
|
1082
1149
|
};
|
|
1083
|
-
return /* @__PURE__ */
|
|
1084
|
-
/* @__PURE__ */
|
|
1150
|
+
return /* @__PURE__ */ jsxs13(Fragment7, { children: [
|
|
1151
|
+
/* @__PURE__ */ jsx27("div", { className: "flex gap-3 flex-col", children: /* @__PURE__ */ jsx27(
|
|
1085
1152
|
SelectDropdown,
|
|
1086
1153
|
{
|
|
1087
1154
|
options: formatList,
|
|
@@ -1098,19 +1165,19 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
1098
1165
|
pattern: regexPattern || void 0
|
|
1099
1166
|
}
|
|
1100
1167
|
) }),
|
|
1101
|
-
error && /* @__PURE__ */
|
|
1168
|
+
error && /* @__PURE__ */ jsx27("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1102
1169
|
] });
|
|
1103
1170
|
};
|
|
1104
1171
|
var Dropdown_default = Dropdown;
|
|
1105
1172
|
|
|
1106
1173
|
// src/components/ui/switch.tsx
|
|
1107
1174
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
1108
|
-
import { jsx as
|
|
1175
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1109
1176
|
function Switch({
|
|
1110
1177
|
className,
|
|
1111
1178
|
...props
|
|
1112
1179
|
}) {
|
|
1113
|
-
return /* @__PURE__ */
|
|
1180
|
+
return /* @__PURE__ */ jsx28(
|
|
1114
1181
|
SwitchPrimitive.Root,
|
|
1115
1182
|
{
|
|
1116
1183
|
"data-slot": "switch",
|
|
@@ -1119,7 +1186,7 @@ function Switch({
|
|
|
1119
1186
|
className
|
|
1120
1187
|
),
|
|
1121
1188
|
...props,
|
|
1122
|
-
children: /* @__PURE__ */
|
|
1189
|
+
children: /* @__PURE__ */ jsx28(
|
|
1123
1190
|
SwitchPrimitive.Thumb,
|
|
1124
1191
|
{
|
|
1125
1192
|
"data-slot": "switch-thumb",
|
|
@@ -1133,12 +1200,12 @@ function Switch({
|
|
|
1133
1200
|
}
|
|
1134
1201
|
|
|
1135
1202
|
// src/components/Inputs/SwitchToggle/SwitchToggle.tsx
|
|
1136
|
-
import { jsx as
|
|
1203
|
+
import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1137
1204
|
var SwitchToggle = ({ className, style, ...props }) => {
|
|
1138
1205
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
1139
|
-
return /* @__PURE__ */
|
|
1140
|
-
/* @__PURE__ */
|
|
1141
|
-
/* @__PURE__ */
|
|
1206
|
+
return /* @__PURE__ */ jsx29("div", { className, style, children: text?.map((item, index) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2 mb-2", children: [
|
|
1207
|
+
/* @__PURE__ */ jsx29(Switch, { id: `switch-${index}` }),
|
|
1208
|
+
/* @__PURE__ */ jsx29(Label, { htmlFor: `switch-${index}`, children: item })
|
|
1142
1209
|
] }, index)) });
|
|
1143
1210
|
};
|
|
1144
1211
|
var SwitchToggle_default = SwitchToggle;
|
|
@@ -1147,7 +1214,7 @@ var SwitchToggle_default = SwitchToggle;
|
|
|
1147
1214
|
import * as React9 from "react";
|
|
1148
1215
|
import { PhoneInput as PhoneInputField } from "react-international-phone";
|
|
1149
1216
|
import "react-international-phone/style.css";
|
|
1150
|
-
import { Fragment as Fragment8, jsx as
|
|
1217
|
+
import { Fragment as Fragment8, jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1151
1218
|
var PhoneInput = ({ className, style, ...props }) => {
|
|
1152
1219
|
const placeholder = props.placeholder ?? "Enter phone number";
|
|
1153
1220
|
const [value, setValue] = React9.useState("");
|
|
@@ -1169,8 +1236,8 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
1169
1236
|
setError(null);
|
|
1170
1237
|
}
|
|
1171
1238
|
};
|
|
1172
|
-
return /* @__PURE__ */
|
|
1173
|
-
/* @__PURE__ */
|
|
1239
|
+
return /* @__PURE__ */ jsxs15(Fragment8, { children: [
|
|
1240
|
+
/* @__PURE__ */ jsx30(
|
|
1174
1241
|
PhoneInputField,
|
|
1175
1242
|
{
|
|
1176
1243
|
defaultCountry: "in",
|
|
@@ -1187,14 +1254,14 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
1187
1254
|
style
|
|
1188
1255
|
}
|
|
1189
1256
|
),
|
|
1190
|
-
error && /* @__PURE__ */
|
|
1257
|
+
error && /* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1191
1258
|
] });
|
|
1192
1259
|
};
|
|
1193
1260
|
var PhoneInput_default = PhoneInput;
|
|
1194
1261
|
|
|
1195
1262
|
// src/components/Inputs/SearchInput/SearchInput.tsx
|
|
1196
1263
|
import * as React10 from "react";
|
|
1197
|
-
import { Fragment as Fragment9, jsx as
|
|
1264
|
+
import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1198
1265
|
var SearchInput = ({ className, style, ...props }) => {
|
|
1199
1266
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1200
1267
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -1219,10 +1286,10 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
1219
1286
|
setError(null);
|
|
1220
1287
|
}
|
|
1221
1288
|
};
|
|
1222
|
-
return /* @__PURE__ */
|
|
1223
|
-
/* @__PURE__ */
|
|
1224
|
-
/* @__PURE__ */
|
|
1225
|
-
/* @__PURE__ */
|
|
1289
|
+
return /* @__PURE__ */ jsxs16(Fragment9, { children: [
|
|
1290
|
+
/* @__PURE__ */ jsxs16("div", { className: "flex justify-start items-center relative", children: [
|
|
1291
|
+
/* @__PURE__ */ jsx31(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
1292
|
+
/* @__PURE__ */ jsx31(
|
|
1226
1293
|
Input,
|
|
1227
1294
|
{
|
|
1228
1295
|
type: "text",
|
|
@@ -1241,18 +1308,18 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
1241
1308
|
}
|
|
1242
1309
|
)
|
|
1243
1310
|
] }),
|
|
1244
|
-
error && /* @__PURE__ */
|
|
1311
|
+
error && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1245
1312
|
] });
|
|
1246
1313
|
};
|
|
1247
1314
|
var SearchInput_default = SearchInput;
|
|
1248
1315
|
|
|
1249
1316
|
// src/components/Inputs/FileInput/FileInput.tsx
|
|
1250
|
-
import { jsx as
|
|
1317
|
+
import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1251
1318
|
var FileInput = ({ className, style, ...props }) => {
|
|
1252
1319
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1253
|
-
return /* @__PURE__ */
|
|
1254
|
-
/* @__PURE__ */
|
|
1255
|
-
/* @__PURE__ */
|
|
1320
|
+
return /* @__PURE__ */ jsxs17("div", { className: "d-flex items-center relative align-middle", children: [
|
|
1321
|
+
/* @__PURE__ */ jsx32("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[11px]", children: "Browse" }),
|
|
1322
|
+
/* @__PURE__ */ jsx32(
|
|
1256
1323
|
Input,
|
|
1257
1324
|
{
|
|
1258
1325
|
type: "file",
|
|
@@ -1269,7 +1336,7 @@ var FileInput_default = FileInput;
|
|
|
1269
1336
|
|
|
1270
1337
|
// src/components/Inputs/DatePicker/DatePicker.tsx
|
|
1271
1338
|
import React11 from "react";
|
|
1272
|
-
import { Fragment as Fragment10, jsx as
|
|
1339
|
+
import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1273
1340
|
function DatePicker({ className, style, ...props }) {
|
|
1274
1341
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1275
1342
|
const minimumDate = props.minimumDate ?? "none";
|
|
@@ -1307,10 +1374,10 @@ function DatePicker({ className, style, ...props }) {
|
|
|
1307
1374
|
setError(null);
|
|
1308
1375
|
}
|
|
1309
1376
|
};
|
|
1310
|
-
return /* @__PURE__ */
|
|
1311
|
-
/* @__PURE__ */
|
|
1312
|
-
/* @__PURE__ */
|
|
1313
|
-
/* @__PURE__ */
|
|
1377
|
+
return /* @__PURE__ */ jsxs18(Fragment10, { children: [
|
|
1378
|
+
/* @__PURE__ */ jsxs18("div", { className: "flex justify-start items-center relative", children: [
|
|
1379
|
+
/* @__PURE__ */ jsx33(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
1380
|
+
/* @__PURE__ */ jsx33(
|
|
1314
1381
|
Input,
|
|
1315
1382
|
{
|
|
1316
1383
|
type: "date",
|
|
@@ -1329,7 +1396,7 @@ function DatePicker({ className, style, ...props }) {
|
|
|
1329
1396
|
}
|
|
1330
1397
|
)
|
|
1331
1398
|
] }),
|
|
1332
|
-
error && /* @__PURE__ */
|
|
1399
|
+
error && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1333
1400
|
] });
|
|
1334
1401
|
}
|
|
1335
1402
|
|
|
@@ -1340,7 +1407,7 @@ import { addDays, format } from "date-fns";
|
|
|
1340
1407
|
// src/components/ui/calendar.tsx
|
|
1341
1408
|
import * as React12 from "react";
|
|
1342
1409
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
1343
|
-
import { jsx as
|
|
1410
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
1344
1411
|
function Calendar2({
|
|
1345
1412
|
className,
|
|
1346
1413
|
classNames,
|
|
@@ -1352,7 +1419,7 @@ function Calendar2({
|
|
|
1352
1419
|
...props
|
|
1353
1420
|
}) {
|
|
1354
1421
|
const defaultClassNames = getDefaultClassNames();
|
|
1355
|
-
return /* @__PURE__ */
|
|
1422
|
+
return /* @__PURE__ */ jsx34(
|
|
1356
1423
|
DayPicker,
|
|
1357
1424
|
{
|
|
1358
1425
|
showOutsideDays,
|
|
@@ -1451,7 +1518,7 @@ function Calendar2({
|
|
|
1451
1518
|
},
|
|
1452
1519
|
components: {
|
|
1453
1520
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
1454
|
-
return /* @__PURE__ */
|
|
1521
|
+
return /* @__PURE__ */ jsx34(
|
|
1455
1522
|
"div",
|
|
1456
1523
|
{
|
|
1457
1524
|
"data-slot": "calendar",
|
|
@@ -1463,10 +1530,10 @@ function Calendar2({
|
|
|
1463
1530
|
},
|
|
1464
1531
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
1465
1532
|
if (orientation === "left") {
|
|
1466
|
-
return /* @__PURE__ */
|
|
1533
|
+
return /* @__PURE__ */ jsx34(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
1467
1534
|
}
|
|
1468
1535
|
if (orientation === "right") {
|
|
1469
|
-
return /* @__PURE__ */
|
|
1536
|
+
return /* @__PURE__ */ jsx34(
|
|
1470
1537
|
ChevronRight,
|
|
1471
1538
|
{
|
|
1472
1539
|
className: cn("size-4", className2),
|
|
@@ -1474,11 +1541,11 @@ function Calendar2({
|
|
|
1474
1541
|
}
|
|
1475
1542
|
);
|
|
1476
1543
|
}
|
|
1477
|
-
return /* @__PURE__ */
|
|
1544
|
+
return /* @__PURE__ */ jsx34(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
1478
1545
|
},
|
|
1479
1546
|
DayButton: CalendarDayButton,
|
|
1480
1547
|
WeekNumber: ({ children, ...props2 }) => {
|
|
1481
|
-
return /* @__PURE__ */
|
|
1548
|
+
return /* @__PURE__ */ jsx34("td", { ...props2, children: /* @__PURE__ */ jsx34("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
|
|
1482
1549
|
},
|
|
1483
1550
|
...components
|
|
1484
1551
|
},
|
|
@@ -1497,7 +1564,7 @@ function CalendarDayButton({
|
|
|
1497
1564
|
React12.useEffect(() => {
|
|
1498
1565
|
if (modifiers.focused) ref.current?.focus();
|
|
1499
1566
|
}, [modifiers.focused]);
|
|
1500
|
-
return /* @__PURE__ */
|
|
1567
|
+
return /* @__PURE__ */ jsx34(
|
|
1501
1568
|
Button,
|
|
1502
1569
|
{
|
|
1503
1570
|
ref,
|
|
@@ -1520,16 +1587,16 @@ function CalendarDayButton({
|
|
|
1520
1587
|
|
|
1521
1588
|
// src/components/ui/popover.tsx
|
|
1522
1589
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
1523
|
-
import { jsx as
|
|
1590
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
1524
1591
|
function Popover({
|
|
1525
1592
|
...props
|
|
1526
1593
|
}) {
|
|
1527
|
-
return /* @__PURE__ */
|
|
1594
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
1528
1595
|
}
|
|
1529
1596
|
function PopoverTrigger({
|
|
1530
1597
|
...props
|
|
1531
1598
|
}) {
|
|
1532
|
-
return /* @__PURE__ */
|
|
1599
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
1533
1600
|
}
|
|
1534
1601
|
function PopoverContent({
|
|
1535
1602
|
className,
|
|
@@ -1537,7 +1604,7 @@ function PopoverContent({
|
|
|
1537
1604
|
sideOffset = 4,
|
|
1538
1605
|
...props
|
|
1539
1606
|
}) {
|
|
1540
|
-
return /* @__PURE__ */
|
|
1607
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
|
|
1541
1608
|
PopoverPrimitive.Content,
|
|
1542
1609
|
{
|
|
1543
1610
|
"data-slot": "popover-content",
|
|
@@ -1553,14 +1620,14 @@ function PopoverContent({
|
|
|
1553
1620
|
}
|
|
1554
1621
|
|
|
1555
1622
|
// src/components/Inputs/DateRange/DateRange.tsx
|
|
1556
|
-
import { Fragment as Fragment11, jsx as
|
|
1623
|
+
import { Fragment as Fragment11, jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1557
1624
|
var DateRange = ({ className, style }) => {
|
|
1558
1625
|
const [date, setDate] = React13.useState({
|
|
1559
1626
|
from: /* @__PURE__ */ new Date(),
|
|
1560
1627
|
to: addDays(/* @__PURE__ */ new Date(), 7)
|
|
1561
1628
|
});
|
|
1562
|
-
return /* @__PURE__ */
|
|
1563
|
-
/* @__PURE__ */
|
|
1629
|
+
return /* @__PURE__ */ jsx36("div", { className, style, children: /* @__PURE__ */ jsxs19(Popover, { children: [
|
|
1630
|
+
/* @__PURE__ */ jsx36(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
1564
1631
|
Button,
|
|
1565
1632
|
{
|
|
1566
1633
|
id: "date",
|
|
@@ -1569,15 +1636,15 @@ var DateRange = ({ className, style }) => {
|
|
|
1569
1636
|
"w-[300px] justify-start text-left font-normal text-[11px]",
|
|
1570
1637
|
!date && "text-muted-foreground"
|
|
1571
1638
|
),
|
|
1572
|
-
children: date?.from ? date.to ? /* @__PURE__ */
|
|
1639
|
+
children: date?.from ? date.to ? /* @__PURE__ */ jsxs19(Fragment11, { children: [
|
|
1573
1640
|
format(date.from, "LLL dd, y"),
|
|
1574
1641
|
" -",
|
|
1575
1642
|
" ",
|
|
1576
1643
|
format(date.to, "LLL dd, y")
|
|
1577
|
-
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */
|
|
1644
|
+
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx36("span", { children: "Pick a date range" })
|
|
1578
1645
|
}
|
|
1579
1646
|
) }),
|
|
1580
|
-
/* @__PURE__ */
|
|
1647
|
+
/* @__PURE__ */ jsx36(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx36(
|
|
1581
1648
|
Calendar2,
|
|
1582
1649
|
{
|
|
1583
1650
|
mode: "range",
|
|
@@ -1599,14 +1666,14 @@ import {
|
|
|
1599
1666
|
} from "@tanstack/react-table";
|
|
1600
1667
|
|
|
1601
1668
|
// src/components/ui/table.tsx
|
|
1602
|
-
import { jsx as
|
|
1669
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
1603
1670
|
function Table({ className, ...props }) {
|
|
1604
|
-
return /* @__PURE__ */
|
|
1671
|
+
return /* @__PURE__ */ jsx37(
|
|
1605
1672
|
"div",
|
|
1606
1673
|
{
|
|
1607
1674
|
"data-slot": "table-container",
|
|
1608
1675
|
className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
|
|
1609
|
-
children: /* @__PURE__ */
|
|
1676
|
+
children: /* @__PURE__ */ jsx37(
|
|
1610
1677
|
"table",
|
|
1611
1678
|
{
|
|
1612
1679
|
"data-slot": "table",
|
|
@@ -1618,7 +1685,7 @@ function Table({ className, ...props }) {
|
|
|
1618
1685
|
);
|
|
1619
1686
|
}
|
|
1620
1687
|
function TableHeader({ className, ...props }) {
|
|
1621
|
-
return /* @__PURE__ */
|
|
1688
|
+
return /* @__PURE__ */ jsx37(
|
|
1622
1689
|
"thead",
|
|
1623
1690
|
{
|
|
1624
1691
|
"data-slot": "table-header",
|
|
@@ -1631,7 +1698,7 @@ function TableHeader({ className, ...props }) {
|
|
|
1631
1698
|
);
|
|
1632
1699
|
}
|
|
1633
1700
|
function TableBody({ className, ...props }) {
|
|
1634
|
-
return /* @__PURE__ */
|
|
1701
|
+
return /* @__PURE__ */ jsx37(
|
|
1635
1702
|
"tbody",
|
|
1636
1703
|
{
|
|
1637
1704
|
"data-slot": "table-body",
|
|
@@ -1644,7 +1711,7 @@ function TableBody({ className, ...props }) {
|
|
|
1644
1711
|
);
|
|
1645
1712
|
}
|
|
1646
1713
|
function TableRow({ className, ...props }) {
|
|
1647
|
-
return /* @__PURE__ */
|
|
1714
|
+
return /* @__PURE__ */ jsx37(
|
|
1648
1715
|
"tr",
|
|
1649
1716
|
{
|
|
1650
1717
|
"data-slot": "table-row",
|
|
@@ -1657,7 +1724,7 @@ function TableRow({ className, ...props }) {
|
|
|
1657
1724
|
);
|
|
1658
1725
|
}
|
|
1659
1726
|
function TableHead({ className, ...props }) {
|
|
1660
|
-
return /* @__PURE__ */
|
|
1727
|
+
return /* @__PURE__ */ jsx37(
|
|
1661
1728
|
"th",
|
|
1662
1729
|
{
|
|
1663
1730
|
"data-slot": "table-head",
|
|
@@ -1670,7 +1737,7 @@ function TableHead({ className, ...props }) {
|
|
|
1670
1737
|
);
|
|
1671
1738
|
}
|
|
1672
1739
|
function TableCell({ className, ...props }) {
|
|
1673
|
-
return /* @__PURE__ */
|
|
1740
|
+
return /* @__PURE__ */ jsx37(
|
|
1674
1741
|
"td",
|
|
1675
1742
|
{
|
|
1676
1743
|
"data-slot": "table-cell",
|
|
@@ -1684,7 +1751,7 @@ function TableCell({ className, ...props }) {
|
|
|
1684
1751
|
}
|
|
1685
1752
|
|
|
1686
1753
|
// src/components/ui/data-table.tsx
|
|
1687
|
-
import { Fragment as Fragment12, jsx as
|
|
1754
|
+
import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1688
1755
|
function DataTable({
|
|
1689
1756
|
columns,
|
|
1690
1757
|
rowActions,
|
|
@@ -1709,14 +1776,14 @@ function DataTable({
|
|
|
1709
1776
|
onCellClick(rowData, columnId);
|
|
1710
1777
|
}
|
|
1711
1778
|
};
|
|
1712
|
-
return /* @__PURE__ */
|
|
1713
|
-
/* @__PURE__ */
|
|
1714
|
-
return /* @__PURE__ */
|
|
1779
|
+
return /* @__PURE__ */ jsx38("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs20(Table, { children: [
|
|
1780
|
+
/* @__PURE__ */ jsx38(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx38(TableRow, { children: headerGroup.headers.map((header) => {
|
|
1781
|
+
return /* @__PURE__ */ jsx38(TableHead, { children: header.isPlaceholder ? null : flexRender(
|
|
1715
1782
|
header.column.columnDef.header,
|
|
1716
1783
|
header.getContext()
|
|
1717
1784
|
) }, header.id);
|
|
1718
1785
|
}) }, headerGroup.id)) }),
|
|
1719
|
-
/* @__PURE__ */
|
|
1786
|
+
/* @__PURE__ */ jsx38(TableBody, { children: loading ? /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx38(Fragment12, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs20(
|
|
1720
1787
|
TableRow,
|
|
1721
1788
|
{
|
|
1722
1789
|
"data-state": row.getIsSelected() && "selected",
|
|
@@ -1726,7 +1793,7 @@ function DataTable({
|
|
|
1726
1793
|
const isCellClickable = cellClickEnabled(row.original, cell.column.id);
|
|
1727
1794
|
const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
|
|
1728
1795
|
const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
|
|
1729
|
-
return /* @__PURE__ */
|
|
1796
|
+
return /* @__PURE__ */ jsx38(
|
|
1730
1797
|
TableCell,
|
|
1731
1798
|
{
|
|
1732
1799
|
className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
|
|
@@ -1741,36 +1808,232 @@ function DataTable({
|
|
|
1741
1808
|
cell.id
|
|
1742
1809
|
);
|
|
1743
1810
|
}),
|
|
1744
|
-
rowActions.length > 0 && /* @__PURE__ */
|
|
1811
|
+
rowActions.length > 0 && /* @__PURE__ */ jsx38("div", { className: "absolute top-0 right-0 bg-white py-3 min-w-[100px] z-50 shadow-md flex items-center justify-center gap-3 p-2 opacity-0 group-hover:opacity-100 duration-300 h-full", children: rowActions.map((action, index) => /* @__PURE__ */ jsx38("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
|
|
1745
1812
|
]
|
|
1746
1813
|
},
|
|
1747
1814
|
row.id
|
|
1748
|
-
)) : /* @__PURE__ */
|
|
1815
|
+
)) : /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
|
|
1749
1816
|
] }) });
|
|
1750
1817
|
}
|
|
1751
1818
|
|
|
1819
|
+
// src/components/ui/pagination.tsx
|
|
1820
|
+
import { jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1821
|
+
function Pagination({ className, ...props }) {
|
|
1822
|
+
return /* @__PURE__ */ jsx39(
|
|
1823
|
+
"nav",
|
|
1824
|
+
{
|
|
1825
|
+
role: "navigation",
|
|
1826
|
+
"aria-label": "pagination",
|
|
1827
|
+
"data-slot": "pagination",
|
|
1828
|
+
className: cn("mx-auto flex w-full justify-center", className),
|
|
1829
|
+
...props
|
|
1830
|
+
}
|
|
1831
|
+
);
|
|
1832
|
+
}
|
|
1833
|
+
function PaginationContent({
|
|
1834
|
+
className,
|
|
1835
|
+
...props
|
|
1836
|
+
}) {
|
|
1837
|
+
return /* @__PURE__ */ jsx39(
|
|
1838
|
+
"ul",
|
|
1839
|
+
{
|
|
1840
|
+
"data-slot": "pagination-content",
|
|
1841
|
+
className: cn("flex flex-row items-center gap-1", className),
|
|
1842
|
+
...props
|
|
1843
|
+
}
|
|
1844
|
+
);
|
|
1845
|
+
}
|
|
1846
|
+
function PaginationItem({ ...props }) {
|
|
1847
|
+
return /* @__PURE__ */ jsx39("li", { "data-slot": "pagination-item", ...props });
|
|
1848
|
+
}
|
|
1849
|
+
function PaginationLink({
|
|
1850
|
+
className,
|
|
1851
|
+
isActive,
|
|
1852
|
+
size = "icon",
|
|
1853
|
+
...props
|
|
1854
|
+
}) {
|
|
1855
|
+
return /* @__PURE__ */ jsx39(
|
|
1856
|
+
"a",
|
|
1857
|
+
{
|
|
1858
|
+
"aria-current": isActive ? "page" : void 0,
|
|
1859
|
+
"data-slot": "pagination-link",
|
|
1860
|
+
"data-active": isActive,
|
|
1861
|
+
className: cn(
|
|
1862
|
+
buttonVariants({
|
|
1863
|
+
variant: isActive ? "outline" : "ghost",
|
|
1864
|
+
size
|
|
1865
|
+
}),
|
|
1866
|
+
className
|
|
1867
|
+
),
|
|
1868
|
+
...props
|
|
1869
|
+
}
|
|
1870
|
+
);
|
|
1871
|
+
}
|
|
1872
|
+
function PaginationPrevious({
|
|
1873
|
+
className,
|
|
1874
|
+
...props
|
|
1875
|
+
}) {
|
|
1876
|
+
return /* @__PURE__ */ jsxs21(
|
|
1877
|
+
PaginationLink,
|
|
1878
|
+
{
|
|
1879
|
+
"aria-label": "Go to previous page",
|
|
1880
|
+
size: "default",
|
|
1881
|
+
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1882
|
+
...props,
|
|
1883
|
+
children: [
|
|
1884
|
+
/* @__PURE__ */ jsx39(ChevronLeft, {}),
|
|
1885
|
+
/* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Previous" })
|
|
1886
|
+
]
|
|
1887
|
+
}
|
|
1888
|
+
);
|
|
1889
|
+
}
|
|
1890
|
+
function PaginationNext({
|
|
1891
|
+
className,
|
|
1892
|
+
...props
|
|
1893
|
+
}) {
|
|
1894
|
+
return /* @__PURE__ */ jsxs21(
|
|
1895
|
+
PaginationLink,
|
|
1896
|
+
{
|
|
1897
|
+
"aria-label": "Go to next page",
|
|
1898
|
+
size: "default",
|
|
1899
|
+
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1900
|
+
...props,
|
|
1901
|
+
children: [
|
|
1902
|
+
/* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Next" }),
|
|
1903
|
+
/* @__PURE__ */ jsx39(ChevronRight, {})
|
|
1904
|
+
]
|
|
1905
|
+
}
|
|
1906
|
+
);
|
|
1907
|
+
}
|
|
1908
|
+
function PaginationEllipsis({
|
|
1909
|
+
className,
|
|
1910
|
+
...props
|
|
1911
|
+
}) {
|
|
1912
|
+
return /* @__PURE__ */ jsxs21(
|
|
1913
|
+
"span",
|
|
1914
|
+
{
|
|
1915
|
+
"aria-hidden": true,
|
|
1916
|
+
"data-slot": "pagination-ellipsis",
|
|
1917
|
+
className: cn("flex size-9 items-center justify-center", className),
|
|
1918
|
+
...props,
|
|
1919
|
+
children: [
|
|
1920
|
+
/* @__PURE__ */ jsx39(Ellipsis, { className: "size-4" }),
|
|
1921
|
+
/* @__PURE__ */ jsx39("span", { className: "sr-only", children: "More pages" })
|
|
1922
|
+
]
|
|
1923
|
+
}
|
|
1924
|
+
);
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
// src/components/DataDisplay/Pagination/Pagination.tsx
|
|
1928
|
+
import { jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1929
|
+
var CustomPagination = ({
|
|
1930
|
+
totalPages,
|
|
1931
|
+
currentPage,
|
|
1932
|
+
onPageChange,
|
|
1933
|
+
maxVisiblePages = 5
|
|
1934
|
+
}) => {
|
|
1935
|
+
const getPageNumbers = () => {
|
|
1936
|
+
const pages = [];
|
|
1937
|
+
if (totalPages <= maxVisiblePages) {
|
|
1938
|
+
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
1939
|
+
}
|
|
1940
|
+
const leftSiblingIndex = Math.max(currentPage - 1, 1);
|
|
1941
|
+
const rightSiblingIndex = Math.min(currentPage + 1, totalPages);
|
|
1942
|
+
const shouldShowLeftDots = leftSiblingIndex > 2;
|
|
1943
|
+
const shouldShowRightDots = rightSiblingIndex < totalPages - 1;
|
|
1944
|
+
if (!shouldShowLeftDots && shouldShowRightDots) {
|
|
1945
|
+
const leftRange = Array.from({ length: 3 }, (_, i) => i + 1);
|
|
1946
|
+
return [...leftRange, "...", totalPages];
|
|
1947
|
+
}
|
|
1948
|
+
if (shouldShowLeftDots && !shouldShowRightDots) {
|
|
1949
|
+
const rightRange = Array.from(
|
|
1950
|
+
{ length: 3 },
|
|
1951
|
+
(_, i) => totalPages - 2 + i
|
|
1952
|
+
);
|
|
1953
|
+
return [1, "...", ...rightRange];
|
|
1954
|
+
}
|
|
1955
|
+
if (shouldShowLeftDots && shouldShowRightDots) {
|
|
1956
|
+
const middleRange = Array.from(
|
|
1957
|
+
{ length: 3 },
|
|
1958
|
+
(_, i) => leftSiblingIndex + i
|
|
1959
|
+
);
|
|
1960
|
+
return [1, "...", ...middleRange, "...", totalPages];
|
|
1961
|
+
}
|
|
1962
|
+
return pages;
|
|
1963
|
+
};
|
|
1964
|
+
const handlePageChange = (page) => {
|
|
1965
|
+
if (page >= 1 && page <= totalPages && page !== currentPage) {
|
|
1966
|
+
onPageChange(page);
|
|
1967
|
+
}
|
|
1968
|
+
};
|
|
1969
|
+
const pageNumbers = getPageNumbers();
|
|
1970
|
+
return /* @__PURE__ */ jsx40(Pagination, { children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
|
|
1971
|
+
/* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
|
|
1972
|
+
PaginationPrevious,
|
|
1973
|
+
{
|
|
1974
|
+
onClick: () => handlePageChange(currentPage - 1),
|
|
1975
|
+
className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
|
|
1976
|
+
}
|
|
1977
|
+
) }),
|
|
1978
|
+
pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx40(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx40(PaginationEllipsis, {}) : /* @__PURE__ */ jsx40(
|
|
1979
|
+
PaginationLink,
|
|
1980
|
+
{
|
|
1981
|
+
onClick: () => handlePageChange(pageNumber),
|
|
1982
|
+
isActive: currentPage === pageNumber,
|
|
1983
|
+
className: "cursor-pointer",
|
|
1984
|
+
children: pageNumber
|
|
1985
|
+
}
|
|
1986
|
+
) }, index)),
|
|
1987
|
+
/* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
|
|
1988
|
+
PaginationNext,
|
|
1989
|
+
{
|
|
1990
|
+
onClick: () => handlePageChange(currentPage + 1),
|
|
1991
|
+
className: currentPage === totalPages ? "pointer-events-none opacity-50" : "cursor-pointer"
|
|
1992
|
+
}
|
|
1993
|
+
) })
|
|
1994
|
+
] }) });
|
|
1995
|
+
};
|
|
1996
|
+
var Pagination_default = CustomPagination;
|
|
1997
|
+
|
|
1752
1998
|
// src/components/DataDisplay/Table/Table.tsx
|
|
1753
|
-
import {
|
|
1754
|
-
|
|
1999
|
+
import { useState as useState11 } from "react";
|
|
2000
|
+
import { jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2001
|
+
var Table2 = ({ columns, data, rowActions, className, style, pagination = false, itemsPerPage = 10, onPageChange }) => {
|
|
1755
2002
|
const rawColumns = Array.isArray(columns) ? columns : [];
|
|
1756
2003
|
const rawData = Array.isArray(data) ? data : [];
|
|
1757
2004
|
const rawRowActions = Array.isArray(rowActions) ? rowActions : [];
|
|
1758
|
-
|
|
2005
|
+
const [currentPage, setCurrentPage] = useState11(1);
|
|
2006
|
+
const enablePagination = pagination && rawData.length > itemsPerPage;
|
|
2007
|
+
const handlePageChange = (page) => {
|
|
2008
|
+
setCurrentPage(page);
|
|
2009
|
+
onPageChange?.(page);
|
|
2010
|
+
};
|
|
2011
|
+
return /* @__PURE__ */ jsxs23("div", { className: `${className} space-y-3`, style, children: [
|
|
2012
|
+
/* @__PURE__ */ jsx41(DataTable, { columns: rawColumns, data: rawData, rowActions: rawRowActions }),
|
|
2013
|
+
enablePagination && /* @__PURE__ */ jsx41(
|
|
2014
|
+
Pagination_default,
|
|
2015
|
+
{
|
|
2016
|
+
totalPages: Math.ceil(rawData.length / itemsPerPage),
|
|
2017
|
+
currentPage,
|
|
2018
|
+
onPageChange: handlePageChange
|
|
2019
|
+
}
|
|
2020
|
+
)
|
|
2021
|
+
] });
|
|
1759
2022
|
};
|
|
1760
2023
|
var Table_default = Table2;
|
|
1761
2024
|
|
|
1762
2025
|
// src/components/ui/dropdown-menu.tsx
|
|
1763
2026
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1764
|
-
import { jsx as
|
|
2027
|
+
import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1765
2028
|
function DropdownMenu({
|
|
1766
2029
|
...props
|
|
1767
2030
|
}) {
|
|
1768
|
-
return /* @__PURE__ */
|
|
2031
|
+
return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
1769
2032
|
}
|
|
1770
2033
|
function DropdownMenuTrigger({
|
|
1771
2034
|
...props
|
|
1772
2035
|
}) {
|
|
1773
|
-
return /* @__PURE__ */
|
|
2036
|
+
return /* @__PURE__ */ jsx42(
|
|
1774
2037
|
DropdownMenuPrimitive.Trigger,
|
|
1775
2038
|
{
|
|
1776
2039
|
"data-slot": "dropdown-menu-trigger",
|
|
@@ -1783,7 +2046,7 @@ function DropdownMenuContent({
|
|
|
1783
2046
|
sideOffset = 4,
|
|
1784
2047
|
...props
|
|
1785
2048
|
}) {
|
|
1786
|
-
return /* @__PURE__ */
|
|
2049
|
+
return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx42(
|
|
1787
2050
|
DropdownMenuPrimitive.Content,
|
|
1788
2051
|
{
|
|
1789
2052
|
"data-slot": "dropdown-menu-content",
|
|
@@ -1802,7 +2065,7 @@ function DropdownMenuItem({
|
|
|
1802
2065
|
variant = "default",
|
|
1803
2066
|
...props
|
|
1804
2067
|
}) {
|
|
1805
|
-
return /* @__PURE__ */
|
|
2068
|
+
return /* @__PURE__ */ jsx42(
|
|
1806
2069
|
DropdownMenuPrimitive.Item,
|
|
1807
2070
|
{
|
|
1808
2071
|
"data-slot": "dropdown-menu-item",
|
|
@@ -1816,9 +2079,40 @@ function DropdownMenuItem({
|
|
|
1816
2079
|
}
|
|
1817
2080
|
);
|
|
1818
2081
|
}
|
|
2082
|
+
function DropdownMenuLabel({
|
|
2083
|
+
className,
|
|
2084
|
+
inset,
|
|
2085
|
+
...props
|
|
2086
|
+
}) {
|
|
2087
|
+
return /* @__PURE__ */ jsx42(
|
|
2088
|
+
DropdownMenuPrimitive.Label,
|
|
2089
|
+
{
|
|
2090
|
+
"data-slot": "dropdown-menu-label",
|
|
2091
|
+
"data-inset": inset,
|
|
2092
|
+
className: cn(
|
|
2093
|
+
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
2094
|
+
className
|
|
2095
|
+
),
|
|
2096
|
+
...props
|
|
2097
|
+
}
|
|
2098
|
+
);
|
|
2099
|
+
}
|
|
2100
|
+
function DropdownMenuSeparator({
|
|
2101
|
+
className,
|
|
2102
|
+
...props
|
|
2103
|
+
}) {
|
|
2104
|
+
return /* @__PURE__ */ jsx42(
|
|
2105
|
+
DropdownMenuPrimitive.Separator,
|
|
2106
|
+
{
|
|
2107
|
+
"data-slot": "dropdown-menu-separator",
|
|
2108
|
+
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
2109
|
+
...props
|
|
2110
|
+
}
|
|
2111
|
+
);
|
|
2112
|
+
}
|
|
1819
2113
|
|
|
1820
2114
|
// src/components/Navigation/Tabs/Tabs.tsx
|
|
1821
|
-
import { jsx as
|
|
2115
|
+
import { jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1822
2116
|
var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
1823
2117
|
const rawTabs = Array.isArray(tabs) ? tabs : [];
|
|
1824
2118
|
const baseClasses = "text-[12px] text-[#E9E9E9] p-2 text-center rounded-md transition-colors border-none outline-none focus:outline-none focus:ring-0 focus:ring-offset-0 cursor-pointer select-none ";
|
|
@@ -1828,7 +2122,7 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1828
2122
|
if (!path) return false;
|
|
1829
2123
|
return pathname === path || path !== "/" && pathname?.startsWith(path);
|
|
1830
2124
|
};
|
|
1831
|
-
return /* @__PURE__ */
|
|
2125
|
+
return /* @__PURE__ */ jsx43("div", { className, style, children: rawTabs.map((tab, index) => {
|
|
1832
2126
|
const finalClasses = [
|
|
1833
2127
|
baseClasses,
|
|
1834
2128
|
isActive(tab.href) ? activeClasses : hoverClasses,
|
|
@@ -1836,29 +2130,29 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1836
2130
|
].join(" ");
|
|
1837
2131
|
const hasDropdown = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
|
|
1838
2132
|
if (hasDropdown) {
|
|
1839
|
-
return /* @__PURE__ */
|
|
1840
|
-
/* @__PURE__ */
|
|
2133
|
+
return /* @__PURE__ */ jsxs25(DropdownMenu, { children: [
|
|
2134
|
+
/* @__PURE__ */ jsxs25(
|
|
1841
2135
|
DropdownMenuTrigger,
|
|
1842
2136
|
{
|
|
1843
2137
|
className: `${finalClasses} inline-flex items-center gap-1`,
|
|
1844
2138
|
children: [
|
|
1845
2139
|
tab.header,
|
|
1846
|
-
/* @__PURE__ */
|
|
2140
|
+
/* @__PURE__ */ jsx43(ChevronDown, { className: "h-4 w-4 opacity-80" })
|
|
1847
2141
|
]
|
|
1848
2142
|
}
|
|
1849
2143
|
),
|
|
1850
|
-
/* @__PURE__ */
|
|
2144
|
+
/* @__PURE__ */ jsx43(
|
|
1851
2145
|
DropdownMenuContent,
|
|
1852
2146
|
{
|
|
1853
2147
|
align: "start",
|
|
1854
2148
|
sideOffset: 6,
|
|
1855
2149
|
className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
|
|
1856
|
-
children: tab.children.map((item) => /* @__PURE__ */
|
|
2150
|
+
children: tab.children.map((item) => /* @__PURE__ */ jsx43(
|
|
1857
2151
|
DropdownMenuItem,
|
|
1858
2152
|
{
|
|
1859
2153
|
asChild: true,
|
|
1860
2154
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
|
|
1861
|
-
children: LinkComponent ? /* @__PURE__ */
|
|
2155
|
+
children: LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
|
|
1862
2156
|
},
|
|
1863
2157
|
item.id
|
|
1864
2158
|
))
|
|
@@ -1866,19 +2160,19 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1866
2160
|
)
|
|
1867
2161
|
] }, index);
|
|
1868
2162
|
}
|
|
1869
|
-
return tab.url && LinkComponent ? /* @__PURE__ */
|
|
2163
|
+
return tab.url && LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx43("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
|
|
1870
2164
|
}) });
|
|
1871
2165
|
};
|
|
1872
2166
|
var Tabs_default = Tabs;
|
|
1873
2167
|
|
|
1874
2168
|
// src/components/Navigation/Stages/Stages.tsx
|
|
1875
2169
|
import React14 from "react";
|
|
1876
|
-
import { jsx as
|
|
2170
|
+
import { jsx as jsx44, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1877
2171
|
var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
|
|
1878
|
-
return /* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
1880
|
-
/* @__PURE__ */
|
|
1881
|
-
/* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ jsx44("div", { className, style, children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
|
|
2173
|
+
/* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx44("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx44("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
|
|
2174
|
+
/* @__PURE__ */ jsx44("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs26(React14.Fragment, { children: [
|
|
2175
|
+
/* @__PURE__ */ jsx44(
|
|
1882
2176
|
"button",
|
|
1883
2177
|
{
|
|
1884
2178
|
className: `
|
|
@@ -1886,26 +2180,26 @@ var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
|
|
|
1886
2180
|
children: stage.header
|
|
1887
2181
|
}
|
|
1888
2182
|
),
|
|
1889
|
-
index < stages.length - 1 && /* @__PURE__ */
|
|
2183
|
+
index < stages.length - 1 && /* @__PURE__ */ jsx44("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
|
|
1890
2184
|
] }, stage.id)) }),
|
|
1891
|
-
isShowBtn && /* @__PURE__ */
|
|
2185
|
+
isShowBtn && /* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
|
|
1892
2186
|
] }) });
|
|
1893
2187
|
};
|
|
1894
2188
|
var Stages_default = StagesComponent;
|
|
1895
2189
|
|
|
1896
2190
|
// src/components/Navigation/Spacer/Spacer.tsx
|
|
1897
|
-
import { jsx as
|
|
2191
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
1898
2192
|
var Spacer = ({ className, style }) => {
|
|
1899
|
-
return /* @__PURE__ */
|
|
2193
|
+
return /* @__PURE__ */ jsx45("div", { className: `${className}`, style });
|
|
1900
2194
|
};
|
|
1901
2195
|
var Spacer_default = Spacer;
|
|
1902
2196
|
|
|
1903
2197
|
// src/components/Navigation/Profile/Profile.tsx
|
|
1904
|
-
import { jsx as
|
|
2198
|
+
import { jsx as jsx46, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1905
2199
|
var Profile = ({ profileType, showName, userName, className, style }) => {
|
|
1906
|
-
return /* @__PURE__ */
|
|
1907
|
-
showName && /* @__PURE__ */
|
|
1908
|
-
profileType === "avatar" ? /* @__PURE__ */
|
|
2200
|
+
return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
|
|
2201
|
+
showName && /* @__PURE__ */ jsx46("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
|
|
2202
|
+
profileType === "avatar" ? /* @__PURE__ */ jsx46(
|
|
1909
2203
|
"img",
|
|
1910
2204
|
{
|
|
1911
2205
|
src: "https://builder.development.algorithmshift.ai/images/toolset/profile.svg",
|
|
@@ -1913,16 +2207,16 @@ var Profile = ({ profileType, showName, userName, className, style }) => {
|
|
|
1913
2207
|
width: 24,
|
|
1914
2208
|
height: 24
|
|
1915
2209
|
}
|
|
1916
|
-
) : /* @__PURE__ */
|
|
2210
|
+
) : /* @__PURE__ */ jsx46("div", { className: "w-6 h-6 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "A" })
|
|
1917
2211
|
] }) });
|
|
1918
2212
|
};
|
|
1919
2213
|
var Profile_default = Profile;
|
|
1920
2214
|
|
|
1921
2215
|
// src/components/Navigation/Notification/Notification.tsx
|
|
1922
|
-
import { jsx as
|
|
2216
|
+
import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1923
2217
|
var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhenZero }) => {
|
|
1924
|
-
return /* @__PURE__ */
|
|
1925
|
-
/* @__PURE__ */
|
|
2218
|
+
return /* @__PURE__ */ jsx47("div", { className, style, children: /* @__PURE__ */ jsxs28("div", { className: "w-[34px] h-[34px] bg-[#E9E9E9] rounded-md text-center flex items-center justify-center relative", children: [
|
|
2219
|
+
/* @__PURE__ */ jsx47(
|
|
1926
2220
|
"img",
|
|
1927
2221
|
{
|
|
1928
2222
|
src: "https://builder.development.algorithmshift.ai/images/toolset/notification.svg",
|
|
@@ -1931,7 +2225,7 @@ var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhen
|
|
|
1931
2225
|
height: 18
|
|
1932
2226
|
}
|
|
1933
2227
|
),
|
|
1934
|
-
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */
|
|
2228
|
+
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx47("span", { className: "text-[10px] text-[#fff] bg-[#FF4A4A] w-[20px] h-[20px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]", children: badgeCount }) : /* @__PURE__ */ jsx47("span", { className: "bg-[#FF4A4A] w-[10px] h-[10px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]" })
|
|
1935
2229
|
] }) });
|
|
1936
2230
|
};
|
|
1937
2231
|
var Notification_default = Notification;
|
|
@@ -1940,7 +2234,7 @@ var Notification_default = Notification;
|
|
|
1940
2234
|
var logo_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDgAAAGPCAYAAAC552DlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3d6X+V5Z0/8G8WEhIgSBKWkLCECFIJAoILdRRU3NsBtXVrq+PymmkfzuN5MP0L5pmvdtpqX3aqti5V61jrVm2p24AKggqKRHYQCEsgQNbfA176U8tyQu6Tkwve74fknO/1PbmuHM79Ofd93UU//elPewMAAAAgYcWFbgAAAACgvwQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIE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a6nROyts4cI0aMiP/8z/8sdBvJqqioiFtuuSUmT55c6FaOq7q6Ou6666546KGHYs+ePYVu55jKy8vj+9///pe3ki408wpw1OCInIHT3syZM+P2229P4gD0qy644IK47bbbBuRD7JIlSwZNuPGF0tLSuPHGGwfdt4FfZW1BbkaMGBH33HPPoD4I/sLIkSPjRz/60aDbtPML119/fYwcObLQbUSEeQX4KgEHkHdz5syJG2+8MW93Acm3adOmxR133JHX/hcuXBgzZ87MW/3+KC8vj+uvv77QbRyTtQW5qaqqinvvvXdQh5XfNGrUqPje9743YHdAytWkSZPivPPOK3QbEWFeAb5JwAHk1bnnnhvf+c53kv8g09jYGDfffHNeXkdjY2NcdtllmdfN0mDc08LagtxUVFTEnXfeOWjOOOiLxsbGuOKKKwrdxpdKSkriuuuuK3QbEWFeAY5FwAHkTV1dXSxevHjQbMDWX9/61rfiqquuyrRmZWVlLFmyxMFtH1lbkJvi4uK49dZbo6amptCtnLJvf/vbUVdXV+g2IuLo2Qdjx44tdBvmFeA4To9PhsCgU15eHt/73veirKys0K1kav78+XHuuedmVu/qq6+OqqqqzOqdCawtyN1VV10VkyZNKnQb/VJcXBzf/e53BcFfYV4Bjs3OZkBeXHvttVFdXV3oNvLihhtuiM8++yza29v7VaehoWHQXMedEmsLcjNp0qS46KKLMq3Z29sbGzZsiE8//TS2bdsWu3btis7OzoiIGD58eIwfPz6amppi2rRpmYaQdXV1MWfOnHj33Xczq5kq8wpwfAIOIHONjY0xe/bsQreRN5WVlXHdddfFk08+2a8611xzjW+u+sjagtyUlJRk/u346tWr49VXX43W1tZj/ry9vT0+//zzWLFiRVRWVsaCBQti3rx5mV1K9k//9E/x3nvvndG3VjavACfmEhUgU0VFRXHDDTcUuo28a25ujqamplN+fmNjYzQ0NGTY0enP2oLcXXrppZntz7B///546KGH4sknnzzuQfA3tbe3x/PPPx+//e1v4/Dhw5n0MWrUqJg1a1YmtVJlXgFOzBkcQKbmzJmT103PDh06FOvXr4/NmzfHjh07Ys+ePdHR0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ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5/w8RG1j/1Z36RAAAAABJRU5ErkJggg==";
|
|
1941
2235
|
|
|
1942
2236
|
// src/components/Navigation/Logo/Logo.tsx
|
|
1943
|
-
import { jsx as
|
|
2237
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1944
2238
|
var Logo = ({
|
|
1945
2239
|
className,
|
|
1946
2240
|
style,
|
|
@@ -1948,7 +2242,7 @@ var Logo = ({
|
|
|
1948
2242
|
altText = "Preview"
|
|
1949
2243
|
}) => {
|
|
1950
2244
|
if (!imageUrl) {
|
|
1951
|
-
return /* @__PURE__ */
|
|
2245
|
+
return /* @__PURE__ */ jsx48(
|
|
1952
2246
|
"div",
|
|
1953
2247
|
{
|
|
1954
2248
|
className: cn(
|
|
@@ -1956,30 +2250,370 @@ var Logo = ({
|
|
|
1956
2250
|
"p-0"
|
|
1957
2251
|
),
|
|
1958
2252
|
style,
|
|
1959
|
-
children: /* @__PURE__ */
|
|
2253
|
+
children: /* @__PURE__ */ jsx48("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
|
|
1960
2254
|
}
|
|
1961
2255
|
);
|
|
1962
2256
|
}
|
|
1963
|
-
return /* @__PURE__ */
|
|
2257
|
+
return /* @__PURE__ */ jsx48("img", { src: imageUrl, alt: altText, className, style });
|
|
1964
2258
|
};
|
|
1965
2259
|
var Logo_default = Logo;
|
|
2260
|
+
|
|
2261
|
+
// src/components/ui/avatar.tsx
|
|
2262
|
+
import * as React15 from "react";
|
|
2263
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
2264
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
2265
|
+
var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2266
|
+
AvatarPrimitive.Root,
|
|
2267
|
+
{
|
|
2268
|
+
ref,
|
|
2269
|
+
className: cn(
|
|
2270
|
+
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
2271
|
+
className
|
|
2272
|
+
),
|
|
2273
|
+
...props
|
|
2274
|
+
}
|
|
2275
|
+
));
|
|
2276
|
+
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
2277
|
+
var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2278
|
+
AvatarPrimitive.Image,
|
|
2279
|
+
{
|
|
2280
|
+
ref,
|
|
2281
|
+
className: cn("aspect-square h-full w-full", className),
|
|
2282
|
+
...props
|
|
2283
|
+
}
|
|
2284
|
+
));
|
|
2285
|
+
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
2286
|
+
var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2287
|
+
AvatarPrimitive.Fallback,
|
|
2288
|
+
{
|
|
2289
|
+
ref,
|
|
2290
|
+
className: cn(
|
|
2291
|
+
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
2292
|
+
className
|
|
2293
|
+
),
|
|
2294
|
+
...props
|
|
2295
|
+
}
|
|
2296
|
+
));
|
|
2297
|
+
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
2298
|
+
|
|
2299
|
+
// src/components/Navigation/Navbar/Navbar.tsx
|
|
2300
|
+
import { Fragment as Fragment13, jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2301
|
+
function Navbar({
|
|
2302
|
+
style,
|
|
2303
|
+
badgeType,
|
|
2304
|
+
badgeCount = 0,
|
|
2305
|
+
hideBadgeWhenZero,
|
|
2306
|
+
profileType,
|
|
2307
|
+
showName,
|
|
2308
|
+
imageUrl,
|
|
2309
|
+
altText = "Logo",
|
|
2310
|
+
canvasMode = "desktop",
|
|
2311
|
+
LinkComponent,
|
|
2312
|
+
ImageComponent
|
|
2313
|
+
}) {
|
|
2314
|
+
const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
|
|
2315
|
+
return /* @__PURE__ */ jsx50("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs29("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
|
|
2316
|
+
LinkComponent && ImageComponent ? /* @__PURE__ */ jsx50(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx50(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }),
|
|
2317
|
+
/* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-3", children: [
|
|
2318
|
+
!isMobileView ? /* @__PURE__ */ jsx50("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs29("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
|
|
2319
|
+
/* @__PURE__ */ jsx50(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
|
|
2320
|
+
/* @__PURE__ */ jsx50(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
|
|
2321
|
+
] }) }) : /* @__PURE__ */ jsx50(
|
|
2322
|
+
Button,
|
|
2323
|
+
{
|
|
2324
|
+
variant: "ghost",
|
|
2325
|
+
size: "icon",
|
|
2326
|
+
className: "border border-gray-400",
|
|
2327
|
+
children: /* @__PURE__ */ jsx50(Search, { className: "h-5 w-5 text-gray-400" })
|
|
2328
|
+
}
|
|
2329
|
+
),
|
|
2330
|
+
/* @__PURE__ */ jsxs29("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
|
|
2331
|
+
/* @__PURE__ */ jsx50(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx50(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
|
|
2332
|
+
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx50("span", { className: "absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-red-500 text-[10px] text-white leading-8", children: badgeCount }) : /* @__PURE__ */ jsx50("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
|
|
2333
|
+
] }),
|
|
2334
|
+
/* @__PURE__ */ jsxs29(DropdownMenu, { children: [
|
|
2335
|
+
/* @__PURE__ */ jsx50(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-2", children: [
|
|
2336
|
+
!isMobileView && showName && /* @__PURE__ */ jsx50("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
|
|
2337
|
+
!isMobileView ? /* @__PURE__ */ jsxs29(Fragment13, { children: [
|
|
2338
|
+
/* @__PURE__ */ jsx50(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx50(
|
|
2339
|
+
AvatarImage,
|
|
2340
|
+
{
|
|
2341
|
+
src: "/images/appbuilder/toolset/profile.svg",
|
|
2342
|
+
alt: "Akbar Sheriff"
|
|
2343
|
+
}
|
|
2344
|
+
) : /* @__PURE__ */ jsx50("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "AS" }) }),
|
|
2345
|
+
/* @__PURE__ */ jsx50(
|
|
2346
|
+
Button,
|
|
2347
|
+
{
|
|
2348
|
+
variant: "ghost",
|
|
2349
|
+
size: "icon",
|
|
2350
|
+
className: "text-gray-900 md:hidden",
|
|
2351
|
+
children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
|
|
2352
|
+
}
|
|
2353
|
+
)
|
|
2354
|
+
] }) : /* @__PURE__ */ jsx50(
|
|
2355
|
+
Button,
|
|
2356
|
+
{
|
|
2357
|
+
variant: "ghost",
|
|
2358
|
+
size: "icon",
|
|
2359
|
+
className: "text-gray-900",
|
|
2360
|
+
children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
|
|
2361
|
+
}
|
|
2362
|
+
)
|
|
2363
|
+
] }) }),
|
|
2364
|
+
/* @__PURE__ */ jsxs29(DropdownMenuContent, { align: "end", className: "bg-white", children: [
|
|
2365
|
+
/* @__PURE__ */ jsx50(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
|
|
2366
|
+
/* @__PURE__ */ jsx50(DropdownMenuSeparator, {}),
|
|
2367
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Profile" }),
|
|
2368
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Settings" }),
|
|
2369
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Logout" })
|
|
2370
|
+
] })
|
|
2371
|
+
] })
|
|
2372
|
+
] })
|
|
2373
|
+
] }) });
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
// src/components/Chart/BarChart.tsx
|
|
2377
|
+
import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
|
|
2378
|
+
import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2379
|
+
var ChartComponent = ({ className, style, ...props }) => {
|
|
2380
|
+
const data = Array.isArray(props?.data) ? props.data : [];
|
|
2381
|
+
const chartType = props.chartType || "bar";
|
|
2382
|
+
const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
|
|
2383
|
+
return /* @__PURE__ */ jsx51("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx51(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs30(BarChart, { data, children: [
|
|
2384
|
+
/* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
2385
|
+
/* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
|
|
2386
|
+
/* @__PURE__ */ jsx51(YAxis, {}),
|
|
2387
|
+
/* @__PURE__ */ jsx51(Tooltip, {}),
|
|
2388
|
+
/* @__PURE__ */ jsx51(Legend, { verticalAlign: legendsPosition, align: "center" }),
|
|
2389
|
+
/* @__PURE__ */ jsx51(Bar, { dataKey: "value", fill: "#00695C" })
|
|
2390
|
+
] }) : /* @__PURE__ */ jsxs30(AreaChart, { data, children: [
|
|
2391
|
+
/* @__PURE__ */ jsx51("defs", { children: /* @__PURE__ */ jsxs30("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
2392
|
+
/* @__PURE__ */ jsx51("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
|
|
2393
|
+
/* @__PURE__ */ jsx51("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
|
|
2394
|
+
] }) }),
|
|
2395
|
+
/* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
2396
|
+
/* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
|
|
2397
|
+
/* @__PURE__ */ jsx51(YAxis, {}),
|
|
2398
|
+
/* @__PURE__ */ jsx51(Tooltip, {}),
|
|
2399
|
+
/* @__PURE__ */ jsx51(
|
|
2400
|
+
Area,
|
|
2401
|
+
{
|
|
2402
|
+
type: "monotone",
|
|
2403
|
+
dataKey: "value",
|
|
2404
|
+
stroke: "#00695C",
|
|
2405
|
+
fillOpacity: 1,
|
|
2406
|
+
fill: "url(#colorCount)"
|
|
2407
|
+
}
|
|
2408
|
+
)
|
|
2409
|
+
] }) }) });
|
|
2410
|
+
};
|
|
2411
|
+
var BarChart_default = ChartComponent;
|
|
2412
|
+
|
|
2413
|
+
// src/components/Chart/PieChart.tsx
|
|
2414
|
+
import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
|
|
2415
|
+
import { Fragment as Fragment14, jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2416
|
+
var DonutChart = ({ className, style, ...props }) => {
|
|
2417
|
+
const data = Array.isArray(props?.data) ? props.data : [];
|
|
2418
|
+
const total = data.reduce((sum, d) => sum + d.value, 0);
|
|
2419
|
+
const showPercentage = props.showPercentage ?? true;
|
|
2420
|
+
const showLegends = props.showLegends ?? true;
|
|
2421
|
+
const labelType = props.labelType || "inside";
|
|
2422
|
+
const canvasMode = props.canvasMode;
|
|
2423
|
+
const renderLabel = ({ value, x, y }) => {
|
|
2424
|
+
if (value == null) return null;
|
|
2425
|
+
const percentage = (Number(value) / total * 100).toFixed(0);
|
|
2426
|
+
return /* @__PURE__ */ jsxs31(
|
|
2427
|
+
"text",
|
|
2428
|
+
{
|
|
2429
|
+
x,
|
|
2430
|
+
y,
|
|
2431
|
+
textAnchor: "middle",
|
|
2432
|
+
dominantBaseline: "central",
|
|
2433
|
+
className: "text-[10px] font-semibold",
|
|
2434
|
+
fill: labelType === "inside" ? "#fff" : "#000",
|
|
2435
|
+
children: [
|
|
2436
|
+
value,
|
|
2437
|
+
"k ",
|
|
2438
|
+
showPercentage ? `(${percentage}%)` : ""
|
|
2439
|
+
]
|
|
2440
|
+
}
|
|
2441
|
+
);
|
|
2442
|
+
};
|
|
2443
|
+
const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
|
|
2444
|
+
const forceDesktop = canvasMode === "desktop";
|
|
2445
|
+
const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
|
|
2446
|
+
const renderLegends = () => {
|
|
2447
|
+
if (!showLegends) return null;
|
|
2448
|
+
return /* @__PURE__ */ jsx52(Fragment14, { children: data.map((d) => /* @__PURE__ */ jsxs31(
|
|
2449
|
+
"div",
|
|
2450
|
+
{
|
|
2451
|
+
className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
|
|
2452
|
+
children: [
|
|
2453
|
+
/* @__PURE__ */ jsx52(
|
|
2454
|
+
"span",
|
|
2455
|
+
{
|
|
2456
|
+
className: "inline-block w-[16px] h-[16px] rounded",
|
|
2457
|
+
style: { backgroundColor: d.color }
|
|
2458
|
+
}
|
|
2459
|
+
),
|
|
2460
|
+
/* @__PURE__ */ jsx52("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
d.name
|
|
2464
|
+
)) });
|
|
2465
|
+
};
|
|
2466
|
+
return /* @__PURE__ */ jsxs31(
|
|
2467
|
+
"div",
|
|
2468
|
+
{
|
|
2469
|
+
className: `relative flex items-center ${wrapperClass} ${className}`,
|
|
2470
|
+
style,
|
|
2471
|
+
children: [
|
|
2472
|
+
/* @__PURE__ */ jsxs31("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
|
|
2473
|
+
data.length > 0 && /* @__PURE__ */ jsx52(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs31(PieChart, { children: [
|
|
2474
|
+
/* @__PURE__ */ jsxs31(
|
|
2475
|
+
Pie,
|
|
2476
|
+
{
|
|
2477
|
+
data,
|
|
2478
|
+
cx: "50%",
|
|
2479
|
+
cy: "50%",
|
|
2480
|
+
innerRadius: 70,
|
|
2481
|
+
outerRadius: 120,
|
|
2482
|
+
dataKey: "value",
|
|
2483
|
+
labelLine: false,
|
|
2484
|
+
isAnimationActive: false,
|
|
2485
|
+
children: [
|
|
2486
|
+
data.map((entry, index) => /* @__PURE__ */ jsx52(Cell, { fill: entry.color }, `cell-${index}`)),
|
|
2487
|
+
/* @__PURE__ */ jsx52(
|
|
2488
|
+
LabelList,
|
|
2489
|
+
{
|
|
2490
|
+
dataKey: "value",
|
|
2491
|
+
position: labelType === "inside" ? "inside" : "outside",
|
|
2492
|
+
content: renderLabel
|
|
2493
|
+
}
|
|
2494
|
+
)
|
|
2495
|
+
]
|
|
2496
|
+
}
|
|
2497
|
+
),
|
|
2498
|
+
/* @__PURE__ */ jsx52(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
|
|
2499
|
+
] }) }),
|
|
2500
|
+
/* @__PURE__ */ jsxs31("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xl md:text-4xl font-bold text-[#000]", children: [
|
|
2501
|
+
total,
|
|
2502
|
+
"k"
|
|
2503
|
+
] })
|
|
2504
|
+
] }),
|
|
2505
|
+
/* @__PURE__ */ jsx52("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
|
|
2506
|
+
w-full md:w-auto`, children: renderLegends() })
|
|
2507
|
+
]
|
|
2508
|
+
}
|
|
2509
|
+
);
|
|
2510
|
+
};
|
|
2511
|
+
var PieChart_default = DonutChart;
|
|
2512
|
+
|
|
2513
|
+
// src/components/Blocks/EmailComposer.tsx
|
|
2514
|
+
import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2515
|
+
function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
|
|
2516
|
+
return /* @__PURE__ */ jsx53("div", { className, style, children: /* @__PURE__ */ jsxs32("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
|
|
2517
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2518
|
+
"input",
|
|
2519
|
+
{
|
|
2520
|
+
type: "email",
|
|
2521
|
+
placeholder: "From",
|
|
2522
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]",
|
|
2523
|
+
required: true
|
|
2524
|
+
}
|
|
2525
|
+
) }),
|
|
2526
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
|
|
2527
|
+
/* @__PURE__ */ jsx53(
|
|
2528
|
+
"input",
|
|
2529
|
+
{
|
|
2530
|
+
type: "email",
|
|
2531
|
+
value: to,
|
|
2532
|
+
onChange: (e) => setTo?.(e.target.value),
|
|
2533
|
+
placeholder: "To",
|
|
2534
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]",
|
|
2535
|
+
required: true
|
|
2536
|
+
}
|
|
2537
|
+
),
|
|
2538
|
+
!showCc && /* @__PURE__ */ jsx53(
|
|
2539
|
+
"button",
|
|
2540
|
+
{
|
|
2541
|
+
onClick: () => setShowCc?.(true),
|
|
2542
|
+
className: "px-3 py-1 border rounded-md text-sm hover:bg-gray-100 bg-[#E9E9E9] text-[#383838]",
|
|
2543
|
+
children: "Cc"
|
|
2544
|
+
}
|
|
2545
|
+
),
|
|
2546
|
+
!showBcc && /* @__PURE__ */ jsx53(
|
|
2547
|
+
"button",
|
|
2548
|
+
{
|
|
2549
|
+
onClick: () => setShowBcc?.(true),
|
|
2550
|
+
className: "px-3 py-1 border rounded-md text-sm hover:bg-gray-100 bg-[#E9E9E9] text-[#383838]",
|
|
2551
|
+
children: "Bcc"
|
|
2552
|
+
}
|
|
2553
|
+
)
|
|
2554
|
+
] }) }),
|
|
2555
|
+
showCc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2556
|
+
"input",
|
|
2557
|
+
{
|
|
2558
|
+
type: "text",
|
|
2559
|
+
value: cc,
|
|
2560
|
+
onChange: (e) => setCc?.(e.target.value),
|
|
2561
|
+
placeholder: "Cc",
|
|
2562
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2563
|
+
}
|
|
2564
|
+
) }),
|
|
2565
|
+
showBcc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2566
|
+
"input",
|
|
2567
|
+
{
|
|
2568
|
+
type: "text",
|
|
2569
|
+
value: bcc,
|
|
2570
|
+
onChange: (e) => setBcc?.(e.target.value),
|
|
2571
|
+
placeholder: "Bcc",
|
|
2572
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2573
|
+
}
|
|
2574
|
+
) }),
|
|
2575
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2576
|
+
"input",
|
|
2577
|
+
{
|
|
2578
|
+
type: "text",
|
|
2579
|
+
value: subject,
|
|
2580
|
+
onChange: (e) => setSubject?.(e.target.value),
|
|
2581
|
+
placeholder: "Subject",
|
|
2582
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2583
|
+
}
|
|
2584
|
+
) }),
|
|
2585
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-4", children: /* @__PURE__ */ jsx53(MyEditor, { value: body, onChange: setBody }) }),
|
|
2586
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex justify-end gap-2", children: [
|
|
2587
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
|
|
2588
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
|
|
2589
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
|
|
2590
|
+
] })
|
|
2591
|
+
] }) });
|
|
2592
|
+
}
|
|
1966
2593
|
export {
|
|
2594
|
+
BarChart_default as BarChart,
|
|
1967
2595
|
Button_default as Button,
|
|
1968
2596
|
Checkbox_default as Checkbox,
|
|
2597
|
+
Container_default as Container,
|
|
1969
2598
|
DatePicker,
|
|
1970
2599
|
DateRange_default as DateRange,
|
|
1971
2600
|
Dropdown_default as Dropdown,
|
|
2601
|
+
EmailComposer,
|
|
1972
2602
|
EmailInput_default as EmailInput,
|
|
1973
2603
|
FileInput_default as FileInput,
|
|
1974
2604
|
Flex_default as FlexLayout,
|
|
1975
2605
|
Grid_default as GridLayout,
|
|
1976
2606
|
Image_default as Image,
|
|
1977
2607
|
Logo_default as Logo,
|
|
2608
|
+
Modal_default as Modal,
|
|
1978
2609
|
MultiCheckbox_default as MultiCheckbox,
|
|
2610
|
+
Navbar,
|
|
1979
2611
|
Notification_default as Notification,
|
|
1980
2612
|
NumberInput_default as NumberInput,
|
|
2613
|
+
Pagination_default as Pagination,
|
|
1981
2614
|
PasswordInput_default as PasswordInput,
|
|
1982
2615
|
PhoneInput_default as PhoneInput,
|
|
2616
|
+
PieChart_default as PieChart,
|
|
1983
2617
|
Profile_default as Profile,
|
|
1984
2618
|
RadioInput_default as RadioInput,
|
|
1985
2619
|
RichText,
|
|
@@ -2002,6 +2636,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
|
2002
2636
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
2003
2637
|
lucide-react/dist/esm/Icon.js:
|
|
2004
2638
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
2639
|
+
lucide-react/dist/esm/icons/bell.js:
|
|
2005
2640
|
lucide-react/dist/esm/icons/calculator.js:
|
|
2006
2641
|
lucide-react/dist/esm/icons/calendar.js:
|
|
2007
2642
|
lucide-react/dist/esm/icons/check.js:
|
|
@@ -2010,7 +2645,9 @@ lucide-react/dist/esm/icons/chevron-left.js:
|
|
|
2010
2645
|
lucide-react/dist/esm/icons/chevron-right.js:
|
|
2011
2646
|
lucide-react/dist/esm/icons/chevron-up.js:
|
|
2012
2647
|
lucide-react/dist/esm/icons/circle.js:
|
|
2648
|
+
lucide-react/dist/esm/icons/ellipsis.js:
|
|
2013
2649
|
lucide-react/dist/esm/icons/mail.js:
|
|
2650
|
+
lucide-react/dist/esm/icons/menu.js:
|
|
2014
2651
|
lucide-react/dist/esm/icons/scan-eye.js:
|
|
2015
2652
|
lucide-react/dist/esm/icons/search.js:
|
|
2016
2653
|
lucide-react/dist/esm/lucide-react.js:
|