@uniformdev/mesh-sdk-react 20.72.3-alpha.3 → 20.72.3-alpha.5

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/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { SVGProps, ReactNode, MutableRefObject, ComponentType, PropsWithChildren, HTMLAttributes, AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
4
4
  import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
5
- import { DynamicInputs, SetValueOptions, MeshLocation, EditConnectedDataResponseCancellationContext, DataSourceLocationValue, DataTypeLocationValue, BindableTypes } from '@uniformdev/mesh-sdk';
5
+ import { DynamicInputs, SetValueOptions, MeshLocation, EditConnectedDataResponseCancellationContext, DataSourceLocationValue, DataTypeLocationValue, UniformMeshSDK, BindableTypes } from '@uniformdev/mesh-sdk';
6
6
  export * from '@uniformdev/mesh-sdk';
7
7
  import { DataVariableDefinition, DataResourceVariables, DataType, DataSourceVariantsKeys } from '@uniformdev/canvas';
8
8
  import { Emitter } from 'mitt';
@@ -898,6 +898,100 @@ type DataTypeEditorProps = PropsWithChildren<{
898
898
  */
899
899
  declare function DataTypeEditor({ onChange, children, editVariableComponent }: DataTypeEditorProps): _emotion_react_jsx_runtime.JSX.Element;
900
900
 
901
+ /**
902
+ * Status of the delegation session as seen from the React provider.
903
+ *
904
+ * @deprecated This beta identity delegation API may change with breaking changes.
905
+ */
906
+ type DelegationStatus = 'idle' | 'acquiring' | 'active' | 'disabled' | 'error';
907
+ /**
908
+ * Value provided by DelegationProvider via React context.
909
+ *
910
+ * @deprecated This beta identity delegation API may change with breaking changes.
911
+ */
912
+ interface DelegationContextValue {
913
+ status: DelegationStatus;
914
+ error: Error | null;
915
+ reacquire: () => void;
916
+ }
917
+ /** @deprecated This beta identity delegation API may change with breaking changes. */
918
+ declare const DelegationContext: React$1.Context<DelegationContextValue | null>;
919
+
920
+ /**
921
+ * @deprecated This beta identity delegation API may change with breaking changes.
922
+ */
923
+ interface DelegationGateProps {
924
+ children: React__default.ReactNode;
925
+ /** Shown while delegation is starting. Omit to use the default loading UI. */
926
+ loadingComponent?: React__default.ReactNode;
927
+ /** Shown when identity delegation is not enabled for this integration. Omit to use the default callout. */
928
+ disabledComponent?: React__default.ReactNode;
929
+ /** Shown when delegation fails. Pass a render function to surface error details; omit for a generic callout. */
930
+ errorComponent?: React__default.ReactNode | ((props: {
931
+ error: Error;
932
+ }) => React__default.ReactNode);
933
+ }
934
+ /**
935
+ * Renders children only when the delegation session is active.
936
+ * Shows appropriate fallback UI for loading, disabled, and error states.
937
+ *
938
+ * Sensible defaults use the design system (loading overlay, callouts). Pass `loadingComponent`,
939
+ * `disabledComponent`, or `errorComponent` to customize; pass `null` to render nothing for that state.
940
+ *
941
+ * @deprecated This beta identity delegation API may change with breaking changes.
942
+ */
943
+ declare function DelegationGate({ children, loadingComponent, disabledComponent, errorComponent, }: DelegationGateProps): _emotion_react_jsx_runtime.JSX.Element | null;
944
+
945
+ /**
946
+ * @deprecated This beta identity delegation API may change with breaking changes.
947
+ */
948
+ interface DelegationProviderProps {
949
+ /** `UniformMeshSDK` instance obtained from `useUniformMeshSdk()`. */
950
+ sdk: UniformMeshSDK;
951
+ /**
952
+ * Called with the session token to exchange it for a delegation token on your backend.
953
+ * Resolve on success, throw on failure.
954
+ */
955
+ onSessionToken: (sessionToken: string) => Promise<void>;
956
+ /**
957
+ * Called to check if a delegation session is already active (e.g. a valid cookie exists).
958
+ * Return `true` to skip the session-token exchange.
959
+ */
960
+ checkActive: () => Promise<boolean>;
961
+ /**
962
+ * When `true`, re-checks the delegation session after the tab becomes visible again
963
+ * following a period of being hidden. If the server reports the session is no longer
964
+ * active (e.g. the access token expired and the refresh token is gone/invalid), the
965
+ * full session-token exchange is re-run; otherwise the check is silent and does not
966
+ * flip the status back to `acquiring`.
967
+ *
968
+ * Defaults to `true`.
969
+ */
970
+ revalidateOnFocus?: boolean;
971
+ /**
972
+ * Minimum number of milliseconds the tab must have been hidden before a
973
+ * `revalidateOnFocus` check runs. Prevents hammering the server on rapid tab
974
+ * switches. Defaults to 5 minutes.
975
+ */
976
+ revalidateAfterMs?: number;
977
+ children: React__default.ReactNode;
978
+ }
979
+ /**
980
+ * Manages the identity delegation lifecycle: checks for an existing session, acquires a
981
+ * session token from the dashboard parent if needed, and delegates exchange to the caller.
982
+ *
983
+ * Should ONLY be used to wrap locations which actually needed delegation and not the entire app like <MeshApp />.
984
+ *
985
+ * Also handles stale-session recovery: when the tab becomes visible again after being
986
+ * hidden for longer than `revalidateAfterMs`, the provider silently re-checks via
987
+ * `checkActive` and re-runs the session exchange only if the server says the session is
988
+ * no longer active. This covers the "returned after a long time" case where the stored
989
+ * access token has expired and the refresh token is also gone or no longer valid.
990
+ *
991
+ * @deprecated This beta identity delegation API may change with breaking changes.
992
+ */
993
+ declare function DelegationProvider({ sdk, onSessionToken, checkActive, revalidateOnFocus, revalidateAfterMs, children, }: DelegationProviderProps): _emotion_react_jsx_runtime.JSX.Element;
994
+
901
995
  type MeshAppProps = {
902
996
  loadingComponent?: React__default.ComponentType;
903
997
  errorComponent?: React__default.ComponentType<{
@@ -1973,6 +2067,14 @@ declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue,
1973
2067
  /** Converts connected data map into VariablesProvider-format variables */
1974
2068
  declare function useConnectedDataAsVariables(connectedData: Record<string, unknown> | undefined): Record<string, MeshDataVariableDefinition>;
1975
2069
 
2070
+ /**
2071
+ * Returns the current delegation session state.
2072
+ * Must be used within a `DelegationProvider`.
2073
+ *
2074
+ * @deprecated This beta identity delegation API may change with breaking changes.
2075
+ */
2076
+ declare function useDelegation(): DelegationContextValue;
2077
+
1976
2078
  /** Converts dynamic inputs into VariablesProvider-format variables */
1977
2079
  declare function useDynamicInputsAsVariables(dynamicInputs: DynamicInputs): Record<string, MeshDataVariableDefinition>;
1978
2080
 
@@ -2023,4 +2125,4 @@ type ContentDataResourceLocaleInfoProps = {
2023
2125
  };
2024
2126
  declare function useContentDataResourceLocaleInfo({ locale, defaultLocale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2025
2127
 
2026
- export { $createVariableNode, $isVariableNode, type BadgeThemeProps, type BaseRequestData, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, DISCONNECT_VARIABLE_COMMAND, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, filterMapper, prettifyBindExpression, readOnlyAttributes, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2128
+ export { $createVariableNode, $isVariableNode, type BadgeThemeProps, type BaseRequestData, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, DISCONNECT_VARIABLE_COMMAND, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DelegationContext, type DelegationContextValue, DelegationGate, type DelegationGateProps, DelegationProvider, type DelegationProviderProps, type DelegationStatus, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, filterMapper, prettifyBindExpression, readOnlyAttributes, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDelegation, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { SVGProps, ReactNode, MutableRefObject, ComponentType, PropsWithChildren, HTMLAttributes, AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
4
4
  import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
5
- import { DynamicInputs, SetValueOptions, MeshLocation, EditConnectedDataResponseCancellationContext, DataSourceLocationValue, DataTypeLocationValue, BindableTypes } from '@uniformdev/mesh-sdk';
5
+ import { DynamicInputs, SetValueOptions, MeshLocation, EditConnectedDataResponseCancellationContext, DataSourceLocationValue, DataTypeLocationValue, UniformMeshSDK, BindableTypes } from '@uniformdev/mesh-sdk';
6
6
  export * from '@uniformdev/mesh-sdk';
7
7
  import { DataVariableDefinition, DataResourceVariables, DataType, DataSourceVariantsKeys } from '@uniformdev/canvas';
8
8
  import { Emitter } from 'mitt';
@@ -898,6 +898,100 @@ type DataTypeEditorProps = PropsWithChildren<{
898
898
  */
899
899
  declare function DataTypeEditor({ onChange, children, editVariableComponent }: DataTypeEditorProps): _emotion_react_jsx_runtime.JSX.Element;
900
900
 
901
+ /**
902
+ * Status of the delegation session as seen from the React provider.
903
+ *
904
+ * @deprecated This beta identity delegation API may change with breaking changes.
905
+ */
906
+ type DelegationStatus = 'idle' | 'acquiring' | 'active' | 'disabled' | 'error';
907
+ /**
908
+ * Value provided by DelegationProvider via React context.
909
+ *
910
+ * @deprecated This beta identity delegation API may change with breaking changes.
911
+ */
912
+ interface DelegationContextValue {
913
+ status: DelegationStatus;
914
+ error: Error | null;
915
+ reacquire: () => void;
916
+ }
917
+ /** @deprecated This beta identity delegation API may change with breaking changes. */
918
+ declare const DelegationContext: React$1.Context<DelegationContextValue | null>;
919
+
920
+ /**
921
+ * @deprecated This beta identity delegation API may change with breaking changes.
922
+ */
923
+ interface DelegationGateProps {
924
+ children: React__default.ReactNode;
925
+ /** Shown while delegation is starting. Omit to use the default loading UI. */
926
+ loadingComponent?: React__default.ReactNode;
927
+ /** Shown when identity delegation is not enabled for this integration. Omit to use the default callout. */
928
+ disabledComponent?: React__default.ReactNode;
929
+ /** Shown when delegation fails. Pass a render function to surface error details; omit for a generic callout. */
930
+ errorComponent?: React__default.ReactNode | ((props: {
931
+ error: Error;
932
+ }) => React__default.ReactNode);
933
+ }
934
+ /**
935
+ * Renders children only when the delegation session is active.
936
+ * Shows appropriate fallback UI for loading, disabled, and error states.
937
+ *
938
+ * Sensible defaults use the design system (loading overlay, callouts). Pass `loadingComponent`,
939
+ * `disabledComponent`, or `errorComponent` to customize; pass `null` to render nothing for that state.
940
+ *
941
+ * @deprecated This beta identity delegation API may change with breaking changes.
942
+ */
943
+ declare function DelegationGate({ children, loadingComponent, disabledComponent, errorComponent, }: DelegationGateProps): _emotion_react_jsx_runtime.JSX.Element | null;
944
+
945
+ /**
946
+ * @deprecated This beta identity delegation API may change with breaking changes.
947
+ */
948
+ interface DelegationProviderProps {
949
+ /** `UniformMeshSDK` instance obtained from `useUniformMeshSdk()`. */
950
+ sdk: UniformMeshSDK;
951
+ /**
952
+ * Called with the session token to exchange it for a delegation token on your backend.
953
+ * Resolve on success, throw on failure.
954
+ */
955
+ onSessionToken: (sessionToken: string) => Promise<void>;
956
+ /**
957
+ * Called to check if a delegation session is already active (e.g. a valid cookie exists).
958
+ * Return `true` to skip the session-token exchange.
959
+ */
960
+ checkActive: () => Promise<boolean>;
961
+ /**
962
+ * When `true`, re-checks the delegation session after the tab becomes visible again
963
+ * following a period of being hidden. If the server reports the session is no longer
964
+ * active (e.g. the access token expired and the refresh token is gone/invalid), the
965
+ * full session-token exchange is re-run; otherwise the check is silent and does not
966
+ * flip the status back to `acquiring`.
967
+ *
968
+ * Defaults to `true`.
969
+ */
970
+ revalidateOnFocus?: boolean;
971
+ /**
972
+ * Minimum number of milliseconds the tab must have been hidden before a
973
+ * `revalidateOnFocus` check runs. Prevents hammering the server on rapid tab
974
+ * switches. Defaults to 5 minutes.
975
+ */
976
+ revalidateAfterMs?: number;
977
+ children: React__default.ReactNode;
978
+ }
979
+ /**
980
+ * Manages the identity delegation lifecycle: checks for an existing session, acquires a
981
+ * session token from the dashboard parent if needed, and delegates exchange to the caller.
982
+ *
983
+ * Should ONLY be used to wrap locations which actually needed delegation and not the entire app like <MeshApp />.
984
+ *
985
+ * Also handles stale-session recovery: when the tab becomes visible again after being
986
+ * hidden for longer than `revalidateAfterMs`, the provider silently re-checks via
987
+ * `checkActive` and re-runs the session exchange only if the server says the session is
988
+ * no longer active. This covers the "returned after a long time" case where the stored
989
+ * access token has expired and the refresh token is also gone or no longer valid.
990
+ *
991
+ * @deprecated This beta identity delegation API may change with breaking changes.
992
+ */
993
+ declare function DelegationProvider({ sdk, onSessionToken, checkActive, revalidateOnFocus, revalidateAfterMs, children, }: DelegationProviderProps): _emotion_react_jsx_runtime.JSX.Element;
994
+
901
995
  type MeshAppProps = {
902
996
  loadingComponent?: React__default.ComponentType;
903
997
  errorComponent?: React__default.ComponentType<{
@@ -1973,6 +2067,14 @@ declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue,
1973
2067
  /** Converts connected data map into VariablesProvider-format variables */
1974
2068
  declare function useConnectedDataAsVariables(connectedData: Record<string, unknown> | undefined): Record<string, MeshDataVariableDefinition>;
1975
2069
 
2070
+ /**
2071
+ * Returns the current delegation session state.
2072
+ * Must be used within a `DelegationProvider`.
2073
+ *
2074
+ * @deprecated This beta identity delegation API may change with breaking changes.
2075
+ */
2076
+ declare function useDelegation(): DelegationContextValue;
2077
+
1976
2078
  /** Converts dynamic inputs into VariablesProvider-format variables */
1977
2079
  declare function useDynamicInputsAsVariables(dynamicInputs: DynamicInputs): Record<string, MeshDataVariableDefinition>;
1978
2080
 
@@ -2023,4 +2125,4 @@ type ContentDataResourceLocaleInfoProps = {
2023
2125
  };
2024
2126
  declare function useContentDataResourceLocaleInfo({ locale, defaultLocale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2025
2127
 
2026
- export { $createVariableNode, $isVariableNode, type BadgeThemeProps, type BaseRequestData, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, DISCONNECT_VARIABLE_COMMAND, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, filterMapper, prettifyBindExpression, readOnlyAttributes, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2128
+ export { $createVariableNode, $isVariableNode, type BadgeThemeProps, type BaseRequestData, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, DISCONNECT_VARIABLE_COMMAND, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, DelegationContext, type DelegationContextValue, DelegationGate, type DelegationGateProps, DelegationProvider, type DelegationProviderProps, type DelegationStatus, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, filterMapper, prettifyBindExpression, readOnlyAttributes, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDelegation, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };