@burdenoff/fluidgrids-fe-sdk 2026.810.1 → 2026.812.1
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/{WorkflowBuilder-GMLDZCYT.js → WorkflowBuilder-76GNQ4Y4.js} +3 -3
- package/dist/{WorkflowBuilder-GMLDZCYT.js.map → WorkflowBuilder-76GNQ4Y4.js.map} +1 -1
- package/dist/{chunk-FWU2QH43.js → chunk-W32DQ4IQ.js} +66 -59
- package/dist/chunk-W32DQ4IQ.js.map +1 -0
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-FWU2QH43.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { WorkflowBuilder } from './chunk-
|
|
1
|
+
export { WorkflowBuilder } from './chunk-W32DQ4IQ.js';
|
|
2
2
|
import './chunk-P5PKRQAO.js';
|
|
3
3
|
import './chunk-OHGXRM6Z.js';
|
|
4
4
|
import './chunk-BQXHJIER.js';
|
|
@@ -13,5 +13,5 @@ import './chunk-XQP33UJR.js';
|
|
|
13
13
|
import './chunk-DBOMRIP5.js';
|
|
14
14
|
import './chunk-3ZYUGTIT.js';
|
|
15
15
|
import './chunk-7VNIEIR6.js';
|
|
16
|
-
//# sourceMappingURL=WorkflowBuilder-
|
|
17
|
-
//# sourceMappingURL=WorkflowBuilder-
|
|
16
|
+
//# sourceMappingURL=WorkflowBuilder-76GNQ4Y4.js.map
|
|
17
|
+
//# sourceMappingURL=WorkflowBuilder-76GNQ4Y4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-76GNQ4Y4.js"}
|
|
@@ -2678,7 +2678,7 @@ function ProviderPicker({
|
|
|
2678
2678
|
);
|
|
2679
2679
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
2680
2680
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2681
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
2681
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary mb-3", children: tr(
|
|
2682
2682
|
"fluidgrids.connections.providerPicker.subtitle",
|
|
2683
2683
|
"Select an app or service to connect to"
|
|
2684
2684
|
) }),
|
|
@@ -2687,7 +2687,7 @@ function ProviderPicker({
|
|
|
2687
2687
|
Icon,
|
|
2688
2688
|
{
|
|
2689
2689
|
icon: "mdi:magnify",
|
|
2690
|
-
className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-
|
|
2690
|
+
className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-text-secondary"
|
|
2691
2691
|
}
|
|
2692
2692
|
),
|
|
2693
2693
|
/* @__PURE__ */ jsx(
|
|
@@ -2701,7 +2701,7 @@ function ProviderPicker({
|
|
|
2701
2701
|
"fluidgrids.connections.providerPicker.searchPlaceholder",
|
|
2702
2702
|
"Search providers..."
|
|
2703
2703
|
),
|
|
2704
|
-
className: "w-full pl-10 pr-3 py-2.5 border border-border rounded-md bg-
|
|
2704
|
+
className: "w-full pl-10 pr-3 py-2.5 border border-border-subtle rounded-md bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary"
|
|
2705
2705
|
}
|
|
2706
2706
|
)
|
|
2707
2707
|
] })
|
|
@@ -2710,14 +2710,14 @@ function ProviderPicker({
|
|
|
2710
2710
|
Icon,
|
|
2711
2711
|
{
|
|
2712
2712
|
icon: "mdi:loading",
|
|
2713
|
-
className: "w-6 h-6 animate-spin text-
|
|
2713
|
+
className: "w-6 h-6 animate-spin text-text-secondary"
|
|
2714
2714
|
}
|
|
2715
|
-
) }) : filtered.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "text-center py-8 text-sm text-
|
|
2715
|
+
) }) : filtered.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "text-center py-8 text-sm text-text-secondary", children: [
|
|
2716
2716
|
"No providers found matching \u201C",
|
|
2717
2717
|
search,
|
|
2718
2718
|
"\u201D"
|
|
2719
2719
|
] }) : /* @__PURE__ */ jsx("div", { className: "max-h-[400px] overflow-y-auto space-y-1", children: Object.entries(grouped).map(([category, categoryProviders]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
2720
|
-
/* @__PURE__ */ jsx("div", { className: "px-2 py-1.5 text-xs font-semibold text-
|
|
2720
|
+
/* @__PURE__ */ jsx("div", { className: "px-2 py-1.5 text-xs font-semibold text-text-secondary uppercase tracking-wider", children: getCategoryLabel(category) }),
|
|
2721
2721
|
categoryProviders.map((provider) => /* @__PURE__ */ jsxs(
|
|
2722
2722
|
"button",
|
|
2723
2723
|
{
|
|
@@ -2734,8 +2734,8 @@ function ProviderPicker({
|
|
|
2734
2734
|
}
|
|
2735
2735
|
),
|
|
2736
2736
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2737
|
-
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-
|
|
2738
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs text-
|
|
2737
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-text-primary", children: provider.name }),
|
|
2738
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-text-secondary", children: getAuthTypeLabel(provider.authType) })
|
|
2739
2739
|
] })
|
|
2740
2740
|
]
|
|
2741
2741
|
},
|
|
@@ -2901,15 +2901,15 @@ function SchemaConnectionForm({
|
|
|
2901
2901
|
displayOrder: method.displayOrder
|
|
2902
2902
|
}));
|
|
2903
2903
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
2904
|
-
error && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2 rounded-md border border-
|
|
2904
|
+
error && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2 rounded-md border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2", children: [
|
|
2905
2905
|
/* @__PURE__ */ jsx(
|
|
2906
2906
|
Icon,
|
|
2907
2907
|
{
|
|
2908
2908
|
icon: "mdi:alert-circle",
|
|
2909
|
-
className: "mt-0.5 h-4 w-4 flex-shrink-0 text-
|
|
2909
|
+
className: "mt-0.5 h-4 w-4 flex-shrink-0 text-status-error-text"
|
|
2910
2910
|
}
|
|
2911
2911
|
),
|
|
2912
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm text-
|
|
2912
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm text-status-error-text", children: error })
|
|
2913
2913
|
] }),
|
|
2914
2914
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
2915
2915
|
/* @__PURE__ */ jsxs(
|
|
@@ -2920,7 +2920,7 @@ function SchemaConnectionForm({
|
|
|
2920
2920
|
children: [
|
|
2921
2921
|
tr("fluidgrids.connections.schemaForm.nameLabel", "Connection Name"),
|
|
2922
2922
|
" ",
|
|
2923
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
2923
|
+
/* @__PURE__ */ jsx("span", { className: "text-status-error-text", children: "*" })
|
|
2924
2924
|
]
|
|
2925
2925
|
}
|
|
2926
2926
|
),
|
|
@@ -3018,29 +3018,29 @@ function SchemaConnectionForm({
|
|
|
3018
3018
|
disabled: isSubmitting
|
|
3019
3019
|
}
|
|
3020
3020
|
),
|
|
3021
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 rounded-md border border-border bg-
|
|
3021
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 rounded-md border border-border-subtle bg-accent/30 px-3 py-2", children: [
|
|
3022
3022
|
/* @__PURE__ */ jsx(
|
|
3023
3023
|
Icon,
|
|
3024
3024
|
{
|
|
3025
3025
|
icon: "mdi:open-in-new",
|
|
3026
|
-
className: "h-3.5 w-3.5 flex-shrink-0 text-
|
|
3026
|
+
className: "h-3.5 w-3.5 flex-shrink-0 text-text-secondary"
|
|
3027
3027
|
}
|
|
3028
3028
|
),
|
|
3029
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-
|
|
3029
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary", children: tr(
|
|
3030
3030
|
"fluidgrids.connections.schemaForm.oauthNotice",
|
|
3031
3031
|
`A popup window will open for ${provider.name} sign-in`
|
|
3032
3032
|
) })
|
|
3033
3033
|
] })
|
|
3034
3034
|
] }),
|
|
3035
|
-
flow === "minted" && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 rounded-md border border-border bg-
|
|
3035
|
+
flow === "minted" && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 rounded-md border border-border-subtle bg-accent/30 px-3 py-2", children: [
|
|
3036
3036
|
/* @__PURE__ */ jsx(
|
|
3037
3037
|
Icon,
|
|
3038
3038
|
{
|
|
3039
3039
|
icon: "mdi:shield-check",
|
|
3040
|
-
className: "h-3.5 w-3.5 flex-shrink-0 text-
|
|
3040
|
+
className: "h-3.5 w-3.5 flex-shrink-0 text-text-secondary"
|
|
3041
3041
|
}
|
|
3042
3042
|
),
|
|
3043
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-
|
|
3043
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary", children: tr(
|
|
3044
3044
|
"fluidgrids.connections.schemaForm.mintedNotice",
|
|
3045
3045
|
"No credentials to enter \u2014 access is granted on your behalf and tokens are issued per use."
|
|
3046
3046
|
) })
|
|
@@ -3051,7 +3051,7 @@ function SchemaConnectionForm({
|
|
|
3051
3051
|
type: "button",
|
|
3052
3052
|
onClick: () => void handleSubmit(),
|
|
3053
3053
|
disabled: !canSubmit,
|
|
3054
|
-
className: "inline-flex w-full items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
3054
|
+
className: "inline-flex w-full items-center justify-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
3055
3055
|
children: [
|
|
3056
3056
|
isSubmitting ? /* @__PURE__ */ jsx(Icon, { icon: "mdi:loading", className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx(Icon, { icon: "mdi:check", className: "h-4 w-4" }),
|
|
3057
3057
|
flow === "oauth2" ? tr(
|
|
@@ -3325,8 +3325,15 @@ function useConnectionDialog(options) {
|
|
|
3325
3325
|
input: {
|
|
3326
3326
|
connectionId: connection.id,
|
|
3327
3327
|
redirectUri: getOAuthCallbackUrl(),
|
|
3328
|
-
scopes: data.scopes
|
|
3329
|
-
authMethodKey
|
|
3328
|
+
scopes: data.scopes
|
|
3329
|
+
// No authMethodKey here. `InitiateOAuthInput` does not
|
|
3330
|
+
// declare one, and sending it fails variable coercion —
|
|
3331
|
+
// which the gateway reports as a bare
|
|
3332
|
+
// INTERNAL_SERVER_ERROR, so the connection is created and
|
|
3333
|
+
// the handshake then dies with "Unexpected error.".
|
|
3334
|
+
// It would be redundant anyway: the resolver reads the
|
|
3335
|
+
// method from the connection row, which createConnection
|
|
3336
|
+
// above has already stored.
|
|
3330
3337
|
}
|
|
3331
3338
|
}
|
|
3332
3339
|
})
|
|
@@ -3586,9 +3593,9 @@ function ConnectionFormDialog({
|
|
|
3586
3593
|
Dialog2.Content,
|
|
3587
3594
|
{
|
|
3588
3595
|
style: { zIndex: 1101 },
|
|
3589
|
-
className: "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-2xl max-h-[85vh] bg-
|
|
3596
|
+
className: "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-2xl max-h-[85vh] bg-bg-surface border border-border-subtle rounded-xl shadow-2xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] flex flex-col overflow-hidden",
|
|
3590
3597
|
children: [
|
|
3591
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-5 py-4 border-b border-border flex-shrink-0", children: [
|
|
3598
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-5 py-4 border-b border-border-subtle flex-shrink-0", children: [
|
|
3592
3599
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-3", children: selectedProvider ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3593
3600
|
/* @__PURE__ */ jsx(
|
|
3594
3601
|
Icon,
|
|
@@ -3604,18 +3611,18 @@ function ConnectionFormDialog({
|
|
|
3604
3611
|
}
|
|
3605
3612
|
),
|
|
3606
3613
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3607
|
-
/* @__PURE__ */ jsxs(Dialog2.Title, { className: "text-base font-semibold text-
|
|
3614
|
+
/* @__PURE__ */ jsxs(Dialog2.Title, { className: "text-base font-semibold text-text-primary", children: [
|
|
3608
3615
|
selectedProvider.name,
|
|
3609
3616
|
" account"
|
|
3610
3617
|
] }),
|
|
3611
|
-
/* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-
|
|
3618
|
+
/* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-text-secondary", children: getAuthTypeLabel(selectedProvider.authType) })
|
|
3612
3619
|
] })
|
|
3613
3620
|
] }) : /* @__PURE__ */ jsxs("div", { children: [
|
|
3614
|
-
/* @__PURE__ */ jsx(Dialog2.Title, { className: "text-base font-semibold text-
|
|
3621
|
+
/* @__PURE__ */ jsx(Dialog2.Title, { className: "text-base font-semibold text-text-primary", children: tr(
|
|
3615
3622
|
"fluidgrids.connections.connectionFormDialog.addNewCredential",
|
|
3616
3623
|
"Add new credential"
|
|
3617
3624
|
) }),
|
|
3618
|
-
/* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-
|
|
3625
|
+
/* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-text-secondary", children: tr(
|
|
3619
3626
|
"fluidgrids.connections.connectionFormDialog.pickerSubtitle",
|
|
3620
3627
|
"Select an app or service to connect to"
|
|
3621
3628
|
) })
|
|
@@ -3624,7 +3631,7 @@ function ConnectionFormDialog({
|
|
|
3624
3631
|
"button",
|
|
3625
3632
|
{
|
|
3626
3633
|
type: "button",
|
|
3627
|
-
className: "p-1.5 rounded-md hover:bg-accent transition-colors text-
|
|
3634
|
+
className: "p-1.5 rounded-md hover:bg-accent transition-colors text-text-secondary hover:text-text-primary",
|
|
3628
3635
|
"aria-label": tr(
|
|
3629
3636
|
"fluidgrids.connections.connectionFormDialog.close",
|
|
3630
3637
|
"Close"
|
|
@@ -3646,7 +3653,7 @@ function ConnectionFormDialog({
|
|
|
3646
3653
|
Icon,
|
|
3647
3654
|
{
|
|
3648
3655
|
icon: "mdi:loading",
|
|
3649
|
-
className: "w-8 h-8 animate-spin text-
|
|
3656
|
+
className: "w-8 h-8 animate-spin text-text-secondary"
|
|
3650
3657
|
}
|
|
3651
3658
|
) }),
|
|
3652
3659
|
success && selectedProvider && /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col items-center justify-center p-8 text-center", children: [
|
|
@@ -3657,11 +3664,11 @@ function ConnectionFormDialog({
|
|
|
3657
3664
|
className: "w-12 h-12 text-green-600"
|
|
3658
3665
|
}
|
|
3659
3666
|
) }),
|
|
3660
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-
|
|
3667
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-text-primary mb-1", children: tr(
|
|
3661
3668
|
"fluidgrids.connections.connectionFormDialog.successTitle",
|
|
3662
3669
|
"Connection Created!"
|
|
3663
3670
|
) }),
|
|
3664
|
-
/* @__PURE__ */ jsxs("p", { className: "text-sm text-
|
|
3671
|
+
/* @__PURE__ */ jsxs("p", { className: "text-sm text-text-secondary mb-6", children: [
|
|
3665
3672
|
"Your ",
|
|
3666
3673
|
selectedProvider.name,
|
|
3667
3674
|
" connection has been set up successfully."
|
|
@@ -3671,7 +3678,7 @@ function ConnectionFormDialog({
|
|
|
3671
3678
|
{
|
|
3672
3679
|
type: "button",
|
|
3673
3680
|
onClick: onClose,
|
|
3674
|
-
className: "px-4 py-2 text-sm font-medium rounded-md bg-primary text-primary-
|
|
3681
|
+
className: "px-4 py-2 text-sm font-medium rounded-md bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
3675
3682
|
children: tr(
|
|
3676
3683
|
"fluidgrids.connections.connectionFormDialog.done",
|
|
3677
3684
|
"Done"
|
|
@@ -3680,12 +3687,12 @@ function ConnectionFormDialog({
|
|
|
3680
3687
|
)
|
|
3681
3688
|
] }),
|
|
3682
3689
|
selectedProvider && !showPicker && !success && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3683
|
-
/* @__PURE__ */ jsx("div", { className: "w-40 border-r border-border flex-shrink-0 py-3", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
3690
|
+
/* @__PURE__ */ jsx("div", { className: "w-40 border-r border-border-subtle flex-shrink-0 py-3", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
3684
3691
|
"button",
|
|
3685
3692
|
{
|
|
3686
3693
|
type: "button",
|
|
3687
3694
|
onClick: () => setActiveTab(tab.key),
|
|
3688
|
-
className: `w-full flex items-center gap-2 px-4 py-2 text-sm font-medium transition-colors ${activeTab === tab.key ? "text-
|
|
3695
|
+
className: `w-full flex items-center gap-2 px-4 py-2 text-sm font-medium transition-colors ${activeTab === tab.key ? "text-text-primary bg-accent/50 border-l-2 border-primary" : "text-text-secondary hover:text-text-primary hover:bg-accent/30 border-l-2 border-transparent"}`,
|
|
3689
3696
|
children: [
|
|
3690
3697
|
/* @__PURE__ */ jsx(Icon, { icon: tab.icon, className: "w-4 h-4" }),
|
|
3691
3698
|
tab.label
|
|
@@ -3708,31 +3715,31 @@ function ConnectionFormDialog({
|
|
|
3708
3715
|
}
|
|
3709
3716
|
),
|
|
3710
3717
|
activeTab === "sharing" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
3711
|
-
/* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-
|
|
3718
|
+
/* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-text-primary", children: tr(
|
|
3712
3719
|
"fluidgrids.connections.connectionFormDialog.sharingHeading",
|
|
3713
3720
|
"Sharing"
|
|
3714
3721
|
) }),
|
|
3715
|
-
/* @__PURE__ */ jsxs("div", { className: "p-4 rounded-md bg-
|
|
3722
|
+
/* @__PURE__ */ jsxs("div", { className: "p-4 rounded-md bg-accent/30 border border-border-subtle text-center", children: [
|
|
3716
3723
|
/* @__PURE__ */ jsx(
|
|
3717
3724
|
Icon,
|
|
3718
3725
|
{
|
|
3719
3726
|
icon: "mdi:share-variant",
|
|
3720
|
-
className: "w-8 h-8 mx-auto text-
|
|
3727
|
+
className: "w-8 h-8 mx-auto text-text-secondary mb-2"
|
|
3721
3728
|
}
|
|
3722
3729
|
),
|
|
3723
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
3730
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary", children: tr(
|
|
3724
3731
|
"fluidgrids.connections.connectionFormDialog.sharingPlaceholder",
|
|
3725
3732
|
"Connection sharing settings will be available in a future update."
|
|
3726
3733
|
) })
|
|
3727
3734
|
] })
|
|
3728
3735
|
] }),
|
|
3729
3736
|
activeTab === "details" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
3730
|
-
/* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-
|
|
3737
|
+
/* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-text-primary", children: tr(
|
|
3731
3738
|
"fluidgrids.connections.connectionFormDialog.detailsHeading",
|
|
3732
3739
|
"Details"
|
|
3733
3740
|
) }),
|
|
3734
3741
|
/* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
3735
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-md border border-border", children: [
|
|
3742
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-md border border-border-subtle", children: [
|
|
3736
3743
|
/* @__PURE__ */ jsx(
|
|
3737
3744
|
Icon,
|
|
3738
3745
|
{
|
|
@@ -3747,19 +3754,19 @@ function ConnectionFormDialog({
|
|
|
3747
3754
|
}
|
|
3748
3755
|
),
|
|
3749
3756
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3750
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-
|
|
3751
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-
|
|
3757
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-text-primary", children: selectedProvider.name }),
|
|
3758
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-text-secondary", children: getAuthTypeLabel(selectedProvider.authType) })
|
|
3752
3759
|
] })
|
|
3753
3760
|
] }),
|
|
3754
3761
|
selectedProvider.description && /* @__PURE__ */ jsxs("div", { children: [
|
|
3755
|
-
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-
|
|
3762
|
+
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-text-secondary uppercase tracking-wider", children: tr(
|
|
3756
3763
|
"fluidgrids.connections.connectionFormDialog.detailsDescriptionLabel",
|
|
3757
3764
|
"Description"
|
|
3758
3765
|
) }),
|
|
3759
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
3766
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-primary mt-1", children: selectedProvider.description })
|
|
3760
3767
|
] }),
|
|
3761
3768
|
selectedProvider.website && /* @__PURE__ */ jsxs("div", { children: [
|
|
3762
|
-
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-
|
|
3769
|
+
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-text-secondary uppercase tracking-wider", children: tr(
|
|
3763
3770
|
"fluidgrids.connections.connectionFormDialog.detailsWebsiteLabel",
|
|
3764
3771
|
"Website"
|
|
3765
3772
|
) }),
|
|
@@ -3775,7 +3782,7 @@ function ConnectionFormDialog({
|
|
|
3775
3782
|
)
|
|
3776
3783
|
] }),
|
|
3777
3784
|
selectedProvider.docsUrl && /* @__PURE__ */ jsxs("div", { children: [
|
|
3778
|
-
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-
|
|
3785
|
+
/* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-text-secondary uppercase tracking-wider", children: tr(
|
|
3779
3786
|
"fluidgrids.connections.connectionFormDialog.detailsDocumentationLabel",
|
|
3780
3787
|
"Documentation"
|
|
3781
3788
|
) }),
|
|
@@ -3812,7 +3819,7 @@ function getStatusColor(status) {
|
|
|
3812
3819
|
case "ACTIVE":
|
|
3813
3820
|
return "text-[var(--color-status-success-text)]";
|
|
3814
3821
|
case "INACTIVE":
|
|
3815
|
-
return "text-
|
|
3822
|
+
return "text-text-secondary";
|
|
3816
3823
|
case "ERROR":
|
|
3817
3824
|
case "REVOKED":
|
|
3818
3825
|
return "text-[var(--color-status-error-text)]";
|
|
@@ -3820,7 +3827,7 @@ function getStatusColor(status) {
|
|
|
3820
3827
|
case "PENDING_AUTH":
|
|
3821
3828
|
return "text-[var(--color-status-warning-text)]";
|
|
3822
3829
|
default:
|
|
3823
|
-
return "text-
|
|
3830
|
+
return "text-text-secondary";
|
|
3824
3831
|
}
|
|
3825
3832
|
}
|
|
3826
3833
|
function getStatusIcon(status) {
|
|
@@ -3849,7 +3856,7 @@ function ConnectionChip({
|
|
|
3849
3856
|
const icon = resolveProviderIcon(providerKey, connectionData?.provider?.icon);
|
|
3850
3857
|
const name = connectionData?.name || connection.connectionId;
|
|
3851
3858
|
const status = connectionData?.status;
|
|
3852
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 px-2 py-1 bg-
|
|
3859
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 px-2 py-1 bg-accent/30 rounded-md text-sm group", children: [
|
|
3853
3860
|
/* @__PURE__ */ jsx(
|
|
3854
3861
|
Icon,
|
|
3855
3862
|
{
|
|
@@ -3874,7 +3881,7 @@ function ConnectionChip({
|
|
|
3874
3881
|
e.stopPropagation();
|
|
3875
3882
|
onRemove();
|
|
3876
3883
|
},
|
|
3877
|
-
className: "text-
|
|
3884
|
+
className: "text-text-secondary hover:text-status-error-text opacity-0 group-hover:opacity-100 transition-opacity",
|
|
3878
3885
|
children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:close", className: "w-3.5 h-3.5" })
|
|
3879
3886
|
}
|
|
3880
3887
|
)
|
|
@@ -4043,7 +4050,7 @@ function ConnectionSelector({
|
|
|
4043
4050
|
Icon,
|
|
4044
4051
|
{
|
|
4045
4052
|
icon: "mdi:link-variant",
|
|
4046
|
-
className: "w-4 h-4 text-
|
|
4053
|
+
className: "w-4 h-4 text-text-secondary"
|
|
4047
4054
|
}
|
|
4048
4055
|
),
|
|
4049
4056
|
selectedConnections.length === 0 ? tr(
|
|
@@ -4058,7 +4065,7 @@ function ConnectionSelector({
|
|
|
4058
4065
|
Icon,
|
|
4059
4066
|
{
|
|
4060
4067
|
icon: "mdi:chevron-down",
|
|
4061
|
-
className: "w-4 h-4 text-
|
|
4068
|
+
className: "w-4 h-4 text-text-secondary"
|
|
4062
4069
|
}
|
|
4063
4070
|
)
|
|
4064
4071
|
]
|
|
@@ -4071,7 +4078,7 @@ function ConnectionSelector({
|
|
|
4071
4078
|
style: { zIndex: 1100 },
|
|
4072
4079
|
className: "w-[280px] max-h-[400px] overflow-y-auto",
|
|
4073
4080
|
children: [
|
|
4074
|
-
connectionsLoading ? /* @__PURE__ */ jsxs("div", { className: "p-4 text-center text-sm text-
|
|
4081
|
+
connectionsLoading ? /* @__PURE__ */ jsxs("div", { className: "p-4 text-center text-sm text-text-secondary", children: [
|
|
4075
4082
|
/* @__PURE__ */ jsx(
|
|
4076
4083
|
Icon,
|
|
4077
4084
|
{
|
|
@@ -4083,7 +4090,7 @@ function ConnectionSelector({
|
|
|
4083
4090
|
"fluidgrids.connections.connectionSelector.loading",
|
|
4084
4091
|
"Loading connections..."
|
|
4085
4092
|
) })
|
|
4086
|
-
] }) : Object.keys(groupedConnections).length === 0 ? /* @__PURE__ */ jsxs("div", { className: "p-4 text-center text-sm text-
|
|
4093
|
+
] }) : Object.keys(groupedConnections).length === 0 ? /* @__PURE__ */ jsxs("div", { className: "p-4 text-center text-sm text-text-secondary", children: [
|
|
4087
4094
|
/* @__PURE__ */ jsx(
|
|
4088
4095
|
Icon,
|
|
4089
4096
|
{
|
|
@@ -4101,7 +4108,7 @@ function ConnectionSelector({
|
|
|
4101
4108
|
) })
|
|
4102
4109
|
] }) : Object.entries(groupedConnections).map(
|
|
4103
4110
|
([providerName, conns]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
4104
|
-
/* @__PURE__ */ jsxs(DropdownMenuLabel, { className: "flex items-center gap-2 text-xs font-semibold text-
|
|
4111
|
+
/* @__PURE__ */ jsxs(DropdownMenuLabel, { className: "flex items-center gap-2 text-xs font-semibold text-text-secondary uppercase tracking-wide", children: [
|
|
4105
4112
|
/* @__PURE__ */ jsx(
|
|
4106
4113
|
Icon,
|
|
4107
4114
|
{
|
|
@@ -4128,7 +4135,7 @@ function ConnectionSelector({
|
|
|
4128
4135
|
DropdownMenuItem,
|
|
4129
4136
|
{
|
|
4130
4137
|
onClick: () => handleSelect(conn),
|
|
4131
|
-
className: `flex items-center justify-between cursor-pointer ${isSelected ? "bg-primary/10" : ""} ${!isActive ? "opacity-60" : ""}`,
|
|
4138
|
+
className: `flex items-center justify-between cursor-pointer ${isSelected ? "bg-action-primary-bg/10" : ""} ${!isActive ? "opacity-60" : ""}`,
|
|
4132
4139
|
children: [
|
|
4133
4140
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col min-w-0", children: [
|
|
4134
4141
|
/* @__PURE__ */ jsxs("span", { className: "font-medium truncate flex items-center gap-1.5", children: [
|
|
@@ -4141,7 +4148,7 @@ function ConnectionSelector({
|
|
|
4141
4148
|
}
|
|
4142
4149
|
) })
|
|
4143
4150
|
] }),
|
|
4144
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-
|
|
4151
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary", children: conn.externalAccountEmail || conn.updatedAt && `Updated ${formatAge(conn.updatedAt)}` })
|
|
4145
4152
|
] }),
|
|
4146
4153
|
isSelected && /* @__PURE__ */ jsx(
|
|
4147
4154
|
Icon,
|
|
@@ -23473,5 +23480,5 @@ function WorkflowBuilder() {
|
|
|
23473
23480
|
}
|
|
23474
23481
|
|
|
23475
23482
|
export { Card2 as Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ConnectionFormDialog, ConnectionSelector, EntityTagPicker, FlowBuilderPage, FluidGridsProvider, ProviderPicker, SchemaConnectionForm, ScopePicker, TemplateCard, WorkflowBuilder, listCustomBlocks, refetchStoreNodes, registerCustomBlock, resolveUiSpec, stripSubmitActions, useConnection, useConnectionDialog, useConnections, useConnectionsByProvider, useCreateConnection, useFluidGridsContext, useImportWorkflowTemplate, useInitiateOAuth, useNodeExecution, useProviderByKey, useProviderCatalog, useProviders, useWorkflowTemplates };
|
|
23476
|
-
//# sourceMappingURL=chunk-
|
|
23477
|
-
//# sourceMappingURL=chunk-
|
|
23483
|
+
//# sourceMappingURL=chunk-W32DQ4IQ.js.map
|
|
23484
|
+
//# sourceMappingURL=chunk-W32DQ4IQ.js.map
|