@uniformdev/mesh-sdk-react 19.79.1-alpha.13 → 19.79.1-alpha.25

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/LICENSE.txt CHANGED
@@ -1,2 +1,2 @@
1
- © 2023 Uniform Systems, Inc. All Rights Reserved.
1
+ © 2024 Uniform Systems, Inc. All Rights Reserved.
2
2
  See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
package/dist/index.d.mts CHANGED
@@ -9,7 +9,7 @@ import { DynamicInputs, MeshLocation, SetValueOptions, EditConnectedDataResponse
9
9
  export * from '@uniformdev/mesh-sdk';
10
10
  import { DataVariableDefinition, DataResourceVariables, DataType } from '@uniformdev/canvas';
11
11
  import { Emitter } from 'mitt';
12
- import { BadgeThemeProps, InputSelectProps } from '@uniformdev/design-system';
12
+ import { BadgeThemeProps, InputSelectProps, FilterEditorCommonInputProps } from '@uniformdev/design-system';
13
13
  export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell } from '@uniformdev/design-system';
14
14
  import * as lexical from 'lexical';
15
15
  import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState } from 'lexical';
@@ -632,6 +632,8 @@ type SelectVariableMenuProps<TEditorContext = undefined> = {
632
632
  menuTooltip?: string;
633
633
  /** Filters available variables in menus and auto-completes */
634
634
  filterVariable?: (variableName: string, variableDefinition: MeshDataVariableDefinition, context: TEditorContext | undefined) => boolean;
635
+ /** Sets the menu to be a portal */
636
+ portal?: boolean;
635
637
  };
636
638
 
637
639
  type VariableSourceGroup = {
@@ -786,6 +788,13 @@ type InputVariablesProps<TEditorContext = unknown> = {
786
788
  multiLine?: boolean;
787
789
  /** Disables the inline variable selection menu when rendering a variables input */
788
790
  disableInlineMenu?: boolean | 'by-label' | 'by-input';
791
+ /**
792
+ * Defines single place to render "Insert variable" menu buttons.
793
+ * Be aware that it will override "disableInlineMenu" if set.
794
+ *
795
+ * @deprecated beta
796
+ */
797
+ showMenuPosition?: 'label' | 'input' | 'inline-right';
789
798
  /**
790
799
  * Enables clicking a variable reference to edit the variable
791
800
  * Note: automatically disabled if `disabled` or `disableVariables` is set
@@ -820,6 +829,8 @@ type InputVariablesProps<TEditorContext = unknown> = {
820
829
  editorRef?: MutableRefObject<LexicalEditor | null>;
821
830
  /** The compact style is similar to the parameters panel */
822
831
  styleVariant?: 'default' | 'compact';
832
+ /** Set the menu dropdown to render in a portal, this helps fix z-indexing issue */
833
+ renderMenuInPortal?: boolean;
823
834
  } & PasteTransformerPluginProps & UseInputVariablesStateProps<TEditorContext>;
824
835
  /**
825
836
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
@@ -903,8 +914,9 @@ type VariableEditorProps<TEditorContext = unknown, TEditVariableCompletedContext
903
914
  onCancel: (context: TEditVariableCancelledContext) => void;
904
915
  context: TEditorContext | undefined;
905
916
  disableAutoFocusOnMount?: boolean;
917
+ showDisplayName?: boolean;
906
918
  };
907
- declare function VariableEditor({ variable, onSubmit, onCancel, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
919
+ declare function VariableEditor({ variable, onSubmit, onCancel, showDisplayName, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
908
920
 
909
921
  type VariablesProviderProps<TEditVariableContext = unknown, TEditVariableCompletedContext = unknown, TEditVariableCancelledContext = unknown> = React.PropsWithChildren<{
910
922
  /**
@@ -974,9 +986,10 @@ type VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCan
974
986
  /**
975
987
  * Arbitrary object that was returned by the variables editor component's onCancel
976
988
  * Can be used to convey context data about the submit from custom editor components
977
- * to their consumers. Always `null` using the default variables editor.
989
+ * to their consumers. Always `null` using the default variables editor. Can always be undefined
990
+ * if the editor is dismissed by the variables provider instead of user action.
978
991
  */
979
- editorCancelledContext: TEditVariableCancelledContext;
992
+ editorCancelledContext?: TEditVariableCancelledContext;
980
993
  };
