@raystack/frontier 0.0.4 → 0.0.6

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.
@@ -53,54 +53,87 @@ var __async = (__this, __arguments, generator) => {
53
53
 
54
54
  // react/index.ts
55
55
  import "@raystack/apsara/index.css";
56
+ import "react-loading-skeleton/dist/skeleton.css";
56
57
 
57
58
  // react/components/Container.tsx
58
59
  import { Flex } from "@raystack/apsara";
60
+ import { cva } from "class-variance-authority";
61
+
62
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-n8FbegCVBhWa/core/react/components/container.module.css.js
63
+ var digest = "eb852a75d05acf3278eba866f0614a7a8a7de45fd24f5e6d204254926be8580a";
64
+ var css = `._container_vjwty_1 {
65
+ min-width: 220px;
66
+ max-width: 480px;
67
+ width: 100%;
68
+ color: var(--foreground-base);
69
+ }
70
+
71
+ ._title_vjwty_8 {
72
+ font-weight: 400;
73
+ }
74
+
75
+ ._shadowxs_vjwty_12 {
76
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
77
+ }
78
+ ._shadowsm_vjwty_15 {
79
+ box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.09);
80
+ }
81
+ ._shadowmd_vjwty_18 {
82
+ box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
83
+ }
84
+ ._shadowlg_vjwty_21 {
85
+ box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
86
+ }
87
+
88
+ ._radiusxs_vjwty_25 {
89
+ border-radius: 4px;
90
+ }
91
+ ._radiussm_vjwty_28 {
92
+ border-radius: 8px;
93
+ }
94
+ ._radiusmd_vjwty_31 {
95
+ border-radius: 16px;
96
+ }
97
+ ._radiuslg_vjwty_34 {
98
+ border-radius: 24px;
99
+ }`;
100
+ (function() {
101
+ if (typeof document === "undefined") {
102
+ return;
103
+ }
104
+ if (!document.getElementById(digest)) {
105
+ var el = document.createElement("style");
106
+ el.id = digest;
107
+ el.textContent = css;
108
+ document.head.appendChild(el);
109
+ }
110
+ })();
111
+ var container_module_css_default = { "container": "_container_vjwty_1", "title": "_title_vjwty_8", "shadowxs": "_shadowxs_vjwty_12", "shadowsm": "_shadowsm_vjwty_15", "shadowmd": "_shadowmd_vjwty_18", "shadowlg": "_shadowlg_vjwty_21", "radiusxs": "_radiusxs_vjwty_25", "radiussm": "_radiussm_vjwty_28", "radiusmd": "_radiusmd_vjwty_31", "radiuslg": "_radiuslg_vjwty_34" };
112
+
113
+ // react/components/Container.tsx
59
114
  import { jsx } from "react/jsx-runtime";
60
- var styles = {
61
- container: {
62
- fontSize: "12px",
63
- width: "100%",
64
- minWidth: "220px",
65
- maxWidth: "480px",
66
- color: "var(--foreground-base)",
67
- display: "flex",
68
- flexDirection: "column",
69
- alignItems: "center",
70
- gap: "32px"
71
- },
72
- logoContainer: {},
73
- titleContainer: {
74
- fontWeight: "400"
75
- },
76
- fieldset: {
77
- width: "100%",
78
- border: "1px solid transparent",
79
- borderTopColor: "rgb(205, 211, 223)",
80
- gridArea: "1 / 1",
81
- padding: 0,
82
- margin: "2px"
115
+ var container = cva(container_module_css_default.container, {
116
+ variants: {
117
+ shadow: {
118
+ none: "",
119
+ xs: container_module_css_default.shadowxs,
120
+ sm: container_module_css_default.shadowsm,
121
+ md: container_module_css_default.shadowmd,
122
+ lg: container_module_css_default.shadowlg
123
+ },
124
+ radius: {
125
+ none: "",
126
+ xs: container_module_css_default.radiusxs,
127
+ sm: container_module_css_default.radiussm,
128
+ md: container_module_css_default.radiusmd,
129
+ lg: container_module_css_default.radiuslg
130
+ }
83
131
  },
84
- legend: {
85
- fontSize: "8px",
86
- margin: "auto",
87
- padding: "0 4px"
132
+ defaultVariants: {
133
+ shadow: "none",
134
+ radius: "none"
88
135
  }
89
- };
90
- var shadowOptions = {
91
- none: "none",
92
- xs: "0px 1px 2px 0px rgba(16, 24, 40, 0.06)",
93
- sm: "0px 1px 4px 0px rgba(0, 0, 0, 0.09)",
94
- md: "0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08)",
95
- lg: "0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08)"
96
- };
97
- var borderRadiusOptions = {
98
- none: "0",
99
- xs: "4px",
100
- sm: "8px",
101
- md: "16px",
102
- lg: "24px"
103
- };
136
+ });
104
137
  var Container = ({
105
138
  children,
106
139
  shadow = "none",
@@ -111,25 +144,16 @@ var Container = ({
111
144
  return /* @__PURE__ */ jsx(
112
145
  Flex,
113
146
  {
114
- style: __spreadProps(__spreadValues(__spreadValues({}, styles.container), style), {
115
- flexDirection: "column",
116
- boxShadow: shadowOptions[shadow],
117
- borderRadius: borderRadiusOptions[radius]
118
- }),
119
- className,
147
+ direction: "column",
148
+ align: "center",
149
+ gap: "large",
150
+ className: `${container({ shadow, radius, className })} ${className}`,
151
+ style,
120
152
  children
121
153
  }
122
154
  );
123
155
  };
124
156
 
125
- // react/components/onboarding/magiclink-verify.tsx
126
- import { Button, Flex as Flex3, Link, Text as Text2, TextField } from "@raystack/apsara";
127
- import {
128
- useCallback,
129
- useEffect as useEffect2,
130
- useState as useState2
131
- } from "react";
132
-
133
157
  // react/components/Header.tsx
134
158
  import { Flex as Flex2, Text } from "@raystack/apsara";
135
159
 
@@ -515,6 +539,23 @@ var V1Beta1 = class extends HttpClient {
515
539
  type: "application/json" /* Json */,
516
540
  format: "json"
517
541
  }, params));
542
+ /**
543
+ * @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user or a service account, and Frontier will the credentials from the current logged in principal from the session cookie (if any), or the client id and secret (in case of service users) or the access token (in case of human user accounts).
544
+ *
545
+ * @tags Authz
546
+ * @name FrontierServiceBatchCheckPermission
547
+ * @summary Batch check
548
+ * @request POST:/v1beta1/batchcheck
549
+ * @secure
550
+ */
551
+ this.frontierServiceBatchCheckPermission = (body, params = {}) => this.request(__spreadValues({
552
+ path: `/v1beta1/batchcheck`,
553
+ method: "POST",
554
+ body,
555
+ secure: true,
556
+ type: "application/json" /* Json */,
557
+ format: "json"
558
+ }, params));
518
559
  /**
519
560
  * @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user or a service account, and Frontier will the credentials from the current logged in principal from the session cookie (if any), or the client id and secret (in case of service users) or the access token (in case of human user accounts).
520
561
  *
@@ -1555,11 +1596,11 @@ var V1Beta1 = class extends HttpClient {
1555
1596
  * @tags Preference
1556
1597
  * @name FrontierServiceDescribePreferences
1557
1598
  * @summary Describe preferences
1558
- * @request GET:/v1beta1/preferences/_describe
1599
+ * @request GET:/v1beta1/preferences/traits
1559
1600
  * @secure
1560
1601
  */
1561
1602
  this.frontierServiceDescribePreferences = (params = {}) => this.request(__spreadValues({
1562
- path: `/v1beta1/preferences/_describe`,
1603
+ path: `/v1beta1/preferences/traits`,
1563
1604
  method: "GET",
1564
1605
  secure: true,
1565
1606
  format: "json"
@@ -2431,7 +2472,13 @@ var initialValues = {
2431
2472
  strategies: [],
2432
2473
  setStrategies: () => void 0,
2433
2474
  user: void 0,
2434
- setUser: () => void 0
2475
+ setUser: () => void 0,
2476
+ activeOrganization: void 0,
2477
+ setActiveOrganization: () => void 0,
2478
+ isUserLoading: false,
2479
+ setIsUserLoading: () => void 0,
2480
+ isActiveOrganizationLoading: false,
2481
+ setIsActiveOrganizationLoading: () => void 0
2435
2482
  };
2436
2483
  var FrontierContext = createContext(initialValues);
2437
2484
  FrontierContext.displayName = "FrontierContext ";
@@ -2450,6 +2497,9 @@ var FrontierContextProvider = (_a) => {
2450
2497
  const [groups, setGroups] = useState([]);
2451
2498
  const [strategies, setStrategies] = useState([]);
2452
2499
  const [user, setUser] = useState();
2500
+ const [activeOrganization, setActiveOrganization] = useState();
2501
+ const [isActiveOrganizationLoading, setIsActiveOrganizationLoading] = useState(false);
2502
+ const [isUserLoading, setIsUserLoading] = useState(false);
2453
2503
  useEffect(() => {
2454
2504
  function getFrontierInformation() {
2455
2505
  return __async(this, null, function* () {
@@ -2471,6 +2521,7 @@ var FrontierContextProvider = (_a) => {
2471
2521
  function getFrontierCurrentUser() {
2472
2522
  return __async(this, null, function* () {
2473
2523
  try {
2524
+ setIsUserLoading(true);
2474
2525
  const {
2475
2526
  data: { user: user2 }
2476
2527
  } = yield frontierClient.frontierServiceGetCurrentUser();
@@ -2479,11 +2530,13 @@ var FrontierContextProvider = (_a) => {
2479
2530
  console.error(
2480
2531
  "frontier:sdk:: There is problem with fetching current user information"
2481
2532
  );
2533
+ } finally {
2534
+ setIsUserLoading(false);
2482
2535
  }
2483
2536
  });
2484
2537
  }
2485
2538
  getFrontierCurrentUser();
2486
- }, []);
2539
+ }, [frontierClient]);
2487
2540
  useEffect(() => {
2488
2541
  function getFrontierCurrentUserGroups() {
2489
2542
  return __async(this, null, function* () {
@@ -2535,7 +2588,13 @@ var FrontierContextProvider = (_a) => {
2535
2588
  strategies,
2536
2589
  setStrategies,
2537
2590
  user,
2538
- setUser
2591
+ setUser,
2592
+ activeOrganization,
2593
+ setActiveOrganization,
2594
+ isActiveOrganizationLoading,
2595
+ setIsActiveOrganizationLoading,
2596
+ isUserLoading,
2597
+ setIsUserLoading
2539
2598
  },
2540
2599
  children
2541
2600
  }
@@ -2550,24 +2609,32 @@ function useFrontier() {
2550
2609
  return context ? context : initialValues;
2551
2610
  }
2552
2611
 
2612
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-4bHZpVPIjtSN/core/react/components/header.module.css.js
2613
+ var digest2 = "24fce764cd26565116ca1a883214c161e9c9534700de2222eb7202fd7d9a553b";
2614
+ var css2 = `._container_ovm8g_1 {
2615
+ min-width: 220px;
2616
+ max-width: 100%;
2617
+ color: var(--foreground-base);
2618
+ }
2619
+
2620
+ ._title_ovm8g_7 {
2621
+ font-weight: 400;
2622
+ }`;
2623
+ (function() {
2624
+ if (typeof document === "undefined") {
2625
+ return;
2626
+ }
2627
+ if (!document.getElementById(digest2)) {
2628
+ var el = document.createElement("style");
2629
+ el.id = digest2;
2630
+ el.textContent = css2;
2631
+ document.head.appendChild(el);
2632
+ }
2633
+ })();
2634
+ var header_module_css_default = { "container": "_container_ovm8g_1", "title": "_title_ovm8g_7" };
2635
+
2553
2636
  // react/components/Header.tsx
2554
2637
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
2555
- var styles2 = {
2556
- container: {
2557
- fontSize: "12px",
2558
- minWidth: "220px",
2559
- maxWidth: "100%",
2560
- color: "var(--foreground-base)",
2561
- display: "flex",
2562
- flexDirection: "column",
2563
- alignItems: "center",
2564
- gap: "32px"
2565
- },
2566
- logoContainer: {},
2567
- titleContainer: {
2568
- fontWeight: "400"
2569
- }
2570
- };
2571
2638
  var defaultLogo = (
2572
2639
  // eslint-disable-next-line @next/next/no-img-element
2573
2640
  /* @__PURE__ */ jsx3(
@@ -2584,30 +2651,84 @@ var Header = ({ title, logo }) => {
2584
2651
  return /* @__PURE__ */ jsxs(
2585
2652
  Flex2,
2586
2653
  {
2587
- style: __spreadProps(__spreadValues({}, styles2.container), {
2588
- flexDirection: "column"
2589
- }),
2654
+ direction: "column",
2655
+ className: header_module_css_default.container,
2656
+ align: "center",
2657
+ gap: "large",
2590
2658
  children: [
2591
- /* @__PURE__ */ jsx3("div", { style: styles2.logoContainer, children: logo ? logo : defaultLogo }),
2592
- /* @__PURE__ */ jsx3("div", { style: styles2.titleContainer, children: /* @__PURE__ */ jsx3(Text, { size: 9, children: title }) })
2659
+ /* @__PURE__ */ jsx3("div", { children: logo ? logo : defaultLogo }),
2660
+ /* @__PURE__ */ jsx3("div", { className: header_module_css_default.title, children: /* @__PURE__ */ jsx3(Text, { size: 9, children: title }) })
2593
2661
  ]
2594
2662
  }
2595
2663
  );
2596
2664
  };
2597
2665
 
2666
+ // react/components/onboarding/magiclink-verify.tsx
2667
+ import { Button, Flex as Flex3, Link, Text as Text2, TextField } from "@raystack/apsara";
2668
+ import {
2669
+ useCallback,
2670
+ useEffect as useEffect2,
2671
+ useState as useState2
2672
+ } from "react";
2673
+
2598
2674
  // utils/index.ts
2599
2675
  var hasWindow = () => typeof window !== "undefined";
2600
2676
  function capitalize(str) {
2601
2677
  return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
2602
2678
  }
2679
+ var getInitials = function(name = "") {
2680
+ var names = name.split(" "), initials = names[0].substring(0, 1).toUpperCase();
2681
+ if (names.length > 1) {
2682
+ initials += names[names.length - 1].substring(0, 1).toUpperCase();
2683
+ }
2684
+ return initials;
2685
+ };
2686
+ var filterUsersfromUsers = (arr = [], exclude = []) => {
2687
+ const excludeIds = exclude.map((e) => e.id);
2688
+ return arr.filter((user) => !excludeIds.includes(user.id));
2689
+ };
2690
+
2691
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-d2pvM6T1hVMB/core/react/components/onboarding/onboarding.module.css.js
2692
+ var digest3 = "14e5dc084ffd0cc8081d314b9dd8cdc295ac308377b30db1a5705fec11c2133d";
2693
+ var css3 = `._container_1p7l7_1 {
2694
+ width: 100%;
2695
+ }
2696
+ ._container80_1p7l7_4 {
2697
+ width: 80%;
2698
+ }
2699
+
2700
+ ._error_1p7l7_8 {
2701
+ color: var(--foreground-danger);
2702
+ }
2703
+
2704
+ ._continue_1p7l7_12 {
2705
+ color: var(--foreground-inverted);
2706
+ }
2707
+
2708
+
2709
+ ._OIDCContainer_1p7l7_17 {
2710
+ width: 100%;
2711
+ gap: var(--pd-16);
2712
+ }
2713
+
2714
+ ._redirectLink_1p7l7_22 {
2715
+ color: var(--foreground-accent)
2716
+ }`;
2717
+ (function() {
2718
+ if (typeof document === "undefined") {
2719
+ return;
2720
+ }
2721
+ if (!document.getElementById(digest3)) {
2722
+ var el = document.createElement("style");
2723
+ el.id = digest3;
2724
+ el.textContent = css3;
2725
+ document.head.appendChild(el);
2726
+ }
2727
+ })();
2728
+ var onboarding_module_css_default = { "container": "_container_1p7l7_1", "container80": "_container80_1p7l7_4", "error": "_error_1p7l7_8", "continue": "_continue_1p7l7_12", "oidcContainer": "_OIDCContainer_1p7l7_17", "redirectLink": "_redirectLink_1p7l7_22" };
2603
2729
 
2604
2730
  // react/components/onboarding/magiclink-verify.tsx
2605
2731
  import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
2606
- var styles3 = {
2607
- wrapper: {
2608
- width: "80%"
2609
- }
2610
- };
2611
2732
  var MagicLinkVerify = (_a) => {
2612
2733
  var _b = _a, {
2613
2734
  logo,
@@ -2675,11 +2796,11 @@ var MagicLinkVerify = (_a) => {
2675
2796
  {
2676
2797
  variant: "ghost",
2677
2798
  size: "medium",
2678
- style: styles3.wrapper,
2799
+ className: onboarding_module_css_default.container80,
2679
2800
  onClick: () => setVisiable(true),
2680
2801
  children: /* @__PURE__ */ jsx4(Text2, { children: "Enter code manually" })
2681
2802
  }
2682
- ) : /* @__PURE__ */ jsxs2(Flex3, { direction: "column", style: styles3.wrapper, gap: "medium", children: [
2803
+ ) : /* @__PURE__ */ jsxs2(Flex3, { direction: "column", className: onboarding_module_css_default.container80, gap: "medium", children: [
2683
2804
  /* @__PURE__ */ jsxs2(Flex3, { direction: "column", children: [
2684
2805
  /* @__PURE__ */ jsx4(
2685
2806
  TextField,
@@ -2690,21 +2811,21 @@ var MagicLinkVerify = (_a) => {
2690
2811
  },
2691
2812
  "code"
2692
2813
  ),
2693
- /* @__PURE__ */ jsx4(Text2, { size: 1, style: { color: "var(--foreground-danger)" }, children: submitError && String(submitError) })
2814
+ /* @__PURE__ */ jsx4(Text2, { size: 1, className: onboarding_module_css_default.error, children: submitError && String(submitError) })
2694
2815
  ] }),
2695
2816
  /* @__PURE__ */ jsx4(
2696
2817
  Button,
2697
2818
  {
2698
2819
  size: "medium",
2699
2820
  variant: "primary",
2700
- style: { width: "100%" },
2821
+ className: onboarding_module_css_default.container,
2701
2822
  disabled: !otp,
2702
2823
  onClick: OTPVerifyClickHandler,
2703
- children: /* @__PURE__ */ jsx4(Text2, { style: { color: "var(--foreground-inverted)" }, children: "Continue with login code" })
2824
+ children: /* @__PURE__ */ jsx4(Text2, { className: onboarding_module_css_default.continue, children: "Continue with login code" })
2704
2825
  }
2705
2826
  )
2706
2827
  ] }),
2707
- /* @__PURE__ */ jsx4(Link, { href: config.redirectLogin, style: {}, children: /* @__PURE__ */ jsx4(Text2, { size: 2, children: "Back to login" }) })
2828
+ /* @__PURE__ */ jsx4(Link, { href: config.redirectLogin, children: /* @__PURE__ */ jsx4(Text2, { size: 2, children: "Back to login" }) })
2708
2829
  ] }));
2709
2830
  };
2710
2831
 
@@ -2716,7 +2837,7 @@ import { useCallback as useCallback3 } from "react";
2716
2837
  import { Button as Button2, Separator, Text as Text3, TextField as TextField2 } from "@raystack/apsara";
2717
2838
  import { useCallback as useCallback2, useState as useState3 } from "react";
2718
2839
  import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
2719
- var styles4 = {
2840
+ var styles = {
2720
2841
  container: {
2721
2842
  width: "100%",
2722
2843
  display: "flex",
@@ -2761,12 +2882,12 @@ var MagicLink = (_a) => {
2761
2882
  {
2762
2883
  variant: "secondary",
2763
2884
  size: "medium",
2764
- style: styles4.button,
2885
+ style: styles.button,
2765
2886
  onClick: () => setVisiable(true),
2766
2887
  children: /* @__PURE__ */ jsx5(Text3, { children: "Continue with Email" })
2767
2888
  }
2768
2889
  );
2769
- return /* @__PURE__ */ jsxs3("div", { style: __spreadProps(__spreadValues({}, styles4.container), { flexDirection: "column" }), children: [
2890
+ return /* @__PURE__ */ jsxs3("div", { style: __spreadProps(__spreadValues({}, styles.container), { flexDirection: "column" }), children: [
2770
2891
  /* @__PURE__ */ jsx5(Separator, {}),
2771
2892
  /* @__PURE__ */ jsx5(
2772
2893
  TextField2,
@@ -2783,7 +2904,7 @@ var MagicLink = (_a) => {
2783
2904
  size: "medium",
2784
2905
  variant: "primary"
2785
2906
  }, props), {
2786
- style: __spreadValues(__spreadValues({}, styles4.button), !email ? styles4.disabled : {}),
2907
+ style: __spreadValues(__spreadValues({}, styles.button), !email ? styles.disabled : {}),
2787
2908
  disabled: !email,
2788
2909
  onClick: magicLinkClickHandler,
2789
2910
  children: /* @__PURE__ */ jsx5(Text3, { style: { color: "var(--foreground-inverted)" }, children: loading ? "loading..." : "Continue with Emails" })
@@ -2798,17 +2919,48 @@ import { Button as Button3, Text as Text4 } from "@raystack/apsara";
2798
2919
  // react/assets/logos/google-logo.svg
2799
2920
  var google_logo_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">%0A<rect x="1.6001" y="1.59998" width="12.8" height="12.8" fill="url(%23pattern0)"/>%0A<defs>%0A<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">%0A<use xlink:href="%23image0_88_512" transform="scale(0.00125)"/>%0A</pattern>%0A<image id="image0_88_512" width="800" height="800" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAMgCAYAAADbcAZoAAAMbWlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnluSkJDQAghICb0JIjWAlBBa6B3BRkgCCSXGhKBiL4sKrgURUazoKohiWwGxY1cWxd4XCyrKuqiLDZU3IQFd95Xvne+be/+cOfOfcmdy7wFA8wNXIslDtQDIFxdIE8KCGGPS0hmkZwABREADvmAklyeTsOLiogCUwfvf5d0NaA3lqpOC65/z/1V0+AIZDwBkHMSZfBkvH+LjAODreBJpAQBEhd5ySoFEgedArCuFAUJcrsDZSlyjwJlKfHjAJimBDfFlANSoXK40GwCNe1DPKORlQx6NzxC7iPkiMQCaIyD25wm5fIgVsY/Iz5+kwJUQ20F7CcQwHsDM/I4z+2/8mUP8XG72EFbmNSBqw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W+vi3a3rnjrn/g1+yoVYEEAAgSgLUIBEefTJHQEEEOilwIg/Hl9uVZYlYh2ZuBUviatMd6IrVhS3UnZcJ9IJnY7HpQiISzGQyH7W2sTTcjkmplRGCoOMLZ/jRqezX8vd8jJyh8eMiafSaVWckRurZNLyf5H8b6c7093GzpTJ/x12JrP8vAfaehkihyGAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIFAggf8PdyPlKhPZiagAAAAASUVORK5CYII="/>%0A</defs>%0A</svg>%0A';
2800
2921
 
2922
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-F7KrrSU1brhV/core/react/components/onboarding/onboarding.module.css.js
2923
+ var digest4 = "eaccfc7e949b17f06440d7fc3650ff937bc08d8afb24ec7c7868a779a3e732a7";
2924
+ var css4 = `._container_1p7l7_1 {
2925
+ width: 100%;
2926
+ }
2927
+ ._container80_1p7l7_4 {
2928
+ width: 80%;
2929
+ }
2930
+
2931
+ ._error_1p7l7_8 {
2932
+ color: var(--foreground-danger);
2933
+ }
2934
+
2935
+ ._continue_1p7l7_12 {
2936
+ color: var(--foreground-inverted);
2937
+ }
2938
+
2939
+
2940
+ ._OIDCContainer_1p7l7_17 {
2941
+ width: 100%;
2942
+ gap: var(--pd-16);
2943
+ }
2944
+
2945
+ ._redirectLink_1p7l7_22 {
2946
+ color: var(--foreground-accent)
2947
+ }`;
2948
+ (function() {
2949
+ if (typeof document === "undefined") {
2950
+ return;
2951
+ }
2952
+ if (!document.getElementById(digest4)) {
2953
+ var el = document.createElement("style");
2954
+ el.id = digest4;
2955
+ el.textContent = css4;
2956
+ document.head.appendChild(el);
2957
+ }
2958
+ })();
2959
+ var onboarding_module_css_default2 = { "container": "_container_1p7l7_1", "container80": "_container80_1p7l7_4", "error": "_error_1p7l7_8", "continue": "_continue_1p7l7_12", "oidcContainer": "_OIDCContainer_1p7l7_17", "redirectLink": "_redirectLink_1p7l7_22" };
2960
+
2801
2961
  // react/components/onboarding/oidc.tsx
2802
2962
  import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
2803
2963
  var oidcLogoMap = /* @__PURE__ */ new Map([["google", google_logo_default]]);
2804
- var styles5 = {
2805
- button: {
2806
- width: "100%"
2807
- },
2808
- logo: {
2809
- marginRight: "4px"
2810
- }
2811
- };
2812
2964
  var OIDCButton = ({
2813
2965
  type = "button",
2814
2966
  onClick,
@@ -2818,7 +2970,7 @@ var OIDCButton = ({
2818
2970
  {
2819
2971
  size: "medium",
2820
2972
  variant: "secondary",
2821
- style: styles5.button,
2973
+ className: onboarding_module_css_default2.container,
2822
2974
  onClick,
2823
2975
  children: [
2824
2976
  oidcLogoMap.has(provider) ? (
@@ -2828,7 +2980,7 @@ var OIDCButton = ({
2828
2980
  {
2829
2981
  src: oidcLogoMap.get(provider),
2830
2982
  alt: provider + "-logo",
2831
- style: styles5.logo
2983
+ style: { marginRight: "4px" }
2832
2984
  }
2833
2985
  )
2834
2986
  ) : null,
@@ -2840,13 +2992,47 @@ var OIDCButton = ({
2840
2992
  }
2841
2993
  );
2842
2994
 
2995
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-hQWZBvVz6CAf/core/react/components/onboarding/onboarding.module.css.js
2996
+ var digest5 = "307865563eb0a7b964315fc73e14301b4eabf4fea3374fcdc15d8633958055c6";
2997
+ var css5 = `._container_1p7l7_1 {
2998
+ width: 100%;
2999
+ }
3000
+ ._container80_1p7l7_4 {
3001
+ width: 80%;
3002
+ }
3003
+
3004
+ ._error_1p7l7_8 {
3005
+ color: var(--foreground-danger);
3006
+ }
3007
+
3008
+ ._continue_1p7l7_12 {
3009
+ color: var(--foreground-inverted);
3010
+ }
3011
+
3012
+
3013
+ ._OIDCContainer_1p7l7_17 {
3014
+ width: 100%;
3015
+ gap: var(--pd-16);
3016
+ }
3017
+
3018
+ ._redirectLink_1p7l7_22 {
3019
+ color: var(--foreground-accent)
3020
+ }`;
3021
+ (function() {
3022
+ if (typeof document === "undefined") {
3023
+ return;
3024
+ }
3025
+ if (!document.getElementById(digest5)) {
3026
+ var el = document.createElement("style");
3027
+ el.id = digest5;
3028
+ el.textContent = css5;
3029
+ document.head.appendChild(el);
3030
+ }
3031
+ })();
3032
+ var onboarding_module_css_default3 = { "container": "_container_1p7l7_1", "container80": "_container80_1p7l7_4", "error": "_error_1p7l7_8", "continue": "_continue_1p7l7_12", "oidcContainer": "_OIDCContainer_1p7l7_17", "redirectLink": "_redirectLink_1p7l7_22" };
3033
+
2843
3034
  // react/components/onboarding/signin.tsx
2844
3035
  import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
2845
- var styles6 = {
2846
- titleContainer: {
2847
- fontWeight: "400"
2848
- }
2849
- };
2850
3036
  var SignIn = (_a) => {
2851
3037
  var _b = _a, {
2852
3038
  logo,
@@ -2893,17 +3079,10 @@ var SignIn = (_a) => {
2893
3079
  }),
2894
3080
  mailotp && /* @__PURE__ */ jsx7(MagicLink, {})
2895
3081
  ] }),
2896
- /* @__PURE__ */ jsx7("div", { style: styles6.titleContainer, children: /* @__PURE__ */ jsxs5(Text5, { size: 2, children: [
3082
+ /* @__PURE__ */ jsx7("div", { style: { fontWeight: "400" }, children: /* @__PURE__ */ jsxs5(Text5, { size: 2, children: [
2897
3083
  "Don\u2019t have an account?",
2898
3084
  " ",
2899
- /* @__PURE__ */ jsx7(
2900
- Link2,
2901
- {
2902
- href: config.redirectSignup,
2903
- style: { color: "var(--foreground-accent)" },
2904
- children: "Signup"
2905
- }
2906
- )
3085
+ /* @__PURE__ */ jsx7(Link2, { href: config.redirectSignup, className: onboarding_module_css_default3.redirectLink, children: "Signup" })
2907
3086
  ] }) })
2908
3087
  ] }));
2909
3088
  };
@@ -2911,12 +3090,48 @@ var SignIn = (_a) => {
2911
3090
  // react/components/onboarding/signup.tsx
2912
3091
  import { Flex as Flex5, Link as Link3, Text as Text6 } from "@raystack/apsara";
2913
3092
  import { useCallback as useCallback4 } from "react";
2914
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
2915
- var styles7 = {
2916
- titleContainer: {
2917
- fontWeight: "400"
3093
+
3094
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-VHJiAbqrhLUQ/core/react/components/onboarding/onboarding.module.css.js
3095
+ var digest6 = "e6daccc888dbd2f8b718fd0477e8c18be98316db66e4871570089b4524b4ab29";
3096
+ var css6 = `._container_1p7l7_1 {
3097
+ width: 100%;
3098
+ }
3099
+ ._container80_1p7l7_4 {
3100
+ width: 80%;
3101
+ }
3102
+
3103
+ ._error_1p7l7_8 {
3104
+ color: var(--foreground-danger);
3105
+ }
3106
+
3107
+ ._continue_1p7l7_12 {
3108
+ color: var(--foreground-inverted);
3109
+ }
3110
+
3111
+
3112
+ ._OIDCContainer_1p7l7_17 {
3113
+ width: 100%;
3114
+ gap: var(--pd-16);
3115
+ }
3116
+
3117
+ ._redirectLink_1p7l7_22 {
3118
+ color: var(--foreground-accent)
3119
+ }`;
3120
+ (function() {
3121
+ if (typeof document === "undefined") {
3122
+ return;
2918
3123
  }
2919
- };
3124
+ if (!document.getElementById(digest6)) {
3125
+ var el = document.createElement("style");
3126
+ el.id = digest6;
3127
+ el.textContent = css6;
3128
+ document.head.appendChild(el);
3129
+ }
3130
+ })();
3131
+ var onboarding_module_css_default4 = { "container": "_container_1p7l7_1", "container80": "_container80_1p7l7_4", "error": "_error_1p7l7_8", "continue": "_continue_1p7l7_12", "oidcContainer": "_OIDCContainer_1p7l7_17", "redirectLink": "_redirectLink_1p7l7_22" };
3132
+
3133
+ // react/components/onboarding/signup.tsx
3134
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
2920
3135
  var SignUp = (_a) => {
2921
3136
  var _b = _a, {
2922
3137
  logo,
@@ -2964,17 +3179,10 @@ var SignUp = (_a) => {
2964
3179
  }),
2965
3180
  mailotp && /* @__PURE__ */ jsx8(MagicLink, {})
2966
3181
  ] }),
2967
- /* @__PURE__ */ jsx8("div", { style: styles7.titleContainer, children: /* @__PURE__ */ jsxs6(Text6, { size: 2, children: [
3182
+ /* @__PURE__ */ jsx8("div", { style: { fontWeight: "400" }, children: /* @__PURE__ */ jsxs6(Text6, { size: 2, children: [
2968
3183
  "Already have an account?",
2969
3184
  " ",
2970
- /* @__PURE__ */ jsx8(
2971
- Link3,
2972
- {
2973
- href: config.redirectLogin,
2974
- style: { color: "var(--foreground-accent)" },
2975
- children: "Login"
2976
- }
2977
- )
3185
+ /* @__PURE__ */ jsx8(Link3, { href: config.redirectLogin, className: onboarding_module_css_default4.redirectLink, children: "Login" })
2978
3186
  ] }) })
2979
3187
  ] }));
2980
3188
  };
@@ -2984,18 +3192,30 @@ import { yupResolver } from "@hookform/resolvers/yup";
2984
3192
  import { Button as Button4, Flex as Flex6, InputField, Text as Text7, TextField as TextField3 } from "@raystack/apsara";
2985
3193
  import { Controller, useForm } from "react-hook-form";
2986
3194
  import * as yup from "yup";
2987
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
2988
- var styles8 = {
2989
- container: {
2990
- margin: "auto",
2991
- width: "100%",
2992
- maxWidth: "384px",
2993
- padding: "var(--pd-32)"
2994
- },
2995
- titleContainer: {
2996
- fontWeight: "400"
3195
+
3196
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-ZOyYw6qJZkrX/core/react/components/organization/organization.module.css.js
3197
+ var digest7 = "27e5b5b18c85a7c8891a1c628ce6ce13bd1bdd8b023eecd6956a9d52af504a49";
3198
+ var css7 = `._createContainer_828zg_1 {
3199
+ margin: auto;
3200
+ width: 100%;
3201
+ max-width: 384px;
3202
+ padding: var(--pd-32);
3203
+ }`;
3204
+ (function() {
3205
+ if (typeof document === "undefined") {
3206
+ return;
2997
3207
  }
2998
- };
3208
+ if (!document.getElementById(digest7)) {
3209
+ var el = document.createElement("style");
3210
+ el.id = digest7;
3211
+ el.textContent = css7;
3212
+ document.head.appendChild(el);
3213
+ }
3214
+ })();
3215
+ var organization_module_css_default = { "createContainer": "_createContainer_828zg_1" };
3216
+
3217
+ // react/components/organization/create.tsx
3218
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
2999
3219
  var schema = yup.object({
3000
3220
  title: yup.string().required(),
3001
3221
  name: yup.string().required()
@@ -3040,7 +3260,7 @@ var CreateOrganization = (_a) => {
3040
3260
  }
3041
3261
  )
3042
3262
  ] }),
3043
- /* @__PURE__ */ jsx9("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs7(Container, { style: styles8.container, shadow: "sm", radius: "sm", children: [
3263
+ /* @__PURE__ */ jsx9("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs7(Container, { className: organization_module_css_default.createContainer, shadow: "sm", radius: "sm", children: [
3044
3264
  /* @__PURE__ */ jsxs7(InputField, { label: "Organization name", children: [
3045
3265
  /* @__PURE__ */ jsx9(
3046
3266
  Controller,
@@ -3092,22 +3312,32 @@ var CreateOrganization = (_a) => {
3092
3312
 
3093
3313
  // react/components/organization/profile.tsx
3094
3314
  import { Flex as Flex38, ThemeProvider } from "@raystack/apsara";
3095
- import { useCallback as useCallback12, useEffect as useEffect20, useState as useState18 } from "react";
3096
- import { MemoryRouter, Route, Routes } from "react-router-dom";
3315
+ import { useCallback as useCallback14, useEffect as useEffect21 } from "react";
3316
+ import {
3317
+ Outlet as Outlet8,
3318
+ RouterProvider,
3319
+ Router,
3320
+ Route,
3321
+ RootRoute,
3322
+ createMemoryHistory
3323
+ } from "@tanstack/react-router";
3097
3324
  import { Toaster } from "sonner";
3098
3325
 
3099
3326
  // react/components/organization/domain/index.tsx
3100
- import { Button as Button5, DataTable, EmptyState, Flex as Flex8, Text as Text9 } from "@raystack/apsara";
3327
+ import { Button as Button6, DataTable, EmptyState, Flex as Flex8, Text as Text9 } from "@raystack/apsara";
3328
+ import { Outlet, useNavigate as useNavigate2, useRouterState } from "@tanstack/react-router";
3101
3329
  import { useCallback as useCallback5, useEffect as useEffect3, useState as useState4 } from "react";
3102
- import { Outlet, useLocation, useNavigate as useNavigate2 } from "react-router-dom";
3103
3330
 
3104
3331
  // react/components/organization/styles.ts
3105
- var styles9 = {
3332
+ var styles2 = {
3106
3333
  header: {
3107
3334
  padding: "16px 48px",
3108
3335
  borderBottom: "1px solid var(--border-subtle)"
3109
3336
  },
3110
- container: { padding: "0 48px", width: "100%" },
3337
+ container: {
3338
+ padding: "32px 48px",
3339
+ overflow: "scroll"
3340
+ },
3111
3341
  general: {}
3112
3342
  };
3113
3343
 
@@ -3127,6 +3357,24 @@ function _objectWithoutPropertiesLoose(source, excluded) {
3127
3357
  }
3128
3358
  return target;
3129
3359
  }
3360
+ var _excluded$U = ["color"];
3361
+ var CheckCircledIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3362
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$U);
3363
+ return createElement("svg", Object.assign({
3364
+ width: "15",
3365
+ height: "15",
3366
+ viewBox: "0 0 15 15",
3367
+ fill: "none",
3368
+ xmlns: "http://www.w3.org/2000/svg"
3369
+ }, props, {
3370
+ ref: forwardedRef
3371
+ }), createElement("path", {
3372
+ d: "M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",
3373
+ fill: color,
3374
+ fillRule: "evenodd",
3375
+ clipRule: "evenodd"
3376
+ }));
3377
+ });
3130
3378
  var _excluded$1J = ["color"];
3131
3379
  var DotsHorizontalIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3132
3380
  var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$1J);
@@ -3163,6 +3411,24 @@ var GearIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3163
3411
  clipRule: "evenodd"
3164
3412
  }));
3165
3413
  });
3414
+ var _excluded$33 = ["color"];
3415
+ var MagnifyingGlassIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3416
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$33);
3417
+ return createElement("svg", Object.assign({
3418
+ width: "15",
3419
+ height: "15",
3420
+ viewBox: "0 0 15 15",
3421
+ fill: "none",
3422
+ xmlns: "http://www.w3.org/2000/svg"
3423
+ }, props, {
3424
+ ref: forwardedRef
3425
+ }), createElement("path", {
3426
+ d: "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",
3427
+ fill: color,
3428
+ fillRule: "evenodd",
3429
+ clipRule: "evenodd"
3430
+ }));
3431
+ });
3166
3432
  var _excluded$3e = ["color"];
3167
3433
  var MoonIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3168
3434
  var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$3e);
@@ -3237,8 +3503,8 @@ var TrashIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
3237
3503
  });
3238
3504
 
3239
3505
  // react/components/organization/domain/domain.columns.tsx
3240
- import { DropdownMenu, Flex as Flex7, Link as Link4, Text as Text8 } from "@raystack/apsara";
3241
- import { useNavigate } from "react-router-dom";
3506
+ import { Button as Button5, Flex as Flex7, Text as Text8 } from "@raystack/apsara";
3507
+ import { useNavigate } from "@tanstack/react-router";
3242
3508
  import { toast } from "sonner";
3243
3509
  import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
3244
3510
  var columns = [
@@ -3270,7 +3536,7 @@ var columns = [
3270
3536
  ];
3271
3537
  var DomainActions = ({ domain }) => {
3272
3538
  const { client } = useFrontier();
3273
- const navigate = useNavigate();
3539
+ const navigate = useNavigate({ from: "/domains" });
3274
3540
  function deleteDomain() {
3275
3541
  return __async(this, null, function* () {
3276
3542
  if (!domain.id)
@@ -3279,10 +3545,11 @@ var DomainActions = ({ domain }) => {
3279
3545
  return;
3280
3546
  try {
3281
3547
  yield client == null ? void 0 : client.frontierServiceDeleteOrganizationDomain(
3548
+ // @ts-ignore
3282
3549
  domain.org_id,
3283
3550
  domain.id
3284
3551
  );
3285
- navigate("/domains");
3552
+ navigate({ to: "/domains" });
3286
3553
  toast.success("Domain deleted");
3287
3554
  } catch ({ error }) {
3288
3555
  toast.error("Something went wrong", {
@@ -3291,56 +3558,46 @@ var DomainActions = ({ domain }) => {
3291
3558
  }
3292
3559
  });
3293
3560
  }
3294
- return /* @__PURE__ */ jsxs8(DropdownMenu, { children: [
3295
- /* @__PURE__ */ jsx10(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ jsx10(DotsHorizontalIcon, {}) }),
3296
- /* @__PURE__ */ jsx10(DropdownMenu.Content, { align: "end", children: /* @__PURE__ */ jsxs8(DropdownMenu.Group, { children: [
3297
- /* @__PURE__ */ jsx10(DropdownMenu.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs8(
3298
- "div",
3299
- {
3300
- onClick: () => navigate(`/domains/${domain.id}/verify`),
3301
- style: {
3302
- gap: "var(--pd-8)",
3303
- display: "flex",
3304
- alignItems: "center",
3305
- textDecoration: "none",
3306
- color: "var(--foreground-base)",
3307
- padding: "var(--pd-8)"
3308
- },
3309
- children: [
3310
- /* @__PURE__ */ jsx10(Pencil1Icon, {}),
3311
- " verify domain"
3312
- ]
3313
- }
3314
- ) }),
3315
- /* @__PURE__ */ jsx10(DropdownMenu.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs8(
3316
- Link4,
3317
- {
3318
- onClick: deleteDomain,
3319
- style: {
3320
- gap: "var(--pd-8)",
3321
- display: "flex",
3322
- alignItems: "center",
3323
- textDecoration: "none",
3324
- color: "var(--foreground-base)",
3325
- padding: "var(--pd-8)"
3326
- },
3327
- children: [
3328
- /* @__PURE__ */ jsx10(TrashIcon, {}),
3329
- " Delete domain"
3330
- ]
3331
- }
3332
- ) })
3333
- ] }) })
3561
+ return /* @__PURE__ */ jsxs8(Flex7, { align: "center", justify: "end", gap: "large", children: [
3562
+ domain.state === "pending" ? /* @__PURE__ */ jsx10(
3563
+ Button5,
3564
+ {
3565
+ onClick: () => navigate({
3566
+ to: `/domains/$domainId/verify`,
3567
+ params: {
3568
+ domainId: domain.id
3569
+ }
3570
+ }),
3571
+ children: "verify domain"
3572
+ }
3573
+ ) : /* @__PURE__ */ jsxs8(
3574
+ Flex7,
3575
+ {
3576
+ onClick: deleteDomain,
3577
+ gap: "extra-small",
3578
+ style: { color: "var(--foreground-success)" },
3579
+ children: [
3580
+ /* @__PURE__ */ jsx10(CheckCircledIcon, { style: { cursor: "pointer" } }),
3581
+ "Verified"
3582
+ ]
3583
+ }
3584
+ ),
3585
+ /* @__PURE__ */ jsx10(
3586
+ TrashIcon,
3587
+ {
3588
+ onClick: deleteDomain,
3589
+ color: "var(--foreground-danger)",
3590
+ style: { cursor: "pointer" }
3591
+ }
3592
+ )
3334
3593
  ] });
3335
3594
  };
3336
3595
 
3337
3596
  // react/components/organization/domain/index.tsx
3338
3597
  import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
3339
- function Domain({
3340
- organization
3341
- }) {
3342
- const { client } = useFrontier();
3343
- const location = useLocation();
3598
+ function Domain() {
3599
+ const { client, activeOrganization: organization } = useFrontier();
3600
+ const routerState = useRouterState();
3344
3601
  const [domains, setDomains] = useState4([]);
3345
3602
  const getDomains = useCallback5(() => __async(this, null, function* () {
3346
3603
  if (!(organization == null ? void 0 : organization.id))
@@ -3353,13 +3610,13 @@ function Domain({
3353
3610
  }), [client, organization == null ? void 0 : organization.id]);
3354
3611
  useEffect3(() => {
3355
3612
  getDomains();
3356
- }, [getDomains, location.key]);
3613
+ }, [getDomains, routerState.location.key]);
3357
3614
  useEffect3(() => {
3358
3615
  getDomains();
3359
3616
  }, [client, getDomains, organization == null ? void 0 : organization.id]);
3360
- return /* @__PURE__ */ jsxs9(Flex8, { direction: "column", gap: "large", style: { width: "100%" }, children: [
3361
- /* @__PURE__ */ jsx11(Flex8, { style: styles9.header, children: /* @__PURE__ */ jsx11(Text9, { size: 6, children: "Domains" }) }),
3362
- /* @__PURE__ */ jsx11(Flex8, { direction: "column", gap: "large", style: styles9.container, children: /* @__PURE__ */ jsxs9(Flex8, { direction: "column", style: { gap: "24px" }, children: [
3617
+ return /* @__PURE__ */ jsxs9(Flex8, { direction: "column", style: { width: "100%" }, children: [
3618
+ /* @__PURE__ */ jsx11(Flex8, { style: styles2.header, children: /* @__PURE__ */ jsx11(Text9, { size: 6, children: "Domains" }) }),
3619
+ /* @__PURE__ */ jsx11(Flex8, { direction: "column", gap: "large", style: styles2.container, children: /* @__PURE__ */ jsxs9(Flex8, { direction: "column", style: { gap: "24px" }, children: [
3363
3620
  /* @__PURE__ */ jsx11(AllowedEmailDomains, {}),
3364
3621
  /* @__PURE__ */ jsx11(Domains, { domains })
3365
3622
  ] }) }),
@@ -3367,14 +3624,14 @@ function Domain({
3367
3624
  ] });
3368
3625
  }
3369
3626
  var AllowedEmailDomains = () => {
3370
- let navigate = useNavigate2();
3627
+ let navigate = useNavigate2({ from: "/domains" });
3371
3628
  return /* @__PURE__ */ jsx11(Flex8, { direction: "row", justify: "between", align: "center", children: /* @__PURE__ */ jsxs9(Flex8, { direction: "column", gap: "small", children: [
3372
3629
  /* @__PURE__ */ jsx11(Text9, { size: 6, children: "Allowed email domains" }),
3373
3630
  /* @__PURE__ */ jsx11(Text9, { size: 4, style: { color: "var(--foreground-muted)" }, children: "Anyone with an email address at these domains is allowed to sign up for this workspace." })
3374
3631
  ] }) });
3375
3632
  };
3376
3633
  var Domains = ({ domains }) => {
3377
- let navigate = useNavigate2();
3634
+ let navigate = useNavigate2({ from: "/domains" });
3378
3635
  const tableStyle = (domains == null ? void 0 : domains.length) ? { width: "100%" } : { width: "100%", height: "100%" };
3379
3636
  return /* @__PURE__ */ jsx11(Flex8, { direction: "row", children: /* @__PURE__ */ jsx11(
3380
3637
  DataTable,
@@ -3382,7 +3639,7 @@ var Domains = ({ domains }) => {
3382
3639
  data: domains != null ? domains : [],
3383
3640
  columns,
3384
3641
  emptyState: noDataChildren,
3385
- parentStyle: { height: "calc(100vh - 120px)" },
3642
+ parentStyle: { height: "calc(100vh - 212px)" },
3386
3643
  style: tableStyle,
3387
3644
  children: /* @__PURE__ */ jsx11(DataTable.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs9(Flex8, { justify: "between", gap: "small", children: [
3388
3645
  /* @__PURE__ */ jsx11(Flex8, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx11(
@@ -3393,11 +3650,11 @@ var Domains = ({ domains }) => {
3393
3650
  }
3394
3651
  ) }),
3395
3652
  /* @__PURE__ */ jsx11(
3396
- Button5,
3653
+ Button6,
3397
3654
  {
3398
3655
  variant: "primary",
3399
3656
  style: { width: "fit-content" },
3400
- onClick: () => navigate("/domains/modal"),
3657
+ onClick: () => navigate({ to: "/domains/modal" }),
3401
3658
  children: "Add Domain"
3402
3659
  }
3403
3660
  )
@@ -3413,7 +3670,7 @@ var noDataChildren = /* @__PURE__ */ jsxs9(EmptyState, { children: [
3413
3670
 
3414
3671
  // react/components/organization/domain/add-domain.tsx
3415
3672
  import {
3416
- Button as Button6,
3673
+ Button as Button7,
3417
3674
  Dialog,
3418
3675
  Flex as Flex9,
3419
3676
  Image,
@@ -3424,7 +3681,7 @@ import {
3424
3681
  } from "@raystack/apsara";
3425
3682
  import { yupResolver as yupResolver2 } from "@hookform/resolvers/yup";
3426
3683
  import { Controller as Controller2, useForm as useForm2 } from "react-hook-form";
3427
- import { useNavigate as useNavigate3 } from "react-router-dom";
3684
+ import { useNavigate as useNavigate3 } from "@tanstack/react-router";
3428
3685
  import { toast as toast2 } from "sonner";
3429
3686
  import * as yup2 from "yup";
3430
3687
 
@@ -3436,20 +3693,17 @@ import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
3436
3693
  var domainSchema = yup2.object({
3437
3694
  domain: yup2.string().required()
3438
3695
  }).required();
3439
- var AddDomain = ({
3440
- organization
3441
- }) => {
3696
+ var AddDomain = () => {
3442
3697
  var _a;
3443
3698
  const {
3444
- reset,
3445
3699
  control,
3446
3700
  handleSubmit,
3447
3701
  formState: { errors, isSubmitting }
3448
3702
  } = useForm2({
3449
3703
  resolver: yupResolver2(domainSchema)
3450
3704
  });
3451
- const navigate = useNavigate3();
3452
- const { client } = useFrontier();
3705
+ const navigate = useNavigate3({ from: "/domains/modal" });
3706
+ const { client, activeOrganization: organization } = useFrontier();
3453
3707
  function onSubmit(data) {
3454
3708
  return __async(this, null, function* () {
3455
3709
  if (!client)
@@ -3457,12 +3711,18 @@ var AddDomain = ({
3457
3711
  if (!(organization == null ? void 0 : organization.id))
3458
3712
  return;
3459
3713
  try {
3460
- yield client.frontierServiceCreateOrganizationDomain(
3714
+ const {
3715
+ data: { domain }
3716
+ } = yield client.frontierServiceCreateOrganizationDomain(
3461
3717
  organization == null ? void 0 : organization.id,
3462
3718
  data
3463
3719
  );
3464
3720
  toast2.success("Domain added");
3465
- navigate("/domains");
3721
+ navigate({ to: "/domains" });
3722
+ navigate({
3723
+ to: `/domains/$domainId/verify`,
3724
+ params: { domainId: domain == null ? void 0 : domain.id }
3725
+ });
3466
3726
  } catch ({ error }) {
3467
3727
  toast2.error("Something went wrong", {
3468
3728
  description: error.message
@@ -3477,8 +3737,9 @@ var AddDomain = ({
3477
3737
  Image,
3478
3738
  {
3479
3739
  alt: "cross",
3740
+ style: { cursor: "pointer" },
3480
3741
  src: cross_default,
3481
- onClick: () => navigate("/domains")
3742
+ onClick: () => navigate({ to: "/domains" })
3482
3743
  }
3483
3744
  )
3484
3745
  ] }),
@@ -3509,22 +3770,20 @@ var AddDomain = ({
3509
3770
  }
3510
3771
  ),
3511
3772
  /* @__PURE__ */ jsx12(Separator2, {}),
3512
- /* @__PURE__ */ jsx12(Flex9, { justify: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx12(Button6, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "adding..." : "Add domain" }) })
3773
+ /* @__PURE__ */ jsx12(Flex9, { justify: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx12(Button7, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "adding..." : "Add domain" }) })
3513
3774
  ] }) }) });
3514
3775
  };
3515
3776
 
3516
3777
  // react/components/organization/domain/verify-domain.tsx
3517
- import { Button as Button7, Dialog as Dialog2, Flex as Flex10, Image as Image2, Separator as Separator3, Text as Text11 } from "@raystack/apsara";
3778
+ import { Button as Button8, Dialog as Dialog2, Flex as Flex10, Image as Image2, Separator as Separator3, Text as Text11 } from "@raystack/apsara";
3518
3779
  import { useCallback as useCallback6, useEffect as useEffect4, useState as useState5 } from "react";
3519
- import { useNavigate as useNavigate4, useParams } from "react-router-dom";
3780
+ import { useNavigate as useNavigate4, useParams } from "@tanstack/react-router";
3520
3781
  import { toast as toast3 } from "sonner";
3521
3782
  import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
3522
- var VerifyDomain = ({
3523
- organization
3524
- }) => {
3525
- const navigate = useNavigate4();
3526
- const { domainId } = useParams();
3527
- const { client } = useFrontier();
3783
+ var VerifyDomain = () => {
3784
+ const navigate = useNavigate4({ from: "/domains/$domainId/verify" });
3785
+ const { domainId } = useParams({ from: "/domains/$domainId/verify" });
3786
+ const { client, activeOrganization: organization } = useFrontier();
3528
3787
  const [domain, setDomain] = useState5();
3529
3788
  const [isVerifying, setIsVerifying] = useState5(false);
3530
3789
  const fetchDomainDetails = useCallback6(() => __async(void 0, null, function* () {
@@ -3548,7 +3807,7 @@ var VerifyDomain = ({
3548
3807
  } finally {
3549
3808
  setIsVerifying(false);
3550
3809
  }
3551
- }), [domainId]);
3810
+ }), [client, domainId, organization == null ? void 0 : organization.id]);
3552
3811
  const verifyDomain = useCallback6(() => __async(void 0, null, function* () {
3553
3812
  if (!domainId)
3554
3813
  return;
@@ -3561,7 +3820,7 @@ var VerifyDomain = ({
3561
3820
  domainId,
3562
3821
  {}
3563
3822
  );
3564
- navigate("/domains");
3823
+ navigate({ to: "/domains" });
3565
3824
  toast3.success("Domain verified");
3566
3825
  } catch ({ error }) {
3567
3826
  toast3.error("Something went wrong", {
@@ -3570,7 +3829,7 @@ var VerifyDomain = ({
3570
3829
  } finally {
3571
3830
  setIsVerifying(false);
3572
3831
  }
3573
- }), [domainId]);
3832
+ }), [client, domainId, navigate, organization == null ? void 0 : organization.id]);
3574
3833
  useEffect4(() => {
3575
3834
  fetchDomainDetails();
3576
3835
  }, [fetchDomainDetails]);
@@ -3581,8 +3840,9 @@ var VerifyDomain = ({
3581
3840
  Image2,
3582
3841
  {
3583
3842
  alt: "cross",
3843
+ style: { cursor: "pointer" },
3584
3844
  src: cross_default,
3585
- onClick: () => navigate("/domains")
3845
+ onClick: () => navigate({ to: "/domains" })
3586
3846
  }
3587
3847
  )
3588
3848
  ] }),
@@ -3603,55 +3863,56 @@ var VerifyDomain = ({
3603
3863
  /* @__PURE__ */ jsx13(Text11, { size: 2, children: "Wait until your DNS configuration changes. This could take up to 72 hours to propagate." })
3604
3864
  ] }),
3605
3865
  /* @__PURE__ */ jsx13(Separator3, {}),
3606
- /* @__PURE__ */ jsx13(Flex10, { justify: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx13(Button7, { variant: "primary", size: "medium", onClick: verifyDomain, children: isVerifying ? "verifying..." : "Verify" }) })
3866
+ /* @__PURE__ */ jsx13(Flex10, { justify: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx13(Button8, { variant: "primary", size: "medium", onClick: verifyDomain, children: isVerifying ? "verifying..." : "Verify" }) })
3607
3867
  ] }) });
3608
3868
  };
3609
3869
 
3610
3870
  // react/components/organization/general/index.tsx
3611
- import { Button as Button9, Flex as Flex13, Separator as Separator4, Text as Text14 } from "@raystack/apsara";
3612
- import { useState as useState6 } from "react";
3613
- import { Outlet as Outlet2, useNavigate as useNavigate5 } from "react-router-dom";
3871
+ import { Button as Button10, Flex as Flex13, Separator as Separator4, Text as Text13 } from "@raystack/apsara";
3872
+ import { Outlet as Outlet2, useNavigate as useNavigate5 } from "@tanstack/react-router";
3614
3873
 
3615
3874
  // react/components/organization/general/general.profile.tsx
3616
- import { Flex as Flex11, Image as Image3, Text as Text12 } from "@raystack/apsara";
3617
- import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
3618
- var GeneralProfile = () => {
3619
- return /* @__PURE__ */ jsxs12(Flex11, { direction: "column", gap: "small", children: [
3620
- /* @__PURE__ */ jsx14(
3621
- Image3,
3622
- {
3623
- alt: "Colm Tuite",
3624
- src: "https://pbs.twimg.com/profile_images/864164353771229187/Catw6Nmh_400x400.jpg",
3625
- width: 80,
3626
- height: 80,
3627
- style: { borderRadius: "var(--pd-4)" }
3628
- }
3629
- ),
3630
- /* @__PURE__ */ jsx14(Text12, { size: 4, style: { color: "var(--foreground-muted)" }, children: "Pick a logo for your workspace" })
3631
- ] });
3875
+ import { Avatar, Flex as Flex11 } from "@raystack/apsara";
3876
+ import Skeleton from "react-loading-skeleton";
3877
+ import { jsx as jsx14 } from "react/jsx-runtime";
3878
+ var GeneralProfile = ({
3879
+ organization,
3880
+ isLoading
3881
+ }) => {
3882
+ return /* @__PURE__ */ jsx14(Flex11, { direction: "column", gap: "small", children: isLoading ? /* @__PURE__ */ jsx14(Skeleton, { style: { width: "80px", height: "80px" }, circle: true }) : /* @__PURE__ */ jsx14(
3883
+ Avatar,
3884
+ {
3885
+ alt: "Organization profile",
3886
+ shape: "circle",
3887
+ fallback: getInitials(organization == null ? void 0 : organization.name),
3888
+ imageProps: { width: "80px", height: "80px" }
3889
+ }
3890
+ ) });
3632
3891
  };
3633
3892
 
3634
3893
  // react/components/organization/general/general.workspace.tsx
3635
3894
  import { yupResolver as yupResolver3 } from "@hookform/resolvers/yup";
3636
3895
  import {
3637
3896
  Box,
3638
- Button as Button8,
3897
+ Button as Button9,
3639
3898
  Flex as Flex12,
3640
3899
  InputField as InputField3,
3641
- Text as Text13,
3900
+ Text as Text12,
3642
3901
  TextField as TextField5
3643
3902
  } from "@raystack/apsara";
3644
3903
  import { useEffect as useEffect5 } from "react";
3645
3904
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
3905
+ import Skeleton2 from "react-loading-skeleton";
3646
3906
  import { toast as toast4 } from "sonner";
3647
3907
  import * as yup3 from "yup";
3648
- import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
3908
+ import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
3649
3909
  var generalSchema = yup3.object({
3650
3910
  title: yup3.string().required(),
3651
3911
  name: yup3.string().required()
3652
3912
  }).required();
3653
3913
  var GeneralOrganization = ({
3654
- organization
3914
+ organization,
3915
+ isLoading
3655
3916
  }) => {
3656
3917
  var _a, _b;
3657
3918
  const { client } = useFrontier();
@@ -3683,17 +3944,9 @@ var GeneralOrganization = ({
3683
3944
  }
3684
3945
  });
3685
3946
  }
3686
- return /* @__PURE__ */ jsx15("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs13(Flex12, { direction: "column", gap: "large", style: { maxWidth: "320px" }, children: [
3687
- /* @__PURE__ */ jsx15(
3688
- TextField5,
3689
- {
3690
- name: "workspaceID",
3691
- defaultValue: organization == null ? void 0 : organization.id,
3692
- hidden: true
3693
- }
3694
- ),
3695
- /* @__PURE__ */ jsx15(Box, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs13(InputField3, { label: "organization title", children: [
3696
- /* @__PURE__ */ jsx15(
3947
+ return /* @__PURE__ */ jsx15("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs12(Flex12, { direction: "column", gap: "large", style: { maxWidth: "320px" }, children: [
3948
+ /* @__PURE__ */ jsx15(Box, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs12(InputField3, { label: "Organization title", children: [
3949
+ isLoading ? /* @__PURE__ */ jsx15(Skeleton2, { height: "32px" }) : /* @__PURE__ */ jsx15(
3697
3950
  Controller3,
3698
3951
  {
3699
3952
  render: ({ field }) => /* @__PURE__ */ jsx15(
@@ -3708,10 +3961,10 @@ var GeneralOrganization = ({
3708
3961
  name: "title"
3709
3962
  }
3710
3963
  ),
3711
- /* @__PURE__ */ jsx15(Text13, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
3964
+ /* @__PURE__ */ jsx15(Text12, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
3712
3965
  ] }) }),
3713
- /* @__PURE__ */ jsx15(Box, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs13(InputField3, { label: "organization name", children: [
3714
- /* @__PURE__ */ jsx15(
3966
+ /* @__PURE__ */ jsx15(Box, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs12(InputField3, { label: "Organization name", children: [
3967
+ isLoading ? /* @__PURE__ */ jsx15(Skeleton2, { height: "32px" }) : /* @__PURE__ */ jsx15(
3715
3968
  Controller3,
3716
3969
  {
3717
3970
  render: ({ field }) => /* @__PURE__ */ jsx15(
@@ -3726,15 +3979,16 @@ var GeneralOrganization = ({
3726
3979
  name: "name"
3727
3980
  }
3728
3981
  ),
3729
- /* @__PURE__ */ jsx15(Text13, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_b = errors.name) == null ? void 0 : _b.message) })
3982
+ /* @__PURE__ */ jsx15(Text12, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_b = errors.name) == null ? void 0 : _b.message) })
3730
3983
  ] }) }),
3731
3984
  /* @__PURE__ */ jsx15(
3732
- Button8,
3985
+ Button9,
3733
3986
  {
3734
3987
  size: "medium",
3735
3988
  variant: "primary",
3736
3989
  type: "submit",
3737
3990
  style: { width: "fit-content" },
3991
+ disabled: isLoading || isSubmitting,
3738
3992
  children: isSubmitting ? "updating..." : "Update"
3739
3993
  }
3740
3994
  )
@@ -3742,39 +3996,45 @@ var GeneralOrganization = ({
3742
3996
  };
3743
3997
 
3744
3998
  // react/components/organization/general/index.tsx
3745
- import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
3746
- function GeneralSetting({ organization }) {
3747
- return /* @__PURE__ */ jsxs14(Flex13, { direction: "column", gap: "large", style: { width: "100%" }, children: [
3748
- /* @__PURE__ */ jsx16(Flex13, { style: styles9.header, children: /* @__PURE__ */ jsx16(Text14, { size: 6, children: "General" }) }),
3749
- /* @__PURE__ */ jsxs14(Flex13, { direction: "column", gap: "large", style: styles9.container, children: [
3750
- /* @__PURE__ */ jsx16(GeneralProfile, {}),
3751
- /* @__PURE__ */ jsx16(Separator4, {}),
3752
- /* @__PURE__ */ jsx16(GeneralOrganization, { organization }),
3999
+ import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
4000
+ function GeneralSetting() {
4001
+ const {
4002
+ activeOrganization: organization,
4003
+ isActiveOrganizationLoading: isLoading
4004
+ } = useFrontier();
4005
+ return /* @__PURE__ */ jsxs13(Flex13, { direction: "column", style: { width: "100%" }, children: [
4006
+ /* @__PURE__ */ jsx16(Flex13, { style: styles2.header, children: /* @__PURE__ */ jsx16(Text13, { size: 6, children: "General" }) }),
4007
+ /* @__PURE__ */ jsxs13(Flex13, { direction: "column", gap: "large", style: styles2.container, children: [
4008
+ /* @__PURE__ */ jsx16(GeneralProfile, { organization, isLoading }),
3753
4009
  /* @__PURE__ */ jsx16(Separator4, {}),
3754
- /* @__PURE__ */ jsx16(GeneralDeleteOrganization, { organization })
3755
- ] })
4010
+ /* @__PURE__ */ jsx16(
4011
+ GeneralOrganization,
4012
+ {
4013
+ organization,
4014
+ isLoading
4015
+ }
4016
+ ),
4017
+ /* @__PURE__ */ jsx16(Separator4, {}),
4018
+ /* @__PURE__ */ jsx16(GeneralDeleteOrganization, { isLoading }),
4019
+ /* @__PURE__ */ jsx16(Separator4, {})
4020
+ ] })
3756
4021
  ] });
3757
4022
  }
3758
4023
  var GeneralDeleteOrganization = ({
3759
- organization
4024
+ isLoading
3760
4025
  }) => {
3761
- const navigate = useNavigate5();
3762
- const { client } = useFrontier();
3763
- const [isSubmitting, setIsSubmitting] = useState6(false);
3764
- const organizationId = organization == null ? void 0 : organization.id;
3765
- return /* @__PURE__ */ jsxs14(Flex13, { direction: "column", gap: "medium", children: [
3766
- /* @__PURE__ */ jsx16(Text14, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this organization and all of its data." }),
3767
- /* @__PURE__ */ jsxs14(
3768
- Button9,
4026
+ const navigate = useNavigate5({ from: "/" });
4027
+ return /* @__PURE__ */ jsxs13(Flex13, { direction: "column", gap: "medium", children: [
4028
+ /* @__PURE__ */ jsx16(Text13, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this organization and all of its data." }),
4029
+ /* @__PURE__ */ jsx16(
4030
+ Button10,
3769
4031
  {
3770
4032
  variant: "danger",
3771
4033
  type: "submit",
3772
4034
  size: "medium",
3773
- onClick: () => navigate("delete"),
3774
- children: [
3775
- "Delete ",
3776
- organization == null ? void 0 : organization.name
3777
- ]
4035
+ onClick: () => navigate({ to: "/delete" }),
4036
+ disabled: isLoading,
4037
+ children: "Delete organization"
3778
4038
  }
3779
4039
  ),
3780
4040
  /* @__PURE__ */ jsx16(Outlet2, {})
@@ -3783,27 +4043,51 @@ var GeneralDeleteOrganization = ({
3783
4043
 
3784
4044
  // react/components/organization/general/delete.tsx
3785
4045
  import {
3786
- Button as Button10,
4046
+ Button as Button11,
3787
4047
  Dialog as Dialog3,
3788
4048
  Flex as Flex14,
3789
- Image as Image4,
4049
+ Image as Image3,
3790
4050
  InputField as InputField4,
3791
4051
  Separator as Separator5,
3792
- Text as Text15,
4052
+ Text as Text14,
3793
4053
  TextField as TextField6
3794
4054
  } from "@raystack/apsara";
3795
4055
  import { yupResolver as yupResolver4 } from "@hookform/resolvers/yup";
3796
4056
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
3797
- import { useNavigate as useNavigate6 } from "react-router-dom";
4057
+ import { useNavigate as useNavigate6 } from "@tanstack/react-router";
3798
4058
  import { toast as toast5 } from "sonner";
3799
4059
  import * as yup4 from "yup";
3800
- import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
4060
+
4061
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-oBk44t12DjLt/core/react/components/organization/general/general.module.css.js
4062
+ var digest8 = "ae14bcafe45f85c29f4d528cdeb2894ebc661b2f7b5f89a8c8c92fcc9dd177f8";
4063
+ var css8 = `._profileDescription_1xix4_1 {
4064
+ color: var(--foreground-muted);
4065
+ }
4066
+
4067
+ ._deleteIcon_1xix4_5 {
4068
+ cursor: pointer;
4069
+ }
4070
+
4071
+ `;
4072
+ (function() {
4073
+ if (typeof document === "undefined") {
4074
+ return;
4075
+ }
4076
+ if (!document.getElementById(digest8)) {
4077
+ var el = document.createElement("style");
4078
+ el.id = digest8;
4079
+ el.textContent = css8;
4080
+ document.head.appendChild(el);
4081
+ }
4082
+ })();
4083
+ var general_module_css_default = { "profileDescription": "_profileDescription_1xix4_1", "deleteIcon": "_deleteIcon_1xix4_5" };
4084
+
4085
+ // react/components/organization/general/delete.tsx
4086
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
3801
4087
  var orgSchema = yup4.object({
3802
4088
  name: yup4.string()
3803
4089
  }).required();
3804
- var DeleteOrganization = ({
3805
- organization
3806
- }) => {
4090
+ var DeleteOrganization = () => {
3807
4091
  var _a;
3808
4092
  const {
3809
4093
  watch,
@@ -3814,8 +4098,8 @@ var DeleteOrganization = ({
3814
4098
  } = useForm4({
3815
4099
  resolver: yupResolver4(orgSchema)
3816
4100
  });
3817
- const navigate = useNavigate6();
3818
- const { client } = useFrontier();
4101
+ const navigate = useNavigate6({ from: "/delete" });
4102
+ const { client, activeOrganization: organization } = useFrontier();
3819
4103
  function onSubmit(data) {
3820
4104
  return __async(this, null, function* () {
3821
4105
  if (!client)
@@ -3836,25 +4120,36 @@ var DeleteOrganization = ({
3836
4120
  });
3837
4121
  }
3838
4122
  const name = watch("name", "");
3839
- return /* @__PURE__ */ jsx17(Dialog3, { open: true, children: /* @__PURE__ */ jsxs15(Dialog3.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
3840
- /* @__PURE__ */ jsxs15(Flex14, { justify: "between", style: { padding: "16px 24px" }, children: [
3841
- /* @__PURE__ */ jsx17(Text15, { size: 6, style: { fontWeight: "500" }, children: "Verify organisation deletion" }),
3842
- /* @__PURE__ */ jsx17(Image4, { alt: "cross", src: cross_default, onClick: () => navigate("/") })
4123
+ return /* @__PURE__ */ jsx17(Dialog3, { open: true, children: /* @__PURE__ */ jsxs14(Dialog3.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
4124
+ /* @__PURE__ */ jsxs14(Flex14, { justify: "between", style: { padding: "16px 24px" }, children: [
4125
+ /* @__PURE__ */ jsx17(Text14, { size: 6, style: { fontWeight: "500" }, children: "Verify organisation deletion" }),
4126
+ /* @__PURE__ */ jsx17(
4127
+ Image3,
4128
+ {
4129
+ className: general_module_css_default.deleteIcon,
4130
+ alt: "cross",
4131
+ style: { cursor: "pointer" },
4132
+ src: cross_default,
4133
+ onClick: () => navigate({ to: "/" })
4134
+ }
4135
+ )
3843
4136
  ] }),
3844
4137
  /* @__PURE__ */ jsx17(Separator5, {}),
3845
- /* @__PURE__ */ jsx17("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs15(
4138
+ /* @__PURE__ */ jsx17("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs14(
3846
4139
  Flex14,
3847
4140
  {
3848
4141
  direction: "column",
3849
4142
  gap: "medium",
3850
4143
  style: { padding: "24px 32px" },
3851
4144
  children: [
3852
- /* @__PURE__ */ jsxs15(Text15, { size: 2, children: [
3853
- "This action can not be undone. This will permanently delete all the projects and resources in ",
3854
- organization == null ? void 0 : organization.title,
4145
+ /* @__PURE__ */ jsxs14(Text14, { size: 2, children: [
4146
+ "This action ",
4147
+ /* @__PURE__ */ jsx17("b", { children: "can not" }),
4148
+ " be undone. This will permanently delete all the projects and resources in ",
4149
+ /* @__PURE__ */ jsx17("b", { children: organization == null ? void 0 : organization.title }),
3855
4150
  "."
3856
4151
  ] }),
3857
- /* @__PURE__ */ jsxs15(InputField4, { label: "Please type name of the organisation to confirm.", children: [
4152
+ /* @__PURE__ */ jsxs14(InputField4, { label: "Please type name of the organisation to confirm.", children: [
3858
4153
  /* @__PURE__ */ jsx17(
3859
4154
  Controller4,
3860
4155
  {
@@ -3869,11 +4164,11 @@ var DeleteOrganization = ({
3869
4164
  name: "name"
3870
4165
  }
3871
4166
  ),
3872
- /* @__PURE__ */ jsx17(Text15, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
4167
+ /* @__PURE__ */ jsx17(Text14, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
3873
4168
  ] }),
3874
- /* @__PURE__ */ jsx17(Flex14, { children: /* @__PURE__ */ jsx17(Text15, { size: 2, children: "I acknowledge I understand that all of the organisation data will be deleted and want to proceed." }) }),
4169
+ /* @__PURE__ */ jsx17(Flex14, { children: /* @__PURE__ */ jsx17(Text14, { size: 2, children: "I acknowledge I understand that all of the organisation data will be deleted and want to proceed." }) }),
3875
4170
  /* @__PURE__ */ jsx17(
3876
- Button10,
4171
+ Button11,
3877
4172
  {
3878
4173
  variant: "danger",
3879
4174
  size: "medium",
@@ -3890,30 +4185,36 @@ var DeleteOrganization = ({
3890
4185
  };
3891
4186
 
3892
4187
  // react/components/organization/members/index.tsx
3893
- import { Button as Button11, DataTable as DataTable2, EmptyState as EmptyState2, Flex as Flex16, Text as Text17 } from "@raystack/apsara";
3894
- import { useCallback as useCallback7, useEffect as useEffect6, useState as useState7 } from "react";
3895
- import { Outlet as Outlet3, useLocation as useLocation2, useNavigate as useNavigate7 } from "react-router-dom";
4188
+ import { Button as Button12, DataTable as DataTable2, EmptyState as EmptyState2, Flex as Flex16, Text as Text16 } from "@raystack/apsara";
4189
+ import { Outlet as Outlet3, useNavigate as useNavigate8, useRouterState as useRouterState2 } from "@tanstack/react-router";
4190
+ import { useCallback as useCallback7, useEffect as useEffect6, useMemo, useState as useState6 } from "react";
3896
4191
 
3897
4192
  // react/components/organization/members/member.columns.tsx
3898
- import { Avatar, Flex as Flex15, Label, Text as Text16 } from "@raystack/apsara";
3899
- import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
3900
- var columns2 = [
4193
+ import { Avatar as Avatar2, Flex as Flex15, Label, Text as Text15 } from "@raystack/apsara";
4194
+ import { useNavigate as useNavigate7 } from "@tanstack/react-router";
4195
+ import { toast as toast6 } from "sonner";
4196
+ import Skeleton3 from "react-loading-skeleton";
4197
+ import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
4198
+ var getColumns = (organizationId, isLoading) => [
3901
4199
  {
3902
4200
  header: "",
3903
- accessorKey: "image",
4201
+ accessorKey: "profile_picture",
3904
4202
  size: 44,
3905
4203
  meta: {
3906
4204
  style: {
3907
4205
  width: "30px",
4206
+ maxHeight: isLoading ? "16px" : "auto",
3908
4207
  padding: 0
3909
4208
  }
3910
4209
  },
3911
- cell: ({ row, getValue }) => {
4210
+ cell: isLoading ? () => /* @__PURE__ */ jsx18(Skeleton3, {}) : ({ row, getValue }) => {
4211
+ var _a;
3912
4212
  return /* @__PURE__ */ jsx18(
3913
- Avatar,
4213
+ Avatar2,
3914
4214
  {
3915
- src: "https://assets.codepen.io/285131/github.svg",
3916
- fallback: "P"
4215
+ src: getValue(),
4216
+ fallback: getInitials((_a = row.original) == null ? void 0 : _a.title),
4217
+ style: { marginRight: "var(--mr-12)" }
3917
4218
  }
3918
4219
  );
3919
4220
  }
@@ -3922,21 +4223,30 @@ var columns2 = [
3922
4223
  accessorKey: "title",
3923
4224
  meta: {
3924
4225
  style: {
3925
- paddingLeft: 0
4226
+ paddingLeft: 0,
4227
+ maxHeight: isLoading ? "16px" : "auto"
3926
4228
  }
3927
4229
  },
3928
- cell: ({ row, getValue }) => {
3929
- return /* @__PURE__ */ jsxs16(Flex15, { direction: "column", children: [
4230
+ cell: isLoading ? () => /* @__PURE__ */ jsx18(Skeleton3, {}) : ({ row, getValue }) => {
4231
+ return /* @__PURE__ */ jsxs15(Flex15, { direction: "column", gap: "extra-small", children: [
3930
4232
  /* @__PURE__ */ jsx18(Label, { style: { fontWeight: "$500" }, children: getValue() }),
3931
- /* @__PURE__ */ jsx18(Text16, { children: row.original.email })
4233
+ /* @__PURE__ */ jsx18(Text15, { children: row.original.email })
3932
4234
  ] });
3933
4235
  }
3934
4236
  },
3935
4237
  {
3936
4238
  accessorKey: "email",
3937
- cell: ({ row, getValue }) => {
4239
+ meta: {
4240
+ style: {
4241
+ maxHeight: isLoading ? "16px" : "auto"
4242
+ }
4243
+ },
4244
+ cell: isLoading ? () => /* @__PURE__ */ jsx18(Skeleton3, {}) : ({ row, getValue }) => {
3938
4245
  var _a;
3939
- return /* @__PURE__ */ jsx18(Text16, { children: getValue() || ((_a = row.original) == null ? void 0 : _a.user_id) });
4246
+ return (
4247
+ // @ts-ignore
4248
+ /* @__PURE__ */ jsx18(Text15, { children: getValue() || ((_a = row.original) == null ? void 0 : _a.user_id) })
4249
+ );
3940
4250
  }
3941
4251
  },
3942
4252
  {
@@ -3944,69 +4254,143 @@ var columns2 = [
3944
4254
  accessorKey: "id",
3945
4255
  meta: {
3946
4256
  style: {
3947
- textAlign: "end"
4257
+ textAlign: "end",
4258
+ maxHeight: isLoading ? "16px" : "auto"
3948
4259
  }
3949
4260
  },
3950
- cell: (info) => /* @__PURE__ */ jsx18(DotsHorizontalIcon, {})
4261
+ cell: isLoading ? () => /* @__PURE__ */ jsx18(Skeleton3, {}) : ({ row }) => /* @__PURE__ */ jsx18(
4262
+ MembersActions,
4263
+ {
4264
+ member: row.original,
4265
+ organizationId
4266
+ }
4267
+ )
3951
4268
  }
3952
4269
  ];
4270
+ var MembersActions = ({
4271
+ member,
4272
+ organizationId
4273
+ }) => {
4274
+ const { client } = useFrontier();
4275
+ const navigate = useNavigate7({ from: "/members" });
4276
+ function deleteMember() {
4277
+ return __async(this, null, function* () {
4278
+ try {
4279
+ if (member == null ? void 0 : member.invited) {
4280
+ yield client == null ? void 0 : client.frontierServiceDeleteOrganizationInvitation(
4281
+ // @ts-ignore
4282
+ member.org_id,
4283
+ member == null ? void 0 : member.id
4284
+ );
4285
+ } else {
4286
+ yield client == null ? void 0 : client.frontierServiceRemoveOrganizationUser(
4287
+ organizationId,
4288
+ member == null ? void 0 : member.id
4289
+ );
4290
+ }
4291
+ navigate({ to: "/members" });
4292
+ toast6.success("Member deleted");
4293
+ } catch ({ error }) {
4294
+ toast6.error("Something went wrong", {
4295
+ description: error.message
4296
+ });
4297
+ }
4298
+ });
4299
+ }
4300
+ return /* @__PURE__ */ jsx18(Flex15, { align: "center", justify: "end", gap: "large", children: /* @__PURE__ */ jsx18(
4301
+ TrashIcon,
4302
+ {
4303
+ onClick: deleteMember,
4304
+ color: "var(--foreground-danger)",
4305
+ style: { cursor: "pointer" }
4306
+ }
4307
+ ) });
4308
+ };
3953
4309
 
3954
4310
  // react/components/organization/members/index.tsx
3955
- import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
3956
- function WorkspaceMembers({
3957
- organization
3958
- }) {
3959
- const [users, setUsers] = useState7([]);
3960
- const { client } = useFrontier();
3961
- const location = useLocation2();
4311
+ import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
4312
+ function WorkspaceMembers() {
4313
+ const [users, setUsers] = useState6([]);
4314
+ const [isUsersLoading, setIsUsersLoading] = useState6(false);
4315
+ const { client, activeOrganization: organization } = useFrontier();
4316
+ const routerState = useRouterState2();
3962
4317
  const fetchOrganizationUser = useCallback7(() => __async(this, null, function* () {
3963
4318
  if (!(organization == null ? void 0 : organization.id))
3964
4319
  return;
3965
- const {
3966
- // @ts-ignore
3967
- data: { users: users2 }
3968
- } = yield client == null ? void 0 : client.frontierServiceListOrganizationUsers(organization == null ? void 0 : organization.id);
3969
- setUsers(users2);
3970
- const {
3971
- // @ts-ignore
3972
- data: { invitations }
3973
- } = yield client == null ? void 0 : client.frontierServiceListOrganizationInvitations(
3974
- organization == null ? void 0 : organization.id
3975
- );
3976
- setUsers([...users2, ...invitations]);
4320
+ try {
4321
+ setIsUsersLoading(true);
4322
+ const {
4323
+ // @ts-ignore
4324
+ data: { users: users2 }
4325
+ } = yield client == null ? void 0 : client.frontierServiceListOrganizationUsers(organization == null ? void 0 : organization.id);
4326
+ setUsers(users2);
4327
+ const {
4328
+ // @ts-ignore
4329
+ data: { invitations }
4330
+ } = yield client == null ? void 0 : client.frontierServiceListOrganizationInvitations(
4331
+ organization == null ? void 0 : organization.id
4332
+ );
4333
+ const invitedUsers = invitations.map((user) => __spreadProps(__spreadValues({}, user), {
4334
+ invited: true
4335
+ }));
4336
+ setUsers([...users2, ...invitedUsers]);
4337
+ } catch (err) {
4338
+ console.error(err);
4339
+ } finally {
4340
+ setIsUsersLoading(false);
4341
+ }
3977
4342
  }), [client, organization == null ? void 0 : organization.id]);
3978
4343
  useEffect6(() => {
3979
4344
  fetchOrganizationUser();
3980
4345
  }, [organization == null ? void 0 : organization.id, client, fetchOrganizationUser]);
3981
4346
  useEffect6(() => {
3982
4347
  fetchOrganizationUser();
3983
- }, [fetchOrganizationUser, location.key]);
3984
- return /* @__PURE__ */ jsxs17(Flex16, { direction: "column", gap: "large", style: { width: "100%" }, children: [
3985
- /* @__PURE__ */ jsx19(Flex16, { style: styles9.header, children: /* @__PURE__ */ jsx19(Text17, { size: 6, children: "Members" }) }),
3986
- /* @__PURE__ */ jsx19(Flex16, { direction: "column", gap: "large", style: styles9.container, children: /* @__PURE__ */ jsxs17(Flex16, { direction: "column", style: { gap: "24px" }, children: [
4348
+ }, [fetchOrganizationUser, routerState.location.key]);
4349
+ const updatedUsers = useMemo(
4350
+ () => isUsersLoading ? [{ id: 1 }, { id: 2 }, { id: 3 }] : users.length ? users : [],
4351
+ [isUsersLoading, users]
4352
+ );
4353
+ return /* @__PURE__ */ jsxs16(Flex16, { direction: "column", style: { width: "100%" }, children: [
4354
+ /* @__PURE__ */ jsx19(Flex16, { style: styles2.header, children: /* @__PURE__ */ jsx19(Text16, { size: 6, children: "Members" }) }),
4355
+ /* @__PURE__ */ jsx19(Flex16, { direction: "column", gap: "large", style: styles2.container, children: /* @__PURE__ */ jsxs16(Flex16, { direction: "column", style: { gap: "24px" }, children: [
3987
4356
  /* @__PURE__ */ jsx19(ManageMembers, {}),
3988
- /* @__PURE__ */ jsx19(MembersTable, { users })
4357
+ (organization == null ? void 0 : organization.id) ? /* @__PURE__ */ jsx19(
4358
+ MembersTable,
4359
+ {
4360
+ users: updatedUsers,
4361
+ organizationId: organization == null ? void 0 : organization.id,
4362
+ isLoading: isUsersLoading
4363
+ }
4364
+ ) : null
3989
4365
  ] }) }),
3990
4366
  /* @__PURE__ */ jsx19(Outlet3, {})
3991
4367
  ] });
3992
4368
  }
3993
- var ManageMembers = () => /* @__PURE__ */ jsx19(Flex16, { direction: "row", justify: "between", align: "center", children: /* @__PURE__ */ jsxs17(Flex16, { direction: "column", gap: "small", children: [
3994
- /* @__PURE__ */ jsx19(Text17, { size: 6, children: "Manage members" }),
3995
- /* @__PURE__ */ jsx19(Text17, { size: 4, style: { color: "var(--foreground-muted)" }, children: "Manage members for this domain." })
4369
+ var ManageMembers = () => /* @__PURE__ */ jsx19(Flex16, { direction: "row", justify: "between", align: "center", children: /* @__PURE__ */ jsxs16(Flex16, { direction: "column", gap: "small", children: [
4370
+ /* @__PURE__ */ jsx19(Text16, { size: 6, children: "Manage members" }),
4371
+ /* @__PURE__ */ jsx19(Text16, { size: 4, style: { color: "var(--foreground-muted)" }, children: "Manage members for this domain." })
3996
4372
  ] }) });
3997
- var MembersTable = ({ users }) => {
3998
- let navigate = useNavigate7();
4373
+ var MembersTable = ({
4374
+ users,
4375
+ organizationId,
4376
+ isLoading
4377
+ }) => {
4378
+ let navigate = useNavigate8({ from: "/members" });
3999
4379
  const tableStyle = (users == null ? void 0 : users.length) ? { width: "100%" } : { width: "100%", height: "100%" };
4380
+ const columns5 = useMemo(
4381
+ () => getColumns(organizationId, isLoading),
4382
+ [organizationId, isLoading]
4383
+ );
4000
4384
  return /* @__PURE__ */ jsx19(Flex16, { direction: "row", children: /* @__PURE__ */ jsx19(
4001
4385
  DataTable2,
4002
4386
  {
4003
- data: users != null ? users : [],
4004
- columns: columns2,
4387
+ data: users,
4388
+ columns: columns5,
4005
4389
  emptyState: noDataChildren2,
4006
- parentStyle: { height: "calc(100vh - 400px)" },
4390
+ parentStyle: { height: "calc(100vh - 222px)" },
4007
4391
  style: tableStyle,
4008
- children: /* @__PURE__ */ jsx19(DataTable2.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs17(Flex16, { justify: "between", gap: "small", children: [
4009
- /* @__PURE__ */ jsx19(Flex16, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx19(
4392
+ children: /* @__PURE__ */ jsx19(DataTable2.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs16(Flex16, { justify: "between", gap: "small", children: [
4393
+ /* @__PURE__ */ jsx19(Flex16, { style: { maxWidth: "360px" }, children: /* @__PURE__ */ jsx19(
4010
4394
  DataTable2.GloabalSearch,
4011
4395
  {
4012
4396
  placeholder: "Search by name or email",
@@ -4014,11 +4398,11 @@ var MembersTable = ({ users }) => {
4014
4398
  }
4015
4399
  ) }),
4016
4400
  /* @__PURE__ */ jsx19(
4017
- Button11,
4401
+ Button12,
4018
4402
  {
4019
4403
  variant: "primary",
4020
4404
  style: { width: "fit-content" },
4021
- onClick: () => navigate("/members/modal"),
4405
+ onClick: () => navigate({ to: "/members/modal" }),
4022
4406
  children: "Invite people"
4023
4407
  }
4024
4408
  )
@@ -4026,7 +4410,7 @@ var MembersTable = ({ users }) => {
4026
4410
  }
4027
4411
  ) });
4028
4412
  };
4029
- var noDataChildren2 = /* @__PURE__ */ jsxs17(EmptyState2, { children: [
4413
+ var noDataChildren2 = /* @__PURE__ */ jsxs16(EmptyState2, { children: [
4030
4414
  /* @__PURE__ */ jsx19("div", { className: "svg-container" }),
4031
4415
  /* @__PURE__ */ jsx19("h3", { children: "0 members in your workspace" }),
4032
4416
  /* @__PURE__ */ jsx19("div", { className: "pera", children: "Try adding new members." })
@@ -4034,30 +4418,28 @@ var noDataChildren2 = /* @__PURE__ */ jsxs17(EmptyState2, { children: [
4034
4418
 
4035
4419
  // react/components/organization/members/invite.tsx
4036
4420
  import {
4037
- Button as Button12,
4421
+ Button as Button13,
4038
4422
  Dialog as Dialog4,
4039
4423
  Flex as Flex17,
4040
- Image as Image5,
4424
+ Image as Image4,
4041
4425
  InputField as InputField5,
4042
4426
  Select,
4043
4427
  Separator as Separator6,
4044
- Text as Text18
4428
+ Text as Text17
4045
4429
  } from "@raystack/apsara";
4046
4430
  import { yupResolver as yupResolver5 } from "@hookform/resolvers/yup";
4047
- import { useEffect as useEffect7, useState as useState8 } from "react";
4431
+ import { useEffect as useEffect7, useState as useState7 } from "react";
4048
4432
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
4049
- import { useNavigate as useNavigate8 } from "react-router-dom";
4050
- import { toast as toast6 } from "sonner";
4433
+ import { useNavigate as useNavigate9 } from "@tanstack/react-router";
4434
+ import { toast as toast7 } from "sonner";
4051
4435
  import * as yup5 from "yup";
4052
- import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
4436
+ import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
4053
4437
  var inviteSchema = yup5.object({
4054
4438
  type: yup5.string(),
4055
4439
  team: yup5.string(),
4056
4440
  emails: yup5.string().required()
4057
4441
  });
4058
- var InviteMember = ({
4059
- organization
4060
- }) => {
4442
+ var InviteMember = () => {
4061
4443
  var _a, _b, _c;
4062
4444
  const {
4063
4445
  reset,
@@ -4067,12 +4449,12 @@ var InviteMember = ({
4067
4449
  } = useForm5({
4068
4450
  resolver: yupResolver5(inviteSchema)
4069
4451
  });
4070
- const [teams, setTeams] = useState8([]);
4071
- const [roles, setRoles] = useState8([]);
4072
- const [selectedRole, setRole] = useState8();
4073
- const [selectedTeam, setTeam] = useState8();
4074
- const navigate = useNavigate8();
4075
- const { client } = useFrontier();
4452
+ const [teams, setTeams] = useState7([]);
4453
+ const [roles, setRoles] = useState7([]);
4454
+ const [selectedRole, setRole] = useState7();
4455
+ const [selectedTeam, setTeam] = useState7();
4456
+ const navigate = useNavigate9({ from: "/members/modal" });
4457
+ const { client, activeOrganization: organization } = useFrontier();
4076
4458
  function onSubmit(_0) {
4077
4459
  return __async(this, arguments, function* ({ emails }) {
4078
4460
  const emailList = emails.split(",").map((e) => e.trim());
@@ -4093,10 +4475,10 @@ var InviteMember = ({
4093
4475
  roleIds: [selectedRole]
4094
4476
  }
4095
4477
  );
4096
- toast6.success("memebers added");
4097
- navigate("/members");
4478
+ toast7.success("memebers added");
4479
+ navigate({ to: "/members" });
4098
4480
  } catch ({ error }) {
4099
- toast6.error("Something went wrong", {
4481
+ toast7.error("Something went wrong", {
4100
4482
  description: error.message
4101
4483
  });
4102
4484
  }
@@ -4125,27 +4507,28 @@ var InviteMember = ({
4125
4507
  }
4126
4508
  getInformation();
4127
4509
  }, [client, organization == null ? void 0 : organization.id]);
4128
- return /* @__PURE__ */ jsx20(Dialog4, { open: true, children: /* @__PURE__ */ jsx20(Dialog4.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: /* @__PURE__ */ jsxs18("form", { onSubmit: handleSubmit(onSubmit), children: [
4129
- /* @__PURE__ */ jsxs18(Flex17, { justify: "between", style: { padding: "16px 24px" }, children: [
4130
- /* @__PURE__ */ jsx20(Text18, { size: 6, style: { fontWeight: "500" }, children: "Invite people" }),
4510
+ return /* @__PURE__ */ jsx20(Dialog4, { open: true, children: /* @__PURE__ */ jsx20(Dialog4.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: /* @__PURE__ */ jsxs17("form", { onSubmit: handleSubmit(onSubmit), children: [
4511
+ /* @__PURE__ */ jsxs17(Flex17, { justify: "between", style: { padding: "16px 24px" }, children: [
4512
+ /* @__PURE__ */ jsx20(Text17, { size: 6, style: { fontWeight: "500" }, children: "Invite people" }),
4131
4513
  /* @__PURE__ */ jsx20(
4132
- Image5,
4514
+ Image4,
4133
4515
  {
4134
4516
  alt: "cross",
4517
+ style: { cursor: "pointer" },
4135
4518
  src: cross_default,
4136
- onClick: () => navigate("/members")
4519
+ onClick: () => navigate({ to: "/members" })
4137
4520
  }
4138
4521
  )
4139
4522
  ] }),
4140
4523
  /* @__PURE__ */ jsx20(Separator6, {}),
4141
- /* @__PURE__ */ jsxs18(
4524
+ /* @__PURE__ */ jsxs17(
4142
4525
  Flex17,
4143
4526
  {
4144
4527
  direction: "column",
4145
4528
  gap: "medium",
4146
4529
  style: { padding: "24px 32px" },
4147
4530
  children: [
4148
- /* @__PURE__ */ jsxs18(InputField5, { label: "Invite as", children: [
4531
+ /* @__PURE__ */ jsxs17(InputField5, { label: "Invite as", children: [
4149
4532
  /* @__PURE__ */ jsx20(
4150
4533
  Controller5,
4151
4534
  {
@@ -4166,26 +4549,26 @@ var InviteMember = ({
4166
4549
  borderRadius: "var(--br-4)",
4167
4550
  color: "var(--foreground-base)"
4168
4551
  },
4169
- placeholder: "Enter comma seprated emails like abc@domain.com, bcd@domai.com"
4552
+ placeholder: "Enter comma seprated emails like abc@domain.com, bcd@domain.com"
4170
4553
  })
4171
4554
  ),
4172
4555
  control,
4173
4556
  name: "emails"
4174
4557
  }
4175
4558
  ),
4176
- /* @__PURE__ */ jsx20(Text18, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_a = errors.emails) == null ? void 0 : _a.message) })
4559
+ /* @__PURE__ */ jsx20(Text17, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_a = errors.emails) == null ? void 0 : _a.message) })
4177
4560
  ] }),
4178
- /* @__PURE__ */ jsxs18(InputField5, { label: "Invite as", children: [
4561
+ /* @__PURE__ */ jsxs17(InputField5, { label: "Invite as", children: [
4179
4562
  /* @__PURE__ */ jsx20(
4180
4563
  Controller5,
4181
4564
  {
4182
- render: ({ field }) => /* @__PURE__ */ jsxs18(
4565
+ render: ({ field }) => /* @__PURE__ */ jsxs17(
4183
4566
  Select,
4184
4567
  __spreadProps(__spreadValues({}, field), {
4185
4568
  onValueChange: (value) => setRole(value),
4186
4569
  children: [
4187
4570
  /* @__PURE__ */ jsx20(Select.Trigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx20(Select.Value, { placeholder: "Select a role" }) }),
4188
- /* @__PURE__ */ jsx20(Select.Content, { style: { width: "100% !important" }, children: /* @__PURE__ */ jsxs18(Select.Group, { children: [
4571
+ /* @__PURE__ */ jsx20(Select.Content, { style: { width: "100% !important" }, children: /* @__PURE__ */ jsxs17(Select.Group, { children: [
4189
4572
  !roles.length && /* @__PURE__ */ jsx20(Select.Label, { children: "No roles available" }),
4190
4573
  roles.map((role) => /* @__PURE__ */ jsx20(Select.Item, { value: role.id, children: role.title || role.name }, role.id))
4191
4574
  ] }) })
@@ -4196,13 +4579,13 @@ var InviteMember = ({
4196
4579
  name: "type"
4197
4580
  }
4198
4581
  ),
4199
- /* @__PURE__ */ jsx20(Text18, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_b = errors.emails) == null ? void 0 : _b.message) })
4582
+ /* @__PURE__ */ jsx20(Text17, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_b = errors.emails) == null ? void 0 : _b.message) })
4200
4583
  ] }),
4201
- /* @__PURE__ */ jsxs18(InputField5, { label: "Add to team", children: [
4584
+ /* @__PURE__ */ jsxs17(InputField5, { label: "Add to team", children: [
4202
4585
  /* @__PURE__ */ jsx20(
4203
4586
  Controller5,
4204
4587
  {
4205
- render: ({ field }) => /* @__PURE__ */ jsxs18(
4588
+ render: ({ field }) => /* @__PURE__ */ jsxs17(
4206
4589
  Select,
4207
4590
  __spreadProps(__spreadValues({}, field), {
4208
4591
  onValueChange: (value) => setTeam(value),
@@ -4216,10 +4599,10 @@ var InviteMember = ({
4216
4599
  name: "team"
4217
4600
  }
4218
4601
  ),
4219
- /* @__PURE__ */ jsx20(Text18, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_c = errors.emails) == null ? void 0 : _c.message) })
4602
+ /* @__PURE__ */ jsx20(Text17, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.emails && String((_c = errors.emails) == null ? void 0 : _c.message) })
4220
4603
  ] }),
4221
4604
  /* @__PURE__ */ jsx20(Separator6, {}),
4222
- /* @__PURE__ */ jsx20(Flex17, { justify: "end", children: /* @__PURE__ */ jsx20(Button12, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "sending..." : "Send invite" }) })
4605
+ /* @__PURE__ */ jsx20(Flex17, { justify: "end", children: /* @__PURE__ */ jsx20(Button13, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "sending..." : "Send invite" }) })
4223
4606
  ]
4224
4607
  }
4225
4608
  )
@@ -4230,10 +4613,10 @@ var InviteMember = ({
4230
4613
  import {
4231
4614
  Box as Box2,
4232
4615
  Flex as Flex18,
4233
- Image as Image6,
4616
+ Image as Image5,
4234
4617
  Select as Select2,
4235
4618
  Separator as Separator7,
4236
- Text as Text19,
4619
+ Text as Text18,
4237
4620
  useTheme
4238
4621
  } from "@raystack/apsara";
4239
4622
 
@@ -4244,24 +4627,24 @@ var close_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0
4244
4627
  var open_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M3.33333 2.5C2.8731 2.5 2.5 2.8731 2.5 3.33333V12.6667C2.5 13.1269 2.8731 13.5 3.33333 13.5H5.5V2.5H3.33333ZM6.5 2.5V13.5H12.6667C13.1269 13.5 13.5 13.1269 13.5 12.6667V3.33333C13.5 2.8731 13.1269 2.5 12.6667 2.5H6.5ZM3.33333 14.5H6H12.6667C13.6792 14.5 14.5 13.6792 14.5 12.6667V3.33333C14.5 2.32081 13.6792 1.5 12.6667 1.5H6H3.33333C2.32081 1.5 1.5 2.32081 1.5 3.33333V12.6667C1.5 13.6792 2.32081 14.5 3.33333 14.5ZM9.68689 5.64645C9.49163 5.45118 9.17505 5.45118 8.97978 5.64645C8.78452 5.84171 8.78452 6.15829 8.97978 6.35355L10.6262 8L8.97978 9.64645C8.78452 9.84171 8.78452 10.1583 8.97978 10.3536C9.17505 10.5488 9.49163 10.5488 9.68689 10.3536L11.6869 8.35355C11.8822 8.15829 11.8822 7.84171 11.6869 7.64645L9.68689 5.64645Z" fill="%23687076"/>%0A</svg>%0A';
4245
4628
 
4246
4629
  // react/components/organization/preferences/index.tsx
4247
- import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
4630
+ import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
4248
4631
  var themeOptions = [
4249
4632
  {
4250
- title: /* @__PURE__ */ jsxs19(Flex18, { align: "center", gap: "small", children: [
4633
+ title: /* @__PURE__ */ jsxs18(Flex18, { align: "center", gap: "small", children: [
4251
4634
  /* @__PURE__ */ jsx21(SunIcon, {}),
4252
4635
  " Light"
4253
4636
  ] }),
4254
4637
  value: "light"
4255
4638
  },
4256
4639
  {
4257
- title: /* @__PURE__ */ jsxs19(Flex18, { align: "center", gap: "small", children: [
4640
+ title: /* @__PURE__ */ jsxs18(Flex18, { align: "center", gap: "small", children: [
4258
4641
  /* @__PURE__ */ jsx21(MoonIcon, {}),
4259
4642
  " dark"
4260
4643
  ] }),
4261
4644
  value: "dark"
4262
4645
  },
4263
4646
  {
4264
- title: /* @__PURE__ */ jsxs19(Flex18, { align: "center", gap: "small", children: [
4647
+ title: /* @__PURE__ */ jsxs18(Flex18, { align: "center", gap: "small", children: [
4265
4648
  /* @__PURE__ */ jsx21(GearIcon, {}),
4266
4649
  " System"
4267
4650
  ] }),
@@ -4270,15 +4653,15 @@ var themeOptions = [
4270
4653
  ];
4271
4654
  var sidebarOptions = [
4272
4655
  {
4273
- title: /* @__PURE__ */ jsxs19(Flex18, { align: "center", gap: "small", children: [
4274
- /* @__PURE__ */ jsx21(Image6, { alt: "open", width: 16, height: 16, src: open_default }),
4656
+ title: /* @__PURE__ */ jsxs18(Flex18, { align: "center", gap: "small", children: [
4657
+ /* @__PURE__ */ jsx21(Image5, { alt: "open", width: 16, height: 16, src: open_default }),
4275
4658
  " Open"
4276
4659
  ] }),
4277
4660
  value: "open"
4278
4661
  },
4279
4662
  {
4280
- title: /* @__PURE__ */ jsxs19(Flex18, { align: "center", gap: "small", children: [
4281
- /* @__PURE__ */ jsx21(Image6, { alt: "close", width: 16, height: 16, src: close_default }),
4663
+ title: /* @__PURE__ */ jsxs18(Flex18, { align: "center", gap: "small", children: [
4664
+ /* @__PURE__ */ jsx21(Image5, { alt: "close", width: 16, height: 16, src: close_default }),
4282
4665
  " Collapsed"
4283
4666
  ] }),
4284
4667
  value: "collapsed"
@@ -4286,9 +4669,9 @@ var sidebarOptions = [
4286
4669
  ];
4287
4670
  function UserPreferences() {
4288
4671
  const { themes, theme, setTheme } = useTheme();
4289
- return /* @__PURE__ */ jsxs19(Flex18, { direction: "column", gap: "large", style: { width: "100%" }, children: [
4290
- /* @__PURE__ */ jsx21(Flex18, { style: styles9.header, children: /* @__PURE__ */ jsx21(Text19, { size: 6, children: "Preferences" }) }),
4291
- /* @__PURE__ */ jsxs19(Flex18, { direction: "column", gap: "large", style: styles9.container, children: [
4672
+ return /* @__PURE__ */ jsxs18(Flex18, { direction: "column", style: { width: "100%" }, children: [
4673
+ /* @__PURE__ */ jsx21(Flex18, { style: styles2.header, children: /* @__PURE__ */ jsx21(Text18, { size: 6, children: "Preferences" }) }),
4674
+ /* @__PURE__ */ jsxs18(Flex18, { direction: "column", gap: "large", style: styles2.container, children: [
4292
4675
  /* @__PURE__ */ jsx21(
4293
4676
  PreferencesSelection,
4294
4677
  {
@@ -4324,12 +4707,12 @@ var PreferencesSelection = ({
4324
4707
  defaultValue,
4325
4708
  onSelection
4326
4709
  }) => {
4327
- return /* @__PURE__ */ jsxs19(Flex18, { direction: "row", justify: "between", align: "center", children: [
4328
- /* @__PURE__ */ jsxs19(Flex18, { direction: "column", gap: "small", children: [
4329
- /* @__PURE__ */ jsx21(Text19, { size: 6, children: label }),
4330
- /* @__PURE__ */ jsx21(Text19, { size: 4, style: { color: "var(--foreground-muted)" }, children: text })
4710
+ return /* @__PURE__ */ jsxs18(Flex18, { direction: "row", justify: "between", align: "center", children: [
4711
+ /* @__PURE__ */ jsxs18(Flex18, { direction: "column", gap: "small", children: [
4712
+ /* @__PURE__ */ jsx21(Text18, { size: 6, children: label }),
4713
+ /* @__PURE__ */ jsx21(Text18, { size: 4, style: { color: "var(--foreground-muted)" }, children: text })
4331
4714
  ] }),
4332
- /* @__PURE__ */ jsxs19(Select2, { onValueChange: onSelection, defaultValue, children: [
4715
+ /* @__PURE__ */ jsxs18(Select2, { onValueChange: onSelection, defaultValue, children: [
4333
4716
  /* @__PURE__ */ jsx21(Select2.Trigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx21(Select2.Value, { placeholder: label }) }),
4334
4717
  /* @__PURE__ */ jsx21(Select2.Content, { style: { minWidth: "120px" }, children: /* @__PURE__ */ jsx21(Select2.Group, { children: values.map((v) => /* @__PURE__ */ jsx21(Select2.Item, { value: v.value, children: v.title }, v.value)) }) })
4335
4718
  ] })
@@ -4337,23 +4720,26 @@ var PreferencesSelection = ({
4337
4720
  };
4338
4721
 
4339
4722
  // react/components/organization/project/index.tsx
4340
- import { Button as Button13, DataTable as DataTable3, EmptyState as EmptyState3, Flex as Flex19, Text as Text21 } from "@raystack/apsara";
4341
- import { useCallback as useCallback8, useEffect as useEffect9, useState as useState10 } from "react";
4342
- import { Outlet as Outlet4, useLocation as useLocation3, useNavigate as useNavigate9 } from "react-router-dom";
4723
+ import { Button as Button14, DataTable as DataTable3, EmptyState as EmptyState3, Flex as Flex19, Text as Text20 } from "@raystack/apsara";
4724
+ import { Outlet as Outlet4, useNavigate as useNavigate10, useRouterState as useRouterState3 } from "@tanstack/react-router";
4725
+ import { useCallback as useCallback8, useEffect as useEffect9, useState as useState9 } from "react";
4343
4726
 
4344
4727
  // react/components/organization/project/projects.columns.tsx
4345
- import { DropdownMenu as DropdownMenu2, Text as Text20 } from "@raystack/apsara";
4346
- import { useEffect as useEffect8, useState as useState9 } from "react";
4347
- import { Link as Link5 } from "react-router-dom";
4348
- import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
4349
- var columns3 = [
4728
+ import { DropdownMenu, Text as Text19 } from "@raystack/apsara";
4729
+ import { useEffect as useEffect8, useState as useState8 } from "react";
4730
+ import { Link as Link4 } from "@tanstack/react-router";
4731
+ import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
4732
+ var columns2 = [
4350
4733
  {
4351
4734
  accessorKey: "name",
4352
4735
  cell: ({ row, getValue }) => {
4353
4736
  return /* @__PURE__ */ jsx22(
4354
- Link5,
4737
+ Link4,
4355
4738
  {
4356
- to: `/projects/${row.original.id}`,
4739
+ to: `/projects/$projectId`,
4740
+ params: {
4741
+ projectId: row.original.id || ""
4742
+ },
4357
4743
  style: { textDecoration: "none", color: "var(--foreground-base)" },
4358
4744
  children: getValue()
4359
4745
  }
@@ -4364,7 +4750,7 @@ var columns3 = [
4364
4750
  accessorKey: "privacy",
4365
4751
  cell: (info) => {
4366
4752
  var _a;
4367
- return /* @__PURE__ */ jsx22(Text20, { children: (_a = info.getValue()) != null ? _a : "Public" });
4753
+ return /* @__PURE__ */ jsx22(Text19, { children: (_a = info.getValue()) != null ? _a : "Public" });
4368
4754
  }
4369
4755
  },
4370
4756
  {
@@ -4383,13 +4769,16 @@ var columns3 = [
4383
4769
  }
4384
4770
  ];
4385
4771
  var ProjectActions = ({ project }) => {
4386
- return /* @__PURE__ */ jsxs20(DropdownMenu2, { children: [
4387
- /* @__PURE__ */ jsx22(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx22(DotsHorizontalIcon, {}) }),
4388
- /* @__PURE__ */ jsx22(DropdownMenu2.Content, { align: "end", children: /* @__PURE__ */ jsxs20(DropdownMenu2.Group, { children: [
4389
- /* @__PURE__ */ jsx22(DropdownMenu2.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs20(
4390
- Link5,
4772
+ return /* @__PURE__ */ jsxs19(DropdownMenu, { children: [
4773
+ /* @__PURE__ */ jsx22(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ jsx22(DotsHorizontalIcon, {}) }),
4774
+ /* @__PURE__ */ jsx22(DropdownMenu.Content, { align: "end", children: /* @__PURE__ */ jsxs19(DropdownMenu.Group, { children: [
4775
+ /* @__PURE__ */ jsx22(DropdownMenu.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs19(
4776
+ Link4,
4391
4777
  {
4392
- to: `/projects/${project.id}`,
4778
+ to: `/projects/$projectId`,
4779
+ params: {
4780
+ projectId: project.id || ""
4781
+ },
4393
4782
  style: {
4394
4783
  gap: "var(--pd-8)",
4395
4784
  display: "flex",
@@ -4404,10 +4793,13 @@ var ProjectActions = ({ project }) => {
4404
4793
  ]
4405
4794
  }
4406
4795
  ) }),
4407
- /* @__PURE__ */ jsx22(DropdownMenu2.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs20(
4408
- Link5,
4796
+ /* @__PURE__ */ jsx22(DropdownMenu.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs19(
4797
+ Link4,
4409
4798
  {
4410
- to: `/projects/${project.id}/delete`,
4799
+ to: `/projects/$projectId/delete`,
4800
+ params: {
4801
+ projectId: project.id || ""
4802
+ },
4411
4803
  style: {
4412
4804
  gap: "var(--pd-8)",
4413
4805
  display: "flex",
@@ -4427,7 +4819,7 @@ var ProjectActions = ({ project }) => {
4427
4819
  };
4428
4820
  var ProjectMembers = ({ projectId }) => {
4429
4821
  const { client } = useFrontier();
4430
- const [members, setMembers] = useState9([]);
4822
+ const [members, setMembers] = useState8([]);
4431
4823
  useEffect8(() => {
4432
4824
  function getProjectMembers() {
4433
4825
  return __async(this, null, function* () {
@@ -4442,20 +4834,18 @@ var ProjectMembers = ({ projectId }) => {
4442
4834
  }
4443
4835
  getProjectMembers();
4444
4836
  }, [client, projectId]);
4445
- return /* @__PURE__ */ jsxs20(Text20, { children: [
4837
+ return /* @__PURE__ */ jsxs19(Text19, { children: [
4446
4838
  members.length,
4447
4839
  " members"
4448
4840
  ] });
4449
4841
  };
4450
4842
 
4451
4843
  // react/components/organization/project/index.tsx
4452
- import { jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
4453
- function WorkspaceProjects({
4454
- organization
4455
- }) {
4456
- const { client } = useFrontier();
4457
- const location = useLocation3();
4458
- const [projects, setProjects] = useState10([]);
4844
+ import { jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
4845
+ function WorkspaceProjects() {
4846
+ const { client, activeOrganization: organization } = useFrontier();
4847
+ const routerState = useRouterState3();
4848
+ const [projects, setProjects] = useState9([]);
4459
4849
  const getProjects = useCallback8(() => __async(this, null, function* () {
4460
4850
  const {
4461
4851
  // @ts-ignore
@@ -4465,28 +4855,28 @@ function WorkspaceProjects({
4465
4855
  }), [client, organization == null ? void 0 : organization.id]);
4466
4856
  useEffect9(() => {
4467
4857
  getProjects();
4468
- }, [getProjects, location.key]);
4858
+ }, [getProjects, routerState.location.key]);
4469
4859
  useEffect9(() => {
4470
4860
  getProjects();
4471
4861
  }, [client, getProjects, organization == null ? void 0 : organization.id]);
4472
- return /* @__PURE__ */ jsxs21(Flex19, { direction: "column", gap: "large", style: { width: "100%" }, children: [
4473
- /* @__PURE__ */ jsx23(Flex19, { style: styles9.header, children: /* @__PURE__ */ jsx23(Text21, { size: 6, children: "Projects" }) }),
4474
- /* @__PURE__ */ jsx23(Flex19, { direction: "column", gap: "large", style: styles9.container, children: /* @__PURE__ */ jsx23(Flex19, { direction: "column", style: { gap: "24px" }, children: /* @__PURE__ */ jsx23(ProjectsTable, { projects }) }) }),
4862
+ return /* @__PURE__ */ jsxs20(Flex19, { direction: "column", style: { width: "100%" }, children: [
4863
+ /* @__PURE__ */ jsx23(Flex19, { style: styles2.header, children: /* @__PURE__ */ jsx23(Text20, { size: 6, children: "Projects" }) }),
4864
+ /* @__PURE__ */ jsx23(Flex19, { direction: "column", gap: "large", style: styles2.container, children: /* @__PURE__ */ jsx23(Flex19, { direction: "column", style: { gap: "24px" }, children: /* @__PURE__ */ jsx23(ProjectsTable, { projects }) }) }),
4475
4865
  /* @__PURE__ */ jsx23(Outlet4, {})
4476
4866
  ] });
4477
4867
  }
4478
4868
  var ProjectsTable = ({ projects }) => {
4479
- let navigate = useNavigate9();
4869
+ let navigate = useNavigate10({ from: "/projects" });
4480
4870
  const tableStyle = (projects == null ? void 0 : projects.length) ? { width: "100%" } : { width: "100%", height: "100%" };
4481
4871
  return /* @__PURE__ */ jsx23(Flex19, { direction: "row", children: /* @__PURE__ */ jsx23(
4482
4872
  DataTable3,
4483
4873
  {
4484
4874
  data: projects != null ? projects : [],
4485
- columns: columns3,
4875
+ columns: columns2,
4486
4876
  emptyState: noDataChildren3,
4487
- parentStyle: { height: "calc(100vh - 120px)" },
4877
+ parentStyle: { height: "calc(100vh - 150px)" },
4488
4878
  style: tableStyle,
4489
- children: /* @__PURE__ */ jsx23(DataTable3.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs21(Flex19, { justify: "between", gap: "small", children: [
4879
+ children: /* @__PURE__ */ jsx23(DataTable3.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs20(Flex19, { justify: "between", gap: "small", children: [
4490
4880
  /* @__PURE__ */ jsx23(Flex19, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx23(
4491
4881
  DataTable3.GloabalSearch,
4492
4882
  {
@@ -4495,11 +4885,11 @@ var ProjectsTable = ({ projects }) => {
4495
4885
  }
4496
4886
  ) }),
4497
4887
  /* @__PURE__ */ jsx23(
4498
- Button13,
4888
+ Button14,
4499
4889
  {
4500
4890
  variant: "primary",
4501
4891
  style: { width: "fit-content" },
4502
- onClick: () => navigate("/projects/modal"),
4892
+ onClick: () => navigate({ to: "/projects/modal" }),
4503
4893
  children: "Add project"
4504
4894
  }
4505
4895
  )
@@ -4507,7 +4897,7 @@ var ProjectsTable = ({ projects }) => {
4507
4897
  }
4508
4898
  ) });
4509
4899
  };
4510
- var noDataChildren3 = /* @__PURE__ */ jsxs21(EmptyState3, { children: [
4900
+ var noDataChildren3 = /* @__PURE__ */ jsxs20(EmptyState3, { children: [
4511
4901
  /* @__PURE__ */ jsx23("div", { className: "svg-container" }),
4512
4902
  /* @__PURE__ */ jsx23("h3", { children: "0 projects in your organization" }),
4513
4903
  /* @__PURE__ */ jsx23("div", { className: "pera", children: "Try adding new project." })
@@ -4515,30 +4905,28 @@ var noDataChildren3 = /* @__PURE__ */ jsxs21(EmptyState3, { children: [
4515
4905
 
4516
4906
  // react/components/organization/project/add.tsx
4517
4907
  import {
4518
- Button as Button14,
4908
+ Button as Button15,
4519
4909
  Dialog as Dialog5,
4520
4910
  Flex as Flex20,
4521
- Image as Image7,
4911
+ Image as Image6,
4522
4912
  InputField as InputField6,
4523
4913
  Separator as Separator8,
4524
- Text as Text22,
4914
+ Text as Text21,
4525
4915
  TextField as TextField7
4526
4916
  } from "@raystack/apsara";
4527
4917
  import { yupResolver as yupResolver6 } from "@hookform/resolvers/yup";
4528
4918
  import { useEffect as useEffect10 } from "react";
4529
4919
  import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
4530
- import { useNavigate as useNavigate10 } from "react-router-dom";
4531
- import { toast as toast7 } from "sonner";
4920
+ import { useNavigate as useNavigate11 } from "@tanstack/react-router";
4921
+ import { toast as toast8 } from "sonner";
4532
4922
  import * as yup6 from "yup";
4533
- import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
4923
+ import { jsx as jsx24, jsxs as jsxs21 } from "react/jsx-runtime";
4534
4924
  var projectSchema = yup6.object({
4535
4925
  title: yup6.string().required(),
4536
4926
  name: yup6.string().required(),
4537
4927
  orgId: yup6.string().required()
4538
4928
  }).required();
4539
- var AddProject = ({
4540
- organization
4541
- }) => {
4929
+ var AddProject = () => {
4542
4930
  var _a, _b;
4543
4931
  const {
4544
4932
  reset,
@@ -4548,8 +4936,8 @@ var AddProject = ({
4548
4936
  } = useForm6({
4549
4937
  resolver: yupResolver6(projectSchema)
4550
4938
  });
4551
- const navigate = useNavigate10();
4552
- const { client } = useFrontier();
4939
+ const navigate = useNavigate11({ from: "/projects/modal" });
4940
+ const { client, activeOrganization: organization } = useFrontier();
4553
4941
  useEffect10(() => {
4554
4942
  reset({ orgId: organization == null ? void 0 : organization.id });
4555
4943
  }, [organization, reset]);
@@ -4559,23 +4947,31 @@ var AddProject = ({
4559
4947
  return;
4560
4948
  try {
4561
4949
  yield client.frontierServiceCreateProject(data);
4562
- toast7.success("Project created");
4563
- navigate("/projects");
4950
+ toast8.success("Project created");
4951
+ navigate({ to: "/projects" });
4564
4952
  } catch ({ error }) {
4565
- toast7.error("Something went wrong", {
4953
+ toast8.error("Something went wrong", {
4566
4954
  description: error.message
4567
4955
  });
4568
4956
  }
4569
4957
  });
4570
4958
  }
4571
- return /* @__PURE__ */ jsx24(Dialog5, { open: true, children: /* @__PURE__ */ jsxs22(Dialog5.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
4572
- /* @__PURE__ */ jsxs22(Flex20, { justify: "between", style: { padding: "16px 24px" }, children: [
4573
- /* @__PURE__ */ jsx24(Text22, { size: 6, style: { fontWeight: "500" }, children: "Add Project" }),
4574
- /* @__PURE__ */ jsx24(Image7, { alt: "cross", src: cross_default, onClick: () => navigate("/members") })
4959
+ return /* @__PURE__ */ jsx24(Dialog5, { open: true, children: /* @__PURE__ */ jsxs21(Dialog5.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
4960
+ /* @__PURE__ */ jsxs21(Flex20, { justify: "between", style: { padding: "16px 24px" }, children: [
4961
+ /* @__PURE__ */ jsx24(Text21, { size: 6, style: { fontWeight: "500" }, children: "Add Project" }),
4962
+ /* @__PURE__ */ jsx24(
4963
+ Image6,
4964
+ {
4965
+ alt: "cross",
4966
+ src: cross_default,
4967
+ onClick: () => navigate({ to: "/members" }),
4968
+ style: { cursor: "pointer" }
4969
+ }
4970
+ )
4575
4971
  ] }),
4576
4972
  /* @__PURE__ */ jsx24(Separator8, {}),
4577
- /* @__PURE__ */ jsxs22("form", { onSubmit: handleSubmit(onSubmit), children: [
4578
- /* @__PURE__ */ jsxs22(
4973
+ /* @__PURE__ */ jsxs21("form", { onSubmit: handleSubmit(onSubmit), children: [
4974
+ /* @__PURE__ */ jsxs21(
4579
4975
  Flex20,
4580
4976
  {
4581
4977
  direction: "column",
@@ -4590,7 +4986,7 @@ var AddProject = ({
4590
4986
  hidden: true
4591
4987
  }
4592
4988
  ),
4593
- /* @__PURE__ */ jsxs22(InputField6, { label: "Project title", children: [
4989
+ /* @__PURE__ */ jsxs21(InputField6, { label: "Project title", children: [
4594
4990
  /* @__PURE__ */ jsx24(
4595
4991
  Controller6,
4596
4992
  {
@@ -4605,9 +5001,9 @@ var AddProject = ({
4605
5001
  name: "title"
4606
5002
  }
4607
5003
  ),
4608
- /* @__PURE__ */ jsx24(Text22, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
5004
+ /* @__PURE__ */ jsx24(Text21, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
4609
5005
  ] }),
4610
- /* @__PURE__ */ jsxs22(InputField6, { label: "Project name", children: [
5006
+ /* @__PURE__ */ jsxs21(InputField6, { label: "Project name", children: [
4611
5007
  /* @__PURE__ */ jsx24(
4612
5008
  Controller6,
4613
5009
  {
@@ -4622,41 +5018,39 @@ var AddProject = ({
4622
5018
  name: "name"
4623
5019
  }
4624
5020
  ),
4625
- /* @__PURE__ */ jsx24(Text22, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
5021
+ /* @__PURE__ */ jsx24(Text21, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
4626
5022
  ] })
4627
5023
  ]
4628
5024
  }
4629
5025
  ),
4630
5026
  /* @__PURE__ */ jsx24(Separator8, {}),
4631
- /* @__PURE__ */ jsx24(Flex20, { align: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx24(Button14, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "creating..." : "Create project" }) })
5027
+ /* @__PURE__ */ jsx24(Flex20, { align: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx24(Button15, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "creating..." : "Create project" }) })
4632
5028
  ] })
4633
5029
  ] }) });
4634
5030
  };
4635
5031
 
4636
5032
  // react/components/organization/project/delete.tsx
4637
5033
  import {
4638
- Button as Button15,
5034
+ Button as Button16,
4639
5035
  Dialog as Dialog6,
4640
5036
  Flex as Flex21,
4641
- Image as Image8,
5037
+ Image as Image7,
4642
5038
  InputField as InputField7,
4643
5039
  Separator as Separator9,
4644
- Text as Text23,
5040
+ Text as Text22,
4645
5041
  TextField as TextField8
4646
5042
  } from "@raystack/apsara";
4647
5043
  import { yupResolver as yupResolver7 } from "@hookform/resolvers/yup";
4648
- import { useEffect as useEffect11, useState as useState11 } from "react";
5044
+ import { useEffect as useEffect11, useState as useState10 } from "react";
4649
5045
  import { Controller as Controller7, useForm as useForm7 } from "react-hook-form";
4650
- import { useNavigate as useNavigate11, useParams as useParams2 } from "react-router-dom";
4651
- import { toast as toast8 } from "sonner";
5046
+ import { useNavigate as useNavigate12, useParams as useParams2 } from "@tanstack/react-router";
5047
+ import { toast as toast9 } from "sonner";
4652
5048
  import * as yup7 from "yup";
4653
- import { jsx as jsx25, jsxs as jsxs23 } from "react/jsx-runtime";
5049
+ import { jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
4654
5050
  var projectSchema2 = yup7.object({
4655
5051
  name: yup7.string()
4656
5052
  }).required();
4657
- var DeleteProject = ({
4658
- organization
4659
- }) => {
5053
+ var DeleteProject = () => {
4660
5054
  var _a;
4661
5055
  const {
4662
5056
  watch,
@@ -4667,10 +5061,10 @@ var DeleteProject = ({
4667
5061
  } = useForm7({
4668
5062
  resolver: yupResolver7(projectSchema2)
4669
5063
  });
4670
- let { projectId } = useParams2();
4671
- const navigate = useNavigate11();
4672
- const { client } = useFrontier();
4673
- const [project, setProject] = useState11();
5064
+ let { projectId } = useParams2({ from: "/projects/$projectId/delete" });
5065
+ const navigate = useNavigate12({ from: "/projects/$projectId/delete" });
5066
+ const { client, activeOrganization: organization } = useFrontier();
5067
+ const [project, setProject] = useState10();
4674
5068
  useEffect11(() => {
4675
5069
  function getTeamDetails() {
4676
5070
  return __async(this, null, function* () {
@@ -4683,7 +5077,7 @@ var DeleteProject = ({
4683
5077
  } = yield client == null ? void 0 : client.frontierServiceGetProject(projectId);
4684
5078
  setProject(project2);
4685
5079
  } catch ({ error }) {
4686
- toast8.error("Something went wrong", {
5080
+ toast9.error("Something went wrong", {
4687
5081
  description: error.message
4688
5082
  });
4689
5083
  }
@@ -4704,31 +5098,39 @@ var DeleteProject = ({
4704
5098
  return setError("name", { message: "project name is not same" });
4705
5099
  try {
4706
5100
  yield client.frontierServiceDeleteProject(projectId);
4707
- toast8.success("project deleted");
4708
- navigate("/projects");
5101
+ toast9.success("project deleted");
5102
+ navigate({ to: "/projects" });
4709
5103
  } catch ({ error }) {
4710
- toast8.error("Something went wrong", {
5104
+ toast9.error("Something went wrong", {
4711
5105
  description: error.message
4712
5106
  });
4713
5107
  }
4714
5108
  });
4715
5109
  }
4716
5110
  const name = watch("name", "");
4717
- return /* @__PURE__ */ jsx25(Dialog6, { open: true, children: /* @__PURE__ */ jsxs23(Dialog6.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
4718
- /* @__PURE__ */ jsxs23(Flex21, { justify: "between", style: { padding: "16px 24px" }, children: [
4719
- /* @__PURE__ */ jsx25(Text23, { size: 6, style: { fontWeight: "500" }, children: "Verify project deletion" }),
4720
- /* @__PURE__ */ jsx25(Image8, { alt: "cross", src: cross_default, onClick: () => navigate("/") })
5111
+ return /* @__PURE__ */ jsx25(Dialog6, { open: true, children: /* @__PURE__ */ jsxs22(Dialog6.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
5112
+ /* @__PURE__ */ jsxs22(Flex21, { justify: "between", style: { padding: "16px 24px" }, children: [
5113
+ /* @__PURE__ */ jsx25(Text22, { size: 6, style: { fontWeight: "500" }, children: "Verify project deletion" }),
5114
+ /* @__PURE__ */ jsx25(
5115
+ Image7,
5116
+ {
5117
+ alt: "cross",
5118
+ src: cross_default,
5119
+ onClick: () => navigate({ to: "/" }),
5120
+ style: { cursor: "pointer" }
5121
+ }
5122
+ )
4721
5123
  ] }),
4722
5124
  /* @__PURE__ */ jsx25(Separator9, {}),
4723
- /* @__PURE__ */ jsx25("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs23(
5125
+ /* @__PURE__ */ jsx25("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs22(
4724
5126
  Flex21,
4725
5127
  {
4726
5128
  direction: "column",
4727
5129
  gap: "medium",
4728
5130
  style: { padding: "24px 32px" },
4729
5131
  children: [
4730
- /* @__PURE__ */ jsx25(Text23, { size: 2, children: "This action can not be undone. This will permanently delete project Growth." }),
4731
- /* @__PURE__ */ jsxs23(InputField7, { label: "Please type name of the project to confirm.", children: [
5132
+ /* @__PURE__ */ jsx25(Text22, { size: 2, children: "This action can not be undone. This will permanently delete project Growth." }),
5133
+ /* @__PURE__ */ jsxs22(InputField7, { label: "Please type name of the project to confirm.", children: [
4732
5134
  /* @__PURE__ */ jsx25(
4733
5135
  Controller7,
4734
5136
  {
@@ -4743,11 +5145,11 @@ var DeleteProject = ({
4743
5145
  name: "name"
4744
5146
  }
4745
5147
  ),
4746
- /* @__PURE__ */ jsx25(Text23, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
5148
+ /* @__PURE__ */ jsx25(Text22, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
4747
5149
  ] }),
4748
- /* @__PURE__ */ jsx25(Flex21, { children: /* @__PURE__ */ jsx25(Text23, { size: 2, children: "I acknowledge I understand that all of the project data will be deleted and want to proceed." }) }),
5150
+ /* @__PURE__ */ jsx25(Flex21, { children: /* @__PURE__ */ jsx25(Text22, { size: 2, children: "I acknowledge I understand that all of the project data will be deleted and want to proceed." }) }),
4749
5151
  /* @__PURE__ */ jsx25(
4750
- Button15,
5152
+ Button16,
4751
5153
  {
4752
5154
  variant: "danger",
4753
5155
  size: "medium",
@@ -4764,28 +5166,28 @@ var DeleteProject = ({
4764
5166
  };
4765
5167
 
4766
5168
  // react/components/organization/project/project.tsx
4767
- import { Flex as Flex25, Text as Text26 } from "@raystack/apsara";
5169
+ import { Flex as Flex25, Text as Text25 } from "@raystack/apsara";
4768
5170
  import { Tabs } from "@raystack/apsara";
4769
- import { useEffect as useEffect13, useState as useState12 } from "react";
4770
- import { useParams as useParams4 } from "react-router-dom";
4771
- import { toast as toast10 } from "sonner";
5171
+ import { useParams as useParams4 } from "@tanstack/react-router";
5172
+ import { useEffect as useEffect13, useState as useState11 } from "react";
5173
+ import { toast as toast11 } from "sonner";
4772
5174
 
4773
5175
  // react/components/organization/project/general/index.tsx
4774
5176
  import {
4775
- Button as Button16,
5177
+ Button as Button17,
4776
5178
  Flex as Flex22,
4777
5179
  InputField as InputField8,
4778
5180
  Separator as Separator10,
4779
- Text as Text24,
5181
+ Text as Text23,
4780
5182
  TextField as TextField9
4781
5183
  } from "@raystack/apsara";
4782
5184
  import { yupResolver as yupResolver8 } from "@hookform/resolvers/yup";
4783
5185
  import { useCallback as useCallback9, useEffect as useEffect12 } from "react";
4784
5186
  import { Controller as Controller8, useForm as useForm8 } from "react-hook-form";
4785
- import { Outlet as Outlet5, useNavigate as useNavigate12, useParams as useParams3 } from "react-router-dom";
4786
- import { toast as toast9 } from "sonner";
5187
+ import { Outlet as Outlet5, useNavigate as useNavigate13, useParams as useParams3 } from "@tanstack/react-router";
5188
+ import { toast as toast10 } from "sonner";
4787
5189
  import * as yup8 from "yup";
4788
- import { jsx as jsx26, jsxs as jsxs24 } from "react/jsx-runtime";
5190
+ import { jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
4789
5191
  var projectSchema3 = yup8.object({
4790
5192
  title: yup8.string().required(),
4791
5193
  name: yup8.string().required()
@@ -4800,7 +5202,7 @@ var General = ({ organization, project }) => {
4800
5202
  } = useForm8({
4801
5203
  resolver: yupResolver8(projectSchema3)
4802
5204
  });
4803
- let { projectId } = useParams3();
5205
+ let { projectId } = useParams3({ from: "/projects/$projectId" });
4804
5206
  const { client } = useFrontier();
4805
5207
  useEffect12(() => {
4806
5208
  reset(project);
@@ -4815,17 +5217,17 @@ var General = ({ organization, project }) => {
4815
5217
  return;
4816
5218
  try {
4817
5219
  yield client.frontierServiceUpdateProject(projectId, data);
4818
- toast9.success("Project updated");
5220
+ toast10.success("Project updated");
4819
5221
  } catch ({ error }) {
4820
- toast9.error("Something went wrong", {
5222
+ toast10.error("Something went wrong", {
4821
5223
  description: error.message
4822
5224
  });
4823
5225
  }
4824
5226
  });
4825
5227
  }
4826
- return /* @__PURE__ */ jsxs24(Flex22, { direction: "column", gap: "large", style: { paddingTop: "32px" }, children: [
4827
- /* @__PURE__ */ jsx26("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs24(Flex22, { direction: "column", gap: "medium", style: { maxWidth: "320px" }, children: [
4828
- /* @__PURE__ */ jsxs24(InputField8, { label: "Project title", children: [
5228
+ return /* @__PURE__ */ jsxs23(Flex22, { direction: "column", gap: "large", style: { paddingTop: "32px" }, children: [
5229
+ /* @__PURE__ */ jsx26("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs23(Flex22, { direction: "column", gap: "medium", style: { maxWidth: "320px" }, children: [
5230
+ /* @__PURE__ */ jsxs23(InputField8, { label: "Project title", children: [
4829
5231
  /* @__PURE__ */ jsx26(
4830
5232
  Controller8,
4831
5233
  {
@@ -4840,9 +5242,9 @@ var General = ({ organization, project }) => {
4840
5242
  name: "title"
4841
5243
  }
4842
5244
  ),
4843
- /* @__PURE__ */ jsx26(Text24, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
5245
+ /* @__PURE__ */ jsx26(Text23, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
4844
5246
  ] }),
4845
- /* @__PURE__ */ jsxs24(InputField8, { label: "Project name", children: [
5247
+ /* @__PURE__ */ jsxs23(InputField8, { label: "Project name", children: [
4846
5248
  /* @__PURE__ */ jsx26(
4847
5249
  Controller8,
4848
5250
  {
@@ -4858,9 +5260,9 @@ var General = ({ organization, project }) => {
4858
5260
  name: "name"
4859
5261
  }
4860
5262
  ),
4861
- /* @__PURE__ */ jsx26(Text24, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
5263
+ /* @__PURE__ */ jsx26(Text23, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
4862
5264
  ] }),
4863
- /* @__PURE__ */ jsx26(Button16, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "updating..." : "Update project" })
5265
+ /* @__PURE__ */ jsx26(Button17, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "updating..." : "Update project" })
4864
5266
  ] }) }),
4865
5267
  /* @__PURE__ */ jsx26(Separator10, {}),
4866
5268
  /* @__PURE__ */ jsx26(GeneralDeleteProject, { organization }),
@@ -4869,8 +5271,8 @@ var General = ({ organization, project }) => {
4869
5271
  };
4870
5272
  var GeneralDeleteProject = ({ organization }) => {
4871
5273
  const { client } = useFrontier();
4872
- let { projectId } = useParams3();
4873
- const navigate = useNavigate12();
5274
+ let { projectId } = useParams3({ from: "/projects/$projectId" });
5275
+ const navigate = useNavigate13({ from: "/projects/$projectId" });
4874
5276
  const {
4875
5277
  handleSubmit,
4876
5278
  formState: { errors, isSubmitting }
@@ -4881,23 +5283,26 @@ var GeneralDeleteProject = ({ organization }) => {
4881
5283
  return;
4882
5284
  try {
4883
5285
  yield client == null ? void 0 : client.frontierServiceDeleteProject(projectId);
4884
- navigate("/projects");
5286
+ navigate({ to: "/projects" });
4885
5287
  } catch ({ error }) {
4886
5288
  console.log(error);
4887
- toast9.error("Something went wrong", {
5289
+ toast10.error("Something went wrong", {
4888
5290
  description: `${error.message}`
4889
5291
  });
4890
5292
  }
4891
5293
  }), [client, navigate, organizationId, projectId]);
4892
- return /* @__PURE__ */ jsxs24(Flex22, { direction: "column", gap: "medium", children: [
4893
- /* @__PURE__ */ jsx26(Text24, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this project and all of its data." }),
5294
+ return /* @__PURE__ */ jsxs23(Flex22, { direction: "column", gap: "medium", children: [
5295
+ /* @__PURE__ */ jsx26(Text23, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this project and all of its data." }),
4894
5296
  /* @__PURE__ */ jsx26(
4895
- Button16,
5297
+ Button17,
4896
5298
  {
4897
5299
  variant: "danger",
4898
5300
  type: "submit",
4899
5301
  size: "medium",
4900
- onClick: () => navigate(`/projects/${projectId}/delete`),
5302
+ onClick: () => navigate({
5303
+ to: `/projects/$projectId/delete`,
5304
+ params: { projectId }
5305
+ }),
4901
5306
  children: isSubmitting ? "deleting..." : "Delete project"
4902
5307
  }
4903
5308
  ),
@@ -4907,12 +5312,12 @@ var GeneralDeleteProject = ({ organization }) => {
4907
5312
 
4908
5313
  // react/components/organization/project/members/index.tsx
4909
5314
  import { DataTable as DataTable4, EmptyState as EmptyState4, Flex as Flex24 } from "@raystack/apsara";
4910
- import { useNavigate as useNavigate13 } from "react-router-dom";
5315
+ import { useNavigate as useNavigate14 } from "@tanstack/react-router";
4911
5316
 
4912
5317
  // react/components/organization/project/members/member.columns.tsx
4913
- import { Avatar as Avatar2, Flex as Flex23, Label as Label2, Text as Text25 } from "@raystack/apsara";
4914
- import { jsx as jsx27, jsxs as jsxs25 } from "react/jsx-runtime";
4915
- var columns4 = [
5318
+ import { Avatar as Avatar3, Flex as Flex23, Label as Label2, Text as Text24 } from "@raystack/apsara";
5319
+ import { jsx as jsx27, jsxs as jsxs24 } from "react/jsx-runtime";
5320
+ var columns3 = [
4916
5321
  {
4917
5322
  header: "",
4918
5323
  accessorKey: "image",
@@ -4924,11 +5329,13 @@ var columns4 = [
4924
5329
  }
4925
5330
  },
4926
5331
  cell: ({ row, getValue }) => {
5332
+ var _a;
4927
5333
  return /* @__PURE__ */ jsx27(
4928
- Avatar2,
5334
+ Avatar3,
4929
5335
  {
4930
- src: "https://assets.codepen.io/285131/github.svg",
4931
- fallback: "P"
5336
+ src: getValue(),
5337
+ fallback: getInitials((_a = row.original) == null ? void 0 : _a.name),
5338
+ style: { marginRight: "var(--mr-12)" }
4932
5339
  }
4933
5340
  );
4934
5341
  }
@@ -4941,40 +5348,30 @@ var columns4 = [
4941
5348
  }
4942
5349
  },
4943
5350
  cell: ({ row, getValue }) => {
4944
- return /* @__PURE__ */ jsxs25(Flex23, { direction: "column", children: [
5351
+ return /* @__PURE__ */ jsxs24(Flex23, { direction: "column", gap: "extra-small", children: [
4945
5352
  /* @__PURE__ */ jsx27(Label2, { style: { fontWeight: "$500" }, children: getValue() }),
4946
- /* @__PURE__ */ jsx27(Text25, { children: row.original.email })
5353
+ /* @__PURE__ */ jsx27(Text24, { children: row.original.email })
4947
5354
  ] });
4948
5355
  }
4949
5356
  },
4950
5357
  {
4951
5358
  accessorKey: "email",
4952
- cell: (info) => /* @__PURE__ */ jsx27(Text25, { children: info.getValue() })
4953
- },
4954
- {
4955
- header: "",
4956
- accessorKey: "id",
4957
- meta: {
4958
- style: {
4959
- textAlign: "end"
4960
- }
4961
- },
4962
- cell: (info) => /* @__PURE__ */ jsx27(DotsHorizontalIcon, {})
5359
+ cell: (info) => /* @__PURE__ */ jsx27(Text24, { children: info.getValue() })
4963
5360
  }
4964
5361
  ];
4965
5362
 
4966
5363
  // react/components/organization/project/members/index.tsx
4967
- import { jsx as jsx28, jsxs as jsxs26 } from "react/jsx-runtime";
5364
+ import { jsx as jsx28, jsxs as jsxs25 } from "react/jsx-runtime";
4968
5365
  var Members = ({ members }) => {
4969
- let navigate = useNavigate13();
5366
+ let navigate = useNavigate14();
4970
5367
  const tableStyle = (members == null ? void 0 : members.length) ? { width: "100%" } : { width: "100%", height: "100%" };
4971
5368
  return /* @__PURE__ */ jsx28(Flex24, { direction: "column", style: { paddingTop: "32px" }, children: /* @__PURE__ */ jsx28(
4972
5369
  DataTable4,
4973
5370
  {
4974
5371
  data: members != null ? members : [],
4975
- columns: columns4,
5372
+ columns: columns3,
4976
5373
  emptyState: noDataChildren4,
4977
- parentStyle: { height: "calc(100vh - 400px)" },
5374
+ parentStyle: { height: "calc(100vh - 212px)" },
4978
5375
  style: tableStyle,
4979
5376
  children: /* @__PURE__ */ jsx28(DataTable4.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsx28(Flex24, { justify: "between", gap: "small", children: /* @__PURE__ */ jsx28(Flex24, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx28(
4980
5377
  DataTable4.GloabalSearch,
@@ -4986,19 +5383,19 @@ var Members = ({ members }) => {
4986
5383
  }
4987
5384
  ) });
4988
5385
  };
4989
- var noDataChildren4 = /* @__PURE__ */ jsxs26(EmptyState4, { children: [
5386
+ var noDataChildren4 = /* @__PURE__ */ jsxs25(EmptyState4, { children: [
4990
5387
  /* @__PURE__ */ jsx28("div", { className: "svg-container" }),
4991
5388
  /* @__PURE__ */ jsx28("h3", { children: "0 members in your team" }),
4992
5389
  /* @__PURE__ */ jsx28("div", { className: "pera", children: "Try adding new members." })
4993
5390
  ] });
4994
5391
 
4995
5392
  // react/components/organization/project/project.tsx
4996
- import { jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
4997
- var ProjectPage = ({ organization }) => {
4998
- let { projectId } = useParams4();
4999
- const [project, setProject] = useState12();
5000
- const [members, setMembers] = useState12([]);
5001
- const { client } = useFrontier();
5393
+ import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
5394
+ var ProjectPage = () => {
5395
+ let { projectId } = useParams4({ from: "/projects/$projectId" });
5396
+ const [project, setProject] = useState11();
5397
+ const [members, setMembers] = useState11([]);
5398
+ const { client, activeOrganization: organization } = useFrontier();
5002
5399
  useEffect13(() => {
5003
5400
  function getProjectDetails() {
5004
5401
  return __async(this, null, function* () {
@@ -5016,7 +5413,7 @@ var ProjectPage = ({ organization }) => {
5016
5413
  setProject(project2);
5017
5414
  setMembers(users);
5018
5415
  } catch ({ error }) {
5019
- toast10.error("Something went wrong", {
5416
+ toast11.error("Something went wrong", {
5020
5417
  description: error.message
5021
5418
  });
5022
5419
  }
@@ -5024,10 +5421,10 @@ var ProjectPage = ({ organization }) => {
5024
5421
  }
5025
5422
  getProjectDetails();
5026
5423
  }, [client, organization == null ? void 0 : organization.id, projectId]);
5027
- return /* @__PURE__ */ jsxs27(Flex25, { direction: "column", gap: "large", style: { width: "100%" }, children: [
5028
- /* @__PURE__ */ jsx29(Flex25, { style: styles9.header, children: /* @__PURE__ */ jsx29(Text26, { size: 6, children: "Projects" }) }),
5029
- /* @__PURE__ */ jsxs27(Tabs, { defaultValue: "general", style: { margin: "0 48px", zIndex: 0 }, children: [
5030
- /* @__PURE__ */ jsxs27(Tabs.List, { elevated: true, children: [
5424
+ return /* @__PURE__ */ jsxs26(Flex25, { direction: "column", style: { width: "100%" }, children: [
5425
+ /* @__PURE__ */ jsx29(Flex25, { style: styles2.header, children: /* @__PURE__ */ jsx29(Text25, { size: 6, children: "Projects" }) }),
5426
+ /* @__PURE__ */ jsxs26(Tabs, { defaultValue: "general", style: styles2.container, children: [
5427
+ /* @__PURE__ */ jsxs26(Tabs.List, { elevated: true, children: [
5031
5428
  /* @__PURE__ */ jsx29(Tabs.Trigger, { value: "general", style: { flex: 1, height: 24 }, children: "General" }),
5032
5429
  /* @__PURE__ */ jsx29(Tabs.Trigger, { value: "members", style: { flex: 1, height: 24 }, children: "Members" })
5033
5430
  ] }),
@@ -5038,18 +5435,74 @@ var ProjectPage = ({ organization }) => {
5038
5435
  };
5039
5436
 
5040
5437
  // react/components/organization/security/index.tsx
5041
- import { Box as Box3, Flex as Flex26, Separator as Separator11, Switch, Text as Text27 } from "@raystack/apsara";
5042
- import { jsx as jsx30, jsxs as jsxs28 } from "react/jsx-runtime";
5438
+ import { Box as Box3, Flex as Flex26, Separator as Separator11, Switch, Text as Text26 } from "@raystack/apsara";
5439
+ import { useCallback as useCallback10, useEffect as useEffect14, useMemo as useMemo2, useState as useState12 } from "react";
5440
+ import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
5043
5441
  function WorkspaceSecurity() {
5044
- return /* @__PURE__ */ jsxs28(Flex26, { direction: "column", gap: "large", style: { width: "100%" }, children: [
5045
- /* @__PURE__ */ jsx30(Flex26, { style: styles9.header, children: /* @__PURE__ */ jsx30(Text27, { size: 6, children: "Security" }) }),
5046
- /* @__PURE__ */ jsxs28(Flex26, { direction: "column", gap: "large", style: styles9.container, children: [
5442
+ const [socialLogin, setSocialLogin] = useState12(false);
5443
+ const [mailLink, setMailLink] = useState12(false);
5444
+ const [preferences, setPreferences] = useState12([]);
5445
+ const { client, activeOrganization: organization } = useFrontier();
5446
+ const fetchOrganizationPreferences = useCallback10(() => __async(this, null, function* () {
5447
+ const {
5448
+ // @ts-ignore
5449
+ data: { preferences: preferences2 }
5450
+ } = yield client == null ? void 0 : client.frontierServiceListOrganizationPreferences(
5451
+ organization == null ? void 0 : organization.id
5452
+ );
5453
+ setPreferences(preferences2);
5454
+ }), [client, organization == null ? void 0 : organization.id]);
5455
+ useEffect14(() => {
5456
+ if (organization == null ? void 0 : organization.id)
5457
+ fetchOrganizationPreferences();
5458
+ }, [organization == null ? void 0 : organization.id, client, fetchOrganizationPreferences]);
5459
+ const preferencesMap = useMemo2(() => {
5460
+ return preferences.reduce(
5461
+ (map, el) => {
5462
+ map[el.name] = el;
5463
+ return map;
5464
+ },
5465
+ {}
5466
+ );
5467
+ }, [preferences]);
5468
+ useEffect14(() => {
5469
+ var _a, _b;
5470
+ if (preferencesMap["social_login"])
5471
+ setSocialLogin(((_a = preferencesMap["social_login"]) == null ? void 0 : _a.value) === "true");
5472
+ if (preferencesMap["mail_link"])
5473
+ setMailLink(((_b = preferencesMap["mail_link"]) == null ? void 0 : _b.value) === "true");
5474
+ }, [preferences]);
5475
+ const onValueChange = useCallback10(
5476
+ (key, checked) => __async(this, null, function* () {
5477
+ if (key === "mail_link")
5478
+ setMailLink(checked);
5479
+ if (key === "social_login")
5480
+ setSocialLogin(checked);
5481
+ yield client == null ? void 0 : client.frontierServiceCreateOrganizationPreferences(
5482
+ organization == null ? void 0 : organization.id,
5483
+ {
5484
+ bodies: [
5485
+ {
5486
+ name: key,
5487
+ value: `${checked}`
5488
+ }
5489
+ ]
5490
+ }
5491
+ );
5492
+ }),
5493
+ [client, organization == null ? void 0 : organization.id]
5494
+ );
5495
+ return /* @__PURE__ */ jsxs27(Flex26, { direction: "column", style: { width: "100%" }, children: [
5496
+ /* @__PURE__ */ jsx30(Flex26, { style: styles2.header, children: /* @__PURE__ */ jsx30(Text26, { size: 6, children: "Security" }) }),
5497
+ /* @__PURE__ */ jsxs27(Flex26, { direction: "column", gap: "large", style: styles2.container, children: [
5047
5498
  /* @__PURE__ */ jsx30(
5048
5499
  SecurityCheckbox,
5049
5500
  {
5050
5501
  label: "Google",
5051
5502
  text: "Allow logins through Google's single sign-on functionality",
5052
- name: "google"
5503
+ name: "social_login",
5504
+ value: socialLogin,
5505
+ onValueChange
5053
5506
  }
5054
5507
  ),
5055
5508
  /* @__PURE__ */ jsx30(Separator11, {}),
@@ -5058,7 +5511,9 @@ function WorkspaceSecurity() {
5058
5511
  {
5059
5512
  label: "Email code",
5060
5513
  text: "Allow password less logins through magic links or a code delivered\n over email.",
5061
- name: "email"
5514
+ name: "mail_link",
5515
+ value: mailLink,
5516
+ onValueChange
5062
5517
  }
5063
5518
  ),
5064
5519
  /* @__PURE__ */ jsx30(Separator11, {})
@@ -5068,28 +5523,37 @@ function WorkspaceSecurity() {
5068
5523
  var SecurityCheckbox = ({
5069
5524
  label,
5070
5525
  text,
5071
- name
5526
+ name,
5527
+ value,
5528
+ onValueChange
5072
5529
  }) => {
5073
- return /* @__PURE__ */ jsxs28(Flex26, { direction: "row", justify: "between", align: "center", children: [
5074
- /* @__PURE__ */ jsxs28(Flex26, { direction: "column", gap: "small", children: [
5075
- /* @__PURE__ */ jsx30(Text27, { size: 6, children: label }),
5076
- /* @__PURE__ */ jsx30(Text27, { size: 4, style: { color: "var(--foreground-muted)" }, children: text })
5530
+ return /* @__PURE__ */ jsxs27(Flex26, { direction: "row", justify: "between", align: "center", children: [
5531
+ /* @__PURE__ */ jsxs27(Flex26, { direction: "column", gap: "small", children: [
5532
+ /* @__PURE__ */ jsx30(Text26, { size: 6, children: label }),
5533
+ /* @__PURE__ */ jsx30(Text26, { size: 4, style: { color: "var(--foreground-muted)" }, children: text })
5077
5534
  ] }),
5078
- /* @__PURE__ */ jsx30(Switch, { name })
5535
+ /* @__PURE__ */ jsx30(
5536
+ Switch,
5537
+ {
5538
+ name,
5539
+ checked: value,
5540
+ onCheckedChange: (checked) => onValueChange(name, checked)
5541
+ }
5542
+ )
5079
5543
  ] });
5080
5544
  };
5081
5545
 
5082
5546
  // react/components/organization/sidebar/index.tsx
5083
5547
  import {
5084
5548
  Flex as Flex27,
5085
- Image as Image9,
5549
+ Image as Image8,
5086
5550
  ScrollArea,
5087
5551
  Sidebar as SidebarComponent,
5088
- Text as Text28,
5552
+ Text as Text27,
5089
5553
  TextField as TextField10
5090
5554
  } from "@raystack/apsara";
5091
- import { useState as useState13 } from "react";
5092
- import { Link as Link6 } from "react-router-dom";
5555
+ import { useCallback as useCallback11, useState as useState13 } from "react";
5556
+ import { Link as Link5, useRouterState as useRouterState4 } from "@tanstack/react-router";
5093
5557
 
5094
5558
  // react/assets/organization.png
5095
5559
  var organization_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAG9SURBVHgB7ZexTgJBEIZnTmLNG3hvACYWxkbeQH0CoRJpOBOhsDE0RsHEtYHrxCcQ3gA7Egt5hLOzkxeQdW6B3AJLYHANQvgSjmV2M/mZ3Z2ZA9iwZNBkPPeKLxJkHKziBL64y8AsATnPS/Zg+x3+AAdiu1Vx09FtW+OL3trtz739gw/SlqSftqIQ0D8t1cRtAyZEGfBFpU5fr2ANbNVEWZhmHFgyTAEy44syhh8aNzV7c2jvwfcJwyFbQBCNsau5+Yoc6nbLAnrgaIfSzjWNcRaT2oesV8gjYFwCJDUxabK7akS3Bxk+WQIIl0LvSuMUptQTeCz9FjAjIB/pMchkeA0qIoqA5kpqBeARReEY5oQroOGL+1Y4ynrFVCQAW3QF6337ZUCBnVvAam0BgpMfnnbiMJqRKbKn+2swIed3yRMg1d6iKbwu2Z8Ga1isWi1YQwHcTDhAzwdDVCY8BSYLCJB05yueYaJOvWRitEbMxuoWUCPLKsXWBSyCUcDZRSEPI4nmt0SJaqaAsC1HiWED6YI93DBR5byrifMxcQirQnSo0DyT6h2TJ0q1TZgCUm84LRNSleyOvxNs+Bf8AIhCerAOPpdcAAAAAElFTkSuQmCC";
@@ -5135,133 +5599,166 @@ var userNavItems = [
5135
5599
  }
5136
5600
  ];
5137
5601
 
5602
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-zPc2aHc2ucJI/core/react/components/organization/sidebar/sidebar.module.css.js
5603
+ var digest9 = "8d6de62d39b3898fe9c821418cc47521ce5c43b749e17dadb2c2eff0efef48d8";
5604
+ var css9 = `._wrapper_7antb_1 {
5605
+ gap: 24px;
5606
+ margin-top: 40px;
5607
+ }
5608
+
5609
+ ._scrollarea_7antb_6 {
5610
+ padding-right: var(--mr-16);
5611
+ width: 100%;
5612
+ }
5613
+ `;
5614
+ (function() {
5615
+ if (typeof document === "undefined") {
5616
+ return;
5617
+ }
5618
+ if (!document.getElementById(digest9)) {
5619
+ var el = document.createElement("style");
5620
+ el.id = digest9;
5621
+ el.textContent = css9;
5622
+ document.head.appendChild(el);
5623
+ }
5624
+ })();
5625
+ var sidebar_module_css_default = { "wrapper": "_wrapper_7antb_1", "scrollarea": "_scrollarea_7antb_6" };
5626
+
5138
5627
  // react/components/organization/sidebar/index.tsx
5139
- import { jsx as jsx31, jsxs as jsxs29 } from "react/jsx-runtime";
5628
+ import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
5140
5629
  var Sidebar = () => {
5141
5630
  const [search, setSearch] = useState13("");
5142
- return /* @__PURE__ */ jsx31(SidebarComponent, { children: /* @__PURE__ */ jsx31(
5143
- ScrollArea,
5144
- {
5145
- style: {
5146
- paddingRight: "var(--mr-16)",
5147
- width: "100%"
5148
- },
5149
- children: /* @__PURE__ */ jsxs29(Flex27, { direction: "column", style: { gap: "24px", marginTop: "40px" }, children: [
5150
- /* @__PURE__ */ jsx31(
5151
- TextField10,
5152
- {
5153
- size: "medium",
5154
- placeholder: "Search",
5155
- onChange: (event) => setSearch(event.target.value)
5156
- }
5157
- ),
5158
- /* @__PURE__ */ jsxs29(SidebarComponent.Navigations, { children: [
5159
- /* @__PURE__ */ jsx31(
5160
- SidebarComponent.NavigationGroup,
5631
+ const routerState = useRouterState4();
5632
+ const isActive = useCallback11(
5633
+ (path) => path.length > 2 ? routerState.location.pathname.includes(path) : routerState.location.pathname === path,
5634
+ [routerState.location.pathname]
5635
+ );
5636
+ return /* @__PURE__ */ jsx31(SidebarComponent, { children: /* @__PURE__ */ jsx31(ScrollArea, { className: sidebar_module_css_default.scrollarea, children: /* @__PURE__ */ jsxs28(Flex27, { direction: "column", style: { gap: "24px", marginTop: "40px" }, children: [
5637
+ /* @__PURE__ */ jsx31(
5638
+ TextField10,
5639
+ {
5640
+ size: "medium",
5641
+ leading: /* @__PURE__ */ jsx31(MagnifyingGlassIcon, {}),
5642
+ placeholder: "Search",
5643
+ onChange: (event) => setSearch(event.target.value)
5644
+ }
5645
+ ),
5646
+ /* @__PURE__ */ jsxs28(SidebarComponent.Navigations, { children: [
5647
+ /* @__PURE__ */ jsx31(
5648
+ SidebarComponent.NavigationGroup,
5649
+ {
5650
+ name: "Organization",
5651
+ icon: /* @__PURE__ */ jsx31(
5652
+ Image8,
5161
5653
  {
5162
- name: "Organization",
5163
- icon: /* @__PURE__ */ jsx31(
5164
- Image9,
5165
- {
5166
- alt: "organization",
5167
- width: 16,
5168
- height: 16,
5169
- src: organization_default
5170
- }
5171
- ),
5172
- children: organizationNavItems.filter((s) => s.name.toLowerCase().includes(search)).map((nav) => /* @__PURE__ */ jsx31(
5173
- SidebarComponent.NavigationCell,
5174
- {
5175
- asChild: true,
5176
- style: { padding: 0 },
5177
- children: /* @__PURE__ */ jsx31(
5178
- Link6,
5179
- {
5180
- to: nav.to,
5181
- style: {
5182
- width: "100%",
5183
- textDecoration: "none",
5184
- padding: "var(--pd-8)"
5185
- },
5186
- children: /* @__PURE__ */ jsx31(
5187
- Text28,
5188
- {
5189
- style: {
5190
- color: "var(--foreground-base)",
5191
- fontWeight: "500"
5192
- },
5193
- children: nav.name
5194
- }
5195
- )
5196
- },
5197
- nav.name
5198
- )
5199
- },
5200
- nav.name
5201
- ))
5654
+ alt: "organization",
5655
+ width: 16,
5656
+ height: 16,
5657
+ src: organization_default
5202
5658
  }
5203
5659
  ),
5204
- /* @__PURE__ */ jsx31(
5205
- SidebarComponent.NavigationGroup,
5660
+ children: organizationNavItems.filter((s) => s.name.toLowerCase().includes(search)).map((nav) => {
5661
+ return /* @__PURE__ */ jsx31(
5662
+ SidebarComponent.NavigationCell,
5663
+ {
5664
+ asChild: true,
5665
+ active: !!isActive(nav == null ? void 0 : nav.to),
5666
+ style: { padding: 0 },
5667
+ children: /* @__PURE__ */ jsx31(
5668
+ Link5,
5669
+ {
5670
+ to: nav.to,
5671
+ style: {
5672
+ width: "100%",
5673
+ textDecoration: "none",
5674
+ padding: "var(--pd-8)"
5675
+ },
5676
+ search: {},
5677
+ params: {},
5678
+ children: /* @__PURE__ */ jsx31(
5679
+ Text27,
5680
+ {
5681
+ style: {
5682
+ color: "var(--foreground-base)",
5683
+ fontWeight: "500"
5684
+ },
5685
+ children: nav.name
5686
+ }
5687
+ )
5688
+ },
5689
+ nav.name
5690
+ )
5691
+ },
5692
+ nav.name
5693
+ );
5694
+ })
5695
+ }
5696
+ ),
5697
+ /* @__PURE__ */ jsx31(
5698
+ SidebarComponent.NavigationGroup,
5699
+ {
5700
+ name: "My Account",
5701
+ icon: /* @__PURE__ */ jsx31(Image8, { alt: "user", width: 16, height: 16, src: user_default }),
5702
+ children: userNavItems.filter((s) => s.name.toLowerCase().includes(search)).map((nav) => /* @__PURE__ */ jsx31(
5703
+ SidebarComponent.NavigationCell,
5206
5704
  {
5207
- name: "My Account",
5208
- icon: /* @__PURE__ */ jsx31(Image9, { alt: "user", width: 16, height: 16, src: user_default }),
5209
- children: userNavItems.filter((s) => s.name.toLowerCase().includes(search)).map((nav) => /* @__PURE__ */ jsx31(
5210
- SidebarComponent.NavigationCell,
5705
+ asChild: true,
5706
+ active: !!isActive(nav == null ? void 0 : nav.to),
5707
+ style: { padding: 0 },
5708
+ children: /* @__PURE__ */ jsx31(
5709
+ Link5,
5211
5710
  {
5212
- asChild: true,
5213
- style: { padding: 0 },
5711
+ to: nav.to,
5712
+ style: {
5713
+ width: "100%",
5714
+ textDecoration: "none",
5715
+ padding: "var(--pd-8)"
5716
+ },
5717
+ search: {},
5718
+ params: {},
5214
5719
  children: /* @__PURE__ */ jsx31(
5215
- Link6,
5720
+ Text27,
5216
5721
  {
5217
- to: nav.to,
5218
5722
  style: {
5219
- width: "100%",
5220
- textDecoration: "none",
5221
- padding: "var(--pd-8)"
5723
+ color: "var(--foreground-base)",
5724
+ fontWeight: "500"
5222
5725
  },
5223
- children: /* @__PURE__ */ jsx31(
5224
- Text28,
5225
- {
5226
- style: {
5227
- color: "var(--foreground-base)",
5228
- fontWeight: "500"
5229
- },
5230
- children: nav.name
5231
- }
5232
- )
5233
- },
5234
- nav.name
5726
+ children: nav.name
5727
+ }
5235
5728
  )
5236
5729
  },
5237
5730
  nav.name
5238
- ))
5239
- }
5240
- )
5241
- ] })
5242
- ] })
5243
- }
5244
- ) });
5731
+ )
5732
+ },
5733
+ nav.name
5734
+ ))
5735
+ }
5736
+ )
5737
+ ] })
5738
+ ] }) }) });
5245
5739
  };
5246
5740
 
5247
5741
  // react/components/organization/teams/index.tsx
5248
- import { Button as Button17, DataTable as DataTable5, EmptyState as EmptyState5, Flex as Flex28, Text as Text30 } from "@raystack/apsara";
5249
- import { useCallback as useCallback10, useEffect as useEffect15, useState as useState15 } from "react";
5250
- import { Outlet as Outlet6, useLocation as useLocation4, useNavigate as useNavigate14 } from "react-router-dom";
5742
+ import { Button as Button18, DataTable as DataTable5, EmptyState as EmptyState5, Flex as Flex28, Text as Text29 } from "@raystack/apsara";
5743
+ import { Outlet as Outlet6, useNavigate as useNavigate15, useRouterState as useRouterState5 } from "@tanstack/react-router";
5744
+ import { useCallback as useCallback12, useEffect as useEffect16, useState as useState15 } from "react";
5251
5745
 
5252
5746
  // react/components/organization/teams/teams.columns.tsx
5253
- import { DropdownMenu as DropdownMenu3, Text as Text29 } from "@raystack/apsara";
5254
- import { useEffect as useEffect14, useState as useState14 } from "react";
5255
- import { Link as Link7 } from "react-router-dom";
5256
- import { jsx as jsx32, jsxs as jsxs30 } from "react/jsx-runtime";
5257
- var columns5 = [
5747
+ import { DropdownMenu as DropdownMenu2, Text as Text28 } from "@raystack/apsara";
5748
+ import { useEffect as useEffect15, useState as useState14 } from "react";
5749
+ import { Link as Link6 } from "@tanstack/react-router";
5750
+ import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
5751
+ var columns4 = [
5258
5752
  {
5259
5753
  header: "Title",
5260
5754
  accessorKey: "name",
5261
5755
  cell: ({ row, getValue }) => /* @__PURE__ */ jsx32(
5262
- Link7,
5756
+ Link6,
5263
5757
  {
5264
- to: `/teams/${row.original.id}`,
5758
+ to: "/teams/$teamId",
5759
+ params: {
5760
+ teamId: row.original.id || ""
5761
+ },
5265
5762
  style: { textDecoration: "none", color: "var(--foreground-base)" },
5266
5763
  children: getValue()
5267
5764
  }
@@ -5284,13 +5781,16 @@ var columns5 = [
5284
5781
  ];
5285
5782
  var TeamActions = ({ team }) => {
5286
5783
  const { client, user } = useFrontier();
5287
- return /* @__PURE__ */ jsxs30(DropdownMenu3, { children: [
5288
- /* @__PURE__ */ jsx32(DropdownMenu3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx32(DotsHorizontalIcon, {}) }),
5289
- /* @__PURE__ */ jsx32(DropdownMenu3.Content, { align: "end", children: /* @__PURE__ */ jsxs30(DropdownMenu3.Group, { children: [
5290
- /* @__PURE__ */ jsx32(DropdownMenu3.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs30(
5291
- Link7,
5784
+ return /* @__PURE__ */ jsxs29(DropdownMenu2, { children: [
5785
+ /* @__PURE__ */ jsx32(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx32(DotsHorizontalIcon, {}) }),
5786
+ /* @__PURE__ */ jsx32(DropdownMenu2.Content, { align: "end", children: /* @__PURE__ */ jsxs29(DropdownMenu2.Group, { children: [
5787
+ /* @__PURE__ */ jsx32(DropdownMenu2.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs29(
5788
+ Link6,
5292
5789
  {
5293
- to: `/teams/${team.id}`,
5790
+ to: "/teams/$teamId",
5791
+ params: {
5792
+ teamId: team.id || ""
5793
+ },
5294
5794
  style: {
5295
5795
  gap: "var(--pd-8)",
5296
5796
  display: "flex",
@@ -5305,10 +5805,13 @@ var TeamActions = ({ team }) => {
5305
5805
  ]
5306
5806
  }
5307
5807
  ) }),
5308
- /* @__PURE__ */ jsx32(DropdownMenu3.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs30(
5309
- Link7,
5808
+ /* @__PURE__ */ jsx32(DropdownMenu2.Item, { style: { padding: 0 }, children: /* @__PURE__ */ jsxs29(
5809
+ Link6,
5310
5810
  {
5311
- to: `/teams/${team.id}/delete`,
5811
+ to: "/teams/$teamId/delete",
5812
+ params: {
5813
+ teamId: team.id || ""
5814
+ },
5312
5815
  style: {
5313
5816
  gap: "var(--pd-8)",
5314
5817
  display: "flex",
@@ -5329,7 +5832,7 @@ var TeamActions = ({ team }) => {
5329
5832
  var TeamMembers = ({ teamId, orgId }) => {
5330
5833
  const { client, user } = useFrontier();
5331
5834
  const [members, setMembers] = useState14([]);
5332
- useEffect14(() => {
5835
+ useEffect15(() => {
5333
5836
  function getTeamMembers() {
5334
5837
  return __async(this, null, function* () {
5335
5838
  if (!teamId)
@@ -5345,51 +5848,49 @@ var TeamMembers = ({ teamId, orgId }) => {
5345
5848
  }
5346
5849
  getTeamMembers();
5347
5850
  }, [client, orgId, teamId]);
5348
- return /* @__PURE__ */ jsxs30(Text29, { children: [
5851
+ return /* @__PURE__ */ jsxs29(Text28, { children: [
5349
5852
  members.length,
5350
5853
  " members"
5351
5854
  ] });
5352
5855
  };
5353
5856
 
5354
5857
  // react/components/organization/teams/index.tsx
5355
- import { jsx as jsx33, jsxs as jsxs31 } from "react/jsx-runtime";
5356
- function WorkspaceTeams({
5357
- organization
5358
- }) {
5858
+ import { jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
5859
+ function WorkspaceTeams() {
5359
5860
  const [teams, setTeams] = useState15([]);
5360
- const { client } = useFrontier();
5361
- const location = useLocation4();
5362
- const getTeams = useCallback10(() => __async(this, null, function* () {
5861
+ const { client, activeOrganization: organization } = useFrontier();
5862
+ const routerState = useRouterState5();
5863
+ const getTeams = useCallback12(() => __async(this, null, function* () {
5363
5864
  const {
5364
5865
  // @ts-ignore
5365
5866
  data: { groups = [] }
5366
5867
  } = yield client == null ? void 0 : client.adminServiceListGroups({ orgId: organization == null ? void 0 : organization.id });
5367
5868
  setTeams(groups);
5368
5869
  }), [client, organization == null ? void 0 : organization.id]);
5369
- useEffect15(() => {
5870
+ useEffect16(() => {
5370
5871
  getTeams();
5371
- }, [getTeams, location.key]);
5372
- useEffect15(() => {
5872
+ }, [getTeams, routerState.location.key]);
5873
+ useEffect16(() => {
5373
5874
  getTeams();
5374
5875
  }, [client, getTeams, organization == null ? void 0 : organization.id]);
5375
- return /* @__PURE__ */ jsxs31(Flex28, { direction: "column", gap: "large", style: { width: "100%" }, children: [
5376
- /* @__PURE__ */ jsx33(Flex28, { style: styles9.header, children: /* @__PURE__ */ jsx33(Text30, { size: 6, children: "Teams" }) }),
5377
- /* @__PURE__ */ jsx33(Flex28, { direction: "column", gap: "large", style: styles9.container, children: /* @__PURE__ */ jsx33(Flex28, { direction: "column", style: { gap: "24px" }, children: /* @__PURE__ */ jsx33(TeamsTable, { teams }) }) }),
5876
+ return /* @__PURE__ */ jsxs30(Flex28, { direction: "column", style: { width: "100%" }, children: [
5877
+ /* @__PURE__ */ jsx33(Flex28, { style: styles2.header, children: /* @__PURE__ */ jsx33(Text29, { size: 6, children: "Teams" }) }),
5878
+ /* @__PURE__ */ jsx33(Flex28, { direction: "column", gap: "large", style: styles2.container, children: /* @__PURE__ */ jsx33(Flex28, { direction: "column", style: { gap: "24px" }, children: /* @__PURE__ */ jsx33(TeamsTable, { teams }) }) }),
5378
5879
  /* @__PURE__ */ jsx33(Outlet6, {})
5379
5880
  ] });
5380
5881
  }
5381
5882
  var TeamsTable = ({ teams }) => {
5382
- let navigate = useNavigate14();
5883
+ let navigate = useNavigate15({ from: "/members" });
5383
5884
  const tableStyle = (teams == null ? void 0 : teams.length) ? { width: "100%" } : { width: "100%", height: "100%" };
5384
5885
  return /* @__PURE__ */ jsx33(Flex28, { direction: "row", children: /* @__PURE__ */ jsx33(
5385
5886
  DataTable5,
5386
5887
  {
5387
5888
  data: teams != null ? teams : [],
5388
- columns: columns5,
5889
+ columns: columns4,
5389
5890
  emptyState: noDataChildren5,
5390
- parentStyle: { height: "calc(100vh - 120px)" },
5891
+ parentStyle: { height: "calc(100vh - 180px)" },
5391
5892
  style: tableStyle,
5392
- children: /* @__PURE__ */ jsx33(DataTable5.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs31(Flex28, { justify: "between", gap: "small", children: [
5893
+ children: /* @__PURE__ */ jsx33(DataTable5.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs30(Flex28, { justify: "between", gap: "small", children: [
5393
5894
  /* @__PURE__ */ jsx33(Flex28, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx33(
5394
5895
  DataTable5.GloabalSearch,
5395
5896
  {
@@ -5398,11 +5899,11 @@ var TeamsTable = ({ teams }) => {
5398
5899
  }
5399
5900
  ) }),
5400
5901
  /* @__PURE__ */ jsx33(
5401
- Button17,
5902
+ Button18,
5402
5903
  {
5403
5904
  variant: "primary",
5404
5905
  style: { width: "fit-content" },
5405
- onClick: () => navigate("/teams/modal"),
5906
+ onClick: () => navigate({ to: "/teams/modal" }),
5406
5907
  children: "Add team"
5407
5908
  }
5408
5909
  )
@@ -5410,7 +5911,7 @@ var TeamsTable = ({ teams }) => {
5410
5911
  }
5411
5912
  ) });
5412
5913
  };
5413
- var noDataChildren5 = /* @__PURE__ */ jsxs31(EmptyState5, { children: [
5914
+ var noDataChildren5 = /* @__PURE__ */ jsxs30(EmptyState5, { children: [
5414
5915
  /* @__PURE__ */ jsx33("div", { className: "svg-container" }),
5415
5916
  /* @__PURE__ */ jsx33("h3", { children: "0 teams in your organization" }),
5416
5917
  /* @__PURE__ */ jsx33("div", { className: "pera", children: "Try adding new team." })
@@ -5418,28 +5919,26 @@ var noDataChildren5 = /* @__PURE__ */ jsxs31(EmptyState5, { children: [
5418
5919
 
5419
5920
  // react/components/organization/teams/add.tsx
5420
5921
  import {
5421
- Button as Button18,
5922
+ Button as Button19,
5422
5923
  Dialog as Dialog7,
5423
5924
  Flex as Flex29,
5424
- Image as Image10,
5925
+ Image as Image9,
5425
5926
  InputField as InputField9,
5426
5927
  Separator as Separator12,
5427
- Text as Text31,
5928
+ Text as Text30,
5428
5929
  TextField as TextField11
5429
5930
  } from "@raystack/apsara";
5430
5931
  import { yupResolver as yupResolver9 } from "@hookform/resolvers/yup";
5431
5932
  import { Controller as Controller9, useForm as useForm9 } from "react-hook-form";
5432
- import { useNavigate as useNavigate15 } from "react-router-dom";
5433
- import { toast as toast11 } from "sonner";
5933
+ import { useNavigate as useNavigate16 } from "@tanstack/react-router";
5934
+ import { toast as toast12 } from "sonner";
5434
5935
  import * as yup9 from "yup";
5435
- import { jsx as jsx34, jsxs as jsxs32 } from "react/jsx-runtime";
5936
+ import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
5436
5937
  var teamSchema = yup9.object({
5437
5938
  title: yup9.string().required(),
5438
5939
  name: yup9.string().required()
5439
5940
  }).required();
5440
- var AddTeam = ({
5441
- organization
5442
- }) => {
5941
+ var AddTeam = () => {
5443
5942
  var _a, _b;
5444
5943
  const {
5445
5944
  reset,
@@ -5449,8 +5948,8 @@ var AddTeam = ({
5449
5948
  } = useForm9({
5450
5949
  resolver: yupResolver9(teamSchema)
5451
5950
  });
5452
- const navigate = useNavigate15();
5453
- const { client } = useFrontier();
5951
+ const navigate = useNavigate16({ from: "/members/modal" });
5952
+ const { client, activeOrganization: organization } = useFrontier();
5454
5953
  function onSubmit(data) {
5455
5954
  return __async(this, null, function* () {
5456
5955
  if (!client)
@@ -5459,30 +5958,38 @@ var AddTeam = ({
5459
5958
  return;
5460
5959
  try {
5461
5960
  yield client.frontierServiceCreateGroup(organization == null ? void 0 : organization.id, data);
5462
- toast11.success("Team created");
5463
- navigate("/teams");
5961
+ toast12.success("Team created");
5962
+ navigate({ to: "/teams" });
5464
5963
  } catch ({ error }) {
5465
- toast11.error("Something went wrong", {
5964
+ toast12.error("Something went wrong", {
5466
5965
  description: error.message
5467
5966
  });
5468
5967
  }
5469
5968
  });
5470
5969
  }
5471
- return /* @__PURE__ */ jsx34(Dialog7, { open: true, children: /* @__PURE__ */ jsxs32(Dialog7.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
5472
- /* @__PURE__ */ jsxs32(Flex29, { justify: "between", style: { padding: "16px 24px" }, children: [
5473
- /* @__PURE__ */ jsx34(Text31, { size: 6, style: { fontWeight: "500" }, children: "Add Team" }),
5474
- /* @__PURE__ */ jsx34(Image10, { alt: "cross", src: cross_default, onClick: () => navigate("/teams") })
5970
+ return /* @__PURE__ */ jsx34(Dialog7, { open: true, children: /* @__PURE__ */ jsxs31(Dialog7.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
5971
+ /* @__PURE__ */ jsxs31(Flex29, { justify: "between", style: { padding: "16px 24px" }, children: [
5972
+ /* @__PURE__ */ jsx34(Text30, { size: 6, style: { fontWeight: "500" }, children: "Add Team" }),
5973
+ /* @__PURE__ */ jsx34(
5974
+ Image9,
5975
+ {
5976
+ alt: "cross",
5977
+ src: cross_default,
5978
+ onClick: () => navigate({ to: "/teams" }),
5979
+ style: { cursor: "pointer" }
5980
+ }
5981
+ )
5475
5982
  ] }),
5476
5983
  /* @__PURE__ */ jsx34(Separator12, {}),
5477
- /* @__PURE__ */ jsxs32("form", { onSubmit: handleSubmit(onSubmit), children: [
5478
- /* @__PURE__ */ jsxs32(
5984
+ /* @__PURE__ */ jsxs31("form", { onSubmit: handleSubmit(onSubmit), children: [
5985
+ /* @__PURE__ */ jsxs31(
5479
5986
  Flex29,
5480
5987
  {
5481
5988
  direction: "column",
5482
5989
  gap: "medium",
5483
5990
  style: { padding: "24px 32px" },
5484
5991
  children: [
5485
- /* @__PURE__ */ jsxs32(InputField9, { label: "Team title", children: [
5992
+ /* @__PURE__ */ jsxs31(InputField9, { label: "Team title", children: [
5486
5993
  /* @__PURE__ */ jsx34(
5487
5994
  Controller9,
5488
5995
  {
@@ -5497,9 +6004,9 @@ var AddTeam = ({
5497
6004
  name: "title"
5498
6005
  }
5499
6006
  ),
5500
- /* @__PURE__ */ jsx34(Text31, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
6007
+ /* @__PURE__ */ jsx34(Text30, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
5501
6008
  ] }),
5502
- /* @__PURE__ */ jsxs32(InputField9, { label: "Team name", children: [
6009
+ /* @__PURE__ */ jsxs31(InputField9, { label: "Team name", children: [
5503
6010
  /* @__PURE__ */ jsx34(
5504
6011
  Controller9,
5505
6012
  {
@@ -5514,41 +6021,39 @@ var AddTeam = ({
5514
6021
  name: "name"
5515
6022
  }
5516
6023
  ),
5517
- /* @__PURE__ */ jsx34(Text31, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
6024
+ /* @__PURE__ */ jsx34(Text30, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
5518
6025
  ] })
5519
6026
  ]
5520
6027
  }
5521
6028
  ),
5522
6029
  /* @__PURE__ */ jsx34(Separator12, {}),
5523
- /* @__PURE__ */ jsx34(Flex29, { align: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx34(Button18, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "creating..." : "Create team" }) })
6030
+ /* @__PURE__ */ jsx34(Flex29, { align: "end", style: { padding: "var(--pd-16)" }, children: /* @__PURE__ */ jsx34(Button19, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "creating..." : "Create team" }) })
5524
6031
  ] })
5525
6032
  ] }) });
5526
6033
  };
5527
6034
 
5528
6035
  // react/components/organization/teams/delete.tsx
5529
6036
  import {
5530
- Button as Button19,
6037
+ Button as Button20,
5531
6038
  Dialog as Dialog8,
5532
6039
  Flex as Flex30,
5533
- Image as Image11,
6040
+ Image as Image10,
5534
6041
  InputField as InputField10,
5535
6042
  Separator as Separator13,
5536
- Text as Text32,
6043
+ Text as Text31,
5537
6044
  TextField as TextField12
5538
6045
  } from "@raystack/apsara";
5539
6046
  import { yupResolver as yupResolver10 } from "@hookform/resolvers/yup";
5540
- import { useEffect as useEffect16, useState as useState16 } from "react";
6047
+ import { useEffect as useEffect17, useState as useState16 } from "react";
5541
6048
  import { Controller as Controller10, useForm as useForm10 } from "react-hook-form";
5542
- import { useNavigate as useNavigate16, useParams as useParams5 } from "react-router-dom";
5543
- import { toast as toast12 } from "sonner";
6049
+ import { useNavigate as useNavigate17, useParams as useParams5 } from "@tanstack/react-router";
6050
+ import { toast as toast13 } from "sonner";
5544
6051
  import * as yup10 from "yup";
5545
- import { jsx as jsx35, jsxs as jsxs33 } from "react/jsx-runtime";
6052
+ import { jsx as jsx35, jsxs as jsxs32 } from "react/jsx-runtime";
5546
6053
  var teamSchema2 = yup10.object({
5547
6054
  name: yup10.string()
5548
6055
  }).required();
5549
- var DeleteTeam = ({
5550
- organization
5551
- }) => {
6056
+ var DeleteTeam = () => {
5552
6057
  var _a;
5553
6058
  const {
5554
6059
  watch,
@@ -5559,11 +6064,11 @@ var DeleteTeam = ({
5559
6064
  } = useForm10({
5560
6065
  resolver: yupResolver10(teamSchema2)
5561
6066
  });
5562
- let { teamId } = useParams5();
5563
- const navigate = useNavigate16();
6067
+ let { teamId } = useParams5({ from: `/teams/$teamId/delete` });
6068
+ const navigate = useNavigate17();
5564
6069
  const [team, setTeam] = useState16();
5565
- const { client } = useFrontier();
5566
- useEffect16(() => {
6070
+ const { client, activeOrganization: organization } = useFrontier();
6071
+ useEffect17(() => {
5567
6072
  function getTeamDetails() {
5568
6073
  return __async(this, null, function* () {
5569
6074
  if (!(organization == null ? void 0 : organization.id) || !teamId)
@@ -5575,7 +6080,7 @@ var DeleteTeam = ({
5575
6080
  } = yield client == null ? void 0 : client.frontierServiceGetGroup(organization == null ? void 0 : organization.id, teamId);
5576
6081
  setTeam(group);
5577
6082
  } catch ({ error }) {
5578
- toast12.error("Something went wrong", {
6083
+ toast13.error("Something went wrong", {
5579
6084
  description: error.message
5580
6085
  });
5581
6086
  }
@@ -5595,31 +6100,39 @@ var DeleteTeam = ({
5595
6100
  return setError("name", { message: "team name is not same" });
5596
6101
  try {
5597
6102
  yield client.frontierServiceDeleteGroup(organization.id, teamId);
5598
- toast12.success("team deleted");
5599
- navigate("/teams");
6103
+ toast13.success("team deleted");
6104
+ navigate({ to: "/teams" });
5600
6105
  } catch ({ error }) {
5601
- toast12.error("Something went wrong", {
6106
+ toast13.error("Something went wrong", {
5602
6107
  description: error.message
5603
6108
  });
5604
6109
  }
5605
6110
  });
5606
6111
  }
5607
6112
  const name = watch("name", "");
5608
- return /* @__PURE__ */ jsx35(Dialog8, { open: true, children: /* @__PURE__ */ jsxs33(Dialog8.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
5609
- /* @__PURE__ */ jsxs33(Flex30, { justify: "between", style: { padding: "16px 24px" }, children: [
5610
- /* @__PURE__ */ jsx35(Text32, { size: 6, style: { fontWeight: "500" }, children: "Verify team deletion" }),
5611
- /* @__PURE__ */ jsx35(Image11, { alt: "cross", src: cross_default, onClick: () => navigate("/teams") })
6113
+ return /* @__PURE__ */ jsx35(Dialog8, { open: true, children: /* @__PURE__ */ jsxs32(Dialog8.Content, { style: { padding: 0, maxWidth: "600px", width: "100%" }, children: [
6114
+ /* @__PURE__ */ jsxs32(Flex30, { justify: "between", style: { padding: "16px 24px" }, children: [
6115
+ /* @__PURE__ */ jsx35(Text31, { size: 6, style: { fontWeight: "500" }, children: "Verify team deletion" }),
6116
+ /* @__PURE__ */ jsx35(
6117
+ Image10,
6118
+ {
6119
+ alt: "cross",
6120
+ src: cross_default,
6121
+ onClick: () => navigate({ to: "/teams" }),
6122
+ style: { cursor: "pointer" }
6123
+ }
6124
+ )
5612
6125
  ] }),
5613
6126
  /* @__PURE__ */ jsx35(Separator13, {}),
5614
- /* @__PURE__ */ jsx35("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs33(
6127
+ /* @__PURE__ */ jsx35("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs32(
5615
6128
  Flex30,
5616
6129
  {
5617
6130
  direction: "column",
5618
6131
  gap: "medium",
5619
6132
  style: { padding: "24px 32px" },
5620
6133
  children: [
5621
- /* @__PURE__ */ jsx35(Text32, { size: 2, children: "This action can not be undone. This will permanently delete team Growth." }),
5622
- /* @__PURE__ */ jsxs33(InputField10, { label: "Please type name of the team to confirm.", children: [
6134
+ /* @__PURE__ */ jsx35(Text31, { size: 2, children: "This action can not be undone. This will permanently delete team Growth." }),
6135
+ /* @__PURE__ */ jsxs32(InputField10, { label: "Please type name of the team to confirm.", children: [
5623
6136
  /* @__PURE__ */ jsx35(
5624
6137
  Controller10,
5625
6138
  {
@@ -5634,11 +6147,11 @@ var DeleteTeam = ({
5634
6147
  name: "name"
5635
6148
  }
5636
6149
  ),
5637
- /* @__PURE__ */ jsx35(Text32, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
6150
+ /* @__PURE__ */ jsx35(Text31, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.name && String((_a = errors.name) == null ? void 0 : _a.message) })
5638
6151
  ] }),
5639
- /* @__PURE__ */ jsx35(Flex30, { children: /* @__PURE__ */ jsx35(Text32, { size: 2, children: "I acknowledge I understand that all of the team data will be deleted and want to proceed." }) }),
6152
+ /* @__PURE__ */ jsx35(Flex30, { children: /* @__PURE__ */ jsx35(Text31, { size: 2, children: "I acknowledge I understand that all of the team data will be deleted and want to proceed." }) }),
5640
6153
  /* @__PURE__ */ jsx35(
5641
- Button19,
6154
+ Button20,
5642
6155
  {
5643
6156
  variant: "danger",
5644
6157
  size: "medium",
@@ -5657,26 +6170,26 @@ var DeleteTeam = ({
5657
6170
  // react/components/organization/teams/team.tsx
5658
6171
  import { Flex as Flex34, Text as Text35 } from "@raystack/apsara";
5659
6172
  import { Tabs as Tabs2 } from "@raystack/apsara";
5660
- import { useEffect as useEffect18, useState as useState17 } from "react";
5661
- import { Outlet as Outlet7, useParams as useParams8 } from "react-router-dom";
5662
- import { toast as toast14 } from "sonner";
6173
+ import { Outlet as Outlet7, useParams as useParams9 } from "@tanstack/react-router";
6174
+ import { useEffect as useEffect19, useState as useState17 } from "react";
6175
+ import { toast as toast17 } from "sonner";
5663
6176
 
5664
6177
  // react/components/organization/teams/general/index.tsx
5665
6178
  import {
5666
- Button as Button20,
6179
+ Button as Button21,
5667
6180
  Flex as Flex31,
5668
6181
  InputField as InputField11,
5669
6182
  Separator as Separator14,
5670
- Text as Text33,
6183
+ Text as Text32,
5671
6184
  TextField as TextField13
5672
6185
  } from "@raystack/apsara";
5673
6186
  import { yupResolver as yupResolver11 } from "@hookform/resolvers/yup";
5674
- import { useCallback as useCallback11, useEffect as useEffect17 } from "react";
6187
+ import { useCallback as useCallback13, useEffect as useEffect18 } from "react";
5675
6188
  import { Controller as Controller11, useForm as useForm11 } from "react-hook-form";
5676
- import { useNavigate as useNavigate17, useParams as useParams6 } from "react-router-dom";
5677
- import { toast as toast13 } from "sonner";
6189
+ import { useNavigate as useNavigate18, useParams as useParams6 } from "@tanstack/react-router";
6190
+ import { toast as toast14 } from "sonner";
5678
6191
  import * as yup11 from "yup";
5679
- import { jsx as jsx36, jsxs as jsxs34 } from "react/jsx-runtime";
6192
+ import { jsx as jsx36, jsxs as jsxs33 } from "react/jsx-runtime";
5680
6193
  var teamSchema3 = yup11.object({
5681
6194
  title: yup11.string().required(),
5682
6195
  name: yup11.string().required()
@@ -5691,9 +6204,9 @@ var General2 = ({ organization, team }) => {
5691
6204
  } = useForm11({
5692
6205
  resolver: yupResolver11(teamSchema3)
5693
6206
  });
5694
- let { teamId } = useParams6();
6207
+ let { teamId } = useParams6({ from: "/teams/$teamId" });
5695
6208
  const { client } = useFrontier();
5696
- useEffect17(() => {
6209
+ useEffect18(() => {
5697
6210
  reset(team);
5698
6211
  }, [reset, team]);
5699
6212
  function onSubmit(data) {
@@ -5706,17 +6219,17 @@ var General2 = ({ organization, team }) => {
5706
6219
  return;
5707
6220
  try {
5708
6221
  yield client.frontierServiceUpdateGroup(organization == null ? void 0 : organization.id, teamId, data);
5709
- toast13.success("Team updated");
6222
+ toast14.success("Team updated");
5710
6223
  } catch ({ error }) {
5711
- toast13.error("Something went wrong", {
6224
+ toast14.error("Something went wrong", {
5712
6225
  description: error.message
5713
6226
  });
5714
6227
  }
5715
6228
  });
5716
6229
  }
5717
- return /* @__PURE__ */ jsxs34(Flex31, { direction: "column", gap: "large", style: { paddingTop: "32px" }, children: [
5718
- /* @__PURE__ */ jsx36("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs34(Flex31, { direction: "column", gap: "medium", style: { maxWidth: "320px" }, children: [
5719
- /* @__PURE__ */ jsxs34(InputField11, { label: "Team title", children: [
6230
+ return /* @__PURE__ */ jsxs33(Flex31, { direction: "column", gap: "large", style: { paddingTop: "32px" }, children: [
6231
+ /* @__PURE__ */ jsx36("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs33(Flex31, { direction: "column", gap: "medium", style: { maxWidth: "320px" }, children: [
6232
+ /* @__PURE__ */ jsxs33(InputField11, { label: "Team title", children: [
5720
6233
  /* @__PURE__ */ jsx36(
5721
6234
  Controller11,
5722
6235
  {
@@ -5731,9 +6244,9 @@ var General2 = ({ organization, team }) => {
5731
6244
  name: "title"
5732
6245
  }
5733
6246
  ),
5734
- /* @__PURE__ */ jsx36(Text33, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
6247
+ /* @__PURE__ */ jsx36(Text32, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
5735
6248
  ] }),
5736
- /* @__PURE__ */ jsxs34(InputField11, { label: "Team name", children: [
6249
+ /* @__PURE__ */ jsxs33(InputField11, { label: "Team name", children: [
5737
6250
  /* @__PURE__ */ jsx36(
5738
6251
  Controller11,
5739
6252
  {
@@ -5749,9 +6262,9 @@ var General2 = ({ organization, team }) => {
5749
6262
  name: "name"
5750
6263
  }
5751
6264
  ),
5752
- /* @__PURE__ */ jsx36(Text33, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
6265
+ /* @__PURE__ */ jsx36(Text32, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
5753
6266
  ] }),
5754
- /* @__PURE__ */ jsx36(Button20, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "updating..." : "Update team" })
6267
+ /* @__PURE__ */ jsx36(Button21, { variant: "primary", size: "medium", type: "submit", children: isSubmitting ? "updating..." : "Update team" })
5755
6268
  ] }) }),
5756
6269
  /* @__PURE__ */ jsx36(Separator14, {}),
5757
6270
  /* @__PURE__ */ jsx36(GeneralDeleteTeam, { organization }),
@@ -5760,35 +6273,35 @@ var General2 = ({ organization, team }) => {
5760
6273
  };
5761
6274
  var GeneralDeleteTeam = ({ organization }) => {
5762
6275
  const { client } = useFrontier();
5763
- let { teamId } = useParams6();
5764
- const navigate = useNavigate17();
6276
+ let { teamId } = useParams6({ from: "/teams/$teamId" });
6277
+ const navigate = useNavigate18({ from: "/teams/$teamId" });
5765
6278
  const {
5766
6279
  handleSubmit,
5767
6280
  formState: { errors, isSubmitting }
5768
6281
  } = useForm11();
5769
6282
  const organizationId = organization == null ? void 0 : organization.id;
5770
- const onDeleteOrganization = useCallback11(() => __async(void 0, null, function* () {
6283
+ const onDeleteOrganization = useCallback13(() => __async(void 0, null, function* () {
5771
6284
  if (!organizationId || !teamId)
5772
6285
  return;
5773
6286
  try {
5774
6287
  yield client == null ? void 0 : client.frontierServiceDeleteGroup(organizationId, teamId);
5775
- navigate("/teams");
6288
+ navigate({ to: "/teams" });
5776
6289
  } catch ({ error }) {
5777
6290
  console.log(error);
5778
- toast13.error("Something went wrong", {
6291
+ toast14.error("Something went wrong", {
5779
6292
  description: `${error.message}`
5780
6293
  });
5781
6294
  }
5782
6295
  }), [client, navigate, organizationId, teamId]);
5783
- return /* @__PURE__ */ jsxs34(Flex31, { direction: "column", gap: "medium", children: [
5784
- /* @__PURE__ */ jsx36(Text33, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this team and all of its data." }),
6296
+ return /* @__PURE__ */ jsxs33(Flex31, { direction: "column", gap: "medium", children: [
6297
+ /* @__PURE__ */ jsx36(Text32, { size: 3, style: { color: "var(--foreground-muted)" }, children: "If you want to permanently delete this team and all of its data." }),
5785
6298
  /* @__PURE__ */ jsx36(
5786
- Button20,
6299
+ Button21,
5787
6300
  {
5788
6301
  variant: "danger",
5789
6302
  type: "submit",
5790
6303
  size: "medium",
5791
- onClick: () => navigate(`/teams/${teamId}/delete`),
6304
+ onClick: () => navigate({ to: `/teams/$teamId/delete`, params: { teamId } }),
5792
6305
  children: isSubmitting ? "deleting..." : "Delete team"
5793
6306
  }
5794
6307
  )
@@ -5796,13 +6309,25 @@ var GeneralDeleteTeam = ({ organization }) => {
5796
6309
  };
5797
6310
 
5798
6311
  // react/components/organization/teams/members/index.tsx
5799
- import { DataTable as DataTable6, EmptyState as EmptyState6, Flex as Flex33 } from "@raystack/apsara";
5800
- import { useNavigate as useNavigate18, useParams as useParams7 } from "react-router-dom";
6312
+ import {
6313
+ Avatar as Avatar5,
6314
+ Button as Button22,
6315
+ Command,
6316
+ DataTable as DataTable6,
6317
+ DropdownMenu as DropdownMenu3,
6318
+ EmptyState as EmptyState6,
6319
+ Flex as Flex33,
6320
+ Text as Text34
6321
+ } from "@raystack/apsara";
6322
+ import { useParams as useParams8 } from "@tanstack/react-router";
6323
+ import { toast as toast16 } from "sonner";
5801
6324
 
5802
6325
  // react/components/organization/teams/members/member.columns.tsx
5803
- import { Avatar as Avatar3, Flex as Flex32, Label as Label3, Text as Text34 } from "@raystack/apsara";
5804
- import { jsx as jsx37, jsxs as jsxs35 } from "react/jsx-runtime";
5805
- var columns6 = [
6326
+ import { Avatar as Avatar4, Flex as Flex32, Label as Label3, Text as Text33 } from "@raystack/apsara";
6327
+ import { useNavigate as useNavigate19, useParams as useParams7 } from "@tanstack/react-router";
6328
+ import { toast as toast15 } from "sonner";
6329
+ import { jsx as jsx37, jsxs as jsxs34 } from "react/jsx-runtime";
6330
+ var getColumns2 = (organizationId) => [
5806
6331
  {
5807
6332
  header: "",
5808
6333
  accessorKey: "image",
@@ -5814,11 +6339,13 @@ var columns6 = [
5814
6339
  }
5815
6340
  },
5816
6341
  cell: ({ row, getValue }) => {
6342
+ var _a;
5817
6343
  return /* @__PURE__ */ jsx37(
5818
- Avatar3,
6344
+ Avatar4,
5819
6345
  {
5820
- src: "https://assets.codepen.io/285131/github.svg",
5821
- fallback: "P"
6346
+ src: getValue(),
6347
+ fallback: getInitials((_a = row.original) == null ? void 0 : _a.name),
6348
+ style: { marginRight: "var(--mr-12)" }
5822
6349
  }
5823
6350
  );
5824
6351
  }
@@ -5831,15 +6358,15 @@ var columns6 = [
5831
6358
  }
5832
6359
  },
5833
6360
  cell: ({ row, getValue }) => {
5834
- return /* @__PURE__ */ jsxs35(Flex32, { direction: "column", children: [
6361
+ return /* @__PURE__ */ jsxs34(Flex32, { direction: "column", gap: "extra-small", children: [
5835
6362
  /* @__PURE__ */ jsx37(Label3, { style: { fontWeight: "$500" }, children: getValue() }),
5836
- /* @__PURE__ */ jsx37(Text34, { children: row.original.email })
6363
+ /* @__PURE__ */ jsx37(Text33, { children: row.original.email })
5837
6364
  ] });
5838
6365
  }
5839
6366
  },
5840
6367
  {
5841
6368
  accessorKey: "email",
5842
- cell: (info) => /* @__PURE__ */ jsx37(Text34, { children: info.getValue() })
6369
+ cell: (info) => /* @__PURE__ */ jsx37(Text33, { children: info.getValue() })
5843
6370
  },
5844
6371
  {
5845
6372
  header: "",
@@ -5849,48 +6376,176 @@ var columns6 = [
5849
6376
  textAlign: "end"
5850
6377
  }
5851
6378
  },
5852
- cell: (info) => /* @__PURE__ */ jsx37(DotsHorizontalIcon, {})
6379
+ cell: ({ row }) => /* @__PURE__ */ jsx37(
6380
+ MembersActions2,
6381
+ {
6382
+ member: row.original,
6383
+ organizationId
6384
+ }
6385
+ )
5853
6386
  }
5854
6387
  ];
6388
+ var MembersActions2 = ({
6389
+ member,
6390
+ organizationId
6391
+ }) => {
6392
+ let { teamId } = useParams7({ from: "/teams/$teamId" });
6393
+ const { client } = useFrontier();
6394
+ const navigate = useNavigate19({ from: "/teams/$teamId" });
6395
+ function deleteMember() {
6396
+ return __async(this, null, function* () {
6397
+ try {
6398
+ yield client == null ? void 0 : client.frontierServiceRemoveGroupUser(
6399
+ organizationId,
6400
+ teamId,
6401
+ member == null ? void 0 : member.id
6402
+ );
6403
+ navigate({ to: "/teams" });
6404
+ toast15.success("Member deleted");
6405
+ } catch ({ error }) {
6406
+ toast15.error("Something went wrong", {
6407
+ description: error.message
6408
+ });
6409
+ }
6410
+ });
6411
+ }
6412
+ return /* @__PURE__ */ jsx37(Flex32, { align: "center", justify: "end", gap: "large", children: /* @__PURE__ */ jsx37(
6413
+ TrashIcon,
6414
+ {
6415
+ onClick: deleteMember,
6416
+ color: "var(--foreground-danger)",
6417
+ style: { cursor: "pointer" }
6418
+ }
6419
+ ) });
6420
+ };
5855
6421
 
5856
6422
  // react/components/organization/teams/members/index.tsx
5857
- import { jsx as jsx38, jsxs as jsxs36 } from "react/jsx-runtime";
5858
- var Members2 = ({ members }) => {
5859
- let navigate = useNavigate18();
5860
- let { teamId } = useParams7();
6423
+ import { jsx as jsx38, jsxs as jsxs35 } from "react/jsx-runtime";
6424
+ var Members2 = ({
6425
+ orgMembers,
6426
+ members,
6427
+ setMembers,
6428
+ organizationId
6429
+ }) => {
5861
6430
  const tableStyle = (members == null ? void 0 : members.length) ? { width: "100%" } : { width: "100%", height: "100%" };
6431
+ const invitableUser = filterUsersfromUsers(orgMembers, members) || [];
5862
6432
  return /* @__PURE__ */ jsx38(Flex33, { direction: "column", style: { paddingTop: "32px" }, children: /* @__PURE__ */ jsx38(
5863
6433
  DataTable6,
5864
6434
  {
5865
6435
  data: members != null ? members : [],
5866
- columns: columns6,
6436
+ columns: getColumns2(organizationId),
5867
6437
  emptyState: noDataChildren6,
5868
- parentStyle: { height: "calc(100vh - 400px)" },
6438
+ parentStyle: { height: "calc(100vh - 212px)" },
5869
6439
  style: tableStyle,
5870
- children: /* @__PURE__ */ jsx38(DataTable6.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsx38(Flex33, { justify: "between", gap: "small", children: /* @__PURE__ */ jsx38(Flex33, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx38(
5871
- DataTable6.GloabalSearch,
5872
- {
5873
- placeholder: "Search by name or email",
5874
- size: "medium"
5875
- }
5876
- ) }) }) })
6440
+ children: /* @__PURE__ */ jsx38(DataTable6.Toolbar, { style: { padding: 0, border: 0 }, children: /* @__PURE__ */ jsxs35(Flex33, { justify: "between", gap: "small", children: [
6441
+ /* @__PURE__ */ jsx38(Flex33, { style: { maxWidth: "360px", width: "100%" }, children: /* @__PURE__ */ jsx38(
6442
+ DataTable6.GloabalSearch,
6443
+ {
6444
+ placeholder: "Search by name or email",
6445
+ size: "medium"
6446
+ }
6447
+ ) }),
6448
+ /* @__PURE__ */ jsxs35(DropdownMenu3, { children: [
6449
+ /* @__PURE__ */ jsx38(DropdownMenu3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx38(Button22, { variant: "primary", style: { width: "fit-content" }, children: "Add a member" }) }),
6450
+ /* @__PURE__ */ jsx38(
6451
+ DropdownMenu3.Content,
6452
+ {
6453
+ align: "end",
6454
+ style: { minWidth: "220px", padding: 0 },
6455
+ children: /* @__PURE__ */ jsxs35(Command, { children: [
6456
+ /* @__PURE__ */ jsx38(
6457
+ Command.Input,
6458
+ {
6459
+ placeholder: "Add team member",
6460
+ style: { padding: "8px 0" }
6461
+ }
6462
+ ),
6463
+ /* @__PURE__ */ jsxs35(Command.List, { children: [
6464
+ /* @__PURE__ */ jsx38(Command.Empty, { children: "No results found." }),
6465
+ /* @__PURE__ */ jsxs35(Command.Group, { children: [
6466
+ invitableUser.length === 0 ? /* @__PURE__ */ jsx38(Flex33, { align: "center", justify: "center", children: /* @__PURE__ */ jsx38(Text34, { children: "No member to invite" }) }) : null,
6467
+ invitableUser.map((user) => /* @__PURE__ */ jsx38(
6468
+ InviteUser,
6469
+ {
6470
+ user,
6471
+ members,
6472
+ setMembers,
6473
+ organizationId
6474
+ },
6475
+ user.id
6476
+ ))
6477
+ ] })
6478
+ ] })
6479
+ ] })
6480
+ }
6481
+ )
6482
+ ] })
6483
+ ] }) })
5877
6484
  }
5878
6485
  ) });
5879
6486
  };
5880
- var noDataChildren6 = /* @__PURE__ */ jsxs36(EmptyState6, { children: [
6487
+ var noDataChildren6 = /* @__PURE__ */ jsxs35(EmptyState6, { children: [
5881
6488
  /* @__PURE__ */ jsx38("div", { className: "svg-container" }),
5882
6489
  /* @__PURE__ */ jsx38("h3", { children: "0 members in your team" }),
5883
6490
  /* @__PURE__ */ jsx38("div", { className: "pera", children: "Try adding new members." })
5884
6491
  ] });
6492
+ var InviteUser = ({
6493
+ user,
6494
+ organizationId,
6495
+ members = [],
6496
+ setMembers
6497
+ }) => {
6498
+ let { teamId } = useParams8({ from: "/teams/$teamId" });
6499
+ const { client } = useFrontier();
6500
+ function inviteMember() {
6501
+ return __async(this, null, function* () {
6502
+ try {
6503
+ yield client == null ? void 0 : client.frontierServiceAddGroupUsers(
6504
+ organizationId,
6505
+ teamId,
6506
+ { userIds: [user == null ? void 0 : user.id] }
6507
+ );
6508
+ setMembers([...members, user]);
6509
+ toast16.success("Member deleted");
6510
+ } catch ({ error }) {
6511
+ toast16.error("Something went wrong", {
6512
+ description: error.message
6513
+ });
6514
+ }
6515
+ });
6516
+ }
6517
+ return /* @__PURE__ */ jsxs35(
6518
+ Flex33,
6519
+ {
6520
+ align: "center",
6521
+ gap: "small",
6522
+ style: { padding: "var(--pd-8)", cursor: "pointer" },
6523
+ onClick: inviteMember,
6524
+ children: [
6525
+ /* @__PURE__ */ jsx38(
6526
+ Avatar5,
6527
+ {
6528
+ alt: "profile",
6529
+ shape: "square",
6530
+ fallback: getInitials(user == null ? void 0 : user.title),
6531
+ imageProps: { width: "16px", height: "16px", fontSize: "8px" }
6532
+ }
6533
+ ),
6534
+ /* @__PURE__ */ jsx38(Text34, { children: user.title })
6535
+ ]
6536
+ }
6537
+ );
6538
+ };
5885
6539
 
5886
6540
  // react/components/organization/teams/team.tsx
5887
- import { jsx as jsx39, jsxs as jsxs37 } from "react/jsx-runtime";
5888
- var TeamPage = ({ organization }) => {
5889
- let { teamId } = useParams8();
6541
+ import { jsx as jsx39, jsxs as jsxs36 } from "react/jsx-runtime";
6542
+ var TeamPage = () => {
6543
+ let { teamId } = useParams9({ from: "/teams/$teamId" });
5890
6544
  const [team, setTeam] = useState17();
6545
+ const [orgMembers, setOrgMembers] = useState17([]);
5891
6546
  const [members, setMembers] = useState17([]);
5892
- const { client } = useFrontier();
5893
- useEffect18(() => {
6547
+ const { client, activeOrganization: organization } = useFrontier();
6548
+ useEffect19(() => {
5894
6549
  function getTeamDetails() {
5895
6550
  return __async(this, null, function* () {
5896
6551
  if (!(organization == null ? void 0 : organization.id) || !teamId)
@@ -5900,6 +6555,22 @@ var TeamPage = ({ organization }) => {
5900
6555
  // @ts-ignore
5901
6556
  data: { group }
5902
6557
  } = yield client == null ? void 0 : client.frontierServiceGetGroup(organization == null ? void 0 : organization.id, teamId);
6558
+ setTeam(group);
6559
+ } catch ({ error }) {
6560
+ toast17.error("Something went wrong", {
6561
+ description: error.message
6562
+ });
6563
+ }
6564
+ });
6565
+ }
6566
+ getTeamDetails();
6567
+ }, [client, organization == null ? void 0 : organization.id, teamId]);
6568
+ useEffect19(() => {
6569
+ function getTeamMembers() {
6570
+ return __async(this, null, function* () {
6571
+ if (!(organization == null ? void 0 : organization.id) || !teamId)
6572
+ return;
6573
+ try {
5903
6574
  const {
5904
6575
  // @ts-ignore
5905
6576
  data: { users }
@@ -5907,26 +6578,55 @@ var TeamPage = ({ organization }) => {
5907
6578
  organization == null ? void 0 : organization.id,
5908
6579
  teamId
5909
6580
  );
5910
- setTeam(group);
5911
6581
  setMembers(users);
5912
6582
  } catch ({ error }) {
5913
- toast14.error("Something went wrong", {
6583
+ toast17.error("Something went wrong", {
5914
6584
  description: error.message
5915
6585
  });
5916
6586
  }
5917
6587
  });
5918
6588
  }
5919
- getTeamDetails();
6589
+ getTeamMembers();
5920
6590
  }, [client, organization == null ? void 0 : organization.id, teamId]);
5921
- return /* @__PURE__ */ jsxs37(Flex34, { direction: "column", gap: "large", style: { width: "100%" }, children: [
5922
- /* @__PURE__ */ jsx39(Flex34, { style: styles9.header, children: /* @__PURE__ */ jsx39(Text35, { size: 6, children: "Teams" }) }),
5923
- /* @__PURE__ */ jsxs37(Tabs2, { defaultValue: "general", style: { margin: "0 48px", zIndex: 0 }, children: [
5924
- /* @__PURE__ */ jsxs37(Tabs2.List, { elevated: true, children: [
6591
+ useEffect19(() => {
6592
+ function getOrganizationMembers() {
6593
+ return __async(this, null, function* () {
6594
+ if (!(organization == null ? void 0 : organization.id))
6595
+ return;
6596
+ try {
6597
+ const {
6598
+ // @ts-ignore
6599
+ data: { users }
6600
+ } = yield client == null ? void 0 : client.frontierServiceListOrganizationUsers(
6601
+ organization == null ? void 0 : organization.id
6602
+ );
6603
+ setOrgMembers(users);
6604
+ } catch ({ error }) {
6605
+ toast17.error("Something went wrong", {
6606
+ description: error.message
6607
+ });
6608
+ }
6609
+ });
6610
+ }
6611
+ getOrganizationMembers();
6612
+ }, [client, organization == null ? void 0 : organization.id]);
6613
+ return /* @__PURE__ */ jsxs36(Flex34, { direction: "column", style: { width: "100%" }, children: [
6614
+ /* @__PURE__ */ jsx39(Flex34, { style: styles2.header, children: /* @__PURE__ */ jsx39(Text35, { size: 6, children: "Teams" }) }),
6615
+ /* @__PURE__ */ jsxs36(Tabs2, { defaultValue: "general", style: styles2.container, children: [
6616
+ /* @__PURE__ */ jsxs36(Tabs2.List, { elevated: true, children: [
5925
6617
  /* @__PURE__ */ jsx39(Tabs2.Trigger, { value: "general", style: { flex: 1, height: 24 }, children: "General" }),
5926
6618
  /* @__PURE__ */ jsx39(Tabs2.Trigger, { value: "members", style: { flex: 1, height: 24 }, children: "Members" })
5927
6619
  ] }),
5928
6620
  /* @__PURE__ */ jsx39(Tabs2.Content, { value: "general", children: /* @__PURE__ */ jsx39(General2, { organization, team }) }),
5929
- /* @__PURE__ */ jsx39(Tabs2.Content, { value: "members", children: /* @__PURE__ */ jsx39(Members2, { members }) })
6621
+ /* @__PURE__ */ jsx39(Tabs2.Content, { value: "members", children: /* @__PURE__ */ jsx39(
6622
+ Members2,
6623
+ {
6624
+ orgMembers,
6625
+ members,
6626
+ setMembers,
6627
+ organizationId: organization == null ? void 0 : organization.id
6628
+ }
6629
+ ) })
5930
6630
  ] }),
5931
6631
  /* @__PURE__ */ jsx39(Outlet7, {})
5932
6632
  ] });
@@ -5936,46 +6636,45 @@ var TeamPage = ({ organization }) => {
5936
6636
  import { Flex as Flex37, Separator as Separator15, Text as Text38 } from "@raystack/apsara";
5937
6637
 
5938
6638
  // react/components/organization/user/avatar.tsx
5939
- import { Flex as Flex35, Image as Image12, Text as Text36 } from "@raystack/apsara";
5940
- import { jsx as jsx40, jsxs as jsxs38 } from "react/jsx-runtime";
6639
+ import { Avatar as Avatar6, Flex as Flex35 } from "@raystack/apsara";
6640
+ import Skeleton4 from "react-loading-skeleton";
6641
+ import { jsx as jsx40 } from "react/jsx-runtime";
5941
6642
  var GeneralProfile2 = () => {
5942
- return /* @__PURE__ */ jsxs38(Flex35, { direction: "column", gap: "small", children: [
5943
- /* @__PURE__ */ jsx40(
5944
- Image12,
5945
- {
5946
- alt: "Colm Tuite",
5947
- src: "https://pbs.twimg.com/profile_images/864164353771229187/Catw6Nmh_400x400.jpg",
5948
- width: 80,
5949
- height: 80,
5950
- style: { borderRadius: "var(--pd-4)" }
5951
- }
5952
- ),
5953
- /* @__PURE__ */ jsx40(Text36, { size: 4, style: { color: "var(--foreground-muted)" }, children: "Pick a logo for your profile" })
5954
- ] });
6643
+ const { user, isUserLoading: isLoading } = useFrontier();
6644
+ return /* @__PURE__ */ jsx40(Flex35, { direction: "column", gap: "small", children: isLoading ? /* @__PURE__ */ jsx40(Skeleton4, { style: { width: "80px", height: "80px" } }) : /* @__PURE__ */ jsx40(
6645
+ Avatar6,
6646
+ {
6647
+ alt: "User profile",
6648
+ shape: "square",
6649
+ fallback: getInitials(user == null ? void 0 : user.title),
6650
+ imageProps: { width: "80px", height: "80px" }
6651
+ }
6652
+ ) });
5955
6653
  };
5956
6654
 
5957
6655
  // react/components/organization/user/update.tsx
5958
6656
  import { yupResolver as yupResolver12 } from "@hookform/resolvers/yup";
5959
6657
  import {
5960
6658
  Box as Box4,
5961
- Button as Button21,
6659
+ Button as Button23,
5962
6660
  Flex as Flex36,
5963
6661
  InputField as InputField12,
5964
6662
  Text as Text37,
5965
6663
  TextField as TextField14
5966
6664
  } from "@raystack/apsara";
5967
- import { useEffect as useEffect19 } from "react";
6665
+ import { useEffect as useEffect20 } from "react";
5968
6666
  import { Controller as Controller12, useForm as useForm12 } from "react-hook-form";
5969
- import { toast as toast15 } from "sonner";
6667
+ import Skeleton5 from "react-loading-skeleton";
6668
+ import { toast as toast18 } from "sonner";
5970
6669
  import * as yup12 from "yup";
5971
- import { jsx as jsx41, jsxs as jsxs39 } from "react/jsx-runtime";
6670
+ import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
5972
6671
  var generalSchema2 = yup12.object({
5973
6672
  title: yup12.string().required(),
5974
6673
  email: yup12.string().email().required()
5975
6674
  }).required();
5976
6675
  var UpdateProfile = () => {
5977
6676
  var _a, _b;
5978
- const { client, user } = useFrontier();
6677
+ const { client, user, isUserLoading: isLoading } = useFrontier();
5979
6678
  const {
5980
6679
  reset,
5981
6680
  control,
@@ -5985,7 +6684,7 @@ var UpdateProfile = () => {
5985
6684
  } = useForm12({
5986
6685
  resolver: yupResolver12(generalSchema2)
5987
6686
  });
5988
- useEffect19(() => {
6687
+ useEffect20(() => {
5989
6688
  reset(user);
5990
6689
  }, [user, reset]);
5991
6690
  function onSubmit(data) {
@@ -5996,17 +6695,17 @@ var UpdateProfile = () => {
5996
6695
  if (!(user == null ? void 0 : user.id))
5997
6696
  return;
5998
6697
  yield client.frontierServiceUpdateUser(user == null ? void 0 : user.id, data);
5999
- toast15.success("Updated user");
6698
+ toast18.success("Updated user");
6000
6699
  } catch ({ error }) {
6001
- toast15.error("Something went wrong", {
6700
+ toast18.error("Something went wrong", {
6002
6701
  description: error.message
6003
6702
  });
6004
6703
  }
6005
6704
  });
6006
6705
  }
6007
- return /* @__PURE__ */ jsx41("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs39(Flex36, { direction: "column", gap: "large", style: { maxWidth: "320px" }, children: [
6008
- /* @__PURE__ */ jsx41(Box4, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs39(InputField12, { label: "Full name", children: [
6009
- /* @__PURE__ */ jsx41(
6706
+ return /* @__PURE__ */ jsx41("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ jsxs37(Flex36, { direction: "column", gap: "large", style: { maxWidth: "320px" }, children: [
6707
+ /* @__PURE__ */ jsx41(Box4, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs37(InputField12, { label: "Full name", children: [
6708
+ isLoading ? /* @__PURE__ */ jsx41(Skeleton5, { height: "32px" }) : /* @__PURE__ */ jsx41(
6010
6709
  Controller12,
6011
6710
  {
6012
6711
  render: ({ field }) => /* @__PURE__ */ jsx41(
@@ -6023,8 +6722,8 @@ var UpdateProfile = () => {
6023
6722
  ),
6024
6723
  /* @__PURE__ */ jsx41(Text37, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_a = errors.title) == null ? void 0 : _a.message) })
6025
6724
  ] }) }),
6026
- /* @__PURE__ */ jsx41(Box4, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs39(InputField12, { label: "Email Address", children: [
6027
- /* @__PURE__ */ jsx41(
6725
+ /* @__PURE__ */ jsx41(Box4, { style: { padding: "var(--pd-4) 0" }, children: /* @__PURE__ */ jsxs37(InputField12, { label: "Email Address", children: [
6726
+ isLoading ? /* @__PURE__ */ jsx41(Skeleton5, { height: "32px" }) : /* @__PURE__ */ jsx41(
6028
6727
  Controller12,
6029
6728
  {
6030
6729
  render: ({ field }) => /* @__PURE__ */ jsx41(
@@ -6045,12 +6744,13 @@ var UpdateProfile = () => {
6045
6744
  /* @__PURE__ */ jsx41(Text37, { size: 1, style: { color: "var(--foreground-danger)" }, children: errors.title && String((_b = errors.title) == null ? void 0 : _b.message) })
6046
6745
  ] }) }),
6047
6746
  /* @__PURE__ */ jsx41(
6048
- Button21,
6747
+ Button23,
6049
6748
  {
6050
6749
  size: "medium",
6051
6750
  variant: "primary",
6052
6751
  type: "submit",
6053
6752
  style: { width: "fit-content" },
6753
+ disabled: isLoading || isSubmitting,
6054
6754
  children: isSubmitting ? "updating..." : "Update"
6055
6755
  }
6056
6756
  )
@@ -6058,11 +6758,11 @@ var UpdateProfile = () => {
6058
6758
  };
6059
6759
 
6060
6760
  // react/components/organization/user/index.tsx
6061
- import { jsx as jsx42, jsxs as jsxs40 } from "react/jsx-runtime";
6761
+ import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
6062
6762
  function UserSetting() {
6063
- return /* @__PURE__ */ jsxs40(Flex37, { direction: "column", gap: "large", style: { width: "100%" }, children: [
6064
- /* @__PURE__ */ jsx42(Flex37, { style: styles9.header, children: /* @__PURE__ */ jsx42(Text38, { size: 6, children: "Profile" }) }),
6065
- /* @__PURE__ */ jsxs40(Flex37, { direction: "column", gap: "large", style: styles9.container, children: [
6763
+ return /* @__PURE__ */ jsxs38(Flex37, { direction: "column", style: { width: "100%" }, children: [
6764
+ /* @__PURE__ */ jsx42(Flex37, { style: styles2.header, children: /* @__PURE__ */ jsx42(Text38, { size: 6, children: "Profile" }) }),
6765
+ /* @__PURE__ */ jsxs38(Flex37, { direction: "column", gap: "large", style: styles2.container, children: [
6066
6766
  /* @__PURE__ */ jsx42(GeneralProfile2, {}),
6067
6767
  /* @__PURE__ */ jsx42(Separator15, {}),
6068
6768
  /* @__PURE__ */ jsx42(UpdateProfile, {})
@@ -6071,154 +6771,161 @@ function UserSetting() {
6071
6771
  }
6072
6772
 
6073
6773
  // react/components/organization/profile.tsx
6074
- import { jsx as jsx43, jsxs as jsxs41 } from "react/jsx-runtime";
6774
+ import { jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
6775
+ var rootRoute = new RootRoute({
6776
+ component: () => {
6777
+ return /* @__PURE__ */ jsxs39(ThemeProvider, { children: [
6778
+ /* @__PURE__ */ jsx43(Toaster, { richColors: true }),
6779
+ /* @__PURE__ */ jsxs39(Flex38, { style: { width: "100%", height: "100%" }, children: [
6780
+ /* @__PURE__ */ jsx43(Sidebar, {}),
6781
+ /* @__PURE__ */ jsx43(Outlet8, {})
6782
+ ] })
6783
+ ] });
6784
+ }
6785
+ });
6786
+ var indexRoute = new Route({
6787
+ getParentRoute: () => rootRoute,
6788
+ path: "/",
6789
+ component: GeneralSetting
6790
+ });
6791
+ var deleteOrgRoute = new Route({
6792
+ getParentRoute: () => indexRoute,
6793
+ path: "/delete",
6794
+ component: DeleteOrganization
6795
+ });
6796
+ var securityRoute = new Route({
6797
+ getParentRoute: () => rootRoute,
6798
+ path: "/security",
6799
+ component: WorkspaceSecurity
6800
+ });
6801
+ var membersRoute = new Route({
6802
+ getParentRoute: () => rootRoute,
6803
+ path: "/members",
6804
+ component: WorkspaceMembers
6805
+ });
6806
+ var inviteMemberRoute = new Route({
6807
+ getParentRoute: () => membersRoute,
6808
+ path: "/modal",
6809
+ component: InviteMember
6810
+ });
6811
+ var teamsRoute = new Route({
6812
+ getParentRoute: () => rootRoute,
6813
+ path: "/teams",
6814
+ component: WorkspaceTeams
6815
+ });
6816
+ var addTeamRoute = new Route({
6817
+ getParentRoute: () => teamsRoute,
6818
+ path: "/modal",
6819
+ component: AddTeam
6820
+ });
6821
+ var domainsRoute = new Route({
6822
+ getParentRoute: () => rootRoute,
6823
+ path: "/domains",
6824
+ component: Domain
6825
+ });
6826
+ var verifyDomainRoute = new Route({
6827
+ getParentRoute: () => domainsRoute,
6828
+ path: "/$domainId/verify",
6829
+ component: VerifyDomain
6830
+ });
6831
+ var addDomainRoute = new Route({
6832
+ getParentRoute: () => domainsRoute,
6833
+ path: "/modal",
6834
+ component: AddDomain
6835
+ });
6836
+ var teamRoute = new Route({
6837
+ getParentRoute: () => rootRoute,
6838
+ path: "/teams/$teamId",
6839
+ component: TeamPage
6840
+ });
6841
+ var deleteTeamRoute = new Route({
6842
+ getParentRoute: () => teamRoute,
6843
+ path: "/delete",
6844
+ component: DeleteTeam
6845
+ });
6846
+ var projectsRoute = new Route({
6847
+ getParentRoute: () => rootRoute,
6848
+ path: "/projects",
6849
+ component: WorkspaceProjects
6850
+ });
6851
+ var addProjectRoute = new Route({
6852
+ getParentRoute: () => projectsRoute,
6853
+ path: "/modal",
6854
+ component: AddProject
6855
+ });
6856
+ var projectPageRoute = new Route({
6857
+ getParentRoute: () => rootRoute,
6858
+ path: "/projects/$projectId",
6859
+ component: ProjectPage
6860
+ });
6861
+ var deleteProjectRoute = new Route({
6862
+ getParentRoute: () => projectPageRoute,
6863
+ path: "/delete",
6864
+ component: DeleteProject
6865
+ });
6866
+ var profileRoute = new Route({
6867
+ getParentRoute: () => rootRoute,
6868
+ path: "/profile",
6869
+ component: UserSetting
6870
+ });
6871
+ var perferencesRoute = new Route({
6872
+ getParentRoute: () => rootRoute,
6873
+ path: "/perferences",
6874
+ component: UserPreferences
6875
+ });
6876
+ var routeTree = rootRoute.addChildren([
6877
+ indexRoute.addChildren([deleteOrgRoute]),
6878
+ securityRoute,
6879
+ membersRoute.addChildren([inviteMemberRoute]),
6880
+ teamsRoute.addChildren([addTeamRoute]),
6881
+ domainsRoute.addChildren([addDomainRoute, verifyDomainRoute]),
6882
+ teamRoute.addChildren([deleteTeamRoute]),
6883
+ projectsRoute.addChildren([addProjectRoute]),
6884
+ projectPageRoute.addChildren([deleteProjectRoute]),
6885
+ profileRoute,
6886
+ perferencesRoute
6887
+ ]);
6888
+ var router = new Router({ routeTree });
6075
6889
  var OrganizationProfile = ({
6076
6890
  organizationId,
6077
6891
  defaultRoute = "/"
6078
6892
  }) => {
6079
- const [organization, setOrganization] = useState18();
6080
- const { client } = useFrontier();
6081
- const fetchOrganization = useCallback12(() => __async(void 0, null, function* () {
6082
- const {
6083
- // @ts-ignore
6084
- data: { organization: organization2 }
6085
- } = yield client == null ? void 0 : client.frontierServiceGetOrganization(organizationId);
6086
- setOrganization(organization2);
6087
- }), [client, organizationId]);
6088
- useEffect20(() => {
6089
- if (organizationId)
6893
+ const { client, setActiveOrganization, setIsActiveOrganizationLoading } = useFrontier();
6894
+ const fetchOrganization = useCallback14(() => __async(void 0, null, function* () {
6895
+ try {
6896
+ setIsActiveOrganizationLoading(true);
6897
+ const {
6898
+ // @ts-ignore
6899
+ data: { organization }
6900
+ } = yield client == null ? void 0 : client.frontierServiceGetOrganization(organizationId);
6901
+ setActiveOrganization(organization);
6902
+ } catch (err) {
6903
+ console.error(err);
6904
+ } finally {
6905
+ setIsActiveOrganizationLoading(false);
6906
+ }
6907
+ }), [
6908
+ client,
6909
+ organizationId,
6910
+ setActiveOrganization,
6911
+ setIsActiveOrganizationLoading
6912
+ ]);
6913
+ useEffect21(() => {
6914
+ if (organizationId) {
6090
6915
  fetchOrganization();
6091
- }, [organizationId, client, fetchOrganization]);
6092
- return (
6093
- // @ts-ignore
6094
- /* @__PURE__ */ jsx43(MemoryRouter, { initialEntries: [defaultRoute], children: /* @__PURE__ */ jsxs41(ThemeProvider, { children: [
6095
- /* @__PURE__ */ jsx43(Toaster, { richColors: true }),
6096
- /* @__PURE__ */ jsxs41(Flex38, { style: { width: "100%", height: "100%" }, children: [
6097
- /* @__PURE__ */ jsx43(Sidebar, {}),
6098
- /* @__PURE__ */ jsx43(Flex38, { style: { flexGrow: "1", overflowY: "auto" }, children: /* @__PURE__ */ jsxs41(Routes, { children: [
6099
- /* @__PURE__ */ jsx43(
6100
- Route,
6101
- {
6102
- path: "/",
6103
- element: /* @__PURE__ */ jsx43(GeneralSetting, { organization }),
6104
- children: /* @__PURE__ */ jsx43(
6105
- Route,
6106
- {
6107
- path: "delete",
6108
- element: /* @__PURE__ */ jsx43(DeleteOrganization, { organization })
6109
- }
6110
- )
6111
- }
6112
- ),
6113
- /* @__PURE__ */ jsx43(Route, { path: "security", element: /* @__PURE__ */ jsx43(WorkspaceSecurity, {}) }),
6114
- /* @__PURE__ */ jsx43(
6115
- Route,
6116
- {
6117
- path: "members",
6118
- element: /* @__PURE__ */ jsx43(
6119
- WorkspaceMembers,
6120
- {
6121
- organization
6122
- }
6123
- ),
6124
- children: /* @__PURE__ */ jsx43(
6125
- Route,
6126
- {
6127
- path: "modal",
6128
- element: /* @__PURE__ */ jsx43(InviteMember, { organization })
6129
- }
6130
- )
6131
- }
6132
- ),
6133
- /* @__PURE__ */ jsx43(
6134
- Route,
6135
- {
6136
- path: "teams",
6137
- element: /* @__PURE__ */ jsx43(WorkspaceTeams, { organization }),
6138
- children: /* @__PURE__ */ jsx43(
6139
- Route,
6140
- {
6141
- path: "modal",
6142
- element: /* @__PURE__ */ jsx43(AddTeam, { organization })
6143
- }
6144
- )
6145
- }
6146
- ),
6147
- /* @__PURE__ */ jsxs41(
6148
- Route,
6149
- {
6150
- path: "domains",
6151
- element: /* @__PURE__ */ jsx43(Domain, { organization }),
6152
- children: [
6153
- /* @__PURE__ */ jsx43(
6154
- Route,
6155
- {
6156
- path: ":domainId/verify",
6157
- element: /* @__PURE__ */ jsx43(VerifyDomain, { organization })
6158
- }
6159
- ),
6160
- /* @__PURE__ */ jsx43(
6161
- Route,
6162
- {
6163
- path: "modal",
6164
- element: /* @__PURE__ */ jsx43(AddDomain, { organization })
6165
- }
6166
- )
6167
- ]
6168
- }
6169
- ),
6170
- /* @__PURE__ */ jsx43(
6171
- Route,
6172
- {
6173
- path: "teams/:teamId",
6174
- element: /* @__PURE__ */ jsx43(TeamPage, { organization }),
6175
- children: /* @__PURE__ */ jsx43(
6176
- Route,
6177
- {
6178
- path: "delete",
6179
- element: /* @__PURE__ */ jsx43(DeleteTeam, { organization })
6180
- }
6181
- )
6182
- }
6183
- ),
6184
- /* @__PURE__ */ jsx43(
6185
- Route,
6186
- {
6187
- path: "projects",
6188
- element: /* @__PURE__ */ jsx43(WorkspaceProjects, { organization }),
6189
- children: /* @__PURE__ */ jsx43(
6190
- Route,
6191
- {
6192
- path: "modal",
6193
- element: /* @__PURE__ */ jsx43(AddProject, { organization })
6194
- }
6195
- )
6196
- }
6197
- ),
6198
- /* @__PURE__ */ jsx43(
6199
- Route,
6200
- {
6201
- path: "projects/:projectId",
6202
- element: /* @__PURE__ */ jsx43(ProjectPage, { organization }),
6203
- children: /* @__PURE__ */ jsx43(
6204
- Route,
6205
- {
6206
- path: "delete",
6207
- element: /* @__PURE__ */ jsx43(DeleteProject, { organization })
6208
- }
6209
- )
6210
- }
6211
- ),
6212
- /* @__PURE__ */ jsx43(Route, { path: "profile", element: /* @__PURE__ */ jsx43(UserSetting, {}) }),
6213
- /* @__PURE__ */ jsx43(Route, { path: "perferences", element: /* @__PURE__ */ jsx43(UserPreferences, {}) })
6214
- ] }) })
6215
- ] })
6216
- ] }) })
6217
- );
6916
+ } else {
6917
+ setActiveOrganization(void 0);
6918
+ }
6919
+ }, [organizationId, fetchOrganization, setActiveOrganization]);
6920
+ const memoryHistory = createMemoryHistory({
6921
+ initialEntries: [defaultRoute]
6922
+ });
6923
+ const memoryRouter = new Router({ routeTree, history: memoryHistory });
6924
+ return /* @__PURE__ */ jsx43(RouterProvider, { router: memoryRouter });
6218
6925
  };
6219
6926
 
6220
6927
  // react/components/window/index.tsx
6221
- import { Dialog as Dialog9, Flex as Flex39, Image as Image13 } from "@raystack/apsara";
6928
+ import { Dialog as Dialog9, Flex as Flex39, Image as Image11 } from "@raystack/apsara";
6222
6929
  import { useState as useState19 } from "react";
6223
6930
 
6224
6931
  // react/assets/close-close.svg
@@ -6236,8 +6943,40 @@ var resize_default_default = 'data:image/svg+xml,<svg width="12" height="12" vie
6236
6943
  // react/assets/resize-expand.svg
6237
6944
  var resize_expand_default = 'data:image/svg+xml,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M0.25 6.00001C0.25 2.82437 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82437 11.75 6.00001C11.75 9.17564 9.17564 11.75 6 11.75C2.82436 11.75 0.25 9.17564 0.25 6.00001Z" fill="%2330A46C"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M9 4.96612C9.00007 4.52061 8.4614 4.29747 8.14641 4.61253L4.61366 8.14605C4.29876 8.46102 4.52179 8.9995 4.96718 8.99957L7.85678 9C8.48793 9 8.99957 8.48836 8.99957 7.85721L9 4.96612ZM4.14281 3.00043C3.51167 3.00043 3.00003 3.51207 3.00003 4.14322L3.00046 7.03301C3.00052 7.47837 3.53894 7.70142 3.85393 7.38656L7.38841 3.85363C7.70352 3.53865 7.4804 2.99993 7.03486 3L4.14281 3.00043Z" fill="%233C4347"/>%0A<path d="M0.25 6.00001C0.25 2.82437 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82437 11.75 6.00001C11.75 9.17564 9.17564 11.75 6 11.75C2.82436 11.75 0.25 9.17564 0.25 6.00001Z" stroke="%237E868C" stroke-width="0.5"/>%0A</svg>%0A';
6238
6945
 
6946
+ // esbuild-css-modules-plugin-namespace:/var/folders/mq/f5d_98j92_34th9hjtpbdrgh0000gn/T/tmp-95132-vsd7r11U0jMK/core/react/components/window/window.module.css.js
6947
+ var digest10 = "18f35bfb5325e096af57995bf4a9b5d27c5e08f20d5b97e3c9d44eaabcd06621";
6948
+ var css10 = `._container_7x9o0_1 {
6949
+ padding: 0;
6950
+ }
6951
+
6952
+ ._dialogContentZoomin_7x9o0_5 {
6953
+ width: 100vw;
6954
+ height: 100vh;
6955
+ max-height: unset;
6956
+ margin-top: 0;
6957
+ zindex: 1;
6958
+ }
6959
+
6960
+ ._dialogContentZoomout_7x9o0_13 {
6961
+ width: 80vw;
6962
+ height: 80vh;
6963
+ }
6964
+ `;
6965
+ (function() {
6966
+ if (typeof document === "undefined") {
6967
+ return;
6968
+ }
6969
+ if (!document.getElementById(digest10)) {
6970
+ var el = document.createElement("style");
6971
+ el.id = digest10;
6972
+ el.textContent = css10;
6973
+ document.head.appendChild(el);
6974
+ }
6975
+ })();
6976
+ var window_module_css_default = { "container": "_container_7x9o0_1", "dialogContentZoomin": "_dialogContentZoomin_7x9o0_5", "dialogContentZoomout": "_dialogContentZoomout_7x9o0_13" };
6977
+
6239
6978
  // react/components/window/index.tsx
6240
- import { jsx as jsx44, jsxs as jsxs42 } from "react/jsx-runtime";
6979
+ import { jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
6241
6980
  var Window = (_a) => {
6242
6981
  var _b = _a, {
6243
6982
  open = false,
@@ -6251,12 +6990,10 @@ var Window = (_a) => {
6251
6990
  const [zoom, setZoom] = useState19(false);
6252
6991
  const [isCloseActive, setCloseActive] = useState19(false);
6253
6992
  const [isZoomActive, setZoomActive] = useState19(false);
6254
- return /* @__PURE__ */ jsx44(Dialog9, __spreadProps(__spreadValues({ open, onOpenChange }, props), { children: /* @__PURE__ */ jsxs42(
6993
+ return /* @__PURE__ */ jsx44(Dialog9, __spreadProps(__spreadValues({ open, onOpenChange }, props), { children: /* @__PURE__ */ jsxs40(
6255
6994
  Dialog9.Content,
6256
6995
  {
6257
- style: __spreadValues({
6258
- padding: 0
6259
- }, zoom ? { width: "100vw", height: "100vh", maxHeight: "reset" } : { width: "80vw", height: "80vh" }),
6996
+ className: `${window_module_css_default.container} ${zoom ? window_module_css_default.dialogContentZoomin : window_module_css_default.dialogContentZoomout}`,
6260
6997
  children: [
6261
6998
  /* @__PURE__ */ jsx44("div", { style: { position: "absolute", inset: 0 }, children }),
6262
6999
  /* @__PURE__ */ jsx44(
@@ -6267,25 +7004,27 @@ var Window = (_a) => {
6267
7004
  top: 0,
6268
7005
  padding: "16px"
6269
7006
  },
6270
- children: /* @__PURE__ */ jsxs42(Flex39, { gap: "small", children: [
7007
+ children: /* @__PURE__ */ jsxs40(Flex39, { gap: "small", children: [
6271
7008
  /* @__PURE__ */ jsx44(
6272
- Image13,
7009
+ Image11,
6273
7010
  {
6274
7011
  onMouseOver: () => setCloseActive(true),
6275
7012
  onMouseOut: () => setCloseActive(false),
6276
7013
  alt: "cross",
6277
7014
  src: isCloseActive ? close_close_default : close_default_default,
6278
- onClick: () => onOpenChange && onOpenChange(false)
7015
+ onClick: () => onOpenChange && onOpenChange(false),
7016
+ style: { cursor: "pointer" }
6279
7017
  }
6280
7018
  ),
6281
7019
  /* @__PURE__ */ jsx44(
6282
- Image13,
7020
+ Image11,
6283
7021
  {
6284
7022
  onMouseOver: () => setZoomActive(true),
6285
7023
  onMouseOut: () => setZoomActive(false),
6286
7024
  alt: "cross",
6287
7025
  src: isZoomActive ? zoom ? resize_collapse_default : resize_expand_default : resize_default_default,
6288
- onClick: () => setZoom(!zoom)
7026
+ onClick: () => setZoom(!zoom),
7027
+ style: { cursor: "pointer" }
6289
7028
  }
6290
7029
  )
6291
7030
  ] })
@@ -6300,7 +7039,7 @@ var Window = (_a) => {
6300
7039
  import React6 from "react";
6301
7040
  import { jsx as jsx45 } from "react/jsx-runtime";
6302
7041
  var counts = /* @__PURE__ */ new Map();
6303
- function useMaxAllowedInstancesGuard(name, error, maxCount = 2) {
7042
+ function useMaxAllowedInstancesGuard(name, error, maxCount = 1) {
6304
7043
  React6.useEffect(() => {
6305
7044
  const count = counts.get(name) || 0;
6306
7045
  if (count == maxCount) {
@@ -6347,6 +7086,7 @@ export {
6347
7086
  Container,
6348
7087
  CreateOrganization,
6349
7088
  FrontierProvider,
7089
+ Header,
6350
7090
  MagicLinkVerify,
6351
7091
  OrganizationProfile,
6352
7092
  SignIn,