@seliseblocks/genesis-os 4.4.1 → 4.4.2

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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkXJ6DPUCV_cjs = require('./chunk-XJ6DPUCV.cjs');
4
- var chunkHBVSAOTQ_cjs = require('./chunk-HBVSAOTQ.cjs');
4
+ var chunk3EGBCU4W_cjs = require('./chunk-3EGBCU4W.cjs');
5
5
  var chunkQTSTAWK3_cjs = require('./chunk-QTSTAWK3.cjs');
6
6
  var chunkVAWEXEJZ_cjs = require('./chunk-VAWEXEJZ.cjs');
7
7
  var chunkX4YCRWXO_cjs = require('./chunk-X4YCRWXO.cjs');
@@ -1523,7 +1523,7 @@ function RightSidePanelProvider({
1523
1523
  const close = React8__namespace.useCallback(() => {
1524
1524
  setOpen(false);
1525
1525
  }, [setOpen]);
1526
- chunkHBVSAOTQ_cjs.useKeyboardShortcut(shortcut, toggle);
1526
+ chunk3EGBCU4W_cjs.useKeyboardShortcut(shortcut, toggle);
1527
1527
  React8__namespace.useEffect(() => {
1528
1528
  if (!syncHash || isControlled || typeof window === "undefined") return;
1529
1529
  const handleHashChange = () => {
@@ -3499,7 +3499,7 @@ function MultiSelect({
3499
3499
  onChange,
3500
3500
  value: selectedValues
3501
3501
  }) {
3502
- const [buttonRef, popoverWidth] = chunkHBVSAOTQ_cjs.usePopoverWidth();
3502
+ const [buttonRef, popoverWidth] = chunk3EGBCU4W_cjs.usePopoverWidth();
3503
3503
  const onSelectHandler = (value) => {
3504
3504
  const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
3505
3505
  onChange(nextValues);
@@ -6701,7 +6701,7 @@ function useAppRedirectUrls({
6701
6701
  queries: requests.map(
6702
6702
  ({ clientId, redirectUri, forwardedTo, queryKey }) => ({
6703
6703
  queryKey,
6704
- queryFn: ({ signal }) => chunkHBVSAOTQ_cjs.initiateService.fetchRedirectUrl(
6704
+ queryFn: ({ signal }) => chunk3EGBCU4W_cjs.initiateService.fetchRedirectUrl(
6705
6705
  { clientId, redirectUri, forwardedTo },
6706
6706
  signal
6707
6707
  ),
@@ -6740,7 +6740,7 @@ function useAppRedirectUrls({
6740
6740
  }
6741
6741
  var AppSwitcher = ({ forwardedTo }) => {
6742
6742
  const [open, setOpen] = React8.useState(false);
6743
- const config = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.getConfig());
6743
+ const config = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.getConfig());
6744
6744
  const filteredApps = React8.useMemo(
6745
6745
  () => filteredAppSwitcherData.filter((app) => app.id !== config.name),
6746
6746
  [config.name]
@@ -6779,7 +6779,7 @@ function ThemeSwitcher({
6779
6779
  className,
6780
6780
  showChevron = true
6781
6781
  } = {}) {
6782
- const { theme, setTheme } = chunkHBVSAOTQ_cjs.useTheme();
6782
+ const { theme, setTheme } = chunk3EGBCU4W_cjs.useTheme();
6783
6783
  const { Icon: ThemeIcon } = OPTIONS[theme];
6784
6784
  return /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
6785
6785
  /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -6889,14 +6889,14 @@ function UserAvatar({ size = "sm" }) {
6889
6889
  );
6890
6890
  }
6891
6891
  function UserDropdownMenu() {
6892
- const { name } = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.config);
6892
+ const { name } = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.config);
6893
6893
  const { data } = useGetUserInfo();
6894
6894
  const userData = data?.data;
6895
- const { isPending, mutateAsync } = chunkHBVSAOTQ_cjs.useLogout();
6895
+ const { isPending, mutateAsync } = chunk3EGBCU4W_cjs.useLogout();
6896
6896
  const { resetProjectStore } = chunk6GCU5LM7_cjs.useProjectStore();
6897
6897
  const { setUnAuthenticated, clearTokens } = chunk6GCU5LM7_cjs.useAuthStore();
6898
6898
  const { resetSelectedLanguages } = chunk4QN4CYSC_cjs.useLanguageViewStore();
6899
- const { data: myOrgsData, isLoading: isOrgsLoading } = chunkHBVSAOTQ_cjs.useGetMyOrganizations();
6899
+ const { data: myOrgsData, isLoading: isOrgsLoading } = chunk3EGBCU4W_cjs.useGetMyOrganizations();
6900
6900
  const fullName = [userData?.firstName, userData?.lastName].filter(Boolean).join(" ") || "\u2014";
6901
6901
  const email = userData?.email || "";
6902
6902
  const roles = Object.values(userData?.roles || {}).flat();
@@ -7026,7 +7026,7 @@ var languages = [
7026
7026
  { key: "fr", title: "French" }
7027
7027
  ];
7028
7028
  function LanguageSelector() {
7029
- const { changeLanguage, language } = chunkHBVSAOTQ_cjs.useLanguageSwitcher();
7029
+ const { changeLanguage, language } = chunk3EGBCU4W_cjs.useLanguageSwitcher();
7030
7030
  return /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
7031
7031
  /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
7032
7032
  "button",
@@ -7162,7 +7162,7 @@ var NotificationListenerService = class {
7162
7162
  if (refreshLogin && navigator.onLine === false) return;
7163
7163
  try {
7164
7164
  if (refreshLogin)
7165
- await refreshLoginCall(chunkHBVSAOTQ_cjs.notificationService.getNotifications(1, 1));
7165
+ await refreshLoginCall(chunk3EGBCU4W_cjs.notificationService.getNotifications(1, 1));
7166
7166
  if (!this.wanted) return;
7167
7167
  await this.connection.start();
7168
7168
  this.attempt = 0;
@@ -7187,7 +7187,7 @@ var notificationListenerService = new NotificationListenerService();
7187
7187
 
7188
7188
  // src/components/common/notification/use-notification-socket.ts
7189
7189
  function useNotificationSocket() {
7190
- const { data: configData } = chunkHBVSAOTQ_cjs.useGetBlocksNotificationConfig(0, 100);
7190
+ const { data: configData } = chunk3EGBCU4W_cjs.useGetBlocksNotificationConfig(0, 100);
7191
7191
  const queryClient = reactQuery.useQueryClient();
7192
7192
  notificationListenerService.connect();
7193
7193
  React8.useEffect(() => {
@@ -7202,7 +7202,7 @@ function useNotificationSocket() {
7202
7202
  notificationListenerService.connection.on(
7203
7203
  config.notifyMethod,
7204
7204
  (message) => {
7205
- chunkHBVSAOTQ_cjs.notificationService.getNotificationConfig(config, message);
7205
+ chunk3EGBCU4W_cjs.notificationService.getNotificationConfig(config, message);
7206
7206
  try {
7207
7207
  const notice = typeof message === "string" ? JSON.parse(message) : message;
7208
7208
  const denom = JSON.parse(
@@ -7226,12 +7226,12 @@ function useNotificationFeed(open) {
7226
7226
  const [notifications, setNotifications] = React8.useState([]);
7227
7227
  const [hasMore, setHasMore] = React8.useState(true);
7228
7228
  const listRef = React8.useRef(null);
7229
- const { data, isLoading, isFetching } = chunkHBVSAOTQ_cjs.useGetNotifications(
7229
+ const { data, isLoading, isFetching } = chunk3EGBCU4W_cjs.useGetNotifications(
7230
7230
  pageNumber,
7231
7231
  PAGE_SIZE
7232
7232
  );
7233
- const markAsRead = chunkHBVSAOTQ_cjs.useMarkAsRead();
7234
- const markAllAsRead = chunkHBVSAOTQ_cjs.useMarkAllAsRead();
7233
+ const markAsRead = chunk3EGBCU4W_cjs.useMarkAsRead();
7234
+ const markAllAsRead = chunk3EGBCU4W_cjs.useMarkAllAsRead();
7235
7235
  React8.useEffect(() => {
7236
7236
  if (!data?.notifications) return;
7237
7237
  setNotifications((prev) => {
@@ -7465,7 +7465,7 @@ function ConsoleHeader() {
7465
7465
  window.addEventListener("scroll", handleScroll);
7466
7466
  return () => window.removeEventListener("scroll", handleScroll);
7467
7467
  }, []);
7468
- const { appLightLogo, appDarkLogo } = chunkHBVSAOTQ_cjs.useLogo();
7468
+ const { appLightLogo, appDarkLogo } = chunk3EGBCU4W_cjs.useLogo();
7469
7469
  return /* @__PURE__ */ jsxRuntime.jsx(
7470
7470
  "div",
7471
7471
  {
@@ -7644,7 +7644,7 @@ var EnvironmentCard = ({
7644
7644
  className
7645
7645
  }) => {
7646
7646
  const { setSelectedProject, setTenantGroup } = chunk6GCU5LM7_cjs.useProjectStore();
7647
- const { mutateAsync } = chunkHBVSAOTQ_cjs.useStartImpersonation();
7647
+ const { mutateAsync } = chunk3EGBCU4W_cjs.useStartImpersonation();
7648
7648
  const navigate = reactRouter.useNavigate();
7649
7649
  const handleCardClick = async () => {
7650
7650
  try {
@@ -7698,11 +7698,11 @@ function EnvironmentList({
7698
7698
  }) {
7699
7699
  const navigate = reactRouter.useNavigate();
7700
7700
  const { pathname } = reactRouter.useLocation();
7701
- const { data: projectGroups = [], isLoading } = chunkHBVSAOTQ_cjs.useGetProjects({
7701
+ const { data: projectGroups = [], isLoading } = chunk3EGBCU4W_cjs.useGetProjects({
7702
7702
  enabled: true
7703
7703
  });
7704
7704
  const { selectedProject, setSelectedProject } = chunk6GCU5LM7_cjs.useProjectStore();
7705
- const { data: projectData } = chunkHBVSAOTQ_cjs.useGetProject();
7705
+ const { data: projectData } = chunk3EGBCU4W_cjs.useGetProject();
7706
7706
  const pendingProjectRef = React8.useRef(null);
7707
7707
  const redirectRegexMap = React8.useMemo(
7708
7708
  () => Object.entries(redirectPaths).reduce(
@@ -7985,7 +7985,7 @@ var useLiveOwnerProbe = ({
7985
7985
  var ImpersonationChecker = ({
7986
7986
  children
7987
7987
  }) => {
7988
- const { data, isLoading, isSuccess } = chunkHBVSAOTQ_cjs.useImpersonationStatusChecker();
7988
+ const { data, isLoading, isSuccess } = chunk3EGBCU4W_cjs.useImpersonationStatusChecker();
7989
7989
  const { setImpersonation, isInitialized, setInitialized } = chunk4QN4CYSC_cjs.useImpersonateStore();
7990
7990
  React8.useEffect(() => {
7991
7991
  if (!data) return;
@@ -8042,8 +8042,8 @@ function ImpersonationTerminator({
8042
8042
  detachedTenantId,
8043
8043
  setDetached
8044
8044
  } = chunk4QN4CYSC_cjs.useImpersonateStore();
8045
- const { mutateAsync } = chunkHBVSAOTQ_cjs.useStopImpersonation();
8046
- const recordClaimedTenant = chunkHBVSAOTQ_cjs.useRecordClaimedTenant();
8045
+ const { mutateAsync } = chunk3EGBCU4W_cjs.useStopImpersonation();
8046
+ const recordClaimedTenant = chunk3EGBCU4W_cjs.useRecordClaimedTenant();
8047
8047
  const { projects } = chunk6GCU5LM7_cjs.useProjectStore();
8048
8048
  const isTriggering = React8.useRef(false);
8049
8049
  const [isTerminating, setIsTerminating] = React8.useState(false);
@@ -8131,9 +8131,9 @@ function ImpersonationSynchronizer({
8131
8131
  setImpersonationError,
8132
8132
  setDetached
8133
8133
  } = chunk4QN4CYSC_cjs.useImpersonateStore();
8134
- const { mutateAsync } = chunkHBVSAOTQ_cjs.useStartImpersonation();
8135
- const recordClaimedTenant = chunkHBVSAOTQ_cjs.useRecordClaimedTenant();
8136
- const { data: _data } = chunkHBVSAOTQ_cjs.useGetProjects({ enabled: true });
8134
+ const { mutateAsync } = chunk3EGBCU4W_cjs.useStartImpersonation();
8135
+ const recordClaimedTenant = chunk3EGBCU4W_cjs.useRecordClaimedTenant();
8136
+ const { data: _data } = chunk3EGBCU4W_cjs.useGetProjects({ enabled: true });
8137
8137
  const { selectedProject, setSelectedProject, projects, setTenantGroup } = chunk6GCU5LM7_cjs.useProjectStore();
8138
8138
  const isTriggering = React8.useRef(false);
8139
8139
  const [isImpersonating, setIsImpersonating] = React8.useState(false);
@@ -8168,7 +8168,7 @@ function ImpersonationSynchronizer({
8168
8168
  ]);
8169
8169
  const getImpersonatedProject = async () => {
8170
8170
  try {
8171
- const res = chunkHBVSAOTQ_cjs.projectService.getProject();
8171
+ const res = chunk3EGBCU4W_cjs.projectService.getProject();
8172
8172
  return (await res).data;
8173
8173
  } catch (error) {
8174
8174
  console.error("Error fetching projects:", error);
@@ -8449,7 +8449,7 @@ var LoginHeader = ({
8449
8449
  }) => {
8450
8450
  const {
8451
8451
  config: { appLogoUrl }
8452
- } = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state);
8452
+ } = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state);
8453
8453
  const resolveLogo = (variant) => {
8454
8454
  if (!appLogoUrl) return void 0;
8455
8455
  if (typeof appLogoUrl === "string") return appLogoUrl;
@@ -9714,10 +9714,10 @@ var BlocksLoginPage = ({
9714
9714
  ] });
9715
9715
  };
9716
9716
  var LoginPage = () => {
9717
- const config = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.getConfig());
9718
- const { start, isLoading } = chunkHBVSAOTQ_cjs.useLogin();
9719
- const { canSignUp } = chunkHBVSAOTQ_cjs.useSignUpAffordance();
9720
- const { start: startSignUp, isLoading: isSignUpLoading } = chunkHBVSAOTQ_cjs.useSignUpRedirect();
9717
+ const config = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.getConfig());
9718
+ const { start, isLoading } = chunk3EGBCU4W_cjs.useLogin();
9719
+ const { canSignUp } = chunk3EGBCU4W_cjs.useSignUpAffordance();
9720
+ const { start: startSignUp, isLoading: isSignUpLoading } = chunk3EGBCU4W_cjs.useSignUpRedirect();
9721
9721
  return /* @__PURE__ */ jsxRuntime.jsx(
9722
9722
  BlocksLoginPage,
9723
9723
  {
@@ -9832,10 +9832,10 @@ var BentoCard = ({
9832
9832
  );
9833
9833
  var DefaultDoc = () => /* @__PURE__ */ jsxRuntime.jsx(BentoGrid, { children: resources.map((resource) => /* @__PURE__ */ jsxRuntime.jsx(BentoCard, { ...resource }, resource.url)) });
9834
9834
  function useCreateProjectRedirect() {
9835
- const { name } = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.config);
9835
+ const { name } = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.config);
9836
9836
  const navigate = reactRouter.useNavigate();
9837
9837
  const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
9838
- const { isFetching, isReady, redirect } = chunkHBVSAOTQ_cjs.usePrefetchRedirect({
9838
+ const { isFetching, isReady, redirect } = chunk3EGBCU4W_cjs.usePrefetchRedirect({
9839
9839
  clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
9840
9840
  redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
9841
9841
  forwardedTo: "/app/create-project",
@@ -9927,10 +9927,10 @@ function useProjectOverviewRedirect({
9927
9927
  tenantGroupId
9928
9928
  }) {
9929
9929
  const navigate = reactRouter.useNavigate();
9930
- const { name } = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.config);
9930
+ const { name } = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.config);
9931
9931
  const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
9932
9932
  const redirectedRoute = `/app/project/${tenantGroupId}/environments`;
9933
- const { isFetching, isReady, redirect } = chunkHBVSAOTQ_cjs.usePrefetchRedirect({
9933
+ const { isFetching, isReady, redirect } = chunk3EGBCU4W_cjs.usePrefetchRedirect({
9934
9934
  clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
9935
9935
  redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
9936
9936
  forwardedTo: redirectedRoute,
@@ -10290,7 +10290,7 @@ function MultiSelect2({
10290
10290
  onChange,
10291
10291
  value: selectedValues
10292
10292
  }) {
10293
- const [buttonRef, popoverWidth] = chunkHBVSAOTQ_cjs.usePopoverWidth();
10293
+ const [buttonRef, popoverWidth] = chunk3EGBCU4W_cjs.usePopoverWidth();
10294
10294
  const onSelectHandler = (value) => {
10295
10295
  const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
10296
10296
  onChange(nextValues);
@@ -10571,7 +10571,7 @@ var useProjectListState = (projectGroups) => {
10571
10571
  })),
10572
10572
  [projectGroups]
10573
10573
  );
10574
- const searchedGroups = chunkHBVSAOTQ_cjs.useDebouncedFuseFilter(
10574
+ const searchedGroups = chunk3EGBCU4W_cjs.useDebouncedFuseFilter(
10575
10575
  searchableGroups,
10576
10576
  searchText,
10577
10577
  SEARCH_OPTIONS
@@ -10641,8 +10641,8 @@ var SelfProjectLoading = ({ viewMode }) => {
10641
10641
  ) });
10642
10642
  };
10643
10643
  var SelfProject = ({ canCreateProject = false }) => {
10644
- const { data, isLoading, isFetching } = chunkHBVSAOTQ_cjs.useGetProjects({ enabled: true });
10645
- const isPending = isLoading || isFetching;
10644
+ const { data, isLoading } = chunk3EGBCU4W_cjs.useGetProjects({ enabled: true });
10645
+ const isPending = isLoading;
10646
10646
  const projectGroups = data || [];
10647
10647
  const {
10648
10648
  availableEnvironmentOptions,
@@ -10810,7 +10810,7 @@ var CallbackPage = ({ defaultRedirectUrl }) => {
10810
10810
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-screen items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader, { className: "h-12 w-12 animate-spin text-gray-500" }) });
10811
10811
  };
10812
10812
  function ProfilePage() {
10813
- const { isLoading, error } = chunkHBVSAOTQ_cjs.useInitiateRedirect({
10813
+ const { isLoading, error } = chunk3EGBCU4W_cjs.useInitiateRedirect({
10814
10814
  clientId: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CLIENT_ID"),
10815
10815
  redirectUri: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CALLBACK_URL"),
10816
10816
  forwardedTo: "/app/profile"
@@ -11088,8 +11088,8 @@ var ConfirmationModal = ({
11088
11088
  ] })
11089
11089
  ] });
11090
11090
  var DashboardOverview = () => {
11091
- const { name } = chunkHBVSAOTQ_cjs.useBlocksAppConfigStore((state) => state.config);
11092
- const { data, isFetching } = chunkHBVSAOTQ_cjs.useGetProject();
11091
+ const { name } = chunk3EGBCU4W_cjs.useBlocksAppConfigStore((state) => state.config);
11092
+ const { data, isFetching } = chunk3EGBCU4W_cjs.useGetProject();
11093
11093
  const {
11094
11094
  endpoints,
11095
11095
  isLoading: isLoadingEndpoints,
@@ -11183,11 +11183,11 @@ function ProjectList2({
11183
11183
  }) {
11184
11184
  const navigate = reactRouter.useNavigate();
11185
11185
  const { pathname } = reactRouter.useLocation();
11186
- const { data: projectGroups = [], isLoading } = chunkHBVSAOTQ_cjs.useGetProjects({
11186
+ const { data: projectGroups = [], isLoading } = chunk3EGBCU4W_cjs.useGetProjects({
11187
11187
  enabled: true
11188
11188
  });
11189
11189
  const { selectedProject, setSelectedProject } = chunk6GCU5LM7_cjs.useProjectStore();
11190
- const { data: projectData } = chunkHBVSAOTQ_cjs.useGetProject();
11190
+ const { data: projectData } = chunk3EGBCU4W_cjs.useGetProject();
11191
11191
  const pendingProjectRef = React8.useRef(null);
11192
11192
  const redirectRegexMap = React8.useMemo(
11193
11193
  () => Object.entries(redirectPaths).reduce(
@@ -11336,7 +11336,7 @@ var SetCustomDomainDialog = ({
11336
11336
  projectKey,
11337
11337
  projectEnv
11338
11338
  }) => {
11339
- const { mutateAsync, isPending } = chunkHBVSAOTQ_cjs.useUpdateRepositories();
11339
+ const { mutateAsync, isPending } = chunk3EGBCU4W_cjs.useUpdateRepositories();
11340
11340
  const verifiedDomains = React8.useMemo(
11341
11341
  () => Array.from(
11342
11342
  new Set(domains.filter((d) => d.isDomainVerified).map((d) => d.domain))
@@ -11520,7 +11520,7 @@ var ProjectRepoList = ({
11520
11520
  data: envRepositoriesResponse,
11521
11521
  isLoading: isLoadingEnvRepos,
11522
11522
  isFetching: isFetchingEnvRepos
11523
- } = chunkHBVSAOTQ_cjs.useGetEnvRepositories(project?.tenantId || "");
11523
+ } = chunk3EGBCU4W_cjs.useGetEnvRepositories(project?.tenantId || "");
11524
11524
  if (isLoading || isLoadingEnvRepos || isFetchingEnvRepos) {
11525
11525
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6 rounded-lg border bg-card px-2 py-2 shadow-sm md:mt-0", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid-col-1 grid gap-3 px-2 py-4 md:grid-cols-2 md:gap-4 lg:gap-6", children: ["sk-1", "sk-2", "sk-3", "sk-4", "sk-5", "sk-6"].map((itemKey) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
11526
11526
  /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-5 w-1/2" }),
@@ -11620,7 +11620,7 @@ var EditProjectForm = ({
11620
11620
  onAfterSubmit
11621
11621
  }) => {
11622
11622
  const queryClient = reactQuery.useQueryClient();
11623
- const { mutateAsync, isPending } = chunkHBVSAOTQ_cjs.useUpdateTenantGroup();
11623
+ const { mutateAsync, isPending } = chunk3EGBCU4W_cjs.useUpdateTenantGroup();
11624
11624
  const form = reactHookForm.useForm({
11625
11625
  resolver: zod$1.zodResolver(editProjectFormSchema),
11626
11626
  defaultValues: {
@@ -11641,6 +11641,7 @@ var EditProjectForm = ({
11641
11641
  description: "Project name updated successfully"
11642
11642
  });
11643
11643
  queryClient.invalidateQueries({ queryKey: ["identifier", "project"] });
11644
+ queryClient.invalidateQueries({ queryKey: ["identifier", "projects"] });
11644
11645
  form.reset();
11645
11646
  onAfterSubmit();
11646
11647
  } else {
@@ -11756,7 +11757,7 @@ function SidebarMobileView({
11756
11757
  navigationMenus
11757
11758
  }) {
11758
11759
  const [open, setOpen] = React8.useState(false);
11759
- const { appLightLogo, appDarkLogo } = chunkHBVSAOTQ_cjs.useLogo();
11760
+ const { appLightLogo, appDarkLogo } = chunk3EGBCU4W_cjs.useLogo();
11760
11761
  const allowedMenu = chunkBPJM3L7O_cjs.useFilteredMenus(navigationMenus);
11761
11762
  return /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open, onOpenChange: setOpen, children: [
11762
11763
  /* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "icon", className: "shrink-0", children: [
@@ -11806,8 +11807,8 @@ function SidebarMenuDesktop({
11806
11807
  navigationMenus
11807
11808
  }) {
11808
11809
  const { isSidebarOpen, toggleSidebar } = React8.useContext(chunkIJMKS4XG_cjs.SidebarContext);
11809
- const { appLightLogo, appDarkLogo } = chunkHBVSAOTQ_cjs.useLogo();
11810
- const icon = chunkHBVSAOTQ_cjs.useIcon();
11810
+ const { appLightLogo, appDarkLogo } = chunk3EGBCU4W_cjs.useLogo();
11811
+ const icon = chunk3EGBCU4W_cjs.useIcon();
11811
11812
  const allowedMenu = chunkBPJM3L7O_cjs.useFilteredMenus(navigationMenus);
11812
11813
  const { isActivePath: isProjectOverviewRoute } = chunkBPJM3L7O_cjs.useIsActiveMenu("/app/project");
11813
11814
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -11936,7 +11937,7 @@ var ErrorBoundary = class extends React8.Component {
11936
11937
  var ArchiveProject = () => {
11937
11938
  const navigate = reactRouter.useNavigate();
11938
11939
  const projectKey = chunk6GCU5LM7_cjs.useProjectStore().selectedProject?.tenantId || "";
11939
- const { mutateAsync, isPending } = chunkHBVSAOTQ_cjs.useDisableProject({ projectKey });
11940
+ const { mutateAsync, isPending } = chunk3EGBCU4W_cjs.useDisableProject({ projectKey });
11940
11941
  const onClickHandler = async () => {
11941
11942
  try {
11942
11943
  const res = await mutateAsync();
@@ -12906,7 +12907,7 @@ var ClearButton = ({ onClear }) => {
12906
12907
  };
12907
12908
  function Radio({ label, options, onChange, value }) {
12908
12909
  const [search, setSearch] = React8.useState("");
12909
- const [buttonRef, popoverWidth] = chunkHBVSAOTQ_cjs.usePopoverWidth();
12910
+ const [buttonRef, popoverWidth] = chunk3EGBCU4W_cjs.usePopoverWidth();
12910
12911
  const isMobile = chunkBPJM3L7O_cjs.useIsMobile();
12911
12912
  const selected = React8.useMemo(
12912
12913
  () => options.find((item) => item.value === value) || null,
@@ -13915,5 +13916,5 @@ exports.usePaginationQueryParams = usePaginationQueryParams;
13915
13916
  exports.useRightSidePanel = useRightSidePanel;
13916
13917
  exports.useSortQueryParams = useSortQueryParams;
13917
13918
  exports.useWizardStepper = useWizardStepper;
13918
- //# sourceMappingURL=chunk-GFGUKRBD.cjs.map
13919
- //# sourceMappingURL=chunk-GFGUKRBD.cjs.map
13919
+ //# sourceMappingURL=chunk-MYTS3R4F.cjs.map
13920
+ //# sourceMappingURL=chunk-MYTS3R4F.cjs.map