@burdenoff/microfe-export 2026.1125.2 → 2026.1127.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/export/pages/ExportDashboardPage.js +119 -114
  2. package/dist/export/pages/ExportDashboardPage.js.map +1 -1
  3. package/dist/export/pages/ExportHistoryPage.js +157 -151
  4. package/dist/export/pages/ExportHistoryPage.js.map +1 -1
  5. package/dist/export/pages/ExportTemplatesPage.js +75 -70
  6. package/dist/export/pages/ExportTemplatesPage.js.map +1 -1
  7. package/dist/export/providers/ExportProvider.js +37 -37
  8. package/dist/export/utils/cn.js +2 -2
  9. package/dist/export/utils/permissionDenied.d.ts +33 -0
  10. package/dist/export/utils/permissionDenied.js +55 -0
  11. package/dist/export/utils/permissionDenied.js.map +1 -0
  12. package/dist/export/workspace-v2/SetupsList.js +0 -1
  13. package/dist/export/workspace-v2/SetupsList.js.map +1 -1
  14. package/dist/index.js +0 -1
  15. package/dist/translations/en.d.ts +3 -0
  16. package/dist/translations/en.js +3 -0
  17. package/dist/translations/en.js.map +1 -1
  18. package/package.json +5 -2
  19. package/dist/export/index.js +0 -5
  20. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +0 -23
  21. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  22. package/dist/node_modules/@apollo/client/errors/utils.js +0 -15
  23. package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
  24. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +0 -51
  25. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  26. package/dist/node_modules/@apollo/client/link/subscriptions/index.js +0 -40
  27. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
  28. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +0 -33
  29. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  30. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -5
  31. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  32. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +0 -15
  33. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  34. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +0 -18
  35. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  36. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +0 -20
  37. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  38. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +0 -16
  39. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  40. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -8
  41. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  42. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +0 -8
  43. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  44. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -7
  45. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  46. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +0 -8
  47. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  48. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -9
  49. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  50. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -7
  51. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
  52. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +0 -9
  53. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  54. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +0 -22
  55. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  56. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +0 -9
  57. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  58. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +0 -56
  59. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  60. package/dist/node_modules/@apollo/client/version.js +0 -5
  61. package/dist/node_modules/@apollo/client/version.js.map +0 -1
  62. package/dist/node_modules/@wry/caches/lib/weak.js +0 -66
  63. package/dist/node_modules/@wry/caches/lib/weak.js.map +0 -1
  64. package/dist/node_modules/@wry/trie/lib/index.js +0 -52
  65. package/dist/node_modules/@wry/trie/lib/index.js.map +0 -1
  66. package/dist/node_modules/clsx/dist/clsx.js +0 -19
  67. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  68. package/dist/node_modules/graphql-ws/dist/client.js +0 -279
  69. package/dist/node_modules/graphql-ws/dist/client.js.map +0 -1
  70. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +0 -61
  71. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
  72. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +0 -20
  73. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  74. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +0 -77
  75. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  76. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +0 -116
  77. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  78. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +0 -96
  79. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  80. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +0 -11
  81. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  82. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +0 -8
  83. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  84. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +0 -15
  85. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  86. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +0 -7
  87. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  88. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +0 -12
  89. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  90. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -10
  91. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  92. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +0 -10
  93. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  94. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +0 -21
  95. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  96. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -7
  97. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  98. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -7
  99. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  100. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -5
  101. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  102. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +0 -12
  103. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  104. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +0 -13
  105. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  106. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1778
  107. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
  108. package/dist/node_modules/tslib/tslib.es6.js +0 -51
  109. package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { getMainDefinition as e } from "../../node_modules/@apollo/client/utilities/internal/getMainDefinition.js";
2
- import { GraphQLWsLink as t } from "../../node_modules/@apollo/client/link/subscriptions/index.js";
3
- import { createClient as n } from "../../node_modules/graphql-ws/dist/client.js";
4
- import { exportGatewayEndpoints as r, exportGatewayHeaders as i } from "../utils/exportAuthority.js";
5
- import { createContext as a, useContext as o, useMemo as s, useRef as c } from "react";
6
- import { MemoryRouter as l } from "react-router";
7
- import { MutationCache as u, QueryClient as d, QueryClientProvider as f } from "@tanstack/react-query";
8
- import { ApolloClient as p, HttpLink as m, InMemoryCache as h, Observable as g, from as _, split as v } from "@apollo/client";
1
+ import { exportGatewayEndpoints as e, exportGatewayHeaders as t } from "../utils/exportAuthority.js";
2
+ import { createContext as n, useContext as r, useMemo as i, useRef as a } from "react";
3
+ import { MemoryRouter as o } from "react-router";
4
+ import { MutationCache as s, QueryClient as c, QueryClientProvider as l } from "@tanstack/react-query";
5
+ import { ApolloClient as u, HttpLink as d, InMemoryCache as f, Observable as p, from as m, split as h } from "@apollo/client";
6
+ import { getMainDefinition as g } from "@apollo/client/utilities";
7
+ import { GraphQLWsLink as _ } from "@apollo/client/link/subscriptions";
8
+ import { createClient as v } from "graphql-ws";
9
9
  import { onError as y } from "@apollo/client/link/error";
10
10
  import { ApolloProvider as b } from "@apollo/client/react";
11
11
  import { isAuthNetworkError as x, redirectToLogin as S } from "@burdenoff/fe-libs/shared/utils";
@@ -17,13 +17,13 @@ function w(e = []) {
17
17
  return t === "UNAUTHENTICATED" || n === "TOKEN_EXPIRED" || r.includes("token_expired") || r.includes("token expired") || r.includes("session expired") || r.includes("unauthorized") || r.includes("unauthenticated") || r.includes("authentication required") || r.includes("workspace context missing");
18
18
  });
19
19
  }
