@carlonicora/nextjs-jsonapi 1.135.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{BlockNoteEditor-GVNC7UWS.mjs → BlockNoteEditor-JVZ2HDAU.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-XIB4Q2B7.js → BlockNoteEditor-MNCHLJO4.js} +9 -9
  3. package/dist/{BlockNoteEditor-XIB4Q2B7.js.map → BlockNoteEditor-MNCHLJO4.js.map} +1 -1
  4. package/dist/billing/index.js +310 -310
  5. package/dist/billing/index.js.map +1 -1
  6. package/dist/billing/index.mjs +2 -2
  7. package/dist/billing/index.mjs.map +1 -1
  8. package/dist/{chunk-MZAD63EI.mjs → chunk-2KXPQHZU.mjs} +257 -212
  9. package/dist/chunk-2KXPQHZU.mjs.map +1 -0
  10. package/dist/{chunk-IWSLZEWZ.js → chunk-3NVJEXUT.js} +365 -320
  11. package/dist/chunk-3NVJEXUT.js.map +1 -0
  12. package/dist/client/index.js +2 -2
  13. package/dist/client/index.mjs +1 -1
  14. package/dist/components/index.d.mts +52 -3
  15. package/dist/components/index.d.ts +52 -3
  16. package/dist/components/index.js +4 -2
  17. package/dist/components/index.js.map +1 -1
  18. package/dist/components/index.mjs +3 -1
  19. package/dist/contexts/index.js +2 -2
  20. package/dist/contexts/index.mjs +1 -1
  21. package/dist/features/help/index.js +31 -31
  22. package/dist/features/help/index.mjs +1 -1
  23. package/package.json +1 -1
  24. package/src/components/containers/RoundPageContainer.tsx +93 -14
  25. package/src/components/containers/RoundPageContainerTitle.tsx +19 -9
  26. package/src/features/assistant/components/parts/AssistantEmptyState.tsx +1 -1
  27. package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +1 -1
  28. package/src/shadcnui/ui/__tests__/cursor-controls.test.tsx +109 -0
  29. package/src/shadcnui/ui/__tests__/cursor-menu-items.test.tsx +89 -0
  30. package/src/shadcnui/ui/button.tsx +1 -1
  31. package/src/shadcnui/ui/checkbox.tsx +1 -1
  32. package/src/shadcnui/ui/combobox.tsx +1 -1
  33. package/src/shadcnui/ui/command.tsx +1 -1
  34. package/src/shadcnui/ui/context-menu.tsx +4 -4
  35. package/src/shadcnui/ui/dropdown-menu.tsx +4 -4
  36. package/src/shadcnui/ui/label.tsx +1 -1
  37. package/src/shadcnui/ui/radio-group.tsx +1 -1
  38. package/src/shadcnui/ui/select.tsx +3 -3
  39. package/src/shadcnui/ui/slider.tsx +3 -2
  40. package/src/shadcnui/ui/switch.tsx +1 -1
  41. package/dist/chunk-IWSLZEWZ.js.map +0 -1
  42. package/dist/chunk-MZAD63EI.mjs.map +0 -1
  43. /package/dist/{BlockNoteEditor-GVNC7UWS.mjs.map → BlockNoteEditor-JVZ2HDAU.mjs.map} +0 -0
@@ -212,7 +212,7 @@ var _button = require('@base-ui/react/button');
212
212
 
213
213
 
