laif-ds 0.2.23 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/_virtual/index2.js +5 -2
  2. package/dist/_virtual/index3.js +2 -5
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/_virtual/index7.js +2 -2
  5. package/dist/components/ui/alert-dialog.js +6 -6
  6. package/dist/components/ui/app-multiple-select-dropdown.js +34 -34
  7. package/dist/components/ui/app-select.js +127 -124
  8. package/dist/components/ui/badge.js +13 -12
  9. package/dist/components/ui/button.js +20 -18
  10. package/dist/components/ui/calendar.js +6 -6
  11. package/dist/components/ui/checkbox.js +9 -9
  12. package/dist/components/ui/confirmer.js +45 -19
  13. package/dist/components/ui/context-menu.js +4 -4
  14. package/dist/components/ui/date-picker.js +45 -36
  15. package/dist/components/ui/input-otp.js +16 -16
  16. package/dist/components/ui/input-selector.js +19 -19
  17. package/dist/components/ui/input.js +19 -19
  18. package/dist/components/ui/menubar.js +1 -1
  19. package/dist/components/ui/pagination.js +90 -77
  20. package/dist/components/ui/radio-group.js +14 -14
  21. package/dist/components/ui/select.js +27 -27
  22. package/dist/components/ui/switch.js +8 -6
  23. package/dist/components/ui/table.js +16 -16
  24. package/dist/components/ui/tables/data-cross-table/data-cross-table.js +6 -6
  25. package/dist/components/ui/tables/data-table/components/data-table-actions.js +51 -0
  26. package/dist/components/ui/tables/data-table/components/data-table-advanced-filter.js +470 -0
  27. package/dist/components/ui/tables/data-table/components/data-table-body.js +340 -0
  28. package/dist/components/ui/tables/data-table/components/data-table-column-visibility.js +274 -0
  29. package/dist/components/ui/tables/data-table/components/data-table-filter-inputs.js +177 -0
  30. package/dist/components/ui/tables/data-table/components/data-table-filters.js +286 -0
  31. package/dist/components/ui/tables/data-table/components/data-table-pagination.js +131 -0
  32. package/dist/components/ui/tables/data-table/components/data-table-searchbar.js +112 -0
  33. package/dist/components/ui/tables/data-table/components/data-table-simple-filters.js +263 -0
  34. package/dist/components/ui/tables/data-table/components/data-table-sorting.js +128 -0
  35. package/dist/components/ui/tables/data-table/data-table-constants.js +58 -0
  36. package/dist/components/ui/tables/data-table/data-table-i18n.js +138 -0
  37. package/dist/components/ui/tables/data-table/data-table.js +549 -0
  38. package/dist/components/ui/tables/data-table/data-table.service.js +254 -0
  39. package/dist/components/ui/tabs.js +33 -33
  40. package/dist/components/ui/textarea.js +11 -11
  41. package/dist/components/ui/tooltip.js +10 -10
  42. package/dist/css-for-template.css +57 -0
  43. package/dist/index.d.ts +249 -76
  44. package/dist/index.js +64 -64
  45. package/dist/node_modules/eventemitter3/index.js +1 -1
  46. package/dist/node_modules/eventemitter3/index2.js +1 -1
  47. package/dist/node_modules/recharts/es6/util/Events.js +1 -1
  48. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  49. package/dist/node_modules/use-sync-external-store/shim/index.js +1 -1
  50. package/dist/styles.css +1 -1
  51. package/dist/styles.v3.css +1 -1
  52. package/package.json +5 -3
  53. package/dist/components/ui/data-table.js +0 -461
  54. package/dist/components/ui/data-table.service.js +0 -62
package/dist/index.d.ts CHANGED
@@ -45,7 +45,6 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
45
45
  import * as SelectPrimitive from '@radix-ui/react-select';
46
46
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
47
47
  import { SeparatorProps } from '@radix-ui/react-separator';
48
- import { SetStateAction } from 'react';
49
48
  import * as SliderPrimitive from '@radix-ui/react-slider';
50
49
  import { Slot } from '@radix-ui/react-slot';
51
50
  import * as SwitchPrimitive from '@radix-ui/react-switch';
@@ -283,7 +282,7 @@ export declare function Badge({ className, variant, asChild, ...props }: React_2
283
282
  }): JSX.Element;
284
283
 
