@m5kdev/web-ui 0.9.2 → 0.9.3
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/packages/backend/dist/src/modules/auth/auth.dto.d.mts +2 -2
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +2 -2
- package/dist/packages/backend/dist/src/types.d.mts +7 -7
- package/dist/packages/backend/dist/src/types.d.ts +7 -7
- 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.js +4 -3
- 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 +2 -1
- 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 +2 -1
- 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.js +3 -2
- 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 +3 -3
- package/dist/src/modules/auth/components/AdminUserManagement.mjs +3 -3
- 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 +4 -4
- package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +4 -4
- 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 +3 -3
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +3 -3
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +4 -4
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +6 -6
- 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 +3 -3
- package/dist/src/modules/billing/components/BillingInvoicePage.mjs +3 -3
- 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
|
@@ -13,8 +13,8 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
13
13
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
16
|
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
id: z.ZodString;
|
|
18
18
|
email: z.ZodNullable<z.ZodString>;
|
|
19
19
|
createdAt: z.ZodDate;
|
|
20
20
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -59,8 +59,8 @@ declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
email: z.ZodString;
|
|
61
61
|
createdAt: z.ZodDate;
|
|
62
|
-
userId: z.ZodString;
|
|
63
62
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
63
|
+
userId: z.ZodString;
|
|
64
64
|
claimId: z.ZodString;
|
|
65
65
|
url: z.ZodString;
|
|
66
66
|
}, z.core.$strip>;
|
|
@@ -13,8 +13,8 @@ declare const waitlistSchema: z.ZodObject<{
|
|
|
13
13
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const waitlistOutputSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
16
|
name: z.ZodNullable<z.ZodString>;
|
|
17
|
+
id: z.ZodString;
|
|
18
18
|
email: z.ZodNullable<z.ZodString>;
|
|
19
19
|
createdAt: z.ZodDate;
|
|
20
20
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -59,8 +59,8 @@ declare const accountClaimMagicLinkOutputSchema: z.ZodObject<{
|
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
email: z.ZodString;
|
|
61
61
|
createdAt: z.ZodDate;
|
|
62
|
-
userId: z.ZodString;
|
|
63
62
|
expiresAt: z.ZodNullable<z.ZodDate>;
|
|
63
|
+
userId: z.ZodString;
|
|
64
64
|
claimId: z.ZodString;
|
|
65
65
|
url: z.ZodString;
|
|
66
66
|
}, z.core.$strip>;
|
|
@@ -79,8 +79,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
79
79
|
id: string;
|
|
80
80
|
email: string;
|
|
81
81
|
createdAt: Date;
|
|
82
|
-
userId: string;
|
|
83
82
|
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -94,8 +94,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
94
94
|
id: string;
|
|
95
95
|
email: string;
|
|
96
96
|
createdAt: Date;
|
|
97
|
-
userId: string;
|
|
98
97
|
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,8 +149,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: QueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
154
|
email: string | null;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
updatedAt: Date | null;
|
|
@@ -163,8 +163,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
168
|
email: string | null;
|
|
169
169
|
createdAt: Date;
|
|
170
170
|
updatedAt: Date | null;
|
|
@@ -194,8 +194,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
199
|
email: string | null;
|
|
200
200
|
createdAt: Date;
|
|
201
201
|
updatedAt: Date | null;
|
|
@@ -208,8 +208,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
213
|
email: string | null;
|
|
214
214
|
createdAt: Date;
|
|
215
215
|
updatedAt: Date | null;
|
|
@@ -222,8 +222,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
227
|
email: string | null;
|
|
228
228
|
createdAt: Date;
|
|
229
229
|
updatedAt: Date | null;
|
|
@@ -79,8 +79,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
79
79
|
id: string;
|
|
80
80
|
email: string;
|
|
81
81
|
createdAt: Date;
|
|
82
|
-
userId: string;
|
|
83
82
|
expiresAt: Date | null;
|
|
83
|
+
userId: string;
|
|
84
84
|
claimId: string;
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
@@ -94,8 +94,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
94
94
|
id: string;
|
|
95
95
|
email: string;
|
|
96
96
|
createdAt: Date;
|
|
97
|
-
userId: string;
|
|
98
97
|
expiresAt: Date | null;
|
|
98
|
+
userId: string;
|
|
99
99
|
claimId: string;
|
|
100
100
|
url: string;
|
|
101
101
|
}[];
|
|
@@ -149,8 +149,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
149
149
|
listAdminWaitlist: QueryProcedure<{
|
|
150
150
|
input: void;
|
|
151
151
|
output: {
|
|
152
|
-
id: string;
|
|
153
152
|
name: string | null;
|
|
153
|
+
id: string;
|
|
154
154
|
email: string | null;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
updatedAt: Date | null;
|
|
@@ -163,8 +163,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
163
163
|
email: string;
|
|
164
164
|
};
|
|
165
165
|
output: {
|
|
166
|
-
id: string;
|
|
167
166
|
name: string | null;
|
|
167
|
+
id: string;
|
|
168
168
|
email: string | null;
|
|
169
169
|
createdAt: Date;
|
|
170
170
|
updatedAt: Date | null;
|
|
@@ -194,8 +194,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
194
194
|
id: string;
|
|
195
195
|
};
|
|
196
196
|
output: {
|
|
197
|
-
id: string;
|
|
198
197
|
name: string | null;
|
|
198
|
+
id: string;
|
|
199
199
|
email: string | null;
|
|
200
200
|
createdAt: Date;
|
|
201
201
|
updatedAt: Date | null;
|
|
@@ -208,8 +208,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
208
208
|
id: string;
|
|
209
209
|
};
|
|
210
210
|
output: {
|
|
211
|
-
id: string;
|
|
212
211
|
name: string | null;
|
|
212
|
+
id: string;
|
|
213
213
|
email: string | null;
|
|
214
214
|
createdAt: Date;
|
|
215
215
|
updatedAt: Date | null;
|
|
@@ -222,8 +222,8 @@ declare const createAuthTRPCRouter: (trpcMethods: TRPCMethods, authService: Auth
|
|
|
222
222
|
email: string;
|
|
223
223
|
};
|
|
224
224
|
output: {
|
|
225
|
-
id: string;
|
|
226
225
|
name: string | null;
|
|
226
|
+
id: string;
|
|
227
227
|
email: string | null;
|
|
228
228
|
createdAt: Date;
|
|
229
229
|
updatedAt: Date | null;
|
|
@@ -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");
|
|
9
7
|
let _m5kdev_frontend_modules_file_hooks_useUpload = require("@m5kdev/frontend/modules/file/hooks/useUpload");
|
|
10
8
|
let lucide_react = require("lucide-react");
|
|
9
|
+
let react = require("react");
|
|
11
10
|
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";
|
|
7
5
|
import { useFileUpload } from "@m5kdev/frontend/modules/file/hooks/useUpload";
|
|
8
6
|
import { Edit2, User } from "lucide-react";
|
|
7
|
+
import { useRef, useState } from "react";
|
|
9
8
|
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");
|
|
5
6
|
let react = require("react");
|
|
6
7
|
react = require_runtime.__toESM(react);
|
|
7
8
|
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";
|
|
3
4
|
import * as React$1 from "react";
|
|
4
5
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let lucide_react = require("lucide-react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { ChevronRight } from "lucide-react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
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");
|
|
3
4
|
let react = require("react");
|
|
4
|
-
let _heroui_react = require("@heroui/react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
let
|
|
6
|
+
let _heroui_react = require("@heroui/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";
|
|
1
2
|
import { useState } from "react";
|
|
2
|
-
import { Button, Input, Popover, PopoverContent, PopoverTrigger } from "@heroui/react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { Button, Input, Popover, PopoverContent, PopoverTrigger } from "@heroui/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 react = require("react");
|
|
4
|
-
let _heroui_react = require("@heroui/react");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
3
|
let lucide_react = require("lucide-react");
|
|
4
|
+
let react = require("react");
|
|
7
5
|
let react_i18next = require("react-i18next");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let _heroui_react = require("@heroui/react");
|
|
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 { useState } from "react";
|
|
2
|
-
import { Button } from "@heroui/react";
|
|
3
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
1
|
import { CheckCircle, Copy } from "lucide-react";
|
|
2
|
+
import { useState } from "react";
|
|
5
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Button } from "@heroui/react";
|
|
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 react = require("react");
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
6
|
let lucide_react = require("lucide-react");
|
|
7
|
+
let react = require("react");
|
|
9
8
|
let react_i18next = require("react-i18next");
|
|
10
9
|
let react_easy_crop = require("react-easy-crop");
|
|
11
10
|
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 { useState } from "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
4
|
import { ZoomIn, ZoomOut } from "lucide-react";
|
|
5
|
+
import { useState } from "react";
|
|
7
6
|
import { useTranslation } from "react-i18next";
|
|
8
7
|
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");
|
|
4
5
|
let _heroui_react = require("@heroui/react");
|
|
5
6
|
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";
|
|
2
3
|
import { Button, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from "@heroui/react";
|
|
3
4
|
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");
|
|
6
7
|
let react = require("react");
|
|
7
8
|
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";
|
|
4
5
|
import { useCallback, useState } from "react";
|
|
5
6
|
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");
|
|
6
7
|
let react = require("react");
|
|
7
8
|
react = require_runtime.__toESM(react);
|
|
8
9
|
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";
|
|
4
5
|
import * as React$1 from "react";
|
|
5
6
|
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) => {
|
|
@@ -1,13 +1,14 @@
|
|
|
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");
|
|
4
5
|
let react = require("react");
|
|
5
6
|
react = require_runtime.__toESM(react);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
let lucide_react = require("lucide-react");
|
|
8
7
|
let react_i18next = require("react-i18next");
|
|
8
|
+
let class_variance_authority = require("class-variance-authority");
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
10
|
//#region src/components/PageAlert.tsx
|
|
10
|
-
const pageAlertVariants = (0,
|
|
11
|
+
const pageAlertVariants = (0, class_variance_authority.cva)("relative w-full border-b px-4 py-3 text-sm transition-all duration-300 ease-in-out", {
|
|
11
12
|
variants: { variant: {
|
|
12
13
|
default: "bg-background border-border text-foreground",
|
|
13
14
|
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,GAAA,yBAAA,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 * as React$1 from "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
2
|
import { AlertCircle, AlertTriangle, CheckCircle, Info, X } from "lucide-react";
|
|
3
|
+
import * as React$1 from "react";
|
|
5
4
|
import { useTranslation } from "react-i18next";
|
|
6
5
|
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 _heroui_react = require("@heroui/react");
|
|
4
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _heroui_react = require("@heroui/react");
|
|
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 { Button, Checkbox } from "@heroui/react";
|
|
2
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button, Checkbox } from "@heroui/react";
|
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
let lucide_react = require("lucide-react");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { Check } from "lucide-react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
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 _heroui_react = require("@heroui/react");
|
|
4
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _heroui_react = require("@heroui/react");
|
|
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 { Select, SelectItem } from "@heroui/react";
|
|
2
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Select, SelectItem } from "@heroui/react";
|
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
let lucide_react = require("lucide-react");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { Moon, Sun } from "lucide-react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
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 react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
let lucide_react = require("lucide-react");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { ChevronRight } from "lucide-react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { Link } from "react-router";
|
|
7
7
|
//#region src/components/nav-main.tsx
|
|
8
8
|
function NavMain({ items }) {
|