214
214
  var buttonVariants = _classvarianceauthority.cva.call(void 0,
215
- "focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-md border border-transparent bg-clip-padding text-xs/relaxed font-medium focus-visible:ring-[2px] aria-invalid:ring-[2px] [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none",
215
+ "focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-md border border-transparent bg-clip-padding text-xs/relaxed font-medium focus-visible:ring-[2px] aria-invalid:ring-[2px] [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 data-disabled:cursor-not-allowed data-disabled:pointer-events-none [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none cursor-pointer",
216
216
  {
217
217
  variants: {
218
218
  variant: {
@@ -1254,7 +1254,7 @@ function Checkbox({ className, ...props }) {
1254
1254
  {
1255
1255
  "data-slot": "checkbox",
1256
1256
  className: _chunkW73JBOIRjs.cn.call(void 0,
1257
- "border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[2px] aria-invalid:ring-[2px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
1257
+ "border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[2px] aria-invalid:ring-[2px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-50",
1258
1258
  className
1259
1259
  ),
1260
1260
  ...props,
@@ -1578,7 +1578,7 @@ function ComboboxItem({ className, children, ...props }) {
1578
1578
  {
1579
1579
  "data-slot": "combobox-item",
1580
1580
  className: _chunkW73JBOIRjs.cn.call(void 0,
1581
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1581
+ "data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1582
1582
  className
1583
1583
  ),
1584
1584
  ...props,
@@ -1921,7 +1921,7 @@ function CommandItem({ className, children, ...props }) {
1921
1921
  {
1922
1922
  "data-slot": "command-item",
1923
1923
  className: _chunkW73JBOIRjs.cn.call(void 0,
1924
- "data-[selected=true]:bg-muted data-[selected=true]:text-foreground data-[selected=true]:*:[svg]:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1924
+ "data-[selected=true]:bg-muted data-[selected=true]:text-foreground data-[selected=true]:*:[svg]:text-foreground relative flex min-h-7 cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1925
1925
  className
1926
1926
  ),
1927
1927
  ...props,
@@ -2082,7 +2082,7 @@ function ContextMenuItem({
2082
2082
  "data-inset": inset,
2083
2083
  "data-variant": variant,
2084
2084
  className: _chunkW73JBOIRjs.cn.call(void 0,
2085
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2085
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-pointer items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2086
2086
  className
2087
2087
  ),
2088
2088
  ...props
@@ -2106,7 +2106,7 @@ function ContextMenuSubTrigger({
2106
2106
  "data-slot": "context-menu-sub-trigger",
2107
2107
  "data-inset": inset,
2108
2108
  className: _chunkW73JBOIRjs.cn.call(void 0,
2109
- "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2109
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-pointer items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2110
2110
  className
2111
2111
  ),
2112
2112
  ...props,
@@ -2128,7 +2128,7 @@ function ContextMenuCheckboxItem({ className, children, checked, ...props }) {
2128
2128
  {
2129
2129
  "data-slot": "context-menu-checkbox-item",
2130
2130
  className: _chunkW73JBOIRjs.cn.call(void 0,
2131
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2131
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2132
2132
  className
2133
2133
  ),
2134
2134
  checked,
@@ -2151,7 +2151,7 @@ function ContextMenuRadioItem({ className, children, ...props }) {
2151
2151
  {
2152
2152
  "data-slot": "context-menu-radio-item",
2153
2153
  className: _chunkW73JBOIRjs.cn.call(void 0,
2154
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2154
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2155
2155
  className
2156
2156
  ),
2157
2157
  ...props,
@@ -2364,7 +2364,7 @@ function DropdownMenuItem({
2364
2364
  "data-inset": inset,
2365
2365
  "data-variant": variant,
2366
2366
  className: _chunkW73JBOIRjs.cn.call(void 0,
2367
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2367
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-pointer items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2368
2368
  className
2369
2369
  ),
2370
2370
  ...props
@@ -2388,7 +2388,7 @@ function DropdownMenuSubTrigger({
2388
2388
  "data-slot": "dropdown-menu-sub-trigger",
2389
2389
  "data-inset": inset,
2390
2390
  className: _chunkW73JBOIRjs.cn.call(void 0,
2391
- "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2391
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-pointer items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2392
2392
  className
2393
2393
  ),
2394
2394
  ...props,
@@ -2431,7 +2431,7 @@ function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
2431
2431
  {
2432
2432
  "data-slot": "dropdown-menu-checkbox-item",
2433
2433
  className: _chunkW73JBOIRjs.cn.call(void 0,
2434
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2434
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2435
2435
  className
2436
2436
  ),
2437
2437
  checked,
@@ -2461,7 +2461,7 @@ function DropdownMenuRadioItem({ className, children, ...props }) {
2461
2461
  {
2462
2462
  "data-slot": "dropdown-menu-radio-item",
2463
2463
  className: _chunkW73JBOIRjs.cn.call(void 0,
2464
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2464
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2465
2465
  className
2466
2466
  ),
2467
2467
  ...props,
@@ -2538,7 +2538,7 @@ function Label({ className, ...props }) {
2538
2538
  {
2539
2539
  "data-slot": "label",
2540
2540
  className: _chunkW73JBOIRjs.cn.call(void 0,
2541
- "gap-2 text-xs/relaxed leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
2541
+ "gap-2 text-xs/relaxed leading-none font-medium group-data-[disabled=true]:opacity-50 peer-data-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-data-disabled:cursor-not-allowed",
2542
2542
  className
2543
2543
  ),
2544
2544
  ...props
@@ -3172,7 +3172,7 @@ function RadioGroupItem({ className, ...props }) {
3172
3172
  {
3173
3173
  "data-slot": "radio-group-item",
3174
3174
  className: _chunkW73JBOIRjs.cn.call(void 0,
3175
- "border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 data-checked:bg-primary data-checked:border-primary flex size-4 rounded-full transition-none focus-visible:ring-[2px] aria-invalid:ring-[2px] group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
3175
+ "border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 data-checked:bg-primary data-checked:border-primary flex size-4 rounded-full transition-none focus-visible:ring-[2px] aria-invalid:ring-[2px] group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-50",
3176
3176
  className
3177
3177
  ),
3178
3178
  ...props,
@@ -3379,7 +3379,7 @@ function SelectItem({ className, children, ...props }) {
3379
3379
  {
3380
3380
  "data-slot": "select-item",
3381
3381
  className: _chunkW73JBOIRjs.cn.call(void 0,
3382
- "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3382
+ "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3383
3383
  className
3384
3384
  ),
3385
3385
  ...props,
@@ -3414,7 +3414,7 @@ function SelectScrollUpButton({ className, ...props }) {
3414
3414
  {
3415
3415
  "data-slot": "select-scroll-up-button",
3416
3416
  className: _chunkW73JBOIRjs.cn.call(void 0,
3417
- "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full",
3417
+ "bg-popover z-10 flex cursor-pointer items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full",
3418
3418
  className
3419
3419
  ),
3420
3420
  ...props,
@@ -3429,7 +3429,7 @@ function SelectScrollDownButton({ className, ...props }) {
3429
3429
  {
3430
3430
  "data-slot": "select-scroll-down-button",
3431
3431
  className: _chunkW73JBOIRjs.cn.call(void 0,
3432
- "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full",
3432
+ "bg-popover z-10 flex cursor-pointer items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full",
3433
3433
  className
3434
3434
  ),
3435
3435
  ...props,
@@ -4217,8 +4217,9 @@ function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }
4217
4217
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4218
4218
  _slider.Slider.Control,
4219
4219
  {
4220
+ "data-slot": "slider-control",
4220
4221
  className: _chunkW73JBOIRjs.cn.call(void 0,
4221
- "data-vertical:min-h-40 relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
4222
+ "data-vertical:min-h-40 relative flex w-full touch-none items-center select-none cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
4222
4223
  className
4223
4224
  ),
4224
4225
  children: [
@@ -4240,7 +4241,7 @@ function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }
4240
4241
  _slider.Slider.Thumb,
4241
4242
  {
4242
4243
  "data-slot": "slider-thumb",
4243
- className: "border-primary ring-ring/30 size-4 rounded-md border bg-white shadow-sm transition-colors hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden block shrink-0 select-none disabled:pointer-events-none disabled:opacity-50"
4244
+ className: "border-primary ring-ring/30 size-4 rounded-md border bg-white shadow-sm transition-colors hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden block shrink-0 select-none cursor-grab active:cursor-grabbing data-disabled:cursor-not-allowed data-disabled:pointer-events-none data-disabled:opacity-50"
4244
4245
  },
4245
4246
  index
4246
4247
  ))
@@ -4336,7 +4337,7 @@ function Switch({
4336
4337
  "data-slot": "switch",
4337
4338
  "data-size": size,
4338
4339
  className: _chunkW73JBOIRjs.cn.call(void 0,
4339
- "data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-[16.6px] data-[size=default]:w-[28px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",
4340
+ "data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-[16.6px] data-[size=default]:w-[28px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-50",
4340
4341
  className
4341
4342
  ),
4342
4343
  ...props,
@@ -10116,7 +10117,7 @@ FileInput.displayName = "FileInput";
10116
10117
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10117
10118
 
10118
10119
 
10119
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-XIB4Q2B7.js"))), {
10120
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-MNCHLJO4.js"))), {
10120
10121
  ssr: false
10121
10122
  });
10122
10123
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -14811,16 +14812,19 @@ _chunk7QVYU63Ejs.__name.call(void 0, ReactMarkdownContainer, "ReactMarkdownConta
14811
14812
  // src/components/containers/RoundPageContainerTitle.tsx
14812
14813
 
14813
14814
 
14815
+ var HEADER_ROW_MIN_H = "min-h-[53px]";
14814
14816
  function RoundPageContainerTitle({
14815
14817
  module,
14816
14818
  details,
14819
+ detailsTitle,
14820
+ detailsIcon,
14817
14821
  showDetails,
14818
14822
  setShowDetails
14819
14823
  }) {
14820
14824
  const { title } = useSharedContext();
14821
14825
  const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
14822
14826
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col border-b", children: [
14823
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex w-full flex-row items-center gap-x-2 p-4 justify-between`), children: [
14827
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex w-full flex-row items-center gap-x-2 p-4 justify-between`, HEADER_ROW_MIN_H), children: [
14824
14828
  !isMobile ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-x-4", children: [
14825
14829
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-muted-foreground flex items-center gap-x-2 text-lg font-light whitespace-nowrap", children: [
14826
14830
  title.titleActions,
@@ -14844,10 +14848,14 @@ function RoundPageContainerTitle({
14844
14848
  variant: showDetails ? `ghost` : `default`,
14845
14849
  onClick: () => setShowDetails(!showDetails),
14846
14850
  className: _chunkW73JBOIRjs.cn.call(void 0, `cursor-pointer`),
14847
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})
14851
+ children: _nullishCoalesce(detailsIcon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.InfoIcon, {})))
14848
14852
  }
14849
14853
  ) }),
14850
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: showDetails ? "Hide details" : "Show details" })
14854
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TooltipContent, { children: [
14855
+ showDetails ? "Hide" : "Show",
14856
+ " ",
14857
+ _nullishCoalesce(detailsTitle, () => ( "details"))
14858
+ ] })
14851
14859
  ] })
14852
14860
  ] })
14853
14861
  ] }),
@@ -14880,26 +14888,36 @@ function RoundPageContainer({
14880
14888
  forceHeader,
14881
14889
  header,
14882
14890
  layout: layout2 = "tabs",
14883
- onSectionChange
14891
+ onSectionChange,
14892
+ testId,
14893
+ defaultDetailsOpen = false,
14894
+ detailsTitle,
14895
+ detailsIcon
14884
14896
  }) {
14885
14897
  const headerChildren = useHeaderChildren();
14886
14898
  const headerLeftContent = useHeaderLeftContent();
14887
14899
  const headerLogo = useHeaderLogo();
14888
14900
  const headerMobileChildren = useHeaderMobileChildren();
14889
- const [showDetails, setShowDetailsState] = _react.useState.call(void 0, false);
14901
+ const [showDetails, setShowDetailsState] = _react.useState.call(void 0, defaultDetailsOpen);
14890
14902
  const isMobile = _chunkW73JBOIRjs.useIsMobile.call(void 0, );
14891
14903
  const [mounted, setMounted] = _react.useState.call(void 0, false);
14892
14904
  _react.useEffect.call(void 0, () => {
14893
- const match = document.cookie.split("; ").find((row) => row.startsWith(`${DETAILS_COOKIE_NAME}=`));
14894
- if (_optionalChain([match, 'optionalAccess', _409 => _409.split, 'call', _410 => _410("="), 'access', _411 => _411[1]]) === "true") setShowDetailsState(true);
14905
+ const match = document.cookie.split("; ").find((row) => row.startsWith(`${detailsCookieName}=`));
14906
+ const stored = _optionalChain([match, 'optionalAccess', _409 => _409.split, 'call', _410 => _410("="), 'access', _411 => _411[1]]);
14907
+ if (stored === "true") setShowDetailsState(true);
14908
+ else if (stored === "false") setShowDetailsState(false);
14895
14909
  }, []);
14896
14910
  _react.useEffect.call(void 0, () => {
14897
14911
  setMounted(true);
14898
14912
  }, []);
14899
- const setShowDetails = _react.useCallback.call(void 0, (value) => {
14900
- setShowDetailsState(value);
14901
- document.cookie = `${DETAILS_COOKIE_NAME}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
14902
- }, []);
14913
+ const detailsCookieName = _optionalChain([module, 'optionalAccess', _412 => _412.name]) ? `${DETAILS_COOKIE_NAME}_${module.name}` : DETAILS_COOKIE_NAME;
14914
+ const setShowDetails = _react.useCallback.call(void 0,
14915
+ (value) => {
14916
+ setShowDetailsState(value);
14917
+ document.cookie = `${detailsCookieName}=${value}; path=/; max-age=${DETAILS_COOKIE_MAX_AGE}`;
14918
+ },
14919
+ [detailsCookieName]
14920
+ );
14903
14921
  const searchParams = _navigation.useSearchParams.call(void 0, );
14904
14922
  const section = searchParams.get("section");
14905
14923
  const rewriteUrl = useUrlRewriter();
@@ -14921,11 +14939,11 @@ function RoundPageContainer({
14921
14939
  } else {
14922
14940
  rewriteUrl({ page: window.location.pathname, additionalParameters: { section: key } });
14923
14941
  }
14924
- _optionalChain([onSectionChange, 'optionalCall', _412 => _412(key)]);
14942
+ _optionalChain([onSectionChange, 'optionalCall', _413 => _413(key)]);
14925
14943
  },
14926
14944
  [module, id, rewriteUrl, onSectionChange]
14927
14945
  );
14928
- const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _413 => _413.find, 'call', _414 => _414((t) => tabValue(t) === activeTab), 'optionalAccess', _415 => _415.fillHeight]) === true;
14946
+ const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _414 => _414.find, 'call', _415 => _415((t) => tabValue(t) === activeTab), 'optionalAccess', _416 => _416.fillHeight]) === true;
14929
14947
  const { ungrouped, groups } = _react.useMemo.call(void 0, () => partitionTabs(_nullishCoalesce(tabs, () => ( []))), [tabs]);
14930
14948
  const tabItems = _react.useMemo.call(void 0,
14931
14949
  () => Object.fromEntries((_nullishCoalesce(tabs, () => ( []))).map((tab) => [tabValue(tab), _nullishCoalesce(tab.contentLabel, () => ( tab.label))])),
@@ -14944,10 +14962,17 @@ function RoundPageContainer({
14944
14962
  children: headerChildren
14945
14963
  }
14946
14964
  ),
14947
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"), children: [
14948
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "bg-background flex min-h-0 w-full flex-1", isMobile ? "" : "rounded-lg border p-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col" }) }),
14949
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
14950
- ] })
14965
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14966
+ "div",
14967
+ {
14968
+ "data-testid": testId,
14969
+ className: _chunkW73JBOIRjs.cn.call(void 0, "flex h-[calc(100vh-3rem)] w-full flex-col", isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"),
14970
+ children: [
14971
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "bg-background flex min-h-0 w-full flex-1", isMobile ? "" : "rounded-lg border p-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col" }) }),
14972
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
14973
+ ]
14974
+ }
14975
+ )
14951
14976
  ] });
14952
14977
  }
14953
14978
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -14961,194 +14986,213 @@ function RoundPageContainer({
14961
14986
  children: headerChildren
14962
14987
  }
14963
14988
  ),
14964
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"), children: [
14965
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0", children: [
14966
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
14967
- (!fullWidth || forceHeader) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14968
- RoundPageContainerTitle,
14969
- {
14970
- module,
14971
- details,
14972
- showDetails,
14973
- setShowDetails,
14974
- fullWidth
14975
- }
14976
- ),
14977
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: layout2 === "rail" && tabs ? (
14978
- // Rail layout: the vertical-tab navigation is a flush-left
14979
- // sidebar of the card and the content fills the full remaining
14980
- // width (like `fullWidth`) — NOT the centred max-w-6xl column.
14981
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14982
- Tabs,
14983
- {
14984
- value: activeTab,
14985
- onValueChange: handleTabChange,
14986
- orientation: "horizontal",
14987
- className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
14988
- children: [
14989
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14990
- "aside",
14991
- {
14992
- "data-testid": "round-page-rail",
14993
- className: "hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto",
14994
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: "flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
14995
- ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
14996
- groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
14997
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14998
- "div",
14999
- {
15000
- role: "presentation",
15001
- className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
15002
- children: group.label
15003
- }
15004
- ),
15005
- group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
15006
- ] }, group.label))
15007
- ] })
15008
- }
15009
- ),
15010
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 grow flex-col overflow-hidden", children: [
15011
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "round-page-rail-select", className: "p-2 md:hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15012
- Select,
15013
- {
15014
- items: tabItems,
15015
- value: activeTab,
15016
- onValueChange: (value) => {
15017
- if (value) handleTabChange(value);
15018
- },
15019
- children: [
15020
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
15021
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
15022
- ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
15023
- groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectGroup, { children: [
15024
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { children: group.label }),
15025
- group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
14989
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
14990
+ "div",
14991
+ {
14992
+ "data-testid": testId,
14993
+ className: _chunkW73JBOIRjs.cn.call(void 0, `flex h-[calc(100vh-3rem)] w-full flex-col`, isMobile ? "gap-1 p-1 pt-0" : "p-2 pt-0 pl-0"),
14994
+ children: [
14995
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-background flex min-h-0 w-full flex-1 rounded-lg border p-0", children: [
14996
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
14997
+ (!fullWidth || forceHeader) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14998
+ RoundPageContainerTitle,
14999
+ {
15000
+ module,
15001
+ details,
15002
+ detailsTitle,
15003
+ detailsIcon,
15004
+ showDetails,
15005
+ setShowDetails,
15006
+ fullWidth
15007
+ }
15008
+ ),
15009
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: layout2 === "rail" && tabs ? (
15010
+ // Rail layout: the vertical-tab navigation is a flush-left
15011
+ // sidebar of the card and the content fills the full remaining
15012
+ // width (like `fullWidth`) NOT the centred max-w-6xl column.
15013
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15014
+ Tabs,
15015
+ {
15016
+ value: activeTab,
15017
+ onValueChange: handleTabChange,
15018
+ orientation: "horizontal",
15019
+ className: "flex h-full min-w-0 grow overflow-hidden data-[orientation=horizontal]:flex-row",
15020
+ children: [
15021
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15022
+ "aside",
15023
+ {
15024
+ "data-testid": "round-page-rail",
15025
+ className: "hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto",
15026
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: "flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0", children: [
15027
+ ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
15028
+ groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
15029
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15030
+ "div",
15031
+ {
15032
+ role: "presentation",
15033
+ className: "text-muted-foreground px-3 pt-3 pb-1 text-[10px] font-bold tracking-wider uppercase",
15034
+ children: group.label
15035
+ }
15036
+ ),
15037
+ group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: railTriggerClass, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
15026
15038
  ] }, group.label))
15027
15039
  ] })
15028
- ]
15029
- }
15030
- ) }),
15031
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15032
- "div",
15033
- {
15034
- className: _chunkW73JBOIRjs.cn.call(void 0,
15035
- `min-w-0 grow`,
15036
- activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto p-4`
15037
- ),
15038
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15039
- "div",
15040
+ }
15041
+ ),
15042
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 grow flex-col overflow-hidden", children: [
15043
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "round-page-rail-select", className: "p-2 md:hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15044
+ Select,
15040
15045
  {
15041
- className: _chunkW73JBOIRjs.cn.call(void 0,
15042
- activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`
15043
- ),
15046
+ items: tabItems,
15047
+ value: activeTab,
15048
+ onValueChange: (value) => {
15049
+ if (value) handleTabChange(value);
15050
+ },
15044
15051
  children: [
15045
- header,
15046
- tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15047
- TabsContent,
15048
- {
15049
- value: tabValue(tab),
15050
- className: tab.fillHeight ? `flex min-h-0 w-full flex-1 flex-col` : ``,
15051
- children: tab.content
15052
- },
15053
- tab.label
15054
- )),
15055
- children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children })
15052
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
15053
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
15054
+ ungrouped.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)),
15055
+ groups.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectGroup, { children: [
15056
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { children: group.label }),
15057
+ group.items.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label))
15058
+ ] }, group.label))
15059
+ ] })
15056
15060
  ]
15057
15061
  }
15058
- )
15059
- }
15060
- )
15061
- ] })
15062
- ]
15063
- }
15064
- )
15065
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15066
- "div",
15067
- {
15068
- className: _chunkW73JBOIRjs.cn.call(void 0,
15069
- `grow`,
15070
- isMobile ? `p-2` : `p-4`,
15071
- activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
15072
- fullWidth && `p-0`
15073
- ),
15074
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15075
- "div",
15076
- {
15077
- className: _chunkW73JBOIRjs.cn.call(void 0,
15078
- `mx-auto max-w-6xl space-y-8`,
15079
- activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
15080
- fullWidth && `max-w-full w-full p-0 h-full`
15081
- ),
15082
- children: [
15083
- header,
15084
- tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
15085
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15086
- Tabs,
15087
- {
15088
- value: activeTab,
15089
- className: _chunkW73JBOIRjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
15090
- onValueChange: handleTabChange,
15091
- children: [
15092
- isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15093
- Select,
15094
- {
15095
- items: tabItems,
15096
- value: activeTab,
15097
- onValueChange: (value) => {
15098
- if (value) handleTabChange(value);
15099
- },
15100
- children: [
15101
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
15102
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) })
15103
- ]
15104
- }
15105
- ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: "px-4", children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
15106
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15062
+ ) }),
15063
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15064
+ "div",
15065
+ {
15066
+ className: _chunkW73JBOIRjs.cn.call(void 0,
15067
+ `min-w-0 grow`,
15068
+ activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto p-4`
15069
+ ),
15070
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15107
15071
  "div",
15108
15072
  {
15109
15073
  className: _chunkW73JBOIRjs.cn.call(void 0,
15110
- `flex w-full `,
15111
- isMobile ? `` : `px-4`,
15112
- activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
15074
+ activeFillHeight ? `flex min-h-0 w-full flex-1 flex-col` : `mx-auto w-full max-w-6xl`
15113
15075
  ),
15114
- children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15115
- TabsContent,
15116
- {
15117
- value: tabValue(tab),
15118
- className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
15119
- children: tab.content
15120
- },
15121
- tab.label
15122
- ))
15076
+ children: [
15077
+ header,
15078
+ tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15079
+ TabsContent,
15080
+ {
15081
+ value: tabValue(tab),
15082
+ className: tab.fillHeight ? `flex min-h-0 w-full flex-1 flex-col` : ``,
15083
+ children: tab.content
15084
+ },
15085
+ tab.label
15086
+ )),
15087
+ children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children })
15088
+ ]
15123
15089
  }
15124
15090
  )
15125
- ]
15126
- }
15091
+ }
15092
+ )
15093
+ ] })
15094
+ ]
15095
+ }
15096
+ )
15097
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15098
+ "div",
15099
+ {
15100
+ className: _chunkW73JBOIRjs.cn.call(void 0,
15101
+ `grow`,
15102
+ isMobile ? `p-2` : `p-4`,
15103
+ activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
15104
+ fullWidth && `p-0`
15105
+ ),
15106
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15107
+ "div",
15108
+ {
15109
+ className: _chunkW73JBOIRjs.cn.call(void 0,
15110
+ `mx-auto max-w-6xl space-y-8`,
15111
+ activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
15112
+ fullWidth && `max-w-full w-full p-0 h-full`
15127
15113
  ),
15128
- children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex`, isMobile ? `px-2` : `px-4`), children })
15129
- ] }) : children
15130
- ]
15114
+ children: [
15115
+ header,
15116
+ tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
15117
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15118
+ Tabs,
15119
+ {
15120
+ value: activeTab,
15121
+ className: _chunkW73JBOIRjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
15122
+ onValueChange: handleTabChange,
15123
+ children: [
15124
+ isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15125
+ Select,
15126
+ {
15127
+ items: tabItems,
15128
+ value: activeTab,
15129
+ onValueChange: (value) => {
15130
+ if (value) handleTabChange(value);
15131
+ },
15132
+ children: [
15133
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) }),
15134
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: tabValue(tab), children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) })
15135
+ ]
15136
+ }
15137
+ ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: tabValue(tab), className: "px-4", children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
15138
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15139
+ "div",
15140
+ {
15141
+ className: _chunkW73JBOIRjs.cn.call(void 0,
15142
+ `flex w-full `,
15143
+ isMobile ? `` : `px-4`,
15144
+ activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`
15145
+ ),
15146
+ children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15147
+ TabsContent,
15148
+ {
15149
+ value: tabValue(tab),
15150
+ className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
15151
+ children: tab.content
15152
+ },
15153
+ tab.label
15154
+ ))
15155
+ }
15156
+ )
15157
+ ]
15158
+ }
15159
+ ),
15160
+ children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, `flex`, isMobile ? `px-2` : `px-4`), children })
15161
+ ] }) : children
15162
+ ]
15163
+ }
15164
+ )
15131
15165
  }
