@seliseblocks/genesis-os 4.3.1 → 4.3.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.
- package/dist/{chunk-V4GJPS3E.cjs → chunk-BCALMPEF.cjs} +90 -34
- package/dist/chunk-BCALMPEF.cjs.map +1 -0
- package/dist/chunk-FQ2QETFA.cjs +4 -0
- package/dist/{chunk-OSAQRM46.cjs.map → chunk-FQ2QETFA.cjs.map} +1 -1
- package/dist/{chunk-6TMMJJRJ.cjs → chunk-GZSVB47D.cjs} +38 -2
- package/dist/{chunk-6TMMJJRJ.cjs.map → chunk-GZSVB47D.cjs.map} +1 -1
- package/dist/{chunk-LONMDMML.js → chunk-QMVZVNIZ.js} +39 -4
- package/dist/chunk-QMVZVNIZ.js.map +1 -0
- package/dist/chunk-T3FFMBIJ.js +3 -0
- package/dist/{chunk-OGSC2U3E.js.map → chunk-T3FFMBIJ.js.map} +1 -1
- package/dist/{chunk-X35MVDEU.js → chunk-VNSES4D3.js} +61 -5
- package/dist/chunk-VNSES4D3.js.map +1 -0
- package/dist/components/index.cjs +340 -340
- package/dist/components/index.js +3 -3
- package/dist/hooks/index.cjs +44 -40
- package/dist/hooks/index.d.cts +20 -1
- package/dist/hooks/index.d.ts +20 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +395 -391
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/layouts/index.cjs +10 -10
- package/dist/layouts/index.js +3 -3
- package/dist/models/index.cjs +1 -1
- package/dist/models/index.d.cts +10 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +1 -1
- package/dist/pages/index.cjs +8 -8
- package/dist/pages/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-LONMDMML.js.map +0 -1
- package/dist/chunk-OGSC2U3E.js +0 -3
- package/dist/chunk-OSAQRM46.cjs +0 -4
- package/dist/chunk-V4GJPS3E.cjs.map +0 -1
- package/dist/chunk-X35MVDEU.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkXJ6DPUCV_cjs = require('./chunk-XJ6DPUCV.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkGZSVB47D_cjs = require('./chunk-GZSVB47D.cjs');
|
|
5
5
|
var chunkVTOD5ZQU_cjs = require('./chunk-VTOD5ZQU.cjs');
|
|
6
6
|
var chunkZVGCCTNK_cjs = require('./chunk-ZVGCCTNK.cjs');
|
|
7
7
|
var chunkQ7Y32IBM_cjs = require('./chunk-Q7Y32IBM.cjs');
|
|
@@ -1525,7 +1525,7 @@ function RightSidePanelProvider({
|
|
|
1525
1525
|
const close = React8__namespace.useCallback(() => {
|
|
1526
1526
|
setOpen(false);
|
|
1527
1527
|
}, [setOpen]);
|
|
1528
|
-
|
|
1528
|
+
chunkGZSVB47D_cjs.useKeyboardShortcut(shortcut, toggle);
|
|
1529
1529
|
React8__namespace.useEffect(() => {
|
|
1530
1530
|
if (!syncHash || isControlled || typeof window === "undefined") return;
|
|
1531
1531
|
const handleHashChange = () => {
|
|
@@ -3501,7 +3501,7 @@ function MultiSelect({
|
|
|
3501
3501
|
onChange,
|
|
3502
3502
|
value: selectedValues
|
|
3503
3503
|
}) {
|
|
3504
|
-
const [buttonRef, popoverWidth] =
|
|
3504
|
+
const [buttonRef, popoverWidth] = chunkGZSVB47D_cjs.usePopoverWidth();
|
|
3505
3505
|
const onSelectHandler = (value) => {
|
|
3506
3506
|
const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
|
|
3507
3507
|
onChange(nextValues);
|
|
@@ -6690,7 +6690,7 @@ function useAppRedirectUrls({
|
|
|
6690
6690
|
const controller = new AbortController();
|
|
6691
6691
|
const { signal } = controller;
|
|
6692
6692
|
stableApps.forEach((app) => {
|
|
6693
|
-
|
|
6693
|
+
chunkGZSVB47D_cjs.initiateService.fetchRedirectUrl({
|
|
6694
6694
|
clientId: chunkX4YCRWXO_cjs.getRuntimeEnv(app.clientId),
|
|
6695
6695
|
redirectUri: chunkX4YCRWXO_cjs.getRuntimeEnv(app.redirectUri),
|
|
6696
6696
|
forwardedTo: resolveRef.current(app)
|
|
@@ -6716,7 +6716,7 @@ function useAppRedirectUrls({
|
|
|
6716
6716
|
}
|
|
6717
6717
|
var AppSwitcher = ({ forwardedTo }) => {
|
|
6718
6718
|
const [open, setOpen] = React8.useState(false);
|
|
6719
|
-
const config =
|
|
6719
|
+
const config = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.getConfig());
|
|
6720
6720
|
const filteredApps = React8.useMemo(
|
|
6721
6721
|
() => filteredAppSwitcherData.filter((app) => app.id !== config.name),
|
|
6722
6722
|
[config.name]
|
|
@@ -6749,7 +6749,7 @@ var OPTIONS = [
|
|
|
6749
6749
|
{ value: "dark", Icon: lucideReact.Moon, label: "Dark" }
|
|
6750
6750
|
];
|
|
6751
6751
|
function ThemeSwitcher() {
|
|
6752
|
-
const { theme, setTheme } =
|
|
6752
|
+
const { theme, setTheme } = chunkGZSVB47D_cjs.useTheme();
|
|
6753
6753
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6754
6754
|
Tabs,
|
|
6755
6755
|
{
|
|
@@ -6816,14 +6816,14 @@ function UserAvatar({ size = "sm" }) {
|
|
|
6816
6816
|
);
|
|
6817
6817
|
}
|
|
6818
6818
|
function UserDropdownMenu() {
|
|
6819
|
-
const { name } =
|
|
6819
|
+
const { name } = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
6820
6820
|
const { data: data2 } = useGetUserInfo();
|
|
6821
6821
|
const userData = data2?.data;
|
|
6822
|
-
const { isPending, mutateAsync } =
|
|
6822
|
+
const { isPending, mutateAsync } = chunkGZSVB47D_cjs.useLogout();
|
|
6823
6823
|
const { resetProjectStore } = chunkVAKGHXK6_cjs.useProjectStore();
|
|
6824
6824
|
const { setUnAuthenticated, clearTokens } = chunkVAKGHXK6_cjs.useAuthStore();
|
|
6825
6825
|
const { resetSelectedLanguages } = chunk3VNGGYRG_cjs.useLanguageViewStore();
|
|
6826
|
-
const { data: myOrgsData, isLoading: isOrgsLoading } =
|
|
6826
|
+
const { data: myOrgsData, isLoading: isOrgsLoading } = chunkGZSVB47D_cjs.useGetMyOrganizations();
|
|
6827
6827
|
const fullName = [userData?.firstName, userData?.lastName].filter(Boolean).join(" ") || "\u2014";
|
|
6828
6828
|
const email = userData?.email || "";
|
|
6829
6829
|
const roles = Object.values(userData?.roles || {}).flat();
|
|
@@ -6953,7 +6953,7 @@ var languages = [
|
|
|
6953
6953
|
{ key: "fr", title: "French" }
|
|
6954
6954
|
];
|
|
6955
6955
|
function LanguageSelector() {
|
|
6956
|
-
const { changeLanguage, language } =
|
|
6956
|
+
const { changeLanguage, language } = chunkGZSVB47D_cjs.useLanguageSwitcher();
|
|
6957
6957
|
return /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
|
|
6958
6958
|
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6959
6959
|
"button",
|
|
@@ -7043,7 +7043,7 @@ var notificationListenerService = new NotificationListenerService();
|
|
|
7043
7043
|
|
|
7044
7044
|
// src/components/common/notification/use-notification-socket.ts
|
|
7045
7045
|
function useNotificationSocket() {
|
|
7046
|
-
const { data: configData } =
|
|
7046
|
+
const { data: configData } = chunkGZSVB47D_cjs.useGetBlocksNotificationConfig(0, 100);
|
|
7047
7047
|
const queryClient = reactQuery.useQueryClient();
|
|
7048
7048
|
notificationListenerService.connect();
|
|
7049
7049
|
React8.useEffect(() => {
|
|
@@ -7058,7 +7058,7 @@ function useNotificationSocket() {
|
|
|
7058
7058
|
notificationListenerService.connection.on(
|
|
7059
7059
|
config.notifyMethod,
|
|
7060
7060
|
(message) => {
|
|
7061
|
-
|
|
7061
|
+
chunkGZSVB47D_cjs.notificationService.getNotificationConfig(config, message);
|
|
7062
7062
|
try {
|
|
7063
7063
|
const notice = typeof message === "string" ? JSON.parse(message) : message;
|
|
7064
7064
|
const denom = JSON.parse(
|
|
@@ -7082,12 +7082,12 @@ function useNotificationFeed(open) {
|
|
|
7082
7082
|
const [notifications, setNotifications] = React8.useState([]);
|
|
7083
7083
|
const [hasMore, setHasMore] = React8.useState(true);
|
|
7084
7084
|
const listRef = React8.useRef(null);
|
|
7085
|
-
const { data: data2, isLoading, isFetching } =
|
|
7085
|
+
const { data: data2, isLoading, isFetching } = chunkGZSVB47D_cjs.useGetNotifications(
|
|
7086
7086
|
pageNumber,
|
|
7087
7087
|
PAGE_SIZE
|
|
7088
7088
|
);
|
|
7089
|
-
const markAsRead =
|
|
7090
|
-
const markAllAsRead =
|
|
7089
|
+
const markAsRead = chunkGZSVB47D_cjs.useMarkAsRead();
|
|
7090
|
+
const markAllAsRead = chunkGZSVB47D_cjs.useMarkAllAsRead();
|
|
7091
7091
|
React8.useEffect(() => {
|
|
7092
7092
|
if (!data2?.notifications) return;
|
|
7093
7093
|
setNotifications((prev) => {
|
|
@@ -7321,7 +7321,7 @@ function ConsoleHeader() {
|
|
|
7321
7321
|
window.addEventListener("scroll", handleScroll);
|
|
7322
7322
|
return () => window.removeEventListener("scroll", handleScroll);
|
|
7323
7323
|
}, []);
|
|
7324
|
-
const { appLightLogo, appDarkLogo } =
|
|
7324
|
+
const { appLightLogo, appDarkLogo } = chunkGZSVB47D_cjs.useLogo();
|
|
7325
7325
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7326
7326
|
"div",
|
|
7327
7327
|
{
|
|
@@ -7784,11 +7784,12 @@ function OidcLayout({
|
|
|
7784
7784
|
var LoginHeader = ({
|
|
7785
7785
|
docsUrl = "https://docs.seliseblocks.com/",
|
|
7786
7786
|
blocksUrl = "https://seliseblocks.com",
|
|
7787
|
-
githubUrl = "https://github.com/SELISEdigitalplatforms"
|
|
7787
|
+
githubUrl = "https://github.com/SELISEdigitalplatforms",
|
|
7788
|
+
signUpUrl
|
|
7788
7789
|
}) => {
|
|
7789
7790
|
const {
|
|
7790
7791
|
config: { appLogoUrl }
|
|
7791
|
-
} =
|
|
7792
|
+
} = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state);
|
|
7792
7793
|
const resolveLogo = (variant) => {
|
|
7793
7794
|
if (!appLogoUrl) return void 0;
|
|
7794
7795
|
if (typeof appLogoUrl === "string") return appLogoUrl;
|
|
@@ -7829,6 +7830,7 @@ var LoginHeader = ({
|
|
|
7829
7830
|
children: "GitHub"
|
|
7830
7831
|
}
|
|
7831
7832
|
),
|
|
7833
|
+
signUpUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { href: signUpUrl, className: "nav-cta", children: "Sign up" }),
|
|
7832
7834
|
/* @__PURE__ */ jsxRuntime.jsx(ThemeSwitcher, {})
|
|
7833
7835
|
] })
|
|
7834
7836
|
] });
|
|
@@ -8013,6 +8015,18 @@ var blocksLoginStyles = `
|
|
|
8013
8015
|
.blocksLogin-page .nav-link:hover { color: var(--fg); text-shadow: 0 0 12px var(--accent-glow); }
|
|
8014
8016
|
.blocksLogin-page .nav-link:hover::after { width: 100%; }
|
|
8015
8017
|
|
|
8018
|
+
.blocksLogin-page .nav-cta {
|
|
8019
|
+
font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
|
|
8020
|
+
font-weight: 600; color: var(--accent2); text-decoration: none;
|
|
8021
|
+
padding: 7px 16px; border-radius: 6px;
|
|
8022
|
+
border: 1px solid rgba(0,102,178,0.35); background: rgba(0,102,178,0.06);
|
|
8023
|
+
transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
|
|
8024
|
+
}
|
|
8025
|
+
.blocksLogin-page .nav-cta:hover {
|
|
8026
|
+
background: rgba(0,102,178,0.12); border-color: var(--accent);
|
|
8027
|
+
box-shadow: 0 0 12px rgba(0,102,178,0.12);
|
|
8028
|
+
}
|
|
8029
|
+
|
|
8016
8030
|
.blocksLogin-page .main {
|
|
8017
8031
|
flex: 1; min-height: 0; display: grid;
|
|
8018
8032
|
grid-template-columns: 1fr 400px; gap: 56px;
|
|
@@ -8152,6 +8166,24 @@ var blocksLoginStyles = `
|
|
|
8152
8166
|
.blocksLogin-page .cta-docs svg { transition: transform 0.25s var(--ease-out-expo); }
|
|
8153
8167
|
.blocksLogin-page .cta-docs:hover svg { transform: translateX(4px); }
|
|
8154
8168
|
|
|
8169
|
+
.blocksLogin-page .cta-signup {
|
|
8170
|
+
margin-top: 18px;
|
|
8171
|
+
font-size: 0.82rem;
|
|
8172
|
+
line-height: 1.5;
|
|
8173
|
+
color: var(--muted);
|
|
8174
|
+
opacity: 0;
|
|
8175
|
+
transform: translateY(12px);
|
|
8176
|
+
animation: blocksLogin-fadeUp 0.7s var(--ease-out-expo) 1.45s forwards;
|
|
8177
|
+
}
|
|
8178
|
+
.blocksLogin-page .cta-signup-link {
|
|
8179
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
8180
|
+
color: var(--accent2); text-decoration: none; font-weight: 600;
|
|
8181
|
+
transition: gap 0.25s var(--ease-out-expo), text-shadow 0.25s ease;
|
|
8182
|
+
}
|
|
8183
|
+
.blocksLogin-page .cta-signup-link:hover { gap: 10px; text-shadow: 0 0 10px var(--accent2-glow); }
|
|
8184
|
+
.blocksLogin-page .cta-signup-link svg { transition: transform 0.25s var(--ease-out-expo); }
|
|
8185
|
+
.blocksLogin-page .cta-signup-link:hover svg { transform: translateX(3px); }
|
|
8186
|
+
|
|
8155
8187
|
.blocksLogin-page .col-right {
|
|
8156
8188
|
display: flex; flex-direction: column; min-height: 0; overflow: hidden;
|
|
8157
8189
|
opacity: 0; transform: translateX(20px);
|
|
@@ -8310,6 +8342,8 @@ var blocksLoginStyles = `
|
|
|
8310
8342
|
.blocksLogin-page .features { gap: 8px; }
|
|
8311
8343
|
.blocksLogin-page .feature-pill { padding: 5px 10px; font-size: 0.58rem; }
|
|
8312
8344
|
.blocksLogin-page .cta-row { gap: 18px; }
|
|
8345
|
+
.blocksLogin-page .cta-signup { font-size: 0.78rem; }
|
|
8346
|
+
.blocksLogin-page .nav-cta { padding: 6px 12px; font-size: 0.62rem; }
|
|
8313
8347
|
}
|
|
8314
8348
|
|
|
8315
8349
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -8704,6 +8738,7 @@ var BlocksLoginPage = ({
|
|
|
8704
8738
|
loginLabel = "Log in to your account",
|
|
8705
8739
|
docsUrl = "https://docs.seliseblocks.com/",
|
|
8706
8740
|
footerLink = { label: "Visit Blocks", url: "https://seliseblocks.com" },
|
|
8741
|
+
signUpUrl,
|
|
8707
8742
|
carouselItems
|
|
8708
8743
|
}) => {
|
|
8709
8744
|
const canvasRef = React8.useRef(null);
|
|
@@ -8824,7 +8859,7 @@ var BlocksLoginPage = ({
|
|
|
8824
8859
|
}
|
|
8825
8860
|
}
|
|
8826
8861
|
),
|
|
8827
|
-
/* @__PURE__ */ jsxRuntime.jsx(LoginHeader, {}),
|
|
8862
|
+
/* @__PURE__ */ jsxRuntime.jsx(LoginHeader, { signUpUrl }),
|
|
8828
8863
|
/* @__PURE__ */ jsxRuntime.jsxs("main", { className: "main", children: [
|
|
8829
8864
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-left", children: [
|
|
8830
8865
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "eyebrow", children: eyebrow }),
|
|
@@ -8876,6 +8911,25 @@ var BlocksLoginPage = ({
|
|
|
8876
8911
|
]
|
|
8877
8912
|
}
|
|
8878
8913
|
)
|
|
8914
|
+
] }),
|
|
8915
|
+
signUpUrl && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "cta-signup", children: [
|
|
8916
|
+
"Not a member?",
|
|
8917
|
+
" ",
|
|
8918
|
+
/* @__PURE__ */ jsxRuntime.jsxs("a", { href: signUpUrl, className: "cta-signup-link", children: [
|
|
8919
|
+
"Sign up",
|
|
8920
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8921
|
+
"svg",
|
|
8922
|
+
{
|
|
8923
|
+
width: "11",
|
|
8924
|
+
height: "11",
|
|
8925
|
+
viewBox: "0 0 24 24",
|
|
8926
|
+
fill: "none",
|
|
8927
|
+
stroke: "currentColor",
|
|
8928
|
+
strokeWidth: "2.5",
|
|
8929
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14M12 5l7 7-7 7" })
|
|
8930
|
+
}
|
|
8931
|
+
)
|
|
8932
|
+
] })
|
|
8879
8933
|
] })
|
|
8880
8934
|
] }),
|
|
8881
8935
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-right", children: [
|
|
@@ -8992,14 +9046,16 @@ var BlocksLoginPage = ({
|
|
|
8992
9046
|
] });
|
|
8993
9047
|
};
|
|
8994
9048
|
var LoginPage = () => {
|
|
8995
|
-
const config =
|
|
8996
|
-
const { start, isLoading } =
|
|
9049
|
+
const config = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.getConfig());
|
|
9050
|
+
const { start, isLoading } = chunkGZSVB47D_cjs.useLogin();
|
|
9051
|
+
const { signUpUrl } = chunkGZSVB47D_cjs.useSignUpAffordance();
|
|
8997
9052
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8998
9053
|
BlocksLoginPage,
|
|
8999
9054
|
{
|
|
9000
9055
|
name: config.name,
|
|
9001
9056
|
onLogin: start,
|
|
9002
9057
|
isLoading,
|
|
9058
|
+
signUpUrl,
|
|
9003
9059
|
carouselItems: BLOCKS_PRODUCTS
|
|
9004
9060
|
}
|
|
9005
9061
|
);
|
|
@@ -9075,10 +9131,10 @@ var DefaultDoc = () => {
|
|
|
9075
9131
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-5 md:grid-cols-2 lg:grid-cols-3", children: data.map((item) => /* @__PURE__ */ jsxRuntime.jsx(DocCard, { ...item }, item.url)) });
|
|
9076
9132
|
};
|
|
9077
9133
|
function useCreateProjectRedirect() {
|
|
9078
|
-
const { name } =
|
|
9134
|
+
const { name } = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9079
9135
|
const navigate = reactRouter.useNavigate();
|
|
9080
9136
|
const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
|
|
9081
|
-
const { isFetching, isReady, redirect } =
|
|
9137
|
+
const { isFetching, isReady, redirect } = chunkGZSVB47D_cjs.usePrefetchRedirect({
|
|
9082
9138
|
clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
|
|
9083
9139
|
redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
|
|
9084
9140
|
forwardedTo: "/app/create-project",
|
|
@@ -9170,10 +9226,10 @@ function useProjectOverviewRedirect({
|
|
|
9170
9226
|
tenantGroupId
|
|
9171
9227
|
}) {
|
|
9172
9228
|
const navigate = reactRouter.useNavigate();
|
|
9173
|
-
const { name } =
|
|
9229
|
+
const { name } = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9174
9230
|
const osApp = filteredAppSwitcherData.find((app) => app.id === "blocks-os");
|
|
9175
9231
|
const redirectedRoute = `/app/project/${tenantGroupId}/environments`;
|
|
9176
|
-
const { isFetching, isReady, redirect } =
|
|
9232
|
+
const { isFetching, isReady, redirect } = chunkGZSVB47D_cjs.usePrefetchRedirect({
|
|
9177
9233
|
clientId: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.clientId) : "",
|
|
9178
9234
|
redirectUri: osApp ? chunkX4YCRWXO_cjs.getRuntimeEnv(osApp.redirectUri) : "",
|
|
9179
9235
|
forwardedTo: redirectedRoute,
|
|
@@ -9465,7 +9521,7 @@ var CallbackPage = ({ defaultRedirectUrl }) => {
|
|
|
9465
9521
|
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" }) });
|
|
9466
9522
|
};
|
|
9467
9523
|
function ProfilePage() {
|
|
9468
|
-
const { isLoading, error } =
|
|
9524
|
+
const { isLoading, error } = chunkGZSVB47D_cjs.useInitiateRedirect({
|
|
9469
9525
|
clientId: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CLIENT_ID"),
|
|
9470
9526
|
redirectUri: chunkX4YCRWXO_cjs.getRuntimeEnv("BLOCKS_IAM_CALLBACK_URL"),
|
|
9471
9527
|
forwardedTo: "/app/profile"
|
|
@@ -9743,7 +9799,7 @@ var ConfirmationModal = ({
|
|
|
9743
9799
|
] })
|
|
9744
9800
|
] });
|
|
9745
9801
|
var DashboardOverview = () => {
|
|
9746
|
-
const { name } =
|
|
9802
|
+
const { name } = chunkGZSVB47D_cjs.useBlocksAppConfigStore((state) => state.config);
|
|
9747
9803
|
const { data: data2, isFetching } = chunkUVMFL4UV_cjs.useGetProject();
|
|
9748
9804
|
const {
|
|
9749
9805
|
endpoints,
|
|
@@ -10403,7 +10459,7 @@ function SidebarMobileView({
|
|
|
10403
10459
|
navigationMenus
|
|
10404
10460
|
}) {
|
|
10405
10461
|
const [open, setOpen] = React8.useState(false);
|
|
10406
|
-
const { appLightLogo, appDarkLogo } =
|
|
10462
|
+
const { appLightLogo, appDarkLogo } = chunkGZSVB47D_cjs.useLogo();
|
|
10407
10463
|
const allowedMenu = chunkQ7Y32IBM_cjs.useFilteredMenus(navigationMenus);
|
|
10408
10464
|
return /* @__PURE__ */ jsxRuntime.jsxs(Sheet, { open, onOpenChange: setOpen, children: [
|
|
10409
10465
|
/* @__PURE__ */ jsxRuntime.jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "icon", className: "shrink-0", children: [
|
|
@@ -10453,8 +10509,8 @@ function SidebarMenuDesktop({
|
|
|
10453
10509
|
navigationMenus
|
|
10454
10510
|
}) {
|
|
10455
10511
|
const { isSidebarOpen, toggleSidebar } = React8.useContext(chunkZVGCCTNK_cjs.SidebarContext);
|
|
10456
|
-
const { appLightLogo, appDarkLogo } =
|
|
10457
|
-
const icon =
|
|
10512
|
+
const { appLightLogo, appDarkLogo } = chunkGZSVB47D_cjs.useLogo();
|
|
10513
|
+
const icon = chunkGZSVB47D_cjs.useIcon();
|
|
10458
10514
|
const allowedMenu = chunkQ7Y32IBM_cjs.useFilteredMenus(navigationMenus);
|
|
10459
10515
|
const { isActivePath: isProjectOverviewRoute } = chunkQ7Y32IBM_cjs.useIsActiveMenu("/app/project");
|
|
10460
10516
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -11546,7 +11602,7 @@ function MultiSelect2({
|
|
|
11546
11602
|
onChange,
|
|
11547
11603
|
value: selectedValues
|
|
11548
11604
|
}) {
|
|
11549
|
-
const [buttonRef, popoverWidth] =
|
|
11605
|
+
const [buttonRef, popoverWidth] = chunkGZSVB47D_cjs.usePopoverWidth();
|
|
11550
11606
|
const onSelectHandler = (value) => {
|
|
11551
11607
|
const nextValues = selectedValues.includes(value) ? selectedValues.filter((item) => item !== value) : [...selectedValues, value];
|
|
11552
11608
|
onChange(nextValues);
|
|
@@ -11663,7 +11719,7 @@ var ClearButton = ({ onClear }) => {
|
|
|
11663
11719
|
};
|
|
11664
11720
|
function Radio({ label, options, onChange, value }) {
|
|
11665
11721
|
const [search, setSearch] = React8.useState("");
|
|
11666
|
-
const [buttonRef, popoverWidth] =
|
|
11722
|
+
const [buttonRef, popoverWidth] = chunkGZSVB47D_cjs.usePopoverWidth();
|
|
11667
11723
|
const isMobile = chunkQ7Y32IBM_cjs.useIsMobile();
|
|
11668
11724
|
const selected = React8.useMemo(
|
|
11669
11725
|
() => options.find((item) => item.value === value) || null,
|
|
@@ -12740,5 +12796,5 @@ exports.usePaginationQueryParams = usePaginationQueryParams;
|
|
|
12740
12796
|
exports.useRightSidePanel = useRightSidePanel;
|
|
12741
12797
|
exports.useSortQueryParams = useSortQueryParams;
|
|
12742
12798
|
exports.useWizardStepper = useWizardStepper;
|
|
12743
|
-
//# sourceMappingURL=chunk-
|
|
12744
|
-
//# sourceMappingURL=chunk-
|
|
12799
|
+
//# sourceMappingURL=chunk-BCALMPEF.cjs.map
|
|
12800
|
+
//# sourceMappingURL=chunk-BCALMPEF.cjs.map
|