@burdenoff/microfe-organization 2026.625.2 → 2026.625.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/organization-management/modules/members/components/InviteStatusBadge.js +6 -2
  2. package/dist/organization-management/modules/members/components/InviteStatusBadge.js.map +1 -1
  3. package/dist/organization-management/modules/members/pages/InvitePeoplePage.js +16 -19
  4. package/dist/organization-management/modules/members/pages/InvitePeoplePage.js.map +1 -1
  5. package/dist/organization-management/modules/members/pages/MembersListPage.js +219 -220
  6. package/dist/organization-management/modules/members/pages/MembersListPage.js.map +1 -1
  7. package/dist/organization-management/modules/members/pages/MyInvitesPage.js +40 -56
  8. package/dist/organization-management/modules/members/pages/MyInvitesPage.js.map +1 -1
  9. package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.js +5 -1
  10. package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.js.map +1 -1
  11. package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.js +36 -38
  12. package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.js.map +1 -1
  13. package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.js +118 -113
  14. package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.js.map +1 -1
  15. package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.js +5 -1
  16. package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.js.map +1 -1
  17. package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.js +168 -170
  18. package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.js.map +1 -1
  19. package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.js +245 -243
  20. package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.js.map +1 -1
  21. package/package.json +2 -2
  22. package/dist/organization-management/shared/components/feedback/EmptyState.js +0 -31
  23. package/dist/organization-management/shared/components/feedback/EmptyState.js.map +0 -1
@@ -1,23 +1,22 @@
1
1
  import { useOrgConsole as e } from "../../../providers/OrgConsoleProvider.js";
2
2
  import { toast as t } from "../../../../node_modules/sonner/dist/index.js";
3
3
  import { useDeleteOrganization as n, useMyOrganizations as r, useOrganizations as ee } from "../hooks/useOrganizations.js";
4
- import { useMyInvites as i } from "../../members/hooks/useInvites.js";
5
- import { InviteStatus as te } from "../../../../generated/global-types.js";
6
- import { OrganizationStatusBadge as a } from "../components/OrganizationStatusBadge.js";
7
- import { useTr as ne } from "../../../shared/hooks/useTr.js";
8
- import { SearchInput as re } from "../../../shared/components/input/SearchInput.js";
9
- import { SelectionCheckbox as o } from "../../../shared/components/input/SelectionCheckbox.js";
10
- import { LoadingState as s } from "../../../shared/components/feedback/LoadingState.js";
11
- import { ErrorState as ie } from "../../../shared/components/feedback/ErrorState.js";
12
- import { EmptyState as c } from "../../../shared/components/feedback/EmptyState.js";
13
- import { useDebouncedValue as ae } from "../../../shared/hooks/useDebouncedValue.js";
14
- import { useConfirmDialog as oe } from "../../../shared/components/dialog/ConfirmDialog.js";
15
- import { PERMISSIONS as l } from "../../../constants/permissions.js";
16
- import { useOrganizationPageView as u } from "../../../hooks/useOrganizationPageView.js";
17
- import { isNative as d, nativeConfirm as se, nativeImpact as ce, nativeNotify as f, nativeToast as p } from "../../../../utils/nativeBridge.js";
18
- import { useEffect as le, useMemo as m, useState as h } from "react";
19
- import { Building2 as g, Eye as _, Mail as v, Plus as ue, RefreshCw as de, SquarePen as y, Trash2 as b } from "lucide-react";
20
- import { CTAOverflowMenu as fe, GlassCard as x } from "@burdenoff/fe-libs/ui";
4
+ import { useMyInvites as te } from "../../members/hooks/useInvites.js";
5
+ import { InviteStatus as ne } from "../../../../generated/global-types.js";
6
+ import { OrganizationStatusBadge as i } from "../components/OrganizationStatusBadge.js";
7
+ import { useTr as re } from "../../../shared/hooks/useTr.js";
8
+ import { SearchInput as ie } from "../../../shared/components/input/SearchInput.js";
9
+ import { SelectionCheckbox as a } from "../../../shared/components/input/SelectionCheckbox.js";
10
+ import { LoadingState as o } from "../../../shared/components/feedback/LoadingState.js";
11
+ import { ErrorState as ae } from "../../../shared/components/feedback/ErrorState.js";
12
+ import { useDebouncedValue as oe } from "../../../shared/hooks/useDebouncedValue.js";
13
+ import { useConfirmDialog as s } from "../../../shared/components/dialog/ConfirmDialog.js";
14
+ import { PERMISSIONS as c } from "../../../constants/permissions.js";
15
+ import { useOrganizationPageView as se } from "../../../hooks/useOrganizationPageView.js";
16
+ import { isNative as l, nativeConfirm as ce, nativeImpact as le, nativeNotify as u, nativeToast as d } from "../../../../utils/nativeBridge.js";
17
+ import { useEffect as f, useMemo as p, useState as m } from "react";
18
+ import { Eye as h, Mail as ue, Plus as g, RefreshCw as _, SquarePen as v, Trash2 as y } from "lucide-react";
19
+ import { AuroraBackground as de, CTAOverflowMenu as fe, GlassCard as b, GradientText as pe, IllustratedEmptyState as x } from "@burdenoff/fe-libs/ui";
21
20
  import { useFeatureFlagDetails as S } from "@burdenoff/fe-libs/shared/feature-flags";
