@seliseblocks/genesis-os 4.4.9 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-OE5T43AS.js → chunk-2773AECB.js} +32 -4
  3. package/dist/chunk-2773AECB.js.map +1 -0
  4. package/dist/{chunk-XYPSBVXL.js → chunk-5YOXI4IQ.js} +8 -4
  5. package/dist/chunk-5YOXI4IQ.js.map +1 -0
  6. package/dist/{chunk-QHNZOBXR.js → chunk-6PRJYN3Y.js} +10 -10
  7. package/dist/chunk-6PRJYN3Y.js.map +1 -0
  8. package/dist/{chunk-ZVYSSUHO.cjs → chunk-A2SDR7II.cjs} +363 -319
  9. package/dist/chunk-A2SDR7II.cjs.map +1 -0
  10. package/dist/{chunk-AIUUCMAI.cjs → chunk-AN5A73D2.cjs} +13 -13
  11. package/dist/chunk-AN5A73D2.cjs.map +1 -0
  12. package/dist/{chunk-TSRDXJUG.cjs → chunk-DVSDWHSQ.cjs} +15 -2
  13. package/dist/chunk-DVSDWHSQ.cjs.map +1 -0
  14. package/dist/{chunk-OPMWK5SY.cjs → chunk-FFMX4JUU.cjs} +9 -5
  15. package/dist/chunk-FFMX4JUU.cjs.map +1 -0
  16. package/dist/{chunk-CTIGX76P.cjs → chunk-JFNL44KF.cjs} +10 -10
  17. package/dist/chunk-JFNL44KF.cjs.map +1 -0
  18. package/dist/{chunk-LAWQOHY6.js → chunk-KHOVNP4T.js} +49 -13
  19. package/dist/chunk-KHOVNP4T.js.map +1 -0
  20. package/dist/{chunk-ECDNFX6H.js → chunk-KWCMVASQ.js} +9 -9
  21. package/dist/chunk-KWCMVASQ.js.map +1 -0
  22. package/dist/{chunk-P4SL4PTY.cjs → chunk-OD4JGU6N.cjs} +93 -56
  23. package/dist/chunk-OD4JGU6N.cjs.map +1 -0
  24. package/dist/{chunk-L4V72AAV.js → chunk-QZWXCHHQ.js} +112 -68
  25. package/dist/chunk-QZWXCHHQ.js.map +1 -0
  26. package/dist/{chunk-A4MVNKXL.cjs → chunk-YMIZYACJ.cjs} +39 -11
  27. package/dist/chunk-YMIZYACJ.cjs.map +1 -0
  28. package/dist/{chunk-POJIHGRY.js → chunk-ZBPSXAV5.js} +13 -3
  29. package/dist/chunk-ZBPSXAV5.js.map +1 -0
  30. package/dist/components/index.cjs +354 -354
  31. package/dist/components/index.d.cts +6 -2
  32. package/dist/components/index.d.ts +6 -2
  33. package/dist/components/index.js +7 -7
  34. package/dist/guards/index.cjs +13 -13
  35. package/dist/guards/index.js +7 -7
  36. package/dist/hooks/index.cjs +60 -60
  37. package/dist/hooks/index.js +3 -3
  38. package/dist/i18n/index.cjs +30 -30
  39. package/dist/i18n/index.js +2 -2
  40. package/dist/index.cjs +566 -554
  41. package/dist/index.d.cts +2 -2
  42. package/dist/index.d.ts +2 -2
  43. package/dist/index.js +7 -7
  44. package/dist/layouts/index.cjs +14 -14
  45. package/dist/layouts/index.js +7 -7
  46. package/dist/lib/index.cjs +39 -27
  47. package/dist/lib/index.d.cts +24 -1
  48. package/dist/lib/index.d.ts +24 -1
  49. package/dist/lib/index.js +2 -2
  50. package/dist/observability/index.cjs +5 -5
  51. package/dist/observability/index.js +2 -2
  52. package/dist/pages/index.cjs +12 -12
  53. package/dist/pages/index.js +7 -7
  54. package/dist/providers/index.cjs +7 -7
  55. package/dist/providers/index.js +3 -3
  56. package/dist/utils/index.cjs +72 -72
  57. package/dist/utils/index.js +4 -4
  58. package/package.json +1 -1
  59. package/dist/chunk-A4MVNKXL.cjs.map +0 -1
  60. package/dist/chunk-AIUUCMAI.cjs.map +0 -1
  61. package/dist/chunk-CTIGX76P.cjs.map +0 -1
  62. package/dist/chunk-ECDNFX6H.js.map +0 -1
  63. package/dist/chunk-L4V72AAV.js.map +0 -1
  64. package/dist/chunk-LAWQOHY6.js.map +0 -1
  65. package/dist/chunk-OE5T43AS.js.map +0 -1
  66. package/dist/chunk-OPMWK5SY.cjs.map +0 -1
  67. package/dist/chunk-P4SL4PTY.cjs.map +0 -1
  68. package/dist/chunk-POJIHGRY.js.map +0 -1
  69. package/dist/chunk-QHNZOBXR.js.map +0 -1
  70. package/dist/chunk-TSRDXJUG.cjs.map +0 -1
  71. package/dist/chunk-XYPSBVXL.js.map +0 -1
  72. package/dist/chunk-ZVYSSUHO.cjs.map +0 -1
