@burdenoff/microfe-integrations 2026.1107.2 → 2026.1109.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 (247) hide show
  1. package/dist/dev/main.d.ts +0 -2
  2. package/dist/generated/global-operations.d.ts +4 -2
  3. package/dist/generated/global-types.d.ts +2 -22
  4. package/dist/generated/wspace-operations.d.ts +995 -705
  5. package/dist/generated/wspace-operations.js +180 -167
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +4 -24
  8. package/dist/generated/wspace-types.js +1 -2
  9. package/dist/generated/wspace-types.js.map +1 -1
  10. package/dist/index.d.ts +0 -1
  11. package/dist/integrations/ConnectSourceDialog.d.ts +0 -2
  12. package/dist/integrations/ConnectSourceDialog.js +13 -14
  13. package/dist/integrations/ConnectSourceDialog.js.map +1 -1
  14. package/dist/integrations/ConnectionsPanel.d.ts +0 -2
  15. package/dist/integrations/ConnectionsPanel.js +5 -6
  16. package/dist/integrations/ConnectionsPanel.js.map +1 -1
  17. package/dist/integrations/IntegrationsAdminRoot.d.ts +0 -2
  18. package/dist/integrations/IntegrationsAdminRoot.js +14 -11
  19. package/dist/integrations/IntegrationsAdminRoot.js.map +1 -1
  20. package/dist/integrations/IntegrationsAdminRoutes.d.ts +1 -2
  21. package/dist/integrations/IntegrationsAdminRoutes.js +1 -2
  22. package/dist/integrations/IntegrationsAdminRoutes.js.map +1 -1
  23. package/dist/integrations/IntegrationsRoot.d.ts +0 -2
  24. package/dist/integrations/IntegrationsRoot.js +9 -6
  25. package/dist/integrations/IntegrationsRoot.js.map +1 -1
  26. package/dist/integrations/IntegrationsUserRoutes.d.ts +1 -2
  27. package/dist/integrations/IntegrationsUserRoutes.js +7 -8
  28. package/dist/integrations/IntegrationsUserRoutes.js.map +1 -1
  29. package/dist/integrations/components/AddConnectionDialog.d.ts +1 -3
  30. package/dist/integrations/components/AddConnectionDialog.js +12 -15
  31. package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
  32. package/dist/integrations/components/AuthMethodsEditor.d.ts +0 -2
  33. package/dist/integrations/components/AuthMethodsEditor.js +1 -2
  34. package/dist/integrations/components/AuthMethodsEditor.js.map +1 -1
  35. package/dist/integrations/components/ConfirmDialog.d.ts +1 -3
  36. package/dist/integrations/components/ConfirmDialog.js +1 -2
  37. package/dist/integrations/components/ConfirmDialog.js.map +1 -1
  38. package/dist/integrations/components/ConnectionCard.d.ts +0 -2
  39. package/dist/integrations/components/ConnectionCard.js +9 -10
  40. package/dist/integrations/components/ConnectionCard.js.map +1 -1
  41. package/dist/integrations/components/ConnectionModalFrame.d.ts +0 -2
  42. package/dist/integrations/components/ConnectionModalFrame.js +2 -3
  43. package/dist/integrations/components/ConnectionModalFrame.js.map +1 -1
  44. package/dist/integrations/components/ConnectionSharing.d.ts +0 -2
  45. package/dist/integrations/components/ConnectionSharing.js +7 -8
  46. package/dist/integrations/components/ConnectionSharing.js.map +1 -1
  47. package/dist/integrations/components/ConnectionStatusBadge.d.ts +0 -2
  48. package/dist/integrations/components/ConnectionStatusBadge.js +1 -2
  49. package/dist/integrations/components/ConnectionStatusBadge.js.map +1 -1
  50. package/dist/integrations/components/ConnectorSubmissionCard.d.ts +2 -4
  51. package/dist/integrations/components/ConnectorSubmissionCard.js +8 -9
  52. package/dist/integrations/components/ConnectorSubmissionCard.js.map +1 -1
  53. package/dist/integrations/components/ConnectorSubmissionPager.d.ts +1 -2
  54. package/dist/integrations/components/ConnectorSubmissionPager.js +1 -2
  55. package/dist/integrations/components/ConnectorSubmissionPager.js.map +1 -1
  56. package/dist/integrations/components/MailMessageBody.d.ts +1 -3
  57. package/dist/integrations/components/MailMessageBody.js +4 -5
  58. package/dist/integrations/components/MailMessageBody.js.map +1 -1
  59. package/dist/integrations/components/ProviderCard.d.ts +0 -2
  60. package/dist/integrations/components/ProviderCard.js +8 -9
  61. package/dist/integrations/components/ProviderCard.js.map +1 -1
  62. package/dist/integrations/constants/featureFlags.d.ts +0 -1
  63. package/dist/integrations/constants/featureFlags.js +1 -2
  64. package/dist/integrations/constants/featureFlags.js.map +1 -1
  65. package/dist/integrations/constants/permissions.d.ts +0 -1
  66. package/dist/integrations/constants/permissions.js +1 -2
  67. package/dist/integrations/constants/permissions.js.map +1 -1
  68. package/dist/integrations/events/integrations-events.d.ts +0 -1
  69. package/dist/integrations/events/useIntegrationsEventBus.d.ts +0 -2
  70. package/dist/integrations/events/useIntegrationsEventBus.js +1 -2
  71. package/dist/integrations/events/useIntegrationsEventBus.js.map +1 -1
  72. package/dist/integrations/hooks/useConnections.d.ts +3 -14
  73. package/dist/integrations/hooks/useConnections.js +74 -75
  74. package/dist/integrations/hooks/useConnections.js.map +1 -1
  75. package/dist/integrations/hooks/useConnectorSubmissions.d.ts +2 -10
  76. package/dist/integrations/hooks/useConnectorSubmissions.js +23 -24
  77. package/dist/integrations/hooks/useConnectorSubmissions.js.map +1 -1
  78. package/dist/integrations/hooks/useFormatDate.d.ts +0 -1
  79. package/dist/integrations/hooks/useFormatDate.js +1 -2
  80. package/dist/integrations/hooks/useFormatDate.js.map +1 -1
  81. package/dist/integrations/hooks/useFormatLastUsed.d.ts +0 -1
  82. package/dist/integrations/hooks/useFormatLastUsed.js +1 -2
  83. package/dist/integrations/hooks/useFormatLastUsed.js.map +1 -1
  84. package/dist/integrations/hooks/useLabel.d.ts +0 -2
  85. package/dist/integrations/hooks/useLabel.js +1 -2
  86. package/dist/integrations/hooks/useLabel.js.map +1 -1
  87. package/dist/integrations/hooks/useLogs.d.ts +1 -6
  88. package/dist/integrations/hooks/useLogs.js +6 -7
  89. package/dist/integrations/hooks/useLogs.js.map +1 -1
  90. package/dist/integrations/hooks/useMailbox.d.ts +19 -43
  91. package/dist/integrations/hooks/useMailbox.js +46 -47
  92. package/dist/integrations/hooks/useMailbox.js.map +1 -1
  93. package/dist/integrations/hooks/useProviders.d.ts +3 -14
  94. package/dist/integrations/hooks/useProviders.js +42 -43
  95. package/dist/integrations/hooks/useProviders.js.map +1 -1
  96. package/dist/integrations/hooks/useTr.d.ts +0 -1
  97. package/dist/integrations/hooks/useTr.js +1 -2
  98. package/dist/integrations/hooks/useTr.js.map +1 -1
  99. package/dist/integrations/index.d.ts +0 -1
  100. package/dist/integrations/index.js +9 -8
  101. package/dist/integrations/pages/AddConnectionWizard.d.ts +1 -2
  102. package/dist/integrations/pages/AddConnectionWizard.js +291 -306
  103. package/dist/integrations/pages/AddConnectionWizard.js.map +1 -1
  104. package/dist/integrations/pages/ConnectionDetail.d.ts +1 -2
  105. package/dist/integrations/pages/ConnectionDetail.js +241 -246
  106. package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
  107. package/dist/integrations/pages/ConnectionLogs.d.ts +1 -2
  108. package/dist/integrations/pages/ConnectionLogs.js +154 -155
  109. package/dist/integrations/pages/ConnectionLogs.js.map +1 -1
  110. package/dist/integrations/pages/ConnectionsList.d.ts +1 -2
  111. package/dist/integrations/pages/ConnectionsList.js +40 -41
  112. package/dist/integrations/pages/ConnectionsList.js.map +1 -1
  113. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts +1 -2
  114. package/dist/integrations/pages/ConnectorReviewQueuePage.js +9 -10
  115. package/dist/integrations/pages/ConnectorReviewQueuePage.js.map +1 -1
  116. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts +1 -2
  117. package/dist/integrations/pages/ConnectorSubmissionsPage.js +138 -139
  118. package/dist/integrations/pages/ConnectorSubmissionsPage.js.map +1 -1
  119. package/dist/integrations/pages/IntegrationsOverview.d.ts +1 -2
  120. package/dist/integrations/pages/IntegrationsOverview.js +35 -36
  121. package/dist/integrations/pages/IntegrationsOverview.js.map +1 -1
  122. package/dist/integrations/pages/IntegrationsSettings.d.ts +1 -2
  123. package/dist/integrations/pages/IntegrationsSettings.js +7 -8
  124. package/dist/integrations/pages/IntegrationsSettings.js.map +1 -1
  125. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts +1 -2
  126. package/dist/integrations/pages/IntegrationsUserLandingPage.js +1 -2
  127. package/dist/integrations/pages/IntegrationsUserLandingPage.js.map +1 -1
  128. package/dist/integrations/pages/MailboxInbox.d.ts +1 -2
  129. package/dist/integrations/pages/MailboxInbox.js +135 -140
  130. package/dist/integrations/pages/MailboxInbox.js.map +1 -1
  131. package/dist/integrations/pages/ProviderCatalog.d.ts +1 -2
  132. package/dist/integrations/pages/ProviderCatalog.js +107 -108
  133. package/dist/integrations/pages/ProviderCatalog.js.map +1 -1
  134. package/dist/integrations/pages/ProviderDetail.d.ts +1 -2
  135. package/dist/integrations/pages/ProviderDetail.js +21 -22
  136. package/dist/integrations/pages/ProviderDetail.js.map +1 -1
  137. package/dist/integrations/pages/ProviderEditorPage.d.ts +1 -2
  138. package/dist/integrations/pages/ProviderEditorPage.js +261 -264
  139. package/dist/integrations/pages/ProviderEditorPage.js.map +1 -1
  140. package/dist/integrations/providers/IntegrationsProvider.d.ts +0 -2
  141. package/dist/integrations/providers/IntegrationsProvider.js +109 -96
  142. package/dist/integrations/providers/IntegrationsProvider.js.map +1 -1
  143. package/dist/integrations/store/integrationsStore.d.ts +0 -2
  144. package/dist/integrations/store/integrationsStore.js +1 -2
  145. package/dist/integrations/store/integrationsStore.js.map +1 -1
  146. package/dist/integrations/store/mailboxStore.d.ts +0 -2
  147. package/dist/integrations/store/mailboxStore.js +1 -2
  148. package/dist/integrations/store/mailboxStore.js.map +1 -1
  149. package/dist/integrations/translations/en.d.ts +0 -1
  150. package/dist/integrations/types/index.d.ts +0 -1
  151. package/dist/integrations/utils/appearance.d.ts +0 -1
  152. package/dist/integrations/utils/appearance.js +1 -2
  153. package/dist/integrations/utils/appearance.js.map +1 -1
  154. package/dist/integrations/utils/cn.d.ts +0 -2
  155. package/dist/integrations/utils/cn.js +2 -3
  156. package/dist/integrations/utils/cn.js.map +1 -1
  157. package/dist/integrations/utils/constants.d.ts +0 -1
  158. package/dist/integrations/utils/constants.js +1 -2
  159. package/dist/integrations/utils/constants.js.map +1 -1
  160. package/dist/integrations/utils/integrationsHelpers.d.ts +0 -2
  161. package/dist/integrations/utils/integrationsHelpers.js +1 -2
  162. package/dist/integrations/utils/integrationsHelpers.js.map +1 -1
  163. package/dist/integrations/utils/mailHtml.d.ts +0 -2
  164. package/dist/integrations/utils/mailHtml.js +3 -4
  165. package/dist/integrations/utils/mailHtml.js.map +1 -1
  166. package/dist/integrations/utils/mappers.d.ts +0 -2
  167. package/dist/integrations/utils/mappers.js +2 -3
  168. package/dist/integrations/utils/mappers.js.map +1 -1
  169. package/dist/integrations/utils/navigation.d.ts +0 -1
  170. package/dist/integrations/utils/navigation.js +2 -8
  171. package/dist/integrations/utils/navigation.js.map +1 -1
  172. package/dist/integrations/utils/paths.d.ts +0 -1
  173. package/dist/integrations/utils/paths.js +1 -2
  174. package/dist/integrations/utils/paths.js.map +1 -1
  175. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  176. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  177. package/dist/node_modules/dompurify/dist/purify.es.js +20 -36
  178. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
  179. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +229 -167
  180. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  181. package/dist/utils/nativeBridge.d.ts +0 -1
  182. package/dist/utils/nativeBridge.js +1 -2
  183. package/package.json +63 -49
  184. package/dist/dev/main.d.ts.map +0 -1
  185. package/dist/generated/global-operations.d.ts.map +0 -1
  186. package/dist/generated/global-types.d.ts.map +0 -1
  187. package/dist/generated/wspace-operations.d.ts.map +0 -1
  188. package/dist/generated/wspace-types.d.ts.map +0 -1
  189. package/dist/index.d.ts.map +0 -1
  190. package/dist/integrations/ConnectSourceDialog.d.ts.map +0 -1
  191. package/dist/integrations/ConnectionsPanel.d.ts.map +0 -1
  192. package/dist/integrations/IntegrationsAdminRoot.d.ts.map +0 -1
  193. package/dist/integrations/IntegrationsAdminRoutes.d.ts.map +0 -1
  194. package/dist/integrations/IntegrationsRoot.d.ts.map +0 -1
  195. package/dist/integrations/IntegrationsUserRoutes.d.ts.map +0 -1
  196. package/dist/integrations/components/AddConnectionDialog.d.ts.map +0 -1
  197. package/dist/integrations/components/AuthMethodsEditor.d.ts.map +0 -1
  198. package/dist/integrations/components/ConfirmDialog.d.ts.map +0 -1
  199. package/dist/integrations/components/ConnectionCard.d.ts.map +0 -1
  200. package/dist/integrations/components/ConnectionModalFrame.d.ts.map +0 -1
  201. package/dist/integrations/components/ConnectionSharing.d.ts.map +0 -1
  202. package/dist/integrations/components/ConnectionStatusBadge.d.ts.map +0 -1
  203. package/dist/integrations/components/ConnectorSubmissionCard.d.ts.map +0 -1
  204. package/dist/integrations/components/ConnectorSubmissionPager.d.ts.map +0 -1
  205. package/dist/integrations/components/MailMessageBody.d.ts.map +0 -1
  206. package/dist/integrations/components/ProviderCard.d.ts.map +0 -1
  207. package/dist/integrations/constants/featureFlags.d.ts.map +0 -1
  208. package/dist/integrations/constants/permissions.d.ts.map +0 -1
  209. package/dist/integrations/events/integrations-events.d.ts.map +0 -1
  210. package/dist/integrations/events/useIntegrationsEventBus.d.ts.map +0 -1
  211. package/dist/integrations/hooks/useConnections.d.ts.map +0 -1
  212. package/dist/integrations/hooks/useConnectorSubmissions.d.ts.map +0 -1
  213. package/dist/integrations/hooks/useFormatDate.d.ts.map +0 -1
  214. package/dist/integrations/hooks/useFormatLastUsed.d.ts.map +0 -1
  215. package/dist/integrations/hooks/useLabel.d.ts.map +0 -1
  216. package/dist/integrations/hooks/useLogs.d.ts.map +0 -1
  217. package/dist/integrations/hooks/useMailbox.d.ts.map +0 -1
  218. package/dist/integrations/hooks/useProviders.d.ts.map +0 -1
  219. package/dist/integrations/hooks/useTr.d.ts.map +0 -1
  220. package/dist/integrations/index.d.ts.map +0 -1
  221. package/dist/integrations/pages/AddConnectionWizard.d.ts.map +0 -1
  222. package/dist/integrations/pages/ConnectionDetail.d.ts.map +0 -1
  223. package/dist/integrations/pages/ConnectionLogs.d.ts.map +0 -1
  224. package/dist/integrations/pages/ConnectionsList.d.ts.map +0 -1
  225. package/dist/integrations/pages/ConnectorReviewQueuePage.d.ts.map +0 -1
  226. package/dist/integrations/pages/ConnectorSubmissionsPage.d.ts.map +0 -1
  227. package/dist/integrations/pages/IntegrationsOverview.d.ts.map +0 -1
  228. package/dist/integrations/pages/IntegrationsSettings.d.ts.map +0 -1
  229. package/dist/integrations/pages/IntegrationsUserLandingPage.d.ts.map +0 -1
  230. package/dist/integrations/pages/MailboxInbox.d.ts.map +0 -1
  231. package/dist/integrations/pages/ProviderCatalog.d.ts.map +0 -1
  232. package/dist/integrations/pages/ProviderDetail.d.ts.map +0 -1
  233. package/dist/integrations/pages/ProviderEditorPage.d.ts.map +0 -1
  234. package/dist/integrations/providers/IntegrationsProvider.d.ts.map +0 -1
  235. package/dist/integrations/store/integrationsStore.d.ts.map +0 -1
  236. package/dist/integrations/store/mailboxStore.d.ts.map +0 -1
  237. package/dist/integrations/translations/en.d.ts.map +0 -1
  238. package/dist/integrations/types/index.d.ts.map +0 -1
  239. package/dist/integrations/utils/appearance.d.ts.map +0 -1
  240. package/dist/integrations/utils/cn.d.ts.map +0 -1
  241. package/dist/integrations/utils/constants.d.ts.map +0 -1
  242. package/dist/integrations/utils/integrationsHelpers.d.ts.map +0 -1
  243. package/dist/integrations/utils/mailHtml.d.ts.map +0 -1
  244. package/dist/integrations/utils/mappers.d.ts.map +0 -1
  245. package/dist/integrations/utils/navigation.d.ts.map +0 -1
  246. package/dist/integrations/utils/paths.d.ts.map +0 -1
  247. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -1,43 +1,43 @@