15132
- )
15133
- }
15134
- ) })
15135
- ] }),
15136
- details && (isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Sheet, { open: showDetails, onOpenChange: setShowDetails, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "right", children: [
15137
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetTitle, { children: "Details" }) }),
15138
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-y-auto p-6 pt-0", children: details })
15139
- ] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15140
- "div",
15141
- {
15142
- className: _chunkW73JBOIRjs.cn.call(void 0,
15143
- "h-full shrink-0 overflow-hidden overflow-y-auto transition-all duration-300 ease-in-out",
15144
- showDetails ? "w-96 border-l p-4 opacity-100" : "ml-0 w-0 border-l-0 p-0 opacity-0"
15145
- ),
15146
- children: details
15147
- }
15148
- ))
15149
- ] }),
15150
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
15151
- ] })
15166
+ ) })
15167
+ ] }),
15168
+ details && (isMobile ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Sheet, { open: showDetails, onOpenChange: setShowDetails, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetContent, { side: "right", children: [
15169
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetTitle, { children: _nullishCoalesce(detailsTitle, () => ( "Details")) }) }),
15170
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-y-auto p-6 pt-0", children: details })
15171
+ ] }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15172
+ "div",
15173
+ {
15174
+ className: _chunkW73JBOIRjs.cn.call(void 0,
15175
+ // `flex-col` + a separate scroll body below: the header must stay
15176
+ // put while the panel content scrolls. Scrolling on this element
15177
+ // (as it did before) would carry the header away with the content.
15178
+ "flex h-full shrink-0 flex-col overflow-hidden transition-all duration-300 ease-in-out",
15179
+ showDetails ? "w-96 border-l opacity-100" : "ml-0 w-0 border-l-0 opacity-0"
15180
+ ),
15181
+ children: [
15182
+ detailsTitle && // Mirrors RoundPageContainerTitle's structure exactly — border on an
15183
+ // OUTER wrapper, height floor on the INNER row. Putting the border
15184
+ // inside the measured row instead leaves this header 1px short of
15185
+ // the page title bar, since `box-sizing: border-box` absorbs it.
15186
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkW73JBOIRjs.cn.call(void 0, "flex items-center p-4", HEADER_ROW_MIN_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-primary truncate text-sm font-semibold", children: detailsTitle }) }) }),
15187
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: details })
15188
+ ]
15189
+ }
15190
+ ))
15191
+ ] }),
15192
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileNavigationBar, {})
15193
+ ]
15194
+ }
15195
+ )
15152
15196
  ] });