20
- var T = a(null), E = () => {
21
- let e = o(T);
20
+ var T = n(null), E = () => {
21
+ let e = r(T);
22
22
  if (!e) throw Error("useExport must be used within ExportProvider");
23
23
  return e;
24
- }, D = ({ children: a, basePath: o, navigate: E, currentUser: D, workspaceId: O, tenantId: k, organizationId: A, apiGatewayUrl: j, authToken: M, workspaceToken: N, eventBus: P, getWorkspaceToken: F }) => {
24
+ }, D = ({ children: n, basePath: r, navigate: E, currentUser: D, workspaceId: O, tenantId: k, organizationId: A, apiGatewayUrl: j, authToken: M, workspaceToken: N, eventBus: P, getWorkspaceToken: F }) => {
25
25
  let I = {
26
- basePath: o,
26
+ basePath: r,
27
27
  navigate: E,
28
28
  currentUser: D,
29
29
  workspaceId: O,
@@ -34,11 +34,11 @@ var T = a(null), E = () => {
34
34
  workspaceToken: N,
35
35
  eventBus: P,
36
36
  getWorkspaceToken: F
37
- }, L = c(!1), R = c(F);
37
+ }, L = a(!1), R = a(F);
38
38
  R.current = F;
39
- let z = s(() => {
40
- let e = new d({
41
- mutationCache: new u({ onSuccess: () => {
39
+ let z = i(() => {
40
+ let e = new c({
41
+ mutationCache: new s({ onSuccess: () => {
42
42
  e.invalidateQueries();
43
43
  } }),
44
44
  defaultOptions: { queries: {
@@ -48,20 +48,20 @@ var T = a(null), E = () => {
48
48
  } }
49
49
  });
50
50
  return e;
51
- }, []), B = s(() => {
52
- let a = i({
51
+ }, []), B = i(() => {
52
+ let n = t({
53
53
  authToken: M,
54
54
  workspaceToken: N,
55
55
  workspaceId: O,
56
56
  organizationId: A
57
- }), o = r(j, window.location.origin), s = o.http, c = new m({
58
- uri: s,
59
- headers: Object.keys(a).length > 0 ? a : void 0
60
- }), l = y(({ error: e, operation: t, forward: n }) => {
57
+ }), r = e(j, window.location.origin), i = r.http, a = new d({
58
+ uri: i,
59
+ headers: Object.keys(n).length > 0 ? n : void 0
60
+ }), o = y(({ error: e, operation: t, forward: n }) => {
61
61
  if (!e) return;
62
62
  let r = w("errors" in e && Array.isArray(e.errors) ? e.errors : []);
63
63
  if (!R.current || !r || L.current) e instanceof Error && x(e) && S();
64
- else return new g((e) => {
64
+ else return new p((e) => {
65
65
  L.current = !0, R.current().then((r) => {
66
66
  if (L.current = !1, !r) {
67
67
  S(), e.error(/* @__PURE__ */ Error("Failed to refresh workspace token"));
@@ -77,16 +77,16 @@ var T = a(null), E = () => {
77
77
  L.current = !1, e.error(t);
78
78
  });
79
79
  });
80
- }), u = o.websocket, d = new t(n({
81
- url: u,
82
- connectionParams: Object.keys(a).length > 0 ? a : void 0
83
- })), f = v(({ query: t }) => {
84
- let n = e(t);
85
- return n.kind === "OperationDefinition" && n.operation === "subscription";
86
- }, d, _([l, c]));
87
- return new p({
88
- link: f,
89
- cache: new h(),
80
+ }), s = r.websocket, c = new _(v({
81
+ url: s,
82
+ connectionParams: Object.keys(n).length > 0 ? n : void 0
83
+ })), l = h(({ query: e }) => {
84
+ let t = g(e);
85
+ return t.kind === "OperationDefinition" && t.operation === "subscription";
86
+ }, c, m([o, a]));
87
+ return new u({
88
+ link: l,
89
+ cache: new f(),
90
90
  defaultOptions: { watchQuery: { fetchPolicy: "cache-and-network" } }
91
91
  });
92
92
  }, [
@@ -95,16 +95,16 @@ var T = a(null), E = () => {
95
95
  N,
96
96
  O,
97
97
  A
98
- ]), V = /* @__PURE__ */ C(f, {
98
+ ]), V = /* @__PURE__ */ C(l, {
99
99
  client: z,
100
100
  children: /* @__PURE__ */ C(T.Provider, {
101
101
  value: I,
102
- children: a
102
+ children: n
103
103
  })
104
104
  });
105
- return o ? V : /* @__PURE__ */ C(b, {
105
+ return r ? V : /* @__PURE__ */ C(b, {
106
106
  client: B,
107
- children: /* @__PURE__ */ C(l, { children: V })
107
+ children: /* @__PURE__ */ C(o, { children: V })
108
108
  });
109
109
  };
110
110
  export { D as ExportProvider, E as useExport };
@@ -1,5 +1,5 @@
1
- import { clsx as e } from "../../node_modules/clsx/dist/clsx.js";
2
- import { twMerge as t } from "../../node_modules/tailwind-merge/dist/bundle-mjs.js";
1
+ import { clsx as e } from "clsx";
2
+ import { twMerge as t } from "tailwind-merge";
3
3
  // src/export/utils/cn.ts
4
4
  function n(...n) {
5
5
  return t(e(n));
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Telling "you may not read this" apart from "something went wrong" on a
3
+ * failed read (BOFF-16744).
4
+ *
5
+ * The gateway answers an RBAC refusal with `extensions.code` FORBIDDEN (or a
6
+ * service with PERMISSION_DENIED). It also sends FORBIDDEN, together with
7
+ * `extensions.authFailure`, when the caller's identity or workspace context
8
+ * could not be established at all (WORKSPACE_SESSION_UNRESOLVED,
9
+ * WORKSPACE_CONTEXT_MISSING, UNAUTHENTICATED_ACTOR, CREDENTIAL_* or a class
10
+ * this build does not know). That is a session fault, not a verdict about the
11
+ * caller's role, and stays a retryable failure.
12
+ *
13
+ * This mirrors fe-libs `describePermissionError(error)?.refusal === "denied"`
14
+ * (`shared/assistant/permissionError.ts`), which fe-libs does not export
15
+ * publicly.
16
+ */
17
+ type ExtensionObject = Record<string, unknown>;
18
+ /**
19
+ * Every GraphQL `extensions` object reachable from an error: on the error
20
+ * itself, on each entry of its `errors` array (Apollo 4
21
+ * `CombinedGraphQLErrors`), and the same on `result`, `networkError`,
22
+ * `cause` (an error re-wrapped as `new Error(message, { cause })`) and the
23
+ * JSON body of a `ServerError`.
24
+ */
25
+ export declare function extensionObjectsIn(error: unknown): ExtensionObject[];
26
+ /**
27
+ * True when a read failed because the caller is known and was refused: a
28
+ * FORBIDDEN or PERMISSION_DENIED code with no `authFailure` anywhere in the
29
+ * response. Anything else (a session fault, a network failure, a server
30
+ * error) is not a denial and keeps the retryable error state.
31
+ */
32
+ export declare function isPermissionDenied(error: unknown): boolean;
33
+ export {};
@@ -0,0 +1,55 @@
1
+ // src/export/utils/permissionDenied.ts
2
+ var e = /* @__PURE__ */ new Set(["FORBIDDEN", "PERMISSION_DENIED"]);
3
+ function t(e) {
4
+ return typeof e == "object" && !!e;
5
+ }
6
+ function n(e) {
7
+ if (!t(e)) return null;
8
+ let n = Reflect.get(e, "extensions");
9
+ return t(n) ? n : null;
10
+ }
11
+ function r(e) {
12
+ if (!t(e)) return null;
13
+ let n = Reflect.get(e, "bodyText");
14
+ if (typeof n != "string" || n.length === 0) return null;
15
+ try {
16
+ return JSON.parse(n);
17
+ } catch {
18
+ return null;
19
+ }
20
+ }
21
+ function i(e) {
22
+ if (!t(e)) return [];
23
+ let i = Reflect.get(e, "networkError"), a = [
24
+ e,
25
+ Reflect.get(e, "result"),
26
+ i,
27
+ Reflect.get(e, "cause"),
28
+ r(e),
29
+ r(i)
30
+ ], o = [];
31
+ for (let e of a) {
32
+ if (!t(e)) continue;
33
+ let r = n(e);
34
+ r && o.push(r);
35
+ let i = Reflect.get(e, "errors");
36
+ if (Array.isArray(i)) for (let e of i) {
37
+ let t = n(e);
38
+ t && o.push(t);
39
+ }
40
+ }
41
+ return o;
42
+ }
43
+ function a(t) {
44
+ let n = !1;
45
+ for (let r of i(t)) {
46
+ let t = r.code;
47
+ typeof t == "string" && e.has(t) && (n = !0);
48
+ let i = r.authFailure;
49
+ if (typeof i == "string" && i.length > 0) return !1;
50
+ }
51
+ return n;
52
+ }
53
+ export { i as extensionObjectsIn, a as isPermissionDenied };
54
+
55
+ //# sourceMappingURL=permissionDenied.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissionDenied.js","names":["DENIAL_CODES","isObject","value","extensionsOf","extensions","parsedBodyOf","bodyText","extensionObjectsIn","error","networkError","hosts","found","host","direct","errors","entry","isPermissionDenied","sawDenial","code","authFailure"],"sources":["../../../src/export/utils/permissionDenied.ts"],"sourcesContent":["/**\n * Telling \"you may not read this\" apart from \"something went wrong\" on a\n * failed read (BOFF-16744).\n *\n * The gateway answers an RBAC refusal with `extensions.code` FORBIDDEN (or a\n * service with PERMISSION_DENIED). It also sends FORBIDDEN, together with\n * `extensions.authFailure`, when the caller's identity or workspace context\n * could not be established at all (WORKSPACE_SESSION_UNRESOLVED,\n * WORKSPACE_CONTEXT_MISSING, UNAUTHENTICATED_ACTOR, CREDENTIAL_* or a class\n * this build does not know). That is a session fault, not a verdict about the\n * caller's role, and stays a retryable failure.\n *\n * This mirrors fe-libs `describePermissionError(error)?.refusal === \"denied\"`\n * (`shared/assistant/permissionError.ts`), which fe-libs does not export\n * publicly.\n */\n\nconst DENIAL_CODES = new Set([\"FORBIDDEN\", \"PERMISSION_DENIED\"]);\n\ntype ExtensionObject = Record<string, unknown>;\n\nfunction isObject(value: unknown): value is object {\n return typeof value === \"object\" && value !== null;\n}\n\nfunction extensionsOf(value: unknown): ExtensionObject | null {\n if (!isObject(value)) return null;\n const extensions: unknown = Reflect.get(value, \"extensions\");\n return isObject(extensions) ? (extensions as ExtensionObject) : null;\n}\n\n/**\n * The JSON body of an Apollo 4 `ServerError` (a non-2xx response, such as the\n * gateway's HTTP 403 RBAC refusal), or null when there is none.\n */\nfunction parsedBodyOf(value: unknown): unknown {\n if (!isObject(value)) return null;\n const bodyText: unknown = Reflect.get(value, \"bodyText\");\n if (typeof bodyText !== \"string\" || bodyText.length === 0) return null;\n try {\n return JSON.parse(bodyText) as unknown;\n } catch {\n return null;\n }\n}\n\n/**\n * Every GraphQL `extensions` object reachable from an error: on the error\n * itself, on each entry of its `errors` array (Apollo 4\n * `CombinedGraphQLErrors`), and the same on `result`, `networkError`,\n * `cause` (an error re-wrapped as `new Error(message, { cause })`) and the\n * JSON body of a `ServerError`.\n */\nexport function extensionObjectsIn(error: unknown): ExtensionObject[] {\n if (!isObject(error)) return [];\n const networkError: unknown = Reflect.get(error, \"networkError\");\n const hosts: unknown[] = [\n error,\n Reflect.get(error, \"result\"),\n networkError,\n Reflect.get(error, \"cause\"),\n parsedBodyOf(error),\n parsedBodyOf(networkError),\n ];\n const found: ExtensionObject[] = [];\n for (const host of hosts) {\n if (!isObject(host)) continue;\n const direct = extensionsOf(host);\n if (direct) found.push(direct);\n const errors: unknown = Reflect.get(host, \"errors\");\n if (!Array.isArray(errors)) continue;\n for (const entry of errors) {\n const extensions = extensionsOf(entry);\n if (extensions) found.push(extensions);\n }\n }\n return found;\n}\n\n/**\n * True when a read failed because the caller is known and was refused: a\n * FORBIDDEN or PERMISSION_DENIED code with no `authFailure` anywhere in the\n * response. Anything else (a session fault, a network failure, a server\n * error) is not a denial and keeps the retryable error state.\n */\nexport function isPermissionDenied(error: unknown): boolean {\n let sawDenial = false;\n for (const extensions of extensionObjectsIn(error)) {\n const code = extensions.code;\n if (typeof code === \"string\" && DENIAL_CODES.has(code)) sawDenial = true;\n const authFailure = extensions.authFailure;\n if (typeof authFailure === \"string\" && authFailure.length > 0) {\n return false;\n }\n }\n return sawDenial;\n}\n"],"mappings":";AAiBA,IAAMA,oBAAe,IAAI,IAAI,CAAC,aAAa,mBAAmB,CAAC;AAI/D,SAASC,EAAS,GAAiC;CACjD,OAAO,OAAOC,KAAU,cAAYA;AACtC;AAEA,SAASC,EAAa,GAAwC;CAC5D,IAAI,CAACF,EAASC,CAAK,GAAG,OAAO;CAC7B,IAAME,IAAsB,QAAQ,IAAIF,GAAO,YAAY;CAC3D,OAAOD,EAASG,CAAU,IAAKA,IAAiC;AAClE;AAMA,SAASC,EAAa,GAAyB;CAC7C,IAAI,CAACJ,EAASC,CAAK,GAAG,OAAO;CAC7B,IAAMI,IAAoB,QAAQ,IAAIJ,GAAO,UAAU;CACvD,IAAI,OAAOI,KAAa,YAAYA,EAAS,WAAW,GAAG,OAAO;CAClE,IAAI;EACF,OAAO,KAAK,MAAMA,CAAQ;CAC5B,QAAQ;EACN,OAAO;CACT;AACF;AASA,SAAgBC,EAAmB,GAAmC;CACpE,IAAI,CAACN,EAASO,CAAK,GAAG,OAAO,CAAC;CAC9B,IAAMC,IAAwB,QAAQ,IAAID,GAAO,cAAc,GACzDE,IAAmB;EACvBF;EACA,QAAQ,IAAIA,GAAO,QAAQ;EAC3BC;EACA,QAAQ,IAAID,GAAO,OAAO;EAC1BH,EAAaG,CAAK;EAClBH,EAAaI,CAAY;CAC3B,GACME,IAA2B,CAAC;CAClC,KAAK,IAAMC,KAAQF,GAAO;EACxB,IAAI,CAACT,EAASW,CAAI,GAAG;EACrB,IAAMC,IAASV,EAAaS,CAAI;EAChC,AAAIC,KAAQF,EAAM,KAAKE,CAAM;EAC7B,IAAMC,IAAkB,QAAQ,IAAIF,GAAM,QAAQ;EAClD,IAAK,MAAM,QAAQE,CAAM,GACzB,KAAK,IAAMC,KAASD,GAAQ;GAC1B,IAAMV,IAAaD,EAAaY,CAAK;GACrC,AAAIX,KAAYO,EAAM,KAAKP,CAAU;EACvC;CACF;CACA,OAAOO;AACT;AAQA,SAAgBK,EAAmB,GAAyB;CAC1D,IAAIC,IAAY;CAChB,KAAK,IAAMb,KAAcG,EAAmBC,CAAK,GAAG;EAClD,IAAMU,IAAOd,EAAW;EACxB,AAAI,OAAOc,KAAS,YAAYlB,EAAa,IAAIkB,CAAI,MAAG,IAAY;EACpE,IAAMC,IAAcf,EAAW;EAC/B,IAAI,OAAOe,KAAgB,YAAYA,EAAY,SAAS,GAC1D,OAAO;CAEX;CACA,OAAOF;AACT"}
@@ -2,7 +2,6 @@ import { useTr as e } from "../hooks/useTr.js";
2
2
  import { ageOf as t } from "./downloadsModel.js";
3
3
  import { canRunSetup as n } from "./newDownloadModel.js";
4
4
  import { RowTile as r, useAgeText as i } from "./DownloadCells.js";
5
- import "./useDownloadsData.js";
6
5
  import { useListClock as a } from "./useListClock.js";
7
6
  import { useOnceAtATime as o } from "./useOnceAtATime.js";
8
7
  import { Archive as s, Pencil as c, Play as l, Plus as u, SlidersHorizontal as d, Trash2 as f } from "lucide-react";
@@ -1 +1 @@
1
- {"version":3,"file":"SetupsList.js","names":["setupKey","setup","NO_LINKS","SetupsList","tr","useTr","ageText","useAgeText","now","useListClock","run","useOnceAtATime","actions","page","shown","pageSlice","data","setupsList","createLocked","access","createReason","kindsReady","kinds","runLock","canRunSetup","ListView","EmptyState","Archive","LockedButton","Plus","Notice","ListPager","DataRows","RowTile","ageOf","lock","Play","ActionMenu","SlidersHorizontal","Pencil","Trash2"],"sources":["../../../src/export/workspace-v2/SetupsList.tsx"],"sourcesContent":["/**\n * The Saved setups tab (BOFF-15822): one row per setup (an export template)\n * with what it contains and its file type, \"Run now\", and ⋯ to start a\n * download from it with changes, or to delete it.\n *\n * The service keeps no schedule and no \"whose data\" on a setup: Run now\n * downloads the person's own data; for the whole workspace, an admin opens the\n * setup in New download and picks it there. Run now sends only the setup's\n * kinds of data that are offered here, and is locked when none are.\n */\nimport {\n Archive,\n Pencil,\n Play,\n Plus,\n SlidersHorizontal,\n Trash2,\n} from \"lucide-react\";\nimport {\n ActionMenu,\n DataRows,\n EmptyState,\n ListPager,\n ListView,\n LockedButton,\n Notice,\n pageSlice,\n} from \"@burdenoff/fe-libs/ui\";\nimport { useTr } from \"../hooks/useTr\";\nimport type { ExportTemplate } from \"../types\";\nimport { ageOf } from \"./downloadsModel\";\nimport { canRunSetup } from \"./newDownloadModel\";\nimport { RowTile, useAgeText } from \"./DownloadCells\";\nimport type { DownloadActions } from \"./useDownloadActions\";\nimport { SETUPS_LIMIT, type SavedSetups } from \"./useDownloadsData\";\nimport type { DownloadsPageState } from \"./useDownloadsPage\";\nimport type { ExportAccess } from \"./useExportAccess\";\nimport { useListClock } from \"./useListClock\";\nimport { useOnceAtATime } from \"./useOnceAtATime\";\nimport type { OfferedKinds } from \"./useOfferedKinds\";\n\nconst setupKey = (setup: ExportTemplate) => setup.id;\n\n/** Setups have no download links: the list clock only ticks. */\nconst NO_LINKS: readonly [] = [];\n\nexport interface SetupsListProps {\n page: DownloadsPageState;\n data: SavedSetups;\n kinds: OfferedKinds;\n access: ExportAccess;\n actions: DownloadActions;\n}\n\nexport function SetupsList({\n page,\n data,\n kinds,\n access,\n actions,\n}: SetupsListProps) {\n const tr = useTr();\n const ageText = useAgeText();\n // Moves on every minute, so \"Changed\" ages stay true while the tab is open.\n const now = useListClock(NO_LINKS);\n // Once at a time per setup: a second press makes no second download.\n const run = useOnceAtATime(actions.runSetup, setupKey);\n const { setupsList } = page;\n const shown = pageSlice(data.setups, setupsList.page, setupsList.pageSize);\n const createLocked = access.settled && !access.canCreate;\n const createReason = tr(\n \"export.v2.new.createLocked\",\n \"Starting a download needs permission to export in this workspace. Ask a workspace admin.\",\n );\n // Run now needs the kinds offered here: it waits for them, and says when\n // they couldn't load or when none of a setup's kinds is offered.\n const kindsReady = !kinds.loading && !kinds.error;\n const runLock = (setup: ExportTemplate): string | null => {\n if (createLocked) return createReason;\n if (kinds.error)\n return tr(\n \"export.v2.setups.kindsFailed\",\n \"Couldn’t load what can be downloaded here. Try again in a moment.\",\n );\n if (kindsReady && !canRunSetup(setup, kinds.isOffered))\n return tr(\n \"export.v2.setups.nothingHere\",\n \"Nothing in this setup can be downloaded here: its kinds of data belong to another product, or are switched off.\",\n );\n return null;\n };\n\n return (\n <ListView\n count={data.setups.length}\n loading={data.loading}\n error={data.error ?? undefined}\n onRetry={data.refresh}\n errorTitle={tr(\n \"export.v2.setups.failed\",\n \"Couldn’t load your saved setups\",\n )}\n errorDetails={data.error?.message || undefined}\n summary={\n data.setups.length === 1\n ? tr(\"export.v2.setups.countOne\", \"1 saved setup\")\n : tr(\"export.v2.setups.count\", \"{{count}} saved setups\", {\n count: data.setups.length,\n })\n }\n empty={\n <EmptyState\n size=\"page\"\n illustration=\"documents\"\n icon={<Archive aria-hidden=\"true\" />}\n title={tr(\"export.v2.setups.emptyTitle\", \"No saved setups\")}\n description={tr(\n \"export.v2.setups.emptyDescription\",\n \"When you make a download, turn on “Save as a setup” to run it again in one click.\",\n )}\n action={\n <LockedButton\n type=\"button\"\n locked={createLocked}\n reason={createReason}\n icon={Plus}\n onClick={() => page.openNew()}\n >\n {tr(\"export.v2.newDownload\", \"New download\")}\n </LockedButton>\n }\n />\n }\n summaryEnd={\n (data.total ?? 0) > SETUPS_LIMIT ? (\n <Notice tone=\"info\">\n {tr(\n \"export.v2.setups.limit\",\n \"Showing the first {{count}} saved setups.\",\n {\n count: SETUPS_LIMIT,\n },\n )}\n </Notice>\n ) : null\n }\n pager={<ListPager list={setupsList} total={data.setups.length} />}\n >\n <DataRows<ExportTemplate>\n label={tr(\"export.v2.setups.label\", \"Saved setups\")}\n items={shown}\n getId={(setup) => setup.id}\n lead={{\n header: tr(\"export.v2.setups.setup\", \"Setup\"),\n media: () => <RowTile icon={Archive} />,\n title: (setup) => setup.name,\n subtitle: (setup) => setup.description || undefined,\n }}\n columns={[\n {\n id: \"contains\",\n header: tr(\"export.v2.setups.contains\", \"Contains\"),\n width: \"minmax(0,1.4fr)\",\n cell: (setup) => setup.entityTypes.map(kinds.label).join(\", \"),\n },\n {\n id: \"file\",\n header: tr(\"export.v2.list.file\", \"File\"),\n width: \"90px\",\n cell: (setup) => setup.format,\n },\n {\n id: \"changed\",\n header: tr(\"export.v2.setups.changed\", \"Changed\"),\n width: \"130px\",\n cell: (setup) => ageText(ageOf(setup.updatedAt, now)),\n },\n ]}\n actions={(setup) => {\n const lock = runLock(setup);\n return (\n <span className=\"flex items-center justify-end gap-1\">\n <LockedButton\n type=\"button\"\n size=\"sm\"\n variant=\"outline\"\n locked={lock !== null}\n reason={lock ?? createReason}\n disabled={(lock === null && !kindsReady) || run.busy(setup)}\n aria-busy={run.busy(setup) || undefined}\n icon={Play}\n onClick={() => run.start(setup)}\n aria-label={tr(\"export.v2.setups.runAria\", \"Run {{name}} now\", {\n name: setup.name,\n })}\n >\n {tr(\"export.v2.setups.run\", \"Run now\")}\n </LockedButton>\n <ActionMenu\n placement=\"row\"\n label={tr(\"export.v2.row.menu\", \"Actions for {{name}}\", {\n name: setup.name,\n })}\n items={[\n {\n id: \"open-new\",\n label: tr(\"export.v2.setups.openNew\", \"Run with changes…\"),\n description: tr(\n \"export.v2.setups.openNewHelp\",\n \"Opens New download with this setup filled in\",\n ),\n icon: SlidersHorizontal,\n locked: createLocked,\n lockedReason: createReason,\n onSelect: () => page.openNew(setup.id),\n },\n {\n id: \"edit\",\n label: tr(\"export.v2.setups.edit\", \"Edit…\"),\n icon: Pencil,\n locked: access.settled && !access.canSetups,\n lockedReason: tr(\n \"export.v2.new.setupLocked\",\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n ),\n onSelect: () => page.openSetup(setup.id),\n },\n {\n id: \"delete\",\n label: tr(\"export.v2.setups.delete\", \"Delete setup…\"),\n icon: Trash2,\n danger: true,\n separatorBefore: true,\n locked: access.settled && !access.canSetups,\n lockedReason: tr(\n \"export.v2.new.setupLocked\",\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n ),\n onSelect: () => void actions.removeSetup(setup),\n },\n ]}\n />\n </span>\n );\n }}\n />\n </ListView>\n );\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"SetupsList.js","names":["setupKey","setup","NO_LINKS","SetupsList","tr","useTr","ageText","useAgeText","now","useListClock","run","useOnceAtATime","actions","page","shown","pageSlice","data","setupsList","createLocked","access","createReason","kindsReady","kinds","runLock","canRunSetup","ListView","EmptyState","Archive","LockedButton","Plus","Notice","ListPager","DataRows","RowTile","ageOf","lock","Play","ActionMenu","SlidersHorizontal","Pencil","Trash2"],"sources":["../../../src/export/workspace-v2/SetupsList.tsx"],"sourcesContent":["/**\n * The Saved setups tab (BOFF-15822): one row per setup (an export template)\n * with what it contains and its file type, \"Run now\", and ⋯ to start a\n * download from it with changes, or to delete it.\n *\n * The service keeps no schedule and no \"whose data\" on a setup: Run now\n * downloads the person's own data; for the whole workspace, an admin opens the\n * setup in New download and picks it there. Run now sends only the setup's\n * kinds of data that are offered here, and is locked when none are.\n */\nimport {\n Archive,\n Pencil,\n Play,\n Plus,\n SlidersHorizontal,\n Trash2,\n} from \"lucide-react\";\nimport {\n ActionMenu,\n DataRows,\n EmptyState,\n ListPager,\n ListView,\n LockedButton,\n Notice,\n pageSlice,\n} from \"@burdenoff/fe-libs/ui\";\nimport { useTr } from \"../hooks/useTr\";\nimport type { ExportTemplate } from \"../types\";\nimport { ageOf } from \"./downloadsModel\";\nimport { canRunSetup } from \"./newDownloadModel\";\nimport { RowTile, useAgeText } from \"./DownloadCells\";\nimport type { DownloadActions } from \"./useDownloadActions\";\nimport { SETUPS_LIMIT, type SavedSetups } from \"./useDownloadsData\";\nimport type { DownloadsPageState } from \"./useDownloadsPage\";\nimport type { ExportAccess } from \"./useExportAccess\";\nimport { useListClock } from \"./useListClock\";\nimport { useOnceAtATime } from \"./useOnceAtATime\";\nimport type { OfferedKinds } from \"./useOfferedKinds\";\n\nconst setupKey = (setup: ExportTemplate) => setup.id;\n\n/** Setups have no download links: the list clock only ticks. */\nconst NO_LINKS: readonly [] = [];\n\nexport interface SetupsListProps {\n page: DownloadsPageState;\n data: SavedSetups;\n kinds: OfferedKinds;\n access: ExportAccess;\n actions: DownloadActions;\n}\n\nexport function SetupsList({\n page,\n data,\n kinds,\n access,\n actions,\n}: SetupsListProps) {\n const tr = useTr();\n const ageText = useAgeText();\n // Moves on every minute, so \"Changed\" ages stay true while the tab is open.\n const now = useListClock(NO_LINKS);\n // Once at a time per setup: a second press makes no second download.\n const run = useOnceAtATime(actions.runSetup, setupKey);\n const { setupsList } = page;\n const shown = pageSlice(data.setups, setupsList.page, setupsList.pageSize);\n const createLocked = access.settled && !access.canCreate;\n const createReason = tr(\n \"export.v2.new.createLocked\",\n \"Starting a download needs permission to export in this workspace. Ask a workspace admin.\",\n );\n // Run now needs the kinds offered here: it waits for them, and says when\n // they couldn't load or when none of a setup's kinds is offered.\n const kindsReady = !kinds.loading && !kinds.error;\n const runLock = (setup: ExportTemplate): string | null => {\n if (createLocked) return createReason;\n if (kinds.error)\n return tr(\n \"export.v2.setups.kindsFailed\",\n \"Couldn’t load what can be downloaded here. Try again in a moment.\",\n );\n if (kindsReady && !canRunSetup(setup, kinds.isOffered))\n return tr(\n \"export.v2.setups.nothingHere\",\n \"Nothing in this setup can be downloaded here: its kinds of data belong to another product, or are switched off.\",\n );\n return null;\n };\n\n return (\n <ListView\n count={data.setups.length}\n loading={data.loading}\n error={data.error ?? undefined}\n onRetry={data.refresh}\n errorTitle={tr(\n \"export.v2.setups.failed\",\n \"Couldn’t load your saved setups\",\n )}\n errorDetails={data.error?.message || undefined}\n summary={\n data.setups.length === 1\n ? tr(\"export.v2.setups.countOne\", \"1 saved setup\")\n : tr(\"export.v2.setups.count\", \"{{count}} saved setups\", {\n count: data.setups.length,\n })\n }\n empty={\n <EmptyState\n size=\"page\"\n illustration=\"documents\"\n icon={<Archive aria-hidden=\"true\" />}\n title={tr(\"export.v2.setups.emptyTitle\", \"No saved setups\")}\n description={tr(\n \"export.v2.setups.emptyDescription\",\n \"When you make a download, turn on “Save as a setup” to run it again in one click.\",\n )}\n action={\n <LockedButton\n type=\"button\"\n locked={createLocked}\n reason={createReason}\n icon={Plus}\n onClick={() => page.openNew()}\n >\n {tr(\"export.v2.newDownload\", \"New download\")}\n </LockedButton>\n }\n />\n }\n summaryEnd={\n (data.total ?? 0) > SETUPS_LIMIT ? (\n <Notice tone=\"info\">\n {tr(\n \"export.v2.setups.limit\",\n \"Showing the first {{count}} saved setups.\",\n {\n count: SETUPS_LIMIT,\n },\n )}\n </Notice>\n ) : null\n }\n pager={<ListPager list={setupsList} total={data.setups.length} />}\n >\n <DataRows<ExportTemplate>\n label={tr(\"export.v2.setups.label\", \"Saved setups\")}\n items={shown}\n getId={(setup) => setup.id}\n lead={{\n header: tr(\"export.v2.setups.setup\", \"Setup\"),\n media: () => <RowTile icon={Archive} />,\n title: (setup) => setup.name,\n subtitle: (setup) => setup.description || undefined,\n }}\n columns={[\n {\n id: \"contains\",\n header: tr(\"export.v2.setups.contains\", \"Contains\"),\n width: \"minmax(0,1.4fr)\",\n cell: (setup) => setup.entityTypes.map(kinds.label).join(\", \"),\n },\n {\n id: \"file\",\n header: tr(\"export.v2.list.file\", \"File\"),\n width: \"90px\",\n cell: (setup) => setup.format,\n },\n {\n id: \"changed\",\n header: tr(\"export.v2.setups.changed\", \"Changed\"),\n width: \"130px\",\n cell: (setup) => ageText(ageOf(setup.updatedAt, now)),\n },\n ]}\n actions={(setup) => {\n const lock = runLock(setup);\n return (\n <span className=\"flex items-center justify-end gap-1\">\n <LockedButton\n type=\"button\"\n size=\"sm\"\n variant=\"outline\"\n locked={lock !== null}\n reason={lock ?? createReason}\n disabled={(lock === null && !kindsReady) || run.busy(setup)}\n aria-busy={run.busy(setup) || undefined}\n icon={Play}\n onClick={() => run.start(setup)}\n aria-label={tr(\"export.v2.setups.runAria\", \"Run {{name}} now\", {\n name: setup.name,\n })}\n >\n {tr(\"export.v2.setups.run\", \"Run now\")}\n </LockedButton>\n <ActionMenu\n placement=\"row\"\n label={tr(\"export.v2.row.menu\", \"Actions for {{name}}\", {\n name: setup.name,\n })}\n items={[\n {\n id: \"open-new\",\n label: tr(\"export.v2.setups.openNew\", \"Run with changes…\"),\n description: tr(\n \"export.v2.setups.openNewHelp\",\n \"Opens New download with this setup filled in\",\n ),\n icon: SlidersHorizontal,\n locked: createLocked,\n lockedReason: createReason,\n onSelect: () => page.openNew(setup.id),\n },\n {\n id: \"edit\",\n label: tr(\"export.v2.setups.edit\", \"Edit…\"),\n icon: Pencil,\n locked: access.settled && !access.canSetups,\n lockedReason: tr(\n \"export.v2.new.setupLocked\",\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n ),\n onSelect: () => page.openSetup(setup.id),\n },\n {\n id: \"delete\",\n label: tr(\"export.v2.setups.delete\", \"Delete setup…\"),\n icon: Trash2,\n danger: true,\n separatorBefore: true,\n locked: access.settled && !access.canSetups,\n lockedReason: tr(\n \"export.v2.new.setupLocked\",\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n ),\n onSelect: () => void actions.removeSetup(setup),\n },\n ]}\n />\n </span>\n );\n }}\n />\n </ListView>\n );\n}\n"],"mappings":"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"}
package/dist/index.js CHANGED
@@ -2,5 +2,4 @@ import { useExport as e } from "./export/providers/ExportProvider.js";
2
2
  import { useExportStore as t } from "./export/store/exportStore.js";
3
3
  import { ExportRoot as n } from "./export/ExportRoot.js";
4
4
  import { enTranslations as r } from "./translations/en.js";
5
- import "./export/index.js";
6
5
  export { n as ExportRoot, r as enTranslations, e as useExport, t as useExportStore };
@@ -75,6 +75,7 @@ export declare const enTranslations: {
75
75
  recent: {
76
76
  title: string;
77
77
  description: string;
78
+ deniedWhat: string;
78
79
  actions: {
79
80
  viewAll: string;
80
81
  };
@@ -209,6 +210,7 @@ export declare const enTranslations: {
209
210
  };
210
211
  history: {
211
212
  title: string;
213
+ deniedWhat: string;
212
214
  subtitle: string;
213
215
  purpose: string;
214
216
  actions: {
@@ -258,6 +260,7 @@ export declare const enTranslations: {
258
260
  };
259
261
  templates: {
260
262
  title: string;
263
+ deniedWhat: string;
261
264
  subtitle: string;
262
265
  purpose: string;
263
266
  actions: {
@@ -68,6 +68,7 @@ var e = { export: {
68
68
  recent: {
69
69
  title: "Recent Exports",
70
70
  description: "Your latest export jobs",
71
+ deniedWhat: "exports",
71
72
  actions: { viewAll: "View All" },
72
73
  entitiesCount: "{{count}} entities"
73
74
  },
@@ -196,6 +197,7 @@ var e = { export: {
196
197
  },
197
198
  history: {
198
199
  title: "Export History",
200
+ deniedWhat: "exports",
199
201
  subtitle: "View and manage all your past export jobs",
200
202
  purpose: "Every export you've ever started lives here. Track jobs as they run, see which finished or failed, and grab download links for completed exports before they expire. Search by name or entity type, or filter by status and format to find a specific one.",
201
203
  actions: { newExport: "New Export" },
@@ -237,6 +239,7 @@ var e = { export: {
237
239
  },
238
240
  templates: {
239
241
  title: "Export Templates",
242
+ deniedWhat: "export templates",
240
243
  subtitle: "Reusable export configurations for common data exports",
241
244
  purpose: "Templates save an export setup — the entity types and format you regularly need — so you don't rebuild it each time. Create one here, then start a new export from it in a single click. Handy for recurring backups, periodic audits, or any export you run more than once.",
242
245
  actions: {
@@ -1 +1 @@
1
- {"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../src/translations/en.ts"],"sourcesContent":["/**\n * Bundled English translations for microfe-export.\n *\n * These serve as fallback translations when the i18n API is unavailable.\n * The i18n service should be the source of truth, but these ensure the\n * export microfrontend remains usable even when translations can't be fetched.\n */\n\nexport const enTranslations = {\n export: {\n // Shell navigation registered by ExportRoot\n nav: {\n root: \"Export\",\n dashboard: \"Dashboard\",\n newExport: \"New Export\",\n history: \"History\",\n templates: \"Templates\",\n footerStatus: \"Export Ready\",\n },\n\n // Route-level fallbacks (loading errors, feature-flag disabled)\n routes: {\n error: {\n title: \"Failed to load page\",\n description:\n \"The page chunk could not be loaded. This may be due to a network issue.\",\n retry: \"Try Again\",\n },\n disabled: {\n title: \"Data Export Unavailable\",\n description:\n \"The Data Export feature is currently disabled for this workspace. Contact your administrator to enable it.\",\n },\n },\n\n // Dashboard overview page\n dashboard: {\n title: \"Export\",\n subtitle: \"Export your workspace data in multiple formats\",\n purpose:\n \"Export takes your workspace data — people, projects, files, tags, activity and more — and packages it into downloadable CSV or JSON files. Use it to back up your data, hand it to another tool, run an audit, or take it with you when you leave. Pick what you want, choose a format, and grab the download when it's ready.\",\n metrics: {\n total: \"Total Exports\",\n active: \"Active\",\n completed: \"Completed\",\n },\n nextSteps: {\n title: \"Get started\",\n create: {\n label: \"Create your first export\",\n description: \"Pick the data you want and download it as CSV or JSON.\",\n },\n template: {\n label: \"Save a reusable template\",\n description:\n \"Store a common export config so repeat exports are one click.\",\n },\n history: {\n label: \"Track exports in History\",\n description:\n \"Monitor progress and grab download links for finished jobs.\",\n },\n },\n actions: {\n newExport: {\n label: \"New Export\",\n description: \"Create a new data export\",\n },\n history: {\n label: \"History\",\n description: \"View past exports\",\n },\n templates: {\n label: \"Templates\",\n description: \"Reusable export configs\",\n },\n activeJobs: {\n label: \"Active Jobs\",\n description: \"{{count}} running\",\n },\n },\n active: {\n title: \"Active Exports\",\n description: \"Currently running export jobs\",\n },\n recent: {\n title: \"Recent Exports\",\n description: \"Your latest export jobs\",\n actions: {\n viewAll: \"View All\",\n },\n entitiesCount: \"{{count}} entities\",\n },\n empty: {\n title: \"No exports yet\",\n description:\n \"Create your first export to start downloading your workspace data.\",\n actions: {\n createFirst: \"Create First Export\",\n },\n },\n },\n\n // Create export wizard\n create: {\n title: \"New Export\",\n purpose:\n \"Build a one-off export in three steps: pick which data to include, choose a format and scope, then review and start it. The export runs in the background and produces a downloadable ZIP you can grab from History when it finishes.\",\n steps: {\n entities: \"Select Data\",\n options: \"Options\",\n review: \"Review\",\n },\n select: {\n title: \"Select data to export\",\n description: \"Choose which entity types to include in your export.\",\n emptyTitle: \"Nothing to export yet\",\n empty:\n \"No exportable entity types are configured for this workspace yet. Once your workspace has data in supported modules, they'll show up here to select.\",\n unavailableSection: \"Not available yet\",\n unavailable: \"Unavailable\",\n unavailableHint: \"Export for this product isn't available yet\",\n },\n entities: {\n users: {\n label: \"Users\",\n description: \"Workspace members and profiles\",\n },\n projects: {\n label: \"Projects\",\n description: \"Projects and their metadata\",\n },\n tasks: {\n label: \"Tasks\",\n description: \"Task items and assignments\",\n },\n files: {\n label: \"Files\",\n description: \"File metadata and references\",\n },\n conversations: {\n label: \"Conversations\",\n description: \"Chat messages and threads\",\n },\n tags: {\n label: \"Tags\",\n description: \"Tags and vocabularies\",\n },\n activity: {\n label: \"Activity Logs\",\n description: \"Audit trail and activity history\",\n },\n calendar: {\n label: \"Calendar Events\",\n description: \"Events and bookings\",\n },\n },\n scope: {\n individual: {\n label: \"My Data Only\",\n description:\n \"Export data you personally created across selected modules.\",\n },\n workspaceAdmin: {\n label: \"All Workspace Data\",\n description:\n \"Export all data in this workspace regardless of who created it. Requires workspace admin access.\",\n required: \"Workspace admin access required\",\n },\n orgAdmin: {\n label: \"All Organization Data\",\n description:\n \"Export data from every workspace in your organization. Requires org-admin access.\",\n required: \"Organization admin access required\",\n },\n },\n options: {\n title: \"Export Options\",\n scope: \"Export Scope\",\n name: \"Export Name\",\n namePlaceholder: \"e.g., Monthly User Export\",\n outputFormat: \"Output Format\",\n archiveFormat: \"Archive Format\",\n archiveDescription: \"Exports are packaged as ZIP archives.\",\n advancedToggle: \"Date range & template\",\n dateRange: \"Date Range\",\n dateFrom: \"From\",\n dateTo: \"To\",\n noTemplate: \"No template\",\n noTemplates: \"No templates yet.\",\n createTemplateLink: \"Create one\",\n reuseTemplateHint: \"to reuse export configurations.\",\n },\n review: {\n title: \"Review Export\",\n fields: {\n name: \"Name\",\n scope: \"Scope\",\n entityTypes: \"Entity Types\",\n format: \"Format\",\n archive: \"Archive\",\n dateRange: \"Date Range\",\n template: \"Template\",\n },\n },\n actions: {\n back: \"Back\",\n backToDashboard: \"Back to export dashboard\",\n cancel: \"Cancel\",\n next: \"Next\",\n startExport: \"Start Export\",\n },\n errors: {\n selectEntity: \"Please select at least one entity type to export\",\n exportNameRequired: \"Please provide a name for this export\",\n quotaReached: \"You have reached your export limit for this month.\",\n createFailed: \"Failed to create export\",\n },\n shared: {\n optional: \"(optional)\",\n },\n quotaDialog: {\n title: \"Export Limit Reached\",\n description: \"You have reached your export limit for this month.\",\n dismiss: \"Dismiss\",\n viewBilling: \"View Billing\",\n },\n },\n\n // Export history list\n history: {\n title: \"Export History\",\n subtitle: \"View and manage all your past export jobs\",\n purpose:\n \"Every export you've ever started lives here. Track jobs as they run, see which finished or failed, and grab download links for completed exports before they expire. Search by name or entity type, or filter by status and format to find a specific one.\",\n actions: {\n newExport: \"New Export\",\n },\n search: {\n placeholder: \"Search exports by name or entity type...\",\n },\n filters: {\n show: \"Filter\",\n hide: \"Hide\",\n title: \"Filters\",\n clearAll: \"Clear All\",\n status: {\n label: \"Status\",\n all: \"All Statuses\",\n },\n format: {\n label: \"Format\",\n all: \"All Formats\",\n },\n },\n error: {\n title: \"Error loading exports\",\n retry: \"Try Again\",\n },\n pagination: {\n showing: \"Showing {{start}}-{{end}} of {{total}}\",\n page: \"Page {{page}}\",\n prev: \"Prev\",\n next: \"Next\",\n },\n empty: {\n title: \"No exports yet\",\n description: \"Create your first export to see it here.\",\n actions: {\n createFirst: \"Create First Export\",\n },\n filtered: {\n title: \"No matching exports\",\n description: \"Try adjusting your search or filters.\",\n actions: {\n clear: \"Clear Filters\",\n },\n },\n },\n },\n\n // Export templates\n templates: {\n title: \"Export Templates\",\n subtitle: \"Reusable export configurations for common data exports\",\n purpose:\n \"Templates save an export setup — the entity types and format you regularly need — so you don't rebuild it each time. Create one here, then start a new export from it in a single click. Handy for recurring backups, periodic audits, or any export you run more than once.\",\n actions: {\n newTemplate: \"New Template\",\n newExport: \"New Export\",\n },\n summary: {\n available: \"{{count}} template{{suffix}} available\",\n },\n form: {\n title: \"New Template\",\n fields: {\n name: \"Name\",\n namePlaceholder: \"e.g. Weekly Tags Export\",\n format: \"Format\",\n description: \"Description\",\n descriptionPlaceholder: \"Optional description\",\n entityTypes: \"Entity Types\",\n entityTypesHint: \"(select at least one)\",\n },\n actions: {\n create: \"Create Template\",\n cancel: \"Cancel\",\n },\n errors: {\n nameRequired: \"Template name is required.\",\n entityRequired: \"Select at least one entity type.\",\n createFailed: \"Failed to create template.\",\n },\n },\n search: {\n placeholder: \"Search templates...\",\n },\n card: {\n default: \"Default\",\n moreEntities: \"+{{count}} more\",\n deleteAriaLabel: \"Delete {{name}}\",\n },\n empty: {\n title: \"No templates yet\",\n description:\n \"Create a template to save reusable export configurations.\",\n actions: {\n newTemplate: \"New Template\",\n },\n filtered: {\n title: \"No matching templates\",\n description:\n \"Try adjusting your search to find what you are looking for.\",\n actions: {\n clear: \"Clear Search\",\n },\n },\n },\n delete: {\n title: \"Delete template?\",\n description:\n \"This removes the saved export configuration. Existing export jobs are not deleted.\",\n cancel: \"Keep Template\",\n confirmAction: \"Delete Template\",\n },\n },\n\n // Single export detail page\n detail: {\n loading: \"Loading export details…\",\n notFound: {\n title: \"Export Not Found\",\n heading: \"Export not found\",\n description:\n \"The export job you are looking for does not exist or has been deleted.\",\n },\n actions: {\n back: \"Go back\",\n backToDashboard: \"Back to Dashboard\",\n download: \"Download\",\n retry: \"Retry Export\",\n cancel: \"Cancel Export\",\n delete: \"Delete Export\",\n },\n nextSteps: {\n title: \"What's next\",\n download: {\n label: \"Download your export\",\n description:\n \"Grab the generated files below before their download links expire.\",\n },\n retry: {\n label: \"Retry this export\",\n description:\n \"This export didn't finish — start a fresh run with the same settings.\",\n },\n history: {\n label: \"Back to History\",\n description: \"See all your exports and track other jobs in progress.\",\n },\n },\n error: {\n title: \"Export Failed\",\n },\n info: {\n format: \"Format\",\n archive: \"Archive\",\n totalSize: \"Total Size\",\n created: \"Created\",\n },\n progress: {\n entitiesProcessed: \"{{processed}} / {{total}} entities processed\",\n },\n parts: {\n title: \"Export Parts\",\n description: \"{{count}} file(s) generated\",\n download: \"Download\",\n pending: \"Pending\",\n expires: \"expires {{date}}\",\n },\n complete: {\n title: \"Export Complete\",\n noParts:\n \"Your export has completed but no download parts are available yet.\",\n },\n confirm: {\n keep: \"Keep Export\",\n cancel: {\n title: \"Cancel export?\",\n description:\n \"This stops the running export job. You can retry it later if needed.\",\n },\n delete: {\n title: \"Delete export?\",\n description:\n \"This removes the export job from history. This action cannot be undone.\",\n },\n },\n },\n\n // Single template detail page\n templateDetail: {\n loading: \"Loading template details…\",\n notFound: {\n title: \"Template Not Found\",\n heading: \"Template not found\",\n description: \"The template you are looking for does not exist.\",\n },\n actions: {\n backToTemplates: \"Back to Templates\",\n use: \"Use Template\",\n delete: \"Delete Template\",\n },\n badge: {\n default: \"Default template\",\n custom: \"Custom template\",\n },\n info: {\n format: \"Format\",\n archive: \"Archive\",\n entityTypes: \"Entity Types\",\n entityTypesCount: \"{{count}} type{{suffix}}\",\n lastUpdated: \"Last Updated\",\n },\n nextSteps: {\n title: \"What's next\",\n use: {\n label: \"Start an export from this template\",\n description:\n \"Pre-fills a new export with this template's entity types and format.\",\n },\n browse: {\n label: \"Browse all templates\",\n description: \"Manage your other saved export configurations.\",\n },\n },\n entityTypes: {\n title: \"Included Entity Types\",\n description: \"Data types that will be exported\",\n },\n delete: {\n title: \"Delete template?\",\n description:\n \"This removes the saved export configuration. Existing export jobs are not deleted.\",\n keep: \"Keep Template\",\n confirmAction: \"Delete Template\",\n },\n },\n\n // Shared across pages\n shared: {\n status: {\n created: \"Created\",\n queued: \"Queued\",\n running: \"Running\",\n completed: \"Completed\",\n failed: \"Failed\",\n cancelled: \"Cancelled\",\n expired: \"Expired\",\n deleted: \"Deleted\",\n },\n },\n\n // Progress component\n progress: {\n label: \"Progress\",\n },\n\n // Format / archive names (kept as keys so products can localize if needed)\n format: {\n csv: \"CSV\",\n json: \"JSON\",\n },\n archive: {\n zip: \"ZIP\",\n },\n\n // Workspace pages v2 (BOFF-15822): the redesigned \"Download your data\".\n v2: {\n again: {\n done: \"Started “{{name}}” again\",\n failed: \"Couldn’t start it again\",\n },\n age: {\n days: \"{{count}} days ago\",\n hours: \"{{count}} h ago\",\n minutes: \"{{count}} min ago\",\n now: \"Just now\",\n yesterday: \"Yesterday\",\n },\n cancel: {\n confirm: \"Stop it\",\n description:\n \"What it has packed so far is dropped. You can make it again later.\",\n done: \"Stopped “{{name}}”\",\n failed: \"Couldn’t stop the download\",\n keep: \"Keep preparing\",\n title: \"Stop preparing “{{name}}”?\",\n },\n common: {\n askAdmin: \"Ask a workspace admin.\",\n cancel: \"Cancel\",\n close: \"Close\",\n tryAgain: \"Try again\",\n },\n delete: {\n confirm: \"Delete download\",\n description: \"The file goes for good. Your data stays where it is.\",\n done: \"Deleted “{{name}}”\",\n failed: \"Couldn’t delete the download\",\n title: \"Delete “{{name}}”?\",\n },\n deleteSetup: {\n confirm: \"Delete setup\",\n description: \"Downloads made from it stay in Downloads.\",\n done: \"Deleted “{{name}}”\",\n failed: \"Couldn’t delete the setup\",\n title: \"Delete the setup “{{name}}”?\",\n },\n download: {\n expired: \"The link to “{{name}}” had expired\",\n expiredHelp: \"The list is updating. Try again in a moment.\",\n },\n list: {\n any: \"Any\",\n anything: \"Anything\",\n contains: \"Contains\",\n count: \"{{count}} downloads\",\n countOne: \"1 download\",\n download: \"Download\",\n emptyDescription:\n \"Pick what you want — workflows, runs, files, chats — and we package it as one ZIP file.\",\n emptyTitle: \"No downloads yet\",\n failed: \"Couldn’t load your downloads\",\n failedReason: \"It stopped before it finished.\",\n file: \"File\",\n label: \"Downloads\",\n made: \"Made\",\n more: \"+{{count}}\",\n search: \"Search downloads\",\n sortName: \"Name A–Z\",\n sortNew: \"Newest first\",\n status: \"Status\",\n },\n made: {\n someone: \"someone\",\n you: \"you\",\n },\n moreLabel: \"More for Download your data\",\n new: {\n createLocked:\n \"Starting a download needs permission to export in this workspace. Ask a workspace admin.\",\n description:\n \"We package it as one ZIP file. It shows up in Downloads when it’s ready.\",\n failed: \"Couldn’t start the download. Try again.\",\n failedWithReason: \"Couldn’t start the download: {{reason}}\",\n fileType: \"File type\",\n formatCsv: \"CSV\",\n formatCsvHelp: \"Spreadsheets, one per kind of data.\",\n formatJson: \"JSON\",\n formatJsonHelp:\n \"One file per kind of data, for other tools and backups.\",\n formatLabel: \"Files inside the ZIP\",\n kinds: \"What to include\",\n kindsFailed: \"Couldn’t load what you can download.\",\n moreKinds: \"More kinds of data\",\n name: \"Name\",\n nameHelp: \"How it shows in Downloads.\",\n nameMyData: \"My data\",\n period: \"Data from\",\n period30: \"Last 30 days\",\n period90: \"Last 90 days\",\n periodAll: \"All time\",\n periodHelp:\n \"All time includes everything. A shorter period makes a smaller download.\",\n pickKinds: \"Pick at least one kind of data\",\n quota:\n \"You’ve reached this month’s download limit. A bigger plan raises it.\",\n save: \"Save as a setup\",\n saveDone: \"Saved. Starting the download uses it.\",\n saveHelp: \"Shows up in Saved setups, to run again in one click.\",\n scopeMine: \"Just mine\",\n scopeMineHelp: \"What you made or can see.\",\n scopeOrganization: \"All of the organization\",\n scopeOrganizationHelp:\n \"The data of every workspace in your organization.\",\n scopeWorkspace: \"All of the workspace\",\n scopeWorkspaceHelp: \"Every person’s data in this workspace.\",\n seePlans: \"See plans\",\n setupFailed: \"Couldn’t load the saved setup to start from.\",\n setupLocked:\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n setupMissing:\n \"That saved setup wasn’t found. It may have been deleted. You can still make a new download here.\",\n setupName: \"Setup name\",\n setupTitle: \"Saved setup\",\n start: \"Start download\",\n starting: \"Starting…\",\n summary: \"This download\",\n summaryContains: \"Contains\",\n summaryName: \"Name\",\n summaryNothing: \"Nothing yet\",\n tabFormat: \"Format\",\n tabWhat: \"What\",\n tabWhen: \"When\",\n title: \"New download\",\n when: \"When\",\n whose: \"Whose data\",\n whoseLabel: \"Download\",\n workspaceLocked:\n \"Downloading the whole workspace is for workspace admins. You can download your own data.\",\n },\n newDownload: \"New download\",\n purpose:\n \"Copies of your workflows, runs, files and more, packaged as one ZIP file of CSV or JSON.\",\n row: {\n again: \"Make again\",\n cancel: \"Cancel\",\n cancelAria: \"Stop preparing {{name}}\",\n cancelLocked:\n \"You don’t have permission to stop downloads here. {{ask}}\",\n delete: \"Delete…\",\n deleteLocked:\n \"You don’t have permission to delete downloads here. {{ask}}\",\n details: \"Details\",\n download: \"Download\",\n downloadAria: \"Download {{name}}\",\n menu: \"Actions for {{name}}\",\n open: \"Open\",\n retry: \"Try again\",\n saveSetup: \"Save as a setup\",\n },\n run: {\n description: \"It shows up in Downloads when it’s ready.\",\n done: \"Started “{{name}}”\",\n failed: \"Couldn’t start “{{name}}”\",\n nothingHere: \"Nothing in “{{name}}” can be downloaded here\",\n see: \"See downloads\",\n },\n saveSetup: {\n done: \"Saved “{{name}}” as a setup\",\n failed: \"Couldn’t save the setup\",\n see: \"See setups\",\n },\n setups: {\n changed: \"Changed\",\n contains: \"Contains\",\n count: \"{{count}} saved setups\",\n countOne: \"1 saved setup\",\n delete: \"Delete setup…\",\n edit: \"Edit…\",\n emptyDescription:\n \"When you make a download, turn on “Save as a setup” to run it again in one click.\",\n emptyTitle: \"No saved setups\",\n failed: \"Couldn’t load your saved setups\",\n kindsFailed:\n \"Couldn’t load what can be downloaded here. Try again in a moment.\",\n label: \"Saved setups\",\n limit: \"Showing the first {{count}} saved setups.\",\n nothingHere:\n \"Nothing in this setup can be downloaded here: its kinds of data belong to another product, or are switched off.\",\n openNew: \"Run with changes…\",\n openNewHelp: \"Opens New download with this setup filled in\",\n run: \"Run now\",\n runAria: \"Run {{name}} now\",\n setup: \"Setup\",\n },\n started: \"Started “{{name}}”\",\n startedDescription:\n \"It shows up in Downloads, and you can download it when it’s ready.\",\n state: {\n cancelled: \"Cancelled\",\n deleted: \"Deleted\",\n expired: \"Expired\",\n failed: \"Failed\",\n preparing: \"Preparing\",\n progress: \"{{name}}: {{progress}}% packed\",\n ready: \"Ready\",\n },\n tabs: {\n downloads: \"Downloads\",\n label: \"Download your data\",\n setups: \"Saved setups\",\n },\n title: \"Download your data\",\n },\n },\n};\n"],"mappings":";AAQA,IAAaA,IAAiB,EAC5B,QAAQ;CAEN,KAAK;EACH,MAAM;EACN,WAAW;EACX,WAAW;EACX,SAAS;EACT,WAAW;EACX,cAAc;CAChB;CAGA,QAAQ;EACN,OAAO;GACL,OAAO;GACP,aACE;GACF,OAAO;EACT;EACA,UAAU;GACR,OAAO;GACP,aACE;EACJ;CACF;CAGA,WAAW;EACT,OAAO;EACP,UAAU;EACV,SACE;EACF,SAAS;GACP,OAAO;GACP,QAAQ;GACR,WAAW;EACb;EACA,WAAW;GACT,OAAO;GACP,QAAQ;IACN,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aACE;GACJ;GACA,SAAS;IACP,OAAO;IACP,aACE;GACJ;EACF;EACA,SAAS;GACP,WAAW;IACT,OAAO;IACP,aAAa;GACf;GACA,SAAS;IACP,OAAO;IACP,aAAa;GACf;GACA,WAAW;IACT,OAAO;IACP,aAAa;GACf;GACA,YAAY;IACV,OAAO;IACP,aAAa;GACf;EACF;EACA,QAAQ;GACN,OAAO;GACP,aAAa;EACf;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,SAAS,EACP,SAAS,WACX;GACA,eAAe;EACjB;EACA,OAAO;GACL,OAAO;GACP,aACE;GACF,SAAS,EACP,aAAa,sBACf;EACF;CACF;CAGA,QAAQ;EACN,OAAO;EACP,SACE;EACF,OAAO;GACL,UAAU;GACV,SAAS;GACT,QAAQ;EACV;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,YAAY;GACZ,OACE;GACF,oBAAoB;GACpB,aAAa;GACb,iBAAiB;EACnB;EACA,UAAU;GACR,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;GACA,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,eAAe;IACb,OAAO;IACP,aAAa;GACf;GACA,MAAM;IACJ,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;EACF;EACA,OAAO;GACL,YAAY;IACV,OAAO;IACP,aACE;GACJ;GACA,gBAAgB;IACd,OAAO;IACP,aACE;IACF,UAAU;GACZ;GACA,UAAU;IACR,OAAO;IACP,aACE;IACF,UAAU;GACZ;EACF;EACA,SAAS;GACP,OAAO;GACP,OAAO;GACP,MAAM;GACN,iBAAiB;GACjB,cAAc;GACd,eAAe;GACf,oBAAoB;GACpB,gBAAgB;GAChB,WAAW;GACX,UAAU;GACV,QAAQ;GACR,YAAY;GACZ,aAAa;GACb,oBAAoB;GACpB,mBAAmB;EACrB;EACA,QAAQ;GACN,OAAO;GACP,QAAQ;IACN,MAAM;IACN,OAAO;IACP,aAAa;IACb,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;GACZ;EACF;EACA,SAAS;GACP,MAAM;GACN,iBAAiB;GACjB,QAAQ;GACR,MAAM;GACN,aAAa;EACf;EACA,QAAQ;GACN,cAAc;GACd,oBAAoB;GACpB,cAAc;GACd,cAAc;EAChB;EACA,QAAQ,EACN,UAAU,aACZ;EACA,aAAa;GACX,OAAO;GACP,aAAa;GACb,SAAS;GACT,aAAa;EACf;CACF;CAGA,SAAS;EACP,OAAO;EACP,UAAU;EACV,SACE;EACF,SAAS,EACP,WAAW,aACb;EACA,QAAQ,EACN,aAAa,2CACf;EACA,SAAS;GACP,MAAM;GACN,MAAM;GACN,OAAO;GACP,UAAU;GACV,QAAQ;IACN,OAAO;IACP,KAAK;GACP;GACA,QAAQ;IACN,OAAO;IACP,KAAK;GACP;EACF;EACA,OAAO;GACL,OAAO;GACP,OAAO;EACT;EACA,YAAY;GACV,SAAS;GACT,MAAM;GACN,MAAM;GACN,MAAM;EACR;EACA,OAAO;GACL,OAAO;GACP,aAAa;GACb,SAAS,EACP,aAAa,sBACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;IACb,SAAS,EACP,OAAO,gBACT;GACF;EACF;CACF;CAGA,WAAW;EACT,OAAO;EACP,UAAU;EACV,SACE;EACF,SAAS;GACP,aAAa;GACb,WAAW;EACb;EACA,SAAS,EACP,WAAW,yCACb;EACA,MAAM;GACJ,OAAO;GACP,QAAQ;IACN,MAAM;IACN,iBAAiB;IACjB,QAAQ;IACR,aAAa;IACb,wBAAwB;IACxB,aAAa;IACb,iBAAiB;GACnB;GACA,SAAS;IACP,QAAQ;IACR,QAAQ;GACV;GACA,QAAQ;IACN,cAAc;IACd,gBAAgB;IAChB,cAAc;GAChB;EACF;EACA,QAAQ,EACN,aAAa,sBACf;EACA,MAAM;GACJ,SAAS;GACT,cAAc;GACd,iBAAiB;EACnB;EACA,OAAO;GACL,OAAO;GACP,aACE;GACF,SAAS,EACP,aAAa,eACf;GACA,UAAU;IACR,OAAO;IACP,aACE;IACF,SAAS,EACP,OAAO,eACT;GACF;EACF;EACA,QAAQ;GACN,OAAO;GACP,aACE;GACF,QAAQ;GACR,eAAe;EACjB;CACF;CAGA,QAAQ;EACN,SAAS;EACT,UAAU;GACR,OAAO;GACP,SAAS;GACT,aACE;EACJ;EACA,SAAS;GACP,MAAM;GACN,iBAAiB;GACjB,UAAU;GACV,OAAO;GACP,QAAQ;GACR,QAAQ;EACV;EACA,WAAW;GACT,OAAO;GACP,UAAU;IACR,OAAO;IACP,aACE;GACJ;GACA,OAAO;IACL,OAAO;IACP,aACE;GACJ;GACA,SAAS;IACP,OAAO;IACP,aAAa;GACf;EACF;EACA,OAAO,EACL,OAAO,gBACT;EACA,MAAM;GACJ,QAAQ;GACR,SAAS;GACT,WAAW;GACX,SAAS;EACX;EACA,UAAU,EACR,mBAAmB,+CACrB;EACA,OAAO;GACL,OAAO;GACP,aAAa;GACb,UAAU;GACV,SAAS;GACT,SAAS;EACX;EACA,UAAU;GACR,OAAO;GACP,SACE;EACJ;EACA,SAAS;GACP,MAAM;GACN,QAAQ;IACN,OAAO;IACP,aACE;GACJ;GACA,QAAQ;IACN,OAAO;IACP,aACE;GACJ;EACF;CACF;CAGA,gBAAgB;EACd,SAAS;EACT,UAAU;GACR,OAAO;GACP,SAAS;GACT,aAAa;EACf;EACA,SAAS;GACP,iBAAiB;GACjB,KAAK;GACL,QAAQ;EACV;EACA,OAAO;GACL,SAAS;GACT,QAAQ;EACV;EACA,MAAM;GACJ,QAAQ;GACR,SAAS;GACT,aAAa;GACb,kBAAkB;GAClB,aAAa;EACf;EACA,WAAW;GACT,OAAO;GACP,KAAK;IACH,OAAO;IACP,aACE;GACJ;GACA,QAAQ;IACN,OAAO;IACP,aAAa;GACf;EACF;EACA,aAAa;GACX,OAAO;GACP,aAAa;EACf;EACA,QAAQ;GACN,OAAO;GACP,aACE;GACF,MAAM;GACN,eAAe;EACjB;CACF;CAGA,QAAQ,EACN,QAAQ;EACN,SAAS;EACT,QAAQ;EACR,SAAS;EACT,WAAW;EACX,QAAQ;EACR,WAAW;EACX,SAAS;EACT,SAAS;CACX,EACF;CAGA,UAAU,EACR,OAAO,WACT;CAGA,QAAQ;EACN,KAAK;EACL,MAAM;CACR;CACA,SAAS,EACP,KAAK,MACP;CAGA,IAAI;EACF,OAAO;GACL,MAAM;GACN,QAAQ;EACV;EACA,KAAK;GACH,MAAM;GACN,OAAO;GACP,SAAS;GACT,KAAK;GACL,WAAW;EACb;EACA,QAAQ;GACN,SAAS;GACT,aACE;GACF,MAAM;GACN,QAAQ;GACR,MAAM;GACN,OAAO;EACT;EACA,QAAQ;GACN,UAAU;GACV,QAAQ;GACR,OAAO;GACP,UAAU;EACZ;EACA,QAAQ;GACN,SAAS;GACT,aAAa;GACb,MAAM;GACN,QAAQ;GACR,OAAO;EACT;EACA,aAAa;GACX,SAAS;GACT,aAAa;GACb,MAAM;GACN,QAAQ;GACR,OAAO;EACT;EACA,UAAU;GACR,SAAS;GACT,aAAa;EACf;EACA,MAAM;GACJ,KAAK;GACL,UAAU;GACV,UAAU;GACV,OAAO;GACP,UAAU;GACV,UAAU;GACV,kBACE;GACF,YAAY;GACZ,QAAQ;GACR,cAAc;GACd,MAAM;GACN,OAAO;GACP,MAAM;GACN,MAAM;GACN,QAAQ;GACR,UAAU;GACV,SAAS;GACT,QAAQ;EACV;EACA,MAAM;GACJ,SAAS;GACT,KAAK;EACP;EACA,WAAW;EACX,KAAK;GACH,cACE;GACF,aACE;GACF,QAAQ;GACR,kBAAkB;GAClB,UAAU;GACV,WAAW;GACX,eAAe;GACf,YAAY;GACZ,gBACE;GACF,aAAa;GACb,OAAO;GACP,aAAa;GACb,WAAW;GACX,MAAM;GACN,UAAU;GACV,YAAY;GACZ,QAAQ;GACR,UAAU;GACV,UAAU;GACV,WAAW;GACX,YACE;GACF,WAAW;GACX,OACE;GACF,MAAM;GACN,UAAU;GACV,UAAU;GACV,WAAW;GACX,eAAe;GACf,mBAAmB;GACnB,uBACE;GACF,gBAAgB;GAChB,oBAAoB;GACpB,UAAU;GACV,aAAa;GACb,aACE;GACF,cACE;GACF,WAAW;GACX,YAAY;GACZ,OAAO;GACP,UAAU;GACV,SAAS;GACT,iBAAiB;GACjB,aAAa;GACb,gBAAgB;GAChB,WAAW;GACX,SAAS;GACT,SAAS;GACT,OAAO;GACP,MAAM;GACN,OAAO;GACP,YAAY;GACZ,iBACE;EACJ;EACA,aAAa;EACb,SACE;EACF,KAAK;GACH,OAAO;GACP,QAAQ;GACR,YAAY;GACZ,cACE;GACF,QAAQ;GACR,cACE;GACF,SAAS;GACT,UAAU;GACV,cAAc;GACd,MAAM;GACN,MAAM;GACN,OAAO;GACP,WAAW;EACb;EACA,KAAK;GACH,aAAa;GACb,MAAM;GACN,QAAQ;GACR,aAAa;GACb,KAAK;EACP;EACA,WAAW;GACT,MAAM;GACN,QAAQ;GACR,KAAK;EACP;EACA,QAAQ;GACN,SAAS;GACT,UAAU;GACV,OAAO;GACP,UAAU;GACV,QAAQ;GACR,MAAM;GACN,kBACE;GACF,YAAY;GACZ,QAAQ;GACR,aACE;GACF,OAAO;GACP,OAAO;GACP,aACE;GACF,SAAS;GACT,aAAa;GACb,KAAK;GACL,SAAS;GACT,OAAO;EACT;EACA,SAAS;EACT,oBACE;EACF,OAAO;GACL,WAAW;GACX,SAAS;GACT,SAAS;GACT,QAAQ;GACR,WAAW;GACX,UAAU;GACV,OAAO;EACT;EACA,MAAM;GACJ,WAAW;GACX,OAAO;GACP,QAAQ;EACV;EACA,OAAO;CACT;AACF,EACF"}
1
+ {"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../src/translations/en.ts"],"sourcesContent":["/**\n * Bundled English translations for microfe-export.\n *\n * These serve as fallback translations when the i18n API is unavailable.\n * The i18n service should be the source of truth, but these ensure the\n * export microfrontend remains usable even when translations can't be fetched.\n */\n\nexport const enTranslations = {\n export: {\n // Shell navigation registered by ExportRoot\n nav: {\n root: \"Export\",\n dashboard: \"Dashboard\",\n newExport: \"New Export\",\n history: \"History\",\n templates: \"Templates\",\n footerStatus: \"Export Ready\",\n },\n\n // Route-level fallbacks (loading errors, feature-flag disabled)\n routes: {\n error: {\n title: \"Failed to load page\",\n description:\n \"The page chunk could not be loaded. This may be due to a network issue.\",\n retry: \"Try Again\",\n },\n disabled: {\n title: \"Data Export Unavailable\",\n description:\n \"The Data Export feature is currently disabled for this workspace. Contact your administrator to enable it.\",\n },\n },\n\n // Dashboard overview page\n dashboard: {\n title: \"Export\",\n subtitle: \"Export your workspace data in multiple formats\",\n purpose:\n \"Export takes your workspace data — people, projects, files, tags, activity and more — and packages it into downloadable CSV or JSON files. Use it to back up your data, hand it to another tool, run an audit, or take it with you when you leave. Pick what you want, choose a format, and grab the download when it's ready.\",\n metrics: {\n total: \"Total Exports\",\n active: \"Active\",\n completed: \"Completed\",\n },\n nextSteps: {\n title: \"Get started\",\n create: {\n label: \"Create your first export\",\n description: \"Pick the data you want and download it as CSV or JSON.\",\n },\n template: {\n label: \"Save a reusable template\",\n description:\n \"Store a common export config so repeat exports are one click.\",\n },\n history: {\n label: \"Track exports in History\",\n description:\n \"Monitor progress and grab download links for finished jobs.\",\n },\n },\n actions: {\n newExport: {\n label: \"New Export\",\n description: \"Create a new data export\",\n },\n history: {\n label: \"History\",\n description: \"View past exports\",\n },\n templates: {\n label: \"Templates\",\n description: \"Reusable export configs\",\n },\n activeJobs: {\n label: \"Active Jobs\",\n description: \"{{count}} running\",\n },\n },\n active: {\n title: \"Active Exports\",\n description: \"Currently running export jobs\",\n },\n recent: {\n title: \"Recent Exports\",\n description: \"Your latest export jobs\",\n deniedWhat: \"exports\",\n actions: {\n viewAll: \"View All\",\n },\n entitiesCount: \"{{count}} entities\",\n },\n empty: {\n title: \"No exports yet\",\n description:\n \"Create your first export to start downloading your workspace data.\",\n actions: {\n createFirst: \"Create First Export\",\n },\n },\n },\n\n // Create export wizard\n create: {\n title: \"New Export\",\n purpose:\n \"Build a one-off export in three steps: pick which data to include, choose a format and scope, then review and start it. The export runs in the background and produces a downloadable ZIP you can grab from History when it finishes.\",\n steps: {\n entities: \"Select Data\",\n options: \"Options\",\n review: \"Review\",\n },\n select: {\n title: \"Select data to export\",\n description: \"Choose which entity types to include in your export.\",\n emptyTitle: \"Nothing to export yet\",\n empty:\n \"No exportable entity types are configured for this workspace yet. Once your workspace has data in supported modules, they'll show up here to select.\",\n unavailableSection: \"Not available yet\",\n unavailable: \"Unavailable\",\n unavailableHint: \"Export for this product isn't available yet\",\n },\n entities: {\n users: {\n label: \"Users\",\n description: \"Workspace members and profiles\",\n },\n projects: {\n label: \"Projects\",\n description: \"Projects and their metadata\",\n },\n tasks: {\n label: \"Tasks\",\n description: \"Task items and assignments\",\n },\n files: {\n label: \"Files\",\n description: \"File metadata and references\",\n },\n conversations: {\n label: \"Conversations\",\n description: \"Chat messages and threads\",\n },\n tags: {\n label: \"Tags\",\n description: \"Tags and vocabularies\",\n },\n activity: {\n label: \"Activity Logs\",\n description: \"Audit trail and activity history\",\n },\n calendar: {\n label: \"Calendar Events\",\n description: \"Events and bookings\",\n },\n },\n scope: {\n individual: {\n label: \"My Data Only\",\n description:\n \"Export data you personally created across selected modules.\",\n },\n workspaceAdmin: {\n label: \"All Workspace Data\",\n description:\n \"Export all data in this workspace regardless of who created it. Requires workspace admin access.\",\n required: \"Workspace admin access required\",\n },\n orgAdmin: {\n label: \"All Organization Data\",\n description:\n \"Export data from every workspace in your organization. Requires org-admin access.\",\n required: \"Organization admin access required\",\n },\n },\n options: {\n title: \"Export Options\",\n scope: \"Export Scope\",\n name: \"Export Name\",\n namePlaceholder: \"e.g., Monthly User Export\",\n outputFormat: \"Output Format\",\n archiveFormat: \"Archive Format\",\n archiveDescription: \"Exports are packaged as ZIP archives.\",\n advancedToggle: \"Date range & template\",\n dateRange: \"Date Range\",\n dateFrom: \"From\",\n dateTo: \"To\",\n noTemplate: \"No template\",\n noTemplates: \"No templates yet.\",\n createTemplateLink: \"Create one\",\n reuseTemplateHint: \"to reuse export configurations.\",\n },\n review: {\n title: \"Review Export\",\n fields: {\n name: \"Name\",\n scope: \"Scope\",\n entityTypes: \"Entity Types\",\n format: \"Format\",\n archive: \"Archive\",\n dateRange: \"Date Range\",\n template: \"Template\",\n },\n },\n actions: {\n back: \"Back\",\n backToDashboard: \"Back to export dashboard\",\n cancel: \"Cancel\",\n next: \"Next\",\n startExport: \"Start Export\",\n },\n errors: {\n selectEntity: \"Please select at least one entity type to export\",\n exportNameRequired: \"Please provide a name for this export\",\n quotaReached: \"You have reached your export limit for this month.\",\n createFailed: \"Failed to create export\",\n },\n shared: {\n optional: \"(optional)\",\n },\n quotaDialog: {\n title: \"Export Limit Reached\",\n description: \"You have reached your export limit for this month.\",\n dismiss: \"Dismiss\",\n viewBilling: \"View Billing\",\n },\n },\n\n // Export history list\n history: {\n title: \"Export History\",\n deniedWhat: \"exports\",\n subtitle: \"View and manage all your past export jobs\",\n purpose:\n \"Every export you've ever started lives here. Track jobs as they run, see which finished or failed, and grab download links for completed exports before they expire. Search by name or entity type, or filter by status and format to find a specific one.\",\n actions: {\n newExport: \"New Export\",\n },\n search: {\n placeholder: \"Search exports by name or entity type...\",\n },\n filters: {\n show: \"Filter\",\n hide: \"Hide\",\n title: \"Filters\",\n clearAll: \"Clear All\",\n status: {\n label: \"Status\",\n all: \"All Statuses\",\n },\n format: {\n label: \"Format\",\n all: \"All Formats\",\n },\n },\n error: {\n title: \"Error loading exports\",\n retry: \"Try Again\",\n },\n pagination: {\n showing: \"Showing {{start}}-{{end}} of {{total}}\",\n page: \"Page {{page}}\",\n prev: \"Prev\",\n next: \"Next\",\n },\n empty: {\n title: \"No exports yet\",\n description: \"Create your first export to see it here.\",\n actions: {\n createFirst: \"Create First Export\",\n },\n filtered: {\n title: \"No matching exports\",\n description: \"Try adjusting your search or filters.\",\n actions: {\n clear: \"Clear Filters\",\n },\n },\n },\n },\n\n // Export templates\n templates: {\n title: \"Export Templates\",\n deniedWhat: \"export templates\",\n subtitle: \"Reusable export configurations for common data exports\",\n purpose:\n \"Templates save an export setup — the entity types and format you regularly need — so you don't rebuild it each time. Create one here, then start a new export from it in a single click. Handy for recurring backups, periodic audits, or any export you run more than once.\",\n actions: {\n newTemplate: \"New Template\",\n newExport: \"New Export\",\n },\n summary: {\n available: \"{{count}} template{{suffix}} available\",\n },\n form: {\n title: \"New Template\",\n fields: {\n name: \"Name\",\n namePlaceholder: \"e.g. Weekly Tags Export\",\n format: \"Format\",\n description: \"Description\",\n descriptionPlaceholder: \"Optional description\",\n entityTypes: \"Entity Types\",\n entityTypesHint: \"(select at least one)\",\n },\n actions: {\n create: \"Create Template\",\n cancel: \"Cancel\",\n },\n errors: {\n nameRequired: \"Template name is required.\",\n entityRequired: \"Select at least one entity type.\",\n createFailed: \"Failed to create template.\",\n },\n },\n search: {\n placeholder: \"Search templates...\",\n },\n card: {\n default: \"Default\",\n moreEntities: \"+{{count}} more\",\n deleteAriaLabel: \"Delete {{name}}\",\n },\n empty: {\n title: \"No templates yet\",\n description:\n \"Create a template to save reusable export configurations.\",\n actions: {\n newTemplate: \"New Template\",\n },\n filtered: {\n title: \"No matching templates\",\n description:\n \"Try adjusting your search to find what you are looking for.\",\n actions: {\n clear: \"Clear Search\",\n },\n },\n },\n delete: {\n title: \"Delete template?\",\n description:\n \"This removes the saved export configuration. Existing export jobs are not deleted.\",\n cancel: \"Keep Template\",\n confirmAction: \"Delete Template\",\n },\n },\n\n // Single export detail page\n detail: {\n loading: \"Loading export details…\",\n notFound: {\n title: \"Export Not Found\",\n heading: \"Export not found\",\n description:\n \"The export job you are looking for does not exist or has been deleted.\",\n },\n actions: {\n back: \"Go back\",\n backToDashboard: \"Back to Dashboard\",\n download: \"Download\",\n retry: \"Retry Export\",\n cancel: \"Cancel Export\",\n delete: \"Delete Export\",\n },\n nextSteps: {\n title: \"What's next\",\n download: {\n label: \"Download your export\",\n description:\n \"Grab the generated files below before their download links expire.\",\n },\n retry: {\n label: \"Retry this export\",\n description:\n \"This export didn't finish — start a fresh run with the same settings.\",\n },\n history: {\n label: \"Back to History\",\n description: \"See all your exports and track other jobs in progress.\",\n },\n },\n error: {\n title: \"Export Failed\",\n },\n info: {\n format: \"Format\",\n archive: \"Archive\",\n totalSize: \"Total Size\",\n created: \"Created\",\n },\n progress: {\n entitiesProcessed: \"{{processed}} / {{total}} entities processed\",\n },\n parts: {\n title: \"Export Parts\",\n description: \"{{count}} file(s) generated\",\n download: \"Download\",\n pending: \"Pending\",\n expires: \"expires {{date}}\",\n },\n complete: {\n title: \"Export Complete\",\n noParts:\n \"Your export has completed but no download parts are available yet.\",\n },\n confirm: {\n keep: \"Keep Export\",\n cancel: {\n title: \"Cancel export?\",\n description:\n \"This stops the running export job. You can retry it later if needed.\",\n },\n delete: {\n title: \"Delete export?\",\n description:\n \"This removes the export job from history. This action cannot be undone.\",\n },\n },\n },\n\n // Single template detail page\n templateDetail: {\n loading: \"Loading template details…\",\n notFound: {\n title: \"Template Not Found\",\n heading: \"Template not found\",\n description: \"The template you are looking for does not exist.\",\n },\n actions: {\n backToTemplates: \"Back to Templates\",\n use: \"Use Template\",\n delete: \"Delete Template\",\n },\n badge: {\n default: \"Default template\",\n custom: \"Custom template\",\n },\n info: {\n format: \"Format\",\n archive: \"Archive\",\n entityTypes: \"Entity Types\",\n entityTypesCount: \"{{count}} type{{suffix}}\",\n lastUpdated: \"Last Updated\",\n },\n nextSteps: {\n title: \"What's next\",\n use: {\n label: \"Start an export from this template\",\n description:\n \"Pre-fills a new export with this template's entity types and format.\",\n },\n browse: {\n label: \"Browse all templates\",\n description: \"Manage your other saved export configurations.\",\n },\n },\n entityTypes: {\n title: \"Included Entity Types\",\n description: \"Data types that will be exported\",\n },\n delete: {\n title: \"Delete template?\",\n description:\n \"This removes the saved export configuration. Existing export jobs are not deleted.\",\n keep: \"Keep Template\",\n confirmAction: \"Delete Template\",\n },\n },\n\n // Shared across pages\n shared: {\n status: {\n created: \"Created\",\n queued: \"Queued\",\n running: \"Running\",\n completed: \"Completed\",\n failed: \"Failed\",\n cancelled: \"Cancelled\",\n expired: \"Expired\",\n deleted: \"Deleted\",\n },\n },\n\n // Progress component\n progress: {\n label: \"Progress\",\n },\n\n // Format / archive names (kept as keys so products can localize if needed)\n format: {\n csv: \"CSV\",\n json: \"JSON\",\n },\n archive: {\n zip: \"ZIP\",\n },\n\n // Workspace pages v2 (BOFF-15822): the redesigned \"Download your data\".\n v2: {\n again: {\n done: \"Started “{{name}}” again\",\n failed: \"Couldn’t start it again\",\n },\n age: {\n days: \"{{count}} days ago\",\n hours: \"{{count}} h ago\",\n minutes: \"{{count}} min ago\",\n now: \"Just now\",\n yesterday: \"Yesterday\",\n },\n cancel: {\n confirm: \"Stop it\",\n description:\n \"What it has packed so far is dropped. You can make it again later.\",\n done: \"Stopped “{{name}}”\",\n failed: \"Couldn’t stop the download\",\n keep: \"Keep preparing\",\n title: \"Stop preparing “{{name}}”?\",\n },\n common: {\n askAdmin: \"Ask a workspace admin.\",\n cancel: \"Cancel\",\n close: \"Close\",\n tryAgain: \"Try again\",\n },\n delete: {\n confirm: \"Delete download\",\n description: \"The file goes for good. Your data stays where it is.\",\n done: \"Deleted “{{name}}”\",\n failed: \"Couldn’t delete the download\",\n title: \"Delete “{{name}}”?\",\n },\n deleteSetup: {\n confirm: \"Delete setup\",\n description: \"Downloads made from it stay in Downloads.\",\n done: \"Deleted “{{name}}”\",\n failed: \"Couldn’t delete the setup\",\n title: \"Delete the setup “{{name}}”?\",\n },\n download: {\n expired: \"The link to “{{name}}” had expired\",\n expiredHelp: \"The list is updating. Try again in a moment.\",\n },\n list: {\n any: \"Any\",\n anything: \"Anything\",\n contains: \"Contains\",\n count: \"{{count}} downloads\",\n countOne: \"1 download\",\n download: \"Download\",\n emptyDescription:\n \"Pick what you want — workflows, runs, files, chats — and we package it as one ZIP file.\",\n emptyTitle: \"No downloads yet\",\n failed: \"Couldn’t load your downloads\",\n failedReason: \"It stopped before it finished.\",\n file: \"File\",\n label: \"Downloads\",\n made: \"Made\",\n more: \"+{{count}}\",\n search: \"Search downloads\",\n sortName: \"Name A–Z\",\n sortNew: \"Newest first\",\n status: \"Status\",\n },\n made: {\n someone: \"someone\",\n you: \"you\",\n },\n moreLabel: \"More for Download your data\",\n new: {\n createLocked:\n \"Starting a download needs permission to export in this workspace. Ask a workspace admin.\",\n description:\n \"We package it as one ZIP file. It shows up in Downloads when it’s ready.\",\n failed: \"Couldn’t start the download. Try again.\",\n failedWithReason: \"Couldn’t start the download: {{reason}}\",\n fileType: \"File type\",\n formatCsv: \"CSV\",\n formatCsvHelp: \"Spreadsheets, one per kind of data.\",\n formatJson: \"JSON\",\n formatJsonHelp:\n \"One file per kind of data, for other tools and backups.\",\n formatLabel: \"Files inside the ZIP\",\n kinds: \"What to include\",\n kindsFailed: \"Couldn’t load what you can download.\",\n moreKinds: \"More kinds of data\",\n name: \"Name\",\n nameHelp: \"How it shows in Downloads.\",\n nameMyData: \"My data\",\n period: \"Data from\",\n period30: \"Last 30 days\",\n period90: \"Last 90 days\",\n periodAll: \"All time\",\n periodHelp:\n \"All time includes everything. A shorter period makes a smaller download.\",\n pickKinds: \"Pick at least one kind of data\",\n quota:\n \"You’ve reached this month’s download limit. A bigger plan raises it.\",\n save: \"Save as a setup\",\n saveDone: \"Saved. Starting the download uses it.\",\n saveHelp: \"Shows up in Saved setups, to run again in one click.\",\n scopeMine: \"Just mine\",\n scopeMineHelp: \"What you made or can see.\",\n scopeOrganization: \"All of the organization\",\n scopeOrganizationHelp:\n \"The data of every workspace in your organization.\",\n scopeWorkspace: \"All of the workspace\",\n scopeWorkspaceHelp: \"Every person’s data in this workspace.\",\n seePlans: \"See plans\",\n setupFailed: \"Couldn’t load the saved setup to start from.\",\n setupLocked:\n \"Saving setups needs permission to manage them in this workspace. Ask a workspace admin.\",\n setupMissing:\n \"That saved setup wasn’t found. It may have been deleted. You can still make a new download here.\",\n setupName: \"Setup name\",\n setupTitle: \"Saved setup\",\n start: \"Start download\",\n starting: \"Starting…\",\n summary: \"This download\",\n summaryContains: \"Contains\",\n summaryName: \"Name\",\n summaryNothing: \"Nothing yet\",\n tabFormat: \"Format\",\n tabWhat: \"What\",\n tabWhen: \"When\",\n title: \"New download\",\n when: \"When\",\n whose: \"Whose data\",\n whoseLabel: \"Download\",\n workspaceLocked:\n \"Downloading the whole workspace is for workspace admins. You can download your own data.\",\n },\n newDownload: \"New download\",\n purpose:\n \"Copies of your workflows, runs, files and more, packaged as one ZIP file of CSV or JSON.\",\n row: {\n again: \"Make again\",\n cancel: \"Cancel\",\n cancelAria: \"Stop preparing {{name}}\",\n cancelLocked:\n \"You don’t have permission to stop downloads here. {{ask}}\",\n delete: \"Delete…\",\n deleteLocked:\n \"You don’t have permission to delete downloads here. {{ask}}\",\n details: \"Details\",\n download: \"Download\",\n downloadAria: \"Download {{name}}\",\n menu: \"Actions for {{name}}\",\n open: \"Open\",\n retry: \"Try again\",\n saveSetup: \"Save as a setup\",\n },\n run: {\n description: \"It shows up in Downloads when it’s ready.\",\n done: \"Started “{{name}}”\",\n failed: \"Couldn’t start “{{name}}”\",\n nothingHere: \"Nothing in “{{name}}” can be downloaded here\",\n see: \"See downloads\",\n },\n saveSetup: {\n done: \"Saved “{{name}}” as a setup\",\n failed: \"Couldn’t save the setup\",\n see: \"See setups\",\n },\n setups: {\n changed: \"Changed\",\n contains: \"Contains\",\n count: \"{{count}} saved setups\",\n countOne: \"1 saved setup\",\n delete: \"Delete setup…\",\n edit: \"Edit…\",\n emptyDescription:\n \"When you make a download, turn on “Save as a setup” to run it again in one click.\",\n emptyTitle: \"No saved setups\",\n failed: \"Couldn’t load your saved setups\",\n kindsFailed:\n \"Couldn’t load what can be downloaded here. Try again in a moment.\",\n label: \"Saved setups\",\n limit: \"Showing the first {{count}} saved setups.\",\n nothingHere:\n \"Nothing in this setup can be downloaded here: its kinds of data belong to another product, or are switched off.\",\n openNew: \"Run with changes…\",\n openNewHelp: \"Opens New download with this setup filled in\",\n run: \"Run now\",\n runAria: \"Run {{name}} now\",\n setup: \"Setup\",\n },\n started: \"Started “{{name}}”\",\n startedDescription:\n \"It shows up in Downloads, and you can download it when it’s ready.\",\n state: {\n cancelled: \"Cancelled\",\n deleted: \"Deleted\",\n expired: \"Expired\",\n failed: \"Failed\",\n preparing: \"Preparing\",\n progress: \"{{name}}: {{progress}}% packed\",\n ready: \"Ready\",\n },\n tabs: {\n downloads: \"Downloads\",\n label: \"Download your data\",\n setups: \"Saved setups\",\n },\n title: \"Download your data\",\n },\n },\n};\n"],"mappings":";AAQA,IAAaA,IAAiB,EAC5B,QAAQ;CAEN,KAAK;EACH,MAAM;EACN,WAAW;EACX,WAAW;EACX,SAAS;EACT,WAAW;EACX,cAAc;CAChB;CAGA,QAAQ;EACN,OAAO;GACL,OAAO;GACP,aACE;GACF,OAAO;EACT;EACA,UAAU;GACR,OAAO;GACP,aACE;EACJ;CACF;CAGA,WAAW;EACT,OAAO;EACP,UAAU;EACV,SACE;EACF,SAAS;GACP,OAAO;GACP,QAAQ;GACR,WAAW;EACb;EACA,WAAW;GACT,OAAO;GACP,QAAQ;IACN,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aACE;GACJ;GACA,SAAS;IACP,OAAO;IACP,aACE;GACJ;EACF;EACA,SAAS;GACP,WAAW;IACT,OAAO;IACP,aAAa;GACf;GACA,SAAS;IACP,OAAO;IACP,aAAa;GACf;GACA,WAAW;IACT,OAAO;IACP,aAAa;GACf;GACA,YAAY;IACV,OAAO;IACP,aAAa;GACf;EACF;EACA,QAAQ;GACN,OAAO;GACP,aAAa;EACf;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,YAAY;GACZ,SAAS,EACP,SAAS,WACX;GACA,eAAe;EACjB;EACA,OAAO;GACL,OAAO;GACP,aACE;GACF,SAAS,EACP,aAAa,sBACf;EACF;CACF;CAGA,QAAQ;EACN,OAAO;EACP,SACE;EACF,OAAO;GACL,UAAU;GACV,SAAS;GACT,QAAQ;EACV;EACA,QAAQ;GACN,OAAO;GACP,aAAa;GACb,YAAY;GACZ,OACE;GACF,oBAAoB;GACpB,aAAa;GACb,iBAAiB;EACnB;EACA,UAAU;GACR,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;GACA,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,OAAO;IACL,OAAO;IACP,aAAa;GACf;GACA,eAAe;IACb,OAAO;IACP,aAAa;GACf;GACA,MAAM;IACJ,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;GACf;EACF;EACA,OAAO;GACL,YAAY;IACV,OAAO;IACP,aACE;GACJ;GACA,gBAAgB;IACd,OAAO;IACP,aACE;IACF,UAAU;GACZ;GACA,UAAU;IACR,OAAO;IACP,aACE;IACF,UAAU;GACZ;EACF;EACA,SAAS;GACP,OAAO;GACP,OAAO;GACP,MAAM;GACN,iBAAiB;GACjB,cAAc;GACd,eAAe;GACf,oBAAoB;GACpB,gBAAgB;GAChB,WAAW;GACX,UAAU;GACV,QAAQ;GACR,YAAY;GACZ,aAAa;GACb,oBAAoB;GACpB,mBAAmB;EACrB;EACA,QAAQ;GACN,OAAO;GACP,QAAQ;IACN,MAAM;IACN,OAAO;IACP,aAAa;IACb,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;GACZ;EACF;EACA,SAAS;GACP,MAAM;GACN,iBAAiB;GACjB,QAAQ;GACR,MAAM;GACN,aAAa;EACf;EACA,QAAQ;GACN,cAAc;GACd,oBAAoB;GACpB,cAAc;GACd,cAAc;EAChB;EACA,QAAQ,EACN,UAAU,aACZ;EACA,aAAa;GACX,OAAO;GACP,aAAa;GACb,SAAS;GACT,aAAa;EACf;CACF;CAGA,SAAS;EACP,OAAO;EACP,YAAY;EACZ,UAAU;EACV,SACE;EACF,SAAS,EACP,WAAW,aACb;EACA,QAAQ,EACN,aAAa,2CACf;EACA,SAAS;GACP,MAAM;GACN,MAAM;GACN,OAAO;GACP,UAAU;GACV,QAAQ;IACN,OAAO;IACP,KAAK;GACP;GACA,QAAQ;IACN,OAAO;IACP,KAAK;GACP;EACF;EACA,OAAO;GACL,OAAO;GACP,OAAO;EACT;EACA,YAAY;GACV,SAAS;GACT,MAAM;GACN,MAAM;GACN,MAAM;EACR;EACA,OAAO;GACL,OAAO;GACP,aAAa;GACb,SAAS,EACP,aAAa,sBACf;GACA,UAAU;IACR,OAAO;IACP,aAAa;IACb,SAAS,EACP,OAAO,gBACT;GACF;EACF;CACF;CAGA,WAAW;EACT,OAAO;EACP,YAAY;EACZ,UAAU;EACV,SACE;EACF,SAAS;GACP,aAAa;GACb,WAAW;EACb;EACA,SAAS,EACP,WAAW,yCACb;EACA,MAAM;GACJ,OAAO;GACP,QAAQ;IACN,MAAM;IACN,iBAAiB;IACjB,QAAQ;IACR,aAAa;IACb,wBAAwB;IACxB,aAAa;IACb,iBAAiB;GACnB;GACA,SAAS;IACP,QAAQ;IACR,QAAQ;GACV;GACA,QAAQ;IACN,cAAc;IACd,gBAAgB;IAChB,cAAc;GAChB;EACF;EACA,QAAQ,EACN,aAAa,sBACf;EACA,MAAM;GACJ,SAAS;GACT,cAAc;GACd,iBAAiB;EACnB;EACA,OAAO;GACL,OAAO;GACP,aACE;GACF,SAAS,EACP,aAAa,eACf;GACA,UAAU;IACR,OAAO;IACP,aACE;IACF,SAAS,EACP,OAAO,eACT;GACF;EACF;EACA,QAAQ;GACN,OAAO;GACP,aACE;GACF,QAAQ;GACR,eAAe;EACjB;CACF;CAGA,QAAQ;EACN,SAAS;EACT,UAAU;GACR,OAAO;GACP,SAAS;GACT,aACE;EACJ;EACA,SAAS;GACP,MAAM;GACN,iBAAiB;GACjB,UAAU;GACV,OAAO;GACP,QAAQ;GACR,QAAQ;EACV;EACA,WAAW;GACT,OAAO;GACP,UAAU;IACR,OAAO;IACP,aACE;GACJ;GACA,OAAO;IACL,OAAO;IACP,aACE;GACJ;GACA,SAAS;IACP,OAAO;IACP,aAAa;GACf;EACF;EACA,OAAO,EACL,OAAO,gBACT;EACA,MAAM;GACJ,QAAQ;GACR,SAAS;GACT,WAAW;GACX,SAAS;EACX;EACA,UAAU,EACR,mBAAmB,+CACrB;EACA,OAAO;GACL,OAAO;GACP,aAAa;GACb,UAAU;GACV,SAAS;GACT,SAAS;EACX;EACA,UAAU;GACR,OAAO;GACP,SACE;EACJ;EACA,SAAS;GACP,MAAM;GACN,QAAQ;IACN,OAAO;IACP,aACE;GACJ;GACA,QAAQ;IACN,OAAO;IACP,aACE;GACJ;EACF;CACF;CAGA,gBAAgB;EACd,SAAS;EACT,UAAU;GACR,OAAO;GACP,SAAS;GACT,aAAa;EACf;EACA,SAAS;GACP,iBAAiB;GACjB,KAAK;GACL,QAAQ;EACV;EACA,OAAO;GACL,SAAS;GACT,QAAQ;EACV;EACA,MAAM;GACJ,QAAQ;GACR,SAAS;GACT,aAAa;GACb,kBAAkB;GAClB,aAAa;EACf;EACA,WAAW;GACT,OAAO;GACP,KAAK;IACH,OAAO;IACP,aACE;GACJ;GACA,QAAQ;IACN,OAAO;IACP,aAAa;GACf;EACF;EACA,aAAa;GACX,OAAO;GACP,aAAa;EACf;EACA,QAAQ;GACN,OAAO;GACP,aACE;GACF,MAAM;GACN,eAAe;EACjB;CACF;CAGA,QAAQ,EACN,QAAQ;EACN,SAAS;EACT,QAAQ;EACR,SAAS;EACT,WAAW;EACX,QAAQ;EACR,WAAW;EACX,SAAS;EACT,SAAS;CACX,EACF;CAGA,UAAU,EACR,OAAO,WACT;CAGA,QAAQ;EACN,KAAK;EACL,MAAM;CACR;CACA,SAAS,EACP,KAAK,MACP;CAGA,IAAI;EACF,OAAO;GACL,MAAM;GACN,QAAQ;EACV;EACA,KAAK;GACH,MAAM;GACN,OAAO;GACP,SAAS;GACT,KAAK;GACL,WAAW;EACb;EACA,QAAQ;GACN,SAAS;GACT,aACE;GACF,MAAM;GACN,QAAQ;GACR,MAAM;GACN,OAAO;EACT;EACA,QAAQ;GACN,UAAU;GACV,QAAQ;GACR,OAAO;GACP,UAAU;EACZ;EACA,QAAQ;GACN,SAAS;GACT,aAAa;GACb,MAAM;GACN,QAAQ;GACR,OAAO;EACT;EACA,aAAa;GACX,SAAS;GACT,aAAa;GACb,MAAM;GACN,QAAQ;GACR,OAAO;EACT;EACA,UAAU;GACR,SAAS;GACT,aAAa;EACf;EACA,MAAM;GACJ,KAAK;GACL,UAAU;GACV,UAAU;GACV,OAAO;GACP,UAAU;GACV,UAAU;GACV,kBACE;GACF,YAAY;GACZ,QAAQ;GACR,cAAc;GACd,MAAM;GACN,OAAO;GACP,MAAM;GACN,MAAM;GACN,QAAQ;GACR,UAAU;GACV,SAAS;GACT,QAAQ;EACV;EACA,MAAM;GACJ,SAAS;GACT,KAAK;EACP;EACA,WAAW;EACX,KAAK;GACH,cACE;GACF,aACE;GACF,QAAQ;GACR,kBAAkB;GAClB,UAAU;GACV,WAAW;GACX,eAAe;GACf,YAAY;GACZ,gBACE;GACF,aAAa;GACb,OAAO;GACP,aAAa;GACb,WAAW;GACX,MAAM;GACN,UAAU;GACV,YAAY;GACZ,QAAQ;GACR,UAAU;GACV,UAAU;GACV,WAAW;GACX,YACE;GACF,WAAW;GACX,OACE;GACF,MAAM;GACN,UAAU;GACV,UAAU;GACV,WAAW;GACX,eAAe;GACf,mBAAmB;GACnB,uBACE;GACF,gBAAgB;GAChB,oBAAoB;GACpB,UAAU;GACV,aAAa;GACb,aACE;GACF,cACE;GACF,WAAW;GACX,YAAY;GACZ,OAAO;GACP,UAAU;GACV,SAAS;GACT,iBAAiB;GACjB,aAAa;GACb,gBAAgB;GAChB,WAAW;GACX,SAAS;GACT,SAAS;GACT,OAAO;GACP,MAAM;GACN,OAAO;GACP,YAAY;GACZ,iBACE;EACJ;EACA,aAAa;EACb,SACE;EACF,KAAK;GACH,OAAO;GACP,QAAQ;GACR,YAAY;GACZ,cACE;GACF,QAAQ;GACR,cACE;GACF,SAAS;GACT,UAAU;GACV,cAAc;GACd,MAAM;GACN,MAAM;GACN,OAAO;GACP,WAAW;EACb;EACA,KAAK;GACH,aAAa;GACb,MAAM;GACN,QAAQ;GACR,aAAa;GACb,KAAK;EACP;EACA,WAAW;GACT,MAAM;GACN,QAAQ;GACR,KAAK;EACP;EACA,QAAQ;GACN,SAAS;GACT,UAAU;GACV,OAAO;GACP,UAAU;GACV,QAAQ;GACR,MAAM;GACN,kBACE;GACF,YAAY;GACZ,QAAQ;GACR,aACE;GACF,OAAO;GACP,OAAO;GACP,aACE;GACF,SAAS;GACT,aAAa;GACb,KAAK;GACL,SAAS;GACT,OAAO;EACT;EACA,SAAS;EACT,oBACE;EACF,OAAO;GACL,WAAW;GACX,SAAS;GACT,SAAS;GACT,QAAQ;GACR,WAAW;GACX,UAAU;GACV,OAAO;EACT;EACA,MAAM;GACJ,WAAW;GACX,OAAO;GACP,QAAQ;EACV;EACA,OAAO;CACT;AACF,EACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-export",
3
- "version": "2026.1125.2",
3
+ "version": "2026.1127.2",
4
4
  "description": "Burdenoff Export Microfrontend - Data export management interface",
5
5
  "type": "module",
6
6
  "files": [
@@ -8,6 +8,9 @@
8
8
  "package.json",
9
9
  "README.md"
10
10
  ],
11
+ "sideEffects": [
12
+ "**/*.css"
13
+ ],
11
14
  "imports": {
12
15
  "#src/*": "./src/*",
13
16
  "#export/*": "./src/export/*"
@@ -46,7 +49,7 @@
46
49
  },
47
50
  "dependencies": {
48
51
  "@apollo/client": "^4.3.7",
49
- "@burdenoff/fe-libs": "2026.1124.16",
52
+ "@burdenoff/fe-libs": "2026.1127.15",
50
53
  "@tanstack/react-query": "^5.106.1",
51
54
  "clsx": "^2.1.1",
52
55
  "graphql": "^16.15.0",
@@ -1,5 +0,0 @@
1
- import { ExportRoot as e } from "./ExportRoot.js";
2
- import { useExport as t } from "./providers/ExportProvider.js";
3
- import { useExportStore as n } from "./store/exportStore.js";
4
- import { enTranslations as r } from "../translations/en.js";
5
- export { e as ExportRoot, r as enTranslations, t as useExport, n as useExportStore };
@@ -1,23 +0,0 @@
1
- import { brand as e, isBranded as t } from "./utils.js";
2
- // node_modules/@apollo/client/errors/CombinedGraphQLErrors.js
3
- function n(e) {
4
- return e.filter((e) => e).map((e) => e.message || "Error message not found.").join("\n");
5
- }
6
- var r = class r extends Error {
7
- static is(e) {
8
- return t(e, "CombinedGraphQLErrors");
9
- }
10
- static formatMessage = n;
11
- errors;
12
- data;
13
- extensions;
14
- constructor(t, i = t.errors || []) {
15
- super(r.formatMessage(i, {
16
- result: t,
17
- defaultFormatMessage: n
18
- })), this.errors = i, this.data = t.data, this.extensions = t.extensions, this.name = "CombinedGraphQLErrors", e(this), Object.setPrototypeOf(this, r.prototype);
19
- }
20
- };
21
- export { r as CombinedGraphQLErrors };
22
-
23
- //# sourceMappingURL=CombinedGraphQLErrors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CombinedGraphQLErrors.js","names":["defaultFormatMessage","errors","CombinedGraphQLErrors","isBranded","error","result","brand"],"sources":["../../../../../node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"],"sourcesContent":["import { brand, isBranded } from \"./utils.js\";\nfunction defaultFormatMessage(errors) {\n return (errors\n // Handle non-spec-compliant servers: See #1185\n .filter((e) => e)\n .map((e) => e.message || \"Error message not found.\")\n .join(\"\\n\"));\n}\n/**\n * Represents the combined list of GraphQL errors returned from the server in a\n * GraphQL response. This error type is used when your GraphQL operation returns\n * errors in the `errors` field of the response.\n *\n * @remarks\n *\n * When your GraphQL operation encounters errors on the server side (such as\n * resolver errors, validation errors, or syntax errors), the server returns\n * these errors in the `errors` array of the GraphQL response. Apollo Client\n * wraps these errors in a `CombinedGraphQLErrors` object, which provides access\n * to the individual errors while maintaining additional context about the\n * response.\n *\n * @example\n *\n * ```ts\n * import { CombinedGraphQLErrors } from \"@apollo/client/errors\";\n *\n * // Check if an error is a CombinedGraphQLErrors object\n * if (CombinedGraphQLErrors.is(error)) {\n * // Access individual GraphQL errors\n * error.errors.forEach((graphQLError) => {\n * console.log(graphQLError.message);\n * console.log(graphQLError.path);\n * console.log(graphQLError.locations);\n * });\n *\n * // Access the original GraphQL result\n * console.log(error.result);\n * }\n * ```\n */\nexport class CombinedGraphQLErrors extends Error {\n /**\n * A method that determines whether an error is a `CombinedGraphQLErrors`\n * object. This method enables TypeScript to narrow the error type.\n * \n * @example\n * \n * ```ts\n * if (CombinedGraphQLErrors.is(error)) {\n * // TypeScript now knows `error` is a `CombinedGraphQLErrors` object\n * console.log(error.errors);\n * }\n * ```\n */\n static is(error) {\n return isBranded(error, \"CombinedGraphQLErrors\");\n }\n /**\n * A function that formats the error message used for the error's `message`\n * property. Override this method to provide your own formatting.\n * \n * @remarks\n * \n * The `formatMessage` function is called by the `CombinedGraphQLErrors`\n * constructor to provide a formatted message as the `message` property of the\n * `CombinedGraphQLErrors` object. Follow the [\"Providing a custom message\n * formatter\"](https://www.apollographql.com/docs/react/api/errors/CombinedGraphQLErrors#providing-a-custom-message-formatter) guide to learn how to modify the message format.\n * \n * @param errors - The array of GraphQL errors returned from the server in\n * the `errors` field of the response.\n * @param options - Additional context that could be useful when formatting\n * the message.\n */\n static formatMessage = defaultFormatMessage;\n /**\n * The raw list of GraphQL errors returned by the `errors` field in the GraphQL response.\n */\n errors;\n /**\n * Partial data returned in the `data` field of the GraphQL response.\n */\n data;\n /**\n * Extensions returned by the `extensions` field in the GraphQL response.\n */\n extensions;\n constructor(result, errors = result.errors || []) {\n super(CombinedGraphQLErrors.formatMessage(errors, {\n result,\n defaultFormatMessage,\n }));\n this.errors = errors;\n this.data = result.data;\n this.extensions = result.extensions;\n this.name = \"CombinedGraphQLErrors\";\n brand(this);\n Object.setPrototypeOf(this, CombinedGraphQLErrors.prototype);\n }\n}\n//# sourceMappingURL=CombinedGraphQLErrors.js.map\n"],"ignoreList":[0],"mappings":";;AACA,SAASA,EAAqB,GAAQ;CAClC,OAAQC,EAEH,QAAQ,MAAM,CAAC,CAAC,CAChB,KAAK,MAAM,EAAE,WAAW,0BAA0B,CAAC,CACnD,KAAK,IAAI;AAClB;AAkCA,IAAaC,IAAb,MAAaA,UAA8B,MAAM;CAc7C,OAAO,GAAG,GAAO;EACb,OAAOC,EAAUC,GAAO,uBAAuB;CACnD;CAiBA,OAAO,gBAAgBJ;CAIvB;CAIA;CAIA;CACA,YAAY,GAAQ,IAASK,EAAO,UAAU,CAAC,GAAG;EAU9C,AATA,MAAMH,EAAsB,cAAcD,GAAQ;GAC9C;GACA;EACJ,CAAC,CAAC,GACF,KAAK,SAASA,GACd,KAAK,OAAOI,EAAO,MACnB,KAAK,aAAaA,EAAO,YACzB,KAAK,OAAO,yBACZC,EAAM,IAAI,GACV,OAAO,eAAe,MAAMJ,EAAsB,SAAS;CAC/D;AACJ"}