981
994
  type VariablesEvents<TEditVariableCompletedContext, TEditVariableCancelledContext> = {
982
995
  editCompleted: VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCancelledContext>;
@@ -1002,6 +1015,12 @@ type VariablesContext<TEditVariableContext, TEditVariableCompletedContext, TEdit
1002
1015
  isEditing: boolean;
1003
1016
  /** Add event handles (don't forget to unhook) */
1004
1017
  events: Emitter<VariablesEvents<TEditVariableCompletedContext, TEditVariableCancelledContext>>;
1018
+ /**
1019
+ * Creates an exclusive, promise-based variable editing transaction that definitely returns a result.
1020
+ * Only one edit can occur at a time; if another edit is started, the previous one will be resolved as cancelled.
1021
+ * Note: this is an alternative to emitting editing events with dispatch directly that can be easier to consume when a result is required.
1022
+ */
1023
+ editVariableTxn: (variable: string, context?: TEditVariableContext) => Promise<VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCancelledContext>>;
1005
1024
  /** Whether the context is backed by a provider, or is just a readonly fake */
1006
1025
  canDispatch: boolean;
1007
1026
  /**
@@ -1358,11 +1377,11 @@ type ObjectSearchListItemProps = SelectedItemProps & {
1358
1377
  isMulti?: boolean;
1359
1378
  /** sets disabled state to the interactive element */
1360
1379
  disabled?: boolean;
1361
- };
1380
+ } & React$1.HTMLAttributes<HTMLDivElement>;
1362
1381
  /**
1363
1382
  * @description entry search list item is an opinionated UI component best used for initial retrieved results
1364
1383
  * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
1365
- declare const ObjectSearchListItem: ({ id, title, contentType, image, imageUrl, popoverData, onSelect, isMulti, disabled, children, }: ObjectSearchListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1384
+ declare const ObjectSearchListItem: ({ id, title, contentType, image, imageUrl, popoverData, onSelect, isMulti, disabled, children, ...props }: ObjectSearchListItemProps & React$1.HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1366
1385
  /**
1367
1386
  * An opinionated loading skeleton component best used with ObjectSearchListItem
1368
1387
  * @example <ObjectSearchListItemLoadingSkeleton />
@@ -1414,6 +1433,8 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1414
1433
  * @default 'Selected'
1415
1434
  */
1416
1435
  resultLabelText?: string;
1436
+ /** sets and override react node replacing the whole HTML block for the result label and counter */
1437
+ resultLabelOverride?: ReactNode;
1417
1438
  /** sets the on remove button click action */
1418
1439
  onRemoveAllSelected?: () => void;
1419
1440
  /** sets the remove button text
@@ -1425,9 +1446,9 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1425
1446
  */
1426
1447
  hideRemoveButton?: boolean;
1427
1448
  /** allows additional buttons to be added to the result title group */
1428
- additionalButtons?: React.ReactNode;
1449
+ additionalButtons?: React__default.ReactNode;
1429
1450
  /** allows placing child components within the result list area */
1430
- renderResultComponent?: (value: TRenderComponent) => React.ReactNode;
1451
+ renderResultComponent?: (value: TRenderComponent) => React__default.ReactNode;
1431
1452
  /** disable or enable drag and drop functionality
1432
1453
  * @default false
1433
1454
  */
@@ -1435,7 +1456,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1435
1456
  /** sets the draggable id value */
1436
1457
  multiSelectId?: string;
1437
1458
  /** Rendered when nothing is selected */
1438
- whenNothingSelected?: React.ReactNode;
1459
+ whenNothingSelected?: React__default.ReactNode;
1439
1460
  /**
1440
1461
  * Special case for re-parenting the drag and drop container in case of issues with "position: fixed" and "transform:
1441
1462
  * You can read more about this here https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/reparenting.md
@@ -1449,7 +1470,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1449
1470
  * maintain drag and drop functionality
1450
1471
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1451
1472
  */
1452
- declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1473
+ declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, resultLabelOverride, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1453
1474
 
