@oneplatformdev/ui 0.0.1-beta.11
Sign up to get free protection for your applications and to get access to all the features.
- package/Accordion/Accordion.d.ts +7 -0
- package/Accordion/Accordion.mjs +46 -0
- package/Accordion/index.d.ts +1 -0
- package/Accordion/index.mjs +7 -0
- package/Accordion/package.json +7 -0
- package/Alert/Alert.d.ts +7 -0
- package/Alert/Alert.mjs +37 -0
- package/Alert/alertVariants.d.ts +4 -0
- package/Alert/alertVariants.mjs +19 -0
- package/Alert/index.d.ts +1 -0
- package/Alert/index.mjs +6 -0
- package/Alert/package.json +7 -0
- package/AlertDialog/AlertDialog.d.ts +65 -0
- package/AlertDialog/AlertDialog.mjs +97 -0
- package/AlertDialog/AlertDialog.types.d.ts +53 -0
- package/AlertDialog/AlertDialogRoot.d.ts +21 -0
- package/AlertDialog/AlertDialogRoot.mjs +114 -0
- package/AlertDialog/index.d.ts +3 -0
- package/AlertDialog/index.mjs +16 -0
- package/AlertDialog/package.json +7 -0
- package/AreaChart/AreaChart.d.ts +4 -0
- package/AreaChart/AreaChart.mjs +27 -0
- package/AreaChart/AreaChart.types.d.ts +15 -0
- package/AreaChart/index.d.ts +2 -0
- package/AreaChart/index.mjs +4 -0
- package/AreaChart/package.json +7 -0
- package/Aside/Aside.d.ts +4 -0
- package/Aside/Aside.mjs +23 -0
- package/Aside/Aside.types.d.ts +18 -0
- package/Aside/AsideSidebar.d.ts +3 -0
- package/Aside/AsideSidebar.mjs +37 -0
- package/Aside/index.d.ts +3 -0
- package/Aside/index.mjs +7 -0
- package/Aside/package.json +7 -0
- package/AspectRatio/AspectRatio.d.ts +2 -0
- package/AspectRatio/AspectRatio.mjs +5 -0
- package/AspectRatio/index.d.ts +1 -0
- package/AspectRatio/index.mjs +5 -0
- package/AspectRatio/package.json +7 -0
- package/Avatar/Avatar.d.ts +5 -0
- package/Avatar/Avatar.mjs +42 -0
- package/Avatar/index.d.ts +1 -0
- package/Avatar/index.mjs +6 -0
- package/Avatar/package.json +7 -0
- package/Badge/Badge.d.ts +5 -0
- package/Badge/Badge.mjs +10 -0
- package/Badge/Badge.types.d.ts +5 -0
- package/Badge/badgeVariants.d.ts +3 -0
- package/Badge/badgeVariants.mjs +20 -0
- package/Badge/index.d.ts +3 -0
- package/Badge/index.mjs +6 -0
- package/Badge/package.json +7 -0
- package/Breadcrumb/Breadcrumb.d.ts +19 -0
- package/Breadcrumb/Breadcrumb.mjs +90 -0
- package/Breadcrumb/index.d.ts +1 -0
- package/Breadcrumb/index.mjs +10 -0
- package/Breadcrumb/package.json +7 -0
- package/Button/Button.d.ts +4 -0
- package/Button/Button.mjs +31 -0
- package/Button/Button.types.d.ts +8 -0
- package/Button/buttonVariants.d.ts +4 -0
- package/Button/buttonVariants.mjs +29 -0
- package/Button/index.d.ts +3 -0
- package/Button/index.mjs +7 -0
- package/Button/package.json +7 -0
- package/ButtonIcon/ButtonIcon.d.ts +3 -0
- package/ButtonIcon/ButtonIcon.mjs +29 -0
- package/ButtonIcon/ButtonIcon.types.d.ts +7 -0
- package/ButtonIcon/buttonIconVariants.d.ts +7 -0
- package/ButtonIcon/buttonIconVariants.mjs +139 -0
- package/ButtonIcon/index.d.ts +3 -0
- package/ButtonIcon/index.mjs +7 -0
- package/ButtonIcon/package.json +7 -0
- package/Calendar/Calendar.d.ts +8 -0
- package/Calendar/Calendar.mjs +63 -0
- package/Calendar/index.d.ts +1 -0
- package/Calendar/index.mjs +4 -0
- package/Calendar/package.json +7 -0
- package/Card/Card.d.ts +8 -0
- package/Card/Card.mjs +61 -0
- package/Card/index.d.ts +1 -0
- package/Card/index.mjs +9 -0
- package/Card/package.json +7 -0
- package/Carousel/Carousel.d.ts +18 -0
- package/Carousel/Carousel.mjs +168 -0
- package/Carousel/index.d.ts +1 -0
- package/Carousel/index.mjs +8 -0
- package/Carousel/package.json +7 -0
- package/Chart/Chart.d.ts +62 -0
- package/Chart/Chart.mjs +210 -0
- package/Chart/index.d.ts +1 -0
- package/Chart/index.mjs +9 -0
- package/Chart/package.json +7 -0
- package/Checkbox/Checkbox.d.ts +4 -0
- package/Checkbox/Checkbox.mjs +27 -0
- package/Checkbox/index.d.ts +1 -0
- package/Checkbox/index.mjs +4 -0
- package/Checkbox/package.json +7 -0
- package/Collapsible/Collapsible.d.ts +5 -0
- package/Collapsible/Collapsible.mjs +7 -0
- package/Collapsible/index.d.ts +1 -0
- package/Collapsible/index.mjs +6 -0
- package/Collapsible/package.json +7 -0
- package/Combobox/Combobox.d.ts +4 -0
- package/Combobox/Combobox.mjs +126 -0
- package/Combobox/Combobox.types.d.ts +15 -0
- package/Combobox/index.d.ts +2 -0
- package/Combobox/index.mjs +4 -0
- package/Combobox/package.json +7 -0
- package/Command/Command.d.ts +80 -0
- package/Command/Command.mjs +109 -0
- package/Command/index.d.ts +1 -0
- package/Command/index.mjs +12 -0
- package/Command/package.json +7 -0
- package/DataTable/DataTable.d.ts +4 -0
- package/DataTable/DataTable.mjs +64 -0
- package/DataTable/DataTable.types.d.ts +11 -0
- package/DataTable/index.d.ts +2 -0
- package/DataTable/index.mjs +4 -0
- package/DataTable/package.json +7 -0
- package/DataTable/useDataTable.d.ts +3 -0
- package/DataTable/useDataTable.mjs +30 -0
- package/DatePicker/DatePicker.d.ts +3 -0
- package/DatePicker/DatePicker.mjs +699 -0
- package/DatePicker/DatePicker.types.d.ts +5 -0
- package/DatePicker/index.d.ts +3 -0
- package/DatePicker/index.mjs +5 -0
- package/DatePicker/package.json +7 -0
- package/Dialog/Dialog.d.ts +19 -0
- package/Dialog/Dialog.mjs +100 -0
- package/Dialog/index.d.ts +1 -0
- package/Dialog/index.mjs +13 -0
- package/Dialog/package.json +7 -0
- package/Drawer/Drawer.d.ts +22 -0
- package/Drawer/Drawer.mjs +98 -0
- package/Drawer/index.d.ts +1 -0
- package/Drawer/index.mjs +13 -0
- package/Drawer/package.json +7 -0
- package/DropdownMenu/DropdownMenu.d.ts +27 -0
- package/DropdownMenu/DropdownMenu.mjs +144 -0
- package/DropdownMenu/index.d.ts +1 -0
- package/DropdownMenu/index.mjs +18 -0
- package/DropdownMenu/package.json +7 -0
- package/Dropzone/Dropzone.d.ts +16 -0
- package/Dropzone/Dropzone.mjs +2923 -0
- package/Dropzone/Dropzone.types.d.ts +21 -0
- package/Dropzone/FilePreview.d.ts +15 -0
- package/Dropzone/FilePreview.mjs +7 -0
- package/Dropzone/index.d.ts +2 -0
- package/Dropzone/index.mjs +7 -0
- package/Dropzone/package.json +7 -0
- package/FilePreview-C6IeuOqo.js +40 -0
- package/Form/Form.d.ts +23 -0
- package/Form/Form.mjs +95 -0
- package/Form/FormRenderControl.d.ts +5 -0
- package/Form/FormRenderControl.mjs +21 -0
- package/Form/FormRenderControl.types.d.ts +18 -0
- package/Form/index.d.ts +3 -0
- package/Form/index.mjs +13 -0
- package/Form/package.json +7 -0
- package/FormCheckbox/FormCheckbox.d.ts +5 -0
- package/FormCheckbox/FormCheckbox.mjs +30 -0
- package/FormCheckbox/FormCheckbox.types.d.ts +7 -0
- package/FormCheckbox/index.d.ts +2 -0
- package/FormCheckbox/index.mjs +4 -0
- package/FormCheckbox/package.json +7 -0
- package/FormCombobox/FormCombobox.d.ts +4 -0
- package/FormCombobox/FormCombobox.mjs +26 -0
- package/FormCombobox/FormCombobox.types.d.ts +7 -0
- package/FormCombobox/index.d.ts +2 -0
- package/FormCombobox/index.mjs +4 -0
- package/FormCombobox/package.json +7 -0
- package/FormDatePicker/FormDatePicker.d.ts +4 -0
- package/FormDatePicker/FormDatePicker.mjs +27 -0
- package/FormDatePicker/FormDatePicker.types.d.ts +7 -0
- package/FormDatePicker/index.d.ts +3 -0
- package/FormDatePicker/index.mjs +5 -0
- package/FormDatePicker/package.json +7 -0
- package/FormInput/FormInput.d.ts +5 -0
- package/FormInput/FormInput.mjs +26 -0
- package/FormInput/FormInput.types.d.ts +7 -0
- package/FormInput/index.d.ts +2 -0
- package/FormInput/index.mjs +4 -0
- package/FormInput/package.json +7 -0
- package/FormSelect/FormSelect.d.ts +5 -0
- package/FormSelect/FormSelect.mjs +38 -0
- package/FormSelect/FormSelect.types.d.ts +7 -0
- package/FormSelect/index.d.ts +2 -0
- package/FormSelect/index.mjs +4 -0
- package/FormSelect/package.json +7 -0
- package/FormTextarea/FormTextarea.d.ts +5 -0
- package/FormTextarea/FormTextarea.mjs +26 -0
- package/FormTextarea/FormTextarea.types.d.ts +7 -0
- package/FormTextarea/index.d.ts +2 -0
- package/FormTextarea/index.mjs +4 -0
- package/FormTextarea/package.json +7 -0
- package/Header/Header.d.ts +4 -0
- package/Header/Header.mjs +26 -0
- package/Header/Header.types.d.ts +3 -0
- package/Header/index.d.ts +2 -0
- package/Header/index.mjs +5 -0
- package/Header/package.json +7 -0
- package/HoverCard/HoverCard.d.ts +6 -0
- package/HoverCard/HoverCard.mjs +23 -0
- package/HoverCard/index.d.ts +1 -0
- package/HoverCard/index.mjs +6 -0
- package/HoverCard/package.json +7 -0
- package/Input/Input.d.ts +6 -0
- package/Input/Input.mjs +61 -0
- package/Input/Input.types.d.ts +13 -0
- package/Input/index.d.ts +3 -0
- package/Input/index.mjs +7 -0
- package/Input/inputVariants.d.ts +3 -0
- package/Input/inputVariants.mjs +18 -0
- package/Input/package.json +7 -0
- package/InputOTP/InputOTP.d.ts +34 -0
- package/InputOTP/InputOTP.mjs +48 -0
- package/InputOTP/index.d.ts +1 -0
- package/InputOTP/index.mjs +7 -0
- package/InputOTP/package.json +7 -0
- package/Label/Label.d.ts +5 -0
- package/Label/Label.mjs +17 -0
- package/Label/index.d.ts +2 -0
- package/Label/index.mjs +6 -0
- package/Label/labelVariants.d.ts +1 -0
- package/Label/labelVariants.mjs +7 -0
- package/Label/package.json +7 -0
- package/LazyLoader/LazyLoader.d.ts +20 -0
- package/LazyLoader/LazyLoader.mjs +7 -0
- package/LazyLoader/index.d.ts +1 -0
- package/LazyLoader/index.mjs +5 -0
- package/LazyLoader/package.json +7 -0
- package/LoadingMask/LoadingMask.d.ts +1 -0
- package/LoadingMask/LoadingMask.mjs +59 -0
- package/LoadingMask/index.d.ts +1 -0
- package/LoadingMask/index.mjs +4 -0
- package/LoadingMask/package.json +7 -0
- package/LoadingProgress/LoadingProgress.d.ts +4 -0
- package/LoadingProgress/LoadingProgress.mjs +37 -0
- package/LoadingProgress/LoadingProgress.types.d.ts +8 -0
- package/LoadingProgress/index.d.ts +3 -0
- package/LoadingProgress/index.mjs +6 -0
- package/LoadingProgress/loadingProgressVariants.d.ts +4 -0
- package/LoadingProgress/loadingProgressVariants.mjs +24 -0
- package/LoadingProgress/package.json +7 -0
- package/Menubar/Menubar.d.ts +28 -0
- package/Menubar/Menubar.mjs +175 -0
- package/Menubar/index.d.ts +1 -0
- package/Menubar/index.mjs +19 -0
- package/Menubar/package.json +7 -0
- package/NavigationMenu/NavigationMenu.d.ts +11 -0
- package/NavigationMenu/NavigationMenu.mjs +101 -0
- package/NavigationMenu/index.d.ts +2 -0
- package/NavigationMenu/index.mjs +13 -0
- package/NavigationMenu/navigationMenuVariants.d.ts +1 -0
- package/NavigationMenu/navigationMenuVariants.mjs +7 -0
- package/NavigationMenu/package.json +7 -0
- package/Pagination/Pagination.d.ts +28 -0
- package/Pagination/Pagination.mjs +106 -0
- package/Pagination/index.d.ts +1 -0
- package/Pagination/index.mjs +10 -0
- package/Pagination/package.json +7 -0
- package/Popover/Popover.d.ts +7 -0
- package/Popover/Popover.mjs +24 -0
- package/Popover/index.d.ts +1 -0
- package/Popover/index.mjs +7 -0
- package/Popover/package.json +7 -0
- package/Progress/Progress.d.ts +4 -0
- package/Progress/Progress.mjs +26 -0
- package/Progress/index.d.ts +1 -0
- package/Progress/index.mjs +4 -0
- package/Progress/package.json +7 -0
- package/README.md +33 -0
- package/RadioGroup/RadioGroup.d.ts +5 -0
- package/RadioGroup/RadioGroup.mjs +31 -0
- package/RadioGroup/index.d.ts +1 -0
- package/RadioGroup/index.mjs +5 -0
- package/RadioGroup/package.json +7 -0
- package/Resizable/Resizable.d.ts +23 -0
- package/Resizable/Resizable.mjs +36 -0
- package/Resizable/index.d.ts +1 -0
- package/Resizable/index.mjs +6 -0
- package/Resizable/package.json +7 -0
- package/ScrollArea/ScrollArea.d.ts +5 -0
- package/ScrollArea/ScrollArea.mjs +38 -0
- package/ScrollArea/index.d.ts +1 -0
- package/ScrollArea/index.mjs +5 -0
- package/ScrollArea/package.json +7 -0
- package/Search/Search.d.ts +4 -0
- package/Search/Search.mjs +30 -0
- package/Search/Search.types.d.ts +6 -0
- package/Search/index.d.ts +3 -0
- package/Search/index.mjs +5 -0
- package/Search/package.json +7 -0
- package/Select/Select.d.ts +3 -0
- package/Select/Select.mjs +72 -0
- package/Select/Select.types.d.ts +29 -0
- package/Select/SelectRoot.d.ts +13 -0
- package/Select/SelectRoot.mjs +121 -0
- package/Select/index.d.ts +3 -0
- package/Select/index.mjs +15 -0
- package/Select/package.json +7 -0
- package/Separator/Separator.d.ts +4 -0
- package/Separator/Separator.mjs +24 -0
- package/Separator/index.d.ts +1 -0
- package/Separator/index.mjs +4 -0
- package/Separator/package.json +7 -0
- package/Sheet/Sheet.d.ts +25 -0
- package/Sheet/Sheet.mjs +110 -0
- package/Sheet/index.d.ts +1 -0
- package/Sheet/index.mjs +13 -0
- package/Sheet/package.json +7 -0
- package/Sidebar/Sidebar.d.ts +66 -0
- package/Sidebar/Sidebar.mjs +543 -0
- package/Sidebar/index.d.ts +1 -0
- package/Sidebar/index.mjs +27 -0
- package/Sidebar/package.json +7 -0
- package/Skeleton/Skeleton.d.ts +4 -0
- package/Skeleton/Skeleton.mjs +17 -0
- package/Skeleton/index.d.ts +1 -0
- package/Skeleton/index.mjs +4 -0
- package/Skeleton/package.json +7 -0
- package/Slider/Slider.d.ts +4 -0
- package/Slider/Slider.mjs +23 -0
- package/Slider/index.d.ts +1 -0
- package/Slider/index.mjs +4 -0
- package/Slider/package.json +7 -0
- package/Sonner/Sonner.d.ts +5 -0
- package/Sonner/Sonner.mjs +25 -0
- package/Sonner/index.d.ts +1 -0
- package/Sonner/index.mjs +4 -0
- package/Sonner/package.json +7 -0
- package/Switch/Switch.d.ts +4 -0
- package/Switch/Switch.mjs +27 -0
- package/Switch/index.d.ts +1 -0
- package/Switch/index.mjs +4 -0
- package/Switch/package.json +7 -0
- package/Table/Table.d.ts +10 -0
- package/Table/Table.mjs +90 -0
- package/Table/index.d.ts +1 -0
- package/Table/index.mjs +11 -0
- package/Table/package.json +7 -0
- package/Tabs/Tabs.d.ts +4 -0
- package/Tabs/Tabs.mjs +9 -0
- package/Tabs/Tabs.types.d.ts +9 -0
- package/Tabs/TabsRoot.d.ts +7 -0
- package/Tabs/TabsRoot.mjs +46 -0
- package/Tabs/index.d.ts +2 -0
- package/Tabs/index.mjs +9 -0
- package/Tabs/package.json +7 -0
- package/Textarea/Textarea.d.ts +4 -0
- package/Textarea/Textarea.mjs +18 -0
- package/Textarea/Textarea.types.d.ts +4 -0
- package/Textarea/index.d.ts +2 -0
- package/Textarea/index.mjs +4 -0
- package/Textarea/package.json +7 -0
- package/Theme/ThemeModeToggle.d.ts +8 -0
- package/Theme/ThemeModeToggle.mjs +48 -0
- package/Theme/ThemeProvider.d.ts +4 -0
- package/Theme/ThemeProvider.mjs +27 -0
- package/Theme/index.d.ts +2 -0
- package/Theme/index.mjs +6 -0
- package/Theme/package.json +7 -0
- package/Toast/Toast.d.ts +13 -0
- package/Toast/Toast.mjs +80 -0
- package/Toast/Toast.types.d.ts +34 -0
- package/Toast/index.d.ts +3 -0
- package/Toast/index.mjs +15 -0
- package/Toast/package.json +7 -0
- package/Toast/toast.constants.d.ts +6 -0
- package/Toast/toast.constants.mjs +9 -0
- package/Toast/toastVariants.d.ts +3 -0
- package/Toast/toastVariants.mjs +21 -0
- package/Toast/useToast.d.ts +16 -0
- package/Toast/useToast.mjs +101 -0
- package/Toaster/Toaster.d.ts +1 -0
- package/Toaster/Toaster.mjs +22 -0
- package/Toaster/index.d.ts +1 -0
- package/Toaster/index.mjs +4 -0
- package/Toaster/package.json +7 -0
- package/Toggle/Toggle.d.ts +12 -0
- package/Toggle/Toggle.mjs +37 -0
- package/Toggle/index.d.ts +1 -0
- package/Toggle/index.mjs +5 -0
- package/Toggle/package.json +7 -0
- package/ToggleGroup/ToggleGroup.d.ts +12 -0
- package/ToggleGroup/ToggleGroup.mjs +41 -0
- package/ToggleGroup/index.d.ts +1 -0
- package/ToggleGroup/index.mjs +5 -0
- package/ToggleGroup/package.json +7 -0
- package/Tooltip/Tooltip.d.ts +4 -0
- package/Tooltip/Tooltip.mjs +12 -0
- package/Tooltip/Tooltip.types.d.ts +8 -0
- package/Tooltip/TooltipRoot.d.ts +7 -0
- package/Tooltip/TooltipRoot.mjs +23 -0
- package/Tooltip/index.d.ts +3 -0
- package/Tooltip/index.mjs +9 -0
- package/Tooltip/package.json +7 -0
- package/index.css +1 -0
- package/index.d.ts +66 -0
- package/index.mjs +358 -0
- package/package.json +103 -0
- package/tailwind.config.mjs +148 -0
package/Chart/Chart.mjs
ADDED
@@ -0,0 +1,210 @@
|
|
1
|
+
import { jsx as s, jsxs as m, Fragment as P } from "react/jsx-runtime";
|
2
|
+
import * as g from "react";
|
3
|
+
import * as C from "recharts";
|
4
|
+
import { cn as i } from "@oneplatformdev/utils";
|
5
|
+
const I = { light: "", dark: ".dark" }, j = g.createContext(null);
|
6
|
+
function $() {
|
7
|
+
const o = g.useContext(j);
|
8
|
+
if (!o)
|
9
|
+
throw new Error("useChart must be used within a <ChartContainer />");
|
10
|
+
return o;
|
11
|
+
}
|
12
|
+
const S = g.forwardRef(({ id: o, className: e, children: n, config: r, ...a }, f) => {
|
13
|
+
const l = g.useId(), c = `chart-${o || l.replace(/:/g, "")}`;
|
14
|
+
return /* @__PURE__ */ s(j.Provider, { value: { config: r }, children: /* @__PURE__ */ m(
|
15
|
+
"div",
|
16
|
+
{
|
17
|
+
"data-chart": c,
|
18
|
+
ref: f,
|
19
|
+
className: i(
|
20
|
+
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
|
21
|
+
e
|
22
|
+
),
|
23
|
+
...a,
|
24
|
+
children: [
|
25
|
+
/* @__PURE__ */ s(E, { id: c, config: r }),
|
26
|
+
/* @__PURE__ */ s(C.ResponsiveContainer, { children: n })
|
27
|
+
]
|
28
|
+
}
|
29
|
+
) });
|
30
|
+
});
|
31
|
+
S.displayName = "Chart";
|
32
|
+
const E = ({ id: o, config: e }) => {
|
33
|
+
const n = Object.entries(e).filter(
|
34
|
+
([, r]) => r.theme || r.color
|
35
|
+
);
|
36
|
+
return n.length ? /* @__PURE__ */ s(
|
37
|
+
"style",
|
38
|
+
{
|
39
|
+
dangerouslySetInnerHTML: {
|
40
|
+
__html: Object.entries(I).map(
|
41
|
+
([r, a]) => `
|
42
|
+
${a} [data-chart=${o}] {
|
43
|
+
${n.map(([f, l]) => {
|
44
|
+
var h;
|
45
|
+
const c = ((h = l.theme) == null ? void 0 : h[r]) || l.color;
|
46
|
+
return c ? ` --color-${f}: ${c};` : null;
|
47
|
+
}).join(`
|
48
|
+
`)}
|
49
|
+
}
|
50
|
+
`
|
51
|
+
).join(`
|
52
|
+
`)
|
53
|
+
}
|
54
|
+
}
|
55
|
+
) : null;
|
56
|
+
}, q = C.Tooltip, K = g.forwardRef(
|
57
|
+
({
|
58
|
+
active: o,
|
59
|
+
payload: e,
|
60
|
+
className: n,
|
61
|
+
indicator: r = "dot",
|
62
|
+
hideLabel: a = !1,
|
63
|
+
hideIndicator: f = !1,
|
64
|
+
label: l,
|
65
|
+
labelFormatter: c,
|
66
|
+
labelClassName: h,
|
67
|
+
formatter: u,
|
68
|
+
color: L,
|
69
|
+
nameKey: R,
|
70
|
+
labelKey: _
|
71
|
+
}, T) => {
|
72
|
+
const { config: p } = $(), N = g.useMemo(() => {
|
73
|
+
var x;
|
74
|
+
if (a || !(e != null && e.length))
|
75
|
+
return null;
|
76
|
+
const [t] = e, w = `${_ || t.dataKey || t.name || "value"}`, v = k(p, t, w), d = !_ && typeof l == "string" ? ((x = p[l]) == null ? void 0 : x.label) || l : v == null ? void 0 : v.label;
|
77
|
+
return c ? /* @__PURE__ */ s("div", { className: i("font-medium", h), children: c(d, e) }) : d ? /* @__PURE__ */ s("div", { className: i("font-medium", h), children: d }) : null;
|
78
|
+
}, [
|
79
|
+
l,
|
80
|
+
c,
|
81
|
+
e,
|
82
|
+
a,
|
83
|
+
h,
|
84
|
+
p,
|
85
|
+
_
|
86
|
+
]);
|
87
|
+
if (!o || !(e != null && e.length))
|
88
|
+
return null;
|
89
|
+
const b = e.length === 1 && r !== "dot";
|
90
|
+
return /* @__PURE__ */ m(
|
91
|
+
"div",
|
92
|
+
{
|
93
|
+
ref: T,
|
94
|
+
className: i(
|
95
|
+
"grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",
|
96
|
+
n
|
97
|
+
),
|
98
|
+
children: [
|
99
|
+
b ? null : N,
|
100
|
+
/* @__PURE__ */ s("div", { className: "grid gap-1.5", children: e.map((t, w) => {
|
101
|
+
const v = `${R || t.name || t.dataKey || "value"}`, d = k(p, t, v), x = L || t.payload.fill || t.color;
|
102
|
+
return /* @__PURE__ */ s(
|
103
|
+
"div",
|
104
|
+
{
|
105
|
+
className: i(
|
106
|
+
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
|
107
|
+
r === "dot" && "items-center"
|
108
|
+
),
|
109
|
+
children: u && (t == null ? void 0 : t.value) !== void 0 && t.name ? u(t.value, t.name, t, w, t.payload) : /* @__PURE__ */ m(P, { children: [
|
110
|
+
d != null && d.icon ? /* @__PURE__ */ s(d.icon, {}) : !f && /* @__PURE__ */ s(
|
111
|
+
"div",
|
112
|
+
{
|
113
|
+
className: i(
|
114
|
+
"shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",
|
115
|
+
{
|
116
|
+
"h-2.5 w-2.5": r === "dot",
|
117
|
+
"w-1": r === "line",
|
118
|
+
"w-0 border-[1.5px] border-dashed bg-transparent": r === "dashed",
|
119
|
+
"my-0.5": b && r === "dashed"
|
120
|
+
}
|
121
|
+
),
|
122
|
+
style: {
|
123
|
+
"--color-bg": x,
|
124
|
+
"--color-border": x
|
125
|
+
}
|
126
|
+
}
|
127
|
+
),
|
128
|
+
/* @__PURE__ */ m(
|
129
|
+
"div",
|
130
|
+
{
|
131
|
+
className: i(
|
132
|
+
"flex flex-1 justify-between leading-none",
|
133
|
+
b ? "items-end" : "items-center"
|
134
|
+
),
|
135
|
+
children: [
|
136
|
+
/* @__PURE__ */ m("div", { className: "grid gap-1.5", children: [
|
137
|
+
b ? N : null,
|
138
|
+
/* @__PURE__ */ s("span", { className: "text-muted-foreground", children: (d == null ? void 0 : d.label) || t.name })
|
139
|
+
] }),
|
140
|
+
t.value && /* @__PURE__ */ s("span", { className: "font-mono font-medium tabular-nums text-foreground", children: t.value.toLocaleString() })
|
141
|
+
]
|
142
|
+
}
|
143
|
+
)
|
144
|
+
] })
|
145
|
+
},
|
146
|
+
t.dataKey
|
147
|
+
);
|
148
|
+
}) })
|
149
|
+
]
|
150
|
+
}
|
151
|
+
);
|
152
|
+
}
|
153
|
+
);
|
154
|
+
K.displayName = "ChartTooltip";
|
155
|
+
const y = C.Legend, M = g.forwardRef(
|
156
|
+
({ className: o, hideIcon: e = !1, payload: n, verticalAlign: r = "bottom", nameKey: a }, f) => {
|
157
|
+
const { config: l } = $();
|
158
|
+
return n != null && n.length ? /* @__PURE__ */ s(
|
159
|
+
"div",
|
160
|
+
{
|
161
|
+
ref: f,
|
162
|
+
className: i(
|
163
|
+
"flex items-center justify-center gap-4",
|
164
|
+
r === "top" ? "pb-3" : "pt-3",
|
165
|
+
o
|
166
|
+
),
|
167
|
+
children: n.map((c) => {
|
168
|
+
const h = `${a || c.dataKey || "value"}`, u = k(l, c, h);
|
169
|
+
return /* @__PURE__ */ m(
|
170
|
+
"div",
|
171
|
+
{
|
172
|
+
className: i(
|
173
|
+
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
|
174
|
+
),
|
175
|
+
children: [
|
176
|
+
u != null && u.icon && !e ? /* @__PURE__ */ s(u.icon, {}) : /* @__PURE__ */ s(
|
177
|
+
"div",
|
178
|
+
{
|
179
|
+
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
180
|
+
style: {
|
181
|
+
backgroundColor: c.color
|
182
|
+
}
|
183
|
+
}
|
184
|
+
),
|
185
|
+
u == null ? void 0 : u.label
|
186
|
+
]
|
187
|
+
},
|
188
|
+
c.value
|
189
|
+
);
|
190
|
+
})
|
191
|
+
}
|
192
|
+
) : null;
|
193
|
+
}
|
194
|
+
);
|
195
|
+
M.displayName = "ChartLegend";
|
196
|
+
function k(o, e, n) {
|
197
|
+
if (typeof e != "object" || e === null)
|
198
|
+
return;
|
199
|
+
const r = "payload" in e && typeof e.payload == "object" && e.payload !== null ? e.payload : void 0;
|
200
|
+
let a = n;
|
201
|
+
return n in e && typeof e[n] == "string" ? a = e[n] : r && n in r && typeof r[n] == "string" && (a = r[n]), a in o ? o[a] : o[n];
|
202
|
+
}
|
203
|
+
export {
|
204
|
+
S as ChartContainer,
|
205
|
+
y as ChartLegend,
|
206
|
+
M as ChartLegendContent,
|
207
|
+
E as ChartStyle,
|
208
|
+
q as ChartTooltip,
|
209
|
+
K as ChartTooltipContent
|
210
|
+
};
|
package/Chart/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Chart';
|
package/Chart/index.mjs
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ChartContainer as o, ChartLegend as r, ChartLegendContent as C, ChartStyle as n, ChartTooltip as a, ChartTooltipContent as h } from "./Chart.mjs";
|
2
|
+
export {
|
3
|
+
o as ChartContainer,
|
4
|
+
r as ChartLegend,
|
5
|
+
C as ChartLegendContent,
|
6
|
+
n as ChartStyle,
|
7
|
+
a as ChartTooltip,
|
8
|
+
h as ChartTooltipContent
|
9
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
4
|
+
export { Checkbox };
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
2
|
+
import * as s from "react";
|
3
|
+
import * as r from "@radix-ui/react-checkbox";
|
4
|
+
import { Check as c } from "lucide-react";
|
5
|
+
import { cn as o } from "@oneplatformdev/utils";
|
6
|
+
const d = s.forwardRef(({ className: i, ...t }, a) => /* @__PURE__ */ e(
|
7
|
+
r.Root,
|
8
|
+
{
|
9
|
+
ref: a,
|
10
|
+
className: o(
|
11
|
+
"peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
12
|
+
i
|
13
|
+
),
|
14
|
+
...t,
|
15
|
+
children: /* @__PURE__ */ e(
|
16
|
+
r.Indicator,
|
17
|
+
{
|
18
|
+
className: o("flex items-center justify-center text-current"),
|
19
|
+
children: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
20
|
+
}
|
21
|
+
)
|
22
|
+
}
|
23
|
+
));
|
24
|
+
d.displayName = r.Root.displayName;
|
25
|
+
export {
|
26
|
+
d as Checkbox
|
27
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Checkbox';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
2
|
+
declare const Collapsible: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import('react').RefAttributes<HTMLDivElement>>;
|
3
|
+
declare const CollapsibleTrigger: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
4
|
+
declare const CollapsibleContent: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
5
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Collapsible';
|
@@ -0,0 +1,126 @@
|
|
1
|
+
import { jsx as a, jsxs as t } from "react/jsx-runtime";
|
2
|
+
import n, { useEffect as E } from "react";
|
3
|
+
import { LoadingMask as I } from "../LoadingMask/LoadingMask.mjs";
|
4
|
+
import { Popover as U, PopoverTrigger as _, PopoverContent as B } from "../Popover/Popover.mjs";
|
5
|
+
import { Button as F } from "../Button/Button.mjs";
|
6
|
+
import "../Button/buttonVariants.mjs";
|
7
|
+
import { Command as G, CommandInput as M, CommandList as R, CommandEmpty as V, CommandGroup as W, CommandItem as X } from "../Command/Command.mjs";
|
8
|
+
import { cn as g } from "@oneplatformdev/utils";
|
9
|
+
import { useDebounceCallback as q } from "@oneplatformdev/hooks";
|
10
|
+
import { X as z, ChevronsUpDown as A, Check as H } from "lucide-react";
|
11
|
+
const te = (w) => {
|
12
|
+
var C;
|
13
|
+
const {
|
14
|
+
value: o,
|
15
|
+
onChange: y,
|
16
|
+
placeholder: x,
|
17
|
+
disabled: N,
|
18
|
+
searchLabel: S,
|
19
|
+
fetchOptions: L,
|
20
|
+
options: r,
|
21
|
+
emptyLabel: O = "No options"
|
22
|
+
} = w, [l, d] = n.useState(!1), [P, m] = n.useState(""), [p, h] = n.useState([]), [s, u] = n.useState(), [f, b] = n.useState(!1);
|
23
|
+
E(() => {
|
24
|
+
r != null && r.length && h(r);
|
25
|
+
}, [r]);
|
26
|
+
const j = async () => {
|
27
|
+
l || (v(), m(""));
|
28
|
+
}, v = async (e) => {
|
29
|
+
b(!0);
|
30
|
+
try {
|
31
|
+
const i = await L(e);
|
32
|
+
h(i);
|
33
|
+
} catch (i) {
|
34
|
+
console.error("Unexpected error while get option:", i);
|
35
|
+
} finally {
|
36
|
+
b(!1);
|
37
|
+
}
|
38
|
+
}, k = q(v, 1e3), D = (e) => {
|
39
|
+
m(e), k(e);
|
40
|
+
}, c = (e) => {
|
41
|
+
y(e.value), u(e);
|
42
|
+
}, T = () => {
|
43
|
+
c({ value: "", label: "" }), u(void 0);
|
44
|
+
};
|
45
|
+
return /* @__PURE__ */ a("div", { className: "w-full", children: /* @__PURE__ */ t(
|
46
|
+
U,
|
47
|
+
{
|
48
|
+
open: l,
|
49
|
+
onOpenChange: (e) => {
|
50
|
+
d(e), e && j();
|
51
|
+
},
|
52
|
+
children: [
|
53
|
+
/* @__PURE__ */ a(_, { asChild: !0, className: "border-border", children: /* @__PURE__ */ t(
|
54
|
+
F,
|
55
|
+
{
|
56
|
+
variant: "outline",
|
57
|
+
role: "combobox",
|
58
|
+
"aria-expanded": l,
|
59
|
+
className: g(
|
60
|
+
"w-full justify-between font-normal text-sm border bg-input",
|
61
|
+
l ? "border-2 border-sidebar-accent" : "border-border"
|
62
|
+
),
|
63
|
+
disabled: N,
|
64
|
+
children: [
|
65
|
+
/* @__PURE__ */ a("span", { className: "truncate max-w-[calc(100%-1.5rem)] overflow-hidden whitespace-nowrap", children: o ? ((C = p.find((e) => e.value === o)) == null ? void 0 : C.label) || (s == null ? void 0 : s.label) : /* @__PURE__ */ a("span", { className: "text-gray-400", children: x }) }),
|
66
|
+
o ? /* @__PURE__ */ a(
|
67
|
+
z,
|
68
|
+
{
|
69
|
+
className: "opacity-50 w-4 h-4 cursor-pointer hover:opacity-100",
|
70
|
+
onClick: (e) => {
|
71
|
+
e.stopPropagation(), T();
|
72
|
+
}
|
73
|
+
}
|
74
|
+
) : /* @__PURE__ */ a(A, { className: "opacity-50 w-4 h-4" })
|
75
|
+
]
|
76
|
+
}
|
77
|
+
) }),
|
78
|
+
/* @__PURE__ */ a(
|
79
|
+
B,
|
80
|
+
{
|
81
|
+
className: "w-[var(--radix-popper-anchor-width)] max-w-none p-0",
|
82
|
+
align: "start",
|
83
|
+
children: /* @__PURE__ */ t(G, { shouldFilter: !1, children: [
|
84
|
+
/* @__PURE__ */ a(
|
85
|
+
M,
|
86
|
+
{
|
87
|
+
placeholder: S,
|
88
|
+
value: P,
|
89
|
+
onValueChange: D
|
90
|
+
}
|
91
|
+
),
|
92
|
+
/* @__PURE__ */ t(R, { children: [
|
93
|
+
!f && /* @__PURE__ */ a(V, { children: O }),
|
94
|
+
/* @__PURE__ */ a(W, { children: f ? /* @__PURE__ */ a("div", { className: "flex justify-center", children: /* @__PURE__ */ a(I, {}) }) : p.map((e) => /* @__PURE__ */ t(
|
95
|
+
X,
|
96
|
+
{
|
97
|
+
value: e.value,
|
98
|
+
onSelect: () => {
|
99
|
+
o === e.value ? c({ value: "", label: "" }) : c(e), d(!1);
|
100
|
+
},
|
101
|
+
children: [
|
102
|
+
e.label,
|
103
|
+
/* @__PURE__ */ a(
|
104
|
+
H,
|
105
|
+
{
|
106
|
+
className: g(
|
107
|
+
"ml-auto",
|
108
|
+
o === e.value ? "opacity-100" : "opacity-0"
|
109
|
+
)
|
110
|
+
}
|
111
|
+
)
|
112
|
+
]
|
113
|
+
},
|
114
|
+
e.value
|
115
|
+
)) })
|
116
|
+
] })
|
117
|
+
] })
|
118
|
+
}
|
119
|
+
)
|
120
|
+
]
|
121
|
+
}
|
122
|
+
) });
|
123
|
+
};
|
124
|
+
export {
|
125
|
+
te as Combobox
|
126
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface ComboboxOption {
|
2
|
+
value: string;
|
3
|
+
label: string;
|
4
|
+
}
|
5
|
+
export interface ComboboxProps {
|
6
|
+
value: string;
|
7
|
+
onChange: (value: string) => void;
|
8
|
+
placeholder?: string;
|
9
|
+
searchLabel?: string;
|
10
|
+
disabled?: boolean;
|
11
|
+
fetchOptions: (search?: string) => Promise<ComboboxOption[]>;
|
12
|
+
options?: ComboboxOption[];
|
13
|
+
/** CommandEmpty label*/
|
14
|
+
emptyLabel?: string;
|
15
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
2
|
+
import * as React from "react";
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
4
|
+
children?: React.ReactNode;
|
5
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
6
|
+
ref?: React.Ref<HTMLDivElement>;
|
7
|
+
} & {
|
8
|
+
asChild?: boolean;
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
10
|
+
label?: string;
|
11
|
+
shouldFilter?: boolean;
|
12
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
13
|
+
defaultValue?: string;
|
14
|
+
value?: string;
|
15
|
+
onValueChange?: (value: string) => void;
|
16
|
+
loop?: boolean;
|
17
|
+
disablePointerSelection?: boolean;
|
18
|
+
vimBindings?: boolean;
|
19
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
20
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
21
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
22
|
+
ref?: React.Ref<HTMLInputElement>;
|
23
|
+
} & {
|
24
|
+
asChild?: boolean;
|
25
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
26
|
+
value?: string;
|
27
|
+
onValueChange?: (search: string) => void;
|
28
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
29
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
30
|
+
children?: React.ReactNode;
|
31
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
32
|
+
ref?: React.Ref<HTMLDivElement>;
|
33
|
+
} & {
|
34
|
+
asChild?: boolean;
|
35
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
36
|
+
label?: string;
|
37
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
38
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
39
|
+
children?: React.ReactNode;
|
40
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
41
|
+
ref?: React.Ref<HTMLDivElement>;
|
42
|
+
} & {
|
43
|
+
asChild?: boolean;
|
44
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
45
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
46
|
+
children?: React.ReactNode;
|
47
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
48
|
+
ref?: React.Ref<HTMLDivElement>;
|
49
|
+
} & {
|
50
|
+
asChild?: boolean;
|
51
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
52
|
+
heading?: React.ReactNode;
|
53
|
+
value?: string;
|
54
|
+
forceMount?: boolean;
|
55
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
56
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
57
|
+
ref?: React.Ref<HTMLDivElement>;
|
58
|
+
} & {
|
59
|
+
asChild?: boolean;
|
60
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
61
|
+
alwaysRender?: boolean;
|
62
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
63
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
64
|
+
children?: React.ReactNode;
|
65
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
66
|
+
ref?: React.Ref<HTMLDivElement>;
|
67
|
+
} & {
|
68
|
+
asChild?: boolean;
|
69
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
70
|
+
disabled?: boolean;
|
71
|
+
onSelect?: (value: string) => void;
|
72
|
+
value?: string;
|
73
|
+
keywords?: string[];
|
74
|
+
forceMount?: boolean;
|
75
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
76
|
+
declare const CommandShortcut: {
|
77
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
78
|
+
displayName: string;
|
79
|
+
};
|
80
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|