1
- import { useIntegrations as e } from "../providers/IntegrationsProvider.js";
1
+ import { cn as e } from "../utils/cn.js";
2
2
  import { useTr as t } from "../hooks/useTr.js";
3
- import { INTEGRATION_PERMISSIONS as n } from "../constants/permissions.js";
4
- import { cn as r } from "../utils/cn.js";
5
- import { LOG_ACTION_OPTIONS as i, LOG_LEVEL_OPTIONS as a } from "../utils/constants.js";
6
- import { INTEGRATION_FEATURE_FLAGS as ee } from "../constants/featureFlags.js";
7
- import { useFormatDate as te } from "../hooks/useFormatDate.js";
8
- import { useIntegrationLogs as ne } from "../hooks/useLogs.js";
9
- import { useId as o, useMemo as s, useState as c } from "react";
10
- import { Activity as l, AlertCircle as u, AlertTriangle as d, ArrowLeft as f, Bug as p, ChevronLeft as re, ChevronRight as ie, Download as ae, FileText as m, Filter as h, Info as g, Loader2 as _, RefreshCw as v, Search as oe, X as y } from "lucide-react";
11
- import { usePermissions as se } from "@burdenoff/fe-libs/shared/providers/shell";
12
- import { Fragment as ce, jsx as b, jsxs as x } from "react/jsx-runtime";
13
- import { useFeatureFlag as le } from "@burdenoff/fe-libs/shared/feature-flags";
14
- import { Button as S, EmphasisPanel as C, IllustratedEmptyState as w, PagePurpose as T } from "@burdenoff/fe-libs/ui";
15
- //#region src/integrations/pages/ConnectionLogs.tsx
16
- function E(e) {
3
+ import { useIntegrations as n } from "../providers/IntegrationsProvider.js";
4
+ import { INTEGRATION_PERMISSIONS as r } from "../constants/permissions.js";
5
+ import { INTEGRATION_FEATURE_FLAGS as i } from "../constants/featureFlags.js";
6
+ import { useFormatDate as a } from "../hooks/useFormatDate.js";
7
+ import { useIntegrationLogs as ee } from "../hooks/useLogs.js";
8
+ import { LOG_ACTION_OPTIONS as te, LOG_LEVEL_OPTIONS as o } from "../utils/constants.js";
9
+ import { useId as s, useMemo as c, useState as l } from "react";
10
+ import { Activity as u, AlertCircle as d, AlertTriangle as f, ArrowLeft as p, Bug as m, ChevronLeft as ne, ChevronRight as re, Download as ie, FileText as h, Filter as g, Info as _, Loader2 as v, RefreshCw as y, Search as ae, X as b } from "lucide-react";
11
+ import { usePermissions as oe } from "@burdenoff/fe-libs/shared/providers/shell";
12
+ import { Fragment as se, jsx as x, jsxs as S } from "react/jsx-runtime";
13
+ import { useFeatureFlag as C } from "@burdenoff/fe-libs/shared/feature-flags";
14
+ import { Button as w, EmphasisPanel as T, IllustratedEmptyState as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
15
+ // src/integrations/pages/ConnectionLogs.tsx
16
+ function O(e) {
17
17
  switch (e) {
18
- case "error": return /* @__PURE__ */ b(u, {
18
+ case "error": return /* @__PURE__ */ x(d, {
19
19
  size: 14,
20
20
  className: "text-status-error-text"
21
21
  });
22
- case "warn": return /* @__PURE__ */ b(d, {
22
+ case "warn": return /* @__PURE__ */ x(f, {
23
23
  size: 14,
24
24
  className: "text-status-warning-text"
25
25
  });
26
- case "info": return /* @__PURE__ */ b(g, {
26
+ case "info": return /* @__PURE__ */ x(_, {
27
27
  size: 14,
28
28
  className: "text-status-info-text"
29
29
  });
30
- case "debug": return /* @__PURE__ */ b(p, {
30
+ case "debug": return /* @__PURE__ */ x(m, {
31
31
  size: 14,
32
32
  className: "text-text-tertiary"
33
33
  });
34
- default: return /* @__PURE__ */ b(l, {
34
+ default: return /* @__PURE__ */ x(u, {
35
35
  size: 14,
36
36
  className: "text-text-tertiary"
37
37
  });
38
38
  }
39
39
  }
40
- function D(e) {
40
+ function ce(e) {
41
41
  switch (e) {
42
42
  case "error": return "text-status-error-text bg-status-error-bg-subtle border-border-default";
43
43
  case "warn": return "text-status-warning-text bg-status-warning-bg-subtle border-border-default";
@@ -46,10 +46,10 @@ function D(e) {
46
46
  default: return "text-text-secondary bg-bg-sunken border-border-subtle";
47
47
  }
48
48
  }
49
- function O(e) {
49
+ function k(e) {
50
50
  return `"${String(e ?? "").replaceAll("\"", "\"\"")}"`;
51
51
  }
52
- function k(e, t) {
52
+ function le(e, t) {
53
53
  let n = [[
54
54
  t("integrations.logs.csv.createdAt", "Created At"),
55
55
  t("integrations.logs.csv.level", "Level"),
@@ -66,366 +66,365 @@ function k(e, t) {
66
66
  e.requestMethod,
67
67
  e.requestUrl,
68
68
  e.responseStatus
69
- ])].map((e) => e.map(O).join(",")).join("\n"), r = new Blob([n], { type: "text/csv;charset=utf-8" }), i = URL.createObjectURL(r), a = document.createElement("a");
69
+ ])].map((e) => e.map(k).join(",")).join("\n"), r = new Blob([n], { type: "text/csv;charset=utf-8" }), i = URL.createObjectURL(r), a = document.createElement("a");
70
70
  a.href = i, a.download = t("integrations.logs.csv.filename", "integration-logs-{{date}}.csv", { date: (/* @__PURE__ */ new Date()).toISOString().slice(0, 10) }), a.click(), URL.revokeObjectURL(i);
71
71
  }
72
72
  function A() {
73
- let { basePath: d = "/", navigate: p } = e(), g = t(), O = te(), { hasPermission: A, isLoading: j } = se(), M = A(n.LOG_READ), ue = le(ee.CSV_EXPORT, !0), N = o(), P = `${N}-level`, F = `${N}-action`, [I, L] = c(""), [R, z] = c("all"), [B, V] = c("all"), [H, de] = c(!1), [U, W] = c(1), { logs: G, total: K, loading: q, error: J, refetch: Y } = ne({
73
+ let { basePath: f = "/", navigate: m } = n(), _ = t(), k = a(), { hasPermission: A, isLoading: j } = oe(), M = A(r.LOG_READ), ue = C(i.CSV_EXPORT, !0), N = s(), P = `${N}-level`, F = `${N}-action`, [I, L] = l(""), [R, z] = l("all"), [B, V] = l("all"), [H, de] = l(!1), [U, W] = l(1), { logs: G, total: K, loading: q, error: J, refetch: Y } = ee({
74
74
  level: R === "all" ? void 0 : R,
75
75
  action: B === "all" ? void 0 : B,
76
76
  page: U,
77
77
  pageSize: 20,
78
78
  skip: j || !M
79
- }), X = s(() => {
79
+ }), X = c(() => {
80
80
  if (!I) return G ?? [];
81
81
  let e = I.toLowerCase();
82
82
  return (G ?? []).filter((t) => t.message.toLowerCase().includes(e) || (t.requestUrl?.toLowerCase().includes(e) ?? !1));
83
83
  }, [G, I]), Z = Math.ceil((K ?? 0) / 20), Q = I || R !== "all" || B !== "all", $ = () => {
84
84
  L(""), z("all"), V("all"), W(1);
85
85
  };
86
- return j ? /* @__PURE__ */ b("div", {
86
+ return j ? /* @__PURE__ */ x("div", {
87
87
  className: "flex items-center justify-center py-20",
88
- children: /* @__PURE__ */ b(_, {
88
+ children: /* @__PURE__ */ x(v, {
89
89
  size: 48,
90
90
  className: "animate-spin text-primary"
91
91
  })
92
- }) : M ? /* @__PURE__ */ x("div", {
92
+ }) : M ? /* @__PURE__ */ S("div", {
93
93
  className: "space-y-6 p-6 max-w-7xl mx-auto",
94
94
  children: [
95
- /* @__PURE__ */ b("div", {
95
+ /* @__PURE__ */ x("div", {
96
96
  className: "rounded-xl border border-border-seam bg-accent-wash p-6",
97
- children: /* @__PURE__ */ x("div", {
97
+ children: /* @__PURE__ */ S("div", {
98
98
  className: "flex items-center gap-4",
99
99
  children: [
100
- /* @__PURE__ */ b(S, {
100
+ /* @__PURE__ */ x(w, {
101
101
  variant: "ghost",
102
102
  size: "icon",
103
- onClick: () => p?.(d),
104
- "aria-label": g("integrations.logs.actions.backAriaLabel", "Back"),
105
- children: /* @__PURE__ */ b(f, { size: 20 })
103
+ onClick: () => m?.(f),
104
+ "aria-label": _("integrations.logs.actions.backAriaLabel", "Back"),
105
+ children: /* @__PURE__ */ x(p, { size: 20 })
106
106
  }),
107
- /* @__PURE__ */ b("div", {
107
+ /* @__PURE__ */ x("div", {
108
108
  className: "p-2.5 rounded-lg bg-action-primary-bg/10",
109
- children: /* @__PURE__ */ b(m, {
109
+ children: /* @__PURE__ */ x(h, {
110
110
  size: 24,
111
111
  className: "text-primary"
112
112
  })
113
113
  }),
114
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h1", {
114
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h1", {
115
115
  className: "text-2xl sm:text-3xl font-bold text-text-primary",
116
- children: g("integrations.logs.title", "Activity Logs")
117
- }), /* @__PURE__ */ b("p", {
116
+ children: _("integrations.logs.title", "Activity Logs")
117
+ }), /* @__PURE__ */ x("p", {
118
118
  className: "text-sm text-text-secondary mt-0.5",
119
- children: g("integrations.logs.subtitle", "Track integration activity and debug issues")
119
+ children: _("integrations.logs.subtitle", "Track integration activity and debug issues")
120
120
  })] })
121
121
  ]
122
122
  })
123
123
  }),
124
- /* @__PURE__ */ b(T, {
125
- icon: /* @__PURE__ */ b(m, { size: 16 }),
126
- children: g("integrations.logs.purpose", "Every request an integration makes — token refreshes, API calls, errors — is recorded here. Use this timeline to confirm a connection is working, see exactly what a provider returned, and debug failures (filter by level or action, then export to CSV to share with support).")
124
+ /* @__PURE__ */ x(D, {
125
+ icon: /* @__PURE__ */ x(h, { size: 16 }),
126
+ children: _("integrations.logs.purpose", "Every request an integration makes — token refreshes, API calls, errors — is recorded here. Use this timeline to confirm a connection is working, see exactly what a provider returned, and debug failures (filter by level or action, then export to CSV to share with support).")
127
127
  }),
128
- /* @__PURE__ */ x("div", {
128
+ /* @__PURE__ */ S("div", {
129
129
  className: "space-y-4",
130
- children: [/* @__PURE__ */ x("div", {
130
+ children: [/* @__PURE__ */ S("div", {
131
131
  className: "flex flex-col sm:flex-row gap-3",
132
132
  children: [
133
- /* @__PURE__ */ x("div", {
133
+ /* @__PURE__ */ S("div", {
134
134
  className: "flex-1 relative group",
135
- children: [/* @__PURE__ */ b(oe, {
135
+ children: [/* @__PURE__ */ x(ae, {
136
136
  size: 18,
137
137
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
138
- }), /* @__PURE__ */ b("input", {
138
+ }), /* @__PURE__ */ x("input", {
139
139
  type: "text",
140
- "aria-label": g("integrations.logs.search.ariaLabel", "Search activity logs"),
141
- placeholder: g("integrations.logs.search.placeholder", "Search logs..."),
140
+ "aria-label": _("integrations.logs.search.ariaLabel", "Search activity logs"),
141
+ placeholder: _("integrations.logs.search.placeholder", "Search logs..."),
142
142
  value: I,
143
143
  onChange: (e) => L(e.target.value),
144
144
  className: "w-full pl-10 pr-4 py-2.5 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary"
145
145
  })]
146
146
  }),
147
- /* @__PURE__ */ x("button", {
147
+ /* @__PURE__ */ S("button", {
148
148
  type: "button",
149
149
  onClick: () => de(!H),
150
150
  "aria-expanded": H,
151
- className: r("inline-flex items-center gap-2 px-4 py-2.5 rounded-lg border text-sm font-medium transition-all", H || Q ? "bg-action-primary-bg text-action-primary-text border-primary" : "bg-bg-surface text-text-primary border-border-subtle hover:bg-accent"),
151
+ className: e("inline-flex items-center gap-2 px-4 py-2.5 rounded-lg border text-sm font-medium transition-all", H || Q ? "bg-action-primary-bg text-action-primary-text border-primary" : "bg-bg-surface text-text-primary border-border-subtle hover:bg-accent"),
152
152
  children: [
153
- /* @__PURE__ */ b(h, { size: 16 }),
153
+ /* @__PURE__ */ x(g, { size: 16 }),
154
154
  " ",
155
- g("integrations.logs.filters.show", "Filter")
155
+ _("integrations.logs.filters.show", "Filter")
156
156
  ]
157
157
  }),
158
- ue && /* @__PURE__ */ x(S, {
158
+ ue && /* @__PURE__ */ S(w, {
159
159
  variant: "outline",
160
160
  onClick: () => {
161
- k(X, g);
161
+ le(X, _);
162
162
  },
163
163
  disabled: X.length === 0,
164
164
  children: [
165
- /* @__PURE__ */ b(ae, { size: 16 }),
165
+ /* @__PURE__ */ x(ie, { size: 16 }),
166
166
  " ",
167
- g("integrations.logs.actions.exportCsv", "Export CSV")
167
+ _("integrations.logs.actions.exportCsv", "Export CSV")
168
168
  ]
169
169
  }),
170
- /* @__PURE__ */ x(S, {
170
+ /* @__PURE__ */ S(w, {
171
171
  variant: "outline",
172
172
  onClick: () => Y(),
173
173
  children: [
174
- /* @__PURE__ */ b(v, { size: 16 }),
174
+ /* @__PURE__ */ x(y, { size: 16 }),
175
175
  " ",
176
- g("integrations.logs.actions.refresh", "Refresh")
176
+ _("integrations.logs.actions.refresh", "Refresh")
177
177
  ]
178
178
  })
179
179
  ]
180
- }), H && /* @__PURE__ */ x("div", {
180
+ }), H && /* @__PURE__ */ S("div", {
181
181
  className: "rounded-xl border border-border-seam bg-bg-surface p-5 animate-in slide-in-from-top-2 duration-200",
182
- children: [/* @__PURE__ */ x("div", {
182
+ children: [/* @__PURE__ */ S("div", {
183
183
  className: "flex items-center justify-between mb-4",
184
- children: [/* @__PURE__ */ x("h3", {
184
+ children: [/* @__PURE__ */ S("h3", {
185
185
  className: "font-semibold text-text-primary flex items-center gap-2",
186
186
  children: [
187
- /* @__PURE__ */ b(h, {
187
+ /* @__PURE__ */ x(g, {
188
188
  size: 16,
189
189
  className: "text-primary"
190
190
  }),
191
191
  " ",
192
- g("integrations.logs.filters.panelTitle", "Filters")
192
+ _("integrations.logs.filters.panelTitle", "Filters")
193
193
  ]
194
- }), Q && /* @__PURE__ */ x("button", {
194
+ }), Q && /* @__PURE__ */ S("button", {
195
195
  type: "button",
196
196
  onClick: $,
197
197
  className: "text-sm text-text-secondary hover:text-status-error-text flex items-center gap-1",
198
198
  children: [
199
- /* @__PURE__ */ b(y, { size: 14 }),
199
+ /* @__PURE__ */ x(b, { size: 14 }),
200
200
  " ",
201
- g("integrations.logs.filters.clearAll", "Clear All")
201
+ _("integrations.logs.filters.clearAll", "Clear All")
202
202
  ]
203
203
  })]
204
- }), /* @__PURE__ */ x("div", {
204
+ }), /* @__PURE__ */ S("div", {
205
205
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
206
- children: [/* @__PURE__ */ x("div", {
206
+ children: [/* @__PURE__ */ S("div", {
207
207
  className: "space-y-2",
208
- children: [/* @__PURE__ */ b("label", {
208
+ children: [/* @__PURE__ */ x("label", {
209
209
  htmlFor: P,
210
210
  className: "block text-sm font-medium text-text-primary",
211
- children: g("integrations.logs.filters.logLevel", "Log Level")
212
- }), /* @__PURE__ */ x("select", {
211
+ children: _("integrations.logs.filters.logLevel", "Log Level")
212
+ }), /* @__PURE__ */ S("select", {
213
213
  id: P,
214
214
  value: R,
215
215
  onChange: (e) => {
216
216
  z(e.target.value), W(1);
217
217
  },
218
218
  className: "w-full px-3 py-2 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
219
- children: [/* @__PURE__ */ b("option", {
219
+ children: [/* @__PURE__ */ x("option", {
220
220
  value: "all",
221
- children: g("integrations.logs.filters.logLevelAll", "All Levels")
222
- }), a.map((e) => /* @__PURE__ */ b("option", {
221
+ children: _("integrations.logs.filters.logLevelAll", "All Levels")
222
+ }), o.map((e) => /* @__PURE__ */ x("option", {
223
223
  value: e.value,
224
- children: g(`integrations.logLevel.${e.value}`, e.label)
224
+ children: _(`integrations.logLevel.${e.value}`, e.label)
225
225
  }, e.value))]
226
226
  })]
227
- }), /* @__PURE__ */ x("div", {
227
+ }), /* @__PURE__ */ S("div", {
228
228
  className: "space-y-2",
229
- children: [/* @__PURE__ */ b("label", {
229
+ children: [/* @__PURE__ */ x("label", {
230
230
  htmlFor: F,
231
231
  className: "block text-sm font-medium text-text-primary",
232
- children: g("integrations.logs.filters.action", "Action")
233
- }), /* @__PURE__ */ x("select", {
232
+ children: _("integrations.logs.filters.action", "Action")
233
+ }), /* @__PURE__ */ S("select", {
234
234
  id: F,
235
235
  value: B,
236
236
  onChange: (e) => {
237
237
  V(e.target.value), W(1);
238
238
  },
239
239
  className: "w-full px-3 py-2 border border-border-subtle rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
240
- children: [/* @__PURE__ */ b("option", {
240
+ children: [/* @__PURE__ */ x("option", {
241
241
  value: "all",
242
- children: g("integrations.logs.filters.actionAll", "All Actions")
243
- }), i.map((e) => /* @__PURE__ */ b("option", {
242
+ children: _("integrations.logs.filters.actionAll", "All Actions")
243
+ }), te.map((e) => /* @__PURE__ */ x("option", {
244
244
  value: e.value,
245
- children: g(`integrations.logAction.${e.value}`, e.label)
245
+ children: _(`integrations.logAction.${e.value}`, e.label)
246
246
  }, e.value))]
247
247
  })]
248
248
  })]
249
249
  })]
250
250
  })]
251
251
  }),
252
- J && /* @__PURE__ */ x("div", {
252
+ J && /* @__PURE__ */ S("div", {
253
253
  className: "rounded-xl border border-border-default bg-status-error-bg-subtle p-5 flex items-start gap-4",
254
- children: [/* @__PURE__ */ b(u, {
254
+ children: [/* @__PURE__ */ x(d, {
255
255
  size: 24,
256
256
  className: "text-status-error-text"
257
- }), /* @__PURE__ */ x("div", {
257
+ }), /* @__PURE__ */ S("div", {
258
258
  className: "flex-1",
259
259
  children: [
260
- /* @__PURE__ */ b("h3", {
260
+ /* @__PURE__ */ x("h3", {
261
261
  className: "font-semibold text-status-error-text mb-1",
262
- children: g("integrations.logs.error.title", "Error loading logs")
262
+ children: _("integrations.logs.error.title", "Error loading logs")
263
263
  }),
264
- /* @__PURE__ */ b("p", {
264
+ /* @__PURE__ */ x("p", {
265
265
  className: "text-sm text-status-error-text mb-3",
266
266
  children: J.message
267
267
  }),
268
- /* @__PURE__ */ x("button", {
268
+ /* @__PURE__ */ S("button", {
269
269
  type: "button",
270
270
  onClick: () => Y(),
271
271
  className: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium rounded-lg bg-status-error-bg-subtle text-status-error-text hover:bg-status-error-bg-subtle/80 transition-colors",
272
272
  children: [
273
- /* @__PURE__ */ b(v, { size: 14 }),
273
+ /* @__PURE__ */ x(y, { size: 14 }),
274
274
  " ",
275
- g("integrations.common.retry", "Try Again")
275
+ _("integrations.common.retry", "Try Again")
276
276
  ]
277
277
  })
278
278
  ]
279
279
  })]
280
280
  }),
281
- q && /* @__PURE__ */ b("div", {
281
+ q && /* @__PURE__ */ x("div", {
282
282
  className: "flex items-center justify-center py-12",
283
- children: /* @__PURE__ */ b(_, {
283
+ children: /* @__PURE__ */ x(v, {
284
284
  size: 24,
285
285
  className: "animate-spin text-text-secondary"
286
286
  })
287
287
  }),
288
- !q && !J && /* @__PURE__ */ x(ce, { children: [X.length > 0 ? /* @__PURE__ */ x(C, {
288
+ !q && !J && /* @__PURE__ */ S(se, { children: [X.length > 0 ? /* @__PURE__ */ S(T, {
289
289
  className: "overflow-hidden p-0",
290
- children: [/* @__PURE__ */ x("div", {
290
+ children: [/* @__PURE__ */ S("div", {
291
291
  className: "flex items-center gap-2 p-5 border-b border-border-seam",
292
- children: [/* @__PURE__ */ b(l, {
292
+ children: [/* @__PURE__ */ x(u, {
293
293
  size: 18,
294
294
  className: "text-primary"
295
- }), /* @__PURE__ */ b("h2", {
295
+ }), /* @__PURE__ */ x("h2", {
296
296
  className: "font-semibold text-text-primary",
297
- children: g("integrations.logs.timeline.title", "Activity Timeline")
297
+ children: _("integrations.logs.timeline.title", "Activity Timeline")
298
298
  })]
299
- }), /* @__PURE__ */ b("div", {
299
+ }), /* @__PURE__ */ x("div", {
300
300
  className: "divide-y divide-border-seam",
301
- children: X.map((e) => /* @__PURE__ */ x("div", {
301
+ children: X.map((t) => /* @__PURE__ */ S("div", {
302
302
  className: "flex items-start gap-3 px-5 py-3.5 hover:bg-accent/30 transition-colors",
303
303
  children: [
304
- /* @__PURE__ */ b("div", {
304
+ /* @__PURE__ */ x("div", {
305
305
  className: "mt-0.5",
306
- children: E(e.level)
306
+ children: O(t.level)
307
307
  }),
308
- /* @__PURE__ */ x("div", {
308
+ /* @__PURE__ */ S("div", {
309
309
  className: "flex-1 min-w-0",
310
310
  children: [
311
- /* @__PURE__ */ x("div", {
311
+ /* @__PURE__ */ S("div", {
312
312
  className: "flex items-center gap-2 flex-wrap",
313
313
  children: [
314
- /* @__PURE__ */ b("span", {
315
- className: r("text-xs px-2 py-0.5 rounded-full border font-medium", D(e.level)),
316
- children: e.level.toUpperCase()
314
+ /* @__PURE__ */ x("span", {
315
+ className: e("text-xs px-2 py-0.5 rounded-full border font-medium", ce(t.level)),
316
+ children: t.level.toUpperCase()
317
317
  }),
318
- /* @__PURE__ */ b("span", {
318
+ /* @__PURE__ */ x("span", {
319
319
  className: "text-xs px-2 py-0.5 rounded-full bg-bg-sunken text-text-secondary",
320
- children: e.action.replace(/_/g, " ")
320
+ children: t.action.replace(/_/g, " ")
321
321
  }),
322
- e.responseStatus && /* @__PURE__ */ b("span", {
323
- className: r("text-xs px-2 py-0.5 rounded-full border font-mono", e.responseStatus >= 400 ? "text-status-error-text bg-status-error-bg-subtle border-border-default" : "text-status-success-text bg-status-success-bg-subtle border-border-default"),
324
- children: e.responseStatus
322
+ t.responseStatus && /* @__PURE__ */ x("span", {
323
+ className: e("text-xs px-2 py-0.5 rounded-full border font-mono", t.responseStatus >= 400 ? "text-status-error-text bg-status-error-bg-subtle border-border-default" : "text-status-success-text bg-status-success-bg-subtle border-border-default"),
324
+ children: t.responseStatus
325
325
  })
326
326
  ]
327
327
  }),
328
- /* @__PURE__ */ b("p", {
328
+ /* @__PURE__ */ x("p", {
329
329
  className: "text-sm text-text-primary mt-1",
330
- children: e.message
330
+ children: t.message
331
331
  }),
332
- e.requestUrl && /* @__PURE__ */ x("p", {
332
+ t.requestUrl && /* @__PURE__ */ S("p", {
333
333
  className: "text-xs text-text-secondary font-mono mt-0.5 truncate",
334
- children: [e.requestMethod && /* @__PURE__ */ x("span", {
334
+ children: [t.requestMethod && /* @__PURE__ */ S("span", {
335
335
  className: "font-semibold",
336
- children: [e.requestMethod, " "]
337
- }), e.requestUrl]
336
+ children: [t.requestMethod, " "]
337
+ }), t.requestUrl]
338
338
  })
339
339
  ]
340
340
  }),
341
- /* @__PURE__ */ b("span", {
341
+ /* @__PURE__ */ x("span", {
342
342
  className: "text-xs text-text-secondary whitespace-nowrap flex-shrink-0",
343
- children: O(e.createdAt)
343
+ children: k(t.createdAt)
344
344
  })
345
345
  ]
346
- }, e.id))
346
+ }, t.id))
347
347
  })]
348
- }) : /* @__PURE__ */ b(w, {
348
+ }) : /* @__PURE__ */ x(E, {
349
349
  illustration: Q ? "empty-search" : "empty-data",
350
- title: Q ? g("integrations.logs.empty.filteredTitle", "No matching logs") : g("integrations.logs.empty.title", "No activity logs yet"),
351
- description: Q ? g("integrations.logs.empty.filteredDescription", "Try adjusting your filters.") : g("integrations.logs.empty.description", "Activity logs will appear here once you start using integrations."),
352
- action: Q ? /* @__PURE__ */ x(S, {
350
+ title: Q ? _("integrations.logs.empty.filteredTitle", "No matching logs") : _("integrations.logs.empty.title", "No activity logs yet"),
351
+ description: Q ? _("integrations.logs.empty.filteredDescription", "Try adjusting your filters.") : _("integrations.logs.empty.description", "Activity logs will appear here once you start using integrations."),
352
+ action: Q ? /* @__PURE__ */ S(w, {
353
353
  variant: "outline",
354
354
  onClick: $,
355
355
  children: [
356
- /* @__PURE__ */ b(y, { size: 14 }),
356
+ /* @__PURE__ */ x(b, { size: 14 }),
357
357
  " ",
358
- g("integrations.logs.empty.clearFilters", "Clear Filters")
358
+ _("integrations.logs.empty.clearFilters", "Clear Filters")
359
359
  ]
360
360
  }) : void 0
361
- }), Z > 1 && /* @__PURE__ */ x("div", {
361
+ }), Z > 1 && /* @__PURE__ */ S("div", {
362
362
  className: "flex items-center justify-between px-2",
363
- children: [/* @__PURE__ */ b("p", {
363
+ children: [/* @__PURE__ */ x("p", {
364
364
  className: "text-sm text-text-secondary",
365
- children: g("integrations.logs.pagination.showing", "Showing {{start}}-{{end}} of {{total}}", {
365
+ children: _("integrations.logs.pagination.showing", "Showing {{start}}-{{end}} of {{total}}", {
366
366
  start: (U - 1) * 20 + 1,
367
367
  end: Math.min(U * 20, K ?? 0),
368
368
  total: K ?? 0
369
369
  })
370
- }), /* @__PURE__ */ x("div", {
370
+ }), /* @__PURE__ */ S("div", {
371
371
  className: "flex items-center gap-2",
372
372
  children: [
373
- /* @__PURE__ */ b("button", {
373
+ /* @__PURE__ */ x("button", {
374
374
  type: "button",
375
375
  onClick: () => W((e) => Math.max(1, e - 1)),
376
376
  disabled: U === 1,
377
- "aria-label": g("integrations.logs.pagination.previous", "Previous page"),
377
+ "aria-label": _("integrations.logs.pagination.previous", "Previous page"),
378
378
  className: "p-2 rounded-lg border border-border-subtle hover:bg-accent disabled:opacity-50 transition-colors",
379
- children: /* @__PURE__ */ b(re, { size: 16 })
379
+ children: /* @__PURE__ */ x(ne, { size: 16 })
380
380
  }),
381
- /* @__PURE__ */ b("span", {
381
+ /* @__PURE__ */ x("span", {
382
382
  className: "text-sm text-text-primary px-3 py-1.5 rounded-lg bg-bg-sunken",
383
- children: g("integrations.logs.pagination.pageOf", "{{page}} / {{total}}", {
383
+ children: _("integrations.logs.pagination.pageOf", "{{page}} / {{total}}", {
384
384
  page: U,
385
385
  total: Z
386
386
  })
387
387
  }),
388
- /* @__PURE__ */ b("button", {
388
+ /* @__PURE__ */ x("button", {
389
389
  type: "button",
390
390
  onClick: () => W((e) => Math.min(Z, e + 1)),
391
391
  disabled: U === Z,
392
- "aria-label": g("integrations.logs.pagination.next", "Next page"),
392
+ "aria-label": _("integrations.logs.pagination.next", "Next page"),
393
393
  className: "p-2 rounded-lg border border-border-subtle hover:bg-accent disabled:opacity-50 transition-colors",
394
- children: /* @__PURE__ */ b(ie, { size: 16 })
394
+ children: /* @__PURE__ */ x(re, { size: 16 })
395
395
  })
396
396
  ]
397
397
  })]
398
398
  })] })
399
399
  ]
400
- }) : /* @__PURE__ */ x("div", {
400
+ }) : /* @__PURE__ */ S("div", {
401
401
  className: "flex flex-col items-center justify-center py-20 text-center p-6",
402
402
  children: [
403
- /* @__PURE__ */ b(u, {
403
+ /* @__PURE__ */ x(d, {
404
404
  size: 48,
405
405
  className: "text-text-secondary mb-4"
406
406
  }),
407
- /* @__PURE__ */ b("h2", {
407
+ /* @__PURE__ */ x("h2", {
408
408
  className: "text-xl font-bold text-text-primary mb-2",
409
- children: g("integrations.logs.denied.title", "Access Denied")
409
+ children: _("integrations.logs.denied.title", "Access Denied")
410
410
  }),
411
- /* @__PURE__ */ b("p", {
411
+ /* @__PURE__ */ x("p", {
412
412
  className: "text-sm text-text-secondary mb-6 max-w-sm",
413
- children: g("integrations.logs.denied.description", "You don't have permission to view activity logs.")
413
+ children: _("integrations.logs.denied.description", "You don't have permission to view activity logs.")
414
414
  }),
415
- /* @__PURE__ */ x("button", {
415
+ /* @__PURE__ */ S("button", {
416
416
  type: "button",
417
- onClick: () => p?.(d),
417
+ onClick: () => m?.(f),
418
418
  className: "inline-flex items-center gap-2 px-4 py-2.5 text-sm font-medium rounded-lg border border-border-subtle hover:bg-accent transition-colors",
419
419
  children: [
420
- /* @__PURE__ */ b(f, { size: 16 }),
420
+ /* @__PURE__ */ x(p, { size: 16 }),
421
421
  " ",
422
- g("integrations.logs.denied.back", "Back to Overview")
422
+ _("integrations.logs.denied.back", "Back to Overview")
423
423
  ]
424
424
  })
425
425
  ]
426
426
  });
427
427
  }
428
- //#endregion
429
428
  export { A as ConnectionLogs };
430
429
 
431
430
  //# sourceMappingURL=ConnectionLogs.js.map