@@ -1,20 +1,20 @@
1
1
  import { refractor } from './chunk-FGY7QM3Y.js';
2
- import { notificationService, useKeyboardShortcut, usePopoverWidth, useBlocksAppConfigStore, useTheme, useLogout, useGetMyOrganizations, useLanguageSwitcher, useGetBlocksNotificationConfig, useLogo, useStartImpersonation, useGetProjects, useGetProject, useImpersonationStatusChecker, useSessionTenantGuard, useStatusFirstOnTabReturn, useStopImpersonation, useRecordClaimedTenant, useSignOut, useLogin, useSignUpAffordance, useSignUpRedirect, useInitiateRedirect, useGetEnvRepositories, useUpdateTenantGroup, useIcon, useDisableProject, projectService, initiateService, useGetNotifications, useMarkAsRead, useMarkAllAsRead, impersonationService, useDebouncedFuseFilter, useUpdateRepositories, usePrefetchRedirect } from './chunk-LAWQOHY6.js';
3
- import { showErrorToast, createStorage, getForwardedToPath, debounce, formatFullDate, formatDate, deepEqual, showSuccessToast, isErrorWithErrors, getServiceBaseUrl, getServiceSwaggerUrl } from './chunk-QHNZOBXR.js';
4
- import { fadeTransition, fadeInUp, staggerContainer, staggerItem, fadeInScale, subscribeToSignOut, subscribeToTenantClaims, holdTenant, iamClient, AUTH_ENDPOINTS, claimTenant, readCurrentOwner, TAB_ID, isTenantHeldElsewhere, isSameClaim, PROFILE_ENDPOINTS } from './chunk-OE5T43AS.js';
2
+ import { notificationService, useKeyboardShortcut, usePopoverWidth, useBlocksAppConfigStore, useTheme, useLogout, useGetMyOrganizations, useLanguageSwitcher, useGetBlocksNotificationConfig, useLogo, useStartImpersonation, useGetProjects, useGetProject, useImpersonationStatusChecker, useSessionTenantGuard, useStatusFirstOnTabReturn, useStopImpersonation, useRecordClaimedTenant, useSignOut, useLogin, useSignUpAffordance, useSignUpRedirect, useInitiateRedirect, useGetEnvRepositories, useUpdateTenantGroup, useIcon, useDisableProject, projectService, initiateService, useGetNotifications, useMarkAsRead, useMarkAllAsRead, impersonationService, InitiateError, useDebouncedFuseFilter, useUpdateRepositories, usePrefetchRedirect } from './chunk-KHOVNP4T.js';
3
+ import { showErrorToast, createStorage, getForwardedToPath, debounce, formatFullDate, formatDate, deepEqual, showSuccessToast, isErrorWithErrors, getServiceBaseUrl, getServiceSwaggerUrl } from './chunk-6PRJYN3Y.js';
4
+ import { fadeTransition, fadeInUp, staggerContainer, staggerItem, fadeInScale, subscribeToSignOut, subscribeToTenantClaims, holdTenant, iamClient, AUTH_ENDPOINTS, claimTenant, readCurrentOwner, TAB_ID, isTenantHeldElsewhere, isSameClaim, PROFILE_ENDPOINTS } from './chunk-2773AECB.js';
5
5
  import { HttpError } from './chunk-7ZZ3KLZD.js';
6
- import { defaultRightSidePanelContextValue, RightSidePanelContext, SidebarContext, DashboardLayoutProvider } from './chunk-ECDNFX6H.js';
6
+ import { defaultRightSidePanelContextValue, RightSidePanelContext, SidebarContext, DashboardLayoutProvider } from './chunk-KWCMVASQ.js';
7
7
  import { useIsMobile, useIsActiveMenu, useFilteredMenus } from './chunk-AHCHUUXM.js';
8
- import { useT, tStatic, useDocumentLanguage, useLanguagesStore } from './chunk-XYPSBVXL.js';
8
+ import { useT, tStatic, useDocumentLanguage, useLanguagesStore } from './chunk-5YOXI4IQ.js';
9
9
  import { cn } from './chunk-3MLPBMH2.js';
10
10
  import { getQueryClient } from './chunk-BRHE44FE.js';
11
- import { getRuntimeEnv } from './chunk-POJIHGRY.js';
11
+ import { getRuntimeEnv, getMergedAreaBaseUrl } from './chunk-ZBPSXAV5.js';
12
12
  import { useLayoutSettingsStore, useLanguageViewStore, useImpersonateStore, useUserStore } from './chunk-JYA5S4XN.js';
13
13
  import { useProjectStore, useAuthStore } from './chunk-Z4ZDSA2A.js';
14
14
  import { CookieStorage } from './chunk-3V7O45KN.js';
15
15
  import { __commonJS, __toESM } from './chunk-PL4HS6R6.js';
16
16
  import * as React8 from 'react';
17
- import React8__default, { createContext, forwardRef, useState, useCallback, useEffect, useRef, useContext, useMemo, Fragment as Fragment$1, Suspense, Component, createElement as createElement$1, isValidElement } from 'react';
17
+ import React8__default, { createContext, forwardRef, useState, useCallback, useEffect, useRef, useContext, useMemo, Suspense, Fragment as Fragment$1, Component, createElement as createElement$1, isValidElement } from 'react';
18
18
  import * as TabsPrimitive from '@radix-ui/react-tabs';
19
19
  import { motion, AnimatePresence } from 'framer-motion';
