@carlonicora/nextjs-jsonapi 1.106.2 → 1.107.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-54ZSYWYM.js → BlockNoteEditor-EAIEASEE.js} +285 -22
- package/dist/BlockNoteEditor-EAIEASEE.js.map +1 -0
- package/dist/{BlockNoteEditor-Z3LF4LFQ.mjs → BlockNoteEditor-U4MWBUCU.mjs} +278 -15
- package/dist/BlockNoteEditor-U4MWBUCU.mjs.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-THZ4W7TG.mjs → chunk-3ER4NXVY.mjs} +31 -4
- package/dist/chunk-3ER4NXVY.mjs.map +1 -0
- package/dist/{chunk-UB7VGH2D.js → chunk-YC2JK36B.js} +131 -104
- package/dist/chunk-YC2JK36B.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +15 -2
- package/dist/components/index.d.ts +15 -2
- package/dist/components/index.js +4 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +3 -1
- package/src/components/editors/BlockNoteEditor.tsx +361 -5
- package/src/components/editors/BlockNoteEditorFormattingToolbar.tsx +4 -1
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +27 -0
- package/src/components/editors/__tests__/BlockNoteEditorMentionInlineContent.test.ts +97 -0
- package/src/components/editors/index.ts +1 -0
- package/src/components/forms/FormBlockNote.tsx +4 -0
- package/dist/BlockNoteEditor-54ZSYWYM.js.map +0 -1
- package/dist/BlockNoteEditor-Z3LF4LFQ.mjs.map +0 -1
- package/dist/chunk-THZ4W7TG.mjs.map +0 -1
- package/dist/chunk-UB7VGH2D.js.map +0 -1
|
@@ -9588,7 +9588,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
9588
9588
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
9589
9589
|
|
|
9590
9590
|
|
|
9591
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
9591
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-EAIEASEE.js"))), {
|
|
9592
9592
|
ssr: false
|
|
9593
9593
|
});
|
|
9594
9594
|
var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -9617,7 +9617,8 @@ function FormBlockNote({
|
|
|
9617
9617
|
mentionResolveFn,
|
|
9618
9618
|
suggestionMenuComponent,
|
|
9619
9619
|
mentionNameResolver,
|
|
9620
|
-
onWarmMentions
|
|
9620
|
+
onWarmMentions,
|
|
9621
|
+
aiConfig
|
|
9621
9622
|
}) {
|
|
9622
9623
|
const initialContentRef = _react.useRef.call(void 0, null);
|
|
9623
9624
|
const lastEditorContentRef = _react.useRef.call(void 0, void 0);
|
|
@@ -9665,6 +9666,8 @@ function FormBlockNote({
|
|
|
9665
9666
|
suggestionMenuComponent,
|
|
9666
9667
|
mentionNameResolver,
|
|
9667
9668
|
onWarmMentions,
|
|
9669
|
+
aiConfig,
|
|
9670
|
+
stretch,
|
|
9668
9671
|
className: _chunkRXXZGPC3js.cn.call(void 0, stretch && "min-h-0 flex-1")
|
|
9669
9672
|
}
|
|
9670
9673
|
);
|
|
@@ -14147,23 +14150,37 @@ var mentionDataAttrs = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (p)
|
|
|
14147
14150
|
"data-mention-type": p.entityType,
|
|
14148
14151
|
"data-mention-alias": p.alias
|
|
14149
14152
|
}), "mentionDataAttrs");
|
|
14153
|
+
var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (element) => {
|
|
14154
|
+
const id = element.getAttribute("data-mention-id");
|
|
14155
|
+
const entityType = element.getAttribute("data-mention-type");
|
|
14156
|
+
const alias = element.getAttribute("data-mention-alias");
|
|
14157
|
+
if (!id || !entityType || !alias) return void 0;
|
|
14158
|
+
return { id, entityType, alias };
|
|
14159
|
+
}, "parseMentionElement");
|
|
14150
14160
|
var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
|
|
14151
|
-
const
|
|
14161
|
+
const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
14152
14162
|
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _403 => _403(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
14163
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-mention-id": props.id, "data-mention-type": props.entityType, "data-mention-alias": props.alias, children: [
|
|
14164
|
+
"@",
|
|
14165
|
+
displayName
|
|
14166
|
+
] });
|
|
14167
|
+
}, "MentionExternalHTML");
|
|
14168
|
+
const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
|
|
14169
|
+
const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _404 => _404(props.id, props.entityType, props.alias)]), () => ( props.alias));
|
|
14153
14170
|
if (disableMention) {
|
|
14154
|
-
const resolved2 = _optionalChain([resolveFn, 'optionalCall',
|
|
14155
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess',
|
|
14171
|
+
const resolved2 = _optionalChain([resolveFn, 'optionalCall', _405 => _405(props.id, props.entityType, displayName)]);
|
|
14172
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _406 => _406.url]), () => ( "#")), className: "text-primary", children: [
|
|
14156
14173
|
"@",
|
|
14157
14174
|
displayName
|
|
14158
14175
|
] });
|
|
14159
14176
|
}
|
|
14160
|
-
const resolved = _optionalChain([resolveFn, 'optionalCall',
|
|
14161
|
-
if (_optionalChain([resolved, 'optionalAccess',
|
|
14177
|
+
const resolved = _optionalChain([resolveFn, 'optionalCall', _407 => _407(props.id, props.entityType, displayName)]);
|
|
14178
|
+
if (_optionalChain([resolved, 'optionalAccess', _408 => _408.Inline])) {
|
|
14162
14179
|
const Custom = resolved.Inline;
|
|
14163
14180
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
|
|
14164
14181
|
}
|
|
14165
|
-
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
14166
|
-
const handleClick = _optionalChain([resolved, 'optionalAccess',
|
|
14182
|
+
const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _409 => _409.url]), () => ( "#"));
|
|
14183
|
+
const handleClick = _optionalChain([resolved, 'optionalAccess', _410 => _410.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
|
|
14167
14184
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14168
14185
|
_link2.default,
|
|
14169
14186
|
{
|
|
@@ -14196,7 +14213,16 @@ var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.cal
|
|
|
14196
14213
|
entityType: props.inlineContent.props.entityType,
|
|
14197
14214
|
alias: props.inlineContent.props.alias
|
|
14198
14215
|
}
|
|
14199
|
-
), "render")
|
|
14216
|
+
), "render"),
|
|
14217
|
+
toExternalHTML: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14218
|
+
MentionExternalHTML,
|
|
14219
|
+
{
|
|
14220
|
+
id: props.inlineContent.props.id,
|
|
14221
|
+
entityType: props.inlineContent.props.entityType,
|
|
14222
|
+
alias: props.inlineContent.props.alias
|
|
14223
|
+
}
|
|
14224
|
+
), "toExternalHTML"),
|
|
14225
|
+
parse: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (element) => parseMentionElement(element), "parse")
|
|
14200
14226
|
}
|
|
14201
14227
|
);
|
|
14202
14228
|
}, "createMentionInlineContentSpec");
|
|
@@ -14260,7 +14286,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
14260
14286
|
if (!suggestionMenuComponent) return void 0;
|
|
14261
14287
|
const Component2 = suggestionMenuComponent;
|
|
14262
14288
|
const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
|
|
14263
|
-
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access',
|
|
14289
|
+
const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _411 => _411.items, 'access', _412 => _412[0], 'optionalAccess', _413 => _413.title]) === KEEP_OPEN_SENTINEL_TITLE;
|
|
14264
14290
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14265
14291
|
Component2,
|
|
14266
14292
|
{
|
|
@@ -14269,7 +14295,7 @@ function BlockNoteEditorMentionSuggestionMenu({
|
|
|
14269
14295
|
selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
|
|
14270
14296
|
onItemClick: (item) => {
|
|
14271
14297
|
if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
|
|
14272
|
-
_optionalChain([props, 'access',
|
|
14298
|
+
_optionalChain([props, 'access', _414 => _414.onItemClick, 'optionalCall', _415 => _415(item)]);
|
|
14273
14299
|
}
|
|
14274
14300
|
}
|
|
14275
14301
|
);
|
|
@@ -14454,10 +14480,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
14454
14480
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14455
14481
|
Checkbox,
|
|
14456
14482
|
{
|
|
14457
|
-
checked: _optionalChain([params, 'access',
|
|
14483
|
+
checked: _optionalChain([params, 'access', _416 => _416.checkedIds, 'optionalAccess', _417 => _417.includes, 'call', _418 => _418(row.getValue(params.name))]) || false,
|
|
14458
14484
|
onCheckedChange: (value) => {
|
|
14459
14485
|
row.toggleSelected(!!value);
|
|
14460
|
-
_optionalChain([params, 'access',
|
|
14486
|
+
_optionalChain([params, 'access', _419 => _419.toggleId, 'optionalCall', _420 => _420(row.getValue(params.name))]);
|
|
14461
14487
|
},
|
|
14462
14488
|
"aria-label": "Select row"
|
|
14463
14489
|
}
|
|
@@ -14516,7 +14542,7 @@ function useJsonApiGet(params) {
|
|
|
14516
14542
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
14517
14543
|
const isMounted = _react.useRef.call(void 0, true);
|
|
14518
14544
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
14519
|
-
if (_optionalChain([params, 'access',
|
|
14545
|
+
if (_optionalChain([params, 'access', _421 => _421.options, 'optionalAccess', _422 => _422.enabled]) === false) return;
|
|
14520
14546
|
setLoading(true);
|
|
14521
14547
|
setError(null);
|
|
14522
14548
|
try {
|
|
@@ -14543,9 +14569,9 @@ function useJsonApiGet(params) {
|
|
|
14543
14569
|
setLoading(false);
|
|
14544
14570
|
}
|
|
14545
14571
|
}
|
|
14546
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
14572
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _423 => _423.options, 'optionalAccess', _424 => _424.enabled])]);
|
|
14547
14573
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
14548
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14574
|
+
if (!_optionalChain([response, 'optionalAccess', _425 => _425.nextPage])) return;
|
|
14549
14575
|
setLoading(true);
|
|
14550
14576
|
try {
|
|
14551
14577
|
const nextResponse = await response.nextPage();
|
|
@@ -14566,7 +14592,7 @@ function useJsonApiGet(params) {
|
|
|
14566
14592
|
}
|
|
14567
14593
|
}, [response]);
|
|
14568
14594
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
14569
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
14595
|
+
if (!_optionalChain([response, 'optionalAccess', _426 => _426.prevPage])) return;
|
|
14570
14596
|
setLoading(true);
|
|
14571
14597
|
try {
|
|
14572
14598
|
const prevResponse = await response.prevPage();
|
|
@@ -14592,15 +14618,15 @@ function useJsonApiGet(params) {
|
|
|
14592
14618
|
return () => {
|
|
14593
14619
|
isMounted.current = false;
|
|
14594
14620
|
};
|
|
14595
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
14621
|
+
}, [fetchData, ..._optionalChain([params, 'access', _427 => _427.options, 'optionalAccess', _428 => _428.deps]) || []]);
|
|
14596
14622
|
return {
|
|
14597
14623
|
data,
|
|
14598
14624
|
loading,
|
|
14599
14625
|
error,
|
|
14600
14626
|
response,
|
|
14601
14627
|
refetch: fetchData,
|
|
14602
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
14603
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
14628
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _429 => _429.next]),
|
|
14629
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _430 => _430.prev]),
|
|
14604
14630
|
fetchNextPage,
|
|
14605
14631
|
fetchPreviousPage
|
|
14606
14632
|
};
|
|
@@ -14678,17 +14704,17 @@ function useJsonApiMutation(config) {
|
|
|
14678
14704
|
if (apiResponse.ok) {
|
|
14679
14705
|
const resultData = apiResponse.data;
|
|
14680
14706
|
setData(resultData);
|
|
14681
|
-
_optionalChain([config, 'access',
|
|
14707
|
+
_optionalChain([config, 'access', _431 => _431.onSuccess, 'optionalCall', _432 => _432(resultData)]);
|
|
14682
14708
|
return resultData;
|
|
14683
14709
|
} else {
|
|
14684
14710
|
setError(apiResponse.error);
|
|
14685
|
-
_optionalChain([config, 'access',
|
|
14711
|
+
_optionalChain([config, 'access', _433 => _433.onError, 'optionalCall', _434 => _434(apiResponse.error)]);
|
|
14686
14712
|
return null;
|
|
14687
14713
|
}
|
|
14688
14714
|
} catch (err) {
|
|
14689
14715
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
14690
14716
|
setError(errorMessage);
|
|
14691
|
-
_optionalChain([config, 'access',
|
|
14717
|
+
_optionalChain([config, 'access', _435 => _435.onError, 'optionalCall', _436 => _436(errorMessage)]);
|
|
14692
14718
|
return null;
|
|
14693
14719
|
} finally {
|
|
14694
14720
|
setLoading(false);
|
|
@@ -14761,7 +14787,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14761
14787
|
{
|
|
14762
14788
|
href: hasRole(_chunkVLDLERJNjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
14763
14789
|
page: "/administration",
|
|
14764
|
-
id: _optionalChain([_chunkRXXZGPC3js.Modules, 'access',
|
|
14790
|
+
id: _optionalChain([_chunkRXXZGPC3js.Modules, 'access', _437 => _437.Company, 'access', _438 => _438.pageUrl, 'optionalAccess', _439 => _439.substring, 'call', _440 => _440(1)]),
|
|
14765
14791
|
childPage: company.id
|
|
14766
14792
|
}) : generateUrl({ page: _chunkRXXZGPC3js.Modules.Company, id: company.id }),
|
|
14767
14793
|
children: row.getValue("name")
|
|
@@ -14777,7 +14803,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
14777
14803
|
})
|
|
14778
14804
|
};
|
|
14779
14805
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14780
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14806
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _441 => _441[field], 'optionalCall', _442 => _442()])).filter((col) => col !== void 0);
|
|
14781
14807
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
14782
14808
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14783
14809
|
}, "useCompanyTableStructure");
|
|
@@ -14789,7 +14815,7 @@ var GRACE_DAYS = 3;
|
|
|
14789
14815
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
14790
14816
|
if (!currentUser || !_chunkVLDLERJNjs.isRolesConfigured.call(void 0, )) return false;
|
|
14791
14817
|
const adminRoleId = _chunkVLDLERJNjs.getRoleId.call(void 0, ).Administrator;
|
|
14792
|
-
return !!_optionalChain([currentUser, 'access',
|
|
14818
|
+
return !!_optionalChain([currentUser, 'access', _443 => _443.roles, 'optionalAccess', _444 => _444.some, 'call', _445 => _445((role) => role.id === adminRoleId)]);
|
|
14793
14819
|
}, "isAdministrator");
|
|
14794
14820
|
function useSubscriptionStatus() {
|
|
14795
14821
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -14906,7 +14932,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
14906
14932
|
})
|
|
14907
14933
|
};
|
|
14908
14934
|
const columns = _react.useMemo.call(void 0, () => {
|
|
14909
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
14935
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _446 => _446[field], 'optionalCall', _447 => _447()])).filter((col) => col !== void 0);
|
|
14910
14936
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
14911
14937
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
14912
14938
|
}, "useRoleTableStructure");
|
|
@@ -15007,11 +15033,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
15007
15033
|
return params.fields.map((field) => {
|
|
15008
15034
|
const localHandler = fieldColumnMap[field];
|
|
15009
15035
|
if (localHandler) return localHandler();
|
|
15010
|
-
const customHandler = _optionalChain([params, 'access',
|
|
15036
|
+
const customHandler = _optionalChain([params, 'access', _448 => _448.context, 'optionalAccess', _449 => _449.customCells, 'optionalAccess', _450 => _450[field]]);
|
|
15011
15037
|
if (customHandler) return customHandler({ t });
|
|
15012
15038
|
return void 0;
|
|
15013
15039
|
}).filter((col) => col !== void 0);
|
|
15014
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
15040
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _451 => _451.context, 'optionalAccess', _452 => _452.customCells])]);
|
|
15015
15041
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
15016
15042
|
}, "useContentTableStructure");
|
|
15017
15043
|
|
|
@@ -15346,7 +15372,7 @@ function ContentTableSearch({ data }) {
|
|
|
15346
15372
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
15347
15373
|
if (!isExpanded) {
|
|
15348
15374
|
setIsFocused(true);
|
|
15349
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
15375
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _453 => _453.current, 'optionalAccess', _454 => _454.focus, 'call', _455 => _455()]), 50);
|
|
15350
15376
|
}
|
|
15351
15377
|
}, "handleSearchIconClick");
|
|
15352
15378
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -15423,7 +15449,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15423
15449
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
15424
15450
|
);
|
|
15425
15451
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
15426
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
15452
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _456 => _456.data]), () => ( EMPTY_ARRAY)),
|
|
15427
15453
|
fields,
|
|
15428
15454
|
checkedIds,
|
|
15429
15455
|
toggleId,
|
|
@@ -15456,7 +15482,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15456
15482
|
});
|
|
15457
15483
|
const rowModel = tableData ? table.getRowModel() : null;
|
|
15458
15484
|
const groupedRows = _react.useMemo.call(void 0, () => {
|
|
15459
|
-
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess',
|
|
15485
|
+
if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _457 => _457.rows, 'optionalAccess', _458 => _458.length])) return null;
|
|
15460
15486
|
const groupMap = /* @__PURE__ */ new Map();
|
|
15461
15487
|
for (const row of rowModel.rows) {
|
|
15462
15488
|
const keys = getGroupKeys(row.original, props.groupBy);
|
|
@@ -15512,10 +15538,10 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15512
15538
|
) }),
|
|
15513
15539
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
15514
15540
|
const meta = header.column.columnDef.meta;
|
|
15515
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
15541
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _459 => _459.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
15516
15542
|
}) }, headerGroup.id))
|
|
15517
15543
|
] }),
|
|
15518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
15544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _460 => _460.rows, 'optionalAccess', _461 => _461.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
|
|
15519
15545
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15520
15546
|
TableCell,
|
|
15521
15547
|
{
|
|
@@ -15526,11 +15552,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15526
15552
|
) }),
|
|
15527
15553
|
group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
15528
15554
|
const meta = cell.column.columnDef.meta;
|
|
15529
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
15555
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _462 => _462.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
15530
15556
|
}) }, row.id))
|
|
15531
15557
|
] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
15532
15558
|
const meta = cell.column.columnDef.meta;
|
|
15533
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
15559
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _463 => _463.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
15534
15560
|
}) }, 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." }) }) }),
|
|
15535
15561
|
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: [
|
|
15536
15562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15540,7 +15566,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15540
15566
|
size: "sm",
|
|
15541
15567
|
onClick: (e) => {
|
|
15542
15568
|
e.preventDefault();
|
|
15543
|
-
_optionalChain([data, 'access',
|
|
15569
|
+
_optionalChain([data, 'access', _464 => _464.previous, 'optionalCall', _465 => _465(true)]);
|
|
15544
15570
|
},
|
|
15545
15571
|
disabled: !data.previous,
|
|
15546
15572
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -15554,7 +15580,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
15554
15580
|
size: "sm",
|
|
15555
15581
|
onClick: (e) => {
|
|
15556
15582
|
e.preventDefault();
|
|
15557
|
-
_optionalChain([data, 'access',
|
|
15583
|
+
_optionalChain([data, 'access', _466 => _466.next, 'optionalCall', _467 => _467(true)]);
|
|
15558
15584
|
},
|
|
15559
15585
|
disabled: !data.next,
|
|
15560
15586
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -15575,7 +15601,7 @@ function ContentListGrid(props) {
|
|
|
15575
15601
|
if (!data.next || !sentinelRef.current) return;
|
|
15576
15602
|
const observer = new IntersectionObserver(
|
|
15577
15603
|
(entries) => {
|
|
15578
|
-
if (_optionalChain([entries, 'access',
|
|
15604
|
+
if (_optionalChain([entries, 'access', _468 => _468[0], 'optionalAccess', _469 => _469.isIntersecting])) _optionalChain([data, 'access', _470 => _470.next, 'optionalCall', _471 => _471()]);
|
|
15579
15605
|
},
|
|
15580
15606
|
{ threshold: 0.1, rootMargin: "200px" }
|
|
15581
15607
|
);
|
|
@@ -16325,7 +16351,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
16325
16351
|
newDigits[index] = digit;
|
|
16326
16352
|
setDigits(newDigits);
|
|
16327
16353
|
if (digit && index < 5) {
|
|
16328
|
-
_optionalChain([inputRefs, 'access',
|
|
16354
|
+
_optionalChain([inputRefs, 'access', _472 => _472.current, 'access', _473 => _473[index + 1], 'optionalAccess', _474 => _474.focus, 'call', _475 => _475()]);
|
|
16329
16355
|
}
|
|
16330
16356
|
const code = newDigits.join("");
|
|
16331
16357
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -16334,7 +16360,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
16334
16360
|
}, "handleChange");
|
|
16335
16361
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
16336
16362
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
16337
|
-
_optionalChain([inputRefs, 'access',
|
|
16363
|
+
_optionalChain([inputRefs, 'access', _476 => _476.current, 'access', _477 => _477[index - 1], 'optionalAccess', _478 => _478.focus, 'call', _479 => _479()]);
|
|
16338
16364
|
}
|
|
16339
16365
|
}, "handleKeyDown");
|
|
16340
16366
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -16343,7 +16369,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
16343
16369
|
if (pastedData.length === 6) {
|
|
16344
16370
|
const newDigits = pastedData.split("");
|
|
16345
16371
|
setDigits(newDigits);
|
|
16346
|
-
_optionalChain([inputRefs, 'access',
|
|
16372
|
+
_optionalChain([inputRefs, 'access', _480 => _480.current, 'access', _481 => _481[5], 'optionalAccess', _482 => _482.focus, 'call', _483 => _483()]);
|
|
16347
16373
|
onComplete(pastedData);
|
|
16348
16374
|
}
|
|
16349
16375
|
}, "handlePaste");
|
|
@@ -16554,8 +16580,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
16554
16580
|
try {
|
|
16555
16581
|
const registrationData = await _chunkRXXZGPC3js.TwoFactorService.getPasskeyRegistrationOptions({
|
|
16556
16582
|
id: _uuid.v4.call(void 0, ),
|
|
16557
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16558
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
16583
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _484 => _484.email]), () => ( "")),
|
|
16584
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _485 => _485.name])
|
|
16559
16585
|
});
|
|
16560
16586
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
16561
16587
|
await _chunkRXXZGPC3js.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -16706,7 +16732,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
16706
16732
|
const setup = await _chunkRXXZGPC3js.TwoFactorService.setupTotp({
|
|
16707
16733
|
id: _uuid.v4.call(void 0, ),
|
|
16708
16734
|
name: name.trim(),
|
|
16709
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
16735
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _486 => _486.email]), () => ( ""))
|
|
16710
16736
|
});
|
|
16711
16737
|
setQrCodeUri(setup.qrCodeUri);
|
|
16712
16738
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -16840,7 +16866,7 @@ function TwoFactorSettings() {
|
|
|
16840
16866
|
if (isLoading) {
|
|
16841
16867
|
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") }) }) });
|
|
16842
16868
|
}
|
|
16843
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16869
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _487 => _487.isEnabled]), () => ( false));
|
|
16844
16870
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
16845
16871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16846
16872
|
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" }),
|
|
@@ -16878,7 +16904,7 @@ function TwoFactorSettings() {
|
|
|
16878
16904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
16879
16905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
16880
16906
|
] }),
|
|
16881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
16907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _488 => _488.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
16882
16908
|
] }) }),
|
|
16883
16909
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16884
16910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -17056,9 +17082,9 @@ function AcceptInvitation() {
|
|
|
17056
17082
|
});
|
|
17057
17083
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
17058
17084
|
try {
|
|
17059
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
17085
|
+
if (!_optionalChain([params, 'optionalAccess', _489 => _489.code])) return;
|
|
17060
17086
|
const payload = {
|
|
17061
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
17087
|
+
code: _optionalChain([params, 'optionalAccess', _490 => _490.code]),
|
|
17062
17088
|
password: values.password
|
|
17063
17089
|
};
|
|
17064
17090
|
await _chunkRXXZGPC3js.AuthService.acceptInvitation(payload);
|
|
@@ -17408,7 +17434,7 @@ function Logout({ storageKeys }) {
|
|
|
17408
17434
|
const generateUrl = usePageUrlGenerator();
|
|
17409
17435
|
_react.useEffect.call(void 0, () => {
|
|
17410
17436
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
17411
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
17437
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _491 => _491.length])) {
|
|
17412
17438
|
clearClientStorage(storageKeys);
|
|
17413
17439
|
}
|
|
17414
17440
|
await _chunkRXXZGPC3js.AuthService.logout();
|
|
@@ -17431,14 +17457,14 @@ function RefreshUser() {
|
|
|
17431
17457
|
setUser(fullUser);
|
|
17432
17458
|
const token = {
|
|
17433
17459
|
userId: fullUser.id,
|
|
17434
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
17460
|
+
companyId: _optionalChain([fullUser, 'access', _492 => _492.company, 'optionalAccess', _493 => _493.id]),
|
|
17435
17461
|
roles: fullUser.roles.map((role) => role.id),
|
|
17436
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
17462
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _494 => _494.company, 'optionalAccess', _495 => _495.features, 'optionalAccess', _496 => _496.map, 'call', _497 => _497((feature) => feature.id)]), () => ( [])),
|
|
17437
17463
|
modules: fullUser.modules.map((module) => {
|
|
17438
17464
|
return { id: module.id, permissions: module.permissions };
|
|
17439
17465
|
})
|
|
17440
17466
|
};
|
|
17441
|
-
await _optionalChain([_chunkRXXZGPC3js.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
17467
|
+
await _optionalChain([_chunkRXXZGPC3js.getTokenHandler.call(void 0, ), 'optionalAccess', _498 => _498.updateToken, 'call', _499 => _499(token)]);
|
|
17442
17468
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
17443
17469
|
}
|
|
17444
17470
|
}, "loadFullUser");
|
|
@@ -17502,9 +17528,9 @@ function ResetPassword() {
|
|
|
17502
17528
|
});
|
|
17503
17529
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
17504
17530
|
try {
|
|
17505
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
17531
|
+
if (!_optionalChain([params, 'optionalAccess', _500 => _500.code])) return;
|
|
17506
17532
|
const payload = {
|
|
17507
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
17533
|
+
code: _optionalChain([params, 'optionalAccess', _501 => _501.code]),
|
|
17508
17534
|
password: values.password
|
|
17509
17535
|
};
|
|
17510
17536
|
await _chunkRXXZGPC3js.AuthService.resetPassword(payload);
|
|
@@ -17853,7 +17879,7 @@ function extractHeadings(blocks) {
|
|
|
17853
17879
|
function processBlocks(blockArray) {
|
|
17854
17880
|
for (const block of blockArray) {
|
|
17855
17881
|
if (block.type === "heading") {
|
|
17856
|
-
const level = _optionalChain([block, 'access',
|
|
17882
|
+
const level = _optionalChain([block, 'access', _502 => _502.props, 'optionalAccess', _503 => _503.level]) || 1;
|
|
17857
17883
|
const text = extractTextFromContent(block.content);
|
|
17858
17884
|
if (text.trim()) {
|
|
17859
17885
|
headings.push({
|
|
@@ -18196,7 +18222,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
|
|
|
18196
18222
|
})
|
|
18197
18223
|
};
|
|
18198
18224
|
const columns = _react.useMemo.call(void 0, () => {
|
|
18199
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
18225
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _504 => _504[field], 'optionalCall', _505 => _505()])).filter((col) => col !== void 0);
|
|
18200
18226
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
18201
18227
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
18202
18228
|
}, "useHowToTableStructure");
|
|
@@ -18262,7 +18288,7 @@ function HowToMultiSelector({
|
|
|
18262
18288
|
retriever: (params) => _chunkRXXZGPC3js.HowToService.findMany(params),
|
|
18263
18289
|
module: _chunkRXXZGPC3js.Modules.HowTo,
|
|
18264
18290
|
getLabel: (howTo) => howTo.name,
|
|
18265
|
-
excludeId: _optionalChain([currentHowTo, 'optionalAccess',
|
|
18291
|
+
excludeId: _optionalChain([currentHowTo, 'optionalAccess', _506 => _506.id]),
|
|
18266
18292
|
onChange
|
|
18267
18293
|
}
|
|
18268
18294
|
);
|
|
@@ -18327,7 +18353,7 @@ function HowToSelector({
|
|
|
18327
18353
|
}, "setHowTo");
|
|
18328
18354
|
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: [
|
|
18329
18355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
18330
|
-
/* @__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',
|
|
18356
|
+
/* @__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', _507 => _507.value, 'optionalAccess', _508 => _508.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 }) }))) }) }) }),
|
|
18331
18357
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18332
18358
|
_lucidereact.CircleX,
|
|
18333
18359
|
{
|
|
@@ -18682,9 +18708,9 @@ function CitationsTab({ citations, sources }) {
|
|
|
18682
18708
|
] }) }),
|
|
18683
18709
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
|
|
18684
18710
|
const isOpen = expanded.has(chunk.id);
|
|
18685
|
-
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess',
|
|
18711
|
+
const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _509 => _509.get, 'call', _510 => _510(chunk.nodeId)]) : void 0;
|
|
18686
18712
|
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")));
|
|
18687
|
-
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess',
|
|
18713
|
+
const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _511 => _511.name]), () => ( fallbackName));
|
|
18688
18714
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
18689
18715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
|
|
18690
18716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18731,7 +18757,7 @@ function ContentsTab({ citations, sources }) {
|
|
|
18731
18757
|
for (const c of citations) {
|
|
18732
18758
|
const id = c.nodeId;
|
|
18733
18759
|
if (!id) continue;
|
|
18734
|
-
const source = _optionalChain([sources, 'optionalAccess',
|
|
18760
|
+
const source = _optionalChain([sources, 'optionalAccess', _512 => _512.get, 'call', _513 => _513(id)]);
|
|
18735
18761
|
if (!source) continue;
|
|
18736
18762
|
const existing = map.get(id);
|
|
18737
18763
|
if (existing) {
|
|
@@ -18796,7 +18822,7 @@ function UsersTab({ users, citations, sources }) {
|
|
|
18796
18822
|
const generate = usePageUrlGenerator();
|
|
18797
18823
|
const userMap = /* @__PURE__ */ new Map();
|
|
18798
18824
|
for (const u of users) {
|
|
18799
|
-
if (!_optionalChain([u, 'optionalAccess',
|
|
18825
|
+
if (!_optionalChain([u, 'optionalAccess', _514 => _514.id])) continue;
|
|
18800
18826
|
userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
|
|
18801
18827
|
}
|
|
18802
18828
|
if (citations && sources) {
|
|
@@ -18900,7 +18926,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
|
|
|
18900
18926
|
}
|
|
18901
18927
|
return ids.size;
|
|
18902
18928
|
}, [message.citations, sources]);
|
|
18903
|
-
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess',
|
|
18929
|
+
const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _515 => _515.length]), () => ( 0));
|
|
18904
18930
|
const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
|
|
18905
18931
|
const visibleTabs = [];
|
|
18906
18932
|
if (suggestionsCount > 0) visibleTabs.push("suggested");
|
|
@@ -18959,8 +18985,8 @@ var SourcesFetcher = class extends _chunkRXXZGPC3js.ClientAbstractService {
|
|
|
18959
18985
|
static async findManyByIds(params) {
|
|
18960
18986
|
const endpoint = new (0, _chunkRXXZGPC3js.EndpointCreator)({ endpoint: params.module });
|
|
18961
18987
|
endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
|
|
18962
|
-
if (_optionalChain([params, 'access',
|
|
18963
|
-
if (_optionalChain([params, 'access',
|
|
18988
|
+
if (_optionalChain([params, 'access', _516 => _516.module, 'access', _517 => _517.inclusions, 'optionalAccess', _518 => _518.lists, 'optionalAccess', _519 => _519.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
|
|
18989
|
+
if (_optionalChain([params, 'access', _520 => _520.module, 'access', _521 => _521.inclusions, 'optionalAccess', _522 => _522.lists, 'optionalAccess', _523 => _523.types])) endpoint.limitToType(params.module.inclusions.lists.types);
|
|
18964
18990
|
return this.callApi({
|
|
18965
18991
|
type: params.module,
|
|
18966
18992
|
method: "GET" /* GET */,
|
|
@@ -19039,7 +19065,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
|
|
|
19039
19065
|
return void 0;
|
|
19040
19066
|
}
|
|
19041
19067
|
})()));
|
|
19042
|
-
if (_optionalChain([author, 'optionalAccess',
|
|
19068
|
+
if (_optionalChain([author, 'optionalAccess', _524 => _524.id])) userMap.set(author.id, author);
|
|
19043
19069
|
}
|
|
19044
19070
|
return Array.from(userMap.values());
|
|
19045
19071
|
}, [resolved]);
|
|
@@ -19061,14 +19087,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
|
|
|
19061
19087
|
function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
19062
19088
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
19063
19089
|
const isUser = message.role === "user";
|
|
19064
|
-
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess',
|
|
19090
|
+
const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _525 => _525.has, 'call', _526 => _526(message.id)]);
|
|
19065
19091
|
if (isUser) {
|
|
19066
19092
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
|
|
19067
19093
|
/* @__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 }),
|
|
19068
19094
|
isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
|
|
19069
19095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
|
|
19070
19096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
|
|
19071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall',
|
|
19097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _527 => _527(message.id)]), children: t("features.assistant.retry") })
|
|
19072
19098
|
] })
|
|
19073
19099
|
] });
|
|
19074
19100
|
}
|
|
@@ -19134,7 +19160,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
|
|
|
19134
19160
|
function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
|
|
19135
19161
|
const endRef = _react.useRef.call(void 0, null);
|
|
19136
19162
|
_react.useEffect.call(void 0, () => {
|
|
19137
|
-
_optionalChain([endRef, 'access',
|
|
19163
|
+
_optionalChain([endRef, 'access', _528 => _528.current, 'optionalAccess', _529 => _529.scrollIntoView, 'call', _530 => _530({ behavior: "smooth" })]);
|
|
19138
19164
|
}, [messages.length, sending]);
|
|
19139
19165
|
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: [
|
|
19140
19166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19162,7 +19188,7 @@ function AssistantContainer() {
|
|
|
19162
19188
|
AssistantSidebar,
|
|
19163
19189
|
{
|
|
19164
19190
|
threads: ctx.threads,
|
|
19165
|
-
activeId: _optionalChain([ctx, 'access',
|
|
19191
|
+
activeId: _optionalChain([ctx, 'access', _531 => _531.assistant, 'optionalAccess', _532 => _532.id]),
|
|
19166
19192
|
onSelect: ctx.selectThread,
|
|
19167
19193
|
onNew: ctx.startNew
|
|
19168
19194
|
}
|
|
@@ -19255,14 +19281,14 @@ function NotificationsList({ archived }) {
|
|
|
19255
19281
|
] }),
|
|
19256
19282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
19257
19283
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
19258
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
19284
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _533 => _533.data, 'optionalAccess', _534 => _534.map, 'call', _535 => _535((notification) => {
|
|
19259
19285
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
19260
19286
|
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: [
|
|
19261
19287
|
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: _chunkRXXZGPC3js.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" }),
|
|
19262
19288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
19263
19289
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
19264
19290
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
19265
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
19291
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _536 => _536.actor, 'optionalAccess', _537 => _537.name]), () => ( "")),
|
|
19266
19292
|
title: notificationData.title
|
|
19267
19293
|
}) }),
|
|
19268
19294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -19612,7 +19638,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
19612
19638
|
invalidEmail: "Please enter a valid email address"
|
|
19613
19639
|
};
|
|
19614
19640
|
async function copyToClipboard(text) {
|
|
19615
|
-
if (_optionalChain([navigator, 'access',
|
|
19641
|
+
if (_optionalChain([navigator, 'access', _538 => _538.clipboard, 'optionalAccess', _539 => _539.writeText])) {
|
|
19616
19642
|
try {
|
|
19617
19643
|
await navigator.clipboard.writeText(text);
|
|
19618
19644
|
return true;
|
|
@@ -19654,7 +19680,7 @@ function ReferralWidget({
|
|
|
19654
19680
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
19655
19681
|
const config = _chunkVLDLERJNjs.getReferralConfig.call(void 0, );
|
|
19656
19682
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
19657
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
19683
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _540 => _540.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
19658
19684
|
if (!_chunkVLDLERJNjs.isReferralEnabled.call(void 0, )) {
|
|
19659
19685
|
return null;
|
|
19660
19686
|
}
|
|
@@ -19664,7 +19690,7 @@ function ReferralWidget({
|
|
|
19664
19690
|
if (success) {
|
|
19665
19691
|
setCopied(true);
|
|
19666
19692
|
_chunkRXXZGPC3js.showToast.call(void 0, t.copiedMessage);
|
|
19667
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
19693
|
+
_optionalChain([onLinkCopied, 'optionalCall', _541 => _541()]);
|
|
19668
19694
|
setTimeout(() => setCopied(false), 2e3);
|
|
19669
19695
|
} else {
|
|
19670
19696
|
_chunkRXXZGPC3js.showError.call(void 0, t.copyError);
|
|
@@ -19678,12 +19704,12 @@ function ReferralWidget({
|
|
|
19678
19704
|
try {
|
|
19679
19705
|
await sendInvite(email);
|
|
19680
19706
|
_chunkRXXZGPC3js.showToast.call(void 0, t.inviteSent);
|
|
19681
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
19707
|
+
_optionalChain([onInviteSent, 'optionalCall', _542 => _542(email)]);
|
|
19682
19708
|
setEmail("");
|
|
19683
19709
|
} catch (err) {
|
|
19684
19710
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
19685
19711
|
_chunkRXXZGPC3js.showError.call(void 0, error2.message);
|
|
19686
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
19712
|
+
_optionalChain([onInviteError, 'optionalCall', _543 => _543(error2)]);
|
|
19687
19713
|
}
|
|
19688
19714
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
19689
19715
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -20437,7 +20463,7 @@ function OAuthClientList({
|
|
|
20437
20463
|
OAuthClientCard,
|
|
20438
20464
|
{
|
|
20439
20465
|
client,
|
|
20440
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
20466
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _544 => _544(client)]),
|
|
20441
20467
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
20442
20468
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
20443
20469
|
},
|
|
@@ -20453,11 +20479,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
20453
20479
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
20454
20480
|
const isEditMode = !!client;
|
|
20455
20481
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
20456
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
20457
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
20458
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
20459
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
20460
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
20482
|
+
name: _optionalChain([client, 'optionalAccess', _545 => _545.name]) || "",
|
|
20483
|
+
description: _optionalChain([client, 'optionalAccess', _546 => _546.description]) || "",
|
|
20484
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _547 => _547.redirectUris, 'optionalAccess', _548 => _548.length]) ? client.redirectUris : [""],
|
|
20485
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _549 => _549.allowedScopes]) || [],
|
|
20486
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _550 => _550.isConfidential]), () => ( true))
|
|
20461
20487
|
});
|
|
20462
20488
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
20463
20489
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -20685,7 +20711,7 @@ function OAuthClientDetail({
|
|
|
20685
20711
|
] }),
|
|
20686
20712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20687
20713
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
20688
|
-
/* @__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([_chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY, 'access',
|
|
20714
|
+
/* @__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([_chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY, 'access', _551 => _551[scope], 'optionalAccess', _552 => _552.name]) || scope }, scope)) })
|
|
20689
20715
|
] }),
|
|
20690
20716
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20691
20717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -20829,7 +20855,7 @@ function OAuthConsentScreen({
|
|
|
20829
20855
|
if (error || !clientInfo) {
|
|
20830
20856
|
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: [
|
|
20831
20857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
20832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
20858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _553 => _553.message]) || "Invalid authorization request. Please try again." })
|
|
20833
20859
|
] }) }) }) });
|
|
20834
20860
|
}
|
|
20835
20861
|
const { client, scopes } = clientInfo;
|
|
@@ -21045,7 +21071,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
21045
21071
|
questionnaire: values.questionnaire
|
|
21046
21072
|
});
|
|
21047
21073
|
setIsSuccess(true);
|
|
21048
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
21074
|
+
_optionalChain([onSuccess, 'optionalCall', _554 => _554()]);
|
|
21049
21075
|
} catch (e) {
|
|
21050
21076
|
errorToast({ error: e });
|
|
21051
21077
|
} finally {
|
|
@@ -21683,7 +21709,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
|
|
|
21683
21709
|
] }),
|
|
21684
21710
|
roleIds.map((roleId) => {
|
|
21685
21711
|
const roleTokens = block[roleId];
|
|
21686
|
-
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21712
|
+
const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _555 => _555[roleId]]), () => ( roleId));
|
|
21687
21713
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21688
21714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
|
|
21689
21715
|
_chunkVLDLERJNjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21720,7 +21746,7 @@ function RbacContainer() {
|
|
|
21720
21746
|
}, []);
|
|
21721
21747
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21722
21748
|
if (!matrix) return [];
|
|
21723
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21749
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _556 => _556[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _557 => _557[b]]), () => ( b))));
|
|
21724
21750
|
}, [matrix, moduleNames]);
|
|
21725
21751
|
const roleIds = _react.useMemo.call(void 0, () => {
|
|
21726
21752
|
if (roleNames) {
|
|
@@ -21783,7 +21809,7 @@ function RbacContainer() {
|
|
|
21783
21809
|
id === selectedModuleId && "bg-muted font-medium text-foreground",
|
|
21784
21810
|
id !== selectedModuleId && "text-muted-foreground"
|
|
21785
21811
|
),
|
|
21786
|
-
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21812
|
+
children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _558 => _558[id]]), () => ( id))
|
|
21787
21813
|
}
|
|
21788
21814
|
) }, id)) }) }),
|
|
21789
21815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21791,7 +21817,7 @@ function RbacContainer() {
|
|
|
21791
21817
|
{
|
|
21792
21818
|
moduleId: selectedModuleId,
|
|
21793
21819
|
block: selectedBlock,
|
|
21794
|
-
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21820
|
+
moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _559 => _559[selectedModuleId]]), () => ( selectedModuleId)),
|
|
21795
21821
|
roleIds,
|
|
21796
21822
|
roleNames,
|
|
21797
21823
|
onOpenPicker: openPicker
|
|
@@ -21802,12 +21828,12 @@ function RbacContainer() {
|
|
|
21802
21828
|
RbacPermissionPicker,
|
|
21803
21829
|
{
|
|
21804
21830
|
open: !!activePicker,
|
|
21805
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21831
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _560 => _560.anchor]), () => ( null)),
|
|
21806
21832
|
value: activeValue,
|
|
21807
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
21833
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _561 => _561.isRoleColumn]), () => ( false)),
|
|
21808
21834
|
knownSegments: activeSegments,
|
|
21809
21835
|
onSetValue: handleSetValue,
|
|
21810
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
21836
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _562 => _562.isRoleColumn]) ? handleClear : void 0,
|
|
21811
21837
|
onClose: closePicker
|
|
21812
21838
|
}
|
|
21813
21839
|
)
|
|
@@ -21874,7 +21900,7 @@ function RbacByRoleContainer() {
|
|
|
21874
21900
|
}, [roleNames]);
|
|
21875
21901
|
const sortedModuleIds = _react.useMemo.call(void 0, () => {
|
|
21876
21902
|
if (!matrix) return [];
|
|
21877
|
-
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21903
|
+
return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _563 => _563[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _564 => _564[b]]), () => ( b))));
|
|
21878
21904
|
}, [matrix, moduleNames]);
|
|
21879
21905
|
_react.useEffect.call(void 0, () => {
|
|
21880
21906
|
if (!selectedRoleId && sortedRoleIds.length > 0) {
|
|
@@ -21923,7 +21949,7 @@ function RbacByRoleContainer() {
|
|
|
21923
21949
|
id === selectedRoleId && "bg-muted font-medium text-foreground",
|
|
21924
21950
|
id !== selectedRoleId && "text-muted-foreground"
|
|
21925
21951
|
),
|
|
21926
|
-
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21952
|
+
children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _565 => _565[id]]), () => ( id))
|
|
21927
21953
|
}
|
|
21928
21954
|
) }, id)) }) }),
|
|
21929
21955
|
/* @__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: [
|
|
@@ -21943,7 +21969,7 @@ function RbacByRoleContainer() {
|
|
|
21943
21969
|
if (!block) return null;
|
|
21944
21970
|
const defaultTokens = _nullishCoalesce(block.default, () => ( []));
|
|
21945
21971
|
const roleTokens = block[selectedRoleId];
|
|
21946
|
-
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess',
|
|
21972
|
+
const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _566 => _566[moduleId]]), () => ( moduleId));
|
|
21947
21973
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
21948
21974
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21949
21975
|
"td",
|
|
@@ -21958,7 +21984,7 @@ function RbacByRoleContainer() {
|
|
|
21958
21984
|
_chunkVLDLERJNjs.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))
|
|
21959
21985
|
] }),
|
|
21960
21986
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
|
|
21961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess',
|
|
21987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _567 => _567[selectedRoleId]]), () => ( selectedRoleId)) }),
|
|
21962
21988
|
_chunkVLDLERJNjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21963
21989
|
CellButton3,
|
|
21964
21990
|
{
|
|
@@ -21979,12 +22005,12 @@ function RbacByRoleContainer() {
|
|
|
21979
22005
|
RbacPermissionPicker,
|
|
21980
22006
|
{
|
|
21981
22007
|
open: !!activePicker,
|
|
21982
|
-
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22008
|
+
anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _568 => _568.anchor]), () => ( null)),
|
|
21983
22009
|
value: activeValue,
|
|
21984
|
-
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess',
|
|
22010
|
+
isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _569 => _569.isRoleColumn]), () => ( false)),
|
|
21985
22011
|
knownSegments: activeSegments,
|
|
21986
22012
|
onSetValue: handleSetValue,
|
|
21987
|
-
onClear: _optionalChain([activePicker, 'optionalAccess',
|
|
22013
|
+
onClear: _optionalChain([activePicker, 'optionalAccess', _570 => _570.isRoleColumn]) ? handleClear : void 0,
|
|
21988
22014
|
onClose: closePicker
|
|
21989
22015
|
}
|
|
21990
22016
|
)
|
|
@@ -22507,5 +22533,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
|
|
|
22507
22533
|
|
|
22508
22534
|
|
|
22509
22535
|
|
|
22510
|
-
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.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; 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.CurrencyInput = CurrencyInput; 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;
|
|
22511
|
-
//# sourceMappingURL=chunk-UB7VGH2D.js.map
|
|
22536
|
+
|
|
22537
|
+
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.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; 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.parseMentionElement = parseMentionElement; 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.CurrencyInput = CurrencyInput; 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;
|
|
22538
|
+
//# sourceMappingURL=chunk-YC2JK36B.js.map
|