@carlonicora/nextjs-jsonapi 1.53.1 → 1.54.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-AROKR3J6.js → BlockNoteEditor-RQCTOZHO.js} +41 -17
- package/dist/BlockNoteEditor-RQCTOZHO.js.map +1 -0
- package/dist/{BlockNoteEditor-CNMSBGCL.mjs → BlockNoteEditor-Y5Q25O4P.mjs} +36 -12
- package/dist/BlockNoteEditor-Y5Q25O4P.mjs.map +1 -0
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-PQIXFKHT.js → chunk-3T2Z3H7V.js} +170 -128
- package/dist/chunk-3T2Z3H7V.js.map +1 -0
- package/dist/{chunk-G5473JP3.mjs → chunk-MVAUGASJ.mjs} +1129 -1087
- package/dist/chunk-MVAUGASJ.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +16 -2
- package/dist/components/index.d.ts +16 -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/dist/scripts/generate-web-module/templates/components/editor.template.js +6 -9
- package/dist/scripts/generate-web-module/templates/components/editor.template.js.map +1 -1
- package/package.json +1 -1
- package/scripts/generate-web-module/templates/components/editor.template.ts +6 -9
- package/src/components/containers/RoundPageContainer.tsx +6 -3
- package/src/components/editors/BlockNoteEditor.tsx +23 -1
- package/src/components/forms/FormBlockNote.tsx +54 -0
- package/src/components/forms/index.ts +1 -0
- package/src/components/tables/ContentListTable.tsx +6 -3
- package/dist/BlockNoteEditor-AROKR3J6.js.map +0 -1
- package/dist/BlockNoteEditor-CNMSBGCL.mjs.map +0 -1
- package/dist/chunk-G5473JP3.mjs.map +0 -1
- package/dist/chunk-PQIXFKHT.js.map +0 -1
|
@@ -61,7 +61,7 @@ var _chunk3EPNHTMHjs = require('./chunk-3EPNHTMH.js');
|
|
|
61
61
|
var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
|
|
62
62
|
|
|
63
63
|
// src/contexts/HeaderChildrenContext.tsx
|
|
64
|
-
var _react = require('react'); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var
|
|
64
|
+
var _react = require('react'); var React3 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React9 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var React15 = _interopRequireWildcard(_react);
|
|
65
65
|
var _jsxruntime = require('react/jsx-runtime');
|
|
66
66
|
var HeaderChildrenContext = _react.createContext.call(void 0, {
|
|
67
67
|
headerChildren: null
|
|
@@ -8339,6 +8339,58 @@ function FormCheckbox({ form, id, name, labelBefore, description, isRequired })
|
|
|
8339
8339
|
}
|
|
8340
8340
|
_chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
|
|
8341
8341
|
|
|
8342
|
+
// src/components/editors/BlockNoteEditorContainer.tsx
|
|
8343
|
+
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
8344
|
+
|
|
8345
|
+
|
|
8346
|
+
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-RQCTOZHO.js"))), {
|
|
8347
|
+
ssr: false
|
|
8348
|
+
});
|
|
8349
|
+
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
8350
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BlockNoteEditor, { ...props });
|
|
8351
|
+
}, "EditorContainer"));
|
|
8352
|
+
|
|
8353
|
+
// src/components/forms/FormBlockNote.tsx
|
|
8354
|
+
|
|
8355
|
+
function FormBlockNote({
|
|
8356
|
+
form,
|
|
8357
|
+
id,
|
|
8358
|
+
name,
|
|
8359
|
+
placeholder,
|
|
8360
|
+
type,
|
|
8361
|
+
isRequired = false,
|
|
8362
|
+
description,
|
|
8363
|
+
testId,
|
|
8364
|
+
onEmptyChange
|
|
8365
|
+
}) {
|
|
8366
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8367
|
+
FormFieldWrapper,
|
|
8368
|
+
{
|
|
8369
|
+
form,
|
|
8370
|
+
name: id,
|
|
8371
|
+
label: name,
|
|
8372
|
+
isRequired,
|
|
8373
|
+
description,
|
|
8374
|
+
testId,
|
|
8375
|
+
children: (field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8376
|
+
BlockNoteEditorContainer,
|
|
8377
|
+
{
|
|
8378
|
+
id: form.getValues("id"),
|
|
8379
|
+
type,
|
|
8380
|
+
initialContent: field.value,
|
|
8381
|
+
onChange: (content, isEmpty) => {
|
|
8382
|
+
field.onChange(content);
|
|
8383
|
+
_optionalChain([onEmptyChange, 'optionalCall', _227 => _227(isEmpty)]);
|
|
8384
|
+
},
|
|
8385
|
+
placeholder,
|
|
8386
|
+
bordered: true
|
|
8387
|
+
}
|
|
8388
|
+
)
|
|
8389
|
+
}
|
|
8390
|
+
) });
|
|
8391
|
+
}
|
|
8392
|
+
_chunk7QVYU63Ejs.__name.call(void 0, FormBlockNote, "FormBlockNote");
|
|
8393
|
+
|
|
8342
8394
|
// src/components/forms/FormDate.tsx
|
|
8343
8395
|
|
|
8344
8396
|
|
|
@@ -8749,9 +8801,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormInput, "FormInput");
|
|
|
8749
8801
|
|
|
8750
8802
|
|
|
8751
8803
|
|
|
8752
|
-
var PasswordInput =
|
|
8804
|
+
var PasswordInput = React15.forwardRef(
|
|
8753
8805
|
({ className, type: _type, ...props }, ref) => {
|
|
8754
|
-
const [showPassword, setShowPassword] =
|
|
8806
|
+
const [showPassword, setShowPassword] = React15.useState(false);
|
|
8755
8807
|
const disabled = props.value === "" || props.value === void 0 || props.disabled;
|
|
8756
8808
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
8757
8809
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
@@ -8870,11 +8922,11 @@ function FormPlaceAutocomplete({
|
|
|
8870
8922
|
const data = await response.json();
|
|
8871
8923
|
if (data.suggestions) {
|
|
8872
8924
|
const formattedSuggestions = data.suggestions.map((suggestion) => ({
|
|
8873
|
-
place_id: _optionalChain([suggestion, 'access',
|
|
8874
|
-
description: _optionalChain([suggestion, 'access',
|
|
8925
|
+
place_id: _optionalChain([suggestion, 'access', _228 => _228.placePrediction, 'optionalAccess', _229 => _229.placeId]) || "",
|
|
8926
|
+
description: _optionalChain([suggestion, 'access', _230 => _230.placePrediction, 'optionalAccess', _231 => _231.text, 'optionalAccess', _232 => _232.text]) || "",
|
|
8875
8927
|
structured_formatting: {
|
|
8876
|
-
main_text: _optionalChain([suggestion, 'access',
|
|
8877
|
-
secondary_text: _optionalChain([suggestion, 'access',
|
|
8928
|
+
main_text: _optionalChain([suggestion, 'access', _233 => _233.placePrediction, 'optionalAccess', _234 => _234.structuredFormat, 'optionalAccess', _235 => _235.mainText, 'optionalAccess', _236 => _236.text]) || "",
|
|
8929
|
+
secondary_text: _optionalChain([suggestion, 'access', _237 => _237.placePrediction, 'optionalAccess', _238 => _238.structuredFormat, 'optionalAccess', _239 => _239.secondaryText, 'optionalAccess', _240 => _240.text]) || ""
|
|
8878
8930
|
}
|
|
8879
8931
|
}));
|
|
8880
8932
|
setSuggestions(formattedSuggestions);
|
|
@@ -8969,8 +9021,8 @@ function FormPlaceAutocomplete({
|
|
|
8969
9021
|
className: "hover:bg-muted cursor-pointer px-3 py-2 text-sm",
|
|
8970
9022
|
onClick: () => handleSuggestionSelect(suggestion),
|
|
8971
9023
|
children: [
|
|
8972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "font-medium", children: _optionalChain([suggestion, 'access',
|
|
8973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground", children: _optionalChain([suggestion, 'access',
|
|
9024
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "font-medium", children: _optionalChain([suggestion, 'access', _241 => _241.structured_formatting, 'optionalAccess', _242 => _242.main_text]) }),
|
|
9025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground", children: _optionalChain([suggestion, 'access', _243 => _243.structured_formatting, 'optionalAccess', _244 => _244.secondary_text]) })
|
|
8974
9026
|
]
|
|
8975
9027
|
},
|
|
8976
9028
|
suggestion.place_id || index
|
|
@@ -9011,7 +9063,7 @@ function FormSelect({
|
|
|
9011
9063
|
disabled,
|
|
9012
9064
|
"data-testid": testId,
|
|
9013
9065
|
children: [
|
|
9014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { children: _optionalChain([values, 'access',
|
|
9066
|
+
/* @__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]) }) }),
|
|
9015
9067
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: values.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: type.id, children: type.text }, type.id)) })
|
|
9016
9068
|
]
|
|
9017
9069
|
}
|
|
@@ -9195,7 +9247,7 @@ function UserMultiSelect({
|
|
|
9195
9247
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
9196
9248
|
return _chunkQOLVON35js.UserService.findAllUsers(params);
|
|
9197
9249
|
}, "retriever"),
|
|
9198
|
-
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess',
|
|
9250
|
+
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _248 => _248.id]) },
|
|
9199
9251
|
module: _chunkQOLVON35js.Modules.User
|
|
9200
9252
|
});
|
|
9201
9253
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9222,7 +9274,7 @@ function UserMultiSelect({
|
|
|
9222
9274
|
_react.useEffect.call(void 0, () => {
|
|
9223
9275
|
if (data.data && data.data.length > 0) {
|
|
9224
9276
|
const users = data.data;
|
|
9225
|
-
const filteredUsers = users.filter((user) => user.id !== _optionalChain([currentUser, 'optionalAccess',
|
|
9277
|
+
const filteredUsers = users.filter((user) => user.id !== _optionalChain([currentUser, 'optionalAccess', _249 => _249.id]));
|
|
9226
9278
|
const options = filteredUsers.map((user) => ({
|
|
9227
9279
|
label: user.name,
|
|
9228
9280
|
value: user.id,
|
|
@@ -9251,14 +9303,14 @@ function UserMultiSelect({
|
|
|
9251
9303
|
return {
|
|
9252
9304
|
id: option.value,
|
|
9253
9305
|
name: option.label,
|
|
9254
|
-
avatar: _optionalChain([userOption, 'optionalAccess',
|
|
9306
|
+
avatar: _optionalChain([userOption, 'optionalAccess', _250 => _250.avatar])
|
|
9255
9307
|
};
|
|
9256
9308
|
});
|
|
9257
9309
|
form.setValue(id, formValues, { shouldDirty: true, shouldTouch: true });
|
|
9258
9310
|
if (onChange) {
|
|
9259
9311
|
const fullUsers = options.map((option) => {
|
|
9260
9312
|
const userOption = userOptions.find((opt) => opt.value === option.value);
|
|
9261
|
-
return _optionalChain([userOption, 'optionalAccess',
|
|
9313
|
+
return _optionalChain([userOption, 'optionalAccess', _251 => _251.userData]);
|
|
9262
9314
|
}).filter(Boolean);
|
|
9263
9315
|
onChange(fullUsers);
|
|
9264
9316
|
}
|
|
@@ -9424,7 +9476,7 @@ function UserAvatar({ user, className, showFull, showLink, showTooltip = true })
|
|
|
9424
9476
|
}, "getInitials");
|
|
9425
9477
|
const getAvatar = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
9426
9478
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Avatar, { className: `h-6 w-6 ${className}`, children: [
|
|
9427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarImage, { className: "object-cover", src: _optionalChain([user, 'optionalAccess',
|
|
9479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarImage, { className: "object-cover", src: _optionalChain([user, 'optionalAccess', _252 => _252.avatar]) }),
|
|
9428
9480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarFallback, { children: getInitials(user.name) })
|
|
9429
9481
|
] }) });
|
|
9430
9482
|
}, "getAvatar");
|
|
@@ -9522,10 +9574,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
|
|
|
9522
9574
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
|
|
9523
9575
|
/* @__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, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md border p-2", children: [
|
|
9524
9576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Avatar, { className: `mr-2 h-6 w-6`, children: [
|
|
9525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarImage, { src: _optionalChain([field, 'access',
|
|
9526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarFallback, { children: _optionalChain([field, 'access',
|
|
9577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarImage, { src: _optionalChain([field, 'access', _253 => _253.value, 'optionalAccess', _254 => _254.avatar]) }),
|
|
9578
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarFallback, { children: _optionalChain([field, 'access', _255 => _255.value, 'optionalAccess', _256 => _256.name]) ? _optionalChain([field, 'access', _257 => _257.value, 'optionalAccess', _258 => _258.name, 'access', _259 => _259.split, 'call', _260 => _260(" "), 'access', _261 => _261.map, 'call', _262 => _262((name) => name.charAt(0).toUpperCase())]) : "X" })
|
|
9527
9579
|
] }) }),
|
|
9528
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "", children: _nullishCoalesce(_optionalChain([field, 'access',
|
|
9580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "", children: _nullishCoalesce(_optionalChain([field, 'access', _263 => _263.value, 'optionalAccess', _264 => _264.name]), () => ( "")) })
|
|
9529
9581
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mr-7 flex h-10 w-full flex-row items-center justify-start rounded-md border p-2 text-sm", children: _nullishCoalesce(placeholder, () => ( t(`ui.search.placeholder`, { type: t(`entities.users`, { count: 1 }) }))) }) }) }),
|
|
9530
9582
|
field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9531
9583
|
_lucidereact.CircleX,
|
|
@@ -9820,7 +9872,7 @@ function CompanyUsersList({ isDeleted }) {
|
|
|
9820
9872
|
const data = useDataListRetriever({
|
|
9821
9873
|
ready: !!company,
|
|
9822
9874
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkQOLVON35js.UserService.findAllUsers(params), "retriever"),
|
|
9823
|
-
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess',
|
|
9875
|
+
retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _265 => _265.id]), isDeleted },
|
|
9824
9876
|
module: _chunkQOLVON35js.Modules.User
|
|
9825
9877
|
});
|
|
9826
9878
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9926,11 +9978,11 @@ function UserListInAdd({ data, existingUsers, setSelectedUser, setLevelOpen }) {
|
|
|
9926
9978
|
className: "cursor-pointer hover:bg-muted data-selected:hover:bg-muted bg-transparent data-selected:bg-transparent",
|
|
9927
9979
|
onClick: (_e) => {
|
|
9928
9980
|
setSelectedUser(user);
|
|
9929
|
-
_optionalChain([setLevelOpen, 'optionalCall',
|
|
9981
|
+
_optionalChain([setLevelOpen, 'optionalCall', _266 => _266(true)]);
|
|
9930
9982
|
},
|
|
9931
9983
|
onSelect: (_e) => {
|
|
9932
9984
|
setSelectedUser(user);
|
|
9933
|
-
_optionalChain([setLevelOpen, 'optionalCall',
|
|
9985
|
+
_optionalChain([setLevelOpen, 'optionalCall', _267 => _267(true)]);
|
|
9934
9986
|
},
|
|
9935
9987
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between px-4 py-1", children: [
|
|
9936
9988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user }),
|
|
@@ -10215,8 +10267,8 @@ function CompanyConfigurationEditorInternal({ company }) {
|
|
|
10215
10267
|
const { setUser } = useCurrentUserContext();
|
|
10216
10268
|
const defaultValues = _react.useMemo.call(void 0, () => {
|
|
10217
10269
|
return {
|
|
10218
|
-
isManagedKnowledge: _nullishCoalesce(_optionalChain([company, 'access',
|
|
10219
|
-
allowPublicBot: _nullishCoalesce(_optionalChain([company, 'access',
|
|
10270
|
+
isManagedKnowledge: _nullishCoalesce(_optionalChain([company, 'access', _268 => _268.configurations, 'optionalAccess', _269 => _269.isManagedKnowledge]), () => ( false)),
|
|
10271
|
+
allowPublicBot: _nullishCoalesce(_optionalChain([company, 'access', _270 => _270.configurations, 'optionalAccess', _271 => _271.allowPublicBot]), () => ( false))
|
|
10220
10272
|
};
|
|
10221
10273
|
}, [company.configurations]);
|
|
10222
10274
|
const close = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -10235,8 +10287,8 @@ function CompanyConfigurationEditorInternal({ company }) {
|
|
|
10235
10287
|
_react.useEffect.call(void 0, () => {
|
|
10236
10288
|
if (open) {
|
|
10237
10289
|
form.reset({
|
|
10238
|
-
isManagedKnowledge: _nullishCoalesce(_optionalChain([company, 'access',
|
|
10239
|
-
allowPublicBot: _nullishCoalesce(_optionalChain([company, 'access',
|
|
10290
|
+
isManagedKnowledge: _nullishCoalesce(_optionalChain([company, 'access', _272 => _272.configurations, 'optionalAccess', _273 => _273.isManagedKnowledge]), () => ( false)),
|
|
10291
|
+
allowPublicBot: _nullishCoalesce(_optionalChain([company, 'access', _274 => _274.configurations, 'optionalAccess', _275 => _275.allowPublicBot]), () => ( false))
|
|
10240
10292
|
});
|
|
10241
10293
|
}
|
|
10242
10294
|
}, [company, open]);
|
|
@@ -10463,11 +10515,11 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10463
10515
|
const form = _reacthookform.useForm.call(void 0, {
|
|
10464
10516
|
resolver: _zod.zodResolver.call(void 0, formSchema),
|
|
10465
10517
|
defaultValues: {
|
|
10466
|
-
id: _optionalChain([company, 'optionalAccess',
|
|
10467
|
-
name: _optionalChain([company, 'optionalAccess',
|
|
10468
|
-
featureIds: _optionalChain([company, 'optionalAccess',
|
|
10469
|
-
moduleIds: _optionalChain([company, 'optionalAccess',
|
|
10470
|
-
logo: _optionalChain([company, 'optionalAccess',
|
|
10518
|
+
id: _optionalChain([company, 'optionalAccess', _276 => _276.id]) || _uuid.v4.call(void 0, ),
|
|
10519
|
+
name: _optionalChain([company, 'optionalAccess', _277 => _277.name]) || "",
|
|
10520
|
+
featureIds: _optionalChain([company, 'optionalAccess', _278 => _278.features, 'access', _279 => _279.map, 'call', _280 => _280((feature) => feature.id)]) || [],
|
|
10521
|
+
moduleIds: _optionalChain([company, 'optionalAccess', _281 => _281.modules, 'access', _282 => _282.map, 'call', _283 => _283((module) => module.id)]) || [],
|
|
10522
|
+
logo: _optionalChain([company, 'optionalAccess', _284 => _284.logo]) || ""
|
|
10471
10523
|
}
|
|
10472
10524
|
});
|
|
10473
10525
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
@@ -10484,7 +10536,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10484
10536
|
});
|
|
10485
10537
|
}
|
|
10486
10538
|
const payload = {
|
|
10487
|
-
id: _nullishCoalesce(_optionalChain([company, 'optionalAccess',
|
|
10539
|
+
id: _nullishCoalesce(_optionalChain([company, 'optionalAccess', _285 => _285.id]), () => ( _uuid.v4.call(void 0, ))),
|
|
10488
10540
|
name: values.name,
|
|
10489
10541
|
logo: files && contentType ? values.logo : void 0,
|
|
10490
10542
|
featureIds: values.featureIds,
|
|
@@ -10519,7 +10571,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10519
10571
|
}
|
|
10520
10572
|
}
|
|
10521
10573
|
_chunk7QVYU63Ejs.__name.call(void 0, fetchFeatures, "fetchFeatures");
|
|
10522
|
-
if (open && features.length === 0 && (hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access',
|
|
10574
|
+
if (open && features.length === 0 && (hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _286 => _286.env, 'access', _287 => _287.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _288 => _288.toLowerCase, 'call', _289 => _289()]) === "true"))
|
|
10523
10575
|
fetchFeatures();
|
|
10524
10576
|
}, [open, features]);
|
|
10525
10577
|
_react.useEffect.call(void 0, () => {
|
|
@@ -10553,7 +10605,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10553
10605
|
"application/images": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"]
|
|
10554
10606
|
}
|
|
10555
10607
|
};
|
|
10556
|
-
const canAccessFeatures = hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access',
|
|
10608
|
+
const canAccessFeatures = hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _290 => _290.env, 'access', _291 => _291.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _292 => _292.toLowerCase, 'call', _293 => _293()]) === "true";
|
|
10557
10609
|
const isAdministrator2 = hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator);
|
|
10558
10610
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
|
|
10559
10611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!company }),
|
|
@@ -10562,13 +10614,13 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
|
|
|
10562
10614
|
{
|
|
10563
10615
|
className: `flex max-h-[70vh] w-full ${isAdministrator2 || canAccessFeatures ? `max-w-5xl` : `max-w-4xl`} flex-col overflow-y-auto`,
|
|
10564
10616
|
children: [
|
|
10565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorHeader, { type: t(`entities.companies`, { count: 1 }), name: _optionalChain([company, 'optionalAccess',
|
|
10617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorHeader, { type: t(`entities.companies`, { count: 1 }), name: _optionalChain([company, 'optionalAccess', _294 => _294.name]) }),
|
|
10566
10618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Form, { ...form, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: form.handleSubmit(onSubmit), className: `flex w-full flex-col gap-y-4`, children: [
|
|
10567
10619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start justify-between gap-x-4", children: [
|
|
10568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `flex w-96 flex-col justify-start gap-y-4`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FileUploader, { value: files, onValueChange: setFiles, dropzoneOptions: dropzone2, className: "w-full p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FileInput, { className: "text-neutral-300 outline-dashed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-center justify-center pt-3 pb-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-center justify-center pt-3 pb-4", children: file || _optionalChain([company, 'optionalAccess',
|
|
10620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `flex w-96 flex-col justify-start gap-y-4`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FileUploader, { value: files, onValueChange: setFiles, dropzoneOptions: dropzone2, className: "w-full p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FileInput, { className: "text-neutral-300 outline-dashed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-center justify-center pt-3 pb-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col items-center justify-center pt-3 pb-4", children: file || _optionalChain([company, 'optionalAccess', _295 => _295.logo]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10569
10621
|
_image2.default,
|
|
10570
10622
|
{
|
|
10571
|
-
src: file ? URL.createObjectURL(file) : _optionalChain([company, 'optionalAccess',
|
|
10623
|
+
src: file ? URL.createObjectURL(file) : _optionalChain([company, 'optionalAccess', _296 => _296.logo]) || "",
|
|
10572
10624
|
alt: "Company Logo",
|
|
10573
10625
|
width: 200,
|
|
10574
10626
|
height: 200
|
|
@@ -10703,7 +10755,7 @@ function NotificationToast(notification, t, generateUrl, reouter) {
|
|
|
10703
10755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
10704
10756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
10705
10757
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
10706
|
-
actor: _nullishCoalesce(_optionalChain([data, 'access',
|
|
10758
|
+
actor: _nullishCoalesce(_optionalChain([data, 'access', _297 => _297.actor, 'optionalAccess', _298 => _298.name]), () => ( "")),
|
|
10707
10759
|
title: data.title,
|
|
10708
10760
|
message: _nullishCoalesce(notification.message, () => ( ""))
|
|
10709
10761
|
}) }),
|
|
@@ -10732,7 +10784,7 @@ function NotificationMenuItem({ notification, closePopover }) {
|
|
|
10732
10784
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
10733
10785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
10734
10786
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
10735
|
-
actor: _nullishCoalesce(_optionalChain([data, 'access',
|
|
10787
|
+
actor: _nullishCoalesce(_optionalChain([data, 'access', _299 => _299.actor, 'optionalAccess', _300 => _300.name]), () => ( "")),
|
|
10736
10788
|
title: data.title,
|
|
10737
10789
|
message: _nullishCoalesce(notification.message, () => ( ""))
|
|
10738
10790
|
}) }),
|
|
@@ -10789,7 +10841,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
|
|
|
10789
10841
|
_react.useEffect.call(void 0, () => {
|
|
10790
10842
|
if (hasInitiallyLoaded || !currentUser) return;
|
|
10791
10843
|
if (_chunkUJBUJALXjs.isRolesConfigured.call(void 0, )) {
|
|
10792
|
-
const isAdmin = _optionalChain([currentUser, 'access',
|
|
10844
|
+
const isAdmin = _optionalChain([currentUser, 'access', _301 => _301.roles, 'optionalAccess', _302 => _302.some, 'call', _303 => _303((role) => role.id === _chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator)]);
|
|
10793
10845
|
if (isAdmin) {
|
|
10794
10846
|
setHasInitiallyLoaded(true);
|
|
10795
10847
|
return;
|
|
@@ -10991,7 +11043,7 @@ function OnboardingProvider({
|
|
|
10991
11043
|
let tourSteps = steps;
|
|
10992
11044
|
if (!tourSteps) {
|
|
10993
11045
|
const tour2 = tours.find((t) => t.id === tourId);
|
|
10994
|
-
tourSteps = _optionalChain([tour2, 'optionalAccess',
|
|
11046
|
+
tourSteps = _optionalChain([tour2, 'optionalAccess', _304 => _304.steps]);
|
|
10995
11047
|
}
|
|
10996
11048
|
if (!tourSteps || tourSteps.length === 0) {
|
|
10997
11049
|
console.warn(`No steps found for tour: ${tourId}`);
|
|
@@ -11059,10 +11111,10 @@ function OnboardingProvider({
|
|
|
11059
11111
|
when: {
|
|
11060
11112
|
show: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
11061
11113
|
setCurrentStepIndex(index);
|
|
11062
|
-
_optionalChain([stepConfig, 'access',
|
|
11114
|
+
_optionalChain([stepConfig, 'access', _305 => _305.onShow, 'optionalCall', _306 => _306()]);
|
|
11063
11115
|
}, "show"),
|
|
11064
11116
|
hide: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
11065
|
-
_optionalChain([stepConfig, 'access',
|
|
11117
|
+
_optionalChain([stepConfig, 'access', _307 => _307.onHide, 'optionalCall', _308 => _308()]);
|
|
11066
11118
|
}, "hide")
|
|
11067
11119
|
}
|
|
11068
11120
|
});
|
|
@@ -11250,7 +11302,7 @@ function usePageTracker() {
|
|
|
11250
11302
|
if (typeof document !== "undefined") {
|
|
11251
11303
|
const titleParts = document.title.split("]");
|
|
11252
11304
|
if (titleParts[1]) {
|
|
11253
|
-
const cleanTitle = _optionalChain([titleParts, 'access',
|
|
11305
|
+
const cleanTitle = _optionalChain([titleParts, 'access', _309 => _309[1], 'access', _310 => _310.split, 'call', _311 => _311("|"), 'access', _312 => _312[0], 'optionalAccess', _313 => _313.trim, 'call', _314 => _314()]);
|
|
11254
11306
|
pageTitle = cleanTitle || foundModule.name;
|
|
11255
11307
|
}
|
|
11256
11308
|
}
|
|
@@ -11287,7 +11339,7 @@ function usePushNotifications() {
|
|
|
11287
11339
|
const register = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
11288
11340
|
if ("serviceWorker" in navigator && "PushManager" in window) {
|
|
11289
11341
|
try {
|
|
11290
|
-
const sessionKey = `push_registered_${_optionalChain([currentUser, 'optionalAccess',
|
|
11342
|
+
const sessionKey = `push_registered_${_optionalChain([currentUser, 'optionalAccess', _315 => _315.id])}`;
|
|
11291
11343
|
const lastRegisteredSubscription = sessionStorage.getItem(sessionKey);
|
|
11292
11344
|
const registration = await navigator.serviceWorker.register(`${_chunkUJBUJALXjs.getAppUrl.call(void 0, )}/sw.js`);
|
|
11293
11345
|
let permission = Notification.permission;
|
|
@@ -11341,7 +11393,7 @@ function useSocket({ token }) {
|
|
|
11341
11393
|
const socketRef = _react.useRef.call(void 0, null);
|
|
11342
11394
|
_react.useEffect.call(void 0, () => {
|
|
11343
11395
|
if (!token) return;
|
|
11344
|
-
const globalSocketKey = `__socket_${_optionalChain([process, 'access',
|
|
11396
|
+
const globalSocketKey = `__socket_${_optionalChain([process, 'access', _316 => _316.env, 'access', _317 => _317.NEXT_PUBLIC_API_URL, 'optionalAccess', _318 => _318.replace, 'call', _319 => _319(/[^a-zA-Z0-9]/g, "_")])}`;
|
|
11345
11397
|
if (typeof window !== "undefined") {
|
|
11346
11398
|
const _allSocketKeys = Object.keys(window).filter((key) => key.startsWith("__socket_"));
|
|
11347
11399
|
const existingSocket = window[globalSocketKey];
|
|
@@ -11764,7 +11816,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainerTitle, "RoundPageContaine
|
|
|
11764
11816
|
// src/components/containers/RoundPageContainer.tsx
|
|
11765
11817
|
|
|
11766
11818
|
|
|
11767
|
-
function RoundPageContainer({ module, details, tabs, children }) {
|
|
11819
|
+
function RoundPageContainer({ module, details, tabs, children, fullWidth }) {
|
|
11768
11820
|
const headerChildren = useHeaderChildren();
|
|
11769
11821
|
const [showDetails, setShowDetails] = _react.useState.call(void 0, false);
|
|
11770
11822
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -11783,7 +11835,7 @@ function RoundPageContainer({ module, details, tabs, children }) {
|
|
|
11783
11835
|
tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: tabs[0].label, className: "w-full", children: [
|
|
11784
11836
|
/* @__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)) }) }),
|
|
11785
11837
|
/* @__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)) })
|
|
11786
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11838
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: children && /* @__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 }) }) }),
|
|
11787
11839
|
details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11788
11840
|
"div",
|
|
11789
11841
|
{
|
|
@@ -11872,17 +11924,6 @@ function AllowedUsersDetails({ showTitle, content }) {
|
|
|
11872
11924
|
}
|
|
11873
11925
|
_chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails");
|
|
11874
11926
|
|
|
11875
|
-
// src/components/editors/BlockNoteEditorContainer.tsx
|
|
11876
|
-
var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-AROKR3J6.js"))), {
|
|
11880
|
-
ssr: false
|
|
11881
|
-
});
|
|
11882
|
-
var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
|
|
11883
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BlockNoteEditor, { ...props });
|
|
11884
|
-
}, "EditorContainer"));
|
|
11885
|
-
|
|
11886
11927
|
// src/components/pages/PageContainerContentDetails.tsx
|
|
11887
11928
|
|
|
11888
11929
|
|
|
@@ -12025,10 +12066,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
|
|
|
12025
12066
|
cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12026
12067
|
Checkbox,
|
|
12027
12068
|
{
|
|
12028
|
-
checked: _optionalChain([params, 'access',
|
|
12069
|
+
checked: _optionalChain([params, 'access', _320 => _320.checkedIds, 'optionalAccess', _321 => _321.includes, 'call', _322 => _322(row.getValue(params.name))]) || false,
|
|
12029
12070
|
onCheckedChange: (value) => {
|
|
12030
12071
|
row.toggleSelected(!!value);
|
|
12031
|
-
_optionalChain([params, 'access',
|
|
12072
|
+
_optionalChain([params, 'access', _323 => _323.toggleId, 'optionalCall', _324 => _324(row.getValue(params.name))]);
|
|
12032
12073
|
},
|
|
12033
12074
|
"aria-label": "Select row"
|
|
12034
12075
|
}
|
|
@@ -12087,7 +12128,7 @@ function useJsonApiGet(params) {
|
|
|
12087
12128
|
const [response, setResponse] = _react.useState.call(void 0, null);
|
|
12088
12129
|
const isMounted = _react.useRef.call(void 0, true);
|
|
12089
12130
|
const fetchData = _react.useCallback.call(void 0, async () => {
|
|
12090
|
-
if (_optionalChain([params, 'access',
|
|
12131
|
+
if (_optionalChain([params, 'access', _325 => _325.options, 'optionalAccess', _326 => _326.enabled]) === false) return;
|
|
12091
12132
|
setLoading(true);
|
|
12092
12133
|
setError(null);
|
|
12093
12134
|
try {
|
|
@@ -12114,9 +12155,9 @@ function useJsonApiGet(params) {
|
|
|
12114
12155
|
setLoading(false);
|
|
12115
12156
|
}
|
|
12116
12157
|
}
|
|
12117
|
-
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access',
|
|
12158
|
+
}, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _327 => _327.options, 'optionalAccess', _328 => _328.enabled])]);
|
|
12118
12159
|
const fetchNextPage = _react.useCallback.call(void 0, async () => {
|
|
12119
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12160
|
+
if (!_optionalChain([response, 'optionalAccess', _329 => _329.nextPage])) return;
|
|
12120
12161
|
setLoading(true);
|
|
12121
12162
|
try {
|
|
12122
12163
|
const nextResponse = await response.nextPage();
|
|
@@ -12137,7 +12178,7 @@ function useJsonApiGet(params) {
|
|
|
12137
12178
|
}
|
|
12138
12179
|
}, [response]);
|
|
12139
12180
|
const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
|
|
12140
|
-
if (!_optionalChain([response, 'optionalAccess',
|
|
12181
|
+
if (!_optionalChain([response, 'optionalAccess', _330 => _330.prevPage])) return;
|
|
12141
12182
|
setLoading(true);
|
|
12142
12183
|
try {
|
|
12143
12184
|
const prevResponse = await response.prevPage();
|
|
@@ -12163,15 +12204,15 @@ function useJsonApiGet(params) {
|
|
|
12163
12204
|
return () => {
|
|
12164
12205
|
isMounted.current = false;
|
|
12165
12206
|
};
|
|
12166
|
-
}, [fetchData, ..._optionalChain([params, 'access',
|
|
12207
|
+
}, [fetchData, ..._optionalChain([params, 'access', _331 => _331.options, 'optionalAccess', _332 => _332.deps]) || []]);
|
|
12167
12208
|
return {
|
|
12168
12209
|
data,
|
|
12169
12210
|
loading,
|
|
12170
12211
|
error,
|
|
12171
12212
|
response,
|
|
12172
12213
|
refetch: fetchData,
|
|
12173
|
-
hasNextPage: !!_optionalChain([response, 'optionalAccess',
|
|
12174
|
-
hasPreviousPage: !!_optionalChain([response, 'optionalAccess',
|
|
12214
|
+
hasNextPage: !!_optionalChain([response, 'optionalAccess', _333 => _333.next]),
|
|
12215
|
+
hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _334 => _334.prev]),
|
|
12175
12216
|
fetchNextPage,
|
|
12176
12217
|
fetchPreviousPage
|
|
12177
12218
|
};
|
|
@@ -12249,17 +12290,17 @@ function useJsonApiMutation(config) {
|
|
|
12249
12290
|
if (apiResponse.ok) {
|
|
12250
12291
|
const resultData = apiResponse.data;
|
|
12251
12292
|
setData(resultData);
|
|
12252
|
-
_optionalChain([config, 'access',
|
|
12293
|
+
_optionalChain([config, 'access', _335 => _335.onSuccess, 'optionalCall', _336 => _336(resultData)]);
|
|
12253
12294
|
return resultData;
|
|
12254
12295
|
} else {
|
|
12255
12296
|
setError(apiResponse.error);
|
|
12256
|
-
_optionalChain([config, 'access',
|
|
12297
|
+
_optionalChain([config, 'access', _337 => _337.onError, 'optionalCall', _338 => _338(apiResponse.error)]);
|
|
12257
12298
|
return null;
|
|
12258
12299
|
}
|
|
12259
12300
|
} catch (err) {
|
|
12260
12301
|
const errorMessage = err instanceof Error ? err.message : "Unknown error";
|
|
12261
12302
|
setError(errorMessage);
|
|
12262
|
-
_optionalChain([config, 'access',
|
|
12303
|
+
_optionalChain([config, 'access', _339 => _339.onError, 'optionalCall', _340 => _340(errorMessage)]);
|
|
12263
12304
|
return null;
|
|
12264
12305
|
} finally {
|
|
12265
12306
|
setLoading(false);
|
|
@@ -12332,7 +12373,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12332
12373
|
{
|
|
12333
12374
|
href: hasRole(_chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
|
|
12334
12375
|
page: "/administration",
|
|
12335
|
-
id: _optionalChain([_chunkQOLVON35js.Modules, 'access',
|
|
12376
|
+
id: _optionalChain([_chunkQOLVON35js.Modules, 'access', _341 => _341.Company, 'access', _342 => _342.pageUrl, 'optionalAccess', _343 => _343.substring, 'call', _344 => _344(1)]),
|
|
12336
12377
|
childPage: company.id
|
|
12337
12378
|
}) : generateUrl({ page: _chunkQOLVON35js.Modules.Company, id: company.id }),
|
|
12338
12379
|
children: row.getValue("name")
|
|
@@ -12348,7 +12389,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12348
12389
|
})
|
|
12349
12390
|
};
|
|
12350
12391
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12351
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12392
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _345 => _345[field], 'optionalCall', _346 => _346()])).filter((col) => col !== void 0);
|
|
12352
12393
|
}, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
|
|
12353
12394
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12354
12395
|
}, "useCompanyTableStructure");
|
|
@@ -12360,7 +12401,7 @@ var GRACE_DAYS = 3;
|
|
|
12360
12401
|
var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
|
|
12361
12402
|
if (!currentUser || !_chunkUJBUJALXjs.isRolesConfigured.call(void 0, )) return false;
|
|
12362
12403
|
const adminRoleId = _chunkUJBUJALXjs.getRoleId.call(void 0, ).Administrator;
|
|
12363
|
-
return !!_optionalChain([currentUser, 'access',
|
|
12404
|
+
return !!_optionalChain([currentUser, 'access', _347 => _347.roles, 'optionalAccess', _348 => _348.some, 'call', _349 => _349((role) => role.id === adminRoleId)]);
|
|
12364
12405
|
}, "isAdministrator");
|
|
12365
12406
|
function useSubscriptionStatus() {
|
|
12366
12407
|
const { company, currentUser } = useCurrentUserContext();
|
|
@@ -12477,7 +12518,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12477
12518
|
})
|
|
12478
12519
|
};
|
|
12479
12520
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12480
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12521
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _350 => _350[field], 'optionalCall', _351 => _351()])).filter((col) => col !== void 0);
|
|
12481
12522
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12482
12523
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12483
12524
|
}, "useRoleTableStructure");
|
|
@@ -12620,7 +12661,7 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
12620
12661
|
})
|
|
12621
12662
|
};
|
|
12622
12663
|
const columns = _react.useMemo.call(void 0, () => {
|
|
12623
|
-
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access',
|
|
12664
|
+
return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _352 => _352[field], 'optionalCall', _353 => _353()])).filter((col) => col !== void 0);
|
|
12624
12665
|
}, [params.fields, fieldColumnMap, t, generateUrl]);
|
|
12625
12666
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12626
12667
|
}, "useUserTableStructure");
|
|
@@ -12721,11 +12762,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
12721
12762
|
return params.fields.map((field) => {
|
|
12722
12763
|
const localHandler = fieldColumnMap[field];
|
|
12723
12764
|
if (localHandler) return localHandler();
|
|
12724
|
-
const customHandler = _optionalChain([params, 'access',
|
|
12765
|
+
const customHandler = _optionalChain([params, 'access', _354 => _354.context, 'optionalAccess', _355 => _355.customCells, 'optionalAccess', _356 => _356[field]]);
|
|
12725
12766
|
if (customHandler) return customHandler({ t });
|
|
12726
12767
|
return void 0;
|
|
12727
12768
|
}).filter((col) => col !== void 0);
|
|
12728
|
-
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access',
|
|
12769
|
+
}, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _357 => _357.context, 'optionalAccess', _358 => _358.customCells])]);
|
|
12729
12770
|
return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
|
|
12730
12771
|
}, "useContentTableStructure");
|
|
12731
12772
|
|
|
@@ -13051,7 +13092,7 @@ function rbacReducer(state, action) {
|
|
|
13051
13092
|
}
|
|
13052
13093
|
case "SET_FEATURE_IS_CORE": {
|
|
13053
13094
|
const newMap = new Map(state.featureIsCore);
|
|
13054
|
-
const originalFeature = _optionalChain([state, 'access',
|
|
13095
|
+
const originalFeature = _optionalChain([state, 'access', _359 => _359.original, 'optionalAccess', _360 => _360.features, 'access', _361 => _361.find, 'call', _362 => _362((f) => f.id === action.featureId)]);
|
|
13055
13096
|
if (originalFeature && originalFeature.isCore === action.isCore) {
|
|
13056
13097
|
newMap.delete(action.featureId);
|
|
13057
13098
|
} else {
|
|
@@ -13062,7 +13103,7 @@ function rbacReducer(state, action) {
|
|
|
13062
13103
|
case "SET_MODULE_DEFAULT_PERMISSION": {
|
|
13063
13104
|
const newMap = new Map(state.modulePermissions);
|
|
13064
13105
|
const originalModule = state.original ? findModule(state.original.features, action.moduleId) : void 0;
|
|
13065
|
-
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess',
|
|
13106
|
+
const current = _nullishCoalesce(newMap.get(action.moduleId), () => ( { ..._optionalChain([originalModule, 'optionalAccess', _363 => _363.permissions]) }));
|
|
13066
13107
|
const updated = { ...current, [action.actionType]: action.value };
|
|
13067
13108
|
newMap.set(action.moduleId, updated);
|
|
13068
13109
|
return { ...state, modulePermissions: newMap };
|
|
@@ -13153,8 +13194,8 @@ function useRbacState() {
|
|
|
13153
13194
|
const getFeatureIsCore = _react.useCallback.call(void 0,
|
|
13154
13195
|
(featureId) => {
|
|
13155
13196
|
if (state.featureIsCore.has(featureId)) return state.featureIsCore.get(featureId);
|
|
13156
|
-
const feature = _optionalChain([state, 'access',
|
|
13157
|
-
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess',
|
|
13197
|
+
const feature = _optionalChain([state, 'access', _364 => _364.original, 'optionalAccess', _365 => _365.features, 'access', _366 => _366.find, 'call', _367 => _367((f) => f.id === featureId)]);
|
|
13198
|
+
return _nullishCoalesce(_optionalChain([feature, 'optionalAccess', _368 => _368.isCore]), () => ( false));
|
|
13158
13199
|
},
|
|
13159
13200
|
[state.featureIsCore, state.original]
|
|
13160
13201
|
);
|
|
@@ -13164,7 +13205,7 @@ function useRbacState() {
|
|
|
13164
13205
|
if (edited && edited[actionType] !== void 0) return edited[actionType];
|
|
13165
13206
|
if (!state.original) return void 0;
|
|
13166
13207
|
const mod = findModule(state.original.features, moduleId);
|
|
13167
|
-
return _optionalChain([mod, 'optionalAccess',
|
|
13208
|
+
return _optionalChain([mod, 'optionalAccess', _369 => _369.permissions, 'access', _370 => _370[actionType]]);
|
|
13168
13209
|
},
|
|
13169
13210
|
[state.modulePermissions, state.original]
|
|
13170
13211
|
);
|
|
@@ -13220,7 +13261,7 @@ function useRbacState() {
|
|
|
13220
13261
|
}, [state]);
|
|
13221
13262
|
const getModuleRelationshipPaths = _react.useCallback.call(void 0,
|
|
13222
13263
|
(moduleId) => {
|
|
13223
|
-
return _nullishCoalesce(_optionalChain([state, 'access',
|
|
13264
|
+
return _nullishCoalesce(_optionalChain([state, 'access', _371 => _371.original, 'optionalAccess', _372 => _372.moduleRelationshipPaths, 'access', _373 => _373.get, 'call', _374 => _374(moduleId)]), () => ( []));
|
|
13224
13265
|
},
|
|
13225
13266
|
[state.original]
|
|
13226
13267
|
);
|
|
@@ -13431,7 +13472,7 @@ function ContentTableSearch({ data }) {
|
|
|
13431
13472
|
const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
13432
13473
|
if (!isExpanded) {
|
|
13433
13474
|
setIsFocused(true);
|
|
13434
|
-
setTimeout(() => _optionalChain([inputRef, 'access',
|
|
13475
|
+
setTimeout(() => _optionalChain([inputRef, 'access', _375 => _375.current, 'optionalAccess', _376 => _376.focus, 'call', _377 => _377()]), 50);
|
|
13435
13476
|
}
|
|
13436
13477
|
}, "handleSearchIconClick");
|
|
13437
13478
|
const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
@@ -13492,12 +13533,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentTableSearch, "ContentTableSearch");
|
|
|
13492
13533
|
|
|
13493
13534
|
var EMPTY_ARRAY = [];
|
|
13494
13535
|
var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function ContentListTable2(props) {
|
|
13495
|
-
const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters } = props;
|
|
13536
|
+
const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters, fullWidth } = props;
|
|
13496
13537
|
const [expanded, setExpanded] = _react.useState.call(void 0,
|
|
13497
13538
|
props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
|
|
13498
13539
|
);
|
|
13499
13540
|
const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
|
|
13500
|
-
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
13541
|
+
data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _378 => _378.data]), () => ( EMPTY_ARRAY)),
|
|
13501
13542
|
fields,
|
|
13502
13543
|
checkedIds,
|
|
13503
13544
|
toggleId,
|
|
@@ -13530,10 +13571,10 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13530
13571
|
});
|
|
13531
13572
|
const rowModel = tableData ? table.getRowModel() : null;
|
|
13532
13573
|
const showFooter = !!(props.functions || data.next || data.previous);
|
|
13533
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
13574
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQOLVON35js.cn.call(void 0, `overflow-clip`, fullWidth ? `` : `rounded-md border`), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Table, { children: [
|
|
13534
13575
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableHeader, { className: "bg-muted font-semibold", children: [
|
|
13535
13576
|
props.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: "bg-card text-primary p-4 text-left font-bold", colSpan: tableColumns.length, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-x-2", children: [
|
|
13536
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: props.title }),
|
|
13577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: fullWidth ? `` : props.title }),
|
|
13537
13578
|
(props.functions || props.filters || allowSearch) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13538
13579
|
props.functions,
|
|
13539
13580
|
props.filters,
|
|
@@ -13542,12 +13583,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13542
13583
|
] }) }) }),
|
|
13543
13584
|
table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
|
|
13544
13585
|
const meta = header.column.columnDef.meta;
|
|
13545
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess',
|
|
13586
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _379 => _379.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
|
|
13546
13587
|
}) }, headerGroup.id))
|
|
13547
13588
|
] }),
|
|
13548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access',
|
|
13589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _380 => _380.rows, 'optionalAccess', _381 => _381.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
|
|
13549
13590
|
const meta = cell.column.columnDef.meta;
|
|
13550
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess',
|
|
13591
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _382 => _382.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
|
|
13551
13592
|
}) }, 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." }) }) }),
|
|
13552
13593
|
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: [
|
|
13553
13594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13557,7 +13598,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13557
13598
|
size: "sm",
|
|
13558
13599
|
onClick: (e) => {
|
|
13559
13600
|
e.preventDefault();
|
|
13560
|
-
_optionalChain([data, 'access',
|
|
13601
|
+
_optionalChain([data, 'access', _383 => _383.previous, 'optionalCall', _384 => _384(true)]);
|
|
13561
13602
|
},
|
|
13562
13603
|
disabled: !data.previous,
|
|
13563
13604
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
|
|
@@ -13571,7 +13612,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
|
|
|
13571
13612
|
size: "sm",
|
|
13572
13613
|
onClick: (e) => {
|
|
13573
13614
|
e.preventDefault();
|
|
13574
|
-
_optionalChain([data, 'access',
|
|
13615
|
+
_optionalChain([data, 'access', _385 => _385.next, 'optionalCall', _386 => _386(true)]);
|
|
13575
13616
|
},
|
|
13576
13617
|
disabled: !data.next,
|
|
13577
13618
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
|
|
@@ -14132,7 +14173,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14132
14173
|
newDigits[index] = digit;
|
|
14133
14174
|
setDigits(newDigits);
|
|
14134
14175
|
if (digit && index < 5) {
|
|
14135
|
-
_optionalChain([inputRefs, 'access',
|
|
14176
|
+
_optionalChain([inputRefs, 'access', _387 => _387.current, 'access', _388 => _388[index + 1], 'optionalAccess', _389 => _389.focus, 'call', _390 => _390()]);
|
|
14136
14177
|
}
|
|
14137
14178
|
const code = newDigits.join("");
|
|
14138
14179
|
if (code.length === 6 && newDigits.every((d) => d !== "")) {
|
|
@@ -14141,7 +14182,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14141
14182
|
}, "handleChange");
|
|
14142
14183
|
const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
|
|
14143
14184
|
if (e.key === "Backspace" && !digits[index] && index > 0) {
|
|
14144
|
-
_optionalChain([inputRefs, 'access',
|
|
14185
|
+
_optionalChain([inputRefs, 'access', _391 => _391.current, 'access', _392 => _392[index - 1], 'optionalAccess', _393 => _393.focus, 'call', _394 => _394()]);
|
|
14145
14186
|
}
|
|
14146
14187
|
}, "handleKeyDown");
|
|
14147
14188
|
const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
|
|
@@ -14150,7 +14191,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
|
|
|
14150
14191
|
if (pastedData.length === 6) {
|
|
14151
14192
|
const newDigits = pastedData.split("");
|
|
14152
14193
|
setDigits(newDigits);
|
|
14153
|
-
_optionalChain([inputRefs, 'access',
|
|
14194
|
+
_optionalChain([inputRefs, 'access', _395 => _395.current, 'access', _396 => _396[5], 'optionalAccess', _397 => _397.focus, 'call', _398 => _398()]);
|
|
14154
14195
|
onComplete(pastedData);
|
|
14155
14196
|
}
|
|
14156
14197
|
}, "handlePaste");
|
|
@@ -14361,8 +14402,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
|
|
|
14361
14402
|
try {
|
|
14362
14403
|
const registrationData = await _chunkQOLVON35js.TwoFactorService.getPasskeyRegistrationOptions({
|
|
14363
14404
|
id: _uuid.v4.call(void 0, ),
|
|
14364
|
-
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14365
|
-
userDisplayName: _optionalChain([currentUser, 'optionalAccess',
|
|
14405
|
+
userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _399 => _399.email]), () => ( "")),
|
|
14406
|
+
userDisplayName: _optionalChain([currentUser, 'optionalAccess', _400 => _400.name])
|
|
14366
14407
|
});
|
|
14367
14408
|
const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
|
|
14368
14409
|
await _chunkQOLVON35js.TwoFactorService.verifyPasskeyRegistration({
|
|
@@ -14513,7 +14554,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
|
|
|
14513
14554
|
const setup = await _chunkQOLVON35js.TwoFactorService.setupTotp({
|
|
14514
14555
|
id: _uuid.v4.call(void 0, ),
|
|
14515
14556
|
name: name.trim(),
|
|
14516
|
-
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess',
|
|
14557
|
+
accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _401 => _401.email]), () => ( ""))
|
|
14517
14558
|
});
|
|
14518
14559
|
setQrCodeUri(setup.qrCodeUri);
|
|
14519
14560
|
setAuthenticatorId(setup.authenticatorId);
|
|
@@ -14647,7 +14688,7 @@ function TwoFactorSettings() {
|
|
|
14647
14688
|
if (isLoading) {
|
|
14648
14689
|
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") }) }) });
|
|
14649
14690
|
}
|
|
14650
|
-
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14691
|
+
const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _402 => _402.isEnabled]), () => ( false));
|
|
14651
14692
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
|
|
14652
14693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
14653
14694
|
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" }),
|
|
@@ -14685,7 +14726,7 @@ function TwoFactorSettings() {
|
|
|
14685
14726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
|
|
14686
14727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
|
|
14687
14728
|
] }),
|
|
14688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess',
|
|
14729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _403 => _403.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
|
|
14689
14730
|
] }) }),
|
|
14690
14731
|
!isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14691
14732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
|
|
@@ -14863,9 +14904,9 @@ function AcceptInvitation() {
|
|
|
14863
14904
|
});
|
|
14864
14905
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
14865
14906
|
try {
|
|
14866
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
14907
|
+
if (!_optionalChain([params, 'optionalAccess', _404 => _404.code])) return;
|
|
14867
14908
|
const payload = {
|
|
14868
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
14909
|
+
code: _optionalChain([params, 'optionalAccess', _405 => _405.code]),
|
|
14869
14910
|
password: values.password
|
|
14870
14911
|
};
|
|
14871
14912
|
await _chunkQOLVON35js.AuthService.acceptInvitation(payload);
|
|
@@ -15215,7 +15256,7 @@ function Logout({ storageKeys }) {
|
|
|
15215
15256
|
const generateUrl = usePageUrlGenerator();
|
|
15216
15257
|
_react.useEffect.call(void 0, () => {
|
|
15217
15258
|
const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
|
|
15218
|
-
if (_optionalChain([storageKeys, 'optionalAccess',
|
|
15259
|
+
if (_optionalChain([storageKeys, 'optionalAccess', _406 => _406.length])) {
|
|
15219
15260
|
clearClientStorage(storageKeys);
|
|
15220
15261
|
}
|
|
15221
15262
|
await _chunkQOLVON35js.AuthService.logout();
|
|
@@ -15238,14 +15279,14 @@ function RefreshUser() {
|
|
|
15238
15279
|
setUser(fullUser);
|
|
15239
15280
|
const token = {
|
|
15240
15281
|
userId: fullUser.id,
|
|
15241
|
-
companyId: _optionalChain([fullUser, 'access',
|
|
15282
|
+
companyId: _optionalChain([fullUser, 'access', _407 => _407.company, 'optionalAccess', _408 => _408.id]),
|
|
15242
15283
|
roles: fullUser.roles.map((role) => role.id),
|
|
15243
|
-
features: _nullishCoalesce(_optionalChain([fullUser, 'access',
|
|
15284
|
+
features: _nullishCoalesce(_optionalChain([fullUser, 'access', _409 => _409.company, 'optionalAccess', _410 => _410.features, 'optionalAccess', _411 => _411.map, 'call', _412 => _412((feature) => feature.id)]), () => ( [])),
|
|
15244
15285
|
modules: fullUser.modules.map((module) => {
|
|
15245
15286
|
return { id: module.id, permissions: module.permissions };
|
|
15246
15287
|
})
|
|
15247
15288
|
};
|
|
15248
|
-
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess',
|
|
15289
|
+
await _optionalChain([_chunkQOLVON35js.getTokenHandler.call(void 0, ), 'optionalAccess', _413 => _413.updateToken, 'call', _414 => _414(token)]);
|
|
15249
15290
|
_cookiesnext.deleteCookie.call(void 0, "reloadData");
|
|
15250
15291
|
}
|
|
15251
15292
|
}, "loadFullUser");
|
|
@@ -15309,9 +15350,9 @@ function ResetPassword() {
|
|
|
15309
15350
|
});
|
|
15310
15351
|
const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
|
|
15311
15352
|
try {
|
|
15312
|
-
if (!_optionalChain([params, 'optionalAccess',
|
|
15353
|
+
if (!_optionalChain([params, 'optionalAccess', _415 => _415.code])) return;
|
|
15313
15354
|
const payload = {
|
|
15314
|
-
code: _optionalChain([params, 'optionalAccess',
|
|
15355
|
+
code: _optionalChain([params, 'optionalAccess', _416 => _416.code]),
|
|
15315
15356
|
password: values.password
|
|
15316
15357
|
};
|
|
15317
15358
|
await _chunkQOLVON35js.AuthService.resetPassword(payload);
|
|
@@ -15668,14 +15709,14 @@ function NotificationsList({ archived }) {
|
|
|
15668
15709
|
] }),
|
|
15669
15710
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
|
|
15670
15711
|
] }) }) }, i)) }), "LoadingSkeleton");
|
|
15671
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access',
|
|
15712
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _417 => _417.data, 'optionalAccess', _418 => _418.map, 'call', _419 => _419((notification) => {
|
|
15672
15713
|
const notificationData = generateNotificationData({ notification, generateUrl });
|
|
15673
15714
|
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: [
|
|
15674
15715
|
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" }),
|
|
15675
15716
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
15676
15717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
|
|
15677
15718
|
strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
|
|
15678
|
-
actor: _nullishCoalesce(_optionalChain([notificationData, 'access',
|
|
15719
|
+
actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _420 => _420.actor, 'optionalAccess', _421 => _421.name]), () => ( "")),
|
|
15679
15720
|
title: notificationData.title
|
|
15680
15721
|
}) }),
|
|
15681
15722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
|
|
@@ -16025,7 +16066,7 @@ var DEFAULT_TRANSLATIONS = {
|
|
|
16025
16066
|
invalidEmail: "Please enter a valid email address"
|
|
16026
16067
|
};
|
|
16027
16068
|
async function copyToClipboard(text) {
|
|
16028
|
-
if (_optionalChain([navigator, 'access',
|
|
16069
|
+
if (_optionalChain([navigator, 'access', _422 => _422.clipboard, 'optionalAccess', _423 => _423.writeText])) {
|
|
16029
16070
|
try {
|
|
16030
16071
|
await navigator.clipboard.writeText(text);
|
|
16031
16072
|
return true;
|
|
@@ -16067,7 +16108,7 @@ function ReferralWidget({
|
|
|
16067
16108
|
const linkInputRef = _react.useRef.call(void 0, null);
|
|
16068
16109
|
const config = _chunkUJBUJALXjs.getReferralConfig.call(void 0, );
|
|
16069
16110
|
const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
|
|
16070
|
-
const referralUrl = _optionalChain([stats, 'optionalAccess',
|
|
16111
|
+
const referralUrl = _optionalChain([stats, 'optionalAccess', _424 => _424.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
|
|
16071
16112
|
if (!_chunkUJBUJALXjs.isReferralEnabled.call(void 0, )) {
|
|
16072
16113
|
return null;
|
|
16073
16114
|
}
|
|
@@ -16077,7 +16118,7 @@ function ReferralWidget({
|
|
|
16077
16118
|
if (success) {
|
|
16078
16119
|
setCopied(true);
|
|
16079
16120
|
_chunkQOLVON35js.showToast.call(void 0, t.copiedMessage);
|
|
16080
|
-
_optionalChain([onLinkCopied, 'optionalCall',
|
|
16121
|
+
_optionalChain([onLinkCopied, 'optionalCall', _425 => _425()]);
|
|
16081
16122
|
setTimeout(() => setCopied(false), 2e3);
|
|
16082
16123
|
} else {
|
|
16083
16124
|
_chunkQOLVON35js.showError.call(void 0, t.copyError);
|
|
@@ -16091,12 +16132,12 @@ function ReferralWidget({
|
|
|
16091
16132
|
try {
|
|
16092
16133
|
await sendInvite(email);
|
|
16093
16134
|
_chunkQOLVON35js.showToast.call(void 0, t.inviteSent);
|
|
16094
|
-
_optionalChain([onInviteSent, 'optionalCall',
|
|
16135
|
+
_optionalChain([onInviteSent, 'optionalCall', _426 => _426(email)]);
|
|
16095
16136
|
setEmail("");
|
|
16096
16137
|
} catch (err) {
|
|
16097
16138
|
const error2 = err instanceof Error ? err : new Error(t.inviteError);
|
|
16098
16139
|
_chunkQOLVON35js.showError.call(void 0, error2.message);
|
|
16099
|
-
_optionalChain([onInviteError, 'optionalCall',
|
|
16140
|
+
_optionalChain([onInviteError, 'optionalCall', _427 => _427(error2)]);
|
|
16100
16141
|
}
|
|
16101
16142
|
}, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
|
|
16102
16143
|
const handleEmailKeyDown = _react.useCallback.call(void 0,
|
|
@@ -16849,7 +16890,7 @@ function OAuthClientList({
|
|
|
16849
16890
|
OAuthClientCard,
|
|
16850
16891
|
{
|
|
16851
16892
|
client,
|
|
16852
|
-
onClick: () => _optionalChain([onClientClick, 'optionalCall',
|
|
16893
|
+
onClick: () => _optionalChain([onClientClick, 'optionalCall', _428 => _428(client)]),
|
|
16853
16894
|
onEdit: onEditClick ? () => onEditClick(client) : void 0,
|
|
16854
16895
|
onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
|
|
16855
16896
|
},
|
|
@@ -16865,11 +16906,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
|
|
|
16865
16906
|
function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
|
|
16866
16907
|
const isEditMode = !!client;
|
|
16867
16908
|
const [formState, setFormState] = _react.useState.call(void 0, {
|
|
16868
|
-
name: _optionalChain([client, 'optionalAccess',
|
|
16869
|
-
description: _optionalChain([client, 'optionalAccess',
|
|
16870
|
-
redirectUris: _optionalChain([client, 'optionalAccess',
|
|
16871
|
-
allowedScopes: _optionalChain([client, 'optionalAccess',
|
|
16872
|
-
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess',
|
|
16909
|
+
name: _optionalChain([client, 'optionalAccess', _429 => _429.name]) || "",
|
|
16910
|
+
description: _optionalChain([client, 'optionalAccess', _430 => _430.description]) || "",
|
|
16911
|
+
redirectUris: _optionalChain([client, 'optionalAccess', _431 => _431.redirectUris, 'optionalAccess', _432 => _432.length]) ? client.redirectUris : [""],
|
|
16912
|
+
allowedScopes: _optionalChain([client, 'optionalAccess', _433 => _433.allowedScopes]) || [],
|
|
16913
|
+
isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _434 => _434.isConfidential]), () => ( true))
|
|
16873
16914
|
});
|
|
16874
16915
|
const [errors, setErrors] = _react.useState.call(void 0, {});
|
|
16875
16916
|
const validate = _react.useCallback.call(void 0, () => {
|
|
@@ -17097,7 +17138,7 @@ function OAuthClientDetail({
|
|
|
17097
17138
|
] }),
|
|
17098
17139
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17099
17140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
|
|
17100
|
-
/* @__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',
|
|
17141
|
+
/* @__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', _435 => _435[scope], 'optionalAccess', _436 => _436.name]) || scope }, scope)) })
|
|
17101
17142
|
] }),
|
|
17102
17143
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
17103
17144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
|
|
@@ -17241,7 +17282,7 @@ function OAuthConsentScreen({
|
|
|
17241
17282
|
if (error || !clientInfo) {
|
|
17242
17283
|
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: [
|
|
17243
17284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
|
|
17244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess',
|
|
17285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _437 => _437.message]) || "Invalid authorization request. Please try again." })
|
|
17245
17286
|
] }) }) }) });
|
|
17246
17287
|
}
|
|
17247
17288
|
const { client, scopes } = clientInfo;
|
|
@@ -17457,7 +17498,7 @@ function WaitlistForm({ onSuccess }) {
|
|
|
17457
17498
|
questionnaire: values.questionnaire
|
|
17458
17499
|
});
|
|
17459
17500
|
setIsSuccess(true);
|
|
17460
|
-
_optionalChain([onSuccess, 'optionalCall',
|
|
17501
|
+
_optionalChain([onSuccess, 'optionalCall', _438 => _438()]);
|
|
17461
17502
|
} catch (e) {
|
|
17462
17503
|
errorToast({ error: e });
|
|
17463
17504
|
} finally {
|
|
@@ -18080,7 +18121,7 @@ function RbacModuleTable({ module, roles, stateApi }) {
|
|
|
18080
18121
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: role.name }),
|
|
18081
18122
|
_chunkUJBUJALXjs.ACTION_TYPES.map((actionType) => {
|
|
18082
18123
|
const roleValue = stateApi.getRolePermission(role.id, module.id, actionType);
|
|
18083
|
-
const originalMapping = _optionalChain([stateApi, 'access',
|
|
18124
|
+
const originalMapping = _optionalChain([stateApi, 'access', _439 => _439.original, 'optionalAccess', _440 => _440.permissionMappings, 'access', _441 => _441.find, 'call', _442 => _442(
|
|
18084
18125
|
(pm) => pm.roleId === role.id && pm.moduleId === module.id
|
|
18085
18126
|
)]);
|
|
18086
18127
|
const originalRoleValue = originalMapping ? _nullishCoalesce(originalMapping.permissions[actionType], () => ( null)) : void 0;
|
|
@@ -18691,5 +18732,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacContainer, "RbacContainer");
|
|
|
18691
18732
|
|
|
18692
18733
|
|
|
18693
18734
|
|
|
18694
|
-
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.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;
|
|
18695
|
-
//# sourceMappingURL=chunk-PQIXFKHT.js.map
|
|
18735
|
+
|
|
18736
|
+
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;
|
|
18737
|
+
//# sourceMappingURL=chunk-3T2Z3H7V.js.map
|