15153
15197
  }
15154
15198
  _chunk7QVYU63Ejs.__name.call(void 0, RoundPageContainer, "RoundPageContainer");
@@ -15245,14 +15289,14 @@ function BlockNoteEditorMentionHoverCard({
15245
15289
  const entityType = target.dataset.mentionType;
15246
15290
  const alias = target.dataset.mentionAlias;
15247
15291
  setHovered((prev) => {
15248
- if (_optionalChain([prev, 'optionalAccess', _416 => _416.id]) === id && _optionalChain([prev, 'optionalAccess', _417 => _417.element]) === target) return prev;
15292
+ if (_optionalChain([prev, 'optionalAccess', _417 => _417.id]) === id && _optionalChain([prev, 'optionalAccess', _418 => _418.element]) === target) return prev;
15249
15293
  return { id, entityType, alias, element: target };
15250
15294
  });
15251
15295
  }, "handleMouseOver");
15252
15296
  const handleMouseOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
15253
15297
  const target = e.target.closest("[data-mention-id]");
15254
15298
  if (!target) return;
15255
- const related = _optionalChain([e, 'access', _418 => _418.relatedTarget, 'optionalAccess', _419 => _419.closest, 'call', _420 => _420("[data-mention-id]")]);
15299
+ const related = _optionalChain([e, 'access', _419 => _419.relatedTarget, 'optionalAccess', _420 => _420.closest, 'call', _421 => _421("[data-mention-id]")]);
15256
15300
  if (related) return;
15257
15301
  scheduleClose();
15258
15302
  }, "handleMouseOut");
@@ -15266,7 +15310,7 @@ function BlockNoteEditorMentionHoverCard({
15266
15310
  }, [containerRef, mentionResolveFn, cancelClose, scheduleClose]);
15267
15311
  if (!hovered || !mentionResolveFn) return null;
15268
15312
  const resolved = mentionResolveFn(hovered.id, hovered.entityType, hovered.alias);
15269
- if (!_optionalChain([resolved, 'optionalAccess', _421 => _421.HoverContent])) return null;
15313
+ if (!_optionalChain([resolved, 'optionalAccess', _422 => _422.HoverContent])) return null;
15270
15314
  const ContentComponent = resolved.HoverContent;
15271
15315
  const rect = hovered.element.getBoundingClientRect();
15272
15316
  return _reactdom.createPortal.call(void 0,
@@ -15309,28 +15353,28 @@ var parseMentionElement = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
15309
15353
  }, "parseMentionElement");
15310
15354
  var createMentionInlineContentSpec = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (resolveFn, disableMention, nameResolver) => {
15311
15355
  const MentionExternalHTML = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15312
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _422 => _422(props.id, props.entityType, props.alias)]), () => ( props.alias));
15356
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _423 => _423(props.id, props.entityType, props.alias)]), () => ( props.alias));
15313
15357
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-mention-id": props.id, "data-mention-type": props.entityType, "data-mention-alias": props.alias, children: [
15314
15358
  "@",
15315
15359
  displayName
15316
15360
  ] });
15317
15361
  }, "MentionExternalHTML");
15318
15362
  const Mention = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function Mention2(props) {
15319
- const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _423 => _423(props.id, props.entityType, props.alias)]), () => ( props.alias));
15363
+ const displayName = _nullishCoalesce(_optionalChain([nameResolver, 'optionalCall', _424 => _424(props.id, props.entityType, props.alias)]), () => ( props.alias));
15320
15364
  if (disableMention) {
15321
- const resolved2 = _optionalChain([resolveFn, 'optionalCall', _424 => _424(props.id, props.entityType, displayName)]);
15322
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _425 => _425.url]), () => ( "#")), className: "text-primary", children: [
15365
+ const resolved2 = _optionalChain([resolveFn, 'optionalCall', _425 => _425(props.id, props.entityType, displayName)]);
15366
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _link2.default, { href: _nullishCoalesce(_optionalChain([resolved2, 'optionalAccess', _426 => _426.url]), () => ( "#")), className: "text-primary", children: [
15323
15367
  "@",
15324
15368
  displayName
15325
15369
  ] });
15326
15370
  }
15327
- const resolved = _optionalChain([resolveFn, 'optionalCall', _426 => _426(props.id, props.entityType, displayName)]);
15328
- if (_optionalChain([resolved, 'optionalAccess', _427 => _427.Inline])) {
15371
+ const resolved = _optionalChain([resolveFn, 'optionalCall', _427 => _427(props.id, props.entityType, displayName)]);
15372
+ if (_optionalChain([resolved, 'optionalAccess', _428 => _428.Inline])) {
15329
15373
  const Custom = resolved.Inline;
15330
15374
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Custom, { ...props, alias: displayName });
15331
15375
  }
15332
- const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _428 => _428.url]), () => ( "#"));
15333
- const handleClick = _optionalChain([resolved, 'optionalAccess', _429 => _429.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15376
+ const href = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _429 => _429.url]), () => ( "#"));
15377
+ const handleClick = _optionalChain([resolved, 'optionalAccess', _430 => _430.onActivate]) ? (e) => resolved.onActivate(e, props) : void 0;
15334
15378
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15335
15379
  _link2.default,
15336
15380
  {
@@ -15436,7 +15480,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15436
15480
  if (!suggestionMenuComponent) return void 0;
15437
15481
  const Component2 = suggestionMenuComponent;
15438
15482
  const Wrapped = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (props) => {
15439
- const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _430 => _430.items, 'access', _431 => _431[0], 'optionalAccess', _432 => _432.title]) === KEEP_OPEN_SENTINEL_TITLE;
15483
+ const isSentinelOnly = props.items.length === 1 && _optionalChain([props, 'access', _431 => _431.items, 'access', _432 => _432[0], 'optionalAccess', _433 => _433.title]) === KEEP_OPEN_SENTINEL_TITLE;
15440
15484
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15441
15485
  Component2,
15442
15486
  {
@@ -15445,7 +15489,7 @@ function BlockNoteEditorMentionSuggestionMenu({
15445
15489
  selectedIndex: isSentinelOnly ? void 0 : props.selectedIndex,
15446
15490
  onItemClick: (item) => {
15447
15491
  if (item.title === KEEP_OPEN_SENTINEL_TITLE) return;
15448
- _optionalChain([props, 'access', _433 => _433.onItemClick, 'optionalCall', _434 => _434(item)]);
15492
+ _optionalChain([props, 'access', _434 => _434.onItemClick, 'optionalCall', _435 => _435(item)]);
15449
15493
  }
15450
15494
  }
15451
15495
  );
@@ -15639,10 +15683,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
15639
15683
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15640
15684
  Checkbox,
15641
15685
  {
15642
- checked: _optionalChain([params, 'access', _435 => _435.checkedIds, 'optionalAccess', _436 => _436.includes, 'call', _437 => _437(row.getValue(params.name))]) || false,
15686
+ checked: _optionalChain([params, 'access', _436 => _436.checkedIds, 'optionalAccess', _437 => _437.includes, 'call', _438 => _438(row.getValue(params.name))]) || false,
15643
15687
  onCheckedChange: (value) => {
15644
15688
  row.toggleSelected(!!value);
15645
- _optionalChain([params, 'access', _438 => _438.toggleId, 'optionalCall', _439 => _439(row.getValue(params.name))]);
15689
+ _optionalChain([params, 'access', _439 => _439.toggleId, 'optionalCall', _440 => _440(row.getValue(params.name))]);
15646
15690
  },
15647
15691
  "aria-label": "Select row"
15648
15692
  }
@@ -15701,7 +15745,7 @@ function useJsonApiGet(params) {
15701
15745
  const [response, setResponse] = _react.useState.call(void 0, null);
15702
15746
  const isMounted = _react.useRef.call(void 0, true);
15703
15747
  const fetchData = _react.useCallback.call(void 0, async () => {
15704
- if (_optionalChain([params, 'access', _440 => _440.options, 'optionalAccess', _441 => _441.enabled]) === false) return;
15748
+ if (_optionalChain([params, 'access', _441 => _441.options, 'optionalAccess', _442 => _442.enabled]) === false) return;
15705
15749
  setLoading(true);
15706
15750
  setError(null);
15707
15751
  try {
@@ -15728,9 +15772,9 @@ function useJsonApiGet(params) {
15728
15772
  setLoading(false);
15729
15773
  }
15730
15774
  }
15731
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _442 => _442.options, 'optionalAccess', _443 => _443.enabled])]);
15775
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _443 => _443.options, 'optionalAccess', _444 => _444.enabled])]);
15732
15776
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
15733
- if (!_optionalChain([response, 'optionalAccess', _444 => _444.nextPage])) return;
15777
+ if (!_optionalChain([response, 'optionalAccess', _445 => _445.nextPage])) return;
15734
15778
  setLoading(true);
