@carlonicora/nextjs-jsonapi 1.95.0 → 1.96.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-Y37HALIN.js → BlockNoteEditor-UDGH3YMI.js} +17 -11
- package/dist/BlockNoteEditor-UDGH3YMI.js.map +1 -0
- package/dist/{BlockNoteEditor-G3EMXRKU.mjs → BlockNoteEditor-VPTC7JY3.mjs} +11 -5
- package/dist/BlockNoteEditor-VPTC7JY3.mjs.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-BFT6GR4C.js → chunk-62RBZ55N.js} +123 -105
- package/dist/chunk-62RBZ55N.js.map +1 -0
- package/dist/{chunk-B742NQJF.mjs → chunk-QH4QZLBS.mjs} +31 -13
- package/dist/chunk-QH4QZLBS.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +13 -4
- package/dist/components/index.d.ts +13 -4
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/editors/BlockNoteEditor.tsx +16 -3
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +20 -7
- package/src/components/forms/EditorSheet.tsx +6 -1
- package/src/components/forms/FormBlockNote.tsx +7 -1
- package/dist/BlockNoteEditor-G3EMXRKU.mjs.map +0 -1
- package/dist/BlockNoteEditor-Y37HALIN.js.map +0 -1
- package/dist/chunk-B742NQJF.mjs.map +0 -1
- package/dist/chunk-BFT6GR4C.js.map +0 -1
|
@@ -8587,6 +8587,7 @@ function EditorSheet({
|
|
|
8587
8587
|
onSuccess,
|
|
8588
8588
|
onRevalidate,
|
|
8589
8589
|
onNavigate,
|
|
8590
|
+
onSaved,
|
|
8590
8591
|
size = "xl",
|
|
8591
8592
|
disabled,
|
|
8592
8593
|
hideSubmit,
|
|
@@ -8620,6 +8621,9 @@ function EditorSheet({
|
|
|
8620
8621
|
try {
|
|
8621
8622
|
const result = await onSubmit(values);
|
|
8622
8623
|
setOpen(false);
|
|
8624
|
+
if (isEdit && result && onSaved) {
|
|
8625
|
+
onSaved(result, entityType);
|
|
8626
|
+
}
|
|
8623
8627
|
if (onSuccess) {
|
|
8624
8628
|
await onSuccess();
|
|
8625
8629
|
} else if (result) {
|
|
@@ -8637,7 +8641,7 @@ function EditorSheet({
|
|
|
8637
8641
|
});
|
|
8638
8642
|
}
|
|
8639
8643
|
},
|
|
8640
|
-
[onSubmit, setOpen, onSuccess, onRevalidate, onNavigate, generateUrl, module, isEdit, propagateChanges, t]
|
|
8644
|
+
[onSubmit, setOpen, onSuccess, onSaved, onRevalidate, onNavigate, generateUrl, module, isEdit, propagateChanges, t]
|
|
8641
8645
|
);
|
|
8642
8646
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8643
8647
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Sheet, { open, onOpenChange: handleOpenChange, children: [
|
|
@@ -9222,7 +9226,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9222
9226
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9223
9227
|
|
|
9224
9228
|
|
|
9225
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9229
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-UDGH3YMI.js"))), {
|
|
9226
9230
|
ssr: false
|
|
9227
9231
|
});
|
|
9228
9232
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -9249,7 +9253,9 @@ function FormBlockNote({
|
|
|
9249
9253
|
mentionSearchFn,
|
|
9250
9254
|
mentionSearchParams,
|
|
9251
9255
|
mentionResolveFn,
|
|
9252
|
-
suggestionMenuComponent
|
|
9256
|
+
suggestionMenuComponent,
|
|
9257
|
+
mentionNameResolver,
|
|
9258
|
+
onWarmMentions
|
|
9253
9259
|
}) {
|
|
9254
9260
|
const initialContentRef = _react.useRef.call(void 0, null);
|
|
9255
9261
|
const lastEditorContentRef = _react.useRef.call(void 0, void 0);
|
|
@@ -9295,6 +9301,8 @@ function FormBlockNote({
|
|
|
9295
9301
|
mentionSearchParams,
|
|
9296
9302
|
mentionResolveFn,
|
|
9297
9303
|
suggestionMenuComponent,
|
|
9304
|
+
mentionNameResolver,
|
|
9305
|
+
onWarmMentions,
|
|
9298
9306
|
className: _chunkXAWKRNYMjs.cn.call(void 0, stretch && "min-h-0 flex-1")
|
|
9299
9307
|
}
|
|
9300
9308
|
);
|
|
@@ -13722,26 +13730,36 @@ var mentionDataAttrs = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (p)
|
|
|
13722
13730
|
"data-mention-type": p.entityType,
|
|
13723
13731
|
"data-mention-alias": p.alias
|
|
13724
13732
|
}), "mentionDataAttrs");
|
|
13725
|
-
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention) => {
|
|
13733
|
+
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
|
|
13726
13734
|
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
|
|
13735
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _380 => _380(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
13727
13736
|
if (disableMention) {
|
|
13728
|
-
const resolved2 = _optionalChain([resolveFn, 'optionalCall',
|
|
13729
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess',
|
|
13737
|
+
const resolved2 = _optionalChain([resolveFn, 'optionalCall', _381 => _381(props.id, props.entityType, displayName)]);
|
|
13738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _382 => _382.url]), () => ( "#")), className: "text-primary", children: [
|
|
13730
13739
|
"@",
|
|
13731
|
-
|
|
13740
|
+
displayName
|
|
13732
13741
|
] });
|
|
13733
13742
|
}
|
|
13734
|
-
const resolved = _optionalChain([resolveFn, 'optionalCall',
|
|
13735
|
-
if (_optionalChain([resolved, 'optionalAccess',
|
|
13743
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _383 => _383(props.id, props.entityType, displayName)]);
|
|
13744
|
+
if (_optionalChain([resolved, 'optionalAccess', _384 => _384.Inline])) {
|
|
13736
13745
|
const Custom = resolved.Inline;
|
|
13737
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props });
|
|
13746
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
|
|
13738
13747
|
}
|
|
13739
|
-
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
13740
|
-
const handleClick = _optionalChain([resolved, 'optionalAccess',
|
|
13741
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13748
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _385 => _385.url]), () => ( "#"));
|
|
13749
|
+
const handleClick = _optionalChain([resolved, 'optionalAccess', _386 => _386.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
|
|
13750
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13751
|
+
_link2.default,
|
|
13752
|
+
{
|
|
13753
|
+
href,
|
|
13754
|
+
className: "text-primary",
|
|
13755
|
+
onClick: handleClick,
|
|
13756
|
+
...mentionDataAttrs({ ...props, alias: displayName }),
|
|
13757
|
+
children: [
|
|
13758
|
+
"@",
|
|
13759
|
+
displayName
|
|
13760
|
+
]
|
|
13761
|
+
}
|
|
13762
|
+
);
|
|
13745
13763
|
}, "Mention"));
|
|
13746
13764
|
return _react4.createReactInlineContentSpec.call(void 0,
|
|
13747
13765
|
{
|
|
@@ -13993,10 +14011,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
13993
14011
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13994
14012
|
Checkbox,
|
|
13995
14013
|
{
|
|
13996
|
-
checked: _optionalChain([params, 'access',
|
|
14014
|
+
checked: _optionalChain([params, 'access', _387 => _387.checkedIds, 'optionalAccess', _388 => _388.includes, 'call', _389 => _389(row.getValue(params.name))]) || false,
|
|
13997
14015
|
onCheckedChange: (value) => {
|
|
13998
14016
|
row.toggleSelected(!!value);
|
|
13999
|
-
_optionalChain([params, 'access',
|
|
14017
|
+
_optionalChain([params, 'access', _390 => _390.toggleId, 'optionalCall', _391 => _391(row.getValue(params.name))]);
|
|
14000
14018
|
},
|
|
14001
14019
|
"aria-label": "Select row"
|
|
14002
14020
|
}
|
|
@@ -14055,7 +14073,7 @@ function useJsonApiGet(params) {
|
|
|
14055
14073
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
14056
14074
|
const isMounted = _react.useRef.call(void 0, true);
|
|
14057
14075
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
14058
|
-
if (_optionalChain([params, 'access',
|
|
14076
|
+
if (_optionalChain([params, 'access', _392 => _392.options, 'optionalAccess', _393 => _393.enabled]) === false) return;
|
|
14059
14077
|
setLoading(true);
|
|
14060
14078
|
setError(null);
|
|
14061
14079
|
try {
|
|
@@ -14082,9 +14100,9 @@ function useJsonApiGet(params) {
|
|
|
14082
14100
|
setLoading(false);
|
|
14083
14101
|
}
|
|
14084
14102
|
}
|
|
14085
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
14103
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _394 => _394.options, 'optionalAccess', _395 => _395.enabled])]);
|
|
14086
14104
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
14087
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14105
|
+
if (!_optionalChain([response, 'optionalAccess', _396 => _396.nextPage])) return;
|
|
14088
14106
|
setLoading(true);
|
|
14089
14107
|
try {
|
|
14090
14108
|
const nextResponse = await response.nextPage();
|
|
@@ -14105,7 +14123,7 @@ function useJsonApiGet(params) {
|
|
|
14105
14123
|
}
|
|
14106
14124
|
}, [response]);
|
|
14107
14125
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
14108
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14126
|
+
if (!_optionalChain([response, 'optionalAccess', _397 => _397.prevPage])) return;
|
|
14109
14127
|
setLoading(true);
|
|
14110
14128
|
try {
|
|
14111
14129
|
const prevResponse = await response.prevPage();
|
|
@@ -14131,15 +14149,15 @@ function useJsonApiGet(params) {
|
|
|
14131
14149
|
return () => {
|
|
14132
14150
|
isMounted.current = false;
|
|
14133
14151
|
};
|
|
14134
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
14152
|
+
}, [fetchData, ..._optionalChain([params, 'access', _398 => _398.options, 'optionalAccess', _399 => _399.deps]) || []]);
|
|
14135
14153
|
return {
|
|
14136
14154
|
data,
|
|
14137
14155
|
loading,
|
|
14138
14156
|
error,
|
|
14139
14157
|
response,
|
|
14140
14158
|
refetch: fetchData,
|
|
14141
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
14142
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
14159
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _400 => _400.next]),
|
|
14160
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _401 => _401.prev]),
|
|
14143
14161
|
fetchNextPage,
|
|
14144
14162
|
fetchPreviousPage
|
|
14145
14163
|
};
|
|
@@ -14217,17 +14235,17 @@ function useJsonApiMutation(config) {
|
|
|
14217
14235
|
if (apiResponse.ok) {
|
|
14218
14236
|
const resultData = apiResponse.data;
|
|
14219
14237
|
setData(resultData);
|
|
14220
|
-
_optionalChain([config, 'access',
|
|
14238
|
+
_optionalChain([config, 'access', _402 => _402.onSuccess, 'optionalCall', _403 => _403(resultData)]);
|
|
14221
14239
|
return resultData;
|
|
14222
14240
|
} else {
|
|
14223
14241
|
setError(apiResponse.error);
|
|
14224
|
-
_optionalChain([config, 'access',
|
|
14242
|
+
_optionalChain([config, 'access', _404 => _404.onError, 'optionalCall', _405 => _405(apiResponse.error)]);
|
|
14225
14243
|
return null;
|
|
14226
14244
|
}
|
|
14227
14245
|
} catch (err) {
|
|
14228
14246
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
14229
14247
|
setError(errorMessage);
|
|
14230
|
-
_optionalChain([config, 'access',
|
|
14248
|
+
_optionalChain([config, 'access', _406 => _406.onError, 'optionalCall', _407 => _407(errorMessage)]);
|
|
14231
14249
|
return null;
|
|
14232
14250
|
} finally {
|
|
14233
14251
|
setLoading(false);
|
|
@@ -14300,7 +14318,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14300
14318
|
{
|
|
14301
14319
|
href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14302
14320
|
page: "/administration",
|
|
14303
|
-
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access',
|
|
14321
|
+
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _408 => _408.Company, 'access', _409 => _409.pageUrl, 'optionalAccess', _410 => _410.substring, 'call', _411 => _411(1)]),
|
|
14304
14322
|
childPage: company.id
|
|
14305
14323
|
}) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
|
|
14306
14324
|
children: row.getValue("name")
|
|
@@ -14316,7 +14334,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14316
14334
|
})
|
|
14317
14335
|
};
|
|
14318
14336
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14319
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14337
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _412 => _412[field], 'optionalCall', _413 => _413()])).filter((col) => col !== void 0);
|
|
14320
14338
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14321
14339
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14322
14340
|
}, "useCompanyTableStructure");
|
|
@@ -14328,7 +14346,7 @@ var GRACE_DAYS = 3;
|
|
|
14328
14346
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14329
14347
|
if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
|
|
14330
14348
|
const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
|
|
14331
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14349
|
+
return !!_optionalChain([currentUser, 'access', _414 => _414.roles, 'optionalAccess', _415 => _415.some, 'call', _416 => _416((role) => role.id === adminRoleId)]);
|
|
14332
14350
|
}, "isAdministrator");
|
|
14333
14351
|
function useSubscriptionStatus() {
|
|
14334
14352
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14445,7 +14463,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14445
14463
|
})
|
|
14446
14464
|
};
|
|
14447
14465
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14448
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14466
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _417 => _417[field], 'optionalCall', _418 => _418()])).filter((col) => col !== void 0);
|
|
14449
14467
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14450
14468
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14451
14469
|
}, "useRoleTableStructure");
|
|
@@ -14546,11 +14564,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14546
14564
|
return params.fields.map((field) => {
|
|
14547
14565
|
const localHandler = fieldColumnMap[field];
|
|
14548
14566
|
if (localHandler) return localHandler();
|
|
14549
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14567
|
+
const customHandler = _optionalChain([params, 'access', _419 => _419.context, 'optionalAccess', _420 => _420.customCells, 'optionalAccess', _421 => _421[field]]);
|
|
14550
14568
|
if (customHandler) return customHandler({ t });
|
|
14551
14569
|
return void 0;
|
|
14552
14570
|
}).filter((col) => col !== void 0);
|
|
14553
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14571
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _422 => _422.context, 'optionalAccess', _423 => _423.customCells])]);
|
|
14554
14572
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14555
14573
|
}, "useContentTableStructure");
|
|
14556
14574
|
|
|
@@ -14885,7 +14903,7 @@ function ContentTableSearch({ data }) {
|
|
|
14885
14903
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14886
14904
|
if (!isExpanded) {
|
|
14887
14905
|
setIsFocused(true);
|
|
14888
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14906
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _424 => _424.current, 'optionalAccess', _425 => _425.focus, 'call', _426 => _426()]), 50);
|
|
14889
14907
|
}
|
|
14890
14908
|
}, "handleSearchIconClick");
|
|
14891
14909
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14951,7 +14969,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14951
14969
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14952
14970
|
);
|
|
14953
14971
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14954
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
14972
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _427 => _427.data]), () => ( EMPTY_ARRAY)),
|
|
14955
14973
|
fields,
|
|
14956
14974
|
checkedIds,
|
|
14957
14975
|
toggleId,
|
|
@@ -15020,12 +15038,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15020
15038
|
) }),
|
|
15021
15039
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
15022
15040
|
const meta = header.column.columnDef.meta;
|
|
15023
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
15041
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _428 => _428.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
15024
15042
|
}) }, headerGroup.id))
|
|
15025
15043
|
] }),
|
|
15026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
15044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _429 => _429.rows, 'optionalAccess', _430 => _430.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
15027
15045
|
const meta = cell.column.columnDef.meta;
|
|
15028
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
15046
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _431 => _431.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
15029
15047
|
}) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
|
|
15030
15048
|
showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
|
|
15031
15049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15035,7 +15053,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15035
15053
|
size: "sm",
|
|
15036
15054
|
onClick: (e) => {
|
|
15037
15055
|
e.preventDefault();
|
|
15038
|
-
_optionalChain([data, 'access',
|
|
15056
|
+
_optionalChain([data, 'access', _432 => _432.previous, 'optionalCall', _433 => _433(true)]);
|
|
15039
15057
|
},
|
|
15040
15058
|
disabled: !data.previous,
|
|
15041
15059
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -15049,7 +15067,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15049
15067
|
size: "sm",
|
|
15050
15068
|
onClick: (e) => {
|
|
15051
15069
|
e.preventDefault();
|
|
15052
|
-
_optionalChain([data, 'access',
|
|
15070
|
+
_optionalChain([data, 'access', _434 => _434.next, 'optionalCall', _435 => _435(true)]);
|
|
15053
15071
|
},
|
|
15054
15072
|
disabled: !data.next,
|
|
15055
15073
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -15070,7 +15088,7 @@ function ContentListGrid(props) {
|
|
|
15070
15088
|
if (!data.next || !sentinelRef.current) return;
|
|
15071
15089
|
const observer = new IntersectionObserver(
|
|
15072
15090
|
(entries) => {
|
|
15073
|
-
if (_optionalChain([entries, 'access',
|
|
15091
|
+
if (_optionalChain([entries, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.isIntersecting])) _optionalChain([data, 'access', _438 => _438.next, 'optionalCall', _439 => _439()]);
|
|
15074
15092
|
},
|
|
15075
15093
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
15076
15094
|
);
|
|
@@ -15820,7 +15838,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15820
15838
|
newDigits[index] = digit;
|
|
15821
15839
|
setDigits(newDigits);
|
|
15822
15840
|
if (digit && index < 5) {
|
|
15823
|
-
_optionalChain([inputRefs, 'access',
|
|
15841
|
+
_optionalChain([inputRefs, 'access', _440 => _440.current, 'access', _441 => _441[index + 1], 'optionalAccess', _442 => _442.focus, 'call', _443 => _443()]);
|
|
15824
15842
|
}
|
|
15825
15843
|
const code = newDigits.join("");
|
|
15826
15844
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15829,7 +15847,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15829
15847
|
}, "handleChange");
|
|
15830
15848
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15831
15849
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15832
|
-
_optionalChain([inputRefs, 'access',
|
|
15850
|
+
_optionalChain([inputRefs, 'access', _444 => _444.current, 'access', _445 => _445[index - 1], 'optionalAccess', _446 => _446.focus, 'call', _447 => _447()]);
|
|
15833
15851
|
}
|
|
15834
15852
|
}, "handleKeyDown");
|
|
15835
15853
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15838,7 +15856,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15838
15856
|
if (pastedData.length === 6) {
|
|
15839
15857
|
const newDigits = pastedData.split("");
|
|
15840
15858
|
setDigits(newDigits);
|
|
15841
|
-
_optionalChain([inputRefs, 'access',
|
|
15859
|
+
_optionalChain([inputRefs, 'access', _448 => _448.current, 'access', _449 => _449[5], 'optionalAccess', _450 => _450.focus, 'call', _451 => _451()]);
|
|
15842
15860
|
onComplete(pastedData);
|
|
15843
15861
|
}
|
|
15844
15862
|
}, "handlePaste");
|
|
@@ -16049,8 +16067,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
16049
16067
|
try {
|
|
16050
16068
|
const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
16051
16069
|
id: _uuid.v4.call(void 0, ),
|
|
16052
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16053
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
16070
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _452 => _452.email]), () => ( "")),
|
|
16071
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _453 => _453.name])
|
|
16054
16072
|
});
|
|
16055
16073
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
16056
16074
|
await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -16201,7 +16219,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
16201
16219
|
const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
|
|
16202
16220
|
id: _uuid.v4.call(void 0, ),
|
|
16203
16221
|
name: name.trim(),
|
|
16204
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16222
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _454 => _454.email]), () => ( ""))
|
|
16205
16223
|
});
|
|
16206
16224
|
setQrCodeUri(setup.qrCodeUri);
|
|
16207
16225
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16335,7 +16353,7 @@ function TwoFactorSettings() {
|
|
|
16335
16353
|
if (isLoading) {
|
|
16336
16354
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground", children: t("common.loading") }) }) });
|
|
16337
16355
|
}
|
|
16338
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16356
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _455 => _455.isEnabled]), () => ( false));
|
|
16339
16357
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16340
16358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16341
16359
|
isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
|
|
@@ -16373,7 +16391,7 @@ function TwoFactorSettings() {
|
|
|
16373
16391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16374
16392
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16375
16393
|
] }),
|
|
16376
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _456 => _456.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16377
16395
|
] }) }),
|
|
16378
16396
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16379
16397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16551,9 +16569,9 @@ function AcceptInvitation() {
|
|
|
16551
16569
|
});
|
|
16552
16570
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16553
16571
|
try {
|
|
16554
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16572
|
+
if (!_optionalChain([params, 'optionalAccess', _457 => _457.code])) return;
|
|
16555
16573
|
const payload = {
|
|
16556
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16574
|
+
code: _optionalChain([params, 'optionalAccess', _458 => _458.code]),
|
|
16557
16575
|
password: values.password
|
|
16558
16576
|
};
|
|
16559
16577
|
await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
|
|
@@ -16903,7 +16921,7 @@ function Logout({ storageKeys }) {
|
|
|
16903
16921
|
const generateUrl = usePageUrlGenerator();
|
|
16904
16922
|
_react.useEffect.call(void 0, () => {
|
|
16905
16923
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16906
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16924
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _459 => _459.length])) {
|
|
16907
16925
|
clearClientStorage(storageKeys);
|
|
16908
16926
|
}
|
|
16909
16927
|
await _chunkXAWKRNYMjs.AuthService.logout();
|
|
@@ -16926,14 +16944,14 @@ function RefreshUser() {
|
|
|
16926
16944
|
setUser(fullUser);
|
|
16927
16945
|
const token = {
|
|
16928
16946
|
userId: fullUser.id,
|
|
16929
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
16947
|
+
companyId: _optionalChain([fullUser, 'access', _460 => _460.company, 'optionalAccess', _461 => _461.id]),
|
|
16930
16948
|
roles: fullUser.roles.map((role) => role.id),
|
|
16931
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
16949
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _462 => _462.company, 'optionalAccess', _463 => _463.features, 'optionalAccess', _464 => _464.map, 'call', _465 => _465((feature) => feature.id)]), () => ( [])),
|
|
16932
16950
|
modules: fullUser.modules.map((module) => {
|
|
16933
16951
|
return { id: module.id, permissions: module.permissions };
|
|
16934
16952
|
})
|
|
16935
16953
|
};
|
|
16936
|
-
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
16954
|
+
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _466 => _466.updateToken, 'call', _467 => _467(token)]);
|
|
16937
16955
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
16938
16956
|
}
|
|
16939
16957
|
}, "loadFullUser");
|
|
@@ -16997,9 +17015,9 @@ function ResetPassword() {
|
|
|
16997
17015
|
});
|
|
16998
17016
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16999
17017
|
try {
|
|
17000
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
17018
|
+
if (!_optionalChain([params, 'optionalAccess', _468 => _468.code])) return;
|
|
17001
17019
|
const payload = {
|
|
17002
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
17020
|
+
code: _optionalChain([params, 'optionalAccess', _469 => _469.code]),
|
|
17003
17021
|
password: values.password
|
|
17004
17022
|
};
|
|
17005
17023
|
await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
|
|
@@ -17348,7 +17366,7 @@ function extractHeadings(blocks) {
|
|
|
17348
17366
|
function processBlocks(blockArray) {
|
|
17349
17367
|
for (const block of blockArray) {
|
|
17350
17368
|
if (block.type === "heading") {
|
|
17351
|
-
const level = _optionalChain([block, 'access',
|
|
17369
|
+
const level = _optionalChain([block, 'access', _470 => _470.props, 'optionalAccess', _471 => _471.level]) || 1;
|
|
17352
17370
|
const text = extractTextFromContent(block.content);
|
|
17353
17371
|
if (text.trim()) {
|
|
17354
17372
|
headings.push({
|
|
@@ -17691,7 +17709,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17691
17709
|
})
|
|
17692
17710
|
};
|
|
17693
17711
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17694
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17712
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _472 => _472[field], 'optionalCall', _473 => _473()])).filter((col) => col !== void 0);
|
|
17695
17713
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17696
17714
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17697
17715
|
}, "useHowToTableStructure");
|
|
@@ -17757,7 +17775,7 @@ function HowToMultiSelector({
|
|
|
17757
17775
|
retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
|
|
17758
17776
|
module: _chunkXAWKRNYMjs.Modules.HowTo,
|
|
17759
17777
|
getLabel: (howTo) => howTo.name,
|
|
17760
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17778
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _474 => _474.id]),
|
|
17761
17779
|
onChange
|
|
17762
17780
|
}
|
|
17763
17781
|
);
|
|
@@ -17822,7 +17840,7 @@ function HowToSelector({
|
|
|
17822
17840
|
}, "setHowTo");
|
|
17823
17841
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, modal: true, children: [
|
|
17824
17842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17825
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access',
|
|
17843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _475 => _475.value, 'optionalAccess', _476 => _476.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
|
|
17826
17844
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17827
17845
|
_lucidereact.CircleX,
|
|
17828
17846
|
{
|
|
@@ -18177,9 +18195,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
18177
18195
|
] }) }),
|
|
18178
18196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
18179
18197
|
const isOpen = expanded.has(chunk.id);
|
|
18180
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
18198
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _477 => _477.get, 'call', _478 => _478(chunk.nodeId)]) : void 0;
|
|
18181
18199
|
const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
|
|
18182
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
18200
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _479 => _479.name]), () => ( fallbackName));
|
|
18183
18201
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
18184
18202
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
18185
18203
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18226,7 +18244,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18226
18244
|
for (const c of citations) {
|
|
18227
18245
|
const id = c.nodeId;
|
|
18228
18246
|
if (!id) continue;
|
|
18229
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18247
|
+
const source = _optionalChain([sources, 'optionalAccess', _480 => _480.get, 'call', _481 => _481(id)]);
|
|
18230
18248
|
if (!source) continue;
|
|
18231
18249
|
const existing = map.get(id);
|
|
18232
18250
|
if (existing) {
|
|
@@ -18291,7 +18309,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18291
18309
|
const generate = usePageUrlGenerator();
|
|
18292
18310
|
const userMap = /* @__PURE__ */ new Map();
|
|
18293
18311
|
for (const u of users) {
|
|
18294
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18312
|
+
if (!_optionalChain([u, 'optionalAccess', _482 => _482.id])) continue;
|
|
18295
18313
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18296
18314
|
}
|
|
18297
18315
|
if (citations && sources) {
|
|
@@ -18395,7 +18413,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18395
18413
|
}
|
|
18396
18414
|
return ids.size;
|
|
18397
18415
|
}, [message.citations, sources]);
|
|
18398
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18416
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _483 => _483.length]), () => ( 0));
|
|
18399
18417
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18400
18418
|
const visibleTabs = [];
|
|
18401
18419
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18454,8 +18472,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
|
|
|
18454
18472
|
static async findManyByIds(params) {
|
|
18455
18473
|
const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
|
|
18456
18474
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18457
|
-
if (_optionalChain([params, 'access',
|
|
18458
|
-
if (_optionalChain([params, 'access',
|
|
18475
|
+
if (_optionalChain([params, 'access', _484 => _484.module, 'access', _485 => _485.inclusions, 'optionalAccess', _486 => _486.lists, 'optionalAccess', _487 => _487.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18476
|
+
if (_optionalChain([params, 'access', _488 => _488.module, 'access', _489 => _489.inclusions, 'optionalAccess', _490 => _490.lists, 'optionalAccess', _491 => _491.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18459
18477
|
return this.callApi({
|
|
18460
18478
|
type: params.module,
|
|
18461
18479
|
method: "GET" /* GET */,
|
|
@@ -18534,7 +18552,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18534
18552
|
return void 0;
|
|
18535
18553
|
}
|
|
18536
18554
|
})()));
|
|
18537
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18555
|
+
if (_optionalChain([author, 'optionalAccess', _492 => _492.id])) userMap.set(author.id, author);
|
|
18538
18556
|
}
|
|
18539
18557
|
return Array.from(userMap.values());
|
|
18540
18558
|
}, [resolved]);
|
|
@@ -18556,14 +18574,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18556
18574
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18557
18575
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18558
18576
|
const isUser = message.role === "user";
|
|
18559
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18577
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _493 => _493.has, 'call', _494 => _494(message.id)]);
|
|
18560
18578
|
if (isUser) {
|
|
18561
18579
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18562
18580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
|
|
18563
18581
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18564
18582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18565
18583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
18584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _495 => _495(message.id)]), children: t("features.assistant.retry") })
|
|
18567
18585
|
] })
|
|
18568
18586
|
] });
|
|
18569
18587
|
}
|
|
@@ -18629,7 +18647,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18629
18647
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18630
18648
|
const endRef = _react.useRef.call(void 0, null);
|
|
18631
18649
|
_react.useEffect.call(void 0, () => {
|
|
18632
|
-
_optionalChain([endRef, 'access',
|
|
18650
|
+
_optionalChain([endRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.scrollIntoView, 'call', _498 => _498({ behavior: "smooth" })]);
|
|
18633
18651
|
}, [messages.length, sending]);
|
|
18634
18652
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-x-hidden overflow-y-auto px-6 py-5", children: [
|
|
18635
18653
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18657,7 +18675,7 @@ function AssistantContainer() {
|
|
|
18657
18675
|
AssistantSidebar,
|
|
18658
18676
|
{
|
|
18659
18677
|
threads: ctx.threads,
|
|
18660
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18678
|
+
activeId: _optionalChain([ctx, 'access', _499 => _499.assistant, 'optionalAccess', _500 => _500.id]),
|
|
18661
18679
|
onSelect: ctx.selectThread,
|
|
18662
18680
|
onNew: ctx.startNew
|
|
18663
18681
|
}
|
|
@@ -18750,14 +18768,14 @@ function NotificationsList({ archived }) {
|
|
|
18750
18768
|
] }),
|
|
18751
18769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18752
18770
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18753
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
18771
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _501 => _501.data, 'optionalAccess', _502 => _502.map, 'call', _503 => _503((notification) => {
|
|
18754
18772
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18755
18773
|
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: [
|
|
18756
18774
|
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: _chunkXAWKRNYMjs.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" }),
|
|
18757
18775
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18758
18776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18759
18777
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18760
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18778
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _504 => _504.actor, 'optionalAccess', _505 => _505.name]), () => ( "")),
|
|
18761
18779
|
title: notificationData.title
|
|
18762
18780
|
}) }),
|
|
18763
18781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -19107,7 +19125,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
19107
19125
|
invalidEmail: "Please enter a valid email address"
|
|
19108
19126
|
};
|
|
19109
19127
|
async function copyToClipboard(text) {
|
|
19110
|
-
if (_optionalChain([navigator, 'access',
|
|
19128
|
+
if (_optionalChain([navigator, 'access', _506 => _506.clipboard, 'optionalAccess', _507 => _507.writeText])) {
|
|
19111
19129
|
try {
|
|
19112
19130
|
await navigator.clipboard.writeText(text);
|
|
19113
19131
|
return true;
|
|
@@ -19149,7 +19167,7 @@ function ReferralWidget({
|
|
|
19149
19167
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
19150
19168
|
const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
|
|
19151
19169
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
19152
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
19170
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _508 => _508.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
19153
19171
|
if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
|
|
19154
19172
|
return null;
|
|
19155
19173
|
}
|
|
@@ -19159,7 +19177,7 @@ function ReferralWidget({
|
|
|
19159
19177
|
if (success) {
|
|
19160
19178
|
setCopied(true);
|
|
19161
19179
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
|
|
19162
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
19180
|
+
_optionalChain([onLinkCopied, 'optionalCall', _509 => _509()]);
|
|
19163
19181
|
setTimeout(() => setCopied(false), 2e3);
|
|
19164
19182
|
} else {
|
|
19165
19183
|
_chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
|
|
@@ -19173,12 +19191,12 @@ function ReferralWidget({
|
|
|
19173
19191
|
try {
|
|
19174
19192
|
await sendInvite(email);
|
|
19175
19193
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
|
|
19176
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
19194
|
+
_optionalChain([onInviteSent, 'optionalCall', _510 => _510(email)]);
|
|
19177
19195
|
setEmail("");
|
|
19178
19196
|
} catch (err) {
|
|
19179
19197
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
19180
19198
|
_chunkXAWKRNYMjs.showError.call(void 0, error2.message);
|
|
19181
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
19199
|
+
_optionalChain([onInviteError, 'optionalCall', _511 => _511(error2)]);
|
|
19182
19200
|
}
|
|
19183
19201
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
19184
19202
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19932,7 +19950,7 @@ function OAuthClientList({
|
|
|
19932
19950
|
OAuthClientCard,
|
|
19933
19951
|
{
|
|
19934
19952
|
client,
|
|
19935
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
19953
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _512 => _512(client)]),
|
|
19936
19954
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19937
19955
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
19938
19956
|
},
|
|
@@ -19948,11 +19966,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
19948
19966
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
19949
19967
|
const isEditMode = !!client;
|
|
19950
19968
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
19951
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
19952
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
19953
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
19954
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
19955
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
19969
|
+
name: _optionalChain([client, 'optionalAccess', _513 => _513.name]) || "",
|
|
19970
|
+
description: _optionalChain([client, 'optionalAccess', _514 => _514.description]) || "",
|
|
19971
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _515 => _515.redirectUris, 'optionalAccess', _516 => _516.length]) ? client.redirectUris : [""],
|
|
19972
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _517 => _517.allowedScopes]) || [],
|
|
19973
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _518 => _518.isConfidential]), () => ( true))
|
|
19956
19974
|
});
|
|
19957
19975
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
19958
19976
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -20180,7 +20198,7 @@ function OAuthClientDetail({
|
|
|
20180
20198
|
] }),
|
|
20181
20199
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20182
20200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
20183
|
-
/* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access',
|
|
20201
|
+
/* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _519 => _519[scope], 'optionalAccess', _520 => _520.name]) || scope }, scope)) })
|
|
20184
20202
|
] }),
|
|
20185
20203
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20186
20204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20324,7 +20342,7 @@ function OAuthConsentScreen({
|
|
|
20324
20342
|
if (error || !clientInfo) {
|
|
20325
20343
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
|
|
20326
20344
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _521 => _521.message]) || "Invalid authorization request. Please try again." })
|
|
20328
20346
|
] }) }) }) });
|
|
20329
20347
|
}
|
|
20330
20348
|
const { client, scopes } = clientInfo;
|
|
@@ -20540,7 +20558,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20540
20558
|
questionnaire: values.questionnaire
|
|
20541
20559
|
});
|
|
20542
20560
|
setIsSuccess(true);
|
|
20543
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20561
|
+
_optionalChain([onSuccess, 'optionalCall', _522 => _522()]);
|
|
20544
20562
|
} catch (e) {
|
|
20545
20563
|
errorToast({ error: e });
|
|
20546
20564
|
} finally {
|
|
@@ -21178,7 +21196,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
21178
21196
|
] }),
|
|
21179
21197
|
roleIds.map((roleId) => {
|
|
21180
21198
|
const roleTokens = block[roleId];
|
|
21181
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21199
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _523 => _523[roleId]]), () => ( roleId));
|
|
21182
21200
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21183
21201
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
21184
21202
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21215,7 +21233,7 @@ function RbacContainer() {
|
|
|
21215
21233
|
}, []);
|
|
21216
21234
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21217
21235
|
if (!matrix) return [];
|
|
21218
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21236
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _524 => _524[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _525 => _525[b]]), () => ( b))));
|
|
21219
21237
|
}, [matrix, moduleNames]);
|
|
21220
21238
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
21221
21239
|
if (roleNames) {
|
|
@@ -21278,7 +21296,7 @@ function RbacContainer() {
|
|
|
21278
21296
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21279
21297
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21280
21298
|
),
|
|
21281
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21299
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _526 => _526[id]]), () => ( id))
|
|
21282
21300
|
}
|
|
21283
21301
|
) }, id)) }) }),
|
|
21284
21302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21286,7 +21304,7 @@ function RbacContainer() {
|
|
|
21286
21304
|
{
|
|
21287
21305
|
moduleId: selectedModuleId,
|
|
21288
21306
|
block: selectedBlock,
|
|
21289
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21307
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _527 => _527[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21290
21308
|
roleIds,
|
|
21291
21309
|
roleNames,
|
|
21292
21310
|
onOpenPicker: openPicker
|
|
@@ -21297,12 +21315,12 @@ function RbacContainer() {
|
|
|
21297
21315
|
RbacPermissionPicker,
|
|
21298
21316
|
{
|
|
21299
21317
|
open: !!activePicker,
|
|
21300
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21318
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _528 => _528.anchor]), () => ( null)),
|
|
21301
21319
|
value: activeValue,
|
|
21302
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21320
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _529 => _529.isRoleColumn]), () => ( false)),
|
|
21303
21321
|
knownSegments: activeSegments,
|
|
21304
21322
|
onSetValue: handleSetValue,
|
|
21305
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21323
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _530 => _530.isRoleColumn]) ? handleClear : void 0,
|
|
21306
21324
|
onClose: closePicker
|
|
21307
21325
|
}
|
|
21308
21326
|
)
|
|
@@ -21369,7 +21387,7 @@ function RbacByRoleContainer() {
|
|
|
21369
21387
|
}, [roleNames]);
|
|
21370
21388
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21371
21389
|
if (!matrix) return [];
|
|
21372
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21390
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _531 => _531[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _532 => _532[b]]), () => ( b))));
|
|
21373
21391
|
}, [matrix, moduleNames]);
|
|
21374
21392
|
_react.useEffect.call(void 0, () => {
|
|
21375
21393
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21418,7 +21436,7 @@ function RbacByRoleContainer() {
|
|
|
21418
21436
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21419
21437
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21420
21438
|
),
|
|
21421
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21439
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _533 => _533[id]]), () => ( id))
|
|
21422
21440
|
}
|
|
21423
21441
|
) }, id)) }) }),
|
|
21424
21442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: sortedModuleIds.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-accent bg-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "table", { className: "w-full text-sm", children: [
|
|
@@ -21438,7 +21456,7 @@ function RbacByRoleContainer() {
|
|
|
21438
21456
|
if (!block) return null;
|
|
21439
21457
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21440
21458
|
const roleTokens = block[selectedRoleId];
|
|
21441
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21459
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _534 => _534[moduleId]]), () => ( moduleId));
|
|
21442
21460
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21443
21461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21444
21462
|
"td",
|
|
@@ -21453,7 +21471,7 @@ function RbacByRoleContainer() {
|
|
|
21453
21471
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
|
|
21454
21472
|
] }),
|
|
21455
21473
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _535 => _535[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21457
21475
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21458
21476
|
CellButton3,
|
|
21459
21477
|
{
|
|
@@ -21474,12 +21492,12 @@ function RbacByRoleContainer() {
|
|
|
21474
21492
|
RbacPermissionPicker,
|
|
21475
21493
|
{
|
|
21476
21494
|
open: !!activePicker,
|
|
21477
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21495
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _536 => _536.anchor]), () => ( null)),
|
|
21478
21496
|
value: activeValue,
|
|
21479
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21497
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _537 => _537.isRoleColumn]), () => ( false)),
|
|
21480
21498
|
knownSegments: activeSegments,
|
|
21481
21499
|
onSetValue: handleSetValue,
|
|
21482
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21500
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _538 => _538.isRoleColumn]) ? handleClear : void 0,
|
|
21483
21501
|
onClose: closePicker
|
|
21484
21502
|
}
|
|
21485
21503
|
)
|
|
@@ -22000,4 +22018,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
22000
22018
|
|
|
22001
22019
|
|
|
22002
22020
|
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 = useDebounce2; 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.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.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; 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.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.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; 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.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; 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.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; 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.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; 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.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; 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.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
22003
|
-
//# sourceMappingURL=chunk-
|
|
22021
|
+
//# sourceMappingURL=chunk-62RBZ55N.js.map
|