@carlonicora/nextjs-jsonapi 1.97.0 → 1.97.2
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-AZLHXACL.mjs → BlockNoteEditor-LRJUTHTW.mjs} +2 -2
- package/dist/{BlockNoteEditor-MTFUVZ2D.js → BlockNoteEditor-OOZGXU6E.js} +9 -9
- package/dist/{BlockNoteEditor-MTFUVZ2D.js.map → BlockNoteEditor-OOZGXU6E.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-6EJDIVHH.js → chunk-HCOX3PKM.js} +120 -94
- package/dist/chunk-HCOX3PKM.js.map +1 -0
- package/dist/{chunk-247QIVUN.mjs → chunk-XYGK26YG.mjs} +84 -58
- package/dist/chunk-XYGK26YG.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- 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/BlockNoteEditorSuggestionMenuController.tsx +38 -3
- package/dist/chunk-247QIVUN.mjs.map +0 -1
- package/dist/chunk-6EJDIVHH.js.map +0 -1
- /package/dist/{BlockNoteEditor-AZLHXACL.mjs.map → BlockNoteEditor-LRJUTHTW.mjs.map} +0 -0
|
@@ -9226,7 +9226,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9226
9226
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9227
9227
|
|
|
9228
9228
|
|
|
9229
|
-
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-OOZGXU6E.js"))), {
|
|
9230
9230
|
ssr: false
|
|
9231
9231
|
});
|
|
9232
9232
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -13791,6 +13791,7 @@ var _react6 = require('@floating-ui/react');
|
|
|
13791
13791
|
|
|
13792
13792
|
var MentionInsertContext = React.default.createContext(null);
|
|
13793
13793
|
var useMentionInsert = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => React.default.useContext(MentionInsertContext), "useMentionInsert");
|
|
13794
|
+
var KEEP_OPEN_SENTINEL_TITLE = "__blocknote_mention_keep_open__";
|
|
13794
13795
|
function BlockNoteEditorMentionSuggestionMenu({
|
|
13795
13796
|
editor,
|
|
13796
13797
|
mentionSearchFn,
|
|
@@ -13812,7 +13813,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
13812
13813
|
const getItems = _react.useCallback.call(void 0,
|
|
13813
13814
|
async (query) => {
|
|
13814
13815
|
const results = await mentionSearchFn(query, mentionSearchParams);
|
|
13815
|
-
|
|
13816
|
+
const items = results.map((item) => ({
|
|
13816
13817
|
title: item.name,
|
|
13817
13818
|
subtext: item.entityType,
|
|
13818
13819
|
icon: item.icon,
|
|
@@ -13830,15 +13831,40 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
13830
13831
|
]);
|
|
13831
13832
|
}, "onItemClick")
|
|
13832
13833
|
}));
|
|
13834
|
+
if (items.length === 0) {
|
|
13835
|
+
items.push({ title: KEEP_OPEN_SENTINEL_TITLE, onItemClick: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
13836
|
+
}, "onItemClick") });
|
|
13837
|
+
}
|
|
13838
|
+
return items;
|
|
13833
13839
|
},
|
|
13834
13840
|
[editor, mentionSearchFn, mentionSearchParams]
|
|
13835
13841
|
);
|
|
13842
|
+
const wrappedSuggestionMenuComponent = _react.useMemo.call(void 0, () => {
|
|
13843
|
+
if (!suggestionMenuComponent) return void 0;
|
|
13844
|
+
const Component2 = suggestionMenuComponent;
|
|
13845
|
+
const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
13846
|
+
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _387 => _387.items, 'access', _388 => _388[0], 'optionalAccess', _389 => _389.title]) === KEEP_OPEN_SENTINEL_TITLE;
|
|
13847
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13848
|
+
Component2,
|
|
13849
|
+
{
|
|
13850
|
+
...props,
|
|
13851
|
+
items: isSentinelOnly ? [] : props.items,
|
|
13852
|
+
selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
|
|
13853
|
+
onItemClick: (item) => {
|
|
13854
|
+
if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
|
|
13855
|
+
_optionalChain([props, 'access', _390 => _390.onItemClick, 'optionalCall', _391 => _391(item)]);
|
|
13856
|
+
}
|
|
13857
|
+
}
|
|
13858
|
+
);
|
|
13859
|
+
}, "Wrapped");
|
|
13860
|
+
return Wrapped;
|
|
13861
|
+
}, [suggestionMenuComponent]);
|
|
13836
13862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MentionInsertContext.Provider, { value: onMentionInsert, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blocknote-suggestion-container", style: { position: "static" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13837
13863
|
_react4.SuggestionMenuController,
|
|
13838
13864
|
{
|
|
13839
13865
|
triggerCharacter: "@",
|
|
13840
13866
|
getItems,
|
|
13841
|
-
suggestionMenuComponent,
|
|
13867
|
+
suggestionMenuComponent: wrappedSuggestionMenuComponent,
|
|
13842
13868
|
floatingUIOptions: {
|
|
13843
13869
|
useFloatingOptions: {
|
|
13844
13870
|
strategy: "fixed",
|
|
@@ -14011,10 +14037,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
14011
14037
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14012
14038
|
Checkbox,
|
|
14013
14039
|
{
|
|
14014
|
-
checked: _optionalChain([params, 'access',
|
|
14040
|
+
checked: _optionalChain([params, 'access', _392 => _392.checkedIds, 'optionalAccess', _393 => _393.includes, 'call', _394 => _394(row.getValue(params.name))]) || false,
|
|
14015
14041
|
onCheckedChange: (value) => {
|
|
14016
14042
|
row.toggleSelected(!!value);
|
|
14017
|
-
_optionalChain([params, 'access',
|
|
14043
|
+
_optionalChain([params, 'access', _395 => _395.toggleId, 'optionalCall', _396 => _396(row.getValue(params.name))]);
|
|
14018
14044
|
},
|
|
14019
14045
|
"aria-label": "Select row"
|
|
14020
14046
|
}
|
|
@@ -14073,7 +14099,7 @@ function useJsonApiGet(params) {
|
|
|
14073
14099
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
14074
14100
|
const isMounted = _react.useRef.call(void 0, true);
|
|
14075
14101
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
14076
|
-
if (_optionalChain([params, 'access',
|
|
14102
|
+
if (_optionalChain([params, 'access', _397 => _397.options, 'optionalAccess', _398 => _398.enabled]) === false) return;
|
|
14077
14103
|
setLoading(true);
|
|
14078
14104
|
setError(null);
|
|
14079
14105
|
try {
|
|
@@ -14100,9 +14126,9 @@ function useJsonApiGet(params) {
|
|
|
14100
14126
|
setLoading(false);
|
|
14101
14127
|
}
|
|
14102
14128
|
}
|
|
14103
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
14129
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _399 => _399.options, 'optionalAccess', _400 => _400.enabled])]);
|
|
14104
14130
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
14105
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14131
|
+
if (!_optionalChain([response, 'optionalAccess', _401 => _401.nextPage])) return;
|
|
14106
14132
|
setLoading(true);
|
|
14107
14133
|
try {
|
|
14108
14134
|
const nextResponse = await response.nextPage();
|
|
@@ -14123,7 +14149,7 @@ function useJsonApiGet(params) {
|
|
|
14123
14149
|
}
|
|
14124
14150
|
}, [response]);
|
|
14125
14151
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
14126
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14152
|
+
if (!_optionalChain([response, 'optionalAccess', _402 => _402.prevPage])) return;
|
|
14127
14153
|
setLoading(true);
|
|
14128
14154
|
try {
|
|
14129
14155
|
const prevResponse = await response.prevPage();
|
|
@@ -14149,15 +14175,15 @@ function useJsonApiGet(params) {
|
|
|
14149
14175
|
return () => {
|
|
14150
14176
|
isMounted.current = false;
|
|
14151
14177
|
};
|
|
14152
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
14178
|
+
}, [fetchData, ..._optionalChain([params, 'access', _403 => _403.options, 'optionalAccess', _404 => _404.deps]) || []]);
|
|
14153
14179
|
return {
|
|
14154
14180
|
data,
|
|
14155
14181
|
loading,
|
|
14156
14182
|
error,
|
|
14157
14183
|
response,
|
|
14158
14184
|
refetch: fetchData,
|
|
14159
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
14160
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
14185
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _405 => _405.next]),
|
|
14186
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _406 => _406.prev]),
|
|
14161
14187
|
fetchNextPage,
|
|
14162
14188
|
fetchPreviousPage
|
|
14163
14189
|
};
|
|
@@ -14235,17 +14261,17 @@ function useJsonApiMutation(config) {
|
|
|
14235
14261
|
if (apiResponse.ok) {
|
|
14236
14262
|
const resultData = apiResponse.data;
|
|
14237
14263
|
setData(resultData);
|
|
14238
|
-
_optionalChain([config, 'access',
|
|
14264
|
+
_optionalChain([config, 'access', _407 => _407.onSuccess, 'optionalCall', _408 => _408(resultData)]);
|
|
14239
14265
|
return resultData;
|
|
14240
14266
|
} else {
|
|
14241
14267
|
setError(apiResponse.error);
|
|
14242
|
-
_optionalChain([config, 'access',
|
|
14268
|
+
_optionalChain([config, 'access', _409 => _409.onError, 'optionalCall', _410 => _410(apiResponse.error)]);
|
|
14243
14269
|
return null;
|
|
14244
14270
|
}
|
|
14245
14271
|
} catch (err) {
|
|
14246
14272
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
14247
14273
|
setError(errorMessage);
|
|
14248
|
-
_optionalChain([config, 'access',
|
|
14274
|
+
_optionalChain([config, 'access', _411 => _411.onError, 'optionalCall', _412 => _412(errorMessage)]);
|
|
14249
14275
|
return null;
|
|
14250
14276
|
} finally {
|
|
14251
14277
|
setLoading(false);
|
|
@@ -14318,7 +14344,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14318
14344
|
{
|
|
14319
14345
|
href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14320
14346
|
page: "/administration",
|
|
14321
|
-
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access',
|
|
14347
|
+
id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _413 => _413.Company, 'access', _414 => _414.pageUrl, 'optionalAccess', _415 => _415.substring, 'call', _416 => _416(1)]),
|
|
14322
14348
|
childPage: company.id
|
|
14323
14349
|
}) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
|
|
14324
14350
|
children: row.getValue("name")
|
|
@@ -14334,7 +14360,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14334
14360
|
})
|
|
14335
14361
|
};
|
|
14336
14362
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14337
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14363
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _417 => _417[field], 'optionalCall', _418 => _418()])).filter((col) => col !== void 0);
|
|
14338
14364
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14339
14365
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14340
14366
|
}, "useCompanyTableStructure");
|
|
@@ -14346,7 +14372,7 @@ var GRACE_DAYS = 3;
|
|
|
14346
14372
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14347
14373
|
if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
|
|
14348
14374
|
const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
|
|
14349
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14375
|
+
return !!_optionalChain([currentUser, 'access', _419 => _419.roles, 'optionalAccess', _420 => _420.some, 'call', _421 => _421((role) => role.id === adminRoleId)]);
|
|
14350
14376
|
}, "isAdministrator");
|
|
14351
14377
|
function useSubscriptionStatus() {
|
|
14352
14378
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14463,7 +14489,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14463
14489
|
})
|
|
14464
14490
|
};
|
|
14465
14491
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14466
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14492
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _422 => _422[field], 'optionalCall', _423 => _423()])).filter((col) => col !== void 0);
|
|
14467
14493
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14468
14494
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14469
14495
|
}, "useRoleTableStructure");
|
|
@@ -14564,11 +14590,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14564
14590
|
return params.fields.map((field) => {
|
|
14565
14591
|
const localHandler = fieldColumnMap[field];
|
|
14566
14592
|
if (localHandler) return localHandler();
|
|
14567
|
-
const customHandler = _optionalChain([params, 'access',
|
|
14593
|
+
const customHandler = _optionalChain([params, 'access', _424 => _424.context, 'optionalAccess', _425 => _425.customCells, 'optionalAccess', _426 => _426[field]]);
|
|
14568
14594
|
if (customHandler) return customHandler({ t });
|
|
14569
14595
|
return void 0;
|
|
14570
14596
|
}).filter((col) => col !== void 0);
|
|
14571
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
14597
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _427 => _427.context, 'optionalAccess', _428 => _428.customCells])]);
|
|
14572
14598
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14573
14599
|
}, "useContentTableStructure");
|
|
14574
14600
|
|
|
@@ -14903,7 +14929,7 @@ function ContentTableSearch({ data }) {
|
|
|
14903
14929
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
14904
14930
|
if (!isExpanded) {
|
|
14905
14931
|
setIsFocused(true);
|
|
14906
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
14932
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _429 => _429.current, 'optionalAccess', _430 => _430.focus, 'call', _431 => _431()]), 50);
|
|
14907
14933
|
}
|
|
14908
14934
|
}, "handleSearchIconClick");
|
|
14909
14935
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -14980,7 +15006,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
14980
15006
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
14981
15007
|
);
|
|
14982
15008
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
14983
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
15009
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _432 => _432.data]), () => ( EMPTY_ARRAY)),
|
|
14984
15010
|
fields,
|
|
14985
15011
|
checkedIds,
|
|
14986
15012
|
toggleId,
|
|
@@ -15013,7 +15039,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15013
15039
|
});
|
|
15014
15040
|
const rowModel = tableData ? table.getRowModel() : null;
|
|
15015
15041
|
const groupedRows = _react.useMemo.call(void 0, () => {
|
|
15016
|
-
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess',
|
|
15042
|
+
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _433 => _433.rows, 'optionalAccess', _434 => _434.length])) return null;
|
|
15017
15043
|
const groupMap = /* @__PURE__ */ new Map();
|
|
15018
15044
|
for (const row of rowModel.rows) {
|
|
15019
15045
|
const keys = getGroupKeys(row.original, props.groupBy);
|
|
@@ -15069,10 +15095,10 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15069
15095
|
) }),
|
|
15070
15096
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
15071
15097
|
const meta = header.column.columnDef.meta;
|
|
15072
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
15098
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _435 => _435.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
15073
15099
|
}) }, headerGroup.id))
|
|
15074
15100
|
] }),
|
|
15075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
15101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _436 => _436.rows, 'optionalAccess', _437 => _437.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
|
|
15076
15102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15077
15103
|
TableCell,
|
|
15078
15104
|
{
|
|
@@ -15083,11 +15109,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15083
15109
|
) }),
|
|
15084
15110
|
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
15085
15111
|
const meta = cell.column.columnDef.meta;
|
|
15086
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
15112
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _438 => _438.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
15087
15113
|
}) }, row.id))
|
|
15088
15114
|
] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
15089
15115
|
const meta = cell.column.columnDef.meta;
|
|
15090
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
15116
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _439 => _439.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
15091
15117
|
}) }, 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." }) }) }),
|
|
15092
15118
|
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: [
|
|
15093
15119
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15097,7 +15123,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15097
15123
|
size: "sm",
|
|
15098
15124
|
onClick: (e) => {
|
|
15099
15125
|
e.preventDefault();
|
|
15100
|
-
_optionalChain([data, 'access',
|
|
15126
|
+
_optionalChain([data, 'access', _440 => _440.previous, 'optionalCall', _441 => _441(true)]);
|
|
15101
15127
|
},
|
|
15102
15128
|
disabled: !data.previous,
|
|
15103
15129
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -15111,7 +15137,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15111
15137
|
size: "sm",
|
|
15112
15138
|
onClick: (e) => {
|
|
15113
15139
|
e.preventDefault();
|
|
15114
|
-
_optionalChain([data, 'access',
|
|
15140
|
+
_optionalChain([data, 'access', _442 => _442.next, 'optionalCall', _443 => _443(true)]);
|
|
15115
15141
|
},
|
|
15116
15142
|
disabled: !data.next,
|
|
15117
15143
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -15132,7 +15158,7 @@ function ContentListGrid(props) {
|
|
|
15132
15158
|
if (!data.next || !sentinelRef.current) return;
|
|
15133
15159
|
const observer = new IntersectionObserver(
|
|
15134
15160
|
(entries) => {
|
|
15135
|
-
if (_optionalChain([entries, 'access',
|
|
15161
|
+
if (_optionalChain([entries, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.isIntersecting])) _optionalChain([data, 'access', _446 => _446.next, 'optionalCall', _447 => _447()]);
|
|
15136
15162
|
},
|
|
15137
15163
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
15138
15164
|
);
|
|
@@ -15882,7 +15908,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15882
15908
|
newDigits[index] = digit;
|
|
15883
15909
|
setDigits(newDigits);
|
|
15884
15910
|
if (digit && index < 5) {
|
|
15885
|
-
_optionalChain([inputRefs, 'access',
|
|
15911
|
+
_optionalChain([inputRefs, 'access', _448 => _448.current, 'access', _449 => _449[index + 1], 'optionalAccess', _450 => _450.focus, 'call', _451 => _451()]);
|
|
15886
15912
|
}
|
|
15887
15913
|
const code = newDigits.join("");
|
|
15888
15914
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -15891,7 +15917,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15891
15917
|
}, "handleChange");
|
|
15892
15918
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
15893
15919
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
15894
|
-
_optionalChain([inputRefs, 'access',
|
|
15920
|
+
_optionalChain([inputRefs, 'access', _452 => _452.current, 'access', _453 => _453[index - 1], 'optionalAccess', _454 => _454.focus, 'call', _455 => _455()]);
|
|
15895
15921
|
}
|
|
15896
15922
|
}, "handleKeyDown");
|
|
15897
15923
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -15900,7 +15926,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
15900
15926
|
if (pastedData.length === 6) {
|
|
15901
15927
|
const newDigits = pastedData.split("");
|
|
15902
15928
|
setDigits(newDigits);
|
|
15903
|
-
_optionalChain([inputRefs, 'access',
|
|
15929
|
+
_optionalChain([inputRefs, 'access', _456 => _456.current, 'access', _457 => _457[5], 'optionalAccess', _458 => _458.focus, 'call', _459 => _459()]);
|
|
15904
15930
|
onComplete(pastedData);
|
|
15905
15931
|
}
|
|
15906
15932
|
}, "handlePaste");
|
|
@@ -16111,8 +16137,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
16111
16137
|
try {
|
|
16112
16138
|
const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
|
|
16113
16139
|
id: _uuid.v4.call(void 0, ),
|
|
16114
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16115
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
16140
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _460 => _460.email]), () => ( "")),
|
|
16141
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _461 => _461.name])
|
|
16116
16142
|
});
|
|
16117
16143
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
16118
16144
|
await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -16263,7 +16289,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
16263
16289
|
const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
|
|
16264
16290
|
id: _uuid.v4.call(void 0, ),
|
|
16265
16291
|
name: name.trim(),
|
|
16266
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16292
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _462 => _462.email]), () => ( ""))
|
|
16267
16293
|
});
|
|
16268
16294
|
setQrCodeUri(setup.qrCodeUri);
|
|
16269
16295
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16397,7 +16423,7 @@ function TwoFactorSettings() {
|
|
|
16397
16423
|
if (isLoading) {
|
|
16398
16424
|
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") }) }) });
|
|
16399
16425
|
}
|
|
16400
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16426
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _463 => _463.isEnabled]), () => ( false));
|
|
16401
16427
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16402
16428
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16403
16429
|
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" }),
|
|
@@ -16435,7 +16461,7 @@ function TwoFactorSettings() {
|
|
|
16435
16461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16436
16462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16437
16463
|
] }),
|
|
16438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16464
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _464 => _464.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16439
16465
|
] }) }),
|
|
16440
16466
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16441
16467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -16613,9 +16639,9 @@ function AcceptInvitation() {
|
|
|
16613
16639
|
});
|
|
16614
16640
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
16615
16641
|
try {
|
|
16616
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
16642
|
+
if (!_optionalChain([params, 'optionalAccess', _465 => _465.code])) return;
|
|
16617
16643
|
const payload = {
|
|
16618
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
16644
|
+
code: _optionalChain([params, 'optionalAccess', _466 => _466.code]),
|
|
16619
16645
|
password: values.password
|
|
16620
16646
|
};
|
|
16621
16647
|
await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
|
|
@@ -16965,7 +16991,7 @@ function Logout({ storageKeys }) {
|
|
|
16965
16991
|
const generateUrl = usePageUrlGenerator();
|
|
16966
16992
|
_react.useEffect.call(void 0, () => {
|
|
16967
16993
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
16968
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
16994
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _467 => _467.length])) {
|
|
16969
16995
|
clearClientStorage(storageKeys);
|
|
16970
16996
|
}
|
|
16971
16997
|
await _chunkXAWKRNYMjs.AuthService.logout();
|
|
@@ -16988,14 +17014,14 @@ function RefreshUser() {
|
|
|
16988
17014
|
setUser(fullUser);
|
|
16989
17015
|
const token = {
|
|
16990
17016
|
userId: fullUser.id,
|
|
16991
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
17017
|
+
companyId: _optionalChain([fullUser, 'access', _468 => _468.company, 'optionalAccess', _469 => _469.id]),
|
|
16992
17018
|
roles: fullUser.roles.map((role) => role.id),
|
|
16993
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
17019
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _470 => _470.company, 'optionalAccess', _471 => _471.features, 'optionalAccess', _472 => _472.map, 'call', _473 => _473((feature) => feature.id)]), () => ( [])),
|
|
16994
17020
|
modules: fullUser.modules.map((module) => {
|
|
16995
17021
|
return { id: module.id, permissions: module.permissions };
|
|
16996
17022
|
})
|
|
16997
17023
|
};
|
|
16998
|
-
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
17024
|
+
await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _474 => _474.updateToken, 'call', _475 => _475(token)]);
|
|
16999
17025
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
17000
17026
|
}
|
|
17001
17027
|
}, "loadFullUser");
|
|
@@ -17059,9 +17085,9 @@ function ResetPassword() {
|
|
|
17059
17085
|
});
|
|
17060
17086
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
17061
17087
|
try {
|
|
17062
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
17088
|
+
if (!_optionalChain([params, 'optionalAccess', _476 => _476.code])) return;
|
|
17063
17089
|
const payload = {
|
|
17064
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
17090
|
+
code: _optionalChain([params, 'optionalAccess', _477 => _477.code]),
|
|
17065
17091
|
password: values.password
|
|
17066
17092
|
};
|
|
17067
17093
|
await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
|
|
@@ -17410,7 +17436,7 @@ function extractHeadings(blocks) {
|
|
|
17410
17436
|
function processBlocks(blockArray) {
|
|
17411
17437
|
for (const block of blockArray) {
|
|
17412
17438
|
if (block.type === "heading") {
|
|
17413
|
-
const level = _optionalChain([block, 'access',
|
|
17439
|
+
const level = _optionalChain([block, 'access', _478 => _478.props, 'optionalAccess', _479 => _479.level]) || 1;
|
|
17414
17440
|
const text = extractTextFromContent(block.content);
|
|
17415
17441
|
if (text.trim()) {
|
|
17416
17442
|
headings.push({
|
|
@@ -17753,7 +17779,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
17753
17779
|
})
|
|
17754
17780
|
};
|
|
17755
17781
|
const columns = _react.useMemo.call(void 0, () => {
|
|
17756
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
17782
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _480 => _480[field], 'optionalCall', _481 => _481()])).filter((col) => col !== void 0);
|
|
17757
17783
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
17758
17784
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
17759
17785
|
}, "useHowToTableStructure");
|
|
@@ -17819,7 +17845,7 @@ function HowToMultiSelector({
|
|
|
17819
17845
|
retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
|
|
17820
17846
|
module: _chunkXAWKRNYMjs.Modules.HowTo,
|
|
17821
17847
|
getLabel: (howTo) => howTo.name,
|
|
17822
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
17848
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _482 => _482.id]),
|
|
17823
17849
|
onChange
|
|
17824
17850
|
}
|
|
17825
17851
|
);
|
|
@@ -17884,7 +17910,7 @@ function HowToSelector({
|
|
|
17884
17910
|
}, "setHowTo");
|
|
17885
17911
|
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: [
|
|
17886
17912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
17887
|
-
/* @__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',
|
|
17913
|
+
/* @__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', _483 => _483.value, 'optionalAccess', _484 => _484.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 }) }))) }) }) }),
|
|
17888
17914
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17889
17915
|
_lucidereact.CircleX,
|
|
17890
17916
|
{
|
|
@@ -18239,9 +18265,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
18239
18265
|
] }) }),
|
|
18240
18266
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
18241
18267
|
const isOpen = expanded.has(chunk.id);
|
|
18242
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
18268
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _485 => _485.get, 'call', _486 => _486(chunk.nodeId)]) : void 0;
|
|
18243
18269
|
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")));
|
|
18244
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
18270
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _487 => _487.name]), () => ( fallbackName));
|
|
18245
18271
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
18246
18272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
18247
18273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18288,7 +18314,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18288
18314
|
for (const c of citations) {
|
|
18289
18315
|
const id = c.nodeId;
|
|
18290
18316
|
if (!id) continue;
|
|
18291
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18317
|
+
const source = _optionalChain([sources, 'optionalAccess', _488 => _488.get, 'call', _489 => _489(id)]);
|
|
18292
18318
|
if (!source) continue;
|
|
18293
18319
|
const existing = map.get(id);
|
|
18294
18320
|
if (existing) {
|
|
@@ -18353,7 +18379,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18353
18379
|
const generate = usePageUrlGenerator();
|
|
18354
18380
|
const userMap = /* @__PURE__ */ new Map();
|
|
18355
18381
|
for (const u of users) {
|
|
18356
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18382
|
+
if (!_optionalChain([u, 'optionalAccess', _490 => _490.id])) continue;
|
|
18357
18383
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18358
18384
|
}
|
|
18359
18385
|
if (citations && sources) {
|
|
@@ -18457,7 +18483,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18457
18483
|
}
|
|
18458
18484
|
return ids.size;
|
|
18459
18485
|
}, [message.citations, sources]);
|
|
18460
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18486
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _491 => _491.length]), () => ( 0));
|
|
18461
18487
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18462
18488
|
const visibleTabs = [];
|
|
18463
18489
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18516,8 +18542,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
|
|
|
18516
18542
|
static async findManyByIds(params) {
|
|
18517
18543
|
const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
|
|
18518
18544
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18519
|
-
if (_optionalChain([params, 'access',
|
|
18520
|
-
if (_optionalChain([params, 'access',
|
|
18545
|
+
if (_optionalChain([params, 'access', _492 => _492.module, 'access', _493 => _493.inclusions, 'optionalAccess', _494 => _494.lists, 'optionalAccess', _495 => _495.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18546
|
+
if (_optionalChain([params, 'access', _496 => _496.module, 'access', _497 => _497.inclusions, 'optionalAccess', _498 => _498.lists, 'optionalAccess', _499 => _499.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18521
18547
|
return this.callApi({
|
|
18522
18548
|
type: params.module,
|
|
18523
18549
|
method: "GET" /* GET */,
|
|
@@ -18596,7 +18622,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
18596
18622
|
return void 0;
|
|
18597
18623
|
}
|
|
18598
18624
|
})()));
|
|
18599
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
18625
|
+
if (_optionalChain([author, 'optionalAccess', _500 => _500.id])) userMap.set(author.id, author);
|
|
18600
18626
|
}
|
|
18601
18627
|
return Array.from(userMap.values());
|
|
18602
18628
|
}, [resolved]);
|
|
@@ -18618,14 +18644,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
18618
18644
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18619
18645
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
18620
18646
|
const isUser = message.role === "user";
|
|
18621
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
18647
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _501 => _501.has, 'call', _502 => _502(message.id)]);
|
|
18622
18648
|
if (isUser) {
|
|
18623
18649
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
18624
18650
|
/* @__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 }),
|
|
18625
18651
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
18626
18652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
18627
18653
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
18628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
18654
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _503 => _503(message.id)]), children: t("features.assistant.retry") })
|
|
18629
18655
|
] })
|
|
18630
18656
|
] });
|
|
18631
18657
|
}
|
|
@@ -18691,7 +18717,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
18691
18717
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
18692
18718
|
const endRef = _react.useRef.call(void 0, null);
|
|
18693
18719
|
_react.useEffect.call(void 0, () => {
|
|
18694
|
-
_optionalChain([endRef, 'access',
|
|
18720
|
+
_optionalChain([endRef, 'access', _504 => _504.current, 'optionalAccess', _505 => _505.scrollIntoView, 'call', _506 => _506({ behavior: "smooth" })]);
|
|
18695
18721
|
}, [messages.length, sending]);
|
|
18696
18722
|
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: [
|
|
18697
18723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18719,7 +18745,7 @@ function AssistantContainer() {
|
|
|
18719
18745
|
AssistantSidebar,
|
|
18720
18746
|
{
|
|
18721
18747
|
threads: ctx.threads,
|
|
18722
|
-
activeId: _optionalChain([ctx, 'access',
|
|
18748
|
+
activeId: _optionalChain([ctx, 'access', _507 => _507.assistant, 'optionalAccess', _508 => _508.id]),
|
|
18723
18749
|
onSelect: ctx.selectThread,
|
|
18724
18750
|
onNew: ctx.startNew
|
|
18725
18751
|
}
|
|
@@ -18812,14 +18838,14 @@ function NotificationsList({ archived }) {
|
|
|
18812
18838
|
] }),
|
|
18813
18839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
18814
18840
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
18815
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
18841
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _509 => _509.data, 'optionalAccess', _510 => _510.map, 'call', _511 => _511((notification) => {
|
|
18816
18842
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
18817
18843
|
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: [
|
|
18818
18844
|
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" }),
|
|
18819
18845
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
18820
18846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
18821
18847
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
18822
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
18848
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _512 => _512.actor, 'optionalAccess', _513 => _513.name]), () => ( "")),
|
|
18823
18849
|
title: notificationData.title
|
|
18824
18850
|
}) }),
|
|
18825
18851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -19169,7 +19195,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
19169
19195
|
invalidEmail: "Please enter a valid email address"
|
|
19170
19196
|
};
|
|
19171
19197
|
async function copyToClipboard(text) {
|
|
19172
|
-
if (_optionalChain([navigator, 'access',
|
|
19198
|
+
if (_optionalChain([navigator, 'access', _514 => _514.clipboard, 'optionalAccess', _515 => _515.writeText])) {
|
|
19173
19199
|
try {
|
|
19174
19200
|
await navigator.clipboard.writeText(text);
|
|
19175
19201
|
return true;
|
|
@@ -19211,7 +19237,7 @@ function ReferralWidget({
|
|
|
19211
19237
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
19212
19238
|
const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
|
|
19213
19239
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
19214
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
19240
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _516 => _516.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
19215
19241
|
if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
|
|
19216
19242
|
return null;
|
|
19217
19243
|
}
|
|
@@ -19221,7 +19247,7 @@ function ReferralWidget({
|
|
|
19221
19247
|
if (success) {
|
|
19222
19248
|
setCopied(true);
|
|
19223
19249
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
|
|
19224
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
19250
|
+
_optionalChain([onLinkCopied, 'optionalCall', _517 => _517()]);
|
|
19225
19251
|
setTimeout(() => setCopied(false), 2e3);
|
|
19226
19252
|
} else {
|
|
19227
19253
|
_chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
|
|
@@ -19235,12 +19261,12 @@ function ReferralWidget({
|
|
|
19235
19261
|
try {
|
|
19236
19262
|
await sendInvite(email);
|
|
19237
19263
|
_chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
|
|
19238
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
19264
|
+
_optionalChain([onInviteSent, 'optionalCall', _518 => _518(email)]);
|
|
19239
19265
|
setEmail("");
|
|
19240
19266
|
} catch (err) {
|
|
19241
19267
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
19242
19268
|
_chunkXAWKRNYMjs.showError.call(void 0, error2.message);
|
|
19243
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
19269
|
+
_optionalChain([onInviteError, 'optionalCall', _519 => _519(error2)]);
|
|
19244
19270
|
}
|
|
19245
19271
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
19246
19272
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -19994,7 +20020,7 @@ function OAuthClientList({
|
|
|
19994
20020
|
OAuthClientCard,
|
|
19995
20021
|
{
|
|
19996
20022
|
client,
|
|
19997
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
20023
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _520 => _520(client)]),
|
|
19998
20024
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
19999
20025
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
20000
20026
|
},
|
|
@@ -20010,11 +20036,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
20010
20036
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
20011
20037
|
const isEditMode = !!client;
|
|
20012
20038
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
20013
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
20014
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
20015
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
20016
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
20017
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
20039
|
+
name: _optionalChain([client, 'optionalAccess', _521 => _521.name]) || "",
|
|
20040
|
+
description: _optionalChain([client, 'optionalAccess', _522 => _522.description]) || "",
|
|
20041
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _523 => _523.redirectUris, 'optionalAccess', _524 => _524.length]) ? client.redirectUris : [""],
|
|
20042
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _525 => _525.allowedScopes]) || [],
|
|
20043
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _526 => _526.isConfidential]), () => ( true))
|
|
20018
20044
|
});
|
|
20019
20045
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
20020
20046
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -20242,7 +20268,7 @@ function OAuthClientDetail({
|
|
|
20242
20268
|
] }),
|
|
20243
20269
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20244
20270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
20245
|
-
/* @__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',
|
|
20271
|
+
/* @__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', _527 => _527[scope], 'optionalAccess', _528 => _528.name]) || scope }, scope)) })
|
|
20246
20272
|
] }),
|
|
20247
20273
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20248
20274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20386,7 +20412,7 @@ function OAuthConsentScreen({
|
|
|
20386
20412
|
if (error || !clientInfo) {
|
|
20387
20413
|
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: [
|
|
20388
20414
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _529 => _529.message]) || "Invalid authorization request. Please try again." })
|
|
20390
20416
|
] }) }) }) });
|
|
20391
20417
|
}
|
|
20392
20418
|
const { client, scopes } = clientInfo;
|
|
@@ -20602,7 +20628,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
20602
20628
|
questionnaire: values.questionnaire
|
|
20603
20629
|
});
|
|
20604
20630
|
setIsSuccess(true);
|
|
20605
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
20631
|
+
_optionalChain([onSuccess, 'optionalCall', _530 => _530()]);
|
|
20606
20632
|
} catch (e) {
|
|
20607
20633
|
errorToast({ error: e });
|
|
20608
20634
|
} finally {
|
|
@@ -21240,7 +21266,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
21240
21266
|
] }),
|
|
21241
21267
|
roleIds.map((roleId) => {
|
|
21242
21268
|
const roleTokens = block[roleId];
|
|
21243
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21269
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _531 => _531[roleId]]), () => ( roleId));
|
|
21244
21270
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21245
21271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
21246
21272
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21277,7 +21303,7 @@ function RbacContainer() {
|
|
|
21277
21303
|
}, []);
|
|
21278
21304
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21279
21305
|
if (!matrix) return [];
|
|
21280
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21306
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _532 => _532[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _533 => _533[b]]), () => ( b))));
|
|
21281
21307
|
}, [matrix, moduleNames]);
|
|
21282
21308
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
21283
21309
|
if (roleNames) {
|
|
@@ -21340,7 +21366,7 @@ function RbacContainer() {
|
|
|
21340
21366
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21341
21367
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21342
21368
|
),
|
|
21343
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21369
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _534 => _534[id]]), () => ( id))
|
|
21344
21370
|
}
|
|
21345
21371
|
) }, id)) }) }),
|
|
21346
21372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21348,7 +21374,7 @@ function RbacContainer() {
|
|
|
21348
21374
|
{
|
|
21349
21375
|
moduleId: selectedModuleId,
|
|
21350
21376
|
block: selectedBlock,
|
|
21351
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21377
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _535 => _535[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21352
21378
|
roleIds,
|
|
21353
21379
|
roleNames,
|
|
21354
21380
|
onOpenPicker: openPicker
|
|
@@ -21359,12 +21385,12 @@ function RbacContainer() {
|
|
|
21359
21385
|
RbacPermissionPicker,
|
|
21360
21386
|
{
|
|
21361
21387
|
open: !!activePicker,
|
|
21362
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21388
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _536 => _536.anchor]), () => ( null)),
|
|
21363
21389
|
value: activeValue,
|
|
21364
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21390
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _537 => _537.isRoleColumn]), () => ( false)),
|
|
21365
21391
|
knownSegments: activeSegments,
|
|
21366
21392
|
onSetValue: handleSetValue,
|
|
21367
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21393
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _538 => _538.isRoleColumn]) ? handleClear : void 0,
|
|
21368
21394
|
onClose: closePicker
|
|
21369
21395
|
}
|
|
21370
21396
|
)
|
|
@@ -21431,7 +21457,7 @@ function RbacByRoleContainer() {
|
|
|
21431
21457
|
}, [roleNames]);
|
|
21432
21458
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21433
21459
|
if (!matrix) return [];
|
|
21434
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21460
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _539 => _539[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _540 => _540[b]]), () => ( b))));
|
|
21435
21461
|
}, [matrix, moduleNames]);
|
|
21436
21462
|
_react.useEffect.call(void 0, () => {
|
|
21437
21463
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21480,7 +21506,7 @@ function RbacByRoleContainer() {
|
|
|
21480
21506
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21481
21507
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21482
21508
|
),
|
|
21483
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21509
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _541 => _541[id]]), () => ( id))
|
|
21484
21510
|
}
|
|
21485
21511
|
) }, id)) }) }),
|
|
21486
21512
|
/* @__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: [
|
|
@@ -21500,7 +21526,7 @@ function RbacByRoleContainer() {
|
|
|
21500
21526
|
if (!block) return null;
|
|
21501
21527
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21502
21528
|
const roleTokens = block[selectedRoleId];
|
|
21503
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21529
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _542 => _542[moduleId]]), () => ( moduleId));
|
|
21504
21530
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21505
21531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21506
21532
|
"td",
|
|
@@ -21515,7 +21541,7 @@ function RbacByRoleContainer() {
|
|
|
21515
21541
|
_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))
|
|
21516
21542
|
] }),
|
|
21517
21543
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _543 => _543[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21519
21545
|
_chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21520
21546
|
CellButton3,
|
|
21521
21547
|
{
|
|
@@ -21536,12 +21562,12 @@ function RbacByRoleContainer() {
|
|
|
21536
21562
|
RbacPermissionPicker,
|
|
21537
21563
|
{
|
|
21538
21564
|
open: !!activePicker,
|
|
21539
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21565
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _544 => _544.anchor]), () => ( null)),
|
|
21540
21566
|
value: activeValue,
|
|
21541
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21567
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _545 => _545.isRoleColumn]), () => ( false)),
|
|
21542
21568
|
knownSegments: activeSegments,
|
|
21543
21569
|
onSetValue: handleSetValue,
|
|
21544
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21570
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _546 => _546.isRoleColumn]) ? handleClear : void 0,
|
|
21545
21571
|
onClose: closePicker
|
|
21546
21572
|
}
|
|
21547
21573
|
)
|
|
@@ -22062,4 +22088,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
22062
22088
|
|
|
22063
22089
|
|
|
22064
22090
|
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;
|
|
22065
|
-
//# sourceMappingURL=chunk-
|
|
22091
|
+
//# sourceMappingURL=chunk-HCOX3PKM.js.map
|