15735
15779
  try {
15736
15780
  const nextResponse = await response.nextPage();
@@ -15751,7 +15795,7 @@ function useJsonApiGet(params) {
15751
15795
  }
15752
15796
  }, [response]);
15753
15797
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
15754
- if (!_optionalChain([response, 'optionalAccess', _445 => _445.prevPage])) return;
15798
+ if (!_optionalChain([response, 'optionalAccess', _446 => _446.prevPage])) return;
15755
15799
  setLoading(true);
15756
15800
  try {
15757
15801
  const prevResponse = await response.prevPage();
@@ -15777,15 +15821,15 @@ function useJsonApiGet(params) {
15777
15821
  return () => {
15778
15822
  isMounted.current = false;
15779
15823
  };
15780
- }, [fetchData, ..._optionalChain([params, 'access', _446 => _446.options, 'optionalAccess', _447 => _447.deps]) || []]);
15824
+ }, [fetchData, ..._optionalChain([params, 'access', _447 => _447.options, 'optionalAccess', _448 => _448.deps]) || []]);
15781
15825
  return {
15782
15826
  data,
15783
15827
  loading,
15784
15828
  error,
15785
15829
  response,
15786
15830
  refetch: fetchData,
15787
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _448 => _448.next]),
15788
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _449 => _449.prev]),
15831
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _449 => _449.next]),
15832
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _450 => _450.prev]),
15789
15833
  fetchNextPage,
15790
15834
  fetchPreviousPage
15791
15835
  };
@@ -15863,17 +15907,17 @@ function useJsonApiMutation(config) {
15863
15907
  if (apiResponse.ok) {
15864
15908
  const resultData = apiResponse.data;
15865
15909
  setData(resultData);
15866
- _optionalChain([config, 'access', _450 => _450.onSuccess, 'optionalCall', _451 => _451(resultData)]);
15910
+ _optionalChain([config, 'access', _451 => _451.onSuccess, 'optionalCall', _452 => _452(resultData)]);
15867
15911
  return resultData;
15868
15912
  } else {
15869
15913
  setError(apiResponse.error);
15870
- _optionalChain([config, 'access', _452 => _452.onError, 'optionalCall', _453 => _453(apiResponse.error)]);
15914
+ _optionalChain([config, 'access', _453 => _453.onError, 'optionalCall', _454 => _454(apiResponse.error)]);
15871
15915
  return null;
15872
15916
  }
15873
15917
  } catch (err) {
15874
15918
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
15875
15919
  setError(errorMessage);
15876
- _optionalChain([config, 'access', _454 => _454.onError, 'optionalCall', _455 => _455(errorMessage)]);
15920
+ _optionalChain([config, 'access', _455 => _455.onError, 'optionalCall', _456 => _456(errorMessage)]);
15877
15921
  return null;
15878
15922
  } finally {
15879
15923
  setLoading(false);
@@ -15946,7 +15990,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
15946
15990
  {
15947
15991
  href: hasRole(_chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
15948
15992
  page: "/administration",
15949
- id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access', _456 => _456.Company, 'access', _457 => _457.pageUrl, 'optionalAccess', _458 => _458.substring, 'call', _459 => _459(1)]),
15993
+ id: _optionalChain([_chunkW73JBOIRjs.Modules, 'access', _457 => _457.Company, 'access', _458 => _458.pageUrl, 'optionalAccess', _459 => _459.substring, 'call', _460 => _460(1)]),
15950
15994
  childPage: company.id
15951
15995
  }) : generateUrl({ page: _chunkW73JBOIRjs.Modules.Company, id: company.id }),
15952
15996
  children: row.getValue("name")
@@ -15962,7 +16006,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
15962
16006
  })
15963
16007
  };
15964
16008
  const columns = _react.useMemo.call(void 0, () => {
15965
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _460 => _460[field], 'optionalCall', _461 => _461()])).filter((col) => col !== void 0);
16009
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _461 => _461[field], 'optionalCall', _462 => _462()])).filter((col) => col !== void 0);
15966
16010
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
15967
16011
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
15968
16012
  }, "useCompanyTableStructure");
@@ -15974,7 +16018,7 @@ var GRACE_DAYS = 3;
15974
16018
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
15975
16019
  if (!currentUser || !_chunkC2LEIBUKjs.isRolesConfigured.call(void 0, )) return false;
15976
16020
  const adminRoleId = _chunkC2LEIBUKjs.getRoleId.call(void 0, ).Administrator;
15977
- return !!_optionalChain([currentUser, 'access', _462 => _462.roles, 'optionalAccess', _463 => _463.some, 'call', _464 => _464((role) => role.id === adminRoleId)]);
16021
+ return !!_optionalChain([currentUser, 'access', _463 => _463.roles, 'optionalAccess', _464 => _464.some, 'call', _465 => _465((role) => role.id === adminRoleId)]);
15978
16022
  }, "isAdministrator");
15979
16023
  function useSubscriptionStatus() {
15980
16024
  const { company, currentUser } = useCurrentUserContext();
@@ -16091,7 +16135,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
16091
16135
  })
16092
16136
  };
16093
16137
  const columns = _react.useMemo.call(void 0, () => {
16094
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _465 => _465[field], 'optionalCall', _466 => _466()])).filter((col) => col !== void 0);
16138
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _466 => _466[field], 'optionalCall', _467 => _467()])).filter((col) => col !== void 0);
16095
16139
  }, [params.fields, fieldColumnMap, t, generateUrl]);
16096
16140
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16097
16141
  }, "useRoleTableStructure");
@@ -16192,11 +16236,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
16192
16236
  return params.fields.map((field) => {
16193
16237
  const localHandler = fieldColumnMap[field];
16194
16238
  if (localHandler) return localHandler();
16195
- const customHandler = _optionalChain([params, 'access', _467 => _467.context, 'optionalAccess', _468 => _468.customCells, 'optionalAccess', _469 => _469[field]]);
16239
+ const customHandler = _optionalChain([params, 'access', _468 => _468.context, 'optionalAccess', _469 => _469.customCells, 'optionalAccess', _470 => _470[field]]);
16196
16240
  if (customHandler) return customHandler({ t });
16197
16241
  return void 0;
16198
16242
  }).filter((col) => col !== void 0);
16199
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _470 => _470.context, 'optionalAccess', _471 => _471.customCells])]);
16243
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _471 => _471.context, 'optionalAccess', _472 => _472.customCells])]);
16200
16244
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
16201
16245
  }, "useContentTableStructure");
16202
16246
 
@@ -16532,7 +16576,7 @@ function ContentTableSearch({ data }) {
16532
16576
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
16533
16577
  if (!isExpanded) {
16534
16578
  setIsFocused(true);
16535
- setTimeout(() => _optionalChain([inputRef, 'access', _472 => _472.current, 'optionalAccess', _473 => _473.focus, 'call', _474 => _474()]), 50);
16579
+ setTimeout(() => _optionalChain([inputRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.focus, 'call', _475 => _475()]), 50);
16536
16580
  }
16537
16581
  }, "handleSearchIconClick");
16538
16582
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -16612,7 +16656,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16612
16656
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
16613
16657
  );
16614
16658
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
16615
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _475 => _475.data]), () => ( EMPTY_ARRAY)),
16659
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _476 => _476.data]), () => ( EMPTY_ARRAY)),
16616
16660
  fields,
16617
16661
  checkedIds,
16618
16662
  toggleId,
@@ -16645,7 +16689,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16645
16689
  });
16646
16690
  const rowModel = tableData ? table.getRowModel() : null;
16647
16691
  const groupedRows = _react.useMemo.call(void 0, () => {
16648
- if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _476 => _476.rows, 'optionalAccess', _477 => _477.length])) return null;
16692
+ if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _477 => _477.rows, 'optionalAccess', _478 => _478.length])) return null;
16649
16693
  const groupMap = /* @__PURE__ */ new Map();
16650
16694
  for (const row of rowModel.rows) {
16651
16695
  const keys = getGroupKeys(row.original, props.groupBy);
@@ -16713,19 +16757,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16713
16757
  ) }),
16714
16758
  !props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
16715
16759
  const meta = header.column.columnDef.meta;
16716
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _478 => _478.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
16760
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _479 => _479.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
16717
16761
  }) }, headerGroup.id))
16718
16762
  ] }),
16719
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _479 => _479.rows, 'optionalAccess', _480 => _480.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
16720
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _481 => _481.groupLabel, 'optionalCall', _482 => _482(group.groupKey)]), () => ( group.groupKey)) }) }) }),
16763
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _480 => _480.rows, 'optionalAccess', _481 => _481.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
16764
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _482 => _482.groupLabel, 'optionalCall', _483 => _483(group.groupKey)]), () => ( group.groupKey)) }) }) }),
16721
16765
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16722
16766
  TableRow,
16723
16767
  {
16724
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _483 => _483(row.original.jsonApiData)]),
16768
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _484 => _484(row.original.jsonApiData)]),
16725
16769
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
16726
16770
  children: row.getVisibleCells().map((cell) => {
16727
16771
  const meta = cell.column.columnDef.meta;
16728
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _484 => _484.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16772
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _485 => _485.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16729
16773
  })
16730
16774
  },
16731
16775
  row.id
@@ -16733,11 +16777,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16733
16777
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16734
16778
  TableRow,
