@carlonicora/nextjs-jsonapi 1.29.6 → 1.31.0
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/{BlockNoteEditor-4NQ5LSD6.mjs → BlockNoteEditor-CUIQPN6C.mjs} +3 -3
- package/dist/{BlockNoteEditor-AZNYW5Y7.js → BlockNoteEditor-NBASFIQP.js} +13 -13
- package/dist/{BlockNoteEditor-AZNYW5Y7.js.map → BlockNoteEditor-NBASFIQP.js.map} +1 -1
- package/dist/billing/index.js +331 -331
- package/dist/billing/index.mjs +2 -2
- package/dist/{chunk-5KQXRLK3.js → chunk-HBCIT6KE.js} +12 -1
- package/dist/chunk-HBCIT6KE.js.map +1 -0
- package/dist/{chunk-CWRYS2F3.js → chunk-ITBPDMUX.js} +537 -453
- package/dist/chunk-ITBPDMUX.js.map +1 -0
- package/dist/{chunk-WQ3KF6BG.mjs → chunk-RACFENTQ.mjs} +12 -1
- package/dist/chunk-RACFENTQ.mjs.map +1 -0
- package/dist/{chunk-ZQEFAWFP.mjs → chunk-TM4RWVZE.mjs} +984 -900
- package/dist/chunk-TM4RWVZE.mjs.map +1 -0
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.d.mts +17 -1
- package/dist/components/index.d.ts +17 -1
- package/dist/components/index.js +7 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +6 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{s3.service-BMT7W6KS.d.mts → s3.service-D2vIfl9y.d.mts} +8 -0
- package/dist/{s3.service-DsXo9nop.d.ts → s3.service-D7NyMnNY.d.ts} +8 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/ReactMarkdownContainer.tsx +1 -1
- package/src/components/forms/GdprConsentCheckbox.tsx +45 -0
- package/src/components/forms/index.ts +1 -0
- package/src/features/auth/components/GdprConsentSection.tsx +50 -0
- package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
- package/src/features/auth/components/forms/Login.tsx +4 -4
- package/src/features/auth/components/forms/Register.tsx +12 -1
- package/src/features/auth/components/index.ts +1 -0
- package/src/features/auth/data/auth.service.ts +20 -0
- package/src/features/company/components/forms/CompanyConfigurationEditor.tsx +1 -1
- package/src/features/company/components/forms/CompanyDeleter.tsx +1 -1
- package/src/features/user/components/widgets/UserSearchPopover.tsx +1 -1
- package/dist/chunk-5KQXRLK3.js.map +0 -1
- package/dist/chunk-CWRYS2F3.js.map +0 -1
- package/dist/chunk-WQ3KF6BG.mjs.map +0 -1
- package/dist/chunk-ZQEFAWFP.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-4NQ5LSD6.mjs.map → BlockNoteEditor-CUIQPN6C.mjs.map} +0 -0
|
@@ -39,7 +39,7 @@ var _chunkOR5NPUWFjs = require('./chunk-OR5NPUWF.js');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkHBCIT6KEjs = require('./chunk-HBCIT6KE.js');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunk3EPNHTMHjs = require('./chunk-3EPNHTMH.js');
|
|
@@ -185,7 +185,7 @@ function useDataListRetriever(params) {
|
|
|
185
185
|
const isFetchingRef = _react.useRef.call(void 0, false);
|
|
186
186
|
const isPaginatingRef = _react.useRef.call(void 0, false);
|
|
187
187
|
const resolvedType = params.module;
|
|
188
|
-
const resolvedService =
|
|
188
|
+
const resolvedService = _chunkHBCIT6KEjs.ClientAbstractService;
|
|
189
189
|
const parsePageParams = _react.useCallback.call(void 0, (url) => {
|
|
190
190
|
if (!url) return null;
|
|
191
191
|
try {
|
|
@@ -940,20 +940,20 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
940
940
|
if (!token && dehydratedUser) setDehydratedUser(null);
|
|
941
941
|
}, [dehydratedUser, setDehydratedUser]);
|
|
942
942
|
const matchUrlToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
943
|
-
const moduleKeys = Object.getOwnPropertyNames(
|
|
943
|
+
const moduleKeys = Object.getOwnPropertyNames(_chunkHBCIT6KEjs.Modules).filter(
|
|
944
944
|
(key) => key !== "prototype" && key !== "_factory" && key !== "length" && key !== "name"
|
|
945
945
|
);
|
|
946
946
|
const matchedModuleKey = moduleKeys.find((key) => {
|
|
947
|
-
const descriptor2 = Object.getOwnPropertyDescriptor(
|
|
947
|
+
const descriptor2 = Object.getOwnPropertyDescriptor(_chunkHBCIT6KEjs.Modules, key);
|
|
948
948
|
if (!_optionalChain([descriptor2, 'optionalAccess', _29 => _29.get])) return false;
|
|
949
|
-
const selectedModule = descriptor2.get.call(
|
|
949
|
+
const selectedModule = descriptor2.get.call(_chunkHBCIT6KEjs.Modules);
|
|
950
950
|
return path.toLowerCase().startsWith(_optionalChain([selectedModule, 'access', _30 => _30.pageUrl, 'optionalAccess', _31 => _31.toLowerCase, 'call', _32 => _32()]));
|
|
951
951
|
});
|
|
952
952
|
if (!matchedModuleKey) return void 0;
|
|
953
|
-
const descriptor = Object.getOwnPropertyDescriptor(
|
|
954
|
-
return _optionalChain([descriptor, 'optionalAccess', _33 => _33.get, 'optionalAccess', _34 => _34.call, 'call', _35 => _35(
|
|
953
|
+
const descriptor = Object.getOwnPropertyDescriptor(_chunkHBCIT6KEjs.Modules, matchedModuleKey);
|
|
954
|
+
return _optionalChain([descriptor, 'optionalAccess', _33 => _33.get, 'optionalAccess', _34 => _34.call, 'call', _35 => _35(_chunkHBCIT6KEjs.Modules)]);
|
|
955
955
|
}, "matchUrlToModule");
|
|
956
|
-
const currentUser = dehydratedUser ?
|
|
956
|
+
const currentUser = dehydratedUser ? _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.User, dehydratedUser) : null;
|
|
957
957
|
const company = _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _36 => _36.company]), () => ( null));
|
|
958
958
|
const setUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (user) => {
|
|
959
959
|
if (user) setDehydratedUser(user.dehydrate());
|
|
@@ -971,14 +971,14 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
971
971
|
function hasPermissionToModule(params) {
|
|
972
972
|
if (!currentUser) return false;
|
|
973
973
|
if (!!params.module.feature && !hasAccesToFeature(params.module.feature)) return false;
|
|
974
|
-
return
|
|
974
|
+
return _chunkHBCIT6KEjs.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
|
|
975
975
|
}
|
|
976
976
|
_chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModule, "hasPermissionToModule");
|
|
977
977
|
function hasPermissionToModules(params) {
|
|
978
978
|
if (!currentUser) return false;
|
|
979
979
|
if (!params.modules.every((module) => !module.feature || hasAccesToFeature(module.feature))) return false;
|
|
980
980
|
return params.modules.every(
|
|
981
|
-
(module) =>
|
|
981
|
+
(module) => _chunkHBCIT6KEjs.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
|
|
982
982
|
);
|
|
983
983
|
}
|
|
984
984
|
_chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModules, "hasPermissionToModules");
|
|
@@ -996,7 +996,7 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
996
996
|
if (isRefreshing) return;
|
|
997
997
|
setIsRefreshing(true);
|
|
998
998
|
try {
|
|
999
|
-
const fullUser = await
|
|
999
|
+
const fullUser = await _chunkHBCIT6KEjs.UserService.findFullUser();
|
|
1000
1000
|
if (fullUser) {
|
|
1001
1001
|
setDehydratedUser(fullUser.dehydrate());
|
|
1002
1002
|
}
|
|
@@ -1070,7 +1070,7 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1070
1070
|
const [existingUsers, setExistingUsers] = _react.useState.call(void 0, null);
|
|
1071
1071
|
_react.useEffect.call(void 0, () => {
|
|
1072
1072
|
const fetchExistingUsers = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
1073
|
-
setExistingUsers(await
|
|
1073
|
+
setExistingUsers(await _chunkHBCIT6KEjs.UserService.findMany({ roleId: role.id, fetchAll: true }));
|
|
1074
1074
|
}, "fetchExistingUsers");
|
|
1075
1075
|
if (show) {
|
|
1076
1076
|
setExistingUsers(null);
|
|
@@ -1078,7 +1078,7 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
}, [show]);
|
|
1080
1080
|
const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (user) => {
|
|
1081
|
-
await
|
|
1081
|
+
await _chunkHBCIT6KEjs.RoleService.addUserToRole({
|
|
1082
1082
|
roleId: role.id,
|
|
1083
1083
|
userId: user.id
|
|
1084
1084
|
});
|
|
@@ -1094,9 +1094,9 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1094
1094
|
}, "addUserToRole");
|
|
1095
1095
|
const data = useDataListRetriever({
|
|
1096
1096
|
ready: !!company && show,
|
|
1097
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
1097
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findAllUsers(params), "retriever"),
|
|
1098
1098
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _46 => _46.id]) },
|
|
1099
|
-
module:
|
|
1099
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
1100
1100
|
});
|
|
1101
1101
|
_react.useEffect.call(void 0, () => {
|
|
1102
1102
|
if (!!company && show) {
|
|
@@ -1147,7 +1147,7 @@ function Accordion({ className, ...props }) {
|
|
|
1147
1147
|
_accordion.Accordion.Root,
|
|
1148
1148
|
{
|
|
1149
1149
|
"data-slot": "accordion",
|
|
1150
|
-
className:
|
|
1150
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
|
|
1151
1151
|
...props
|
|
1152
1152
|
}
|
|
1153
1153
|
);
|
|
@@ -1158,7 +1158,7 @@ function AccordionItem({ className, ...props }) {
|
|
|
1158
1158
|
_accordion.Accordion.Item,
|
|
1159
1159
|
{
|
|
1160
1160
|
"data-slot": "accordion-item",
|
|
1161
|
-
className:
|
|
1161
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
|
|
1162
1162
|
...props
|
|
1163
1163
|
}
|
|
1164
1164
|
);
|
|
@@ -1173,7 +1173,7 @@ function AccordionTrigger({
|
|
|
1173
1173
|
_accordion.Accordion.Trigger,
|
|
1174
1174
|
{
|
|
1175
1175
|
"data-slot": "accordion-trigger",
|
|
1176
|
-
className:
|
|
1176
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1177
1177
|
"**:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-2 text-left text-xs/relaxed font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 group/accordion-trigger relative flex flex-1 items-start justify-between border border-transparent transition-all outline-none disabled:pointer-events-none disabled:opacity-50",
|
|
1178
1178
|
className
|
|
1179
1179
|
),
|
|
@@ -1201,7 +1201,7 @@ function AccordionContent({
|
|
|
1201
1201
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1202
1202
|
"div",
|
|
1203
1203
|
{
|
|
1204
|
-
className:
|
|
1204
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1205
1205
|
"pt-0 pb-4 [&_a]:hover:text-foreground h-(--accordion-panel-height) data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",
|
|
1206
1206
|
className
|
|
1207
1207
|
),
|
|
@@ -1237,7 +1237,7 @@ function Alert({
|
|
|
1237
1237
|
{
|
|
1238
1238
|
"data-slot": "alert",
|
|
1239
1239
|
role: "alert",
|
|
1240
|
-
className:
|
|
1240
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, alertVariants({ variant }), className),
|
|
1241
1241
|
...props
|
|
1242
1242
|
}
|
|
1243
1243
|
);
|
|
@@ -1248,7 +1248,7 @@ function AlertTitle({ className, ...props }) {
|
|
|
1248
1248
|
"div",
|
|
1249
1249
|
{
|
|
1250
1250
|
"data-slot": "alert-title",
|
|
1251
|
-
className:
|
|
1251
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1252
1252
|
"font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
|
|
1253
1253
|
className
|
|
1254
1254
|
),
|
|
@@ -1265,7 +1265,7 @@ function AlertDescription({
|
|
|
1265
1265
|
"div",
|
|
1266
1266
|
{
|
|
1267
1267
|
"data-slot": "alert-description",
|
|
1268
|
-
className:
|
|
1268
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1269
1269
|
"text-muted-foreground text-xs/relaxed text-balance md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
|
|
1270
1270
|
className
|
|
1271
1271
|
),
|
|
@@ -1279,7 +1279,7 @@ function AlertAction({ className, ...props }) {
|
|
|
1279
1279
|
"div",
|
|
1280
1280
|
{
|
|
1281
1281
|
"data-slot": "alert-action",
|
|
1282
|
-
className:
|
|
1282
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "absolute top-1.5 right-2", className),
|
|
1283
1283
|
...props
|
|
1284
1284
|
}
|
|
1285
1285
|
);
|
|
@@ -1332,7 +1332,7 @@ function Button({
|
|
|
1332
1332
|
_button.Button,
|
|
1333
1333
|
{
|
|
1334
1334
|
"data-slot": "button",
|
|
1335
|
-
className:
|
|
1335
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, buttonVariants({ variant, size, className })),
|
|
1336
1336
|
...props
|
|
1337
1337
|
}
|
|
1338
1338
|
);
|
|
@@ -1361,7 +1361,7 @@ function AlertDialogOverlay({
|
|
|
1361
1361
|
_alertdialog.AlertDialog.Backdrop,
|
|
1362
1362
|
{
|
|
1363
1363
|
"data-slot": "alert-dialog-overlay",
|
|
1364
|
-
className:
|
|
1364
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1365
1365
|
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",
|
|
1366
1366
|
className
|
|
1367
1367
|
),
|
|
@@ -1382,7 +1382,7 @@ function AlertDialogContent({
|
|
|
1382
1382
|
{
|
|
1383
1383
|
"data-slot": "alert-dialog-content",
|
|
1384
1384
|
"data-size": size,
|
|
1385
|
-
className:
|
|
1385
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1386
1386
|
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-3 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
|
|
1387
1387
|
className
|
|
1388
1388
|
),
|
|
@@ -1400,7 +1400,7 @@ function AlertDialogHeader({
|
|
|
1400
1400
|
"div",
|
|
1401
1401
|
{
|
|
1402
1402
|
"data-slot": "alert-dialog-header",
|
|
1403
|
-
className:
|
|
1403
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
|
|
1404
1404
|
...props
|
|
1405
1405
|
}
|
|
1406
1406
|
);
|
|
@@ -1414,7 +1414,7 @@ function AlertDialogFooter({
|
|
|
1414
1414
|
"div",
|
|
1415
1415
|
{
|
|
1416
1416
|
"data-slot": "alert-dialog-footer",
|
|
1417
|
-
className:
|
|
1417
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1418
1418
|
"flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",
|
|
1419
1419
|
className
|
|
1420
1420
|
),
|
|
@@ -1431,7 +1431,7 @@ function AlertDialogMedia({
|
|
|
1431
1431
|
"div",
|
|
1432
1432
|
{
|
|
1433
1433
|
"data-slot": "alert-dialog-media",
|
|
1434
|
-
className:
|
|
1434
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-muted mb-2 inline-flex size-8 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4", className),
|
|
1435
1435
|
...props
|
|
1436
1436
|
}
|
|
1437
1437
|
);
|
|
@@ -1445,7 +1445,7 @@ function AlertDialogTitle({
|
|
|
1445
1445
|
_alertdialog.AlertDialog.Title,
|
|
1446
1446
|
{
|
|
1447
1447
|
"data-slot": "alert-dialog-title",
|
|
1448
|
-
className:
|
|
1448
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
|
|
1449
1449
|
...props
|
|
1450
1450
|
}
|
|
1451
1451
|
);
|
|
@@ -1459,7 +1459,7 @@ function AlertDialogDescription({
|
|
|
1459
1459
|
_alertdialog.AlertDialog.Description,
|
|
1460
1460
|
{
|
|
1461
1461
|
"data-slot": "alert-dialog-description",
|
|
1462
|
-
className:
|
|
1462
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
|
|
1463
1463
|
...props
|
|
1464
1464
|
}
|
|
1465
1465
|
);
|
|
@@ -1473,7 +1473,7 @@ function AlertDialogAction({
|
|
|
1473
1473
|
Button,
|
|
1474
1474
|
{
|
|
1475
1475
|
"data-slot": "alert-dialog-action",
|
|
1476
|
-
className:
|
|
1476
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, className),
|
|
1477
1477
|
...props
|
|
1478
1478
|
}
|
|
1479
1479
|
);
|
|
@@ -1489,7 +1489,7 @@ function AlertDialogCancel({
|
|
|
1489
1489
|
_alertdialog.AlertDialog.Close,
|
|
1490
1490
|
{
|
|
1491
1491
|
"data-slot": "alert-dialog-cancel",
|
|
1492
|
-
className:
|
|
1492
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, className),
|
|
1493
1493
|
render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { variant, size }),
|
|
1494
1494
|
...props
|
|
1495
1495
|
}
|
|
@@ -1510,7 +1510,7 @@ function Avatar({
|
|
|
1510
1510
|
{
|
|
1511
1511
|
"data-slot": "avatar",
|
|
1512
1512
|
"data-size": size,
|
|
1513
|
-
className:
|
|
1513
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1514
1514
|
"size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",
|
|
1515
1515
|
className
|
|
1516
1516
|
),
|
|
@@ -1524,7 +1524,7 @@ function AvatarImage({ className, ...props }) {
|
|
|
1524
1524
|
_avatar.Avatar.Image,
|
|
1525
1525
|
{
|
|
1526
1526
|
"data-slot": "avatar-image",
|
|
1527
|
-
className:
|
|
1527
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1528
1528
|
"rounded-full aspect-square size-full object-cover",
|
|
1529
1529
|
className
|
|
1530
1530
|
),
|
|
@@ -1541,7 +1541,7 @@ function AvatarFallback({
|
|
|
1541
1541
|
_avatar.Avatar.Fallback,
|
|
1542
1542
|
{
|
|
1543
1543
|
"data-slot": "avatar-fallback",
|
|
1544
|
-
className:
|
|
1544
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1545
1545
|
"bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",
|
|
1546
1546
|
className
|
|
1547
1547
|
),
|
|
@@ -1555,7 +1555,7 @@ function AvatarBadge({ className, ...props }) {
|
|
|
1555
1555
|
"span",
|
|
1556
1556
|
{
|
|
1557
1557
|
"data-slot": "avatar-badge",
|
|
1558
|
-
className:
|
|
1558
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1559
1559
|
"bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none",
|
|
1560
1560
|
"group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
|
|
1561
1561
|
"group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
|
|
@@ -1572,7 +1572,7 @@ function AvatarGroup({ className, ...props }) {
|
|
|
1572
1572
|
"div",
|
|
1573
1573
|
{
|
|
1574
1574
|
"data-slot": "avatar-group",
|
|
1575
|
-
className:
|
|
1575
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1576
1576
|
"*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",
|
|
1577
1577
|
className
|
|
1578
1578
|
),
|
|
@@ -1589,7 +1589,7 @@ function AvatarGroupCount({
|
|
|
1589
1589
|
"div",
|
|
1590
1590
|
{
|
|
1591
1591
|
"data-slot": "avatar-group-count",
|
|
1592
|
-
className:
|
|
1592
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-muted text-muted-foreground size-8 rounded-full text-xs/relaxed group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", className),
|
|
1593
1593
|
...props
|
|
1594
1594
|
}
|
|
1595
1595
|
);
|
|
@@ -1628,7 +1628,7 @@ function Badge({
|
|
|
1628
1628
|
defaultTagName: "span",
|
|
1629
1629
|
props: _mergeprops.mergeProps.call(void 0,
|
|
1630
1630
|
{
|
|
1631
|
-
className:
|
|
1631
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, badgeVariants({ className, variant }))
|
|
1632
1632
|
},
|
|
1633
1633
|
props
|
|
1634
1634
|
),
|
|
@@ -1652,7 +1652,7 @@ function Breadcrumb({ className, ...props }) {
|
|
|
1652
1652
|
{
|
|
1653
1653
|
"aria-label": "breadcrumb",
|
|
1654
1654
|
"data-slot": "breadcrumb",
|
|
1655
|
-
className:
|
|
1655
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, className),
|
|
1656
1656
|
...props
|
|
1657
1657
|
}
|
|
1658
1658
|
);
|
|
@@ -1663,7 +1663,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
1663
1663
|
"ol",
|
|
1664
1664
|
{
|
|
1665
1665
|
"data-slot": "breadcrumb-list",
|
|
1666
|
-
className:
|
|
1666
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1667
1667
|
"text-muted-foreground gap-1.5 text-xs/relaxed flex flex-wrap items-center break-words",
|
|
1668
1668
|
className
|
|
1669
1669
|
),
|
|
@@ -1677,7 +1677,7 @@ function BreadcrumbItem({ className, ...props }) {
|
|
|
1677
1677
|
"li",
|
|
1678
1678
|
{
|
|
1679
1679
|
"data-slot": "breadcrumb-item",
|
|
1680
|
-
className:
|
|
1680
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-1 inline-flex items-center", className),
|
|
1681
1681
|
...props
|
|
1682
1682
|
}
|
|
1683
1683
|
);
|
|
@@ -1692,7 +1692,7 @@ function BreadcrumbLink({
|
|
|
1692
1692
|
defaultTagName: "a",
|
|
1693
1693
|
props: _mergeprops.mergeProps.call(void 0,
|
|
1694
1694
|
{
|
|
1695
|
-
className:
|
|
1695
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "hover:text-foreground transition-colors", className)
|
|
1696
1696
|
},
|
|
1697
1697
|
props
|
|
1698
1698
|
),
|
|
@@ -1711,7 +1711,7 @@ function BreadcrumbPage({ className, ...props }) {
|
|
|
1711
1711
|
role: "link",
|
|
1712
1712
|
"aria-disabled": "true",
|
|
1713
1713
|
"aria-current": "page",
|
|
1714
|
-
className:
|
|
1714
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-foreground font-normal", className),
|
|
1715
1715
|
...props
|
|
1716
1716
|
}
|
|
1717
1717
|
);
|
|
@@ -1728,7 +1728,7 @@ function BreadcrumbSeparator({
|
|
|
1728
1728
|
"data-slot": "breadcrumb-separator",
|
|
1729
1729
|
role: "presentation",
|
|
1730
1730
|
"aria-hidden": "true",
|
|
1731
|
-
className:
|
|
1731
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "[&>svg]:size-3.5", className),
|
|
1732
1732
|
...props,
|
|
1733
1733
|
children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1734
1734
|
_lucidereact.ChevronRightIcon,
|
|
@@ -1748,7 +1748,7 @@ function BreadcrumbEllipsis({
|
|
|
1748
1748
|
"data-slot": "breadcrumb-ellipsis",
|
|
1749
1749
|
role: "presentation",
|
|
1750
1750
|
"aria-hidden": "true",
|
|
1751
|
-
className:
|
|
1751
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1752
1752
|
"size-4 [&>svg]:size-3.5 flex items-center justify-center",
|
|
1753
1753
|
className
|
|
1754
1754
|
),
|
|
@@ -1788,7 +1788,7 @@ function Calendar({
|
|
|
1788
1788
|
_reactdaypicker.DayPicker,
|
|
1789
1789
|
{
|
|
1790
1790
|
showOutsideDays,
|
|
1791
|
-
className:
|
|
1791
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1792
1792
|
"p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(6)] bg-background group/calendar [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
|
|
1793
1793
|
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
1794
1794
|
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
@@ -1800,89 +1800,89 @@ function Calendar({
|
|
|
1800
1800
|
...formatters
|
|
1801
1801
|
},
|
|
1802
1802
|
classNames: {
|
|
1803
|
-
root:
|
|
1804
|
-
months:
|
|
1803
|
+
root: _chunkHBCIT6KEjs.cn.call(void 0, "w-fit", defaultClassNames.root),
|
|
1804
|
+
months: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1805
1805
|
"flex gap-4 flex-col md:flex-row relative",
|
|
1806
1806
|
defaultClassNames.months
|
|
1807
1807
|
),
|
|
1808
|
-
month:
|
|
1809
|
-
nav:
|
|
1808
|
+
month: _chunkHBCIT6KEjs.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
|
|
1809
|
+
nav: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1810
1810
|
"flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
|
|
1811
1811
|
defaultClassNames.nav
|
|
1812
1812
|
),
|
|
1813
|
-
button_previous:
|
|
1813
|
+
button_previous: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1814
1814
|
buttonVariants({ variant: buttonVariant }),
|
|
1815
1815
|
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
1816
1816
|
defaultClassNames.button_previous
|
|
1817
1817
|
),
|
|
1818
|
-
button_next:
|
|
1818
|
+
button_next: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1819
1819
|
buttonVariants({ variant: buttonVariant }),
|
|
1820
1820
|
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
1821
1821
|
defaultClassNames.button_next
|
|
1822
1822
|
),
|
|
1823
|
-
month_caption:
|
|
1823
|
+
month_caption: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1824
1824
|
"flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
|
|
1825
1825
|
defaultClassNames.month_caption
|
|
1826
1826
|
),
|
|
1827
|
-
dropdowns:
|
|
1827
|
+
dropdowns: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1828
1828
|
"w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
|
|
1829
1829
|
defaultClassNames.dropdowns
|
|
1830
1830
|
),
|
|
1831
|
-
dropdown_root:
|
|
1831
|
+
dropdown_root: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1832
1832
|
"relative cn-calendar-dropdown-root rounded-(--cell-radius)",
|
|
1833
1833
|
defaultClassNames.dropdown_root
|
|
1834
1834
|
),
|
|
1835
|
-
dropdown:
|
|
1835
|
+
dropdown: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1836
1836
|
"absolute bg-popover inset-0 opacity-0",
|
|
1837
1837
|
defaultClassNames.dropdown
|
|
1838
1838
|
),
|
|
1839
|
-
caption_label:
|
|
1839
|
+
caption_label: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1840
1840
|
"select-none font-medium",
|
|
1841
1841
|
captionLayout === "label" ? "text-sm" : "cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",
|
|
1842
1842
|
defaultClassNames.caption_label
|
|
1843
1843
|
),
|
|
1844
1844
|
table: "w-full border-collapse",
|
|
1845
|
-
weekdays:
|
|
1846
|
-
weekday:
|
|
1845
|
+
weekdays: _chunkHBCIT6KEjs.cn.call(void 0, "flex", defaultClassNames.weekdays),
|
|
1846
|
+
weekday: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1847
1847
|
"text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
|
|
1848
1848
|
defaultClassNames.weekday
|
|
1849
1849
|
),
|
|
1850
|
-
week:
|
|
1851
|
-
week_number_header:
|
|
1850
|
+
week: _chunkHBCIT6KEjs.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
|
|
1851
|
+
week_number_header: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1852
1852
|
"select-none w-(--cell-size)",
|
|
1853
1853
|
defaultClassNames.week_number_header
|
|
1854
1854
|
),
|
|
1855
|
-
week_number:
|
|
1855
|
+
week_number: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1856
1856
|
"text-[0.8rem] select-none text-muted-foreground",
|
|
1857
1857
|
defaultClassNames.week_number
|
|
1858
1858
|
),
|
|
1859
|
-
day:
|
|
1859
|
+
day: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1860
1860
|
"relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",
|
|
1861
1861
|
props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
|
|
1862
1862
|
defaultClassNames.day
|
|
1863
1863
|
),
|
|
1864
|
-
range_start:
|
|
1864
|
+
range_start: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1865
1865
|
"rounded-l-(--cell-radius) bg-muted elative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",
|
|
1866
1866
|
defaultClassNames.range_start
|
|
1867
1867
|
),
|
|
1868
|
-
range_middle:
|
|
1869
|
-
range_end:
|
|
1868
|
+
range_middle: _chunkHBCIT6KEjs.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
|
|
1869
|
+
range_end: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1870
1870
|
"rounded-r-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",
|
|
1871
1871
|
defaultClassNames.range_end
|
|
1872
1872
|
),
|
|
1873
|
-
today:
|
|
1873
|
+
today: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1874
1874
|
"bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
|
|
1875
1875
|
defaultClassNames.today
|
|
1876
1876
|
),
|
|
1877
|
-
outside:
|
|
1877
|
+
outside: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1878
1878
|
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
1879
1879
|
defaultClassNames.outside
|
|
1880
1880
|
),
|
|
1881
|
-
disabled:
|
|
1881
|
+
disabled: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1882
1882
|
"text-muted-foreground opacity-50",
|
|
1883
1883
|
defaultClassNames.disabled
|
|
1884
1884
|
),
|
|
1885
|
-
hidden:
|
|
1885
|
+
hidden: _chunkHBCIT6KEjs.cn.call(void 0, "invisible", defaultClassNames.hidden),
|
|
1886
1886
|
...classNames
|
|
1887
1887
|
},
|
|
1888
1888
|
components: {
|
|
@@ -1892,19 +1892,19 @@ function Calendar({
|
|
|
1892
1892
|
{
|
|
1893
1893
|
"data-slot": "calendar",
|
|
1894
1894
|
ref: rootRef,
|
|
1895
|
-
className:
|
|
1895
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, className2),
|
|
1896
1896
|
...props2
|
|
1897
1897
|
}
|
|
1898
1898
|
);
|
|
1899
1899
|
}, "Root"),
|
|
1900
1900
|
Chevron: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className: className2, orientation, ...props2 }) => {
|
|
1901
1901
|
if (orientation === "left") {
|
|
1902
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className:
|
|
1902
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunkHBCIT6KEjs.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1903
1903
|
}
|
|
1904
1904
|
if (orientation === "right") {
|
|
1905
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className:
|
|
1905
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunkHBCIT6KEjs.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1906
1906
|
}
|
|
1907
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className:
|
|
1907
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunkHBCIT6KEjs.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1908
1908
|
}, "Chevron"),
|
|
1909
1909
|
DayButton: CalendarDayButton,
|
|
1910
1910
|
WeekNumber: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ children, ...props2 }) => {
|
|
@@ -1938,7 +1938,7 @@ function CalendarDayButton({
|
|
|
1938
1938
|
"data-range-start": modifiers.range_start,
|
|
1939
1939
|
"data-range-end": modifiers.range_end,
|
|
1940
1940
|
"data-range-middle": modifiers.range_middle,
|
|
1941
|
-
className:
|
|
1941
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1942
1942
|
"data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",
|
|
1943
1943
|
defaultClassNames.day,
|
|
1944
1944
|
className
|
|
@@ -1961,7 +1961,7 @@ function Card({
|
|
|
1961
1961
|
{
|
|
1962
1962
|
"data-slot": "card",
|
|
1963
1963
|
"data-size": size,
|
|
1964
|
-
className:
|
|
1964
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-lg py-4 text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg group/card flex flex-col", className),
|
|
1965
1965
|
...props
|
|
1966
1966
|
}
|
|
1967
1967
|
);
|
|
@@ -1972,7 +1972,7 @@ function CardHeader({ className, ...props }) {
|
|
|
1972
1972
|
"div",
|
|
1973
1973
|
{
|
|
1974
1974
|
"data-slot": "card-header",
|
|
1975
|
-
className:
|
|
1975
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
1976
1976
|
"gap-1 rounded-t-lg px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
|
|
1977
1977
|
className
|
|
1978
1978
|
),
|
|
@@ -1986,7 +1986,7 @@ function CardTitle({ className, ...props }) {
|
|
|
1986
1986
|
"div",
|
|
1987
1987
|
{
|
|
1988
1988
|
"data-slot": "card-title",
|
|
1989
|
-
className:
|
|
1989
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-sm font-medium", className),
|
|
1990
1990
|
...props
|
|
1991
1991
|
}
|
|
1992
1992
|
);
|
|
@@ -1997,7 +1997,7 @@ function CardDescription({ className, ...props }) {
|
|
|
1997
1997
|
"div",
|
|
1998
1998
|
{
|
|
1999
1999
|
"data-slot": "card-description",
|
|
2000
|
-
className:
|
|
2000
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
2001
2001
|
...props
|
|
2002
2002
|
}
|
|
2003
2003
|
);
|
|
@@ -2008,7 +2008,7 @@ function CardAction({ className, ...props }) {
|
|
|
2008
2008
|
"div",
|
|
2009
2009
|
{
|
|
2010
2010
|
"data-slot": "card-action",
|
|
2011
|
-
className:
|
|
2011
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2012
2012
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
2013
2013
|
className
|
|
2014
2014
|
),
|
|
@@ -2022,7 +2022,7 @@ function CardContent({ className, ...props }) {
|
|
|
2022
2022
|
"div",
|
|
2023
2023
|
{
|
|
2024
2024
|
"data-slot": "card-content",
|
|
2025
|
-
className:
|
|
2025
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
|
|
2026
2026
|
...props
|
|
2027
2027
|
}
|
|
2028
2028
|
);
|
|
@@ -2033,7 +2033,7 @@ function CardFooter({ className, ...props }) {
|
|
|
2033
2033
|
"div",
|
|
2034
2034
|
{
|
|
2035
2035
|
"data-slot": "card-footer",
|
|
2036
|
-
className:
|
|
2036
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "rounded-b-lg px-4 group-data-[size=sm]/card:px-3 [.border-t]:pt-4 group-data-[size=sm]/card:[.border-t]:pt-3 flex items-center", className),
|
|
2037
2037
|
...props
|
|
2038
2038
|
}
|
|
2039
2039
|
);
|
|
@@ -2125,7 +2125,7 @@ function Carousel({
|
|
|
2125
2125
|
"div",
|
|
2126
2126
|
{
|
|
2127
2127
|
onKeyDownCapture: handleKeyDown,
|
|
2128
|
-
className:
|
|
2128
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "relative", className),
|
|
2129
2129
|
role: "region",
|
|
2130
2130
|
"aria-roledescription": "carousel",
|
|
2131
2131
|
"data-slot": "carousel",
|
|
@@ -2148,7 +2148,7 @@ function CarouselContent({ className, ...props }) {
|
|
|
2148
2148
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2149
2149
|
"div",
|
|
2150
2150
|
{
|
|
2151
|
-
className:
|
|
2151
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2152
2152
|
"flex",
|
|
2153
2153
|
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
2154
2154
|
className
|
|
@@ -2168,7 +2168,7 @@ function CarouselItem({ className, ...props }) {
|
|
|
2168
2168
|
role: "group",
|
|
2169
2169
|
"aria-roledescription": "slide",
|
|
2170
2170
|
"data-slot": "carousel-item",
|
|
2171
|
-
className:
|
|
2171
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2172
2172
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
2173
2173
|
orientation === "horizontal" ? "pl-4" : "pt-4",
|
|
2174
2174
|
className
|
|
@@ -2191,7 +2191,7 @@ function CarouselPrevious({
|
|
|
2191
2191
|
"data-slot": "carousel-previous",
|
|
2192
2192
|
variant,
|
|
2193
2193
|
size,
|
|
2194
|
-
className:
|
|
2194
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2195
2195
|
"rounded-full absolute touch-manipulation",
|
|
2196
2196
|
orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
2197
2197
|
className
|
|
@@ -2223,7 +2223,7 @@ function CarouselNext({
|
|
|
2223
2223
|
"data-slot": "carousel-next",
|
|
2224
2224
|
variant,
|
|
2225
2225
|
size,
|
|
2226
|
-
className:
|
|
2226
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2227
2227
|
"rounded-full absolute touch-manipulation",
|
|
2228
2228
|
orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
2229
2229
|
className
|
|
@@ -2271,7 +2271,7 @@ function ChartContainer({
|
|
|
2271
2271
|
{
|
|
2272
2272
|
"data-slot": "chart",
|
|
2273
2273
|
"data-chart": chartId,
|
|
2274
|
-
className:
|
|
2274
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2275
2275
|
"[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
|
|
2276
2276
|
className
|
|
2277
2277
|
),
|
|
@@ -2335,12 +2335,12 @@ function ChartTooltipContent({
|
|
|
2335
2335
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
2336
2336
|
const value = !labelKey && typeof label === "string" ? _optionalChain([config, 'access', _62 => _62[label], 'optionalAccess', _63 => _63.label]) || label : _optionalChain([itemConfig, 'optionalAccess', _64 => _64.label]);
|
|
2337
2337
|
if (labelFormatter) {
|
|
2338
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2338
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
2339
2339
|
}
|
|
2340
2340
|
if (!value) {
|
|
2341
2341
|
return null;
|
|
2342
2342
|
}
|
|
2343
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2343
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, "font-medium", labelClassName), children: value });
|
|
2344
2344
|
}, [
|
|
2345
2345
|
label,
|
|
2346
2346
|
labelFormatter,
|
|
@@ -2357,7 +2357,7 @@ function ChartTooltipContent({
|
|
|
2357
2357
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2358
2358
|
"div",
|
|
2359
2359
|
{
|
|
2360
|
-
className:
|
|
2360
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2361
2361
|
"border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs/relaxed shadow-xl grid min-w-[8rem] items-start",
|
|
2362
2362
|
className
|
|
2363
2363
|
),
|
|
@@ -2370,7 +2370,7 @@ function ChartTooltipContent({
|
|
|
2370
2370
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2371
2371
|
"div",
|
|
2372
2372
|
{
|
|
2373
|
-
className:
|
|
2373
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2374
2374
|
"[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
|
|
2375
2375
|
indicator === "dot" && "items-center"
|
|
2376
2376
|
),
|
|
@@ -2378,7 +2378,7 @@ function ChartTooltipContent({
|
|
|
2378
2378
|
_optionalChain([itemConfig, 'optionalAccess', _69 => _69.icon]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2379
2379
|
"div",
|
|
2380
2380
|
{
|
|
2381
|
-
className:
|
|
2381
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2382
2382
|
"shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
|
|
2383
2383
|
{
|
|
2384
2384
|
"h-2.5 w-2.5": indicator === "dot",
|
|
@@ -2396,7 +2396,7 @@ function ChartTooltipContent({
|
|
|
2396
2396
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2397
2397
|
"div",
|
|
2398
2398
|
{
|
|
2399
|
-
className:
|
|
2399
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2400
2400
|
"flex flex-1 justify-between leading-none",
|
|
2401
2401
|
nestLabel ? "items-end" : "items-center"
|
|
2402
2402
|
),
|
|
@@ -2434,7 +2434,7 @@ function ChartLegendContent({
|
|
|
2434
2434
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2435
2435
|
"div",
|
|
2436
2436
|
{
|
|
2437
|
-
className:
|
|
2437
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2438
2438
|
"flex items-center justify-center gap-4",
|
|
2439
2439
|
verticalAlign === "top" ? "pb-3" : "pt-3",
|
|
2440
2440
|
className
|
|
@@ -2445,7 +2445,7 @@ function ChartLegendContent({
|
|
|
2445
2445
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2446
2446
|
"div",
|
|
2447
2447
|
{
|
|
2448
|
-
className:
|
|
2448
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2449
2449
|
"[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
|
|
2450
2450
|
),
|
|
2451
2451
|
children: [
|
|
@@ -2492,7 +2492,7 @@ function Checkbox({ className, ...props }) {
|
|
|
2492
2492
|
_checkbox.Checkbox.Root,
|
|
2493
2493
|
{
|
|
2494
2494
|
"data-slot": "checkbox",
|
|
2495
|
-
className:
|
|
2495
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2496
2496
|
"border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[2px] aria-invalid:ring-[2px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2497
2497
|
className
|
|
2498
2498
|
),
|
|
@@ -2560,7 +2560,7 @@ function DialogOverlay({
|
|
|
2560
2560
|
_dialog.Dialog.Backdrop,
|
|
2561
2561
|
{
|
|
2562
2562
|
"data-slot": "dialog-overlay",
|
|
2563
|
-
className:
|
|
2563
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
|
|
2564
2564
|
...props
|
|
2565
2565
|
}
|
|
2566
2566
|
);
|
|
@@ -2578,7 +2578,7 @@ function DialogContent({
|
|
|
2578
2578
|
_dialog.Dialog.Popup,
|
|
2579
2579
|
{
|
|
2580
2580
|
"data-slot": "dialog-content",
|
|
2581
|
-
className:
|
|
2581
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2582
2582
|
"bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid gap-4 rounded-xl p-4 text-xs/relaxed ring-1 duration-100 fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 outline-none",
|
|
2583
2583
|
className
|
|
2584
2584
|
),
|
|
@@ -2617,7 +2617,7 @@ function DialogHeader({ className, ...props }) {
|
|
|
2617
2617
|
"div",
|
|
2618
2618
|
{
|
|
2619
2619
|
"data-slot": "dialog-header",
|
|
2620
|
-
className:
|
|
2620
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-1 flex flex-col", className),
|
|
2621
2621
|
...props
|
|
2622
2622
|
}
|
|
2623
2623
|
);
|
|
@@ -2633,7 +2633,7 @@ function DialogFooter({
|
|
|
2633
2633
|
"div",
|
|
2634
2634
|
{
|
|
2635
2635
|
"data-slot": "dialog-footer",
|
|
2636
|
-
className:
|
|
2636
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2637
2637
|
"gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
2638
2638
|
className
|
|
2639
2639
|
),
|
|
@@ -2651,7 +2651,7 @@ function DialogTitle({ className, ...props }) {
|
|
|
2651
2651
|
_dialog.Dialog.Title,
|
|
2652
2652
|
{
|
|
2653
2653
|
"data-slot": "dialog-title",
|
|
2654
|
-
className:
|
|
2654
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-sm font-medium", className),
|
|
2655
2655
|
...props
|
|
2656
2656
|
}
|
|
2657
2657
|
);
|
|
@@ -2665,7 +2665,7 @@ function DialogDescription({
|
|
|
2665
2665
|
_dialog.Dialog.Description,
|
|
2666
2666
|
{
|
|
2667
2667
|
"data-slot": "dialog-description",
|
|
2668
|
-
className:
|
|
2668
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
|
|
2669
2669
|
...props
|
|
2670
2670
|
}
|
|
2671
2671
|
);
|
|
@@ -2684,7 +2684,7 @@ function Input({ className, type, ...props }) {
|
|
|
2684
2684
|
{
|
|
2685
2685
|
type,
|
|
2686
2686
|
"data-slot": "input",
|
|
2687
|
-
className:
|
|
2687
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2688
2688
|
"bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-7 rounded-md border px-2 py-0.5 text-sm transition-colors file:h-6 file:text-xs/relaxed file:font-medium focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
2689
2689
|
className
|
|
2690
2690
|
),
|
|
@@ -2701,7 +2701,7 @@ function Textarea({ className, ...props }) {
|
|
|
2701
2701
|
"textarea",
|
|
2702
2702
|
{
|
|
2703
2703
|
"data-slot": "textarea",
|
|
2704
|
-
className:
|
|
2704
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2705
2705
|
"border-input bg-input/20 dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 resize-none rounded-md border px-2 py-2 text-sm transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
2706
2706
|
className
|
|
2707
2707
|
),
|
|
@@ -2719,7 +2719,7 @@ function InputGroup({ className, ...props }) {
|
|
|
2719
2719
|
{
|
|
2720
2720
|
"data-slot": "input-group",
|
|
2721
2721
|
role: "group",
|
|
2722
|
-
className:
|
|
2722
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2723
2723
|
"border-input bg-input/20 dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-7 rounded-md border transition-colors has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:ring-[2px] has-[[data-slot][aria-invalid=true]]:ring-[2px] has-[textarea]:rounded-md has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
|
|
2724
2724
|
className
|
|
2725
2725
|
),
|
|
@@ -2755,7 +2755,7 @@ function InputGroupAddon({
|
|
|
2755
2755
|
role: "group",
|
|
2756
2756
|
"data-slot": "input-group-addon",
|
|
2757
2757
|
"data-align": align,
|
|
2758
|
-
className:
|
|
2758
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, inputGroupAddonVariants({ align }), className),
|
|
2759
2759
|
onClick: (e) => {
|
|
2760
2760
|
if (e.target.closest("button")) {
|
|
2761
2761
|
return;
|
|
@@ -2796,7 +2796,7 @@ function InputGroupButton({
|
|
|
2796
2796
|
type,
|
|
2797
2797
|
"data-size": size,
|
|
2798
2798
|
variant,
|
|
2799
|
-
className:
|
|
2799
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, inputGroupButtonVariants({ size }), className),
|
|
2800
2800
|
...props
|
|
2801
2801
|
}
|
|
2802
2802
|
);
|
|
@@ -2806,7 +2806,7 @@ function InputGroupText({ className, ...props }) {
|
|
|
2806
2806
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2807
2807
|
"span",
|
|
2808
2808
|
{
|
|
2809
|
-
className:
|
|
2809
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2810
2810
|
"text-muted-foreground gap-2 text-xs/relaxed [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",
|
|
2811
2811
|
className
|
|
2812
2812
|
),
|
|
@@ -2823,7 +2823,7 @@ function InputGroupInput({
|
|
|
2823
2823
|
Input,
|
|
2824
2824
|
{
|
|
2825
2825
|
"data-slot": "input-group-control",
|
|
2826
|
-
className:
|
|
2826
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1", className),
|
|
2827
2827
|
...props
|
|
2828
2828
|
}
|
|
2829
2829
|
);
|
|
@@ -2837,7 +2837,7 @@ function InputGroupTextarea({
|
|
|
2837
2837
|
Textarea,
|
|
2838
2838
|
{
|
|
2839
2839
|
"data-slot": "input-group-control",
|
|
2840
|
-
className:
|
|
2840
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none", className),
|
|
2841
2841
|
...props
|
|
2842
2842
|
}
|
|
2843
2843
|
);
|
|
@@ -2855,7 +2855,7 @@ function Command({
|
|
|
2855
2855
|
_cmdk.Command,
|
|
2856
2856
|
{
|
|
2857
2857
|
"data-slot": "command",
|
|
2858
|
-
className:
|
|
2858
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2859
2859
|
"bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden",
|
|
2860
2860
|
className
|
|
2861
2861
|
),
|
|
@@ -2880,7 +2880,7 @@ function CommandDialog({
|
|
|
2880
2880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2881
2881
|
DialogContent,
|
|
2882
2882
|
{
|
|
2883
|
-
className:
|
|
2883
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
|
|
2884
2884
|
showCloseButton,
|
|
2885
2885
|
children
|
|
2886
2886
|
}
|
|
@@ -2897,7 +2897,7 @@ function CommandInput({
|
|
|
2897
2897
|
_cmdk.Command.Input,
|
|
2898
2898
|
{
|
|
2899
2899
|
"data-slot": "command-input",
|
|
2900
|
-
className:
|
|
2900
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2901
2901
|
"w-full text-xs/relaxed outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
2902
2902
|
className
|
|
2903
2903
|
),
|
|
@@ -2916,7 +2916,7 @@ function CommandList({
|
|
|
2916
2916
|
_cmdk.Command.List,
|
|
2917
2917
|
{
|
|
2918
2918
|
"data-slot": "command-list",
|
|
2919
|
-
className:
|
|
2919
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2920
2920
|
"no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",
|
|
2921
2921
|
className
|
|
2922
2922
|
),
|
|
@@ -2933,7 +2933,7 @@ function CommandEmpty({
|
|
|
2933
2933
|
_cmdk.Command.Empty,
|
|
2934
2934
|
{
|
|
2935
2935
|
"data-slot": "command-empty",
|
|
2936
|
-
className:
|
|
2936
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
|
|
2937
2937
|
...props
|
|
2938
2938
|
}
|
|
2939
2939
|
);
|
|
@@ -2947,7 +2947,7 @@ function CommandGroup({
|
|
|
2947
2947
|
_cmdk.Command.Group,
|
|
2948
2948
|
{
|
|
2949
2949
|
"data-slot": "command-group",
|
|
2950
|
-
className:
|
|
2950
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
|
|
2951
2951
|
...props
|
|
2952
2952
|
}
|
|
2953
2953
|
);
|
|
@@ -2961,7 +2961,7 @@ function CommandSeparator({
|
|
|
2961
2961
|
_cmdk.Command.Separator,
|
|
2962
2962
|
{
|
|
2963
2963
|
"data-slot": "command-separator",
|
|
2964
|
-
className:
|
|
2964
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
2965
2965
|
...props
|
|
2966
2966
|
}
|
|
2967
2967
|
);
|
|
@@ -2976,7 +2976,7 @@ function CommandItem({
|
|
|
2976
2976
|
_cmdk.Command.Item,
|
|
2977
2977
|
{
|
|
2978
2978
|
"data-slot": "command-item",
|
|
2979
|
-
className:
|
|
2979
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
2980
2980
|
"data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
2981
2981
|
className
|
|
2982
2982
|
),
|
|
@@ -2997,7 +2997,7 @@ function CommandShortcut({
|
|
|
2997
2997
|
"span",
|
|
2998
2998
|
{
|
|
2999
2999
|
"data-slot": "command-shortcut",
|
|
3000
|
-
className:
|
|
3000
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
3001
3001
|
...props
|
|
3002
3002
|
}
|
|
3003
3003
|
);
|
|
@@ -3024,7 +3024,7 @@ function ContextMenuTrigger({
|
|
|
3024
3024
|
_contextmenu.ContextMenu.Trigger,
|
|
3025
3025
|
{
|
|
3026
3026
|
"data-slot": "context-menu-trigger",
|
|
3027
|
-
className:
|
|
3027
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "select-none", className),
|
|
3028
3028
|
...props
|
|
3029
3029
|
}
|
|
3030
3030
|
);
|
|
@@ -3050,7 +3050,7 @@ function ContextMenuContent({
|
|
|
3050
3050
|
_contextmenu.ContextMenu.Popup,
|
|
3051
3051
|
{
|
|
3052
3052
|
"data-slot": "context-menu-content",
|
|
3053
|
-
className:
|
|
3053
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none", className),
|
|
3054
3054
|
...props
|
|
3055
3055
|
}
|
|
3056
3056
|
)
|
|
@@ -3072,7 +3072,7 @@ function ContextMenuLabel({
|
|
|
3072
3072
|
{
|
|
3073
3073
|
"data-slot": "context-menu-label",
|
|
3074
3074
|
"data-inset": inset,
|
|
3075
|
-
className:
|
|
3075
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
|
|
3076
3076
|
...props
|
|
3077
3077
|
}
|
|
3078
3078
|
);
|
|
@@ -3090,7 +3090,7 @@ function ContextMenuItem({
|
|
|
3090
3090
|
"data-slot": "context-menu-item",
|
|
3091
3091
|
"data-inset": inset,
|
|
3092
3092
|
"data-variant": variant,
|
|
3093
|
-
className:
|
|
3093
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3094
3094
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3095
3095
|
className
|
|
3096
3096
|
),
|
|
@@ -3114,7 +3114,7 @@ function ContextMenuSubTrigger({
|
|
|
3114
3114
|
{
|
|
3115
3115
|
"data-slot": "context-menu-sub-trigger",
|
|
3116
3116
|
"data-inset": inset,
|
|
3117
|
-
className:
|
|
3117
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3118
3118
|
"focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3119
3119
|
className
|
|
3120
3120
|
),
|
|
@@ -3151,7 +3151,7 @@ function ContextMenuCheckboxItem({
|
|
|
3151
3151
|
_contextmenu.ContextMenu.CheckboxItem,
|
|
3152
3152
|
{
|
|
3153
3153
|
"data-slot": "context-menu-checkbox-item",
|
|
3154
|
-
className:
|
|
3154
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3155
3155
|
"focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3156
3156
|
className
|
|
3157
3157
|
),
|
|
@@ -3189,7 +3189,7 @@ function ContextMenuRadioItem({
|
|
|
3189
3189
|
_contextmenu.ContextMenu.RadioItem,
|
|
3190
3190
|
{
|
|
3191
3191
|
"data-slot": "context-menu-radio-item",
|
|
3192
|
-
className:
|
|
3192
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3193
3193
|
"focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3194
3194
|
className
|
|
3195
3195
|
),
|
|
@@ -3213,7 +3213,7 @@ function ContextMenuSeparator({
|
|
|
3213
3213
|
_contextmenu.ContextMenu.Separator,
|
|
3214
3214
|
{
|
|
3215
3215
|
"data-slot": "context-menu-separator",
|
|
3216
|
-
className:
|
|
3216
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
3217
3217
|
...props
|
|
3218
3218
|
}
|
|
3219
3219
|
);
|
|
@@ -3227,7 +3227,7 @@ function ContextMenuShortcut({
|
|
|
3227
3227
|
"span",
|
|
3228
3228
|
{
|
|
3229
3229
|
"data-slot": "context-menu-shortcut",
|
|
3230
|
-
className:
|
|
3230
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
3231
3231
|
...props
|
|
3232
3232
|
}
|
|
3233
3233
|
);
|
|
@@ -3269,7 +3269,7 @@ function DrawerOverlay({
|
|
|
3269
3269
|
_vaul.Drawer.Overlay,
|
|
3270
3270
|
{
|
|
3271
3271
|
"data-slot": "drawer-overlay",
|
|
3272
|
-
className:
|
|
3272
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
|
|
3273
3273
|
...props
|
|
3274
3274
|
}
|
|
3275
3275
|
);
|
|
@@ -3286,7 +3286,7 @@ function DrawerContent({
|
|
|
3286
3286
|
_vaul.Drawer.Content,
|
|
3287
3287
|
{
|
|
3288
3288
|
"data-slot": "drawer-content",
|
|
3289
|
-
className:
|
|
3289
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3290
3290
|
"before:bg-background relative flex h-auto flex-col bg-transparent p-2 text-xs/relaxed before:absolute before:inset-2 before:-z-10 before:rounded-xl data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50",
|
|
3291
3291
|
className
|
|
3292
3292
|
),
|
|
@@ -3305,7 +3305,7 @@ function DrawerHeader({ className, ...props }) {
|
|
|
3305
3305
|
"div",
|
|
3306
3306
|
{
|
|
3307
3307
|
"data-slot": "drawer-header",
|
|
3308
|
-
className:
|
|
3308
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-1 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:text-left flex flex-col", className),
|
|
3309
3309
|
...props
|
|
3310
3310
|
}
|
|
3311
3311
|
);
|
|
@@ -3316,7 +3316,7 @@ function DrawerFooter({ className, ...props }) {
|
|
|
3316
3316
|
"div",
|
|
3317
3317
|
{
|
|
3318
3318
|
"data-slot": "drawer-footer",
|
|
3319
|
-
className:
|
|
3319
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
|
|
3320
3320
|
...props
|
|
3321
3321
|
}
|
|
3322
3322
|
);
|
|
@@ -3330,7 +3330,7 @@ function DrawerTitle({
|
|
|
3330
3330
|
_vaul.Drawer.Title,
|
|
3331
3331
|
{
|
|
3332
3332
|
"data-slot": "drawer-title",
|
|
3333
|
-
className:
|
|
3333
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
|
|
3334
3334
|
...props
|
|
3335
3335
|
}
|
|
3336
3336
|
);
|
|
@@ -3344,7 +3344,7 @@ function DrawerDescription({
|
|
|
3344
3344
|
_vaul.Drawer.Description,
|
|
3345
3345
|
{
|
|
3346
3346
|
"data-slot": "drawer-description",
|
|
3347
|
-
className:
|
|
3347
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
3348
3348
|
...props
|
|
3349
3349
|
}
|
|
3350
3350
|
);
|
|
@@ -3387,7 +3387,7 @@ function DropdownMenuContent({
|
|
|
3387
3387
|
_menu.Menu.Popup,
|
|
3388
3388
|
{
|
|
3389
3389
|
"data-slot": "dropdown-menu-content",
|
|
3390
|
-
className:
|
|
3390
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden", className),
|
|
3391
3391
|
...props
|
|
3392
3392
|
}
|
|
3393
3393
|
)
|
|
@@ -3409,7 +3409,7 @@ function DropdownMenuLabel({
|
|
|
3409
3409
|
{
|
|
3410
3410
|
"data-slot": "dropdown-menu-label",
|
|
3411
3411
|
"data-inset": inset,
|
|
3412
|
-
className:
|
|
3412
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
|
|
3413
3413
|
...props
|
|
3414
3414
|
}
|
|
3415
3415
|
);
|
|
@@ -3427,7 +3427,7 @@ function DropdownMenuItem({
|
|
|
3427
3427
|
"data-slot": "dropdown-menu-item",
|
|
3428
3428
|
"data-inset": inset,
|
|
3429
3429
|
"data-variant": variant,
|
|
3430
|
-
className:
|
|
3430
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3431
3431
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3432
3432
|
className
|
|
3433
3433
|
),
|
|
@@ -3451,7 +3451,7 @@ function DropdownMenuSubTrigger({
|
|
|
3451
3451
|
{
|
|
3452
3452
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
3453
3453
|
"data-inset": inset,
|
|
3454
|
-
className:
|
|
3454
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3455
3455
|
"focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3456
3456
|
className
|
|
3457
3457
|
),
|
|
@@ -3476,7 +3476,7 @@ function DropdownMenuSubContent({
|
|
|
3476
3476
|
DropdownMenuContent,
|
|
3477
3477
|
{
|
|
3478
3478
|
"data-slot": "dropdown-menu-sub-content",
|
|
3479
|
-
className:
|
|
3479
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 w-auto", className),
|
|
3480
3480
|
align,
|
|
3481
3481
|
alignOffset,
|
|
3482
3482
|
side,
|
|
@@ -3496,7 +3496,7 @@ function DropdownMenuCheckboxItem({
|
|
|
3496
3496
|
_menu.Menu.CheckboxItem,
|
|
3497
3497
|
{
|
|
3498
3498
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
3499
|
-
className:
|
|
3499
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3500
3500
|
"focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3501
3501
|
className
|
|
3502
3502
|
),
|
|
@@ -3539,7 +3539,7 @@ function DropdownMenuRadioItem({
|
|
|
3539
3539
|
_menu.Menu.RadioItem,
|
|
3540
3540
|
{
|
|
3541
3541
|
"data-slot": "dropdown-menu-radio-item",
|
|
3542
|
-
className:
|
|
3542
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3543
3543
|
"focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3544
3544
|
className
|
|
3545
3545
|
),
|
|
@@ -3570,7 +3570,7 @@ function DropdownMenuSeparator({
|
|
|
3570
3570
|
_menu.Menu.Separator,
|
|
3571
3571
|
{
|
|
3572
3572
|
"data-slot": "dropdown-menu-separator",
|
|
3573
|
-
className:
|
|
3573
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
3574
3574
|
...props
|
|
3575
3575
|
}
|
|
3576
3576
|
);
|
|
@@ -3584,7 +3584,7 @@ function DropdownMenuShortcut({
|
|
|
3584
3584
|
"span",
|
|
3585
3585
|
{
|
|
3586
3586
|
"data-slot": "dropdown-menu-shortcut",
|
|
3587
|
-
className:
|
|
3587
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
3588
3588
|
...props
|
|
3589
3589
|
}
|
|
3590
3590
|
);
|
|
@@ -3602,7 +3602,7 @@ function Label({ className, ...props }) {
|
|
|
3602
3602
|
"label",
|
|
3603
3603
|
{
|
|
3604
3604
|
"data-slot": "label",
|
|
3605
|
-
className:
|
|
3605
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3606
3606
|
"gap-2 text-xs/relaxed leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
|
|
3607
3607
|
className
|
|
3608
3608
|
),
|
|
@@ -3625,7 +3625,7 @@ function Separator({
|
|
|
3625
3625
|
{
|
|
3626
3626
|
"data-slot": "separator",
|
|
3627
3627
|
orientation,
|
|
3628
|
-
className:
|
|
3628
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3629
3629
|
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
|
|
3630
3630
|
className
|
|
3631
3631
|
),
|
|
@@ -3642,7 +3642,7 @@ function FieldSet({ className, ...props }) {
|
|
|
3642
3642
|
"fieldset",
|
|
3643
3643
|
{
|
|
3644
3644
|
"data-slot": "field-set",
|
|
3645
|
-
className:
|
|
3645
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
|
|
3646
3646
|
...props
|
|
3647
3647
|
}
|
|
3648
3648
|
);
|
|
@@ -3658,7 +3658,7 @@ function FieldLegend({
|
|
|
3658
3658
|
{
|
|
3659
3659
|
"data-slot": "field-legend",
|
|
3660
3660
|
"data-variant": variant,
|
|
3661
|
-
className:
|
|
3661
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
|
|
3662
3662
|
...props
|
|
3663
3663
|
}
|
|
3664
3664
|
);
|
|
@@ -3669,7 +3669,7 @@ function FieldGroup({ className, ...props }) {
|
|
|
3669
3669
|
"div",
|
|
3670
3670
|
{
|
|
3671
3671
|
"data-slot": "field-group",
|
|
3672
|
-
className:
|
|
3672
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3673
3673
|
"gap-4 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",
|
|
3674
3674
|
className
|
|
3675
3675
|
),
|
|
@@ -3701,7 +3701,7 @@ function Field({
|
|
|
3701
3701
|
role: "group",
|
|
3702
3702
|
"data-slot": "field",
|
|
3703
3703
|
"data-orientation": orientation,
|
|
3704
|
-
className:
|
|
3704
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, fieldVariants({ orientation }), className),
|
|
3705
3705
|
...props
|
|
3706
3706
|
}
|
|
3707
3707
|
);
|
|
@@ -3712,7 +3712,7 @@ function FieldContent({ className, ...props }) {
|
|
|
3712
3712
|
"div",
|
|
3713
3713
|
{
|
|
3714
3714
|
"data-slot": "field-content",
|
|
3715
|
-
className:
|
|
3715
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3716
3716
|
"gap-0.5 group/field-content flex flex-1 flex-col leading-snug",
|
|
3717
3717
|
className
|
|
3718
3718
|
),
|
|
@@ -3729,7 +3729,7 @@ function FieldLabel({
|
|
|
3729
3729
|
Label,
|
|
3730
3730
|
{
|
|
3731
3731
|
"data-slot": "field-label",
|
|
3732
|
-
className:
|
|
3732
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3733
3733
|
"has-data-checked:bg-primary/5 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2 group/field-label peer/field-label flex w-fit leading-snug",
|
|
3734
3734
|
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
|
|
3735
3735
|
className
|
|
@@ -3744,7 +3744,7 @@ function FieldTitle({ className, ...props }) {
|
|
|
3744
3744
|
"div",
|
|
3745
3745
|
{
|
|
3746
3746
|
"data-slot": "field-label",
|
|
3747
|
-
className:
|
|
3747
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3748
3748
|
"gap-2 text-xs/relaxed font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",
|
|
3749
3749
|
className
|
|
3750
3750
|
),
|
|
@@ -3758,7 +3758,7 @@ function FieldDescription({ className, ...props }) {
|
|
|
3758
3758
|
"p",
|
|
3759
3759
|
{
|
|
3760
3760
|
"data-slot": "field-description",
|
|
3761
|
-
className:
|
|
3761
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3762
3762
|
"text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
|
|
3763
3763
|
"last:mt-0 nth-last-2:-mt-1",
|
|
3764
3764
|
"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
|
|
@@ -3779,7 +3779,7 @@ function FieldSeparator({
|
|
|
3779
3779
|
{
|
|
3780
3780
|
"data-slot": "field-separator",
|
|
3781
3781
|
"data-content": !!children,
|
|
3782
|
-
className:
|
|
3782
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
|
|
3783
3783
|
...props,
|
|
3784
3784
|
children: [
|
|
3785
3785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, { className: "absolute inset-0 top-1/2" }),
|
|
@@ -3827,7 +3827,7 @@ function FieldError({
|
|
|
3827
3827
|
{
|
|
3828
3828
|
role: "alert",
|
|
3829
3829
|
"data-slot": "field-error",
|
|
3830
|
-
className:
|
|
3830
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
|
|
3831
3831
|
...props,
|
|
3832
3832
|
children: content
|
|
3833
3833
|
}
|
|
@@ -3870,7 +3870,7 @@ function HoverCardContent({
|
|
|
3870
3870
|
_previewcard.PreviewCard.Popup,
|
|
3871
3871
|
{
|
|
3872
3872
|
"data-slot": "hover-card-content",
|
|
3873
|
-
className:
|
|
3873
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3874
3874
|
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-72 rounded-lg p-2.5 text-xs/relaxed shadow-md ring-1 duration-100 z-50 origin-(--transform-origin) outline-hidden",
|
|
3875
3875
|
className
|
|
3876
3876
|
),
|
|
@@ -3896,12 +3896,12 @@ function InputOTP({
|
|
|
3896
3896
|
_inputotp.OTPInput,
|
|
3897
3897
|
{
|
|
3898
3898
|
"data-slot": "input-otp",
|
|
3899
|
-
containerClassName:
|
|
3899
|
+
containerClassName: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3900
3900
|
"cn-input-otp flex items-center has-disabled:opacity-50",
|
|
3901
3901
|
containerClassName
|
|
3902
3902
|
),
|
|
3903
3903
|
spellCheck: false,
|
|
3904
|
-
className:
|
|
3904
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3905
3905
|
"disabled:cursor-not-allowed",
|
|
3906
3906
|
className
|
|
3907
3907
|
),
|
|
@@ -3915,7 +3915,7 @@ function InputOTPGroup({ className, ...props }) {
|
|
|
3915
3915
|
"div",
|
|
3916
3916
|
{
|
|
3917
3917
|
"data-slot": "input-otp-group",
|
|
3918
|
-
className:
|
|
3918
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-md has-aria-invalid:ring-[2px] flex items-center", className),
|
|
3919
3919
|
...props
|
|
3920
3920
|
}
|
|
3921
3921
|
);
|
|
@@ -3933,7 +3933,7 @@ function InputOTPSlot({
|
|
|
3933
3933
|
{
|
|
3934
3934
|
"data-slot": "input-otp-slot",
|
|
3935
3935
|
"data-active": isActive,
|
|
3936
|
-
className:
|
|
3936
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3937
3937
|
"bg-input/20 dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/30 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-7 border-y border-r text-xs/relaxed transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:ring-[2px] relative flex items-center justify-center data-[active=true]:z-10",
|
|
3938
3938
|
className
|
|
3939
3939
|
),
|
|
@@ -3977,7 +3977,7 @@ function NavigationMenu({
|
|
|
3977
3977
|
_navigationmenu.NavigationMenu.Root,
|
|
3978
3978
|
{
|
|
3979
3979
|
"data-slot": "navigation-menu",
|
|
3980
|
-
className:
|
|
3980
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
3981
3981
|
"max-w-max group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
|
|
3982
3982
|
className
|
|
3983
3983
|
),
|
|
@@ -3998,7 +3998,7 @@ function NavigationMenuList({
|
|
|
3998
3998
|
_navigationmenu.NavigationMenu.List,
|
|
3999
3999
|
{
|
|
4000
4000
|
"data-slot": "navigation-menu-list",
|
|
4001
|
-
className:
|
|
4001
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4002
4002
|
"gap-0 group flex flex-1 list-none items-center justify-center",
|
|
4003
4003
|
className
|
|
4004
4004
|
),
|
|
@@ -4015,7 +4015,7 @@ function NavigationMenuItem({
|
|
|
4015
4015
|
_navigationmenu.NavigationMenu.Item,
|
|
4016
4016
|
{
|
|
4017
4017
|
"data-slot": "navigation-menu-item",
|
|
4018
|
-
className:
|
|
4018
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "relative", className),
|
|
4019
4019
|
...props
|
|
4020
4020
|
}
|
|
4021
4021
|
);
|
|
@@ -4033,7 +4033,7 @@ function NavigationMenuTrigger({
|
|
|
4033
4033
|
_navigationmenu.NavigationMenu.Trigger,
|
|
4034
4034
|
{
|
|
4035
4035
|
"data-slot": "navigation-menu-trigger",
|
|
4036
|
-
className:
|
|
4036
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
|
|
4037
4037
|
...props,
|
|
4038
4038
|
children: [
|
|
4039
4039
|
children,
|
|
@@ -4052,7 +4052,7 @@ function NavigationMenuContent({
|
|
|
4052
4052
|
_navigationmenu.NavigationMenu.Content,
|
|
4053
4053
|
{
|
|
4054
4054
|
"data-slot": "navigation-menu-content",
|
|
4055
|
-
className:
|
|
4055
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4056
4056
|
"data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 h-full w-auto **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
|
|
4057
4057
|
className
|
|
4058
4058
|
),
|
|
@@ -4076,7 +4076,7 @@ function NavigationMenuPositioner({
|
|
|
4076
4076
|
sideOffset,
|
|
4077
4077
|
align,
|
|
4078
4078
|
alignOffset,
|
|
4079
|
-
className:
|
|
4079
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4080
4080
|
"transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0 isolate z-50 h-[var(--positioner-height)] w-[var(--positioner-width)] max-w-[var(--available-width)] data-[instant]:transition-none",
|
|
4081
4081
|
className
|
|
4082
4082
|
),
|
|
@@ -4094,7 +4094,7 @@ function NavigationMenuLink({
|
|
|
4094
4094
|
_navigationmenu.NavigationMenu.Link,
|
|
4095
4095
|
{
|
|
4096
4096
|
"data-slot": "navigation-menu-link",
|
|
4097
|
-
className:
|
|
4097
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-[2px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
|
|
4098
4098
|
...props
|
|
4099
4099
|
}
|
|
4100
4100
|
);
|
|
@@ -4108,7 +4108,7 @@ function NavigationMenuIndicator({
|
|
|
4108
4108
|
_navigationmenu.NavigationMenu.Icon,
|
|
4109
4109
|
{
|
|
4110
4110
|
"data-slot": "navigation-menu-indicator",
|
|
4111
|
-
className:
|
|
4111
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4112
4112
|
"data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
|
|
4113
4113
|
className
|
|
4114
4114
|
),
|
|
@@ -4150,7 +4150,7 @@ function PopoverContent({
|
|
|
4150
4150
|
_popover.Popover.Popup,
|
|
4151
4151
|
{
|
|
4152
4152
|
"data-slot": "popover-content",
|
|
4153
|
-
className:
|
|
4153
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4154
4154
|
"bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-4 rounded-lg p-2.5 text-xs shadow-md ring-1 duration-100 z-50 w-72 origin-(--transform-origin) outline-hidden",
|
|
4155
4155
|
className
|
|
4156
4156
|
),
|
|
@@ -4166,7 +4166,7 @@ function PopoverHeader({ className, ...props }) {
|
|
|
4166
4166
|
"div",
|
|
4167
4167
|
{
|
|
4168
4168
|
"data-slot": "popover-header",
|
|
4169
|
-
className:
|
|
4169
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
|
|
4170
4170
|
...props
|
|
4171
4171
|
}
|
|
4172
4172
|
);
|
|
@@ -4177,7 +4177,7 @@ function PopoverTitle({ className, ...props }) {
|
|
|
4177
4177
|
_popover.Popover.Title,
|
|
4178
4178
|
{
|
|
4179
4179
|
"data-slot": "popover-title",
|
|
4180
|
-
className:
|
|
4180
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-sm font-medium", className),
|
|
4181
4181
|
...props
|
|
4182
4182
|
}
|
|
4183
4183
|
);
|
|
@@ -4191,7 +4191,7 @@ function PopoverDescription({
|
|
|
4191
4191
|
_popover.Popover.Description,
|
|
4192
4192
|
{
|
|
4193
4193
|
"data-slot": "popover-description",
|
|
4194
|
-
className:
|
|
4194
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground", className),
|
|
4195
4195
|
...props
|
|
4196
4196
|
}
|
|
4197
4197
|
);
|
|
@@ -4212,7 +4212,7 @@ function Progress({
|
|
|
4212
4212
|
{
|
|
4213
4213
|
value,
|
|
4214
4214
|
"data-slot": "progress",
|
|
4215
|
-
className:
|
|
4215
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "flex flex-wrap gap-3", className),
|
|
4216
4216
|
...props,
|
|
4217
4217
|
children: [
|
|
4218
4218
|
children,
|
|
@@ -4226,7 +4226,7 @@ function ProgressTrack({ className, ...props }) {
|
|
|
4226
4226
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4227
4227
|
_progress.Progress.Track,
|
|
4228
4228
|
{
|
|
4229
|
-
className:
|
|
4229
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4230
4230
|
"bg-muted h-1 rounded-md relative flex w-full items-center overflow-x-hidden",
|
|
4231
4231
|
className
|
|
4232
4232
|
),
|
|
@@ -4244,7 +4244,7 @@ function ProgressIndicator({
|
|
|
4244
4244
|
_progress.Progress.Indicator,
|
|
4245
4245
|
{
|
|
4246
4246
|
"data-slot": "progress-indicator",
|
|
4247
|
-
className:
|
|
4247
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-primary h-full transition-all", className),
|
|
4248
4248
|
...props
|
|
4249
4249
|
}
|
|
4250
4250
|
);
|
|
@@ -4254,7 +4254,7 @@ function ProgressLabel({ className, ...props }) {
|
|
|
4254
4254
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4255
4255
|
_progress.Progress.Label,
|
|
4256
4256
|
{
|
|
4257
|
-
className:
|
|
4257
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-xs/relaxed font-medium", className),
|
|
4258
4258
|
"data-slot": "progress-label",
|
|
4259
4259
|
...props
|
|
4260
4260
|
}
|
|
@@ -4265,7 +4265,7 @@ function ProgressValue({ className, ...props }) {
|
|
|
4265
4265
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4266
4266
|
_progress.Progress.Value,
|
|
4267
4267
|
{
|
|
4268
|
-
className:
|
|
4268
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
|
|
4269
4269
|
"data-slot": "progress-value",
|
|
4270
4270
|
...props
|
|
4271
4271
|
}
|
|
@@ -4283,7 +4283,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
4283
4283
|
_radiogroup.RadioGroup,
|
|
4284
4284
|
{
|
|
4285
4285
|
"data-slot": "radio-group",
|
|
4286
|
-
className:
|
|
4286
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "grid gap-3 w-full", className),
|
|
4287
4287
|
...props
|
|
4288
4288
|
}
|
|
4289
4289
|
);
|
|
@@ -4294,7 +4294,7 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
4294
4294
|
_radio.Radio.Root,
|
|
4295
4295
|
{
|
|
4296
4296
|
"data-slot": "radio-group-item",
|
|
4297
|
-
className:
|
|
4297
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4298
4298
|
"border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 data-checked:bg-primary data-checked:border-primary flex size-4 rounded-full transition-none focus-visible:ring-[2px] aria-invalid:ring-[2px] group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
4299
4299
|
className
|
|
4300
4300
|
),
|
|
@@ -4323,7 +4323,7 @@ function ResizablePanelGroup({
|
|
|
4323
4323
|
ResizablePrimitive.PanelGroup,
|
|
4324
4324
|
{
|
|
4325
4325
|
"data-slot": "resizable-panel-group",
|
|
4326
|
-
className:
|
|
4326
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4327
4327
|
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
4328
4328
|
className
|
|
4329
4329
|
),
|
|
@@ -4347,7 +4347,7 @@ function ResizableHandle({
|
|
|
4347
4347
|
ResizablePrimitive.PanelResizeHandle,
|
|
4348
4348
|
{
|
|
4349
4349
|
"data-slot": "resizable-handle",
|
|
4350
|
-
className:
|
|
4350
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4351
4351
|
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
4352
4352
|
className
|
|
4353
4353
|
),
|
|
@@ -4370,7 +4370,7 @@ function ScrollArea({
|
|
|
4370
4370
|
_scrollarea.ScrollArea.Root,
|
|
4371
4371
|
{
|
|
4372
4372
|
"data-slot": "scroll-area",
|
|
4373
|
-
className:
|
|
4373
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "relative", className),
|
|
4374
4374
|
...props,
|
|
4375
4375
|
children: [
|
|
4376
4376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4399,7 +4399,7 @@ function ScrollBar({
|
|
|
4399
4399
|
"data-slot": "scroll-area-scrollbar",
|
|
4400
4400
|
"data-orientation": orientation,
|
|
4401
4401
|
orientation,
|
|
4402
|
-
className:
|
|
4402
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4403
4403
|
"data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",
|
|
4404
4404
|
className
|
|
4405
4405
|
),
|
|
@@ -4426,7 +4426,7 @@ function SelectGroup({ className, ...props }) {
|
|
|
4426
4426
|
_select.Select.Group,
|
|
4427
4427
|
{
|
|
4428
4428
|
"data-slot": "select-group",
|
|
4429
|
-
className:
|
|
4429
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "scroll-my-1 p-1", className),
|
|
4430
4430
|
...props
|
|
4431
4431
|
}
|
|
4432
4432
|
);
|
|
@@ -4437,7 +4437,7 @@ function SelectValue({ className, ...props }) {
|
|
|
4437
4437
|
_select.Select.Value,
|
|
4438
4438
|
{
|
|
4439
4439
|
"data-slot": "select-value",
|
|
4440
|
-
className:
|
|
4440
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "flex flex-1 text-left", className),
|
|
4441
4441
|
...props
|
|
4442
4442
|
}
|
|
4443
4443
|
);
|
|
@@ -4454,7 +4454,7 @@ function SelectTrigger({
|
|
|
4454
4454
|
{
|
|
4455
4455
|
"data-slot": "select-trigger",
|
|
4456
4456
|
"data-size": size,
|
|
4457
|
-
className:
|
|
4457
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4458
4458
|
"border-input data-[placeholder]:text-muted-foreground bg-input/20 dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-md border px-2 py-1.5 text-xs/relaxed transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-3.5 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
4459
4459
|
className
|
|
4460
4460
|
),
|
|
@@ -4495,7 +4495,7 @@ function SelectContent({
|
|
|
4495
4495
|
_select.Select.Popup,
|
|
4496
4496
|
{
|
|
4497
4497
|
"data-slot": "select-content",
|
|
4498
|
-
className:
|
|
4498
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className),
|
|
4499
4499
|
...props,
|
|
4500
4500
|
children: [
|
|
4501
4501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
|
|
@@ -4516,7 +4516,7 @@ function SelectLabel({
|
|
|
4516
4516
|
_select.Select.GroupLabel,
|
|
4517
4517
|
{
|
|
4518
4518
|
"data-slot": "select-label",
|
|
4519
|
-
className:
|
|
4519
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
4520
4520
|
...props
|
|
4521
4521
|
}
|
|
4522
4522
|
);
|
|
@@ -4531,7 +4531,7 @@ function SelectItem({
|
|
|
4531
4531
|
_select.Select.Item,
|
|
4532
4532
|
{
|
|
4533
4533
|
"data-slot": "select-item",
|
|
4534
|
-
className:
|
|
4534
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4535
4535
|
"focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
4536
4536
|
className
|
|
4537
4537
|
),
|
|
@@ -4558,7 +4558,7 @@ function SelectSeparator({
|
|
|
4558
4558
|
_select.Select.Separator,
|
|
4559
4559
|
{
|
|
4560
4560
|
"data-slot": "select-separator",
|
|
4561
|
-
className:
|
|
4561
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
|
|
4562
4562
|
...props
|
|
4563
4563
|
}
|
|
4564
4564
|
);
|
|
@@ -4572,7 +4572,7 @@ function SelectScrollUpButton({
|
|
|
4572
4572
|
_select.Select.ScrollUpArrow,
|
|
4573
4573
|
{
|
|
4574
4574
|
"data-slot": "select-scroll-up-button",
|
|
4575
|
-
className:
|
|
4575
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full", className),
|
|
4576
4576
|
...props,
|
|
4577
4577
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4578
4578
|
_lucidereact.ChevronUpIcon,
|
|
@@ -4590,7 +4590,7 @@ function SelectScrollDownButton({
|
|
|
4590
4590
|
_select.Select.ScrollDownArrow,
|
|
4591
4591
|
{
|
|
4592
4592
|
"data-slot": "select-scroll-down-button",
|
|
4593
|
-
className:
|
|
4593
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full", className),
|
|
4594
4594
|
...props,
|
|
4595
4595
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4596
4596
|
_lucidereact.ChevronDownIcon,
|
|
@@ -4626,7 +4626,7 @@ function SheetOverlay({ className, ...props }) {
|
|
|
4626
4626
|
_dialog.Dialog.Backdrop,
|
|
4627
4627
|
{
|
|
4628
4628
|
"data-slot": "sheet-overlay",
|
|
4629
|
-
className:
|
|
4629
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
|
|
4630
4630
|
...props
|
|
4631
4631
|
}
|
|
4632
4632
|
);
|
|
@@ -4646,7 +4646,7 @@ function SheetContent({
|
|
|
4646
4646
|
{
|
|
4647
4647
|
"data-slot": "sheet-content",
|
|
4648
4648
|
"data-side": side,
|
|
4649
|
-
className:
|
|
4649
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
|
|
4650
4650
|
...props,
|
|
4651
4651
|
children: [
|
|
4652
4652
|
children,
|
|
@@ -4682,7 +4682,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
4682
4682
|
"div",
|
|
4683
4683
|
{
|
|
4684
4684
|
"data-slot": "sheet-header",
|
|
4685
|
-
className:
|
|
4685
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
|
|
4686
4686
|
...props
|
|
4687
4687
|
}
|
|
4688
4688
|
);
|
|
@@ -4693,7 +4693,7 @@ function SheetFooter({ className, ...props }) {
|
|
|
4693
4693
|
"div",
|
|
4694
4694
|
{
|
|
4695
4695
|
"data-slot": "sheet-footer",
|
|
4696
|
-
className:
|
|
4696
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
|
|
4697
4697
|
...props
|
|
4698
4698
|
}
|
|
4699
4699
|
);
|
|
@@ -4704,7 +4704,7 @@ function SheetTitle({ className, ...props }) {
|
|
|
4704
4704
|
_dialog.Dialog.Title,
|
|
4705
4705
|
{
|
|
4706
4706
|
"data-slot": "sheet-title",
|
|
4707
|
-
className:
|
|
4707
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
|
|
4708
4708
|
...props
|
|
4709
4709
|
}
|
|
4710
4710
|
);
|
|
@@ -4718,7 +4718,7 @@ function SheetDescription({
|
|
|
4718
4718
|
_dialog.Dialog.Description,
|
|
4719
4719
|
{
|
|
4720
4720
|
"data-slot": "sheet-description",
|
|
4721
|
-
className:
|
|
4721
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
4722
4722
|
...props
|
|
4723
4723
|
}
|
|
4724
4724
|
);
|
|
@@ -4738,7 +4738,7 @@ function Skeleton({ className, ...props }) {
|
|
|
4738
4738
|
"div",
|
|
4739
4739
|
{
|
|
4740
4740
|
"data-slot": "skeleton",
|
|
4741
|
-
className:
|
|
4741
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
|
|
4742
4742
|
...props
|
|
4743
4743
|
}
|
|
4744
4744
|
);
|
|
@@ -4791,7 +4791,7 @@ function TooltipContent({
|
|
|
4791
4791
|
_tooltip.Tooltip.Popup,
|
|
4792
4792
|
{
|
|
4793
4793
|
"data-slot": "tooltip-content",
|
|
4794
|
-
className:
|
|
4794
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4795
4795
|
"data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs **:data-[slot=kbd]:rounded-md bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin)",
|
|
4796
4796
|
className
|
|
4797
4797
|
),
|
|
@@ -4834,7 +4834,7 @@ function SidebarProvider({
|
|
|
4834
4834
|
children,
|
|
4835
4835
|
...props
|
|
4836
4836
|
}) {
|
|
4837
|
-
const isMobile =
|
|
4837
|
+
const isMobile = _chunkHBCIT6KEjs.useIsMobile.call(void 0, );
|
|
4838
4838
|
const [openMobile, setOpenMobile] = React7.useState(false);
|
|
4839
4839
|
const [_open, _setOpen] = React7.useState(defaultOpen);
|
|
4840
4840
|
const open = _nullishCoalesce(openProp, () => ( _open));
|
|
@@ -4885,7 +4885,7 @@ function SidebarProvider({
|
|
|
4885
4885
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
4886
4886
|
...style
|
|
4887
4887
|
},
|
|
4888
|
-
className:
|
|
4888
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4889
4889
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
4890
4890
|
className
|
|
4891
4891
|
),
|
|
@@ -4909,7 +4909,7 @@ function Sidebar({
|
|
|
4909
4909
|
"div",
|
|
4910
4910
|
{
|
|
4911
4911
|
"data-slot": "sidebar",
|
|
4912
|
-
className:
|
|
4912
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4913
4913
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
4914
4914
|
className
|
|
4915
4915
|
),
|
|
@@ -4954,7 +4954,7 @@ function Sidebar({
|
|
|
4954
4954
|
"div",
|
|
4955
4955
|
{
|
|
4956
4956
|
"data-slot": "sidebar-gap",
|
|
4957
|
-
className:
|
|
4957
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4958
4958
|
"transition-[width] duration-200 ease-linear relative w-(--sidebar-width) bg-transparent",
|
|
4959
4959
|
"group-data-[collapsible=offExamples]:w-0",
|
|
4960
4960
|
"group-data-[side=right]:rotate-180",
|
|
@@ -4966,7 +4966,7 @@ function Sidebar({
|
|
|
4966
4966
|
"div",
|
|
4967
4967
|
{
|
|
4968
4968
|
"data-slot": "sidebar-container",
|
|
4969
|
-
className:
|
|
4969
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
4970
4970
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
4971
4971
|
side === "left" ? "left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]",
|
|
4972
4972
|
// Adjust the padding for floating and inset variants.
|
|
@@ -5003,7 +5003,7 @@ function SidebarTrigger({
|
|
|
5003
5003
|
"data-slot": "sidebar-trigger",
|
|
5004
5004
|
variant: "ghost",
|
|
5005
5005
|
size: "icon-sm",
|
|
5006
|
-
className:
|
|
5006
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, className),
|
|
5007
5007
|
onClick: (event) => {
|
|
5008
5008
|
_optionalChain([onClick, 'optionalCall', _88 => _88(event)]);
|
|
5009
5009
|
toggleSidebar();
|
|
@@ -5031,7 +5031,7 @@ function SidebarRail({ className, ...props }) {
|
|
|
5031
5031
|
tabIndex: -1,
|
|
5032
5032
|
onClick: toggleSidebar,
|
|
5033
5033
|
title: "Toggle Sidebar",
|
|
5034
|
-
className:
|
|
5034
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5035
5035
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
5036
5036
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
5037
5037
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -5050,7 +5050,7 @@ function SidebarInset({ className, ...props }) {
|
|
|
5050
5050
|
"main",
|
|
5051
5051
|
{
|
|
5052
5052
|
"data-slot": "sidebar-inset",
|
|
5053
|
-
className:
|
|
5053
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5054
5054
|
"bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 relative flex w-full flex-1 flex-col",
|
|
5055
5055
|
className
|
|
5056
5056
|
),
|
|
@@ -5068,7 +5068,7 @@ function SidebarInput({
|
|
|
5068
5068
|
{
|
|
5069
5069
|
"data-slot": "sidebar-input",
|
|
5070
5070
|
"data-sidebar": "input",
|
|
5071
|
-
className:
|
|
5071
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
|
|
5072
5072
|
...props
|
|
5073
5073
|
}
|
|
5074
5074
|
);
|
|
@@ -5080,7 +5080,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
5080
5080
|
{
|
|
5081
5081
|
"data-slot": "sidebar-header",
|
|
5082
5082
|
"data-sidebar": "header",
|
|
5083
|
-
className:
|
|
5083
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
|
|
5084
5084
|
...props
|
|
5085
5085
|
}
|
|
5086
5086
|
);
|
|
@@ -5092,7 +5092,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
5092
5092
|
{
|
|
5093
5093
|
"data-slot": "sidebar-footer",
|
|
5094
5094
|
"data-sidebar": "footer",
|
|
5095
|
-
className:
|
|
5095
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
|
|
5096
5096
|
...props
|
|
5097
5097
|
}
|
|
5098
5098
|
);
|
|
@@ -5107,7 +5107,7 @@ function SidebarSeparator({
|
|
|
5107
5107
|
{
|
|
5108
5108
|
"data-slot": "sidebar-separator",
|
|
5109
5109
|
"data-sidebar": "separator",
|
|
5110
|
-
className:
|
|
5110
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
|
|
5111
5111
|
...props
|
|
5112
5112
|
}
|
|
5113
5113
|
);
|
|
@@ -5119,7 +5119,7 @@ function SidebarContent({ className, ...props }) {
|
|
|
5119
5119
|
{
|
|
5120
5120
|
"data-slot": "sidebar-content",
|
|
5121
5121
|
"data-sidebar": "content",
|
|
5122
|
-
className:
|
|
5122
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5123
5123
|
"no-scrollbar gap-0 flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
5124
5124
|
className
|
|
5125
5125
|
),
|
|
@@ -5134,7 +5134,7 @@ function SidebarGroup({ className, ...props }) {
|
|
|
5134
5134
|
{
|
|
5135
5135
|
"data-slot": "sidebar-group",
|
|
5136
5136
|
"data-sidebar": "group",
|
|
5137
|
-
className:
|
|
5137
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5138
5138
|
"px-2 py-1 relative flex w-full min-w-0 flex-col",
|
|
5139
5139
|
className
|
|
5140
5140
|
),
|
|
@@ -5152,7 +5152,7 @@ function SidebarGroupLabel({
|
|
|
5152
5152
|
defaultTagName: "div",
|
|
5153
5153
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5154
5154
|
{
|
|
5155
|
-
className:
|
|
5155
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5156
5156
|
"text-sidebar-foreground/70 ring-sidebar-ring h-8 rounded-md px-2 text-xs transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0",
|
|
5157
5157
|
className
|
|
5158
5158
|
)
|
|
@@ -5176,7 +5176,7 @@ function SidebarGroupAction({
|
|
|
5176
5176
|
defaultTagName: "button",
|
|
5177
5177
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5178
5178
|
{
|
|
5179
|
-
className:
|
|
5179
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5180
5180
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-md p-0 focus-visible:ring-2 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform [&>svg]:shrink-0 after:absolute after:-inset-2 md:after:hidden group-data-[collapsible=icon]:hidden",
|
|
5181
5181
|
className
|
|
5182
5182
|
)
|
|
@@ -5200,7 +5200,7 @@ function SidebarGroupContent({
|
|
|
5200
5200
|
{
|
|
5201
5201
|
"data-slot": "sidebar-group-content",
|
|
5202
5202
|
"data-sidebar": "group-content",
|
|
5203
|
-
className:
|
|
5203
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-xs w-full", className),
|
|
5204
5204
|
...props
|
|
5205
5205
|
}
|
|
5206
5206
|
);
|
|
@@ -5212,7 +5212,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
5212
5212
|
{
|
|
5213
5213
|
"data-slot": "sidebar-menu",
|
|
5214
5214
|
"data-sidebar": "menu",
|
|
5215
|
-
className:
|
|
5215
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
|
|
5216
5216
|
...props
|
|
5217
5217
|
}
|
|
5218
5218
|
);
|
|
@@ -5224,7 +5224,7 @@ function SidebarMenuItem({ className, ...props }) {
|
|
|
5224
5224
|
{
|
|
5225
5225
|
"data-slot": "sidebar-menu-item",
|
|
5226
5226
|
"data-sidebar": "menu-item",
|
|
5227
|
-
className:
|
|
5227
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "group/menu-item relative", className),
|
|
5228
5228
|
...props
|
|
5229
5229
|
}
|
|
5230
5230
|
);
|
|
@@ -5264,7 +5264,7 @@ function SidebarMenuButton({
|
|
|
5264
5264
|
defaultTagName: "button",
|
|
5265
5265
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5266
5266
|
{
|
|
5267
|
-
className:
|
|
5267
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
|
|
5268
5268
|
},
|
|
5269
5269
|
props
|
|
5270
5270
|
),
|
|
@@ -5308,7 +5308,7 @@ function SidebarMenuAction({
|
|
|
5308
5308
|
defaultTagName: "button",
|
|
5309
5309
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5310
5310
|
{
|
|
5311
|
-
className:
|
|
5311
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5312
5312
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-[calc(var(--radius-sm)-2px)] p-0 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-2 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
|
|
5313
5313
|
showOnHover && "peer-data-active/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-open:opacity-100 md:opacity-0",
|
|
5314
5314
|
className
|
|
@@ -5333,7 +5333,7 @@ function SidebarMenuBadge({
|
|
|
5333
5333
|
{
|
|
5334
5334
|
"data-slot": "sidebar-menu-badge",
|
|
5335
5335
|
"data-sidebar": "menu-badge",
|
|
5336
|
-
className:
|
|
5336
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5337
5337
|
"text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-[calc(var(--radius-sm)-2px)] px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",
|
|
5338
5338
|
className
|
|
5339
5339
|
),
|
|
@@ -5355,7 +5355,7 @@ function SidebarMenuSkeleton({
|
|
|
5355
5355
|
{
|
|
5356
5356
|
"data-slot": "sidebar-menu-skeleton",
|
|
5357
5357
|
"data-sidebar": "menu-skeleton",
|
|
5358
|
-
className:
|
|
5358
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
|
|
5359
5359
|
...props,
|
|
5360
5360
|
children: [
|
|
5361
5361
|
showIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5386,7 +5386,7 @@ function SidebarMenuSub({ className, ...props }) {
|
|
|
5386
5386
|
{
|
|
5387
5387
|
"data-slot": "sidebar-menu-sub",
|
|
5388
5388
|
"data-sidebar": "menu-sub",
|
|
5389
|
-
className:
|
|
5389
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className),
|
|
5390
5390
|
...props
|
|
5391
5391
|
}
|
|
5392
5392
|
);
|
|
@@ -5401,7 +5401,7 @@ function SidebarMenuSubItem({
|
|
|
5401
5401
|
{
|
|
5402
5402
|
"data-slot": "sidebar-menu-sub-item",
|
|
5403
5403
|
"data-sidebar": "menu-sub-item",
|
|
5404
|
-
className:
|
|
5404
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "group/menu-sub-item relative", className),
|
|
5405
5405
|
...props
|
|
5406
5406
|
}
|
|
5407
5407
|
);
|
|
@@ -5418,7 +5418,7 @@ function SidebarMenuSubButton({
|
|
|
5418
5418
|
defaultTagName: "a",
|
|
5419
5419
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5420
5420
|
{
|
|
5421
|
-
className:
|
|
5421
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5422
5422
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-md px-2 focus-visible:ring-2 data-[size=md]:text-xs data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",
|
|
5423
5423
|
className
|
|
5424
5424
|
)
|
|
@@ -5466,7 +5466,7 @@ function Slider({
|
|
|
5466
5466
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5467
5467
|
_slider.Slider.Control,
|
|
5468
5468
|
{
|
|
5469
|
-
className:
|
|
5469
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5470
5470
|
"data-vertical:min-h-40 relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
|
|
5471
5471
|
className
|
|
5472
5472
|
),
|
|
@@ -5550,7 +5550,7 @@ function Switch({
|
|
|
5550
5550
|
{
|
|
5551
5551
|
"data-slot": "switch",
|
|
5552
5552
|
"data-size": size,
|
|
5553
|
-
className:
|
|
5553
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5554
5554
|
"data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-[16.6px] data-[size=default]:w-[28px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",
|
|
5555
5555
|
className
|
|
5556
5556
|
),
|
|
@@ -5559,7 +5559,7 @@ function Switch({
|
|
|
5559
5559
|
_switch.Switch.Thumb,
|
|
5560
5560
|
{
|
|
5561
5561
|
"data-slot": "switch-thumb",
|
|
5562
|
-
className:
|
|
5562
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5563
5563
|
"bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-3.5 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform",
|
|
5564
5564
|
children && "flex items-center justify-center"
|
|
5565
5565
|
),
|
|
@@ -5578,7 +5578,7 @@ function Table({ className, ...props }) {
|
|
|
5578
5578
|
"table",
|
|
5579
5579
|
{
|
|
5580
5580
|
"data-slot": "table",
|
|
5581
|
-
className:
|
|
5581
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "w-full caption-bottom text-xs", className),
|
|
5582
5582
|
...props
|
|
5583
5583
|
}
|
|
5584
5584
|
) });
|
|
@@ -5589,7 +5589,7 @@ function TableHeader({ className, ...props }) {
|
|
|
5589
5589
|
"thead",
|
|
5590
5590
|
{
|
|
5591
5591
|
"data-slot": "table-header",
|
|
5592
|
-
className:
|
|
5592
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "[&_tr]:border-b", className),
|
|
5593
5593
|
...props
|
|
5594
5594
|
}
|
|
5595
5595
|
);
|
|
@@ -5600,7 +5600,7 @@ function TableBody({ className, ...props }) {
|
|
|
5600
5600
|
"tbody",
|
|
5601
5601
|
{
|
|
5602
5602
|
"data-slot": "table-body",
|
|
5603
|
-
className:
|
|
5603
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "[&_tr:last-child]:border-0", className),
|
|
5604
5604
|
...props
|
|
5605
5605
|
}
|
|
5606
5606
|
);
|
|
@@ -5611,7 +5611,7 @@ function TableFooter({ className, ...props }) {
|
|
|
5611
5611
|
"tfoot",
|
|
5612
5612
|
{
|
|
5613
5613
|
"data-slot": "table-footer",
|
|
5614
|
-
className:
|
|
5614
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
|
|
5615
5615
|
...props
|
|
5616
5616
|
}
|
|
5617
5617
|
);
|
|
@@ -5622,7 +5622,7 @@ function TableRow({ className, ...props }) {
|
|
|
5622
5622
|
"tr",
|
|
5623
5623
|
{
|
|
5624
5624
|
"data-slot": "table-row",
|
|
5625
|
-
className:
|
|
5625
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
|
|
5626
5626
|
...props
|
|
5627
5627
|
}
|
|
5628
5628
|
);
|
|
@@ -5633,7 +5633,7 @@ function TableHead({ className, ...props }) {
|
|
|
5633
5633
|
"th",
|
|
5634
5634
|
{
|
|
5635
5635
|
"data-slot": "table-head",
|
|
5636
|
-
className:
|
|
5636
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
|
|
5637
5637
|
...props
|
|
5638
5638
|
}
|
|
5639
5639
|
);
|
|
@@ -5644,7 +5644,7 @@ function TableCell({ className, ...props }) {
|
|
|
5644
5644
|
"td",
|
|
5645
5645
|
{
|
|
5646
5646
|
"data-slot": "table-cell",
|
|
5647
|
-
className:
|
|
5647
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
|
|
5648
5648
|
...props
|
|
5649
5649
|
}
|
|
5650
5650
|
);
|
|
@@ -5658,7 +5658,7 @@ function TableCaption({
|
|
|
5658
5658
|
"caption",
|
|
5659
5659
|
{
|
|
5660
5660
|
"data-slot": "table-caption",
|
|
5661
|
-
className:
|
|
5661
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
|
|
5662
5662
|
...props
|
|
5663
5663
|
}
|
|
5664
5664
|
);
|
|
@@ -5679,7 +5679,7 @@ function Tabs({
|
|
|
5679
5679
|
{
|
|
5680
5680
|
"data-slot": "tabs",
|
|
5681
5681
|
"data-orientation": orientation,
|
|
5682
|
-
className:
|
|
5682
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5683
5683
|
"gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",
|
|
5684
5684
|
className
|
|
5685
5685
|
),
|
|
@@ -5712,7 +5712,7 @@ function TabsList({
|
|
|
5712
5712
|
{
|
|
5713
5713
|
"data-slot": "tabs-list",
|
|
5714
5714
|
"data-variant": variant,
|
|
5715
|
-
className:
|
|
5715
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, tabsListVariants({ variant }), className),
|
|
5716
5716
|
...props
|
|
5717
5717
|
}
|
|
5718
5718
|
);
|
|
@@ -5723,7 +5723,7 @@ function TabsTrigger({ className, ...props }) {
|
|
|
5723
5723
|
_tabs.Tabs.Tab,
|
|
5724
5724
|
{
|
|
5725
5725
|
"data-slot": "tabs-trigger",
|
|
5726
|
-
className:
|
|
5726
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
5727
5727
|
"gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-xs font-medium group-data-vertical/tabs:py-[calc(--spacing(1.25))] [&_svg:not([class*='size-'])]:size-3.5 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
5728
5728
|
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
|
|
5729
5729
|
"data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground",
|
|
@@ -5740,7 +5740,7 @@ function TabsContent({ className, ...props }) {
|
|
|
5740
5740
|
_tabs.Tabs.Panel,
|
|
5741
5741
|
{
|
|
5742
5742
|
"data-slot": "tabs-content",
|
|
5743
|
-
className:
|
|
5743
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
|
|
5744
5744
|
...props
|
|
5745
5745
|
}
|
|
5746
5746
|
);
|
|
@@ -5781,7 +5781,7 @@ function Toggle({
|
|
|
5781
5781
|
_toggle.Toggle,
|
|
5782
5782
|
{
|
|
5783
5783
|
"data-slot": "toggle",
|
|
5784
|
-
className:
|
|
5784
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, toggleVariants({ variant, size, className })),
|
|
5785
5785
|
...props
|
|
5786
5786
|
}
|
|
5787
5787
|
);
|
|
@@ -6250,7 +6250,7 @@ var KanbanBoard = React9.forwardRef((props, forwardedRef) => {
|
|
|
6250
6250
|
"data-slot": "kanban-board",
|
|
6251
6251
|
...boardProps,
|
|
6252
6252
|
ref: forwardedRef,
|
|
6253
|
-
className:
|
|
6253
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6254
6254
|
"flex size-full gap-4",
|
|
6255
6255
|
context.orientation === "horizontal" ? "flex-row" : "flex-col",
|
|
6256
6256
|
className
|
|
@@ -6289,7 +6289,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
|
|
|
6289
6289
|
disabled,
|
|
6290
6290
|
animateLayoutChanges
|
|
6291
6291
|
});
|
|
6292
|
-
const composedRef =
|
|
6292
|
+
const composedRef = _chunkHBCIT6KEjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6293
6293
|
if (disabled) return;
|
|
6294
6294
|
setNodeRef(node);
|
|
6295
6295
|
});
|
|
@@ -6333,7 +6333,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
|
|
|
6333
6333
|
...asHandle && !disabled ? listeners : {},
|
|
6334
6334
|
ref: composedRef,
|
|
6335
6335
|
style: composedStyle,
|
|
6336
|
-
className:
|
|
6336
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6337
6337
|
"flex size-full w-full flex-col gap-2 rounded-lg border bg-zinc-100 p-2.5 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:bg-zinc-900",
|
|
6338
6338
|
{
|
|
6339
6339
|
"touch-none select-none": asHandle,
|
|
@@ -6356,7 +6356,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6356
6356
|
const context = useKanbanContext(COLUMN_NAME);
|
|
6357
6357
|
const columnContext = useKanbanColumnContext(COLUMN_HANDLE_NAME);
|
|
6358
6358
|
const isDisabled = _nullishCoalesce(disabled, () => ( columnContext.disabled));
|
|
6359
|
-
const composedRef =
|
|
6359
|
+
const composedRef = _chunkHBCIT6KEjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6360
6360
|
if (isDisabled) return;
|
|
6361
6361
|
columnContext.setActivatorNodeRef(node);
|
|
6362
6362
|
});
|
|
@@ -6373,7 +6373,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6373
6373
|
...isDisabled ? {} : columnContext.attributes,
|
|
6374
6374
|
...isDisabled ? {} : columnContext.listeners,
|
|
6375
6375
|
ref: composedRef,
|
|
6376
|
-
className:
|
|
6376
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6377
6377
|
"select-none disabled:pointer-events-none disabled:opacity-50",
|
|
6378
6378
|
context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
|
|
6379
6379
|
className
|
|
@@ -6409,7 +6409,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
|
|
|
6409
6409
|
if (value === "") {
|
|
6410
6410
|
throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
|
|
6411
6411
|
}
|
|
6412
|
-
const composedRef =
|
|
6412
|
+
const composedRef = _chunkHBCIT6KEjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6413
6413
|
if (disabled) return;
|
|
6414
6414
|
setNodeRef(node);
|
|
6415
6415
|
});
|
|
@@ -6444,7 +6444,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
|
|
|
6444
6444
|
...asHandle && !disabled ? listeners : {},
|
|
6445
6445
|
ref: composedRef,
|
|
6446
6446
|
style: composedStyle,
|
|
6447
|
-
className:
|
|
6447
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6448
6448
|
"focus-visible:ring-ring focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden",
|
|
6449
6449
|
{
|
|
6450
6450
|
"touch-none select-none": asHandle,
|
|
@@ -6465,7 +6465,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6465
6465
|
const context = useKanbanContext(ITEM_HANDLE_NAME);
|
|
6466
6466
|
const itemContext = useKanbanItemContext(ITEM_HANDLE_NAME);
|
|
6467
6467
|
const isDisabled = _nullishCoalesce(disabled, () => ( itemContext.disabled));
|
|
6468
|
-
const composedRef =
|
|
6468
|
+
const composedRef = _chunkHBCIT6KEjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6469
6469
|
if (isDisabled) return;
|
|
6470
6470
|
itemContext.setActivatorNodeRef(node);
|
|
6471
6471
|
});
|
|
@@ -6482,7 +6482,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6482
6482
|
...isDisabled ? {} : itemContext.attributes,
|
|
6483
6483
|
...isDisabled ? {} : itemContext.listeners,
|
|
6484
6484
|
ref: composedRef,
|
|
6485
|
-
className:
|
|
6485
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6486
6486
|
"select-none disabled:pointer-events-none disabled:opacity-50",
|
|
6487
6487
|
context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
|
|
6488
6488
|
className
|
|
@@ -6517,7 +6517,7 @@ function KanbanOverlay(props) {
|
|
|
6517
6517
|
{
|
|
6518
6518
|
dropAnimation,
|
|
6519
6519
|
modifiers: context.modifiers,
|
|
6520
|
-
className:
|
|
6520
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
|
|
6521
6521
|
...overlayProps,
|
|
6522
6522
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, KanbanOverlayContext.Provider, { value: true, children: context.activeId && children ? typeof children === "function" ? children({
|
|
6523
6523
|
value: context.activeId,
|
|
@@ -6535,7 +6535,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, KanbanOverlay, "KanbanOverlay");
|
|
|
6535
6535
|
|
|
6536
6536
|
var Link = React10.forwardRef(({ className, href, children, ...props }, ref) => {
|
|
6537
6537
|
const NextIntlLink = _chunkOR5NPUWFjs.getI18nLink.call(void 0, );
|
|
6538
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className:
|
|
6538
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunkHBCIT6KEjs.cn.call(void 0, `font-medium`, className), ...props, children });
|
|
6539
6539
|
});
|
|
6540
6540
|
Link.displayName = "Link";
|
|
6541
6541
|
|
|
@@ -6632,7 +6632,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6632
6632
|
{
|
|
6633
6633
|
...props,
|
|
6634
6634
|
onClick: handleTogglePopover,
|
|
6635
|
-
className:
|
|
6635
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6636
6636
|
"flex h-auto min-h-10 w-full items-center justify-between rounded-md border bg-inherit p-1 hover:bg-inherit [&_svg]:pointer-events-auto",
|
|
6637
6637
|
className
|
|
6638
6638
|
),
|
|
@@ -6644,7 +6644,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6644
6644
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6645
6645
|
Badge,
|
|
6646
6646
|
{
|
|
6647
|
-
className:
|
|
6647
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
|
|
6648
6648
|
style: { animationDuration: `${animation}s` },
|
|
6649
6649
|
children: [
|
|
6650
6650
|
IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "mr-2 h-4 w-4" }),
|
|
@@ -6667,7 +6667,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6667
6667
|
selectedValues.length > maxCount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6668
6668
|
Badge,
|
|
6669
6669
|
{
|
|
6670
|
-
className:
|
|
6670
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6671
6671
|
"text-foreground border-foreground/1 bg-transparent hover:bg-transparent",
|
|
6672
6672
|
isAnimating ? "animate-bounce" : "",
|
|
6673
6673
|
multiSelectVariants({ variant })
|
|
@@ -6731,7 +6731,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6731
6731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6732
6732
|
"div",
|
|
6733
6733
|
{
|
|
6734
|
-
className:
|
|
6734
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6735
6735
|
"border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
|
|
6736
6736
|
selectedValues.length === options.length ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
6737
6737
|
),
|
|
@@ -6754,7 +6754,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6754
6754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6755
6755
|
"div",
|
|
6756
6756
|
{
|
|
6757
|
-
className:
|
|
6757
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6758
6758
|
"border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
|
|
6759
6759
|
isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
6760
6760
|
),
|
|
@@ -6789,7 +6789,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6789
6789
|
animation > 0 && selectedValues.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6790
6790
|
_lucidereact.WandSparkles,
|
|
6791
6791
|
{
|
|
6792
|
-
className:
|
|
6792
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
6793
6793
|
"text-foreground bg-background my-2 h-3 w-3 cursor-pointer",
|
|
6794
6794
|
isAnimating ? "" : "text-muted-foreground"
|
|
6795
6795
|
),
|
|
@@ -6877,8 +6877,8 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
|
|
|
6877
6877
|
CommonDeleter,
|
|
6878
6878
|
{
|
|
6879
6879
|
type: `users`,
|
|
6880
|
-
deleteFunction: () =>
|
|
6881
|
-
() => onDeleted ? onDeleted() : router.push(generateUrl({ page:
|
|
6880
|
+
deleteFunction: () => _chunkHBCIT6KEjs.UserService.delete({ userId: user.id, companyId: cId }).then(
|
|
6881
|
+
() => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkHBCIT6KEjs.Modules.User }))
|
|
6882
6882
|
)
|
|
6883
6883
|
}
|
|
6884
6884
|
);
|
|
@@ -6886,7 +6886,7 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
|
|
|
6886
6886
|
_chunk7QVYU63Ejs.__name.call(void 0, UserDeleterInternal, "UserDeleterInternal");
|
|
6887
6887
|
function UserDeleter(props) {
|
|
6888
6888
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
6889
|
-
if (!hasPermissionToModule({ module:
|
|
6889
|
+
if (!hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
|
|
6890
6890
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserDeleterInternal, { ...props });
|
|
6891
6891
|
}
|
|
6892
6892
|
_chunk7QVYU63Ejs.__name.call(void 0, UserDeleter, "UserDeleter");
|
|
@@ -6950,7 +6950,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6950
6950
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
6951
6951
|
if (!user) {
|
|
6952
6952
|
try {
|
|
6953
|
-
const existingUser = await
|
|
6953
|
+
const existingUser = await _chunkHBCIT6KEjs.UserService.findByEmail({ email: values.email });
|
|
6954
6954
|
if (existingUser) {
|
|
6955
6955
|
form.setError("email", {
|
|
6956
6956
|
type: "manual",
|
|
@@ -6963,7 +6963,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6963
6963
|
}
|
|
6964
6964
|
}
|
|
6965
6965
|
if (values.avatar && contentType) {
|
|
6966
|
-
const s3 = await
|
|
6966
|
+
const s3 = await _chunkHBCIT6KEjs.S3Service.getPreSignedUrl({
|
|
6967
6967
|
key: values.avatar,
|
|
6968
6968
|
contentType,
|
|
6969
6969
|
isPublic: true
|
|
@@ -6989,16 +6989,16 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6989
6989
|
adminCreated
|
|
6990
6990
|
};
|
|
6991
6991
|
try {
|
|
6992
|
-
const updatedUser = user ? await
|
|
6992
|
+
const updatedUser = user ? await _chunkHBCIT6KEjs.UserService.update(payload) : await _chunkHBCIT6KEjs.UserService.create(payload);
|
|
6993
6993
|
if (_optionalChain([currentUser, 'optionalAccess', _141 => _141.id]) === updatedUser.id) setUser(updatedUser);
|
|
6994
6994
|
if (onRevalidate) {
|
|
6995
|
-
await onRevalidate(generateUrl({ page:
|
|
6995
|
+
await onRevalidate(generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: updatedUser.id, language: `[locale]` }));
|
|
6996
6996
|
}
|
|
6997
6997
|
if (propagateChanges) {
|
|
6998
6998
|
propagateChanges(updatedUser);
|
|
6999
6999
|
setOpen(false);
|
|
7000
7000
|
} else {
|
|
7001
|
-
router.push(generateUrl({ page:
|
|
7001
|
+
router.push(generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: updatedUser.id }));
|
|
7002
7002
|
}
|
|
7003
7003
|
} catch (error) {
|
|
7004
7004
|
errorToast({ title: user ? t(`common.errors.update`) : t(`common.errors.create`), error });
|
|
@@ -7006,7 +7006,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
7006
7006
|
}, "onSubmit");
|
|
7007
7007
|
_react.useEffect.call(void 0, () => {
|
|
7008
7008
|
async function fetchRoles() {
|
|
7009
|
-
const roles2 = await
|
|
7009
|
+
const roles2 = await _chunkHBCIT6KEjs.RoleService.findAllRoles({});
|
|
7010
7010
|
const availableRoles = roles2.filter(
|
|
7011
7011
|
(role) => role.id !== _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _142 => _142.features, 'access', _143 => _143.some, 'call', _144 => _144((feature) => feature.id === _optionalChain([role, 'access', _145 => _145.requiredFeature, 'optionalAccess', _146 => _146.id]))]))
|
|
7012
7012
|
);
|
|
@@ -7034,7 +7034,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
7034
7034
|
setContentType(null);
|
|
7035
7035
|
}
|
|
7036
7036
|
}, [file]);
|
|
7037
|
-
const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _150 => _150.id]) === _optionalChain([user, 'optionalAccess', _151 => _151.id]) && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module:
|
|
7037
|
+
const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _150 => _150.id]) === _optionalChain([user, 'optionalAccess', _151 => _151.id]) && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator));
|
|
7038
7038
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
|
|
7039
7039
|
trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { children: trigger }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!user }),
|
|
7040
7040
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -7144,7 +7144,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditorInternal, "UserEditorInternal");
|
|
|
7144
7144
|
function UserEditor(props) {
|
|
7145
7145
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
7146
7146
|
if (!hasPermissionToModule({
|
|
7147
|
-
module:
|
|
7147
|
+
module: _chunkHBCIT6KEjs.Modules.User,
|
|
7148
7148
|
action: props.user ? "update" /* Update */ : "create" /* Create */,
|
|
7149
7149
|
data: props.user
|
|
7150
7150
|
}))
|
|
@@ -7231,7 +7231,7 @@ function CommonAssociationCommandDialog({
|
|
|
7231
7231
|
_chunk7QVYU63Ejs.__name.call(void 0, CommonAssociationCommandDialog, "CommonAssociationCommandDialog");
|
|
7232
7232
|
var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
7233
7233
|
if (params.level) {
|
|
7234
|
-
|
|
7234
|
+
_chunkHBCIT6KEjs.showToast.call(void 0,
|
|
7235
7235
|
params.t(`common.association.label`, {
|
|
7236
7236
|
source: params.source,
|
|
7237
7237
|
destination: params.destination
|
|
@@ -7247,7 +7247,7 @@ var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
7247
7247
|
}
|
|
7248
7248
|
);
|
|
7249
7249
|
} else {
|
|
7250
|
-
|
|
7250
|
+
_chunkHBCIT6KEjs.showToast.call(void 0,
|
|
7251
7251
|
params.t(`common.association.label`, {
|
|
7252
7252
|
source: params.source,
|
|
7253
7253
|
destination: params.destination
|
|
@@ -7299,7 +7299,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, ErrorDetails, "ErrorDetails");
|
|
|
7299
7299
|
|
|
7300
7300
|
// src/components/errors/errorToast.ts
|
|
7301
7301
|
function errorToast(params) {
|
|
7302
|
-
|
|
7302
|
+
_chunkHBCIT6KEjs.showError.call(void 0, _nullishCoalesce(_optionalChain([params, 'optionalAccess', _158 => _158.title]), () => ( "Error")), {
|
|
7303
7303
|
description: params.error instanceof Error ? params.error.message : String(params.error)
|
|
7304
7304
|
});
|
|
7305
7305
|
}
|
|
@@ -7503,7 +7503,7 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
|
|
|
7503
7503
|
}, "handleClear");
|
|
7504
7504
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
|
|
7505
7505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children }),
|
|
7506
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className:
|
|
7506
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkHBCIT6KEjs.cn.call(void 0, "w-auto p-0", className), align, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
7507
7507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative mb-3", children: [
|
|
7508
7508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7509
7509
|
Input,
|
|
@@ -7619,13 +7619,13 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
7619
7619
|
setDate(range);
|
|
7620
7620
|
}
|
|
7621
7621
|
}, "handleSelect");
|
|
7622
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
7622
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
|
|
7623
7623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7624
7624
|
Button,
|
|
7625
7625
|
{
|
|
7626
7626
|
id: "date",
|
|
7627
7627
|
variant: "outline",
|
|
7628
|
-
className:
|
|
7628
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
|
|
7629
7629
|
children: [
|
|
7630
7630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CalendarIcon, {}),
|
|
7631
7631
|
_optionalChain([date, 'optionalAccess', _168 => _168.from]) ? date.to ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -7749,7 +7749,7 @@ var FileUploader = _react.forwardRef.call(void 0,
|
|
|
7749
7749
|
(acceptedFiles, rejectedFiles) => {
|
|
7750
7750
|
const files = acceptedFiles;
|
|
7751
7751
|
if (!files) {
|
|
7752
|
-
|
|
7752
|
+
_chunkHBCIT6KEjs.showError.call(void 0, t("common.errors.file"), {
|
|
7753
7753
|
description: t("common.errors.file_large")
|
|
7754
7754
|
});
|
|
7755
7755
|
return;
|
|
@@ -7767,13 +7767,13 @@ var FileUploader = _react.forwardRef.call(void 0,
|
|
|
7767
7767
|
if (rejectedFiles.length > 0) {
|
|
7768
7768
|
for (let i = 0; i < rejectedFiles.length; i++) {
|
|
7769
7769
|
if (_optionalChain([rejectedFiles, 'access', _174 => _174[i], 'access', _175 => _175.errors, 'access', _176 => _176[0], 'optionalAccess', _177 => _177.code]) === "file-too-large") {
|
|
7770
|
-
|
|
7770
|
+
_chunkHBCIT6KEjs.showError.call(void 0, t("common.errors.file"), {
|
|
7771
7771
|
description: t(`common.errors.file_max`, { size: maxSize / 1024 / 1024 })
|
|
7772
7772
|
});
|
|
7773
7773
|
break;
|
|
7774
7774
|
}
|
|
7775
7775
|
if (_optionalChain([rejectedFiles, 'access', _178 => _178[i], 'access', _179 => _179.errors, 'access', _180 => _180[0], 'optionalAccess', _181 => _181.message])) {
|
|
7776
|
-
|
|
7776
|
+
_chunkHBCIT6KEjs.showError.call(void 0, t(`common.errors.file`), {
|
|
7777
7777
|
description: rejectedFiles[i].errors[0].message
|
|
7778
7778
|
});
|
|
7779
7779
|
break;
|
|
@@ -7817,7 +7817,7 @@ var FileUploader = _react.forwardRef.call(void 0,
|
|
|
7817
7817
|
ref,
|
|
7818
7818
|
tabIndex: 0,
|
|
7819
7819
|
onKeyDownCapture: handleKeyDown,
|
|
7820
|
-
className:
|
|
7820
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
7821
7821
|
"grid w-full overflow-hidden focus:outline-none",
|
|
7822
7822
|
className,
|
|
7823
7823
|
// Original className from props
|
|
@@ -7841,12 +7841,12 @@ var FileUploaderContent = _react.forwardRef.call(void 0,
|
|
|
7841
7841
|
({ children, className, ...props }, ref) => {
|
|
7842
7842
|
const { orientation } = useFileUpload();
|
|
7843
7843
|
const containerRef = _react.useRef.call(void 0, null);
|
|
7844
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
7844
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7845
7845
|
"div",
|
|
7846
7846
|
{
|
|
7847
7847
|
...props,
|
|
7848
7848
|
ref,
|
|
7849
|
-
className:
|
|
7849
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
7850
7850
|
"flex gap-1 rounded-xl",
|
|
7851
7851
|
orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
|
|
7852
7852
|
className
|
|
@@ -7866,7 +7866,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
|
|
|
7866
7866
|
"div",
|
|
7867
7867
|
{
|
|
7868
7868
|
ref,
|
|
7869
|
-
className:
|
|
7869
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
7870
7870
|
buttonVariants({ variant: "ghost" }),
|
|
7871
7871
|
"relative h-6 cursor-pointer justify-between p-1",
|
|
7872
7872
|
className,
|
|
@@ -7879,7 +7879,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
|
|
|
7879
7879
|
"button",
|
|
7880
7880
|
{
|
|
7881
7881
|
type: "button",
|
|
7882
|
-
className:
|
|
7882
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
|
|
7883
7883
|
onClick: () => removeFileFromSet(index),
|
|
7884
7884
|
children: [
|
|
7885
7885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: t(`common.remove_item`, { index }) }),
|
|
@@ -7903,12 +7903,12 @@ var FileInput = _react.forwardRef.call(void 0,
|
|
|
7903
7903
|
{
|
|
7904
7904
|
ref,
|
|
7905
7905
|
...props,
|
|
7906
|
-
className:
|
|
7906
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
|
|
7907
7907
|
children: [
|
|
7908
7908
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7909
7909
|
"div",
|
|
7910
7910
|
{
|
|
7911
|
-
className:
|
|
7911
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
7912
7912
|
"w-full rounded-lg duration-300 ease-in-out",
|
|
7913
7913
|
// Simpler border logic: if parent is drag-active, it controls the border.
|
|
7914
7914
|
// Otherwise, FileInput can show its own accept/reject/default border.
|
|
@@ -8242,7 +8242,7 @@ function FormDateTime({
|
|
|
8242
8242
|
Button,
|
|
8243
8243
|
{
|
|
8244
8244
|
variant: "outline",
|
|
8245
|
-
className:
|
|
8245
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
|
|
8246
8246
|
}
|
|
8247
8247
|
),
|
|
8248
8248
|
children: [
|
|
@@ -8430,7 +8430,7 @@ var PasswordInput = React12.forwardRef(({ className, type, ...props }, ref) => {
|
|
|
8430
8430
|
const disabled = props.value === "" || props.value === void 0 || props.disabled;
|
|
8431
8431
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
8432
8432
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
8433
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className:
|
|
8433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkHBCIT6KEjs.cn.call(void 0, "", className), ref, ...props }),
|
|
8434
8434
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8435
8435
|
Button,
|
|
8436
8436
|
{
|
|
@@ -8624,7 +8624,7 @@ function FormPlaceAutocomplete({
|
|
|
8624
8624
|
placeholder,
|
|
8625
8625
|
disabled,
|
|
8626
8626
|
"data-testid": testId,
|
|
8627
|
-
className:
|
|
8627
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "w-full", className)
|
|
8628
8628
|
}
|
|
8629
8629
|
) }) });
|
|
8630
8630
|
}
|
|
@@ -8643,7 +8643,7 @@ function FormPlaceAutocomplete({
|
|
|
8643
8643
|
placeholder,
|
|
8644
8644
|
disabled: disabled || !apiKey,
|
|
8645
8645
|
"data-testid": testId,
|
|
8646
|
-
className:
|
|
8646
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "w-full", className)
|
|
8647
8647
|
}
|
|
8648
8648
|
),
|
|
8649
8649
|
isLoading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-3 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-primary h-4 w-4 animate-spin rounded-full border-2 border-t-transparent" }) }),
|
|
@@ -8775,7 +8775,7 @@ function FormTextarea({
|
|
|
8775
8775
|
Textarea,
|
|
8776
8776
|
{
|
|
8777
8777
|
...field,
|
|
8778
|
-
className:
|
|
8778
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "min-h-96 w-full", className),
|
|
8779
8779
|
disabled: form.formState.isSubmitting,
|
|
8780
8780
|
placeholder,
|
|
8781
8781
|
"data-testid": testId
|
|
@@ -8784,6 +8784,35 @@ function FormTextarea({
|
|
|
8784
8784
|
}
|
|
8785
8785
|
_chunk7QVYU63Ejs.__name.call(void 0, FormTextarea, "FormTextarea");
|
|
8786
8786
|
|
|
8787
|
+
// src/components/forms/GdprConsentCheckbox.tsx
|
|
8788
|
+
|
|
8789
|
+
function GdprConsentCheckbox({
|
|
8790
|
+
form,
|
|
8791
|
+
id,
|
|
8792
|
+
label,
|
|
8793
|
+
description,
|
|
8794
|
+
required
|
|
8795
|
+
}) {
|
|
8796
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, orientation: "horizontal", children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-row items-start space-x-3 space-y-0", children: [
|
|
8797
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8798
|
+
Checkbox,
|
|
8799
|
+
{
|
|
8800
|
+
checked: field.value,
|
|
8801
|
+
onCheckedChange: field.onChange,
|
|
8802
|
+
"aria-required": required
|
|
8803
|
+
}
|
|
8804
|
+
),
|
|
8805
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 leading-none", children: [
|
|
8806
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-sm font-normal", children: [
|
|
8807
|
+
label,
|
|
8808
|
+
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-destructive ml-1", children: "*" })
|
|
8809
|
+
] }),
|
|
8810
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FieldDescription, { className: "text-xs", children: description })
|
|
8811
|
+
] })
|
|
8812
|
+
] }) });
|
|
8813
|
+
}
|
|
8814
|
+
_chunk7QVYU63Ejs.__name.call(void 0, GdprConsentCheckbox, "GdprConsentCheckbox");
|
|
8815
|
+
|
|
8787
8816
|
// src/components/forms/MultiFileUploader.tsx
|
|
8788
8817
|
|
|
8789
8818
|
|
|
@@ -8861,10 +8890,10 @@ function UserMultiSelect({
|
|
|
8861
8890
|
const data = useDataListRetriever({
|
|
8862
8891
|
ready: !!company,
|
|
8863
8892
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
8864
|
-
return
|
|
8893
|
+
return _chunkHBCIT6KEjs.UserService.findAllUsers(params);
|
|
8865
8894
|
}, "retriever"),
|
|
8866
8895
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _199 => _199.id]) },
|
|
8867
|
-
module:
|
|
8896
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
8868
8897
|
});
|
|
8869
8898
|
_react.useEffect.call(void 0, () => {
|
|
8870
8899
|
if (company) data.setReady(true);
|
|
@@ -8961,7 +8990,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
|
|
|
8961
8990
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
8962
8991
|
const reactivateUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
8963
8992
|
try {
|
|
8964
|
-
const updatedUser = await
|
|
8993
|
+
const updatedUser = await _chunkHBCIT6KEjs.UserService.reactivate({ userId: user.id });
|
|
8965
8994
|
setOpen(false);
|
|
8966
8995
|
propagateChanges(updatedUser);
|
|
8967
8996
|
} catch (error) {
|
|
@@ -8999,7 +9028,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
|
|
|
8999
9028
|
_chunk7QVYU63Ejs.__name.call(void 0, UserReactivatorInterface, "UserReactivatorInterface");
|
|
9000
9029
|
function UserReactivator(props) {
|
|
9001
9030
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9002
|
-
if (!hasPermissionToModule({ module:
|
|
9031
|
+
if (!hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
|
|
9003
9032
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserReactivatorInterface, { ...props });
|
|
9004
9033
|
}
|
|
9005
9034
|
_chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
|
|
@@ -9014,9 +9043,9 @@ function UserResentInvitationEmailInternal({ user }) {
|
|
|
9014
9043
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9015
9044
|
const sendInvitationEmail = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
9016
9045
|
try {
|
|
9017
|
-
await
|
|
9046
|
+
await _chunkHBCIT6KEjs.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
|
|
9018
9047
|
setOpen(false);
|
|
9019
|
-
|
|
9048
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, t(`user.resend_activation.email_sent`), {
|
|
9020
9049
|
description: t(`user.resend_activation.email_sent_description`, { email: user.email })
|
|
9021
9050
|
});
|
|
9022
9051
|
} catch (error) {
|
|
@@ -9054,7 +9083,7 @@ function UserResentInvitationEmailInternal({ user }) {
|
|
|
9054
9083
|
_chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmailInternal, "UserResentInvitationEmailInternal");
|
|
9055
9084
|
function UserResentInvitationEmail(props) {
|
|
9056
9085
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9057
|
-
if (!hasPermissionToModule({ module:
|
|
9086
|
+
if (!hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
|
|
9058
9087
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserResentInvitationEmailInternal, { ...props });
|
|
9059
9088
|
}
|
|
9060
9089
|
_chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmail, "UserResentInvitationEmail");
|
|
@@ -9085,22 +9114,22 @@ function UserAvatar({ user, className, showFull, showLink, showTooltip = true })
|
|
|
9085
9114
|
}, "getAvatar");
|
|
9086
9115
|
const content = showLink === false ? (
|
|
9087
9116
|
// If showLink is explicitly false, never show a link
|
|
9088
|
-
showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
9117
|
+
showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
|
|
9089
9118
|
getAvatar(),
|
|
9090
9119
|
user.name
|
|
9091
9120
|
] }) : getAvatar()
|
|
9092
9121
|
) : showFull ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9093
9122
|
Link,
|
|
9094
9123
|
{
|
|
9095
|
-
href: generateUrl({ page:
|
|
9096
|
-
className:
|
|
9124
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: user.id }),
|
|
9125
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
|
|
9097
9126
|
onClick: (e) => e.stopPropagation(),
|
|
9098
9127
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center gap-x-2", children: [
|
|
9099
9128
|
getAvatar(),
|
|
9100
9129
|
user.name
|
|
9101
9130
|
] })
|
|
9102
9131
|
}
|
|
9103
|
-
) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
9132
|
+
) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
|
|
9104
9133
|
if (!showTooltip) {
|
|
9105
9134
|
return content;
|
|
9106
9135
|
}
|
|
@@ -9121,10 +9150,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
|
|
|
9121
9150
|
const [isSearching, setIsSearching] = _react.useState.call(void 0, false);
|
|
9122
9151
|
const data = useDataListRetriever({
|
|
9123
9152
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
9124
|
-
return
|
|
9153
|
+
return _chunkHBCIT6KEjs.UserService.findMany(params);
|
|
9125
9154
|
}, "retriever"),
|
|
9126
9155
|
retrieverParams: {},
|
|
9127
|
-
module:
|
|
9156
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
9128
9157
|
});
|
|
9129
9158
|
const search = _react.useCallback.call(void 0,
|
|
9130
9159
|
async (searchedTerm) => {
|
|
@@ -9223,24 +9252,24 @@ var UserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
|
|
|
9223
9252
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9224
9253
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9225
9254
|
const [user, setUser] = _react.useState.call(void 0,
|
|
9226
|
-
dehydratedUser ?
|
|
9255
|
+
dehydratedUser ? _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.User, dehydratedUser) : void 0
|
|
9227
9256
|
);
|
|
9228
9257
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
9229
9258
|
const response = [];
|
|
9230
|
-
if (hasPermissionToModule({ module:
|
|
9259
|
+
if (hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "update" /* Update */ })) {
|
|
9231
9260
|
response.push({
|
|
9232
9261
|
name: t(`common.settings`),
|
|
9233
9262
|
href: generateUrl({ page: `/settings` })
|
|
9234
9263
|
});
|
|
9235
9264
|
response.push({
|
|
9236
9265
|
name: t(`entities.users`, { count: 2 }),
|
|
9237
|
-
href: generateUrl({ page: `/settings`, id:
|
|
9266
|
+
href: generateUrl({ page: `/settings`, id: _chunkHBCIT6KEjs.Modules.User.pageUrl })
|
|
9238
9267
|
});
|
|
9239
9268
|
}
|
|
9240
9269
|
if (user)
|
|
9241
9270
|
response.push({
|
|
9242
9271
|
name: `${user.name}${user.isDeleted ? ` (${t(`user.deleted`)})` : ""}`,
|
|
9243
|
-
href: generateUrl({ page:
|
|
9272
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: user.id })
|
|
9244
9273
|
});
|
|
9245
9274
|
return response;
|
|
9246
9275
|
}, "breadcrumb");
|
|
@@ -9295,7 +9324,7 @@ function UserDetails({ user }) {
|
|
|
9295
9324
|
const { title } = useSharedContext();
|
|
9296
9325
|
let roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
9297
9326
|
if (user.roles && user.roles.length > 0) {
|
|
9298
|
-
roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
9327
|
+
roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
|
|
9299
9328
|
}
|
|
9300
9329
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
|
|
9301
9330
|
user.avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-auto w-full max-w-md overflow-hidden rounded-lg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9308,7 +9337,7 @@ function UserDetails({ user }) {
|
|
|
9308
9337
|
className: "h-auto w-full rounded-lg object-contain"
|
|
9309
9338
|
}
|
|
9310
9339
|
) }),
|
|
9311
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module:
|
|
9340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkHBCIT6KEjs.Modules.User, type: title.type, element: title.element, functions: title.functions }),
|
|
9312
9341
|
user.isDeleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: !user.isActivated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
|
|
9313
9342
|
roles,
|
|
9314
9343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AttributeElement, { inline: true, title: t(`user.fields.title.label`), value: user.title }),
|
|
@@ -9362,18 +9391,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserIndexContainer, "UserIndexContainer");
|
|
|
9362
9391
|
function UsersListContainerInternal() {
|
|
9363
9392
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9364
9393
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9365
|
-
if (!hasPermissionToModule({ module:
|
|
9394
|
+
if (!hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
|
|
9366
9395
|
const tabs = [
|
|
9367
9396
|
{
|
|
9368
9397
|
label: t(`entities.users`, { count: 2 }),
|
|
9369
9398
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {}),
|
|
9370
|
-
modules: [
|
|
9399
|
+
modules: [_chunkHBCIT6KEjs.Modules.Company],
|
|
9371
9400
|
action: "read" /* Read */
|
|
9372
9401
|
},
|
|
9373
9402
|
{
|
|
9374
9403
|
label: t(`user.deleted`),
|
|
9375
9404
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, { isDeleted: true }),
|
|
9376
|
-
modules: [
|
|
9405
|
+
modules: [_chunkHBCIT6KEjs.Modules.Company],
|
|
9377
9406
|
action: "update" /* Update */
|
|
9378
9407
|
}
|
|
9379
9408
|
];
|
|
@@ -9391,9 +9420,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersListContainer, "UsersListContainer");
|
|
|
9391
9420
|
function AdminUsersListInternal({ company }) {
|
|
9392
9421
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9393
9422
|
const data = useDataListRetriever({
|
|
9394
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9423
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findManyForAmin(params), "retriever"),
|
|
9395
9424
|
retrieverParams: { companyId: company.id },
|
|
9396
|
-
module:
|
|
9425
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
9397
9426
|
});
|
|
9398
9427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9399
9428
|
ContentListTable,
|
|
@@ -9401,7 +9430,7 @@ function AdminUsersListInternal({ company }) {
|
|
|
9401
9430
|
title: t(`entities.users`, { count: 2 }),
|
|
9402
9431
|
data,
|
|
9403
9432
|
fields: ["name" /* name */, "email" /* email */, "createdAt" /* createdAt */],
|
|
9404
|
-
tableGeneratorType:
|
|
9433
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9405
9434
|
functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
|
|
9406
9435
|
}
|
|
9407
9436
|
);
|
|
@@ -9423,9 +9452,9 @@ function CompanyUsersList({ isDeleted }) {
|
|
|
9423
9452
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9424
9453
|
const data = useDataListRetriever({
|
|
9425
9454
|
ready: !!company,
|
|
9426
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9455
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findAllUsers(params), "retriever"),
|
|
9427
9456
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _218 => _218.id]), isDeleted },
|
|
9428
|
-
module:
|
|
9457
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
9429
9458
|
});
|
|
9430
9459
|
_react.useEffect.call(void 0, () => {
|
|
9431
9460
|
if (company) data.setReady(true);
|
|
@@ -9438,7 +9467,7 @@ function CompanyUsersList({ isDeleted }) {
|
|
|
9438
9467
|
{
|
|
9439
9468
|
data,
|
|
9440
9469
|
fields: ["name" /* name */, "email" /* email */],
|
|
9441
|
-
tableGeneratorType:
|
|
9470
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9442
9471
|
functions,
|
|
9443
9472
|
title: t(`entities.users`, { count: 2 })
|
|
9444
9473
|
}
|
|
@@ -9454,7 +9483,7 @@ function ContributorsList({ content }) {
|
|
|
9454
9483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9455
9484
|
Link,
|
|
9456
9485
|
{
|
|
9457
|
-
href: generateUrl({ page:
|
|
9486
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: content.author.id }),
|
|
9458
9487
|
onClick: (e) => e.stopPropagation(),
|
|
9459
9488
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: content.author, className: "mr-1 h-6 w-6" })
|
|
9460
9489
|
},
|
|
@@ -9463,7 +9492,7 @@ function ContributorsList({ content }) {
|
|
|
9463
9492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row-reverse justify-end -space-x-1 space-x-reverse", children: content.editors.filter((editor) => editor.id !== content.author.id).map((editor) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9464
9493
|
Link,
|
|
9465
9494
|
{
|
|
9466
|
-
href: generateUrl({ page:
|
|
9495
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: editor.id }),
|
|
9467
9496
|
onClick: (e) => e.stopPropagation(),
|
|
9468
9497
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: editor, className: "h-5 w-5" })
|
|
9469
9498
|
},
|
|
@@ -9479,8 +9508,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContributorsList, "ContributorsList");
|
|
|
9479
9508
|
function RelevantUsersList({ id }) {
|
|
9480
9509
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9481
9510
|
const data = useDataListRetriever({
|
|
9482
|
-
module:
|
|
9483
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9511
|
+
module: _chunkHBCIT6KEjs.Modules.User,
|
|
9512
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findRelevant(params), "retriever"),
|
|
9484
9513
|
retrieverParams: { id }
|
|
9485
9514
|
});
|
|
9486
9515
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9488,7 +9517,7 @@ function RelevantUsersList({ id }) {
|
|
|
9488
9517
|
{
|
|
9489
9518
|
data,
|
|
9490
9519
|
fields: ["name" /* name */, "email" /* email */, "relevance" /* relevance */],
|
|
9491
|
-
tableGeneratorType:
|
|
9520
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9492
9521
|
title: t(`common.relevant_users`)
|
|
9493
9522
|
}
|
|
9494
9523
|
);
|
|
@@ -9501,16 +9530,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RelevantUsersList, "RelevantUsersList");
|
|
|
9501
9530
|
function RoleUsersList({ role }) {
|
|
9502
9531
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9503
9532
|
const data = useDataListRetriever({
|
|
9504
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9533
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findAllUsersByRole(params), "retriever"),
|
|
9505
9534
|
retrieverParams: { roleId: role.id },
|
|
9506
|
-
module:
|
|
9535
|
+
module: _chunkHBCIT6KEjs.Modules.User
|
|
9507
9536
|
});
|
|
9508
9537
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9509
9538
|
ContentListTable,
|
|
9510
9539
|
{
|
|
9511
9540
|
data,
|
|
9512
9541
|
fields: ["name" /* name */, "email" /* email */],
|
|
9513
|
-
tableGeneratorType:
|
|
9542
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9514
9543
|
title: t(`entities.users`, { count: 2 })
|
|
9515
9544
|
}
|
|
9516
9545
|
);
|
|
@@ -9560,7 +9589,7 @@ function UsersList({ data, optionComponents, removeFunction, hideOptions, showRe
|
|
|
9560
9589
|
{
|
|
9561
9590
|
data,
|
|
9562
9591
|
fields: ["name" /* name */, "email" /* email */],
|
|
9563
|
-
tableGeneratorType:
|
|
9592
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9564
9593
|
title: t(`entities.users`, { count: 2 })
|
|
9565
9594
|
}
|
|
9566
9595
|
);
|
|
@@ -9573,8 +9602,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersList, "UsersList");
|
|
|
9573
9602
|
function UsersListByContentIds({ contentIds }) {
|
|
9574
9603
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9575
9604
|
const data = useDataListRetriever({
|
|
9576
|
-
module:
|
|
9577
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9605
|
+
module: _chunkHBCIT6KEjs.Modules.User,
|
|
9606
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.UserService.findManyByContentIds(params), "retriever"),
|
|
9578
9607
|
retrieverParams: { contentIds }
|
|
9579
9608
|
});
|
|
9580
9609
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9582,7 +9611,7 @@ function UsersListByContentIds({ contentIds }) {
|
|
|
9582
9611
|
{
|
|
9583
9612
|
data,
|
|
9584
9613
|
fields: ["name" /* name */, "email" /* email */],
|
|
9585
|
-
tableGeneratorType:
|
|
9614
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.User,
|
|
9586
9615
|
title: t(`common.relevant_users`)
|
|
9587
9616
|
}
|
|
9588
9617
|
);
|
|
@@ -9600,7 +9629,7 @@ function CompanyDetails() {
|
|
|
9600
9629
|
const { company } = useCompanyContext();
|
|
9601
9630
|
if (!company) return null;
|
|
9602
9631
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
|
|
9603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module:
|
|
9632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkHBCIT6KEjs.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
|
|
9604
9633
|
company.logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: company.logo, alt: company.name, width: 150, height: 150, className: "mb-4 rounded-md" })
|
|
9605
9634
|
] });
|
|
9606
9635
|
}
|
|
@@ -9665,13 +9694,13 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9665
9694
|
const textSize = textSizeClasses[size];
|
|
9666
9695
|
const getBatteryIcon = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
9667
9696
|
if (percentage > 75) {
|
|
9668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className:
|
|
9697
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className: _chunkHBCIT6KEjs.cn.call(void 0, iconSize, "text-green-500") });
|
|
9669
9698
|
} else if (percentage >= 25) {
|
|
9670
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className:
|
|
9699
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className: _chunkHBCIT6KEjs.cn.call(void 0, iconSize, "text-yellow-500") });
|
|
9671
9700
|
} else if (percentage >= 5) {
|
|
9672
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className:
|
|
9701
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className: _chunkHBCIT6KEjs.cn.call(void 0, iconSize, "text-orange-500") });
|
|
9673
9702
|
} else {
|
|
9674
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className:
|
|
9703
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className: _chunkHBCIT6KEjs.cn.call(void 0, iconSize, "text-destructive") });
|
|
9675
9704
|
}
|
|
9676
9705
|
}, "getBatteryIcon");
|
|
9677
9706
|
const getStatusColor = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -9693,7 +9722,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9693
9722
|
t("billing.tokens.monthly", { defaultValue: "Monthly Pages" }),
|
|
9694
9723
|
":"
|
|
9695
9724
|
] }),
|
|
9696
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
9725
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHBCIT6KEjs.cn.call(void 0, "font-medium", getStatusColor()), children: [
|
|
9697
9726
|
availableMonthlyTokens,
|
|
9698
9727
|
" / ",
|
|
9699
9728
|
monthlyTokens
|
|
@@ -9704,7 +9733,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9704
9733
|
t("billing.tokens.available", { defaultValue: "Available" }),
|
|
9705
9734
|
":"
|
|
9706
9735
|
] }),
|
|
9707
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
9736
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHBCIT6KEjs.cn.call(void 0, "font-medium", getStatusColor()), children: [
|
|
9708
9737
|
percentage.toFixed(0),
|
|
9709
9738
|
"%"
|
|
9710
9739
|
] })
|
|
@@ -9725,14 +9754,14 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9725
9754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9726
9755
|
"div",
|
|
9727
9756
|
{
|
|
9728
|
-
className:
|
|
9757
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0, "inline-flex items-center gap-1.5 cursor-default", className),
|
|
9729
9758
|
"aria-label": t("billing.tokens.status", { defaultValue: "Page Status" }),
|
|
9730
9759
|
children: [
|
|
9731
9760
|
getBatteryIcon(),
|
|
9732
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
9761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHBCIT6KEjs.cn.call(void 0, textSize, "text-muted-foreground font-medium"), children: availableMonthlyTokens }),
|
|
9733
9762
|
showExtraPages && availableExtraTokens > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "inline-flex items-center gap-0.5", children: [
|
|
9734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className:
|
|
9735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
9763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className: _chunkHBCIT6KEjs.cn.call(void 0, smallIconSize, "text-blue-500") }),
|
|
9764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHBCIT6KEjs.cn.call(void 0, textSize, "text-blue-500 font-medium"), children: availableExtraTokens })
|
|
9736
9765
|
] })
|
|
9737
9766
|
]
|
|
9738
9767
|
}
|
|
@@ -9849,12 +9878,12 @@ function CompanyConfigurationEditorInternal({ company }) {
|
|
|
9849
9878
|
}
|
|
9850
9879
|
};
|
|
9851
9880
|
try {
|
|
9852
|
-
await
|
|
9853
|
-
const fullUser = await
|
|
9881
|
+
await _chunkHBCIT6KEjs.CompanyService.updateConfigurations(payload);
|
|
9882
|
+
const fullUser = await _chunkHBCIT6KEjs.UserService.findFullUser();
|
|
9854
9883
|
if (fullUser) {
|
|
9855
9884
|
setUser(fullUser);
|
|
9856
9885
|
}
|
|
9857
|
-
|
|
9886
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, "Configurations Updated", {
|
|
9858
9887
|
description: `The system configurations have been updated successfully.`
|
|
9859
9888
|
});
|
|
9860
9889
|
close();
|
|
@@ -9869,7 +9898,7 @@ function CompanyConfigurationEditorInternal({ company }) {
|
|
|
9869
9898
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { size: "sm", variant: `ghost`, className: "cursor-pointer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Settings2Icon, { className: "h-3.5 w-3.5" }) }) }),
|
|
9870
9899
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogContent, { className: `flex max-h-[70vh] max-w-4xl flex-col overflow-y-auto`, children: [
|
|
9871
9900
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogHeader, { children: [
|
|
9872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTitle, { children: t(`entities.
|
|
9901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTitle, { children: t(`entities.configurations`, { count: 2 }) }),
|
|
9873
9902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogDescription, { className: "text-destructive", children: t(`features.configuration.warning_description`) })
|
|
9874
9903
|
] }),
|
|
9875
9904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Form, { ...form, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: form.handleSubmit(onSubmit), className: `flex w-full flex-col gap-y-4`, children: [
|
|
@@ -9905,7 +9934,7 @@ function CompanyDeleterInternal({ company }) {
|
|
|
9905
9934
|
const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
9906
9935
|
setIsDeleting(true);
|
|
9907
9936
|
try {
|
|
9908
|
-
await
|
|
9937
|
+
await _chunkHBCIT6KEjs.CompanyService.delete({ companyId: company.id });
|
|
9909
9938
|
router.push("/");
|
|
9910
9939
|
} catch (error) {
|
|
9911
9940
|
errorToast({ title: t(`common.errors.delete`), error });
|
|
@@ -9963,7 +9992,7 @@ function CompanyDeleterInternal({ company }) {
|
|
|
9963
9992
|
variant: "destructive",
|
|
9964
9993
|
disabled: company.name !== companyName || isDeleting,
|
|
9965
9994
|
children: isDeleting ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9966
|
-
t(`ui.buttons.
|
|
9995
|
+
t(`ui.buttons.deleting`),
|
|
9967
9996
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.LoaderCircleIcon, { className: "animate-spin-slow h-5 w-5" })
|
|
9968
9997
|
] }) : t(`ui.buttons.delete`)
|
|
9969
9998
|
}
|
|
@@ -9975,7 +10004,7 @@ function CompanyDeleterInternal({ company }) {
|
|
|
9975
10004
|
_chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleterInternal, "CompanyDeleterInternal");
|
|
9976
10005
|
function CompanyDeleter({ company }) {
|
|
9977
10006
|
const { hasPermissionToModule, hasRole } = useCurrentUserContext();
|
|
9978
|
-
if (!hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module:
|
|
10007
|
+
if (!hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.Company, action: "delete" /* Delete */ }))
|
|
9979
10008
|
return null;
|
|
9980
10009
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleterInternal, { company });
|
|
9981
10010
|
}
|
|
@@ -10023,7 +10052,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10023
10052
|
});
|
|
10024
10053
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
10025
10054
|
if (values.logo && contentType) {
|
|
10026
|
-
const s3 = await
|
|
10055
|
+
const s3 = await _chunkHBCIT6KEjs.S3Service.getPreSignedUrl({
|
|
10027
10056
|
key: values.logo,
|
|
10028
10057
|
contentType,
|
|
10029
10058
|
isPublic: true
|
|
@@ -10042,9 +10071,9 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10042
10071
|
moduleIds: values.moduleIds
|
|
10043
10072
|
};
|
|
10044
10073
|
try {
|
|
10045
|
-
const updatedCompany = company ? await
|
|
10074
|
+
const updatedCompany = company ? await _chunkHBCIT6KEjs.CompanyService.update(payload) : await _chunkHBCIT6KEjs.CompanyService.create(payload);
|
|
10046
10075
|
if (onRevalidate) {
|
|
10047
|
-
await onRevalidate(generateUrl({ page:
|
|
10076
|
+
await onRevalidate(generateUrl({ page: _chunkHBCIT6KEjs.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
|
|
10048
10077
|
}
|
|
10049
10078
|
if (company && propagateChanges) {
|
|
10050
10079
|
_cookiesnext.setCookie.call(void 0, "reloadData", "true", { path: "/" });
|
|
@@ -10062,7 +10091,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10062
10091
|
}, "onSubmit");
|
|
10063
10092
|
_react.useEffect.call(void 0, () => {
|
|
10064
10093
|
async function fetchFeatures() {
|
|
10065
|
-
const allfeatures = await
|
|
10094
|
+
const allfeatures = await _chunkHBCIT6KEjs.FeatureService.findMany({});
|
|
10066
10095
|
if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) {
|
|
10067
10096
|
setFeatures(allfeatures);
|
|
10068
10097
|
} else {
|
|
@@ -10158,9 +10187,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyEditor, "CompanyEditor");
|
|
|
10158
10187
|
function CompaniesList() {
|
|
10159
10188
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10160
10189
|
const data = useDataListRetriever({
|
|
10161
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
10190
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.CompanyService.findMany(params), "retriever"),
|
|
10162
10191
|
retrieverParams: {},
|
|
10163
|
-
module:
|
|
10192
|
+
module: _chunkHBCIT6KEjs.Modules.Company
|
|
10164
10193
|
});
|
|
10165
10194
|
const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, {}, "create-account")];
|
|
10166
10195
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10168,7 +10197,7 @@ function CompaniesList() {
|
|
|
10168
10197
|
{
|
|
10169
10198
|
data,
|
|
10170
10199
|
fields: ["name" /* name */, "createdAt" /* createdAt */],
|
|
10171
|
-
tableGeneratorType:
|
|
10200
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.Company,
|
|
10172
10201
|
functions,
|
|
10173
10202
|
title: t(`entities.companies`, { count: 2 })
|
|
10174
10203
|
}
|
|
@@ -10189,14 +10218,14 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
|
|
|
10189
10218
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10190
10219
|
const { hasPermissionToModule, hasRole } = useCurrentUserContext();
|
|
10191
10220
|
const [company, setCompany] = _react.useState.call(void 0,
|
|
10192
|
-
dehydratedCompany ?
|
|
10221
|
+
dehydratedCompany ? _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.Company, dehydratedCompany) : void 0
|
|
10193
10222
|
);
|
|
10194
10223
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
10195
10224
|
const response = [];
|
|
10196
10225
|
if (company)
|
|
10197
10226
|
response.push({
|
|
10198
10227
|
name: company.name,
|
|
10199
|
-
href: generateUrl({ page:
|
|
10228
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.Company })
|
|
10200
10229
|
});
|
|
10201
10230
|
return response;
|
|
10202
10231
|
}, "breadcrumb");
|
|
@@ -10206,9 +10235,9 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
|
|
|
10206
10235
|
};
|
|
10207
10236
|
if (company) response.element = company.name;
|
|
10208
10237
|
const functions = [];
|
|
10209
|
-
if (company && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module:
|
|
10238
|
+
if (company && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.Company, action: "delete" /* Delete */ }))
|
|
10210
10239
|
functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleter, { company }, "companyDeleter"));
|
|
10211
|
-
if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module:
|
|
10240
|
+
if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkHBCIT6KEjs.Modules.Company, action: "update" /* Update */ })) {
|
|
10212
10241
|
functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
|
|
10213
10242
|
}
|
|
10214
10243
|
if (functions.length > 0) response.functions = functions;
|
|
@@ -10327,7 +10356,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10327
10356
|
setIsLoading(true);
|
|
10328
10357
|
setError(null);
|
|
10329
10358
|
try {
|
|
10330
|
-
const fetchedNotifications = await
|
|
10359
|
+
const fetchedNotifications = await _chunkHBCIT6KEjs.NotificationService.findMany({});
|
|
10331
10360
|
setNotifications(fetchedNotifications);
|
|
10332
10361
|
setLastLoaded(Date.now());
|
|
10333
10362
|
} catch (error2) {
|
|
@@ -10357,7 +10386,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10357
10386
|
try {
|
|
10358
10387
|
const data = {
|
|
10359
10388
|
data: ids.map((id) => ({
|
|
10360
|
-
type:
|
|
10389
|
+
type: _chunkHBCIT6KEjs.Modules.Notification.name,
|
|
10361
10390
|
id,
|
|
10362
10391
|
attributes: {
|
|
10363
10392
|
isRead: true
|
|
@@ -10366,8 +10395,8 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10366
10395
|
relationships: {}
|
|
10367
10396
|
}))
|
|
10368
10397
|
};
|
|
10369
|
-
await
|
|
10370
|
-
const allNotifications = await
|
|
10398
|
+
await _chunkHBCIT6KEjs.NotificationService.markAsRead({ data });
|
|
10399
|
+
const allNotifications = await _chunkHBCIT6KEjs.NotificationService.findMany({});
|
|
10371
10400
|
setNotifications(allNotifications);
|
|
10372
10401
|
setLastLoaded(Date.now());
|
|
10373
10402
|
} catch (error2) {
|
|
@@ -10435,18 +10464,18 @@ var RoleProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
|
|
|
10435
10464
|
const generateUrl = usePageUrlGenerator();
|
|
10436
10465
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10437
10466
|
const [role, setRole] = _react.useState.call(void 0,
|
|
10438
|
-
dehydratedRole ?
|
|
10467
|
+
dehydratedRole ? _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.Role, dehydratedRole) : void 0
|
|
10439
10468
|
);
|
|
10440
10469
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
10441
10470
|
const response = [];
|
|
10442
10471
|
response.push({
|
|
10443
10472
|
name: t(`entities.roles`, { count: 2 }),
|
|
10444
|
-
href: generateUrl({ page:
|
|
10473
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.Role })
|
|
10445
10474
|
});
|
|
10446
10475
|
if (role)
|
|
10447
10476
|
response.push({
|
|
10448
10477
|
name: role.name,
|
|
10449
|
-
href: generateUrl({ page:
|
|
10478
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.Role, id: role.id })
|
|
10450
10479
|
});
|
|
10451
10480
|
return response;
|
|
10452
10481
|
}, "breadcrumb");
|
|
@@ -10637,7 +10666,7 @@ function usePushNotifications() {
|
|
|
10637
10666
|
};
|
|
10638
10667
|
const subscriptionHash = btoa(JSON.stringify(plainSubscription));
|
|
10639
10668
|
if (lastRegisteredSubscription !== subscriptionHash) {
|
|
10640
|
-
await
|
|
10669
|
+
await _chunkHBCIT6KEjs.PushService.register({ data: plainSubscription });
|
|
10641
10670
|
sessionStorage.setItem(sessionKey, subscriptionHash);
|
|
10642
10671
|
}
|
|
10643
10672
|
} catch (error) {
|
|
@@ -10720,7 +10749,7 @@ function useSocket({ token }) {
|
|
|
10720
10749
|
});
|
|
10721
10750
|
}, "handleMessage");
|
|
10722
10751
|
const handleNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (data) => {
|
|
10723
|
-
const notification =
|
|
10752
|
+
const notification = _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.Notification, data);
|
|
10724
10753
|
if (notification) {
|
|
10725
10754
|
setSocketNotifications((prev) => {
|
|
10726
10755
|
const newNotifications = [...prev, notification];
|
|
@@ -10835,7 +10864,7 @@ function ContentTitle({ module, type, element, functions, className }) {
|
|
|
10835
10864
|
setClientFunctions(functions);
|
|
10836
10865
|
}, [functions]);
|
|
10837
10866
|
if (!element) return null;
|
|
10838
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
10867
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
|
|
10839
10868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col w-full", children: [
|
|
10840
10869
|
type && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `text-muted-foreground text-xl font-light flex gap-x-2 items-center`, children: [
|
|
10841
10870
|
module && module.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "w-5 h-5 inline-block" }),
|
|
@@ -10983,7 +11012,7 @@ function PageContainer({ children, testId, className }) {
|
|
|
10983
11012
|
const headerChildren = useHeaderChildren();
|
|
10984
11013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex h-full w-full flex-col`, "data-testid": testId, children: [
|
|
10985
11014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { children: headerChildren }),
|
|
10986
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className:
|
|
11015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkHBCIT6KEjs.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
|
|
10987
11016
|
] });
|
|
10988
11017
|
}
|
|
10989
11018
|
_chunk7QVYU63Ejs.__name.call(void 0, PageContainer, "PageContainer");
|
|
@@ -11001,7 +11030,7 @@ function ReactMarkdownContainer({
|
|
|
11001
11030
|
initialLines = 4,
|
|
11002
11031
|
size = "normal"
|
|
11003
11032
|
}) {
|
|
11004
|
-
const t = _nextintl.useTranslations.call(void 0, "
|
|
11033
|
+
const t = _nextintl.useTranslations.call(void 0, "ui.buttons");
|
|
11005
11034
|
const [isExpanded, setIsExpanded] = _react.useState.call(void 0, false);
|
|
11006
11035
|
const [showExpandButton, setShowExpandButton] = _react.useState.call(void 0, false);
|
|
11007
11036
|
const contentRef = _react.useRef.call(void 0, null);
|
|
@@ -11092,7 +11121,7 @@ function TabsContainer({
|
|
|
11092
11121
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11093
11122
|
TabsList,
|
|
11094
11123
|
{
|
|
11095
|
-
className:
|
|
11124
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
11096
11125
|
`${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
|
|
11097
11126
|
tabsListClassName
|
|
11098
11127
|
),
|
|
@@ -11100,7 +11129,7 @@ function TabsContainer({
|
|
|
11100
11129
|
TabsTrigger,
|
|
11101
11130
|
{
|
|
11102
11131
|
value: tab.label,
|
|
11103
|
-
className:
|
|
11132
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
11104
11133
|
`${style ? `text-muted-foreground border-accent data-[state=active]:text-foreground hover:text-foreground cursor-pointer rounded-none bg-transparent pb-2 text-sm font-light hover:border-0 data-[state=active]:border-b data-[state=active]:font-medium data-[state=active]:shadow-none` : `text-primary text-xs`}`,
|
|
11105
11134
|
tabsTriggerClassName
|
|
11106
11135
|
),
|
|
@@ -11120,7 +11149,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
|
|
|
11120
11149
|
// src/components/contents/AttributeElement.tsx
|
|
11121
11150
|
|
|
11122
11151
|
function AttributeElement({ inline, title, value, className }) {
|
|
11123
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11152
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkHBCIT6KEjs.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
|
|
11124
11153
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
|
|
11125
11154
|
value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
|
|
11126
11155
|
] });
|
|
@@ -11143,7 +11172,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails")
|
|
|
11143
11172
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
11144
11173
|
|
|
11145
11174
|
|
|
11146
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
11175
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-NBASFIQP.js"))), {
|
|
11147
11176
|
ssr: false
|
|
11148
11177
|
});
|
|
11149
11178
|
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -11194,7 +11223,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, PageContainerContentDetails, "PageContainer
|
|
|
11194
11223
|
|
|
11195
11224
|
function PageContentContainer({ header, details, footer, content }) {
|
|
11196
11225
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
11197
|
-
const isMobile =
|
|
11226
|
+
const isMobile = _chunkHBCIT6KEjs.useIsMobile.call(void 0, );
|
|
11198
11227
|
_react.useEffect.call(void 0, () => {
|
|
11199
11228
|
setMounted(true);
|
|
11200
11229
|
}, []);
|
|
@@ -11526,14 +11555,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, useJsonApiMutation, "useJsonApiMutation");
|
|
|
11526
11555
|
function useRehydration(classKey, data) {
|
|
11527
11556
|
return _react.useMemo.call(void 0, () => {
|
|
11528
11557
|
if (!data) return null;
|
|
11529
|
-
return
|
|
11558
|
+
return _chunkHBCIT6KEjs.RehydrationFactory.rehydrate(classKey, data);
|
|
11530
11559
|
}, [classKey, data]);
|
|
11531
11560
|
}
|
|
11532
11561
|
_chunk7QVYU63Ejs.__name.call(void 0, useRehydration, "useRehydration");
|
|
11533
11562
|
function useRehydrationList(classKey, data) {
|
|
11534
11563
|
return _react.useMemo.call(void 0, () => {
|
|
11535
11564
|
if (!data || data.length === 0) return [];
|
|
11536
|
-
return
|
|
11565
|
+
return _chunkHBCIT6KEjs.RehydrationFactory.rehydrateList(classKey, data);
|
|
11537
11566
|
}, [classKey, data]);
|
|
11538
11567
|
}
|
|
11539
11568
|
_chunk7QVYU63Ejs.__name.call(void 0, useRehydrationList, "useRehydrationList");
|
|
@@ -11575,9 +11604,9 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
11575
11604
|
{
|
|
11576
11605
|
href: hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
11577
11606
|
page: "/administration",
|
|
11578
|
-
id: _optionalChain([
|
|
11607
|
+
id: _optionalChain([_chunkHBCIT6KEjs.Modules, 'access', _289 => _289.Company, 'access', _290 => _290.pageUrl, 'optionalAccess', _291 => _291.substring, 'call', _292 => _292(1)]),
|
|
11579
11608
|
childPage: company.id
|
|
11580
|
-
}) : generateUrl({ page:
|
|
11609
|
+
}) : generateUrl({ page: _chunkHBCIT6KEjs.Modules.Company, id: company.id }),
|
|
11581
11610
|
children: row.getValue("name")
|
|
11582
11611
|
}
|
|
11583
11612
|
);
|
|
@@ -11678,7 +11707,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
11678
11707
|
header: t(`role.fields.name.label`),
|
|
11679
11708
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
|
|
11680
11709
|
const role = row.original.jsonApiData;
|
|
11681
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
11710
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.Role, id: role.id }), children: row.getValue("name") });
|
|
11682
11711
|
}, "cell"),
|
|
11683
11712
|
enableSorting: false,
|
|
11684
11713
|
enableHiding: false
|
|
@@ -11715,7 +11744,7 @@ var useUserSearch = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
|
11715
11744
|
if (search === searchQueryRef.current && users.length > 0) return;
|
|
11716
11745
|
setIsLoading(true);
|
|
11717
11746
|
searchQueryRef.current = search;
|
|
11718
|
-
const fetchedUsers = await
|
|
11747
|
+
const fetchedUsers = await _chunkHBCIT6KEjs.UserService.findMany({ search, fetchAll: true });
|
|
11719
11748
|
setUsers(fetchedUsers);
|
|
11720
11749
|
} catch (error) {
|
|
11721
11750
|
console.error("Failed to load users:", error);
|
|
@@ -11781,8 +11810,8 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
11781
11810
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11782
11811
|
Link,
|
|
11783
11812
|
{
|
|
11784
|
-
href: generateUrl({ page:
|
|
11785
|
-
className:
|
|
11813
|
+
href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: user.id }),
|
|
11814
|
+
className: _chunkHBCIT6KEjs.cn.call(void 0,
|
|
11786
11815
|
`flex items-center justify-start gap-2`,
|
|
11787
11816
|
user.isDeleted || !user.isActivated ? "text-muted-foreground italic" : ""
|
|
11788
11817
|
),
|
|
@@ -11876,11 +11905,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
11876
11905
|
header: t(`content.fields.name.label`),
|
|
11877
11906
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
|
|
11878
11907
|
const content = row.original.jsonApiData;
|
|
11879
|
-
const contentModule = content.contentType ?
|
|
11908
|
+
const contentModule = content.contentType ? _chunkHBCIT6KEjs.Modules.findByModelName(content.contentType) : void 0;
|
|
11880
11909
|
const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
|
|
11881
11910
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
|
|
11882
11911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { className: "flex items-center justify-start space-x-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11883
|
-
contentModule &&
|
|
11912
|
+
contentModule && _chunkHBCIT6KEjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
|
|
11884
11913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: link, children: content.name })
|
|
11885
11914
|
] }) }),
|
|
11886
11915
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: content.tldr })
|
|
@@ -12017,7 +12046,7 @@ function useOAuthClients() {
|
|
|
12017
12046
|
setIsLoading(true);
|
|
12018
12047
|
setError(null);
|
|
12019
12048
|
try {
|
|
12020
|
-
const fetchedClients = await
|
|
12049
|
+
const fetchedClients = await _chunkHBCIT6KEjs.OAuthService.listClients();
|
|
12021
12050
|
setClients(fetchedClients);
|
|
12022
12051
|
} catch (err) {
|
|
12023
12052
|
console.error("[useOAuthClients] Failed to fetch clients:", err);
|
|
@@ -12034,7 +12063,7 @@ function useOAuthClients() {
|
|
|
12034
12063
|
setIsLoading(true);
|
|
12035
12064
|
setError(null);
|
|
12036
12065
|
try {
|
|
12037
|
-
const result = await
|
|
12066
|
+
const result = await _chunkHBCIT6KEjs.OAuthService.createClient(data);
|
|
12038
12067
|
addClient(result.client);
|
|
12039
12068
|
if (result.clientSecret) {
|
|
12040
12069
|
setNewClientSecret({
|
|
@@ -12081,7 +12110,7 @@ function useOAuthClient(clientId) {
|
|
|
12081
12110
|
setIsLoading(true);
|
|
12082
12111
|
setError(null);
|
|
12083
12112
|
try {
|
|
12084
|
-
const fetched = await
|
|
12113
|
+
const fetched = await _chunkHBCIT6KEjs.OAuthService.getClient({ clientId });
|
|
12085
12114
|
setFetchedClient(fetched);
|
|
12086
12115
|
} catch (err) {
|
|
12087
12116
|
console.error("[useOAuthClient] Failed to fetch client:", err);
|
|
@@ -12101,7 +12130,7 @@ function useOAuthClient(clientId) {
|
|
|
12101
12130
|
setIsLoading(true);
|
|
12102
12131
|
setError(null);
|
|
12103
12132
|
try {
|
|
12104
|
-
const updated = await
|
|
12133
|
+
const updated = await _chunkHBCIT6KEjs.OAuthService.updateClient({ clientId, data });
|
|
12105
12134
|
updateClientInStore(updated);
|
|
12106
12135
|
setFetchedClient(updated);
|
|
12107
12136
|
} catch (err) {
|
|
@@ -12120,7 +12149,7 @@ function useOAuthClient(clientId) {
|
|
|
12120
12149
|
setIsLoading(true);
|
|
12121
12150
|
setError(null);
|
|
12122
12151
|
try {
|
|
12123
|
-
await
|
|
12152
|
+
await _chunkHBCIT6KEjs.OAuthService.deleteClient({ clientId });
|
|
12124
12153
|
removeClientFromStore(clientId);
|
|
12125
12154
|
} catch (err) {
|
|
12126
12155
|
console.error("[useOAuthClient] Failed to delete client:", err);
|
|
@@ -12136,7 +12165,7 @@ function useOAuthClient(clientId) {
|
|
|
12136
12165
|
setIsLoading(true);
|
|
12137
12166
|
setError(null);
|
|
12138
12167
|
try {
|
|
12139
|
-
const result = await
|
|
12168
|
+
const result = await _chunkHBCIT6KEjs.OAuthService.regenerateSecret({ clientId });
|
|
12140
12169
|
setNewClientSecret({
|
|
12141
12170
|
clientId,
|
|
12142
12171
|
secret: result.clientSecret
|
|
@@ -12180,7 +12209,7 @@ function useOAuthConsent(params) {
|
|
|
12180
12209
|
setIsLoading(true);
|
|
12181
12210
|
setError(null);
|
|
12182
12211
|
try {
|
|
12183
|
-
const info = await
|
|
12212
|
+
const info = await _chunkHBCIT6KEjs.OAuthService.getAuthorizationInfo(params);
|
|
12184
12213
|
setClientInfo(info);
|
|
12185
12214
|
} catch (err) {
|
|
12186
12215
|
console.error("[useOAuthConsent] Failed to fetch authorization info:", err);
|
|
@@ -12202,7 +12231,7 @@ function useOAuthConsent(params) {
|
|
|
12202
12231
|
setIsSubmitting(true);
|
|
12203
12232
|
setError(null);
|
|
12204
12233
|
try {
|
|
12205
|
-
const result = await
|
|
12234
|
+
const result = await _chunkHBCIT6KEjs.OAuthService.approveAuthorization(params);
|
|
12206
12235
|
if (result.redirectUrl) {
|
|
12207
12236
|
window.location.href = result.redirectUrl;
|
|
12208
12237
|
}
|
|
@@ -12216,7 +12245,7 @@ function useOAuthConsent(params) {
|
|
|
12216
12245
|
setIsSubmitting(true);
|
|
12217
12246
|
setError(null);
|
|
12218
12247
|
try {
|
|
12219
|
-
const result = await
|
|
12248
|
+
const result = await _chunkHBCIT6KEjs.OAuthService.denyAuthorization(params);
|
|
12220
12249
|
if (result.redirectUrl) {
|
|
12221
12250
|
window.location.href = result.redirectUrl;
|
|
12222
12251
|
}
|
|
@@ -12436,6 +12465,49 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
12436
12465
|
|
|
12437
12466
|
|
|
12438
12467
|
|
|
12468
|
+
// src/features/auth/components/GdprConsentSection.tsx
|
|
12469
|
+
|
|
12470
|
+
|
|
12471
|
+
function GdprConsentSection({
|
|
12472
|
+
form,
|
|
12473
|
+
termsCheckboxId = "termsAccepted",
|
|
12474
|
+
marketingCheckboxId = "marketingConsent"
|
|
12475
|
+
}) {
|
|
12476
|
+
const t = _nextintl.useTranslations.call(void 0, "auth.gdpr");
|
|
12477
|
+
const termsLabel = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
12478
|
+
t("terms_prefix"),
|
|
12479
|
+
" ",
|
|
12480
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: "/terms", target: "_blank", rel: "noopener", className: "underline", children: t("terms_of_service") }),
|
|
12481
|
+
" ",
|
|
12482
|
+
t("and"),
|
|
12483
|
+
" ",
|
|
12484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: "/privacy", target: "_blank", rel: "noopener", className: "underline", children: t("privacy_policy") })
|
|
12485
|
+
] });
|
|
12486
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 py-4", children: [
|
|
12487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12488
|
+
GdprConsentCheckbox,
|
|
12489
|
+
{
|
|
12490
|
+
form,
|
|
12491
|
+
id: termsCheckboxId,
|
|
12492
|
+
label: termsLabel,
|
|
12493
|
+
required: true
|
|
12494
|
+
}
|
|
12495
|
+
),
|
|
12496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12497
|
+
GdprConsentCheckbox,
|
|
12498
|
+
{
|
|
12499
|
+
form,
|
|
12500
|
+
id: marketingCheckboxId,
|
|
12501
|
+
label: t("marketing_consent"),
|
|
12502
|
+
description: t("marketing_description")
|
|
12503
|
+
}
|
|
12504
|
+
)
|
|
12505
|
+
] });
|
|
12506
|
+
}
|
|
12507
|
+
_chunk7QVYU63Ejs.__name.call(void 0, GdprConsentSection, "GdprConsentSection");
|
|
12508
|
+
|
|
12509
|
+
// src/features/auth/components/forms/Register.tsx
|
|
12510
|
+
|
|
12439
12511
|
function Register() {
|
|
12440
12512
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
12441
12513
|
const { setComponentType } = useAuthContext();
|
|
@@ -12452,7 +12524,11 @@ function Register() {
|
|
|
12452
12524
|
}),
|
|
12453
12525
|
password: _zod3.z.string().min(8, t(`auth.errors.password_too_short`)).regex(/^(?=.*[0-9])(?=.*[^a-zA-Z0-9]).*$/, {
|
|
12454
12526
|
message: t(`auth.errors.password_invalid_format`)
|
|
12455
|
-
})
|
|
12527
|
+
}),
|
|
12528
|
+
termsAccepted: _zod3.z.literal(true, {
|
|
12529
|
+
message: t("auth.gdpr.terms_required")
|
|
12530
|
+
}),
|
|
12531
|
+
marketingConsent: _zod3.z.boolean().optional()
|
|
12456
12532
|
});
|
|
12457
12533
|
const form = _reacthookform.useForm.call(void 0, {
|
|
12458
12534
|
resolver: _zod.zodResolver.call(void 0, formSchema),
|
|
@@ -12460,7 +12536,9 @@ function Register() {
|
|
|
12460
12536
|
company: "",
|
|
12461
12537
|
name: "",
|
|
12462
12538
|
email: "",
|
|
12463
|
-
password: ""
|
|
12539
|
+
password: "",
|
|
12540
|
+
termsAccepted: false,
|
|
12541
|
+
marketingConsent: false
|
|
12464
12542
|
}
|
|
12465
12543
|
});
|
|
12466
12544
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
@@ -12470,9 +12548,12 @@ function Register() {
|
|
|
12470
12548
|
companyName: values.company,
|
|
12471
12549
|
name: values.name,
|
|
12472
12550
|
email: values.email,
|
|
12473
|
-
password: values.password
|
|
12551
|
+
password: values.password,
|
|
12552
|
+
termsAcceptedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
12553
|
+
marketingConsent: _nullishCoalesce(values.marketingConsent, () => ( false)),
|
|
12554
|
+
marketingConsentAt: values.marketingConsent ? (/* @__PURE__ */ new Date()).toISOString() : null
|
|
12474
12555
|
};
|
|
12475
|
-
await
|
|
12556
|
+
await _chunkHBCIT6KEjs.AuthService.register(payload);
|
|
12476
12557
|
setShowConfirmation(true);
|
|
12477
12558
|
} catch (e) {
|
|
12478
12559
|
errorToast({ error: e });
|
|
@@ -12482,7 +12563,7 @@ function Register() {
|
|
|
12482
12563
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardHeader, { children: [
|
|
12483
12564
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
|
|
12484
12565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
|
|
12485
|
-
t(`auth.register`)
|
|
12566
|
+
t(`auth.buttons.register`)
|
|
12486
12567
|
] }),
|
|
12487
12568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: " " }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: t(`auth.register_description`) }) })
|
|
12488
12569
|
] }),
|
|
@@ -12528,6 +12609,7 @@ function Register() {
|
|
|
12528
12609
|
placeholder: t(`user.fields.password.placeholder`)
|
|
12529
12610
|
}
|
|
12530
12611
|
),
|
|
12612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, GdprConsentSection, { form }),
|
|
12531
12613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "mt-4 w-full", type: "submit", children: t(`auth.buttons.register`) })
|
|
12532
12614
|
] }),
|
|
12533
12615
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFooter, { className: "flex w-full flex-row justify-between", children: [
|
|
@@ -12672,7 +12754,7 @@ function AcceptInvitation() {
|
|
|
12672
12754
|
const payload = {
|
|
12673
12755
|
code
|
|
12674
12756
|
};
|
|
12675
|
-
await
|
|
12757
|
+
await _chunkHBCIT6KEjs.AuthService.validateCode(payload);
|
|
12676
12758
|
} catch (e) {
|
|
12677
12759
|
setError(e instanceof Error ? e.message : String(e));
|
|
12678
12760
|
errorToast({ title: t(`common.errors.error`), error: e });
|
|
@@ -12710,9 +12792,9 @@ function AcceptInvitation() {
|
|
|
12710
12792
|
code: _optionalChain([params, 'optionalAccess', _315 => _315.code]),
|
|
12711
12793
|
password: values.password
|
|
12712
12794
|
};
|
|
12713
|
-
await
|
|
12795
|
+
await _chunkHBCIT6KEjs.AuthService.acceptInvitation(payload);
|
|
12714
12796
|
setShowConfirmation(true);
|
|
12715
|
-
|
|
12797
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, t("auth.account_activated"), {
|
|
12716
12798
|
description: t("auth.account_activated_description")
|
|
12717
12799
|
});
|
|
12718
12800
|
setTimeout(() => {
|
|
@@ -12772,10 +12854,10 @@ function ActivateAccount() {
|
|
|
12772
12854
|
const payload = {
|
|
12773
12855
|
activationCode: code
|
|
12774
12856
|
};
|
|
12775
|
-
await
|
|
12857
|
+
await _chunkHBCIT6KEjs.AuthService.activate(payload);
|
|
12776
12858
|
setShowConfirmation(true);
|
|
12777
12859
|
setParams(void 0);
|
|
12778
|
-
|
|
12860
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, t("auth.account_activated"), {
|
|
12779
12861
|
description: t("auth.account_activated_description")
|
|
12780
12862
|
});
|
|
12781
12863
|
setTimeout(() => {
|
|
@@ -12815,8 +12897,8 @@ function Cookies({ dehydratedAuth, page }) {
|
|
|
12815
12897
|
_react.useEffect.call(void 0, () => {
|
|
12816
12898
|
if (hasSaved) return;
|
|
12817
12899
|
async function saveTokenOnServer() {
|
|
12818
|
-
await
|
|
12819
|
-
const auth =
|
|
12900
|
+
await _chunkHBCIT6KEjs.AuthService.saveToken({ dehydratedAuth });
|
|
12901
|
+
const auth = _chunkHBCIT6KEjs.rehydrate.call(void 0, _chunkHBCIT6KEjs.Modules.Auth, dehydratedAuth);
|
|
12820
12902
|
setUser(auth.user);
|
|
12821
12903
|
setHasSaved(true);
|
|
12822
12904
|
if (page) {
|
|
@@ -12859,7 +12941,7 @@ function ForgotPassword() {
|
|
|
12859
12941
|
const payload = {
|
|
12860
12942
|
email: values.email
|
|
12861
12943
|
};
|
|
12862
|
-
await
|
|
12944
|
+
await _chunkHBCIT6KEjs.AuthService.initialiseForgotPassword(payload);
|
|
12863
12945
|
setShowConfirmation(true);
|
|
12864
12946
|
} catch (e) {
|
|
12865
12947
|
errorToast({ error: e });
|
|
@@ -12869,7 +12951,7 @@ function ForgotPassword() {
|
|
|
12869
12951
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardHeader, { "data-testid": "page-forgot-password-container", children: [
|
|
12870
12952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
|
|
12871
12953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
|
|
12872
|
-
t("auth.forgot_password")
|
|
12954
|
+
t("auth.buttons.forgot_password")
|
|
12873
12955
|
] }),
|
|
12874
12956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: " " }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: t(`auth.add_email_to_reset`) }) })
|
|
12875
12957
|
] }),
|
|
@@ -12930,7 +13012,7 @@ function Login() {
|
|
|
12930
13012
|
});
|
|
12931
13013
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
12932
13014
|
try {
|
|
12933
|
-
const user = await
|
|
13015
|
+
const user = await _chunkHBCIT6KEjs.AuthService.login({
|
|
12934
13016
|
email: values.email,
|
|
12935
13017
|
password: values.password
|
|
12936
13018
|
});
|
|
@@ -12947,7 +13029,7 @@ function Login() {
|
|
|
12947
13029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardHeader, { "data-testid": "page-login-container", children: [
|
|
12948
13030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
|
|
12949
13031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
|
|
12950
|
-
t("auth.login")
|
|
13032
|
+
t("auth.buttons.login")
|
|
12951
13033
|
] }),
|
|
12952
13034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "text-sm", children: t(`auth.login_description`) })
|
|
12953
13035
|
] }),
|
|
@@ -12974,7 +13056,7 @@ function Login() {
|
|
|
12974
13056
|
testId: "form-login-input-password"
|
|
12975
13057
|
}
|
|
12976
13058
|
),
|
|
12977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "mt-4 w-full", type: "submit", "data-testid": "form-login-button-submit", children: t(`auth.login`) })
|
|
13059
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "mt-4 w-full", type: "submit", "data-testid": "form-login-button-submit", children: t(`auth.buttons.login`) })
|
|
12978
13060
|
] }) }),
|
|
12979
13061
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFooter, { className: "flex w-full flex-col gap-y-4 mt-4", children: [
|
|
12980
13062
|
_chunkOR5NPUWFjs.isDiscordAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: `${_chunkOR5NPUWFjs.getApiUrl.call(void 0, )}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) }),
|
|
@@ -12985,7 +13067,7 @@ function Login() {
|
|
|
12985
13067
|
href: "#",
|
|
12986
13068
|
className: "flex w-full justify-start",
|
|
12987
13069
|
onClick: () => setComponentType(5 /* Register */),
|
|
12988
|
-
children: t(`auth.register`)
|
|
13070
|
+
children: t(`auth.buttons.register`)
|
|
12989
13071
|
}
|
|
12990
13072
|
),
|
|
12991
13073
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12995,7 +13077,7 @@ function Login() {
|
|
|
12995
13077
|
className: "flex w-full justify-end",
|
|
12996
13078
|
onClick: () => setComponentType(1 /* ForgotPassword */),
|
|
12997
13079
|
"data-testid": "form-login-link-forgot-password",
|
|
12998
|
-
children: t(`auth.forgot_password`)
|
|
13080
|
+
children: t(`auth.buttons.forgot_password`)
|
|
12999
13081
|
}
|
|
13000
13082
|
)
|
|
13001
13083
|
] })
|
|
@@ -13012,7 +13094,7 @@ function Logout() {
|
|
|
13012
13094
|
const generateUrl = usePageUrlGenerator();
|
|
13013
13095
|
_react.useEffect.call(void 0, () => {
|
|
13014
13096
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
13015
|
-
await
|
|
13097
|
+
await _chunkHBCIT6KEjs.AuthService.logout();
|
|
13016
13098
|
window.location.href = generateUrl({ page: `/` });
|
|
13017
13099
|
}, "logOut");
|
|
13018
13100
|
logOut();
|
|
@@ -13027,7 +13109,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
|
|
|
13027
13109
|
function RefreshUser() {
|
|
13028
13110
|
const { setUser } = useCurrentUserContext();
|
|
13029
13111
|
const loadFullUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
13030
|
-
const fullUser = await
|
|
13112
|
+
const fullUser = await _chunkHBCIT6KEjs.UserService.findFullUser();
|
|
13031
13113
|
if (fullUser) {
|
|
13032
13114
|
setUser(fullUser);
|
|
13033
13115
|
const token = {
|
|
@@ -13039,7 +13121,7 @@ function RefreshUser() {
|
|
|
13039
13121
|
return { id: module.id, permissions: module.permissions };
|
|
13040
13122
|
})
|
|
13041
13123
|
};
|
|
13042
|
-
await _optionalChain([
|
|
13124
|
+
await _optionalChain([_chunkHBCIT6KEjs.getTokenHandler.call(void 0, ), 'optionalAccess', _322 => _322.updateToken, 'call', _323 => _323(token)]);
|
|
13043
13125
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
13044
13126
|
}
|
|
13045
13127
|
}, "loadFullUser");
|
|
@@ -13070,7 +13152,7 @@ function ResetPassword() {
|
|
|
13070
13152
|
const payload = {
|
|
13071
13153
|
code
|
|
13072
13154
|
};
|
|
13073
|
-
await
|
|
13155
|
+
await _chunkHBCIT6KEjs.AuthService.validateCode(payload);
|
|
13074
13156
|
} catch (e) {
|
|
13075
13157
|
setError(e instanceof Error ? e.message : String(e));
|
|
13076
13158
|
errorToast({ title: t(`common.errors.error`), error: e });
|
|
@@ -13108,9 +13190,9 @@ function ResetPassword() {
|
|
|
13108
13190
|
code: _optionalChain([params, 'optionalAccess', _325 => _325.code]),
|
|
13109
13191
|
password: values.password
|
|
13110
13192
|
};
|
|
13111
|
-
await
|
|
13193
|
+
await _chunkHBCIT6KEjs.AuthService.resetPassword(payload);
|
|
13112
13194
|
setShowConfirmation(true);
|
|
13113
|
-
|
|
13195
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, t(`auth.reset_success`), {
|
|
13114
13196
|
description: t(`auth.reset_success_description`)
|
|
13115
13197
|
});
|
|
13116
13198
|
setTimeout(() => {
|
|
@@ -13151,12 +13233,12 @@ function ContentsList({ contentList }) {
|
|
|
13151
13233
|
_chunk7QVYU63Ejs.__name.call(void 0, ContentsList, "ContentsList");
|
|
13152
13234
|
function ContentsListElement({ content }) {
|
|
13153
13235
|
const generateUrl = usePageUrlGenerator();
|
|
13154
|
-
const contentModule = content.contentType ?
|
|
13236
|
+
const contentModule = content.contentType ? _chunkHBCIT6KEjs.Modules.findByModelName(content.contentType) : void 0;
|
|
13155
13237
|
const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
|
|
13156
13238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hover:bg-muted flex w-full flex-col gap-y-2 border-b p-2 py-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full justify-between gap-x-2", children: [
|
|
13157
13239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCard, { children: [
|
|
13158
13240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Link, { href: link, className: "flex w-full items-center justify-start gap-2 font-semibold", children: [
|
|
13159
|
-
contentModule &&
|
|
13241
|
+
contentModule && _chunkHBCIT6KEjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
|
|
13160
13242
|
content.name
|
|
13161
13243
|
] }) }),
|
|
13162
13244
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCardContent, { className: "flex max-h-96 w-96 flex-col gap-y-4 overflow-y-auto", children: [
|
|
@@ -13175,8 +13257,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListElement, "ContentsListElement")
|
|
|
13175
13257
|
function ContentsListById({ contentIds }) {
|
|
13176
13258
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13177
13259
|
const data = useDataListRetriever({
|
|
13178
|
-
module:
|
|
13179
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13260
|
+
module: _chunkHBCIT6KEjs.Modules.Content,
|
|
13261
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.ContentService.findMany(params), "retriever"),
|
|
13180
13262
|
retrieverParams: { contentIds }
|
|
13181
13263
|
});
|
|
13182
13264
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13184,7 +13266,7 @@ function ContentsListById({ contentIds }) {
|
|
|
13184
13266
|
{
|
|
13185
13267
|
data,
|
|
13186
13268
|
fields: ["name" /* name */, "authors" /* authors */, "updatedAt" /* updatedAt */],
|
|
13187
|
-
tableGeneratorType:
|
|
13269
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.Content,
|
|
13188
13270
|
title: t(`common.relevant`)
|
|
13189
13271
|
}
|
|
13190
13272
|
);
|
|
@@ -13197,8 +13279,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListById, "ContentsListById");
|
|
|
13197
13279
|
function RelevantContentsList({ id }) {
|
|
13198
13280
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13199
13281
|
const data = useDataListRetriever({
|
|
13200
|
-
module:
|
|
13201
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13282
|
+
module: _chunkHBCIT6KEjs.Modules.Content,
|
|
13283
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.ContentService.findRelevant(params), "retriever"),
|
|
13202
13284
|
retrieverParams: { id }
|
|
13203
13285
|
});
|
|
13204
13286
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13206,7 +13288,7 @@ function RelevantContentsList({ id }) {
|
|
|
13206
13288
|
{
|
|
13207
13289
|
data,
|
|
13208
13290
|
fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */, "updatedAt" /* updatedAt */],
|
|
13209
|
-
tableGeneratorType:
|
|
13291
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.Content,
|
|
13210
13292
|
title: t(`common.relevant`)
|
|
13211
13293
|
}
|
|
13212
13294
|
);
|
|
@@ -13259,12 +13341,12 @@ function NotificationsList({ archived }) {
|
|
|
13259
13341
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13260
13342
|
const generateUrl = usePageUrlGenerator();
|
|
13261
13343
|
const data = useDataListRetriever({
|
|
13262
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13344
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.NotificationService.findMany(params), "retriever"),
|
|
13263
13345
|
retrieverParams: { isArchived: archived },
|
|
13264
|
-
module:
|
|
13346
|
+
module: _chunkHBCIT6KEjs.Modules.Notification
|
|
13265
13347
|
});
|
|
13266
13348
|
const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
|
|
13267
|
-
await
|
|
13349
|
+
await _chunkHBCIT6KEjs.NotificationService.archive({ id: notification.id });
|
|
13268
13350
|
data.removeElement(notification);
|
|
13269
13351
|
}, "archiveNotification");
|
|
13270
13352
|
const LoadingSkeleton = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center", children: [
|
|
@@ -13278,7 +13360,7 @@ function NotificationsList({ archived }) {
|
|
|
13278
13360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _326 => _326.data, 'optionalAccess', _327 => _327.map, 'call', _328 => _328((notification) => {
|
|
13279
13361
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
13280
13362
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
|
|
13281
|
-
notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
13363
|
+
notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkHBCIT6KEjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
|
|
13282
13364
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
13283
13365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
13284
13366
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
@@ -13421,7 +13503,7 @@ function NotificationModalContent({ isOpen, setIsOpen }) {
|
|
|
13421
13503
|
batch.forEach((notification) => {
|
|
13422
13504
|
addNotification(notification);
|
|
13423
13505
|
const toastNotification = generateToastNotification(notification, t, generateUrl);
|
|
13424
|
-
|
|
13506
|
+
_chunkHBCIT6KEjs.showToast.call(void 0, toastNotification.title, {
|
|
13425
13507
|
description: toastNotification.description,
|
|
13426
13508
|
action: toastNotification.action
|
|
13427
13509
|
});
|
|
@@ -13582,7 +13664,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
|
|
|
13582
13664
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13583
13665
|
_react.useEffect.call(void 0, () => {
|
|
13584
13666
|
async function checkCompanyAdminDeletability() {
|
|
13585
|
-
const roleUsers = await
|
|
13667
|
+
const roleUsers = await _chunkHBCIT6KEjs.UserService.findAllUsersByRole({
|
|
13586
13668
|
roleId: role.id
|
|
13587
13669
|
});
|
|
13588
13670
|
if (roleUsers.length > 1) setCanRemove(true);
|
|
@@ -13596,7 +13678,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
|
|
|
13596
13678
|
}, [role]);
|
|
13597
13679
|
const remove = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
13598
13680
|
try {
|
|
13599
|
-
await
|
|
13681
|
+
await _chunkHBCIT6KEjs.RoleService.removeUserFromRole({
|
|
13600
13682
|
roleId: role.id,
|
|
13601
13683
|
userId: user.id
|
|
13602
13684
|
});
|
|
@@ -13659,12 +13741,12 @@ function UserRoleAdd({ user, refresh }) {
|
|
|
13659
13741
|
const [roles, setRoles] = _react.useState.call(void 0, []);
|
|
13660
13742
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13661
13743
|
const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (role) => {
|
|
13662
|
-
await
|
|
13744
|
+
await _chunkHBCIT6KEjs.RoleService.addUserToRole({
|
|
13663
13745
|
roleId: role.id,
|
|
13664
13746
|
userId: user.id
|
|
13665
13747
|
});
|
|
13666
13748
|
setRoles(roles.filter((u) => u.id !== role.id));
|
|
13667
|
-
|
|
13749
|
+
_chunkHBCIT6KEjs.showToast.call(void 0,
|
|
13668
13750
|
t(`common.association.label`, {
|
|
13669
13751
|
source: t(`entities.roles`, { count: 1 }),
|
|
13670
13752
|
destination: t(`entities.users`, { count: 1 })
|
|
@@ -13683,7 +13765,7 @@ function UserRoleAdd({ user, refresh }) {
|
|
|
13683
13765
|
const searchRoles = _react.useCallback.call(void 0,
|
|
13684
13766
|
async (term) => {
|
|
13685
13767
|
setRoles(
|
|
13686
|
-
await
|
|
13768
|
+
await _chunkHBCIT6KEjs.RoleService.findAllRolesUserNotIn({
|
|
13687
13769
|
search: term,
|
|
13688
13770
|
userId: user.id
|
|
13689
13771
|
})
|
|
@@ -13751,16 +13833,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRoleAdd, "UserRoleAdd");
|
|
|
13751
13833
|
function RolesList() {
|
|
13752
13834
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13753
13835
|
const data = useDataListRetriever({
|
|
13754
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13836
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.RoleService.findAllRoles(params), "retriever"),
|
|
13755
13837
|
retrieverParams: {},
|
|
13756
|
-
module:
|
|
13838
|
+
module: _chunkHBCIT6KEjs.Modules.Role
|
|
13757
13839
|
});
|
|
13758
13840
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13759
13841
|
ContentListTable,
|
|
13760
13842
|
{
|
|
13761
13843
|
data,
|
|
13762
13844
|
fields: ["name" /* name */, "description" /* description */],
|
|
13763
|
-
tableGeneratorType:
|
|
13845
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.Role,
|
|
13764
13846
|
title: t(`entities.roles`, { count: 2 })
|
|
13765
13847
|
}
|
|
13766
13848
|
);
|
|
@@ -13773,16 +13855,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RolesList, "RolesList");
|
|
|
13773
13855
|
function UserRolesList({ user }) {
|
|
13774
13856
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13775
13857
|
const data = useDataListRetriever({
|
|
13776
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13858
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkHBCIT6KEjs.RoleService.findAllRolesByUser(params), "retriever"),
|
|
13777
13859
|
retrieverParams: { userId: user.id },
|
|
13778
|
-
module:
|
|
13860
|
+
module: _chunkHBCIT6KEjs.Modules.Role
|
|
13779
13861
|
});
|
|
13780
13862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13781
13863
|
ContentListTable,
|
|
13782
13864
|
{
|
|
13783
13865
|
data,
|
|
13784
13866
|
fields: ["name" /* name */, "description" /* description */],
|
|
13785
|
-
tableGeneratorType:
|
|
13867
|
+
tableGeneratorType: _chunkHBCIT6KEjs.Modules.Role,
|
|
13786
13868
|
title: t(`entities.roles`, { count: 2 })
|
|
13787
13869
|
}
|
|
13788
13870
|
);
|
|
@@ -13900,7 +13982,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthRedirectUriInput, "OAuthRedirectUriInp
|
|
|
13900
13982
|
function OAuthScopeSelector({
|
|
13901
13983
|
value,
|
|
13902
13984
|
onChange,
|
|
13903
|
-
availableScopes =
|
|
13985
|
+
availableScopes = _chunkHBCIT6KEjs.AVAILABLE_OAUTH_SCOPES,
|
|
13904
13986
|
disabled = false,
|
|
13905
13987
|
error,
|
|
13906
13988
|
label = "Allowed Scopes"
|
|
@@ -14227,7 +14309,7 @@ function OAuthClientForm({
|
|
|
14227
14309
|
description: formState.description.trim() || void 0,
|
|
14228
14310
|
redirectUris: formState.redirectUris.filter((uri) => uri.trim()),
|
|
14229
14311
|
allowedScopes: formState.allowedScopes,
|
|
14230
|
-
allowedGrantTypes:
|
|
14312
|
+
allowedGrantTypes: _chunkHBCIT6KEjs.DEFAULT_GRANT_TYPES,
|
|
14231
14313
|
isConfidential: formState.isConfidential
|
|
14232
14314
|
};
|
|
14233
14315
|
await onSubmit(data);
|
|
@@ -14428,7 +14510,7 @@ function OAuthClientDetail({
|
|
|
14428
14510
|
] }),
|
|
14429
14511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
14430
14512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
14431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([
|
|
14513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkHBCIT6KEjs.OAUTH_SCOPE_DISPLAY, 'access', _338 => _338[scope], 'optionalAccess', _339 => _339.name]) || scope }, scope)) })
|
|
14432
14514
|
] }),
|
|
14433
14515
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
14434
14516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -15092,5 +15174,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentScreen, "OAuthConsentScreen");
|
|
|
15092
15174
|
|
|
15093
15175
|
|
|
15094
15176
|
|
|
15095
|
-
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.CompanyDetails = CompanyDetails; exports.TokenStatusIndicator = TokenStatusIndicator; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserIndexDetails = UserIndexDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.AuthContainer = AuthContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
15096
|
-
|
|
15177
|
+
|
|
15178
|
+
|
|
15179
|
+
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.CompanyDetails = CompanyDetails; exports.TokenStatusIndicator = TokenStatusIndicator; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserIndexDetails = UserIndexDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
15180
|
+
//# sourceMappingURL=chunk-ITBPDMUX.js.map
|