@burdenoff/fluidgrids-fe-sdk 2026.701.1 → 2026.701.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- export { WorkflowBuilder } from './chunk-IOFNFGWT.js';
1
+ export { WorkflowBuilder } from './chunk-DUTYRDBF.js';
2
2
  import './chunk-7VEOUEIN.js';
3
3
  import './chunk-BQXHJIER.js';
4
4
  import './chunk-KU64CCSV.js';
@@ -9,5 +9,5 @@ import './chunk-WWU2O2SR.js';
9
9
  import './chunk-LUGJJ7LL.js';
10
10
  import './chunk-XQP33UJR.js';
11
11
  import './chunk-Z54K22LP.js';
12
- //# sourceMappingURL=WorkflowBuilder-J2AKCX32.js.map
13
- //# sourceMappingURL=WorkflowBuilder-J2AKCX32.js.map
12
+ //# sourceMappingURL=WorkflowBuilder-HOJWVGCI.js.map
13
+ //# sourceMappingURL=WorkflowBuilder-HOJWVGCI.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-J2AKCX32.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-HOJWVGCI.js"}
@@ -6471,187 +6471,200 @@ function ConnectionFormDialog({
6471
6471
  { key: "details", label: "Details", icon: "mdi:information" }
6472
6472
  ];
6473
6473
  return /* @__PURE__ */ jsx(Dialog2.Root, { open, onOpenChange: (isOpen) => !isOpen && onClose(), children: /* @__PURE__ */ jsxs(Dialog2.Portal, { children: [
6474
- /* @__PURE__ */ jsx(Dialog2.Overlay, { className: "fixed inset-0 bg-black/50 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }),
6475
- /* @__PURE__ */ jsxs(Dialog2.Content, { className: "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50 w-full max-w-2xl max-h-[85vh] bg-background border border-border 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", children: [
6476
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-5 py-4 border-b border-border flex-shrink-0", children: [
6477
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-3", children: selectedProvider ? /* @__PURE__ */ jsxs(Fragment, { children: [
6478
- /* @__PURE__ */ jsx(
6479
- Icon,
6480
- {
6481
- icon: getProviderIcon(selectedProvider.key),
6482
- className: "w-7 h-7"
6483
- }
6484
- ),
6485
- /* @__PURE__ */ jsxs("div", { children: [
6486
- /* @__PURE__ */ jsxs(Dialog2.Title, { className: "text-base font-semibold text-foreground", children: [
6487
- selectedProvider.name,
6488
- " account"
6489
- ] }),
6490
- /* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-muted-foreground", children: getAuthTypeLabel(selectedProvider.authType) })
6491
- ] })
6492
- ] }) : /* @__PURE__ */ jsxs("div", { children: [
6493
- /* @__PURE__ */ jsx(Dialog2.Title, { className: "text-base font-semibold text-foreground", children: "Add new credential" }),
6494
- /* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-muted-foreground", children: "Select an app or service to connect to" })
6495
- ] }) }),
6496
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
6497
- selectedProvider && !showPicker && !success && /* @__PURE__ */ jsx(
6498
- "button",
6499
- {
6500
- type: "button",
6501
- onClick: () => handleFormSubmit({
6502
- name: connectionName,
6503
- description: connectionDescription
6504
- }),
6505
- disabled: isSubmitting || !connectionName.trim(),
6506
- className: "px-4 py-1.5 text-sm font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 transition-colors disabled:opacity-50",
6507
- children: "Save"
6508
- }
6509
- ),
6510
- /* @__PURE__ */ jsx(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx(
6511
- "button",
6512
- {
6513
- type: "button",
6514
- className: "p-1.5 rounded-md hover:bg-accent transition-colors text-muted-foreground hover:text-foreground",
6515
- "aria-label": "Close",
6516
- children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:close", className: "w-5 h-5" })
6517
- }
6518
- ) })
6519
- ] })
6520
- ] }),
6521
- /* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-h-0 overflow-hidden", children: [
6522
- showPicker && !selectedProvider && /* @__PURE__ */ jsx("div", { className: "flex-1 p-5 overflow-y-auto", children: /* @__PURE__ */ jsx(
6523
- ProviderPicker,
6524
- {
6525
- providers: catalogProviders,
6526
- loading: catalogLoading,
6527
- onSelect: handleProviderSelect
6528
- }
6529
- ) }),
6530
- providerLoading && !selectedProvider && !showPicker && /* @__PURE__ */ jsx("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ jsx(
6531
- Icon,
6532
- {
6533
- icon: "mdi:loading",
6534
- className: "w-8 h-8 animate-spin text-muted-foreground"
6535
- }
6536
- ) }),
6537
- success && selectedProvider && /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col items-center justify-center p-8 text-center", children: [
6538
- /* @__PURE__ */ jsx("div", { className: "p-3 rounded-full bg-green-500/10 mb-4", children: /* @__PURE__ */ jsx(
6539
- Icon,
6540
- {
6541
- icon: "mdi:check-circle",
6542
- className: "w-12 h-12 text-green-600"
6543
- }
6544
- ) }),
6545
- /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground mb-1", children: "Connection Created!" }),
6546
- /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground mb-6", children: [
6547
- "Your ",
6548
- selectedProvider.name,
6549
- " connection has been set up successfully."
6474
+ /* @__PURE__ */ jsx(
6475
+ Dialog2.Overlay,
6476
+ {
6477
+ style: { zIndex: 1100 },
6478
+ className: "fixed inset-0 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
6479
+ }
6480
+ ),
6481
+ /* @__PURE__ */ jsxs(
6482
+ Dialog2.Content,
6483
+ {
6484
+ style: { zIndex: 1101 },
6485
+ 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-background border border-border 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",
6486
+ children: [
6487
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-5 py-4 border-b border-border flex-shrink-0", children: [
6488
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-3", children: selectedProvider ? /* @__PURE__ */ jsxs(Fragment, { children: [
6489
+ /* @__PURE__ */ jsx(
6490
+ Icon,
6491
+ {
6492
+ icon: getProviderIcon(selectedProvider.key),
6493
+ className: "w-7 h-7"
6494
+ }
6495
+ ),
6496
+ /* @__PURE__ */ jsxs("div", { children: [
6497
+ /* @__PURE__ */ jsxs(Dialog2.Title, { className: "text-base font-semibold text-foreground", children: [
6498
+ selectedProvider.name,
6499
+ " account"
6500
+ ] }),
6501
+ /* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-muted-foreground", children: getAuthTypeLabel(selectedProvider.authType) })
6502
+ ] })
6503
+ ] }) : /* @__PURE__ */ jsxs("div", { children: [
6504
+ /* @__PURE__ */ jsx(Dialog2.Title, { className: "text-base font-semibold text-foreground", children: "Add new credential" }),
6505
+ /* @__PURE__ */ jsx(Dialog2.Description, { className: "text-xs text-muted-foreground", children: "Select an app or service to connect to" })
6506
+ ] }) }),
6507
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
6508
+ selectedProvider && !showPicker && !success && /* @__PURE__ */ jsx(
6509
+ "button",
6510
+ {
6511
+ type: "button",
6512
+ onClick: () => handleFormSubmit({
6513
+ name: connectionName,
6514
+ description: connectionDescription
6515
+ }),
6516
+ disabled: isSubmitting || !connectionName.trim(),
6517
+ className: "px-4 py-1.5 text-sm font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 transition-colors disabled:opacity-50",
6518
+ children: "Save"
6519
+ }
6520
+ ),
6521
+ /* @__PURE__ */ jsx(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx(
6522
+ "button",
6523
+ {
6524
+ type: "button",
6525
+ className: "p-1.5 rounded-md hover:bg-accent transition-colors text-muted-foreground hover:text-foreground",
6526
+ "aria-label": "Close",
6527
+ children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:close", className: "w-5 h-5" })
6528
+ }
6529
+ ) })
6530
+ ] })
6550
6531
  ] }),
6551
- /* @__PURE__ */ jsx(
6552
- "button",
6553
- {
6554
- type: "button",
6555
- onClick: onClose,
6556
- className: "px-4 py-2 text-sm font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 transition-colors",
6557
- children: "Done"
6558
- }
6559
- )
6560
- ] }),
6561
- selectedProvider && !showPicker && !success && /* @__PURE__ */ jsxs(Fragment, { children: [
6562
- /* @__PURE__ */ jsx("div", { className: "w-40 border-r border-border flex-shrink-0 py-3", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
6563
- "button",
6564
- {
6565
- type: "button",
6566
- onClick: () => setActiveTab(tab.key),
6567
- className: `w-full flex items-center gap-2 px-4 py-2 text-sm font-medium transition-colors ${activeTab === tab.key ? "text-foreground bg-accent/50 border-l-2 border-primary" : "text-muted-foreground hover:text-foreground hover:bg-accent/30 border-l-2 border-transparent"}`,
6568
- children: [
6569
- /* @__PURE__ */ jsx(Icon, { icon: tab.icon, className: "w-4 h-4" }),
6570
- tab.label
6571
- ]
6572
- },
6573
- tab.key
6574
- )) }),
6575
- /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 overflow-y-auto", children: [
6576
- activeTab === "connection" && FormComponent && /* @__PURE__ */ jsx(
6577
- FormComponent,
6532
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-h-0 overflow-hidden", children: [
6533
+ showPicker && !selectedProvider && /* @__PURE__ */ jsx("div", { className: "flex-1 p-5 overflow-y-auto", children: /* @__PURE__ */ jsx(
6534
+ ProviderPicker,
6578
6535
  {
6579
- provider: selectedProvider,
6580
- connectionId: connectionId ?? null,
6581
- connectionName,
6582
- connectionDescription,
6583
- onNameChange: setConnectionName,
6584
- onDescriptionChange: setConnectionDescription,
6585
- onSubmit: handleFormSubmit,
6586
- isSubmitting: isSubmitting || oauthWaiting,
6587
- error
6536
+ providers: catalogProviders,
6537
+ loading: catalogLoading,
6538
+ onSelect: handleProviderSelect
6588
6539
  }
6589
- ),
6590
- activeTab === "sharing" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
6591
- /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-foreground", children: "Sharing" }),
6592
- /* @__PURE__ */ jsxs("div", { className: "p-4 rounded-md bg-muted/50 border border-border text-center", children: [
6593
- /* @__PURE__ */ jsx(
6594
- Icon,
6540
+ ) }),
6541
+ providerLoading && !selectedProvider && !showPicker && /* @__PURE__ */ jsx("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ jsx(
6542
+ Icon,
6543
+ {
6544
+ icon: "mdi:loading",
6545
+ className: "w-8 h-8 animate-spin text-muted-foreground"
6546
+ }
6547
+ ) }),
6548
+ success && selectedProvider && /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col items-center justify-center p-8 text-center", children: [
6549
+ /* @__PURE__ */ jsx("div", { className: "p-3 rounded-full bg-green-500/10 mb-4", children: /* @__PURE__ */ jsx(
6550
+ Icon,
6551
+ {
6552
+ icon: "mdi:check-circle",
6553
+ className: "w-12 h-12 text-green-600"
6554
+ }
6555
+ ) }),
6556
+ /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground mb-1", children: "Connection Created!" }),
6557
+ /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground mb-6", children: [
6558
+ "Your ",
6559
+ selectedProvider.name,
6560
+ " connection has been set up successfully."
6561
+ ] }),
6562
+ /* @__PURE__ */ jsx(
6563
+ "button",
6564
+ {
6565
+ type: "button",
6566
+ onClick: onClose,
6567
+ className: "px-4 py-2 text-sm font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 transition-colors",
6568
+ children: "Done"
6569
+ }
6570
+ )
6571
+ ] }),
6572
+ selectedProvider && !showPicker && !success && /* @__PURE__ */ jsxs(Fragment, { children: [
6573
+ /* @__PURE__ */ jsx("div", { className: "w-40 border-r border-border flex-shrink-0 py-3", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
6574
+ "button",
6575
+ {
6576
+ type: "button",
6577
+ onClick: () => setActiveTab(tab.key),
6578
+ className: `w-full flex items-center gap-2 px-4 py-2 text-sm font-medium transition-colors ${activeTab === tab.key ? "text-foreground bg-accent/50 border-l-2 border-primary" : "text-muted-foreground hover:text-foreground hover:bg-accent/30 border-l-2 border-transparent"}`,
6579
+ children: [
6580
+ /* @__PURE__ */ jsx(Icon, { icon: tab.icon, className: "w-4 h-4" }),
6581
+ tab.label
6582
+ ]
6583
+ },
6584
+ tab.key
6585
+ )) }),
6586
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 overflow-y-auto", children: [
6587
+ activeTab === "connection" && FormComponent && /* @__PURE__ */ jsx(
6588
+ FormComponent,
6595
6589
  {
6596
- icon: "mdi:share-variant",
6597
- className: "w-8 h-8 mx-auto text-muted-foreground mb-2"
6590
+ provider: selectedProvider,
6591
+ connectionId: connectionId ?? null,
6592
+ connectionName,
6593
+ connectionDescription,
6594
+ onNameChange: setConnectionName,
6595
+ onDescriptionChange: setConnectionDescription,
6596
+ onSubmit: handleFormSubmit,
6597
+ isSubmitting: isSubmitting || oauthWaiting,
6598
+ error
6598
6599
  }
6599
6600
  ),
6600
- /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Connection sharing settings will be available in a future update." })
6601
- ] })
6602
- ] }),
6603
- activeTab === "details" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
6604
- /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-foreground", children: "Details" }),
6605
- /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
6606
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-md border border-border", children: [
6607
- /* @__PURE__ */ jsx(
6608
- Icon,
6609
- {
6610
- icon: getProviderIcon(selectedProvider.key),
6611
- className: "w-8 h-8"
6612
- }
6613
- ),
6614
- /* @__PURE__ */ jsxs("div", { children: [
6615
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground", children: selectedProvider.name }),
6616
- /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: getAuthTypeLabel(selectedProvider.authType) })
6601
+ activeTab === "sharing" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
6602
+ /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-foreground", children: "Sharing" }),
6603
+ /* @__PURE__ */ jsxs("div", { className: "p-4 rounded-md bg-muted/50 border border-border text-center", children: [
6604
+ /* @__PURE__ */ jsx(
6605
+ Icon,
6606
+ {
6607
+ icon: "mdi:share-variant",
6608
+ className: "w-8 h-8 mx-auto text-muted-foreground mb-2"
6609
+ }
6610
+ ),
6611
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Connection sharing settings will be available in a future update." })
6617
6612
  ] })
6618
6613
  ] }),