16735
16779
  {
16736
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _485 => _485(row.original.jsonApiData)]),
16780
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _486 => _486(row.original.jsonApiData)]),
16737
16781
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
16738
16782
  children: row.getVisibleCells().map((cell) => {
16739
16783
  const meta = cell.column.columnDef.meta;
16740
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _486 => _486.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16784
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _487 => _487.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16741
16785
  })
16742
16786
  },
16743
16787
  row.id
@@ -16750,7 +16794,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16750
16794
  size: "sm",
16751
16795
  onClick: (e) => {
16752
16796
  e.preventDefault();
16753
- _optionalChain([data, 'access', _487 => _487.previous, 'optionalCall', _488 => _488(true)]);
16797
+ _optionalChain([data, 'access', _488 => _488.previous, 'optionalCall', _489 => _489(true)]);
16754
16798
  },
16755
16799
  disabled: !data.previous,
16756
16800
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -16764,7 +16808,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16764
16808
  size: "sm",
16765
16809
  onClick: (e) => {
16766
16810
  e.preventDefault();
16767
- _optionalChain([data, 'access', _489 => _489.next, 'optionalCall', _490 => _490(true)]);
16811
+ _optionalChain([data, 'access', _490 => _490.next, 'optionalCall', _491 => _491(true)]);
16768
16812
  },
16769
16813
  disabled: !data.next,
16770
16814
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -16785,7 +16829,7 @@ function ContentListGrid(props) {
16785
16829
  if (!data.next || !sentinelRef.current) return;
16786
16830
  const observer = new IntersectionObserver(
16787
16831
  (entries) => {
16788
- if (_optionalChain([entries, 'access', _491 => _491[0], 'optionalAccess', _492 => _492.isIntersecting])) _optionalChain([data, 'access', _493 => _493.next, 'optionalCall', _494 => _494()]);
16832
+ if (_optionalChain([entries, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.isIntersecting])) _optionalChain([data, 'access', _494 => _494.next, 'optionalCall', _495 => _495()]);
16789
16833
  },
16790
16834
  { threshold: 0.1, rootMargin: "200px" }
16791
16835
  );
@@ -17572,7 +17616,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17572
17616
  newDigits[index] = digit;
17573
17617
  setDigits(newDigits);
17574
17618
  if (digit && index < 5) {
17575
- _optionalChain([inputRefs, 'access', _495 => _495.current, 'access', _496 => _496[index + 1], 'optionalAccess', _497 => _497.focus, 'call', _498 => _498()]);
17619
+ _optionalChain([inputRefs, 'access', _496 => _496.current, 'access', _497 => _497[index + 1], 'optionalAccess', _498 => _498.focus, 'call', _499 => _499()]);
17576
17620
  }
17577
17621
  const code = newDigits.join("");
17578
17622
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -17581,7 +17625,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17581
17625
  }, "handleChange");
17582
17626
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
17583
17627
  if (e.key === "Backspace" && !digits[index] && index > 0) {
17584
- _optionalChain([inputRefs, 'access', _499 => _499.current, 'access', _500 => _500[index - 1], 'optionalAccess', _501 => _501.focus, 'call', _502 => _502()]);
17628
+ _optionalChain([inputRefs, 'access', _500 => _500.current, 'access', _501 => _501[index - 1], 'optionalAccess', _502 => _502.focus, 'call', _503 => _503()]);
17585
17629
  }
17586
17630
  }, "handleKeyDown");
17587
17631
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -17590,7 +17634,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17590
17634
  if (pastedData.length === 6) {
17591
17635
  const newDigits = pastedData.split("");
17592
17636
  setDigits(newDigits);
17593
- _optionalChain([inputRefs, 'access', _503 => _503.current, 'access', _504 => _504[5], 'optionalAccess', _505 => _505.focus, 'call', _506 => _506()]);
17637
+ _optionalChain([inputRefs, 'access', _504 => _504.current, 'access', _505 => _505[5], 'optionalAccess', _506 => _506.focus, 'call', _507 => _507()]);
17594
17638
  onComplete(pastedData);
17595
17639
  }
17596
17640
  }, "handlePaste");
@@ -17801,8 +17845,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
17801
17845
  try {
17802
17846
  const registrationData = await _chunkW73JBOIRjs.TwoFactorService.getPasskeyRegistrationOptions({
17803
17847
  id: _uuid.v4.call(void 0, ),
17804
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _507 => _507.email]), () => ( "")),
17805
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _508 => _508.name])
17848
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _508 => _508.email]), () => ( "")),
17849
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _509 => _509.name])
17806
17850
  });
17807
17851
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
17808
17852
  await _chunkW73JBOIRjs.TwoFactorService.verifyPasskeyRegistration({
@@ -17953,7 +17997,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
17953
17997
  const setup = await _chunkW73JBOIRjs.TwoFactorService.setupTotp({
17954
17998
  id: _uuid.v4.call(void 0, ),
17955
17999
  name: name.trim(),
17956
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _509 => _509.email]), () => ( ""))
18000
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _510 => _510.email]), () => ( ""))
17957
18001
  });
17958
18002
  setQrCodeUri(setup.qrCodeUri);
17959
18003
  setAuthenticatorId(setup.authenticatorId);
@@ -18087,7 +18131,7 @@ function TwoFactorSettings() {
18087
18131
  if (isLoading) {
18088
18132
  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") }) }) });
18089
18133
  }
18090
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _510 => _510.isEnabled]), () => ( false));
18134
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _511 => _511.isEnabled]), () => ( false));
18091
18135
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
18092
18136
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
18093
18137
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "text-success h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "text-warning h-6 w-6" }),
@@ -18125,7 +18169,7 @@ function TwoFactorSettings() {
18125
18169
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
18126
18170
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
18127
18171
  ] }),
18128
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _511 => _511.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
18172
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _512 => _512.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
18129
18173
  ] }) }),
18130
18174
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
18131
18175
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -18303,9 +18347,9 @@ function AcceptInvitation() {
18303
18347
  });
18304
18348
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18305
18349
  try {
18306
- if (!_optionalChain([params, 'optionalAccess', _512 => _512.code])) return;
18350
+ if (!_optionalChain([params, 'optionalAccess', _513 => _513.code])) return;
18307
18351
  const payload = {
18308
- code: _optionalChain([params, 'optionalAccess', _513 => _513.code]),
18352
+ code: _optionalChain([params, 'optionalAccess', _514 => _514.code]),
18309
18353
  password: values.password
18310
18354
  };
18311
18355
  await _chunkW73JBOIRjs.AuthService.acceptInvitation(payload);
@@ -18655,7 +18699,7 @@ function Logout({ storageKeys }) {
18655
18699
  const generateUrl = usePageUrlGenerator();
18656
18700
  _react.useEffect.call(void 0, () => {
18657
18701
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
18658
- if (_optionalChain([storageKeys, 'optionalAccess', _514 => _514.length])) {
18702
+ if (_optionalChain([storageKeys, 'optionalAccess', _515 => _515.length])) {
18659
18703
  clearClientStorage(storageKeys);
18660
18704
  }
18661
18705
  await _chunkW73JBOIRjs.AuthService.logout();
@@ -18678,14 +18722,14 @@ function RefreshUser() {
18678
18722
  setUser(fullUser);
18679
18723
  const token = {
18680
18724
  userId: fullUser.id,
18681
- companyId: _optionalChain([fullUser, 'access', _515 => _515.company, 'optionalAccess', _516 => _516.id]),
18725
+ companyId: _optionalChain([fullUser, 'access', _516 => _516.company, 'optionalAccess', _517 => _517.id]),
18682
18726
  roles: fullUser.roles.map((role) => role.id),
18683
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _517 => _517.company, 'optionalAccess', _518 => _518.features, 'optionalAccess', _519 => _519.map, 'call', _520 => _520((feature) => feature.id)]), () => ( [])),
18727
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _518 => _518.company, 'optionalAccess', _519 => _519.features, 'optionalAccess', _520 => _520.map, 'call', _521 => _521((feature) => feature.id)]), () => ( [])),
18684
18728
  modules: fullUser.modules.map((module) => {
18685
18729
  return { id: module.id, permissions: module.permissions };
18686
18730
  })
18687
18731
  };
18688
- await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess', _521 => _521.updateToken, 'call', _522 => _522(token)]);
18732
+ await _optionalChain([_chunkW73JBOIRjs.getTokenHandler.call(void 0, ), 'optionalAccess', _522 => _522.updateToken, 'call', _523 => _523(token)]);
18689
18733
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
18690
18734
  }
18691
18735
  }, "loadFullUser");
@@ -18749,9 +18793,9 @@ function ResetPassword() {
18749
18793
  });
18750
18794
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18751
18795
  try {
18752
- if (!_optionalChain([params, 'optionalAccess', _523 => _523.code])) return;
18796
+ if (!_optionalChain([params, 'optionalAccess', _524 => _524.code])) return;
18753
18797
  const payload = {
18754
- code: _optionalChain([params, 'optionalAccess', _524 => _524.code]),
18798
+ code: _optionalChain([params, 'optionalAccess', _525 => _525.code]),
18755
18799
  password: values.password
18756
18800
  };
18757
18801
  await _chunkW73JBOIRjs.AuthService.resetPassword(payload);
@@ -19100,7 +19144,7 @@ function extractHeadings(blocks) {
19100
19144
  function processBlocks(blockArray) {
19101
19145
  for (const block of blockArray) {
19102
19146
  if (block.type === "heading") {
19103
- const level = _optionalChain([block, 'access', _525 => _525.props, 'optionalAccess', _526 => _526.level]) || 1;
19147
+ const level = _optionalChain([block, 'access', _526 => _526.props, 'optionalAccess', _527 => _527.level]) || 1;
19104
19148
  const text = extractTextFromContent(block.content);
19105
19149
  if (text.trim()) {
19106
19150
  headings.push({
@@ -19443,7 +19487,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
19443
19487
  })
19444
19488
  };
19445
19489
  const columns = _react.useMemo.call(void 0, () => {
19446
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _527 => _527[field], 'optionalCall', _528 => _528()])).filter((col) => col !== void 0);
19490
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _528 => _528[field], 'optionalCall', _529 => _529()])).filter((col) => col !== void 0);
19447
19491
  }, [params.fields, fieldColumnMap, t, generateUrl]);