22
21
  import { usePermissions as C } from "@burdenoff/fe-libs/shared/providers/shell";
23
22
  import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -26,35 +25,35 @@ function D(e) {
26
25
  return new Date(e).toLocaleDateString();
27
26
  }
28
27
  function O({ mode: O = "my" } = {}) {
29
- u("organizations.list");
30
- let k = ne(), { navigate: A, basePath: j = "/organizations" } = e(), { hasPermission: M, isLoading: pe } = C(), N = S("organization.create"), P = N ? !!N.value : !0, [F, I] = h(""), L = ae(F, 300), [R, z] = h(/* @__PURE__ */ new Set()), { openConfirmDialog: B, ConfirmDialog: me } = oe(), { total: V } = i(te.Pending, 1, 0, O === "my"), he = r(200, 0, O === "my"), ge = ee(void 0, 200, 0, O === "admin"), { organizations: H, loading: _e, error: U, refetch: W } = O === "admin" ? ge : he, ve = L.trim().length > 0, G = m(() => {
28
+ se("organizations.list");
29
+ let k = re(), { navigate: A, basePath: j = "/organizations" } = e(), { hasPermission: M, isLoading: me } = C(), N = S("organization.create"), P = N ? !!N.value : !0, [F, I] = m(""), L = oe(F, 300), [R, z] = m(/* @__PURE__ */ new Set()), { openConfirmDialog: B, ConfirmDialog: he } = s(), { total: V } = te(ne.Pending, 1, 0, O === "my"), ge = r(200, 0, O === "my"), _e = ee(void 0, 200, 0, O === "admin"), { organizations: H, loading: ve, error: U, refetch: W } = O === "admin" ? _e : ge, ye = L.trim().length > 0, G = p(() => {
31
30
  let e = L.trim().toLowerCase();
32
31
  return e ? H.filter((t) => t.name?.toLowerCase().includes(e) || t.slug?.toLowerCase().includes(e)) : H;
33
- }, [H, L]), { deleteOrganization: ye, loading: K } = n();
34
- le(() => {
32
+ }, [H, L]), { deleteOrganization: be, loading: K } = n();
33
+ f(() => {
35
34
  z((e) => {
36
35
  let t = new Set(G.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
37
36
  return n.size === e.size ? e : n;
38
37
  });
39
38
  }, [G]);
40
- let q = m(() => G.filter((e) => R.has(e.id)), [G, R]), J = G.length > 0 && G.every((e) => R.has(e.id)), Y = G.some((e) => R.has(e.id)) && !J, X = async (e) => {
39
+ let q = p(() => G.filter((e) => R.has(e.id)), [G, R]), J = G.length > 0 && G.every((e) => R.has(e.id)), Y = G.some((e) => R.has(e.id)) && !J, X = async (e) => {
41
40
  try {
42
41
  let n = (await Promise.allSettled(e.map(async (e) => {
43
- let t = await ye(e);
42
+ let t = await be(e);
44
43
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Failed to delete organization");
45
44
  }))).find((e) => e.status === "rejected");
46
45
  if (n?.status === "rejected") throw n.reason;
47
46
  z(/* @__PURE__ */ new Set()), await W();
48
47
  let r = e.length === 1 ? k("organizations.delete.successSingle", "Organization deleted successfully") : `${e.length} ${k("organizations.delete.successMany", "organizations deleted successfully")}`;
49
- t.success(r), f("success"), d() && p(r);
48
+ t.success(r), u("success"), l() && d(r);
50
49
  } catch (e) {
51
50
  let n = e instanceof Error ? e.message : k("organizations.delete.failed", "Failed to delete organization");
52
- t.error(n), f("error"), d() && p(n);
51
+ t.error(n), u("error"), l() && d(n);
53
52
  }
54
53
  }, Z = (e, t) => {
55
- ce("medium");
54
+ le("medium");
56
55
  let n = k("organizations.delete.title", "Delete organization"), r = `${k("organizations.delete.confirmPrefix", "Delete")} ${t}? ${k("common.cannotBeUndone", "This action cannot be undone.")}`;
57
- se({
56
+ ce({
58
57
  title: n,
59
58
  message: r,
60
59
  okButtonTitle: k("common.delete", "Delete")
@@ -69,7 +68,7 @@ function O({ mode: O = "my" } = {}) {
69
68
  }
70
69
  }) : t && X([e]);
71
70
  });
72
- }, be = () => {
71
+ }, xe = () => {
73
72
  q.length !== 0 && B({
74
73
  title: k("organizations.delete.bulkTitle", "Delete selected organizations"),
75
74
  description: `${k("organizations.delete.bulkPrefix", "Delete")} ${q.length} ${k(q.length === 1 ? "organizations.delete.bulkSuffixSingle" : "organizations.delete.bulkSuffixMany", q.length === 1 ? "selected organization?" : "selected organizations?")} ${k("common.cannotBeUndone", "This action cannot be undone.")}`,
@@ -92,15 +91,15 @@ function O({ mode: O = "my" } = {}) {
92
91
  }), n;
93
92
  });
94
93
  };
95
- return pe ? /* @__PURE__ */ T("div", {
94
+ return me ? /* @__PURE__ */ T("div", {
96
95
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
97
- children: /* @__PURE__ */ T(s, { message: k("common.loadingPermissions", "Loading permissions...") })
98
- }) : _e ? /* @__PURE__ */ T("div", {
96
+ children: /* @__PURE__ */ T(o, { message: k("common.loadingPermissions", "Loading permissions...") })
97
+ }) : ve ? /* @__PURE__ */ T("div", {
99
98
  className: "min-h-full bg-[var(--color-bg-canvas)] px-4 py-6 sm:px-6",
100
- children: /* @__PURE__ */ T(s, { message: k("organizations.list.loading", "Loading organizations...") })
99
+ children: /* @__PURE__ */ T(o, { message: k("organizations.list.loading", "Loading organizations...") })
101
100
  }) : U ? /* @__PURE__ */ T("div", {
102
101
  className: "min-h-full bg-[var(--color-bg-canvas)] px-4 py-6 sm:px-6",
103
- children: /* @__PURE__ */ T(ie, {
102
+ children: /* @__PURE__ */ T(ae, {
104
103
  message: U.message,
105
104
  action: {
106
105
  label: k("common.retry", "Retry"),
@@ -115,45 +114,49 @@ function O({ mode: O = "my" } = {}) {
115
114
  className: "mx-auto flex w-full max-w-7xl flex-col gap-6",
116
115
  children: [
117
116
  /* @__PURE__ */ E("div", {
118
- className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between",
119
- children: [/* @__PURE__ */ E("div", {
120
- className: "space-y-2",
121
- "data-tour": "organizations-page-header",
122
- children: [/* @__PURE__ */ T("h1", {
123
- className: "text-3xl font-bold text-[var(--color-text-primary)]",
124
- children: k("organizations.list.title", "Organizations")
125
- }), /* @__PURE__ */ T("p", {
126
- className: "max-w-2xl text-[var(--color-text-secondary)]",
127
- children: k("organizations.list.subtitle", "Manage tenant organizations and the workspaces that belong to them.")
117
+ className: "relative overflow-hidden rounded-card",
118
+ children: [/* @__PURE__ */ T(de, { intensity: "subtle" }), /* @__PURE__ */ E("div", {
119
+ className: "flex flex-col gap-4 p-1 lg:flex-row lg:items-start lg:justify-between",
120
+ children: [/* @__PURE__ */ E("div", {
121
+ className: "space-y-2",
122
+ "data-tour": "organizations-page-header",
123
+ children: [/* @__PURE__ */ T("h1", {
124
+ className: "text-3xl font-bold text-[var(--color-text-primary)]",
125
+ children: /* @__PURE__ */ T(pe, { children: k("organizations.list.title", "Organizations") })
126
+ }), /* @__PURE__ */ T("p", {
127
+ className: "max-w-2xl text-[var(--color-text-secondary)]",
128
+ children: k("organizations.list.subtitle", "Manage tenant organizations and the workspaces that belong to them.")
129
+ })]
130
+ }), /* @__PURE__ */ T("div", {
131
+ className: "flex flex-wrap items-center gap-2",
132
+ "data-tour": "organizations-create-button",
133
+ children: /* @__PURE__ */ T(fe, {
134
+ primary: P && M(c.ORG_CREATE) ? {
135
+ label: k("organizations.create.button", "Create Organization"),
136
+ icon: /* @__PURE__ */ T(g, {
137
+ size: 18,
138
+ "aria-hidden": "true"
139
+ }),
140
+ onSelect: () => A(`${j}/new`)
141
+ } : void 0,
142
+ actions: O === "my" ? [{
143
+ label: V > 0 ? `${k("organizations.invitations.button", "Invitations")} (${V})` : k("organizations.invitations.button", "Invitations"),
144
+ icon: /* @__PURE__ */ T(ue, {
145
+ size: 16,
146
+ "aria-hidden": "true"
147
+ }),
148
+ onSelect: () => A(`${j}/invites`)
149
+ }] : []
150
+ })
128
151
  })]
129
- }), /* @__PURE__ */ T("div", {
130
- className: "flex flex-wrap items-center gap-2",
131
- "data-tour": "organizations-create-button",
132
- children: /* @__PURE__ */ T(fe, {
133
- primary: P && M(l.ORG_CREATE) ? {
134
- label: k("organizations.create.button", "Create Organization"),
135
- icon: /* @__PURE__ */ T(ue, {
136
- size: 18,
137
- "aria-hidden": "true"
138
- }),
139
- onSelect: () => A(`${j}/new`)
140
- } : void 0,
141
- actions: O === "my" ? [{
142
- label: V > 0 ? `${k("organizations.invitations.button", "Invitations")} (${V})` : k("organizations.invitations.button", "Invitations"),
143
- icon: /* @__PURE__ */ T(v, {
144
- size: 16,
145
- "aria-hidden": "true"
146
- }),
147
- onSelect: () => A(`${j}/invites`)
148
- }] : []
149
- })
150
152
  })]
151
153
  }),
152
154
  H.length > 0 ? /* @__PURE__ */ E("div", {
153
155
  className: "grid grid-cols-2 gap-4 sm:grid-cols-3",
154
156
  children: [
155
- /* @__PURE__ */ E(x, {
156
- treatment: "metric",
157
+ /* @__PURE__ */ E(b, {
158
+ treatment: "glass",
159
+ glow: !0,
157
160
  className: "p-4",
158
161
  children: [/* @__PURE__ */ T("p", {
159
162
  className: "text-sm text-text-secondary",
@@ -163,7 +166,7 @@ function O({ mode: O = "my" } = {}) {
163
166
  children: H.length
164
167
  })]
165
168
  }),
166
- /* @__PURE__ */ E(x, {
169
+ /* @__PURE__ */ E(b, {
167
170
  treatment: "metric",
168
171
  className: "p-4",
169
172
  children: [/* @__PURE__ */ T("p", {
@@ -174,7 +177,7 @@ function O({ mode: O = "my" } = {}) {
174
177
  children: H.reduce((e, t) => e + (t.workspaceCount ?? 0), 0)
175
178
  })]
176
179
  }),
177
- O === "my" ? /* @__PURE__ */ E(x, {
180
+ O === "my" ? /* @__PURE__ */ E(b, {
178
181
  treatment: "metric",
179
182
  className: "col-span-2 p-4 sm:col-span-1",
180
183
  children: [/* @__PURE__ */ T("p", {
@@ -187,13 +190,13 @@ function O({ mode: O = "my" } = {}) {
187
190
  }) : null
188
191
  ]
189
192
  }) : null,
190
- /* @__PURE__ */ E(x, {
193
+ /* @__PURE__ */ E(b, {
191
194
  treatment: "plain",
192
195
  className: "border-border-seam p-4",
193
196
  children: [/* @__PURE__ */ E("div", {
194
197
  className: "flex flex-col gap-3 sm:flex-row sm:items-center",
195
198
  "data-tour": "organizations-search-input",
196
- children: [/* @__PURE__ */ T(re, {
199
+ children: [/* @__PURE__ */ T(ie, {
197
200
  value: F,
198
201
  onChange: I,
199
202
  placeholder: k("organizations.list.searchPlaceholder", "Search organizations..."),
@@ -209,7 +212,7 @@ function O({ mode: O = "my" } = {}) {
209
212
  "aria-label": k("organizations.list.refresh", "Refresh organizations"),
210
213
  title: k("organizations.list.refresh", "Refresh organizations"),
211
214
  "data-tour": "organizations-refresh-button",
212
- children: /* @__PURE__ */ T(de, {
215
+ children: /* @__PURE__ */ T(_, {
213
216
  size: 18,
214
217
  "aria-hidden": "true"
215
218
  })
@@ -220,7 +223,7 @@ function O({ mode: O = "my" } = {}) {
220
223
  className: "flex flex-wrap items-center gap-3",
221
224
  children: [/* @__PURE__ */ E("label", {
222
225
  className: "flex items-center gap-2 text-sm text-[var(--color-text-primary)]",
223
- children: [/* @__PURE__ */ T(o, {
226
+ children: [/* @__PURE__ */ T(a, {
224
227
  checked: J,
225
228
  indeterminate: Y,
226
229
  onChange: $,
@@ -241,13 +244,13 @@ function O({ mode: O = "my" } = {}) {
241
244
  " ",
242
245
  k("common.selected", "selected")
243
246
  ]
244
- }), O === "admin" && M(l.ORG_DELETE) && /* @__PURE__ */ E("button", {
247
+ }), O === "admin" && M(c.ORG_DELETE) && /* @__PURE__ */ E("button", {
245
248
  type: "button",
246
- onClick: be,
249
+ onClick: xe,
247
250
  disabled: q.length === 0 || K,
248
251
  className: "inline-flex min-h-11 items-center justify-center gap-2 rounded-lg border border-[var(--color-status-error-border)] px-3 py-2 text-[var(--color-status-error-text)] transition-all duration-200 hover:bg-[var(--color-status-error-bgSubtle)] disabled:cursor-not-allowed disabled:opacity-50",
249
252
  children: [
250
- /* @__PURE__ */ T(b, {
253
+ /* @__PURE__ */ T(y, {
251
254
  size: 16,
252
255
  "aria-hidden": "true"
253
256
  }),
@@ -262,40 +265,42 @@ function O({ mode: O = "my" } = {}) {
262
265
  })]
263
266
  }) : null]
264
267
  }),
265
- G.length === 0 ? /* @__PURE__ */ T(x, {
266
- treatment: "plain",
268
+ G.length === 0 ? /* @__PURE__ */ T(b, {
269
+ treatment: "glass",
270
+ glow: !0,
267
271
  className: "border-border-seam p-6",
268
- children: ve && H.length > 0 ? /* @__PURE__ */ T(c, {
269
- icon: /* @__PURE__ */ T(g, {
270
- size: 40,
271
- "aria-hidden": "true"
272
- }),
272
+ children: ye && H.length > 0 ? /* @__PURE__ */ T(x, {
273
+ illustration: "empty-search",
273
274
  title: k("organizations.list.noMatchesTitle", "No matching organizations"),
274
275
  description: k("organizations.list.noMatchesDescription", "No organizations match your search. Try a different name or slug, or clear the search."),
275
- action: {
276
- label: k("common.clearSearch", "Clear search"),
277
- onClick: () => I("")
278
- }
279
- }) : /* @__PURE__ */ T(c, {
280
- icon: /* @__PURE__ */ T(g, {
281
- size: 40,
282
- "aria-hidden": "true"
283
- }),
276
+ action: /* @__PURE__ */ T("button", {
277
+ type: "button",
278
+ onClick: () => I(""),
279
+ className: "inline-flex min-h-11 items-center justify-center gap-2 rounded-lg border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] px-4 py-2 text-[var(--color-text-primary)] transition-all duration-200 hover:bg-[var(--color-bg-subtle)]",
280
+ children: k("common.clearSearch", "Clear search")
281
+ })
282
+ }) : /* @__PURE__ */ T(x, {
283
+ illustration: "empty-people",
284
284
  title: k("organizations.list.emptyTitle", "No organizations found"),
285
285
  description: k("organizations.list.emptyDescription", "Create your first organization to start managing workspaces, members, and invites."),
286
- action: P && M(l.ORG_CREATE) ? {
287
- label: k("organizations.create.button", "Create Organization"),
288
- onClick: () => A(`${j}/new`)
289
- } : void 0
286
+ action: P && M(c.ORG_CREATE) ? /* @__PURE__ */ E("button", {
287
+ type: "button",
288
+ onClick: () => A(`${j}/new`),
289
+ className: "inline-flex min-h-11 items-center justify-center gap-2 rounded-lg bg-[var(--color-action-primary-bg)] px-4 py-2 font-medium text-[var(--color-action-primary-text)] transition-all duration-200 hover:bg-[var(--color-action-primary-bgHover)]",
290
+ children: [/* @__PURE__ */ T(g, {
291
+ size: 18,
292
+ "aria-hidden": "true"
293
+ }), k("organizations.create.button", "Create Organization")]
294
+ }) : void 0
290
295
  })
291
296
  }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("div", {
292
297
  className: "grid gap-4 md:hidden",
293
- children: G.map((e) => /* @__PURE__ */ E(x, {
298
+ children: G.map((e) => /* @__PURE__ */ E(b, {
294
299
  treatment: "insight",
295
300
  className: "border-border-seam p-4",
296
301
  children: [/* @__PURE__ */ E("div", {
297
302
  className: "flex items-start gap-3",
298
- children: [/* @__PURE__ */ T(o, {
303
+ children: [/* @__PURE__ */ T(a, {
299
304
  checked: R.has(e.id),
300
305
  onChange: (t) => Q(e.id, t),
301
306
  ariaLabel: `${k("organizations.list.selectOne", "Select organization")} ${e.name}`
@@ -316,7 +321,7 @@ function O({ mode: O = "my" } = {}) {
316
321
  children: [/* @__PURE__ */ T("h2", {
317
322
  className: "text-base font-semibold text-[var(--color-text-primary)]",
318
323
  children: e.name
319
- }), /* @__PURE__ */ T(a, { status: e.status })]
324
+ }), /* @__PURE__ */ T(i, { status: e.status })]
320
325
  }),
321
326
  /* @__PURE__ */ E("p", {
322
327
  className: "mt-1 break-all font-mono text-sm text-[var(--color-text-muted)]",
@@ -348,26 +353,26 @@ function O({ mode: O = "my" } = {}) {
348
353
  type: "button",
349
354
  onClick: () => A(`${j}/${e.id}`),
350
355
  className: "inline-flex min-h-10 items-center gap-2 rounded-lg border border-[var(--color-border-default)] px-3 py-2 text-sm text-[var(--color-text-primary)] transition-all duration-200 hover:bg-[var(--color-bg-subtle)]",
351
- children: [/* @__PURE__ */ T(_, {
356
+ children: [/* @__PURE__ */ T(h, {
352
357
  size: 16,
353
358
  "aria-hidden": "true"
354
359
  }), k("common.view", "View")]
355
360
  }),
356
- M(l.ORG_UPDATE) && /* @__PURE__ */ E("button", {
361
+ M(c.ORG_UPDATE) && /* @__PURE__ */ E("button", {
357
362
  type: "button",
358
363
  onClick: () => A(`${j}/${e.id}/edit`),
359
364
  className: "inline-flex min-h-10 items-center gap-2 rounded-lg border border-[var(--color-border-default)] px-3 py-2 text-sm text-[var(--color-text-primary)] transition-all duration-200 hover:bg-[var(--color-bg-subtle)]",
360
- children: [/* @__PURE__ */ T(y, {
365
+ children: [/* @__PURE__ */ T(v, {
361
366
  size: 16,
362
367
  "aria-hidden": "true"
363
368
  }), k("common.edit", "Edit")]
364
369
  }),
365
- O === "admin" && M(l.ORG_DELETE) && /* @__PURE__ */ E("button", {
370
+ O === "admin" && M(c.ORG_DELETE) && /* @__PURE__ */ E("button", {
366
371
  type: "button",
367
372
  onClick: () => Z(e.id, e.name),
368
373
  disabled: K,
369
374
  className: "inline-flex min-h-10 items-center gap-2 rounded-lg border border-[var(--color-status-error-border)] px-3 py-2 text-sm text-[var(--color-status-error-text)] transition-all duration-200 hover:bg-[var(--color-status-error-bgSubtle)] disabled:cursor-not-allowed disabled:opacity-50",
370
- children: [/* @__PURE__ */ T(b, {
375
+ children: [/* @__PURE__ */ T(y, {
371
376
  size: 16,
372
377
  "aria-hidden": "true"
373
378
  }), k("common.delete", "Delete")]
@@ -375,7 +380,7 @@ function O({ mode: O = "my" } = {}) {
375
380
  ]
376
381
  })]
377
382
  }, e.id))
378
- }), /* @__PURE__ */ T(x, {
383
+ }), /* @__PURE__ */ T(b, {
379
384
  treatment: "plain",
380
385
  className: "hidden overflow-hidden border-border-seam p-0 md:block",
381
386
  "data-tour": "organizations-table",
@@ -388,7 +393,7 @@ function O({ mode: O = "my" } = {}) {
388
393
  children: /* @__PURE__ */ E("tr", { children: [
389
394
  /* @__PURE__ */ T("th", {
390
395
  className: "w-12 px-6 py-3 text-left text-xs font-semibold uppercase tracking-wide text-[var(--color-text-secondary)]",
391
- children: /* @__PURE__ */ T(o, {
396
+ children: /* @__PURE__ */ T(a, {
392
397
  checked: J,
393
398
  indeterminate: Y,
394
399
  onChange: $,
@@ -423,7 +428,7 @@ function O({ mode: O = "my" } = {}) {
423
428
  children: [
424
429
  /* @__PURE__ */ T("td", {
425
430
  className: "px-6 py-4 align-top",
426
- children: /* @__PURE__ */ T(o, {
431
+ children: /* @__PURE__ */ T(a, {
427
432
  checked: R.has(e.id),
428
433
  onChange: (t) => Q(e.id, t),
429
434
  ariaLabel: `${k("organizations.list.selectOne", "Select organization")} ${e.name}`
@@ -454,7 +459,7 @@ function O({ mode: O = "my" } = {}) {
454
459
  }),
455
460
  /* @__PURE__ */ T("td", {
456
461
  className: "px-6 py-4 align-top",
457
- children: /* @__PURE__ */ T(a, { status: e.status })
462
+ children: /* @__PURE__ */ T(i, { status: e.status })
458
463
  }),
459
464
  /* @__PURE__ */ T("td", {
460
465
  className: "px-6 py-4 align-top text-[var(--color-text-primary)]",
@@ -476,30 +481,30 @@ function O({ mode: O = "my" } = {}) {
476
481
  className: "rounded-lg p-2 text-[var(--color-text-secondary)] transition-all duration-200 hover:bg-[var(--color-bg-muted)] hover:text-[var(--color-text-primary)]",
477
482
  title: `${k("common.view", "View")} ${e.name}`,
478
483
  "aria-label": `${k("common.view", "View")} ${e.name}`,
479
- children: /* @__PURE__ */ T(_, {
484
+ children: /* @__PURE__ */ T(h, {
480
485
  size: 18,
481
486
  "aria-hidden": "true"
482
487
  })
483
488
  }),
484
- M(l.ORG_UPDATE) && /* @__PURE__ */ T("button", {
489
+ M(c.ORG_UPDATE) && /* @__PURE__ */ T("button", {
485
490
  type: "button",
486
491
  onClick: () => A(`${j}/${e.id}/edit`),
487
492
  className: "rounded-lg p-2 text-[var(--color-text-secondary)] transition-all duration-200 hover:bg-[var(--color-bg-muted)] hover:text-[var(--color-text-primary)]",
488
493
  title: `${k("common.edit", "Edit")} ${e.name}`,
489
494
  "aria-label": `${k("common.edit", "Edit")} ${e.name}`,
490
- children: /* @__PURE__ */ T(y, {
495
+ children: /* @__PURE__ */ T(v, {
491
496
  size: 18,
492
497
  "aria-hidden": "true"
493
498
  })
494
499
  }),
495
- O === "admin" && M(l.ORG_DELETE) && /* @__PURE__ */ T("button", {
500
+ O === "admin" && M(c.ORG_DELETE) && /* @__PURE__ */ T("button", {
496
501
  type: "button",
497
502
  onClick: () => Z(e.id, e.name),
498
503
  disabled: K,
499
504
  className: "rounded-lg p-2 text-[var(--color-status-error-text)] transition-all duration-200 hover:bg-[var(--color-status-error-bgSubtle)] disabled:cursor-not-allowed disabled:opacity-50",
500
505
  title: `${k("common.delete", "Delete")} ${e.name}`,
501
506
  "aria-label": `${k("common.delete", "Delete")} ${e.name}`,
502
- children: /* @__PURE__ */ T(b, {
507
+ children: /* @__PURE__ */ T(y, {
503
508
  size: 18,
504
509
  "aria-hidden": "true"
505
510
  })
@@ -514,7 +519,7 @@ function O({ mode: O = "my" } = {}) {
514
519
  })
515
520
  })] })
516
521
  ]
517
- }), me]
522
+ }), he]
518
523
  });
519
524
  }
520
525
  //#endregion