magick-ui 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -77,6 +77,7 @@ __export(src_exports, {
77
77
  FileUploadField: () => FileUploadField,
78
78
  Form: () => Form,
79
79
  FormField: () => FormField,
80
+ GoogleMapView: () => GoogleMapView,
80
81
  GradientContainer: () => GradientContainer,
81
82
  Grid: () => Grid,
82
83
  IconButton: () => IconButton,
@@ -3352,6 +3353,116 @@ var component_schema_default = {
3352
3353
  },
3353
3354
  $schema: "http://json-schema.org/draft-07/schema#"
3354
3355
  },
3356
+ "google-map": {
3357
+ $ref: "#/definitions/google-map",
3358
+ definitions: {
3359
+ "google-map": {
3360
+ type: "object",
3361
+ properties: {
3362
+ type: {
3363
+ type: "string",
3364
+ const: "google-map"
3365
+ },
3366
+ props: {
3367
+ type: "object",
3368
+ properties: {
3369
+ center: {
3370
+ type: "object",
3371
+ properties: {
3372
+ lat: {
3373
+ type: "number",
3374
+ description: "Center latitude"
3375
+ },
3376
+ lng: {
3377
+ type: "number",
3378
+ description: "Center longitude"
3379
+ }
3380
+ },
3381
+ required: [
3382
+ "lat",
3383
+ "lng"
3384
+ ],
3385
+ additionalProperties: false,
3386
+ description: "Map center coordinates"
3387
+ },
3388
+ zoom: {
3389
+ type: "number",
3390
+ description: "Zoom level (1-20). Defaults to 12"
3391
+ },
3392
+ markers: {
3393
+ type: "array",
3394
+ items: {
3395
+ type: "object",
3396
+ properties: {
3397
+ lat: {
3398
+ type: "number",
3399
+ description: "Latitude"
3400
+ },
3401
+ lng: {
3402
+ type: "number",
3403
+ description: "Longitude"
3404
+ },
3405
+ title: {
3406
+ type: "string",
3407
+ description: "Marker title shown in info window"
3408
+ },
3409
+ description: {
3410
+ type: "string",
3411
+ description: "Marker description shown in info window"
3412
+ },
3413
+ color: {
3414
+ type: "string",
3415
+ description: "Marker pin color (hex or CSS color)"
3416
+ }
3417
+ },
3418
+ required: [
3419
+ "lat",
3420
+ "lng"
3421
+ ],
3422
+ additionalProperties: false
3423
+ },
3424
+ description: "Array of map markers with lat/lng and optional info"
3425
+ },
3426
+ height: {
3427
+ type: "string",
3428
+ description: "Map height CSS value. Defaults to '400px'"
3429
+ },
3430
+ width: {
3431
+ type: "string",
3432
+ description: "Map width CSS value. Defaults to '100%'"
3433
+ },
3434
+ gestureHandling: {
3435
+ type: "string",
3436
+ enum: [
3437
+ "cooperative",
3438
+ "greedy",
3439
+ "none",
3440
+ "auto"
3441
+ ],
3442
+ description: "How the map handles touch/scroll gestures. Defaults to 'cooperative'"
3443
+ },
3444
+ disableDefaultUI: {
3445
+ type: "boolean",
3446
+ description: "Hide default map controls"
3447
+ },
3448
+ showCurrentLocation: {
3449
+ type: "boolean",
3450
+ description: "Show a blue dot for the user's current location"
3451
+ }
3452
+ },
3453
+ additionalProperties: false
3454
+ }
3455
+ },
3456
+ required: [
3457
+ "type",
3458
+ "props"
3459
+ ],
3460
+ additionalProperties: false,
3461
+ description: "An interactive Google Map with optional markers and info windows"
3462
+ }
3463
+ },
3464
+ $schema: "http://json-schema.org/draft-07/schema#"
3465
+ },
3355
3466
  calendar: {
3356
3467
  $ref: "#/definitions/calendar",
3357
3468
  definitions: {
@@ -5527,75 +5638,101 @@ var tableSchema = import_zod45.z.object({
5527
5638
  })
5528
5639
  }).describe("A data table with columns and rows");
5529
5640
 
5530
- // src/ui/Calendar/schema.ts
5641
+ // src/ui/Map/schema.ts
5531
5642
  var import_zod46 = require("zod");
5532
- var calendarSchema = import_zod46.z.object({
5533
- type: import_zod46.z.literal("calendar"),
5643
+ var mapMarkerSchema = import_zod46.z.object({
5644
+ lat: import_zod46.z.number().describe("Latitude"),
5645
+ lng: import_zod46.z.number().describe("Longitude"),
5646
+ title: import_zod46.z.string().optional().describe("Marker title shown in info window"),
5647
+ description: import_zod46.z.string().optional().describe("Marker description shown in info window"),
5648
+ color: import_zod46.z.string().optional().describe("Marker pin color (hex or CSS color)")
5649
+ });
5650
+ var googleMapSchema = import_zod46.z.object({
5651
+ type: import_zod46.z.literal("google-map"),
5534
5652
  props: import_zod46.z.object({
5535
- showOutsideDays: import_zod46.z.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5536
- captionLayout: import_zod46.z.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5537
- buttonVariant: import_zod46.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5538
- mode: import_zod46.z.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5539
- numberOfMonths: import_zod46.z.number().optional().describe("Number of months to display"),
5540
- disabled: import_zod46.z.boolean().optional()
5541
- }).optional()
5542
- }).describe("A date calendar for picking dates or date ranges");
5653
+ center: import_zod46.z.object({
5654
+ lat: import_zod46.z.number().describe("Center latitude"),
5655
+ lng: import_zod46.z.number().describe("Center longitude")
5656
+ }).optional().describe("Map center coordinates"),
5657
+ zoom: import_zod46.z.number().optional().describe("Zoom level (1-20). Defaults to 12"),
5658
+ markers: import_zod46.z.array(mapMarkerSchema).optional().describe("Array of map markers with lat/lng and optional info"),
5659
+ height: import_zod46.z.string().optional().describe("Map height CSS value. Defaults to '400px'"),
5660
+ width: import_zod46.z.string().optional().describe("Map width CSS value. Defaults to '100%'"),
5661
+ gestureHandling: import_zod46.z.enum(["cooperative", "greedy", "none", "auto"]).optional().describe("How the map handles touch/scroll gestures. Defaults to 'cooperative'"),
5662
+ disableDefaultUI: import_zod46.z.boolean().optional().describe("Hide default map controls"),
5663
+ showCurrentLocation: import_zod46.z.boolean().optional().describe("Show a blue dot for the user's current location")
5664
+ })
5665
+ }).describe("An interactive Google Map with optional markers and info windows");
5543
5666
 
5544
- // src/ui/FileInput/schema.ts
5667
+ // src/ui/Calendar/schema.ts
5545
5668
  var import_zod47 = require("zod");
5546
- var fileInputSchema = import_zod47.z.object({
5547
- type: import_zod47.z.literal("file-input"),
5669
+ var calendarSchema = import_zod47.z.object({
5670
+ type: import_zod47.z.literal("calendar"),
5548
5671
  props: import_zod47.z.object({
5549
- label: import_zod47.z.string().optional().describe("Label text above the input"),
5550
- helperText: import_zod47.z.string().optional().describe("Helper text below the input"),
5551
- error: import_zod47.z.boolean().optional().describe("Show error styling. Defaults to false"),
5552
- accept: import_zod47.z.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5553
- multiple: import_zod47.z.boolean().optional().describe("Allow multiple files. Defaults to false"),
5672
+ showOutsideDays: import_zod47.z.boolean().optional().describe("Show days from adjacent months. Defaults to true"),
5673
+ captionLayout: import_zod47.z.enum(["label", "dropdown", "dropdown-months", "dropdown-years"]).optional().describe("Caption display mode. Defaults to 'label'"),
5674
+ buttonVariant: import_zod47.z.enum(["primary", "secondary", "outline", "destructive", "ghost", "soft"]).optional().describe("Navigation button style. Defaults to 'ghost'"),
5675
+ mode: import_zod47.z.enum(["single", "multiple", "range"]).optional().describe("Selection mode"),
5676
+ numberOfMonths: import_zod47.z.number().optional().describe("Number of months to display"),
5554
5677
  disabled: import_zod47.z.boolean().optional()
5555
5678
  }).optional()
5556
- }).describe("A file input with choose-file button and upload progress");
5679
+ }).describe("A date calendar for picking dates or date ranges");
5557
5680
 
5558
- // src/ui/ToolToggle/schema.ts
5681
+ // src/ui/FileInput/schema.ts
5559
5682
  var import_zod48 = require("zod");