6619
- selectedProvider.description && /* @__PURE__ */ jsxs("div", { children: [
6620
- /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Description" }),
6621
- /* @__PURE__ */ jsx("p", { className: "text-sm text-foreground mt-1", children: selectedProvider.description })
6622
- ] }),
6623
- selectedProvider.website && /* @__PURE__ */ jsxs("div", { children: [
6624
- /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Website" }),
6625
- /* @__PURE__ */ jsx(
6626
- "a",
6627
- {
6628
- href: selectedProvider.website,
6629
- target: "_blank",
6630
- rel: "noopener noreferrer",
6631
- className: "block text-sm text-primary hover:underline mt-1",
6632
- children: selectedProvider.website
6633
- }
6634
- )
6635
- ] }),
6636
- selectedProvider.docsUrl && /* @__PURE__ */ jsxs("div", { children: [
6637
- /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Documentation" }),
6638
- /* @__PURE__ */ jsx(
6639
- "a",
6640
- {
6641
- href: selectedProvider.docsUrl,
6642
- target: "_blank",
6643
- rel: "noopener noreferrer",
6644
- className: "block text-sm text-primary hover:underline mt-1",
6645
- children: selectedProvider.docsUrl
6646
- }
6647
- )
6614
+ activeTab === "details" && /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
6615
+ /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-foreground", children: "Details" }),
6616
+ /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
6617
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-md border border-border", children: [
6618
+ /* @__PURE__ */ jsx(
6619
+ Icon,
6620
+ {
6621
+ icon: getProviderIcon(selectedProvider.key),
6622
+ className: "w-8 h-8"
6623
+ }
6624
+ ),
6625
+ /* @__PURE__ */ jsxs("div", { children: [
6626
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground", children: selectedProvider.name }),
6627
+ /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: getAuthTypeLabel(selectedProvider.authType) })
6628
+ ] })
6629
+ ] }),
6630
+ selectedProvider.description && /* @__PURE__ */ jsxs("div", { children: [
6631
+ /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Description" }),
6632
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-foreground mt-1", children: selectedProvider.description })
6633
+ ] }),
6634
+ selectedProvider.website && /* @__PURE__ */ jsxs("div", { children: [
6635
+ /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Website" }),
6636
+ /* @__PURE__ */ jsx(
6637
+ "a",
6638
+ {
6639
+ href: selectedProvider.website,
6640
+ target: "_blank",
6641
+ rel: "noopener noreferrer",
6642
+ className: "block text-sm text-primary hover:underline mt-1",
6643
+ children: selectedProvider.website
6644
+ }
6645
+ )
6646
+ ] }),
6647
+ selectedProvider.docsUrl && /* @__PURE__ */ jsxs("div", { children: [
6648
+ /* @__PURE__ */ jsx("label", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wider", children: "Documentation" }),
6649
+ /* @__PURE__ */ jsx(
6650
+ "a",
6651
+ {
6652
+ href: selectedProvider.docsUrl,
6653
+ target: "_blank",
6654
+ rel: "noopener noreferrer",
6655
+ className: "block text-sm text-primary hover:underline mt-1",
6656
+ children: selectedProvider.docsUrl
6657
+ }
6658
+ )
6659
+ ] })
6660
+ ] })
6648
6661
  ] })