20
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -6465,29 +6465,44 @@ function RenderAlternatively({
6465
6465
  var AppIcon = ({ icon, label }) => {
6466
6466
  return /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center overflow-hidden", children: typeof icon === "string" ? /* @__PURE__ */ jsx("img", { src: icon, alt: label, className: "h-full w-full object-contain" }) : icon });
6467
6467
  };
6468
- var AppTile = ({
6469
- app,
6470
- isLoading
6471
- }) => {
6468
+ var AppTile = ({ app }) => {
6472
6469
  const { t } = useT("genesis.shared");
6470
+ const { isLoading, isUnavailable } = app;
6471
+ const isInert = isLoading || isUnavailable;
6472
+ const unavailableText = isUnavailable ? t("APP_SWITCHER_CONTENT.UNAVAILABLE", { label: app.label }) : void 0;
6473
+ const linkProps = isInert ? {} : {
6474
+ href: app.initiateUrl,
6475
+ onClick: app.markUsed,
6476
+ onAuxClick: (e) => {
6477
+ if (e.button === 1) app.markUsed();
6478
+ },
6479
+ onContextMenu: app.markUsed,
6480
+ onDragStart: app.markUsed
6481
+ };
6473
6482
  return /* @__PURE__ */ jsxs(
6474
6483
  "a",
6475
6484
  {
6476
- href: isLoading ? void 0 : app.initiateUrl,
6477
- "aria-disabled": isLoading,
6478
- onClick: isLoading ? (e) => e.preventDefault() : app.markUsed,
6479
- onAuxClick: (e) => {
6480
- if (!isLoading && e.button === 1) app.markUsed();
6481
- },
6482
- onContextMenu: isLoading ? void 0 : app.markUsed,
6483
- onDragStart: isLoading ? void 0 : app.markUsed,
6485
+ ...linkProps,
6486
+ "aria-disabled": isInert,
6487
+ title: unavailableText,
6484
6488
  className: cn(
6485
6489
  "hover:bg-accent focus-visible:ring-ring group flex flex-col items-center gap-2 rounded-xl p-3 text-center transition-colors focus-visible:outline-none focus-visible:ring-2",
6486
- isLoading && "pointer-events-none opacity-50 cursor-default"
6490
+ isLoading && "pointer-events-none opacity-50 cursor-default",
6491
+ // Keeps pointer events so the hover title can explain why the app cannot be opened.
6492
+ isUnavailable && "opacity-50 cursor-default"
6487
6493
  ),
6488
6494
  children: [
6489
6495
  /* @__PURE__ */ jsx(AppIcon, { icon: app.icon, label: app.label }),
6490
- /* @__PURE__ */ jsx("span", { className: "text-foreground line-clamp-1 max-w-[90px] text-[12px] font-medium leading-tight", children: isLoading ? t("APP_SWITCHER_CONTENT.LOADING") : app.label })
6496
+ /* @__PURE__ */ jsx(
6497
+ "span",
6498
+ {
6499
+ className: cn(
6500
+ "text-foreground line-clamp-1 max-w-[90px] text-[12px] font-medium leading-tight",
6501
+ isUnavailable && "text-muted-foreground"
6502
+ ),
6503
+ children: isLoading ? t("APP_SWITCHER_CONTENT.LOADING") : app.label
6504
+ }
6505
+ )
6491
6506
  ]
6492
6507
  }
6493
6508
  );
@@ -6498,7 +6513,7 @@ function AppSwitcherContent({ apps }) {
6498
6513
  return /* @__PURE__ */ jsx("div", { className: "bg-muted/50 border-t p-3 flex h-12 items-center justify-center", children: /* @__PURE__ */ jsx("p", { className: "text-xs", children: t("APP_SWITCHER_CONTENT.NO_APPS") }) });
6499
6514
  return /* @__PURE__ */ jsxs("div", { className: "bg-muted/50 border-t px-3 pb-4 pt-3", children: [
6500
6515
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-2 px-1 text-[13px] font-semibold", children: "SELISE Blocks" }),
6501
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3", children: apps.map((app) => /* @__PURE__ */ jsx(AppTile, { app, isLoading: app.isLoading }, app.id)) })
6516
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3", children: apps.map((app) => /* @__PURE__ */ jsx(AppTile, { app }, app.id)) })
6502
6517
  ] });
6503
6518
  }
6504
6519
  function AppSwitcherTrigger({ open }) {
@@ -6556,7 +6571,8 @@ var APP_SWITCHER_DATA = [
6556
6571
  redirectUri: "BLOCKS_LOCALIZATION_CALLBACK_URL",
6557
6572
  initiateUrl: "",
6558
6573
  isLoading: false,
6559
- isDisabled: false
6574
+ // Merged into OS: shown only while this app still sets BLOCKS_LOCALIZATION_BASE_URL.
6575
+ isDisabled: () => !getRuntimeEnv("BLOCKS_LOCALIZATION_BASE_URL")
6560
6576
  },
6561
6577
  {
6562
6578
  id: "blocks-agents",
@@ -6580,7 +6596,8 @@ var APP_SWITCHER_DATA = [
6580
6596
  redirectUri: "BLOCKS_DATA_CALLBACK_URL",
6581
6597
  initiateUrl: "",
6582
6598
  isLoading: false,
6583
- isDisabled: false
6599
+ // Merged into OS: shown only while this app still sets BLOCKS_DATA_BASE_URL.
6600
+ isDisabled: () => !getRuntimeEnv("BLOCKS_DATA_BASE_URL")
6584
6601
  },
6585
6602
  {
6586
6603
  id: "blocks-os",
@@ -6616,7 +6633,8 @@ var APP_SWITCHER_DATA = [
6616
6633
  redirectUri: "BLOCKS_LOGIC_CALLBACK_URL",
6617
6634
  initiateUrl: "",
6618
6635
  isLoading: false,
6619
- isDisabled: false
6636
+ // Merged into OS: shown only while this app still sets BLOCKS_LOGIC_BASE_URL.
6637
+ isDisabled: () => !getRuntimeEnv("BLOCKS_LOGIC_BASE_URL")
6620
6638
  },
6621
6639
  {
6622
6640
  id: "blocks-monitor",
@@ -6628,7 +6646,8 @@ var APP_SWITCHER_DATA = [
6628
6646
  redirectUri: "BLOCKS_MONITOR_CALLBACK_URL",
6629
6647
  initiateUrl: "",
6630
6648
  isLoading: false,
6631
- isDisabled: false
6649
+ // Merged into OS: shown only while this app still sets BLOCKS_MONITOR_BASE_URL.
6650
+ isDisabled: () => !getRuntimeEnv("BLOCKS_MONITOR_BASE_URL")
6632
6651
  },
6633
6652
  {
6634
6653
  id: "blocks-release",
@@ -6675,12 +6694,14 @@ var filteredAppSwitcherData = APP_SWITCHER_DATA.filter((app) => {
6675
6694
  });
6676
6695
  var INITIATE_URL_MAX_AGE_MS = 5 * 60 * 1e3;
6677
6696
  var initiateQueryKey = (clientId, redirectUri, forwardedTo) => ["idp-initiate", clientId, redirectUri, forwardedTo];
6697
+ var isRecentlyRejected = (state, now) => state?.status === "error" && state.error instanceof InitiateError && state.error.status >= 400 && state.error.status < 500 && now - state.errorUpdatedAt < INITIATE_URL_MAX_AGE_MS;
6678
6698
  function useAppRedirectUrls({
6679
6699
  open,
6680
6700
  apps,
6681
6701
  resolveForwardedTo
6682
6702
  }) {
6683
6703
  const queryClient = useQueryClient();
6704
+ const now = Date.now();
6684
6705
  const requests = apps.map((app) => {
6685
6706
  const clientId = getRuntimeEnv(app.clientId);
6686
6707
  const redirectUri = getRuntimeEnv(app.redirectUri);
@@ -6701,7 +6722,13 @@ function useAppRedirectUrls({
6701
6722
  { clientId, redirectUri, forwardedTo },
6702
6723
  signal
6703
6724
  ),
6704
- enabled: open,
6725
+ // Read at render time rather than through an `enabled` callback, which older
6726
+ // @tanstack/react-query 5.x peers do not support. Each open re-renders, so a rejection that
6727
+ // has aged out re-enables the query and the reopen fetches it.
6728
+ enabled: open && !isRecentlyRejected(
6729
+ queryClient.getQueryState(queryKey),
6730
+ now
6731
+ ),
6705
6732
  staleTime: INITIATE_URL_MAX_AGE_MS,
6706
6733
  gcTime: INITIATE_URL_MAX_AGE_MS,
6707
6734
  // Replace a URL as it ages out while the popover stays open, rather than leaving the tile on
@@ -6722,14 +6749,15 @@ function useAppRedirectUrls({
6722
6749
  [queryClient]
6723
6750
  );
6724
6751
  if (!open || apps.length === 0) return [];
6725
- const now = Date.now();
6726
6752
  return requests.map(({ app, queryKey }, index) => {
6727
6753
  const result = results[index];
6728
6754
  const url = result?.data && now - result.dataUpdatedAt < INITIATE_URL_MAX_AGE_MS ? result.data : void 0;
6755
+ const isUnavailable = !url && result?.status === "error" && result.fetchStatus === "idle";
6729
6756
  return {
6730
6757
  ...app,
6731
6758
  initiateUrl: url ?? app.initiateUrl,
6732
- isLoading: !url,
6759
+ isLoading: !url && !isUnavailable,
6760
+ isUnavailable,
6733
6761
  markUsed: () => markUsed(queryKey)
6734
6762
  };
6735
6763
  });
@@ -7033,7 +7061,8 @@ function UserDropdownMenu() {
7033
7061
  )
7034
7062
  ] });
7035
7063
  }
7036
- function LanguageSelector() {
7064
+ function LanguageSelector({ className } = {}) {
7065
+ const { t } = useT("genesis.shared");
7037
7066
  const { changeLanguage } = useLanguageSwitcher();
7038
7067
  const language = useDocumentLanguage();
7039
7068
  const languages = useLanguagesStore((state) => state.languages);
@@ -7043,25 +7072,27 @@ function LanguageSelector() {
7043
7072
  "button",
7044
7073
  {
7045
7074
  type: "button",
7046
- className: "relative z-50 inline-flex h-9 items-center justify-center gap-1 rounded-full border border-transparent px-2.5 text-sm font-medium uppercase text-muted-foreground transition-all hover:border-input hover:bg-accent hover:text-accent-foreground hover:shadow-sm",
7075
+ "aria-label": t("LANGUAGE_SELECTOR.CHANGE_LANGUAGE"),
7076
+ className: cn(
7077
+ "relative z-50 inline-flex h-9 shrink-0 items-center justify-center gap-1 px-2.5 uppercase transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
7078
+ className ?? "rounded-full border border-transparent text-sm font-medium text-muted-foreground hover:border-input hover:bg-accent hover:text-accent-foreground hover:shadow-sm"
7079
+ ),
7047
7080
  children: [
7048
7081
  /* @__PURE__ */ jsx("span", { children: language }),
7049
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
7082
+ /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4", "aria-hidden": true })
7050
7083
  ]
7051
7084
  }
7052
7085
  ) }),
7053
- /* @__PURE__ */ jsx(DropdownMenuContent, { align: "end", children: languages.map((lang, index) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
7054
- /* @__PURE__ */ jsx(
7055
- DropdownMenuItem,
7056
- {
7057
- lang: lang.code,
7058
- className: lang.code === language ? "font-semibold" : "",
7059
- onClick: () => changeLanguage(lang.code),
7060
- children: lang.title
7061
- }
7062
- ),
7063
- index !== languages.length - 1 && /* @__PURE__ */ jsx(DropdownMenuSeparator, {})
7064
- ] }, lang.code)) })
7086
+ /* @__PURE__ */ jsx(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ jsx(DropdownMenuRadioGroup, { value: language, onValueChange: changeLanguage, children: languages.map((lang) => /* @__PURE__ */ jsx(
7087
+ DropdownMenuRadioItem,
7088
+ {
7089
+ value: lang.code,
7090
+ lang: lang.code,
7091
+ className: lang.code === language ? "font-semibold" : "",
7092
+ children: lang.title
7093
+ },
7094
+ lang.code
7095
+ )) }) })
7065
7096
  ] });
7066
7097
  }
7067
7098
 
@@ -7101,7 +7132,7 @@ function Logo({
7101
7132
  )
7102
7133
  ] });
