@overmap-ai/blocks 1.0.29-overmap-table.0 → 1.0.29

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.
Files changed (35) hide show
  1. package/dist/ItemStack/Group.d.ts +2 -1
  2. package/dist/OvermapItemGroup/OvermapItemGroup.d.ts +1 -1
  3. package/dist/OvermapItemGroup/typings.d.ts +2 -3
  4. package/dist/blocks.js +244 -666
  5. package/dist/blocks.js.map +1 -1
  6. package/dist/blocks.umd.cjs +237 -660
  7. package/dist/blocks.umd.cjs.map +1 -1
  8. package/dist/index.d.ts +0 -1
  9. package/dist/style.css +31 -75
  10. package/package.json +1 -1
  11. package/dist/DialogMenu/Provider.d.ts +0 -6
  12. package/dist/DialogMenu/components/DialogCommandMenu.d.ts +0 -6
  13. package/dist/DialogMenu/components/DialogMultiSelectMenu.d.ts +0 -6
  14. package/dist/DialogMenu/components/DialogSelectMenu.d.ts +0 -7
  15. package/dist/DialogMenu/components/index.d.ts +0 -3
  16. package/dist/DialogMenu/constants.d.ts +0 -3
  17. package/dist/DialogMenu/content/Content.d.ts +0 -8
  18. package/dist/DialogMenu/content/SubContent.d.ts +0 -5
  19. package/dist/DialogMenu/content/index.d.ts +0 -2
  20. package/dist/DialogMenu/context.d.ts +0 -14
  21. package/dist/DialogMenu/groups/Group.d.ts +0 -3
  22. package/dist/DialogMenu/groups/MultiSelectGroup.d.ts +0 -3
  23. package/dist/DialogMenu/groups/SelectGroup.d.ts +0 -3
  24. package/dist/DialogMenu/groups/index.d.ts +0 -3
  25. package/dist/DialogMenu/index.d.ts +0 -20
  26. package/dist/DialogMenu/items/Item.d.ts +0 -3
  27. package/dist/DialogMenu/items/MultiSelectItem.d.ts +0 -3
  28. package/dist/DialogMenu/items/SelectItem.d.ts +0 -3
  29. package/dist/DialogMenu/items/Separator.d.ts +0 -4
  30. package/dist/DialogMenu/items/SubTrigger.d.ts +0 -3
  31. package/dist/DialogMenu/items/index.d.ts +0 -5
  32. package/dist/DialogMenu/root/Root.d.ts +0 -6
  33. package/dist/DialogMenu/root/index.d.ts +0 -1
  34. package/dist/DialogMenu/typings.d.ts +0 -59
  35. package/dist/ItemStack/index.d.ts +0 -7
@@ -263,7 +263,7 @@
263
263
  const zeroMinWidth = "_zeroMinWidth_curjh_1";
264
264
  const zeroMinHeight = "_zeroMinHeight_curjh_5";
265
265
  const radius = "_radius_curjh_9";