285
284
  export declare const badgeVariants: (props?: ({
286
- variant?: "default" | "secondary" | "destructive" | "outline" | "outline-primary" | null | undefined;
285
+ variant?: "default" | "secondary" | "ghost" | "destructive" | "outline" | "outline-primary" | null | undefined;
287
286
  } & ClassProp) | undefined) => string;
288
287
 
289
288
  declare type BarItemDataType = RepeatDataType | NoRepeatDataType;
@@ -301,8 +300,9 @@ declare type BaseProps = {
301
300
  wrpClassName?: string;
302
301
  searchable?: boolean;
303
302
  creatable?: boolean;
304
- groupBy?: keyof AppSelectOption;
303
+ isSingleSelectClearable?: boolean;
305
304
  disabled?: boolean;
305
+ groupBy?: keyof AppSelectOption;
306
306
  maxSelected?: number;
307
307
  showChipsInsteadOfCount?: boolean;
308
308
  size?: SelectSizeType_2;
@@ -335,7 +335,7 @@ export declare interface ButtonProps extends React_2.ComponentProps<"button">, V
335
335
  }
336
336
 
337
337
  export declare const buttonVariants: (props?: ({
338
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-primary" | "ghost" | null | undefined;
338
+ variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | "outline-primary" | "ghost-destructive" | "ghost-accent" | null | undefined;
339
339
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
340
340
  } & ClassProp) | undefined) => string;
341
341
 
@@ -640,6 +640,7 @@ declare interface ConfirmOptions {
640
640
  actionText?: React.ReactNode;
641
641
  CancelProps?: React.ComponentProps<typeof AlertDialogCancel>;
642
642
  ActionProps?: React.ComponentProps<typeof Button>;
643
+ variant?: "default" | "destructive";
643
644
  }
644
645
 
