@algorithm-shift/design-system 1.2.55 → 1.2.57
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/client.js +3 -2
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +3 -2
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +17 -13
- package/dist/index.d.ts +17 -13
- package/dist/index.js +370 -349
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +327 -308
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -106,10 +106,26 @@ var Accordion = ({
|
|
|
106
106
|
};
|
|
107
107
|
var Accordion_default = Accordion;
|
|
108
108
|
|
|
109
|
+
// src/components/Layout/Slot.tsx
|
|
110
|
+
import { Fragment, jsx as jsx6 } from "react/jsx-runtime";
|
|
111
|
+
var Slot = ({
|
|
112
|
+
children
|
|
113
|
+
}) => {
|
|
114
|
+
return /* @__PURE__ */ jsx6(Fragment, { children });
|
|
115
|
+
};
|
|
116
|
+
var Slot_default = Slot;
|
|
117
|
+
|
|
118
|
+
// src/components/Layout/AccordionGroup.tsx
|
|
119
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
120
|
+
var AccordionGroup = ({ children, style, className }) => {
|
|
121
|
+
return /* @__PURE__ */ jsx7("div", { className, style, children });
|
|
122
|
+
};
|
|
123
|
+
var AccordionGroup_default = AccordionGroup;
|
|
124
|
+
|
|
109
125
|
// src/components/ui/button.tsx
|
|
110
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
126
|
+
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
111
127
|
import { cva } from "class-variance-authority";
|
|
112
|
-
import { jsx as
|
|
128
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
113
129
|
var buttonVariants = cva(
|
|
114
130
|
"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",
|
|
115
131
|
{
|
|
@@ -142,8 +158,8 @@ function Button({
|
|
|
142
158
|
asChild = false,
|
|
143
159
|
...props
|
|
144
160
|
}) {
|
|
145
|
-
const Comp = asChild ?
|
|
146
|
-
return /* @__PURE__ */
|
|
161
|
+
const Comp = asChild ? Slot2 : "button";
|
|
162
|
+
return /* @__PURE__ */ jsx8(
|
|
147
163
|
Comp,
|
|
148
164
|
{
|
|
149
165
|
"data-slot": "button",
|
|
@@ -154,14 +170,14 @@ function Button({
|
|
|
154
170
|
}
|
|
155
171
|
|
|
156
172
|
// src/components/Basic/Button/Button.tsx
|
|
157
|
-
import { jsx as
|
|
173
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
158
174
|
var ButtonWrapper = ({
|
|
159
175
|
className,
|
|
160
176
|
style,
|
|
161
177
|
textContent = "Button",
|
|
162
178
|
...props
|
|
163
179
|
}) => {
|
|
164
|
-
return /* @__PURE__ */
|
|
180
|
+
return /* @__PURE__ */ jsx9(
|
|
165
181
|
Button,
|
|
166
182
|
{
|
|
167
183
|
...props,
|
|
@@ -177,7 +193,7 @@ var Button_default = ButtonWrapper;
|
|
|
177
193
|
var image_placeholder_default = "data:image/png;base64,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";
|
|
178
194
|
|
|
179
195
|
// src/components/Basic/Image/Image.tsx
|
|
180
|
-
import { jsx as
|
|
196
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
181
197
|
var ImageControl = ({
|
|
182
198
|
className,
|
|
183
199
|
style,
|
|
@@ -194,21 +210,21 @@ var ImageControl = ({
|
|
|
194
210
|
className
|
|
195
211
|
);
|
|
196
212
|
if (!imageUrl && !imageUrlExternal) {
|
|
197
|
-
return /* @__PURE__ */
|
|
213
|
+
return /* @__PURE__ */ jsx10("div", { className: imageClass, children: /* @__PURE__ */ jsx10("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
198
214
|
}
|
|
199
215
|
const url = imageUrlExternal || imageUrl;
|
|
200
|
-
return /* @__PURE__ */
|
|
216
|
+
return /* @__PURE__ */ jsx10("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
201
217
|
};
|
|
202
218
|
var Image_default = ImageControl;
|
|
203
219
|
|
|
204
220
|
// src/components/Basic/Shape/Shape.tsx
|
|
205
|
-
import { jsx as
|
|
221
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
206
222
|
var Shape = ({
|
|
207
223
|
children,
|
|
208
224
|
className,
|
|
209
225
|
style
|
|
210
226
|
}) => {
|
|
211
|
-
return /* @__PURE__ */
|
|
227
|
+
return /* @__PURE__ */ jsx11("div", { className, style, children });
|
|
212
228
|
};
|
|
213
229
|
var Shape_default = Shape;
|
|
214
230
|
|
|
@@ -26546,9 +26562,9 @@ var ZoomOut = createLucideIcon("zoom-out", __iconNode1634);
|
|
|
26546
26562
|
|
|
26547
26563
|
// src/components/Basic/Breadcrumb/Breadcrumb.tsx
|
|
26548
26564
|
import Link3 from "next/link";
|
|
26549
|
-
import { jsx as
|
|
26565
|
+
import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
26550
26566
|
var Breadcrumb = ({ list = [], className, style }) => {
|
|
26551
|
-
return /* @__PURE__ */
|
|
26567
|
+
return /* @__PURE__ */ jsx12(
|
|
26552
26568
|
"nav",
|
|
26553
26569
|
{
|
|
26554
26570
|
"aria-label": "breadcrumb",
|
|
@@ -26557,15 +26573,15 @@ var Breadcrumb = ({ list = [], className, style }) => {
|
|
|
26557
26573
|
children: list.map((item, index) => {
|
|
26558
26574
|
const isLast = index === list.length - 1;
|
|
26559
26575
|
return /* @__PURE__ */ jsxs3("div", { className: "flex items-center", children: [
|
|
26560
|
-
item.url && !isLast ? /* @__PURE__ */
|
|
26576
|
+
item.url && !isLast ? /* @__PURE__ */ jsx12(
|
|
26561
26577
|
Link3,
|
|
26562
26578
|
{
|
|
26563
26579
|
href: item.url,
|
|
26564
26580
|
className: "hover:text-foreground transition-colors",
|
|
26565
26581
|
children: item.header
|
|
26566
26582
|
}
|
|
26567
|
-
) : /* @__PURE__ */
|
|
26568
|
-
!isLast && /* @__PURE__ */
|
|
26583
|
+
) : /* @__PURE__ */ jsx12("span", { className: "text-foreground font-medium", children: item.header }),
|
|
26584
|
+
!isLast && /* @__PURE__ */ jsx12(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
|
|
26569
26585
|
] }, item.id);
|
|
26570
26586
|
})
|
|
26571
26587
|
}
|
|
@@ -26575,16 +26591,16 @@ var Breadcrumb_default = Breadcrumb;
|
|
|
26575
26591
|
|
|
26576
26592
|
// src/components/ui/dropdown-menu.tsx
|
|
26577
26593
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
26578
|
-
import { jsx as
|
|
26594
|
+
import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
26579
26595
|
function DropdownMenu({
|
|
26580
26596
|
...props
|
|
26581
26597
|
}) {
|
|
26582
|
-
return /* @__PURE__ */
|
|
26598
|
+
return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
26583
26599
|
}
|
|
26584
26600
|
function DropdownMenuTrigger({
|
|
26585
26601
|
...props
|
|
26586
26602
|
}) {
|
|
26587
|
-
return /* @__PURE__ */
|
|
26603
|
+
return /* @__PURE__ */ jsx13(
|
|
26588
26604
|
DropdownMenuPrimitive.Trigger,
|
|
26589
26605
|
{
|
|
26590
26606
|
"data-slot": "dropdown-menu-trigger",
|
|
@@ -26597,7 +26613,7 @@ function DropdownMenuContent({
|
|
|
26597
26613
|
sideOffset = 4,
|
|
26598
26614
|
...props
|
|
26599
26615
|
}) {
|
|
26600
|
-
return /* @__PURE__ */
|
|
26616
|
+
return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx13(
|
|
26601
26617
|
DropdownMenuPrimitive.Content,
|
|
26602
26618
|
{
|
|
26603
26619
|
"data-slot": "dropdown-menu-content",
|
|
@@ -26616,7 +26632,7 @@ function DropdownMenuItem({
|
|
|
26616
26632
|
variant = "default",
|
|
26617
26633
|
...props
|
|
26618
26634
|
}) {
|
|
26619
|
-
return /* @__PURE__ */
|
|
26635
|
+
return /* @__PURE__ */ jsx13(
|
|
26620
26636
|
DropdownMenuPrimitive.Item,
|
|
26621
26637
|
{
|
|
26622
26638
|
"data-slot": "dropdown-menu-item",
|
|
@@ -26633,7 +26649,7 @@ function DropdownMenuItem({
|
|
|
26633
26649
|
function DropdownMenuSub({
|
|
26634
26650
|
...props
|
|
26635
26651
|
}) {
|
|
26636
|
-
return /* @__PURE__ */
|
|
26652
|
+
return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
|
|
26637
26653
|
}
|
|
26638
26654
|
function DropdownMenuSubTrigger({
|
|
26639
26655
|
className,
|
|
@@ -26653,7 +26669,7 @@ function DropdownMenuSubTrigger({
|
|
|
26653
26669
|
...props,
|
|
26654
26670
|
children: [
|
|
26655
26671
|
children,
|
|
26656
|
-
/* @__PURE__ */
|
|
26672
|
+
/* @__PURE__ */ jsx13(ChevronRight, { className: "ml-auto size-4" })
|
|
26657
26673
|
]
|
|
26658
26674
|
}
|
|
26659
26675
|
);
|
|
@@ -26662,7 +26678,7 @@ function DropdownMenuSubContent({
|
|
|
26662
26678
|
className,
|
|
26663
26679
|
...props
|
|
26664
26680
|
}) {
|
|
26665
|
-
return /* @__PURE__ */
|
|
26681
|
+
return /* @__PURE__ */ jsx13(
|
|
26666
26682
|
DropdownMenuPrimitive.SubContent,
|
|
26667
26683
|
{
|
|
26668
26684
|
"data-slot": "dropdown-menu-sub-content",
|
|
@@ -26677,11 +26693,11 @@ function DropdownMenuSubContent({
|
|
|
26677
26693
|
|
|
26678
26694
|
// src/components/Basic/ButtonGroup/ButtonGroup.tsx
|
|
26679
26695
|
import Link4 from "next/link";
|
|
26680
|
-
import { jsx as
|
|
26696
|
+
import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
26681
26697
|
function SplitButton({ style, textContent, className, list = [] }) {
|
|
26682
26698
|
const bgColor = style?.backgroundColor || "";
|
|
26683
26699
|
return /* @__PURE__ */ jsxs5("div", { className: "inline-flex rounded-md overflow-hidden border border-teal-200 bg-teal-700 items-center focus:ring-0", style: { backgroundColor: bgColor }, children: [
|
|
26684
|
-
/* @__PURE__ */
|
|
26700
|
+
/* @__PURE__ */ jsx14(
|
|
26685
26701
|
Button,
|
|
26686
26702
|
{
|
|
26687
26703
|
className: `rounded-none border-r px-4 py-2 text-whit focus:ring-0 ${className || ""}`,
|
|
@@ -26690,16 +26706,16 @@ function SplitButton({ style, textContent, className, list = [] }) {
|
|
|
26690
26706
|
}
|
|
26691
26707
|
),
|
|
26692
26708
|
/* @__PURE__ */ jsxs5(DropdownMenu, { children: [
|
|
26693
|
-
/* @__PURE__ */
|
|
26709
|
+
/* @__PURE__ */ jsx14(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx14(
|
|
26694
26710
|
Button,
|
|
26695
26711
|
{
|
|
26696
26712
|
className: "rounded-none bg-teal-700 px-4 py-2 text-white ring-0 shadow-none hover:bg-teal-600 focus:ring-0",
|
|
26697
26713
|
"aria-label": "Open Dropdown",
|
|
26698
26714
|
style: { backgroundColor: bgColor },
|
|
26699
|
-
children: /* @__PURE__ */
|
|
26715
|
+
children: /* @__PURE__ */ jsx14(ChevronDown, { className: "w-4 h-4" })
|
|
26700
26716
|
}
|
|
26701
26717
|
) }),
|
|
26702
|
-
/* @__PURE__ */
|
|
26718
|
+
/* @__PURE__ */ jsx14(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ jsx14(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx14(Link4, { href: item.url || "#", children: item.header }) }, item.id)) })
|
|
26703
26719
|
] })
|
|
26704
26720
|
] });
|
|
26705
26721
|
}
|
|
@@ -26707,7 +26723,7 @@ function SplitButton({ style, textContent, className, list = [] }) {
|
|
|
26707
26723
|
// src/components/Basic/Icon/Icon.tsx
|
|
26708
26724
|
import * as faSolid from "@fortawesome/free-solid-svg-icons";
|
|
26709
26725
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
26710
|
-
import { jsx as
|
|
26726
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
26711
26727
|
var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize = 10, style }) => {
|
|
26712
26728
|
let content = null;
|
|
26713
26729
|
if (iconType === "fontawesome") {
|
|
@@ -26716,7 +26732,7 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
|
|
|
26716
26732
|
if (!faIcon) {
|
|
26717
26733
|
return null;
|
|
26718
26734
|
}
|
|
26719
|
-
content = /* @__PURE__ */
|
|
26735
|
+
content = /* @__PURE__ */ jsx15(
|
|
26720
26736
|
FontAwesomeIcon,
|
|
26721
26737
|
{
|
|
26722
26738
|
icon: faIcon,
|
|
@@ -26730,16 +26746,16 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
|
|
|
26730
26746
|
if (!Lucide) {
|
|
26731
26747
|
return null;
|
|
26732
26748
|
}
|
|
26733
|
-
content = /* @__PURE__ */
|
|
26749
|
+
content = /* @__PURE__ */ jsx15(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
|
|
26734
26750
|
}
|
|
26735
|
-
return /* @__PURE__ */
|
|
26751
|
+
return /* @__PURE__ */ jsx15("div", { style, className, children: content });
|
|
26736
26752
|
};
|
|
26737
26753
|
var Icon_default = Icon2;
|
|
26738
26754
|
|
|
26739
26755
|
// src/components/ui/input.tsx
|
|
26740
|
-
import { jsx as
|
|
26756
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
26741
26757
|
function Input({ className, type, ...props }) {
|
|
26742
|
-
return /* @__PURE__ */
|
|
26758
|
+
return /* @__PURE__ */ jsx16(
|
|
26743
26759
|
"input",
|
|
26744
26760
|
{
|
|
26745
26761
|
type,
|
|
@@ -26756,7 +26772,7 @@ function Input({ className, type, ...props }) {
|
|
|
26756
26772
|
}
|
|
26757
26773
|
|
|
26758
26774
|
// src/components/Inputs/TextInput/TextInput.tsx
|
|
26759
|
-
import { Fragment, jsx as
|
|
26775
|
+
import { Fragment as Fragment2, jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
26760
26776
|
var TextInput = ({ className, style, ...props }) => {
|
|
26761
26777
|
const placeholder = props.placeholder || "Placeholder text";
|
|
26762
26778
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26766,8 +26782,8 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
26766
26782
|
const handleChange = (e) => {
|
|
26767
26783
|
props.onChange?.(e);
|
|
26768
26784
|
};
|
|
26769
|
-
return /* @__PURE__ */ jsxs6(
|
|
26770
|
-
/* @__PURE__ */
|
|
26785
|
+
return /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
26786
|
+
/* @__PURE__ */ jsx17(
|
|
26771
26787
|
Input,
|
|
26772
26788
|
{
|
|
26773
26789
|
type: "text",
|
|
@@ -26785,13 +26801,13 @@ var TextInput = ({ className, style, ...props }) => {
|
|
|
26785
26801
|
readOnly: isReadonly
|
|
26786
26802
|
}
|
|
26787
26803
|
),
|
|
26788
|
-
props.errorMessage && /* @__PURE__ */
|
|
26804
|
+
props.errorMessage && /* @__PURE__ */ jsx17("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26789
26805
|
] });
|
|
26790
26806
|
};
|
|
26791
26807
|
var TextInput_default = TextInput;
|
|
26792
26808
|
|
|
26793
26809
|
// src/components/Inputs/NumberInput/NumberInput.tsx
|
|
26794
|
-
import { Fragment as
|
|
26810
|
+
import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
26795
26811
|
var NumberInput = ({ className, style, ...props }) => {
|
|
26796
26812
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
26797
26813
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26801,10 +26817,10 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
26801
26817
|
const handleChange = (e) => {
|
|
26802
26818
|
props.onChange?.(e);
|
|
26803
26819
|
};
|
|
26804
|
-
return /* @__PURE__ */ jsxs7(
|
|
26820
|
+
return /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
26805
26821
|
/* @__PURE__ */ jsxs7("div", { className: "flex justify-start items-center relative", children: [
|
|
26806
|
-
/* @__PURE__ */
|
|
26807
|
-
/* @__PURE__ */
|
|
26822
|
+
/* @__PURE__ */ jsx18(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
26823
|
+
/* @__PURE__ */ jsx18(
|
|
26808
26824
|
Input,
|
|
26809
26825
|
{
|
|
26810
26826
|
type: "number",
|
|
@@ -26824,13 +26840,13 @@ var NumberInput = ({ className, style, ...props }) => {
|
|
|
26824
26840
|
}
|
|
26825
26841
|
)
|
|
26826
26842
|
] }),
|
|
26827
|
-
props.errorMessage && /* @__PURE__ */
|
|
26843
|
+
props.errorMessage && /* @__PURE__ */ jsx18("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26828
26844
|
] });
|
|
26829
26845
|
};
|
|
26830
26846
|
var NumberInput_default = NumberInput;
|
|
26831
26847
|
|
|
26832
26848
|
// src/components/Inputs/EmailInput/EmailInput.tsx
|
|
26833
|
-
import { Fragment as
|
|
26849
|
+
import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
26834
26850
|
var EmailInput = ({ className, style, ...props }) => {
|
|
26835
26851
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
26836
26852
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26840,10 +26856,10 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
26840
26856
|
const handleChange = (e) => {
|
|
26841
26857
|
props.onChange?.(e);
|
|
26842
26858
|
};
|
|
26843
|
-
return /* @__PURE__ */ jsxs8(
|
|
26859
|
+
return /* @__PURE__ */ jsxs8(Fragment4, { children: [
|
|
26844
26860
|
/* @__PURE__ */ jsxs8("div", { className: "flex justify-start items-center relative", children: [
|
|
26845
|
-
/* @__PURE__ */
|
|
26846
|
-
/* @__PURE__ */
|
|
26861
|
+
/* @__PURE__ */ jsx19(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
26862
|
+
/* @__PURE__ */ jsx19(
|
|
26847
26863
|
Input,
|
|
26848
26864
|
{
|
|
26849
26865
|
type: "email",
|
|
@@ -26862,13 +26878,13 @@ var EmailInput = ({ className, style, ...props }) => {
|
|
|
26862
26878
|
}
|
|
26863
26879
|
)
|
|
26864
26880
|
] }),
|
|
26865
|
-
props.errorMessage && /* @__PURE__ */
|
|
26881
|
+
props.errorMessage && /* @__PURE__ */ jsx19("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26866
26882
|
] });
|
|
26867
26883
|
};
|
|
26868
26884
|
var EmailInput_default = EmailInput;
|
|
26869
26885
|
|
|
26870
26886
|
// src/components/Inputs/PasswordInput/PasswordInput.tsx
|
|
26871
|
-
import { Fragment as
|
|
26887
|
+
import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
26872
26888
|
var PasswordInput = ({ className, style, ...props }) => {
|
|
26873
26889
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
26874
26890
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26878,10 +26894,10 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
26878
26894
|
const handleChange = (e) => {
|
|
26879
26895
|
props.onChange?.(e);
|
|
26880
26896
|
};
|
|
26881
|
-
return /* @__PURE__ */ jsxs9(
|
|
26897
|
+
return /* @__PURE__ */ jsxs9(Fragment5, { children: [
|
|
26882
26898
|
/* @__PURE__ */ jsxs9("div", { className: "flex justify-start items-center relative", children: [
|
|
26883
|
-
/* @__PURE__ */
|
|
26884
|
-
/* @__PURE__ */
|
|
26899
|
+
/* @__PURE__ */ jsx20(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
26900
|
+
/* @__PURE__ */ jsx20(
|
|
26885
26901
|
Input,
|
|
26886
26902
|
{
|
|
26887
26903
|
type: "password",
|
|
@@ -26901,15 +26917,15 @@ var PasswordInput = ({ className, style, ...props }) => {
|
|
|
26901
26917
|
}
|
|
26902
26918
|
)
|
|
26903
26919
|
] }),
|
|
26904
|
-
props.errorMessage && /* @__PURE__ */
|
|
26920
|
+
props.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26905
26921
|
] });
|
|
26906
26922
|
};
|
|
26907
26923
|
var PasswordInput_default = PasswordInput;
|
|
26908
26924
|
|
|
26909
26925
|
// src/components/ui/textarea.tsx
|
|
26910
|
-
import { jsx as
|
|
26926
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
26911
26927
|
function Textarea({ className, ...props }) {
|
|
26912
|
-
return /* @__PURE__ */
|
|
26928
|
+
return /* @__PURE__ */ jsx21(
|
|
26913
26929
|
"textarea",
|
|
26914
26930
|
{
|
|
26915
26931
|
"data-slot": "textarea",
|
|
@@ -26923,7 +26939,7 @@ function Textarea({ className, ...props }) {
|
|
|
26923
26939
|
}
|
|
26924
26940
|
|
|
26925
26941
|
// src/components/Inputs/Textarea/Textarea.tsx
|
|
26926
|
-
import { Fragment as
|
|
26942
|
+
import { Fragment as Fragment6, jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
26927
26943
|
var Textarea2 = ({ className, style, ...props }) => {
|
|
26928
26944
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
26929
26945
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26933,8 +26949,8 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
26933
26949
|
const handleChange = (e) => {
|
|
26934
26950
|
props.onChange?.(e);
|
|
26935
26951
|
};
|
|
26936
|
-
return /* @__PURE__ */ jsxs10(
|
|
26937
|
-
/* @__PURE__ */
|
|
26952
|
+
return /* @__PURE__ */ jsxs10(Fragment6, { children: [
|
|
26953
|
+
/* @__PURE__ */ jsx22(
|
|
26938
26954
|
Textarea,
|
|
26939
26955
|
{
|
|
26940
26956
|
id: "textarea-field",
|
|
@@ -26952,13 +26968,13 @@ var Textarea2 = ({ className, style, ...props }) => {
|
|
|
26952
26968
|
readOnly: isReadonly
|
|
26953
26969
|
}
|
|
26954
26970
|
),
|
|
26955
|
-
props.errorMessage && /* @__PURE__ */
|
|
26971
|
+
props.errorMessage && /* @__PURE__ */ jsx22("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26956
26972
|
] });
|
|
26957
26973
|
};
|
|
26958
26974
|
var Textarea_default = Textarea2;
|
|
26959
26975
|
|
|
26960
26976
|
// src/components/Inputs/UrlInput/UrlInput.tsx
|
|
26961
|
-
import { Fragment as
|
|
26977
|
+
import { Fragment as Fragment7, jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
26962
26978
|
var UrlInput = ({ className, style, ...props }) => {
|
|
26963
26979
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
26964
26980
|
const isEditable = props.isEditable ?? true;
|
|
@@ -26968,10 +26984,10 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
26968
26984
|
const handleChange = (e) => {
|
|
26969
26985
|
props.onChange?.(e);
|
|
26970
26986
|
};
|
|
26971
|
-
return /* @__PURE__ */ jsxs11(
|
|
26987
|
+
return /* @__PURE__ */ jsxs11(Fragment7, { children: [
|
|
26972
26988
|
/* @__PURE__ */ jsxs11("div", { className: "flex justify-start items-center relative", children: [
|
|
26973
|
-
/* @__PURE__ */
|
|
26974
|
-
/* @__PURE__ */
|
|
26989
|
+
/* @__PURE__ */ jsx23("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://" }),
|
|
26990
|
+
/* @__PURE__ */ jsx23(
|
|
26975
26991
|
Input,
|
|
26976
26992
|
{
|
|
26977
26993
|
id: "url-field",
|
|
@@ -26991,19 +27007,19 @@ var UrlInput = ({ className, style, ...props }) => {
|
|
|
26991
27007
|
}
|
|
26992
27008
|
)
|
|
26993
27009
|
] }),
|
|
26994
|
-
props.errorMessage && /* @__PURE__ */
|
|
27010
|
+
props.errorMessage && /* @__PURE__ */ jsx23("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
26995
27011
|
] });
|
|
26996
27012
|
};
|
|
26997
27013
|
var UrlInput_default = UrlInput;
|
|
26998
27014
|
|
|
26999
27015
|
// src/components/ui/checkbox.tsx
|
|
27000
27016
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
27001
|
-
import { jsx as
|
|
27017
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
27002
27018
|
function Checkbox({
|
|
27003
27019
|
className,
|
|
27004
27020
|
...props
|
|
27005
27021
|
}) {
|
|
27006
|
-
return /* @__PURE__ */
|
|
27022
|
+
return /* @__PURE__ */ jsx24(
|
|
27007
27023
|
CheckboxPrimitive.Root,
|
|
27008
27024
|
{
|
|
27009
27025
|
"data-slot": "checkbox",
|
|
@@ -27012,12 +27028,12 @@ function Checkbox({
|
|
|
27012
27028
|
className
|
|
27013
27029
|
),
|
|
27014
27030
|
...props,
|
|
27015
|
-
children: /* @__PURE__ */
|
|
27031
|
+
children: /* @__PURE__ */ jsx24(
|
|
27016
27032
|
CheckboxPrimitive.Indicator,
|
|
27017
27033
|
{
|
|
27018
27034
|
"data-slot": "checkbox-indicator",
|
|
27019
27035
|
className: "flex items-center justify-center text-current transition-none",
|
|
27020
|
-
children: /* @__PURE__ */
|
|
27036
|
+
children: /* @__PURE__ */ jsx24(Check, { className: "size-3.5" })
|
|
27021
27037
|
}
|
|
27022
27038
|
)
|
|
27023
27039
|
}
|
|
@@ -27026,12 +27042,12 @@ function Checkbox({
|
|
|
27026
27042
|
|
|
27027
27043
|
// src/components/ui/label.tsx
|
|
27028
27044
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
27029
|
-
import { jsx as
|
|
27045
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
27030
27046
|
function Label2({
|
|
27031
27047
|
className,
|
|
27032
27048
|
...props
|
|
27033
27049
|
}) {
|
|
27034
|
-
return /* @__PURE__ */
|
|
27050
|
+
return /* @__PURE__ */ jsx25(
|
|
27035
27051
|
LabelPrimitive.Root,
|
|
27036
27052
|
{
|
|
27037
27053
|
"data-slot": "label",
|
|
@@ -27045,7 +27061,7 @@ function Label2({
|
|
|
27045
27061
|
}
|
|
27046
27062
|
|
|
27047
27063
|
// src/components/Inputs/Checkbox/Checkbox.tsx
|
|
27048
|
-
import { Fragment as
|
|
27064
|
+
import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
27049
27065
|
var CheckboxInput = ({ className, style, ...props }) => {
|
|
27050
27066
|
const isEditable = props.isEditable ?? true;
|
|
27051
27067
|
const isDisabled = props.isDisabled ?? false;
|
|
@@ -27053,9 +27069,9 @@ var CheckboxInput = ({ className, style, ...props }) => {
|
|
|
27053
27069
|
const handleChange = (value) => {
|
|
27054
27070
|
props.onChange?.(value);
|
|
27055
27071
|
};
|
|
27056
|
-
return /* @__PURE__ */ jsxs12(
|
|
27057
|
-
/* @__PURE__ */
|
|
27058
|
-
/* @__PURE__ */
|
|
27072
|
+
return /* @__PURE__ */ jsxs12(Fragment8, { children: [
|
|
27073
|
+
/* @__PURE__ */ jsx26("div", { className, style, children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-2", children: [
|
|
27074
|
+
/* @__PURE__ */ jsx26(
|
|
27059
27075
|
Checkbox,
|
|
27060
27076
|
{
|
|
27061
27077
|
id: props.name || "checkbox",
|
|
@@ -27064,21 +27080,21 @@ var CheckboxInput = ({ className, style, ...props }) => {
|
|
|
27064
27080
|
disabled: !isEditable || isDisabled
|
|
27065
27081
|
}
|
|
27066
27082
|
),
|
|
27067
|
-
/* @__PURE__ */
|
|
27083
|
+
/* @__PURE__ */ jsx26(Label2, { htmlFor: props.name || "checkbox", children: text })
|
|
27068
27084
|
] }) }),
|
|
27069
|
-
props.errorMessage && /* @__PURE__ */
|
|
27085
|
+
props.errorMessage && /* @__PURE__ */ jsx26("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27070
27086
|
] });
|
|
27071
27087
|
};
|
|
27072
27088
|
var Checkbox_default = CheckboxInput;
|
|
27073
27089
|
|
|
27074
27090
|
// src/components/ui/radio-group.tsx
|
|
27075
27091
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
27076
|
-
import { jsx as
|
|
27092
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
27077
27093
|
function RadioGroup2({
|
|
27078
27094
|
className,
|
|
27079
27095
|
...props
|
|
27080
27096
|
}) {
|
|
27081
|
-
return /* @__PURE__ */
|
|
27097
|
+
return /* @__PURE__ */ jsx27(
|
|
27082
27098
|
RadioGroupPrimitive.Root,
|
|
27083
27099
|
{
|
|
27084
27100
|
"data-slot": "radio-group",
|
|
@@ -27091,7 +27107,7 @@ function RadioGroupItem({
|
|
|
27091
27107
|
className,
|
|
27092
27108
|
...props
|
|
27093
27109
|
}) {
|
|
27094
|
-
return /* @__PURE__ */
|
|
27110
|
+
return /* @__PURE__ */ jsx27(
|
|
27095
27111
|
RadioGroupPrimitive.Item,
|
|
27096
27112
|
{
|
|
27097
27113
|
"data-slot": "radio-group-item",
|
|
@@ -27100,12 +27116,12 @@ function RadioGroupItem({
|
|
|
27100
27116
|
className
|
|
27101
27117
|
),
|
|
27102
27118
|
...props,
|
|
27103
|
-
children: /* @__PURE__ */
|
|
27119
|
+
children: /* @__PURE__ */ jsx27(
|
|
27104
27120
|
RadioGroupPrimitive.Indicator,
|
|
27105
27121
|
{
|
|
27106
27122
|
"data-slot": "radio-group-indicator",
|
|
27107
27123
|
className: "relative flex items-center justify-center",
|
|
27108
|
-
children: /* @__PURE__ */
|
|
27124
|
+
children: /* @__PURE__ */ jsx27(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
27109
27125
|
}
|
|
27110
27126
|
)
|
|
27111
27127
|
}
|
|
@@ -27113,7 +27129,7 @@ function RadioGroupItem({
|
|
|
27113
27129
|
}
|
|
27114
27130
|
|
|
27115
27131
|
// src/components/Inputs/RadioInput/RadioInput.tsx
|
|
27116
|
-
import { Fragment as
|
|
27132
|
+
import { Fragment as Fragment9, jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
27117
27133
|
var RadioInput = ({
|
|
27118
27134
|
className,
|
|
27119
27135
|
style,
|
|
@@ -27124,7 +27140,8 @@ var RadioInput = ({
|
|
|
27124
27140
|
dataLabel,
|
|
27125
27141
|
...props
|
|
27126
27142
|
}) => {
|
|
27127
|
-
const
|
|
27143
|
+
const list = Array.isArray(data) ? data : [];
|
|
27144
|
+
const options = (list || []).map((item) => ({
|
|
27128
27145
|
value: item[dataKey || "value"],
|
|
27129
27146
|
label: item[dataLabel || "label"]
|
|
27130
27147
|
}));
|
|
@@ -27132,29 +27149,29 @@ var RadioInput = ({
|
|
|
27132
27149
|
onChange?.(value);
|
|
27133
27150
|
};
|
|
27134
27151
|
const resolvedDefaultValue = (typeof defaultValue === "string" ? defaultValue : void 0) ?? options[0]?.value;
|
|
27135
|
-
return /* @__PURE__ */ jsxs13(
|
|
27136
|
-
/* @__PURE__ */
|
|
27152
|
+
return /* @__PURE__ */ jsxs13(Fragment9, { children: [
|
|
27153
|
+
/* @__PURE__ */ jsx28("div", { className, style, children: /* @__PURE__ */ jsxs13(
|
|
27137
27154
|
RadioGroup2,
|
|
27138
27155
|
{
|
|
27139
27156
|
defaultValue: resolvedDefaultValue,
|
|
27140
27157
|
onValueChange: handleChange,
|
|
27141
27158
|
children: [
|
|
27142
|
-
options.length === 0 && /* @__PURE__ */
|
|
27159
|
+
options.length === 0 && /* @__PURE__ */ jsx28("div", { className: "text-sm text-gray-500", children: "No options available" }),
|
|
27143
27160
|
options.map((item) => /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-2", children: [
|
|
27144
|
-
/* @__PURE__ */
|
|
27145
|
-
/* @__PURE__ */
|
|
27161
|
+
/* @__PURE__ */ jsx28(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
|
|
27162
|
+
/* @__PURE__ */ jsx28(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
|
|
27146
27163
|
] }, item.value))
|
|
27147
27164
|
]
|
|
27148
27165
|
}
|
|
27149
27166
|
) }),
|
|
27150
|
-
props.errorMessage && /* @__PURE__ */
|
|
27167
|
+
props.errorMessage && /* @__PURE__ */ jsx28("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27151
27168
|
] });
|
|
27152
27169
|
};
|
|
27153
27170
|
var RadioInput_default = RadioInput;
|
|
27154
27171
|
|
|
27155
27172
|
// src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
|
|
27156
27173
|
import { useCallback, useState as useState2 } from "react";
|
|
27157
|
-
import { jsx as
|
|
27174
|
+
import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
27158
27175
|
var MultiCheckbox = ({
|
|
27159
27176
|
className,
|
|
27160
27177
|
style,
|
|
@@ -27166,8 +27183,9 @@ var MultiCheckbox = ({
|
|
|
27166
27183
|
isEditable = true,
|
|
27167
27184
|
isDisabled = false
|
|
27168
27185
|
}) => {
|
|
27186
|
+
const list = Array.isArray(data) ? data : [];
|
|
27169
27187
|
const [value, setValue] = useState2(propValue);
|
|
27170
|
-
const options = (
|
|
27188
|
+
const options = (list || []).map((item) => ({
|
|
27171
27189
|
value: item[dataKey || "value"],
|
|
27172
27190
|
label: item[dataLabel || "label"]
|
|
27173
27191
|
}));
|
|
@@ -27187,9 +27205,9 @@ var MultiCheckbox = ({
|
|
|
27187
27205
|
className: cn("flex flex-col gap-3", className),
|
|
27188
27206
|
style,
|
|
27189
27207
|
children: [
|
|
27190
|
-
options.length === 0 && /* @__PURE__ */
|
|
27208
|
+
options.length === 0 && /* @__PURE__ */ jsx29("p", { className: "text-sm text-gray-500", children: "No options available." }),
|
|
27191
27209
|
options.map((opt) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2", children: [
|
|
27192
|
-
/* @__PURE__ */
|
|
27210
|
+
/* @__PURE__ */ jsx29(
|
|
27193
27211
|
Checkbox,
|
|
27194
27212
|
{
|
|
27195
27213
|
id: opt.value,
|
|
@@ -27198,7 +27216,7 @@ var MultiCheckbox = ({
|
|
|
27198
27216
|
disabled: !isEditable || isDisabled
|
|
27199
27217
|
}
|
|
27200
27218
|
),
|
|
27201
|
-
/* @__PURE__ */
|
|
27219
|
+
/* @__PURE__ */ jsx29(Label2, { htmlFor: opt.value, children: opt.label })
|
|
27202
27220
|
] }, opt.value))
|
|
27203
27221
|
]
|
|
27204
27222
|
}
|
|
@@ -27209,7 +27227,7 @@ var MultiCheckbox_default = MultiCheckbox;
|
|
|
27209
27227
|
// src/components/Global/TinyMceEditor.tsx
|
|
27210
27228
|
import { useMemo, useRef } from "react";
|
|
27211
27229
|
import { Editor } from "@tinymce/tinymce-react";
|
|
27212
|
-
import { jsx as
|
|
27230
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
27213
27231
|
function MyEditor({
|
|
27214
27232
|
value,
|
|
27215
27233
|
onChange,
|
|
@@ -27234,7 +27252,7 @@ function MyEditor({
|
|
|
27234
27252
|
}
|
|
27235
27253
|
return toolbar;
|
|
27236
27254
|
}, [isDefault]);
|
|
27237
|
-
return /* @__PURE__ */
|
|
27255
|
+
return /* @__PURE__ */ jsx30(
|
|
27238
27256
|
Editor,
|
|
27239
27257
|
{
|
|
27240
27258
|
apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
|
|
@@ -27278,7 +27296,7 @@ function MyEditor({
|
|
|
27278
27296
|
}
|
|
27279
27297
|
|
|
27280
27298
|
// src/components/Inputs/RichText/RichText.tsx
|
|
27281
|
-
import { jsx as
|
|
27299
|
+
import { jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
27282
27300
|
function RichText({ className, style, ...props }) {
|
|
27283
27301
|
return /* @__PURE__ */ jsxs15(
|
|
27284
27302
|
"div",
|
|
@@ -27289,8 +27307,8 @@ function RichText({ className, style, ...props }) {
|
|
|
27289
27307
|
borderColor: props.errorMessage ? "#f87171" : style?.borderColor
|
|
27290
27308
|
},
|
|
27291
27309
|
children: [
|
|
27292
|
-
/* @__PURE__ */
|
|
27293
|
-
props.errorMessage && /* @__PURE__ */
|
|
27310
|
+
/* @__PURE__ */ jsx31(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value, isDefault: true }),
|
|
27311
|
+
props.errorMessage && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27294
27312
|
]
|
|
27295
27313
|
}
|
|
27296
27314
|
);
|
|
@@ -27298,16 +27316,16 @@ function RichText({ className, style, ...props }) {
|
|
|
27298
27316
|
|
|
27299
27317
|
// src/components/ui/select.tsx
|
|
27300
27318
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
27301
|
-
import { jsx as
|
|
27319
|
+
import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
27302
27320
|
function Select({
|
|
27303
27321
|
...props
|
|
27304
27322
|
}) {
|
|
27305
|
-
return /* @__PURE__ */
|
|
27323
|
+
return /* @__PURE__ */ jsx32(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
27306
27324
|
}
|
|
27307
27325
|
function SelectValue({
|
|
27308
27326
|
...props
|
|
27309
27327
|
}) {
|
|
27310
|
-
return /* @__PURE__ */
|
|
27328
|
+
return /* @__PURE__ */ jsx32(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
27311
27329
|
}
|
|
27312
27330
|
function SelectTrigger({
|
|
27313
27331
|
className,
|
|
@@ -27327,7 +27345,7 @@ function SelectTrigger({
|
|
|
27327
27345
|
...props,
|
|
27328
27346
|
children: [
|
|
27329
27347
|
children,
|
|
27330
|
-
/* @__PURE__ */
|
|
27348
|
+
/* @__PURE__ */ jsx32(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4 opacity-50" }) })
|
|
27331
27349
|
]
|
|
27332
27350
|
}
|
|
27333
27351
|
);
|
|
@@ -27338,7 +27356,7 @@ function SelectContent({
|
|
|
27338
27356
|
position = "popper",
|
|
27339
27357
|
...props
|
|
27340
27358
|
}) {
|
|
27341
|
-
return /* @__PURE__ */
|
|
27359
|
+
return /* @__PURE__ */ jsx32(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
|
|
27342
27360
|
SelectPrimitive.Content,
|
|
27343
27361
|
{
|
|
27344
27362
|
"data-slot": "select-content",
|
|
@@ -27350,8 +27368,8 @@ function SelectContent({
|
|
|
27350
27368
|
position,
|
|
27351
27369
|
...props,
|
|
27352
27370
|
children: [
|
|
27353
|
-
/* @__PURE__ */
|
|
27354
|
-
/* @__PURE__ */
|
|
27371
|
+
/* @__PURE__ */ jsx32(SelectScrollUpButton, {}),
|
|
27372
|
+
/* @__PURE__ */ jsx32(
|
|
27355
27373
|
SelectPrimitive.Viewport,
|
|
27356
27374
|
{
|
|
27357
27375
|
className: cn(
|
|
@@ -27361,7 +27379,7 @@ function SelectContent({
|
|
|
27361
27379
|
children
|
|
27362
27380
|
}
|
|
27363
27381
|
),
|
|
27364
|
-
/* @__PURE__ */
|
|
27382
|
+
/* @__PURE__ */ jsx32(SelectScrollDownButton, {})
|
|
27365
27383
|
]
|
|
27366
27384
|
}
|
|
27367
27385
|
) });
|
|
@@ -27381,8 +27399,8 @@ function SelectItem({
|
|
|
27381
27399
|
),
|
|
27382
27400
|
...props,
|
|
27383
27401
|
children: [
|
|
27384
|
-
/* @__PURE__ */
|
|
27385
|
-
/* @__PURE__ */
|
|
27402
|
+
/* @__PURE__ */ jsx32("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx32(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx32(Check, { className: "size-4" }) }) }),
|
|
27403
|
+
/* @__PURE__ */ jsx32(SelectPrimitive.ItemText, { children })
|
|
27386
27404
|
]
|
|
27387
27405
|
}
|
|
27388
27406
|
);
|
|
@@ -27391,7 +27409,7 @@ function SelectScrollUpButton({
|
|
|
27391
27409
|
className,
|
|
27392
27410
|
...props
|
|
27393
27411
|
}) {
|
|
27394
|
-
return /* @__PURE__ */
|
|
27412
|
+
return /* @__PURE__ */ jsx32(
|
|
27395
27413
|
SelectPrimitive.ScrollUpButton,
|
|
27396
27414
|
{
|
|
27397
27415
|
"data-slot": "select-scroll-up-button",
|
|
@@ -27400,7 +27418,7 @@ function SelectScrollUpButton({
|
|
|
27400
27418
|
className
|
|
27401
27419
|
),
|
|
27402
27420
|
...props,
|
|
27403
|
-
children: /* @__PURE__ */
|
|
27421
|
+
children: /* @__PURE__ */ jsx32(ChevronUp, { className: "size-4" })
|
|
27404
27422
|
}
|
|
27405
27423
|
);
|
|
27406
27424
|
}
|
|
@@ -27408,7 +27426,7 @@ function SelectScrollDownButton({
|
|
|
27408
27426
|
className,
|
|
27409
27427
|
...props
|
|
27410
27428
|
}) {
|
|
27411
|
-
return /* @__PURE__ */
|
|
27429
|
+
return /* @__PURE__ */ jsx32(
|
|
27412
27430
|
SelectPrimitive.ScrollDownButton,
|
|
27413
27431
|
{
|
|
27414
27432
|
"data-slot": "select-scroll-down-button",
|
|
@@ -27417,15 +27435,15 @@ function SelectScrollDownButton({
|
|
|
27417
27435
|
className
|
|
27418
27436
|
),
|
|
27419
27437
|
...props,
|
|
27420
|
-
children: /* @__PURE__ */
|
|
27438
|
+
children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4" })
|
|
27421
27439
|
}
|
|
27422
27440
|
);
|
|
27423
27441
|
}
|
|
27424
27442
|
|
|
27425
27443
|
// src/components/Inputs/Dropdown/Dropdown.tsx
|
|
27426
|
-
import { Fragment as
|
|
27444
|
+
import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
27427
27445
|
var Dropdown = ({ className, style, ...props }) => {
|
|
27428
|
-
const list = props.data
|
|
27446
|
+
const list = Array.isArray(props?.data) ? props.data : [];
|
|
27429
27447
|
const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
|
|
27430
27448
|
const isEditable = props.isEditable ?? true;
|
|
27431
27449
|
const isDisabled = props.isDisabled ?? false;
|
|
@@ -27439,9 +27457,9 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
27439
27457
|
value: item[dataKey],
|
|
27440
27458
|
label: item[dataLabel]
|
|
27441
27459
|
}));
|
|
27442
|
-
return /* @__PURE__ */ jsxs17(
|
|
27460
|
+
return /* @__PURE__ */ jsxs17(Fragment10, { children: [
|
|
27443
27461
|
/* @__PURE__ */ jsxs17(Select, { name: props.name, value: props.value, onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
|
|
27444
|
-
/* @__PURE__ */
|
|
27462
|
+
/* @__PURE__ */ jsx33(
|
|
27445
27463
|
SelectTrigger,
|
|
27446
27464
|
{
|
|
27447
27465
|
id: props.name || "select-field",
|
|
@@ -27451,24 +27469,24 @@ var Dropdown = ({ className, style, ...props }) => {
|
|
|
27451
27469
|
borderColor: props.errorMessage ? "#f87171" : style?.borderColor
|
|
27452
27470
|
},
|
|
27453
27471
|
"aria-readonly": isReadonly,
|
|
27454
|
-
children: /* @__PURE__ */
|
|
27472
|
+
children: /* @__PURE__ */ jsx33(SelectValue, { placeholder })
|
|
27455
27473
|
}
|
|
27456
27474
|
),
|
|
27457
|
-
/* @__PURE__ */
|
|
27475
|
+
/* @__PURE__ */ jsx33(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx33(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
27458
27476
|
] }),
|
|
27459
|
-
props.errorMessage && /* @__PURE__ */
|
|
27477
|
+
props.errorMessage && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27460
27478
|
] });
|
|
27461
27479
|
};
|
|
27462
27480
|
var Dropdown_default = Dropdown;
|
|
27463
27481
|
|
|
27464
27482
|
// src/components/ui/switch.tsx
|
|
27465
27483
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
27466
|
-
import { jsx as
|
|
27484
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
27467
27485
|
function Switch({
|
|
27468
27486
|
className,
|
|
27469
27487
|
...props
|
|
27470
27488
|
}) {
|
|
27471
|
-
return /* @__PURE__ */
|
|
27489
|
+
return /* @__PURE__ */ jsx34(
|
|
27472
27490
|
SwitchPrimitive.Root,
|
|
27473
27491
|
{
|
|
27474
27492
|
"data-slot": "switch",
|
|
@@ -27477,7 +27495,7 @@ function Switch({
|
|
|
27477
27495
|
className
|
|
27478
27496
|
),
|
|
27479
27497
|
...props,
|
|
27480
|
-
children: /* @__PURE__ */
|
|
27498
|
+
children: /* @__PURE__ */ jsx34(
|
|
27481
27499
|
SwitchPrimitive.Thumb,
|
|
27482
27500
|
{
|
|
27483
27501
|
"data-slot": "switch-thumb",
|
|
@@ -27491,16 +27509,16 @@ function Switch({
|
|
|
27491
27509
|
}
|
|
27492
27510
|
|
|
27493
27511
|
// src/components/Inputs/SwitchToggle/SwitchToggle.tsx
|
|
27494
|
-
import { Fragment as
|
|
27512
|
+
import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
27495
27513
|
var SwitchToggle = ({ className, style, ...props }) => {
|
|
27496
27514
|
const isEditable = props.isEditable ?? true;
|
|
27497
27515
|
const isDisabled = props.isDisabled ?? false;
|
|
27498
27516
|
const handleChange = (value) => {
|
|
27499
27517
|
props.onChange?.(value);
|
|
27500
27518
|
};
|
|
27501
|
-
return /* @__PURE__ */ jsxs18(
|
|
27502
|
-
/* @__PURE__ */
|
|
27503
|
-
/* @__PURE__ */
|
|
27519
|
+
return /* @__PURE__ */ jsxs18(Fragment11, { children: [
|
|
27520
|
+
/* @__PURE__ */ jsx35("div", { className, style, children: /* @__PURE__ */ jsxs18("div", { className: "flex items-center space-x-2 mb-2", children: [
|
|
27521
|
+
/* @__PURE__ */ jsx35(
|
|
27504
27522
|
Switch,
|
|
27505
27523
|
{
|
|
27506
27524
|
id: props.name || "switch",
|
|
@@ -27509,9 +27527,9 @@ var SwitchToggle = ({ className, style, ...props }) => {
|
|
|
27509
27527
|
disabled: isDisabled || !isEditable
|
|
27510
27528
|
}
|
|
27511
27529
|
),
|
|
27512
|
-
/* @__PURE__ */
|
|
27530
|
+
/* @__PURE__ */ jsx35(Label2, { htmlFor: props.name || "switch", children: props.text })
|
|
27513
27531
|
] }) }),
|
|
27514
|
-
props.errorMessage && /* @__PURE__ */
|
|
27532
|
+
props.errorMessage && /* @__PURE__ */ jsx35("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27515
27533
|
] });
|
|
27516
27534
|
};
|
|
27517
27535
|
var SwitchToggle_default = SwitchToggle;
|
|
@@ -27519,7 +27537,7 @@ var SwitchToggle_default = SwitchToggle;
|
|
|
27519
27537
|
// src/components/Inputs/PhoneInput/PhoneInput.tsx
|
|
27520
27538
|
import { PhoneInput as PhoneInputField } from "react-international-phone";
|
|
27521
27539
|
import "react-international-phone/style.css";
|
|
27522
|
-
import { Fragment as
|
|
27540
|
+
import { Fragment as Fragment12, jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
27523
27541
|
var PhoneInput = ({ className, style, ...props }) => {
|
|
27524
27542
|
const placeholder = props.placeholder ?? "Enter phone number";
|
|
27525
27543
|
const isEditable = props.isEditable ?? true;
|
|
@@ -27527,8 +27545,8 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
27527
27545
|
const handleChange = (val) => {
|
|
27528
27546
|
props.onChange?.(val);
|
|
27529
27547
|
};
|
|
27530
|
-
return /* @__PURE__ */ jsxs19(
|
|
27531
|
-
/* @__PURE__ */
|
|
27548
|
+
return /* @__PURE__ */ jsxs19(Fragment12, { children: [
|
|
27549
|
+
/* @__PURE__ */ jsx36(
|
|
27532
27550
|
PhoneInputField,
|
|
27533
27551
|
{
|
|
27534
27552
|
defaultCountry: "in",
|
|
@@ -27547,13 +27565,13 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
27547
27565
|
disabled: isDisabled || !isEditable
|
|
27548
27566
|
}
|
|
27549
27567
|
),
|
|
27550
|
-
props.errorMessage && /* @__PURE__ */
|
|
27568
|
+
props.errorMessage && /* @__PURE__ */ jsx36("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27551
27569
|
] });
|
|
27552
27570
|
};
|
|
27553
27571
|
var PhoneInput_default = PhoneInput;
|
|
27554
27572
|
|
|
27555
27573
|
// src/components/Inputs/SearchInput/SearchInput.tsx
|
|
27556
|
-
import { Fragment as
|
|
27574
|
+
import { Fragment as Fragment13, jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
27557
27575
|
var SearchInput = ({ className, style, ...props }) => {
|
|
27558
27576
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
27559
27577
|
const isEditable = props.isEditable ?? true;
|
|
@@ -27563,10 +27581,10 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
27563
27581
|
const handleChange = (e) => {
|
|
27564
27582
|
props.onChange?.(e);
|
|
27565
27583
|
};
|
|
27566
|
-
return /* @__PURE__ */ jsxs20(
|
|
27584
|
+
return /* @__PURE__ */ jsxs20(Fragment13, { children: [
|
|
27567
27585
|
/* @__PURE__ */ jsxs20("div", { className: "flex justify-start items-center relative", children: [
|
|
27568
|
-
/* @__PURE__ */
|
|
27569
|
-
/* @__PURE__ */
|
|
27586
|
+
/* @__PURE__ */ jsx37(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
27587
|
+
/* @__PURE__ */ jsx37(
|
|
27570
27588
|
Input,
|
|
27571
27589
|
{
|
|
27572
27590
|
type: "text",
|
|
@@ -27586,17 +27604,17 @@ var SearchInput = ({ className, style, ...props }) => {
|
|
|
27586
27604
|
}
|
|
27587
27605
|
)
|
|
27588
27606
|
] }),
|
|
27589
|
-
props.errorMessage && /* @__PURE__ */
|
|
27607
|
+
props.errorMessage && /* @__PURE__ */ jsx37("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27590
27608
|
] });
|
|
27591
27609
|
};
|
|
27592
27610
|
var SearchInput_default = SearchInput;
|
|
27593
27611
|
|
|
27594
27612
|
// src/components/Inputs/FileInput/FileInput.tsx
|
|
27595
|
-
import { jsx as
|
|
27613
|
+
import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
27596
27614
|
var FileInput2 = ({ className, style, ...props }) => {
|
|
27597
27615
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
27598
27616
|
return /* @__PURE__ */ jsxs21("div", { className: "d-flex items-center relative align-middle", children: [
|
|
27599
|
-
/* @__PURE__ */
|
|
27617
|
+
/* @__PURE__ */ jsx38(
|
|
27600
27618
|
Input,
|
|
27601
27619
|
{
|
|
27602
27620
|
type: "file",
|
|
@@ -27615,13 +27633,13 @@ var FileInput2 = ({ className, style, ...props }) => {
|
|
|
27615
27633
|
}
|
|
27616
27634
|
}
|
|
27617
27635
|
),
|
|
27618
|
-
props.errorMessage && /* @__PURE__ */
|
|
27636
|
+
props.errorMessage && /* @__PURE__ */ jsx38("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27619
27637
|
] });
|
|
27620
27638
|
};
|
|
27621
27639
|
var FileInput_default = FileInput2;
|
|
27622
27640
|
|
|
27623
27641
|
// src/components/Inputs/DatePicker/DatePicker.tsx
|
|
27624
|
-
import { Fragment as
|
|
27642
|
+
import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
27625
27643
|
function DatePicker({ className, style, ...props }) {
|
|
27626
27644
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
27627
27645
|
const minimumDate = props.minimumDate ?? "none";
|
|
@@ -27649,10 +27667,10 @@ function DatePicker({ className, style, ...props }) {
|
|
|
27649
27667
|
const handleChange = (e) => {
|
|
27650
27668
|
props.onChange?.(e);
|
|
27651
27669
|
};
|
|
27652
|
-
return /* @__PURE__ */ jsxs22(
|
|
27670
|
+
return /* @__PURE__ */ jsxs22(Fragment14, { children: [
|
|
27653
27671
|
/* @__PURE__ */ jsxs22("div", { className: "flex justify-start items-center relative", children: [
|
|
27654
|
-
/* @__PURE__ */
|
|
27655
|
-
/* @__PURE__ */
|
|
27672
|
+
/* @__PURE__ */ jsx39(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
|
|
27673
|
+
/* @__PURE__ */ jsx39(
|
|
27656
27674
|
Input,
|
|
27657
27675
|
{
|
|
27658
27676
|
type: "date",
|
|
@@ -27678,7 +27696,7 @@ function DatePicker({ className, style, ...props }) {
|
|
|
27678
27696
|
}
|
|
27679
27697
|
)
|
|
27680
27698
|
] }),
|
|
27681
|
-
props.errorMessage && /* @__PURE__ */
|
|
27699
|
+
props.errorMessage && /* @__PURE__ */ jsx39("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27682
27700
|
] });
|
|
27683
27701
|
}
|
|
27684
27702
|
|
|
@@ -27689,7 +27707,7 @@ import { addDays, format } from "date-fns";
|
|
|
27689
27707
|
// src/components/ui/calendar.tsx
|
|
27690
27708
|
import * as React3 from "react";
|
|
27691
27709
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
27692
|
-
import { jsx as
|
|
27710
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
27693
27711
|
function Calendar2({
|
|
27694
27712
|
className,
|
|
27695
27713
|
classNames,
|
|
@@ -27701,7 +27719,7 @@ function Calendar2({
|
|
|
27701
27719
|
...props
|
|
27702
27720
|
}) {
|
|
27703
27721
|
const defaultClassNames = getDefaultClassNames();
|
|
27704
|
-
return /* @__PURE__ */
|
|
27722
|
+
return /* @__PURE__ */ jsx40(
|
|
27705
27723
|
DayPicker,
|
|
27706
27724
|
{
|
|
27707
27725
|
showOutsideDays,
|
|
@@ -27800,7 +27818,7 @@ function Calendar2({
|
|
|
27800
27818
|
},
|
|
27801
27819
|
components: {
|
|
27802
27820
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
27803
|
-
return /* @__PURE__ */
|
|
27821
|
+
return /* @__PURE__ */ jsx40(
|
|
27804
27822
|
"div",
|
|
27805
27823
|
{
|
|
27806
27824
|
"data-slot": "calendar",
|
|
@@ -27812,10 +27830,10 @@ function Calendar2({
|
|
|
27812
27830
|
},
|
|
27813
27831
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
27814
27832
|
if (orientation === "left") {
|
|
27815
|
-
return /* @__PURE__ */
|
|
27833
|
+
return /* @__PURE__ */ jsx40(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
27816
27834
|
}
|
|
27817
27835
|
if (orientation === "right") {
|
|
27818
|
-
return /* @__PURE__ */
|
|
27836
|
+
return /* @__PURE__ */ jsx40(
|
|
27819
27837
|
ChevronRight,
|
|
27820
27838
|
{
|
|
27821
27839
|
className: cn("size-4", className2),
|
|
@@ -27823,11 +27841,11 @@ function Calendar2({
|
|
|
27823
27841
|
}
|
|
27824
27842
|
);
|
|
27825
27843
|
}
|
|
27826
|
-
return /* @__PURE__ */
|
|
27844
|
+
return /* @__PURE__ */ jsx40(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
27827
27845
|
},
|
|
27828
27846
|
DayButton: CalendarDayButton,
|
|
27829
27847
|
WeekNumber: ({ children, ...props2 }) => {
|
|
27830
|
-
return /* @__PURE__ */
|
|
27848
|
+
return /* @__PURE__ */ jsx40("td", { ...props2, children: /* @__PURE__ */ jsx40("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
|
|
27831
27849
|
},
|
|
27832
27850
|
...components
|
|
27833
27851
|
},
|
|
@@ -27846,7 +27864,7 @@ function CalendarDayButton({
|
|
|
27846
27864
|
React3.useEffect(() => {
|
|
27847
27865
|
if (modifiers.focused) ref.current?.focus();
|
|
27848
27866
|
}, [modifiers.focused]);
|
|
27849
|
-
return /* @__PURE__ */
|
|
27867
|
+
return /* @__PURE__ */ jsx40(
|
|
27850
27868
|
Button,
|
|
27851
27869
|
{
|
|
27852
27870
|
ref,
|
|
@@ -27869,16 +27887,16 @@ function CalendarDayButton({
|
|
|
27869
27887
|
|
|
27870
27888
|
// src/components/ui/popover.tsx
|
|
27871
27889
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
27872
|
-
import { jsx as
|
|
27890
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
27873
27891
|
function Popover({
|
|
27874
27892
|
...props
|
|
27875
27893
|
}) {
|
|
27876
|
-
return /* @__PURE__ */
|
|
27894
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
27877
27895
|
}
|
|
27878
27896
|
function PopoverTrigger({
|
|
27879
27897
|
...props
|
|
27880
27898
|
}) {
|
|
27881
|
-
return /* @__PURE__ */
|
|
27899
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
27882
27900
|
}
|
|
27883
27901
|
function PopoverContent({
|
|
27884
27902
|
className,
|
|
@@ -27886,7 +27904,7 @@ function PopoverContent({
|
|
|
27886
27904
|
sideOffset = 4,
|
|
27887
27905
|
...props
|
|
27888
27906
|
}) {
|
|
27889
|
-
return /* @__PURE__ */
|
|
27907
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
|
|
27890
27908
|
PopoverPrimitive.Content,
|
|
27891
27909
|
{
|
|
27892
27910
|
"data-slot": "popover-content",
|
|
@@ -27902,7 +27920,7 @@ function PopoverContent({
|
|
|
27902
27920
|
}
|
|
27903
27921
|
|
|
27904
27922
|
// src/components/Inputs/DateRange/DateRange.tsx
|
|
27905
|
-
import { Fragment as
|
|
27923
|
+
import { Fragment as Fragment15, jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
27906
27924
|
var DateRange = ({ className, style, ...props }) => {
|
|
27907
27925
|
const isDateRange = (val) => !!val && val.from instanceof Date;
|
|
27908
27926
|
const [date, setDate] = React4.useState(
|
|
@@ -27917,9 +27935,9 @@ var DateRange = ({ className, style, ...props }) => {
|
|
|
27917
27935
|
props.onChange?.(value);
|
|
27918
27936
|
}
|
|
27919
27937
|
};
|
|
27920
|
-
return /* @__PURE__ */ jsxs23(
|
|
27921
|
-
/* @__PURE__ */
|
|
27922
|
-
/* @__PURE__ */
|
|
27938
|
+
return /* @__PURE__ */ jsxs23(Fragment15, { children: [
|
|
27939
|
+
/* @__PURE__ */ jsx42("div", { className, style, children: /* @__PURE__ */ jsxs23(Popover, { children: [
|
|
27940
|
+
/* @__PURE__ */ jsx42(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx42(
|
|
27923
27941
|
Button,
|
|
27924
27942
|
{
|
|
27925
27943
|
id: "date",
|
|
@@ -27928,15 +27946,15 @@ var DateRange = ({ className, style, ...props }) => {
|
|
|
27928
27946
|
"w-full justify-start text-left font-normal text-[11px] border-[#BDBDBD]",
|
|
27929
27947
|
!date && "text-muted-foreground"
|
|
27930
27948
|
),
|
|
27931
|
-
children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(
|
|
27949
|
+
children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(Fragment15, { children: [
|
|
27932
27950
|
format(date.from, "LLL dd, y"),
|
|
27933
27951
|
" -",
|
|
27934
27952
|
" ",
|
|
27935
27953
|
format(date.to, "LLL dd, y")
|
|
27936
|
-
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */
|
|
27954
|
+
] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx42("span", { children: "Pick a date range" })
|
|
27937
27955
|
}
|
|
27938
27956
|
) }),
|
|
27939
|
-
/* @__PURE__ */
|
|
27957
|
+
/* @__PURE__ */ jsx42(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx42(
|
|
27940
27958
|
Calendar2,
|
|
27941
27959
|
{
|
|
27942
27960
|
mode: "range",
|
|
@@ -27947,13 +27965,13 @@ var DateRange = ({ className, style, ...props }) => {
|
|
|
27947
27965
|
}
|
|
27948
27966
|
) })
|
|
27949
27967
|
] }) }),
|
|
27950
|
-
props.errorMessage && /* @__PURE__ */
|
|
27968
|
+
props.errorMessage && /* @__PURE__ */ jsx42("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
27951
27969
|
] });
|
|
27952
27970
|
};
|
|
27953
27971
|
var DateRange_default = DateRange;
|
|
27954
27972
|
|
|
27955
27973
|
// src/components/Inputs/TextInputGroup/TextInputGroup.tsx
|
|
27956
|
-
import { Fragment as
|
|
27974
|
+
import { Fragment as Fragment16, jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
27957
27975
|
var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
|
|
27958
27976
|
const placeholder = props.placeholder ?? "Placeholder text";
|
|
27959
27977
|
const isEditable = props.isEditable ?? true;
|
|
@@ -27963,7 +27981,7 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
|
|
|
27963
27981
|
const handleChange = (e) => {
|
|
27964
27982
|
props.onChange?.(e);
|
|
27965
27983
|
};
|
|
27966
|
-
return /* @__PURE__ */ jsxs24(
|
|
27984
|
+
return /* @__PURE__ */ jsxs24(Fragment16, { children: [
|
|
27967
27985
|
/* @__PURE__ */ jsxs24(
|
|
27968
27986
|
"div",
|
|
27969
27987
|
{
|
|
@@ -27974,8 +27992,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
|
|
|
27974
27992
|
props.errorMessage ? "border-red-500" : ""
|
|
27975
27993
|
),
|
|
27976
27994
|
children: [
|
|
27977
|
-
prepend && /* @__PURE__ */
|
|
27978
|
-
/* @__PURE__ */
|
|
27995
|
+
prepend && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
|
|
27996
|
+
/* @__PURE__ */ jsx43(
|
|
27979
27997
|
Input,
|
|
27980
27998
|
{
|
|
27981
27999
|
id: props.name || "prepend-input",
|
|
@@ -27997,11 +28015,11 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
|
|
|
27997
28015
|
readOnly: isReadonly
|
|
27998
28016
|
}
|
|
27999
28017
|
),
|
|
28000
|
-
append && /* @__PURE__ */
|
|
28018
|
+
append && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
|
|
28001
28019
|
]
|
|
28002
28020
|
}
|
|
28003
28021
|
),
|
|
28004
|
-
props.errorMessage && /* @__PURE__ */
|
|
28022
|
+
props.errorMessage && /* @__PURE__ */ jsx43("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
|
|
28005
28023
|
] });
|
|
28006
28024
|
};
|
|
28007
28025
|
var TextInputGroup_default = TextInputGroup;
|
|
@@ -28017,14 +28035,14 @@ import {
|
|
|
28017
28035
|
} from "@tanstack/react-table";
|
|
28018
28036
|
|
|
28019
28037
|
// src/components/ui/table.tsx
|
|
28020
|
-
import { jsx as
|
|
28038
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
28021
28039
|
function Table3({ className, ...props }) {
|
|
28022
|
-
return /* @__PURE__ */
|
|
28040
|
+
return /* @__PURE__ */ jsx44(
|
|
28023
28041
|
"div",
|
|
28024
28042
|
{
|
|
28025
28043
|
"data-slot": "table-container",
|
|
28026
28044
|
className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
|
|
28027
|
-
children: /* @__PURE__ */
|
|
28045
|
+
children: /* @__PURE__ */ jsx44(
|
|
28028
28046
|
"table",
|
|
28029
28047
|
{
|
|
28030
28048
|
"data-slot": "table",
|
|
@@ -28036,7 +28054,7 @@ function Table3({ className, ...props }) {
|
|
|
28036
28054
|
);
|
|
28037
28055
|
}
|
|
28038
28056
|
function TableHeader({ className, ...props }) {
|
|
28039
|
-
return /* @__PURE__ */
|
|
28057
|
+
return /* @__PURE__ */ jsx44(
|
|
28040
28058
|
"thead",
|
|
28041
28059
|
{
|
|
28042
28060
|
"data-slot": "table-header",
|
|
@@ -28049,7 +28067,7 @@ function TableHeader({ className, ...props }) {
|
|
|
28049
28067
|
);
|
|
28050
28068
|
}
|
|
28051
28069
|
function TableBody({ className, ...props }) {
|
|
28052
|
-
return /* @__PURE__ */
|
|
28070
|
+
return /* @__PURE__ */ jsx44(
|
|
28053
28071
|
"tbody",
|
|
28054
28072
|
{
|
|
28055
28073
|
"data-slot": "table-body",
|
|
@@ -28062,7 +28080,7 @@ function TableBody({ className, ...props }) {
|
|
|
28062
28080
|
);
|
|
28063
28081
|
}
|
|
28064
28082
|
function TableRow({ className, ...props }) {
|
|
28065
|
-
return /* @__PURE__ */
|
|
28083
|
+
return /* @__PURE__ */ jsx44(
|
|
28066
28084
|
"tr",
|
|
28067
28085
|
{
|
|
28068
28086
|
"data-slot": "table-row",
|
|
@@ -28075,7 +28093,7 @@ function TableRow({ className, ...props }) {
|
|
|
28075
28093
|
);
|
|
28076
28094
|
}
|
|
28077
28095
|
function TableHead({ className, ...props }) {
|
|
28078
|
-
return /* @__PURE__ */
|
|
28096
|
+
return /* @__PURE__ */ jsx44(
|
|
28079
28097
|
"th",
|
|
28080
28098
|
{
|
|
28081
28099
|
"data-slot": "table-head",
|
|
@@ -28088,7 +28106,7 @@ function TableHead({ className, ...props }) {
|
|
|
28088
28106
|
);
|
|
28089
28107
|
}
|
|
28090
28108
|
function TableCell({ className, ...props }) {
|
|
28091
|
-
return /* @__PURE__ */
|
|
28109
|
+
return /* @__PURE__ */ jsx44(
|
|
28092
28110
|
"td",
|
|
28093
28111
|
{
|
|
28094
28112
|
"data-slot": "table-cell",
|
|
@@ -28102,7 +28120,7 @@ function TableCell({ className, ...props }) {
|
|
|
28102
28120
|
}
|
|
28103
28121
|
|
|
28104
28122
|
// src/components/ui/data-table.tsx
|
|
28105
|
-
import { Fragment as
|
|
28123
|
+
import { Fragment as Fragment17, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
28106
28124
|
function DataTable({
|
|
28107
28125
|
columns,
|
|
28108
28126
|
rowActions,
|
|
@@ -28127,14 +28145,14 @@ function DataTable({
|
|
|
28127
28145
|
onCellClick(rowData, columnId);
|
|
28128
28146
|
}
|
|
28129
28147
|
};
|
|
28130
|
-
return /* @__PURE__ */
|
|
28131
|
-
/* @__PURE__ */
|
|
28132
|
-
return /* @__PURE__ */
|
|
28148
|
+
return /* @__PURE__ */ jsx45("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs25(Table3, { children: [
|
|
28149
|
+
/* @__PURE__ */ jsx45(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx45(TableRow, { children: headerGroup.headers.map((header) => {
|
|
28150
|
+
return /* @__PURE__ */ jsx45(TableHead, { children: header.isPlaceholder ? null : flexRender(
|
|
28133
28151
|
header.column.columnDef.header,
|
|
28134
28152
|
header.getContext()
|
|
28135
28153
|
) }, header.id);
|
|
28136
28154
|
}) }, headerGroup.id)) }),
|
|
28137
|
-
/* @__PURE__ */
|
|
28155
|
+
/* @__PURE__ */ jsx45(TableBody, { children: loading ? /* @__PURE__ */ jsx45(TableRow, { children: /* @__PURE__ */ jsx45(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx45(Fragment17, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs25(
|
|
28138
28156
|
TableRow,
|
|
28139
28157
|
{
|
|
28140
28158
|
"data-state": row.getIsSelected() && "selected",
|
|
@@ -28144,7 +28162,7 @@ function DataTable({
|
|
|
28144
28162
|
const isCellClickable = cellClickEnabled(row.original, cell.column.id);
|
|
28145
28163
|
const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
|
|
28146
28164
|
const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
|
|
28147
|
-
return /* @__PURE__ */
|
|
28165
|
+
return /* @__PURE__ */ jsx45(
|
|
28148
28166
|
TableCell,
|
|
28149
28167
|
{
|
|
28150
28168
|
className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
|
|
@@ -28159,18 +28177,18 @@ function DataTable({
|
|
|
28159
28177
|
cell.id
|
|
28160
28178
|
);
|
|
28161
28179
|
}),
|
|
28162
|
-
rowActions.length > 0 && /* @__PURE__ */
|
|
28180
|
+
rowActions.length > 0 && /* @__PURE__ */ jsx45("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__ */ jsx45("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
|
|
28163
28181
|
]
|
|
28164
28182
|
},
|
|
28165
28183
|
row.id
|
|
28166
|
-
)) : /* @__PURE__ */
|
|
28184
|
+
)) : /* @__PURE__ */ jsx45(TableRow, { children: /* @__PURE__ */ jsx45(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
|
|
28167
28185
|
] }) });
|
|
28168
28186
|
}
|
|
28169
28187
|
|
|
28170
28188
|
// src/components/ui/pagination.tsx
|
|
28171
|
-
import { jsx as
|
|
28189
|
+
import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
28172
28190
|
function Pagination({ className, ...props }) {
|
|
28173
|
-
return /* @__PURE__ */
|
|
28191
|
+
return /* @__PURE__ */ jsx46(
|
|
28174
28192
|
"nav",
|
|
28175
28193
|
{
|
|
28176
28194
|
role: "navigation",
|
|
@@ -28185,7 +28203,7 @@ function PaginationContent({
|
|
|
28185
28203
|
className,
|
|
28186
28204
|
...props
|
|
28187
28205
|
}) {
|
|
28188
|
-
return /* @__PURE__ */
|
|
28206
|
+
return /* @__PURE__ */ jsx46(
|
|
28189
28207
|
"ul",
|
|
28190
28208
|
{
|
|
28191
28209
|
"data-slot": "pagination-content",
|
|
@@ -28195,7 +28213,7 @@ function PaginationContent({
|
|
|
28195
28213
|
);
|
|
28196
28214
|
}
|
|
28197
28215
|
function PaginationItem({ ...props }) {
|
|
28198
|
-
return /* @__PURE__ */
|
|
28216
|
+
return /* @__PURE__ */ jsx46("li", { "data-slot": "pagination-item", ...props });
|
|
28199
28217
|
}
|
|
28200
28218
|
function PaginationLink({
|
|
28201
28219
|
className,
|
|
@@ -28203,7 +28221,7 @@ function PaginationLink({
|
|
|
28203
28221
|
size = "icon",
|
|
28204
28222
|
...props
|
|
28205
28223
|
}) {
|
|
28206
|
-
return /* @__PURE__ */
|
|
28224
|
+
return /* @__PURE__ */ jsx46(
|
|
28207
28225
|
"a",
|
|
28208
28226
|
{
|
|
28209
28227
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -28232,8 +28250,8 @@ function PaginationPrevious({
|
|
|
28232
28250
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
28233
28251
|
...props,
|
|
28234
28252
|
children: [
|
|
28235
|
-
/* @__PURE__ */
|
|
28236
|
-
/* @__PURE__ */
|
|
28253
|
+
/* @__PURE__ */ jsx46(ChevronLeft, {}),
|
|
28254
|
+
/* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Previous" })
|
|
28237
28255
|
]
|
|
28238
28256
|
}
|
|
28239
28257
|
);
|
|
@@ -28250,8 +28268,8 @@ function PaginationNext({
|
|
|
28250
28268
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
28251
28269
|
...props,
|
|
28252
28270
|
children: [
|
|
28253
|
-
/* @__PURE__ */
|
|
28254
|
-
/* @__PURE__ */
|
|
28271
|
+
/* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Next" }),
|
|
28272
|
+
/* @__PURE__ */ jsx46(ChevronRight, {})
|
|
28255
28273
|
]
|
|
28256
28274
|
}
|
|
28257
28275
|
);
|
|
@@ -28268,15 +28286,15 @@ function PaginationEllipsis({
|
|
|
28268
28286
|
className: cn("flex size-9 items-center justify-center", className),
|
|
28269
28287
|
...props,
|
|
28270
28288
|
children: [
|
|
28271
|
-
/* @__PURE__ */
|
|
28272
|
-
/* @__PURE__ */
|
|
28289
|
+
/* @__PURE__ */ jsx46(Ellipsis, { className: "size-4" }),
|
|
28290
|
+
/* @__PURE__ */ jsx46("span", { className: "sr-only", children: "More pages" })
|
|
28273
28291
|
]
|
|
28274
28292
|
}
|
|
28275
28293
|
);
|
|
28276
28294
|
}
|
|
28277
28295
|
|
|
28278
28296
|
// src/components/DataDisplay/Pagination/Pagination.tsx
|
|
28279
|
-
import { jsx as
|
|
28297
|
+
import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
28280
28298
|
var CustomPagination = ({
|
|
28281
28299
|
totalPages,
|
|
28282
28300
|
currentPage,
|
|
@@ -28324,7 +28342,7 @@ var CustomPagination = ({
|
|
|
28324
28342
|
const pageNumbers = getPageNumbers();
|
|
28325
28343
|
return /* @__PURE__ */ jsxs27("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
|
|
28326
28344
|
/* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2", children: [
|
|
28327
|
-
/* @__PURE__ */
|
|
28345
|
+
/* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
|
|
28328
28346
|
/* @__PURE__ */ jsxs27(
|
|
28329
28347
|
Select,
|
|
28330
28348
|
{
|
|
@@ -28333,26 +28351,26 @@ var CustomPagination = ({
|
|
|
28333
28351
|
onPageChange({ page: 1, itemsPerPage: Number(value) });
|
|
28334
28352
|
},
|
|
28335
28353
|
children: [
|
|
28336
|
-
/* @__PURE__ */
|
|
28354
|
+
/* @__PURE__ */ jsx47(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select" }) }),
|
|
28337
28355
|
/* @__PURE__ */ jsxs27(SelectContent, { children: [
|
|
28338
|
-
/* @__PURE__ */
|
|
28339
|
-
/* @__PURE__ */
|
|
28340
|
-
/* @__PURE__ */
|
|
28341
|
-
/* @__PURE__ */
|
|
28356
|
+
/* @__PURE__ */ jsx47(SelectItem, { value: "5", children: "5" }),
|
|
28357
|
+
/* @__PURE__ */ jsx47(SelectItem, { value: "10", children: "10" }),
|
|
28358
|
+
/* @__PURE__ */ jsx47(SelectItem, { value: "20", children: "20" }),
|
|
28359
|
+
/* @__PURE__ */ jsx47(SelectItem, { value: "50", children: "50" })
|
|
28342
28360
|
] })
|
|
28343
28361
|
]
|
|
28344
28362
|
}
|
|
28345
28363
|
)
|
|
28346
28364
|
] }),
|
|
28347
|
-
/* @__PURE__ */
|
|
28348
|
-
/* @__PURE__ */
|
|
28365
|
+
/* @__PURE__ */ jsx47(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs27(PaginationContent, { children: [
|
|
28366
|
+
/* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
|
|
28349
28367
|
PaginationPrevious,
|
|
28350
28368
|
{
|
|
28351
28369
|
onClick: () => handlePageChange(currentPage - 1),
|
|
28352
28370
|
className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
|
|
28353
28371
|
}
|
|
28354
28372
|
) }),
|
|
28355
|
-
pageNumbers.map((pageNumber, index) => /* @__PURE__ */
|
|
28373
|
+
pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx47(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx47(PaginationEllipsis, {}) : /* @__PURE__ */ jsx47(
|
|
28356
28374
|
PaginationLink,
|
|
28357
28375
|
{
|
|
28358
28376
|
onClick: () => handlePageChange(pageNumber),
|
|
@@ -28361,7 +28379,7 @@ var CustomPagination = ({
|
|
|
28361
28379
|
children: pageNumber
|
|
28362
28380
|
}
|
|
28363
28381
|
) }, index)),
|
|
28364
|
-
/* @__PURE__ */
|
|
28382
|
+
/* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
|
|
28365
28383
|
PaginationNext,
|
|
28366
28384
|
{
|
|
28367
28385
|
onClick: () => handlePageChange(currentPage + 1),
|
|
@@ -28374,7 +28392,7 @@ var CustomPagination = ({
|
|
|
28374
28392
|
var Pagination_default = CustomPagination;
|
|
28375
28393
|
|
|
28376
28394
|
// src/components/DataDisplay/Table/Table.tsx
|
|
28377
|
-
import { jsx as
|
|
28395
|
+
import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
28378
28396
|
var Table4 = ({
|
|
28379
28397
|
columns,
|
|
28380
28398
|
data,
|
|
@@ -28421,7 +28439,7 @@ var Table4 = ({
|
|
|
28421
28439
|
return selectedColumn.isClickable ?? false;
|
|
28422
28440
|
};
|
|
28423
28441
|
return /* @__PURE__ */ jsxs28("div", { className: `${className || ""} space-y-3`, style, children: [
|
|
28424
|
-
/* @__PURE__ */
|
|
28442
|
+
/* @__PURE__ */ jsx48(
|
|
28425
28443
|
DataTable,
|
|
28426
28444
|
{
|
|
28427
28445
|
...props,
|
|
@@ -28432,7 +28450,7 @@ var Table4 = ({
|
|
|
28432
28450
|
cellClickEnabled: isCellClickEnabled
|
|
28433
28451
|
}
|
|
28434
28452
|
),
|
|
28435
|
-
enablePagination && /* @__PURE__ */
|
|
28453
|
+
enablePagination && /* @__PURE__ */ jsx48(
|
|
28436
28454
|
Pagination_default,
|
|
28437
28455
|
{
|
|
28438
28456
|
perPage: itemsPerPage,
|
|
@@ -28447,7 +28465,7 @@ var Table_default = Table4;
|
|
|
28447
28465
|
|
|
28448
28466
|
// src/components/Navigation/Tabs/Tabs.tsx
|
|
28449
28467
|
import Link5 from "next/link";
|
|
28450
|
-
import { jsx as
|
|
28468
|
+
import { jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
28451
28469
|
var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
|
|
28452
28470
|
const rawTabs = Array.isArray(tabs) ? tabs : [];
|
|
28453
28471
|
const baseClasses = "text-[12px] text-foreground p-2 text-center rounded-md transition-colors";
|
|
@@ -28463,20 +28481,20 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
|
|
|
28463
28481
|
return /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
|
|
28464
28482
|
/* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
|
|
28465
28483
|
tab.header,
|
|
28466
|
-
/* @__PURE__ */
|
|
28484
|
+
/* @__PURE__ */ jsx49(ChevronDown, { className: "h-4 w-4 opacity-80" })
|
|
28467
28485
|
] }),
|
|
28468
|
-
/* @__PURE__ */
|
|
28486
|
+
/* @__PURE__ */ jsx49(
|
|
28469
28487
|
DropdownMenuContent,
|
|
28470
28488
|
{
|
|
28471
28489
|
align: "start",
|
|
28472
28490
|
sideOffset: 6,
|
|
28473
28491
|
className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
|
|
28474
|
-
children: tab.children.map((item) => /* @__PURE__ */
|
|
28492
|
+
children: tab.children.map((item) => /* @__PURE__ */ jsx49(
|
|
28475
28493
|
DropdownMenuItem,
|
|
28476
28494
|
{
|
|
28477
28495
|
asChild: true,
|
|
28478
28496
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
|
|
28479
|
-
children: /* @__PURE__ */
|
|
28497
|
+
children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
|
|
28480
28498
|
},
|
|
28481
28499
|
item.id
|
|
28482
28500
|
))
|
|
@@ -28484,14 +28502,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
|
|
|
28484
28502
|
)
|
|
28485
28503
|
] }, index);
|
|
28486
28504
|
}
|
|
28487
|
-
return tab.url ? /* @__PURE__ */
|
|
28505
|
+
return tab.url ? /* @__PURE__ */ jsx49(Link5, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx49("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
|
|
28488
28506
|
};
|
|
28489
28507
|
const renderMobileMenu = () => /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
|
|
28490
28508
|
/* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
|
|
28491
|
-
/* @__PURE__ */
|
|
28509
|
+
/* @__PURE__ */ jsx49(Menu, { className: "h-4 w-4" }),
|
|
28492
28510
|
"Menu"
|
|
28493
28511
|
] }),
|
|
28494
|
-
/* @__PURE__ */
|
|
28512
|
+
/* @__PURE__ */ jsx49(
|
|
28495
28513
|
DropdownMenuContent,
|
|
28496
28514
|
{
|
|
28497
28515
|
align: "start",
|
|
@@ -28501,24 +28519,24 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
|
|
|
28501
28519
|
const hasChildren = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
|
|
28502
28520
|
if (hasChildren) {
|
|
28503
28521
|
return /* @__PURE__ */ jsxs29(DropdownMenuSub, { children: [
|
|
28504
|
-
/* @__PURE__ */
|
|
28505
|
-
/* @__PURE__ */
|
|
28522
|
+
/* @__PURE__ */ jsx49(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
|
|
28523
|
+
/* @__PURE__ */ jsx49(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ jsx49(
|
|
28506
28524
|
DropdownMenuItem,
|
|
28507
28525
|
{
|
|
28508
28526
|
asChild: true,
|
|
28509
28527
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
|
|
28510
|
-
children: /* @__PURE__ */
|
|
28528
|
+
children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
|
|
28511
28529
|
},
|
|
28512
28530
|
item.id
|
|
28513
28531
|
)) })
|
|
28514
28532
|
] }, i);
|
|
28515
28533
|
}
|
|
28516
|
-
return /* @__PURE__ */
|
|
28534
|
+
return /* @__PURE__ */ jsx49(
|
|
28517
28535
|
DropdownMenuItem,
|
|
28518
28536
|
{
|
|
28519
28537
|
asChild: true,
|
|
28520
28538
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[13px] text-gray-800 hover:bg-gray-100",
|
|
28521
|
-
children: /* @__PURE__ */
|
|
28539
|
+
children: /* @__PURE__ */ jsx49(Link5, { href: tab.url || "#", children: tab.header })
|
|
28522
28540
|
},
|
|
28523
28541
|
i
|
|
28524
28542
|
);
|
|
@@ -28529,56 +28547,55 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
|
|
|
28529
28547
|
const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
|
|
28530
28548
|
const forceDesktop = canvasMode === "desktop";
|
|
28531
28549
|
return /* @__PURE__ */ jsxs29("div", { className, style, children: [
|
|
28532
|
-
forceDesktop && /* @__PURE__ */
|
|
28533
|
-
forceMobile && /* @__PURE__ */
|
|
28534
|
-
/* @__PURE__ */
|
|
28550
|
+
forceDesktop && /* @__PURE__ */ jsx49("div", { className: "hidden md:flex", children: /* @__PURE__ */ jsx49("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
|
|
28551
|
+
forceMobile && /* @__PURE__ */ jsx49("div", { children: renderMobileMenu() }),
|
|
28552
|
+
/* @__PURE__ */ jsx49("div", { className: "md:hidden", children: renderMobileMenu() })
|
|
28535
28553
|
] });
|
|
28536
28554
|
};
|
|
28537
28555
|
var Tabs_default = Tabs;
|
|
28538
28556
|
|
|
28539
28557
|
// src/components/Navigation/Stages/Stages.tsx
|
|
28540
28558
|
import React5 from "react";
|
|
28541
|
-
import { jsx as
|
|
28559
|
+
import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
28542
28560
|
var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
|
|
28543
|
-
return /* @__PURE__ */
|
|
28544
|
-
/* @__PURE__ */
|
|
28545
|
-
/* @__PURE__ */
|
|
28546
|
-
/* @__PURE__ */
|
|
28561
|
+
return /* @__PURE__ */ jsx50("div", { className, style, children: /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between bg-red p-2 rounded-lg border border-gray-200 w-full", children: [
|
|
28562
|
+
/* @__PURE__ */ jsx50("div", { className: "flex items-center", children: /* @__PURE__ */ jsx50("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx50("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx50("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
|
|
28563
|
+
/* @__PURE__ */ jsx50("div", { className: "flex items-center flex-1 px-2 flex-wrap gap-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs30(React5.Fragment, { children: [
|
|
28564
|
+
/* @__PURE__ */ jsx50(
|
|
28547
28565
|
"button",
|
|
28548
28566
|
{
|
|
28549
|
-
className: `
|
|
28550
|
-
min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
|
|
28567
|
+
className: `min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
|
|
28551
28568
|
children: stage.header
|
|
28552
28569
|
}
|
|
28553
28570
|
),
|
|
28554
|
-
index < stages.length - 1 && /* @__PURE__ */
|
|
28571
|
+
index < stages.length - 1 && /* @__PURE__ */ jsx50("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
|
|
28555
28572
|
] }, stage.id)) }),
|
|
28556
|
-
isShowBtn && /* @__PURE__ */
|
|
28573
|
+
isShowBtn && /* @__PURE__ */ jsx50("div", { className: "flex items-center", children: /* @__PURE__ */ jsx50("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
|
|
28557
28574
|
] }) });
|
|
28558
28575
|
};
|
|
28559
28576
|
var Stages_default = StagesComponent;
|
|
28560
28577
|
|
|
28561
28578
|
// src/components/Navigation/Spacer/Spacer.tsx
|
|
28562
|
-
import { jsx as
|
|
28579
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
28563
28580
|
var Spacer = ({ className, style }) => {
|
|
28564
|
-
return /* @__PURE__ */
|
|
28581
|
+
return /* @__PURE__ */ jsx51("div", { className: `${className}`, style });
|
|
28565
28582
|
};
|
|
28566
28583
|
var Spacer_default = Spacer;
|
|
28567
28584
|
|
|
28568
28585
|
// src/components/Navigation/Profile/Profile.tsx
|
|
28569
|
-
import { jsx as
|
|
28586
|
+
import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
28570
28587
|
|
|
28571
28588
|
// src/components/Navigation/Notification/Notification.tsx
|
|
28572
|
-
import { jsx as
|
|
28589
|
+
import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
28573
28590
|
|
|
28574
28591
|
// src/components/Navigation/Logo/Logo.tsx
|
|
28575
|
-
import { jsx as
|
|
28592
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
28576
28593
|
|
|
28577
28594
|
// src/components/ui/avatar.tsx
|
|
28578
28595
|
import * as React6 from "react";
|
|
28579
28596
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
28580
|
-
import { jsx as
|
|
28581
|
-
var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
28597
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
28598
|
+
var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
|
|
28582
28599
|
AvatarPrimitive.Root,
|
|
28583
28600
|
{
|
|
28584
28601
|
ref,
|
|
@@ -28590,7 +28607,7 @@ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
28590
28607
|
}
|
|
28591
28608
|
));
|
|
28592
28609
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
28593
|
-
var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
28610
|
+
var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
|
|
28594
28611
|
AvatarPrimitive.Image,
|
|
28595
28612
|
{
|
|
28596
28613
|
ref,
|
|
@@ -28599,7 +28616,7 @@ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
28599
28616
|
}
|
|
28600
28617
|
));
|
|
28601
28618
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
28602
|
-
var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
28619
|
+
var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
|
|
28603
28620
|
AvatarPrimitive.Fallback,
|
|
28604
28621
|
{
|
|
28605
28622
|
ref,
|
|
@@ -28615,7 +28632,7 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
|
28615
28632
|
// src/components/Navigation/Navbar/Navbar.tsx
|
|
28616
28633
|
import Link6 from "next/link";
|
|
28617
28634
|
import Image3 from "next/image";
|
|
28618
|
-
import { Fragment as
|
|
28635
|
+
import { Fragment as Fragment18, jsx as jsx56, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
28619
28636
|
function Navbar({
|
|
28620
28637
|
style,
|
|
28621
28638
|
badgeType,
|
|
@@ -28630,9 +28647,9 @@ function Navbar({
|
|
|
28630
28647
|
userName = "Guest User"
|
|
28631
28648
|
}) {
|
|
28632
28649
|
const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
|
|
28633
|
-
return /* @__PURE__ */
|
|
28634
|
-
/* @__PURE__ */
|
|
28635
|
-
!isMobileView && /* @__PURE__ */
|
|
28650
|
+
return /* @__PURE__ */ jsx56("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
|
|
28651
|
+
/* @__PURE__ */ jsx56(Link6, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx56(Image3, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx56("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
|
|
28652
|
+
!isMobileView && /* @__PURE__ */ jsx56("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx56(
|
|
28636
28653
|
Link6,
|
|
28637
28654
|
{
|
|
28638
28655
|
href: item.url || "#",
|
|
@@ -28642,53 +28659,53 @@ function Navbar({
|
|
|
28642
28659
|
item.id
|
|
28643
28660
|
)) }),
|
|
28644
28661
|
/* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-3", children: [
|
|
28645
|
-
!isMobileView ? /* @__PURE__ */
|
|
28646
|
-
/* @__PURE__ */
|
|
28647
|
-
/* @__PURE__ */
|
|
28648
|
-
] }) }) : /* @__PURE__ */
|
|
28662
|
+
!isMobileView ? /* @__PURE__ */ jsx56("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs33("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
|
|
28663
|
+
/* @__PURE__ */ jsx56(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
|
|
28664
|
+
/* @__PURE__ */ jsx56(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
|
|
28665
|
+
] }) }) : /* @__PURE__ */ jsx56(
|
|
28649
28666
|
Button,
|
|
28650
28667
|
{
|
|
28651
28668
|
variant: "ghost",
|
|
28652
28669
|
size: "icon",
|
|
28653
28670
|
className: "border border-gray-400",
|
|
28654
|
-
children: /* @__PURE__ */
|
|
28671
|
+
children: /* @__PURE__ */ jsx56(Search, { className: "h-5 w-5 text-gray-400" })
|
|
28655
28672
|
}
|
|
28656
28673
|
),
|
|
28657
28674
|
/* @__PURE__ */ jsxs33("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
|
|
28658
|
-
/* @__PURE__ */
|
|
28659
|
-
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */
|
|
28675
|
+
/* @__PURE__ */ jsx56(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx56(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
|
|
28676
|
+
badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && Number(badgeCount) > 0 ? /* @__PURE__ */ jsx56("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__ */ jsx56("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
|
|
28660
28677
|
] }),
|
|
28661
28678
|
/* @__PURE__ */ jsxs33(DropdownMenu, { children: [
|
|
28662
|
-
/* @__PURE__ */
|
|
28663
|
-
!isMobileView && showName && /* @__PURE__ */
|
|
28664
|
-
!isMobileView ? /* @__PURE__ */ jsxs33(
|
|
28665
|
-
/* @__PURE__ */
|
|
28679
|
+
/* @__PURE__ */ jsx56(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
|
|
28680
|
+
!isMobileView && showName && /* @__PURE__ */ jsx56("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
|
|
28681
|
+
!isMobileView ? /* @__PURE__ */ jsxs33(Fragment18, { children: [
|
|
28682
|
+
/* @__PURE__ */ jsx56(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx56(
|
|
28666
28683
|
AvatarImage,
|
|
28667
28684
|
{
|
|
28668
28685
|
src: "/images/appbuilder/toolset/profile.svg",
|
|
28669
28686
|
alt: "Profile"
|
|
28670
28687
|
}
|
|
28671
|
-
) : /* @__PURE__ */
|
|
28672
|
-
/* @__PURE__ */
|
|
28688
|
+
) : /* @__PURE__ */ jsx56("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: userName && getInitials(userName) }) }),
|
|
28689
|
+
/* @__PURE__ */ jsx56(
|
|
28673
28690
|
Button,
|
|
28674
28691
|
{
|
|
28675
28692
|
variant: "ghost",
|
|
28676
28693
|
size: "icon",
|
|
28677
28694
|
className: "text-gray-900 md:hidden",
|
|
28678
|
-
children: /* @__PURE__ */
|
|
28695
|
+
children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
|
|
28679
28696
|
}
|
|
28680
28697
|
)
|
|
28681
|
-
] }) : /* @__PURE__ */
|
|
28698
|
+
] }) : /* @__PURE__ */ jsx56(
|
|
28682
28699
|
Button,
|
|
28683
28700
|
{
|
|
28684
28701
|
variant: "ghost",
|
|
28685
28702
|
size: "icon",
|
|
28686
28703
|
className: "text-gray-900",
|
|
28687
|
-
children: /* @__PURE__ */
|
|
28704
|
+
children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
|
|
28688
28705
|
}
|
|
28689
28706
|
)
|
|
28690
28707
|
] }) }),
|
|
28691
|
-
/* @__PURE__ */
|
|
28708
|
+
/* @__PURE__ */ jsx56(DropdownMenuContent, { align: "end", className: "bg-white", children: list && list.length > 0 && /* @__PURE__ */ jsx56(Fragment18, { children: list.map((item) => /* @__PURE__ */ jsx56(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx56(Link6, { href: item.url || "#", children: item.header }) }, item.id)) }) })
|
|
28692
28709
|
] })
|
|
28693
28710
|
] })
|
|
28694
28711
|
] }) });
|
|
@@ -28696,28 +28713,28 @@ function Navbar({
|
|
|
28696
28713
|
|
|
28697
28714
|
// src/components/Chart/BarChart.tsx
|
|
28698
28715
|
import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
|
|
28699
|
-
import { jsx as
|
|
28716
|
+
import { jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
28700
28717
|
var ChartComponent = ({ className, style, ...props }) => {
|
|
28701
28718
|
const data = Array.isArray(props?.data) ? props.data : [];
|
|
28702
28719
|
const chartType = props.chartType || "bar";
|
|
28703
28720
|
const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
|
|
28704
|
-
return /* @__PURE__ */
|
|
28705
|
-
/* @__PURE__ */
|
|
28706
|
-
/* @__PURE__ */
|
|
28707
|
-
/* @__PURE__ */
|
|
28708
|
-
/* @__PURE__ */
|
|
28709
|
-
/* @__PURE__ */
|
|
28710
|
-
/* @__PURE__ */
|
|
28721
|
+
return /* @__PURE__ */ jsx57("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx57(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs34(BarChart, { data, children: [
|
|
28722
|
+
/* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
28723
|
+
/* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
|
|
28724
|
+
/* @__PURE__ */ jsx57(YAxis, {}),
|
|
28725
|
+
/* @__PURE__ */ jsx57(Tooltip, {}),
|
|
28726
|
+
/* @__PURE__ */ jsx57(Legend, { verticalAlign: legendsPosition, align: "center" }),
|
|
28727
|
+
/* @__PURE__ */ jsx57(Bar, { dataKey: "value", fill: "#00695C" })
|
|
28711
28728
|
] }) : /* @__PURE__ */ jsxs34(AreaChart, { data, children: [
|
|
28712
|
-
/* @__PURE__ */
|
|
28713
|
-
/* @__PURE__ */
|
|
28714
|
-
/* @__PURE__ */
|
|
28729
|
+
/* @__PURE__ */ jsx57("defs", { children: /* @__PURE__ */ jsxs34("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
28730
|
+
/* @__PURE__ */ jsx57("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
|
|
28731
|
+
/* @__PURE__ */ jsx57("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
|
|
28715
28732
|
] }) }),
|
|
28716
|
-
/* @__PURE__ */
|
|
28717
|
-
/* @__PURE__ */
|
|
28718
|
-
/* @__PURE__ */
|
|
28719
|
-
/* @__PURE__ */
|
|
28720
|
-
/* @__PURE__ */
|
|
28733
|
+
/* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
|
|
28734
|
+
/* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
|
|
28735
|
+
/* @__PURE__ */ jsx57(YAxis, {}),
|
|
28736
|
+
/* @__PURE__ */ jsx57(Tooltip, {}),
|
|
28737
|
+
/* @__PURE__ */ jsx57(
|
|
28721
28738
|
Area,
|
|
28722
28739
|
{
|
|
28723
28740
|
type: "monotone",
|
|
@@ -28733,7 +28750,7 @@ var BarChart_default = ChartComponent;
|
|
|
28733
28750
|
|
|
28734
28751
|
// src/components/Chart/PieChart.tsx
|
|
28735
28752
|
import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
|
|
28736
|
-
import { Fragment as
|
|
28753
|
+
import { Fragment as Fragment19, jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
28737
28754
|
var DonutChart = ({ className, style, ...props }) => {
|
|
28738
28755
|
const data = Array.isArray(props?.data) ? props.data : [];
|
|
28739
28756
|
const total = data.reduce((sum, d) => sum + d.value, 0);
|
|
@@ -28766,19 +28783,19 @@ var DonutChart = ({ className, style, ...props }) => {
|
|
|
28766
28783
|
const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
|
|
28767
28784
|
const renderLegends = () => {
|
|
28768
28785
|
if (!showLegends) return null;
|
|
28769
|
-
return /* @__PURE__ */
|
|
28786
|
+
return /* @__PURE__ */ jsx58(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs35(
|
|
28770
28787
|
"div",
|
|
28771
28788
|
{
|
|
28772
28789
|
className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
|
|
28773
28790
|
children: [
|
|
28774
|
-
/* @__PURE__ */
|
|
28791
|
+
/* @__PURE__ */ jsx58(
|
|
28775
28792
|
"span",
|
|
28776
28793
|
{
|
|
28777
28794
|
className: "inline-block w-[16px] h-[16px] rounded",
|
|
28778
28795
|
style: { backgroundColor: d.color }
|
|
28779
28796
|
}
|
|
28780
28797
|
),
|
|
28781
|
-
/* @__PURE__ */
|
|
28798
|
+
/* @__PURE__ */ jsx58("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
|
|
28782
28799
|
]
|
|
28783
28800
|
},
|
|
28784
28801
|
d.name
|
|
@@ -28791,7 +28808,7 @@ var DonutChart = ({ className, style, ...props }) => {
|
|
|
28791
28808
|
style,
|
|
28792
28809
|
children: [
|
|
28793
28810
|
/* @__PURE__ */ jsxs35("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
|
|
28794
|
-
data.length > 0 && /* @__PURE__ */
|
|
28811
|
+
data.length > 0 && /* @__PURE__ */ jsx58(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs35(PieChart, { children: [
|
|
28795
28812
|
/* @__PURE__ */ jsxs35(
|
|
28796
28813
|
Pie,
|
|
28797
28814
|
{
|
|
@@ -28804,8 +28821,8 @@ var DonutChart = ({ className, style, ...props }) => {
|
|
|
28804
28821
|
labelLine: false,
|
|
28805
28822
|
isAnimationActive: false,
|
|
28806
28823
|
children: [
|
|
28807
|
-
data.map((entry, index) => /* @__PURE__ */
|
|
28808
|
-
/* @__PURE__ */
|
|
28824
|
+
data.map((entry, index) => /* @__PURE__ */ jsx58(Cell, { fill: entry.color }, `cell-${index}`)),
|
|
28825
|
+
/* @__PURE__ */ jsx58(
|
|
28809
28826
|
LabelList,
|
|
28810
28827
|
{
|
|
28811
28828
|
dataKey: "value",
|
|
@@ -28816,14 +28833,14 @@ var DonutChart = ({ className, style, ...props }) => {
|
|
|
28816
28833
|
]
|
|
28817
28834
|
}
|
|
28818
28835
|
),
|
|
28819
|
-
/* @__PURE__ */
|
|
28836
|
+
/* @__PURE__ */ jsx58(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
|
|
28820
28837
|
] }) }),
|
|
28821
28838
|
/* @__PURE__ */ jsxs35("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: [
|
|
28822
28839
|
total,
|
|
28823
28840
|
"k"
|
|
28824
28841
|
] })
|
|
28825
28842
|
] }),
|
|
28826
|
-
/* @__PURE__ */
|
|
28843
|
+
/* @__PURE__ */ jsx58("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
|
|
28827
28844
|
w-full md:w-auto`, children: renderLegends() })
|
|
28828
28845
|
]
|
|
28829
28846
|
}
|
|
@@ -28832,10 +28849,10 @@ var DonutChart = ({ className, style, ...props }) => {
|
|
|
28832
28849
|
var PieChart_default = DonutChart;
|
|
28833
28850
|
|
|
28834
28851
|
// src/components/Blocks/EmailComposer.tsx
|
|
28835
|
-
import { jsx as
|
|
28852
|
+
import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
28836
28853
|
function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
|
|
28837
|
-
return /* @__PURE__ */
|
|
28838
|
-
/* @__PURE__ */
|
|
28854
|
+
return /* @__PURE__ */ jsx59("div", { className, style, children: /* @__PURE__ */ jsxs36("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
|
|
28855
|
+
/* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
|
|
28839
28856
|
"input",
|
|
28840
28857
|
{
|
|
28841
28858
|
type: "email",
|
|
@@ -28844,8 +28861,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28844
28861
|
required: true
|
|
28845
28862
|
}
|
|
28846
28863
|
) }),
|
|
28847
|
-
/* @__PURE__ */
|
|
28848
|
-
/* @__PURE__ */
|
|
28864
|
+
/* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-2", children: [
|
|
28865
|
+
/* @__PURE__ */ jsx59(
|
|
28849
28866
|
"input",
|
|
28850
28867
|
{
|
|
28851
28868
|
type: "email",
|
|
@@ -28856,7 +28873,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28856
28873
|
required: true
|
|
28857
28874
|
}
|
|
28858
28875
|
),
|
|
28859
|
-
!showCc && /* @__PURE__ */
|
|
28876
|
+
!showCc && /* @__PURE__ */ jsx59(
|
|
28860
28877
|
"button",
|
|
28861
28878
|
{
|
|
28862
28879
|
onClick: () => setShowCc?.(true),
|
|
@@ -28864,7 +28881,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28864
28881
|
children: "Cc"
|
|
28865
28882
|
}
|
|
28866
28883
|
),
|
|
28867
|
-
!showBcc && /* @__PURE__ */
|
|
28884
|
+
!showBcc && /* @__PURE__ */ jsx59(
|
|
28868
28885
|
"button",
|
|
28869
28886
|
{
|
|
28870
28887
|
onClick: () => setShowBcc?.(true),
|
|
@@ -28873,7 +28890,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28873
28890
|
}
|
|
28874
28891
|
)
|
|
28875
28892
|
] }) }),
|
|
28876
|
-
showCc && /* @__PURE__ */
|
|
28893
|
+
showCc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
|
|
28877
28894
|
"input",
|
|
28878
28895
|
{
|
|
28879
28896
|
type: "text",
|
|
@@ -28883,7 +28900,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28883
28900
|
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
28884
28901
|
}
|
|
28885
28902
|
) }),
|
|
28886
|
-
showBcc && /* @__PURE__ */
|
|
28903
|
+
showBcc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
|
|
28887
28904
|
"input",
|
|
28888
28905
|
{
|
|
28889
28906
|
type: "text",
|
|
@@ -28893,7 +28910,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28893
28910
|
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
28894
28911
|
}
|
|
28895
28912
|
) }),
|
|
28896
|
-
/* @__PURE__ */
|
|
28913
|
+
/* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
|
|
28897
28914
|
"input",
|
|
28898
28915
|
{
|
|
28899
28916
|
type: "text",
|
|
@@ -28903,11 +28920,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
|
|
|
28903
28920
|
className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
|
|
28904
28921
|
}
|
|
28905
28922
|
) }),
|
|
28906
|
-
/* @__PURE__ */
|
|
28923
|
+
/* @__PURE__ */ jsx59("div", { className: "mb-4", children: /* @__PURE__ */ jsx59(MyEditor, { value: body, onChange: setBody }) }),
|
|
28907
28924
|
/* @__PURE__ */ jsxs36("div", { className: "flex justify-end gap-2", children: [
|
|
28908
|
-
/* @__PURE__ */
|
|
28909
|
-
/* @__PURE__ */
|
|
28910
|
-
/* @__PURE__ */
|
|
28925
|
+
/* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
|
|
28926
|
+
/* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
|
|
28927
|
+
/* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
|
|
28911
28928
|
] })
|
|
28912
28929
|
] }) });
|
|
28913
28930
|
}
|
|
@@ -28950,6 +28967,7 @@ function showSonnerToast({
|
|
|
28950
28967
|
}
|
|
28951
28968
|
export {
|
|
28952
28969
|
Accordion_default as Accordion,
|
|
28970
|
+
AccordionGroup_default as AccordionGroup,
|
|
28953
28971
|
BarChart_default as BarChart,
|
|
28954
28972
|
Breadcrumb_default as Breadcrumb,
|
|
28955
28973
|
Button_default as Button,
|
|
@@ -28978,6 +28996,7 @@ export {
|
|
|
28978
28996
|
RichText,
|
|
28979
28997
|
SearchInput_default as Search,
|
|
28980
28998
|
Shape_default as Shape,
|
|
28999
|
+
Slot_default as Slot,
|
|
28981
29000
|
Spacer_default as Spacer,
|
|
28982
29001
|
Stages_default as Stages,
|
|
28983
29002
|
SwitchToggle_default as SwitchToggle,
|