19448
19492
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
19449
19493
  }, "useHowToTableStructure");
@@ -19542,7 +19586,7 @@ function HowToSelector({
19542
19586
  }, "setHowTo");
19543
19587
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, modal: true, children: [
19544
19588
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
19545
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _529 => _529.value, 'optionalAccess', _530 => _530.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
19589
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _530 => _530.value, 'optionalAccess', _531 => _531.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
19546
19590
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
19547
19591
  _lucidereact.CircleX,
19548
19592
  {
@@ -19725,7 +19769,7 @@ function AssistantEmptyState({ onSend, operatorMode = false, onOperatorModeChang
19725
19769
  onCheckedChange: (checked) => onOperatorModeChange(checked === true)
19726
19770
  }
19727
19771
  ),
19728
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "assistant-operator-mode", className: "text-muted-foreground text-xs", children: t("features.assistant.operator_mode") })
19772
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "assistant-operator-mode", className: "text-muted-foreground cursor-pointer text-xs", children: t("features.assistant.operator_mode") })
19729
19773
  ] }),
19730
19774
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-2", children: STARTER_KEYS.map((k) => {
19731
19775
  const text = t(`features.assistant.starters.${k}`);
@@ -19911,9 +19955,9 @@ function CitationsTab({ citations, sources }) {
19911
19955
  ] }) }),
19912
19956
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
19913
19957
  const isOpen = expanded.has(chunk.id);
19914
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _531 => _531.get, 'call', _532 => _532(chunk.nodeId)]) : void 0;
19958
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _532 => _532.get, 'call', _533 => _533(chunk.nodeId)]) : void 0;
19915
19959
  const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
19916
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _533 => _533.name]), () => ( fallbackName));
19960
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _534 => _534.name]), () => ( fallbackName));
19917
19961
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
19918
19962
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
19919
19963
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -19960,7 +20004,7 @@ function ContentsTab({ citations, sources }) {
19960
20004
  for (const c of citations) {
19961
20005
  const id = c.nodeId;
19962
20006
  if (!id) continue;
19963
- const source = _optionalChain([sources, 'optionalAccess', _534 => _534.get, 'call', _535 => _535(id)]);
20007
+ const source = _optionalChain([sources, 'optionalAccess', _535 => _535.get, 'call', _536 => _536(id)]);
19964
20008
  if (!source) continue;
19965
20009
  const existing = map.get(id);
19966
20010
  if (existing) {
@@ -20027,7 +20071,7 @@ function UsersTab({ users, citations, sources }) {
20027
20071
  const generate = usePageUrlGenerator();
20028
20072
  const userMap = /* @__PURE__ */ new Map();
20029
20073
  for (const u of users) {
20030
- if (!_optionalChain([u, 'optionalAccess', _536 => _536.id])) continue;
20074
+ if (!_optionalChain([u, 'optionalAccess', _537 => _537.id])) continue;
20031
20075
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
20032
20076
  }
20033
20077
  if (citations && sources) {
@@ -20132,7 +20176,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
20132
20176
  }
20133
20177
  return ids.size;
20134
20178
  }, [message.citations, sources]);
20135
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _537 => _537.length]), () => ( 0));
20179
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _538 => _538.length]), () => ( 0));
20136
20180
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
20137
20181
  const visibleTabs = [];
20138
20182
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -20192,8 +20236,8 @@ var SourcesFetcher = class extends _chunkW73JBOIRjs.ClientAbstractService {
20192
20236
  const endpoint = new (0, _chunkW73JBOIRjs.EndpointCreator)({ endpoint: params.module });
20193
20237
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
20194
20238
  endpoint.addAdditionalParam("fetchAll", "true");
20195
- if (_optionalChain([params, 'access', _538 => _538.module, 'access', _539 => _539.inclusions, 'optionalAccess', _540 => _540.lists, 'optionalAccess', _541 => _541.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
20196
- if (_optionalChain([params, 'access', _542 => _542.module, 'access', _543 => _543.inclusions, 'optionalAccess', _544 => _544.lists, 'optionalAccess', _545 => _545.types])) endpoint.limitToType(params.module.inclusions.lists.types);
20239
+ if (_optionalChain([params, 'access', _539 => _539.module, 'access', _540 => _540.inclusions, 'optionalAccess', _541 => _541.lists, 'optionalAccess', _542 => _542.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
20240
+ if (_optionalChain([params, 'access', _543 => _543.module, 'access', _544 => _544.inclusions, 'optionalAccess', _545 => _545.lists, 'optionalAccess', _546 => _546.types])) endpoint.limitToType(params.module.inclusions.lists.types);
20197
20241
  return this.callApi({
20198
20242
  type: params.module,
20199
20243
  method: "GET" /* GET */,
@@ -20272,7 +20316,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
20272
20316
  return void 0;
20273
20317
  }
20274
20318
  })()));
20275
- if (_optionalChain([author, 'optionalAccess', _546 => _546.id])) userMap.set(author.id, author);
20319
+ if (_optionalChain([author, 'optionalAccess', _547 => _547.id])) userMap.set(author.id, author);
20276
20320
  }
20277
20321
  return Array.from(userMap.values());
20278
20322
  }, [resolved]);
@@ -20301,14 +20345,14 @@ function MessageItem({
20301
20345
  }) {
20302
20346
  const t = _nextintl.useTranslations.call(void 0, );
20303
20347
  const isUser = message.role === "user";
20304
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _547 => _547.has, 'call', _548 => _548(message.id)]);
20348
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _548 => _548.has, 'call', _549 => _549(message.id)]);
20305
20349
  if (isUser) {
20306
20350
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
20307
20351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
20308
20352
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
20309
20353
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
20310
20354
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
20311
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _549 => _549(message.id)]), children: t("features.assistant.retry") })
20355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _550 => _550(message.id)]), children: t("features.assistant.retry") })
20312
20356
  ] })
20313
20357
  ] });
20314
20358
  }
@@ -20384,7 +20428,7 @@ function AssistantThread({
20384
20428
  }) {
20385
20429
  const endRef = _react.useRef.call(void 0, null);
20386
20430
  _react.useEffect.call(void 0, () => {
20387
- _optionalChain([endRef, 'access', _550 => _550.current, 'optionalAccess', _551 => _551.scrollIntoView, 'call', _552 => _552({ behavior: "smooth" })]);
20431
+ _optionalChain([endRef, 'access', _551 => _551.current, 'optionalAccess', _552 => _552.scrollIntoView, 'call', _553 => _553({ behavior: "smooth" })]);
20388
20432
  }, [messages.length, sending]);
20389
20433
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-x-hidden overflow-y-auto px-6 py-5", children: [
20390
20434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20413,7 +20457,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
20413
20457
  AssistantSidebar,
20414
20458
  {
20415
20459
  threads: ctx.threads,
20416
- activeId: _optionalChain([ctx, 'access', _553 => _553.assistant, 'optionalAccess', _554 => _554.id]),
20460
+ activeId: _optionalChain([ctx, 'access', _554 => _554.assistant, 'optionalAccess', _555 => _555.id]),
20417
20461
  onSelect: ctx.selectThread,
20418
20462
  onNew: ctx.startNew
20419
20463
  }
@@ -20507,14 +20551,14 @@ function NotificationsList({ archived }) {
20507
20551
  ] }),
20508
20552
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
20509
20553
  ] }) }) }, i)) }), "LoadingSkeleton");
20510
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _555 => _555.data, 'optionalAccess', _556 => _556.map, 'call', _557 => _557((notification) => {
20554
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _556 => _556.data, 'optionalAccess', _557 => _557.map, 'call', _558 => _558((notification) => {
20511
20555
  const notificationData = generateNotificationData({ notification, generateUrl });
20512
20556
  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: [
20513
20557
  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: _chunkW73JBOIRjs.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" }),
20514
20558
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
20515
20559
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
20516
20560
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
20517
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _558 => _558.actor, 'optionalAccess', _559 => _559.name]), () => ( "")),
20561
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _559 => _559.actor, 'optionalAccess', _560 => _560.name]), () => ( "")),
20518
20562
  title: notificationData.title
20519
20563
  }) }),
20520
20564
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -20860,7 +20904,7 @@ var DEFAULT_TRANSLATIONS = {
20860
20904
  invalidEmail: "Please enter a valid email address"
20861
20905
  };