645
646
  export declare function ContextMenu({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Root>): JSX.Element;
@@ -798,7 +799,171 @@ export declare enum DataRepeatTypes {
798
799
  MONTH = "MONTH"
799
800
  }
800
801
 
801
- export declare function DataTable<TData, TValue>({ columns, data, loading, emptyComponent, className, rowSelection, onRowSelectionChange, checkable, onCheckedRowsChange, notFoundMessage, searchBar, dropdownFilters, totalItems, datatableSizes, paginationPlaceholders, serverOptions, setServerOptions, }: DataTableProps<TData, TValue>): JSX.Element;
802
+ export declare function DataTable<TData, TValue>({ columns, data, loading, emptyComponent, className, rowSelection, onRowSelectionChange, checkable, onCheckedRowsChange, actions, hidePagination, hideActionsRow, i18n, maxSortedColumns, initialState, serverMode: isServerSide, serverConfig: resolvedServerConfig, disableAutoPageSize, }: DataTableProps<TData, TValue>): JSX.Element;
803
+
804
+ export declare interface DataTableActions {
805
+ label: string;
806
+ icon: IconName;
807
+ onClick: () => void;
808
+ }
809
+
810
+ export declare interface DataTableAdvancedFilter {
811
+ id: string;
812
+ rootGroup: IAdvancedFilterGroup;
813
+ }
814
+
815
+ declare interface DataTableAndGroup {
816
+ _and: DataTableFilterForSearch[];
817
+ }
818
+
819
+ export declare interface DataTableBadgeFilter {
820
+ id: string;
821
+ columnId: string;
822
+ columnLabel: string;
823
+ columnType: IColumnType;
824
+ operator: FilterOperator;
825
+ value?: string | number | boolean | Array<string | number>;
826
+ listOptions?: AppSelectOption[];
827
+ }
828
+
829
+ export declare interface DataTableFieldCondition {
830
+ [field: string]: {
831
+ operator: FilterOperator;
832
+ value: string | number | boolean | (string | number | boolean)[];
833
+ };
834
+ }
835
+
836
+ export declare type DataTableFilterForSearch = DataTableFieldCondition | DataTableOrGroup | DataTableAndGroup;
837
+
838
+ export declare interface DataTableI18n {
839
+ search: string;
840
+ searchPlaceholder: string;
841
+ clearSearch: string;
842
+ reset: string;
843
+ loading: string;
844
+ notFoundMessage: string;
845
+ searchTooltipLabel: string;
846
+ selectAll: string;
847
+ selectRow: string;
848
+ filters: {
849
+ addFilter: string;
850
+ advancedFilter: string;
851
+ addFilterRule: string;
852
+ addFilterGroup: string;
853
+ deleteFilter: string;
854
+ deleteCondition: string;
855
+ deleteGroup: string;
856
+ duplicateCondition: string;
857
+ duplicateGroup: string;
858
+ operator: string;
859
+ value: string;
860
+ searchFilters: string;
861
+ searchPlaceholder: string;
862
+ selectDate: string;
863
+ where: string;
864
+ and: string;
865
+ or: string;
866
+ filterNotSupported: string;
867
+ column: string;
868
+ filter: string;
869
+ };
870
+ stringOperators: {
871
+ eq: string;
872
+ ne: string;
873
+ like: string;
874
+ nLike: string;
875
+ startsWith: string;
876
+ endsWith: string;
877
+ eqNull: string;
878
+ nEqNull: string;
879
+ };
880
+ numberOperators: {
881
+ eq: string;
882
+ ne: string;
883
+ lt: string;
884
+ le: string;
885
+ gt: string;
886
+ ge: string;
887
+ eqNull: string;
888
+ nEqNull: string;
889
+ };
890
+ booleanOperators: {
891
+ eq: string;
892
+ ne: string;
893
+ checked: string;
894
+ unchecked: string;
895
+ true: string;
896
+ false: string;
897
+ };
898
+ dateOperators: {
899
+ is: string;
900
+ isBefore: string;
901
+ isAfter: string;
902
+ eqNull: string;
903
+ nEqNull: string;
904
+ };
905
+ dateTimeOperators: {
906
+ isBefore: string;
907
+ isAfter: string;
908
+ eqNull: string;
909
+ nEqNull: string;
910
+ };
911
+ listOperators: {
912
+ is: string;
913
+ isNot: string;
914
+ contains: string;
915
+ doesNotContain: string;
916
+ eqNull: string;
917
+ nEqNull: string;
918
+ };
919
+ sorting: {
920
+ sort: string;
921
+ sorting: string;
922
+ column: string;
923
+ order: string;
924
+ sortBy: string;
925
+ ascending: string;
926
+ descending: string;
927
+ clearSort: string;
928
+ resetSorting: string;
929
+ addSort: string;
930
+ };
931
+ columnVisibility: {
932
+ visibleColumns: string;
933
+ hiddenColumns: string;
934
+ hideColumn: string;
935
+ showColumn: string;
936
+ hideAll: string;
937
+ showAll: string;
938
+ };
939
+ pagination: {
940
+ previous: string;
941
+ next: string;
942
+ first: string;
943
+ last: string;
944
+ page: string;
945
+ of: string;
946
+ rows: string;
947
+ pages: string;
948
+ rowsPerPage: string;
949
+ goToPage: string;
950
+ showing: string;
951
+ to: string;
952
+ entries: string;
953
+ };
954
+ tableActions: {
955
+ actions: string;
956
+ };
957
+ }
958
+
959
+ declare interface DataTableOrGroup {
960
+ _or: DataTableFilterForSearch[];
961
+ }
962
+
963
+ export declare interface DataTablePagination {
964
+ pageIndex: number;
965
+ pageSize: number;
966
+ }
802
967
 
803
968
  export declare interface DataTableProps<TData, TValue> {
804
969
  columns: ColumnDef<TData, TValue>[];
@@ -810,17 +975,37 @@ export declare interface DataTableProps<TData, TValue> {
810
975
  onRowSelectionChange?: OnChangeFn<Record<string, boolean>>;
811
976
  checkable?: boolean;
812
977
  onCheckedRowsChange?: (checkedRows: TData[]) => void;
813
- notFoundMessage?: string;
814
- searchBar?: ISearchBarProps;
815
- dropdownFilters?: IDropdownFilterProp[];
816
- totalItems?: number;
817
- datatableSizes?: IDatatableSizes;
818
- paginationPlaceholders?: IDatatablePaginationPlaceholders;
819
- serverOptions?: IServerOptionsProps;
820
- setServerOptions?: (value: SetStateAction<IServerOptionsProps>) => void;
978
+ actions?: DataTableActions[];
979
+ hidePagination?: boolean;
980
+ hideActionsRow?: boolean;
981
+ i18n?: DataTableI18n;
982
+ maxSortedColumns?: number;
983
+ initialState?: DataTableState;
984
+ serverMode?: boolean;
985
+ serverConfig?: DataTableServerConfig;
986
+ disableAutoPageSize?: boolean;
821
987
  }
822
988
 
823
- export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, }: DatePickerProps): JSX.Element;
989
+ export declare interface DataTableServerConfig {
990
+ totalItems: number;
991
+ onStateChange: (state: ServerState) => void;
992
+ }
993
+
994
+ export declare interface DataTableSorting {
995
+ sort_by: string[];
996
+ sort_order: ("asc" | "desc")[];
997
+ }
998
+
999
+ export declare interface DataTableState {
1000
+ filters?: IFilterState;
1001
+ sorting?: DataTableSorting;
1002
+ pagination?: DataTablePagination;
1003
+ searchbarFilter?: string;
1004
+ computedFilter?: DataTableFilterForSearch;
1005
+ computedSorting?: DataTableSorting;
1006
+ }
1007
+
1008
+ export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, firstDate, lastDate, availableDates, }: DatePickerProps): JSX.Element;
824
1009
 
825
1010
  declare interface DatePickerProps {
826
1011
  value?: Date;
@@ -831,6 +1016,9 @@ declare interface DatePickerProps {
831
1016
  buttonVariant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
832
1017
  disabled?: boolean;
833
1018
  size?: "sm" | "default" | "lg";
1019
+ firstDate?: Date;
1020
+ lastDate?: Date;
1021
+ availableDates?: Date[];
834
1022
  }
835
1023
 
836
1024
  export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
@@ -925,6 +1113,8 @@ declare interface FileUploaderProps {
925
1113
  maxFiles?: number;
926
1114
  }
927
1115
 
1116
+ declare type FilterOperator = "array_overlap" | "checked" | "date_after" | "date_before" | "date_time_after" | "date_time_before" | "ends_with" | "eq" | "eq_null" | "ge" | "gt" | "le" | "like" | "lt" | "n_array_overlap" | "n_eq_null" | "n_like" | "ne" | "starts_with" | "unchecked";
1117
+
928
1118
  export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
929
1119
 
930
1120
  export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
@@ -1022,9 +1212,24 @@ export declare function HoverCardContent({ className, align, sideOffset, ...prop
1022
1212
 
1023
1213
  export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Trigger>): JSX.Element;
1024
1214
 
1025
- export declare type IColumnDefWithSticky<TData, TValue = unknown> = ColumnDef<TData, TValue> & {
1026
- sticky?: boolean;
1027
- };
1215
+ declare interface IAdvancedFilterCondition {
1216
+ id: string;
1217
+ columnId: string;
1218
+ columnLabel: string;
1219
+ columnType: IColumnType;
1220
+ operator: FilterOperator;
1221
+ value?: string | number | boolean | Array<string | number>;
1222
+ listOptions?: AppSelectOption[];
1223
+ }
1224
+
1225
+ declare interface IAdvancedFilterGroup {
1226
+ id: string;
1227
+ logicalOperator: LogicalOperator;
1228
+ conditions: IAdvancedFilterCondition[];
1229
+ groups?: IAdvancedFilterGroup[];
1230
+ }
1231
+
1232
+ declare type IColumnType = "number" | "string" | "boolean" | "date" | "datetime" | "list_single_select" | "list_multi_select" | "other";
1028
1233
 
1029
1234
  /**
1030
1235
  * Componente Icon che renderizza un'icona da lucide-react
@@ -1054,41 +1259,18 @@ declare interface IconProps {
1054
1259
 
1055
1260
  declare type IconSize = keyof typeof sizeMap;
1056
1261
 
1057
- export declare interface IDatatablePaginationPlaceholders {
1058
- rows?: string;
1059
- pages?: string;
1060
- first?: string;
1061
- previous?: string;
1062
- next?: string;
1063
- last?: string;
1064
- }
1065
-
1066
- export declare interface IDatatableSizes {
1067
- rowHeight?: number;
1068
- headerHeight?: number;
1069
- containerHeight?: number;
1070
- }
1071
-
1072
- export declare interface IDropdownFilterItem {
1073
- label: string;
1074
- value: string;
1075
- }
1076
-
1077
- export declare interface IDropdownFilterProp {
1078
- column: string;
1079
- placeholder: string;
1080
- label?: string;
1081
- innerFiltersMode?: ELogicalFilterOperator;
1082
- items: IDropdownFilterItem[];
1083
- filterFn?: (rowValue: unknown, filterValue: string[]) => boolean;
1084
- }
1085
-
1086
1262
  declare type IFilePreviewCallbackReturn = File | {
1087
1263
  name: string;
1088
1264
  url: string;
1089
1265
  type?: string;
1090
1266
  };
1091
1267
 
1268
+ declare interface IFilterState {
1269
+ filterBadges?: DataTableBadgeFilter[];
1270
+ advancedFilterBadge?: DataTableAdvancedFilter;
1271
+ searchbarFilter?: string;
1272
+ }
1273
+
1092
1274
  export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
1093
1275
 
1094
1276
  export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
@@ -1131,38 +1313,10 @@ declare interface InterruptPromptProps {
1131
1313
  close: () => void;
1132
1314
  }
1133
1315
 
1134
- export declare interface IPaginationProps {
1135
- pageIndex: number;
1136
- pageSize: number;
1137
- }
1138
-
1139
- export declare interface ISearchBarProps {
1140
- placeholder?: string;
1141
- columns: string[];
1142
- }
1143
-
1144
- export declare interface IServerFilterProps {
1145
- searchbarFilters?: {
1146
- value: string;
1147
- columns: string[];
1148
- };
1149
- dropdownFilters?: {
1150
- [column: string]: {
1151
- logic: ELogicalFilterOperator;
1152
- value: string[];
1153
- column: string;
1154
- };
1155
- };
1156
- }
1157
-
1158
- export declare interface IServerOptionsProps {
1159
- pagination: IPaginationProps;
1160
- filters?: IServerFilterProps;
1161
- disableAutoPageSize?: boolean;
1162
- }
1163
-
1164
1316
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
1165
1317
 
1318
+ declare type LogicalOperator = "AND" | "OR";
1319
+
1166
1320
  export declare function MarkdownRenderer({ children }: MarkdownRendererProps): JSX.Element;
1167
1321
 
1168
1322
  declare interface MarkdownRendererProps {
@@ -1598,6 +1752,13 @@ export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof
1598
1752
 
1599
1753
  export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
1600
1754
 
1755
+ declare interface ServerState {
1756
+ filters?: IFilterState;
1757
+ pagination: DataTablePagination;
1758
+ computedFilter?: DataTableFilterForSearch;
1759
+ computedSorting?: DataTableSorting;
1760
+ }
1761
+
1601
1762
  export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
1602
1763
 
1603
1764
  export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
@@ -1970,3 +2131,15 @@ export declare interface WeeklyCalendarProps {
1970
2131
  }
1971
2132
 
1972
2133
  export { }
2134
+
2135
+
2136
+ declare module "@tanstack/react-table" {
2137
+ interface ColumnMeta<TData extends unknown, TValue> {
2138
+ type: IColumnType;
2139
+ sortable?: boolean;
2140
+ filterable?: boolean;
2141
+ searchable?: boolean;
2142
+ pinned?: "left" | "right";
2143
+ listOptions?: AppSelectOption[];
2144
+ }
2145
+ }
package/dist/index.js CHANGED
@@ -66,22 +66,22 @@ import { AppSidebar as ta } from "./components/ui/app-sidebar.js";
66
66
  import { Chat as na, ChatContainer as ia, ChatForm as pa, ChatMessages as ma } from "./components/ui/chat.js";
67
67
  import { ChatMessage as ua } from "./components/ui/chat-message.js";
68
68
  import { Confirmer as da, confirm as ga } from "./components/ui/confirmer.js";
69
- import { DataTable as ba } from "./components/ui/data-table.js";
70
- import { ELogicalFilterOperator as sa } from "./components/ui/data-table.service.js";
71
- import { FilePreviewer as Ma, previewFileModal as ca, safePreviewFileModal as Ta } from "./components/ui/file-previewer.js";
72
- import { DataRepeatTypes as Aa } from "./components/ui/gantt/enums/DataRepeatTimes.js";
73
- import { DragStepSizes as Pa } from "./components/ui/gantt/enums/DragStepSizes.js";
74
- import { GanttConsts as va } from "./components/ui/gantt/constants/GanttConsts.js";
75
- import { GanttDimensions as wa } from "./components/ui/gantt/enums/GanttDimensions.js";
76
- import { InterruptPrompt as La } from "./components/ui/interrupt-prompt.js";
77
- import { MarkdownRenderer as Ra } from "./components/ui/markdown-renderer.js";
78
- import { MessageInput as ka } from "./components/ui/message-input.js";
79
- import { MessageList as Na } from "./components/ui/message-list.js";
80
- import { NavigationMenu as Ea, NavigationMenuContent as Va, NavigationMenuIndicator as Oa, NavigationMenuItem as Ua, NavigationMenuLink as Wa, NavigationMenuList as ja, NavigationMenuTrigger as qa, NavigationMenuViewport as Ja } from "./components/ui/navigation-menu.js";
81
- import { Sidebar as Qa, SidebarContent as Xa, SidebarFooter as Ya, SidebarGroup as Za, SidebarGroupAction as _a, SidebarGroupContent as $a, SidebarGroupLabel as en, SidebarHeader as rn, SidebarInput as on, SidebarInset as tn, SidebarMenu as an, SidebarMenuAction as nn, SidebarMenuBadge as pn, SidebarMenuButton as mn, SidebarMenuItem as ln, SidebarMenuSkeleton as un, SidebarMenuSub as xn, SidebarMenuSubButton as dn, SidebarMenuSubItem as gn, SidebarProvider as Cn, SidebarRail as bn, SidebarSeparator as fn, SidebarTrigger as sn, useSidebar as Sn } from "./components/ui/sidebar.js";
82
- import { DataCrossTable as cn } from "./components/ui/tables/data-cross-table/data-cross-table.js";
83
- import { DataCrossTableButtonsGroup as Dn } from "./components/ui/tables/data-cross-table/data-cross-table-buttons.js";
84
- import { DataCrossTableProvider as In } from "./components/ui/tables/data-cross-table/data-cross-table-context.js";
69
+ import { FilePreviewer as ba, previewFileModal as fa, safePreviewFileModal as sa } from "./components/ui/file-previewer.js";
70
+ import { DataRepeatTypes as Ma } from "./components/ui/gantt/enums/DataRepeatTimes.js";
71
+ import { DragStepSizes as Ta } from "./components/ui/gantt/enums/DragStepSizes.js";
72
+ import { GanttConsts as Aa } from "./components/ui/gantt/constants/GanttConsts.js";
73
+ import { GanttDimensions as Pa } from "./components/ui/gantt/enums/GanttDimensions.js";
74
+ import { InterruptPrompt as va } from "./components/ui/interrupt-prompt.js";
75
+ import { MarkdownRenderer as wa } from "./components/ui/markdown-renderer.js";
76
+ import { MessageInput as La } from "./components/ui/message-input.js";
77
+ import { MessageList as Ra } from "./components/ui/message-list.js";
78
+ import { NavigationMenu as ka, NavigationMenuContent as ya, NavigationMenuIndicator as Na, NavigationMenuItem as za, NavigationMenuLink as Ea, NavigationMenuList as Va, NavigationMenuTrigger as Oa, NavigationMenuViewport as Ua } from "./components/ui/navigation-menu.js";
79
+ import { Sidebar as ja, SidebarContent as qa, SidebarFooter as Ja, SidebarGroup as Ka, SidebarGroupAction as Qa, SidebarGroupContent as Xa, SidebarGroupLabel as Ya, SidebarHeader as Za, SidebarInput as _a, SidebarInset as $a, SidebarMenu as en, SidebarMenuAction as rn, SidebarMenuBadge as on, SidebarMenuButton as tn, SidebarMenuItem as an, SidebarMenuSkeleton as nn, SidebarMenuSub as pn, SidebarMenuSubButton as mn, SidebarMenuSubItem as ln, SidebarProvider as un, SidebarRail as xn, SidebarSeparator as dn, SidebarTrigger as gn, useSidebar as Cn } from "./components/ui/sidebar.js";
80
+ import { DataCrossTable as fn } from "./components/ui/tables/data-cross-table/data-cross-table.js";
81
+ import { DataCrossTableButtonsGroup as Sn } from "./components/ui/tables/data-cross-table/data-cross-table-buttons.js";
82
+ import { DataCrossTableProvider as cn } from "./components/ui/tables/data-cross-table/data-cross-table-context.js";
83
+ import { DataTable as Dn } from "./components/ui/tables/data-table/data-table.js";
84
+ import { ELogicalFilterOperator as In } from "./components/ui/tables/data-table/data-table-constants.js";
85
85
  import { WeeklyCalendar as hn } from "./components/ui/weekly-calendar/weekly-calendar.js";
86
86
  import { cn as Fn, downloadFile as wn, hexContrast as Gn, hexToRgba as Ln, previewFile as Bn, stringToHexColor as Rn } from "./lib/utils.js";
87
87
  import { AppStepper as kn } from "./components/ui/app-stepper.js";
@@ -182,11 +182,11 @@ export {
182
182
  ir as ContextMenuSubTrigger,
183
183
  pr as ContextMenuTrigger,
184
184
  D as CopyButton,
185
- cn as DataCrossTable,
186
- Dn as DataCrossTableButtonsGroup,
187
- In as DataCrossTableProvider,
188
- Aa as DataRepeatTypes,
189
- ba as DataTable,
185
+ fn as DataCrossTable,
186
+ Sn as DataCrossTableButtonsGroup,
187
+ cn as DataCrossTableProvider,
188
+ Ma as DataRepeatTypes,
189
+ Dn as DataTable,
190
190
  lr as DatePicker,
191
191
  gr as Dialog,
192
192
  Cr as DialogContent,
@@ -195,7 +195,7 @@ export {
195
195
  sr as DialogHeader,
196
196
  Sr as DialogTitle,
197
197
  Mr as DialogTrigger,
198
- Pa as DragStepSizes,
198
+ Ta as DragStepSizes,
199
199
  Tr as Drawer,
200
200
  Dr as DrawerContent,
201
201
  Ar as DrawerDescription,
@@ -209,9 +209,9 @@ export {
209
209
  ht as DropdownMenuLabel,
210
210
  vt as DropdownMenuSeparator,
211
211
  Ft as DropdownMenuTrigger,
212
- sa as ELogicalFilterOperator,
212
+ In as ELogicalFilterOperator,
213
213
  Bt as FilePreview,
214
- Ma as FilePreviewer,
214
+ ba as FilePreviewer,
215
215
  Gt as FileUploader,
216
216
  wr as Form,
217
217
  Gr as FormControl,
@@ -221,8 +221,8 @@ export {
221
221
  Hr as FormLabel,
222
222
  kr as FormMessage,
223
223
  o as Gantt,
224
- va as GanttConsts,
225
- wa as GanttDimensions,
224
+ Aa as GanttConsts,
225
+ Pa as GanttDimensions,
226
226
  zr as HoverCard,
227
227
  Er as HoverCardContent,
228
228
  Vr as HoverCardTrigger,
@@ -232,9 +232,9 @@ export {
232
232
  w as InputOTPGroup,
233
233
  G as InputOTPSlot,
234
234
  xr as InputSelector,
235
- La as InterruptPrompt,
235
+ va as InterruptPrompt,
236
236
  B as Label,
237
- Ra as MarkdownRenderer,
237
+ wa as MarkdownRenderer,
238
238
  Ur as Menubar,
239
239
  Wr as MenubarCheckboxItem,
240
240
  jr as MenubarContent,
@@ -251,17 +251,17 @@ export {
251
251
  ro as MenubarSubContent,
252
252
  oo as MenubarSubTrigger,
253
253
  to as MenubarTrigger,
254
- ka as MessageInput,
255
- Na as MessageList,
254
+ La as MessageInput,
255
+ Ra as MessageList,
256
256
  no as MultipleSelector,
257
- Ea as NavigationMenu,
258
- Va as NavigationMenuContent,
259
- Oa as NavigationMenuIndicator,
260
- Ua as NavigationMenuItem,
261
- Wa as NavigationMenuLink,
262
- ja as NavigationMenuList,
263
- qa as NavigationMenuTrigger,
264
- Ja as NavigationMenuViewport,
257
+ ka as NavigationMenu,
258
+ ya as NavigationMenuContent,
259
+ Na as NavigationMenuIndicator,
260
+ za as NavigationMenuItem,
261
+ Ea as NavigationMenuLink,
262
+ Va as NavigationMenuList,
263
+ Oa as NavigationMenuTrigger,
264
+ Ua as NavigationMenuViewport,
265
265
  po as Pagination,
266
266
  mo as PaginationContent,
267
267
  lo as PaginationEllipsis,
@@ -297,29 +297,29 @@ export {
297
297
  Uo as SheetHeader,
298
298
  Wo as SheetTitle,
299
299
  jo as SheetTrigger,
300
- Qa as Sidebar,
301
- Xa as SidebarContent,
302
- Ya as SidebarFooter,
303
- Za as SidebarGroup,
304
- _a as SidebarGroupAction,
305
- $a as SidebarGroupContent,
306
- en as SidebarGroupLabel,
307
- rn as SidebarHeader,
308
- on as SidebarInput,
309
- tn as SidebarInset,
310
- an as SidebarMenu,
311
- nn as SidebarMenuAction,
312
- pn as SidebarMenuBadge,
313
- mn as SidebarMenuButton,
314
- ln as SidebarMenuItem,
315
- un as SidebarMenuSkeleton,
316
- xn as SidebarMenuSub,
317
- dn as SidebarMenuSubButton,
318
- gn as SidebarMenuSubItem,
319
- Cn as SidebarProvider,
320
- bn as SidebarRail,
321
- fn as SidebarSeparator,
322
- sn as SidebarTrigger,
300
+ ja as Sidebar,
301
+ qa as SidebarContent,
302
+ Ja as SidebarFooter,
303
+ Ka as SidebarGroup,
304
+ Qa as SidebarGroupAction,
305
+ Xa as SidebarGroupContent,
306
+ Ya as SidebarGroupLabel,
307
+ Za as SidebarHeader,
308
+ _a as SidebarInput,
309
+ $a as SidebarInset,
310
+ en as SidebarMenu,
311
+ rn as SidebarMenuAction,
312
+ on as SidebarMenuBadge,
313
+ tn as SidebarMenuButton,
314
+ an as SidebarMenuItem,
315
+ nn as SidebarMenuSkeleton,
316
+ pn as SidebarMenuSub,
317
+ mn as SidebarMenuSubButton,
318
+ ln as SidebarMenuSubItem,
319
+ un as SidebarProvider,
320
+ xn as SidebarRail,
321
+ dn as SidebarSeparator,
322
+ gn as SidebarTrigger,
323
323
  O as Skeleton,
324
324
  st as Slider,
325
325
  W as Switch,
@@ -356,8 +356,8 @@ export {
356
356
  Gn as hexContrast,
357
357
  Ln as hexToRgba,
358
358
  Bn as previewFile,
359
- ca as previewFileModal,
360
- Ta as safePreviewFileModal,
359
+ fa as previewFileModal,
360
+ sa as safePreviewFileModal,
361
361
  Rn as stringToHexColor,
362
362
  Q as toggleVariants,
363
363
  Nn as useAudioRecording,
@@ -368,5 +368,5 @@ export {
368
368
  Xt as useEditorModal,
369
369
  yr as useFormField,
370
370
  Kn as useIsMobile,
371
- Sn as useSidebar
371
+ Cn as useSidebar
372
372
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index3.js";
2
+ import e from "../../_virtual/index2.js";
3
3
  export {
4
4
  e as EventEmitter,
5
5
  e as default
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __module as x } from "../../_virtual/index7.js";
2
+ import { __module as x } from "../../_virtual/index6.js";
3
3
  var w;
4
4
  function O() {
5
5
  return w ? x.exports : (w = 1, (function(d) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../../../_virtual/index3.js";
2
+ import e from "../../../../_virtual/index2.js";
3
3
  var r = new e(), n = "recharts.syncEvent.tooltip";
4
4
  export {
5
5
  n as TOOLTIP_SYNC_EVENT,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __exports as r } from "../../../_virtual/index6.js";
2
+ import { __exports as r } from "../../../_virtual/index7.js";
3
3
  import { __require as c } from "../../inline-style-parser/index.js";
4
4
  var f;
5
5
  function j() {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __module as e } from "../../../_virtual/index2.js";
2
+ import { __module as e } from "../../../_virtual/index3.js";
3
3
  import { __require as i } from "../cjs/use-sync-external-store-shim.production.js";
4
4
  import { __require as o } from "../cjs/use-sync-external-store-shim.development.js";
5
5
  var r;