@burdenoff/microfe-integrations 2026.930.1 → 2026.930.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/wspace-operations.d.ts +0 -137
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +73 -142
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/integrations/ConnectSourceDialog.js +10 -10
- package/dist/integrations/components/AddConnectionDialog.d.ts +15 -3
- package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -1
- package/dist/integrations/components/AddConnectionDialog.js +53 -631
- package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
- package/dist/integrations/components/AuthMethodsEditor.d.ts.map +1 -1
- package/dist/integrations/components/AuthMethodsEditor.js +69 -68
- package/dist/integrations/components/AuthMethodsEditor.js.map +1 -1
- package/dist/integrations/components/ConnectionCard.js +28 -28
- package/dist/integrations/components/ConnectionCard.js.map +1 -1
- package/dist/integrations/components/ProviderCard.js +29 -29
- package/dist/integrations/components/ProviderCard.js.map +1 -1
- package/dist/integrations/hooks/useConnections.js +91 -102
- package/dist/integrations/hooks/useConnections.js.map +1 -1
- package/dist/integrations/hooks/useLogs.js +4 -4
- package/dist/integrations/hooks/useProviders.js +36 -36
- package/dist/integrations/pages/AddConnectionWizard.d.ts.map +1 -1
- package/dist/integrations/pages/AddConnectionWizard.js +281 -277
- package/dist/integrations/pages/AddConnectionWizard.js.map +1 -1
- package/dist/integrations/pages/ConnectionDetail.js +24 -24
- package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
- package/dist/integrations/pages/ConnectionsList.js +7 -7
- package/dist/integrations/pages/ConnectionsList.js.map +1 -1
- package/dist/integrations/pages/IntegrationsOverview.js +34 -34
- package/dist/integrations/pages/ProviderCatalog.js +4 -4
- package/dist/integrations/pages/ProviderDetail.js +110 -110
- package/dist/integrations/pages/ProviderDetail.js.map +1 -1
- package/dist/integrations/translations/en.d.ts +18 -0
- package/dist/integrations/translations/en.d.ts.map +1 -1
- package/dist/integrations/utils/appearance.d.ts +0 -3
- package/dist/integrations/utils/appearance.d.ts.map +1 -1
- package/dist/integrations/utils/appearance.js +1 -20
- package/dist/integrations/utils/appearance.js.map +1 -1
- package/dist/integrations/utils/integrationsHelpers.js +1 -4
- package/dist/integrations/utils/integrationsHelpers.js.map +1 -1
- package/package.json +2 -2
- package/dist/integrations/assets/brands/bigconsole.js +0 -6
- package/dist/integrations/assets/brands/bigconsole.js.map +0 -1
- package/dist/integrations/assets/brands/burdenoff.js +0 -6
- package/dist/integrations/assets/brands/burdenoff.js.map +0 -1
- package/dist/integrations/components/AuthMethodSelector.d.ts +0 -30
- package/dist/integrations/components/AuthMethodSelector.d.ts.map +0 -1
- package/dist/integrations/components/AuthMethodSelector.js +0 -66
- package/dist/integrations/components/AuthMethodSelector.js.map +0 -1
- package/dist/integrations/components/CredentialStorageSelector.d.ts +0 -16
- package/dist/integrations/components/CredentialStorageSelector.d.ts.map +0 -1
- package/dist/integrations/components/CredentialStorageSelector.js +0 -262
- package/dist/integrations/components/CredentialStorageSelector.js.map +0 -1
- package/dist/integrations/components/ProviderIcon.d.ts +0 -25
- package/dist/integrations/components/ProviderIcon.d.ts.map +0 -1
- package/dist/integrations/components/ProviderIcon.js +0 -166
- package/dist/integrations/components/ProviderIcon.js.map +0 -1
- package/dist/integrations/components/SchemaForm.d.ts +0 -60
- package/dist/integrations/components/SchemaForm.d.ts.map +0 -1
- package/dist/integrations/components/SchemaForm.js +0 -235
- package/dist/integrations/components/SchemaForm.js.map +0 -1
- package/dist/integrations/hooks/useCredentialVaults.d.ts +0 -40
- package/dist/integrations/hooks/useCredentialVaults.d.ts.map +0 -1
- package/dist/integrations/hooks/useCredentialVaults.js +0 -98
- package/dist/integrations/hooks/useCredentialVaults.js.map +0 -1
- package/dist/integrations/utils/oauthPopup.d.ts +0 -16
- package/dist/integrations/utils/oauthPopup.d.ts.map +0 -1
- package/dist/integrations/utils/oauthPopup.js +0 -62
- package/dist/integrations/utils/oauthPopup.js.map +0 -1
- package/dist/node_modules/@iconify/react/dist/iconify.js +0 -1005
- package/dist/node_modules/@iconify/react/dist/iconify.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { IntegrationsProvider as e } from "./providers/IntegrationsProvider.js";
|
|
2
2
|
import { useTr as t } from "./hooks/useTr.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { AddConnectionDialog as n } from "./components/AddConnectionDialog.js";
|
|
4
|
+
import { ConnectionModalFrame as r } from "./components/ConnectionModalFrame.js";
|
|
5
5
|
import { useCallback as i } from "react";
|
|
6
6
|
import { ErrorBoundary as a } from "@burdenoff/fe-libs/shared/components";
|
|
7
7
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
8
|
//#region src/integrations/ConnectSourceDialog.tsx
|
|
9
9
|
var c = "connect-source-error-title";
|
|
10
10
|
function l({ onClose: e }) {
|
|
11
|
-
let
|
|
12
|
-
return /* @__PURE__ */ s(
|
|
11
|
+
let n = t();
|
|
12
|
+
return /* @__PURE__ */ s(r, {
|
|
13
13
|
onClose: e,
|
|
14
14
|
labelledBy: c,
|
|
15
15
|
presentation: "sheet",
|
|
@@ -19,28 +19,28 @@ function l({ onClose: e }) {
|
|
|
19
19
|
/* @__PURE__ */ o("h2", {
|
|
20
20
|
id: c,
|
|
21
21
|
className: "text-lg font-semibold text-text-primary",
|
|
22
|
-
children:
|
|
22
|
+
children: n("integrations.errorBoundary.title", "Something went wrong loading this module.")
|
|
23
23
|
}),
|
|
24
24
|
/* @__PURE__ */ o("p", {
|
|
25
25
|
className: "text-sm text-text-secondary",
|
|
26
|
-
children:
|
|
26
|
+
children: n("integrations.errorBoundary.refresh", "Please refresh the page.")
|
|
27
27
|
}),
|
|
28
28
|
/* @__PURE__ */ o("button", {
|
|
29
29
|
type: "button",
|
|
30
30
|
onClick: e,
|
|
31
31
|
className: "px-4 py-2 text-sm font-medium rounded-md border border-border-subtle hover:bg-accent transition-colors",
|
|
32
|
-
children:
|
|
32
|
+
children: n("integrations.common.close", "Close")
|
|
33
33
|
})
|
|
34
34
|
]
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
var u = ({ open:
|
|
37
|
+
var u = ({ open: r, onOpenChange: s, onConnectionCreated: c, ...u }) => {
|
|
38
38
|
let d = t(), f = i(() => s(!1), [s]);
|
|
39
|
-
return
|
|
39
|
+
return r ? /* @__PURE__ */ o(a, {
|
|
40
40
|
fallback: /* @__PURE__ */ o(l, { onClose: f }),
|
|
41
41
|
children: /* @__PURE__ */ o(e, {
|
|
42
42
|
...u,
|
|
43
|
-
children: /* @__PURE__ */ o(
|
|
43
|
+
children: /* @__PURE__ */ o(n, {
|
|
44
44
|
open: !0,
|
|
45
45
|
onClose: f,
|
|
46
46
|
presentation: "sheet",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ConnectionDialogPresentation, CreatedConnection } from '@burdenoff/fe-libs/connections';
|
|
2
3
|
|
|
3
4
|
export interface AddConnectionDialogProps {
|
|
4
5
|
/** Whether the dialog is open */
|
|
@@ -7,15 +8,26 @@ export interface AddConnectionDialogProps {
|
|
|
7
8
|
onClose: () => void;
|
|
8
9
|
/** Pre-selected provider ID (skips provider picker step) */
|
|
9
10
|
preselectedProviderId?: string | null;
|
|
11
|
+
/** Pre-selected provider key, for links that know a provider by key. */
|
|
12
|
+
preselectedProviderKey?: string | null;
|
|
10
13
|
/** Callback when a connection is successfully created */
|
|
11
14
|
onConnectionCreated?: (connectionId: string) => void;
|
|
12
15
|
/**
|
|
13
16
|
* `dialog` (default): a centred dialog from `sm`. `sheet`: a bottom sheet
|
|
14
17
|
* below `md`, centred from `md` — what `ConnectSourceDialog` uses.
|
|
15
18
|
*/
|
|
16
|
-
presentation?:
|
|
19
|
+
presentation?: ConnectionDialogPresentation;
|
|
17
20
|
/** Heading while the provider picker shows. Defaults to "Add new credential". */
|
|
18
21
|
pickerTitle?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Settings stored on the new connection, e.g. the Botlit channel to return
|
|
24
|
+
* to once OAuth completes.
|
|
25
|
+
*/
|
|
26
|
+
extraConfig?: Record<string, unknown>;
|
|
27
|
+
/** Replaces the success panel's button, e.g. "Link to bot channel". */
|
|
28
|
+
renderSuccessAction?: (connection: CreatedConnection) => ReactNode;
|
|
19
29
|
}
|
|
20
|
-
|
|
30
|
+
/** The OAuth callback the gateway serves; providers compare it exactly. */
|
|
31
|
+
export declare function oauthCallbackUrl(apiGatewayUrl: string | null | undefined): string;
|
|
32
|
+
export declare function AddConnectionDialog({ open, onClose, preselectedProviderId, preselectedProviderKey, onConnectionCreated, presentation, pickerTitle, extraConfig, renderSuccessAction, }: AddConnectionDialogProps): import("react").JSX.Element;
|
|
21
33
|
//# sourceMappingURL=AddConnectionDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddConnectionDialog.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/AddConnectionDialog.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AddConnectionDialog.d.ts","sourceRoot":"","sources":["../../../src/integrations/components/AddConnectionDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAGL,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AAQxC,MAAM,WAAW,wBAAwB;IACvC,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4DAA4D;IAC5D,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,wEAAwE;IACxE,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,yDAAyD;IACzD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD;;;OAGG;IACH,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,uEAAuE;IACvE,mBAAmB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,SAAS,CAAC;CACpE;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAIjF;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,YAAuB,EACvB,WAAW,EACX,WAAW,EACX,mBAAmB,GACpB,EAAE,wBAAwB,+BAoE1B"}
|