@carlonicora/nextjs-jsonapi 1.55.2 → 1.56.1
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-LRXOWMLQ.mjs → BlockNoteEditor-35AYRFUO.mjs} +2 -2
- package/dist/{BlockNoteEditor-XNJI6HVP.js → BlockNoteEditor-OIVVFIOA.js} +6 -6
- package/dist/{BlockNoteEditor-XNJI6HVP.js.map → BlockNoteEditor-OIVVFIOA.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-72RAY4J3.js → chunk-22HO4MQ7.js} +89 -79
- package/dist/chunk-22HO4MQ7.js.map +1 -0
- package/dist/{chunk-MT26TP7U.mjs → chunk-DIM7E4WN.mjs} +24 -14
- package/dist/chunk-DIM7E4WN.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +13 -7
- package/src/components/forms/FormSelect.tsx +17 -5
- package/dist/chunk-72RAY4J3.js.map +0 -1
- package/dist/chunk-MT26TP7U.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-LRXOWMLQ.mjs.map → BlockNoteEditor-35AYRFUO.mjs.map} +0 -0
|
@@ -8344,7 +8344,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
|
8344
8344
|
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
8345
8345
|
|
|
8346
8346
|
|
|
8347
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-
|
|
8347
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-OIVVFIOA.js"))), {
|
|
8348
8348
|
ssr: false
|
|
8349
8349
|
});
|
|
8350
8350
|
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
@@ -9034,16 +9034,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormPlaceAutocomplete, "FormPlaceAutocomple
|
|
|
9034
9034
|
|
|
9035
9035
|
// src/components/forms/FormSelect.tsx
|
|
9036
9036
|
|
|
9037
|
+
var EMPTY_VALUE = "__empty__";
|
|
9037
9038
|
function FormSelect({
|
|
9038
9039
|
form,
|
|
9039
9040
|
id,
|
|
9040
9041
|
name,
|
|
9041
|
-
placeholder
|
|
9042
|
+
placeholder,
|
|
9042
9043
|
disabled,
|
|
9043
9044
|
values,
|
|
9044
9045
|
onChange,
|
|
9045
9046
|
useRows,
|
|
9046
|
-
testId
|
|
9047
|
+
testId,
|
|
9048
|
+
allowEmpty
|
|
9047
9049
|
}) {
|
|
9048
9050
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9049
9051
|
FormFieldWrapper,
|
|
@@ -9057,15 +9059,19 @@ function FormSelect({
|
|
|
9057
9059
|
Select,
|
|
9058
9060
|
{
|
|
9059
9061
|
onValueChange: (e) => {
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
+
const actual = e === EMPTY_VALUE ? "" : e;
|
|
9063
|
+
field.onChange(actual);
|
|
9064
|
+
if (onChange) onChange(actual);
|
|
9062
9065
|
},
|
|
9063
|
-
value: field.value,
|
|
9066
|
+
value: field.value || (allowEmpty ? EMPTY_VALUE : field.value),
|
|
9064
9067
|
disabled,
|
|
9065
9068
|
"data-testid": testId,
|
|
9066
9069
|
children: [
|
|
9067
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { children: _optionalChain([values, 'access', _245 => _245.find, 'call', _246 => _246((v) => v.id === field.value), 'optionalAccess', _247 => _247.text]) }) }),
|
|
9068
|
-
/* @__PURE__ */ _jsxruntime.
|
|
9070
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { children: field.value ? _optionalChain([values, 'access', _245 => _245.find, 'call', _246 => _246((v) => v.id === field.value), 'optionalAccess', _247 => _247.text]) : _nullishCoalesce(placeholder, () => ( "")) }) }),
|
|
9071
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
|
|
9072
|
+
allowEmpty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: EMPTY_VALUE, className: "text-muted-foreground", children: _nullishCoalesce(placeholder, () => ( "")) }),
|
|
9073
|
+
values.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: type.id, children: type.text }, type.id))
|
|
9074
|
+
] })
|
|
9069
9075
|
]
|
|
9070
9076
|
}
|
|
9071
9077
|
)
|
|
@@ -11824,7 +11830,8 @@ function RoundPageContainer({ module, id, details, tabs, children, fullWidth })
|
|
|
11824
11830
|
const searchParams = _navigation.useSearchParams.call(void 0, );
|
|
11825
11831
|
const section = searchParams.get("section");
|
|
11826
11832
|
const rewriteUrl = useUrlRewriter();
|
|
11827
|
-
const
|
|
11833
|
+
const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _320 => _320.key, 'optionalAccess', _321 => _321.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _322 => _322[0], 'access', _323 => _323.key, 'optionalAccess', _324 => _324.name]), () => ( tabs[0].label))) : void 0;
|
|
11834
|
+
const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
|
|
11828
11835
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11829
11836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { className: "bg-sidebar border-0", children: headerChildren }),
|
|
11830
11837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
@@ -11841,12 +11848,15 @@ function RoundPageContainer({ module, id, details, tabs, children, fullWidth })
|
|
|
11841
11848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `grow overflow-y-auto p-4`, fullWidth && `p-0`), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `mx-auto max-w-6xl space-y-12 p-8`, fullWidth && `max-w-full w-full p-0`), children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11842
11849
|
Tabs,
|
|
11843
11850
|
{
|
|
11844
|
-
|
|
11851
|
+
value: activeTab,
|
|
11845
11852
|
className: "w-full",
|
|
11846
|
-
onValueChange: (key) =>
|
|
11853
|
+
onValueChange: (key) => {
|
|
11854
|
+
setActiveTab(key);
|
|
11855
|
+
if (module && id) rewriteUrl({ page: module, id, additionalParameters: { section: key } });
|
|
11856
|
+
},
|
|
11847
11857
|
children: [
|
|
11848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tab.label, className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
11849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: tab.label, className: `pb-20`, children: tab.content }, tab.label)) })
|
|
11858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _325 => _325.key, 'optionalAccess', _326 => _326.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
|
|
11859
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access', _327 => _327.key, 'optionalAccess', _328 => _328.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
|
|
11850
11860
|
]
|
|
11851
11861
|
}
|
|
11852
11862
|
) : children }) }),
|
|
@@ -12080,10 +12090,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
12080
12090
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12081
12091
|
Checkbox,
|
|
12082
12092
|
{
|
|
12083
|
-
checked: _optionalChain([params, 'access',
|
|
12093
|
+
checked: _optionalChain([params, 'access', _329 => _329.checkedIds, 'optionalAccess', _330 => _330.includes, 'call', _331 => _331(row.getValue(params.name))]) || false,
|
|
12084
12094
|
onCheckedChange: (value) => {
|
|
12085
12095
|
row.toggleSelected(!!value);
|
|
12086
|
-
_optionalChain([params, 'access',
|
|
12096
|
+
_optionalChain([params, 'access', _332 => _332.toggleId, 'optionalCall', _333 => _333(row.getValue(params.name))]);
|
|
12087
12097
|
},
|
|
12088
12098
|
"aria-label": "Select row"
|
|
12089
12099
|
}
|
|
@@ -12142,7 +12152,7 @@ function useJsonApiGet(params) {
|
|
|
12142
12152
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
12143
12153
|
const isMounted = _react.useRef.call(void 0, true);
|
|
12144
12154
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
12145
|
-
if (_optionalChain([params, 'access',
|
|
12155
|
+
if (_optionalChain([params, 'access', _334 => _334.options, 'optionalAccess', _335 => _335.enabled]) === false) return;
|
|
12146
12156
|
setLoading(true);
|
|
12147
12157
|
setError(null);
|
|
12148
12158
|
try {
|
|
@@ -12169,9 +12179,9 @@ function useJsonApiGet(params) {
|
|
|
12169
12179
|
setLoading(false);
|
|
12170
12180
|
}
|
|
12171
12181
|
}
|
|
12172
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
12182
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _336 => _336.options, 'optionalAccess', _337 => _337.enabled])]);
|
|
12173
12183
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
12174
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12184
|
+
if (!_optionalChain([response, 'optionalAccess', _338 => _338.nextPage])) return;
|
|
12175
12185
|
setLoading(true);
|
|
12176
12186
|
try {
|
|
12177
12187
|
const nextResponse = await response.nextPage();
|
|
@@ -12192,7 +12202,7 @@ function useJsonApiGet(params) {
|
|
|
12192
12202
|
}
|
|
12193
12203
|
}, [response]);
|
|
12194
12204
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
12195
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12205
|
+
if (!_optionalChain([response, 'optionalAccess', _339 => _339.prevPage])) return;
|
|
12196
12206
|
setLoading(true);
|
|
12197
12207
|
try {
|
|
12198
12208
|
const prevResponse = await response.prevPage();
|
|
@@ -12218,15 +12228,15 @@ function useJsonApiGet(params) {
|
|
|
12218
12228
|
return () => {
|
|
12219
12229
|
isMounted.current = false;
|
|
12220
12230
|
};
|
|
12221
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
12231
|
+
}, [fetchData, ..._optionalChain([params, 'access', _340 => _340.options, 'optionalAccess', _341 => _341.deps]) || []]);
|
|
12222
12232
|
return {
|
|
12223
12233
|
data,
|
|
12224
12234
|
loading,
|
|
12225
12235
|
error,
|
|
12226
12236
|
response,
|
|
12227
12237
|
refetch: fetchData,
|
|
12228
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
12229
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
12238
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _342 => _342.next]),
|
|
12239
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _343 => _343.prev]),
|
|
12230
12240
|
fetchNextPage,
|
|
12231
12241
|
fetchPreviousPage
|
|
12232
12242
|
};
|
|
@@ -12304,17 +12314,17 @@ function useJsonApiMutation(config) {
|
|
|
12304
12314
|
if (apiResponse.ok) {
|
|
12305
12315
|
const resultData = apiResponse.data;
|
|
12306
12316
|
setData(resultData);
|
|
12307
|
-
_optionalChain([config, 'access',
|
|
12317
|
+
_optionalChain([config, 'access', _344 => _344.onSuccess, 'optionalCall', _345 => _345(resultData)]);
|
|
12308
12318
|
return resultData;
|
|
12309
12319
|
} else {
|
|
12310
12320
|
setError(apiResponse.error);
|
|
12311
|
-
_optionalChain([config, 'access',
|
|
12321
|
+
_optionalChain([config, 'access', _346 => _346.onError, 'optionalCall', _347 => _347(apiResponse.error)]);
|
|
12312
12322
|
return null;
|
|
12313
12323
|
}
|
|
12314
12324
|
} catch (err) {
|
|
12315
12325
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
12316
12326
|
setError(errorMessage);
|
|
12317
|
-
_optionalChain([config, 'access',
|
|
12327
|
+
_optionalChain([config, 'access', _348 => _348.onError, 'optionalCall', _349 => _349(errorMessage)]);
|
|
12318
12328
|
return null;
|
|
12319
12329
|
} finally {
|
|
12320
12330
|
setLoading(false);
|
|
@@ -12387,7 +12397,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12387
12397
|
{
|
|
12388
12398
|
href: hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
12389
12399
|
page: "/administration",
|
|
12390
|
-
id: _optionalChain([_chunkQOLVON35js.Modules, 'access',
|
|
12400
|
+
id: _optionalChain([_chunkQOLVON35js.Modules, 'access', _350 => _350.Company, 'access', _351 => _351.pageUrl, 'optionalAccess', _352 => _352.substring, 'call', _353 => _353(1)]),
|
|
12391
12401
|
childPage: company.id
|
|
12392
12402
|
}) : generateUrl({ page: _chunkQOLVON35js.Modules.Company, id: company.id }),
|
|
12393
12403
|
children: row.getValue("name")
|
|
@@ -12403,7 +12413,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12403
12413
|
})
|
|
12404
12414
|
};
|
|
12405
12415
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12406
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12416
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _354 => _354[field], 'optionalCall', _355 => _355()])).filter((col) => col !== void 0);
|
|
12407
12417
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
12408
12418
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12409
12419
|
}, "useCompanyTableStructure");
|
|
@@ -12415,7 +12425,7 @@ var GRACE_DAYS = 3;
|
|
|
12415
12425
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
12416
12426
|
if (!currentUser || !_chunkUJBUJALXjs.isRolesConfigured.call(void 0, )) return false;
|
|
12417
12427
|
const adminRoleId = _chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator;
|
|
12418
|
-
return !!_optionalChain([currentUser, 'access',
|
|
12428
|
+
return !!_optionalChain([currentUser, 'access', _356 => _356.roles, 'optionalAccess', _357 => _357.some, 'call', _358 => _358((role) => role.id === adminRoleId)]);
|
|
12419
12429
|
}, "isAdministrator");
|
|
12420
12430
|
function useSubscriptionStatus() {
|
|
12421
12431
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -12532,7 +12542,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12532
12542
|
})
|
|
12533
12543
|
};
|
|
12534
12544
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12535
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12545
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _359 => _359[field], 'optionalCall', _360 => _360()])).filter((col) => col !== void 0);
|
|
12536
12546
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12537
12547
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12538
12548
|
}, "useRoleTableStructure");
|
|
@@ -12675,7 +12685,7 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12675
12685
|
})
|
|
12676
12686
|
};
|
|
12677
12687
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12678
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12688
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _361 => _361[field], 'optionalCall', _362 => _362()])).filter((col) => col !== void 0);
|
|
12679
12689
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12680
12690
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12681
12691
|
}, "useUserTableStructure");
|
|
@@ -12776,11 +12786,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12776
12786
|
return params.fields.map((field) => {
|
|
12777
12787
|
const localHandler = fieldColumnMap[field];
|
|
12778
12788
|
if (localHandler) return localHandler();
|
|
12779
|
-
const customHandler = _optionalChain([params, 'access',
|
|
12789
|
+
const customHandler = _optionalChain([params, 'access', _363 => _363.context, 'optionalAccess', _364 => _364.customCells, 'optionalAccess', _365 => _365[field]]);
|
|
12780
12790
|
if (customHandler) return customHandler({ t });
|
|
12781
12791
|
return void 0;
|
|
12782
12792
|
}).filter((col) => col !== void 0);
|
|
12783
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
12793
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _366 => _366.context, 'optionalAccess', _367 => _367.customCells])]);
|
|
12784
12794
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12785
12795
|
}, "useContentTableStructure");
|
|
12786
12796
|
|
|
@@ -13106,7 +13116,7 @@ function rbacReducer(state, action) {
|
|
|
13106
13116
|
}
|
|
13107
13117
|
case "SET_FEATURE_IS_CORE": {
|
|
13108
13118
|
const newMap = new Map(state.featureIsCore);
|
|
13109
|
-
const originalFeature = _optionalChain([state, 'access',
|
|
13119
|
+
const originalFeature = _optionalChain([state, 'access', _368 => _368.original, 'optionalAccess', _369 => _369.features, 'access', _370 => _370.find, 'call', _371 => _371((f) => f.id === action.featureId)]);
|
|
13110
13120
|
if (originalFeature && originalFeature.isCore === action.isCore) {
|
|
13111
13121
|
newMap.delete(action.featureId);
|
|
13112
13122
|
} else {
|
|
@@ -13117,7 +13127,7 @@ function rbacReducer(state, action) {
|
|
|
13117
13127
|
case "SET_MODULE_DEFAULT_PERMISSION": {
|
|
13118
13128
|
const newMap = new Map(state.modulePermissions);
|
|
13119
13129
|
const originalModule = state.original ? findModule(state.original.features, action.moduleId) : void 0;
|
|
13120
|
-
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess',
|
|
13130
|
+
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess', _372 => _372.permissions]) }));
|
|
13121
13131
|
const updated = { ...current, [action.actionType]: action.value };
|
|
13122
13132
|
newMap.set(action.moduleId, updated);
|
|
13123
13133
|
return { ...state, modulePermissions: newMap };
|
|
@@ -13208,8 +13218,8 @@ function useRbacState() {
|
|
|
13208
13218
|
const getFeatureIsCore = _react.useCallback.call(void 0,
|
|
13209
13219
|
(featureId) => {
|
|
13210
13220
|
if (state.featureIsCore.has(featureId)) return state.featureIsCore.get(featureId);
|
|
13211
|
-
const feature = _optionalChain([state, 'access',
|
|
13212
|
-
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess',
|
|
13221
|
+
const feature = _optionalChain([state, 'access', _373 => _373.original, 'optionalAccess', _374 => _374.features, 'access', _375 => _375.find, 'call', _376 => _376((f) => f.id === featureId)]);
|
|
13222
|
+
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess', _377 => _377.isCore]), () => ( false));
|
|
13213
13223
|
},
|
|
13214
13224
|
[state.featureIsCore, state.original]
|
|
13215
13225
|
);
|
|
@@ -13219,7 +13229,7 @@ function useRbacState() {
|
|
|
13219
13229
|
if (edited && edited[actionType] !== void 0) return edited[actionType];
|
|
13220
13230
|
if (!state.original) return void 0;
|
|
13221
13231
|
const mod = findModule(state.original.features, moduleId);
|
|
13222
|
-
return _optionalChain([mod, 'optionalAccess',
|
|
13232
|
+
return _optionalChain([mod, 'optionalAccess', _378 => _378.permissions, 'access', _379 => _379[actionType]]);
|
|
13223
13233
|
},
|
|
13224
13234
|
[state.modulePermissions, state.original]
|
|
13225
13235
|
);
|
|
@@ -13275,7 +13285,7 @@ function useRbacState() {
|
|
|
13275
13285
|
}, [state]);
|
|
13276
13286
|
const getModuleRelationshipPaths = _react.useCallback.call(void 0,
|
|
13277
13287
|
(moduleId) => {
|
|
13278
|
-
return _nullishCoalesce(_optionalChain([state, 'access',
|
|
13288
|
+
return _nullishCoalesce(_optionalChain([state, 'access', _380 => _380.original, 'optionalAccess', _381 => _381.moduleRelationshipPaths, 'access', _382 => _382.get, 'call', _383 => _383(moduleId)]), () => ( []));
|
|
13279
13289
|
},
|
|
13280
13290
|
[state.original]
|
|
13281
13291
|
);
|
|
@@ -13486,7 +13496,7 @@ function ContentTableSearch({ data }) {
|
|
|
13486
13496
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
13487
13497
|
if (!isExpanded) {
|
|
13488
13498
|
setIsFocused(true);
|
|
13489
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
13499
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _384 => _384.current, 'optionalAccess', _385 => _385.focus, 'call', _386 => _386()]), 50);
|
|
13490
13500
|
}
|
|
13491
13501
|
}, "handleSearchIconClick");
|
|
13492
13502
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -13552,7 +13562,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13552
13562
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
13553
13563
|
);
|
|
13554
13564
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
13555
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
13565
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _387 => _387.data]), () => ( EMPTY_ARRAY)),
|
|
13556
13566
|
fields,
|
|
13557
13567
|
checkedIds,
|
|
13558
13568
|
toggleId,
|
|
@@ -13597,12 +13607,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13597
13607
|
] }) }) }),
|
|
13598
13608
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
13599
13609
|
const meta = header.column.columnDef.meta;
|
|
13600
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
13610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _388 => _388.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
13601
13611
|
}) }, headerGroup.id))
|
|
13602
13612
|
] }),
|
|
13603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
13613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _389 => _389.rows, 'optionalAccess', _390 => _390.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
13604
13614
|
const meta = cell.column.columnDef.meta;
|
|
13605
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
13615
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _391 => _391.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
13606
13616
|
}) }, 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." }) }) }),
|
|
13607
13617
|
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: [
|
|
13608
13618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13612,7 +13622,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13612
13622
|
size: "sm",
|
|
13613
13623
|
onClick: (e) => {
|
|
13614
13624
|
e.preventDefault();
|
|
13615
|
-
_optionalChain([data, 'access',
|
|
13625
|
+
_optionalChain([data, 'access', _392 => _392.previous, 'optionalCall', _393 => _393(true)]);
|
|
13616
13626
|
},
|
|
13617
13627
|
disabled: !data.previous,
|
|
13618
13628
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -13626,7 +13636,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13626
13636
|
size: "sm",
|
|
13627
13637
|
onClick: (e) => {
|
|
13628
13638
|
e.preventDefault();
|
|
13629
|
-
_optionalChain([data, 'access',
|
|
13639
|
+
_optionalChain([data, 'access', _394 => _394.next, 'optionalCall', _395 => _395(true)]);
|
|
13630
13640
|
},
|
|
13631
13641
|
disabled: !data.next,
|
|
13632
13642
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14187,7 +14197,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14187
14197
|
newDigits[index] = digit;
|
|
14188
14198
|
setDigits(newDigits);
|
|
14189
14199
|
if (digit && index < 5) {
|
|
14190
|
-
_optionalChain([inputRefs, 'access',
|
|
14200
|
+
_optionalChain([inputRefs, 'access', _396 => _396.current, 'access', _397 => _397[index + 1], 'optionalAccess', _398 => _398.focus, 'call', _399 => _399()]);
|
|
14191
14201
|
}
|
|
14192
14202
|
const code = newDigits.join("");
|
|
14193
14203
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -14196,7 +14206,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14196
14206
|
}, "handleChange");
|
|
14197
14207
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
14198
14208
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
14199
|
-
_optionalChain([inputRefs, 'access',
|
|
14209
|
+
_optionalChain([inputRefs, 'access', _400 => _400.current, 'access', _401 => _401[index - 1], 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]);
|
|
14200
14210
|
}
|
|
14201
14211
|
}, "handleKeyDown");
|
|
14202
14212
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -14205,7 +14215,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14205
14215
|
if (pastedData.length === 6) {
|
|
14206
14216
|
const newDigits = pastedData.split("");
|
|
14207
14217
|
setDigits(newDigits);
|
|
14208
|
-
_optionalChain([inputRefs, 'access',
|
|
14218
|
+
_optionalChain([inputRefs, 'access', _404 => _404.current, 'access', _405 => _405[5], 'optionalAccess', _406 => _406.focus, 'call', _407 => _407()]);
|
|
14209
14219
|
onComplete(pastedData);
|
|
14210
14220
|
}
|
|
14211
14221
|
}, "handlePaste");
|
|
@@ -14416,8 +14426,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
14416
14426
|
try {
|
|
14417
14427
|
const registrationData = await _chunkQOLVON35js.TwoFactorService.getPasskeyRegistrationOptions({
|
|
14418
14428
|
id: _uuid.v4.call(void 0, ),
|
|
14419
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14420
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
14429
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _408 => _408.email]), () => ( "")),
|
|
14430
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _409 => _409.name])
|
|
14421
14431
|
});
|
|
14422
14432
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
14423
14433
|
await _chunkQOLVON35js.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -14568,7 +14578,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
14568
14578
|
const setup = await _chunkQOLVON35js.TwoFactorService.setupTotp({
|
|
14569
14579
|
id: _uuid.v4.call(void 0, ),
|
|
14570
14580
|
name: name.trim(),
|
|
14571
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14581
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _410 => _410.email]), () => ( ""))
|
|
14572
14582
|
});
|
|
14573
14583
|
setQrCodeUri(setup.qrCodeUri);
|
|
14574
14584
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -14702,7 +14712,7 @@ function TwoFactorSettings() {
|
|
|
14702
14712
|
if (isLoading) {
|
|
14703
14713
|
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") }) }) });
|
|
14704
14714
|
}
|
|
14705
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14715
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _411 => _411.isEnabled]), () => ( false));
|
|
14706
14716
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
14707
14717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
14708
14718
|
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" }),
|
|
@@ -14740,7 +14750,7 @@ function TwoFactorSettings() {
|
|
|
14740
14750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
14741
14751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
14742
14752
|
] }),
|
|
14743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _412 => _412.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
14744
14754
|
] }) }),
|
|
14745
14755
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14746
14756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -14918,9 +14928,9 @@ function AcceptInvitation() {
|
|
|
14918
14928
|
});
|
|
14919
14929
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
14920
14930
|
try {
|
|
14921
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
14931
|
+
if (!_optionalChain([params, 'optionalAccess', _413 => _413.code])) return;
|
|
14922
14932
|
const payload = {
|
|
14923
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
14933
|
+
code: _optionalChain([params, 'optionalAccess', _414 => _414.code]),
|
|
14924
14934
|
password: values.password
|
|
14925
14935
|
};
|
|
14926
14936
|
await _chunkQOLVON35js.AuthService.acceptInvitation(payload);
|
|
@@ -15270,7 +15280,7 @@ function Logout({ storageKeys }) {
|
|
|
15270
15280
|
const generateUrl = usePageUrlGenerator();
|
|
15271
15281
|
_react.useEffect.call(void 0, () => {
|
|
15272
15282
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
15273
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
15283
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _415 => _415.length])) {
|
|
15274
15284
|
clearClientStorage(storageKeys);
|
|
15275
15285
|
}
|
|
15276
15286
|
await _chunkQOLVON35js.AuthService.logout();
|
|
@@ -15293,14 +15303,14 @@ function RefreshUser() {
|
|
|
15293
15303
|
setUser(fullUser);
|
|
15294
15304
|
const token = {
|
|
15295
15305
|
userId: fullUser.id,
|
|
15296
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
15306
|
+
companyId: _optionalChain([fullUser, 'access', _416 => _416.company, 'optionalAccess', _417 => _417.id]),
|
|
15297
15307
|
roles: fullUser.roles.map((role) => role.id),
|
|
15298
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
15308
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _418 => _418.company, 'optionalAccess', _419 => _419.features, 'optionalAccess', _420 => _420.map, 'call', _421 => _421((feature) => feature.id)]), () => ( [])),
|
|
15299
15309
|
modules: fullUser.modules.map((module) => {
|
|
15300
15310
|
return { id: module.id, permissions: module.permissions };
|
|
15301
15311
|
})
|
|
15302
15312
|
};
|
|
15303
|
-
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
15313
|
+
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess', _422 => _422.updateToken, 'call', _423 => _423(token)]);
|
|
15304
15314
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
15305
15315
|
}
|
|
15306
15316
|
}, "loadFullUser");
|
|
@@ -15364,9 +15374,9 @@ function ResetPassword() {
|
|
|
15364
15374
|
});
|
|
15365
15375
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
15366
15376
|
try {
|
|
15367
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
15377
|
+
if (!_optionalChain([params, 'optionalAccess', _424 => _424.code])) return;
|
|
15368
15378
|
const payload = {
|
|
15369
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
15379
|
+
code: _optionalChain([params, 'optionalAccess', _425 => _425.code]),
|
|
15370
15380
|
password: values.password
|
|
15371
15381
|
};
|
|
15372
15382
|
await _chunkQOLVON35js.AuthService.resetPassword(payload);
|
|
@@ -15723,14 +15733,14 @@ function NotificationsList({ archived }) {
|
|
|
15723
15733
|
] }),
|
|
15724
15734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
15725
15735
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
15726
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
15736
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _426 => _426.data, 'optionalAccess', _427 => _427.map, 'call', _428 => _428((notification) => {
|
|
15727
15737
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
15728
15738
|
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: [
|
|
15729
15739
|
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: _chunkQOLVON35js.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" }),
|
|
15730
15740
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
15731
15741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
15732
15742
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
15733
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
15743
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _429 => _429.actor, 'optionalAccess', _430 => _430.name]), () => ( "")),
|
|
15734
15744
|
title: notificationData.title
|
|
15735
15745
|
}) }),
|
|
15736
15746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -16080,7 +16090,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
16080
16090
|
invalidEmail: "Please enter a valid email address"
|
|
16081
16091
|
};
|
|
16082
16092
|
async function copyToClipboard(text) {
|
|
16083
|
-
if (_optionalChain([navigator, 'access',
|
|
16093
|
+
if (_optionalChain([navigator, 'access', _431 => _431.clipboard, 'optionalAccess', _432 => _432.writeText])) {
|
|
16084
16094
|
try {
|
|
16085
16095
|
await navigator.clipboard.writeText(text);
|
|
16086
16096
|
return true;
|
|
@@ -16122,7 +16132,7 @@ function ReferralWidget({
|
|
|
16122
16132
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
16123
16133
|
const config = _chunkUJBUJALXjs.getReferralConfig.call(void 0, );
|
|
16124
16134
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
16125
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
16135
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _433 => _433.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
16126
16136
|
if (!_chunkUJBUJALXjs.isReferralEnabled.call(void 0, )) {
|
|
16127
16137
|
return null;
|
|
16128
16138
|
}
|
|
@@ -16132,7 +16142,7 @@ function ReferralWidget({
|
|
|
16132
16142
|
if (success) {
|
|
16133
16143
|
setCopied(true);
|
|
16134
16144
|
_chunkQOLVON35js.showToast.call(void 0, t.copiedMessage);
|
|
16135
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
16145
|
+
_optionalChain([onLinkCopied, 'optionalCall', _434 => _434()]);
|
|
16136
16146
|
setTimeout(() => setCopied(false), 2e3);
|
|
16137
16147
|
} else {
|
|
16138
16148
|
_chunkQOLVON35js.showError.call(void 0, t.copyError);
|
|
@@ -16146,12 +16156,12 @@ function ReferralWidget({
|
|
|
16146
16156
|
try {
|
|
16147
16157
|
await sendInvite(email);
|
|
16148
16158
|
_chunkQOLVON35js.showToast.call(void 0, t.inviteSent);
|
|
16149
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
16159
|
+
_optionalChain([onInviteSent, 'optionalCall', _435 => _435(email)]);
|
|
16150
16160
|
setEmail("");
|
|
16151
16161
|
} catch (err) {
|
|
16152
16162
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
16153
16163
|
_chunkQOLVON35js.showError.call(void 0, error2.message);
|
|
16154
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
16164
|
+
_optionalChain([onInviteError, 'optionalCall', _436 => _436(error2)]);
|
|
16155
16165
|
}
|
|
16156
16166
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
16157
16167
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -16904,7 +16914,7 @@ function OAuthClientList({
|
|
|
16904
16914
|
OAuthClientCard,
|
|
16905
16915
|
{
|
|
16906
16916
|
client,
|
|
16907
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
16917
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _437 => _437(client)]),
|
|
16908
16918
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
16909
16919
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
16910
16920
|
},
|
|
@@ -16920,11 +16930,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
16920
16930
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
16921
16931
|
const isEditMode = !!client;
|
|
16922
16932
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
16923
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
16924
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
16925
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
16926
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
16927
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
16933
|
+
name: _optionalChain([client, 'optionalAccess', _438 => _438.name]) || "",
|
|
16934
|
+
description: _optionalChain([client, 'optionalAccess', _439 => _439.description]) || "",
|
|
16935
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _440 => _440.redirectUris, 'optionalAccess', _441 => _441.length]) ? client.redirectUris : [""],
|
|
16936
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _442 => _442.allowedScopes]) || [],
|
|
16937
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _443 => _443.isConfidential]), () => ( true))
|
|
16928
16938
|
});
|
|
16929
16939
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
16930
16940
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -17152,7 +17162,7 @@ function OAuthClientDetail({
|
|
|
17152
17162
|
] }),
|
|
17153
17163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17154
17164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
17155
|
-
/* @__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([_chunkQOLVON35js.OAUTH_SCOPE_DISPLAY, 'access',
|
|
17165
|
+
/* @__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([_chunkQOLVON35js.OAUTH_SCOPE_DISPLAY, 'access', _444 => _444[scope], 'optionalAccess', _445 => _445.name]) || scope }, scope)) })
|
|
17156
17166
|
] }),
|
|
17157
17167
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17158
17168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -17296,7 +17306,7 @@ function OAuthConsentScreen({
|
|
|
17296
17306
|
if (error || !clientInfo) {
|
|
17297
17307
|
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: [
|
|
17298
17308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
17299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
17309
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _446 => _446.message]) || "Invalid authorization request. Please try again." })
|
|
17300
17310
|
] }) }) }) });
|
|
17301
17311
|
}
|
|
17302
17312
|
const { client, scopes } = clientInfo;
|
|
@@ -17512,7 +17522,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
17512
17522
|
questionnaire: values.questionnaire
|
|
17513
17523
|
});
|
|
17514
17524
|
setIsSuccess(true);
|
|
17515
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
17525
|
+
_optionalChain([onSuccess, 'optionalCall', _447 => _447()]);
|
|
17516
17526
|
} catch (e) {
|
|
17517
17527
|
errorToast({ error: e });
|
|
17518
17528
|
} finally {
|
|
@@ -18135,7 +18145,7 @@ function RbacModuleTable({ module, roles, stateApi }) {
|
|
|
18135
18145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: role.name }),
|
|
18136
18146
|
_chunkUJBUJALXjs.ACTION_TYPES.map((actionType) => {
|
|
18137
18147
|
const roleValue = stateApi.getRolePermission(role.id, module.id, actionType);
|
|
18138
|
-
const originalMapping = _optionalChain([stateApi, 'access',
|
|
18148
|
+
const originalMapping = _optionalChain([stateApi, 'access', _448 => _448.original, 'optionalAccess', _449 => _449.permissionMappings, 'access', _450 => _450.find, 'call', _451 => _451(
|
|
18139
18149
|
(pm) => pm.roleId === role.id && pm.moduleId === module.id
|
|
18140
18150
|
)]);
|
|
18141
18151
|
const originalRoleValue = originalMapping ? _nullishCoalesce(originalMapping.permissions[actionType], () => ( null)) : void 0;
|
|
@@ -18748,4 +18758,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacContainer, "RbacContainer");
|
|
|
18748
18758
|
|
|
18749
18759
|
|
|
18750
18760
|
exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.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 = useDebounce2; exports.MultipleSelector = MultipleSelector; 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.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; 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.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.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.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; 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.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.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.useRbacState = useRbacState; exports.generateMigrationFile = generateMigrationFile; exports.downloadMigrationFile = downloadMigrationFile; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacModuleTable = RbacModuleTable; exports.RbacFeatureSection = RbacFeatureSection; exports.RbacToolbar = RbacToolbar; exports.RbacContainer = RbacContainer; 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.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
|
|
18751
|
-
//# sourceMappingURL=chunk-
|
|
18761
|
+
//# sourceMappingURL=chunk-22HO4MQ7.js.map
|