20862
20906
  async function copyToClipboard(text) {
20863
- if (_optionalChain([navigator, 'access', _560 => _560.clipboard, 'optionalAccess', _561 => _561.writeText])) {
20907
+ if (_optionalChain([navigator, 'access', _561 => _561.clipboard, 'optionalAccess', _562 => _562.writeText])) {
20864
20908
  try {
20865
20909
  await navigator.clipboard.writeText(text);
20866
20910
  return true;
@@ -20902,7 +20946,7 @@ function ReferralWidget({
20902
20946
  const linkInputRef = _react.useRef.call(void 0, null);
20903
20947
  const config = _chunkC2LEIBUKjs.getReferralConfig.call(void 0, );
20904
20948
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
20905
- const referralUrl = _optionalChain([stats, 'optionalAccess', _562 => _562.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20949
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _563 => _563.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20906
20950
  if (!_chunkC2LEIBUKjs.isReferralEnabled.call(void 0, )) {
20907
20951
  return null;
20908
20952
  }
@@ -20912,7 +20956,7 @@ function ReferralWidget({
20912
20956
  if (success) {
20913
20957
  setCopied(true);
20914
20958
  _chunkW73JBOIRjs.showToast.call(void 0, t.copiedMessage);
20915
- _optionalChain([onLinkCopied, 'optionalCall', _563 => _563()]);
20959
+ _optionalChain([onLinkCopied, 'optionalCall', _564 => _564()]);
20916
20960
  setTimeout(() => setCopied(false), 2e3);
20917
20961
  } else {
20918
20962
  _chunkW73JBOIRjs.showError.call(void 0, t.copyError);
@@ -20926,12 +20970,12 @@ function ReferralWidget({
20926
20970
  try {
20927
20971
  await sendInvite(email);
20928
20972
  _chunkW73JBOIRjs.showToast.call(void 0, t.inviteSent);
20929
- _optionalChain([onInviteSent, 'optionalCall', _564 => _564(email)]);
20973
+ _optionalChain([onInviteSent, 'optionalCall', _565 => _565(email)]);
20930
20974
  setEmail("");
20931
20975
  } catch (err) {
20932
20976
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
20933
20977
  _chunkW73JBOIRjs.showError.call(void 0, error2.message);
20934
- _optionalChain([onInviteError, 'optionalCall', _565 => _565(error2)]);
20978
+ _optionalChain([onInviteError, 'optionalCall', _566 => _566(error2)]);
20935
20979
  }
20936
20980
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
20937
20981
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -21685,7 +21729,7 @@ function OAuthClientList({
21685
21729
  OAuthClientCard,
21686
21730
  {
21687
21731
  client,
21688
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _566 => _566(client)]),
21732
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _567 => _567(client)]),
21689
21733
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
21690
21734
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
21691
21735
  },
@@ -21701,11 +21745,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
21701
21745
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
21702
21746
  const isEditMode = !!client;
21703
21747
  const [formState, setFormState] = _react.useState.call(void 0, {
21704
- name: _optionalChain([client, 'optionalAccess', _567 => _567.name]) || "",
21705
- description: _optionalChain([client, 'optionalAccess', _568 => _568.description]) || "",
21706
- redirectUris: _optionalChain([client, 'optionalAccess', _569 => _569.redirectUris, 'optionalAccess', _570 => _570.length]) ? client.redirectUris : [""],
21707
- allowedScopes: _optionalChain([client, 'optionalAccess', _571 => _571.allowedScopes]) || [],
21708
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _572 => _572.isConfidential]), () => ( true))
21748
+ name: _optionalChain([client, 'optionalAccess', _568 => _568.name]) || "",
21749
+ description: _optionalChain([client, 'optionalAccess', _569 => _569.description]) || "",
21750
+ redirectUris: _optionalChain([client, 'optionalAccess', _570 => _570.redirectUris, 'optionalAccess', _571 => _571.length]) ? client.redirectUris : [""],
21751
+ allowedScopes: _optionalChain([client, 'optionalAccess', _572 => _572.allowedScopes]) || [],
21752
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _573 => _573.isConfidential]), () => ( true))
21709
21753
  });
21710
21754
  const [errors, setErrors] = _react.useState.call(void 0, {});
21711
21755
  const validate = _react.useCallback.call(void 0, () => {
@@ -21933,7 +21977,7 @@ function OAuthClientDetail({
21933
21977
  ] }),
21934
21978
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21935
21979
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
21936
- /* @__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([_chunkW73JBOIRjs.OAUTH_SCOPE_DISPLAY, 'access', _573 => _573[scope], 'optionalAccess', _574 => _574.name]) || scope }, scope)) })
21980
+ /* @__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([_chunkW73JBOIRjs.OAUTH_SCOPE_DISPLAY, 'access', _574 => _574[scope], 'optionalAccess', _575 => _575.name]) || scope }, scope)) })
21937
21981
  ] }),
21938
21982
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21939
21983
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -22077,7 +22121,7 @@ function OAuthConsentScreen({
22077
22121
  if (error || !clientInfo) {
22078
22122
  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: [
22079
22123
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
22080
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _575 => _575.message]) || "Invalid authorization request. Please try again." })
22124
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _576 => _576.message]) || "Invalid authorization request. Please try again." })
22081
22125
  ] }) }) }) });
22082
22126
  }
22083
22127
  const { client, scopes } = clientInfo;
@@ -22293,7 +22337,7 @@ function WaitlistForm({ onSuccess }) {
22293
22337
  questionnaire: values.questionnaire
22294
22338
  });
22295
22339
  setIsSuccess(true);
22296
- _optionalChain([onSuccess, 'optionalCall', _576 => _576()]);
22340
+ _optionalChain([onSuccess, 'optionalCall', _577 => _577()]);
22297
22341
  } catch (e) {
22298
22342
  errorToast({ error: e });
22299
22343
  } finally {
@@ -22941,7 +22985,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
22941
22985
  ] }),
22942
22986
  roleIds.map((roleId) => {
22943
22987
  const roleTokens = block[roleId];
22944
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _577 => _577[roleId]]), () => ( roleId));
22988
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _578 => _578[roleId]]), () => ( roleId));
22945
22989
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
22946
22990
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
22947
22991
  _chunkC2LEIBUKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22978,7 +23022,7 @@ function RbacContainer() {
22978
23022
  }, []);
22979
23023
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
22980
23024
  if (!matrix) return [];
22981
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _578 => _578[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[b]]), () => ( b))));
23025
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[b]]), () => ( b))));
22982
23026
  }, [matrix, moduleNames]);
22983
23027
  const roleIds = _react.useMemo.call(void 0, () => {
22984
23028
  if (roleNames) {
@@ -23041,7 +23085,7 @@ function RbacContainer() {
23041
23085
  id === selectedModuleId && "bg-muted font-medium text-foreground",
23042
23086
  id !== selectedModuleId && "text-muted-foreground"
23043
23087
  ),
23044
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[id]]), () => ( id))
23088
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _581 => _581[id]]), () => ( id))
23045
23089
  }
23046
23090
  ) }, id)) }) }),
23047
23091
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -23049,7 +23093,7 @@ function RbacContainer() {
23049
23093
  {
23050
23094
  moduleId: selectedModuleId,
23051
23095
  block: selectedBlock,
23052
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _581 => _581[selectedModuleId]]), () => ( selectedModuleId)),
23096
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _582 => _582[selectedModuleId]]), () => ( selectedModuleId)),
23053
23097
  roleIds,
23054
23098
  roleNames,
23055
23099
  onOpenPicker: openPicker
@@ -23060,12 +23104,12 @@ function RbacContainer() {
23060
23104
  RbacPermissionPicker,
23061
23105
  {
23062
23106
  open: !!activePicker,
23063
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _582 => _582.anchor]), () => ( null)),
23107
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.anchor]), () => ( null)),
23064
23108
  value: activeValue,
23065
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.isRoleColumn]), () => ( false)),
23109
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]), () => ( false)),
23066
23110
  knownSegments: activeSegments,
23067
23111
  onSetValue: handleSetValue,
23068
- onClear: _optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]) ? handleClear : void 0,
23112
+ onClear: _optionalChain([activePicker, 'optionalAccess', _585 => _585.isRoleColumn]) ? handleClear : void 0,
23069
23113
  onClose: closePicker
23070
23114
  }
23071
23115
  )
@@ -23132,7 +23176,7 @@ function RbacByRoleContainer() {
23132
23176
  }, [roleNames]);
23133
23177
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
23134
23178
  if (!matrix) return [];
23135
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _585 => _585[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _586 => _586[b]]), () => ( b))));
23179
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _586 => _586[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _587 => _587[b]]), () => ( b))));
23136
23180
  }, [matrix, moduleNames]);
23137
23181
  _react.useEffect.call(void 0, () => {
23138
23182
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -23181,7 +23225,7 @@ function RbacByRoleContainer() {
23181
23225
  id === selectedRoleId && "bg-muted font-medium text-foreground",
23182
23226
  id !== selectedRoleId && "text-muted-foreground"
23183
23227
  ),
23184
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _587 => _587[id]]), () => ( id))
23228
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _588 => _588[id]]), () => ( id))
23185
23229
  }
23186
23230
  ) }, id)) }) }),
23187
23231
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: sortedModuleIds.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-accent bg-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "table", { className: "w-full text-sm", children: [
@@ -23201,7 +23245,7 @@ function RbacByRoleContainer() {
23201
23245
  if (!block) return null;
23202
23246
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
23203
23247
  const roleTokens = block[selectedRoleId];
23204
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _588 => _588[moduleId]]), () => ( moduleId));
23248
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _589 => _589[moduleId]]), () => ( moduleId));
23205
23249
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
23206
23250
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23207
23251
  "td",
@@ -23216,7 +23260,7 @@ function RbacByRoleContainer() {
23216
23260
  _chunkC2LEIBUKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
23217
23261
  ] }),
23218
23262
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
23219
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _589 => _589[selectedRoleId]]), () => ( selectedRoleId)) }),
23263
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _590 => _590[selectedRoleId]]), () => ( selectedRoleId)) }),
23220
23264
  _chunkC2LEIBUKjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23221
23265
  CellButton3,
23222
23266
  {
@@ -23237,12 +23281,12 @@ function RbacByRoleContainer() {
23237
23281
  RbacPermissionPicker,
23238
23282
  {
23239
23283
  open: !!activePicker,
23240
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _590 => _590.anchor]), () => ( null)),
23284
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _591 => _591.anchor]), () => ( null)),
23241
23285
  value: activeValue,
23242
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _591 => _591.isRoleColumn]), () => ( false)),
23286
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _592 => _592.isRoleColumn]), () => ( false)),
23243
23287
  knownSegments: activeSegments,
23244
23288
  onSetValue: handleSetValue,
23245
- onClear: _optionalChain([activePicker, 'optionalAccess', _592 => _592.isRoleColumn]) ? handleClear : void 0,
23289
+ onClear: _optionalChain([activePicker, 'optionalAccess', _593 => _593.isRoleColumn]) ? handleClear : void 0,
23246
23290
  onClose: closePicker
23247
23291
  }
23248
23292
  )
@@ -23797,5 +23841,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
23797
23841
 
23798
23842
 
23799
23843
 
23800
- exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; 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.EmptyState = EmptyState; 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.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; 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.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
23801
- //# sourceMappingURL=chunk-IWSLZEWZ.js.map
23844
+
23845
+ exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; 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.EmptyState = EmptyState; 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.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.HEADER_ROW_MIN_H = HEADER_ROW_MIN_H; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; 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.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
23846
+ //# sourceMappingURL=chunk-3NVJEXUT.js.map