6649
6662
  ] })
6650
6663
  ] })
6651
6664
  ] })
6652
- ] })
6653
- ] })
6654
- ] })
6665
+ ]
6666
+ }
6667
+ )
6655
6668
  ] }) });
6656
6669
  }
6657
6670
  function formatAge(dateString) {
@@ -6908,6 +6921,7 @@ function ConnectionSelector({
6908
6921
  DropdownMenuContent,
6909
6922
  {
6910
6923
  align: "start",
6924
+ style: { zIndex: 1100 },
6911
6925
  className: "w-[280px] max-h-[400px] overflow-y-auto",
6912
6926
  children: [
6913
6927
  connectionsLoading ? /* @__PURE__ */ jsxs("div", { className: "p-4 text-center text-sm text-muted-foreground", children: [
@@ -7315,7 +7329,91 @@ function NodePropertyPanel({
7315
7329
  ),
7316
7330
  [operationsArray, data?.operation_name]
7317
7331
  );
7318
- const connectionAdapters = currentOperation?.connectionAdapters || currentOperation?.credentialAdapters || data?.nodeData?.connectionAdapters || data?.nodeData?.credentialAdapters || [];
7332
+ const effectiveCurrentOperation = useMemo(() => {
7333
+ const nodeType = String(type);
7334
+ if (nodeType === "store/bigconsole_datasink" && currentOperation?.name === "postDataToDataSink") {
7335
+ return {
7336
+ ...currentOperation,
7337
+ // Force the DataSink-key card below to win even if an older registry
7338
+ // manifest already has a block-based `ui` declaration. resolveUiSpec()
7339
+ // prefers `ui` over `adaptive_card`, so leaving it in place would keep
7340
+ // rendering the stale connection-oriented form.
7341
+ ui: void 0,
7342
+ description: "Push data to a BigConsole DataSink. Data is taken from the previous node's output; choose the target DataSink key and the BigConsole connection is handled automatically.",
7343
+ input_fields: {
7344
+ ...currentOperation.input_fields,
7345
+ dataSinkKey: {
7346
+ type: "string",
7347
+ required: true,
7348
+ description: "Target DataSink key. The workflow writes directly to this DataSink and auto-links on first run."
7349
+ }
7350
+ },
7351
+ adaptive_card: {
7352
+ type: "AdaptiveCard",
7353
+ version: "1.5",
7354
+ body: [
7355
+ {
7356
+ type: "TextBlock",
7357
+ text: "Send Data to BigConsole DataSink",
7358
+ weight: "bolder",
7359
+ size: "medium"
7360
+ },
7361
+ {
7362
+ type: "TextBlock",
7363
+ text: "Choose the DataSink key. Data is taken automatically from the previous node, and the BigConsole connection is handled automatically.",
7364
+ wrap: true,
7365
+ size: "small",
7366
+ isSubtle: true
7367
+ },
7368
+ {
7369
+ type: "Input.Text",
7370
+ placeholder: "Target DataSink key (e.g., users_analytics)",
7371
+ id: "args.state.dataSinkKey",
7372
+ label: "DataSink Key",
7373
+ isRequired: true,
7374
+ value: "${dataSinkKey}"
7375
+ },
7376
+ {
7377
+ type: "ActionSet",
7378
+ actions: [
7379
+ {
7380
+ type: "Action.Submit",
7381
+ title: "Save Configuration"
7382
+ }
7383
+ ]
7384
+ }
7385
+ ],
7386
+ defaultValue: { dataSinkKey: "" }
7387
+ }
7388
+ };
7389
+ }
7390
+ return currentOperation;
7391
+ }, [currentOperation, type]);
7392
+ const connectionAdapters = useMemo(
7393
+ () => effectiveCurrentOperation?.connectionAdapters || effectiveCurrentOperation?.credentialAdapters || data?.nodeData?.connectionAdapters || data?.nodeData?.credentialAdapters || [],
7394
+ [
7395
+ effectiveCurrentOperation?.connectionAdapters,
7396
+ effectiveCurrentOperation?.credentialAdapters,
7397
+ data?.nodeData?.connectionAdapters,
7398
+ data?.nodeData?.credentialAdapters
7399
+ ]
7400
+ );
7401
+ const isAutoManagedAdapter = useCallback(
7402
+ (adapter) => {
7403
+ const nodeType = String(type);
7404
+ const isBigConsoleDataSinkAutoAdapter = nodeType === "store/bigconsole_datasink" && adapter.name === "bigconsole" && adapter.provider === "bigconsole";
7405
+ return isBigConsoleDataSinkAutoAdapter || adapter.mode === "auto" || adapter.autoProvision === true || adapter.autoManaged === true || adapter.hidden === true;
7406
+ },
7407
+ [type]
7408
+ );
7409
+ const visibleConnectionAdapters = useMemo(
7410
+ () => connectionAdapters.filter((adapter) => !isAutoManagedAdapter(adapter)),
7411
+ [connectionAdapters, isAutoManagedAdapter]
7412
+ );
7413
+ const hasAutoManagedConnections = useMemo(
7414
+ () => connectionAdapters.some(isAutoManagedAdapter),
7415
+ [connectionAdapters, isAutoManagedAdapter]
7416
+ );
7319
7417
  const selectedConnections = useMemo(() => {
7320
7418
  if (data?.args?.connections && data.args.connections.length > 0) {
7321
7419
  return data.args.connections.map((conn) => ({
@@ -7369,8 +7467,8 @@ function NodePropertyPanel({
7369
7467
  });
7370
7468
  };
7371
7469
  const resolvedUi = useMemo(
7372
- () => resolveUiSpec(currentOperation),
7373
- [currentOperation]
7470
+ () => resolveUiSpec(effectiveCurrentOperation),
7471
+ [effectiveCurrentOperation]
7374
7472
  );
7375
7473
  const sampleData2 = useMemo(() => {
7376
7474
  return data?.args?.state ?? {};
@@ -7421,18 +7519,25 @@ function NodePropertyPanel({
7421
7519
  }, [searchTerm, scheduledJobs]);
7422
7520
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4.5 p-4", children: [
7423
7521
  /* @__PURE__ */ jsx("div", { className: "text-xs text-card-foreground/20 self-end ", children: id }),
7424
- connectionAdapters.length > 0 && /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
7522
+ visibleConnectionAdapters.length > 0 && /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
7425
7523
  /* @__PURE__ */ jsx("div", { className: "text-xs text-card-foreground/60 font-semibold", children: "Connections" }),
7426
7524
  /* @__PURE__ */ jsx(
7427
7525
  ConnectionSelector,
7428
7526
  {
7429
- adapters: connectionAdapters,
7527
+ adapters: visibleConnectionAdapters,
7430
7528
  selectedConnections,
7431
7529
  onChange: handleConnectionsChange,
7432
7530
  compact: true
7433
7531
  }
7434
7532
  )
7435
7533
  ] }),
7534
+ hasAutoManagedConnections && visibleConnectionAdapters.length === 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2 rounded-md border border-border bg-muted/30 px-3 py-2 text-xs text-muted-foreground", children: [
7535
+ /* @__PURE__ */ jsx(Icon, { icon: "mdi:shield-check", className: "mt-0.5 h-4 w-4 shrink-0" }),
7536
+ /* @__PURE__ */ jsxs("div", { children: [
7537
+ /* @__PURE__ */ jsx("div", { className: "font-medium text-card-foreground", children: "Connection handled automatically" }),
7538
+ /* @__PURE__ */ jsx("div", { children: "This node uses the workspace BigConsole app connection at run time. You only need to configure the DataSink target below." })
7539
+ ] })
7540
+ ] }),
7436
7541
  /* @__PURE__ */ jsxs("div", { className: "flex pt-5 flex-col", children: [
7437
7542
  /* @__PURE__ */ jsx("div", { className: "text-xs text-card-foreground/60 font-semibold", children: "Properties" }),
7438
7543
  resolvedUi ? /* @__PURE__ */ jsx(
@@ -21939,5 +22044,5 @@ function WorkflowBuilder() {
21939
22044
  }
21940
22045
 
21941
22046
  export { Card2 as Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ConfigSchemaForm, ConnectionFormDialog, ConnectionSelector, FluidGridsProvider, ProviderPicker, TemplateCard, WorkflowBuilder, getProviderForm, listCustomBlocks, registerCustomBlock, resolveUiSpec, stripSubmitActions, useConnection, useConnectionDialog, useConnections, useConnectionsByProvider, useCreateConnection, useFluidGridsContext, useImportWorkflowTemplate, useInitiateOAuth, useNodeExecution, useProviderByKey, useProviderCatalog, useProviders, useWorkflowTemplates };
21942
- //# sourceMappingURL=chunk-IOFNFGWT.js.map
21943
- //# sourceMappingURL=chunk-IOFNFGWT.js.map
22047
+ //# sourceMappingURL=chunk-DUTYRDBF.js.map
22048
+ //# sourceMappingURL=chunk-DUTYRDBF.js.map