7103
7134
  }
7104
- var logicOrigin = () => getRuntimeEnv("BLOCKS_LOGIC_BASE_URL").trim().replace(/\/$/, "");
7135
+ var logicOrigin = () => getMergedAreaBaseUrl("BLOCKS_LOGIC_BASE_URL").trim().replace(/\/$/, "");
7105
7136
  var RETRY_DELAYS_MS = [2e3, 5e3, 15e3, 3e4];
7106
7137
  var STEADY_RETRY_MS = 6e4;
7107
7138
  var isLoggedOut = (error) => error?.status === 401;
@@ -8760,27 +8791,39 @@ var LoginHeader = ({
8760
8791
  }
8761
8792
  ),
8762
8793
  /* @__PURE__ */ jsxs("div", { className: "nav-right", children: [
8763
- /* @__PURE__ */ jsx("a", { href: docsUrl, target: "_blank", rel: "noreferrer", className: "nav-link", children: t("LOGIN_HEADER.DOCS") }),
8764
- /* @__PURE__ */ jsx(
8765
- "a",
8766
- {
8767
- href: blocksUrl,
8768
- target: "_blank",
8769
- rel: "noreferrer",
8770
- className: "nav-link",
8771
- children: "Blocks"
8772
- }
8773
- ),
8774
- /* @__PURE__ */ jsx(
8775
- "a",
8776
- {
8777
- href: githubUrl,
8778
- target: "_blank",
8779
- rel: "noreferrer",
8780
- className: "nav-link",
8781
- children: "GitHub"
8782
- }
8783
- ),
8794
+ /* @__PURE__ */ jsxs("div", { className: "nav-links", children: [
8795
+ /* @__PURE__ */ jsx(
8796
+ "a",
8797
+ {
8798
+ href: docsUrl,
8799
+ target: "_blank",
8800
+ rel: "noreferrer",
8801
+ className: "nav-link",
8802
+ children: t("LOGIN_HEADER.DOCS")
8803
+ }
8804
+ ),
8805
+ /* @__PURE__ */ jsx(
8806
+ "a",
8807
+ {
8808
+ href: blocksUrl,
8809
+ target: "_blank",
8810
+ rel: "noreferrer",
8811
+ className: "nav-link",
8812
+ children: t("LOGIN_HEADER.BLOCKS")
8813
+ }
8814
+ ),
8815
+ /* @__PURE__ */ jsx(
8816
+ "a",
8817
+ {
8818
+ href: githubUrl,
8819
+ target: "_blank",
8820
+ rel: "noreferrer",
8821
+ className: "nav-link",
8822
+ children: t("LOGIN_HEADER.GITHUB")
8823
+ }
8824
+ )
8825
+ ] }),
8826
+ /* @__PURE__ */ jsx(LanguageSelector, { className: "nav-link" }),
8784
8827
  /* @__PURE__ */ jsx(
8785
8828
  ThemeSwitcher,
8786
8829
  {
@@ -9283,6 +9326,7 @@ var blocksLoginStyles = `
9283
9326
 
9284
9327
  @media (max-width: 600px) {
9285
9328
  .blocksLogin-page .site-nav { padding: 0 22px; }
9329
+ .blocksLogin-page .nav-right { gap: 8px; }
9286
9330
  .blocksLogin-page .nav-links { display: none; }
9287
9331
  .blocksLogin-page .main { padding: calc(var(--nav-h) + 28px) 22px 80px; }
9288
9332
  .blocksLogin-page .title-main { font-size: 1.8rem; }
@@ -13950,5 +13994,5 @@ var TablePagination2 = React8.forwardRef(
13950
13994
  TablePagination2.displayName = "TablePagination";
13951
13995
 
13952
13996
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppLoadingSpinner, AppSwitcher, ArchiveProject, AspectRatio, AuthLayout, AuthResolver, Avatar, AvatarFallback, AvatarImage, BackToConsoleNavigator, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CallbackPage, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationModal, ConsoleHeader, ConsoleLayout, ConsolePage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyToClipboardButton, CopyableSnippet, DEFAULT_KANBAN_COLUMNS, DashboardHeader, DashboardLayout, DashboardOverview, DashboardRoute, DashboardSectionCard, DataTable, DataTableHeaderCell, DateRangePicker, DesktopMenuItem, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditProject, EditProjectDialog, EditProjectForm, EnvironmentCard, EnvironmentList, ErrorBoundary, ErrorDisplay, ErrorDisplayWithCard, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FilterControls, FilterToolBarMobileView, FilterToolbar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, ImpersonationChecker, ImpersonationSynchronizer, ImpersonationTerminator, ImportFileModalContent, InfiniteScroll, InfiniteScroller, InfoTooltip, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, KanbanBoard, KanbanBoardColumn, KanbanBoardContainer, KanbanTaskCard, Label, LanguageSelector, LoadingButton, LoginPage, Logo, MaskedText, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileMenuItem, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, OidcLayout, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProfilePage, Progress, ProjectActions, ProjectCardLoadingSkeleton, ProjectDetail, ProjectList2 as ProjectList, ProjectListRowLoadingSkeleton, ProjectOverview, ProjectRepoList, ProtectedGuard, PublicGuard, PublicLayout, RadioGroup4 as RadioGroup, RadioGroupItem, RenderAlternatively, RenderConditionally, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightSidePanel, RightSidePanelBody, RightSidePanelClose, RightSidePanelDescription, RightSidePanelFooter, RightSidePanelHeader, RightSidePanelProvider, RightSidePanelTitle, RightSidePanelTrigger, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectedEnvironment, SelectedProject, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCollapsedTooltip, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDesktop, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileView, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableLoadingSkeleton, TablePagination2 as TablePagination, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitcher, Timeline, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserDropdownMenu, WizardHorizontalTrackBar, WizardStepContent, WizardStepIndicator, WizardStepViewport, WizardStepperProvider, WizardVerticalTrackBar, badgeVariants, buttonVariants, editProjectFormDefaultValues, editProjectFormSchema, filteredAppSwitcherData, hasDraggableData, kanbanKeyboardCoordinateGetter, navigationMenuTriggerStyle, paginationQueryParsers, sidebarCollapsedTooltipClass, sortQueryParsers, spinnerVariants, toggleVariants, useFileUpload, useFormField, useNotificationSocket, useOidcContext, usePaginationQueryParams, useRightSidePanel, useSortQueryParams, useWizardStepper };
13953
- //# sourceMappingURL=chunk-L4V72AAV.js.map
13954
- //# sourceMappingURL=chunk-L4V72AAV.js.map
13997
+ //# sourceMappingURL=chunk-QZWXCHHQ.js.map
13998
+ //# sourceMappingURL=chunk-QZWXCHHQ.js.map