266
- const styles$u = {
266
+ const styles$r = {
267
267
  zeroMinWidth,
268
268
  zeroMinHeight,
269
269
  radius
@@ -275,9 +275,9 @@
275
275
  themes.Flex,
276
276
  {
277
277
  className: classNames(className, {
278
- [styles$u.radius]: radius2,
279
- [styles$u.zeroMinWidth]: zeroMinWidth2,
280
- [styles$u.zeroMinHeight]: zeroMinHeight2
278
+ [styles$r.radius]: radius2,
279
+ [styles$r.zeroMinWidth]: zeroMinWidth2,
280
+ [styles$r.zeroMinHeight]: zeroMinHeight2
281
281
  }),
282
282
  ref,
283
283
  ...rest,
@@ -289,14 +289,14 @@
289
289
  );
290
290
  const BreadcrumbContext = React.createContext({});
291
291
  const useBreadcrumbContext = () => React.useContext(BreadcrumbContext);
292
- const Item$3 = React.memo(
292
+ const Item$2 = React.memo(
293
293
  React.forwardRef(({ className, children, ...rest }, ref) => {
294
294
  const { size, severity } = useBreadcrumbContext();
295
295
  const severityColor = useSeverityColor(severity);
296
296
  return /* @__PURE__ */ jsxRuntime.jsx(themes.Box, { className: classNames("overmap-breadcrumb-item", className), height: "max-content", width: "max-content", children: /* @__PURE__ */ jsxRuntime.jsx(themes.Link, { ref, size, color: severityColor, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(Flex, { height: "100%", width: "100%", align: "center", gap: "1", children }) }) });
297
297
  })
298
298
  );
299
- const Group$3 = React.memo(
299
+ const Group$2 = React.memo(
300
300
  React.forwardRef(
301
301
  ({ className, children, separator, severity = "info", size, gap = "2", ...rest }, ref) => {
302
302
  const severityColor = useSeverityColor(severity);
@@ -323,23 +323,23 @@
323
323
  )
324
324
  );
325
325
  const Breadcrumb = {
326
- Group: Group$3,
327
- Item: Item$3
326
+ Group: Group$2,
327
+ Item: Item$2
328
328
  };
329
329
  const fluid$1 = "_fluid_r73gr_1";
330
330
  const hoverSpin90Clockwise = "_hoverSpin90Clockwise_r73gr_15";
331
331
  const hoverSpin180Clockwise = "_hoverSpin180Clockwise_r73gr_25";
332
332
  const hoverSpin360Clockwise = "_hoverSpin360Clockwise_r73gr_35";
333
- const styles$t = {
333
+ const styles$q = {
334
334
  fluid: fluid$1,
335
335
  hoverSpin90Clockwise,
336
336
  hoverSpin180Clockwise,
337
337
  hoverSpin360Clockwise
338
338
  };
339
339
  const hoverEffectClassNameMapping = {
340
- spin90Clockwise: styles$t.hoverSpin90Clockwise,
341
- spin180Clockwise: styles$t.hoverSpin180Clockwise,
342
- spin360Clockwise: styles$t.hoverSpin360Clockwise
340
+ spin90Clockwise: styles$q.hoverSpin90Clockwise,
341
+ spin180Clockwise: styles$q.hoverSpin180Clockwise,
342
+ spin360Clockwise: styles$q.hoverSpin360Clockwise
343
343
  };
344
344
  const clickOnEnterOrSpace = (e) => {
345
345
  if (e.key === "Enter" || e.key === " ") {
@@ -361,12 +361,12 @@
361
361
  const useButtonGroupContext = () => React.useContext(ButtonGroupContext);
362
362
  const spinner = "_spinner_1oknc_9";
363
363
  const spin = "_spin_1oknc_9";
364
- const styles$s = {
364
+ const styles$p = {
365
365
  spinner,
366
366
  spin
367
367
  };
368
368
  const Spinner = React.memo(() => {
369
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$s.spinner });
369
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$p.spinner });
370
370
  });
371
371
  Spinner.displayName = "Spinner";
372
372
  const _Button$1 = React.forwardRef(function Button(props, ref) {
@@ -402,7 +402,7 @@
402
402
  ref,
403
403
  type,
404
404
  className: classNames(className, hoverEffectClasses, {
405
- [styles$t.fluid]: fluid2
405
+ [styles$q.fluid]: fluid2
406
406
  }),
407
407
  color,
408
408
  size: useResponsiveMapping(size, SizeMapping),
@@ -444,7 +444,7 @@
444
444
  themes.IconButton,
445
445
  {
446
446
  className: classNames(className, hoverEffectClasses, {
447
- [styles$t.fluid]: fluid2
447
+ [styles$q.fluid]: fluid2
448
448
  }),
449
449
  ref,
450
450
  color,
@@ -459,7 +459,7 @@
459
459
  });
460
460
  const IconButton = React.memo(_Button);
461
461
  const merged = "_merged_wdgxo_1";
462
- const styles$r = {
462
+ const styles$o = {
463
463
  merged
464
464
  };
465
465
  const GhostVariantSizeToGapMapping = {
@@ -486,7 +486,7 @@
486
486
  themes.Flex,
487
487
  {
488
488
  className: classNames("overmap-button-group", className, {
489
- [styles$r.merged]: merged2
489
+ [styles$o.merged]: merged2
490
490
  }),
491
491
  ref,
492
492
  gap: merged2 ? gap ?? mergedAutoGap : gap ?? "2",
@@ -499,7 +499,7 @@
499
499
  });
500
500
  const ButtonGroup = React.memo(_ButtonGroup);
501
501
  const separators = "_separators_1f7v1_1";
502
- const styles$q = {
502
+ const styles$n = {
503
503
  separators
504
504
  };
505
505
  const ButtonListBorder = React.memo(
@@ -530,7 +530,7 @@
530
530
  size,
531
531
  severity: "info",
532
532
  variant: buttonVariant,
533
- className: classNames(className, styles$q.separators),
533
+ className: classNames(className, styles$n.separators),
534
534
  merged: true,
535
535
  gap: "0",
536
536
  direction: "column",
@@ -557,10 +557,9 @@
557
557
  const RiIcon = React.memo((props) => {
558
558
  const { icon, size = DEFAULT_ICON_SIZE, color, ...rest } = props;
559
559
  const Icon = RiIcons__namespace[icon];
560
- if (!Icon) {
561
- throw new Error(`no icon with the name ${icon} exists.`);
562
- }
563
- return /* @__PURE__ */ jsxRuntime.jsx(Icon, { size, color, ...rest });
560
+ if (!Icon)
561
+ console.error(`Icon ${icon} not found`);
562
+ return Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { size, color, ...rest }) : /* @__PURE__ */ jsxRuntime.jsx(RiIcons.RiQuestionMark, {});
564
563
  });
565
564
  RiIcon.displayName = "IconComponent";
566
565
  const DialogContent = React.memo(function DialogContent2(props) {
@@ -784,7 +783,7 @@
784
783
  );
785
784
  const OverlayContent = "_OverlayContent_1nr9w_1";
786
785
  const OverlayOverlay = "_OverlayOverlay_1nr9w_6";
787
- const styles$p = {
786
+ const styles$m = {
788
787
  OverlayContent,
789
788
  OverlayOverlay
790
789
  };
@@ -795,13 +794,19 @@
795
794
  BaseDialog,
796
795
  {
797
796
  ref,
798
- overlayClass: classNames("overmap-overlay-overlay", styles$p.OverlayOverlay, overlayClass),
799
- className: classNames("overmap-overlay-content", styles$p.OverlayContent, className),
797
+ overlayClass: classNames("overmap-overlay-overlay", styles$m.OverlayOverlay, overlayClass),
798
+ className: classNames("overmap-overlay-content", styles$m.OverlayContent, className),
800
799
  ...rest
801
800
  }
802
801
  );
803
802
  })
804
803
  );
804
+ const CollapsibleTreeContext = React.createContext(
805
+ {}
806
+ );
807
+ function useCollapsibleTreeContext() {
808
+ return React.useContext(CollapsibleTreeContext);
809
+ }
805
810
  const OvermapItemSizeDependantProps = {
806
811
  "1": {
807
812
  gap: "1",
@@ -836,12 +841,11 @@
836
841
  };
837
842
  const OvermapItemGroupContext = React.createContext({});
838
843
  const useOvermapItemGroupContext = () => React.useContext(OvermapItemGroupContext);
839
- const OvermapItemGroup = React.memo(
840
- React.forwardRef(function(props, ref) {
841
- const { size, compact = false, children, ...rest } = props;
842
- return /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroupContext.Provider, { value: { size, compact }, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Grid, { ref, columns: "1", width: "100%", height: "max-content", ...rest, children }) });
843
- })
844
- );
844
+ const OvermapItemGroup = React.memo((props) => {
845
+ const { size, children, compact = false } = props;
846
+ return /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroupContext.Provider, { value: { size, compact }, children });
847
+ });
848
+ OvermapItemGroup.displayName = "OvermapItemGroup";
845
849
  const OvermapItem = React.memo(
846
850
  React.forwardRef((props, ref) => {
847
851
  const overmapItemGroupContext = useOvermapItemGroupContext();
@@ -875,548 +879,6 @@
875
879
  );
876
880
  })
877
881
  );
878
- const DialogMenuContext = React.createContext({});
879
- const useDialogMenuContext = () => React.useContext(DialogMenuContext);
880
- const DialogMenuItem = "_DialogMenuItem_1ojd2_1";
881
- const styles$o = {
882
- DialogMenuItem
883
- };
884
- const Item$2 = React.memo(
885
- React.forwardRef((props, ref) => {
886
- const dialogMenuContext = useDialogMenuContext();
887
- const {
888
- className,
889
- children,
890
- onSelect,
891
- onClick,
892
- closeOnSelect = dialogMenuContext.closeOnSelect,
893
- size = dialogMenuContext.size,
894
- leftSlot,
895
- rightSlot,
896
- ...rest
897
- } = props;
898
- const handleClick = React.useCallback(
899
- (e) => {
900
- if (onClick)
901
- onClick(e);
902
- if (onSelect)
903
- onSelect();
904
- if (closeOnSelect)
905
- dialogMenuContext.close();
906
- },
907
- [closeOnSelect, dialogMenuContext, onClick, onSelect]
908
- );
909
- return /* @__PURE__ */ jsxRuntime.jsx(
910
- OvermapItem,
911
- {
912
- className: classNames(className, styles$o.DialogMenuItem),
913
- onClick: handleClick,
914
- ref,
915
- leftSlot,
916
- rightSlot,
917
- size,
918
- role: "menuitem",
919
- tabIndex: 0,
920
- ...rest,
921
- children
922
- }
923
- );
924
- })
925
- );
926
- const SelectContext = React.createContext({});
927
- function useSelectContext() {
928
- return React.useContext(SelectContext);
929
- }
930
- const SelectContextProvider = React.memo((props) => {
931
- const { type, children } = props;
932
- const [controlledValue, setControlledValue] = React.useState(
933
- type === "single" ? (props == null ? void 0 : props.defaultValue) ?? null : null
934
- );
935
- const [controlledValues, setControlledValues] = React.useState(
936
- type === "multi" ? (props == null ? void 0 : props.defaultValues) ?? [] : []
937
- );
938
- const onValuesChange = React.useCallback(
939
- (values) => {
940
- setControlledValues(values);
941
- if (type === "multi" && (props == null ? void 0 : props.onValuesChange))
942
- props.onValuesChange(values);
943
- },
944
- [props, type]
945
- );
946
- const onValueChange = React.useCallback(
947
- (value2) => {
948
- setControlledValue(value2);
949
- if (type === "single" && (props == null ? void 0 : props.onValueChange))
950
- props.onValueChange(value2);
951
- },
952
- [props, type]
953
- );
954
- const value = React.useMemo(
955
- () => type === "multi" ? {
956
- type,
957
- values: (props == null ? void 0 : props.values) ?? controlledValues,
958
- handleValuesChange: onValuesChange
959
- } : {
960
- type,
961
- value: props.value ?? controlledValue,
962
- handleValueChange: onValueChange
963
- },
964
- [controlledValue, controlledValues, onValueChange, onValuesChange, props, type]
965
- );
966
- return /* @__PURE__ */ jsxRuntime.jsx(SelectContext.Provider, { value, children });
967
- });
968
- SelectContextProvider.displayName = "SelectContextProvider";
969
- const SelectItem$1 = React.memo(
970
- React.forwardRef((props, ref) => {
971
- const dialogMenuContext = useDialogMenuContext();
972
- const { value, rightSlot, selectedIndicator = dialogMenuContext.selectedIndicator, onSelect, ...rest } = props;
973
- const { value: currentValue, handleValueChange } = useSelectContext();
974
- const handleSelect = React.useCallback(() => {
975
- handleValueChange(value !== currentValue ? value : null);
976
- if (onSelect)
977
- onSelect();
978
- }, [currentValue, handleValueChange, onSelect, value]);
979
- return /* @__PURE__ */ jsxRuntime.jsx(
980
- Item$2,
981
- {
982
- ref,
983
- onSelect: handleSelect,
984
- role: "menuitemradio",
985
- rightSlot: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
986
- currentValue === value && selectedIndicator,
987
- " ",
988
- rightSlot
989
- ] }),
990
- ...rest
991
- }
992
- );
993
- })
994
- );
995
- const MultiSelectItem$2 = React.memo(
996
- React.forwardRef((props, ref) => {
997
- const dialogMenuContext = useDialogMenuContext();
998
- const { value, rightSlot, selectedIndicator = dialogMenuContext.selectedIndicator, onSelect, ...rest } = props;
999
- const { values: currentValues, handleValuesChange } = useSelectContext();
1000
- const handleSelect = React.useCallback(() => {
1001
- handleValuesChange(
1002
- currentValues.includes(value) ? [...currentValues, value] : (
1003
- // If value currently in selected values, remove it (filter out)
1004
- currentValues.filter((currentValue) => currentValue !== value)
1005
- )
1006
- );
1007
- if (onSelect)
1008
- onSelect();
1009
- }, [currentValues, handleValuesChange, onSelect, value]);
1010
- return /* @__PURE__ */ jsxRuntime.jsx(
1011
- Item$2,
1012
- {
1013
- onSelect: handleSelect,
1014
- ref,
1015
- role: "menuitemcheckbox",
1016
- rightSlot: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1017
- currentValues.includes(value) && selectedIndicator,
1018
- rightSlot
1019
- ] }),
1020
- ...rest
1021
- }
1022
- );
1023
- })
1024
- );
1025
- const SubTrigger$1 = React.memo(
1026
- React.forwardRef((props, ref) => {
1027
- const { subContentId, onSelect, ...rest } = props;
1028
- const { setSubContentId } = useDialogMenuContext();
1029
- const handleSelect = React.useCallback(() => {
1030
- setSubContentId(subContentId);
1031
- if (onSelect)
1032
- onSelect();
1033
- }, [subContentId, onSelect, setSubContentId]);
1034
- return /* @__PURE__ */ jsxRuntime.jsx(Item$2, { onSelect: handleSelect, ref, ...rest });
1035
- })
1036
- );
1037
- const light = "_light_1u8fs_1";
1038
- const bold = "_bold_1u8fs_8";
1039
- const full = "_full_1u8fs_15";
1040
- const Text$1 = "_Text_1u8fs_22";
1041
- const styles$n = {
1042
- light,
1043
- bold,
1044
- full,
1045
- Text: Text$1
1046
- };
1047
- const SeparatorSizeMapping = {
1048
- "1": "max-content",
1049
- "2": "max-content",
1050
- "3": "max-content",
1051
- "4": "100%"
1052
- };
1053
- const _Separator = React.forwardRef(function Separator2({
1054
- className,
1055
- severity = "info",
1056
- textWeight = "light",
1057
- gap = "1",
1058
- text,
1059
- orientation = "horizontal",
1060
- size,
1061
- weight = "medium",
1062
- ...rest
1063
- }, ref) {
1064
- const computedSizing = useResponsiveMapping(size, SeparatorSizeMapping);
1065
- const severityColor = useSeverityColor(severity);
1066
- return /* @__PURE__ */ jsxRuntime.jsxs(
1067
- themes.Flex,
1068
- {
1069
- className: classNames("overmap-separator", className, {
1070
- [styles$n.light]: weight === "light",
1071
- [styles$n.bold]: weight === "bold",
1072
- [styles$n.full]: weight === "full"
1073
- }),
1074
- ref,
1075
- width: orientation === "horizontal" ? computedSizing : "max-content",
1076
- height: orientation === "vertical" ? computedSizing : "max-content",
1077
- direction: orientation === "vertical" ? "column" : "row",
1078
- align: "center",
1079
- gap,
1080
- children: [
1081
- /* @__PURE__ */ jsxRuntime.jsx(themes.Separator, { size, orientation, color: severityColor, ...rest }),
1082
- text && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1083
- /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { className: styles$n.Text, as: "span", size: "1", weight: textWeight, color: severityColor, children: text }),
1084
- /* @__PURE__ */ jsxRuntime.jsx(themes.Separator, { size, orientation, color: severityColor, ...rest })
1085
- ] })
1086
- ]
1087
- }
1088
- );
1089
- });
1090
- const Separator$2 = React.memo(_Separator);
1091
- const Separator$1 = React.memo(
1092
- React.forwardRef((props, ref) => {
1093
- return /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { ref, py: "2", children: /* @__PURE__ */ jsxRuntime.jsx(Separator$2, { size: "4", weight: "light", ...props }) });
1094
- })
1095
- );
1096
- const DEFAULT_DIALOG_MENU_SIZE = "3";
1097
- const DEFAULT_SELECTED_INDICATOR = /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiCheckLine" });
1098
- const Group$2 = React.memo(
1099
- React.forwardRef((props, ref) => {
1100
- const dialogMenuContext = useDialogMenuContext();
1101
- const { size = dialogMenuContext.size, grid = false, children } = props;
1102
- const computedSize = useOvermapResponsiveValue(size);
1103
- const computedColumns = React.useMemo(() => {
1104
- const { height } = OvermapItemSizeDependantProps[computedSize ?? DEFAULT_DIALOG_MENU_SIZE];
1105
- return `repeat(auto-fit,var(--space-${height})`;
1106
- }, [computedSize]);
1107
- return /* @__PURE__ */ jsxRuntime.jsx(
1108
- OvermapItemGroup,
1109
- {
1110
- role: "group",
1111
- compact: grid,
1112
- size,
1113
- ref,
1114
- columns: grid ? computedColumns : void 0,
1115
- flow: "dense",
1116
- children
1117
- }
1118
- );
1119
- })
1120
- );
1121
- const SelectGroup$1 = React.memo(
1122
- React.forwardRef((props, ref) => {
1123
- const { value, onValueChange, ...rest } = props;
1124
- return /* @__PURE__ */ jsxRuntime.jsx(SelectContextProvider, { type: "single", value, onValueChange, children: /* @__PURE__ */ jsxRuntime.jsx(Group$2, { ref, ...rest }) });
1125
- })
1126
- );
1127
- const MultiSelectGroup$1 = React.memo(
1128
- React.forwardRef((props, ref) => {
1129
- const { values, onValuesChange, ...rest } = props;
1130
- return /* @__PURE__ */ jsxRuntime.jsx(SelectContextProvider, { type: "multi", values, onValuesChange, children: /* @__PURE__ */ jsxRuntime.jsx(Group$2, { ref, ...rest }) });
1131
- })
1132
- );
1133
- const OvermapInputItem$1 = "_OvermapInputItem_1jgzv_1";
1134
- const styles$m = {
1135
- OvermapInputItem: OvermapInputItem$1
1136
- };
1137
- const OvermapInputItem = React.memo(
1138
- React.forwardRef((props, ref) => {
1139
- const { size, className, style, leftSlot, rightSlot, ...rest } = props;
1140
- return /* @__PURE__ */ jsxRuntime.jsx(
1141
- OvermapItem,
1142
- {
1143
- className,
1144
- style,
1145
- size,
1146
- leftSlot,
1147
- rightSlot,
1148
- compact: false,
1149
- children: /* @__PURE__ */ jsxRuntime.jsx("input", { className: styles$m.OvermapInputItem, ref, ...rest })
1150
- }
1151
- );
1152
- })
1153
- );
1154
- OvermapInputItem.displayName = "OvermapInputItem";
1155
- const DialogContentScrollArea = "_DialogContentScrollArea_i3a60_1";
1156
- const styles$l = {
1157
- DialogContentScrollArea
1158
- };
1159
- const ContentImpl = React.memo(
1160
- React.forwardRef((props, ref) => {
1161
- const { size } = useDialogMenuContext();
1162
- const {
1163
- topSlot,
1164
- bottomSlot,
1165
- numberOfItems,
1166
- filterValue,
1167
- onFilterValueChange,
1168
- placeholder,
1169
- leftFilterSlot,
1170
- rightFilterSlot,
1171
- children
1172
- } = props;
1173
- const handleChange = React.useCallback(
1174
- (e) => {
1175
- if (onFilterValueChange)
1176
- onFilterValueChange(e.target.value);
1177
- },
1178
- [onFilterValueChange]
1179
- );
1180
- return /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { direction: "column", width: "100%", ref, py: "2", children: [
1181
- /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { direction: "column", width: "100%", px: "2", children: [
1182
- topSlot && /* @__PURE__ */ jsxRuntime.jsx(OvermapItem, { size, children: topSlot }),
1183
- filterValue !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
1184
- OvermapInputItem,
1185
- {
1186
- size,
1187
- leftSlot: leftFilterSlot,
1188
- rightSlot: rightFilterSlot,
1189
- value: filterValue,
1190
- onChange: handleChange,
1191
- placeholder
1192
- }
1193
- )
1194
- ] }),
1195
- (topSlot || filterValue !== void 0) && numberOfItems > 0 && /* @__PURE__ */ jsxRuntime.jsx(Separator$1, {}),
1196
- /* @__PURE__ */ jsxRuntime.jsx(themes.ScrollArea, { className: styles$l.DialogContentScrollArea, scrollbars: "vertical", type: "hover", children: /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { px: "2", children }) }),
1197
- bottomSlot && /* @__PURE__ */ jsxRuntime.jsx(Separator$1, {}),
1198
- /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { direction: "column", width: "100%", px: "2", children: bottomSlot && /* @__PURE__ */ jsxRuntime.jsx(OvermapItem, { size, children: bottomSlot }) })
1199
- ] });
1200
- })
1201
- );
1202
- const Content$1 = React.memo(
1203
- React.forwardRef((props, ref) => {
1204
- const { subContentId } = useDialogMenuContext();
1205
- return !subContentId && /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref, ...props });
1206
- })
1207
- );
1208
- const SubContent$1 = React.memo(
1209
- React.forwardRef((props, ref) => {
1210
- const { id, ...rest } = props;
1211
- const { subContentId } = useDialogMenuContext();
1212
- return subContentId === id && /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref, ...rest });
1213
- })
1214
- );
1215
- const DialogMenuContextProvider = React.memo((props) => {
1216
- const { size, closeOnSelect, close, selectedIndicator, children } = props;
1217
- const [subContentId, setSubContentId] = React.useState(null);
1218
- const value = React.useMemo(
1219
- () => ({ size, close, closeOnSelect, subContentId, setSubContentId, selectedIndicator }),
1220
- [close, closeOnSelect, selectedIndicator, size, subContentId]
1221
- );
1222
- return /* @__PURE__ */ jsxRuntime.jsx(DialogMenuContext.Provider, { value, children });
1223
- });
1224
- DialogMenuContextProvider.displayName = "DialogMenuContextProvider";
1225
- const DialogMenuWrapper = "_DialogMenuWrapper_16hy0_1";
1226
- const DialogMenu$1 = "_DialogMenu_16hy0_1";
1227
- const styles$k = {
1228
- DialogMenuWrapper,
1229
- DialogMenu: DialogMenu$1
1230
- };
1231
- const Root$3 = React.memo(
1232
- React.forwardRef((props, ref) => {
1233
- const {
1234
- className,
1235
- content: contentFromProps,
1236
- selectedIndicator = DEFAULT_SELECTED_INDICATOR,
1237
- size = DEFAULT_DIALOG_MENU_SIZE,
1238
- closeOnSelect = false,
1239
- ...rest
1240
- } = props;
1241
- const content = React.useCallback(
1242
- (close) => {
1243
- return /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { className: classNames(styles$k.DialogMenu, className), children: /* @__PURE__ */ jsxRuntime.jsx(
1244
- DialogMenuContextProvider,
1245
- {
1246
- size,
1247
- close,
1248
- closeOnSelect,
1249
- selectedIndicator,
1250
- children: contentFromProps
1251
- }
1252
- ) });
1253
- },
1254
- [className, closeOnSelect, contentFromProps, selectedIndicator, size]
1255
- );
1256
- return /* @__PURE__ */ jsxRuntime.jsx(BaseDialog, { className: styles$k.DialogMenuWrapper, ref, content, ...rest });
1257
- })
1258
- );
1259
- const DialogCommandMenu = React.memo(
1260
- React.forwardRef((props, ref) => {
1261
- const {
1262
- // Command menu scoped props
1263
- size,
1264
- items,
1265
- closeOnSelect = true,
1266
- // Content scoped props
1267
- filterValue,
1268
- onFilterValueChange,
1269
- placeholder,
1270
- leftFilterSlot,
1271
- rightFilterSlot,
1272
- topSlot,
1273
- bottomSlot,
1274
- ...rest
1275
- } = props;
1276
- return /* @__PURE__ */ jsxRuntime.jsx(
1277
- Root$3,
1278
- {
1279
- ref,
1280
- size,
1281
- content: /* @__PURE__ */ jsxRuntime.jsx(
1282
- Content$1,
1283
- {
1284
- filterValue,
1285
- onFilterValueChange,
1286
- placeholder,
1287
- leftFilterSlot,
1288
- rightFilterSlot,
1289
- numberOfItems: items.length,
1290
- topSlot,
1291
- bottomSlot,
1292
- children: /* @__PURE__ */ jsxRuntime.jsx(Group$2, { size, children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(Item$2, { ...item }, index)) })
1293
- }
1294
- ),
1295
- closeOnSelect,
1296
- ...rest
1297
- }
1298
- );
1299
- })
1300
- );
1301
- const DialogSelectMenu = React.memo(
1302
- React.forwardRef((props, ref) => {
1303
- const {
1304
- // Select scoped props
1305
- size,
1306
- value,
1307
- onValueChange,
1308
- items,
1309
- selectedIndicator,
1310
- // Content scoped props
1311
- filterValue,
1312
- onFilterValueChange,
1313
- placeholder,
1314
- leftFilterSlot,
1315
- rightFilterSlot,
1316
- topSlot,
1317
- bottomSlot,
1318
- ...rest
1319
- } = props;
1320
- return /* @__PURE__ */ jsxRuntime.jsx(
1321
- Root$3,
1322
- {
1323
- ref,
1324
- size,
1325
- content: /* @__PURE__ */ jsxRuntime.jsx(
1326
- Content$1,
1327
- {
1328
- filterValue,
1329
- onFilterValueChange,
1330
- placeholder,
1331
- leftFilterSlot,
1332
- rightFilterSlot,
1333
- numberOfItems: items.length,
1334
- topSlot,
1335
- bottomSlot,
1336
- children: /* @__PURE__ */ jsxRuntime.jsx(SelectGroup$1, { size, value, onValueChange, children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
1337
- SelectItem$1,
1338
- {
1339
- selectedIndicator,
1340
- ...item
1341
- },
1342
- `${item.value}-${index}`
1343
- )) })
1344
- }
1345
- ),
1346
- ...rest
1347
- }
1348
- );
1349
- })
1350
- );
1351
- const DialogMultiSelectMenu = React.memo(
1352
- React.forwardRef((props, ref) => {
1353
- const {
1354
- // Multi select scoped props
1355
- size,
1356
- selectedIndicator,
1357
- values,
1358
- onValuesChange,
1359
- items,
1360
- // Content scoped props
1361
- filterValue,
1362
- onFilterValueChange,
1363
- placeholder,
1364
- leftFilterSlot,
1365
- rightFilterSlot,
1366
- topSlot,
1367
- bottomSlot,
1368
- ...rest
1369
- } = props;
1370
- return /* @__PURE__ */ jsxRuntime.jsx(
1371
- Root$3,
1372
- {
1373
- ref,
1374
- size,
1375
- content: /* @__PURE__ */ jsxRuntime.jsx(
1376
- Content$1,
1377
- {
1378
- filterValue,
1379
- onFilterValueChange,
1380
- placeholder,
1381
- leftFilterSlot,
1382
- rightFilterSlot,
1383
- numberOfItems: items.length,
1384
- topSlot,
1385
- bottomSlot,
1386
- children: /* @__PURE__ */ jsxRuntime.jsx(MultiSelectGroup$1, { size, values, onValuesChange, children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
1387
- MultiSelectItem$2,
1388
- {
1389
- ...item,
1390
- selectedIndicator
1391
- },
1392
- `${item.value}-${index}`
1393
- )) })
1394
- }
1395
- ),
1396
- ...rest
1397
- }
1398
- );
1399
- })
1400
- );
1401
- const DialogMenu = {
1402
- Root: Root$3,
1403
- Item: Item$2,
1404
- SelectItem: SelectItem$1,
1405
- MultiSelectItem: MultiSelectItem$2,
1406
- Separator: Separator$1,
1407
- Content: Content$1,
1408
- Group: Group$2,
1409
- SelectGroup: SelectGroup$1,
1410
- MultiSelectGroup: MultiSelectGroup$1,
1411
- SubTrigger: SubTrigger$1,
1412
- SubContent: SubContent$1
1413
- };
1414
- const CollapsibleTreeContext = React.createContext(
1415
- {}
1416
- );
1417
- function useCollapsibleTreeContext() {
1418
- return React.useContext(CollapsibleTreeContext);
1419
- }
1420
882
  const CollapsibleNode = genericMemo(function(props) {
1421
883
  const { meta, nodes, level = 0, disabled: disabled2 } = props;
1422
884
  const [controlledOpenState, setControlledOpenState] = React.useState(false);
@@ -1524,7 +986,7 @@
1524
986
  onNodeClose,
1525
987
  onNodeOpen
1526
988
  },
1527
- children: /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroup, { width: "100%", height: "max-content", size, ...rest, gapY: nodeGap, children: nodes.map((treeNodeProps, index) => /* @__PURE__ */ jsxRuntime.jsx(CollapsibleNode, { ...treeNodeProps }, `${0},${index}`)) })
989
+ children: /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroup, { size, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { width: "100%", height: "max-content", direction: "column", gap: nodeGap, ...rest, children: nodes.map((treeNodeProps, index) => /* @__PURE__ */ jsxRuntime.jsx(CollapsibleNode, { ...treeNodeProps }, `${0},${index}`)) }) })
1528
990
  }
