@algorithm-shift/design-system 1.2.23 → 1.2.25
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 +74 -2
- package/dist/index.d.ts +74 -2
- package/dist/index.js +858 -226
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +851 -225
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -5
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,60 @@
|
|
|
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
|
|
|
23
50
|
// src/components/Layout/Container.tsx
|
|
24
|
-
import { jsx as
|
|
51
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
25
52
|
var Container = ({
|
|
26
53
|
children,
|
|
27
54
|
className,
|
|
28
55
|
style
|
|
29
56
|
}) => {
|
|
30
|
-
return /* @__PURE__ */
|
|
57
|
+
return /* @__PURE__ */ jsx4("div", { className, style, children });
|
|
31
58
|
};
|
|
32
59
|
var Container_default = Container;
|
|
33
60
|
|
|
@@ -43,7 +70,7 @@ function cn(...inputs) {
|
|
|
43
70
|
}
|
|
44
71
|
|
|
45
72
|
// src/components/ui/button.tsx
|
|
46
|
-
import { jsx as
|
|
73
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
47
74
|
var buttonVariants = cva(
|
|
48
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",
|
|
49
76
|
{
|
|
@@ -77,7 +104,7 @@ function Button({
|
|
|
77
104
|
...props
|
|
78
105
|
}) {
|
|
79
106
|
const Comp = asChild ? Slot : "button";
|
|
80
|
-
return /* @__PURE__ */
|
|
107
|
+
return /* @__PURE__ */ jsx5(
|
|
81
108
|
Comp,
|
|
82
109
|
{
|
|
83
110
|
"data-slot": "button",
|
|
@@ -88,7 +115,7 @@ function Button({
|
|
|
88
115
|
}
|
|
89
116
|
|
|
90
117
|
// src/components/Basic/Button/Button.tsx
|
|
91
|
-
import { jsx as
|
|
118
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
92
119
|
var ButtonComponent = ({
|
|
93
120
|
className,
|
|
94
121
|
style,
|
|
@@ -99,7 +126,7 @@ var ButtonComponent = ({
|
|
|
99
126
|
"bg-[#000000] text-white transition-colors disabled:opacity-50",
|
|
100
127
|
className
|
|
101
128
|
);
|
|
102
|
-
return /* @__PURE__ */
|
|
129
|
+
return /* @__PURE__ */ jsx6(
|
|
103
130
|
Button,
|
|
104
131
|
{
|
|
105
132
|
type: "button",
|
|
@@ -115,7 +142,7 @@ var Button_default = ButtonComponent;
|
|
|
115
142
|
var image_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAD25JREFUeJzt3XfwHGUdx/H3LyEJoQihJVITIEEQBUQHIQEBQaRMwApIyS8UQQREBQUZRaUXUQwwYoShSlWqQ5ci1ZE2YkIgEBIggNQEQgKk+Mf3t/7utt2ze7u35T6vmZ1M7vae57m7/fxu99nd5wERERERERERERERERERERERERERERERERERERERERERERERERERERERERGR7tJTdANiDAIOBDag3O2sm/eBS4Dnim6IxLsAWKKlkOVtYETrr6j+BhTdgBhfL7oBXWwYsH3RjSiDMgdkUNEN6HKDi25AGSxVdAMSeA14q+hG1FQPsFHRjZBk3qV5v/joYptTa0sTPA7pLbJ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4chh89j/5rWV7GJoMUqYJVgVfp337PyaMS/1xz++RRiUgOJtK87c53fWGSy90H+/4/NMFrRYrkv7jWeTBt3TAlEkMBEYmhgIjE6Emwrr9b7HXgXd9j04EjgRdalLUWMAn4VIL6Pc/11TGjxXpr99WxQYo6ngWOAGa2WG9kXx2jU9Qxra+OWS3WGwX8PmUdz2CfVas61u2rY/0UdUzF3sfLDnVMAtZLUccU4HBgdov1RmPvY5Tv8WHAar7Hkmz7TlznonvQoay7EpSXto572qzDZR67f7RZx90OdTTODZlXHQ+3WcftDnU80mYdf3Oo47EE5WVuoWPFLjfEN/ZJp1lcBox4o8063nKo450263i9JHW812Ydr3Sgjla/5mCT9biU9bFDWUCyY5BrHde7OsOyolyT0TpVqKMun1Un3odrHVe5VppkP2wINrPtujHrTAMupnVClwL2BzZKUH+aOiaQbrrqqcAl2K9mnEF9daQ5lpqCzTrrUkcv6Y6lktQxERiToo6ngcuARS3WG4y9jzR1/Bu43LGOA4g/lpoOXAR8lKIdIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIrX3Py2wAaYahY2rAAAAAElFTkSuQmCC";
|
|
116
143
|
|
|
117
144
|
// src/components/Basic/Image/Image.tsx
|
|
118
|
-
import { jsx as
|
|
145
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
119
146
|
var ImageControl = ({
|
|
120
147
|
className,
|
|
121
148
|
style,
|
|
@@ -132,21 +159,21 @@ var ImageControl = ({
|
|
|
132
159
|
className
|
|
133
160
|
);
|
|
134
161
|
if (!imageUrl && !imageUrlExternal) {
|
|
135
|
-
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 }) });
|
|
136
163
|
}
|
|
137
164
|
const url = imageUrlExternal || imageUrl;
|
|
138
|
-
return /* @__PURE__ */
|
|
165
|
+
return /* @__PURE__ */ jsx7("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
139
166
|
};
|
|
140
167
|
var Image_default = ImageControl;
|
|
141
168
|
|
|
142
169
|
// src/components/Basic/Shape/Shape.tsx
|
|
143
|
-
import { jsx as
|
|
170
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
144
171
|
var Shape = ({
|
|
145
172
|
children,
|
|
146
173
|
className,
|
|
147
174
|
style
|
|
148
175
|
}) => {
|
|
149
|
-
return /* @__PURE__ */
|
|
176
|
+
return /* @__PURE__ */ jsx8("div", { className, style, children });
|
|
150
177
|
};
|
|
151
178
|
var Shape_default = Shape;
|
|
152
179
|
|
|
@@ -180,9 +207,9 @@ var Typography_default = Typography;
|
|
|
180
207
|
import * as React2 from "react";
|
|
181
208
|
|
|
182
209
|
// src/components/ui/input.tsx
|
|
183
|
-
import { jsx as
|
|
210
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
184
211
|
function Input({ className, type, ...props }) {
|
|
185
|
-
return /* @__PURE__ */
|
|
212
|
+
return /* @__PURE__ */ jsx9(
|
|
186
213
|
"input",
|
|
187
214
|
{
|
|
188
215
|
type,
|
|
@@ -199,7 +226,7 @@ function Input({ className, type, ...props }) {
|
|
|
199
226
|
}
|
|
200
227
|
|
|
201
228
|
// src/components/Inputs/TextInput/TextInput.tsx
|
|
202
|
-
import { Fragment, jsx as
|
|
229
|
+
import { Fragment, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
203
230
|
var TextInput = ({ className, style, ...props }) => {
|
|
204
231
|
const placeholder = props.placeholder || "Placeholder text";
|
|
205
232
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -224,8 +251,8 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
224
251
|
setError(null);
|
|
225
252
|
}
|
|
226
253
|
};
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
254
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
255
|
+
/* @__PURE__ */ jsx10(
|
|
229
256
|
Input,
|
|
230
257
|
{
|
|
231
258
|
type: "text",
|
|
@@ -242,7 +269,7 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
242
269
|
pattern: regexPattern || void 0
|
|
243
270
|
}
|
|
244
271
|
),
|
|
245
|
-
error && /* @__PURE__ */
|
|
272
|
+
error && /* @__PURE__ */ jsx10("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
246
273
|
] });
|
|
247
274
|
};
|
|
248
275
|
var TextInput_default = TextInput;
|
|
@@ -339,8 +366,21 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
339
366
|
return Component;
|
|
340
367
|
};
|
|
341
368
|
|
|
342
|
-
// node_modules/lucide-react/dist/esm/icons/
|
|
369
|
+
// node_modules/lucide-react/dist/esm/icons/bell.js
|
|
343
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 = [
|
|
344
384
|
["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", key: "1nb95v" }],
|
|
345
385
|
["line", { x1: "8", x2: "16", y1: "6", y2: "6", key: "x4nwl0" }],
|
|
346
386
|
["line", { x1: "16", x2: "16", y1: "14", y2: "18", key: "wjye3r" }],
|
|
@@ -352,50 +392,66 @@ var __iconNode = [
|
|
|
352
392
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
353
393
|
["path", { d: "M8 18h.01", key: "lrp35t" }]
|
|
354
394
|
];
|
|
355
|
-
var Calculator = createLucideIcon("calculator",
|
|
395
|
+
var Calculator = createLucideIcon("calculator", __iconNode2);
|
|
356
396
|
|
|
357
397
|
// node_modules/lucide-react/dist/esm/icons/calendar.js
|
|
358
|
-
var
|
|
398
|
+
var __iconNode3 = [
|
|
359
399
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
360
400
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
361
401
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
362
402
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
363
403
|
];
|
|
364
|
-
var Calendar = createLucideIcon("calendar",
|
|
404
|
+
var Calendar = createLucideIcon("calendar", __iconNode3);
|
|
365
405
|
|
|
366
406
|
// node_modules/lucide-react/dist/esm/icons/check.js
|
|
367
|
-
var
|
|
368
|
-
var Check = createLucideIcon("check",
|
|
407
|
+
var __iconNode4 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
408
|
+
var Check = createLucideIcon("check", __iconNode4);
|
|
369
409
|
|
|
370
410
|
// node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
371
|
-
var
|
|
372
|
-
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);
|
|
373
413
|
|
|
374
414
|
// node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
375
|
-
var
|
|
376
|
-
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);
|
|
377
417
|
|
|
378
418
|
// node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
379
|
-
var
|
|
380
|
-
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);
|
|
381
421
|
|
|
382
422
|
// node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
383
|
-
var
|
|
384
|
-
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);
|
|
385
425
|
|
|
386
426
|
// node_modules/lucide-react/dist/esm/icons/circle.js
|
|
387
|
-
var
|
|
388
|
-
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);
|
|
389
437
|
|
|
390
438
|
// node_modules/lucide-react/dist/esm/icons/mail.js
|
|
391
|
-
var
|
|
439
|
+
var __iconNode11 = [
|
|
392
440
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
393
441
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
394
442
|
];
|
|
395
|
-
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);
|
|
396
452
|
|
|
397
453
|
// node_modules/lucide-react/dist/esm/icons/scan-eye.js
|
|
398
|
-
var
|
|
454
|
+
var __iconNode13 = [
|
|
399
455
|
["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
|
|
400
456
|
["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
|
|
401
457
|
["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
|
|
@@ -409,17 +465,17 @@ var __iconNode10 = [
|
|
|
409
465
|
}
|
|
410
466
|
]
|
|
411
467
|
];
|
|
412
|
-
var ScanEye = createLucideIcon("scan-eye",
|
|
468
|
+
var ScanEye = createLucideIcon("scan-eye", __iconNode13);
|
|
413
469
|
|
|
414
470
|
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
415
|
-
var
|
|
471
|
+
var __iconNode14 = [
|
|
416
472
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
417
473
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
418
474
|
];
|
|
419
|
-
var Search = createLucideIcon("search",
|
|
475
|
+
var Search = createLucideIcon("search", __iconNode14);
|
|
420
476
|
|
|
421
477
|
// src/components/Inputs/NumberInput/NumberInput.tsx
|
|
422
|
-
import { Fragment as Fragment2, jsx as
|
|
478
|
+
import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
423
479
|
var NumberInput = ({ className, style, ...props }) => {
|
|
424
480
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
425
481
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -444,10 +500,10 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
444
500
|
setError(null);
|
|
445
501
|
}
|
|
446
502
|
};
|
|
447
|
-
return /* @__PURE__ */
|
|
448
|
-
/* @__PURE__ */
|
|
449
|
-
/* @__PURE__ */
|
|
450
|
-
/* @__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(
|
|
451
507
|
Input,
|
|
452
508
|
{
|
|
453
509
|
type: "number",
|
|
@@ -466,14 +522,14 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
466
522
|
}
|
|
467
523
|
)
|
|
468
524
|
] }),
|
|
469
|
-
error && /* @__PURE__ */
|
|
525
|
+
error && /* @__PURE__ */ jsx11("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
470
526
|
] });
|
|
471
527
|
};
|
|
472
528
|
var NumberInput_default = NumberInput;
|
|
473
529
|
|
|
474
530
|
// src/components/Inputs/EmailInput/EmailInput.tsx
|
|
475
531
|
import * as React4 from "react";
|
|
476
|
-
import { Fragment as Fragment3, jsx as
|
|
532
|
+
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
477
533
|
var EmailInput = ({ className, style, ...props }) => {
|
|
478
534
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
479
535
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -498,10 +554,10 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
498
554
|
setError(null);
|
|
499
555
|
}
|
|
500
556
|
};
|
|
501
|
-
return /* @__PURE__ */
|
|
502
|
-
/* @__PURE__ */
|
|
503
|
-
/* @__PURE__ */
|
|
504
|
-
/* @__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(
|
|
505
561
|
Input,
|
|
506
562
|
{
|
|
507
563
|
type: "email",
|
|
@@ -519,14 +575,14 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
519
575
|
}
|
|
520
576
|
)
|
|
521
577
|
] }),
|
|
522
|
-
error && /* @__PURE__ */
|
|
578
|
+
error && /* @__PURE__ */ jsx12("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
523
579
|
] });
|
|
524
580
|
};
|
|
525
581
|
var EmailInput_default = EmailInput;
|
|
526
582
|
|
|
527
583
|
// src/components/Inputs/PasswordInput/PasswordInput.tsx
|
|
528
584
|
import * as React5 from "react";
|
|
529
|
-
import { Fragment as Fragment4, jsx as
|
|
585
|
+
import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
530
586
|
var PasswordInput = ({ className, style, ...props }) => {
|
|
531
587
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
532
588
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -551,10 +607,10 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
551
607
|
setError(null);
|
|
552
608
|
}
|
|
553
609
|
};
|
|
554
|
-
return /* @__PURE__ */
|
|
555
|
-
/* @__PURE__ */
|
|
556
|
-
/* @__PURE__ */
|
|
557
|
-
/* @__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(
|
|
558
614
|
Input,
|
|
559
615
|
{
|
|
560
616
|
type: "password",
|
|
@@ -573,7 +629,7 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
573
629
|
}
|
|
574
630
|
)
|
|
575
631
|
] }),
|
|
576
|
-
error && /* @__PURE__ */
|
|
632
|
+
error && /* @__PURE__ */ jsx13("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
577
633
|
] });
|
|
578
634
|
};
|
|
579
635
|
var PasswordInput_default = PasswordInput;
|
|
@@ -582,9 +638,9 @@ var PasswordInput_default = PasswordInput;
|
|
|
582
638
|
import * as React6 from "react";
|
|
583
639
|
|
|
584
640
|
// src/components/ui/textarea.tsx
|
|
585
|
-
import { jsx as
|
|
641
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
586
642
|
function Textarea({ className, ...props }) {
|
|
587
|
-
return /* @__PURE__ */
|
|
643
|
+
return /* @__PURE__ */ jsx14(
|
|
588
644
|
"textarea",
|
|
589
645
|
{
|
|
590
646
|
"data-slot": "textarea",
|
|
@@ -598,7 +654,7 @@ function Textarea({ className, ...props }) {
|
|
|
598
654
|
}
|
|
599
655
|
|
|
600
656
|
// src/components/Inputs/Textarea/Textarea.tsx
|
|
601
|
-
import { Fragment as Fragment5, jsx as
|
|
657
|
+
import { Fragment as Fragment5, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
602
658
|
var Textarea2 = ({ className, style, ...props }) => {
|
|
603
659
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
604
660
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -623,8 +679,8 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
623
679
|
setError(null);
|
|
624
680
|
}
|
|
625
681
|
};
|
|
626
|
-
return /* @__PURE__ */
|
|
627
|
-
/* @__PURE__ */
|
|
682
|
+
return /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
683
|
+
/* @__PURE__ */ jsx15(
|
|
628
684
|
Textarea,
|
|
629
685
|
{
|
|
630
686
|
id: "textarea-field",
|
|
@@ -640,14 +696,14 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
640
696
|
maxLength: noOfCharacters
|
|
641
697
|
}
|
|
642
698
|
),
|
|
643
|
-
error && /* @__PURE__ */
|
|
699
|
+
error && /* @__PURE__ */ jsx15("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
644
700
|
] });
|
|
645
701
|
};
|
|
646
702
|
var Textarea_default = Textarea2;
|
|
647
703
|
|
|
648
704
|
// src/components/Inputs/UrlInput/UrlInput.tsx
|
|
649
705
|
import * as React7 from "react";
|
|
650
|
-
import { Fragment as Fragment6, jsx as
|
|
706
|
+
import { Fragment as Fragment6, jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
651
707
|
var UrlInput = ({ className, style, ...props }) => {
|
|
652
708
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
653
709
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -672,10 +728,10 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
672
728
|
setError(null);
|
|
673
729
|
}
|
|
674
730
|
};
|
|
675
|
-
return /* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */
|
|
677
|
-
/* @__PURE__ */
|
|
678
|
-
/* @__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(
|
|
679
735
|
Input,
|
|
680
736
|
{
|
|
681
737
|
type: "url",
|
|
@@ -694,19 +750,19 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
694
750
|
}
|
|
695
751
|
)
|
|
696
752
|
] }),
|
|
697
|
-
error && /* @__PURE__ */
|
|
753
|
+
error && /* @__PURE__ */ jsx16("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
698
754
|
] });
|
|
699
755
|
};
|
|
700
756
|
var UrlInput_default = UrlInput;
|
|
701
757
|
|
|
702
758
|
// src/components/ui/checkbox.tsx
|
|
703
759
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
704
|
-
import { jsx as
|
|
760
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
705
761
|
function Checkbox({
|
|
706
762
|
className,
|
|
707
763
|
...props
|
|
708
764
|
}) {
|
|
709
|
-
return /* @__PURE__ */
|
|
765
|
+
return /* @__PURE__ */ jsx17(
|
|
710
766
|
CheckboxPrimitive.Root,
|
|
711
767
|
{
|
|
712
768
|
"data-slot": "checkbox",
|
|
@@ -715,12 +771,12 @@ function Checkbox({
|
|
|
715
771
|
className
|
|
716
772
|
),
|
|
717
773
|
...props,
|
|
718
|
-
children: /* @__PURE__ */
|
|
774
|
+
children: /* @__PURE__ */ jsx17(
|
|
719
775
|
CheckboxPrimitive.Indicator,
|
|
720
776
|
{
|
|
721
777
|
"data-slot": "checkbox-indicator",
|
|
722
778
|
className: "flex items-center justify-center text-current transition-none",
|
|
723
|
-
children: /* @__PURE__ */
|
|
779
|
+
children: /* @__PURE__ */ jsx17(Check, { className: "size-3.5" })
|
|
724
780
|
}
|
|
725
781
|
)
|
|
726
782
|
}
|
|
@@ -729,12 +785,12 @@ function Checkbox({
|
|
|
729
785
|
|
|
730
786
|
// src/components/ui/label.tsx
|
|
731
787
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
732
|
-
import { jsx as
|
|
788
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
733
789
|
function Label({
|
|
734
790
|
className,
|
|
735
791
|
...props
|
|
736
792
|
}) {
|
|
737
|
-
return /* @__PURE__ */
|
|
793
|
+
return /* @__PURE__ */ jsx18(
|
|
738
794
|
LabelPrimitive.Root,
|
|
739
795
|
{
|
|
740
796
|
"data-slot": "label",
|
|
@@ -748,24 +804,24 @@ function Label({
|
|
|
748
804
|
}
|
|
749
805
|
|
|
750
806
|
// src/components/Inputs/Checkbox/Checkbox.tsx
|
|
751
|
-
import { jsx as
|
|
807
|
+
import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
752
808
|
var CheckboxInput = ({ className, style, ...props }) => {
|
|
753
809
|
const text = props.text ? props.text : "Subscribe";
|
|
754
|
-
return /* @__PURE__ */
|
|
755
|
-
/* @__PURE__ */
|
|
756
|
-
/* @__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 })
|
|
757
813
|
] }) });
|
|
758
814
|
};
|
|
759
815
|
var Checkbox_default = CheckboxInput;
|
|
760
816
|
|
|
761
817
|
// src/components/ui/radio-group.tsx
|
|
762
818
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
763
|
-
import { jsx as
|
|
819
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
764
820
|
function RadioGroup({
|
|
765
821
|
className,
|
|
766
822
|
...props
|
|
767
823
|
}) {
|
|
768
|
-
return /* @__PURE__ */
|
|
824
|
+
return /* @__PURE__ */ jsx20(
|
|
769
825
|
RadioGroupPrimitive.Root,
|
|
770
826
|
{
|
|
771
827
|
"data-slot": "radio-group",
|
|
@@ -778,7 +834,7 @@ function RadioGroupItem({
|
|
|
778
834
|
className,
|
|
779
835
|
...props
|
|
780
836
|
}) {
|
|
781
|
-
return /* @__PURE__ */
|
|
837
|
+
return /* @__PURE__ */ jsx20(
|
|
782
838
|
RadioGroupPrimitive.Item,
|
|
783
839
|
{
|
|
784
840
|
"data-slot": "radio-group-item",
|
|
@@ -787,12 +843,12 @@ function RadioGroupItem({
|
|
|
787
843
|
className
|
|
788
844
|
),
|
|
789
845
|
...props,
|
|
790
|
-
children: /* @__PURE__ */
|
|
846
|
+
children: /* @__PURE__ */ jsx20(
|
|
791
847
|
RadioGroupPrimitive.Indicator,
|
|
792
848
|
{
|
|
793
849
|
"data-slot": "radio-group-indicator",
|
|
794
850
|
className: "relative flex items-center justify-center",
|
|
795
|
-
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" })
|
|
796
852
|
}
|
|
797
853
|
)
|
|
798
854
|
}
|
|
@@ -800,31 +856,31 @@ function RadioGroupItem({
|
|
|
800
856
|
}
|
|
801
857
|
|
|
802
858
|
// src/components/Inputs/RadioInput/RadioInput.tsx
|
|
803
|
-
import { jsx as
|
|
859
|
+
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
804
860
|
var RadioInput = ({ className, style, ...props }) => {
|
|
805
861
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
806
862
|
const formatList = text.filter((i) => i.value && i.label).map((item) => ({
|
|
807
863
|
label: item.label,
|
|
808
864
|
value: item.value
|
|
809
865
|
}));
|
|
810
|
-
return /* @__PURE__ */
|
|
811
|
-
/* @__PURE__ */
|
|
812
|
-
/* @__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 })
|
|
813
869
|
] }, index)) }) });
|
|
814
870
|
};
|
|
815
871
|
var RadioInput_default = RadioInput;
|
|
816
872
|
|
|
817
873
|
// src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
|
|
818
|
-
import { jsx as
|
|
874
|
+
import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
819
875
|
var MultiCheckbox = ({ className, style, ...props }) => {
|
|
820
876
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
821
877
|
const formatList = text.filter((i) => i.value && i.label).map((item) => ({
|
|
822
878
|
label: item.label,
|
|
823
879
|
value: item.value
|
|
824
880
|
}));
|
|
825
|
-
return /* @__PURE__ */
|
|
826
|
-
/* @__PURE__ */
|
|
827
|
-
/* @__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 })
|
|
828
884
|
] }, index)) }) });
|
|
829
885
|
};
|
|
830
886
|
var MultiCheckbox_default = MultiCheckbox;
|
|
@@ -832,7 +888,7 @@ var MultiCheckbox_default = MultiCheckbox;
|
|
|
832
888
|
// src/components/Global/TinyMceEditor.tsx
|
|
833
889
|
import { useMemo, useRef } from "react";
|
|
834
890
|
import { Editor } from "@tinymce/tinymce-react";
|
|
835
|
-
import { jsx as
|
|
891
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
836
892
|
function MyEditor({
|
|
837
893
|
value,
|
|
838
894
|
onChange,
|
|
@@ -857,7 +913,7 @@ function MyEditor({
|
|
|
857
913
|
}
|
|
858
914
|
return toolbar;
|
|
859
915
|
}, [isDefault]);
|
|
860
|
-
return /* @__PURE__ */
|
|
916
|
+
return /* @__PURE__ */ jsx23(
|
|
861
917
|
Editor,
|
|
862
918
|
{
|
|
863
919
|
apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
|
|
@@ -901,9 +957,9 @@ function MyEditor({
|
|
|
901
957
|
}
|
|
902
958
|
|
|
903
959
|
// src/components/Inputs/RichText/RichText.tsx
|
|
904
|
-
import { jsx as
|
|
960
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
905
961
|
function RichText({ className, style }) {
|
|
906
|
-
return /* @__PURE__ */
|
|
962
|
+
return /* @__PURE__ */ jsx24("div", { className, style, children: /* @__PURE__ */ jsx24(MyEditor, { isDefault: true }) });
|
|
907
963
|
}
|
|
908
964
|
|
|
909
965
|
// src/components/Inputs/Dropdown/Dropdown.tsx
|
|
@@ -911,16 +967,16 @@ import * as React8 from "react";
|
|
|
911
967
|
|
|
912
968
|
// src/components/ui/select.tsx
|
|
913
969
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
914
|
-
import { jsx as
|
|
970
|
+
import { jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
915
971
|
function Select({
|
|
916
972
|
...props
|
|
917
973
|
}) {
|
|
918
|
-
return /* @__PURE__ */
|
|
974
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
919
975
|
}
|
|
920
976
|
function SelectValue({
|
|
921
977
|
...props
|
|
922
978
|
}) {
|
|
923
|
-
return /* @__PURE__ */
|
|
979
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
924
980
|
}
|
|
925
981
|
function SelectTrigger({
|
|
926
982
|
className,
|
|
@@ -928,7 +984,7 @@ function SelectTrigger({
|
|
|
928
984
|
children,
|
|
929
985
|
...props
|
|
930
986
|
}) {
|
|
931
|
-
return /* @__PURE__ */
|
|
987
|
+
return /* @__PURE__ */ jsxs11(
|
|
932
988
|
SelectPrimitive.Trigger,
|
|
933
989
|
{
|
|
934
990
|
"data-slot": "select-trigger",
|
|
@@ -940,7 +996,7 @@ function SelectTrigger({
|
|
|
940
996
|
...props,
|
|
941
997
|
children: [
|
|
942
998
|
children,
|
|
943
|
-
/* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ jsx25(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx25(ChevronDown, { className: "size-4 opacity-50" }) })
|
|
944
1000
|
]
|
|
945
1001
|
}
|
|
946
1002
|
);
|
|
@@ -951,7 +1007,7 @@ function SelectContent({
|
|
|
951
1007
|
position = "popper",
|
|
952
1008
|
...props
|
|
953
1009
|
}) {
|
|
954
|
-
return /* @__PURE__ */
|
|
1010
|
+
return /* @__PURE__ */ jsx25(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs11(
|
|
955
1011
|
SelectPrimitive.Content,
|
|
956
1012
|
{
|
|
957
1013
|
"data-slot": "select-content",
|
|
@@ -963,8 +1019,8 @@ function SelectContent({
|
|
|
963
1019
|
position,
|
|
964
1020
|
...props,
|
|
965
1021
|
children: [
|
|
966
|
-
/* @__PURE__ */
|
|
967
|
-
/* @__PURE__ */
|
|
1022
|
+
/* @__PURE__ */ jsx25(SelectScrollUpButton, {}),
|
|
1023
|
+
/* @__PURE__ */ jsx25(
|
|
968
1024
|
SelectPrimitive.Viewport,
|
|
969
1025
|
{
|
|
970
1026
|
className: cn(
|
|
@@ -974,7 +1030,7 @@ function SelectContent({
|
|
|
974
1030
|
children
|
|
975
1031
|
}
|
|
976
1032
|
),
|
|
977
|
-
/* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ jsx25(SelectScrollDownButton, {})
|
|
978
1034
|
]
|
|
979
1035
|
}
|
|
980
1036
|
) });
|
|
@@ -984,7 +1040,7 @@ function SelectItem({
|
|
|
984
1040
|
children,
|
|
985
1041
|
...props
|
|
986
1042
|
}) {
|
|
987
|
-
return /* @__PURE__ */
|
|
1043
|
+
return /* @__PURE__ */ jsxs11(
|
|
988
1044
|
SelectPrimitive.Item,
|
|
989
1045
|
{
|
|
990
1046
|
"data-slot": "select-item",
|
|
@@ -994,8 +1050,8 @@ function SelectItem({
|
|
|
994
1050
|
),
|
|
995
1051
|
...props,
|
|
996
1052
|
children: [
|
|
997
|
-
/* @__PURE__ */
|
|
998
|
-
/* @__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 })
|
|
999
1055
|
]
|
|
1000
1056
|
}
|
|
1001
1057
|
);
|
|
@@ -1004,7 +1060,7 @@ function SelectScrollUpButton({
|
|
|
1004
1060
|
className,
|
|
1005
1061
|
...props
|
|
1006
1062
|
}) {
|
|
1007
|
-
return /* @__PURE__ */
|
|
1063
|
+
return /* @__PURE__ */ jsx25(
|
|
1008
1064
|
SelectPrimitive.ScrollUpButton,
|
|
1009
1065
|
{
|
|
1010
1066
|
"data-slot": "select-scroll-up-button",
|
|
@@ -1013,7 +1069,7 @@ function SelectScrollUpButton({
|
|
|
1013
1069
|
className
|
|
1014
1070
|
),
|
|
1015
1071
|
...props,
|
|
1016
|
-
children: /* @__PURE__ */
|
|
1072
|
+
children: /* @__PURE__ */ jsx25(ChevronUp, { className: "size-4" })
|
|
1017
1073
|
}
|
|
1018
1074
|
);
|
|
1019
1075
|
}
|
|
@@ -1021,7 +1077,7 @@ function SelectScrollDownButton({
|
|
|
1021
1077
|
className,
|
|
1022
1078
|
...props
|
|
1023
1079
|
}) {
|
|
1024
|
-
return /* @__PURE__ */
|
|
1080
|
+
return /* @__PURE__ */ jsx25(
|
|
1025
1081
|
SelectPrimitive.ScrollDownButton,
|
|
1026
1082
|
{
|
|
1027
1083
|
"data-slot": "select-scroll-down-button",
|
|
@@ -1030,13 +1086,13 @@ function SelectScrollDownButton({
|
|
|
1030
1086
|
className
|
|
1031
1087
|
),
|
|
1032
1088
|
...props,
|
|
1033
|
-
children: /* @__PURE__ */
|
|
1089
|
+
children: /* @__PURE__ */ jsx25(ChevronDown, { className: "size-4" })
|
|
1034
1090
|
}
|
|
1035
1091
|
);
|
|
1036
1092
|
}
|
|
1037
1093
|
|
|
1038
1094
|
// src/components/Global/SelectDropdown.tsx
|
|
1039
|
-
import { jsx as
|
|
1095
|
+
import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1040
1096
|
function SelectDropdown({
|
|
1041
1097
|
options,
|
|
1042
1098
|
placeholder = "Select an option",
|
|
@@ -1048,23 +1104,23 @@ function SelectDropdown({
|
|
|
1048
1104
|
readOnly,
|
|
1049
1105
|
style
|
|
1050
1106
|
}) {
|
|
1051
|
-
return /* @__PURE__ */
|
|
1052
|
-
/* @__PURE__ */
|
|
1107
|
+
return /* @__PURE__ */ jsxs12(Select, { value, onValueChange: onChange, disabled, children: [
|
|
1108
|
+
/* @__PURE__ */ jsx26(
|
|
1053
1109
|
SelectTrigger,
|
|
1054
1110
|
{
|
|
1055
1111
|
id,
|
|
1056
1112
|
className,
|
|
1057
1113
|
style: style ?? {},
|
|
1058
1114
|
"aria-readonly": readOnly,
|
|
1059
|
-
children: /* @__PURE__ */
|
|
1115
|
+
children: /* @__PURE__ */ jsx26(SelectValue, { placeholder })
|
|
1060
1116
|
}
|
|
1061
1117
|
),
|
|
1062
|
-
/* @__PURE__ */
|
|
1118
|
+
/* @__PURE__ */ jsx26(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx26(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
1063
1119
|
] });
|
|
1064
1120
|
}
|
|
1065
1121
|
|
|
1066
1122
|
// src/components/Inputs/Dropdown/Dropdown.tsx
|
|
1067
|
-
import { Fragment as Fragment7, jsx as
|
|
1123
|
+
import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1068
1124
|
var Dropdown = ({ className, style, ...props }) => {
|
|
1069
1125
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Default"];
|
|
1070
1126
|
const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
|
|
@@ -1091,8 +1147,8 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
1091
1147
|
setError(null);
|
|
1092
1148
|
}
|
|
1093
1149
|
};
|
|
1094
|
-
return /* @__PURE__ */
|
|
1095
|
-
/* @__PURE__ */
|
|
1150
|
+
return /* @__PURE__ */ jsxs13(Fragment7, { children: [
|
|
1151
|
+
/* @__PURE__ */ jsx27("div", { className: "flex gap-3 flex-col", children: /* @__PURE__ */ jsx27(
|
|
1096
1152
|
SelectDropdown,
|
|
1097
1153
|
{
|
|
1098
1154
|
options: formatList,
|
|
@@ -1109,19 +1165,19 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
1109
1165
|
pattern: regexPattern || void 0
|
|
1110
1166
|
}
|
|
1111
1167
|
) }),
|
|
1112
|
-
error && /* @__PURE__ */
|
|
1168
|
+
error && /* @__PURE__ */ jsx27("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1113
1169
|
] });
|
|
1114
1170
|
};
|
|
1115
1171
|
var Dropdown_default = Dropdown;
|
|
1116
1172
|
|
|
1117
1173
|
// src/components/ui/switch.tsx
|
|
1118
1174
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
1119
|
-
import { jsx as
|
|
1175
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1120
1176
|
function Switch({
|
|
1121
1177
|
className,
|
|
1122
1178
|
...props
|
|
1123
1179
|
}) {
|
|
1124
|
-
return /* @__PURE__ */
|
|
1180
|
+
return /* @__PURE__ */ jsx28(
|
|
1125
1181
|
SwitchPrimitive.Root,
|
|
1126
1182
|
{
|
|
1127
1183
|
"data-slot": "switch",
|
|
@@ -1130,7 +1186,7 @@ function Switch({
|
|
|
1130
1186
|
className
|
|
1131
1187
|
),
|
|
1132
1188
|
...props,
|
|
1133
|
-
children: /* @__PURE__ */
|
|
1189
|
+
children: /* @__PURE__ */ jsx28(
|
|
1134
1190
|
SwitchPrimitive.Thumb,
|
|
1135
1191
|
{
|
|
1136
1192
|
"data-slot": "switch-thumb",
|
|
@@ -1144,12 +1200,12 @@ function Switch({
|
|
|
1144
1200
|
}
|
|
1145
1201
|
|
|
1146
1202
|
// src/components/Inputs/SwitchToggle/SwitchToggle.tsx
|
|
1147
|
-
import { jsx as
|
|
1203
|
+
import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1148
1204
|
var SwitchToggle = ({ className, style, ...props }) => {
|
|
1149
1205
|
const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
|
|
1150
|
-
return /* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */
|
|
1152
|
-
/* @__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 })
|
|
1153
1209
|
] }, index)) });
|
|
1154
1210
|
};
|
|
1155
1211
|
var SwitchToggle_default = SwitchToggle;
|
|
@@ -1158,7 +1214,7 @@ var SwitchToggle_default = SwitchToggle;
|
|
|
1158
1214
|
import * as React9 from "react";
|
|
1159
1215
|
import { PhoneInput as PhoneInputField } from "react-international-phone";
|
|
1160
1216
|
import "react-international-phone/style.css";
|
|
1161
|
-
import { Fragment as Fragment8, jsx as
|
|
1217
|
+
import { Fragment as Fragment8, jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1162
1218
|
var PhoneInput = ({ className, style, ...props }) => {
|
|
1163
1219
|
const placeholder = props.placeholder ?? "Enter phone number";
|
|
1164
1220
|
const [value, setValue] = React9.useState("");
|
|
@@ -1180,8 +1236,8 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
1180
1236
|
setError(null);
|
|
1181
1237
|
}
|
|
1182
1238
|
};
|
|
1183
|
-
return /* @__PURE__ */
|
|
1184
|
-
/* @__PURE__ */
|
|
1239
|
+
return /* @__PURE__ */ jsxs15(Fragment8, { children: [
|
|
1240
|
+
/* @__PURE__ */ jsx30(
|
|
1185
1241
|
PhoneInputField,
|
|
1186
1242
|
{
|
|
1187
1243
|
defaultCountry: "in",
|
|
@@ -1198,14 +1254,14 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
1198
1254
|
style
|
|
1199
1255
|
}
|
|
1200
1256
|
),
|
|
1201
|
-
error && /* @__PURE__ */
|
|
1257
|
+
error && /* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1202
1258
|
] });
|
|
1203
1259
|
};
|
|
1204
1260
|
var PhoneInput_default = PhoneInput;
|
|
1205
1261
|
|
|
1206
1262
|
// src/components/Inputs/SearchInput/SearchInput.tsx
|
|
1207
1263
|
import * as React10 from "react";
|
|
1208
|
-
import { Fragment as Fragment9, jsx as
|
|
1264
|
+
import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1209
1265
|
var SearchInput = ({ className, style, ...props }) => {
|
|
1210
1266
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1211
1267
|
const regexPattern = props.regexPattern ?? "";
|
|
@@ -1230,10 +1286,10 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
1230
1286
|
setError(null);
|
|
1231
1287
|
}
|
|
1232
1288
|
};
|
|
1233
|
-
return /* @__PURE__ */
|
|
1234
|
-
/* @__PURE__ */
|
|
1235
|
-
/* @__PURE__ */
|
|
1236
|
-
/* @__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(
|
|
1237
1293
|
Input,
|
|
1238
1294
|
{
|
|
1239
1295
|
type: "text",
|
|
@@ -1252,18 +1308,18 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
1252
1308
|
}
|
|
1253
1309
|
)
|
|
1254
1310
|
] }),
|
|
1255
|
-
error && /* @__PURE__ */
|
|
1311
|
+
error && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1256
1312
|
] });
|
|
1257
1313
|
};
|
|
1258
1314
|
var SearchInput_default = SearchInput;
|
|
1259
1315
|
|
|
1260
1316
|
// src/components/Inputs/FileInput/FileInput.tsx
|
|
1261
|
-
import { jsx as
|
|
1317
|
+
import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1262
1318
|
var FileInput = ({ className, style, ...props }) => {
|
|
1263
1319
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1264
|
-
return /* @__PURE__ */
|
|
1265
|
-
/* @__PURE__ */
|
|
1266
|
-
/* @__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(
|
|
1267
1323
|
Input,
|
|
1268
1324
|
{
|
|
1269
1325
|
type: "file",
|
|
@@ -1280,7 +1336,7 @@ var FileInput_default = FileInput;
|
|
|
1280
1336
|
|
|
1281
1337
|
// src/components/Inputs/DatePicker/DatePicker.tsx
|
|
1282
1338
|
import React11 from "react";
|
|
1283
|
-
import { Fragment as Fragment10, jsx as
|
|
1339
|
+
import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1284
1340
|
function DatePicker({ className, style, ...props }) {
|
|
1285
1341
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
1286
1342
|
const minimumDate = props.minimumDate ?? "none";
|
|
@@ -1318,10 +1374,10 @@ function DatePicker({ className, style, ...props }) {
|
|
|
1318
1374
|
setError(null);
|
|
1319
1375
|
}
|
|
1320
1376
|
};
|
|
1321
|
-
return /* @__PURE__ */
|
|
1322
|
-
/* @__PURE__ */
|
|
1323
|
-
/* @__PURE__ */
|
|
1324
|
-
/* @__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(
|
|
1325
1381
|
Input,
|
|
1326
1382
|
{
|
|
1327
1383
|
type: "date",
|
|
@@ -1340,7 +1396,7 @@ function DatePicker({ className, style, ...props }) {
|
|
|
1340
1396
|
}
|
|
1341
1397
|
)
|
|
1342
1398
|
] }),
|
|
1343
|
-
error && /* @__PURE__ */
|
|
1399
|
+
error && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: error })
|
|
1344
1400
|
] });
|
|
1345
1401
|
}
|
|
1346
1402
|
|
|
@@ -1351,7 +1407,7 @@ import { addDays, format } from "date-fns";
|
|
|
1351
1407
|
// src/components/ui/calendar.tsx
|
|
1352
1408
|
import * as React12 from "react";
|
|
1353
1409
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
1354
|
-
import { jsx as
|
|
1410
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
1355
1411
|
function Calendar2({
|
|
1356
1412
|
className,
|
|
1357
1413
|
classNames,
|
|
@@ -1363,7 +1419,7 @@ function Calendar2({
|
|
|
1363
1419
|
...props
|
|
1364
1420
|
}) {
|
|
1365
1421
|
const defaultClassNames = getDefaultClassNames();
|
|
1366
|
-
return /* @__PURE__ */
|
|
1422
|
+
return /* @__PURE__ */ jsx34(
|
|
1367
1423
|
DayPicker,
|
|
1368
1424
|
{
|
|
1369
1425
|
showOutsideDays,
|
|
@@ -1462,7 +1518,7 @@ function Calendar2({
|
|
|
1462
1518
|
},
|
|
1463
1519
|
components: {
|
|
1464
1520
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
1465
|
-
return /* @__PURE__ */
|
|
1521
|
+
return /* @__PURE__ */ jsx34(
|
|
1466
1522
|
"div",
|
|
1467
1523
|
{
|
|
1468
1524
|
"data-slot": "calendar",
|
|
@@ -1474,10 +1530,10 @@ function Calendar2({
|
|
|
1474
1530
|
},
|
|
1475
1531
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
1476
1532
|
if (orientation === "left") {
|
|
1477
|
-
return /* @__PURE__ */
|
|
1533
|
+
return /* @__PURE__ */ jsx34(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
1478
1534
|
}
|
|
1479
1535
|
if (orientation === "right") {
|
|
1480
|
-
return /* @__PURE__ */
|
|
1536
|
+
return /* @__PURE__ */ jsx34(
|
|
1481
1537
|
ChevronRight,
|
|
1482
1538
|
{
|
|
1483
1539
|
className: cn("size-4", className2),
|
|
@@ -1485,11 +1541,11 @@ function Calendar2({
|
|
|
1485
1541
|
}
|
|
1486
1542
|
);
|
|
1487
1543
|
}
|
|
1488
|
-
return /* @__PURE__ */
|
|
1544
|
+
return /* @__PURE__ */ jsx34(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
1489
1545
|
},
|
|
1490
1546
|
DayButton: CalendarDayButton,
|
|
1491
1547
|
WeekNumber: ({ children, ...props2 }) => {
|
|
1492
|
-
return /* @__PURE__ */
|
|
1548
|
+
return /* @__PURE__ */ jsx34("td", { ...props2, children: /* @__PURE__ */ jsx34("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
|
|
1493
1549
|
},
|
|
1494
1550
|
...components
|
|
1495
1551
|
},
|
|
@@ -1508,7 +1564,7 @@ function CalendarDayButton({
|
|
|
1508
1564
|
React12.useEffect(() => {
|
|
1509
1565
|
if (modifiers.focused) ref.current?.focus();
|
|
1510
1566
|
}, [modifiers.focused]);
|
|
1511
|
-
return /* @__PURE__ */
|
|
1567
|
+
return /* @__PURE__ */ jsx34(
|
|
1512
1568
|
Button,
|
|
1513
1569
|
{
|
|
1514
1570
|
ref,
|
|
@@ -1531,16 +1587,16 @@ function CalendarDayButton({
|
|
|
1531
1587
|
|
|
1532
1588
|
// src/components/ui/popover.tsx
|
|
1533
1589
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
1534
|
-
import { jsx as
|
|
1590
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
1535
1591
|
function Popover({
|
|
1536
1592
|
...props
|
|
1537
1593
|
}) {
|
|
1538
|
-
return /* @__PURE__ */
|
|
1594
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
1539
1595
|
}
|
|
1540
1596
|
function PopoverTrigger({
|
|
1541
1597
|
...props
|
|
1542
1598
|
}) {
|
|
1543
|
-
return /* @__PURE__ */
|
|
1599
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
1544
1600
|
}
|
|
1545
1601
|
function PopoverContent({
|
|
1546
1602
|
className,
|
|
@@ -1548,7 +1604,7 @@ function PopoverContent({
|
|
|
1548
1604
|
sideOffset = 4,
|
|
1549
1605
|
...props
|
|
1550
1606
|
}) {
|
|
1551
|
-
return /* @__PURE__ */
|
|
1607
|
+
return /* @__PURE__ */ jsx35(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
|
|
1552
1608
|
PopoverPrimitive.Content,
|
|
1553
1609
|
{
|
|
1554
1610
|
"data-slot": "popover-content",
|
|
@@ -1564,14 +1620,14 @@ function PopoverContent({
|
|
|
1564
1620
|
}
|
|
1565
1621
|
|
|
1566
1622
|
// src/components/Inputs/DateRange/DateRange.tsx
|
|
1567
|
-
import { Fragment as Fragment11, jsx as
|
|
1623
|
+
import { Fragment as Fragment11, jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1568
1624
|
var DateRange = ({ className, style }) => {
|
|
1569
1625
|
const [date, setDate] = React13.useState({
|
|
1570
1626
|
from: /* @__PURE__ */ new Date(),
|
|
1571
1627
|
to: addDays(/* @__PURE__ */ new Date(), 7)
|
|
1572
1628
|
});
|
|
1573
|
-
return /* @__PURE__ */
|
|
1574
|
-
/* @__PURE__ */
|
|
1629
|
+
return /* @__PURE__ */ jsx36("div", { className, style, children: /* @__PURE__ */ jsxs19(Popover, { children: [
|
|
1630
|
+
/* @__PURE__ */ jsx36(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx36(
|
|
1575
1631
|
Button,
|
|
1576
1632
|
{
|
|
1577
1633
|
id: "date",
|
|
@@ -1580,15 +1636,15 @@ var DateRange = ({ className, style }) => {
|
|
|
1580
1636
|
"w-[300px] justify-start text-left font-normal text-[11px]",
|
|
1581
1637
|
!date && "text-muted-foreground"
|
|
1582
1638
|
),
|
|
1583
|
-
children: date?.from ? date.to ? /* @__PURE__ */
|
|
1639
|
+
children: date?.from ? date.to ? /* @__PURE__ */ jsxs19(Fragment11, { children: [
|
|
1584
1640
|
format(date.from, "LLL dd, y"),
|
|
1585
1641
|
" -",
|
|
1586
1642
|
" ",
|
|
1587
1643
|
format(date.to, "LLL dd, y")
|
|
1588
|
-
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */
|
|
1644
|
+
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx36("span", { children: "Pick a date range" })
|
|
1589
1645
|
}
|
|
1590
1646
|
) }),
|
|
1591
|
-
/* @__PURE__ */
|
|
1647
|
+
/* @__PURE__ */ jsx36(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx36(
|
|
1592
1648
|
Calendar2,
|
|
1593
1649
|
{
|
|
1594
1650
|
mode: "range",
|
|
@@ -1610,14 +1666,14 @@ import {
|
|
|
1610
1666
|
} from "@tanstack/react-table";
|
|
1611
1667
|
|
|
1612
1668
|
// src/components/ui/table.tsx
|
|
1613
|
-
import { jsx as
|
|
1669
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
1614
1670
|
function Table({ className, ...props }) {
|
|
1615
|
-
return /* @__PURE__ */
|
|
1671
|
+
return /* @__PURE__ */ jsx37(
|
|
1616
1672
|
"div",
|
|
1617
1673
|
{
|
|
1618
1674
|
"data-slot": "table-container",
|
|
1619
1675
|
className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
|
|
1620
|
-
children: /* @__PURE__ */
|
|
1676
|
+
children: /* @__PURE__ */ jsx37(
|
|
1621
1677
|
"table",
|
|
1622
1678
|
{
|
|
1623
1679
|
"data-slot": "table",
|
|
@@ -1629,7 +1685,7 @@ function Table({ className, ...props }) {
|
|
|
1629
1685
|
);
|
|
1630
1686
|
}
|
|
1631
1687
|
function TableHeader({ className, ...props }) {
|
|
1632
|
-
return /* @__PURE__ */
|
|
1688
|
+
return /* @__PURE__ */ jsx37(
|
|
1633
1689
|
"thead",
|
|
1634
1690
|
{
|
|
1635
1691
|
"data-slot": "table-header",
|
|
@@ -1642,7 +1698,7 @@ function TableHeader({ className, ...props }) {
|
|
|
1642
1698
|
);
|
|
1643
1699
|
}
|
|
1644
1700
|
function TableBody({ className, ...props }) {
|
|
1645
|
-
return /* @__PURE__ */
|
|
1701
|
+
return /* @__PURE__ */ jsx37(
|
|
1646
1702
|
"tbody",
|
|
1647
1703
|
{
|
|
1648
1704
|
"data-slot": "table-body",
|
|
@@ -1655,7 +1711,7 @@ function TableBody({ className, ...props }) {
|
|
|
1655
1711
|
);
|
|
1656
1712
|
}
|
|
1657
1713
|
function TableRow({ className, ...props }) {
|
|
1658
|
-
return /* @__PURE__ */
|
|
1714
|
+
return /* @__PURE__ */ jsx37(
|
|
1659
1715
|
"tr",
|
|
1660
1716
|
{
|
|
1661
1717
|
"data-slot": "table-row",
|
|
@@ -1668,7 +1724,7 @@ function TableRow({ className, ...props }) {
|
|
|
1668
1724
|
);
|
|
1669
1725
|
}
|
|
1670
1726
|
function TableHead({ className, ...props }) {
|
|
1671
|
-
return /* @__PURE__ */
|
|
1727
|
+
return /* @__PURE__ */ jsx37(
|
|
1672
1728
|
"th",
|
|
1673
1729
|
{
|
|
1674
1730
|
"data-slot": "table-head",
|
|
@@ -1681,7 +1737,7 @@ function TableHead({ className, ...props }) {
|
|
|
1681
1737
|
);
|
|
1682
1738
|
}
|
|
1683
1739
|
function TableCell({ className, ...props }) {
|
|
1684
|
-
return /* @__PURE__ */
|
|
1740
|
+
return /* @__PURE__ */ jsx37(
|
|
1685
1741
|
"td",
|
|
1686
1742
|
{
|
|
1687
1743
|
"data-slot": "table-cell",
|
|
@@ -1695,7 +1751,7 @@ function TableCell({ className, ...props }) {
|
|
|
1695
1751
|
}
|
|
1696
1752
|
|
|
1697
1753
|
// src/components/ui/data-table.tsx
|
|
1698
|
-
import { Fragment as Fragment12, jsx as
|
|
1754
|
+
import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1699
1755
|
function DataTable({
|
|
1700
1756
|
columns,
|
|
1701
1757
|
rowActions,
|
|
@@ -1720,14 +1776,14 @@ function DataTable({
|
|
|
1720
1776
|
onCellClick(rowData, columnId);
|
|
1721
1777
|
}
|
|
1722
1778
|
};
|
|
1723
|
-
return /* @__PURE__ */
|
|
1724
|
-
/* @__PURE__ */
|
|
1725
|
-
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(
|
|
1726
1782
|
header.column.columnDef.header,
|
|
1727
1783
|
header.getContext()
|
|
1728
1784
|
) }, header.id);
|
|
1729
1785
|
}) }, headerGroup.id)) }),
|
|
1730
|
-
/* @__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(
|
|
1731
1787
|
TableRow,
|
|
1732
1788
|
{
|
|
1733
1789
|
"data-state": row.getIsSelected() && "selected",
|
|
@@ -1737,7 +1793,7 @@ function DataTable({
|
|
|
1737
1793
|
const isCellClickable = cellClickEnabled(row.original, cell.column.id);
|
|
1738
1794
|
const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
|
|
1739
1795
|
const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
|
|
1740
|
-
return /* @__PURE__ */
|
|
1796
|
+
return /* @__PURE__ */ jsx38(
|
|
1741
1797
|
TableCell,
|
|
1742
1798
|
{
|
|
1743
1799
|
className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
|
|
@@ -1752,36 +1808,233 @@ function DataTable({
|
|
|
1752
1808
|
cell.id
|
|
1753
1809
|
);
|
|
1754
1810
|
}),
|
|
1755
|
-
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)) })
|
|
1756
1812
|
]
|
|
1757
1813
|
},
|
|
1758
1814
|
row.id
|
|
1759
|
-
)) : /* @__PURE__ */
|
|
1815
|
+
)) : /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
|
|
1760
1816
|
] }) });
|
|
1761
1817
|
}
|
|
1762
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
|
+
|
|
1763
1998
|
// src/components/DataDisplay/Table/Table.tsx
|
|
1764
|
-
import {
|
|
1765
|
-
|
|
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 }) => {
|
|
1766
2002
|
const rawColumns = Array.isArray(columns) ? columns : [];
|
|
1767
2003
|
const rawData = Array.isArray(data) ? data : [];
|
|
1768
2004
|
const rawRowActions = Array.isArray(rowActions) ? rowActions : [];
|
|
1769
|
-
|
|
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
|
+
const paginatedData = enablePagination ? rawData.slice((currentPage - 1) * itemsPerPage, currentPage * itemsPerPage) : rawData;
|
|
2012
|
+
return /* @__PURE__ */ jsxs23("div", { className: `${className} space-y-3`, style, children: [
|
|
2013
|
+
/* @__PURE__ */ jsx41(DataTable, { columns: rawColumns, data: paginatedData, rowActions: rawRowActions }),
|
|
2014
|
+
enablePagination && /* @__PURE__ */ jsx41(
|
|
2015
|
+
Pagination_default,
|
|
2016
|
+
{
|
|
2017
|
+
totalPages: Math.ceil(rawData.length / itemsPerPage),
|
|
2018
|
+
currentPage,
|
|
2019
|
+
onPageChange: handlePageChange
|
|
2020
|
+
}
|
|
2021
|
+
)
|
|
2022
|
+
] });
|
|
1770
2023
|
};
|
|
1771
2024
|
var Table_default = Table2;
|
|
1772
2025
|
|
|
1773
2026
|
// src/components/ui/dropdown-menu.tsx
|
|
1774
2027
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1775
|
-
import { jsx as
|
|
2028
|
+
import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1776
2029
|
function DropdownMenu({
|
|
1777
2030
|
...props
|
|
1778
2031
|
}) {
|
|
1779
|
-
return /* @__PURE__ */
|
|
2032
|
+
return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
1780
2033
|
}
|
|
1781
2034
|
function DropdownMenuTrigger({
|
|
1782
2035
|
...props
|
|
1783
2036
|
}) {
|
|
1784
|
-
return /* @__PURE__ */
|
|
2037
|
+
return /* @__PURE__ */ jsx42(
|
|
1785
2038
|
DropdownMenuPrimitive.Trigger,
|
|
1786
2039
|
{
|
|
1787
2040
|
"data-slot": "dropdown-menu-trigger",
|
|
@@ -1794,7 +2047,7 @@ function DropdownMenuContent({
|
|
|
1794
2047
|
sideOffset = 4,
|
|
1795
2048
|
...props
|
|
1796
2049
|
}) {
|
|
1797
|
-
return /* @__PURE__ */
|
|
2050
|
+
return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx42(
|
|
1798
2051
|
DropdownMenuPrimitive.Content,
|
|
1799
2052
|
{
|
|
1800
2053
|
"data-slot": "dropdown-menu-content",
|
|
@@ -1813,7 +2066,7 @@ function DropdownMenuItem({
|
|
|
1813
2066
|
variant = "default",
|
|
1814
2067
|
...props
|
|
1815
2068
|
}) {
|
|
1816
|
-
return /* @__PURE__ */
|
|
2069
|
+
return /* @__PURE__ */ jsx42(
|
|
1817
2070
|
DropdownMenuPrimitive.Item,
|
|
1818
2071
|
{
|
|
1819
2072
|
"data-slot": "dropdown-menu-item",
|
|
@@ -1827,9 +2080,40 @@ function DropdownMenuItem({
|
|
|
1827
2080
|
}
|
|
1828
2081
|
);
|
|
1829
2082
|
}
|
|
2083
|
+
function DropdownMenuLabel({
|
|
2084
|
+
className,
|
|
2085
|
+
inset,
|
|
2086
|
+
...props
|
|
2087
|
+
}) {
|
|
2088
|
+
return /* @__PURE__ */ jsx42(
|
|
2089
|
+
DropdownMenuPrimitive.Label,
|
|
2090
|
+
{
|
|
2091
|
+
"data-slot": "dropdown-menu-label",
|
|
2092
|
+
"data-inset": inset,
|
|
2093
|
+
className: cn(
|
|
2094
|
+
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
2095
|
+
className
|
|
2096
|
+
),
|
|
2097
|
+
...props
|
|
2098
|
+
}
|
|
2099
|
+
);
|
|
2100
|
+
}
|
|
2101
|
+
function DropdownMenuSeparator({
|
|
2102
|
+
className,
|
|
2103
|
+
...props
|
|
2104
|
+
}) {
|
|
2105
|
+
return /* @__PURE__ */ jsx42(
|
|
2106
|
+
DropdownMenuPrimitive.Separator,
|
|
2107
|
+
{
|
|
2108
|
+
"data-slot": "dropdown-menu-separator",
|
|
2109
|
+
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
2110
|
+
...props
|
|
2111
|
+
}
|
|
2112
|
+
);
|
|
2113
|
+
}
|
|
1830
2114
|
|
|
1831
2115
|
// src/components/Navigation/Tabs/Tabs.tsx
|
|
1832
|
-
import { jsx as
|
|
2116
|
+
import { jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1833
2117
|
var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
1834
2118
|
const rawTabs = Array.isArray(tabs) ? tabs : [];
|
|
1835
2119
|
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 ";
|
|
@@ -1839,7 +2123,7 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1839
2123
|
if (!path) return false;
|
|
1840
2124
|
return pathname === path || path !== "/" && pathname?.startsWith(path);
|
|
1841
2125
|
};
|
|
1842
|
-
return /* @__PURE__ */
|
|
2126
|
+
return /* @__PURE__ */ jsx43("div", { className, style, children: rawTabs.map((tab, index) => {
|
|
1843
2127
|
const finalClasses = [
|
|
1844
2128
|
baseClasses,
|
|
1845
2129
|
isActive(tab.href) ? activeClasses : hoverClasses,
|
|
@@ -1847,29 +2131,29 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1847
2131
|
].join(" ");
|
|
1848
2132
|
const hasDropdown = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
|
|
1849
2133
|
if (hasDropdown) {
|
|
1850
|
-
return /* @__PURE__ */
|
|
1851
|
-
/* @__PURE__ */
|
|
2134
|
+
return /* @__PURE__ */ jsxs25(DropdownMenu, { children: [
|
|
2135
|
+
/* @__PURE__ */ jsxs25(
|
|
1852
2136
|
DropdownMenuTrigger,
|
|
1853
2137
|
{
|
|
1854
2138
|
className: `${finalClasses} inline-flex items-center gap-1`,
|
|
1855
2139
|
children: [
|
|
1856
2140
|
tab.header,
|
|
1857
|
-
/* @__PURE__ */
|
|
2141
|
+
/* @__PURE__ */ jsx43(ChevronDown, { className: "h-4 w-4 opacity-80" })
|
|
1858
2142
|
]
|
|
1859
2143
|
}
|
|
1860
2144
|
),
|
|
1861
|
-
/* @__PURE__ */
|
|
2145
|
+
/* @__PURE__ */ jsx43(
|
|
1862
2146
|
DropdownMenuContent,
|
|
1863
2147
|
{
|
|
1864
2148
|
align: "start",
|
|
1865
2149
|
sideOffset: 6,
|
|
1866
2150
|
className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
|
|
1867
|
-
children: tab.children.map((item) => /* @__PURE__ */
|
|
2151
|
+
children: tab.children.map((item) => /* @__PURE__ */ jsx43(
|
|
1868
2152
|
DropdownMenuItem,
|
|
1869
2153
|
{
|
|
1870
2154
|
asChild: true,
|
|
1871
2155
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
|
|
1872
|
-
children: LinkComponent ? /* @__PURE__ */
|
|
2156
|
+
children: LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
|
|
1873
2157
|
},
|
|
1874
2158
|
item.id
|
|
1875
2159
|
))
|
|
@@ -1877,19 +2161,19 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
|
|
|
1877
2161
|
)
|
|
1878
2162
|
] }, index);
|
|
1879
2163
|
}
|
|
1880
|
-
return tab.url && LinkComponent ? /* @__PURE__ */
|
|
2164
|
+
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);
|
|
1881
2165
|
}) });
|
|
1882
2166
|
};
|
|
1883
2167
|
var Tabs_default = Tabs;
|
|
1884
2168
|
|
|
1885
2169
|
// src/components/Navigation/Stages/Stages.tsx
|
|
1886
2170
|
import React14 from "react";
|
|
1887
|
-
import { jsx as
|
|
2171
|
+
import { jsx as jsx44, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1888
2172
|
var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
|
|
1889
|
-
return /* @__PURE__ */
|
|
1890
|
-
/* @__PURE__ */
|
|
1891
|
-
/* @__PURE__ */
|
|
1892
|
-
/* @__PURE__ */
|
|
2173
|
+
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: [
|
|
2174
|
+
/* @__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" }) }) }) }),
|
|
2175
|
+
/* @__PURE__ */ jsx44("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs26(React14.Fragment, { children: [
|
|
2176
|
+
/* @__PURE__ */ jsx44(
|
|
1893
2177
|
"button",
|
|
1894
2178
|
{
|
|
1895
2179
|
className: `
|
|
@@ -1897,26 +2181,26 @@ var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
|
|
|
1897
2181
|
children: stage.header
|
|
1898
2182
|
}
|
|
1899
2183
|
),
|
|
1900
|
-
index < stages.length - 1 && /* @__PURE__ */
|
|
2184
|
+
index < stages.length - 1 && /* @__PURE__ */ jsx44("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
|
|
1901
2185
|
] }, stage.id)) }),
|
|
1902
|
-
isShowBtn && /* @__PURE__ */
|
|
2186
|
+
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 }) })
|
|
1903
2187
|
] }) });
|
|
1904
2188
|
};
|
|
1905
2189
|
var Stages_default = StagesComponent;
|
|
1906
2190
|
|
|
1907
2191
|
// src/components/Navigation/Spacer/Spacer.tsx
|
|
1908
|
-
import { jsx as
|
|
2192
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
1909
2193
|
var Spacer = ({ className, style }) => {
|
|
1910
|
-
return /* @__PURE__ */
|
|
2194
|
+
return /* @__PURE__ */ jsx45("div", { className: `${className}`, style });
|
|
1911
2195
|
};
|
|
1912
2196
|
var Spacer_default = Spacer;
|
|
1913
2197
|
|
|
1914
2198
|
// src/components/Navigation/Profile/Profile.tsx
|
|
1915
|
-
import { jsx as
|
|
2199
|
+
import { jsx as jsx46, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1916
2200
|
var Profile = ({ profileType, showName, userName, className, style }) => {
|
|
1917
|
-
return /* @__PURE__ */
|
|
1918
|
-
showName && /* @__PURE__ */
|
|
1919
|
-
profileType === "avatar" ? /* @__PURE__ */
|
|
2201
|
+
return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
|
|
2202
|
+
showName && /* @__PURE__ */ jsx46("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
|
|
2203
|
+
profileType === "avatar" ? /* @__PURE__ */ jsx46(
|
|
1920
2204
|
"img",
|
|
1921
2205
|
{
|
|
1922
2206
|
src: "https://builder.development.algorithmshift.ai/images/toolset/profile.svg",
|
|
@@ -1924,16 +2208,16 @@ var Profile = ({ profileType, showName, userName, className, style }) => {
|
|
|
1924
2208
|
width: 24,
|
|
1925
2209
|
height: 24
|
|
1926
2210
|
}
|
|
1927
|
-
) : /* @__PURE__ */
|
|
2211
|
+
) : /* @__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" })
|
|
1928
2212
|
] }) });
|
|
1929
2213
|
};
|
|
1930
2214
|
var Profile_default = Profile;
|
|
1931
2215
|
|
|
1932
2216
|
// src/components/Navigation/Notification/Notification.tsx
|
|
1933
|
-
import { jsx as
|
|
2217
|
+
import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1934
2218
|
var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhenZero }) => {
|
|
1935
|
-
return /* @__PURE__ */
|
|
1936
|
-
/* @__PURE__ */
|
|
2219
|
+
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: [
|
|
2220
|
+
/* @__PURE__ */ jsx47(
|
|
1937
2221
|
"img",
|
|
1938
2222
|
{
|
|
1939
2223
|
src: "https://builder.development.algorithmshift.ai/images/toolset/notification.svg",
|
|
@@ -1942,7 +2226,7 @@ var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhen
|
|
|
1942
2226
|
height: 18
|
|
1943
2227
|
}
|
|
1944
2228
|
),
|
|
1945
|
-
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */
|
|
2229
|
+
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]" })
|
|
1946
2230
|
] }) });
|
|
1947
2231
|
};
|
|
1948
2232
|
var Notification_default = Notification;
|
|
@@ -1951,7 +2235,7 @@ var Notification_default = Notification;
|
|
|
1951
2235
|
var logo_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDgAAAGPCAYAAAC552DlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3d6X+V5Z0/8G8WEhIgSBKWkLCECFIJAoILdRRU3NsBtXVrq+PymmkfzuN5MP0L5pmvdtpqX3aqti5V61jrVm2p24AKggqKRHYQCEsgQNbfA176U8tyQu6Tkwve74fknO/1PbmuHM79Ofd93UU//elPewMAAAAgYcWFbgAAAACgvwQcAAAAQPIEHAAAAEDyBBwAAABA8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m1xcXFccstt8Q555yT97FyUVpaGt///vfjiSeeiIMHDxa6nROyts4cI0aMiP/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/Dhw5n0MWrUqJg1a1YmtVJlXgFOzBkc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CDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5/w8RG1j/1Z36RAAAAABJRU5ErkJggg==";
|
|
1952
2236
|
|
|
1953
2237
|
// src/components/Navigation/Logo/Logo.tsx
|
|
1954
|
-
import { jsx as
|
|
2238
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1955
2239
|
var Logo = ({
|
|
1956
2240
|
className,
|
|
1957
2241
|
style,
|
|
@@ -1959,7 +2243,7 @@ var Logo = ({
|
|
|
1959
2243
|
altText = "Preview"
|
|
1960
2244
|
}) => {
|
|
1961
2245
|
if (!imageUrl) {
|
|
1962
|
-
return /* @__PURE__ */
|
|
2246
|
+
return /* @__PURE__ */ jsx48(
|
|
1963
2247
|
"div",
|
|
1964
2248
|
{
|
|
1965
2249
|
className: cn(
|
|
@@ -1967,31 +2251,370 @@ var Logo = ({
|
|
|
1967
2251
|
"p-0"
|
|
1968
2252
|
),
|
|
1969
2253
|
style,
|
|
1970
|
-
children: /* @__PURE__ */
|
|
2254
|
+
children: /* @__PURE__ */ jsx48("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
|
|
1971
2255
|
}
|
|
1972
2256
|
);
|
|
1973
2257
|
}
|
|
1974
|
-
return /* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ jsx48("img", { src: imageUrl, alt: altText, className, style });
|
|
1975
2259
|
};
|
|
1976
2260
|
var Logo_default = Logo;
|
|
2261
|
+
|
|
2262
|
+
// src/components/ui/avatar.tsx
|
|
2263
|
+
import * as React15 from "react";
|
|
2264
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
2265
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
2266
|
+
var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2267
|
+
AvatarPrimitive.Root,
|
|
2268
|
+
{
|
|
2269
|
+
ref,
|
|
2270
|
+
className: cn(
|
|
2271
|
+
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
2272
|
+
className
|
|
2273
|
+
),
|
|
2274
|
+
...props
|
|
2275
|
+
}
|
|
2276
|
+
));
|
|
2277
|
+
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
2278
|
+
var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2279
|
+
AvatarPrimitive.Image,
|
|
2280
|
+
{
|
|
2281
|
+
ref,
|
|
2282
|
+
className: cn("aspect-square h-full w-full", className),
|
|
2283
|
+
...props
|
|
2284
|
+
}
|
|
2285
|
+
));
|
|
2286
|
+
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
2287
|
+
var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
|
|
2288
|
+
AvatarPrimitive.Fallback,
|
|
2289
|
+
{
|
|
2290
|
+
ref,
|
|
2291
|
+
className: cn(
|
|
2292
|
+
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
2293
|
+
className
|
|
2294
|
+
),
|
|
2295
|
+
...props
|
|
2296
|
+
}
|
|
2297
|
+
));
|
|
2298
|
+
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
2299
|
+
|
|
2300
|
+
// src/components/Navigation/Navbar/Navbar.tsx
|
|
2301
|
+
import { Fragment as Fragment13, jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2302
|
+
function Navbar({
|
|
2303
|
+
style,
|
|
2304
|
+
badgeType,
|
|
2305
|
+
badgeCount = 0,
|
|
2306
|
+
hideBadgeWhenZero,
|
|
2307
|
+
profileType,
|
|
2308
|
+
showName,
|
|
2309
|
+
imageUrl,
|
|
2310
|
+
altText = "Logo",
|
|
2311
|
+
canvasMode = "desktop",
|
|
2312
|
+
LinkComponent,
|
|
2313
|
+
ImageComponent
|
|
2314
|
+
}) {
|
|
2315
|
+
const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
|
|
2316
|
+
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: [
|
|
2317
|
+
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" }),
|
|
2318
|
+
/* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-3", children: [
|
|
2319
|
+
!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: [
|
|
2320
|
+
/* @__PURE__ */ jsx50(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
|
|
2321
|
+
/* @__PURE__ */ jsx50(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
|
|
2322
|
+
] }) }) : /* @__PURE__ */ jsx50(
|
|
2323
|
+
Button,
|
|
2324
|
+
{
|
|
2325
|
+
variant: "ghost",
|
|
2326
|
+
size: "icon",
|
|
2327
|
+
className: "border border-gray-400",
|
|
2328
|
+
children: /* @__PURE__ */ jsx50(Search, { className: "h-5 w-5 text-gray-400" })
|
|
2329
|
+
}
|
|
2330
|
+
),
|
|
2331
|
+
/* @__PURE__ */ jsxs29("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
|
|
2332
|
+
/* @__PURE__ */ jsx50(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx50(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
|
|
2333
|
+
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" })
|
|
2334
|
+
] }),
|
|
2335
|
+
/* @__PURE__ */ jsxs29(DropdownMenu, { children: [
|
|
2336
|
+
/* @__PURE__ */ jsx50(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-2", children: [
|
|
2337
|
+
!isMobileView && showName && /* @__PURE__ */ jsx50("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
|
|
2338
|
+
!isMobileView ? /* @__PURE__ */ jsxs29(Fragment13, { children: [
|
|
2339
|
+
/* @__PURE__ */ jsx50(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx50(
|
|
2340
|
+
AvatarImage,
|
|
2341
|
+
{
|
|
2342
|
+
src: "/images/appbuilder/toolset/profile.svg",
|
|
2343
|
+
alt: "Akbar Sheriff"
|
|
2344
|
+
}
|
|
2345
|
+
) : /* @__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" }) }),
|
|
2346
|
+
/* @__PURE__ */ jsx50(
|
|
2347
|
+
Button,
|
|
2348
|
+
{
|
|
2349
|
+
variant: "ghost",
|
|
2350
|
+
size: "icon",
|
|
2351
|
+
className: "text-gray-900 md:hidden",
|
|
2352
|
+
children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
|
|
2353
|
+
}
|
|
2354
|
+
)
|
|
2355
|
+
] }) : /* @__PURE__ */ jsx50(
|
|
2356
|
+
Button,
|
|
2357
|
+
{
|
|
2358
|
+
variant: "ghost",
|
|
2359
|
+
size: "icon",
|
|
2360
|
+
className: "text-gray-900",
|
|
2361
|
+
children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
|
|
2362
|
+
}
|
|
2363
|
+
)
|
|
2364
|
+
] }) }),
|
|
2365
|
+
/* @__PURE__ */ jsxs29(DropdownMenuContent, { align: "end", className: "bg-white", children: [
|
|
2366
|
+
/* @__PURE__ */ jsx50(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
|
|
2367
|
+
/* @__PURE__ */ jsx50(DropdownMenuSeparator, {}),
|
|
2368
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Profile" }),
|
|
2369
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Settings" }),
|
|
2370
|
+
/* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Logout" })
|
|
2371
|
+
] })
|
|
2372
|
+
] })
|
|
2373
|
+
] })
|
|
2374
|
+
] }) });
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
// src/components/Chart/BarChart.tsx
|
|
2378
|
+
import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
|
|
2379
|
+
import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2380
|
+
var ChartComponent = ({ className, style, ...props }) => {
|
|
2381
|
+
const data = Array.isArray(props?.data) ? props.data : [];
|
|
2382
|
+
const chartType = props.chartType || "bar";
|
|
2383
|
+
const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
|
|
2384
|
+
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: [
|
|
2385
|
+
/* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
2386
|
+
/* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
|
|
2387
|
+
/* @__PURE__ */ jsx51(YAxis, {}),
|
|
2388
|
+
/* @__PURE__ */ jsx51(Tooltip, {}),
|
|
2389
|
+
/* @__PURE__ */ jsx51(Legend, { verticalAlign: legendsPosition, align: "center" }),
|
|
2390
|
+
/* @__PURE__ */ jsx51(Bar, { dataKey: "value", fill: "#00695C" })
|
|
2391
|
+
] }) : /* @__PURE__ */ jsxs30(AreaChart, { data, children: [
|
|
2392
|
+
/* @__PURE__ */ jsx51("defs", { children: /* @__PURE__ */ jsxs30("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
2393
|
+
/* @__PURE__ */ jsx51("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
|
|
2394
|
+
/* @__PURE__ */ jsx51("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
|
|
2395
|
+
] }) }),
|
|
2396
|
+
/* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
2397
|
+
/* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
|
|
2398
|
+
/* @__PURE__ */ jsx51(YAxis, {}),
|
|
2399
|
+
/* @__PURE__ */ jsx51(Tooltip, {}),
|
|
2400
|
+
/* @__PURE__ */ jsx51(
|
|
2401
|
+
Area,
|
|
2402
|
+
{
|
|
2403
|
+
type: "monotone",
|
|
2404
|
+
dataKey: "value",
|
|
2405
|
+
stroke: "#00695C",
|
|
2406
|
+
fillOpacity: 1,
|
|
2407
|
+
fill: "url(#colorCount)"
|
|
2408
|
+
}
|
|
2409
|
+
)
|
|
2410
|
+
] }) }) });
|
|
2411
|
+
};
|
|
2412
|
+
var BarChart_default = ChartComponent;
|
|
2413
|
+
|
|
2414
|
+
// src/components/Chart/PieChart.tsx
|
|
2415
|
+
import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
|
|
2416
|
+
import { Fragment as Fragment14, jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2417
|
+
var DonutChart = ({ className, style, ...props }) => {
|
|
2418
|
+
const data = Array.isArray(props?.data) ? props.data : [];
|
|
2419
|
+
const total = data.reduce((sum, d) => sum + d.value, 0);
|
|
2420
|
+
const showPercentage = props.showPercentage ?? true;
|
|
2421
|
+
const showLegends = props.showLegends ?? true;
|
|
2422
|
+
const labelType = props.labelType || "inside";
|
|
2423
|
+
const canvasMode = props.canvasMode;
|
|
2424
|
+
const renderLabel = ({ value, x, y }) => {
|
|
2425
|
+
if (value == null) return null;
|
|
2426
|
+
const percentage = (Number(value) / total * 100).toFixed(0);
|
|
2427
|
+
return /* @__PURE__ */ jsxs31(
|
|
2428
|
+
"text",
|
|
2429
|
+
{
|
|
2430
|
+
x,
|
|
2431
|
+
y,
|
|
2432
|
+
textAnchor: "middle",
|
|
2433
|
+
dominantBaseline: "central",
|
|
2434
|
+
className: "text-[10px] font-semibold",
|
|
2435
|
+
fill: labelType === "inside" ? "#fff" : "#000",
|
|
2436
|
+
children: [
|
|
2437
|
+
value,
|
|
2438
|
+
"k ",
|
|
2439
|
+
showPercentage ? `(${percentage}%)` : ""
|
|
2440
|
+
]
|
|
2441
|
+
}
|
|
2442
|
+
);
|
|
2443
|
+
};
|
|
2444
|
+
const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
|
|
2445
|
+
const forceDesktop = canvasMode === "desktop";
|
|
2446
|
+
const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
|
|
2447
|
+
const renderLegends = () => {
|
|
2448
|
+
if (!showLegends) return null;
|
|
2449
|
+
return /* @__PURE__ */ jsx52(Fragment14, { children: data.map((d) => /* @__PURE__ */ jsxs31(
|
|
2450
|
+
"div",
|
|
2451
|
+
{
|
|
2452
|
+
className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
|
|
2453
|
+
children: [
|
|
2454
|
+
/* @__PURE__ */ jsx52(
|
|
2455
|
+
"span",
|
|
2456
|
+
{
|
|
2457
|
+
className: "inline-block w-[16px] h-[16px] rounded",
|
|
2458
|
+
style: { backgroundColor: d.color }
|
|
2459
|
+
}
|
|
2460
|
+
),
|
|
2461
|
+
/* @__PURE__ */ jsx52("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
|
|
2462
|
+
]
|
|
2463
|
+
},
|
|
2464
|
+
d.name
|
|
2465
|
+
)) });
|
|
2466
|
+
};
|
|
2467
|
+
return /* @__PURE__ */ jsxs31(
|
|
2468
|
+
"div",
|
|
2469
|
+
{
|
|
2470
|
+
className: `relative flex items-center ${wrapperClass} ${className}`,
|
|
2471
|
+
style,
|
|
2472
|
+
children: [
|
|
2473
|
+
/* @__PURE__ */ jsxs31("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
|
|
2474
|
+
data.length > 0 && /* @__PURE__ */ jsx52(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs31(PieChart, { children: [
|
|
2475
|
+
/* @__PURE__ */ jsxs31(
|
|
2476
|
+
Pie,
|
|
2477
|
+
{
|
|
2478
|
+
data,
|
|
2479
|
+
cx: "50%",
|
|
2480
|
+
cy: "50%",
|
|
2481
|
+
innerRadius: 70,
|
|
2482
|
+
outerRadius: 120,
|
|
2483
|
+
dataKey: "value",
|
|
2484
|
+
labelLine: false,
|
|
2485
|
+
isAnimationActive: false,
|
|
2486
|
+
children: [
|
|
2487
|
+
data.map((entry, index) => /* @__PURE__ */ jsx52(Cell, { fill: entry.color }, `cell-${index}`)),
|
|
2488
|
+
/* @__PURE__ */ jsx52(
|
|
2489
|
+
LabelList,
|
|
2490
|
+
{
|
|
2491
|
+
dataKey: "value",
|
|
2492
|
+
position: labelType === "inside" ? "inside" : "outside",
|
|
2493
|
+
content: renderLabel
|
|
2494
|
+
}
|
|
2495
|
+
)
|
|
2496
|
+
]
|
|
2497
|
+
}
|
|
2498
|
+
),
|
|
2499
|
+
/* @__PURE__ */ jsx52(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
|
|
2500
|
+
] }) }),
|
|
2501
|
+
/* @__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: [
|
|
2502
|
+
total,
|
|
2503
|
+
"k"
|
|
2504
|
+
] })
|
|
2505
|
+
] }),
|
|
2506
|
+
/* @__PURE__ */ jsx52("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
|
|
2507
|
+
w-full md:w-auto`, children: renderLegends() })
|
|
2508
|
+
]
|
|
2509
|
+
}
|
|
2510
|
+
);
|
|
2511
|
+
};
|
|
2512
|
+
var PieChart_default = DonutChart;
|
|
2513
|
+
|
|
2514
|
+
// src/components/Blocks/EmailComposer.tsx
|
|
2515
|
+
import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2516
|
+
function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
|
|
2517
|
+
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: [
|
|
2518
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2519
|
+
"input",
|
|
2520
|
+
{
|
|
2521
|
+
type: "email",
|
|
2522
|
+
placeholder: "From",
|
|
2523
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]",
|
|
2524
|
+
required: true
|
|
2525
|
+
}
|
|
2526
|
+
) }),
|
|
2527
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
|
|
2528
|
+
/* @__PURE__ */ jsx53(
|
|
2529
|
+
"input",
|
|
2530
|
+
{
|
|
2531
|
+
type: "email",
|
|
2532
|
+
value: to,
|
|
2533
|
+
onChange: (e) => setTo?.(e.target.value),
|
|
2534
|
+
placeholder: "To",
|
|
2535
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]",
|
|
2536
|
+
required: true
|
|
2537
|
+
}
|
|
2538
|
+
),
|
|
2539
|
+
!showCc && /* @__PURE__ */ jsx53(
|
|
2540
|
+
"button",
|
|
2541
|
+
{
|
|
2542
|
+
onClick: () => setShowCc?.(true),
|
|
2543
|
+
className: "px-3 py-1 border rounded-md text-sm hover:bg-gray-100 bg-[#E9E9E9] text-[#383838]",
|
|
2544
|
+
children: "Cc"
|
|
2545
|
+
}
|
|
2546
|
+
),
|
|
2547
|
+
!showBcc && /* @__PURE__ */ jsx53(
|
|
2548
|
+
"button",
|
|
2549
|
+
{
|
|
2550
|
+
onClick: () => setShowBcc?.(true),
|
|
2551
|
+
className: "px-3 py-1 border rounded-md text-sm hover:bg-gray-100 bg-[#E9E9E9] text-[#383838]",
|
|
2552
|
+
children: "Bcc"
|
|
2553
|
+
}
|
|
2554
|
+
)
|
|
2555
|
+
] }) }),
|
|
2556
|
+
showCc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2557
|
+
"input",
|
|
2558
|
+
{
|
|
2559
|
+
type: "text",
|
|
2560
|
+
value: cc,
|
|
2561
|
+
onChange: (e) => setCc?.(e.target.value),
|
|
2562
|
+
placeholder: "Cc",
|
|
2563
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2564
|
+
}
|
|
2565
|
+
) }),
|
|
2566
|
+
showBcc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2567
|
+
"input",
|
|
2568
|
+
{
|
|
2569
|
+
type: "text",
|
|
2570
|
+
value: bcc,
|
|
2571
|
+
onChange: (e) => setBcc?.(e.target.value),
|
|
2572
|
+
placeholder: "Bcc",
|
|
2573
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2574
|
+
}
|
|
2575
|
+
) }),
|
|
2576
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
|
|
2577
|
+
"input",
|
|
2578
|
+
{
|
|
2579
|
+
type: "text",
|
|
2580
|
+
value: subject,
|
|
2581
|
+
onChange: (e) => setSubject?.(e.target.value),
|
|
2582
|
+
placeholder: "Subject",
|
|
2583
|
+
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
2584
|
+
}
|
|
2585
|
+
) }),
|
|
2586
|
+
/* @__PURE__ */ jsx53("div", { className: "mb-4", children: /* @__PURE__ */ jsx53(MyEditor, { value: body, onChange: setBody }) }),
|
|
2587
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex justify-end gap-2", children: [
|
|
2588
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
|
|
2589
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
|
|
2590
|
+
/* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
|
|
2591
|
+
] })
|
|
2592
|
+
] }) });
|
|
2593
|
+
}
|
|
1977
2594
|
export {
|
|
2595
|
+
BarChart_default as BarChart,
|
|
1978
2596
|
Button_default as Button,
|
|
1979
2597
|
Checkbox_default as Checkbox,
|
|
1980
2598
|
Container_default as Container,
|
|
1981
2599
|
DatePicker,
|
|
1982
2600
|
DateRange_default as DateRange,
|
|
1983
2601
|
Dropdown_default as Dropdown,
|
|
2602
|
+
EmailComposer,
|
|
1984
2603
|
EmailInput_default as EmailInput,
|
|
1985
2604
|
FileInput_default as FileInput,
|
|
1986
2605
|
Flex_default as FlexLayout,
|
|
1987
2606
|
Grid_default as GridLayout,
|
|
1988
2607
|
Image_default as Image,
|
|
1989
2608
|
Logo_default as Logo,
|
|
2609
|
+
Modal_default as Modal,
|
|
1990
2610
|
MultiCheckbox_default as MultiCheckbox,
|
|
2611
|
+
Navbar,
|
|
1991
2612
|
Notification_default as Notification,
|
|
1992
2613
|
NumberInput_default as NumberInput,
|
|
2614
|
+
Pagination_default as Pagination,
|
|
1993
2615
|
PasswordInput_default as PasswordInput,
|
|
1994
2616
|
PhoneInput_default as PhoneInput,
|
|
2617
|
+
PieChart_default as PieChart,
|
|
1995
2618
|
Profile_default as Profile,
|
|
1996
2619
|
RadioInput_default as RadioInput,
|
|
1997
2620
|
RichText,
|
|
@@ -2014,6 +2637,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
|
2014
2637
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
2015
2638
|
lucide-react/dist/esm/Icon.js:
|
|
2016
2639
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
2640
|
+
lucide-react/dist/esm/icons/bell.js:
|
|
2017
2641
|
lucide-react/dist/esm/icons/calculator.js:
|
|
2018
2642
|
lucide-react/dist/esm/icons/calendar.js:
|
|
2019
2643
|
lucide-react/dist/esm/icons/check.js:
|
|
@@ -2022,7 +2646,9 @@ lucide-react/dist/esm/icons/chevron-left.js:
|
|
|
2022
2646
|
lucide-react/dist/esm/icons/chevron-right.js:
|
|
2023
2647
|
lucide-react/dist/esm/icons/chevron-up.js:
|
|
2024
2648
|
lucide-react/dist/esm/icons/circle.js:
|
|
2649
|
+
lucide-react/dist/esm/icons/ellipsis.js:
|
|
2025
2650
|
lucide-react/dist/esm/icons/mail.js:
|
|
2651
|
+
lucide-react/dist/esm/icons/menu.js:
|
|
2026
2652
|
lucide-react/dist/esm/icons/scan-eye.js:
|
|
2027
2653
|
lucide-react/dist/esm/icons/search.js:
|
|
2028
2654
|
lucide-react/dist/esm/lucide-react.js:
|