@m5kdev/web-ui 0.9.3 → 0.9.4
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/src/components/AvatarUpload.js +2 -2
- package/dist/src/components/AvatarUpload.mjs +2 -2
- package/dist/src/components/CardsSelect.js +1 -1
- package/dist/src/components/CardsSelect.mjs +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.js +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.mjs +1 -1
- package/dist/src/components/ColorPicker.d.mts +1 -1
- package/dist/src/components/ColorPicker.js +2 -2
- package/dist/src/components/ColorPicker.mjs +2 -2
- package/dist/src/components/CopyButton.d.mts +1 -1
- package/dist/src/components/CopyButton.js +3 -3
- package/dist/src/components/CopyButton.mjs +3 -3
- package/dist/src/components/CropDialog.js +2 -2
- package/dist/src/components/CropDialog.mjs +2 -2
- package/dist/src/components/DialogProvider.d.mts +1 -1
- package/dist/src/components/DialogProvider.js +1 -1
- package/dist/src/components/DialogProvider.mjs +1 -1
- package/dist/src/components/FileDropzone.js +1 -1
- package/dist/src/components/FileDropzone.mjs +1 -1
- package/dist/src/components/MultiSelectDropdown.js +1 -1
- package/dist/src/components/MultiSelectDropdown.mjs +1 -1
- package/dist/src/components/PageAlert.d.mts +1 -1
- package/dist/src/components/PageAlert.d.ts +1 -1
- package/dist/src/components/PageAlert.js +3 -4
- package/dist/src/components/PageAlert.js.map +1 -1
- package/dist/src/components/PageAlert.mjs +2 -2
- package/dist/src/components/SelectChips.d.mts +1 -1
- package/dist/src/components/SelectChips.js +1 -1
- package/dist/src/components/SelectChips.mjs +1 -1
- package/dist/src/components/Steps.js +1 -1
- package/dist/src/components/Steps.mjs +1 -1
- package/dist/src/components/TablerIconPicker.d.mts +1 -1
- package/dist/src/components/TablerIconPicker.js +1 -1
- package/dist/src/components/TablerIconPicker.mjs +1 -1
- package/dist/src/components/mode-toggle.js +1 -1
- package/dist/src/components/mode-toggle.mjs +1 -1
- package/dist/src/components/nav-main.d.mts +1 -1
- package/dist/src/components/nav-main.js +1 -1
- package/dist/src/components/nav-main.mjs +1 -1
- package/dist/src/components/pricing-cards.js +1 -1
- package/dist/src/components/pricing-cards.mjs +1 -1
- package/dist/src/components/shared/ButtonCopy.js +2 -2
- package/dist/src/components/shared/ButtonCopy.mjs +2 -2
- package/dist/src/components/team-switcher.js +1 -1
- package/dist/src/components/team-switcher.mjs +1 -1
- package/dist/src/components/ui/alert.d.mts +1 -1
- package/dist/src/components/ui/alert.js +1 -2
- package/dist/src/components/ui/alert.js.map +1 -1
- package/dist/src/components/ui/alert.mjs +1 -1
- package/dist/src/components/ui/badge.d.mts +1 -1
- package/dist/src/components/ui/badge.js +1 -2
- package/dist/src/components/ui/badge.js.map +1 -1
- package/dist/src/components/ui/badge.mjs +1 -1
- package/dist/src/components/ui/breadcrumb.js +2 -2
- package/dist/src/components/ui/breadcrumb.mjs +2 -2
- package/dist/src/components/ui/button.d.mts +1 -1
- package/dist/src/components/ui/button.d.ts +1 -1
- package/dist/src/components/ui/button.js +2 -3
- package/dist/src/components/ui/button.js.map +1 -1
- package/dist/src/components/ui/button.mjs +1 -1
- package/dist/src/components/ui/checkbox.js +1 -1
- package/dist/src/components/ui/checkbox.mjs +1 -1
- package/dist/src/components/ui/dialog.js +1 -1
- package/dist/src/components/ui/dialog.mjs +1 -1
- package/dist/src/components/ui/dropdown-menu.js +1 -1
- package/dist/src/components/ui/dropdown-menu.mjs +1 -1
- package/dist/src/components/ui/form.d.mts +1 -1
- package/dist/src/components/ui/form.js +1 -1
- package/dist/src/components/ui/form.mjs +1 -1
- package/dist/src/components/ui/label.js +1 -1
- package/dist/src/components/ui/label.mjs +1 -1
- package/dist/src/components/ui/pagination.js +1 -1
- package/dist/src/components/ui/pagination.mjs +1 -1
- package/dist/src/components/ui/resizable-navbar.js +1 -1
- package/dist/src/components/ui/resizable-navbar.mjs +1 -1
- package/dist/src/components/ui/select.js +1 -1
- package/dist/src/components/ui/select.mjs +1 -1
- package/dist/src/components/ui/sheet.d.mts +1 -1
- package/dist/src/components/ui/sheet.js +2 -2
- package/dist/src/components/ui/sheet.mjs +2 -2
- package/dist/src/components/ui/sidebar.js +3 -3
- package/dist/src/components/ui/sidebar.mjs +3 -3
- package/dist/src/components/ui/spinner.d.mts +1 -1
- package/dist/src/components/ui/spinner.js +1 -1
- package/dist/src/components/ui/spinner.mjs +1 -1
- package/dist/src/components/ui/toast.js +2 -2
- package/dist/src/components/ui/toast.mjs +2 -2
- package/dist/src/modules/app/components/AppLoader.d.mts +1 -1
- package/dist/src/modules/app/components/AppLoader.js +1 -1
- package/dist/src/modules/app/components/AppLoader.mjs +1 -1
- package/dist/src/modules/app/components/AppSidebarHeader.js +2 -2
- package/dist/src/modules/app/components/AppSidebarHeader.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarInvites.js +2 -2
- package/dist/src/modules/app/components/AppSidebarInvites.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.js +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.mjs +1 -1
- package/dist/src/modules/auth/components/AdminUserManagement.js +2 -2
- package/dist/src/modules/auth/components/AdminUserManagement.mjs +2 -2
- package/dist/src/modules/auth/components/AdminWaitlist.js +2 -2
- package/dist/src/modules/auth/components/AdminWaitlist.mjs +2 -2
- package/dist/src/modules/auth/components/AuthProviders.js +2 -2
- package/dist/src/modules/auth/components/AuthProviders.mjs +2 -2
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +1 -1
- package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +1 -1
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +2 -2
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +5 -5
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/InviteFriends.js +2 -2
- package/dist/src/modules/auth/components/InviteFriends.mjs +2 -2
- package/dist/src/modules/auth/components/LastUsedBadge.d.mts +1 -1
- package/dist/src/modules/auth/components/LastUsedBadge.js +2 -2
- package/dist/src/modules/auth/components/LastUsedBadge.mjs +2 -2
- package/dist/src/modules/auth/components/LoginForm.js +2 -2
- package/dist/src/modules/auth/components/LoginForm.mjs +5 -5
- package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/LoginRoute.js +2 -2
- package/dist/src/modules/auth/components/LoginRoute.mjs +5 -5
- package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/LogoutRoute.js +1 -1
- package/dist/src/modules/auth/components/LogoutRoute.mjs +1 -1
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +2 -2
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +3 -3
- package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +3 -3
- package/dist/src/modules/auth/components/OrganizationPreferences.js +2 -2
- package/dist/src/modules/auth/components/OrganizationPreferences.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +2 -2
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +3 -3
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +5 -5
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -1
- package/dist/src/modules/auth/components/PreferencesEditor.js +1 -1
- package/dist/src/modules/auth/components/PreferencesEditor.mjs +1 -1
- package/dist/src/modules/auth/components/ProfileRoute.js +2 -2
- package/dist/src/modules/auth/components/ProfileRoute.mjs +2 -2
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +2 -2
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.js +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs +4 -4
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +2 -2
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/SignupFormRoute.js +2 -2
- package/dist/src/modules/auth/components/SignupFormRoute.mjs +2 -2
- package/dist/src/modules/auth/components/SignupRoute.js +2 -2
- package/dist/src/modules/auth/components/SignupRoute.mjs +4 -4
- package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/UserPreferences.js +1 -1
- package/dist/src/modules/auth/components/UserPreferences.mjs +1 -1
- package/dist/src/modules/auth/components/WaitlistCard.js +2 -2
- package/dist/src/modules/auth/components/WaitlistCard.mjs +2 -2
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +2 -2
- package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +2 -2
- package/dist/src/modules/billing/components/BillingBetaPage.js +1 -1
- package/dist/src/modules/billing/components/BillingBetaPage.mjs +1 -1
- package/dist/src/modules/billing/components/BillingInvoicePage.js +2 -2
- package/dist/src/modules/billing/components/BillingInvoicePage.mjs +2 -2
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +3 -3
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +5 -5
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -1
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +1 -1
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +1 -1
- package/dist/src/modules/table/components/NuqsTable.js +2 -2
- package/dist/src/modules/table/components/NuqsTable.mjs +2 -2
- package/dist/src/modules/table/components/TableFiltering.js +2 -2
- package/dist/src/modules/table/components/TableFiltering.mjs +2 -2
- package/package.json +5 -5
|
@@ -4,11 +4,11 @@ const require_src_lib_utils = require("../lib/utils.js");
|
|
|
4
4
|
const require_src_components_CropDialog = require("./CropDialog.js");
|
|
5
5
|
const require_src_components_ui_avatar = require("./ui/avatar.js");
|
|
6
6
|
const require_src_components_ui_progress = require("./ui/progress.js");
|
|
7
|
+
let react = require("react");
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
9
|
let _m5kdev_frontend_modules_file_hooks_useUpload = require("@m5kdev/frontend/modules/file/hooks/useUpload");
|
|
8
10
|
let lucide_react = require("lucide-react");
|
|
9
|
-
let react = require("react");
|
|
10
11
|
let react_i18next = require("react-i18next");
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
//#region src/components/AvatarUpload.tsx
|
|
13
13
|
function AvatarUpload({ currentAvatarUrl, onUploadComplete, className }) {
|
|
14
14
|
const { t } = (0, react_i18next.useTranslation)();
|
|
@@ -2,11 +2,11 @@ import { cn } from "../lib/utils.mjs";
|
|
|
2
2
|
import { CropDialog } from "./CropDialog.mjs";
|
|
3
3
|
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.mjs";
|
|
4
4
|
import { Progress } from "./ui/progress.mjs";
|
|
5
|
+
import { useRef, useState } from "react";
|
|
6
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
7
|
import { useFileUpload } from "@m5kdev/frontend/modules/file/hooks/useUpload";
|
|
6
8
|
import { Edit2, User } from "lucide-react";
|
|
7
|
-
import { useRef, useState } from "react";
|
|
8
9
|
import { useTranslation } from "react-i18next";
|
|
9
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/AvatarUpload.tsx
|
|
11
11
|
function AvatarUpload({ currentAvatarUrl, onUploadComplete, className }) {
|
|
12
12
|
const { t } = useTranslation();
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_card = require("./ui/card.js");
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_runtime.__toESM(react);
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let lucide_react = require("lucide-react");
|
|
9
9
|
//#region src/components/CardsSelect.tsx
|
|
10
10
|
const CardsSelect = react.forwardRef(({ items, selectedIds, onSelectionChange, maxSelections, className, cardClassName, showCheckbox = true, disabled = false, reversed = false, ...props }, ref) => {
|
|
11
11
|
const handleCardClick = (itemId) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn } from "../lib/utils.mjs";
|
|
2
2
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./ui/card.mjs";
|
|
3
|
-
import { Check, Edit } from "lucide-react";
|
|
4
3
|
import * as React$1 from "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Check, Edit } from "lucide-react";
|
|
6
6
|
//#region src/components/CardsSelect.tsx
|
|
7
7
|
const CardsSelect = React$1.forwardRef(({ items, selectedIds, onSelectionChange, maxSelections, className, cardClassName, showCheckbox = true, disabled = false, reversed = false, ...props }, ref) => {
|
|
8
8
|
const handleCardClick = (itemId) => {
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_components_ui_collapsible = require("./ui/collapsible.js");
|
|
4
4
|
const require_src_components_ui_sidebar = require("./ui/sidebar.js");
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let lucide_react = require("lucide-react");
|
|
7
7
|
let react_router = require("react-router");
|
|
8
8
|
//#region src/components/CollapsibleSidebarMenuItem.tsx
|
|
9
9
|
function CollapsibleSidebarMenuItem({ children, label, icon, link, badge, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.mjs";
|
|
2
2
|
import { SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, useSidebar } from "./ui/sidebar.mjs";
|
|
3
|
-
import { ChevronRight } from "lucide-react";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { ChevronRight } from "lucide-react";
|
|
5
5
|
import { Link } from "react-router";
|
|
6
6
|
//#region src/components/CollapsibleSidebarMenuItem.tsx
|
|
7
7
|
function CollapsibleSidebarMenuItem({ children, label, icon, link, badge, ...props }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
3
|
-
let lucide_react = require("lucide-react");
|
|
4
3
|
let react = require("react");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
4
|
let _heroui_react = require("@heroui/react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let lucide_react = require("lucide-react");
|
|
7
7
|
let _uiw_color_convert = require("@uiw/color-convert");
|
|
8
8
|
let _uiw_react_color_colorful = require("@uiw/react-color-colorful");
|
|
9
9
|
_uiw_react_color_colorful = require_runtime.__toESM(_uiw_react_color_colorful);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipetteIcon } from "lucide-react";
|
|
2
1
|
import { useState } from "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
2
|
import { Button, Input, Popover, PopoverContent, PopoverTrigger } from "@heroui/react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { PipetteIcon } from "lucide-react";
|
|
5
5
|
import { hexToHsva } from "@uiw/color-convert";
|
|
6
6
|
import Colorful from "@uiw/react-color-colorful";
|
|
7
7
|
//#region src/components/ColorPicker.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../_virtual/_rolldown/runtime.js");
|
|
3
|
-
let lucide_react = require("lucide-react");
|
|
4
3
|
let react = require("react");
|
|
5
|
-
let react_i18next = require("react-i18next");
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
4
|
let _heroui_react = require("@heroui/react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let lucide_react = require("lucide-react");
|
|
7
|
+
let react_i18next = require("react-i18next");
|
|
8
8
|
let sonner = require("sonner");
|
|
9
9
|
//#region src/components/CopyButton.tsx
|
|
10
10
|
function CopyButton({ text, notificationTimeout = 1e3, isIconOnly, onCopy, ...props }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CheckCircle, Copy } from "lucide-react";
|
|
2
1
|
import { useState } from "react";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
2
|
import { Button } from "@heroui/react";
|
|
3
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { CheckCircle, Copy } from "lucide-react";
|
|
5
|
+
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { toast } from "sonner";
|
|
7
7
|
//#region src/components/CopyButton.tsx
|
|
8
8
|
function CopyButton({ text, notificationTimeout = 1e3, isIconOnly, onCopy, ...props }) {
|
|
@@ -3,12 +3,12 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_components_ui_button = require("./ui/button.js");
|
|
4
4
|
const require_src_components_ui_dialog = require("./ui/dialog.js");
|
|
5
5
|
const require_src_components_ui_slider = require("./ui/slider.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react = require("react");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let lucide_react = require("lucide-react");
|
|
8
9
|
let react_i18next = require("react-i18next");
|
|
9
10
|
let react_easy_crop = require("react-easy-crop");
|
|
10
11
|
react_easy_crop = require_runtime.__toESM(react_easy_crop);
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
//#region src/components/CropDialog.tsx
|
|
13
13
|
async function getCroppedImg(imageSrc, pixelCrop, t) {
|
|
14
14
|
const image = new Image();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button } from "./ui/button.mjs";
|
|
2
2
|
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "./ui/dialog.mjs";
|
|
3
3
|
import { Slider } from "./ui/slider.mjs";
|
|
4
|
-
import { ZoomIn, ZoomOut } from "lucide-react";
|
|
5
4
|
import { useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { ZoomIn, ZoomOut } from "lucide-react";
|
|
6
7
|
import { useTranslation } from "react-i18next";
|
|
7
8
|
import Cropper from "react-easy-crop";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/CropDialog.tsx
|
|
10
10
|
async function getCroppedImg(imageSrc, pixelCrop, t) {
|
|
11
11
|
const image = new Image();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
let react = require("react");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let _heroui_react = require("@heroui/react");
|
|
6
5
|
let _heroui_theme = require("@heroui/theme");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
//#region src/components/DialogProvider.tsx
|
|
8
8
|
const DialogContext = (0, react.createContext)(() => {
|
|
9
9
|
console.warn("DialogProvider is not initialized");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createContext, useContext, useRef, useState } from "react";
|
|
2
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { Button, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from "@heroui/react";
|
|
4
3
|
import { semanticColors } from "@heroui/theme";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/DialogProvider.tsx
|
|
6
6
|
const DialogContext = createContext(() => {
|
|
7
7
|
console.warn("DialogProvider is not initialized");
|
|
@@ -3,9 +3,9 @@ require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_lib_utils = require("../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_button = require("./ui/button.js");
|
|
5
5
|
const require_src_components_ui_progress = require("./ui/progress.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react = require("react");
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let lucide_react = require("lucide-react");
|
|
9
9
|
let react_dropzone = require("react-dropzone");
|
|
10
10
|
//#region src/components/FileDropzone.tsx
|
|
11
11
|
function FileDropzone({ onUploadComplete, className }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../lib/utils.mjs";
|
|
2
2
|
import { Button } from "./ui/button.mjs";
|
|
3
3
|
import { Progress } from "./ui/progress.mjs";
|
|
4
|
-
import { File, Upload, X } from "lucide-react";
|
|
5
4
|
import { useCallback, useState } from "react";
|
|
6
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { File, Upload, X } from "lucide-react";
|
|
7
7
|
import { useDropzone } from "react-dropzone";
|
|
8
8
|
//#region src/components/FileDropzone.tsx
|
|
9
9
|
function FileDropzone({ onUploadComplete, className }) {
|
|
@@ -3,10 +3,10 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_lib_utils = require("../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_button = require("./ui/button.js");
|
|
5
5
|
const require_src_components_ui_dropdown_menu = require("./ui/dropdown-menu.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react = require("react");
|
|
8
7
|
react = require_runtime.__toESM(react);
|
|
9
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let lucide_react = require("lucide-react");
|
|
10
10
|
//#region src/components/MultiSelectDropdown.tsx
|
|
11
11
|
const MultiSelectDropdown = react.forwardRef(({ options, selectedValues, onValueChange, placeholder = "Select items...", label, className, triggerClassName, trigger, multiSelectLabel, disabled = false, maxDisplayCount = 3, resetButton = "bottom", resetLabel = "Reset", separateGroups = false, ...props }, ref) => {
|
|
12
12
|
const handleValueChange = (value, checked) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../lib/utils.mjs";
|
|
2
2
|
import { Button } from "./ui/button.mjs";
|
|
3
3
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "./ui/dropdown-menu.mjs";
|
|
4
|
-
import { ChevronDown, RotateCcw } from "lucide-react";
|
|
5
4
|
import * as React$1 from "react";
|
|
6
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { ChevronDown, RotateCcw } from "lucide-react";
|
|
7
7
|
//#region src/components/MultiSelectDropdown.tsx
|
|
8
8
|
const MultiSelectDropdown = React$1.forwardRef(({ options, selectedValues, onValueChange, placeholder = "Select items...", label, className, triggerClassName, trigger, multiSelectLabel, disabled = false, maxDisplayCount = 3, resetButton = "bottom", resetLabel = "Reset", separateGroups = false, ...props }, ref) => {
|
|
9
9
|
const handleValueChange = (value, checked) => {
|
|
@@ -4,7 +4,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/PageAlert.d.ts
|
|
6
6
|
declare const pageAlertVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
8
8
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
9
9
|
interface PageAlertProps extends React$1.ComponentProps<"div">, VariantProps<typeof pageAlertVariants> {
|
|
10
10
|
title?: string;
|
|
@@ -4,7 +4,7 @@ import * as React$1 from "react";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/PageAlert.d.ts
|
|
6
6
|
declare const pageAlertVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
|
|
8
8
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
9
9
|
interface PageAlertProps extends React$1.ComponentProps<"div">, VariantProps<typeof pageAlertVariants> {
|
|
10
10
|
title?: string;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../lib/utils.js");
|
|
4
|
-
let lucide_react = require("lucide-react");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
7
|
-
let react_i18next = require("react-i18next");
|
|
8
|
-
let class_variance_authority = require("class-variance-authority");
|
|
9
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
|
+
let react_i18next = require("react-i18next");
|
|
10
9
|
//#region src/components/PageAlert.tsx
|
|
11
|
-
const pageAlertVariants = (0,
|
|
10
|
+
const pageAlertVariants = (0, require("class-variance-authority").cva)("relative w-full border-b px-4 py-3 text-sm transition-all duration-300 ease-in-out", {
|
|
12
11
|
variants: { variant: {
|
|
13
12
|
default: "bg-background border-border text-foreground",
|
|
14
13
|
info: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950/50 dark:border-blue-800 dark:text-blue-100",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageAlert.js","names":["Info","CheckCircle","AlertTriangle","AlertCircle","React","cn","X"],"sources":["../../../src/components/PageAlert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport { AlertCircle, AlertTriangle, CheckCircle, Info, X } from \"lucide-react\";\r\nimport * as React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nimport { cn } from \"../lib/utils\";\r\n\r\nconst pageAlertVariants = cva(\r\n \"relative w-full border-b px-4 py-3 text-sm transition-all duration-300 ease-in-out\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"bg-background border-border text-foreground\",\r\n info: \"bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950/50 dark:border-blue-800 dark:text-blue-100\",\r\n success:\r\n \"bg-green-50 border-green-200 text-green-900 dark:bg-green-950/50 dark:border-green-800 dark:text-green-100\",\r\n warning:\r\n \"bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-950/50 dark:border-yellow-800 dark:text-yellow-100\",\r\n destructive:\r\n \"bg-red-50 border-red-200 text-red-900 dark:bg-red-950/50 dark:border-red-800 dark:text-red-100\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nconst iconMap = {\r\n default: Info,\r\n info: Info,\r\n success: CheckCircle,\r\n warning: AlertTriangle,\r\n destructive: AlertCircle,\r\n} as const;\r\n\r\ninterface PageAlertProps\r\n extends React.ComponentProps<\"div\">,\r\n VariantProps<typeof pageAlertVariants> {\r\n title?: string;\r\n description?: React.ReactNode;\r\n icon?: React.ComponentType<{ className?: string }>;\r\n dismissible?: boolean;\r\n defaultOpen?: boolean;\r\n onDismiss?: () => void;\r\n children?: React.ReactNode;\r\n}\r\n\r\nconst PageAlert = React.forwardRef<HTMLDivElement, PageAlertProps>(\r\n (\r\n {\r\n className,\r\n variant = \"default\",\r\n title,\r\n description,\r\n icon,\r\n dismissible = true,\r\n defaultOpen = true,\r\n onDismiss,\r\n children,\r\n ...props\r\n },\r\n ref\r\n ) => {\r\n const { t } = useTranslation();\r\n const [isOpen, setIsOpen] = React.useState(defaultOpen);\r\n const [isAnimatingOut, setIsAnimatingOut] = React.useState(false);\r\n const IconComponent = icon || iconMap[variant || \"default\"];\r\n\r\n const handleDismiss = React.useCallback(() => {\r\n setIsAnimatingOut(true);\r\n // Wait for animation to complete before removing from DOM\r\n setTimeout(() => {\r\n setIsOpen(false);\r\n onDismiss?.();\r\n }, 300); // Match the animation duration\r\n }, [onDismiss]);\r\n\r\n if (!isOpen) {\r\n return null;\r\n }\r\n\r\n const content = (\r\n <div\r\n ref={ref}\r\n role=\"alert\"\r\n className={cn(\r\n pageAlertVariants({ variant }),\r\n isAnimatingOut && \"transform -translate-y-full opacity-0\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n <div className=\"flex items-start gap-3\">\r\n {IconComponent && <IconComponent className=\"h-4 w-4 mt-0.5 flex-shrink-0\" />}\r\n <div className=\"flex-1 min-w-0\">\r\n {title && <div className=\"font-medium leading-none tracking-tight mb-1\">{title}</div>}\r\n {description && <div className=\"text-sm opacity-90 leading-relaxed\">{description}</div>}\r\n {children}\r\n </div>\r\n {dismissible && (\r\n <button\r\n type=\"button\"\r\n onClick={handleDismiss}\r\n className=\"flex-shrink-0 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\r\n aria-label={t(\"web-ui:alert.dismissLabel\")}\r\n >\r\n <X className=\"h-4 w-4\" />\r\n </button>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n\r\n return content;\r\n }\r\n);\r\n\r\nPageAlert.displayName = \"PageAlert\";\r\n\r\nexport { PageAlert, type PageAlertProps };\r\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageAlert.js","names":["Info","CheckCircle","AlertTriangle","AlertCircle","React","cn","X"],"sources":["../../../src/components/PageAlert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport { AlertCircle, AlertTriangle, CheckCircle, Info, X } from \"lucide-react\";\r\nimport * as React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nimport { cn } from \"../lib/utils\";\r\n\r\nconst pageAlertVariants = cva(\r\n \"relative w-full border-b px-4 py-3 text-sm transition-all duration-300 ease-in-out\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"bg-background border-border text-foreground\",\r\n info: \"bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950/50 dark:border-blue-800 dark:text-blue-100\",\r\n success:\r\n \"bg-green-50 border-green-200 text-green-900 dark:bg-green-950/50 dark:border-green-800 dark:text-green-100\",\r\n warning:\r\n \"bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-950/50 dark:border-yellow-800 dark:text-yellow-100\",\r\n destructive:\r\n \"bg-red-50 border-red-200 text-red-900 dark:bg-red-950/50 dark:border-red-800 dark:text-red-100\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nconst iconMap = {\r\n default: Info,\r\n info: Info,\r\n success: CheckCircle,\r\n warning: AlertTriangle,\r\n destructive: AlertCircle,\r\n} as const;\r\n\r\ninterface PageAlertProps\r\n extends React.ComponentProps<\"div\">,\r\n VariantProps<typeof pageAlertVariants> {\r\n title?: string;\r\n description?: React.ReactNode;\r\n icon?: React.ComponentType<{ className?: string }>;\r\n dismissible?: boolean;\r\n defaultOpen?: boolean;\r\n onDismiss?: () => void;\r\n children?: React.ReactNode;\r\n}\r\n\r\nconst PageAlert = React.forwardRef<HTMLDivElement, PageAlertProps>(\r\n (\r\n {\r\n className,\r\n variant = \"default\",\r\n title,\r\n description,\r\n icon,\r\n dismissible = true,\r\n defaultOpen = true,\r\n onDismiss,\r\n children,\r\n ...props\r\n },\r\n ref\r\n ) => {\r\n const { t } = useTranslation();\r\n const [isOpen, setIsOpen] = React.useState(defaultOpen);\r\n const [isAnimatingOut, setIsAnimatingOut] = React.useState(false);\r\n const IconComponent = icon || iconMap[variant || \"default\"];\r\n\r\n const handleDismiss = React.useCallback(() => {\r\n setIsAnimatingOut(true);\r\n // Wait for animation to complete before removing from DOM\r\n setTimeout(() => {\r\n setIsOpen(false);\r\n onDismiss?.();\r\n }, 300); // Match the animation duration\r\n }, [onDismiss]);\r\n\r\n if (!isOpen) {\r\n return null;\r\n }\r\n\r\n const content = (\r\n <div\r\n ref={ref}\r\n role=\"alert\"\r\n className={cn(\r\n pageAlertVariants({ variant }),\r\n isAnimatingOut && \"transform -translate-y-full opacity-0\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n <div className=\"flex items-start gap-3\">\r\n {IconComponent && <IconComponent className=\"h-4 w-4 mt-0.5 flex-shrink-0\" />}\r\n <div className=\"flex-1 min-w-0\">\r\n {title && <div className=\"font-medium leading-none tracking-tight mb-1\">{title}</div>}\r\n {description && <div className=\"text-sm opacity-90 leading-relaxed\">{description}</div>}\r\n {children}\r\n </div>\r\n {dismissible && (\r\n <button\r\n type=\"button\"\r\n onClick={handleDismiss}\r\n className=\"flex-shrink-0 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\r\n aria-label={t(\"web-ui:alert.dismissLabel\")}\r\n >\r\n <X className=\"h-4 w-4\" />\r\n </button>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n\r\n return content;\r\n }\r\n);\r\n\r\nPageAlert.displayName = \"PageAlert\";\r\n\r\nexport { PageAlert, type PageAlertProps };\r\n"],"mappings":";;;;;;;;;AAOA,MAAM,qBAAA,uCAAA,KACJ,sFACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,MAAM;EACN,SACE;EACF,SACE;EACF,aACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,MAAM,UAAU;CACd,SAASA,aAAAA;CACT,MAAMA,aAAAA;CACN,SAASC,aAAAA;CACT,SAASC,aAAAA;CACT,aAAaC,aAAAA;CACd;AAcD,MAAM,YAAYC,MAAM,YAEpB,EACE,WACA,UAAU,WACV,OACA,aACA,MACA,cAAc,MACd,cAAc,MACd,WACA,UACA,GAAG,SAEL,QACG;CACH,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;CAC9B,MAAM,CAAC,QAAQ,aAAaA,MAAM,SAAS,YAAY;CACvD,MAAM,CAAC,gBAAgB,qBAAqBA,MAAM,SAAS,MAAM;CACjE,MAAM,gBAAgB,QAAQ,QAAQ,WAAW;CAEjD,MAAM,gBAAgBA,MAAM,kBAAkB;AAC5C,oBAAkB,KAAK;AAEvB,mBAAiB;AACf,aAAU,MAAM;AAChB,gBAAa;KACZ,IAAI;IACN,CAAC,UAAU,CAAC;AAEf,KAAI,CAAC,OACH,QAAO;AAmCT,QA/BE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EACO;EACL,MAAK;EACL,WAAWC,sBAAAA,GACT,kBAAkB,EAAE,SAAS,CAAC,EAC9B,kBAAkB,yCAClB,UACD;EACD,GAAI;YAEJ,iBAAA,GAAA,kBAAA,MAAC,OAAD;GAAK,WAAU;aAAf;IACG,iBAAiB,iBAAA,GAAA,kBAAA,KAAC,eAAD,EAAe,WAAU,gCAAiC,CAAA;IAC5E,iBAAA,GAAA,kBAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACG,SAAS,iBAAA,GAAA,kBAAA,KAAC,OAAD;OAAK,WAAU;iBAAgD;OAAY,CAAA;MACpF,eAAe,iBAAA,GAAA,kBAAA,KAAC,OAAD;OAAK,WAAU;iBAAsC;OAAkB,CAAA;MACtF;MACG;;IACL,eACC,iBAAA,GAAA,kBAAA,KAAC,UAAD;KACE,MAAK;KACL,SAAS;KACT,WAAU;KACV,cAAY,EAAE,4BAA4B;eAE1C,iBAAA,GAAA,kBAAA,KAACC,aAAAA,GAAD,EAAG,WAAU,WAAY,CAAA;KAClB,CAAA;IAEP;;EACF,CAAA;EAKX;AAED,UAAU,cAAc"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../lib/utils.mjs";
|
|
2
|
-
import { AlertCircle, AlertTriangle, CheckCircle, Info, X } from "lucide-react";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { AlertCircle, AlertTriangle, CheckCircle, Info, X } from "lucide-react";
|
|
4
5
|
import { useTranslation } from "react-i18next";
|
|
5
6
|
import { cva } from "class-variance-authority";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/PageAlert.tsx
|
|
8
8
|
const pageAlertVariants = cva("relative w-full border-b px-4 py-3 text-sm transition-all duration-300 ease-in-out", {
|
|
9
9
|
variants: { variant: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../_virtual/_rolldown/runtime.js");
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
3
|
let _heroui_react = require("@heroui/react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
//#region src/components/SelectChips.tsx
|
|
6
6
|
function SelectChips({ items, selectedItems, onSelectionChange, buttonProps }) {
|
|
7
7
|
return items.map((item) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { Button, Checkbox } from "@heroui/react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/SelectChips.tsx
|
|
4
4
|
function SelectChips({ items, selectedItems, onSelectionChange, buttonProps }) {
|
|
5
5
|
return items.map((item) => {
|
|
@@ -3,8 +3,8 @@ require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_lib_utils = require("../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_separator = require("./ui/separator.js");
|
|
5
5
|
const require_src_components_ui_badge = require("./ui/badge.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
8
|
//#region src/components/Steps.tsx
|
|
9
9
|
const Steps = ({ steps, className, onStepClick }) => {
|
|
10
10
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn } from "../lib/utils.mjs";
|
|
2
2
|
import { Separator } from "./ui/separator.mjs";
|
|
3
3
|
import { Badge } from "./ui/badge.mjs";
|
|
4
|
-
import { Check } from "lucide-react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Check } from "lucide-react";
|
|
6
6
|
//#region src/components/Steps.tsx
|
|
7
7
|
const Steps = ({ steps, className, onStepClick }) => {
|
|
8
8
|
return /* @__PURE__ */ jsxs("nav", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../_virtual/_rolldown/runtime.js");
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
3
|
let _heroui_react = require("@heroui/react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
//#region src/components/TablerIconPicker.tsx
|
|
6
6
|
function TablerIconPicker({ value, onSelectionChange, isVirtualized = true, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Select, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { Select, SelectItem } from "@heroui/react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/TablerIconPicker.tsx
|
|
4
4
|
function TablerIconPicker({ value, onSelectionChange, isVirtualized = true, ...props }) {
|
|
5
5
|
return /* @__PURE__ */ jsx(Select, {
|
|
@@ -3,8 +3,8 @@ require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_components_ui_button = require("./ui/button.js");
|
|
4
4
|
const require_src_components_ui_dropdown_menu = require("./ui/dropdown-menu.js");
|
|
5
5
|
const require_src_components_theme_provider = require("./theme-provider.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
8
|
//#region src/components/mode-toggle.tsx
|
|
9
9
|
function ModeToggle() {
|
|
10
10
|
const { setTheme } = require_src_components_theme_provider.useTheme();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button } from "./ui/button.mjs";
|
|
2
2
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "./ui/dropdown-menu.mjs";
|
|
3
3
|
import { useTheme } from "./theme-provider.mjs";
|
|
4
|
-
import { Moon, Sun } from "lucide-react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Moon, Sun } from "lucide-react";
|
|
6
6
|
//#region src/components/mode-toggle.tsx
|
|
7
7
|
function ModeToggle() {
|
|
8
8
|
const { setTheme } = useTheme();
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("../../_virtual/_rolldown/runtime.js");
|
|
4
4
|
const require_src_components_ui_collapsible = require("./ui/collapsible.js");
|
|
5
5
|
const require_src_components_ui_sidebar = require("./ui/sidebar.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
8
|
let react_router = require("react-router");
|
|
9
9
|
//#region src/components/nav-main.tsx
|
|
10
10
|
function NavMain({ items }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.mjs";
|
|
3
3
|
import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem } from "./ui/sidebar.mjs";
|
|
4
|
-
import { ChevronRight } from "lucide-react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight } from "lucide-react";
|
|
6
6
|
import { Link } from "react-router";
|
|
7
7
|
//#region src/components/nav-main.tsx
|
|
8
8
|
function NavMain({ items }) {
|
|
@@ -3,8 +3,8 @@ require("../../_virtual/_rolldown/runtime.js");
|
|
|
3
3
|
const require_src_components_ui_button = require("./ui/button.js");
|
|
4
4
|
const require_src_components_ui_card = require("./ui/card.js");
|
|
5
5
|
const require_src_components_ui_badge = require("./ui/badge.js");
|
|
6
|
-
let lucide_react = require("lucide-react");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
8
|
//#region src/components/pricing-cards.tsx
|
|
9
9
|
function PricingCard({ title, description, price, features, highlighted = false, ctaText, ctaIcon: CtaIcon, variant = "outline" }) {
|
|
10
10
|
const Icon = CtaIcon;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button } from "./ui/button.mjs";
|
|
2
2
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./ui/card.mjs";
|
|
3
3
|
import { Badge } from "./ui/badge.mjs";
|
|
4
|
-
import { Check, MoveRight, PhoneCall } from "lucide-react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Check, MoveRight, PhoneCall } from "lucide-react";
|
|
6
6
|
//#region src/components/pricing-cards.tsx
|
|
7
7
|
function PricingCard({ title, description, price, features, highlighted = false, ctaText, ctaIcon: CtaIcon, variant = "outline" }) {
|
|
8
8
|
const Icon = CtaIcon;
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_button = require("../ui/button.js");
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
5
|
let react = require("react");
|
|
7
|
-
let react_i18next = require("react-i18next");
|
|
8
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let lucide_react = require("lucide-react");
|
|
8
|
+
let react_i18next = require("react-i18next");
|
|
9
9
|
let sonner = require("sonner");
|
|
10
10
|
//#region src/components/shared/ButtonCopy.tsx
|
|
11
11
|
function ButtonCopy({ text, notificationTimeout = 1e3, iconOnly = false, ...props }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
2
|
import { Button } from "../ui/button.mjs";
|
|
3
|
-
import { CheckCircle, Copy } from "lucide-react";
|
|
4
3
|
import { useState } from "react";
|
|
5
|
-
import { useTranslation } from "react-i18next";
|
|
6
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { CheckCircle, Copy } from "lucide-react";
|
|
6
|
+
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { toast } from "sonner";
|
|
8
8
|
//#region src/components/shared/ButtonCopy.tsx
|
|
9
9
|
function ButtonCopy({ text, notificationTimeout = 1e3, iconOnly = false, ...props }) {
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_components_ui_sidebar = require("./ui/sidebar.js");
|
|
4
4
|
const require_src_components_ui_dropdown_menu = require("./ui/dropdown-menu.js");
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_runtime.__toESM(react);
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let lucide_react = require("lucide-react");
|
|
9
9
|
//#region src/components/team-switcher.tsx
|
|
10
10
|
function TeamSwitcher({ teams }) {
|
|
11
11
|
const { isMobile } = require_src_components_ui_sidebar.useSidebar();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SidebarMenu, SidebarMenuButton, SidebarMenuItem, useSidebar } from "./ui/sidebar.mjs";
|
|
2
2
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger } from "./ui/dropdown-menu.mjs";
|
|
3
|
-
import { ChevronsUpDown, Plus } from "lucide-react";
|
|
4
3
|
import * as React$1 from "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronsUpDown, Plus } from "lucide-react";
|
|
6
6
|
//#region src/components/team-switcher.tsx
|
|
7
7
|
function TeamSwitcher({ teams }) {
|
|
8
8
|
const { isMobile } = useSidebar();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/alert.d.ts
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let class_variance_authority = require("class-variance-authority");
|
|
5
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
//#region src/components/ui/alert.tsx
|
|
7
|
-
const alertVariants = (0,
|
|
6
|
+
const alertVariants = (0, require("class-variance-authority").cva)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
8
7
|
variants: { variant: {
|
|
9
8
|
default: "bg-card text-card-foreground",
|
|
10
9
|
destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","names":["cn"],"sources":["../../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport type * as React from \"react\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst alertVariants = cva(\r\n \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"bg-card text-card-foreground\",\r\n destructive:\r\n \"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nfunction Alert({\r\n className,\r\n variant,\r\n ...props\r\n}: React.ComponentProps<\"div\"> & VariantProps<typeof alertVariants>) {\r\n return (\r\n <div\r\n data-slot=\"alert\"\r\n role=\"alert\"\r\n className={cn(alertVariants({ variant }), className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertTitle({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-title\"\r\n className={cn(\"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDescription({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-description\"\r\n className={cn(\r\n \"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nexport { Alert, AlertTitle, AlertDescription };\r\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert.js","names":["cn"],"sources":["../../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\r\nimport type * as React from \"react\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst alertVariants = cva(\r\n \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\",\r\n {\r\n variants: {\r\n variant: {\r\n default: \"bg-card text-card-foreground\",\r\n destructive:\r\n \"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90\",\r\n },\r\n },\r\n defaultVariants: {\r\n variant: \"default\",\r\n },\r\n }\r\n);\r\n\r\nfunction Alert({\r\n className,\r\n variant,\r\n ...props\r\n}: React.ComponentProps<\"div\"> & VariantProps<typeof alertVariants>) {\r\n return (\r\n <div\r\n data-slot=\"alert\"\r\n role=\"alert\"\r\n className={cn(alertVariants({ variant }), className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertTitle({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-title\"\r\n className={cn(\"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\", className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nfunction AlertDescription({ className, ...props }: React.ComponentProps<\"div\">) {\r\n return (\r\n <div\r\n data-slot=\"alert-description\"\r\n className={cn(\r\n \"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nexport { Alert, AlertTitle, AlertDescription };\r\n"],"mappings":";;;;;AAKA,MAAM,iBAAA,uCAAA,KACJ,qOACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,aACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,GAAG,SACgE;AACnE,QACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EACE,aAAU;EACV,MAAK;EACL,WAAWA,sBAAAA,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;EACJ,CAAA;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EACE,aAAU;EACV,WAAWA,sBAAAA,GAAG,+DAA+D,UAAU;EACvF,GAAI;EACJ,CAAA;;AAIN,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAsC;AAC9E,QACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EACE,aAAU;EACV,WAAWA,sBAAAA,GACT,kGACA,UACD;EACD,GAAI;EACJ,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
4
|
//#region src/components/ui/alert.tsx
|
|
5
5
|
const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
6
6
|
variants: { variant: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/badge.d.ts
|