5560
- var toolToggleSchema = import_zod48.z.object({
5561
- type: import_zod48.z.literal("tool-toggle"),
5683
+ var fileInputSchema = import_zod48.z.object({
5684
+ type: import_zod48.z.literal("file-input"),
5562
5685
  props: import_zod48.z.object({
5563
- icon: import_zod48.z.string().optional().describe("Icon name (resolved by the renderer)"),
5564
- dropdown: import_zod48.z.boolean().optional().describe("Show dropdown chevron")
5686
+ label: import_zod48.z.string().optional().describe("Label text above the input"),
5687
+ helperText: import_zod48.z.string().optional().describe("Helper text below the input"),
5688
+ error: import_zod48.z.boolean().optional().describe("Show error styling. Defaults to false"),
5689
+ accept: import_zod48.z.string().optional().describe("Accepted file types, e.g. 'image/*,.pdf'"),
5690
+ multiple: import_zod48.z.boolean().optional().describe("Allow multiple files. Defaults to false"),
5691
+ disabled: import_zod48.z.boolean().optional()
5565
5692
  }).optional()
5566
- }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5693
+ }).describe("A file input with choose-file button and upload progress");
5567
5694
 
5568
- // src/ui/ToggleDropdownButton/schema.ts
5695
+ // src/ui/ToolToggle/schema.ts
5569
5696
  var import_zod49 = require("zod");
5570
- var toggleDropdownButtonSchema = import_zod49.z.object({
5571
- type: import_zod49.z.literal("toggle-dropdown-button"),
5697
+ var toolToggleSchema = import_zod49.z.object({
5698
+ type: import_zod49.z.literal("tool-toggle"),
5572
5699
  props: import_zod49.z.object({
5573
- type: import_zod49.z.enum(["text", "icon"]).describe("Button content type"),
5574
- selected: import_zod49.z.boolean().describe("Whether the button is selected"),
5575
- variant: import_zod49.z.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5700
+ icon: import_zod49.z.string().optional().describe("Icon name (resolved by the renderer)"),
5701
+ dropdown: import_zod49.z.boolean().optional().describe("Show dropdown chevron")
5702
+ }).optional()
5703
+ }).describe("A round toggle button used in toolbars, optionally with a dropdown");
5704
+
5705
+ // src/ui/ToggleDropdownButton/schema.ts
5706
+ var import_zod50 = require("zod");
5707
+ var toggleDropdownButtonSchema = import_zod50.z.object({
5708
+ type: import_zod50.z.literal("toggle-dropdown-button"),
5709
+ props: import_zod50.z.object({
5710
+ type: import_zod50.z.enum(["text", "icon"]).describe("Button content type"),
5711
+ selected: import_zod50.z.boolean().describe("Whether the button is selected"),
5712
+ variant: import_zod50.z.enum(["primary", "secondary", "destructive"]).describe("Button color variant")
5576
5713
  })
5577
5714
  }).describe("A split toggle button with an attached dropdown trigger");
5578
5715
 
5579
5716
  // src/ui/IconContainer/schema.ts
5580
- var import_zod50 = require("zod");
5581
- var iconContainerSchema = import_zod50.z.object({
5582
- type: import_zod50.z.literal("icon-container"),
5583
- props: import_zod50.z.object({
5584
- icon: import_zod50.z.string().optional().describe("Icon name (resolved by the renderer)"),
5585
- size: import_zod50.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5586
- colorInFill: import_zod50.z.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5587
- disableTheme: import_zod50.z.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5717
+ var import_zod51 = require("zod");
5718
+ var iconContainerSchema = import_zod51.z.object({
5719
+ type: import_zod51.z.literal("icon-container"),
5720
+ props: import_zod51.z.object({
5721
+ icon: import_zod51.z.string().optional().describe("Icon name (resolved by the renderer)"),
5722
+ size: import_zod51.z.enum(["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "auto"]).optional().describe("Icon size. Defaults to 'sm'"),
5723
+ colorInFill: import_zod51.z.boolean().optional().describe("Apply fill colors to SVG paths. Defaults to true"),
5724
+ disableTheme: import_zod51.z.boolean().optional().describe("Disable theme-aware coloring. Defaults to false")
5588
5725
  }).optional(),
5589
- children: import_zod50.z.array(uiNodeSchema).optional().describe("Icon element")
5726
+ children: import_zod51.z.array(uiNodeSchema).optional().describe("Icon element")
5590
5727
  }).describe("A sized container for static icons with theme-aware coloring");
5591
5728
 
5592
5729
  // src/ui/IconProfile/schema.ts
5593
- var import_zod51 = require("zod");
5594
- var iconProfileSchema = import_zod51.z.object({
5595
- type: import_zod51.z.literal("icon-profile"),
5596
- props: import_zod51.z.object({
5597
- icon: import_zod51.z.string().describe("Icon name (resolved by the renderer)"),
5598
- color: import_zod51.z.enum([
5730
+ var import_zod52 = require("zod");
5731
+ var iconProfileSchema = import_zod52.z.object({
5732
+ type: import_zod52.z.literal("icon-profile"),
5733
+ props: import_zod52.z.object({
5734
+ icon: import_zod52.z.string().describe("Icon name (resolved by the renderer)"),
5735
+ color: import_zod52.z.enum([
5599
5736
  "red",
5600
5737
  "orange",
5601
5738
  "amber",
@@ -5615,18 +5752,18 @@ var iconProfileSchema = import_zod51.z.object({
5615
5752
  "rose",
5616
5753
  "slate"
5617
5754
  ]).optional().describe("Background glow and icon color. Defaults to 'red'"),
5618
- size: import_zod51.z.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5619
- externalIcon: import_zod51.z.boolean().optional().describe("Whether the icon is external")
5755
+ size: import_zod52.z.enum(["26", "32", "40", "48", "56", "64"]).optional().describe("Size in pixels. Defaults to '64'"),
5756
+ externalIcon: import_zod52.z.boolean().optional().describe("Whether the icon is external")
5620
5757
  })
5621
5758
  }).describe("An icon with a colored radial glow background");
5622
5759
 
5623
5760
  // src/ui/ButtonWithTooltip/schema.ts
5624
- var import_zod52 = require("zod");
5625
- var buttonWithTooltipSchema = import_zod52.z.object({
5626
- type: import_zod52.z.literal("button-with-tooltip"),
5627
- props: import_zod52.z.object({
5628
- content: import_zod52.z.string().describe("Tooltip text"),
5629
- position: import_zod52.z.enum([
5761
+ var import_zod53 = require("zod");
5762
+ var buttonWithTooltipSchema = import_zod53.z.object({
5763
+ type: import_zod53.z.literal("button-with-tooltip"),
5764
+ props: import_zod53.z.object({
5765
+ content: import_zod53.z.string().describe("Tooltip text"),
5766
+ position: import_zod53.z.enum([
5630
5767
  "top",
5631
5768
  "top-center",
5632
5769
  "top-left",
@@ -5638,147 +5775,147 @@ var buttonWithTooltipSchema = import_zod52.z.object({
5638
5775
  "left",
5639
5776
  "right"
5640
5777
  ]).optional().describe("Tooltip placement"),
5641
- withArrow: import_zod52.z.boolean().optional().describe("Show an arrow pointer")
5778
+ withArrow: import_zod53.z.boolean().optional().describe("Show an arrow pointer")
5642
5779
  }),
5643
- children: import_zod52.z.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5780
+ children: import_zod53.z.array(uiNodeSchema).optional().describe("The button element to wrap with a tooltip")
5644
5781
  }).describe("A button wrapped with a tooltip that appears on hover");
5645
5782
 
5646
5783
  // src/ui/Sheet/schema.ts
5647
- var import_zod53 = require("zod");
5648
- var sheetSchema = import_zod53.z.object({
5649
- type: import_zod53.z.literal("sheet"),
5650
- props: import_zod53.z.object({}).optional(),
5651
- children: import_zod53.z.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5784
+ var import_zod54 = require("zod");
5785
+ var sheetSchema = import_zod54.z.object({
5786
+ type: import_zod54.z.literal("sheet"),
5787
+ props: import_zod54.z.object({}).optional(),
5788
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("Compose with sheet-trigger and sheet-content")
5652
5789
  }).describe("A slide-out panel overlay");
5653
- var sheetTriggerSchema = import_zod53.z.object({
5654
- type: import_zod53.z.literal("sheet-trigger"),
5655
- props: import_zod53.z.object({}).optional(),
5656
- children: import_zod53.z.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5790
+ var sheetTriggerSchema = import_zod54.z.object({
5791
+ type: import_zod54.z.literal("sheet-trigger"),
5792
+ props: import_zod54.z.object({}).optional(),
5793
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("The element that opens the sheet")
5657
5794
  }).describe("Trigger element that opens a sheet");
5658
- var sheetContentSchema = import_zod53.z.object({
5659
- type: import_zod53.z.literal("sheet-content"),
5660
- props: import_zod53.z.object({
5661
- side: import_zod53.z.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5662
- showCloseButton: import_zod53.z.boolean().optional().describe("Show close button. Defaults to true")
5795
+ var sheetContentSchema = import_zod54.z.object({
5796
+ type: import_zod54.z.literal("sheet-content"),
5797
+ props: import_zod54.z.object({
5798
+ side: import_zod54.z.enum(["top", "right", "bottom", "left"]).optional().describe("Slide-in direction. Defaults to 'right'"),
5799
+ showCloseButton: import_zod54.z.boolean().optional().describe("Show close button. Defaults to true")
5663
5800
  }).optional(),
5664
- children: import_zod53.z.array(uiNodeSchema).optional().describe("Sheet body content")
5801
+ children: import_zod54.z.array(uiNodeSchema).optional().describe("Sheet body content")
5665
5802
  }).describe("Content panel of a sheet");
5666
- var sheetHeaderSchema = import_zod53.z.object({
5667
- type: import_zod53.z.literal("sheet-header"),
5668
- props: import_zod53.z.object({}).optional(),
5669
- children: import_zod53.z.array(uiNodeSchema).optional()
5803
+ var sheetHeaderSchema = import_zod54.z.object({
5804
+ type: import_zod54.z.literal("sheet-header"),
5805
+ props: import_zod54.z.object({}).optional(),
5806
+ children: import_zod54.z.array(uiNodeSchema).optional()
5670
5807
  }).describe("Header section of a sheet");
5671
- var sheetFooterSchema = import_zod53.z.object({
5672
- type: import_zod53.z.literal("sheet-footer"),
5673
- props: import_zod53.z.object({}).optional(),
5674
- children: import_zod53.z.array(uiNodeSchema).optional()
5808
+ var sheetFooterSchema = import_zod54.z.object({
5809
+ type: import_zod54.z.literal("sheet-footer"),
5810
+ props: import_zod54.z.object({}).optional(),
5811
+ children: import_zod54.z.array(uiNodeSchema).optional()
5675
5812
  }).describe("Footer section of a sheet");
5676
- var sheetTitleSchema = import_zod53.z.object({
5677
- type: import_zod53.z.literal("sheet-title"),
5678
- props: import_zod53.z.object({
5679
- children: import_zod53.z.string().optional().describe("Title text")
5813
+ var sheetTitleSchema = import_zod54.z.object({
5814
+ type: import_zod54.z.literal("sheet-title"),
5815
+ props: import_zod54.z.object({
5816
+ children: import_zod54.z.string().optional().describe("Title text")
5680
5817
  }).optional(),
5681
- children: import_zod53.z.array(uiNodeSchema).optional()
5818
+ children: import_zod54.z.array(uiNodeSchema).optional()
5682
5819
  }).describe("Title inside a sheet-header");
5683
- var sheetDescriptionSchema = import_zod53.z.object({
5684
- type: import_zod53.z.literal("sheet-description"),
5685
- props: import_zod53.z.object({
5686
- children: import_zod53.z.string().optional().describe("Description text")
5820
+ var sheetDescriptionSchema = import_zod54.z.object({
5821
+ type: import_zod54.z.literal("sheet-description"),
5822
+ props: import_zod54.z.object({
5823
+ children: import_zod54.z.string().optional().describe("Description text")
5687
5824
  }).optional(),
5688
- children: import_zod53.z.array(uiNodeSchema).optional()
5825
+ children: import_zod54.z.array(uiNodeSchema).optional()
5689
5826
  }).describe("Description text inside a sheet-header");
5690
5827
 
5691
5828
  // src/ui/Dropdown/schema.ts
5692
- var import_zod54 = require("zod");
5693
- var dropdownMenuSchema = import_zod54.z.object({
5694
- type: import_zod54.z.literal("dropdown-menu"),
5695
- props: import_zod54.z.object({}).optional(),
5696
- children: import_zod54.z.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5829
+ var import_zod55 = require("zod");
5830
+ var dropdownMenuSchema = import_zod55.z.object({
5831
+ type: import_zod55.z.literal("dropdown-menu"),
5832
+ props: import_zod55.z.object({}).optional(),
5833
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("Compose with dropdown-menu-trigger and dropdown-menu-content")
5697
5834
  }).describe("A dropdown menu container");
5698
- var dropdownMenuTriggerSchema = import_zod54.z.object({
5699
- type: import_zod54.z.literal("dropdown-menu-trigger"),
5700
- props: import_zod54.z.object({}).optional(),
5701
- children: import_zod54.z.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5835
+ var dropdownMenuTriggerSchema = import_zod55.z.object({
5836
+ type: import_zod55.z.literal("dropdown-menu-trigger"),
5837
+ props: import_zod55.z.object({}).optional(),
5838
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("The element that opens the dropdown")
5702
5839
  }).describe("Trigger element that opens a dropdown menu");
5703
- var dropdownMenuContentSchema = import_zod54.z.object({
5704
- type: import_zod54.z.literal("dropdown-menu-content"),
5705
- props: import_zod54.z.object({
5706
- side: import_zod54.z.enum(["top", "right", "bottom", "left"]).optional(),
5707
- align: import_zod54.z.enum(["start", "center", "end"]).optional()
5840
+ var dropdownMenuContentSchema = import_zod55.z.object({
5841
+ type: import_zod55.z.literal("dropdown-menu-content"),
5842
+ props: import_zod55.z.object({
5843
+ side: import_zod55.z.enum(["top", "right", "bottom", "left"]).optional(),
5844
+ align: import_zod55.z.enum(["start", "center", "end"]).optional()
5708
5845
  }).optional(),
5709
- children: import_zod54.z.array(uiNodeSchema).optional().describe("Menu items")
5846
+ children: import_zod55.z.array(uiNodeSchema).optional().describe("Menu items")
5710
5847
  }).describe("Content panel of a dropdown menu");
5711
- var dropdownMenuItemSchema = import_zod54.z.object({
5712
- type: import_zod54.z.literal("dropdown-menu-item"),
5713
- props: import_zod54.z.object({
5714
- children: import_zod54.z.string().optional().describe("Menu item text"),
5715
- variant: import_zod54.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5716
- disabled: import_zod54.z.boolean().optional()
5848
+ var dropdownMenuItemSchema = import_zod55.z.object({
5849
+ type: import_zod55.z.literal("dropdown-menu-item"),
5850
+ props: import_zod55.z.object({
5851
+ children: import_zod55.z.string().optional().describe("Menu item text"),
5852
+ variant: import_zod55.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5853
+ disabled: import_zod55.z.boolean().optional()
5717
5854
  }).optional(),
5718
- children: import_zod54.z.array(uiNodeSchema).optional()
5855
+ children: import_zod55.z.array(uiNodeSchema).optional()
5719
5856
  }).describe("A single item inside a dropdown menu");
5720
- var dropdownMenuSeparatorSchema = import_zod54.z.object({
5721
- type: import_zod54.z.literal("dropdown-menu-separator"),
5722
- props: import_zod54.z.object({}).optional()
5857
+ var dropdownMenuSeparatorSchema = import_zod55.z.object({
5858
+ type: import_zod55.z.literal("dropdown-menu-separator"),
5859
+ props: import_zod55.z.object({}).optional()
5723
5860
  }).describe("A visual separator between dropdown menu items");
5724
- var dropdownMenuLabelSchema = import_zod54.z.object({
5725
- type: import_zod54.z.literal("dropdown-menu-label"),
5726
- props: import_zod54.z.object({
5727
- children: import_zod54.z.string().optional().describe("Label text")
5861
+ var dropdownMenuLabelSchema = import_zod55.z.object({
5862
+ type: import_zod55.z.literal("dropdown-menu-label"),
5863
+ props: import_zod55.z.object({
5864
+ children: import_zod55.z.string().optional().describe("Label text")
5728
5865
  }).optional(),
5729
- children: import_zod54.z.array(uiNodeSchema).optional()
5866
+ children: import_zod55.z.array(uiNodeSchema).optional()
5730
5867
  }).describe("A non-interactive label inside a dropdown menu");
5731
5868
 
5732
5869
  // src/ui/Popover/schema.ts
5733
- var import_zod55 = require("zod");
5734
- var popoverSchema = import_zod55.z.object({
5735
- type: import_zod55.z.literal("popover"),
5736
- props: import_zod55.z.object({}).optional(),
5737
- children: import_zod55.z.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5870
+ var import_zod56 = require("zod");
5871
+ var popoverSchema = import_zod56.z.object({
5872
+ type: import_zod56.z.literal("popover"),
5873
+ props: import_zod56.z.object({}).optional(),
5874
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("Compose with popover-trigger and popover-content")
5738
5875
  }).describe("A popover overlay container");
5739
- var popoverTriggerSchema = import_zod55.z.object({
5740
- type: import_zod55.z.literal("popover-trigger"),
5741
- props: import_zod55.z.object({}).optional(),
5742
- children: import_zod55.z.array(uiNodeSchema).optional().describe("The element that opens the popover")
5876
+ var popoverTriggerSchema = import_zod56.z.object({
5877
+ type: import_zod56.z.literal("popover-trigger"),
5878
+ props: import_zod56.z.object({}).optional(),
5879
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("The element that opens the popover")
5743
5880
  }).describe("Trigger element that opens a popover");
5744
- var popoverContentSchema = import_zod55.z.object({
5745
- type: import_zod55.z.literal("popover-content"),
5746
- props: import_zod55.z.object({
5747
- align: import_zod55.z.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5748
- sideOffset: import_zod55.z.number().optional().describe("Offset from trigger in px. Defaults to 4")
5881
+ var popoverContentSchema = import_zod56.z.object({
5882
+ type: import_zod56.z.literal("popover-content"),
5883
+ props: import_zod56.z.object({
5884
+ align: import_zod56.z.enum(["start", "center", "end"]).optional().describe("Alignment relative to trigger. Defaults to 'center'"),
5885
+ sideOffset: import_zod56.z.number().optional().describe("Offset from trigger in px. Defaults to 4")
5749
5886
  }).optional(),
5750
- children: import_zod55.z.array(uiNodeSchema).optional().describe("Popover body content")
5887
+ children: import_zod56.z.array(uiNodeSchema).optional().describe("Popover body content")
5751
5888
  }).describe("Content panel of a popover");
5752
5889
 
5753
5890
  // src/ui/ContextMenu/schema.ts
5754
- var import_zod56 = require("zod");
5755
- var contextMenuSchema = import_zod56.z.object({
5756
- type: import_zod56.z.literal("context-menu"),
5757
- props: import_zod56.z.object({}).optional(),
5758
- children: import_zod56.z.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5891
+ var import_zod57 = require("zod");
5892
+ var contextMenuSchema = import_zod57.z.object({
5893
+ type: import_zod57.z.literal("context-menu"),
5894
+ props: import_zod57.z.object({}).optional(),
5895
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("Compose with context-menu-trigger and context-menu-content")
5759
5896
  }).describe("A right-click context menu container");
5760
- var contextMenuTriggerSchema = import_zod56.z.object({
5761
- type: import_zod56.z.literal("context-menu-trigger"),
5762
- props: import_zod56.z.object({}).optional(),
5763
- children: import_zod56.z.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5897
+ var contextMenuTriggerSchema = import_zod57.z.object({
5898
+ type: import_zod57.z.literal("context-menu-trigger"),
5899
+ props: import_zod57.z.object({}).optional(),
5900
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("The element that triggers the context menu on right-click")
5764
5901
  }).describe("Trigger area for a context menu");
5765
- var contextMenuContentSchema = import_zod56.z.object({
5766
- type: import_zod56.z.literal("context-menu-content"),
5767
- props: import_zod56.z.object({}).optional(),
5768
- children: import_zod56.z.array(uiNodeSchema).optional().describe("Menu items")
5902
+ var contextMenuContentSchema = import_zod57.z.object({
5903
+ type: import_zod57.z.literal("context-menu-content"),
5904
+ props: import_zod57.z.object({}).optional(),
5905
+ children: import_zod57.z.array(uiNodeSchema).optional().describe("Menu items")
5769
5906
  }).describe("Content panel of a context menu");
5770
- var contextMenuItemSchema = import_zod56.z.object({
5771
- type: import_zod56.z.literal("context-menu-item"),
5772
- props: import_zod56.z.object({
5773
- children: import_zod56.z.string().optional().describe("Menu item text"),
5774
- variant: import_zod56.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5775
- disabled: import_zod56.z.boolean().optional()
5907
+ var contextMenuItemSchema = import_zod57.z.object({
5908
+ type: import_zod57.z.literal("context-menu-item"),
5909
+ props: import_zod57.z.object({
5910
+ children: import_zod57.z.string().optional().describe("Menu item text"),
5911
+ variant: import_zod57.z.enum(["default", "destructive"]).optional().describe("Item style. Defaults to 'default'"),
5912
+ disabled: import_zod57.z.boolean().optional()
5776
5913
  }).optional(),
5777
- children: import_zod56.z.array(uiNodeSchema).optional()
5914
+ children: import_zod57.z.array(uiNodeSchema).optional()
5778
5915
  }).describe("A single item inside a context menu");
5779
- var contextMenuSeparatorSchema = import_zod56.z.object({
5780
- type: import_zod56.z.literal("context-menu-separator"),
5781
- props: import_zod56.z.object({}).optional()
5916
+ var contextMenuSeparatorSchema = import_zod57.z.object({
5917
+ type: import_zod57.z.literal("context-menu-separator"),
5918
+ props: import_zod57.z.object({}).optional()
5782
5919
  }).describe("A visual separator between context menu items");
5783
5920
 
5784
5921
  // src/schema.ts
@@ -9410,11 +9547,130 @@ function LinkButton({
9410
9547
  );
9411
9548
  }
9412
9549
 
9550
+ // src/ui/Map/index.tsx
9551
+ var import_react_google_maps = require("@vis.gl/react-google-maps");
9552
+ var import_react7 = require("react");
9553
+ var import_jsx_runtime34 = require("react/jsx-runtime");
9554
+ function MarkerWithInfo({
9555
+ marker,
9556
+ index,
9557
+ onMarkerClick
9558
+ }) {
9559
+ const [open, setOpen] = (0, import_react7.useState)(false);
9560
+ const handleClick = (0, import_react7.useCallback)(() => {
9561
+ setOpen((prev) => !prev);
9562
+ onMarkerClick?.(marker, index);
9563
+ }, [marker, index, onMarkerClick]);
9564
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
9565
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9566
+ import_react_google_maps.Marker,
9567
+ {
9568
+ position: { lat: marker.lat, lng: marker.lng },
9569
+ title: marker.title,
9570
+ onClick: handleClick
9571
+ }
9572
+ ),
9573
+ open && (marker.title || marker.description) && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9574
+ import_react_google_maps.InfoWindow,
9575
+ {
9576
+ position: { lat: marker.lat, lng: marker.lng },
9577
+ onCloseClick: () => setOpen(false),
9578
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "max-w-xs", children: [
9579
+ marker.title && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("h3", { className: "text-body-sm font-semibold", children: marker.title }),
9580
+ marker.description && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-body-sm text-element-inverse-gray mt-1", children: marker.description })
9581
+ ] })
9582
+ }
9583
+ )
9584
+ ] });
9585
+ }
9586
+ var CURRENT_LOCATION_ICON = {
9587
+ path: 0,
9588
+ // google.maps.SymbolPath.CIRCLE
9589
+ scale: 8,
9590
+ fillColor: "#4285F4",
9591
+ fillOpacity: 1,
9592
+ strokeColor: "#ffffff",
9593
+ strokeWeight: 2.5
9594
+ };
9595
+ function CurrentLocationMarker() {
9596
+ const map = (0, import_react_google_maps.useMap)();
9597
+ const [position, setPosition] = (0, import_react7.useState)(null);
9598
+ (0, import_react7.useEffect)(() => {
9599
+ if (!navigator.geolocation) return;
9600
+ const watchId = navigator.geolocation.watchPosition(
9601
+ (pos) => {
9602
+ const coords = { lat: pos.coords.latitude, lng: pos.coords.longitude };
9603
+ setPosition(coords);
9604
+ },
9605
+ () => {
9606
+ },
9607
+ { enableHighAccuracy: true, maximumAge: 1e4 }
9608
+ );
9609
+ return () => navigator.geolocation.clearWatch(watchId);
9610
+ }, [map]);
9611
+ if (!position) return null;
9612
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9613
+ import_react_google_maps.Marker,
9614
+ {
9615
+ position,
9616
+ title: "Your location",
9617
+ icon: CURRENT_LOCATION_ICON,
9618
+ clickable: false
9619
+ }
9620
+ );
9621
+ }
9622
+ var DEFAULT_CENTER = { lat: 16.8661, lng: 96.1951 };
9623
+ function GoogleMapView({
9624
+ apiKey,
9625
+ center = DEFAULT_CENTER,
9626
+ zoom = 12,
9627
+ markers = [],
9628
+ mapId,
9629
+ height = "400px",
9630
+ width = "100%",
9631
+ className,
9632
+ gestureHandling = "cooperative",
9633
+ disableDefaultUI = false,
9634
+ showCurrentLocation = false,
9635
+ onMarkerClick
9636
+ }) {
9637
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_google_maps.APIProvider, { apiKey, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9638
+ "div",
9639
+ {
9640
+ className: cn("overflow-hidden rounded-unit-corner-radius-xl", className),
9641
+ style: { height, width },
9642
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
9643
+ import_react_google_maps.Map,
9644
+ {
9645
+ defaultCenter: center,
9646
+ defaultZoom: zoom,
9647
+ mapId,
9648
+ gestureHandling,
9649
+ disableDefaultUI,
9650
+ style: { width: "100%", height: "100%" },
9651
+ children: [
9652
+ showCurrentLocation && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CurrentLocationMarker, {}),
9653
+ markers.map((marker, i) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9654
+ MarkerWithInfo,
9655
+ {
9656
+ marker,
9657
+ index: i,
9658
+ onMarkerClick
9659
+ },
9660
+ `${marker.lat}-${marker.lng}-${i}`
9661
+ ))
9662
+ ]
9663
+ }
9664
+ )
9665
+ }
9666
+ ) });
9667
+ }
9668
+
9413
9669
  // src/ui/Media/index.tsx
9414
9670
  var import_class_variance_authority10 = require("class-variance-authority");
9415
9671
  var import_lucide_react16 = require("lucide-react");
9416
9672
  var React10 = __toESM(require("react"), 1);
9417
- var import_jsx_runtime34 = require("react/jsx-runtime");
9673
+ var import_jsx_runtime35 = require("react/jsx-runtime");
9418
9674
  var mediaVariants = (0, import_class_variance_authority10.cva)(
9419
9675
  "relative overflow-hidden bg-gray-100 dark:bg-gray-800",
9420
9676
  {
@@ -9512,7 +9768,7 @@ var Media = React10.forwardRef(
9512
9768
  const handleImageError = () => {
9513
9769
  setImageError(true);
9514
9770
  };
9515
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9771
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9516
9772
  "div",
9517
9773
  {
9518
9774
  ref,
@@ -9520,8 +9776,8 @@ var Media = React10.forwardRef(
9520
9776
  onMouseEnter: () => setIsHovered(true),
9521
9777
  onMouseLeave: () => setIsHovered(false),
9522
9778
  ...props,
9523
- children: type === "image" ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
9524
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9779
+ children: type === "image" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
9780
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9525
9781
  "img",
9526
9782
  {
9527
9783
  src,
@@ -9539,13 +9795,13 @@ var Media = React10.forwardRef(
9539
9795
  style: { objectFit }
9540
9796
  }
9541
9797
  ),
9542
- !imageLoaded && !imageError && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-2 border-gray-300 border-t-gray-600" }) }),
9543
- imageError && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "text-center text-gray-500", children: [
9544
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "text-2xl", children: "\u{1F4F7}" }),
9545
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "text-sm", children: "Failed to load" })
9798
+ !imageLoaded && !imageError && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-2 border-gray-300 border-t-gray-600" }) }),
9799
+ imageError && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "text-center text-gray-500", children: [
9800
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "text-2xl", children: "\u{1F4F7}" }),
9801
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "text-sm", children: "Failed to load" })
9546
9802
  ] }) })
9547
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
9548
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9803
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
9804
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9549
9805
  "video",
9550
9806
  {
9551
9807
  ref: videoRef,
@@ -9558,7 +9814,7 @@ var Media = React10.forwardRef(
9558
9814
  preload: "metadata"
9559
9815
  }
9560
9816
  ),
9561
- showPlayButton && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9817
+ showPlayButton && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9562
9818
  "div",
9563
9819
  {
9564
9820
  className: cn(
@@ -9568,10 +9824,10 @@ var Media = React10.forwardRef(
9568
9824
  "opacity-0": !isHovered && !videoPlaying
9569
9825
  }
9570
9826
  ),
9571
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
9827
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9572
9828
  IconButton,
9573
9829
  {
9574
- icon: videoPlaying ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.Pause, { className: "text-gray-900" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.Play, { className: "ml-1 text-gray-900" }),
9830
+ icon: videoPlaying ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.Pause, { className: "text-gray-900" }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.Play, { className: "ml-1 text-gray-900" }),
9575
9831
  onClick: videoPlaying ? handlePause : handlePlay,
9576
9832
  varient: "outline",
9577
9833
  size: "md",
@@ -9592,7 +9848,7 @@ Media.displayName = "Media";
9592
9848
  // src/ui/MultiSelect/index.tsx
9593
9849
  var import_lucide_react17 = require("lucide-react");
9594
9850
  var React11 = __toESM(require("react"), 1);
9595
- var import_jsx_runtime35 = require("react/jsx-runtime");
9851
+ var import_jsx_runtime36 = require("react/jsx-runtime");
9596
9852
  function MultiSelect({
9597
9853
  options,
9598
9854
  selected,
@@ -9665,8 +9921,8 @@ function MultiSelect({
9665
9921
  e.preventDefault();
9666
9922
  inputRef.current?.focus();
9667
9923
  };
9668
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
9669
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
9924
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
9925
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
9670
9926
  "div",
9671
9927
  {
9672
9928
  ref: containerRef,
@@ -9678,10 +9934,10 @@ function MultiSelect({
9678
9934
  ),
9679
9935
  onClick: handleContainerClick,
9680
9936
  children: [
9681
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-1 flex-wrap items-center gap-1", children: [
9937
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-1 flex-wrap items-center gap-1", children: [
9682
9938
  selected.map((value) => {
9683
9939
  const option = options.find((opt) => opt.value === value);
9684
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9940
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9685
9941
  Chip,
9686
9942
  {
9687
9943
  label: option?.label || value,
@@ -9692,12 +9948,12 @@ function MultiSelect({
9692
9948
  className: cn(
9693
9949
  disabled && "pointer-events-none cursor-not-allowed"
9694
9950
  ),
9695
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.X, { className: "hover:text-destructive ml-1.5 h-3 w-3 cursor-pointer" })
9951
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react17.X, { className: "hover:text-destructive ml-1.5 h-3 w-3 cursor-pointer" })
9696
9952
  },
9697
9953
  value
9698
9954
  );
9699
9955
  }),
9700
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9956
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9701
9957
  "input",
9702
9958
  {
9703
9959
  ref: inputRef,
@@ -9711,25 +9967,25 @@ function MultiSelect({
9711
9967
  }
9712
9968
  )
9713
9969
  ] }),
9714
- selected.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9970
+ selected.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9715
9971
  import_lucide_react17.CircleXIcon,
9716
9972
  {
9717
9973
  className: "text-icon-default size-4.5 shrink-0",
9718
9974
  onClick: () => onChange([])
9719
9975
  }
9720
9976
  ),
9721
- !createConfig?.enabled && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.ChevronDown, { className: "text-icon-default size-4.5 shrink-0" })
9977
+ !createConfig?.enabled && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react17.ChevronDown, { className: "text-icon-default size-4.5 shrink-0" })
9722
9978
  ]
9723
9979
  }
9724
9980
  ) }),
9725
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9981
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9726
9982
  PopoverContent,
9727
9983
  {
9728
9984
  className: "shadow-box w-[var(--radix-popover-trigger-width)] border-none bg-white p-2",
9729
9985
  align: "start",
9730
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "p-0", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "max-h-[300px] overflow-y-auto", children: filteredOptions.length === 0 && !canCreate ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "py-6 text-center text-gray-500", children: inputValue ? "No results found." : "Start typing to search..." }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col gap-1.5 px-1.5 pt-1.5 pb-0.5", children: [
9731
- createConfig?.enabled && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-text-default pb-0.5 font-semibold", children: "Select or create one" }),
9732
- filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
9986
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "p-0", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "max-h-[300px] overflow-y-auto", children: filteredOptions.length === 0 && !canCreate ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "py-6 text-center text-gray-500", children: inputValue ? "No results found." : "Start typing to search..." }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-col gap-1.5 px-1.5 pt-1.5 pb-0.5", children: [
9987
+ createConfig?.enabled && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "text-text-default pb-0.5 font-semibold", children: "Select or create one" }),
9988
+ filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9733
9989
  Chip,
9734
9990
  {
9735
9991
  label: option.label,
@@ -9738,14 +9994,14 @@ function MultiSelect({
9738
9994
  },
9739
9995
  option.value
9740
9996
  )),
9741
- canCreate && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
9997
+ canCreate && /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
9742
9998
  "div",
9743
9999
  {
9744
10000
  onClick: async () => await handleCreate(),
9745
10001
  className: "flex items-center justify-between",
9746
10002
  children: [
9747
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Chip, { label: inputValue.trim(), className: "rounded-md" }),
9748
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
10003
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Chip, { label: inputValue.trim(), className: "rounded-md" }),
10004
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
9749
10005
  Button,
9750
10006
  {
9751
10007
  variant: "ghost",
@@ -9766,7 +10022,7 @@ function MultiSelect({
9766
10022
  // src/ui/OTPInput/index.tsx
9767
10023
  var import_input_otp = require("input-otp");
9768
10024
  var React12 = __toESM(require("react"), 1);
9769
- var import_jsx_runtime36 = require("react/jsx-runtime");
10025
+ var import_jsx_runtime37 = require("react/jsx-runtime");
9770
10026
  function OTPInput({
9771
10027
  type = 4,
9772
10028
  separate = false,
@@ -9774,8 +10030,8 @@ function OTPInput({
9774
10030
  className,
9775
10031
  ...props
9776
10032
  }) {
9777
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: cn(className), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(InputOTP, { disabled, className: "w-full", ...props, children: [
9778
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(InputOTPGroup, { className: "w-full", children: [...new Array(type / 2)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10033
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: cn(className), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(InputOTP, { disabled, className: "w-full", ...props, children: [
10034
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputOTPGroup, { className: "w-full", children: [...new Array(type / 2)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
9779
10035
  InputOTPSlot,
9780
10036
  {
9781
10037
  className: "w-full",
@@ -9784,8 +10040,8 @@ function OTPInput({
9784
10040
  },
9785
10041
  index
9786
10042
  )) }),
9787
- separate && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(InputOTPSeparator, {}),
9788
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(InputOTPGroup, { className: "w-full", children: [...new Array(type / 2)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10043
+ separate && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputOTPSeparator, {}),
10044
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputOTPGroup, { className: "w-full", children: [...new Array(type / 2)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
9789
10045
  InputOTPSlot,
9790
10046
  {
9791
10047
  className: "w-full",
@@ -9801,7 +10057,7 @@ function InputOTP({
9801
10057
  containerClassName,
9802
10058
  ...props
9803
10059
  }) {
9804
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10060
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
9805
10061
  import_input_otp.OTPInput,
9806
10062
  {
9807
10063
  "data-slot": "input-otp",
@@ -9812,7 +10068,7 @@ function InputOTP({
9812
10068
  );
9813
10069
  }
9814
10070
  function InputOTPGroup({ className, ...props }) {
9815
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
10071
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
9816
10072
  "div",
9817
10073
  {
9818
10074
  "data-slot": "input-otp-group",
@@ -9830,7 +10086,7 @@ function InputOTPSlot({
9830
10086
  }) {
9831
10087
  const inputOTPContext = React12.useContext(import_input_otp.OTPInputContext);
9832
10088
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
9833
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
10089
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
9834
10090
  "div",
9835
10091
  {
9836
10092
  "data-slot": "input-otp-slot",
@@ -9845,26 +10101,26 @@ function InputOTPSlot({
9845
10101
  ),
9846
10102
  ...props,
9847
10103
  children: [
9848
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "text-h6", children: char || placeholder }),
9849
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
10104
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-h6", children: char || placeholder }),
10105
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
9850
10106
  ]
9851
10107
  }
9852
10108
  );
9853
10109
  }
9854
10110
  function InputOTPSeparator({ ...props }) {
9855
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "bg-border-primary-normal h-0.5 w-2" }) });
10111
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "bg-border-primary-normal h-0.5 w-2" }) });
9856
10112
  }
9857
10113
 
9858
10114
  // src/ui/PasswordInput/index.tsx
9859
10115
  var React13 = __toESM(require("react"), 1);
9860
10116
  var import_lucide_react18 = require("lucide-react");
9861
- var import_jsx_runtime37 = require("react/jsx-runtime");
10117
+ var import_jsx_runtime38 = require("react/jsx-runtime");
9862
10118
  var PasswordInput = React13.memo(
9863
10119
  ({ type, label, className, ...props }) => {
9864
10120
  const [showPassword, setShowPassword] = React13.useState(false);
9865
10121
  const error = props["aria-invalid"] || false;
9866
10122
  const inputRef = React13.useRef(null);
9867
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
10123
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
9868
10124
  "div",
9869
10125
  {
9870
10126
  className: cn(
@@ -9884,7 +10140,7 @@ var PasswordInput = React13.memo(
9884
10140
  }
9885
10141
  ),
9886
10142
  children: [
9887
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
10143
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
9888
10144
  "input",
9889
10145
  {
9890
10146
  ref: inputRef,
@@ -9908,7 +10164,7 @@ var PasswordInput = React13.memo(
9908
10164
  }
9909
10165
  }
9910
10166
  ),
9911
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
10167
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
9912
10168
  "button",
9913
10169
  {
9914
10170
  tabIndex: -1,
@@ -9917,7 +10173,7 @@ var PasswordInput = React13.memo(
9917
10173
  onClick: () => setShowPassword(!showPassword),
9918
10174
  "aria-label": showPassword ? "Hide password" : "Show password",
9919
10175
  className: "hover:bg-primary-bg-soft absolute right-2 flex h-5 w-5 cursor-pointer items-center justify-center rounded-sm bg-white",
9920
- children: showPassword ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.Eye, { size: 16, className: "text-element-inverse-default-alt" }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.EyeOff, { size: 16, className: "text-element-inverse-default-alt" })
10176
+ children: showPassword ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.Eye, { size: 16, className: "text-element-inverse-default-alt" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.EyeOff, { size: 16, className: "text-element-inverse-default-alt" })
9921
10177
  }
9922
10178
  )
9923
10179
  ]
@@ -9929,16 +10185,16 @@ var PasswordInput = React13.memo(
9929
10185
  // src/ui/Radio/index.tsx
9930
10186
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
9931
10187
  var import_lucide_react19 = require("lucide-react");
9932
- var import_jsx_runtime38 = require("react/jsx-runtime");
10188
+ var import_jsx_runtime39 = require("react/jsx-runtime");
9933
10189
  function Radio({ onSelect, options, ...props }) {
9934
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(BaseRadioGroup, { ...props, children: options.map((option) => {
9935
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
10190
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(BaseRadioGroup, { ...props, children: options.map((option) => {
10191
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
9936
10192
  Label2,
9937
10193
  {
9938
10194
  htmlFor: option.value,
9939
10195
  className: "hover:bg-surface-bg flex cursor-pointer items-center gap-x-2 rounded-lg p-1.5",
9940
10196
  children: [
9941
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
10197
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
9942
10198
  BaseRadioGroupItem,
9943
10199
  {
9944
10200
  onClick: () => {
@@ -9959,7 +10215,7 @@ function BaseRadioGroup({
9959
10215
  className,
9960
10216
  ...props
9961
10217
  }) {
9962
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
10218
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
9963
10219
  RadioGroupPrimitive.Root,
9964
10220
  {
9965
10221
  "data-slot": "radio-group",
@@ -9972,7 +10228,7 @@ function BaseRadioGroupItem({
9972
10228
  className,
9973
10229
  ...props
9974
10230
  }) {
9975
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
10231
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
9976
10232
  RadioGroupPrimitive.Item,
9977
10233
  {
9978
10234
  "data-slot": "radio-group-item",
@@ -9981,12 +10237,12 @@ function BaseRadioGroupItem({
9981
10237
  className
9982
10238
  ),
9983
10239
  ...props,
9984
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
10240
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
9985
10241
  RadioGroupPrimitive.Indicator,
9986
10242
  {
9987
10243
  "data-slot": "radio-group-indicator",
9988
10244
  className: "relative flex items-center justify-center",
9989
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react19.CircleIcon, { className: "fill-check-box-and-radio-checked-enabled group-data-[state=checked]:hover:fill-check-box-and-radio-checked-hovered absolute top-1/2 left-1/2 size-[16px] -translate-x-1/2 -translate-y-1/2 stroke-none" })
10245
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.CircleIcon, { className: "fill-check-box-and-radio-checked-enabled group-data-[state=checked]:hover:fill-check-box-and-radio-checked-hovered absolute top-1/2 left-1/2 size-[16px] -translate-x-1/2 -translate-y-1/2 stroke-none" })
9990
10246
  }
9991
10247
  )
9992
10248
  }
@@ -9997,8 +10253,8 @@ function BaseRadioGroupItem({
9997
10253
  var import_lodash = require("lodash");
9998
10254
  var import_lucide_react20 = require("lucide-react");
9999
10255
  var import_nuqs = require("nuqs");
10000
- var import_react7 = require("react");
10001
- var import_jsx_runtime39 = require("react/jsx-runtime");
10256
+ var import_react8 = require("react");
10257
+ var import_jsx_runtime40 = require("react/jsx-runtime");
10002
10258
  function SearchInput({
10003
10259
  searchKey,
10004
10260
  placeholder = "Search by...",
@@ -10010,8 +10266,8 @@ function SearchInput({
10010
10266
  const [search, setSearch] = (0, import_nuqs.useQueryState)(searchKey, {
10011
10267
  defaultValue: ""
10012
10268
  });
10013
- const [inputValue, setInputValue] = (0, import_react7.useState)(search ?? "");
10014
- const debouncedSetValue = (0, import_react7.useCallback)(
10269
+ const [inputValue, setInputValue] = (0, import_react8.useState)(search ?? "");
10270
+ const debouncedSetValue = (0, import_react8.useCallback)(
10015
10271
  (0, import_lodash.debounce)((value) => {
10016
10272
  if (addToParam) {
10017
10273
  setSearch(value);
@@ -10021,13 +10277,13 @@ function SearchInput({
10021
10277
  }, debounceDelay),
10022
10278
  [debounceDelay, addToParam, setSearch]
10023
10279
  );
10024
- (0, import_react7.useEffect)(() => {
10280
+ (0, import_react8.useEffect)(() => {
10025
10281
  debouncedSetValue(inputValue);
10026
10282
  return () => {
10027
10283
  debouncedSetValue.cancel();
10028
10284
  };
10029
10285
  }, [inputValue, debouncedSetValue]);
10030
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: cn("relative", className), children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
10286
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("relative", className), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10031
10287
  Input,
10032
10288
  {
10033
10289
  onChange: (e) => {
@@ -10036,7 +10292,7 @@ function SearchInput({
10036
10292
  },
10037
10293
  placeholder,
10038
10294
  prefixNode: {
10039
- node: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react20.SearchIcon, { className: "text-element-inverse-default" }),
10295
+ node: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react20.SearchIcon, { className: "text-element-inverse-default" }),
10040
10296
  withBorder: false
10041
10297
  },
10042
10298
  value: inputValue,
@@ -10049,7 +10305,7 @@ function SearchInput({
10049
10305
  // src/ui/SelectHover/index.tsx
10050
10306
  var import_lucide_react21 = require("lucide-react");
10051
10307
  var React14 = __toESM(require("react"), 1);
10052
- var import_jsx_runtime40 = require("react/jsx-runtime");
10308
+ var import_jsx_runtime41 = require("react/jsx-runtime");
10053
10309
  function SelectHover({
10054
10310
  options,
10055
10311
  placeholder = "Select an option",
@@ -10076,15 +10332,15 @@ function SelectHover({
10076
10332
  setIsOpen(false);
10077
10333
  }, 300);
10078
10334
  };
10079
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Popover, { open: isOpen, onOpenChange: setIsOpen, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [
10080
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { role: "combobox", "aria-expanded": isOpen, className, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "truncate", children: selectedOption ? selectedOption.label : placeholder }) }) }),
10081
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10335
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Popover, { open: isOpen, onOpenChange: setIsOpen, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [
10336
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, { role: "combobox", "aria-expanded": isOpen, className, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate", children: selectedOption ? selectedOption.label : placeholder }) }) }),
10337
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10082
10338
  PopoverContent,
10083
10339
  {
10084
10340
  className: "bg-surface-bg-container w-full rounded-3xl border-none p-2 shadow-md",
10085
10341
  onMouseEnter: handleMouseEnter,
10086
10342
  onMouseLeave: handleMouseLeave,
10087
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex max-h-[300px] flex-col items-start gap-[2px] overflow-auto", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10343
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex max-h-[300px] flex-col items-start gap-[2px] overflow-auto", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10088
10344
  "button",
10089
10345
  {
10090
10346
  className: cn(
@@ -10093,8 +10349,8 @@ function SelectHover({
10093
10349
  ),
10094
10350
  onClick: () => handleSelect(option.value),
10095
10351
  children: [
10096
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex-1", children: option.label }),
10097
- value === option.value && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react21.Check, { className: "text-icon-secondary ml-2 h-4 w-4" })
10352
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex-1", children: option.label }),
10353
+ value === option.value && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react21.Check, { className: "text-icon-secondary ml-2 h-4 w-4" })
10098
10354
  ]
10099
10355
  },
10100
10356
  option.value
@@ -10107,7 +10363,7 @@ function SelectHover({
10107
10363
  // src/ui/SelectInput/index.tsx
10108
10364
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
10109
10365
  var import_lucide_react22 = require("lucide-react");
10110
- var import_jsx_runtime41 = require("react/jsx-runtime");
10366
+ var import_jsx_runtime42 = require("react/jsx-runtime");
10111
10367
  function SelectInput({
10112
10368
  defaultValue,
10113
10369
  options,
@@ -10120,8 +10376,8 @@ function SelectInput({
10120
10376
  itemProps,
10121
10377
  ...props
10122
10378
  }) {
10123
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(BaseSelect, { onValueChange: onChange, defaultValue, ...props, children: [
10124
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10379
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(BaseSelect, { onValueChange: onChange, defaultValue, ...props, children: [
10380
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10125
10381
  BaseSelectTrigger,
10126
10382
  {
10127
10383
  withArrow,
@@ -10129,7 +10385,7 @@ function SelectInput({
10129
10385
  "aria-invalid": props["aria-invalid"],
10130
10386
  className: cn("w-full cursor-pointer", className),
10131
10387
  variant,
10132
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10388
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10133
10389
  BaseSelectValue,
10134
10390
  {
10135
10391
  className: "flex-1",
@@ -10138,7 +10394,7 @@ function SelectInput({
10138
10394
  )
10139
10395
  }
10140
10396
  ),
10141
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10397
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10142
10398
  BaseSelectContent,
10143
10399
  {
10144
10400
  ...contentProps,
@@ -10146,7 +10402,7 @@ function SelectInput({
10146
10402
  "border-stroke-inverse-slate-02 border",
10147
10403
  contentProps?.className
10148
10404
  ),
10149
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10405
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
10150
10406
  BaseSelectItem,
10151
10407
  {
10152
10408
  value: option.value,
@@ -10166,12 +10422,12 @@ function SelectInput({
10166
10422
  function BaseSelect({
10167
10423
  ...props
10168
10424
  }) {
10169
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.Root, { "data-slot": "select", ...props });
10425
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.Root, { "data-slot": "select", ...props });
10170
10426
  }
10171
10427
  function BaseSelectValue({
10172
10428
  ...props
10173
10429
  }) {
10174
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
10430
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
10175
10431
  }
10176
10432
  function BaseSelectTrigger({
10177
10433
  className,
@@ -10181,7 +10437,7 @@ function BaseSelectTrigger({
10181
10437
  children,
10182
10438
  ...props
10183
10439
  }) {
10184
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10440
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
10185
10441
  SelectPrimitive.Trigger,
10186
10442
  {
10187
10443
  "data-slot": "select-trigger",
@@ -10202,7 +10458,7 @@ function BaseSelectTrigger({
10202
10458
  ...props,
10203
10459
  children: [
10204
10460
  children,
10205
- withArrow && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react22.ChevronDownIcon, { className: "text-icon-default size-4" }) })
10461
+ withArrow && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react22.ChevronDownIcon, { className: "text-icon-default size-4" }) })
10206
10462
  ]
10207
10463
  }
10208
10464
  );
@@ -10213,7 +10469,7 @@ function BaseSelectContent({
10213
10469
  position = "popper",
10214
10470
  ...props
10215
10471
  }) {
10216
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10472
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
10217
10473
  SelectPrimitive.Content,
10218
10474
  {
10219
10475
  "data-slot": "select-content",
@@ -10225,8 +10481,8 @@ function BaseSelectContent({
10225
10481
  position,
10226
10482
  ...props,
10227
10483
  children: [
10228
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(BaseSelectScrollUpButton, {}),
10229
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10484
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(BaseSelectScrollUpButton, {}),
10485
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10230
10486
  SelectPrimitive.Viewport,
10231
10487
  {
10232
10488
  className: cn(
@@ -10236,7 +10492,7 @@ function BaseSelectContent({
10236
10492
  children
10237
10493
  }
10238
10494
  ),
10239
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(BaseSelectScrollDownButton, {})
10495
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(BaseSelectScrollDownButton, {})
10240
10496
  ]
10241
10497
  }
10242
10498
  ) });
@@ -10246,7 +10502,7 @@ function BaseSelectItem({
10246
10502
  children,
10247
10503
  ...props
10248
10504
  }) {
10249
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10505
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
10250
10506
  SelectPrimitive.Item,
10251
10507
  {
10252
10508
  "data-slot": "select-item",
@@ -10256,8 +10512,8 @@ function BaseSelectItem({
10256
10512
  ),
10257
10513
  ...props,
10258
10514
  children: [
10259
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react22.CheckIcon, { className: "text-icon-secondary size-4" }) }) }),
10260
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectPrimitive.ItemText, { children })
10515
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react22.CheckIcon, { className: "text-icon-secondary size-4" }) }) }),
10516
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectPrimitive.ItemText, { children })
10261
10517
  ]
10262
10518
  }
10263
10519
  );
@@ -10266,7 +10522,7 @@ function BaseSelectScrollUpButton({
10266
10522
  className,
10267
10523
  ...props
10268
10524
  }) {
10269
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10525
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10270
10526
  SelectPrimitive.ScrollUpButton,
10271
10527
  {
10272
10528
  "data-slot": "select-scroll-up-button",
@@ -10275,7 +10531,7 @@ function BaseSelectScrollUpButton({
10275
10531
  className
10276
10532
  ),
10277
10533
  ...props,
10278
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react22.ChevronUpIcon, { className: "size-4" })
10534
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react22.ChevronUpIcon, { className: "size-4" })
10279
10535
  }
10280
10536
  );
10281
10537
  }
@@ -10283,7 +10539,7 @@ function BaseSelectScrollDownButton({
10283
10539
  className,
10284
10540
  ...props
10285
10541
  }) {
10286
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10542
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
10287
10543
  SelectPrimitive.ScrollDownButton,
10288
10544
  {
10289
10545
  "data-slot": "select-scroll-down-button",
@@ -10292,7 +10548,7 @@ function BaseSelectScrollDownButton({
10292
10548
  className
10293
10549
  ),
10294
10550
  ...props,
10295
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react22.ChevronDownIcon, { className: "size-4" })
10551
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react22.ChevronDownIcon, { className: "size-4" })
10296
10552
  }
10297
10553
  );
10298
10554
  }
@@ -10300,15 +10556,15 @@ function BaseSelectScrollDownButton({
10300
10556
  // src/ui/Sheet/index.tsx
10301
10557
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
10302
10558
  var import_lucide_react23 = require("lucide-react");
10303
- var import_jsx_runtime42 = require("react/jsx-runtime");
10559
+ var import_jsx_runtime43 = require("react/jsx-runtime");
10304
10560
  function Sheet({ ...props }) {
10305
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
10561
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
10306
10562
  }
10307
10563
 
10308
10564
  // src/ui/Skeleton/index.tsx
10309
- var import_jsx_runtime43 = require("react/jsx-runtime");
10565
+ var import_jsx_runtime44 = require("react/jsx-runtime");
10310
10566
  function Skeleton({ className, ...props }) {
10311
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
10567
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
10312
10568
  "div",
10313
10569
  {
10314
10570
  "data-slot": "skeleton",
@@ -10324,7 +10580,7 @@ function Skeleton({ className, ...props }) {
10324
10580
  // src/ui/Slider/index.tsx
10325
10581
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
10326
10582
  var React15 = __toESM(require("react"), 1);
10327
- var import_jsx_runtime44 = require("react/jsx-runtime");
10583
+ var import_jsx_runtime45 = require("react/jsx-runtime");
10328
10584
  function Slider({
10329
10585
  className,
10330
10586
  defaultValue,
@@ -10337,7 +10593,7 @@ function Slider({
10337
10593
  () => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
10338
10594
  [value, defaultValue, min, max]
10339
10595
  );
10340
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
10596
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
10341
10597
  SliderPrimitive.Root,
10342
10598
  {
10343
10599
  "data-slot": "slider",
@@ -10351,14 +10607,14 @@ function Slider({
10351
10607
  ),
10352
10608
  ...props,
10353
10609
  children: [
10354
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
10610
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
10355
10611
  SliderPrimitive.Track,
10356
10612
  {
10357
10613
  "data-slot": "slider-track",
10358
10614
  className: cn(
10359
10615
  "bg-audioProgress-bg relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
10360
10616
  ),
10361
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
10617
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
10362
10618
  SliderPrimitive.Range,
10363
10619
  {
10364
10620
  "data-slot": "slider-range",
@@ -10369,7 +10625,7 @@ function Slider({
10369
10625
  )
10370
10626
  }
10371
10627
  ),
10372
- Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
10628
+ Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
10373
10629
  SliderPrimitive.Thumb,
10374
10630
  {
10375
10631
  "data-slot": "slider-thumb",
@@ -10385,10 +10641,10 @@ function Slider({
10385
10641
  // src/ui/Sooner/index.tsx
10386
10642
  var import_next_themes = require("next-themes");
10387
10643
  var import_sonner = require("sonner");
10388
- var import_jsx_runtime45 = require("react/jsx-runtime");
10644
+ var import_jsx_runtime46 = require("react/jsx-runtime");
10389
10645
  var Toaster = ({ ...props }) => {
10390
10646
  const { theme = "system" } = (0, import_next_themes.useTheme)();
10391
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
10647
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
10392
10648
  import_sonner.Toaster,
10393
10649
  {
10394
10650
  theme,
@@ -10405,14 +10661,14 @@ var Toaster = ({ ...props }) => {
10405
10661
 
10406
10662
  // src/ui/Switch/index.tsx
10407
10663
  var SwitchPrimitive = __toESM(require("@radix-ui/react-switch"), 1);
10408
- var import_jsx_runtime46 = require("react/jsx-runtime");
10664
+ var import_jsx_runtime47 = require("react/jsx-runtime");
10409
10665
  function Switch({
10410
10666
  className,
10411
10667
  label,
10412
10668
  ...props
10413
10669
  }) {
10414
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex items-center space-x-2", children: [
10415
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
10670
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center space-x-2", children: [
10671
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10416
10672
  SwitchPrimitive.Root,
10417
10673
  {
10418
10674
  "data-slot": "switch",
@@ -10422,7 +10678,7 @@ function Switch({
10422
10678
  className
10423
10679
  ),
10424
10680
  ...props,
10425
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
10681
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10426
10682
  SwitchPrimitive.Thumb,
10427
10683
  {
10428
10684
  "data-slot": "switch-thumb",
@@ -10433,7 +10689,7 @@ function Switch({
10433
10689
  )
10434
10690
  }
10435
10691
  ),
10436
- label && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Label2, { htmlFor: props.id || label, children: label })
10692
+ label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Label2, { htmlFor: props.id || label, children: label })
10437
10693
  ] });
10438
10694
  }
10439
10695
 
@@ -10445,8 +10701,8 @@ var import_class_variance_authority11 = require("class-variance-authority");
10445
10701
  var import_lucide_react25 = require("lucide-react");
10446
10702
  var import_magick_icons4 = require("magick-icons");
10447
10703
  var React16 = __toESM(require("react"), 1);
10448
- var import_react8 = require("react");
10449
- var import_jsx_runtime47 = require("react/jsx-runtime");
10704
+ var import_react9 = require("react");
10705
+ var import_jsx_runtime48 = require("react/jsx-runtime");
10450
10706
  var Table = ({
10451
10707
  columns,
10452
10708
  tableData,
@@ -10454,7 +10710,7 @@ var Table = ({
10454
10710
  emptyState = {
10455
10711
  emptyAction: void 0,
10456
10712
  label: "There is currently no data available to display in this table.",
10457
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(IconProfile, { icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_magick_icons4.IconsaxBriefcaseBold, {}), color: "teal" })
10713
+ icon: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(IconProfile, { icon: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_magick_icons4.IconsaxBriefcaseBold, {}), color: "teal" })
10458
10714
  },
10459
10715
  onRowClick
10460
10716
  }) => {
@@ -10466,41 +10722,41 @@ var Table = ({
10466
10722
  getSortedRowModel: (0, import_react_table.getSortedRowModel)()
10467
10723
  });
10468
10724
  const rowCount = table.getRowModel().rows.length;
10469
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative flex flex-col overflow-auto", children: [
10470
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10725
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "relative flex flex-col overflow-auto", children: [
10726
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10471
10727
  "div",
10472
10728
  {
10473
10729
  className: cn(
10474
10730
  rowCount === 0 ? "" : "bg-gray-100 dark:bg-gray-700",
10475
10731
  "absolute top-10 left-0 w-full h-full min-h-[100px] opacity-70 z-10 flex items-center justify-center"
10476
10732
  ),
10477
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react24.Loader2, { className: "size-10 text-stroke-inverse-slate-04 " })
10733
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react24.Loader2, { className: "size-10 text-stroke-inverse-slate-04 " })
10478
10734
  }
10479
10735
  ) : null,
10480
- !isLoading && rowCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col items-center gap-4", children: [
10736
+ !isLoading && rowCount === 0 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-2", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col items-center gap-4", children: [
10481
10737
  emptyState?.icon,
10482
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Text, { children: emptyState?.label }),
10483
- emptyState?.emptyAction ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10738
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { children: emptyState?.label }),
10739
+ emptyState?.emptyAction ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10484
10740
  Button,
10485
10741
  {
10486
10742
  variant: "outline",
10487
- prefix: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_magick_icons4.MagickoAdd, { className: "[&_path]:fill-element-inverse-default" }),
10743
+ prefix: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_magick_icons4.MagickoAdd, { className: "[&_path]:fill-element-inverse-default" }),
10488
10744
  onClick: () => emptyState?.emptyAction?.(),
10489
10745
  children: "Create new"
10490
10746
  }
10491
10747
  ) : null
10492
10748
  ] }) }) : null,
10493
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "max-w-full flex-1 overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10749
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "max-w-full flex-1 overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
10494
10750
  "table",
10495
10751
  {
10496
10752
  className: "w-full caption-bottom text-sm",
10497
10753
  style: { minWidth: "max-content" },
10498
10754
  children: [
10499
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("thead", { className: "bg-fill-inverse-slate-03", children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10755
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("thead", { className: "bg-fill-inverse-slate-03", children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10500
10756
  "tr",
10501
10757
  {
10502
10758
  className: "hover:bg-muted/50 border-stroke-inverse-slate-02 border-b transition-colors",
10503
- children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10759
+ children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10504
10760
  "th",
10505
10761
  {
10506
10762
  className: "text-muted-foreground h-12 px-4 text-left align-middle font-medium",
@@ -10514,14 +10770,14 @@ var Table = ({
10514
10770
  },
10515
10771
  headerGroup.id
10516
10772
  )) }),
10517
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("tbody", { className: "relative", children: [
10773
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("tbody", { className: "relative", children: [
10518
10774
  table.getRowModel().rows.map((row) => {
10519
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10775
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10520
10776
  "tr",
10521
10777
  {
10522
10778
  className: "hover:bg-muted/50 bg-table-table-cell-unselected group/row border-stroke-inverse-slate-02 cursor-pointer border-b transition-colors",
10523
10779
  onClick: () => onRowClick?.(row.original),
10524
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { className: "p-4", children: (0, import_react_table.flexRender)(
10780
+ children: row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("td", { className: "p-4", children: (0, import_react_table.flexRender)(
10525
10781
  cell.column.columnDef.cell,
10526
10782
  cell.getContext()
10527
10783
  ) }, cell.id))
@@ -10529,7 +10785,7 @@ var Table = ({
10529
10785
  row.id
10530
10786
  );
10531
10787
  }),
10532
- rowCount === 0 && Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { colSpan: columns.length, className: "h-12 p-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "" }) }) }, index))
10788
+ rowCount === 0 && Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("td", { colSpan: columns.length, className: "h-12 p-4", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "" }) }) }, index))
10533
10789
  ] })
10534
10790
  ]
10535
10791
  }
@@ -10564,13 +10820,13 @@ var PrimaryCell = React16.forwardRef(
10564
10820
  }, ref) => {
10565
10821
  let content = children;
10566
10822
  if (variant === "badge") {
10567
- content = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2", children: [
10823
+ content = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-2", children: [
10568
10824
  children,
10569
- badgeContent && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge, { type: badgeType, size: badgeSize, children: badgeContent })
10825
+ badgeContent && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Badge, { type: badgeType, size: badgeSize, children: badgeContent })
10570
10826
  ] });
10571
10827
  } else if (variant === "progress") {
10572
- content = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10573
- progressValue !== 100 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10828
+ content = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
10829
+ progressValue !== 100 && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10574
10830
  ProgressIndicator,
10575
10831
  {
10576
10832
  variant: "circle",
@@ -10579,23 +10835,23 @@ var PrimaryCell = React16.forwardRef(
10579
10835
  showPercentage: showProgressPercentage
10580
10836
  }
10581
10837
  ),
10582
- children && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-body-sm text-element-inverse-default", children })
10838
+ children && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-body-sm text-element-inverse-default", children })
10583
10839
  ] });
10584
10840
  } else if (variant === "error") {
10585
- content = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10586
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react25.AlertCircle, { className: "size-4 shrink-0" }),
10587
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-body-sm", children: errorMessage }) : children
10841
+ content = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
10842
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react25.AlertCircle, { className: "size-4 shrink-0" }),
10843
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-body-sm", children: errorMessage }) : children
10588
10844
  ] });
10589
10845
  }
10590
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10846
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
10591
10847
  "div",
10592
10848
  {
10593
10849
  ref,
10594
10850
  className: cn(primaryCellVariants({ variant })),
10595
10851
  ...props,
10596
10852
  children: [
10597
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: content }),
10598
- hoverUI && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "ml-2 flex items-center gap-2 opacity-0 transition-opacity duration-200 group-hover/row:opacity-100", children: hoverUI })
10853
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: content }),
10854
+ hoverUI && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "ml-2 flex items-center gap-2 opacity-0 transition-opacity duration-200 group-hover/row:opacity-100", children: hoverUI })
10599
10855
  ]
10600
10856
  }
10601
10857
  );
@@ -10604,7 +10860,7 @@ var PrimaryCell = React16.forwardRef(
10604
10860
  PrimaryCell.displayName = "PrimaryCell";
10605
10861
  Table.PrimaryCell = PrimaryCell;
10606
10862
  var TextCell = React16.forwardRef(({ text, copyable = true, className, ...props }, ref) => {
10607
- const [isCopied, setIsCopied] = (0, import_react8.useState)(false);
10863
+ const [isCopied, setIsCopied] = (0, import_react9.useState)(false);
10608
10864
  const [hoverRef, isHovering] = (0, import_usehooks.useHover)();
10609
10865
  const handleCopy = () => {
10610
10866
  navigator.clipboard.writeText(text);
@@ -10617,11 +10873,11 @@ var TextCell = React16.forwardRef(({ text, copyable = true, className, ...props
10617
10873
  }, 1200);
10618
10874
  }
10619
10875
  }, [isCopied]);
10620
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: cn("w-full h-full", className), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative", ref: hoverRef, children: [
10621
- copyable && isHovering && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10876
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn("w-full h-full", className), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "relative", ref: hoverRef, children: [
10877
+ copyable && isHovering && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10622
10878
  IconButton,
10623
10879
  {
10624
- icon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10880
+ icon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10625
10881
  import_magick_icons4.MagickoCopySuccess,
10626
10882
  {
10627
10883
  className: cn(
@@ -10629,16 +10885,16 @@ var TextCell = React16.forwardRef(({ text, copyable = true, className, ...props
10629
10885
  "transition-all ease-in duration-200"
10630
10886
  )
10631
10887
  }
10632
- ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_magick_icons4.MagickoCopy, { className: "size-4" }),
10888
+ ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_magick_icons4.MagickoCopy, { className: "size-4" }),
10633
10889
  className: "absolute top-1/2 -right-3 -translate-y-1/2",
10634
10890
  size: "sm",
10635
10891
  varient: "soft",
10636
10892
  onClick: handleCopy
10637
10893
  }
10638
10894
  ),
10639
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Popover, { children: [
10640
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Text, { className: "truncate line-clamp-1", children: text ?? "-" }) }),
10641
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PopoverContent, { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Text, { children: text ?? "-" }) })
10895
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Popover, { children: [
10896
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { className: "truncate line-clamp-1", children: text ?? "-" }) }),
10897
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(PopoverContent, { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { children: text ?? "-" }) })
10642
10898
  ] })
10643
10899
  ] }) });
10644
10900
  });
@@ -10648,7 +10904,7 @@ var Table_default = Table;
10648
10904
 
10649
10905
  // src/ui/Tabs/index.tsx
10650
10906
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
10651
- var import_jsx_runtime48 = require("react/jsx-runtime");
10907
+ var import_jsx_runtime49 = require("react/jsx-runtime");
10652
10908
  function Tabs({
10653
10909
  defaultActiveTab,
10654
10910
  tabSmall,
@@ -10657,8 +10913,8 @@ function Tabs({
10657
10913
  showContent = true,
10658
10914
  ...props
10659
10915
  }) {
10660
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(BaseTabs, { defaultValue: defaultActiveTab, className, ...props, children: [
10661
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BaseTabsList, { children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
10916
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(BaseTabs, { defaultValue: defaultActiveTab, className, ...props, children: [
10917
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseTabsList, { children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
10662
10918
  BaseTabsTrigger,
10663
10919
  {
10664
10920
  tabSmall,
@@ -10666,22 +10922,22 @@ function Tabs({
10666
10922
  className: "relative flex cursor-pointer items-center justify-center gap-x-2",
10667
10923
  onClick: typeof tab === "object" && "onClick" in tab ? tab.onClick : void 0,
10668
10924
  children: [
10669
- tab.icon && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { children: tab.icon }),
10925
+ tab.icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children: tab.icon }),
10670
10926
  tab.label,
10671
- tab.notification && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "bg-icon-destructive absolute top-1 right-1 size-1.5 rounded-full" }),
10672
- !!tab.count && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Badge, { type: "primary-soft", children: tab.count })
10927
+ tab.notification && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "bg-icon-destructive absolute top-1 right-1 size-1.5 rounded-full" }),
10928
+ !!tab.count && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Badge, { type: "primary-soft", children: tab.count })
10673
10929
  ]
10674
10930
  },
10675
10931
  tab.value
10676
10932
  )) }),
10677
- showContent && "content" in tabs[0] && tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BaseTabsContent, { value: tab.value, children: tab.content }, tab.value))
10933
+ showContent && "content" in tabs[0] && tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseTabsContent, { value: tab.value, children: tab.content }, tab.value))
10678
10934
  ] });
10679
10935
  }
10680
10936
  function BaseTabs({
10681
10937
  className,
10682
10938
  ...props
10683
10939
  }) {
10684
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10940
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10685
10941
  TabsPrimitive.Root,
10686
10942
  {
10687
10943
  "data-slot": "tabs",
@@ -10694,7 +10950,7 @@ function BaseTabsList({
10694
10950
  className,
10695
10951
  ...props
10696
10952
  }) {
10697
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10953
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10698
10954
  TabsPrimitive.List,
10699
10955
  {
10700
10956
  "data-slot": "tabs-list",
@@ -10711,7 +10967,7 @@ function BaseTabsTrigger({
10711
10967
  tabSmall,
10712
10968
  ...props
10713
10969
  }) {
10714
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10970
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10715
10971
  TabsPrimitive.Trigger,
10716
10972
  {
10717
10973
  "data-slot": "tabs-trigger",
@@ -10728,7 +10984,7 @@ function BaseTabsContent({
10728
10984
  className,
10729
10985
  ...props
10730
10986
  }) {
10731
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10987
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10732
10988
  TabsPrimitive.Content,
10733
10989
  {
10734
10990
  "data-slot": "tabs-content",
@@ -10740,7 +10996,7 @@ function BaseTabsContent({
10740
10996
 
10741
10997
  // src/ui/Tag/index.tsx
10742
10998
  var import_class_variance_authority12 = require("class-variance-authority");
10743
- var import_jsx_runtime49 = require("react/jsx-runtime");
10999
+ var import_jsx_runtime50 = require("react/jsx-runtime");
10744
11000
  var tagVariants = (0, import_class_variance_authority12.cva)("px-1 rounded-sm", {
10745
11001
  variants: {
10746
11002
  variant: {
@@ -10758,14 +11014,14 @@ function Tag({
10758
11014
  variant,
10759
11015
  className
10760
11016
  }) {
10761
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { "data-slot": "tag", className: cn(tagVariants({ variant }), className), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "text-caption font-semibold text-white", children: label }) });
11017
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { "data-slot": "tag", className: cn(tagVariants({ variant }), className), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-caption font-semibold text-white", children: label }) });
10762
11018
  }
10763
11019
 
10764
11020
  // src/ui/TextAreaInput/index.tsx
10765
11021
  var React17 = __toESM(require("react"), 1);
10766
- var import_jsx_runtime50 = require("react/jsx-runtime");
11022
+ var import_jsx_runtime51 = require("react/jsx-runtime");
10767
11023
  var TextareaInput = React17.forwardRef(({ className, label, ...props }, ref) => {
10768
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
11024
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
10769
11025
  "textarea",
10770
11026
  {
10771
11027
  ref,
@@ -10785,8 +11041,8 @@ var TextAreaInput_default = TextareaInput;
10785
11041
 
10786
11042
  // src/ui/TimePicker/index.tsx
10787
11043
  var import_lucide_react26 = require("lucide-react");
10788
- var import_react9 = require("react");
10789
- var import_jsx_runtime51 = require("react/jsx-runtime");
11044
+ var import_react10 = require("react");
11045
+ var import_jsx_runtime52 = require("react/jsx-runtime");
10790
11046
  function TimePicker({
10791
11047
  label,
10792
11048
  onValueChange,
@@ -10795,7 +11051,7 @@ function TimePicker({
10795
11051
  value,
10796
11052
  ...props
10797
11053
  }) {
10798
- const [isOpen, setIsOpen] = (0, import_react9.useState)(false);
11054
+ const [isOpen, setIsOpen] = (0, import_react10.useState)(false);
10799
11055
  const currentValue = value || defaultValue || "";
10800
11056
  const formatTimeForDisplay = (timeValue) => {
10801
11057
  if (!timeValue) return "";
@@ -10807,10 +11063,10 @@ function TimePicker({
10807
11063
  const handleChange = (value2) => {
10808
11064
  onValueChange?.(value2);
10809
11065
  };
10810
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col gap-3", children: [
10811
- label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Label2, { htmlFor: "time-picker", className: "px-1", children: "Time" }),
10812
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenu, { open: isOpen, onOpenChange: setIsOpen, children: [
10813
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuTrigger, { className: "!p-0", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
11066
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex flex-col gap-3", children: [
11067
+ label && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Label2, { htmlFor: "time-picker", className: "px-1", children: "Time" }),
11068
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DropdownMenu, { open: isOpen, onOpenChange: setIsOpen, children: [
11069
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DropdownMenuTrigger, { className: "!p-0", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
10814
11070
  Input,
10815
11071
  {
10816
11072
  ...props,
@@ -10818,17 +11074,17 @@ function TimePicker({
10818
11074
  value: currentValue ? formatTimeForDisplay(currentValue) : "",
10819
11075
  onKeyDown: (e) => e.preventDefault(),
10820
11076
  prefixNode: {
10821
- node: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react26.Clock, { className: "pointer-events-none h-5 w-5 text-gray-700" }),
11077
+ node: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_lucide_react26.Clock, { className: "pointer-events-none h-5 w-5 text-gray-700" }),
10822
11078
  withBorder: false
10823
11079
  }
10824
11080
  }
10825
11081
  ) }),
10826
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
11082
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
10827
11083
  DropdownMenuContent,
10828
11084
  {
10829
11085
  align: "start",
10830
11086
  className: "max-h-60 min-w-41 overflow-y-auto",
10831
- children: timeOptions?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
11087
+ children: timeOptions?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
10832
11088
  DropdownMenuItem,
10833
11089
  {
10834
11090
  className: cn(
@@ -10849,11 +11105,11 @@ function TimePicker({
10849
11105
  // src/ui/Title/index.tsx
10850
11106
  var import_react_slot6 = require("@radix-ui/react-slot");
10851
11107
  var React18 = __toESM(require("react"), 1);
10852
- var import_jsx_runtime52 = require("react/jsx-runtime");
11108
+ var import_jsx_runtime53 = require("react/jsx-runtime");
10853
11109
  var Title2 = React18.forwardRef(
10854
11110
  ({ className, asChild = false, ...props }, ref) => {
10855
11111
  const Comp = asChild ? import_react_slot6.Slot : "h2";
10856
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
11112
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
10857
11113
  Comp,
10858
11114
  {
10859
11115
  ref,
@@ -10872,7 +11128,7 @@ var Title_default = Title2;
10872
11128
  // src/ui/Toggle/index.tsx
10873
11129
  var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
10874
11130
  var import_class_variance_authority13 = require("class-variance-authority");
10875
- var import_jsx_runtime53 = require("react/jsx-runtime");
11131
+ var import_jsx_runtime54 = require("react/jsx-runtime");
10876
11132
  var toggleVariants = (0, import_class_variance_authority13.cva)(
10877
11133
  "inline-flex items-center justify-center gap-2 text-sm font-medium disabled:pointer-events-none disabled:text-icon-inactive data-[state=on]:disabled:text-icon-inactive data-[state=on]:disabled:bg-toggle-bg-inactiveDefault data-[state=on]:bg-toggle-bg-activeDefault data-[state=on]:hover:bg-toggle-bg-activeHover data-[state=on]:text-icon-white hover:bg-toggle-bg-inactiveHover hover:text-icon-default [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap cursor-pointer",
10878
11134
  {
@@ -10907,7 +11163,7 @@ function Toggle({
10907
11163
  size,
10908
11164
  ...props
10909
11165
  }) {
10910
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
11166
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
10911
11167
  TogglePrimitive.Root,
10912
11168
  {
10913
11169
  "data-slot": "toggle",
@@ -10919,12 +11175,12 @@ function Toggle({
10919
11175
  }
10920
11176
 
10921
11177
  // src/ui/ToggleDropdownButton/index.tsx
10922
- var import_react11 = require("react");
11178
+ var import_react12 = require("react");
10923
11179
 
10924
11180
  // src/ui/ToggleDropdownButton/ToggleDropdownLeftButton.tsx
10925
11181
  var import_class_variance_authority14 = require("class-variance-authority");
10926
11182
  var React19 = __toESM(require("react"), 1);
10927
- var import_jsx_runtime54 = require("react/jsx-runtime");
11183
+ var import_jsx_runtime55 = require("react/jsx-runtime");
10928
11184
  var toggleDropdownLeftButtonVariants = (0, import_class_variance_authority14.cva)(
10929
11185
  "flex items-center justify-center cursor-pointer transition-all",
10930
11186
  {
@@ -11020,7 +11276,7 @@ function ToggleDropdownLeftButton({
11020
11276
  }) {
11021
11277
  const iconClass = selected ? "text-element-static-white fill-element-static-white" : "text-element-inverse-default fill-element-inverse-default";
11022
11278
  const isIcon = React19.isValidElement(children);
11023
- return type === "text" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
11279
+ return type === "text" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11024
11280
  "button",
11025
11281
  {
11026
11282
  type: "button",
@@ -11029,7 +11285,7 @@ function ToggleDropdownLeftButton({
11029
11285
  className
11030
11286
  ),
11031
11287
  ...props,
11032
- children: isIcon ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
11288
+ children: isIcon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11033
11289
  IconContainer,
11034
11290
  {
11035
11291
  colorInFill: false,
@@ -11042,7 +11298,7 @@ function ToggleDropdownLeftButton({
11042
11298
  }
11043
11299
  ) : children
11044
11300
  }
11045
- ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
11301
+ ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11046
11302
  "button",
11047
11303
  {
11048
11304
  type: "button",
@@ -11051,7 +11307,7 @@ function ToggleDropdownLeftButton({
11051
11307
  className
11052
11308
  ),
11053
11309
  ...props,
11054
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
11310
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11055
11311
  IconContainer,
11056
11312
  {
11057
11313
  colorInFill: false,
@@ -11070,7 +11326,7 @@ function ToggleDropdownLeftButton({
11070
11326
  // src/ui/ToggleDropdownButton/ToggleDropdownRightButton.tsx
11071
11327
  var import_class_variance_authority15 = require("class-variance-authority");
11072
11328
  var React20 = __toESM(require("react"), 1);
11073
- var import_jsx_runtime55 = require("react/jsx-runtime");
11329
+ var import_jsx_runtime56 = require("react/jsx-runtime");
11074
11330
  var toggleDropdownRightButtonVariants = (0, import_class_variance_authority15.cva)(
11075
11331
  "flex items-center justify-center group cursor-pointer transition-all",
11076
11332
  {
@@ -11166,7 +11422,7 @@ function ToggleDropdownRightButton({
11166
11422
  }) {
11167
11423
  const iconClass = selected ? "text-element-static-white fill-element-static-white" : "text-element-inverse-default fill-element-inverse-default";
11168
11424
  const isIcon = React20.isValidElement(children);
11169
- return type === "text" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11425
+ return type === "text" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11170
11426
  "button",
11171
11427
  {
11172
11428
  type: "button",
@@ -11175,7 +11431,7 @@ function ToggleDropdownRightButton({
11175
11431
  className
11176
11432
  ),
11177
11433
  ...props,
11178
- children: isIcon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11434
+ children: isIcon ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11179
11435
  IconContainer,
11180
11436
  {
11181
11437
  colorInFill: false,
@@ -11188,7 +11444,7 @@ function ToggleDropdownRightButton({
11188
11444
  }
11189
11445
  ) : children
11190
11446
  }
11191
- ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11447
+ ) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11192
11448
  "button",
11193
11449
  {
11194
11450
  type: "button",
@@ -11197,7 +11453,7 @@ function ToggleDropdownRightButton({
11197
11453
  className
11198
11454
  ),
11199
11455
  ...props,
11200
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
11456
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11201
11457
  IconContainer,
11202
11458
  {
11203
11459
  colorInFill: false,
@@ -11214,10 +11470,10 @@ function ToggleDropdownRightButton({
11214
11470
  }
11215
11471
 
11216
11472
  // src/ui/ToggleDropdownButton/useToggleDropdown.ts
11217
- var import_react10 = require("react");
11473
+ var import_react11 = require("react");
11218
11474
 
11219
11475
  // src/ui/ToggleDropdownButton/index.tsx
11220
- var import_jsx_runtime56 = require("react/jsx-runtime");
11476
+ var import_jsx_runtime57 = require("react/jsx-runtime");
11221
11477
  var ToggleDropdownButton = ({
11222
11478
  type,
11223
11479
  selected,
@@ -11228,15 +11484,15 @@ var ToggleDropdownButton = ({
11228
11484
  onLeftButtonClick,
11229
11485
  dropdownMenu
11230
11486
  }) => {
11231
- const rightButtonRef = (0, import_react11.useRef)(null);
11487
+ const rightButtonRef = (0, import_react12.useRef)(null);
11232
11488
  const handleRightButtonClick = () => {
11233
11489
  onRightButtonClick?.();
11234
11490
  };
11235
11491
  const handleLeftButtonClick = () => {
11236
11492
  onLeftButtonClick?.();
11237
11493
  };
11238
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "gap-x-unit-1px flex items-center", children: [
11239
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11494
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "gap-x-unit-1px flex items-center", children: [
11495
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
11240
11496
  ToggleDropdownLeftButton,
11241
11497
  {
11242
11498
  selected,
@@ -11247,8 +11503,8 @@ var ToggleDropdownButton = ({
11247
11503
  children: leftButtonChildren
11248
11504
  }
11249
11505
  ),
11250
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "relative", children: [
11251
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11506
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "relative", children: [
11507
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
11252
11508
  ToggleDropdownRightButton,
11253
11509
  {
11254
11510
  ref: rightButtonRef,
@@ -11268,8 +11524,8 @@ var ToggleDropdownButton_default = ToggleDropdownButton;
11268
11524
 
11269
11525
  // src/ui/ToolToggle/index.tsx
11270
11526
  var import_lucide_react27 = require("lucide-react");
11271
- var import_react12 = require("react");
11272
- var import_jsx_runtime57 = require("react/jsx-runtime");
11527
+ var import_react13 = require("react");
11528
+ var import_jsx_runtime58 = require("react/jsx-runtime");
11273
11529
  var ToolToggle = ({
11274
11530
  dropdown,
11275
11531
  dropdownContent,
@@ -11277,41 +11533,41 @@ var ToolToggle = ({
11277
11533
  className,
11278
11534
  onClick
11279
11535
  }) => {
11280
- const [active, setActive] = (0, import_react12.useState)(false);
11536
+ const [active, setActive] = (0, import_react13.useState)(false);
11281
11537
  const handleClick = () => {
11282
11538
  setActive(!active);
11283
11539
  onClick?.(active);
11284
11540
  };
11285
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn(dropdown ? "min-w-20" : "min-w-[52px]", className), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(DropdownMenu, { children: [
11286
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
11541
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: cn(dropdown ? "min-w-20" : "min-w-[52px]", className), children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(DropdownMenu, { children: [
11542
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
11287
11543
  DropdownMenuTrigger,
11288
11544
  {
11289
11545
  className: cn(
11290
11546
  "border-border-primary-light !bg-toggle-bg-inactiveDefault hover:!bg-toggle-bg-inactiveHover flex h-full w-full items-center justify-center gap-x-2 !rounded-full border p-4 transition-all",
11291
11547
  active && "!bg-toggle-bg-activeDefault hover:!bg-toggle-bg-activeHover"
11292
11548
  ),
11293
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
11549
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
11294
11550
  "div",
11295
11551
  {
11296
11552
  className: "flex items-center justify-center gap-x-2",
11297
11553
  onClick: handleClick,
11298
11554
  children: [
11299
11555
  icon,
11300
- dropdown && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react27.ChevronDown, { className: "text-icon-default size-5" })
11556
+ dropdown && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react27.ChevronDown, { className: "text-icon-default size-5" })
11301
11557
  ]
11302
11558
  }
11303
11559
  )
11304
11560
  }
11305
11561
  ),
11306
- dropdown && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(DropdownMenuContent, { align: "start", className: "min-w-41", children: dropdownContent })
11562
+ dropdown && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DropdownMenuContent, { align: "start", className: "min-w-41", children: dropdownContent })
11307
11563
  ] }) });
11308
11564
  };
11309
11565
 
11310
11566
  // src/ui/WrapperCard/index.tsx
11311
- var import_jsx_runtime58 = require("react/jsx-runtime");
11567
+ var import_jsx_runtime59 = require("react/jsx-runtime");
11312
11568
  var WrapperCard = (props) => {
11313
11569
  const { children, className } = props;
11314
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
11570
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11315
11571
  "div",
11316
11572
  {
11317
11573
  className: cn(
@@ -11327,7 +11583,7 @@ var WrapperCard = (props) => {
11327
11583
  var import_react_slot7 = require("@radix-ui/react-slot");
11328
11584
  var React21 = __toESM(require("react"), 1);
11329
11585
  var import_react_hook_form = require("react-hook-form");
11330
- var import_jsx_runtime59 = require("react/jsx-runtime");
11586
+ var import_jsx_runtime60 = require("react/jsx-runtime");
11331
11587
  var BaseForm = import_react_hook_form.FormProvider;
11332
11588
  var FormFieldContext = React21.createContext(
11333
11589
  {}
@@ -11335,7 +11591,7 @@ var FormFieldContext = React21.createContext(
11335
11591
  var BaseFormField = ({
11336
11592
  ...props
11337
11593
  }) => {
11338
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_hook_form.Controller, { ...props }) });
11594
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react_hook_form.Controller, { ...props }) });
11339
11595
  };
11340
11596
  var useFormField = () => {
11341
11597
  const fieldContext = React21.useContext(FormFieldContext);
@@ -11361,7 +11617,7 @@ var FormItemContext = React21.createContext(
11361
11617
  );
11362
11618
  function BaseFormItem({ className, ...props }) {
11363
11619
  const id = React21.useId();
11364
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11620
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11365
11621
  "div",
11366
11622
  {
11367
11623
  "data-slot": "form-item",
@@ -11375,7 +11631,7 @@ function BaseFormLabel({
11375
11631
  ...props
11376
11632
  }) {
11377
11633
  const { error, formItemId } = useFormField();
11378
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11634
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11379
11635
  Label2,
11380
11636
  {
11381
11637
  "data-slot": "form-label",
@@ -11391,7 +11647,7 @@ function BaseFormLabel({
11391
11647
  }
11392
11648
  function BaseFormControl({ ...props }) {
11393
11649
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
11394
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11650
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11395
11651
  import_react_slot7.Slot,
11396
11652
  {
11397
11653
  "data-slot": "form-control",
@@ -11407,7 +11663,7 @@ function BaseFormDescription({
11407
11663
  ...props
11408
11664
  }) {
11409
11665
  const { formDescriptionId } = useFormField();
11410
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11666
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11411
11667
  "p",
11412
11668
  {
11413
11669
  "data-slot": "form-description",
@@ -11423,7 +11679,7 @@ function BaseFormMessage({ className, ...props }) {
11423
11679
  if (!body) {
11424
11680
  return null;
11425
11681
  }
11426
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11682
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11427
11683
  "p",
11428
11684
  {
11429
11685
  "data-slot": "form-message",
@@ -11437,7 +11693,7 @@ function BaseFormMessage({ className, ...props }) {
11437
11693
 
11438
11694
  // src/ui/form/FormField.tsx
11439
11695
  var React22 = __toESM(require("react"), 1);
11440
- var import_jsx_runtime60 = require("react/jsx-runtime");
11696
+ var import_jsx_runtime61 = require("react/jsx-runtime");
11441
11697
  var FormField = ({
11442
11698
  control,
11443
11699
  field,
@@ -11445,18 +11701,18 @@ var FormField = ({
11445
11701
  onBlur,
11446
11702
  className
11447
11703
  }) => {
11448
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11704
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11449
11705
  BaseFormField,
11450
11706
  {
11451
11707
  control,
11452
11708
  name: field.name,
11453
- render: ({ field: formField }) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(BaseFormItem, { className: cn("w-full", className), children: [
11454
- field.label && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(BaseFormLabel, { className: "gap-1", children: [
11709
+ render: ({ field: formField }) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(BaseFormItem, { className: cn("w-full", className), children: [
11710
+ field.label && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(BaseFormLabel, { className: "gap-1", children: [
11455
11711
  field.label,
11456
- field.required && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-element-inverse-red", children: "*" }),
11457
- field.optional && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-title-sm!", children: "(Optional)" })
11712
+ field.required && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-element-inverse-red", children: "*" }),
11713
+ field.optional && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-title-sm!", children: "(Optional)" })
11458
11714
  ] }),
11459
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BaseFormControl, { children: React22.isValidElement(field.render) ? React22.cloneElement(
11715
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BaseFormControl, { children: React22.isValidElement(field.render) ? React22.cloneElement(
11460
11716
  field.render,
11461
11717
  {
11462
11718
  ...formField,
@@ -11466,7 +11722,7 @@ var FormField = ({
11466
11722
  }
11467
11723
  }
11468
11724
  ) : field.render }),
11469
- isShowError && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BaseFormMessage, {})
11725
+ isShowError && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BaseFormMessage, {})
11470
11726
  ] })
11471
11727
  },
11472
11728
  field.name
@@ -11474,10 +11730,10 @@ var FormField = ({
11474
11730
  };
11475
11731
 
11476
11732
  // src/ui/form/Form.tsx
11477
- var import_react13 = require("react");
11733
+ var import_react14 = require("react");
11478
11734
  var import_react_hook_form2 = require("react-hook-form");
11479
- var import_jsx_runtime61 = require("react/jsx-runtime");
11480
- var FormMethodsContext = (0, import_react13.createContext)(
11735
+ var import_jsx_runtime62 = require("react/jsx-runtime");
11736
+ var FormMethodsContext = (0, import_react14.createContext)(
11481
11737
  null
11482
11738
  );
11483
11739
  function Form({
@@ -11487,11 +11743,11 @@ function Form({
11487
11743
  className,
11488
11744
  children
11489
11745
  }) {
11490
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11746
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11491
11747
  FormMethodsContext.Provider,
11492
11748
  {
11493
11749
  value: formMethods,
11494
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BaseForm, { ...formMethods, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11750
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BaseForm, { ...formMethods, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11495
11751
  "form",
11496
11752
  {
11497
11753
  id,
@@ -11512,7 +11768,7 @@ Form.InputField = function InputField({
11512
11768
  ...props
11513
11769
  }) {
11514
11770
  const { control } = (0, import_react_hook_form2.useFormContext)();
11515
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11771
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11516
11772
  FormField,
11517
11773
  {
11518
11774
  className: "w-full",
@@ -11523,7 +11779,7 @@ Form.InputField = function InputField({
11523
11779
  name,
11524
11780
  label,
11525
11781
  required,
11526
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Input, { ...props, inputClassName: props.inputClassName })
11782
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Input, { ...props, inputClassName: props.inputClassName })
11527
11783
  }
11528
11784
  }
11529
11785
  );
@@ -11534,7 +11790,7 @@ Form.PasswordField = function PasswordField({
11534
11790
  ...props
11535
11791
  }) {
11536
11792
  const { control } = (0, import_react_hook_form2.useFormContext)();
11537
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11793
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11538
11794
  FormField,
11539
11795
  {
11540
11796
  className: "w-full",
@@ -11542,7 +11798,7 @@ Form.PasswordField = function PasswordField({
11542
11798
  field: {
11543
11799
  name,
11544
11800
  label,
11545
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(PasswordInput, { ...props })
11801
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(PasswordInput, { ...props })
11546
11802
  }
11547
11803
  }
11548
11804
  );
@@ -11554,7 +11810,7 @@ Form.SelectInputField = function SelectInputField({
11554
11810
  ...props
11555
11811
  }) {
11556
11812
  const { control } = (0, import_react_hook_form2.useFormContext)();
11557
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11813
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11558
11814
  FormField,
11559
11815
  {
11560
11816
  control,
@@ -11562,7 +11818,7 @@ Form.SelectInputField = function SelectInputField({
11562
11818
  name,
11563
11819
  required,
11564
11820
  label,
11565
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SelectInput, { ...props })
11821
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SelectInput, { ...props })
11566
11822
  }
11567
11823
  }
11568
11824
  );
@@ -11574,14 +11830,14 @@ Form.MultiSelectField = function MultiSelectField({
11574
11830
  }) {
11575
11831
  const { control, watch, setValue } = (0, import_react_hook_form2.useFormContext)();
11576
11832
  const selectedValues = watch(name) || [];
11577
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11833
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11578
11834
  FormField,
11579
11835
  {
11580
11836
  control,
11581
11837
  field: {
11582
11838
  name,
11583
11839
  label,
11584
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11840
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11585
11841
  MultiSelect,
11586
11842
  {
11587
11843
  ...props,
@@ -11600,7 +11856,7 @@ Form.TextareaField = function TextareaField({
11600
11856
  ...props
11601
11857
  }) {
11602
11858
  const { control } = (0, import_react_hook_form2.useFormContext)();
11603
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11859
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11604
11860
  FormField,
11605
11861
  {
11606
11862
  control,
@@ -11608,7 +11864,7 @@ Form.TextareaField = function TextareaField({
11608
11864
  name,
11609
11865
  label,
11610
11866
  optional,
11611
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(TextAreaInput_default, { ...props })
11867
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TextAreaInput_default, { ...props })
11612
11868
  }
11613
11869
  }
11614
11870
  );
@@ -11626,14 +11882,14 @@ Form.FileUploadField = function FileUploadFieldComponent({
11626
11882
  const { control, formState } = (0, import_react_hook_form2.useFormContext)();
11627
11883
  const fieldError = formState.errors[name];
11628
11884
  const hasValidationError = !!fieldError;
11629
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11885
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11630
11886
  import_react_hook_form2.Controller,
11631
11887
  {
11632
11888
  control,
11633
11889
  name,
11634
- render: ({ field: formField }) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "space-y-1", children: [
11635
- label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("label", { htmlFor: name, className: "font-medium", children: label }),
11636
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11890
+ render: ({ field: formField }) => /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "space-y-1", children: [
11891
+ label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("label", { htmlFor: name, className: "font-medium", children: label }),
11892
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11637
11893
  FileUploadField,
11638
11894
  {
11639
11895
  field: { name, isMultiple, maxFiles, children },
@@ -11664,7 +11920,7 @@ Form.DateInputField = function DateInputField({
11664
11920
  }) {
11665
11921
  const { control, watch, setValue } = (0, import_react_hook_form2.useFormContext)();
11666
11922
  const value = watch(name);
11667
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11923
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11668
11924
  FormField,
11669
11925
  {
11670
11926
  control,
@@ -11672,7 +11928,7 @@ Form.DateInputField = function DateInputField({
11672
11928
  name,
11673
11929
  label,
11674
11930
  required,
11675
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11931
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11676
11932
  DatePickerInput,
11677
11933
  {
11678
11934
  ...props,
@@ -11691,14 +11947,14 @@ Form.TimeInputField = function TimeInputField({
11691
11947
  ...props
11692
11948
  }) {
11693
11949
  const { control, setValue } = (0, import_react_hook_form2.useFormContext)();
11694
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11950
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11695
11951
  FormField,
11696
11952
  {
11697
11953
  control,
11698
11954
  field: {
11699
11955
  name,
11700
11956
  label,
11701
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11957
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11702
11958
  TimePicker,
11703
11959
  {
11704
11960
  onValueChange: (value) => {
@@ -11717,13 +11973,13 @@ Form.CheckboxField = function CheckboxField({
11717
11973
  ...props
11718
11974
  }) {
11719
11975
  const { control } = (0, import_react_hook_form2.useFormContext)();
11720
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11976
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11721
11977
  FormField,
11722
11978
  {
11723
11979
  control,
11724
11980
  field: {
11725
11981
  name,
11726
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Checkbox, { value: name, label, ...props })
11982
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Checkbox, { value: name, label, ...props })
11727
11983
  }
11728
11984
  }
11729
11985
  );
@@ -11733,12 +11989,12 @@ Form.OTPInputField = function OTPInputField({
11733
11989
  ...props
11734
11990
  }) {
11735
11991
  const { control } = (0, import_react_hook_form2.useFormContext)();
11736
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
11992
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11737
11993
  FormField,
11738
11994
  {
11739
11995
  className: "w-full",
11740
11996
  control,
11741
- field: { name, render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(OTPInput, { ...props }) }
11997
+ field: { name, render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(OTPInput, { ...props }) }
11742
11998
  }
11743
11999
  );
11744
12000
  };
@@ -11749,14 +12005,14 @@ Form.RadioField = function RadioField({
11749
12005
  }) {
11750
12006
  const { control } = (0, import_react_hook_form2.useFormContext)();
11751
12007
  const { setValue } = (0, import_react_hook_form2.useFormContext)();
11752
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12008
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11753
12009
  FormField,
11754
12010
  {
11755
12011
  control,
11756
12012
  field: {
11757
12013
  name,
11758
12014
  label,
11759
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12015
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11760
12016
  Radio,
11761
12017
  {
11762
12018
  ...props,
@@ -11773,13 +12029,13 @@ Form.ComboboxField = function ComboboxField({
11773
12029
  }) {
11774
12030
  const { control, setValue, watch } = (0, import_react_hook_form2.useFormContext)();
11775
12031
  const value = watch(name);
11776
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12032
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11777
12033
  FormField,
11778
12034
  {
11779
12035
  control,
11780
12036
  field: {
11781
12037
  name,
11782
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12038
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11783
12039
  Combobox,
11784
12040
  {
11785
12041
  ...props,
@@ -11801,7 +12057,7 @@ Form.SwitchField = function SwitchField({
11801
12057
  }) {
11802
12058
  const { control, setValue, watch } = (0, import_react_hook_form2.useFormContext)();
11803
12059
  const value = watch(name);
11804
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12060
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11805
12061
  FormField,
11806
12062
  {
11807
12063
  control,
@@ -11809,9 +12065,9 @@ Form.SwitchField = function SwitchField({
11809
12065
  field: {
11810
12066
  name,
11811
12067
  label,
11812
- render: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex items-center", children: [
11813
- prefix && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "mr-2", children: prefix }),
11814
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12068
+ render: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center", children: [
12069
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "mr-2", children: prefix }),
12070
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
11815
12071
  Switch,
11816
12072
  {
11817
12073
  ...props,
@@ -11819,7 +12075,7 @@ Form.SwitchField = function SwitchField({
11819
12075
  onCheckedChange: (checked) => setValue(name, checked)
11820
12076
  }
11821
12077
  ),
11822
- suffix && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "ml-2", children: suffix })
12078
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "ml-2", children: suffix })
11823
12079
  ] })
11824
12080
  }
11825
12081
  }
@@ -12833,6 +13089,7 @@ function getTokenValueWithFallback(tokenName, fallback) {
12833
13089
  FileUploadField,
12834
13090
  Form,
12835
13091
  FormField,
13092
+ GoogleMapView,
12836
13093
  GradientContainer,
12837
13094
  Grid,
12838
13095
  IconButton,