@oomol-lab/open-flow 0.1.0-beta.60 → 0.1.0-beta.62

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,11 +1,11 @@
1
1
  import { i as __require, o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-CEgmsyvS.js";
2
- import { $t as DropdownMenuContent, A as datePickerValue, An as zh_TW_default$1, At as followWorkbenchLink, Bn as errorNotice, Bt as VirtualScrollArea, C as valueForEditor, Cn as Badge, D as calendarChange, Dn as createI18n$1, E as typeOfSchema, En as SourceSelect, F as feishuResourceKind, Fn as fr_default$1, Ft as PopoverPanelContent, G as semanticNodeIcon, Gt as Empty, H as resourceData, Ht as InputGroup, I as supportsFeishuChatFilter, In as en_default$1, It as PopoverTitle, J as providerIcon, Jt as EmptyHeader, K as triggerNodeIcon, Kn as resolutionOutputPorts, Kt as EmptyContent, Ln as I18n, Lt as PopoverTrigger, Mn as ru_default$1, Mt as PopoverContent, Nn as ko_default$1, Nt as PopoverDescription, O as calendarDate, On as uiLocales, P as indexAddNodeOptions, Pn as ja_default$1, Pt as PopoverHeader, Q as useIconifyData, Qn as triggerConfigValues, Qt as DropdownMenuCheckboxItem, R as mapSource, Rn as FeishuEventPicker, Rt as NativeScrollArea, S as schemaForEditor, Sn as useMenuRootContext, T as isUnconstrainedSchema, Tn as SourceForm, U as resourceValue, Ut as InputGroupAddon, V as observeResource, Vt as Z$2, W as designerGraph, Wn as decodeResultList, Wt as InputGroupInput, X as IconifyProvider, Xn as isJsonObject, Xt as EmptyTitle, Y as ContentIcon, Yn as triggerOutputDefinitions, Yt as EmptyMedia, Z as useIconifyCollectionLoader, Zn as triggerConfigValue, Zt as DropdownMenu, _n as MenuItem, _r as Checkbox, an as DropdownMenuSeparator, ar as openApiTask, b as editorComponent, bn as useContextMenuRootContext, cn as DropdownMenuSubTrigger, cr as serverAddress, ct as diagnosticNodeId, dn as findRootOwnerId, dt as connectionCatalog, en as DropdownMenuGroup, et as canCancelRun, fn as useCompositeItem, gn as MenuPopup, gr as controlErrorCode, hn as MenuPortal, in as DropdownMenuRadioItem, ir as openApiFieldIssues, j as isDateFormat, jn as zh_CN_default$1, jt as Popover, k as datePickerChange, kn as waitBranchDescription, kt as IdTooltip, ln as DropdownMenuTrigger, lr as servers, lt as schemaMismatchMessage, mn as MenuPositioner, n as agentTool, nn as DropdownMenuLabel, nr as listOperations, nt as revisionView, on as DropdownMenuSub, or as securityOptions, pn as MenuRoot, q as actionSummary, qn as sourceOutputLabel, qt as EmptyDescription, rn as DropdownMenuRadioGroup, rr as object, sn as DropdownMenuSubContent, sr as selectOperation, st as diagnosticMessage, tn as DropdownMenuItem, tt as hasRunFilter, un as isElementDisabled, ur as inputValue, vn as MenuGroup, vr as useAriaLabelledBy, w as getDefaultValue, x as editorGroups, xn as MenuRootContext, y as defaultValueEditorSchema, yn as ContextMenuRootContext, yr as IconThemeContext, zn as EventSourceSetup, zt as ScrollArea } from "./flowChanges-Cbl6Izr-.js";
2
+ import { $t as DropdownMenuContent, A as datePickerValue, An as zh_TW_default$1, At as followWorkbenchLink, Bn as errorNotice, Bt as VirtualScrollArea, C as valueForEditor, Cn as Badge, D as calendarChange, Dn as createI18n$1, E as typeOfSchema, En as SourceSelect, F as feishuResourceKind, Fn as fr_default$1, Ft as PopoverPanelContent, G as semanticNodeIcon, Gt as Empty, H as resourceData, Ht as InputGroup, I as supportsFeishuChatFilter, In as en_default$1, It as PopoverTitle, J as providerIcon, Jt as EmptyHeader, K as triggerNodeIcon, Kn as resolutionOutputPorts, Kt as EmptyContent, Ln as I18n, Lt as PopoverTrigger, Mn as ru_default$1, Mt as PopoverContent, Nn as ko_default$1, Nt as PopoverDescription, O as calendarDate, On as uiLocales, P as indexAddNodeOptions, Pn as ja_default$1, Pt as PopoverHeader, Q as useIconifyData, Qn as triggerConfigValues, Qt as DropdownMenuCheckboxItem, R as mapSource, Rn as FeishuEventPicker, Rt as NativeScrollArea, S as schemaForEditor, Sn as useMenuRootContext, T as isUnconstrainedSchema, Tn as SourceForm, U as resourceValue, Ut as InputGroupAddon, V as observeResource, Vt as Z$2, W as designerGraph, Wn as decodeResultList, Wt as InputGroupInput, X as IconifyProvider, Xn as isJsonObject, Xt as EmptyTitle, Y as ContentIcon, Yn as triggerOutputDefinitions, Yt as EmptyMedia, Z as useIconifyCollectionLoader, Zn as triggerConfigValue, Zt as DropdownMenu, _n as MenuItem, _r as Checkbox, an as DropdownMenuSeparator, ar as openApiTask, b as editorComponent, bn as useContextMenuRootContext, cn as DropdownMenuSubTrigger, cr as serverAddress, ct as diagnosticNodeId, dn as findRootOwnerId, dt as connectionCatalog, en as DropdownMenuGroup, et as canCancelRun, fn as useCompositeItem, gn as MenuPopup, gr as controlErrorCode, hn as MenuPortal, in as DropdownMenuRadioItem, ir as openApiFieldIssues, j as isDateFormat, jn as zh_CN_default$1, jt as Popover, k as datePickerChange, kn as waitBranchDescription, kt as IdTooltip, ln as DropdownMenuTrigger, lr as servers, lt as schemaMismatchMessage, mn as MenuPositioner, n as agentTool, nn as DropdownMenuLabel, nr as listOperations, nt as revisionView, on as DropdownMenuSub, or as securityOptions, pn as MenuRoot, q as actionSummary, qn as sourceOutputLabel, qt as EmptyDescription, rn as DropdownMenuRadioGroup, rr as object, sn as DropdownMenuSubContent, sr as selectOperation, st as diagnosticMessage, tn as DropdownMenuItem, tt as hasRunFilter, un as isElementDisabled, ur as inputValue, vn as MenuGroup, vr as useAriaLabelledBy, w as getDefaultValue, x as editorGroups, xn as MenuRootContext, y as defaultValueEditorSchema, yn as ContextMenuRootContext, yr as IconThemeContext, zn as EventSourceSetup, zt as ScrollArea } from "./flowChanges-CzYIVevI.js";
3
3
  import { a as derive, c as strictEqual, i as compute, l as val, n as attachSetter, r as combine, s as readonlyVal } from "./dist-bO8nvHFH.js";
4
4
  import { c as useLang, i as isString, l as useTranslate, n as isBoolean, o as I18nProvider, r as isPlainObject, s as useI18n, t as isArray$1, u as useVal } from "./dist-BFmpkX4P.js";
5
- import { $ as operandHandle, $r as itemPress, $t as useDirection, A as webhookSupportsBody, Ai as CompositeRootContext, Ar as ownerDocument, At as useCompositeListItem, B as variableInputCompatible, Bt as HORIZONTAL_KEYS_WITH_EXTRA_KEYS, C as FieldDescription, Ci as useRenderElement, Cr as isInteractiveElement, Ct as SelectGroup, Dr as isAndroid, Dt as SelectValue, E as FieldLabel, Ei as NOOP, En as useFloatingRootContext, Er as getTarget, Et as SelectTrigger, F as defaultDecisionQuestion, Fn as useClick, Fr as useTransitionStatus, Ft as ARROW_RIGHT, G as nodeNameIssue, Gn as DROPDOWN_COLLISION_AVOIDANCE, Gr as clearPress, Gt as scrollIntoViewIfNeeded, Hr as createChangeEventDetails, Ht as VERTICAL_KEYS, I as limitDecisionQuestions, Ii as useStableCallback, In as FloatingFocusManager, Ir as useOpenChangeComplete, It as ARROW_UP, Jn as addEventListener, Jt as usePositioner, Kr as closePress, Li as useRefWithInit, Mi as formatErrorMessage, Mr as ChevronDown, Mt as ARROW_DOWN, N as decisionQuestionIssues, Ni as mergeProps, Nt as ARROW_KEYS, O as decodeRevisionContent, Oi as useMergedRefs, Or as isFirefox, P as decisionTask, Pi as useIsoLayoutEffect, Pn as useDismiss, Pr as createLucideIcon, Pt as ARROW_LEFT, Q as nodeInputMappings, Qr as inputPress, R as matchesSchema, Rr as TransitionStatusDataAttributes, S as Field, Si as clsx, Sr as stopEvent$1, St as SelectContent, T as FieldGroup, Ti as EMPTY_OBJECT, Tr as contains, Tt as SelectSeparator, Un as FloatingPortal, Ur as createGenericEventDetails, Ut as VERTICAL_KEYS_WITH_EXTRA_KEYS, Vr as useValueChanged, Vt as MODIFIER_KEYS, Wr as cancelOpen, Wt as isNativeInput, Xn as Store, Xr as inputChange, Xt as InternalBackdrop, Y as comparisonIssue, Yt as getDisabledMountTransitionStyles, Zn as useStore$1, Zr as inputClear, Zt as useAnchorPositioning, _ as TooltipPositioner, _i as useControlled, _r as getGridNavigatedIndex, a as DialogDescription, an as triggerOpenStateMapping, ar as Label, at as dequal, b as TooltipRoot, bi as cn$1, bn as useListNavigation, br as isIndexOutOfListBounds, bt as Select$1, c as DialogTitle, ci as useFormContext, cn as hasNullItemLabel, cr as useTimeout, d as TooltipContent, di as useBaseUiId, dn as stringifyAsValue, ei as listNavigation, en as CompositeList, er as require_with_selector, et as operatorsForType, f as TooltipProvider, fi as useId$1, fn as compareItemEquality, g as TooltipPopup, gi as visuallyHiddenInput, gn as selectedValueIncludes, gr as getGridCellIndices, h as TooltipArrow, hi as visuallyHidden, hn as removeItem, hr as getGridCellIndexOfCorner, i as DialogContent, in as pressableTriggerOpenStateMapping, ir as useOnFirstRender, j as decisionLimits, jr as useLabelableId, jt as ALL_KEYS, k as webhookMethods, ki as useButton, kt as IndexGuessBehavior, l as DialogTrigger, li as useRegisterFieldControl, ln as isGroupedItems, m as createTooltipHandle, mi as fieldValidityMapping, mn as findItemIndex, mr as findNonDisabledListIndex, n as Dialog, nn as getPseudoElementBounds, nr as createSelector, nt as unaryOperator, oi as triggerPress, on as resolveAriaLabelledBy, or as Input$1, p as TooltipTrigger, pi as DEFAULT_FIELD_STATE_ATTRIBUTES, pn as defaultItemEquality, pr as createGridCellMap, qr as escapeKey, qt as useAnchoredPopupScrollLock, rn as popupStateMapping, rr as useValueAsRef, rt as valueType, si as useLabelableContext, sn as useOpenInteractionType, t as Icon, ti as none$1, tn as inertValue, tr as require_builtin_esm_external_require_react, u as Tooltip, ui as useFieldRootContext, un as stringifyAsLabel, v as TooltipPortal, vi as Button$1, vn as useTypeahead, vr as getMaxListIndex, vt as string, w as FieldError, wi as EMPTY_ARRAY$1, wr as activeElement, wt as SelectItem, x as Spinner, xi as cva, xn as useInteractions, xr as isListIndexDisabled, xt as SelectChevron, y as TooltipTrigger$1, yi as buttonVariants, yr as getMinListIndex, z as schemaObject, zi as isElement, zr as transitionStatusMapping, zt as HORIZONTAL_KEYS } from "./icons-D70mz3qW.js";
5
+ import { $r as inputPress, Ai as useButton, At as IndexGuessBehavior, Bi as isElement, Br as transitionStatusMapping, Bt as HORIZONTAL_KEYS, C as FieldDescription, Ci as clsx, Cr as stopEvent$1, Ct as SelectContent, Di as NOOP, Dn as useFloatingRootContext, Dr as getTarget, Dt as SelectTrigger, E as FieldLabel, Ei as EMPTY_OBJECT, Er as contains, Et as SelectSeparator, Fi as useIsoLayoutEffect, Fn as useDismiss, Fr as createLucideIcon, Ft as ARROW_LEFT, Gr as cancelOpen, Gt as isNativeInput, Hr as useValueChanged, Ht as MODIFIER_KEYS, I as matchesSchema, In as useClick, Ir as useTransitionStatus, It as ARROW_RIGHT, Jr as escapeKey, Jt as useAnchoredPopupScrollLock, Kn as DROPDOWN_COLLISION_AVOIDANCE, Kr as clearPress, Kt as scrollIntoViewIfNeeded, L as schemaObject, Li as useStableCallback, Ln as FloatingFocusManager, Lr as useOpenChangeComplete, Lt as ARROW_UP, M as decisionTask, Mr as useLabelableId, Mt as ALL_KEYS, N as defaultDecisionQuestion, Ni as formatErrorMessage, Nr as ChevronDown, Nt as ARROW_DOWN, O as decodeRevisionContent, Or as isAndroid, Ot as SelectValue, P as limitDecisionQuestions, Pi as mergeProps, Pt as ARROW_KEYS, Q as operatorsForType, Qn as useStore$1, Qr as inputClear, Qt as useAnchorPositioning, R as variableInputCompatible, Ri as useRefWithInit, S as Field, Si as cva, Sn as useInteractions, Sr as isListIndexDisabled, St as SelectChevron, T as FieldGroup, Ti as EMPTY_ARRAY$1, Tr as activeElement, Tt as SelectItem, U as nodeNameIssue, Ur as createChangeEventDetails, Ut as VERTICAL_KEYS, Vt as HORIZONTAL_KEYS_WITH_EXTRA_KEYS, Wn as FloatingPortal, Wr as createGenericEventDetails, Wt as VERTICAL_KEYS_WITH_EXTRA_KEYS, X as nodeInputMappings, Xt as getDisabledMountTransitionStyles, Yn as addEventListener, Yt as usePositioner, Z as operandHandle, Zn as Store, Zr as inputChange, Zt as InternalBackdrop, _ as TooltipPositioner, _i as visuallyHiddenInput, _n as selectedValueIncludes, _r as getGridCellIndices, a as DialogDescription, an as pressableTriggerOpenStateMapping, ar as useOnFirstRender, at as webhookSupportsBody, b as TooltipRoot, bi as buttonVariants, br as getMinListIndex, c as DialogTitle, ci as useLabelableContext, cn as useOpenInteractionType, d as TooltipContent, di as useFieldRootContext, dn as stringifyAsLabel, ei as itemPress, en as useDirection, et as unaryOperator, f as TooltipProvider, fi as useBaseUiId, fn as stringifyAsValue, g as TooltipPopup, gi as visuallyHidden, gn as removeItem, gr as getGridCellIndexOfCorner, h as TooltipArrow, hi as fieldValidityMapping, hn as findItemIndex, hr as findNonDisabledListIndex, i as DialogContent, in as popupStateMapping, ir as useValueAsRef, it as webhookMethods, j as decisionQuestionIssues, ji as CompositeRootContext, jr as ownerDocument, jt as useCompositeListItem, k as decisionLimits, ki as useMergedRefs, kr as isFirefox, l as DialogTrigger, li as useFormContext, ln as hasNullItemLabel, lr as useTimeout, m as createTooltipHandle, mi as DEFAULT_FIELD_STATE_ATTRIBUTES, mn as defaultItemEquality, mr as createGridCellMap, n as Dialog, ni as none$1, nn as inertValue, nr as require_builtin_esm_external_require_react, on as triggerOpenStateMapping, or as Label, p as TooltipTrigger, pi as useId$1, pn as compareItemEquality, q as comparisonIssue, qr as closePress, rn as getPseudoElementBounds, rr as createSelector, rt as dequal, si as triggerPress, sn as resolveAriaLabelledBy, sr as Input$1, t as Icon, ti as listNavigation, tn as CompositeList, tr as require_with_selector, tt as valueType, u as Tooltip, ui as useRegisterFieldControl, un as isGroupedItems, v as TooltipPortal, vi as useControlled, vr as getGridNavigatedIndex, vt as string, w as FieldError, wi as useRenderElement, wr as isInteractiveElement, wt as SelectGroup, x as Spinner, xi as cn$1, xn as useListNavigation, xr as isIndexOutOfListBounds, xt as Select$1, y as TooltipTrigger$1, yi as Button$1, yn as useTypeahead, yr as getMaxListIndex, zr as TransitionStatusDataAttributes } from "./icons-CajfDpy_.js";
6
6
  import { a as renameObjectField, i as objectValue, l as resolveUiLanguage, n as isJsonValue, o as setObjectField, r as jsonDataTypes, s as valueType$1, t as initialValue } from "./value-DL_poNiC.js";
7
7
  import { n as compile, r as validate } from "./flowRunInputEditorStore-Dsxyfwae.js";
8
- import { t as WorkbenchSelect } from "./workbenchSelect-gB45mZY7.js";
8
+ import { t as WorkbenchSelect } from "./workbenchSelect-H9wzEFkH.js";
9
9
  import * as React from "react";
10
10
  import reactExports, { Children, Fragment, Suspense, createContext, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
11
11
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -33884,6 +33884,160 @@ function TriggerSummary({ trigger, display }) {
33884
33884
  });
33885
33885
  }
33886
33886
  //#endregion
33887
+ //#region src/workbench/browser/runtime/publications/triggerStatus.tsx
33888
+ function triggerLabel(binding, enabled, t) {
33889
+ if (binding.currentPublicationId == null) return t("publication.retired");
33890
+ if (!enabled) return t("publication.suspended");
33891
+ if (binding.listener?.health == "healthy" && (binding.health == "failed" || binding.health == "needs_reauth")) return t("publication.listenerDegraded");
33892
+ switch (binding.listener?.health == "failed" || binding.listener?.health == "needs_reauth" ? binding.listener.health : binding.health) {
33893
+ case "healthy": return t("publication.active");
33894
+ case "failed": return t("publication.failed");
33895
+ case "needs_reauth": return t("publication.needsReauth");
33896
+ case "initializing": return t("publication.reconciling");
33897
+ case "suspended": return t("publication.suspended");
33898
+ }
33899
+ }
33900
+ function triggerClass(binding, enabled) {
33901
+ if (binding.currentPublicationId == null || !enabled) return "neutral";
33902
+ if (binding.listener?.health == "healthy" && (binding.health == "failed" || binding.health == "needs_reauth")) return "running";
33903
+ switch (binding.listener?.health == "failed" || binding.listener?.health == "needs_reauth" ? binding.listener.health : binding.health) {
33904
+ case "healthy": return "success";
33905
+ case "failed":
33906
+ case "needs_reauth": return "danger";
33907
+ case "initializing": return "running";
33908
+ case "suspended": return "neutral";
33909
+ }
33910
+ }
33911
+ function TriggerStatus({ binding, enabled }) {
33912
+ const t = useTranslate();
33913
+ return /* @__PURE__ */ jsx("span", {
33914
+ className: "trigger-binding-state " + triggerClass(binding, enabled),
33915
+ children: triggerLabel(binding, enabled, t)
33916
+ });
33917
+ }
33918
+ function ListenerHealth({ binding, enabled }) {
33919
+ const t = useTranslate();
33920
+ if (binding.listener == null || binding.currentPublicationId == null || !enabled) return null;
33921
+ return /* @__PURE__ */ jsxs("p", {
33922
+ className: "trigger-recovery",
33923
+ children: [t(binding.listener.health == "healthy" ? "publication.listenerScanning" : binding.listener.health == "needs_reauth" ? "publication.needsReauthDescription" : "publication.listenerScanFailed"), binding.listener.lastErrorCode == null ? "" : ` (${binding.listener.lastErrorCode})`]
33924
+ });
33925
+ }
33926
+ //#endregion
33927
+ //#region src/workbench/browser/runtime/publications/webhookEndpoint.tsx
33928
+ function WebhookCopyButton({ endpointUrl, iconOnly = false }) {
33929
+ const t = useTranslate();
33930
+ const [copyResult, setCopyResult] = useState();
33931
+ const [container, setContainer] = useState(null);
33932
+ useEffect(() => {
33933
+ if (copyResult !== "copied") return;
33934
+ const timer = globalThis.setTimeout(() => setCopyResult(void 0), 1500);
33935
+ return () => globalThis.clearTimeout(timer);
33936
+ }, [copyResult]);
33937
+ const label = t(copyResult === "copied" ? "publication.webhookCopied" : copyResult === "failed" ? "webhookDeployment.copyFailed" : "publication.webhookCopy");
33938
+ const copy = async () => {
33939
+ try {
33940
+ await navigator.clipboard.writeText(endpointUrl);
33941
+ setCopyResult("copied");
33942
+ } catch {
33943
+ setCopyResult("failed");
33944
+ }
33945
+ };
33946
+ return /* @__PURE__ */ jsxs("span", {
33947
+ className: "inline-flex shrink-0 flex-col gap-2",
33948
+ ref: setContainer,
33949
+ children: [iconOnly ? /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
33950
+ render: /* @__PURE__ */ jsx(Button$1, {
33951
+ "aria-label": label,
33952
+ size: "icon-sm",
33953
+ variant: "ghost",
33954
+ onClick: copy
33955
+ }),
33956
+ children: /* @__PURE__ */ jsx("i", {
33957
+ "aria-hidden": "true",
33958
+ className: copyResult === "copied" ? "i-lucide-light:check text-base" : "i-lucide-light:copy text-base"
33959
+ })
33960
+ }), /* @__PURE__ */ jsx(TooltipContent, {
33961
+ container,
33962
+ side: "bottom",
33963
+ align: "end",
33964
+ children: label
33965
+ })] }) : /* @__PURE__ */ jsx(Button$1, {
33966
+ size: "sm",
33967
+ variant: "outline",
33968
+ onClick: copy,
33969
+ children: t(copyResult === "copied" ? "publication.webhookCopied" : "publication.webhookCopy")
33970
+ }), /* @__PURE__ */ jsx("span", {
33971
+ className: iconOnly || copyResult !== "failed" ? "sr-only" : "text-xs text-destructive",
33972
+ role: "status",
33973
+ children: copyResult == null ? "" : label
33974
+ })]
33975
+ });
33976
+ }
33977
+ function WebhookEndpoint({ endpointUrl }) {
33978
+ return /* @__PURE__ */ jsxs("div", {
33979
+ className: "flex min-w-0 items-start gap-2",
33980
+ children: [/* @__PURE__ */ jsx("code", {
33981
+ className: "min-w-0 flex-1 select-text break-all text-foreground text-xs leading-5",
33982
+ children: endpointUrl
33983
+ }), /* @__PURE__ */ jsx(WebhookCopyButton, { endpointUrl }, endpointUrl)]
33984
+ });
33985
+ }
33986
+ //#endregion
33987
+ //#region src/workbench/browser/runtime/editor/webhookDeployment.tsx
33988
+ function WebhookDeployment({ binding, status, enabled, hasUnpublishedChanges, onRetry }) {
33989
+ const t = useTranslate();
33990
+ const current = binding?.currentPublicationId != null;
33991
+ const ready = status === "loaded" && current;
33992
+ return /* @__PURE__ */ jsx(InspectorSection, {
33993
+ title: /* @__PURE__ */ jsxs("span", {
33994
+ className: "flex w-full items-center justify-between gap-2",
33995
+ children: [/* @__PURE__ */ jsxs("span", {
33996
+ className: "flex flex-wrap items-center gap-2",
33997
+ children: [/* @__PURE__ */ jsx("span", { children: t("webhookDeployment.title") }), ready && /* @__PURE__ */ jsx(TriggerStatus, {
33998
+ binding,
33999
+ enabled
34000
+ })]
34001
+ }), ready && binding.endpointUrl != null && /* @__PURE__ */ jsx(WebhookCopyButton, {
34002
+ endpointUrl: binding.endpointUrl,
34003
+ iconOnly: true
34004
+ }, binding.endpointUrl)]
34005
+ }),
34006
+ children: /* @__PURE__ */ jsx("div", {
34007
+ className: "flex min-w-0 flex-col gap-2 text-xs",
34008
+ children: status === "failed" ? /* @__PURE__ */ jsxs("div", {
34009
+ className: "flex items-center justify-between gap-2",
34010
+ role: "status",
34011
+ children: [/* @__PURE__ */ jsx("span", {
34012
+ className: "text-muted-foreground",
34013
+ children: t("webhookDeployment.loadFailed")
34014
+ }), /* @__PURE__ */ jsx(Button$1, {
34015
+ size: "sm",
34016
+ variant: "outline",
34017
+ onClick: onRetry,
34018
+ children: t("connectorAccess.retry")
34019
+ })]
34020
+ }) : status !== "loaded" ? /* @__PURE__ */ jsx("p", {
34021
+ className: "m-0 text-muted-foreground",
34022
+ role: "status",
34023
+ children: t("publication.loadingTrigger")
34024
+ }) : !current ? /* @__PURE__ */ jsx("p", {
34025
+ className: "m-0 text-muted-foreground",
34026
+ children: t("webhookDeployment.unpublished")
34027
+ }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [binding.endpointUrl != null ? /* @__PURE__ */ jsx("code", {
34028
+ className: "min-w-0 select-text break-all text-foreground text-xs leading-5",
34029
+ children: binding.endpointUrl
34030
+ }) : /* @__PURE__ */ jsx("p", {
34031
+ className: "m-0 text-muted-foreground",
34032
+ children: t("webhookDeployment.pending")
34033
+ }), hasUnpublishedChanges && /* @__PURE__ */ jsx("p", {
34034
+ className: "m-0 text-muted-foreground",
34035
+ children: t("webhookDeployment.unpublishedChanges")
34036
+ })] })
34037
+ })
34038
+ });
34039
+ }
34040
+ //#endregion
33887
34041
  //#region src/workbench/browser/runtime/editor/webhookEditor.tsx
33888
34042
  function deferInspection(check, signal) {
33889
34043
  return new Promise((resolve, reject) => {
@@ -34293,7 +34447,7 @@ function inputUpstreamSources({ revision, sourceNodeIcons, selection, store, han
34293
34447
  }
34294
34448
  };
34295
34449
  }
34296
- function NodeInspector({ variables = {
34450
+ function NodeInspector({ webhookDeployment, variables = {
34297
34451
  enabled: false,
34298
34452
  loaded: false,
34299
34453
  loading: false,
@@ -34341,6 +34495,7 @@ function NodeInspector({ variables = {
34341
34495
  className: "inspector-content",
34342
34496
  ref: content,
34343
34497
  children: [
34498
+ selection?.kind === "trigger" && selection.trigger.kind === "webhook" && webhookDeployment != null && /* @__PURE__ */ jsx(WebhookDeployment, { ...webhookDeployment }, selection.id),
34344
34499
  readOnly && connector != null && /* @__PURE__ */ jsx(SavedConnectionReference, {
34345
34500
  action: connector.action,
34346
34501
  connectionId: connector.connectionId
@@ -53563,18 +53718,6 @@ function WorkbenchCanvasActions({ addNodeControl, history, pickerOpen, disabled,
53563
53718
  }
53564
53719
  //#endregion
53565
53720
  //#region src/workbench/browser/runtime/publications/liveTriggers.tsx
53566
- function triggerLabel(binding, t) {
53567
- if (binding.currentPublicationId == null) return t("publication.retired");
53568
- if (binding.operatorState == "paused") return t("publication.suspended");
53569
- if (binding.listener?.health == "healthy" && (binding.health == "failed" || binding.health == "needs_reauth")) return t("publication.listenerDegraded");
53570
- switch (binding.listener?.health == "failed" || binding.listener?.health == "needs_reauth" ? binding.listener.health : binding.health) {
53571
- case "healthy": return t("publication.active");
53572
- case "failed": return t("publication.failed");
53573
- case "needs_reauth": return t("publication.needsReauth");
53574
- case "initializing": return t("publication.reconciling");
53575
- case "suspended": return t("publication.suspended");
53576
- }
53577
- }
53578
53721
  function activityLabel(kind, t) {
53579
53722
  switch (kind) {
53580
53723
  case "delivery.failed": return t("publication.activityDeliveryFailed");
@@ -53590,32 +53733,6 @@ function triggerName(binding, revision) {
53590
53733
  if (revision == null || binding.currentRevisionId != revision.revision.revisionId) return binding.triggerNodeId;
53591
53734
  return revision.trigger(binding.triggerNodeId)?.name ?? binding.triggerNodeId;
53592
53735
  }
53593
- function triggerClass(binding) {
53594
- if (binding.currentPublicationId == null || binding.operatorState == "paused") return "neutral";
53595
- if (binding.listener?.health == "healthy" && (binding.health == "failed" || binding.health == "needs_reauth")) return "running";
53596
- switch (binding.listener?.health == "failed" || binding.listener?.health == "needs_reauth" ? binding.listener.health : binding.health) {
53597
- case "healthy": return "success";
53598
- case "failed":
53599
- case "needs_reauth": return "danger";
53600
- case "initializing": return "running";
53601
- case "suspended": return "neutral";
53602
- }
53603
- }
53604
- function TriggerStatus({ binding }) {
53605
- const t = useTranslate();
53606
- return /* @__PURE__ */ jsx("span", {
53607
- className: "trigger-binding-state " + triggerClass(binding),
53608
- children: triggerLabel(binding, t)
53609
- });
53610
- }
53611
- function ListenerHealth({ binding }) {
53612
- const t = useTranslate();
53613
- if (binding.listener == null || binding.currentPublicationId == null || binding.operatorState == "paused") return null;
53614
- return /* @__PURE__ */ jsxs("p", {
53615
- className: "trigger-recovery",
53616
- children: [t(binding.listener.health == "healthy" ? "publication.listenerScanning" : binding.listener.health == "needs_reauth" ? "publication.needsReauthDescription" : "publication.listenerScanFailed"), binding.listener.lastErrorCode == null ? "" : ` (${binding.listener.lastErrorCode})`]
53617
- });
53618
- }
53619
53736
  function LiveTriggers({ store }) {
53620
53737
  const language = useLang();
53621
53738
  const t = useTranslate();
@@ -53624,17 +53741,14 @@ function LiveTriggers({ store }) {
53624
53741
  const activitiesLoading = useVal(store.publications.$.activitiesLoading);
53625
53742
  const activitiesLoadingMore = useVal(store.publications.$.activitiesLoadingMore);
53626
53743
  const activitiesNextCursor = useVal(store.publications.$.activitiesNextCursor);
53627
- const bindings = useVal(store.publications.$.bindings);
53744
+ const { bindings } = useVal(store.publications.$.bindings);
53628
53745
  const detail = useVal(store.publications.$.detail);
53629
53746
  const detailLoading = useVal(store.publications.$.detailLoading);
53630
53747
  const selectedTriggerId = useVal(store.publications.$.selectedTriggerId);
53631
53748
  const testingTriggerId = useVal(store.publications.$.testingTriggerId);
53632
53749
  const testResult = useVal(store.publications.$.testResult);
53633
- const busy = useVal(store.$.busy);
53634
- const changingTriggerId = useVal(store.publications.$.changingTriggerId);
53750
+ const enabled = useVal(store.workspace.$.live)?.status == "runnable";
53635
53751
  const revision = useVal(store.workspace.$.revision);
53636
- const [copiedEndpoint, setCopiedEndpoint] = useState();
53637
- useEffect(() => setCopiedEndpoint(void 0), [detail?.binding.endpointUrl]);
53638
53752
  const [root, setRoot] = useState(null);
53639
53753
  const opener = useRef(null);
53640
53754
  const portal = useCallback((element) => setRoot(element?.closest(".open-flow-workbench") ?? null), []);
@@ -53655,41 +53769,32 @@ function LiveTriggers({ store }) {
53655
53769
  }) : /* @__PURE__ */ jsx("ul", {
53656
53770
  className: "trigger-binding-list",
53657
53771
  children: bindings.map((binding) => {
53658
- const changing = changingTriggerId == binding.triggerNodeId;
53659
- const resumable = binding.operatorState == "paused";
53660
53772
  return /* @__PURE__ */ jsxs("li", {
53661
53773
  className: "trigger-binding-row",
53662
- children: [
53663
- /* @__PURE__ */ jsxs(Button$1, {
53664
- className: "trigger-binding-open",
53665
- "aria-haspopup": "dialog",
53666
- onClick: (event) => {
53667
- opener.current = event.currentTarget;
53668
- store.publications.openTrigger(binding.triggerNodeId);
53669
- },
53670
- variant: "ghost",
53671
- size: "sm",
53672
- children: [/* @__PURE__ */ jsx("span", { className: `status-dot mr-1 ${triggerClass(binding)}` }), /* @__PURE__ */ jsxs("span", {
53673
- className: "trigger-binding-label",
53674
- children: [/* @__PURE__ */ jsx("span", {
53675
- className: "trigger-binding-name",
53676
- title: binding.triggerNodeId,
53677
- children: triggerName(binding, revision)
53678
- }), /* @__PURE__ */ jsx("span", {
53679
- className: "trigger-binding-kind",
53680
- children: binding.kind
53681
- })]
53774
+ children: [/* @__PURE__ */ jsxs(Button$1, {
53775
+ className: "trigger-binding-open",
53776
+ "aria-haspopup": "dialog",
53777
+ onClick: (event) => {
53778
+ opener.current = event.currentTarget;
53779
+ store.publications.openTrigger(binding.triggerNodeId);
53780
+ },
53781
+ variant: "ghost",
53782
+ size: "sm",
53783
+ children: [/* @__PURE__ */ jsx("span", { className: `status-dot mr-1 ${triggerClass(binding, enabled)}` }), /* @__PURE__ */ jsxs("span", {
53784
+ className: "trigger-binding-label",
53785
+ children: [/* @__PURE__ */ jsx("span", {
53786
+ className: "trigger-binding-name",
53787
+ title: binding.triggerNodeId,
53788
+ children: triggerName(binding, revision)
53789
+ }), /* @__PURE__ */ jsx("span", {
53790
+ className: "trigger-binding-kind",
53791
+ children: binding.kind
53682
53792
  })]
53683
- }),
53684
- /* @__PURE__ */ jsx(TriggerStatus, { binding }),
53685
- binding.currentPublicationId != null && /* @__PURE__ */ jsx(Button$1, {
53686
- disabled: busy != null,
53687
- onClick: () => void store.publications.toggleTrigger(binding),
53688
- size: "sm",
53689
- variant: "outline",
53690
- children: t(changing ? resumable ? "publication.resumingTrigger" : "publication.pausingTrigger" : resumable ? "publication.resumeTrigger" : "publication.pauseTrigger")
53691
- })
53692
- ]
53793
+ })]
53794
+ }), /* @__PURE__ */ jsx(TriggerStatus, {
53795
+ binding,
53796
+ enabled
53797
+ })]
53693
53798
  }, binding.triggerNodeId);
53694
53799
  })
53695
53800
  }),
@@ -53715,30 +53820,21 @@ function LiveTriggers({ store }) {
53715
53820
  /* @__PURE__ */ jsxs("dl", { children: [
53716
53821
  /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.triggerKind") }), /* @__PURE__ */ jsx("dd", { children: detail.binding.kind })] }),
53717
53822
  /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.runtimeVersion") }), /* @__PURE__ */ jsx("dd", { children: detail.binding.runtimeVersion })] }),
53718
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.triggerHealth") }), /* @__PURE__ */ jsx("dd", { children: triggerLabel(detail.binding, t) })] }),
53719
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.operatorState") }), /* @__PURE__ */ jsx("dd", { children: t(detail.binding.operatorState == "paused" ? "publication.suspended" : "publication.active") })] }),
53823
+ /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.triggerHealth") }), /* @__PURE__ */ jsx("dd", { children: triggerLabel(detail.binding, enabled, t) })] }),
53720
53824
  /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.updatedAt") }), /* @__PURE__ */ jsx("dd", { children: new Date(detail.binding.updatedAt).toLocaleString(language) })] }),
53721
53825
  detail.binding.lastErrorCode != null && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: t("publication.lastError") }), /* @__PURE__ */ jsx("dd", { children: detail.binding.lastErrorCode })] })
53722
53826
  ] }),
53723
- /* @__PURE__ */ jsx(ListenerHealth, { binding: detail.binding }),
53827
+ /* @__PURE__ */ jsx(ListenerHealth, {
53828
+ binding: detail.binding,
53829
+ enabled
53830
+ }),
53724
53831
  detail.binding.health == "needs_reauth" && /* @__PURE__ */ jsx("p", {
53725
53832
  className: "trigger-recovery",
53726
53833
  children: t("publication.needsReauthDescription")
53727
53834
  }),
53728
53835
  detail.binding.endpointUrl != null && /* @__PURE__ */ jsxs("div", {
53729
53836
  className: "trigger-webhook",
53730
- children: [/* @__PURE__ */ jsx("span", { children: t("publication.webhookUrl") }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("code", {
53731
- title: detail.binding.endpointUrl,
53732
- children: detail.binding.endpointUrl
53733
- }), /* @__PURE__ */ jsx(Button$1, {
53734
- onClick: async () => {
53735
- await navigator.clipboard.writeText(detail.binding.endpointUrl);
53736
- setCopiedEndpoint(detail.binding.endpointUrl);
53737
- },
53738
- size: "sm",
53739
- variant: "outline",
53740
- children: t(copiedEndpoint == detail.binding.endpointUrl ? "publication.webhookCopied" : "publication.webhookCopy")
53741
- })] })]
53837
+ children: [/* @__PURE__ */ jsx("span", { children: t("publication.webhookUrl") }), /* @__PURE__ */ jsx(WebhookEndpoint, { endpointUrl: detail.binding.endpointUrl }, detail.binding.endpointUrl)]
53742
53838
  }),
53743
53839
  /* @__PURE__ */ jsxs("div", {
53744
53840
  className: "trigger-binding-detail-sections",
@@ -57519,6 +57615,17 @@ function RunDrawerContainer({ onOpenRuns, onClose, onConfigureConnector, open, s
57519
57615
  var NodeInspectorContainer = memo(function NodeInspectorContainer({ store, focus, disabled, revision, selection, theme }) {
57520
57616
  const t = useTranslate();
57521
57617
  const language = useLang();
57618
+ const bindings = useVal(store.publications.$.bindings);
57619
+ const live = useVal(store.workspace.$.live);
57620
+ const webhookId = selection?.kind == "trigger" && selection.trigger.kind == "webhook" ? selection.id : void 0;
57621
+ const flowId = revision.revision.flowId;
57622
+ useEffect(() => {
57623
+ if (webhookId != null) store.publications.loadBindings(flowId);
57624
+ }, [
57625
+ store,
57626
+ flowId,
57627
+ webhookId
57628
+ ]);
57522
57629
  const variableNames = useVal(store.$.variableNames);
57523
57630
  const variableNamesLoaded = useVal(store.$.variableNamesLoaded);
57524
57631
  const variableNamesLoading = useVal(store.$.variableNamesLoading);
@@ -57567,6 +57674,13 @@ var NodeInspectorContainer = memo(function NodeInspectorContainer({ store, focus
57567
57674
  store.triggers.catalog.get();
57568
57675
  }, [language, store]);
57569
57676
  return /* @__PURE__ */ jsx(NodeInspector, {
57677
+ webhookDeployment: webhookId == null ? void 0 : {
57678
+ binding: bindings.bindings.find((binding) => binding.flowId == flowId && binding.triggerNodeId == webhookId && binding.kind == "webhook"),
57679
+ status: bindings.flowId === flowId ? bindings.status : "idle",
57680
+ enabled: live?.status == "runnable",
57681
+ hasUnpublishedChanges: live?.hasUnpublishedChanges ?? false,
57682
+ onRetry: () => void store.publications.loadBindings(flowId)
57683
+ },
57570
57684
  variables: {
57571
57685
  enabled: store.variablesEnabled,
57572
57686
  names: variableNames,
@@ -20513,6 +20513,18 @@ function preprocess(fn, schema) {
20513
20513
  });
20514
20514
  }
20515
20515
  //#endregion
20516
+ //#region src/flow/common/webhookMethod.ts
20517
+ var webhookMethods = [
20518
+ "GET",
20519
+ "POST",
20520
+ "PUT",
20521
+ "PATCH",
20522
+ "DELETE"
20523
+ ];
20524
+ function webhookSupportsBody(method) {
20525
+ return method !== "GET";
20526
+ }
20527
+ //#endregion
20516
20528
  //#region ../../node_modules/.bun/dequal@2.0.3/node_modules/dequal/lite/index.mjs
20517
20529
  var has = Object.prototype.hasOwnProperty;
20518
20530
  function dequal(foo, bar) {
@@ -25413,18 +25425,6 @@ var triggerScheduleSchema = array(union([object({
25413
25425
  ]),
25414
25426
  value: number()
25415
25427
  })]));
25416
- //#endregion
25417
- //#region src/flow/common/webhookMethod.ts
25418
- var webhookMethods = [
25419
- "GET",
25420
- "POST",
25421
- "PUT",
25422
- "PATCH",
25423
- "DELETE"
25424
- ];
25425
- function webhookSupportsBody(method) {
25426
- return method !== "GET";
25427
- }
25428
25428
  var text = string();
25429
25429
  var json = json$1();
25430
25430
  var strings = array(text);
@@ -27511,4 +27511,4 @@ function Icon({ name, size = 18, ...props }) {
27511
27511
  });
27512
27512
  }
27513
27513
  //#endregion
27514
- export { operandHandle as $, fastComponentRef as $n, itemPress as $r, useDirection as $t, webhookSupportsBody as A, CompositeRootContext as Ai, useImplicitActiveTrigger as An, ownerDocument as Ar, useCompositeListItem as At, variableInputCompatible as B, isHTMLElement as Bi, useFloatingParentNodeId as Bn, useOnMount as Br, HORIZONTAL_KEYS_WITH_EXTRA_KEYS as Bt, FieldDescription as C, useRenderElement as Ci, useHoverFloatingInteraction as Cn, isInteractiveElement as Cr, SelectGroup as Ct, authoringDefinitionSchemas as D, warn as Di, createInitialPopupStoreState as Dn, isAndroid as Dr, SelectValue as Dt, FieldLabel as E, NOOP as Ei, useFloatingRootContext as En, getTarget as Er, SelectTrigger as Et, defaultDecisionQuestion as F, SafeReact as Fi, useClick as Fn, useTransitionStatus as Fr, ARROW_RIGHT as Ft, nodeNameIssue as G, DROPDOWN_COLLISION_AVOIDANCE as Gn, clearPress as Gr, scrollIntoViewIfNeeded as Gt, applyFlowChanges as H, FloatingTreeStore as Hn, createChangeEventDetails as Hr, VERTICAL_KEYS as Ht, limitDecisionQuestions as I, useStableCallback as Ii, FloatingFocusManager as In, useOpenChangeComplete as Ir, ARROW_UP as It, resourceNameIssue as J, addEventListener as Jn, focusOut as Jr, usePositioner as Jt, normalizeNodeName as K, POPUP_COLLISION_AVOIDANCE as Kn, closePress as Kr, useToolbarRootContext as Kt, comparePorts as L, useRefWithInit as Li, FloatingNode as Ln, useAnimationsFinished as Lr, COMPOSITE_KEYS as Lt, decisionModel as M, formatErrorMessage as Mi, useTriggerDataForwarding as Mn, ChevronDown as Mr, ARROW_DOWN as Mt, decisionQuestionIssues as N, mergeProps$1 as Ni, useTriggerRegistration as Nn, Check as Nr, ARROW_KEYS as Nt, decodeRevisionContent as O, useMergedRefs as Oi, popupStoreSelectors as On, isFirefox as Or, Separator as Ot, decisionTask as P, useIsoLayoutEffect as Pi, useDismiss as Pn, createLucideIcon as Pr, ARROW_LEFT as Pt, nodeInputMappings as Q, fastComponent as Qn, inputPress as Qr, adaptiveOrigin as Qt, matchesSchema as R, getParentNode as Ri, FloatingTree as Rn, TransitionStatusDataAttributes as Rr, HOME as Rt, Field as S, clsx as Si, useHoverReferenceInteraction as Sn, stopEvent as Sr, SelectContent as St, FieldGroup as T, EMPTY_OBJECT as Ti, useSyncedFloatingRootContext as Tn, contains as Tr, SelectSeparator as Tt, isSchemaKeyword as U, FloatingPortal as Un, createGenericEventDetails as Ur, VERTICAL_KEYS_WITH_EXTRA_KEYS as Ut, FlowChangeError as V, isLastTraversableNode as Vi, useFloatingTree as Vn, useValueChanged as Vr, MODIFIER_KEYS as Vt, nextNodeName as W, CLICK_TRIGGER_IDENTIFIER as Wn, cancelOpen as Wr, isNativeInput as Wt, conditionInputPorts as X, Store as Xn, inputChange as Xr, InternalBackdrop as Xt, comparisonIssue as Y, ReactStore as Yn, imperativeAction as Yr, getDisabledMountTransitionStyles as Yt, mapConditionSources as Z, useStore as Zn, inputClear as Zr, useAnchorPositioning as Zt, TooltipPositioner as _, useControlled as _i, safePolygon as _n, getGridNavigatedIndex as _r, strictObject as _t, DialogDescription as a, triggerHover as ai, triggerOpenStateMapping as an, Label as ar, dequal as at, TooltipRoot as b, cn as bi, useListNavigation as bn, isIndexOutOfListBounds as br, Select as bt, DialogTitle as c, useFormContext as ci, hasNullItemLabel as cn, useTimeout as cr, boolean as ct, TooltipContent as d, useBaseUiId as di, stringifyAsValue as dn, getTabbableBeforeElement as dr, json$1 as dt, listNavigation as ei, CompositeList as en, require_with_selector as er, operatorsForType as et, TooltipProvider as f, useId$1 as fi, compareItemEquality as fn, isOutsideEvent as fr, lazy$1 as ft, TooltipPopup as g, visuallyHiddenInput as gi, selectedValueIncludes as gn, getGridCellIndices as gr, record$1 as gt, TooltipArrow as h, visuallyHidden as hi, removeItem as hn, getGridCellIndexOfCorner as hr, object as ht, DialogContent as i, triggerFocus as ii, pressableTriggerOpenStateMapping as in, useOnFirstRender as ir, format as it, decisionLimits as j, useCompositeRootContext as ji, useOpenStateTransitions as jn, useLabelableId as jr, ALL_KEYS as jt, webhookMethods as k, useButton as ki, PopupTriggerMap as kn, isMac as kr, IndexGuessBehavior as kt, DialogTrigger as l, useRegisterFieldControl as li, isGroupedItems as ln, getNextTabbable as lr, discriminatedUnion as lt, createTooltipHandle as m, fieldValidityMapping as mi, findItemIndex as mn, findNonDisabledListIndex as mr, number as mt, Dialog as n, outsidePress as ni, getPseudoElementBounds as nn, createSelector as nr, unaryOperator as nt, DialogFooter as o, triggerPress as oi, resolveAriaLabelledBy as on, Input as or, _enum as ot, TooltipTrigger as p, DEFAULT_FIELD_STATE_ATTRIBUTES as pi, defaultItemEquality as pn, createGridCellMap as pr, literal as pt, portsByHandle as q, FocusGuard as qn, escapeKey as qr, useAnchoredPopupScrollLock as qt, DialogClose as r, siblingOpen as ri, popupStateMapping as rn, useValueAsRef as rr, valueType as rt, DialogHeader as s, useLabelableContext as si, useOpenInteractionType as sn, Timeout as sr, array as st, Icon as t, none as ti, inertValue as tn, require_builtin_esm_external_require_react as tr, otherwiseOutput as tt, Tooltip as u, useFieldRootContext as ui, stringifyAsLabel as un, getTabbableAfterElement as ur, int as ut, TooltipPortal as v, Button as vi, useTypeahead as vn, getMaxListIndex as vr, string as vt, FieldError as w, EMPTY_ARRAY as wi, useFocus as wn, activeElement as wr, SelectItem as wt, Spinner as x, cva as xi, useInteractions as xn, isListIndexDisabled as xr, SelectChevron as xt, TooltipTrigger$1 as y, buttonVariants as yi, useRole as yn, getMinListIndex as yr, union as yt, schemaObject as z, isElement as zi, useFloatingNodeId as zn, transitionStatusMapping as zr, HORIZONTAL_KEYS as zt };
27514
+ export { otherwiseOutput as $, fastComponent as $n, inputPress as $r, adaptiveOrigin as $t, decisionModel as A, useButton as Ai, PopupTriggerMap as An, isMac as Ar, IndexGuessBehavior as At, applyFlowChanges as B, isElement as Bi, useFloatingNodeId as Bn, transitionStatusMapping as Br, HORIZONTAL_KEYS as Bt, FieldDescription as C, clsx as Ci, useHoverReferenceInteraction as Cn, stopEvent as Cr, SelectContent as Ct, authoringDefinitionSchemas as D, NOOP as Di, useFloatingRootContext as Dn, getTarget as Dr, SelectTrigger as Dt, FieldLabel as E, EMPTY_OBJECT as Ei, useSyncedFloatingRootContext as En, contains as Er, SelectSeparator as Et, comparePorts as F, useIsoLayoutEffect as Fi, useDismiss as Fn, createLucideIcon as Fr, ARROW_LEFT as Ft, portsByHandle as G, CLICK_TRIGGER_IDENTIFIER as Gn, cancelOpen as Gr, isNativeInput as Gt, nextNodeName as H, isLastTraversableNode as Hi, useFloatingTree as Hn, useValueChanged as Hr, MODIFIER_KEYS as Ht, matchesSchema as I, SafeReact as Ii, useClick as In, useTransitionStatus as Ir, ARROW_RIGHT as It, conditionInputPorts as J, FocusGuard as Jn, escapeKey as Jr, useAnchoredPopupScrollLock as Jt, resourceNameIssue as K, DROPDOWN_COLLISION_AVOIDANCE as Kn, clearPress as Kr, scrollIntoViewIfNeeded as Kt, schemaObject as L, useStableCallback as Li, FloatingFocusManager as Ln, useOpenChangeComplete as Lr, ARROW_UP as Lt, decisionTask as M, useCompositeRootContext as Mi, useOpenStateTransitions as Mn, useLabelableId as Mr, ALL_KEYS as Mt, defaultDecisionQuestion as N, formatErrorMessage as Ni, useTriggerDataForwarding as Nn, ChevronDown as Nr, ARROW_DOWN as Nt, decodeRevisionContent as O, warn as Oi, createInitialPopupStoreState as On, isAndroid as Or, SelectValue as Ot, limitDecisionQuestions as P, mergeProps$1 as Pi, useTriggerRegistration as Pn, Check as Pr, ARROW_KEYS as Pt, operatorsForType as Q, useStore as Qn, inputClear as Qr, useAnchorPositioning as Qt, variableInputCompatible as R, useRefWithInit as Ri, FloatingNode as Rn, useAnimationsFinished as Rr, COMPOSITE_KEYS as Rt, Field as S, cva as Si, useInteractions as Sn, isListIndexDisabled as Sr, SelectChevron as St, FieldGroup as T, EMPTY_ARRAY as Ti, useFocus as Tn, activeElement as Tr, SelectItem as Tt, nodeNameIssue as U, FloatingTreeStore as Un, createChangeEventDetails as Ur, VERTICAL_KEYS as Ut, isSchemaKeyword as V, isHTMLElement as Vi, useFloatingParentNodeId as Vn, useOnMount as Vr, HORIZONTAL_KEYS_WITH_EXTRA_KEYS as Vt, normalizeNodeName as W, FloatingPortal as Wn, createGenericEventDetails as Wr, VERTICAL_KEYS_WITH_EXTRA_KEYS as Wt, nodeInputMappings as X, ReactStore as Xn, imperativeAction as Xr, getDisabledMountTransitionStyles as Xt, mapConditionSources as Y, addEventListener as Yn, focusOut as Yr, usePositioner as Yt, operandHandle as Z, Store as Zn, inputChange as Zr, InternalBackdrop as Zt, TooltipPositioner as _, visuallyHiddenInput as _i, selectedValueIncludes as _n, getGridCellIndices as _r, strictObject as _t, DialogDescription as a, triggerFocus as ai, pressableTriggerOpenStateMapping as an, useOnFirstRender as ar, webhookSupportsBody as at, TooltipRoot as b, buttonVariants as bi, useRole as bn, getMinListIndex as br, unknown as bt, DialogTitle as c, useLabelableContext as ci, useOpenInteractionType as cn, Timeout as cr, boolean as ct, TooltipContent as d, useFieldRootContext as di, stringifyAsLabel as dn, getTabbableAfterElement as dr, json$1 as dt, itemPress as ei, useDirection as en, fastComponentRef as er, unaryOperator as et, TooltipProvider as f, useBaseUiId as fi, stringifyAsValue as fn, getTabbableBeforeElement as fr, lazy$1 as ft, TooltipPopup as g, visuallyHidden as gi, removeItem as gn, getGridCellIndexOfCorner as gr, record$1 as gt, TooltipArrow as h, fieldValidityMapping as hi, findItemIndex as hn, findNonDisabledListIndex as hr, object as ht, DialogContent as i, siblingOpen as ii, popupStateMapping as in, useValueAsRef as ir, webhookMethods as it, decisionQuestionIssues as j, CompositeRootContext as ji, useImplicitActiveTrigger as jn, ownerDocument as jr, useCompositeListItem as jt, decisionLimits as k, useMergedRefs as ki, popupStoreSelectors as kn, isFirefox as kr, Separator as kt, DialogTrigger as l, useFormContext as li, hasNullItemLabel as ln, useTimeout as lr, discriminatedUnion as lt, createTooltipHandle as m, DEFAULT_FIELD_STATE_ATTRIBUTES as mi, defaultItemEquality as mn, createGridCellMap as mr, number as mt, Dialog as n, none as ni, inertValue as nn, require_builtin_esm_external_require_react as nr, format as nt, DialogFooter as o, triggerHover as oi, triggerOpenStateMapping as on, Label as or, _enum as ot, TooltipTrigger as p, useId$1 as pi, compareItemEquality as pn, isOutsideEvent as pr, literal as pt, comparisonIssue as q, POPUP_COLLISION_AVOIDANCE as qn, closePress as qr, useToolbarRootContext as qt, DialogClose as r, outsidePress as ri, getPseudoElementBounds as rn, createSelector as rr, dequal as rt, DialogHeader as s, triggerPress as si, resolveAriaLabelledBy as sn, Input as sr, array as st, Icon as t, listNavigation as ti, CompositeList as tn, require_with_selector as tr, valueType as tt, Tooltip as u, useRegisterFieldControl as ui, isGroupedItems as un, getNextTabbable as ur, int as ut, TooltipPortal as v, useControlled as vi, safePolygon as vn, getGridNavigatedIndex as vr, string as vt, FieldError as w, useRenderElement as wi, useHoverFloatingInteraction as wn, isInteractiveElement as wr, SelectGroup as wt, Spinner as x, cn as xi, useListNavigation as xn, isIndexOutOfListBounds as xr, Select as xt, TooltipTrigger$1 as y, Button as yi, useTypeahead as yn, getMaxListIndex as yr, union as yt, FlowChangeError as z, getParentNode as zi, FloatingTree as zn, TransitionStatusDataAttributes as zr, HOME as zt };