@iclips/ui 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/figma/ImageWithFallback.d.ts +3 -0
- package/dist/components/figma/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/print-templates/ContractTemplate.d.ts +51 -0
- package/dist/components/print-templates/ContractTemplate.d.ts.map +1 -0
- package/dist/components/print-templates/ProposalTemplate.d.ts +41 -0
- package/dist/components/print-templates/ProposalTemplate.d.ts.map +1 -0
- package/dist/components/print-templates/index.d.ts +22 -0
- package/dist/components/print-templates/index.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintFooter.d.ts +21 -0
- package/dist/components/print-templates/shared/PrintFooter.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintHeader.d.ts +34 -0
- package/dist/components/print-templates/shared/PrintHeader.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintInfoGrid.d.ts +22 -0
- package/dist/components/print-templates/shared/PrintInfoGrid.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintSection.d.ts +29 -0
- package/dist/components/print-templates/shared/PrintSection.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintSignature.d.ts +27 -0
- package/dist/components/print-templates/shared/PrintSignature.d.ts.map +1 -0
- package/dist/components/print-templates/shared/PrintTable.d.ts +36 -0
- package/dist/components/print-templates/shared/PrintTable.d.ts.map +1 -0
- package/dist/components/timeline-demo.d.ts +2 -0
- package/dist/components/timeline-demo.d.ts.map +1 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +15 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +10 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/app-layout.d.ts +31 -0
- package/dist/components/ui/app-layout.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +12 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/brand-logo.d.ts +7 -0
- package/dist/components/ui/brand-logo.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +12 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +14 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/calendar.d.ts +31 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +10 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/carousel.d.ts +20 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +45 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/color-picker.d.ts +11 -0
- package/dist/components/ui/color-picker.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +17 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/comment-system.d.ts +38 -0
- package/dist/components/ui/comment-system.d.ts.map +1 -0
- package/dist/components/ui/context-menu.d.ts +26 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/contract-print.d.ts +82 -0
- package/dist/components/ui/contract-print.d.ts.map +1 -0
- package/dist/components/ui/data-table-example.d.ts +5 -0
- package/dist/components/ui/data-table-example.d.ts.map +1 -0
- package/dist/components/ui/data-table.d.ts +19 -0
- package/dist/components/ui/data-table.d.ts.map +1 -0
- package/dist/components/ui/date-picker.d.ts +110 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/date-range-picker.d.ts +126 -0
- package/dist/components/ui/date-range-picker.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +14 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/document-editor.d.ts +12 -0
- package/dist/components/ui/document-editor.d.ts.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/editorial-calendar.d.ts +28 -0
- package/dist/components/ui/editorial-calendar.d.ts.map +1 -0
- package/dist/components/ui/filter-bar.d.ts +16 -0
- package/dist/components/ui/filter-bar.d.ts.map +1 -0
- package/dist/components/ui/filter-builder.d.ts +24 -0
- package/dist/components/ui/filter-builder.d.ts.map +1 -0
- package/dist/components/ui/filter-chip.d.ts +8 -0
- package/dist/components/ui/filter-chip.d.ts.map +1 -0
- package/dist/components/ui/form.d.ts +25 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/gantt-chart.d.ts +39 -0
- package/dist/components/ui/gantt-chart.d.ts.map +1 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/illustrations.d.ts +54 -0
- package/dist/components/ui/illustrations.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +67 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/input-otp.d.ts +12 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/kanban-card.d.ts +41 -0
- package/dist/components/ui/kanban-card.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/mention-list.d.ts +7 -0
- package/dist/components/ui/mention-list.d.ts.map +1 -0
- package/dist/components/ui/menubar.d.ts +27 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +15 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/pagination.d.ts +14 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/resizable.d.ts +9 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/saved-filters.d.ts +16 -0
- package/dist/components/ui/saved-filters.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +14 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +70 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +8 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/table-pagination.d.ts +130 -0
- package/dist/components/ui/table-pagination.d.ts.map +1 -0
- package/dist/components/ui/table-types.d.ts +217 -0
- package/dist/components/ui/table-types.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +27 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/task-edit-dialog.d.ts +14 -0
- package/dist/components/ui/task-edit-dialog.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/time-picker.d.ts +84 -0
- package/dist/components/ui/time-picker.d.ts.map +1 -0
- package/dist/components/ui/timeline.d.ts +27 -0
- package/dist/components/ui/timeline.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +8 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle.d.ts +10 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/underline-tabs.d.ts +29 -0
- package/dist/components/ui/underline-tabs.d.ts.map +1 -0
- package/dist/components/ui/use-mobile.d.ts +2 -0
- package/dist/components/ui/use-mobile.d.ts.map +1 -0
- package/dist/components/ui/use-print-contract.d.ts +37 -0
- package/dist/components/ui/use-print-contract.d.ts.map +1 -0
- package/dist/components/ui/utils.d.ts +3 -0
- package/dist/components/ui/utils.d.ts.map +1 -0
- package/dist/index.d.ts +91 -1
- package/dist/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface SavedFilter {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
isFavorite?: boolean;
|
|
6
|
+
filterCount?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface SavedFiltersProps {
|
|
9
|
+
filters?: SavedFilter[];
|
|
10
|
+
onSelectFilter?: (filterId: string) => void;
|
|
11
|
+
onToggleFavorite?: (filterId: string) => void;
|
|
12
|
+
onDeleteFilter?: (filterId: string) => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function SavedFilters({ filters, onSelectFilter, onToggleFavorite, onDeleteFilter, className, }: SavedFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=saved-filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saved-filters.d.ts","sourceRoot":"","sources":["../../../src/components/ui/saved-filters.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,OAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,SAAS,GACV,EAAE,iBAAiB,2CAiEnB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3
|
+
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { ScrollArea, ScrollBar };
|
|
6
|
+
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CAiBvD;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,2CAqBtE;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
+
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
|
+
size?: "sm" | "default";
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
16
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAS1D,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,2CAiBA;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,QAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CA4BtD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAkBnD;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,2CAQxD;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,2CAa7D;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,2CAa/D;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Separator };
|
|
5
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAIhE,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAatD;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
14
|
+
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AAKzD,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAE5E;AAED,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,2CAErD;AAED,iBAAS,UAAU,CAAC,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,2CAEnD;AA0BD,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,IAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,GAAG;IACvD,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC5C,2CA4BA;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQxE;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,2CAQnD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,WAAW,CAAC,2CAQzD;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Button } from './button';
|
|
3
|
+
import { Input } from './input';
|
|
4
|
+
import { Separator } from './separator';
|
|
5
|
+
import { TooltipContent } from './tooltip';
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
type SidebarContextProps = {
|
|
8
|
+
state: "expanded" | "collapsed";
|
|
9
|
+
open: boolean;
|
|
10
|
+
setOpen: (open: boolean) => void;
|
|
11
|
+
openMobile: boolean;
|
|
12
|
+
setOpenMobile: (open: boolean) => void;
|
|
13
|
+
isMobile: boolean;
|
|
14
|
+
toggleSidebar: () => void;
|
|
15
|
+
};
|
|
16
|
+
declare function useSidebar(): SidebarContextProps;
|
|
17
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
18
|
+
defaultOpen?: boolean;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
onOpenChange?: (open: boolean) => void;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
23
|
+
side?: "left" | "right";
|
|
24
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
25
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
46
|
+
variant?: "default" | "outline" | null | undefined;
|
|
47
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
48
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
49
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
50
|
+
asChild?: boolean;
|
|
51
|
+
isActive?: boolean;
|
|
52
|
+
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
53
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
55
|
+
asChild?: boolean;
|
|
56
|
+
showOnHover?: boolean;
|
|
57
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
60
|
+
showIcon?: boolean;
|
|
61
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
65
|
+
asChild?: boolean;
|
|
66
|
+
size?: "sm" | "md";
|
|
67
|
+
isActive?: boolean;
|
|
68
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
|
|
70
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAK7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,OAAO,EAEL,cAAc,EAGf,MAAM,WAAW,CAAC;AASnB,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAIF,iBAAS,UAAU,wBAOlB;AAED,iBAAS,eAAe,CAAC,EACvB,WAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EAAE,WAAW,EACzB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,2CAoFA;AAED,iBAAS,OAAO,CAAC,EACf,IAAa,EACb,O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EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface SkeletonProps extends React.ComponentProps<"div"> {
|
|
2
|
+
/** Animation variant: pulse (default) or shimmer (premium) */
|
|
3
|
+
variant?: "pulse" | "shimmer";
|
|
4
|
+
}
|
|
5
|
+
declare function Skeleton({ className, variant, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Skeleton };
|
|
7
|
+
export type { SkeletonProps };
|
|
8
|
+
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AAEA,UAAU,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;IACzD,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAc1E;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
3
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Slider };
|
|
5
|
+
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CA8CnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,4CAiB1C,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
3
|
+
declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Switch };
|
|
5
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAkBnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Labels for internationalization
|
|
3
|
+
*/
|
|
4
|
+
export interface TablePaginationLabels {
|
|
5
|
+
/** "Anterior" */
|
|
6
|
+
previous?: string;
|
|
7
|
+
/** "Próxima" */
|
|
8
|
+
next?: string;
|
|
9
|
+
/** "Primeira" */
|
|
10
|
+
first?: string;
|
|
11
|
+
/** "Última" */
|
|
12
|
+
last?: string;
|
|
13
|
+
/** "Mostrando" */
|
|
14
|
+
showing?: string;
|
|
15
|
+
/** "de" */
|
|
16
|
+
of?: string;
|
|
17
|
+
/** "resultados" */
|
|
18
|
+
results?: string;
|
|
19
|
+
/** "Itens por página" */
|
|
20
|
+
itemsPerPage?: string;
|
|
21
|
+
/** "Página" */
|
|
22
|
+
page?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Props for the TablePagination component
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* // With useTablePagination hook
|
|
30
|
+
* const pagination = useTablePagination(data, { pageSize: 10 });
|
|
31
|
+
*
|
|
32
|
+
* <TablePagination
|
|
33
|
+
* currentPage={pagination.currentPage}
|
|
34
|
+
* totalPages={pagination.totalPages}
|
|
35
|
+
* pageSize={pagination.pageSize}
|
|
36
|
+
* totalItems={pagination.totalItems}
|
|
37
|
+
* onPageChange={pagination.goToPage}
|
|
38
|
+
* onPageSizeChange={pagination.setPageSize}
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export interface TablePaginationProps {
|
|
43
|
+
/** Current page number (1-indexed) */
|
|
44
|
+
currentPage: number;
|
|
45
|
+
/** Total number of pages */
|
|
46
|
+
totalPages: number;
|
|
47
|
+
/** Current page size */
|
|
48
|
+
pageSize: number;
|
|
49
|
+
/** Total number of items */
|
|
50
|
+
totalItems: number;
|
|
51
|
+
/** Callback when page changes */
|
|
52
|
+
onPageChange: (page: number) => void;
|
|
53
|
+
/** Callback when page size changes */
|
|
54
|
+
onPageSizeChange?: (size: number) => void;
|
|
55
|
+
/** Available page size options */
|
|
56
|
+
pageSizeOptions?: number[];
|
|
57
|
+
/** Maximum number of visible page buttons */
|
|
58
|
+
maxVisiblePages?: number;
|
|
59
|
+
/** Show "Showing X of Y" info */
|
|
60
|
+
showInfo?: boolean;
|
|
61
|
+
/** Show page number buttons */
|
|
62
|
+
showPageNumbers?: boolean;
|
|
63
|
+
/** Show page size selector */
|
|
64
|
+
showPageSizeSelector?: boolean;
|
|
65
|
+
/** Show first/last page buttons */
|
|
66
|
+
showFirstLastButtons?: boolean;
|
|
67
|
+
/** Custom labels for i18n */
|
|
68
|
+
labels?: TablePaginationLabels;
|
|
69
|
+
/** Additional className */
|
|
70
|
+
className?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Generate array of page numbers with ellipsis
|
|
74
|
+
*/
|
|
75
|
+
declare function getPageNumbers(currentPage: number, totalPages: number, maxVisible?: number): (number | "ellipsis")[];
|
|
76
|
+
/**
|
|
77
|
+
* TablePagination Component
|
|
78
|
+
*
|
|
79
|
+
* A complete, ready-to-use pagination component for tables and data grids.
|
|
80
|
+
* Integrates seamlessly with the `useTablePagination` hook.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```tsx
|
|
84
|
+
* import { useTablePagination, TablePagination, Table, TableBody, ... } from "@iclips/ui";
|
|
85
|
+
*
|
|
86
|
+
* function MyTable({ data }) {
|
|
87
|
+
* const pagination = useTablePagination(data, { pageSize: 10 });
|
|
88
|
+
*
|
|
89
|
+
* return (
|
|
90
|
+
* <>
|
|
91
|
+
* <Table>
|
|
92
|
+
* <TableBody>
|
|
93
|
+
* {pagination.paginatedData.map(item => (
|
|
94
|
+
* <TableRow key={item.id}>...</TableRow>
|
|
95
|
+
* ))}
|
|
96
|
+
* </TableBody>
|
|
97
|
+
* </Table>
|
|
98
|
+
*
|
|
99
|
+
* <TablePagination
|
|
100
|
+
* currentPage={pagination.currentPage}
|
|
101
|
+
* totalPages={pagination.totalPages}
|
|
102
|
+
* pageSize={pagination.pageSize}
|
|
103
|
+
* totalItems={pagination.totalItems}
|
|
104
|
+
* onPageChange={pagination.goToPage}
|
|
105
|
+
* onPageSizeChange={pagination.setPageSize}
|
|
106
|
+
* />
|
|
107
|
+
* </>
|
|
108
|
+
* );
|
|
109
|
+
* }
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* ```tsx
|
|
114
|
+
* // Minimal usage (without page size selector)
|
|
115
|
+
* <TablePagination
|
|
116
|
+
* currentPage={1}
|
|
117
|
+
* totalPages={10}
|
|
118
|
+
* pageSize={20}
|
|
119
|
+
* totalItems={200}
|
|
120
|
+
* onPageChange={(page) => setCurrentPage(page)}
|
|
121
|
+
* showPageSizeSelector={false}
|
|
122
|
+
* />
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
export declare function TablePagination({ currentPage, totalPages, pageSize, totalItems, onPageChange, onPageSizeChange, pageSizeOptions, maxVisiblePages, showInfo, showPageNumbers, showPageSizeSelector, showFirstLastButtons, labels: customLabels, className, }: TablePaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
126
|
+
export declare namespace TablePagination {
|
|
127
|
+
var displayName: string;
|
|
128
|
+
}
|
|
129
|
+
export { getPageNumbers };
|
|
130
|
+
//# sourceMappingURL=table-pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-pagination.tsx"],"names":[],"mappings":"AAsBA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,iBAAiB;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;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U,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAwC,EACxC,eAAmB,EACnB,QAAe,EACf,eAAsB,EACtB,oBAA2B,EAC3B,oBAA2B,EAC3B,MAAM,EAAE,YAAY,EACpB,SAAS,GACZ,EAAE,oBAAoB,kDA0JtB;yBAzKe,eAAe;;;AAiL/B,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility types for DataTable implementations
|
|
3
|
+
*
|
|
4
|
+
* These types provide standard interfaces for common DataTable patterns
|
|
5
|
+
* like sorting, pagination, column definitions, and selection.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Direction of sorting
|
|
9
|
+
*/
|
|
10
|
+
export type SortDirection = "asc" | "desc" | null;
|
|
11
|
+
/**
|
|
12
|
+
* Sort configuration for a table
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const [sortConfig, setSortConfig] = useState<SortConfig<User>>({
|
|
17
|
+
* column: "name",
|
|
18
|
+
* direction: "asc"
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export interface SortConfig<T> {
|
|
23
|
+
column: keyof T | null;
|
|
24
|
+
direction: SortDirection;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Column definition for a DataTable
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const columns: ColumnDef<User>[] = [
|
|
32
|
+
* {
|
|
33
|
+
* key: "name",
|
|
34
|
+
* header: "Name",
|
|
35
|
+
* sortable: true,
|
|
36
|
+
* width: "200px"
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* key: "email",
|
|
40
|
+
* header: "Email",
|
|
41
|
+
* render: (value, row) => <a href={`mailto:${value}`}>{value}</a>
|
|
42
|
+
* }
|
|
43
|
+
* ];
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export interface ColumnDef<T extends Record<string, any>> {
|
|
47
|
+
/** Key of the data property to display */
|
|
48
|
+
key: keyof T;
|
|
49
|
+
/** Header label or React node */
|
|
50
|
+
header: string | React.ReactNode;
|
|
51
|
+
/** Whether this column is sortable */
|
|
52
|
+
sortable?: boolean;
|
|
53
|
+
/** Column width (CSS value) */
|
|
54
|
+
width?: string | number;
|
|
55
|
+
/** Text alignment */
|
|
56
|
+
align?: "left" | "center" | "right";
|
|
57
|
+
/** Custom render function for the cell content */
|
|
58
|
+
render?: (value: T[keyof T], row: T, index: number) => React.ReactNode;
|
|
59
|
+
/** Additional className for the cell */
|
|
60
|
+
className?: string;
|
|
61
|
+
/** Additional className for the header */
|
|
62
|
+
headerClassName?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Pagination configuration
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx
|
|
69
|
+
* const [pagination, setPagination] = useState<PaginationConfig>({
|
|
70
|
+
* currentPage: 1,
|
|
71
|
+
* pageSize: 10,
|
|
72
|
+
* totalItems: 100
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
export interface PaginationConfig {
|
|
77
|
+
/** Current page number (1-indexed) */
|
|
78
|
+
currentPage: number;
|
|
79
|
+
/** Number of items per page */
|
|
80
|
+
pageSize: number;
|
|
81
|
+
/** Total number of items */
|
|
82
|
+
totalItems: number;
|
|
83
|
+
/** Callback when page changes */
|
|
84
|
+
onPageChange?: (page: number) => void;
|
|
85
|
+
/** Callback when page size changes */
|
|
86
|
+
onPageSizeChange?: (size: number) => void;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Helper to calculate pagination metadata
|
|
90
|
+
*/
|
|
91
|
+
export interface PaginationMetadata {
|
|
92
|
+
totalPages: number;
|
|
93
|
+
startIndex: number;
|
|
94
|
+
endIndex: number;
|
|
95
|
+
hasNextPage: boolean;
|
|
96
|
+
hasPreviousPage: boolean;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Selection state for table rows
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```tsx
|
|
103
|
+
* const [selection, setSelection] = useState<SelectionState>({
|
|
104
|
+
* selectedIds: new Set(["1", "2"]),
|
|
105
|
+
* isAllSelected: false
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
export interface SelectionState {
|
|
110
|
+
/** Set of selected row IDs */
|
|
111
|
+
selectedIds: Set<string | number>;
|
|
112
|
+
/** Whether all rows are selected */
|
|
113
|
+
isAllSelected: boolean;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Complete table state with all common features
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* ```tsx
|
|
120
|
+
* const [tableState, setTableState] = useState<TableState<User>>({
|
|
121
|
+
* data: users,
|
|
122
|
+
* sort: { column: "name", direction: "asc" },
|
|
123
|
+
* pagination: { currentPage: 1, pageSize: 10, totalItems: 100 },
|
|
124
|
+
* selection: { selectedIds: new Set(), isAllSelected: false }
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
export interface TableState<T extends Record<string, any>> {
|
|
129
|
+
/** Table data */
|
|
130
|
+
data: T[];
|
|
131
|
+
/** Sort configuration */
|
|
132
|
+
sort?: SortConfig<T>;
|
|
133
|
+
/** Pagination configuration */
|
|
134
|
+
pagination?: PaginationConfig;
|
|
135
|
+
/** Selection state */
|
|
136
|
+
selection?: SelectionState;
|
|
137
|
+
/** Loading state */
|
|
138
|
+
isLoading?: boolean;
|
|
139
|
+
/** Error state */
|
|
140
|
+
error?: string | null;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Filter operator types
|
|
144
|
+
*/
|
|
145
|
+
export type FilterOperator = "equals" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "between" | "in";
|
|
146
|
+
/**
|
|
147
|
+
* Filter configuration for a column
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* ```tsx
|
|
151
|
+
* const filters: FilterConfig<User>[] = [
|
|
152
|
+
* {
|
|
153
|
+
* column: "status",
|
|
154
|
+
* operator: "in",
|
|
155
|
+
* value: ["active", "pending"]
|
|
156
|
+
* },
|
|
157
|
+
* {
|
|
158
|
+
* column: "age",
|
|
159
|
+
* operator: "greaterThan",
|
|
160
|
+
* value: 18
|
|
161
|
+
* }
|
|
162
|
+
* ];
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
export interface FilterConfig<T> {
|
|
166
|
+
column: keyof T;
|
|
167
|
+
operator: FilterOperator;
|
|
168
|
+
value: any;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Configuration for draggable rows
|
|
172
|
+
*/
|
|
173
|
+
export interface DragDropConfig {
|
|
174
|
+
/** Whether drag and drop is enabled */
|
|
175
|
+
enabled: boolean;
|
|
176
|
+
/** Callback when a row is dropped */
|
|
177
|
+
onDrop?: (dragIndex: number, dropIndex: number) => void;
|
|
178
|
+
/** Custom drag handle component */
|
|
179
|
+
dragHandle?: React.ReactNode;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Configuration for expandable rows
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* ```tsx
|
|
186
|
+
* const expandConfig: RowExpansionConfig<User> = {
|
|
187
|
+
* enabled: true,
|
|
188
|
+
* expandedRows: new Set(["1", "3"]),
|
|
189
|
+
* renderExpandedContent: (row) => (
|
|
190
|
+
* <div>Details for {row.name}</div>
|
|
191
|
+
* )
|
|
192
|
+
* };
|
|
193
|
+
* ```
|
|
194
|
+
*/
|
|
195
|
+
export interface RowExpansionConfig<T extends Record<string, any>> {
|
|
196
|
+
/** Whether row expansion is enabled */
|
|
197
|
+
enabled: boolean;
|
|
198
|
+
/** Set of expanded row IDs */
|
|
199
|
+
expandedRows?: Set<string | number>;
|
|
200
|
+
/** Callback when row expansion changes */
|
|
201
|
+
onExpansionChange?: (rowId: string | number, isExpanded: boolean) => void;
|
|
202
|
+
/** Custom content to render when row is expanded */
|
|
203
|
+
renderExpandedContent?: (row: T, index: number) => React.ReactNode;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Sort function type
|
|
207
|
+
*/
|
|
208
|
+
export type SortFunction<T extends Record<string, any>> = (a: T, b: T, config: SortConfig<T>) => number;
|
|
209
|
+
/**
|
|
210
|
+
* Filter function type
|
|
211
|
+
*/
|
|
212
|
+
export type FilterFunction<T extends Record<string, any>> = (row: T, filters: FilterConfig<T>[]) => boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Helper function to calculate pagination metadata
|
|
215
|
+
*/
|
|
216
|
+
export declare function calculatePaginationMetadata(config: PaginationConfig): PaginationMetadata;
|
|
217
|
+
//# sourceMappingURL=table-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-types.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAElD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,aAAa,CAAC;CAC1B;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACtD,0CAA0C;IAC1C,GAAG,EAAE,MAAM,CAAC,CAAC;IAEb,iCAAiC;IACjC,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAEjC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,+BAA+B;IAC/B,KAAK,CAAC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O,KAAK,IAAI,CAAC;IAE1E,oDAAoD;IACpD,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CACpE;AAMD;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;AAExG;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,OAAO,CAAC;AAE5G;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,gBAAgB,GACvB,kBAAkB,CAapB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface TableProps extends React.ComponentProps<"table"> {
|
|
3
|
+
}
|
|
4
|
+
export interface TableHeaderProps extends React.ComponentProps<"thead"> {
|
|
5
|
+
}
|
|
6
|
+
export interface TableBodyProps extends React.ComponentProps<"tbody"> {
|
|
7
|
+
}
|
|
8
|
+
export interface TableFooterProps extends React.ComponentProps<"tfoot"> {
|
|
9
|
+
}
|
|
10
|
+
export interface TableRowProps extends React.ComponentProps<"tr"> {
|
|
11
|
+
}
|
|
12
|
+
export interface TableHeadProps extends React.ComponentProps<"th"> {
|
|
13
|
+
}
|
|
14
|
+
export interface TableCellProps extends React.ComponentProps<"td"> {
|
|
15
|
+
}
|
|
16
|
+
export interface TableCaptionProps extends React.ComponentProps<"caption"> {
|
|
17
|
+
}
|
|
18
|
+
declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
19
|
+
declare const TableHeader: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
20
|
+
declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
21
|
+
declare const TableFooter: React.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
22
|
+
declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
23
|
+
declare const TableHead: React.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
24
|
+
declare const TableCell: React.ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
25
|
+
declare const TableCaption: React.ForwardRefExoticComponent<Omit<TableCaptionProps, "ref"> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
26
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
27
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AACpE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC1E,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AACxE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAC1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACpE,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACrE,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;CAAG;AACrE,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC;CAAG;AAM7E,QAAA,MAAM,KAAK,kGAgBV,CAAC;AAGF,QAAA,MAAM,WAAW,+GAWhB,CAAC;AAGF,QAAA,MAAM,SAAS,6GAWd,CAAC;AAGF,QAAA,MAAM,WAAW,+GAchB,CAAC;AAGF,QAAA,MAAM,QAAQ,wGAeZ,CAAC;AAGH,QAAA,MAAM,SAAS,0GAed,CAAC;AAGF,QAAA,MAAM,SAAS,0GAed,CAAC;AAGF,QAAA,MAAM,YAAY,gHAWjB,CAAC;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
|
+
declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
8
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAItD,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAWjD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAWpD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GanttTask } from './gantt-chart';
|
|
2
|
+
export interface TaskEditDialogProps {
|
|
3
|
+
task: GanttTask | null;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
onSave: (task: GanttTask) => void;
|
|
7
|
+
availableTasks?: GanttTask[];
|
|
8
|
+
availableAssignees?: {
|
|
9
|
+
name: string;
|
|
10
|
+
initials?: string;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
export declare function TaskEditDialog({ task, open, onOpenChange, onSave, availableTasks, availableAssignees, }: TaskEditDialogProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
//# sourceMappingURL=task-edit-dialog.d.ts.map
|