1454
1475
  type QueryFilterSearchProps = {
1455
1476
  /** sets the count value */
@@ -1459,12 +1480,18 @@ type QueryFilterSearchProps = {
1459
1480
  /** sets the sortOrder filter value */
1460
1481
  sortOrder: string;
1461
1482
  };
1462
- type QuertFilterSelectionOptionProps = Array<{
1463
- id: string;
1464
- name: string;
1483
+ type QueryFilterSelectionOptionProps = Array<{
1484
+ /** @deprecated please use value instead */
1485
+ id?: string;
1486
+ /** @deprecated please use value or label instead */
1487
+ name?: string;
1488
+ /** contains id or machine values. will be used as value attribute in <option> */
1489
+ value?: string;
1490
+ /** Contains human-readable display name for select options.
1491
+ * Used as value in case value is not present <option> */
1465
1492
  label: string;
1466
1493
  }>;
1467
- type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = QuertFilterSelectionOptionProps> = {
1494
+ type QueryFilterProps<TSelectOptions extends QueryFilterSelectionOptionProps = QueryFilterSelectionOptionProps> = {
1468
1495
  /** sets the query filter title
1469
1496
  * @default 'Configure Query'
1470
1497
  */
@@ -1485,10 +1512,11 @@ type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = Q
1485
1512
  * @default 'Count'
1486
1513
  */
1487
1514
  countLabel?: string;
1488
- /** sets the count value or items to show
1515
+ /** sets the count value or items to show. As a string you can pass dynamic variables ${countFromQuery} for example
1489
1516
  * @default 5
1517
+ * @deprecated please use ObjectSearchProviderProps['defaultQuery'] to pass initial count value
1490
1518
  */
1491
- countValue?: number;
1519
+ countValue?: number | string;
1492
1520
  /** sets the sort label text
1493
1521
  * @default 'Sort'
1494
1522
  */
@@ -1662,6 +1690,51 @@ declare function useRequestParameter(paramName: string): {
1662
1690
  update: (value: string) => void;
1663
1691
  };
1664
1692
 
1693
+ declare const bindableFiltersMapper: {
1694
+ multiChoice: React__default.FC<Omit<FilterEditorCommonInputProps, "value"> & {
1695
+ value?: string[] | undefined;
1696
+ options: {
1697
+ label: string;
1698
+ value: string;
1699
+ }[];
1700
+ onChange: (e: string[]) => void;
1701
+ }>;
1702
+ singleChoice: React__default.FC<Omit<FilterEditorCommonInputProps, "value"> & {
1703
+ value?: string | undefined;
1704
+ options: {
1705
+ label: string;
1706
+ value: string;
1707
+ }[];
1708
+ onChange: (e: string) => void;
1709
+ }>;
1710
+ date: React__default.FC<FilterEditorCommonInputProps & {
1711
+ value?: string | undefined;
1712
+ options?: {
1713
+ label: string;
1714
+ value: string;
1715
+ }[] | undefined;
1716
+ }>;
1717
+ text: React__default.FC<FilterEditorCommonInputProps & {
1718
+ value?: string | undefined;
1719
+ options?: {
1720
+ label: string;
1721
+ value: string;
1722
+ }[] | undefined;
1723
+ }>;
1724
+ number: React__default.FC<FilterEditorCommonInputProps & {
1725
+ value?: string | undefined;
1726
+ options?: {
1727
+ label: string;
1728
+ value: string;
1729
+ }[] | undefined;
1730
+ }>;
1731
+ dateRange: React__default.ComponentType<any> | null;
1732
+ empty: React__default.ComponentType<any> | null;
1733
+ numberRange: React__default.ComponentType<any> | null;
1734
+ statusMultiChoice: React__default.ComponentType<any> | null;
1735
+ statusSingleChoice: React__default.ComponentType<any> | null;
1736
+ };
1737
+
1665
1738
  /** Converts connected data map into VariablesProvider-format variables */
1666
1739
  declare function useConnectedDataAsVariables(connectedData: Record<string, unknown> | undefined): Record<string, MeshDataVariableDefinition>;
1667
1740
 
@@ -1713,4 +1786,4 @@ type ContentDataResourceLocaleInfoProps = {
1713
1786
  };
1714
1787
  declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
1715
1788
 
1716
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, 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, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
1789
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, 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, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import { DynamicInputs, MeshLocation, SetValueOptions, EditConnectedDataResponse
9
9
  export * from '@uniformdev/mesh-sdk';
10
10
  import { DataVariableDefinition, DataResourceVariables, DataType } from '@uniformdev/canvas';
11
11
  import { Emitter } from 'mitt';
12
- import { BadgeThemeProps, InputSelectProps } from '@uniformdev/design-system';
12
+ import { BadgeThemeProps, InputSelectProps, FilterEditorCommonInputProps } from '@uniformdev/design-system';
13
13
  export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell } from '@uniformdev/design-system';
14
14
  import * as lexical from 'lexical';
15
15
  import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState } from 'lexical';
@@ -632,6 +632,8 @@ type SelectVariableMenuProps<TEditorContext = undefined> = {
632
632
  menuTooltip?: string;
633
633
  /** Filters available variables in menus and auto-completes */
634
634
  filterVariable?: (variableName: string, variableDefinition: MeshDataVariableDefinition, context: TEditorContext | undefined) => boolean;
635
+ /** Sets the menu to be a portal */
636
+ portal?: boolean;
635
637
  };
636
638
 
637
639
  type VariableSourceGroup = {
@@ -786,6 +788,13 @@ type InputVariablesProps<TEditorContext = unknown> = {
786
788
  multiLine?: boolean;
787
789
  /** Disables the inline variable selection menu when rendering a variables input */
788
790
  disableInlineMenu?: boolean | 'by-label' | 'by-input';
791
+ /**
792
+ * Defines single place to render "Insert variable" menu buttons.
793
+ * Be aware that it will override "disableInlineMenu" if set.
794
+ *
795
+ * @deprecated beta
796
+ */
797
+ showMenuPosition?: 'label' | 'input' | 'inline-right';
789
798
  /**
790
799
  * Enables clicking a variable reference to edit the variable
791
800
  * Note: automatically disabled if `disabled` or `disableVariables` is set
@@ -820,6 +829,8 @@ type InputVariablesProps<TEditorContext = unknown> = {
820
829
  editorRef?: MutableRefObject<LexicalEditor | null>;
821
830
  /** The compact style is similar to the parameters panel */
822
831
  styleVariant?: 'default' | 'compact';
832
+ /** Set the menu dropdown to render in a portal, this helps fix z-indexing issue */
833
+ renderMenuInPortal?: boolean;
823
834
  } & PasteTransformerPluginProps & UseInputVariablesStateProps<TEditorContext>;
824
835
  /**
825
836
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
@@ -903,8 +914,9 @@ type VariableEditorProps<TEditorContext = unknown, TEditVariableCompletedContext
903
914
  onCancel: (context: TEditVariableCancelledContext) => void;
904
915
  context: TEditorContext | undefined;
905
916
  disableAutoFocusOnMount?: boolean;
917
+ showDisplayName?: boolean;
906
918
  };
907
- declare function VariableEditor({ variable, onSubmit, onCancel, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
919
+ declare function VariableEditor({ variable, onSubmit, onCancel, showDisplayName, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
908
920
 
909
921
  type VariablesProviderProps<TEditVariableContext = unknown, TEditVariableCompletedContext = unknown, TEditVariableCancelledContext = unknown> = React.PropsWithChildren<{
910
922
  /**
@@ -974,9 +986,10 @@ type VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCan
974
986
  /**
975
987
  * Arbitrary object that was returned by the variables editor component's onCancel
976
988
  * Can be used to convey context data about the submit from custom editor components
977
- * to their consumers. Always `null` using the default variables editor.
989
+ * to their consumers. Always `null` using the default variables editor. Can always be undefined
990
+ * if the editor is dismissed by the variables provider instead of user action.
978
991
  */
979
- editorCancelledContext: TEditVariableCancelledContext;
992
+ editorCancelledContext?: TEditVariableCancelledContext;
980
993
  };
981
994
  type VariablesEvents<TEditVariableCompletedContext, TEditVariableCancelledContext> = {
982
995
  editCompleted: VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCancelledContext>;
@@ -1002,6 +1015,12 @@ type VariablesContext<TEditVariableContext, TEditVariableCompletedContext, TEdit
1002
1015
  isEditing: boolean;
1003
1016
  /** Add event handles (don't forget to unhook) */
1004
1017
  events: Emitter<VariablesEvents<TEditVariableCompletedContext, TEditVariableCancelledContext>>;
1018
+ /**
1019
+ * Creates an exclusive, promise-based variable editing transaction that definitely returns a result.
1020
+ * Only one edit can occur at a time; if another edit is started, the previous one will be resolved as cancelled.
1021
+ * Note: this is an alternative to emitting editing events with dispatch directly that can be easier to consume when a result is required.
1022
+ */
1023
+ editVariableTxn: (variable: string, context?: TEditVariableContext) => Promise<VariableEditorCompleteEvent<TEditVariableCompletedContext, TEditVariableCancelledContext>>;
1005
1024
  /** Whether the context is backed by a provider, or is just a readonly fake */
1006
1025
  canDispatch: boolean;
1007
1026
  /**
@@ -1358,11 +1377,11 @@ type ObjectSearchListItemProps = SelectedItemProps & {
1358
1377
  isMulti?: boolean;
1359
1378
  /** sets disabled state to the interactive element */
1360
1379
  disabled?: boolean;
1361
- };
1380
+ } & React$1.HTMLAttributes<HTMLDivElement>;
1362
1381
  /**
1363
1382
  * @description entry search list item is an opinionated UI component best used for initial retrieved results
1364
1383
  * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
1365
- declare const ObjectSearchListItem: ({ id, title, contentType, image, imageUrl, popoverData, onSelect, isMulti, disabled, children, }: ObjectSearchListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1384
+ declare const ObjectSearchListItem: ({ id, title, contentType, image, imageUrl, popoverData, onSelect, isMulti, disabled, children, ...props }: ObjectSearchListItemProps & React$1.HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1366
1385
  /**
1367
1386
  * An opinionated loading skeleton component best used with ObjectSearchListItem
1368
1387
  * @example <ObjectSearchListItemLoadingSkeleton />
@@ -1414,6 +1433,8 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1414
1433
  * @default 'Selected'
1415
1434
  */
1416
1435
  resultLabelText?: string;
1436
+ /** sets and override react node replacing the whole HTML block for the result label and counter */
1437
+ resultLabelOverride?: ReactNode;
1417
1438
  /** sets the on remove button click action */
1418
1439
  onRemoveAllSelected?: () => void;
1419
1440
  /** sets the remove button text
@@ -1425,9 +1446,9 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1425
1446
  */
1426
1447
  hideRemoveButton?: boolean;
1427
1448
  /** allows additional buttons to be added to the result title group */
1428
- additionalButtons?: React.ReactNode;
1449
+ additionalButtons?: React__default.ReactNode;
1429
1450
  /** allows placing child components within the result list area */
1430
- renderResultComponent?: (value: TRenderComponent) => React.ReactNode;
1451
+ renderResultComponent?: (value: TRenderComponent) => React__default.ReactNode;
1431
1452
  /** disable or enable drag and drop functionality
1432
1453
  * @default false
1433
1454
  */
@@ -1435,7 +1456,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1435
1456
  /** sets the draggable id value */
1436
1457
  multiSelectId?: string;
1437
1458
  /** Rendered when nothing is selected */
1438
- whenNothingSelected?: React.ReactNode;
1459
+ whenNothingSelected?: React__default.ReactNode;
1439
1460
  /**
1440
1461
  * Special case for re-parenting the drag and drop container in case of issues with "position: fixed" and "transform:
1441
1462
  * You can read more about this here https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/reparenting.md
@@ -1449,7 +1470,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1449
1470
  * maintain drag and drop functionality
1450
1471
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1451
1472
  */
1452
- declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1473
+ declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, resultLabelOverride, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1453
1474
 
1454
1475
  type QueryFilterSearchProps = {
1455
1476
  /** sets the count value */
@@ -1459,12 +1480,18 @@ type QueryFilterSearchProps = {
1459
1480
  /** sets the sortOrder filter value */
1460
1481
  sortOrder: string;
1461
1482
  };
1462
- type QuertFilterSelectionOptionProps = Array<{
1463
- id: string;
1464
- name: string;
1483
+ type QueryFilterSelectionOptionProps = Array<{
1484
+ /** @deprecated please use value instead */
1485
+ id?: string;
1486
+ /** @deprecated please use value or label instead */
1487
+ name?: string;
1488
+ /** contains id or machine values. will be used as value attribute in <option> */
1489
+ value?: string;
1490
+ /** Contains human-readable display name for select options.
1491
+ * Used as value in case value is not present <option> */
1465
1492
  label: string;
1466
1493
  }>;
1467
- type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = QuertFilterSelectionOptionProps> = {
1494
+ type QueryFilterProps<TSelectOptions extends QueryFilterSelectionOptionProps = QueryFilterSelectionOptionProps> = {
1468
1495
  /** sets the query filter title
1469
1496
  * @default 'Configure Query'
1470
1497
  */
@@ -1485,10 +1512,11 @@ type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = Q
1485
1512
  * @default 'Count'
1486
1513
  */
1487
1514
  countLabel?: string;
1488
- /** sets the count value or items to show
1515
+ /** sets the count value or items to show. As a string you can pass dynamic variables ${countFromQuery} for example
1489
1516
  * @default 5
1517
+ * @deprecated please use ObjectSearchProviderProps['defaultQuery'] to pass initial count value
1490
1518
  */
1491
- countValue?: number;
1519
+ countValue?: number | string;
1492
1520
  /** sets the sort label text
1493
1521
  * @default 'Sort'
1494
1522
  */
@@ -1662,6 +1690,51 @@ declare function useRequestParameter(paramName: string): {
1662
1690
  update: (value: string) => void;
1663
1691
  };
1664
1692
 
1693
+ declare const bindableFiltersMapper: {
1694
+ multiChoice: React__default.FC<Omit<FilterEditorCommonInputProps, "value"> & {
1695
+ value?: string[] | undefined;
1696
+ options: {
1697
+ label: string;
1698
+ value: string;
1699
+ }[];
1700
+ onChange: (e: string[]) => void;
1701
+ }>;
1702
+ singleChoice: React__default.FC<Omit<FilterEditorCommonInputProps, "value"> & {
1703
+ value?: string | undefined;
1704
+ options: {
1705
+ label: string;
1706
+ value: string;
1707
+ }[];
1708
+ onChange: (e: string) => void;
1709
+ }>;
1710
+ date: React__default.FC<FilterEditorCommonInputProps & {
1711
+ value?: string | undefined;
1712
+ options?: {
1713
+ label: string;
1714
+ value: string;
1715
+ }[] | undefined;
1716
+ }>;
1717
+ text: React__default.FC<FilterEditorCommonInputProps & {
1718
+ value?: string | undefined;
1719
+ options?: {
1720
+ label: string;
1721
+ value: string;
1722
+ }[] | undefined;
1723
+ }>;
1724
+ number: React__default.FC<FilterEditorCommonInputProps & {
1725
+ value?: string | undefined;
1726
+ options?: {
1727
+ label: string;
1728
+ value: string;
1729
+ }[] | undefined;
1730
+ }>;
1731
+ dateRange: React__default.ComponentType<any> | null;
1732
+ empty: React__default.ComponentType<any> | null;
1733
+ numberRange: React__default.ComponentType<any> | null;
1734
+ statusMultiChoice: React__default.ComponentType<any> | null;
1735
+ statusSingleChoice: React__default.ComponentType<any> | null;
1736
+ };
1737
+
1665
1738
  /** Converts connected data map into VariablesProvider-format variables */
1666
1739
  declare function useConnectedDataAsVariables(connectedData: Record<string, unknown> | undefined): Record<string, MeshDataVariableDefinition>;
1667
1740
 
@@ -1713,4 +1786,4 @@ type ContentDataResourceLocaleInfoProps = {
1713
1786
  };
1714
1787
  declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
1715
1788
 
1716
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, 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, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
1789
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, 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, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };