laif-ds 0.2.22 → 0.2.24

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 (57) hide show
  1. package/dist/_virtual/index.js +3 -5
  2. package/dist/_virtual/index3.js +5 -2
  3. package/dist/_virtual/index4.js +5 -3
  4. package/dist/_virtual/index5.js +5 -5
  5. package/dist/_virtual/index6.js +2 -5
  6. package/dist/_virtual/index7.js +2 -2
  7. package/dist/components/ui/alert-dialog.js +6 -6
  8. package/dist/components/ui/app-multiple-select-dropdown.js +34 -34
  9. package/dist/components/ui/app-select.js +127 -124
  10. package/dist/components/ui/badge.js +13 -12
  11. package/dist/components/ui/button.js +20 -18
  12. package/dist/components/ui/calendar.js +6 -6
  13. package/dist/components/ui/checkbox.js +9 -9
  14. package/dist/components/ui/confirmer.js +45 -19
  15. package/dist/components/ui/context-menu.js +4 -4
  16. package/dist/components/ui/input-otp.js +16 -16
  17. package/dist/components/ui/input-selector.js +19 -19
  18. package/dist/components/ui/input.js +19 -19
  19. package/dist/components/ui/menubar.js +1 -1
  20. package/dist/components/ui/pagination.js +90 -77
  21. package/dist/components/ui/radio-group.js +14 -14
  22. package/dist/components/ui/select.js +27 -27
  23. package/dist/components/ui/switch.js +8 -6
  24. package/dist/components/ui/table.js +16 -16
  25. package/dist/components/ui/tables/data-cross-table/data-cross-table.js +6 -6
  26. package/dist/components/ui/tables/data-table/components/data-table-actions.js +51 -0
  27. package/dist/components/ui/tables/data-table/components/data-table-advanced-filter.js +470 -0
  28. package/dist/components/ui/tables/data-table/components/data-table-body.js +340 -0
  29. package/dist/components/ui/tables/data-table/components/data-table-column-visibility.js +274 -0
  30. package/dist/components/ui/tables/data-table/components/data-table-filter-inputs.js +177 -0
  31. package/dist/components/ui/tables/data-table/components/data-table-filters.js +286 -0
  32. package/dist/components/ui/tables/data-table/components/data-table-pagination.js +131 -0
  33. package/dist/components/ui/tables/data-table/components/data-table-searchbar.js +112 -0
  34. package/dist/components/ui/tables/data-table/components/data-table-simple-filters.js +263 -0
  35. package/dist/components/ui/tables/data-table/components/data-table-sorting.js +128 -0
  36. package/dist/components/ui/tables/data-table/data-table-constants.js +58 -0
  37. package/dist/components/ui/tables/data-table/data-table-i18n.js +138 -0
  38. package/dist/components/ui/tables/data-table/data-table.js +549 -0
  39. package/dist/components/ui/tables/data-table/data-table.service.js +254 -0
  40. package/dist/components/ui/tabs.js +33 -33
  41. package/dist/components/ui/textarea.js +18 -15
  42. package/dist/components/ui/tooltip.js +10 -10
  43. package/dist/css-for-template.css +57 -0
  44. package/dist/index.d.ts +247 -76
  45. package/dist/index.js +64 -64
  46. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
  47. package/dist/node_modules/eventemitter3/index.js +1 -1
  48. package/dist/node_modules/eventemitter3/index2.js +1 -1
  49. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  50. package/dist/node_modules/recharts/es6/util/Events.js +1 -1
  51. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  52. package/dist/node_modules/unified/lib/index.js +1 -1
  53. package/dist/styles.css +1 -1
  54. package/dist/styles.v3.css +1 -1
  55. package/package.json +5 -3
  56. package/dist/components/ui/data-table.js +0 -461
  57. 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,14 +975,34 @@ 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;
987
+ }
988
+
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;
821
1006
  }
822
1007
 
823
1008
  export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, }: DatePickerProps): JSX.Element;
@@ -925,6 +1110,8 @@ declare interface FileUploaderProps {
925
1110
  maxFiles?: number;
926
1111
  }
927
1112
 
1113
+ 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";
1114
+
928
1115
  export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
929
1116
 
930
1117
  export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
@@ -1022,9 +1209,24 @@ export declare function HoverCardContent({ className, align, sideOffset, ...prop
1022
1209
 
1023
1210
  export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Trigger>): JSX.Element;
1024
1211
 
1025
- export declare type IColumnDefWithSticky<TData, TValue = unknown> = ColumnDef<TData, TValue> & {
1026
- sticky?: boolean;
1027
- };
1212
+ declare interface IAdvancedFilterCondition {
1213
+ id: string;
1214
+ columnId: string;
1215
+ columnLabel: string;
1216
+ columnType: IColumnType;
1217
+ operator: FilterOperator;
1218
+ value?: string | number | boolean | Array<string | number>;
1219
+ listOptions?: AppSelectOption[];
1220
+ }
1221
+
1222
+ declare interface IAdvancedFilterGroup {
1223
+ id: string;
1224
+ logicalOperator: LogicalOperator;
1225
+ conditions: IAdvancedFilterCondition[];
1226
+ groups?: IAdvancedFilterGroup[];
1227
+ }
1228
+
1229
+ declare type IColumnType = "number" | "string" | "boolean" | "date" | "datetime" | "list_single_select" | "list_multi_select" | "other";
1028
1230
 
1029
1231
  /**
1030
1232
  * Componente Icon che renderizza un'icona da lucide-react
@@ -1054,41 +1256,18 @@ declare interface IconProps {
1054
1256
 
1055
1257
  declare type IconSize = keyof typeof sizeMap;
1056
1258
 
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
1259
  declare type IFilePreviewCallbackReturn = File | {
1087
1260
  name: string;
1088
1261
  url: string;
1089
1262
  type?: string;
1090
1263
  };
1091
1264
 
1265
+ declare interface IFilterState {
1266
+ filterBadges?: DataTableBadgeFilter[];
1267
+ advancedFilterBadge?: DataTableAdvancedFilter;
1268
+ searchbarFilter?: string;
1269
+ }
1270
+
1092
1271
  export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
1093
1272
 
1094
1273
  export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
@@ -1131,38 +1310,10 @@ declare interface InterruptPromptProps {
1131
1310
  close: () => void;
1132
1311
  }
1133
1312
 
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
1313
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
1165
1314
 
1315
+ declare type LogicalOperator = "AND" | "OR";
1316
+
1166
1317
  export declare function MarkdownRenderer({ children }: MarkdownRendererProps): JSX.Element;
1167
1318
 
1168
1319
  declare interface MarkdownRendererProps {
@@ -1598,6 +1749,13 @@ export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof
1598
1749
 
1599
1750
  export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
1600
1751
 
1752
+ declare interface ServerState {
1753
+ filters?: IFilterState;
1754
+ pagination: DataTablePagination;
1755
+ computedFilter?: DataTableFilterForSearch;
1756
+ computedSorting?: DataTableSorting;
1757
+ }
1758
+
1601
1759
  export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
1602
1760
 
1603
1761
  export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
@@ -1792,8 +1950,9 @@ export declare function TabsList({ className, ...props }: React_2.ComponentProps
1792
1950
 
1793
1951
  export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
1794
1952
 
1795
- export declare function Textarea({ className, label, ...props }: React_2.ComponentProps<"textarea"> & {
1953
+ export declare function Textarea({ className, label, labelClassName, id, ...props }: React_2.ComponentProps<"textarea"> & {
1796
1954
  label?: React_2.ReactNode;
1955
+ labelClassName?: string;
1797
1956
  }): JSX.Element;
1798
1957
 
1799
1958
  declare interface TextPart {
@@ -1969,3 +2128,15 @@ export declare interface WeeklyCalendarProps {
1969
2128
  }
1970
2129
 
1971
2130
  export { }
2131
+
2132
+
2133
+ declare module "@tanstack/react-table" {
2134
+ interface ColumnMeta<TData extends unknown, TValue> {
2135
+ type: IColumnType;
2136
+ sortable?: boolean;
2137
+ filterable?: boolean;
2138
+ searchable?: boolean;
2139
+ pinned?: "left" | "right";
2140
+ listOptions?: AppSelectOption[];
2141
+ }
2142
+ }
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 { s as e } from "../../../../_virtual/index4.js";
2
+ import { s as e } from "../../../../_virtual/index.js";
3
3
  function s() {
4
4
  return e.useSyncExternalStore(
5
5
  r,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index.js";
2
+ import e from "../../_virtual/index3.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/index3.js";
2
+ import { __module as x } from "../../_virtual/index7.js";
3
3
  var w;
4
4
  function O() {
5
5
  return w ? x.exports : (w = 1, (function(d) {
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
3
3
  import { ok as u } from "../../devlop/lib/default.js";
4
4
  import { svg as m, html as C } from "../../property-information/index.js";
5
5
  import { stringify as N } from "../../space-separated-tokens/index.js";
6
- import S from "../../../_virtual/index5.js";
6
+ import S from "../../../_virtual/index4.js";
7
7
  import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
8
8
  import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
9
9
  import { VFileMessage as h } from "../../vfile-message/lib/index.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../../../_virtual/index.js";
2
+ import e from "../../../../_virtual/index3.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/index7.js";
2
+ import { __exports as r } from "../../../_virtual/index6.js";
3
3
  import { __require as c } from "../../inline-style-parser/index.js";
4
4
  var f;
5
5
  function j() {