1529
991
  );
1530
992
  });
@@ -1557,7 +1019,7 @@
1557
1019
  });
1558
1020
  });
1559
1021
  const fluid = "_fluid_7n1wr_1";
1560
- const styles$j = {
1022
+ const styles$l = {
1561
1023
  fluid
1562
1024
  };
1563
1025
  const _Select = React.forwardRef(function Select2({
@@ -1581,7 +1043,7 @@
1581
1043
  themes.Select.Trigger,
1582
1044
  {
1583
1045
  className: classNames(className, {
1584
- [styles$j.fluid]: fluid2
1046
+ [styles$l.fluid]: fluid2
1585
1047
  }),
1586
1048
  id,
1587
1049
  ref,
@@ -1593,7 +1055,7 @@
1593
1055
  themes.Select.Content,
1594
1056
  {
1595
1057
  side,
1596
- className: styles$j.contentDefault,
1058
+ className: styles$l.contentDefault,
1597
1059
  position: "popper",
1598
1060
  variant: variant !== "surface" ? "soft" : "solid",
1599
1061
  color: itemSeverityColor,
@@ -1706,7 +1168,7 @@
1706
1168
  );
1707
1169
  })
1708
1170
  );
1709
- const styles$i = {
1171
+ const styles$k = {
1710
1172
  "default": "_default_u936h_1"
1711
1173
  };
1712
1174
  const _Switch = React.forwardRef(function Switch2({ className, severity = "primary", icon, defaultChecked = false, onCheckedChange, ...rest }, ref) {
@@ -1734,7 +1196,7 @@
1734
1196
  /* @__PURE__ */ jsxRuntime.jsx(
1735
1197
  themes.Switch,
1736
1198
  {
1737
- className: classNames("overmap-switch", className, styles$i.default),
1199
+ className: classNames("overmap-switch", className, styles$k.default),
1738
1200
  ref: ref ? ref : fallbackRef,
1739
1201
  color: severityColor,
1740
1202
  radius: "full",
@@ -1752,7 +1214,7 @@
1752
1214
  const resizeHandle$1 = "_resizeHandle_1onyo_10";
1753
1215
  const left$1 = "_left_1onyo_13";
1754
1216
  const overlay = "_overlay_1onyo_33";
1755
- const styles$h = {
1217
+ const styles$j = {
1756
1218
  sidebarContent,
1757
1219
  right: right$1,
1758
1220
  resizeHandle: resizeHandle$1,
@@ -1785,13 +1247,13 @@
1785
1247
  setContainer(tempContainer);
1786
1248
  }, [containerSelector]);
1787
1249
  return /* @__PURE__ */ jsxRuntime.jsx(RadixDialogPrimitive__namespace.Root, { open, modal, children: /* @__PURE__ */ jsxRuntime.jsxs(RadixDialogPrimitive__namespace.Portal, { container, children: [
1788
- overlay2 && /* @__PURE__ */ jsxRuntime.jsx(RadixDialogPrimitive__namespace.Overlay, { className: classNames(styles$h.overlay) }),
1250
+ overlay2 && /* @__PURE__ */ jsxRuntime.jsx(RadixDialogPrimitive__namespace.Overlay, { className: classNames(styles$j.overlay) }),
1789
1251
  /* @__PURE__ */ jsxRuntime.jsx(
1790
1252
  RadixDialogPrimitive__namespace.Content,
1791
1253
  {
1792
- className: classNames("overmap-sidebar", "rt-DialogContent", styles$h.sidebarContent, {
1793
- [styles$h.left]: isLeft,
1794
- [styles$h.right]: isRight
1254
+ className: classNames("overmap-sidebar", "rt-DialogContent", styles$j.sidebarContent, {
1255
+ [styles$j.left]: isLeft,
1256
+ [styles$j.right]: isRight
1795
1257
  }),
1796
1258
  ref,
1797
1259
  asChild: true,
@@ -1803,7 +1265,7 @@
1803
1265
  maxWidth,
1804
1266
  defaultSize: defaultSidebarSize,
1805
1267
  enable: { right: resizable2 && isLeft, left: resizable2 && isRight },
1806
- handleClasses: { left: styles$h.resizeHandle, right: styles$h.resizeHandle },
1268
+ handleClasses: { left: styles$j.resizeHandle, right: styles$j.resizeHandle },
1807
1269
  handleComponent: {
1808
1270
  right: /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiDraggable" }),
1809
1271
  left: /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiDraggable" })
@@ -1946,7 +1408,7 @@
1946
1408
  const ExitActiveLeft$1 = "_ExitActiveLeft_1jwyv_46";
1947
1409
  const ExitDoneLeft$1 = "_ExitDoneLeft_1jwyv_51";
1948
1410
  const Overlay$1 = "_Overlay_1jwyv_56";
1949
- const styles$g = {
1411
+ const styles$i = {
1950
1412
  EnterRight: EnterRight$1,
1951
1413
  EnterActiveRight: EnterActiveRight$1,
1952
1414
  EnterDoneRight: EnterDoneRight$1,
@@ -2022,12 +1484,12 @@
2022
1484
  const { onPointerDownCapture: handlePointerDownCapture } = usePointerDownOutside(handleDismiss, parentContainer);
2023
1485
  const CSSTransitionClassNames = React.useMemo(
2024
1486
  () => ({
2025
- enter: isLeft ? styles$g.EnterLeft : styles$g.EnterRight,
2026
- enterActive: isLeft ? styles$g.EnterActiveLeft : styles$g.EnterActiveRight,
2027
- enterDone: isLeft ? styles$g.EnterDoneLeft : styles$g.EnterDoneRight,
2028
- exit: isLeft ? styles$g.ExitLeft : styles$g.ExitRight,
2029
- exitActive: isLeft ? styles$g.ExitActiveLeft : styles$g.ExitActiveRight,
2030
- exitDone: isLeft ? styles$g.ExitDoneLeft : styles$g.ExitDoneRight
1487
+ enter: isLeft ? styles$i.EnterLeft : styles$i.EnterRight,
1488
+ enterActive: isLeft ? styles$i.EnterActiveLeft : styles$i.EnterActiveRight,
1489
+ enterDone: isLeft ? styles$i.EnterDoneLeft : styles$i.EnterDoneRight,
1490
+ exit: isLeft ? styles$i.ExitLeft : styles$i.ExitRight,
1491
+ exitActive: isLeft ? styles$i.ExitActiveLeft : styles$i.ExitActiveRight,
1492
+ exitDone: isLeft ? styles$i.ExitDoneLeft : styles$i.ExitDoneRight
2031
1493
  }),
2032
1494
  [isLeft]
2033
1495
  );
@@ -2258,7 +1720,7 @@
2258
1720
  const ExitActiveLeft = "_ExitActiveLeft_1jwyv_46";
2259
1721
  const ExitDoneLeft = "_ExitDoneLeft_1jwyv_51";
2260
1722
  const Overlay = "_Overlay_1jwyv_56";
2261
- const styles$f = {
1723
+ const styles$h = {
2262
1724
  EnterRight,
2263
1725
  EnterActiveRight,
2264
1726
  EnterDoneRight,
@@ -2313,12 +1775,12 @@
2313
1775
  }, [initialWidth]);
2314
1776
  const CSSTransitionClassNames = React.useMemo(
2315
1777
  () => ({
2316
- enter: isLeft ? styles$f.EnterLeft : styles$f.EnterRight,
2317
- enterActive: isLeft ? styles$f.EnterActiveLeft : styles$f.EnterActiveRight,
2318
- enterDone: isLeft ? styles$f.EnterDoneLeft : styles$f.EnterDoneRight,
2319
- exit: isLeft ? styles$f.ExitLeft : styles$f.ExitRight,
2320
- exitActive: isLeft ? styles$f.ExitActiveLeft : styles$f.ExitActiveRight,
2321
- exitDone: isLeft ? styles$f.ExitDoneLeft : styles$f.ExitDoneRight
1778
+ enter: isLeft ? styles$h.EnterLeft : styles$h.EnterRight,
1779
+ enterActive: isLeft ? styles$h.EnterActiveLeft : styles$h.EnterActiveRight,
1780
+ enterDone: isLeft ? styles$h.EnterDoneLeft : styles$h.EnterDoneRight,
1781
+ exit: isLeft ? styles$h.ExitLeft : styles$h.ExitRight,
1782
+ exitActive: isLeft ? styles$h.ExitActiveLeft : styles$h.ExitActiveRight,
1783
+ exitDone: isLeft ? styles$h.ExitDoneLeft : styles$h.ExitDoneRight
2322
1784
  }),
2323
1785
  [isLeft]
2324
1786
  );
@@ -2401,7 +1863,7 @@
2401
1863
  const noRightIcon = "_noRightIcon_1octa_18";
2402
1864
  const ghost$1 = "_ghost_1octa_22";
2403
1865
  const charCount$1 = "_charCount_1octa_40";
2404
- const styles$e = {
1866
+ const styles$g = {
2405
1867
  accommodateCharCount,
2406
1868
  wrapper: wrapper$2,
2407
1869
  "default": "_default_1octa_10",
@@ -2428,9 +1890,9 @@
2428
1890
  return /* @__PURE__ */ jsxRuntime.jsxs(
2429
1891
  themes.TextField.Root,
2430
1892
  {
2431
- className: classNames(styles$e.wrapper, className, {
2432
- [styles$e.ghost]: variant === "ghost",
2433
- [styles$e.accommodateCharCount]: displayInputLength
1893
+ className: classNames(styles$g.wrapper, className, {
1894
+ [styles$g.ghost]: variant === "ghost",
1895
+ [styles$g.accommodateCharCount]: displayInputLength
2434
1896
  }),
2435
1897
  size: computedSize,
2436
1898
  variant: variant !== "ghost" ? variant : void 0,
@@ -2440,9 +1902,9 @@
2440
1902
  /* @__PURE__ */ jsxRuntime.jsx(
2441
1903
  themes.TextField.Input,
2442
1904
  {
2443
- className: classNames(styles$e.default, {
2444
- [styles$e.noLeftIcon]: !leftSlot,
2445
- [styles$e.noRightIcon]: !rightSlot
1905
+ className: classNames(styles$g.default, {
1906
+ [styles$g.noLeftIcon]: !leftSlot,
1907
+ [styles$g.noRightIcon]: !rightSlot
2446
1908
  }),
2447
1909
  ref,
2448
1910
  value,
@@ -2453,7 +1915,7 @@
2453
1915
  }
2454
1916
  ),
2455
1917
  rightSlot && /* @__PURE__ */ jsxRuntime.jsx(themes.TextField.Slot, { children: rightSlot }),
2456
- displayInputLength && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { as: "p", className: styles$e.charCount, size: "1", color: "gray", children: rest.maxLength !== void 0 ? `${valueAsString == null ? void 0 : valueAsString.length}/${rest.maxLength}` : `${valueAsString == null ? void 0 : valueAsString.length}` })
1918
+ displayInputLength && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { as: "p", className: styles$g.charCount, size: "1", color: "gray", children: rest.maxLength !== void 0 ? `${valueAsString == null ? void 0 : valueAsString.length}/${rest.maxLength}` : `${valueAsString == null ? void 0 : valueAsString.length}` })
2457
1919
  ]
2458
1920
  }
2459
1921
  );
@@ -2463,7 +1925,7 @@
2463
1925
  const Row = "_Row_tj494_4";
2464
1926
  const Column = "_Column_tj494_7";
2465
1927
  const ItemStackItem = "_ItemStackItem_tj494_11";
2466
- const styles$d = {
1928
+ const styles$f = {
2467
1929
  ItemStack: ItemStack$1,
2468
1930
  Row,
2469
1931
  Column,
@@ -2472,7 +1934,7 @@
2472
1934
  const Item$1 = React.memo(
2473
1935
  React.forwardRef((props, ref) => {
2474
1936
  const { children } = props;
2475
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: styles$d.ItemStackItem, "data-item-stack": "", children });
1937
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: styles$f.ItemStackItem, "data-item-stack": "", children });
2476
1938
  })
2477
1939
  );
2478
1940
  const Group$1 = React.memo(
@@ -2482,9 +1944,9 @@
2482
1944
  return /* @__PURE__ */ jsxRuntime.jsx(
2483
1945
  themes.Flex,
2484
1946
  {
2485
- className: classNames(styles$d.ItemStack, {
2486
- [styles$d.Row]: direction === "row",
2487
- [styles$d.Column]: direction === "column"
1947
+ className: classNames(styles$f.ItemStack, {
1948
+ [styles$f.Row]: direction === "row",
1949
+ [styles$f.Column]: direction === "column"
2488
1950
  }),
2489
1951
  ref,
2490
1952
  direction,
@@ -2519,7 +1981,7 @@
2519
1981
  return React.cloneElement(children, { ...childProps });
2520
1982
  });
2521
1983
  const wrapper$1 = "_wrapper_tmtz0_1";
2522
- const styles$c = {
1984
+ const styles$e = {
2523
1985
  wrapper: wrapper$1
2524
1986
  };
2525
1987
  const _Popover = React.forwardRef(function Popover2({ className, trigger, open, onOpenChange, defaultOpen = false, modal = false, children, ...rest }, ref) {
@@ -2529,7 +1991,7 @@
2529
1991
  themes.Popover.Content,
2530
1992
  {
2531
1993
  ref,
2532
- className: classNames("overmap-popover", className, styles$c.wrapper),
1994
+ className: classNames("overmap-popover", className, styles$e.wrapper),
2533
1995
  ...rest,
2534
1996
  children: children(themes.Popover.Close)
2535
1997
  }
@@ -2544,7 +2006,7 @@
2544
2006
  const resizable = "_resizable_1ssf2_23";
2545
2007
  const resizeHandle = "_resizeHandle_1ssf2_28";
2546
2008
  const panelMainContent = "_panelMainContent_1ssf2_48";
2547
- const styles$b = {
2009
+ const styles$d = {
2548
2010
  wrapper,
2549
2011
  panelContent,
2550
2012
  left,
@@ -2730,7 +2192,7 @@
2730
2192
  return /* @__PURE__ */ jsxRuntime.jsxs(
2731
2193
  themes.Flex,
2732
2194
  {
2733
- className: styles$b.wrapper,
2195
+ className: styles$d.wrapper,
2734
2196
  style: { minWidth: `${leftMinWidth + rightMinWidth}px` },
2735
2197
  ref: wrapperRef,
2736
2198
  width: "100%",
@@ -2752,7 +2214,7 @@
2752
2214
  themes.Box,
2753
2215
  {
2754
2216
  ref: leftPanelRef,
2755
- className: classNames(styles$b.panelContent, styles$b.left),
2217
+ className: classNames(styles$d.panelContent, styles$d.left),
2756
2218
  style: leftPanelTransitionStyles[state],
2757
2219
  width: "auto",
2758
2220
  height: "100%",
@@ -2761,7 +2223,7 @@
2761
2223
  children: /* @__PURE__ */ jsxRuntime.jsx(
2762
2224
  reResizable.Resizable,
2763
2225
  {
2764
- className: styles$b.resizable,
2226
+ className: styles$d.resizable,
2765
2227
  size: {
2766
2228
  width: leftPanelWidth,
2767
2229
  height: "100%"
@@ -2770,7 +2232,7 @@
2770
2232
  enable: { right: (resizeable == null ? void 0 : resizeable.left) !== void 0 ? resizeable.left : true },
2771
2233
  minWidth: leftMinWidth,
2772
2234
  maxWidth: leftPanelMaxWidth,
2773
- handleClasses: { right: classNames(styles$b.resizeHandle, styles$b.left) },
2235
+ handleClasses: { right: classNames(styles$d.resizeHandle, styles$d.left) },
2774
2236
  handleComponent: {
2775
2237
  right: /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiDraggable", height: "14px", width: "14px" })
2776
2238
  },
@@ -2781,7 +2243,7 @@
2781
2243
  )
2782
2244
  }
2783
2245
  ),
2784
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$b.panelMainContent, children }),
2246
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$d.panelMainContent, children }),
2785
2247
  /* @__PURE__ */ jsxRuntime.jsx(
2786
2248
  reactTransitionGroup.Transition,
2787
2249
  {
@@ -2795,7 +2257,7 @@
2795
2257
  themes.Box,
2796
2258
  {
2797
2259
  ref: rightPanelRef,
2798
- className: classNames(styles$b.panelContent, styles$b.right),
2260
+ className: classNames(styles$d.panelContent, styles$d.right),
2799
2261
  style: rightPanelTransitionStyles[state],
2800
2262
  width: "auto",
2801
2263
  height: "100%",
@@ -2804,13 +2266,13 @@
2804
2266
  children: /* @__PURE__ */ jsxRuntime.jsx(
2805
2267
  reResizable.Resizable,
2806
2268
  {
2807
- className: styles$b.resizable,
2269
+ className: styles$d.resizable,
2808
2270
  size: { width: rightPanelWidth, height: "100%" },
2809
2271
  onResizeStop: handleResizeRightPanel,
2810
2272
  enable: { left: (resizeable == null ? void 0 : resizeable.right) !== void 0 ? resizeable.right : true },
2811
2273
  minWidth: rightMinWidth,
2812
2274
  maxWidth: rightPanelMaxWidth,
2813
- handleClasses: { left: classNames(styles$b.resizeHandle, styles$b.right) },
2275
+ handleClasses: { left: classNames(styles$d.resizeHandle, styles$d.right) },
2814
2276
  handleComponent: { left: /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiDraggable", height: "14px", width: "14px" }) },
2815
2277
  children: rightPanel
2816
2278
  }
@@ -2828,7 +2290,7 @@
2828
2290
  const buttonContainer = "_buttonContainer_16xvh_16";
2829
2291
  const optionsButtonContainer = "_optionsButtonContainer_16xvh_21";
2830
2292
  const optionsButton = "_optionsButton_16xvh_21";
2831
- const styles$a = {
2293
+ const styles$c = {
2832
2294
  multiPagePopover,
2833
2295
  pageTitle,
2834
2296
  buttonContainer,
@@ -2842,7 +2304,7 @@
2842
2304
  const optionButtons = popoverOption.options.map((option, i) => /* @__PURE__ */ jsxRuntime.jsx(
2843
2305
  Button2,
2844
2306
  {
2845
- className: classNames(styles$a.optionsButton, option.buttonClassName),
2307
+ className: classNames(styles$c.optionsButton, option.buttonClassName),
2846
2308
  variant: "ghost",
2847
2309
  radius: "large",
2848
2310
  style: {
@@ -2858,12 +2320,12 @@
2858
2320
  `${option.value}-page-${page}-button-${i}`
2859
2321
  ));
2860
2322
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2861
- popoverOption.title && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { className: styles$a.pageTitle, size: "3", children: popoverOption.title }),
2323
+ popoverOption.title && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { className: styles$c.pageTitle, size: "3", children: popoverOption.title }),
2862
2324
  popoverOption.content,
2863
2325
  /* @__PURE__ */ jsxRuntime.jsx(
2864
2326
  "div",
2865
2327
  {
2866
- className: classNames(styles$a.optionsButtonContainer, popoverOption.buttonsContainerClassName),
2328
+ className: classNames(styles$c.optionsButtonContainer, popoverOption.buttonsContainerClassName),
2867
2329
  style: {
2868
2330
  flexDirection: direction === "vertical" ? "column" : "row"
2869
2331
  },
@@ -2881,7 +2343,7 @@
2881
2343
  return /* @__PURE__ */ jsxRuntime.jsx(
2882
2344
  Popover,
2883
2345
  {
2884
- className: classNames(styles$a.multiPagePopover, className),
2346
+ className: classNames(styles$c.multiPagePopover, className),
2885
2347
  ref,
2886
2348
  onOpenAutoFocus: resetPopoverContent,
2887
2349
  onCloseAutoFocus: resetPopoverContent,
@@ -2893,7 +2355,7 @@
2893
2355
  const MultiPagePopover = React.memo(_MultiPagePopover);
2894
2356
  const charCount = "_charCount_1lz28_1";
2895
2357
  const ghost = "_ghost_1lz28_5";
2896
- const styles$9 = {
2358
+ const styles$b = {
2897
2359
  charCount,
2898
2360
  ghost
2899
2361
  };
@@ -2929,7 +2391,7 @@
2929
2391
  themes.TextArea,
2930
2392
  {
2931
2393
  className: classNames("overmap-textarea", className, {
2932
- [styles$9.ghost]: variant === "ghost"
2394
+ [styles$b.ghost]: variant === "ghost"
2933
2395
  }),
2934
2396
  style: { resize },
2935
2397
  variant: variant !== "ghost" ? variant : void 0,
@@ -2939,7 +2401,7 @@
2939
2401
  ...rest
2940
2402
  }
2941
2403
  ),
2942
- displayInputLength && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { as: "p", className: styles$9.charCount, color: infoColor, align: "right", children: displayInputLengthValue })
2404
+ displayInputLength && /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { as: "p", className: styles$b.charCount, color: infoColor, align: "right", children: displayInputLengthValue })
2943
2405
  ] });
2944
2406
  });
2945
2407
  const TextArea = React.memo(_TextArea);
@@ -2985,7 +2447,7 @@
2985
2447
  );
2986
2448
  });
2987
2449
  const ToggleGroup = React.memo(_ToggleGroup);
2988
- const styles$8 = {
2450
+ const styles$a = {
2989
2451
  "default": "_default_xqvoc_1"
2990
2452
  };
2991
2453
  const Root$1 = React.memo(
@@ -2993,7 +2455,7 @@
2993
2455
  return /* @__PURE__ */ jsxRuntime.jsx(
2994
2456
  reactToolbar.Root,
2995
2457
  {
2996
- className: classNames(className, "overmap-toolbar", styles$8.default),
2458
+ className: classNames(className, "overmap-toolbar", styles$a.default),
2997
2459
  ref,
2998
2460
  asChild: true,
2999
2461
  ...rest,
@@ -3034,7 +2496,7 @@
3034
2496
  const ToastRoot = "_ToastRoot_1i6bp_24";
3035
2497
  const slideIn = "_slideIn_1i6bp_1";
3036
2498
  const swipeOut = "_swipeOut_1i6bp_1";
3037
- const styles$7 = {
2499
+ const styles$9 = {
3038
2500
  ToastViewport,
3039
2501
  actionButton,
3040
2502
  ToastRoot,
@@ -3052,7 +2514,7 @@
3052
2514
  },
3053
2515
  [onClose]
3054
2516
  );
3055
- return /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Root, { asChild: true, ref, ...rest, open, type: sensitivity, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Callout.Root, { className: styles$7.ToastRoot, variant: "surface", color, size, children: /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { width: "100%", align: "center", gap: "4", justify: "between", children: [
2517
+ return /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Root, { asChild: true, ref, ...rest, open, type: sensitivity, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Callout.Root, { className: styles$9.ToastRoot, variant: "surface", color, size, children: /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { width: "100%", align: "center", gap: "4", justify: "between", children: [
3056
2518
  /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { align: "center", gap: "3", children: [
3057
2519
  /* @__PURE__ */ jsxRuntime.jsx(themes.Callout.Icon, { children: icon }),
3058
2520
  /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { direction: "column", gap: "2", children: [
@@ -3060,7 +2522,7 @@
3060
2522
  /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Title, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Callout.Text, { size: "3", weight: "medium", children: title }) }),
3061
2523
  /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(themes.Callout.Text, { children: description }) })
3062
2524
  ] }),
3063
- action && /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Action, { className: styles$7.actionButton, altText: action.altText, asChild: true, children: action.content })
2525
+ action && /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Action, { className: styles$9.actionButton, altText: action.altText, asChild: true, children: action.content })
3064
2526
  ] })
3065
2527
  ] }),
3066
2528
  /* @__PURE__ */ jsxRuntime.jsx(RadixToast__namespace.Close, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(IconButton, { "aria-label": "Close", variant: "ghost", severity, children: /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiCloseLine" }) }) })
@@ -3136,11 +2598,11 @@
3136
2598
  }, []);
3137
2599
  return /* @__PURE__ */ jsxRuntime.jsx(ToastContext.Provider, { value: toastContextValue, children: /* @__PURE__ */ jsxRuntime.jsxs(RadixToast.ToastProvider, { ...rest, children: [
3138
2600
  children,
3139
- /* @__PURE__ */ jsxRuntime.jsx(RadixToast.ToastViewport, { className: classNames(className, styles$7.ToastViewport), hotkey }),
2601
+ /* @__PURE__ */ jsxRuntime.jsx(RadixToast.ToastViewport, { className: classNames(className, styles$9.ToastViewport), hotkey }),
3140
2602
  toasts.map(({ id, onClose, ...toastProps }) => /* @__PURE__ */ jsxRuntime.jsx(Toast, { ...toastProps, onClose: () => handleCloseToast(id, 0, onClose) }, id))
3141
2603
  ] }) });
3142
2604
  });
3143
- const styles$6 = {
2605
+ const styles$8 = {
3144
2606
  "default": "_default_1odpt_1"
3145
2607
  };
3146
2608
  const Tooltip = React.memo(
@@ -3148,7 +2610,7 @@
3148
2610
  return /* @__PURE__ */ jsxRuntime.jsx(
3149
2611
  themes.Tooltip,
3150
2612
  {
3151
- className: classNames("overmap-tooltip", className, styles$6.default),
2613
+ className: classNames("overmap-tooltip", className, styles$8.default),
3152
2614
  ref,
3153
2615
  content: /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { align: "center", gap: "1", width: "max-content", height: "max-content", justify: "center", children: content }),
3154
2616
  ...rest,
@@ -3158,7 +2620,7 @@
3158
2620
  })
3159
2621
  );
3160
2622
  const ToggleButton$1 = "_ToggleButton_13aus_1";
3161
- const styles$5 = {
2623
+ const styles$7 = {
3162
2624
  ToggleButton: ToggleButton$1
3163
2625
  };
3164
2626
  const ToggleButton = React.memo(
@@ -3167,7 +2629,7 @@
3167
2629
  return /* @__PURE__ */ jsxRuntime.jsx(Toggle__namespace.Root, { ref, asChild: true, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
3168
2630
  IconButton,
3169
2631
  {
3170
- className: classNames(className, styles$5.ToggleButton),
2632
+ className: classNames(className, styles$7.ToggleButton),
3171
2633
  "aria-label": props["aria-label"],
3172
2634
  severity,
3173
2635
  fluid: fluid2,
@@ -3181,10 +2643,10 @@
3181
2643
  })
3182
2644
  );
3183
2645
  const noWrap = "_noWrap_1wpa5_1";
3184
- const styles$4 = {
2646
+ const styles$6 = {
3185
2647
  noWrap
3186
2648
  };
3187
- const Text = React.memo(
2649
+ const Text$1 = React.memo(
3188
2650
  React.forwardRef(({ className, noWrap: noWrap2, severity, as, ...props }, ref) => {
3189
2651
  const color = useSeverityColor(severity);
3190
2652
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3192,7 +2654,7 @@
3192
2654
  {
3193
2655
  ref,
3194
2656
  as,
3195
- className: classNames(className, { [styles$4.noWrap]: noWrap2 }),
2657
+ className: classNames(className, { [styles$6.noWrap]: noWrap2 }),
3196
2658
  color,
3197
2659
  ...props
3198
2660
  }
@@ -3206,6 +2668,60 @@
3206
2668
  return /* @__PURE__ */ jsxRuntime.jsx(themes.Theme, { panelBackground, radius: radius2, ref, ...rest });
3207
2669
  })
3208
2670
  );
2671
+ const light = "_light_1u8fs_1";
2672
+ const bold = "_bold_1u8fs_8";
2673
+ const full = "_full_1u8fs_15";
2674
+ const Text = "_Text_1u8fs_22";
2675
+ const styles$5 = {
2676
+ light,
2677
+ bold,
2678
+ full,
2679
+ Text
2680
+ };
2681
+ const SeparatorSizeMapping = {
2682
+ "1": "max-content",
2683
+ "2": "max-content",
2684
+ "3": "max-content",
2685
+ "4": "100%"
2686
+ };
2687
+ const _Separator = React.forwardRef(function Separator2({
2688
+ className,
2689
+ severity = "info",
2690
+ textWeight = "light",
2691
+ gap = "1",
2692
+ text,
2693
+ orientation = "horizontal",
2694
+ size,
2695
+ weight = "medium",
2696
+ ...rest
2697
+ }, ref) {
2698
+ const computedSizing = useResponsiveMapping(size, SeparatorSizeMapping);
2699
+ const severityColor = useSeverityColor(severity);
2700
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2701
+ themes.Flex,
2702
+ {
2703
+ className: classNames("overmap-separator", className, {
2704
+ [styles$5.light]: weight === "light",
2705
+ [styles$5.bold]: weight === "bold",
2706
+ [styles$5.full]: weight === "full"
2707
+ }),
2708
+ ref,
2709
+ width: orientation === "horizontal" ? computedSizing : "max-content",
2710
+ height: orientation === "vertical" ? computedSizing : "max-content",
2711
+ direction: orientation === "vertical" ? "column" : "row",
2712
+ align: "center",
2713
+ gap,
2714
+ children: [
2715
+ /* @__PURE__ */ jsxRuntime.jsx(themes.Separator, { size, orientation, color: severityColor, ...rest }),
2716
+ text && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2717
+ /* @__PURE__ */ jsxRuntime.jsx(themes.Text, { className: styles$5.Text, as: "span", size: "1", weight: textWeight, color: severityColor, children: text }),
2718
+ /* @__PURE__ */ jsxRuntime.jsx(themes.Separator, { size, orientation, color: severityColor, ...rest })
2719
+ ] })
2720
+ ]
2721
+ }
2722
+ );
2723
+ });
2724
+ const Separator$1 = React.memo(_Separator);
3209
2725
  const centerStyles = { placeSelf: "center" };
3210
2726
  const ErrorFallback = React.memo((props) => {
3211
2727
  const { absoluteCentering } = props;
@@ -3215,7 +2731,7 @@
3215
2731
  return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: "2", direction: "row", width: "100%", style: outerFlexStyles, children: [
3216
2732
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: { flexGrow: 1 } }),
3217
2733
  /* @__PURE__ */ jsxRuntime.jsx(RiIcon, { icon: "RiAlertLine", size: height, style: centerStyles }),
3218
- /* @__PURE__ */ jsxRuntime.jsx(Text, { style: { lineHeight: height, ...centerStyles }, children: "Something went wrong" }),
2734
+ /* @__PURE__ */ jsxRuntime.jsx(Text$1, { style: { lineHeight: height, ...centerStyles }, children: "Something went wrong" }),
3219
2735
  /* @__PURE__ */ jsxRuntime.jsx(
3220
2736
  IconButton,
3221
2737
  {
@@ -3239,6 +2755,28 @@
3239
2755
  return /* @__PURE__ */ jsxRuntime.jsx(reactErrorBoundary.ErrorBoundary, { fallback: /* @__PURE__ */ jsxRuntime.jsx(ErrorFallback, { absoluteCentering }), onError: logError, children: props.children });
3240
2756
  });
3241
2757
  OvermapErrorBoundary.displayName = "OvermapErrorBoundary";
2758
+ const OvermapInputItem$1 = "_OvermapInputItem_1jgzv_1";
2759
+ const styles$4 = {
2760
+ OvermapInputItem: OvermapInputItem$1
2761
+ };
2762
+ const OvermapInputItem = React.memo(
2763
+ React.forwardRef((props, ref) => {
2764
+ const { size, className, style, leftSlot, rightSlot, ...rest } = props;
2765
+ return /* @__PURE__ */ jsxRuntime.jsx(
2766
+ OvermapItem,
2767
+ {
2768
+ className,
2769
+ style,
2770
+ size,
2771
+ leftSlot,
2772
+ rightSlot,
2773
+ compact: false,
2774
+ children: /* @__PURE__ */ jsxRuntime.jsx("input", { className: styles$4.OvermapInputItem, ref, ...rest })
2775
+ }
2776
+ );
2777
+ })
2778
+ );
2779
+ OvermapInputItem.displayName = "OvermapInputItem";
3242
2780
  const MenuContext = React.createContext({});
3243
2781
  const useMenuContext = () => React.useContext(MenuContext);
3244
2782
  const MENU_OVERFLOW_PADDING = 20;
@@ -3336,7 +2874,7 @@
3336
2874
  modal,
3337
2875
  setTriggerType
3338
2876
  },
3339
- children
2877
+ children: /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroup, { size, children })
3340
2878
  }
3341
2879
  ) });
3342
2880
  });
@@ -3850,9 +3388,52 @@
3850
3388
  const Group = React.memo(
3851
3389
  React.forwardRef((props, ref) => {
3852
3390
  const { children } = props;
3853
- return /* @__PURE__ */ jsxRuntime.jsx(OvermapItemGroup, { ref, role: "group", children });
3391
+ return /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { ref, role: "group", width: "100%", height: "max-content", children });
3854
3392
  })
3855
3393
  );
3394
+ const SelectContext = React.createContext({});
3395
+ function useSelectContext() {
3396
+ return React.useContext(SelectContext);
3397
+ }
3398
+ const SelectContextProvider = React.memo((props) => {
3399
+ const { type, children } = props;
3400
+ const [controlledValue, setControlledValue] = React.useState(
3401
+ type === "single" ? (props == null ? void 0 : props.defaultValue) ?? null : null
3402
+ );
3403
+ const [controlledValues, setControlledValues] = React.useState(
3404
+ type === "multi" ? (props == null ? void 0 : props.defaultValues) ?? [] : []
3405
+ );
3406
+ const onValuesChange = React.useCallback(
3407
+ (values) => {
3408
+ setControlledValues(values);
3409
+ if (type === "multi" && (props == null ? void 0 : props.onValuesChange))
3410
+ props.onValuesChange(values);
3411
+ },
3412
+ [props, type]
3413
+ );
3414
+ const onValueChange = React.useCallback(
3415
+ (value2) => {
3416
+ setControlledValue(value2);
3417
+ if (type === "single" && (props == null ? void 0 : props.onValueChange))
3418
+ props.onValueChange(value2);
3419
+ },
3420
+ [props, type]
3421
+ );
3422
+ const value = React.useMemo(
3423
+ () => type === "multi" ? {
3424
+ type,
3425
+ values: (props == null ? void 0 : props.values) ?? controlledValues,
3426
+ handleValuesChange: onValuesChange
3427
+ } : {
3428
+ type,
3429
+ value: props.value ?? controlledValue,
3430
+ handleValueChange: onValueChange
3431
+ },
3432
+ [controlledValue, controlledValues, onValueChange, onValuesChange, props, type]
3433
+ );
3434
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectContext.Provider, { value, children });
3435
+ });
3436
+ SelectContextProvider.displayName = "SelectContextProvider";
3856
3437
  const SelectGroup = React.memo(
3857
3438
  React.forwardRef((props, ref) => {
3858
3439
  const { children, value, onValueChange } = props;
@@ -3990,7 +3571,7 @@
3990
3571
  [styles$3.paddingTop]: spacingAbove,
3991
3572
  [styles$3.paddingBottom]: spacingBelow
3992
3573
  }),
3993
- children: /* @__PURE__ */ jsxRuntime.jsx(Separator$2, { ref, size: "4", weight: "light", ...rest })
3574
+ children: /* @__PURE__ */ jsxRuntime.jsx(Separator$1, { ref, size: "4", weight: "light", ...rest })
3994
3575
  }
3995
3576
  );
3996
3577
  })
@@ -5090,8 +4671,8 @@
5090
4671
  }, [rowsPerPage, rows.length, numRowsPerPage, pagination, showPageNavigation]);
5091
4672
  return /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { className: classNames({ [styles$1.outerTableContainer]: showContainer }), direction: "column", height: "100%", children: [
5092
4673
  (!!title || !!description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$1.headerContainer, children: [
5093
- !!title && /* @__PURE__ */ jsxRuntime.jsx(Text, { weight: "bold", size: "5", children: title }),
5094
- !!description && /* @__PURE__ */ jsxRuntime.jsx(Text, { as: "div", children: description })
4674
+ !!title && /* @__PURE__ */ jsxRuntime.jsx(Text$1, { weight: "bold", size: "5", children: title }),
4675
+ !!description && /* @__PURE__ */ jsxRuntime.jsx(Text$1, { as: "div", children: description })
5095
4676
  ] }),
5096
4677
  showTopBar && /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { justify: "between", gap: "2", className: styles$1.tableTopContainer, children: [
5097
4678
  /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { gap: "2", children: [
@@ -5206,7 +4787,7 @@
5206
4787
  ) }),
5207
4788
  showBottomBar && /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { className: styles$1.tableBottomContainer, wrap: "wrap", direction: reactDeviceDetect.isMobile ? "column" : "row", children: [
5208
4789
  showRowsPerPage && /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { className: styles$1.rowsPerPageContainer, children: [
5209
- /* @__PURE__ */ jsxRuntime.jsx(Text, { className: styles$1.rowsPerPageText, size: "2", children: "Rows per page:" }),
4790
+ /* @__PURE__ */ jsxRuntime.jsx(Text$1, { className: styles$1.rowsPerPageText, size: "2", children: "Rows per page:" }),
5210
4791
  /* @__PURE__ */ jsxRuntime.jsx(
5211
4792
  Select,
5212
4793
  {
@@ -5221,7 +4802,7 @@
5221
4802
  }
5222
4803
  )
5223
4804
  ] }),
5224
- showPageNumber && /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { justify: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Text, { className: styles$1.pageText, size: "2", children: totalPages > 0 && `Page ${pagination.state.page + 1} of ${totalPages}` }) }),
4805
+ showPageNumber && /* @__PURE__ */ jsxRuntime.jsx(themes.Flex, { justify: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Text$1, { className: styles$1.pageText, size: "2", children: totalPages > 0 && `Page ${pagination.state.page + 1} of ${totalPages}` }) }),
5225
4806
  showPageNavigation && /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { className: styles$1.rowsPerPageContainer, gap: "2", justify: "end", children: [
5226
4807
  /* @__PURE__ */ jsxRuntime.jsx(
5227
4808
  IconButton,
@@ -5451,10 +5032,6 @@
5451
5032
  exports2.ConfirmEditInput = ConfirmEditInput;
5452
5033
  exports2.DefaultTheme = DefaultTheme;
5453
5034
  exports2.Dialog = Dialog$1;
5454
- exports2.DialogCommandMenu = DialogCommandMenu;
5455
- exports2.DialogMenu = DialogMenu;
5456
- exports2.DialogMultiSelectMenu = DialogMultiSelectMenu;
5457
- exports2.DialogSelectMenu = DialogSelectMenu;
5458
5035
  exports2.DownloadButtonUtility = DownloadButtonUtility;
5459
5036
  exports2.Flex = Flex;
5460
5037
  exports2.HoverUtility = HoverUtility;
@@ -5480,14 +5057,14 @@
5480
5057
  exports2.RiIcon = RiIcon;
5481
5058
  exports2.Select = Select;
5482
5059
  exports2.SelectAllCheckbox = SelectAllCheckbox;
5483
- exports2.Separator = Separator$2;
5060
+ exports2.Separator = Separator$1;
5484
5061
  exports2.Sidebar = Sidebar;
5485
5062
  exports2.SlideOutV2 = SlideOutV2;
5486
5063
  exports2.SlideOutV3 = SlideOutV3;
5487
5064
  exports2.Spinner = Spinner;
5488
5065
  exports2.Switch = Switch;
5489
5066
  exports2.Table = Table;
5490
- exports2.Text = Text;
5067
+ exports2.Text = Text$1;
5491
5068
  exports2.TextArea = TextArea;
5492
5069
  exports2.Toast = Toast;
5493
5070
  exports2.ToastContext = ToastContext;