@carlonicora/nextjs-jsonapi 1.27.0 → 1.28.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-5NYZBYPY.js → BlockNoteEditor-CAUNVZUF.js} +13 -13
- package/dist/{BlockNoteEditor-5NYZBYPY.js.map → BlockNoteEditor-CAUNVZUF.js.map} +1 -1
- package/dist/{BlockNoteEditor-B6K7OEN6.mjs → BlockNoteEditor-EOA4OEVX.mjs} +3 -3
- package/dist/billing/index.d.mts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/index.js +359 -352
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +12 -5
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-ZR26XYRO.js → chunk-IXI4GAKB.js} +427 -427
- package/dist/{chunk-ZR26XYRO.js.map → chunk-IXI4GAKB.js.map} +1 -1
- package/dist/{chunk-NAB52T2P.mjs → chunk-ORFXBO7F.mjs} +9 -1
- package/dist/chunk-ORFXBO7F.mjs.map +1 -0
- package/dist/{chunk-RU4GQIB6.mjs → chunk-PYASRX75.mjs} +3 -3
- package/dist/{chunk-2VZZFQP4.js → chunk-TSEU4KZ2.js} +9 -1
- package/dist/chunk-TSEU4KZ2.js.map +1 -0
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/core/index.d.mts +4 -2
- package/dist/core/index.d.ts +4 -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/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/{stripe-subscription.interface-CNTsrbAx.d.ts → stripe-subscription.interface-BaZUngWe.d.ts} +2 -0
- package/dist/{stripe-subscription.interface-CFtupgYh.d.mts → stripe-subscription.interface-Cm_It1fz.d.mts} +2 -0
- package/package.json +1 -1
- package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +11 -1
- package/src/features/billing/stripe-price/data/stripe-price.interface.ts +2 -0
- package/src/features/billing/stripe-price/data/stripe-price.ts +10 -0
- package/dist/chunk-2VZZFQP4.js.map +0 -1
- package/dist/chunk-NAB52T2P.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-B6K7OEN6.mjs.map → BlockNoteEditor-EOA4OEVX.mjs.map} +0 -0
- /package/dist/{chunk-RU4GQIB6.mjs.map → chunk-PYASRX75.mjs.map} +0 -0
|
@@ -36,7 +36,7 @@ var _chunkEW6QPMN3js = require('./chunk-EW6QPMN3.js');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkTSEU4KZ2js = require('./chunk-TSEU4KZ2.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunk3EPNHTMHjs = require('./chunk-3EPNHTMH.js');
|
|
@@ -181,7 +181,7 @@ function useDataListRetriever(params) {
|
|
|
181
181
|
const abortControllerRef = _react.useRef.call(void 0, null);
|
|
182
182
|
const isFetchingRef = _react.useRef.call(void 0, false);
|
|
183
183
|
const resolvedType = params.module;
|
|
184
|
-
const resolvedService =
|
|
184
|
+
const resolvedService = _chunkTSEU4KZ2js.ClientAbstractService;
|
|
185
185
|
const parsePageParams = _react.useCallback.call(void 0, (url) => {
|
|
186
186
|
if (!url) return null;
|
|
187
187
|
try {
|
|
@@ -929,20 +929,20 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
929
929
|
if (!token && dehydratedUser) setDehydratedUser(null);
|
|
930
930
|
}, [dehydratedUser, setDehydratedUser]);
|
|
931
931
|
const matchUrlToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
932
|
-
const moduleKeys = Object.getOwnPropertyNames(
|
|
932
|
+
const moduleKeys = Object.getOwnPropertyNames(_chunkTSEU4KZ2js.Modules).filter(
|
|
933
933
|
(key) => key !== "prototype" && key !== "_factory" && key !== "length" && key !== "name"
|
|
934
934
|
);
|
|
935
935
|
const matchedModuleKey = moduleKeys.find((key) => {
|
|
936
|
-
const descriptor2 = Object.getOwnPropertyDescriptor(
|
|
936
|
+
const descriptor2 = Object.getOwnPropertyDescriptor(_chunkTSEU4KZ2js.Modules, key);
|
|
937
937
|
if (!_optionalChain([descriptor2, 'optionalAccess', _25 => _25.get])) return false;
|
|
938
|
-
const selectedModule = descriptor2.get.call(
|
|
938
|
+
const selectedModule = descriptor2.get.call(_chunkTSEU4KZ2js.Modules);
|
|
939
939
|
return path.toLowerCase().startsWith(_optionalChain([selectedModule, 'access', _26 => _26.pageUrl, 'optionalAccess', _27 => _27.toLowerCase, 'call', _28 => _28()]));
|
|
940
940
|
});
|
|
941
941
|
if (!matchedModuleKey) return void 0;
|
|
942
|
-
const descriptor = Object.getOwnPropertyDescriptor(
|
|
943
|
-
return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(
|
|
942
|
+
const descriptor = Object.getOwnPropertyDescriptor(_chunkTSEU4KZ2js.Modules, matchedModuleKey);
|
|
943
|
+
return _optionalChain([descriptor, 'optionalAccess', _29 => _29.get, 'optionalAccess', _30 => _30.call, 'call', _31 => _31(_chunkTSEU4KZ2js.Modules)]);
|
|
944
944
|
}, "matchUrlToModule");
|
|
945
|
-
const currentUser = dehydratedUser ?
|
|
945
|
+
const currentUser = dehydratedUser ? _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.User, dehydratedUser) : null;
|
|
946
946
|
const company = _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _32 => _32.company]), () => ( null));
|
|
947
947
|
const setUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (user) => {
|
|
948
948
|
if (user) setDehydratedUser(user.dehydrate());
|
|
@@ -960,14 +960,14 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
960
960
|
function hasPermissionToModule(params) {
|
|
961
961
|
if (!currentUser) return false;
|
|
962
962
|
if (!!params.module.feature && !hasAccesToFeature(params.module.feature)) return false;
|
|
963
|
-
return
|
|
963
|
+
return _chunkTSEU4KZ2js.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
|
|
964
964
|
}
|
|
965
965
|
_chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModule, "hasPermissionToModule");
|
|
966
966
|
function hasPermissionToModules(params) {
|
|
967
967
|
if (!currentUser) return false;
|
|
968
968
|
if (!params.modules.every((module) => !module.feature || hasAccesToFeature(module.feature))) return false;
|
|
969
969
|
return params.modules.every(
|
|
970
|
-
(module) =>
|
|
970
|
+
(module) => _chunkTSEU4KZ2js.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
|
|
971
971
|
);
|
|
972
972
|
}
|
|
973
973
|
_chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModules, "hasPermissionToModules");
|
|
@@ -985,7 +985,7 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
985
985
|
if (isRefreshing) return;
|
|
986
986
|
setIsRefreshing(true);
|
|
987
987
|
try {
|
|
988
|
-
const fullUser = await
|
|
988
|
+
const fullUser = await _chunkTSEU4KZ2js.UserService.findFullUser();
|
|
989
989
|
if (fullUser) {
|
|
990
990
|
setDehydratedUser(fullUser.dehydrate());
|
|
991
991
|
}
|
|
@@ -1059,7 +1059,7 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1059
1059
|
const [existingUsers, setExistingUsers] = _react.useState.call(void 0, null);
|
|
1060
1060
|
_react.useEffect.call(void 0, () => {
|
|
1061
1061
|
const fetchExistingUsers = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
1062
|
-
setExistingUsers(await
|
|
1062
|
+
setExistingUsers(await _chunkTSEU4KZ2js.UserService.findMany({ roleId: role.id, fetchAll: true }));
|
|
1063
1063
|
}, "fetchExistingUsers");
|
|
1064
1064
|
if (show) {
|
|
1065
1065
|
setExistingUsers(null);
|
|
@@ -1067,7 +1067,7 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
}, [show]);
|
|
1069
1069
|
const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (user) => {
|
|
1070
|
-
await
|
|
1070
|
+
await _chunkTSEU4KZ2js.RoleService.addUserToRole({
|
|
1071
1071
|
roleId: role.id,
|
|
1072
1072
|
userId: user.id
|
|
1073
1073
|
});
|
|
@@ -1083,9 +1083,9 @@ function AddUserToRoleInternal({ role, refresh }) {
|
|
|
1083
1083
|
}, "addUserToRole");
|
|
1084
1084
|
const data = useDataListRetriever({
|
|
1085
1085
|
ready: !!company && show,
|
|
1086
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
1086
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findAllUsers(params), "retriever"),
|
|
1087
1087
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _42 => _42.id]) },
|
|
1088
|
-
module:
|
|
1088
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
1089
1089
|
});
|
|
1090
1090
|
_react.useEffect.call(void 0, () => {
|
|
1091
1091
|
if (!!company && show) {
|
|
@@ -1136,7 +1136,7 @@ function Accordion({ className, ...props }) {
|
|
|
1136
1136
|
_accordion.Accordion.Root,
|
|
1137
1137
|
{
|
|
1138
1138
|
"data-slot": "accordion",
|
|
1139
|
-
className:
|
|
1139
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
|
|
1140
1140
|
...props
|
|
1141
1141
|
}
|
|
1142
1142
|
);
|
|
@@ -1147,7 +1147,7 @@ function AccordionItem({ className, ...props }) {
|
|
|
1147
1147
|
_accordion.Accordion.Item,
|
|
1148
1148
|
{
|
|
1149
1149
|
"data-slot": "accordion-item",
|
|
1150
|
-
className:
|
|
1150
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
|
|
1151
1151
|
...props
|
|
1152
1152
|
}
|
|
1153
1153
|
);
|
|
@@ -1162,7 +1162,7 @@ function AccordionTrigger({
|
|
|
1162
1162
|
_accordion.Accordion.Trigger,
|
|
1163
1163
|
{
|
|
1164
1164
|
"data-slot": "accordion-trigger",
|
|
1165
|
-
className:
|
|
1165
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1166
1166
|
"**: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",
|
|
1167
1167
|
className
|
|
1168
1168
|
),
|
|
@@ -1190,7 +1190,7 @@ function AccordionContent({
|
|
|
1190
1190
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1191
1191
|
"div",
|
|
1192
1192
|
{
|
|
1193
|
-
className:
|
|
1193
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1194
1194
|
"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",
|
|
1195
1195
|
className
|
|
1196
1196
|
),
|
|
@@ -1226,7 +1226,7 @@ function Alert({
|
|
|
1226
1226
|
{
|
|
1227
1227
|
"data-slot": "alert",
|
|
1228
1228
|
role: "alert",
|
|
1229
|
-
className:
|
|
1229
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, alertVariants({ variant }), className),
|
|
1230
1230
|
...props
|
|
1231
1231
|
}
|
|
1232
1232
|
);
|
|
@@ -1237,7 +1237,7 @@ function AlertTitle({ className, ...props }) {
|
|
|
1237
1237
|
"div",
|
|
1238
1238
|
{
|
|
1239
1239
|
"data-slot": "alert-title",
|
|
1240
|
-
className:
|
|
1240
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1241
1241
|
"font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
|
|
1242
1242
|
className
|
|
1243
1243
|
),
|
|
@@ -1254,7 +1254,7 @@ function AlertDescription({
|
|
|
1254
1254
|
"div",
|
|
1255
1255
|
{
|
|
1256
1256
|
"data-slot": "alert-description",
|
|
1257
|
-
className:
|
|
1257
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1258
1258
|
"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",
|
|
1259
1259
|
className
|
|
1260
1260
|
),
|
|
@@ -1268,7 +1268,7 @@ function AlertAction({ className, ...props }) {
|
|
|
1268
1268
|
"div",
|
|
1269
1269
|
{
|
|
1270
1270
|
"data-slot": "alert-action",
|
|
1271
|
-
className:
|
|
1271
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "absolute top-1.5 right-2", className),
|
|
1272
1272
|
...props
|
|
1273
1273
|
}
|
|
1274
1274
|
);
|
|
@@ -1321,7 +1321,7 @@ function Button({
|
|
|
1321
1321
|
_button.Button,
|
|
1322
1322
|
{
|
|
1323
1323
|
"data-slot": "button",
|
|
1324
|
-
className:
|
|
1324
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, buttonVariants({ variant, size, className })),
|
|
1325
1325
|
...props
|
|
1326
1326
|
}
|
|
1327
1327
|
);
|
|
@@ -1350,7 +1350,7 @@ function AlertDialogOverlay({
|
|
|
1350
1350
|
_alertdialog.AlertDialog.Backdrop,
|
|
1351
1351
|
{
|
|
1352
1352
|
"data-slot": "alert-dialog-overlay",
|
|
1353
|
-
className:
|
|
1353
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1354
1354
|
"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",
|
|
1355
1355
|
className
|
|
1356
1356
|
),
|
|
@@ -1371,7 +1371,7 @@ function AlertDialogContent({
|
|
|
1371
1371
|
{
|
|
1372
1372
|
"data-slot": "alert-dialog-content",
|
|
1373
1373
|
"data-size": size,
|
|
1374
|
-
className:
|
|
1374
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1375
1375
|
"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",
|
|
1376
1376
|
className
|
|
1377
1377
|
),
|
|
@@ -1389,7 +1389,7 @@ function AlertDialogHeader({
|
|
|
1389
1389
|
"div",
|
|
1390
1390
|
{
|
|
1391
1391
|
"data-slot": "alert-dialog-header",
|
|
1392
|
-
className:
|
|
1392
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1393
1393
|
...props
|
|
1394
1394
|
}
|
|
1395
1395
|
);
|
|
@@ -1403,7 +1403,7 @@ function AlertDialogFooter({
|
|
|
1403
1403
|
"div",
|
|
1404
1404
|
{
|
|
1405
1405
|
"data-slot": "alert-dialog-footer",
|
|
1406
|
-
className:
|
|
1406
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1407
1407
|
"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",
|
|
1408
1408
|
className
|
|
1409
1409
|
),
|
|
@@ -1420,7 +1420,7 @@ function AlertDialogMedia({
|
|
|
1420
1420
|
"div",
|
|
1421
1421
|
{
|
|
1422
1422
|
"data-slot": "alert-dialog-media",
|
|
1423
|
-
className:
|
|
1423
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1424
1424
|
...props
|
|
1425
1425
|
}
|
|
1426
1426
|
);
|
|
@@ -1434,7 +1434,7 @@ function AlertDialogTitle({
|
|
|
1434
1434
|
_alertdialog.AlertDialog.Title,
|
|
1435
1435
|
{
|
|
1436
1436
|
"data-slot": "alert-dialog-title",
|
|
1437
|
-
className:
|
|
1437
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1438
1438
|
...props
|
|
1439
1439
|
}
|
|
1440
1440
|
);
|
|
@@ -1448,7 +1448,7 @@ function AlertDialogDescription({
|
|
|
1448
1448
|
_alertdialog.AlertDialog.Description,
|
|
1449
1449
|
{
|
|
1450
1450
|
"data-slot": "alert-dialog-description",
|
|
1451
|
-
className:
|
|
1451
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1452
1452
|
...props
|
|
1453
1453
|
}
|
|
1454
1454
|
);
|
|
@@ -1462,7 +1462,7 @@ function AlertDialogAction({
|
|
|
1462
1462
|
Button,
|
|
1463
1463
|
{
|
|
1464
1464
|
"data-slot": "alert-dialog-action",
|
|
1465
|
-
className:
|
|
1465
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, className),
|
|
1466
1466
|
...props
|
|
1467
1467
|
}
|
|
1468
1468
|
);
|
|
@@ -1478,7 +1478,7 @@ function AlertDialogCancel({
|
|
|
1478
1478
|
_alertdialog.AlertDialog.Close,
|
|
1479
1479
|
{
|
|
1480
1480
|
"data-slot": "alert-dialog-cancel",
|
|
1481
|
-
className:
|
|
1481
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, className),
|
|
1482
1482
|
render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { variant, size }),
|
|
1483
1483
|
...props
|
|
1484
1484
|
}
|
|
@@ -1499,7 +1499,7 @@ function Avatar({
|
|
|
1499
1499
|
{
|
|
1500
1500
|
"data-slot": "avatar",
|
|
1501
1501
|
"data-size": size,
|
|
1502
|
-
className:
|
|
1502
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1503
1503
|
"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",
|
|
1504
1504
|
className
|
|
1505
1505
|
),
|
|
@@ -1513,7 +1513,7 @@ function AvatarImage({ className, ...props }) {
|
|
|
1513
1513
|
_avatar.Avatar.Image,
|
|
1514
1514
|
{
|
|
1515
1515
|
"data-slot": "avatar-image",
|
|
1516
|
-
className:
|
|
1516
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1517
1517
|
"rounded-full aspect-square size-full object-cover",
|
|
1518
1518
|
className
|
|
1519
1519
|
),
|
|
@@ -1530,7 +1530,7 @@ function AvatarFallback({
|
|
|
1530
1530
|
_avatar.Avatar.Fallback,
|
|
1531
1531
|
{
|
|
1532
1532
|
"data-slot": "avatar-fallback",
|
|
1533
|
-
className:
|
|
1533
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1534
1534
|
"bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",
|
|
1535
1535
|
className
|
|
1536
1536
|
),
|
|
@@ -1544,7 +1544,7 @@ function AvatarBadge({ className, ...props }) {
|
|
|
1544
1544
|
"span",
|
|
1545
1545
|
{
|
|
1546
1546
|
"data-slot": "avatar-badge",
|
|
1547
|
-
className:
|
|
1547
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1548
1548
|
"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",
|
|
1549
1549
|
"group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
|
|
1550
1550
|
"group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
|
|
@@ -1561,7 +1561,7 @@ function AvatarGroup({ className, ...props }) {
|
|
|
1561
1561
|
"div",
|
|
1562
1562
|
{
|
|
1563
1563
|
"data-slot": "avatar-group",
|
|
1564
|
-
className:
|
|
1564
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1565
1565
|
"*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",
|
|
1566
1566
|
className
|
|
1567
1567
|
),
|
|
@@ -1578,7 +1578,7 @@ function AvatarGroupCount({
|
|
|
1578
1578
|
"div",
|
|
1579
1579
|
{
|
|
1580
1580
|
"data-slot": "avatar-group-count",
|
|
1581
|
-
className:
|
|
1581
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1582
1582
|
...props
|
|
1583
1583
|
}
|
|
1584
1584
|
);
|
|
@@ -1617,7 +1617,7 @@ function Badge({
|
|
|
1617
1617
|
defaultTagName: "span",
|
|
1618
1618
|
props: _mergeprops.mergeProps.call(void 0,
|
|
1619
1619
|
{
|
|
1620
|
-
className:
|
|
1620
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, badgeVariants({ className, variant }))
|
|
1621
1621
|
},
|
|
1622
1622
|
props
|
|
1623
1623
|
),
|
|
@@ -1641,7 +1641,7 @@ function Breadcrumb({ className, ...props }) {
|
|
|
1641
1641
|
{
|
|
1642
1642
|
"aria-label": "breadcrumb",
|
|
1643
1643
|
"data-slot": "breadcrumb",
|
|
1644
|
-
className:
|
|
1644
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, className),
|
|
1645
1645
|
...props
|
|
1646
1646
|
}
|
|
1647
1647
|
);
|
|
@@ -1652,7 +1652,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
1652
1652
|
"ol",
|
|
1653
1653
|
{
|
|
1654
1654
|
"data-slot": "breadcrumb-list",
|
|
1655
|
-
className:
|
|
1655
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1656
1656
|
"text-muted-foreground gap-1.5 text-xs/relaxed flex flex-wrap items-center break-words",
|
|
1657
1657
|
className
|
|
1658
1658
|
),
|
|
@@ -1666,7 +1666,7 @@ function BreadcrumbItem({ className, ...props }) {
|
|
|
1666
1666
|
"li",
|
|
1667
1667
|
{
|
|
1668
1668
|
"data-slot": "breadcrumb-item",
|
|
1669
|
-
className:
|
|
1669
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-1 inline-flex items-center", className),
|
|
1670
1670
|
...props
|
|
1671
1671
|
}
|
|
1672
1672
|
);
|
|
@@ -1681,7 +1681,7 @@ function BreadcrumbLink({
|
|
|
1681
1681
|
defaultTagName: "a",
|
|
1682
1682
|
props: _mergeprops.mergeProps.call(void 0,
|
|
1683
1683
|
{
|
|
1684
|
-
className:
|
|
1684
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "hover:text-foreground transition-colors", className)
|
|
1685
1685
|
},
|
|
1686
1686
|
props
|
|
1687
1687
|
),
|
|
@@ -1700,7 +1700,7 @@ function BreadcrumbPage({ className, ...props }) {
|
|
|
1700
1700
|
role: "link",
|
|
1701
1701
|
"aria-disabled": "true",
|
|
1702
1702
|
"aria-current": "page",
|
|
1703
|
-
className:
|
|
1703
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-foreground font-normal", className),
|
|
1704
1704
|
...props
|
|
1705
1705
|
}
|
|
1706
1706
|
);
|
|
@@ -1717,7 +1717,7 @@ function BreadcrumbSeparator({
|
|
|
1717
1717
|
"data-slot": "breadcrumb-separator",
|
|
1718
1718
|
role: "presentation",
|
|
1719
1719
|
"aria-hidden": "true",
|
|
1720
|
-
className:
|
|
1720
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "[&>svg]:size-3.5", className),
|
|
1721
1721
|
...props,
|
|
1722
1722
|
children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1723
1723
|
_lucidereact.ChevronRightIcon,
|
|
@@ -1737,7 +1737,7 @@ function BreadcrumbEllipsis({
|
|
|
1737
1737
|
"data-slot": "breadcrumb-ellipsis",
|
|
1738
1738
|
role: "presentation",
|
|
1739
1739
|
"aria-hidden": "true",
|
|
1740
|
-
className:
|
|
1740
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1741
1741
|
"size-4 [&>svg]:size-3.5 flex items-center justify-center",
|
|
1742
1742
|
className
|
|
1743
1743
|
),
|
|
@@ -1777,7 +1777,7 @@ function Calendar({
|
|
|
1777
1777
|
_reactdaypicker.DayPicker,
|
|
1778
1778
|
{
|
|
1779
1779
|
showOutsideDays,
|
|
1780
|
-
className:
|
|
1780
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1781
1781
|
"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",
|
|
1782
1782
|
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
1783
1783
|
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
@@ -1789,89 +1789,89 @@ function Calendar({
|
|
|
1789
1789
|
...formatters
|
|
1790
1790
|
},
|
|
1791
1791
|
classNames: {
|
|
1792
|
-
root:
|
|
1793
|
-
months:
|
|
1792
|
+
root: _chunkTSEU4KZ2js.cn.call(void 0, "w-fit", defaultClassNames.root),
|
|
1793
|
+
months: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1794
1794
|
"flex gap-4 flex-col md:flex-row relative",
|
|
1795
1795
|
defaultClassNames.months
|
|
1796
1796
|
),
|
|
1797
|
-
month:
|
|
1798
|
-
nav:
|
|
1797
|
+
month: _chunkTSEU4KZ2js.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
|
|
1798
|
+
nav: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1799
1799
|
"flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
|
|
1800
1800
|
defaultClassNames.nav
|
|
1801
1801
|
),
|
|
1802
|
-
button_previous:
|
|
1802
|
+
button_previous: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1803
1803
|
buttonVariants({ variant: buttonVariant }),
|
|
1804
1804
|
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
1805
1805
|
defaultClassNames.button_previous
|
|
1806
1806
|
),
|
|
1807
|
-
button_next:
|
|
1807
|
+
button_next: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1808
1808
|
buttonVariants({ variant: buttonVariant }),
|
|
1809
1809
|
"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
|
|
1810
1810
|
defaultClassNames.button_next
|
|
1811
1811
|
),
|
|
1812
|
-
month_caption:
|
|
1812
|
+
month_caption: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1813
1813
|
"flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
|
|
1814
1814
|
defaultClassNames.month_caption
|
|
1815
1815
|
),
|
|
1816
|
-
dropdowns:
|
|
1816
|
+
dropdowns: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1817
1817
|
"w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
|
|
1818
1818
|
defaultClassNames.dropdowns
|
|
1819
1819
|
),
|
|
1820
|
-
dropdown_root:
|
|
1820
|
+
dropdown_root: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1821
1821
|
"relative cn-calendar-dropdown-root rounded-(--cell-radius)",
|
|
1822
1822
|
defaultClassNames.dropdown_root
|
|
1823
1823
|
),
|
|
1824
|
-
dropdown:
|
|
1824
|
+
dropdown: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1825
1825
|
"absolute bg-popover inset-0 opacity-0",
|
|
1826
1826
|
defaultClassNames.dropdown
|
|
1827
1827
|
),
|
|
1828
|
-
caption_label:
|
|
1828
|
+
caption_label: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1829
1829
|
"select-none font-medium",
|
|
1830
1830
|
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",
|
|
1831
1831
|
defaultClassNames.caption_label
|
|
1832
1832
|
),
|
|
1833
1833
|
table: "w-full border-collapse",
|
|
1834
|
-
weekdays:
|
|
1835
|
-
weekday:
|
|
1834
|
+
weekdays: _chunkTSEU4KZ2js.cn.call(void 0, "flex", defaultClassNames.weekdays),
|
|
1835
|
+
weekday: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1836
1836
|
"text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
|
|
1837
1837
|
defaultClassNames.weekday
|
|
1838
1838
|
),
|
|
1839
|
-
week:
|
|
1840
|
-
week_number_header:
|
|
1839
|
+
week: _chunkTSEU4KZ2js.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
|
|
1840
|
+
week_number_header: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1841
1841
|
"select-none w-(--cell-size)",
|
|
1842
1842
|
defaultClassNames.week_number_header
|
|
1843
1843
|
),
|
|
1844
|
-
week_number:
|
|
1844
|
+
week_number: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1845
1845
|
"text-[0.8rem] select-none text-muted-foreground",
|
|
1846
1846
|
defaultClassNames.week_number
|
|
1847
1847
|
),
|
|
1848
|
-
day:
|
|
1848
|
+
day: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1849
1849
|
"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",
|
|
1850
1850
|
props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
|
|
1851
1851
|
defaultClassNames.day
|
|
1852
1852
|
),
|
|
1853
|
-
range_start:
|
|
1853
|
+
range_start: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1854
1854
|
"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",
|
|
1855
1855
|
defaultClassNames.range_start
|
|
1856
1856
|
),
|
|
1857
|
-
range_middle:
|
|
1858
|
-
range_end:
|
|
1857
|
+
range_middle: _chunkTSEU4KZ2js.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
|
|
1858
|
+
range_end: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1859
1859
|
"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",
|
|
1860
1860
|
defaultClassNames.range_end
|
|
1861
1861
|
),
|
|
1862
|
-
today:
|
|
1862
|
+
today: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1863
1863
|
"bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
|
|
1864
1864
|
defaultClassNames.today
|
|
1865
1865
|
),
|
|
1866
|
-
outside:
|
|
1866
|
+
outside: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1867
1867
|
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
1868
1868
|
defaultClassNames.outside
|
|
1869
1869
|
),
|
|
1870
|
-
disabled:
|
|
1870
|
+
disabled: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1871
1871
|
"text-muted-foreground opacity-50",
|
|
1872
1872
|
defaultClassNames.disabled
|
|
1873
1873
|
),
|
|
1874
|
-
hidden:
|
|
1874
|
+
hidden: _chunkTSEU4KZ2js.cn.call(void 0, "invisible", defaultClassNames.hidden),
|
|
1875
1875
|
...classNames
|
|
1876
1876
|
},
|
|
1877
1877
|
components: {
|
|
@@ -1881,19 +1881,19 @@ function Calendar({
|
|
|
1881
1881
|
{
|
|
1882
1882
|
"data-slot": "calendar",
|
|
1883
1883
|
ref: rootRef,
|
|
1884
|
-
className:
|
|
1884
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, className2),
|
|
1885
1885
|
...props2
|
|
1886
1886
|
}
|
|
1887
1887
|
);
|
|
1888
1888
|
}, "Root"),
|
|
1889
1889
|
Chevron: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className: className2, orientation, ...props2 }) => {
|
|
1890
1890
|
if (orientation === "left") {
|
|
1891
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className:
|
|
1891
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunkTSEU4KZ2js.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1892
1892
|
}
|
|
1893
1893
|
if (orientation === "right") {
|
|
1894
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className:
|
|
1894
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunkTSEU4KZ2js.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1895
1895
|
}
|
|
1896
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className:
|
|
1896
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunkTSEU4KZ2js.cn.call(void 0, "size-4", className2), ...props2 });
|
|
1897
1897
|
}, "Chevron"),
|
|
1898
1898
|
DayButton: CalendarDayButton,
|
|
1899
1899
|
WeekNumber: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ children, ...props2 }) => {
|
|
@@ -1927,7 +1927,7 @@ function CalendarDayButton({
|
|
|
1927
1927
|
"data-range-start": modifiers.range_start,
|
|
1928
1928
|
"data-range-end": modifiers.range_end,
|
|
1929
1929
|
"data-range-middle": modifiers.range_middle,
|
|
1930
|
-
className:
|
|
1930
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1931
1931
|
"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",
|
|
1932
1932
|
defaultClassNames.day,
|
|
1933
1933
|
className
|
|
@@ -1950,7 +1950,7 @@ function Card({
|
|
|
1950
1950
|
{
|
|
1951
1951
|
"data-slot": "card",
|
|
1952
1952
|
"data-size": size,
|
|
1953
|
-
className:
|
|
1953
|
+
className: _chunkTSEU4KZ2js.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),
|
|
1954
1954
|
...props
|
|
1955
1955
|
}
|
|
1956
1956
|
);
|
|
@@ -1961,7 +1961,7 @@ function CardHeader({ className, ...props }) {
|
|
|
1961
1961
|
"div",
|
|
1962
1962
|
{
|
|
1963
1963
|
"data-slot": "card-header",
|
|
1964
|
-
className:
|
|
1964
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
1965
1965
|
"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]",
|
|
1966
1966
|
className
|
|
1967
1967
|
),
|
|
@@ -1975,7 +1975,7 @@ function CardTitle({ className, ...props }) {
|
|
|
1975
1975
|
"div",
|
|
1976
1976
|
{
|
|
1977
1977
|
"data-slot": "card-title",
|
|
1978
|
-
className:
|
|
1978
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-sm font-medium", className),
|
|
1979
1979
|
...props
|
|
1980
1980
|
}
|
|
1981
1981
|
);
|
|
@@ -1986,7 +1986,7 @@ function CardDescription({ className, ...props }) {
|
|
|
1986
1986
|
"div",
|
|
1987
1987
|
{
|
|
1988
1988
|
"data-slot": "card-description",
|
|
1989
|
-
className:
|
|
1989
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
1990
1990
|
...props
|
|
1991
1991
|
}
|
|
1992
1992
|
);
|
|
@@ -1997,7 +1997,7 @@ function CardAction({ className, ...props }) {
|
|
|
1997
1997
|
"div",
|
|
1998
1998
|
{
|
|
1999
1999
|
"data-slot": "card-action",
|
|
2000
|
-
className:
|
|
2000
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2001
2001
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
2002
2002
|
className
|
|
2003
2003
|
),
|
|
@@ -2011,7 +2011,7 @@ function CardContent({ className, ...props }) {
|
|
|
2011
2011
|
"div",
|
|
2012
2012
|
{
|
|
2013
2013
|
"data-slot": "card-content",
|
|
2014
|
-
className:
|
|
2014
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
|
|
2015
2015
|
...props
|
|
2016
2016
|
}
|
|
2017
2017
|
);
|
|
@@ -2022,7 +2022,7 @@ function CardFooter({ className, ...props }) {
|
|
|
2022
2022
|
"div",
|
|
2023
2023
|
{
|
|
2024
2024
|
"data-slot": "card-footer",
|
|
2025
|
-
className:
|
|
2025
|
+
className: _chunkTSEU4KZ2js.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),
|
|
2026
2026
|
...props
|
|
2027
2027
|
}
|
|
2028
2028
|
);
|
|
@@ -2114,7 +2114,7 @@ function Carousel({
|
|
|
2114
2114
|
"div",
|
|
2115
2115
|
{
|
|
2116
2116
|
onKeyDownCapture: handleKeyDown,
|
|
2117
|
-
className:
|
|
2117
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "relative", className),
|
|
2118
2118
|
role: "region",
|
|
2119
2119
|
"aria-roledescription": "carousel",
|
|
2120
2120
|
"data-slot": "carousel",
|
|
@@ -2137,7 +2137,7 @@ function CarouselContent({ className, ...props }) {
|
|
|
2137
2137
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2138
2138
|
"div",
|
|
2139
2139
|
{
|
|
2140
|
-
className:
|
|
2140
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2141
2141
|
"flex",
|
|
2142
2142
|
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
2143
2143
|
className
|
|
@@ -2157,7 +2157,7 @@ function CarouselItem({ className, ...props }) {
|
|
|
2157
2157
|
role: "group",
|
|
2158
2158
|
"aria-roledescription": "slide",
|
|
2159
2159
|
"data-slot": "carousel-item",
|
|
2160
|
-
className:
|
|
2160
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2161
2161
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
2162
2162
|
orientation === "horizontal" ? "pl-4" : "pt-4",
|
|
2163
2163
|
className
|
|
@@ -2180,7 +2180,7 @@ function CarouselPrevious({
|
|
|
2180
2180
|
"data-slot": "carousel-previous",
|
|
2181
2181
|
variant,
|
|
2182
2182
|
size,
|
|
2183
|
-
className:
|
|
2183
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2184
2184
|
"rounded-full absolute touch-manipulation",
|
|
2185
2185
|
orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
2186
2186
|
className
|
|
@@ -2212,7 +2212,7 @@ function CarouselNext({
|
|
|
2212
2212
|
"data-slot": "carousel-next",
|
|
2213
2213
|
variant,
|
|
2214
2214
|
size,
|
|
2215
|
-
className:
|
|
2215
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2216
2216
|
"rounded-full absolute touch-manipulation",
|
|
2217
2217
|
orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
2218
2218
|
className
|
|
@@ -2260,7 +2260,7 @@ function ChartContainer({
|
|
|
2260
2260
|
{
|
|
2261
2261
|
"data-slot": "chart",
|
|
2262
2262
|
"data-chart": chartId,
|
|
2263
|
-
className:
|
|
2263
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2264
2264
|
"[&_.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",
|
|
2265
2265
|
className
|
|
2266
2266
|
),
|
|
@@ -2324,12 +2324,12 @@ function ChartTooltipContent({
|
|
|
2324
2324
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
2325
2325
|
const value = !labelKey && typeof label === "string" ? _optionalChain([config, 'access', _58 => _58[label], 'optionalAccess', _59 => _59.label]) || label : _optionalChain([itemConfig, 'optionalAccess', _60 => _60.label]);
|
|
2326
2326
|
if (labelFormatter) {
|
|
2327
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2327
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
2328
2328
|
}
|
|
2329
2329
|
if (!value) {
|
|
2330
2330
|
return null;
|
|
2331
2331
|
}
|
|
2332
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
2332
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, "font-medium", labelClassName), children: value });
|
|
2333
2333
|
}, [
|
|
2334
2334
|
label,
|
|
2335
2335
|
labelFormatter,
|
|
@@ -2346,7 +2346,7 @@ function ChartTooltipContent({
|
|
|
2346
2346
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2347
2347
|
"div",
|
|
2348
2348
|
{
|
|
2349
|
-
className:
|
|
2349
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2350
2350
|
"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",
|
|
2351
2351
|
className
|
|
2352
2352
|
),
|
|
@@ -2359,7 +2359,7 @@ function ChartTooltipContent({
|
|
|
2359
2359
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2360
2360
|
"div",
|
|
2361
2361
|
{
|
|
2362
|
-
className:
|
|
2362
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2363
2363
|
"[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
|
|
2364
2364
|
indicator === "dot" && "items-center"
|
|
2365
2365
|
),
|
|
@@ -2367,7 +2367,7 @@ function ChartTooltipContent({
|
|
|
2367
2367
|
_optionalChain([itemConfig, 'optionalAccess', _65 => _65.icon]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2368
2368
|
"div",
|
|
2369
2369
|
{
|
|
2370
|
-
className:
|
|
2370
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2371
2371
|
"shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
|
|
2372
2372
|
{
|
|
2373
2373
|
"h-2.5 w-2.5": indicator === "dot",
|
|
@@ -2385,7 +2385,7 @@ function ChartTooltipContent({
|
|
|
2385
2385
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2386
2386
|
"div",
|
|
2387
2387
|
{
|
|
2388
|
-
className:
|
|
2388
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2389
2389
|
"flex flex-1 justify-between leading-none",
|
|
2390
2390
|
nestLabel ? "items-end" : "items-center"
|
|
2391
2391
|
),
|
|
@@ -2423,7 +2423,7 @@ function ChartLegendContent({
|
|
|
2423
2423
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2424
2424
|
"div",
|
|
2425
2425
|
{
|
|
2426
|
-
className:
|
|
2426
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2427
2427
|
"flex items-center justify-center gap-4",
|
|
2428
2428
|
verticalAlign === "top" ? "pb-3" : "pt-3",
|
|
2429
2429
|
className
|
|
@@ -2434,7 +2434,7 @@ function ChartLegendContent({
|
|
|
2434
2434
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2435
2435
|
"div",
|
|
2436
2436
|
{
|
|
2437
|
-
className:
|
|
2437
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2438
2438
|
"[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
|
|
2439
2439
|
),
|
|
2440
2440
|
children: [
|
|
@@ -2481,7 +2481,7 @@ function Checkbox({ className, ...props }) {
|
|
|
2481
2481
|
_checkbox.Checkbox.Root,
|
|
2482
2482
|
{
|
|
2483
2483
|
"data-slot": "checkbox",
|
|
2484
|
-
className:
|
|
2484
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2485
2485
|
"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",
|
|
2486
2486
|
className
|
|
2487
2487
|
),
|
|
@@ -2549,7 +2549,7 @@ function DialogOverlay({
|
|
|
2549
2549
|
_dialog.Dialog.Backdrop,
|
|
2550
2550
|
{
|
|
2551
2551
|
"data-slot": "dialog-overlay",
|
|
2552
|
-
className:
|
|
2552
|
+
className: _chunkTSEU4KZ2js.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),
|
|
2553
2553
|
...props
|
|
2554
2554
|
}
|
|
2555
2555
|
);
|
|
@@ -2567,7 +2567,7 @@ function DialogContent({
|
|
|
2567
2567
|
_dialog.Dialog.Popup,
|
|
2568
2568
|
{
|
|
2569
2569
|
"data-slot": "dialog-content",
|
|
2570
|
-
className:
|
|
2570
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2571
2571
|
"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",
|
|
2572
2572
|
className
|
|
2573
2573
|
),
|
|
@@ -2606,7 +2606,7 @@ function DialogHeader({ className, ...props }) {
|
|
|
2606
2606
|
"div",
|
|
2607
2607
|
{
|
|
2608
2608
|
"data-slot": "dialog-header",
|
|
2609
|
-
className:
|
|
2609
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-1 flex flex-col", className),
|
|
2610
2610
|
...props
|
|
2611
2611
|
}
|
|
2612
2612
|
);
|
|
@@ -2622,7 +2622,7 @@ function DialogFooter({
|
|
|
2622
2622
|
"div",
|
|
2623
2623
|
{
|
|
2624
2624
|
"data-slot": "dialog-footer",
|
|
2625
|
-
className:
|
|
2625
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2626
2626
|
"gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
2627
2627
|
className
|
|
2628
2628
|
),
|
|
@@ -2640,7 +2640,7 @@ function DialogTitle({ className, ...props }) {
|
|
|
2640
2640
|
_dialog.Dialog.Title,
|
|
2641
2641
|
{
|
|
2642
2642
|
"data-slot": "dialog-title",
|
|
2643
|
-
className:
|
|
2643
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-sm font-medium", className),
|
|
2644
2644
|
...props
|
|
2645
2645
|
}
|
|
2646
2646
|
);
|
|
@@ -2654,7 +2654,7 @@ function DialogDescription({
|
|
|
2654
2654
|
_dialog.Dialog.Description,
|
|
2655
2655
|
{
|
|
2656
2656
|
"data-slot": "dialog-description",
|
|
2657
|
-
className:
|
|
2657
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
|
|
2658
2658
|
...props
|
|
2659
2659
|
}
|
|
2660
2660
|
);
|
|
@@ -2673,7 +2673,7 @@ function Input({ className, type, ...props }) {
|
|
|
2673
2673
|
{
|
|
2674
2674
|
type,
|
|
2675
2675
|
"data-slot": "input",
|
|
2676
|
-
className:
|
|
2676
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2677
2677
|
"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",
|
|
2678
2678
|
className
|
|
2679
2679
|
),
|
|
@@ -2690,7 +2690,7 @@ function Textarea({ className, ...props }) {
|
|
|
2690
2690
|
"textarea",
|
|
2691
2691
|
{
|
|
2692
2692
|
"data-slot": "textarea",
|
|
2693
|
-
className:
|
|
2693
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2694
2694
|
"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",
|
|
2695
2695
|
className
|
|
2696
2696
|
),
|
|
@@ -2708,7 +2708,7 @@ function InputGroup({ className, ...props }) {
|
|
|
2708
2708
|
{
|
|
2709
2709
|
"data-slot": "input-group",
|
|
2710
2710
|
role: "group",
|
|
2711
|
-
className:
|
|
2711
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2712
2712
|
"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",
|
|
2713
2713
|
className
|
|
2714
2714
|
),
|
|
@@ -2744,7 +2744,7 @@ function InputGroupAddon({
|
|
|
2744
2744
|
role: "group",
|
|
2745
2745
|
"data-slot": "input-group-addon",
|
|
2746
2746
|
"data-align": align,
|
|
2747
|
-
className:
|
|
2747
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, inputGroupAddonVariants({ align }), className),
|
|
2748
2748
|
onClick: (e) => {
|
|
2749
2749
|
if (e.target.closest("button")) {
|
|
2750
2750
|
return;
|
|
@@ -2785,7 +2785,7 @@ function InputGroupButton({
|
|
|
2785
2785
|
type,
|
|
2786
2786
|
"data-size": size,
|
|
2787
2787
|
variant,
|
|
2788
|
-
className:
|
|
2788
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, inputGroupButtonVariants({ size }), className),
|
|
2789
2789
|
...props
|
|
2790
2790
|
}
|
|
2791
2791
|
);
|
|
@@ -2795,7 +2795,7 @@ function InputGroupText({ className, ...props }) {
|
|
|
2795
2795
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2796
2796
|
"span",
|
|
2797
2797
|
{
|
|
2798
|
-
className:
|
|
2798
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2799
2799
|
"text-muted-foreground gap-2 text-xs/relaxed [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",
|
|
2800
2800
|
className
|
|
2801
2801
|
),
|
|
@@ -2812,7 +2812,7 @@ function InputGroupInput({
|
|
|
2812
2812
|
Input,
|
|
2813
2813
|
{
|
|
2814
2814
|
"data-slot": "input-group-control",
|
|
2815
|
-
className:
|
|
2815
|
+
className: _chunkTSEU4KZ2js.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),
|
|
2816
2816
|
...props
|
|
2817
2817
|
}
|
|
2818
2818
|
);
|
|
@@ -2826,7 +2826,7 @@ function InputGroupTextarea({
|
|
|
2826
2826
|
Textarea,
|
|
2827
2827
|
{
|
|
2828
2828
|
"data-slot": "input-group-control",
|
|
2829
|
-
className:
|
|
2829
|
+
className: _chunkTSEU4KZ2js.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),
|
|
2830
2830
|
...props
|
|
2831
2831
|
}
|
|
2832
2832
|
);
|
|
@@ -2844,7 +2844,7 @@ function Command({
|
|
|
2844
2844
|
_cmdk.Command,
|
|
2845
2845
|
{
|
|
2846
2846
|
"data-slot": "command",
|
|
2847
|
-
className:
|
|
2847
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2848
2848
|
"bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden",
|
|
2849
2849
|
className
|
|
2850
2850
|
),
|
|
@@ -2869,7 +2869,7 @@ function CommandDialog({
|
|
|
2869
2869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2870
2870
|
DialogContent,
|
|
2871
2871
|
{
|
|
2872
|
-
className:
|
|
2872
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
|
|
2873
2873
|
showCloseButton,
|
|
2874
2874
|
children
|
|
2875
2875
|
}
|
|
@@ -2886,7 +2886,7 @@ function CommandInput({
|
|
|
2886
2886
|
_cmdk.Command.Input,
|
|
2887
2887
|
{
|
|
2888
2888
|
"data-slot": "command-input",
|
|
2889
|
-
className:
|
|
2889
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2890
2890
|
"w-full text-xs/relaxed outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
2891
2891
|
className
|
|
2892
2892
|
),
|
|
@@ -2905,7 +2905,7 @@ function CommandList({
|
|
|
2905
2905
|
_cmdk.Command.List,
|
|
2906
2906
|
{
|
|
2907
2907
|
"data-slot": "command-list",
|
|
2908
|
-
className:
|
|
2908
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2909
2909
|
"no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",
|
|
2910
2910
|
className
|
|
2911
2911
|
),
|
|
@@ -2922,7 +2922,7 @@ function CommandEmpty({
|
|
|
2922
2922
|
_cmdk.Command.Empty,
|
|
2923
2923
|
{
|
|
2924
2924
|
"data-slot": "command-empty",
|
|
2925
|
-
className:
|
|
2925
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
|
|
2926
2926
|
...props
|
|
2927
2927
|
}
|
|
2928
2928
|
);
|
|
@@ -2936,7 +2936,7 @@ function CommandGroup({
|
|
|
2936
2936
|
_cmdk.Command.Group,
|
|
2937
2937
|
{
|
|
2938
2938
|
"data-slot": "command-group",
|
|
2939
|
-
className:
|
|
2939
|
+
className: _chunkTSEU4KZ2js.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),
|
|
2940
2940
|
...props
|
|
2941
2941
|
}
|
|
2942
2942
|
);
|
|
@@ -2950,7 +2950,7 @@ function CommandSeparator({
|
|
|
2950
2950
|
_cmdk.Command.Separator,
|
|
2951
2951
|
{
|
|
2952
2952
|
"data-slot": "command-separator",
|
|
2953
|
-
className:
|
|
2953
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
2954
2954
|
...props
|
|
2955
2955
|
}
|
|
2956
2956
|
);
|
|
@@ -2965,7 +2965,7 @@ function CommandItem({
|
|
|
2965
2965
|
_cmdk.Command.Item,
|
|
2966
2966
|
{
|
|
2967
2967
|
"data-slot": "command-item",
|
|
2968
|
-
className:
|
|
2968
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
2969
2969
|
"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",
|
|
2970
2970
|
className
|
|
2971
2971
|
),
|
|
@@ -2986,7 +2986,7 @@ function CommandShortcut({
|
|
|
2986
2986
|
"span",
|
|
2987
2987
|
{
|
|
2988
2988
|
"data-slot": "command-shortcut",
|
|
2989
|
-
className:
|
|
2989
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
2990
2990
|
...props
|
|
2991
2991
|
}
|
|
2992
2992
|
);
|
|
@@ -3013,7 +3013,7 @@ function ContextMenuTrigger({
|
|
|
3013
3013
|
_contextmenu.ContextMenu.Trigger,
|
|
3014
3014
|
{
|
|
3015
3015
|
"data-slot": "context-menu-trigger",
|
|
3016
|
-
className:
|
|
3016
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "select-none", className),
|
|
3017
3017
|
...props
|
|
3018
3018
|
}
|
|
3019
3019
|
);
|
|
@@ -3039,7 +3039,7 @@ function ContextMenuContent({
|
|
|
3039
3039
|
_contextmenu.ContextMenu.Popup,
|
|
3040
3040
|
{
|
|
3041
3041
|
"data-slot": "context-menu-content",
|
|
3042
|
-
className:
|
|
3042
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3043
3043
|
...props
|
|
3044
3044
|
}
|
|
3045
3045
|
)
|
|
@@ -3061,7 +3061,7 @@ function ContextMenuLabel({
|
|
|
3061
3061
|
{
|
|
3062
3062
|
"data-slot": "context-menu-label",
|
|
3063
3063
|
"data-inset": inset,
|
|
3064
|
-
className:
|
|
3064
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
|
|
3065
3065
|
...props
|
|
3066
3066
|
}
|
|
3067
3067
|
);
|
|
@@ -3079,7 +3079,7 @@ function ContextMenuItem({
|
|
|
3079
3079
|
"data-slot": "context-menu-item",
|
|
3080
3080
|
"data-inset": inset,
|
|
3081
3081
|
"data-variant": variant,
|
|
3082
|
-
className:
|
|
3082
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3083
3083
|
"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",
|
|
3084
3084
|
className
|
|
3085
3085
|
),
|
|
@@ -3103,7 +3103,7 @@ function ContextMenuSubTrigger({
|
|
|
3103
3103
|
{
|
|
3104
3104
|
"data-slot": "context-menu-sub-trigger",
|
|
3105
3105
|
"data-inset": inset,
|
|
3106
|
-
className:
|
|
3106
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3107
3107
|
"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",
|
|
3108
3108
|
className
|
|
3109
3109
|
),
|
|
@@ -3140,7 +3140,7 @@ function ContextMenuCheckboxItem({
|
|
|
3140
3140
|
_contextmenu.ContextMenu.CheckboxItem,
|
|
3141
3141
|
{
|
|
3142
3142
|
"data-slot": "context-menu-checkbox-item",
|
|
3143
|
-
className:
|
|
3143
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3144
3144
|
"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",
|
|
3145
3145
|
className
|
|
3146
3146
|
),
|
|
@@ -3178,7 +3178,7 @@ function ContextMenuRadioItem({
|
|
|
3178
3178
|
_contextmenu.ContextMenu.RadioItem,
|
|
3179
3179
|
{
|
|
3180
3180
|
"data-slot": "context-menu-radio-item",
|
|
3181
|
-
className:
|
|
3181
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3182
3182
|
"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",
|
|
3183
3183
|
className
|
|
3184
3184
|
),
|
|
@@ -3202,7 +3202,7 @@ function ContextMenuSeparator({
|
|
|
3202
3202
|
_contextmenu.ContextMenu.Separator,
|
|
3203
3203
|
{
|
|
3204
3204
|
"data-slot": "context-menu-separator",
|
|
3205
|
-
className:
|
|
3205
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
3206
3206
|
...props
|
|
3207
3207
|
}
|
|
3208
3208
|
);
|
|
@@ -3216,7 +3216,7 @@ function ContextMenuShortcut({
|
|
|
3216
3216
|
"span",
|
|
3217
3217
|
{
|
|
3218
3218
|
"data-slot": "context-menu-shortcut",
|
|
3219
|
-
className:
|
|
3219
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
3220
3220
|
...props
|
|
3221
3221
|
}
|
|
3222
3222
|
);
|
|
@@ -3258,7 +3258,7 @@ function DrawerOverlay({
|
|
|
3258
3258
|
_vaul.Drawer.Overlay,
|
|
3259
3259
|
{
|
|
3260
3260
|
"data-slot": "drawer-overlay",
|
|
3261
|
-
className:
|
|
3261
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3262
3262
|
...props
|
|
3263
3263
|
}
|
|
3264
3264
|
);
|
|
@@ -3275,7 +3275,7 @@ function DrawerContent({
|
|
|
3275
3275
|
_vaul.Drawer.Content,
|
|
3276
3276
|
{
|
|
3277
3277
|
"data-slot": "drawer-content",
|
|
3278
|
-
className:
|
|
3278
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3279
3279
|
"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",
|
|
3280
3280
|
className
|
|
3281
3281
|
),
|
|
@@ -3294,7 +3294,7 @@ function DrawerHeader({ className, ...props }) {
|
|
|
3294
3294
|
"div",
|
|
3295
3295
|
{
|
|
3296
3296
|
"data-slot": "drawer-header",
|
|
3297
|
-
className:
|
|
3297
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3298
3298
|
...props
|
|
3299
3299
|
}
|
|
3300
3300
|
);
|
|
@@ -3305,7 +3305,7 @@ function DrawerFooter({ className, ...props }) {
|
|
|
3305
3305
|
"div",
|
|
3306
3306
|
{
|
|
3307
3307
|
"data-slot": "drawer-footer",
|
|
3308
|
-
className:
|
|
3308
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
|
|
3309
3309
|
...props
|
|
3310
3310
|
}
|
|
3311
3311
|
);
|
|
@@ -3319,7 +3319,7 @@ function DrawerTitle({
|
|
|
3319
3319
|
_vaul.Drawer.Title,
|
|
3320
3320
|
{
|
|
3321
3321
|
"data-slot": "drawer-title",
|
|
3322
|
-
className:
|
|
3322
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-foreground text-sm font-medium", className),
|
|
3323
3323
|
...props
|
|
3324
3324
|
}
|
|
3325
3325
|
);
|
|
@@ -3333,7 +3333,7 @@ function DrawerDescription({
|
|
|
3333
3333
|
_vaul.Drawer.Description,
|
|
3334
3334
|
{
|
|
3335
3335
|
"data-slot": "drawer-description",
|
|
3336
|
-
className:
|
|
3336
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
3337
3337
|
...props
|
|
3338
3338
|
}
|
|
3339
3339
|
);
|
|
@@ -3376,7 +3376,7 @@ function DropdownMenuContent({
|
|
|
3376
3376
|
_menu.Menu.Popup,
|
|
3377
3377
|
{
|
|
3378
3378
|
"data-slot": "dropdown-menu-content",
|
|
3379
|
-
className:
|
|
3379
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3380
3380
|
...props
|
|
3381
3381
|
}
|
|
3382
3382
|
)
|
|
@@ -3398,7 +3398,7 @@ function DropdownMenuLabel({
|
|
|
3398
3398
|
{
|
|
3399
3399
|
"data-slot": "dropdown-menu-label",
|
|
3400
3400
|
"data-inset": inset,
|
|
3401
|
-
className:
|
|
3401
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
|
|
3402
3402
|
...props
|
|
3403
3403
|
}
|
|
3404
3404
|
);
|
|
@@ -3416,7 +3416,7 @@ function DropdownMenuItem({
|
|
|
3416
3416
|
"data-slot": "dropdown-menu-item",
|
|
3417
3417
|
"data-inset": inset,
|
|
3418
3418
|
"data-variant": variant,
|
|
3419
|
-
className:
|
|
3419
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3420
3420
|
"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",
|
|
3421
3421
|
className
|
|
3422
3422
|
),
|
|
@@ -3440,7 +3440,7 @@ function DropdownMenuSubTrigger({
|
|
|
3440
3440
|
{
|
|
3441
3441
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
3442
3442
|
"data-inset": inset,
|
|
3443
|
-
className:
|
|
3443
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3444
3444
|
"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",
|
|
3445
3445
|
className
|
|
3446
3446
|
),
|
|
@@ -3465,7 +3465,7 @@ function DropdownMenuSubContent({
|
|
|
3465
3465
|
DropdownMenuContent,
|
|
3466
3466
|
{
|
|
3467
3467
|
"data-slot": "dropdown-menu-sub-content",
|
|
3468
|
-
className:
|
|
3468
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3469
3469
|
align,
|
|
3470
3470
|
alignOffset,
|
|
3471
3471
|
side,
|
|
@@ -3485,7 +3485,7 @@ function DropdownMenuCheckboxItem({
|
|
|
3485
3485
|
_menu.Menu.CheckboxItem,
|
|
3486
3486
|
{
|
|
3487
3487
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
3488
|
-
className:
|
|
3488
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3489
3489
|
"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",
|
|
3490
3490
|
className
|
|
3491
3491
|
),
|
|
@@ -3528,7 +3528,7 @@ function DropdownMenuRadioItem({
|
|
|
3528
3528
|
_menu.Menu.RadioItem,
|
|
3529
3529
|
{
|
|
3530
3530
|
"data-slot": "dropdown-menu-radio-item",
|
|
3531
|
-
className:
|
|
3531
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3532
3532
|
"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",
|
|
3533
3533
|
className
|
|
3534
3534
|
),
|
|
@@ -3559,7 +3559,7 @@ function DropdownMenuSeparator({
|
|
|
3559
3559
|
_menu.Menu.Separator,
|
|
3560
3560
|
{
|
|
3561
3561
|
"data-slot": "dropdown-menu-separator",
|
|
3562
|
-
className:
|
|
3562
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
|
|
3563
3563
|
...props
|
|
3564
3564
|
}
|
|
3565
3565
|
);
|
|
@@ -3573,7 +3573,7 @@ function DropdownMenuShortcut({
|
|
|
3573
3573
|
"span",
|
|
3574
3574
|
{
|
|
3575
3575
|
"data-slot": "dropdown-menu-shortcut",
|
|
3576
|
-
className:
|
|
3576
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
|
|
3577
3577
|
...props
|
|
3578
3578
|
}
|
|
3579
3579
|
);
|
|
@@ -3591,7 +3591,7 @@ function Label({ className, ...props }) {
|
|
|
3591
3591
|
"label",
|
|
3592
3592
|
{
|
|
3593
3593
|
"data-slot": "label",
|
|
3594
|
-
className:
|
|
3594
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3595
3595
|
"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",
|
|
3596
3596
|
className
|
|
3597
3597
|
),
|
|
@@ -3614,7 +3614,7 @@ function Separator({
|
|
|
3614
3614
|
{
|
|
3615
3615
|
"data-slot": "separator",
|
|
3616
3616
|
orientation,
|
|
3617
|
-
className:
|
|
3617
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3618
3618
|
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
|
|
3619
3619
|
className
|
|
3620
3620
|
),
|
|
@@ -3631,7 +3631,7 @@ function FieldSet({ className, ...props }) {
|
|
|
3631
3631
|
"fieldset",
|
|
3632
3632
|
{
|
|
3633
3633
|
"data-slot": "field-set",
|
|
3634
|
-
className:
|
|
3634
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
|
|
3635
3635
|
...props
|
|
3636
3636
|
}
|
|
3637
3637
|
);
|
|
@@ -3647,7 +3647,7 @@ function FieldLegend({
|
|
|
3647
3647
|
{
|
|
3648
3648
|
"data-slot": "field-legend",
|
|
3649
3649
|
"data-variant": variant,
|
|
3650
|
-
className:
|
|
3650
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
|
|
3651
3651
|
...props
|
|
3652
3652
|
}
|
|
3653
3653
|
);
|
|
@@ -3658,7 +3658,7 @@ function FieldGroup({ className, ...props }) {
|
|
|
3658
3658
|
"div",
|
|
3659
3659
|
{
|
|
3660
3660
|
"data-slot": "field-group",
|
|
3661
|
-
className:
|
|
3661
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3662
3662
|
"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",
|
|
3663
3663
|
className
|
|
3664
3664
|
),
|
|
@@ -3690,7 +3690,7 @@ function Field({
|
|
|
3690
3690
|
role: "group",
|
|
3691
3691
|
"data-slot": "field",
|
|
3692
3692
|
"data-orientation": orientation,
|
|
3693
|
-
className:
|
|
3693
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, fieldVariants({ orientation }), className),
|
|
3694
3694
|
...props
|
|
3695
3695
|
}
|
|
3696
3696
|
);
|
|
@@ -3701,7 +3701,7 @@ function FieldContent({ className, ...props }) {
|
|
|
3701
3701
|
"div",
|
|
3702
3702
|
{
|
|
3703
3703
|
"data-slot": "field-content",
|
|
3704
|
-
className:
|
|
3704
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3705
3705
|
"gap-0.5 group/field-content flex flex-1 flex-col leading-snug",
|
|
3706
3706
|
className
|
|
3707
3707
|
),
|
|
@@ -3718,7 +3718,7 @@ function FieldLabel({
|
|
|
3718
3718
|
Label,
|
|
3719
3719
|
{
|
|
3720
3720
|
"data-slot": "field-label",
|
|
3721
|
-
className:
|
|
3721
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3722
3722
|
"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",
|
|
3723
3723
|
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
|
|
3724
3724
|
className
|
|
@@ -3733,7 +3733,7 @@ function FieldTitle({ className, ...props }) {
|
|
|
3733
3733
|
"div",
|
|
3734
3734
|
{
|
|
3735
3735
|
"data-slot": "field-label",
|
|
3736
|
-
className:
|
|
3736
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3737
3737
|
"gap-2 text-xs/relaxed font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",
|
|
3738
3738
|
className
|
|
3739
3739
|
),
|
|
@@ -3747,7 +3747,7 @@ function FieldDescription({ className, ...props }) {
|
|
|
3747
3747
|
"p",
|
|
3748
3748
|
{
|
|
3749
3749
|
"data-slot": "field-description",
|
|
3750
|
-
className:
|
|
3750
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3751
3751
|
"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",
|
|
3752
3752
|
"last:mt-0 nth-last-2:-mt-1",
|
|
3753
3753
|
"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
|
|
@@ -3768,7 +3768,7 @@ function FieldSeparator({
|
|
|
3768
3768
|
{
|
|
3769
3769
|
"data-slot": "field-separator",
|
|
3770
3770
|
"data-content": !!children,
|
|
3771
|
-
className:
|
|
3771
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
|
|
3772
3772
|
...props,
|
|
3773
3773
|
children: [
|
|
3774
3774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, { className: "absolute inset-0 top-1/2" }),
|
|
@@ -3816,7 +3816,7 @@ function FieldError({
|
|
|
3816
3816
|
{
|
|
3817
3817
|
role: "alert",
|
|
3818
3818
|
"data-slot": "field-error",
|
|
3819
|
-
className:
|
|
3819
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
|
|
3820
3820
|
...props,
|
|
3821
3821
|
children: content
|
|
3822
3822
|
}
|
|
@@ -3859,7 +3859,7 @@ function HoverCardContent({
|
|
|
3859
3859
|
_previewcard.PreviewCard.Popup,
|
|
3860
3860
|
{
|
|
3861
3861
|
"data-slot": "hover-card-content",
|
|
3862
|
-
className:
|
|
3862
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3863
3863
|
"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",
|
|
3864
3864
|
className
|
|
3865
3865
|
),
|
|
@@ -3885,12 +3885,12 @@ function InputOTP({
|
|
|
3885
3885
|
_inputotp.OTPInput,
|
|
3886
3886
|
{
|
|
3887
3887
|
"data-slot": "input-otp",
|
|
3888
|
-
containerClassName:
|
|
3888
|
+
containerClassName: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3889
3889
|
"cn-input-otp flex items-center has-disabled:opacity-50",
|
|
3890
3890
|
containerClassName
|
|
3891
3891
|
),
|
|
3892
3892
|
spellCheck: false,
|
|
3893
|
-
className:
|
|
3893
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3894
3894
|
"disabled:cursor-not-allowed",
|
|
3895
3895
|
className
|
|
3896
3896
|
),
|
|
@@ -3904,7 +3904,7 @@ function InputOTPGroup({ className, ...props }) {
|
|
|
3904
3904
|
"div",
|
|
3905
3905
|
{
|
|
3906
3906
|
"data-slot": "input-otp-group",
|
|
3907
|
-
className:
|
|
3907
|
+
className: _chunkTSEU4KZ2js.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),
|
|
3908
3908
|
...props
|
|
3909
3909
|
}
|
|
3910
3910
|
);
|
|
@@ -3922,7 +3922,7 @@ function InputOTPSlot({
|
|
|
3922
3922
|
{
|
|
3923
3923
|
"data-slot": "input-otp-slot",
|
|
3924
3924
|
"data-active": isActive,
|
|
3925
|
-
className:
|
|
3925
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3926
3926
|
"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",
|
|
3927
3927
|
className
|
|
3928
3928
|
),
|
|
@@ -3966,7 +3966,7 @@ function NavigationMenu({
|
|
|
3966
3966
|
_navigationmenu.NavigationMenu.Root,
|
|
3967
3967
|
{
|
|
3968
3968
|
"data-slot": "navigation-menu",
|
|
3969
|
-
className:
|
|
3969
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3970
3970
|
"max-w-max group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
|
|
3971
3971
|
className
|
|
3972
3972
|
),
|
|
@@ -3987,7 +3987,7 @@ function NavigationMenuList({
|
|
|
3987
3987
|
_navigationmenu.NavigationMenu.List,
|
|
3988
3988
|
{
|
|
3989
3989
|
"data-slot": "navigation-menu-list",
|
|
3990
|
-
className:
|
|
3990
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
3991
3991
|
"gap-0 group flex flex-1 list-none items-center justify-center",
|
|
3992
3992
|
className
|
|
3993
3993
|
),
|
|
@@ -4004,7 +4004,7 @@ function NavigationMenuItem({
|
|
|
4004
4004
|
_navigationmenu.NavigationMenu.Item,
|
|
4005
4005
|
{
|
|
4006
4006
|
"data-slot": "navigation-menu-item",
|
|
4007
|
-
className:
|
|
4007
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "relative", className),
|
|
4008
4008
|
...props
|
|
4009
4009
|
}
|
|
4010
4010
|
);
|
|
@@ -4022,7 +4022,7 @@ function NavigationMenuTrigger({
|
|
|
4022
4022
|
_navigationmenu.NavigationMenu.Trigger,
|
|
4023
4023
|
{
|
|
4024
4024
|
"data-slot": "navigation-menu-trigger",
|
|
4025
|
-
className:
|
|
4025
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
|
|
4026
4026
|
...props,
|
|
4027
4027
|
children: [
|
|
4028
4028
|
children,
|
|
@@ -4041,7 +4041,7 @@ function NavigationMenuContent({
|
|
|
4041
4041
|
_navigationmenu.NavigationMenu.Content,
|
|
4042
4042
|
{
|
|
4043
4043
|
"data-slot": "navigation-menu-content",
|
|
4044
|
-
className:
|
|
4044
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4045
4045
|
"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",
|
|
4046
4046
|
className
|
|
4047
4047
|
),
|
|
@@ -4065,7 +4065,7 @@ function NavigationMenuPositioner({
|
|
|
4065
4065
|
sideOffset,
|
|
4066
4066
|
align,
|
|
4067
4067
|
alignOffset,
|
|
4068
|
-
className:
|
|
4068
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4069
4069
|
"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",
|
|
4070
4070
|
className
|
|
4071
4071
|
),
|
|
@@ -4083,7 +4083,7 @@ function NavigationMenuLink({
|
|
|
4083
4083
|
_navigationmenu.NavigationMenu.Link,
|
|
4084
4084
|
{
|
|
4085
4085
|
"data-slot": "navigation-menu-link",
|
|
4086
|
-
className:
|
|
4086
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4087
4087
|
...props
|
|
4088
4088
|
}
|
|
4089
4089
|
);
|
|
@@ -4097,7 +4097,7 @@ function NavigationMenuIndicator({
|
|
|
4097
4097
|
_navigationmenu.NavigationMenu.Icon,
|
|
4098
4098
|
{
|
|
4099
4099
|
"data-slot": "navigation-menu-indicator",
|
|
4100
|
-
className:
|
|
4100
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4101
4101
|
"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",
|
|
4102
4102
|
className
|
|
4103
4103
|
),
|
|
@@ -4139,7 +4139,7 @@ function PopoverContent({
|
|
|
4139
4139
|
_popover.Popover.Popup,
|
|
4140
4140
|
{
|
|
4141
4141
|
"data-slot": "popover-content",
|
|
4142
|
-
className:
|
|
4142
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4143
4143
|
"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",
|
|
4144
4144
|
className
|
|
4145
4145
|
),
|
|
@@ -4155,7 +4155,7 @@ function PopoverHeader({ className, ...props }) {
|
|
|
4155
4155
|
"div",
|
|
4156
4156
|
{
|
|
4157
4157
|
"data-slot": "popover-header",
|
|
4158
|
-
className:
|
|
4158
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
|
|
4159
4159
|
...props
|
|
4160
4160
|
}
|
|
4161
4161
|
);
|
|
@@ -4166,7 +4166,7 @@ function PopoverTitle({ className, ...props }) {
|
|
|
4166
4166
|
_popover.Popover.Title,
|
|
4167
4167
|
{
|
|
4168
4168
|
"data-slot": "popover-title",
|
|
4169
|
-
className:
|
|
4169
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-sm font-medium", className),
|
|
4170
4170
|
...props
|
|
4171
4171
|
}
|
|
4172
4172
|
);
|
|
@@ -4180,7 +4180,7 @@ function PopoverDescription({
|
|
|
4180
4180
|
_popover.Popover.Description,
|
|
4181
4181
|
{
|
|
4182
4182
|
"data-slot": "popover-description",
|
|
4183
|
-
className:
|
|
4183
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground", className),
|
|
4184
4184
|
...props
|
|
4185
4185
|
}
|
|
4186
4186
|
);
|
|
@@ -4201,7 +4201,7 @@ function Progress({
|
|
|
4201
4201
|
{
|
|
4202
4202
|
value,
|
|
4203
4203
|
"data-slot": "progress",
|
|
4204
|
-
className:
|
|
4204
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "flex flex-wrap gap-3", className),
|
|
4205
4205
|
...props,
|
|
4206
4206
|
children: [
|
|
4207
4207
|
children,
|
|
@@ -4215,7 +4215,7 @@ function ProgressTrack({ className, ...props }) {
|
|
|
4215
4215
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4216
4216
|
_progress.Progress.Track,
|
|
4217
4217
|
{
|
|
4218
|
-
className:
|
|
4218
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4219
4219
|
"bg-muted h-1 rounded-md relative flex w-full items-center overflow-x-hidden",
|
|
4220
4220
|
className
|
|
4221
4221
|
),
|
|
@@ -4233,7 +4233,7 @@ function ProgressIndicator({
|
|
|
4233
4233
|
_progress.Progress.Indicator,
|
|
4234
4234
|
{
|
|
4235
4235
|
"data-slot": "progress-indicator",
|
|
4236
|
-
className:
|
|
4236
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-primary h-full transition-all", className),
|
|
4237
4237
|
...props
|
|
4238
4238
|
}
|
|
4239
4239
|
);
|
|
@@ -4243,7 +4243,7 @@ function ProgressLabel({ className, ...props }) {
|
|
|
4243
4243
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4244
4244
|
_progress.Progress.Label,
|
|
4245
4245
|
{
|
|
4246
|
-
className:
|
|
4246
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-xs/relaxed font-medium", className),
|
|
4247
4247
|
"data-slot": "progress-label",
|
|
4248
4248
|
...props
|
|
4249
4249
|
}
|
|
@@ -4254,7 +4254,7 @@ function ProgressValue({ className, ...props }) {
|
|
|
4254
4254
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4255
4255
|
_progress.Progress.Value,
|
|
4256
4256
|
{
|
|
4257
|
-
className:
|
|
4257
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
|
|
4258
4258
|
"data-slot": "progress-value",
|
|
4259
4259
|
...props
|
|
4260
4260
|
}
|
|
@@ -4272,7 +4272,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
4272
4272
|
_radiogroup.RadioGroup,
|
|
4273
4273
|
{
|
|
4274
4274
|
"data-slot": "radio-group",
|
|
4275
|
-
className:
|
|
4275
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "grid gap-3 w-full", className),
|
|
4276
4276
|
...props
|
|
4277
4277
|
}
|
|
4278
4278
|
);
|
|
@@ -4283,7 +4283,7 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
4283
4283
|
_radio.Radio.Root,
|
|
4284
4284
|
{
|
|
4285
4285
|
"data-slot": "radio-group-item",
|
|
4286
|
-
className:
|
|
4286
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4287
4287
|
"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",
|
|
4288
4288
|
className
|
|
4289
4289
|
),
|
|
@@ -4312,7 +4312,7 @@ function ResizablePanelGroup({
|
|
|
4312
4312
|
ResizablePrimitive.PanelGroup,
|
|
4313
4313
|
{
|
|
4314
4314
|
"data-slot": "resizable-panel-group",
|
|
4315
|
-
className:
|
|
4315
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4316
4316
|
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
4317
4317
|
className
|
|
4318
4318
|
),
|
|
@@ -4336,7 +4336,7 @@ function ResizableHandle({
|
|
|
4336
4336
|
ResizablePrimitive.PanelResizeHandle,
|
|
4337
4337
|
{
|
|
4338
4338
|
"data-slot": "resizable-handle",
|
|
4339
|
-
className:
|
|
4339
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4340
4340
|
"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",
|
|
4341
4341
|
className
|
|
4342
4342
|
),
|
|
@@ -4359,7 +4359,7 @@ function ScrollArea({
|
|
|
4359
4359
|
_scrollarea.ScrollArea.Root,
|
|
4360
4360
|
{
|
|
4361
4361
|
"data-slot": "scroll-area",
|
|
4362
|
-
className:
|
|
4362
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "relative", className),
|
|
4363
4363
|
...props,
|
|
4364
4364
|
children: [
|
|
4365
4365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4388,7 +4388,7 @@ function ScrollBar({
|
|
|
4388
4388
|
"data-slot": "scroll-area-scrollbar",
|
|
4389
4389
|
"data-orientation": orientation,
|
|
4390
4390
|
orientation,
|
|
4391
|
-
className:
|
|
4391
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4392
4392
|
"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",
|
|
4393
4393
|
className
|
|
4394
4394
|
),
|
|
@@ -4415,7 +4415,7 @@ function SelectGroup({ className, ...props }) {
|
|
|
4415
4415
|
_select.Select.Group,
|
|
4416
4416
|
{
|
|
4417
4417
|
"data-slot": "select-group",
|
|
4418
|
-
className:
|
|
4418
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "scroll-my-1 p-1", className),
|
|
4419
4419
|
...props
|
|
4420
4420
|
}
|
|
4421
4421
|
);
|
|
@@ -4426,7 +4426,7 @@ function SelectValue({ className, ...props }) {
|
|
|
4426
4426
|
_select.Select.Value,
|
|
4427
4427
|
{
|
|
4428
4428
|
"data-slot": "select-value",
|
|
4429
|
-
className:
|
|
4429
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "flex flex-1 text-left", className),
|
|
4430
4430
|
...props
|
|
4431
4431
|
}
|
|
4432
4432
|
);
|
|
@@ -4443,7 +4443,7 @@ function SelectTrigger({
|
|
|
4443
4443
|
{
|
|
4444
4444
|
"data-slot": "select-trigger",
|
|
4445
4445
|
"data-size": size,
|
|
4446
|
-
className:
|
|
4446
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4447
4447
|
"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",
|
|
4448
4448
|
className
|
|
4449
4449
|
),
|
|
@@ -4484,7 +4484,7 @@ function SelectContent({
|
|
|
4484
4484
|
_select.Select.Popup,
|
|
4485
4485
|
{
|
|
4486
4486
|
"data-slot": "select-content",
|
|
4487
|
-
className:
|
|
4487
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4488
4488
|
...props,
|
|
4489
4489
|
children: [
|
|
4490
4490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
|
|
@@ -4505,7 +4505,7 @@ function SelectLabel({
|
|
|
4505
4505
|
_select.Select.GroupLabel,
|
|
4506
4506
|
{
|
|
4507
4507
|
"data-slot": "select-label",
|
|
4508
|
-
className:
|
|
4508
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
4509
4509
|
...props
|
|
4510
4510
|
}
|
|
4511
4511
|
);
|
|
@@ -4520,7 +4520,7 @@ function SelectItem({
|
|
|
4520
4520
|
_select.Select.Item,
|
|
4521
4521
|
{
|
|
4522
4522
|
"data-slot": "select-item",
|
|
4523
|
-
className:
|
|
4523
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4524
4524
|
"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",
|
|
4525
4525
|
className
|
|
4526
4526
|
),
|
|
@@ -4547,7 +4547,7 @@ function SelectSeparator({
|
|
|
4547
4547
|
_select.Select.Separator,
|
|
4548
4548
|
{
|
|
4549
4549
|
"data-slot": "select-separator",
|
|
4550
|
-
className:
|
|
4550
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
|
|
4551
4551
|
...props
|
|
4552
4552
|
}
|
|
4553
4553
|
);
|
|
@@ -4561,7 +4561,7 @@ function SelectScrollUpButton({
|
|
|
4561
4561
|
_select.Select.ScrollUpArrow,
|
|
4562
4562
|
{
|
|
4563
4563
|
"data-slot": "select-scroll-up-button",
|
|
4564
|
-
className:
|
|
4564
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4565
4565
|
...props,
|
|
4566
4566
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4567
4567
|
_lucidereact.ChevronUpIcon,
|
|
@@ -4579,7 +4579,7 @@ function SelectScrollDownButton({
|
|
|
4579
4579
|
_select.Select.ScrollDownArrow,
|
|
4580
4580
|
{
|
|
4581
4581
|
"data-slot": "select-scroll-down-button",
|
|
4582
|
-
className:
|
|
4582
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4583
4583
|
...props,
|
|
4584
4584
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
4585
|
_lucidereact.ChevronDownIcon,
|
|
@@ -4615,7 +4615,7 @@ function SheetOverlay({ className, ...props }) {
|
|
|
4615
4615
|
_dialog.Dialog.Backdrop,
|
|
4616
4616
|
{
|
|
4617
4617
|
"data-slot": "sheet-overlay",
|
|
4618
|
-
className:
|
|
4618
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4619
4619
|
...props
|
|
4620
4620
|
}
|
|
4621
4621
|
);
|
|
@@ -4635,7 +4635,7 @@ function SheetContent({
|
|
|
4635
4635
|
{
|
|
4636
4636
|
"data-slot": "sheet-content",
|
|
4637
4637
|
"data-side": side,
|
|
4638
|
-
className:
|
|
4638
|
+
className: _chunkTSEU4KZ2js.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),
|
|
4639
4639
|
...props,
|
|
4640
4640
|
children: [
|
|
4641
4641
|
children,
|
|
@@ -4671,7 +4671,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
4671
4671
|
"div",
|
|
4672
4672
|
{
|
|
4673
4673
|
"data-slot": "sheet-header",
|
|
4674
|
-
className:
|
|
4674
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
|
|
4675
4675
|
...props
|
|
4676
4676
|
}
|
|
4677
4677
|
);
|
|
@@ -4682,7 +4682,7 @@ function SheetFooter({ className, ...props }) {
|
|
|
4682
4682
|
"div",
|
|
4683
4683
|
{
|
|
4684
4684
|
"data-slot": "sheet-footer",
|
|
4685
|
-
className:
|
|
4685
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
|
|
4686
4686
|
...props
|
|
4687
4687
|
}
|
|
4688
4688
|
);
|
|
@@ -4693,7 +4693,7 @@ function SheetTitle({ className, ...props }) {
|
|
|
4693
4693
|
_dialog.Dialog.Title,
|
|
4694
4694
|
{
|
|
4695
4695
|
"data-slot": "sheet-title",
|
|
4696
|
-
className:
|
|
4696
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-foreground text-sm font-medium", className),
|
|
4697
4697
|
...props
|
|
4698
4698
|
}
|
|
4699
4699
|
);
|
|
@@ -4707,7 +4707,7 @@ function SheetDescription({
|
|
|
4707
4707
|
_dialog.Dialog.Description,
|
|
4708
4708
|
{
|
|
4709
4709
|
"data-slot": "sheet-description",
|
|
4710
|
-
className:
|
|
4710
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
|
|
4711
4711
|
...props
|
|
4712
4712
|
}
|
|
4713
4713
|
);
|
|
@@ -4727,7 +4727,7 @@ function Skeleton({ className, ...props }) {
|
|
|
4727
4727
|
"div",
|
|
4728
4728
|
{
|
|
4729
4729
|
"data-slot": "skeleton",
|
|
4730
|
-
className:
|
|
4730
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
|
|
4731
4731
|
...props
|
|
4732
4732
|
}
|
|
4733
4733
|
);
|
|
@@ -4780,7 +4780,7 @@ function TooltipContent({
|
|
|
4780
4780
|
_tooltip.Tooltip.Popup,
|
|
4781
4781
|
{
|
|
4782
4782
|
"data-slot": "tooltip-content",
|
|
4783
|
-
className:
|
|
4783
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4784
4784
|
"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)",
|
|
4785
4785
|
className
|
|
4786
4786
|
),
|
|
@@ -4823,7 +4823,7 @@ function SidebarProvider({
|
|
|
4823
4823
|
children,
|
|
4824
4824
|
...props
|
|
4825
4825
|
}) {
|
|
4826
|
-
const isMobile =
|
|
4826
|
+
const isMobile = _chunkTSEU4KZ2js.useIsMobile.call(void 0, );
|
|
4827
4827
|
const [openMobile, setOpenMobile] = React7.useState(false);
|
|
4828
4828
|
const [_open, _setOpen] = React7.useState(defaultOpen);
|
|
4829
4829
|
const open = _nullishCoalesce(openProp, () => ( _open));
|
|
@@ -4874,7 +4874,7 @@ function SidebarProvider({
|
|
|
4874
4874
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
4875
4875
|
...style
|
|
4876
4876
|
},
|
|
4877
|
-
className:
|
|
4877
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4878
4878
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
4879
4879
|
className
|
|
4880
4880
|
),
|
|
@@ -4898,7 +4898,7 @@ function Sidebar({
|
|
|
4898
4898
|
"div",
|
|
4899
4899
|
{
|
|
4900
4900
|
"data-slot": "sidebar",
|
|
4901
|
-
className:
|
|
4901
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4902
4902
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
4903
4903
|
className
|
|
4904
4904
|
),
|
|
@@ -4943,7 +4943,7 @@ function Sidebar({
|
|
|
4943
4943
|
"div",
|
|
4944
4944
|
{
|
|
4945
4945
|
"data-slot": "sidebar-gap",
|
|
4946
|
-
className:
|
|
4946
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4947
4947
|
"transition-[width] duration-200 ease-linear relative w-(--sidebar-width) bg-transparent",
|
|
4948
4948
|
"group-data-[collapsible=offExamples]:w-0",
|
|
4949
4949
|
"group-data-[side=right]:rotate-180",
|
|
@@ -4955,7 +4955,7 @@ function Sidebar({
|
|
|
4955
4955
|
"div",
|
|
4956
4956
|
{
|
|
4957
4957
|
"data-slot": "sidebar-container",
|
|
4958
|
-
className:
|
|
4958
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
4959
4959
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
4960
4960
|
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)]",
|
|
4961
4961
|
// Adjust the padding for floating and inset variants.
|
|
@@ -4992,7 +4992,7 @@ function SidebarTrigger({
|
|
|
4992
4992
|
"data-slot": "sidebar-trigger",
|
|
4993
4993
|
variant: "ghost",
|
|
4994
4994
|
size: "icon-sm",
|
|
4995
|
-
className:
|
|
4995
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, className),
|
|
4996
4996
|
onClick: (event) => {
|
|
4997
4997
|
_optionalChain([onClick, 'optionalCall', _84 => _84(event)]);
|
|
4998
4998
|
toggleSidebar();
|
|
@@ -5020,7 +5020,7 @@ function SidebarRail({ className, ...props }) {
|
|
|
5020
5020
|
tabIndex: -1,
|
|
5021
5021
|
onClick: toggleSidebar,
|
|
5022
5022
|
title: "Toggle Sidebar",
|
|
5023
|
-
className:
|
|
5023
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5024
5024
|
"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",
|
|
5025
5025
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
5026
5026
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -5039,7 +5039,7 @@ function SidebarInset({ className, ...props }) {
|
|
|
5039
5039
|
"main",
|
|
5040
5040
|
{
|
|
5041
5041
|
"data-slot": "sidebar-inset",
|
|
5042
|
-
className:
|
|
5042
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5043
5043
|
"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",
|
|
5044
5044
|
className
|
|
5045
5045
|
),
|
|
@@ -5057,7 +5057,7 @@ function SidebarInput({
|
|
|
5057
5057
|
{
|
|
5058
5058
|
"data-slot": "sidebar-input",
|
|
5059
5059
|
"data-sidebar": "input",
|
|
5060
|
-
className:
|
|
5060
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
|
|
5061
5061
|
...props
|
|
5062
5062
|
}
|
|
5063
5063
|
);
|
|
@@ -5069,7 +5069,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
5069
5069
|
{
|
|
5070
5070
|
"data-slot": "sidebar-header",
|
|
5071
5071
|
"data-sidebar": "header",
|
|
5072
|
-
className:
|
|
5072
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
|
|
5073
5073
|
...props
|
|
5074
5074
|
}
|
|
5075
5075
|
);
|
|
@@ -5081,7 +5081,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
5081
5081
|
{
|
|
5082
5082
|
"data-slot": "sidebar-footer",
|
|
5083
5083
|
"data-sidebar": "footer",
|
|
5084
|
-
className:
|
|
5084
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
|
|
5085
5085
|
...props
|
|
5086
5086
|
}
|
|
5087
5087
|
);
|
|
@@ -5096,7 +5096,7 @@ function SidebarSeparator({
|
|
|
5096
5096
|
{
|
|
5097
5097
|
"data-slot": "sidebar-separator",
|
|
5098
5098
|
"data-sidebar": "separator",
|
|
5099
|
-
className:
|
|
5099
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
|
|
5100
5100
|
...props
|
|
5101
5101
|
}
|
|
5102
5102
|
);
|
|
@@ -5108,7 +5108,7 @@ function SidebarContent({ className, ...props }) {
|
|
|
5108
5108
|
{
|
|
5109
5109
|
"data-slot": "sidebar-content",
|
|
5110
5110
|
"data-sidebar": "content",
|
|
5111
|
-
className:
|
|
5111
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5112
5112
|
"no-scrollbar gap-0 flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
5113
5113
|
className
|
|
5114
5114
|
),
|
|
@@ -5123,7 +5123,7 @@ function SidebarGroup({ className, ...props }) {
|
|
|
5123
5123
|
{
|
|
5124
5124
|
"data-slot": "sidebar-group",
|
|
5125
5125
|
"data-sidebar": "group",
|
|
5126
|
-
className:
|
|
5126
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5127
5127
|
"px-2 py-1 relative flex w-full min-w-0 flex-col",
|
|
5128
5128
|
className
|
|
5129
5129
|
),
|
|
@@ -5141,7 +5141,7 @@ function SidebarGroupLabel({
|
|
|
5141
5141
|
defaultTagName: "div",
|
|
5142
5142
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5143
5143
|
{
|
|
5144
|
-
className:
|
|
5144
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5145
5145
|
"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",
|
|
5146
5146
|
className
|
|
5147
5147
|
)
|
|
@@ -5165,7 +5165,7 @@ function SidebarGroupAction({
|
|
|
5165
5165
|
defaultTagName: "button",
|
|
5166
5166
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5167
5167
|
{
|
|
5168
|
-
className:
|
|
5168
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5169
5169
|
"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",
|
|
5170
5170
|
className
|
|
5171
5171
|
)
|
|
@@ -5189,7 +5189,7 @@ function SidebarGroupContent({
|
|
|
5189
5189
|
{
|
|
5190
5190
|
"data-slot": "sidebar-group-content",
|
|
5191
5191
|
"data-sidebar": "group-content",
|
|
5192
|
-
className:
|
|
5192
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-xs w-full", className),
|
|
5193
5193
|
...props
|
|
5194
5194
|
}
|
|
5195
5195
|
);
|
|
@@ -5201,7 +5201,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
5201
5201
|
{
|
|
5202
5202
|
"data-slot": "sidebar-menu",
|
|
5203
5203
|
"data-sidebar": "menu",
|
|
5204
|
-
className:
|
|
5204
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
|
|
5205
5205
|
...props
|
|
5206
5206
|
}
|
|
5207
5207
|
);
|
|
@@ -5213,7 +5213,7 @@ function SidebarMenuItem({ className, ...props }) {
|
|
|
5213
5213
|
{
|
|
5214
5214
|
"data-slot": "sidebar-menu-item",
|
|
5215
5215
|
"data-sidebar": "menu-item",
|
|
5216
|
-
className:
|
|
5216
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "group/menu-item relative", className),
|
|
5217
5217
|
...props
|
|
5218
5218
|
}
|
|
5219
5219
|
);
|
|
@@ -5253,7 +5253,7 @@ function SidebarMenuButton({
|
|
|
5253
5253
|
defaultTagName: "button",
|
|
5254
5254
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5255
5255
|
{
|
|
5256
|
-
className:
|
|
5256
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
|
|
5257
5257
|
},
|
|
5258
5258
|
props
|
|
5259
5259
|
),
|
|
@@ -5297,7 +5297,7 @@ function SidebarMenuAction({
|
|
|
5297
5297
|
defaultTagName: "button",
|
|
5298
5298
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5299
5299
|
{
|
|
5300
|
-
className:
|
|
5300
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5301
5301
|
"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",
|
|
5302
5302
|
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",
|
|
5303
5303
|
className
|
|
@@ -5322,7 +5322,7 @@ function SidebarMenuBadge({
|
|
|
5322
5322
|
{
|
|
5323
5323
|
"data-slot": "sidebar-menu-badge",
|
|
5324
5324
|
"data-sidebar": "menu-badge",
|
|
5325
|
-
className:
|
|
5325
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5326
5326
|
"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",
|
|
5327
5327
|
className
|
|
5328
5328
|
),
|
|
@@ -5344,7 +5344,7 @@ function SidebarMenuSkeleton({
|
|
|
5344
5344
|
{
|
|
5345
5345
|
"data-slot": "sidebar-menu-skeleton",
|
|
5346
5346
|
"data-sidebar": "menu-skeleton",
|
|
5347
|
-
className:
|
|
5347
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
|
|
5348
5348
|
...props,
|
|
5349
5349
|
children: [
|
|
5350
5350
|
showIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5375,7 +5375,7 @@ function SidebarMenuSub({ className, ...props }) {
|
|
|
5375
5375
|
{
|
|
5376
5376
|
"data-slot": "sidebar-menu-sub",
|
|
5377
5377
|
"data-sidebar": "menu-sub",
|
|
5378
|
-
className:
|
|
5378
|
+
className: _chunkTSEU4KZ2js.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),
|
|
5379
5379
|
...props
|
|
5380
5380
|
}
|
|
5381
5381
|
);
|
|
@@ -5390,7 +5390,7 @@ function SidebarMenuSubItem({
|
|
|
5390
5390
|
{
|
|
5391
5391
|
"data-slot": "sidebar-menu-sub-item",
|
|
5392
5392
|
"data-sidebar": "menu-sub-item",
|
|
5393
|
-
className:
|
|
5393
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "group/menu-sub-item relative", className),
|
|
5394
5394
|
...props
|
|
5395
5395
|
}
|
|
5396
5396
|
);
|
|
@@ -5407,7 +5407,7 @@ function SidebarMenuSubButton({
|
|
|
5407
5407
|
defaultTagName: "a",
|
|
5408
5408
|
props: _mergeprops.mergeProps.call(void 0,
|
|
5409
5409
|
{
|
|
5410
|
-
className:
|
|
5410
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5411
5411
|
"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",
|
|
5412
5412
|
className
|
|
5413
5413
|
)
|
|
@@ -5455,7 +5455,7 @@ function Slider({
|
|
|
5455
5455
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5456
5456
|
_slider.Slider.Control,
|
|
5457
5457
|
{
|
|
5458
|
-
className:
|
|
5458
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5459
5459
|
"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",
|
|
5460
5460
|
className
|
|
5461
5461
|
),
|
|
@@ -5539,7 +5539,7 @@ function Switch({
|
|
|
5539
5539
|
{
|
|
5540
5540
|
"data-slot": "switch",
|
|
5541
5541
|
"data-size": size,
|
|
5542
|
-
className:
|
|
5542
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5543
5543
|
"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",
|
|
5544
5544
|
className
|
|
5545
5545
|
),
|
|
@@ -5548,7 +5548,7 @@ function Switch({
|
|
|
5548
5548
|
_switch.Switch.Thumb,
|
|
5549
5549
|
{
|
|
5550
5550
|
"data-slot": "switch-thumb",
|
|
5551
|
-
className:
|
|
5551
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5552
5552
|
"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",
|
|
5553
5553
|
children && "flex items-center justify-center"
|
|
5554
5554
|
),
|
|
@@ -5567,7 +5567,7 @@ function Table({ className, ...props }) {
|
|
|
5567
5567
|
"table",
|
|
5568
5568
|
{
|
|
5569
5569
|
"data-slot": "table",
|
|
5570
|
-
className:
|
|
5570
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "w-full caption-bottom text-xs", className),
|
|
5571
5571
|
...props
|
|
5572
5572
|
}
|
|
5573
5573
|
) });
|
|
@@ -5578,7 +5578,7 @@ function TableHeader({ className, ...props }) {
|
|
|
5578
5578
|
"thead",
|
|
5579
5579
|
{
|
|
5580
5580
|
"data-slot": "table-header",
|
|
5581
|
-
className:
|
|
5581
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "[&_tr]:border-b", className),
|
|
5582
5582
|
...props
|
|
5583
5583
|
}
|
|
5584
5584
|
);
|
|
@@ -5589,7 +5589,7 @@ function TableBody({ className, ...props }) {
|
|
|
5589
5589
|
"tbody",
|
|
5590
5590
|
{
|
|
5591
5591
|
"data-slot": "table-body",
|
|
5592
|
-
className:
|
|
5592
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "[&_tr:last-child]:border-0", className),
|
|
5593
5593
|
...props
|
|
5594
5594
|
}
|
|
5595
5595
|
);
|
|
@@ -5600,7 +5600,7 @@ function TableFooter({ className, ...props }) {
|
|
|
5600
5600
|
"tfoot",
|
|
5601
5601
|
{
|
|
5602
5602
|
"data-slot": "table-footer",
|
|
5603
|
-
className:
|
|
5603
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
|
|
5604
5604
|
...props
|
|
5605
5605
|
}
|
|
5606
5606
|
);
|
|
@@ -5611,7 +5611,7 @@ function TableRow({ className, ...props }) {
|
|
|
5611
5611
|
"tr",
|
|
5612
5612
|
{
|
|
5613
5613
|
"data-slot": "table-row",
|
|
5614
|
-
className:
|
|
5614
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
|
|
5615
5615
|
...props
|
|
5616
5616
|
}
|
|
5617
5617
|
);
|
|
@@ -5622,7 +5622,7 @@ function TableHead({ className, ...props }) {
|
|
|
5622
5622
|
"th",
|
|
5623
5623
|
{
|
|
5624
5624
|
"data-slot": "table-head",
|
|
5625
|
-
className:
|
|
5625
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
|
|
5626
5626
|
...props
|
|
5627
5627
|
}
|
|
5628
5628
|
);
|
|
@@ -5633,7 +5633,7 @@ function TableCell({ className, ...props }) {
|
|
|
5633
5633
|
"td",
|
|
5634
5634
|
{
|
|
5635
5635
|
"data-slot": "table-cell",
|
|
5636
|
-
className:
|
|
5636
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
|
|
5637
5637
|
...props
|
|
5638
5638
|
}
|
|
5639
5639
|
);
|
|
@@ -5647,7 +5647,7 @@ function TableCaption({
|
|
|
5647
5647
|
"caption",
|
|
5648
5648
|
{
|
|
5649
5649
|
"data-slot": "table-caption",
|
|
5650
|
-
className:
|
|
5650
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
|
|
5651
5651
|
...props
|
|
5652
5652
|
}
|
|
5653
5653
|
);
|
|
@@ -5668,7 +5668,7 @@ function Tabs({
|
|
|
5668
5668
|
{
|
|
5669
5669
|
"data-slot": "tabs",
|
|
5670
5670
|
"data-orientation": orientation,
|
|
5671
|
-
className:
|
|
5671
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5672
5672
|
"gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",
|
|
5673
5673
|
className
|
|
5674
5674
|
),
|
|
@@ -5701,7 +5701,7 @@ function TabsList({
|
|
|
5701
5701
|
{
|
|
5702
5702
|
"data-slot": "tabs-list",
|
|
5703
5703
|
"data-variant": variant,
|
|
5704
|
-
className:
|
|
5704
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, tabsListVariants({ variant }), className),
|
|
5705
5705
|
...props
|
|
5706
5706
|
}
|
|
5707
5707
|
);
|
|
@@ -5712,7 +5712,7 @@ function TabsTrigger({ className, ...props }) {
|
|
|
5712
5712
|
_tabs.Tabs.Tab,
|
|
5713
5713
|
{
|
|
5714
5714
|
"data-slot": "tabs-trigger",
|
|
5715
|
-
className:
|
|
5715
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
5716
5716
|
"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",
|
|
5717
5717
|
"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",
|
|
5718
5718
|
"data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground",
|
|
@@ -5729,7 +5729,7 @@ function TabsContent({ className, ...props }) {
|
|
|
5729
5729
|
_tabs.Tabs.Panel,
|
|
5730
5730
|
{
|
|
5731
5731
|
"data-slot": "tabs-content",
|
|
5732
|
-
className:
|
|
5732
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
|
|
5733
5733
|
...props
|
|
5734
5734
|
}
|
|
5735
5735
|
);
|
|
@@ -5770,7 +5770,7 @@ function Toggle({
|
|
|
5770
5770
|
_toggle.Toggle,
|
|
5771
5771
|
{
|
|
5772
5772
|
"data-slot": "toggle",
|
|
5773
|
-
className:
|
|
5773
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, toggleVariants({ variant, size, className })),
|
|
5774
5774
|
...props
|
|
5775
5775
|
}
|
|
5776
5776
|
);
|
|
@@ -6239,7 +6239,7 @@ var KanbanBoard = React9.forwardRef((props, forwardedRef) => {
|
|
|
6239
6239
|
"data-slot": "kanban-board",
|
|
6240
6240
|
...boardProps,
|
|
6241
6241
|
ref: forwardedRef,
|
|
6242
|
-
className:
|
|
6242
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6243
6243
|
"flex size-full gap-4",
|
|
6244
6244
|
context.orientation === "horizontal" ? "flex-row" : "flex-col",
|
|
6245
6245
|
className
|
|
@@ -6278,7 +6278,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
|
|
|
6278
6278
|
disabled,
|
|
6279
6279
|
animateLayoutChanges
|
|
6280
6280
|
});
|
|
6281
|
-
const composedRef =
|
|
6281
|
+
const composedRef = _chunkTSEU4KZ2js.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6282
6282
|
if (disabled) return;
|
|
6283
6283
|
setNodeRef(node);
|
|
6284
6284
|
});
|
|
@@ -6322,7 +6322,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
|
|
|
6322
6322
|
...asHandle && !disabled ? listeners : {},
|
|
6323
6323
|
ref: composedRef,
|
|
6324
6324
|
style: composedStyle,
|
|
6325
|
-
className:
|
|
6325
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6326
6326
|
"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",
|
|
6327
6327
|
{
|
|
6328
6328
|
"touch-none select-none": asHandle,
|
|
@@ -6345,7 +6345,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6345
6345
|
const context = useKanbanContext(COLUMN_NAME);
|
|
6346
6346
|
const columnContext = useKanbanColumnContext(COLUMN_HANDLE_NAME);
|
|
6347
6347
|
const isDisabled = _nullishCoalesce(disabled, () => ( columnContext.disabled));
|
|
6348
|
-
const composedRef =
|
|
6348
|
+
const composedRef = _chunkTSEU4KZ2js.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6349
6349
|
if (isDisabled) return;
|
|
6350
6350
|
columnContext.setActivatorNodeRef(node);
|
|
6351
6351
|
});
|
|
@@ -6362,7 +6362,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6362
6362
|
...isDisabled ? {} : columnContext.attributes,
|
|
6363
6363
|
...isDisabled ? {} : columnContext.listeners,
|
|
6364
6364
|
ref: composedRef,
|
|
6365
|
-
className:
|
|
6365
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6366
6366
|
"select-none disabled:pointer-events-none disabled:opacity-50",
|
|
6367
6367
|
context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
|
|
6368
6368
|
className
|
|
@@ -6398,7 +6398,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
|
|
|
6398
6398
|
if (value === "") {
|
|
6399
6399
|
throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
|
|
6400
6400
|
}
|
|
6401
|
-
const composedRef =
|
|
6401
|
+
const composedRef = _chunkTSEU4KZ2js.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6402
6402
|
if (disabled) return;
|
|
6403
6403
|
setNodeRef(node);
|
|
6404
6404
|
});
|
|
@@ -6433,7 +6433,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
|
|
|
6433
6433
|
...asHandle && !disabled ? listeners : {},
|
|
6434
6434
|
ref: composedRef,
|
|
6435
6435
|
style: composedStyle,
|
|
6436
|
-
className:
|
|
6436
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6437
6437
|
"focus-visible:ring-ring focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden",
|
|
6438
6438
|
{
|
|
6439
6439
|
"touch-none select-none": asHandle,
|
|
@@ -6454,7 +6454,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6454
6454
|
const context = useKanbanContext(ITEM_HANDLE_NAME);
|
|
6455
6455
|
const itemContext = useKanbanItemContext(ITEM_HANDLE_NAME);
|
|
6456
6456
|
const isDisabled = _nullishCoalesce(disabled, () => ( itemContext.disabled));
|
|
6457
|
-
const composedRef =
|
|
6457
|
+
const composedRef = _chunkTSEU4KZ2js.useComposedRefs.call(void 0, forwardedRef, (node) => {
|
|
6458
6458
|
if (isDisabled) return;
|
|
6459
6459
|
itemContext.setActivatorNodeRef(node);
|
|
6460
6460
|
});
|
|
@@ -6471,7 +6471,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
|
|
|
6471
6471
|
...isDisabled ? {} : itemContext.attributes,
|
|
6472
6472
|
...isDisabled ? {} : itemContext.listeners,
|
|
6473
6473
|
ref: composedRef,
|
|
6474
|
-
className:
|
|
6474
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6475
6475
|
"select-none disabled:pointer-events-none disabled:opacity-50",
|
|
6476
6476
|
context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
|
|
6477
6477
|
className
|
|
@@ -6506,7 +6506,7 @@ function KanbanOverlay(props) {
|
|
|
6506
6506
|
{
|
|
6507
6507
|
dropAnimation,
|
|
6508
6508
|
modifiers: context.modifiers,
|
|
6509
|
-
className:
|
|
6509
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
|
|
6510
6510
|
...overlayProps,
|
|
6511
6511
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, KanbanOverlayContext.Provider, { value: true, children: context.activeId && children ? typeof children === "function" ? children({
|
|
6512
6512
|
value: context.activeId,
|
|
@@ -6524,7 +6524,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, KanbanOverlay, "KanbanOverlay");
|
|
|
6524
6524
|
|
|
6525
6525
|
var Link = React10.forwardRef(({ className, href, children, ...props }, ref) => {
|
|
6526
6526
|
const NextIntlLink = _chunkEW6QPMN3js.getI18nLink.call(void 0, );
|
|
6527
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className:
|
|
6527
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunkTSEU4KZ2js.cn.call(void 0, `font-medium`, className), ...props, children });
|
|
6528
6528
|
});
|
|
6529
6529
|
Link.displayName = "Link";
|
|
6530
6530
|
|
|
@@ -6621,7 +6621,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6621
6621
|
{
|
|
6622
6622
|
...props,
|
|
6623
6623
|
onClick: handleTogglePopover,
|
|
6624
|
-
className:
|
|
6624
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6625
6625
|
"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",
|
|
6626
6626
|
className
|
|
6627
6627
|
),
|
|
@@ -6633,7 +6633,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6633
6633
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6634
6634
|
Badge,
|
|
6635
6635
|
{
|
|
6636
|
-
className:
|
|
6636
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
|
|
6637
6637
|
style: { animationDuration: `${animation}s` },
|
|
6638
6638
|
children: [
|
|
6639
6639
|
IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "mr-2 h-4 w-4" }),
|
|
@@ -6656,7 +6656,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6656
6656
|
selectedValues.length > maxCount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6657
6657
|
Badge,
|
|
6658
6658
|
{
|
|
6659
|
-
className:
|
|
6659
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6660
6660
|
"text-foreground border-foreground/1 bg-transparent hover:bg-transparent",
|
|
6661
6661
|
isAnimating ? "animate-bounce" : "",
|
|
6662
6662
|
multiSelectVariants({ variant })
|
|
@@ -6720,7 +6720,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6720
6720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6721
6721
|
"div",
|
|
6722
6722
|
{
|
|
6723
|
-
className:
|
|
6723
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6724
6724
|
"border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
|
|
6725
6725
|
selectedValues.length === options.length ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
6726
6726
|
),
|
|
@@ -6743,7 +6743,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6743
6743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6744
6744
|
"div",
|
|
6745
6745
|
{
|
|
6746
|
-
className:
|
|
6746
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6747
6747
|
"border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
|
|
6748
6748
|
isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
6749
6749
|
),
|
|
@@ -6778,7 +6778,7 @@ var MultiSelect = React11.forwardRef(
|
|
|
6778
6778
|
animation > 0 && selectedValues.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6779
6779
|
_lucidereact.WandSparkles,
|
|
6780
6780
|
{
|
|
6781
|
-
className:
|
|
6781
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
6782
6782
|
"text-foreground bg-background my-2 h-3 w-3 cursor-pointer",
|
|
6783
6783
|
isAnimating ? "" : "text-muted-foreground"
|
|
6784
6784
|
),
|
|
@@ -6866,8 +6866,8 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
|
|
|
6866
6866
|
CommonDeleter,
|
|
6867
6867
|
{
|
|
6868
6868
|
type: `users`,
|
|
6869
|
-
deleteFunction: () =>
|
|
6870
|
-
() => onDeleted ? onDeleted() : router.push(generateUrl({ page:
|
|
6869
|
+
deleteFunction: () => _chunkTSEU4KZ2js.UserService.delete({ userId: user.id, companyId: cId }).then(
|
|
6870
|
+
() => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkTSEU4KZ2js.Modules.User }))
|
|
6871
6871
|
)
|
|
6872
6872
|
}
|
|
6873
6873
|
);
|
|
@@ -6875,7 +6875,7 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
|
|
|
6875
6875
|
_chunk7QVYU63Ejs.__name.call(void 0, UserDeleterInternal, "UserDeleterInternal");
|
|
6876
6876
|
function UserDeleter(props) {
|
|
6877
6877
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
6878
|
-
if (!hasPermissionToModule({ module:
|
|
6878
|
+
if (!hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
|
|
6879
6879
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserDeleterInternal, { ...props });
|
|
6880
6880
|
}
|
|
6881
6881
|
_chunk7QVYU63Ejs.__name.call(void 0, UserDeleter, "UserDeleter");
|
|
@@ -6939,7 +6939,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6939
6939
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
6940
6940
|
if (!user) {
|
|
6941
6941
|
try {
|
|
6942
|
-
const existingUser = await
|
|
6942
|
+
const existingUser = await _chunkTSEU4KZ2js.UserService.findByEmail({ email: values.email });
|
|
6943
6943
|
if (existingUser) {
|
|
6944
6944
|
form.setError("email", {
|
|
6945
6945
|
type: "manual",
|
|
@@ -6952,7 +6952,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6952
6952
|
}
|
|
6953
6953
|
}
|
|
6954
6954
|
if (values.avatar && contentType) {
|
|
6955
|
-
const s3 = await
|
|
6955
|
+
const s3 = await _chunkTSEU4KZ2js.S3Service.getPreSignedUrl({
|
|
6956
6956
|
key: values.avatar,
|
|
6957
6957
|
contentType,
|
|
6958
6958
|
isPublic: true
|
|
@@ -6978,16 +6978,16 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6978
6978
|
adminCreated
|
|
6979
6979
|
};
|
|
6980
6980
|
try {
|
|
6981
|
-
const updatedUser = user ? await
|
|
6981
|
+
const updatedUser = user ? await _chunkTSEU4KZ2js.UserService.update(payload) : await _chunkTSEU4KZ2js.UserService.create(payload);
|
|
6982
6982
|
if (_optionalChain([currentUser, 'optionalAccess', _137 => _137.id]) === updatedUser.id) setUser(updatedUser);
|
|
6983
6983
|
if (onRevalidate) {
|
|
6984
|
-
await onRevalidate(generateUrl({ page:
|
|
6984
|
+
await onRevalidate(generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: updatedUser.id, language: `[locale]` }));
|
|
6985
6985
|
}
|
|
6986
6986
|
if (propagateChanges) {
|
|
6987
6987
|
propagateChanges(updatedUser);
|
|
6988
6988
|
setOpen(false);
|
|
6989
6989
|
} else {
|
|
6990
|
-
router.push(generateUrl({ page:
|
|
6990
|
+
router.push(generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: updatedUser.id }));
|
|
6991
6991
|
}
|
|
6992
6992
|
} catch (error) {
|
|
6993
6993
|
errorToast({ title: user ? t(`generic.errors.update`) : t(`generic.errors.create`), error });
|
|
@@ -6995,7 +6995,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
6995
6995
|
}, "onSubmit");
|
|
6996
6996
|
_react.useEffect.call(void 0, () => {
|
|
6997
6997
|
async function fetchRoles() {
|
|
6998
|
-
const roles2 = await
|
|
6998
|
+
const roles2 = await _chunkTSEU4KZ2js.RoleService.findAllRoles({});
|
|
6999
6999
|
const availableRoles = roles2.filter(
|
|
7000
7000
|
(role) => role.id !== _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _138 => _138.features, 'access', _139 => _139.some, 'call', _140 => _140((feature) => feature.id === _optionalChain([role, 'access', _141 => _141.requiredFeature, 'optionalAccess', _142 => _142.id]))]))
|
|
7001
7001
|
);
|
|
@@ -7023,7 +7023,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
|
|
|
7023
7023
|
setContentType(null);
|
|
7024
7024
|
}
|
|
7025
7025
|
}, [file]);
|
|
7026
|
-
const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _146 => _146.id]) === _optionalChain([user, 'optionalAccess', _147 => _147.id]) && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module:
|
|
7026
|
+
const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _146 => _146.id]) === _optionalChain([user, 'optionalAccess', _147 => _147.id]) && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator));
|
|
7027
7027
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
|
|
7028
7028
|
trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { children: trigger }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!user }),
|
|
7029
7029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -7140,7 +7140,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditorInternal, "UserEditorInternal");
|
|
|
7140
7140
|
function UserEditor(props) {
|
|
7141
7141
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
7142
7142
|
if (!hasPermissionToModule({
|
|
7143
|
-
module:
|
|
7143
|
+
module: _chunkTSEU4KZ2js.Modules.User,
|
|
7144
7144
|
action: props.user ? "update" /* Update */ : "create" /* Create */,
|
|
7145
7145
|
data: props.user
|
|
7146
7146
|
}))
|
|
@@ -7491,7 +7491,7 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
|
|
|
7491
7491
|
}, "handleClear");
|
|
7492
7492
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
|
|
7493
7493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children }),
|
|
7494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className:
|
|
7494
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkTSEU4KZ2js.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: [
|
|
7495
7495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative mb-3", children: [
|
|
7496
7496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7497
7497
|
Input,
|
|
@@ -7607,13 +7607,13 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
7607
7607
|
setDate(range);
|
|
7608
7608
|
}
|
|
7609
7609
|
}, "handleSelect");
|
|
7610
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
7610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
|
|
7611
7611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7612
7612
|
Button,
|
|
7613
7613
|
{
|
|
7614
7614
|
id: "date",
|
|
7615
7615
|
variant: "outline",
|
|
7616
|
-
className:
|
|
7616
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
|
|
7617
7617
|
children: [
|
|
7618
7618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CalendarIcon, {}),
|
|
7619
7619
|
_optionalChain([date, 'optionalAccess', _164 => _164.from]) ? date.to ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -7806,7 +7806,7 @@ var FileUploader = _react.forwardRef.call(void 0,
|
|
|
7806
7806
|
ref,
|
|
7807
7807
|
tabIndex: 0,
|
|
7808
7808
|
onKeyDownCapture: handleKeyDown,
|
|
7809
|
-
className:
|
|
7809
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
7810
7810
|
"grid w-full overflow-hidden focus:outline-none",
|
|
7811
7811
|
className,
|
|
7812
7812
|
// Original className from props
|
|
@@ -7830,12 +7830,12 @@ var FileUploaderContent = _react.forwardRef.call(void 0,
|
|
|
7830
7830
|
({ children, className, ...props }, ref) => {
|
|
7831
7831
|
const { orientation } = useFileUpload();
|
|
7832
7832
|
const containerRef = _react.useRef.call(void 0, null);
|
|
7833
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
7833
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7834
7834
|
"div",
|
|
7835
7835
|
{
|
|
7836
7836
|
...props,
|
|
7837
7837
|
ref,
|
|
7838
|
-
className:
|
|
7838
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
7839
7839
|
"flex gap-1 rounded-xl",
|
|
7840
7840
|
orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
|
|
7841
7841
|
className
|
|
@@ -7855,7 +7855,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
|
|
|
7855
7855
|
"div",
|
|
7856
7856
|
{
|
|
7857
7857
|
ref,
|
|
7858
|
-
className:
|
|
7858
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
7859
7859
|
buttonVariants({ variant: "ghost" }),
|
|
7860
7860
|
"relative h-6 cursor-pointer justify-between p-1",
|
|
7861
7861
|
className,
|
|
@@ -7868,7 +7868,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
|
|
|
7868
7868
|
"button",
|
|
7869
7869
|
{
|
|
7870
7870
|
type: "button",
|
|
7871
|
-
className:
|
|
7871
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
|
|
7872
7872
|
onClick: () => removeFileFromSet(index),
|
|
7873
7873
|
children: [
|
|
7874
7874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: t(`generic.remove_item`, { index }) }),
|
|
@@ -7892,12 +7892,12 @@ var FileInput = _react.forwardRef.call(void 0,
|
|
|
7892
7892
|
{
|
|
7893
7893
|
ref,
|
|
7894
7894
|
...props,
|
|
7895
|
-
className:
|
|
7895
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
|
|
7896
7896
|
children: [
|
|
7897
7897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7898
7898
|
"div",
|
|
7899
7899
|
{
|
|
7900
|
-
className:
|
|
7900
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
7901
7901
|
"w-full rounded-lg duration-300 ease-in-out",
|
|
7902
7902
|
// Simpler border logic: if parent is drag-active, it controls the border.
|
|
7903
7903
|
// Otherwise, FileInput can show its own accept/reject/default border.
|
|
@@ -8237,7 +8237,7 @@ function FormDateTime({
|
|
|
8237
8237
|
Button,
|
|
8238
8238
|
{
|
|
8239
8239
|
variant: "outline",
|
|
8240
|
-
className:
|
|
8240
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
|
|
8241
8241
|
}
|
|
8242
8242
|
),
|
|
8243
8243
|
children: [
|
|
@@ -8436,7 +8436,7 @@ var PasswordInput = React12.forwardRef(({ className, type, ...props }, ref) => {
|
|
|
8436
8436
|
const disabled = props.value === "" || props.value === void 0 || props.disabled;
|
|
8437
8437
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
8438
8438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
8439
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className:
|
|
8439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkTSEU4KZ2js.cn.call(void 0, "", className), ref, ...props }),
|
|
8440
8440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8441
8441
|
Button,
|
|
8442
8442
|
{
|
|
@@ -8630,7 +8630,7 @@ function FormPlaceAutocomplete({
|
|
|
8630
8630
|
placeholder,
|
|
8631
8631
|
disabled,
|
|
8632
8632
|
"data-testid": testId,
|
|
8633
|
-
className:
|
|
8633
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "w-full", className)
|
|
8634
8634
|
}
|
|
8635
8635
|
) }) });
|
|
8636
8636
|
}
|
|
@@ -8649,7 +8649,7 @@ function FormPlaceAutocomplete({
|
|
|
8649
8649
|
placeholder,
|
|
8650
8650
|
disabled: disabled || !apiKey,
|
|
8651
8651
|
"data-testid": testId,
|
|
8652
|
-
className:
|
|
8652
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "w-full", className)
|
|
8653
8653
|
}
|
|
8654
8654
|
),
|
|
8655
8655
|
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" }) }),
|
|
@@ -8780,7 +8780,7 @@ function FormTextarea({
|
|
|
8780
8780
|
Textarea,
|
|
8781
8781
|
{
|
|
8782
8782
|
...field,
|
|
8783
|
-
className:
|
|
8783
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "min-h-96 w-full", className),
|
|
8784
8784
|
disabled: form.formState.isSubmitting,
|
|
8785
8785
|
placeholder,
|
|
8786
8786
|
"data-testid": testId
|
|
@@ -8866,10 +8866,10 @@ function UserMultiSelect({
|
|
|
8866
8866
|
const data = useDataListRetriever({
|
|
8867
8867
|
ready: !!company,
|
|
8868
8868
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
8869
|
-
return
|
|
8869
|
+
return _chunkTSEU4KZ2js.UserService.findAllUsers(params);
|
|
8870
8870
|
}, "retriever"),
|
|
8871
8871
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _195 => _195.id]) },
|
|
8872
|
-
module:
|
|
8872
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
8873
8873
|
});
|
|
8874
8874
|
_react.useEffect.call(void 0, () => {
|
|
8875
8875
|
if (company) data.setReady(true);
|
|
@@ -8966,7 +8966,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
|
|
|
8966
8966
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
8967
8967
|
const reactivateUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
8968
8968
|
try {
|
|
8969
|
-
const updatedUser = await
|
|
8969
|
+
const updatedUser = await _chunkTSEU4KZ2js.UserService.reactivate({ userId: user.id });
|
|
8970
8970
|
setOpen(false);
|
|
8971
8971
|
propagateChanges(updatedUser);
|
|
8972
8972
|
} catch (error) {
|
|
@@ -9004,7 +9004,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
|
|
|
9004
9004
|
_chunk7QVYU63Ejs.__name.call(void 0, UserReactivatorInterface, "UserReactivatorInterface");
|
|
9005
9005
|
function UserReactivator(props) {
|
|
9006
9006
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9007
|
-
if (!hasPermissionToModule({ module:
|
|
9007
|
+
if (!hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
|
|
9008
9008
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserReactivatorInterface, { ...props });
|
|
9009
9009
|
}
|
|
9010
9010
|
_chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
|
|
@@ -9020,7 +9020,7 @@ function UserResentInvitationEmailInternal({ user }) {
|
|
|
9020
9020
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9021
9021
|
const sendInvitationEmail = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
9022
9022
|
try {
|
|
9023
|
-
await
|
|
9023
|
+
await _chunkTSEU4KZ2js.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
|
|
9024
9024
|
setOpen(false);
|
|
9025
9025
|
_sonner.toast.message(t(`foundations.user.resend_activation.email_sent`), {
|
|
9026
9026
|
description: t(`foundations.user.resend_activation.email_sent_description`, { email: user.email })
|
|
@@ -9060,7 +9060,7 @@ function UserResentInvitationEmailInternal({ user }) {
|
|
|
9060
9060
|
_chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmailInternal, "UserResentInvitationEmailInternal");
|
|
9061
9061
|
function UserResentInvitationEmail(props) {
|
|
9062
9062
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9063
|
-
if (!hasPermissionToModule({ module:
|
|
9063
|
+
if (!hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
|
|
9064
9064
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserResentInvitationEmailInternal, { ...props });
|
|
9065
9065
|
}
|
|
9066
9066
|
_chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmail, "UserResentInvitationEmail");
|
|
@@ -9091,22 +9091,22 @@ function UserAvatar({ user, className, showFull, showLink, showTooltip = true })
|
|
|
9091
9091
|
}, "getAvatar");
|
|
9092
9092
|
const content = showLink === false ? (
|
|
9093
9093
|
// If showLink is explicitly false, never show a link
|
|
9094
|
-
showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
9094
|
+
showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
|
|
9095
9095
|
getAvatar(),
|
|
9096
9096
|
user.name
|
|
9097
9097
|
] }) : getAvatar()
|
|
9098
9098
|
) : showFull ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9099
9099
|
Link,
|
|
9100
9100
|
{
|
|
9101
|
-
href: generateUrl({ page:
|
|
9102
|
-
className:
|
|
9101
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: user.id }),
|
|
9102
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
|
|
9103
9103
|
onClick: (e) => e.stopPropagation(),
|
|
9104
9104
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center gap-x-2", children: [
|
|
9105
9105
|
getAvatar(),
|
|
9106
9106
|
user.name
|
|
9107
9107
|
] })
|
|
9108
9108
|
}
|
|
9109
|
-
) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
9109
|
+
) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
|
|
9110
9110
|
if (!showTooltip) {
|
|
9111
9111
|
return content;
|
|
9112
9112
|
}
|
|
@@ -9127,10 +9127,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
|
|
|
9127
9127
|
const [isSearching, setIsSearching] = _react.useState.call(void 0, false);
|
|
9128
9128
|
const data = useDataListRetriever({
|
|
9129
9129
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
9130
|
-
return
|
|
9130
|
+
return _chunkTSEU4KZ2js.UserService.findMany(params);
|
|
9131
9131
|
}, "retriever"),
|
|
9132
9132
|
retrieverParams: {},
|
|
9133
|
-
module:
|
|
9133
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
9134
9134
|
});
|
|
9135
9135
|
const search = _react.useCallback.call(void 0,
|
|
9136
9136
|
async (searchedTerm) => {
|
|
@@ -9238,24 +9238,24 @@ var UserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
|
|
|
9238
9238
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9239
9239
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9240
9240
|
const [user, setUser] = _react.useState.call(void 0,
|
|
9241
|
-
dehydratedUser ?
|
|
9241
|
+
dehydratedUser ? _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.User, dehydratedUser) : void 0
|
|
9242
9242
|
);
|
|
9243
9243
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
9244
9244
|
const response = [];
|
|
9245
|
-
if (hasPermissionToModule({ module:
|
|
9245
|
+
if (hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "update" /* Update */ })) {
|
|
9246
9246
|
response.push({
|
|
9247
9247
|
name: t(`generic.settings`),
|
|
9248
9248
|
href: generateUrl({ page: `/settings` })
|
|
9249
9249
|
});
|
|
9250
9250
|
response.push({
|
|
9251
9251
|
name: t(`types.users`, { count: 2 }),
|
|
9252
|
-
href: generateUrl({ page: `/settings`, id:
|
|
9252
|
+
href: generateUrl({ page: `/settings`, id: _chunkTSEU4KZ2js.Modules.User.pageUrl })
|
|
9253
9253
|
});
|
|
9254
9254
|
}
|
|
9255
9255
|
if (user)
|
|
9256
9256
|
response.push({
|
|
9257
9257
|
name: `${user.name}${user.isDeleted ? ` (${t(`foundations.user.deleted`)})` : ""}`,
|
|
9258
|
-
href: generateUrl({ page:
|
|
9258
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: user.id })
|
|
9259
9259
|
});
|
|
9260
9260
|
return response;
|
|
9261
9261
|
}, "breadcrumb");
|
|
@@ -9310,7 +9310,7 @@ function UserDetails({ user }) {
|
|
|
9310
9310
|
const { title } = useSharedContext();
|
|
9311
9311
|
let roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
9312
9312
|
if (user.roles && user.roles.length > 0) {
|
|
9313
|
-
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:
|
|
9313
|
+
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: _chunkTSEU4KZ2js.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`foundations.role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
|
|
9314
9314
|
}
|
|
9315
9315
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
|
|
9316
9316
|
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,
|
|
@@ -9323,7 +9323,7 @@ function UserDetails({ user }) {
|
|
|
9323
9323
|
className: "h-auto w-full rounded-lg object-contain"
|
|
9324
9324
|
}
|
|
9325
9325
|
) }),
|
|
9326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module:
|
|
9326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkTSEU4KZ2js.Modules.User, type: title.type, element: title.element, functions: title.functions }),
|
|
9327
9327
|
user.isDeleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`foundations.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(`foundations.user.errors.inactive`) }) }) }),
|
|
9328
9328
|
roles,
|
|
9329
9329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AttributeElement, { inline: true, title: t(`foundations.user.fields.title.label`), value: user.title }),
|
|
@@ -9377,18 +9377,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserIndexContainer, "UserIndexContainer");
|
|
|
9377
9377
|
function UsersListContainerInternal() {
|
|
9378
9378
|
const { hasPermissionToModule } = useCurrentUserContext();
|
|
9379
9379
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9380
|
-
if (!hasPermissionToModule({ module:
|
|
9380
|
+
if (!hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
|
|
9381
9381
|
const tabs = [
|
|
9382
9382
|
{
|
|
9383
9383
|
label: t(`types.users`, { count: 2 }),
|
|
9384
9384
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {}),
|
|
9385
|
-
modules: [
|
|
9385
|
+
modules: [_chunkTSEU4KZ2js.Modules.Company],
|
|
9386
9386
|
action: "read" /* Read */
|
|
9387
9387
|
},
|
|
9388
9388
|
{
|
|
9389
9389
|
label: t(`foundations.user.deleted`),
|
|
9390
9390
|
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, { isDeleted: true }),
|
|
9391
|
-
modules: [
|
|
9391
|
+
modules: [_chunkTSEU4KZ2js.Modules.Company],
|
|
9392
9392
|
action: "update" /* Update */
|
|
9393
9393
|
}
|
|
9394
9394
|
];
|
|
@@ -9406,9 +9406,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersListContainer, "UsersListContainer");
|
|
|
9406
9406
|
function AdminUsersListInternal({ company }) {
|
|
9407
9407
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9408
9408
|
const data = useDataListRetriever({
|
|
9409
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9409
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findManyForAmin(params), "retriever"),
|
|
9410
9410
|
retrieverParams: { companyId: company.id },
|
|
9411
|
-
module:
|
|
9411
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
9412
9412
|
});
|
|
9413
9413
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9414
9414
|
ContentListTable,
|
|
@@ -9416,7 +9416,7 @@ function AdminUsersListInternal({ company }) {
|
|
|
9416
9416
|
title: t(`types.users`, { count: 2 }),
|
|
9417
9417
|
data,
|
|
9418
9418
|
fields: ["name" /* name */, "email" /* email */, "createdAt" /* createdAt */],
|
|
9419
|
-
tableGeneratorType:
|
|
9419
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9420
9420
|
functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
|
|
9421
9421
|
}
|
|
9422
9422
|
);
|
|
@@ -9438,9 +9438,9 @@ function CompanyUsersList({ isDeleted }) {
|
|
|
9438
9438
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9439
9439
|
const data = useDataListRetriever({
|
|
9440
9440
|
ready: !!company,
|
|
9441
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9441
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findAllUsers(params), "retriever"),
|
|
9442
9442
|
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _214 => _214.id]), isDeleted },
|
|
9443
|
-
module:
|
|
9443
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
9444
9444
|
});
|
|
9445
9445
|
_react.useEffect.call(void 0, () => {
|
|
9446
9446
|
if (company) data.setReady(true);
|
|
@@ -9453,7 +9453,7 @@ function CompanyUsersList({ isDeleted }) {
|
|
|
9453
9453
|
{
|
|
9454
9454
|
data,
|
|
9455
9455
|
fields: ["name" /* name */, "email" /* email */],
|
|
9456
|
-
tableGeneratorType:
|
|
9456
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9457
9457
|
functions,
|
|
9458
9458
|
title: t(`types.users`, { count: 2 })
|
|
9459
9459
|
}
|
|
@@ -9469,7 +9469,7 @@ function ContributorsList({ content }) {
|
|
|
9469
9469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9470
9470
|
Link,
|
|
9471
9471
|
{
|
|
9472
|
-
href: generateUrl({ page:
|
|
9472
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: content.author.id }),
|
|
9473
9473
|
onClick: (e) => e.stopPropagation(),
|
|
9474
9474
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: content.author, className: "mr-1 h-6 w-6" })
|
|
9475
9475
|
},
|
|
@@ -9478,7 +9478,7 @@ function ContributorsList({ content }) {
|
|
|
9478
9478
|
/* @__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,
|
|
9479
9479
|
Link,
|
|
9480
9480
|
{
|
|
9481
|
-
href: generateUrl({ page:
|
|
9481
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: editor.id }),
|
|
9482
9482
|
onClick: (e) => e.stopPropagation(),
|
|
9483
9483
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: editor, className: "h-5 w-5" })
|
|
9484
9484
|
},
|
|
@@ -9494,8 +9494,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContributorsList, "ContributorsList");
|
|
|
9494
9494
|
function RelevantUsersList({ id }) {
|
|
9495
9495
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9496
9496
|
const data = useDataListRetriever({
|
|
9497
|
-
module:
|
|
9498
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9497
|
+
module: _chunkTSEU4KZ2js.Modules.User,
|
|
9498
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findRelevant(params), "retriever"),
|
|
9499
9499
|
retrieverParams: { id }
|
|
9500
9500
|
});
|
|
9501
9501
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9503,7 +9503,7 @@ function RelevantUsersList({ id }) {
|
|
|
9503
9503
|
{
|
|
9504
9504
|
data,
|
|
9505
9505
|
fields: ["name" /* name */, "email" /* email */, "relevance" /* relevance */],
|
|
9506
|
-
tableGeneratorType:
|
|
9506
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9507
9507
|
title: t(`generic.relevant_users`)
|
|
9508
9508
|
}
|
|
9509
9509
|
);
|
|
@@ -9516,16 +9516,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RelevantUsersList, "RelevantUsersList");
|
|
|
9516
9516
|
function RoleUsersList({ role }) {
|
|
9517
9517
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9518
9518
|
const data = useDataListRetriever({
|
|
9519
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9519
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findAllUsersByRole(params), "retriever"),
|
|
9520
9520
|
retrieverParams: { roleId: role.id },
|
|
9521
|
-
module:
|
|
9521
|
+
module: _chunkTSEU4KZ2js.Modules.User
|
|
9522
9522
|
});
|
|
9523
9523
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9524
9524
|
ContentListTable,
|
|
9525
9525
|
{
|
|
9526
9526
|
data,
|
|
9527
9527
|
fields: ["name" /* name */, "email" /* email */],
|
|
9528
|
-
tableGeneratorType:
|
|
9528
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9529
9529
|
title: t(`types.users`, { count: 2 })
|
|
9530
9530
|
}
|
|
9531
9531
|
);
|
|
@@ -9575,7 +9575,7 @@ function UsersList({ data, optionComponents, removeFunction, hideOptions, showRe
|
|
|
9575
9575
|
{
|
|
9576
9576
|
data,
|
|
9577
9577
|
fields: ["name" /* name */, "email" /* email */],
|
|
9578
|
-
tableGeneratorType:
|
|
9578
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9579
9579
|
title: t(`types.users`, { count: 2 })
|
|
9580
9580
|
}
|
|
9581
9581
|
);
|
|
@@ -9588,8 +9588,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersList, "UsersList");
|
|
|
9588
9588
|
function UsersListByContentIds({ contentIds }) {
|
|
9589
9589
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
9590
9590
|
const data = useDataListRetriever({
|
|
9591
|
-
module:
|
|
9592
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
9591
|
+
module: _chunkTSEU4KZ2js.Modules.User,
|
|
9592
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.UserService.findManyByContentIds(params), "retriever"),
|
|
9593
9593
|
retrieverParams: { contentIds }
|
|
9594
9594
|
});
|
|
9595
9595
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9597,7 +9597,7 @@ function UsersListByContentIds({ contentIds }) {
|
|
|
9597
9597
|
{
|
|
9598
9598
|
data,
|
|
9599
9599
|
fields: ["name" /* name */, "email" /* email */],
|
|
9600
|
-
tableGeneratorType:
|
|
9600
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.User,
|
|
9601
9601
|
title: t(`generic.relevant_users`)
|
|
9602
9602
|
}
|
|
9603
9603
|
);
|
|
@@ -9615,7 +9615,7 @@ function CompanyDetails() {
|
|
|
9615
9615
|
const { company } = useCompanyContext();
|
|
9616
9616
|
if (!company) return null;
|
|
9617
9617
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
|
|
9618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module:
|
|
9618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkTSEU4KZ2js.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
|
|
9619
9619
|
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" })
|
|
9620
9620
|
] });
|
|
9621
9621
|
}
|
|
@@ -9679,13 +9679,13 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9679
9679
|
const textSize = textSizeClasses[size];
|
|
9680
9680
|
const getBatteryIcon = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
9681
9681
|
if (percentage > 75) {
|
|
9682
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className:
|
|
9682
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className: _chunkTSEU4KZ2js.cn.call(void 0, iconSize, "text-green-500") });
|
|
9683
9683
|
} else if (percentage >= 25) {
|
|
9684
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className:
|
|
9684
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className: _chunkTSEU4KZ2js.cn.call(void 0, iconSize, "text-yellow-500") });
|
|
9685
9685
|
} else if (percentage >= 5) {
|
|
9686
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className:
|
|
9686
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className: _chunkTSEU4KZ2js.cn.call(void 0, iconSize, "text-orange-500") });
|
|
9687
9687
|
} else {
|
|
9688
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className:
|
|
9688
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className: _chunkTSEU4KZ2js.cn.call(void 0, iconSize, "text-destructive") });
|
|
9689
9689
|
}
|
|
9690
9690
|
}, "getBatteryIcon");
|
|
9691
9691
|
const getStatusColor = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -9707,7 +9707,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9707
9707
|
t("generic.tokens.monthly", { defaultValue: "Monthly Pages" }),
|
|
9708
9708
|
":"
|
|
9709
9709
|
] }),
|
|
9710
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
9710
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkTSEU4KZ2js.cn.call(void 0, "font-medium", getStatusColor()), children: [
|
|
9711
9711
|
availableMonthlyTokens,
|
|
9712
9712
|
" / ",
|
|
9713
9713
|
monthlyTokens
|
|
@@ -9718,7 +9718,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9718
9718
|
t("generic.tokens.available", { defaultValue: "Available" }),
|
|
9719
9719
|
":"
|
|
9720
9720
|
] }),
|
|
9721
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
9721
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkTSEU4KZ2js.cn.call(void 0, "font-medium", getStatusColor()), children: [
|
|
9722
9722
|
percentage.toFixed(0),
|
|
9723
9723
|
"%"
|
|
9724
9724
|
] })
|
|
@@ -9736,14 +9736,14 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
|
|
|
9736
9736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9737
9737
|
"div",
|
|
9738
9738
|
{
|
|
9739
|
-
className:
|
|
9739
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0, "inline-flex items-center gap-1.5 cursor-default", className),
|
|
9740
9740
|
"aria-label": t("generic.tokens.status", { defaultValue: "Page Status" }),
|
|
9741
9741
|
children: [
|
|
9742
9742
|
getBatteryIcon(),
|
|
9743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
9743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkTSEU4KZ2js.cn.call(void 0, textSize, "text-muted-foreground font-medium"), children: availableMonthlyTokens }),
|
|
9744
9744
|
showExtraPages && availableExtraTokens > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "inline-flex items-center gap-0.5", children: [
|
|
9745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className:
|
|
9746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
9745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className: _chunkTSEU4KZ2js.cn.call(void 0, smallIconSize, "text-blue-500") }),
|
|
9746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkTSEU4KZ2js.cn.call(void 0, textSize, "text-blue-500 font-medium"), children: availableExtraTokens })
|
|
9747
9747
|
] })
|
|
9748
9748
|
]
|
|
9749
9749
|
}
|
|
@@ -9861,8 +9861,8 @@ function CompanyConfigurationEditorInternal({ company }) {
|
|
|
9861
9861
|
}
|
|
9862
9862
|
};
|
|
9863
9863
|
try {
|
|
9864
|
-
await
|
|
9865
|
-
const fullUser = await
|
|
9864
|
+
await _chunkTSEU4KZ2js.CompanyService.updateConfigurations(payload);
|
|
9865
|
+
const fullUser = await _chunkTSEU4KZ2js.UserService.findFullUser();
|
|
9866
9866
|
if (fullUser) {
|
|
9867
9867
|
setUser(fullUser);
|
|
9868
9868
|
}
|
|
@@ -9917,7 +9917,7 @@ function CompanyDeleterInternal({ company }) {
|
|
|
9917
9917
|
const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
9918
9918
|
setIsDeleting(true);
|
|
9919
9919
|
try {
|
|
9920
|
-
await
|
|
9920
|
+
await _chunkTSEU4KZ2js.CompanyService.delete({ companyId: company.id });
|
|
9921
9921
|
router.push("/");
|
|
9922
9922
|
} catch (error) {
|
|
9923
9923
|
errorToast({ title: t(`generic.errors.delete`), error });
|
|
@@ -9987,7 +9987,7 @@ function CompanyDeleterInternal({ company }) {
|
|
|
9987
9987
|
_chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleterInternal, "CompanyDeleterInternal");
|
|
9988
9988
|
function CompanyDeleter({ company }) {
|
|
9989
9989
|
const { hasPermissionToModule, hasRole } = useCurrentUserContext();
|
|
9990
|
-
if (!hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module:
|
|
9990
|
+
if (!hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.Company, action: "delete" /* Delete */ }))
|
|
9991
9991
|
return null;
|
|
9992
9992
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleterInternal, { company });
|
|
9993
9993
|
}
|
|
@@ -10035,7 +10035,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10035
10035
|
});
|
|
10036
10036
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
10037
10037
|
if (values.logo && contentType) {
|
|
10038
|
-
const s3 = await
|
|
10038
|
+
const s3 = await _chunkTSEU4KZ2js.S3Service.getPreSignedUrl({
|
|
10039
10039
|
key: values.logo,
|
|
10040
10040
|
contentType,
|
|
10041
10041
|
isPublic: true
|
|
@@ -10054,9 +10054,9 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10054
10054
|
moduleIds: values.moduleIds
|
|
10055
10055
|
};
|
|
10056
10056
|
try {
|
|
10057
|
-
const updatedCompany = company ? await
|
|
10057
|
+
const updatedCompany = company ? await _chunkTSEU4KZ2js.CompanyService.update(payload) : await _chunkTSEU4KZ2js.CompanyService.create(payload);
|
|
10058
10058
|
if (onRevalidate) {
|
|
10059
|
-
await onRevalidate(generateUrl({ page:
|
|
10059
|
+
await onRevalidate(generateUrl({ page: _chunkTSEU4KZ2js.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
|
|
10060
10060
|
}
|
|
10061
10061
|
if (company && propagateChanges) {
|
|
10062
10062
|
_cookiesnext.setCookie.call(void 0, "reloadData", "true", { path: "/" });
|
|
@@ -10074,7 +10074,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10074
10074
|
}, "onSubmit");
|
|
10075
10075
|
_react.useEffect.call(void 0, () => {
|
|
10076
10076
|
async function fetchFeatures() {
|
|
10077
|
-
const allfeatures = await
|
|
10077
|
+
const allfeatures = await _chunkTSEU4KZ2js.FeatureService.findMany({});
|
|
10078
10078
|
if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) {
|
|
10079
10079
|
setFeatures(allfeatures);
|
|
10080
10080
|
} else {
|
|
@@ -10177,9 +10177,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyEditor, "CompanyEditor");
|
|
|
10177
10177
|
function CompaniesList() {
|
|
10178
10178
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10179
10179
|
const data = useDataListRetriever({
|
|
10180
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
10180
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.CompanyService.findMany(params), "retriever"),
|
|
10181
10181
|
retrieverParams: {},
|
|
10182
|
-
module:
|
|
10182
|
+
module: _chunkTSEU4KZ2js.Modules.Company
|
|
10183
10183
|
});
|
|
10184
10184
|
const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, {}, "create-account")];
|
|
10185
10185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10187,7 +10187,7 @@ function CompaniesList() {
|
|
|
10187
10187
|
{
|
|
10188
10188
|
data,
|
|
10189
10189
|
fields: ["name" /* name */, "createdAt" /* createdAt */],
|
|
10190
|
-
tableGeneratorType:
|
|
10190
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.Company,
|
|
10191
10191
|
functions,
|
|
10192
10192
|
title: t(`types.companies`, { count: 2 })
|
|
10193
10193
|
}
|
|
@@ -10208,14 +10208,14 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
|
|
|
10208
10208
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10209
10209
|
const { hasPermissionToModule, hasRole } = useCurrentUserContext();
|
|
10210
10210
|
const [company, setCompany] = _react.useState.call(void 0,
|
|
10211
|
-
dehydratedCompany ?
|
|
10211
|
+
dehydratedCompany ? _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.Company, dehydratedCompany) : void 0
|
|
10212
10212
|
);
|
|
10213
10213
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
10214
10214
|
const response = [];
|
|
10215
10215
|
if (company)
|
|
10216
10216
|
response.push({
|
|
10217
10217
|
name: company.name,
|
|
10218
|
-
href: generateUrl({ page:
|
|
10218
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.Company })
|
|
10219
10219
|
});
|
|
10220
10220
|
return response;
|
|
10221
10221
|
}, "breadcrumb");
|
|
@@ -10225,9 +10225,9 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
|
|
|
10225
10225
|
};
|
|
10226
10226
|
if (company) response.element = company.name;
|
|
10227
10227
|
const functions = [];
|
|
10228
|
-
if (company && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module:
|
|
10228
|
+
if (company && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.Company, action: "delete" /* Delete */ }))
|
|
10229
10229
|
functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleter, { company }, "companyDeleter"));
|
|
10230
|
-
if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module:
|
|
10230
|
+
if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkTSEU4KZ2js.Modules.Company, action: "update" /* Update */ })) {
|
|
10231
10231
|
functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
|
|
10232
10232
|
}
|
|
10233
10233
|
if (functions.length > 0) response.functions = functions;
|
|
@@ -10344,7 +10344,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10344
10344
|
setIsLoading(true);
|
|
10345
10345
|
setError(null);
|
|
10346
10346
|
try {
|
|
10347
|
-
const fetchedNotifications = await
|
|
10347
|
+
const fetchedNotifications = await _chunkTSEU4KZ2js.NotificationService.findMany({});
|
|
10348
10348
|
setNotifications(fetchedNotifications);
|
|
10349
10349
|
setLastLoaded(Date.now());
|
|
10350
10350
|
} catch (error2) {
|
|
@@ -10360,7 +10360,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10360
10360
|
try {
|
|
10361
10361
|
const data = {
|
|
10362
10362
|
data: ids.map((id) => ({
|
|
10363
|
-
type:
|
|
10363
|
+
type: _chunkTSEU4KZ2js.Modules.Notification.name,
|
|
10364
10364
|
id,
|
|
10365
10365
|
attributes: {
|
|
10366
10366
|
isRead: true
|
|
@@ -10369,8 +10369,8 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10369
10369
|
relationships: {}
|
|
10370
10370
|
}))
|
|
10371
10371
|
};
|
|
10372
|
-
await
|
|
10373
|
-
const allNotifications = await
|
|
10372
|
+
await _chunkTSEU4KZ2js.NotificationService.markAsRead({ data });
|
|
10373
|
+
const allNotifications = await _chunkTSEU4KZ2js.NotificationService.findMany({});
|
|
10374
10374
|
setNotifications(allNotifications);
|
|
10375
10375
|
setLastLoaded(Date.now());
|
|
10376
10376
|
} catch (error2) {
|
|
@@ -10438,18 +10438,18 @@ var RoleProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
|
|
|
10438
10438
|
const generateUrl = usePageUrlGenerator();
|
|
10439
10439
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
10440
10440
|
const [role, setRole] = _react.useState.call(void 0,
|
|
10441
|
-
dehydratedRole ?
|
|
10441
|
+
dehydratedRole ? _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.Role, dehydratedRole) : void 0
|
|
10442
10442
|
);
|
|
10443
10443
|
const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
10444
10444
|
const response = [];
|
|
10445
10445
|
response.push({
|
|
10446
10446
|
name: t(`types.roles`, { count: 2 }),
|
|
10447
|
-
href: generateUrl({ page:
|
|
10447
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.Role })
|
|
10448
10448
|
});
|
|
10449
10449
|
if (role)
|
|
10450
10450
|
response.push({
|
|
10451
10451
|
name: role.name,
|
|
10452
|
-
href: generateUrl({ page:
|
|
10452
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.Role, id: role.id })
|
|
10453
10453
|
});
|
|
10454
10454
|
return response;
|
|
10455
10455
|
}, "breadcrumb");
|
|
@@ -10640,7 +10640,7 @@ function usePushNotifications() {
|
|
|
10640
10640
|
};
|
|
10641
10641
|
const subscriptionHash = btoa(JSON.stringify(plainSubscription));
|
|
10642
10642
|
if (lastRegisteredSubscription !== subscriptionHash) {
|
|
10643
|
-
await
|
|
10643
|
+
await _chunkTSEU4KZ2js.PushService.register({ data: plainSubscription });
|
|
10644
10644
|
sessionStorage.setItem(sessionKey, subscriptionHash);
|
|
10645
10645
|
}
|
|
10646
10646
|
} catch (error) {
|
|
@@ -10723,7 +10723,7 @@ function useSocket({ token }) {
|
|
|
10723
10723
|
});
|
|
10724
10724
|
}, "handleMessage");
|
|
10725
10725
|
const handleNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (data) => {
|
|
10726
|
-
const notification =
|
|
10726
|
+
const notification = _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.Notification, data);
|
|
10727
10727
|
if (notification) {
|
|
10728
10728
|
setSocketNotifications((prev) => {
|
|
10729
10729
|
const newNotifications = [...prev, notification];
|
|
@@ -10838,7 +10838,7 @@ function ContentTitle({ module, type, element, functions, className }) {
|
|
|
10838
10838
|
setClientFunctions(functions);
|
|
10839
10839
|
}, [functions]);
|
|
10840
10840
|
if (!element) return null;
|
|
10841
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
10841
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
|
|
10842
10842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col w-full", children: [
|
|
10843
10843
|
type && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `text-muted-foreground text-xl font-light flex gap-x-2 items-center`, children: [
|
|
10844
10844
|
module && module.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "w-5 h-5 inline-block" }),
|
|
@@ -10986,7 +10986,7 @@ function PageContainer({ children, testId, className }) {
|
|
|
10986
10986
|
const headerChildren = useHeaderChildren();
|
|
10987
10987
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex h-full w-full flex-col`, "data-testid": testId, children: [
|
|
10988
10988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { children: headerChildren }),
|
|
10989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className:
|
|
10989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkTSEU4KZ2js.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
|
|
10990
10990
|
] });
|
|
10991
10991
|
}
|
|
10992
10992
|
_chunk7QVYU63Ejs.__name.call(void 0, PageContainer, "PageContainer");
|
|
@@ -11095,7 +11095,7 @@ function TabsContainer({
|
|
|
11095
11095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11096
11096
|
TabsList,
|
|
11097
11097
|
{
|
|
11098
|
-
className:
|
|
11098
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
11099
11099
|
`${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
|
|
11100
11100
|
tabsListClassName
|
|
11101
11101
|
),
|
|
@@ -11103,7 +11103,7 @@ function TabsContainer({
|
|
|
11103
11103
|
TabsTrigger,
|
|
11104
11104
|
{
|
|
11105
11105
|
value: tab.label,
|
|
11106
|
-
className:
|
|
11106
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
11107
11107
|
`${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`}`,
|
|
11108
11108
|
tabsTriggerClassName
|
|
11109
11109
|
),
|
|
@@ -11123,7 +11123,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
|
|
|
11123
11123
|
// src/components/contents/AttributeElement.tsx
|
|
11124
11124
|
|
|
11125
11125
|
function AttributeElement({ inline, title, value, className }) {
|
|
11126
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11126
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkTSEU4KZ2js.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
|
|
11127
11127
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
|
|
11128
11128
|
value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
|
|
11129
11129
|
] });
|
|
@@ -11146,7 +11146,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails")
|
|
|
11146
11146
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
11147
11147
|
|
|
11148
11148
|
|
|
11149
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
11149
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-CAUNVZUF.js"))), {
|
|
11150
11150
|
ssr: false
|
|
11151
11151
|
});
|
|
11152
11152
|
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -11197,7 +11197,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, PageContainerContentDetails, "PageContainer
|
|
|
11197
11197
|
|
|
11198
11198
|
function PageContentContainer({ header, details, footer, content }) {
|
|
11199
11199
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
11200
|
-
const isMobile =
|
|
11200
|
+
const isMobile = _chunkTSEU4KZ2js.useIsMobile.call(void 0, );
|
|
11201
11201
|
_react.useEffect.call(void 0, () => {
|
|
11202
11202
|
setMounted(true);
|
|
11203
11203
|
}, []);
|
|
@@ -11529,14 +11529,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, useJsonApiMutation, "useJsonApiMutation");
|
|
|
11529
11529
|
function useRehydration(classKey, data) {
|
|
11530
11530
|
return _react.useMemo.call(void 0, () => {
|
|
11531
11531
|
if (!data) return null;
|
|
11532
|
-
return
|
|
11532
|
+
return _chunkTSEU4KZ2js.RehydrationFactory.rehydrate(classKey, data);
|
|
11533
11533
|
}, [classKey, data]);
|
|
11534
11534
|
}
|
|
11535
11535
|
_chunk7QVYU63Ejs.__name.call(void 0, useRehydration, "useRehydration");
|
|
11536
11536
|
function useRehydrationList(classKey, data) {
|
|
11537
11537
|
return _react.useMemo.call(void 0, () => {
|
|
11538
11538
|
if (!data || data.length === 0) return [];
|
|
11539
|
-
return
|
|
11539
|
+
return _chunkTSEU4KZ2js.RehydrationFactory.rehydrateList(classKey, data);
|
|
11540
11540
|
}, [classKey, data]);
|
|
11541
11541
|
}
|
|
11542
11542
|
_chunk7QVYU63Ejs.__name.call(void 0, useRehydrationList, "useRehydrationList");
|
|
@@ -11578,9 +11578,9 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
11578
11578
|
{
|
|
11579
11579
|
href: hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
11580
11580
|
page: "/administration",
|
|
11581
|
-
id: _optionalChain([
|
|
11581
|
+
id: _optionalChain([_chunkTSEU4KZ2js.Modules, 'access', _282 => _282.Company, 'access', _283 => _283.pageUrl, 'optionalAccess', _284 => _284.substring, 'call', _285 => _285(1)]),
|
|
11582
11582
|
childPage: company.id
|
|
11583
|
-
}) : generateUrl({ page:
|
|
11583
|
+
}) : generateUrl({ page: _chunkTSEU4KZ2js.Modules.Company, id: company.id }),
|
|
11584
11584
|
children: row.getValue("name")
|
|
11585
11585
|
}
|
|
11586
11586
|
);
|
|
@@ -11630,7 +11630,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
11630
11630
|
header: t(`foundations.role.fields.name.label`),
|
|
11631
11631
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
|
|
11632
11632
|
const role = row.original.jsonApiData;
|
|
11633
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page:
|
|
11633
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.Role, id: role.id }), children: row.getValue("name") });
|
|
11634
11634
|
}, "cell"),
|
|
11635
11635
|
enableSorting: false,
|
|
11636
11636
|
enableHiding: false
|
|
@@ -11667,7 +11667,7 @@ var useUserSearch = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
|
11667
11667
|
if (search === searchQueryRef.current && users.length > 0) return;
|
|
11668
11668
|
setIsLoading(true);
|
|
11669
11669
|
searchQueryRef.current = search;
|
|
11670
|
-
const fetchedUsers = await
|
|
11670
|
+
const fetchedUsers = await _chunkTSEU4KZ2js.UserService.findMany({ search, fetchAll: true });
|
|
11671
11671
|
setUsers(fetchedUsers);
|
|
11672
11672
|
} catch (error) {
|
|
11673
11673
|
console.error("Failed to load users:", error);
|
|
@@ -11733,8 +11733,8 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
11733
11733
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11734
11734
|
Link,
|
|
11735
11735
|
{
|
|
11736
|
-
href: generateUrl({ page:
|
|
11737
|
-
className:
|
|
11736
|
+
href: generateUrl({ page: _chunkTSEU4KZ2js.Modules.User, id: user.id }),
|
|
11737
|
+
className: _chunkTSEU4KZ2js.cn.call(void 0,
|
|
11738
11738
|
`flex items-center justify-start gap-2`,
|
|
11739
11739
|
user.isDeleted || !user.isActivated ? "text-muted-foreground italic" : ""
|
|
11740
11740
|
),
|
|
@@ -11828,11 +11828,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
11828
11828
|
header: t(`foundations.content.fields.name.label`),
|
|
11829
11829
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
|
|
11830
11830
|
const content = row.original.jsonApiData;
|
|
11831
|
-
const contentModule = content.contentType ?
|
|
11831
|
+
const contentModule = content.contentType ? _chunkTSEU4KZ2js.Modules.findByModelName(content.contentType) : void 0;
|
|
11832
11832
|
const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
|
|
11833
11833
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
|
|
11834
11834
|
/* @__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: [
|
|
11835
|
-
contentModule &&
|
|
11835
|
+
contentModule && _chunkTSEU4KZ2js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
|
|
11836
11836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: link, children: content.name })
|
|
11837
11837
|
] }) }),
|
|
11838
11838
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: content.tldr })
|
|
@@ -11969,7 +11969,7 @@ function useOAuthClients() {
|
|
|
11969
11969
|
setIsLoading(true);
|
|
11970
11970
|
setError(null);
|
|
11971
11971
|
try {
|
|
11972
|
-
const fetchedClients = await
|
|
11972
|
+
const fetchedClients = await _chunkTSEU4KZ2js.OAuthService.listClients();
|
|
11973
11973
|
setClients(fetchedClients);
|
|
11974
11974
|
} catch (err) {
|
|
11975
11975
|
console.error("[useOAuthClients] Failed to fetch clients:", err);
|
|
@@ -11986,7 +11986,7 @@ function useOAuthClients() {
|
|
|
11986
11986
|
setIsLoading(true);
|
|
11987
11987
|
setError(null);
|
|
11988
11988
|
try {
|
|
11989
|
-
const result = await
|
|
11989
|
+
const result = await _chunkTSEU4KZ2js.OAuthService.createClient(data);
|
|
11990
11990
|
addClient(result.client);
|
|
11991
11991
|
if (result.clientSecret) {
|
|
11992
11992
|
setNewClientSecret({
|
|
@@ -12033,7 +12033,7 @@ function useOAuthClient(clientId) {
|
|
|
12033
12033
|
setIsLoading(true);
|
|
12034
12034
|
setError(null);
|
|
12035
12035
|
try {
|
|
12036
|
-
const fetched = await
|
|
12036
|
+
const fetched = await _chunkTSEU4KZ2js.OAuthService.getClient({ clientId });
|
|
12037
12037
|
setFetchedClient(fetched);
|
|
12038
12038
|
} catch (err) {
|
|
12039
12039
|
console.error("[useOAuthClient] Failed to fetch client:", err);
|
|
@@ -12053,7 +12053,7 @@ function useOAuthClient(clientId) {
|
|
|
12053
12053
|
setIsLoading(true);
|
|
12054
12054
|
setError(null);
|
|
12055
12055
|
try {
|
|
12056
|
-
const updated = await
|
|
12056
|
+
const updated = await _chunkTSEU4KZ2js.OAuthService.updateClient({ clientId, data });
|
|
12057
12057
|
updateClientInStore(updated);
|
|
12058
12058
|
setFetchedClient(updated);
|
|
12059
12059
|
} catch (err) {
|
|
@@ -12072,7 +12072,7 @@ function useOAuthClient(clientId) {
|
|
|
12072
12072
|
setIsLoading(true);
|
|
12073
12073
|
setError(null);
|
|
12074
12074
|
try {
|
|
12075
|
-
await
|
|
12075
|
+
await _chunkTSEU4KZ2js.OAuthService.deleteClient({ clientId });
|
|
12076
12076
|
removeClientFromStore(clientId);
|
|
12077
12077
|
} catch (err) {
|
|
12078
12078
|
console.error("[useOAuthClient] Failed to delete client:", err);
|
|
@@ -12088,7 +12088,7 @@ function useOAuthClient(clientId) {
|
|
|
12088
12088
|
setIsLoading(true);
|
|
12089
12089
|
setError(null);
|
|
12090
12090
|
try {
|
|
12091
|
-
const result = await
|
|
12091
|
+
const result = await _chunkTSEU4KZ2js.OAuthService.regenerateSecret({ clientId });
|
|
12092
12092
|
setNewClientSecret({
|
|
12093
12093
|
clientId,
|
|
12094
12094
|
secret: result.clientSecret
|
|
@@ -12132,7 +12132,7 @@ function useOAuthConsent(params) {
|
|
|
12132
12132
|
setIsLoading(true);
|
|
12133
12133
|
setError(null);
|
|
12134
12134
|
try {
|
|
12135
|
-
const info = await
|
|
12135
|
+
const info = await _chunkTSEU4KZ2js.OAuthService.getAuthorizationInfo(params);
|
|
12136
12136
|
setClientInfo(info);
|
|
12137
12137
|
} catch (err) {
|
|
12138
12138
|
console.error("[useOAuthConsent] Failed to fetch authorization info:", err);
|
|
@@ -12154,7 +12154,7 @@ function useOAuthConsent(params) {
|
|
|
12154
12154
|
setIsSubmitting(true);
|
|
12155
12155
|
setError(null);
|
|
12156
12156
|
try {
|
|
12157
|
-
const result = await
|
|
12157
|
+
const result = await _chunkTSEU4KZ2js.OAuthService.approveAuthorization(params);
|
|
12158
12158
|
if (result.redirectUrl) {
|
|
12159
12159
|
window.location.href = result.redirectUrl;
|
|
12160
12160
|
}
|
|
@@ -12168,7 +12168,7 @@ function useOAuthConsent(params) {
|
|
|
12168
12168
|
setIsSubmitting(true);
|
|
12169
12169
|
setError(null);
|
|
12170
12170
|
try {
|
|
12171
|
-
const result = await
|
|
12171
|
+
const result = await _chunkTSEU4KZ2js.OAuthService.denyAuthorization(params);
|
|
12172
12172
|
if (result.redirectUrl) {
|
|
12173
12173
|
window.location.href = result.redirectUrl;
|
|
12174
12174
|
}
|
|
@@ -12424,7 +12424,7 @@ function Register() {
|
|
|
12424
12424
|
email: values.email,
|
|
12425
12425
|
password: values.password
|
|
12426
12426
|
};
|
|
12427
|
-
await
|
|
12427
|
+
await _chunkTSEU4KZ2js.AuthService.register(payload);
|
|
12428
12428
|
setShowConfirmation(true);
|
|
12429
12429
|
} catch (e) {
|
|
12430
12430
|
errorToast({ error: e });
|
|
@@ -12625,7 +12625,7 @@ function AcceptInvitation() {
|
|
|
12625
12625
|
const payload = {
|
|
12626
12626
|
code
|
|
12627
12627
|
};
|
|
12628
|
-
await
|
|
12628
|
+
await _chunkTSEU4KZ2js.AuthService.validateCode(payload);
|
|
12629
12629
|
} catch (e) {
|
|
12630
12630
|
setError(e instanceof Error ? e.message : String(e));
|
|
12631
12631
|
errorToast({ title: t(`generic.errors.error`), error: e });
|
|
@@ -12663,7 +12663,7 @@ function AcceptInvitation() {
|
|
|
12663
12663
|
code: _optionalChain([params, 'optionalAccess', _308 => _308.code]),
|
|
12664
12664
|
password: values.password
|
|
12665
12665
|
};
|
|
12666
|
-
await
|
|
12666
|
+
await _chunkTSEU4KZ2js.AuthService.acceptInvitation(payload);
|
|
12667
12667
|
setShowConfirmation(true);
|
|
12668
12668
|
_sonner.toast.success(t("foundations.auth.account_activated"), {
|
|
12669
12669
|
description: t("foundations.auth.account_activated_description")
|
|
@@ -12726,7 +12726,7 @@ function ActivateAccount() {
|
|
|
12726
12726
|
const payload = {
|
|
12727
12727
|
activationCode: code
|
|
12728
12728
|
};
|
|
12729
|
-
await
|
|
12729
|
+
await _chunkTSEU4KZ2js.AuthService.activate(payload);
|
|
12730
12730
|
setShowConfirmation(true);
|
|
12731
12731
|
setParams(void 0);
|
|
12732
12732
|
_sonner.toast.success(t("foundations.auth.account_activated"), {
|
|
@@ -12769,8 +12769,8 @@ function Cookies({ dehydratedAuth, page }) {
|
|
|
12769
12769
|
_react.useEffect.call(void 0, () => {
|
|
12770
12770
|
if (hasSaved) return;
|
|
12771
12771
|
async function saveTokenOnServer() {
|
|
12772
|
-
await
|
|
12773
|
-
const auth =
|
|
12772
|
+
await _chunkTSEU4KZ2js.AuthService.saveToken({ dehydratedAuth });
|
|
12773
|
+
const auth = _chunkTSEU4KZ2js.rehydrate.call(void 0, _chunkTSEU4KZ2js.Modules.Auth, dehydratedAuth);
|
|
12774
12774
|
setUser(auth.user);
|
|
12775
12775
|
setHasSaved(true);
|
|
12776
12776
|
if (page) {
|
|
@@ -12813,7 +12813,7 @@ function ForgotPassword() {
|
|
|
12813
12813
|
const payload = {
|
|
12814
12814
|
email: values.email
|
|
12815
12815
|
};
|
|
12816
|
-
await
|
|
12816
|
+
await _chunkTSEU4KZ2js.AuthService.initialiseForgotPassword(payload);
|
|
12817
12817
|
setShowConfirmation(true);
|
|
12818
12818
|
} catch (e) {
|
|
12819
12819
|
errorToast({ error: e });
|
|
@@ -12884,7 +12884,7 @@ function Login() {
|
|
|
12884
12884
|
});
|
|
12885
12885
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
12886
12886
|
try {
|
|
12887
|
-
const user = await
|
|
12887
|
+
const user = await _chunkTSEU4KZ2js.AuthService.login({
|
|
12888
12888
|
email: values.email,
|
|
12889
12889
|
password: values.password
|
|
12890
12890
|
});
|
|
@@ -12966,7 +12966,7 @@ function Logout() {
|
|
|
12966
12966
|
const generateUrl = usePageUrlGenerator();
|
|
12967
12967
|
_react.useEffect.call(void 0, () => {
|
|
12968
12968
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
12969
|
-
await
|
|
12969
|
+
await _chunkTSEU4KZ2js.AuthService.logout();
|
|
12970
12970
|
window.location.href = generateUrl({ page: `/` });
|
|
12971
12971
|
}, "logOut");
|
|
12972
12972
|
logOut();
|
|
@@ -12981,7 +12981,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
|
|
|
12981
12981
|
function RefreshUser() {
|
|
12982
12982
|
const { setUser } = useCurrentUserContext();
|
|
12983
12983
|
const loadFullUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
12984
|
-
const fullUser = await
|
|
12984
|
+
const fullUser = await _chunkTSEU4KZ2js.UserService.findFullUser();
|
|
12985
12985
|
if (fullUser) {
|
|
12986
12986
|
setUser(fullUser);
|
|
12987
12987
|
const token = {
|
|
@@ -12993,7 +12993,7 @@ function RefreshUser() {
|
|
|
12993
12993
|
return { id: module.id, permissions: module.permissions };
|
|
12994
12994
|
})
|
|
12995
12995
|
};
|
|
12996
|
-
await _optionalChain([
|
|
12996
|
+
await _optionalChain([_chunkTSEU4KZ2js.getTokenHandler.call(void 0, ), 'optionalAccess', _315 => _315.updateToken, 'call', _316 => _316(token)]);
|
|
12997
12997
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
12998
12998
|
}
|
|
12999
12999
|
}, "loadFullUser");
|
|
@@ -13025,7 +13025,7 @@ function ResetPassword() {
|
|
|
13025
13025
|
const payload = {
|
|
13026
13026
|
code
|
|
13027
13027
|
};
|
|
13028
|
-
await
|
|
13028
|
+
await _chunkTSEU4KZ2js.AuthService.validateCode(payload);
|
|
13029
13029
|
} catch (e) {
|
|
13030
13030
|
setError(e instanceof Error ? e.message : String(e));
|
|
13031
13031
|
errorToast({ title: t(`generic.errors.error`), error: e });
|
|
@@ -13063,7 +13063,7 @@ function ResetPassword() {
|
|
|
13063
13063
|
code: _optionalChain([params, 'optionalAccess', _318 => _318.code]),
|
|
13064
13064
|
password: values.password
|
|
13065
13065
|
};
|
|
13066
|
-
await
|
|
13066
|
+
await _chunkTSEU4KZ2js.AuthService.resetPassword(payload);
|
|
13067
13067
|
setShowConfirmation(true);
|
|
13068
13068
|
_sonner.toast.success(t(`foundations.auth.reset_success`), {
|
|
13069
13069
|
description: t(`foundations.auth.reset_success_description`)
|
|
@@ -13106,12 +13106,12 @@ function ContentsList({ contentList }) {
|
|
|
13106
13106
|
_chunk7QVYU63Ejs.__name.call(void 0, ContentsList, "ContentsList");
|
|
13107
13107
|
function ContentsListElement({ content }) {
|
|
13108
13108
|
const generateUrl = usePageUrlGenerator();
|
|
13109
|
-
const contentModule = content.contentType ?
|
|
13109
|
+
const contentModule = content.contentType ? _chunkTSEU4KZ2js.Modules.findByModelName(content.contentType) : void 0;
|
|
13110
13110
|
const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
|
|
13111
13111
|
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: [
|
|
13112
13112
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCard, { children: [
|
|
13113
13113
|
/* @__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: [
|
|
13114
|
-
contentModule &&
|
|
13114
|
+
contentModule && _chunkTSEU4KZ2js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
|
|
13115
13115
|
content.name
|
|
13116
13116
|
] }) }),
|
|
13117
13117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCardContent, { className: "flex max-h-96 w-96 flex-col gap-y-4 overflow-y-auto", children: [
|
|
@@ -13130,8 +13130,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListElement, "ContentsListElement")
|
|
|
13130
13130
|
function ContentsListById({ contentIds }) {
|
|
13131
13131
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13132
13132
|
const data = useDataListRetriever({
|
|
13133
|
-
module:
|
|
13134
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13133
|
+
module: _chunkTSEU4KZ2js.Modules.Content,
|
|
13134
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.ContentService.findMany(params), "retriever"),
|
|
13135
13135
|
retrieverParams: { contentIds }
|
|
13136
13136
|
});
|
|
13137
13137
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13139,7 +13139,7 @@ function ContentsListById({ contentIds }) {
|
|
|
13139
13139
|
{
|
|
13140
13140
|
data,
|
|
13141
13141
|
fields: ["name" /* name */, "authors" /* authors */, "updatedAt" /* updatedAt */],
|
|
13142
|
-
tableGeneratorType:
|
|
13142
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.Content,
|
|
13143
13143
|
title: t(`generic.relevant`)
|
|
13144
13144
|
}
|
|
13145
13145
|
);
|
|
@@ -13152,8 +13152,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListById, "ContentsListById");
|
|
|
13152
13152
|
function RelevantContentsList({ id }) {
|
|
13153
13153
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13154
13154
|
const data = useDataListRetriever({
|
|
13155
|
-
module:
|
|
13156
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13155
|
+
module: _chunkTSEU4KZ2js.Modules.Content,
|
|
13156
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.ContentService.findRelevant(params), "retriever"),
|
|
13157
13157
|
retrieverParams: { id }
|
|
13158
13158
|
});
|
|
13159
13159
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13161,7 +13161,7 @@ function RelevantContentsList({ id }) {
|
|
|
13161
13161
|
{
|
|
13162
13162
|
data,
|
|
13163
13163
|
fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */, "updatedAt" /* updatedAt */],
|
|
13164
|
-
tableGeneratorType:
|
|
13164
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.Content,
|
|
13165
13165
|
title: t(`generic.relevant`)
|
|
13166
13166
|
}
|
|
13167
13167
|
);
|
|
@@ -13214,12 +13214,12 @@ function NotificationsList({ archived }) {
|
|
|
13214
13214
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13215
13215
|
const generateUrl = usePageUrlGenerator();
|
|
13216
13216
|
const data = useDataListRetriever({
|
|
13217
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13217
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.NotificationService.findMany(params), "retriever"),
|
|
13218
13218
|
retrieverParams: { isArchived: archived },
|
|
13219
|
-
module:
|
|
13219
|
+
module: _chunkTSEU4KZ2js.Modules.Notification
|
|
13220
13220
|
});
|
|
13221
13221
|
const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
|
|
13222
|
-
await
|
|
13222
|
+
await _chunkTSEU4KZ2js.NotificationService.archive({ id: notification.id });
|
|
13223
13223
|
data.removeElement(notification);
|
|
13224
13224
|
}, "archiveNotification");
|
|
13225
13225
|
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: [
|
|
@@ -13233,7 +13233,7 @@ function NotificationsList({ archived }) {
|
|
|
13233
13233
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _319 => _319.data, 'optionalAccess', _320 => _320.map, 'call', _321 => _321((notification) => {
|
|
13234
13234
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
13235
13235
|
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: [
|
|
13236
|
-
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:
|
|
13236
|
+
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: _chunkTSEU4KZ2js.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" }),
|
|
13237
13237
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
13238
13238
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`foundations.notification.${notification.notificationType}.description`, {
|
|
13239
13239
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
@@ -13538,7 +13538,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
|
|
|
13538
13538
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13539
13539
|
_react.useEffect.call(void 0, () => {
|
|
13540
13540
|
async function checkCompanyAdminDeletability() {
|
|
13541
|
-
const roleUsers = await
|
|
13541
|
+
const roleUsers = await _chunkTSEU4KZ2js.UserService.findAllUsersByRole({
|
|
13542
13542
|
roleId: role.id
|
|
13543
13543
|
});
|
|
13544
13544
|
if (roleUsers.length > 1) setCanRemove(true);
|
|
@@ -13552,7 +13552,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
|
|
|
13552
13552
|
}, [role]);
|
|
13553
13553
|
const remove = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
13554
13554
|
try {
|
|
13555
|
-
await
|
|
13555
|
+
await _chunkTSEU4KZ2js.RoleService.removeUserFromRole({
|
|
13556
13556
|
roleId: role.id,
|
|
13557
13557
|
userId: user.id
|
|
13558
13558
|
});
|
|
@@ -13616,7 +13616,7 @@ function UserRoleAdd({ user, refresh }) {
|
|
|
13616
13616
|
const [roles, setRoles] = _react.useState.call(void 0, []);
|
|
13617
13617
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13618
13618
|
const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (role) => {
|
|
13619
|
-
await
|
|
13619
|
+
await _chunkTSEU4KZ2js.RoleService.addUserToRole({
|
|
13620
13620
|
roleId: role.id,
|
|
13621
13621
|
userId: user.id
|
|
13622
13622
|
});
|
|
@@ -13640,7 +13640,7 @@ function UserRoleAdd({ user, refresh }) {
|
|
|
13640
13640
|
const searchRoles = _react.useCallback.call(void 0,
|
|
13641
13641
|
async (term) => {
|
|
13642
13642
|
setRoles(
|
|
13643
|
-
await
|
|
13643
|
+
await _chunkTSEU4KZ2js.RoleService.findAllRolesUserNotIn({
|
|
13644
13644
|
search: term,
|
|
13645
13645
|
userId: user.id
|
|
13646
13646
|
})
|
|
@@ -13708,16 +13708,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRoleAdd, "UserRoleAdd");
|
|
|
13708
13708
|
function RolesList() {
|
|
13709
13709
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13710
13710
|
const data = useDataListRetriever({
|
|
13711
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13711
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.RoleService.findAllRoles(params), "retriever"),
|
|
13712
13712
|
retrieverParams: {},
|
|
13713
|
-
module:
|
|
13713
|
+
module: _chunkTSEU4KZ2js.Modules.Role
|
|
13714
13714
|
});
|
|
13715
13715
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13716
13716
|
ContentListTable,
|
|
13717
13717
|
{
|
|
13718
13718
|
data,
|
|
13719
13719
|
fields: ["name" /* name */, "description" /* description */],
|
|
13720
|
-
tableGeneratorType:
|
|
13720
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.Role,
|
|
13721
13721
|
title: t(`types.roles`, { count: 2 })
|
|
13722
13722
|
}
|
|
13723
13723
|
);
|
|
@@ -13730,16 +13730,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RolesList, "RolesList");
|
|
|
13730
13730
|
function UserRolesList({ user }) {
|
|
13731
13731
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
13732
13732
|
const data = useDataListRetriever({
|
|
13733
|
-
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) =>
|
|
13733
|
+
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkTSEU4KZ2js.RoleService.findAllRolesByUser(params), "retriever"),
|
|
13734
13734
|
retrieverParams: { userId: user.id },
|
|
13735
|
-
module:
|
|
13735
|
+
module: _chunkTSEU4KZ2js.Modules.Role
|
|
13736
13736
|
});
|
|
13737
13737
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13738
13738
|
ContentListTable,
|
|
13739
13739
|
{
|
|
13740
13740
|
data,
|
|
13741
13741
|
fields: ["name" /* name */, "description" /* description */],
|
|
13742
|
-
tableGeneratorType:
|
|
13742
|
+
tableGeneratorType: _chunkTSEU4KZ2js.Modules.Role,
|
|
13743
13743
|
title: t(`types.roles`, { count: 2 })
|
|
13744
13744
|
}
|
|
13745
13745
|
);
|
|
@@ -13857,7 +13857,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthRedirectUriInput, "OAuthRedirectUriInp
|
|
|
13857
13857
|
function OAuthScopeSelector({
|
|
13858
13858
|
value,
|
|
13859
13859
|
onChange,
|
|
13860
|
-
availableScopes =
|
|
13860
|
+
availableScopes = _chunkTSEU4KZ2js.AVAILABLE_OAUTH_SCOPES,
|
|
13861
13861
|
disabled = false,
|
|
13862
13862
|
error,
|
|
13863
13863
|
label = "Allowed Scopes"
|
|
@@ -14184,7 +14184,7 @@ function OAuthClientForm({
|
|
|
14184
14184
|
description: formState.description.trim() || void 0,
|
|
14185
14185
|
redirectUris: formState.redirectUris.filter((uri) => uri.trim()),
|
|
14186
14186
|
allowedScopes: formState.allowedScopes,
|
|
14187
|
-
allowedGrantTypes:
|
|
14187
|
+
allowedGrantTypes: _chunkTSEU4KZ2js.DEFAULT_GRANT_TYPES,
|
|
14188
14188
|
isConfidential: formState.isConfidential
|
|
14189
14189
|
};
|
|
14190
14190
|
await onSubmit(data);
|
|
@@ -14385,7 +14385,7 @@ function OAuthClientDetail({
|
|
|
14385
14385
|
] }),
|
|
14386
14386
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
14387
14387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
14388
|
-
/* @__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([
|
|
14388
|
+
/* @__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([_chunkTSEU4KZ2js.OAUTH_SCOPE_DISPLAY, 'access', _331 => _331[scope], 'optionalAccess', _332 => _332.name]) || scope }, scope)) })
|
|
14389
14389
|
] }),
|
|
14390
14390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
14391
14391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -15049,4 +15049,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentScreen, "OAuthConsentScreen");
|
|
|
15049
15049
|
|
|
15050
15050
|
|
|
15051
15051
|
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.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
15052
|
-
//# sourceMappingURL=chunk-
|
|
15052
|
+
//# sourceMappingURL=chunk-IXI4GAKB.js.map
|